CN101901181A - Method and system for monitoring hard-disk status - Google Patents

Method and system for monitoring hard-disk status Download PDF

Info

Publication number
CN101901181A
CN101901181A CN201010110760XA CN201010110760A CN101901181A CN 101901181 A CN101901181 A CN 101901181A CN 201010110760X A CN201010110760X A CN 201010110760XA CN 201010110760 A CN201010110760 A CN 201010110760A CN 101901181 A CN101901181 A CN 101901181A
Authority
CN
China
Prior art keywords
disk
hard
state data
disk state
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.)
Pending
Application number
CN201010110760XA
Other languages
Chinese (zh)
Inventor
刘涛
宋晓锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201010110760XA priority Critical patent/CN101901181A/en
Publication of CN101901181A publication Critical patent/CN101901181A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a system for monitoring hard-disk status, relates to the field of computer communication, and solves the problem that management cannot be performed conveniently if detailed hard-disk status cannot be acquired. The method comprises the following steps of: collecting data of the hard-disk status of at least one hard-disk; transmitting the data of the hard-disk status to a visual device; and displaying the data of the hard-disk status by using the visual device. The technical scheme of the invention is suitable for hard-disk monitoring.

Description

The monitoring hard-disk status method and system
Technical field
The present invention relates to computer communication field, relate in particular to a kind of monitoring hard-disk status method and system.
Background technology
The development of hard disk operation monitoring is accompanied by development of computer and develops, owing to there is the set of a plurality of hard disks during great majority are used, each hard-disc storage lot of data, in case damage the loss that must cause to a certain degree, especially after the long-time use of hard disk, a lot of users can be concerned about whether the current operation conditions of own hard disk is good; In order to locate hard disk fast, need the indication of hard disk position simultaneously; During the system closedown that when system's power down, maybe can not expect; the disk state data need be protected; further to obtain the operation information of hard disk aspect; for understanding the running status of hard disk the very first time; so that before it goes wrong; do some preparations, significant data is backed up, and is unlikely to cause when hard disk damages suddenly losing of data.
At present, the indication of the outside of hard disk groups state is many realizes that by hard disk self pilot lamp this mode can only reflect the single hardware reading writing working, can't indicate more disk state information, and can't adapt under many hard disk applications environment, to the orientation management of hard disk.Appearance along with the SFF-8485 agreement, disk state can be sent by system's SFF-8485 protocol bus, the outside indication of hard disk groups state relies on the pilot lamp group to be achieved, this mode can only reflect the state of hard disk in the system power-up process, hard disk failure for chance can't write down tracking, and disk state can only be distinguished by indicator light colors, and inconvenient man-machine conversation can only be operated and be managed by the professional.
Summary of the invention
The invention provides a kind of monitoring hard-disk status method and system, solved and to have obtained the problem that detailed disk state is not easy to manage.
A kind of monitoring hard-disk status method comprises:
Collect the disk state data of at least one hard disk;
Described disk state data are sent to visualization device, show described disk state data by described visualization device.
Further, described disk state data comprise bus message and temperature information, and described collection disk state data comprise:
Receive bus message, from described bus message, resolve location, active and the error information that obtains hard disk.
Obtain the temperature information of each hard disk by temperature sensor;
Bus message after resolving and temperature information are carried out data to be compiled.
Further, described disk state data also comprise the disk state extend information, and the disk state data of described at least one hard disk of collection also comprise:
Obtain the disk state extend information of each hard disk by the USB mouth, described disk state extend information comprises hard-disk capacity, mistake read rate, powers up number of times and manufacturer's characteristic.
Further, above-mentioned monitoring hard-disk status method also comprises:
Back up described disk state data.
Further, above-mentioned monitoring hard-disk status method also comprises:
The instruction of reception external inquiry;
According to described external inquiry instruction, from the disk state data of backup, read the disk state data of believing;
Described disk state data are sent to visualization device, show by described visualization device.
The present invention also provides a kind of monitoring hard-disk status system, comprises visualization device and driver element;
Described driver element, the disk state data that are used to collect at least one hard disk, and described disk state data are sent to visualization device;
Described visualization device is used to show described disk state data.
Further, above-mentioned monitoring hard-disk status system also comprises resolution unit and temperature monitoring unit;
Described resolution unit is used to receive bus message, resolves location, active and the error information that obtains hard disk from described bus message, sends to described driver element;
Described temperature monitoring unit is used for obtaining by temperature sensor the temperature information of each hard disk, and sends to described driver element.
Further, above-mentioned monitoring hard-disk status system also comprises storage unit and communication unit;
Described storage unit is used to back up described disk state data;
Described communication unit is used for obtaining by the USB mouth disk state extend information of each hard disk, and described disk state extend information comprises hard-disk capacity, mistake read rate, powers up number of times and manufacturer's characteristic.
Further, above-mentioned monitoring hard-disk status system also comprises the redundant configuration parts;
Described redundant configuration parts are used to monitor the duty of each functional unit, and when finding the functional unit of fault, replace the functional unit work of this fault.
Further, described driver element, also be used to receive the external inquiry instruction, and according to described external inquiry instruction, from the disk state data of described Storage unit backups, read the disk state data of believing, described disk state data are sent to visualization device, show by described visualization device.
Embodiments of the invention provide a kind of monitoring hard-disk status method and system, collect the disk state data of at least one hard disk, and described disk state data are sent to visualization device, show described disk state data by described visualization device, provide a kind of effective and efficient manner directly perceived more to obtain the abundanter running state information of hard disk, realized the visualized management of disk state.
Description of drawings
A kind of monitoring hard-disk status system architecture synoptic diagram that Fig. 1 provides for embodiments of the invention;
The process flow diagram of a kind of monitoring hard-disk status method that Fig. 2 provides for embodiments of the invention;
Fig. 3 is the particular flow sheet of step 201 among Fig. 2.
Embodiment
In the commercial computing application of growing high-performance field, equilibrium configuration of the availability of system, intuitive, system resource etc. is had relatively high expectations, only can not provide the details of disk state, just seem very necessary so propose a kind of visualized management architecture of the commercial server hard disc state of using that is applicable to by pilot lamp indication hard disk duty.
In order to address the above problem, embodiments of the invention provide a kind of monitoring hard-disk status system, and its structure comprises resolution unit 101 as shown in Figure 1, driver element 102, temperature monitoring unit 103, storage unit 104, communication unit 105 and visualization device 106.This system also comprises at least one hard disk 107 under the same server, and communication unit 105 is connected in the USB mouth of hard disk.
Driver element 102 adopts general Single Chip Microcomputer (SCM) system, has specifically adopted ATMEGA1281 microcontroller able to programme; Resolution unit 101 has adopted FPGA or CPLD, is specifically as follows the EPM240T100C5 programmable logic chip; Communication unit 105 can adopt general USB interface chip; That storage unit 104 is selected for use is EEPROM, and its capacity depends on the size of storage disk state data.
Resolution unit 101 is main be responsible for the SFF-8485 protocol analysis, with the packet exchange of server communication; Driver element 102 is cores of architecture, be responsible for accepting to gather the bus message of the hard disk after resolution unit 101 is resolved, the temperature information of the employing hard disk of temperature monitoring unit 103 by being distributed in the temperature sensor on the hard disk backboard, visualization device 106 show the disk state data in patterned mode and coordinate communication between each resource; Temperature monitoring unit 103 is made up of the temperature sensor collection, by the reasonable distribution on hard disk backboard, to obtain to specify the temperature parameter of hard disk areas; Storage unit 104 is in system's power down or when delaying machine, be responsible for the preservation of disk state data,, need not to start server owing to should have independent current source based on the visualization device 106 of SFF-8485 agreement, can check previous hard disc data, the information of hard disk aspect is provided for the system failure.Communication unit 105 is connected in the USB mouth of server, obtains more hard disk informations by operating system, comprise hard-disk capacity, hard disk disk body working temperature, mistake read rate, power up number of times, manufacturer's characteristic etc.
In addition, the driver element of the embodiment of the invention also has redundant configuration parts 108, is used for each functional unit in the system is monitored.When finding to have functional unit to break down, redundant configuration parts 108 taking over fault parts work on, thereby improve the overall usability of system.For example, redundant configuration parts 108 are regularly accepted the normal run signal of system from driver element 102, if do not receive driver element 102 normal run signal in continuous three time intervals, with reset drives unit 102, make driver element 102 standbies, redundant configuration parts 108 taking over fault parts are finished the analysis of bus message and are extracted, and work on.Optionally, also can on redundant configuration parts 108, connect disk state LED light group, stipulate the different corresponding functional units of pilot lamp combination, when the discovery feature cell failure, provide the corresponding external LED indication of this functional unit.
In a typical configuration surroundings, 8 SAS hard disks that adopt 1 station server to dispose are as the acquisition applications object, resolution unit is by obtaining bus message (location to the SFF-8485 protocol analysis, active, error), the disk state data are sent to disk state and separate the display driver unit.Bus message comprises location, active and the error information of hard disk; Location information is used for the physical positioning of disk, illustrates whether current hard disk is selected; The active information of hard disk is used to illustrate whether current hard disk is in configuration or presence, read-write state etc.; The error information of hard disk is used to illustrate whether current hard disk is in fault or falls the plate-like attitude.
Temperature monitoring unit 103 is gathered the temperature parameter that obtains near the position of corresponding hard disk, and is sent to driver element 101 by being distributed in the temperature sensor on the hard disk backboard.After driver element 101 compiled through data, the disk state data in real time was sent to visualization device 106, thereby constructs the server system of disk state visual patternization.Compare with traditional server system hard disk system status indicating structure, this novel architecture has graphically, characteristics such as compatible and extended attribute flexibly.
Embodiments of the invention also provide a kind of monitoring hard-disk status method, can combine with above-mentioned monitoring hard-disk status system, realize the monitoring and the disk state visualization of data of disk state are shown, the flow process of using this method comprises as shown in Figure 2:
Step 201, driver element are collected the disk state data of at least one hard disk;
This step comprises specifically as shown in Figure 3:
2011, resolution unit receives bus message, resolves location, active and the error information that obtains hard disk from described bus message;
In this step, after resolution unit has been resolved bus message, the bus message after resolving is sent to driver element.
2012, the temperature monitoring unit obtains the temperature information of each hard disk by temperature sensor;
In this step, the humidity detection unit sends to driver element with the temperature information that obtains.
2013, bus message after driver element will be resolved and temperature information carry out data and compile.
Step 202, driver element send to visualization device with described disk state data, show described disk state data by described visualization device;
In the embodiment of the invention, visualization device is specially LCD display.
In addition, can also issue the inquiry indication by graphical interfaces, driver element is after receiving the external inquiry instruction, according to described external inquiry instruction, from the disk state data of backup, read the disk state data of believing, described disk state data are sent to visualization device, show by described visualization device.
The monitoring hard-disk status method and system that embodiments of the invention provide, on the basis that does not change existing server hard disc framework, directly by SFF-8485 protocol bus and system interconnect, with the systemic-function refinement, finish by different functional units respectively, can dispose flexibly, reduce the complexity of system management; The backup of realization disk state data is deposited, and after breaking away from server, still can transfer inquiry hard disk running status record, for searching of the system failure provides effective and feasible approach, has realized graphical, the interfaceization of hard disk service data.
One of ordinary skill in the art will appreciate that and realize that all or part of step that the foregoing description method is carried is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection domain of claim.

