TW202022613A - Indicator lamp control system of server hard disk drive and control method thereof including an expansion card unit that is small in size with increased aperture ratio to install on the back board without a complicated layout design - Google Patents

Indicator lamp control system of server hard disk drive and control method thereof including an expansion card unit that is small in size with increased aperture ratio to install on the back board without a complicated layout design Download PDF

Info

Publication number
TW202022613A
TW202022613A TW107144401A TW107144401A TW202022613A TW 202022613 A TW202022613 A TW 202022613A TW 107144401 A TW107144401 A TW 107144401A TW 107144401 A TW107144401 A TW 107144401A TW 202022613 A TW202022613 A TW 202022613A
Authority
TW
Taiwan
Prior art keywords
unit
hard disk
expansion card
status
programmable logic
Prior art date
Application number
TW107144401A
Other languages
Chinese (zh)
Other versions
TWI689814B (en
Inventor
張衍輝
陳惠玲
Original Assignee
神雲科技股份有限公司
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 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW107144401A priority Critical patent/TWI689814B/en
Application granted granted Critical
Publication of TWI689814B publication Critical patent/TWI689814B/en
Publication of TW202022613A publication Critical patent/TW202022613A/en

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

An indicator lamp control system of a server hard disk drive and a control method thereof are disclosed, including a main board, a back board, a hard disk drive unit, and a hard disk drive indicator lamp unit. The main board includes a programmable logic unit. The back board includes an expansion card unit. The hard disk drive indicator lamp unit is connected to the expansion card unit and is controlled by the expansion card unit. With a design that the expansion card unit is configured to directly receive a first lighting message and a second lighting message transmitted by the programmable logic unit, the expansion card unit can receive the first and second lighting messages to control the hard disk drive indicator lamp unit of the hard disk drive to give off light, so as to easily identify an operating state of the hard disk drive unit. In addition, through the ingenious use of the expansion card unit, the price is low and the cost is effectively saved, and the expansion card unit is small in size and can increase the aperture ratio of the back board, and it is easy to install on the back board without complicated layout design to further increase the production efficiency.

Description

伺服器硬碟指示燈控制系統及其控制方法Server hard disk indicator light control system and control method thereof

本發明是有關於一種指示燈控制系統,特別是指一種伺服器硬碟指示燈控制系統及其控制方法。The invention relates to an indicator light control system, in particular to a server hard disk indicator light control system and a control method thereof.

近年來,隨著伺服器廣泛應用與發展,伺服器系統不斷推陳出新。於伺服器系統中,常需使用大儲存容量的硬碟儲存單元,以因應使用者進行伺服器系統的龐大資料庫儲存、網路傳輸或其他技術服務應用與管理等需求。而為了方便即時得知硬碟儲存單元的運作是否有異常,常見以硬碟狀態指示燈顯示硬碟儲存單元的運作狀態。一般來說,伺服器系統中,硬碟儲存單元是電連結設置於背板上且電連結主板上的處理單元,利用處理單元即時檢測硬碟儲存單元的狀態訊號且經由主板上的複雜可編程邏輯元件(Complex Programmable Logic Device, CPLD)產生發光訊息並傳至背板上的複雜可編程邏輯元件(CPLD),而背板上的CPLD並依發光訊息控制硬碟狀態指示燈發光,而讓使用者可透過硬碟狀態指示燈的發光訊息得知硬碟儲存單元的運作狀態是否異常。但因此背板上需額外設置CPLD且增加元件layout的需求,並也要另外提供電源給CPLD,提高了生產成本,而且背板通常為狹長式設計,但由於CPLD需要占用的面積較大,導致背板需要保留設置CPLD的空間,不僅增加設計困難性且也造成背板開孔率降低,進而影響伺服器系統的散熱問題(Thermal solution),仍需從業人員仔細探討與研究改善方案。In recent years, with the widespread application and development of servers, server systems have continued to introduce new ones. In server systems, hard disk storage units with large storage capacities are often used to meet the needs of users for server system's huge database storage, network transmission, or other technical service applications and management. In order to conveniently know whether the operation of the hard disk storage unit is abnormal, it is common to display the operation status of the hard disk storage unit with a hard disk status indicator. Generally speaking, in the server system, the hard disk storage unit is electrically connected to the processing unit provided on the backplane and electrically connected to the motherboard. The processing unit is used to detect the status signal of the hard disk storage unit in real time and is programmed by the motherboard. The logic element (Complex Programmable Logic Device, CPLD) generates light-emitting information and transmits it to the complex programmable logic device (CPLD) on the backplane, and the CPLD on the backplane controls the hard disk status indicator light to emit light according to the light-emitting message, allowing the use You can know whether the operating status of the hard disk storage unit is abnormal through the luminous message of the hard disk status indicator. However, an additional CPLD is required on the backplane and the need for component layout is increased, and an additional power supply is also provided to the CPLD, which increases the production cost. Moreover, the backplane is usually a long and narrow design, but the CPLD needs to occupy a large area. The backplane needs to reserve space for the CPLD, which not only increases the design difficulty but also reduces the opening rate of the backplane, which affects the thermal solution of the server system. Practitioners still need to carefully discuss and study improvement solutions.

因此,本發明之目的,即在提供一種伺服器硬碟指示燈控制系統。Therefore, the purpose of the present invention is to provide a server hard disk indicator control system.

於是,本發明伺服器硬碟指示燈控制系統,包含一主板、一背板、一硬碟單元,及一硬碟指示燈單元。Therefore, the server hard disk indicator control system of the present invention includes a motherboard, a backplane, a hard disk unit, and a hard disk indicator unit.

該主板包括一處理單元,及一連結該處理單元的可編程邏輯單元。該背板包括一連結該可編程邏輯單元之擴充卡單元。該硬碟單元連結該處理單元與該擴充卡單元。該硬碟指示燈單元連結該擴充卡單元且受該擴充卡單元控制。The main board includes a processing unit and a programmable logic unit connected to the processing unit. The backplane includes an expansion card unit connected to the programmable logic unit. The hard disk unit connects the processing unit and the expansion card unit. The hard disk indicator unit is connected to the expansion card unit and is controlled by the expansion card unit.

該擴充卡單元用以接收該硬碟單元傳送的一第一狀態訊號。該處理單元會傳送一狀態檢測指令至該硬碟單元而檢測該硬碟單元的運作狀態且接收該硬碟單元受檢測後所回傳的一第二狀態訊號。該硬碟指示燈單元包括一第一狀態指示燈模組,及一第二狀態指示燈模組。The expansion card unit is used for receiving a first status signal transmitted by the hard disk unit. The processing unit sends a status detection command to the hard disk unit to detect the operating status of the hard disk unit and receives a second status signal returned by the hard disk unit after being detected. The hard disk indicator unit includes a first status indicator module and a second status indicator module.

於該硬碟單元運作時,該硬碟單元會傳送該第一狀態訊號至該擴充卡單元且該可編程邏輯單元主動接收該擴充卡單元所收到的該第一狀態訊號,而該可編程邏輯單元接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息且傳至該擴充卡單元,並該擴充卡單元依該第一亮燈訊息控制該第一狀態指示燈模組發光。於該處理單元接收到該硬碟單元回傳的該第二狀態訊號且同步傳送至該可編程邏輯單元,而該可編程邏輯單元接收到該第二狀態訊號後,會產生一對應的第二亮燈訊息且傳至該擴充卡單元。當該擴充卡單元接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組發光。When the hard disk unit is operating, the hard disk unit transmits the first status signal to the expansion card unit and the programmable logic unit actively receives the first status signal received by the expansion card unit, and the programmable logic unit After the logic unit receives the first status signal, it generates a corresponding first light-on message and transmits it to the expansion card unit, and the expansion card unit controls the first status indicator module according to the first light-on message Glow. After the processing unit receives the second state signal returned by the hard disk unit and synchronously transmits it to the programmable logic unit, and after the programmable logic unit receives the second state signal, a corresponding second state signal is generated The light message is sent to the expansion card unit. When the expansion card unit receives the second lighting message, it controls the second status indicator module to emit light according to the second lighting message.

因此,本發明之目的,即在提供一種伺服器硬碟指示燈的控制方法。Therefore, the purpose of the present invention is to provide a method for controlling the hard disk indicator of a server.

於是,本發明伺服器硬碟指示燈的控制方法,應用於上述的伺服器硬碟指示燈控制系統。該伺服器硬碟指示燈的控制方法包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。Therefore, the control method of the server hard disk indicator of the present invention is applied to the above-mentioned server hard disk indicator control system. The control method of the server hard disk indicator includes one step (A), one step (B), one step (C), and one step (D).

於該步驟(A)中,該硬碟單元運作時,傳送一第一狀態訊號至該擴充卡單元且該可編程邏輯單元主動接收該擴充卡單元所收到的該第一狀態訊號,而該可編程邏輯單元接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息且傳至該擴充卡單元,並該擴充卡單元依該第一亮燈訊息控制該第一狀態指示燈模組發光。In the step (A), when the hard disk unit is operating, a first status signal is transmitted to the expansion card unit and the programmable logic unit actively receives the first status signal received by the expansion card unit, and the After the programmable logic unit receives the first status signal, it generates a corresponding first light-on message and transmits it to the expansion card unit, and the expansion card unit controls the first status indicator according to the first light-on message The module glows.

於該步驟(B)中,該處理單元會持續傳送一狀態檢測指令至該硬碟單元而檢測該硬碟單元的運作狀態,而該硬碟單元受檢測後會回傳該第二狀態訊號至該處理單元。In the step (B), the processing unit will continuously send a status detection command to the hard disk unit to detect the operating status of the hard disk unit, and the hard disk unit will return the second status signal to The processing unit.

於該步驟(C)中,於該處理單元接收到該第二狀態訊號時且同步傳送至該可編程邏輯單元,而該可編程邏輯單元接收到該第二狀態訊號後,會產生一對應的第二亮燈訊息且傳至該擴充卡單元。In the step (C), when the processing unit receives the second state signal and synchronously transmits it to the programmable logic unit, and after the programmable logic unit receives the second state signal, it generates a corresponding The second lighting message is transmitted to the expansion card unit.

於該步驟(D)中,當該擴充卡單元接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組與該第三狀態指示燈發光。In the step (D), when the expansion card unit receives the second lighting message, it controls the second status indicator module and the third status indicator to emit light according to the second lighting message.

本發明之功效在於:藉由該擴充卡單元可直接接收該硬碟單元傳送的該第一狀態訊號與該可編程邏輯單元傳送的該第一亮燈訊息與該第二亮燈訊息的設計,且搭配該擴充卡單元可控制該硬碟指示燈單元的特點,而達成該擴充卡單元依接收到的該第一亮燈訊息與該第二亮燈訊息時,控制該硬碟指示燈單元發光,而便於使用者得知該硬碟單元的運作狀態。再者,透過使用該擴充卡單元的巧思,價格低廉而有效節省成本,且該擴充卡單元體積小而可增加背板開孔率,並便於設置於該背板上,不用複雜的Layout設計,進而提高生產效益。The effect of the present invention lies in the design that the expansion card unit can directly receive the first status signal sent by the hard disk unit and the first light-on message and the second light-on message sent by the programmable logic unit. And with the expansion card unit can control the characteristics of the hard disk indicator unit, so that the expansion card unit can control the hard disk indicator unit to emit light according to the first light-up message and the second light-up message received , And it is convenient for users to know the operating status of the hard disk unit. Moreover, through the ingenuity of using the expansion card unit, the price is low and the cost is effectively saved, and the expansion card unit is small in size, which can increase the hole rate of the backplane, and is convenient to be installed on the backplane without complicated Layout design , Thereby improving production efficiency.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same number.

參閱圖1與圖2,本發明伺服器硬碟指示燈控制系統的第一實施例,包含一主板1、一背板2、一通訊匯流排單元3、一硬碟單元4,及一硬碟指示燈單元5。1 and 2, the first embodiment of the server hard disk indicator control system of the present invention includes a motherboard 1, a backplane 2, a communication bus unit 3, a hard disk unit 4, and a hard disk Indicator unit 5.

該主板1包括一處理單元11,及一連結該處理單元11的可編程邏輯單元12。該背板2包括一連結該可編程邏輯單元12之擴充卡單元21。該硬碟單元4連結該處理單元11與該擴充卡單元21。該硬碟指示燈單元5連結該擴充卡單元21且受該擴充卡單元21控制。The motherboard 1 includes a processing unit 11 and a programmable logic unit 12 connected to the processing unit 11. The backplane 2 includes an expansion card unit 21 connected to the programmable logic unit 12. The hard disk unit 4 connects the processing unit 11 and the expansion card unit 21. The hard disk indicator unit 5 is connected to the expansion card unit 21 and is controlled by the expansion card unit 21.

該通訊匯流排單元3包括多個通訊匯流排31,所述通訊匯流排31分別用以將該處理單元11連結該可編程邏輯單元12,以及將該可編程邏輯單元12連結該擴充卡單元21。於本實施例中,該通訊匯流排單元3之所述通訊匯流排31為積體電路通訊匯流排(Inter-Integrated Circuit,I²C)態樣,但不以此為限。The communication bus unit 3 includes a plurality of communication bus bars 31, and the communication bus bars 31 are respectively used to connect the processing unit 11 to the programmable logic unit 12 and the programmable logic unit 12 to connect the expansion card unit 21 . In this embodiment, the communication bus 31 of the communication bus unit 3 is in the form of an integrated circuit communication bus (Inter-Integrated Circuit, I²C), but it is not limited to this.

該擴充卡單元21用以接收該硬碟單元4傳送的一第一狀態訊號。該處理單元11會持續傳送一狀態檢測指令至該硬碟單元4而檢測該硬碟單元4的運作狀態且接收該硬碟單元4受檢測後所回傳的一第二狀態訊號。該硬碟指示燈單元5包括一第一狀態指示燈模組51、一第二狀態指示燈模組52。該第二狀態指示燈模組具有一第二狀態指示燈521,及一第三狀態指示燈522。The expansion card unit 21 is used for receiving a first status signal transmitted by the hard disk unit 4. The processing unit 11 will continue to send a status detection command to the hard disk unit 4 to detect the operating status of the hard disk unit 4 and receive a second status signal returned by the hard disk unit 4 after being detected. The hard disk indicator unit 5 includes a first status indicator module 51 and a second status indicator module 52. The second status indicator module has a second status indicator 521 and a third status indicator 522.

於該硬碟單元4運作時,該硬碟單元4會傳送該第一狀態訊號至該擴充卡單元21且該可編程邏輯單元12主動接收該擴充卡單元21所收到的該第一狀態訊號,而該可編程邏輯單元12接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息且傳至該擴充卡單元21,並該擴充卡單21元依該第一亮燈訊息控制該第一狀態指示燈模組51發光。本實施例中,該擴充卡單元21與該硬碟單元4是透過通用輸入/輸出(General Purpose I/O,GPIO)的方式進行資訊傳輸,該擴充卡單元21與該硬碟指示燈單元5也是透過通用輸入/輸出(GPIO)的方式進行資訊傳輸,舉例來說:該擴充卡單元21是實體線路連結該硬碟單元4且以通用輸入/輸出(GPIO)的方式並透過準位拉高(Pull Up)或拉低(Pull Down)進行溝通與資料傳輸,而該擴充卡單元21也是實體線路連結該硬碟指示燈單元5,且以GPIO的方式並透過準位拉高(Pull Up)或拉低(Pull Down)的方式去控制該硬碟指示燈單元5亮燈發光,但不以此為限。而第一狀態訊號代表為該硬碟單元4的在位(Present)與活動 (Active)等狀態,但不以此為限。換句話說,就是該硬碟單元4上電運作時,該硬碟單元4的在位(Present)與活動 (Active)的運作狀態正常而持續傳送該第一狀態訊號至該擴充卡單元21至該可編程邏輯單元12且該可編程邏輯單元12主動接收該擴充卡單元21所收到的該第一狀態訊號,並該可編程邏輯單元12接收到該第一狀態訊號後,會產生該第一亮燈訊息而傳至該擴充卡單元21。也就是說,該可編程邏輯單元12是可主動(Master) 控制與接收該擴充卡單元21的資訊,當該擴充卡單元21接收到該可編程邏輯單元12所傳的該第一亮燈訊息會控制該硬碟指示燈單元5之第一狀態指示燈模組51發光,而讓使用者藉由該第一狀態指示燈模組51亮燈可得知該硬碟單元4其對應的運作狀態。於本實施例中,該可編程邏輯單元12是以積體電路通訊匯流排(I²C)連結至該擴充卡單元21,詳細來說,該可編程邏輯單元12相當於I²C Master,而可透過該可編程邏輯單元12的I²C port(圖未示)發送I²C命令至該擴充卡單元21且讀取該擴充卡單元21所接收到該硬碟單元4傳送的第一狀態訊號資訊後,該可編程邏輯單元12發送該第一亮燈訊息(I²C命令)至該擴充卡單元21,而使該擴充卡單元21依該第一亮燈訊息控制該第一狀態指示燈模組51亮燈。When the hard disk unit 4 is operating, the hard disk unit 4 transmits the first status signal to the expansion card unit 21 and the programmable logic unit 12 actively receives the first status signal received by the expansion card unit 21 , And after the programmable logic unit 12 receives the first status signal, it will generate a corresponding first light-on message and transmit it to the expansion card unit 21, and the expansion card unit 21 will follow the first light-on message The first status indicator module 51 is controlled to emit light. In this embodiment, the expansion card unit 21 and the hard disk unit 4 transmit information through a general purpose input/output (General Purpose I/O, GPIO) method, and the expansion card unit 21 and the hard disk indicator unit 5 Information is also transmitted by means of general-purpose input/output (GPIO), for example: the expansion card unit 21 is a physical circuit connected to the hard disk unit 4 and uses a general-purpose input/output (GPIO) method and is pulled up through the level (Pull Up) or pull down (Pull Down) for communication and data transmission, and the expansion card unit 21 is also connected to the hard disk indicator unit 5 by a physical circuit, and is pulled up through the level of GPIO (Pull Up) Or pull down (Pull Down) to control the hard disk indicator unit 5 to light up, but not limited to this. The first status signal represents the present and active status of the hard disk unit 4, but is not limited to this. In other words, when the hard disk unit 4 is powered on, the present and active operating states of the hard disk unit 4 are normal and the first status signal is continuously transmitted to the expansion card unit 21 to The programmable logic unit 12 and the programmable logic unit 12 actively receive the first state signal received by the expansion card unit 21, and after the programmable logic unit 12 receives the first state signal, the first state signal is generated A light-on message is transmitted to the expansion card unit 21. That is, the programmable logic unit 12 can actively (Master) control and receive the information of the expansion card unit 21, when the expansion card unit 21 receives the first light-on message transmitted by the programmable logic unit 12 The first status indicator module 51 of the hard disk indicator unit 5 is controlled to emit light, so that the user can know the corresponding operating status of the hard disk unit 4 by lighting the first status indicator module 51 . In this embodiment, the programmable logic unit 12 is connected to the expansion card unit 21 through an integrated circuit communication bus (I²C). In detail, the programmable logic unit 12 is equivalent to the I²C Master, and can pass through the After the I²C port (not shown) of the programmable logic unit 12 sends an I²C command to the expansion card unit 21 and reads the first status signal information received by the expansion card unit 21 from the hard disk unit 4, the programmable logic unit 12 The logic unit 12 sends the first light-on message (I²C command) to the expansion card unit 21, so that the expansion card unit 21 controls the first status indicator module 51 to light up according to the first light-on message.

接著,該處理單元11傳送該狀態檢測指令至該硬碟單元4而檢測該硬碟單元4的運作狀態,而於該處理單元11接收到該硬碟單元4回傳的該第二狀態訊號且同步傳送至該可編程邏輯單元12,而該可編程邏輯單元12接收到該第二狀態訊號後,會產生對應的一第二亮燈訊息並傳至該擴充卡單元21。詳細來說,就是該硬碟單元4運作過程中,該處理單元11會傳送該狀態檢測指令持續去檢測該硬碟單元4的運作狀態,例如:位置(Locate)、正常(Normal)、是否失效(Fail),以及警報(Alert) 等狀態,而該硬碟單元4受檢測後會回傳該第二狀態訊號至該處理單元11,也就是說該第二狀態訊號為該硬碟單元4受檢測後對應的結果。而該處理單元11接收到該第二狀態訊號時,同步傳送至該可編程邏輯單元12,且該可編程邏輯單元12將該第二狀態訊號解碼後產生對應的該第二亮燈訊息並傳至該擴充卡單元21。本實施例中,位置(Locate)、正常(Normal)、是否失效(Fail)或警報(Alert)等狀態皆有其對應的第二亮燈訊息,例如:該第二狀態指示燈模組52的該第二狀態指示燈521發光但該第三狀態指示燈522不亮代表Fail、第二狀態指示燈521不亮但該第三狀態指示燈522發閃爍光代表Alert,其他運作狀態不另贅述,但不以此為限,可依實際使用需求設計該硬碟單元4的每一運作狀態對應的第二亮燈訊息。簡而言之,就是該可編程邏輯單元12將所接收到該第二狀態訊號解碼後,而產生對應該硬碟單元4受檢測的結果的第二亮燈訊息。當該擴充卡單元21接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組52的該第二狀態指示燈521與該第三狀態指示燈522發光。Then, the processing unit 11 sends the status detection command to the hard disk unit 4 to detect the operating status of the hard disk unit 4, and the processing unit 11 receives the second status signal returned by the hard disk unit 4 and It is synchronously transmitted to the programmable logic unit 12, and after the programmable logic unit 12 receives the second state signal, it generates a corresponding second light-on message and transmits it to the expansion card unit 21. In detail, during the operation of the hard disk unit 4, the processing unit 11 will send the status detection command to continuously detect the operation status of the hard disk unit 4, such as: Locate, Normal, and invalid (Fail), and alert (Alert), and the hard disk unit 4 will return the second status signal to the processing unit 11 after being detected, that is to say, the second status signal is the hard disk unit 4 receiving The corresponding result after the test. When the processing unit 11 receives the second state signal, it synchronously transmits it to the programmable logic unit 12, and the programmable logic unit 12 decodes the second state signal to generate the corresponding second light-on message and transmit it To the expansion card unit 21. In this embodiment, the status (Locate), Normal (Normal), Fail (Fail) or Alarm (Alert) all have their corresponding second lighting messages, for example: the second status indicator module 52 The second status indicator light 521 is illuminated but the third status indicator light 522 is off to indicate Fail, and the second status indicator light 521 is off but the third status indicator 522 flashes to indicate Alert. Other operating states will not be described separately. However, it is not limited to this, and the second lighting message corresponding to each operating state of the hard disk unit 4 can be designed according to actual usage requirements. In short, after the programmable logic unit 12 decodes the received second status signal, it generates a second light-on message corresponding to the detected result of the hard disk unit 4. When the expansion card unit 21 receives the second light-on message, it controls the second status indicator light 521 and the third status indicator light 522 of the second status indicator module 52 according to the second light-on message Glow.

藉由該擴充卡單元21可直接接收該硬碟單元4傳送的該第一狀態訊號與接收該主板1之可編程邏輯單元12傳送的該第一亮燈訊息與該第二亮燈訊息的設計,且搭配該擴充卡單元21可控制該硬碟指示燈單元5的特點,當該擴充卡單元21接收到該第一亮燈訊息,控制該第一狀態指示燈模組51發光,便於得知該硬碟單元4的在位(Present)與活動 (Active)等狀態。而於該可編程邏輯單元12接收到該第二狀態訊號後,會產生對應的該第二亮燈訊息且傳至該擴充卡單元21,當該擴充卡單元21接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組52的該第二狀態指示燈521與該第三狀態指示燈522發光,而讓使用者知道該硬碟單元4的位置(Locate)、是否失效(Fail),以及警報(Alert)等狀態。再者,透過使用該擴充卡單元21且配合原本就設置於該主板1上的可編程邏輯單元12的應用巧思,有效節省成本並達成不須再該背板2上額外設置可編程邏輯單元12的優點,且該擴充卡單元21體積小而可增加該背板2的開孔率,並便於設置於該背板2上,不用複雜的Layout設計,進而提高生產效益。於本實施例中,該擴充卡單元21為I/O Expander,可為8-bit/16-bit等,且I/O Expander兼具成本低且泛用性佳的優點。The expansion card unit 21 can directly receive the first status signal sent by the hard disk unit 4 and receive the first light-on message and the second light-on message sent by the programmable logic unit 12 of the motherboard 1 , And with the expansion card unit 21 can control the hard disk indicator unit 5. When the expansion card unit 21 receives the first light message, the first status indicator module 51 is controlled to emit light, which is easy to know The present and active status of the hard disk unit 4. After the programmable logic unit 12 receives the second status signal, it generates the corresponding second light-on message and transmits it to the expansion card unit 21. When the expansion card unit 21 receives the second light-on message At the same time, the second status indicator light 521 and the third status indicator light 522 of the second status indicator module 52 are controlled to emit light according to the second light-on message, so that the user can know the position of the hard disk unit 4 (Locate), whether it is invalid (Fail), and alarm (Alert) and other statuses. Furthermore, by using the expansion card unit 21 and cooperating with the application ingenuity of the programmable logic unit 12 originally installed on the main board 1, cost is effectively saved and no additional programmable logic unit is required on the backplane 2 12, and the expansion card unit 21 is small in size, which can increase the opening rate of the backplane 2, and is easy to be installed on the backplane 2, without complicated layout design, thereby improving production efficiency. In this embodiment, the expansion card unit 21 is an I/O Expander, which can be 8-bit/16-bit, etc., and the I/O Expander has the advantages of low cost and good versatility.

另外,於本實施例中,該硬碟單元4是具有多個符合非揮發系記憶體(Non-Volatile Memory express,NVME)標準的固態硬碟(圖未示),該處理單元11與該硬碟單元4是利用NVME訊號進行彼此間的資料傳輸,但不以此為限,也可以依設計需求該硬碟單元4是使用多個SATA(Serial Advanced Technology Attachment)介面的固態硬碟(圖未示)。在此要特別說明的是,如果是使用SATA態樣的硬碟單元4,請參閱圖3與圖4,本發明伺服器硬碟指示燈控制系統的第二實施例,大致與該伺服器硬碟指示燈控制系統的第一實施例相同,不同的地方在於:該處理單元11包括一連結該可編程邏輯單元12與該硬碟單元4之平台路徑控制器111(Platform Controller Hub,PCH),及一連結該平台路徑控制器111之處理器112。運作時,該處理單元11之處理器112會傳送該狀態檢測指令經該平台路徑控制器111至該硬碟單元4而檢測該硬碟單元4的運作狀態,且該硬碟單元4受檢測後會回傳該第二狀態訊號至該平台路徑控制器111。於該平台路徑控制器111接收到該硬碟單元4所傳送的該第二狀態訊號並同步傳送至該可編程邏輯單元12。簡單來說,就是該處理單元11之處理器112是透過該平台路徑控制器111與SATA態樣的該硬碟單元4進行傳輸溝通,而該平台路徑控制器111接收到該第二狀態訊號會同步傳至該可編程邏輯單元12進行解碼。該可編程邏輯單元12將所接收到該第二狀態訊號解碼後,產生對應該硬碟單元4受檢測後之結果的該第二亮燈訊息且傳至該擴充卡單元21,而該擴充卡單元21依該第二亮燈訊息控制該第二狀態指示燈模組52的該第二狀態指示燈521與該第三狀態指示燈522發光。另外要說明的是,本實施例中,只需利用一個通訊匯流排31(I²C)將該可編程邏輯單元12連結該擴充卡單元21,而該可編程邏輯單元12連結該平台路徑控制器111是以序列通用輸入/輸出(Serial General Purpose I/O,SGPIO )的方式進行資訊傳輸,但不以此為限。換句話說,由於本實施例中,該硬碟單元4為SATA態樣,所以該平台路徑控制器111(PCH)是以序列通用輸入/輸出(SGPIO )的溝通介面與該可編程邏輯單元12進行溝通與資料傳輸;而該第一實施例中,該硬碟單元4為NVME態樣,所以該處理單元11(CPU)是透過積體電路通訊匯流排(I²C)的溝通介面與該可編程邏輯單元12進行溝通與資料傳輸。In addition, in this embodiment, the hard disk unit 4 has a plurality of solid-state hard disks (not shown) conforming to the non-volatile memory (Non-Volatile Memory express, NVME) standard, and the processing unit 11 and the hard disk The disk unit 4 uses NVME signals to transfer data between each other, but it is not limited to this. The hard disk unit 4 can be a solid state drive with multiple SATA (Serial Advanced Technology Attachment) interfaces (not shown in the figure). Show). It should be noted here that if the hard disk unit 4 in the SATA mode is used, please refer to Figures 3 and 4. The second embodiment of the server hard disk indicator control system of the present invention is roughly the same as that of the server hard disk. The first embodiment of the disk indicator control system is the same, but the difference is that the processing unit 11 includes a platform path controller 111 (Platform Controller Hub, PCH) connecting the programmable logic unit 12 and the hard disk unit 4, And a processor 112 connected to the platform path controller 111. During operation, the processor 112 of the processing unit 11 sends the status detection command to the hard disk unit 4 via the platform path controller 111 to detect the operating status of the hard disk unit 4, and after the hard disk unit 4 is detected The second status signal is returned to the platform path controller 111. The platform path controller 111 receives the second status signal sent by the hard disk unit 4 and synchronously sends it to the programmable logic unit 12. In simple terms, the processor 112 of the processing unit 11 communicates with the hard disk unit 4 in the SATA mode through the platform path controller 111, and the platform path controller 111 receives the second status signal. It is synchronously transmitted to the programmable logic unit 12 for decoding. After the programmable logic unit 12 decodes the received second status signal, generates the second light-on message corresponding to the result of the detection of the hard disk unit 4 and transmits it to the expansion card unit 21, and the expansion card The unit 21 controls the second status indicator light 521 and the third status indicator light 522 of the second status indicator module 52 to emit light according to the second light-on message. In addition, it should be noted that in this embodiment, only one communication bus 31 (I²C) is used to connect the programmable logic unit 12 to the expansion card unit 21, and the programmable logic unit 12 to connect to the platform path controller 111 Information is transmitted in the form of Serial General Purpose I/O (SGPIO), but it is not limited to this. In other words, since the hard disk unit 4 is in the SATA mode in this embodiment, the platform path controller 111 (PCH) is a serial general-purpose input/output (SGPIO) communication interface with the programmable logic unit 12 In the first embodiment, the hard disk unit 4 is in NVME mode, so the processing unit 11 (CPU) communicates with the programmable circuit through the communication interface of the integrated circuit communication bus (I²C) The logic unit 12 performs communication and data transmission.

