CN110489154A - A kind of method for repairing and mending based on windows operating system patch - Google Patents
A kind of method for repairing and mending based on windows operating system patch Download PDFInfo
- Publication number
- CN110489154A CN110489154A CN201910551673.9A CN201910551673A CN110489154A CN 110489154 A CN110489154 A CN 110489154A CN 201910551673 A CN201910551673 A CN 201910551673A CN 110489154 A CN110489154 A CN 110489154A
- Authority
- CN
- China
- Prior art keywords
- patch
- windows
- server
- information
- file
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000009434 installation Methods 0.000 claims abstract description 10
- 230000008676 import Effects 0.000 claims description 4
- 230000006855 networking Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 5
- 230000009193 crawling Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method for repairing and mending based on windows operating system patch, this method comprises: obtaining the announced patch information in Microsoft official website, and obtain patch file corresponding to the patch information, and the patch file is stored in file server;The patch file being stored on this document server is issued on the windows server for needing to install patch, and patch installation is carried out by script;Script is called to carry out patch unloading.Through the above way, method for repairing and mending disclosed in this invention based on windows operating system patch allows to directly be coupled with Microsoft official website, the publication of patch can be monitored in real time, make it possible to carry out patch update at the first time, greatly improve the experience of user.
Description
Technical field
The present invention relates to windows operation system technology fields, are based on windows operating system more particularly to one kind
The method for repairing and mending of patch.
Background technique
After it experienced large-scale Informatization Development, the level of IT application and degree of enterprise have huge mention for China
It rises.The scale of enterprise application system is also increasing, and content is also more and more comprehensive and gos deep into.With the lasting fortune of these systems
Row, the content that operation management is related to are also more and more important.And the patch of application program updates and management, is enterprise's application fortune
The key points and difficulties of dimension.
It is all to go to obtain by client-server itself in traditional patch mode for windows operating system
Patch, there is no related platforms to be monitored the publication of patch, leads to that patch update cannot be carried out at the first time.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of method for repairing and mending based on windows operating system patch,
Allow to directly be coupled with Microsoft official website, the publication of patch can be monitored in real time, made it possible at the first time
Carry out patch update.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: it provides a kind of based on windows behaviour
Make the method for repairing and mending of system mend, which comprises obtain the announced patch information in Microsoft official website, and obtain the patch
Patch file corresponding to information, and the patch file is stored in file server;It will be stored on this document server
Patch file be issued on the windows server for needing to install patch, and pass through script carry out patch installation;Call foot
This progress patch unloading.
Further, the announced patch information in the acquisition Microsoft official website, and obtain benefit corresponding to the patch information
The step of fourth file, includes: that official website is connect with the Microsoft in the case where determining networking situation, and obtains from the Microsoft official website announced
Patch information, and patch file corresponding with the patch information is downloaded from the Microsoft official website.
Further, described to obtain announced patch information from the Microsoft official website, and from the Microsoft official website downloading with
The step of patch information corresponding patch file includes: to obtain announced patch within a predetermined period of time by api interface
Issuing interface, and find by the patch issuing interface No. KB of all patches in the predetermined amount of time;Pass through this No. KB
Patch information corresponding to crawling this No. KB from the Microsoft official website;It is downloaded corresponding to the patch information from the Microsoft official website
Patch file.
Further, described that the patch file being stored on this document server is issued to the visitor for needing to install patch
Step on the end of family includes: to be scanned to windows server all under management business;Judge the windows server
Whether patch is needed to update;If it is, the patch file on this document server is issued on the windows server.
Further, described the step of carrying out patch installation by script includes: the dimension according to windows server
Selection needs patch to be mounted.
Further, it is described by script carry out patch installation the step of include: according to patch dimension selection need into
The server that row patch updates.
Further, the announced patch information in the acquisition Microsoft official website, and obtain benefit corresponding to the patch information
The step of fourth file includes: that when determining failed cluster, addition or batch import patch information manually, and upload patch text
Part, and patch information and patch file are matched.
Further, this method further includes: obtaining the affiliated business of windows server, the windows of patch being needed to service
The IP address of device, need patch windows server account, patch storage path, patch sweep time, patch scanning week
Phase and patch file upload path, and upload.
Further, this method further includes: in the display interface show patch sum, installed patch quantity,
The sum of windows server, installed patch windows server sum and windows server reparation shape
Condition.
The beneficial effects of the present invention are: be in contrast to the prior art, it is of the invention based on windows operating system
The method for repairing and mending of patch includes: to obtain the announced patch information in Microsoft official website, and obtain patch corresponding to the patch information
File, and the patch file is stored in file server;The patch file being stored on this document server is issued to
It needs to install on the windows server of patch, and patch installation is carried out by script;Script is called to carry out patch unloading.It is logical
Cross aforesaid way, the method for repairing and mending disclosed in this invention based on windows operating system patch allows to directly and Microsoft
Official website is coupled, and can be monitored in real time to the publication of patch, makes it possible to carry out patch update at the first time, significantly
Improve the experience of user.
Detailed description of the invention
Fig. 1 is that the present invention is based on the flow diagrams of the method for repairing and mending of windows operating system patch;
Fig. 2 is a sub-step flow diagram of step S101 in Fig. 1;
Fig. 3 is another sub-step flow diagram of step S101 in Fig. 1;
Fig. 4 is the sub-step flow diagram of step S102 in Fig. 1.
Specific embodiment
The present invention is described in detail with embodiment with reference to the accompanying drawing.
As shown in Figure 1, Fig. 1 is that the present invention is based on the flow diagrams of the method for repairing and mending of windows operating system patch.
Method includes the following steps:
Step S101: obtaining the announced patch information in Microsoft official website, and obtains the text of patch corresponding to the patch information
Part, and the patch file is stored in file server.
It is noted that the present embodiment, which is not limited from Microsoft official website, obtains announced patch information, it can also be from other
Official website obtains announced patch information.
In the present embodiment, the announced patch information in Microsoft official website is obtained, and obtains benefit corresponding to the patch information
The step of fourth file, includes: that official website is connect with the Microsoft in the case where determining networking situation, and obtains from the Microsoft official website announced
Patch information, and patch file corresponding with the patch information is downloaded from the Microsoft official website.
It should be understood that in the case where determining connected state, the publication for capableing of the patch to Microsoft official website in real time is monitored, can
The patch information that this month of monitoring in time or some period are issued makes it possible to carry out patch update at the first time, mention significantly
The experience of user is risen.That is, under networking situation, it can be from the synchronous patch information in Microsoft official website.
Further, as shown in Fig. 2, obtaining announced patch information from the Microsoft official website, and from the Microsoft official website
Download patch file corresponding with the patch information the step of include:
Step S1011: announced patch issuing interface within a predetermined period of time is obtained by api interface, and by being somebody's turn to do
Patch issuing interface finds all patches (KB) number in the predetermined amount of time.
Step S1012: by this No. KB from the Microsoft official website crawl this No. KB corresponding to patch information.It should be understood that
The HTML code for crawling mode and mainly passing through code simulation browse request Microsoft official website website, and returned from Microsoft's website/
The behavior of patch file corresponding to the patch information extracted in json data.
Step S1013: patch file corresponding to the patch information is downloaded from the Microsoft official website.
It should be understood that Microsoft official website can monthly issue monthly update, monthly update includes many patches (KB), therefore logical
It crosses monthly patch issuing interface and finds these No. KB, then crawl corresponding patch information from Microsoft official website by No. KB,
Middle patch information include system version information, download link and information etc. aiming at the problem that repair.
It should be understood that in some embodiments, in the case where that can not network, the acquisition Microsoft announced patch in official website
Information, and the step of obtaining patch file corresponding to the patch information include: when determining failed cluster manually addition or
Batch imports patch information, and uploads patch file, and match to patch information and patch file.It should be understood that import
Patch information and the quantity of patch file are relatively more, it is therefore necessary to and it matches which patch information and patch file corresponds,
Patch is facilitated to update.Further, configuration patch number is carried out to each patch information, and each patch file is configured and is somebody's turn to do
The corresponding patch file number of patch number, enables patch information good with patch file Rapid matching.
Further, it as shown in figure 3, the patch file being stored on this document server is issued to needs that patch is installed
Client on step include:
Step S1014: windows server (i.e. client-server) all under management business is scanned.It answers
Understand, scanning mainly gets the patch update status of every windows server by issuing script, that is, obtains every
Windows service implement body is mounted with patch corresponding to which patch number.
Preferably, the present embodiment is swept by periodically carrying out automatic batch to windows server all under management business
It retouches.
Step S1015: judge whether the windows server needs patch to update.
It should be understood that the foundation for judging whether the windows server needs patch to update is: for windows server
System version filtered out from patch library and need the patch (KB) that updates, then with the scanning knot of every windows server
Fruit compares, and judges whether windows server is equipped with patch corresponding to the patch number, if there is being mounted with the patch
Patch corresponding to number illustrates not needing patch update, if being fitted without patch corresponding to the patch number, illustrates to need
Patch updates.
If so, thening follow the steps S1016: the patch file on this document server is issued the windows server
On.
If it is not, then return step S1014.
Step S102: the patch file being stored on this document server is issued to the windows for needing to install patch
On server, and patch installation is carried out by script.
As shown in figure 4, step S102 includes following sub-step:
Step S1021: the patch file being stored on this document server is issued to and needs to install patch
On windows server.
Step S1022: patch to be mounted is needed according to the dimension selection of windows server.
Step S1023: need to carry out the server of patch update according to the dimension selection of patch.
That is, may be selected to need to install according to the dimension selection of windows server when executing the step S1021
Patch, also can choose and need to carry out the server of patch update according to the dimension selection of patch.
It should be understood that needing to carry out more for this windows server when a new online windows server
Newly, patch to be mounted is needed according to the dimension selection of windows server at this time, i.e., selection is with the dimension of windows server
Batch is installed more convenient.When windows server belongs to old server, Microsoft official website is newest when having issued a patch, needs
To update patch on the windows server of management, this when of selection with the dimension of patch to windows server into
Row batch updating is more convenient.
Step S103: script is called to carry out patch unloading.
It should be understood that the patch reparation of windows operating system is specific aim reparation, therefore the update for patch,
Windows operating system is not what whole system updated, but windows operating system needs the portion of patch for part
Part carries out patch update, that is to say, which place needing to update patch, windows behaviour windows operating system occurs
Which place makees system will carry out patch downloading and update for.
Further, in some embodiments, it is somebody's turn to do the method for repairing and mending based on windows operating system patch further include: obtain
Take the affiliated business of windows server, the IP address for the windows server for needing patch, the windows server for needing patch
Account, patch storage path, patch sweep time, patch scan period and patch file upload path, and upload.Ying Li
Solution obtains the affiliated business of windows server, the IP address for the windows server for needing patch, the windows for needing patch
Account, patch storage path, patch sweep time, patch scan period and the patch file of server upload path, Neng Goufang
Just administrator has a clear understanding of the route conditions which and patch the current server for needing to update patch have.
Preferably, scan report can be formed while uploading and facilitate access, wherein scanning report includes windows clothes
The affiliated business of business device, the IP address of windows server for needing patch, the account of windows server for needing patch, patch
It stores path, patch sweep time, patch scan period and patch file and uploads path, check, show so that administrator can understand
Show and export scanning report.
Further, in some embodiments, it is somebody's turn to do the method for repairing and mending based on windows operating system patch further include: In
On display interface show patch sum, installed patch quantity, windows server sum, patch has been installed
The sum of windows server and the reparation situation of windows server.It should be understood that showing patch in the display interface
Sum, installed patch quantity, windows server sum, installed patch windows server sum and
The reparation situation of windows server can clearly reflect the more news of current patch, which can be clearly indicated out
A little servers do not update patch, how many server has been updated patch.
To sum up, the method for repairing and mending of the invention based on windows operating system patch includes: and obtains Microsoft official website to have sent out
The patch information of cloth, and patch file corresponding to the patch information is obtained, and the patch file is stored in file server
In;The patch file being stored on this document server is issued on the windows server for needing to install patch, and is led to
It crosses script and carries out patch installation;Script is called to carry out patch unloading.By the above-mentioned means, disclosed in this invention be based on
The method for repairing and mending of windows operating system patch allows to directly be coupled with Microsoft official website, can be in real time to patch
Publication be monitored, make it possible at the first time carry out patch update, greatly improve the experience of user.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.
Claims (9)
1. a kind of method for repairing and mending based on windows operating system patch, which is characterized in that the described method includes:
The announced patch information in Microsoft official website is obtained, and obtains patch file corresponding to the patch information, and by the patch
File is stored in file server;
The patch file being stored on this document server is issued on the windows server for needing to install patch, and is led to
It crosses script and carries out patch installation;
Script is called to carry out patch unloading.
2. the method for repairing and mending according to claim 1 based on windows operating system patch, which is characterized in that described to obtain
The announced patch information in Microsoft official website is taken, and the step of obtaining patch file corresponding to the patch information includes:
In the case where determining networking situation, official website is connect with the Microsoft, and from the announced patch information of Microsoft official website acquisition, and from
Patch file corresponding with the patch information is downloaded in the Microsoft official website.
3. the method for repairing and mending according to claim 2 based on windows operating system patch, which is characterized in that it is described from
The Microsoft official website obtains announced patch information, and patch file corresponding with the patch information is downloaded from the Microsoft official website
The step of include:
Announced patch issuing interface within a predetermined period of time is obtained by api interface, and is looked by the patch issuing interface
No. KB for finding all patches in the predetermined amount of time;
By this No. KB from the Microsoft official website crawl this No. KB corresponding to patch information;
Patch file corresponding to the patch information is downloaded from the Microsoft official website.
4. the method for repairing and mending according to claim 3 based on windows operating system patch, which is characterized in that described to incite somebody to action
The patch file being stored on this document server is issued to the step in the client for needing to install patch
Windows server all under management business is scanned;
Judge whether the windows server needs patch to update;
If it is, the patch file on this document server is issued on the windows server.
5. the method for repairing and mending according to claim 1 based on windows operating system patch, which is characterized in that described logical
Crossing the step of script carries out patch installation includes:
Patch to be mounted is needed according to the dimension selection of windows server.
6. the method for repairing and mending according to claim 1 based on windows operating system patch, which is characterized in that described logical
Crossing the step of script carries out patch installation includes:
Need to carry out the server of patch update according to the dimension selection of patch.
7. the method for repairing and mending according to claim 1 based on windows operating system patch, which is characterized in that described to obtain
The announced patch information in Microsoft official website is taken, and the step of obtaining patch file corresponding to the patch information includes:
When determining failed cluster, addition or batch import patch information manually, and upload patch file, and to patch information
It is matched with patch file.
8. the method for repairing and mending according to claim 1 based on windows operating system patch, which is characterized in that this method
Further include:
It obtains the affiliated business of windows server, the IP address for the windows server for needing patch, the windows of patch needed to take
Account, patch storage path, patch sweep time, patch scan period and the patch file of business device upload path, and upload.
9. the method for repairing and mending according to claim 8 based on windows operating system patch, which is characterized in that this method
Further include:
In the display interface show patch sum, installed patch quantity, windows server sum, patch has been installed
Windows server sum and windows server reparation situation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910551673.9A CN110489154A (en) | 2019-06-25 | 2019-06-25 | A kind of method for repairing and mending based on windows operating system patch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910551673.9A CN110489154A (en) | 2019-06-25 | 2019-06-25 | A kind of method for repairing and mending based on windows operating system patch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110489154A true CN110489154A (en) | 2019-11-22 |
Family
ID=68546328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910551673.9A Pending CN110489154A (en) | 2019-06-25 | 2019-06-25 | A kind of method for repairing and mending based on windows operating system patch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110489154A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115396535A (en) * | 2022-08-24 | 2022-11-25 | 北京安天网络安全技术有限公司 | Patch updating method, device and system based on agent |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624861A (en) * | 2011-11-28 | 2012-08-01 | 苏州奇可思信息科技有限公司 | Enterprise network-oriented operating system upgrade patch updating method |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of intranet patch distribution management system |
CN106970811A (en) * | 2017-03-09 | 2017-07-21 | 腾讯科技(深圳)有限公司 | A kind of patch file installation method and its equipment |
CN107562485A (en) * | 2017-07-31 | 2018-01-09 | 北京北信源软件股份有限公司 | A kind of method and device of automatic data collection patch data |
CN109522042A (en) * | 2018-12-27 | 2019-03-26 | 深信服科技股份有限公司 | A kind of patch update method, system and associated component |
-
2019
- 2019-06-25 CN CN201910551673.9A patent/CN110489154A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624861A (en) * | 2011-11-28 | 2012-08-01 | 苏州奇可思信息科技有限公司 | Enterprise network-oriented operating system upgrade patch updating method |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of intranet patch distribution management system |
CN106970811A (en) * | 2017-03-09 | 2017-07-21 | 腾讯科技(深圳)有限公司 | A kind of patch file installation method and its equipment |
CN107562485A (en) * | 2017-07-31 | 2018-01-09 | 北京北信源软件股份有限公司 | A kind of method and device of automatic data collection patch data |
CN109522042A (en) * | 2018-12-27 | 2019-03-26 | 深信服科技股份有限公司 | A kind of patch update method, system and associated component |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115396535A (en) * | 2022-08-24 | 2022-11-25 | 北京安天网络安全技术有限公司 | Patch updating method, device and system based on agent |
CN115396535B (en) * | 2022-08-24 | 2024-02-23 | 北京安天网络安全技术有限公司 | Patch updating method, device, system, equipment and medium based on proxy |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101211312B (en) | Device and method for monitoring and managing patch of client | |
US7500234B2 (en) | System-updating method and computer system adopting the method | |
CN110413295B (en) | Remote firmware updating method for embedded equipment | |
CN103077108B (en) | A kind of method and system browser collapse being carried out to early warning | |
US20050229256A2 (en) | Automated Computer Vulnerability Resolution System | |
CN105354140A (en) | Automation testing method and system | |
CN111090452B (en) | Service environment switching method and computer readable storage medium | |
CN1668010A (en) | Tag-based schema for distributing update metadata in an update distribution system | |
CN103957248A (en) | Public real-time data management cloud service platform based on Internet of Things | |
CN104424095A (en) | Automatic testing method and system of mobile terminal | |
CN103530565A (en) | Method and device for scanning website program bugs based on web | |
CN102427466A (en) | Long-distance updating system and long-distance software automatic updating method based on same | |
CN112104501A (en) | Remote software upgrading method for agricultural machinery subsoiling Internet of things terminal equipment | |
CN106549810A (en) | Cloud service platform redaction issues front method of testing, device and system | |
CN107682361A (en) | Website vulnerability scan method, device, computer equipment and storage medium | |
CN106210114A (en) | A kind of multiple terminals software parallel downloads upgrade method | |
CN110489154A (en) | A kind of method for repairing and mending based on windows operating system patch | |
CN108616391A (en) | Method and system for upgrading equipment firmware at server side | |
CN108804121A (en) | Method for edition management, device, medium in distributed system and electronic equipment | |
CN103778026A (en) | Object calling method and device | |
CN108897558A (en) | The FPGA remote online upgrade method of safety based on Ethernet protocol | |
CN106970811A (en) | A kind of patch file installation method and its equipment | |
CN103036992B (en) | A kind of data download method and device | |
CN117608761A (en) | Kubernetes cluster deployment method, device, equipment and storage medium | |
CN109145054A (en) | A kind of method of managing customer end data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191122 |
|
RJ01 | Rejection of invention patent application after publication |