CN1779647A - System and method for inspecting configuration information of computer system - Google Patents

System and method for inspecting configuration information of computer system Download PDF

Info

Publication number
CN1779647A
CN1779647A CN 200410052399 CN200410052399A CN1779647A CN 1779647 A CN1779647 A CN 1779647A CN 200410052399 CN200410052399 CN 200410052399 CN 200410052399 A CN200410052399 A CN 200410052399A CN 1779647 A CN1779647 A CN 1779647A
Authority
CN
China
Prior art keywords
configuration information
wmi
system configuration
computer system
information
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
Application number
CN 200410052399
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 200410052399 priority Critical patent/CN1779647A/en
Publication of CN1779647A publication Critical patent/CN1779647A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A system for detecting configuration information of computer system comprises multiple WMI supporting computer to be detected and a server with a computer system configuration detecting unit including a connection module being used to be connected with WMI, an information obtaining module for obtaining computer system configuration information through WMI, a comparison module for comparing obtained information with preset information and a result output module for outputting compared result. The said server is connected to databank with preset system configuration information and a relative detecting method is also disclosed.

Description

The system and method for detection computations machine system configuration information
[technical field]
The present invention relates to a kind of system and method for detection computations machine system configuration information, particularly a kind of after computer assemblies is finished, whether the hardware of detection computations machine and software arrangements meet the system and method for predetermined assembling specification.
[background technology]
When the client assembles computing machine, usually need order be proposed to computer assemblies manufacturer, order need illustrate client's demand, and these demands comprise computer hardware equipment, the predetermined information such as which kind of operating system and predetermined which application program of installation of installing that needs adopt.After computer assemblies manufacturer receives customer order, formulate the assembling specifications according to the demand that customer order proposed.The assembling specifications be according to customer demand, concrete norm the reservation system configuration information.The reservation system configuration information comprises at least: the hardware configuration information of predetermined assembling, predetermined operating system of installing and predetermined application related information of installing.
Preliminary work is assembled according to the assembling specifications by computer assemblies manufacturer, and assembling preliminary work generally includes: purchase the computer hardware that needs in the assembling specifications and assemble required spare part to the supplier; Need operating system and application program in the buying assembling specifications for the installation of computing machine; Purchase other assembling and need the starting material used in computer procedures.
Finish after the assembling preliminary work, computer assemblies manufacturer carries out computer assemblies work, and the assembly work content comprises: according to assembling specifications assembling computer hardware and spare part; Predetermined operating system and computer hardware driver are installed; Set up applications etc.Usually before the client was given in shipment, computer assemblies manufacturer also needed to obtain computer system configurations information, judged then whether the computer system configurations information of being obtained meets the reservation system configuration information of stipulating in the assembling specifications.
At present, there has been the multiple method of obtaining the computer hardware configuration information, wherein modal way is by operating system (Operating System, OS) read the hardware configuration information of computing machine:, read hardware configuration information by the interface (Interface) that OS goes up the hardware drive program of operation and provides by relevant tool software at computer starting and after loading OS.Tool software need see through hardware drive program, OS and Basic Input or Output System (BIOS), and (Basic Input Output System, BIOS) three levels just can read hardware configuration information.Yet this kind method implementation cost height need be write hardware drive program for various OS; Hardware drive program and tool software be terminate-and-stay-resident and operation all the time forever, and (Central Processing Unit, CPU) resource influence speed and stability that the computing machine complete machine moves to take a large amount of central processing units.
The China national Department of Intellectual Property application for a patent for invention case that disclosed application number was 02128931.X on February 25th, 2004 can effectively address the above problem, and its name is called " apparatus and method of obtaining computer hardware information ".This application for a patent for invention case provides a kind of device that obtains computer hardware information, and this device can be independent of the OS of computing machine, and no matter which kind of state computing machine is in, and all can obtain computer hardware information at any time.
Though this application for a patent for invention case can effectively solve the problem that classic method exists, obtain computer hardware information efficiently, yet but cannot obtain other system configuration information of computing machine, as the application related information that OS relevant information and computing machine are installed, these computer system configurations information also are the contents of computer assemblies specifications institute standard.
Up to the present, the method that Shang Weiyou can complete detection computer system configurations information.Therefore, be necessary to provide a kind of detection computations machine system configuration information whether to meet the system and method for predetermined assembling specification, it can obtain more fully computer system configurations information, comprises hardware configuration information, operating system and the application related information of being installed.
[summary of the invention]
Fundamental purpose of the present invention is: the system that a kind of detection computations machine system configuration information is provided, utilize this system can obtain the comprehensive computer system configuration information, comprise hardware configuration information, operating system (Operating System, and then detect the computer system configurations information of being obtained and whether meet predetermined assembling specification OS) and the application related information of being installed.
Another purpose of the present invention is: the method that a kind of detection computations machine system configuration information is provided, utilize this method can obtain the comprehensive computer system configuration information, comprise hardware configuration information, operating system (Operating System, and then detect the computer system configurations information of being obtained and whether meet predetermined assembling specification OS) and the application related information of being installed.
For realizing fundamental purpose of the present invention, technical scheme provided by the invention is as follows:
A kind of system of detection computations machine system configuration information is provided, this system comprises a server and a plurality of support form management regulation (Windows ManagementInstrumentation, WMI) computing machine to be detected, described computing machine to be detected is connected with described server by a network, described server connects a database, store the reservation system configuration information in this database, described server comprises a computer system configurations pick-up unit, this computer system configurations pick-up unit comprises: a link block is to be used to connect WMI; One system configuration information acquisition module is to be used for obtaining computer system configurations information by WMI; One comparison module is computer system configurations information and the reservation system configuration information that is used for relatively obtaining; And an output module as a result, be to be used to export the comparative result that comparison module produces.
For realizing another object of the present invention, technical scheme provided by the invention is as follows:
A kind of method of detection computations machine system configuration information, computing machine to be detected is supported form management regulation (Windows Management Instrumentation, WMI), this method comprises the steps: initialization component object model (Component Object Model, COM) application programming interfaces; Corresponding class in the visit WMI name space; Create the class object that is not initialised, thereby obtain computer system configurations information; Computer system configurations information of relatively obtaining and reservation system configuration information; And the output comparative result, this comparative result shows whether computer system configurations information meets predetermined assembling specification.
Whether detection computations machine system configuration information provided by the present invention meets the system and method for predetermined assembling specification, have following advantage and beneficial effect: the present invention obtains the computer hardware configuration information by WMI, does not need to write driver for each computer hardware; The present invention can obtain comprehensive computer system configurations information, comprise hardware configuration information, operating system (Operating System, and then detect the computer system configurations information of being obtained and whether meet predetermined assembling specification OS) and the application related information of being installed.
[description of drawings]
Fig. 1 is a hardware structure synoptic diagram of the present invention.
Fig. 2 is the functional block diagram of computer system configurations pick-up unit of the present invention.
Fig. 3 is the method flow diagram whether detection computations machine system configuration information of the present invention meets predetermined assembling specification.
[embodiment]
Remove and to specialize, alleged computer system configurations information or the system configuration information of the present invention comprises at least: and the operating system that computer hardware configuration information, computing machine are installed (Operating System, OS) and the application related information of being installed.
Remove and to specialize, the predetermined assembling specification that the present invention is alleged is meant the reservation system configuration information of the assembling specifications institute standard that computer assemblies manufacturer formulates.
As shown in Figure 1, be to be hardware structure synoptic diagram of the present invention.Whether the system configuration information that the present invention adopts a server 3 to detect a plurality of computing machines 1 to be detected by a network 2 meets predetermined assembling specification.The enterprises lan (Intranet) that described network 2 can be a computer assemblies manufacturer also can be internet (Internet).Described a plurality of computing machine 1 to be detected is for after the computer assemblies manufacturer reception customer order demand, formulates the computer assemblies specifications according to the customer order demand, and then assembles the computing machine of finishing according to the assembling specifications.These a plurality of computing machines 1 to be detected are to be assembled by computer hardware 13, and operating system (Operating System, OS) 12 and application program 11 are installed.
In embodiments of the present invention, computing machine to be detected 1 support the form management regulation that Microsoft (MicrosoftCompany) proposes (Windows ManagementInstrumentation, WMI).WMI is a Microsoft, and (Web Based Enterprise Management, the WBEM) standard criterion that is proposed also are a kind of measured management interface simultaneously based on the business administration of Web.
WMI is made up of two parts: a management framework, comprise the common information model Object Manager (Common Information Model Object Manager, CIMOM) and CIMOM object stores storehouse (CIMOM object repository); One WMI supplier (WMI provider).The system that WMI managed may be meant an operating system, a cover application software, or even one group of hardware device, and all these are referred to as data source.And the WMI supplier is exactly the intermediary between CIMOM and these data source.A certain during when needing in the WMI framework to obtain by the information of management system, will order the WMI supplier to being fetched data in the management system.CIMOM object stores storehouse in the management framework is an object database, is used for the object of area definition, as is used for the static class definition and the class object example of store operation system management messages.CIMOM object stores storehouse is managed by CIMOM.(Component Object Model, COM) application programming interfaces provide needed management information to CIMOM to the WMI supplier by The Component Object Model.
Server 3 comprises a computer system configurations pick-up unit 4, and server 3 connects a database 5, and database 5 stores the predetermined assembling specification of standard in the computer assemblies specifications.This computer system configurations pick-up unit 4 utilizes WMI to obtain the system configuration information of computing machine 1 to be detected, and then judges whether the system configuration information of being obtained meets predetermined assembling specification.
As shown in Figure 2, be functional block diagram for computer system configurations pick-up unit of the present invention.Computer system configurations pick-up unit 4 comprises: a link block 41 is the WMI that are used to connect computing machine 1 to be detected; One system configuration information acquisition module 42 is the system configuration informations that are used for obtaining by WMI computing machine 1 to be detected; One comparison module 43 is system configuration information that is used for relatively obtaining and the reservation system configuration information that is stored in database 5; And an output module 44 as a result, be to be used to export the comparative result that comparison module 43 produces.
Link block 41 initialization COM application programming interfaces, thus be connected with the WMI of computing machine 1 to be detected.Computer system configurations pick-up unit 4 requestors as the data that WMI managed, need to propose the request of required managerial data to CIMOM, and CIMOM provides required system configuration information by the COM application programming interfaces to computer system configurations pick-up unit 4 by the COM application programming interfaces.
System configuration information acquisition module 42 visit class corresponding in the WMI name space by the COM application programming interfaces, thereby the instantiation class object obtains computer system configurations information as required.
The WMI name space provides a series of WMI class to use for the program personnel, because the WMI class relates to the various aspects of computer system, be divided into 7 subclasses, be respectively: WMI System Classes, WMI System Properties, Win32 Classes, CIMClasses, Standard Consumer Classes, MSFT Classes, MSMCAClasses, WMI C++ Classes.Win32 Classes wherein, CIM Classes class further is subdivided into following subclass: Computer system hardware (computer system computer hardware class), Operating system (operating system class), Installed applications (installation procedure class), WMI service management (WMI Service Management class) and Performance counters (performance counter class).Because classification and the subclassification of WMI are known by persons skilled in the art, in-depth explanation not in this instructions.
In an embodiment of the present invention, system configuration information acquisition module 42 is by the Win32 Classes in the COM application programming interfaces visit WMI name space, computer system computer hardware class, operating system class and installation procedure class in the CIM Classes class promptly are the application related information that system configuration information acquisition module 42 is installed to CIMOM acquisition request computer hardware configuration information, operating system relevant information and computing machine.System configuration information acquisition module 42 is that each WMI class of above-mentioned visit is created instance object, just can obtain the system configuration information of the correspondence of computing machine 1 to be detected.For example be the Win32 Processor class establishment instance object in the computer system computer hardware class, obtain central processing unit (Center Processing Unit, the CPU) relevant information of computing machine 1 to be detected.
In other embodiments, system configuration information acquisition module 42 can depend primarily on the development requirement of application program by other class in the COM application programming interfaces visit WMI name space or the class in all WMI name spaces.
Comparison module 43 obtains the reservation system configuration information from database 5, the corresponding content of the system configuration information that itself and system configuration information acquisition module 42 are obtained contrasts one by one, writes down all comparative results.
Output module 44 is with comparative result output as a result, and the output result shows whether the system configuration information of detected computing machine 1 meets predetermined assembling specification.Among the different embodiment, the output content the level of detail of comparative result and the way of output may be different, can be to export comparative result on the display device that server 3 connects, and also can be to print comparative result in the printing device that server 3 connects.
As shown in Figure 3, be method flow diagram for detection computations machine system configuration information of the present invention.Among the present invention, at first, be connected (step S01) with the WMI of computing machine 1 to be detected by link block 41 initialization COM application programming interfaces.
By corresponding class (step S02) in the system configuration information acquisition module 42 visit WMI name spaces, create the instance object that is not initialised for the class in each WMI name space of being visited, obtain the system configuration information (step S03) of the correspondence of computing machine 1 to be detected.
By comparison module 43, from database 5, obtain the reservation system configuration information, and compare with system configuration information that system configuration information acquisition module 42 is obtained.Every system configuration information every content corresponding with reservation system configuration information in the database 5 that system configuration information acquisition module 42 is obtained compares one to one, writes down all comparative results (step S04).
By the 44 output comparative results of output module as a result, the output result shows whether the system configuration information of detected computing machine 1 meets predetermined assembling specification (step S05).Among the different embodiment, the output content the level of detail of comparative result and the way of output may be different, can be to export comparative result on the display device that server 3 connects, and also can be to print comparative result in the printing device that server 3 connects.

