Doppler spectrum envelope cardiac cycle identification method and device, and computer equipment

By screening waveform regions and determining peaks and troughs in the Doppler spectrum envelope curve, identifying cardiac cycles, the problem of relying on the accuracy of the first cardiac cycle in the prior art is solved, and the accuracy of cardiac cycle recognition is improved and reliability.

CN118948328APending Publication Date: 2024-11-15SHENZHEN COMEN MEDICAL INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869268.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing Doppler spectrum envelope cardiac cycle recognition method depends on the accuracy of the first cardiac cycle, which easily reduces the accuracy and reliability of the recognition due to noise influence.

Method used

By setting the preset amplitude threshold, filter the waveform area with amplitude greater than the threshold from the Doppler spectrum envelope curve, determine the peak point and trough point, connect the peak point to form a peak line, and select the maximum distance point as the trough point, thereby identifying Heartbeat cycle.

Benefits of technology

It improves the accuracy and reliability of cardiac cycle identification, reduces the impact of noise interference, and ensures flexible and accurate waveform area screening and cardiac cycle identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118948328A_ABST
    Figure CN118948328A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of envelope curve feature point recognition, and discloses a Doppler spectrum envelope cardiac cycle recognition method and device and computer equipment. By setting an amplitude threshold value, a waveform area with the amplitude larger than the amplitude threshold value is screened from a Doppler spectrum envelope curve; the method comprises the following steps of: obtaining a plurality of waveform regions, selecting a point with the maximum amplitude value from each waveform region as a peak point corresponding to the waveform region, reducing the influence of noise on the accuracy of cardiac cycle recognition, determining a peak midpoint between adjacent peak points, and connecting the current peak point with the previous peak midpoint to obtain a peak straight line; and determining the point with the maximum linear distance from the wave crest as the wave trough point, and finally identifying the cardiac cycle based on the determined wave crest point and / or wave trough point, so that the accuracy and reliability of cardiac cycle identification can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of envelope curve feature point recognition, and in particular to a method, a device and a computer device for recognizing a cardiac cycle of a Doppler spectrum envelope. Background Art

[0002] The characteristic points of Doppler spectrum envelope are mainly used in the calculation of physiological parameters such as heart rate and peak flow velocity, and are important indicators for clinical diagnosis. The current method for identifying characteristic points is the fixed cycle method, which mainly identifies one of the cardiac cycles, that is, the cycle can be used as a reference to identify the remaining cycles. However, the fixed cycle method relies on the accuracy of the first cardiac cycle, and the first cardiac cycle may be incorrectly identified, resulting in errors in the identification of all subsequent cycles. In actual application, the reliability and accuracy of cardiac cycle identification are greatly reduced. Summary of the invention

[0003] In view of this, the present invention provides a method, device and computer equipment for identifying cardiac cycle using Doppler spectrum envelope to solve the problem of inaccurate cardiac cycle identification.

[0004] In a first aspect, the present invention provides a method for identifying cardiac cycles using a Doppler spectrum envelope, characterized in that the method comprises: obtaining a Doppler spectrum envelope curve, and screening all waveform regions whose amplitudes are greater than a preset amplitude threshold from the Doppler spectrum envelope curve; using the amplitude maximum value point in each screened waveform region as the peak point corresponding to the waveform region, and determining the peak midpoint between adjacent peak points; connecting a current peak point with a previous peak midpoint to obtain a peak straight line, and determining a point within the range between the current peak point and the previous peak midpoint, below the peak straight line and with the largest distance to the peak straight line as a trough point; identifying the cardiac cycle from the Doppler spectrum envelope curve based on the determined peak points and / or trough points.

[0005] The cardiac cycle recognition method of the Doppler spectrum envelope provided in the present embodiment sets an amplitude threshold, selects waveform areas with amplitudes greater than the amplitude threshold from the Doppler spectrum envelope curve, and selects the point with the maximum amplitude from each waveform area as the peak point corresponding to the waveform area, which can reduce the accuracy of cardiac cycle recognition affected by noise, and determines the peak midpoint between adjacent peak points, connects the current peak point with the previous peak midpoint to obtain a peak straight line, determines the point with the largest distance from the peak straight line as a trough point, and finally identifies the cardiac cycle based on the determined peak points and / or trough points, which can greatly improve the accuracy and reliability of cardiac cycle recognition.

