CN107562485A - A kind of method and device of automatic data collection patch data - Google Patents

A kind of method and device of automatic data collection patch data Download PDF

Info

Publication number
CN107562485A
CN107562485A CN201710641500.7A CN201710641500A CN107562485A CN 107562485 A CN107562485 A CN 107562485A CN 201710641500 A CN201710641500 A CN 201710641500A CN 107562485 A CN107562485 A CN 107562485A
Authority
CN
China
Prior art keywords
patch data
windows
gather
patch
data
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
CN201710641500.7A
Other languages
Chinese (zh)
Other versions
CN107562485B (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 VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp 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 VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201710641500.7A priority Critical patent/CN107562485B/en
Publication of CN107562485A publication Critical patent/CN107562485A/en
Application granted granted Critical
Publication of CN107562485B publication Critical patent/CN107562485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes a kind of method of automatic data collection patch data, including:Connect Windows renewal service databases;The configuration information for being updated from the Windows and patch data being gathered in service database is obtained, and obtains the attribute information for the patch data for needing to gather;Obtain the related dependant rule of the patch data in the Windows renewals service database;According to the configuration information, the attribute information of the patch data for needing to gather, and the related dependant rule of the patch data in the Windows renewals service database, updated from the Windows and the patch data for needing to gather is gathered in service database.Using above-mentioned technical proposal, it can realize from Windows and update automatic data collection patch data in service database.

Description

A kind of method and device of automatic data collection patch data
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method and device of automatic data collection patch data.
Background technology
Leak reparation based on patch data provides most basic guarantee for terminal security, and obtains the related benefit of leak Fourth data are then the first steps of leak repair.Therefore, collection, the arrangement of patch data are the essential rings of terminal security Section, the collection of patch data is the foundation stone of patch management.
But the collection of patch data can not be realized easily.This is primarily due to:
1st, patch data is very huge, complicated, different operating system (such as windows 7, windows 8, windows 10 Deng), software product (such as IE, OFFICE) etc. have the patch data of oneself, while different operating system, software product are again Because the difference of services package (Service Pack, SP) version, CPU architecture, language category etc. produces the classification of new patch data;
2nd, patch data can change in real time, and new leak is ceaselessly found, reports, repaired, it is known that leak reparation Scheme can with research deeply, the evolution of technology and update, iteration, so the related patch of leak exist it is expired, substituted, And therefore the possibility that packing is integrated, patch data also update, changed often.
For a long time, the scheme that security firm gathers to patch data is taken great pains to guard a secret.At present, patch data does not have maturation , feasible acquisition scheme publishes.And if simple dependence manually carries out the collection of patch data, time cost is too high, The problems such as there may be omission, renewal hysteresis simultaneously.
The content of the invention
The defects of based on above-mentioned prior art and deficiency, the present invention propose a kind of method and dress of automatic data collection patch data Put, can realize and automatically gather patch data.
First aspect present invention proposes a kind of method of automatic data collection patch data, including:Connect Windows more new demand servicings Database;The configuration information for being updated from the Windows and patch data being gathered in service database is obtained, and obtains needs and adopts The attribute information of the patch data of collection;Obtain the related dependant rule of the patch data in the Windows renewals service database Then;According to the configuration information, the attribute information of the patch data for needing to gather, and the Windows more new demand servicings The related dependant of patch data in database is regular, and gathering the needs from Windows renewal service databases adopts The patch data of collection.Above-mentioned technical proposal obtains the information needed for collection patch data automatically, and according to information needed, from The patch data of needs is gathered in Windows renewal service databases, realizes the automation of patch data collection.
Second aspect of the present invention proposes a kind of device of automatic data collection patch data, including:Connection unit, for connecting Windows updates service database;First acquisition unit, gathered for obtaining to update in service database from the Windows The configuration information of patch data, and obtain the attribute information for the patch data for needing to gather;Second acquisition unit, for obtaining The related dependant rule of patch data in the Windows renewals service database;Data acquisition unit, for according to Benefit in the attribute information of configuration information, the patch data for needing to gather, and Windows renewal service databases The related dependant rule of fourth data, updates from the Windows and the patch data for needing to gather is gathered in service database.
In one implementation, before connection Windows renewal service databases, this method also includes:Inquiry Windows updates service database, obtains general exclusive identification code corresponding to each operating system and software product;According to acquisition General exclusive identification code corresponding to each operating system and software product, update in service database and sieve from the Windows Select the operating system and software product for the patch data for needing to gather;According to the operation system of the patch data for needing to gather System and software product, generate log file;Wherein, the log file also includes the attribute of the patch data for needing to gather Information.
In one implementation, the attribute information for obtaining the patch data for needing to gather, including:Parse the note File is recorded, obtains the attribute information of the patch data for needing to gather.
In one implementation, the benefit for needing to gather is gathered in service database is updated from the Windows After fourth data message, this method also includes:Obtain and store the key message of the Windows renewals service database.
In one implementation, matching somebody with somebody for patch data is gathered in acquisition updates service database from the Windows Confidence ceases, and after obtaining the attribute information of patch data for needing to gather, is obtaining the Windows renewals service data Before the related dependant rule of patch data in storehouse, this method also includes:Obtain the Windows renewals service database Key message;The Windows of acquisition is updated into the key message of service database with being obtained during last time collection patch data The key message of the Windows renewal service databases taken is contrasted, and judges the Windows renewals service database With the presence or absence of renewal;If the Windows renewals service database has renewal, the Windows more new demand servicings are obtained The related dependant rule of patch data in database.
In one implementation, it is described according to the configuration information, it is described need gather patch data attribute letter The related dependant rule of patch data in breath, and Windows renewal service databases, updates from the Windows The patch data for needing to gather is gathered in service database, including:Call the behaviour of the Windows renewals service database Make interface, obtain patch data all in the Windows renewals service database;Travel through all patches obtained Data, when often traversing a patch data, perform following operate:Believed according to the attribute of the patch data for needing to gather Breath, and the related dependant rule of the patch data, detect whether the patch data traversed meets acquisition condition;If time The patch data gone through meets acquisition condition, then calls the operate interface of Windows renewal service database, described in acquisition The Back ground Information and detection installation logical message of the patch data traversed;The basis letter of the patch data traversed described in parsing Breath, the download address of the installation file of the patch data traversed described in acquisition, and from the peace of the patch data traversed The installation file of the patch data traversed described in the download address download of dress file.
In one implementation, the benefit for needing to gather is gathered in service database is updated from the Windows After fourth data message, this method also includes:Circular mail inbox into the configuration information sends mail, notifies this benefit Fourth data acquisition situation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for automatic data collection patch data disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another automatic data collection patch data disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of the device of automatic data collection patch data disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of the device of another automatic data collection patch data disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the device of another automatic data collection patch data disclosed in the embodiment of the present invention.
Embodiment
The technical scheme for the automatic data collection patch data that the embodiment of the present invention proposes, the Windows provided dependent on Microsoft More new demand servicing (Windows Server Update Services, WSUS).Contained in the database of Windows more new demand servicings Most patch data, but its content is very huge, numerous and diverse, and Microsoft is not provided with detailed related data, institute The value not used directly with the patch data provided in the database of Windows more new demand servicings.
The purpose for the technical scheme that the embodiment of the present invention is proposed is, there is provided a set of perfect patch data collection side Case, the patch data of needs can be collected from the database of Windows more new demand servicings.Implement technical solution of the present invention it Before, Windows more new demand servicings are disposed first, and it is automatic synchronization to set the synchronization plans of Windows more new demand servicings, so as to energy It is enough to obtain patch data renewal in time.
, can be automatically from the database of Windows more new demand servicings using technical scheme of the embodiment of the present invention The patch data that collection needs in (Windows Server Update Services Data Base, SUSDB).
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method of automatic data collection patch data, shown in Figure 1, this method includes:
S101, connection Windows renewal service databases;
Specifically, the technical scheme for the automatic data collection patch data that the embodiment of the present invention proposes, is provided dependent on Microsoft Windows more new demand servicings.Most patch data is contained in the database of Windows more new demand servicings, the present invention is implemented Example technical scheme can search for connection Windows renewal service databases automatically, and updating to gather in service database from Windows needs The patch data wanted.
S102, the configuration information for being updated from the Windows and patch data being gathered in service database is obtained, and obtained Need the attribute information of patch data gathered;
Specifically, the configuration information of above-mentioned collection patch data, including timing detection time, patch data storage location, The configuration informations such as circular mail inbox.Above-mentioned configuration information can flexibly be set by technical staff, and be sent to export instrument Configured.
The attribute information of the patch data of above-mentioned needs collection, include the operating system and software product of patch data, with And the information such as the services package version related to needing the patch data that gathers, language form.The attribute information of patch data, can be with Formulated by technical staff, or directly update in service database and read from Windows.
S103, obtain the related dependant rule that the Windows updates the patch data in service database;
Specifically, the related dependant rule of patch data, refers to the detection of patch data, the precondition installed, this hair Bright embodiment updates service database by inquiring about, arranging Windows, you can obtains the related dependant rule of patch data.
S104, the patch data gathered according to the configuration information, the needs attribute information, and it is described The related dependant rule of patch data in Windows renewal service databases, updates in service database from the Windows Gather the patch data for needing to gather.
Specifically, the embodiment of the present invention is by gathering the configuration information of patch data, needing the category of patch data that gathers Property information, and Windows renewal service database in patch data related dependant rule, from Windows more new demand servicings The patch data for needing to gather is filtered out in database, and is acquired, obtains needing the patch data gathered.
, can be certainly by the above-mentioned technical scheme for introducing the automatic data collection patch data visible, the embodiment of the present invention proposes The dynamic relevant information for obtaining collection patch data, then according to relevant information, from the Windows renewal service databases of connection Collection needs the patch data gathered, realizes the automation collection of patch data.
Fig. 2 shows the specific implementation process of the method for above-mentioned automatic data collection patch data.It is shown in Figure 2, the present invention The specific implementation process of the method for automatic data collection patch data disclosed in embodiment, including:
S201, inquiry Windows renewal service databases, are obtained general unique corresponding to each operating system and software product Identification code;
Specifically, above-mentioned general exclusive identification code (Universally Unique Identifier, UUID) refers to whole It is general in individual Windows renewals service database, for unique mark operating system and the identification code of software product.
The embodiment of the present invention can be by traveling through each operating system and software product in Windows renewal service databases UUID, to obtain the UUID of all operating systems and software product in whole Windows renewal service database.
S202, the general exclusive identification code according to corresponding to each operating system and software product of acquisition, updated from Windows The operating system and software product for the patch data for needing to gather are filtered out in service database;
Specifically, when the embodiment of the present invention confirms each operating system and software product in Windows renewal service databases After corresponding UUID, according to UUID corresponding to each operating system and software product, and the operation of patch data gathered is needed The UUID of system and software product, the operation that the patch data for needing to gather is filtered out in service database is updated from Windows System and software product.
S203, the patch data gathered according to the needs filtered out operating system and software product, generate log file;
Specifically, above-mentioned log file, is that the operating system of the patch data gathered by the needs filtered out and software produce Product information, and the attribute information composition such as the services package version related to the patch data that needs gather, language form Cfg.xml files.Cfg.xml file records need the attribute information of the patch data gathered, in the later stage specifically gather patch During data, according to recorded in cfg.xml files operating system, software product information, and with needing the patch data that gathers The attribute informations such as related services package version, language form, update in service database from Windows and gather patch data.
Above step S201~S203 completes the initial preparation of collection patch data, that is, specify that what needs gathered Patch data, and need the correlation attribute information of patch data gathered.Next, need to dispose export instrument, by exporting Instrument is updated in service database from Windows exports the patch data of needs, that is, realizes that the automation of patch data is adopted Collection.
The detailed process of export instrument collection patch data is as follows:
S204, connection Windows renewal service databases;
S205, obtain the configuration information for being updated from Windows and patch data being gathered in service database;
Specifically, the configuration information of above-mentioned collection patch data, including timing detection time, patch data storage location, The configuration informations such as circular mail inbox.Above-mentioned configuration information can flexibly be set by technical staff, and be sent to export instrument Configured.
When exporting instrument timing arrival timing detection time, perform step S206, obtain Windows renewal service datas The key message in storehouse;
Specifically, the key message of above-mentioned Windows renewals service database, refers to update service data by Windows Patch item sum, Windows renewal service database last time synchronized update times, the Windows in storehouse are updated on service database The key message of the information structures such as the change (being related to expired patch number, substituted patch number etc.) of subsynchronous renewal.
The embodiment of the present invention is updated in service database from Windows directly reads above-mentioned key message.
S207, the Windows of acquisition updated into the key message of service database with being obtained during last collection patch data The key message of the Windows renewal service databases taken is contrasted, and judges that Windows renewal service databases whether there is Renewal;
Specifically, the key message of the Windows renewal service databases generated during above-mentioned last collection patch data, Refer to it is upper once gather patch data when, download patch installation file after generate Windows renewal service database pass Key information.
If the key message of the Windows renewal service databases at the current time that step S206 is obtained is adopted with the last time It is identical to collect the key message of the Windows renewal service databases obtained during patch data, then illustrates gathering patch number twice According to period, Windows renewal service databases do not update;And if the current time that step S206 is obtained The key message of Windows renewal service databases and the Windows more new demand servicing numbers obtained during last collection patch data Different according to the key message in storehouse, then during patch data is gathered twice, Windows renewal service databases exist more explanation Newly.
If renewal is not present in Windows renewal service databases, when waiting arrival timing detection time next time, hold Row step S206;If Windows renewal service databases have renewal, step S208, parsing log file are performed, is obtained Need the attribute information of patch data gathered;
Specifically, the attribute information of the patch data of above-mentioned needs collection, include the operating system and software of patch data Product, and the information such as the services package version related to the patch data that needs gather, language form.
By the log file for generating and storing in analyzing step S203, the above- mentioned information of patch data can be obtained.
It should be noted that step S208 processing procedure, can also after step S205, and step S206 it Before.The execution moment of step S208 processing procedure is exchanged, does not interfere with the technique effect of technical scheme of the embodiment of the present invention.
S209, obtain the related dependant rule that Windows updates the patch data in service database;
Specifically, in Windows updates service database, all corresponding one of each item of information (patch data) is general Exclusive identification code UUID, while Windows renewal service databases are that each patch item stores its detection, the premise of installation Condition.If patch A (corresponding UUID for " fd4edc28-9cdd-4f8f-a5ec-b806b1d7dd7d) is to be used for windows One patch of 7 32-bit operating systems, then, (corresponding UUID is " BFE5B177-A086-47A0-B102- to windwos 7 097E4FA1F807), x86 (corresponding UUID for " 3E0AFB10-A9FB-4C16-A60E-5790C3803437) is patch Prerequisite.The detection of above-mentioned patch item, the precondition of installation, form the related dependant rule of patch data.
The embodiment of the present invention updates service database by inquiring about, arranging Windows, you can obtains the correlation of patch data Dependent Rule.
S210, the operate interface for calling Windows renewal service databases, obtain in Windows renewal service databases All patch datas;
All patch datas that S211, traversal obtain, when often traversing a patch data, perform following operate:
S212, the patch data gathered as needed attribute information, and the related dependant rule of patch data, detection Whether the patch data traversed meets acquisition condition;
Specifically, the attribute information of the patch data of above-mentioned needs collection, refers to the patch data obtained in step S208 Operating system and software product, and the information such as the services package version related to needing the patch data that gathers, language form.
The related dependant rule of above-mentioned patch data, before the detection of the patch item for referring to obtain in step S209, installation Put forward condition.
The attribute information for the patch data that the embodiment of the present invention gathers as needed, and the related dependant rule of patch data Then, judge whether each patch data traversed meets acquisition condition.Specifically, first according to the correlation of patch data Dependent Rule, judge the operating system and software product UUID of patch data traversed, the patch for the collection that suits the requirements right The operating system of data and software product UUID classification, if met, then judge the attribute information of patch data traversed Whether suit the requirements collection patch data attribute information, if met, the patch data for confirming to traverse meets collection Condition;As long as the patch data traversed does not meet any of the above-described Rule of judgment, then it is assumed that the patch data traversed is not met Acquisition condition.
If the patch data traversed does not meet acquisition condition, return to step S211, next patch data is traveled through;
If the patch data traversed meets acquisition condition, perform step S213, call Windows more new demand servicing numbers According to the operate interface in storehouse, the Back ground Information and detection for obtaining the patch data install logical message;
Specifically, in Windows updates service database, the Back ground Information and detection that are stored with each patch data are installed Logical message.The embodiment of the present invention directly updates the basis that the patch data traversed is read in service database from Windows Information and detection installation logical message.After the Back ground Information of patch data and detection installation logical message is obtained, with xml document The Back ground Information and detection installation logical message for the above-mentioned patch data that form output obtains.
The Back ground Information for the patch data that S214, parsing obtain, with obtaining the download of the installation file of the patch data Location, and download from the download address of the patch data installation file installation file of the patch data;
Specifically, in the Back ground Information of patch data, record has the download address letter of the installation file of the patch data Breath.The embodiment of the present invention reads the download address letter of the installation file of patch data directly from the Back ground Information of patch data Breath.
When often traversing a patch data in all patch datas of acquisition, be carried out above-mentioned steps S212~ S214, when all patch datas, which all travel through, to be finished, perform step S215, acquisition and store Windows renewal service datas The key message in storehouse;
Specifically, the key message of above-mentioned Windows renewals service database, refers to update service data by Windows Patch item sum, Windows renewal service database last time synchronized update times, the Windows in storehouse are updated on service database The key message of the information structures such as the change (being related to expired patch number, substituted patch number etc.) of subsynchronous renewal.
The embodiment of the present invention is updated in service database from Windows directly reads above-mentioned key message.
Obtained in step S215 Windows renewal service database key message, be after patch data is gathered, Windows updates the key message of service database.Now, the Windows of acquisition is updated service data by the embodiment of the present invention The key message in storehouse is stored, so as to next time from Windows update service database in gather patch data when, as according to It is judged that the patch data in Windows renewal service databases is with the presence or absence of renewal.
S216, the circular mail inbox into configuration information send mail, notify this patch data to gather situation.
Specifically, the embodiment of the present invention gathers this overview of patch data, step S205 is sent to mail he It is middle to obtain in the circular mail inbox obtained during configuration information, notify the situation of user's this patch data collection.
It should be noted that if export instrument is to update to gather patch number in service database for the first time from Windows According to when, due to no last stored Windows update service database key message be used as according to judge Windows renewal Service database with the presence or absence of renewal, therefore export instrument after step S205 is performed, skip step S206 and S207, directly from Step S208 performs the gatherer process of patch data.
If export instrument is not to update in service database to gather patch data from Windows for the first time, from above-mentioned Step S206 starts, and performs complete patch data gatherer process.What step S206~S216 was represented is export instrument once When timing detection time arrives, the patch data gatherer process of execution.When the instrument of export, which calculates, confirms that timing detects next time Between when arriving, perform step S206~S216 again, updated from Windows in service database and gather patch data.
Fig. 3 is a kind of structural representation of the device of automatic data collection patch data disclosed in the embodiment of the present invention.One kind is certainly The device of dynamic collection patch data, including:Connection unit 301, for connecting Windows renewal service databases;First obtains Unit 302, the configuration information that patch data is gathered in service database is updated from the Windows for obtaining, and obtained Need the attribute information of patch data gathered;Second acquisition unit 303, for obtaining the Windows renewals service data The related dependant rule of patch data in storehouse;Data acquisition unit 304, for being adopted according to the configuration information, the needs The related dependant rule of patch data in the attribute information of the patch data of collection, and Windows renewal service databases Then, updated from the Windows and the patch data for needing to gather is gathered in service database.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
Fig. 4 is the structural representation of the device of another automatic data collection patch data disclosed in the embodiment of the present invention.In Fig. 3 On the basis of the device of shown automatic data collection patch data, the device of the automatic data collection patch data shown in Fig. 4 also includes:Look into Ask unit 305, for inquire about Windows renewal service database, obtain corresponding to each operating system and software product it is general only One identification code;Screening unit 306, for general unique mark corresponding to each operating system and software product according to acquisition Code, the operating system and software product that the patch data for needing to gather is filtered out in service database are updated from the Windows; Log file generation unit 307, for the operating system and software product according to the patch data for needing to gather, generation note Record file;Wherein, the log file also includes the attribute information of the patch data for needing to gather.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
Fig. 5 is the structural representation of the device of another automatic data collection patch data disclosed in the embodiment of the present invention.In Fig. 3 On the basis of the device of shown automatic data collection patch data, the device of the automatic data collection patch data shown in Fig. 5 also includes:Close Key information acquiring unit 308, for obtaining the key message of the Windows renewals service database;Contrast processing unit 309, the key message for the Windows of acquisition to be updated to service database obtains when gathering patch data with the last time The key messages of Windows renewal service databases contrasted, judge that Windows renewal service database is It is no renewal to be present;If the Windows renewals service database has renewal, the second acquisition unit 303 is controlled to obtain Take the related dependant rule of the patch data in the Windows renewals service database.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (14)

  1. A kind of 1. method of automatic data collection patch data, it is characterised in that including:
    Connect Windows renewal service databases;
    The configuration information for being updated from the Windows and patch data being gathered in service database is obtained, and acquisition needs to gather Patch data attribute information;
    Obtain the related dependant rule of the patch data in the Windows renewals service database;
    According to the configuration information, the attribute information of the patch data for needing to gather, and the Windows more new demand servicings The related dependant of patch data in database is regular, and gathering the needs from Windows renewal service databases adopts The patch data of collection.
  2. 2. according to the method for claim 1, it is characterised in that before connection Windows renewal service databases, the party Method also includes:
    Windows renewal service databases are inquired about, obtain general exclusive identification code corresponding to each operating system and software product;
    According to general exclusive identification code corresponding to each operating system and software product of acquisition, updated from the Windows The operating system and software product for the patch data for needing to gather are filtered out in service database;
    According to the operating system and software product of the patch data for needing to gather, log file is generated;Wherein, the record File also includes the attribute information of the patch data for needing to gather.
  3. 3. according to the method for claim 2, it is characterised in that the attribute letter for obtaining the patch data for needing to gather Breath, including:
    The log file is parsed, obtains the attribute information of the patch data for needing to gather.
  4. 4. according to the method for claim 1, it is characterised in that gathered in service database is updated from the Windows After the patch data information for needing to gather, this method also includes:
    Obtain and store the key message of the Windows renewals service database.
  5. 5. according to the method for claim 4, it is characterised in that obtaining from the Windows updates service database The configuration information of patch data is gathered, and after obtaining the attribute information of patch data for needing to gather, described in acquisition Before the related dependant rule of patch data in Windows renewal service databases, this method also includes:
    Obtain the key message of the Windows renewals service database;
    The Windows of acquisition is updated into the key message of service database and the institute obtained during last collection patch data The key message for stating Windows renewal service databases is contrasted, and judges whether the Windows renewals service database is deposited Updating;
    If the Windows renewals service database has renewal, obtain in the Windows renewals service database The related dependant rule of patch data.
  6. 6. according to the method for claim 1, it is characterised in that it is described according to the configuration information, described need to gather The related dependant rule of patch data in the attribute information of patch data, and Windows renewal service databases, from The patch data for needing to gather is gathered in the Windows renewals service database, including:
    The operate interface of the Windows renewals service database is called, obtains institute in the Windows renewals service database Some patch datas;
    All patch datas obtained are traveled through, when often traversing a patch data, perform following operate:
    According to the related dependant rule of the attribute information of the patch data for needing to gather, and the patch data, detection Whether the patch data traversed meets acquisition condition;
    If the patch data traversed meets acquisition condition, the operation of the Windows renewals service database is called to connect Mouthful, the Back ground Information and detection installation logical message of the patch data traversed described in acquisition;
    The Back ground Information of the patch data traversed described in parsing, under the installation file of the patch data traversed described in acquisition Set address, and the patch data traversed described in the download address download from the installation file of the patch data traversed Installation file.
  7. 7. according to the method for claim 1, it is characterised in that gathered in service database is updated from the Windows After the patch data information for needing to gather, this method also includes:
    Circular mail inbox into the configuration information sends mail, notifies this patch data to gather situation.
  8. A kind of 8. device of automatic data collection patch data, it is characterised in that including:
    Connection unit, for connecting Windows renewal service databases;
    First acquisition unit, the configuration information that patch data is gathered in service database is updated from the Windows for obtaining, And obtain the attribute information for the patch data for needing to gather;
    Second acquisition unit, for obtaining the related dependant rule of the patch data in the Windows renewals service database;
    Data acquisition unit, for the attribute information according to the configuration information, the patch data for needing to gather, Yi Jisuo The related dependant rule of the patch data in Windows renewal service databases is stated, updates service database from the Windows The middle collection patch data for needing to gather.
  9. 9. device according to claim 8, it is characterised in that the device also includes:
    Query unit, for inquiring about Windows renewal service databases, obtain general corresponding to each operating system and software product Exclusive identification code;
    Screening unit, for general exclusive identification code corresponding to each operating system and software product according to acquisition, from institute State the operating system and software product that the patch data for needing to gather is filtered out in Windows renewal service databases;
    Log file generation unit, for the operating system and software product according to the patch data for needing to gather, generation Log file;Wherein, the log file also includes the attribute information of the patch data for needing to gather.
  10. 10. device according to claim 9, it is characterised in that the first acquisition unit obtains the patch for needing to gather During the attribute information of data, it is specifically used for:
    The log file is parsed, obtains the attribute information of the patch data for needing to gather.
  11. 11. device according to claim 8, it is characterised in that the device also includes:
    Key message memory cell, for obtaining and storing the key message of the Windows renewals service database.
  12. 12. device according to claim 11, it is characterised in that the device also includes:
    Key message acquiring unit, for obtaining the key message of the Windows renewals service database;
    Processing unit is contrasted, the key message for the Windows of acquisition to be updated to service database gathers with last The key message of the Windows renewal service databases obtained during patch data is contrasted, and judges the Windows more New demand servicing database is with the presence or absence of renewal;
    If the Windows renewals service database has renewal, control described in the second acquisition unit acquisition The related dependant rule of patch data in Windows renewal service databases.
  13. 13. device according to claim 8, it is characterised in that the data acquisition unit is according to the configuration information, institute State the phase of the patch data in the attribute information for the patch data for needing to gather, and Windows renewal service databases Dependent Rule is closed, it is specific to use when gathering the patch data that the needs gather from Windows renewal service databases In:
    The operate interface of the Windows renewals service database is called, obtains institute in the Windows renewals service database Some patch datas;
    All patch datas obtained are traveled through, when often traversing a patch data, perform following operate:
    According to the related dependant rule of the attribute information of the patch data for needing to gather, and the patch data, detection Whether the patch data traversed meets acquisition condition;
    If the patch data traversed meets acquisition condition, the operation of the Windows renewals service database is called to connect Mouthful, the Back ground Information and detection installation logical message of the patch data traversed described in acquisition;
    The Back ground Information of the patch data traversed described in parsing, under the installation file of the patch data traversed described in acquisition Set address, and the patch data traversed described in the download address download from the installation file of the patch data traversed Installation file.
  14. 14. device according to claim 8, it is characterised in that the device also includes:
    Information notification unit, mail is sent for the circular mail inbox into the configuration information, notifies this patch number According to collection situation.
CN201710641500.7A 2017-07-31 2017-07-31 Method and device for automatically collecting patch data Active CN107562485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710641500.7A CN107562485B (en) 2017-07-31 2017-07-31 Method and device for automatically collecting patch data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710641500.7A CN107562485B (en) 2017-07-31 2017-07-31 Method and device for automatically collecting patch data

Publications (2)

Publication Number Publication Date
CN107562485A true CN107562485A (en) 2018-01-09
CN107562485B CN107562485B (en) 2021-03-02

Family

ID=60974220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710641500.7A Active CN107562485B (en) 2017-07-31 2017-07-31 Method and device for automatically collecting patch data

Country Status (1)

Country Link
CN (1) CN107562485B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388442A (en) * 2018-01-22 2018-08-10 深圳市亿道数码技术有限公司 The patch management method and system of firmware in a kind of Android system
CN110489154A (en) * 2019-06-25 2019-11-22 广州嘉为科技有限公司 A kind of method for repairing and mending based on windows operating system patch
CN111859405A (en) * 2020-07-31 2020-10-30 深信服科技股份有限公司 Threat immunization framework, method, equipment and readable storage medium
CN112988875A (en) * 2021-04-08 2021-06-18 北京澎思科技有限公司 Multi-dimensional data acquisition device, system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
US8296756B1 (en) * 2009-11-06 2012-10-23 Southern Company Services, Inc. Patch cycle master records management and server maintenance system
CN102902564A (en) * 2012-09-26 2013-01-30 北京奇虎科技有限公司 Method and device for installing patches
US9645846B1 (en) * 2007-06-21 2017-05-09 Open Invention Network, Llc Security patch update processor
CN106970811A (en) * 2017-03-09 2017-07-21 腾讯科技(深圳)有限公司 A kind of patch file installation method and its equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645846B1 (en) * 2007-06-21 2017-05-09 Open Invention Network, Llc Security patch update processor
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
US8296756B1 (en) * 2009-11-06 2012-10-23 Southern Company Services, Inc. Patch cycle master records management and server maintenance system
CN102902564A (en) * 2012-09-26 2013-01-30 北京奇虎科技有限公司 Method and device for installing patches
CN106970811A (en) * 2017-03-09 2017-07-21 腾讯科技(深圳)有限公司 A kind of patch file installation method and its equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388442A (en) * 2018-01-22 2018-08-10 深圳市亿道数码技术有限公司 The patch management method and system of firmware in a kind of Android system
CN108388442B (en) * 2018-01-22 2021-06-08 深圳市亿道数码技术有限公司 Patch management method and system for firmware in android system
CN110489154A (en) * 2019-06-25 2019-11-22 广州嘉为科技有限公司 A kind of method for repairing and mending based on windows operating system patch
CN111859405A (en) * 2020-07-31 2020-10-30 深信服科技股份有限公司 Threat immunization framework, method, equipment and readable storage medium
CN112988875A (en) * 2021-04-08 2021-06-18 北京澎思科技有限公司 Multi-dimensional data acquisition device, system and method

Also Published As

Publication number Publication date
CN107562485B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN107562485A (en) A kind of method and device of automatic data collection patch data
FI115941B (en) Data processing system for communication networks
CN102592422B (en) Automatic meter reading system collector and ammeter asset number collect management method
CN114153702A (en) Method and system for implementing a log parser in a log analysis system
CN104410700B (en) Issue method, harassing call hold-up interception method and the system of harassing call list
CN102148827B (en) Security event management method, device and security management platform
US20110022567A1 (en) Method and apparatus for routing data in an automatic identification system
CN112698953A (en) Power grid intelligent operation and detection platform based on micro-service
CN109213819A (en) Information resource sharing system
CN104318481A (en) Power-grid-operation-oriented holographic time scale measurement data extraction conversion method
CN111046000B (en) Government data exchange sharing oriented security supervision metadata organization method
CN103902537A (en) Multi-service log data storage processing and inquiring system and method thereof
CN106844645A (en) A kind of electric power communication device information query system
CN103399888B (en) The differential synchronization method of grid model data and system
CN104574196A (en) Automatic field data acquisition management system for crops
CN113612306A (en) Distributed power distribution cabinet and control system thereof
CN106802905A (en) A kind of synergistic data exchange method of isomorphism PLM system
CN107203642A (en) A kind of method of data synchronization and device
CN114579408A (en) System and method for analyzing real-time equation of real-time database
CN103684900A (en) Business polling method and system
CN107506422A (en) The distributed information log processing system and method for a kind of multi-data source
CN106326280B (en) Data processing method, device and system
CN111083038A (en) Enterprise management online instant messaging system and method
JPH11219388A (en) Remote management system
CN103812912B (en) A kind of method and device of maintenance organization structural information

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
GR01 Patent grant
GR01 Patent grant