Beam control method, device and equipment of radiotherapy device and storage medium

By using a dual-modal fusion of ultrasound and surface optics to monitor swallowing movements and combining image registration to verify target location, the problem of insufficient swallowing movement recognition in existing technologies has been solved, achieving high-precision radiotherapy beam control and target protection.

CN123167422APending Publication Date: 2026-11-27SUZHOU LINATECH MEDICAL SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611316480.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Current radiotherapy techniques for treating head, neck, chest, and abdominal tumors cannot effectively identify and respond to target displacement caused by swallowing movements, resulting in false positives and missed detections, which affects the accuracy and safety of treatment.

Method used

Employing a dual-modal weighted fusion mechanism of ultrasound and body surface optics, the system monitors the movement of the patient's internal tissues and body surface in real time. It determines the swallowing action through a swallowing probability function and immediately interrupts the beam upon triggering. Combined with image registration, it verifies the target area location and achieves closed-loop control.

Benefits of technology

It significantly improves the accuracy of swallowing event triggering, avoids additional radiation exposure, accurately identifies target baseline drift, and enhances the clinical safety and target dose delivery accuracy of radiotherapy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123167422A_ABST
    Figure CN123167422A_ABST
Patent Text Reader

Abstract

The application discloses a beam control method, device and equipment of a radiotherapy device and a storage medium. The method acquires a sequence of ultrasonic signals and a sequence of body surface optical point cloud coordinates in real time, extracts internal tissue feature displacement and body surface fluctuation, calculates a swallowing probability function through weighted fusion of the ultrasonic mode weight being greater than the body surface optical mode weight, determines swallowing initiation when the swallowing probability function exceeds a preset threshold or the ultrasonic feature displacement change speed exceeds a preset threshold, immediately issues a beam interruption instruction to an accelerator, maintains the beam interruption state for a delay duration, collects target area instantaneous verification images and registers the images with plan reference images, calculates target area three-dimensional displacement error, restores the beam if the displacement error does not exceed a preset allowable threshold, and otherwise maintains interruption and generates a displacement compensation vector of a treatment bed. The application realizes accurate triggering of a swallowing event and a complete radiotherapy gating closed loop, and can effectively deal with target area displacement and baseline drift problems caused by swallowing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of radiotherapy equipment control technology, specifically relating to a beam control method, device, equipment and storage medium for radiotherapy equipment, which is particularly suitable for beam gating management caused by the patient's swallowing action during radiotherapy for head and neck and thoracic and abdominal tumors. Background Technology

[0002] Radiotherapy (RT) is one of the core methods of cancer treatment. During radiotherapy, precise target localization and real-time tracking are crucial prerequisites for ensuring that the tumor receives a sufficient prescription dose while maximizing the protection of surrounding normal tissues and organs at risk (OARs).

[0003] Current mainstream radiotherapy target tracking technologies primarily revolve around respiratory motion. Lung and thoracic / abdominal tumors are affected by the periodic nature of the patient's respiratory movements during radiotherapy, causing the target area to shift regularly over time. To address this issue, existing technologies have developed various target tracking and gating schemes based on respiratory phase matching. Examples include: using 4DCT to extract respiratory curves and establish a correspondence between respiratory phase and target location; using real-time ultrasound images to acquire liver or diaphragm motion signals and achieving gating triggering of target location through phase matching; and using surface optical tracking systems (such as SGRT, Surface Guided Radiation Therapy) to monitor the periodic fluctuations of the body surface contour and indirectly infer the displacement pattern of the target area within the body.

[0004] However, in radiotherapy for head, neck, and thoracic / abdominal tumors, swallowing is another significant cause of target displacement. Swallowing is highly transient, lasting approximately 1.5 to 2.5 seconds per swallow, and the traction on the pharynx, esophagus, and adjacent anatomical structures during swallowing can lead to significant target displacement. More challenging is that after swallowing, due to muscle traction, changes in tissue elasticity, and minor adjustments in patient position, irreversible baseline shift may occur in the target area. This means the target area cannot automatically return to its original position. This baseline shift is irregular and unpredictable, fundamentally different from the periodicity and predictability of respiratory movements. Furthermore, swallowing and respiratory movements overlap in time; the monitoring signal during swallowing contains both respiratory and swallowing components, and these two types of movements overlap in both the frequency and time domains, further increasing the difficulty of signal separation.

[0005] Existing technologies for monitoring and gating respiratory movements are relatively mature, but they all have the following shortcomings: First, the monitoring target is singular and unable to identify swallowing movements. The core logic of existing solutions revolves around the "respiratory curve," whether it's phase matching based on 4DCT and ultrasound, prediction and compensation based on body surface motion curves, or tracking and correction based on respiratory phase changes. Their monitoring targets and motion models are all based on the assumption of the periodicity and regularity of respiratory movements. Swallowing, however, is a non-periodic, transient, and unpredictable sudden event; its motion characteristics are completely different from respiratory movements. Therefore, the aforementioned solutions cannot effectively identify and respond to swallowing movements.

[0006] Second, single-modal monitoring is susceptible to interference from respiratory fluctuations, and swallowing triggering suffers from serious false positives and missed detections. Current technologies generally rely on a single information source for motion monitoring, such as solely relying on liver ultrasound to extract respiratory curves, solely relying on body surface contour motion curves, or solely relying on respiratory phase changes. When a patient swallows, both ultrasound signals and body surface optical signals are simultaneously affected by the superposition of respiratory and swallowing movements. Single-modal monitoring cannot effectively distinguish between these two different signal sources. Regular fluctuations in the body surface during respiration may be misinterpreted as swallowing (false positives), and instantaneous displacement caused by swallowing may be submerged in the fluctuations of the respiratory signal and missed (false negatives). This problem directly leads to insufficient gating triggering accuracy, potentially causing unnecessary treatment interruptions and prolonged treatment time due to false positives, or allowing beam output to continue during target displacement due to missed detections, resulting in off-target irradiation. Summary of the Invention

[0007] To address the aforementioned technical problems, this invention proposes a beam control method, apparatus, device, and storage medium for radiotherapy equipment.

[0008] To achieve the above objectives, the technical solution of the present invention is as follows: In a first aspect, the present invention discloses a beam control method for a radiotherapy device, comprising: Step S1: Real-time acquisition of ultrasound signal sequences characterizing the movement of internal tissues in the patient. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; Step S2: Based on the ultrasound signal sequence Extracting characteristic displacements of internal tissues Based on the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; Step S3: When one of the following conditions is met, swallowing is initiated, and the trigger time is recorded. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; Step S4: At the triggering time After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Step S5: Self-triggering time The duration of the beam interruption state is maintained. During the delay It is forbidden to send beam activation commands to the accelerator from within; Step S6: At the verification time The image acquisition equipment acquires instantaneous verification images of the target area. Instantaneous verification of images Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; Step S7: Assess the three-dimensional displacement error Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

[0009] Based on the above technical solution, the following improvements can be made: As a preferred embodiment, in step S2, the designated area on the body surface is the neck region, and the undulation amount is the displacement of the neck region's body surface in the Z-axis direction.

[0010] As a preferred option, in step S4... .

[0011] As a preferred option, in step S5, the delay duration... For a fixed duration, or by the characteristic displacement of the ultrasonic signal The determination of internal tissue muscle relaxation and repositioning is determined dynamically.

[0012] As a preferred approach, the registration in step S5 employs a mutual information registration algorithm, which finds the optimal spatial transformation matrix to make the instantaneous verification image... Reference images for the plan Minimize the image similarity cost function between them; ; in: It is a spatial transformation matrix; Let be the image similarity cost function.

[0013] As a preferred option, the optimal spatial transformation matrix Decompose into translation vectors The three-dimensional Euclidean distance is calculated based on the three-dimensional translation vector to obtain the three-dimensional displacement error. The calculation formula is: .

[0014] As a preferred embodiment, in step S7, the generated displacement compensation vector is a three-dimensional translation compensation vector. .

[0015] Secondly, the present invention discloses a beam control device for a radiotherapy apparatus, comprising: The data acquisition module is used to acquire ultrasound signal sequences that characterize the movement of internal tissues in the patient in real time. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; The swallowing probability calculation module is used to calculate the swallowing probability based on the ultrasound signal sequence. Extracting characteristic displacements of internal tissues Based on the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; The swallowing trigger module is used to determine the initiation of swallowing and record the trigger time when one of the following conditions is met. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; The beam interruption control module is used to interrupt the beam at the trigger time. After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Delayed waiting control module, used for self-triggering time The duration of the beam interruption state is maintained. During the delay It is forbidden to send beam activation commands to the accelerator from within; The image verification module is used for verification at the time of verification. The image acquisition equipment acquires instantaneous verification images of the target area. Instantaneous verification of images Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; The decision recovery module is used to analyze three-dimensional displacement errors. Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

[0016] Thirdly, the present invention discloses a computing device, comprising: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in memory and configured to be executed by one or more processors, the one or more programs including instructions for a beam control method for any of the above-described radiotherapy devices.

[0017] Fourthly, the present invention discloses a storage medium storing one or more computer-readable programs, the one or more programs including instructions adapted to be loaded by a memory and execute the beam control method of any of the above-described radiotherapy devices.

[0018] This invention discloses a beam control method, apparatus, device, and storage medium for radiotherapy equipment, which has the following advantages compared with the prior art: First, it significantly improves the accuracy of swallowing event triggering, effectively reducing gated false positives and missed detection rates. This invention employs a dual-modal weighted fusion mechanism of ultrasound and surface optics, and based on the physiological characteristics that internal esophageal movement occurs earlier than surface undulations and is unaffected by the fat layer during swallowing, it weights the ultrasound modality coefficients accordingly. Set to be greater than the surface optical modal weighting coefficient It can effectively separate non-periodic, transient swallowing signals from regular respiratory background signals, fundamentally overcoming the false triggering and missed triggering problems caused by single-modal monitoring.

[0019] Second, it achieves zero additional radiation exposure during the chaotic swallowing displacement period. This invention sends a beam interruption command to the accelerator extremely shortly after swallowing is triggered and forcibly maintains the beam interruption state for a prolonged period. This ensures that the patient does not receive any additional radiation throughout the swallowing process, maximizing the protection of surrounding organs at risk.

