Working probe switching method and device, ultrasonic equipment and storage medium

文档序号:691426 发布日期:2021-05-04 浏览:5次 中文

阅读说明:本技术 一种工作探头切换方法、装置及超声设备和存储介质 (Working probe switching method and device, ultrasonic equipment and storage medium ) 是由 刘德清 冯乃章 于 2020-12-31 设计创作,主要内容包括:本申请公开了一种工作探头切换方法、装置及一种超声设备和计算机可读存储介质,该方法包括:判断超声设备接收到的操作指令是否满足预设条件;其中,预设条件包括第一预设时间范围内超声设备未接收到操作指令,或,接收到选择工作探头对应的操作指令;若是,则检测超声设备上非工作探头的运动偏移量;将运动偏移量大于偏移量阈值的非工作探头切换为工作探头。由此可见,本申请提供的工作探头切换方法,结合超声设备的接收到的操作命令和各探头的运动状态,实现了自动确定工作探头。同时,避免了在工作探头的使用过程中,工作探头静止导致的探头错误切换,提高了确定工作探头的准确性。(The application discloses a working probe switching method, a device, an ultrasonic device and a computer readable storage medium, wherein the method comprises the following steps: judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or receives an operation instruction corresponding to a selected working probe; if so, detecting the motion offset of a non-working probe on the ultrasonic equipment; and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe. Therefore, the working probe switching method provided by the application realizes automatic determination of the working probe by combining the received operation command of the ultrasonic equipment and the motion state of each probe. Meanwhile, the probe error switching caused by the static working probe in the use process of the working probe is avoided, and the accuracy of determining the working probe is improved.)

1. A working probe switching method of an ultrasonic device is characterized by comprising the following steps:

judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received;

if so, detecting the motion offset of a non-working probe on the ultrasonic equipment;

and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

2. The method for switching the working probe according to claim 1, wherein before switching the non-working probe with the movement offset larger than the offset threshold to the working probe, the method further comprises:

if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining whether to switch the probe according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment and the motion offset;

if so, switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

3. The working probe switching method according to claim 2, wherein the instruction type includes a selection working probe type, a mode switching type, an operation state switching type, a parameter setting type;

the priority corresponding to the operating instruction for selecting the type of the working probe is higher than that corresponding to a target operating instruction, and the priority corresponding to the target operating instruction is higher than that corresponding to operating instructions of other instruction types; the instruction type of the target operation instruction is the operation state switching type, and the target operation instruction is used for starting a scanning frozen state.

4. The method for switching the working probe according to claim 2, wherein before switching the non-working probe with the movement offset larger than the offset threshold to the working probe, the method further comprises:

determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment; wherein the offset threshold is inversely related to the priority.

5. The working probe switching method according to claim 4, wherein the determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasound device includes:

if the ultrasonic equipment receives an operation instruction corresponding to a selected working probe, determining a first preset value as the offset threshold;

if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the instruction type of the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining a corresponding offset threshold according to the priority of the instruction type; wherein the offset threshold is inversely related to the priority;

if the ultrasonic equipment does not receive an operation instruction within the first preset time range and the second preset time range and the current working probe is in a static state within the second preset time range, determining a second preset value as the offset threshold;

wherein the first preset value is less than or equal to the second preset value.

6. The method for switching the working probe according to claim 1, wherein before the step of determining whether the operation instruction received by the ultrasound device satisfies the preset condition, the method further comprises:

acquiring an operating state of the ultrasound device; wherein the operating state comprises a real-time scanning state and a scanning freezing state;

correspondingly, under the condition that the ultrasonic equipment is in the real-time scanning state, if the ultrasonic equipment does not receive an operation instruction within a first preset time range, judging whether a current working probe is in a static state within the first preset time range;

and if so, entering the step of detecting the movement offset of the non-working probe on the ultrasonic equipment.

7. The method for switching the working probe according to claim 1, further comprising:

after the ultrasonic equipment enters an initial working state, acquiring initial positions of all probes corresponding to the ultrasonic equipment;

detecting the movement offset of all the probes at the current moment based on the initial position, and acquiring the position variation of all the probes in a third preset time range before the current moment;

and determining the probe with the movement offset larger than a third preset value and the position variation larger than a fourth preset value as a working probe.

8. The method for switching the working probe according to claim 1, wherein switching the non-working probe with the movement offset larger than the offset threshold value to the working probe comprises:

judging whether a target probe with the motion offset larger than an offset threshold exists in the non-working probe or not;

if yes, judging whether the number of the target probes is more than one;

if so, determining a working probe according to the motion state information of all the target probes; the motion state information comprises any one or combination of any several of motion offset, probe attitude and motion speed;

and if not, determining the target probe as a working probe.

9. The method for switching the working probe according to claim 8, further comprising:

and if the target probe with the movement offset larger than the offset threshold value does not exist, keeping the current working probe.

10. The working probe switching method according to any one of claims 1 to 9, wherein after switching the non-working probe having the movement offset larger than the offset threshold to the working probe, further comprising:

and displaying a diagnosis interface of a target diagnosis item corresponding to the working probe or displaying a diagnosis item selection interface corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment.

11. The method for switching the working probe according to claim 10, wherein displaying a diagnosis interface of a target diagnosis item corresponding to the working probe based on the configuration corresponding to the ultrasound device comprises:

displaying a diagnosis interface of a default diagnosis item corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment;

or, determining a target diagnosis item according to the motion state information of the working probe, and displaying a diagnosis interface of the target diagnosis item.

12. The method for switching the working probe according to claim 10, wherein after displaying the diagnostic item selection interface corresponding to the working probe, the method further comprises:

positioning a current selection item in the diagnosis item selection interface to a default diagnosis item corresponding to the working probe;

if a moving instruction of the working probe to a target direction is received, moving a current selection item in the diagnosis item selection interface to the target direction;

and if a tapping instruction of the working probe is received, displaying the diagnosis interface of the current selection item in the diagnosis item selection interfaces.

13. An operation probe switching device of an ultrasonic apparatus, comprising:

the judging module is used for judging whether the operation instruction received by the ultrasonic equipment meets a preset condition or not; if yes, starting the working process of the first detection module; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received;

the first detection module is used for detecting the movement offset of a non-working probe on the ultrasonic equipment;

and the switching module is used for switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

14. An ultrasound device, comprising:

a memory for storing a computer program;

a processor for implementing the steps of the method of switching working probes according to any of claims 1 to 12 when executing the computer program.

15. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the working probe switching method according to any one of claims 1 to 12.

Technical Field

The present application relates to the field of ultrasound technologies, and in particular, to a method and an apparatus for switching a working probe, an ultrasound device, and a computer-readable storage medium.

Background

The ultrasonic equipment is provided with ultrasonic probes with different frequencies and different applications aiming at different parts of a human body. A conventional ultrasonic desktop is usually connected with a plurality of ultrasonic probes of different models at the same time, and doctors need to use different ultrasonic probes according to different detection parts of patients in clinical work and manually switch the ultrasonic probes to be used for imaging.

In the related art, an inertial navigation device is bound or fixed inside or on the shell of the ultrasonic probe, and the ultrasonic host accesses the inertial navigation device of each probe in real time to determine the motion state of each probe. If the detected acceleration value of a certain probe is larger than the first preset value, the probe is judged as a working probe, and relevant scanning control on the host is automatically switched to the working probe.

However, the user is not moving all the time while using the probe. When a user needs to carefully scan a particular region, or in a particular imaging mode, the probe often needs to remain stationary for a period of time. For example, when color Doppler flow imaging or spectral imaging is performed, the user must remain still, otherwise there will be relatively large sparkles or artifacts on the image; for another example, spatial compounding and frame correlation processing are generally turned on in the conventional B mode, and the basic assumption of these two algorithms is that the probe is relatively kept still, otherwise, the sharpness of the image is degraded, and even artifacts occur. Therefore, in the actual probe scanning activity of a user, the time for keeping the probe relatively still is always inevitable, and at the moment, if other probes slightly vibrate, the acceleration values of other unused probes easily exceed the current working probe, so that the working probe is switched by the host computer in error, and the current probe scanning use of a doctor or the user is seriously influenced.

Therefore, how to improve the accuracy of determining the working probe is a technical problem to be solved by those skilled in the art.

Disclosure of Invention

The application aims to provide a working probe switching method and device, an ultrasonic device and a computer readable storage medium, and accuracy of determining a working probe is improved.

In order to achieve the above object, the present application provides a method for switching a working probe of an ultrasound device, including:

judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received;

if so, detecting the motion offset of a non-working probe on the ultrasonic equipment;

and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

Before the non-working probe with the motion offset larger than the offset threshold is switched to the working probe, the method further comprises the following steps:

if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining whether to switch the probe according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment and the motion offset;

if so, switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

The instruction types comprise a selected working probe type, a mode switching type, an operation state switching type and a parameter setting type;

the priority corresponding to the operating instruction for selecting the type of the working probe is higher than that corresponding to a target operating instruction, and the priority corresponding to the target operating instruction is higher than that corresponding to operating instructions of other instruction types; the instruction type of the target operation instruction is the operation state switching type, and the target operation instruction is used for starting a scanning frozen state.

Before the non-working probe with the motion offset larger than the offset threshold is switched to the working probe, the method further comprises the following steps:

determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment; wherein the offset threshold is inversely related to the priority.

Wherein the determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic device includes:

if the ultrasonic equipment receives an operation instruction corresponding to a selected working probe, determining a first preset value as the offset threshold;

if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the instruction type of the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining a corresponding offset threshold according to the priority of the instruction type; wherein the offset threshold is inversely related to the priority;

if the ultrasonic equipment does not receive an operation instruction within the first preset time range and the second preset time range and the current working probe is in a static state within the second preset time range, determining a second preset value as the offset threshold;

wherein the first preset value is less than or equal to the second preset value.

Before the determining whether the operation instruction received by the ultrasonic device meets the preset condition, the method further includes:

acquiring an operating state of the ultrasound device; wherein the operating state comprises a real-time scanning state and a scanning freezing state;

correspondingly, under the condition that the ultrasonic equipment is in the real-time scanning state, if the ultrasonic equipment does not receive an operation instruction within a first preset time range, judging whether a current working probe is in a static state within the first preset time range;

and if so, entering the step of detecting the movement offset of the non-working probe on the ultrasonic equipment.

Wherein, still include:

after the ultrasonic equipment enters an initial working state, acquiring initial positions of all probes corresponding to the ultrasonic equipment;

detecting the movement offset of all the probes at the current moment based on the initial position, and acquiring the position variation of all the probes in a third preset time range before the current moment;

and determining the probe with the movement offset larger than a third preset value and the position variation larger than a fourth preset value as a working probe.

Wherein, the non-working probe with the movement offset larger than the offset threshold is switched into the working probe, and the method comprises the following steps:

judging whether a target probe with the motion offset larger than an offset threshold exists in the non-working probe or not;

if yes, judging whether the number of the target probes is more than one;

if so, determining a working probe according to the motion state information of all the target probes; the motion state information comprises any one or combination of any several of motion offset, probe attitude and motion speed;

and if not, determining the target probe as a working probe.

Wherein, still include:

and if the target probe with the movement offset larger than the offset threshold value does not exist, keeping the current working probe.

Wherein, after the non-working probe with the movement offset larger than the offset threshold is switched to the working probe, the method further comprises the following steps:

and displaying a diagnosis interface of a target diagnosis item corresponding to the working probe or displaying a diagnosis item selection interface corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment.

The method for displaying the diagnosis interface of the target diagnosis item corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment comprises the following steps:

displaying a diagnosis interface of a default diagnosis item corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment;

or, determining a target diagnosis item according to the motion state information of the working probe, and displaying a diagnosis interface of the target diagnosis item.

After displaying the diagnostic item selection interface corresponding to the working probe, the method further includes:

positioning a current selection item in the diagnosis item selection interface to a default diagnosis item corresponding to the working probe;

if a moving instruction of the working probe to a target direction is received, moving a current selection item in the diagnosis item selection interface to the target direction;

and if a tapping instruction of the working probe is received, displaying the diagnosis interface of the current selection item in the diagnosis item selection interfaces.

In order to achieve the above object, the present application provides a working probe switching device of an ultrasound apparatus, including:

the judging module is used for judging whether the operation instruction received by the ultrasonic equipment meets a preset condition or not; if yes, starting the working process of the first detection module; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received;

the first detection module is used for detecting the movement offset of a non-working probe on the ultrasonic equipment;

and the switching module is used for switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

To achieve the above object, the present application provides an ultrasound apparatus comprising:

a memory for storing a computer program;

and the processor is used for realizing the steps of the working probe switching method when the computer program is executed.

To achieve the above object, the present application provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, realizes the steps of the above working probe switching method.

According to the scheme, the working probe switching method provided by the application comprises the following steps: judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received; if so, detecting the motion offset of a non-working probe on the ultrasonic equipment; and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

According to the working probe switching method, under the condition that the ultrasonic equipment does not receive the operation instruction within the first preset time range or the ultrasonic equipment receives the operation instruction corresponding to the selected working probe, the movement offset of the non-working probe is detected. When a user uses the working probe, the ultrasonic equipment can receive an operation instruction except for selecting the probe, and at the moment, if the working probe needs to be kept static, the movement detection flow of the probe cannot be entered, and the probe cannot be switched. Therefore, the working probe switching method provided by the application realizes automatic determination of the working probe by combining the received operation command of the ultrasonic equipment and the motion state of each probe. Meanwhile, the probe error switching caused by the static working probe in the use process of the working probe is avoided, and the accuracy of determining the working probe is improved. The application also discloses a working probe switching device, ultrasonic equipment and a computer readable storage medium, and the technical effects can be realized.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:

FIG. 1 is a flow chart illustrating a method of operating probe switching in accordance with an exemplary embodiment;

FIG. 2 is a flow diagram illustrating automatic switching of working probes under a real-time scanning condition in accordance with an exemplary embodiment;

FIG. 3 is a flow diagram illustrating automatic switching of working probes for a scanning freeze condition in accordance with an exemplary embodiment;

