Lesion length measurement apparatus, and device and storage medium

By using the manipulator, driver, and encoder in the lesion length measurement system, and combining the median algorithm to calculate multiple distance data, the problem of insufficient accuracy in lesion length measurement is solved, achieving higher measurement accuracy and fault tolerance.

WO2024229961A1PCT designated stage expired Publication Date: 2024-11-14SHENZHEN INST OF ADVANCED BIOMEDICAL ROBOT CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/105115
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-10
Filing Date
2023-06-30
Publication Date
2024-11-14

AI Technical Summary

Technical Problem

Existing methods for measuring lesion length are not accurate enough, have a low error tolerance, and cannot provide multiple data points in a single measurement to reduce the risk of data errors.

Method used

A lesion length measurement system, including an operator, a driver, a slender medical device, and an encoder, is used to calculate multiple distance data using a median algorithm, save multiple measurement results, and select the median as the final lesion length.

Benefits of technology

It improves the accuracy and error tolerance of lesion length measurement, reduces the risk of measurement errors, and reduces measurement errors caused by factors such as operation jitter by saving multiple measurement data and selecting the median as the result.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023105115_14112024_PF_FP_ABST
    Figure CN2023105115_14112024_PF_FP_ABST
Patent Text Reader

Abstract

A lesion length measurement apparatus. An elongated medical instrument is pushed by means of an operator, such that a mark point coincides with a distal end of a lesion, and distance data of an encoder is recorded as zero; the elongated medical instrument is pushed according to a preset mode by means of the operator, such that the mark point moves in the direction of a proximal end of the lesion; when the mark point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical instrument, reads a plurality of pieces of distance data which are recorded in the encoder, and stores the plurality of pieces of distance data in a circular buffer; and the distance data in the circular buffer is calculated by using a median algorithm, so as to obtain a lesion length which is measured for the first time. The present application further relates to a device and a storage medium. The technical problems of insufficient accuracy and low fault tolerance of existing lesion length measurement methods can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Lesion length measuring device, equipment and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 10, 2023, with application number CN202310520911.6, and invention name “Lesion length measurement device, equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of medical equipment, and in particular to a method, apparatus, device and storage medium for measuring lesion length. Background Art

[0003] Existing interventional surgical systems and / or interventional surgical robots determine lesion length by controlling the distance traveled by the elongated medical device when delivering it. Existing technologies, such as those described in US Patent Application No. 16997334, typically utilize a single speed control mode to control the advance and retraction of elongated medical devices. This can result in insufficient measurement accuracy during delivery and / or retraction of the device. Furthermore, only one measurement data point can be saved per measurement, resulting in low error tolerance and the inability to provide multiple data points during a single measurement to mitigate the risk of data errors.

[0004] Therefore, existing methods for measuring lesion length lack accuracy and have low error tolerance. Technical issues

[0005] The main purpose of this application is to provide a lesion length measurement method, device, equipment and storage medium, aiming to solve the technical problems of insufficient accuracy and low fault tolerance of existing lesion length measurement methods. Technical Solutions

[0006] The main purpose of the application is to provide a lesion length measurement method, device, equipment and storage medium, aiming to solve the technical problems of insufficient accuracy and low fault tolerance of existing lesion length measurement methods.

[0007] To achieve the above-mentioned object of the invention, the present application proposes a lesion length measurement method for use in a lesion length measurement system, the lesion length measurement system comprising an operator, a driver, a slender medical device, and an encoder, the driver comprising a drive unit; the operator is used to control the drive unit, the drive unit is used to push the slender medical device, the slender medical device is provided with a marking point, and the encoder is used to measure the movement distance of the marking point. The method comprises:

[0008] Pushing the elongated medical device by the manipulator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero;

[0009] Pushing the elongated medical device according to a preset pattern using the operator causes the marking point to move toward the proximal end of the lesion;

[0010] When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device, reads a plurality of distance data recorded by the encoder, and stores the plurality of distance data in a circular buffer;

[0011] The distance data in the circular buffer is calculated using a median algorithm to obtain the first measured lesion length.

[0012] Furthermore, after the step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length, the method further includes:

[0013] saving the lesion length measured for the first time;

[0014] Repeatedly measure the length of the lesion according to a preset number of times, obtain the lesion length measured multiple times subsequently and save it;

