The invention provides an index mode based on change trends of time sequences (determined time sequences and undetermined time sequences) and first-order
connectivity indexes, and the index mode has great significance to
time sequence prediction, classification,
data mining, knowledge discovery and the like. The index mode solves the problems of high
data redundancy or low match accuracy and low index efficiency caused by the
time sequence space indexes, precise query,
similarity query, clustering and classification of the time sequences can be finished effectively through the index, and the
time complexity and space complexity of sequence query, clustering and classification are lowered greatly. According to the index mode, firstly interval segmentation is conducted on the time sequences and time dimensions, short trend symbol sequences are generated in a mapping mode according to the change trends of the time sequences in all sections, then the first-order
connectivity indexes of the section rising trend, section descending trend, section wave-crest trend, section wave-trough trend and section gentle trend are calculated for the symbol sequences, and finally a B-Tree index of a
time sequence database is built by the adoption of the one-order indexes of the five trends.