The invention relates to an indoor and outdoor
navigation system comprising an outdoor navigation positioning module, an indoor navigation positioning module, a communication module, and a
server. The outdoor navigation positioning module carries out
satellite navigation positioning; when
satellite positioning signals equal to or more than a preset number are received, a
satellite track and a
clock difference
correction number are obtained in real time by a gap type RTPPP and are processed to obtain navigation positioning data; and when positioning signals smaller than the preset number are received, the positioning data are transmitted to the indoor navigation positioning module. The indoor navigation positioning module collects rotating angle data of a
pedestrian, acceleration data, air
pressure data, and geomagnetic data, processes the data to obtain preliminary navigation positioning data, transmits the data to the
server, and corrects the preliminary navigation positioning data to obtain final navigation positioning data. The communication module establishes a
transmission channel between the indoor navigation positioning module and the
server. The server carries out comparison and correction on the data and data stored in advance and stores the corrected data. Compared with the prior art, the
system and method have the following beneficial effects: the positioning cost can be reduced; the indoor and outdoor positioning precision can be improved; and the application range can be extended.