CN1622050A - Hardware information acquisition and monitoring method for computer systems - Google Patents

Hardware information acquisition and monitoring method for computer systems Download PDF

Info

Publication number
CN1622050A
CN1622050A CN 200310112242 CN200310112242A CN1622050A CN 1622050 A CN1622050 A CN 1622050A CN 200310112242 CN200310112242 CN 200310112242 CN 200310112242 A CN200310112242 A CN 200310112242A CN 1622050 A CN1622050 A CN 1622050A
Authority
CN
China
Prior art keywords
hardware information
computer system
monitoring method
shelves
monitoring
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
CN 200310112242
Other languages
Chinese (zh)
Other versions
CN1329835C (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.)
Mitac Computer Shunde Ltd
Getac Technology Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac Technology Corp
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 Mitac Computer Shunde Ltd, Mitac Technology Corp filed Critical Mitac Computer Shunde Ltd
Priority to CNB2003101122421A priority Critical patent/CN1329835C/en
Publication of CN1622050A publication Critical patent/CN1622050A/en
Application granted granted Critical
Publication of CN1329835C publication Critical patent/CN1329835C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

The hardware information picking up and monitoring method for computer system picks up and monitors the relevant information of I/O devices connected to the computer system by means of executing one hardware information monitoring program. The method includes: the hardware information monitoring program reads out the content of one user interface defining file including several I/O device controlling sections, each of which includes the execution functions and set parameters of the I/O device; and the hardware information monitoring program contacts with designated I/O device by means of the I/O device controlling file to take the information of the I/O device. The contact includes opening the I/O ports of the I/O device, reading the I/O ports, writing the I/O ports and other functions.

Description

