The invention belongs to the field of
computer software and
system maintenance, and particularly discloses a
software state management and upgrading method and
system supporting multi-mode deployment, and the method comprises the steps: collecting a service operation state and
resource use data of
software, carrying out the comprehensive research and judgment of the service operation state, storing the service operation state, and carrying out the service restart based on a research and judgment result; receiving the
software package, calculating a check code of the
software package, and storing and recording the
information data of the
software package, the check code and the storage path in a
database based on a preset path; a software upgrading instruction sent by a front end is received, the storage path of the target
software package and the stored check code are obtained from the
database, and the integrity of the target software
package is checked; and deploying the target software
package to a specified path, recording upgrading information, and closing the old version service to start the new version service. The operation and maintenance efficiency and safety of software management can be improved.