[0020] Third, it enables precise detection and correction of target area baseline drift after swallowing. This invention acquires instantaneous verification images of the target area using an image acquisition device at the verification moment after swallowing. With reference images of the plan Registration was performed, and the three-dimensional displacement error of the geometric center of the target area was quantitatively calculated. It can accurately identify whether irregular baseline drift occurs in the target area, overcoming the shortcomings of traditional prediction models that cannot verify the actual position of the target area in non-periodic events.

[0021] Fourth, a complete closed-loop radiotherapy safety gating system of "monitoring-triggering-interruption-waiting-verification-recovery / correction" was constructed. This invention establishes a complete closed-loop decision-making logic: upon swallowing trigger, the beam is automatically interrupted and the system waits for the swallowing to subside; subsequently, the target location is verified through image registration, and based on... Compared with the preset allowable threshold The comparison results are used to make automatic decisions. If the beam return is successful, the beam is resumed; if baseline drift occurs, the interruption is maintained and a displacement compensation vector for the treatment bed is generated. This closed-loop mechanism fills the technical gap in the field of radiotherapy gating for non-periodic sudden actions such as swallowing, and greatly improves the clinical safety and target dose delivery accuracy of radiotherapy. Attached Figure Description

[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A flowchart of a beam control method provided in an embodiment of the present invention. Detailed Implementation

[0024] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0025] 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 embodiments of the present invention, and not all embodiments. 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.

[0026] Using ordinal numbers such as “first,” “second,” “third,” etc. to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, sequence, or any other way.

[0027] Furthermore, the expression "includes" is an "open-ended" expression, which means only that there is a corresponding component or step, and should not be interpreted as excluding additional components or steps.

[0028] To achieve the objectives of this invention, some embodiments of a beam control method for a radiotherapy device, such as... Figure 1 As shown, the beam control method includes: Step S1: Real-time acquisition of ultrasound signal sequences characterizing the movement of internal tissues in the patient. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; Step S2: Based on the ultrasound signal sequence Extracting characteristic displacements of internal tissues Based on the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; Step S3: When one of the following conditions is met, swallowing is initiated, and the trigger time is recorded. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; Step S4: At the triggering time After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Step S5: Self-triggering time The duration of the beam interruption state is maintained. During the delay It is forbidden to send beam activation commands to the accelerator from within; Step S6: At the verification time The image acquisition equipment acquires instantaneous verification images of the target area. Instantaneous verification of images Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; Step S7: Assess the three-dimensional displacement error Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

[0029] Each of the above steps will be explained in detail below.

[0030] In step S1, before the radiation beam exits, the system first needs to establish that the patient is in the correct position and record the current respiratory baseline and anatomical baseline.

[0031] Specifically, after the patient is positioned, the radiation oncologist uses cone-beam CT (CBCT) or other image-guided systems on the accelerator to confirm that the patient's position is consistent with that of the planning CT. The system sets the digitally reconstructed radiograph (DRR) generated by the planning CT as the planning reference image. (Right now: This serves as the benchmark for subsequent image registration.

[0032] Subsequently, the system activates the ultrasound acquisition unit and the body surface optical acquisition unit to begin acquiring continuous ultrasound signal sequences in real time. and body surface optical point cloud coordinate sequence In a preferred embodiment, the ultrasound acquisition unit acquires ultrasound signals at a sampling frequency of 20 to 50 frames per second, and the body surface optical acquisition unit acquires body surface point cloud data at a sampling frequency of 30 to 60 frames per second, to ensure that the high transient characteristics of swallowing movements can be captured.

[0033] The ultrasound signal sequence It includes information on the movement of the pharyngeal muscles and esophageal wall due to swallowing, as well as information on the periodic movement of the diaphragm and abdominal organs due to respiration. The body surface optical point cloud coordinate sequence It contains information on the instantaneous rise and fall of the neck and chest / abdomen due to swallowing, as well as information on the periodic rise and fall of the chest / abdomen due to breathing.

[0034] The ultrasound acquisition unit can be installed on the patient's neck or chest / abdomen using a handheld ultrasound device with a fixed bracket, or it can be directly attached to the patient's skin using a patch-type ultrasound device to obtain real-time motion information of internal tissues such as the pharynx, esophagus, or diaphragm. The surface optical acquisition unit can use a structured light depth camera (including monocular structured light, binocular structured light, monocular speckle, binocular speckle, etc.), an RGBD camera, or other devices capable of generating surface point clouds, and can be installed on the ceiling or side wall of the treatment room to obtain real-time three-dimensional contour data of the patient's neck and chest / abdomen.

[0035] In step S2, Regarding ultrasonic characteristic displacement Extraction: In one embodiment, the system delineates a region of interest (ROI) in the ultrasound image, which covers the esophageal wall or pharyngeal muscle group. A block matching algorithm or optical flow algorithm is used to track the displacement of tissue within this region to obtain characteristic displacements. Characteristic displacement It reflects the instantaneous displacement changes of internal tissues in the direction of the ultrasound probe during swallowing.

[0036] In another embodiment, a speckle tracking-based ultrasonic strain analysis method can be used to track the motion trajectory of tissue specks in an ultrasonic image, thereby extracting displacement and strain information of the internal tissue.

[0037] Regarding the amount of body surface undulation Extraction: In a preferred embodiment, the designated area on the body surface is the patient's neck region, and the undulation amount is the displacement of the neck region's surface in the Z-axis direction (i.e., the direction from the patient's head to feet or the vertical direction). Specifically, the system segments the three-dimensional point cloud data of the neck region from the optical point cloud of the body surface, calculates the average or maximum displacement of the surface in this region in the Z-axis direction, and obtains the undulation amount. .

[0038] In another embodiment, the designated area on the body surface may also be the laryngeal region or the suprasternal notch region, which are areas where the body surface undulates more noticeably during swallowing.

[0039] Swallowing is a highly transient process, with a single swallow lasting approximately 1.5 to 2.5 seconds. Its movement characteristics are fundamentally different from the periodicity and regularity of respiratory movements. Traditional single-modality methods (such as relying solely on ultrasound or solely on surface optics) are easily interfered with by the superposition of respiratory background movements, making it impossible to effectively distinguish between respiratory fluctuations and swallowing movements. This can lead to false positives (misjudging breathing as swallowing) or missed detections (swallowing signals being submerged in respiratory signals).

[0040] To address this issue, this invention employs a weighted fusion mechanism combining ultrasound and surface optical modalities. The physical principle is as follows: during swallowing, the pharyngeal muscles contract first, the upper esophageal sphincter opens, and food or saliva enters the esophagus. This internal muscle / esophageal movement precedes the undulations of the neck surface, and the ultrasound signal directly penetrates the tissue to detect internal movement, unaffected by attenuation from the subcutaneous fat layer. In contrast, surface optical signals only reflect changes in the body's contours and are easily interfered with by respiratory movements, subtle body postures, and other factors. Based on this physiological principle, this invention assigns a greater weight to the ultrasound modality than to the surface optical modality in the fusion determination.

[0041] Specifically, the system calculates the swallowing probability function according to the following formula. : ; in: and This is a normalized feature extraction function used to map feature displacements and fluctuations of different dimensions and magnitudes to a unified numerical range for weighted fusion.

[0042] For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; In a preferred embodiment , This weighting configuration fully reflects the physiological characteristics of swallowing, where internal esophageal movements precede body surface undulations and are unaffected by the fat layer, thus making the swallowing probability function... It has higher sensitivity to swallowing movements and a lower false alarm rate.

[0043] In another embodiment, , . and The specific values ​​can be adjusted individually based on the patient's body shape (such as the thickness of the neck fat layer) or different anatomical locations to achieve the best swallowing detection results.

[0044] In step S3, the system sets the swallowing probability function. and ultrasonic characteristic displacement Real-time monitoring is performed. Swallowing is initiated when one of the following two conditions is met, and the trigger time is recorded. : Triggering condition one: ; Triggering condition two: .

[0045] For trigger condition one: The preset swallowing threshold can be determined based on clinical data statistics, for example, by analyzing the swallowing data of multiple subjects under both calm breathing and active swallowing conditions. Numerical values ​​are statistically analyzed, and the value that best distinguishes the two states is selected as the threshold. In a preferred embodiment, The value range is from 0.6 to 0.8.

[0046] The first triggering condition is a steady-state determination based on bimodal fusion probability, applicable to situations where swallowing action characteristics are relatively typical and the amplitude of the swallowing probability function is significantly increased. When this condition is met, it indicates that both bimodal signals exhibit swallowing characteristics, and the confidence level of the swallowing determination is high.

[0047] For trigger condition two: Characteristic displacement Regarding time The first derivative of ultrasound characteristic displacement is the rate of change of displacement. During swallowing, the internal tissues generate a rapid displacement pulse in a very short time, the rate of change of which is much greater than that caused by respiratory movements. Therefore, when Exceeding the preset ultrasonic displacement change rate threshold Even at that time Not yet exceeded The system will also detect when swallowing has started.

[0048] The second triggering condition is a transient determination based on the rate of change of ultrasonic characteristic displacement, which is suitable for a rapid response at the moment of initiation of swallowing. Since the moment of initiation of swallowing is often accompanied by the fastest displacement of internal tissues, this condition ensures that the system responds in the early stages of swallowing, minimizing trigger delay.

[0049] The two triggering conditions mentioned above complement each other: the first condition ensures the reliability of the judgment, and the second condition ensures the timeliness of the triggering. Together, they ensure the high sensitivity and low latency of swallowing triggering.

[0050] In step S4, when the system determines that swallowing has started in step S3 and records the trigger time... Then, the main control computer at the trigger time System latency Inside, a beam interruption command (BeamHold command) is sent to the accelerator, causing the accelerator to immediately stop outputting the beam.

[0051] System delay time This refers to the time interval from the swallowing trigger determination moment to the actual issuance and activation of the beam interrupt command to the accelerator. It mainly includes: signal acquisition and transmission delay, trigger determination algorithm calculation delay, command issuance and transmission delay, and the accelerator's response delay in receiving the command and executing the interrupt. In this invention, by optimizing algorithm efficiency and hardware response speed, the system latency time is reduced. Keep it within 100 milliseconds, that is This extremely low system latency ensures that the beam is interrupted before the target displacement caused by swallowing occurs significantly, thus avoiding ineffective irradiation and off-target risks during target displacement.

[0052] In a preferred embodiment The duration is 50 to 80 milliseconds. In another embodiment, by employing high-speed signal processing hardware and an optimized interrupt instruction transmission protocol, It can be further shortened to less than 30 milliseconds.

[0053] From a control principle perspective, this step implements a gating response mechanism of "event triggering → immediate beam interruption." Unlike the "continuous tracking + dynamic adjustment" mode in existing technologies, this invention, upon detecting the unpredictable transient event of swallowing, does not attempt to "follow" the target area movement through adjustments to the grating or robotic arm, but directly interrupts the beam output, fundamentally eliminating the risk of irradiation during target area displacement. This "interruption-first" control strategy has significant advantages in handling highly transient, non-periodic sudden events such as swallowing.

[0054] In step S5, from the triggering time The system maintains the beam interruption state for a continuous delay. During the delay period It is forbidden to send beam activation commands to the accelerator from within.

[0055] The entire process of a single physiological swallow typically lasts approximately 1.5 to 2.5 seconds. During this time, the pharyngeal muscles successively undergo a contraction phase (bolus propulsion), an opening phase (opening of the upper esophageal sphincter), and a recovery phase (muscle relaxation and repositioning), leaving the target area in a state of dynamic and chaotic displacement. Because this displacement is highly nonlinear, multidirectional, and varies between different patients, and even between different swallows of the same patient, any attempt to "dynamically track" or "compensate in real time" during swallowing faces significant technical challenges and uncertainties.

[0056] Therefore, this invention employs a "blind zone delay waiting" strategy: during the entire swallowing process, the system does not perform any X-ray acquisition or beam output to achieve zero additional radiation. The system is forced into a waiting period. Define the verification time .exist During this period, the system strictly locks the beam hold state, prohibiting any operation to restore the beam.

[0057] Regarding delay duration Regarding the configuration, this invention provides two optional implementation schemes: Option 1: Fixed duration. It can be set to a fixed N seconds. According to swallowing physiology statistics, the entire process of a single swallowing event typically does not exceed 2.5 seconds; therefore, in a preferred embodiment, The time is set to 2.5 seconds to ensure coverage of the entire swallowing process for all types of patients. In another preferred embodiment, The duration is set to 2.0 seconds. The advantage of a fixed duration is its simplicity, high reliability, and the absence of additional real-time analysis and calculations.

[0058] Option 2: Dynamic determination. Characteristic displacement of the ultrasonic signal The determination of internal tissue muscle relaxation and repositioning is determined dynamically. Specifically, the system continuously monitors ultrasound-guided displacement after swallowing is triggered. ,when When the amplitude of the pulse returns to the level of the patient's calm breathing state before triggering and remains stable for a period of time (e.g., 500 milliseconds) without any further pulsatile fluctuations, it is determined that the internal tissue muscles have completely relaxed and returned to their original position. At this point, the dynamic delay waiting cycle ends. The advantage of dynamic determination is that it can adaptively adjust the waiting time according to the patient's actual swallowing situation, avoiding the problems of insufficient waiting (returning to the treatment bundle before swallowing is finished) or excessive waiting (prolonging the treatment time) that may be caused by a fixed duration.

[0059] In step S6, at the verification time This triggers the image acquisition device to acquire instantaneous verification images of the target area. Instantaneous verification of images Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. .

[0060] Reaching the verification time Afterward, the patient's swallowing action has essentially ended, and they have re-entered a normal breathing rhythm. At this point, the patient's body surface may have returned to calm, but whether the internal target area has truly returned to its original position cannot be confirmed solely based on surface information. A key characteristic of the swallowing action is that after swallowing, due to factors such as continuous muscle traction, changes in tissue elasticity, and possible minor postural adjustments by the patient during swallowing, the target area may experience irreversible baseline shift, meaning the target area cannot automatically return to its original position. This baseline shift is fundamentally different from the periodic repositioning of respiratory movements and cannot be handled by existing prediction models based on respiratory phase matching.

[0061] To address this issue, the present invention introduces an in vivo gold standard verification mechanism based on image registration in step S6.

[0062] During the verification time The main control computer triggers the image acquisition equipment to acquire instantaneous verification images of the target area. In a preferred embodiment, the image acquisition device is a KV-level X-ray imaging device integrated into the accelerator, acquiring a single (or a single pair of orthogonal) instantaneous flat film as an instantaneous verification image. (Right now: In another embodiment, the image acquisition device may also be a MV-level X-ray imaging device, a cone-beam CT imaging device, or an ultrasound imaging device. The choice of image acquisition device depends on the actual configuration of the radiotherapy equipment and clinical needs.

[0063] Acquired instantaneous verification images Then, the system will instantly verify the image. Reference images for the plan Registration is performed. In a preferred embodiment, registration employs a mutual information registration algorithm. The basic principle of mutual information registration is that the mutual information between two images is maximized when they are spatially aligned. Unlike registration algorithms based on gray-level differences, mutual information registration does not require the two images to have the same gray-level distribution, making it particularly suitable for image registration between different imaging modalities (such as KV flat images and DRR).

[0064] Specifically, the system finds the optimal spatial transformation matrix. This enables instantaneous verification of images. Reference images for the plan Minimize the image similarity cost function between them: ; in: It is a spatial transformation matrix; Indicates instantaneous verification image Apply transformation matrix ; Let be the image similarity cost function.

[0065] Spatial transformation matrix This can include rigid transformations (translation + rotation) or deformation transformations (affine or nonlinear transformations), depending on clinical needs. In a preferred embodiment, rigid transformations are used to maintain computational efficiency.

[0066] In another embodiment, the registration algorithm may also employ a normalized cross-correlation registration algorithm, a feature point-based registration algorithm (such as SIFT, SURF feature point matching), a deep learning-based registration algorithm, or other image registration algorithms capable of achieving image spatial alignment.

[0067] The optimal space transformation matrix Decompose into translation vectors ,in These represent the displacements of the target region's geometric center from the original baseline position along the three coordinate axes. The system then calculates the three-dimensional Euclidean distance (displacement error) between the current in vivo target region's geometric center and the original baseline position. The calculation formula is: .

[0068] It is a comprehensive quantitative indicator that reflects the actual displacement of the target area in three-dimensional space.

[0069] From the perspective of verification principles, this step achieves the following key functions: First, it directly obtains the actual spatial location of the target area through image registration, rather than indirectly inferring it through respiratory phase or body surface movement, thus possessing "gold standard" level accuracy; Second, it achieves quantitative calculations... First, it quantifies the target displacement into a value that can be compared with the clinically acceptable threshold, providing an objective basis for subsequent automated decision-making. Second, it can detect internal baseline drift that cannot be detected by surface monitoring, making up for the fundamental deficiency of single-modality monitoring.

[0070] In step S7, the system calculates the three-dimensional displacement error obtained in step S6. Make a judgment, among which This is a preset allowable threshold.

[0071] The value can be determined based on the outer boundary between the Clinical Target Volume (CTV) and the Planning Target Volume (PTV), or based on the specific clinical prescription and dose constraints of the organs at risk.

[0072] The system and A comparison is made, and different control logic is executed based on the comparison result: Scenario 1: Successful return to position. When At this point, the system determines that the anatomical displacement caused by swallowing falls within the scope of elastic deformation, and the current target area has accurately returned to the initial baseline position, allowing for safe continuation of radiotherapy. The main control computer then sends a Beam On command to the accelerator, restoring beam output and continuing radiotherapy.

[0073] Scenario 2: Baseline Drift. The system determines that swallowing has caused substantial tissue displacement, resulting in irreversible baseline drift. At this point, the target area has deviated from its planned position. If beam emission continues, the tumor target area will not receive an adequate prescribed dose, and surrounding organs at risk may be accidentally irradiated. Therefore, the system refuses to resume beam emission, maintains a beam-hold state, and takes one of the following corrective measures: Correction Measure 1: Automatic Correction. The system generates a displacement compensation vector for the treatment bed. In a preferred embodiment, the displacement compensation vector is a three-dimensional translation compensation vector. The compensation vector is sent to the accelerator's six-degree-of-freedom (6DoF) treatment table, which automatically translates and adjusts according to the compensation vector to correct the patient's position. After correction, the system can re-acquire verification images to confirm the correction effect. Then it resumed its original state.

[0074] Corrective measure two: Manual intervention. The system issues visual alarm signals (such as flashing red lights and prompt text) and / or auditory alarm signals on the display screen, prompting the radiation therapy technician to enter the treatment room to reposition the patient. The technician then adjusts the positioning based on the displacement deviation information displayed by the system. (Specific values), manually adjust the patient's position, and after the adjustment is completed, re-verify the image. After confirming that the target area is back in place, resume treatment.

[0075] From the perspective of control theory, steps S4 to S7 constitute a complete closed-loop control system: the swallowing event serves as a disturbance input → the system detects the disturbance and triggers an interrupt (feedback) → waits for the disturbance to subside → obtains the system state through image verification (measurement) → compares it with the setpoint ( The system compares the deviations and then performs recovery or correction (control output). This closed-loop mechanism ensures that the system has complete detection, response, verification, and recovery capabilities for swallowing, a non-periodic and unpredictable sudden event.

[0076] In some embodiments of the present invention, after step S7 is completed (whether beam output is resumed or interruption is maintained and correction is performed), the system returns to step S1 to continue acquiring ultrasound signal sequences and surface optical point cloud coordinate sequences in real time, continuously monitoring subsequent swallowing events. This cycle continues until a stop monitoring command is received (such as the end of radiotherapy or equipment shutdown). During radiotherapy, the patient may swallow multiple times. Each swallow may cause target displacement and even cumulative baseline drift. The cyclic monitoring mechanism of the present invention ensures that each swallow is detected and properly handled in a timely manner, thereby continuously ensuring the accuracy and safety of target dose delivery throughout the entire radiotherapy process.

[0077] In other embodiments, the present invention discloses a beam control device for a radiotherapy apparatus, comprising: The data acquisition module is used to acquire ultrasound signal sequences that characterize the movement of internal tissues in the patient in real time. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; The swallowing probability calculation module is used to calculate the swallowing probability based on the ultrasound signal sequence. Extracting characteristic displacements of internal tissues Based on the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; The swallowing trigger module is used to determine the initiation of swallowing and record the trigger time when one of the following conditions is met. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; The beam interruption control module is used to interrupt the beam at the trigger time. After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Delayed waiting control module, used for self-triggering time The duration of the beam interruption state is maintained. During the delay It is forbidden to send beam activation commands to the accelerator from within; The image verification module is used for verification at the time of verification. The image acquisition equipment acquires instantaneous verification images of the target area. Instantaneous verification of images Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; The decision recovery module is used to analyze three-dimensional displacement errors. Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

[0078] Furthermore, it should be noted that the beam control device of the radiotherapy equipment provided in the above embodiments is only illustrated by the division of the above functional modules when performing beam control. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the beam control device of the radiotherapy equipment can be divided into different functional modules to complete all or part of the functions described above.

[0079] Furthermore, the embodiments of the beam control device and beam control method of the radiotherapy equipment provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0080] Furthermore, in some other embodiments, in the swallowing probability calculation module, the specified area on the body surface is the neck region, and the undulation amount is the displacement of the neck region's body surface in the Z-axis direction.

[0081] Furthermore, in some other embodiments, in the beam interruption control module, .

[0082] Furthermore, in some other embodiments, the delay duration in the delay waiting control module... For a fixed duration, or by the characteristic displacement of the ultrasonic signal The determination of internal tissue muscle relaxation and repositioning is determined dynamically.

[0083] Furthermore, in some other embodiments, the registration in the delay waiting control module employs a mutual information registration algorithm, which finds the optimal spatial transformation matrix to enable instantaneous verification of the image. Reference images for the plan Minimize the image similarity cost function between them; ; in: It is a spatial transformation matrix; Let be the image similarity cost function.

[0084] Furthermore, in some other embodiments, the optimal spatial transformation matrix is... Decompose into translation vectors The three-dimensional Euclidean distance is calculated based on the three-dimensional translation vector to obtain the three-dimensional displacement error. The calculation formula is: .

[0085] Furthermore, in some other embodiments, the displacement compensation vector generated in the decision recovery module is a three-dimensional translation compensation vector. .

[0086] In other embodiments, the present invention discloses a computing device comprising: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in memory and configured to be executed by one or more processors, the one or more programs including instructions for a beam control method for any of the above-described radiotherapy devices.

[0087] In other embodiments, the present invention discloses a storage medium storing one or more computer-readable programs, the programs including instructions adapted to be loaded by memory and execute the beam control method of any of the above-described radiotherapy devices.

[0088] This invention discloses a beam control method, apparatus, device, and storage medium for radiotherapy equipment, which has the following advantages compared with the prior art: First, it significantly improves the accuracy of swallowing event triggering and effectively reduces gated false positives and missed detection rates.

[0089] Existing technologies rely on a single monitoring modality (such as ultrasound or surface optics alone), making it difficult to distinguish the superimposed signals of respiratory and swallowing movements. This invention employs a dual-modal weighted fusion mechanism of ultrasound and surface optics, and, based on the physiological characteristics that internal esophageal movements occur earlier than surface undulations and are unaffected by the fat layer during swallowing, the ultrasound modality weighting coefficient is adjusted accordingly. Set to be greater than the surface optical modal weighting coefficient It can effectively separate non-periodic, transient swallowing signals from regular respiratory background signals, fundamentally overcoming the false triggering and missed triggering problems caused by single-modal monitoring.

[0090] Second, achieve zero additional radiation exposure during the period of disordered swallowing displacement.

[0091] During the swallowing process (approximately 1.5 to 2.5 seconds), the target area is in a state of high transient and chaotic displacement. Beam output during this time can lead to target miss and accidental irradiation of organs at risk. This invention sends a beam interruption command to the accelerator very shortly after swallowing and forcibly maintains the beam interruption state for a prolonged period. This ensures that the patient does not receive any additional radiation throughout the swallowing process, maximizing the protection of surrounding organs at risk.

[0092] Third, it enables accurate detection and correction of target area baseline drift after swallowing.

[0093] Existing technologies are based on the periodic assumption of respiratory movements, assuming that the target area automatically returns to its original position after the movement ends. This fails to address irreversible baseline drift caused by muscle tension and changes in tissue elasticity after swallowing. This invention, at the verification moment after swallowing, uses an image acquisition device to capture instantaneous verification images of the target area. With reference images of the plan Registration was performed, and the three-dimensional displacement error of the geometric center of the target area was quantitatively calculated. It can accurately identify whether irregular baseline drift occurs in the target area, overcoming the shortcomings of traditional prediction models that cannot verify the actual position of the target area in non-periodic events.

[0094] Fourth, a complete closed-loop system for radiotherapy safety gating has been established, consisting of "monitoring-triggering-interruption-waiting-verification-recovery / correction".

[0095] Existing technologies mostly employ an open-loop model of "continuous tracking + dynamic adjustment," lacking mechanisms for immediate interruption and post-event verification in response to transient events. This invention establishes a complete closed-loop decision-making logic: upon triggering swallowing, the beam is automatically interrupted and the process waits for the swallowing to subside; subsequently, the target area location is verified through image registration, based on… Compared with the preset allowable threshold The comparison results are used to make automatic decisions. If the beam return is successful, the beam is resumed; if baseline drift occurs, the interruption is maintained and a displacement compensation vector for the treatment bed is generated. This closed-loop mechanism fills the technical gap in the field of radiotherapy gating for non-periodic sudden actions such as swallowing, and greatly improves the clinical safety and target dose delivery accuracy of radiotherapy.

[0096] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the present invention. Various changes and modifications can be made to the present invention without departing from its spirit and scope. All such changes and modifications fall within the scope of the present invention as claimed, which is defined by the appended claims and their equivalents.

Claims

1. A beam control method for radiotherapy equipment, characterized in that, include: Step S1: Real-time acquisition of ultrasound signal sequences characterizing the movement of internal tissues in the patient. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; Step S2: Based on the ultrasound signal sequence Extracting characteristic displacements of internal tissues According to the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; Step S3: When one of the following conditions is met, swallowing is initiated, and the trigger time is recorded. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; Step S4: at the triggering time After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Step S5: From the triggering time The duration of the beam interruption state is maintained. During the delay period It is forbidden to send beam activation commands to the accelerator from within; Step S6: At the verification time The image acquisition equipment acquires instantaneous verification images of the target area. The instantaneous verification image Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; Step S7: Assess the three-dimensional displacement error Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

2. The beam control method according to claim 1, characterized in that, In step S2, the designated area on the body surface is the neck region, and the undulation amount is the displacement of the neck region's body surface in the Z-axis direction.

3. The beam control method according to claim 1, characterized in that, In step S4 .

4. The beam control method according to claim 1, characterized in that, In step S5, the delay duration For a fixed duration, or by the characteristic displacement of the ultrasonic signal The determination of internal tissue muscle relaxation and repositioning is dynamically determined.

5. The beam control method according to claim 1, characterized in that, The registration in step S5 employs a mutual information registration algorithm, which finds the optimal spatial transformation matrix to enable instantaneous verification of the image. Reference images for the plan Minimize the image similarity cost function between them; ; in: It is a spatial transformation matrix; This is the image similarity cost function.

6. The beam control method according to claim 5, characterized in that, The optimal space transformation matrix Decompose into translation vectors The three-dimensional Euclidean distance is calculated based on the three-dimensional translation vector to obtain the three-dimensional displacement error. The calculation formula is: 。 7. The beam control method according to claim 6, characterized in that, In step S7, the generated displacement compensation vector is a three-dimensional translation compensation vector. .

8. A beam control device for radiotherapy equipment, characterized in that, include: The data acquisition module is used to acquire ultrasound signal sequences that characterize the movement of internal tissues in the patient in real time. and the optical point cloud coordinate sequence of the patient's body surface contour movement ; The swallowing probability calculation module is used to calculate the swallowing probability based on the ultrasound signal sequence. Extracting characteristic displacements of internal tissues According to the optical point cloud coordinate sequence of the body surface Extract the undulation of a specified area on the body surface The swallowing probability function is calculated according to the following formula. : ; in: and This is the normalized feature extraction function; For ultrasonic modal weighting coefficients, For the body surface optical modal weighting coefficients, and ; The swallowing trigger module is used to determine the initiation of swallowing and record the trigger time when one of the following conditions is met. ; ; in: Preset swallowing threshold; Characteristic displacement Regarding time The first derivative; To preset the ultrasonic displacement change velocity threshold; The beam interruption control module is used at the trigger time. After Within a given timeframe, a beam interruption command is sent to the accelerator, causing the accelerator to stop outputting the beam. Delayed waiting control module, used from the trigger time The duration of the beam interruption state is maintained. During the delay period It is forbidden to send beam activation commands to the accelerator from within; The image verification module is used for verification at the time of verification. The image acquisition equipment acquires instantaneous verification images of the target area. The instantaneous verification image Reference images for the plan Perform registration and calculate the three-dimensional displacement error of the geometric center of the target area after registration, which deviates from the original baseline position. ; in: ; The decision recovery module is used to analyze three-dimensional displacement errors. Make a judgment; when At that time, a beam activation command is sent to the accelerator; Otherwise, maintain the beam interruption state and generate the displacement compensation vector of the treatment bed; in: This is a preset allowable threshold.

9. A computing device, characterized in that, include: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs include instructions for a beam control method for a radiotherapy device according to any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores one or more computer-readable programs, the programs including instructions adapted to be loaded by memory and execute the beam control method of the radiotherapy device according to any one of claims 1-7.