Distributed optical fiber sensor can acquire the information of physical field along time and spatial continuous distribution. It plays an important role in long-distance oil and electricity transmission and security. In this paper, the author introduced the universal steps in triggering pattern recognition, which includes signal characteristics extracting by accurate endpoint detecting, templates establishing by training, and pattern matching. By training the samples acquired in the laboratory, three templates are established. And pattern matching had been done between templates and all the samples. The results show that, 87.5 percent of the samples are matched correctly with the triggering patterns they are belonging to.