參閱圖1與圖2,本發明伺服器硬碟指示燈的控制方法的第一實施例,應用於上述的伺服器硬碟指示燈控制系統的第一實施例。該伺服器硬碟指示燈的控制方法包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。1 and 2, the first embodiment of the control method of the server hard disk indicator of the present invention is applied to the first embodiment of the above-mentioned server hard disk indicator control system. The control method of the server hard disk indicator includes one step (A), one step (B), one step (C), and one step (D).

首先,於該步驟(A)中,該硬碟單元4運作時,傳送一第一狀態訊號至該擴充卡單元21且該可編程邏輯單元12主動接收該擴充卡單元21所收到的該第一狀態訊號,並該可編程邏輯單元12接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息而傳至該擴充卡單元21,並該擴充卡單元21依該第一亮燈訊息控制該第一狀態指示燈模組51發光。換句話說,就是該硬碟單元4運作時,該硬碟單元4會傳送該第一狀態訊號至該擴充卡單元21,當該擴充卡單元21接收到該第一狀態訊號時,控制該第一狀態指示燈模組51發光。本實施例中,該擴充卡單元21與該硬碟單元4是透過通用輸入/輸出(General Purpose I/O,GPIO)的方式進行資訊傳輸,該擴充卡單元21與該硬碟指示燈單元5也是透過通用輸入/輸出(GPIO)的方式進行資訊傳輸,而第一狀態訊號為該硬碟單元4的在位(Present)與活動 (Active)等狀態,但不以此為限。換句話說,就是該硬碟單元4上電運作時,該硬碟單元4的在位(Present)與活動 (Active)的運作狀態正常時,而持續傳送該第一狀態訊號經該擴充卡單元21至該可編程邏輯單元12,且該可編程邏輯單元12接收到該第一狀態訊號後,會產生該第一亮燈訊息而傳至該擴充卡單元21。當該擴充卡單元21接收到該第一亮燈訊息會控制該硬碟指示燈單元5之第一狀態指示燈模組51依該第一亮燈訊息發光,而讓使用者藉由該第一狀態指示燈模組51亮燈可得知該硬碟單元4其對應的狀態。於本實施例中,該可編程邏輯單元12是以積體電路通訊匯流排(I²C)連結至該擴充卡單元21,詳細來說,該可編程邏輯單元12相當於I²C Master,而可透過該可編程邏輯單元12的I²C port(圖未示)發送I²C命令至該擴充卡單元21且讀取該擴充卡單元21所接收到該硬碟單元4傳送的第一狀態訊號資訊後,該可編程邏輯單元12發送該第一亮燈訊息(I²C命令)至該擴充卡單元21,而使該擴充卡單元21依該第一亮燈訊息控制該第一狀態指示燈模組51亮燈。First, in the step (A), when the hard disk unit 4 is operating, a first status signal is transmitted to the expansion card unit 21 and the programmable logic unit 12 actively receives the first state signal received by the expansion card unit 21 A status signal, and after the programmable logic unit 12 receives the first status signal, a corresponding first light-on message is generated and transmitted to the expansion card unit 21, and the expansion card unit 21 lights up according to the first The light message controls the first status indicator module 51 to emit light. In other words, when the hard disk unit 4 is operating, the hard disk unit 4 transmits the first status signal to the expansion card unit 21, and when the expansion card unit 21 receives the first status signal, it controls the first status signal. A status indicator module 51 emits light. In this embodiment, the expansion card unit 21 and the hard disk unit 4 transmit information through a general purpose input/output (General Purpose I/O, GPIO) method, and the expansion card unit 21 and the hard disk indicator unit 5 Information transmission is also carried out by means of general-purpose input/output (GPIO), and the first status signal is the present and active status of the hard disk unit 4, but not limited to this. In other words, when the hard disk unit 4 is powered on and the operation status of the hard disk unit 4 is normal, the first status signal is continuously transmitted through the expansion card unit. 21 to the programmable logic unit 12, and after the programmable logic unit 12 receives the first status signal, the first light-on message is generated and transmitted to the expansion card unit 21. When the expansion card unit 21 receives the first light-on message, it controls the first status indicator module 51 of the hard disk indicator unit 5 to emit light according to the first light-on message, so that the user can use the first The status indicator module 51 lights up to know the corresponding status of the hard disk unit 4. In this embodiment, the programmable logic unit 12 is connected to the expansion card unit 21 through an integrated circuit communication bus (I²C). In detail, the programmable logic unit 12 is equivalent to the I²C Master, and can pass through the After the I²C port (not shown) of the programmable logic unit 12 sends an I²C command to the expansion card unit 21 and reads the first status signal information received by the expansion card unit 21 from the hard disk unit 4, the programmable logic unit 12 The logic unit 12 sends the first light-on message (I²C command) to the expansion card unit 21, so that the expansion card unit 21 controls the first status indicator module 51 to light up according to the first light-on message.

