The invention discloses an automatic optimization method for an on-line self-adaption radiotherapy plan and a device. The method comprises the following steps: by reading an original radiotherapy plan and the information, such as acquired present
gradation guide image and sketching target section, calculating a
beam direction view of each frame angle, thereby acquiring the optimized newly generated sub-view and corresponding
dose distribution,
machine hop count and the like; finishing the on-line self-adaption automatic optimization of the radiotherapy plan; and meanwhile, performing secondary check on the
dose distribution of the automatic radiotherapy plan through the calculation and assessment for a three-dimensional gamma index value; if failing to pass, performing normalization operation and updating the
machine hop count of the new sub-view, thereby finishing the quality ensuring work. Furthermore, through the radiotherapy plan parameter transmission process check, the possibly present problem in a parameter transmitting and writing executing
system is effectively avoided, and the
safety monitoring is performed through real-time dosage detection during a plan executing process. The on-line self-adaption optimization of the radiotherapy plan, the quality ensuring and the full
automation of parameter transmission check and real-time dosage detection are realized.