Integer ambiguity calculation which is the most crucial part for RTK realization is deeply analyzed and discussed in this paper. A novel RTK algorithm is presented based on the above key technique. The results show that the proposed method can obtain the positioning accuracy of RTK up to a millimeter level for data format in GPS and GLONASS.