Fingerprint and electrocardio characteristic double-authentication identity recognition system and method
Technical Field
The invention relates to a fingerprint and electrocardio characteristic double-authentication identity recognition system and method.
Background
When clinical electrocardio collection in a hospital is carried out, the record is generally carried out by adopting a name of a person. However, because the number of patients to be examined is large, the operator cannot be familiar with each patient, and thus, the operator is prone to mistakes. In addition, some patients participate in the test instead of self-presenting in order to avoid the test or to obtain the desired test results. These undoubtedly affect the accuracy of the electrocardiographic measurements and the judgment of rash treatment by the subsequent physician.
Disclosure of Invention
In order to overcome the problems in the prior art, the invention provides a fingerprint and electrocardio characteristic double-authentication identity recognition system and method, which can realize effective patient identity characteristic authentication and avoid electrocardio acquisition errors, and has the following specific technical contents:
a fingerprint and electrocardio-characteristic double-authentication identity recognition system comprises: the human body electrocardio detection device, the fingerprint identification module and the fingertip electrocardio detection module are connected with the computer host;
the fingerprint identification module is used for collecting fingerprint information and comprises a finger touch pressure identification area and a metal electrode surrounding the finger touch pressure identification area, and the metal electrode is connected with the fingertip electrocardio detection module;
the fingertip electrocardio detection module is used for acquiring the electrocardio information from a fingertip while collecting the fingerprint information;
the computer host compares the collected fingerprint signal with the registered fingerprint information, compares the electrocardiosignals respectively collected by the fingertip electrocardio detection module and the human body electrocardio detection equipment after determining that the user is registered, and immediately performs the electrocardio detection through identity authentication if the QRS wave group pulse sequences of the fingertip electrocardio detection module and the human body electrocardio detection equipment are synchronous.
A fingerprint and electrocardio characteristic double-authentication identity recognition method comprises the following operation steps:
firstly, a patient registers information on a computer host and inputs a fingerprint;
then, after the human body electrocardio detection equipment is installed on the patient, the patient firstly carries out identity recognition; the step of identity recognition comprises the following steps: the patient presses a finger into a finger touch pressure identification area of the fingerprint identification module, the fingerprint identification module acquires the fingerprint information of the patient, and the fingerprint information is transmitted to the computer host and is compared with the registered fingerprint information; if the user is determined to be the registered user, carrying out the next authentication;
a metal electrode is arranged on the finger touch pressure identification area and is used for collecting finger electrocardiosignals through a fingertip; meanwhile, the human body electrocardiosignal detection equipment carries out electrocardio detection through the human body electrocardiosignal and the QRS wave group pulse sequence of the human body electrocardiosignal detection equipment are synchronous, and then the human body electrocardiosignal detection equipment carries out electrocardio detection through identity authentication.
In one or more embodiments of the present invention, the QRS complex pulse sequence is detected by:
firstly, differentiating the electrocardiosignals after amplification and filtration, then taking absolute values and time domain average to the signals, differentiating the signals to obtain the slope information of QRS complex waves, and selecting a differential transfer function used by a three-point center difference algorithm to accelerate the algorithm operation speed as follows:
H(z)=0.5(1-z-2);
after differentiation, the QRS complex wave is further enhanced, and the P wave and the T wave are further attenuated;
next, taking absolute values of the signal data;
then, moving window integration is carried out on the signal, and the difference equation used by the moving window integration is as follows:
y(nT)=1;
N[x(nT-(n-1)T)+x(nT-(n-2)T)+…+x(nT)](5);
where N is the number of sampling points of the width of the moving window;
and (4) retaining QRS complex wave information by the final moving window integration, and detecting the QRS wave by using a threshold value method on the basis.
In one or more embodiments of the present invention, a 100ms window is selected, and the window width sampling point N is 20 calculated according to a sampling frequency of 200 times/s.
The invention has the beneficial effects that: through the dual authentication of the fingerprint and the electrocardiosignal, the identity of the patient can be ensured, the error of electrocardio acquisition is avoided, particularly, the situation that other people replace the patient to participate in detection can be prevented, and the accuracy of the electrocardio detection and the rash treatment judgment of a subsequent doctor are ensured. Meanwhile, according to the characteristics of low power consumption and small memory space of the system, QRS complex wave identification is carried out by analyzing slope, amplitude and width identification, and optimization is carried out aiming at the specific characteristics of the single chip microcomputer, so that the processing speed of the algorithm is increased, the result that the square is easy to overflow is avoided, the influence on the final complex wave detection effect is extremely small, and the accuracy of the detection result is ensured.
Drawings
Fig. 1 is a schematic diagram of a fingerprint and electrocardiographic feature double-authentication identity recognition system of the present invention.
Fig. 2 is a block diagram of the process of detecting QRS complex pulse sequence according to the present invention.
FIG. 3 is a waveform diagram of the detection process of the present invention at each phase of the electrocardiograph signal.
Detailed Description
The application scheme is further described below with reference to the accompanying drawings:
referring to fig. 1, a fingerprint and electrocardiogram feature double-authentication identity recognition system includes: the human body electrocardio detection device comprises a computer host 1, and a human body electrocardio detection device 2, a fingerprint identification module 3 and a fingertip electrocardio detection module 4 which are connected with the computer host 1; the fingerprint identification module 3 is used for collecting fingerprint information, and includes a finger touch and pressure identification area 31 and a metal electrode (metal frame) 32 surrounding the finger touch and pressure identification area 31, and the metal electrode 32 is connected with the fingertip electrocardiogram detection module 3; the fingertip electrocardio detection module 3 is used for acquiring the electrocardio information from a fingertip while collecting fingerprint information; the computer host 1 compares the collected fingerprint signals with the registered fingerprint information, compares the electrocardiosignals respectively collected by the fingertip electrocardio detection module 4 and the human body electrocardio detection device 2 after determining that the user is a registered user, and immediately performs the electrocardio detection through identity authentication if the QRS wave group pulse sequences of the two are synchronous.
Referring to fig. 2 and 3, a fingerprint and electrocardiogram feature double-authentication identity recognition method comprises the following operation steps:
firstly, a patient registers information on a computer host 1 and inputs a fingerprint;
then, after the human body electrocardio detection device 2 is installed on the patient, the patient firstly carries out identity recognition; the step of identity recognition comprises the following steps: the patient presses the finger into the finger touch pressure identification area 31 of the fingerprint identification module 3, the fingerprint identification module 3 acquires the fingerprint information of the patient, and the fingerprint information is transmitted to the computer host 1 and compared with the registered fingerprint information; if the user is determined to be the registered user, carrying out the next authentication;
a metal electrode 32 is arranged on the finger touch pressure identification area 31 and is used for collecting finger electrocardiosignals through fingertips; meanwhile, the human body electrocardiosignal detection device 2 carries out electrocardio detection through the human body electrocardiosignal, if the QRS wave group pulse sequences of the human body electrocardiosignal detection device and the human body electrocardiosignal detection device are synchronous, the identity authentication is carried out, and then the human body electrocardiosignal detection device 2 carries out electrocardio detection.
The QRS complex detection methods are various, such as a difference threshold method, a template matching method, a wavelet transform method, a neural network method, and the like. The invention provides a real-time QRS complex wave detection algorithm aiming at an 8-bit singlechip, which identifies QRS complex waves by analyzing slope, amplitude and width identification and optimizes the characteristics of the singlechip according to the characteristics of low power consumption and small memory space of a system.
The QRS complex pulse sequence detection method comprises the following steps:
firstly, differentiating the electrocardiosignals after amplification and filtration, then taking absolute values and time domain average to the signals, differentiating the signals to obtain the slope information of QRS complex waves, and selecting a differential transfer function used by a three-point center difference algorithm to accelerate the algorithm operation speed as follows:
H(z)=0.5(1-z-2);
after differentiation, the QRS complex wave is further enhanced, and the P wave and the T wave are further attenuated;
then, an absolute value is obtained from the signal data, in order to enable the data to be in a positive value before the next operation, the method adopted in the prior art is to take the square of the signal data, and through experiments, the invention adopts a mode of taking the absolute value, thereby not only accelerating the processing speed of the algorithm, but also avoiding the consequence that the square is easy to overflow, and having little influence on the final complex wave detection effect;
then, moving window integration is carried out on the signal, and the difference equation used by the moving window integration is as follows:
y(nT)=1;
N[x(nT-(n-1)T)+x(nT-(n-2)T)+…+x(nT)](5);
n is the number of sampling points of the width of the moving window, the width given in the traditional algorithm is 150ms, and experiments show that the data effect finally obtained by a slightly narrower window is better, so that the window width sampling point N is 20 by selecting the window of 100ms and calculating according to the sampling frequency of 200 times/s. Comparing the original electrocardiosignal with the processed waveforms at each stage, it can be seen that the final moving window integral retains most information of the QRS complex wave and filters other waveforms, and on the basis, the QRS wave can be conveniently detected by using a threshold value method.
The above preferred embodiments should be considered as examples of the embodiments of the present application, and technical deductions, substitutions, improvements and the like similar to, similar to or based on the embodiments of the present application should be considered as the protection scope of the present patent.