The invention relates to the technical field of equipment
firmware updating, in particular to an AIoT equipment updating method and
system.The AIoT equipment updating method comprises the following steps that the
process state verification memory address overlapping rate is collected to generate a to-be-updated block, the to-be-updated block is extracted, network parameters are normalized,
cosine similarity is calculated, and an updating mark is generated; generating a replacement or skipping instruction by combining the block and the mark comparison version hash, writing incremental data, judging the number of failures through a Q-Learning model, counting the number of failures, analyzing the global state, and executing
recovery or version updating. According to the method, the upgrading interruption risk is reduced by dynamically recognizing the
memory address conflict overlapping region, the network bandwidth, the
packet loss rate and the storage
delay parameter are evaluated to avoid low-efficiency updating, the version compatibility is accurately judged through Hash comparison to prevent
system crash, the load prediction
failure risk is analyzed in combination with Q-Learning, and the updating robustness is enhanced. And a multi-level fault-tolerant mechanism is established to maintain basic functions of the equipment by counting the number of failures, and stability and efficiency are improved by cooperating with dynamic scheduling and
environmental perception.