接著,於該步驟(B)中,該處理單元11會持續傳送一狀態檢測指令至該硬碟單元4而檢測該硬碟單元4的運作狀態,而該硬碟單元4受檢測後會回傳該第二狀態訊號至該處理單元11。詳細來說,就是該硬碟單元4運作過程中,該處理單元11會傳送該狀態檢測指令持續去檢測該硬碟單元4的運作狀態,例如:位置(Locate)、正常(Normal)、是否失效(Fail),以及警報(Alert) 等狀態,而該硬碟單元4受檢測後會回傳該第二狀態訊號至該處理單元11,也就是說該第二狀態訊號為該硬碟單元4受檢測後對應的結果。Then, in the step (B), the processing unit 11 will continue to send a status detection command to the hard disk unit 4 to detect the operating status of the hard disk unit 4, and the hard disk unit 4 will return after being detected The second status signal is sent to the processing unit 11. In detail, during the operation of the hard disk unit 4, the processing unit 11 will send the status detection command to continuously detect the operation status of the hard disk unit 4, such as: Locate, Normal, and invalid (Fail), and alert (Alert), and the hard disk unit 4 will return the second status signal to the processing unit 11 after being detected, that is to say, the second status signal is the hard disk unit 4 receiving The corresponding result after the test.

再來,於該步驟(C)中,於該處理單元11接收到該第二狀態訊號時且同步傳送至該可編程邏輯單元12,而該可編程邏輯單元12接收到該第二狀態訊號後,會產生一對應的第二亮燈訊息且傳至該擴充卡單元21。進一步來說,該處理單元11接收到該第二狀態訊號時,同步傳送至該可編程邏輯單元12,且該可編程邏輯單元12將該第二狀態訊號解碼後產生對應的該第二亮燈訊息並傳至該擴充卡單元21。於本實施例中,利用所述通訊匯流排31(I²C)分別用以將該處理單元11連結該可編程邏輯單元12,以及將該可編程邏輯單元12連結該擴充卡單元21,也就是說於該步驟(C)中,該處理單元11透過對應的通訊匯流排31(I²C)傳輸該第二狀態訊號至該可編程邏輯單元12,而該可編程邏輯單元12將所接收到該第二狀態訊號解碼而產生該第二亮燈訊息且透過對應的通訊匯流排31(I²C)傳輸該第二亮燈訊息至該擴充卡單元21。Then, in the step (C), when the processing unit 11 receives the second state signal and synchronously transmits it to the programmable logic unit 12, and after the programmable logic unit 12 receives the second state signal , A corresponding second light-on message is generated and transmitted to the expansion card unit 21. Furthermore, when the processing unit 11 receives the second state signal, it is synchronously transmitted to the programmable logic unit 12, and the programmable logic unit 12 decodes the second state signal to generate the corresponding second light The message is transmitted to the expansion card unit 21. In this embodiment, the communication bus 31 (I²C) is used to connect the processing unit 11 to the programmable logic unit 12 and the programmable logic unit 12 to connect to the expansion card unit 21, respectively. In the step (C), the processing unit 11 transmits the second state signal to the programmable logic unit 12 through the corresponding communication bus 31 (I²C), and the programmable logic unit 12 receives the second state signal The status signal is decoded to generate the second lighting message and the second lighting message is transmitted to the expansion card unit 21 through the corresponding communication bus 31 (I²C).