Claims (5)

1. the system of a detection computations machine system configuration information, this system comprises a server and a plurality of support form management regulation (Windows Management Instrumentation, WMI) computing machine to be detected, described computing machine to be detected is connected with described server by a network, described server connects a database, store the reservation system configuration information in the described database, it is characterized in that, described server comprises a computer system configurations pick-up unit, and this computer system configurations pick-up unit comprises:
One link block is the WMI that is used to connect computing machine to be detected;
One system configuration information acquisition module is to be used for obtaining system for computer configuration information to be detected by WMI;
One comparison module is to be used for more above-mentioned computer system configurations information of obtaining and reservation system configuration information; And
One output module as a result is to be used to export the comparative result that comparison module produces.
2. the system of detection computations machine system configuration information as claimed in claim 1 is characterized in that, wherein link block connection WMI is meant: link block initialization component object model (Component Object Model, COM) application programming interfaces.
3. the system of detection computations machine system configuration information as claimed in claim 1 or 2, it is characterized in that, wherein the system configuration information acquisition module obtains computer system configurations information by WMI and is meant: corresponding class in the visit WMI name space, create the class object that is not initialised, thereby obtain computer system configurations information.
4. the method for a detection computations machine system configuration information, computing machine to be detected support that (Windows Management Instrumentation WMI), is characterized in that this method comprises the steps: to the form management regulation
(Component Object Model, COM) application programming interfaces connect the WMI of computing machine to be detected to the initialization component object model;
Corresponding class in the visit WMI name space;
Create the class object that is not initialised, obtain computer system configurations information;
Computer system configurations information of relatively obtaining and reservation system configuration information; And
Output comparative result, this comparative result show whether computer system configurations information meets predetermined assembling specification.
5. the method for detection computations machine system configuration information as claimed in claim 4 is characterized in that, wherein creates the class object that is not initialised and is meant: for class corresponding in the WMI name space of being visited is created the instantiation class object.
CN 200410052399 2004-11-20 2004-11-20 System and method for inspecting configuration information of computer system Pending CN1779647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410052399 CN1779647A (en) 2004-11-20 2004-11-20 System and method for inspecting configuration information of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410052399 CN1779647A (en) 2004-11-20 2004-11-20 System and method for inspecting configuration information of computer system

