An numerical model of determining temperature field of crude oil pipeline is established. Based on the model, a simulation software is programmed. The idea that the temperature field of crude oil pipeline is influenced by thermol history is claimed out.