FIG. 4 is a flow chart illustrating another method of operating probe switching in accordance with an exemplary embodiment;

FIG. 5 is a flow chart illustrating yet another method of operating probe switching in accordance with an exemplary embodiment;

FIG. 6 is a block diagram illustrating an operational probe switching device in accordance with an exemplary embodiment;

FIG. 7 is a block diagram of an ultrasound device shown in accordance with an exemplary embodiment.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In addition, in the embodiments of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.

The embodiment of the application discloses a working probe switching method, which improves the accuracy of determining a working probe.

Referring to fig. 1, a flow chart of a method of operating probe switching is shown according to an exemplary embodiment, as shown in fig. 1, including:

s101: judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received; if yes, entering S102;

s102: detecting the motion offset of a non-working probe on the ultrasonic equipment;

the execution main body of the embodiment is an ultrasonic device, the ultrasonic device is connected with a plurality of probes, in actual use of a user, only one probe is in a working state at any time, and the operation is called as a working probe.

In a specific implementation, the user performs an operation through an input interface provided by the ultrasound device or a host interface, which may include selecting a probe, switching a mode, switching an operation state, setting parameters, and the like, where the ultrasound device receives a corresponding operation command. If the ultrasonic equipment receives an operation command except for selecting the probe within the first preset time range, the working probe of the ultrasonic equipment is in a working state, and the automatic probe identification process is not carried out, namely, the probe switching is not carried out. The probe switching error caused by the static working probe in the using process of the working probe is avoided. If the ultrasonic equipment does not receive the operation instruction within the first preset time range, the working probe of the ultrasonic equipment is in a non-working state, and the automatic probe identification process is started.

In this embodiment, a position or motion sensor is fixedly placed or mounted outside or inside each probe. These sensors can communicate data via associated cables to the ultrasound device or via corresponding wireless communication methods with the ultrasound device, which can acquire position or motion sensor data and determine the amount of probe motion offset based on the acquired data.

If a position sensor, such as a magnetic field positioning sensor, is disposed on the probe, the ultrasound device can acquire an absolute positional relationship with respect to a reference position in the current space. With the reference position as the origin of the rectangular coordinate system, the offset amounts of X, Y and the Z axis, and the rotation angles with respect to these three coordinate axes, respectively, can be obtained, resulting in six-degree-of-freedom azimuth information with respect to the reference position. That is, the six-degree-of-freedom current position information and the six-degree-of-freedom initial position information of the probe with respect to the reference position may be acquired by the position sensor, and the movement offset of the probe may be determined based on the six-degree-of-freedom current position information and the six-degree-of-freedom initial position information.

If the probe is provided with a motion sensor, such as a motion sensor of an acceleration sensor and a gyroscope, the ultrasonic device may perform a time double integration operation on acceleration information of an accelerometer in the motion sensor and angular acceleration information of the gyroscope, obtain a speed by performing a first time integration on the acceleration, and obtain a displacement or an angular offset by performing a second time integration on the speed, so as to obtain a motion offset of the probe relative to an initial position.

It can be understood that the operation state of the ultrasound apparatus may correspond to different detection procedures, that is, before determining whether the operation instruction received by the ultrasound apparatus satisfies the preset condition, the method further includes: acquiring an operating state of the ultrasound device; wherein the operating state comprises a real-time scanning state and a scanning freezing state.

Under the condition that the ultrasonic equipment is in the real-time scanning state, if the ultrasonic equipment does not receive an operation instruction within a first preset time range, judging whether a current working probe is in a static state within the first preset time range; and if so, entering the step of detecting the movement offset of the non-working probe on the ultrasonic equipment.

In a specific implementation, the automatic switching process of the working probe in the real-time scanning state is shown in fig. 2. After the current working probe is in a real-time scanning state, continuously detecting the change of the position of the current working probe relative to the initial position, and if the current working probe is found to be in a static state near the initial position and the ultrasonic equipment does not receive an operation command except for the selected probe within a first preset time range, namely, a user operation event except for the selected probe is not detected, starting to detect the movement offset of other probes connected with the ultrasonic equipment. Otherwise, if the current working probe does not return to the vicinity of the initial position and the position is always changed within the first preset time range, or the ultrasonic equipment continuously receives an operation command except for selecting the probe, the probe switching is not performed even if the movement offset of the non-working probe exceeds the offset threshold.

The automatic switching process of the working probe in the frozen state is scanned and shown in fig. 3. And if the ultrasonic equipment is in a scanning freezing state, starting to detect the motion offset of a non-working probe connected with the ultrasonic equipment under the condition that the ultrasonic equipment does not receive an operation instruction within a first preset time range. Otherwise, if the ultrasonic equipment continuously receives the operation instruction within the first preset time range, the probe switching is not carried out even if the movement offset of the non-working probe exceeds the offset threshold.

