Automatic upgrade management solution for real software products

Source: Internet
Author: User

Automatic upgrade management solution for real software products

Directory

1. Description ... 1

2. Product Management Backend System ... 1

2.1. Product Launches ... 1

2.2. Product Download ... 2

2.3. Download Log ... 3

2.4. Exception Log ... 3

3. Product Web Service Interface ... 3

3.1. Interface description ... 4

4. Product Upgrade Update program ... 4

4.1. Product Upgrade Automatic Update Tool ... 5

4.2. Product Version Information ... 5

5. Conclusion ... 6

1. Description

  Any development team in the development of software products, design is difficult to complete the software products, in a limited time, manpower and material situation, and even there are more loopholes, it is necessary to deliver products to customers trial. In the use of software, will continue to identify problems, these problems may be the software itself, may be the operation of the soft and hardware environment changes caused by the user will continue to improve product function requirements. So software PRODUCT upgrades are becoming more common when we use them. For the user, the software upgrade can complete the vulnerability, ensure data security, can add and update features, use more handy. For software developers, in order to expand the market, enhance their competitiveness, but also need to constantly upgrade their software, and strive to do better. Therefore, the SOFTWARE Product version control and Automatic Update upgrade function for development and maintenance is of great significance.

The SOFTWARE Product automatic upgrade management solution is:

    • Use WinForm program to manage each software product information, version, product files, product upgrade tracking and product exception tracking.
    • Use the Web service to provide a product upgrade update interface.
    • Use Windows programs and services to obtain server product upgrade information and upgrade files, and to automatically update the product.
2. Product Management Backend System

Use WinForm program to manage each software product information, version, product files, product upgrade tracking and product exception tracking.

2.1. Product Launches

Register product version information, add product documentation and publish. The product upgrade update is allowed to download updates after the product is released. To provide product information before product release and product file download, test to ensure that the Product upgrade update program to download the program to function properly.

2.2. Product Download

Product download to provide product after the release of product information and product file download, download the historical version of the file, after the release of a major issue, allow the release, that is, do not allow product upgrade updates to download files.

2.3. Download the log

Download log tracking product download log

2.4. Exception Log

The Exception Log tracks product update exception logs and program exception logs for product optimization.

3. Product Web Service Interface

The Product Web service interface is primarily provided to the product upgrade updater to check, download, and submit the update log interface.

3.1. Interface Description

Interface Name

Interface description

Sqreturnresult getpreleasedatetime (String pproductno)

Get the latest release time for your product. Return Description: Success: 0, failed

Sqreturnresult getpreleaseinfo (String pproductno)

Get product information. Return Description: Success: 0, failed

Sqreturnresult getproductfile (String pproductno,string pversion, String pfilename)

Get product file content. Return Description: Success: 0, failed

Sqreturnresult getproductfilebyte (String pfiletag)

Get product file content. Return Description: Success: 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: Success: 0, failed

4. Product Upgrade Update program

There are many ways to implement automatic updating of the client-related files, the common method is to notify the client with the new software version and Update method by manual or intelligent means, the software user manually downloads the necessary files from the Internet and updates, or adds the function of automatic upgrade in the menu item of the application software. Let users control the frequency and timing of software upgrades. These methods should have its significance and advantages under certain conditions, but for those management programs related to the database, considering the synchronization and coordination of multi-client data processing, it is difficult to ensure the consistency of data processing between versions if the software is updated by the user. And often make developers to consider the compatibility of the program before and after the design ideas. Therefore, this paper implements the software automatic upgrade method, which has an important goal is to ensure the software mandatory upgrade, and take into account the user's computer application ability is uneven, and strive to achieve a seamless transition of the upgrade process. In other words, when the user starts the program, the program itself detects whether a new version needs to be updated, replaces the file with complete ignorance, and then automatically re-runs the new main program. For users, the process of software upgrade is the program in the background of automatic, smooth implementation, there is no need to care about the upgrading of software, as long as the use of confidence, completely by the developer of software distribution, maintenance, updating, synchronization and other issues. To achieve this key goal, the design ideas should mainly include the following points:

    • Product upgrade Update the connection server gets the latest release time for the product, compared to the local product release time.
    • Obtain product release information when the time of the local product release does not match the time of the server's release.
    • Download the server product files according to the product release information.
    • Update the downloaded product files to the product catalog.
4.1. Product Upgrade Automatic Update Tool

4.2. Product Version Information

Product version Information records product version information and product file information. The download will be saved to the product catalog at the same time so that the next time you decide whether a new version needs to be downloaded and updated.

5. Conclusion

Software PRODUCT automatic upgrade update management solution currently supports WinForm program, Windows Service Program and console program, for b/s architecture software products, product files and file directory more, management of product documentation method to be more complex than the program; if packaged into a file, The Product Upgrade Update tool needs to decompress the packaged files and optimize for subsequent consideration. Product Upgrade Update Tool is only responsible for downloading product files and update files, for software products need to update the database, need to update the registry and other operations, will be processed by the software products themselves.

Automatic upgrade management solution for real software products

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.