Claims (10)

1. a monitoring hard-disk status method is characterized in that, comprising:
Collect the disk state data of at least one hard disk;
Described disk state data are sent to visualization device, show described disk state data by described visualization device.
2. monitoring hard-disk status method according to claim 1 is characterized in that, described disk state data comprise bus message and temperature information, and described collection disk state data comprise:
Receive bus message, from described bus message, resolve location, active and the error information that obtains hard disk.
Obtain the temperature information of each hard disk by temperature sensor;
Bus message after resolving and temperature information are carried out data to be compiled.
3. monitoring hard-disk status method according to claim 1 is characterized in that, described disk state data also comprise the disk state extend information, and the disk state data of described at least one hard disk of collection also comprise:
Obtain the disk state extend information of each hard disk by the USB mouth, described disk state extend information comprises hard-disk capacity, mistake read rate, powers up number of times and manufacturer's characteristic.
4. monitoring hard-disk status method according to claim 1 is characterized in that, also comprises:
Back up described disk state data.
5. according to claim 1 or 4 described monitoring hard-disk status methods, it is characterized in that, also comprise:
The instruction of reception external inquiry;
According to described external inquiry instruction, from the disk state data of backup, read the disk state data of believing;
Described disk state data are sent to visualization device, show by described visualization device.
6. a monitoring hard-disk status system is characterized in that, comprises visualization device and driver element;
Described driver element, the disk state data that are used to collect at least one hard disk, and described disk state data are sent to visualization device;
Described visualization device is used to show described disk state data.
7. monitoring hard-disk status according to claim 6 system is characterized in that, also comprises resolution unit and temperature monitoring unit;
Described resolution unit is used to receive bus message, resolves location, active and the error information that obtains hard disk from described bus message, sends to described driver element;
Described temperature monitoring unit is used for obtaining by temperature sensor the temperature information of each hard disk, and sends to described driver element.
8. monitoring hard-disk status according to claim 6 system is characterized in that, also comprises storage unit and communication unit;
Described storage unit is used to back up described disk state data;
Described communication unit is used for obtaining by the USB mouth disk state extend information of each hard disk, and described disk state extend information comprises hard-disk capacity, mistake read rate, powers up number of times and manufacturer's characteristic.
9. monitoring hard-disk status according to claim 6 system is characterized in that, also comprises the redundant configuration parts;
Described redundant configuration parts are used to monitor the duty of each functional unit, and when finding the functional unit of fault, replace the functional unit work of this fault.
10. monitoring hard-disk status according to claim 6 system is characterized in that,
Described driver element, also be used to receive the external inquiry instruction, and, from the disk state data of described Storage unit backups, read the disk state data of believing according to described external inquiry instruction, described disk state data are sent to visualization device, show by described visualization device.
CN201010110760XA 2010-02-09 2010-02-09 Method and system for monitoring hard-disk status Pending CN101901181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010110760XA CN101901181A (en) 2010-02-09 2010-02-09 Method and system for monitoring hard-disk status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010110760XA CN101901181A (en) 2010-02-09 2010-02-09 Method and system for monitoring hard-disk status