Furthermore, no matter the ultrasonic equipment is in a real-time scanning state or a scanning freezing state, as long as an operation event that a user selects the probe is detected, namely an operation instruction corresponding to the selected working probe is received, the automatic probe identification process is carried out.

S103: and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

In this step, the probe with the motion offset larger than the offset threshold is determined as a new working probe, and the ultrasound device switches the related scanning control to the new working probe. And after the probe is switched, the position of the original working probe is restored to the initial position of the probe.

As a preferred embodiment, before switching the non-working probe with the movement offset larger than the offset threshold to the working probe, the method further includes: if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining whether to switch the probe according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment and the motion offset; if so, switching the non-working probe with the movement offset larger than the offset threshold value into the working probe. It should be noted that the priority indicates the probability of the working probe needing to be switched, the higher the priority is, the higher the probability of the working probe needing to be switched is, and if the motion offset of the non-working probe is greater than the offset threshold, the working probe is switched.

It is understood that the type of instruction may include selecting a working probe type, a mode switching type, an operating state switching type, a parameter setting type, etc.; the priority corresponding to the operating instruction for selecting the type of the working probe is higher than that corresponding to a target operating instruction, and the priority corresponding to the target operating instruction is higher than that corresponding to operating instructions of other instruction types; the instruction type of the target operation instruction is the operation state switching type, and the target operation instruction is used for starting a scanning frozen state. In a specific implementation, first, if an operation instruction for selecting a type of a working probe is received, it is described that a user needs to switch the working probe, and therefore, the priority corresponding to the operation instruction for selecting the type of the working probe is the highest. Secondly, if a target operation instruction for starting a scanning frozen state is received, which indicates that a user may complete the detection of the current working probe, the user may need to switch to the next probe for detection, so that the priority corresponding to the target operation instruction is slightly smaller than the priority corresponding to the operation instruction for selecting the type of the working probe and is higher than the priorities corresponding to the operation instructions of other instruction types. For another example, the instruction type may further include a scan instruction type, and the priority level corresponding to the scan instruction type may be set to be very low, and in the scan state, although the ultrasound apparatus does not receive the operation instruction within the first preset time range, the probe may still be in operation, and the switching of the working probe may not be performed.

It should be noted that the offset threshold in this embodiment may be determined according to an operation instruction received by the ultrasound apparatus. That is, the present embodiment further includes: if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment. The higher the priority, the greater the probability that the probe needs to be switched, and the smaller the corresponding offset threshold, i.e. the offset threshold is negatively correlated with the priority. Specifically, if the ultrasonic device receives an operation instruction corresponding to a selected working probe, determining a first preset value as the offset threshold; if the ultrasonic equipment does not receive the operation instruction within the first preset time range, determining the instruction type of the operation instruction received by the ultrasonic equipment within a second preset time range before the first preset time range, and determining a corresponding offset threshold according to the priority of the instruction type; wherein the offset threshold is inversely related to the priority; if the ultrasonic equipment does not receive an operation instruction within the first preset time range and the second preset time range and the current working probe is in a static state within the second preset time range, determining a second preset value as the offset threshold; wherein the first preset value is less than or equal to the second preset value.

In specific implementation, if an operation instruction corresponding to selecting a working probe is received, it indicates that a user needs to switch the working probe, so that the offset threshold is set to be a smaller first preset value. If the ultrasonic device does not receive the operation instruction within the first preset time range, the offset threshold value can be determined according to the historical operation flow, that is, the offset threshold value is determined according to the operation instruction received within the second preset time range before the first preset time range. Specifically, the instruction type of the operation instruction received within the second preset time range is determined first, and may include a mode switching type, an operation state switching type, a parameter setting type, and the like, and the operation command of the operation state switching type may include an operation command for starting a real-time scanning state and a scanning freezing state. Secondly, determining an offset threshold according to the priority of the instruction type, wherein the priority of the instruction type represents the probability that the corresponding instruction can trigger the switching of the working probe, and the offset threshold corresponding to the higher priority is smaller. If the operation instruction is not received in the first preset time range and the second preset time range, and the current working probe is in a static state at the initial position in the second preset time range, it indicates that the probability that the user needs to switch the working probe is also higher, so that the offset threshold is set to be a second smaller preset value. It should be noted that the second preset value is less than or equal to the first preset value. In addition to the above-mentioned cases, for example, when an operation instruction of a mode switching type, a parameter setting type, or the like is received within a second preset time range, the user may customize the corresponding priority, and is not specifically limited herein.

Further, as a preferred embodiment, the present step includes: judging whether a target probe with the motion offset larger than an offset threshold exists in the non-working probe or not; if yes, judging whether the number of the target probes is more than one; if so, determining a working probe according to the motion state information of all the target probes; the motion state information comprises any one or combination of any several of motion offset, probe attitude and motion speed; if not, determining the target probe as a working probe; and if the target probe with the movement offset larger than the offset threshold does not exist, keeping the current working probe.

In the process of automatically identifying the probes, if the movement offset of a plurality of target probes is detected to be larger than the offset threshold, one of the target probes is selected as a working probe according to the state information of all the target probes. The motion state information here may include a motion offset, a probe posture, a motion speed, and the like, in a specific implementation, one probe with the largest motion offset may be selected as a working probe, or one probe with the largest motion speed may be selected as a working probe, or one probe with a downward probe posture may be selected as a working probe, of course, multiple items of state information may also be synthesized, a corresponding weight is set for each item of state information, and one probe with the largest weight value may be selected as a working probe.

According to the working probe switching method provided by the embodiment of the application, under the condition that the ultrasonic equipment does not receive the operation instruction within the first preset time range or the ultrasonic equipment receives the operation instruction corresponding to the selected working probe, the movement offset detection of the non-working probe is started. When a user uses the working probe, the ultrasonic equipment receives an operation instruction except for selecting the probe, at the moment, if the working probe is in a still image shooting state, the motion detection flow of the probe cannot be entered, the probe needs to be combined with the movement displacement of the probe and the type of the operation instruction within a certain time length to determine whether to switch the probe, the probe cannot be easily switched, and the image shooting process is not influenced. Therefore, the working probe switching method provided by the embodiment of the application realizes automatic determination of the working probe by combining the received operation command of the ultrasonic equipment and the motion state of each probe. Meanwhile, the probe error switching caused by the static working probe in the use process of the working probe is avoided, and the accuracy of determining the working probe is improved.

The present embodiment describes a process for determining a working probe after an ultrasound device is turned on, specifically:

referring to fig. 4, a flow chart of another method of operating probe switching is shown according to an exemplary embodiment, as shown in fig. 4, including:

s201: after the ultrasonic equipment enters an initial working state, acquiring initial positions of all probes corresponding to the ultrasonic equipment;

in this embodiment, when the ultrasound apparatus is turned on or is changed from a sleep/standby state to an operating state, the current position of each probe connected to the ultrasound apparatus is calibrated as an initial position. If the probe is provided with the position sensor, the ultrasonic equipment can acquire six-degree-of-freedom initial position information of the probe relative to the reference position through the position sensor. If the probe is provided with a motion sensor, such as a motion sensor of an acceleration sensor and a gyroscope, the ultrasonic device may perform a time double integration operation on acceleration information of an accelerometer in the motion sensor and angular acceleration information of the gyroscope, obtain a velocity by performing a first time integration on the acceleration, and obtain a displacement or an angular offset by performing a second time integration on the velocity, so as to obtain initial position information of the probe.

S202: detecting the motion offset of all the probes at the current moment based on the initial position, and acquiring the position change of all the probes in a third preset time range before the current moment;

s203: and determining the probe with the movement offset larger than a third preset value and the position variation larger than a fourth preset value as a working probe.

In specific implementation, after the initial position calibration of each probe is completed, the motion offset of each probe relative to the initial position is detected at regular time, if a user does not actively select a working probe through a host interface of the ultrasonic equipment at the moment, an automatic probe identification process is entered, that is, a probe with the motion offset larger than a third preset value and the position variation larger than a fourth preset value is determined as the working probe. The position variation is the total distance of the probe moving in a third preset time range before the current moment.

The third preset value and the fourth preset value in this embodiment can be flexibly set according to actual conditions, and it can be understood that the probability of triggering the probe to select is high after the ultrasonic device enters a working state, so that the third preset value and the fourth preset value can be set to be small. Of course, different third and fourth preset values may be set for each probe according to the type of the probe, and are not specifically limited herein.

Therefore, in the embodiment, after the ultrasonic equipment enters the working state, the working probe is determined by combining the movement offset and the position variation of the probe, so that the working probe is automatically identified after being started, and the identification accuracy of the working probe is improved.

The embodiment of the application discloses a working probe switching method, and compared with the first embodiment, the technical scheme is further explained and optimized in the embodiment. Specifically, the method comprises the following steps:

referring to fig. 5, a flow chart of yet another method of operating probe switching is shown according to an exemplary embodiment, as shown in fig. 5, including:

s301: judging whether an operation instruction received by the ultrasonic equipment meets a preset condition or not; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received; if yes, entering S302;

s302: detecting the motion offset of a non-working probe on the ultrasonic equipment;

s303: and switching the non-working probe with the movement offset larger than the offset threshold value into the working probe.

S304: and displaying a diagnosis interface of a target diagnosis item corresponding to the working probe or displaying a diagnosis item selection interface corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment.

