The application discloses a smart
steel bar processing whole-process tracing method and device based on
blockchain storage, relates to the technical field of
blockchain storage, and comprises the following steps: identifying a
steel bar image of a target
steel bar, determining rolling lines of the target steel bar, generating a steel bar
fingerprint according to the rolling lines, generating a unique steel bar identification according to the steel bar
fingerprint, collecting
processing information of each
processing equipment in a steel bar processing whole process, binding the processing information and the unique steel bar identification, generating a steel bar processing
record, performing hash operation and
digital signature on the steel bar processing
record, obtaining storage data blocks, uploading the storage data blocks to a
blockchain network, obtaining a tracing result corresponding to a
storage record in the blockchain network based on the
storage record, and the
storage record is feedback information after the storage data blocks are successfully uploaded to the blockchain network. Through the above method, the problem that the steel bar processing whole-
process information cannot be accurately ensured on the blockchain is solved.