Control method, device, earplugs, and storage medium for heart sound data detection device

By using a method of simultaneously collecting heart sound data with dual earplugs and verifying consistency, the problems of insufficient convenience and reliability in heart sound data detection are solved, and convenient and accurate heart sound data detection is achieved.

WO2026001313A1PCT designated stage Publication Date: 2026-01-02GOERTEK INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/093118
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-27
Filing Date
2025-05-07
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

Existing heart sound data detection devices are not convenient enough, and the reliability of measurement results from smartwatches is difficult to guarantee.

Method used

Heart sound data is collected simultaneously using dual earpieces. The two sets of data are analyzed, and the results are only output when the analysis results are consistent, ensuring the reliability of the data. Furthermore, machine learning algorithms and similarity algorithms are used to filter out noise.

Benefits of technology

It improves the convenience and reliability of heart sound data detection, allowing users to undergo testing without visiting medical institutions, reducing data errors and increasing the accuracy of results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025093118_02012026_PF_FP_ABST
    Figure CN2025093118_02012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a control method, device, earplugs, and storage medium for a heart sound data detection device. The present application relates to the technical field of data detection. The method comprises: acquiring first heart sound data collected by a first earplug and second heart sound data synchronously collected by a second earplug; analyzing the first heart sound data and the second heart sound data to obtain a corresponding first user state analysis result and a corresponding second user state analysis result; and outputting the first user state analysis result and / or the second user state analysis result, if the first user state analysis result and the second user state analysis result meet a consistency requirement. The present application aims to improve the reliability of heart sound data detection.
Need to check novelty before this filing date? Find Prior Art

Description

Control method and device of heart sound data detection equipment, earplug and storage medium

[0001] The present application claims priority to the Chinese patent application No. 202410850615.7, filed on June 27, 2024, and entitled "Control method and device of heart sound data detection equipment, earplug and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the technical field of data detection, and particularly relates to a control method and device of heart sound data detection equipment, an earplug and a storage medium. BACKGROUND

[0003] Heart sound data is the sound generated by the vibration of the heart during systole and diastole, which reflects the condition of the heart and cardiovascular system during systole and diastole, and includes various physiological and physical information generated by the interaction between the heart itself and the surrounding tissues. Heart sound data is usually collected using special medical equipment or heart detection equipment, such as a heart stethoscope or an electronic heart stethoscope.

[0004] To improve the convenience of heart sound data collection, heart sound data collection can be realized based on a smart watch. The principle is that a sensor of the smart watch in contact with the skin emits a beam of light on the skin. Because blood absorbs light of a certain wavelength, the wavelength is absorbed in large quantities every time the heart pumps blood, so the heartbeat can be determined. Therefore, when the wearing position and tightness of the smart watch change, the measurement results will also change. Therefore, the user cannot determine whether the measurement results output by the smart watch are reliable.

[0005] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY

[0006] The main purpose of the present application is to provide a control method and device of heart sound data detection equipment, an earplug and a storage medium, aiming to solve the technical problem of insufficient reliability of heart sound data detection.

[0007] To achieve the above purpose, the present application provides a control method of heart sound data detection equipment, which comprises:

[0008] obtaining first heart sound data collected by a first earplug and second heart sound data synchronously collected by a second earplug;

[0009] analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis results and second user state analysis results;

[0010] If the first user state analysis result and the second user state analysis result meet consistency requirements, output the first user state analysis result and / or the second user state analysis result.

[0011] In an embodiment, the heart sound data detection device is a master device, and the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug in synchronization includes:

[0012] sending a start collection instruction to the first earplug and receiving the first heart sound data sent by the first earplug based on the start collection instruction;

[0013] sending an end collection instruction to the first earplug, disconnecting the connection with the first earplug, and establishing a connection with the second earplug;

[0014] receiving the second heart sound data sent by the second earplug based on the end collection instruction.

[0015] In an embodiment, the heart sound data detection device is a cloud device, and the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug in synchronization includes:

[0016] receiving the first heart sound data collected by the first earplug and the second heart sound data collected by the second earplug in synchronization sent by a master device;

[0017] The step of outputting the first user state analysis result and / or the second user state analysis result if the first user state analysis result and the second user state analysis result meet consistency requirements includes:

[0018] If the first user state analysis result and the second user state analysis result meet the consistency requirements, sending the first user state analysis result and / or the second user state analysis result to the master device.

[0019] In an embodiment, after the step of analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis result and second user state analysis result, at least one of the following is included:

[0020] If the first user state analysis result and the second user state analysis result do not meet the consistency requirements, output an abnormality reminder;

[0021] When detecting a re-collection instruction triggered by the user based on the abnormality reminder, and / or triggering a re-examination process, jump to execute the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug in synchronization.

[0022] In an embodiment, before the step of analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis result and second user state analysis result, the method further comprises:

[0023] extracting first key features of the first heart sound data and second key features of the second heart sound data;

[0024] calculating similarity between the first key features and the second key features according to a similarity algorithm;

[0025] filtering noise in the first heart sound data and the second heart sound data according to the similarity and a preset similarity threshold.

[0026] In addition, to achieve the above object, the present application further provides a control method of a heart sound data detection device, the method comprising:

[0027] if the first earplug detects a trigger collection process, obtaining a delay collection time;

[0028] sending the delay collection time to the second earplug; and

[0029] if the delay collection time is reached, performing a collection operation to obtain first heart sound data.

[0030] In an embodiment, the method further comprises:

[0031] if the second earplug receives the delay collection time, determining a transmission delay;

[0032] determining a target delay according to the delay collection time and the transmission delay;

[0033] if the target delay is reached, performing a collection operation to obtain second heart sound data.

[0034] In addition, to achieve the above object, the present application further provides a heart sound data detection device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the control method of the heart sound data detection device.

[0035] In addition, to achieve the above object, the present application further provides an earplug, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the control method of the heart sound data detection device.

[0036] In addition, to achieve the above object, the application further provides a storage medium, which is a computer readable storage medium, and a computer program is stored on the storage medium, and the computer program is executed by a processor to implement the steps of the control method of the heart sound data detection device.

[0037] The one or more technical solutions provided by the application have at least the following technical effects:

[0038] The heart sound data is synchronously collected by the first earplug and the second earplug, double verification of the same physiological signal is realized, and only when the analysis results of the two are consistent, the data is determined to be valid. This mechanism ensures the reliability of the data. Moreover, the user only needs to wear the earplug during the whole detection process, without going to a medical institution. This easy wearability and easy operability greatly improve the convenience of heart sound data detection. BRIEF DESCRIPTION OF DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and serve to explain the principles of the application together with the specification.

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.

[0041] Fig. 1 is a flowchart provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0042] Fig. 2 is a schematic diagram of heart sound data provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0043] Fig. 3 is an interaction diagram provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0044] Fig. 4 is a flowchart provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0045] Fig. 5 is a flowchart provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0046] Fig. 6 is a flowchart provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0047] Fig. 7 is a signaling flowchart provided by the control method of the heart sound data detection device according to an embodiment of the application;

[0048] Fig. 8 is a flowchart of a third embodiment of the control method of the heart sound data detection device;

[0049] Fig. 9 is a signaling flowchart of the third embodiment of the control method of the heart sound data detection device;

[0050] Fig. 10 is a flowchart of a fourth embodiment of the control method of the heart sound data detection device;

[0051] Fig. 11 is a flowchart of the fourth embodiment of the control method of the heart sound data detection device;

[0052] Fig. 12 is a flowchart of the control method of the heart sound data detection device;

[0053] Fig. 13 is a device structure diagram of the hardware running environment involved in the control method of the heart sound data detection device;

[0054] The purposes, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are merely intended to explain the technical solutions of the present application, and are not intended to limit the present application.

[0056] In order to better understand the technical solutions of the present application, the specific embodiments will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0057] The main solution of the embodiments of the present application is to obtain first heart sound data and second heart sound data synchronously collected by a first earplug and a second earplug, and to obtain corresponding first user state analysis results and second user state analysis results through analysis. If the two are consistent, then directly output.

[0058] In the prior art, heart sound data can be collected in various ways.

[0059] First, electrocardiogram, echocardiogram, heart monitor, cardiac magnetic resonance imaging and other methods are used. The above methods need to use special medical equipment or heart detection equipment, and need the participation of professional personnel. Therefore, the patient must go to a medical institution to perform detection, that is, the convenience of heart sound data detection is insufficient.

[0060] Second, to improve the convenience, data collection is performed using a smart watch. Since the measurement results will change when the position and tightness of the watch are changed, the user cannot determine whether the measurement results output by the smart watch are reliable.

[0061] Moreover, the above-mentioned manner can only collect one piece of data each time, and the data is prone to be disturbed by factors such as device placement position, environmental noise and the like. For example, if the electrodes of the device are incorrectly placed or too many air bubbles exist in the pasting process, the electrodes may not be in good contact, and the signal collection may not be complete, so that the data is lost or incomplete.

