TW201514706A - Electronic device for detecting state of hard disk - Google Patents
Electronic device for detecting state of hard disk Download PDFInfo
- Publication number
- TW201514706A TW201514706A TW102137764A TW102137764A TW201514706A TW 201514706 A TW201514706 A TW 201514706A TW 102137764 A TW102137764 A TW 102137764A TW 102137764 A TW102137764 A TW 102137764A TW 201514706 A TW201514706 A TW 201514706A
- Authority
- TW
- Taiwan
- Prior art keywords
- hard disk
- cpld
- electronic device
- bmc
- state
- Prior art date
Links
Abstract
Description
本發明涉及一種可偵測硬碟狀態的電子裝置,尤其涉及一種可快速而準確偵測硬碟的狀態的電子裝置。The present invention relates to an electronic device capable of detecting a state of a hard disk, and more particularly to an electronic device capable of quickly and accurately detecting the state of a hard disk.
如圖1所示,為在現有的偵測硬碟狀態的電子裝置的結構圖。電子裝置1包括若干硬碟驅動器10a,10b,…,10n、一南橋PCH101、一可編程器件CPLD102、一基板控制器BMC103、及一存儲設備104。南橋PCH101偵測硬碟驅動器10a,10b,…,10n的工作狀態,在硬碟驅動器10a,10b,…,10n出現錯誤時,通過SGPIO(Serial General Purpose Input Output)協定傳送信號至可編程器件CPLD102。CPLD102將信號進行解碼,將解碼後的資料通過I2C(Inter-Integrated Circuit)的方式傳送給BMC103。BMC103根據獲取到的資料產生硬碟出錯記錄,並將硬碟出錯記錄存儲在存儲設備104上。As shown in FIG. 1, it is a structural diagram of an electronic device in the existing state of detecting a hard disk. The electronic device 1 includes a plurality of hard disk drives 10a, 10b, ..., 10n, a south bridge PCH 101, a programmable device CPLD 102, a substrate controller BMC 103, and a storage device 104. The south bridge PCH101 detects the working state of the hard disk drives 10a, 10b, ..., 10n, and transmits signals to the programmable device CPLD 102 through the SGPIO (Serial General Purpose Input Output) protocol when an error occurs in the hard disk drives 10a, 10b, ..., 10n. . The CPLD 102 decodes the signal and transmits the decoded data to the BMC 103 via an I2C (Inter-Integrated Circuit). The BMC 103 generates a hard disk error record based on the acquired data, and stores the hard disk error record on the storage device 104.
但是,這種偵測硬碟的狀態的方式有如下的缺點: 第一,通過I2C方式傳送資料的效率遠遠低於SGPIO傳送資料的效率,這樣會造成CPLD102的內部資料通路被阻塞,從而導致大量傳送資料的丟失,從而錯誤判斷硬碟驅動器10a,10b,…,10n的狀態;第二,在進入作業系統時,電子裝置1會載入PCH101的驅動,會造成CPLD102解碼的不準確;第三, CPLD102通過I2C方式與BMC103進行通信,這樣CPLD102需要增加對應I2C的驅動程式,會增加編程的複雜度。However, this way of detecting the state of the hard disk has the following disadvantages: First, the efficiency of transmitting data by the I2C method is far lower than the efficiency of the data transmitted by the SGPIO, which causes the internal data path of the CPLD 102 to be blocked, resulting in Loss of a large amount of transmitted data, thereby erroneously judging the state of the hard disk drives 10a, 10b, ..., 10n; second, when entering the operating system, the electronic device 1 will load the drive of the PCH 101, which may cause inaccuracy in decoding of the CPLD 102; Third, CPLD102 communicates with BMC103 through I2C mode, so CPLD102 needs to increase the driver corresponding to I2C, which will increase the programming complexity.
有鑒於此,故需要提供一種可快速而準確偵測硬碟的狀態的電子裝置。In view of the above, it is desirable to provide an electronic device that can quickly and accurately detect the state of a hard disk.
一種可偵測硬碟狀態的電子裝置,包括若干硬碟驅動器、一南橋PCH、一可編程器件CPLD、一基板控制器BMC、及一存儲設備,其中, PCH偵測硬碟驅動器的工作狀態,在硬碟驅動器出現錯誤時,通過SGPIO協定傳送信號至可編程器件CPLD。CPLD將信號進行解碼,將解碼後的資料通過GPIO的方式傳送給BMC。An electronic device capable of detecting a state of a hard disk, comprising: a plurality of hard disk drives, a south bridge PCH, a programmable device CPLD, a substrate controller BMC, and a storage device, wherein the PCH detects the working state of the hard disk drive, When an error occurs on the hard drive, the signal is sent to the programmable device CPLD via the SGPIO protocol. The CPLD decodes the signal and transmits the decoded data to the BMC via GPIO.
本發明的電子裝置利用GPIO方式替代I2C方式傳輸資料,使CPLD的內部資料通路不會被阻塞,從而沒有資料延時丟失; CPLD處理的資料量遠遠降低,提高了工作效率;且CPLD不需要增加對應I2C的驅動程式,降低了編程的複雜度,程式效率大大提高。The electronic device of the present invention uses the GPIO method to replace the I2C mode to transmit data, so that the internal data path of the CPLD is not blocked, so that no data delay is lost; the amount of data processed by the CPLD is far reduced, and the working efficiency is improved; and the CPLD does not need to be increased. Corresponding to the I2C driver, the programming complexity is reduced, and the program efficiency is greatly improved.
圖1是現有的偵測硬碟的狀態的電子裝置的系統結構圖。1 is a system configuration diagram of an electronic device for detecting a state of a hard disk.
圖2是本發明優選實施方式下偵測硬碟的狀態的電子裝置的系統結構圖。2 is a system configuration diagram of an electronic device for detecting a state of a hard disk in a preferred embodiment of the present invention.
請參閱圖2,是本發明優選實施方式下緩存資料管理系統10’的系統結構圖。電子裝置1’包括若干硬碟驅動器10a,10b,…,10n、一南橋PCH101、一可編程器件CPLD102、一基板控制器BMC103、及一存儲設備104。南橋PCH101偵測硬碟驅動器10a,10b,…,10n的工作狀態,在硬碟驅動器10a,10b,…,10n出現錯誤時,通過SGPIO協定傳送信號至可編程器件CPLD102。Referring to Figure 2, there is shown a system block diagram of a cache data management system 10' in accordance with a preferred embodiment of the present invention. The electronic device 1' includes a plurality of hard disk drives 10a, 10b, ..., 10n, a south bridge PCH 101, a programmable device CPLD 102, a substrate controller BMC 103, and a storage device 104. The south bridge PCH 101 detects the operating states of the hard disk drives 10a, 10b, ..., 10n, and transmits signals to the programmable device CPLD 102 through the SGPIO protocol when an error occurs in the hard disk drives 10a, 10b, ..., 10n.
與圖1不同的是,CPLD102將信號進行解碼,將解碼後的資料通過GPIO(General Purpose Input Output)的方式傳送給BMC103。如圖中所示,在硬碟驅動器的數量為8個時,CPLD102與BMC103之間連接8根GPIO線105,從而直接對應8個硬碟驅動器。當CPLD102獲取PCH101的資料時,CPLD102解碼後將對應的硬碟的狀態即時寫入到每一個對應的GPIO線中。BMC103即時的掃描每一個GPIO線105的狀態,當某一個GPIO線105的狀態發生改變時,說明與該GPIO線105對應的硬碟發生故障,BMC103產生對應的硬碟出錯記錄,並將硬碟出錯記錄存儲在存儲設備104上,從而能定位到發生故障的硬碟。Different from FIG. 1, the CPLD 102 decodes the signal and transmits the decoded data to the BMC 103 via GPIO (General Purpose Input Output). As shown in the figure, when the number of hard disk drives is eight, eight GPIO lines 105 are connected between the CPLD 102 and the BMC 103, thereby directly corresponding to eight hard disk drives. When the CPLD 102 acquires the data of the PCH 101, the CPLD 102 decodes and writes the state of the corresponding hard disk to each corresponding GPIO line in real time. The BMC103 scans the status of each GPIO line 105 in real time. When the status of a certain GPIO line 105 changes, it indicates that the hard disk corresponding to the GPIO line 105 has failed, and the BMC 103 generates a corresponding hard disk error record and the hard disk. The error log is stored on the storage device 104 so that the failed hard disk can be located.
上述電子裝置1’利用GPIO方式替代I2C方式傳輸資料,CPLD102的內部資料通路不會被阻塞,從而沒有資料延時丟失; CPLD102處理的資料量遠遠降低,提高了工作效率;CPLD102不需要增加對應I2C的驅動程式,降低了編程的複雜度,程式效率大大提高。The above electronic device 1' uses the GPIO method instead of the I2C mode to transmit data, and the internal data path of the CPLD 102 is not blocked, so that no data delay is lost; the amount of data processed by the CPLD 102 is far reduced, and the working efficiency is improved; the CPLD 102 does not need to increase the corresponding I2C. The driver reduces the complexity of programming and greatly increases the efficiency of the program.
1, 1’‧‧‧電子裝置1, 1’‧‧‧electronic devices
10a,10b,…,10n‧‧‧硬碟驅動器10a, 10b,...,10n‧‧‧ hard disk drive
101‧‧‧PCH101‧‧‧PCH
102‧‧‧CPLD102‧‧‧CPLD
103‧‧‧BMC103‧‧‧BMC
104‧‧‧存儲設備104‧‧‧Storage equipment
105‧‧‧GPIO線105‧‧‧GPIO line
無no
1’‧‧‧電子裝置 1'‧‧‧Electronic device
10a,10b,…,10n‧‧‧硬碟驅動器 10a, 10b,...,10n‧‧‧ hard disk drive
101‧‧‧PCH 101‧‧‧PCH
102‧‧‧CPLD 102‧‧‧CPLD
103‧‧‧BMC 103‧‧‧BMC
104‧‧‧存儲設備 104‧‧‧Storage equipment
105‧‧‧GPIO線 105‧‧‧GPIO line
Claims (3)
CPLD將信號進行解碼,將解碼後的資料通過GPIO(General Purpose Input Output)的方式傳送給BMC。An electronic device capable of detecting a state of a hard disk, comprising: a plurality of hard disk drives, a south bridge PCH, a programmable device CPLD, a substrate controller BMC, and a storage device, wherein the PCH detects the working state of the hard disk drive, When an error occurs in the hard disk drive, a signal is transmitted to the CPLD through the SGPIO (Serial General Purpose Input Output) protocol, and the improvement is that
The CPLD decodes the signal and transmits the decoded data to the BMC through GPIO (General Purpose Input Output).
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310476245.7A CN104572362A (en) | 2013-10-12 | 2013-10-12 | Electronic device capable of detecting hard disk state |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201514706A true TW201514706A (en) | 2015-04-16 |
Family
ID=53088497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102137764A TW201514706A (en) | 2013-10-12 | 2013-10-18 | Electronic device for detecting state of hard disk |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104572362A (en) |
TW (1) | TW201514706A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107957924A (en) * | 2016-10-17 | 2018-04-24 | 北京计算机技术及应用研究所 | Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC |
TWI754183B (en) * | 2019-10-11 | 2022-02-01 | 新加坡商鴻運科股份有限公司 | Hdd backplane management device |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681880A (en) * | 2015-11-06 | 2017-05-17 | 湖南百里目科技有限责任公司 | Server storage hard disk positioning method |
CN105528214A (en) * | 2015-12-10 | 2016-04-27 | 英业达科技有限公司 | Server system for reading firmware version by using internal integrated circuit interface |
CN105446780A (en) * | 2015-12-10 | 2016-03-30 | 英业达科技有限公司 | Server system for reading firmware version by using universal input-output interface |
CN105573873A (en) * | 2015-12-10 | 2016-05-11 | 英业达科技有限公司 | Server system of reading hardware version by serial universal type input/output interface |
CN107066361A (en) * | 2017-04-17 | 2017-08-18 | 南京百敖软件有限公司 | The method and apparatus that a kind of utilization BMC disables corrupted internal memory |
TWI712892B (en) * | 2019-09-09 | 2020-12-11 | 英業達股份有限公司 | Complex programmable logic device and operation method thereof |
CN113204466B (en) * | 2021-04-29 | 2022-11-18 | 山东英信计算机技术有限公司 | Over-temperature protection method and electronic equipment |
-
2013
- 2013-10-12 CN CN201310476245.7A patent/CN104572362A/en active Pending
- 2013-10-18 TW TW102137764A patent/TW201514706A/en unknown
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107957924A (en) * | 2016-10-17 | 2018-04-24 | 北京计算机技术及应用研究所 | Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC |
TWI754183B (en) * | 2019-10-11 | 2022-02-01 | 新加坡商鴻運科股份有限公司 | Hdd backplane management device |
Also Published As
Publication number | Publication date |
---|---|
CN104572362A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW201514706A (en) | Electronic device for detecting state of hard disk | |
US8830611B1 (en) | Working states of hard disks indicating apparatus | |
US8966319B2 (en) | Obtaining debug information from a flash memory device | |
US9026863B2 (en) | Replacement of storage responsive to remaining life parameter | |
US9811407B2 (en) | System is applied to control indicator lights for non-volatile memory express solid state disk | |
US10127170B2 (en) | High density serial over LAN management system | |
US8549277B2 (en) | Server system including diplexer | |
CN104516802A (en) | Method and system for indicating statuses of different types of hard disks | |
JP2018116679A (en) | Bus hang detection | |
CN105529045A (en) | Lamp signal control system for nonvolatile memory solid state disk | |
US10142169B2 (en) | Diagnosis device, diagnosis method, and non-transitory recording medium storing diagnosis program | |
JP5326673B2 (en) | Control circuit, information processing apparatus, and information processing apparatus control method | |
US10007638B2 (en) | Asynchronous notification including parameter values in serial advanced technology attachment protocol | |
CN110704228B (en) | Solid state disk exception handling method and system | |
JP5689783B2 (en) | Computer, computer system, and failure information management method | |
TWI576696B (en) | System is applied to control indicator lights for non-volatile memory express solid state disk | |
JP2011145208A (en) | Substrate | |
US10055127B2 (en) | System and method for monitoring parameters at a data storage device | |
US10656991B2 (en) | Electronic component having redundant product data stored externally | |
TWI579762B (en) | Solid state drive controlling circuit and related solid state drive device and solid state drive access system | |
US20200379860A1 (en) | Debugging device and electronic device having the debugging device | |
US20130007362A1 (en) | Method and system of detecting redundant array of independent disks and transferring data | |
TWI598874B (en) | Ssd device having warning device and related ssd controlling circuit | |
JP2017010117A (en) | Control device, function unit, device, and fault log recording method | |
TWI459012B (en) | Testing device having plurality of connecting ports |