Heart rate monitoring method and system, hearing aid, medium and product
By installing an electrocardiogram sensor in the hearing aid and combining external sound filtering technology, the integrated heart rate monitoring function in the hearing aid is achieved, which solves the need for the elderly to pay attention to heart rate status in real time and provides dual guarantees of accurate heart rate monitoring and health management.
Patent Information
- Application Number
- CN202411512446.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-03-18
AI Technical Summary
How to integrate heart rate monitoring function in hearing aids to solve the need for the elderly to pay attention to their own heart rate status in real time while wearing hearing aids.
By installing an electrocardiogram sensor in the hearing aid, the ECG data is obtained and filtered with the amplified external sound to obtain the filtered ECG data, and then the heart rate is calculated.
It realizes accurate monitoring of heart rate in hearing aids, reduces the negative impact of external sound on ECG data, and provides a dual-guaranteed health management function.
Smart Images

Figure CN119632527A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of hearing aids, and in particular to a heart rate monitoring method, system, hearing aid, medium and product. Background Art
[0002] As an important tool for assisting hearing, the main function of hearing aids is to amplify external sounds and transmit them clearly to the user's ears. Especially for the elderly whose hearing is gradually declining, it has become an indispensable partner in daily life. However, with the increase of age, the elderly not only face the challenge of hearing loss, but also may encounter a series of physiological problems such as heart health. Considering that although smart wearable devices can provide health monitoring functions, it is often difficult for the elderly to continue using them due to their complicated operation or easy forgetting to wear them. Therefore, it is particularly necessary to integrate heart rate monitoring, a key health monitoring function, into hearing aids. As a result, while wearing hearing aids on a daily basis, the elderly can also pay attention to their heart rate status in real time, providing double protection for health management.
[0003] Therefore, how to integrate the heart rate monitoring function into the hearing aid is a technical problem that needs to be solved by those skilled in the art. Summary of the invention
[0004] The main purpose of this application is to provide a heart rate monitoring method, system, hearing aid, medium and product, aiming to solve the technical problem of how to integrate the heart rate monitoring function into a hearing aid.
[0005] To achieve the above object, the present application proposes a heart rate monitoring method, which is applied to a hearing aid, the hearing aid includes an electrocardiogram sensor, and the method includes:
[0006] Acquire the ECG data collected by the ECG sensor and obtain the amplified external sound;
[0007] Filtering the electrocardiogram data according to the external sound to obtain filtered electrocardiogram data;
[0008] The heart rate is calculated based on the filtered ECG data.
[0009] In one embodiment, the step of filtering the ECG data according to the external sound to obtain the filtered ECG data includes:
[0010] Extracting sound features from the external sound, and obtaining preset filtering parameters corresponding to the sound features;
[0011] The electrocardiogram data is filtered based on the filtering parameters to obtain filtered electrocardiogram data.
[0012] In one embodiment, the step of calculating the heart rate based on the filtered ECG data comprises:
[0013] Performing R wave detection on the filtered ECG data within a preset time period, and calculating the interval between two adjacent R waves when an R wave is detected;
[0014] An average value between each interval is calculated, and a heart rate is calculated based on the preset time length and the average value.
[0015] In one embodiment, the hearing aid further comprises: a motion sensor, and after the step of calculating the heart rate based on the filtered electrocardiogram data, the method further comprises:
[0016] Acquire motion data collected by the motion sensor, and identify the user status based on the motion data;
[0017] If it is detected that the user is in a motion state, the heart rate is compared with a first heart rate threshold value preset corresponding to the motion state to obtain a first heart rate comparison result;
[0018] If it is detected that the user is in a resting state, the heart rate is compared with a preset second heart rate threshold corresponding to the resting state to obtain a second heart rate comparison result;
[0019] Determine a heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result.
[0020] In one embodiment, the method further comprises:
[0021] Extracting the breathing sound frequency from the external sound;
[0022] The step of identifying the user status based on the motion data further includes:
[0023] A user state is identified based on the motion data and the breathing sound frequency.
[0024] In one embodiment, the step of determining the heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result includes:
[0025] If it is detected that the first heart rate comparison result or the second heart rate comparison result indicates an abnormal heart rate, then determining that the heart rate monitoring result is abnormal;
[0026] Otherwise, the heart rate monitoring result is judged to be normal.
[0027] In addition, to achieve the above purpose, the present application also proposes a heart rate monitoring system, the heart rate monitoring system is applied to a hearing aid, the hearing aid includes an electrocardiogram sensor, and the heart rate monitoring system includes:
[0028] An acquisition module, used to acquire the ECG data collected by the ECG sensor and acquire the amplified external sound;
[0029] A filtering module, used for filtering the ECG data according to the external sound to obtain filtered ECG data;
[0030] A calculation module is used to calculate the heart rate based on the filtered ECG data.
[0031] In addition, to achieve the above objectives, the present application also proposes a hearing aid, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the heart rate monitoring method described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the heart rate monitoring method described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the heart rate monitoring method described above are implemented.
[0034] In the present application, by obtaining the ECG data collected by the ECG sensor in the hearing aid and obtaining the amplified external sound, the ECG data representing the heart rate and the external sound representing the external environment can be obtained at the same time; then the ECG data is filtered according to the external sound to obtain the filtered ECG data, and the negative impact of the external sound collected in the hearing aid on the ECG data can be reduced by filtering based on the external sound, making the ECG data more accurate; finally, the heart rate is calculated based on the filtered ECG data, and the accurate heart rate can be calculated based on the accurate ECG data.
[0035] Therefore, the present application adopts the method of "filtering the ECG data according to the external sound", thereby avoiding the problem of negative impact of external sound output to the user by the hearing aid during normal use on the ECG data, and achieving the purpose of integrating the heart rate monitoring function in the hearing aid. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 A flowchart of the first embodiment of the heart rate monitoring method of the present application is provided;
[0039] Figure 2 A flowchart diagram of another embodiment of the heart rate monitoring method of the present application;
[0040] Figure 3 A flowchart of the second embodiment of the heart rate monitoring method of the present application is provided;
[0041] Figure 4 This is a schematic diagram of the module structure of the heart rate monitoring system according to an embodiment of the present application;
[0042] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the heart rate monitoring method in the embodiment of the present application.
[0043] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0045] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0046] Nowadays, hearing aids are an important tool for assisting hearing. Their main function is to amplify external sounds and transmit them clearly to the user's ears. Especially for the elderly whose hearing is gradually declining, it has become an indispensable partner in daily life. However, with age, the elderly not only face the challenge of hearing loss, but also may encounter a series of physiological problems such as heart health. Considering that although smart wearable devices can provide health monitoring functions, it is often difficult for the elderly to continue using them because of their complicated operation or easy forgetting to wear them. Therefore, it is particularly necessary to integrate heart rate monitoring, a key health monitoring function, into hearing aids. As a result, while wearing hearing aids on a daily basis, the elderly can also pay attention to their heart rate conditions in real time, providing double protection for health management.
[0047] Therefore, how to integrate the heart rate monitoring function into the hearing aid is a technical problem that needs to be solved by those skilled in the art.
[0048] In the present application, by obtaining the ECG data collected by the ECG sensor in the hearing aid and obtaining the amplified external sound, the ECG data representing the heart rate and the external sound representing the external environment can be obtained at the same time; then the ECG data is filtered according to the external sound to obtain the filtered ECG data, and the negative impact of the external sound collected in the hearing aid on the ECG data can be reduced by filtering based on the external sound, making the ECG data more accurate; finally, the heart rate is calculated based on the filtered ECG data, and the accurate heart rate can be calculated based on the accurate ECG data.
[0049] Therefore, the present application adopts the method of "filtering the ECG data according to the external sound", thereby avoiding the problem of negative impact of external sound output to the user by the hearing aid during normal use on the ECG data, and achieving the purpose of integrating the heart rate monitoring function in the hearing aid.
[0050] It should be noted that the execution subject of the heart rate monitoring method of the present application may be a hearing aid with data processing, network communication and program running functions. For the convenience of description, the execution subject is omitted in the following embodiments.
[0051] Based on this, the present application embodiment provides a heart rate monitoring method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the heart rate monitoring method of the present application.
[0052] In this embodiment, the heart rate monitoring method is applied to a hearing aid, the hearing aid includes an electrocardiogram sensor, and the heart rate monitoring method includes steps S10 to S30:
[0053] Step S10, obtaining the ECG data collected by the ECG sensor and obtaining the amplified external sound;
[0054] It should be noted that in order to integrate the heart rate monitoring function into the hearing aid, it is first necessary to install an ECG sensor in the hearing aid and ensure that the ECG sensor will be in contact with the user's skin when the user wears the hearing aid. Thus, the user's ECG data can be collected based on the ECG sensor.
[0055] In addition, hearing aids need to acquire external sounds, process them, and then play them through speakers so that hearing-impaired users can hear them. For ECG sensors, the external sounds played by the speakers in hearing aids are noise, which will cause noise in the ECG data collected by the ECG sensors, resulting in poor accuracy in heart rate detection.
[0056] Step S20, filtering the ECG data according to the external sound to obtain filtered ECG data;
[0057] In this embodiment, since external sounds will have a negative impact on the ECG data, the ECG data may be filtered based on the characteristics of the external sounds, thereby improving the accuracy of the ECG data.
[0058] Please refer to Figure 2 In a feasible implementation manner, the above step S20 includes:
[0059] Step S201, extracting sound features from the external sound, and obtaining preset filtering parameters corresponding to the sound features;
[0060] Step S202: filtering the ECG data based on the filtering parameters to obtain filtered ECG data.
[0061] It should be noted that the sound feature may be frequency distribution, volume change, duration or any other parameter that can represent the sound characteristics. Moreover, for different sound features, filtering parameters corresponding to different sound features may be obtained in advance. Thus, after extracting the sound features in the external sound, the ECG data may be filtered based on the preset filtering parameters corresponding to the sound features, thereby reducing the impact of the external sound on the ECG data.
[0062] Step S30, calculating the heart rate based on the filtered ECG data.
[0063] Since the part of the ECG data affected by external sounds has been filtered out, the user's heart rate can be calculated based on the filtered ECG data.
[0064] In a feasible implementation manner, the above step S30 includes:
[0065] Step S301, performing R wave detection on the filtered ECG data within a preset time period, and when an R wave is detected, calculating the interval between two adjacent R waves;
[0066] It should be noted that the preset duration refers to the unit time used to calculate the heart rate. Usually, the preset duration can be 60s. The R wave is the highest peak in the QRS complex (a part of the electrocardiogram) in the electrocardiogram, representing the main event of cardiac contraction, that is, the potential change of right ventricular depolarization. In a feasible embodiment, R wave detection includes but is not limited to threshold-based, derivative-based, correlation-based, and sliding window-based algorithms combined with differential methods.
[0067] In this embodiment, when an R wave is detected in the ECG data, a time is recorded, and when an R wave is detected again, a time is recorded again. Then, the time interval between two adjacent R waves can be calculated by the recorded time. Usually, there are multiple R waves in the ECG data, so multiple time intervals can be obtained.
[0068] Step S302, calculating the average value between each interval, and calculating the heart rate based on the preset duration and the average value.
[0069] Since each time interval is not fixed, in order to improve the stability of heart rate detection, it is also necessary to calculate the average value between each time interval. Then, the ratio between the preset time length and the average value is used as the heart rate.
[0070] Therefore, the present application can simultaneously obtain ECG data representing the heart rate and external sounds representing the external environment by obtaining the ECG data collected by the ECG sensor in the hearing aid and obtaining the amplified external sounds; the ECG data is then filtered according to the external sounds to obtain filtered ECG data, and the negative impact of the external sounds collected in the hearing aid on the ECG data can be reduced by filtering based on external sounds, making the ECG data more accurate; finally, the heart rate is calculated based on the filtered ECG data, and an accurate heart rate can be calculated based on accurate ECG data.
[0071] Therefore, the present application adopts the method of "filtering the ECG data according to the external sound", thereby avoiding the problem of negative impact of external sound output to the user by the hearing aid during normal use on the ECG data, and achieving the purpose of integrating the heart rate monitoring function in the hearing aid.
[0072] Furthermore, based on the above-mentioned first embodiment of the heart rate monitoring method of the present application, a second embodiment of the heart rate monitoring method of the present application is proposed.
[0073] Please refer to Figure 3 In this embodiment, the hearing aid further includes: a motion sensor. After the above step S30, the method further includes:
[0074] Step S40, acquiring motion data collected by the motion sensor, and identifying a user state based on the motion data;
[0075] It should be noted that a motion sensor is an electronic device that uses a sensor to detect nearby people or objects. Generally, motion sensors are divided into two categories: active motion sensors (active sensors) and passive motion sensors (passive sensors). However, in this application, the motion sensor is used to detect whether the user is in motion, so this application does not limit the type of motion sensor.
[0076] In addition, for different motion sensors, different algorithms can be set to process the data collected by the motion sensor. For example, when the motion sensor is an acceleration sensor, when it is detected that the absolute value of the measured acceleration in any direction exceeds the set threshold, it can be judged that the user is in motion, otherwise, it is judged that the user is in a resting state. Alternatively, the user state can also be judged by the rate of change of acceleration. Specifically, if the rate of change of acceleration is greater than the set threshold, it indicates that the user is in motion, otherwise, it is judged that the user is in a resting state. The threshold for judging the user state can be flexibly set according to the user's personal information. In a feasible implementation, a personal information page can be set on a user terminal that communicates with the hearing aid so that the user can enter personal information on the personal information page. Thus, based on the personal information in the personal information page (for example, age, gender, historical diseases), a threshold corresponding to the user's personal information can be generated. Thus, the hearing aid can set different thresholds based on the physical conditions of different users, so that the hearing aid can recognize the user's state more accurately.
[0077] In a feasible implementation manner, the method further includes:
[0078] Step S100, extracting the frequency of breathing sound in the external sound;
[0079] It should be noted that the breathing sound frequency refers to the breathing sound frequency of the user wearing the hearing aid.
[0080] Based on this, the above step S40 also includes:
[0081] Step S401, identifying the user status based on the motion data and the breathing sound frequency.
[0082] It is understandable that the frequency of breathing sound is higher when exercising, and lower when resting. Therefore, when identifying the user status through the motion data, the user status identified by the motion data can also be verified based on the breathing sound frequency, thereby increasing the probability of correctly identifying the user status.
[0083] Step S50, if it is detected that the user is in a motion state, the heart rate is compared with a preset first heart rate threshold corresponding to the motion state to obtain a first heart rate comparison result;
[0084] It should be noted that the first heart rate threshold refers to the maximum value of the corresponding heart rate in the exercise state. If the user's heart rate is detected to be less than or equal to the first heart rate threshold, it indicates that the user's current state is relatively healthy; if the user's heart rate is detected to be greater than the first heart rate threshold, it indicates that the user's current state has a fast heartbeat.
[0085] Step S60, if it is detected that the user is in a resting state, the heart rate is compared with a preset second heart rate threshold corresponding to the resting state to obtain a second heart rate comparison result;
[0086] It should be noted that the second heart rate threshold refers to the maximum value of the corresponding heart rate in the resting state. If the detected user's heart rate is less than or equal to the second heart rate threshold, it indicates that the user's current state is relatively healthy; if the detected user's heart rate is greater than the second heart rate threshold, it indicates that the user's current state has a fast heartbeat.
[0087] It should be noted that the above-mentioned first heart rate threshold and the second heart rate threshold are both the upper limits of the user's heart rate in a certain state. For the user's heart rate, a lower limit is also pre-set. Before comparing the heart rate with the first heart rate threshold or the second heart rate threshold, it is also necessary to determine whether the user's heart rate is greater than the lower limit. If the user's heart rate is less than the lower limit, it indicates that the user is in a dangerous state, and it is necessary to output an alarm message to prompt relevant personnel. If the user's heart rate is greater than or equal to the lower limit, the user's heart rate and the above-mentioned first heart rate threshold, or the user's heart rate and the above-mentioned second heart rate threshold can be compared to determine the user's physical condition.
[0088] Step S70: determining a heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result.
[0089] It is understandable that the heart rate monitoring results include: normal and abnormal. If the heart rate monitoring result is detected to be normal, no other processing is required. If the heart rate monitoring result is detected to be abnormal, it is necessary to output a prompt tone for warning, or output a warning text message to relevant personnel.
[0090] In a feasible implementation manner, the above step S70 further includes:
[0091] Step S701, if it is detected that the first heart rate comparison result or the second heart rate comparison result indicates an abnormal heart rate, then determining that the heart rate monitoring result is abnormal;
[0092] Step S702: otherwise, it is determined that the heart rate monitoring result is normal.
[0093] Therefore, by comparing the user's heart rate with a threshold, it can be determined whether the user's heart rate is normal, thereby facilitating the user to understand his or her own heart rate health condition.
[0094] In the present application, by obtaining the ECG data collected by the ECG sensor in the hearing aid and obtaining the amplified external sound, the ECG data representing the heart rate and the external sound representing the external environment can be obtained at the same time; then the ECG data is filtered according to the external sound to obtain the filtered ECG data, and the negative impact of the external sound collected in the hearing aid on the ECG data can be reduced by filtering based on the external sound, making the ECG data more accurate; finally, the heart rate is calculated based on the filtered ECG data, and the accurate heart rate can be calculated based on the accurate ECG data.
[0095] Therefore, the present application adopts the method of "filtering the ECG data according to the external sound", thereby avoiding the problem of negative impact of external sound output to the user by the hearing aid during normal use on the ECG data, and achieving the purpose of integrating the heart rate monitoring function in the hearing aid.
[0096] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the heart rate monitoring method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0097] The present application also provides a heart rate monitoring system, which is applied to hearing aids. Figure 4 , the heart rate monitoring system comprises:
[0098] An acquisition module 10 is used to acquire the ECG data collected by the ECG sensor and to acquire the amplified external sound;
[0099] A filtering module 20, configured to filter the ECG data according to the external sound to obtain filtered ECG data;
[0100] The calculation module 30 is used to calculate the heart rate based on the filtered ECG data.
[0101] In one embodiment, the filtering module 20 is further used for:
[0102] Extracting sound features from the external sound, and obtaining preset filtering parameters corresponding to the sound features;
[0103] The electrocardiogram data is filtered based on the filtering parameters to obtain filtered electrocardiogram data.
[0104] In one embodiment, the calculation module 30 is further used for:
[0105] Performing R wave detection on the filtered ECG data within a preset time period, and calculating the interval between two adjacent R waves when an R wave is detected;
[0106] An average value between each interval is calculated, and a heart rate is calculated based on the preset time length and the average value.
[0107] In one embodiment, the hearing aid further comprises: a motion sensor, and the heart rate monitoring system further comprises:
[0108] A user status recognition module, used to obtain the motion data collected by the motion sensor and recognize the user status based on the motion data;
[0109] A first comparison module, configured to compare the heart rate with a preset first heart rate threshold corresponding to the motion state to obtain a first heart rate comparison result if it is detected that the user is in a motion state;
[0110] a second comparison module, configured to compare the heart rate with a preset second heart rate threshold value corresponding to the resting state to obtain a second heart rate comparison result if it is detected that the user is in a resting state;
[0111] A heart rate monitoring result determination module is used to determine a heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result.
[0112] In one embodiment, the heart rate monitoring system further comprises:
[0113] An information extraction module, used to extract the frequency of breathing sounds from the external sounds;
[0114] Based on this, the user status identification module is also used to:
[0115] A user state is identified based on the motion data and the breathing sound frequency.
[0116] In one embodiment, the heart rate monitoring result determination module is further used to:
[0117] If it is detected that the first heart rate comparison result or the second heart rate comparison result indicates an abnormal heart rate, then determining that the heart rate monitoring result is abnormal;
[0118] Otherwise, the heart rate monitoring result is judged to be normal.
[0119] The heart rate monitoring system provided by the present application adopts the heart rate monitoring method in the above embodiment, which can solve the technical problem of how to integrate the heart rate monitoring function into the hearing aid. Compared with the prior art, the beneficial effects of the heart rate monitoring system provided by the present application are the same as the beneficial effects of the heart rate monitoring method provided by the above embodiment, and the other technical features of the heart rate monitoring system are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0120] The present application provides a hearing aid, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the heart rate monitoring method in the above-mentioned embodiment 1.
[0121] Reference below Figure 5 , which shows a structural schematic diagram of a hearing aid suitable for implementing an embodiment of the present application. Figure 5 The hearing aid shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0122] like Figure 5 As shown, the hearing aid may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read On ly Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the hearing aid are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the hearing aid to communicate with other devices wirelessly or by wire to exchange data. Although the figures show hearing aids with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0123] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0124] The hearing aid provided by the present application adopts the heart rate monitoring method in the above embodiment, which can solve the technical problem of how to integrate the heart rate monitoring function in the hearing aid. Compared with the prior art, the beneficial effects of the hearing aid provided by the present application are the same as the beneficial effects of the heart rate monitoring method provided by the above embodiment, and the other technical features in the hearing aid are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0125] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0127] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, wherein the computer-readable program instructions are used to execute the heart rate monitoring method in the above-mentioned embodiment.
[0128] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read On ly Memory), an erasable programmable read-only memory (EPROM: Erasable Programmab le Read On ly Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read On ly Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0129] The computer-readable storage medium may be included in the hearing aid, or may exist independently without being installed in the hearing aid.
[0130] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the hearing aid, the hearing aid: obtains the ECG data collected by the ECG sensor and obtains the amplified external sound; filters the ECG data according to the external sound to obtain the filtered ECG data; and calculates the heart rate based on the filtered ECG data.
[0131] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0132] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0134] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned heart rate monitoring method, and can solve the technical problem of how to integrate the heart rate monitoring function into the hearing aid. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the heart rate monitoring method provided in the above-mentioned embodiment, and will not be repeated here.
[0135] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned heart rate monitoring method when executed by a processor.
[0136] The computer program product provided in this application can solve the technical problem of how to integrate the heart rate monitoring function into a hearing aid. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the heart rate monitoring method provided in the above embodiment, which will not be repeated here.
[0137] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A heart rate monitoring method, characterized in that: The heart rate monitoring method is applied to a hearing aid, the hearing aid includes an electrocardiogram sensor, and the heart rate monitoring method includes: Acquire the ECG data collected by the ECG sensor and obtain the amplified external sound; Filtering the electrocardiogram data according to the external sound to obtain filtered electrocardiogram data; The heart rate is calculated based on the filtered ECG data.
2. The heart rate monitoring method according to claim 1, characterized in that: The step of filtering the ECG data according to the external sound to obtain the filtered ECG data comprises: Extracting sound features from the external sound, and obtaining preset filtering parameters corresponding to the sound features; The electrocardiogram data is filtered based on the filtering parameters to obtain filtered electrocardiogram data.
3. The heart rate monitoring method according to claim 1, characterized in that: The step of calculating the heart rate based on the filtered electrocardiogram data comprises: Performing R wave detection on the filtered ECG data within a preset time period, and calculating the interval between two adjacent R waves when an R wave is detected; An average value between each interval is calculated, and a heart rate is calculated based on the preset time length and the average value.
4. The heart rate monitoring method according to claim 1, characterized in that: The hearing aid further includes: a motion sensor. After the step of calculating the heart rate based on the filtered electrocardiogram data, the method further includes: Acquire motion data collected by the motion sensor, and identify the user status based on the motion data; If it is detected that the user is in a motion state, the heart rate is compared with a first heart rate threshold value preset corresponding to the motion state to obtain a first heart rate comparison result; If it is detected that the user is in a resting state, the heart rate is compared with a preset second heart rate threshold corresponding to the resting state to obtain a second heart rate comparison result; Determine a heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result.
5. The heart rate monitoring method according to claim 4, characterized in that: The method further comprises: Extracting the breathing sound frequency from the external sound; The step of identifying the user status based on the motion data further includes: A user state is identified based on the motion data and the breathing sound frequency.
6. The heart rate monitoring method according to claim 4, characterized in that: The step of determining the heart rate monitoring result according to the first heart rate comparison result or the second heart rate comparison result comprises: If it is detected that the first heart rate comparison result or the second heart rate comparison result indicates an abnormal heart rate, then determining that the heart rate monitoring result is abnormal; Otherwise, the heart rate monitoring result is judged to be normal.
7. A heart rate monitoring system, characterized in that: The heart rate monitoring system is applied to a hearing aid, the hearing aid includes an electrocardiogram sensor, and the heart rate monitoring system includes: An acquisition module, used to acquire the ECG data collected by the ECG sensor and acquire the amplified external sound; A filtering module, used for filtering the ECG data according to the external sound to obtain filtered ECG data; A calculation module is used to calculate the heart rate based on the filtered ECG data.
8. A hearing aid, characterized in that: The hearing aid comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the heart rate monitoring method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the heart rate monitoring method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the heart rate monitoring method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Wearing apparatus, method and apparatus for adapatively removing motion interference
CN107223036A
Method and device for monitoring heart rate of human body and wearable equipment
CN107550475A
A hearing aid system
CN110022520A
Portable dynamic electrocardiograph monitor-based heart rate calculation method
CN113349754A
Portable single-lead electrocardio recorder, recording system and heart rate calculation method
CN115137368A