Callback display method and device of ultrasonic system, electronic equipment and storage medium
Patent Information
- Application Number
- CN202311857672.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
In the scenario where callback historical ultrasound data is used for ultrasound image display, the prior art cannot accurately obtain hardware-related parameters, resulting in poor image display effect.
Decoupled display of hardware-associated parameters when historical ultrasound data is generated in the decoupled parameter package and obtain matching parameters from the package during callback display.
Improve the accuracy and effect of ultrasonic image display, ensure that the hardware correlation parameters match historical ultrasonic data, and achieve more accurate image callback display.
Smart Images

Figure CN120236734A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of ultrasound technology, and particularly to a callback display method, device, electronic device, and computer-readable storage medium for an ultrasound system. Background Art
[0002] In the traditional ultrasound device inspection method, the hardware-related parameters used for ultrasound image display are all collected by the ultrasound image system from the hardware. However, due to the diversity of the functions of the ultrasound image system, in the complex scenario of callback of historical ultrasound data for ultrasound image display, it is impossible to accurately obtain the hardware-related parameters from the historical ultrasound data serialization file, and the hardware-related parameters collected in real time in the hardware may not necessarily match the callback historical ultrasound data. Therefore, the callback historical ultrasound data cannot correctly correspond to the hardware-related parameters, thus affecting the image display effect.
[0003] Therefore, how to obtain more accurate hardware-related parameters in the scenario of callback of historical ultrasound data for ultrasound image display to effectively improve the ultrasound image display effect is an urgent problem to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of the present application is to provide a callback display method for an ultrasound system. This callback display method for an ultrasound system can obtain more accurate hardware-related parameters in the scenario of callback of historical ultrasound data for ultrasound image display to effectively improve the ultrasound image display effect. Another purpose of the present application is to provide a callback display device, an electronic device, and a computer-readable storage medium for an ultrasound system, all of which have the above beneficial effects.
[0005] In a first aspect, the present application provides a callback display method for an ultrasound system, including:
[0006] In response to a received callback display instruction, determine the historical ultrasound data corresponding to the callback display instruction;
[0007] Determine the identification information of the historical ultrasound data;
[0008] Obtain the target hardware-related parameters corresponding to the identification information in the decoupled parameter package; the target hardware-related parameters are saved to the decoupled parameter package when the historical ultrasound data is generated; the decoupled parameter package is independent of the storage file of the historical ultrasound data;
[0009] Generate and display interface elements based on the target hardware-related parameters and the historical ultrasound data.
[0010] Optionally, the callback display method for the ultrasound system further includes:
[0011] When at least one parameter update event occurs among parameter adjustment, parameter linkage, parameter calculation, parameter update, and parameter distribution, determine the updated hardware-related parameters;
[0012] Update the decoupled parameter package using the updated hardware-related parameters.
[0013] Optionally, the updating the decoupled parameter package using the updated hardware-related parameters includes:
[0014] Obtain the current operating mode of the ultrasound system; wherein, the current operating mode includes the operating modes that are active under the current scanning item of the ultrasound system;
[0015] Generate current identification information based on the current operating mode, and save the current identification information and the updated hardware-related parameters in correspondence to the decoupled parameter package.
[0016] Optionally, the callback display method of the ultrasound system further includes:
[0017] During the ultrasound scanning process, determine the current operating mode of the ultrasound system and the current ultrasound data in the current operating mode; wherein, the current operating mode includes the operating modes that are active under the current scanning item of the ultrasound system;
[0018] Collect hardware-related data of the ultrasound system according to the current operating mode to obtain current hardware-related parameters;
[0019] Generate and display interface elements based on the current hardware-related parameters and the current ultrasound data.
[0020] Optionally, the generating and displaying interface elements based on the target hardware-related parameters and the historical ultrasound data includes:
[0021] Obtain an ultrasound image and a corresponding historical indication graph based on the historical ultrasound data;
[0022] Synchronously display the target hardware-related parameters, the ultrasound image, and the historical indication graph.
[0023] Optionally, the synchronously displaying the target hardware-related parameters, the ultrasound image, and the historical indication graph includes:
[0024] Obtain historical hardware-related parameters based on the historical ultrasound data;
[0025] If the historical hardware-related parameters are the same as the target hardware-related parameters, synchronously display the historical hardware-related parameters, the ultrasound image, and the historical indication graph obtained based on the historical ultrasound data;
[0026] If the historical hardware association parameter is different from the target hardware association parameter, a corresponding target indication graphic is drawn based on the target hardware association parameter, and the target hardware association parameter, the ultrasonic image, and the target indication graphic are synchronously displayed.
[0027] Optionally, obtaining the target hardware association parameter corresponding to the identification information in the decoupling parameter package includes:
[0028] Determining the parameter type of the hardware association parameter based on the identification information;
[0029] If it is determined that the corresponding hardware association parameter is an independent storage parameter based on the parameter type, the target hardware association parameter corresponding to the identification information is obtained in the target decoupling parameter package.
[0030] In a second aspect, the present application also discloses a callback display device for an ultrasonic system, including:
[0031] A first determination module, configured to determine historical ultrasonic data corresponding to the callback display instruction in response to the received callback display instruction;
[0032] A second determination module, configured to determine the identification information of the historical ultrasonic data;
[0033] An obtaining module, configured to obtain the target hardware association parameter corresponding to the identification information in the decoupling parameter package; the target hardware association parameter is saved to the decoupling parameter package when the historical ultrasonic data is generated; the decoupling parameter package is independent of the storage file of the historical ultrasonic data;
[0034] A display module, configured to generate and display interface elements based on the target hardware association parameter and the historical ultrasonic data.
[0035] In a third aspect, the present application also discloses an electronic device, including:
[0036] A memory, configured to store a computer program;
[0037] A processor, configured to implement the steps of any of the above-mentioned callback display methods for an ultrasonic system when executing the computer program.
[0038] In a fourth aspect, the present application also discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned callback display methods for an ultrasonic system are implemented.
[0039] The present application provides a callback display method for an ultrasound system, including: in response to a received callback display instruction, determining historical ultrasound data corresponding to the callback display instruction; determining identification information of the historical ultrasound data; obtaining a target hardware association parameter corresponding to the identification information in a decoupled parameter package; the target hardware association parameter is saved to the decoupled parameter package when the historical ultrasound data is generated; the decoupled parameter package is independent of a storage file of the historical ultrasound data; generating and displaying an interface element based on the target hardware association parameter and the historical ultrasound data.
[0040] Applying the technical solution provided by the present application, for any historical ultrasound data in the ultrasound system, at the moment of its generation, its corresponding hardware association parameter is collected and saved to the decoupled parameter package. Thus, when calling back historical ultrasound data for corresponding ultrasound image callback display, the hardware association parameter matching the historical ultrasound data can be retrieved from the decoupled parameter package according to its identification information, so as to realize the callback display of the corresponding ultrasound image based on the hardware association parameter. It can be seen that the present technical solution realizes the decoupling of ultrasound image display and hardware association parameters, and can obtain more accurate hardware association parameters in the scenario of calling back historical ultrasound data for ultrasound image display, so as to effectively improve the ultrasound image display effect.
[0041] The callback display device, electronic device and computer-readable storage medium of the ultrasound system provided by the present application also have the above technical effects, which will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings required for describing the prior art and the embodiments of the present application will be briefly introduced below. Of course, the drawings described below for the embodiments of the present application are only a part of the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts, and the other obtained drawings also fall within the protection scope of the present application.
[0043] Figure 1 It is a schematic flowchart of a callback display method for an ultrasound system provided by an embodiment of the present application;
[0044] Figure 2 It is a relationship diagram between hardware and an application system in an ultrasound system provided by an embodiment of the present application;
[0045] Figure 3 It is a schematic flowchart of a hardware association parameter update method provided by an embodiment of the present application;
[0046] Figure 4The effect diagram of callback historical ultrasonic data for ultrasonic image display in the related art;
[0047] Figure 5 The effect diagram of callback historical ultrasonic data for ultrasonic image display provided by an embodiment of the present application;
[0048] Figure 6 The class diagram of a PW mode decoupling parameter packet embedded in an ultrasonic system provided by an embodiment of the present application;
[0049] Figure 7 The schematic structural diagram of a callback display device of an ultrasonic system provided by an embodiment of the present application;
[0050] Figure 8 The schematic structural diagram of an electronic device provided by an embodiment of the present application. Specific embodiments
[0051] The core of the present application is to provide a callback display method for an ultrasonic system. This callback display method for the ultrasonic system can obtain more accurate hardware association parameters in the scenario of callback historical ultrasonic data for ultrasonic image display, so as to effectively improve the ultrasonic image display effect. Another core of the present application is to provide a callback display device, an electronic device and a computer-readable storage medium for the ultrasonic system, all of which have the above beneficial effects.
[0052] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the following will introduce the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0053] An embodiment of the present application provides a callback display method for an ultrasonic system. This callback display method for the ultrasonic system can be applied to electronic devices such as ultrasonic devices.
[0054] Please refer to Figure 1 , Figure 1 , which is the schematic flowchart of a callback display method for an ultrasonic system provided by an embodiment of the present application. This callback display method for the ultrasonic system may include the following S101 to S104.
[0055] S101: In response to the received callback display instruction, determine the historical ultrasonic data corresponding to the callback display instruction.
[0056] This step aims to determine historical ultrasound data according to the callback display instruction. Among them, the callback display instruction refers to the instruction to callback historical ultrasound data for corresponding ultrasound image display, and the historical ultrasound data refers to the ultrasound data collected and saved at any time before the current moment. Specifically, the user can initiate a callback display instruction through the interaction terminal of the ultrasound system, so that the ultrasound system can callback the historical ultrasound data specified by the user based on the callback display instruction for corresponding ultrasound image display. Among them, each piece of historical ultrasound data can be saved at a specified location in the ultrasound system after being collected.
[0057] S102: Determine the identification information of the historical ultrasound data.
[0058] This step aims to determine the identification information of the historical ultrasound data. Specifically, the uniqueness of each piece of historical ultrasound data in the ultrasound system can be realized through a unique identifier, ensuring the uniqueness of the historical ultrasound data. Therefore, in the ultrasound system, the historical ultrasound data and the corresponding identification information can be stored in a one-to-one correspondence. Thus, after determining the historical ultrasound data that needs to be callback-displayed, its corresponding identification information can be further determined.
[0059] Among them, the identification information is used to obtain the target hardware association parameters corresponding to the historical ultrasound data in subsequent steps, so as to ensure that the obtained hardware association parameters match the historical ultrasound data, and further ensure the callback display effect of the ultrasound image corresponding to the historical ultrasound data. It can be understood that the specific content of the identification information does not affect the implementation of this technical solution, as long as the uniqueness of the historical ultrasound data can be guaranteed, and this application does not make any limitations on this. For example, it can be the operating mode of the ultrasound system at the moment of historical ultrasound data collection, or the unique serial number added to the ultrasound system at the moment of historical ultrasound data collection, etc.
[0060] S103: Obtain the target hardware association parameters corresponding to the identification information in the decoupling parameter package; the target hardware association parameters are saved to the decoupling parameter package when the historical ultrasound data is generated; the decoupling parameter package is independent of the storage file of the historical ultrasound data.
[0061] This step aims to obtain the target hardware - related parameters, which are the hardware - related parameters that match the above - mentioned historical ultrasound data, that is, the hardware - related parameters corresponding to the historical ultrasound data at the generation / collection time. Specifically, for any historical ultrasound data in the ultrasound system, its corresponding hardware - related parameters are collected and saved into the decoupling parameter package at the generation time. Thus, when calling back any historical ultrasound data for the callback display of the corresponding ultrasound image, the corresponding hardware - related parameters can be obtained in the decoupling parameter package using the identification information of the historical ultrasound data, so as to facilitate the callback display of the ultrasound image corresponding to the historical ultrasound data. Among them, the decoupling parameter package is independent of the storage file of the historical ultrasound data, that is, the hardware - related parameters and the historical ultrasound data are stored independently, thus realizing the decoupling of the ultrasound image display and the hardware - related parameters.
[0062] Among them, the hardware - related parameters refer to the hardware - related parameter information that affects the display effect during the display process of the ultrasound image. It can include the actual hardware parameters themselves, or can include the parameters associated with the hardware. Its data content is not unique and can be determined by the operating mode of the ultrasound system. Different operating modes of the ultrasound system may correspond to different types of hardware - related parameters. For example, in the PW (Pulsed - Wave Doppler) mode, the corresponding hardware - related parameters can include the depth of the upper edge of the sampling gate, the depth of the lower edge of the sampling gate, the deflection angle, etc.
[0063] In a possible implementation manner, obtaining the target hardware - related parameters corresponding to the identification information in the decoupling parameter package may include: calling the GetBeFEParamReadPtr() function to access the decoupling parameter package to obtain the target hardware - related parameters corresponding to the identification information. Specifically, the decoupling parameter package can be implanted into the ultrasound system as a form class, and then the access to the decoupling parameter package in the ultrasound system can be realized by calling the above - mentioned function, so as to obtain the target hardware - related parameters corresponding to the historical ultrasound data.
[0064] In an embodiment of the present application, obtaining the target hardware - related parameters corresponding to the identification information in the decoupling parameter package may include:
[0065] Determining the parameter type of the hardware - related parameters based on the identification information;
[0066] If it is determined based on the parameter type that the corresponding hardware - related parameter is an independently stored parameter, then obtain the target hardware - related parameters corresponding to the identification information in the target decoupling parameter package.
[0067] An implementation method for obtaining target hardware - related parameters in a decoupled parameter package is provided in an embodiment of the present application. It can be understood that the hardware - related parameters affecting ultrasonic image display are not necessarily all the hardware - related parameters in the ultrasonic system, but may only be a part of them. Therefore, to effectively save storage resources, the hardware - related parameters in the ultrasonic system that will affect ultrasonic image display can be determined in advance by classification, such as the hardware - related parameters that cannot be accurately displayed, affect the image rendering effect, and affect the graphics drawing effect during the ultrasonic image display process, so as to save only this part of the hardware - related parameters that affect ultrasonic image display at the moment of ultrasonic data generation and save them to the decoupled parameter package. Thus, when obtaining the target hardware - related parameters from the decoupled parameter package based on the identification information of historical ultrasonic data, the parameter type of the target hardware - related parameters to be obtained can be determined first according to this identification information, and then it can be judged whether the target hardware - related parameters are independently stored parameters according to this parameter type. If so, it means that the target hardware - related parameters are indeed the hardware - related parameters that will affect the ultrasonic image display effect, and at this time, they can be directly obtained from the decoupled parameter package. If not, the hardware - related parameters determined based on the ultrasonic data can be directly used without obtaining them through the decoupled parameter package.
[0068] S104: Generate interface elements based on the target hardware - related parameters and historical ultrasonic data and display them.
[0069] This step aims to implement the callback display of the ultrasonic system based on the target hardware - related parameters and historical ultrasonic data. Specifically, after querying the target hardware - related parameters corresponding to the historical ultrasonic data in the decoupled parameter package, the two can be combined to generate corresponding interface elements and output them to the ultrasonic interface for visual display, so as to realize the callback display of the (historical) ultrasonic image corresponding to the historical ultrasonic image data. It can be understood that since the target hardware - related parameters queried from the decoupled parameter package are the hardware - related parameters matching the historical ultrasonic data, that is, the hardware - related parameters used at the moment of historical ultrasonic data generation, therefore, based on the combination of this hardware - related parameter and historical ultrasonic data to implement the callback display of the corresponding ultrasonic image can achieve a more accurate callback display of the ultrasonic system and ensure a better ultrasonic image display effect.
[0070] In an embodiment of the present application, the above - mentioned generating interface elements based on the target hardware - related parameters and historical ultrasonic data and displaying them may include:
[0071] Obtain an ultrasonic image and the corresponding historical indication graphics based on the historical ultrasonic data;
[0072] Synchronously display the target hardware - related parameters, the ultrasonic image, and the historical indication graphics.
[0073] It can be understood that when displaying ultrasonic images, the interface elements to be displayed on the ultrasonic interface mainly include: the ultrasonic images collected by an ultrasonic scanning device (such as an ultrasonic probe), the specific values of hardware-related parameters, and various indication graphics on the ultrasonic images (for doctors to refer to for medical diagnosis, such as sampling lines, sampling frames, measurement lines, envelope lines, trajectory lines, etc., which can be automatically generated by the ultrasonic system or drawn by the user). Based on this, after obtaining historical ultrasonic data, the (historical) ultrasonic image and its corresponding historical indication graphics can be parsed from the historical ultrasonic data. Thus, they can be output to the ultrasonic interface for synchronous display together with the target hardware-related parameters obtained from the decoupled parameter package.
[0074] In an embodiment of the present application, the synchronous display of the target hardware-related parameters, ultrasonic images, and historical indication graphics may include:
[0075] Obtaining historical hardware-related parameters based on historical ultrasonic data;
[0076] If the historical hardware-related parameters are the same as the target hardware-related parameters, then synchronously display the historical hardware-related parameters, ultrasonic images, and historical indication graphics obtained based on the historical ultrasonic data;
[0077] If the historical hardware-related parameters are different from the target hardware-related parameters, then draw corresponding target indication graphics based on the target hardware-related parameters, and synchronously display the target hardware-related parameters, ultrasonic images, and target indication graphics.
[0078] It can be understood that in the callback display process of traditional ultrasonic systems, the hardware-related parameters, ultrasonic images, and historical indication graphics are directly obtained from the historical ultrasonic data serialization file for output display. However, the hardware-related parameters directly obtained from the historical ultrasonic data serialization file may be inaccurate. Thus, it will cause the problem of inaccurate ultrasonic image display. In the embodiment of the present application, after parsing the historical hardware-related parameters from the historical ultrasonic data, they can be compared with the target hardware-related parameters obtained from the decoupled parameter package. If the two are consistent, it means that the historical hardware-related parameters parsed from the historical ultrasonic data are accurate. At this time, the historical hardware-related parameters, ultrasonic images, and historical indication graphics can be directly synchronously displayed; on the contrary, if the historical hardware-related parameters are different from the target hardware-related parameters, it means that the historical hardware-related parameters parsed from the historical ultrasonic data are incorrect. At this time, the corresponding target indication graphics can be directly redrawn based on the target hardware-related parameters, and the target hardware-related parameters, ultrasonic images, and target indication graphics can be synchronously displayed. Thus, the accuracy of the callback ultrasonic image display can be effectively guaranteed.
[0079] It can be seen that for any historical ultrasound data in the ultrasound system, the callback display method of the ultrasound system provided by the embodiments of the present application collects and saves the corresponding hardware association parameters to the decoupling parameter package at the moment of its generation. Thus, when calling back the historical ultrasound data for the corresponding ultrasound image callback display, the hardware association parameters matching the historical ultrasound data can be retrieved from the decoupling parameter package according to its identification information, so as to realize the callback display of the corresponding ultrasound image based on the hardware association parameters. It can be seen that the technical solution realizes the decoupling of the ultrasound image display and the hardware association parameters, and can obtain more accurate hardware association parameters in the scenario of calling back historical ultrasound data for ultrasound image display, so as to effectively improve the ultrasound image display effect.
[0080] Based on the above embodiments:
[0081] In an embodiment of the present application, the callback display method of the ultrasound system may further include:
[0082] When at least one parameter update event such as parameter adjustment, parameter linkage, parameter calculation, parameter update, and parameter dispatch occurs, determine the updated hardware association parameters;
[0083] Use the updated hardware association parameters to update the decoupling parameter package.
[0084] The callback display method of the ultrasound system provided by the embodiments of the present application can further implement the update function of the decoupling parameter package, that is, when any type of parameter change event occurs in the ultrasound system, the decoupling parameter package is updated accordingly to ensure the timeliness and accuracy of the decoupling parameter package.
[0085] Among them, the types of parameter change events are not unique and may include but are not limited to events such as parameter adjustment, parameter linkage, parameter calculation, parameter update, and parameter dispatch. On this basis, when any type of parameter change event is detected, the changed hardware association parameters can be determined, and then the update of the decoupling parameter package can be realized based on the updated hardware association parameters.
[0086] Among them, parameter adjustment is to obtain the adjustment information of the hardware association parameters, parameter linkage means that when a certain parameter changes, the hardware association parameters change, parameter calculation is to calculate the updated hardware association parameters according to the adjustment information of the hardware association parameters, parameter update is to set the updated hardware association parameters for the hardware, and parameter dispatch is to dispatch the updated hardware association parameters to the ultrasound system.
[0087] In an embodiment of the present application, the above-mentioned use of the updated hardware association parameters to update the decoupling parameter package includes:
[0088] Obtain the current operating mode of the ultrasound system; wherein, the current operating mode includes the operating modes that are in the active state under the current scanning item of the ultrasound system;
[0089] Generate current identification information based on the current operating mode, and store the current identification information and the updated hardware association parameters in the decoupling parameter package in a corresponding manner.
[0090] The embodiments of the present application provide an implementation method for updating the decoupling parameter package using the updated hardware association parameters. In the embodiments of the present application, the operating mode of the ultrasound system can be used as the identification information to realize the corresponding storage of the identification information and the hardware association parameters in the decoupling parameter package. Specifically, after obtaining the updated hardware association parameters, the current operating mode of the ultrasound system can be further obtained, and the identification information corresponding to the updated hardware association parameters, that is, the above-mentioned current identification information, can be generated based on the current operating mode, and stored in the decoupling parameter package in a corresponding manner with the updated hardware association parameters, so as to realize the synchronous update of the decoupling parameter package with the hardware association parameters.
[0091] Among them, the operating modes in the ultrasound system can be divided into multiple types, such as PW (Pulsed Wave Doppler) mode, CW (Continous Wave Doppler) mode, ordinary 2D mode, M mode, contrast mode, etc., and there are also multiple different working states under each different operating mode, such as pre-activated state, activated state, non-activated state, etc.
[0092] It can be understood that during the ultrasound scanning process, one or more operating modes can be activated based on the actual requirements of a certain scanning item. Therefore, the current operating mode of the ultrasound system can include the operating modes that are in the active state under the current scanning item of the ultrasound system. For example: when scanning the heart, there can be CW mode and PW mode under this scanning item. When performing spectral analysis on a small area of the heart, the PW mode can be activated, and the spectral information of this small area can be displayed in the PW mode; and if the current is in CW mode and ready to enter PW mode, the selection action of the sampling line can be triggered in the current ultrasound system. At this time, the CW mode is in the active state, and the PW mode is in the pre-activated state. Since the active state will have operation control on the hardware, while other states will not have a substantial impact on the hardware, when collecting the hardware association data, only the hardware association parameters in the operating modes in the active state can be collected, and the hardware association parameters in the non-activated state and the pre-activated state are not collected.
[0093] In a possible implementation, the above-mentioned storing the current identification information and the updated hardware association parameters in the decoupled parameter package correspondingly may include: calling the InitParamForRealtime function to store the current identification information and the updated hardware association parameters in the decoupled parameter package correspondingly. Specifically, based on the above-mentioned implanting the decoupled parameter package as a form class into the ultrasound system, the above function can be called to store the current identification information and the updated hardware association parameters in the decoupled parameter package correspondingly, so as to realize the synchronous update of the decoupled parameter package.
[0094] In an embodiment of the present application, the callback display method of the ultrasound system may further include:
[0095] During the ultrasound scanning process, determine the current operating mode of the ultrasound system and the current ultrasound data in the current operating mode; wherein, the current operating mode includes the operating mode that is in an active state under the current scanning item of the ultrasound system;
[0096] Collect hardware association data of the ultrasound system according to the current operating mode to obtain the current hardware association parameters;
[0097] Generate interface elements based on the current hardware association parameters and the current ultrasound data and display them.
[0098] The callback display method of the ultrasound system provided by the embodiments of the present application can further realize the real-time display of ultrasound images during the ultrasound scanning process, that is, realize the real-time display of ultrasound images based on the current ultrasound data. Specifically, during the ultrasound scanning process, the current operating mode of the ultrasound system can be determined first, that is, the operating mode that is in an active state under the current scanning item in the ultrasound system, and then the hardware association parameters can be collected according to the current operating mode to obtain the current hardware association parameters corresponding to the current operating mode, so that corresponding interface elements can be generated based on the current hardware association parameters and the current ultrasound data and output to the ultrasound interface for visual display. Thus, the real-time ultrasound image display corresponding to the current ultrasound image data is realized.
[0099] Furthermore, during the above implementation process, the current identification information can also be generated based on the current operating mode, and the current identification information and the current hardware association parameters can be stored in the decoupled parameter package correspondingly, and the current ultrasound data can be stored in the storage file of the historical ultrasound data for subsequent callback scenarios.
[0100] The embodiments of the present application provide another callback display method of the ultrasound system.
[0101] First, please refer to Figure 2 , Figure 2This is a relationship diagram between the hardware and the application system in an ultrasound system provided by an embodiment of the present application. Here, the application system refers to a functional module in the ultrasound system that performs callback display of the ultrasound system based on hardware-related parameters. It can be understood that in the related art, the ultrasound system can only achieve real-time ultrasound image display, that is, the application system directly obtains the hardware-related parameters in the hardware and performs corresponding ultrasound image display on the current ultrasound data. However, in the scenario of callback display of historical ultrasound data, since accurate hardware-related parameters cannot be directly obtained from the historical ultrasound data and the current hardware-related parameters may not match the historical ultrasound data, it will cause the problem of inaccurate final ultrasound image display. In the embodiment of the present application, the decoupling of the hardware and the application system is achieved by decoupling the parameter package. For any historical ultrasound data in the ultrasound system, its corresponding hardware-related parameters are collected and saved to the decoupling parameter package at the moment of its generation. Thus, in the scenario of callback display of historical ultrasound data to achieve corresponding ultrasound image display, the hardware-related parameters corresponding to the historical ultrasound data can be directly obtained from the decoupling parameter package to achieve the callback display of the corresponding ultrasound image, thereby effectively ensuring a more accurate ultrasound image display effect.
[0102] Further, please refer to Figure 3 , Figure 3 This is a schematic flowchart of a method for updating hardware-related parameters provided by an embodiment of the present application. The update process of the hardware-related parameters includes steps such as parameter adjustment, parameter calculation, parameter update, and parameter distribution. Parameter adjustment is to obtain the adjustment information of the hardware-related parameters, parameter calculation is to calculate the updated hardware-related parameters according to the adjustment information of the hardware-related parameters, parameter update is to set the updated hardware-related parameters for the hardware, and parameter distribution is to distribute the updated hardware-related parameters to the ultrasound system. On this basis, the embodiment of the present application can perform an update operation on the decoupling parameter package after parameter distribution, that is, after distributing the updated hardware-related parameters to the ultrasound system, synchronously save them to the decoupling parameter package, thereby achieving synchronous update of the decoupling parameter package.
[0103] Finally, please refer to Figure 4 and Figure 5 , Figure 4 This is an effect diagram of ultrasound image display by callback of historical ultrasound data in the related art; Figure 5 This is an effect diagram of ultrasound image display by callback of historical ultrasound data provided by an embodiment of the present application.
[0104] Taking the PW mode in the operating mode of the ultrasound system as an example, there are multiple states in the PW mode: PW activation state, PW pre-activation 1 state, and PW pre-activation 2 state. Usually, the pre-activation 1 and pre-activation 2 states are collectively referred to as the PW pre-activation state. Obviously, due to the large number of working states in its operating mode, in the complex scenario of calling back historical ultrasound data, it is impossible to directly obtain accurate hardware-related parameters from this historical ultrasound data, resulting in the problem of inaccurate display of the callback ultrasound image.
[0105] Taking the hardware-related parameter "sampling gate SV" as an example, in the ultrasound system, when determining the state of the sampling gate in the two-dimensional PW image, the two-dimensional PW image is in the activation state and the one-dimensional PW image is in the non-activation state. At this time, the size of the key hardware-related parameter "sampling gate SV" used to render the one-dimensional PW image data can be adjusted normally. In contrast Figure 4 and Figure 5 : As Figure 4 shown, when saving ultrasound data in the PW pre-activation state, since the one-dimensional PW image is in the non-activation state, the application system of the one-dimensional PW image will not serialize the hardware SV parameter, resulting in the inability to correspond the size of the sampling gate SV value displayed when calling back this ultrasound data to the actual displayed size; as Figure 5 shown, after decoupling the hardware and the application system through the decoupling parameter package, when calling back the ultrasound data in the PW pre-activation state, although the application system of the one-dimensional PW image still does not save the SV parameter, at this time, since a decoupling parameter package is established to correctly save the SV data, therefore, the hardware-related parameter SV can be obtained from the decoupling parameter package when calling back, thus solving the problem of non-correspondence between the SV parameter and the image display.
[0106] Among them, for the decoupling parameter package, it can be implanted into the ultrasound system as a form class. Thus, the access to the decoupling parameter package in the ultrasound system can be achieved by calling the corresponding function, so as to obtain the hardware-related parameters corresponding to the historical ultrasound data. Please refer to Figure 6 , taking the historical ultrasound data in the PW mode as an example, Figure 6This is a class diagram of an ultrasonic system with a PW mode decoupled parameter packet embedded, which shows the main member functions and parameter members of the PW decoupled parameter packet. The corresponding decoupled parameter packet KFEParamFacadePackPW can be used as a member of the PW form class KPWImgWin, and the decoupled parameter packet can be accessed through the function GetBeFEParamReadPtr(). The hardware-related parameters in the decoupled parameter packet are called through the PW form GUID (identification information) using the wrapper class IPWImgWinFacade of the PW form. Similarly, when the hardware-related parameters are updated, the hardware-related parameters in the decoupled parameter packet KFEParamFacadePackPW can also be updated by calling the InitParamForRealtime function.
[0107] In addition, the serialization and deserialization of the hardware-related parameters in the decoupled parameter packet can be achieved by calling Serialize and Deserialize. It can be understood that by calling Serialize to serialize the hardware management parameters, they can be converted into a byte sequence and stored in a hard disk file for persistent storage and network transmission. Finally, they can be directly called Deserialize for deserialization in the usage scenario for visual display.
[0108] It can be seen that for any historical ultrasonic data in the ultrasonic system, the callback display method of the ultrasonic system provided by the embodiments of the present application collects and saves the corresponding hardware-related parameters to the decoupled parameter packet at the generation time. Therefore, when calling back the historical ultrasonic data for the corresponding ultrasonic image callback display, the hardware-related parameters matching the historical ultrasonic data can be retrieved from the decoupled parameter packet according to its identification information, and then the corresponding ultrasonic image callback display can be realized based on the hardware-related parameters. Thus, it can be seen that this technical solution realizes the decoupling of ultrasonic image display and hardware-related parameters, and can obtain more accurate hardware-related parameters in the scenario of calling back historical ultrasonic data for ultrasonic image display to effectively improve the ultrasonic image display effect.
[0109] The embodiments of the present application provide a callback display device for an ultrasonic system.
[0110] Please refer to Figure 7 , Figure 7 This is a schematic structural diagram of a callback display device for an ultrasonic system provided by the embodiments of the present application. The callback display device for the ultrasonic system may include:
[0111] The first determination module 1 is configured to determine the historical ultrasonic data corresponding to the callback display instruction in response to the received callback display instruction;
[0112] The second determination module 2 is configured to determine the identification information of the historical ultrasound data;
[0113] The acquisition module 3 is configured to acquire, from the decoupled parameter package, the target hardware association parameter corresponding to the identification information; the target hardware association parameter is saved to the decoupled parameter package when the historical ultrasound data is generated; the decoupled parameter package is independent of the storage file of the historical ultrasound data;
[0114] The display module 4 is configured to generate and display interface elements based on the target hardware association parameter and the historical ultrasound data.
[0115] It can be seen that for any historical ultrasound data in the ultrasound system, the callback display device provided in the embodiment of the present application collects and saves its corresponding hardware association parameter to the decoupled parameter package at the moment of its generation. Thus, when calling back the historical ultrasound data for corresponding ultrasound image callback display, the hardware association parameter matching the historical ultrasound data can be retrieved from the decoupled parameter package according to its identification information, so as to implement the callback display of the corresponding ultrasound image based on the hardware association parameter. It can be seen that this technical solution realizes the decoupling of ultrasound image display and hardware association parameters, and can obtain more accurate hardware association parameters in the scenario of calling back historical ultrasound data for ultrasound image display, so as to effectively improve the ultrasound image display effect.
[0116] In an embodiment of the present application, the callback display device of the ultrasound system may further include:
[0117] The update module is configured to determine the updated hardware association parameter when at least one parameter update event among parameter adjustment, parameter linkage, parameter calculation, parameter update, and parameter dispatch occurs; and update the decoupled parameter package with the updated hardware association parameter.
[0118] In an embodiment of the present application, the above update module may specifically be configured to obtain the current operating mode of the ultrasound system; where the current operating mode includes the operating mode activated under the current scanning item of the ultrasound system; generate the current identification information based on the current operating mode, and correspondingly save the current identification information and the updated hardware association parameter to the decoupled parameter package.
[0119] In an embodiment of the present application, the callback display device of the ultrasound system may further include:
[0120] A scanning display module is configured to determine the current operating mode of the ultrasound system and the current ultrasound data in the current operating mode during the ultrasound scanning process; wherein, the current operating mode includes the operating modes that are activated under the current scanning item of the ultrasound system; collect the hardware association data of the ultrasound system according to the current operating mode to obtain the current hardware association parameters; generate and display interface elements based on the current hardware association parameters and the current ultrasound data.
[0121] In an embodiment of the present application, the above display module 4 may include:
[0122] An acquisition unit, configured to obtain an ultrasound image and a corresponding historical indication graph based on historical ultrasound data;
[0123] A display unit, configured to synchronously display the target hardware association parameters, the ultrasound image, and the historical indication graph.
[0124] In an embodiment of the present application, the above display unit may specifically be configured to obtain historical hardware association parameters based on historical ultrasound data; if the historical hardware association parameters are the same as the target hardware association parameters, synchronously display the historical hardware association parameters, the ultrasound image, and the historical indication graph obtained based on the historical ultrasound data; if the historical hardware association parameters are different from the target hardware association parameters, draw a corresponding target indication graph based on the target hardware association parameters, and synchronously display the target hardware association parameters, the ultrasound image, and the target indication graph.
[0125] In an embodiment of the present application, the above acquisition module 3 may specifically be configured to determine the parameter type of the hardware association parameter based on the identification information; if it is determined based on the parameter type that the corresponding hardware association parameter is an independently stored parameter, obtain the target hardware association parameter corresponding to the identification information in the target decoupling parameter package.
[0126] For the introduction of the device provided in the embodiments of the present application, please refer to the above method embodiments, and the present application will not elaborate here.
[0127] Embodiments of the present application provide an electronic device.
[0128] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include:
[0129] A memory, configured to store a computer program;
[0130] A processor, configured to implement the steps of any of the above ultrasound system callback display methods when executing the computer program.
[0131] Such as Figure 8As shown in the figure, it is a schematic diagram of the composition structure of an electronic device. The electronic device may include: a processor 10, a memory 11, a communication interface 12, and a communication bus 13. The processor 10, the memory 11, and the communication interface 12 all complete mutual communication through the communication bus 13.
[0132] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array, or other programmable logic devices, etc.
[0133] The processor 10 may call the program stored in the memory 11. Specifically, the processor 10 may execute the operations in the embodiment of the callback display method of the ultrasonic system.
[0134] The memory 11 is used to store one or more programs. The program may include program code, and the program code includes computer operation instructions. In the embodiment of the present application, the memory 11 stores at least a program for implementing the following functions:
[0135] In response to the received callback display instruction, determine the historical ultrasonic data corresponding to the callback display instruction;
[0136] Determine the identification information of the historical ultrasonic data;
[0137] Obtain the target hardware association parameter corresponding to the identification information in the decoupling parameter packet; the target hardware association parameter is saved to the decoupling parameter packet when the historical ultrasonic data is generated; the decoupling parameter packet is independent of the storage file of the historical ultrasonic data;
[0138] Generate and display interface elements based on the target hardware association parameter and the historical ultrasonic data.
[0139] In a possible implementation manner, the memory 11 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and application programs required for at least one function, etc.; the data storage area may store the data created during use.
[0140] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage devices.
[0141] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.
[0142] Of course, it should be noted that Figure 8 The structure shown does not limit the electronic device in the embodiment of the present application. In actual applications, the electronic device may include more than Figure 8more or fewer components as shown, or combine certain components.
[0143] An embodiment of the present application provides a computer-readable storage medium.
[0144] A computer program is stored on the computer-readable storage medium provided by the embodiment of the present application. When the computer program is executed by a processor, the steps of any of the callback display methods of the ultrasonic system described above can be implemented.
[0145] The computer-readable storage medium may include: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0146] For the introduction of the computer-readable storage medium provided by the embodiment of the present application, please refer to the above method embodiment, and the present application will not elaborate here.
[0147] The various embodiments in the specification are described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the various embodiments can be referred 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 the relevant parts can be referred to the description of the method part.
[0148] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0149] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0150] The above has introduced the technical solution provided by this application in detail. Specific examples are used herein to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of this application.
Claims
1. A callback display method for an ultrasonic system, characterized in that, Including: In response to the received callback display instruction, determining the historical ultrasound data corresponding to the callback display instruction; Determining the identification information of the historical ultrasound data; Obtaining the target hardware association parameter corresponding to the identification information from the decoupled parameter package; the target hardware association parameter was saved to the decoupled parameter package when the historical ultrasound data was generated; the decoupled parameter package is independent of the storage file of the historical ultrasound data; Generating and displaying interface elements based on the target hardware association parameter and the historical ultrasound data.
2. The callback display method of the ultrasonic system according to claim 1, wherein, Also including: When at least one parameter update event such as parameter adjustment, parameter linkage, parameter calculation, parameter update, and parameter dispatch occurs, determining the updated hardware association parameter; Updating the decoupled parameter package with the updated hardware association parameter.
3. The callback display method of the ultrasonic system according to claim 2, wherein The updating the decoupled parameter package with the updated hardware association parameter includes: Obtaining the current operating mode of the ultrasound system; wherein, the current operating mode includes the operating mode that is active under the current scanning item of the ultrasound system; Generating current identification information based on the current operating mode, and correspondingly saving the current identification information and the updated hardware association parameter to the decoupled parameter package.
4. The callback display method of the ultrasonic system according to claim 1, wherein Also including: During the ultrasound scanning process, determining the current operating mode of the ultrasound system and the current ultrasound data in the current operating mode; wherein, the current operating mode includes the operating mode that is active under the current scanning item of the ultrasound system; Collecting hardware association data of the ultrasound system according to the current operating mode to obtain the current hardware association parameter; Generating and displaying interface elements based on the current hardware association parameter and the current ultrasound data.
5. The callback display method of the ultrasonic system according to claim 1, wherein The generating and displaying interface elements based on the target hardware association parameter and the historical ultrasound data includes: Obtaining an ultrasound image and a corresponding historical indication graphic based on the historical ultrasound data; Synchronously displaying the target hardware association parameter, the ultrasound image, and the historical indication graphic.
6. The callback display method of the ultrasonic system according to claim 5, wherein The synchronously displaying the target hardware association parameter, the ultrasound image, and the historical indication graphic includes: Obtaining the historical hardware association parameter based on the historical ultrasound data; If the historical hardware association parameter is the same as the target hardware association parameter, synchronously displaying the historical hardware association parameter, the ultrasound image, and the historical indication graphic obtained based on the historical ultrasound data; If the historical hardware association parameter is different from the target hardware association parameter, drawing a corresponding target indication graphic based on the target hardware association parameter, and synchronously displaying the target hardware association parameter, the ultrasound image, and the target indication graphic.
7. The callback display method of the ultrasonic system according to claim 1, characterized in that, The obtaining the target hardware association parameter corresponding to the identification information from the decoupled parameter package includes: Determining the parameter type of the hardware association parameter based on the identification information; If it is determined based on the parameter type that the corresponding hardware association parameter is an independently stored parameter, obtaining the target hardware association parameter corresponding to the identification information from the target decoupled parameter package.
8. A callback display device for an ultrasonic system, characterized in that, Including: A first determination module, configured to determine historical ultrasound data corresponding to the received callback display instruction in response to the received callback display instruction; A second determination module, configured to determine identification information of the historical ultrasound data; An acquisition module, configured to acquire a target hardware association parameter corresponding to the identification information from a decoupled parameter package; the target hardware association parameter is saved to the decoupled parameter package when the historical ultrasound data is generated; the decoupled parameter package is independent of a storage file of the historical ultrasound data; A display module, configured to generate and display interface elements based on the target hardware association parameter and the historical ultrasound data.
9. An electronic device, characterized in that, Comprising: A memory, configured to store a computer program; A processor, configured to implement the steps of the callback display method of the ultrasound system according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the callback display method of the ultrasound system according to any one of claims 1 to 7 are implemented.