CN106126398A - The monitoring method and apparatus of hardware device - Google Patents
The monitoring method and apparatus of hardware device Download PDFInfo
- Publication number
- CN106126398A CN106126398A CN201610459351.8A CN201610459351A CN106126398A CN 106126398 A CN106126398 A CN 106126398A CN 201610459351 A CN201610459351 A CN 201610459351A CN 106126398 A CN106126398 A CN 106126398A
- Authority
- CN
- China
- Prior art keywords
- hardware device
- data message
- described hardware
- running status
- cpu
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
Abstract
The present invention proposes the monitoring method and apparatus of a kind of hardware device, and this monitoring method includes: obtain the data message of hardware device;According to the data message of hardware device, determine the running status of hardware device, and by the running status of display lamp viewing hardware equipment.The present invention is by obtaining the data message of hardware device, data message according to hardware device, determine the running status of hardware device, and by the running status of display lamp viewing hardware equipment such that it is able to the running status of hardware device is directly judged according to display lamp.
Description
Technical field
The present invention relates to monitoring field, it particularly relates to the monitoring method and apparatus of a kind of hardware device.
Background technology
In prior art, the monitoring method for hardware device is to be monitored by the way of software, and the method is direct
Obtain the operation information of hardware device, such as the relevant information etc. of cpu busy percentage, memory usage and/or hardware device, obtaining
Operation information is concentrated after completing and is sent to monitor supervision platform, by contrast benchmark data, monitor supervision platform judges whether equipment event occurs
Barrier.But, in this fashion, the realization link of software is more, and therefore, the situation of erroneous judgement often occurs in the method.
For the problem in correlation technique, effective solution is the most not yet proposed.
Summary of the invention
For the problem in correlation technique, the present invention proposes a kind of monitoring method of hardware device.
The technical scheme is that and be achieved in that:
According to an aspect of the invention, it is provided a kind of monitoring method of hardware device.
This monitoring method includes:
Obtain the data message of hardware device;
According to the data message of hardware device, determine the running status of hardware device, and by display lamp viewing hardware
The running status of equipment.
In one embodiment of the invention, hardware device includes one below: CPU, pci card, PCIe card.
In one embodiment of the invention, data message includes: the temperature information of CPU, the rotation speed of the fan information of CPU,
The speed of service information of pci card, the speed of service information of PCIe card.
In one embodiment of the invention, according to the status information of hardware device, the running status of hardware device is determined
Including:
Step S1, compares the data message of hardware device and the first threshold of setting;
Step S2, in the case of the data message of hardware device is less than or equal to first threshold, determines that hardware device is in
One-level alert status;
Step S3, the data message at hardware device is more than first threshold, and the increasing degree of data message is less than setting
In the case of fixed Second Threshold, determine that hardware device is in two grades of alert status;
Step S4, the data message at hardware device is more than first threshold, and the increasing degree of data message is more than setting
In the case of fixed Second Threshold, determine that hardware device is in three grades of alert status.
In one embodiment of the invention, according to the status information of hardware device, the running status of hardware device is determined
Including:
In the case of the data message of hardware device is less than or equal to Second Threshold, determine that hardware device is in three grades of early warning
State.
In one embodiment of the invention, farther included by the running status of display lamp viewing hardware equipment:
Running status by the flicker frequency viewing hardware equipment of display lamp.
According to a further aspect in the invention, it is provided that the supervising device of a kind of hardware device.
This supervising device includes:
Acquisition module, for obtaining the data message of hardware device;
Determine display module, for the data message according to hardware device, determine the running status of hardware device, and lead to
Cross the running status of display lamp viewing hardware equipment.
In one embodiment of the invention, hardware device includes one below: CPU, pci card, PCIe card.
In one embodiment of the invention, data message includes: the temperature information of CPU, the rotation speed of the fan information of CPU,
The speed of service information of pci card, the speed of service information of PCIe card.
In one embodiment of the invention, determine that display module farther includes:
Display module, for the running status by the flicker frequency viewing hardware equipment of display lamp.
The present invention, by obtaining the data message of hardware device, according to the data message of hardware device, determines hardware device
Running status, and by the running status of display lamp viewing hardware equipment such that it is able to directly judge according to display lamp
The running status of hardware device.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtains according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the flow chart of the monitoring method of a kind of hardware device according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the monitoring method of a kind of hardware device according to embodiments of the present invention;
Fig. 3 is the block diagram of the supervising device of a kind of hardware device according to embodiments of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained, broadly fall into present invention protection
Scope.
According to embodiments of the invention, it is provided that a kind of monitoring method of hardware device.
As it is shown in figure 1, the monitoring method of hardware device according to embodiments of the present invention includes:
Step S101, obtains the data message of hardware device;
Step S103, according to the data message of hardware device, determines the running status of hardware device, and passes through display lamp
The running status of viewing hardware equipment.
By the such scheme of the present invention, it is possible to by obtaining the data message of hardware device, according to the number of hardware device
It is believed that breath, determine the running status of hardware device, and by the running status of display lamp viewing hardware equipment such that it is able to straight
Connect the running status judging hardware device according to display lamp, simultaneously as the present invention is by this side intuitively of display lamp
The running status of formula viewing hardware equipment such that it is able to avoid the situation of the running status of mistake viewing hardware equipment.
According to one embodiment of present invention, hardware device includes one below: CPU (Central Processing
Unit central processing unit), PCI (Peripheral Component Interconnect Peripheral Component Interconnect standard) card, PCIE
(the new standard of PCI Express computer docking station) blocks.
In this embodiment, hardware device is server category product facility, it is, therefore, to be understood that hardware device can also
It is other equipment in addition to the equipment involved by above-described embodiment.Such as, according to an alternative embodiment of the present invention, hardware
Equipment can be internal memory.
According to an embodiment of invention, data message includes: the temperature information of CPU, the rotation speed of the fan information of CPU, PCI
The speed of service information of card, the speed of service information of PCIe card.
In this enforcement, as in figure 2 it is shown, the present invention is by by the temperature of CPU, the rotation speed of the fan of CPU, the operation of pci card
Speed is set to data message, meanwhile, arranges one and independent waits for process, be responsible for specially collecting number in data processing module
According to data, and carry out processing data information, wherein, this finger daemon refer in the operating system of Unix or other multitasks
The computer program that backstage performs, can't accept the direct manipulation of user.It is appreciated that data message can also be except above-mentioned reality
Execute other data messages outside the data message involved by example.Such as, according to an alternative embodiment of the present invention, data are believed
Breath can be the utilization rate of memory size.
According to an embodiment of invention, according to the status information of hardware device, determine the running status bag of hardware device
Include:
Step S1, compares the data message of hardware device and the first threshold of setting;
Step S2, in the case of the data message of hardware device is less than or equal to first threshold, determines that hardware device is in
One-level alert status;
Step S3, the data message at hardware device is more than first threshold, and the increasing degree of data message is less than setting
In the case of fixed Second Threshold, determine that hardware device is in two grades of alert status;
Step S4, the data message at hardware device is more than first threshold, and the increasing degree of data message is more than setting
In the case of fixed Second Threshold, determine that hardware device is in three grades of alert status.
According to one embodiment of present invention, according to the status information of hardware device, the running status of hardware device is determined
Including: in the case of the data message of hardware device is less than or equal to Second Threshold, determine that hardware device is in three grades of early warning shapes
State.
In this embodiment, when monitoring device is CPU, the fan information of CPU and the mean speed of CPU are compared
Relatively, wherein, the mean speed of CPU refers to cpu fan 7*24 hourly average rotating speed, and the acquisition process of the mean speed of this CPU is such as
Under:
Original rotating speed: after booting computer, the rated speed of the fan of CPU is recorded as original rotating speed;
24 hourly average rotating speeds: waiting for process monitoring rotation speed of the fan after booting computer, statistics primary air fan turned in each hour
Speed, calculates 24 hours interior mean speeds;
7*24 hourly average rotating speed: add up the 24 hourly average rotating speeds of every day in continuous 7 days after start, calculate 7 days it
Interior mean speed.
, the running status of the fan of CPU is set to: rotation speed of the fan is normal, 1 grade of early warning meanwhile, 2 grades of early warning and 3 grades pre-
Alert, above-mentioned running status corresponds to respectively:
Rotation speed of the fan is normal: when, after normal boot-strap, the process of waiting for can record the rotating speed of start aft-fan and as benchmark wind
Fan rotating speed, rotating speed this moment is fan rated speed, and illuminating state lamp, and arranging flicker frequency is to flash once for 3 seconds, will instruction
The state of lamp is set to 0;
Fan early warning 1 grade: when the rotation speed of the fan of CPU is between original rotating speed and 7*24 mean speed, is 1 grade of early warning shape
State, the flicker frequency arranging lamp is 1 second 1 time, and the state of display lamp is set to 1;
Fan early warning 2 grades: when the rotation speed of the fan of CPU is less than 50% more than 7*24 hourly average rotating speed, rotating speed increasing degree
Time, it is 2 grades of alert status, the flicker frequency arranging lamp is to flash 3 times for 1 second, and the state of display lamp is set to 2;
Fan early warning 3 grades: when the rotation speed of the fan increasing degree of CPU is more than 50%, is 3 grades of alert status, arranges lamp and is
Constant state, is set to 3 by the state of display lamp.It is appreciated that 3 grades of alert status can also be except involved by above-described embodiment
State outside other states.Such as, according to an alternative embodiment of the present invention, 3 grades of alert status can be the wind of CPU
Fan rotating speed is 0.
Additionally, when monitoring device is CPU, the temperature information of CPU and the mean temperature of CPU are compared, wherein,
The mean temperature of CPU refers to the 7*24 hourly average temperature of CPU, and the acquisition process of the mean speed of this CPU is as follows:
Original temperature: the temperature of CPU after start;
24 hourly average temperature: wait for process monitoring cpu temperature, cpu temperature of each hour statistics after start, calculate
24 hours interior mean temperatures;
7*24 hourly average temperature: add up the 24 hourly average temperature of continuous 7 day every day after start, within calculating 7 days
Mean temperature.
, the running status of CPU is set to: normal, 1 grade of early warning, 2 grades of early warning and 3 grades of early warning, above-mentioned running status meanwhile
Correspond to respectively:
Normal: when after normal boot-strap, the process of waiting for can record the temperature of CPU after start and as fiducial temperature, this moment
Temperature is normal, and illuminating state lamp, and arranging flicker frequency is to flash once for 3 seconds, and the state of display lamp is set to 0;
1 grade of early warning: when cpu temperature is between original temperature and 7*24 hourly average temperature, for 1 grade of state of early warning, if
The flicker frequency put etc. is 1 second 1 time, and the state of display lamp is set to 1;
2 grades of early warning: when cpu temperature is more than 7*24 hourly average temperature, when temperature increases less than 50%, for 2 grades of shapes of early warning
State, the flicker frequency arranging lamp is 1 second 3 times, and the state of display lamp is set to 2;
3 grades of early warning: when cpu temperature grows beyond 50%, for 3 grades of states of early warning, arrange the bright state of lamp bit length, by display lamp
State be set to 3.
According to one embodiment of present invention, according to the status information of hardware device, the running status of hardware device is determined
Including: in the case of the data message of hardware device is less than or equal to Second Threshold, determine that hardware device is in three grades of early warning shapes
State.
In this embodiment, the speed of service that the speed of service and the pci card of pci card are arranged when dispatching from the factory is compared, will
The running status of pci card is set to: normal, 3 grades of early warning, and above-mentioned running status corresponds to respectively:
Normal: the speed of service waiting for process periodic monitoring pci card is the most normal, if the speed of service is normal, arranges lamp
Flicker frequency be 3 seconds 1 time, the state of display lamp is set to 0;
Early warning 3 grades: if the speed of service arranged when the speed of service of pci card is dispatched from the factory less than this pci card, for early warning 3 grades,
The flicker frequency arranging lamp is long bright state, and the state of display lamp is set to 3.It is appreciated that 3 grades of alert status can also be
Other states in addition to the state involved by above-described embodiment.Such as, according to an alternative embodiment of the present invention, 3 grades pre-
Alert state can be the loading failure of pci card.
According to one embodiment of present invention, farther included by the running status of display lamp viewing hardware equipment: logical
Cross the running status of the flicker frequency viewing hardware equipment of display lamp.
In this embodiment, the various flicker states of display lamp, need to arrange the different conditions value of correspondence, display lamp is not
It is respectively as follows: normally (0) with state value, 1 grade of early warning (1), 2 grades of early warning (2), 3 grades of early warning (3), meanwhile, the height of any data type
Level condition can directly cover the low level state of any data type, such as: 3 grades of alert status of cpu fan can be direct
Cover 2 grades of alert status of cpu fan such that it is able to the running status of viewing hardware equipment in real time;When the instruction needing setting
When the level condition of lamp is identical, the state value of lamp is constant;Low level state cannot cover high-level state such that it is able to avoids
The situation of display entanglement, it is ensured that display lamp properly functioning.
According to embodiments of the invention, additionally provide the supervising device of a kind of hardware device.
As it is shown on figure 3, supervising device according to embodiments of the present invention includes:
Acquisition module 31, for obtaining the data message of hardware device;
Determine display module 32, for the data message according to hardware device, determine the running status of hardware device, and
Running status by display lamp viewing hardware equipment.
According to one embodiment of present invention, hardware device includes one below: CPU, pci card, PCIe card.
According to one embodiment of present invention, data message includes: the temperature information of CPU, the rotation speed of the fan information of CPU,
The speed of service information of pci card, the speed of service information of PCIe card.
According to one embodiment of present invention, determine that display module 32 farther includes: display module, for by instruction
The running status of the flicker frequency viewing hardware equipment of lamp.
In sum, by means of the technique scheme of the present invention, by obtaining the data message of hardware device, according to firmly
The data message of part equipment, determines the running status of hardware device, and by the running status of display lamp viewing hardware equipment,
It is thus possible to directly judge the running status of hardware device according to display lamp.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (10)
1. the monitoring method of a hardware device, it is characterised in that including:
Obtain the data message of described hardware device;
According to the data message of described hardware device, determine the running status of described hardware device, and shown by display lamp
The running status of described hardware device.
Monitoring method the most according to claim 1, it is characterised in that described hardware device includes one below: CPU, PCI
Card, PCIe card.
The temperature information of monitoring method the most according to claim 2, it is characterised in that described data message includes: CPU,
The rotation speed of the fan information of CPU, the speed of service information of pci card, the speed of service information of PCIe card.
Monitoring method the most according to claim 1, it is characterised in that according to the status information of described hardware device, determine
The running status of described hardware device includes:
Step S1, compares the data message of described hardware device and the first threshold of setting;
Step S2, in the case of the data message of described hardware device is less than or equal to described first threshold, determines described hardware
Equipment is in one-level alert status;
Step S3, the data message at described hardware device is more than described first threshold, and the growth width of described data message
In the case of degree is less than the Second Threshold set, determine that described hardware device is in two grades of alert status;
Step S4, the data message at described hardware device is more than described first threshold, and the growth width of described data message
In the case of degree is more than the Second Threshold set, determine that described hardware device is in three grades of alert status.
Monitoring method the most according to claim 1, it is characterised in that according to the status information of described hardware device, determine
The running status of described hardware device includes:
In the case of the data message of described hardware device is less than or equal to described Second Threshold, determine that described hardware device is in
Three grades of alert status.
Monitoring method the most according to claim 1, it is characterised in that shown the operation of described hardware device by display lamp
State farther includes:
The running status of described hardware device is shown by the flicker frequency of display lamp.
7. the supervising device of a hardware device, it is characterised in that including:
Acquisition module, for obtaining the data message of described hardware device;
Determine display module, for the data message according to described hardware device, determine the running status of described hardware device, and
And the running status of described hardware device is shown by display lamp.
Supervising device the most according to claim 7, it is characterised in that described hardware device includes one below: CPU, PCI
Card, PCIe card.
The temperature information of supervising device the most according to claim 8, it is characterised in that described data message includes: CPU,
The rotation speed of the fan information of CPU, the speed of service information of pci card, the speed of service information of PCIe card.
Supervising device the most according to claim 7, it is characterised in that determine that display module farther includes:
Display module, for showing the running status of described hardware device by the flicker frequency of display lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610459351.8A CN106126398A (en) | 2016-06-22 | 2016-06-22 | The monitoring method and apparatus of hardware device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610459351.8A CN106126398A (en) | 2016-06-22 | 2016-06-22 | The monitoring method and apparatus of hardware device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106126398A true CN106126398A (en) | 2016-11-16 |
Family
ID=57269201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610459351.8A Pending CN106126398A (en) | 2016-06-22 | 2016-06-22 | The monitoring method and apparatus of hardware device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126398A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107038104A (en) * | 2017-04-27 | 2017-08-11 | 郑州云海信息技术有限公司 | A kind of method of remote monitoring isomery accelerator card |
CN107704368A (en) * | 2017-08-30 | 2018-02-16 | 安徽天达网络科技有限公司 | A kind of monitoring and control system based on the computer speed of service |
CN108052436A (en) * | 2017-12-28 | 2018-05-18 | 郑州云海信息技术有限公司 | Method, apparatus, equipment and the storage medium of management and control are carried out to FPGA boards |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576842A (en) * | 2008-05-07 | 2009-11-11 | 英业达股份有限公司 | System and method for monitoring baseboard management controller |
CN103117879A (en) * | 2013-01-30 | 2013-05-22 | 昆明理工大学 | Network monitoring system for computer hardware processing parameters |
CN103423189A (en) * | 2013-09-03 | 2013-12-04 | 中国科学院计算技术研究所 | Server fan power consumption measuring method |
WO2014173065A1 (en) * | 2013-04-26 | 2014-10-30 | 中兴通讯股份有限公司 | Fan monitoring apparatus and fan monitoring method |
-
2016
- 2016-06-22 CN CN201610459351.8A patent/CN106126398A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576842A (en) * | 2008-05-07 | 2009-11-11 | 英业达股份有限公司 | System and method for monitoring baseboard management controller |
CN103117879A (en) * | 2013-01-30 | 2013-05-22 | 昆明理工大学 | Network monitoring system for computer hardware processing parameters |
WO2014173065A1 (en) * | 2013-04-26 | 2014-10-30 | 中兴通讯股份有限公司 | Fan monitoring apparatus and fan monitoring method |
CN103423189A (en) * | 2013-09-03 | 2013-12-04 | 中国科学院计算技术研究所 | Server fan power consumption measuring method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107038104A (en) * | 2017-04-27 | 2017-08-11 | 郑州云海信息技术有限公司 | A kind of method of remote monitoring isomery accelerator card |
CN107704368A (en) * | 2017-08-30 | 2018-02-16 | 安徽天达网络科技有限公司 | A kind of monitoring and control system based on the computer speed of service |
CN108052436A (en) * | 2017-12-28 | 2018-05-18 | 郑州云海信息技术有限公司 | Method, apparatus, equipment and the storage medium of management and control are carried out to FPGA boards |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI791975B (en) | Detecting security threats by monitoring chains of configuration changes made to basic input/output system (bios) or unified extensible firmware interface (uefi) attributes | |
CN103780432B (en) | Parking lot O&M method, Carriageway controlling machine, server, mobile terminal and system | |
CN109947079A (en) | Region method for detecting abnormality and edge calculations equipment based on edge calculations | |
CN106126398A (en) | The monitoring method and apparatus of hardware device | |
CN114328102B (en) | Equipment state monitoring method, equipment state monitoring device, equipment and computer readable storage medium | |
CN105202704B (en) | The display methods and device of air-conditioning fault message | |
CN101296135A (en) | Fault information processing method and device | |
CN103544091A (en) | Method and device for monitoring Windows process | |
CN108268361A (en) | A kind of method, system, device and the storage medium of BMC monitoring GPU | |
CN105607716A (en) | Server and server heat dissipation system and monitoring method thereof | |
CN105511937A (en) | Batch virtual machine blue screen monitoring method suitable for cloud platform | |
CN111813497A (en) | Container environment anomaly detection method, device, medium and computer equipment | |
CN111754123A (en) | Data monitoring method and device, computer equipment and storage medium | |
CN110069925A (en) | Software monitors method, system and computer readable storage medium | |
CN103595999A (en) | Automatic detection method and automatic detection device of intelligent television | |
CN108897667A (en) | A kind of memory temperature alarm method, device and equipment | |
CN102592334B (en) | Method and device for indicating state and analyzing fault of access control system | |
CN104571098B (en) | Long-range self-diagnosing method based on Atom platforms | |
CN109936528B (en) | Monitoring method, device, equipment and system | |
CN113835961B (en) | Alarm information monitoring method, device, server and storage medium | |
CN113110970B (en) | Method, device, equipment and medium for monitoring all parts in server working mode | |
CN108880881A (en) | The method and apparatus of monitoring resource under a kind of cloud environment | |
CN109815080A (en) | The 3 D monitoring method and device thereof of computer equipment | |
CN114201363A (en) | System protection method, device, equipment and storage medium | |
CN108827648A (en) | aging monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100089 Haidian District, Haidian District, Beijing, No. 23, No. 2, No. 1001 Applicant after: Beijing Xin'an century Polytron Technologies Inc Address before: 100089 Beijing city Haidian District Bei wa Lu Xi Li No. 21 block A No. 8246 Applicant before: Beijing Infosec Technologies Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |