CN102110212A - Method and device for realizing patch amendment - Google Patents

Method and device for realizing patch amendment Download PDF

Info

Publication number
CN102110212A
CN102110212A CN2011100431437A CN201110043143A CN102110212A CN 102110212 A CN102110212 A CN 102110212A CN 2011100431437 A CN2011100431437 A CN 2011100431437A CN 201110043143 A CN201110043143 A CN 201110043143A CN 102110212 A CN102110212 A CN 102110212A
Authority
CN
China
Prior art keywords
patch
information
cancel
cancelling
utilize
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
CN2011100431437A
Other languages
Chinese (zh)
Other versions
CN102110212B (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.)
360 Digital Security Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN2011100431437A priority Critical patent/CN102110212B/en
Publication of CN102110212A publication Critical patent/CN102110212A/en
Application granted granted Critical
Publication of CN102110212B publication Critical patent/CN102110212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method and a device for realizing patch amendment. The method comprises the following steps: obtaining the information of a patch which is necessary to be repelled; and removing an installed patch according to the information of the patch which is necessary to be repelled. According to the device and the method provided by the embodiment of the invention, the installed patch which is necessary to be repelled is removed by the information of the patch by obtaining the information of the patch which is necessary to be repelled, thereby solving the problem caused by that the patch which is necessary to be repelled is not removed in time in the prior art, effectively guaranteeing the system safety and the stability of a user, and improving user experience.

Description

A kind of method and device of realizing the patch correction
Technical field
The application relates to field of computer technology, particularly relates to a kind of method and device of realizing the patch correction.
Background technology
In the various application processes of present computing machine; usually can find existing problems or leaks such as various operating systems, application software; also can be described as BUG; and these leaks can make the user occur disturbing when using operating system or software; perhaps cause the security performance of software to reduce; therefore can these leaks be repaired by writing out the program language that some can insert source program, the above-mentioned program language that is used for patching bugs just is called patch.
In the prior art, the special website of certain operations system or application software can be regularly published the patch in a period of time, to carry out the leak reparation at these operating systems or application software; Yet; the inventor finds in the research process to prior art; special website is cancelled the page at the patch of not sending out of this patch again in the prior art after regular meeting appears at the patch issue; to notify the user to unload this announced patch; and can't in time the above-mentioned patch of should cancelling be removed, then probably computer system or application program are constituted serious threat.
Summary of the invention
The embodiment of the present application provides a kind of method and device of realizing the patch correction, existing does not have timely correspondence to cancel patch to remove the problem that is caused to solve.
In order to solve the problems of the technologies described above, the embodiment of the present application discloses following technical scheme:
A kind of method that realizes the patch correction comprises:
Obtain and to cancel patch information;
Utilize the described patch information of should cancelling to remove this mounted patch.
Preferably, realize in the following way cancelling obtaining of patch information:
Utilize third party's instrument periodic refresh patch issue page;
When there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, then
Automatically visit more new url, and grasp and to cancel patch information.
Preferably, the described patch information of should cancelling comprises in the following information any one at least: patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL information, the size information of patch, patch trip information, the version information of patch, patch descriptor.
Preferably, also comprise before removing operation described:
Form and to cancel the indication bag according to the described patch information of should cancelling, utilize again and describedly cancel comprise in the indication bag described and should cancel patch information and carry out and remove operation.
Preferably, also comprise before removing operation described:
Judge whether the described patch of should cancelling is installed; If then carry out and remove operation.
Preferably, described determining step comprises:
Utilize the key assignments information in the registration table to judge whether the described patch of should cancelling is installed.
Preferably, described determining step comprises:
Utilize the patch information of having obtained of should cancelling to judge whether the described patch of should cancelling is installed.
Preferably, describedly remove operation and can realize by following steps:
Search the mounted installation GUID that should cancel the patch correspondence, calling system MSI interface is carried out the order of unloading patch.
Preferably, describedly remove operation and can realize by following steps:
Search the described patch of should cancelling the preceding source file that backs up is installed;
Utilize the source file of described backup to cover and currently mountedly should cancel patch file;
The described key assignments that should cancel the patch correspondence of deletion in registration table.
Preferably, describedly remove operation and comprise a kind of in following several mode: unloading, deletion, upgrade, cover.
A kind of device of realizing the patch correction comprises:
Acquiring unit is used to obtain and should cancels patch information;
Remove the unit, be used to utilize the described patch information of should cancelling to remove this mounted patch.
Preferably, described acquiring unit comprises:
Refresh module is used to utilize third party's instrument periodic refresh patch issue page;
First judge module is used for judging whether this updating message comprises patch and cancel suggestion, and the judged result notice being grasped module when there is lastest imformation in the described patch issue page;
Grasp module, when being used for updating message when the described patch issue page and comprising patch and cancel suggestion, visit this more new url automatically, and extracting should be cancelled patch information.
Preferably, described device also comprises:
Group bag unit, be used for cancelling the indication bag according to the patch information composition of should cancelling that described acquiring unit obtains, should describedly cancel indication bag again and sending to the described unit that removes, describedly remove that unit by using is described to be cancelled comprise in the indication bag described and should cancel patch information and carry out and remove operation in order to indicate.
Preferably, described device also comprises:
Judging unit is used to judge whether the described patch of should cancelling is installed, if then notify the described unit that removes to carry out and to remove operation.
Preferably, described judging unit comprises:
Utilize key assignments information in the registration table to judge and describedly should cancel whether mounted first processing module of patch; And/or, utilize the patch information of should cancelling obtained to judge and describedly should cancel whether mounted second processing module of patch.
Preferably, the described unit that removes comprises:
First searches module, is used to search the mounted installation GUID that should cancel the patch correspondence;
Calling module is used for calling system MSI interface and carries out the order of unloading patch.
Preferably, the described unit that removes comprises:
Second searches module, is used to search the described patch of should cancelling the preceding source file that backs up is installed;
Overlay module, be used for described second search module searches to the source file of described backup cover and currently mountedly should cancel patch file;
Removing module is used at the described key assignments that should cancel the patch correspondence of registration table deletion.
As can be seen from the above-described embodiment, in the embodiment of the present application, by obtaining the information that to cancel patch, utilize this patch information that the mounted patch of should cancelling is carried out and to be removed operation, do not remove the problem that is caused thereby solved prior art owing to there is timely correspondence to cancel patch, the security of system that has effectively guaranteed the user has promoted user experience with stable.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 realizes the first embodiment schematic flow sheet of the method for patch correction for the application;
Fig. 2 obtains the schematic flow sheet that should cancel patch information among the application first embodiment;
Fig. 3 realizes the second embodiment schematic flow sheet of the method for patch correction for the application;
Fig. 4 realizes the 3rd embodiment schematic flow sheet of the method for patch correction for the application;
Fig. 5 realizes the 4th embodiment schematic flow sheet of the method for patch correction for the application;
Fig. 6 realizes the 5th embodiment schematic flow sheet of the method for patch correction for the application
Fig. 7 realizes the embodiment block diagram of the device of patch correction for the application.
Embodiment
Basic thought of the present invention is after the patch page has appearred cancelling in special website, should cancel patch information by obtaining this, utilizes patch correcting module correspondence to cancel patch and removes, thereby effectively guaranteed user's security of system and stable.
The following embodiment of the present invention provides a kind of method and device of realizing the patch correction.
In order to make those skilled in the art person understand technical scheme in the embodiment of the invention better, and the above-mentioned purpose of the embodiment of the invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the invention is described in further detail.
Referring to Fig. 1, realize the first embodiment process flow diagram of patch modification method for the application:
Step 101: obtain and to cancel patch information;
Concrete, in practical operation, can adopt the multiple mode that should cancel patch information of obtaining: as manual type and unartificial mode etc.; Specify for example below how to obtain and should cancel patch information, but be not limited thereto, as shown in Figure 2:
S1011: adopt third party's instrument periodic refresh patch issue page;
For example, adopt the patch issue page of brush screen software program periodic refresh Microsoft; Also can be set to after the patch issue, refresh in a period of time the described patch issue page;
S1012: when there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, execution in step S1013 then, otherwise return execution in step S1011;
Concrete deterministic process adopts the judgment technology of page key word in the prior art to realize: for example analyze the source code information of current page, " cancel " etc. if wherein comprised key word, can confirm that current page has comprised patch and cancelled suggestion; Particular content this paper repeats no more;
S1013: visit more new url automatically, and grasp and to cancel patch information; Wherein, the described patch information of should cancelling comprises in the following information any one at least: the version information of the size information of patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL (Universal Resource Locator, URL(uniform resource locator)) information, patch, patch trip information, patch, patch descriptor etc.
Step 102: utilize the described patch information of should cancelling to remove this mounted patch;
Wherein, the mode that removes of patch includes but not limited in the present embodiment: modes such as unloading, deletion, renewal, covering; Can also adopt other modes, for example: comprised the corresponding renewal patch download URL of patch of cancelling in the patch information if should cancel, then terminal can and be downloaded this renewal patch according to described renewal patch download URL visit, the rerun installation procedure of this renewal patch is finished the operation that removes that should cancel patch with this; Again for example: when get access to should cancel patch information after, third party software can utilize the described patch information of should cancelling to carry out the described operation that removes that should cancel patch; Also can be for example: execution should be cancelled the program that removes of patch or systemic presupposition, when get access to should cancel patch information after, utilize and describedly should cancel the operation that removes that patch information is carried out corresponding patch; Certainly, those of ordinary skills readily understand, describedly remove operation and can also have multiple mode, and this paper does not repeat them here.
Preferably, also can include but not limited to following operation described before removing operation: judge whether the described patch of should cancelling is installed; If not, end operation then; Otherwise, carry out removing operation;
Concrete judgment mode can adopt any one in the following dual mode, but is not limited to this:
A: utilize the key assignments information in the registration table to judge whether the described patch of should cancelling is installed;
For example if will judge whether patch KB979099 installs, at first whether inquiry has the key assignments that comprises KB979099 in the following project of registration table:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component?Based?Servicing\Packages\
If described patch has been installed, then certainly exist in the project of above-mentioned registration table similar Package_for_KB979099_RTM~31bf3856ad364e35~x86~~register button of 6.1.1.0 exists, and is the mount message of described patch in this key; Can judge with this whether the current patch of should cancelling is installed.
B: utilize the patch information of having obtained of should cancelling to judge whether the described patch of should cancelling is installed;
Concrete, can utilize described fileversion number in the patch information or the filename of should cancelling to wait and judge, but be not limited to this: for example should cancel patch for upgrading patch, its effect is that to make its corresponding application program be updated to version be 10.1.102.64; If will judge that this should cancel patch and whether install, whether the file that promptly need inquire about version and be 10.1.102.64 under this application program place drive catalogue exists, if the file existence can confirm that then the described patch of should cancelling installs.
In addition, it should be noted that, also can include but not limited to following operation described before removing operation: when get access to described should cancel patch information after, utilize this should cancel the patch information composition and cancel the indication bag, and then utilize this to cancel the described patch information of should cancelling that comprises in the indication bag and carry out the follow-up operation that removes.
Embodiment to the output intent of the application's service packs information is described below in conjunction with several practical application examples.
Referring to Fig. 3, realize second embodiment of patch modification method for the application:
Step 301: obtain and to cancel patch information;
Concrete, can how to obtain in the following way and should cancel patch information, but be not limited thereto:
S3011: adopt third party's instrument periodic refresh patch issue page;
S3012: when there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, execution in step S3013; Otherwise, end operation;
S3013: then visit more new url automatically, and grasp and to cancel patch information; Wherein, the described patch information of should cancelling comprises in the following information any one at least: the version information of the size information of patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL (Universal Resource Locator, URL(uniform resource locator)) information, patch, patch trip information, patch, patch descriptor etc.
Step 302: utilize the key assignments information in the registration table to judge whether the described patch of should cancelling is installed; If then execution in step 303; If not, end operation then.
For example if will judge whether patch KB979099 installs, at first whether inquiry has the key assignments that comprises KB979099 in the following project of registration table:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component?Based?Servicing\Packages\
If described patch has been installed, then certainly exist in the project of above-mentioned registration table similar Package_for_KB979099_RTM~31bf3856ad364e35~x86~~register button of 6.1.1.0 exists, and is the mount message of described patch in this key; Can judge with this whether the current patch of should cancelling is installed.
Step 303: find the installation GUID of patch correspondence, calling system MSI interface is carried out the order of unloading patch; Wherein, the concrete unloading order of calling system MSI interface execution is as follows; Msiexec.exe/quiet/package{90120000-0011-0000-0000-000000 0FF1CE}/uninstall{7961E819-93A5-40A8-8469-4BE2FBBFACEF}.
Referring to Fig. 4, realize the 3rd embodiment of patch modification method for the application:
Step 401: obtain and to cancel patch information;
Concrete, can how to obtain in the following way and should cancel patch information, but be not limited thereto:
S4011: adopt third party's instrument periodic refresh patch issue page;
S4012: when there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, execution in step S3013; Otherwise, end operation;
S4013: then visit more new url automatically, and grasp and to cancel patch information; Wherein, the described patch information of should cancelling comprises in the following information any one at least: the version information of the size information of patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL (Universal Resource Locator, URL(uniform resource locator)) information, patch, patch trip information, patch, patch descriptor etc.
Step 402: utilize the patch information of having obtained of should cancelling to judge whether the described patch of should cancelling is installed; If then execution in step 403; If not, end operation then.
Concrete, can utilize described fileversion number in the patch information or the filename of should cancelling to wait and judge, but be not limited to this: for example should cancel patch for upgrading patch, its effect is that to make its corresponding application program be updated to version be 10.1.102.64; If will judge that this should cancel patch and whether install, whether the file that promptly need inquire about version and be 10.1.102.64 under this application program place drive catalogue exists, if the file existence can confirm that then the described patch of should cancelling installs.
Step 403: find described should cancel patch install before the source file of backup, utilize source file with described backup to cover and currently mountedly should cancel patch file, and in registration table the described key assignments that should cancel the patch correspondence of deletion, finish removing of patch.
Referring to Fig. 5, realize the 4th embodiment of patch modification method for the application:
Step 501: obtain and to cancel patch information;
Concrete, can how to obtain in the following way and should cancel patch information, but be not limited thereto:
S5011: adopt third party's instrument periodic refresh patch issue page;
S5012: when there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, execution in step S3013; Otherwise, end operation;
S5013: then visit more new url automatically, and grasp and to cancel patch information; Wherein, the described patch information of should cancelling comprises in the following information any one at least: the version information of the size information of patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL (Universal Resource Locator, URL(uniform resource locator)) information, patch, patch trip information, patch, patch descriptor etc.
Step 502: utilize the key assignments information in the registration table to judge whether the described patch of should cancelling is installed; If then execution in step 503; If not, end operation then.
For example if will judge whether patch KB979099 installs, at first whether inquiry has the key assignments that comprises KB979099 in the following project of registration table:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component?Based?Servicing\Packages\
If described patch has been installed, then certainly exist in the project of above-mentioned registration table similar Package_for_KB979099_RTM~31bf3856ad364e35~x86~~register button of 6.1.1.0 exists, and is the mount message of described patch in this key; Can judge with this whether the current patch of should cancelling is installed.
Step 503: find described should cancel patch install before the source file of backup, utilize source file with described backup to cover and currently mountedly should cancel patch file, and in registration table the described key assignments that should cancel the patch correspondence of deletion, finish removing of patch.
Referring to Fig. 6, realize the 5th embodiment of patch modification method for the application:
Step 601: obtain and to cancel patch information;
Concrete, can how to obtain in the following way and should cancel patch information, but be not limited thereto:
S6011: adopt third party's instrument periodic refresh patch issue page;
S6012: when there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, execution in step S3013; Otherwise, end operation;
S6013: then visit more new url automatically, and grasp and to cancel patch information; Wherein, the described patch information of should cancelling comprises in the following information any one at least: the version information of the size information of patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL (Universal Resource Locator, URL(uniform resource locator)) information, patch, patch trip information, patch, patch descriptor etc.
Step 602: utilize the patch information of having obtained of should cancelling to judge whether the described patch of should cancelling is installed; If then execution in step 603; If not, end operation then.
Concrete, can utilize described fileversion number in the patch information or the filename of should cancelling to wait and judge, but be not limited to this: for example should cancel patch for upgrading patch, its effect is that to make its corresponding application program be updated to version be 10.1.102.64; If will judge that this should cancel patch and whether install, whether the file that promptly need inquire about version and be 10.1.102.64 under this application program place drive catalogue exists, if the file existence can confirm that then the described patch of should cancelling installs.
Step 603: find the installation GUID of patch correspondence, calling system MSI interface is carried out the order of unloading patch; Wherein, the concrete unloading order of calling system MSI interface execution is as follows; Msiexec.exe/quiet/package{90120000-0011-0000-0000-000000 0FF1CE}/uninstall{7961E819-93A5-40A8-8469-4BE2FBBFACEF}.
As can be seen, adopt the method for the above embodiment of the present invention, by obtaining the information that to cancel patch, utilize this patch information that the mounted patch of should cancelling is carried out and to be removed operation, do not remove the problem that is caused thereby solved prior art owing to there is timely correspondence to cancel patch, the security of system that has effectively guaranteed the user has promoted user experience with stable.
The embodiment of method that realizes the patch correction with the application is corresponding, and the application also provides the embodiment of the device of realizing this method.
Realize the embodiment block diagram of the device of patch correction referring to Fig. 7, for the application:
This device comprises: acquiring unit 710 and remove unit 720.
Wherein, described acquiring unit 710 is used to obtain and should cancels patch information;
The described unit 720 that removes is used to utilize the described patch information of should cancelling to remove this mounted patch.
Further, described acquiring unit 710 also can comprise (not shown among Fig. 7):
Refresh module is used to utilize third party's instrument periodic refresh patch issue page;
First judge module is used for judging whether this updating message comprises patch and cancel suggestion, and the judged result notice being grasped module when there is lastest imformation in the described patch issue page;
Grasp module, when being used for updating message when the described patch issue page and comprising patch and cancel suggestion, visit this more new url automatically, and extracting should be cancelled patch information.
Preferably, the device of the realization patch correction of present embodiment also comprises:
Group bag unit (not shown among Fig. 7), be used for cancelling the indication bag according to the patch information composition of should cancelling that described acquiring unit 710 obtains, should describedly cancel indication bag again and sending to the described unit 720 that removes, and utilize and describedly cancel comprise in the indication bag described and should cancel patch information and carry out and remove operation in order to indicate the described unit 720 that removes.
Preferably, the device of the realization patch correction of present embodiment also can comprise:
Judging unit (not shown among Fig. 7) is used to judge whether the described patch of should cancelling is installed, if then notify the described unit 720 of removing to carry out and remove operation.
Further, described judging unit comprises: utilize key assignments information in the registration table to judge and describedly should cancel whether mounted first processing module of patch; And/or, utilize the patch information of should cancelling obtained to judge and describedly should cancel whether mounted second processing module of patch; It should be noted that these two modules that described judging unit comprises can be present in the judging unit simultaneously, can certainly only have one, concrete viewing system demand and deciding, this paper does not repeat them here.
Preferably, the described unit 720 that removes comprises (not shown among Fig. 7):
First searches module, is used to search the mounted installation GUID that should cancel the patch correspondence;
Calling module is used for calling system MSI interface and carries out the order of unloading patch.
In addition, the described unit that removes also can comprise:
Second searches module, is used to search the described patch of should cancelling the preceding source file that backs up is installed;
Overlay module, be used for described second search module searches to the source file of described backup cover and currently mountedly should cancel patch file;
Removing module is used at the described key assignments that should cancel the patch correspondence of registration table deletion.
The technology that those skilled in the art can be well understood in the embodiment of the invention can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme in the embodiment of the invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Above-described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. a method that realizes the patch correction is characterized in that, comprising:
Obtain and to cancel patch information;
Utilize the described patch information of should cancelling to remove this mounted patch.
2. method according to claim 1 is characterized in that, realizes in the following way cancelling obtaining of patch information:
Utilize third party's instrument periodic refresh patch issue page;
When there is lastest imformation in the described patch issue page, judge whether this updating message comprises patch and cancel suggestion; If, then
Automatically visit more new url, and grasp and to cancel patch information.
3. method according to claim 2, it is characterized in that the described patch information of should cancelling comprises in the following information any one at least: patch name information, patch type information, patch level information, patch information date issued, patch bulletin URL information, the size information of patch, patch trip information, the version information of patch, patch descriptor.
4. method according to claim 1 is characterized in that, also comprises before removing operation described:
Form and to cancel the indication bag according to the described patch information of should cancelling, utilize again and describedly cancel comprise in the indication bag described and should cancel patch information and carry out and remove operation.
5. method according to claim 1 is characterized in that, also comprises before removing operation described:
Judge whether the described patch of should cancelling is installed; If then carry out and remove operation.
6. method according to claim 5 is characterized in that, described determining step comprises:
Utilize the key assignments information in the registration table to judge whether the described patch of should cancelling is installed.
7. method according to claim 5 is characterized in that, described determining step comprises:
Utilize the patch information of having obtained of should cancelling to judge whether the described patch of should cancelling is installed.
8. method according to claim 5 is characterized in that, describedly removes operation and can realize by following steps:
Search the mounted installation GUID that should cancel the patch correspondence, calling system MSI interface is carried out the order of unloading patch.
9. method according to claim 5 is characterized in that, describedly removes operation and can realize by following steps:
Search the described patch of should cancelling the preceding source file that backs up is installed;
Utilize the source file of described backup to cover and currently mountedly should cancel patch file;
The described key assignments that should cancel the patch correspondence of deletion in registration table.
10. method according to claim 1 is characterized in that, describedly removes operation and comprises a kind of in following several mode: unloading, deletion, upgrade, cover.
11. a device of realizing the patch correction is characterized in that, comprising:
Acquiring unit is used to obtain and should cancels patch information;
Remove the unit, be used to utilize the described patch information of should cancelling to remove this mounted patch.
12. device according to claim 11 is characterized in that, described acquiring unit comprises:
Refresh module is used to utilize third party's instrument periodic refresh patch issue page;
First judge module is used for judging whether this updating message comprises patch and cancel suggestion, and the judged result notice being grasped module when there is lastest imformation in the described patch issue page;
Grasp module, when being used for updating message when the described patch issue page and comprising patch and cancel suggestion, visit this more new url automatically, and extracting should be cancelled patch information.
13. device according to claim 11 is characterized in that, described device also comprises:
Group bag unit, be used for cancelling the indication bag according to the patch information composition of should cancelling that described acquiring unit obtains, should describedly cancel indication bag again and sending to the described unit that removes, describedly remove that unit by using is described to be cancelled comprise in the indication bag described and should cancel patch information and carry out and remove operation in order to indicate.
14. device according to claim 11 is characterized in that, described device also comprises:
Judging unit is used to judge whether the described patch of should cancelling is installed, if then notify the described unit that removes to carry out and to remove operation.
15. device according to claim 14 is characterized in that, described judging unit comprises:
Utilize key assignments information in the registration table to judge and describedly should cancel whether mounted first processing module of patch; And/or, utilize the patch information of should cancelling obtained to judge and describedly should cancel whether mounted second processing module of patch.
16. device according to claim 14 is characterized in that, the described unit that removes comprises:
First searches module, is used to search the mounted installation GUID that should cancel the patch correspondence;
Calling module is used for calling system MSI interface and carries out the order of unloading patch.
17. device according to claim 14 is characterized in that, the described unit that removes comprises:
Second searches module, is used to search the described patch of should cancelling the preceding source file that backs up is installed;
Overlay module, be used for described second search module searches to the source file of described backup cover and currently mountedly should cancel patch file;
Removing module is used at the described key assignments that should cancel the patch correspondence of registration table deletion.
CN2011100431437A 2011-02-21 2011-02-21 Method and device for realizing patch amendment Active CN102110212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100431437A CN102110212B (en) 2011-02-21 2011-02-21 Method and device for realizing patch amendment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100431437A CN102110212B (en) 2011-02-21 2011-02-21 Method and device for realizing patch amendment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201210277968.XA Division CN102855442B (en) 2011-02-21 2011-02-21 A kind of realization installs method and the device that patch removes

