Living object detection method, passenger detection method, related device, vehicle and medium
Through the sound wave signals sent and received by the microphone and speaker, it is determined whether there are live objects in the vehicle, which solves the problem of misjudging non-living objects as passengers in the prior art, and realizes accurate detection of passengers.
Patent Information
- Application Number
- CN202310956476.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, when the pressure sensor detects whether there are passengers in the vehicle, it is easy to misjudgment that the non-living object is a passenger, resulting in incorrect decision-making of the smart cockpit.
The sound wave signals sent and received by the microphone and speaker are used to send the first sound wave signal and collect the second sound wave signal to determine the channel status information, thereby determining whether there is a living object in the preset space, thereby accurately detecting the passengers.
Accurate detection of living objects is achieved, misjudgment is avoided, the accuracy of passenger detection is improved, and completed without increasing hardware costs.
Smart Images

Figure CN119439232A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a living thing detection method, a passenger detection method, related devices, a vehicle and a medium. Background Art
[0002] With the development of intelligence, the smart cockpit of vehicles is becoming more and more intelligent. In the smart cockpit, identifying whether there are passengers in the car is crucial for intelligent decision-making in the smart cockpit. For example, when identifying the presence of passengers in the car, the smart cockpit can make decisions based on data detected by other perception systems, such as whether to turn on the air conditioning in the smart cockpit, whether to remind the driver to fasten the seat belt, etc.
[0003] At present, the related technologies mostly detect whether there is a passenger in the seat by detecting the pressure value of the pressure sensor installed on the seat. However, this method will detect the object placed on the seat as a passenger, which may lead to wrong decision-making of the smart cockpit. In order to improve the accuracy of passenger detection in the car, it is also necessary to identify whether the object in the car is alive. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a living thing detection method, a passenger detection method, related devices, a vehicle and a medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for detecting living things is provided, the method comprising:
[0006] Controlling the loudspeaker to emit a first sound wave signal in a preset space;
[0007] Controlling the microphone to collect a second sound wave signal in the preset space, where the second sound wave signal is generated based on the first sound wave signal;
[0008] Determine, according to the first sound wave signal and the second sound wave signal, channel state information corresponding to the second sound wave signal;
[0009] Determine whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
[0010] According to a second aspect of an embodiment of the present disclosure, a passenger detection method is provided, the method comprising:
[0011] Determine whether the seats in the cabin are occupied;
[0012] When the seat is in the occupied state and the living thing detection result in the vehicle cabin indicates that a living thing exists, determining that a passenger exists in the vehicle cabin;
[0013] Among them, the living thing detection result in the cabin is determined according to the living thing detection method described in the first aspect of the present disclosure.
[0014] According to a third aspect of an embodiment of the present disclosure, there is provided a living thing detection device, including:
[0015] A first control module is configured to control the speaker to emit a first sound wave signal in a preset space;
[0016] A second control module is configured to control the microphone to collect a second sound wave signal in the preset space, where the second sound wave signal is generated based on the first sound wave signal;
[0017] A first determining module is configured to determine channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal;
[0018] The second determination module is configured to determine whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
[0019] According to a fourth aspect of an embodiment of the present disclosure, a passenger detection device is provided, the passenger detection device comprising:
[0020] a seventh determination module, configured to determine whether a seat in the vehicle cabin is in an occupied state;
[0021] An eighth determination module is configured to determine that there is a passenger in the cabin when the seat is in the occupied state and a living thing detection result in the cabin indicates that there is a living thing;
[0022] Among them, the living thing detection result in the cabin is obtained according to the living thing detection method described in the first aspect of the present disclosure.
[0023] According to a fifth aspect of an embodiment of the present disclosure, a vehicle is provided, comprising:
[0024] A processor, a speaker, and a microphone, wherein the processor is connected to the speaker and the microphone respectively;
[0025] a memory for storing processor-executable instructions;
[0026] Wherein, the processor is configured to execute the living thing detection method as described in the first aspect of the present disclosure, or to execute the passenger detection method as described in the second aspect of the present disclosure.
[0027] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the living thing detection method provided in the first aspect of the present disclosure are implemented, or the steps of the passenger detection method provided in the second aspect of the present disclosure are implemented.
[0028] By adopting the above technical solution, the speaker is controlled to emit a first sound wave signal in a preset space, and the microphone is controlled to collect signals to obtain a second sound wave signal. Then, according to the first sound wave signal and the second sound wave signal, the channel state information corresponding to the second sound wave signal is determined. Finally, according to the channel state information, it is determined whether there is a living thing in the preset space. In this way, the detection of living things is achieved through the sound wave signals received and sent by the microphone and the speaker, without the need for additional equipment, and accurate detection of living things can be achieved without increasing hardware costs. In addition, only low-cost microphones and speakers are needed to detect living things, which makes the method more applicable.
[0029] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0031] Figure 1 The figure is a flow chart of a method for detecting living things according to an exemplary embodiment.
[0032] Figure 2 The invention is a flow chart showing a method for determining breathing information in a preset space according to an exemplary embodiment.
[0033] Figure 3 The figure is a flow chart of another method for detecting living things according to an exemplary embodiment.
[0034] Figure 4 The figure is a flow chart of a passenger detection method according to an exemplary embodiment.
[0035] Figure 5 The figure is a block diagram of a living thing detection device according to an exemplary embodiment.
[0036] Figure 6 It is a block diagram of a passenger detection device according to an exemplary embodiment.
[0037] Figure 7 is a block diagram of a vehicle according to an exemplary embodiment.
[0038] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0039] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0040] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0041] The present disclosure provides a living thing detection method, a passenger detection method, related devices, a vehicle and a medium, which realize the detection of living things through the sound wave signals received and sent by a microphone and a speaker, do not require additional equipment, can realize accurate detection of living things without increasing hardware costs, and the method has strong applicability.
[0042] Figure 1 FIG. 1 is a flow chart of a method for detecting living things according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.
[0043] In step S11, the speaker is controlled to emit a first sound wave signal in a preset space.
[0044] In step S12, the microphone is controlled to collect a second sound wave signal in a preset space, where the second sound wave signal is generated based on the first sound wave signal.
[0045] In the present disclosure, the preset space may be any space, for example, the preset space may be a room equipped with a speaker and a microphone. For another example, the preset space may be a vehicle cabin equipped with a speaker and a microphone. In the case where the preset space is a vehicle cabin, the solution provided by the present disclosure can detect living things in the vehicle cabin. In this way, when the owner leaves the vehicle and the windows are closed, the living thing detection method provided by the present disclosure can detect whether there are passengers left in the closed vehicle cabin, thereby ensuring the safety of the passengers.
[0046] The second sound wave signal may be a signal generated after a preset space performs at least one of reflection, diffraction, and scattering operations on the first sound wave signal.
[0047] It should be understood that the number of the speaker and the microphone may be one or more, and the number of the speaker and the microphone may be the same or different, and the present disclosure does not specifically limit this.
[0048] In step S13, channel state information corresponding to the second sound wave signal is determined according to the first sound wave signal and the second sound wave signal.
[0049] In step S14, it is determined whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
[0050] The channel state information can reflect the attenuation of the channel for transmitting the sound wave signal. If there is a living thing, the movement of the living thing will cause the attenuation of the channel to change, that is, cause the change of the channel state information. Therefore, in the present disclosure, it can be determined whether there is a living thing in the preset space based on the channel state information corresponding to the second sound wave signal.
[0051] By adopting the above technical solution, the speaker is controlled to emit a first sound wave signal in a preset space, and the microphone is controlled to collect signals to obtain a second sound wave signal. Then, according to the first sound wave signal and the second sound wave signal, the channel state information corresponding to the second sound wave signal is determined. Finally, according to the channel state information, it is determined whether there is a living thing in the preset space. In this way, the detection of living things is achieved through the sound wave signals received and sent by the microphone and the speaker, without the need for additional equipment, and accurate detection of living things can be achieved without increasing hardware costs. In addition, only low-cost microphones and speakers are needed to detect living things, which makes the method more applicable.
[0052] In order to facilitate those skilled in the art to better understand the living thing detection method provided by the present disclosure, the living thing detection method is described below with a complete embodiment.
[0053] In the present disclosure, the first sound wave signal emitted by the speaker is a specific sound wave signal. In one embodiment, the first sound wave signal can be generated by:
[0054] First, a plurality of frames of first baseband signals whose autocorrelation values are greater than a second preset threshold are generated.
[0055] In the present disclosure, the multiple frames of first baseband signals may be the same baseband signal.
[0056] For example, considering that the autocorrelation of the ZC (Zadoff-Chu) sequence is good, the first baseband signal can be a ZC sequence. The ZC sequence is usually represented by a complex number. Therefore, in this example, the first baseband signal is a set of complex signal values. Preferably, the length of the first baseband signal can be 85.
[0057] It should be understood that, in practical applications, the first baseband signal may also be other sequences with good autocorrelation, and the present disclosure does not make any specific limitation to this.
[0058] Afterwards, the multiple frames of first baseband signals are modulated into ultrasonic frequency band signals, and the ultrasonic frequency band signals are determined as first sound wave signals.
[0059] It should be understood that the first baseband signal is a low-frequency signal. In order to avoid interference to the user caused by the signal emitted by the speaker heard by the human ear, in the present disclosure, the low-frequency first baseband signal can be modulated into an ultrasonic frequency band signal, and the ultrasonic frequency band signal can be determined as the first sound wave signal.
[0060] For example, multiple first baseband signals can be modulated into an ultrasonic frequency range of 18kHz to 20kHz, and the human ear can hardly hear the sound waves in this frequency range emitted by the speaker. In addition, for a sound wave with a sampling rate of 48kHz, the length of the modulated signal will change from the original 85 to 2048, that is, the length of a frame of modulated data is 2048.
[0061] It should be understood that if the first baseband signal is a set of complex signal values, the modulated ultrasonic frequency band signal is also a set of complex signal values, that is, the first ultrasonic signal is a set of complex signal values. When playing, the speaker only plays the real part of the complex signal value, and accordingly, the microphone also receives a set of real part values.
[0062] Considering that the breathing of the subject is a continuous action, in order to improve the accuracy of the determined breathing information in the preset space, it is necessary to determine the breathing information in the preset space based on the channel state information within a period of time, that is, it is necessary to determine the breathing information in the preset space based on the channel state information corresponding to the multiple frames of data. Therefore, in one embodiment, the first sound wave signal and the second sound wave signal both include multiple frames of data, that is, the channel state information corresponding to the second sound wave signal includes the channel state information corresponding to the multiple frames of data.
[0063] In the present disclosure, each frame of data included in the first sound wave signal is generated based on the first baseband signal corresponding to each frame, that is, the first baseband signal is adjusted to generate a frame of data. Among them, multiple frames of data can be generated based on the same first baseband signal, that is, the first baseband signal corresponding to each frame of data is the same.
[0064] In one embodiment of the present disclosure, the specific implementation method of step S13 determining the channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal is as follows: first, according to the cross-correlation between the first sound wave signal and the second sound wave signal, multiple frames of data included in the second sound wave signal are identified. Finally, for each frame of data, the frame data is demodulated to obtain a second baseband signal corresponding to the frame data, and the channel state information corresponding to the frame data is determined according to the second baseband signal and the first baseband signal corresponding to the frame data.
[0065] It should be understood that the second sound wave signal received by the microphone includes multiple frames of data, but it is impossible to determine which of the received data belongs to one frame of data. Therefore, in the present disclosure, it is necessary to identify the multiple frames of data included in the second sound wave signal based on the cross-correlation between the first sound wave signal and the second sound wave signal. That is, multiple frames of complete data are divided from the received data sequence. Afterwards, for each frame of data, the frame data is demodulated to obtain the second baseband signal corresponding to the frame data, and finally, the channel state information corresponding to the frame data is determined based on the second baseband signal and the first baseband signal corresponding to the frame data.
[0066] Optionally, determining the channel state information corresponding to the frame data according to the second baseband signal and the first baseband signal corresponding to the frame data may include:
[0067] Determining a frequency response of a baseband signal according to the second baseband signal and a first baseband signal corresponding to the frame data;
[0068] The frequency response of the baseband signal is determined as the channel state information corresponding to the frame data.
[0069] For example, the second baseband signal and the first baseband signal corresponding to the frame data are converted from the time domain to the frequency domain, and then the second baseband signal in the frequency domain is divided by the first baseband signal in the frequency domain to obtain the frequency response of the baseband signal.
[0070] In one possible manner, the frequency response of the baseband signal can be used to characterize the channel state information, that is, the quotient of the frequency domain of the second baseband signal corresponding to the frame data and the frequency domain of the first baseband signal corresponding to the frame data is determined as the channel state information corresponding to the frame data.
[0071] In another possible manner, considering that the channel impulse response can characterize the length of the channel, in this manner, the channel impulse response can also be used to characterize the channel state information, that is, the channel impulse response is determined according to the frequency response of the baseband signal; and the channel impulse response is determined as the channel state information corresponding to the frame data. For example, the frequency response of the baseband signal can be converted into the channel impulse response by inverse Fourier transform.
[0072] It should be understood that, in this manner, the channel impulse response is determined as the channel state information corresponding to the frame data, so that the length of the channel state information corresponding to the frame data is the same as the length or sampling point of the frame data.
[0073] For example, the speaker sends out multiple frames of data in sequence, that is, the speaker sends out the multiple frames of data in sequence at different times. Assume that the multiple frames of data are N frames of data, and the i-th frame of data is transmitted at time ti, the value range of i is [1, N], each frame of data includes M sampling points, each sampling point is a data, that is, each frame of data includes M data, preferably, M=85.
[0074] As shown in the following matrix, c1, c2...cM are sampling points, that is, the data included in each frame of data. Each element in the matrix represents the channel state information corresponding to each data transmitted. For example, s{t1,c1} represents the channel state information corresponding to the first data of the first frame of data, and s{tN,cM} represents the channel state information corresponding to the Mth data of the Nth frame of data. In the following matrix, the i-th column represents the channel state information corresponding to the i-th frame of data, and the value range of i is [1,N].
[0075]
[0076] In this disclosure, Figure 1 The specific implementation method of step S14 is: determine the breathing information in the preset space according to the channel state information corresponding to the multiple frames of data; if the breathing information indicates that there is breathing behavior in the preset space, determine that there is a living thing in the preset space; if the breathing information indicates that there is no breathing behavior in the preset space, determine that there is no living thing in the preset space.
[0077] First of all, it should be understood that monitoring breathing in a vehicle environment can be used to detect whether the object in the car is alive. The current common breathing detection technologies include: 1. Contact method, using multi-channel instruments, chest and abdominal belts and other equipment to directly contact the object to detect the object's breathing. This method is suitable for hospitals and not for vehicle environments. 2. The chest and abdomen of the object are sensed by the reflection of electromagnetic waves to measure breathing information. Although the user does not need to contact the device, it requires the additional deployment of millimeter wave radar or UWB radar, which is costly. 3. Extracting human breathing information from the fluctuations of WiFi signals, but because the channel state information currently used for perception will affect the communication capabilities of WiFi, the use of this technology is limited.
[0078] In addition, monitoring breathing in a vehicle environment can also be used to assist in the assessment of human emotions, for example, to assess whether there is fatigue driving, etc., or to assist in the analysis of human health status and assist in treatment in life-threatening scenarios, etc.
[0079] Secondly, it should be understood that if there is breathing behavior in the preset space, the breathing action of the object will cause the chest movement of the object, that is, the relative position of the chest of the object and the microphone and speaker will change at different times, which will in turn affect the data transmission channel, that is, the channel state information will change. Therefore, in the present disclosure, the breathing information in the preset space can be determined based on the channel state information corresponding to the transmitted multi-frame data.
[0080] In this way, the channel state information corresponding to the multiple frames of data is determined through the sound wave signals received and sent by the microphone and the speaker, and the breathing information in the preset space is determined based on the channel state information corresponding to the multiple frames of data. No additional equipment is required, and the breathing information in the preset space can be detected without increasing the hardware cost. In addition, this method has strong applicability.
[0081] In one embodiment, the specific implementation method of determining the breathing information in a preset space based on the channel state information corresponding to the multiple frames of data is as follows: filtering the channel state information corresponding to the multiple frames of data to obtain the channel state information corresponding to the filtered multiple frames of data; and determining the breathing information in the preset space based on the channel state information corresponding to the filtered multiple frames of data.
[0082] Taking into account that the breathing amplitude of the object is usually relatively small, that is, the movement amplitude of the chest cavity caused by breathing is small, and the impact on the channel is also small, that is, the impact of breathing on the channel state information corresponding to the multi-frame data is not obvious. Therefore, in this embodiment, the channel state information corresponding to the obtained multi-frame data can also be filtered to filter out errors, and then the breathing information in the preset space is determined based on the channel state information corresponding to the multi-frame data after filtering.
[0083] For example, since the speaker continuously sends multiple frames of data, a hampel filter can be used to filter out abnormal values in the channel state information that is continuously determined and changes over time. In addition, a Savitzky-Golay filter can also be used to filter noise in the channel state information to obtain smooth channel state information.
[0084] By adopting the above technical solution, the channel state information corresponding to the obtained multi-frame data is filtered to obtain relatively accurate channel state information corresponding to the multi-frame data. Then, the breathing information in the preset space is determined based on the accurate channel state information, thereby improving the accuracy of the determined breathing information.
[0085] Figure 2 is a flow chart of a method for determining respiratory information in a preset space according to an exemplary embodiment. In this embodiment, each frame of data includes M data, and the M data are transmitted on M channels respectively, where M is an integer greater than 1. Figure 2 As shown, the method for determining breathing information in a preset space may include the following steps.
[0086] In step S21, the breathing detection related parameters corresponding to each channel are determined according to the channel state information corresponding to the multiple frames of data.
[0087] In step S22, if there is a first target channel whose breathing detection related parameters meet the preset threshold conditions, it is determined that there is breathing behavior in the preset space.
[0088] In step S23, if there is no first target channel whose breathing detection related parameters meet the preset threshold condition, it is determined that there is no breathing behavior in the preset space.
[0089] The channel state information corresponding to the multi-frame data on each channel can be used to characterize the attenuation of the channel at different times, that is, to characterize the impact of breathing on the channel at different times. For example, if there is no breathing behavior, the environment of each channel does not change at different times, and the attenuation of each channel at different times remains unchanged, that is, the corresponding channel state information of each channel remains unchanged. If there is breathing behavior, the environment of at least some channels changes at different times, and the attenuation of at least some channels changes at different times, that is, the corresponding channel state information on at least some channels changes. Therefore, in an embodiment, it can be determined that there is breathing behavior in the preset space based on the breathing detection related parameters corresponding to each channel.
[0090] For example, the multi-frame data is N frames of data, and the corresponding channel state information is exemplified by the above matrix. In the above matrix, the channel state information located in the same row is recorded as the channel state information corresponding to the N frames of data on the channel. In step S21, the respiration detection related parameters corresponding to each channel are determined, that is, for each row in the above matrix, the respiration detection related parameters corresponding to the row are determined according to the channel state information of the row.
[0091] By adopting the above technical scheme, the breathing detection related parameters corresponding to each channel are determined according to the channel state information corresponding to the multi-frame data, and whether there is breathing behavior is determined according to the breathing detection related parameters. In this way, compared with the detection of breathing in the prior art, this scheme realizes the detection of breathing through the sound wave signals received and sent by the microphone and the speaker. No additional equipment is required, and it can realize accurate detection of breathing without increasing the hardware cost, thereby making the method more applicable.
[0092] In one embodiment, the preset space may be in a vehicle cabin, where a plurality of microphones are usually arranged, and the positions of the plurality of microphones are different, so that the channels for transmitting the frame data received by each microphone are also different, and accordingly, the channel state information corresponding to the multiple frames of data received by each microphone is also different. Therefore, in the case where there are multiple microphones, step S13 determines the channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal, and may include: for each microphone, determining the channel state information corresponding to the multiple frames of data received by the microphone according to the first sound wave signal and the second sound wave signal collected by the microphone. That is, the channel state information corresponding to the multiple frames of data received by the microphone can be determined for each microphone. Among them, the channel state information corresponding to the multiple frames of data received by each microphone can be expressed in the form of the above-mentioned matrix.
[0093] Since the microphones are set at different positions, the attenuation of the data in the second sound wave signal received by different microphones is different, that is, the channel state information corresponding to the multi-frame data received by different microphones is different. Therefore, in one implementation of this embodiment, step S21 determines the breathing detection related parameters corresponding to each channel according to the channel state information corresponding to the multi-frame data. The specific implementation method is: determine the breathing detection related parameters corresponding to each channel according to the channel state information corresponding to the multi-frame data received by multiple microphones. For example, if the number of microphones is 5, 5 matrices similar to the above matrix can be obtained according to the above method, and the breathing detection related parameters corresponding to each row in these 5 matrices are calculated respectively.
[0094] In another implementation of this embodiment, a target microphone for respiration detection can be determined from multiple microphones, and then the respiration detection related parameters corresponding to each channel can be determined based on the channel state information corresponding to the multi-frame data received by the target microphone. By way of example, the specific implementation of step S21 to determine the respiration detection related parameters corresponding to each channel based on the channel state information corresponding to the multi-frame data is as follows: for each microphone, based on the channel state information corresponding to the multi-frame data received by the microphone, determine the amount of change in the channel state information corresponding to the multi-frame data received by the microphone on each channel; determine the microphone with the largest amount of change in the channel state information as the target microphone; and determine the respiration detection related parameters corresponding to each channel based on the channel state information corresponding to the multi-frame data received by the target microphone.
[0095] Since the breathing amplitude is usually relatively small, the change in channel state information caused by it is usually not obvious. Therefore, in this embodiment, in order to improve the accuracy of breathing detection, the microphone with the largest change in channel state information can be determined as the target microphone, and then the breathing information in the preset space is determined only based on the channel state information corresponding to the multiple frames of data received by the target microphone.
[0096] The following describes a method for determining the amount of change in channel state information corresponding to multiple frames of data on each channel.
[0097] In one embodiment, for each channel, according to the channel state information corresponding to the multi-frame data on the channel, the difference between the maximum channel state information and the minimum channel state information corresponding to the multi-frame data on the channel is determined, and the difference is determined as the change amount of the channel state information corresponding to the multi-frame data on the channel. In this way, the change amount of the channel state information corresponding to the multi-frame data on each channel is obtained.
[0098] In another manner, for each channel, according to the channel state information corresponding to the multi-frame data on the channel, the variance of the channel state information corresponding to the multi-frame data on the channel is determined, and the variance is determined as the amount of change in the channel state information corresponding to the multi-frame data on the channel. For example, taking the above matrix as an example, for each row in the above matrix, the variance of the channel state information of the row is calculated, and the variance is determined as the amount of change in the channel state information corresponding to the multi-frame data on the channel.
[0099] In accordance with the above method, the change in channel state information corresponding to the multi-frame data received by each microphone on each channel is determined, and then the microphone with the largest change in channel state information is determined as the target microphone, and the breathing detection related parameters corresponding to each channel are determined based on the channel state information corresponding to the multi-frame data received by the target microphone.
[0100] It should be understood that after the target microphone for performing breathing detection is determined, subsequent operations are performed according to the channel state information corresponding to the multiple frames of data received by the target microphone.
[0101] In the present disclosure, the breathing detection related parameter may be a parameter related to breathing. For example, the breathing detection related parameter may include a change in the channel state information used to characterize the impact of the amplitude of chest cavity changes caused by breathing on the channel, and / or an autocorrelation value of the channel state information used to characterize the periodicity of breathing.
[0102] For example, the breathing detection related parameters include the autocorrelation value of the channel state information, and accordingly, the preset threshold condition includes that the autocorrelation value of the channel state information is greater than a first preset threshold; and / or, the breathing detection related parameters include the change amount of the channel state information, and accordingly, the preset threshold condition includes that the change amount of the channel state information is greater than a second preset threshold.
[0103] In one embodiment, the breathing detection related parameters include the change amount of the channel state information. Accordingly, Figure 2 In step S21, the specific implementation method of determining the respiration detection related parameters corresponding to each channel according to the channel state information corresponding to the multi-frame data is as follows: for each channel, the variance of the channel state information is determined according to the channel state information corresponding to the multi-frame data on the channel, and the variance is determined as the change in the channel state information corresponding to the multi-frame data on the channel.
[0104] The specific manner of determining the variance of the channel state information has been described in the above embodiment of determining the target microphone for performing breathing detection, and will not be repeated here.
[0105] In this embodiment, after determining the amount of change in channel state information corresponding to the multi-frame data on each channel, the channel whose amount of change in channel state information is greater than the second preset threshold is determined as the first target channel. If the first target channel exists, it is determined that there is breathing behavior in the preset space, otherwise it is determined that there is no breathing behavior in the preset space.
[0106] In another embodiment, the breathing detection related parameter includes an autocorrelation value of the channel state information. Accordingly, Figure 2 In step S21, the specific implementation method of determining the respiration detection related parameters corresponding to each channel according to the channel state information corresponding to the multi-frame data is as follows: for each channel, according to the channel state information corresponding to the multi-frame data on the channel, determine the autocorrelation function of the channel state information, and determine the autocorrelation value of the channel state information corresponding to the multi-frame data on the channel according to the autocorrelation function.
[0107] It should be understood that, since breathing is periodic, the autocorrelation function of the channel state information is also approximately periodic. In this embodiment, breathing behavior can be detected based on the autocorrelation value of the channel state information. For example, after determining the autocorrelation function of the channel state information, in the autocorrelation represented by the autocorrelation function, the mean of a preset number of alternating peak and trough values is determined as the autocorrelation value of the channel state information corresponding to the multi-frame data on the channel. For example, the mean of the first 6 alternating peak and trough values in the autocorrelation is determined as the autocorrelation value of the channel state information corresponding to the multi-frame data on the channel.
[0108] In this embodiment, after determining the autocorrelation value of the channel state information corresponding to the multi-frame data on each channel, the channel whose autocorrelation value is greater than the first preset threshold is determined as the first target channel. If the first target channel exists, it is determined that there is a breathing behavior in the preset space, otherwise it is determined that there is no breathing behavior in the preset space.
[0109] In yet another embodiment, the breathing detection related parameters include the autocorrelation value of the channel state information and the change amount of the channel state information, and the preset threshold conditions include that the autocorrelation value of the channel state information is greater than a first preset threshold and the change amount of the channel state information is greater than a second preset threshold.
[0110] In this embodiment, the autocorrelation value and the variation of the channel state information corresponding to the multi-frame data on each channel are determined respectively in the manner described in the above embodiment. Afterwards, the channel whose autocorrelation value is greater than the first preset threshold and whose variation is greater than the second preset threshold is determined as the first target channel. If the first target channel exists, it is determined that there is a breathing behavior in the preset space, otherwise it is determined that there is no breathing behavior in the preset space.
[0111] Considering that in actual applications, the number of frames of data included in the sound wave signal is relatively large, if the respiratory information in the preset space is determined based on all the frame data included in the sound wave signal, the amount of calculation is relatively large. Therefore, in one way, the respiratory information in the preset space can be determined based on part of the frame data in each breathing detection cycle. Accordingly, the specific implementation method of determining the respiratory information in the preset space based on the channel state information corresponding to the multiple frames of data is: determining a first preset number of first target frame data from the multiple frames of data; and determining the respiratory information in the preset space based on the channel state information corresponding to the first target frame data.
[0112] For example, a sliding window may be used to select a first preset number of first target frame data from all frame data, wherein the height of the sliding window is M and the width is the value of the first preset number. For example, assuming that the first preset number is 30, in the first breathing detection cycle, the breathing information in the preset space is determined according to the channel state information corresponding to the first frame data to the thirtieth frame data, and in the second breathing detection cycle, the breathing information in the preset space is determined according to the channel state information corresponding to the second frame data to the thirty-first frame data, and so on.
[0113] In one embodiment, when it is determined that there is breathing behavior in the preset space, the breathing frequency of the living thing can be further determined. For example, the living thing detection method provided by the present disclosure can also include:
[0114] Determine the first target channel with the largest change in channel state information as the second target channel for this detection;
[0115] The breathing frequency of the living thing in the preset space is determined according to the autocorrelation function of the channel state information corresponding to the multi-frame data on the second target channel detected this time.
[0116] In the present disclosure, the channel with a larger change in channel state information can better characterize the breathing behavior of the living thing, and therefore, the breathing frequency of the living thing can be determined based on the corresponding channel state information on the second target channel with the largest change in channel state information. In addition, as shown above, the autocorrelation value of the channel state information can characterize the breathing cycle, and therefore, the autocorrelation function of the channel state information corresponding to the second target channel detected in this detection of multiple frames of data is used to determine the breathing frequency of the living thing existing in the preset space.
[0117] For example, according to the autocorrelation function of the channel state information corresponding to the second target channel, each cycle is calculated according to adjacent peaks and troughs in the autocorrelation function, and the average value of each cycle is determined as the breathing cycle, thereby determining the breathing frequency. For example, the time difference between the first peak and the first trough is determined as the first cycle, the time difference between the first trough and the second peak is determined as the second cycle, and the time difference between the second peak and the second trough is determined as the third cycle, and then the average value of the first cycle, the second cycle and the third cycle is determined as the breathing cycle.
[0118] It should be understood that in the embodiment in which the breathing information in the preset space can be determined according to part of the frame data in each breathing detection cycle, the second target channel for this detection can be determined for each breathing detection cycle.
[0119] In another embodiment, the living thing detection method provided by the present disclosure may further include:
[0120] Determine the second target channel detected last time, and the current breathing detection related parameters corresponding to the second target channel detected last time;
[0121] If the current breathing detection related parameters corresponding to the second target channel of the multi-frame data detected last time still meet the preset threshold conditions, the breathing frequency of the living thing in the preset space is determined based on the current autocorrelation function of the channel state information corresponding to the second target channel of the multi-frame data detected last time.
[0122] It should be understood that different detection cycles use different data frames, and thus the channel state information used to determine the breathing detection related parameters corresponding to each channel is not completely the same. Therefore, in different detection cycles, the breathing detection related parameters corresponding to the same channel are different. That is, the current breathing detection related parameters corresponding to the second target channel detected last time may be different from the breathing detection related parameters corresponding to the last detection.
[0123] In this embodiment, if the current breathing detection related parameters corresponding to the second target channel detected last time still meet the preset threshold conditions, the breathing frequency of the living thing in the preset space is determined directly based on the period of the autocorrelation function of the channel state information corresponding to the multi-frame data on the second target channel detected last time.
[0124] Accordingly, determining the first target channel with the largest change in channel state information as the second target channel for this detection includes:
[0125] Determining that the current breathing detection related parameter corresponding to the second target channel detected last time does not meet the preset threshold condition;
[0126] The first target channel with the largest change in channel state information is determined as the second target channel for this detection.
[0127] In this embodiment, the current respiration detection related parameters corresponding to the second target channel detected last time still meet the preset threshold conditions, and the respiration frequency of the living thing existing in the preset space is determined according to the autocorrelation function of the channel state information corresponding to the second target channel detected last time by the multi-frame data, and when the current respiration detection related parameters corresponding to the second target channel detected last time no longer meet the preset threshold conditions, the first target channel with the largest change in channel state information is determined as the second target channel detected this time. In this way, switching back and forth of the determined second target channel is avoided.
[0128] In the present disclosure, after determining the breathing frequency of the living thing, the channel state information corresponding to the multiple frames of data on the second target channel may be displayed; and / or the breathing frequency of the living thing in the preset space may be reported.
[0129] For example, the channel state information corresponding to the multi-frame data on the second target channel is displayed to achieve visualization. For another example, the breathing frequency of the living thing is reported to the application layer so that the application layer combines the data detected by other sensors with the determined target dynamic and static state of the object in the preset space to perform corresponding actions.
[0130] In this way, switching back and forth of the displayed content is avoided during display.
[0131] The following is a complete example of a method for detecting living things provided by the present disclosure. Figure 3 FIG. 1 is a flow chart of another method for detecting living things according to an exemplary embodiment. Figure 3 As shown, the living thing detection method may include the following steps.
[0132] In step S31, a plurality of frames of first baseband signals having autocorrelation values greater than a second preset threshold are generated.
[0133] For example, the first baseband signal may be a ZC sequence. Preferably, the length of the ZC sequence is 85, and the sequence is a set of complex signal values.
[0134] In step S32, multiple frames of first baseband signals are modulated into ultrasonic frequency band signals, and the ultrasonic frequency band signals are determined as first sound wave signals.
[0135] The multiple frames of the first baseband signal are modulated to the ultrasonic frequency band to obtain ultrasonic frequency band signals. For example, the multiple frames of the first baseband signal can be modulated to the 18kHz to 20kHz ultrasonic frequency band, so that the human ear cannot hear the first sound wave signal, thereby avoiding interference to the user.
[0136] In step S33, at least one speaker is controlled to emit a first sound wave signal in a preset space.
[0137] In step S34, at least one microphone is controlled to collect a second sound wave signal in a preset space, where the second sound wave signal is generated based on the first sound wave signal.
[0138] When it is necessary to detect living things in a preset space, at least one speaker and at least one microphone may be pre-arranged in the preset space.
[0139] In step S35, multiple frames of data included in the second sound wave signal are identified based on the cross-correlation between the first sound wave signal and the second sound wave signal, so that complete frame data can be obtained.
[0140] In step S36, for each frame of data received by each microphone, the frame of data received by the microphone is demodulated to obtain a second baseband signal corresponding to the frame of data.
[0141] In step S37, a frequency response of a baseband signal is determined according to the second baseband signal and the first baseband signal corresponding to the frame data.
[0142] In step S38, a channel impulse response is determined according to the frequency response of the baseband signal, and the channel impulse response is determined as the channel state information corresponding to the frame data.
[0143] In this way, channel state information corresponding to multiple frames of data received by each microphone can be obtained.
[0144] In step S39, the channel state information corresponding to the multiple frames of data is filtered to obtain the channel state information corresponding to the multiple frames of data after filtering.
[0145] In step S310, for each microphone, a change amount of the channel state information corresponding to the multiple frames of data received by the microphone on each channel is determined according to the channel state information corresponding to the multiple frames of data received by the microphone.
[0146] In step S311 , the microphone whose channel state information has the largest change amount is determined as the target microphone.
[0147] In step S312, based on the channel state information corresponding to the multiple frames of data received by the target microphone, the autocorrelation value of the channel state information corresponding to the multiple frames of data on each channel and the variation of the channel state information are determined.
[0148] In step S313, if there is a first target channel whose autocorrelation value and variation of the channel state information meet the preset threshold condition, it is determined that there is a breathing behavior in the preset space.
[0149] In step S314, the first target channel with the largest change in channel state information is determined as the second target channel for this detection.
[0150] In step S315, the breathing frequency of the living thing in the preset space is determined according to the autocorrelation function of the channel state information corresponding to the multi-frame data on the second target channel detected this time.
[0151] In step S316, the channel status information corresponding to the multiple frames of data on the second target channel is displayed, and / or the breathing frequency of the living thing in the preset space is reported.
[0152] Regarding the various steps in the above embodiments, the specific methods of the various steps have been described in detail in the above embodiments and will not be elaborated here.
[0153] Based on the same inventive concept, the present disclosure also provides a passenger detection method. Figure 4 FIG. 1 is a flow chart of a passenger detection method according to an exemplary embodiment. Figure 4 As shown, the passenger detection method may include the following steps.
[0154] In step S41, it is determined whether the seat in the vehicle cabin is occupied;
[0155] In step S42, when the seat is in an occupied state and the living thing detection result in the vehicle cabin is that a living thing exists, it is determined that there is a passenger in the vehicle cabin;
[0156] Among them, according to the living thing detection method provided by the present disclosure, the living thing detection result in the vehicle cabin is obtained.
[0157] In the present disclosure, a pressure sensor disposed on the seat can be used to detect whether the seat in the vehicle cabin is in an occupied state. For example, a pressure signal of the seat in the vehicle cabin is obtained; if the pressure value represented by the pressure signal is within a preset range, it is determined that the seat is in an occupied state. The preset range is determined according to the weight range of the passenger.
[0158] It should be understood that if the presence of a passenger on the seat is detected only by the pressure value detected by the pressure sensor arranged on the seat, the object placed on the seat will be mistakenly detected as a passenger, which will lead to the smart cockpit outputting an erroneous decision. Therefore, in the present disclosure, in order to improve the accuracy of passenger detection, when the seat is determined to be occupied according to the pressure signal detected by the pressure sensor, it is further determined whether the object placed on the seat is a living thing according to the living thing detection method provided by the present disclosure. If it is a living thing, it is determined that the object on the seat is a passenger, that is, it is determined that there is a passenger in the cabin, otherwise it is determined that there is no passenger in the cabin.
[0159] By adopting the above technical solution, when the seat is occupied, the presence of passengers in the cabin can be determined in combination with the results of living thing detection in the cabin, thereby effectively improving the efficiency of passenger detection in the cabin and enhancing the user experience.
[0160] In addition, after determining that there is a passenger in the cabin, the passenger detection method may also include at least one of the following steps: outputting prompt information; controlling the vehicle in which the cabin is located to power on; and starting the air conditioner in the cabin.
[0161] For example, after determining that there is a passenger in the cabin, a prompt message is output, wherein the prompt message may be a prompt message to the driver that there is a passenger left in the cabin, or a message to the passenger to fasten the seat belt, etc. This disclosure does not specifically limit this.
[0162] For another example, after determining that there are passengers in the cabin, the vehicle in which the cabin is located is controlled to be powered on. In this way, after the vehicle is powered on, the passenger can use the power on the vehicle to meet their needs, for example, turn on the air conditioner in the car, charge a mobile phone, or start the vehicle, etc.
[0163] For another example, after determining that there are passengers in the cabin, the cabin air conditioner is started. In this way, when the vehicle is in a closed state and the driver is not in the vehicle, after determining that there are passengers in the cabin, the cabin air conditioner is automatically started to prevent the passengers left in the cabin from suffocating and ensure the safety of the passengers in the cabin.
[0164] The adoption of the above technical solution further improves the intelligence level of the passenger detection method and further enhances the user experience.
[0165] Based on the same inventive concept, the present disclosure also provides a living thing detection device. Figure 5 FIG. 1 is a block diagram of a living thing detection device according to an exemplary embodiment. Figure 5 As shown, the living thing detection device 500 may include:
[0166] The first control module 501 is configured to control the speaker to emit a first sound wave signal in a preset space;
[0167] A second control module 502 is configured to control the microphone to collect a second sound wave signal in the preset space, where the second sound wave signal is generated based on the first sound wave signal;
[0168] A first determining module 503 is configured to determine channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal;
[0169] The second determination module 504 is configured to determine whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
[0170] Optionally, both the first sound wave signal and the second sound wave signal include multiple frames of data; accordingly, the channel state information corresponding to the second sound wave signal includes the channel state information corresponding to the multiple frames of data.
[0171] Optionally, the second determining module 504 includes:
[0172] A first determination submodule is configured to determine the respiration information in the preset space according to the channel state information corresponding to the multiple frames of data;
[0173] A second determination submodule is configured to determine that there is a living thing in the preset space if the breathing information indicates that there is a breathing behavior in the preset space;
[0174] The third determination submodule is configured to determine that there is no living thing in the preset space if the breathing information indicates that there is no breathing behavior in the preset space.
[0175] Optionally, each frame of data includes M data, and the M data are transmitted on M channels respectively, where M is an integer greater than 1; and the first determining submodule includes:
[0176] a fourth determination submodule, configured to determine a respiration detection related parameter corresponding to each channel according to the channel state information corresponding to the multiple frames of data;
[0177] a fifth determination submodule, configured to determine that there is a breathing behavior in the preset space if there is a first target channel whose breathing detection related parameters meet a preset threshold condition;
[0178] The sixth determination submodule is configured to determine that there is no breathing behavior in the preset space if there is no first target channel whose breathing detection related parameters meet the preset threshold condition.
[0179] Optionally, the breathing detection related parameter includes an autocorrelation value of the channel state information, and accordingly, the preset threshold condition includes that the autocorrelation value of the channel state information is greater than a first preset threshold; and / or
[0180] The breathing detection related parameter includes a change amount of channel state information. Accordingly, the preset threshold condition includes that the change amount of the channel state information is greater than a second preset threshold.
[0181] Optionally, the breathing detection related parameters include the autocorrelation value of the channel state information; the fourth determination submodule is configured to: for each channel, determine the autocorrelation function of the channel state information according to the channel state information corresponding to the multiple frames of data on the channel, and determine the autocorrelation value of the channel state information corresponding to the multiple frames of data on the channel according to the autocorrelation function.
[0182] Optionally, the breathing detection related parameters include the change amount of the channel state information; the fourth determination submodule is configured to: for each channel, determine the variance of the channel state information according to the channel state information corresponding to the multi-frame data on the channel, and determine the variance as the change amount of the channel state information corresponding to the multi-frame data on the channel.
[0183] Optionally, the living thing detection device 500 may further include:
[0184] A third determination module is configured to determine the first target channel with the largest change in channel state information as the second target channel for this detection;
[0185] The fourth determination module is configured to determine the breathing frequency of the living thing existing in the preset space according to the autocorrelation function of the channel state information corresponding to the multiple frames of data on the second target channel detected this time.
[0186] Optionally, the living thing detection device 500 may further include:
[0187] a fifth determination module, configured to determine a second target channel detected last time, and current breathing detection related parameters corresponding to the second target channel detected last time;
[0188] a sixth determination module, configured to determine the breathing frequency of the living being in the preset space according to the autocorrelation function of the channel state information corresponding to the multi-frame data on the second target channel detected last time, if the current breathing detection related parameter corresponding to the second target channel detected last time still meets the preset threshold condition;
[0189] Accordingly, the third determination module is configured to: determine that the current breathing detection related parameters corresponding to the second target channel detected last time do not meet the preset threshold condition; and determine the first target channel with the largest change in channel state information as the second target channel detected this time.
[0190] Optionally, the living thing detection device 500 may further include:
[0191] A display module is configured to display channel state information corresponding to the multiple frames of data on the second target channel; and / or
[0192] The reporting module is configured to report the respiratory frequency of the living things in the preset space.
[0193] Optionally, there are multiple microphones, and the channel state information corresponding to the multi-frame data includes the channel state information corresponding to the multi-frame data received by each of the multiple microphones; the fourth determination submodule is configured to: for each microphone, determine the change in channel state information corresponding to the multi-frame data received by the microphone on each channel according to the channel state information corresponding to the multi-frame data received by the microphone; determine the microphone with the largest change in channel state information as the target microphone; and determine the breathing detection related parameters corresponding to each channel according to the channel state information corresponding to the multi-frame data received by the target microphone.
[0194] Optionally, the first determination submodule is configured to: filter the channel state information corresponding to the multiple frames of data to obtain the channel state information corresponding to the multiple frames of data after filtering; and determine the breathing information within the preset space based on the channel state information corresponding to the multiple frames of data after filtering.
[0195] Optionally, each frame data included in the first sound wave signal is generated based on the first baseband signal corresponding to it; the first determination module 503 is configured to: identify multiple frames of data included in the second sound wave signal according to the cross-correlation between the first sound wave signal and the second sound wave signal; for each frame data, demodulate the frame data to obtain the second baseband signal corresponding to the frame data, and determine the channel state information corresponding to the frame data according to the second baseband signal and the first baseband signal corresponding to the frame data.
[0196] Optionally, the first determination module 503 is configured to: determine a frequency response of a baseband signal according to the second baseband signal and a first baseband signal corresponding to the frame data; and determine the frequency response of the baseband signal as channel state information corresponding to the frame data.
[0197] Optionally, the first determination module 503 is further configured to: determine a channel impulse response according to a frequency response of the baseband signal; and determine the channel impulse response as channel state information corresponding to the frame data.
[0198] Optionally, the first sound wave signal is generated in the following manner:
[0199] Generate a plurality of frames of first baseband signals having autocorrelation values greater than a third preset threshold;
[0200] The multiple frames of first baseband signals are modulated into ultrasonic frequency band signals, and the ultrasonic frequency band signals are determined as first sound wave signals.
[0201] Based on the same inventive concept, the present disclosure also provides a passenger detection device. Figure 6 FIG. 1 is a block diagram of a passenger detection device according to an exemplary embodiment. Figure 6 As shown, the passenger detection device 600 may include:
[0202] The seventh determination module 601 is configured to determine whether a seat in the vehicle cabin is occupied;
[0203] An eighth determination module 602 is configured to determine that there is a passenger in the cabin when the seat is in the occupied state and the living thing detection result in the cabin is that there is a living thing;
[0204] Among them, the living thing detection result in the cabin is obtained according to the living thing detection method described in the present disclosure.
[0205] Optionally, the seventh determination module 601 is configured to: obtain a pressure signal of a seat in the vehicle cabin; if a pressure value represented by the pressure signal is within a preset range, determine that the seat is in an occupied state.
[0206] Optionally, after determining that there is a passenger in the cabin, the passenger detection device 600 further includes:
[0207] The execution module is configured to execute at least one of the following after determining that there is a passenger in the cabin: output a prompt message; control the vehicle where the cabin is located to power on; and start the air conditioner of the cabin.
[0208] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0209] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the living thing detection method provided by the present disclosure, or implement the steps of the living thing detection method provided by the present disclosure.
[0210] Figure 7 800 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 800 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 800 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
[0211] Reference Figure 7 , the vehicle 800 may include various subsystems, for example, an infotainment system 810, a perception system 820, a decision control system 830, a drive system 840, and a computing platform 850. The vehicle 800 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 800 may be interconnected by wire or wireless means.
[0212] In some embodiments, the infotainment system 810 may include a communication system, an entertainment system, and a navigation system, etc.
[0213] The perception system 820 may include several sensors for sensing information about the environment around the vehicle 800. For example, the perception system 820 may include a global positioning system (the global positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera.
[0214] The decision control system 830 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
[0215] The drive system 840 may include components that provide powered motion for the vehicle 800. In one embodiment, the drive system 840 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. The engine is capable of converting energy provided by the energy source into mechanical energy.
[0216] Some or all functions of the vehicle 800 are controlled by a computing platform 850. The computing platform 850 may include at least one processor 851 and a memory 852, and the processor 851 may execute instructions 853 stored in the memory 852.
[0217] The processor 851 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.
[0218] The memory 852 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0219] In addition to instructions 853 , memory 852 may also store data, such as road maps, route information, vehicle location, direction, speed, etc. The data stored in memory 852 may be used by computing platform 850 .
[0220] In the embodiment of the present disclosure, the processor 851 may execute instruction 853 to complete all or part of the steps of the above-mentioned living thing detection method or passenger detection method.
[0221] Figure 8 900 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 900 may be provided as a server. Figure 8 , the electronic device 900 includes a processing component 922, which further includes one or more processors, and a memory resource represented by a memory 932 for storing instructions that can be executed by the processing component 922, such as an application. The application stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 922 is configured to execute instructions to perform the above-mentioned living thing detection method or the above-mentioned passenger detection method. The electronic device 900 may also include a power supply component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the electronic device 900 to a network, and an input / output interface 958. The electronic device 900 can operate based on an operating system stored in the memory 932.
[0222] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned living thing detection method or the above-mentioned passenger detection method when executed by the programmable device.
[0223] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0224] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for detecting living things, characterized in that: The method comprises: Controlling the loudspeaker to emit a first sound wave signal in a preset space; Controlling the microphone to collect a second sound wave signal in the preset space, where the second sound wave signal is generated based on the first sound wave signal; Determine, according to the first sound wave signal and the second sound wave signal, channel state information corresponding to the second sound wave signal; Determine whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
2. The method for detecting living things according to claim 1, characterized in that: The first sound wave signal and the second sound wave signal both include multiple frames of data; accordingly, the channel state information corresponding to the second sound wave signal includes the channel state information corresponding to the multiple frames of data.
3. The method for detecting living things according to claim 2, characterized in that: The determining, according to the channel state information corresponding to the second sound wave signal, whether there is a living thing in the preset space includes: Determining breathing information within the preset space according to channel state information corresponding to the multiple frames of data; If the breathing information indicates that there is breathing behavior in the preset space, it is determined that there is a living thing in the preset space; If the breathing information indicates that there is no breathing behavior in the preset space, it is determined that there is no living thing in the preset space.
4. The method for detecting living things according to claim 3, characterized in that: Each frame of data includes M data, and the M data are transmitted on M channels respectively, where M is an integer greater than 1; and determining the breathing information in the preset space according to the channel state information corresponding to the multiple frames of data includes: Determine breathing detection related parameters corresponding to each channel according to channel state information corresponding to the multiple frames of data; If there is a first target channel whose breathing detection related parameters meet the preset threshold conditions, determining that there is breathing behavior in the preset space; If there is no first target channel whose breathing detection related parameters meet the preset threshold conditions, it is determined that there is no breathing behavior in the preset space.
5. The method for detecting living things according to claim 4, characterized in that: The breathing detection related parameter includes an autocorrelation value of the channel state information, and accordingly, the preset threshold condition includes that the autocorrelation value of the channel state information is greater than a first preset threshold; and / or The breathing detection related parameter includes a change amount of channel state information. Accordingly, the preset threshold condition includes that the change amount of the channel state information is greater than a second preset threshold.
6. The method for detecting living things according to claim 4, characterized in that: The respiration detection related parameter includes an autocorrelation value of the channel state information; and determining the respiration detection related parameter corresponding to each channel according to the channel state information corresponding to the multiple frames of data includes: For each channel, an autocorrelation function of the channel state information corresponding to the multiple frames of data on the channel is determined, and an autocorrelation value of the channel state information corresponding to the multiple frames of data on the channel is determined based on the autocorrelation function.
7. The method for detecting living things according to claim 4, characterized in that: The respiration detection related parameter includes a change amount of the channel state information; and determining the respiration detection related parameter corresponding to each channel according to the channel state information corresponding to the multiple frames of data includes: For each channel, the variance of the channel state information corresponding to the multiple frames of data on the channel is determined, and the variance is determined as a change in the channel state information corresponding to the multiple frames of data on the channel.
8. The method for detecting living things according to claim 4, characterized in that: The method further comprises: Determine the first target channel with the largest change in channel state information as the second target channel for this detection; The breathing frequency of the living thing in the preset space is determined according to the autocorrelation function of the channel state information corresponding to the multiple frames of data on the second target channel detected this time.
9. The method for detecting living things according to claim 8, characterized in that: The method further comprises: Determine the second target channel detected last time, and the current breathing detection related parameters corresponding to the second target channel detected last time; If the current breathing detection related parameter corresponding to the second target channel detected last time still meets the preset threshold condition, determining the breathing frequency of the living thing existing in the preset space according to the current autocorrelation function of the channel state information corresponding to the multi-frame data on the second target channel detected last time; Determining the first target channel with the largest change in the channel state information as the second target channel for this detection includes: Determining that the current breathing detection related parameter corresponding to the second target channel detected last time does not meet the preset threshold condition; The first target channel with the largest change in channel state information is determined as the second target channel for this detection.
10. The method for detecting living things according to claim 9, characterized in that: The method further comprises: Displaying the channel state information corresponding to the multi-frame data on the second target channel; and / or Report the breathing rate of living things in the preset space.
11. The method for detecting living things according to claim 4, characterized in that: There are multiple microphones, and the channel state information corresponding to the multiple frames of data includes channel state information corresponding to the multiple frames of data received by each of the multiple microphones; The determining, according to the channel state information corresponding to the multiple frames of data, the breathing detection related parameters corresponding to each channel includes: For each microphone, determining, according to the channel state information corresponding to the multiple frames of data received by the microphone, a change amount of the channel state information corresponding to the multiple frames of data received by the microphone on each channel; The microphone with the largest change in channel state information is determined as the target microphone; The breathing detection related parameters corresponding to each channel are determined according to the channel state information corresponding to the multiple frames of data received by the target microphone.
12. The method for detecting living things according to claim 3, characterized in that: The determining, according to the channel state information corresponding to the multiple frames of data, the breathing information in the preset space includes: Performing filtering processing on the channel state information corresponding to the multiple frames of data to obtain the channel state information corresponding to the multiple frames of data after filtering processing; The breathing information in the preset space is determined according to the channel state information corresponding to the multiple frames of data after filtering.
13. The method for detecting living things according to any one of claims 2 to 12, characterized in that: Each frame of data included in the first sound wave signal is generated based on the first baseband signal corresponding to the first sound wave signal; and determining the channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal, including: identifying, according to the cross-correlation between the first sound wave signal and the second sound wave signal, a plurality of frames of data included in the second sound wave signal; For each frame of data, the frame data is demodulated to obtain a second baseband signal corresponding to the frame data, and channel state information corresponding to the frame data is determined based on the second baseband signal and a first baseband signal corresponding to the frame data.
14. The method for detecting living things according to claim 13, characterized in that: The determining, according to the second baseband signal and the first baseband signal corresponding to the frame data, the channel state information corresponding to the frame data includes: determining a frequency response of a baseband signal according to the second baseband signal and a first baseband signal corresponding to the frame data; The frequency response of the baseband signal is determined as the channel state information corresponding to the frame data.
15. The method for detecting living things according to claim 14, characterized in that: The determining, according to the second baseband signal and the first baseband signal corresponding to the frame data, the channel state information corresponding to the frame data further includes: determining a channel impulse response according to a frequency response of the baseband signal; The channel impulse response is determined as channel state information corresponding to the frame data.
16. The method for detecting living things according to any one of claims 1 to 12, characterized in that: The first sound wave signal is generated by: Generate a plurality of frames of first baseband signals having autocorrelation values greater than a third preset threshold; The multiple frames of first baseband signals are modulated into ultrasonic frequency band signals, and the ultrasonic frequency band signals are determined as first sound wave signals.
17. A passenger detection method, characterized in that: The method comprises: Determine whether the seats in the cabin are occupied; When the seat is in the occupied state and the living thing detection result in the vehicle cabin indicates that a living thing exists, determining that a passenger exists in the vehicle cabin; Wherein, the living thing detection result in the cabin is determined according to the living thing detection method according to any one of claims 1-16.
18. The passenger detection method according to claim 17, characterized in that: The determining whether a seat in the vehicle cabin is in an occupied state comprises: Obtain pressure signals of seats in the vehicle cabin; If the pressure value represented by the pressure signal is within a preset range, it is determined that the seat is in an occupied state.
19. The passenger detection method according to claim 17 or 18, characterized in that: After determining that there is a passenger in the vehicle cabin, the method further includes at least one of the following steps: Output prompt information; Controlling the vehicle where the cabin is located to power on; The air conditioning of the cabin is activated.
20. A living thing detection device, characterized in that: The living thing detection device comprises: A first control module is configured to control the speaker to emit a first sound wave signal in a preset space; A second control module is configured to control the microphone to collect a second sound wave signal in the preset space, where the second sound wave signal is generated based on the first sound wave signal; A first determining module is configured to determine channel state information corresponding to the second sound wave signal according to the first sound wave signal and the second sound wave signal; The second determination module is configured to determine whether there is a living thing in the preset space according to the channel state information corresponding to the second sound wave signal.
21. A passenger detection device, characterized in that: The passenger detection device comprises: a seventh determination module, configured to determine whether a seat in the vehicle cabin is in an occupied state; An eighth determination module is configured to determine that there is a passenger in the cabin when the seat is in the occupied state and a living thing detection result in the cabin indicates that there is a living thing; Wherein, the living thing detection result in the cabin is obtained according to the living thing detection method according to any one of claims 1 to 16.
22. A vehicle, characterized in that: include: A processor, a speaker, and a microphone, wherein the processor is connected to the speaker and the microphone respectively; a memory for storing processor-executable instructions; The processor is configured to execute the living thing detection method according to any one of claims 1 to 16, or to execute the passenger detection method according to any one of claims 17 to 19.
23. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 16 are implemented, or the passenger detection method described in any one of claims 17 to 19 is implemented.