A vascular puncture path planning method, device, equipment and medium

By acquiring and processing ultrasound images of the vascular puncture area using an ultrasound array probe, the movement trajectory of the needle tip can be identified and tracked. This solves the problem of puncture path planning caused by dynamic deformation of blood vessels in ECPR rescue scenarios, and improves the accuracy and safety of puncture.

CN123166733APending Publication Date: 2026-11-27AMBULANC (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611362385.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In ECPR rescue scenarios, traditional static path planning algorithms struggle to adapt to the dynamic deformation of blood vessels and surrounding tissues, leading to difficulties in needle tip identification and continuous tracking, as well as insufficient accuracy and real-time performance.

Method used

Multiple raw ultrasound images of the target puncture area are acquired by a preset ultrasound array probe. The needle tip is identified and the spatial coordinates are extracted. Combined with deep learning algorithms and image preprocessing, a fitted needle trajectory is generated, and the needle path is predicted based on the extension length to ensure that the endpoint of the path is in the central area of ​​the blood vessel to be punctured.

Benefits of technology

It achieves accurate needle tip identification and continuous tracking in environments with severe vibration, significantly improving puncture success rate and operational safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166733A_ABST
    Figure CN123166733A_ABST
Patent Text Reader

Abstract

The application discloses a blood vessel puncture path planning method, device, equipment and medium, and the blood vessel puncture path planning method comprises the following steps: obtaining a plurality of original ultrasonic images of a target puncture area through a preset ultrasonic array probe, and performing needle tip identification on each original ultrasonic image to extract a plurality of spatial position coordinates of a puncture needle tip in a needle insertion process; fitting a motion trajectory of the puncture needle tip according to the spatial position coordinates to generate a fitted needle insertion trajectory; extending the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path, and determining a predicted path endpoint of the predicted needle insertion path; when the predicted path endpoint falls within a preset target region of a blood vessel to be punctured, it is determined that the predicted needle insertion path meets a preset puncture requirement, and the predicted needle insertion path is output to a corresponding display interface for display. According to the method, the subsequent needle insertion trend can be deduced from a small amount of spatial position data in the initial needle insertion stage, and early prediction of the puncture trend is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ultrasound navigation technology, and in particular to a method, apparatus, device, and medium for planning vascular puncture paths. Background Technology

[0002] Ultrasound-guided vascular puncture has become a standard procedure for establishing vascular access in clinical practice. During the puncture, the operator needs to know in real time the spatial position of the needle tip within the tissue, the direction of the needle's movement, and whether the current needle path can reach the target blood vessel.

[0003] In ECPR (Extracorporeal Cardiopulmonary Resuscitation) scenarios, patients are in cardiac arrest with absent vascular pulsation and collapsed blood vessels, while receiving continuous chest compressions (100-120 compressions / minute, 5-6 cm depth). The tissue in the puncture target area exhibits significant periodic displacement and deformation, resulting in violent shaking in the ultrasound image. Under these extreme conditions, the needle tip appears as a rapidly moving, weak, strong echo point in the ultrasound image. Existing path planning methods are mostly based on static anatomical assumptions and cannot effectively address the dynamic deformation of blood vessels and surrounding tissues. Accurate identification and continuous tracking are extremely difficult, placing extremely high demands on the real-time performance, robustness, and accuracy of needle tip positioning and trajectory calculation methods. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and medium for planning vascular puncture paths, in order to solve the problem that traditional static path planning algorithms are unable to adapt to dynamically changing anatomical structures and cannot achieve accurate needle tip identification and continuous tracking under severe vibration environments such as chest compressions.

[0005] In a first aspect, this application provides a method for planning a vascular puncture path, comprising the steps of: acquiring multiple original ultrasound images of a target puncture area using a preset ultrasound array probe, and performing needle tip identification on each of the original ultrasound images to extract multiple spatial position coordinates of the puncture needle tip during needle insertion; fitting the motion trajectory of the puncture needle tip according to each of the spatial position coordinates to generate a fitted needle insertion trajectory; extending the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path, and determining the endpoint of the predicted needle insertion path; when the endpoint of the predicted path falls within a preset target area of ​​the vascular vessel to be punctured, determining that the predicted needle insertion path meets the preset puncture requirements, and outputting the predicted needle insertion path to a corresponding display interface for display; the preset target area is located in the central area of ​​the vascular vessel to be punctured, and the radius of the preset target area is smaller than the radius of the vascular vessel to be punctured.

[0006] Secondly, this application provides a vascular puncture path planning device, comprising: a coordinate extraction module, used to acquire multiple original ultrasound images of a target puncture area through a preset ultrasound array probe, and to perform needle tip identification on each of the original ultrasound images to extract multiple spatial position coordinates corresponding to the puncture needle tip during the needle insertion process; a trajectory fitting module, used to fit the motion trajectory of the puncture needle tip according to each of the spatial position coordinates to generate a fitted needle insertion trajectory; a path prediction module, used to extend the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path, and to determine the predicted endpoint of the predicted needle insertion path; and a path output module, used to determine that the predicted needle insertion path meets the preset puncture requirements when the predicted endpoint falls within a preset target area of ​​the vascular vessel to be punctured, and to output the predicted needle insertion path to a corresponding display interface for display; wherein the preset target area is located in the central area of ​​the vascular vessel to be punctured, and the radius of the preset target area is smaller than the radius of the vascular vessel to be punctured.

[0007] Thirdly, this application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described vascular puncture path planning method.

[0008] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described vascular puncture path planning method.

[0009] In the aforementioned technical solution for vascular puncture path planning, including the method, apparatus, computer equipment, and storage medium, the vascular puncture path planning method includes the following steps: acquiring multiple original ultrasound images of the target puncture area using a preset ultrasound array probe, and performing needle tip identification on each original ultrasound image to extract multiple spatial coordinates of the needle tip during insertion; fitting the movement trajectory of the needle tip based on each spatial coordinate to generate a fitted insertion trajectory; extending the fitted insertion trajectory based on a preset extension length to generate a predicted insertion path and determining the endpoint of the predicted insertion path; when the endpoint of the predicted path falls within the preset target area of ​​the vessel to be punctured, determining that the predicted insertion path meets the preset puncture requirements, and outputting the predicted insertion path to the corresponding display interface for display; the preset target area is located in the central area of ​​the vessel to be punctured, and the radius of the preset target area is smaller than the radius of the vessel to be punctured. This solution, by tracking the spatial coordinates of the needle tip in real time at the initial stage of insertion and dynamically fitting the trajectory, can accurately predict the insertion path, effectively avoid deviations caused by hand tremors or tissue displacement, and significantly improve the puncture success rate and operational safety. Attached Figure Description

[0010] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is a flowchart of a vascular puncture path planning method in one embodiment of the present invention; Figure 2 This is a flowchart of step S1 in the vascular puncture path planning method in one embodiment of the present invention; Figure 3 This is a specific flowchart of step S15 in the vascular puncture path planning method in one embodiment of the present invention; Figure 4 This is a specific flowchart of step S2 in the vascular puncture path planning method in one embodiment of the present invention; Figure 5 This is a flowchart illustrating the fitting of the needle insertion trajectory evaluation in a vascular puncture path planning method according to an embodiment of the present invention. Figure 6 This is a specific flowchart of step S3 in the vascular puncture path planning method in one embodiment of the present invention; Figure 7 This is a schematic diagram of an original ultrasound image obtained by a vascular puncture path planning method in one embodiment of the present invention; Figure 8 This is a schematic diagram of a predicted needle insertion path that meets preset puncture requirements obtained by a vascular puncture path planning method in an embodiment of the present invention. Figure 9 This is a schematic diagram of a predicted needle insertion path that does not meet the preset puncture requirements obtained by the vascular puncture path planning method in one embodiment of the present invention. Figure 10 This is another schematic diagram of the predicted needle insertion path that meets the preset puncture requirements obtained by the vascular puncture path planning method in one embodiment of the present invention. Figure 11 This is a schematic diagram of a vascular puncture path planning device in one embodiment of the present invention; Figure 12 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0012] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0013] In one embodiment, such as Figure 1 As shown, a method for planning vascular puncture pathways is provided, including the following steps: Step S1: Acquire multiple raw ultrasound images of the target puncture area using a preset ultrasound array probe, and perform needle tip identification on each raw ultrasound image to extract multiple spatial position coordinates of the puncture needle tip during the needle insertion process.

