TWI554891B - Storage control devices and method therefor to invoke address thereof - Google Patents

Storage control devices and method therefor to invoke address thereof Download PDF

Info

Publication number
TWI554891B
TWI554891B TW103130829A TW103130829A TWI554891B TW I554891 B TWI554891 B TW I554891B TW 103130829 A TW103130829 A TW 103130829A TW 103130829 A TW103130829 A TW 103130829A TW I554891 B TWI554891 B TW I554891B
Authority
TW
Taiwan
Prior art keywords
address
storage control
control module
bit string
storage
Prior art date
Application number
TW103130829A
Other languages
Chinese (zh)
Other versions
TW201610694A (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 TW103130829A priority Critical patent/TWI554891B/en
Publication of TW201610694A publication Critical patent/TW201610694A/en
Application granted granted Critical
Publication of TWI554891B publication Critical patent/TWI554891B/en

Links

Landscapes

  • Storage Device Security (AREA)

Description

存儲控制裝置與供其調用其位址的方法 Storage control device and method for calling its address

本發明係關於匯流排技術,特別係關於存儲控制裝置調用其匯流排位址。 The present invention relates to busbar technology, and in particular to the storage control device invoking its busbar address.

匯流排技術的限制使存儲伺服器中往往需配備有存儲控制裝置才能對眾多硬碟加以管理。存儲控制裝置在匯流排上具有位址。位址一般於存儲控制裝置的設定檔中給定並隨設定檔燒錄至存儲控制裝置,無論製程中或使用時皆無法單獨變更。給定與燒錄的程序繁瑣且非輕而易舉。舉例而言,欲透過存儲控制裝置的通用非同步收發器(Universal asynchronous receiver/transmitter,簡稱UART)燒錄設定檔除拆除伺服器的機箱別無他法。 The limitations of bus technology make it necessary to have storage control devices in the storage server to manage many hard disks. The storage control device has an address on the bus. The address is generally given in the configuration file of the storage control device and is burned to the storage control device with the configuration file, and cannot be changed separately during the process or during use. The procedures given and burned are cumbersome and not easy. For example, a Universal asynchronous receiver/transmitter (UART) programming profile through a storage control device has no alternative to removing the server chassis.

鑑於上述,本發明旨在揭露數種存儲控制裝置與供其調用其位址的方法,以簡化匯流排位址的變更,減少產線人員和使用者的困擾或疏誤的可能性。 In view of the above, the present invention is directed to several storage control devices and methods for invoking their addresses to simplify the change of bus address and reduce the possibility of trouble or omission of line personnel and users.

所揭露的一種存儲控制裝置包含存儲控制模組與存儲模組。存儲控制模組耦接於中央處理單元(central processing unit,簡稱CPU)與多個硬碟之間。存儲模組耦接存儲控制模組並包含位址與韌體存儲區。位址存儲區用以存儲存儲控制模組的序列附接式小型電腦系統介面(Serial Attached SCSI,下稱SAS,SCSI係Small Computer System Interface的縮寫)的第一位址。韌體存儲區用以存儲存儲控制模組的韌體。韌體具有調用單元。存儲控制模組用以執行調用單元以調用第一位址以利資料傳輸。 A storage control device disclosed includes a storage control module and a storage module. The storage control module is coupled to the central processing unit (central processing) Unit, referred to as CPU) and multiple hard drives. The storage module is coupled to the storage control module and includes an address and a firmware storage area. The address storage area is used to store the first address of the serial attached system (Serial Attached SCSI, hereinafter referred to as SAS, SCSI Small Computer System Interface) of the storage control module. The firmware storage area is used to store the firmware of the storage control module. The firmware has a calling unit. The storage control module is configured to execute the calling unit to invoke the first address for data transmission.

在一實施例中,存儲模組更包含設定檔存儲區,其用以存儲存儲控制模組的設定檔。設定檔包含SAS的第二位址,但存儲控制模組自存儲模組調用第一位址以運作而不調用第二位址。在一實施例中,第二位址係隨機的或預設的SAS位址。 In an embodiment, the storage module further includes a profile storage area for storing a profile of the storage control module. The configuration file includes the second address of the SAS, but the storage control module calls the first address from the storage module to operate without calling the second address. In an embodiment, the second address is a random or preset SAS address.

在一實施例中存儲控制模組執行調用單元時,存儲控制模組自位址儲存區讀取並判斷一位元串係否SAS位址。讀取該位元串包含選擇性地重新排序該位元串。該位元串係SAS位址時被寫入一資料結構,該資料結構則被回傳予存儲控制模組。在一實施例中,當該位元串非SAS位址時,第二位址被寫入該資料結構而回傳。在一實施例中,該資料結構係存儲控制模組提供的指針(pointer),將該位元串寫入該資料結構係將該位元串寫入指針指向的一存儲區。 In an embodiment, when the storage control module executes the calling unit, the storage control module reads from the address storage area and determines whether the one-bit string is a SAS address. Reading the bit string includes selectively reordering the bit string. When the bit string is a SAS address, it is written into a data structure, and the data structure is transmitted back to the storage control module. In an embodiment, when the bit string is not a SAS address, the second address is written to the data structure and returned. In one embodiment, the data structure stores a pointer provided by the control module, and writing the bit string to the data structure writes the bit string to a storage area pointed by the pointer.

在一實施例中存儲控制模組讀取該位元串時,存儲控制模組更取得緩衝區並將該位元串寫入緩衝區。該位元串係SAS位址時被自緩衝區寫入該資料結構,而緩衝區被釋放。在一實施例中,緩衝區位於存儲模組。 In an embodiment, when the storage control module reads the bit string, the storage control module further acquires the buffer and writes the bit string to the buffer. When the bit string is a SAS address, it is written to the data structure from the buffer, and the buffer is released. In an embodiment, the buffer is located in the storage module.

在一實施例中進行韌體更新時,新版韌體被寫入韌體存儲區而位址存儲區中的第一位址不變。新版韌體具有另一調用單元。存儲控制模組更用以執行該另一調用單元以調用第一位址。 When firmware update is performed in an embodiment, the new firmware is written to the firmware storage area and the first address in the address storage area is unchanged. The new firmware has another call unit. The storage control module is further configured to execute the another calling unit to invoke the first address.

在一實施例中,存儲控制模組係SAS或序列先進技術附接(Serial Advanced Technology Attachment)的硬碟端口擴充器(expander),或南橋晶片(southbridge)。 In one embodiment, the storage control module is a SAS or Serial Advanced Technology Attachment hard disk port expander, or a south bridge.

所揭露的另一種存儲控制裝置包含存儲控制模組與存儲模組。存儲控制模組耦接於中央處理單元與多個硬碟之間。存儲模組耦接存儲控制模組並存有設定檔、韌體以及SAS的第一位址。存儲控制模組用以執行韌體並調用設定檔以運作。設定檔包含SAS的第二位址,但存儲控制模組自存儲模組調用第一位址以利資料傳輸而不調用第二位址。在一實施例中,第二位址係隨機的或預設的SAS位址。 Another storage control device disclosed includes a storage control module and a storage module. The storage control module is coupled between the central processing unit and the plurality of hard disks. The storage module is coupled to the storage control module and stores the configuration file, the firmware, and the first address of the SAS. The storage control module is used to execute the firmware and invoke the profile to operate. The configuration file includes the second address of the SAS, but the storage control module calls the first address from the storage module to facilitate data transmission without calling the second address. In an embodiment, the second address is a random or preset SAS address.

在一實施例中進行韌體更新時,新版韌體被寫入存儲模組而存儲模組中的第一位址不變。新版韌體具有調用單元。存儲控制模組更用以執行調用單元以調用第一位址。 In an embodiment, when the firmware is updated, the new firmware is written to the storage module and the first address in the storage module is unchanged. The new firmware has a call unit. The storage control module is further configured to execute the calling unit to invoke the first address.

所揭露的一種方法用以供一存儲控制裝置調用其第一位址。該存儲控制裝置與第一位址係基於SAS。該存儲控制裝置包含存儲控制模組與存儲模組。於所述方法中,存儲控制模組自存儲模組的位址存儲區讀取一位元串,並判斷該位元串係否SAS位址。位址存儲區用以存儲第一位址。讀取該位元串包含選 擇性地重新排序該位元串。位元串係SAS位址時被寫入一資料結構,該資料結構則被回傳予該存儲控制模組。 One disclosed method is for a storage control device to invoke its first address. The storage control device and the first address are based on SAS. The storage control device includes a storage control module and a storage module. In the method, the storage control module reads a bit string from the address storage area of the storage module, and determines whether the bit string is a SAS address. The address storage area is used to store the first address. Read the bit string to include Selectively reorder the bit string. When the bit string is a SAS address, it is written into a data structure, and the data structure is returned to the storage control module.

在一實施例中,存儲模組的設定檔存儲區用以存儲該存儲控制模組的設定檔。設定檔包含隨機的或預設的SAS的第二位址。當該位元串非SAS位址時,第二位址被寫入該資料結構而回傳。 In an embodiment, the profile storage area of the storage module is configured to store a profile of the storage control module. The profile contains a random or preset second address of the SAS. When the bit string is not a SAS address, the second address is written to the data structure and returned.

