CN104240167B - A kind of method of the dynamic control radiotherapy planning system based on external program - Google Patents

A kind of method of the dynamic control radiotherapy planning system based on external program Download PDF

Info

Publication number
CN104240167B
CN104240167B CN201410454719.2A CN201410454719A CN104240167B CN 104240167 B CN104240167 B CN 104240167B CN 201410454719 A CN201410454719 A CN 201410454719A CN 104240167 B CN104240167 B CN 104240167B
Authority
CN
China
Prior art keywords
planning system
script
radiotherapy planning
external
tps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410454719.2A
Other languages
Chinese (zh)
Other versions
CN104240167A (en
Inventor
周寅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU KELESI MEDICAL TECHNOLOGY CO., LTD.
The east of a river, Ningbo Sheng Chuan Design of Industrial Product Co., Ltd
Original Assignee
SUZHOU KELESI MEDICAL TECHNOLOGY Co Ltd
East Of A River Ningbo Sheng Chuan Design Of Industrial Product Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU KELESI MEDICAL TECHNOLOGY Co Ltd, East Of A River Ningbo Sheng Chuan Design Of Industrial Product Co Ltd filed Critical SUZHOU KELESI MEDICAL TECHNOLOGY Co Ltd
Priority to CN201410454719.2A priority Critical patent/CN104240167B/en
Publication of CN104240167A publication Critical patent/CN104240167A/en
Application granted granted Critical
Publication of CN104240167B publication Critical patent/CN104240167B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Radiation-Therapy Devices (AREA)

Abstract

The invention discloses a kind of method of the dynamic control radiotherapy planning system based on external program, boot script is started by radiotherapy planning system, gather the case information and calculating platform configuration information in radiotherapy planning system, it is saved in an external state database, an external piloting control processing procedure sequence is run by boot script again, the external piloting control processing procedure sequence reads the information of external state database, produce a main script, by the main script of boot script order radiotherapy planning system operation, the script segment of one or more operation external service program in main script is run one by one, draw dynamic TPS scripts and the last state of radiotherapy planning system is saved in external state database.This method has more fully carried out macroscopical flow layout by introducing outside main program, configurability, scalability and the accuracy configured, the flexibility of radiotherapy planning system is improved, so as to improve the automaticity of radiotherapy planning system.

Description

A kind of method of the dynamic control radiotherapy planning system based on external program
Technical field
The present invention relates to medicine equipment control technology field, a kind of especially method of dynamic control radiotherapy planning system, The method of specifically a kind of dynamic control radiotherapy planning system based on external program.
Background technology
Radiotherapy treatment planning system (Treatment Planning System, TPS) is radiotherapy department physics teacher or agent Amount teacher is used for designing the technology platform and important medicine equipment of radiotherapy planning.Physics teacher or dosage teacher are by the 3-dimensional image of patient Input TPS with doctor's dose prescription, then rule of thumb drawing target outline, vitals and accessory organ, place optimal launched field, The optimization for set various optimization aims, finally being planned is calculated, and calculates most suitable beam distribution and intensity, so that To radiotherapy planning.If result of calculation can not meet prescription requirements, operating personnel will further adjust various parameters and continue to optimize, Untill obtaining satisfactory result.
General TPS optimisation technique uses the unconfinement type optimisation technique based on multiple target in the world at present.Should Technology uses modern optimization algorithm, such as CG (Conjugate Gradient) algorithms or genetic algorithm, by minimizing one The cost function of a variety of clinical targets vied each other and constraints is combined according to different weights strong to search optimal tune Radiotherapy treatment planning.This unconfinement type optimization problem based on multiple target can be expressed by below equation:
Wherein,For the parameter sets of above-mentioned optimization problem, it Represent the weight of various dosage distribution limitation and each optimization aim;WithRespectively planned target number and Vitals number,For the intensity distribution of beam,It is distributed for optimal ray beam intensity.Due to only one of which into This function, the algorithm has the more quick advantage of calculating speed compared with traditional restricted type optimisation technique.If with tumour The clinical experience of radiation technician is combined, and the algorithm can produce feasible treatment plan.At present, the tune based on the technology is radiated by force Treatment planning systems software TPS, such as Philips companies Pinnacle systems and the Eclipse systems of Varian companies, It is widely applied through tumour hospital at home and abroad.Wherein, although Pinnacle systems have the function that partially restrained optimizes, But the function is because operational efficiency is too low and is rarely used.
Although the radiotherapy planning system (TPS) of the unconfinement type optimisation technique based on multiple target is achieved in clinical practice Very ten-strike, but progressively going deep into application, it encounters very big challenge in scalability and configurability.From operation On see, current TPS is automanual.Radiotherapy department physics teacher or dosage teacher are needed on this system by hand by the three of patient Image and doctor's dose prescription input TPS are tieed up, then rule of thumb drawing target outline, vitals and accessory organ, placement are optimal Launched field, the optimization for setting various optimization aims, finally being planned are calculated.If result of calculation can not meet prescription requirements, behaviour Various parameters continuation optimization will further be adjusted by making personnel, untill obtaining satisfactory result.The physics teacher of each hospital has not Same plan design experiences, and have the demand of different degrees of automation manual steps.In order to meet the physics of Different hospital Teacher automates the demand of respective design experiences step, and the TPS such as Pinnacle and Eclipse systems are provided can be out of system The inside script system that portion's command system is operated automatically.But the grammer of these internal script systems is excessively simple, substantially Authoritatively, Row control, object-oriented and programming mode that few modern high-level programming languages are possessed etc. is flexibly and smart Accurate control device.This causes TPS to be had too many difficulties to cope with terms of flexibility, accuracy and the automaticity for extending and configuring.
The content of the invention
The technical problems to be solved by the invention are that in view of the above-mentioned state of the art, and it is strong to provide computing capability, control Accuracy processed is good, efficiency high, a kind of method of the high dynamic control radiotherapy planning system based on external program of automaticity.
The technical scheme that present invention solution above-mentioned technical problem is used is put for a kind of dynamic control based on external program The method for treating planning system, comprises the following steps:
Step one:Radiotherapy planning system starts the case information in boot script, collection radiotherapy planning system and calculates flat Platform configuration information, is saved in an external state database;
Step 2:Boot script runs an external piloting control processing procedure sequence;
Step 3:External piloting control processing procedure sequence (reads the information of external state database, produces a main script;
Step 4:The main script of boot script order radiotherapy planning system operation;
Step 5:The script segment of one or more operation external service program in main script is run one by one, is drawn The last state of radiotherapy planning system is simultaneously saved in external state database by dynamic TPS scripts.
The measure taken also includes:
Above-mentioned step five comprises the following steps:
1), during each run script segment, external service program all can be from user's required parameter and external status Data are read in database;
2), the radiotherapy meter according to needed for user's required parameter and radiotherapy planning system mode dynamic calculation complete user's request Draw system script;
3) result of calculation, is generated into dynamic TPS script files and main script is submitted to;
4), main script performs dynamic TPS scripts in radiotherapy planning internal system;
5), the last state of radiotherapy planning system is saved in external state database by dynamic TPS scripts.
Above-mentioned radiotherapy planning system is at least one of Pinnacle, Eclipse, RayStation and XiO.
Above-mentioned external piloting control processing procedure sequence is with the radiotherapy planning system operation on same computing device.
Above-mentioned external service program is a journey with the radiotherapy planning system operation on same computing device Sequence, or the distributed program from the radiotherapy planning system operation on different computing devices.
Above-mentioned external state database includes file system, memory database, relational database, nosql and new sql At least one of database.
Compared with prior art, a kind of method of the dynamic control radiotherapy planning system based on external program of the present invention makes up The defect that the inside script of existing radiotherapy treatment planning system is not enough in terms of computing capability, this method, which passes through, introduces outside main Program has more fully carried out macroscopical flow layout;By introducing external service program, and it is carried out with radiotherapy planning system Information exchange and it is outside calculate, be constantly dynamically precisely controlled the carrying out practically details of radiotherapy planning system.Due to outside journey Sequence can be write using any high-level programming language, and its flexibility in terms of structure design, Row control is greatly enhanced The configurability of radiotherapy planning system, the accuracy of scalability and configuration, flexibility, so as to improve radiotherapy planning The automaticity of system.
Further, since external service program therein can also be operated on other computing devices in a distributed manner, this side Method also has good guarantee in efficiency.
Brief description of the drawings
Fig. 1 is the deployment architecture figure in the embodiment of the present invention;
Fig. 2 is the logical flow chart in the embodiment of the present invention;
Fig. 3 is to implement dynamic control in the embodiment of the present invention in step 5 to obtain logical flow chart.
Embodiment
Embodiments of the invention are described in further detail below in conjunction with accompanying drawing.
Reference is:Radiotherapy planning system 101, boot script 102, main script 103, script segment 104, dynamic TPS Script 105, external piloting control processing procedure sequence 106, external service program 107, external state database 108.
A kind of method of the dynamic control radiotherapy planning system based on external program, comprises the following steps:
Step one:Radiotherapy planning system 101 (TPS) starts boot script 102 (bootstrap script), gathers radiotherapy Case information and calculating platform configuration information in planning system 101, are saved in (a session of external state database 108 Store in);
Step 2:Boot script 102 runs an external piloting control processing procedure sequence 106 (master program);
Step 3:External piloting control processing procedure sequence 106 reads the information of external state database 108, produces a main script 103 (master script);
Step 4:The order radiotherapy planning system 101 of boot script 102 runs main script 103;
Step 5:One or more operation external service program 107 (server in main script 103 is run one by one Program script segment 104), draws dynamic TPS scripts 105 and is saved in the last state of radiotherapy planning system 101 outer Portion's slip condition database 108.
In embodiment, step 5 comprises the following steps:
1), during each run script segment 104, external service program 107 all can be from user's required parameter (request) data and in external state database 108 are read;
2), putting according to needed for user's required parameter and the state dynamic calculation of radiotherapy planning system 101 complete user's request Treat planning system script;
3) result of calculation, is generated into the file of dynamic TPS scripts 105 and main script 103 is submitted to;
4), main script 103 performs dynamic TPS scripts 105 inside radiotherapy planning system 101;
5), the last state of radiotherapy planning system 101 is saved in external state database 108 by dynamic TPS scripts 105.
In embodiment, radiotherapy planning system 101 is at least one in Pinnacle, Eclipse, RayStation and XiO Kind.
In embodiment, external piloting control processing procedure sequence 106 operates in same computing device with the radiotherapy planning system 101 On.
In embodiment, external service program 107 is to be operated in the radiotherapy planning system 101 on same computing device A program, or the distributed program operated in from the radiotherapy planning system 101 on different computing devices.
In embodiment, external state database 108 include file system, memory database, relational database, nosql and At least one of new sql databases.
Fig. 1 is the deployment architecture figure in the embodiment of the present invention.The boot script of static state is loaded with radiotherapy planning system 101 102, the script that the dynamic of operation is produced is had main script 103 and dynamic TPS scripts 105 by it.External piloting control processing procedure sequence 106 is disposed And the machine operated in as TPS, the machine or long-range meter that external service program 107 is disposed and operated in as TPS Calculate on device.External piloting control processing procedure sequence 106 is called by boot script 102, by being produced after being interacted with external state database 108 Main script 103;One or more script segment 104 that external service program 107 is included by main script 103 is constantly called, and is led to Cross after being interacted with external state database 108, produce dynamic TPS scripts 105, and transfer to radiotherapy planning system 101 to perform.
Fig. 2 is logical flow chart in the embodiment of the present invention.TPS starts boot script step 201 can be by clicking on TPS figures Implemented at shape interface.Boot script is run an external piloting control program step 202 and realized by TPS scripts.Outside is main Control program reads the information of external state database and produces a main script step 203 can be with any senior volume Cheng Yuyan (C++, Java, Python etc.) is realized.It is real by TPS scripts that boot script order TPS runs main script step 204 It is existing.TPS runs the script segment step 205 of one or more operation external service program in main script by TPS pin one by one This language is realized.
Fig. 3 is the logical flow chart for implementing dynamic control in the embodiment of the present invention in step 5.External service program all can Data step 301 is read from user's required parameter and external state database to be called by high-level programming language by system Realize.TPS scripts step 302 according to needed for user's required parameter and TPS states dynamic calculation complete user's request can be by High-level programming language is realized.Generating dynamic TPS script files and submit to main script step 303 result of calculation can be compiled by senior Cheng Yuyan and file I/O are realized.Main script performs dynamic TPS scripts step 304 inside TPS can be real by TPS scripts It is existing.TPS last state is saved in into external state database step 305 to be realized by TPS scripts.
Highly preferred embodiment of the present invention has been illustrated, and the various change or remodeling made by those of ordinary skill in the art are not It can depart from the scope of the present invention.