[0062] The present application provides a solution based on the collection functions of two earplugs, so that the heart sound data detection device can obtain two pieces of synchronous data. After analysis, if the analysis results of the two pieces of data are consistent, it means that the two pieces of data are valid and accurate, and at this time, the corresponding analysis result can be output.

[0063] Based on this, the present application provides a control method of a heart sound data detection device. Referring to FIG. 1, FIG. 1 is a flowchart of a first embodiment of the control method of the heart sound data detection device.

[0064] In this embodiment, the control method of the heart sound data detection device includes steps S10-S30.

[0065] Step S10, obtaining first heart sound data collected by a first earplug and second heart sound data synchronously collected by a second earplug;

[0066] It should be noted that the execution subject of the present embodiment can be a computing service device with data processing, network communication and program running functions, or a heart sound data detection device capable of realizing the above functions, such as a master control device, a cloud device, an earplug, etc., wherein the master control device includes a tablet computer, a personal computer, a mobile phone, etc.

[0067] It should be noted that the heart sound data refers to signal data reflecting the sound generated in the mechanical movement process of the heart, as shown in FIG. 2. Unlike traditional electrocardiogram devices, the earplug can be worn on the user's body at any time, and the heart sound data can be collected without complex operation, which enables the user to monitor his / her heart health status at any time and any place.

[0068] In order to ensure the accuracy and consistency of the data, the first earplug and the second earplug need to work synchronously, i.e., start and end recording at the same time point. In this way, it can be ensured that the two devices capture the heart sound data at the same time point, which is convenient for subsequent data analysis and comparison.

[0069] In a feasible implementation manner, the heart sound data detection device actively sends a start collection instruction to the first earplug and the second earplug to obtain the collected heart sound data.

[0070] It should be noted that if the heart sound data detection device only supports connecting one earplug, after the heart sound data establishes a connection with the first earplug, only the start collection instruction needs to be sent to the first earplug, and after the first earplug receives the start collection instruction, the first earplug forwards the start collection instruction to the second earplug, and then the two earplugs will simultaneously perform the collection action, and finally the collected first heart sound data and second heart sound data are sent to the heart sound data detection device in turn; if the heart sound data detection device supports connecting two earplugs, the separate sending mode can be used, that is, after the heart sound data detection device establishes a connection with the first earplug and the second earplug, the start collection instruction is sent to the first earplug and the second earplug at the same time, and then the two earplugs will simultaneously perform the collection action, and finally the collected first heart sound data and second heart sound data are sent to the heart sound data detection device at the same time. Regarding the above two modes, the present embodiment is not specifically limited.

[0071] In addition, it should be noted that if the master device can only communicate with one earplug at a time, and the default state is set to keep the master device connected with the first earplug, in this scenario, the second earplug will first store the collected second heart sound data in the local storage, and then send the second heart sound data to the first earplug after establishing a connection with the first earplug.

[0072] Exemplarily, the APP control software runs on the heart sound data detection device, and its functions include: controlling the earplug, viewing the detection results, viewing the calculation data of the local or cloud device, and remotely consulting a doctor, etc. In the daily application scenario, the user inserts the first earplug into the left ear and the second earplug into the right ear, and then opens the APP control software on the heart sound data detection device and clicks the "start collection" icon, thereby triggering the start collection instruction and sending it to the first earplug, as shown in FIG. 3.

[0073] Exemplarily, the heart sound data detection device is provided with a motion detection device in a specific area, and when a specific motion of the user is detected, such as double-clicking, long-pressing, etc., the start collection instruction is generated and sent to the first earplug.

[0074] Exemplarily, the heart sound data detection device has an automatic triggering function, which can be based on the response of the built-in sensor, algorithm or external signal. When a certain preset condition is met, the heart sound data detection device will automatically generate the start collection instruction and send it to the first earplug. For example, a specific time point or time period is set, and data collection is triggered when the time arrives, such as starting heart sound detection at 6 pm every day; using GPS or other positioning technology, data collection is triggered when the device or user enters or leaves a specific location, such as starting heart sound detection as soon as the user is detected to return home; data collection is triggered according to the change of the user's state, such as immediately performing heart sound detection when the user's physiological parameters such as body temperature and respiratory rate exceed the normal range.