在一實施例中,讀取該位元串更包含取得緩衝區並將該位元串寫入緩衝區。該位元串係SAS位址時被自緩衝區寫入該資料結構,而緩衝區被釋放。 In an embodiment, reading the bit string further includes fetching the buffer and writing the bit string to the buffer. When the bit string is a SAS address, it is written to the data structure from the buffer, and the buffer is released.

在一實施例中,該資料結構係指針,將該位元串寫入該資料結構係將該位元串寫入指針指向的一存儲區。 In one embodiment, the data structure is a pointer to which the bit string is written to the data structure to write the bit string to a memory area pointed to by the pointer.

一言以蔽之,依據本發明,第一位址、設定檔和韌體分離,更新或變更其中一個時不會干擾到另一個,但三者間存在調用或備份關係。在不同實施例中,自存儲模組調用第一位址的方式可實作為傳值呼叫(call-by-value)或傳址呼叫(call-by-reference)。 In a word, according to the present invention, the first address, the profile, and the firmware are separated, and one of the updates or changes does not interfere with the other, but there is a call or backup relationship between the three. In different embodiments, the manner in which the first address is invoked from the storage module can be implemented as a call-by-value or a call-by-reference.

以上關於本發明內容及以下關於實施方式之說明係用以示範與闡明本發明之精神與原理,並提供對本發明之申請專利範圍更進一步之解釋。 The above description of the present invention and the following description of the embodiments are intended to illustrate and clarify the spirit and principles of the invention and to provide further explanation of the scope of the invention.

1‧‧‧存儲控制裝置 1‧‧‧Storage control device

10‧‧‧存儲控制模組 10‧‧‧Storage Control Module

12‧‧‧存儲模組 12‧‧‧ Storage Module

126‧‧‧位址存儲區 126‧‧‧ address storage area

127‧‧‧設定檔存儲區 127‧‧‧Setting file storage area

128‧‧‧韌體存儲區 128‧‧‧ firmware storage area

第1圖係依據本發明一實施例存儲控制裝置的方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a memory control device in accordance with an embodiment of the present invention.

第2與3圖係本發明不同實施例中供存儲控制裝置調用其第一位址的方法的流程圖。 2 and 3 are flow diagrams of methods for the storage control device to invoke its first address in various embodiments of the present invention.

以下在實施方式中敘述本發明之詳細特徵,其內容足以使任何熟習相關技藝者瞭解本發明之技術內容並據以實施,且依據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下實施例係進一步說明本發明之諸面向,但非以任何面向限制本發明之範疇。 The detailed features of the present invention are described in the following description, which is sufficient for any skilled person to understand the technical contents of the present invention and to implement it, and according to the contents disclosed in the specification, the patent application scope and the drawings, any familiarity The related objects and advantages of the present invention will be readily understood by those skilled in the art. The following examples are intended to further illustrate the invention, but are not intended to limit the scope of the invention.

請參見第1圖,其係依據本發明一實施例存儲控制裝置的方塊圖。如第1圖所示,存儲控制裝置1包含相耦接的存儲控制模組10與存儲模組12。在一實施例中,存儲控制裝置1係基於序列附接式小型電腦系統介面(Serial Attached SCSI,下稱SAS),存儲控制模組10如在伺服器中做為存儲交換或路由器,從而管理多個SAS設備(如硬碟)的端口擴充器(expander)或倍增器(port multiplier)。存儲控制模組10耦接於前述伺服器的中央處理單元與多顆硬碟之間,用以控制中央處理單元與硬碟間、或硬碟彼此的數據傳輸。存儲控制模組10也可以是基於序列先進技術附接(Serial Advanced Technology Attachment,簡稱SATA)的端口擴充器或倍增器,或伺服器主機板上控制中央處理單元與周邊存儲間數據傳輸的一個電路,如輸出入控制器樞紐(Input/Output Controller Hub)、平台控制器樞紐(Platform Controller Hub)或俗稱的南橋晶片(southbridge)。實務上所述電路亦可能被整合至廣義的中央處理單元。 Referring to FIG. 1, a block diagram of a memory control device in accordance with an embodiment of the present invention. As shown in FIG. 1 , the storage control device 1 includes a storage control module 10 and a storage module 12 coupled thereto. In an embodiment, the storage control device 1 is based on a Serial Attached SCSI (SAS), and the storage control module 10 is used as a storage switch or router in the server, thereby managing more A port expander or port multiplier for a SAS device such as a hard drive. The storage control module 10 is coupled between the central processing unit of the server and a plurality of hard disks to control data transmission between the central processing unit and the hard disk or the hard disks. The storage control module 10 can also be a serial porter or multiplier based on Serial Advanced Technology Attachment (SATA), or a circuit for controlling data transmission between the central processing unit and the peripheral storage on the server board. , such as the input/output controller hub (Input/Output Controller Hub), platform controller hub (Platform Controller Hub) or the so-called southbridge. The circuit described in practice may also be integrated into a generalized central processing unit.

在一實施例中,存儲模組12存有(存儲控制模組10的)韌體與設定檔,而存儲控制模組10的運作在概念上有動靜兩方面;動指存儲控制模組10執行韌體而具功能,而靜指存儲控制模組10載入或調用其設定檔。存儲控制裝置1於SAS上通訊所需、遵循SAS協定的匯流排位址通常記錄於設定檔且隨之被載入,但存儲模組12另存有可用的第一位址,而設定檔可能包含的則稱為第二位址。在一實施例中,存儲控制模組10調用第一而非第二位址。具體而言,韌體的部份程式碼、目標碼(object code)或機器碼(machine code)可為調用單元。存儲控制模組10執行韌體便會執行到調用單元,尤其例如正在初始化時,並因此自存儲模組12調用第一位址以利資料傳輸。 In an embodiment, the storage module 12 stores firmware and configuration files (of the storage control module 10), and the operation of the storage control module 10 is conceptually dynamic; the mobile storage control module 10 executes The firmware is functional, while the static storage control module 10 loads or calls its profile. The bus address of the SAS protocol required by the storage control device 1 for communication on the SAS is usually recorded in the profile and then loaded, but the storage module 12 has a first address available, and the profile may contain It is called the second address. In an embodiment, the storage control module 10 invokes the first, rather than the second, address. Specifically, part of the firmware code, object code, or machine code can be a calling unit. The storage control module 10 executes the firmware to the calling unit, for example, when it is initializing, and thus calls the first address from the storage module 12 to facilitate data transfer.

本發明並不限制存儲模組12如何存儲。舉例來說,若存儲模組12具有某種低階的檔案系統(file system),則存取存儲模組12者無須了解其硬體細節,只要譬如向存儲模組12指定欲調用的檔案或資料即可從存儲模組12接收之。存儲模組12亦可事先被劃分出多個存儲區,每區各有目的,如用來存儲特定資訊。在一實施例中,如第1圖所示,存儲模組12包含位址存儲區126、設定檔存儲區127與韌體存儲區128,分別用以存儲前述第一位址、設定檔和韌體。存儲控制模組10執行位於存儲區128的韌體,即自存儲區126調用第一位址、自存儲區127調用設定 檔,並在一般狀況下忽略設定檔中的第二位址。設定檔和韌體可能需分別地不定期更新,其中前者較後者頻繁。在一實施例中,新版的設定檔被寫入存儲區127時,存儲區126中的第一位址不變,存儲區128中的韌體可能亦然。不同版本的設定檔的第二位址(若有)可以是相同或相異的預設或隨機的SAS位址。當新版的韌體被寫入存儲區128時,位址存儲區126不受影響,設定檔存儲區127可能亦然。在一實施例中,新版韌體仍具有調用單元,其程式碼與舊版可能但不見得完全相同,但一樣使存儲控制模組10調用第一位址。 The present invention does not limit how the memory module 12 is stored. For example, if the storage module 12 has a low-level file system, the access storage module 12 does not need to know the hardware details, as long as the storage module 12 is specified to be called or The data can be received from the storage module 12. The storage module 12 can also be divided into a plurality of storage areas in advance, each of which has a purpose, such as for storing specific information. In an embodiment, as shown in FIG. 1, the storage module 12 includes an address storage area 126, a configuration file storage area 127, and a firmware storage area 128 for storing the first address, the configuration file, and the toughness, respectively. body. The storage control module 10 executes the firmware located in the storage area 128, that is, the first address is called from the storage area 126, and the setting is called from the storage area 127. File, and under normal circumstances ignore the second address in the profile. Profiles and firmware may need to be updated from time to time, with the former being more frequent than the latter. In an embodiment, when the new version of the profile is written to the storage area 127, the first address in the storage area 126 is unchanged, and the firmware in the storage area 128 may be the same. The second address (if any) of the different versions of the profile may be the same or different preset or random SAS addresses. When a new version of the firmware is written to the storage area 128, the address storage area 126 is unaffected, as may the profile storage area 127. In an embodiment, the new firmware still has a calling unit whose code may be identical but not identical to the old version, but causes the storage control module 10 to call the first address.

存儲控制模組10(執行調用單元以)調用第一位址的細節請參見第2圖,其係本發明的方法於一實施例的流程圖。如第2圖所示,於步驟S21中,存儲控制模組10自存儲模組12的存儲區126讀取一位元串(bit string)。視存儲模組12的實作,存儲控制模組10讀取時可能不需要知道位元串係來自存儲區126,但可能需對位元串重新排序以調解模組10與12間的端序(endianness)差異。此時存儲控制模組10尚不能確知所接收的內容,因此於步驟S23中判斷該位元串係否遵循SAS協定、在SAS上可用的一個位址。若是,則該位元串是第一位址,存儲控制模組10於步驟S25中將其寫入某個資料結構。資料結構於步驟S29回傳,存儲控制模組10成功調用第一位址。由於調用單元係存儲控制模組10所執行,實務上步驟S21之後位元串或第一位址可能只是在存儲控制模組10內部的記憶體中不同函式 (function、routine或method)私有的區段或域(scope)間複製,最後呼叫調用單元的上層函式、執行緒(thread)或存儲控制模組10的運算電路(如處理器或微控制器)被分配到寫有第一位址的一個區段,是為該資料結構。在一實施例中,當位元串不遵循SAS協定時,前述設定檔中的第二位址作為預設值於步驟S27被寫入資料結構,使存儲控制裝置1或模組10仍有合理的匯流排位址。 For details of calling the first address by the storage control module 10 (executing the calling unit), see FIG. 2, which is a flowchart of an embodiment of the method of the present invention. As shown in FIG. 2, in step S21, the storage control module 10 reads a bit string from the storage area 126 of the storage module 12. Depending on the implementation of the storage module 12, the storage control module 10 may not need to know that the bit string is from the storage area 126 when reading, but may need to reorder the bit string to mediate the end sequence between the modules 10 and 12. (endianness) difference. At this time, the storage control module 10 is still unable to ascertain the received content, so it is determined in step S23 whether the bit string is in accordance with the SAS protocol and an address available on the SAS. If so, the bit string is the first address, and the storage control module 10 writes it to a certain data structure in step S25. The data structure is returned in step S29, and the storage control module 10 successfully invokes the first address. Since the calling unit is executed by the storage control module 10, the bit string or the first address after the step S21 in practice may be only different functions in the memory inside the storage control module 10. (function, routine, or method) copy between private sections or scopes, and finally call the upper layer function of the calling unit, the thread, or the operation circuit of the storage control module 10 (such as a processor or a microcontroller) ) is assigned to a section written with the first address, which is the data structure. In an embodiment, when the bit string does not follow the SAS protocol, the second address in the foregoing profile is written as a preset value in the data structure in step S27, so that the storage control device 1 or the module 10 is still reasonable. Bus address.

前述隱藏或不指定存儲控制模組10內部記憶體細節的調用方法可統稱為傳值呼叫(call-by-value)。當調用單元作為函式而其由存儲控制模組10提供的參數包含用以回傳、代表某記憶體位址的一個指針(pointer)時,所述方法以傳址呼叫(call-by-reference)實作的一例請參見第3圖。如第3圖所示,於步驟S30中,存儲控制模組10申請並取得某記憶體(如存儲控制模組10內部者或存儲模組12)的一個區段作為緩衝區。於步驟S32中,所讀取的位元串(請參見第2圖的步驟S21)被存儲控制模組10或其所呼叫的函式寫入緩衝區。存儲控制模組10於緩衝區判斷位元串係否遵循SAS協定、在SAS上可用的第一位址(步驟S33)。若是,則該位元串於步驟S35自緩衝區被寫入或複製至資料結構,也就是前述指針。具體而言,步驟S35後指針所指向的任意存儲區存儲著第一位址,而調用單元作為函式結束或回傳時(步驟S39)存儲控制模組10透過指針存取該存儲區得以調用第一位址。如同第2圖的實施例,當位元串不遵循SAS 協定時,設定檔存儲區127中的第二位址作為預設值於步驟S37被寫入指針所指向的存儲區,使存儲控制裝置1或模組10仍有合理的匯流排位址。由於緩衝區僅係存儲控制模組10於步驟S33的臨時工作域,在步驟S35或S37某SAS位址被寫入資料結構後,存儲控制模組10於步驟S38釋放緩衝區,使其空間能再利用。本發明並不限制步驟S38與S39的先後。 The aforementioned calling methods for hiding or not specifying the internal memory details of the storage control module 10 may be collectively referred to as a call-by-value. The method uses a call-by-reference when the calling unit acts as a function and the parameters provided by the storage control module 10 include a pointer for returning to represent a memory address. See Figure 3 for an example of implementation. As shown in FIG. 3, in step S30, the storage control module 10 requests and acquires a section of a certain memory (such as the internals of the storage control module 10 or the storage module 12) as a buffer. In step S32, the read bit string (see step S21 of FIG. 2) is stored in the control module 10 or the function write buffer to which it is called. The storage control module 10 determines whether the bit string in the buffer conforms to the SAS protocol and the first address available on the SAS (step S33). If so, the bit string is written or copied from the buffer to the data structure in step S35, that is, the aforementioned pointer. Specifically, after the step S35, any storage area pointed by the pointer stores the first address, and when the calling unit ends or returns as a function (step S39), the storage control module 10 can access the storage area through the pointer. First address. As in the embodiment of Figure 2, when the bit string does not follow SAS In the agreement, the second address in the profile storage area 127 is used as a preset value to be written to the storage area pointed by the pointer in step S37, so that the storage control device 1 or the module 10 still has a reasonable bus address. Since the buffer is only the temporary working area of the storage control module 10 in step S33, after a SAS address is written into the data structure in step S35 or S37, the storage control module 10 releases the buffer in step S38 to make the space available. Reuse. The present invention does not limit the order of steps S38 and S39.

