The principle of the wide lane phase and narrow pseudo-range method and the traditional ionosphere residual method is analyzed in this paper. The larger cycle slip can be detected and repaired combining the wide lane phase and narrow pseudo-range method, but the same slips occurred on L1 carrier and L2 carrier can not be detected. While only separate less cycle slips which limits the application can be detected by the ionosphere residual method, so a comprehensive method is improved to detect and repair cycle slips. The simulation results show that the combined method can effectively deal with the cycle slips in the actual circumstance.