[0014] It should be noted that the ultrasound array probe is a flexible patch-type array probe that can be fixedly attached to the skin surface of the puncture site without manual handling. It establishes its own ultrasound probe coordinate system based on its own array element structure, eliminating the need for external electromagnetic or optical positioning devices. The ultrasound array probe includes multiple ultrasound elements for transmitting and receiving ultrasound signals. Each ultrasound element operates independently according to a preset timing sequence, focusing at a specific depth through beamforming technology to achieve high-resolution imaging of the target puncture area. The multiple ultrasound elements include a central element located at the center of the ultrasound array probe. The ultrasound probe coordinate system has the central element as its origin O, the probe's major axis as the X-axis, the probe's minor axis as the Y-axis, and the direction perpendicular to the probe surface and extending towards the preset target area as the Z-axis. The target puncture area refers to the specific anatomical area on the patient's body surface where vascular puncture is required, such as the femoral vein or internal jugular vein puncture point and its surrounding tissue. The raw ultrasound image is a real-time acquired raw echo image from the ultrasound array probe, without noise reduction or enhancement processing. Spatial position coordinates are the three-dimensional spatial coordinates of the puncture needle tip in the ultrasonic probe coordinate system. They can accurately characterize the real-time spatial position of the needle tip in the human puncture tissue and are the basic data for trajectory fitting and path prediction.

[0015] In this embodiment, a flexible patch-type ultrasound array probe is fixedly attached to the patient's groin, covering the femoral vein and surrounding tissue as the target puncture area. Simultaneously, the probe's long axis is arranged along the femoral vessel to ensure close contact between the probe and the skin, thereby acquiring stable ultrasound echo signals. Subsequently, an image acquisition program is initiated to continuously acquire raw ultrasound images within the target puncture area, constructing a raw image dataset containing time series data. Based on this, preprocessing operations such as denoising, gain compensation, and artifact suppression are performed on the raw ultrasound images to eliminate tissue scattering and equipment noise interference, improving the image signal-to-noise ratio and providing a clear and stable image foundation for subsequent needle tip identification. Then, based on the preprocessed image data, a deep learning algorithm is used to identify the bright echo features of the puncture needle tip, obtaining multiple spatial coordinates of the puncture needle tip in the ultrasound probe coordinate system at the initial stage of needle insertion. These spatial coordinate data not only record the instantaneous position of the puncture needle tip but also implicitly contain the trends in the angle, depth, and velocity changes of needle insertion, providing high-confidence dynamic data support for subsequent trajectory fitting and path prediction.

[0016] Specifically, such as Figure 2 As shown, step S1 includes the following sub-steps: Step S11: Identify the phase state of chest compressions and acquire each raw ultrasound image when the phase state is the relaxation phase.

[0017] It is important to note that chest compressions are a crucial step in ECPR (extracorporeal cardiopulmonary resuscitation). The cycle consists of two alternating phases: compression and relaxation. These two phases differ significantly in hemodynamics and tissue deformation characteristics. During compression, the intense tissue displacement leads to blurred images, while during relaxation, the tissue is relatively stable, making it a critical time window for acquiring high-quality ultrasound images and ensuring accurate needle tip identification. Phase status is a real-time marker of the chest compression cycle, used to characterize the specific stage of chest compression at any given moment—that is, which stage of the compression cycle is currently in. In other words, phase status is divided into compression and relaxation phases. The compression phase is the application of chest compressions, characterized by intense tissue displacement in the puncture area, significant ultrasound image shakiness, and extremely low needle tip echo signal-to-noise ratio. The relaxation phase is the recovery and relaxation phase, where the tissue is relatively stable, image distortion is low, and needle tip signal quality is excellent, making it the optimal time for accurate image acquisition.

[0018] In this embodiment, the vessel to be punctured is the femoral artery. The ultrasound array probe is attached to the skin surface of the patient's groin area, with the long side of the probe aligned with the course of the femoral artery. The patient is in cardiac arrest, with the femoral artery pulsation absent and the vessel lumen collapsed, while simultaneously receiving continuous chest compressions (100 compressions / minute). The corresponding raw ultrasound images exhibit periodic shaking and periodic tissue displacement, causing the image signal-to-noise ratio to fluctuate regularly with the compression rhythm. To overcome this dynamic interference bottleneck, this embodiment introduces a phase-synchronous acquisition strategy to monitor the contour displacement changes of the tissue in the puncture area in the raw ultrasound images in real time. By identifying the cyclic phase of chest compressions through periodic displacement characteristics, the compression and relaxation phases can be accurately distinguished.

[0019] Furthermore, during continuous ECPR resuscitation compressions, distorted ultrasound images during the compression period are automatically masked, and original ultrasound images of the target puncture area are acquired only during each compression-relaxation window, avoiding imaging interference caused by significant tissue deformation and selecting high-fidelity image frames from the data source level.

[0020] In this application, by using a pressure-phase adaptive image screening mechanism, the impact of motion artifacts and signal noise on the identification of puncture needle tips can be reduced from the source, significantly improving the effective utilization rate and data authenticity of the original ultrasound images, and laying the foundation for accurate positioning of puncture needle tips in the future.

[0021] Step S12: Preprocess each original ultrasound image to obtain the corresponding enhanced ultrasound image.

[0022] It should be noted that preprocessing is an optimization method for addressing the inherent defects of ultrasound images. It mainly includes speckle noise suppression, contrast enhancement, and region of interest extraction. The aim is to eliminate speckle noise interference and highlight the grayscale difference between the puncture needle tip and the blood vessel. The enhanced ultrasound image is an optimized image after noise reduction, brightening, and region simplification, which can significantly distinguish the grayscale features of the puncture needle tip, blood vessel, and human soft tissue.

[0023] In this embodiment, during the selected relaxation period, the ultrasound array probe acquires raw ultrasound images of the target puncture area in real time at a frame rate of 20 frames per second. Then, each frame of raw ultrasound image undergoes preprocessing operations such as speckle noise suppression, contrast enhancement, and region of interest extraction to obtain high-definition, low-noise enhanced ultrasound images, thereby improving the contrast between the puncture needle tip and the surrounding tissue and providing high-quality image input for subsequent needle tip identification.

[0024] Furthermore, speckle noise suppression employs median filtering or adaptive speckle suppression filtering to remove inherent speckle noise from the ultrasound image while preserving edge information of the strong echo points at the puncture needle tip, avoiding excessive smoothing that could lead to loss of edge details. Contrast enhancement utilizes adaptive histogram equalization, dynamically adjusting contrast based on the local grayscale distribution of the image to enhance the distinction between the strong echo areas at the puncture needle tip and background tissue, thereby highlighting the puncture needle tip outline in complex backgrounds. Region of interest (ROI) extraction, based on the expected needle insertion direction and estimated puncture depth, extracts the region of interest containing the possible location of the puncture needle tip from the original ultrasound image, reducing the search range for subsequent processing, improving processing efficiency, and minimizing background noise interference with subsequent algorithms.

[0025] Among them, multi-level image preprocessing can effectively solve the problems of blurred ultrasound images, high noise, and unclear needle tip features in ECPR interference scenarios. It can compress invalid image data, reduce the computational power consumption of subsequent algorithms, and maximize the highlighting of the puncture needle tip echo features, providing a clear image foundation for accurate segmentation of the puncture needle tip region and extraction of feature points.

[0026] Step S13: Segment each enhanced ultrasound image and extract the corresponding puncture needle tip region.

