Font Size: a A A

Design And Implementation Of Intelligent Application Upgrade System Based On Python

Posted on:2017-05-08Degree:MasterType:Thesis
Country:ChinaCandidate:T Y ZhangFull Text:PDF
GTID:2308330488473508Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of modern information technology, the traditional manual operation has been unable to meet the rapid development of enterprises, which not only makes the repeated labor, but also a serious waste of corporate resources. In order to enhance the company’s efficiency, after analyzing the current status of the development of software upgrades and understand the significance of the subject, according to the company actual situation, design and develop a set of intelligent application upgrade system. The system realized automatic one-click installation and upgrade of the application software, it not only can avoid the mistakes that the artificial operation can make, but also is advantageous to the enterprise management and the later maintenance.The main contents of the thesis are as follows:Firstly, design system structure according to the application scenario. The whole system is divided into installed module and upgrade module. The two modules used the programming language of C++ and python. In upgrade module, it adopted C/S structure, and realizes the function of controlling remote machine and upgrading multiple devices at the same time, and supports to upgrade directly again after failure.Secondly, several aspects of the upgrade module are designed. Including the design of communication protocol, the inspection before upgrading, the automatic deployment before upgrading, the design about profile, the design of self-upgrading, the design of database, etc. Communication protocol designed the link information between Client and Server, the check before automatic deployment and self-upgrade ensure the rate of success about upgrade.Thirdly, take advantage of xerces C++ and zlib technology. Xerces C++ realized the parse a large number of XML, ensure the update of file after the upgrade; Zlib realized the decompression to upgrade package, which is a critical first step to update.Fourthly, the exception handling in the process of testing. There are analysis about the problem that environment variable in the testing process is invalid and the memory is leaked when C++ callback Python.The intelligent application upgrade system has been successfully applied in the company’s software maintenance. It has the features of good scalability and deployed easily. The system has made a good effect.
Keywords/Search Tags:Smart deployment, C/S mode, Remote control, Mixed language programming
PDF Full Text Request
Related items