[0015] The final lesion length is determined according to the first measured lesion length and the subsequent multiple measured lesion lengths.

[0016] Furthermore, when the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device and reads the multiple distance data recorded by the encoder, comprising:

[0017] When the operator stops pushing the elongated medical device, the distance data recorded by the encoder is read at preset time intervals.

[0018] Furthermore, the step of storing the plurality of distance data in a circular buffer comprises:

[0019] Storing each of the distance data in a storage location of the circular buffer, and marking the storage location of each of the distance data according to an index value;

[0020] When the index value corresponding to the distance data is greater than a preset value, the distance data and the index value in the circular buffer are cleared, and the distance data is stored in the first storage location of the circular buffer, and the index value is recorded as 1.

[0021] Furthermore, the step of using a median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length includes:

[0022] The distance data in the circular buffer where the index value is the median of the preset value is obtained as the lesion length.

[0023] Furthermore, the preset mode includes at least one of a position movement mode, a fixed speed mode and a variable speed mode;

[0024] The position movement mode is to control the driving unit to move forward or backward through the operator;

[0025] The fixed speed mode is that when the operator moves to the first position, the drive unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the drive unit moves forward or backward at a second preset speed;

[0026] The speed change mode is that when the movement distance of the operator is less than the third position, the drive unit does not move; when the movement distance of the operator is greater than or equal to the third position, the drive unit moves forward or backward at a speed corresponding to the movement distance.

[0027] Furthermore, before the step of pushing the elongated medical device by the manipulator so that the marking point coincides with the distal end of the lesion, the method further includes:

[0028] During the process of controlling the movement of the elongated medical device, determining whether the distance data recorded by the encoder changes;

[0029] If the distance data has not changed, a prompt message is generated;

[0030] If the distance data changes, the step of pushing the elongated medical instrument by the operator is performed so that the marking point coincides with the distal end of the lesion.

[0031] The present application also provides a lesion length measuring device, comprising:

[0032] A start measurement module is used to push the slender medical device through the manipulator so that the marking point coincides with the distal end of the lesion and the distance data of the encoder is recorded as zero;

[0033] a measurement and recording module, configured to push the elongated medical device according to a preset pattern through the operator, so that the marking point moves toward the proximal end of the lesion;

[0034] a stop measurement module, configured to, when the marking point coincides with the proximal end of the lesion, cause the operator to stop pushing the elongated medical device, read a plurality of distance data recorded by the encoder, and store the plurality of distance data in a circular buffer;

[0035] The lesion length calculation module is used to calculate the distance data in the circular buffer using a median algorithm to obtain the lesion length measured for the first time.

[0036] The present application also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program. Beneficial effects

[0037] This application provides a lesion length measurement method that can save multiple measurement data for each measurement. After sorting and saving the multiple measurement data, the measurement data with the median ranking is selected as the result of each measurement. This solves the problem of insufficient accuracy of lesion length measurement results caused by operational jitter and other factors. It provides more data for selection, thereby improving the measurement error tolerance and reducing the risk of lesion data measurement errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] FIG1 is a flow chart of a method for measuring lesion length according to an embodiment of the present application;

[0039] FIG2 is a schematic block diagram of the structure of a lesion length measurement device according to an embodiment of the present application;

[0040] FIG3 is a flow chart of a method for measuring lesion length according to an embodiment of the present application;

[0041] FIG4 is a flow chart of a method for measuring lesion length according to an embodiment of the present application;

[0042] FIG5 is a schematic block diagram of the structure of a computer device according to an embodiment of the present application.

[0043] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. Best Mode for Carrying Out the Invention

[0044] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0045] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "above", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of features, integers, steps, operations, elements, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any module and all combinations of one or more associated listed items.

[0046] Those skilled in the art will understand that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which this invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and, unless specifically defined as such, will not be interpreted in an idealized or overly formal sense.

[0047] 1 , an embodiment of the present invention provides a lesion length measurement method for a lesion length measurement system. The lesion length measurement system includes an operator, a driver, a slender medical device, and an encoder. The driver includes a drive unit. The operator is used to control the drive unit, which is used to push the slender medical device. The slender medical device is provided with a marking point. The encoder is used to measure the movement distance of the marking point. The method includes steps S1-S4, specifically:

[0048] S1. Pushing the elongated medical device by the manipulator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero;

[0049] S2. Pushing the elongated medical device according to a preset pattern using the operator so that the marking point moves toward the proximal end of the lesion;

[0050] When measuring the length of a lesion, the slender medical device is pushed and moved by controlling the operator, with the distal end of the lesion as the measurement starting point and the proximal end of the lesion as the measurement end point. When the position of the marked point on the slender medical device coincides with the distal end of the lesion, the zero button of the lesion measurement device is clicked to set the distance data of the encoder to zero. Subsequently, the distance data on the encoder is updated as the slender medical device moves toward the proximal end of the lesion. When the marked point on the slender medical device coincides with the proximal end of the lesion, the pushing of the slender medical device is stopped. The preset mode may include at least one of a position movement mode, a fixed speed mode, and a variable speed mode.

[0051] S3. When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device, reads a plurality of distance data recorded by the encoder, and stores the plurality of distance data in a circular buffer;

[0052] S4. Calculate the distance data in the circular buffer using a median algorithm to obtain the first measured lesion length.

[0053] When the operator stops pushing, the distance data recorded by the encoder is read at preset intervals. The resulting multiple distance data are sorted and stored in a circular buffer. Each time a distance data record from the encoder is read, it is stored in the circular buffer and the corresponding index value is added, so that each distance data stored in the circular buffer has its corresponding index value sequence number. The distance data sorted in the middle of the circular buffer is then selected as the lesion length, preventing jitter at the moment of stopping movement from affecting the accuracy of the lesion length measurement. After completing a lesion length measurement, the measurement data can be saved and repeated to obtain multiple measurement data results, improving the measurement tolerance and reducing the risk of measurement errors.

[0054] As described above, the lesion length measurement method provided by this application enables the storage of multiple measurement data for each measurement. After sorting and saving the multiple measurement data, the measurement data ranked in the middle is selected as the result of each measurement. This solves the problem of insufficient accuracy of lesion length measurement results caused by operational jitter and other factors. Providing more data for selection improves the measurement error tolerance rate and reduces the risk of error in lesion data measurement.

[0055] In one embodiment, after the step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length, the following steps are included:

[0056] S401, saving the lesion length measured for the first time;

[0057] S402, repeatedly measuring the length of the lesion according to a preset number of times, obtaining and saving the lesion lengths measured multiple times subsequently;

[0058] S403: Determine a final lesion length according to the first measured lesion length and the subsequent multiple measured lesion lengths.

[0059] Referring to Figure 3, after obtaining a lesion length measurement result, the measurement result of that time is saved and the lesion length is repeatedly measured. After completing the preset number of measurements, the measurement results of multiple lesion lengths are counted to determine the final lesion length. The final lesion length can be obtained by calculating the average or median of the multiple lesion lengths. The measurement results of multiple lesion lengths can provide the operator with more data references, prevent the influence of a certain measurement error on the determination of the final lesion length, and improve the fault tolerance rate. Among them, the preset number of times can be determined according to actual conditions. After the final lesion length is determined, the measurement results of multiple lesion lengths are cleared to avoid affecting the subsequent measurement process.

[0060] In one embodiment, when the marking point coincides with the proximal end of the lesion, the step of the operator stopping pushing the elongated medical device and reading the multiple distance data recorded by the encoder includes:

[0061] S301 : When the operator stops pushing the elongated medical device, the distance data recorded by the encoder is read at preset intervals.

[0062] At the moment the manipulator stops pushing, jitter may occur due to factors such as the operator's control method, causing displacement of the marking point on the slender medical device. To improve measurement accuracy, starting from the moment the manipulator stops pushing, the distance data recorded by the encoder is read at preset intervals. Multiple distance data recorded by the encoder within a short period of time after the manipulator stops pushing are obtained, and the distance data in the middle of the order is selected as the lesion length. This prevents jitter at the moment of stopping from affecting the accuracy of lesion length measurement. The preset interval can be set according to actual conditions, for example, reading the distance data recorded by the encoder every 10 milliseconds.

[0063] In one embodiment, the step of storing the plurality of distance data in a circular buffer includes:

[0064] S302, storing each of the distance data in a storage location of the circular buffer, and marking the storage location of each of the distance data according to an index value;

[0065] S303: When the index value corresponding to the distance data is greater than a preset value, clear the distance data and index value in the circular buffer, and store the distance data in the first storage location of the circular buffer, with the index value being 1.

[0066] Referring to Figure 4, each time a distance data recorded by an encoder is read, the distance data is stored in the circular buffer and the corresponding index value is added. For example, assuming that the first distance data read is 5, the data is stored in the first storage position of the circular buffer, and the index value is recorded as 1; assuming that the second distance data read is 5.1, the data is stored in the second storage position of the circular buffer, and the index value is recorded as 2. Each time the circular buffer stores an additional distance data, the index value is increased by one, and so on. Among them, the specific numerical value of the preset value can be set according to actual conditions, and the preset value is used to indicate the upper limit of the number of distance data that the circular buffer can store. When the index value is greater than the preset value, the index value and the distance data in the circular buffer before it are cleared, and the corresponding distance data is stored in the first storage position of the circular buffer, and the index value is recorded as 1, and stored in a circular manner.

[0067] In one embodiment, the step of using a median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length includes:

[0068] S404: Obtain distance data in the circular buffer whose index value is the median of the preset value as the lesion length.

[0069] When the number of distance data points stored in the circular buffer reaches its upper limit, each distance data point in the circular buffer has a corresponding index value. The distance data point with an index value equal to the median of the preset values ​​is used as the lesion length. For example, when the preset value is set to 20, the median of the preset values ​​is 10, so the distance data point corresponding to an index value of 10 is used as the lesion length. The distance data point with an index value equal to the median of the preset values ​​is not the first data point generated when the operator stops pushing the slender medical device, but rather the distance data point obtained after a period of stability. Therefore, selecting the distance data point with an index value equal to the median of the preset values ​​as the lesion length can improve the accuracy of the lesion length measurement result.

[0070] In one embodiment, the preset mode includes at least one of a position movement mode, a constant speed mode, and a variable speed mode;

[0071] The position movement mode is to control the driving unit to move forward or backward through the operator;

[0072] The fixed speed mode is that when the operator moves to the first position, the drive unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the drive unit moves forward or backward at a second preset speed;

[0073] The speed change mode is that when the movement distance of the operator is less than the third position, the drive unit does not move; when the movement distance of the operator is greater than or equal to the third position, the drive unit moves forward or backward at a speed corresponding to the movement distance.

[0074] When the position mode is used to push the elongated medical device, if the operating rod advances or retreats a first preset distance, the driving unit is controlled to immediately advance or retreat the first preset distance. When the operating rod is released, the driving unit stops moving immediately.

[0075] When pushing the elongated medical device in fixed-speed mode, if the operating lever is fully moved to the left or right, the drive unit is immediately controlled to advance or retreat at a first selected speed. Alternatively, the drive unit can be controlled to advance or retreat at a second selected speed when the operating lever is fully moved to the left or right by half its length. Furthermore, the drive unit can be controlled to advance or retreat at a third selected speed after remaining in the position for a first preset time after the operating lever is fully moved to the left or right. When the operating lever is released, the drive unit immediately stops moving.

[0076] When pushing the elongated medical device using the variable speed mode, if the operating lever advances or retreats a second preset distance, the drive unit's speed is controlled to zero, meaning the drive unit does not move. If the operating lever moves forward or backward a distance greater than or equal to the second preset distance, the drive unit's speed is controlled to a speed corresponding to the distance moved. The greater the distance the operating lever moves, the greater the speed of the drive unit. When the operating lever is released, the drive unit stops immediately. Providing multiple control modes for lesion length measurement accommodates the operating habits of different operators and helps improve measurement accuracy.

[0077] In one embodiment, before the step of pushing the elongated medical device by the manipulator so that the marking point coincides with the distal end of the lesion, the method further includes:

[0078] S101. During the process of controlling the movement of the slender medical device, determining whether the distance data recorded by the encoder changes;

[0079] S102: If the distance data has not changed, generate a prompt message;

[0080] S103: If the distance data changes, executing the step of pushing the slender medical device through the operator so that the marking point coincides with the distal end of the lesion.

[0081] When the driving unit is controlled by the mobile operator to push the slender medical device, the encoder should measure the moving distance of the marked point on the slender medical device, and the distance data will change compared to before the slender medical device moves. If the distance data recorded by the encoder does not change after the slender medical device moves, it may be that the operator used an operator that is not used to measure the lesion length among multiple operating instruments, or that the various components of the system have poor contact. When receiving the prompt message, you can confirm whether the correct operation quick delivery mode is selected to rule out measurement abnormalities caused by incorrect selection of the operation quick delivery mode. Before actually measuring the lesion length, a prompt message needs to be generated for abnormal situations of the distance data that the encoder cannot record, so as to promptly remind the operator of measurement abnormalities and avoid affecting the measurement accuracy.

[0082] 2 is a block diagram of a lesion length measurement device according to an embodiment of the present invention, the device comprising:

[0083] The measurement module 100 is started to push the elongated medical device through the manipulator so that the marking point coincides with the distal end of the lesion and the distance data of the encoder is recorded as zero;

[0084] The measurement and recording module 200 is configured to push the elongated medical device according to a preset pattern through the operator, so that the marking point moves toward the proximal end of the lesion;

[0085] a stop measurement module 300 , configured to, when the marking point coincides with the proximal end of the lesion, cause the operator to stop pushing the elongated medical device, read a plurality of distance data recorded by the encoder, and store the plurality of distance data in a circular buffer;

[0086] The lesion length calculation module 400 is used to calculate the distance data in the circular buffer using a median algorithm to obtain the first measured lesion length.

[0087] In one embodiment, the lesion length measuring device further comprises:

[0088] The lesion length determination module is used to save the lesion length measured for the first time; repeatedly measure the lesion length according to a preset number of times, obtain the lesion lengths measured multiple times subsequently and save them; and determine the final lesion length based on the lesion length measured for the first time and the lesion lengths measured multiple times subsequently.

[0089] In one embodiment, the lesion length measuring device further comprises:

[0090] The distance data reading module is used to read the distance data recorded by the encoder at preset time intervals when the operator stops pushing the elongated medical device.

[0091] In one embodiment, the lesion length measuring device further comprises:

[0092] The circular buffer storage module is used to store each of the distance data in a storage location of the circular buffer and mark the storage location of each of the distance data according to the index value; when the index value corresponding to the distance data is greater than a preset value, the distance data and index value in the circular buffer are cleared, and the distance data is stored in the first storage location of the circular buffer, and the index value is recorded as 1.

[0093] In one embodiment, the lesion length measuring device further comprises:

[0094] The lesion length calculation submodule is used to obtain the distance data whose index value in the circular buffer is the median of the preset value as the lesion length.

[0095] In one embodiment, the lesion length measuring device further comprises:

[0096] A movement control module is used for controlling the driving unit to move forward or backward through the operator in the position movement mode; the fixed speed mode is when the operator moves to the first position, the driving unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the driving unit moves forward or backward at a second preset speed; the variable speed mode is when the moving distance of the operator is less than the third position, the driving unit does not move, and when the moving distance of the operator is greater than or equal to the third position, the driving unit moves forward or backward at a speed corresponding to the moving distance.

[0097] In one embodiment, the lesion length measuring device further comprises:

[0098] The movement detection module is used to determine whether the distance data recorded by the encoder has changed during the process of controlling the movement of the slender medical device; if the distance data has not changed, a prompt message is generated; if the distance data has changed, the step of pushing the slender medical device through the operator is executed so that the marked point coincides with the distal end of the lesion.

[0099] 5 , a computer device is further provided in an embodiment of the present application. The computer device may be a server, and its internal structure may be as shown in FIG5 . The computer device includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the computer design is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store usage data during the lesion length measurement method, etc. The network interface of the computer device is used to communicate with an external terminal via a network connection. Furthermore, the above-mentioned computer device may also be provided with an input device and a display screen, etc. When the above-mentioned computer program is executed by a processor, it implements a lesion length measurement method, which is used for a lesion length measurement system. The lesion length measurement system includes an operator, a driver, a slender medical device and an encoder. The driver includes a drive unit; the operator is used to control the drive unit, and the drive unit is used to push the slender medical device. The slender medical device is provided with a marking point, and the encoder is used to measure the movement distance of the marking point. The method includes the following steps: pushing the slender medical device by the operator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero; pushing the slender medical device by the operator according to a preset mode so that the marking point moves toward the proximal end of the lesion; when the marking point coincides with the proximal end of the lesion, the operator stops pushing the slender medical device, reads multiple distance data recorded by the encoder, and stores the multiple distance data in a circular buffer; uses a median algorithm to calculate the distance data in the circular buffer to obtain the lesion length measured for the first time.

