CN104461595A - Application software upgrading roll-back method and device and electronic equipment - Google Patents

Application software upgrading roll-back method and device and electronic equipment Download PDF

Info

Publication number
CN104461595A
CN104461595A CN201310436140.9A CN201310436140A CN104461595A CN 104461595 A CN104461595 A CN 104461595A CN 201310436140 A CN201310436140 A CN 201310436140A CN 104461595 A CN104461595 A CN 104461595A
Authority
CN
China
Prior art keywords
application software
database
application
data information
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310436140.9A
Other languages
Chinese (zh)
Other versions
CN104461595B (en
Inventor
高江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310436140.9A priority Critical patent/CN104461595B/en
Publication of CN104461595A publication Critical patent/CN104461595A/en
Application granted granted Critical
Publication of CN104461595B publication Critical patent/CN104461595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application software upgrading roll-back method and device and electronic equipment. The method is applied to the electronic equipment. The method comprises the steps that firstly, first application software is installed, and first application software information corresponding to the first application software is backed up; second application software, namely, the upgraded version of the first application software, is installed; the first operation is received, and a first result is obtained by analyzing the first operation; when the first result shows that the second application software needs roll-back, the corresponding first application software is installed according to the backup first application software information. By the adoption of the application software upgrading roll-back method, after the second application software of the higher version is installed on the electronic equipment, when roll-back is needed, the roll-back can be achieved according to the first application software information which is backed up in advance, installation of the first application software is completed, and the problem that in the prior art, roll-back cannot be achieved after the application software is upgraded is solved.

Description

Application software upgrade rollback method, device and electronic equipment
Technical field
The present invention relates to electronic device field, particularly relate to a kind of application software upgrade rollback method, device and electronic equipment.
Background technology
There is various electronic at present, for daily life offers convenience, wherein application software has played huge effect, therefore, even there is " being applied as king " concept at present.Such as, in mobile phone, just multiple application software can be installed, as Games Software, office software etc.
In addition, software developer often carries out upgrading to application software and upgrades, and in this case, electronic equipment can pass through server, downloads the application installation kit of the application software after upgrading, realizes the upgrading to corresponding application software.
But inventor finds in the research process of the application, after renewal upgrading, often the application software of user to old edition is interested, but current but imperfect application software upgrade rollback mechanism, therefore, the upgrading rollback method of a kind of application software of current needs.
Summary of the invention
In view of this, the object of the invention is to solve in prior art, be not provided as the method that the application software after upgrading carries out rollback, specific embodiments is as follows:
A kind of application software upgrade rollback method, is applied to electronic equipment, comprises:
First application software is installed, and backs up the first application software information corresponding to described first application software;
Install the second application software, described second application software is the upgraded version of described first application software;
Receive the first operation, and described first operation is resolved, to obtain the first result;
When described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
Preferably, when described first application software information is the application installation kit of described first application software, described according to the first application software information, corresponding first application software is installed and comprises:
According to rollback demand, obtain the described application installation kit of described first application software, and according to described application installation kit, described first application software is installed.
Preferably, when described first application software information is the version number of described first application software, described according to the first application software information, corresponding first application software is installed and comprises:
According to rollback demand, obtain the version number of described first application software;
Download the application installation kit that described version number is corresponding, and according to described application installation kit, described first application software is installed.
Preferably, described application software upgrade rollback method also comprises:
After described first application software is installed, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase;
After described second application software is installed, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase;
When described second application software is rolled back to described first application software by needs, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
Preferably, the second database that the described second application data information of described structure is corresponding, comprising:
Judge that whether each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information be identical;
When each second parameter described is identical with each first parameter described, obtains the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
When each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
When each second parameter described and each first parameter described complete different time, build described second database according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
Preferably, the 3rd database that first application software of installing after described structure rollback is corresponding, comprising:
Judge that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
When each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
When each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
When each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
Accordingly, the invention also discloses a kind of application software upgrade rollback device, be applied to electronic equipment, it is characterized in that, comprising:
First installation module, for installing the first application software, and backs up the first application software information corresponding to described first application software;
Second installation module, for installing the second application software, described second application software is the upgraded version of described first application software;
Receiver module, for receiving the first operation, and resolves described first operation, to obtain the first result;
Rollback installation module, during for showing that when described first result described second application software needs rollback, according to the described first application software information backed up, installs corresponding first application software.
Preferably, when described first application software information is the application installation kit of described first application software, described rollback installation module comprises:
First rollback installation unit, for according to rollback demand, obtains the described application installation kit of described first application software, and installs described first application software according to described application installation kit.
Preferably, when described first application software information is the version number of described first application software, described rollback installation module comprises:
Version number's acquiring unit, for according to rollback demand, obtains the version number of described first application software;
Second rollback installation unit, for downloading application installation kit corresponding to described version number, and installs described first application software according to described application installation kit.
Preferably, described application software upgrade rollback device also comprises:
First database sharing module, after described first application software is installed, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase;
Second database sharing module, after described second application software is installed, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase;
3rd database sharing module, for when described second application software is rolled back to described first application software by needs, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
Preferably, described second data construct module comprises:
Whether the first judging unit is identical for judging each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information;
First construction unit, for when each second parameter described is identical with each first parameter described, obtain the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
Second construction unit, for when each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
3rd construction unit, for when each second parameter described and each first parameter described complete different time, described second database is built according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
Preferably, described 3rd data construct module comprises:
Second judging unit, judges that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
4th construction unit, for when each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
5th construction unit, for when each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
6th construction unit, for when each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
Accordingly, the invention also discloses a kind of electronic equipment, in the processor of described electronic equipment, be integrated with application software upgrade rollback device as above.
This application discloses a kind of application software upgrade rollback method, the method is applied to electronic equipment, in described application software upgrade rollback method, first installs the first application software, and backs up the first application software information corresponding to described first application software; Then second application software is installed, i.e. the upgraded version of described first application software; Then receive the first operation, by the parsing to described first operation, obtain the first result; When described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
By application software upgrade rollback method disclosed in the present application, can install more after the second application software of highest version at electronic equipment, at needs, rollback is carried out to it, when first application software is installed, according to the first application software information backed up in advance, realize rollback, complete the installation to described first application software, thus solve in the prior art to can not the problem of rollback after application software upgrade.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the workflow schematic diagram of a kind of application software upgrade rollback method embodiment disclosed by the invention;
Fig. 2 is the workflow schematic diagram of another application software upgrade rollback method embodiment disclosed by the invention;
Fig. 3 is the workflow schematic diagram of another application software upgrade rollback method embodiment disclosed by the invention;
Fig. 4 is the workflow schematic diagram of another application software upgrade rollback method embodiment disclosed by the invention;
Fig. 5 is the workflow schematic diagram of another application software upgrade rollback method embodiment disclosed by the invention;
Fig. 6 is the structural representation of a kind of application software upgrade rollback device embodiment disclosed by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to solve in prior art, be not provided as the method that the application software after upgrading carries out rollback, this application discloses a kind of application software upgrade rollback method, device and electronic equipment, its implementation process is see following examples.
Embodiment one
This application discloses a kind of application software upgrade rollback method, described application software upgrade rollback method is applied to electronic equipment.Workflow schematic diagram shown in Figure 1, described application software upgrade rollback method comprises:
Step S11, the first application software is installed, and backs up the first application software information corresponding to described first application software.
In order to meet the demand of rollback, when installation the first application software, the first application software information that described first application software is corresponding be backed up.Wherein, the mode of backup can comprise automated back-up and manual backup two kinds of patterns.In this case, when user selects the pattern of automated back-up, electronic equipment, when installing application software or after installation, understands the application software information that this application software of automated back-up is corresponding; When user selects the pattern of manual backup, electronic equipment, when installing application software or after installation, can, according to the operation of user, determine whether to need backup, and when needed, the application software information corresponding to this application software back up.
Step S12, install the second application software, described second application software is the upgraded version of described first application software.
Step S13, reception first operation, and described first operation is resolved, to obtain the first result.
In installation second application software, after the upgraded version of namely the first application software, user in use for some time, is more prone to use first application software sometimes, namely needs the rollback carrying out application software.
In this case, described first operation is the feedback operation of user, the first result obtained during by resolving described first operation, can know to carry out rollback the need of to described second application software.
Step S14, when described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
The embodiment one of the application discloses a kind of application software upgrade rollback method, the method is applied to electronic equipment, in described application software upgrade rollback method, first the first application software is installed, and backs up the first application software information corresponding to described first application software; Then second application software is installed, i.e. the upgraded version of described first application software; Then receive the first operation, by the parsing to described first operation, obtain the first result; When described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
By application software upgrade rollback method disclosed in the present application, can install more after the second application software of highest version at electronic equipment, at needs, rollback is carried out to it, when first application software is installed, according to the first application software information backed up in advance, realize rollback, complete the installation to described first application software, thus solve in the prior art to can not the problem of rollback after application software upgrade.
Embodiment two
This application discloses a kind of application software upgrade rollback method, described application software upgrade rollback method is applied to electronic equipment.Workflow schematic diagram shown in Figure 2, described application software upgrade rollback method comprises:
Step S21, install the first application software, and back up the first application software information corresponding to described first application software, wherein, described first application software information is the application installation kit of described first application software.
Step S22, install the second application software, described second application software is the upgraded version of described first application software.
Step S23, reception first operation, and described first operation is resolved, to obtain the first result.
The operation of step S22 to step S23, with embodiment one, the operation of step S12 to step S13 is identical, can be cross-referenced, repeats no more herein.
Step S24, when described first result shows that described second application software needs rollback, according to the application installation kit of described first application software backed up, corresponding first application software is installed.
In embodiment two, described first application software information is the application installation kit of described first application software.In this case, when needs carry out rollback to described second application software, during to install the first application software, undertaken installing by the application installation kit of described first application software.
Embodiment three
This application discloses a kind of application software upgrade rollback method, described application software upgrade rollback method is applied to electronic equipment.Workflow schematic diagram shown in Figure 3, described application software upgrade rollback method comprises:
Step S31, install the first application software, and back up the first application software information corresponding to described first application software, wherein, described first application software information is the version number of described first application software.
The version number of software can identify the application software of different editions, as: QQ2007Beta.
Step S32, install the second application software, described second application software is the upgraded version of described first application software.
Step S33, reception first operation, and described first operation is resolved, to obtain the first result.
The operation of step S32 to step S33, with embodiment one, the operation of step S12 to step S13 is identical, can be cross-referenced, repeats no more herein.
Step S34, when described first result shows that described second application software needs rollback, according to rollback demand, obtain the version number of described first application software.
Step S35, download application installation kit corresponding to described version number, and according to described application installation kit, described first application software is installed.
In embodiment three, described first application software information is the version number of described first application software.In this case, when needs carry out rollback to described second application software, during to install the first application software, need the version number obtaining described first application software, and downloaded again by described version number and apply installation kit accordingly, to be realized the installation to described first application software by described application installation kit.
Embodiment four
This application discloses a kind of application software upgrade rollback method, described application software upgrade rollback method is applied to electronic equipment.Workflow schematic diagram shown in Figure 4, described application software upgrade rollback method comprises:
Step S41, the first application software is installed, and backs up the first application software information corresponding to described first application software.
Step S42, described first application software is installed after, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase.
In the use procedure of the first application software, corresponding first application data information can be produced.In order to preserve the first application data produced in user's use procedure, being convenient to the application of user, after described first application software is installed, building the first database that described first application software is corresponding.Such as, when described first application software is for game, user is when this game of object for appreciation, and can produce corresponding game data, as application datas such as gold coin, empirical value and game ratings, described first database can store these the first application datas.
In addition, when described first application data is polytype, when storing, can according to the first parameter of its correspondence, by the corresponding tables of data of corresponding first application data store to the first database.Such as, when the first parameter of described first application data is respectively gold coin, empirical value and game ratings, can according to described first parameter, corresponding tables of data is built in the first database, comprise gold coin tables of data, empirical value tables of data and game ratings tables of data, and by described first application data store to corresponding tables of data, various types of tables of data constructs database jointly.
In addition, in the scheme that above-mentioned two steps describe, after backup first application software information, build the first database that described first application software is corresponding again, in actual applications, also after described first application software of installation, and before the described first application software information of backup, described first database can just be built.
Step S43, install the second application software, described second application software is the upgraded version of described first application software.
The operating process of step S41 and step S43, identical with the operating process of step S12 with step S11 in embodiment one, can be cross-referenced, repeat no more herein.
Step S44, described second application software is installed after, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase.
In the use procedure of the second application software, also can produce corresponding second application data information.Therefore, need for described second application software builds corresponding second database, and by the second application data information of the second application software described in described second database purchase.
Step S45, reception first operation, and described first operation is resolved, to obtain the first result.
Step S46, when described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
In the operating process of step S45 to step S46 and embodiment one, step S13 is identical with the operating process of step S14, can be cross-referenced, repeats no more herein.
Step S47, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
When described second application software is rolled back to described first application software by needs, in step S47, also disclosing a kind of by utilizing the first database, second database of corresponding first application software and the second application software respectively, building the technical characteristic of the 3rd database.After the application software of installing in the electronic device is rolled back to the 3rd application software, by described 3rd database, the 3rd application data information of described first application software after rollback can be stored.
The embodiment four of the application, discloses a kind of method of application software upgrade rollback.The method is applied to electronic equipment, first first application software is installed, back up the first application software information that described first application software is corresponding, and build the first database corresponding to described first application software, by the first application data information produced in the first application software use procedure described in described first database purchase; Then second application software is installed, described second application software is the upgraded version of described first application software, and build the second database corresponding to the second application software, by the second application data information produced in the second application software use procedure described in described second database purchase; Receiving the first operation, according to the parsing to the first operation, when the first result got shows to need rollback, according to the described first application software information backed up, corresponding first application software is installed, and according to the first application data base and the second application data base, build the 3rd database that described first application software after rollback is corresponding, thus the 3rd application data information that can be produced by described first application software after described 3rd database purchase rollback.
Such scheme is by the application software for current installation in electronic equipment, build corresponding database, and utilize in application software use procedure described in described database purchase, the technical characteristic of the application data information produced, the application data information that storage application software that can be real-time is corresponding, thus be convenient to user and can better use described application software.
Further, in step S44, disclose a kind of scheme being the second application software and building corresponding second database, described second database is for storing the second application data information in described second application software use procedure.The method of the second database that the described second application data information of described structure is corresponding, comprising:
First, judge that whether each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information be identical.Due to the upgraded version that described second application software is described first application software, therefore, the parameter of both application data produced may be different, therefore, when the second database that structure second application software is corresponding, need to carry out above-mentioned judgement.
Then, be that described second application software builds the second database according to judged result.
When each second parameter described is identical with each first parameter described, obtains the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
When each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
When each second parameter described and each first parameter described complete different time, build described second database according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
According to judged result, when determining that each second parameter corresponding to described second application software each first parameter corresponding with described first application software is identical, the first application data in use produced to enable the first application software continues to use, need to obtain the first application data information stored in described first database, as the second application data information, and build the second database accordingly.Such as, the first parameter of the first application data information comprises this parameter of gold coin, in the first application software use procedure, stores this application message of quantity about gold coin in the first database.When judging the second parameter learning described second application software, when being still gold coin, after the second application software has been installed, the gold coin quantity obtained in use procedure is before lost, then obtain this first application data of gold coin quantity stored in described first database, then it can be used as the second application data information to be stored in the second database.Certainly, in the use procedure of the second application software, the change of gold coin quantity needs to continue to be stored in described second database.
When each second parameter described is identical with each first argument section described, such as, first parameter of described first application data information is gold coin, and the second parameter of described second application software, when being respectively gold coin and empirical value, after having installed the second application software, the gold coin quantity obtained in use procedure has before been lost, then obtain the first application data information that this parameter of gold coin in the first database is corresponding, be stored in the second database.In addition, due to this parameter of empirical value by the second application software is exclusive, need for this parameter builds corresponding tables of data, and the second corresponding for this parameter application data information is stored in corresponding tables of data, be stored in the second database.
When each second parameter described is not identical with each first parameter described, such as, first parameter of described first application data information is gold coin, and the second parameter of described second application software, when being respectively empirical value and game ratings, then need to build corresponding tables of data according to the second parameter, the second corresponding for described second parameter application data information is stored in described tables of data, and is stored in the second database.
By the way, after the second application software can being installed in the electronic device, for described second application software builds corresponding second database.
Further, in step S47, disclose a kind of scheme for corresponding 3rd database of the first application software structure after rollback, described 3rd database is for storing the 3rd application data information in the described first application software use procedure after rollback.The method of the 3rd database that the described 3rd application data information of described structure is corresponding, comprising:
First, judge that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
Then, be that described first application software after rollback builds the 3rd database according to judged result.
When each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
When each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
When each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
According to judged result, when determining that each second parameter corresponding to described second application software each first parameter corresponding with described first application software is identical, after making rollback, still the second application data information that described second application software produces can be used, then directly from described second database, extract described second application data information, as the 3rd application data information, and be stored in the 3rd database after structure.
When each first parameter described is identical with each second argument section described, such as, described second parameter is gold coin and empirical value, and described first parameter is gold coin and game ratings, then from the second database, extract the second application data information that this parameter of gold coin is corresponding, and after being stored to corresponding tables of data, described tables of data is stored in described 3rd database.In addition, the first application data information that this parameter of described game ratings is corresponding, then extract from described first database before upgrading, and as the 3rd application data information, build corresponding tables of data, and described tables of data is stored in described 3rd database.
When each first parameter described is different from described second parameter, such as, first parameter of described first application data information is gold coin, and the second parameter of described second application software, when being respectively empirical value and game ratings, that is, second application software in use, application data information corresponding to described first parameter does not change, then from described first database from the described first application data information of extraction, as the 3rd application data information, and be stored in the 3rd database.
By the way, after the first application software after rollback can be installed in the electronic device, for described first application software builds corresponding 3rd database.
Embodiment five
The embodiment five of the application discloses a kind of application software upgrade rollback method, and the method is applied to electronic equipment, workflow schematic diagram shown in Figure 5, and described application software upgrade rollback method comprises:
Step S51, the first application software is installed, backs up the first application software information that described first application software is corresponding, and load corresponding message identification for described first application software information.
Step S52, the second application software is installed, back up the second application software information that described second application software is corresponding, and load corresponding message identification for described second application software information, wherein, described second application software is the upgraded version of described first application software.
Step S53, installation the 3rd application software, wherein, described 3rd application software is the upgraded version of described second application software.
Step S54, reception first operation, and described first operation is resolved, to obtain the first result.
Step S55, when described first result shows that described 3rd application software needs rollback, according to the instruction of described first result, according to the described first application software information backed up or described second application software information, described first application software of corresponding installation or described second application software.
In the embodiment five of the application, disclose a kind of application software upgrade rollback method, in the method, a certain application software is through repeatedly upgrading, thus backed up the application software information of multiple version for described application software in the electronic device, in this case, after the first operation receiving user, realize the rollback of the application software to respective version corresponding to described first operation.
In addition, because backup has the application software information of miscellaneous editions in the electronic device, for the ease of the selection of user, corresponding message identification is loaded with in the application software information of each version, thus make user carry out the first operation, when choosing the application software needing rollback, select according to described message identification.Wherein, described message identification can be various ways, the time of the time of installing as application software or corresponding application software information back-up, or, the progress that application software uses, or described message identification can also be the software snapshot of corresponding application software.Described software snapshot refers to the application interface of described application software, can be obtained by the mode of record screen.When adopting this message identification of software snapshot, user, when operating, according to the operation to corresponding software snapshot, can determine the application software needing to install.
Embodiment six
The embodiment six of the application discloses a kind of application software upgrade rollback device, be applied to electronic equipment, structural representation shown in Figure 6, described application software upgrade rollback device comprises: the first installation module 11, second installation module 12, receiver module 13 and rollback installation module 14, wherein
Described first installation module 11, for installing the first application software, and backs up the first application software information corresponding to described first application software;
Described second installation module 12, for installing the second application software, described second application software is the upgraded version of described first application software;
Described receiver module 13, for receiving the first operation, and resolves described first operation, to obtain the first result;
Described rollback installation module 14, during for showing that when described first result described second application software needs rollback, according to the described first application software information backed up, installs corresponding first application software.
The embodiment six of the application discloses a kind of application software upgrade rollback device, the method is applied to electronic equipment, in described application software upgrade rollback device, first by the first installation module, the first application software is installed, and backs up the first application software information corresponding to described first application software; Then by the second installation module, the second application software is installed, i.e. the upgraded version of described first application software; Then receive the first operation by receiver module, by the parsing to described first operation, obtain the first result; When described first result shows that described second application software needs rollback, by rollback installation module according to the described first application software information backed up, corresponding first application software is installed.
By application software upgrade rollback method disclosed in the present application, can install more after the second application software of highest version at electronic equipment, at needs, rollback is carried out to it, when first application software is installed, according to the first application software information backed up in advance, realize rollback, complete the installation to described first application software, thus solve in the prior art to can not the problem of rollback after application software upgrade.
Further, when described first application software information is the application installation kit of described first application software, described rollback installation module 14 comprises:
First rollback installation unit, for according to rollback demand, obtains the described application installation kit of described first application software, and installs described first application software according to described application installation kit.
Further, when described first application software information is the version number of described first application software, described rollback installation module 14 comprises:
Version number's acquiring unit, for according to rollback demand, obtains the version number of described first application software;
Second rollback installation unit, for downloading application installation kit corresponding to described version number, and installs described first application software according to described application installation kit.
Further, described application software upgrade rollback device also comprises:
First database sharing module, after described first application software is installed, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase;
Second database sharing module, after described second application software is installed, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase;
3rd database sharing module, for when described second application software is rolled back to described first application software by needs, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
Further, described second data construct module comprises:
Whether the first judging unit is identical for judging each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information;
First construction unit, for when each second parameter described is identical with each first parameter described, obtain the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
Second construction unit, for when each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
3rd construction unit, for when each second parameter described and each first parameter described complete different time, described second database is built according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
Further, described 3rd data construct module comprises:
Second judging unit, judges that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
4th construction unit, for when each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
5th construction unit, for when each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
6th construction unit, for when each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
Accordingly, the invention also discloses a kind of electronic equipment, in the processor of described electronic equipment, be integrated with application software upgrade rollback device as above.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (13)

1. an application software upgrade rollback method, is applied to electronic equipment, it is characterized in that, comprising:
First application software is installed, and backs up the first application software information corresponding to described first application software;
Install the second application software, described second application software is the upgraded version of described first application software;
Receive the first operation, and described first operation is resolved, to obtain the first result;
When described first result shows that described second application software needs rollback, according to the described first application software information backed up, corresponding first application software is installed.
2. method according to claim 1, is characterized in that, when described first application software information is the application installation kit of described first application software, described according to the first application software information, installs corresponding first application software and comprises:
According to rollback demand, obtain the described application installation kit of described first application software, and according to described application installation kit, described first application software is installed.
3. method according to claim 1, is characterized in that, when described first application software information is the version number of described first application software, described according to the first application software information, installs corresponding first application software and comprises:
According to rollback demand, obtain the version number of described first application software;
Download the application installation kit that described version number is corresponding, and according to described application installation kit, described first application software is installed.
4. method according to claim 1, is characterized in that, described application software upgrade rollback method also comprises:
After described first application software is installed, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase;
After described second application software is installed, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase;
When described second application software is rolled back to described first application software by needs, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
5. method according to claim 4, is characterized in that, the second database that the described second application data information of described structure is corresponding, comprising:
Judge that whether each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information be identical;
When each second parameter described is identical with each first parameter described, obtains the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
When each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
When each second parameter described and each first parameter described complete different time, build described second database according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
6. method according to claim 4, is characterized in that, the 3rd database that first application software of installing after described structure rollback is corresponding, comprising:
Judge that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
When each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
When each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
When each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
7. an application software upgrade rollback device, is applied to electronic equipment, it is characterized in that, comprising:
First installation module, for installing the first application software, and backs up the first application software information corresponding to described first application software;
Second installation module, for installing the second application software, described second application software is the upgraded version of described first application software;
Receiver module, for receiving the first operation, and resolves described first operation, to obtain the first result;
Rollback installation module, during for showing that when described first result described second application software needs rollback, according to the described first application software information backed up, installs corresponding first application software.
8. device according to claim 7, is characterized in that, when described first application software information is the application installation kit of described first application software, described rollback installation module comprises:
First rollback installation unit, for according to rollback demand, obtains the described application installation kit of described first application software, and installs described first application software according to described application installation kit.
9. device according to claim 7, is characterized in that, when described first application software information is the version number of described first application software, described rollback installation module comprises:
Version number's acquiring unit, for according to rollback demand, obtains the version number of described first application software;
Second rollback installation unit, for downloading application installation kit corresponding to described version number, and installs described first application software according to described application installation kit.
10. device according to claim 7, is characterized in that, described application software upgrade rollback device also comprises:
First database sharing module, after described first application software is installed, the first application data information corresponding according to described first application software, build the first database that described first application data information is corresponding, and by the first application data information in the first application software use procedure described in described first database purchase;
Second database sharing module, after described second application software is installed, the second application data information corresponding according to described second application software, build the second database that described second application data information is corresponding, and by the second application data information in the second application software use procedure described in described second database purchase;
3rd database sharing module, for when described second application software is rolled back to described first application software by needs, according to described first database and described second database, the 3rd database that first application software of installing after building rollback is corresponding, and by the 3rd application data information in the described first application software use procedure after described 3rd database purchase rollback.
11. devices according to claim 10, is characterized in that, described second data construct module comprises:
Whether the first judging unit is identical for judging each second parameter corresponding to described second application data information each first parameter corresponding with described first application data information;
First construction unit, for when each second parameter described is identical with each first parameter described, obtain the first application data information stored in described first database, it can be used as the second application data information, and build the second database corresponding to described second application data information accordingly;
Second construction unit, for when each second parameter described is identical with each first argument section described, the first application data information that identical parameters is corresponding is obtained from described first database, be stored in the second database corresponding to described second application software, and build the second application data information according to different parameters, be stored in described second database;
3rd construction unit, for when each second parameter described and each first parameter described complete different time, described second database is built according to described second parameter, and according to described second parameter in described second database, the corresponding described second application data information of storage.
12. devices according to claim 10, is characterized in that, described 3rd data construct module comprises:
Second judging unit, judges that whether each first parameter corresponding to described first application data information each second parameter corresponding with described second application data information be identical;
4th construction unit, for when each first parameter described is identical with each second parameter described, from described second database, extract the described second application data information wherein stored, as the 3rd application data information, and be stored in the 3rd database after structure;
5th construction unit, for when each first parameter described is identical with each second argument section described, the second application data information that identical parameters is corresponding is obtained from described second database, be stored in the 3rd database, and the first application data information corresponding to different parameters is obtained from described first database before upgrading, be stored in described 3rd database;
6th construction unit, for when each first parameter described and each second parameter described complete different time, obtain the first application data information in described first database, as the 3rd application data information, and be stored in described 3rd database.
13. 1 kinds of electronic equipments, is characterized in that, in the processor of described electronic equipment, are integrated with if claim 7 is to application software upgrade rollback device according to claim 12.
CN201310436140.9A 2013-09-23 2013-09-23 Application software upgrade rollback method, device and electronic equipment Active CN104461595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310436140.9A CN104461595B (en) 2013-09-23 2013-09-23 Application software upgrade rollback method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310436140.9A CN104461595B (en) 2013-09-23 2013-09-23 Application software upgrade rollback method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104461595A true CN104461595A (en) 2015-03-25
CN104461595B CN104461595B (en) 2017-11-28

Family

ID=52907705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310436140.9A Active CN104461595B (en) 2013-09-23 2013-09-23 Application software upgrade rollback method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104461595B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607933A (en) * 2015-12-24 2016-05-25 杭州电梦网络科技有限公司 Heat updating method for mobile games
CN106383753A (en) * 2016-09-13 2017-02-08 北京小米移动软件有限公司 Application backup method and device and application restoration method and device
CN106843951A (en) * 2017-01-12 2017-06-13 北京珠穆朗玛移动通信有限公司 The installation process method and its mobile terminal of software program
CN111124753A (en) * 2019-11-19 2020-05-08 维沃移动通信有限公司 Application program control method, electronic equipment and server
WO2022268127A1 (en) * 2021-06-23 2022-12-29 华为技术有限公司 Ota upgrade method and device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132351A1 (en) * 2003-12-12 2005-06-16 Randall Roderick K. Updating electronic device software employing rollback
US7080279B2 (en) * 2003-12-03 2006-07-18 International Business Machines Corporation Autonomic rollback
CN101169749A (en) * 2007-11-20 2008-04-30 中兴通讯股份有限公司 Software edition upgrading management device and software edition upgrading management method
CN102622280A (en) * 2011-01-06 2012-08-01 苏州科达科技有限公司 Control method and control device used for software version upgrade and based on dual file system
CN102682127A (en) * 2012-05-16 2012-09-19 北京像素软件科技股份有限公司 Data version control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080279B2 (en) * 2003-12-03 2006-07-18 International Business Machines Corporation Autonomic rollback
US20050132351A1 (en) * 2003-12-12 2005-06-16 Randall Roderick K. Updating electronic device software employing rollback
CN101169749A (en) * 2007-11-20 2008-04-30 中兴通讯股份有限公司 Software edition upgrading management device and software edition upgrading management method
CN102622280A (en) * 2011-01-06 2012-08-01 苏州科达科技有限公司 Control method and control device used for software version upgrade and based on dual file system
CN102682127A (en) * 2012-05-16 2012-09-19 北京像素软件科技股份有限公司 Data version control method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607933A (en) * 2015-12-24 2016-05-25 杭州电梦网络科技有限公司 Heat updating method for mobile games
CN106383753A (en) * 2016-09-13 2017-02-08 北京小米移动软件有限公司 Application backup method and device and application restoration method and device
CN106383753B (en) * 2016-09-13 2019-09-17 北京小米移动软件有限公司 Using backup, restoring method and device
CN106843951A (en) * 2017-01-12 2017-06-13 北京珠穆朗玛移动通信有限公司 The installation process method and its mobile terminal of software program
CN111124753A (en) * 2019-11-19 2020-05-08 维沃移动通信有限公司 Application program control method, electronic equipment and server
WO2021098360A1 (en) * 2019-11-19 2021-05-27 维沃移动通信有限公司 Application control method, electronic device, and server
WO2022268127A1 (en) * 2021-06-23 2022-12-29 华为技术有限公司 Ota upgrade method and device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN104461595B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN104199706B (en) A kind of eMMC firmware upgrade method and its equipment
CN106658475B (en) Method and device for upgrading over-the-air technology
CN104461595A (en) Application software upgrading roll-back method and device and electronic equipment
CN102779151B (en) The searching method of application program, Apparatus and system
US7386846B2 (en) System and method for the management of wireless communications device system software downloads in the field
CN105898438A (en) Live broadcasting room dynamic configuration method, device, system and server
EP1973035A1 (en) System and method for the management of wireless communications device system software downloads in the field
CN102520975B (en) Intelligent updating method of external equipment driver, device and system
CN102681865A (en) Coordinated upgrades in distributed systems
CN104699515B (en) A kind of upgrade method and intelligent terminal based on Android operation system
CN102779054A (en) Installation treatment method and device of application program as well as server
CN104838405A (en) Testing framework for applications
CN104679852A (en) Method and device for recommending application software
CN105446868A (en) System compatibility testing method, test case management method and related devices
CN103049708B (en) A kind of audit collocation method of database and system
CN105760184A (en) Method and device for loading component
CN108415821A (en) The generation method and device of test report
CN102810077A (en) Abnormal hardware detecting method and device
CN103645923A (en) Insert installation method and system
CN102937904A (en) Multi-node firmware updating method and device
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN102830989A (en) Method for reader to provide service, reader and terminal
CN104869559A (en) Method and device for updating operator information
CN103927201A (en) Method and device for updating game files
CN104731626A (en) Application installation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant