CN110245041B - Windows configuration health check device - Google Patents

Windows configuration health check device Download PDF

Info

Publication number
CN110245041B
CN110245041B CN201910524319.7A CN201910524319A CN110245041B CN 110245041 B CN110245041 B CN 110245041B CN 201910524319 A CN201910524319 A CN 201910524319A CN 110245041 B CN110245041 B CN 110245041B
Authority
CN
China
Prior art keywords
windows
configuration
check device
data
target
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.)
Active
Application number
CN201910524319.7A
Other languages
Chinese (zh)
Other versions
CN110245041A (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.)
Thales Sec Transportation System Ltd
Original Assignee
Thales Sec Transportation System 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 Thales Sec Transportation System Ltd filed Critical Thales Sec Transportation System Ltd
Priority to CN201910524319.7A priority Critical patent/CN110245041B/en
Publication of CN110245041A publication Critical patent/CN110245041A/en
Application granted granted Critical
Publication of CN110245041B publication Critical patent/CN110245041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a Windows configuration health check device, comprising: the client runs on each target check device loaded with Windows, collects the configuration information of each target check device and generates an exportable data file and a log file; and the server runs in the server, imports data files generated by all target inspection equipment under the same project background, performs matching and logical judgment by the internal data definition model, completes Windows configuration health inspection of each target inspection equipment, and outputs a report. The invention aims at ATS servers, workstation equipment and database equipment and solves the problems of long time, easy occurrence of inspection errors or omission and the like in the manual inspection process.

Description

Windows configuration health check device
Technical Field
The invention relates to the technical field of rail transit software, in particular to a Windows configuration health check device.
Background
In the field of rail transit, in the process of configuring an ATS (automatic train monitoring system) server, a workstation device and a database device, a method mainly adopted at present is to manually modify a corresponding configuration item of the device in comparison with a related document. However, a deviation in understanding or omission of operation by the operator may result in a situation where part of the windows configuration items are not configured correctly in the actual configuration process. Moreover, the secondary inspection of the related configuration still adopts a manual review mode, and in addition, the number of ATS servers, workstation devices and database devices in the current project is large, so that the problems of complex flow, overlong time, missing configuration items and the like can occur in the actual inspection process, the delivery time of the device is prolonged, the wrong configuration items are not inspected, and the actual use of the device in the project is influenced.
Disclosure of Invention
The invention aims to provide a Windows configuration health check device, which aims at ATS servers, workstation equipment and database equipment and solves the problems of long time, easy occurrence of check errors or omission and the like in the manual check process.
The technical scheme for realizing the purpose is as follows:
a Windows configuration health check device, comprising:
the client runs on each target check device loaded with Windows, collects the configuration information of each target check device and generates an exportable data file and a log file; and
and the server runs in the server, imports data files generated by all target inspection equipment under the same project background, performs matching and logical judgment by using the internal data definition model, completes Windows configuration health inspection of each target inspection equipment, and outputs a report.
Preferably, the object inspection apparatus includes: ATS server equipment, workstation equipment and database equipment.
Preferably, the client collects configuration information from the api interface, registry, command prompt and configuration file of Windows of the target inspection device.
Preferably, the internal data definition model defines in advance: the form of each data information table related to each Windows configuration, and the logic dependency relationship and the logic judgment relationship among the data information tables.
Preferably, the server extracts and arranges partial data information tables from the data file in a form of partial data information tables defined by the internal data definition model, generates remaining data information tables according to the logical dependency relationship of the partial data information tables defined by the internal data definition model and the form of the remaining data information tables, and finally judges the health condition of the Windows configuration according to the logical judgment relationship between the generated data information tables defined by the internal data definition model.
The beneficial effects of the invention are: in the invention, the time for the client to collect all the configuration information of a single device is shortened by about 80% compared with manual inspection. And the client can run on a plurality of target inspection devices simultaneously, so that the time required for inspecting the configuration inspection process of the whole project ATS server, workstation and database is greatly shortened. Meanwhile, the invention directly calls each function module to read the api (application programming interface), the registry file or the related configuration information through software definition to obtain the related information of the target check item, thereby avoiding the error or omission of personnel check. In addition, the invention has detailed checking record and is easy to archive, because the client can produce log files and data files after running, the log files and the data files can be backed up and stored except for being read by the server to export the related report. Therefore, the configuration information of the relevant equipment can be traced back in the future work, and the problems that the manual filling of the configuration inspection report is too simple in record, the configuration information is lack of record, the tracing is difficult and the like are avoided.
Drawings
FIG. 1 is a schematic diagram of the Windows configuration health check device of the present invention;
FIG. 2 is a schematic diagram of a network card information table of the registry in the present invention;
FIG. 3 is a schematic diagram of an API network card information table in the present invention;
FIG. 4 is a diagram of an Intel roaming network card information table according to the present invention;
FIG. 5 is a schematic diagram of a Teaming network card information table according to the present invention;
FIG. 6 is a table showing the arrangement of Teaming in the present invention.
Detailed Description
The invention will be further explained with reference to the drawings.
Referring to fig. 1, the Windows configuration health check device of the present invention includes a client 1 and a server 2.
The client 1 runs on each target inspection device loaded with Windows, collects configuration information of each target inspection device from the api interface, registry, command prompt and configuration file of Windows of the target inspection device, and generates an exportable data file and log file. The target inspection device includes an ATS server device, a workstation device, and a database device. The operator collects data files and log files from each target inspection device and aggregates all data files. The operator can check the execution condition of the task of collecting the configuration information by the client in the current equipment through the console in the client execution process. Or after the client finishes the collection task, the execution condition of the last collection task can be mastered by checking the log file generated by the client.
When an operator finds an Error field in a console or a log file, it indicates that the collected information of the client program part is not collected correctly, and the reason for the Error in program execution needs to be confirmed manually.
The server 2 runs in the server, imports data files generated by all target inspection equipment under the same project background, performs matching and logical judgment by the internal data definition model, completes Windows configuration health check of each target inspection equipment, and outputs a report. Each imported data file is a device belonging to the same project background. The windows devices across project backgrounds cannot import checks across all the devices of a project because the project names are inconsistent and the logical judgment of the checks is different.
The internal data definition model is predefined: the form (information and sequencing) of each data information table related to each Windows configuration, and the logic dependency relationship and logic judgment relationship between the data information tables. The server 2 extracts and arranges partial data information tables from the data file in the form of partial data information tables defined by the internal data definition model, generates the remaining data information tables according to the logical dependency relationship of the partial data information tables defined by the internal data definition model and the form of the remaining data information tables, and finally judges the health condition of the Windows configuration according to the logical judgment relationship between the generated data information tables defined by the internal data definition model. Specifically, taking the configuration of outputting an Intel network card terminal as an example:
1) Firstly, network card information data is obtained from a registry through a data file, and a data table 1 consisting of a global unique identifier, a network card forced rate, a hardware ID, a provider, a Teaming mode and a Teaming group ID of each network card is obtained by extracting and sorting according to an internal data definition model, as shown in FIG. 2.
2) The network card information data is obtained from the API in the data file, and the data table 2 of the global unique identifier, the MAC address, the enabling condition, the network connection name, and the physical or logical network card information of each network card is obtained by extracting and sorting according to the internal data definition model, as shown in fig. 3.
3) Intel roaming information is obtained from the registry through the data file, and a data table 3 of the roaming group ID, the roaming mode and the roaming network card priority of the physical network card is obtained by extracting and sorting according to the internal data model, as shown in fig. 4.
4) In the process of extracting the Teaming configuration of the Intel network card, the Teaming mode, the Teaming group ID and the global unique identifier of the virtual network card are obtained according to the Teaming mode and the Teaming group ID in the data table 1, the network connection name, the MAC address, the enabling condition, the physical or logical network card information of the virtual network card are obtained from the data table 2 through the global unique identifier, the validity of the data table is judged, and a Teaming network card data table 4 is generated, as shown in fig. 5.
5) According to the data table 3, the connection name, the MAC address, the starting condition and the information of the physical or logical network card are obtained from the data table 2 through the global unique identifier, the validity of the data table is judged, whether the Teaming modes of the physical network card a and the virtual network card are consistent or not is judged through the fact that the Teaming group identity identification number in the data table is matched with the data table 4, whether conflicts, data inconsistency and the like exist in the Teaming priority of each physical network card is judged, and the Teaming priority is finally displayed in a report form as shown in figure 6.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and therefore all equivalent technical solutions should also fall within the scope of the present invention, and should be defined by the claims.

Claims (3)

1. A Windows configuration health check device, comprising:
the client runs on each target check device loaded with Windows, collects the configuration information of each target check device and generates an exportable data file and a log file; and
the server side runs in the server, imports data files generated by all target inspection equipment under the same project background, performs matching and logical judgment by the internal data definition model, completes Windows configuration health inspection of each target inspection equipment, and outputs a report;
the internal data definition model is defined in advance: the form of each data information table related to each Windows configuration, and the logic dependency relationship and the logic judgment relationship among the data information tables;
the server side extracts and arranges partial data information tables from the data file in a form of the partial data information tables defined by the internal data definition model, generates residual data information tables according to the logical dependency relationship of the partial data information tables defined by the internal data definition model and the form of the residual data information tables, and finally judges the health condition of the Windows configuration according to the logical judgment relationship between the generated data information tables defined by the internal data definition model.
2. The Windows configuration health check device of claim 1, wherein said target check device comprises: ATS server equipment, workstation equipment and database equipment.
3. The Windows configuration health check apparatus of claim 1, wherein the client collects configuration information from the api interface, registry, command prompt and configuration file of Windows of the target check device.
CN201910524319.7A 2019-06-18 2019-06-18 Windows configuration health check device Active CN110245041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910524319.7A CN110245041B (en) 2019-06-18 2019-06-18 Windows configuration health check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910524319.7A CN110245041B (en) 2019-06-18 2019-06-18 Windows configuration health check device

Publications (2)

Publication Number Publication Date
CN110245041A CN110245041A (en) 2019-09-17
CN110245041B true CN110245041B (en) 2022-12-13

Family

ID=67887696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910524319.7A Active CN110245041B (en) 2019-06-18 2019-06-18 Windows configuration health check device

Country Status (1)

Country Link
CN (1) CN110245041B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974474A (en) * 1996-03-15 1999-10-26 Novell, Inc. System for automatic hardware identification and configuration where instance values are unique within the computer system and resource requirement conflicts are resolved by modifying resource settings
CN102014131A (en) * 2010-11-25 2011-04-13 北京神州泰岳软件股份有限公司 Device safety check method combining off-line check and central summary
CN103152218A (en) * 2013-01-30 2013-06-12 北京奇虎科技有限公司 Method and device for inspecting and restoring computer network state
CN104717181A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Security policy configuration system and method for virtual security gateway
CN106776102A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of application system health examination method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8195444B2 (en) * 2005-10-12 2012-06-05 Storage Appliance Corporation Systems and methods for automated diagnosis and repair of storage devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974474A (en) * 1996-03-15 1999-10-26 Novell, Inc. System for automatic hardware identification and configuration where instance values are unique within the computer system and resource requirement conflicts are resolved by modifying resource settings
CN102014131A (en) * 2010-11-25 2011-04-13 北京神州泰岳软件股份有限公司 Device safety check method combining off-line check and central summary
CN103152218A (en) * 2013-01-30 2013-06-12 北京奇虎科技有限公司 Method and device for inspecting and restoring computer network state
CN104717181A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Security policy configuration system and method for virtual security gateway
CN106776102A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of application system health examination method and system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
A Windows based GUI software tool for system protection simulations in PC environment;D.C. Yu等;《IEEE Xplore》;19961031;第1720-1727页 *
接入控制器网关配置系统的设计与实现;袁峥;《中国优秀硕士学位论文 信息科技辑》;20120815;第2012年卷(第8期);第I139-141页 *
空管数据库及网络设备健康检查系统的设计与实现;朱晓雯;《信息系统工程》;20160120(第01期);全文 *
终端安全检查系统终端信息和流量监测设计和实现;王裕;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160415;第2016年卷(第4期);第I139-49页 *
网络常见故障的分类与诊断;李惠荣;《信息系统工程》;20100620(第06期);全文 *

Also Published As

Publication number Publication date
CN110245041A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN112286806A (en) Automatic testing method and device, storage medium and electronic equipment
CN110088744A (en) A kind of database maintenance method and its system
CN113138929A (en) Distributed interface testing method and device, electronic equipment and storage medium
CN107608813A (en) A kind of method that failure is automatically analyzed based on linux operation system informations
CN110489317A (en) Cloud system task run method for diagnosing faults and system based on workflow
CN112737886A (en) Tool testing method and system
CN112348530A (en) Automatic server production inspection and repair method
CN102999417A (en) Automatic test management system and method
CN109144801A (en) It is a kind of to be directed to the test method of MOC card, device and equipment in server
CN111274056B (en) Self-learning method and device for fault library of intelligent electric energy meter
CN109815124B (en) MBSE-based interlocking function defect analysis method and device and interlocking system
CN110245041B (en) Windows configuration health check device
CN104182348A (en) Software test method and device
CN111124809B (en) Test method and device for server sensor system
CN105590259A (en) Device and method for diagnosis of transaction system
CN111427787A (en) Heterogeneous database business data synchronization test method
CN113973068B (en) Chaos testing method and device, chaos testing platform and storage medium
US20240104185A1 (en) Device registration methods and apparatuses, electronic devices and storage media
CN111966394B (en) ETL-based data analysis method, device, equipment and storage medium
CN114936150A (en) Big data stream synchronization and monitoring test method, device and storage medium
CN114372309A (en) Intelligent drawing method for fabricated building based on BIM
CN113282496A (en) Automatic interface test method, device, equipment and storage medium
CN112560290A (en) Automatic testing method and system based on countermeasure simulation platform
CN109783263A (en) A kind of processing method and system of server burn-in test failure
CN114942623B (en) Method and device for testing controller, vehicle and computer readable storage medium

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