The invention discloses a
software distribution and updating method based on a block chain, and relates to the technical field of
software distribution, and the key point of the technical scheme comprises the following steps: obtaining
complete data of
software to be distributed and node identity
authentication information of a block
chain network; wherein the node identity
authentication information comprises a node permission level, a field to which the node belongs and a node credible rating;
processing the
complete data of the software to be distributed to obtain a software block hash value; obtaining a node synchronization deviation value of the distributed software based on the software synchronization
verification data of the distributed software in each authorized node; generating a software differentiation updating strategy of each authorized node according to the version abnormal coefficient and the node synchronization deviation value; node differentiation software updating is executed according to the software differentiation updating strategy, and updating
traceability information is generated after Hash calculation and chain
cascade are carried out in the software updating process, so that the effect of improving the safety and stability of a whole
software distribution and updating
system is achieved.