[0100] Those skilled in the art will understand that the structure shown in FIG5 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.

[0101] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a lesion length measurement method is implemented, comprising the following steps: a lesion length measurement system, the lesion length measurement system comprising an operator, a driver, a slender medical device, and an encoder, the driver comprising a driving unit; the operator being configured to control the driving unit, the driving unit being configured to push the slender medical device, the slender medical device being provided with a marking point, and the encoder being configured to measure a moving distance of the marking point, comprising the following steps: pushing the slender medical device via the operator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero; pushing the slender medical device via the operator in accordance with a preset pattern so that the marking point moves toward the proximal end of the lesion; when the marking point coincides with the proximal end of the lesion, the operator stopping pushing the slender medical device, reading a plurality of distance data recorded by the encoder, and storing the plurality of distance data in a circular buffer; and calculating the distance data in the circular buffer using a median algorithm to obtain the first measured lesion length. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0102] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct RAM bus dynamic RAM (DRDRAM), and RAM bus dynamic RAM (RDRAM).

[0103] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, apparatus, article, or method comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, apparatus, article, or method. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, apparatus, article, or method comprising the element.

[0104] The above description is only a preferred embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A lesion length measuring device, used in a lesion length measuring system, the lesion length measuring system comprising an operator, a driver, a slender medical device and an encoder, the driver comprising a driving unit; the operator is used to control the driving unit, the driving unit is used to push the slender medical device, a marking point is set on the slender medical device, and the encoder is used to measure the moving distance of the marking point, wherein: The device comprises: A start measurement module is used to push the slender medical device through the manipulator so that the marking point coincides with the distal end of the lesion and the distance data of the encoder is recorded as zero; A measurement and recording module, used to push the elongated medical device through the operator according to a preset mode, so that the marking point moves toward the proximal end of the lesion; the preset mode includes: at least one of a position movement mode, a fixed speed mode and a variable speed mode; A stop measurement module, configured to stop the operator from pushing the elongated medical device when the marking point coincides with the proximal end of the lesion, read a plurality of distance data recorded by the encoder, and store the plurality of distance data in a circular buffer; A lesion length calculation module, used to calculate the distance data in the circular buffer using a median algorithm to obtain a first measured lesion length; A circular buffer storage module, used for storing each of the distance data in a storage position of the circular buffer, marking the storage position of each of the distance data according to an index value; when the index value corresponding to the distance data is greater than a preset value, clearing the distance data and the index value in the circular buffer, and storing the distance data in a first storage position of the circular buffer, wherein the index value is recorded as 1; A lesion length calculation submodule, used for obtaining distance data whose index value in the circular buffer is a median of a preset value as the lesion length; A mobile control module, used for the position movement mode, that is, controlling the drive unit to move forward or backward through the operator; the fixed speed mode, that is, when the operator moves to the first position, the drive unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the drive unit moves forward or backward at a second preset speed; the variable speed mode, that is, when the moving distance of the operator is less than the third position, the drive unit does not move, and when the moving distance of the operator is greater than or equal to the third position, the drive unit moves forward or backward at a speed corresponding to the moving distance.

2. The lesion length measuring device according to claim 1, wherein: Also includes: A lesion length determination module, used for storing the lesion length measured for the first time; The length of the lesion is repeatedly measured according to a preset number of times, and the lengths of the lesions measured multiple times subsequently are obtained and saved; and the final lesion length is determined according to the lesion length measured for the first time and the lesion lengths measured multiple times subsequently.

3. The lesion length measuring device according to claim 1, wherein: Also includes: The distance data reading module is used to read the distance data recorded by the encoder at preset time intervals when the operator stops pushing the slender medical device.

4. The lesion length measuring device according to claim 1, wherein: Also includes: A movement detection module, used to determine whether the distance data recorded by the encoder changes during the process of controlling the movement of the elongated medical device; If the distance data has not changed, a prompt message is generated; if the distance data has changed, a step of pushing the elongated medical device through the operator is performed so that the marking point coincides with the distal end of the lesion.

5. The lesion length measuring device according to claim 1, wherein: The movement control module is also used to control the driving unit to immediately move forward or backward by the first preset distance if the operator moves forward or backward by the first preset distance, and the driving unit to immediately stop moving when the operator is not controlled.

6. The lesion length measuring device according to claim 1, wherein: The movement control module is further used to control the movement speed of the driving unit to be 0 if the operating rod moves forward or backward by a second preset distance, that is, the driving unit does not move at this time; If the moving distance of the operating rod forward or backward is greater than or equal to the second preset distance, the driving unit is controlled to move at a speed corresponding to the moving distance. At this time, the greater the moving distance of the operating rod, the greater the moving speed of the driving unit.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, a method for measuring the length of a lesion is implemented, which is used in a lesion length measurement system. The lesion length measurement system includes an operator, a driver, a slender medical device and an encoder. The driver includes a driving unit. The operator is used to control the driving unit, and the driving unit is used to push the slender medical device. A marking point is set on the slender medical device, and the encoder is used to measure the moving distance of the marking point. The method includes: Pushing the elongated medical device through the operator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero; Pushing the elongated medical device according to a preset mode by the operator makes the marking point move toward the proximal end of the lesion; When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device, reads a plurality of distance data recorded by the encoder, and stores the plurality of distance data in a circular buffer; Using a median algorithm to calculate the distance data in the circular buffer, to obtain the first measured lesion length; The step of storing the plurality of distance data in a circular buffer comprises: Storing each of the distance data in a storage location of the circular buffer, and marking the storage location of each of the distance data according to an index value; When the index value corresponding to the distance data is greater than a preset value, clearing the distance data and the index value in the circular buffer, and storing the distance data in the first storage position of the circular buffer, and the index value is recorded as 1; The step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length includes: Acquire the distance data whose index value in the circular buffer is the median of the preset value as the lesion length; The preset mode includes: at least one of a position movement mode, a fixed speed mode and a variable speed mode; The position movement mode is to control the driving unit to move forward or backward through the operator; The fixed speed mode is that when the operator moves to the first position, the drive unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the drive unit moves forward or backward at a second preset speed; The speed change mode is that when the moving distance of the operator is less than the third position, the drive unit does not move, and when the moving distance of the operator is greater than or equal to the third position, the drive unit moves forward or backward at a speed corresponding to the moving distance.

8. The computer device according to claim 7, wherein: After the step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length, the method further comprises: Saving the lesion length measured for the first time; Repeat the measurement of the length of the lesion according to a preset number of times, obtain the length of the lesion measured multiple times subsequently and save it; The final lesion length is determined according to the lesion length measured for the first time and the lesion lengths measured for multiple times subsequently.

9. The computer device according to claim 7, wherein: When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device and reads a plurality of distance data recorded by the encoder, comprising: When the operator stops pushing the elongated medical device, the distance data recorded by the encoder is read at preset time intervals.

10. The computer device according to claim 7, wherein: Before the step of pushing the elongated medical device by the operator so that the marking point coincides with the distal end of the lesion, the method includes: In the process of controlling the movement of the elongated medical device, determining whether the distance data recorded by the encoder changes; If the distance data has not changed, a prompt message is generated; If the distance data changes, the step of pushing the elongated medical instrument through the operator is performed so that the marking point coincides with the distal end of the lesion.

11. The computer device according to claim 7, wherein: The fixed speed mode is a step in which the driving unit moves forward or backward at a first preset speed when the operator moves to the first position, including: If the operator moves forward or backward by a first preset distance, the driving unit is controlled to move forward or backward by the first preset distance immediately. When the operator is not controlled, the driving unit stops moving immediately.

12. The computer device according to claim 7, wherein: The step of advancing or retreating the driving unit at a second preset speed when the operator moves to the second position comprises: If the operating rod moves forward or backward by a second preset distance, the driving unit is controlled to move at a speed of 0, that is, the driving unit does not move at this time; If the moving distance of the operating rod forward or backward is greater than or equal to the second preset distance, the driving unit is controlled to move at a speed corresponding to the moving distance. At this time, the greater the moving distance of the operating rod, the greater the moving speed of the driving unit.

13. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, a method for measuring the length of a lesion is implemented, which is used in a lesion length measurement system. The lesion length measurement system includes an operator, a driver, a slender medical device and an encoder. The driver includes a driving unit. The operator is used to control the driving unit, and the driving unit is used to push the slender medical device. A marking point is set on the slender medical device, and the encoder is used to measure the moving distance of the marking point. The method includes: Pushing the elongated medical device through the operator so that the marking point coincides with the distal end of the lesion, and recording the distance data of the encoder as zero; Pushing the elongated medical device according to a preset mode by the operator makes the marking point move toward the proximal end of the lesion; When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device, reads a plurality of distance data recorded by the encoder, and stores the plurality of distance data in a circular buffer; Using a median algorithm to calculate the distance data in the circular buffer, to obtain the first measured lesion length; The step of storing the plurality of distance data in a circular buffer comprises: Storing each of the distance data in a storage location of the circular buffer, and marking the storage location of each of the distance data according to an index value; When the index value corresponding to the distance data is greater than a preset value, clearing the distance data and the index value in the circular buffer, and storing the distance data in the first storage position of the circular buffer, and the index value is recorded as 1; The step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length includes: Acquire the distance data whose index value in the circular buffer is the median of the preset value as the lesion length; The preset mode includes: at least one of a position movement mode, a fixed speed mode and a variable speed mode; The position movement mode is to control the driving unit to move forward or backward through the operator; The fixed speed mode is that when the operator moves to the first position, the drive unit moves forward or backward at a first preset speed, and when the operator moves to the second position, the drive unit moves forward or backward at a second preset speed; The speed change mode is that when the moving distance of the operator is less than the third position, the drive unit does not move, and when the moving distance of the operator is greater than or equal to the third position, the drive unit moves forward or backward at a speed corresponding to the moving distance.

14. The computer-readable storage medium of claim 13, wherein: After the step of using the median algorithm to calculate the distance data in the circular buffer to obtain the first measured lesion length, the method further comprises: Saving the lesion length measured for the first time; Repeat the measurement of the length of the lesion according to a preset number of times, obtain the length of the lesion measured multiple times subsequently and save it; The final lesion length is determined according to the lesion length measured for the first time and the lesion lengths measured for multiple times subsequently.

15. The computer-readable storage medium of claim 13, wherein: When the marking point coincides with the proximal end of the lesion, the operator stops pushing the elongated medical device and reads a plurality of distance data recorded by the encoder, comprising: When the operator stops pushing the elongated medical device, the distance data recorded by the encoder is read at preset time intervals.

16. The computer-readable storage medium of claim 13, wherein: Before the step of pushing the elongated medical device by the operator so that the marking point coincides with the distal end of the lesion, the method includes: In the process of controlling the movement of the elongated medical device, determining whether the distance data recorded by the encoder changes; If the distance data has not changed, a prompt message is generated; If the distance data changes, the step of pushing the elongated medical instrument through the operator is performed so that the marking point coincides with the distal end of the lesion.

17. The computer-readable storage medium of claim 13, wherein: The fixed speed mode is a step in which the driving unit moves forward or backward at a first preset speed when the operator moves to the first position, including: If the operator moves forward or backward by a first preset distance, the driving unit is controlled to move forward or backward by the first preset distance immediately. When the operator is not controlled, the driving unit stops moving immediately.

18. The computer-readable storage medium of claim 13, wherein: The step of advancing or retreating the driving unit at a second preset speed when the operator moves to the second position comprises: If the operating rod moves forward or backward by a second preset distance, the driving unit is controlled to move at a speed of 0, that is, the driving unit does not move at this time; If the moving distance of the operating rod forward or backward is greater than or equal to the second preset distance, the driving unit is controlled to move at a speed corresponding to the moving distance. At this time, the greater the moving distance of the operating rod, the greater the moving speed of the driving unit.

Citation Information

Patent Citations

  • Surgical system and method for operating surgical system

    CN105939688A

  • Lesion volume measurement method and device

    CN111047611A

  • Elongated medical device delivery system, delivery method, apparatus, and media

    CN115245387A

  • Control structure and method for delivery of slender medical instrument

    CN115554567A

  • Focus length measuring method, device and equipment and storage medium

    CN116269335A