201001158 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一種通用偵錯輔助裝置,特別是有關於一種 通用的SAS介面偵錯輔助裝置。 【先前技術】 串列式小型計算機系統介面(Serial Attached SCSI,SAS )是一 種可向速傳輸並支援雙埠的硬碟介面技術,係相容於s aS/saTA(串 列ΑΤΑ)介面並可透過擴展器(Expander)以擴充連接功能,故不僅可 應用於伺服器中,亦可適用於各種儲存裝置如磁碟陣列(RAID)。 目則隨著SAS協定版本不斷的升級和傳輸速度的提高,對偵錯 (Debug)手段的要求也越來越高,但是市面上缺乏一種有效而簡單 的辅助設備來幫助SAS介面進行通訊定位、解決電子産品開發及 操作中可能遇到的訊號錯誤問題。 在目前SAS介面的産品開發和後期運作的維護過程中,習知 偵錯方法是利用多條線纜將SAS協定分析儀(SAS Protocol Analyzer)如SAS追蹤器(SAS TRACER)直接連接在起始設備 (Initiator)與目標設備(Target)之間,並進行數據封包的捕捉、 協定的解碼、統計分析等偵錯功能。然而,此種以單純線纜連接 之習知偵錯方法具有如下缺點: 一、目標設備必須暴露在連接線纜可插拔的地方。當目標設 備之連接介面是處於機箱中較深的内部或處於較高處的機架上 時,操作者於狹窄的機箱空間内或於較高機架上插拔線纜極為不 方便,且線纔之連接穩固度較差,易出現線纜鬆動等問題;另’ 連接線纜的長度愈長會使訊號衰減愈多; 5 201001158 二、 每次變動整個系統的連接拓撲(Topology),都需要插拔線 纜或者搬動儀器,可能會造成不必要的損壞; 三、 在一些設計中’ SAS介面會需要承載一些外頻訊號 (Out-of-Band Signaling),譬如對硬碟錯誤燈訊號之控制訊號。如 果使用藉由線纜連接之習知偵錯方法,該等外頻訊號在通過協定 分析儀後將會丟失,破壞了系統功能之完整性。201001158 IX. Description of the Invention: [Technical Field] The present invention relates to a general-purpose debugging assistance device, and more particularly to a general-purpose SAS interface debugging assistance device. [Prior Art] Serial Attached SCSI (SAS) is a hard disk interface technology that can transmit and support dual-speed and is compatible with the s a/saTA (serial port) interface. Expanding the connection function through the expander (Expander), it can be applied not only to the server, but also to various storage devices such as a disk array (RAID). With the continuous upgrade of the SAS protocol version and the increase of the transmission speed, the requirements for debugging (Debug) are getting higher and higher, but there is no effective and simple auxiliary device on the market to help the SAS interface to communicate. Solve the problem of signal errors that may be encountered in the development and operation of electronic products. In the current SAS interface product development and post-operation maintenance process, the traditional debugging method is to connect the SAS Protocol Analyzer (SAS Protocol Analyzer) such as SAS Tracker (SAS TRACER) directly to the starting device by using multiple cables. (Initiator) and the target device (Target), and perform data packet capture, protocol decoding, statistical analysis and other debugging functions. However, such a conventional debugging method using a simple cable connection has the following disadvantages: 1. The target device must be exposed to a place where the connection cable can be plugged and unplugged. When the connection interface of the target device is in the deep inner part of the chassis or the rack in the upper part, it is extremely inconvenient for the operator to plug and unplug the cable in the narrow chassis space or on the upper frame, and the line is very inconvenient. The connection stability is poor, and the cable is prone to problems such as looseness of the cable; the longer the length of the connection cable is, the more the signal is attenuated; 5 201001158 2. Each time the topology of the entire system is changed, the topology needs to be inserted. Pulling cables or moving the instrument may cause unnecessary damage. 3. In some designs, the SAS interface will need to carry some Out-of-Band Signaling, such as control of the hard disk error light signal. Signal. If a conventional debugging method using cable connections is used, these FSB signals will be lost after passing the protocol analyzer, which will destroy the integrity of the system function.
鑒於以上缺點’尤其是於當前要求訊號傳輸速率達3G和6G 之情形下’藉由線纜連接之習知偵錯方法難以保證訊號傳輸之可 靠性。 故有必要提供一種新穎的偵錯輔助設備,以克服藉由線纜 連接之習知彳貞錯方法的缺點。 【發明内容】 本發明夕—+ 主要目的在於提供一種通用偵錯輔助裝置,其可 達成多種連接需求。 本發明之另— 避免丟失外頻訊號 本發明之又一 減少線纜之使用、 拔容易。In view of the above drawbacks, especially in the case where the current signal transmission rate is required to be 3G and 6G, the conventional debugging method by cable connection is difficult to ensure the reliability of signal transmission. It is therefore necessary to provide a novel debug aid to overcome the shortcomings of the conventional method of connecting by cable. SUMMARY OF THE INVENTION The present invention is to provide a universal debugging assistance device that can achieve various connection requirements. Another aspect of the present invention is to avoid loss of external frequency signals. Another aspect of the present invention is to reduce the use and ease of cable extraction.
t V 目的在於提供一種通用偵錯輔助裝置,其可以 ’進而保持系統功能之完整性。 目的在於提供一種通用偵錯輔助裝置,其可以 增加訊號連接之穩定性’且方便現場操作及插 本發明的其他目 得到進一步的瞭解。 為達上述發明目 助裝置’冑用於至少 包含有: 的和優點可以從本發明所揭露的技術特徵中 的’本發明之一實施例提供一種通用價錯輔 一起始設備或/及至少一目標設備的偵錯,其 6 201001158 、 至少一第一擴展器及—第二擴展器; 複數個對外介面,包括至少—對外介面電性連接於該第一擴 展器與该至少-起始設備之間,以及至少另一對外介面電性連接 於該第二擴展器與該至少—目標設備之間;以及 至少一控制介面,用以連接外部控制設備,外部控制設備俾 可通過該控制介面依需要選擇性決定開啟或_該兩擴展器間之 連接狀態’以及開啟或關閉該兩擴展器與該複數個對外介面以及 該至少-控制介面間之連接狀態,以產生不同的連接關係。 ' 該通用偵錯辅助裴置更包括一外殼,用以收容上述至少一第 -擴展器及第二擴展器、複數個對外介面、至少一控制介面以及 該第一目標設備於其内。 相較於習知技術,本發明之通用彳貞錯輔助裝置係採用雙擴展 器結構來達成各設備間之可程式連接拓撲,並通過控制設備來靈 活配置連接拓撲,因此可用於多種連接需求,也避免了爲不同應 用設計不同的_辅助裝置,且可達成外頻訊號傳輸和重建等功 能,避免外頻訊號的丟失,進而保持系統功能之完整性。本發明 r 通㈣錯輔Μ置藉由外殼較硬碟以及背板間之連接,減少了 線镜之使用、增加了連㈣固性’且方便現場操作、插拔容易。 為讓本發明之上述内容能更明顯易懂’下文特舉—較佳實施 例’並配合所附圖式’作詳細說明如下: 【實施方式】 請參照第1 ,為-種依據本發明之較佳實施例之通用債錯 輔助裝置i,其主要包括:-卡板(未圖示)、第—SAS擴展器 (Ε—〇131、第二SAS擴展器132係與第一 MS擴展器i3i 7 201001158 彼此連接’複數個對外介面以及控制介面27。該複數個對外介面 .包括第-介面2卜第二介面22、第三介面23、第四介面%、第 五介面25以及第六介面26。 。於本實施例中,該卡板用以承載第—擴展器131及第二擴展 器132、該複數個對外介面以及該控制介面27。該卡板上設置有 導電線路(未圖示),用以電性連接第—擴展器ΐ3ΐ及第二擴展器 132、該複數個對外介面以及該控制介面27。當然,第一擴展器 131及第二擴展器132、該複數個對外介面以及該控制介面π之 間之電性連接也可藉由導線達成。第一介面21是具有29端子sas 插座連接器用以連接目標設備。第二介面22是具有29端子sas 插頭連接器用以連接起始設備。前述第三介面23、第四介面%、 第五"面25及第六介面26的每一介面皆包括四個符合行業標準 的MiniSAS連接器,其中第三介面23帛以連接起始設備,第四介 面24用以連接目標設備’以及第五介面25與第六介面%用以連 接SAS測試設備,像是SAS協定分析儀(Analyzer)或SAS資訊 產生器(Generator)或SAS資訊干擾發射器(Jammer)等。第一 介面21、第二介面23及第五介面25分別與第二S AS擴展器132 作訊號連接,而第二介面22、第四介面24、第六介面20分別與 第一 SAS擴展器131作訊號連接。 第一 SAS擴展器131具有兩個通用輸入輸出介面 (general-purpose I/O port ’ GPI〇),其中一通用輸入輸出介面連接 第一介面21 ’另一通用輸入輸出介面則連接第二介面22,如此第 一介面21和第二介面22所連接的設備之間可傳輸控製信號。第 一 SAS擴展器131用以抓取和傳輸驅動控制訊號或經由外頻訊號 通道172, 174傳輸外頻控制訊號等(容後詳述)。 8 201001158 於本實施例中,該控制介面27是一 RS232型連接器,其中一 端用以與外部的控制設備271 (如個人電腦或者外部控制模組)連 接以提供用戶偵錯介面,而控制介面27之另一端經由—切換開關 元件270與第一 SAS擴展器(Expander)131以及第二sas擴展 132連接。藉此’控制没備271可根據需要經由該切換開關元件 270切換連接第一 SAS擴展器131或第二SAS擴展器132,以擇 一利用第一 SAS擴展器或第二SAS擴展器之控制器,可程式控制 通用偵錯輔助裝置1内部電路之連接狀態與對外介面間之連接狀 態’包括實現鏈路的切換、靈活配置資料的連接拓撲等(容後詳 述)。請注意的是,上述擴展器之類型、所採用之協定及個數、各 對外介面以及控制介面之類型僅是本發明通用偵錯辅助裝置1所 舉之範例’但不因此限制本發明之專利範圍;實質上,本發明通 用偵錯輔助裝置1可根據實際需求,採用其他協定或各類擴展器 (例如用作光纖設備偵錯時應改用光纖擴展器)與各類型的對外 介面以及控制介面,且可增加對外介面、控制介面以及擴展器之 數量。 於其他實施例中’控制設備271還可為一簡易型開關切換裝 置(未圖示)’不必採用經由該控制介面27連接之方式,而直接設 置於通用偵錯輔助裝置丨内之卡板上並直接連接第一 SAS擴展器 131和/或第二SAS擴展器132,用以控制通用偵錯輔助裝置1内 部電路之連接狀態與對外介面間之連接狀態。通用偵錯輔助裝置1 亦可同時具有上述兩種控制設備,即同時具有經由該控制介面27 連接之控制設備271以及設置於通用偵錯輔助裝置1外部(如卡 板表面)并直接連接第—SAS擴展器131和/或第二SAS擴展器 132之控制設備’該兩种控制設備可以實現相同的功能,操作者可 9 201001158 以根據實際情況選擇使用何種控制設備,例如,當通用福錯輔助 裝置1處於較高處的機架上時,可以使用經由該控制介面27連接 之控制設備27〇’而當通用偵錯輔助裝置1處於操作者能夠觸及之 位置時,則使用設置於通用偵錯輔助裝置1外部之控制設備更爲 便利。當然’該兩种控制設備也可分別控制不同的連接狀態以實 現不同的功能。 请參照第2圖以及第3A圖,係說明依據本發明通用债錯輔助 裝置1之一應用實例,即通用偵錯輔助裝置丨可為一種卡板型式 以方便插入一般儲存設備如磁碟陣列(RAID)設備内以執行連線偵 錯’即診斷該儲存設備内部硬碟介面之訊號有無異常。在通用债 錯輔助裝置1插人儲存設備之前,—般儲存設備即包括—中間背 板(Midplane) 33、複數個SAS/SATA硬碟31以及機箱乃,且嗦 等SAS/SATA硬碟31平行堆疊排列且分別經由連接元件(如= 端子SAS連接器)與背板33電性連接(未顯示),且背板3 碟31設置於機箱35内。 峡 為了進行偵錯,例如當主機透過背板Μ無法識別或者不 確識別其巾某1硬碟31,即可先將該硬碟31自鋪%内拔此 再將本發明之通用舰輔助裝置i插人儲存設備内,使該硬| 之相應介面與通用偵錯輔助裝置1之第-介面21對接以當作第— 目標設備’而背板33之相應介面與第二介面22對接以 起始設備’第五介面25、第六介面%分別柄接至一 sas測試: 備4(如協定分析儀/資訊干擾發射器)之輸入端以及輪出端叹 控制介面27則耦接至該控制設備271。 要進行除錯操作時,操作者從其外部之控制設備經由 面織第- SAS擴展器131與第二Μ擴展器132間之四個 201001158 内頻訊號通道152之連接,迫使背板33輸入至第一 SAS擴展器 131之資訊流轉向如第2圖所示,資訊流經由第二介面22、訊號 通道154及第六介面26被導向於背板33與SAS測試裝置4之輸 入端及輸出端之間’及/或迫使硬碟31輸入至第二SAS擴展器132 之資訊流轉向如第2圖所示,資訊流經由第一介面21、訊號通道 156及第五介面25被導向於硬碟31與SAS測試裝置4之輸入端 及輸出端之間。藉由以上資訊流的轉向,可供SAS測試設備4對 該儲存設備做出内部訊號的診斷。反之,操作者亦可經由控制設 備271關閉第一SAS擴展器131與第二SAS擴展器132對SAS 測試設備4之訊號通道,並重新開啟第一 sas擴展器131與第二 SAS擴展器132間的四個内頻訊號通道152之連接,達成硬盤與 背板間之直通連接,以改變外頻訊號(容後詳述)。故本發明能達 成可程式連接拓撲的功能,同時能減少線纜之使用、增加訊號連 接之穩定性,且方便現場操作。於本應用實例中,因為通用偵錯 辅助裝置1是處於機箱35的環境,故可由背板33直接提供電源, 亦即利用背板3 3上之2 9端子S A S連接器之電源端子經由第二介 面2之對應的電源端子向本發明通用偵錯輔助裝置丨提供電源。 於本應用實例中,如若第二介面22或第-介面21上承載有 號如例如背板發出之對硬碟錯誤燈號的控制訊號以及 1盘通电或断电的控制《、硬碟發出之硬盘插入訊號等,第 二介面22上之外頻訊號經由第一外頻訊號通道ο] i SAS擴展器131。在第一 SAS 铷入至第一 行還原後極A 、 ° 化些外頻訊號並進 ,、 由第二外頻訊號通道174傳輸資料給硬碟 ^ 頻魏傳輸功能。第_介面21上之外頻訊號之傳輪方向與 面22上之外頻訊號之方向相反。如是,這些外頻訊號經由本^ 11 201001158 通用偵錯輔助裝置1直接傳輸至硬碟31,而不必通過SAS測試裝 置4,從而可以避免如習知技術有外頻訊號丟失的問題,故本發明 在進行除錯程序的同時亦能保有系統功能之完整性。另,根據操 作者之需要’經由控制設備271之控制,第一 SAS擴展器131可 以覆蓋背板或硬盤發出之外頻訊號,甚或直接虛擬背板或硬盤發 出該等外頻訊號,因此可以實現改變、重建、模擬這些外頻訊號 的功能’因此本發明之通用偵錯輔助裝置1具有較佳的偵錯靈活 性。例如當我們需要對背板進行偵錯時,我們甚至可以不需實際 接入硬碟’而只是由第一 SAS擴展器m發出一虛擬的外頻信號 (如硬碟插入信號),以測試背板是否能夠正常響應,同理在也可 以使用虛擬的背板信號對硬碟31進行偵錯。本發明之通用偵錯輔 助裝置1可以增設更多個對外介面,用於一個目標設備與多個起 始叹備之間的偵錯’也可以用於多個目標設備與一個起始設備之 間的侦錯’還可以用於多個目標設備與多個起始設備之間的偵 錯,原理同上,不贅述。 、根據不同情況’本發明之通用债錯輔助裝置1之外頻訊號通 ^還可於第-SAS擴展器131與其他料介面之間形成,也可於The purpose of t V is to provide a universal debug aid that can ' thereby maintain the integrity of the system functionality. The object is to provide a universal debugging aid that can increase the stability of the signal connection' and facilitates further understanding of the field operations and other aspects of the invention. In order to achieve the above-mentioned invention, the device is provided with at least one and the advantages can be provided from the technical features disclosed in the present invention. A general price error assisted initial device or/and at least one The detection of the target device, 6 201001158, at least a first expander and a second expander; a plurality of external interfaces, including at least - the external interface is electrically connected to the first expander and the at least - start device And at least another external interface is electrically connected between the second expander and the at least one target device; and at least one control interface is configured to connect the external control device, and the external control device can pass the control interface as needed Selectively determines whether to open or close the connection state between the two expanders and to open or close the connection state between the two expanders and the plurality of external interfaces and the at least-control interface to generate different connection relationships. The universal debug assist device further includes a housing for housing the at least one first expander and the second expander, the plurality of external interfaces, the at least one control interface, and the first target device. Compared with the prior art, the universal error assisting device of the present invention adopts a double expander structure to achieve a programmable connection topology between devices, and the connection topology is flexibly configured by the control device, so that it can be used for various connection requirements. It also avoids designing different _ auxiliary devices for different applications, and can achieve functions such as transmission and reconstruction of external frequency signals, avoiding the loss of external frequency signals, and thus maintaining the integrity of the system functions. The r-pass (four) fault-assisted device of the invention reduces the use of the wire mirror, increases the connection (four) solidity by the connection between the hard disk and the back plate of the outer casing, and facilitates on-site operation and easy insertion and removal. The above-mentioned contents of the present invention can be more clearly understood. The following description of the present invention will be described in detail with reference to the accompanying drawings. The universal debt error assisting device i of the preferred embodiment mainly comprises: a card board (not shown), a first SAS expander (Ε-〇 131, a second SAS expander 132 and a first MS expander i3i) 7 201001158 is connected to a plurality of external interfaces and a control interface 27. The plurality of external interfaces, including the first interface 2, the second interface 22, the third interface 23, the fourth interface %, the fifth interface 25, and the sixth interface 26 In this embodiment, the card board is configured to carry the first expander 131 and the second expander 132, the plurality of external interfaces, and the control interface 27. The switch board is provided with a conductive line (not shown). For electrically connecting the first expander ΐ3ΐ and the second expander 132, the plurality of external interfaces, and the control interface 27. Of course, the first expander 131 and the second expander 132, the plurality of external interfaces, and the Electrical connection between control interfaces π It can also be achieved by wires. The first interface 21 has a 29-terminal sas socket connector for connecting the target device. The second interface 22 has a 29-terminal sas plug connector for connecting the starting device. The aforementioned third interface 23, fourth Each interface of the interface %, the fifth "face 25 and the sixth interface 26 includes four industry standard MiniSAS connectors, wherein the third interface 23 is connected to the initiating device, and the fourth interface 24 is used to connect the target. The device 'and the fifth interface 25 and the sixth interface % are used to connect to the SAS test device, such as a SAS protocol analyzer (Analyzer) or a SAS information generator (Generator) or a SAS information interference transmitter (Jammer), etc. The first interface 21, the second interface 23 and the fifth interface 25 are respectively connected to the second S AS expander 132, and the second interface 22, the fourth interface 24, and the sixth interface 20 are respectively connected to the first SAS expander 131. The first SAS expander 131 has two general-purpose I/O port 'GPI〇's, wherein a general-purpose input/output interface is connected to the first interface 21' and another general-purpose input/output interface is connected. The second interface 22 can transmit control signals between the devices connected to the first interface 21 and the second interface 22. The first SAS expander 131 is configured to capture and transmit the drive control signals or transmit via the external frequency signals 172, 174. External frequency control signal, etc. (detailed later). 8 201001158 In this embodiment, the control interface 27 is an RS232 type connector, one end of which is used for external control device 271 (such as a personal computer or an external control module). The connection is to provide a user error detection interface, and the other end of the control interface 27 is connected to the first SAS expander 131 and the second sas extension 132 via the toggle switch element 270. Thereby, the control device 271 can switch between the first SAS expander 131 or the second SAS expander 132 via the switch element 270 as needed to selectively use the controller of the first SAS expander or the second SAS expander. The program can control the connection state between the internal circuit of the general error debugging auxiliary device 1 and the external interface, including the link switching, the connection topology of the flexible configuration data, and the like (described later in detail). It should be noted that the types of the expanders, the protocols and the number of interfaces, the external interfaces, and the types of control interfaces are only examples of the universal debug assist device 1 of the present invention, but do not limit the patent of the present invention. Scope; In essence, the universal debugging auxiliary device 1 of the present invention can adopt other protocols or various types of expanders according to actual needs (for example, when used as a fiber-optic device for debugging, the fiber expander should be used) and various types of external interfaces and control interfaces. And can increase the number of external interfaces, control interfaces, and expanders. In other embodiments, the control device 271 can also be a simple switchover device (not shown) that is not directly connected via the control interface 27, but is directly disposed on the card in the general-purpose debug auxiliary device. The first SAS expander 131 and/or the second SAS expander 132 are directly connected to control the connection state between the internal circuit of the universal debugging auxiliary device 1 and the external interface. The universal debugging aid 1 can also have the above two control devices, that is, the control device 271 connected via the control interface 27 and the outside of the universal debugging aid 1 (such as the surface of the card) and directly connected to the first device. The SAS expander 131 and/or the control device of the second SAS expander 132 'the two control devices can implement the same function, and the operator can 9 201001158 to select which control device to use according to the actual situation, for example, when General Blessing When the auxiliary device 1 is in the upper frame, the control device 27〇 connected via the control interface 27 can be used. When the universal debugging assist device 1 is in a position accessible to the operator, the setting is used in the general detection. The control device external to the wrong auxiliary device 1 is more convenient. Of course, the two control devices can also control different connection states to achieve different functions. Please refer to FIG. 2 and FIG. 3A for explaining an application example of the universal debt assisting device 1 according to the present invention, that is, the universal debugging assisting device can be a card type to facilitate insertion into a general storage device such as a disk array ( In the RAID) device, the connection debugging is performed to diagnose whether the signal of the internal hard disk interface of the storage device is abnormal. Before the universal debt auxiliary device 1 is inserted into the storage device, the general storage device includes a midplane (Midplane) 33, a plurality of SAS/SATA hard disks 31, and a chassis, and the SAS/SATA hard disks 31 are parallel. The stacking is arranged and electrically connected to the backboard 33 via a connecting component (such as a = terminal SAS connector) (not shown), and the backplane 3 disc 31 is disposed in the chassis 35. In order to perform debugging, for example, when the host cannot identify or unidentify a certain hard disk 31 through the backplane, the hard disk 31 can be pulled out from the shop first, and then the universal ship auxiliary device of the present invention is used. i is inserted into the storage device such that the corresponding interface of the hard interface is interfaced with the first interface 21 of the universal debugging aid 1 to serve as the first target device, and the corresponding interface of the backplane 33 is docked with the second interface 22 to The first device's fifth interface 25 and the sixth interface % are respectively connected to a sas test: the input of the standby 4 (such as the protocol analyzer/information interference transmitter) and the wheel-out interface control interface 27 are coupled to the control. Device 271. To perform the debugging operation, the operator forces the backplane 33 to input from the external control device via the connection of the four 201001158 internal frequency signal channels 152 between the woven first SAS expander 131 and the second Μ expander 132. The information flow of the first SAS expander 131 is turned as shown in FIG. 2, and the information flow is directed to the input and output ends of the backplane 33 and the SAS testing device 4 via the second interface 22, the signal channel 154 and the sixth interface 26. The information flow between the 'and/or forced hard disk 31 input to the second SAS expander 132 is turned as shown in FIG. 2, and the information flow is directed to the hard disk via the first interface 21, the signal channel 156, and the fifth interface 25. 31 is between the input and output of the SAS test set 4. With the above information flow steering, the SAS test equipment 4 can make an internal signal diagnosis for the storage device. On the contrary, the operator can also close the signal channel of the first SAS expander 131 and the second SAS expander 132 to the SAS test device 4 via the control device 271, and reopen the connection between the first sas expander 131 and the second SAS expander 132. The connection of the four internal frequency signal channels 152 achieves a direct connection between the hard disk and the backplane to change the external frequency signal (described in detail later). Therefore, the present invention can achieve the function of a programmable connection topology, and can reduce the use of cables, increase the stability of signal connection, and facilitate on-site operation. In this application example, since the universal debugging assisting device 1 is in the environment of the chassis 35, the power can be directly supplied from the backboard 33, that is, the power terminal of the 29-terminal SAS connector on the backplane 3 3 is used. The corresponding power supply terminal of interface 2 provides power to the universal debug assist device of the present invention. In this application example, if the second interface 22 or the interface 21 carries a control signal such as, for example, a hard disk error signal issued by the backplane, and a control for powering on or off the power of one disk, the hard disk is issued. The hard disk is inserted into the signal, and the external frequency signal on the second interface 22 is transmitted through the first external frequency signal channel ο] i SAS expander 131. After the first SAS breaks into the first row, the pole A, ° and some of the external frequency signals go in, and the second external frequency signal channel 174 transmits the data to the hard disk transmission function. The direction of the external frequency signal on the first interface 21 is opposite to the direction of the external frequency signal on the surface 22. If yes, these external frequency signals are directly transmitted to the hard disk 31 via the universal debugging aid 1 of the present invention, without having to pass the SAS testing device 4, so that the problem of loss of the external frequency signal as in the prior art can be avoided, so the present invention The integrity of the system function can be preserved while performing the debugging process. In addition, according to the needs of the operator, the first SAS expander 131 can transmit the external frequency signal through the backplane or the hard disk, or even directly send the external frequency signal to the virtual backplane or the hard disk, so that the external SAS expander 131 can realize The function of changing, reconstructing, and simulating these EMF signals is thus 'the general debug aid 1 of the present invention has better debugging flexibility. For example, when we need to debug the backplane, we can even test the backplane without actually accessing the hard disk' and just send a virtual FSB signal (such as a hard disk insertion signal) from the first SAS expander m. Whether it can respond normally, the same can be used to debug the hard disk 31 using the virtual backplane signal. The universal debugging auxiliary device 1 of the present invention can add more external interfaces for detecting between a target device and multiple initial screams. It can also be used between multiple target devices and one starting device. The debugging can also be used for debugging between multiple target devices and multiple starting devices. The principle is the same as above, and will not be described. According to different situations, the universal error compensation device 1 of the present invention can also be formed between the first-SAS expander 131 and other material interfaces, or
一 SAS擴展器132與其他對外介面之間形成,例如,第二SAS 擴展器139 古—够 ^ 八有—第—通用輸入輸出介面用於連接第三介面23, ^第L用輸入輪出介面用於連接第四介面24,從而形成外 '訊號通道以達成傳輸、改變、重建外頻控制訊號之功能理 同上,不贅述。 ’、 1照第3A圖所示,本發明通用偵錯輔助褒置丨還包括一可 :卜成1〇,用以可拆卸地收容並固定承載有擴展器丨31、132、 、介面以及控制介面27之卡板和硬碟31於其内,從而可將承 12 201001158 載有擴展H 13卜132、對外介面以及控制介面27之卡板和硬碟 31組合固定后在插讀存設備之_ 35内。·卜殼⑺之長度略 大於或等於承财祕H m、132、料介面錢㈣介面=之 卡板與硬碟31連接後之總長度。#裝設有承載有擴展器⑶、出、 對外介面以及控制介面27之卡板和硬碟31之外殼!〇插入機箱35 内後’該外般U)之-部份處於機箱心,而另—部份則暴露於 機箱35外。對應於通㈣錯伽裝置丨之各料介面以及控制介 面27 ’该外殼1〇上設置有複數個開σ (未標號),且設置於該外 =10之暴露於機箱35外之另—部份。如是,當通⑴貞錯輔助裝 和硬碟31組仏該外殼1G内並插人機箱35内時,通用偵錯 2助裝置1之各對外介㈣及控制介面27可分雌過該等開口暴 露於外殼H)以及機箱35外,以利與其他設備連接。 ’、 於本實施例中,該外殼10之高度係對應2.5英寸硬碟設計’ 磁r列中使用本發明通_輔助裝置卜 不’ §本發明朝聽伽裝置1需要插入3.5 2之健存設備内部,用以連接其f板33,和35英寸硬碟Μ,時, ==載有擴展器⑶、132、對外介面以及控制介面π之卡板 人&、、·5央寸之外殼1G内’再將承載有擴展器m、132、對外 ,乂及控制;|面27之卡板連同外殼1()—同放置於—3 $英寸之 機==英寸硬碟連接’最後插入3.5英寸之儲存設備之 ^目W與背板33’連接,實現連_錯。該祕u之長度略大 助^ Z於外4 1G與硬碟31 ’連接後之總長度。㈣於通㈣錯辅 個門1之對外及控制介面27,該外殼n上也設置有複數 M 、(未h幻虽通用偵錯輔助裳置1和硬碟31,組裝於該外 吸10以及外殼11内時,通用偵錯輔助裝置1之各對外介面以及控 13 201001158 制介面27可分概過料設置於較1G、U上之開口暴露於外殼 10、11以及機箱35外,以利與其他設備連接。於其他實施例中, 該外殼1〇之高度係對應3·5英寸硬碟設計,因此能夠直接在Μ 英寸磁碟陣列中使用本發明通用偵錯輔助裝置1,而不需要再使用 外殼11。 如是,本發明通用偵錯輔助裳置!可藉由外殼1〇, n、固定硬 碟31,31,及背板33,33’組合成如一般硬碟盒_樣,以方便插入各 類儲存設備之機箱35, 35,内,同時將各對外介面以及控制介面27 曝露於機箱35, 35’外部以方便線餘拔,故能大幅減少親的使 用、增加了連接穩固性,且方便現場操作及插拔容易。 本發明通用偵錯輔助裝置丨可用於多種連接需求,連接不同 之起始設備以及目標設備,也避免了爲不同應用設計不同的偵錯 輔助裝置。下面通過第4圖以及第5圖分別舉例説明本發明通用 偵錯輔助裝置1之其他應用實例。A SAS expander 132 is formed between the external interface and the other external interface. For example, the second SAS expander 139 is capable of connecting the third interface 23 with the input/output interface. The function for connecting the fourth interface 24 to form an external 'signal channel to achieve transmission, change, and reconstruction of the FSB control signal is the same, and will not be described again. As shown in FIG. 3A, the universal debugging assisting device of the present invention further includes: a detachable accommodating and fixedly carrying expander 丨31, 132, interface, and control The card board and the hard disk 31 of the interface 27 are disposed therein, so that the carrier 12 201001158 can be combined with the extension H 13 bu 132, the external interface and the control board 27 and the hard disk 31 are fixed in the memory device. Within 35. The length of the shell (7) is slightly greater than or equal to the total length of the financial interface H m, 132, material interface (four) interface = the connection between the card and the hard disk 31. #Installing a casing carrying the expander (3), the output, the external interface, and the control board 27 and the hard disk 31! After being inserted into the chassis 35, the portion of the outer casing U is partially in the center of the casing, and the other portion is exposed outside the casing 35. Corresponding to the interface of the (four) erroneous gamma device and the control interface 27', the outer casing 1 is provided with a plurality of open σ (not labeled), and is disposed at the outer portion 10 and exposed to the outside of the chassis 35 Share. If the (1) error assisting device and the hard disk 31 group are inserted into the casing 1G and inserted into the casing 35, the external medium (4) and the control interface 27 of the universal debugging 2 assisting device 1 can be divided into the openings. It is exposed to the outer casing H) and the outer casing 35 to facilitate connection with other equipment. In the present embodiment, the height of the outer casing 10 corresponds to a 2.5-inch hard disk design. The use of the present invention in the magnetic r-column _ auxiliary device does not § the invention requires the insertion of 3.5 2 of the gamma device 1 Inside the device, to connect its f-board 33, and 35-inch hard disk, when == the outer casing and the outer interface and the control interface π card board & In 1G, 'will be carried with expanders m, 132, external, 乂 and control; | face 27 card with shell 1 () - placed in -3 $ inch machine == inch hard disk connection 'last inserted 3.5 The storage device of the inch is connected to the backplane 33' to realize the connection. The length of the secret u is slightly larger. The total length of the Z 1 is connected to the hard disk 31 ’. (4) Yu Tong (4) erroneously assists the external door 1 and the control interface 27, and the casing n is also provided with a plurality of M, (not illusion, although the general-purpose debugging auxiliary skirt 1 and the hard disk 31 are assembled in the outer suction 10 and When the outer casing 11 is inside, the external interface of the universal debugging auxiliary device 1 and the control layer 13 201001158 interface 27 can be disposed on the outer surface of the outer casing 10, 11 and the outer casing 10, and the outer surface of the control module The device is connected. In other embodiments, the height of the casing 1 corresponds to a 3.5-inch hard disk design, so that the universal debugging aid 1 of the present invention can be directly used in a 英寸-inch disk array without re-use. The outer casing 11. If so, the universal debugging auxiliary skirt of the present invention can be combined by a casing 1〇, n, a fixed hard disk 31, 31, and a back plate 33, 33' as a general hard disk box to facilitate insertion. In the chassis 35, 35 of various storage devices, the external interface and the control interface 27 are exposed to the outside of the chassis 35, 35' to facilitate the removal of the line, thereby greatly reducing the use of the pro, and increasing the connection stability, and It is convenient for on-site operation and easy to insert and pull. The auxiliary device can be used for various connection requirements, connecting different starting devices and target devices, and avoiding designing different debugging auxiliary devices for different applications. The general debugging of the present invention is illustrated by the fourth and fifth figures, respectively. Other application examples of the auxiliary device 1.
請參照第4圖,係顯示本發明之通用偵錯輔助裝置丨用於主 機5(如同一第·一起始ax備)和儲存設備3(如同一第二目標設備) 間之連接债錯’其中該通用偵錯輔助裝置1之第三介面23經由訊 號通道158與主機5之相應介面(如SAS主機匯流排介面卡(hba) 或主機5之主板上的SAS ”面)對接’第四介面24經由訊號通道 159與儲存設備3之相應介面(如jBOD或RAm enci〇sure upstream link)對接,第五介面25及第六介面26分別麵接至SAS 測試設備4之輸入端以及輸出端麵接外部控制設備271。 要進行除錯操作時’操作者從控制設備271改變第三介面23 與第四介面24之間的資料流,即關閉第一擴展器131及第二擴展 器132間之4個訊號通道152的連接,迫使第三介面23與第四介 201001158 • 面24之資料流分別經由第五介面25及第六介面26之訊號通道158, •丨59導向SAS測試設備4。反之’也可以關閉第五介面25、第六 介面26與SAS測試設備4間之連接通道,打開第一 SAS擴展器 131、第_ SAS擴展器132之間互聯的4個訊號通道152,引導資 料流在第—SAS擴展器131、第二SAS擴展器132之間通過。同 理’本應用實例也可達成第2圖所示應用實例之可程式連接拓撲, 外頻訊號傳輸和重建等功能,故不再贅述。 明參照第5圖’係本發明通㈣錯輔助裝置丨用於儲存設備 Θ之硬碟本身之賴之細實例。t硬碟31與背板33間之線路 良好而僅僅疋硬碟31本身出現問題時,本發明通用债錯輔助裝置 1可連接胃sfL產生器6對硬碟31崎偵錯。本發明通用偵錯輔 助裝置1之第-介面21與硬碟31之相應介面對接,第五介面25 輕接至SAS/SATA資訊產生器6,控制介面27_控制設備心 要進行除錯操作時,操作者從其外部之控制設備2?1關閉第 -及第二擴展器131'132間之4個訊號通道152的連接,而僅使 =訊在SAS/SATA資訊產生器6與硬碟31之間交流,sas/sata % 祕產生器6發出測試訊號’根據硬碟31之響應,判斷並且债錯 硬碟31出現的問題。 曰 本發明之通用偵錯辅助裳置i係可採用雙電源設計,除了第2 圖所不之通用偵錯輔助裝置丨在機箱環境中可經由第二介面”及 背板33由第一起始設備供電外,針對如第4及5圖所示之非機箱 環i兄,本發明之通用偵錯輔助裝置丨更設置有—電源插座(未圖 不)’用以連接到外部供電設備(如22〇V電源)以對通用偵錯輔 助裝置1供電。該電源插座可採用任何形式之習知電源插座,例 如通用偵錯輔助裝置1之電源插座結構可相同於筆記本電腦上之 15 201001158 電源插座’藉此用戶可利用其已有的筆記本電腦的電源線(配置 有AC/DC裝置)為通用偵錯辅助裝置1供電,不必為本發明之通 用價錯辅助裝置1供電而額外購買電源線。 本發明之通用偵錯辅助裝置1係採用雙擴展器131,132結構 達成可程式連接拓撲,可以通過控制設備27來靈活配置資料的連 接枯撲’因此可用於多種連接需求’也避免了爲不同應用設計不 同的债錯輔助裝置’且可達成外頻訊號傳輸和重建等功能,避免 外頻訊號的錢’進而保持系統功能之完整性。本發明通用摘錯 輔助裝置1藉由機構外殼固定硬碟以及背板間之連接,減少了線 纖之使用、增加了連接穩固性’且方便現場操作、插拔容易。 利申上所述,本發明確已符合發明專利之要件,爰依法提出專 H _本發明已以較佳實施例揭露如上,然其並非用以限 明之=和rm術領域中具有通常知識者’在不脫離本發 護範圍當視後附之申,因此本發明之保 住-實施例或申請專辛:、疋者為準。另外’本發明的 優點或獅。此外㈣核本㈣所揭露之全部目的或 之用,利文件搜尋 【圖式簡單說明】 錯輔助裝置之結構示意圖。 通用偵錯辅助裝置一廂田# _第从圖係本發明通用偵錯輔^裝置置用應於用2實例之連接示意圖。 不意圖。 裝置5英寸磁碟之連接 第犯圖係本發明通用侦錯輔助裝 •5央寸礤碟之連接 16 201001158 示意圖。 第4圖係本發明通用偵錯輔助裝置另一應用實例之連接示意 圖。 第5圖係本發明通用偵錯輔助裝置又一應用實例之連接示意 圖。 【主要元件符號說明】 通用偵錯輔助裝置 1 外殼 10、11 第一 SAS擴展器 131 第二SAS擴展器 132 内頻訊號通道 152 訊號通道 154, 156, 158, 159 外頻訊號通道 172, 174 第一介面 21 第二介面 22 第三介面 23 第四介面 24 第五介面 25 第六介面 26 控制介面 27 切換開關元件 270 控制設備 271 儲存設備 3 硬碟 31 、 31, 17 201001158 背板 33 ' 33, 機箱 35 ' 35, SAS測試設備 4 主機 5 SAS/SATA資訊產生器 6 18Referring to FIG. 4, it is shown that the universal debugging auxiliary device of the present invention is used for connection failure between the host 5 (such as the same first start ax device) and the storage device 3 (such as the same second target device). The third interface 23 of the universal debugging auxiliary device 1 is connected to the corresponding interface of the host 5 (such as the SAS host bus interface card (hba) or the SAS on the motherboard of the host 5) via the signal channel 158. The fourth interface 24 Connected to the corresponding interface of the storage device 3 (such as jBOD or RAm enci〇sure upstream link) via the signal channel 159, the fifth interface 25 and the sixth interface 26 are respectively connected to the input end of the SAS test device 4 and the output end face is connected to the outside. The control device 271. When the debug operation is to be performed, the operator changes the data flow between the third interface 23 and the fourth interface 24 from the control device 271, that is, turns off the four between the first expander 131 and the second expander 132. The connection of the signal channel 152 forces the data flow of the third interface 23 and the fourth interface 201001158 • the surface 24 to pass through the signal channel 158 of the fifth interface 25 and the sixth interface 26, respectively, to the SAS test device 4. Can close the fifth 25. The connection channel between the sixth interface 26 and the SAS test device 4 opens the four signal channels 152 interconnected between the first SAS expander 131 and the _SAS expander 132, and guides the data stream in the first-SAS expander 131. The second SAS expander 132 passes through. Similarly, the application example can also achieve the programmable connection topology, the external frequency signal transmission and reconstruction functions of the application example shown in FIG. 2, and therefore will not be described again. 5 is a detailed example of the hard disk of the present invention for use in the storage device, and the circuit between the hard disk 31 and the backplane 33 is good, and only when the hard disk 31 itself has a problem, The universal debt error assisting device 1 of the present invention can connect the stomach sfL generator 6 to the hard disk 31. The first interface 21 of the universal debugging assisting device 1 of the present invention faces the corresponding interface of the hard disk 31, and the fifth interface 25 is light. Connected to the SAS/SATA information generator 6, the control interface 27_ controls the device to perform the debugging operation, the operator closes the 4th between the first and second expanders 131'132 from the external control device 2?1 The connection of the signal channel 152, and only the = message generated in SAS / SATA information 6 and the hard disk 31 exchange, sas / sata % secret generator 6 issued a test signal 'according to the response of the hard disk 31, judged and the problem of the faulty hard disk 31. 通用 The universal debugging assisted skirt of the present invention i A dual power supply design can be used, except that the universal debug assist device shown in FIG. 2 can be powered by the first initiating device via the second interface and the backplane 33 in the chassis environment, as shown in Figures 4 and 5. The non-chassis ring i brother of the present invention, the universal debugging auxiliary device of the present invention is further provided with a power socket (not shown) for connecting to an external power supply device (such as a 22 〇V power source) for the universal debugging auxiliary device. 1 power supply. The power socket can adopt any form of conventional power socket. For example, the power socket structure of the universal debugging aid 1 can be the same as the 15 201001158 power socket on the notebook computer, so that the user can utilize the power cord of the existing notebook computer. (Equipped with an AC/DC device) The power supply is supplied to the universal debugging assisting device 1, and it is not necessary to supply power to the universal price error assisting device 1 of the present invention. The universal debugging auxiliary device 1 of the present invention adopts a dual expander 131, 132 structure to achieve a programmable connection topology, and can be flexibly configured by the control device 27 to slap the connection 'so that it can be used for multiple connection requirements' and is also avoided. The application of different debt-assist auxiliary devices is designed to achieve functions such as transmission and reconstruction of the external frequency signals, thereby avoiding the money of the external frequency signals and thereby maintaining the integrity of the system functions. The universal error correcting device 1 of the present invention fixes the hard disk and the connection between the back plates by the mechanism casing, thereby reducing the use of the wire and increasing the connection stability' and facilitating on-site operation and easy insertion and removal. As described in the above, the present invention has indeed met the requirements of the invention patent, and has been proposed in accordance with the law. The present invention has been disclosed in the preferred embodiment as above, but it is not intended to limit the general knowledge in the field of rm and rm. 'After the scope of this invention, it is attached to the application, so the preservation of the invention - the application or the application of the application: the latter. Further 'the advantages of the invention or the lion. In addition, (4) all the purposes or uses disclosed in the nuclear (4), and the file search [simplified description] is a schematic diagram of the structure of the wrong auxiliary device. General-purpose debugging auxiliary device Yixiangtian # _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Not intended. The device is connected to a 5-inch disk. The first line of the invention is a general-purpose debugging aid for the present invention. • The connection of the 5 inch inch disk is 16 201001158. Fig. 4 is a connection diagram showing another application example of the universal debug assisting apparatus of the present invention. Fig. 5 is a connection diagram showing still another application example of the universal debug assisting apparatus of the present invention. [Major component symbol description] Universal debugging aid 1 housing 10, 11 first SAS expander 131 second SAS expander 132 internal frequency signal channel 152 signal channel 154, 156, 158, 159 external frequency signal channel 172, 174 One interface 21 second interface 22 third interface 23 fourth interface 24 fifth interface 25 sixth interface 26 control interface 27 switching element 270 control device 271 storage device 3 hard disk 31, 31, 17 201001158 back plate 33 '33, Chassis 35 ' 35, SAS test equipment 4 host 5 SAS/SATA information generator 6 18