In recent years, time series data mining has already been an important branch of data mining. In this paper, an improved sequential pattern mining algorithm PBGC ( Sequential Pattern mining algorithm Based on General Constraint) is presented, in which seismic knowledge is used as general constraint to restrict the sequential patterns, and eventually enhances the suitability and the value of the result. Its application is to discover general earthquake sequence from earthquake catalogue data and to study the similarity of earthquake sequence.