最後,於該步驟(D)中,當該擴充卡單元21接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組52的第二狀態指示燈521與該第三狀態指示燈522發光。本實施例中,該硬碟單元4運作狀態,如:位置(Locate)、正常(Normal)、是否失效(Fail)或警報(Alert)等狀態皆有其對應的第二亮燈訊息,例如:該第二狀態指示燈模組52的該第二狀態指示燈521發光但該第三狀態指示燈522不亮代表Fail、該第二狀態指示燈521不亮但該第三狀態指示燈522發閃爍光代表Alert,其他運作狀態不另贅述,但不以此為限,可依實際使用需求設計該硬碟單元4的每一運作狀態對應的第二亮燈訊息。上述步驟中,簡單來說,於該步驟(B)中,該硬碟單元4受檢測後所回傳的該第二狀態訊號為對應該硬碟單元4受檢測後的結果,且於該步驟(C)中,該可編程邏輯單元12將所接收到該第二狀態訊號解碼後,會產生對應該硬碟單元4受檢測後之結果的該第二亮燈訊息且傳至該擴充卡單元21,並於該步驟(D)中,當該擴充卡單元21接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組52的該第二狀態指示燈521與該第三狀態指示燈522發光。Finally, in the step (D), when the expansion card unit 21 receives the second lighting message, it will control the second status indicator of the second status indicator module 52 according to the second lighting message 521 and the third status indicator 522 are illuminated. In this embodiment, the operating status of the hard disk unit 4, such as: Locate, Normal, Fail, or Alert, etc., has a corresponding second light message, such as: The second status indicator light 521 of the second status indicator module 52 is illuminated but the third status indicator light 522 is off, which means Fail. The second status indicator light 521 is off but the third status indicator 522 flashes. Light stands for Alert. Other operating states will not be described, but not limited to this. The second light message corresponding to each operating state of the hard disk unit 4 can be designed according to actual usage requirements. In the above steps, in simple terms, in step (B), the second status signal returned after the hard disk unit 4 is tested corresponds to the result of the hard disk unit 4 being tested, and in this step In (C), after the programmable logic unit 12 decodes the received second status signal, it generates the second light-on message corresponding to the result of the detection of the hard disk unit 4 and transmits it to the expansion card unit 21. In the step (D), when the expansion card unit 21 receives the second lighting message, it will control the second state of the second status indicator module 52 according to the second lighting message The indicator light 521 and the third status indicator light 522 are illuminated.

