System hardware monitoring and simulation testing module and method thereof
Technical field
The present invention relates to a kind of system hardware monitoring and simulation testing module and method thereof, particularly relate to a kind of simulation testing module of the hardware state monitoring in the computer system and method for simulation test of being applied to.
Background technology
In the technology of now system hardware monitoring, have by as baseboard management controller (BaseboardManagement Controller, BMC), but whether unusual system voltage, cpu temperature and fan speed in the real time monitoring computer system exceeds outside the default scope to judge these monitoring datas.The function of utilizing baseboard management controller (BMC) can initiatively provide the system state of the software/hardware that comprises computer system to monitor.
But,, promptly can provide the state of checking computer system hardware without any module if do not have baseboard management controller (BMC) in the computer system.And baseboard management controller (BMC) only provides the interface between management software and the platform hardware management, unusual system state in the real time monitoring computer system, can't carry out the simulation test of system state, as fixed system voltage, cpu temperature or fan speed, to measure under the state of this simulation test the data of other system state.
Therefore, known technology all can't provide a module of integrating that the monitoring of computer system hardware state is provided, more can't carry out simulation test, have no way of simulating the optimized setting state of computer system hardware, to reach the purpose of system optimization to the state of computer system hardware.
Summary of the invention
In view of this, technical matters to be solved by this invention is: propose a kind of system hardware monitoring and simulation testing module and method thereof, be applied in the computer system, one system hardware monitoring and the simulation testing module of integrating mainly is provided, the user is provided the setting that an operation interface comes initialization system hardware monitoring and simulation test, this module also judges whether have baseboard management controller (BaseboardManagement Controller in this computer system automatically, BMC), its judgment mode is by the general input and output pin of access I/O control chip (Super I/O) (GPIO pin), judge whether to detect the bus of baseboard management controller (BMC), whether have baseboard management controller (BMC) with the motherboard of judging computer system, promptly the decision instruction rreturn value by detection bus (bus 0~256) is to judge whether it is the bus of baseboard management controller (BMC).This module is directly passed through baseboard management controller then, or by the chipset on the motherboard (Chipset), comes the intrasystem hardware of control computer.Because of chipset that different manufacturer produced has different signal transfer modes, as I
2The signal transmission form of the signal transmission interface that C interface, LPC (Low-Pin Count) etc. are different, and different chip identification code (Chip ID).Therefore, finding out this computer system by this module has with I
2The signal transmission interface of C device or LPC device transmission signals, chip identification code by chipset again, go to compare and determine the kind of chipset of the motherboard of this computer system, come the intrasystem hardware of control computer by chipset to send this suitable steering order.Then, the system hardware monitoring that sets according to the user and the setting of simulation test are with the simulation test of executive system hardware.By controlling a hardware state with a fixed value, monitor the change of other hardware state of this computer system again, for example set blower module with a specific rotation speed of the fan running, and under the operating condition of this specific rotation speed of the fan, monitor the change of this hardware state of this computer system, that is comprise the change of change, the magnitude of voltage of cpu temperature, because of change of the noise value that fan running produced etc.
To achieve these goals, the present invention proposes a kind of system hardware monitoring and simulation testing module, at least comprise: a controller judging unit, provide a motherboard of judging a computer system whether to have a baseboard management controller (Baseboard Management Controller, and make a judged result BMC); One operation interface unit according to this judged result of this controller judging unit, provides a corresponding user interface, and this user interface comprises at least provides a simulation test of setting this computer system to set; One control module links in this operation interface unit, sets according to this simulation test that sets, and a chipset (Chipset) of this motherboard of this computer system is sent a suitable steering order; One monitoring means links in this operation interface unit, sets according to this simulation test that sets, and monitors a hardware state of this computer system; An and chip detecting unit, by detecting a signal transmission interface of this computer system, and obtain the chip identification code (Chip ID) of this chipset, and go to compare and determine the kind of this chipset, for this control module this chipset is sent this suitable steering order.Wherein, this baseboard management controller (BMC) comprises in order to the system management software of controlling this computer system and a microcontroller between the hardware interface and an embedding firmware (Firmware), and this chipset (Chipset) refers to a South Bridge chip and a north bridge chips of this motherboard.
To achieve these goals, the present invention proposes a kind of system hardware monitoring and analog detection method, at least comprise the following step: (a) whether the motherboard by a controller judgment unit judges one computer system has a baseboard management controller (BMC), and makes a judged result; (b), provide a corresponding user interface according to this judged result of this controller judging unit; (c) if this computer system has this baseboard management controller, then control the rotation speed of the fan of at least one blower module in this computer system with this baseboard management controller; (d) if this computer system does not have this baseboard management controller, then remove to control this rotation speed of the fan of at least one this blower module in this computer system by a chipset (Chipset); And the described a plurality of rotation speeds of the fan that (e) demonstrate described a plurality of blower modules respectively.Simultaneously, analog detection method of the present invention also comprises the following step: (f) set at least one specific rotation speed of the fan by this user interface; (g) control this blower module respectively with this specific rotation speed of the fan running; (g1) control this blower module by this baseboard management controller; (g2) remove to control this blower module by this chipset; (h) under the running of this specific rotation speed of the fan, monitor a hardware state of this computer system; And the change that (i) shows this hardware state of this computer system.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described in detail as follows of appended accompanying drawing:
Fig. 1 is the calcspar of system hardware monitoring of the present invention and simulation testing module;
Fig. 2 is the flow chart of steps of system hardware monitoring of the present invention and analog detection method;
Fig. 3 is the thin portion process flow diagram of system hardware state simulation method of testing of the present invention.
[main element symbol description]
100: system hardware monitoring and simulation testing module
110: the controller judging unit
120: the operation interface unit
130: control module
131: baseboard management controller
132: chipset
140: monitoring means
1401~140n: sensor
150: the chip detecting unit
160: blower module
400~490: method step
Embodiment
The present invention is a kind of system hardware monitoring and simulation testing module and method thereof, and is more clear and easy to understand for making the present invention, below will cooperate illustrated example to be described in detail to use the preferred embodiment of the technology of the present invention.Right this diagram and detailed description are not in order to limit the disclosed technology of the present invention and various change and distortion.
Cooperation is the calcspar of system hardware monitoring of the present invention and simulation testing module with reference to Fig. 1.As shown in the figure, system hardware monitoring of the present invention and simulation testing module 100 comprise a controller judging unit 110, an operation interface unit 120, a control module 130, a monitoring means 140 and a chip detecting unit 150 at least.Controller judging unit 110 is used to provide the motherboard of judging a computer system and whether has a baseboard management controller 131, and make a judged result, wherein, baseboard management controller (BMC) comprises the system management software and a microcontroller between the hardware interface and the embedding firmware (Firmware) in order to control this computer system.Operation interface unit 120 is according to this judged result of this controller judging unit 110, a corresponding user interface is provided, this user interface can provide a simulation test of setting this computer system to set, to come the intrasystem hardware of control computer by chipset 132 or baseboard management controller 131, wherein chipset 132 refers to a South Bridge chip and a north bridge chips of this motherboard, because the chipset 132 that different manufacturer produced has I
2The different signal transmission form of signal transmission interfaces such as C interface, LPC (Low-Pin Count) interface, and different chip identification code (Chip ID).Therefore going for out this computer system by chip detecting unit 150 in the mode of poll (Polling) has with I
2The signal transmission interface of C device or LPC device transmission signals is obtained the chip identification code of chipset 132 again by chip detecting unit 150, go to compare and determine the kind of chipset 132 of the motherboard of this computer system.So, send this suitable steering order for 130 pairs of these chipsets 132 of control module.Control module 130 links in operation interface unit 120, and the simulation test that sets according to the user is set, and the chipset 132 of this computer system host plate is sent a suitable steering order.And monitoring means 140 links in operation interface unit 120, set a hardware state of this computer system of monitoring according to the simulation test that sets, such as, be set under the specific rotation speed of the fan operating condition, monitor the change of this hardware state of this computer system.
The judgment mode of above-mentioned controller judging unit 110 is by the general input and output pin (GPIO pin) of access I/O control chip (Super I/O), judge whether to detect the bus of baseboard management controller (BMC), whether has baseboard management controller (BMC) with the motherboard of judging computer system, promptly whether the decision instruction rreturn value by detection bus (bus 0~256) is 00, if 00 bus that is expressed as baseboard management controller (BMC).Operation interface unit 120 provides a corresponding user interface, therefore, if this computer system has baseboard management controller 131, then provides the operation interface of control setting substrate Management Controller 131; If this computer system does not have baseboard management controller 131, then provide control to set the operation interface of a chipset (Chipset) 132.In addition, monitoring means 140 also is connected to a plurality of sensor 1401~140n, described a plurality of sensor 1401~140n is located in the computer system, for the hardware state of measuring this computer system, as level of noise that cpu temperature, magnitude of voltage, rotation speed of the fan, fan running produced etc.And this simulation test is by setting a fixing hardware state value, monitor the change of other hardware state of this computer system again, for example set blower module 160 with a specific rotation speed of the fan running, and under the operating condition of this specific rotation speed of the fan, monitor the change of this hardware state of this computer system, that is comprise the change of change, the magnitude of voltage of cpu temperature, because of change of the noise value that fan running produced etc.
Cooperation is the flow chart of steps of system hardware monitoring of the present invention and analog detection method with reference to Fig. 2.As shown in the figure, sensor monitors method of the present invention, at first, judge by a controller judging unit 110 whether a motherboard of a computer system has a baseboard management controller 131 and make a judged result (step 400), its judgment mode is by the general input and output pin of controller judging unit 110 access I/O control chips (SuperI/O) (GPIO pin), judge whether to detect the bus of baseboard management controller (BMC), whether has baseboard management controller (BMC) with the motherboard of judging computer system, promptly whether the decision instruction rreturn value by detection bus (bus 0~256) is 00, if 00 bus that is expressed as baseboard management controller (BMC).Then, judged result according to abovementioned steps 400, a corresponding user interface is provided, if this computer system has baseboard management controller 131, the operation interface (step 410) of control setting substrate Management Controller 131 then is provided, comes the intrasystem hardware of control computer with baseboard management controller 131.Then, monitor the rotation speed of the fan (step 420) of at least one blower module 160 in these computer systems with this baseboard management controller 131.But according to the judged result of abovementioned steps 400,, then provide control to set the operation interface (step 430) of a chipset 132, come the intrasystem hardware of control computer with chipset 132 if this computer system does not have baseboard management controller 131.Then, remove to monitor the rotation speed of the fan (step 440) of at least one this blower module 160 in this computer system by chipset 132.At last, demonstrate the rotation speed of the fan (step 450) of described a plurality of blower module 160 more respectively, then process ends.Above-mentioned chipset 132 refers to a South Bridge chip and a north bridge chips of this motherboard, because the chipset 132 that different manufacturer produced has I
2Different signal transfer modes such as C interface, LPC (Low-Pin Count) interface, and different chip identification code (Chip ID).Going for out this computer system by chip detecting unit 150 in the mode of poll (Polling) has with I
2The signal transmission interface of C device or LPC device transmission signals is obtained the chip identification code of chipset 132 again by chip detecting unit 150, go to compare and determine the kind of chipset 132 of the motherboard of this computer system.So, send this suitable steering order for 130 pairs of these chipsets 132 of control module.
In addition, after above-mentioned steps 450, also comprise a thin flow process A of portion.Cooperation is the thin portion process flow diagram of system hardware state simulation method of testing of the present invention with reference to Fig. 3.Among the thin flow process A of portion as shown in the figure, set at least one specific rotation speed of the fan (step 460) by user interface earlier.Then, control blower module 160 respectively with this specific rotation speed of the fan running (step 470), this step can be divided into two parts, comprises by this baseboard management controller 131 these blower modules 160 (step 471) of control; Or remove to control this blower module 160 (step 472) by this chipset 132.Then, under the running of this specific rotation speed of the fan, monitor a hardware state (step 480) of this computer system.Then, show the change (step 490) of this hardware state of this computer system, comprise the change of change, the magnitude of voltage of cpu temperature, because of change of the noise value that fan running produced etc.
Thus, the present invention proposes a system hardware monitoring and a simulation testing module of integrating, for user's initialization system hardware monitoring and simulation test, then directly by baseboard management controller (BMC), or, come the intrasystem hardware of control computer by the chipset on the motherboard (Chipset).Then, the system hardware monitoring that sets according to the user and the setting of simulation test are with the simulation test of executive system hardware.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing various changes and variation, so protection scope of the present invention is when looking being as the criterion that the accompanying Claim book defined.