Data processing method and device of ultrasonic system, ultrasonic system and storage medium
By introducing the data processing methods of ultrasonic main programs and screen programs in the ultrasound system, the separation of business logic and interface resources is realized, the problem of low existing supersonic system development efficiency and waste of resources has been solved, and development efficiency and customization capabilities are improved.
Patent Information
- Application Number
- CN202310913917.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2025-01-24
AI Technical Summary
When developing new functions or expanding existing functions, existing ultrasound systems need to add a large amount of code, and new communication data structures and analysis modules between different programs are needed to add to the system, resulting in low development efficiency, high cost and waste of resources.
By providing a data processing method for ultrasonic systems, using ultrasound main programs to perform data processing operations, and through screen program execution of human -computer interaction operations to achieve separation of business logic and interface resources. Ultrasonic programs process the original ultrasound interface data, assemble it as the control data required by the screen, and modify the screen operation event. The screen program only needs to analyze the control data to display the data and convert the user's operating data to the screen operation event.
The separation of business logic and interface resources has been achieved, the implementation of the screen program is simplified, the interface is made conveniently, the workload of developers is reduced, the development efficiency is improved, and the waste of resources is avoided.
Smart Images

Figure CN119361093A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of ultrasound technology, and in particular, to a data processing method for an ultrasound system, a data processing device for an ultrasound system, an ultrasound system, and a storage medium. Background Art
[0002] Ultrasound systems are the image analysis and diagnostic tools with the largest number of medical imaging devices, the largest number of examinations, the highest safety factor, the fastest examination results, and the best cost-effectiveness. They have developed particularly rapidly in recent years.
[0003] In the existing ultrasound system, when it is necessary to develop new functions or expand existing functions, a large amount of code must be added, which causes inconvenience in development. In addition, it is also necessary to add communication data structures and parsing modules between different programs in the system accordingly. The above work is relatively complicated and cumbersome, resulting in low development efficiency and inconvenience in quickly expanding pages and functions. This also leads to the need to develop a complete set of programs separately for each ultrasound system, which increases the development cost and cycle. In addition, the problem of waste of resources in the existing ultrasound system is prominent. Summary of the invention
[0004] In view of the above problems, embodiments of the present application are proposed. Embodiments of the present application provide a data processing method for an ultrasound system, a data processing device for an ultrasound system, an ultrasound system, and a storage medium.
[0005] According to one aspect of the present application, a data processing method for an ultrasound system is provided, comprising:
[0006] Using the ultrasound main program, perform data processing operations;
[0007] Use screen programs to perform human-computer interaction operations;
[0008] Among them, data processing operations include:
[0009] Processing the original ultrasound interface data, and assembling the processed ultrasound interface data into control data required by the screen; and
[0010] In response to the screen operation event, modify the ultrasound interface data and assemble the modified ultrasound interface data into new control data;
[0011] Human-computer interaction operations include:
[0012] Parse the control data into display data displayed on the screen;
[0013] Convert user operation data on display data into screen operation events.
[0014] Exemplarily, the ultrasound main program includes a first data processing module, a second data processing module and a first communication module;
[0015] Using the ultrasound main program, perform data processing operations, including:
[0016] Using the first data processing module, processing the original ultrasound interface data and modifying the ultrasound interface data based on the format data from the second data processing module;
[0017] Using the second data processing module, the processed ultrasound interface data and the modified ultrasound interface data are assembled into the control data required by the screen, and the screen operation events are converted into the format data required by the first data processing module;
[0018] The control data is transmitted to the screen program and the screen operation event is received from the screen program by using the first communication module.
[0019] Exemplarily, before using the first data processing module to process the original ultrasound interface data, using the ultrasound main program to perform data processing operations also includes:
[0020] The first communication module is started to establish a connection with the screen program.
[0021] Exemplarily, the screen program includes a third data processing module and a second communication module;
[0022] Use screen programs to perform human-computer interaction operations, including:
[0023] Utilizing the third data processing module, parsing the control data into display data and converting the user operation data for the display data into screen operation events;
[0024] The second communication module is used to transmit screen operation events to the ultrasound main program and receive control data from the ultrasound main program.
[0025] Exemplarily, before the third data processing module is used to parse the control data into display data, the screen program is used to perform a human-computer interaction operation, which further includes:
[0026] Start the second communication module and establish a communication connection with the ultrasound main program.
[0027] Exemplarily, parsing the control data into display data displayed on the screen includes:
[0028] Convert control data into model data;
[0029] Update the model data into the view;
[0030] Renders the view through the proxy to display the display data.
[0031] Exemplarily, parsing the control data into display data displayed on the screen includes:
[0032] By using the interface resource file, the control data is parsed into basic control data and page data respectively, so as to display the basic control and the page on the screen.
[0033] Exemplarily, the method further comprises:
[0034] Use the configuration file to determine the type and format of the control data sent to the screen program;
[0035] Among the assembled control data, the control data sent to the screen program is determined according to the determined type and format, so that the screen program parses the sent control data.
[0036] Exemplarily, the ultrasound main program and the screen program communicate with each other in a network manner or a process manner based on the transmission control network protocol.
[0037] According to another aspect of the present application, there is also provided an ultrasound system, comprising a host, a first screen and a second screen;
[0038] The first screen is used to display ultrasound data;
[0039] The host runs an ultrasound main program and a screen program. The ultrasound main program is used to perform data processing operations, and the screen program is used to perform human-computer interaction operations.
[0040] Data processing operations include:
[0041] Processing the original ultrasound interface data, and assembling the processed ultrasound interface data into control data required by the second screen; and
[0042] In response to the screen operation event, modify the ultrasound interface data and assemble the modified ultrasound interface data into new control data;
[0043] Human-computer interaction operations include:
[0044] Parse the control data into display data to display on the second screen;
[0045] Convert user operation data on display data into screen operation events.
[0046] According to the description of this embodiment, it can be understood that a complete closed-loop interactive ultrasound system is formed in this way, which improves the user experience.
[0047] Exemplarily, the second screen is a touch screen.
[0048] According to another aspect of the present application, a data processing device for an ultrasound system is also provided, comprising an ultrasound module and a screen module. The ultrasound module is used to perform data processing operations using an ultrasound main program. The screen module is used to perform human-computer interaction operations using a screen program. The data processing operations include: processing original ultrasound interface data, assembling the processed ultrasound interface data into control data required for the screen; and in response to screen operation events, modifying the ultrasound interface data and assembling the modified ultrasound interface data into new control data. The human-computer interaction operations include: parsing the control data into display data displayed on the screen; converting user operation data for the display data into screen operation events.
[0049] According to another aspect of the present application, a storage medium is provided, on which an ultrasound main program and a screen program are stored. When the ultrasound main program and the screen program are run, they are used to execute corresponding steps of the above-mentioned data processing method for an ultrasound system.
[0050] In the above technical solution, for the screen program, it is no longer necessary to perform any processing on the ultrasound interface data, and all the processing operations of the ultrasound parameters are implemented by the ultrasound main program. The screen program only parses the control data from the ultrasound main program into display data and converts the user operation data into screen operation events and sends them to the ultrasound main program. As a result, in the ultrasound system, the separation of business logic and interface resources is achieved, which not only greatly simplifies the implementation of the screen program, but also allows the interface to be customized conveniently. Ultrasound systems of different models only need to reassemble the ultrasound interface data. In other words, when the ultrasound system needs to develop new functions or expand existing functions, only the corresponding code needs to be added to the ultrasound main program. In addition, there is no need to modify the communication data structure and parsing module between the ultrasound main program and the screen program. This significantly reduces the workload of developers and improves development efficiency. Finally, since data is only saved in the ultrasound main program, the waste of limited system resources is avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0052] Figure 1 A schematic flow chart of a data processing method for an ultrasound system according to an embodiment of the present application is shown;
[0053] Figure 2A schematic diagram showing an ultrasound main program and a screen program according to an embodiment of the present application is shown;
[0054] Figure 3a A schematic flow chart of a data processing operation performed by an ultrasound main program according to an embodiment of the present application is shown;
[0055] Figure 3b A schematic flow chart showing a data processing operation performed by an ultrasound main program according to another embodiment of the present application is shown;
[0056] Figure 4a A schematic flow chart of a human-computer interaction operation performed using a screen program according to an embodiment of the present application is shown;
[0057] Figure 4b A schematic flow chart of a human-computer interaction operation performed by a screen program according to another embodiment of the present application is shown;
[0058] Figure 5 A schematic flow chart showing how to parse control data into display data displayed on a screen using a screen program according to an embodiment of the present application is shown;
[0059] Figure 6a shows a page displayed on a first screen of an ultrasound system according to an embodiment of the present invention; and
[0060] Figure 6b FIG. 4 shows a page displayed on a second screen of an ultrasound system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In the following description, a large amount of details are provided so that the present application can be thoroughly understood. However, it will be appreciated by those skilled in the art that the following description is merely illustrative of the preferred embodiments of the present application. In addition, in order to avoid confusion with the present application, some technical features well known in the art are not described in detail.
[0062] In an existing ultrasound system, an ultrasound main program and a screen program are usually running. The ultrasound system may include two screens. The interface of the ultrasound main program is output to one screen, which is referred to as the first screen for convenience; the interface of the screen program is output to another screen, which is referred to as the second screen.
[0063] On the one hand, a large amount of business logic is processed in the screen program, that is, it includes a large amount of functional logic processing business, which makes the implementation very complicated; on the other hand, the interface logic is fixed. When the ultrasound system needs to develop new functions or expand existing functions, a large amount of business code and data parsing code need to be added to both the ultrasound main program and the screen program. This significantly increases the workload of developers and causes inconvenience in development. In addition, in the ultrasound system, there are one or several communication protocols between each business. For example, when developing the measurement function, the measurement data structure needs to be defined and parsed; when developing the annotation function, the annotation business data needs to be defined and parsed. Therefore, when the ultrasound system develops new functions or expands existing functions, it is also necessary to add a communication data structure and parsing module between the ultrasound main program and the screen program in the ultrasound system. The above work is relatively complicated and cumbersome, resulting in low development efficiency. This also leads to the need for each ultrasound system to develop a complete set of programs separately, which increases the development cost and cycle.
[0064] Moreover, since it is necessary to save data and status in both the ultrasound main program and the screen program, limited system resources are wasted.
[0065] In order to at least partially solve the above technical problems, an embodiment of the present application provides a data processing method for an ultrasound system. Using this data processing method, various ultrasound data can be processed. The processed ultrasound data can be displayed on the screen. For example, the ultrasound data may include ultrasound image data and ultrasound interface data. Using the ultrasound main program, not only the ultrasound image data is processed and the processed ultrasound image data is displayed on the first screen; but also the ultrasound interface data is processed by it, so that the display data corresponding to the ultrasound interface data is displayed on the second screen through the screen program. The user can perform human-computer interaction with the ultrasound system based on the content displayed on the second screen, so that the desired content can be displayed on the first screen of the ultrasound system.
[0066] Figure 1 FIG. 1 is a schematic flow chart of a data processing method 100 for an ultrasound system according to an embodiment of the present application. The ultrasound system runs an ultrasound main program and a screen program. Figure 1 As shown, the data processing method 100 for an ultrasound system includes the following steps S110 and S120.
[0067] In step S110, a data processing operation is performed using the ultrasound main program.
[0068] The data processing operation may include: processing the original ultrasound interface data, and assembling the processed ultrasound interface data into control data required by the screen.
[0069] According to an embodiment of the present application, the ultrasound interface data may include information data related to the ultrasound function and used for displaying the interface on the second screen. Specifically, the ultrasound interface data may include image-related information that needs to be displayed on the aforementioned second screen and data related to controls in the interface. For example, image-related information may include line density, fan width, scanning mode, etc. of the current ultrasound image. Data related to controls in the interface may include data on control style, position, corresponding ultrasound scanning diagnostic function, etc. For example, control size, control color, control brightness, text displayed on the control, position coordinates of the control, etc. Among them, the controls in the interface may be various controls related to ultrasound functions, such as basic device controls, ultrasound function controls, etc. The basic device controls may be controls that implement basic functions of electronic devices, such as power on / off buttons, volume adjustment buttons, etc., and ultrasound function controls may be special controls that implement functions related to ultrasound devices, and may include function selection controls, function adjustment controls, etc. Among them, the function selection controls may include selection controls for various scanning modes / scanning parameters, controls that trigger report generation, trackballs, etc. The function adjustment controls may include adjustment controls corresponding to various adjustable ultrasound function parameters, such as adjustment controls corresponding to line density, fan width, gain, etc.
[0070] The raw ultrasound interface data may be processed, and the processed ultrasound interface data may be assembled into control data required by the second screen. The second screen may include one or more controls. Controls are used to display content or support interactive elements. Controls are building blocks of the user interface displayed on the screen. The control data required by the screen may be general format data that can be read and parsed by the screen program.
[0071] The data processing operation may further include: in response to a screen operation event, modifying the ultrasound interface data and assembling the modified ultrasound interface data into new control data.
[0072] The second screen can be used for human-computer interaction. The screen program can be used to generate screen operation events in response to the user's operation on the content displayed on the second screen. After the ultrasound main program receives the screen operation event sent by the screen program, it can respond to the screen operation event. Specifically, it can parse the screen operation event into an operation instruction. It can be understood that the operation instruction represents the user's operation intention. For example, modify the ultrasound interface data such as the line density of the ultrasound image. The ultrasound interface data can be modified according to the operation instruction, and the modified ultrasound interface data can be assembled into new control data according to a preset assembly scheme.
[0073] It can be understood that the assembled control data, including the control data obtained by processing the original ultrasound interface data and the control data obtained by modifying the ultrasound interface data in response to the screen operation event, can be sent to the screen program for displaying the relevant control content using the screen program.
[0074] In step S120, the screen program is used to perform human-computer interaction operations. As mentioned above, in the prior art, a large amount of business logic needs to be processed by the screen program and data needs to be saved in the screen logic. In contrast, in the embodiment of the present application, the screen program is used for interface display and user interaction on the second screen, and does not process specific business logic.
[0075] Specifically, the human-computer interaction operation performed by using the screen program may include: parsing the control data into display data displayed on the screen.
[0076] In one embodiment of the present application, after the screen program receives the control data from the ultrasound main program, it can directly parse the control data into display data. The display data can be directly displayed on the second screen. There is no need to use the screen program to perform data logic operations. For example, these display data may include the image presentation data of the interface and the control displayed on the screen, such as the text content displayed on the control, the position of the control in the interface, and the display style of the control. For example, for a button displayed on the interface of the second screen, the text displayed on the button and the state of the button are determined based on the display data obtained by parsing the control data.
[0077] The human-computer interaction operation performed by using the screen program may further include: converting user operation data for display data into screen operation events.
[0078] The user can operate the display data displayed on the screen. The user operation data can be generated in response to the user's operation. The user operation data represents the content of the user operation. Exemplarily, a basic interface is displayed on the screen, and a plurality of controls, such as various function buttons, are included on the basic interface. The user operation data can be generated in response to the user clicking on these buttons. Specifically, the display data may include a selection control "HD imaging". The user can operate the selection control. For example, the current display state of the selection control "HD imaging" is "on", that is, high-definition ultrasound image data can be obtained at this time. The user can operate the selection control and change "on" to "off", and ordinary ultrasound image data can be obtained at this time. It can be understood that the ultrasound image data can be displayed in another first screen. In this example, the user operation data may include information that the user changes the parameter "HD imaging" from "on" to "off". After the user's operation, the text displayed by the control on the screen may need to be modified. The user operation data can be converted into a screen operation event, and each user operation data corresponds to a unique screen operation event. The screen operation event may be sent to the ultrasound main program, so that the ultrasound main program can modify the ultrasound interface data according to the screen operation event and assemble it into new control data.
[0079] It can be understood that the above-mentioned steps S110 and S120 are not each executed as a whole in sequence, but the various parts included therein can be executed alternately. For example, first, the original ultrasound interface data is processed using the ultrasound main program, and the processed ultrasound interface data is assembled into the control data required for the second screen. The control data is parsed into display data displayed on the second screen using the screen program. Whenever the user operates the display data displayed on the second screen, the screen program can be used again to convert the user operation data for the display data into screen operation events. The ultrasound main program is used to modify the ultrasound interface data according to the screen operation event and assemble the modified ultrasound interface data into new control data. Of course, the screen program can be used again to parse the control data into display data displayed on the second screen.
[0080] According to the embodiment of the present application, the ultrasound main program and the screen program can be run in the same operating system or in different operating systems. Thus, it is convenient to expand the connection form between the computing device running the screen program and the host computer running the ultrasound main program, and the two can be implemented using the same device or different connected devices.
[0081] In the above technical solution, for the screen program, it is no longer necessary to process the ultrasound interface data, and the processing operations of the ultrasound parameters are all implemented by the ultrasound main program. The screen program only parses the control data from the ultrasound main program into display data and converts the user operation data into screen operation events and sends them to the ultrasound main program. Therefore, in the ultrasound system, the separation of business logic and interface resources is realized, which not only greatly simplifies the implementation of the screen program, but also allows the interface to be customized conveniently. Ultrasound systems of different models only need to reassemble the ultrasound interface data. In other words, when the ultrasound system needs to develop new functions or expand existing functions, only the corresponding code is added to the ultrasound main program. Therefore, the interface display of the screen can be flexibly modified and expanded, and different display requirements can be met with less code adjustment. In addition, developers only need to pay attention to specific business data and assemble pages through basic controls according to requirements, without paying attention to specific communication and data model logic processing, which reduces the development threshold. There is no need to modify the communication data structure and parsing module between the ultrasound main program and the screen program. This significantly reduces the workload of developers and improves development efficiency. Finally, since data is only saved in the ultrasound main program, the waste of limited system resources is avoided.
[0082] Figure 2 FIG. 2 shows a schematic diagram of an ultrasound main program and a screen program according to an embodiment of the present application. Figure 2 As shown, the ultrasound main program includes a first data processing module, a second data processing module and a first communication module.
[0083] Figure 3a A schematic flow chart of a data processing operation performed by an ultrasound main program according to an embodiment of the present application is shown. Figure 3b A schematic flow chart of a data processing operation performed by an ultrasound main program according to another embodiment of the present application is shown. Figure 3a From the perspective of the execution subject, the different steps of data processing operations are described. Figure 3b The various steps of the data processing operation are shown in chronological order. Figure 3a and Figure 3b Describe the process.
[0084] like Figure 3a As shown, the data processing operation may include steps S310, S320 and step S330.
[0085] In step S310, the original ultrasound interface data is processed by the first data processing module and the ultrasound interface data is modified based on the format data from the second data processing module.
[0086] In step S320, the processed ultrasound interface data and the modified ultrasound interface data are assembled into control data required by the screen using the second data processing module, and the screen operation events are converted into format data required by the first data processing module.
[0087] In step S330, the control data is transmitted to the screen program and the screen operation event is received from the screen program by using the first communication module.
[0088] It is understood that steps S310 to S330 are not performed sequentially. Each step may include multiple operations, and each operation in a step may be performed crosswise with each operation in other steps. Figure 3b The execution order of each operation in step S310 to step S330 according to one embodiment of the present application is described.
[0089] like Figure 3b As shown, after the ultrasound main program is started, the following steps can be performed to use the ultrasound main program to perform data processing operations.
[0090] Before using the first data processing module to process or modify any ultrasound interface data, the first communication module is first started to establish a communication connection with the screen program. Optionally, the communication connection can be a network connection or a process-based communication connection.
[0091] Before using the first data processing module to perform any data logic calculation operation, the first communication module is first started to establish a communication connection with the screen program. That is, before the ultrasound main program and the screen program perform data processing, a communication connection between the two is established. This can provide a guarantee for the reliable and stable transmission of subsequent data, thereby avoiding unnecessary logic calculation and transmission of data.
[0092] Exemplarily, the ultrasound main program communicates with the screen program in a network mode or a process mode. In one embodiment, the ultrasound main program uses the first communication module to communicate with the screen program based on the transmission control network protocol (TCP / IP protocol). The TCP / IP protocol is a transmission protocol based on the Internet. In the communication process based on the TCP / IP protocol, the first communication module is used to first send a connection request message, and then receive a confirmation message from the screen program. When the confirmation message is received, a data packet is sent between the first communication module and the screen program. The ultrasound main program and the screen program communicate in a network mode based on the TCP / IP protocol, which can ensure timely and complete data transmission. In another embodiment, the ultrasound main program communicates with the screen program based on a process mode. As mentioned above, the ultrasound main program and the screen program can run under the same operating system, and the two can communicate based on message passing between different processes. As a result, it helps the ultrasound main program and the screen program to collaborate and jointly realize the content display and interactive functions of the second screen.
[0093] Reference again Figure 3b , after the first communication module is started and the communication connection with the screen program is successfully established, the first data processing module is used to process the original ultrasound interface data. For example, the current probe model, ultrasound image parameters, etc., such as adjustable parameters such as scanning depth, are obtained. Then, the processed ultrasound interface data is assembled into the control data required by the screen using the second data processing module. Specifically, the ultrasound interface data can be assembled into control data in a preset message format. The control data is transmitted to the screen program using the first communication module. The screen operation event generated by the screen program in response to the user's operation can also be received by the first communication module. The first communication module can be implemented using the C++ language. As mentioned above, the first communication module is used to communicate data with the screen module, send and receive data, etc. The screen operation event is converted into the format data required by the first data processing module using the second data processing module. The format data can be used to perform related operations at the bottom layer of the ultrasound system. For example, the parameters of whether the ultrasound system is "high-definition imaging" or not. After the first data processing module receives the format data, the ultrasound interface data is modified according to the format data. So far, the ultrasound interface data of the ultrasound system is successfully modified based on the user's operation. After modification, the modified ultrasound interface data can be assembled into the control data required by the screen using the second data processing module, and the control data can be transmitted to the screen program using the first communication module. Thus, the screen program can be used to update the relevant content displayed on the second screen. For example, for the above-mentioned "HD imaging" button, the "on" on the button can be modified to "off".
[0094] In the above technical solution, the ultrasound main program adopts a modular design. For different models or different sub-models of the same model, the first communication module and the first data processing module are usually not much different. Therefore, the two can only be partially differentiated or even universal. Because the interface presentation is quite different, only the second data processing module needs to be modified accordingly. This greatly reduces the difficulty of developing new models and reduces the workload of developers. In short, this improves module reuse rate and development efficiency.
[0095] Exemplarily, a configuration file may also be stored in the ultrasound system. The data processing method may further include: first, using the configuration file, determining the type and format of the control data sent to the screen program; then, in the assembled control data, determining the control data sent to the screen program according to the determined type and format, so that the screen program parses the sent control data.
[0096] It can be understood that for different types of ultrasound systems, the content displayed on the second screen is different, and this can be defined by a configuration file to define the control data displayed on the second screen. For example, in some ultrasound systems, the contrast function button needs to be displayed on the second screen, while in other ultrasound systems, the contrast function button does not need to be displayed. The difference in display content on the interface can be controlled by a configuration file. For another example, for the interface of the second screen in 2D mode, the implementation of the interface may be the same. However, for different types of ultrasound systems, the displayed controls and data may be different. This can also be done through a configuration file to control the display data in a specific model.
[0097] In the above technical solution, the data formats and types supported by the ultrasound system can be defined in the form of configuration files, which significantly improves the configurability of the system and facilitates the development of new ultrasound systems.
[0098] Figure 4a A schematic flowchart of a human-computer interaction operation performed using a screen program according to an embodiment of the present application is shown. Figure 4b FIG. 1 is a schematic flow chart of a human-computer interaction operation performed by a screen program according to another embodiment of the present application. Figure 2 , the screen program includes a third data processing module and a second communication module. Figure 4a From the perspective of these two execution entities, the different steps of human-computer interaction are described. Figure 4b The various steps of the human-computer interaction operation are shown in chronological order. Figure 4a and Figure 4b Describe the process.
[0099] like Figure 4a As shown, the data processing operation may include step S410 and step S420.
[0100] In step S410, the control data is parsed into display data and the user operation data for the display data is converted into screen operation events by using the third data processing module. In step S420, the screen operation events are transmitted to the ultrasound main program and the control data from the ultrasound main program is received by using the second communication module.
[0101] It can be understood that similar to step S310 to step S330, step S410 and step S420 are not performed sequentially. Each step may include multiple operations, and the operations in one step may be performed crosswise with the operations in other steps. Figure 4b The execution order of each operation in step S410 and step S420 according to one embodiment of the present application is described.
[0102] refer to Figure 4b After the screen program is started, the second communication module can be started immediately to establish a communication connection with the ultrasound main program, for example, through the first communication module of the ultrasound main program. Thus, data can be transmitted between the ultrasound main program and the screen program via the communication connection, for example, the ultrasound main program is used to send control data to the screen program. The process of establishing the communication connection can be dominated by the first communication module of the ultrasound main program. Similar to the first communication module, the second communication module can also be implemented using the C++ language.
[0103] After starting the screen program, the second communication module is immediately started to establish a communication connection with the ultrasound main program. That is, before the ultrasound main program and the screen program process data, a communication connection is established between the two. This can provide a guarantee for the reliable and stable transmission of subsequent data.
[0104] After the second communication module starts to successfully establish a communication connection with the ultrasound main program, the third data processing module is used to parse the control data into display data. The display data may include interface information, such as the position, style and content information of various controls in the interface, and the interface can be displayed on the second screen according to the display data. The user can operate the page presented on the screen according to his wishes, that is, operate on the display data, such as by clicking on the controls displayed on the screen. After the user operates, user operation data for the display data can be generated. The user operation data can be converted into a screen operation event. The screen operation event is transmitted to the ultrasound main program using the second communication module. As mentioned above, the ultrasound main program can be used to generate new control data based on the screen operation event. At this time, the second communication module can be used to receive new control data again to generate a new page.
[0105] In the above technical solution, the screen program adopts a modular design. For different models or different sub-models of the same model, the second communication module is usually not much different, so it can only be partially differentiated or even universal. Because the third data processing module is not responsible for data logic calculations, but is used to directly parse control data and user interaction, when developing a new model, only a few modifications need to be made to the third data processing module. This greatly reduces the difficulty of developing new models and reduces the workload of developers. In short, this improves module reuse and development efficiency.
[0106] Figure 5 The following is a schematic flow chart of parsing control data into display data displayed on the screen using a screen program according to an embodiment of the present application. In this embodiment, the display of the view on the second screen is controlled by a model, and the model data is specifically controlled by the ultrasound main program. Figure 5 As shown, parsing the control data into display data displayed on the screen using the screen program may include S510, S520 and S530.
[0107] In step S510, the control data is converted into model data. In step S520, the model data is updated to the view. In step S530, the view is rendered by the proxy to display the display data.
[0108] Reference again Figure 4b , the above-mentioned process of parsing the control data into display data is described in detail. In one embodiment, the screen program can adopt the Model / View programming mode. After the screen program receives the control data from the ultrasound main program, it converts the control data into the model data required by the second screen. Then the converted model data is updated to the view displayed on the second screen. In other words, the model data is used to control the display of the view. For example, the model data can be the main body of the target to be displayed, and the view can be a two-dimensional graphical form of the target. The model data is used to represent the position, shape, size and distribution characteristics of the spatial target entity, and the display of the view is controlled by the model data. The final page effect can be obtained by the method of proxy rendering view, so as to display the target to the user through the second screen.
[0109] In the above technical solution, the control data is converted into model data, and then displayed based on the model data. This solution is easy to implement, can provide a rich display space for ultrasound interface data, and is conducive to intuitive and visualizing abstract and difficult to understand ultrasound interface data.
[0110] like Figure 4bAs shown, exemplarily, parsing the control data into display data displayed on the screen may include: using the interface resource file, parsing the control data into basic control data and page data respectively, so as to display the basic control and the page on the second screen.
[0111] According to one embodiment of the present application, the screen program may include an interface resource file. The interface resource file may include a basic control part and a page part. The basic control part contains basic controls such as buttons and scroll bars required for the interface. The page part is the business interface that is finally presented to the user. After the screen program is started, for example, after the second communication module is started, the interface resource file can be loaded. If the loading fails, it ends. If the loading is successful, the interface resource file can be used to load the main page. After receiving the control data from the ultrasound main program, the control data can be parsed into basic control data and sub-page data respectively. Thus, the sub-page can be loaded and the page model can be set. The page model is such as the text and status of the buttons on the page. Thus, the basic controls and pages are displayed on the second screen.
[0112] In the above technical solution, the interface resource file is used to parse the control data from the ultrasound main program, so that the interface display of the screen can be flexibly modified and expanded. In the face of different display requirements, only the interface resource file needs to be adjusted to meet them. Thus, the development efficiency is improved. In addition, parsing the control file into two types of display data can make the display data clearly classified and avoid errors.
[0113] According to another aspect of the present invention, an ultrasound system is provided, which includes a host, a first screen and a second screen.
[0114] The first screen is used to display ultrasound data. The ultrasound data includes ultrasound image data. Optionally, the ultrasound data also includes ultrasound interface data. The second screen is used to display ultrasound interface data and interact with the user.
[0115] The host runs an ultrasound main program and a screen program, the ultrasound main program is used to perform data processing operations, and the screen program is used to perform human-computer interaction operations. The data processing operation includes: processing the original ultrasound interface data, and assembling the processed ultrasound interface data into the control data required by the second screen. In response to the screen operation event, the ultrasound interface data is modified and the modified ultrasound interface data is assembled into new control data. The human-computer interaction operation includes: parsing the control data into display data for display on the second screen. Converting user operation data for the display data into screen operation events.
[0116] Figure 6a and Figure 6b 1 and 2 respectively show a page displayed on a first screen and a page displayed on a second screen according to an embodiment of the present invention. Figure 6a As shown, a two-dimensional or three-dimensional ultrasound scanning image can be displayed on the first screen. Figure 6b As shown, a human-computer interaction interface is shown on the second screen, and various ultrasound parameters and patient information can be obtained by using the interface. The human-computer interaction interface includes various function buttons. The user can modify the ultrasound interface data through these buttons.
[0117] According to the description of this embodiment, it can be understood that a complete closed-loop interactive ultrasound system is formed in this way, which improves the user experience.
[0118] Exemplarily, the second screen is a touch screen. A touch screen is an inductive liquid crystal display device that can receive input signals such as a contact, and can be used not only as an output device but also as an input device.
[0119] In the above technical solution, the touch screen is used to realize the second screen, which provides the simplest, most convenient and natural human-computer interaction method and improves the user experience.
[0120] Alternatively, the second screen may also be a normal display screen. In this example, the ultrasound system may also include an input device, such as a mouse, a keyboard, etc. The user may indirectly operate the controls displayed on the display screen by operating the input device to achieve human-computer interaction.
[0121] According to another aspect of the present application, a data processing device for an ultrasound system is also provided. The data processing device may include an ultrasound module and a screen module. The ultrasound module is used to perform data processing operations using an ultrasound main program. The screen module is used to perform human-computer interaction operations using a screen program. The data processing operations include: processing original ultrasound interface data, assembling the processed ultrasound interface data into control data required for the screen; and in response to screen operation events, modifying the ultrasound interface data and assembling the modified ultrasound interface data into new control data. The human-computer interaction operations include: parsing the control data into display data displayed on the screen; converting user operation data for the display data into screen operation events.
[0122] The ultrasound module and the screen module can respectively perform the corresponding steps / functions in the data processing method for the ultrasound system described above. The above only describes the main functions of the components of the data processing device, and omits the details already described above.
[0123] Exemplarily, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the ultrasound module and the screen module can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0124] According to another aspect of the present application, a storage medium is also provided, on which an ultrasound main program and a screen program and parameters required for the program are stored, and when the ultrasound main program and the screen program are run by a processor, the storage medium is used to execute the corresponding steps of the data processing method for an ultrasound system according to an embodiment of the present application, and is used to implement the corresponding modules in the ultrasound system according to an embodiment of the present application. The storage medium may include, for example, a storage component, a hard disk, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable read-only memory (CD-ROM), a USB memory, or any combination of the above storage media.
[0125] A person skilled in the art may understand the specific implementation scheme and beneficial effects of the above-mentioned ultrasound system and storage medium by reading the above-mentioned description of the data processing method for the ultrasound system, which will not be described in detail here for the sake of brevity.
[0126] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.
[0127] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0128] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0129] The various component embodiments of the present application can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. The application can also be implemented as a device program (e.g., computer program and computer program product) for performing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
Claims
1. A data processing method for an ultrasound system, characterized in that: include: Using the ultrasound main program, perform data processing operations; Use screen programs to perform human-computer interaction operations; The data processing operation includes: Processing the original ultrasound interface data, and assembling the processed ultrasound interface data into the control data required by the screen; and In response to the screen operation event, modify the ultrasound interface data and assemble the modified ultrasound interface data into new control data; The human-computer interaction operation includes: parsing the control data into display data displayed on the screen; The user operation data for the display data is converted into a screen operation event.
2. The data processing method according to claim 1, characterized in that: The ultrasound main program includes a first data processing module, a second data processing module and a first communication module; The ultrasound main program is used to perform data processing operations, including: Using the first data processing module, processing the original ultrasound interface data and modifying the ultrasound interface data based on the format data from the second data processing module; Using the second data processing module, assembling the processed ultrasound interface data and the modified ultrasound interface data into control data required by the screen, and converting the screen operation events into format data required by the first data processing module; The first communication module is used to transmit control data to the screen program and receive screen operation events from the screen program.
3. The data processing method according to claim 2, characterized in that: Before using the first data processing module to process the original ultrasound interface data, using the ultrasound main program to perform data processing operations also includes: The first communication module is started to establish a connection with the screen program.
4. The data processing method according to claim 1, characterized in that: The screen program includes a third data processing module and a second communication module; The use of the screen program to perform human-computer interaction operations includes: Utilizing the third data processing module, parsing the control data into the display data and converting the user operation data for the display data into screen operation events; The second communication module is used to transmit screen operation events to the ultrasound main program and receive control data from the ultrasound main program.
5. The data processing method according to claim 4, characterized in that: Before the third data processing module is used to parse the control data into the display data, the screen program is used to perform the human-computer interaction operation, and further includes: The second communication module is started to establish a communication connection with the ultrasound main program.
6. The data processing method according to any one of claims 1 to 5, characterized in that: The step of parsing the control data into display data displayed on the screen includes: Converting the control data into model data; Update the model data into the view; The view is rendered by a proxy to display the display data.
7. The data processing method according to any one of claims 1 to 5, characterized in that: The step of parsing the control data into display data displayed on the screen includes: The control data is parsed into basic control data and page data respectively by using the interface resource file, so as to display the basic control and the page on the screen.
8. The data processing method according to any one of claims 1 to 5, characterized in that: The method further comprises: Using the configuration file, determining the type and format of the control data sent to the screen program; Among the assembled control data, the control data sent to the screen program is determined according to the determined type and format, so that the screen program parses the sent control data.
9. The data processing method according to any one of claims 1 to 5, characterized in that: The ultrasound main program and the screen program communicate with each other in a network mode or a process mode based on a transmission control network protocol.
10. An ultrasound system, comprising a host, a first screen and a second screen; characterized in that: The first screen is used to display ultrasound data; The host runs an ultrasound main program and a screen program, wherein the ultrasound main program is used to perform data processing operations, and the screen program is used to perform human-computer interaction operations. The data processing operations include: Processing the original ultrasound interface data, and assembling the processed ultrasound interface data into control data required by the second screen; and In response to the screen operation event, modify the ultrasound interface data and assemble the modified ultrasound interface data into new control data; The human-computer interaction operation includes: parsing the control data into display data for display on the second screen; The user operation data for the display data is converted into a screen operation event.
11. The ultrasound system of claim 10, wherein: The second screen is a touch screen.
12. A data processing device for an ultrasound system, characterized in that: include: An ultrasound module, used for performing data processing operations using an ultrasound main program; The screen module is used to perform human-computer interaction operations using screen programs; The data processing operation includes: Processing the original ultrasound interface data, and assembling the processed ultrasound interface data into the control data required by the screen; and In response to the screen operation event, modify the ultrasound interface data and assemble the modified ultrasound interface data into new control data; The human-computer interaction operation includes: parsing the control data into display data displayed on the screen; The user operation data for the display data is converted into a screen operation event.
13. A storage medium, characterized in that: An ultrasound main program and a screen program are stored on the storage medium. The ultrasound main program and the screen program are used to execute the data processing method for an ultrasound system according to any one of claims 1 to 9 when running.