Publications (2)

Publication Number Publication Date
CN102110212A true CN102110212A (en) 2011-06-29
CN102110212B CN102110212B (en) 2013-01-30

Family

ID=44174368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100431437A Active CN102110212B (en) 2011-02-21 2011-02-21 Method and device for realizing patch amendment

Country Status (1)

Country Link
CN (1) CN102110212B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN106843922A (en) * 2016-12-13 2017-06-13 青岛海信移动通信技术股份有限公司 The update method and device of a kind of program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277574A (en) * 2005-03-30 2006-10-12 Toshiba Corp Software configuration management system for medical equipment
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101661400A (en) * 2009-09-16 2010-03-03 中兴通讯股份有限公司 Method and device for managing software patches
CN101694625A (en) * 2009-11-09 2010-04-14 金蝶软件(中国)有限公司 Method and device for upgrading client software based on encryption sever management
CN101931944A (en) * 2010-07-23 2010-12-29 华为终端有限公司 Method, device and system for updating terminal patches on line

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277574A (en) * 2005-03-30 2006-10-12 Toshiba Corp Software configuration management system for medical equipment
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101661400A (en) * 2009-09-16 2010-03-03 中兴通讯股份有限公司 Method and device for managing software patches
CN101694625A (en) * 2009-11-09 2010-04-14 金蝶软件(中国)有限公司 Method and device for upgrading client software based on encryption sever management
CN101931944A (en) * 2010-07-23 2010-12-29 华为终端有限公司 Method, device and system for updating terminal patches on line

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN106843922A (en) * 2016-12-13 2017-06-13 青岛海信移动通信技术股份有限公司 The update method and device of a kind of program
CN106843922B (en) * 2016-12-13 2020-08-04 青岛海信移动通信技术股份有限公司 Program updating method and device