藉由該擴充卡單元21可直接接收該硬碟單元4傳送的該第一狀態訊號與接收該主板1之可編程邏輯單元12傳送的該第一亮燈訊息與該第二亮燈訊息的設計,且搭配該擴充卡單元21可控制該硬碟指示燈單元5的特點,於該步驟(A)中,當該擴充卡單元21接收到該第一亮燈訊息後控制該第一狀態指示燈模組51發光,便於得知該硬碟單元4的在位(Present)與活動 (Active)等狀態。而於該步驟(C)中,該可編程邏輯單元12接收到該第二狀態訊號後,會解碼該第二狀態訊號且產生對應的該第二亮燈訊息,並傳至該擴充卡單元21。以及配合於該步驟(D)中,當該擴充卡單元21接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組52與該第三狀態指示燈522發光,而讓使用者知道該硬碟單元4的位置(Locate)、是否失效(Fail),以及警報(Alert)等狀態。透過使用該擴充卡單元21且配合原本就設置於該主板1上的可編程邏輯單元12的應用巧思,有效節省成本並達成不須再該背板2上額外設置可編程邏輯單元12的優點,且該擴充卡單元21體積小而可增加該背板2開孔率,並便於設置於該背板2上,不用複雜的Layout設計,進而提高生產效益。The expansion card unit 21 can directly receive the first status signal sent by the hard disk unit 4 and receive the first light-on message and the second light-on message sent by the programmable logic unit 12 of the motherboard 1 , And with the feature that the expansion card unit 21 can control the hard disk indicator unit 5, in step (A), when the expansion card unit 21 receives the first light-on message, the first status indicator is controlled The module 51 emits light, which is convenient for knowing the present and active status of the hard disk unit 4. In the step (C), after the programmable logic unit 12 receives the second status signal, it decodes the second status signal and generates the corresponding second light-on message, which is transmitted to the expansion card unit 21 . And in conjunction with step (D), when the expansion card unit 21 receives the second lighting message, it will control the second status indicator module 52 and the third status indicator according to the second lighting message The light 522 is illuminated to let the user know the position (Locate), whether the hard disk unit 4 is failed (Fail), and the status of the alarm (Alert). By using the expansion card unit 21 and cooperating with the application ingenuity of the programmable logic unit 12 originally installed on the motherboard 1, the cost is effectively saved and the advantage of not having to additionally provide the programmable logic unit 12 on the backplane 2 is achieved Moreover, the expansion card unit 21 is small in size, which can increase the opening rate of the backplane 2 and is convenient to be installed on the backplane 2 without complicated layout design, thereby improving production efficiency.