Claims (1)

1. a kind of method of the dynamic control radiotherapy planning system based on external program, it is characterized in that:Comprise the following steps:
Step one:Radiotherapy planning system (101) starts the case letter in boot script (102), collection radiotherapy planning system (101) Breath and calculating platform configuration information, are saved in an external state database (108);
Step 2:Described boot script (102) runs an external piloting control processing procedure sequence (106);
Step 3:Described external piloting control processing procedure sequence (106) reads the information of external state database (108), produces a master Script (103);
Step 4:Described boot script (102) order radiotherapy planning system (101) runs main script (103);
Step 5:The script segment (104) of multiple operation external service programs (107) in main script (103) is run one by one, is obtained Go out dynamic TPS scripts (105) and the last state of radiotherapy planning system (101) is saved in external state database (108);
Described step five comprises the following steps:
1), during each run script segment (104), described external service program (107) can all ask to join from user Data are read in number and external state database (108);
2), the radiotherapy according to needed for user's required parameter and radiotherapy planning system (101) state dynamic calculation complete user's request Planning system script;
3) result of calculation, is generated into dynamic TPS scripts (105) file and main script (103) is submitted to;
4), described main script (103) performs dynamic TPS scripts (105) inside radiotherapy planning system (101);
5), the last state of radiotherapy planning system (101) is saved in external status data by described dynamic TPS scripts (105) Storehouse (108);
Described radiotherapy planning system (101) is at least one of Eclipse, RayStation and XiO;
Described external piloting control processing procedure sequence (106) is operated on same computing device with the radiotherapy planning system (101);
Described external service program (107) is to be operated in the radiotherapy planning system (101) on same computing device One program, or the distributed program operated in from the radiotherapy planning system (101) on different computing devices;
Described external state database (108) includes file system, memory database, relational database, nosql and new At least one of sql databases.
CN201410454719.2A 2014-09-09 2014-09-09 A kind of method of the dynamic control radiotherapy planning system based on external program Expired - Fee Related CN104240167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410454719.2A CN104240167B (en) 2014-09-09 2014-09-09 A kind of method of the dynamic control radiotherapy planning system based on external program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410454719.2A CN104240167B (en) 2014-09-09 2014-09-09 A kind of method of the dynamic control radiotherapy planning system based on external program

Publications (2)

Publication Number Publication Date
CN104240167A CN104240167A (en) 2014-12-24
CN104240167B true CN104240167B (en) 2017-09-12

Family

ID=52228179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410454719.2A Expired - Fee Related CN104240167B (en) 2014-09-09 2014-09-09 A kind of method of the dynamic control radiotherapy planning system based on external program

Country Status (1)

Country Link
CN (1) CN104240167B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
CN101523348A (en) * 2006-10-02 2009-09-02 特兰斯蒂有限公司 Method and apparatus for handling dynamically linked function calls with respect to program code conversion
CN102750177A (en) * 2012-06-19 2012-10-24 武汉凌控自动化技术有限公司 Script realization method using compiler
CN202931390U (en) * 2012-11-29 2013-05-08 上海理工大学 Household internet of things monitoring system based on built-in Linux

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523348A (en) * 2006-10-02 2009-09-02 特兰斯蒂有限公司 Method and apparatus for handling dynamically linked function calls with respect to program code conversion
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
CN102750177A (en) * 2012-06-19 2012-10-24 武汉凌控自动化技术有限公司 Script realization method using compiler
CN202931390U (en) * 2012-11-29 2013-05-08 上海理工大学 Household internet of things monitoring system based on built-in Linux

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Automated radiotherapy treatment plan integrity verification;Deshan Yang等;《Medical Physics》;20120228;第1542-1551页 *

