To solve the compatibility issue caused by power quality data interchange format (PQDIF) files generated by different monitoring devices in the power quality monitoring system
a consistency detection method for power quality data interchange files based on Tire-tree is proposed. According to the standards of IEEE P1159.3
a coding table
an attributive dictionary and a semantic dictionary on logical layer could be built. Map each node of PQDIF into a node of the Tire-tree by the coding table
thus the Tire-tree of PQDIF is built; Use the key of attributive dictionary and semantic dictionary to search and match in the Tire-tree. The time complexity in searching the Tire-tree is constant and associated only with the depth of the Tire-tree rather than the number of nodes in PQDIF file. So without decoding PQDIF file thoroughly
the scheme can quickly detect the consistency of PQDIF on the physical layer and logical layer. The versatility and reliability of the scheme is proved through its successful application in a provincial power system.