雖則前述對第2或3圖的說明提及調用單元,請注意實務上存儲控制模組10的韌體不一定是高度模組化的,在一實施例中調用單元的功能可能在另一例中散見於韌體多處,甚至以存儲控制模組10的硬體實作。 Although the foregoing description of FIG. 2 or 3 refers to the calling unit, please note that the firmware of the storage control module 10 is not necessarily highly modular in practice. In one embodiment, the function of the calling unit may be in another example. It is scattered in many places of the firmware, and even implemented by the hardware of the storage control module 10.

綜上所述,在本發明中,韌體供存儲控制模組執行,存儲控制模組接收回傳值或回傳址以調用存儲模組另加存儲的第一位址而進行資料傳輸,除非原應代表第一位址的讀取自存儲模組的位元串不合理而改調用設定檔可能包含的第二位址。第一位址、設定檔與韌體可被分別地變更,伺服器中存儲控制裝置的製程、使用和維護得以被切割而簡化。 In summary, in the present invention, the firmware is implemented by the storage control module, and the storage control module receives the return value or the return address to call the storage module to add the stored first address for data transmission, unless The second address that may be included in the configuration file should be changed according to the unreasonable bit string read from the storage module on behalf of the first address. The first address, the profile, and the firmware can be changed separately, and the process, use, and maintenance of the storage control device in the server can be simplified by cutting.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

Claims (12)

一種存儲控制裝置,包含:一存儲控制模組,耦接於一中央處理單元與多個硬碟之間;以及一存儲模組,耦接該存儲控制模組,包含:一位址存儲區,用以存儲該存儲控制模組的序列附接式小型電腦系統介面(Serial Attached SCSI)的一第一位址;以及一韌體存儲區,用以存儲該存儲控制模組的一韌體;其中該韌體具有一調用單元,該存儲控制模組用以執行該調用單元以調用該第一位址以利資料傳輸。 A storage control device includes: a storage control module coupled between a central processing unit and a plurality of hard disks; and a storage module coupled to the storage control module, including: an address storage area, a first address of a serial attached SCSI system for storing the storage control module; and a firmware storage area for storing a firmware of the storage control module; The firmware has a calling unit, and the storage control module is configured to execute the calling unit to invoke the first address to facilitate data transmission. 如請求項1所述的存儲控制裝置,其中當對該韌體進行更新時,一新版韌體被寫入該韌體存儲區而該位址存儲區中的該第一位址不變,該新版韌體具有另一調用單元,該存儲控制模組更用以執行該另一調用單元以調用該第一位址。 The storage control device of claim 1, wherein when the firmware is updated, a new firmware is written into the firmware storage area and the first address in the address storage area is unchanged. The new firmware has another calling unit, and the storage control module is further configured to execute the another calling unit to invoke the first address. 如請求項1所述的存儲控制裝置,其中當該存儲控制模組執行該調用單元時,該存儲控制模組自該位址儲存區讀取一位元串,讀取該位元串包含選擇性地重新排序該位元串,該存儲控制模組並判斷該位元串係否序列附接式小型電腦系統介面的位址,且當該位元串係序列附接式小型電腦系統介面的位址時,該位元串被寫入一資料結構,該資料結構被回傳予該存儲控制模組。 The storage control device of claim 1, wherein when the storage control module executes the calling unit, the storage control module reads a bit string from the address storage area, and reads the bit string to include the selection Reordering the bit string, the storage control module determines whether the bit string is in the sequence of the attached small computer system interface address, and when the bit string is serially attached to the small computer system interface When the address is located, the bit string is written into a data structure, and the data structure is passed back to the storage control module. 如請求項3所述的存儲控制裝置,其中該存儲模組更包含一設定檔存儲區,該設定檔存儲區用以存儲該存儲控制模組的一設定檔,該設定檔包含隨機的或預設的序列附接式小型電腦系統介面的一第二位址,且當該位元串非序列附接式小型電腦系統介面的位址時,該第二位址被寫入該資料結構,而該資料結構被回傳予該存儲控制模組。 The storage control device of claim 3, wherein the storage module further comprises a profile storage area, wherein the profile storage area is configured to store a configuration file of the storage control module, the configuration file includes a random or pre-configuration a second address of the serial attached small computer system interface, and when the bit string is an address of the non-sequence attached small computer system interface, the second address is written into the data structure, and The data structure is passed back to the storage control module. 如請求項3所述的存儲控制裝置,其中當該存儲控制模組讀取該位元串時,該存儲控制模組更取得一緩衝區,並將該位元串寫入該緩衝區,而當該位元串係序列附接式小型電腦系統介面的位址時,該位元串自該緩衝區被寫入該資料結構,該緩衝區被釋放。 The storage control device of claim 3, wherein when the storage control module reads the bit string, the storage control module further acquires a buffer and writes the bit string to the buffer. When the bit string is addressed to the address of the serial small computer system interface, the bit string is written from the buffer to the data structure, and the buffer is released. 如請求項3所述的存儲控制裝置,其中該存儲控制模組係南橋晶片、序列附接式小型電腦系統介面的硬碟端口擴充器(expander)或序列先進技術附接(Serial Advanced Technology Attachment)的硬碟端口擴充器。 The storage control device according to claim 3, wherein the storage control module is a hard disk port expander or a Serial Advanced Technology Attachment of a south bridge chip, a serial attached small computer system interface. Hard disk port expander. 一種存儲控制裝置,包含:一存儲模組,存有一設定檔、一韌體以及序列附接式小型電腦系統介面(Serial Attached SCSI)的一第一位址;以及一存儲控制模組,耦接該存儲模組且耦接於一中央處理單元與多個硬碟之間,用以執行該韌體並調用該設定檔以運作;其中該設定檔包含序列附接式小型電腦系統介面的一第 二位址,該存儲控制模組自該存儲模組調用該第一位址以利資料傳輸而不調用該第二位址。 A storage control device includes: a storage module, a first file located in a configuration file, a firmware, and a Serial Attached SCSI interface; and a storage control module coupled The storage module is coupled between a central processing unit and a plurality of hard disks for executing the firmware and calling the configuration file to operate; wherein the configuration file includes a serial attached small computer system interface The second address, the storage control module calls the first address from the storage module to facilitate data transmission without calling the second address. 如請求項7所述的存儲控制裝置,其中該第二位址係隨機的或預設的序列附接式小型電腦系統介面的位址。 The storage control device of claim 7, wherein the second address is a random or preset address of a sequence attached small computer system interface. 一種供一存儲控制裝置調用該存儲控制裝置的一第一位址以利資料傳輸的方法,該存儲控制裝置包含一存儲控制模組與一存儲模組,所述方法包含:該存儲控制模組自該存儲模組的一位址存儲區讀取一位元串,該位址存儲區用以存儲該第一位址,該存儲控制裝置與該第一位址係基於序列附接式小型電腦系統介面(Serial Attached SCSI);以及該存儲控制模組判斷該位元串係否序列附接式小型電腦系統介面的位址;其中當該位元串係序列附接式小型電腦系統介面的位址時,該位元串被寫入一資料結構,該資料結構被回傳予該存儲控制模組;其中讀取該位元串包含選擇性地重新排序該位元串。 A method for a storage control device to call a first address of the storage control device for data transmission, the storage control device includes a storage control module and a storage module, the method comprising: the storage control module Reading a bit string from the address storage area of the storage module, the address storage area is configured to store the first address, and the storage control device and the first address are based on a serial attached small computer a system interface (Serial Attached SCSI); and the storage control module determines whether the bit string is a sequence-attached small computer system interface address; wherein the bit string is attached to the sequence of the small computer system interface At the address, the bit string is written to a data structure, and the data structure is passed back to the storage control module; wherein reading the bit string includes selectively reordering the bit string. 如請求項9所述的方法,其中該存儲模組的一設定檔存儲區用以存儲該存儲控制模組的一設定檔,該設定檔包含隨機的或預設的序列附接式小型電腦系統介面的一第二位址,且當該位元串非序列附接式小型電腦系統介面的位址時,該第二位址被寫入該資料結構,而該資料結構被回傳予該存儲控制 模組。 The method of claim 9, wherein a profile storage area of the storage module is configured to store a configuration file of the storage control module, the configuration file comprising a random or preset sequence attached small computer system a second address of the interface, and when the bit string is an address of the non-sequence attached small computer system interface, the second address is written into the data structure, and the data structure is returned to the storage control Module. 如請求項9所述的方法,其中讀取該位元串更包含:取得一緩衝區;以及將該位元串寫入該緩衝區;其中當該位元串係序列附接式小型電腦系統介面的位址時,該位元串自該緩衝區被寫入該資料結構,且該緩衝區被釋放。 The method of claim 9, wherein reading the bit string further comprises: obtaining a buffer; and writing the bit string to the buffer; wherein when the bit string is serially attached to the small computer system When the address of the interface is entered, the bit string is written to the data structure from the buffer and the buffer is released. 如請求項9所述的方法,其中該資料結構係一指針,將該位元串寫入該資料結構係將該位元串寫入該指針指向的一存儲區。 The method of claim 9, wherein the data structure is a pointer, and writing the bit string to the data structure writes the bit string to a memory area pointed to by the pointer.
TW103130829A 2014-09-05 2014-09-05 Storage control devices and method therefor to invoke address thereof TWI554891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103130829A TWI554891B (en) 2014-09-05 2014-09-05 Storage control devices and method therefor to invoke address thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103130829A TWI554891B (en) 2014-09-05 2014-09-05 Storage control devices and method therefor to invoke address thereof

Publications (2)

Publication Number Publication Date
TW201610694A TW201610694A (en) 2016-03-16
TWI554891B true TWI554891B (en) 2016-10-21

Family

ID=56085155

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103130829A TWI554891B (en) 2014-09-05 2014-09-05 Storage control devices and method therefor to invoke address thereof

Country Status (1)

Country Link
TW (1) TWI554891B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584853A (en) * 2003-08-22 2005-02-23 晶豪科技股份有限公司 Sequential controlling method for synchronous memory
CN1719537B (en) * 2004-07-05 2010-05-05 万国电脑股份有限公司 Storage control method with storage volume information analysis function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584853A (en) * 2003-08-22 2005-02-23 晶豪科技股份有限公司 Sequential controlling method for synchronous memory
CN1719537B (en) * 2004-07-05 2010-05-05 万国电脑股份有限公司 Storage control method with storage volume information analysis function

Also Published As

Publication number Publication date
TW201610694A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
CN101650660B (en) Booting a computer system from central storage
US9043777B2 (en) Transferring files to a baseboard management controller (‘bmc’) in a computing system
KR101301840B1 (en) Method of data processing for non-volatile memory
CN104238963A (en) Data storage method, device and system
JP2011134293A (en) Data control device and program
CN107463369A (en) The access device control method and device of a kind of virtual desktop
KR20140147017A (en) System and method for recovering from an unexpected shutdown in a write-back caching environment
US10831712B2 (en) Identifying and correlating physical devices across disconnected device stacks
US20140082275A1 (en) Server, host and method for reading base image through storage area network
CN102804137B (en) Controlling access to software component state
US9411513B2 (en) Sensitive data file attribute
KR20060060668A (en) System, apparatus and method for controlling a storage device
US9645946B2 (en) Encryption for solid state drives (SSDs)
US11176089B2 (en) Systems and methods for implementing dynamic file systems
KR20150069311A (en) A vehicle data control system and a control method
US9588918B2 (en) Storage control devices and method therefor to invoke address thereof
US20150356108A1 (en) Storage system and storage system control method
TWI554891B (en) Storage control devices and method therefor to invoke address thereof
US20190018617A1 (en) Data processing method, apparatus, and system
US20170039110A1 (en) Computer
CN103838647A (en) Data state transition method and system based on snapshot remapping
KR102145358B1 (en) Method and computer-readable medium emboding program for protecting data integrity of disk in alternate operating system environment
US8977814B1 (en) Information lifecycle management for binding content
US20160259572A1 (en) Storage system and storage control method