The invention relates to the technical field of
software updating, in particular to an intelligent door lock overall online upgrading method and
system.The intelligent door lock overall online upgrading method comprises the following steps that
firmware and
chip codes are obtained to construct an upgrading
package and an abstract value, task increment difference is compared to allocate a
transmission bandwidth block, the upgrading
package is issued, and an attenuation
rate parameter is calculated based on the time migration rate and a write-in
delay difference value; adjusting the upper limit of packet sending interval and
retransmission times, decrypting and verifying
firmware, distributing decrypted data through an interface, writing the decrypted data into a non-running partition to verify integrity, and generating an
upgrade audit log. According to the method,
bandwidth optimization scheduling is allocated according to task increment difference, an attenuation rate is calculated by utilizing an offset rate and a
delay difference, a packet sending interval is flexibly adjusted to adapt to a real-time network,
data security is ensured by combining
algorithm decryption and abstract value
verification, target interface accurate distribution is identified based on codes, and
firmware is written into a non-running partition to realize non-inductive upgrading. The collaborative updating efficiency is improved by summarizing data to generate logs.