To capture the fine structure of the flare kernel during it's explosive phase, we design a real time flare onset detecting algorithm named Near Saturation Area Threshold(NSAT), And an automatic CCD parameters control algorithm for the observing software. All the data from CCD, 48f/s, could be saved to the hard disk, and the GPS time of the flare onset also be saved in the log. These methods could avoid the data overflow and grab the fine structure data of the flare kernel. The simulation experiment works well and the software will be put into use in Huairou Solar Observatory soon.