Automatic Upgrade management solution and management solution for all software products
Real-world software product automatic upgrade Management Solution
Contents
1. description... 1
2. Product Management Background system... 1
2.1. Product release... 1
2.2. Product download... 2
2.3. Download logs... 3
2.4. Exception log... 3
3. Product Web Service interface... 3
3.1. interface description... 4
4. product upgrade and update procedures... 4
4.1. Automatic update tool for product upgrade... 5
4.2. Product Version Information... 5
5. Conclusion... 6
1. Description
It is difficult for any development team to perfect software products in the development and design of software products. When there are a limited amount of time, manpower, material resources, and even many vulnerabilities, you have to deliver the product to the customer for trial. In the use of software, problems will be constantly discovered. These problems may be caused by software faults, or changes in the running software and hardware environments; at the same time, users will constantly improve product features. Therefore, software product upgrades become more and more common when we use them. For users, software upgrades can complete vulnerabilities to ensure data security. They can add and update features to make them easier to use. For software developers, in order to expand the market and enhance their competitiveness, they also need to constantly upgrade their own software and strive to do better. Therefore, version control and automatic update and upgrade of software products are of great significance for development and maintenance.
The software product's automatic upgrade management solution is:
- Use the Winform program to manage various software product information, versions, product files, product upgrade tracking, and product exception tracking.
- Use WEB Service to provide an interface for product upgrade and update.
- Use Windows programs and service programs to obtain the server product upgrade information and file, and perform automatic updates on the product.
2. Product Management Background System
Use the Winform program to manage various software product information, versions, product files, product upgrade tracking, and product exception tracking.
2.1. Product Release
Register the product version information, add and release the product file. After the product is released, you can download and update the product update program. Download Product Information and product files before product release for testing to ensure the normal operation of programs downloaded for product upgrade and update.
2.2. Product download
Product download provides download of product information and product files after the product version is released. You can download historical version files. If a major problem occurs after the release, you can cancel the release, that is, the product update program cannot be used to download files.
2.3. Download logs
Download log tracking product download log
2.4. Exception log
Exception log tracking product updates exception logs and program exception logs for product optimization.
3. Product Web Service Interface
The Web Service interface of the product provides the interface for checking and downloading the update program of the product and submitting the Update log.
3.1. Interface Description
Interface Name |
Interface Description |
SQReturnResult GetPReleaseDateTime (string pProductNo) |
Obtain the latest release time of the product. Return Description: Successful: 0, failed |
SQReturnResult GetPReleaseInfo (string pProductNo) |
Obtain product information. Return Description: Successful: 0, failed |
SQReturnResult GetProductFile (string pProductNo, string pVersion, string pFileName) |
Obtain the content of the product file. Return Description: Successful: 0, failed |
SQReturnResult GetProductFileByte (string pFileTag) |
Obtain the content of the product file. Return Description: Successful: 0, failed |
SQReturnResult AddError (string pProductNo, string pProductName, string pPVersion , String pCustomerNo, string pCustomerName, string pErrorClassify, string pErrorTitle, string pErrorRemark) |
Add product exception information. Return Description: Successful: 0, failed |
4. product upgrade and update procedures
There are multiple methods to automatically update client-related files. The common method is to manually or intelligently notify the client of new software versions and update methods, software users can manually download and update necessary files from the Internet, or add the automatic update function in the application software menu to allow users to control the frequency and timing of software updates. These methods should have their meanings and advantages under specific conditions, but for those database-related management programs, considering the synchronization and coordination of multi-customer data processing, if software updates are controlled by users, it is difficult to ensure consistency of data processing between versions, and developers are often bound with the design idea to consider the compatibility of the front and back programs. Therefore, one of the important objectives of the automatic software upgrade method implemented in this article is to ensure mandatory software upgrade, and considering the uneven use of personnel's computer application capabilities, it strives to achieve seamless transition during the upgrade process. That is to say, when a user starts a program, the program itself checks whether a new version needs to be updated and replaces the relevant files without the user's knowledge, finally, the new main program is automatically re-run. For the user, the software upgrade process is automatically and smoothly implemented by the program in the background, and there is no need to worry about the software upgrade issues, as long as you can safely use it, developers are solely responsible for the distribution, maintenance, update, and synchronization of software. To achieve this key goal, the design ideas should mainly include the following:
- The product upgrade and update program connects to the server to obtain the latest release time of the product, which is compared with the release time of the local product.
- When the release time of the local product does not match the server release time, obtain the product release information.
- Download the server product file based on the product release information.
- Update the downloaded product file to the product directory.
4.1. Automatic update tool for product upgrades
4.2. Product Version Information
The product version information records the product version information and product file information. At the same time, the download will be saved to the product directory, so that you can determine whether a new version needs to be downloaded and updated next time.
5. Conclusion
The software product update management solution currently supports Winform programs, Windows service programs, and console programs. for B/S architecture software products, there are many product files and file directories, it is more complex to manage product files for release than to program. If a file is packaged, the product upgrade and update tool needs to decompress the package file and optimize it later. The product update tool is only responsible for downloading product files and update files. operations such as updating the database and updating the registry for software products are handled by the software products themselves.