A spectrogram display method, device, equipment and storage medium
By adjusting PRF settings to maintain scan values above display values and avoiding blind zones, the method improves spectral graph clarity and proportion in HPRF mode.
Patent Information
- Application Number
- CN202111450147.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2041-11-30
AI Technical Summary
In the high pulse repetition frequency mode of the ultrasonic diagnosis system, the existence of a time blind spot causes the echo signal to be unsuitable, and the spectrum display is not clear after selecting the effective PRF gear, which increases the difficulty of observation.
By separating the scan value and display value in HPRF mode, ensuring that the scan value is always greater than or equal to the display value, and querying the target value that has not fallen into the blind spot within the adjustment range, optimizing the spectrum display method, including determining the parameter preparation of the blind spot, transmit excitation and interference signal reception time during the echo reception phase.
It realizes sufficient data and appropriate proportions of the spectrum displayed in HPRF mode, reducing the difficulty of observation, and ensuring the clarity of the spectrum and user experience.
Smart Images

Figure CN116196029B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a spectrogram display method, apparatus, device, and storage medium. Background Art
[0002] Currently, in the High Pulse Repetition Frequency (HPRF) mode of an ultrasound diagnostic system, pulse signals are continuously transmitted at a predetermined time interval. Therefore, the ultrasound probe may receive echo signals at each time stage. However, there is a time blind spot in this mode that is not suitable for receiving echo signals.
[0003] Currently, in order not to receive echo signals in the time blind spot, the pulse repetition frequency gear can be screened, and scanning can be performed at the selected gear.
[0004] However, when selecting an effective PRF gear (pulse repetition frequency gear) in the HPRF mode, it may be the case that: although a PRF gear that does not fall into the blind spot can be found, the spectrogram ratio displayed after scanning is not good, the display is not clear, and the difficulty of observing the spectrogram is increased. Summary of the Invention
[0005] In view of this, the purpose of this application is to provide a spectrogram display method, apparatus, device, and storage medium to optimize the spectrogram display ratio and effect in the HPRF mode. The specific solutions are as follows:
[0006] To achieve the above objective, on the one hand, this application provides a spectrogram display method, including:
[0007] If a gear adjustment instruction is received, determine the current gear scan value and the current gear display value;
[0008] In the adjustment range pointed to by the gear adjustment instruction, query the target scan value with the smallest difference from the current gear scan value and not falling into the blind spot, and the target display value with the smallest difference from the current gear display value;
[0009] If the target scan value and the target display value are queried and the target scan value is not less than the target display value, update the current gear scan value to the target scan value and update the current gear display value to the target display value;
[0010] Perform HPRF mode scanning according to the updated current gear scan value to obtain a scan signal, and perform spectrogram display on the scan signal according to the updated current gear display value.
[0011] Preferably, it further includes:
[0012] If the target scan value is not queried but the target display value is queried, when the current gear scan value is not less than the target display value, keep the current gear scan value unchanged and update the current gear display value to the target display value;
[0013] Perform spectrogram display on the signal obtained by scanning the current gear scan value according to the updated current gear display value.
[0014] Preferably, after receiving the gear adjustment instruction, it further includes:
[0015] If the non-adjustment condition is met, keep the current gear scan value, the current gear display value, and the currently displayed spectrogram unchanged.
[0016] Preferably, the non-adjustment condition includes at least one of the following:
[0017] The target scan value and the target display value are not queried;
[0018] The target scan value and the target display value are queried, but the target scan value is less than the target display value;
[0019] The target scan value is not queried, but the target display value is queried, and at the same time the current gear scan value is less than the target display value;
[0020] The target scan value is queried, but the target display value is not queried, and at the same time the target scan value is less than the current gear display value.
[0021] Preferably, the spectrogram display of the scanning signal according to the updated current gear display value includes:
[0022] Calculate the ratio of the updated current gear scan value to the updated current gear display value;
[0023] Intercept partial frequency domain data from the frequency domain range of the scanning signal according to the ratio for spectrogram display.
[0024] Preferably, the determination process of the blind area includes:
[0025] Determine the blind area based on the reception time of interference signals in the parameter preparation stage, the transmit excitation stage, and / or the echo reception stage.
[0026] Preferably, the determination process of the reception time includes:
[0027] If the depth position of the measured object is determined, select the scanning gear value matching the depth position to perform PW scanning on the measured object;
[0028] Detect interference signals in the echo signals collected during the PW scanning process, and determine the reception time of the interference signals.
[0029] Preferably, the selecting the scanning gear value matching the depth position includes:
[0030] Calculate the scanning limit value corresponding to the depth position;
[0031] Among the gear values corresponding to the preset scanning gear list, select the gear value not greater than the scanning limit value as the scanning gear value.
[0032] Preferably, the selecting the gear value not greater than the scanning limit value as the scanning gear value among the gear values corresponding to the preset scanning gear list includes:
[0033] Among the gear values, select the largest gear value not greater than the scanning limit value as the scanning gear value.
[0034] Preferably, the selecting the gear value not greater than the scanning limit value as the scanning gear value among the gear values corresponding to the preset scanning gear list includes:
[0035] Among the gear values, randomly select the gear value not greater than the scanning limit value as the scanning gear value.
[0036] Preferably, the detecting the interference signals in the echo signals collected during the PW scanning process includes:
[0037] Perform frequency-domain analysis on the echoes reflected by each preset detection point in the echo signals. If the mean value of the spectral energy of any echo exceeds the first threshold, determine that the echo is an interference signal.
[0038] Preferably, the detecting the interference signals in the echo signals collected during the PW scanning process includes:
[0039] Perform time-domain analysis on the echoes reflected by each preset detection point in the echo signals. If the time-domain standard deviation of any echo exceeds the second threshold, determine that the echo is an interference signal.
[0040] Preferably, the querying the target scanning value with the smallest difference from the current gear scanning value and not falling into the blind area includes:
[0041] Respectively determine whether each gear value within the adjustment range falls into the blind area;
[0042] Determine the gear value with the smallest difference from the current gear scanning value and not falling into the blind area as the target scanning value.
[0043] Preferably, the step of respectively determining whether each gear value within the adjustment range falls into the blind area includes:
[0044] Determining the echo reception time of the ultrasonic wave transmitted to the depth position;
[0045] For each gear value within the adjustment range, calculating the remainder of the echo reception time divided by any gear value;
[0046] If the remainder falls within the blind area, determining that the gear value falls into the blind area; otherwise, determining that the gear value does not fall into the blind area.
[0047] On the other hand, the present application also provides a spectrogram display device, including:
[0048] A determination module, configured to determine a current gear scanning value and a current gear display value if a gear adjustment instruction is received;
[0049] A query module, configured to query, within the adjustment range pointed to by the gear adjustment instruction, a target scanning value that has the smallest difference from the current gear scanning value and does not fall into the blind area, and a target display value that has the smallest difference from the current gear display value;
[0050] An update module, configured to update the current gear scanning value to the target scanning value and update the current gear display value to the target display value if the target scanning value and the target display value are queried and the target scanning value is not less than the target display value;
[0051] A display module, configured to perform HPRF mode scanning according to the updated current gear scanning value to obtain a scanning signal, and perform spectrogram display on the scanning signal according to the updated current gear display value.
[0052] On the other hand, the present application also provides an electronic device, which includes a processor and a memory; wherein, the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the foregoing spectrogram display method.
[0053] On the other hand, the present application also provides a storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the foregoing spectrogram display method is implemented.
[0054] It can be seen that the present application provides a set of scanning values and a set of display values, and during the process of adjusting the PRF gear, it is always ensured that the current scanning value is greater than or equal to the current display value. In this way, when performing HPRF mode scanning with scanning values that do not fall into the blind area, the ratio and effect of the spectrogram display will be better. Because larger scanning values can collect more and richer data, and using smaller display values to intercept part of the data from these data for spectrogram display can ensure sufficient data for spectrogram display. Therefore, the spectrogram ratio will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram will be reduced.
[0055] Correspondingly, the spectrogram display device, equipment, and storage medium provided by the present application also have the above technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on the provided accompanying drawings.
[0057] Figure 1 It is a flowchart of a spectrogram display method provided by the present application;
[0058] Figure 2 It is a schematic diagram of a blind area provided by the present application;
[0059] Figure 3 It is an imaging schematic diagram for calculating the blood flow velocity of blood vessels provided by the present application;
[0060] Figure 4 It is a schematic diagram for calculating the maximum moving speed of blood flow or tissue provided by the present application;
[0061] Figure 5 It is a schematic diagram for comparing the PW mode and the HPRF mode provided by the present application;
[0062] Figure 6 It is a comparison diagram before and after the adjustment of an existing solution provided by the present application;
[0063] Figure 7 It is a comparison diagram for step-by-step adjustment provided by the present application;
[0064] Figure 8 It is a spectrogram display comparison diagram provided by the present application;
[0065] Figure 9 It is a flowchart for gear adjustment provided by the present application;
[0066] Figure 10 Schematic diagram of a spectrogram display device provided by this application;
[0067] Figure 11 Structural diagram of a server provided by this application;
[0068] Figure 12 Structural diagram of a terminal provided by this application. Specific embodiments
[0069] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application. In addition, in the embodiments of this application, "first", "second", etc. are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence.
[0070] Currently, when selecting an effective PRF gear in the HPRF mode, it is possible that: although a PRF gear that does not fall into the blind area can be found, the spectrogram ratio displayed after scanning is not good, the display is not clear, and the difficulty of observing the spectrogram is increased.
[0071] In view of the above problems currently existing, this application proposes a spectrogram display solution. This solution can ensure that the data used for spectrogram display is sufficient, so the spectrogram ratio will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram is reduced.
[0072] Please refer to Figure 1 , Figure 1 which is a flowchart of a spectrogram display method provided by an embodiment of this application. As Figure 1 shown, this spectrogram display method is applied to an ultrasonic device and may include the following steps:
[0073] S101: If a gear adjustment instruction is received, determine the current gear scan value and the current gear display value.
[0074] In this embodiment, the ultrasonic device provides both a PRF display gear and a PRF scan gear.
[0075] Example 1, the PRF display gears include: 1KHz, 2KHz, 4KHz, 6KHz, 8KHz, 10KHz, 12KHz, 14KHz, 16KHz, 18KHz, 20KHz, and the PRF scan gears also include: 1KHz, 2KHz, 4KHz, 6KHz, 8KHz, 10KHz, 12KHz, 14KHz, 16KHz, 18KHz, 20KHz.
[0076] Of course, the PRF display gear and the PRF scan gear can also be different. In Example 2, the PRF display gears include 1KHz, 2KHz, 4KHz, and 6KHz. The PRF scan gears include: 14KHz, 16KHz, and 18KHz. It can be seen that the PRF display gear and the PRF scan gear can be set separately, and the number of gears and the corresponding gear values can be the same or different.
[0077] Wherein, the current gear scan value described in this embodiment is: the gear value of the currently used scan gear. The current gear display value described in this embodiment is: the gear value of the currently used display gear.
[0078] S102. Within the adjustment range pointed to by the gear adjustment instruction, query the target scan value with the smallest difference from the current gear scan value and not falling into the blind area, and the target display value with the smallest difference from the current gear display value.
[0079] Generally, the gear adjustment instruction is divided into an increase instruction and a decrease instruction. Therefore, the corresponding adjustment range pointed to is: the range greater than the current gear scan value and the current gear display value pointed to by the increase instruction, or the range less than the current gear scan value and the current gear display value pointed to by the decrease instruction.
[0080] Taking the above Example 1 as an example, assuming that the current gear scan value is 10KHz and the current gear display value is 4KHz, if the gear adjustment instruction is a decrease instruction, the scan value adjustment range includes: 1KHz, 2KHz, 4KHz, 6KHz, 8KHz; the display value adjustment range includes: 1KHz, 2KHz. It can be seen that the adjustment range pointed to by the gear adjustment instruction refers to two ranges, one is the respective scan gear values pointed to by the current gear adjustment instruction, and the other is the respective display gear values pointed to by the current gear adjustment instruction.
[0081] S103. If the target scan value and the target display value are queried and the target scan value is not less than the target display value, update the current gear scan value to the target scan value and update the current gear display value to the target display value.
[0082] S104. Perform HPRF mode scanning according to the updated current gear scan value to obtain a scanning signal, and perform spectrogram display on the scanning signal according to the updated current gear display value.
[0083] Taking the above Example 1 as an example, assume that the current gear scanning value is 10KHz, the current gear display value is 4KHz, assume that 2KHz falls into the blind zone, and at the same time the current gear adjustment instruction is a decrease instruction. Then the scanning value adjustment range includes: 1KHz, 2KHz, 4KHz, 6KHz, 8KHz; the display value adjustment range includes: 1KHz, 2KHz. Accordingly, the target scanning value is 8KHz, and the target display value is 2KHz. Then, the HPRF mode is scanned at 8KHz, and the spectrogram of the signal obtained by the scan is displayed at 2KHz.
[0084] Among them, PRF is: Pulse Repetition Frequency, and the number of pulses emitted per second is the reciprocal of the pulse repetition interval. The pulse repetition interval is the time interval between one pulse and the next pulse.
[0085] It can be seen that the blind zone is only judged for the scanning value. For the display value, as long as there is a display value within the range adjusted by the user and this display value satisfies the condition that "the scanning value is not less than the display value", then this display value can be selected, so that stepless adjustment can be achieved. That is: for the user, on the premise of the condition that "the scanning value is not less than the display value" and there are available display gears, each time the gear is adjusted, the display gear increases or decreases by one gear, and there is no gear skipping in terms of perception, and the user experience is better.
[0086] In one implementation, spectrogram display of the scanning signal according to the updated current gear display value includes: calculating the ratio of the updated current gear scanning value to the updated current gear display value; intercepting part of the frequency domain data from the frequency domain range of the scanning signal according to the ratio for spectrogram display, so as to intercept part of the data from more data for spectrogram display, ensuring that the data used for spectrogram display is sufficient, so the spectrogram ratio will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram is reduced.
[0087] Compared with the traditional technology, the above Example 1 is similar but has essential differences. In the traditional technology, there is only the PRF scanning gear, and its display value is the gear value of the PRF scanning gear. So if the RF scanning gears include: 1KHz, 2KHz, 4KHz, 6KHz, then the corresponding display values are 1KHz, 2KHz, 4KHz, 6KHz. However, the adjustment of the PRF scanning gear in the traditional technology will directly cause the adjustment of the display value. That is: the display value changes with the change of the PRF scanning gear. But in this embodiment, the PRF display gear and the PRF scanning gear change independently, and the display value does not change with the change of the PRF scanning gear.
[0088] It can be seen that the PRF display gear provided in this embodiment corresponds to a set of display values, and the PRF scan gear corresponds to a set of scan values. During the process of adjusting the PRF gear, it is always ensured that the current scan value is greater than or equal to the current display value. In this way, when scanning in the HPRF mode with a scan value that does not fall into the blind area, the proportion and effect of the spectrogram display will be better. Because a larger scan value can collect more and richer data, and a smaller display value is used to intercept part of the data from these data for spectrogram display, which can ensure that the data used for spectrogram display is sufficient. Therefore, the spectrogram proportion will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram will be reduced.
[0089] Based on the above embodiment, it should be noted that in one implementation, it further includes: if the target scan value is not queried but the target display value is queried, then when the current gear scan value is not less than the target display value, keep the current gear scan value unchanged and update the current gear display value to the target display value; perform spectrogram display on the signal obtained by scanning the current gear scan value according to the updated current gear display value.
[0090] In one implementation, performing spectrogram display on the signal obtained by scanning the current gear scan value according to the updated current gear display value includes: calculating the ratio of the current gear scan value before update to the current gear display value after update; intercepting part of the frequency domain data from the frequency domain range of the signal obtained by scanning the current gear scan value with the ratio for spectrogram display, so as to intercept part of the data from more data for spectrogram display, ensure that the data used for spectrogram display is sufficient. Therefore, the spectrogram proportion will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram will be reduced.
[0091] Based on the above embodiment, it should be noted that this application requires that "during the process of adjusting the PRF gear, it is always ensured that the current scan value is greater than or equal to the current display value". Therefore, there may be the following multiple situations, which belong to the non-adjustment conditions. For example: the target scan value and the target display value are not queried within the adjustment range; the target scan value and the target display value are queried within the adjustment range, but the target scan value is less than the target display value; the target scan value is not queried within the adjustment range, but the target display value is queried, and at the same time the current gear scan value is less than the target display value; the target scan value is queried within the adjustment range, but the target display value is not queried, and at the same time the target scan value is less than the current gear display value.
[0092] In one implementation, after receiving the gear adjustment instruction, it further includes: if the non-adjustment condition is met, keep the current gear scan value, the current gear display value, and the currently displayed spectrogram unchanged.
[0093] In one implementation, not adjusting the conditions includes at least one of the following: the target scan value and the target display value are not queried; the target scan value and the target display value are queried, but the target scan value is less than the target display value; the target scan value is not queried, but the target display value is queried, and at the same time the current gear scan value is less than the target display value; the target scan value is queried, but the target display value is not queried, and at the same time the target scan value is less than the current gear display value.
[0094] Based on the above embodiments, it should be noted that the inherent blind areas of the HPRF mode include: the parameter preparation stage and the transmission excitation stage. The received echo signal is used inside this blind area. Therefore, within this blind area, the ultrasonic probe should avoid receiving the echo signal. In order to prevent the ultrasonic probe from receiving the echo signal within this blind area, a PRF scan gear with an echo time not within the above-mentioned blind area can be selected from the preset multiple PRF scan gears of the ultrasonic device, and the HPRF mode scan is performed with the selected PRF scan gear.
[0095] Among them, the parameter preparation stage is used to prepare the transmission and reception parameters required by the ultrasonic diagnostic system, and the transmission excitation stage generates transmitted sound waves by the ultrasonic transducer (set in the ultrasonic probe) to irradiate the object to be detected. Therefore, these two stages are not suitable for receiving echo signals, or the received echo signals are unstable at this time and will be interfered by the transmitted pulses and are not suitable for detection imaging. Therefore, these two are defined as the blind areas in the HPRF mode. If, at a certain scan PRF value in the HPRF mode, the calculated echo reception time is within this blind area, then this scan PRF value is invalid, and the corresponding PRF scan gear cannot be adopted.
[0096] In this application, not only the parameter preparation stage and the transmission excitation stage are considered, but also whether interference signals will be received in the echo reception stage is considered. Accordingly, the new set of blind areas in the HPRF mode can be seen in Figure 2 . In Figure 2 , the time interval between two adjacent transmissions is 1 / PRF. And each time a transmission occurs, there is a parameter preparation stage and a transmission excitation stage. Therefore, there is this blind area every time a transmission occurs. At the same time, after each transmission, it is possible to receive an echo signal with interference signals. Therefore, after each transmission, there may be a blind area A (that is, the time of receiving interference signals). Correspondingly, the PRF scan gears with the echo reception time within the new blind area cannot be adopted, that is: discard the PRF scan gears with interference signals in the echo reception stage and the PRF scan gears with the echo reception time conflicting with the parameter preparation stage and the transmission excitation stage.
[0097] In one embodiment, the process of determining the blind area includes: determining the blind area based on the reception time of interference signals in the parameter preparation stage, the transmission excitation stage, and / or the echo reception stage. That is, the blind area includes the reception time of interference signals in the parameter preparation stage, the transmission excitation stage, and / or the echo reception stage.
[0098] In one embodiment, the process of determining the reception time includes: if the depth position of the object to be measured is determined, select a scan gear value that matches the depth position to perform PW scanning on the object to be measured; detect the interference signals in the echo signals collected during the PW scanning, and determine the reception time of the interference signals. Among them, the scan gear value can be selected from the PRF scan gears in the PW scanning mode.
[0099] Use an ultrasound device to perform Doppler imaging on the object to be measured (such as a blood vessel). The ultrasound device can immediately measure the depth position of the object to be measured, and at the same time, the user can see the object to be measured on the display screen of the ultrasound device. Doppler imaging is the pulsed Doppler imaging technique, which is used to detect the motion information of blood flow or tissues. Its principle is to calculate the motion speed of blood flow or tissues according to the Doppler frequency shift value of the detected echo.
[0100] Please refer to Figure 3 , the blood vessel at the Depth1 depth position is the object to be measured. This object to be measured will reflect the pulse emitted by the ultrasound probe for the ultrasound probe to receive, and its position is marked with a real sampling frame; the virtual sampling frame at the Depth2 depth position is on the same sampling line as the real sampling frame, and the blood vessel or tissue at this virtual sampling frame will also reflect the pulse emitted by the ultrasound probe. Of course, Figure 3 There may also be other virtual sampling frames on the sampling line shown.
[0101] It can be seen that the echoes corresponding to the virtual sampling frame and the real sampling frame will both be received by the ultrasound probe. However, since the blood vessel or tissue at this virtual sampling frame is not the object to be measured, the echo corresponding to the virtual sampling frame will affect the echo corresponding to the real sampling frame. That is: the echo corresponding to the virtual sampling frame is the interference signal of the echo corresponding to the real sampling frame, and it will affect the imaging quality of the real sampling frame echo. In order to improve the imaging quality, it is necessary to eliminate the echo corresponding to the virtual sampling frame as much as possible.
[0102] For this reason, in this embodiment, the object to be measured is first subjected to PW scanning to detect the echo of the virtual sampling frame (i.e., the interference signal), so as to avoid using the PRF scan gear that will generate this echo in the HPRF mode to reduce the echo of the virtual sampling frame.
[0103] Among them, a suitable PRF value needs to be used when performing PW scanning on the object to be measured. Then, how to select a suitable PRF value for PW scanning? It can be determined based on the current depth position of the object to be measured.
[0104] Generally, considering that it takes a certain amount of time for the pulse signal transmitted by the ultrasonic probe to travel to and fro, when the depth position of the object to be measured is known, the scanning limit value corresponding to the current depth position is: PRF Limit = C / Depth SampleGate / 2. Wherein, PRF limit is the maximum available PRF value for detecting the depth position Depth sampleGate of the object to be measured, and the current depth position is Depth SampleGate . Correspondingly, when the PRF value used for scanning is known, the maximum detectable depth is: Depth PRF = C / PRF / 2. Wherein, C is the signal transmission speed, and Depth PRF is the PRF value used for scanning. It can be seen that the detectable depth is related to the PRF value used for scanning. That is: The maximum depth that a pulse signal can detect is half of the propagation distance of the pulse signal within the propagation time.
[0105] It should be noted that there are multiple PRF scanning gears preset in the ultrasonic device. For example, there are 30 PRF scanning gears set, and the scanning values of each gear are: 1, 2, 3…, 30. Of course, the gear settings of different ultrasonic devices may vary, but the purpose is to allow the user to select a suitable PRF scanning gear for ultrasonic scanning.
[0106] Therefore, after calculating the maximum available PRF value of the depth position of the object to be measured, a gear value not greater than the scanning limit value can be selected from each gear value for PW scanning. Of course, if the ultrasonic device supports the user to manually set the PRF scanning value, the calculated scanning limit value can also be directly used for PW scanning, so that a larger blood flow velocity can be detected.
[0107] In one implementation, selecting the scanning gear value matching the depth position includes: calculating the scanning limit value corresponding to the depth position; and selecting, from each gear value in the preset scanning gear list, a gear value not greater than the scanning limit value as the scanning gear value. The preset scanning gear list is the scanning gear list. Wherein, the preset scanning gear list is: a list composed of the gear values of each PRF scanning gear.
[0108] In one implementation, selecting, from each gear value in the preset scanning gear list, a gear value not greater than the scanning limit value as the scanning gear value includes: selecting, from each gear value, the largest gear value not greater than the scanning limit value as the scanning gear value to select a PRF value capable of detecting a larger motion speed; or randomly selecting, from each gear value, a gear value not greater than the scanning limit value as the scanning gear value.
[0109] Among them, the closer the selected gear value is to the scanning limit value, the greater the movement speed of the blood flow or tissue that can be detected. For details, please refer to Figure 4 , when the PRF value is known, the maximum moving speed of the blood flow or tissue that can be detected is:
[0110]
[0111] Among them, C is the sound wave transmission speed, PRF is the known PRF value, θ is the included angle between the sampling line and the movement direction of the mass points (red blood cells or tissue cells) of the object to be measured, and f C is the emission pulse frequency. It can be seen from this formula that: the larger the PRF value, the greater the maximum movement speed that can be detected.
[0112] Among them, the above formula is determined based on the Nyquist sampling theorem and the relationship between the Doppler frequency shift and the object movement speed.
[0113] Specifically, the relationship between the Doppler frequency shift and the object movement speed is expressed by the formula:
[0114]
[0115] Among them, C is the sound wave transmission speed, f C is the emission pulse frequency, θ is the included angle between the sampling line and the movement direction of the mass points (red blood cells or tissue cells) to be detected of the object to be measured, v is the movement speed of the mass points to be detected, and f d is the Doppler frequency shift value.
[0116] Also based on the Nyquist sampling theorem: the sampling frequency should be at least greater than or equal to 2 times the signal frequency to correctly sample the signal. For the PW scanning mode, its sampling frequency is PRF, and the Doppler frequency shift value of the signal that can be correctly detected is not greater than PRF / 2, then there is:
[0117]
[0118] It can be seen that substituting into can obtain
[0119] Also, because Depth PRF = C / PRF / 2, then it can be known that there are the following limitations during PW scanning: the larger the PRF value, the smaller the detectable distance, but the greater the movement speed of the blood flow or tissue that can be detected. Therefore, when the depth of the blood vessel position where a certain flow rate is greater than v max is greater than Depth PRFWhen this happens, the PW mode will not work properly. That is to say, the PW mode cannot correctly detect the motion information of objects with a relatively large depth and high flow velocity. It is because of this limitation of PW scanning that the HPRF mode is provided in the ultrasound settings. The HPRF mode repeats the transmission of pulses at a relatively high PRF interval, which is a prerequisite for detecting moving objects with higher flow velocities.
[0120] Normally, both the PW mode and the HPRF mode are provided in ultrasound devices, and both modes can perform Doppler imaging. The PW mode follows the limitation of transmitting once and receiving once. The adjacent two transmitted pulses do not affect each other, and the time interval between two adjacent transmissions is the reciprocal of the PRF. However, there is a certain limitation on the flow velocity of the objects that can be detected. The HPRF mode no longer follows the limitation of transmitting once and receiving once, but continuously transmits pulse signals at a predetermined time interval to detect moving objects with higher flow velocities.
[0121] Please refer to Figure 5 , if the first PRF1 is transmitted to the position with a depth of Depth1 according to the PW mode, then the reception time of the corresponding PW target echo is: 2*Depth1 / C. After receiving this PW target echo, the ultrasound probe then sends the second pulse signal. Among them, the time interval between the first transmission and the second transmission is 1 / PRF1, and 2*Depth1 / C must be earlier than 1 / PRF1.
[0122] Please refer to Figure 5 , if the first PRF2 is transmitted to the position of Depth1 according to the HPRF mode, then the reception time of the corresponding HPRF target echo is also: 2*Depth1 / C. If the second PRF2 is transmitted to the position of Depth2 according to the HPRF mode, then the reception time of the corresponding HPRF target echo is: 2*Depth2 / C. Among them, the time interval between the first transmission and the second transmission is 1 / PRF2, and 2*Depth1 / C may be later than 1 / PRF2. That is to say: before the echo of the first time is received, the second pulse has already been transmitted. Then the pulses of these two transmissions are reflected by Depth1 and Depth2 at different depths, and their echoes may reach the ultrasound probe at the same time. This is: in the HPRF mode, the ultrasound probe may receive the echoes reflected by the actual object under inspection and the echoes reflected by the interfering object at the same time.
[0123] Specifically, in combination with Figure 3 and Figure 5 , assume that the pulse transmitted to Depth1 in the HPRF mode is PRF2 transmitted at the 0 moment, and the transmission time interval is 1 / PRF2. Then according to the sound wave propagation speed and the depth position of the blood vessel under test, it can be known that: the echo caused by the first pulse needs to be received by the probe at 2*Depth1 / C time.
[0124] Also, in the HPRF mode, 1 / PRF2 may be less than 2*Depth1 / C. Then, at the moment of 2*Depth1 / C, in addition to receiving the reflected echo caused by the first pulse at the depth of Depth1, the probe may also receive the reflected echo caused by the second pulse at the depth of Depth2. That is: the reflected echoes at these two positions are received by the probe simultaneously. And the reflected echo at the Depth2 position is an interference signal for the reflected echo to be detected at the Depth1 position. Therefore, in the HPRF mode, a virtual sampling frame is generally drawn at the Depth2 position to tell the user that the current HPRF echo will be mixed with the interference echo at the position of the virtual sampling frame.
[0125] As described above, in order to reduce the interference of this interference echo, the present application first performs PW scanning on the object to be measured to detect the virtual sampling frame echo, so as to avoid using the PRF scanning gear that will generate this echo in the HPRF mode, thereby reducing this interference echo.
[0126] Based on the above embodiments, it should be noted that the methods for detecting interference signals include: performing frequency-domain analysis and / or time-domain analysis on the echo signals collected during PW scanning, so as to determine the signals with higher spectral energy and / or higher time-domain standard deviation, and determining such signals as interference signals (i.e., interference signals).
[0127] In one implementation, detecting interference signals in the echo signals collected during PW scanning includes: performing frequency-domain analysis on the echoes reflected from each preset detection point in the echo signals. If the mean value of the spectral energy of any echo exceeds the first threshold, then determining that echo as an interference signal; and / or performing time-domain analysis on the echoes reflected from each preset detection point in the echo signals. If the time-domain standard deviation of any echo exceeds the second threshold, then determining that echo as an interference signal.
[0128] Based on the above embodiments, it should be noted that querying the target scan value with the smallest difference from the current gear scan value and not falling into the blind area includes: respectively determining whether each gear value within the adjustment range falls into the blind area; and determining the gear value with the smallest difference from the current gear scan value and not falling into the blind area as the target scan value.
[0129] In one implementation, respectively determining whether each gear value within the adjustment range falls into the blind area includes: determining the echo reception time of the ultrasonic wave transmitted to the depth position; for each gear value within the adjustment range, calculating the remainder of the echo reception time divided by any gear value; if the remainder falls into the blind area, then determining that gear value falls into the blind area; otherwise, determining that gear value does not fall into the blind area.
[0130] It should be noted that after the depth position of the object to be measured is known, the parameter preparation stage, the emission excitation stage, and the echo reception time can all be calculated, and thus the blind zone is calculated.
[0131] Combined with Figure 2 as shown, define the starting time of the scan line as time 0, and the blind zone time range is [0, T Blind , and set the starting time of emission as T Tx , then the echo reception time at a depth of Depth is T Tx +Depth / C*2. Considering that when emitting at intervals of 1 / PRF, the time scale is the range [0, 1 / PRF], then for any PRF scan gear value, the quantized N PRF needs to satisfy N Blind ≤mod(N Gate , N PRF )≤N PRF in order to avoid a new blind zone. Among them, mod is the remainder function, and N Gate is the echo reception time corresponding to the current depth Depth.
[0132] Generally, based on the quantization clock Fs, the above time values are quantized into unified values, and the corresponding relationship of the quantized parameters is: N Blind =round(T Blind *Fs); N Gate =round((T Tx +Depth / C*2)*Fs); N PRF =round(Fs / PRF).
[0133] For example: Suppose in a certain ultrasonic diagnostic system, the quantization clock Fs is 40MHz, the sound speed C is 1540m / s, the blind zone N Blind is [0, 1100], the starting time of emission is 10us, the actual sampling frame depth is 160mm, and the PRF scan gears in this system are 1KHz, 2KHz, 4KHz, 6KHz, 8KHz, 10KHz, 12KHz, 14KHz, 16KHz.
[0134] Accordingly, N Gate =8712 can be calculated, and the judgment results of whether the above scan gears are valid are shown in Table 1.
[0135] Table 1
[0136] Each scanning gear value <![CDATA[N PRF > <![CDATA[mod(N Gate ,N PRF )]]> Whether in the blind area 1KHz 40000 8712 Not in the blind area, valid 2KHz 20000 8712 Not in the blind area, valid 4KHz 10000 8712 Not in the blind area, valid 6KHz 6667 2045 Not in the blind area, valid 8KHz 5000 3712 Not in the blind area, valid 10KHz 4000 712 In the blind area, invalid 12KHz 3333 2046 Not in the blind area, valid 14KHz 2857 141 In the blind area, invalid 16KHz 2500 1212 Not in the blind area, valid
[0137] It can be seen that, based on this, the scanning PRF gears with interfering signals and the scanning PRF gears whose echo reception time conflicts with the parameter preparation stage and the transmission excitation stage can be excluded from each PRF scanning gear, so as to select the scanning values that do not fall into the blind area for HPRF mode scanning.
[0138] Based on the method provided in this application, the following solution can be designed and implemented. This solution separates the scanning PRF from the display PRF, so that in the HPRF mode, when the user adjusts the PRF gear, the displayed PRF value can gradually change in sequence, achieving a similar effect to that in the PW mode. However, the PRF value used for background scanning still does not fall within the "blind area" limit in the HPRF mode. From the user's perspective, it can present an effect of adjustable gears one by one, without skipping gears visually, and the user experience is better. At the same time, during the gear adjustment process, it is always ensured that the current scanning value is greater than or equal to the current displayed value to ensure clear spectrogram display.
[0139] In this embodiment, it is set that in the HPRF mode, the PRF value used for scanning is denoted as PRF scan (i.e., the scanning value), and the PRF value used for display is denoted as PRF scale (i.e., the displayed value). And, each gear of PRF scan and PRF scale is 1KHz, 2KHz, 4KHz, 6KHz, 8KHz, 10KHz, 12KHz, 14KHz, 16KHz, 18KHz, 20KHz, 22KHz, 24KHz, 26KHz, 28KHz, 30KHz.
[0140] Accordingly, assuming that the current gear scanning value is PRF_cur, its determination process is as follows:
[0141] Step 1: Determine whether the user wants to increase or decrease the PRF gear. When increasing the PRF gear, go to Step 2; when decreasing the PRF gear, go to Step 3.
[0142] Step 2: Among all the gear values greater than PRF_cur, find the smallest PRF value that does not fall into the "blind area", denoted as PRF_Valid_min. If there is a PRF value that meets this condition, set this value as PRF_next = PRF_Valid_min and go to Step 4. If there is no PRF value that meets this condition, keep the current scanning value unchanged.
[0143] Step 3: Among all gear values smaller than PRF_cur, find the largest PRF value that does not fall into the "blind zone", denoted as PRF_Valid_max. Since the minimum value of each gear value of the PRF set by the ultrasonic system is relatively small, generally, a PRF value that does not fall into the "blind zone" limit can always be found. Set the largest valid PRF value found in this step as PRF_next = PRF_Valid_max, and go to Step 5.
[0144] Step 4: Use the PRF_next value as the adjusted new scanning value.
[0145] Step 5: Use the PRF_next value as the adjusted new scanning value.
[0146] If the scanning value is directly used as the display value, the comparison chart before and after adjustment can be seen in Figure 6 . From Figure 6 , it can be seen that although the adjusted 20KHz does not fall into the blind zone, its spectrogram ratio is not good, and the displayed spectrogram is relatively flat, which is not conducive to observation.
[0147] In this embodiment, there is still a gear jump in the selection of the scanning value, and due to the blind zone limit, the gear jump of the scanning value will inevitably exist, but the gear jump is not perceived by the user, and its gear jump does not affect the user's perception. Therefore, in this embodiment, only the display value is not allowed to have a gear jump. That is: when the user adjusts the PRF gear, the user feels the change of PRF scale , while the actual scanning value used in the background is still selected according to the blind zone limit and "the current gear scanning value is greater than or equal to the current gear display value", without considering whether there is a gear jump. This adjustment process can be referred to Figure 7 as shown. As Figure 7 shown, the display value changes gradually, but the scanning value can be variable or unchanged, as long as it is ensured that: the scanning value before and after adjustment is greater than or equal to the display value.
[0148] The fact that the current gear scanning value is greater than or equal to the current gear display value defined in this embodiment can be expressed by the formula: PRF Scan ≥PRF Scale .
[0149] Then, according to the ratio relationship between the scanning value and the display value, the frequency domain data can be selected for spectrogram display. For example: set the spectrogram display factor DispFactor as: DispFactor = PRF Scan / PRF Scale , then according to the display factor DispFactor, the frequency domain data with the size of DispFactor within the frequency domain range corresponding to PRF Scan can be selected for spectrogram display.
[0150] Please refer to Figure 8 , which satisfies PRFScan ≥PRF Scale When ≥PRF, comparing the spectrogram displayed by the scanning value with the spectrogram displayed by the display value, the spectrogram displayed by the display value has a better proportion and is easier to observe.
[0151] Please refer to Figure 9 , the linkage adjustment process of the scanning value and the display value provided in this embodiment includes:
[0152] Assume that the current gear scanning value is PRF Scan , the display value is PRF Scale , and PRF Scan ≥PRF Scale ., PRF scan and PRF scale For each gear of are 1KHz, 2KHz, 4KHz, 6KHz, 8KHz, 10KHz, 12KHz, 14KHz, 16KHz, 18KHz, 20KHz, 22KHz, 24KHz, 26KHz, 28KHz, 30KHz.
[0153] Step 1: Determine whether the user wants to increase or decrease the gear. When increasing the gear, go to Step 2; when decreasing the gear, go to Step 7.
[0154] Step 2: Determine whether the current gear scanning value is greater than the display value. If so, go to Step 3; otherwise, go to Step 4.
[0155] Step 3: Keep the current scanning value unchanged and increase the display value by one gear.
[0156] Step 4: In all gears greater than PRF Scan in the current system, check whether there is an effective gear that does not fall within the "blind area" limit. If so, record it as PRF ScanNext , go to Step 5; if no effective gear can be found, go to Step 6.
[0157] Step 5: Set PRF Next as the new scanning value, and at the same time increase the display value by one gear.
[0158] Step 6: Keep the current scanning value and display value unchanged, that is: the user's adjustment has no effect. At this time, a corresponding prompt message can be popped up to prompt the user that it is not adjustable currently.
[0159] Step 7: Directly decrease the display value by one gear. The decreased display value is recorded as PRF ScaleNext , and then go to Step 8.
[0160] Step 8: Select PRF ScanNext smaller than the current gear scanning value, and judge PRF ScanNextWhether it does not fall within the "blind zone" limit. If it does not, go to Step Nine; otherwise, go to Step Ten.
[0161] Step Nine: If the PRF ScanNext is not less than the PRF ScaleNext , set the scan value to the PRF ScanNext , and set the display value to the PRF ScaleNext ; otherwise, go to Step Ten.
[0162] Step Ten: Keep the scan value unchanged and update the display value to the PRF ScaleNext .
[0163] It can be seen that in this embodiment, it can be achieved that when the user adjusts the PRF gear in the HPRF mode, the adjustment effect similar to that in the PW mode can be achieved, so that the user cannot feel the gear jump, and the displayed spectrogram also has the optimal display effect.
[0164] In one embodiment, a spectrogram display method can be provided as follows. The spectrogram display method is applied to ultrasonic devices in medical institutions, scientific research institutions, etc. The ultrasonic device is connected to a control terminal in a wired or wireless manner. The ultrasonic device includes a probe, a host, and a display. The control terminal can be a panel dedicated to controlling the ultrasonic device, or a mobile phone, a tablet, etc. used by doctors.
[0165] The specific spectrogram display process can include:
[0166] Step 1: The doctor inputs a gear adjustment instruction through the control terminal, and the control terminal sends the gear adjustment instruction to the ultrasonic device, so that the host of the ultrasonic device determines the current gear scan value and the current gear display value.
[0167] Step 2: The host of the ultrasonic device determines the range of increasing gears or the range of decreasing gears pointed to by the gear adjustment instruction.
[0168] Step 3: The main unit of the ultrasonic device queries, within the determined range, for the target scan value with the smallest difference from the current gear scan value and not falling into the blind area, and the target display value with the smallest difference from the current gear display value. If the target scan value and the target display value are queried and the target scan value is not less than the target display value, the current gear scan value is updated to the target scan value, and the current gear display value is updated to the target display value; the probe is controlled to perform HPRF mode scanning according to the updated current gear scan value to obtain a scanning signal, and then the main unit of the ultrasonic device performs spectrogram display of the scanning signal on the display according to the updated current gear display value. If the main unit of the ultrasonic device does not query the target scan value but queries the target display value, and the current gear scan value is not less than the target display value, the main unit of the ultrasonic device keeps the current gear scan value unchanged and updates the current gear display value to the target display value; the signal obtained by scanning the current gear scan value is spectrogram-displayed on the display according to the updated current gear display value.
[0169] Step 4: If the main unit of the ultrasonic device finds that the non-adjustment conditions are met within the determined range, the current gear scan value, the current gear display value, and the currently displayed spectrogram remain unchanged. The non-adjustment conditions include at least one of the following: the target scan value and the target display value are not queried; the target scan value and the target display value are queried, but the target scan value is less than the target display value; the target scan value is not queried, but the target display value is queried, and at the same time the current gear scan value is less than the target display value; the target scan value is queried, but the target display value is not queried, and at the same time the target scan value is less than the current gear display value.
[0170] It can be seen that during the PRF gear adjustment process in this embodiment, it is always ensured that the current scan value is greater than or equal to the current display value. In this way, when performing HPRF mode scanning with a scan value that does not fall into the blind area, the proportion and effect of the spectrogram display will be better. Because a larger scan value can collect more and richer data, and a smaller display value is used to intercept part of the data from these data for spectrogram display, it can ensure that the data used for spectrogram display is sufficient. Therefore, the spectrogram proportion will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram is reduced.
[0171] Furthermore, the blind area in this embodiment includes: the receiving time of interference signals in the parameter preparation stage, the transmit excitation stage, and / or the echo reception stage. It not only considers the parameter preparation stage and the transmit excitation stage, but also considers whether interference signals will be received in the echo reception stage. Therefore, by scanning with the selected scan value, signals with higher accuracy can be obtained, thereby further improving the spectrogram display effect. The specific blind area determination process and other implementation steps of this embodiment can refer to the relevant introduction of the above embodiment, and will not be elaborated here.
[0172] Please refer toFigure 10 , Figure 10 Schematic diagram of a spectrogram display device provided by an embodiment of the present application, including:
[0173] A determination module 1001, configured to determine a current gear scanning value and a current gear display value if a gear adjustment instruction is received;
[0174] A query module 1002, configured to query, within an adjustment range pointed to by the gear adjustment instruction, a target scanning value with the smallest difference from the current gear scanning value and not falling into a blind area, and a target display value with the smallest difference from the current gear display value;
[0175] An update module 1003, configured to update the current gear scanning value to the target scanning value and update the current gear display value to the target display value if the target scanning value and the target display value are queried and the target scanning value is not less than the target display value;
[0176] A display module 1004, configured to perform HPRF mode scanning according to the updated current gear scanning value to obtain a scanning signal, and perform spectrogram display on the scanning signal according to the updated current gear display value.
[0177] In an implementation manner, it further includes:
[0178] Another update module, configured to, if the target scanning value is not queried but the target display value is queried, keep the current gear scanning value unchanged and update the current gear display value to the target display value when the current gear scanning value is not less than the target display value; perform spectrogram display on the signal obtained by scanning the current gear scanning value according to the updated current gear display value.
[0179] In an implementation manner, it further includes:
[0180] A holding module, configured to, after receiving a gear adjustment instruction, keep the current gear scanning value, the current gear display value, and the currently displayed spectrogram unchanged if the non-adjustment condition is met.
[0181] In an implementation manner, the non-adjustment condition includes at least one of the following:
[0182] The target scanning value and the target display value are not queried;
[0183] The target scanning value and the target display value are queried, but the target scanning value is less than the target display value;
[0184] The target scanning value is not queried, but the target display value is queried, and at the same time, the current gear scanning value is less than the target display value;
[0185] The target scanning value is queried, but the target display value is not queried, and at the same time, the target scanning value is less than the current gear display value.
[0186] In one embodiment, the display module is specifically configured to:
[0187] Calculate the ratio of the updated current gear scan value to the updated current gear display value;
[0188] Intercept partial frequency domain data from the frequency domain range of the scanning signal according to the ratio for spectrogram display.
[0189] In one embodiment, the determination process of the blind area includes:
[0190] Determine the blind area based on the reception time of interference signals in the parameter preparation stage, the transmit excitation stage, and / or the echo reception stage.
[0191] In one embodiment, it further includes: a determination module for determining the reception time, and this module includes:
[0192] A selection unit, configured to, if the depth position of the object to be measured is determined, select a scan gear value matching the depth position to perform PW scan on the object to be measured;
[0193] A detection unit, configured to detect interference signals in the echo signals collected during the PW scan and determine the reception time of the interference signals.
[0194] In one embodiment, the selection unit includes:
[0195] A calculation subunit, configured to calculate the scan limit value corresponding to the depth position;
[0196] A selection subunit, configured to select, from each gear value in the preset scan gear list, a gear value not greater than the scan limit value as the scan gear value.
[0197] In one embodiment, the selection subunit is specifically configured to:
[0198] Select, from each gear value, the largest gear value not greater than the scan limit value as the scan gear value.
[0199] In one embodiment, the selection subunit is specifically configured to:
[0200] Randomly select, from each gear value, a gear value not greater than the scan limit value as the scan gear value.
[0201] In one embodiment, the detection unit is specifically configured to:
[0202] Perform frequency domain analysis on the echoes reflected by each preset detection point in the echo signal. If the average spectral energy of any echo exceeds the first threshold, determine that this echo is an interference signal.
[0203] In one embodiment, the detection unit is specifically configured to:
[0204] Perform time-domain analysis on the echoes reflected by each preset detection point in the echo signal. If the time-domain standard deviation of any echo exceeds the second threshold, determine that the echo is an interference signal.
[0205] In one embodiment, the query module includes:
[0206] A judgment unit for respectively judging whether each gear value within the adjustment range falls into the blind area;
[0207] A determination unit for determining the gear value with the smallest difference from the current gear scan value and not falling into the blind area as the target scan value.
[0208] In one embodiment, the judgment unit is specifically configured to:
[0209] Determine the echo reception time of the ultrasonic wave transmitted to the depth position; for each gear value within the adjustment range, calculate the remainder of the echo reception time divided by any gear value; if the remainder falls into the blind area, determine that the gear value falls into the blind area; otherwise, determine that the gear value does not fall into the blind area.
[0210] Wherein, for the more specific working processes of each module and unit in this embodiment, reference can be made to the corresponding content disclosed in the foregoing embodiments, and details will not be elaborated herein.
[0211] It can be seen that this embodiment provides a spectrogram display device, which can ensure sufficient data for spectrogram display. Therefore, the spectrogram ratio will be more appropriate, the spectrogram will be clearer, and the difficulty of observing the spectrogram is reduced.
[0212] Furthermore, the embodiment of the present application also provides an electronic device. Among them, the above-mentioned electronic device can be either the Figure 11 shown server 50 or the Figure 12 shown terminal 60. Figure 11 and Figure 12 are both structural diagrams of electronic devices shown according to an exemplary embodiment, and the content in the figures cannot be considered as any limitation to the scope of use of the present application.
[0213] Figure 11 This is a schematic structural diagram of a server provided by an embodiment of the present application. The server 50 may specifically include: at least one processor 51, at least one memory 52, a power supply 53, a communication interface 54, an input / output interface 55, and a communication bus 56. Among them, the memory 52 is used to store a computer program, and the computer program is loaded and executed by the processor 51 to implement the relevant steps in the spectrogram display disclosed in any of the foregoing embodiments.
[0214] In this embodiment, the power supply 53 is used to provide operating voltage for each hardware device on the server 50; the communication interface 54 can create a data transmission channel between the server 50 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and no specific limitation is imposed on it here; the input / output interface 55 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application requirements, and no specific limitation is imposed here.
[0215] In addition, the memory 52, as a carrier for resource storage, can be a read-only memory, a random access memory, a disk, or an optical disc, etc. The resources stored thereon include an operating system 521, a computer program 522, and data 523, etc. The storage method can be temporary storage or permanent storage.
[0216] Among them, the operating system 521 is used to manage and control each hardware device and the computer program 522 on the server 50 to enable the processor 51 to perform operations and processing on the data 523 in the memory 52. It can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program capable of implementing the spectrogram display method disclosed in any of the foregoing embodiments, the computer program 522 can further include a computer program capable of performing other specific tasks. In addition to data such as update information of application programs, the data 523 can also include data such as developer information of application programs.
[0217] Figure 12 It is a schematic structural diagram of a terminal provided in an embodiment of this application. The terminal 60 can specifically include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer, etc.
[0218] Generally, the terminal 60 in this embodiment includes: a processor 61 and a memory 62.
[0219] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 may be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0220] The memory 62 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 62 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In this embodiment, the memory 62 is at least used to store the following computer program 621. After the computer program is loaded and executed by the processor 61, it can implement the relevant steps in the spectrogram display method executed by the terminal side disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 62 may further include an operating system 622 and data 623, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 622 may include Windows, Unix, Linux, etc. The data 623 may include, but is not limited to, update information of the application program.
[0221] In some embodiments, the terminal 60 may further include a display screen 63, an input / output interface 64, a communication interface 65, sensors 66, a power supply 67, and a communication bus 68.
[0222] Those skilled in the art can understand that Figure 12 the structure shown in
[0223] Further, the embodiment of the present application also discloses a storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the spectrogram display method disclosed in any of the foregoing embodiments is implemented. For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details will not be elaborated herein.
[0224] It should be noted that the above are only the preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0225] In this specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference may be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and reference may be made to the description of the method part for related parts.
[0226] In this article, specific examples are used to elaborate on the principle and implementation mode of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be construed as a limitation of the present application.
Claims
1. A spectrogram display method, characterized in that, Including: If a gear adjustment instruction is received, determine the current gear scan value and the current gear display value; Within the adjustment range indicated by the gear adjustment instruction, query the target scan value with the smallest difference from the current gear scan value and not falling into the blind zone, and the target display value with the smallest difference from the current gear display value; If the target scan value and the target display value are queried and the target scan value is not less than the target display value, update the current gear scan value to the target scan value and update the current gear display value to the target display value; Perform HPRF mode scanning according to the updated current gear scan value to obtain a scanning signal, and perform spectrogram display on the scanning signal according to the updated current gear display value.
2. The method according to claim 1, wherein Also including: If the target scan value is not queried but the target display value is queried, and the current gear scan value is not less than the target display value, keep the current gear scan value unchanged and update the current gear display value to the target display value; Perform spectrogram display on the signal obtained by scanning the current gear scan value according to the updated current gear display value.
3. The method according to claim 1, wherein After receiving the gear adjustment instruction, it also includes: If the non-adjustment condition is met, keep the current gear scan value, the current gear display value, and the currently displayed spectrogram unchanged.
4. The method according to claim 3, characterized in that, The non-adjustment condition includes at least one of the following: The target scan value and the target display value are not queried; The target scan value and the target display value are queried, but the target scan value is less than the target display value; The target scan value is not queried, but the target display value is queried, and at the same time the current gear scan value is less than the target display value; The target scan value is queried, but the target display value is not queried, and at the same time the target scan value is less than the current gear display value.
5. The method according to claim 1, wherein The performing spectrogram display on the scanning signal according to the updated current gear display value includes: Calculate the ratio of the updated current gear scan value to the updated current gear display value; Intercept partial frequency domain data from the frequency domain range of the scanning signal according to the ratio for spectrogram display.
6. The method according to any one of claims 1 to 5, characterized in that, The determination process of the blind zone includes: Determine the blind zone based on the reception time of interference signals in the parameter preparation stage, the transmit excitation stage, and / or the echo reception stage.
7. The method according to claim 6, wherein The determination process of the reception time includes: If the depth position of the measured object is determined, select a scanning gear value matching the depth position to perform PW scanning on the measured object; Detect the interference signal in the echo signal collected during the PW scanning process and determine the reception time of the interference signal.
8. The method according to claim 7, wherein The selecting a scanning gear value matching the depth position includes: Calculate the scanning limit value corresponding to the depth position; Among the gear values corresponding to the preset scanning gear list, select the gear value not greater than the scanning limit value as the scanning gear value; the preset scanning gear list includes: the gear values of each scanning gear.
9. The method according to claim 8, wherein Among the gear values corresponding to the preset scan gear list, selecting a gear value not greater than the scan limit value as the scan gear value includes: Among the gear values, selecting the largest gear value not greater than the scan limit value as the scan gear value; Or Randomly selecting a gear value not greater than the scan limit value among the gear values as the scan gear value.
10. The method according to claim 7, wherein Detecting interference signals in the echo signals collected during the PW scan includes: Performing frequency-domain analysis and / or time-domain analysis on the echoes reflected by each preset detection point in the echo signal. If the mean value of the spectral energy of any echo exceeds the first threshold and / or if the time-domain standard deviation of any echo exceeds the second threshold, then determine that the echo is an interference signal.
11. The method according to claim 7, characterized in that Querying a target scan value that has the smallest difference from the current gear scan value and does not fall into the blind area includes: Respectively determining whether each gear value within the adjustment range falls into the blind area; the adjustment range includes: each scan gear value pointed to by the gear adjustment command and each display gear value pointed to by the gear adjustment command; Determining the gear value that has the smallest difference from the current gear scan value and does not fall into the blind area as the target scan value.
12. The method according to claim 11, wherein The step of respectively determining whether each gear value within the adjustment range falls into the blind area includes: Determining the echo reception time of the ultrasonic wave transmitted to the depth position; For each gear value within the adjustment range, calculating the remainder of the echo reception time divided by any gear value; If the remainder falls within the blind area, determine that the gear value falls into the blind area; otherwise, determine that the gear value does not fall into the blind area.
13. A spectrogram display device, characterized in that, It includes: A determination module, configured to determine the current gear scan value and the current gear display value if a gear adjustment command is received; A query module, configured to query, within the adjustment range pointed to by the gear adjustment command, a target scan value that has the smallest difference from the current gear scan value and does not fall into the blind area, and a target display value that has the smallest difference from the current gear display value; An update module, configured to update the current gear scan value to the target scan value and update the current gear display value to the target display value if the target scan value and the target display value are queried and the target scan value is not less than the target display value; A display module, configured to perform HPRF mode scanning according to the updated current gear scan value to obtain a scan signal, and perform spectrogram display on the scan signal according to the updated current gear display value.
14. An electronic device, characterized in that, The electronic device includes a processor and a memory; wherein, the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the method according to any one of claims 1 to 12.
15. A storage medium, characterized in that, The computer-executable instructions are stored in the storage medium, and when the computer-executable instructions are loaded and executed by the processor, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Pulse repetition frequency adjustment method and high pulse Doppler imaging device
CN103356242A
Pulse repetition frequency adjusting method and device for ultrasonic color blood flow imaging
CN106580372A