[0027] It should be noted that segmentation is the process of dividing an enhanced ultrasound image into pixel regions with specific semantics. Its core lies in separating the puncture needle tip from the complex background tissue, achieving pixel-level separation between the needle tip and the background tissue. This provides clean and independent target data for subsequent needle tip feature extraction and coordinate calculation. The puncture needle tip region refers to the set of bright pixels in the ultrasound image formed by the strong echo of the puncture needle tip, serving as the sole target object for subsequent feature extraction and coordinate calculation.

[0028] In this embodiment, an adaptive threshold segmentation method is adopted. The segmentation threshold is dynamically calculated based on the local grayscale distribution of the enhanced ultrasound image. Pixels above the segmentation threshold are identified as needle tip pixel regions, while pixels below the threshold are classified as background pixel regions. This accurately separates the needle tip pixel region from the surrounding background pixel regions such as muscle, fat, and blood vessels, completely extracting the independent puncture needle tip region and eliminating pixel interference from surrounding tissues.

[0029] The segmentation threshold is not fixed, but dynamically generated based on the statistical characteristics of pixel grayscale in enhanced ultrasound images to adapt to different tissue depths and acoustic differences among patients.

[0030] In this application, precise image segmentation processing can lock a single puncture needle tip region, avoiding false echoes and stray signals from surrounding tissues from being misidentified as puncture needle tips, greatly improving the accuracy of needle tip target recognition, and eliminating the negative impact of invalid interference regions on subsequent feature extraction at the image level.

[0031] Step S14: Extract features from each puncture needle tip region to obtain the corresponding needle tip feature points.

[0032] It should be noted that feature extraction is a screening and verification process based on the morphology, grayscale, and motion features of the needle tip region. The needle tip feature points are the optimal pixels that satisfy the inherent physical characteristics of the puncture needle tip. They are the core pixel identifiers representing the actual position of the puncture needle tip and need to be eliminated by multiple verifications to remove false feature points.

[0033] In this embodiment, multi-dimensional feature screening is performed on the extracted puncture needle tip region. First, morphological analysis is conducted on the puncture needle tip region to calculate its area, roundness, aspect ratio, and other morphological parameters, eliminating atypical bright areas caused by tissue artifacts or noise. Simultaneously, combined with inter-frame motion consistency verification, static false bright spots and random echo interference points are eliminated. Finally, the core pixels of the needle tip are extracted using a sub-pixel localization algorithm to determine the unique and precise needle tip feature points corresponding to the puncture needle tip region in each frame of the original ultrasound image.

[0034] Furthermore, the morphological characteristics of the puncture needle tip are: area smaller than a preset maximum value (e.g., less than 5 mm²), roundness greater than a preset roundness threshold (e.g., greater than 0.6), and aspect ratio close to 1. Candidate regions that meet the above morphological parameters are considered valid needle tip candidate points, while candidate regions that do not meet the above morphological parameters are judged as invalid interference and discarded.

[0035] Furthermore, an inter-frame motion consistency verification mechanism is introduced. In the ECPR scenario, although there is tissue shaking caused by chest compressions, the displacement of the puncture needle tip between adjacent frames is continuous and finite (not exceeding a preset displacement threshold). If the displacement of the candidate needle tip detected in a certain frame of the original ultrasound image exceeds the preset displacement threshold compared to the needle tip feature point detected in the previous frame of the original ultrasound image, or if the direction of motion changes abruptly, it is judged as a false detection and is removed.

[0036] Furthermore, the preset displacement threshold is preferably 1 mm, and the acquisition interval of the candidate coordinates of the needle tip corresponding to each frame of the original ultrasound image is no more than 1 mm, so as to ensure that the sampling frequency is sufficient to capture the subtle motion trajectory of the needle tip and provide sufficient data support for subsequent motion state estimation, thereby maintaining the continuity and accuracy of trajectory tracking even in violent shaking.

[0037] It should be noted that the preset displacement threshold can be adaptively adjusted according to the tissue elasticity, puncture speed and ultrasound probe frequency in the actual clinical scenario to achieve the best balance between sensitivity and robustness.

[0038] Furthermore, for the confirmed puncture needle tip region, a sub-pixel localization algorithm (such as the gray-scale centroid method or quadratic curve fitting) is employed to improve the needle tip position accuracy of candidate points to the sub-pixel level, obtaining the corresponding needle tip feature points. This provides a high-confidence data foundation for subsequent high-precision 3D spatial coordinate calculation. This algorithm overcomes the limitations of the physical pixel grid by fitting the centroid or extreme points of the local gray-scale distribution, controlling the localization error to the sub-millimeter level, thus laying a data foundation for subsequent high-precision 3D spatial coordinate calculation.

[0039] like Figure 7 As shown, the subpixel localization algorithm accurately extracts needle tip feature points against a complex echo background. The operator inserts the needle at approximately a 30-degree angle from the skin marker. After the needle tip enters the tissue, adaptive threshold segmentation is performed on the preprocessed original ultrasound image 1 to extract the high-brightness connected region, i.e., the puncture needle tip region (represented by the dashed box). After morphological feature screening (area <3mm², roundness >0.7, aspect ratio 0.8-1.2) and inter-frame motion consistency verification, the subpixel localization algorithm is applied to determine the final needle tip feature point 2. The figure also uses dashed elliptical boxes to represent the vascular region of the vessel to be punctured, used to simultaneously construct a 3D contour model of the vessel and as a spatial constraint in subsequent 3D reconstruction, thereby enhancing the geometric stability and anatomical consistency of the vascular 3D contour model in dynamic environments.

[0040] In this application, multiple feature verification is used to screen needle tip feature points, which effectively avoids the problem of false needle tip detection in complex interference scenarios of ECPR, and ensures that each extracted needle tip feature point can truly correspond to the actual position of the puncture needle tip, thus greatly improving the reliability of puncture needle tip positioning.

[0041] Step S15: Extract the coordinates of each needle tip feature point to obtain the corresponding spatial position coordinates.

[0042] It should be noted that the coordinate extraction is based on a three-dimensional calculation technique using ultrasonic time-of-flight ranging and multi-element phase difference direction finding. This technique maps the two-dimensional pixel coordinates of the needle tip feature points to a three-dimensional physical space, calculating the real-time spatial position of the puncture needle tip relative to the ultrasonic array probe. The spatial position coordinates are the three-dimensional coordinates (x, y, z) of the puncture needle tip in the ultrasonic probe coordinate system. The ultrasonic probe coordinate system has its origin at the central element of the ultrasonic array probe, requiring no external registration and moving synchronously with the ultrasonic array probe.

[0043] In this embodiment, based on each selected needle tip feature point, a three-dimensional coordinate calculation is initiated: the straight-line distance between the puncture needle tip and the central element of the ultrasound array probe is calculated using the time-of-flight difference between the ultrasonic pulse transmission and echo reception of the central element, combined with the human ultrasound propagation speed of 1540 m / s; then, the azimuth angle of the puncture needle tip relative to the central element is solved using the echo arrival phase difference of each ultrasound element. By combining the straight-line distance and azimuth angle, the precise spatial coordinates of the puncture needle tip at the corresponding moment are obtained, thus obtaining the spatial coordinates of N consecutive effective needle tip feature points with an interval of no more than 1 mm in the initial stage of needle insertion, providing high-confidence initial data support for subsequent trajectory fitting.

[0044] like Figure 3 As shown, the three-dimensional coordinates of each needle tip feature point are calculated, including the following sub-steps: Step S151: Obtain the first time difference from the emission of the ultrasonic pulse to the receipt of the needle tip echo by the central array element, and calculate the straight-line distance between the puncture needle tip and the central array element based on the first time difference and the ultrasonic propagation speed.