[0075] In another possible implementation, the first earplug and the second earplug actively detect the heart sound data of the user without waiting for the instruction of the heart sound data detection device, and actively send the collected results to the heart sound data detection device once the detection results are generated.

[0076] The above are only two possible implementations of step S10 provided by the embodiment, and the embodiment does not specifically limit the specific implementation of step S10.

[0077] It can be understood that there may be errors in a single device or a single collection, such as device failure, environmental noise interference, etc. By collecting two sets of data, the sample size of the data is expanded, which can reduce the error caused by a single factor and improve the reliability of the data.

[0078] Step S20, analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis results and second user state analysis results;

[0079] Data analysis refers to further processing and interpretation of data to extract valuable analysis results, including but not limited to amplitude, frequency, duration, and other heart sound characteristics.

[0080] Further, the first heart sound data and the second heart sound data are input into a data analysis model, and a machine learning algorithm, a pattern recognition technique, or the like is used to analyze the first heart sound data and the second heart sound data, and generate corresponding first user state analysis results and second user state analysis results.

[0081] In addition, referring to FIG. 4, before step S20, there are further steps of:

[0082] Step A10, extracting a first key feature of the first heart sound data and a second key feature of the second heart sound data;

[0083] Step A20, calculating the similarity between the first key feature and the second key feature according to a similarity algorithm;

[0084] Step A30, filtering noise in the first heart sound data and the second heart sound data according to the similarity and a preset similarity threshold.

[0085] Data preprocessing refers to a series of processing steps performed on data before analysis, including but not limited to data conversion, data comparison, noise filtering, and the like, so that subsequent analysis is more accurate and effective.

[0086] It is known that under normal circumstances, the heart sounds of the left and right ears both reflect the same heart activity, so the first heart sound data and the second heart sound data should have similar characteristics, and if there is a significant difference, it means that there is noise caused by breathing, movement or other external noise.

[0087] Optionally, the heart sound data usually contains multiple cardiac cycles, and the heart sound data can be segmented into several segments according to these cycles. The following takes the heart sound data of one cycle as an example for explanation and description.

[0088] First, extract the first key features of the first heart sound data and the second key features of the second heart sound data from at least one of the following dimensions:

[0089] Time domain feature extraction: extract statistical features such as mean, variance, peak value, energy, etc. from time series data; frequency domain feature extraction: convert the signal to the frequency domain through Fourier transform or wavelet transform, etc. and extract spectral features such as frequency components, spectral shape, etc.; filter feature extraction: extract the features of the filtered signal through the filter, such as the amplitude and phase after filtering; transient feature extraction: identify transient features in the signal, such as heart sound activity periods in heart sounds, etc.

[0090] Second, use similarity algorithms such as Euclidean distance and cosine similarity to calculate the similarity between the first key features and the second key features.

[0091] Finally, if the similarity exceeds the threshold, they are considered similar, otherwise they are marked as having noise, and filter out the aforementioned noise using filters, spectral analysis, etc. or directly exclude the heart sound data of this cycle and only keep the effective data for subsequent data analysis.

[0092] Step S30, if the first user state analysis result and the second user state analysis result meet the consistency requirement, output the first user state analysis result and / or the second user state analysis result.

[0093] In a feasible implementation, the data of the first user state analysis result and the second user state analysis result can be plotted into a histogram, and the shape, center position and dispersion degree of the histogram are observed to see if the overall trend is consistent.

[0094] In another feasible implementation, the correlation coefficient between the first user state analysis result and the second user state analysis result is calculated, such as Pearson correlation coefficient, Spearman correlation coefficient, etc., to evaluate the linear correlation between them.

[0095] It should be noted that the specific definition of the consistency requirement may vary depending on the application scenario. For example, in some cases, two results are considered consistent if the difference between them is less than a certain threshold; while in other cases, two results must be completely matched to be considered consistent, which is not specifically limited in this embodiment.

[0096] If the first user state analysis result and the second user state analysis result meet the consistency requirement, it means that both are mutually supported and verified, and accurately reflect the same heart activity, so at least one analysis result can be output at this time.

[0097] In addition, referring to FIG. 5, after step S20, it further includes:

[0098] Step B10, if the first user state analysis result and the second user state analysis result do not meet the consistency requirement, an abnormality reminder is output.

[0099] Step B20, when detecting a reacquisition instruction triggered by the user based on the abnormality reminder, and / or triggering a reexamination process, the step of acquiring the first heart sound data collected by the first earplug and the second heart sound data collected by the second earplug synchronously is executed.

