The invention discloses a logistics block chain data storage method and
system. The method comprises the following steps: (1) data collection; (2) data
encryption; (3) block construction; (4) a
consensus mechanism; (5) data storage; and (6)
data access and query. According to the method, a data index and retrieval mechanism and a query
algorithm and logic are optimized, and an efficient query interface is provided, so that the
data access efficiency and speed can be remarkably improved. According to the technical scheme, a user can obtain needed data more quickly, the response speed and efficiency of the whole
service process are improved, measures such as data
encryption,
access control and identity
verification are enhanced, and the safety of the data in the storage, transmission and access processes can be ensured; therefore, data leakage, tampering and unauthorized access can be prevented, benefits of enterprises and users are protected, occupation of storage space can be reduced through technical means of
data compression, duplicate removal, redundancy
elimination and the like, and storage cost is reduced.