[0006] In an optional embodiment, the preset amplitude threshold is obtained by the following steps: obtaining all amplitude maxima and amplitude minima in the Doppler spectrum envelope curve; selecting the maximum amplitude value among all amplitude maxima and the minimum amplitude value among all amplitude minima; and calculating the preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value.

[0007] The present invention calculates a preset amplitude threshold based on the maximum amplitude value among all amplitude maxima and the minimum amplitude value among all amplitude maxima, thereby ensuring that the adopted amplitude threshold is related to the currently acquired Doppler spectrum envelope curve, and can flexibly and accurately screen waveform areas based on the actually acquired envelope curve, thereby accurately identifying the cardiac cycle.

[0008] In an optional embodiment, the current peak point is connected with the midpoint of the previous peak to obtain a peak straight line, and a point within the range of the current peak point and the midpoint of the previous peak, located below the peak straight line and with the largest distance to the peak straight line is determined as a trough point, including: calculating the peak straight line equation based on the coordinates corresponding to the current peak point and the midpoint of the previous peak respectively; traversing all curve points within the range of the current peak point and the midpoint of the previous peak, and calculating the distance of each curve point to the peak straight line based on the coordinates of each curve point and the peak straight line equation; selecting the curve point below the peak straight line and with the largest distance to the peak straight line as the trough point.

[0009] The present invention calculates the peak straight line equation based on the coordinates of the current peak point and the previous peak midpoint, and calculates the distance from each curve point to the peak straight line, and directly selects the curve point with the largest distance as the trough point, which can improve the efficiency of selecting the trough point and then improve the efficiency of cardiac cycle recognition.

[0010] In an optional embodiment, the identifying of the cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve includes: taking the first trough point on the right side of the Doppler spectrum envelope curve as a reference trough point, and determining the curve between the reference trough point and the second trough point adjacent to the left side as a curve corresponding to one cardiac cycle; updating the second trough point as the reference trough point, and executing the step of determining the curve between the reference trough point and the second trough point adjacent to the left side as a curve corresponding to one cardiac cycle, until all cardiac cycles in the Doppler spectrum envelope curve are identified.

[0011] The present invention uses the first trough point on the curve as a reference trough point, and sequentially traverses all trough points to identify the cardiac cycle, thereby ensuring that no trough point is missed and improving the accuracy of cardiac cycle identification.

[0012] In an optional embodiment, the identifying of the cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve further includes: taking the first trough point on the left side of the Doppler spectrum envelope curve as a reference trough point, or taking the first peak point on the left side as a reference peak point, and determining the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point as a curve corresponding to one cardiac cycle; updating the second trough point as a reference trough point, or updating the second peak point as a reference peak point, and executing the step of determining the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point as a curve corresponding to one cardiac cycle, until all cardiac cycles in the Doppler envelope curve are identified.

[0013] In an optional embodiment, the calculating of the preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value includes: calculating the difference between the maximum amplitude value and the minimum amplitude value, and calculating the product of the difference and a preset multiple to obtain an amplitude range value, wherein the preset multiple is a number less than 1; adding the minimum amplitude value to the amplitude range value to obtain the preset amplitude threshold.

[0014] In a second aspect, the present invention provides a Doppler spectrum envelope cardiac cycle identification device, the device comprising: a waveform area screening module, used to obtain a Doppler spectrum envelope curve, and screen all waveform areas with amplitudes greater than a preset amplitude threshold from the Doppler spectrum envelope curve; a peak point determination module, used to use the amplitude maximum point in each screened waveform area as the peak point corresponding to the waveform area, and determine the peak midpoint between adjacent peak points; a trough point determination module, used to connect the current peak point and the previous peak midpoint to obtain a peak straight line, and determine the point within the range of the current peak point and the previous peak midpoint, located below the peak straight line and with the largest distance to the peak straight line as a trough point; a cardiac cycle identification module, used to identify the cardiac cycle from the Doppler spectrum envelope curve based on the determined peak points and / or trough points.

[0015] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the Doppler spectrum envelope cardiac cycle identification method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for cardiac cycle identification of the Doppler spectrum envelope of the first aspect or any corresponding embodiment thereof.

[0017] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for identifying cardiac cycle of Doppler spectrum envelope of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is a flow chart of a method for identifying a cardiac cycle using a Doppler spectrum envelope according to an embodiment of the present invention;