[0045] It should be noted that the ultrasound pulse is a high-frequency sound wave emitted by the central array element. After propagating through human tissue to the surface of the puncture needle tip, it is reflected back to the central array element, forming a receivable echo signal. The needle tip echo corresponds to the echo signal reflected from the puncture needle tip at the location of the needle tip feature point determined in the original ultrasound image. Its signal characteristics strictly correspond to the spatial location of the needle tip feature point, ensuring consistency between the echo signal and image features in spatial mapping, providing an accurate signal reference for precisely calculating the sound wave propagation time. The first time difference is the total time of the ultrasound pulse's round-trip propagation between the puncture needle tip and the central array element. This time parameter directly reflects the propagation path length of the sound wave in the medium and is the fundamental physical quantity for subsequent calculations of the needle tip's spatial position. The ultrasound propagation speed is the typical propagation speed of ultrasound in human soft tissue, usually taken as 1540 m / s. This speed value is used as a known constant in the calculation. Based on the linear relationship between the round-trip path of the sound wave and the propagation time, the straight-line distance from the puncture needle tip to the central array element is accurately derived, providing a radial reference for subsequent three-dimensional spatial positioning. The straight-line distance is the radial distance between the puncture needle tip and the central array element, providing reference data for the depth dimension in subsequent calculation of three-dimensional spatial coordinates by combining the azimuth angle.

[0046] In this embodiment, using the acquired first time difference and the preset ultrasonic propagation speed of 1540 m / s, the straight-line distance between the puncture needle tip and the central array element is accurately calculated using the round-trip distance formula. This clarifies the spatial position of the puncture needle tip in the radial dimension, laying the foundation for subsequent calculation of the complete three-dimensional coordinates using the azimuth angle. The formula for calculating the corresponding straight-line distance is as follows: ; in, This represents the straight-line distance between the tip of the puncture needle and the central array element. Indicates the time difference of flight.

[0047] Step S152: Obtain the echo arrival time of the needle tip echo received by each ultrasonic array element, and calculate the azimuth angle of the puncture needle tip relative to the central array element based on the echo arrival time of each echo and the relative positional relationship between each ultrasonic array element and the central array element.

[0048] It should be noted that the echo arrival time is the absolute moment when each ultrasonic element receives the echo signal returned from the puncture needle tip, reflecting the actual path difference of the sound wave propagating from the needle tip to each ultrasonic element. The relative positional relationship is the known spatial coordinate distribution of each ultrasonic element in the probe coordinate system, serving as the geometric reference for calculating the azimuth angle. The azimuth angle is the angular position of the puncture needle tip relative to the central element, used to determine the spatial orientation of the puncture needle tip in the transverse plane. Together with the straight-line distance, it constitutes a complete two-dimensional polar coordinate parameter, thus providing an angular reference for subsequently calculating the complete three-dimensional spatial coordinates of the puncture needle tip using the straight-line distance.

[0049] In this embodiment, based on the time difference of the echo arrival times received by each ultrasonic array element and the known relative positions of each array element in the ultrasonic probe coordinate system, a multi-baseline phase model based on time difference is constructed. By calculating the phase offset of the sound waves arriving at different ultrasonic array elements, the azimuth angle of the puncture needle tip relative to the central array element is accurately derived, thereby determining the spatial orientation of the puncture needle tip in the transverse plane, which, together with the radial distance, constitutes a complete two-dimensional polar coordinate parameter.

[0050] Furthermore, several array elements with the highest signal-to-noise ratio of the echo signal can be selected as reference baselines, and the direction of the acoustic wavefront can be fitted using the least squares method to calculate a high-precision azimuth angle value, effectively suppressing the influence of noise interference on the angle calculation and improving the robustness and accuracy of azimuth angle measurement.

[0051] Step S153: Determine the corresponding spatial coordinates based on the straight-line distance and azimuth angle.

[0052] In this embodiment, the straight-line distance and azimuth angle are mapped to the ultrasonic probe coordinate system, and the two-dimensional polar coordinate position of the puncture needle tip on the transverse plane is calculated, thereby obtaining the spatial position coordinates of the puncture needle tip in the ultrasonic probe coordinate system.

[0053] In this application, the three-dimensional coordinate calculation is completed by relying on the ultrasonic probe coordinate system, which can get rid of the dependence on external equipment for traditional puncture positioning, reduce system complexity and emergency operation threshold; at the same time, the acquisition of a small number of high-precision points takes into account the predictive timeliness and fitting accuracy, providing high-quality and standardized raw coordinate data for subsequent trajectory weighted fitting.

[0054] Step S2: Fit the movement trajectory of the puncture needle tip according to the coordinates of each spatial position to generate the fitted needle insertion trajectory.

[0055] It should be noted that the motion trajectory fitting is an algorithmic process that reconstructs the continuous motion trend of the needle tip based on discrete needle tip spatial coordinates. The fitted needle insertion trajectory is a three-dimensional spatial straight line that closely matches the actual direction of the needle tip's movement, which can accurately represent the real-time insertion trend of the puncture needle and is the core basis for path prediction.

[0056] In this embodiment, based on the multiple spatial coordinates obtained in step S1, and combined with the image quality dynamic allocation of confidence weights, a weighted orthogonal least squares algorithm is used to complete the three-dimensional trajectory fitting and obtain the corresponding fitted needle insertion trajectory.

[0057] Specifically, such as Figure 4 As shown, step S2 includes the following sub-steps: Step S21: Obtain the image quality index of each original ultrasound image, and determine the confidence weight of each spatial location coordinate based on the image quality index.

[0058] It should be noted that image quality metrics include image jitter and pinpoint echo signal-to-noise ratio (SNR). Image jitter quantifies the degree of inter-frame image displacement distortion; pinpoint echo SNR characterizes the ratio of effective signal to noise signal at the pinpoint. Confidence weights are fitted weight coefficients assigned to individual spatial coordinates; higher image quality and higher coordinate confidence result in larger corresponding weights.

[0059] In this embodiment, the amplitude of the sway displacement and the signal-to-noise ratio of the tip echo in the original ultrasound image are detected frame by frame to quantify and generate a quality score for each frame of the original ultrasound image. For the spatial coordinates corresponding to the high-fidelity original ultrasound image (acquired during the relaxation phase) with small image sway and high signal-to-noise ratio, a high confidence weight of 1.0 is assigned; for the spatial coordinates with slight interference and general signal, a medium confidence weight of 0.7 is assigned; and for the spatial coordinates corresponding to the original ultrasound image (acquired during the compression phase but not completely paused) with large interference and weak signal, a low confidence weight of 0.4 is assigned, thus achieving adaptive matching between confidence weight and image quality.

[0060] In this application, a dynamic weighting mechanism for image quality is used to differentiate the reliability of coordinates under different working conditions, weaken the impact of distorted spatial coordinates caused by slight pressure interference on the fitting results, and allow high-quality, high-reliability spatial coordinates to dominate the trajectory fitting results, thereby significantly improving the anti-interference ability and realism of trajectory fitting in complex emergency rescue scenarios.

[0061] Step S22: Perform weighted straight line fitting on the coordinates of each spatial location according to the confidence weight to generate the fitted needle trajectory.

[0062] It should be noted that the weighted straight line fitting is preferably orthogonal distance least squares fitting, which is different from ordinary longitudinal least squares fitting. It can minimize the sum of squares of the vertical distances from all needle tip points to the fitted line, adapting to three-dimensional spatial trajectory fitting scenarios and conforming to the real spatial motion law of the needle tip.

[0063] In this embodiment, the confidence weight of each spatial position coordinate is used as a correction coefficient. The orthogonal distance least squares algorithm is used to perform three-dimensional spatial line fitting on the N spatial position coordinates. The motion trend of high-weight coordinates is fitted first, and the deviation interference of low-weight coordinates is corrected. Finally, a three-dimensional fitting needle insertion trajectory that fits the real-time travel direction of the needle tip is generated.

