Aiming at the problem of low accuracy and insufficient stability of frequency of Master clock terminal of Whole-view Test System, the paper presents a simple and effective method to Correct frequency of OCXO (oven controlled crystal oscillator). The method bases on the principle of establishing time system within FPGA(Field Programmable Gata Array). Measure the periodic deviation between OCXO and GPS through TDC (Time to Digital Converter) .Modify the value of period within FPGA, reaching the purpose of frequency correction. To reduce the impact of GPS signal jitter, using the moving average filter algorithm to tame OCXO quickly. Through simulation and experimental trials the clock frequency accuracy is higher than the average 5×10-10, and the time accuracy is better than 1.8μ/h, after OCXO was tamed.