[0020] Figure 2 is a flow chart of another method for identifying cardiac cycle using Doppler spectrum envelope according to an embodiment of the present invention;

[0021] Figure 3 is an example diagram of a Doppler spectrum envelope curve according to an embodiment of the present invention;

[0022] Figure 4 is a structural block diagram of a cardiac cycle identification device based on a Doppler spectrum envelope according to an embodiment of the present invention;

[0023] Figure 5 is a structural block diagram of another Doppler spectrum envelope cardiac cycle identification device according to an embodiment of the present invention;

[0024] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] According to an embodiment of the present invention, an embodiment of a method for identifying a cardiac cycle of a Doppler spectrum envelope is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0027] The characteristic points of Doppler spectrum envelope are mainly used in the calculation of physiological parameters such as heart rate and peak flow velocity, and are important indicators for clinical diagnosis. The currently used methods for identifying peak and trough characteristic points include fixed cycle method and maximum and minimum value method. The fixed cycle method mainly identifies one of the cardiac cycles and uses this cycle as a reference to identify the remaining cycles, thereby obtaining all characteristic points. The maximum and minimum value method mainly traverses the envelope curve and identifies the maximum and minimum values ​​to obtain all characteristic points, but the fixed cycle method relies on the accuracy of the first cardiac cycle. If the first cardiac cycle is identified incorrectly, it will lead to errors in the identification of subsequent cycles. The maximum and minimum value methods are susceptible to noise interference. The accuracy of the two methods is low in actual use, and the reliability of the recognition results is poor.

[0028] In this embodiment, a method for identifying cardiac cycle based on Doppler spectrum envelope is provided, which can be used in the above-mentioned computer device. Figure 1 FIG. 4 is a flow chart of a method for identifying a cardiac cycle based on a Doppler spectrum envelope according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0029] Step S101 : acquiring a Doppler spectrum envelope curve, and screening all waveform regions having amplitudes greater than a preset amplitude threshold from the Doppler spectrum envelope curve.

[0030] The staff of the embodiment of the present invention obtains the Doppler spectrum envelope curve through a sensor acquisition device, etc. Because the obtained Doppler spectrum envelope curve may be affected by noise, resulting in a waveform area with a smaller amplitude in the Doppler spectrum envelope curve, which affects the subsequent accurate identification of cardiac cycles and feature points. Therefore, all waveform areas with amplitudes greater than a preset amplitude threshold can be screened from the Doppler spectrum envelope curve. The method for setting the preset amplitude threshold is not limited. It can be an amplitude threshold that ignores the influence of noise set by the staff based on human experience, or all amplitude values ​​in the Doppler spectrum envelope curve can be obtained, and the amplitude value that is significantly different from other amplitude values ​​can be screened as the amplitude value of the waveform area due to noise. Then, the maximum amplitude value of all the screened amplitude values ​​can be selected as the preset amplitude threshold, or the maximum amplitude value and a certain amplitude error value can be added as the preset amplitude threshold, or the median value or average value of all amplitude values ​​can be selected as the preset amplitude threshold, which is only used as an example.

[0031] Step S102, taking the maximum amplitude point in each filtered waveform region as the peak point corresponding to the waveform region, and determining the peak midpoint between adjacent peak points.

[0032] In the embodiment of the present invention, the maximum amplitude point in each screened waveform region may be used as the peak point corresponding to the waveform region, and the peak midpoint may be determined based on the frequency values ​​corresponding to the current peak point and the adjacent peak points.

[0033] Step S103, connecting the current peak point and the previous peak midpoint to obtain a peak straight line, and determining a point within the range between the current peak point and the previous peak midpoint, below the peak straight line and with the largest distance to the peak straight line as a trough point.

[0034] The embodiment of the present invention can connect the current peak point and the peak midpoint determined with the previous peak point to obtain a peak straight line, wherein the current peak point can be represented by Pcur, the previous peak point can be represented by Ppre, and the corresponding peak midpoint can be represented by Pmid. For example, all points of the envelope curve within the range of the current peak point and the previous peak midpoint are traversed, and it is determined whether the point is located below the peak straight line, all curve points located below the peak straight line are screened, and a unique identifier is marked for each screened curve point, such as marking a serial number for each curve point in sequence or using its horizontal coordinate, that is, the frequency value, as an identifier. For example, the vertical line of each curve point perpendicular to the peak straight line is recorded, and the lengths of all the recorded vertical lines are compared, wherein the length comparison method can be to select any vertical line as a reference vertical line, translate and rotate other vertical lines based on the peak straight line, so that all vertical lines overlap with the reference vertical line, and select the curve point corresponding to the vertical line with the longest length to be determined as the trough point. This is for example only and is not limited.