Also Published As

Publication number Publication date
CN104240167A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US11710241B2 (en) Atlas-based segmentation using deep-learning
US11097128B2 (en) Radiotherapy treatment plans using differentiable dose functions
RU2684173C2 (en) System and method for automatic treatment planning
US10507337B2 (en) Radiotherapy treatment plan optimization workflow
EP3695882A1 (en) Computing radiotherapy dose distribution
WO2019185378A1 (en) Decision support tool for adaptive radiotherapy in ct/linac console
US11358003B2 (en) Generation of realizable radiotherapy plans
CN107708808A (en) For the system and method that use quality index carries out target tracking during radiotherapy
AU2018380026B2 (en) Radiation treatment planning or administration electron modeling
CN104815392B (en) A kind of interactive radiotherapy treatment planning system optimization system
CN102184330A (en) Image feature and smart regressive model-based method for optimizing intensity modulated radiotherapy plan
CN107715314A (en) Radiotherapy system and method based on deep learning
AU2020274863B2 (en) Dose guided real-time adaptive radiotherapy
US20200360728A1 (en) Machine learning based dose guided real-time adaptive radiotherapy
CN112037885B (en) Dose prediction method, device, computer equipment and storage medium in radiotherapy planning
CN113192554A (en) Dose optimization method and medium for radiation particle internal radiotherapy interventional operation robot
CN106139415A (en) The control method for movement of a kind of multi-diaphragm collimator movable support bracket and device
CN104240167B (en) A kind of method of the dynamic control radiotherapy planning system based on external program
CN107785068A (en) The data transmission method and interface platform for the treatment of planning systems and medical accelerator
Guedria et al. Auto-CNNp: a component-based framework for automating CNN parallelism
CN116612853B (en) Radiotherapy verification plan dose generation method, radiotherapy verification plan dose generation system, electronic equipment and storage medium
US20230158334A1 (en) A method of generating a radiotherapy treatment plan for a patient, a computer program product and a computer system
Wang et al. DoseNet: An Ensemble-Based Deep Learning Method for 3D Dose Prediction in IMRT
Deshpande Knowledge-Driven Decision Support for Assessing Radiation Therapy Dose Constraints
WO2023088897A1 (en) Machine-learning modeling to generate virtual bolus attributes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170801

Address after: 315040 Zhejiang province Jiangdong District of Ningbo City, Zhou Meng Lane 131 North Road, No. 9 (3-18)

Applicant after: The east of a river, Ningbo Sheng Chuan Design of Industrial Product Co., Ltd

Applicant after: SUZHOU KELESI MEDICAL TECHNOLOGY CO., LTD.

Address before: Suzhou City, Jiangsu Province, Suzhou Industrial Park 215123 Xinghu Street No. 328 Creative Industry Park 22-202

Applicant before: SUZHOU KELESI MEDICAL TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170912

Termination date: 20180909