The invention relates to a processing method of a numerical control machine, in particular to a method of the numerical control machine utilizing a subprogram to realize the modularization processing. The method comprises the steps as follows: firstly, processing environment and program of each processing procedure are solidified and built in a database; when parts are processed, different subprograms are transferred to optimize and combine a complete processing procedure through the display of a menu, required graphs are moved to the appointed position through the deviation function, the required graphs are validated through the drawing function of programming software, thereby the quality of the object is ensured; according to the shape of a workpiece, the processing size, the thickness and the material of the panel, and the allocation information of the cutter, the same 0 point is adopted to be used as a programming origin, a new program is built, the required subprograms are deviated to the processing position and are verified through graph software, and a first workpiece is processed and goes into mass production after being mutually detected. The invention has simple programming, high precision, flexible operation and combination and allocation of modules, and can create products with different demands so as to meet the customized requirements of customers.