CN1329835C - 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
CN1329835C
CN1329835C CNB2003101122421A CN200310112242A CN1329835C CN 1329835 C CN1329835 C CN 1329835C CN B2003101122421 A CNB2003101122421 A CN B2003101122421A CN 200310112242 A CN200310112242 A CN 200310112242A CN 1329835 C CN1329835 C CN 1329835C
Authority
CN
China
Prior art keywords
input
hardware information
computer system
output device
obtains
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.)
Expired - Fee Related
Application number
CNB2003101122421A
Other languages
Chinese (zh)
Other versions
CN1622050A (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

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a method for obtaining and monitoring hardware information of a computer system. Relevant information of an input-output device connected to the computer system can be monitored and obtained by executing a hardware information monitoring program. The method comprises the steps that the content of a user interface defining file is read by the hardware information monitoring program, the user interface defining file comprises a plurality of previously defined control regions for the input-output device, and each of the control regions for the input-output device comprises the executive function and the set parameters of the input-output device; the hardware information monitoring program is communicated with the input-output device through an input-output control document and obtains the information of the input-output device, wherein the input-output control file is communicated with the input-output device by executing the functions of switching on an input-output port of the input-output device, reading the input-output port, writing in the input-output port, etc.

Description

The hardware information of computer system obtains and monitoring method
Technical field
The invention relates to a kind of hardware monitoring method of computer system, the hardware information that is meant a kind of computer system especially obtains and monitoring method, in order to monitor and to obtain the relevant information that is connected in the following computer system input/output device of a Windows environment.
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 input/output 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 input/output 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 input/output 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 input/output device that obtains.This convenient function provides between research and development slip-stick artist or Maintenance Engineer and computer system quite good information to obtain pipeline.
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 input/output device.This job platform does not also belong to the user interface (User Interface) of Windows, carries out the communication of input/output 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, in order to monitoring and obtain the relevant information that is connected in the following computer system input/output device of a Windows environment.
The hardware information that another object of the present invention provides a kind of computer system obtains and monitoring method, the driver that can directly see through computer operating system by carrying out a hardware information monitoring facilities is linked up with the input/output device that is linked to this computing machine, to monitor and to obtain the relevant information of the input/output device that is connected in this computer system.
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 input/output device control sections, include the execution function and the setup parameter of specifying input/output device in each section; This hardware information monitoring facilities sees through an I/O control documents and links up and obtain the information of this input/output device with specifying input/output device, and wherein these I/O control shelves are by carrying out an input/output port of opening input/output device, read input/output end port, writing function such as input/output end port and link up with the input/output device of appointment.
Preferably, hold and to write voluntarily within these user interface definition shelves, with individualized its demand.In addition, see through that this hardware information obtains and monitoring method be may be displayed on the display screen of computer system by related hardware information accessed in each selected input/output device, 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 obtain the hardware information of the present invention's computer system and monitoring method is done further explanation as the back 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 the example on the display that is shown in computer installation via the accessed relevant information of 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 input/output 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 input/output device 8 (for example devices such as keyboard, mouse, rocking bar) is to see through I/O control interface 80 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 also puts in advance in this hard disk 5 and stored a user interface definition shelves H8.inf, I/O control shelves IOCTLx.vxd (being applicable to Windows98) and/or IOCTLx.sys (being applicable to Windows Me, Windows2000, Windows XP).Certainly this hardware information monitoring facilities HW Monitor.exe, user interface definition shelves H8.inf, I/O control shelves IOCTLx.vxd and IOCTLx.sys also can be stored in other the carrier (for example CD), make 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, basic input/output, be called for short BIOS), system's self test program (Power 0n 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, Windows2000, 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 input/output 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:
Defeated mountain numerical value is to the input/output end port of appointment;
Numerical value in the output computer system in the internal buffer (Internal Register) is to the input/output end port of appointment;
Input/output end 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 input/output 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 select to see through suitable I/O control documents and the input/output device in this computer system is linked up.
If this operating system is Windows98, then this hardware information monitoring facilities promptly sees through the I/O control shelves IOCTLx.vxd in this operating system and links up (step 105) with the input/output device that is linked in this computer system.If this operating system is operating systems such as Windows Me, Windows 2000, Windows XP, then this hardware information monitoring facilities promptly sees through the I/O control shelves IOCTLx.sys in this operating system and links up (step 106) with the input/output device that is linked in this computer system.
This I/O control shelves IOCTLx.vxd or IOCTLx.sys can open input/output end port (Open Port) by carrying out, read input/output end port (Read Port), write input/output end port (WritePort) ... etc. function and link up (step 107) with the input/output device of appointment.
See through the accessed appointment input/output end port relevant information of abovementioned steps and can be shown (step 108) by the display 6 of computer installation, understand the running situation of every input/output 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 gets access to 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 input/output end port relevant information storage that whether will get access to.If not, promptly do not store; If be about to this appointments input/output end port relevant information that gets access to 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 input/output end port relevant information that will get access to 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 input/output device links up, and utilize IOCTLx.vxd (under the Windows98 operating system) and IOCTLx.sys (under Windows98, Windows Me, 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 obtain the relevant information of each input/output 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 obtains and monitoring method, in order to monitor and to obtain the related hardware information of the selected input/output device that is connected in a computer system, 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 input/output device control sections, include the execution function and the setup parameter of specifying input/output device in each input/output device control section;
(c) this hardware information monitoring facilities sees through an I/O control documents and links up and obtain the related hardware information of this appointments input/output device with being linked to appointments input/output device in this computer system, wherein this I/O control shelves system by the input/output end port of execution unlatching input/output device, read input/output end port, write function such as input/output end port and link up with the input/output device of appointment.
2. the hardware information of computer system according to claim 1 obtains 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 I/O control shelves.
3. the hardware information of computer system according to claim 1 obtains 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 I/O control shelves.
4. the hardware information of computer system according to claim 1 obtains and monitoring method, it 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 obtains 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, so that this hardware information monitoring facilities correctly selects to see through I/O control documents suitable in this operating system and the input/output device in this computer system is linked up.
6. the hardware information of computer system according to claim 1 obtains and monitoring method, it is characterized in that: it also includes this hardware information monitoring facilities is presented at step on the display screen of computer system by related hardware information accessed in each selected input/output device.
7. the hardware information as the computer system as described in the claim 6 obtains and monitoring method, 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. the hardware information as the computer system as described in the claim 7 obtains and monitoring method, 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 CN1622050A (en) 2005-06-01
CN1329835C true 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)

Families Citing this family (3)

* 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
CN103024090B (en) * 2011-09-20 2015-07-01 阿里巴巴集团控股有限公司 Method and system for identifying user terminal

Citations (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

Patent Citations (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

Also Published As

Publication number Publication date
CN1622050A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
Wasserman et al. The future of programming
US20080065687A1 (en) Methods, Systems, and Media for Generating a Regression Suite Database
US6820222B2 (en) Apparatus and method for processor power measurement in a digital signal processor using trace data and simulation techniques
CN104932963B (en) The method and device of management terminal
CN113807046B (en) Test excitation optimization regression verification method, system and medium
CN111898892A (en) Workflow engine management method, system, device and storage medium
CN116126700A (en) Chip verification method and system based on SystemC
US7412430B1 (en) Determining the quality of computer software
CN103809502A (en) Controller and program
CN1329835C (en) Hardware information acquisition and monitoring method for computer systems
CN102799479A (en) Mainboard with multifunctional basic input output system (BIOS) and test method thereof
CN101645015A (en) Automatic execution method of computer and computer thereof
CN102023919A (en) Integrated test method and system
CN108334313A (en) Continuous integrating method, apparatus and code management system for large-scale SOC research and development
JP2003140895A (en) Test system having recombinable software
Trummer et al. Searching extended IP-XACT components for SoC design based on requirements similarity
CN112558858B (en) Method for acquiring access characteristics of super-large-scale application external memory based on dynamic IO perception
US7231335B2 (en) Method and apparatus for performing input/output floor planning on an integrated circuit design
Clarke et al. The development of an intelligent, integrated building design system within the European COMBINE project
CN114357428A (en) Unbinding method and related device of Internet of things equipment
CN101430656B (en) Read-write method for special module register
US20040015860A1 (en) In the development of computer programs, a method of recording the sequential development of each of a plurality of files forming the program
Joiner Occupational health and environmental information systems: basic considerations
CN113901643B (en) Software demand design verification architecture and method for aircraft electromechanical management system
CN100418204C (en) Process flow for mfg. chip capable of pretesting efficiency, and testing method thereof

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