The hardware information acquisition and the monitoring method of computer system
Technical field
The invention relates to a kind of hardware monitoring method of computer system, be meant a kind of hardware information acquisition and monitoring method of computer system especially, be connected in the relevant information of the following computer system I/O device of a Windows environment in order to monitoring and acquisition.
Background technology
Computer installation has become the indispensable equipment of present industrial and commercial society, and business writing, scientific and technological file, database retrieval, engineering design, accounting operation, enterprise planning file, electronic bits of data transmit such as ... it is auxiliary to wait various applications all need be dependent on computing machine.
Though the work convenience in every field has been promoted in the use of computing machine widely, but because the continuous research and development innovation of computer hardware technology, make function computer equipment and computer peripheral equipment from strength to strength constantly become commercialized, also make the hardware device of releasing more in advance in the market, be eliminated gradually.
And in the evolution process of software engineering, also exist identical phenomenon, the for example early stage employed dos operating system of computer equipment is replaced by Windows (for example Windows98, Windows Me, Windows 2000, Windows XP) at present gradually.Though it is clumsy that the function of dos operating system is seen compared to Windows phase shape, its basic functions is very complete, and is playing the part of the basic technology of Windows afterwards.Therefore, although Windows has developed into suitable strong functions, but still kept the dos command function.So user or Computer Engineer can see through the command functions of DOS, can grasp the every situation of computer system when running.
Interface circuit between computer system and various I/O device (Input/Output Device) includes one group of buffer, be called input/output end port (I/O Port), can be used as in the computer system among communication port between Central Processing Unit or internal memory and this I/O device.Input/output end port generally is divided into data port (Data Port), status port (Status Port), control port (Control Port), and each input/output end port all has the port address (Port Address) of an appointment.
In the operating system of more early stage dos operating system and Windows98, the slip-stick artist desires to know every information of the I/O device that is linked to this computer system, the order (Command) assign dos operating system and provide can be provided reach the every information of selecting I/O device that obtains.This convenient function provides suitable good information acquisition pipeline between research and development slip-stick artist or Maintenance Engineer and computer system.
But at present gradually generally in the Windows2000 of use and the Windows XP operating system platform, system itself does not support the function of DOS pattern, so the slip-stick artist can't see through the mode of dos command down, learn the information of I/O device.This job platform does not also belong to the user interface (UserInterface) of Windows, carries out the communication of I/O device so the slip-stick artist also can't see through suitable user interface.
Summary of the invention
Edge this, the present invention's fundamental purpose promptly provides a kind of hardware monitoring method of computer system, is connected in the relevant information of the following computer system I/O device of a Windows environment in order to monitoring and acquisition.
Another object of the present invention provides a kind of hardware information acquisition and monitoring method of computer system, the driver that can directly see through computer operating system by carrying out a hardware information monitoring facilities is linked up with the I/O device that is linked to this computing machine, is connected in the relevant information of the I/O device of this computer system with monitoring and acquisition.
In order to reach above-mentioned purpose, at first carry out a hardware information monitoring facilities in the preferred embodiment of the present invention, read appearance within the user interface definition shelves by the hardware information monitoring facilities, in these user interface definition shelves, include a plurality of pre-defined I/O device control sections, include the execution function and the setup parameter of specifying I/O device in each section; This hardware information monitoring facilities sees through an output goes into control documents and links up and capture the information of this I/O device with specifying I/O device, and wherein this is exported into the control shelves by carrying out the I/O port of opening I/O device, read I/O port, writing function such as I/O port and link up with the I/O device of appointment.
Preferably, hold and to write voluntarily within these user interface definition shelves, with individualized its demand.In addition, see through this hardware information acquisition and monitoring method by acquisition in each selected I/O device to related hardware information may be displayed on the display screen of computer system, also can be stored in the appointment archives of this computing machine the foundation that the reason so that the debug operation to be provided is traced.
Description of drawings
To do further explanation as back to the hardware information acquisition and the monitoring method of the present invention's computer system by following preferred embodiment and accompanying drawing below:
Fig. 1 is the present invention's simplification computer system calcspar;
Fig. 2 is the control flow chart of first embodiment of the invention;
Fig. 3 is shown in the example on the display of computer installation by the relevant information that is captured via the inventive method;
Fig. 4 is the control flow chart of second embodiment of the invention.
Embodiment
Fig. 1 is the simplified system calcspar of computer installation, and this computer system mainly includes a central processing unit 1, primary memory 2, bridge 3 (BUS BRIDGE), basic input/output system ROM (read-only memory) 4 (BIOS ROM), hard disk 5, display 6, CD-ROM drive 7, reaches typical cases' such as other I/O device 8 computer component.This central processing unit 1 sees through a system bus 11 and is connected with primary memory 2, and this system bus 11 includes address bus, data bus, reaches control bus.This system bus 11 sees through bridge 3 (Bridge) and connects a PCI/ISA bus 12.This hard disk 5 sees through a hard disk interface 50 (for example IDE interface) and is connected in PCI/ISA bus 12, display 6 sees through a display interfaces 60 and is connected in PCI/ISA bus 12, CD-ROM drive 7 sees through a CD-ROM drive interface 70 and is connected in PCI/ISA bus 12, and I/O device 8 (for example devices such as keyboard, mouse, rocking bar) is to go into to control interface 80 through an output to be connected in PCI/ISA bus 12.
The present invention's hardware information monitoring facilities (HW Monitor.exe) can store in this hard disk 5, and in this hard disk 5, also put in advance stored a user interface definition shelves H8.inf, control shelves IOCTLx.vxd (being applicable to Windows98) and/or IOCTLx.sys (being applicable to Windows Me, Windows2000, Windows XP) are gone in an output.Certainly this hardware information monitoring facilities HW Monitor.exe, user interface define shelves H8.inf, control shelves IOCTLx.vxd is gone in output and IOCTLx.sys also can be stored in other the carrier (for example CD), makes CD-ROM drive 7 or other reading device can read and carry out these these archives.
Consult shown in Figure 2ly, it is the control flow chart of first embodiment of the invention, cooperates computer system calcspar shown in Figure 1 that the present invention's control flow is done an explanation now.At first, computer system is behind electric power starting, it is executive system start-up routine 101, this program comprises control program (the Basic Input/Output System of executive system test, ROM-BIOS, be called for short BIOS), system's self test program (Power On Self Test is called for short POST), and load operation system (Operating System) ... etc. standard program.The aforementioned operating system that loads can be Windows such as Windows98, Windows Me, Windows 2000, Windows XP.
After finishing system start-up program 101, in step 102, carry out hardware information monitoring facilities (HW Monitor.exe) by the user.Then, this hardware information monitoring facilities promptly reads within the user interface definition shelves H8.inf and holds (step 103).
In the preferred embodiment of the present invention, include a plurality of pre-defined I/O device control sections (Section) among these user interface definition shelves H8.inf, include the execution function of specify hardware device in each section, for example:
Output numerical value is to the I/O port of appointment;
Numerical value in the output computer system in the internal buffer (Internal Register) is to the I/O port of appointment;
I/O port by appointment reads in numerical value;
Stand-by period;
The numerical value that stores internal buffer to the buffer array, indexing information;
Numerical value in the internal buffer and numerical value are done and door (AND) computing, and operation result is deposited in the buffer;
Numerical value in the internal buffer and numerical value are done or door (OR) computing, and operation result is deposited in the internal buffer;
Numerical value in the internal buffer and numerical value are done mutual exclusion or door (XOR) computing, and operation result is deposited in the internal buffer;
Load the buffer array, reach indexing information to internal buffer;
Internal buffer is inserted back coupling impact damper (Feedback Buffer);
With the buffer array, and indexing information insert and feedback in the impact damper (Feedback Buffer).
So when this hardware information monitoring facilities HW Monitor.exe reading hold within the definition shelves H8.inf of user interface after, the execution functional sequence ground execution that can put down in writing according to the I/O device control section that is pre-defined in these archives and each section.
Which kind of Windows can include one and differentiate the step 104 of the operating system in the present invention's flow process, be to differentiate this operation system of computer.Determining after which kind of operating system this computer system adopt, the present invention's hardware information monitoring facilities can correctly be selected to see through the I/O device that suitable output goes in control documents and this computer system and link up.
If this operating system is Windows98, then this hardware information monitoring facilities is promptly gone into control shelves IOCTLx.vxd and is linked up (step 105) with the I/O device that is linked in this computer system through the output in this operating system.If this operating system is Windows Me, operating systems such as Windows 2000, WindowsXP, then this hardware information monitoring facilities is promptly gone into control shelves IOCTLx.sys and is linked up (step 106) with the I/O device that is linked in this computer system through the output in this operating system.
This is exported into control shelves IOCTLx.vxd or IOCTLx.sys and can open I/O port (Open Port) by carrying out, reads I/O port (Read Port), write I/O port (Write Port) ... etc. function and link up (step 107) with the I/O device of appointment.
See through the abovementioned steps acquisition to appointment I/O port relevant information can be shown (step 108) by the display 6 of computer installation, understand the running situation of every I/O device for the slip-stick artist, and computer installation is done further processing (for example fault diagnosis, debug etc.) according to these information.
Fig. 3 shows that the aforementioned relevant information that captures is shown in the example on the display 6 of computer installation, and it can include:
(1) battery capacity (Capacity): for example battery capacity is 90% of a Full Charge Capacity;
(2) former design battery capacity (DSN Capacity): for example the battery capacity of original design is 6000mAh;
(3) Full Charge Capacity (Full Capacity): for example the Full Charge Capacity of battery is 5800mAh;
(4) former design cell voltage (DSN Voltage): for example the cell voltage of original design is 12V;
(5) battery charging and discharging number of times (Cycle): for example battery charges, the number of times of discharge has reached 50 times;
(6) central processor temperature (CPU Temp.): for example the operating temperature of central processor temperature is 60 ℃;
(7) battery dump energy (Rm.Capacity): for example the electric weight of battery only remains 5400mAh;
(8) the preestimating battery up time (Time to Em): for example the time that remaining electric weight can re-use in the preestimating battery is 1.2hr;
(9) battery average current value (Av.Current): for example the average current value of battery is 800mA.
In embodiment shown in Figure 2, it also includes the step (step 109) of an inquiry appointment I/O port relevant information storage that whether will capture.If not, promptly do not store; If be about to this appointments I/O port relevant information that captures and be stored in the appointment archives (being H8.log), the foundation that the reason so that the debug operation to be provided is traced.
Preferably, holding within this user interface definition shelves H8.inf is to write and to define its content voluntarily by the slip-stick artist, its demand of individualizing for the slip-stick artist can be in response to the difference of the outfit of computer system and needing of difference.
Consult shown in Figure 4ly, it is the control flow chart of second embodiment of the invention.In this embodiment, all first embodiment with shown in Figure 2 is identical to step 108 for its step 101, but after this step 108, it then is execution one step (step 110) of storage automatically, it is can be in 108 back one schedule times (for example 30 seconds) of completing steps, the appointment I/O port relevant information that will capture automatically is stored to specifies among the archives H8.log, the foundation that the reason so that the debug operation to be provided is traced.
Auxiliary by the present invention, making the slip-stick artist directly see through driver and I/O device links up, and utilize IOCTLx.vxd (under the Windows98 operating system) and IOCTLx.sys (under Windows98, WindowsMe, Windows 2000, the Windows XP operating system), can make the present invention reach cross-platform function, and need not do the installation of driver, and can be directly monitoring and capture the relevant information of each I/O device in Windows operating system, so the present invention's technology really possesses the value of industry.
Only above embodiment explanation only is the present invention's preferred embodiment explanation, all habit in this operator when doing other all improvement and variation according to the foregoing description explanation of the present invention.Yet all improvement and variation that these are done according to the embodiment of the invention are in claims scope that is defined below the spirit that still belongs to the present invention reaches.

Claims (8)

1. the hardware information of a computer system captures and monitoring method, be connected in the related hardware information of the selected I/O device of a computer system in order to monitoring and acquisition, this computer system operation is characterized in that in Windows this method comprises the following steps:
(a) by reading and carry out a hardware information monitoring facilities in the carrier;
(b) this hardware information monitoring facilities reads within the user interface definition shelves and holds, in these user interface definition shelves, include a plurality of pre-defined I/O device control sections, include the execution function and the setup parameter of specifying I/O device in each I/O device control section;
(c) this hardware information monitoring facilities sees through an output and goes into control documents and link up and capture the related hardware information of this appointments I/O device with being linked to appointments I/O device in this computer system, wherein this export into control shelves system by the I/O port of execution unlatching I/O device, read I/O port, write function such as I/O port and link up with the I/O device of appointment.
2. the hardware information of computer system according to claim 1 captures and monitoring method, it is characterized in that: this carrier is a hard disk, and depositing record in this hard disk in advance has this hardware information monitoring facilities, user interface definition shelves and output to go into the control shelves.
3. the hardware information of computer system according to claim 1 captures and monitoring method, it is characterized in that: this carrier is a discs, and depositing record in this discs in advance has this hardware information monitoring facilities, user interface definition shelves and output to go into the control shelves.
4. acquisition of the hardware information of computer system according to claim 1 and monitoring method is characterized in that: hold and can write and define its content person voluntarily by the user within these user interface definition shelves.
5. the hardware information of computer system according to claim 1 captures and monitoring method, it is characterized in that: before execution in step c, this hardware information monitoring facilities also includes one and differentiates the step which kind of operating system is this computer system use, and links up so that this hardware information monitoring facilities correctly selects to see through the I/O device that suitable output is gone in control documents and this computer system in this operating system.
6. the hardware information of computer system according to claim 1 acquisition and monitoring method is characterized in that: its also include with this hardware information monitoring facilities by acquisition in each selected I/O device to related hardware information be presented at step on the display screen of computer system.
7. as the hardware information acquisition and the monitoring method of the computer system as described in the claim 6, it is characterized in that: this related hardware information is presented at after the display screen of computer system, also includes one and stores the step of this related hardware information in appointment archives automatically.
8. as the hardware information acquisition and the monitoring method of the computer system as described in the claim 7, it is characterized in that: this related hardware information is before being stored in these appointment archives, also include the step of a confirmation request, confirm whether to store this related hardware information for the operator.
CNB2003101122421A 2003-11-24 2003-11-24 Hardware information acquisition and monitoring method for computer systems Expired - Fee Related CN1329835C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101122421A CN1329835C (en) 2003-11-24 2003-11-24 Hardware information acquisition and monitoring method for computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101122421A CN1329835C (en) 2003-11-24 2003-11-24 Hardware information acquisition and monitoring method for computer systems

