The invention discloses a
blockchain traceability catering supply chain risk early warning method and
system, and the method comprises the steps: deploying a multi-source sensor in a
cold chain transportation link, collecting the temperature,
humidity and vibration intensity data of food materials in real time, and carrying out the real-time binding with the GPS track of a transportation vehicle, and forming a space-time related transportation environment
data set; setting a dynamic threshold based on the type of the transported
food material, starting redundant sensor
cross validation when sensor data in the transportation environment
data set continuously exceeds the dynamic threshold for N times, and if the deviation between the validation data and the transportation environment
data set exceeds a preset tolerance, marking the transportation environment data set as an abnormal
data segment and triggering block chain evidence storage; and compressing the abnormal
data segment and the GPS track fragment associated with the abnormal
data segment into a data block, writing the data block into a lightweight alliance chain after the data block is subjected to double signature by a transportation party node and a receiving party node, and generating a
traceability code containing a
timestamp. According to the method, the supply chain risk disposal efficiency is improved through fusion of space-time gridding multi-
source data and risk multi-dimensional assessment.