Method, device, equipment and computer storage medium for sending parameters of ultrasonic equipment
By using the linked list mechanism in ultrasonic devices, the adjustment instructions are converted into parameter data and the identification is triggered in the linked list, the problem of low efficiency of image parameter is solved, and faster image adjustment and control interface efficiency is achieved.
Patent Information
- Application Number
- CN202111604099.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2041-12-24
AI Technical Summary
The image parameters of existing medical ultrasound equipment are efficient in issuing low, and it is impossible to respond quickly to doctor adjustment instructions.
After receiving adjustment instructions and converting them into parameter data, the data is placed in a pre-registered linked list, and the corresponding adjustment logo is triggered in the linked list, traversing the linked list and sending it to the scanning controller.
It improves the efficiency of image parameter distribution, improves the agility of image adjustment and the efficiency of control interfaces.
Smart Images

Figure CN114265844B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ultrasonic technology, and in particular to a method, device, equipment and computer storage medium for sending parameters of an ultrasonic device. Background Art
[0002] With the development of science and technology, the use of embedded computer devices is becoming more and more widespread. Medical ultrasound equipment can respond to doctors' instructions to adjust images, thereby improving doctors' diagnostic efficiency.
[0003] Current medical ultrasound equipment suffers from a low efficiency in transmitting image parameters, making it difficult to quickly respond to physicians' image adjustment commands. Existing technologies have attempted to improve this efficiency by increasing the communication speed and bandwidth for transmitting data or reducing the number of image parameter linkages, but these efforts have been ineffective. Therefore, finding a more effective way to improve this efficiency remains an urgent challenge. Summary of the Invention
[0004] In view of this, it is necessary to provide a method, apparatus, device and computer storage medium for sending parameters of an ultrasound device to solve the problem of low efficiency in sending parameters of the ultrasound device.
[0005] In order to solve the above problems, in a first aspect, the present invention provides a method for sending parameters of an ultrasound device, comprising:
[0006] Receive adjustment instructions and convert the adjustment instructions into parameter data according to a preset algorithm;
[0007] Put the parameter data into a pre-registered linked list and trigger the adjustment flag corresponding to the parameter data in the linked list;
[0008] The adjustment identifiers in the linked list are traversed, and the parameter data corresponding to the triggered adjustment identifiers are sent to the scanning controller of the ultrasound device.
[0009] The further linked list includes an address area, a buffer area, and an identification area, and the parameter data is placed in the pre-registered linked list, and the adjustment identification corresponding to the parameter data is triggered in the linked list, including:
[0010] If it is detected that parameter data is stored in the cache area of the linked list, an adjustment identifier corresponding to the parameter data is triggered in the linked list identifier area according to the cache timestamp.
[0011] Furthermore, the parameter data corresponding to the triggered adjustment flag is sent to the scanning controller of the ultrasound device, including:
[0012] Determine the address protocol corresponding to the parameter data in the linked list address area according to the cache timestamp;
[0013] According to the address protocol, the parameter data and address protocol are sent to the scanning controller.
[0014] Furthermore, the parameter data corresponding to the triggered adjustment flag is sent to the scanning controller of the ultrasound device, including:
[0015] Take out parameter data from the linked list cache area according to the cache timestamp;
[0016] Retrieve the address protocol from the linked list address area according to the cache timestamp;
[0017] Send parameter data and address protocol to the scanning controller.
[0018] Furthermore, the method further comprises:
[0019] After the parameter data is sent to the scanning controller, the triggered adjustment flag is cleared in the linked list flag area according to the cache timestamp.
[0020] Furthermore, if the linked list includes at least two first parameter data, and the at least two first parameter data have an associated relationship, traversing the adjustment identifiers in the linked list and sending the parameter data corresponding to the triggered adjustment identifiers to the scanning controller of the ultrasound device includes:
[0021] Traversing the first adjustment identifiers in the linked list, and determining at least two first parameter data having an associated relationship corresponding to at least two triggered first adjustment identifiers;
[0022] At least two first parameter data having an associated relationship are simultaneously sent to a scanning controller of the ultrasound device.
[0023] In a second aspect, the present invention further provides a parameter distribution device for an ultrasound device, comprising:
[0024] Conversion module: used to receive adjustment instructions and convert the adjustment instructions into parameter data according to a preset algorithm;
[0025] Trigger module: used to put parameter data into a pre-registered linked list and trigger the adjustment identifier corresponding to the parameter data in the linked list;
[0026] Sending module: used to traverse the adjustment identifiers in the linked list and send the parameter data corresponding to the triggered adjustment identifier to the scanning controller of the ultrasound device.
[0027] In a third aspect, the present invention further provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned method for sending parameters of the ultrasound device are implemented.
[0028] In a fourth aspect, the present invention further provides a computer storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method for sending ultrasound equipment parameters are implemented.
[0029] With the technical solution provided by the above embodiment, after receiving the adjustment instruction input by the user and converting the adjustment instruction into parameter data according to a preset algorithm, the parameter data is not directly sent to the scanning controller of the ultrasound device. Instead, the parameter data is placed in a pre-registered linked list, avoiding the problem of the algorithm calculation process and the sending process running simultaneously, resulting in a long system operation time. Furthermore, by traversing the adjustment identifiers in the linked list, the parameter data that meets the trigger conditions is sent to the scanning controller, further facilitating parameter linkage triggering. By separating the algorithm from the input and output control, the present invention improves the efficiency of the control interface and makes image adjustment more agile. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A flow chart of an embodiment of a method for sending parameters of an ultrasonic device provided by the present invention;
[0031] Figure 2 A flow chart of another embodiment of a method for sending parameters of an ultrasonic device provided by the present invention;
[0032] Figure 3 This is a structural schematic diagram of an embodiment of a parameter sending device for ultrasonic equipment provided by the present invention. DETAILED DESCRIPTION
[0033] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.
[0034] The embodiment of the present invention provides a method for sending parameters of an ultrasound device, such as Figure 1 As shown, the method includes:
[0035] S101: receiving an adjustment instruction, and converting the adjustment instruction into parameter data according to a preset algorithm.
[0036] The adjustment instructions include image adjustment instructions for the ultrasound device. Specifically, the adjustment instructions may be depth adjustment instructions, transmission frequency adjustment instructions, or sound speed adjustment instructions.
[0037] The preset algorithm may include an algorithm for an ultrasound system, which belongs to the prior art and will not be described in detail here. The algorithm may convert adjustment instructions into parameter data for easy recognition by a scanning controller of the ultrasound device.
[0038] S102: Put the parameter data into a pre-registered linked list, and trigger an adjustment identifier corresponding to the parameter data in the linked list.
[0039] Among them, the pre-registered linked list can be in the data class of the register. Putting the parameter data into the pre-registered linked list can be understood as putting the parameter data into the register for caching rather than directly sending it down. This can well separate the algorithm from the input and output control.
[0040] Furthermore, after the parameter data is cached, an adjustment flag corresponding to the parameter data may be further triggered in the linked list, indicating that the parameter data may be applied.
[0041] S103: traverse the adjustment identifiers in the linked list, and send parameter data corresponding to the triggered adjustment identifier to the scanning controller of the ultrasound device.
[0042] It can be understood that when the parameter data is sent down, the linked list in the register data class will be traversed. If the adjustment flag corresponding to the parameter data is triggered, the parameter data can be sent down to the scanning controller of the ultrasound device, and the scanning controller adjusts the image displayed on the ultrasound device according to the sent parameter data.
[0043] The technical solution provided by the embodiment of the present invention, after receiving the adjustment instructions input by the user and converting the adjustment instructions into parameter data according to a preset algorithm, does not directly send the parameter data to the scanning controller of the ultrasound device. Instead, the parameter data is placed in a pre-registered linked list, avoiding the problem of the algorithm calculation process and the sending process running simultaneously, resulting in a long system operation time. Furthermore, by traversing the adjustment identifiers in the linked list, the parameter data that meets the trigger conditions is sent to the scanning controller, further providing the possibility of parameter linkage triggering. By separating the algorithm from the input and output control, the present invention improves the efficiency of the control interface and makes image adjustment more agile.
[0044] In one embodiment of the present invention, the pre-registered linked list includes an address area, a cache area, and an identification area.
[0045] Specifically, the address area may include a 32-bit protocol address of the image parameter. The 32-bit protocol address is a control parameter protocol address agreed upon by the register and the logic scan controller. Through this address, the scan controller can identify the parameter data more quickly. The cache area may be memory space allocated using a C language memory allocation interface according to the data logic length of the corresponding address in the protocol. The trigger flag in the identification area may be a Boolean variable. If set to true, it indicates that the group of parameter data has been triggered. On the contrary, if it is false, it indicates that it has not been triggered.
[0046] The following is a simple example of the emission pulse waveform. The emission waveform pulse includes a black and white emission waveform reg1_obj. In the address area of the linked list, the address is the scan controller protocol address 0x11, and the parameter data reg_data in the cache area. If reg_data is 0, it indicates a negative unipolar pulse, 1 indicates a positive unipolar pulse, and 2 indicates a bipolar pulse. It should be noted that the above numbers are only examples and not limitations.
[0047] Triggering the adjustment flag corresponding to the parameter data in the linked list includes:
[0048] If it is detected that parameter data is stored in the cache area of the linked list, an adjustment identifier corresponding to the parameter data is triggered in the linked list identifier area according to the cache timestamp.
[0049] It can be understood that when the parameter data is placed in the cache area of the linked list for caching, there is generally a cache timestamp. In order to ensure the correspondence between the parameter data and the adjustment identifier, the adjustment identifier of the parameter data can be triggered in the identification area of the linked list according to the cache timestamp, that is, the identification variable in the identification area is set to true.
[0050] In one embodiment of the present invention, sending parameter data corresponding to the triggered adjustment flag to a scanning controller of an ultrasound device includes:
[0051] Determine the address protocol corresponding to the parameter data in the linked list address area according to the cache timestamp;
[0052] According to the address protocol, the parameter data and address protocol are sent to the scanning controller.
[0053] It can be understood that the protocol address is the control parameter protocol address agreed upon by the register and the scanning controller. Through this address, the scanning controller can identify the parameter data more quickly. Therefore, the address protocol of the parameter data can be determined in the address area of the linked list based on the cache timestamp, and then the parameter data and address protocol can be sent to the scanning controller based on the address protocol.
[0054] Furthermore, in one embodiment of the present invention, sending parameter data corresponding to the triggered adjustment flag to a scanning controller of an ultrasound device includes:
[0055] Take out parameter data from the linked list cache area according to the cache timestamp;
[0056] Retrieve the address protocol from the linked list address area according to the cache timestamp;
[0057] Send parameter data and address protocol to the scanning controller.
[0058] It is understandable that the space of the register is limited. In order to make better use of the internal space of the register, it is necessary to take out the protocol address and parameter data from the protocol area and the cache area respectively, and send them to the scanning controller. By sending the protocol address together, the recognition efficiency of the scanning controller is improved.
[0059] In one embodiment of the present invention, after the parameter data is sent to the scan controller, the triggered adjustment flag is cleared in the linked list flag area according to the cache timestamp.
[0060] Specifically, after the parameter data is sent to the scan controller, the identification variable in the identification area may be set to false according to the cache timestamp.
[0061] In one embodiment of the present invention, if the linked list includes at least two parameter data and the at least two parameter data have an associated relationship, the adjustment identifiers in the linked list are traversed, and the parameter data corresponding to the triggered adjustment identifier is sent to the scanning controller of the ultrasound device, such as Figure 2 As shown, including:
[0062] S201: traverse the second adjustment identifiers in the linked list to determine at least two parameter data with an associated relationship corresponding to at least two triggered second adjustment identifiers;
[0063] S202: Send at least two parameter data having an associated relationship to a scanning controller of the ultrasound device simultaneously.
[0064] It can be understood that when the linked list includes at least two parameter data, that is, the ultrasonic device also receives at least two adjustment instructions, and the at least two adjustment instructions have an associated relationship. Specifically, the adjustment instructions with the associated relationship can be marked in advance, and the mark can be maintained in subsequent parameter conversions.
[0065] When a second adjustment instruction with an associated relationship is received, a preset ultrasound system algorithm may be called to perform conversion calculations on the adjustment instruction to obtain at least two second parameter data with an associated relationship.
[0066] It is understood that, if the identification area of the linked list includes at least two triggered second adjustment identifiers, when traversing these triggered second adjustment identifiers in the linked list, the data is not retransmitted, but only sent once. Specifically, at least two associated parameter data can be sent to the scanning controller of the ultrasound device simultaneously, thereby improving sending efficiency.
[0067] The interlocking of adjustment commands is common in ultrasound system design. For example, issuing apodization parameters requires the transmit frequency adjustment command and the transmit focus adjustment command as inputs. Ultrasonic algorithms then calculate the apodization parameters and issue them to the scanning controller. Therefore, the transmit frequency adjustment command and the transmit focus adjustment command are dependent inputs for the apodization parameters, and the transmit frequency and transmit focus need to be interlocked to determine the apodization parameters. Therefore, during the adjustment process, after receiving the transmit frequency adjustment command and the transmit focus adjustment command, the apodization parameters are not issued every time an adjustment command is received. Instead, the apodization parameters are issued only once.
[0068] Based on the above-mentioned parameter sending method for ultrasound equipment, an embodiment of the present invention further provides a parameter sending device for ultrasound equipment, which corresponds to the parameter sending method for ultrasound equipment in the above-mentioned embodiment. Figure 3 As shown, the parameter sending device of the ultrasound device includes a conversion module 301, a trigger module 302, and a sending module 303. The detailed description of each functional module is as follows:
[0069] Conversion module 301: used to receive adjustment instructions and convert the adjustment instructions into parameter data according to a preset algorithm;
[0070] Trigger module 302: used to put parameter data into a pre-registered linked list and trigger an adjustment identifier corresponding to the parameter data in the linked list;
[0071] The sending module 303 is used to traverse the adjustment identifiers in the linked list and send the parameter data corresponding to the triggered adjustment identifier to the scanning controller of the ultrasound device.
[0072] The specific definition of the parameter distribution device for an ultrasound device can be found in the definition of the parameter distribution method for an ultrasound device described above and will not be repeated here. The various modules in the parameter distribution device for an ultrasound device described above can be implemented in whole or in part through software, hardware, or a combination thereof. The aforementioned modules can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so that the processor can call and execute the operations corresponding to the aforementioned modules.
[0073] Based on the above-mentioned parameter sending method for ultrasound equipment, an embodiment of the present invention also provides a parameter sending device for ultrasound equipment, including: a processor and a memory, and a computer program stored in the memory and executable on the processor; when the processor executes the computer program, the steps in the parameter sending method for ultrasound equipment in the above-mentioned embodiments are implemented.
[0074] Based on the above-mentioned parameter sending method for ultrasound equipment, an embodiment of the present invention also provides a computer storage medium accordingly, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the parameter sending method for ultrasound equipment as described in the above-mentioned embodiments.
[0075] The parameter sending method for an ultrasound device provided by the present invention pre-registers a linked list through a register, reduces the number of times the parameter data is sent to the scanning controller in terms of timing control with the coprocessor, and improves the efficiency of parameter data sending. Specifically, the adjustment instruction input by the user is not directly sent to the scanning controller, but only updates the cache in the corresponding linked list and sets the trigger condition; when scanning, the linked list is traversed according to the address protocol of the linked list protocol area. If the register has set the trigger adjustment flag, the data and address are taken out, the parameters are sent to the scanning controller, and the trigger flag is cleared; if there is a linked adjustment instruction, only the parameter conversion and calculation modules that they depend on are repeatedly called, and the registers that need to be linked controlled are ultimately only sent once, rejecting the linked retransmission, thereby improving the sending efficiency; and the algorithm is separated from the input and output control, improving the efficiency of the control interface, making image adjustment more agile.
[0076] Those skilled in the art will appreciate that all or part of the process steps of the above-described embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0077] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.
Claims
1. A method for sending parameters of an ultrasound device, wherein the parameters are medical image parameters, characterized in that: include: receiving an adjustment instruction and converting the adjustment instruction into parameter data according to a preset algorithm; Put the parameter data into a pre-registered linked list, and trigger an adjustment identifier corresponding to the parameter data in the linked list; Traversing the adjustment identifiers in the linked list, and sending parameter data corresponding to the triggered adjustment identifiers to the scanning controller of the ultrasound device; The linked list includes an address area, a cache area, and an identification area. The step of placing the parameter data into a pre-registered linked list and triggering an adjustment identification corresponding to the parameter data in the linked list includes: If it is detected that the parameter data is stored in the cache area of the linked list, an adjustment identifier corresponding to the parameter data is triggered in the linked list identifier area according to the cache timestamp.
2. The method according to claim 1, characterized in that The step of sending parameter data corresponding to the triggered adjustment flag to the scanning controller of the ultrasound device includes: determining, in the linked list address area, an address protocol corresponding to the parameter data according to the cache timestamp; According to the address protocol, the parameter data and the address protocol are sent to a scanning controller.
3. The method according to claim 1, characterized in that The step of sending parameter data corresponding to the triggered adjustment flag to the scanning controller of the ultrasound device includes: Retrieving the parameter data from the linked list cache area according to the cache timestamp; Retrieving the address protocol from the linked list address area according to the cache timestamp; The parameter data and the address protocol are sent to the scanning controller.
4. The method according to claim 3, characterized in that The method further comprises: After the parameter data is sent to the scanning controller, the triggered adjustment flag is cleared in the linked list flag area according to the cache timestamp.
5. The method according to any one of claims 1 to 4, characterized in that If the linked list includes at least two first parameter data, and the at least two first parameter data have an associated relationship, traversing the adjustment identifiers in the linked list and sending the parameter data corresponding to the triggered adjustment identifiers to the scanning controller of the ultrasound device includes: Traversing the first adjustment identifiers in the linked list, and determining at least two first parameter data having an associated relationship corresponding to the at least two triggered first adjustment identifiers; The at least two first parameter data having an associated relationship are simultaneously sent to the scanning controller of the ultrasound device.
6. A device for sending parameters of an ultrasound device, wherein the parameters are medical image parameters, characterized in that: include: A conversion module, configured to receive an adjustment instruction and convert the adjustment instruction into parameter data according to a preset algorithm; a trigger module, configured to place the parameter data into a pre-registered linked list and trigger an adjustment identifier corresponding to the parameter data in the linked list; a sending module, configured to traverse the adjustment identifiers in the linked list and send parameter data corresponding to the triggered adjustment identifiers to the scanning controller of the ultrasound device; The linked list includes an address area, a cache area, and an identification area. The step of placing the parameter data into a pre-registered linked list and triggering an adjustment identification corresponding to the parameter data in the linked list includes: If it is detected that the parameter data is stored in the cache area of the linked list, an adjustment identifier corresponding to the parameter data is triggered in the linked list identifier area according to the cache timestamp.
7. A computer device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for sending ultrasound equipment parameters according to any one of claims 1 to 5 are implemented.
8. A computer storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for sending ultrasound device parameters according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Multi-thread linked list processing method and device and computer readable storage medium
CN110598054A
Ultrasonic scanning control parameter issuing method and system
CN113282314A