In this embodiment, a user may configure a process after each probe is determined to be a working probe through the ultrasound device, may directly display a diagnosis interface of a target diagnosis item, and may also display a diagnosis item selection interface corresponding to the working probe, where the diagnosis item selection interface includes all diagnosis items corresponding to the working probe.

If the diagnosis interface of the target diagnosis item is directly displayed, the user may pre-configure the default diagnosis item corresponding to each probe, for example, set the first diagnosis item as the default diagnosis item, and directly display the diagnosis interface of the default diagnosis item after determining the working probe. Of course, the target diagnosis item can also be determined according to the state information of the working probe, and the diagnosis interface of the target diagnosis item is displayed. It is understood that when different diagnosis items are diagnosed, the motion postures of the working probe may be different, so that the target diagnosis items required by the user can be determined according to the motion state information including the motion offset, the probe posture, the motion speed and the like. The strategy for determining the target diagnosis item can be set by those skilled in the art according to practical situations, and is not particularly limited herein.

If the diagnostic item selection interface corresponding to the working probe is displayed, the present embodiment further includes: if a moving instruction of the working probe to a target direction is received, moving a current selection item in the diagnosis item selection interface to the target direction; and if a tapping instruction of the working probe is received, displaying the diagnosis interface of the current selection item in the diagnosis item selection interfaces.

In particular implementations, a diagnostic item selection interface may be displayed for a user to manually select a target diagnostic item. The current selection item in the diagnosis item selection interface can be positioned to a default diagnosis item corresponding to the working probe and configured by a user in advance, and the user can control the movement of the current selection item by controlling the movement direction of the working probe. For example, when a working probe is detected by a motion or position sensor integrated on or in the probe to slide to the left, the current selection item is switched to several diagnostic items to the left of the current selection item, and when the item slides down, the current selection item is switched to the diagnostic item below the current selection item.

Further, if the current option is a target option that the user needs to select, the user can send a diagnosis item confirmation instruction to the ultrasound device through the working probe, and a host interface of the ultrasound device displays a diagnosis interface of the current option in the diagnosis item selection interface. As a possible implementation manner, the user may send a diagnosis item confirmation instruction to the ultrasound apparatus by tapping the handle of the working probe, and the tapping of the handle of the probe may be performed by detecting a pulse signal of a motion or a motion on the position sensor, that is, detecting a pulse signal of a sensor corresponding to the working probe, and then displaying a diagnosis interface of a currently selected item in the diagnosis item selection interface.

Therefore, after the working probe is determined, the embodiment can realize automatic selection of the diagnosis items or manual selection of the diagnosis items by the user, and the selection flexibility of the diagnosis items is high.

In the following, a working probe switching device provided by an embodiment of the present application is introduced, and a probe identification device described below and a working probe switching method described above may be referred to each other.

Referring to fig. 6, a block diagram of an operating probe switching device according to an exemplary embodiment is shown, as shown in fig. 6, including:

a first judging module 601, configured to judge whether an operation instruction received by the ultrasound device meets a preset condition; if yes, starting the work flow of the first detection module 602; the preset condition comprises that the ultrasonic equipment does not receive an operation instruction within a first preset time range, or an operation instruction corresponding to a selected working probe is received;

the first detection module 602 is configured to detect a motion offset of a non-working probe on the ultrasound apparatus;

and a switching module 603, configured to switch the non-working probe with the motion offset larger than the offset threshold to a working probe.

According to the working probe switching device provided by the embodiment of the application, under the condition that the ultrasonic equipment does not receive the operation instruction within the first preset time range or the ultrasonic equipment receives the operation instruction corresponding to the selected working probe, the movement offset detection of the non-working probe is started. When a user uses the working probe, the ultrasonic equipment can receive an operation instruction except for selecting the probe, and at the moment, if the working probe needs to be kept static, the movement detection flow of the probe cannot be entered, and the probe cannot be switched. Therefore, the working probe switching device provided by the embodiment of the application realizes automatic determination of the working probe by combining the received operation command of the ultrasonic equipment and the motion state of each probe. Meanwhile, the probe error switching caused by the static working probe in the use process of the working probe is avoided, and the accuracy of determining the working probe is improved.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

the first determining module is used for determining an operating instruction received by the ultrasonic equipment within a second preset time range before the first preset time range if the ultrasonic equipment does not receive the operating instruction within the first preset time range, and determining whether to switch the probe according to the priority corresponding to the instruction type of the operating instruction received by the ultrasonic equipment and the motion offset; if yes, the work flow of the switching module 603 is started;

on the basis of the above embodiment, as a preferred implementation manner, the instruction type includes a selection working probe type, a mode switching type, an operation state switching type, and a parameter setting type;

