Method for releasing gray scale and restrictively installing client installation programTechnical Field
The invention relates to the technical field of methods for issuing installation programs by gray scales, in particular to a method for issuing and restrictively installing installation programs of a client.
Background
At present, if a new version appears in an installation program, an old version must be deleted for installation, however, if the new version is used without habit or is more difficult to use, the old version needs to be changed back, the steps are complicated, the difficulty is higher, the user experience is very poor, and in the process of changing the version, data is very easy to lose, so that an improved technology is urgently needed to solve the problem existing in the prior art.
Disclosure of Invention
The invention aims to provide a method for gray-scale publishing and restrictive installation of a client installation program, a common storage space is divided into a first storage space and a second storage space, for alternately installing the installer of the previous version and the installer of the next version, and when the installer of the new version is installed, if the installation program is properly found, the installation program can be replaced, data can be transferred and packed for backup in the replacement process, old data cannot be lost, if not, the old version installer can be continued until a new version is released, meanwhile, the data in the new version process is tried to be transferred into the old version and packed for backup, so that the new data is not lost, the selection is various, the user experience is greatly improved, and the unused version is deleted automatically without losing data to release more storage space, so as to solve the problems proposed in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a method for gray scale publishing and restrictive installation of a client installation program comprises the following steps:
the method comprises the following steps: firstly, a restrictive installation client is installed in a public storage space, and then the public storage space is divided into a first storage space and a second storage space;
step two: installing an old version installation program into a first storage space of a restrictive installation client for use, and reserving a second storage space;
step three: after the first new version installation program is released, installing the first new version installation program into a second storage space of the restrictive installation client:
step four: starting timing at the moment, prompting whether to use the first new version program every X days, if so, jumping to the step five, and if not, jumping to the step six;
step five: merging the data of the old version program into the first new version program, automatically packaging and backing up the data of the old version program and storing the data into a public storage space, then automatically unloading the old version program, emptying the first storage space, installing the second new version installation program into the first storage space when the second new version installation program is released again, and returning to the fourth step;
step six: and restarting timing, merging the data of the first new version program into the old version program, automatically packaging and backing up the data of the first new version program and storing the data into the public storage space when the second new version installer is released again, then automatically unloading the first new version program, emptying the second storage space, and returning to the fourth step.
Preferably, in the first step, the first storage space and the second storage space are divided from a common storage space.
Preferably, the restrictive installation client in the first step is stored in the public storage space.
Preferably, the data of the old version program in the fifth step is stored in a common storage space.
Preferably, the data of the first new version program in the sixth step is stored in the public storage space.
Preferably, in the fifth step, the data of the old version program is automatically packaged into any one of a format of rar or a format of zip for backup.
Preferably, in the sixth step, the data of the old version program is automatically packaged into any one of a format of rar or a format of zip for backup.
Compared with the prior art, the invention has the beneficial effects that:
the method adopts gray release type installation, has various selections, greatly improves user experience, does not lose data, and automatically deletes unnecessary versions to release more storage space.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a technical scheme that: a method for gray scale publishing and restrictive installation of a client installation program comprises the following steps:
the method comprises the following steps: firstly, a restrictive installation client is installed in a public storage space, and then the public storage space is divided into a first storage space and a second storage space;
step two: installing an old version installation program into a first storage space of a restrictive installation client for use, and reserving a second storage space;
step three: after the first new version installation program is released, installing the first new version installation program into a second storage space of the restrictive installation client:
step four: starting timing at the moment, prompting whether to use the first new version program every X days, if so, jumping to the step five, and if not, jumping to the step six;
step five: merging the data of the old version program into the first new version program, automatically packaging and backing up the data of the old version program and storing the data into a public storage space, then automatically unloading the old version program, emptying the first storage space, installing the second new version installation program into the first storage space when the second new version installation program is released again, and returning to the fourth step;
step six: and restarting timing, merging the data of the first new version program into the old version program, automatically packaging and backing up the data of the first new version program and storing the data into the public storage space when the second new version installer is released again, then automatically unloading the first new version program, emptying the second storage space, and returning to the fourth step.
In the first step, the first storage space and the second storage space are divided from a common storage space; fifthly, storing the data of the old version program in a public storage space; in the sixth step, the data of the first new version program is stored in a public storage space; in the fifth step, the data of the old version program is automatically packaged into any one of a format of rar or a format of zip for backup; and in the sixth step, the data of the old version program is automatically packaged into any one of a format of rar or a format of zip for backup.
The principle is as follows: the public storage space is divided into a first storage space and a second storage space, the first storage space and the second storage space are used for installing the installation program of the previous version and the installation program of the next version in turn, after the installation program of the new version is installed, if the installation program of the new version is found to be suitable, the installation program can be replaced, data transfer and packing backup can be carried out in the replacement process, old data cannot be lost, if the installation program of the old version is found to be unsuitable, the installation program of the old version can be continuously used until the new version which is released again next time, meanwhile, the data in the new version process are transferred into the old version and packed backup are carried out, new data cannot be lost, the selection is diversified, the user experience is greatly improved, the data cannot be lost, the unused versions are automatically deleted.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.