Publications (1)

Publication Number Publication Date
CN101901181A true CN101901181A (en) 2010-12-01

Family

ID=43226730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010110760XA Pending CN101901181A (en) 2010-02-09 2010-02-09 Method and system for monitoring hard-disk status

Country Status (1)

Country Link
CN (1) CN101901181A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360327A (en) * 2011-10-13 2012-02-22 记忆科技(深圳)有限公司 Hard disk status information collection method and device
CN102404320A (en) * 2011-11-15 2012-04-04 浪潮电子信息产业股份有限公司 SFF-8485 agreement fault-tolerant analyzing method based on sequence flow detecting
CN103927247A (en) * 2013-01-10 2014-07-16 三星电子株式会社 Method of displaying icons according to service usage states and mobile terminal supporting the same
CN104699586A (en) * 2013-12-06 2015-06-10 鸿富锦精密电子(天津)有限公司 Computer system with hard disk capacity indication function
CN105259977A (en) * 2015-09-24 2016-01-20 浪潮电子信息产业股份有限公司 Hard disk backboard active indicator light driving design method
CN105529045A (en) * 2015-12-02 2016-04-27 英业达科技有限公司 Lamp signal control system for nonvolatile memory solid state disk
CN105847061A (en) * 2016-04-28 2016-08-10 浪潮(北京)电子信息产业有限公司 Sensor information monitoring system of server
CN105912076A (en) * 2016-04-20 2016-08-31 浪潮电子信息产业股份有限公司 Hard disk backplane and hard disk indicating light control method and system
CN106326075A (en) * 2016-11-25 2017-01-11 湖南长城银河科技有限公司 Electronic equipment, operating system and state monitoring platform and method of electronic equipment
WO2017125014A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Method and device for monitoring hard disk
CN108804283A (en) * 2018-05-17 2018-11-13 郑州云海信息技术有限公司 A kind of PCIE SSD temperature monitoring methods and system
CN109165149A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of hard disk state display method, device and equipment
CN109189647A (en) * 2018-11-01 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and cabinet obtaining hard disk temperature
WO2020140428A1 (en) * 2019-01-04 2020-07-09 郑州云海信息技术有限公司 Device, method, and system for monitoring health state of server hard disk backboard
CN112214381A (en) * 2020-12-01 2021-01-12 深圳市安信达存储技术有限公司 Solid state disk intelligent temperature control method and system based on low-temperature environment
CN113031859A (en) * 2021-02-25 2021-06-25 山东英信计算机技术有限公司 Hard disk high-temperature disk-falling protection method, system and medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360327A (en) * 2011-10-13 2012-02-22 记忆科技(深圳)有限公司 Hard disk status information collection method and device
CN102404320A (en) * 2011-11-15 2012-04-04 浪潮电子信息产业股份有限公司 SFF-8485 agreement fault-tolerant analyzing method based on sequence flow detecting
CN103927247B (en) * 2013-01-10 2018-05-01 三星电子株式会社 Figure calibration method is shown according to service use state and supports this method mobile terminal
CN103927247A (en) * 2013-01-10 2014-07-16 三星电子株式会社 Method of displaying icons according to service usage states and mobile terminal supporting the same
CN104699586A (en) * 2013-12-06 2015-06-10 鸿富锦精密电子(天津)有限公司 Computer system with hard disk capacity indication function
CN105259977A (en) * 2015-09-24 2016-01-20 浪潮电子信息产业股份有限公司 Hard disk backboard active indicator light driving design method
CN105529045A (en) * 2015-12-02 2016-04-27 英业达科技有限公司 Lamp signal control system for nonvolatile memory solid state disk
WO2017125014A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Method and device for monitoring hard disk
CN105912076A (en) * 2016-04-20 2016-08-31 浪潮电子信息产业股份有限公司 Hard disk backplane and hard disk indicating light control method and system
CN105847061A (en) * 2016-04-28 2016-08-10 浪潮(北京)电子信息产业有限公司 Sensor information monitoring system of server
CN106326075A (en) * 2016-11-25 2017-01-11 湖南长城银河科技有限公司 Electronic equipment, operating system and state monitoring platform and method of electronic equipment
CN108804283A (en) * 2018-05-17 2018-11-13 郑州云海信息技术有限公司 A kind of PCIE SSD temperature monitoring methods and system
CN109165149A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of hard disk state display method, device and equipment
CN109189647A (en) * 2018-11-01 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and cabinet obtaining hard disk temperature
WO2020140428A1 (en) * 2019-01-04 2020-07-09 郑州云海信息技术有限公司 Device, method, and system for monitoring health state of server hard disk backboard
CN112214381A (en) * 2020-12-01 2021-01-12 深圳市安信达存储技术有限公司 Solid state disk intelligent temperature control method and system based on low-temperature environment
CN112214381B (en) * 2020-12-01 2021-04-02 深圳市安信达存储技术有限公司 Solid state disk intelligent temperature control method and system based on low-temperature environment
CN113031859A (en) * 2021-02-25 2021-06-25 山东英信计算机技术有限公司 Hard disk high-temperature disk-falling protection method, system and medium