[0035] Step S104: identifying the cardiac cycle from the Doppler spectrum envelope curve based on the determined peak points and / or trough points.

[0036] After determining the trough point, the embodiment of the present invention can directly use the curve between two adjacent trough points as the curve corresponding to a cardiac cycle, or based on the determined peak point, select the curve between two adjacent peak points as the curve corresponding to a cardiac cycle, or identify the cardiac cycle according to the principle of peaks and troughs in pairs. Just as an example, it is sufficient to ensure that there is a peak point and a trough point in the curve corresponding to each cardiac cycle.

[0037] The cardiac cycle recognition method of the Doppler spectrum envelope provided in the present embodiment sets an amplitude threshold, selects waveform areas with amplitudes greater than the amplitude threshold from the Doppler spectrum envelope curve, and selects the point with the maximum amplitude from each waveform area as the peak point corresponding to the waveform area, which can reduce the accuracy of cardiac cycle recognition affected by noise, and determines the peak midpoint between adjacent peak points, connects the current peak point with the previous peak midpoint to obtain a peak straight line, determines the point with the largest distance from the peak straight line as a trough point, and finally identifies the cardiac cycle based on the determined adjacent trough points, which can greatly improve the accuracy and reliability of cardiac cycle recognition.

[0038] In this embodiment, a method for identifying cardiac cycle based on Doppler spectrum envelope is provided, which can be used in the above-mentioned computer device. Figure 2 FIG. 4 is a flow chart of a method for identifying a cardiac cycle based on a Doppler spectrum envelope according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0039] Step S201 : obtaining a Doppler spectrum envelope curve, and screening all waveform regions having amplitudes greater than a preset amplitude threshold from the Doppler spectrum envelope curve.

[0040] Specifically, the above step S201 includes:

[0041] Step S2011, obtaining all the maximum amplitude values ​​and minimum amplitude values ​​in the Doppler spectrum envelope curve.

[0042] Step S2012, selecting the maximum amplitude value among all the maximum amplitude values ​​and the minimum amplitude value among all the minimum amplitude values.

[0043] Step S2013: Calculate a preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value, and filter all waveform regions whose amplitudes are greater than the preset amplitude threshold from the Doppler spectrum envelope curve.

[0044] The embodiment of the present invention can obtain all amplitude maxima and all amplitude minima in the Doppler spectrum envelope curve, and can select the maximum amplitude value Vmax of all amplitude maxima and the minimum amplitude value Vmin of all amplitude minima, and can calculate the preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value, such as calculating the average value of the maximum amplitude value and the minimum amplitude value as the preset amplitude threshold, or adding the average value to the amplitude error value to determine the preset amplitude threshold, such as Figure 3 As shown, all waveform regions with amplitudes greater than a preset amplitude threshold can be screened from the Doppler spectrum envelope curve, which is only an example and not limiting.

[0045] In one embodiment, the difference between the maximum amplitude value and the minimum amplitude value is calculated, and the product of the difference and a preset multiple is calculated to obtain an amplitude range value, where the preset multiple is a number less than 1; the minimum amplitude value and the amplitude range value are added to obtain a preset amplitude threshold.

[0046] Specifically, the difference between the maximum amplitude value and the minimum amplitude value can be calculated, and then the product of the difference and the preset multiple can be calculated to obtain the amplitude range value, wherein the preset multiple is not limited, and it is sufficient to ensure that the set multiple is less than 1. Generally, 2 / 3 is selected as an example only. Finally, the minimum amplitude value and the amplitude range value are added to obtain the amplitude threshold value, see the following formula:

[0047] Threshhold=Vmin+(Vmax-Vmin)*2 / 3

[0048] Wherein, Threshhold represents the amplitude threshold.

[0049] The present invention calculates a preset amplitude threshold based on the maximum amplitude value among all amplitude maxima and the minimum amplitude value among all amplitude maxima, thereby ensuring that the adopted amplitude threshold is related to the currently acquired Doppler spectrum envelope curve, and can flexibly and accurately screen waveform areas based on the actually acquired envelope curve, thereby accurately identifying the cardiac cycle.