另外,於本實施例中,該硬碟單元4具有多個符合非揮發系記憶體(Non-Volatile Memory express,NVME)標準的固態硬碟(圖未示),該處理單元11與該硬碟單元4利用NVME訊號進行彼此間的資料傳輸,但不以此為限,也可以依設計需求該硬碟單元4是使用多個SATA(Serial Advanced Technology Attachment)介面的固態硬碟(圖未示)。在此要特別說明的是,如果是使用SATA態樣的硬碟單元4,請參閱圖3與圖4,本發明伺服器硬碟指示燈的控制方法的第二實施例,應用於上述的伺服器硬碟指示燈控制系統的第二實施例,大致與該伺服器硬碟指示燈的控制方法的第一實施例相同,不同的地方在於:於該步驟(B)中,該處理單元11由該處理器112傳送該狀態檢測指令而經一平台路徑控制器111(PCH)至該硬碟單元4而檢測該硬碟單元4的運作狀態,且該硬碟單元4受檢測後會回傳該第二狀態訊號至該平台路徑控制器111。並於該步驟(C)中,該平台路徑控制器111接收到該硬碟單元4所傳送的該第二狀態訊號並同步傳送至該可編程邏輯單元12,而該可編程邏輯單元12接收到該第二狀態訊號後,會產生對應該硬碟單元4受檢測後之結果的該第二亮燈訊息且傳至該擴充卡單元21。簡單來說,就是該步驟(B)中,該處理單元11之處理器112是透過該平台路徑控制器111與SATA態樣的該硬碟單元4進行傳輸溝通,且該步驟(C)中,該平台路徑控制器111接收到該第二狀態訊號會同步傳至該可編程邏輯單元12進行解碼,該可編程邏輯單元12將所接收到該第二狀態訊號解碼後,產生對應該硬碟單元4受檢測後之結果的該第二亮燈訊息且傳至該擴充卡單元21。而達成於該步驟(D)中,該擴充卡單元21依該第二亮燈訊息控制該第二狀態指示燈模組52的該第二狀態指示燈521與該第三狀態指示燈522發光。另外,要說明的是,本實施例中,只需利用一個通訊匯流排31(I²C)將該可編程邏輯單元12連結該擴充卡單元21,而該可編程邏輯單元12連結該平台路徑控制器111是以通用輸入/輸出(GPIO)的方式進行資訊傳輸,所以於該步驟(C)中,該處理單元11之平台路徑控制器111以序列通用輸入/輸出(Serial General Purpose I/O, SGPIO )的溝通介面方式傳輸該第二狀態訊號至該可編程邏輯單元12,而該可編程邏輯單元12將所接收到該第二狀態訊號解碼而產生該第二亮燈訊息且透過該通訊匯流排(I²C)傳輸該第二亮燈訊息至該擴充卡單元21。換句話說,由於本實施例中,該硬碟單元4為SATA態樣,所以該平台路徑控制器111(PCH)是以序列通用輸入/輸出(SGPIO )的溝通介面與該可編程邏輯單元12進行溝通與資料傳輸;而該第一實施例中,該硬碟單元4為NVME態樣,所以該處理單元11(CPU)是透過積體電路通訊匯流排(I²C)的溝通介面與該可編程邏輯單元12進行溝通與資料傳輸In addition, in this embodiment, the hard disk unit 4 has a plurality of solid-state hard disks (not shown) conforming to the non-volatile memory (Non-Volatile Memory express, NVME) standard, and the processing unit 11 and the hard disk Unit 4 uses NVME signals to transfer data between each other, but it is not limited to this, and it can also be designed according to design requirements. The hard drive unit 4 is a solid state drive using multiple SATA (Serial Advanced Technology Attachment) interfaces (not shown) . It should be noted here that if the hard disk unit 4 in the SATA mode is used, please refer to FIGS. 3 and 4. The second embodiment of the method for controlling the hard disk indicator of the server of the present invention is applied to the above-mentioned servo The second embodiment of the hard disk indicator control system of the server is roughly the same as the first embodiment of the method of controlling the hard disk indicator of the server. The difference is that in this step (B), the processing unit 11 is The processor 112 sends the status detection command to the hard disk unit 4 via a platform path controller 111 (PCH) to detect the operating status of the hard disk unit 4, and the hard disk unit 4 will return the The second status signal is sent to the platform path controller 111. And in the step (C), the platform path controller 111 receives the second status signal transmitted by the hard disk unit 4 and synchronously transmits it to the programmable logic unit 12, and the programmable logic unit 12 receives After the second status signal, the second lighting message corresponding to the result of the detection of the hard disk unit 4 is generated and transmitted to the expansion card unit 21. Simply put, in step (B), the processor 112 of the processing unit 11 communicates with the hard disk unit 4 in the SATA mode through the platform path controller 111, and in step (C), The platform path controller 111 receives the second state signal and transmits it to the programmable logic unit 12 for decoding. The programmable logic unit 12 decodes the received second state signal to generate a corresponding hard disk unit 4 The second light-on message of the result of the detection is transmitted to the expansion card unit 21. In step (D), the expansion card unit 21 controls the second status indicator light 521 and the third status indicator light 522 of the second status indicator module 52 to emit light according to the second light-on message. In addition, it should be noted that in this embodiment, only one communication bus 31 (I²C) is used to connect the programmable logic unit 12 to the expansion card unit 21, and the programmable logic unit 12 to connect to the platform path controller 111 is a general purpose input/output (GPIO) for information transmission, so in this step (C), the platform path controller 111 of the processing unit 11 uses serial general purpose input/output (Serial General Purpose I/O, SGPIO ) Transmits the second state signal to the programmable logic unit 12, and the programmable logic unit 12 decodes the received second state signal to generate the second light-on message and pass it through the communication bus (I²C) Transmit the second light-on message to the expansion card unit 21. In other words, since the hard disk unit 4 is in the SATA mode in this embodiment, the platform path controller 111 (PCH) communicates with the programmable logic unit 12 through a serial general-purpose input/output (SGPIO) interface. For communication and data transmission; and in the first embodiment, the hard disk unit 4 is in NVME mode, so the processing unit 11 (CPU) communicates with the programmable device through the communication interface of the integrated circuit communication bus (I²C) Logic unit 12 for communication and data transmission

綜上所述,本發明伺服器硬碟指示燈控制系統及其控制方法,藉由該擴充卡單元21可直接接收該硬碟單元4傳送的該第一狀態訊號與該可編程邏輯單元12傳送的該第一亮燈訊息與該第二亮燈訊息的設計,且搭配該擴充卡單元21可控制該硬碟指示燈單元5的特點,而達成該擴充卡單元21依接收到的該第一亮燈訊息與該第二亮燈訊息,控制該硬碟指示燈單元5發光,而讓使用者知道該硬碟單元4的運作狀態。再者,透過使用該擴充卡單元21的巧思,有效節省成本,且該擴充卡單元21體積小而可增加該背板2的開孔率,並便於設置於該背板2上,不用複雜的Layout設計,進而提高生產效益。In summary, the server hard disk indicator control system and control method of the present invention can directly receive the first status signal sent by the hard disk unit 4 and the programmable logic unit 12 through the expansion card unit 21 The design of the first light-on message and the second light-on message, combined with the feature that the expansion card unit 21 can control the hard disk indicator unit 5, achieves that the expansion card unit 21 depends on the first received The light-on message and the second light-on message control the hard disk indicator unit 5 to emit light, and let the user know the operating status of the hard disk unit 4. Furthermore, through the ingenuity of using the expansion card unit 21, the cost is effectively saved, and the expansion card unit 21 is small in size, which can increase the opening rate of the backplane 2, and is easy to install on the backplane 2, without complicated Layout design to improve production efficiency.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above are only examples of the present invention, and should not be used to limit the scope of implementation of the present invention, any simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification still belong to This invention covers the patent.

1:主板31:通訊匯流排 11:處理單元4:硬碟單元 111:平台路徑控制器5:硬碟指示燈單元 112:處理器51:第一狀態指示燈模組 12:可編程邏輯單元52:第二狀態指示燈模組 2:背板521:第二狀態指示燈 21:擴充卡單元522:第三狀態指示燈3:通訊匯流排單元A~D:步驟1: Motherboard 31: Communication bus 11: Processing unit 4: Hard disk unit 111: Platform path controller 5: Hard disk indicator unit 112: Processor 51: First status indicator module 12: Programmable logic unit 52 : Second status indicator module 2: Backplane 521: Second status indicator 21: Expansion card unit 522: Third status indicator 3: Communication bus unit A~D: Step

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本發明伺服器硬碟指示燈控制系統的第一實施例; 圖2是一流程圖,說明本發明伺服器硬碟指示燈的控制方法的第一實施例; 圖3是一方塊圖,說明本發明伺服器硬碟指示燈控制系統的第二實施例;及 圖4是一流程圖,說明本發明伺服器硬碟指示燈的控制方法的第二實施例。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a block diagram illustrating the first embodiment of the server hard disk indicator control system of the present invention; Figure 2 It is a flowchart illustrating the first embodiment of the control method of the server hard disk indicator of the present invention; Figure 3 is a block diagram illustrating the second embodiment of the server hard disk indicator control system of the present invention; and Figure 4 It is a flowchart illustrating the second embodiment of the control method of the server hard disk indicator of the present invention.

1:主板 1: Motherboard

11:處理單元 11: Processing unit

12:可編程邏輯單元 12: Programmable logic unit

2:背板 2: backplane

21:擴充卡單元 21: Expansion card unit

3:通訊匯流排單元 3: Communication bus unit

31:通訊匯流排 31: Communication bus

4:硬碟單元 4: hard drive unit

5:硬碟指示燈單元 5: Hard disk indicator unit

51:第一狀態指示燈模組 51: The first status indicator module

52:第二狀態指示燈模組 52: The second status indicator module

521:第二狀態指示燈 521: second status indicator

522:第三狀態指示燈 522: third status indicator

Claims (10)

一種伺服器硬碟指示燈控制系統,包含: 一主板,包括一處理單元,及一連結該處理單元的可編程邏輯單元; 一背板,並包括一連結該可編程邏輯單元之擴充卡單元; 一連結該處理單元與該擴充卡單元的硬碟單元,該擴充卡單元用以接收該硬碟單元傳送的一第一狀態訊號,該處理單元會傳送一狀態檢測指令至該硬碟單元而檢測該硬碟單元的運作狀態且接收該硬碟單元受檢測後所回傳的一第二狀態訊號;及 一連結該擴充卡單元且受該擴充卡單元控制的硬碟指示燈單元,並包括一第一狀態指示燈模組,及一第二狀態指示燈模組,於該硬碟單元運作時,該硬碟單元會傳送該第一狀態訊號至該擴充卡單元,且該可編程邏輯單元主動接收該擴充卡單元所收到的該第一狀態訊號,而該可編程邏輯單元接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息且傳至該擴充卡單元,並該擴充卡單元依該第一亮燈訊息控制該第一狀態指示燈模組發光,於該處理單元接收到該硬碟單元傳送的該第二狀態訊號且同步傳送至該可編程邏輯單元,該可編程邏輯單元接收到該第二狀態訊號後,會產生一對應的第二亮燈訊息且傳至該擴充卡單元,當該擴充卡單元接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組發光。A server hard disk indicator control system, comprising: a main board, including a processing unit, and a programmable logic unit connected to the processing unit; a backplane, including an expansion card unit connected to the programmable logic unit; A hard disk unit connecting the processing unit and the expansion card unit, the expansion card unit is used to receive a first status signal sent by the hard disk unit, and the processing unit will send a status detection command to the hard disk unit to detect The operating status of the hard disk unit and receiving a second status signal returned after the hard disk unit is detected; and a hard disk indicator unit connected to the expansion card unit and controlled by the expansion card unit, and includes a A first status indicator module and a second status indicator module. When the hard disk unit is operating, the hard disk unit sends the first status signal to the expansion card unit, and the programmable logic unit takes the initiative The first status signal received by the expansion card unit is received, and after the programmable logic unit receives the first status signal, a corresponding first light-on message is generated and transmitted to the expansion card unit, and the The expansion card unit controls the first status indicator module to emit light according to the first light-on message, and when the processing unit receives the second status signal sent by the hard disk unit and synchronously sends it to the programmable logic unit, the After the programming logic unit receives the second status signal, it will generate a corresponding second light-on message and transmit it to the expansion card unit. When the expansion card unit receives the second light-on message, it will follow the second The lighting message controls the second status indicator module to emit light. 如請求項1所述的伺服器硬碟指示燈控制系統,還包含一通訊匯流排單元,該通訊匯流排單元包括多個通訊匯流排,所述通訊匯流排分別用以將該處理單元連結該可編程邏輯單元,以及將該可編程邏輯單元連結該擴充卡單元。The server hard disk indicator control system according to claim 1, further comprising a communication bus unit, the communication bus unit includes a plurality of communication bus, the communication bus is used to connect the processing unit to the A programmable logic unit, and the programmable logic unit is connected to the expansion card unit. 如請求項2所述的伺服器硬碟指示燈控制系統,其中,該通訊匯流排單元之所述通訊匯流排為積體電路通訊匯流排。The server hard disk indicator control system according to claim 2, wherein the communication bus of the communication bus unit is an integrated circuit communication bus. 如請求項2所述的伺服器硬碟指示燈控制系統,其中,該擴充卡單元是透過通用輸入/輸出的方式與該硬碟單元進行資料傳輸。The server hard disk indicator control system according to claim 2, wherein the expansion card unit performs data transmission with the hard disk unit through a universal input/output method. 如請求項1所述的伺服器硬碟指示燈控制系統,其中,該處理單元包括一連結該可編程邏輯單元與該硬碟單元之平台路徑控制器,及一連結該平台路徑控制器之處理器,該處理單元之處理器會傳送該狀態檢測指令經該平台路徑控制器至該硬碟單元而檢測該硬碟單元的運作狀態,且該硬碟單元受檢測後會回傳該第二狀態訊號至該平台路徑控制器,於該平台路徑控制器接收到該硬碟單元所傳送的該第二狀態訊號並同步傳送至該可編程邏輯單元。The server hard disk indicator control system according to claim 1, wherein the processing unit includes a platform path controller connecting the programmable logic unit and the hard disk unit, and a processor connecting the platform path controller The processor of the processing unit will send the status detection command to the hard disk unit via the platform path controller to detect the operating status of the hard disk unit, and the hard disk unit will return the second status after being detected The signal is sent to the platform path controller, where the platform path controller receives the second status signal transmitted by the hard disk unit and synchronously transmits it to the programmable logic unit. 如請求項1所述的伺服器硬碟指示燈控制系統,其中,該第二狀態指示燈模組具有一第二狀態指示燈,及一第三狀態指示燈,該狀態檢測指令用以檢測該硬碟單元的位置、正常、失效,及警報的運作狀態,該硬碟單元受檢測後所回傳的該第二狀態訊號為對應該硬碟單元的運作狀態受檢測後的結果,而該可編程邏輯單元接收到該第二狀態訊號後會產生對應的該第二亮燈訊息且傳至該擴充卡單元,當該擴充卡單元接收到該第二亮燈訊息時,會依該第二亮燈訊息且透過通用輸入/輸出的方式控制該第二狀態指示燈模組的該第二狀態指示燈與該第三狀態指示燈發光。The server hard disk indicator control system according to claim 1, wherein the second status indicator module has a second status indicator and a third status indicator, and the status detection command is used to detect the The position, normal, failure, and alarm operation status of the hard disk unit. The second status signal returned after the hard disk unit is detected is the result of the detection of the operation status of the hard disk unit. After receiving the second status signal, the programming logic unit generates the corresponding second light-on message and transmits it to the expansion card unit. When the expansion card unit receives the second light-up message, it lights up according to the second The second status indicator light and the third status indicator light of the second status indicator module are controlled to emit light by means of universal input/output. 一種伺服器硬碟指示燈的控制方法,應用於如請求項1所述的伺服器硬碟指示燈控制系統,該伺服器硬碟指示燈的控制方法包含以下步驟: (A) 該硬碟單元運作時,傳送的一第一狀態訊號至該擴充卡單元,且該可編程邏輯單元主動接收該擴充卡單元所收到的該第一狀態訊號,而該可編程邏輯單元接收到該第一狀態訊號後,會產生一對應的第一亮燈訊息且傳至該擴充卡單元,並該擴充卡單元依該第一亮燈訊息控制該第一狀態指示燈模組發光; (B) 該處理單元會持續傳送一狀態檢測指令至該硬碟單元而檢測該硬碟單元的運作狀態,而該硬碟單元受檢測後會回傳該第二狀態訊號至該處理單元; (C) 於該處理單元接收到該第二狀態訊號時且同步傳送至該可編程邏輯單元,而該可編程邏輯單元接收到該第二狀態訊號後,會產生一對應的第二亮燈訊息且傳至該擴充卡單元; (D) 當該擴充卡單元接收到該第二亮燈訊息時,會依該第二亮燈訊息控制該第二狀態指示燈模組與該第三狀態指示燈發光。A method for controlling a server hard disk indicator light is applied to the server hard disk indicator light control system as described in claim 1. The server hard disk indicator light control method includes the following steps: (A) the hard disk unit During operation, a first state signal is transmitted to the expansion card unit, and the programmable logic unit actively receives the first state signal received by the expansion card unit, and the programmable logic unit receives the first state After the signal, a corresponding first lighting message is generated and transmitted to the expansion card unit, and the expansion card unit controls the first status indicator module to emit light according to the first lighting message; (B) the processing unit It will continuously send a status detection command to the hard disk unit to detect the operating status of the hard disk unit, and the hard disk unit will return the second status signal to the processing unit after being detected; (C) in the processing unit When the second status signal is received, it is synchronously transmitted to the programmable logic unit, and after the programmable logic unit receives the second status signal, a corresponding second light-on message is generated and transmitted to the expansion card unit (D) When the expansion card unit receives the second light-on message, it controls the second status indicator module and the third status indicator light to emit light according to the second light-on message. 如請求項7所述的伺服器硬碟指示燈的控制方法,該伺服器硬碟指示燈控制系統還包含一通訊匯流排單元,該通訊匯流排單元包括多個通訊匯流排,所述通訊匯流排分別用以將該處理單元連結該可編程邏輯單元,以及將該可編程邏輯單元連結該擴充卡單元,其中,於該步驟(C)中,該處理單元透過對應的通訊匯流排傳輸該第二狀態訊號至該可編程邏輯單元。According to the method for controlling the server hard disk indicator light of claim 7, the server hard disk indicator light control system further includes a communication bus unit, the communication bus unit including a plurality of communication buses, the communication bus The rows are respectively used to connect the processing unit to the programmable logic unit and to connect the programmable logic unit to the expansion card unit, wherein, in step (C), the processing unit transmits the second communication bus through the corresponding communication bus. Two-state signal to the programmable logic unit. 如請求項7所述的伺服器硬碟指示燈的控制方法,該處理單元包括一連結該可編程邏輯單元與該硬碟單元之平台路徑控制器,及一連結該平台路徑控制器之處理器,其中,於該步驟(B)中,該處理單元之處理器會傳送該狀態檢測指令經該平台路徑控制器至該硬碟單元而檢測該硬碟單元的運作狀態,且該硬碟單元受檢測後會回傳該第二狀態訊號至該平台路徑控制器,且於該步驟(C)中,該平台路徑控制器接收到該硬碟單元所傳送的該第二狀態訊號並同步傳送至該可編程邏輯單元。The method for controlling a hard disk indicator light of a server according to claim 7, wherein the processing unit includes a platform path controller connecting the programmable logic unit and the hard disk unit, and a processor connecting the platform path controller , Wherein, in the step (B), the processor of the processing unit sends the status detection command to the hard disk unit via the platform path controller to detect the operating status of the hard disk unit, and the hard disk unit is After detection, the second status signal is returned to the platform path controller, and in step (C), the platform path controller receives the second status signal sent by the hard disk unit and synchronously sends it to the Programmable logic unit. 如請求項9所述的伺服器硬碟指示燈的控制方法,其中,該伺服器硬碟指示燈控制系統還包含一通訊匯流排單元,該通訊匯流排單元包括一個通訊匯流排,該通訊匯流排將該處理單元之平台路徑控制器連結該擴充卡單元,其中,於該步驟(C)中,該處理單元之處理器以通用輸入輸出的方式傳輸該第二狀態訊號至該可編程邏輯單元,而該可編程邏輯單元將所產生該第二亮燈訊息透過該通訊匯流排傳輸該第二亮燈訊息至該擴充卡單元。The method for controlling a server hard disk indicator light according to claim 9, wherein the server hard disk indicator light control system further includes a communication bus unit, the communication bus unit includes a communication bus, and the communication bus Connect the platform path controller of the processing unit to the expansion card unit, wherein, in step (C), the processor of the processing unit transmits the second state signal to the programmable logic unit by means of universal input and output , And the programmable logic unit transmits the generated second light-on message to the expansion card unit through the communication bus.
TW107144401A 2018-12-10 2018-12-10 Server hard disk indicator control system and control method TWI689814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107144401A TWI689814B (en) 2018-12-10 2018-12-10 Server hard disk indicator control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107144401A TWI689814B (en) 2018-12-10 2018-12-10 Server hard disk indicator control system and control method

Publications (2)

Publication Number Publication Date
TWI689814B TWI689814B (en) 2020-04-01
TW202022613A true TW202022613A (en) 2020-06-16

Family

ID=71134626

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107144401A TWI689814B (en) 2018-12-10 2018-12-10 Server hard disk indicator control system and control method

Country Status (1)

Country Link
TW (1) TWI689814B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI774496B (en) * 2021-07-30 2022-08-11 神雲科技股份有限公司 Server hard disk indicator light control system and control method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9335786B2 (en) * 2013-02-28 2016-05-10 Oracle International Corporation Adapter facilitating blind-mate electrical connection of field replaceable units with virtual backplane of computing rack
TW201621661A (en) * 2014-12-02 2016-06-16 英業達股份有限公司 Hard disk drive operating status detection system
CN106326077B (en) * 2015-06-25 2019-09-13 昆达电脑科技(昆山)有限公司 Hard disk state display method, computer system and its disk state instruction device
CN105529045A (en) * 2015-12-02 2016-04-27 英业达科技有限公司 Lamp signal control system for nonvolatile memory solid state disk
CN107688376B (en) * 2017-09-28 2021-03-23 苏州浪潮智能科技有限公司 Hard disk backboard supporting self-adaptive hard disk interface

Also Published As

Publication number Publication date
TWI689814B (en) 2020-04-01

Similar Documents

Publication Publication Date Title
US7356431B2 (en) Method for testing an input/output functional board
US6760869B2 (en) Reporting hard disk drive failure
CN107832199A (en) Hard disk monitoring system based on CPLD
US20120133520A1 (en) Computer chassis system and hard disk status display method thereof
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
US7734839B1 (en) Method and integrated circuit for providing enclosure management services utilizing multiple interfaces and protocols
US20140189168A1 (en) Hard disk drive module having indicating device
US10019402B2 (en) Flexible NVME drive management solution via multiple processor and registers without multiple input/output expander chips
TW201935239A (en) HDD monitoring system
US6943463B2 (en) System and method of testing connectivity between a main power supply and a standby power supply
CN111475385A (en) NVME hard disk backboard lighting system and method supporting mixed insertion of cables
TW202115573A (en) Hdd backplane management device
TWI689814B (en) Server hard disk indicator control system and control method
TW201530304A (en) Method for alarming abnormal status
US20130091380A1 (en) Dynamically Reconfiguring A Primary Processor Identity Within A Multi-Processor Socket Server
CN111594476B (en) Control method and device for fan error-reporting lamp of server and storage medium
US20220019561A1 (en) Event-based generation of context-aware telemetry reports
CN101271420B (en) Operating system hard disk recognition device
CN111338911B (en) Server hard disk indicator lamp control system and control method thereof
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
US20140344481A1 (en) Detecting system for hard disk drive
CN110321263B (en) Hard disk monitoring system
TW202008165A (en) Backup method and backup system
TWI819746B (en) Light control device, light control method and server thereof
TWI774496B (en) Server hard disk indicator light control system and control method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees