Authentication method, device, medium and equipment based on heartbeat signal
By performing quality screening and feature extraction of heartbeat signals and combining historical verification data, the problems of high signal quality requirements and low security in heartbeat identity recognition technology are solved, and high accuracy and low cost authentication are achieved.
Patent Information
- Application Number
- CN202410897986.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-04
AI Technical Summary
The existing heartbeat identity recognition technology has high requirements for the quality of heartbeat signal, resulting in low accuracy and high cost of identity verification, and the security of fake identification.
By obtaining the original heartbeat signal, performing quality screening and signal waveform analysis, input it into the trained heartbeat feature extraction model, extracting local heartbeat features, and determining the authentication results based on historical verification data, reducing the requirements for signal quality and improving identity verification accuracy and safety.
It improves the accuracy and security of heartbeat identity verification, reduces the implementation cost of identity identification, expands application scenarios, and can effectively identify legitimate users and illegal intruders.
Smart Images

Figure CN118445788B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of identity authentication technology, and in particular to an identity authentication method, device, medium and equipment based on a heartbeat signal. Background Art
[0002] Heartbeat Identification technology analyzes the collected heartbeat signals, extracts the individual's unique biometric features, and achieves accurate authentication. This technology is based on the uniqueness of the heartbeat waveform, ensuring high specificity of identity recognition.
[0003] At present, related heartbeat identity recognition schemes have high requirements for the quality of heartbeat signals. When the quality of heartbeat signals is poor, the accuracy of the identity recognition results determined based on the heartbeat signals is low. In addition, due to the high requirements for the quality of heartbeat signals, high-precision heartbeat signal acquisition equipment is generally required, resulting in high identity recognition costs and a low application scope of identity recognition. Secondly, although the heartbeat signal has strong specificity, there is still the possibility of forgery. There is currently no better forgery recognition scheme, resulting in low security of the heartbeat identity recognition scheme. Summary of the invention
[0004] The embodiment of this specification provides an identity authentication method based on a heartbeat signal, which can improve the accuracy of heartbeat identity authentication, reduce the implementation cost of heartbeat identity recognition, improve the application scenarios of heartbeat identity recognition, and ensure the security of heartbeat identity recognition. The method includes:
[0005] Obtain the collected original heartbeat recognition signal;
[0006] Performing quality screening on the original heartbeat recognition signal to obtain a target heartbeat recognition signal;
[0007] Inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal;
[0008] The identity authentication result corresponding to the target heartbeat identification signal is determined according to the pre-stored historical heartbeat verification data and the local heartbeat feature.
[0009] Furthermore, in some implementations, the quality screening of the original heartbeat recognition signal to obtain the target heartbeat recognition signal includes:
[0010] Filter available heartbeat signals in the original heartbeat recognition signal according to the collected motion sensor data;
[0011] Performing signal waveform analysis on the available heartbeat signals to screen out valid and qualified signals from the available heartbeat signals;
[0012] The valid qualified signal is input into a trained heartbeat signal quality detection model for classification to obtain a target heartbeat recognition signal with qualified quality.
[0013] Further, in some implementations, screening the available heartbeat signals in the original heartbeat identification signal according to the collected motion sensor data includes:
[0014] Determine the current motion state corresponding to the original heartbeat recognition signal according to the collected motion sensor data;
[0015] The original heartbeat recognition signal corresponding to the current motion state belonging to the preset target motion state is used as the available heartbeat signal.
[0016] Further, in some implementations, the performing signal waveform analysis on the available heartbeat signals to screen valid qualified signals from the available heartbeat signals includes:
[0017] Determining a heartbeat waveform feature according to the available heartbeat signal;
[0018] If the heartbeat waveform feature is within a preset normal feature range, the available heartbeat signal is determined to be a valid qualified signal.
[0019] Further, in some embodiments, inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal includes:
[0020] Inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat recognition signal and a signal feature type corresponding to the heartbeat signal frame;
[0021] At least one local heartbeat feature corresponding to the target heartbeat identification signal is determined according to the heartbeat signal frame and the signal feature type.
[0022] Further, in some implementations, determining at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type includes:
[0023] Continuous heartbeat signal frames belonging to the same signal feature type are spliced to obtain at least one local heartbeat feature corresponding to the target heartbeat identification signal.
[0024] Further, in some embodiments, the heartbeat feature extraction model includes a heartbeat signal embedding network, a position coding adding network, a heartbeat feature coding network, and a heartbeat feature classification network;
[0025] The step of inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat recognition signal and a signal feature type corresponding to the heartbeat signal frame includes:
[0026] The target heartbeat recognition signal is segmented into at least one heartbeat signal frame by the heartbeat signal embedding network, and the heartbeat signal frame is embedded to obtain a heartbeat signal frame embedding feature;
[0027] Inputting the heartbeat signal frame embedding feature into the position coding adding network, and outputting the heartbeat signal frame embedding feature with position coding information;
[0028] Inputting the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature;
[0029] The heartbeat signal frame coding features are identified and classified according to the heartbeat feature classification network to obtain the signal feature type corresponding to each of the heartbeat signal frames.
[0030] Further, in some embodiments, the heartbeat feature extraction model also includes a bidirectional long short-term memory network;
[0031] The step of inputting the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature comprises:
[0032] Inputting the heartbeat signal frame embedding feature with position encoding information into the bidirectional long short-term memory network to extract the heartbeat signal frame embedding feature with context features;
[0033] The heartbeat signal frame embedding feature with context feature is input into the heartbeat feature encoding network, and the heartbeat signal frame encoding feature is output.
[0034] Further, in some embodiments, the heartbeat feature classification network includes an AM-softmax loss function; the identifying and classifying the heartbeat signal frame encoding features according to the heartbeat feature classification network to obtain the signal feature type corresponding to each of the heartbeat signal frames includes:
[0035] Based on the AM-softmax loss function, the coding features of the heartbeat signal frames are identified and classified to obtain the signal feature type corresponding to each of the heartbeat signal frames.
[0036] Furthermore, in some embodiments, before inputting the target heartbeat recognition signal into the trained heartbeat feature extraction model, the method further includes:
[0037] Performing signal enhancement on the target heartbeat recognition signal;
[0038] The signal enhancement of the target heartbeat recognition signal includes:
[0039] Filtering the target heartbeat recognition signal, and performing differentiation on the filtered target heartbeat recognition signal to obtain a heartbeat recognition differential signal;
[0040] The target heartbeat recognition signal is peak-searched according to the set adaptive acquisition window and the heartbeat recognition differential signal, and the peak signal found is post-processed to obtain the target heartbeat recognition signal after signal enhancement.
[0041] Further, in some implementations, determining the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat verification data and the local heartbeat feature includes:
[0042] Obtaining an initial feature weight corresponding to the local heartbeat feature;
[0043] The initial feature weight is updated according to the historical reliability corresponding to each of the local heartbeat features in the historical heartbeat verification data to obtain a target feature weight;
[0044] Determining an identity verification score corresponding to the target heartbeat recognition signal based on the target feature weight;
[0045] If the identity authentication score is greater than or equal to the authentication score threshold, the identity authentication result corresponding to the target heartbeat recognition signal is determined to be identity authentication passed.
[0046] Further, in some implementations, determining the identity authentication score corresponding to the target heartbeat recognition signal based on the target feature weight includes:
[0047] Acquire a stored reference heartbeat feature, and determine a heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature;
[0048] An identity authentication score corresponding to the target heartbeat recognition signal is determined based on the target feature weight and the heartbeat feature similarity.
[0049] The embodiment of this specification also proposes an identity authentication device based on a heartbeat signal, comprising:
[0050] A heartbeat signal acquisition module is used to acquire the collected original heartbeat recognition signal;
[0051] A heartbeat signal screening module, used for screening the quality of the original heartbeat recognition signal to obtain a target heartbeat recognition signal;
[0052] A heartbeat feature extraction module, used for inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal;
[0053] The identity authentication module is used to determine the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat authentication data and the local heartbeat characteristics.
[0054] The embodiments of the present specification also provide a computer program product, wherein the computer program product stores at least one instruction, and the at least one instruction is suitable for being loaded by a processor and executing the above method steps.
[0055] The embodiments of the present specification also provide a storage medium, wherein the storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the steps of the above method.
[0056] An embodiment of the present specification also provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.
[0057] In the embodiment of the present specification, the target heartbeat recognition signal is obtained by acquiring the collected original heartbeat recognition signal, and the target heartbeat recognition signal is input into the trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal, and then the identity verification result corresponding to the target heartbeat recognition signal can be determined according to the pre-stored historical heartbeat verification data and the local heartbeat feature. On the one hand, by quality screening of the original heartbeat recognition signal and combining with the heartbeat feature extraction model, the accurate recognition and processing of the heartbeat recognition signal with poor quality can be realized, and the accuracy of the heartbeat identity verification can be effectively improved; on the other hand, since the quality of the heartbeat recognition signal is not required, it is not necessary to use a high-precision heartbeat signal acquisition device to achieve it, which can reduce the implementation cost of heartbeat identity recognition and improve the application scenario range of heartbeat identity recognition, especially the portable mobile heartbeat identity verification scenario such as wearable devices; on the other hand, the identity verification result corresponding to the target heartbeat recognition signal is determined in combination with the historical heartbeat verification data, and the adaptive verification and recognition of the heartbeat identity verification can be realized, which can effectively identify legitimate users and illegal intruders and ensure the security of the heartbeat identity verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 A schematic diagram of a system architecture of an exemplary application environment of an identity authentication method and device based on a heartbeat signal to which the embodiments of this specification can be applied is shown.
[0059] Figure 2 A flowchart of an identity authentication method based on a heartbeat signal is provided for an embodiment of this specification.
[0060] Figure 3 A schematic diagram of a process for quality screening of an original heartbeat recognition signal provided in an embodiment of this specification.
[0061] Figure 4 A schematic diagram of a process for extracting local heartbeat features from a target heartbeat recognition signal provided in an embodiment of this specification.
[0062] Figure 5 A schematic diagram of a flow chart for determining the signal feature type of each heartbeat signal frame corresponding to a target heartbeat identification signal provided in an embodiment of the present specification.
[0063] Figure 6 A structural diagram of a heartbeat feature extraction model provided in an embodiment of this specification.
[0064] Figure 7 A flowchart of implementing identity authentication based on a self-learning weight method is provided in an embodiment of this specification.
[0065] Figure 8 A schematic diagram of the structure of an identity authentication device based on a heartbeat signal provided in an embodiment of this specification.
[0066] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0068] Figure 1 A schematic diagram of a system architecture of an exemplary application environment of an identity authentication method and device based on a heartbeat signal to which the embodiments of this specification can be applied is shown.
[0069] like Figure 1As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with artificial intelligence (AI) computing capabilities and equipped with photoplethysmograph sensors (PPG), including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.
[0070] The identity authentication method based on the heartbeat signal provided in the embodiments of this specification is generally executed by the terminal devices 101, 102, and 103, and accordingly, the identity authentication device based on the heartbeat signal is generally set in the terminal devices 101, 102, and 103. However, it is easy for those skilled in the art to understand that the identity authentication method based on the heartbeat signal provided in the embodiments of this specification can also be executed by the server 105, and accordingly, the identity authentication device based on the heartbeat signal can also be set in the server 105, which is not particularly limited in this exemplary embodiment.
[0071] The identity authentication method based on the heartbeat signal in the embodiments of this specification can be applied to a variety of scenarios. For example, it can be applied to secure payment on wearable devices to solve the pain point that there is no biometric identification method on smart wearable devices such as smart watches, making payment more convenient and the device safer; it can be applied to smart home security scenarios, such as heartbeat waveform recognition can be integrated into smart door locks and security systems, and only the heartbeat waveform of legal residents can unlock the door or turn off the alarm; it can be applied to car safety and personalized settings, such as heartbeat identity recognition combined with digital car keys, which can not only provide anti-theft functions, but also automatically adjust personalized settings such as seats, rearview mirrors and music playlists based on the driver's biometric information; it can be applied to personalized game entertainment and rapid authentication, such as on games and VR devices, the game difficulty or content can be adjusted according to the player's physiological signals, or it can be used for rapid authentication of the player's identity; it can be applied to remote medical testing, such as for health care monitoring, to ensure the authenticity of monitoring data and ensure that medical data can only be accessed by authorized medical personnel; it can be applied to access control of mobile devices, such as providing a secure login method on smartphones or tablets instead of or as a supplementary identity authentication for passwords, fingerprint recognition and facial recognition. Of course, the identity authentication method based on the heartbeat signal in the embodiment of this specification can also be used in other application scenarios, and this embodiment is not limited to this.
[0072] See also Figure 2 , which is a flowchart of a heartbeat signal-based identity authentication method for an embodiment of this specification. In the embodiment of this specification, the heartbeat signal-based identity authentication method can be applied to a terminal device or a server, and this exemplary embodiment does not make any special restrictions on this. Figure 2 The process shown in the figure is described in detail. The identity authentication method based on the heartbeat signal in the embodiment of this specification may specifically include the following steps:
[0073] Step S210, obtaining the collected original heartbeat recognition signal;
[0074] Step S220, performing quality screening on the original heartbeat recognition signal to obtain a target heartbeat recognition signal;
[0075] Step S230, inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal;
[0076] Step S240, determining the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat verification data and the local heartbeat feature.
[0077] According to the identity authentication method based on heartbeat signal in the embodiment of this specification, on the one hand, by screening the quality of the original heartbeat recognition signal and combining it with the heartbeat feature extraction model, it is possible to accurately identify and process the heartbeat recognition signal with poor quality, effectively improving the accuracy of heartbeat identity authentication; on the other hand, since the quality of the heartbeat recognition signal is not required, it is not necessary to use high-precision heartbeat signal acquisition equipment to implement it, which can reduce the implementation cost of heartbeat identity recognition and increase the scope of application scenarios of heartbeat identity recognition, especially portable mobile heartbeat identity authentication scenarios such as wearable devices; on the other hand, the identity authentication result corresponding to the target heartbeat recognition signal is determined in combination with historical heartbeat verification data, realizing adaptive verification and identification of heartbeat identity authentication, which can effectively identify legitimate users and illegal intruders and ensure the security of heartbeat identity authentication.
[0078] Next, step S210 to step S240 are described in detail.
[0079] In step S210, the collected original heartbeat recognition signal is acquired.
[0080] In an example embodiment of the present specification, the original heartbeat recognition signal refers to the heartbeat pulse information corresponding to the identity object to be verified collected by a heartbeat pulse sensor. For example, the original heartbeat recognition signal can be a sensor signal collected by a photoelectric volumetric pulse wave sensor (PPG); the PPG sensor uses light of a specific wavelength to irradiate the skin surface. When the light passes through the skin and tissue, the absorption and reflection of the light will change due to the flow of blood and the expansion and contraction of blood vessels. These changes are detected by the photosensor and converted into electrical signals, thereby providing information about heart function and blood flow, namely, the heartbeat recognition signal; of course, the original heartbeat recognition signal can also be a sensor signal detected and collected by a piezoelectric and piezoresistive sensor, an infrared pulse sensor, or a light sensor. This example embodiment does not specifically limit the collection method and data presentation form of the original heartbeat recognition signal.
[0081] The original heartbeat recognition signal can be collected in real time by a wearable device equipped with a heartbeat pulse sensor. For example, the subject to be verified can wear a wearable device equipped with a PPG sensor, and when the identity authentication instruction is detected, the original heartbeat recognition signal corresponding to the subject to be verified is collected by the PPG sensor. Of course, the original heartbeat recognition signal can also be collected and transmitted by a communication-connected device equipped with a heartbeat pulse sensor. This embodiment does not specifically limit the method for collecting the original heartbeat recognition signal.
[0082] In step S220, the original heartbeat recognition signal is quality screened to obtain a target heartbeat recognition signal.
[0083] In an example embodiment of the present specification, the target heartbeat recognition signal refers to a heartbeat recognition signal that is selected from the original heartbeat recognition signal and has the quality required to realize identity authentication. For example, the available original heartbeat recognition signal can be selected by a motion sensor in a device equipped with a heartbeat pulse sensor, such as the motion state identified by the inertial measurement unit (IMU) can be used to determine whether the currently collected original heartbeat recognition signal is available, and the available original heartbeat recognition signal is used as the target heartbeat recognition signal; or the original heartbeat recognition signal can be subjected to waveform analysis to determine the original heartbeat recognition signal with qualified quality as the target heartbeat recognition signal. Of course, those skilled in the art can understand that the original heartbeat recognition signal can also be selected by other screening methods that can select heartbeat recognition signals with qualified quality. This example embodiment does not specifically limit the quality screening method of the original heartbeat recognition signal.
[0084] In step S230, the target heartbeat recognition signal is input into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal.
[0085] In an example embodiment of the present specification, a heartbeat feature extraction model refers to an artificial intelligence model used to extract key local heartbeat features in a target heartbeat recognition signal. For example, the heartbeat feature extraction model may be a self-supervised model based on VIT (Vision Transformer). For example, a local feature extraction model for an ID image may be a DINOv2 model or a MAE (Masked Autoencoders) model. Of course, the heartbeat feature extraction model may also be a multi-task based recurrent neural network (RNN) model. This embodiment does not impose any special limitation on the model type used for the heartbeat feature extraction model.
[0086] Local heartbeat features refer to signal features containing key heartbeat waveforms extracted from the target heartbeat identification signal by the heartbeat feature extraction model. For example, the local heartbeat features may be the P wave in the target heartbeat identification signal; the local heartbeat features may also be the PR interval, QRS complex time, QRS complex amplitude, Q wave, ST segment, T wave, QT interval and U wave in the target heartbeat identification signal. Of course, the local heartbeat features may also be other features that can indicate the specificity of the target heartbeat identification signal, and this example embodiment does not make any special limitation on this.
[0087] The target heartbeat recognition signal can be input into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal. For example, the target heartbeat recognition signal can be input into a trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat recognition signal and the signal feature type corresponding to the heartbeat signal frame, and then continuous heartbeat signal frames belonging to the same signal feature type can be spliced to obtain at least one local heartbeat feature, such as a P wave feature, a Q wave feature, a QRS wave feature, etc.
[0088] In step S240, the identity authentication result corresponding to the target heartbeat identification signal is determined according to the pre-stored historical heartbeat verification data and the local heartbeat feature.
[0089] In an example embodiment of the present specification, historical heartbeat verification data refers to data for authenticating the collected heartbeat identification signals during a historical time period. For example, the historical heartbeat verification data may be a historical heartbeat identification signal, a heartbeat identity authentication result of a historical heartbeat identification signal, and historical heartbeat features used in a historical identity authentication process. This example embodiment does not impose any special limitations on the data type of the historical heartbeat verification data.
[0090] The authentication result may be that the authentication of the original heartbeat recognition signal is passed or failed, or that there is a risk of heartbeat recognition signal disguise or there is no risk of heartbeat recognition signal disguise. This example embodiment does not specifically limit the content type of the authentication result.
[0091] By screening the quality of the original heartbeat recognition signal and combining it with a heartbeat feature extraction model, it is possible to accurately identify and process heartbeat recognition signals of poor quality, effectively improving the accuracy of heartbeat identity authentication; since the quality of the heartbeat recognition signal is not required, it is not necessary to use high-precision heartbeat signal acquisition equipment, which can reduce the implementation cost of heartbeat identity authentication and increase the scope of application scenarios of heartbeat identity authentication, especially portable mobile heartbeat identity authentication scenarios such as wearable devices; combining historical heartbeat verification data to determine the identity authentication result corresponding to the target heartbeat recognition signal, and realizing adaptive verification and identification of heartbeat identity authentication, which can effectively identify legitimate users and illegal intruders and ensure the security of heartbeat identity authentication.
[0092] The following is a detailed description of the identity authentication method based on the heartbeat signal in steps S210 to S240.
[0093] In an exemplary embodiment of this specification, it is possible to Figure 3 The steps in the above are used to screen the quality of the original heartbeat recognition signal and obtain the target heartbeat recognition signal. Figure 3As shown, it may specifically include:
[0094] Step S310, screening available heartbeat signals in the original heartbeat recognition signal according to the collected motion sensor data;
[0095] Step S310, performing signal waveform analysis on the available heartbeat signals to screen valid and qualified signals from the available heartbeat signals;
[0096] Step S310: input the valid qualified signal into a trained heartbeat signal quality detection model for classification to obtain a target heartbeat recognition signal with qualified quality.
[0097] Among them, motion sensor data refers to data collected by a sensor used to detect the motion state of the object to be verified corresponding to the original heartbeat recognition signal. For example, the motion sensor data can be gyroscope sensor data or inertial measurement sensor data. Of course, it can also be other types of sensors that can detect motion states. This example embodiment does not make any special limitations on this.
[0098] An available heartbeat signal refers to the original heartbeat identification signal collected by the object to be verified in a stable state. For example, if the original heartbeat identification signal collected by the motion sensor is measured in a running state, then the original heartbeat identification signal is unstable and can be filtered; if the original heartbeat identification signal collected by the motion sensor is measured in a stationary state or a walking state, then it can be used as an available heartbeat signal; of course, this is only a schematic example, and this embodiment does not make any special limitations on this.
[0099] Motion sensor data can be used to effectively filter original heartbeat recognition signals collected in various unstable motion states, such as running and jumping, to prevent unusable heartbeat recognition signals from participating in subsequent processes, effectively reduce the amount of calculation, and improve the quality of heartbeat recognition signals.
[0100] A valid qualified signal refers to an original heartbeat identification signal or an available heartbeat signal after screening whose waveform is complete and within the standard range. For example, the difference between the difference between the peak and trough, the heart rate, the width of the waveform and other parameters in the original heartbeat identification signal or the available heartbeat signal after screening and the standard fixed range can be determined, and whether the heartbeat signal is qualified can be determined based on the difference; of course, whether the heartbeat signal is qualified can also be determined by other waveform parameters, and this example embodiment does not make any special limitations on this.
[0101] By performing waveform analysis on available heartbeat signals, heartbeat signals whose signal waveforms do not meet the standard range are screened out and eliminated, which can effectively reduce calculation errors caused by inaccurate signal waveforms of heartbeat signals.
[0102] The heartbeat signal quality detection model refers to an artificial intelligence model used to perform a binary classification task on the input original heartbeat recognition signal. For example, the heartbeat signal quality detection model can be a deep learning model based on a convolutional neural network CNN, or it can be a machine learning model based on a support vector machine (SVM). This example embodiment does not specifically limit the type of the heartbeat signal quality detection model.
[0103] Through the supervised training of the heartbeat signal quality detection model, the signal features in the valid and qualified signals can be deeply identified, and each signal feature can be analyzed and compared to determine whether it meets the quality requirements, thereby realizing the screening of valid and qualified signals with better quality and improving the quality of the heartbeat signal input in the subsequent identity authentication process, thereby improving the accuracy of the identity authentication results to a certain extent.
[0104] Through motion sensor data, signal waveform analysis and the heartbeat signal quality detection model used for quality audit, the quality of the collected original heartbeat recognition signals can be gradually and fully screened, which can effectively improve the accuracy and signal quality of the screened target heartbeat recognition signals, thereby ensuring the accuracy of subsequent identity authentication results.
[0105] Optionally, the following steps may be used to filter available heartbeat signals in the original heartbeat recognition signal according to the collected motion sensor data, which may specifically include:
[0106] The current motion state corresponding to the original heartbeat recognition signal can be determined according to the collected motion sensor data, and the original heartbeat recognition signal whose corresponding current motion state belongs to the preset target motion state is used as the available heartbeat signal.
[0107] Among them, the current motion state refers to the motion state corresponding to the moment when the original heartbeat recognition signal is collected. For example, the motion sensor data can be matched according to the timestamp corresponding to the original heartbeat recognition signal, and the current motion state when the original heartbeat recognition signal is collected can be determined according to the motion sensor data. For example, the current motion state can be a running state, a jumping state, a walking state, a stationary state, etc.
[0108] The target motion state refers to a pre-set parameter for screening available heartbeat signals. For example, the target motion state can be a walking state or a stationary state, but the present embodiment is not limited thereto. By setting the target motion state and combining the current motion state determined by the motion sensor data, unavailable original heartbeat recognition signals can be quickly and effectively filtered to obtain available heartbeat signals.
[0109] Motion sensor data can be used to effectively filter original heartbeat recognition signals collected in various unstable motion states, such as running and jumping, to prevent unusable heartbeat recognition signals from participating in subsequent processes, effectively reduce the amount of calculation, and improve the quality of heartbeat recognition signals.
[0110] Optionally, the following steps may be used to perform signal waveform analysis on the available heartbeat signals to screen valid qualified signals from the available heartbeat signals, which may specifically include:
[0111] The heartbeat waveform feature can be determined based on the available heartbeat signal. If the heartbeat waveform feature is within a preset normal feature range, the available heartbeat signal is determined to be a valid and qualified signal.
[0112] Among them, the heartbeat waveform feature refers to the waveform feature obtained by analyzing the heartbeat recognition signal. For example, the heartbeat waveform feature can be the difference between the peak and the trough, or it can be the heart rate value calculated by analyzing the waveform, the width of each waveform, whether there is a huge fluctuation between the waveforms, etc. This example embodiment does not specifically limit the type of heartbeat waveform feature obtained by performing signal waveform analysis on the heartbeat recognition signal.
[0113] The normal feature range refers to the standard range of the waveform features of a normal heartbeat recognition signal obtained based on statistical measurements of experimental data. If the heartbeat waveform features of the heartbeat recognition signal are within the normal feature range, then the heartbeat recognition signal can be considered normal. If the heartbeat waveform features of the heartbeat recognition signal are not within the normal feature range, then the heartbeat recognition signal can be considered abnormal.
[0114] By performing waveform analysis on available heartbeat signals, heartbeat signals whose signal waveforms do not meet the standard range can be quickly screened out and eliminated, effectively reducing calculation errors caused by inaccurate signal waveforms of heartbeat signals.
[0115] In an exemplary embodiment of this specification, it is possible to Figure 4 The step of inputting the target heartbeat recognition signal into the trained heartbeat feature extraction model is implemented to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal. Figure 4 As shown, it may specifically include:
[0116] Step S410, inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat recognition signal and a signal feature type corresponding to the heartbeat signal frame;
[0117] Step S420: determining at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type.
[0118] Among them, the heartbeat signal frame refers to the overlapping or non-overlapping signal frame obtained by splitting the target heartbeat recognition signal. For example, the target heartbeat recognition signal can be sampled according to a predetermined acquisition step through an acquisition window of a fixed size to obtain the heartbeat signal frame, or the heartbeat signal frame can be directly cropped and split to obtain the heartbeat signal frame. This embodiment does not specifically limit the method of splitting the target heartbeat recognition signal.
[0119] The signal feature type refers to the classification data obtained by the heartbeat feature extraction model to identify and detect the heartbeat signal frame. For example, the signal feature type can be a P wave feature type, a T wave feature type, and of course, a QRS wave feature type, etc. This embodiment is not limited to this.
[0120] Optionally, the following steps may be used to determine at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type, which may specifically include:
[0121] Continuous heartbeat signal frames belonging to the same signal feature type may be spliced to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal.
[0122] For example, the target heartbeat identification signal can be split into heartbeat signal frame A, heartbeat signal frame B, heartbeat signal frame C, heartbeat signal frame D and heartbeat signal frame E, among which heartbeat signal frame A, heartbeat signal frame B and heartbeat signal frame C all belong to the P wave feature type and are continuous, and heartbeat signal frame D and heartbeat signal frame E belong to the QRS wave feature type and are continuous. Then, heartbeat signal frame A, heartbeat signal frame B and heartbeat signal frame C can be spliced to obtain a local heartbeat feature of the P wave feature type, and heartbeat signal frame D and heartbeat signal frame E can be spliced to obtain a local heartbeat feature of the QRS wave feature type.
[0123] Optionally, the heartbeat feature extraction model may include at least a heartbeat signal embedding network, a position encoding adding network, a heartbeat feature encoding network, and a heartbeat feature classification network; Figure 5 The steps in the embodiment input the target heartbeat recognition signal into the trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat recognition signal and the signal feature type corresponding to the heartbeat signal frame, refer to Figure 5 As shown, it may specifically include:
[0124] Step S510, segmenting the target heartbeat recognition signal into at least one heartbeat signal frame through the heartbeat signal embedding network, and embedding the heartbeat signal frame to obtain a heartbeat signal frame embedding feature;
[0125] Step S520, inputting the heartbeat signal frame embedding feature into the position coding adding network, and outputting the heartbeat signal frame embedding feature with position coding information;
[0126] Step S530, inputting the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature;
[0127] Step S540: identifying and classifying the coding features of the heartbeat signal frames according to the heartbeat feature classification network to obtain the signal feature type corresponding to each of the heartbeat signal frames.
[0128] Among them, the heartbeat signal embedding network can be used to segment the target heartbeat recognition signal into at least one heartbeat signal frame, and embed the heartbeat signal frame to obtain the heartbeat signal frame embedding feature; for example, the heartbeat signal embedding network may include at least one convolution layer, and the target heartbeat recognition signal is segmented by the convolution kernel in the convolution layer, and the at least one heartbeat signal frame obtained after the segmentation is embedded to obtain the heartbeat signal frame embedding feature.
[0129] The position coding adding network can be used to add position coding to the heartbeat signal frame embedding feature, so as to add position features to the heartbeat signal frame embedding feature, so as to facilitate the extraction of correlation features between heartbeat signal frames. It can be understood that the position coding adding network can also add class coding to characterize the entire target heartbeat recognition signal.
[0130] The heartbeat feature encoding network can be used to encode the embedded features of the heartbeat signal frame with position encoding information, so as to extract the heartbeat signal frame encoding features contained in the heartbeat signal frame; for example, the heartbeat feature encoding network can be composed of a normalization layer (LayerNorm), a multi-head self-attention layer, a multilayer perceptron (Multilayer Perceptron, MLP) and a residual connection module. Of course, the heartbeat feature encoding network can also be other types of networks that can realize the extraction of heartbeat signal features contained in the heartbeat signal frame. This example embodiment does not specifically limit the structure of the heartbeat feature encoding network.
[0131] The heartbeat feature classification network can be used to identify and classify the coding features of the heartbeat signal frame to obtain the type of signal features corresponding to each heartbeat signal frame. For example, the heartbeat feature classification network can be an MLP Head classification network, such as an MLP Head classification network that can be composed of a fully connected layer, a GELU activation function, and a Dropout layer. Of course, the heartbeat feature classification network can also be other types of networks that can recognize and classify the coding features of the heartbeat signal frame. This example embodiment does not specifically limit the structure of the heartbeat feature classification network.
[0132] Through the heartbeat signal embedding network, position coding adding network, heartbeat feature encoding network and heartbeat feature classification network in the heartbeat feature extraction model, the local heartbeat features in the target heartbeat recognition signal can be quickly and accurately identified and classified, which can effectively improve the accuracy and recognition efficiency of the local heartbeat features in the target heartbeat recognition signal.
[0133] In an optional embodiment, the heartbeat feature extraction model may also include a bidirectional long short-term memory network (BiLSTM). For example, the bidirectional long short-term memory network (BiLSTM) may be disposed between the position encoding addition network and the heartbeat signal frame encoding network to capture historical (previous) and future (later) contextual information of the target heartbeat recognition signal in two directions.
[0134] The following steps may be used to input the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature, which may specifically include:
[0135] The heartbeat signal frame embedding features with position coding information can be input into a bidirectional long short-term memory network to extract the heartbeat signal frame embedding features with context features. Then, the heartbeat signal frame embedding features with context features can be input into a heartbeat feature coding network to output the heartbeat signal frame coding features.
[0136] By adding a bidirectional long short-term memory network (BiLSTM) to the heartbeat feature extraction model, the heartbeat feature extraction model can better understand how the current heartbeat signal data point features are associated with the heartbeat signal data point features at the previous and next moments. This can further improve the heartbeat signal frame encoding network's extraction of local heartbeat features, and improve the heartbeat feature extraction model's ability to understand the local heartbeat features in the target heartbeat recognition signal, thereby improving the accuracy and completeness of the extracted and recognized local heartbeat features.
[0137] In an optional embodiment, the heartbeat feature classification network may include an AM-softmax loss function, and then the heartbeat signal frame coding features may be identified and classified based on the AM-softmax loss function to obtain the signal feature type corresponding to each heartbeat signal frame.
[0138] Among them, the AM-softmax loss function is mainly used for face recognition and other tasks that require learning feature embedding. It can enhance the decision boundary of the classifier through additive angle margin. By using AM-softmax in the heartbeat feature classification network, the intra-class compactness and inter-class separability in the heartbeat signal feature space can be promoted through the constraint of additive angle margin. Compared with the use of ordinary softmax loss function, it can effectively improve the recognition performance of the heartbeat feature extraction model and further improve the accuracy of the extracted local heartbeat features.
[0139] Figure 6 A structural diagram of a heartbeat feature extraction model provided in an embodiment of this specification.
[0140] refer to Figure 6 As shown, the heartbeat feature extraction model 600 may at least include a heartbeat signal embedding network 603, a position encoding adding network 604, a bidirectional long short-term memory network 605, a heartbeat feature encoding network 606 and a heartbeat feature classification network 607.
[0141] The target heartbeat recognition signal 601 can be segmented into at least one heartbeat signal frame 602 by the heartbeat signal embedding network 603, and the heartbeat signal frame 602 is embedded to obtain the heartbeat signal frame embedding feature, and the heartbeat signal frame embedding feature can be input into the position coding addition network 604 to output the heartbeat signal frame embedding feature with position coding information; of course, the position coding addition network 604 can also add an additional class heartbeat signal frame to characterize the entire signal of the target heartbeat recognition signal 601; then the heartbeat signal frame embedding feature can be input into the bidirectional long short-term memory network 605 to extract the heartbeat signal frame embedding feature with contextual features, and the heartbeat signal frame embedding feature with contextual features is input into the heartbeat feature encoding network 606 to output the heartbeat signal frame encoding feature. Optionally, the heartbeat feature encoding network 606 can at least include a normalization layer 6061, a multi-head self-attention layer 6062, a multi-layer perceptron 6063 and a residual connection module. Finally, the heartbeat feature classification network 607 can identify and classify the heartbeat signal frame encoding features output by the heartbeat feature encoding network 606 to obtain the signal feature type corresponding to each heartbeat signal frame. Figure 6 The model network structure of the heartbeat feature extraction model 600 is only a schematic example, and this embodiment is not limited to this.
[0142] In an example embodiment of the present specification, before the target heartbeat recognition signal is input into a trained heartbeat feature extraction model, the target heartbeat recognition signal can be enhanced to improve the quality of key features of the heartbeat recognition signal input into the heartbeat feature extraction model, thereby improving the accuracy and robustness of the output results of the heartbeat feature extraction model.
[0143] The signal enhancement of the target heartbeat recognition signal can be achieved through the following steps, which may specifically include:
[0144] The target heartbeat recognition signal can be filtered and then differentiated to obtain a heartbeat recognition differential signal. Then, the peak value of the target heartbeat recognition signal can be searched according to the set adaptive acquisition window and the heartbeat recognition differential signal, and the found peak signal can be post-processed to obtain a target heartbeat recognition signal after signal enhancement.
[0145] Among them, filtering processing refers to the process of filtering part of the target heartbeat recognition signal to achieve signal noise reduction. For example, filtering processing can be a process of performing wavelet transform on the target heartbeat recognition signal through a wavelet function, or it can be a process of filtering out high-frequency noise and low-frequency noise in the target heartbeat recognition signal through a mid-pass filter.
[0146] In addition to filtering, the target heartbeat recognition signal can also be subjected to frequency domain analysis to enhance the signal-to-noise ratio of the target heartbeat recognition signal. For example, the frequency spectrum of the target heartbeat recognition signal can be determined by short-time Fourier transform (STFT), and then different spectrum analysis methods can be used to implement frequency domain analysis of the target heartbeat recognition signal. For example, mel spectrum and MFCC (Mel-frequency cepstral coefficient) can be used to implement frequency domain analysis of the target heartbeat recognition signal, thereby enhancing the signal-to-noise ratio of the target heartbeat recognition signal.
[0147] After obtaining the target heartbeat recognition signal after filtering, it can be differentiated to obtain a heartbeat recognition differential signal to filter the noise of the target heartbeat recognition signal. For example, the heartbeat recognition differential signal can be determined by the following relationship:
[0148] x(k) = r(k) - r(k-1);
[0149] Among them, x(k) can represent the heartbeat recognition differential signal, r(k) can represent the target heartbeat recognition signal at time k, and r(k-1) can represent the target heartbeat recognition signal at time k-1. The difference operation can be used to calculate the difference between consecutive sampling points in the target heartbeat recognition signal, thereby emphasizing the local dynamic change characteristics of the target heartbeat recognition signal.
[0150] The target heartbeat recognition signal can be searched for peak values according to the set adaptive acquisition window and the heartbeat recognition differential signal. For example, the size of the acquisition window can be selected according to the waveform characteristics in the target heartbeat recognition signal, such as the size of the adaptive acquisition window can be adjusted according to the noise level and peak value of the target heartbeat recognition signal. The heartbeat recognition differential signal in the adaptive acquisition window can be compared with the preset peak threshold to determine the position of the peak value. For example, if the absolute value of the heartbeat recognition differential signal is greater than or equal to the preset peak threshold, the signal sampling point can be considered as a peak value, and the entire target heartbeat recognition signal can be searched step by step to find all peak values.
[0151] The found peak signal can be post-processed, for example, pseudo peaks can be removed, adjacent peaks can be merged, etc., so as to enhance the signal quality of the target heartbeat recognition signal.
[0152] In an exemplary embodiment of this specification, it is possible to Figure 7 The steps in the embodiment of the present invention are to determine the identity authentication result corresponding to the target heartbeat recognition signal according to the pre-stored historical heartbeat verification data and the local heartbeat features, and may specifically include:
[0153] Step S710, obtaining the initial feature weight corresponding to the local heartbeat feature;
[0154] Step S720, updating the initial feature weight according to the historical reliability corresponding to each of the local heartbeat features in the historical heartbeat verification data to obtain a target feature weight;
[0155] Step S730, determining an identity authentication score corresponding to the target heartbeat recognition signal based on the target feature weight;
[0156] Step S740: If the identity authentication score is greater than or equal to the authentication score threshold, the identity authentication result corresponding to the target heartbeat recognition signal is determined to be identity authentication passed.
[0157] Among them, the initial feature weight refers to the weight value set in advance based on the importance of each local heartbeat feature to heartbeat identity authentication, which can be considered as a factory setting value; for example, the difference of P waves in the heartbeat signals of different objects is small, and the reliability of identity authentication is low, so the initial feature weight ratio of the P wave can be set to be smaller; the difference of QRS waves in the heartbeat signals of different objects is large, and the reliability of identity authentication is greater, so the initial feature weight ratio of the P wave can be set to be larger; of course, this is only a schematic example, and it should not impose any special limitations on this example embodiment.
[0158] The initial feature weight can be updated according to the historical reliability corresponding to each local heartbeat feature in the historical heartbeat verification data to obtain the target feature weight. For example, in the historical heartbeat verification data of the current object to be verified, it is shown that the P wave in its local heartbeat feature shows unique specificity, which can be significantly used to identify the object to be verified, then the initial feature weight corresponding to its P wave feature can be updated to a weight value with a larger weight ratio; the QRS wave in its local heartbeat feature shows a feature that is more similar to other objects, then the initial feature weight of its QRS wave can be updated to a weight value with a smaller weight ratio, and so on, and all the initial feature weights are completely updated to obtain the target feature weight. It can be understood that this is only an illustrative example and should not impose any special limitations on this example embodiment.
[0159] After obtaining the target feature weight, the identity authentication score corresponding to the target heartbeat recognition signal can be determined. If the identity authentication score corresponding to the target heartbeat recognition signal is greater than or equal to the verification score threshold, then the identity authentication result corresponding to the target heartbeat recognition signal can be determined as identity authentication passed; if the identity authentication score corresponding to the target heartbeat recognition signal is less than the verification score threshold, then the identity authentication result corresponding to the target heartbeat recognition signal can be determined as identity authentication failed.
[0160] Optionally, the following steps may be used to determine the identity authentication score corresponding to the target heartbeat recognition signal based on the target feature weight, which may specifically include:
[0161] The stored reference heartbeat feature can be obtained, and the heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature can be determined; the identity authentication score corresponding to the target heartbeat recognition signal can be determined based on the target feature weight and the heartbeat feature similarity.
[0162] The reference heartbeat feature refers to a local heartbeat feature extracted by the identity authentication method based on the heartbeat signal in this example embodiment when the object to be authenticated uses the device for the first time, so as to be used as comparison data for identity authentication later.
[0163] The heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature can be calculated. For example, the similarity between the P wave feature in the reference heartbeat feature and the P wave feature in the extracted local heartbeat feature can be calculated. For example, the cosine similarity between the P wave feature in the reference heartbeat feature and the P wave feature in the extracted local heartbeat feature can be calculated as the heartbeat feature similarity, or the Euclidean distance between the P wave feature in the reference heartbeat feature and the P wave feature in the extracted local heartbeat feature can be calculated as the heartbeat feature similarity. This example embodiment does not specifically limit the method for calculating the similarity.
[0164] After calculating and determining the heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature, the identity authentication score corresponding to the target heartbeat recognition signal can be determined by the target feature weights of each local heartbeat feature and the heartbeat feature similarity, thereby determining the identity authentication result based on the identity authentication score.
[0165] By self-learning and updating the target feature weights, the calculated authentication score is made to better match the heartbeat signal characteristics of the object to be authenticated, thereby effectively improving the accuracy and effectiveness of the authentication score; and the self-learning and updated target feature weights can enable the system to better identify legitimate users and illegal intruders, and recognize disguised heartbeat signals, further improving the accuracy of the authentication results, thereby improving the security of the authentication system based on heartbeat signals.
[0166] To summarize, the heartbeat signal-based identity authentication method provided in the embodiments of the present specification obtains the target heartbeat recognition signal by acquiring the collected original heartbeat recognition signal and performing quality screening on the original heartbeat recognition signal, and inputs the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal, and then determines the identity authentication result corresponding to the target heartbeat recognition signal based on the pre-stored historical heartbeat verification data and the local heartbeat features. On the one hand, by screening the quality of the original heartbeat recognition signal and combining it with a heartbeat feature extraction model, it is possible to accurately identify and process heartbeat recognition signals of poor quality, effectively improving the accuracy of heartbeat identity authentication; on the other hand, since the quality of the heartbeat recognition signal is not required, it is not necessary to use high-precision heartbeat signal acquisition equipment, which can reduce the implementation cost of heartbeat identity recognition and increase the scope of application scenarios of heartbeat identity recognition, especially portable mobile heartbeat identity authentication scenarios such as wearable devices; on the other hand, by combining historical heartbeat verification data to determine the identity authentication result corresponding to the target heartbeat recognition signal, adaptive verification and identification of heartbeat identity authentication can be achieved, which can effectively identify legitimate users and illegal intruders and ensure the security of heartbeat identity authentication.
[0167] See also Figure 8, is a schematic diagram of a structure of an identity authentication device based on a heartbeat signal provided in an embodiment of this specification. Figure 8 As shown, the identity authentication device 800 based on the heartbeat signal can be implemented as all or part of the electronic device through software, hardware or a combination of both. According to some embodiments, the identity authentication device 800 based on the heartbeat signal includes a heartbeat signal acquisition module 810, a heartbeat signal screening module 820, a heartbeat feature extraction module 830 and an identity authentication module 840, specifically including:
[0168] The heartbeat signal acquisition module 810 is used to acquire the collected original heartbeat recognition signal;
[0169] A heartbeat signal screening module 820 is used to screen the quality of the original heartbeat recognition signal to obtain a target heartbeat recognition signal;
[0170] A heartbeat feature extraction module 830 is used to input the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal;
[0171] The identity authentication module 840 is used to determine the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat authentication data and the local heartbeat characteristics.
[0172] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the heartbeat signal screening module 820 is configured as follows:
[0173] Filter available heartbeat signals in the original heartbeat recognition signal according to the collected motion sensor data;
[0174] Performing signal waveform analysis on the available heartbeat signals to screen out valid and qualified signals from the available heartbeat signals;
[0175] The valid qualified signal is input into a trained heartbeat signal quality detection model for classification to obtain a target heartbeat recognition signal with qualified quality.
[0176] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the heartbeat signal screening module 820 is configured as follows:
[0177] Determine the current motion state corresponding to the original heartbeat recognition signal according to the collected motion sensor data;
[0178] The original heartbeat recognition signal corresponding to the current motion state belonging to the preset target motion state is used as the available heartbeat signal.
[0179] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the heartbeat signal screening module 820 is configured as follows:
[0180] Determining a heartbeat waveform feature according to the available heartbeat signal;
[0181] If the heartbeat waveform feature is within a preset normal feature range, the available heartbeat signal is determined to be a valid qualified signal.
[0182] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the heartbeat feature extraction module 830 may include:
[0183] A signal feature type identification unit, used for inputting the target heartbeat identification signal into a trained heartbeat feature extraction model to obtain at least one heartbeat signal frame after segmentation of the target heartbeat identification signal and a signal feature type corresponding to the heartbeat signal frame;
[0184] A local heartbeat feature determination unit is used to determine at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type.
[0185] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the local heartbeat feature determination unit is configured as follows:
[0186] Continuous heartbeat signal frames belonging to the same signal feature type are spliced to obtain at least one local heartbeat feature corresponding to the target heartbeat identification signal.
[0187] Optionally, in an exemplary embodiment of the present specification, based on the aforementioned solution, the heartbeat feature extraction model may include a heartbeat signal embedding network, a position coding adding network, a heartbeat feature coding network, and a heartbeat feature classification network; the signal feature type identification unit is configured as follows:
[0188] The target heartbeat recognition signal is segmented into at least one heartbeat signal frame by the heartbeat signal embedding network, and the heartbeat signal frame is embedded to obtain a heartbeat signal frame embedding feature;
[0189] Inputting the heartbeat signal frame embedding feature into the position coding adding network, and outputting the heartbeat signal frame embedding feature with position coding information;
[0190] Inputting the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature;
[0191] The heartbeat signal frame coding features are identified and classified according to the heartbeat feature classification network to obtain the signal feature type corresponding to each of the heartbeat signal frames.
[0192] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the heartbeat feature extraction model further includes a bidirectional long short-term memory network; and the signal feature type identification unit is configured as follows:
[0193] Inputting the heartbeat signal frame embedding feature with position encoding information into the bidirectional long short-term memory network to extract the heartbeat signal frame embedding feature with context features;
[0194] The heartbeat signal frame embedding feature with context feature is input into the heartbeat feature encoding network, and the heartbeat signal frame encoding feature is output.
[0195] Optionally, in an exemplary embodiment of the present specification, based on the aforementioned solution, the heartbeat feature classification network may include an AM-softmax loss function; and the signal feature type identification unit is configured as follows:
[0196] Based on the AM-softmax loss function, the coding features of the heartbeat signal frames are identified and classified to obtain the signal feature type corresponding to each of the heartbeat signal frames.
[0197] Optionally, in an exemplary embodiment of the present specification, based on the aforementioned solution, the identity authentication device 800 based on the heartbeat signal further includes a heartbeat identification signal enhancement module, and the heartbeat identification signal enhancement module is configured as follows:
[0198] Performing signal enhancement on the target heartbeat recognition signal;
[0199] The signal enhancement of the target heartbeat recognition signal includes:
[0200] Filtering the target heartbeat recognition signal, and performing differentiation on the filtered target heartbeat recognition signal to obtain a heartbeat recognition differential signal;
[0201] The target heartbeat recognition signal is peak-searched according to the set adaptive acquisition window and the heartbeat recognition differential signal, and the peak signal found is post-processed to obtain the target heartbeat recognition signal after signal enhancement.
[0202] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the identity authentication module 840 is configured as follows:
[0203] Obtaining an initial feature weight corresponding to the local heartbeat feature;
[0204] The initial feature weight is updated according to the historical reliability corresponding to each of the local heartbeat features in the historical heartbeat verification data to obtain a target feature weight;
[0205] Determining an identity verification score corresponding to the target heartbeat recognition signal based on the target feature weight;
[0206] If the identity authentication score is greater than or equal to the authentication score threshold, the identity authentication result corresponding to the target heartbeat recognition signal is determined to be identity authentication passed.
[0207] Optionally, in an exemplary embodiment of the present specification, based on the above solution, the identity authentication module 840 is configured as follows:
[0208] Acquire a stored reference heartbeat feature, and determine a heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature;
[0209] An identity authentication score corresponding to the target heartbeat recognition signal is determined based on the target feature weight and the heartbeat feature similarity.
[0210] The above device embodiments correspond to the method embodiments. For specific descriptions, please refer to the description of the method embodiments, which will not be repeated here. The device embodiments are obtained based on the corresponding method embodiments and have the same technical effects as the corresponding method embodiments. For specific descriptions, please refer to the corresponding method embodiments.
[0211] The embodiments of this specification also provide a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method as described in the embodiments of this specification. The specific execution process can be found in the specific description of the embodiments of this specification, and will not be repeated here.
[0212] This specification also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded by the processor and executes the method as described in the embodiments of this specification. The specific execution process can be found in the specific description of the embodiments of this specification, and will not be repeated here.
[0213] The embodiments of this specification also provide Fig. 9 The structural diagram of the electronic device shown in FIG. Fig. 9 At the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the above-mentioned voice activity detection method.
[0214] Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the executor of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0215] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0216] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0217] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0218] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0219] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0220] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0221] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0222] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0223] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0224] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0225] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0226] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0227] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0228] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0229] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0230] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.
Claims
1. An identity authentication method based on a heartbeat signal, the method comprising: Obtaining the collected original heartbeat recognition signal; Performing quality screening on the original heartbeat recognition signal to obtain a target heartbeat recognition signal; Inputting the target heartbeat recognition signal into a trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal; Determine the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat verification data and the local heartbeat feature; The heartbeat feature extraction model includes a heartbeat signal embedding network, a position coding adding network, a heartbeat feature coding network and a heartbeat feature classification network. The target heartbeat recognition signal is input into the trained heartbeat feature extraction model to obtain at least one local heartbeat feature corresponding to the target heartbeat recognition signal, including: The target heartbeat recognition signal is divided into at least one heartbeat signal frame by the heartbeat signal embedding network, and the heartbeat signal frame is embedded to obtain a heartbeat signal frame embedding feature; the heartbeat signal frame embedding feature is input into the position coding addition network, and the heartbeat signal frame embedding feature with position coding information is output; the heartbeat signal frame embedding feature with position coding information is input into the heartbeat feature coding network to obtain a heartbeat signal frame coding feature; the heartbeat signal frame coding feature is identified and classified according to the heartbeat feature classification network to obtain a signal feature type corresponding to each of the heartbeat signal frames; At least one local heartbeat feature corresponding to the target heartbeat identification signal is determined according to the heartbeat signal frame and the signal feature type.
2. According to the identity authentication method based on the heartbeat signal of claim 1, the quality screening of the original heartbeat recognition signal to obtain the target heartbeat recognition signal comprises: Filter available heartbeat signals in the original heartbeat recognition signal according to the collected motion sensor data; Performing signal waveform analysis on the available heartbeat signals to screen out valid and qualified signals from the available heartbeat signals; The valid qualified signal is input into a trained heartbeat signal quality detection model for classification to obtain a target heartbeat recognition signal with qualified quality.
3. According to the identity authentication method based on heartbeat signal in claim 2, the step of screening available heartbeat signals in the original heartbeat identification signal according to the collected motion sensor data comprises: Determine the current motion state corresponding to the original heartbeat recognition signal according to the collected motion sensor data; The original heartbeat recognition signal corresponding to the current motion state belonging to the preset target motion state is used as the available heartbeat signal.
4. The identity authentication method based on heartbeat signals according to claim 2, wherein the step of performing signal waveform analysis on the available heartbeat signals to screen valid and qualified signals from the available heartbeat signals comprises: Determining a heartbeat waveform feature according to the available heartbeat signal; If the heartbeat waveform feature is within a preset normal feature range, the available heartbeat signal is determined to be a valid qualified signal.
5. According to the identity authentication method based on the heartbeat signal of claim 1, the step of determining at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type comprises: Continuous heartbeat signal frames belonging to the same signal feature type are spliced to obtain at least one local heartbeat feature corresponding to the target heartbeat identification signal.
6. According to the identity authentication method based on heartbeat signal in claim 1, the heartbeat feature extraction model further comprises a bidirectional long short-term memory network; The step of inputting the heartbeat signal frame embedding feature with position coding information into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature comprises: Inputting the heartbeat signal frame embedding feature with position encoding information into the bidirectional long short-term memory network to extract the heartbeat signal frame embedding feature with context features; The heartbeat signal frame embedding feature with context feature is input into the heartbeat feature encoding network, and the heartbeat signal frame encoding feature is output.
7. According to the identity authentication method based on heartbeat signal in claim 1, the heartbeat feature classification network comprises an AM-softmax loss function; the heartbeat signal frame coding features are identified and classified according to the heartbeat feature classification network to obtain the signal feature type corresponding to each heartbeat signal frame, comprising: Based on the AM-softmax loss function, the coding features of the heartbeat signal frames are identified and classified to obtain the signal feature type corresponding to each of the heartbeat signal frames.
8. The identity authentication method based on heartbeat signal according to claim 1, before inputting the target heartbeat recognition signal into the trained heartbeat feature extraction model, the method further comprises: Performing signal enhancement on the target heartbeat recognition signal; The signal enhancement of the target heartbeat recognition signal includes: Filtering the target heartbeat recognition signal, and performing differentiation on the filtered target heartbeat recognition signal to obtain a heartbeat recognition differential signal; The target heartbeat recognition signal is peak-searched according to the set adaptive acquisition window and the heartbeat recognition differential signal, and the peak signal found is post-processed to obtain the target heartbeat recognition signal after signal enhancement.
9. According to the identity authentication method based on the heartbeat signal of claim 1, the step of determining the identity authentication result corresponding to the target heartbeat recognition signal according to the pre-stored historical heartbeat authentication data and the local heartbeat feature comprises: Obtaining an initial feature weight corresponding to the local heartbeat feature; The initial feature weight is updated according to the historical reliability corresponding to each of the local heartbeat features in the historical heartbeat verification data to obtain a target feature weight; Determining an identity verification score corresponding to the target heartbeat recognition signal based on the target feature weight; If the identity authentication score is greater than or equal to the authentication score threshold, the identity authentication result corresponding to the target heartbeat recognition signal is determined to be identity authentication passed.
10. The identity authentication method based on heartbeat signal according to claim 9, wherein determining the identity authentication score corresponding to the target heartbeat recognition signal based on the target feature weight comprises: Acquire a stored reference heartbeat feature, and determine a heartbeat feature similarity between the reference heartbeat feature and the corresponding local heartbeat feature; An identity authentication score corresponding to the target heartbeat recognition signal is determined based on the target feature weight and the heartbeat feature similarity.
11. An identity authentication device based on a heartbeat signal, the device comprising: A heartbeat signal acquisition module is used to acquire the collected original heartbeat recognition signal; A heartbeat signal screening module, used for screening the quality of the original heartbeat recognition signal to obtain a target heartbeat recognition signal; A heartbeat feature extraction module, used to segment the target heartbeat recognition signal into at least one heartbeat signal frame through a heartbeat signal embedding network, and embed the heartbeat signal frame to obtain a heartbeat signal frame embedding feature; Inputting the heartbeat signal frame embedding feature into a position coding adding network, and outputting the heartbeat signal frame embedding feature with position coding information; The heartbeat signal frame embedding feature with position coding information is input into the heartbeat feature coding network to obtain the heartbeat signal frame coding feature; the heartbeat signal frame coding feature is identified and classified according to the heartbeat feature classification network to obtain the signal feature type corresponding to each of the heartbeat signal frames; Determine at least one local heartbeat feature corresponding to the target heartbeat identification signal according to the heartbeat signal frame and the signal feature type; The identity authentication module is used to determine the identity authentication result corresponding to the target heartbeat identification signal according to the pre-stored historical heartbeat authentication data and the local heartbeat characteristics.
12. A 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 10 are implemented.
13. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as claimed in any one of claims 1 to 10.