[0064] Furthermore, N is an integer from 3 to 5. Setting 3 to 5 needle tip points balances the timeliness of early prediction with the accuracy of fitting. After needle insertion, the first 3 needle tip points can form a preliminary trajectory estimate when the needle tip has penetrated about 15-20mm into the tissue, providing early visual guidance for the doctor. If the subsequent point deviations are large or the confidence level fluctuates significantly, the 4th to 5th needle tip points are dynamically included for trajectory correction and confirmation, balancing response speed and fitting robustness. Among them, when the number of collection points N=4 or N=5, the fitting results have higher noise resistance compared to N=3, and the average distance error from each point to the fitted line can be further reduced to below 0.2mm, but the timeliness of fitting is slightly reduced.

[0065] Furthermore, the orthogonal distance least squares method uses the sum of squared perpendicular distances from each point to the fitted line as the objective function. Minimizing this objective function determines the direction vector and position of the trajectory line corresponding to the fitted needle insertion trajectory. This method is suitable for situations where detection errors exist in all directions of the puncture needle tip in three-dimensional space. Let the puncture needle tip correspond to the... The spatial coordinates are , The fitted needle trajectory obtained from the fitting process can be expressed as: ; in, To fit the reference point on the needle insertion trajectory (the centroid of N needle tip feature points can be taken). To fit the direction vector of the needle insertion trajectory, A scalar parameter used to characterize the vector along the direction. The displacement distance.

[0066] It should be noted that the direction vector The path is determined by minimizing the sum of squared vertical distances from each point to the fitted needle insertion trajectory. The fitted needle insertion trajectory is estimated based on a finite number of needle tip locations already traversed by the needle tip. Since the needle is a rigid straight needle that travels in a straight line through the tissue, the line connecting the first N needle tip locations represents the current direction of travel of the needle tip.

[0067] In this application, the orthogonal weighted fitting algorithm is adapted to the dynamic interference scenario of ECPR, which can effectively solve the problems of traditional equal weight fitting being easily affected by noise points and trajectory deviation, maximize the restoration of the real needle tip insertion trend, and ensure the spatial accuracy and stability of the fitted needle insertion trajectory.

[0068] Furthermore, this application also adds a closed-loop verification mechanism for the fitting quality, automatically iteratively re-sampling unqualified trajectories to ensure the accuracy and reliability of the fitted trajectory. The corresponding step S2 also includes an evaluation step for the quality of the fitted needle insertion trajectory.

[0069] Specifically, such as Figure 5 As shown, the steps for evaluating the quality of the fitted needle insertion trajectory include the following sub-steps: Step S23: Calculate the mean distance error from the needle tip feature point to the fitted needle insertion trajectory based on the coordinates of each spatial position.

[0070] It should be noted that the mean distance error represents the average degree to which each needle tip feature point deviates from the fitted straight line, and is used to quantify the spatial fit between the fitted trajectory and the actual needle tip position. The smaller the mean distance error, the closer the fitted trajectory is to the actual needle tip movement path, and the higher the fitting accuracy.

[0071] In this embodiment, the vertical distance from the needle tip feature point corresponding to each spatial position coordinate to the fitted needle insertion trajectory is calculated one by one. The vertical distance data of all points are statistically analyzed and the average value is calculated to obtain the average distance error of the current trajectory fitting, which is used for subsequent fitting quality judgment.

[0072] Step S24: When the mean distance error is greater than the preset distance threshold, it is determined that the fitting quality of the fitted needle trajectory does not meet the preset fitting requirements, and the process returns to the step of obtaining multiple original ultrasound images of the target puncture area through the preset ultrasound array probe.

[0073] It should be noted that the preset distance threshold is a pre-calibrated critical value for fitting error, adapted to the accuracy requirements of clinical puncture. The preset fitting requirement means that the average distance error of the fitted needle insertion trajectory does not exceed the preset distance threshold, which is considered a satisfactory fit and can proceed to the subsequent path prediction stage. Fit quality is the core indicator for measuring the reliability of the fitting results and directly determines the feasibility of subsequent path prediction. If the fitting quality does not meet the preset fitting requirement, it indicates that the current fitted needle insertion trajectory has a large deviation or is severely affected by noise, and is not suitable for direct use in subsequent path prediction.

[0074] In this embodiment, the calculated average distance error is compared with a preset distance threshold. If the average distance error is greater than the preset distance threshold, it indicates that the current needle tip position has a large dispersion and the trajectory fitting is distorted, which cannot truly reflect the needle insertion trend. The fitting is automatically judged as unqualified, and a prompt "Fitting is unreliable, it is recommended to collect more needle tip points and refit" is output, triggering the iteration mechanism, returning to the image acquisition step to reacquire the image, extract the needle tip coordinates, and fit again.

[0075] Furthermore, a preset distance threshold of 1mm is preferred as a critical value for accuracy determination in clinical puncture scenarios. This threshold can ensure fitting accuracy while taking into account the efficiency of algorithm iteration.

[0076] It should be noted that the preset distance threshold can be dynamically adjusted according to specific clinical scenarios. For example, the threshold can be appropriately relaxed in superficial tissue punctures or high-noise interference environments, while tightening the threshold during deep and delicate operations to balance the fitting pass rate and clinical safety. Multi-level threshold strategies can also be set, establishing differentiated judgment criteria for different puncture depths or tissue types, thereby achieving more refined quality control and risk avoidance. For example, when the average distance error is less than 1mm, the fitting quality of the fitted needle trajectory is directly determined to be reliable; when the average distance error is greater than 1mm but less than 2mm, the fitting quality can be determined to be basically reliable, and secondary verification can be performed using real-time image feedback before proceeding to the path prediction stage; however, when the average distance error is greater than 2mm, the fitting quality is determined to be unreliable, directly triggering an alarm and terminating the current path prediction process, forcing the operator to readjust the puncture angle or check the ultrasound image quality to ensure the safety of the clinical operation.

[0077] Step S25: When the mean distance error is less than or equal to the preset distance threshold, it is determined that the fitting quality of the fitted needle trajectory meets the preset fitting requirements, and the fitted needle trajectory is extended based on the preset extension length to generate the predicted needle path.

[0078] It should be noted that if the fitting quality meets the preset fitting requirements, it means that the current fitted needle trajectory has low dispersion and strong stability, and can accurately reflect the real movement trend of the puncture needle tip, providing a reliable data basis for subsequent path prediction.

[0079] In this embodiment, if the average distance error is ≤ 1mm (preset distance threshold), the obtained fitted needle trajectory is determined to be accurate and reliable. The iteration process is terminated, and step S3 is entered to perform trajectory extension and path prediction. Based on the qualified trajectory, forward-looking needle path prediction is carried out. At the same time, a "fitting quality is qualified, enter path prediction" prompt is output to confirm that the current fitted needle trajectory is valid and to lock the fitting result.

[0080] like Figure 8The figure shows a fitted needle insertion trajectory obtained through the above steps. The three solid dots represent the needle tip feature points detected in the first three frames of the original ultrasound images, and the solid line represents the fitted needle insertion trajectory. As can be seen from the figure, the solid dots are distributed around the fitted needle insertion trajectory, demonstrating the algorithm's effective suppression of detection noise. At this point, the spatial coordinates of the first three valid needle tip feature points are as follows: , and (Unit: mm). The needle insertion trajectory was fitted using the orthogonal distance least squares method to obtain the direction vector. After normalization, it becomes This direction vector indicates that the puncture needle tip mainly travels along the Z-axis (depth direction), with slight offsets in the X and Y axes. Simultaneously, the calculated average distance error from each needle tip feature point to the fitted needle insertion trajectory is 0.3 mm, less than the preset distance threshold of 1 mm. Therefore, the fitting quality of the fitted needle insertion trajectory is deemed to meet the preset fitting requirements, and a "Fitting quality qualified, proceed to path prediction" message is output. Since the three points are approximately collinear, the difference between the orthogonal distance least squares solution and the direction vector calculated using the difference direction vector is less than 0.05 mm. Therefore, the difference direction vector is used here. This approximates the fitted needle insertion trajectory. At this point, we can proceed directly to step S3.