[0050] Step S202: The maximum amplitude point in each waveform region selected is used as the peak point corresponding to the waveform region, and the peak midpoint between adjacent peak points is determined. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0051] Step S203, connecting the current peak point and the previous peak midpoint to obtain a peak straight line, and determining a point within the range between the current peak point and the previous peak midpoint, below the peak straight line and with the largest distance to the peak straight line as a trough point.

[0052] Specifically, the above step S203 includes:

[0053] Step S2031, calculating the wave crest straight line equation based on the coordinates corresponding to the current wave crest point and the previous wave crest midpoint respectively.

[0054] Step S2032, traverse all curve points within the range of the current peak point and the midpoint of the previous peak, and calculate the distance from each curve point to the peak line based on the coordinates of each curve point and the peak line equation.

[0055] Step S2033, selecting a curve point below the wave crest line and with the largest distance to the wave crest line as a wave trough point.

[0056] The embodiment of the present invention can calculate the peak straight line equation by two-point formula based on the rectangular coordinates of the current peak point Pcur and the previous peak midpoint Pmid in the envelope curve, such as Figure 3 As shown, all curve points of the envelope curve in the range of Pmid to Pcur are traversed, and the distance from each curve point to the peak straight line is calculated based on the coordinates of each curve point. The positional relationship between all curve points and the peak straight line can be determined, and the curve point located below the peak straight line and with the largest distance to the peak straight line is selected as the trough point, which is only used as an example.

[0057] The present invention calculates the peak straight line equation based on the coordinates of the current peak point and the previous peak midpoint, and calculates the distance from each curve point to the peak straight line, and directly selects the curve point with the largest distance as the trough point, which can improve the efficiency of selecting the trough point and then improve the efficiency of cardiac cycle recognition.

[0058] Step S204: identifying the cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve.

[0059] Specifically, the above step S204 includes:

[0060] Step S2041: The first trough point on the right side of the Doppler spectrum envelope curve is used as a reference trough point, and the curve between the reference trough point and the second trough point adjacent to the left side is determined as a curve corresponding to one cardiac cycle.

[0061] Step S2042, updating the second trough point as the reference trough point, and performing the step of determining the curve between the reference trough point and the second trough point adjacent to the left as the curve corresponding to one cardiac cycle, until all cardiac cycles in the Doppler spectrum envelope curve are identified.

[0062] In an embodiment of the present invention, the first trough point on the right side of the Doppler spectrum envelope curve can be used as a reference trough point, and the search can be started to the left. The curve between the reference trough point and the second trough point adjacent to the left side can be determined as a curve corresponding to one cardiac cycle. The second trough point can be updated as the reference trough point, and the curve between the second trough point and the second trough point adjacent to the left side can be determined as a curve corresponding to one cardiac cycle. The above steps can be repeated until the Doppler spectrum envelope curve is traversed.

[0063] The present invention uses the first trough point on the curve as a reference trough point, and sequentially traverses all trough points to identify the cardiac cycle, thereby ensuring that no trough point is missed and improving the accuracy of cardiac cycle identification.

[0064] In some optional implementations, the first trough point on the left side of the Doppler spectrum envelope curve is used as a reference trough point, or the first peak point on the left side is used as a reference peak point, and the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point is determined as a curve corresponding to one cardiac cycle;

[0065] The second trough point is updated as the reference trough point, or the second peak point is updated as the reference peak point, and the step of determining the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point, as the curve corresponding to one cardiac cycle is executed until all cardiac cycles in the Doppler envelope curve are identified.

[0066] In an embodiment of the present invention, the first trough point on the left side of the Doppler spectrum envelope curve can be used as a reference trough point, and the search can be started to the right. The curve between the reference trough point and the second trough point adjacent to the right side can be determined as a curve corresponding to one cardiac cycle. The second trough point can be updated as the reference trough point, and the curve between the second trough point and the second trough point adjacent to the right side can be determined as a curve corresponding to one cardiac cycle. The above steps can be repeated until the Doppler spectrum envelope curve is traversed.

[0067] In the embodiment of the present invention, the first peak point on the left side of the Doppler spectrum envelope curve can be used as a reference peak point to start searching to the right, and the curve between the reference peak point and the second peak point adjacent to the right side is determined as a curve corresponding to one cardiac cycle, the second peak point is updated as the reference peak point, and the curve between the second peak point and the second peak point adjacent to the right side is determined as a curve corresponding to one cardiac cycle, and the above steps are repeated until the Doppler spectrum envelope curve is traversed. The first peak point on the right side of the envelope curve can also be used as a reference peak point to start searching to the left. For the specific implementation method, please refer to the above embodiment, which will not be repeated here.

