The invention discloses a
software version upgrading management method based on Shell, comprising the following steps that: 1), a
file transfer protocol (FTP) service is offered on a version
server; 2), a file used for storing latest version information is arranged on a ftp
server through a management platform; 3), a terminal downloads the version file through a ftp protocol; 4), the terminal carries out comparison on a latest version number and a local version number file, if according with a local version, the latest version does not need upgrading; and if higher than the local version, the latest version is downloaded from a designated
route through the ftp protocol, executive
software is decompressed, and the upgrading operation is executed; 5), if updating is successful, the local version number is revised to be a version number subjected to upgrading; and if updating fails, the
rollback operation is executed; 6), an upgrading result is uploaded to the version
server; and 7), step one to step six are regularly executed through cron. The method can ensure the consistency of the
software version and completely realize the consistency through the mature ftp protocol and a
shell script, has the advantages of simpleness and stability, and is easy in maintenance.