Traditional precision measurement adopts discrete artificial static observation, which cannot meet the demands of the dynamic, continuous, fine and high-precision holographic measurement of large-scale infrastructure construction and complex operation and maintenance management. Due to its advantages of fast, accurate and convenient measurement, mobile laser scanning technology is becoming a popular technology in the maintenance and measurement of infrastructure construction such as tunnels. However, in some environments without satellite signals, such as indoor areas and underground spaces, it is difficult to obtain 3D data by means of mobile measurement technology. This paper proposes a method to restore the linear of the point cloud obtained by mobile laser scanning based on the measured track center line. In this paper, the measured track position is interpolated with a cubic spline to calculate the translations, and the rotation parameters are calculated by combining the simulation design data. The point cloud of the cross-section of the tunnel under the local coordinate system is converted to the absolute coordinate system to calculate the tunnel line. In addition, the method is verified by experiments combined with the subway tunnel data, and the overall point error can be controlled to within 0.1 m. The average deviation in the horizontal direction is 0.0551 m, and that in the vertical direction is 0.0274 m. Compared with the previous methods, this method can effectively avoid the obvious deformation of the tunnel and the sharp increase in the error, and can process the tunnel point cloud data more accurately and quickly. It also provides better data support for subsequent tunnel analysis such as 3D display, completion survey, systematic hazard management and so on.