[0068] In this embodiment, a Doppler spectrum envelope cardiac cycle recognition device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0069] This embodiment provides a cardiac cycle recognition device based on Doppler spectrum envelope. Figure 4As shown, it includes: a waveform area screening module 401, which is used to obtain a Doppler spectrum envelope curve, and screen all waveform areas with amplitudes greater than a preset amplitude threshold from the Doppler spectrum envelope curve; a peak point determination module 402, which is used to use the amplitude maximum point in each screened waveform area as the peak point corresponding to the waveform area, and determine the peak midpoint between adjacent peak points; a trough point determination module 403, which is used to connect the current peak point with the previous peak midpoint to obtain a peak straight line, and determine the point within the range of the current peak point and the previous peak midpoint, located below the peak straight line and with the largest distance to the peak straight line as a trough point; a cardiac cycle identification module 404, which is used to identify the cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve.

[0070] In some optional embodiments, such as Figure 5 As shown, the waveform area screening module 401 includes: an extreme value acquisition unit, used to obtain all amplitude maxima and amplitude minima in the Doppler spectrum envelope curve; an amplitude value selection unit, used to select the maximum amplitude value among all amplitude maxima and the minimum amplitude value among all amplitude minima; an amplitude threshold calculation unit, used to calculate a preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value.

[0071] In some optional embodiments, such as Figure 5 As shown, the trough point determination module 403 includes: a straight line equation calculation unit, which is used to calculate the peak straight line equation based on the coordinates corresponding to the current peak point and the previous peak midpoint respectively; a distance calculation unit, which is used to traverse all curve points within the range of the current peak point and the previous peak midpoint, and calculate the distance from each curve point to the peak straight line based on the coordinates of each curve point and the peak straight line equation; a trough point selection unit, which is used to select a curve point located below the peak straight line and with the largest distance to the peak straight line as a trough point.

[0072] In some optional embodiments, such as Figure 5 As shown, the cardiac cycle identification module 404 includes: a cardiac cycle determination unit, which is used to take the first trough point on the right side of the Doppler spectrum envelope curve as a reference trough point, and determine the curve between the reference trough point and the second trough point adjacent to the left side as a curve corresponding to a cardiac cycle; a curve traversal unit, which is used to update the second trough point to the reference trough point, and execute the step of determining the curve between the reference trough point and the second trough point adjacent to the left side as a curve corresponding to a cardiac cycle, until all cardiac cycles in the Doppler spectrum envelope curve are identified.

[0073] In some optional embodiments, the cardiac cycle identification module 404 includes: a cardiac cycle determination unit, which is used to use the first trough point on the left side of the Doppler spectrum envelope curve as a reference trough point, or the first peak point on the left side as a reference peak point, and determine the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point as a curve corresponding to one cardiac cycle; a curve traversal unit, which is used to update the second trough point to the reference trough point, or the second peak point to the reference peak point, and execute the step of determining the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point as a curve corresponding to one cardiac cycle, until all cardiac cycles in the Doppler envelope curve are identified.

[0074] In some optional embodiments, the amplitude threshold calculation unit includes: a range value calculation subunit, which is used to calculate the difference between the maximum amplitude value and the minimum amplitude value, and calculate the product of the difference and a preset multiple to obtain an amplitude range value, where the preset multiple is a number less than 1; an amplitude threshold calculation subunit, which is used to add the minimum amplitude value to the amplitude range value to obtain a preset amplitude threshold.

[0075] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0076] The Doppler spectrum envelope cardiac cycle identification device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0077] The embodiment of the present invention also provides a computer device having the above Figure 4 or Figure 5 The Doppler spectrum envelope is shown as a device for identifying the cardiac cycle.