Publications (1)

Publication Number Publication Date
CN1779647A true CN1779647A (en) 2006-05-31

Family

ID=36769985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410052399 Pending CN1779647A (en) 2004-11-20 2004-11-20 System and method for inspecting configuration information of computer system

Country Status (1)

Country Link
CN (1) CN1779647A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306117A (en) * 2011-08-12 2012-01-04 奇智软件(北京)有限公司 Automatic hardware test alarm method and device
CN102819478A (en) * 2012-07-20 2012-12-12 中国科学院西安光学精密机械研究所 Agent-free data processing system monitoring and management method
CN102929649A (en) * 2012-02-13 2013-02-13 上海西门子工业自动化有限公司 Configuration system and method of PCS7 (Process Control System) software system
CN104573494A (en) * 2014-12-30 2015-04-29 北京工业大学 Safety mobile office method based on WMI software whitelist mechanism
CN106909478A (en) * 2015-12-22 2017-06-30 曹圣航 A kind of intelligent maintenance system taking based on WMI technologies Yu Decision Tree Algorithm
JP2017199291A (en) * 2016-04-28 2017-11-02 株式会社野村総合研究所 Configuration management device
CN109961112A (en) * 2017-12-22 2019-07-02 神讯电脑(昆山)有限公司 The detection method of display panel title

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306117A (en) * 2011-08-12 2012-01-04 奇智软件(北京)有限公司 Automatic hardware test alarm method and device
CN102306117B (en) * 2011-08-12 2014-12-03 奇智软件(北京)有限公司 Automatic hardware test alarm method and device
CN102929649A (en) * 2012-02-13 2013-02-13 上海西门子工业自动化有限公司 Configuration system and method of PCS7 (Process Control System) software system
CN102929649B (en) * 2012-02-13 2015-09-23 上海西门子工业自动化有限公司 The configuration-system of PCS7 software systems and collocation method
CN102819478A (en) * 2012-07-20 2012-12-12 中国科学院西安光学精密机械研究所 Agent-free data processing system monitoring and management method
CN102819478B (en) * 2012-07-20 2015-09-02 中国科学院西安光学精密机械研究所 Agent-free data processing system monitoring and management method
CN104573494A (en) * 2014-12-30 2015-04-29 北京工业大学 Safety mobile office method based on WMI software whitelist mechanism
CN106909478A (en) * 2015-12-22 2017-06-30 曹圣航 A kind of intelligent maintenance system taking based on WMI technologies Yu Decision Tree Algorithm
JP2017199291A (en) * 2016-04-28 2017-11-02 株式会社野村総合研究所 Configuration management device
CN109961112A (en) * 2017-12-22 2019-07-02 神讯电脑(昆山)有限公司 The detection method of display panel title

