The invention discloses a dairy
product traceability method based on a block chain, and relates to the field of dairy products, the dairy
product traceability method based on the block chain comprises the following steps: S1, collecting dairy product production flow data, and dividing the data into a plurality of dairy
product data blocks for storage; s2, obtaining
traceability characteristic parameters, presetting a weight
database to carry out
weight distribution, and carrying out matching based on a
weight distribution result; s3, presetting a dynamic
traceability link generation mechanism according to the space-time
coupling self-organizing model, and generating a dairy
product traceability link; s4, presetting an adaptability threshold rule base, and performing adaptability evaluation; s5, optimizing and adjusting the dairy product
traceability link, and updating the adaptability threshold rule; and S6, tracing the dairy product, and generating a multi-level visual tracing result. According to the invention, the dairy product production process data is packaged into the data blocks and stored in the block chain
database, so that the integrity, traceability and tamper-proofing performance of the traceability data are guaranteed.