[0078] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0079] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0080] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0081] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0082] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0083] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0084] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0085] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0086] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0087] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A cardiac cycle recognition method based on Doppler spectrum envelope, It is characterized in that The method comprises: Acquire a Doppler spectrum envelope curve, and filter all waveform regions whose amplitudes are greater than a preset amplitude threshold from the Doppler spectrum envelope curve; The maximum amplitude point in each waveform region selected is used as the peak point corresponding to the waveform region, and the peak midpoint between adjacent peak points is determined; Connect the current wave crest point and the previous wave crest midpoint to obtain a wave crest straight line, and determine the point within the range between the current wave crest point and the previous wave crest midpoint, below the wave crest straight line and with the largest distance to the wave crest straight line as a wave trough point; A cardiac cycle is identified from the Doppler spectrum envelope curve based on determined peak points and / or trough points.

2. The method according to claim 1, It is characterized in that The preset amplitude threshold is obtained by the following steps: Obtaining all amplitude maxima and amplitude minima in the Doppler spectrum envelope curve; Selecting the maximum amplitude value among all the maximum amplitude values ​​and the minimum amplitude value among all the minimum amplitude values; A preset amplitude threshold is calculated based on the maximum amplitude value and the minimum amplitude value.

3. The method according to claim 1, It is characterized in that The step of connecting the current peak point and the previous peak midpoint to obtain a peak straight line, and determining a point within the range between the current peak point and the previous peak midpoint, located below the peak straight line and with the largest distance to the peak straight line as a trough point, comprises: Calculate the wave crest line equation based on the coordinates corresponding to the current wave crest point and the previous wave crest midpoint respectively; Traversing all curve points within the range of the current peak point and the midpoint of the previous peak, and calculating the distance from each curve point to the peak straight line based on the coordinates of each curve point and the peak straight line equation; The curve point that is below the wave crest line and has the largest distance to the wave crest line is selected as the wave trough point.

4. The method according to claim 1, It is characterized in that The step of identifying a cardiac cycle based on a determined wave crest point and / or wave trough point from the Doppler spectrum envelope curve comprises: The first trough point on the right side of the Doppler spectrum envelope curve is used as a reference trough point, and the curve between the reference trough point and the second trough point adjacent to the left side is determined as a curve corresponding to one cardiac cycle; The second trough point is updated as a reference trough point, and the step of determining the curve between the reference trough point and the second trough point adjacent to the left as a curve corresponding to one cardiac cycle is performed until all cardiac cycles in the Doppler spectrum envelope curve are identified.

5. The method according to claim 1, It is characterized in that The step of identifying a cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve further includes: The first trough point on the left side of the Doppler spectrum envelope curve is used as a reference trough point, or the first peak point on the left side is used as a reference peak point, and the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point is determined as a curve corresponding to one cardiac cycle; The second trough point is updated as a reference trough point, or the second peak point is updated as a reference peak point, and the step of determining the curve between the second trough points adjacent to the right side of the reference trough point, or the curve between the second peak points adjacent to the right side of the reference peak point, as a curve corresponding to one cardiac cycle is performed until all cardiac cycles in the Doppler envelope curve are identified.

6. The method according to claim 2, It is characterized in that The calculating the preset amplitude threshold based on the maximum amplitude value and the minimum amplitude value comprises: Calculate the difference between the maximum amplitude value and the minimum amplitude value, and calculate the product of the difference and a preset multiple to obtain an amplitude range value, where the preset multiple is a number less than 1; The minimum amplitude value is added to the amplitude range value to obtain a preset amplitude threshold.

7. A cardiac cycle recognition device based on Doppler spectrum envelope, It is characterized in that The device comprises: A waveform region screening module, used for acquiring a Doppler spectrum envelope curve, and screening all waveform regions having amplitudes greater than a preset amplitude threshold from the Doppler spectrum envelope curve; A wave crest point determination module is used to take the amplitude maximum value point in each waveform area screened out as the wave crest point corresponding to the waveform area, and determine the wave crest midpoint between adjacent wave crest points; A trough point determination module is used to connect the current peak point and the previous peak midpoint to obtain a peak straight line, and determine the point within the range between the current peak point and the previous peak midpoint, below the peak straight line and with the largest distance to the peak straight line as a trough point; The cardiac cycle identification module is used to identify the cardiac cycle based on the determined peak points and / or trough points in the Doppler spectrum envelope curve.

8. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the cardiac cycle identification method of the Doppler spectrum envelope according to any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the cardiac cycle identification method of the Doppler spectrum envelope according to any one of claims 1 to 6.

10. A computer program product, It is characterized in that The method comprises computer instructions for causing a computer to execute the method for identifying a cardiac cycle of a Doppler spectrum envelope according to any one of claims 1 to 6.