Similar Documents

Publication Publication Date Title
US7734666B2 (en) Method and system for inspecting memory leaks and analyzing contents of garbage collection files
US8032899B2 (en) Providing policy-based operating system services in a hypervisor on a computing system
US9424157B2 (en) Early detection of failing computers
US8271989B2 (en) Method and apparatus for virtual processor dispatching to a partition based on shared memory pages
US8407515B2 (en) Partition transparent memory error handling in a logically partitioned computer system with mirrored memory
CN1174307C (en) Method, system and computer readable storage medium for automatic device driver
US8336099B2 (en) Methods, hardware products, and computer program products for implementing introspection data comparison utilizing hypervisor guest introspection data
US8521865B2 (en) Method and apparatus for populating a software catalog with automated use signature generation
US7856496B2 (en) Information gathering tool for systems administration
US7757129B2 (en) Generalized trace and log facility for first error data collection
EP2192491B1 (en) System and method of implementing a concurrency profiler
EP1172729A2 (en) Apparatus and method for cataloguing symbolic data for use in performance analysis of computer programs
US20070271425A1 (en) Selective generation of an asynchronous notification for a partition management operation in a logically-partitioned computer
US20020129305A1 (en) System and method for reporting platform errors in partitioned systems
WO2003088002A2 (en) Managing multiple virtual machines
US7325166B2 (en) Hierarchical categorization of customer error reports
US20040210792A1 (en) Method and apparatus for recovering logical partition configuration data
CN101853175A (en) The self check that promotes in the virtualized environment
CN1779647A (en) System and method for inspecting configuration information of computer system
US7904564B2 (en) Method and apparatus for migrating access to block storage
US8346902B2 (en) Performing device configuration rediscovery
US7080230B2 (en) Broadcasting error notifications in system with dynamic partitioning
US20060069949A1 (en) Method and apparatus for identifying type of peripheral, and computer product
US20030172323A1 (en) Method and apparatus for enhancing input/output error analysis in hardware sub-systems
US8307405B2 (en) Methods, hardware products, and computer program products for implementing zero-trust policy in storage reports

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication