TWI263137B - Enclosure service client-server system using I2C interface, RAID controller having the functionality of the enclosure service client, and related data transmission method - Google Patents
Enclosure service client-server system using I2C interface, RAID controller having the functionality of the enclosure service client, and related data transmission method Download PDFInfo
- Publication number
- TWI263137B TWI263137B TW94102158A TW94102158A TWI263137B TW I263137 B TWI263137 B TW I263137B TW 94102158 A TW94102158 A TW 94102158A TW 94102158 A TW94102158 A TW 94102158A TW I263137 B TWI263137 B TW I263137B
- Authority
- TW
- Taiwan
- Prior art keywords
- service
- transmission
- transmission data
- slave
- box
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 147
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 70
- 238000004891 communication Methods 0.000 claims abstract description 4
- 238000012545 processing Methods 0.000 claims description 48
- 238000012546 transfer Methods 0.000 claims description 17
- 239000000463 material Substances 0.000 claims description 9
- 230000007613 environmental effect Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 5
- 206010011469 Crying Diseases 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 claims 1
- 239000000835 fiber Substances 0.000 claims 1
- 239000000126 substance Substances 0.000 claims 1
- 238000004886 process control Methods 0.000 abstract 2
- 238000003860 storage Methods 0.000 description 17
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 208000033999 Device damage Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000008267 milk Substances 0.000 description 1
- 210000004080 milk Anatomy 0.000 description 1
- 235000013336 milk Nutrition 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000011257 shell material Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Bus Control (AREA)
Abstract
Description
12631371263137
九、發明說明: 【發明所屬之技術領域] 本發明係關於一種箱體服務(Enclosure Service ), 尤指一種使用I2C介面之箱體服務主從端架構及具有該 箱體服務從端功能之磁碟陣列控制器。 φ 【先前技術】 電腦的發明改變了人們處理資料的方式,亦改變了 人們的工作模式。隨著資料處理量的日益增加以及資料 數位化的趨勢,如何建構一個穩定、大容量、高效能、 可存取性高的儲存系統已成為一重要課題。目前,在儲 存系統中常採用的技術之一為磁碟陣列(Redundant Array of Independent Disks,RAID )技術,而視需求的 ^ 不同,在市場上主要有三種類型的解決方案··直接連接 儲存(Direct Attached Storage,DAS )、網路附加儲存 (Network Attached Storage,NAS)以及儲存區域網路 (Storage Area Network,SAN )等儲存方案。 在儲存系統中,通常會使用一個箱體(Enclosure) 來容置複數磁碟機、相關操作元件以及一箱體服務主端 (Enclosure Service Server 5 ESS),其中箱體服務主端 (ESS)與一箱體月良矛务從端(Enclosure Service Client, ESC )相對應。ESS通常與複數感測器相連接,俾供透 1263137 過該等感測器來監控風扇、箱體内的溫度、電源供應: 狀態等各種箱體内週邊狀態,以獲得複數參考數值了: 對該等參考數值進行初步處理,繼而再將該等來考數值 ,送至箱體服務從端(ESC)進行處理,以顯示出風扇 是否良好、箱體内溫度、電源供應器是否良好等各種輔 助訊息’俾供透過該㈣㈣息來麵整個 碟及其控制器可以在最佳的環境中運作,㈣以統的 穩定性。通常’ESC可位於箱體中或箱體之磁碟陣列控 制器之上,ESC設置之方式係依系統設計來決定。 在介紹ESS如何與ESC之連接關係之前,下述將介切 在儲存系統中常使用之SCSI ( Small Com—加㈣ Interface) ’ SCSI為一種應用範圍廣泛的介面規格,其 具有下述優點:h較高的傳輸速率(例如:峰值頻寬/已 提㈣32GMB/S) ;2.系統資源㈣率低,係因中央處 里°° (CPU)通常只需將資料傳輸指令發送給SCSI控製 晶片,而無需參與整個過程中的資料處理與計算,這種 =對於_桑作頻繁或經常使用到大容量播案交換的 儲存系統而言,传或 TS ^ ^ 係為—項非常好的功能;3.擴充性佳; 4.除錯^力高;5.進行多工處理時最佳化程度高。因此, =CSI目别主要應用於高階的儲存系統、硬碟以及飼服器 或工作站中。 第1圖顯謂存I統中箱體服務主從端連接於SCSI 匯流排之示意圖’其係包括箱體服務主端(ESS)11、 1263137 年月日修(更;上巷換頁IX. Description of the Invention: [Technical Field] The present invention relates to an Enclosure Service, and more particularly to a box service master-slave architecture using an I2C interface and a magnetic function having a slave service function Disc array controller. φ [Prior Art] The invention of computers has changed the way people process data and has changed the way people work. With the increasing amount of data processing and the trend of digital data, how to construct a stable, large-capacity, high-performance, and highly accessible storage system has become an important issue. At present, one of the technologies commonly used in storage systems is Redundant Array of Independent Disks (RAID) technology. There are three main types of solutions on the market depending on the requirements. · Direct connection storage (Direct Storage solutions such as Attached Storage (DAS), Network Attached Storage (NAS), and Storage Area Network (SAN). In the storage system, an enclosure is usually used to accommodate multiple drives, related operating components, and a service provider (Enclosure Service Server 5 ESS), where the main service (ESS) and A box corresponds to the Enclosure Service Client (ESC). The ESS is usually connected to a multi-sensor, which is used to monitor the temperature of the fan, the temperature inside the cabinet, the power supply, the status of the cabinet, etc., to obtain a plurality of reference values: The reference values are initially processed, and then the values are sent to the cabinet service slave (ESC) for processing to show whether the fan is good, the temperature inside the cabinet, the power supply is good, and the like. The message 'to provide the entire disc and its controller through the (4) (four) information can operate in the best environment, (d) stability. Usually the 'ESC can be located in the cabinet or on the disk array controller of the cabinet. The way the ESC is set is determined by the system design. Before introducing the relationship between ESS and ESC, the following will refer to the SCSI (Small Com-Additional Interface) that is commonly used in storage systems. SCSI is a widely used interface specification with the following advantages: High transmission rate (for example: peak bandwidth / raised (four) 32GMB / S); 2. System resources (four) rate is low, because the central point ° ° (CPU) usually only need to send data transmission instructions to the SCSI control chip, and There is no need to participate in the data processing and calculation in the whole process. This is a very good function for the storage system that frequently or frequently uses large-capacity broadcast exchanges. The expansion is good; 4. The debugging is high; 5. The degree of optimization is high when performing multiplex processing. Therefore, the =CSI target is mainly used in high-end storage systems, hard drives, and feeders or workstations. Figure 1 shows the schematic diagram of the main and secondary connections of the cabinet service to the SCSI bus in the storage system. The system includes the main service (ESS) of the cabinet, and the repair of the main service (ESS) 11 and 1263137.
箱體服務從端(ESC) 12、SCSI匯流排13以及複數個SCSI 磁碟機 141, 142, 143。ESS11透過 SCSI匯流排 13與ESC12 相連接,其中ESS11如同其他SCSI裝置一樣,係佔用一 個SCSI識別號碼(ID),且ESS11與SCSI匯流排13係透 過SCSI連接線(例如:具有68接腳(Pins)之連接頭的 連接線)來相連接,亦即在ESS11必須設置一個SCSI連 接埠。然而ESS11在傳輸信息時僅會使用到SCSI連接頭 中的八個接腳,而浪費了 SCSI連接線及連接埠之其他接 腳功用,並且由於使用SCSSI介面作為傳輸介面,對於 ESS11電路佈局方面亦會較為複雜,且使用SCSI介面, 其價格較為昂貴,而增加製造成本。The box service slave (ESC) 12, the SCSI bus 13 and a plurality of SCSI drives 141, 142, 143. The ESS11 is connected to the ESC12 through the SCSI bus 13. The ESS11 occupies a SCSI identification number (ID) like other SCSI devices, and the ESS11 and SCSI bus 13 are connected through the SCSI cable (for example: with 68 pins (Pins) ) The connector of the connector is connected, that is, a SCSI port must be set in the ESS11. However, ESS11 only uses the eight pins in the SCSI connector when transmitting information, which wastes the SCSI cable and other pin functions of the port, and because the SCSSI interface is used as the transmission interface, the layout of the ESS11 circuit is also It will be more complicated and use the SCSI interface, which is more expensive and increases manufacturing costs.
第2圖顯示儲存系統中箱體服務主從端連接於SCSI 匯流排之另一示意圖,其係包含ESS21、ESC22、SCSI 匯流排23以及複數個SCSI磁碟機241,242,243,244,其 中,ESS21與SCSI磁碟機241相連接,且ESS21與SCSI 磁碟機241係透過具有八個接腳之連接線連接。此種作 法的優點為:1.ESS21不佔用SCSI識別號碼(ID); 2.ESS21與SCSI磁碟機241之間所採用之連接線不是 SCSI連接線,故較為便宜。然而,此種作法的風險非常 大,係因ESS21透過SCSI磁碟機241來與ESC22進行溝 通,而磁碟機毀損率一向非常高,因此若SCSI磁碟機241 發生故障時,則將導致ESS21無法與ESC22進行溝通。 1263137 由以上之說明可知,若在箱體服務主端(ess)直 接採用SCSI連接相及SCSI連接線來與箱體服務從端 (ESC)進行連繫,則將使得成本較為高昂且電路佈局 較為複雜;若將箱體服務主端(ESS)透過至少一個SCSI 裝置來與箱體服務從端(ESC)進行連繫,則將因箱體 服務攸端(ESC)發生故障之機率而增加無法與箱體服 務攸端(ESC)溝通之風險。是故,如何提供—成本低 廉、電路佈局簡單且穩定度佳之箱體服務從屬端架構, 已成為一亟需解決之課題。 【發明内容】 本發明之目的係在提供一種使用I2C介面之箱體服 務主從端系統及具有該箱體服務從端功能之磁碟陣列 控制器,俾能降低生產成本。 本發明之目的係在提供—種使用I2C介面之箱體服 務主從端系統及具有該箱體服務從端功能之磁碟陣列 控制器,俾能簡化實做。 本發明之目的係在提供一種使用I2C介面之箱體服 務主從端系統及具有該箱體服務從端功能之磁碟陣列 控制器,俾能使得系統整體穩定度佳,不會有㈣裝置 毀損而導致箱體服務主端無法動作之情形。 依據本發明之-特色’所提供之使用沉介面之箱 體服務主從端系統’包括:一箱體服務主端(—a :.3/27 1263137Figure 2 shows another schematic diagram of the main service slave of the storage system connected to the SCSI bus, which includes ESS21, ESC22, SCSI bus 23 and a plurality of SCSI drives 241, 242, 243, 244, of which ESS21 and SCSI The disk drive 241 is connected, and the ESS 21 and the SCSI disk drive 241 are connected through a connection line having eight pins. The advantages of this method are: 1. ESS21 does not occupy the SCSI identification number (ID); 2. The connection line used between the ESS21 and the SCSI disk drive 241 is not a SCSI connection line, so it is relatively inexpensive. However, the risk of this method is very large. Because ESS21 communicates with ESC22 through SCSI disk drive 241, the disk drive damage rate has always been very high, so if SCSI disk drive 241 fails, it will lead to ESS21. Unable to communicate with ESC22. 1263137 It can be seen from the above description that if the SCSI connection phase and the SCSI connection line are directly connected to the cabinet service slave (ESC) at the main service end (ess), the cost will be relatively high and the circuit layout will be relatively high. Complex; if the cabinet service master (ESS) is connected to the cabinet service slave (ESC) through at least one SCSI device, it will increase due to the probability of failure of the cabinet service end (ESC). Risk of communication at the Gateway Service (ESC). Therefore, how to provide a sub-container architecture with low cost, simple circuit layout and good stability has become a problem to be solved. SUMMARY OF THE INVENTION An object of the present invention is to provide a cabinet service master-slave system using an I2C interface and a disk array controller having the box service slave function, which can reduce the production cost. SUMMARY OF THE INVENTION The object of the present invention is to provide a box-side service master-slave system using an I2C interface and a disk array controller having the box-side slave function, which can simplify the implementation. The object of the present invention is to provide a box service master-slave system using an I2C interface and a disk array controller having the box service slave function, which can make the overall stability of the system good, and there is no (four) device damage. The situation that the main service of the box service cannot be operated. The box-serving master-slave system using the sink interface provided by the feature of the present invention includes: a box service master (-a: .3/27 1263137)
Service Server’ ESS);以及一箱體服務從端(Enci〇sure , Service Client,ESC),係具有一核心處理控制單元與 一傳輸貧料轉換單元(Transmission Data Conversion Unit),俾供核心處理控制單元透過傳輸資料轉換單元 來與箱體服務主端(ESS)進行溝通,其中核心處理控 制單兀係以SCSI傳輸協定來與傳輸資料轉換單元溝 通,傳輸資料轉換單元則用以WSCSI傳輸資料格式訊息 #轉換為I2c傳輸貧料格式訊息,俾供透過I2C傳輸協定來 與箱體服務主端進行溝通。 依據本發明之另一特色,所提供之磁碟陣列控制 器,係可用以配合一箱體服務裝置,該磁碟陣列控制器 匕括 核〜處理控制單元,·以及一傳輸資料轉換單 元係用以轉換SCSI傳輸資料格式訊息與I2C傳輸資料 格式訊息,其中核心處理控制單元係ascsI傳輸協定來 與傳輸資料轉換單it溝通,傳輸資料轉換單元則用以將 SCSI傳輸資料格式訊息轉換為I2C傳輸資料格式訊息, 俾供透過I2C傳輸協定來與箱體服務裝置進行溝通。Service Server ' ESS); and a service provider (ESC) with a core processing control unit and a Transmission Data Conversion Unit for core processing control The unit communicates with the main body of the cabinet (ESS) through the transmission data conversion unit, wherein the core processing control unit communicates with the transmission data conversion unit by using the SCSI transmission protocol, and the transmission data conversion unit transmits the data format information for WSCSI. # Convert to I2c transmission poor format message, for communication with the host service host through the I2C transport protocol. According to another feature of the present invention, a disk array controller is provided for use with a box service device, the disk array controller comprising a core-processing control unit, and a transmission data conversion unit. The SCSI transmission data format message and the I2C transmission data format message are converted, wherein the core processing control unit is an ascsI transmission protocol to communicate with the transmission data conversion unit, and the transmission data conversion unit is used to convert the SCSI transmission data format information into the I2C transmission data. The format message is used to communicate with the box service device through the I2C transport protocol.
依據本發明之另一特色,所提供之使用I2C介面之 :體服務主從端系統,包括··一箱體服務主端;以及一 箱體服務從端,係具有―核心處理控制單元與—傳輸資 料轉,單70 ’俾供該核心、處理控制單元透㈣傳輸資料 轉換單7G來與4箱體服務主端進行溝通,其中該核心處 理控制單元係以不同於該I2C傳輸協定之第二傳輸協定 1263137 用 1則讀資料轉換單元溝通,該傳輸資料轉換單元則 二將该第二傳輸資料格式訊息轉換為i2c傳輸資料格 ^息’俾供透過I2C傳輸協定來與該箱體服務 行溝通。 ^ 據本表明之另一特色,所提供之箱體服務主從端 糸統之貧料傳輸方法’其中該系統包括一箱體服務主端 x及I目體服務從端,該方法包含以下步驟:提供—核 春"Λ *里控制單元與傳輸資料轉換單元於該箱體服務 二端中’俾供該核心處理㈣單元透過該傳輸資料轉換 單元來與該箱體服務主端進行溝通;該箱體服務主端係 以第一傳輸協定傳輸資料格式提供該箱體之環境參數 給2傳輸資料轉換單元;以及該傳輸資料轉換單元係將 垓相體之ί哀境參數以第二傳輸協定傳輸資料格式提供 給該核心處理控制單元,藉俾供該箱體服務從端對該等 操作環境參數加以處理。 【實施方式】 有關本發明之說明,敬請參照第3圖顯示之系統架 構圖,其係由箱體服務主端(Encl〇sure Service , ESS )3卜箱體服務從端(Enclosure Service client,Esc) 32、SCSI匯流排33以及複數SCSI磁碟機341,342, 343等 主要構件所組成,其中箱體服務從端(ESC) 32具有核 心處理控制單元321、傳輸資料轉換單元(Transmissi〇n 1263137According to another feature of the present invention, an I2C interface is provided: a body service master-slave system, including a box service master; and a box service slave, having a "core processing control unit and" Transmitting data transfer, the single 70 '俾 for the core, the processing control unit through (4) transmission data conversion list 7G to communicate with the 4 box service main terminal, wherein the core processing control unit is different from the second I2C transmission agreement The transmission protocol 1263137 communicates with a read data conversion unit, and the transmission data conversion unit converts the second transmission data format message into an i2c transmission data message to communicate with the service line through the I2C transmission protocol. . According to another feature of the present disclosure, the provided box service is a poor-and-small transmission method of the master-slave system, wherein the system includes a box service host x and an I-object service slave, and the method includes the following steps : providing - nuclear spring " Λ * control unit and transmission data conversion unit in the second end of the box service 'for the core processing (four) unit through the transmission data conversion unit to communicate with the main service host; The box service main end provides the environment parameter of the box to the 2 transmission data conversion unit in the first transmission protocol transmission data format; and the transmission data conversion unit uses the 哀 phase parameter of the 垓 phase body as the second transmission agreement The transport data format is provided to the core processing control unit for processing the operating environment parameters from the end of the box service. [Embodiment] For the description of the present invention, please refer to the system architecture diagram shown in FIG. 3, which is performed by the Enclosure Service (ESS) 3 Enclosure Service client (Enclosure Service client, Esc) 32, SCSI bus bar 33 and a plurality of SCSI disk drives 341, 342, 343 and other main components, wherein the box service slave (ESC) 32 has a core processing control unit 321, a transmission data conversion unit (Transmissi〇n 1263137
Data Conversion Unit) 322、I2C 連接埠 323 以及 SCSI 連 、 接埠324 ’箱體服務主端(ESS) 31具有I2C連接埠311。 1 於本發明中,箱體服務主端31係為與複數感測器相 連接(圖未示),以收集由該等感測器所提供之各種操 作環境參數,箱體服務主端31並提供該等操作環境參數 至箱體服務從端32。箱體服務從端32則用以對該等操作 環境麥數進行處理,以將該等操作環境參數顯示出來或 • 將該等操作環境參數作為其他相關應用程式之參考資 訊,以進行其他功能處理。於本實施例中,箱體服務從 端32可位於磁碟陣列(Raid)控制器上或儲存子系統 之箱體中的適當位置。上述之箱體服務從端322I2C連 接埠323與箱體服務主端3丨之I2C連接埠3丨丨係透過一 I2C連接線35來相連接。箱體服務從端32與該等8(:81磁 碟機341,342, 343則透過SCSI連接埠324與SCSI匯流排 _ 33來相連接。 上述之箱體服務主端31為一箱體服務裝置,其所搭 配之該等感測器係分別位於箱體(圖未示)内之欲監控 部位各處,其中,該箱體可用來容置該等SCSI磁碟機341, 342,343、箱體服務主端31及箱體服務從端”,當然, 該箱體所容置之構件亦可視不同需求而加以增刪或加 以職配置位置。上述之❹】器所_之各種操作環境 參數可依$統設計而不同’料環境參數可為:電源供 應器之狀態、風扇轉速及風扇是否運作正常、箱體内之 1263137 溫度、外部連接之不斷電供電系統(ups)之狀態、系 , 統之工作電壓狀態、系統之操作電流狀態、資料備援之 電池狀態等各種環境參數。因此,當箱體服務主端”透 過该等感測器取得該等操作環境參數時,將對該等操作 %境芩數進行初步處理動作,以透過I2C協定、i2c連接 埠311,323及I2C傳輸線來將該等操作環境參數傳輸至 箱體服務從端32之傳輸資料轉換單元322。 # 上述之核心處理控制單元321除了用來處理箱體服 務從端32所需進行之程序外,其亦能提供其他箱體内的 硬體控制服務。於本實施例中,核心處理控制單元321 可由至少一韌體程式來實現。 傳輸資料轉換單元322為一個簡易的SCS]^g體服務 (SCSI Enclosure Service,SES)模擬裝置,其佔有一 個SCSI識別號碼,並能夠處理數種簡易指令,例如:測 試裝置是否備妥(TestunitReady)、查詢(Inquery)、 診斷資料傳送(SendData )及診斷資料接收 (ReceiveData)等。傳輸資料轉換單元322之主要功能 係用來轉換scsi所能傳輸之資料格式與I2C所能傳輸之 資料格式,亦即傳輸資料轉換單元322透過SCSI傳輸介 面來與核心處理控制單元321溝通,且傳輸資料轉換單 元322並透過I2C傳輸介面來與箱體服務主端31溝通。 因此,傳輸資料轉換單元322的工作便是將箱體服 務主端3 1所傳送之I2C資料傳輸格式的訊息轉換成sesi 13 1263137 所此傳輸之貝料傳輸格式的訊息,並能將核心處理控制 單元切所傳送之SCSI資料傳輸格式的訊息自動轉換成 山斤月匕傳輸之資料傳輸格式的訊息,以在箱體服務主 端31與核心處理控制單元321之間達成雙向轉換傳輸資 料轉換之功此。於本實施例中,傳輸資料轉換單元奶 在轉,scsi*料傳輸格式的訊息成i2c資料傳輸格式的 ^ 係直接由SCSI資料格式的訊息中擷取部份I〕。 ^輸時的必要訊息(例如:位址、資料等),以成為I2C 貧料傳輸格式的訊息;相類似地,傳輸資料轉換單元奶 在轉換I2Cf料傳輸格式的訊息成腦資料傳輸格式的 。夺係對I2C直接資料格式的訊息增添部份 輸時的必要訊息(例如:高位元長度(Length_H)、低 位元長度(Length_L)、頁次編碼(Page-Code)等相關 訊息),以成為SCSI資料傳輸格式的訊息。 是故,當箱體服務主端31將該等操作環境參數傳送 至核心處職鮮元321時,係先將該等操作環境參數 透過I2C貧料傳輸方式傳輸至傳輸資料轉換單元π],俾 供透過傳輸資料轉換單元322將該等I2C資料格式之操 作環境參數訊息轉換成SC_能傳輸之資料傳輸格式 的操作環i兄芩數訊息,繼而傳輸資料轉換單元再將 該等SCSI資料傳輸格式之操作環境參數訊息傳送至核 〜處理控制單兀321進行處理,之後再透過一顯示單元 36來將箱體内之各種週邊及輔助之參考參數的狀態顯 14 1263137 i :味Wl’· 5 .丨心正尊換頁丨 y出來以了解系統之狀態;或著透過核心處理控制單 凡321處理後,將該㈣作環境參數訊息料至各個需 要的應用程式或相關之處理,以確保整體“之穩定。 上述之I2C協定係為菲利浦(phiHps)公司所開發之技 術,其係為透過2條線來傳輪資料之技術,其中一條線 為控制時脈’其中另—條線為傳輸寫入/讀取資料,由於 沉只需用到2個接腳的連接埠,因此對於箱體服務主端 31與箱體服務從端32而言,其電路佈局將較為簡單,且 其成本也將較為低廉(相對於SCSI而言)。 f外,傳輸資料轉換單元322在實做上可以韌體 化疋故,本發明之箱體服務主端31與箱體服務從端% 之連接方式及其#料傳輸方式係與習知技術不同,且不 會如同習知技術,係因SCSI裝置(例如:咖硬碟)損 壞而影響到與箱體服務主端31之連繫。另外,當核心處 理控制單元321與傳輸資㈣換 ^玄在核心處理控制單元321與傳輸資料轉換單元您 之間亦不需要SCSI連接埠 將減少生產成本。 ㈣連接線’此一設計亦 322可上、述土之核心處理控制單元321及傳輪資料轉換單元 列押制 體或1體實現’而當以拿刃體實作於一磁碟陣 央處工理叫未、利用磁碟陣列控制器上的中 以與也行。該中央處理單元主要是用 k磁碟陣列的硬體控制服務,如儲存資料之存取控 1263137 制等,但於本發明中,亦可用來處理箱體服務從端32所 需進行之程序,包括核心處理控制單元321及傳輸資料 轉換單元322兩者之相關程序。 在本發明中,磁碟陣列控制器係可廣義地具有各種 不同等級的磁碟陣列控制器(RAID Controller)或是JOB 控制器(JBOD Emulation Controller)之功能,其功能端視 所使用的硬體、韌體與軟體之變化以及其設定之不同而 異。在此所謂的各種不同等級的磁碟陣列技術,係廣義 地包括 N-RAID (Non-RAID,Disk Spanning,磁碟擴展), RAID 0(Disk Stripping,磁碟分割),RAID 1 〜6 等等,及 其延伸與組合。所謂的JBOD(Just-a-Bunch-Of-Disks)技 術,係指將一組磁碟機運用控制技術而以單一邏輯磁碟 機的態樣呈現於主機端。 由以上之說明可知,本發明係將傳輸資料轉換單元 作為一簡易之SCSI箱體服務(SES)模擬裝置,並且利 用它來提供轉換層之功效,亦即透過傳輸資料轉換單元 來將核心處理控制單元傳輸之SCSI資料傳輸格式的訊 息轉換為I2C資料傳輸格式的訊息,並將箱體服務主端 傳輸之I2C資料傳輸格式的訊息轉換為SCSI資料傳輸格 式的訊息,俾能降低生產成本,且降低電路佈局之難 度,並提高箱體服務主從端之穩定度。 16 1263137Data Conversion Unit 322, I2C port 323 and SCSI port, port 324' box service master (ESS) 31 have I2C port 311. 1 In the present invention, the box service main end 31 is connected to a plurality of sensors (not shown) to collect various operating environment parameters provided by the sensors, and the box service main end 31 is These operating environment parameters are provided to the box service slave 32. The box service slave end 32 is used to process the operating environment mics to display the operating environment parameters or to use the operating environment parameters as reference information for other related applications for other functional processing. . In this embodiment, the box service slave 32 can be located in a suitable location on the disk array (Raid) controller or in the housing of the storage subsystem. The above-mentioned box service is connected from the end 322I2C connecting port 323 to the I2C port of the box service main terminal 3 through an I2C connecting line 35. The box service is connected from the terminal 32 to the 8 (: 81 drives 341, 342, 343 through the SCSI port 324 and the SCSI bus _ 33. The above-mentioned box service main terminal 31 is a box service. The sensors, which are respectively disposed in the housing (not shown), are located in the housing to be monitored, wherein the housing can be used to accommodate the SCSI drives 341, 342, 343, The main service port 31 of the box and the service end of the box are provided. Of course, the components housed in the box can also be added, deleted or placed according to different requirements. The various operating environment parameters of the above-mentioned device can be According to the design of the system, the environmental parameters can be: the state of the power supply, the fan speed and the normal operation of the fan, the temperature of the 1263137 in the cabinet, the state of the externally connected uninterruptible power supply system (ups), Various environmental parameters such as the operating voltage state, the operating current state of the system, and the battery state of the data backup. Therefore, when the main body of the cabinet service obtains the operating environment parameters through the sensors, it will Operational % 芩 进行 preliminary The action is to transmit the operating environment parameters to the transport data conversion unit 322 of the box service slave 32 through the I2C protocol, the i2c port 311, 323 and the I2C transmission line. # The core processing control unit 321 is used in addition to In addition to the procedures required for processing the cabinet service from the terminal 32, it can also provide hardware control services in other cabinets. In this embodiment, the core processing control unit 321 can be implemented by at least one firmware program. The conversion unit 322 is a simple SCS] SCSI Enclosure Service (SES) emulation device that occupies a SCSI identification number and can handle several simple instructions, such as: test equipment ready (TestunitReady), query (Inquery), diagnostic data transmission (SendData) and diagnostic data receiving (ReceiveData), etc. The main function of the transmission data conversion unit 322 is to convert the data format that can be transmitted by scsi and the data format that can be transmitted by I2C, that is, transmission. The data conversion unit 322 communicates with the core processing control unit 321 through the SCSI transmission interface, and transmits the data conversion unit 322 through The I2C transmission interface communicates with the box service host 31. Therefore, the operation of the transmission data conversion unit 322 is to convert the information of the I2C data transmission format transmitted by the box service main terminal 31 into the transmission of sesi 13 1263137. The message of the shell material transmission format, and can automatically convert the message of the SCSI data transmission format transmitted by the core processing control unit into the data transmission format message of the transmission, in order to be in the box service main end 31 and the core processing control The unit 321 achieves the bidirectional conversion transmission data conversion. In this embodiment, the data transfer unit is transferred, and the message in the scsi* material transfer format is the i2c data transfer format. The part I] is directly extracted from the message in the SCSI data format. ^ The necessary information (such as address, data, etc.) at the time of transmission to become the message of the I2C poor material transmission format; similarly, the transmission data conversion unit milk converts the information in the I2Cf material transmission format into the brain data transmission format. The message is added to the I2C direct data format to add some necessary information (such as: high bit length (Length_H), low bit length (Length_L), page-code (Page-Code) and other related information) to become SCSI The message in the data transfer format. Therefore, when the box service main terminal 31 transmits the operating environment parameters to the core service unit 321 , the operating environment parameters are first transmitted to the transmission data conversion unit π] through the I2C lean material transmission mode. The operating environment parameter information of the I2C data format is converted into the operating channel information of the SC_transmittable data transmission format by the transmission data conversion unit 322, and then the data conversion unit is transmitted and then the SCSI data transmission format is transmitted. The operating environment parameter message is transmitted to the core-processing control unit 321 for processing, and then through a display unit 36 to display the status of various peripheral and auxiliary reference parameters in the box 14 1263137 i: taste Wl'·5.丨 正 正 换 换 换 以 以 以 以 以 y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y The above-mentioned I2C protocol is a technology developed by phiHps, which is a technology for transmitting data through two lines, one of which is controlled. The clock is 'the other line is the transmission write/read data. Since the sink only needs to use the connection port of 2 pins, for the box service main terminal 31 and the box service slave end 32, The circuit layout will be relatively simple, and its cost will be relatively low (relative to SCSI). In addition, the transmission data conversion unit 322 can be hardened in practice, and the box service main terminal 31 of the present invention. The connection mode with the box service from the end % and its material transmission method are different from the conventional technology, and are not affected by the SCSI device (for example, coffee hard disk) and the cabinet service. In addition, when the core processing control unit 321 and the transmission resource (4) switch between the core processing control unit 321 and the transmission data conversion unit, there is no need for a SCSI connection, which will reduce the production cost. 'This design is also 322, the core processing control unit 321 and the transfer data conversion unit are connected to the body or the body to achieve 'and when the blade body is implemented in a disk array No, use the middle of the disk array controller And the central processing unit is mainly a hardware control service using a k-disk array, such as a storage data access control 1263137 system, etc., but in the present invention, it can also be used to process the box service from the end 32 The program is executed, including the core processing control unit 321 and the transmission data conversion unit 322. In the present invention, the disk array controller can broadly have various levels of disk array controllers (RAID Controllers). Or the function of the JOB controller (JBOD Emulation Controller), the function of which depends on the hardware, firmware and software used and its settings. The so-called various levels of disk array technology, It broadly includes N-RAID (Non-RAID, Disk Spanning), RAID 0 (Disk Stripping), RAID 1 to 6, and so on, and their extensions and combinations. The so-called JBOD (Just-a-Bunch-Of-Disks) technology refers to a set of disk drives using control technology and presented on the host side in the form of a single logical disk drive. As can be seen from the above description, the present invention uses the transmission data conversion unit as a simple SCSI box service (SES) simulation device, and uses it to provide the function of the conversion layer, that is, the core processing control through the transmission data conversion unit. The message transmitted by the SCSI data transmission format of the unit is converted into the information of the I2C data transmission format, and the information of the I2C data transmission format transmitted by the main service of the box service is converted into the information of the SCSI data transmission format, thereby reducing the production cost and reducing The difficulty of circuit layout, and improve the stability of the main and secondary terminals of the cabinet service. 16 1263137
上述實施例僅係為了方便說明而舉例而已,本發明 所主張之權利範圍自應以申請專利範圍所述為準,而非 僅限於上述實施例。 【圖式簡單說明】 第1圖顯示習知儲存系統中箱體服務主從端連接於SCSI 匯流排之示意圖。 # 第2圖顯示習知儲存系統中箱體服務主從端連接於SCSI 匯流排之另一示意圖。 第3圖顯示本發明之系統架構圖。 【主要元件符號說明】 箱體服務主端 11,21,31 箱體服務從端 12,22,32 SCSI匯流排 13,23,33 SCSI磁碟機 141,142,143,241,242,243,244,341,342,343 核心處理控制單元 321 傳輸資料轉換單元322 I2C連接埠 323?3Π SCSI連接埠 324 I2C連接線 35 顯示單元 36 17The above-described embodiments are merely examples for the convenience of the description, and the scope of the claims is intended to be based on the scope of the claims, and not limited to the above embodiments. [Simple Description of the Drawings] Figure 1 shows a schematic diagram of the connection between the master and slave of the cabinet service in the conventional storage system to the SCSI bus. # 图图图。 Another schematic diagram showing the connection between the master and slave of the cabinet service in the conventional storage system to the SCSI bus. Figure 3 shows a system architecture diagram of the present invention. [Main component symbol description] Mainframe service terminal 11, 21, 31 Cabinet service slave terminal 12, 22, 32 SCSI busbar 13, 23, 33 SCSI disk drive 141, 142, 143, 241, 242, 243, 244, 341, 342, 343 core processing control Unit 321 transmission data conversion unit 322 I2C connection 埠 323 Π Π SCSI connection 324 I2C connection line 35 Display unit 36 17
Claims (1)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US52117004A | 2004-03-03 | 2004-03-03 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200530825A TW200530825A (en) | 2005-09-16 |
| TWI263137B true TWI263137B (en) | 2006-10-01 |
Family
ID=37966270
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW94102158A TWI263137B (en) | 2004-03-03 | 2005-01-25 | Enclosure service client-server system using I2C interface, RAID controller having the functionality of the enclosure service client, and related data transmission method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI263137B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI694376B (en) * | 2019-04-10 | 2020-05-21 | 敦宏科技股份有限公司 | Light sensor device controlled with dual-mode master-and-slave mcu application |
-
2005
- 2005-01-25 TW TW94102158A patent/TWI263137B/en not_active IP Right Cessation
Also Published As
| Publication number | Publication date |
|---|---|
| TW200530825A (en) | 2005-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI338222B (en) | Method and system for allowing a media player to transfer digital audio to an accessory | |
| TWI512484B (en) | Data structures for facilitating communication between a host device and an accessory | |
| CN102035862B (en) | Configuration node fault transfer method and system in SVC cluster | |
| CN101651559B (en) | Failover method of storage service in double controller storage system | |
| US6363449B1 (en) | Method and apparatus for providing interchassis communication and management | |
| US20170220506A1 (en) | Modular Software Defined Storage Technology | |
| US20160188216A1 (en) | Hard Disk and Management Method | |
| TW201245968A (en) | Method and system for USB device virtualization | |
| CN104615572B (en) | Hot plug processing system and method | |
| CN101470589A (en) | Multicomputer switching system | |
| CN117873924A (en) | A computing device, a management controller and a data processing method | |
| TWI818385B (en) | Storage device | |
| TWI263137B (en) | Enclosure service client-server system using I2C interface, RAID controller having the functionality of the enclosure service client, and related data transmission method | |
| TWI566547B (en) | Apparatus, method and non-transitory computer-readable medium for out-of-band network port status detection | |
| CN113535471B (en) | Cluster Server | |
| TW201211779A (en) | Non-invasive direct-mapping USB switching device | |
| US20100082819A1 (en) | Network bridging apparatus for storage device and data stream transmitting method thereof | |
| TW201423409A (en) | Management device for managing multiple control cards and management system and control card using the management device | |
| CN118885222A (en) | Multimedia card mounting method, device, storage medium, and electronic device | |
| CN103858105B (en) | connection method | |
| CN118550797A (en) | Method, system and device for realizing hard disk hot plug and light-up functions based on BMC | |
| TW201118577A (en) | Keyboard-video-mouse switch and adapter thereof | |
| CN116418845A (en) | storage device | |
| CN100550771C (en) | Method and system for realizing remote loading of single board firmware | |
| CN115599721A (en) | Port switching method, system, computing device and chip |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MK4A | Expiration of patent term of an invention patent |