Shaanxi natural gas unit has established an air ground linkage line patrol system for Huimingjie UAV. The line patrol workers use the high-definition zoom camera PTZ and infrared camera PTZ carried by the UAV to patrol the pipeline in the air. The UAV ground control station transmits the image and data information of the front patrol site to the monitoring and command centers at all levels of energy in real time. The leaders of the command center arrange special personnel to deal with the suspicious problem targets according to the transmission images, The maintenance workers can drive the patrol vehicle and carry the individual soldier system to the site to carry out fine survey and maintenance. Compared with traditional manual line patrol, Huimingjie UAV can be used by energy units to detect potential safety hazards in time and reduce the probability of major accidents; It can locate and characterize pipeline emergencies in time, shorten accident handling time, and avoid environmental pollution disasters.