Similar Documents

Publication Publication Date Title
CN101901181A (en) Method and system for monitoring hard-disk status
CN101937385A (en) System for monitoring running state of RAID card
JP6138275B2 (en) Data storage method and storage device
CN101359309B (en) Status indication apparatus for hard disc of serial connection small computer system interface and method
CN105589776B (en) A kind of Fault Locating Method and server
CN105702300B (en) A kind of NAND Flash tolerant systems based on FPGA
CN101894060B (en) Fault detection method and modular device
EP1860556A2 (en) Storage system and control method thereof
CN104536855A (en) Fault detection method and device
CN103632411B (en) The storage method and equipment of vehicle-mounted data
CN103037203B (en) A kind of index restoration methods based on block storage and device
CN102360327A (en) Hard disk status information collection method and device
CN102331959A (en) Server system
CN102187311A (en) Methods and systems for recovering a computer system using a storage area network
US20170139605A1 (en) Control device and control method
CN109407990A (en) A kind of solid state hard disk
JP2011013800A (en) Control part and control method for storage device
CN102207829A (en) Disk positioning method and disk positioning device for realizing high-end disk array
CN112631848A (en) Intelligent diagnosis method and system for mechanical hard disk faults
CN102376338B (en) Hard disk module
CN103809680A (en) Computer system
JP4384470B2 (en) Storage device management method
CN109086192A (en) A kind of onboard SATA hard disc lighting system and method based on IPMI
CN103778024A (en) Server system and message processing method thereof
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101201