CN111657931B - Method, device and storage medium for multiplexing electrocardio electrode into key - Google Patents
Method, device and storage medium for multiplexing electrocardio electrode into key Download PDFInfo
- Publication number
- CN111657931B CN111657931B CN202010622284.3A CN202010622284A CN111657931B CN 111657931 B CN111657931 B CN 111657931B CN 202010622284 A CN202010622284 A CN 202010622284A CN 111657931 B CN111657931 B CN 111657931B
- Authority
- CN
- China
- Prior art keywords
- electrode
- key
- multiplexing
- electrocardio
- connection state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000001514 detection method Methods 0.000 claims abstract description 42
- 238000005070 sampling Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 5
- 230000005284 excitation Effects 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 2
- 230000002401 inhibitory effect Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 201000010099 disease Diseases 0.000 description 2
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003183 myoelectrical effect Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6801—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
- A61B5/6843—Monitoring or controlling sensor contact pressure
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2560/00—Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
- A61B2560/02—Operational features
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2560/00—Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
- A61B2560/04—Constructional details of apparatus
- A61B2560/0487—Special user inputs or interfaces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Veterinary Medicine (AREA)
- Public Health (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Physiology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Psychiatry (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The embodiment of the invention provides a method, a device and a storage medium for multiplexing an electrocardio electrode into a key, wherein the method comprises the following steps: judging the electrode connection state based on an electric loop detection method or a charge detection method; if the electrode is judged to be in a connection state, acquiring electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying a lead state; the interference of the electromyographic signals in a preset frequency range is restrained through a high-pass filter, the envelope characteristic of the electromyographic signals is extracted based on a normalized shannon energy method, matching is carried out according to the envelope characteristic and a preset force level rule, and a pressing force characteristic value is extracted; and identifying key control operation according to the lead state and the pressing force characteristic value. The embodiment of the invention realizes the multiplexing of the electrode and the key, is free of the bulkiness and the complexity of the key, improves the electrocardiograph detection efficiency, can avoid interference signals and improves the accuracy of key control operation identification.
Description
Technical Field
The invention relates to the field of automatic control, in particular to a method, a device and a storage medium for multiplexing electrocardio electrodes into keys.
Background
With the rapid development of society, the living conditions of substances of people are better and better, but various diseases are also accompanied, and particularly, the diseases of the heart are prominent. And the electrocardiogram and heart rate value are one of important medical indexes reflecting the health degree of a human body, and the human body is connected with the acquisition equipment through an electrocardiogram electrode, so that the electrocardiograph acquisition work is realized.
At present, even the simplest electrocardiograph detection equipment is generally required to be portable, but keys and electrodes are also required to be contained, so that the equipment looks bulkier, and if the keys are cancelled, the keys and the electrodes are multiplexed, so that the utilization rate of the structure of the equipment is greatly improved, and the equipment cost is reduced.
In the prior art, the physical key is buried under the electrode, so that the multiplexing effect of the operation of the key is achieved when the measurement is performed, but the appearance and the structural layer of the key are mainly shown, and no electric circuit or software algorithm is described, so that misoperation of the key is easily caused by hand shake, or myoelectricity introduction interference is easily caused by pressing the key, and the like.
Therefore, how to implement the method that the electrocardio electrode is multiplexed into the key, so as to improve the electrocardio detection efficiency and the key control operation identification accuracy, is a problem to be solved urgently.
Disclosure of Invention
Aiming at the defects in the prior art, the embodiment of the invention provides a method, a device and a storage medium for multiplexing an electrocardio electrode into a key.
In a first aspect, an embodiment of the present invention provides a method for multiplexing an electrocardiograph electrode into a key, including:
judging the electrode connection state based on an electric loop detection method or a charge detection method;
if the electrode is judged to be in a connection state, acquiring electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying a lead state;
the interference of the electromyographic signals in a preset frequency range is restrained through a high-pass filter, the envelope characteristic of the electromyographic signals is extracted based on a normalized shannon energy method, matching is carried out according to the envelope characteristic and a preset force level rule, and a pressing force characteristic value is extracted;
identifying key control operation according to the lead state and the pressing force characteristic value;
the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
Optionally, the sampling frequency within the time window is fixedly set and is at least twice the effective value of the electromyographic signal frequency.
Optionally, the method further comprises:
if the total connection time length exceeds the first preset time length, stopping the identification of key control operation, and starting the collection and storage of electrocardiosignals.
Optionally, the electrode connection state is judged based on an electric loop detection method, specifically:
when a human body is in contact with the electrode, acquiring bioelectricity signals on the surface of the human body through a first hardware circuit, and judging the connection state of the electrode through lead falling detection; or,
when a human body is in contact with the electrode, acquiring bioelectric signals of the surface of the human body through a second hardware circuit, and judging the connection state of the electrode by using a high-frequency carrier mode;
wherein the first hardware circuit comprises: the differential amplifying circuit, the feedback circuit, the comparator, the electrode and the RC filter circuit connected in series;
the second hardware circuit includes: a high frequency excitation loop and a skin impedance acquisition circuit.
Optionally, the electrode connection state is determined based on a charge detection method, specifically:
when a human body is in contact with the electrode, collecting electromotive force and current generated in the process of balancing the electric charge of the human body through a third hardware circuit, and judging the connection state of the electrode;
wherein the third hardware circuit comprises: a follower, an amplifying circuit and a filter circuit.
In a second aspect, an embodiment of the present invention provides a device for multiplexing an electrocardiograph electrode into a key, including:
the electrode falling judging module is used for judging the electrode connection state based on an electric loop detection method or a charge detection method;
the time window acquisition module is used for acquiring electromyographic signals according to a time window if the electrodes are judged to be in a connection state, analyzing the electromyographic signals according to a falling time interval and identifying a lead state;
the digital filtering and feature extraction module is used for inhibiting the interference of the electromyographic signals in a preset frequency range through a high-pass filter, extracting envelope characteristics of the electromyographic signals based on a normalized shannon energy method, matching the envelope characteristics with a preset dynamics grade rule, and extracting pressing dynamics feature values;
the gesture recognition module is used for recognizing key control operation according to the lead state and the pressing force characteristic value;
the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
Optionally, the sampling frequency within the time window is fixedly set and is at least twice the effective value of the electromyographic signal frequency.
Optionally, the apparatus further comprises:
and if the total connection time exceeds the first preset time, stopping the identification of key control operation and starting electrocardiosignal acquisition and storage.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method for multiplexing an electrocardiograph electrode as a key according to any one of the first aspect above when the program is executed by the processor.
Fourth aspect embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps of multiplexing the electrocardiographic electrodes of any one of the above first aspects into a key.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, which further identifies key control operation by identifying a lead state and acquiring a pressing force characteristic value, realizes multiplexing of the electrode and the key, has no bulkiness and complexity of the key, improves electrocardio detection efficiency, inhibits interference of an electromyographic signal in a preset frequency range through a high-pass filter, can avoid interference signals and improves key control operation identification accuracy.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for multiplexing an electrocardiograph electrode into a key according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for multiplexing an ECG electrode into a key according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for multiplexing an electrocardiograph electrode into a key according to an embodiment of the present invention;
fig. 4 is a schematic entity structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a schematic flow chart of a method for multiplexing an electrocardiograph electrode into a key according to an embodiment of the present invention, and fig. 2 is a schematic flow chart of another method for multiplexing an electrocardiograph electrode into a key according to an embodiment of the present invention, as shown in fig. 1 and 2, the method includes:
s101: and judging the electrode connection state based on an electric loop detection method or a charge detection method.
And judging whether the electrode has electric signal access or not based on an electric loop detection method or a charge detection method, namely detecting the electrode falling off, wherein the electric signal access is in an electrode connection state, or else, the electrode falling off state.
S102: and if the electrode is judged to be in a connection state, acquiring the change form of the electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying the lead state.
The falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
When an electrical signal is accessed, the electrocardiograph original data can be obtained, the electrodes are in a connection state, the electromyographic signals are collected according to a time window, such as the waveform of the electromyographic signals in a window time, the data are analyzed according to the falling time interval, and the lead state is identified, namely, the gesture operation of pressing the electrocardiograph electrodes by a user, such as the falling of the electrocardiograph electrodes, the short-pressing electrocardiograph electrodes, the long-pressing electrocardiograph electrodes, the continuous-clicking electrocardiograph electrodes and the like, is realized. The myoelectric signal is weak, and a high voltage resolution is required, so that a small voltage change can be detected.
S103: and suppressing the interference of the electromyographic signals in a preset frequency range through a high-pass filter, extracting the envelope characteristic of the electromyographic signals based on a normalized shannon energy method, matching the envelope characteristic with a preset force level rule, and extracting a pressing force characteristic value.
In the normalized shannon energy method, first, data is subjected to overlapping segmentation processing, each 80ms of sampled data is a segment, and each 40ms of sampled data is a new segment. Shannon energy is defined for each segment dataWherein x is nom Is the ratio of the sampled value at each point to the maximum absolute value of the sampled signal, i is a variable parameter, and N is the number of samples within 80 ms. If the sampling frequency is known to be 250Hz, then n=20.
The obtained shannon energy E s And (t) is the envelope of the signal, but normalization processing is needed to make the obtained result wave crest and wave trough obvious and the characteristics are outstanding. Normalized shannon energyThe formula is as follows:
wherein t represents the number of segments, M (E s (t)) is E s Average value of (t), S (E) s (t)) is E s Standard deviation of (t), result P s (t) is the normalized mean shannon energy of the signal.
After the acquisition duration exceeds a preset time, for example, 100ms, the acquired electromyographic signals are processed, a high-pass filter is designed to be used for preprocessing, interference of the electromyographic signals in a preset frequency range is restrained, for example, interference noise below 7Hz and above 250Hz is restrained, envelope characteristics of the signals are extracted by utilizing a normalized shannon energy method, matching is carried out according to the envelope characteristics and a preset force level rule, and a pressing force characteristic value is extracted.
It should be noted that, the preset strength grade rule is that after repeated test, envelope characteristics under different pressing strengths are summarized, several grades are classified from weak to strong, and the grades are pre-stored in the device. When the device is used, the collected signals are processed, the envelope characteristics of the signals are extracted, and then the signals are compared with the force level rule one by one, so that the pressing force of a user can be judged, and the pressing force comprises light touch, force and normal touch.
S104: and identifying key control operation according to the lead state and the pressing force characteristic value.
The pressing force can be identified through the pressing force characteristic value, then the key control operation is identified according to the lead state, the electrode is multiplexed into a key, the key action is judged, and the equipment is informed to carry out related operation. For example, the lead state is long-press electrocardio electrode, the pressing force is strong, the key action is judged to forcibly stop electrocardio detection, and the equipment is informed to perform related stopping operation.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, which further identifies key control operation by identifying a lead state and acquiring a pressing force characteristic value, realizes multiplexing of the electrode and the key, has no bulkiness and complexity of the key, improves electrocardio detection efficiency, inhibits interference of an electromyographic signal in a preset frequency range through a high-pass filter, can avoid interference signals and improves key control operation identification accuracy.
Further, on the basis of the embodiment of the invention, the sampling frequency in the time window is fixedly set and is at least twice as high as the effective value of the electromyographic signal frequency.
In particular, the sampling frequency should be more than twice the effective value of the electromyographic signal frequency, at least 500 hz. Since the sampling frequency is fixed, the timing of the window time realizes the timing function by counting the sampling points.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, which realizes a timing function by fixing sampling frequency and counting sampling points, is convenient for processing the collected electromyographic signals according to the collection time length, and improves the processing efficiency.
Further, on the basis of the above embodiment of the present invention, the method further includes:
if the total connection time length exceeds the first preset time length, stopping the identification of key control operation, and starting the collection and storage of electrocardiosignals.
Specifically, the first preset duration may be set to be 1s, if the total connection duration exceeds the first preset duration, key judgment is not performed any more, and the formal electrocardiograph collection and storage is started. Otherwise, returning to continuously collect the change form of the electromyographic signals according to the time window.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, which realizes the control operation of collecting and storing electrocardio signals and identifying the key based on a first preset time length, and the combined function application endows the electrode with two functions of both the key and the electrocardio signal detection, so that the function is more powerful, the cost is greatly reduced, and the user experience is improved.
Further, on the basis of the embodiment of the invention, the electrode connection state is determined based on an electric loop detection method, specifically:
when a human body is in contact with the electrode, acquiring bioelectric signals of the surface of the human body through a first hardware circuit, and judging the connection state of the electrode based on the bioelectric signals; or,
when a human body is in contact with the electrode, acquiring bioelectric signals of the surface of the human body through a second hardware circuit, and judging the connection state of the electrode based on the bioelectric signals;
wherein the first hardware circuit comprises: the differential amplifying circuit, the feedback circuit, the comparator, the electrode and the RC filter circuit connected in series;
the second hardware circuit includes: a high frequency excitation loop and a skin impedance acquisition circuit.
Specifically, when a human body is in contact with the electrode, the bioelectric signals of the surface of the human body are collected through a hardware circuit, and the connection state of the electrode can be judged by using a high-frequency carrier mode or lead falling detection.
Lead falling detection judges the electrode connection state: based on the human surface bioelectric signal of first hardware circuit collection, based on bioelectric signal judges electrode connection state, first hardware circuit includes: the differential amplifying circuit, the feedback circuit, the comparator, the electrode and the RC filter circuit connected in series.
Judging the electrode connection state by a high-frequency carrier mode: based on the human surface bioelectric signal of second hardware circuit collection, based on bioelectric signal judges electrode connection state, the second hardware circuit includes: a high frequency excitation loop and a skin impedance acquisition circuit.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, wherein in the method, the falling detection of the electrode is realized by an electric loop detection method, so that the connection state of the electrode can be rapidly and accurately identified.
Further, on the basis of the embodiment of the present invention, the electrode connection state is determined based on the charge detection method, specifically:
when a human body is in contact with the electrode, collecting electromotive force and current generated in the process of balancing the electric charge of the human body through a third hardware circuit, and judging the connection state of the electrode;
wherein the third hardware circuit comprises: a follower, an amplifying circuit and a filter circuit.
Specifically, because of the existence of the power frequency electromagnetic field and the antenna and capacitance effect of the human body, the human body and the equipment store a certain amount of charges. When a finger contacts an electrode of the device, electric charges have a balance process due to potential difference between the device and a human body, electromotive force and current are generated, the connection state of the electrode is judged through a third hardware circuit, the process is collected, and the electric charge detection method is mainly based on a follower, an amplifying circuit and a filter circuit.
The embodiment of the invention provides a method for multiplexing an electrocardio electrode into a key, wherein in the method, the connection state of the electrode can be rapidly and accurately identified by realizing the falling detection of the electrode through a charge detection method.
Fig. 3 is a schematic structural diagram of a device for multiplexing an electrocardiograph electrode into a key according to an embodiment of the present invention, as shown in fig. 3, where the device includes:
an electrode falling judging module 301 for judging the electrode connection state based on the circuit detection method or the charge detection method;
the time window acquisition module 302 is configured to acquire an electromyographic signal according to a time window if the electrode is determined to be in a connection state, analyze the electromyographic signal according to a falling time interval, and identify a lead state;
the digital filtering and feature extracting module 303 is configured to suppress interference of the electromyographic signal in a preset frequency range through a high-pass filter, extract envelope characteristics of the electromyographic signal based on a normalized shannon energy method, and extract a pressing force feature value according to matching between the envelope characteristics and a preset force level rule;
the gesture recognition module 304 is configured to recognize a key control operation according to the lead state and the pressing force characteristic value;
the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
The device for multiplexing the electrocardio electrodes into the keys is used for realizing the method for multiplexing the electrocardio electrodes into the keys provided by the embodiment of the method. Therefore, the description and the definition in the foregoing embodiments of the method may be used for understanding each execution module in the device in which the electrocardiograph electrode is multiplexed into the key, which is provided in the embodiment of the present invention, and will not be described herein.
The embodiment of the invention provides a device for multiplexing an electrocardio electrode into a key, which further identifies key control operation by identifying a lead state and acquiring a pressing force characteristic value, realizes multiplexing of the electrode and the key, has no bulkiness and complexity of the key, improves electrocardio detection efficiency, inhibits interference of an electromyographic signal in a preset frequency range through a high-pass filter, can avoid interference signals and improves key control operation identification accuracy.
Further, on the basis of the embodiment of the invention, the sampling frequency in the time window is fixedly set and is at least twice as high as the effective value of the electromyographic signal frequency.
Further, on the basis of the above embodiment of the present invention, the apparatus further includes:
and the electrocardiosignal acquisition and storage module is used for stopping the identification of key control operation and starting the electrocardiosignal acquisition and storage if the total connection time length exceeds a first preset time length.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: a Processor (Processor) 401, a Memory (Memory) 402, a communication interface (Communications Interface) 403 and a communication bus 404, wherein the Processor 401, the Memory 402, and the communication interface 403 complete communication with each other through the communication bus 404. The processor 401 may call logic instructions in the memory 402 to perform the methods provided by the method embodiments described above, including, for example: judging the electrode connection state based on an electric loop detection method or a charge detection method; if the electrode is judged to be in a connection state, acquiring electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying a lead state; the interference of the electromyographic signals in a preset frequency range is restrained through a high-pass filter, the envelope characteristic of the electromyographic signals is extracted based on a normalized shannon energy method, matching is carried out according to the envelope characteristic and a preset force level rule, and a pressing force characteristic value is extracted; identifying key control operation according to the lead state and the pressing force characteristic value; the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
Further, the logic instructions in memory 402 described above may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the methods provided by the above-described method embodiments, for example, comprising: judging the electrode connection state based on an electric loop detection method or a charge detection method; if the electrode is judged to be in a connection state, acquiring electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying a lead state; the interference of the electromyographic signals in a preset frequency range is restrained through a high-pass filter, the envelope characteristic of the electromyographic signals is extracted based on a normalized shannon energy method, matching is carried out according to the envelope characteristic and a preset force level rule, and a pressing force characteristic value is extracted; identifying key control operation according to the lead state and the pressing force characteristic value; the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing the electrocardio electrode by a user.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for multiplexing an electrocardiograph electrode into a key, comprising:
judging the electrode connection state based on an electric loop detection method or a charge detection method;
if the electrode is judged to be in a connection state, acquiring electromyographic signals according to a time window, analyzing the electromyographic signals according to a falling time interval, and identifying a lead state;
the interference of the electromyographic signals in a preset frequency range is restrained through a high-pass filter, the envelope characteristic of the electromyographic signals is extracted based on a normalized shannon energy method, matching is carried out according to the envelope characteristic and a preset force level rule, and a pressing force characteristic value is extracted;
identifying key control operation according to the lead state and the pressing force characteristic value;
the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing an electrocardio electrode by a user, and the lead state comprises at least one of the following: the electrocardio electrode falls off, the electrocardio electrode is pressed in short time, the electrocardio electrode is pressed in long time and the electrocardio electrode is clicked continuously.
2. The method of multiplexing the ecg electrodes as recited in claim 1, wherein the sampling frequency within the time window is fixedly set and is at least twice as high as the effective value of the ecg signal frequency.
3. The method of multiplexing an electrocardiograph electrode into a key according to claim 1, further comprising:
if the total connection time length exceeds the first preset time length, stopping the identification of key control operation, and starting the collection and storage of electrocardiosignals.
4. The method for multiplexing the electrocardiograph electrode into the key according to claim 1, wherein the electrode connection state is judged based on an electrical loop detection method, specifically:
when a human body is in contact with the electrode, acquiring bioelectric signals of the surface of the human body through a first hardware circuit, and judging the connection state of the electrode based on the bioelectric signals; or,
when a human body is in contact with the electrode, acquiring bioelectric signals of the surface of the human body through a second hardware circuit, and judging the connection state of the electrode based on the bioelectric signals;
wherein the first hardware circuit comprises: the differential amplifying circuit, the feedback circuit, the comparator, the electrode and the RC filter circuit connected in series;
the second hardware circuit includes: a high frequency excitation loop and a skin impedance acquisition circuit.
5. The method for multiplexing the electrocardiograph electrode into the key according to claim 1, wherein the determining of the electrode connection state based on the charge detection method is specifically:
when a human body is in contact with the electrode, collecting electromotive force and current generated in the process of balancing the electric charge of the human body through a third hardware circuit, and judging the connection state of the electrode;
wherein the third hardware circuit comprises: a follower, an amplifying circuit and a filter circuit.
6. A device for multiplexing an electrocardiograph electrode into a key, comprising:
the electrode falling judging module is used for judging the electrode connection state based on an electric loop detection method or a charge detection method;
the time window acquisition module is used for acquiring electromyographic signals according to a time window if the electrodes are judged to be in a connection state, analyzing the electromyographic signals according to a falling time interval and identifying a lead state;
the digital filtering and feature extraction module is used for inhibiting the interference of the electromyographic signals in a preset frequency range through a high-pass filter, extracting envelope characteristics of the electromyographic signals based on a normalized shannon energy method, matching the envelope characteristics with a preset dynamics grade rule, and extracting pressing dynamics feature values;
the gesture recognition module is used for recognizing key control operation according to the lead state and the pressing force characteristic value;
the falling time interval is the time interval when a user presses the electrocardio electrode; the lead state is a gesture of pressing an electrocardio electrode by a user, and the lead state comprises at least one of the following: the electrocardio electrode falls off, the electrocardio electrode is pressed in short time, the electrocardio electrode is pressed in long time and the electrocardio electrode is clicked continuously.
7. The device of claim 6, wherein the sampling frequency in the time window is fixed and is at least twice the effective value of the electromyographic signal frequency.
8. The device for multiplexing electrodes into keys according to claim 6, further comprising:
and the electrocardiosignal acquisition and storage module is used for stopping the identification of key control operation and starting the electrocardiosignal acquisition and storage if the total connection time length exceeds a first preset time length.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the method steps of multiplexing the electrocardiographic electrodes as keys according to any one of claims 1 to 5 when the program is executed.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the method steps of multiplexing the electrocardiographic electrodes as keys according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010622284.3A CN111657931B (en) | 2020-06-30 | 2020-06-30 | Method, device and storage medium for multiplexing electrocardio electrode into key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010622284.3A CN111657931B (en) | 2020-06-30 | 2020-06-30 | Method, device and storage medium for multiplexing electrocardio electrode into key |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111657931A CN111657931A (en) | 2020-09-15 |
CN111657931B true CN111657931B (en) | 2023-06-06 |
Family
ID=72391068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010622284.3A Active CN111657931B (en) | 2020-06-30 | 2020-06-30 | Method, device and storage medium for multiplexing electrocardio electrode into key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111657931B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461365A (en) * | 2014-12-11 | 2015-03-25 | 三星电子(中国)研发中心 | Touch method and device of terminal |
CN106484082A (en) * | 2015-08-28 | 2017-03-08 | 华为技术有限公司 | One kind is based on bioelectric control method, device and controller |
CN106901720A (en) * | 2017-02-22 | 2017-06-30 | 安徽华米信息科技有限公司 | The acquisition method of electrocardiogram (ECG) data, device and wearable device |
CN107582045A (en) * | 2017-09-06 | 2018-01-16 | 成都心吉康科技有限公司 | Electrocardiogram acquisition method, wearable device and its control method |
CN208659363U (en) * | 2017-12-15 | 2019-03-29 | 歌尔科技有限公司 | A kind of electrode multiplex circuit and wearable device |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007195690A (en) * | 2006-01-25 | 2007-08-09 | Matsushita Electric Works Ltd | Portable electrocardiographic device |
CN103142225B (en) * | 2013-03-27 | 2014-07-02 | 秦皇岛市康泰医学系统有限公司 | Electroencephalograph for determining contact status between electrode and scalp and method for determining same |
UA113778C2 (en) * | 2015-04-21 | 2017-03-10 | MULTI-CHANNEL SENSOR ELECTROMYOGRAMS | |
CN104783783B (en) * | 2015-04-23 | 2017-05-17 | 康泰医学系统(秦皇岛)股份有限公司 | Method for handheld electrocardio detector to automatically start electrocardiogram recording |
CN105521561B (en) * | 2015-12-30 | 2018-06-12 | 宁波贝思转化医学研究中心有限公司 | A kind of closed circuit small intestine electrical stimulation device |
CN107865653B (en) * | 2017-12-20 | 2024-04-05 | 歌尔科技有限公司 | Electrode multiplexing circuit for improving body fat rate measurement accuracy and wearable equipment |
CN108261196B (en) * | 2018-01-17 | 2020-12-18 | 深圳市是源医学科技有限公司 | Electrocardio-electrode falling detection method and device, computer equipment and storage medium |
CN110338782A (en) * | 2019-07-26 | 2019-10-18 | 成都恩普生医疗科技有限公司 | A kind of super low-power consumption single lead electrocardiogram falls off automatic detection circuit and method |
CN111093491B (en) * | 2019-11-29 | 2021-02-02 | 深圳市汇顶科技股份有限公司 | Detection circuit, electrocardio detection device and wearable equipment |
-
2020
- 2020-06-30 CN CN202010622284.3A patent/CN111657931B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461365A (en) * | 2014-12-11 | 2015-03-25 | 三星电子(中国)研发中心 | Touch method and device of terminal |
CN106484082A (en) * | 2015-08-28 | 2017-03-08 | 华为技术有限公司 | One kind is based on bioelectric control method, device and controller |
CN106901720A (en) * | 2017-02-22 | 2017-06-30 | 安徽华米信息科技有限公司 | The acquisition method of electrocardiogram (ECG) data, device and wearable device |
CN107582045A (en) * | 2017-09-06 | 2018-01-16 | 成都心吉康科技有限公司 | Electrocardiogram acquisition method, wearable device and its control method |
CN208659363U (en) * | 2017-12-15 | 2019-03-29 | 歌尔科技有限公司 | A kind of electrode multiplex circuit and wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN111657931A (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107041743A (en) | A kind of real-time R wave detecting methods of electrocardiosignal | |
CN101232844A (en) | Detecting artifact signals caused by CPR and/or patient motion | |
CN113589920B (en) | Gesture recognition method, man-machine interaction method, device, equipment and storage medium | |
CN104173043A (en) | Electrocardiogram (ECG) data analysis method suitable for mobile platform | |
EP4024063A1 (en) | Fault-arc identification method, device and apparatus, and storage medium | |
CN104939820A (en) | Pacing signal detection method and device | |
CN110290746B (en) | High-frequency radio frequency interference removing device and method | |
US20170296081A1 (en) | Frame based spike detection module | |
CN103970975A (en) | Electrocardio data processing method and electrocardio data processing system | |
CN105852850A (en) | Method and related device for extracting respiratory signals from ECG (electrocardiogram) signals | |
CN104644160A (en) | Electrocardiogram pseudo-difference signal identification method and device | |
Chin et al. | Bayesian real-time QRS complex detector for healthcare system | |
CN114886388A (en) | Evaluation method and device for quality of electroencephalogram signal in anesthesia depth monitoring process | |
CN108694355B (en) | Signal processing method and device | |
CN113499082A (en) | QRS complex detection method, electrocardiogram detection device and readable storage medium | |
CN111657931B (en) | Method, device and storage medium for multiplexing electrocardio electrode into key | |
KR101367596B1 (en) | Automated external defibrillator including motion artifact measurement and deleting facility | |
CN105286852A (en) | Detection method and device for electrocardiosignals | |
CN115969398B (en) | Blink detection method and device | |
CN116328187B (en) | Method for identifying shockable rhythm, wearable cardioverter-defibrillator and storage medium | |
CN111227823A (en) | One-dimensional characteristic signal processing method, device and system with time domain characteristics | |
CN205083477U (en) | Real time control device based on body surface flesh | |
CN113180705A (en) | Fatigue detection method and system based on EEG brain waves | |
CN104490389A (en) | Wearable device for detecting fetal movements and method for detecting fetal movements | |
CN114795251A (en) | Facial myoelectricity detection electrode and detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |