The invention discloses a food production
traceability management system based on a block chain, which belongs to the field of
food management systems, and is characterized in that a
unique identifier ID of an inheritor is generated based on an SHA-256 Hash
algorithm, a
Merkle tree root Hash value of food production data is dynamically associated, a non-tampering
digital identity file is constructed, a data island of traditional decentralized management is broken through, and the
traceability of food production is improved. According to the technical scheme, full-chain credible association between the non-abandoned technology and the production process is ensured, validity of an
electronic signature is automatically verified by means of an intelligent contract, data tampering or identity failure risks are recognized in real time by comparing a public key decryption result with a signature hash value,
JSON format alarms are pushed by means of Apache Kafka message
middleware, cross-department collaborative response is achieved, and the security and reliability of the
electronic signature are improved. The
risk prevention and control efficiency is remarkably improved,
encryption signature is performed in combination with an ECDSA key pair of a
hardware security module,
strong binding of an inheritor identifier, a production batch and equipment is ensured, identity fraudulent use or qualification counterfeiting is prevented, and
traceability of the whole life cycle of non-abandoned skill inheritance is achieved.