Publications (2)

Publication Number Publication Date
CN1622050A true CN1622050A (en) 2005-06-01
CN1329835C CN1329835C (en) 2007-08-01

Family

ID=34759653

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101122421A Expired - Fee Related CN1329835C (en) 2003-11-24 2003-11-24 Hardware information acquisition and monitoring method for computer systems

Country Status (1)

Country Link
CN (1) CN1329835C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739257A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and device for identifying and outputting information of mobile terminal component
CN101201784B (en) * 2006-12-14 2011-02-09 英业达股份有限公司 Parameter display system
CN103024090A (en) * 2011-09-20 2013-04-03 阿里巴巴集团控股有限公司 Method and system for identifying user terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60217467A (en) * 1984-04-13 1985-10-31 Toshiba Corp Data collecting processing unit
JPS61193240A (en) * 1985-02-21 1986-08-27 Mitsubishi Electric Corp Computer unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201784B (en) * 2006-12-14 2011-02-09 英业达股份有限公司 Parameter display system
CN101739257A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and device for identifying and outputting information of mobile terminal component
CN103024090A (en) * 2011-09-20 2013-04-03 阿里巴巴集团控股有限公司 Method and system for identifying user terminal
CN103024090B (en) * 2011-09-20 2015-07-01 阿里巴巴集团控股有限公司 Method and system for identifying user terminal

