TW201447603A - On-line synchronous backup system method and device thereof - Google Patents
On-line synchronous backup system method and device thereof Download PDFInfo
- Publication number
- TW201447603A TW201447603A TW102120080A TW102120080A TW201447603A TW 201447603 A TW201447603 A TW 201447603A TW 102120080 A TW102120080 A TW 102120080A TW 102120080 A TW102120080 A TW 102120080A TW 201447603 A TW201447603 A TW 201447603A
- Authority
- TW
- Taiwan
- Prior art keywords
- memory
- memory module
- iop
- input
- output processor
- Prior art date
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Power Sources (AREA)
Abstract
Description
本發明係有關於一種備份系統構成,尤指一種可線上同步的(run-time synchronization)將主記憶體資料儲存到記憶體模組,並於復電時自動將主記憶體資料完成復原狀態之線上同步備份系統方法及其裝置。 The invention relates to a backup system, in particular to a run-time synchronization, which stores main memory data into a memory module, and automatically restores the main memory data during the power-on. Online synchronous backup system method and device thereof.
按,現行電子產業蓬勃發展,各式電子裝置盛行,如桌上型電腦、筆記型電腦、平板電腦、行動電話、個人數位助理等等,已成為現代人工作、生活上不可或缺之工具,而由於此類電子裝置通常具有儲存設備,如記憶體、硬碟等,但對於正在處理中之資料,若系統發生不正常斷電時,儲存在主記憶體中的資料也將消失,常造成使用者之困擾。而為防止系統發生不正常斷電時主記憶體資料之遺失,雖可利用電池備援或不斷電系統(UPS),但其可維持資料的時間仍是有限,顯非理想之方式;再者,不斷電系統(UPS)需要較大之設備,同時其成本及耗電也較大,並不符經濟效益之需求,亦有一併加以改良之必要。因此,如何解決習知不正常斷電時之備份系統架構該等缺失問題,誠是業者應加以研發、突破之重點方向。 According to the current boom in the electronics industry, various electronic devices such as desktop computers, notebook computers, tablet computers, mobile phones, personal digital assistants, etc. have become indispensable tools for modern people to work and live. Since such electronic devices usually have storage devices, such as memory and hard disks, if the system is being processed abnormally, if the system is abnormally powered off, the data stored in the main memory will also disappear, often resulting in User troubles. In order to prevent the loss of the main memory data when the system is abnormally powered off, although the battery backup or the uninterruptible power system (UPS) can be used, the time for maintaining the data is still limited, which is not the ideal way; The UPS needs a large amount of equipment, and its cost and power consumption are also large. It does not meet the needs of economic benefits, and it is necessary to improve it. Therefore, how to solve the problem of the lack of backup system architecture in the case of abnormal power failure is a key direction for the industry to develop and break through.
緣此,本發明人有鑑於習知備份系統處理構成、方法使用上之缺失問題及其結構設計上未臻理想之事實,本案發明人即著手研發構思其解決方案,希望能開發出一種更具便利性、安全性及經濟效益性之線上同步備份系統方法及其裝置,以服務社會大眾及促進此業之發展,遂經多時之構思而有本發明之產生。 Therefore, the present inventors have in view of the conventional backup system processing composition, the lack of use of the method, and the fact that the structural design is not ideal, the inventor of the present invention started to develop and conceive its solution, hoping to develop a more The online synchronous backup system method and apparatus for convenience, security and economic efficiency, in order to serve the public and promote the development of the industry, the invention has been produced by the concept of a long time.
本發明之目的在提供一種線上同步備份系統方法及其裝置,其能使處理中之主記憶體資料同時儲存於至少一預設裝置中,當電源不預期斷電時,將把該主記憶體資料寫入一非揮發性的儲存裝置,讓主記 憶體資料可以永久保存,且使當電源供應恢復時,主記憶體資料可從該預設裝置回存至系統,使主記憶體資料完成復原狀態,讓系統接續正常工作。 The object of the present invention is to provide an online synchronous backup system method and device thereof, which can simultaneously store main memory data in a process in at least one preset device, and when the power source is not expected to be powered off, the main memory will be Data is written into a non-volatile storage device, so that the main record The memory data can be permanently saved, and when the power supply is restored, the main memory data can be restored from the preset device to the system, so that the main memory data is restored, and the system continues to work normally.
本發明為了達成上述目的,其所採用之技術方法包括有:(1)一主機將該主機之主記憶體資料通過一輸入輸出處理器(IOP)線上同步儲存到一第一記憶體模組;(2)該主機電力中斷時,該輸入輸出處理器(IOP)令該第一記憶體模組將該主記憶體資料存入該輸入輸出處理器(IOP);(3)該輸入輸出處理器(IOP)將所存入之該主記憶體資料儲存到一第二記憶體模組;(4)該主機電力恢復時,該輸入輸出處理器(IOP)令該第二記憶體模組將該主記憶體資料通過該輸入輸出處理器(IOP)儲存到該第一記憶體模組;(5)將該第一記憶體模組所存入之該主記憶體資料儲存於該主機,使該主機上的該主記憶體資料產生復原。 In order to achieve the above object, the technical method adopted by the present invention includes: (1) a host synchronously storing the main memory data of the host through an input/output processor (IOP) line to a first memory module; (2) when the host power is interrupted, the input/output processor (IOP) causes the first memory module to store the main memory data into the input/output processor (IOP); (3) the input/output processor (IOP) storing the stored main memory data to a second memory module; (4) when the host power is restored, the input/output processor (IOP) causes the second memory module to The main memory data is stored in the first memory module through the input/output processor (IOP); (5) storing the main memory data stored in the first memory module in the host, so that the The main memory data on the host is restored.
本發明之技術手段係進一步包括有:一第一記憶體模組,其係包括有至少一揮發性記憶體;一輸入輸出處理器,係電性連接該第一記憶體模組,該輸入輸出處理器係至少包括有一快取記憶體;一第二記憶體模組,係電性連接該輸入輸出處理器,該第二記憶體模組係包括有至少一非揮發性記憶體;一蓄電池,係電性連接該第一記憶體模組、該輸入輸出處理器及該第二記憶體模組,用以提供電源。 The technical means of the present invention further includes: a first memory module including at least one volatile memory; an input/output processor electrically connected to the first memory module, the input and output The processor system includes at least one cache memory; a second memory module electrically connected to the input/output processor, the second memory module includes at least one non-volatile memory; and a battery. The first memory module, the input/output processor and the second memory module are electrically connected to provide power.
茲為使 貴審查委員對本發明之技術特徵及所達成之功效更有進一步之了解與認識,謹佐以較佳之實施例圖及配合詳細之說明,說明如後: In order to give the reviewer a better understanding and understanding of the technical features of the present invention and the efficacies achieved, the following is a description of the preferred embodiment and a detailed description.
1‧‧‧同步備份裝置 1‧‧‧Synchronous backup device
12‧‧‧第一記憶體模組 12‧‧‧First memory module
14‧‧‧輸入輸出處理器 14‧‧‧Input and output processor
16‧‧‧第二記憶體模組 16‧‧‧Second memory module
18‧‧‧蓄電池 18‧‧‧Battery
20‧‧‧傳輸介面 20‧‧‧Transport interface
30‧‧‧主機 30‧‧‧Host
S101‧‧‧一主機將該主機之主記憶體資料通過一輸入輸出處理器(IOP)線上同步的儲存到一第一記憶體模組 S101‧‧‧ a host stores the main memory data of the host through a serial input/output processor (IOP) to a first memory module
S102‧‧‧該主機電力中斷時,該輸入輸出處理器(IOP)令該第一記憶體模組將該主記憶體資料存入該輸入輸出處理器(IOP) S102‧‧‧ When the host power is interrupted, the input/output processor (IOP) causes the first memory module to store the main memory data into the input/output processor (IOP)
S103‧‧‧該輸入輸出處理器(IOP)將所存入之該主記憶體資料儲存到一第二記憶體模組 S103‧‧‧ The input/output processor (IOP) stores the stored main memory data into a second memory module
S104‧‧‧該主機電力恢復時,該輸入輸出處理器(IOP)令該第二記憶體模組將該主記憶體資料通過該輸入輸出處理器(IOP)儲存到該第一記憶體模組 S104‧‧‧ When the host power is restored, the input/output processor (IOP) causes the second memory module to store the main memory data to the first memory module through the input/output processor (IOP)
S105‧‧‧將該第一記憶體模組所存入之該主記憶體資料儲存於該主機,使該主機上的該主記憶體資料產生復原 S105‧‧‧ storing the main memory data stored in the first memory module in the host, and restoring the main memory data on the host
第1圖為本發明之構成示意圖。 Figure 1 is a schematic view showing the structure of the present invention.
第2圖為本發明之方法步驟流程示意圖。 Figure 2 is a schematic flow chart showing the steps of the method of the present invention.
請參閱第1圖,用以說明本發明線上同步備份裝置之構成,該同步備份裝置1係包括有一第一記憶體模組12、輸入輸出處理器14(IOP)、第二記憶體模組16及蓄電池18;該第一記憶體模組12係可包括有一DIMM模組(Dual In-line Memory Module,雙列直插式記憶體模組),該DIMM模組係用以設置至少一揮發性記憶體,該揮發性記憶體可為 DRAM(Dynamic Random Access Memory/動態存取記憶體)、SDRAM(Synchronous Dynamic RAM/同步動態隨機存取記憶體)、DDR(DoubleDataRate/雙通道記憶體)、DDR2、DDR3等,換言之,該第一記憶體模組12係為一揮發性記憶體模組,在較佳之實施方式中,該第一記憶體模組12(揮發性記憶體)之記憶體容量係大於8GB。該輸入輸出處理器14(Input/Output processor/IOP)係電性連接該第一記憶體模組12,該輸入輸出處理器14(IOP)係至少包括有一快取記憶體(Cache RAM)及相關韌體(Firmware/未圖示),該輸入輸出處理器14(IOP)亦可包括一其他記憶體。該第二記憶體模組16係電性連接該輸入輸出處理器14(IOP),該第二記憶體模組16係包括有至少一非揮發性記憶體,該非揮發性記憶體如SATA DOM(SATA Disk On Module,SATA介面固態硬碟)、SSD(Solid State Disk固態硬碟)等,在較佳實施方式中,該第二記憶體模組16(非揮發性記憶體)之記憶體容量係大於8GB。該蓄電池18係電性連接該第一記憶體模組12、輸入輸出處理器14(IOP)及第二記憶體模組16,用以提供電源;當該同步備份裝置1連接一主機(未圖示)時,該蓄電池18係通過該主機進行蓄電。 Please refer to FIG. 1 for illustrating the composition of the online synchronous backup device of the present invention. The synchronous backup device 1 includes a first memory module 12, an input/output processor 14 (IOP), and a second memory module 16 . And the battery 18; the first memory module 12 can include a DIMM module (Dual In-line Memory Module), and the DIMM module is configured to set at least one volatile Memory, the volatile memory can be DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic RAM), DDR (DoubleDataRate), DDR2, DDR3, etc., in other words, the first memory The body module 12 is a volatile memory module. In a preferred embodiment, the memory capacity of the first memory module 12 (volatile memory) is greater than 8 GB. The input/output processor (IOP) is electrically connected to the first memory module 12, and the input/output processor 14 (IOP) includes at least one cache memory (Cache RAM) and related Firmware (not shown), the input/output processor 14 (IOP) may also include a further memory. The second memory module 16 is electrically connected to the input/output processor 14 (IOP), and the second memory module 16 includes at least one non-volatile memory such as a SATA DOM ( SATA Disk On Module, SATA interface solid state drive, SSD (Solid State Disk), etc. In a preferred embodiment, the memory capacity of the second memory module 16 (non-volatile memory) More than 8GB. The battery 18 is electrically connected to the first memory module 12, the input/output processor 14 (IOP) and the second memory module 16 for providing power; when the synchronous backup device 1 is connected to a host (not shown) In the case of the battery, the battery 18 is stored by the host.
該同步備份裝置1係包括有一傳輸介面20,該傳輸介面20係電性連接該輸入輸出處理器14(IOP),該同步備份裝置1可內建於一主機30內,或外接於一主機30;當該同步備份裝置1係內建於一主機30內時,該同步備份裝置1係藉該傳輸介面20電性連接於該主機30之主機板(未圖式);當該同步備份裝置1係外接於一主機30時,該同步備份裝置1係藉該傳輸介面20連接於外部之該主機30;該主機30係設有DRAM記憶體(未圖式),用以儲存主記憶體資料。而該傳輸介面20係為一高速傳輸介面(內建或外接),如PCI-E(Peripheral Component Interconnect Express,快速外部控制器接口)、SAS(Serial Attached SCSI,串列SCSI接口)、FC(Fibre Channel,光纖通道)等傳輸介面。請一併參閱第2圖,用以說明本發明線上同步備份系統方法,其步驟係包括:步驟一(S101):一主機將該主機之主記憶體資料通過一輸入輸出處理器14(IOP)線上同步的(run-time synchronization)儲存到一第一記憶體模組12;即該主機30於作業時,其所內建或外接之同步備份裝置1將同 步產生運作,使得該主機30將主記憶體資料,通過該輸入輸出處理器14(IOP),線上同步的(run-time synchronization)傳輸並儲存到該第一記憶體模組12所屬之揮發性記憶體上,如DRAM、SDRAM、DDR、DDR2或DDR3等上。其中,該主記憶體資料係經由一傳輸介面20,傳輸到該輸入輸出處理器14(IOP),然後再傳輸到該第一記憶體模組12並儲存。 The synchronous backup device 1 includes a transmission interface 20, and the transmission interface 20 is electrically connected to the input/output processor 14 (IOP). The synchronous backup device 1 can be built in a host 30 or externally connected to a host 30. When the synchronous backup device 1 is built in a host 30, the synchronous backup device 1 is electrically connected to the motherboard (not shown) of the host 30 by the transmission interface 20; when the synchronous backup device 1 is used; When the external host is connected to a host 30, the synchronous backup device 1 is connected to the external host 30 through the transmission interface 20; the host 30 is provided with a DRAM memory (not shown) for storing the main memory data. The transmission interface 20 is a high-speed transmission interface (built-in or external), such as PCI-E (Peripheral Component Interconnect Express), SAS (Serial Attached SCSI), FC (Fibre). Channel, Fibre Channel) and other transmission interfaces. Please refer to FIG. 2 for explaining the online synchronous backup system method of the present invention. The steps include: Step 1 (S101): A host passes the host's main memory data through an input/output processor 14 (IOP). The run-time synchronization is stored in a first memory module 12; that is, when the host 30 is in operation, the synchronous backup device 1 built in or externally is the same The step generation operation causes the host 30 to transfer the main memory data through the input/output processor 14 (IOP), run-time synchronization, and store the volatiles to the first memory module 12 On memory, such as DRAM, SDRAM, DDR, DDR2 or DDR3. The main memory data is transmitted to the input/output processor 14 (IOP) via a transmission interface 20, and then transmitted to the first memory module 12 and stored.
步驟二(S102):該主機電力中斷時,該輸入輸出處理器14(IOP)令該第一記憶體模組12將該主記憶體資料存入該輸入輸出處理器14(IOP);即於電力中斷時,該輸入輸出處理器14(IOP)令該第一記憶體模組12將該主記憶體資料存入該輸入輸出處理器14(IOP)所屬之快取記憶體(Cache RAM)或其他記憶體。 Step 2 (S102): when the host power is interrupted, the input/output processor 14 (IOP) causes the first memory module 12 to store the main memory data into the input/output processor 14 (IOP); When the power is interrupted, the input/output processor 14 (IOP) causes the first memory module 12 to store the main memory data into the cache memory (Cache RAM) to which the input/output processor 14 (IOP) belongs or Other memory.
步驟三(S103):該輸入輸出處理器14(IOP)將所存入之該主記憶體資料儲存到一第二記憶體模組16;即該輸入輸出處理器14(IOP)繼將所存入之該主記憶體資料再傳輸儲存到該第二記憶體模組16,如此,藉該第二記憶體模組16所屬之非揮發性記憶體(如SATA DOM、SSD等)即可永久儲存該主記憶體資料。 Step 3 (S103): the input/output processor 14 (IOP) stores the stored main memory data to a second memory module 16; that is, the input/output processor 14 (IOP) continues to store The main memory data is re-transferred and stored in the second memory module 16, so that the non-volatile memory (such as SATA DOM, SSD, etc.) to which the second memory module 16 belongs can be permanently stored. The main memory data.
步驟四(S104):該主機電力恢復時,該輸入輸出處理器14(IOP)令該第二記憶體模組16將主記憶體資料通過該輸入輸出處理器14(IOP)儲存到該第一記憶體模組12;即主機電力恢復時,該輸入輸出處理器14(IOP)令該第二記憶體模組16將該主記憶體資料通過該輸入輸出處理器14(IOP)再傳輸儲存到該第一記憶體模組12。 Step 4 (S104): when the host power is restored, the input/output processor 14 (IOP) causes the second memory module 16 to store the main memory data to the first through the input/output processor 14 (IOP). The memory module 12; that is, when the host power is restored, the input/output processor 14 (IOP) causes the second memory module 16 to retransmit the main memory data to the input/output processor 14 (IOP) to the The first memory module 12.
步驟五(S105):將該第一記憶體模組12所存入之該主記憶體資料儲存於該主機30,使該主機30上的該主記憶體資料產生復原;即繼將該第一記憶體模組12於電力恢復後所存入之該主記憶體資料再傳輸儲存於該主機30,該主機30通常係以DRAM記憶體儲存該主記憶體資料,使得電力恢復後,原先於該主機30上之主記憶體資料得以自動產生復原,而能接續先前作業,且不虞該主記憶體資料之遺失或消失。 Step 5 (S105): storing the main memory data stored in the first memory module 12 in the host 30, so that the main memory data on the host 30 is restored; The main memory data stored in the memory module 12 after the power recovery is re-transferred and stored in the host 30, the host 30 usually stores the main memory data in the DRAM memory, so that after the power is restored, the original The main memory data on the host 30 is automatically restored, and the previous work can be continued without losing or disappearing the main memory data.
再者,在前述構成及各步驟中,該同步備份裝置1之自動運作所需之電源係由該蓄電池18所提供,平時該蓄電池18係電性連接該主機30,用以進行充電,而當該主機30電力中斷時,該蓄電池18即可以提供該 同步備份裝置1運作所需之電力。 Furthermore, in the foregoing configuration and the steps, the power required for the automatic operation of the synchronous backup device 1 is provided by the battery 18, and the battery 18 is electrically connected to the host 30 for charging. When the power of the host 30 is interrupted, the battery 18 can provide the The power required to operate the backup device 1 is synchronized.
緣是,本發明線上同步備份系統方法及其裝置,其能使處理中之主記憶體資料同時儲存於至少一揮發性記憶體儲存模組中,當電源不預期斷電時,將把該主記憶體資料寫入一非揮發性記憶體儲存模組,讓主記憶體資料可以永久保存,且當電源供應恢復時,主記憶體資料可從該非揮發性記憶體儲存模組、揮發性記憶體儲存模組回存至系統,使主記憶體資料完成復原狀態,讓系統接續正常工作。 The invention relates to the online synchronous backup system method and device thereof, which can store the main memory data in the process in at least one volatile memory storage module at the same time, and when the power supply is not expected to be powered off, the main device will be The memory data is written into a non-volatile memory storage module, so that the main memory data can be permanently saved, and when the power supply is restored, the main memory data can be obtained from the non-volatile memory storage module and the volatile memory. The storage module is restored to the system, so that the main memory data is restored, and the system continues to work normally.
綜上所述,本發明確實為一相當優異之創思,爰依法提出發明專利申請;惟上述說明之內容,僅為本發明之較佳實施例而已,舉凡依本發明之技術手段所延伸之變化,理應落入本發明之專利申請範圍。 In summary, the present invention is indeed a rather excellent invention, and the invention patent application is filed according to the law; however, the above description is only a preferred embodiment of the present invention, and the technical means according to the present invention are extended. Changes are intended to fall within the scope of the patent application of the present invention.
1‧‧‧同步備份裝置 1‧‧‧Synchronous backup device
12‧‧‧第一記憶體模組 12‧‧‧First memory module
14‧‧‧輸入輸出處理器 14‧‧‧Input and output processor
16‧‧‧第二記憶體模組 16‧‧‧Second memory module
18‧‧‧蓄電池 18‧‧‧Battery
20‧‧‧傳輸介面 20‧‧‧Transport interface
30‧‧‧主機 30‧‧‧Host
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102120080A TW201447603A (en) | 2013-06-06 | 2013-06-06 | On-line synchronous backup system method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102120080A TW201447603A (en) | 2013-06-06 | 2013-06-06 | On-line synchronous backup system method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201447603A true TW201447603A (en) | 2014-12-16 |
Family
ID=52707499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102120080A TW201447603A (en) | 2013-06-06 | 2013-06-06 | On-line synchronous backup system method and device thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201447603A (en) |
-
2013
- 2013-06-06 TW TW102120080A patent/TW201447603A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9886200B2 (en) | Concurrent upgrade and backup of non-volatile memory | |
US9612761B2 (en) | Semiconductor device | |
US20170091042A1 (en) | System and method for power loss protection of storage device | |
US9329954B2 (en) | False power failure alert impact mitigation | |
TW201636770A (en) | Fault tolerant automatic dual in-line memory module refresh | |
WO2016095372A1 (en) | Method and apparatus for realizing image backup of transaction logs | |
US10929251B2 (en) | Data loss prevention for integrated memory buffer of a self encrypting drive | |
JP2004038290A (en) | Information processing system and disk control method for use in same system | |
US10401935B2 (en) | Storage device with a power source and persistent store that provides backup power to DRAM in a power loss event | |
US20200035299A1 (en) | Method and system for power loss protection | |
US10831657B2 (en) | Debug data recovery after PLI event | |
CN101710252A (en) | Power supply method and power supply device of storage system | |
US20200042414A1 (en) | Replaceable memory | |
TWI536156B (en) | Switching Module, Related Server Device and Power Switching Method | |
US20130036263A1 (en) | Solid state storage device using volatile memory | |
TW201617766A (en) | Hibernation management system and method for computer system | |
TWI748081B (en) | Computer device and data protection method therefore | |
CN203311406U (en) | On-line synchronization backup device | |
CN104239239A (en) | Online synchronous backup system method and online synchronous backup system device | |
TW201447603A (en) | On-line synchronous backup system method and device thereof | |
CN104050108A (en) | Storage device and system and data storage method | |
TWM470325U (en) | On-line synchronization backup device | |
US11893275B2 (en) | DRAM-less SSD with recovery from HMB loss | |
US11809742B2 (en) | Recovery from HMB loss | |
TWM415338U (en) | Solid-state storage device implemented by volatile memory |