[0081] In this application, a strict error threshold determination and automatic iterative resampling mechanism are used to ensure that only high-precision fitting results are used for subsequent path prediction, thereby providing solid data support for subsequent path extension and endpoint prediction, and ensuring the accuracy and stability of the overall path planning.

[0082] In some embodiments, when fitting the motion trajectory, it is also necessary to perform sliding window smoothing on the spatial position coordinates corresponding to multiple consecutive frames (e.g., 3-5 frames) of the original ultrasound images to suppress random fluctuations in the detection position caused by image shaking, thereby obtaining a smoother and more stable fitted needle insertion trajectory.

[0083] Step S3: Extend the fitted needle insertion trajectory based on the preset extension length to generate the predicted needle insertion path and determine the predicted path endpoint.

[0084] It should be noted that the preset extension length is an extrapolation distance set according to the clinical puncture depth requirements, used to simulate the predicted journey of the puncture needle tip continuing to advance along the current trend. The predicted needle path is a predicted needle track extrapolated from the actual needle advance trend, used to assist the operator in predicting the subsequent direction and potential landing point of the puncture needle tip. The predicted path endpoint is the predicted position reached by the puncture needle tip after continuing to advance in the current direction, serving as a reference landing point for subsequent needle advances, used to assist the operator in assessing the degree of matching between the current needle advance direction and the vessel to be punctured.

[0085] In this embodiment, the tangent direction at the end of the fitted needle insertion trajectory is extracted as an extension reference. A preset extension length is extrapolated along this direction to generate a predicted needle insertion path, and the end point is marked as the endpoint of the predicted path, providing a basis for subsequent puncture compliance determination. This predicted path visually presents the future direction of the puncture needle tip, providing the operator with a forward-looking visual reference, which helps to identify and correct potential directional deviations in the early stages of needle insertion.

[0086] Specifically, such as Figure 6 As shown, step S3 includes the following sub-steps: Step S31: Take the direction of the end tangent of the fitted needle insertion trajectory as the extension direction.

[0087] It should be noted that the tangent direction at the end of the trajectory is the current instantaneous insertion angle and direction of travel of the puncture needle tip. It is the extension benchmark that best matches the real-time movement trend of the puncture needle tip and can avoid the trend deviation of straight extension.

[0088] In this embodiment, the end point of the fitted needle insertion trajectory is extracted, and the end tangent direction, i.e., the direction vector, is calculated by combining the adjacent trajectory points. This serves as the extension benchmark for the predicted needle insertion path. In specific calculations, the normalized direction vector can be used as the unit direction benchmark to ensure the geometric consistency of the extended path in three-dimensional space. Based on this, the tangent direction at the end is locked as the sole benchmark for path extension, ensuring that the extrapolated predicted needle insertion path maintains strict consistency with the real-time needle insertion trend of the puncture needle tip.

[0089] Step S32: Extend the needle along the extension direction by a preset extension length to generate a predicted needle insertion path, and determine the end point of the extended path as the endpoint of the predicted path.

[0090] It should be noted that the preset extension length is set based on the estimated puncture depth. This length provides sufficient forward-looking vision while avoiding the accumulation of prediction bias due to excessive extrapolation, thus ensuring the reliability of the assisted decision-making. The estimated puncture depth is estimated by using the spatial coordinates obtained in step S1 and the depth position of the vessel to be punctured in the original ultrasound image, or by setting a default value based on clinical experience (e.g., the femoral artery puncture depth is usually 20-50 mm).

[0091] Combination Figure 8 Based on the depth of the femoral artery in the ultrasound image (approximately 35mm), a preset extension length of 15mm is set. Along the distal tangential direction, starting from the last needle tip feature point... Extending outwards by 15mm generates a complete predicted needle insertion path. The spatial point at the end of this extension is defined as the predicted path endpoint, used for subsequent matching with the preset target area. The corresponding predicted path endpoint at this point is: ; in, For the last needle tip feature point Spatial location coordinates, 15 is the direction vector corresponding to the normalized end tangent direction, and 15 is the preset extension length (unit: mm).

[0092] It should be noted that a preset extension length shorter than 10mm may not be sufficient to reach the vascular area, while a length longer than 20mm may exceed the anatomical range, leading to misjudgment. Therefore, the preferred preset extension length is 10-20mm, which can fully cover the puncture depth from the subcutaneous tissue to the blood vessel while avoiding misjudgment due to excessive extension outside the anatomical range.

[0093] In this embodiment, a tangential extension at the distal end is adopted, which better conforms to the actual puncture movement pattern compared to a fixed-angle straight extension. This effectively improves the accuracy and precision of path prediction and avoids misjudgment of trends. Furthermore, through standardized adaptive length extension, early forward-looking path prediction is achieved, allowing for the prediction of the subsequent puncture endpoint even when the needle tip has only entered superficial tissue. This enables "early prediction and early correction," completely overcoming the lag defect of traditional post-puncture correction.

[0094] like Figure 8 As shown, based on direction vector With the last needle tip feature point The predicted needle insertion path is generated by extrapolating a preset extension length along the Z-axis depth direction, and the endpoint of the predicted path is determined. The predicted needle insertion path is presented as a dashed line extending forward from the fitted needle insertion trajectory, with the endpoint of the predicted path marked by a hollow dot. This creates a visual guide that contrasts reality with illusion, intuitively showing the potential trajectory of the puncture needle tip if it continues to advance along the current trend. This allows the operator to visually compare the current actual trajectory with the predicted trend, thereby quickly assessing the accuracy of the needle insertion direction and making timely adjustments.

[0095] In other embodiments, a multi-segment prediction path can be constructed starting from the starting point or key intermediate nodes of the fitted needle insertion trajectory to cope with trajectory bending caused by nonlinear motion or tissue deformation that may occur during puncture, thereby further improving the robustness of path prediction under complex working conditions.

[0096] Step S4: When the predicted path endpoint falls into the preset target area of ​​the blood vessel to be punctured, it is determined that the predicted needle insertion path meets the preset puncture requirements, and the predicted needle insertion path is output to the corresponding display interface for display.

[0097] It should be noted that the vessel to be punctured refers to the vessel in the original ultrasound image that will be punctured, such as the internal jugular vein, femoral vein, or other superficial or deep vessels. These vessels have clear wall structures and stable hemodynamic characteristics, making them common targets in clinical puncture procedures. The preset target area is located in the central region of the vessel to be punctured, and the radius of the preset target area is smaller than the radius of the vessel to be punctured. This ensures that the puncture point is located in the safest area at the center of the vessel, avoiding the needle tip from approaching or puncturing the vessel wall. The preset puncture requirement refers to the spatial matching relationship between the predicted path endpoint and the preset target area. That is, the predicted needle insertion path is considered to meet the preset puncture requirement only if the predicted path endpoint falls within the preset target area.

[0098] In this embodiment, a pre-segmented and constructed 3D contour model of the blood vessel is retrieved to determine whether the endpoint of the predicted path falls within the preset target area of ​​the blood vessel to be punctured. If the endpoint of the predicted path is located within the preset target area, it indicates that the current needle insertion direction accurately points to the optimal puncture target area of ​​the blood vessel, with no risk of deviation. The predicted needle insertion path is deemed qualified, and the complete predicted needle insertion path is visualized and output to the device display interface for the operator's intuitive reference and continued needle insertion. At the same time, a visual prompt signal of "path qualified" is output, such as highlighting the predicted path or popping up a confirmation icon, to enhance the operator's confidence and guide them to maintain the current needle insertion posture.