the priority corresponding to the operating instruction for selecting the type of the working probe is higher than that corresponding to a target operating instruction, and the priority corresponding to the target operating instruction is higher than that corresponding to operating instructions of other instruction types; the instruction type of the target operation instruction is the operation state switching type, and the target operation instruction is used for starting a scanning frozen state.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

the second determining module is used for determining the offset threshold according to the priority corresponding to the instruction type of the operation instruction received by the ultrasonic equipment; wherein the offset threshold is inversely related to the priority.

On the basis of the foregoing embodiment, as a preferred implementation, the second determining module includes:

the first determining unit is used for determining a first preset value as the offset threshold value if the ultrasonic equipment receives an operation instruction corresponding to a selected working probe;

a second determining unit, configured to determine, if the ultrasonic device does not receive an operation instruction within the first preset time range, an instruction type of the operation instruction received by the ultrasonic device within a second preset time range before the first preset time range, and determine a corresponding offset threshold according to a priority of the instruction type; wherein the offset threshold is inversely related to the priority;

a third determining unit, configured to determine a second preset value as the offset threshold if the ultrasound apparatus does not receive the operation instruction within the first preset time range and the second preset time range, and the current working probe is in a stationary state within the second preset time range;

wherein the first preset value is less than or equal to the second preset value.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

the first acquisition module is used for acquiring the operation state of the ultrasonic equipment; wherein the operating state comprises a real-time scanning state and a scanning freezing state;

correspondingly, if the ultrasonic equipment is in the real-time scanning state, the method further comprises the following steps:

the second judgment module is used for judging whether the current working probe is in a static state within the first preset time range; if yes, the workflow of the first detection module 602 is started.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

the second acquisition module is used for acquiring the initial positions of all probes corresponding to the ultrasonic equipment after the ultrasonic equipment enters an initial working state;

the second detection module is used for detecting the movement offset of all the probes at the current moment based on the initial position and acquiring the position variation of all the probes in a third preset time range before the current moment;

and the fourth determining module is used for determining the probe with the movement offset larger than the third preset value and the position variation larger than the fourth preset value as a working probe.

On the basis of the foregoing embodiment, as a preferred implementation, the switching module 603 includes:

the judging unit is used for judging whether a target probe with the motion offset larger than an offset threshold exists in the non-working probe or not; if yes, starting the work flow of the determination unit; if not, keeping the current working probe;

the determining unit is used for judging whether the number of the target probes is greater than one; if so, determining a working probe according to the motion state information of all the target probes; if the target probe is smaller than the working probe, determining the target probe as a working probe; wherein the motion state information comprises any one or combination of any several items of motion offset, probe attitude and motion speed.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

and the first display module is used for displaying a diagnosis interface of a target diagnosis item corresponding to the working probe or displaying a diagnosis item selection interface corresponding to the working probe based on the configuration corresponding to the ultrasonic equipment.

On the basis of the foregoing embodiment, as a preferred implementation manner, the first display module is specifically a module that displays a diagnostic interface of a default diagnostic item corresponding to the working probe based on the configuration corresponding to the ultrasound device.

On the basis of the foregoing embodiment, as a preferred implementation manner, the first display module is specifically a module that determines a target diagnosis item according to the motion state information of the working probe, and displays a diagnosis interface of the target diagnosis item.

On the basis of the above embodiment, as a preferred implementation, the method further includes:

the positioning module is used for positioning the current selection item in the diagnosis item selection interface to the default diagnosis item corresponding to the working probe;

the moving module is used for moving the current selection item in the diagnosis item selection interface to the target direction if a moving instruction of the working probe to the target direction is received;

and the second display module is used for displaying the diagnosis interface of the current selection item in the diagnosis item selection interfaces if a tapping instruction of the working probe is received.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Based on the hardware implementation of the program module, and in order to implement the method of the embodiment of the present application, an embodiment of the present application further provides an ultrasound apparatus, and fig. 7 is a structural diagram of an ultrasound apparatus according to an exemplary embodiment, as shown in fig. 7, the ultrasound apparatus includes:

a communication interface 1 capable of information interaction with other devices such as network devices and the like;

and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the working probe switching method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.

Of course, in practice, the various components of the ultrasound device are coupled together by a bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For the sake of clarity, however, the various buses are labeled as bus system 4 in fig. 7.

The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the ultrasound apparatus. Examples of such data include: any computer program for operating on an ultrasound device.

It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 2 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.

The method disclosed in the above embodiment of the present application may be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and in combination with its hardware performs the steps of the aforementioned method.

When the processor 2 executes the program, the corresponding processes in the methods according to the embodiments of the present application are realized, and for brevity, are not described herein again.

In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, specifically a computer readable storage medium, for example, including a memory 3 storing a computer program, which can be executed by a processor 2 to implement the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.

Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.

Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially implemented in the form of a software product, which is stored in a storage medium and includes several instructions to enable an ultrasound device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于多模式超声成像的方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!