[0100] If the first user state analysis result and the second user state analysis result do not meet the consistency requirement, it means that there is a significant difference or contradiction between the two, so an abnormality reminder needs to be output at this time.

[0101] After seeing the abnormality reminder, the user can choose to trigger a reacquisition instruction, accordingly, the heart sound data detection device receives the reacquisition instruction triggered by the user, and reacquires data. Or, in the case where the consistency requirement is not met, the heart sound data detection device automatically triggers a reexamination process, and then reacquires data.

[0102] In this embodiment, by synchronously collecting heart sound data by the first earplug and the second earplug, double verification of the same physiological signal is realized, and only when the analysis results of the two are consistent, the data is considered valid. This mechanism ensures the reliability of the data. Moreover, throughout the detection process, the user only needs to wear earplugs, without the need to go to a medical institution, which greatly improves the convenience of heart sound data detection.

[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as the above embodiment one can refer to the above introduction, and will not be repeated hereinafter. On this basis, referring to FIG. 6, the heart sound data detection device is a master control device, and step S10 includes steps C10-C30:

[0104] Step C10, sending a start collection instruction to the first earplug and receiving the first heart sound data sent by the first earplug based on the start collection instruction;

[0105] Step C20, sending an end collection instruction to the first earplug, disconnecting the connection with the first earplug and establishing a connection with the second earplug;

[0106] Step C30, receiving the second heart sound data sent by the second earplug based on the end collection instruction.

[0107] Referring to FIG. 7, it is a signaling flowchart of the embodiment.

[0108] It should be noted that the master device includes but is not limited to a master terminal such as a mobile phone, a tablet computer, etc. having a wireless communication function, a display function and a camera function, and the embodiment is not limited in particular.

[0109] In a feasible implementation, in order to ensure the stability and reliability of the communication connection, it is limited that the master device can only communicate with one earplug at a time, and it is set that the master device keeps connected with the first earplug in the default state. As for the first earplug and the second earplug, they are usually used in pairs, so they are usually in a connected state, so when the first earplug receives the data sent by the master device, it can be forwarded to the second earplug in time to realize operation synchronization.

[0110] The master device generates a start collection instruction based on a user operation and sends it to the first earplug, and then receives the first heart sound data returned by the first earplug. The specific principle is the same as that of the first embodiment, which will not be described here.

[0111] After the above operation is completed, the master device also needs to obtain the second heart sound data for comparative analysis, therefore, the master device needs to generate an end collection instruction based on a user operation and send it to the first earplug, and then disconnect the connection with the first earplug. This process mainly involves the steps of determining a communication protocol, sending a disconnection instruction, earplug response, disconnection and resource release, etc.

[0112] At this point, the master device can start a device search function to discover the second earplug around, and then establish a communication connection with it.

[0113] Since the first earplug has forwarded the start collection instruction to the second earplug, the second earplug can start collecting the second heart sound data of the user before establishing a connection with the master device. This means that once the connection is established, the master device can receive the second heart sound data collected by the second earplug, which can ensure the timeliness and accuracy of the data.

[0114] In this embodiment, when the heart sound data detection device is the master device, the master device will send a start collection instruction or an end collection instruction based on user operation to control the progress of the entire detection process. In this way, the user can accurately control the duration and frequency of data collection as needed. This accurate control helps to ensure that the collected heart sound data is sufficiently accurate and representative, thereby improving the reliability of subsequent data analysis.

[0115] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as the above-mentioned first embodiment can be referred to the above introduction, and the subsequent will not be described in detail. On this basis, please refer to FIG. 8, the heart sound data detection device is a cloud device, and step S10 includes step D10:

[0116] Step D10, receiving the first heart sound data collected by the first earplug and the second heart sound data synchronously collected by the second earplug sent by the master device;

[0117] Step S30 includes step D20:

[0118] Step D20, if the first user state analysis result and the second user state analysis result meet the consistency requirement, sending the first user state analysis result and / or the second user state analysis result to the master device.

[0119] Referring to FIG. 9, it is a signaling flowchart of the present embodiment.

[0120] It should be noted that the cloud device refers to a remote server or server cluster that can receive, process and store a large amount of data by using cloud computing technology. The advantage of the cloud device lies in its powerful computing and data storage capabilities, as well as the flexibility and scalability achieved through cloud computing technology. At the same time, the cloud device can also establish remote consultation between users and doctors.

[0121] After the master device receives the first heart sound data collected by the first earplug and the second heart sound data synchronously collected by the second earplug, the master device will not perform data processing locally, but will forward these data to the cloud device. The processing principle is the same as the first embodiment, which will not be described here.

[0122] Further, since the master device is usually a device used by the user in daily life, such as a smart phone, a tablet computer or a computer, these devices have an intuitive user interface. Therefore, the cloud device needs to send the analysis result to the master device to facilitate the user to view and understand the data and analysis result processed by the cloud device.

[0123] In this embodiment, the data preprocessing and analysis are performed on the cloud device, which can make full use of the powerful computing resources and big data processing capabilities of the cloud device, improve the data processing efficiency and accuracy, and effectively reduce the burden of the host device and improve the stability and reliability of the overall process.

[0124] The application provides a control method of a heart sound data detection device.

[0125] In this embodiment, the control method of the heart sound data detection device comprises steps E10-E30.

[0126] In step E10, if the first earplug detects a trigger collection process, the delay collection time is obtained.

[0127] In step E20, the delay collection time is sent to the second earplug.

[0128] In step E30, if the delay collection time is reached, the collection operation is performed to obtain the first heart sound data.

[0129] It should be noted that the earplug includes but is not limited to a microprocessor, a memory, a display module, a wireless communication module, a sound collection sensor module, etc.

[0130] The microprocessor can complete the operations of fetching instructions, executing instructions, and exchanging information with external memories and logic components, and is the operation control part of the intelligent earplug; the memory can store various application programs and related data; the display module can display the display information of the system processing module, such as pictures, videos, UI, etc.; the wireless communication module can be but is not limited to a Bluetooth module, a WiFi module, a 4G mobile communication module, etc., and the terminal device can realize connection with external devices or a network through the module; the sound collection sensor includes but is not limited to a MIC (Microphone, microphone), an acceleration sensor, or a VPU (Visual Processing Unit, visual processing unit) sound data collection device, which is placed in the user's ear canal and can collect the heart sound signal of the user.

[0131] Optionally, when it is detected that the user clicks the "start collection" icon on the APP control software, or the user makes a specific action on a specific area of the first earplug, or the time, position, state, etc. meet the preset conditions, the first earplug will automatically trigger the collection process, and the specific principle is the same as that of the first embodiment, which will not be described here.

[0132] Further, once the collection process is started, the first earplug will obtain the delay collection time A, which represents the delay between the current time and the actual start time of data collection, such as 100 ms.

[0133] In one aspect, referring to FIG. 9, the first earplug sends the delayed collection time A to the second earplug, so that the second earplug can use the information from the first earplug to synchronize its own collection operation, to ensure that both collect heart sound data of the same time period.

[0134] On the other hand, once the delayed collection time A is set in the first earplug, a countdown function is started, and once the countdown ends, i.e. the delayed collection time A is reached, the first earplug starts automatic collection. After a certain period of time, or after detecting an end collection instruction, data collection is stopped, and the first heart sound data is obtained.

[0135] In addition, referring to FIG. 11, after step E30, there are further steps:

[0136] Step E40, if the second earplug receives the delayed collection time, determine the transmission delay;

[0137] Step E50, according to the delayed collection time and the transmission delay, determine the target delay;

[0138] Step E60, if the target delay is reached, perform the collection operation, and obtain the second heart sound data.

[0139] It can be understood that there is a certain time interval between the sending and receiving of data, therefore, when the second earplug receives the delayed collection time sent by the first earplug, the transmission delay consumed therein needs to be determined.

[0140] In one possible implementation, the first timestamp at which the first earplug sends the delayed collection time, and the second timestamp at which the second earplug receives the delayed collection time, are obtained, which can be the local real-time clock module, or the network time. Then the following formula is used for calculation: transmission delay = second timestamp - first timestamp.

[0141] In another possible implementation, the transmission distance and transmission speed between the first earplug and the second earplug are detected, and then the following formula is used for calculation: transmission delay = transmission distance / transmission speed.

[0142] Further, the target delay B is obtained according to the following formula: target delay B = delayed collection time A - transmission delay.

[0143] At this point, the second earplug can set a countdown based on the target delay B, and once the countdown ends, i.e. the target delay B is reached, automatic collection is started. After a certain period of time, or after detecting an end collection instruction, data collection is stopped, and the second heart sound data is obtained.

[0144] It can be understood that if the instruction forwarding delay is not considered, the data of the two devices may not be completely synchronized or aligned due to network delay or other factors if the two devices are directly allowed to collect data within the same countdown. By using different delay times, it can be ensured that the first earplug and the second earplug start data collection at the same time point, so as to avoid data overlap or repeated collection, and thus reduce the error caused thereby.

[0145] Exemplarily, in order to facilitate understanding of the implementation process of the control method of the heart sound data detection device obtained after the above embodiment one, please refer to FIG. 12, which provides a brief flowchart of a control method of a heart sound data detection device, specifically:

[0146] 1. The user inserts the first earplug and the second earplug into the left ear and the right ear respectively, and opens the APP control software.

[0147] 2. The user issues a start collection instruction through the APP control software. After receiving the start collection instruction, the first earplug acquires a first timestamp and a delay collection time A, and forwards the start collection instruction + the first timestamp + the delay collection time A to the second earplug, and synchronizes the clock and state with the second earplug.

[0148] 3. After receiving the start collection instruction + the first timestamp + the delay collection time A forwarded by the first earplug, the second earplug acquires a second timestamp of itself, and calculates a target time delay B.

[0149] 4. The first earplug and the second earplug start collecting heart sound data of the left ear and the right ear at the same time after the countdown ends, the first heart sound data is uploaded to the host device in real time, and the second heart sound data is saved to the storage device. After receiving the end collection instruction issued by the user, the first earplug stops data collection, sends the end collection instruction to the second earplug, and disconnects the connection with the host device.

[0150] 5. After receiving the end collection instruction sent by the first earplug, the second earplug stops data collection, actively connects the host device, and reads the saved heart sound data from the storage device and uploads it to the host device.

[0151] 6. After receiving the first heart sound data and the second heart sound data, the host device uploads them to the cloud device for data analysis and processing.

[0152] 7. After receiving the first heart sound data and the second heart sound data, the cloud device first performs comparative analysis, filters out noise data, and then respectively performs data analysis on the first heart sound data and the second heart sound data to generate a first user state analysis result A and a second user state analysis result B. The cloud device compares the first user state analysis result A and the second user state analysis result B, and if the results are consistent, the cloud device issues the analysis result to the master device and displays the analysis result to the user; if the results are inconsistent, the cloud device issues a data exception result to the master device and requests the user to re-collect data.

[0153] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the control method of the heart sound data detection device of the present application. More forms of simple transformation based on this technical concept are within the protection scope of the present application.

[0154] The present application provides a heart sound data detection device, which comprises at least one processor and a memory in communication connection with 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 to enable the at least one processor to perform the control method of the heart sound data detection device in the above-mentioned embodiment one.

[0155] The present application provides an earplug, which comprises at least one processor and a memory in communication connection with 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 to enable the at least one processor to perform the control method of the heart sound data detection device in the above-mentioned embodiment one.

[0156] Reference is made to FIG. 13, which shows a structural schematic diagram of a device suitable for implementing the embodiments of the present application. The device in the embodiments of the present application can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The device shown in FIG. 13 is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present application.

[0157] As shown in FIG. 13, the device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. In the RAM 1004, various programs and data required for operation of the device 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, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; the storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the device to communicate with other devices wirelessly or by wire to exchange data. Although the device with various systems is shown in the figure, it should be understood that all the shown systems are not required to be implemented or possessed. More or less systems can be alternatively implemented or possessed.

[0158] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed in the present application are performed.

[0159] The device provided by the present application adopts the control method of the heart sound data detection device in the above-mentioned embodiments, and can solve the technical problem of insufficient convenience of heart sound data detection. Compared with the prior art, the device provided by the present application has the same beneficial effects as the control method of the heart sound data detection device provided by the above-mentioned embodiments, and other technical features in the device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0160] It should be understood that various aspects of the disclosure can be implemented in 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 appropriate manner in any one or more embodiments or examples.