Also Published As

Publication number Publication date
CN1329835C (en) 2007-08-01

Similar Documents

Publication Publication Date Title
US20080065931A1 (en) Methods, Systems, and Media for Generating a Regression Suite Database
CN1875348A (en) Information system, load control method, load control program, and recording medium
CN101060436A (en) A fault analyzing method and device for communication equipment
CN2869988Y (en) Chip programming apparatus
US20050015666A1 (en) Isolating the evaluation of actual test results against expected test results from the test module that generates the actual test results
CN1967539A (en) Apparatus and method for monitoring and debugging query execution objects
CN1426004A (en) Unit design device and method
CN1862579A (en) Method of release and product flow management for a manufacturing facility
CN1643500A (en) System for collecting operation data of work machine
CN1485740A (en) General purpose testing arrangement for embedded module and subsystem based on host machine platform
CN1776644A (en) Method for monitoring internal memory varible rewrite based on finite-state-machine
CN1696853A (en) Process scheduling system and method
CN113467944B (en) Resource deployment device and method for complex software system
CN106406828A (en) Method and apparatus for modifying business tool function of JAVA system
CN1679009A (en) Joshi Aniruddha,Lee John,Kwatra Atul
CN1622050A (en) Hardware information acquisition and monitoring method for computer systems
CN1690966A (en) Controller
CN1295778C (en) Method for verifying consistency of chip hardware behavior and software simulation behavior
CN1818885A (en) Operation logbook obtaining method
CN1427338A (en) System starting up self examination device and method
CN1584850A (en) Method for passive long-range deterministic system state
CN1848083A (en) Generic software requirements analyzer
CN1896976A (en) On-line scaling system and method
CN1848093A (en) Method for debugging high configuration and power supply interface module in basic inputting and outputting system
CN1684043A (en) Real time monitoring system and method for computer files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070801

Termination date: 20131124