CN102902564A - Method and device for installing patches - Google Patents

Method and device for installing patches Download PDF

Info

Publication number
CN102902564A
CN102902564A CN2012103646149A CN201210364614A CN102902564A CN 102902564 A CN102902564 A CN 102902564A CN 2012103646149 A CN2012103646149 A CN 2012103646149A CN 201210364614 A CN201210364614 A CN 201210364614A CN 102902564 A CN102902564 A CN 102902564A
Authority
CN
China
Prior art keywords
patch
file
compressed package
package
installation
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
CN2012103646149A
Other languages
Chinese (zh)
Other versions
CN102902564B (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.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
360 Digital Security Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210364614.9A priority Critical patent/CN102902564B/en
Publication of CN102902564A publication Critical patent/CN102902564A/en
Application granted granted Critical
Publication of CN102902564B publication Critical patent/CN102902564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for installing patches. The method comprises the following steps of: obtaining a to-be-installed patch package in accordance with a presetting rule; building a folder according to the relative information of the to-be-installed patch package; invoking an uncompressing program in the system to uncompress the to-be-installed patch package into the folder; and invoking a program package manager program in the system to carry out the installation operation on the folder, thereby realizing installation of the patches. With the adoption of the method and the device, the installation speed of the patches can be improved.

Description

Method and the device of patch are installed
Technical field
The present invention relates to the computer security technique field, be specifically related to install method and the device of patch.
Background technology
Computer system is made of jointly computer's software resource and hardware resource, and computer operating system is basis and the core of computer's software resource, other software resource such as user application software, and usually all needing operating system is that its operation provides support.Computer operating system is in charge of the software and hardware resource of computing machine, controls and support the operation of other programs, and the functions such as operation interface are provided for the user, is the basis of whole computer system operation.An outstanding operating system, effectively the software and hardware resources of supervisory computer facilitates for the user uses computing machine.Yet the design and development of operating system is a complexity and various defectives and mistake can appear in great system engineering unavoidably, and these defectives and mistake are referred to as system vulnerability usually.System vulnerability may cause grave error, also may be utilized by illegal person, comes the rogue programs such as transmitted virus, wooden horse, and user machine system is destroyed, and user profile is stolen etc.Also be so for some application software, can occur to cause equally the leak of serious consequence in the process of this design and development.So in the process of development computer operating system or application software, in time discovery and disposal system leak also are the important component parts of whole soft project.
The developer of operating system or application software has usually for the user provides the method for patching bugs: issue new edition operating system or application software offer the user and use; Provide patch for the discovery leak to the user, select and installation etc. at user side.A kind of use of method is more general wherein.The process of patch being installed at user side generally includes inquiry, download, carries out several steps are installed, and special upgrading module or program that some developers have been operating system or applied software development realizes installing the correlation function of patch.Yet in the application of reality, some upgrading modules or program exist long problem consuming time in the process that patch is installed.Therefore, the technical matters that solves in the urgent need to those skilled in the art just is how to reduce the time that patch is installed, patch can be installed faster.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of method and the corresponding device that patch is installed of the installation patch that overcomes the problems referred to above or address the above problem at least in part are provided.
According to one aspect of the present invention, a kind of method that patch is installed is provided, comprising:
Obtain the patch compressed package to be installed that meets presetting rule;
Relevant information according to described patch compressed package to be installed is set up file;
Decompress(ion) program in the calling system unzips to described patch compressed package to be installed in the described file;
Package Manager program in the calling system is carried out fitting operation to described file, to realize the installation to patch.
Alternatively, the described decompress(ion) program of calling unzips to described patch compressed package to be installed and also comprises after the described file:
Obtain the number of the Cab bag that described file comprises;
Described calling program package manager program, and described routine package supervisory routine pointed to described file, to realize the installation to patch, comprising:
If the number of the Cab that described file comprises bag is one only, calls described Package Manager program, and described routine package supervisory routine is pointed to described file, to realize the installation to patch.
Alternatively, also comprise:
If the number of the Cab that described file comprises bag is at least two, then calls Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Alternatively, also comprise:
If the described decompress(ion) program of calling unzips to procedure failure in the described file with described patch compressed package to be installed, then call Windows and upgrade independent installation procedure described patch compressed package to be installed is carried out fitting operation, to realize the installation to patch.
Alternatively, also comprise:
If described calling program package manager program is carried out the procedure failure of fitting operation to described file, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Alternatively, described relevant information according to described patch compressed package to be installed is set up file and is comprised:
Preservation position and filename according to described patch compressed package to be installed are set up file.
Alternatively, the described patch compressed package to be installed that meets presetting rule that obtains comprises:
Obtain the patch compressed package to be installed with specific suffix name;
Perhaps,
Obtain the patch compressed package to be installed that in conventional installation process, needs in current computer, to carry out search step.
According to a further aspect in the invention, provide a kind of device that patch is installed, having comprised:
The compressed package acquiring unit is used for obtaining the patch compressed package to be installed that meets presetting rule;
File is set up the unit, is used for setting up file according to the relevant information of described patch compressed package to be installed;
The first routine call unit, the decompress(ion) program that is used for calling system unzips to described patch compressed package to be installed in the described file;
The second routine call unit, the Package Manager program that is used for calling system is carried out fitting operation to described file, to realize the installation to patch.
Alternatively, also comprise:
The number acquiring unit is used for the described decompress(ion) program of calling described patch compressed package to be installed is unziped to after the described file, obtains the number that Cab that described file comprises wraps;
Described the second routine call unit specifically is used for:
If the number of the Cab that described file comprises bag is one only, calls described Package Manager program, and described routine package supervisory routine is pointed to described file, to realize the installation to patch.
Alternatively, also comprise:
The 3rd routine call unit if the number that the Cab that comprises for described file wraps is at least two, then calls Windows and upgrades independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Alternatively, also comprise:
Quadruple pass order call unit, if be used for the described procedure failure that the decompress(ion) program unzips to described patch compressed package to be installed described file that calls, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Alternatively, also comprise:
The 5th routine call unit, if be used for described calling program package manager program is carried out fitting operation to described file procedure failure, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Alternatively, described file is set up the unit and specifically is used for:
Preservation position and filename according to described patch compressed package to be installed are set up file.
Alternatively, described compressed package acquiring unit comprises:
First obtains subelement, is used for obtaining the patch compressed package to be installed with specific suffix name;
Perhaps,
Second obtains subelement, is used for obtaining the patch compressed package to be installed that needs to carry out search step in conventional installation process in current computer.
According to patch installation method of the present invention and device, when the service packs such as msu are carried out fitting operation, can call in a conventional manner this program of wusa.exe installs, decompress(ion) program in file, the calling system is carried out decompress(ion), the Package Manager program in the calling system is carried out and installed again but by carry out creating, realize installation to service packs with this, in this course owing to having skipped unnecessary processes such as " in current computer, carrying out search ", therefore, so that the speed of patch be installed get a promotion.And, prove through practical test, skip the unnecessary process such as " upgrading in current computer search " can't so that the performance of operating system or service packs effect be affected.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the according to an embodiment of the invention process flow diagram of method; And
Fig. 2 shows the according to an embodiment of the invention schematic diagram of system.
Implementation
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Referring to Fig. 1, the method for the installation patch that the embodiment of the invention provides can may further comprise the steps:
S101: obtain the patch compressed package to be installed that meets presetting rule;
In actual applications, generally only have the patch of some specific types just the long problem that expends time in can occur when mounted.For example, when the installation of the service packs that is called msu by the execution suffix, under the mounting means of routine, can call special-purpose program wusa.exe service packs is carried out fitting operation; But, under the mounting means of this routine, have a process of " just upgrading in this computing machine search " in the early stage of installing, this process generally can take a long time, reason may be relevant with system environments with current network, and this has just caused the whole installation process of patch to take a long time.Wherein, wusa.exe is the vital document that leaves in the Windows system folder, generally in the installing operating system process, automatically create, therefore, under usual manner, generally all be to use wusa.exe that the msu service packs is installed, and the process of " just upgrading in this computing machine search " is initiated to carry out by wusa.exe, the renewal that it uses the Windows Update metadata removal search in the msu bag to use, purpose generally is whether the checking patch can maybe need to be mounted etc., therefore, time of expending in installation process of general msu service packs all can be long.
But if common patch, the conventional required time of expending of installation process is may not can oversize, processes in a conventional manner getting final product.Therefore, in embodiments of the present invention, can set in advance some rules, be used for select the patch that to install according to the mode that the embodiment of the invention provides.Wherein, concrete rule can be, judges whether patch to be installed has the suffix name that presets, for example, and aforementioned msu etc.During specific implementation, can preset a suffix list of file names, judge whether the suffix name of current patch to be installed appears in this tabulation.Perhaps, concrete rule also can be, judge whether patch to be installed needs to carry out search step in conventional installation process in current computer, during specific implementation, can set in advance this service packs tabulation that in conventional installation process, needs in current computer, to carry out search step, judge whether patch to be installed appears in this tabulation, etc.
S102: the relevant information according to described patch compressed package to be installed is set up file;
After having determined the service packs that to install according to the method for the embodiment of the invention, just can carry out concrete installment work.In installation process, need to carry out decompress(ion) to service packs to be installed, for this reason, at first need to create a file, in order to the result behind the decompress(ion) is saved in this document folder.Wherein, specifically when creating file, can set up according to preservation position and the filename of patch compressed package to be installed.For example, in Windows7 operating system, service packs to be installed is " Windows6.1-KB2564958-x86.msu ", the position at this patch package file place is: C: Windows6.1-KB2564958-x86.msu, then can create following file: " C: Windows6.1-KB2564958-x86 ".As seen, the file of this new establishment and patch package file to be installed are under same catalogue, and the title of file is identical with the filename (not comprising the suffix name) of service packs to be installed.Certainly, in actual applications, also can use other mode to create file, also not necessarily the filename with service packs is identical for the title of file, describes in detail no longer one by one here.
S103: the decompress(ion) program in the calling system unzips to described patch compressed package to be installed in the described file;
Created after the file, just can separate press operation to service packs to be installed, the decompress(ion) result has been saved in the file that creates in the previous step.When decompress(ion), directly the decompress(ion) program in the calling system is carried out.Wherein, during specific implementation, the decompress(ion) program can be expand.exe.Can call this decompress(ion) program by the mode of cmd order line, for example, when the service packs in the previous example is carried out decompress(ion), then can open cmd.exe, then input and carry out to issue orders:
expand-F:*“C:\Windows?6.1-KB2564958-x86.msu”“C:\Windows6.1-KB2564958-x86”
Carry out above order, just can be with under this file of " C: Windows6.1-KB2564958-x86.msu " this compressed package decompression " C: Windows6.1-KB2564958-x86 ".
S104: the Package Manager program in the calling system is carried out fitting operation to described file, to realize the installation to patch.
After in service packs being unziped to a file, the Package Manager program in just can calling system is carried out fitting operation to described file, so just can finish the fitting operation to patch.Wherein, in embodiments of the present invention, the Package Manager program can refer to the pkgmgr.exe program, and this program is a routine package that is used for installing, unload, configuring and upgrade operation system function.Can participate in installing answer file at the installation of off line object computer or renewal operating system (for example Windows Vista) function program bag with unmanned by the service routine package manager.Therefore, in embodiments of the present invention, just can use the pkgmgr.exe program that the file of having preserved the decompress(ion) result is carried out fitting operation.During specific implementation, can use equally the mode of cmd order line to call this pkgmgr.exe program.Still take previous example as example, when " C: Windows 6.1-KB2564958-x86 " this file is carried out fitting operation, can open cmd.exe, then input and carry out to issue orders:
pkgmgr.exe/ip/m:“C:\Windows6.1-KB2564958-x86”
Carry out after the mentioned order, just can finish the installation to " C: Windows6.1-KB2564958-x86.msu " this patch.
As seen, in embodiments of the present invention, when the service packs such as msu are carried out fitting operation, can call in a conventional manner this program of wusa.exe installs, decompress(ion) program in file, the calling system is carried out decompress(ion), the Package Manager program in the calling system is carried out and installed again but by carry out creating, realize installation to service packs with this, in this course owing to having skipped unnecessary processes such as " in current computer, carrying out search ", therefore, so that the speed of patch be installed get a promotion.And, prove through practical test, skip the unnecessary process such as " upgrading in current computer search " can't so that the performance of operating system or service packs effect be affected.
Need to prove, the patch installation method that the embodiment of the invention provides can combine with the product of the functions such as leak reparation, this leak is repaired product generally all can have the vulnerability database file of oneself, substantially the needed whole patches of user have been included, in the vulnerability database each patch is also disposed the scanning Rule of judgment, when the user moved leak reparation product, this product just can be judged current user system environment according to these conditions, and whether needs were installed this patch.Therefore, just be equivalent to before carrying out concrete fitting operation can to whether can or certain patch of needs installation verify.
The method of the installation patch that provides with the embodiment of the invention is corresponding, and the embodiment of the invention also provides a kind of device that patch is installed, and referring to Fig. 2, this device can comprise:
Compressed package acquiring unit 201 is used for obtaining the patch compressed package to be installed that meets presetting rule;
File is set up unit 202, is used for setting up file according to the relevant information of described patch compressed package to be installed;
The first routine call unit 203, the decompress(ion) program that is used for calling system unzips to described patch compressed package to be installed in the described file;
The second routine call unit 204, the Package Manager program that is used for calling system is carried out fitting operation to described file, to realize the installation to patch.
During specific implementation, this device can also comprise:
The number acquiring unit is used for the described decompress(ion) program of calling described patch compressed package to be installed is unziped to after the described file, obtains the number that Cab that described file comprises wraps;
Described the second routine call unit 204 specifically is used for:
If the number of the Cab that described file comprises bag is one only, calls described Package Manager program, and described routine package supervisory routine is pointed to described file, to realize the installation to patch.
In actual applications, this device can also comprise:
The 3rd routine call unit if the number that the Cab that comprises for described file wraps is at least two, then calls Windows and upgrades independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Optionally, this device can also comprise:
Quadruple pass order call unit, if be used for the described procedure failure that the decompress(ion) program unzips to described patch compressed package to be installed described file that calls, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
In addition, this device can also comprise:
The 5th routine call unit, if be used for described calling program package manager program is carried out fitting operation to described file procedure failure, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
Wherein, described file is set up unit 201 and specifically can be used for:
Preservation position and filename according to described patch compressed package to be installed are set up file.
Described compressed package acquiring unit can comprise:
First obtains subelement, is used for obtaining the patch compressed package to be installed with specific suffix name;
Perhaps,
Second obtains subelement, is used for obtaining the patch compressed package to be installed that needs to carry out search step in conventional installation process in current computer.
In embodiments of the present invention, when the service packs such as msu are carried out fitting operation, can call in a conventional manner this program of wusa.exe installs, decompress(ion) program in file, the calling system is carried out decompress(ion), the Package Manager program in the calling system is carried out and installed again but by carry out creating, realize installation to service packs with this, in this course owing to having skipped unnecessary processes such as " in current computer, carrying out search ", therefore, so that the speed of patch be installed get a promotion.And, prove through practical test, skip the unnecessary process such as " upgrading in current computer search " can't so that the performance of operating system or service packs effect be affected.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that there be these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the patch erecting equipment of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
The application can be applied to computer system/server, and it can be with numerous other universal or special computingasystem environment or configuration operation.The example that is suitable for well-known computing system, environment and/or the configuration used with computer system/server includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, system, set-top box, programmable consumer electronics, NetPC Network PC, minicomputer system, large computer system based on microprocessor and comprise the distributed cloud computing technology environment of above-mentioned any system, etc.Computer system/server can be described under the general linguistic context of the computer system executable instruction (such as program module) of being carried out by computer system.Usually, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they are carried out specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in the distributed cloud computing environment, task is by carrying out by the teleprocessing equipment of communication network link.In distributed cloud computing environment, program module can be positioned on the Local or Remote computing system storage medium that comprises memory device.

Claims (14)

1. method that patch is installed comprises:
Obtain the patch compressed package to be installed that meets presetting rule;
Relevant information according to described patch compressed package to be installed is set up file;
Decompress(ion) program in the calling system unzips to described patch compressed package to be installed in the described file;
Package Manager program in the calling system is carried out fitting operation to described file, to realize the installation to patch.
2. method according to claim 1, the described decompress(ion) program of calling also comprises after described patch compressed package to be installed is unziped to described file:
Obtain the number of the Cab bag that described file comprises;
Described calling program package manager program, and described routine package supervisory routine pointed to described file, to realize the installation to patch, comprising:
If the number of the Cab that described file comprises bag is one only, calls described Package Manager program, and described routine package supervisory routine is pointed to described file, to realize the installation to patch.
3. method according to claim 2 also comprises:
If the number of the Cab that described file comprises bag is at least two, then calls Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
4. method according to claim 1 also comprises:
If the described decompress(ion) program of calling unzips to procedure failure in the described file with described patch compressed package to be installed, then call Windows and upgrade independent installation procedure described patch compressed package to be installed is carried out fitting operation, to realize the installation to patch.
5. method according to claim 1 also comprises:
If described calling program package manager program is carried out the procedure failure of fitting operation to described file, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
6. according to claim 1 to 5 each described methods, described relevant information according to described patch compressed package to be installed is set up file and is comprised:
Preservation position and filename according to described patch compressed package to be installed are set up file.
7. according to claim 1 to 5 each described methods, the described patch compressed package to be installed that meets presetting rule that obtains comprises:
Obtain the patch compressed package to be installed with specific suffix name;
Perhaps,
Obtain the patch compressed package to be installed that in conventional installation process, needs in current computer, to carry out search step.
8. device that patch is installed comprises:
The compressed package acquiring unit is used for obtaining the patch compressed package to be installed that meets presetting rule;
File is set up the unit, is used for setting up file according to the relevant information of described patch compressed package to be installed;
The first routine call unit, the decompress(ion) program that is used for calling system unzips to described patch compressed package to be installed in the described file;
The second routine call unit, the Package Manager program that is used for calling system is carried out fitting operation to described file, to realize the installation to patch.
9. device according to claim 8 also comprises:
The number acquiring unit is used for the described decompress(ion) program of calling described patch compressed package to be installed is unziped to after the described file, obtains the number that Cab that described file comprises wraps;
Described the second routine call unit specifically is used for:
If the number of the Cab that described file comprises bag is one only, calls described Package Manager program, and described routine package supervisory routine is pointed to described file, to realize the installation to patch.
10. device according to claim 9 also comprises:
The 3rd routine call unit if the number that the Cab that comprises for described file wraps is at least two, then calls Windows and upgrades independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
11. device according to claim 8 also comprises:
Quadruple pass order call unit, if be used for the described procedure failure that the decompress(ion) program unzips to described patch compressed package to be installed described file that calls, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
12. device according to claim 8 also comprises:
The 5th routine call unit, if be used for described calling program package manager program is carried out fitting operation to described file procedure failure, then call Windows and upgrade independent installation procedure to described patch compressed package execution fitting operation to be installed, to realize the installation to patch.
13. to 12 each described devices, described file is set up the unit and specifically is used for according to claim 8:
Preservation position and filename according to described patch compressed package to be installed are set up file.
14. to 12 each described devices, described compressed package acquiring unit comprises according to claim 8:
First obtains subelement, is used for obtaining the patch compressed package to be installed with specific suffix name;
Perhaps,
Second obtains subelement, is used for obtaining the patch compressed package to be installed that needs to carry out search step in conventional installation process in current computer.
CN201210364614.9A 2012-09-26 2012-09-26 Method and the device of patch are installed Active CN102902564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210364614.9A CN102902564B (en) 2012-09-26 2012-09-26 Method and the device of patch are installed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210364614.9A CN102902564B (en) 2012-09-26 2012-09-26 Method and the device of patch are installed

Publications (2)

Publication Number Publication Date
CN102902564A true CN102902564A (en) 2013-01-30
CN102902564B CN102902564B (en) 2016-06-01

Family

ID=47574810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210364614.9A Active CN102902564B (en) 2012-09-26 2012-09-26 Method and the device of patch are installed

Country Status (1)

Country Link
CN (1) CN102902564B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607444A (en) * 2013-11-14 2014-02-26 北京国双科技有限公司 Method and apparatus for download processing of Zip compression packet in application program
CN107562485A (en) * 2017-07-31 2018-01-09 北京北信源软件股份有限公司 A kind of method and device of automatic data collection patch data
WO2022156277A1 (en) * 2021-01-21 2022-07-28 统信软件技术有限公司 Application program installation method and apparatus, and computing device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735862A (en) * 2003-12-15 2006-02-15 微软公司 System and method for updating installation components in a networked environment
CN102087607A (en) * 2011-02-21 2011-06-08 北京奇虎科技有限公司 Method and device for installing patch packets
CN102402438A (en) * 2010-09-16 2012-04-04 金蝶软件(中国)有限公司 Method and device for automatically merging patch files and communication terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735862A (en) * 2003-12-15 2006-02-15 微软公司 System and method for updating installation components in a networked environment
CN102402438A (en) * 2010-09-16 2012-04-04 金蝶软件(中国)有限公司 Method and device for automatically merging patch files and communication terminal
CN102087607A (en) * 2011-02-21 2011-06-08 北京奇虎科技有限公司 Method and device for installing patch packets

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MICROSOFT: "Package Manager Command-Line Options", 《HTTP://TECHNET.MICROSOFT.COM/EN-US/LIBRARY/CC748979(V=WS.10).ASPX》 *
春水东流: "Windows6.0-KB929427-x86(1)安装失败?", 《HTTPS://SOCIAL.TECHNET.MICROSOFT.COM/FORUMS/ZH-CN/DBBD2EC4-397F-436C-A983-37F80BEB9599/WINDOWS60KB929427X861?FORUM=VISTAZHCHS》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607444A (en) * 2013-11-14 2014-02-26 北京国双科技有限公司 Method and apparatus for download processing of Zip compression packet in application program
CN103607444B (en) * 2013-11-14 2016-10-05 北京国双科技有限公司 The download process method and apparatus of Zip compressed package in application program
CN107562485A (en) * 2017-07-31 2018-01-09 北京北信源软件股份有限公司 A kind of method and device of automatic data collection patch data
CN107562485B (en) * 2017-07-31 2021-03-02 北京北信源软件股份有限公司 Method and device for automatically collecting patch data
WO2022156277A1 (en) * 2021-01-21 2022-07-28 统信软件技术有限公司 Application program installation method and apparatus, and computing device and readable storage medium

Also Published As

Publication number Publication date
CN102902564B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US11221838B2 (en) Hot update method, operating system, terminal device, system, and computer-readable storage medium for a system process
CN103942073A (en) Method and device for realizing system hot patching
CN104714827A (en) Plug-in update method and device
CN102045390A (en) Automated deployment of computer-specific software updates
CN103034512A (en) Method and device for updating programs
CN104834555A (en) Method for invoking functional module, related device and device repairing method
CN104199711A (en) Method and device for creating root access
CN103677898A (en) Method for checking loaded extension and/or plug-in on server side and server
CN113434158B (en) Custom management method, device, equipment and medium for big data component
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN103793248A (en) Method and device for upgrading application program
CN105302563A (en) Plug-in method and system for mobile application service
CN104036019A (en) Method and device for opening webpage links
US11645086B2 (en) System and method for implementing a filesystem agent management solution
CN104915239A (en) Method and device for carrying out multi-process startup by container
CN103500114A (en) Method and device for installing application program
CN102902564A (en) Method and device for installing patches
CN102981942B (en) A kind of task processing method and system
CN102968336B (en) Method and system for processing tasks
CN109032617B (en) Control method and control device for automatically deleting installation package
CN104360880A (en) Application installing method and electronic equipment
CN103020180A (en) Control node-based program deploying method and device
CN116149713B (en) Program upgrading method and device for all-level equipment under tree-type heterogeneous network
CN103530155A (en) Method and device for installing application program
CN103546563A (en) Method and system for intelligent update of terminal software

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
CP01 Change in the name or title of a patent holder

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting 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.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20220324

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.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.

TR01 Transfer of patent right