[0161] The above description is merely illustrative of the application and is not intended to limit the scope of the application. Any variations and modifications that can be made by any person skilled in the art within the spirit and scope of the application are intended to be encompassed by the application. Therefore, the scope of the application should be determined by the appended claims.

[0162] The application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e., a computer program) for performing the control method of the heart sound data detection device in the above-described embodiments.

[0163] The computer readable storage medium provided by the application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In the present embodiment, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted by any appropriate medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), etc., or any appropriate combination thereof.

[0164] The above computer readable storage medium can be included in a device or can exist separately without being assembled into a device.

[0165] The computer readable storage medium carries one or more programs, when the one or more programs are executed by the heart sound data detection device, the heart sound data detection device is caused to: acquire first heart sound data collected by a first earplug and second heart sound data collected by a second earplug synchronously; analyze the first heart sound data and the second heart sound data to obtain corresponding first user state analysis result and second user state analysis result; and output the first user state analysis result and / or the second user state analysis result if the first user state analysis result and the second user state analysis result meet consistency requirements.

[0166] The computer readable storage medium carries one or more programs, when the one or more programs are executed by the first earplug, the first earplug is caused to: acquire a delay collection time if the first earplug detects a trigger collection process; send the delay collection time to the second earplug; and perform a collection operation to obtain first heart sound data if the delay collection time is reached.

[0167] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, 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 the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0168] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0169] The modules involved in the embodiments of the present application can be implemented in the form of software or hardware. In some cases, the name of the module does not constitute a limitation on the module itself.

[0170] The computer readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer program) for executing the control method of the heart sound data detection device, and can solve the technical problem of insufficient convenience of heart sound data detection. Compared with the prior art, the computer readable storage medium provided by the present application has the same beneficial effects as the control method of the heart sound data detection device provided by the above-mentioned embodiments, and will not be described here.

[0171] The above only describes some embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation made by using the content of the present application specification and drawings, or direct / indirect application in other related technical fields is included in the patent protection scope of the present application.

Claims

1. A control method of a heart sound data detection device, characterized by, The method comprises: obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug synchronously; analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis results and second user state analysis results; if the first user state analysis results and the second user state analysis results meet consistency requirements, outputting the first user state analysis results and / or the second user state analysis results.

2. The method of claim 1, wherein, The heart sound data detection device is a master device, and the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug synchronously comprises: sending a start collection instruction to the first earplug and receiving the first heart sound data sent by the first earplug based on the start collection instruction; sending an end collection instruction to the first earplug, disconnecting the connection with the first earplug, and establishing a connection with the second earplug; receiving the second heart sound data sent by the second earplug based on the end collection instruction.

3. The method of claim 1, wherein, The heart sound data detection device is a cloud device, and the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug synchronously comprises: receiving the first heart sound data collected by the first earplug and the second heart sound data collected by the second earplug synchronously sent by the master device; if the first user state analysis results and the second user state analysis results meet the consistency requirements, sending the first user state analysis results and / or the second user state analysis results to the master device. After the step of analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis results and second user state analysis results, the following at least one is further included:

4. The method of claim 1, wherein, if the first user state analysis results and the second user state analysis results do not meet the consistency requirements, outputting an abnormality reminder; when detecting a re-collection instruction triggered by a user based on the abnormality reminder and / or triggering a re-examination process, jumping to execute the step of obtaining first heart sound data collected by a first earplug and second heart sound data collected by a second earplug synchronously. Before the step of analyzing the first heart sound data and the second heart sound data to obtain corresponding first user state analysis results and second user state analysis results, the following is further included:

5. The method of claim 1, wherein, extracting first key features of the first heart sound data and second key features of the second heart sound data; calculating the similarity between the first key features and the second key features according to a similarity algorithm; filtering noise in the first heart sound data and the second heart sound data according to the similarity and a preset similarity threshold. The method comprises:

6. A control method of a heart sound data detection apparatus, characterized by, if the first earplug detects a trigger collection process, obtaining a delay collection time; sending the delay collection time to the second earplug; and ​ If the delay collection time is reached, a collection operation is performed to obtain first heart sound data.

7. The method of claim 6, wherein, The method further comprises: If the second earplug receives the delay collection time, a transmission delay is determined; According to the delay collection time and the transmission delay, a target delay is determined; If the target delay is reached, a collection operation is performed to obtain second heart sound data.

8. A heart sound data detection device, characterized by, The heart sound data detection device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the control method of the heart sound data detection device according to any one of claims 1 to 5.

9. An earplug, characterized in that The earplug comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the control method of the heart sound data detection device according to any one of claims 6 to 7.

10. A storage medium, characterized by The storage medium is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the control method of the heart sound data detection device according to any one of claims 1 to 5 or 6 to 7.

Citation Information

Patent Citations

  • Control methods for data collection system, data collection system and memory medium

    CN109412737A

  • Data synchronous acquisition method and device, electronic equipment and storage medium

    CN112769516A

  • Heartbeat monitoring method, heartbeat monitoring device and computer readable storage medium

    CN114305485A

  • Wireless sensor data synchronous acquisition system and method

    CN114630402A

  • Data acquisition method and device, computer equipment and computer readable storage medium

    CN117204829A