This invention involves a data conformity method in the peer-to-peer network, which includes the following steps: Firstly, it establishes P2P network and determines the clustering structure. Secondly, it determines each role of the ascertaining maintaining device, indexer, security inspection and data hub. Thirdly, it sends requirement from the maintaining device. Fourthly, it analyzes the data form the ordinary node, completes interface parameter table and dictionary table, and stores it in the data hub node. Fifthly, it revises interface parameters table and dictionary table artificially. Sixthly, it starts system operation. Seventhly, it imports the data into database by the import components of data hub for use. Based on P2P system, the invention solves data alternation of heterogeneous logic structure system, some difficult problems in automatic import, export and data integration, and can be applied to electronic government affairs, electronic commerce and decision system for reducing development costs and enhancing system functions.