Also Published As

Publication number Publication date
CN102110212B (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN103473067B (en) Built-in Linux subregion and data restoration method, system and system development method
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
CN101110788B (en) Method and system for updating client software
CN104679534B (en) System application installation package loading processing method, apparatus and terminal
CN108027741A (en) Document handling method, device, terminal and storage medium based on patch upgrading
CN102236764B (en) Method and monitoring system for Android system to defend against desktop information attack
US20090210871A1 (en) System and method for software application migration
CN103019767B (en) A kind of method of system upgrade, device and airborne entertainment system
CN103345411A (en) Method and device for uninstalling application program
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN107291511A (en) Method and apparatus for the application program updating of vehicle-mounted Android system
GB2513528A (en) Method and system for backup management of software environments in a distributed network environment
US7912813B2 (en) CMDB-based policy propagation
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
CN102110212B (en) Method and device for realizing patch amendment
CN104111843A (en) Sandbox based script updating method and system
CN110362333A (en) A kind of quick solution, device and electronic equipment that client upgrading hinders
CN102855442B (en) A kind of realization installs method and the device that patch removes
JP5537599B2 (en) Version upgrade management method in business system
CN105447382A (en) Sandbox based software registry redirection method and system
CN102156651B (en) Method and device for realizing installation of patches
CN113760306A (en) Method and device for installing software, electronic equipment and storage medium
CN111782236A (en) System software upgrading method and device, storage medium and all-in-one machine equipment
GB2513535A (en) Software installer with built-in hypervisor
CN106033364A (en) Method and system for upgrading Web application programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220318

Address after: 100016 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.