[0099] It should be noted that the 3D vascular contour model is a spatial geometric representation of the blood vessel reconstructed based on multi-frame 2D contour information. It can completely restore key features such as the depth, diameter, course, and wall thickness of the blood vessel, providing three-dimensional data support for accurately locating the puncture target area. The construction of the 3D vascular contour model is based on multiple original ultrasound images obtained in step S1. The edges of the blood vessels in each frame are extracted using an image segmentation algorithm, and 3D point cloud registration and surface reconstruction are performed in combination with the probe's spatial pose information, thereby generating a high-precision vascular 3D geometric model.

[0100] Furthermore, the preset target area is preferably the central 50% area of ​​the blood vessel cross-section, which is the optimal safe puncture target area with the highest error tolerance and lowest risk of damage during blood vessel puncture.

[0101] like Figure 8 As shown, this illustrates a spatial matching relationship between the predicted needle insertion path and the preset target area. In the figure, the solid outline of the vessel 3 to be punctured represents the vessel wall, and the area enclosed by the dashed lines represents the pre-defined target area. The endpoint of the predicted path is marked with a hollow dot. The figure clearly presents the ideal state where the endpoint of the predicted path falls within the preset target area, intuitively verifying the accuracy and safety of the current needle insertion angle. At this point, the center of the corresponding vessel is approximately... The system determines that the predicted needle insertion path meets the preset puncture requirements and outputs the predicted needle insertion path to the corresponding display interface for display, providing a reliable visual reference for subsequent puncture operations.

[0102] In other embodiments, the preset target area can also be dynamically adjusted according to the vessel diameter, for example, set to the area of ​​30%-70% of the center of the vessel cross-section, to adapt to the puncture needs of vessels with different diameters. This dynamic adjustment mechanism ensures the universality of the algorithm in different clinical scenarios, while taking into account both the high-precision positioning of small-diameter vessels and the operational tolerance of large-diameter vessels.

[0103] In this application, the standard for qualified puncture path is quantitatively defined by accurately matching the target area of ​​the vascular center, and safe and effective needle insertion channels are accurately selected. At the same time, when the predicted needle insertion path meets the preset puncture requirements, the predicted path is output through visualization, providing the operator with intuitive and quantitative needle insertion guidance, which greatly improves the accuracy of puncture and reduces blind needle insertion operations.

[0104] Furthermore, the above method also includes: when the predicted path endpoint does not fall into the preset target area, determining that the predicted needle insertion path does not meet the preset puncture requirements, and generating a path guidance strategy that includes direction deviation prompts and path correction suggestions.

[0105] It should be noted that the path guidance strategy is used to retrieve multiple original ultrasound images of the target puncture area via a preset ultrasound array probe after the operator adjusts the needle insertion position according to the path correction suggestions. The path guidance strategy is a quantitative correction scheme generated for the offset path, including specific deviation distance, offset direction, and angle adjustment suggestions, to guide the operator in making precise fine-tuning. The iterative retrieval mechanism is a re-detection process after deviation correction, enabling dynamic closed-loop optimization of the puncture path.

[0106] In this embodiment, when the predicted path endpoint does not fall within the preset target area, the current predicted needle insertion path is determined to be off-target and does not meet the preset puncture requirements. The specific offset amount and offset direction are automatically calculated, and a path guidance strategy including directional deviation prompts and specific angle / position correction suggestions is generated and pushed to the display interface in real time. After the operator fine-tunes the needle insertion point and angle according to the correction suggestions, the system automatically returns to the image acquisition step and re-executes the entire process path planning until a qualified predicted puncture path is generated.

[0107] Furthermore, when outputting the path guidance strategy, the system not only provides numerical feedback on deviations but also overlays visual correction arrows or highlighted areas on the display interface, intuitively indicating the direction and magnitude of adjustments. This graphical feedback lowers the barrier for operators to understand numerical deviations, enabling them to respond quickly and execute correction actions, thereby improving puncture efficiency and safety.

[0108] like Figure 9As shown, this illustrates another spatial matching relationship where the predicted needle insertion path deviates from the preset target area. The predicted path endpoint is located outside the preset target area, visually demonstrating the path deviation and providing a clear visual basis for generating the path guidance strategy. At this point, the spatial coordinates of the first three needle tip feature points are as follows: , and Fit the corresponding needle insertion path to obtain the corresponding direction vector. Extending the fitted needle insertion path yields the corresponding predicted needle insertion path; at this point, the endpoint of the predicted path... The deviation is approximately 4 mm from the center of the vessel to be punctured (3). This deviation triggers a correction mechanism, which generates a specific path guidance strategy by quantifying the offset and converts it into a visualized path guidance correction instruction in real time. This guides the operator to adjust the needle insertion angle or position, thereby ensuring that the final predicted path endpoint accurately falls into the preset target area.

[0109] like Figure 10 As shown, it displays Figure 9 The diagram shows the correction results for the deviation. The corrected predicted path endpoint has accurately fallen into the center of the preset target area, visually verifying the effectiveness of the path guidance strategy. At this point, in... Figure 9 Based on this, and following the generated path guidance strategy, the operator withdraws the needle to the subcutaneous layer, adjusts the needle insertion direction according to the correction suggestions, and then reinserts the needle. The spatial coordinates of the newly acquired needle tip feature points are as follows: , , Based on the spatial coordinates of the new needle tip feature points, the needle insertion trajectory is refitted to obtain a new direction vector. Extend the corrected fitted needle insertion trajectory to obtain the corresponding predicted needle insertion path. The endpoint of the predicted path is then determined. If the needle accurately falls into the preset target area of ​​the blood vessel 3 to be punctured, it is determined that the current predicted needle insertion path meets the preset puncture requirements. The iterative correction is stopped, and the corrected predicted needle insertion path is output as the final guidance scheme to the corresponding display interface for display.

[0110] In this application, a closed-loop control system of automatic deviation identification, quantitative correction, and iterative retrieval is used to achieve dynamic and intelligent correction of the puncture path. This eliminates the need to rely on the operator's subjective judgment based on clinical experience, reduces the operational difficulty and decision-making pressure in emergency scenarios, effectively reduces repeated punctures and tissue damage, and perfectly meets the high-intensity and high-precision requirements of ECPR punctures for critically ill patients.

[0111] In other embodiments, the parameters involved in this application can be adaptively adjusted according to different clinical scenarios (puncture site, patient body size, operator experience, etc.). For example, for obese patients, the radius of the preset target area can be increased to allow for moderate deviation, while for children or patients with thinner blood vessels, the radius of the preset target area can be reduced to improve puncture accuracy, thereby improving the adaptability between different individuals while ensuring safety.

[0112] In summary, this application discloses a method for planning a vascular puncture path. The method includes the following steps: acquiring multiple original ultrasound images of the target puncture area using a preset ultrasound array probe, and performing needle tip identification on each original ultrasound image to extract multiple spatial coordinates of the needle tip during insertion; fitting the movement trajectory of the needle tip based on each spatial coordinate to generate a fitted needle insertion trajectory; extending the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path and determining the endpoint of the predicted needle insertion path; when the endpoint of the predicted path falls within a preset target area of ​​the blood vessel to be punctured, determining that the predicted needle insertion path meets the preset puncture requirements, and outputting the predicted needle insertion path to the corresponding display interface for display; the preset target area is located in the central region of the blood vessel to be punctured, and the radius of the preset target area is smaller than the radius of the blood vessel to be punctured. This method, by tracking the spatial coordinates of the needle tip in real time during the initial stage of needle insertion and dynamically fitting the trajectory, can accurately predict the needle insertion path, effectively avoiding deviations caused by hand tremors or tissue displacement, and significantly improving the puncture success rate and operational safety. Meanwhile, it can complete spatial positioning, trajectory calculation and path prediction without external positioning devices and with only a few needle tips. It can also achieve rapid prediction in the early stage of needle insertion. It has the characteristics of low computational load, high real-time performance and no need for external calibration. It is particularly suitable for emergency and critical care scenarios such as ECPR, and can also be applied to other ultrasound-guided vascular puncture scenarios.

