The application discloses a one-key automatic signature method and
system based on a CPE program small file, relates to the field of CPE programs, and comprises the following steps: receiving signature parameters input by a user through a graphical interface, including a signature
branch, a key
list, a storage capacity and a to-be-signed module path; dynamically matching the key
list according to the signature
branch, and converting the parameters into digital identifiers recognizable by a
server end; after the to-be-signed file is standardizedly renamed, uploading the file to a Linux
server through an SCP protocol, and calling a
server signature interface to execute signature; after the signature succeeds, the
system renames the file and automatically downloads the file to a local specified path. The
system is composed of a parameter input module, a
dynamic display module, a file
processing module, a signature execution module and a security
verification module, realizes the
automation of small file signature, cross-platform compatibility and safe transmission, significantly simplifies the cumbersome process of small file burning and signature of CPE equipment, and improves signature efficiency and security.