The invention provides a method for quickly applying negative sequence mining patterns to customer purchasing behavior analysis. A fast algorithm named as f-NSP is proposed to efficiently mine the negative sequential patterns. According to the main idea of the algorithm, firstly, a positive sequential pattern is obtained through a positive sequential pattern mining algorithm, and as for all frequent positive sequences, an efficient bitmap storage structure is used for storing data sequences including the frequent positive sequences; secondly, negative candidates are generated through a method which is the same as e-NSP and is used for generating negative candidate sequences; finally, data bitmaps are subjected to and operation, or operation and xor operation by means of a formula, the support degree of the negative candidates is quickly calculated, the negative sequential pattern meeting the minimum support degree is mined, and a database does not need to be scanned again. Purchasing behaviors of customers are analyzed through screened sequential patterns so that a seller can predict subsequent commodity buying and selling conditions according to current commodity buying and selling conditions; as a result, the seller can arrange placement of commodities better, and the sale quantity of the commodities can be increased.