[0113] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0114] In one embodiment, a vascular puncture path planning device is provided, which corresponds one-to-one with the vascular puncture path planning method described in the above embodiments. For example... Figure 11 As shown, the vascular puncture path planning device includes a coordinate extraction module 101, a trajectory fitting module 102, a path prediction module 103, and a path output module 104. Detailed descriptions of each functional module are as follows: The coordinate extraction module 101 is used to acquire multiple original ultrasound images of the target puncture area through a preset ultrasound array probe, and to perform needle tip recognition on each original ultrasound image to extract multiple spatial position coordinates of the puncture needle tip during the needle insertion process.

[0115] The trajectory fitting module 102 is used to fit the motion trajectory of the puncture needle tip according to the coordinates of each spatial position, and generate the fitted needle insertion trajectory.

[0116] The path prediction module 103 is used to extend the fitted needle insertion trajectory based on a preset extension length, generate a predicted needle insertion path, and determine the predicted endpoint of the predicted needle insertion path.

[0117] The path output module 104 is used to determine that the predicted needle insertion path meets the preset puncture requirements when the predicted path endpoint falls into the preset target area of ​​the blood vessel to be punctured, and output the predicted needle insertion path to the corresponding display interface for display; the preset target area is located in the central area of ​​the blood vessel to be punctured, and the radius of the preset target area is smaller than the radius of the blood vessel to be punctured.

[0118] Specific limitations regarding the vascular puncture path planning device can be found in the limitations of the vascular puncture path planning method described above, and will not be repeated here. Each module in the aforementioned vascular puncture path planning device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0119] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a vascular puncture path planning method.

[0120] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the vascular puncture path planning method described in the above embodiment, for example... Figure 1 As shown in S1-S4, or Figures 2 to 6As shown, to avoid repetition, it will not be described again here. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in this embodiment of the vascular puncture path planning device, for example... Figure 11 The functions of the coordinate extraction module 101, trajectory fitting module 102, path prediction module 103, and path output module 104 shown are not described again here to avoid repetition.

[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program implements the vascular puncture path planning method described in the above embodiment, for example... Figure 1 As shown in S1-S4, or Figures 2 to 6 As shown, to avoid repetition, it will not be described again here. Alternatively, when the computer program is executed by the processor, it implements the functions of each module / unit in this embodiment of the vascular puncture path planning device, for example... Figure 11 The functions of the coordinate extraction module 101, trajectory fitting module 102, path prediction module 103, and path output module 104 shown are not described again here to avoid repetition. The computer-readable storage medium can be non-volatile or volatile.

[0122] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can 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 a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0123] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0124] It should be noted that any AI models, software tools, or components not belonging to this company appearing in the embodiments of this application are merely illustrative examples and do not represent actual use. All user personal information involved in the embodiments of this application has been authorized (with the knowledge and consent) by the relevant parties or has been fully authorized by all parties, and the executing entity may obtain it through various legal and compliant means. The collection, storage, use, processing, transmission, provision, and disclosure of the information, data, and signals involved all comply with relevant laws and regulations and do not violate public order and good morals.

[0125] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for planning vascular puncture pathways, characterized in that, Including the following steps: Multiple raw ultrasound images of the target puncture area are acquired by a preset ultrasound array probe, and needle tip identification is performed on each raw ultrasound image to extract multiple spatial position coordinates of the puncture needle tip during the needle insertion process. The movement trajectory of the puncture needle tip is fitted according to the spatial coordinates of each position to generate a fitted needle insertion trajectory. The fitted needle insertion trajectory is extended based on a preset extension length to generate a predicted needle insertion path, and the predicted path endpoint of the predicted needle insertion path is determined. When the predicted path endpoint falls within the preset target area of ​​the blood vessel to be punctured, the predicted needle insertion path is determined to meet the preset puncture requirements, and the predicted needle insertion path is output to the corresponding display interface for display; the preset target area is located in the central area of ​​the blood vessel to be punctured, and the radius of the preset target area is smaller than the radius of the blood vessel to be punctured.

2. The vascular puncture path planning method according to claim 1, characterized in that, The vascular puncture path planning method also includes: When the predicted path endpoint does not fall within the preset target area, it is determined that the predicted needle insertion path does not meet the preset puncture requirements, and a path guidance strategy including directional deviation prompts and path correction suggestions is generated; the path guidance strategy is used to return to the step of obtaining multiple original ultrasound images of the target puncture area through a preset ultrasound array probe after the operator adjusts the needle insertion position according to the path correction suggestions.

3. The vascular puncture path planning method according to claim 1, characterized in that, The step of performing needle tip identification on each of the original ultrasound images and extracting multiple spatial position coordinates of the needle tip during needle insertion includes: The original ultrasound images are preprocessed to obtain the corresponding enhanced ultrasound images; The enhanced ultrasound images are segmented to extract the corresponding puncture needle tip region; Feature extraction is performed on the puncture needle tip regions of each needle to obtain the corresponding needle tip feature points; The coordinates of each of the needle tip feature points are extracted to obtain the corresponding spatial position coordinates.

4. The vascular puncture path planning method according to claim 1, characterized in that, The step of extending the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path and determining the predicted endpoint of the predicted needle insertion path includes: The direction of the end tangent of the fitted needle insertion trajectory is taken as the extension direction; The preset extension length is extended along the extension direction to generate the predicted needle insertion path, and the extended end point is determined as the end point of the predicted path.

5. The vascular puncture path planning method according to claim 1, characterized in that, The step of fitting the motion trajectory of the puncture needle tip based on the spatial coordinates of each position to generate a fitted needle insertion trajectory includes: The image quality index of each of the original ultrasound images is obtained, and the confidence weight of each of the spatial location coordinates is determined based on the image quality index. The spatial coordinates are fitted with a weighted straight line based on the confidence weights to generate the fitted needle trajectory.

6. The vascular puncture path planning method according to claim 1, characterized in that, After fitting the motion trajectory of the puncture needle tip according to the spatial position coordinates to generate the fitted needle insertion trajectory, the method further includes: Based on the spatial coordinates of each position, calculate the mean distance error from the needle tip feature point corresponding to each spatial coordinate to the fitted needle insertion trajectory; When the mean distance error is greater than the preset distance threshold, it is determined that the fitting quality of the fitted needle insertion trajectory does not meet the preset fitting requirements, and the process returns to the step of obtaining multiple original ultrasound images of the target puncture area through the preset ultrasound array probe. When the mean distance error is less than or equal to a preset distance threshold, it is determined that the fitting quality of the fitted needle insertion trajectory meets the preset fitting requirements, and the step of extending the fitted needle insertion trajectory based on a preset extension length to generate a predicted needle insertion path is executed.

7. The vascular puncture path planning method according to claim 1, characterized in that, The acquisition of multiple raw ultrasound images of the target puncture area using a preset ultrasound array probe includes: Identify the phase state of chest compressions, and acquire each of the original ultrasound images when the phase state is the relaxation phase.

8. A vascular puncture path planning device, characterized in that, include: The coordinate extraction module is used to acquire multiple original ultrasound images of the target puncture area through a preset ultrasound array probe, and to perform needle tip recognition on each of the original ultrasound images to extract multiple spatial position coordinates of the puncture needle tip during the needle insertion process. The trajectory fitting module is used to fit the movement trajectory of the puncture needle tip according to the spatial position coordinates to generate a fitted needle insertion trajectory. The path prediction module is used to extend the fitted needle insertion trajectory based on a preset extension length, generate a predicted needle insertion path, and determine the predicted path endpoint of the predicted needle insertion path. The path output module is used to determine that the predicted needle insertion path meets the preset puncture requirements when the endpoint of the predicted path falls within the preset target area of ​​the blood vessel to be punctured, and to output the predicted needle insertion path to the corresponding display interface for display; the preset target area is located in the central area of ​​the blood vessel to be punctured, and the radius of the preset target area is smaller than the radius of the blood vessel to be punctured.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vascular puncture path planning method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the vascular puncture path planning method as described in any one of claims 1 to 7.