CN112315441B - Method and device for measuring heart rate by mouse - Google Patents

Method and device for measuring heart rate by mouse Download PDF

Info

Publication number
CN112315441B
CN112315441B CN202011222825.XA CN202011222825A CN112315441B CN 112315441 B CN112315441 B CN 112315441B CN 202011222825 A CN202011222825 A CN 202011222825A CN 112315441 B CN112315441 B CN 112315441B
Authority
CN
China
Prior art keywords
information
mouse
heart rate
obtaining
threshold value
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
Application number
CN202011222825.XA
Other languages
Chinese (zh)
Other versions
CN112315441A (en
Inventor
彭鸿博
赵国朕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongke Xinyan Technology Co ltd
Original Assignee
Beijing Zhongke Xinyan Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Zhongke Xinyan Technology Co ltd filed Critical Beijing Zhongke Xinyan Technology Co ltd
Priority to CN202011222825.XA priority Critical patent/CN112315441B/en
Publication of CN112315441A publication Critical patent/CN112315441A/en
Application granted granted Critical
Publication of CN112315441B publication Critical patent/CN112315441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • A61B5/02427Details of sensor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • A61B5/6897Computer input devices, e.g. mice or keyboards
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/746Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2503/00Evaluating a particular growth phase or type of persons or animals
    • A61B2503/12Healthy persons not otherwise provided for, e.g. subjects of a marketing survey
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2560/00Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
    • A61B2560/02Operational features
    • A61B2560/0242Operational features adapted to measure environmental factors, e.g. temperature, pollution
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Physiology (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The invention discloses a method and a device for measuring heart rate by a mouse, wherein the method is applied to the mouse, a photosensitive sensor and a plurality of light sources are arranged in the mouse, and the method comprises the following steps: obtaining a first detection instruction; according to the first detection instruction, a first light wave signal is obtained through a plurality of light sources arranged in the mouse; converting the light wave signal according to the photosensitive sensor to obtain a first electric signal; performing outlier removal processing on the first electric signal to obtain a second electric signal; filtering the second electric signal to obtain a third electric signal; and after the third electric signal is subjected to wave crest and wave trough detection, obtaining the instantaneous heart rate information of the first user. The technical aim of continuously detecting health conditions for a long time and timely early warning abnormal conditions is achieved by monitoring the heart rate variation condition of the user in a mouse-using state in real time and intelligently.

Description

Method and device for measuring heart rate by mouse
Technical Field
The invention relates to the technical field of heart rate measurement, in particular to a method and a device for measuring heart rate by a mouse.
Background
The pulse wave signal is based on an LED light source and a detector, the attenuation light reflected and absorbed by the blood vessel and the tissue of the human body is measured, the pulse state of the blood vessel is traced by a photoelectric volume pulse wave tracing method, and the pulse wave is measured. Because the photoelectric volume pulse wave tracing method has the characteristics of simple signal acquisition, easy wearing of a measuring device and the like, the photoelectric volume pulse wave tracing method gradually becomes a main method for measuring blood oxygen, pulse and heart rate under non-hospital conditions. In recent years, the problem of "overstrain" of office workers has attracted considerable attention, and thus, methods capable of monitoring physiological conditions in real time during working hours have begun to be increasingly focused.
However, in the process of implementing the technical scheme of the invention in the embodiment of the application, the inventor of the application finds that at least the following technical problems exist in the above technology:
the photoplethysmography is not well applied to heart rate monitoring of office workers, the accuracy of common monitoring means is not high enough, the monitoring process is complex, and the like.
Disclosure of Invention
The embodiment of the application solves the technical problems that the photoelectric volume pulse wave tracing method is not well applied to heart rate monitoring of office workers in the prior art, the accuracy of a common monitoring means is not high enough in time, and a monitoring program is complicated by providing the method and the device for measuring the heart rate by the mouse, and achieves the technical purposes of continuously detecting health conditions for a long time and timely early warning abnormal conditions by monitoring heart rate change conditions in a mouse state in real time and intelligently.
The embodiment of the application provides a method for measuring heart rate by a mouse, wherein the method comprises the following steps: obtaining a first detection instruction; according to the first detection instruction, a first light wave signal is obtained through a plurality of light sources arranged in the mouse, wherein the first light wave signal is generated when a first user holds the mouse; converting the light wave signal according to the photosensitive sensor to obtain a first electric signal; performing outlier removal processing on the first electric signal to obtain a second electric signal; filtering the second electric signal to obtain a third electric signal; and after the third electric signal is subjected to wave crest and wave trough detection, obtaining the instantaneous heart rate information of the first user.
In another aspect, the present application further provides a device for measuring heart rate with a mouse, where the device includes: a first obtaining unit configured to obtain a first detection instruction; the second obtaining unit is used for obtaining first light wave signals through a plurality of light sources arranged in the mouse according to the first detection instruction, wherein the first light wave signals are light wave signals generated when a first user holds the mouse; the third obtaining unit is used for converting the light wave signals according to the photosensitive sensor to obtain first electric signals; a fourth obtaining unit configured to perform outlier removal processing on the first electrical signal to obtain a second electrical signal; a fifth obtaining unit, configured to perform filtering processing on the second electrical signal to obtain a third electrical signal; and the sixth obtaining unit is used for obtaining the instantaneous heart rate information of the first user after detecting the peaks and the troughs of the third electric signals.
In another aspect, an embodiment of the present application further provides a device for measuring a heart rate with a mouse, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the method described in the first aspect when the processor executes the program.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
through at mouse internally mounted a plurality of LED light sources and photosensitive sensor, position sensor, speed sensor, pressure sensor, gather in real time through photoelectric volume pulse wave tracing heart rate when carrying out user's operating condition, further judge the heart rate information who obtains by the information processing center of computer to carry out early warning to heart rate abnormal user and remind. The technical aim of continuously detecting health conditions for a long time and timely early warning abnormal conditions is achieved by monitoring heart rate variation conditions in a mouse-used state in real time. And whether heart rate detection is carried out or not is determined by judging the pressure, the position information, the using speed and the like of the mouse, so that the intelligence of heart rate detection is improved.
The foregoing description is a summary of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application is given.
Drawings
Fig. 1 is a flowchart of a method for measuring heart rate by using a mouse according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for measuring heart rate by using a mouse according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an exemplary electronic device according to an embodiment of the present application.
Reference numerals illustrate: the first obtaining unit 11, the second obtaining unit 12, the third obtaining unit 13, the fourth obtaining unit 14, the fifth obtaining unit 15, the sixth obtaining unit 16, the fifth bus 300, the receiver 301, the processor 302, the transmitter 303, the memory 304, the total wiring port 306.
Detailed Description
The embodiment of the application solves the technical problems that the photoelectric volume pulse wave tracing method is not well applied to heart rate monitoring of office workers in the prior art, the accuracy of a common monitoring means is not high enough in time, and a monitoring program is complicated by providing the method and the device for measuring the heart rate by the mouse, and achieves the technical purposes of continuously detecting health conditions for a long time and timely early warning abnormal conditions by monitoring heart rate change conditions in a mouse state in real time and intelligently. Hereinafter, example embodiments of the present application will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application and not all of the embodiments of the present application, and it should be understood that the present application is not limited by the example embodiments described herein.
Summary of the application
The pulse wave signal is based on an LED light source and a detector, the attenuation light reflected and absorbed by the blood vessel and the tissue of the human body is measured, the pulse state of the blood vessel is traced by a photoelectric volume pulse wave tracing method, and the pulse wave is measured. Because the photoelectric volume pulse wave tracing method has the characteristics of simple signal acquisition, easy wearing of a measuring device and the like, the photoelectric volume pulse wave tracing method gradually becomes a main method for measuring blood oxygen, pulse and heart rate under non-hospital conditions. In the prior art, photoplethysmography is not well applied to heart rate monitoring of office workers, and the common monitoring means has low accuracy, is not timely enough and has complicated monitoring procedures.
Aiming at the technical problems, the technical scheme provided by the application has the following overall thought:
the embodiment of the application provides a method for measuring heart rate by a mouse, wherein the method comprises the following steps: obtaining a first detection instruction; according to the first detection instruction, a first light wave signal is obtained through a plurality of light sources arranged in the mouse, wherein the first light wave signal is generated when a first user holds the mouse; converting the light wave signal according to the photosensitive sensor to obtain a first electric signal; performing outlier removal processing on the first electric signal to obtain a second electric signal; filtering the second electric signal to obtain a third electric signal; and after the third electric signal is subjected to wave crest and wave trough detection, obtaining the instantaneous heart rate information of the first user.
Having described the basic principles of the present application, various non-limiting embodiments of the present application will now be described in detail with reference to the accompanying drawings.
Example 1
As shown in fig. 1, an embodiment of the present application provides a method for measuring a heart rate by using a mouse, where the method is applied to a mouse, and a photosensitive sensor and a plurality of light sources are disposed in the mouse, and the method includes:
step S100: obtaining a first detection instruction;
specifically, the mouse is connected with a computer, and when the first user starts working, the computer automatically obtains the first detection instruction, transmits the instruction to the mouse, and then starts heart rate detection by the mouse.
Step S200: according to the first detection instruction, a first light wave signal is obtained through a plurality of light sources arranged in the mouse, wherein the first light wave signal is generated when a first user holds the mouse;
specifically, the mouse is internally provided with a plurality of LED light sources and photosensitive sensors, and the LED light sources and the photosensitive sensors are mainly concentrated at the palm placement position at the rear side of the mouse and at the grasping positions of the thumb and the index finger at the left side and the right side of the mouse. The LED light source emits light signals, the obtained light wave signals after being reflected and absorbed by blood vessels and tissues of a human body are the first light wave signals, the blood volume of peripheral blood vessels is the largest when the heart contracts, the light absorption capacity is the largest, and the detected light intensity is the smallest; in diastole, the opposite is true, the peripheral blood vessel has the least blood volume, and the detected light intensity is the largest, so that the light intensity detected by the photosensitive sensor is changed in a pulsation manner. Lays a foundation for realizing heart rate measurement by using a mouse.
Step S300: converting the light wave signal according to the photosensitive sensor to obtain a first electric signal;
specifically, the photosensitive sensor is installed inside the mouse and is a sensor for converting an optical signal into an electrical signal by using a photosensitive element. The first light wave signal is received by the photosensitive sensor and converted into the first electric signal, and the electric signal is amplified by the amplifier to obtain the change of volume pulse blood flow. By converting the light wave signals, a foundation is laid for subsequent heart rate measurement.
Step S400: performing outlier removal processing on the first electric signal to obtain a second electric signal;
specifically, the first electric signal is subjected to outlier removal, so that the obtained electric signals tend to be consistent and normative, and the isolated value is deleted, so that the second electric signal is obtained. The technical effect of enabling the heart rate monitoring result to be more accurate is achieved.
Step S500: filtering the second electric signal to obtain a third electric signal;
specifically, the photosensitive sensor inputs the obtained second electric signal to a computer connected with the mouse, the second electric signal is subjected to filtering processing through a filter built in the computer, the original signal is subjected to further noise reduction processing, and a signal with a certain threshold value is removed or reserved, so that electromagnetic interference or other physiological signal interference caused by other factors is avoided, useful information is enhanced, and information degradation caused by interference information is restored. By obtaining the third electrical signal, the accuracy of the acquired signal is further enhanced.
Step S600: and after the third electric signal is subjected to wave crest and wave trough detection, obtaining the instantaneous heart rate information of the first user.
Specifically, the computer automatically extracts the characteristics of the third electric signal to obtain the trough and the crest value of the third electric signal, and then obtains the instantaneous heart rate information of the first user through a series of calculations, so that the technical aim of continuously detecting the health condition for a long time by monitoring the heart rate change condition in a mouse-using state in real time is fulfilled.
Further, in order to obtain the first detection instruction, embodiment S100 of the present application further includes:
step S101: acquiring first pressure information, wherein the first pressure information is external pressure information received by the mouse;
step S102: obtaining a predetermined pressure threshold;
step S103: judging whether the first pressure information is within the preset pressure threshold value;
step S104: if the first pressure information is within the preset pressure threshold value, obtaining first position state information of the mouse;
step S105: and if the first pressure information is not within the preset pressure threshold value, prohibiting obtaining the first detection instruction.
Specifically, a pressure sensor is arranged in the mouse, and the computer information processing center judges whether the mouse is in a used state or not by acquiring first pressure information through the sensor and sending the pressure information to the computer. The preset pressure threshold is preset pressure threshold information received by the first user in a state that the first user uses the mouse. When the first pressure information is within the preset pressure threshold range, the mouse is being used, and the position state of the mouse is further judged; and if the first pressure information is not in the preset pressure threshold range, proving that the mouse is not in a used state, and prohibiting the mouse from carrying out the first detection instruction by the computer. The technical purpose of intelligent and accurate heart rate detection is achieved.
Further, after obtaining the first position status information of the mouse, step S104 in the embodiment of the present application further includes:
step S1041: obtaining a predetermined position state range;
step S1042: judging whether the first position state information of the mouse is within the preset position range or not;
step S1043: if the first position state information of the mouse is within the preset position range, obtaining first movement speed information of the mouse;
step S1044: and if the first position state information of the mouse is not in the preset position range, prohibiting obtaining the first detection instruction.
Specifically, the predetermined position state is position range information of the mouse in a normal working state, which is preset by the information processing center of the computer, and if the mouse is placed in a certain area, the mouse can be used normally. Acquiring first position state information of the mouse by a position sensor, and if the first position state information of the mouse is within the preset position range, further judging first movement speed information of the mouse; and if the first position state information of the mouse is not in the preset position range, if the mouse is in an abnormal state such as hanging, inversion and the like, the computer prohibits the mouse from carrying out the first detection instruction. The technical purpose of intelligent and accurate heart rate detection is achieved.
Further, after obtaining the first movement speed information of the mouse, step S1043 in the embodiment of the present application further includes:
step S10431: obtaining a predetermined movement speed threshold;
step S10432: judging whether the first movement speed information is within the preset movement speed threshold value or not;
step S10433: if the first movement speed information is within the preset movement speed threshold value, obtaining the first detection instruction;
step S10434: and if the first movement speed information is not within the preset movement speed threshold value, prohibiting the first detection instruction from being obtained.
Specifically, the predetermined movement speed threshold is a movement speed threshold of a mouse in a normal working state, which is preset by an information processing center of the computer. The method comprises the steps that first movement speed information of a mouse is obtained by a speed sensor at the bottom of the mouse, the first movement speed information is real-time movement speed information of the mouse, the speed sensor sends the first movement speed information to a computer, and the computer judges the first movement speed information. If the first movement speed information is within the preset movement speed threshold, the mouse is in a normal working state, and the computer gives a first detection instruction to the mouse to start heart rate detection to the first user; and if the first movement speed information is not within the preset movement speed threshold value, prohibiting the mouse from carrying out heart rate detection by the computer. The intelligence of utilizing the mouse to detect heart rate is improved.
Further, after obtaining the instantaneous heart rate information of the first user, step S600 in the embodiment of the present application further includes:
step S601: obtaining a predetermined normal heart rate threshold;
step S602: judging whether the instantaneous heart rate information of the first user is within the preset normal heart rate threshold value or not;
step S603: obtaining first duration information if the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value, wherein the first duration information is duration information of which the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value;
step S604: obtaining a threshold value of a preset duration;
step S605: judging whether the first duration information is within the preset duration threshold value or not, and obtaining a first judgment result;
step S606: and determining whether first early warning information is obtained according to the first judging result, wherein the first early warning information is used for reminding the first user of abnormal heart rate.
Specifically, the predetermined normal heart rate threshold is range information of normal heart rate of the user preset by the computer, 45-120 times/min, and heart rate variation below or above the range or more than 20 times/min can be judged as abnormal heart rate. Calculating and obtaining the instant heart rate information of the first user detected by the mouse by the computer, judging, if the instant heart rate information of the first user is within the preset normal heart rate threshold value, judging that the result is normal, and keeping monitoring; if the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value, duration time information that the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value is obtained, if the duration time exceeds the preset duration time threshold value, a judgment result is that the heart rate of the first user is abnormal, first early warning information is obtained by the computer, and the first early warning information is used for reminding the first user of the heart rate abnormality through display information or voice broadcasting. The predetermined time length information is an index for further judging whether the heart rate of the first user is abnormal, and if the heart rate abnormality is within the predetermined time length, the heart rate abnormality of the first user is possibly influenced by the outside and is short and dangerous; if the time is longer than the above time, early warning is needed and attention is paid. And early warning is carried out on the heart rate abnormality of the first user. The technical aim of continuously detecting health conditions for a long time and timely early warning abnormal conditions is achieved by monitoring heart rate variation conditions in a mouse-used state in real time.
Further, in order to determine whether to obtain the first warning information, step S606 of the embodiment of the present application further includes:
step S6061: if the first judgment result is that the first duration information is not within the preset duration threshold value, first early warning information is obtained;
step S6062: and if the first judgment result is that the first duration time information is within the preset duration time threshold value, the first early warning information is forbidden to be obtained.
Further, step S602 in the embodiment of the present application further includes:
step S6021: obtaining abnormal heart rate proportion information if the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value;
step S6022: obtaining a predetermined ratio threshold;
step S6023: judging whether the abnormal heart rate proportion information of the first user exceeds the preset proportion threshold value or not;
step S6024: and if the abnormal heart rate proportion information of the first user exceeds the preset proportion threshold value, obtaining second early warning information, wherein the second early warning information is used for reminding the first user of abnormal heart rate.
Specifically, the abnormal heart rate proportion information is proportion information occupied by abnormal heart rate values within five minutes, the preset proportion threshold value is 50%, and if the abnormal heart rate proportion is within the threshold value, no alarm is needed; and if the abnormal heart rate proportion exceeds the threshold value, the computer sends out second early warning information in a mode of display information or voice broadcasting and the like, and the second early warning information is used for reminding the first user of abnormal heart rate. The technical aim of continuously detecting health conditions for a long time and timely early warning abnormal conditions is achieved by monitoring heart rate variation conditions in a mouse-used state in real time.
In summary, the method for measuring heart rate by using the mouse provided by the embodiment of the application has the following technical effects:
through at mouse internally mounted a plurality of LED light sources and photosensitive sensor, position sensor, speed sensor, pressure sensor, gather in real time through photoelectric volume pulse wave tracing heart rate when carrying out user's operating condition, further judge the heart rate information who obtains by the information processing center of computer to carry out early warning to heart rate abnormal user and remind. The technical aim of continuously detecting health conditions for a long time and timely early warning abnormal conditions is achieved by monitoring heart rate variation conditions in a mouse-used state in real time. And whether heart rate detection is carried out or not is determined by judging the pressure, the position information, the using speed and the like of the mouse, so that the intelligence of heart rate detection is improved.
Example two
Based on the same inventive concept as the method for measuring heart rate by using a mouse in the foregoing embodiment, the present invention further provides a device for measuring heart rate by using a mouse, as shown in fig. 2, where the device includes:
a first obtaining unit 11, the first obtaining unit 11 being configured to obtain a first detection instruction;
a second obtaining unit 12, where the second obtaining unit 12 is configured to obtain, according to the first detection instruction, a first light wave signal through a plurality of light sources set in the mouse, where the first light wave signal is a light wave signal generated when a first user holds the mouse;
a third obtaining unit 13, where the third obtaining unit 13 is configured to convert the optical wave signal according to the photosensitive sensor to obtain a first electrical signal;
a fourth obtaining unit 14, where the fourth obtaining unit 14 is configured to perform outlier removal processing on the first electrical signal to obtain a second electrical signal;
a fifth obtaining unit 15, where the sixth obtaining unit 15 is configured to perform filtering processing on the second electrical signal to obtain a third electrical signal;
and a sixth obtaining unit 16, where the sixth obtaining unit 16 is configured to obtain the instantaneous heart rate information of the first user after performing peak-trough detection on the third electrical signal.
Further, the device further comprises:
a seventh obtaining unit, configured to obtain first pressure information, where the first pressure information is external pressure information received by the mouse;
an eighth obtaining unit for obtaining a predetermined pressure threshold value;
a first judging unit configured to judge whether the first pressure information is within the predetermined pressure threshold;
a ninth obtaining unit configured to obtain first position state information of the mouse if the first pressure information is within the predetermined pressure threshold;
and a first prohibiting unit configured to prohibit obtaining the first detection instruction if the first pressure information is not within the predetermined pressure threshold.
Further, the device further comprises:
a tenth obtaining unit configured to obtain a predetermined position state range;
a second judging unit for judging whether the first position state information of the mouse is within the predetermined position range;
an eleventh obtaining unit configured to obtain first movement speed information of the mouse if the first position state information of the mouse is within the predetermined position range;
and a second prohibiting unit configured to prohibit obtaining the first detection instruction if the first position state information of the mouse is not within the predetermined position range.
Further, the device further comprises:
a twelfth obtaining unit for obtaining a predetermined movement speed threshold value;
a third judging unit that judges whether the first movement speed information is within the predetermined movement speed threshold;
a thirteenth obtaining unit configured to obtain the first detection instruction if the first movement speed information is within the predetermined movement speed threshold value;
and a third prohibiting unit configured to prohibit acquisition of the first detection instruction if the first movement speed information is not within the predetermined movement speed threshold.
Further, the device further comprises:
a fourteenth obtaining unit for obtaining a predetermined normal heart rate threshold;
a fourth judging unit for judging whether the instantaneous heart rate information of the first user is within the predetermined normal heart rate threshold;
a fifteenth obtaining unit, configured to obtain first duration information if the instantaneous heart rate information of the first user is not within the predetermined normal heart rate threshold, where the first duration information is duration information that the instantaneous heart rate information of the first user is not within the predetermined normal heart rate threshold;
a sixteenth obtaining unit configured to obtain a predetermined time period threshold;
a fifth judging unit, configured to judge whether the first duration information is within the predetermined duration threshold, and obtain a first judging result;
a seventeenth obtaining unit, configured to determine whether to obtain first early warning information according to the first determination result, where the first early warning information is used to remind the first user of abnormal heart rate.
Further, the device further comprises:
an eighteenth obtaining unit, configured to obtain first early warning information if the first determination result is that the first duration information is not within the predetermined duration threshold;
and the fourth prohibiting unit is used for prohibiting the acquisition of the first early warning information if the first judging result is that the first duration information is within the preset duration threshold value.
Further, the device further comprises:
a nineteenth obtaining unit for obtaining abnormal heart rate proportion information if the instantaneous heart rate information of the first user is not within the predetermined normal heart rate threshold;
a twentieth obtaining unit configured to obtain a predetermined ratio threshold;
a sixth judging unit configured to judge whether the abnormal heart rate proportion information of the first user exceeds the predetermined proportion threshold;
the twenty-first obtaining unit is used for obtaining second early warning information if the abnormal heart rate proportion information of the first user exceeds the preset proportion threshold value, and the second early warning information is used for reminding the first user of heart rate abnormality.
The above-mentioned various modifications and embodiments of the method for measuring the heart rate by using the mouse in the first embodiment of fig. 1 are equally applicable to the device for measuring the heart rate by using the mouse in the present embodiment, and those skilled in the art will be aware of the device for measuring the heart rate by using the mouse in the present embodiment through the foregoing detailed description of the method for measuring the heart rate by using the mouse, so that the detailed description will not be repeated herein for brevity.
Exemplary electronic device
An electronic device of an embodiment of the present application is described below with reference to fig. 3.
Fig. 3 illustrates a schematic structural diagram of an electronic device according to an embodiment of the present application.
Based on the inventive concept of a method for measuring heart rate with a mouse according to the foregoing embodiments, the present invention further provides a device for measuring heart rate with a mouse, on which a computer program is stored, which program, when being executed by a processor, implements the steps of any one of the methods for measuring heart rate with a mouse as described above.
Where in FIG. 3 a bus architecture (represented by bus 300), bus 300 may comprise any number of interconnected buses and bridges, with bus 300 linking together various circuits, including one or more processors, represented by processor 302, and memory, represented by memory 304. Bus 300 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be described further herein. Bus interface 306 provides an interface between bus 300 and receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, while the memory 304 may be used to store data used by the processor 302 in performing operations.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (6)

1. A method for measuring heart rate by a mouse, wherein the method is applied to a mouse, and a photosensitive sensor and a plurality of light sources are arranged in the mouse, and the method comprises:
obtaining a first detection instruction, which comprises: acquiring first pressure information, wherein the first pressure information is external pressure information received by the mouse; obtaining a predetermined pressure threshold; judging whether the first pressure information is within the preset pressure threshold value; obtaining first position state information of the mouse if the first pressure information is within the predetermined pressure threshold, and thereafter obtaining a predetermined position state range; judging whether the first position state information of the mouse is within the preset position range or not; if the first position state information of the mouse is within the preset position range, acquiring first movement speed information of the mouse, and acquiring a preset movement speed threshold value after the first movement speed information; judging whether the first movement speed information is within the preset movement speed threshold value or not; if the first movement speed information is within the preset movement speed threshold value, obtaining the first detection instruction; if the first movement speed information is not within the preset movement speed threshold value, prohibiting obtaining the first detection instruction; if the first position state information of the mouse is not in the preset position range, prohibiting obtaining the first detection instruction; if the first pressure information is not within the predetermined pressure threshold, prohibiting acquisition of the first detection instruction;
according to the first detection instruction, a first light wave signal is obtained through a plurality of light sources arranged in the mouse, wherein the first light wave signal is generated when a first user holds the mouse;
converting the light wave signal according to the photosensitive sensor to obtain a first electric signal;
performing outlier removal processing on the first electric signal to obtain a second electric signal;
filtering the second electric signal to obtain a third electric signal;
and after the third electric signal is subjected to wave crest and wave trough detection, obtaining the instantaneous heart rate information of the first user.
2. The method of claim 1, wherein after the obtaining the instantaneous heart rate information of the first user, comprising:
obtaining a predetermined normal heart rate threshold;
judging whether the instantaneous heart rate information of the first user is within the preset normal heart rate threshold value or not;
obtaining first duration information if the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value, wherein the first duration information is duration information of which the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value;
obtaining a threshold value of a preset duration;
judging whether the first duration information is within the preset duration threshold value or not, and obtaining a first judgment result;
and determining whether first early warning information is obtained according to the first judging result, wherein the first early warning information is used for reminding the first user of abnormal heart rate.
3. The method of claim 2, wherein the determining whether to obtain the first warning information according to the first determination result comprises:
if the first judgment result is that the first duration information is not within the preset duration threshold value, first early warning information is obtained;
and if the first judgment result is that the first duration time information is within the preset duration time threshold value, the first early warning information is forbidden to be obtained.
4. The method of claim 2, wherein the method comprises:
obtaining abnormal heart rate proportion information if the instantaneous heart rate information of the first user is not within the preset normal heart rate threshold value;
obtaining a predetermined ratio threshold;
judging whether the abnormal heart rate proportion information of the first user exceeds the preset proportion threshold value or not;
and if the abnormal heart rate proportion information of the first user exceeds the preset proportion threshold value, obtaining second early warning information, wherein the second early warning information is used for reminding the first user of abnormal heart rate.
5. A device for measuring heart rate with a mouse, wherein the device is applied to a mouse, and a photosensitive sensor and a plurality of light sources are arranged in the mouse, and the device comprises:
a first obtaining unit configured to obtain a first detection instruction;
a seventh obtaining unit, configured to obtain first pressure information, where the first pressure information is external pressure information received by the mouse;
an eighth obtaining unit for obtaining a predetermined pressure threshold value;
a first judging unit configured to judge whether the first pressure information is within the predetermined pressure threshold;
a ninth obtaining unit configured to obtain first position state information of the mouse if the first pressure information is within the predetermined pressure threshold;
a tenth obtaining unit configured to obtain a predetermined position state range;
a second judging unit for judging whether the first position state information of the mouse is within the predetermined position range;
an eleventh obtaining unit configured to obtain first movement speed information of the mouse if the first position state information of the mouse is within the predetermined position range;
a twelfth obtaining unit for obtaining a predetermined movement speed threshold value;
a third judging unit that judges whether the first movement speed information is within the predetermined movement speed threshold;
a thirteenth obtaining unit configured to obtain the first detection instruction if the first movement speed information is within the predetermined movement speed threshold value;
a third prohibition unit configured to prohibit acquisition of the first detection instruction if the first movement speed information is not within the predetermined movement speed threshold;
a second prohibition unit configured to prohibit obtaining the first detection instruction if the first position state information of the mouse is not within the predetermined position range;
a first prohibiting unit configured to prohibit acquisition of the first detection instruction if the first pressure information is not within the predetermined pressure threshold;
the second obtaining unit is used for obtaining first light wave signals through a plurality of light sources arranged in the mouse according to the first detection instruction, wherein the first light wave signals are light wave signals generated when a first user holds the mouse;
the third obtaining unit is used for converting the light wave signals according to the photosensitive sensor to obtain first electric signals;
a fourth obtaining unit configured to perform outlier removal processing on the first electrical signal to obtain a second electrical signal;
a fifth obtaining unit, configured to perform filtering processing on the second electrical signal to obtain a third electrical signal;
and the sixth obtaining unit is used for obtaining the instantaneous heart rate information of the first user after detecting the peaks and the troughs of the third electric signals.
6. A device for measuring heart rate with a mouse, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-4 when the program is executed by the processor.
CN202011222825.XA 2020-11-05 2020-11-05 Method and device for measuring heart rate by mouse Active CN112315441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011222825.XA CN112315441B (en) 2020-11-05 2020-11-05 Method and device for measuring heart rate by mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011222825.XA CN112315441B (en) 2020-11-05 2020-11-05 Method and device for measuring heart rate by mouse

Publications (2)

Publication Number Publication Date
CN112315441A CN112315441A (en) 2021-02-05
CN112315441B true CN112315441B (en) 2023-08-08

Family

ID=74315846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011222825.XA Active CN112315441B (en) 2020-11-05 2020-11-05 Method and device for measuring heart rate by mouse

Country Status (1)

Country Link
CN (1) CN112315441B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114343592B (en) * 2022-01-25 2023-06-20 广东省第二人民医院(广东省卫生应急医院) Method and system for nursing and monitoring association of instant body temperature and heart rhythm
CN114403824A (en) * 2022-03-16 2022-04-29 深圳市微克科技有限公司 Intelligent wearing-based continuous heart rate index monitoring system and method
CN116841401B (en) * 2023-08-30 2023-12-12 深圳市英菲克电子有限公司 Health monitoring method based on mouse, monitoring unit, mouse and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991661A (en) * 2015-07-08 2015-10-21 刘磊 Athletics mouse and method and apparatus for acquiring heart rate
CN108897441A (en) * 2018-05-22 2018-11-27 中国人民解放军第四军医大学 Intelligent mouse system, its working method and monitoring and early warning system with physiological compensation effects and warning function
CN110209292A (en) * 2019-06-06 2019-09-06 莆田学院 Intelligent mouse

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991661A (en) * 2015-07-08 2015-10-21 刘磊 Athletics mouse and method and apparatus for acquiring heart rate
CN108897441A (en) * 2018-05-22 2018-11-27 中国人民解放军第四军医大学 Intelligent mouse system, its working method and monitoring and early warning system with physiological compensation effects and warning function
CN110209292A (en) * 2019-06-06 2019-09-06 莆田学院 Intelligent mouse

Also Published As

Publication number Publication date
CN112315441A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN112315441B (en) Method and device for measuring heart rate by mouse
CN109222949B (en) Heart rate detection method and heart rate detection device
CA2994341C (en) Method and device for ascertaining a blood pressure curve
AU2007255448B2 (en) Prediction of rapid symptomatic blood pressure decrease
US10292679B2 (en) Doppler ultrasound based fetal monitoring
CN102262709B (en) Alarm generation method for patient monitoring and physiological monitoring apparatus
WO2009089213A4 (en) System and method for detecting occlusion using flow sensor output
CN108937957B (en) Detection method, device and detection equipment
KR100755236B1 (en) Implementation of bio-information detecting system
CN105520726A (en) Heartbeat detection module and detection method and denoising method thereof
CN104873184A (en) Method and system for measuring heart rate
CN107638174B (en) Heart rate detection method and device for improving accuracy
CN110517229B (en) Pulse detection method, system, electronic device and storage medium
CN111714135A (en) Method and device for determining blood oxygen saturation
WO2021046700A1 (en) Heart rate measurement method and apparatus, chip, electronic device and storage medium
US10960126B2 (en) Portable device for monitoring vascular access status
EP3160336B1 (en) Device for processing foetal heart rhythm data, and corresponding method and computer program
CN116269297A (en) Vital sign detection method and device based on radar, radar and storage medium
CN117883057B (en) Blood pressure measuring method, system and storage medium combining ascending method and descending method
CN114533053B (en) Blood oxygen measuring method and device
EP4434443A1 (en) Calibrating duct parameter measurements
TWI827419B (en) Method for detecting blood oxygen saturation, equipment, electronic device and storage medium
CN111820912B (en) Medical equipment and display method of light intensity of medical equipment
CN117770784A (en) Physiological data detection method, device, equipment and medium based on human factor intelligence
CN115245319A (en) Heart rate detection method and device, electronic equipment and computer readable storage medium

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