The invention relates to the technical field of mobile terminal
software updating, and provides an off-line H5 non-inductive updating method based on atomization version switching, which comprises the following steps: packaging and compressing H5 resources, calling a
system interface to obtain an application writable sandbox path, and comparing version numbers in the application writable sandbox path and a
server; creating a target version isolation catalogue and a temporary catalogue, writing the
temporary file into a sandbox catalogue in an atomic in-place manner in a blocking manner, traversing the catalogue to confirm an entry file, constructing a
symbolic link to point to a new target version isolation catalogue, and replacing an original
symbolic link; establishing an off-line
resource management structure under an application sandbox path, judging updating according to a
network strategy and a gray rule, and evaluating a
system abnormal index after updating; the invention further provides an off-line H5 non-inductive updating
system based on atomization version switching. The off-line H5 non-inductive updating system comprises a resource presetting module, a sandbox management module, a non-inductive updating engine, a protocol
adaptation layer and a safety
verification module.