TWI501077B - Data access management apparatus and method - Google Patents

Data access management apparatus and method Download PDF

Info

Publication number
TWI501077B
TWI501077B TW102146630A TW102146630A TWI501077B TW I501077 B TWI501077 B TW I501077B TW 102146630 A TW102146630 A TW 102146630A TW 102146630 A TW102146630 A TW 102146630A TW I501077 B TWI501077 B TW I501077B
Authority
TW
Taiwan
Prior art keywords
unit
processing unit
storage
data
storage unit
Prior art date
Application number
TW102146630A
Other languages
Chinese (zh)
Other versions
TW201525678A (en
Inventor
Chao Hsien Hsu
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW102146630A priority Critical patent/TWI501077B/en
Publication of TW201525678A publication Critical patent/TW201525678A/en
Application granted granted Critical
Publication of TWI501077B publication Critical patent/TWI501077B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Power Sources (AREA)

Description

資料存取管理裝置及方法Data access management device and method

一種資料管理裝置及方法,特別有關於一種資料存取管理裝置及方法。A data management apparatus and method, and more particularly to a data access management apparatus and method.

一般來說,電腦系統或伺服器內會配置有儲存裝置(例如硬碟),用以進行資料的存取。並且,不論是否需要對儲存裝置進行存取的操作,都會提供電能給儲存裝置,以維持儲存裝置的運作。也就是說,當儲存裝置處於工作狀態時,可對儲存裝置進行資料存取,而當儲存裝置處於待機狀態時,表示儲存裝置等待進行下一次的資料存取。Generally, a storage device (such as a hard disk) is configured in a computer system or a server for accessing data. Moreover, whether or not an operation to access the storage device is required, power is supplied to the storage device to maintain the operation of the storage device. That is to say, when the storage device is in the working state, the storage device can be accessed by data, and when the storage device is in the standby state, it indicates that the storage device is waiting for the next data access.

對於儲存資料至儲存裝置來說,日期相近的資料大多會儲存在同一儲存裝置中。然而,某些資料可能被使用的機率較低而較少被存取,而使得這些資料的儲存裝置被進行資料存取的機率也會很低。但是,電腦系統或伺服器仍會提供電能給被存取機率較低的儲存裝置,以維持系統的正常運作,如此將會造成電能的浪費。因此,儲存裝置之電能使用的管理上仍有改善的空間。For storing data to a storage device, most of the data with the same date will be stored in the same storage device. However, some data may be used less frequently and less frequently accessed, and the chances of storing the data for these data storage devices will be low. However, the computer system or server still provides power to the storage device with a lower probability of being accessed to maintain the normal operation of the system, which will result in wasted power. Therefore, there is still room for improvement in the management of the power usage of the storage device.

本發明在於提供一種資料存取管理裝置及方法,藉以有效 地管理儲存裝置的供電狀態,以避免電能的浪費。The present invention provides a data access management apparatus and method, thereby effectively The power supply state of the storage device is managed to avoid waste of electrical energy.

本發明提供一種資料存取管理裝置,包括致能信號產生單元、供電單元、至少一第一儲存單元與第一處理單元。致能信號產生單元用以依據第一處理信號,以產生致能信號。供電單元耦接致能信號產生單元,用以接收並依據致能信號,以產生電壓信號。至少一第一儲存單元,耦接供電單元,用以儲存多筆資料,且依據電壓信號,切換至待機狀態或禁能狀態,其中前述資料各自具有一存取時間。第一處理單元耦接至少一第一儲存單元與致能信號產生單元,用以讀取存取時間,並依據存取時間,計算資料已達設時間未被存取的比例,且第一處理單元判斷比例是否超過預設比例,當判斷比例超過預設比例,處理單元產生第一處理信號,以控制至少一第一儲存單元進入禁能狀態,當判斷比例未超過預設比例,處理單元產生第一處理信號,以控制至少一第一儲存單元進入待機狀態。The present invention provides a data access management apparatus, including an enable signal generating unit, a power supply unit, at least a first storage unit, and a first processing unit. The enable signal generating unit is configured to generate an enable signal according to the first processed signal. The power supply unit is coupled to the enable signal generating unit for receiving and according to the enable signal to generate a voltage signal. The at least one first storage unit is coupled to the power supply unit for storing a plurality of data, and switches to a standby state or a disabled state according to the voltage signal, wherein each of the foregoing materials has an access time. The first processing unit is coupled to the at least one first storage unit and the enable signal generating unit for reading the access time, and calculating the proportion that the data has not been accessed according to the access time, and the first processing The unit determines whether the ratio exceeds the preset ratio. When the ratio exceeds the preset ratio, the processing unit generates a first processing signal to control at least one first storage unit to enter the disabled state. When the determined ratio does not exceed the preset ratio, the processing unit generates The first processing signal controls the at least one first storage unit to enter a standby state.

在一實施例中,前述第一處理單元更接收存取指令,並依據存取指令,產生第一處理信號,以控制至少一第一儲存單元切換至工作狀態,進而對至少一第一儲存單元進行資料存取操作。In an embodiment, the first processing unit further receives an access instruction, and generates a first processing signal according to the access instruction, to control the at least one first storage unit to switch to an active state, and further to the at least one first storage unit. Perform data access operations.

在一實施例中,前述資料存取管理裝置,更包括第一收發單元、第二收發單元、第二處理單元與至少一第二儲存單元。第一收發單元耦接第一處理單元,用以當第一處理單元判斷比例超過預設比例時,第一處理單元產生一儲存命令,並將至少一第一儲存單元的資料讀出,且第一收發單元輸出儲存命令及資料。第二收發單元耦接第一收發單元。第二處理單元耦接第二收發單元,用以接收儲存命令與資料,並依據儲存命令,對資料進行儲存操作。至少一第二儲存單元耦接第二處理單元,用以儲存 資料。其中,當第二處理單元完成儲存操作時,產生回應信號,且回應信號透過第二收發單元及第一收發單元傳送至第一處理單元,第一處理單元依據回應信號,產生第一處理信號,以控制至少一第一儲存單元切換至待機狀態。In an embodiment, the data access management device further includes a first transceiver unit, a second transceiver unit, a second processing unit, and at least a second storage unit. The first transceiver unit is coupled to the first processing unit, when the first processing unit determines that the ratio exceeds the preset ratio, the first processing unit generates a storage command, and reads the data of the at least one first storage unit, and the first A transceiver unit outputs storage commands and data. The second transceiver unit is coupled to the first transceiver unit. The second processing unit is coupled to the second transceiver unit for receiving the storage command and the data, and storing the data according to the storage command. At least one second storage unit is coupled to the second processing unit for storing data. When the second processing unit completes the storage operation, a response signal is generated, and the response signal is transmitted to the first processing unit through the second transceiver unit and the first transceiver unit, and the first processing unit generates the first processing signal according to the response signal. Controlling at least one first storage unit to switch to a standby state.

在一實施例中,前述當第二處理單元完成儲存操作時,第二處理單元更控制儲存第一儲存單元之資料的至少一第二儲存單元進入禁能狀態。In an embodiment, when the second processing unit completes the storing operation, the second processing unit further controls the at least one second storage unit that stores the data of the first storage unit to enter the disabled state.

本發明提供一種資料存取管理方法,適於資料存取管理裝置,此資料存取管理裝置具有第一處理單元與至少一第一儲存單元。此資料存取管理方法包括下列步驟。透過第一處理單元,讀取至少一第一儲存單元的多筆資料,其中資料各自具有一儲存時間。透過第一處理單元,依據儲存時間,計算資料已達預設時間未被存取的比例。透過第一處理單元,判斷比例是否超過預設比例。當判斷比例超過預設比例時,透過第一處理單元,控制至少一第一儲存單元進入禁能狀態。當判斷比例未超過預設比例時,透過第一處理單元,控制至少一第一儲存單元進入待機狀態。The present invention provides a data access management method, which is suitable for a data access management device having a first processing unit and at least a first storage unit. This data access management method includes the following steps. And reading, by the first processing unit, the plurality of data of the at least one first storage unit, wherein the data each has a storage time. Through the first processing unit, according to the storage time, the proportion of the data that has not been accessed by the preset time is calculated. Through the first processing unit, it is determined whether the ratio exceeds a preset ratio. When the ratio exceeds the preset ratio, the at least one first storage unit is controlled to enter the disabled state by the first processing unit. When the determination ratio does not exceed the preset ratio, the at least one first storage unit is controlled to enter a standby state through the first processing unit.

在一實施例中,前述資料存取管理方法更包括下列步驟。透過第一處理單元,判斷是否接收一存取指令。當判斷未接收到存取指令時,則回到透過第一處理單元,判斷是否接收存取指令的步驟。當判斷接收存取指令時,第一處理單元依據存取指令,控制至少一第一儲存單元切換至一工作狀態,以對至少一第一儲存單元進行一資料存取操作。In an embodiment, the foregoing data access management method further includes the following steps. It is determined by the first processing unit whether to receive an access instruction. When it is determined that the access instruction has not been received, the process returns to the first processing unit to determine whether to receive the access instruction. When it is determined that the access instruction is received, the first processing unit controls the at least one first storage unit to switch to an active state according to the access instruction to perform a data access operation on the at least one first storage unit.

在一實施例中,前述資料存取管理裝置更具有第二處理單元與至少一第二儲存單元,而資料存取管理方法更包括下列步驟。透過第 一處理單元,產生一儲存命令,並將至少一第一儲存單元的資料讀出,且輸出儲存命令與資料。透過第二處理單元,接收儲存命令與資料。第二處理單元依據儲存命令,對資料進行一儲存操作,以將資料儲存至至少一第二儲存單元。當第二處理單元完成儲存操作時,產生一回應信號至第一處理單元。第一處理單元依據回應信號,控制至少一第一儲存單元切換至待機狀態。In an embodiment, the data access management device further has a second processing unit and at least one second storage unit, and the data access management method further includes the following steps. Through the first A processing unit generates a storage command, reads out data of at least one first storage unit, and outputs a storage command and data. The storage command and the data are received through the second processing unit. The second processing unit performs a storage operation on the data according to the storage command to store the data to the at least one second storage unit. When the second processing unit completes the storage operation, a response signal is generated to the first processing unit. The first processing unit controls the at least one first storage unit to switch to the standby state according to the response signal.

在一實施例中,前述資料存取管理方法更包括下列步驟。控制儲存至少一第一儲存單元之資料的至少一第二儲存單元進入禁能狀態。In an embodiment, the foregoing data access management method further includes the following steps. Controlling at least one second storage unit storing the data of the at least one first storage unit enters a disabled state.

本發明所揭露之資料儲存管理裝置及方法,藉由第一處理單元讀取至少一第一儲存單元之資料的存取時間,並依據這些存取時間,判斷這些資料已達一預設時間未被存取的比例是否超過一預定比例,而據以透過致能信號產生單元以及充電單元,控制至少一第一儲存單元進入待機狀態或進能狀態。另外,當前述比例超過預定比例時,第一處理單元還可進一步將至少一第一儲存單元之資料讀出,並透過第二處理單元轉存至至少一第二儲存單元。如此一來,可有效地管理儲存單元的電能使用狀態,以避免電能的浪費,以及維持儲存資料的處理效能The data storage management device and method disclosed by the present invention, the first processing unit reads the access time of the data of the at least one first storage unit, and according to the access time, determines that the data has reached a preset time. Whether the ratio of being accessed exceeds a predetermined ratio, and the at least one first storage unit is controlled to enter a standby state or a power-on state by the enable signal generating unit and the charging unit. In addition, when the foregoing ratio exceeds a predetermined ratio, the first processing unit may further read the data of the at least one first storage unit and transfer the data to the at least one second storage unit through the second processing unit. In this way, the power usage state of the storage unit can be effectively managed to avoid waste of power and maintain the processing performance of the stored data.

有關本發明的特徵與實作,茲配合圖式作實施例詳細說明如下。The features and implementations of the present invention are described in detail below with reference to the drawings.

100‧‧‧資料存取管理裝置100‧‧‧Data access management device

110‧‧‧致能信號產生單元110‧‧‧Enable signal generating unit

120‧‧‧供電單元120‧‧‧Power supply unit

130_1~130_N‧‧‧第一儲存單元130_1~130_N‧‧‧First storage unit

140‧‧‧第一處理單元140‧‧‧First Processing Unit

210‧‧‧第一收發單元210‧‧‧First transceiver unit

220‧‧‧第二收發單元220‧‧‧second transceiver unit

230‧‧‧第二處理單元230‧‧‧Second processing unit

240_1~240_M‧‧‧第二儲存單元240_1~240_M‧‧‧Second storage unit

第1圖為本發明之資料存取管理裝置的示意圖。Figure 1 is a schematic diagram of a data access management device of the present invention.

第2圖為本發明之另一資料存取管理裝置的示意圖。Figure 2 is a schematic diagram of another data access management device of the present invention.

第3圖為本發明之資料存取管理方法的流程圖。Figure 3 is a flow chart of the data access management method of the present invention.

第4圖為本發明之另一資料存取管理方法的流程圖。Figure 4 is a flow chart of another data access management method of the present invention.

第5圖為本發明之又一資料存取管理方法的流程圖。Figure 5 is a flow chart of still another data access management method of the present invention.

以下所列舉的各實施例中,將以相同的標號表示相同或相似的元件。In the following embodiments, the same or similar elements will be denoted by the same reference numerals.

請參考「第1圖」所示,其為本發明之資料存取管理裝置的示意圖。資料存取管理裝置100包括致能信號產生單元110、供電單元120、第一儲存單元130_1~130_N與第一處理單元140,其中N為大於等於1的正整述。Please refer to FIG. 1 , which is a schematic diagram of the data access management device of the present invention. The data access management device 100 includes an enable signal generating unit 110, a power supply unit 120, first storage units 130_1~130_N, and a first processing unit 140, where N is a positive or full description of one or more.

致能信號產生單元110用以依據第一處理信號,以產生致能信號。供電單元120耦接致能信號產生單元110,用以接收並依據致能信號,以產生電壓信號。進一步來說,供電單元120受控於致能信號,而提供電壓信號或不提供電壓信號,其中電壓信號又包括正常工作電壓與待機電壓。The enable signal generating unit 110 is configured to generate an enable signal according to the first processed signal. The power supply unit 120 is coupled to the enable signal generating unit 110 for receiving and according to the enable signal to generate a voltage signal. Further, the power supply unit 120 is controlled by the enable signal to provide a voltage signal or not to provide a voltage signal, wherein the voltage signal in turn includes a normal operating voltage and a standby voltage.

第一儲存單元130_1~130_N耦接供電單元120,用以各自儲存多筆資料,其中這些資料各自具有一存取時間。並且,這些資料之存取時間的日期大致上相同。另外,第一儲存單元130_1~130_N會依據電壓信號,而切換至待機狀態或禁能狀態。其中,當第一儲存單元130_1~130_N切換至待機狀態時,表示第一儲存單元130_1~130_N使用供電單元120提供的待機電壓進行運作,且處於待命的情況,以等待下一次的資料存取操作。 當第一儲存單元130_1~130_N切換至禁能狀態,表示供電單元120未提供電壓信號,則第一儲存單元130_1~130_N不運作。The first storage units 130_1~130_N are coupled to the power supply unit 120 for storing a plurality of pieces of data, each of which has an access time. Moreover, the dates of access to these materials are substantially the same. In addition, the first storage units 130_1~130_N switch to the standby state or the disabled state according to the voltage signal. When the first storage units 130_1~130_N are switched to the standby state, the first storage units 130_1~130_N are operated by using the standby voltage provided by the power supply unit 120, and are in standby state, waiting for the next data access operation. . When the first storage units 130_1~130_N are switched to the disabled state, indicating that the power supply unit 120 does not provide a voltage signal, the first storage units 130_1~130_N do not operate.

第一處理單元140耦接第一儲存單元130_1~130_N與致能信號產生單元110,用以讀取第一儲存單元130_1~130_N之資料的存取時間,並依據這些存取時間,計算資料已達一預設時間未被存取的比例。其中,此預設時間例如為1個月。而第一處理單元140會分別將這些資料的存取時間與此預設時間進行比對,以統計超過及未超過此預設時間的資料,而據以計算出資料已達此預設時間未被存取的比例。The first processing unit 140 is coupled to the first storage unit 130_1~130_N and the enable signal generating unit 110 for reading the access time of the data of the first storage unit 130_1~130_N, and calculating the data according to the access time. The ratio of a preset time that has not been accessed. The preset time is, for example, one month. The first processing unit 140 compares the access time of the data with the preset time to count the data exceeding and not exceeding the preset time, and according to the calculation, the data has reached the preset time. The proportion of being accessed.

在取得前述比例後,第一處理單元140會判斷此比例是否超過一預設比例。其中,此預設比例例如為儲存容量的90%。假設以第一儲存單元130_1為例。當判斷第一儲存單元130_1對應的比例超過預設比例時,表示第一儲存單元130_1內的資料已長時間未被存取,則處理單元140生第一處理信號,使得致能信號產生單元110對應產生致能信號,以控制供電單元120不提供電壓信號,進而控制第一儲存單元130進入禁能狀態。如此,可將長時間未進行資料存取之儲存單元的電力關閉,以有效避免電能的浪費。After the foregoing ratio is obtained, the first processing unit 140 determines whether the ratio exceeds a predetermined ratio. The preset ratio is, for example, 90% of the storage capacity. It is assumed that the first storage unit 130_1 is taken as an example. When it is determined that the ratio of the first storage unit 130_1 exceeds the preset ratio, indicating that the data in the first storage unit 130_1 has not been accessed for a long time, the processing unit 140 generates the first processing signal, so that the enable signal generating unit 110 Correspondingly, an enable signal is generated to control the power supply unit 120 not to provide a voltage signal, thereby controlling the first storage unit 130 to enter an disabled state. In this way, the power of the storage unit that has not accessed the data for a long time can be turned off to effectively avoid waste of electric energy.

當判斷第一儲存單元130_1對應的比例未超過預設比例,處理單元140產生第一處理信號,使得致能信號產生單元110對應產生致能信號,以控制供電單元120提供例如待機電壓的電壓信號,進而控制第一儲存單元130_1進入待機狀態。如此,第一儲存單元130_1仍使用待機電壓進行運作,且處於待命的情況,以等待下一次的資料存取操作。When it is determined that the ratio corresponding to the first storage unit 130_1 does not exceed the preset ratio, the processing unit 140 generates a first processing signal, so that the enable signal generating unit 110 generates an enable signal correspondingly to control the power supply unit 120 to provide a voltage signal such as a standby voltage. And further controlling the first storage unit 130_1 to enter a standby state. As such, the first storage unit 130_1 still operates using the standby voltage and is in a standby state to wait for the next data access operation.

進一步來說,當第一處理單元140接收到存取指令,例如 讀取第一儲存單元130_1的資料。接著,第一處理單元140依據存取指令,產生第一處理信號,使得致能信號產生單元110對應產生致能信號,以控制供電單元120提供例如工作電壓的電壓信號,進而控制第一儲存單元130_1進入待機狀態。當第一儲存單元130_1後,第一處理單元140便可對第一儲存單元130_1進行資料存取操作,亦即將第一儲存單元130的資料讀出。Further, when the first processing unit 140 receives an access instruction, for example The data of the first storage unit 130_1 is read. Then, the first processing unit 140 generates a first processing signal according to the access instruction, so that the enabling signal generating unit 110 generates an enable signal corresponding to the power supply unit 120 to provide a voltage signal, for example, an operating voltage, thereby controlling the first storage unit. 130_1 enters the standby state. After the first storage unit 130_1, the first processing unit 140 can perform a data access operation on the first storage unit 130_1, that is, read the data of the first storage unit 130.

請參考「第2圖」所示,其為本發明之另一資料存取管理裝置的示意圖。資料存取管理裝置200除了包括「第1圖」之致能信號產生單元110、供電單元120、第一儲存單元130_1~130_N與第一處理單元140外,還包括第一收發單元210、第二收發單元220、第二處理單元230、第二儲存單元240_1~240_M,其中M為大於等於1的正整數。另外,N與M可為相同或不同。Please refer to FIG. 2, which is a schematic diagram of another data access management device of the present invention. The data access management device 200 includes a first transceiver unit 210 and a second unit in addition to the activation signal generation unit 110, the power supply unit 120, the first storage units 130_1~130_N and the first processing unit 140. The transceiver unit 220, the second processing unit 230, and the second storage unit 240_1~240_M, wherein M is a positive integer greater than or equal to 1. In addition, N and M may be the same or different.

在本實施例中,致能信號產生單元110、供電單元120、第一儲存單元130_1~130_N與處理單元140的實施方式,可參考「第1圖」之實施例的說明,故在此不再贅述。並且,致能信號產生單元110、供電單元120、第一儲存單元130_1~130_N、第一處理單元140與第一收發單元210的組合例如可視為第一伺服器250,而第二收發單元220、第二處理單元230、第二儲存單元240_1~240_M的組合例如可視為第二伺服器260。而第一處理單元140的處理效能例如高於第二處理單元230的處理效能,亦即第一伺服器250為主要處理資料存取的裝置,而第二伺服器260則為備用處理資料存取的裝置。In this embodiment, the implementation manners of the enable signal generating unit 110, the power supply unit 120, the first storage units 130_1~130_N, and the processing unit 140 can be referred to the description of the embodiment of FIG. 1, and therefore no longer Narration. The combination of the enable signal generating unit 110, the power supply unit 120, the first storage units 130_1~130_N, the first processing unit 140 and the first transceiver unit 210 can be regarded as the first server 250, for example, and the second transceiver unit 220, The combination of the second processing unit 230 and the second storage units 240_1~240_M can be regarded as the second server 260, for example. The processing performance of the first processing unit 140 is, for example, higher than the processing performance of the second processing unit 230, that is, the first server 250 is the device that mainly processes the data access, and the second server 260 is the standby processing data access. s installation.

第一收發單元210耦接第一處理單元140。當第一處理單元 140判斷比例超過預設比例時,第一處理單元140除了產生第一處理信號,控制第一儲存單元130_1進入一禁能狀態外,第一處理單元140還進一步產生儲存命令,並將第一儲存單元130_1~130_N的資料,例如第一儲存單元130_1的資料讀出。接著,第一處理單元140可透過第一收發單元140,輸出前述儲存命令及資料。第二收發單元220耦接第一收發單元210,用以接收第一收發單元210所輸出的資料及儲存命令。在本實施例中,第一收發單元220與第一收發單元210可以有線或無線的方式進行耦接。The first transceiver unit 210 is coupled to the first processing unit 140. When the first processing unit When the first processing unit 140 controls the first storage unit 130_1 to enter an disabled state, the first processing unit 140 further generates a storage command and stores the first storage. The data of the units 130_1~130_N, for example, the data of the first storage unit 130_1 is read. Then, the first processing unit 140 can output the foregoing storage command and data through the first transceiver unit 140. The second transceiver unit 220 is coupled to the first transceiver unit 210 for receiving data and storage commands output by the first transceiver unit 210. In this embodiment, the first transceiver unit 220 and the first transceiver unit 210 can be coupled in a wired or wireless manner.

第二處理單元230耦接第二收發單元220,用以透過第二收發單元220接收前述儲存命令與第一儲存單元130_1的資料,並依據儲存命令,對第一儲存單元130_1的資料進行儲存操作。第二儲存單元240_1~240_M耦接第二處理單元230,用以儲存前述資料。在本實施例中,第二處理單元230可依據儲存命令,將第一儲存單元130_1的資料儲存至對應之第二儲存單元240_1~240_M其中之一,例如第二儲存單元240_1。The second processing unit 230 is coupled to the second transceiver unit 220 for receiving the storage command and the data of the first storage unit 130_1 through the second transceiver unit 220, and storing the data of the first storage unit 130_1 according to the storage command. . The second storage unit 240_1~240_M is coupled to the second processing unit 230 for storing the foregoing data. In this embodiment, the second processing unit 230 may store the data of the first storage unit 130_1 to one of the corresponding second storage units 240_1~240_M, for example, the second storage unit 240_1, according to the storage command.

另外,當第二處理單元230完成儲存操作時,將完成第一儲存單元130之資料備份的操作,第二處理單元230會產生回應信號。並且,回應信號會透過第二收發單元220及第一收發單元210傳送至第一處理單元140,以告知第一處理單元140,已將第一儲存單元130的資料備份完畢。In addition, when the second processing unit 230 completes the storage operation, the operation of backing up the data of the first storage unit 130 is completed, and the second processing unit 230 generates a response signal. The response signal is transmitted to the first processing unit 140 through the second transceiver unit 220 and the first transceiver unit 210 to inform the first processing unit 140 that the data of the first storage unit 130 has been backed up.

之後,第一處理單元140依據回應信號,將第一儲存單元130_1內的資料刪除,並產生第一處理信號,使得致能信號產生單元110產生致能信號,以控制供電單元120產生例如待機電壓的電壓信號,進而控制第一儲存單元130_1切換至待機狀態。也就是說,第一儲存單元130_1由禁能狀態恢復成待機狀態。如此,第一儲存單元130_1可使用待機電壓進行 運作,且處於待命的情況,以等待下一次的資料存取操作,進而維持第一伺服器250對於資料存取的效能。Thereafter, the first processing unit 140 deletes the data in the first storage unit 130_1 according to the response signal, and generates a first processing signal, so that the enable signal generating unit 110 generates an enable signal to control the power supply unit 120 to generate, for example, a standby voltage. The voltage signal, in turn, controls the first storage unit 130_1 to switch to the standby state. That is to say, the first storage unit 130_1 is restored from the disabled state to the standby state. As such, the first storage unit 130_1 can perform using a standby voltage. It operates and is on standby to wait for the next data access operation, thereby maintaining the performance of the first server 250 for data access.

此外,當第二處理單元230完成儲存操作時,第二處理單元230還可控制已儲存第一儲存單元130_1之資料的第二儲存單元240_1~240_M,例如第二儲存單元240_1進入禁能狀態。如此,將可避免電能的浪費。In addition, when the second processing unit 230 completes the storage operation, the second processing unit 230 may also control the second storage units 240_1~240_M that have stored the data of the first storage unit 130_1, for example, the second storage unit 240_1 enters the disabled state. In this way, the waste of electrical energy will be avoided.

藉由前述實施例的說明,可以歸納出一種資料存取管理方法。請參考「第3圖」所示,其為本發明之資料存取管理方法的流程圖。本實施例之資料存取管理方法例如適於「第1圖」所示之資料存取管理裝置,此資料存取管理裝置具有第一處理單元與至少一第一儲存單元。在步驟S310中,透過第一處理單元,讀取至少一第一儲存單元的多筆資料,其中前述資料各自具有儲存時間。A method of data access management can be summarized by the description of the foregoing embodiments. Please refer to FIG. 3, which is a flowchart of the data access management method of the present invention. The data access management method of the present embodiment is suitable, for example, for the data access management device shown in "FIG. 1". The data access management device has a first processing unit and at least one first storage unit. In step S310, the plurality of pieces of data of the at least one first storage unit are read by the first processing unit, wherein the foregoing materials each have a storage time.

在步驟S320中,透過第一處理單元,依據儲存時間,計算資料已達預設時間未被存取的比例。在步驟S330中,透過第一處理單元,判斷比例是否超過預設比例。當判斷比例超過預設比例時,進入步驟S340,透過第一處理單元,控制至少一第一儲存單元進入禁能狀態。在步驟S350中,當判斷比例未超過預設比例時,透過第一處理單元,控制至少一第一儲存單元進入待機狀態。In step S320, through the first processing unit, according to the storage time, the proportion of the data that has not been accessed by the preset time is calculated. In step S330, it is determined by the first processing unit whether the ratio exceeds a preset ratio. When the ratio exceeds the preset ratio, the process proceeds to step S340, and the at least one first storage unit is controlled to enter the disabled state by the first processing unit. In step S350, when the determination ratio does not exceed the preset ratio, the at least one first storage unit is controlled to enter the standby state through the first processing unit.

請參考「第4圖」所示,其為本發明之另一實施例之資料存取管理方法的流程圖。本實施例之資料存取管理方法例如適於「第1圖」所示之資料存取管理裝置,此資料存取管理裝置具有第一處理單元與至少一第一儲存單元。在步驟S410中,透過第一處理單元,讀取至少一第一儲 存單元的多筆資料,其中前述資料各自具有儲存時間。Please refer to FIG. 4, which is a flowchart of a data access management method according to another embodiment of the present invention. The data access management method of the present embodiment is suitable, for example, for the data access management device shown in "FIG. 1". The data access management device has a first processing unit and at least one first storage unit. In step S410, at least one first storage is read through the first processing unit. A plurality of data of the storage unit, wherein each of the foregoing materials has a storage time.

在步驟S420中,透過第一處理單元,依據儲存時間,計算資料已達預設時間未被存取的比例。在步驟S430中,透過第一處理單元,判斷比例是否超過預設比例。當判斷比例超過預設比例時,進入步驟S440透過第一處理單元,控制至少一第一儲存單元進入禁能狀態。另一方面,當判斷比例未超過預設比例時,進入步驟S450,透過第一處理單元,控制至少一第一儲存單元進入一待機狀態。In step S420, through the first processing unit, according to the storage time, the proportion of the data that has not been accessed by the preset time is calculated. In step S430, it is determined by the first processing unit whether the ratio exceeds a preset ratio. When the ratio exceeds the preset ratio, the process proceeds to step S440 to control the at least one first storage unit to enter the disabled state through the first processing unit. On the other hand, when the determination ratio does not exceed the preset ratio, the process proceeds to step S450, and the at least one first storage unit is controlled to enter a standby state through the first processing unit.

另外,當判斷比例未超過預設比例,還進一步進入步驟S460中,透過第一處理單元,判斷是否接收存取指令。當判斷未接收到存取指令時,則回到步驟S470,以持續判斷是否接收存取指令。另一方面,當判斷接收存取指令時,則進入步驟S480,透過第一處理單元依據存取指令,控制至少一第一儲存單元切換至工作狀態,以對至少一第一儲存單元進行資料存取操作。之後,當對至少一第一儲存單元進行資料存取操作後,還可進一步回到步驟S410,進而再次進行上述的流程,以持續對至少一第一儲存單元的存取狀態進行控管。In addition, when the determination ratio does not exceed the preset ratio, the process further proceeds to step S460, and it is determined whether the access command is received through the first processing unit. When it is judged that the access instruction has not been received, it returns to step S470 to continuously judge whether or not the access instruction is received. On the other hand, when it is determined that the access command is received, the process proceeds to step S480, and the first processing unit controls the at least one first storage unit to switch to the working state according to the access command, so as to store data for the at least one first storage unit. Take the operation. Then, after the data access operation is performed on the at least one first storage unit, the process may further be returned to step S410, and the foregoing process is performed again to continuously control the access state of the at least one first storage unit.

請參考「第5圖」所示,其為本發明之資料存取管理方法的流程圖。本實施例之資料存取管理方法例如適於「第2圖」所示之資料存取管理裝置,此資料存取管理裝置具有第一處理單元、至少一第一儲存單元、第二處理單元與至少一第二儲存單元。在步驟S502中,透過第一處理單元,讀取至少一第一儲存單元的多筆資料,其中前述資料各自具有儲存時間。Please refer to FIG. 5, which is a flowchart of the data access management method of the present invention. The data access management method of the present embodiment is adapted, for example, to the data access management device shown in FIG. 2, the data access management device having a first processing unit, at least one first storage unit, and a second processing unit. At least one second storage unit. In step S502, the plurality of pieces of data of the at least one first storage unit are read by the first processing unit, wherein the foregoing materials each have a storage time.

在步驟S504中,透過第一處理單元,依據儲存時間,計算 資料已達預設時間未被存取的比例。在步驟S506中,透過第一處理單元,判斷比例是否超過預設比例。當判斷比例超過預設比例時,進入步驟S508透過第一處理單元,控制至少一第一儲存單元進入禁能狀態。當判斷比例未超過預設比例時,進入步驟S510,透過第一處理單元,控制至少一第一儲存單元進入一待機狀態。In step S504, the first processing unit is used to calculate according to the storage time. The data has reached the proportion that the preset time has not been accessed. In step S506, it is determined by the first processing unit whether the ratio exceeds a preset ratio. When the ratio exceeds the preset ratio, the process proceeds to step S508 to control the at least one first storage unit to enter the disabled state through the first processing unit. When the determination ratio does not exceed the preset ratio, the process proceeds to step S510, and the at least one first storage unit is controlled to enter a standby state through the first processing unit.

當判斷比例超過預設比例的同時,還可進一步進入步驟S512,透過第一處理單元,產生儲存命令,並將至少一第一儲存單元的資料讀出,且輸出儲存命令與資料。在步驟S514中,透過第二處理單元,接收儲存命令與資料。在步驟S516中,第二處理單元依據儲存命令,對資料進行儲存操作,以將資料儲存至至少一第二儲存單元。當第二處理單元完成儲存操作時,進入步驟S518,透過第二處理單元,產生一回應信號至第一處理單元。在步驟S520中,第一處理單元依據回應信號,控制至少一第一儲存單元切換至待機狀態。在步驟S522,透過第二控制單元,控制儲存至少一第一儲存單元之資料的至少一第二儲存單元進入禁能狀態。When the ratio exceeds the preset ratio, the method further proceeds to step S512. The first processing unit generates a storage command, reads the data of the at least one first storage unit, and outputs the storage command and the data. In step S514, the storage command and the data are received through the second processing unit. In step S516, the second processing unit performs a storage operation on the data according to the storage command to store the data to the at least one second storage unit. When the second processing unit completes the storage operation, the process proceeds to step S518, and a response signal is generated to the first processing unit through the second processing unit. In step S520, the first processing unit controls the at least one first storage unit to switch to the standby state according to the response signal. In step S522, the at least one second storage unit that stores the data of the at least one first storage unit is controlled to enter the disabled state through the second control unit.

本發明之實施例所提出的資料存取管理裝置及方法,其藉由第一處理單元讀取至少一第一儲存單元之資料的存取時間,並依據這些存取時間,判斷這些資料已達一預設時間未被存取的比例是否超過一預定比例,而據以透過致能信號產生單元以及充電單元,控制至少一第一儲存單元進入待機狀態或進能狀態。另外,當前述比例超過預定比例時,第一處理單元還可進一步將至少一第一儲存單元之資料讀出,並透過第二處理單元轉存至至少一第二儲存單元。如此一來,可有效地管理儲存單元的電能使用狀態,以避免電能的浪費,以及維持儲存資料的處理效能。The data access management apparatus and method according to the embodiment of the present invention, the first processing unit reads the access time of the data of the at least one first storage unit, and according to the access time, determines that the data has reached Whether the ratio of a predetermined time is not accessed exceeds a predetermined ratio, and the at least one first storage unit is controlled to enter a standby state or a power-on state by the enable signal generating unit and the charging unit. In addition, when the foregoing ratio exceeds a predetermined ratio, the first processing unit may further read the data of the at least one first storage unit and transfer the data to the at least one second storage unit through the second processing unit. In this way, the power usage state of the storage unit can be effectively managed to avoid waste of power and maintain the processing performance of the stored data.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧資料存取管理裝置100‧‧‧Data access management device

110‧‧‧致能信號產生單元110‧‧‧Enable signal generating unit

120‧‧‧供電單元120‧‧‧Power supply unit

130_1~130_N‧‧‧第一儲存單元130_1~130_N‧‧‧First storage unit

140‧‧‧第一處理單元140‧‧‧First Processing Unit

Claims (6)

一種資料存取管理裝置,包括:一致能信號產生單元,用以依據一第一處理信號,以產生一致能信號;一供電單元,耦接該致能信號產生單元,用以接收並依據該致能信號,以產生一電壓信號;至少一第一儲存單元,耦接該供電單元,用以儲存多筆資料,且依據該電壓信號,而切換至一待機狀態或一禁能狀態,其中該些筆資料各自具有一存取時間;一第一處理單元,耦接該至少一第一儲存單元與該致能信號產生單元,用以讀取該些存取時間,並依據該些存取時間,計算該些筆資料已達一預設時間未被存取的一比例,且該第一處理單元判斷該比例是否超過一預設比例,當判斷該比例超過該預設比例,該處理單元產生該第一處理信號,以控制該至少一第一儲存單元進入該禁能狀態,當判斷該比例未超過該預設比例,該處理單元產生該第一處理信號,以控制該至少一第一儲存單元進入該待機狀態;一第一收發單元,耦接該第一處理單元,用以當該第一處理單元判斷該比例超過該預設比例時,該第一處理單元產生一儲存命令,並將該至少一第一儲存單元的該些筆資料讀出,且該第一收發單元輸出該儲存命令及該些筆資料;一第二收發單元,耦接該第一收發單元;一第二處理單元,耦接該第二收發單元,用以接收該儲存命令與該 些筆資料,並依據該儲存命令,對該些筆資料進行一儲存操作;以及至少一第二儲存單元,耦接該第二處理單元,用以儲存該些筆資料;其中,當該第二處理單元完成該儲存操作時,產生一回應信號,且該回應信號透過該第二收發單元及該第一收發單元傳送至該第一處理單元,該第一處理單元依據該回應信號,產生該第一處理信號,以控制該至少一第一儲存單元切換至該待機狀態。 A data access management device includes: a uniform energy signal generating unit for generating a uniform energy signal according to a first processing signal; a power supply unit coupled to the enable signal generating unit for receiving and receiving the signal The signal can be generated to generate a voltage signal; the at least one first storage unit is coupled to the power supply unit for storing a plurality of data, and switching to a standby state or a disabled state according to the voltage signal, wherein the Each of the pen data has an access time; a first processing unit is coupled to the at least one first storage unit and the enable signal generating unit for reading the access times, and according to the access times, Calculating a proportion of the pen data that has not been accessed for a preset time, and the first processing unit determines whether the ratio exceeds a preset ratio, and when determining that the ratio exceeds the preset ratio, the processing unit generates the The first processing signal is configured to control the at least one first storage unit to enter the disabled state, and when it is determined that the ratio does not exceed the preset ratio, the processing unit generates the first processing signal to The at least one first storage unit is in the standby state; the first transceiver unit is coupled to the first processing unit, and configured to: when the first processing unit determines that the ratio exceeds the preset ratio, the first processing unit Generating a storage command, and reading the pen data of the at least one first storage unit, and the first transceiver unit outputs the storage command and the pen data; and a second transceiver unit coupled to the first transceiver a second processing unit coupled to the second transceiver unit for receiving the storage command and the And storing the data according to the storage command; and storing at least one second storage unit coupled to the second processing unit for storing the pen data; wherein, the second When the processing unit completes the storing operation, a response signal is generated, and the response signal is transmitted to the first processing unit through the second transceiver unit and the first transceiver unit, and the first processing unit generates the first according to the response signal. And processing a signal to control the at least one first storage unit to switch to the standby state. 如請求項1所述之資料存取管理裝置,其中該第一處理單元更接收一存取指令,並依據該存取指令,產生該第一處理信號,以控制該至少一第一儲存單元切換至一工作狀態,進而對該至少一第一儲存單元進行一資料存取操作。 The data access management device of claim 1, wherein the first processing unit further receives an access instruction, and according to the access instruction, generates the first processing signal to control the switching of the at least one first storage unit. In a working state, a data access operation is performed on the at least one first storage unit. 如請求項1所述之資料存取管理裝置,其中當該第二處理單元完成該儲存操作時,該第二處理單元更控制儲存該些筆資料之該至少一第二儲存單元進入該禁能狀態。 The data access management device of claim 1, wherein when the second processing unit completes the storing operation, the second processing unit further controls the at least one second storage unit storing the pen data to enter the ban status. 一種資料存取管理方法,適於一資料存取管理裝置,該資料存取管理裝置具有一第一處理單元、至少一第一儲存單元、一第二處理單元與至少一第二儲存單元,該資料存取管理方法包括:透過該第一處理單元,讀取至少一第一儲存單元的多筆資料,其中該些筆資料各自具有一儲存時間;透過該第一處理單元,依據該些儲存時間,計算該些筆資料已達一預設時間未被存取的一比例;透過該第一處理單元,判斷該比例是否超過一預設比例; 當判斷該比例超過該預設比例時,透過該第一處理單元,控制該至少一第一儲存單元進入一禁能狀態;當判斷該比例未超過該預設比例時,透過該第一處理單元,控制該至少一第一儲存單元進入一待機狀態;透過該第一處理單元,產生一儲存命令,並將該至少一第一儲存單元的該些筆資料讀出,且輸出該儲存命令與該些筆資料;透過該第二處理單元,接收該儲存命令與該些筆資料;該第二處理單元依據該儲存命令,對該些筆資料進行一儲存操作,以將該些筆資料儲存至該至少一第二儲存單元;透過該第二處理單元,產生一回應信號至該第一處理單元;以及該第一處理單元依據該回應信號,控制該至少一第一儲存單元切換至該待機狀態。 A data access management method is provided for a data access management device having a first processing unit, at least one first storage unit, a second processing unit, and at least one second storage unit. The data access management method includes: reading, by the first processing unit, a plurality of data of at least one first storage unit, wherein each of the pen data has a storage time; and the first processing unit is configured to perform, according to the storage time Calculating, by the first processing unit, whether the ratio exceeds a preset ratio; When it is determined that the ratio exceeds the preset ratio, the at least one first storage unit is controlled to enter a disabled state by using the first processing unit; and when the ratio is determined not to exceed the preset ratio, the first processing unit is Controlling the at least one first storage unit to enter a standby state; generating, by the first processing unit, a storage command, reading the pen data of the at least one first storage unit, and outputting the storage command and the Receiving the storage command and the pen data through the second processing unit; the second processing unit performs a storage operation on the pen data according to the storage command to store the pen data to the At least one second storage unit; generating, by the second processing unit, a response signal to the first processing unit; and the first processing unit controlling the at least one first storage unit to switch to the standby state according to the response signal. 如請求項4所述之資料存取管理方法,更包括:透過該第一處理單元,判斷是否接收一存取指令;當判斷未接收到該存取指令時,則回到透過該第一處理單元,判斷是否接收該存取指令的步驟;以及當判斷接收該存取指令時,該第一處理單元依據該存取指令,控制該至少一第一儲存單元切換至一工作狀態,以對該至少一第一儲存單元進行一資料存取操作。 The data access management method of claim 4, further comprising: determining, by the first processing unit, whether an access command is received; and when determining that the access command is not received, returning to the first processing a unit, determining whether to receive the access instruction; and when determining to receive the access instruction, the first processing unit controls the at least one first storage unit to switch to a working state according to the access instruction, to At least one first storage unit performs a data access operation. 如請求項4所述之資料存取管理方法,更包括:透過第二控制單元,控制儲存該至少一第一儲存單元之該些筆資料 的該至少一第二儲存單元進入該禁能狀態。The data access management method of claim 4, further comprising: controlling, by the second control unit, storing the pen data of the at least one first storage unit The at least one second storage unit enters the disabled state.
TW102146630A 2013-12-17 2013-12-17 Data access management apparatus and method TWI501077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102146630A TWI501077B (en) 2013-12-17 2013-12-17 Data access management apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102146630A TWI501077B (en) 2013-12-17 2013-12-17 Data access management apparatus and method

Publications (2)

Publication Number Publication Date
TW201525678A TW201525678A (en) 2015-07-01
TWI501077B true TWI501077B (en) 2015-09-21

Family

ID=54197630

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102146630A TWI501077B (en) 2013-12-17 2013-12-17 Data access management apparatus and method

Country Status (1)

Country Link
TW (1) TWI501077B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774292A (en) * 1995-04-13 1998-06-30 International Business Machines Corporation Disk drive power management system and method
US5961613A (en) * 1995-06-07 1999-10-05 Ast Research, Inc. Disk power manager for network servers
US20110264854A1 (en) * 2009-03-24 2011-10-27 Hitachi, Ltd. Storage system
TWI386924B (en) * 2009-06-12 2013-02-21 Inventec Corp Hard disk system and accessing method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774292A (en) * 1995-04-13 1998-06-30 International Business Machines Corporation Disk drive power management system and method
US5961613A (en) * 1995-06-07 1999-10-05 Ast Research, Inc. Disk power manager for network servers
US20110264854A1 (en) * 2009-03-24 2011-10-27 Hitachi, Ltd. Storage system
TWI386924B (en) * 2009-06-12 2013-02-21 Inventec Corp Hard disk system and accessing method of the same

Also Published As

Publication number Publication date
TW201525678A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
KR102547376B1 (en) Electronic apparatus, method for controlling charge and computer-readable recording medium
US8695008B2 (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN101211212B (en) Apparatus and methodfor processing information
TWI556089B (en) Dynamic power supply unit rail switching
JP6113538B2 (en) Control device, control method, program, and semiconductor device
EP3198361B1 (en) Hardware controlled power domains with automatic power on request
RU2015113982A (en) IMAGE FORMING DEVICE, HOST DEVICE AND APPROPRIATE METHOD FOR PERFORMING AN IMAGE FORMING TASK
JP2013257717A5 (en)
CN103593145A (en) Computer system and storage device management method thereof
JP2016520232A (en) Power adapter detection
TW201413440A (en) Method for controlling power mode switching
TWI501077B (en) Data access management apparatus and method
JP5262633B2 (en) Power supply switching control circuit, image forming apparatus, power supply switching control method, and computer program
CN101221513A (en) Equipment, method computer program and recording medium for processing information
JP2012173814A5 (en) Information processing apparatus and control method and program for controlling information processing apparatus
JP6070321B2 (en) Portable information terminal, control method, control program
US10228882B2 (en) Semiconductor device and memory access control method
JP5353624B2 (en) Robot control apparatus and robot control method
JP2015014825A (en) Power supply control device, electrical device, and image forming device
JP6312837B2 (en) Reducing power consumption in computing devices
JP2010231548A (en) Disk array device and backup method
CN106560761A (en) Computer system and method for providing both main power and auxiliary power on a single power bus
JP2018015914A5 (en)
WO2015151169A1 (en) Control device and electronic apparatus
US8823327B2 (en) Electrical device and battery management method thereof

Legal Events

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