The invention provides an embedded device
firmware security upgrading method and
system, a terminal and a storage medium, and the embedded device
firmware security upgrading method comprises the steps: setting an
encryption algorithm library, and storing a plurality of
encryption algorithms in the
encryption algorithm library; randomly selecting an encryption
algorithm from the encryption algorithm
library as a primary encryption algorithm to perform primary encryption on an
upgrade file, and encoding and packaging the primary encryption file and the primary encryption algorithm into a
temporary file; randomly selecting an encryption algorithm from the encryption algorithm library as a secondary encryption algorithm to encrypt the
temporary file, and encoding and packaging the encrypted file and the secondary encryption algorithm into an encrypted
upgrade file; and sending the encrypted upgrading file to a terminal to which embedded equipment to be upgraded belongs, wherein the encrypted upgrading file is decrypted and decompressed by the terminal and then burnt to the embedded equipment to be upgraded. According to the embedded device
firmware security upgrading method and
system,the security of the firmware upgrading file can be improved, so that the security upgrading of the firmware of the embedded equipment is realized.