TW200825712A - System for backing up and restoring disc mirror images of the computer system data and method therefore - Google Patents

System for backing up and restoring disc mirror images of the computer system data and method therefore Download PDF

Info

Publication number
TW200825712A
TW200825712A TW95145731A TW95145731A TW200825712A TW 200825712 A TW200825712 A TW 200825712A TW 95145731 A TW95145731 A TW 95145731A TW 95145731 A TW95145731 A TW 95145731A TW 200825712 A TW200825712 A TW 200825712A
Authority
TW
Taiwan
Prior art keywords
disk
data
read
sector
write
Prior art date
Application number
TW95145731A
Other languages
Chinese (zh)
Other versions
TWI319138B (en
Inventor
Yue Zhang
Tom Chen
Win-Harn Liu
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 TW95145731A priority Critical patent/TWI319138B/en
Publication of TW200825712A publication Critical patent/TW200825712A/en
Application granted granted Critical
Publication of TWI319138B publication Critical patent/TWI319138B/en

Links

Abstract

A system for backing up and restoring disc mirror images of the computer system data and method therefore, used in the data mirror-image backing up and restoring system with a plurality of client computers and a server, to perform the mirror-image backup and restoring of the system and data in each of the client computers through a client program which running in the BIOS of each of the above-mentioned client computers and a data backup and restoring software which running in the server. This system and method needn't to run any software to deal with and analyze the data in the client computer, the client computer utilizes the function of the client program that operates in its BIOS, and is only responsible for the reading, writing of the data in the disc sectors and the accepting, sending of the network data, all of the works of the data treatment and the data analysis are finished in the server.

Description

200825712 九、發明說明: 【發明所屬之技術領域】 、 本發明侧於-種對電腦中的作㈣統和資料 復絲統及方法,尤其係關於一種在具有複數個客戶端電腦及^ 服器之資料鏡像備份與_系統中,利用運行财客戶端電腦之 基本輸入輪出系統(Basic 〇utpui System,BI〇s)中的客^程 式及運盯於舰H t的資料備份恢絲麟各客戶端電腦進行系 統及資料的磁碟鏡像備份與恢復之系統及方法。 仃/、 【先前技術】 …隨著資訊技術的廣泛應用,越來越多的行#開始採用電腦來 進仃官理、控做應職作。同時,隨著個人電腦的普及,使得 人們在家中即可實現各種電職育、f預物、遊戲及娱樂。= 此’電腦已經對社會生產效率和人類生活水平之提高起到了舉足 輕重的作用。但是,隨著電腦使用的增多,其出現故障或檔^ 、先貝料这失的可能|生就越大,而對於廣大的電腦從業人員及 腦行業之群體來說’當電麻統出現輯或其檔職統資料遣^ 之前,用怎樣的方法能夠將電腦系統之磁碟扇區中有用的# 糸統賁料及時有效地進行備份,並在電腦系統出現故障或复= =統資料遺失之後,迅速可靠的將電腦系統從故障狀態恢後至: 常狀悲或對遺失的赌祕㈣進行完整、準確地恢復,將 十分重大的意義。 200825712 現今,較為流行的電腦資料備份與恢復方法大都採用鏡像工 具(imageTGGl)來翻實現,鏡像工具的魏是對電腦磁碟㈣ 全部資料内容進行備份和恢復操作,其會自行判斷磁碟上各個扇 ㈣棺案系統類型,並根據不同的職系統結構來練有用的用 戶貧料進行鏡像(image)備份,並在需要的時候對這些資料 鏡咖或恢復。事實上’心所有的資料鏡像備份與恢復倾 _處理方式也都是如此,這樣既可以節約備份與恢復操作的 %間,又能夠節省備份資料所需的空間。 ,目前,在企業的區域網路系統環境中,對客戶端電腦的作業 东統及相關貧料進行磁碟鏡像傷份與恢復是企業電腦管理解決方 案中非常重要的一個組成部分,是電腦資料管理的基礎。習知的 系統和貧料之磁碟鏡像備份與恢復方法需要在每 運行一個客戶端資料備份與恢復程式,此備份與恢復程^ 份和恢復本鱗腦之作㈣統及 、、莆 端資料備份與恢復程式將此心㈣、讀備㈣’客戶 後,在本地進行處理,並將處理後的 、之 像儲存;在資料恢復時,客戶備21 _端進行鏡 器中的鏡爾帽取崎之資_=^首先從恤 後再寫入到此客戶端電腦之相應的磁碟扇區中L地進仃解析 復方式也存在如下一些問題和缺陷·· /、k 200825712 1、 必須在每台客戶端電腦中運行自身所占資料容量十分龐大 的客戶端資料備份與恢復程式,並且在每台客戶端電腦上都要進 行待備份或待恢復之資料的處理或解析,如此在客戶端電腦之數 里較多的情況下’資料備份與恢復操作之效率就會較低。 2、 每台客戶端電腦中運行的資料備份與恢復程式都需要其各 自運行的_環境和作㈣統的支援,如此便會導致整個資料備 份與恢復系統的部屬非常複雜。 、 :、由於貢料備份與恢復系統的主要功能運行在客戶端,在伺 ,器端無法及時獲知系統的運行狀態,因此導致對系統管理和錯 誤處理的效能較為低下。 曰 【發明内容】 曰為了解決上述習知技術中的問題與缺陷,本發明之目的在於 提(、種電腦系統資料之磁碟鏡像備份與恢復系統及方法,係用 複數個客戶端電腦及伺服器之資料鏡像備份與恢復系統 用物於上述各客戶端電腦之基本輸人輸μ統(励s)中 ^進喊歧運行_顧巾的紐備份恢餘輯各客戶端 *進订綠及㈣的鏡像備倾恢復。 恢復ΐΐ 提供之—種電腦系統資料之磁碟鏡像備份與 複數個客戶端程式模組, 基本輪入輪出系統(BIOS)中, 係分別設置於複數個客戶端電腦之 用以接收來自一個伺服器發送之 200825712 讀、寫磁碟請求資料包,並依照讀、寫磁碟請求資料包中磁碟扇 區結構(Disk Sector Structure,DSS)之内容對各個客戶端電腦之相 應的磁碟扇區執行資料讀、寫操作,然後將讀、寫操作之結果返 回給伺服器;一個模擬磁碟讀寫模組,係設置於伺服器中,用以 定製讀、寫磁碟請求資料包及讀、寫磁碟請讀料包巾磁碟扇區 結構之内容’並將讀、寫磁碟請求資料包發送給各個客戶端電腦, 然後接收各個客戶端電腦返_讀、賴作之結果並將讀、寫&操 作之結果發送給—個播案系統處理解析模組;一個槽案系統處理 解析模組,係設置於鑛器中,用以接收模擬磁碟讀寫模组發送 的讀、寫操作之結果,並且在需要進行資料備份時,將從客戶端 a之磁碟扇區巾讀取麟貝轉備份之資料進行處理後寫入飼 服器讀像槽案中,在需要進行資料恢復時,從鏡像播案中讀取 、’ k之胃料I ’磁解析後發送給模擬磁碟讀寫模組以存入 磁碟扇區結構之資料區中;以及一鏡像槽案讀取模組 何服器中,肋執行對鏡像職之讀、寫操作。 去你~人(、之—種電腦m料之_鏡像備份與恢復方 法,係包含以下步驟: 啟動需要進㈣料備份的—個客戶端 此電腦之基本輸入輪出系_ =先^於 個飼服ϋ進行連接u各戶,亚與一 資料包,^^ 各戶端電腦接收來自伺服器的細碟請求 ’ Q、5買磁碟請求資料包中磁碟扇區結構(DSS)之内容讀取 200825712 t各戶端電腦中相應的磁碟輕之資料;㈣ __娜結翻_t,並舰細結構= 個貧料包中發送給鑛器;做器在接收到資料包後,提取並 处理磁碟屬區資料,然後將處理後的磁碟扇區資料寫人鑛哭之 中找成資_份,·啟動需要進行#料恢復触數 ^,運订預先設置於各個電腦之基本輸入輸出系統 ,接#Γ個客戶端程式,並與舰11進行連接;各個客戶端 Ζ收來自飼服器的寫磁碟請求資料包’依照寫磁碟請求資枓 結_ss㈣容,將此磁碟顧結構之資料區中的 功ιΓ馬t到各個各戶端電腦中相應的磁碟扇區中;以及將成 =域麵_魏結構存人—個資料包巾發送給飼服 為以元成貢料恢復。 统及方法Φ 2林明之電齡統㈣之磁碟鏡像備份與恢復系 、’ ’巾的磁碟魏結構(DSS)之内容包含: -個磁碟起始扇區號,係為整數,用要 的磁碟扇區之起始位置;—個扇_整= 要讀取或寫,碟扇區之數目;-個 兩個整數,0麵喊料絲綱魏 二 =陶,區__寫入二== 作結果標識,係包含〇4,/ H樹木 30和1兩個整數’〇表示操作成功表示操 200825712 入磁碟顧+的·倾帕。 %取a要舄 份與恢復#'歧方法⑽種_錢資狀_鏡像備 方法1==:=::=^崎嶋統及 式及資m物嶋时戶份與恢復程 運行的體細、的客戶端程m健Γ刪中設置和 寫及網路資料的收、發貝磁碟扇區資料的讀、 析工作均在θ 復之資料的處理和解 物,二;,成,因此’不會崎戶端電腦較大的系 二之數量較鳩況下,資料備份與 ra μ由於各戶端長式可以存在於每台客戶端電腦之BIOS中, 的=t 了自知的各戶端資料備份與恢復程式都需要其各自運行 产^ 系統域的局限,大大降低了部屬整個資料備 知與恢復系統的複雜性。 、 。。3祕所有贿份和待恢復之:紐的處理和解析王作均在飼 時:=:1_了習知的客戶端資料備份麵 率。月Μ,、提阿了磁碟鏡像備份與恢復系統中伺服器之利用 10 200825712 4、由於資料備份與恢復系統的主要功能運 飼服器端可以及時獲知系統的運行狀 ^在 錯誤處理的速度及效能進—步提高。 —靖錢官理和 【實施方式】 :將圖圖=發明之較佳實施方式作詳細說明。 之磁碟鏡像備f燦彳電腦系統資料 一_«料之磁碟鏡像備份與恢復純,純含:u之 —硬數個客戶端程式模組1〇 (附财僅表示了—個客 核組10) ’係、分別設置於複數個客戶端電腦1 (賴中僅表干了一 :=:1)之基本輸入輪出系統(粤 求=中讀、寫磁碟請求資料包,並依照讀、寫磁碟請 白:里λ磁碟扇區結構(Dss)之内容對各個客戶端電腦1之相應 (、羽區11執行資料讀、寫操作,然後將讀 返 回給伺服器2; “ 一们板擬磁碟讀寫模、組20,係設置於伺服器2中,用以定製 貝Ϊ磁碟。月f食料包及讀、寫磁碟請求資料包中磁碟扇區結構 之内谷IE將哼、寫磁碟請求資料包發送給各個客戶端電腦1,然 後接收各個客戶端電腦i返回的讀、寫操作之結果並將讀、寫操 作之、纟。果發送給一個檔案系統處理解析模組U ; 11 200825712 一個棺案线處理解析模組2〗,係設置湖服ϋ2中,用以 接收她磁碟§買寫模組2〇發送的讀、寫操作之結果,並且在需要 進仃貝料備份時’將從客戶端電腦〗之磁碟顧U中讀取並拷貝 的待備份之資料進行處理後寫入舰器2之鏡像播案Μ中,在兩 要各丁貧籠復時,從鏡像難23中讀取待恢復之資料内容,並 ^析後發送給模擬磁碟讀寫模錢以存入磁碟顧結構之資料 ”^像_讀取模組22,係設置於舰器2中,用以執行對 鏡像檔案23之讀、寫操作。 碟iNti要加的是··上述本發明m㈣料之磁200825712 IX. INSTRUCTIONS: [Technical field to which the invention pertains] The present invention is directed to a computer (four) system and a data multi-thread system and method, and more particularly to a system having a plurality of client computers and servers. In the data mirror backup and _ system, the customer's basic input and exit system (Basic 〇utpui System, BI〇s) in the operation of the client computer and the data backup on the ship H t are restored. A system and method for performing a disk image backup and recovery of a system and data on a client computer.仃/, [Prior Art] ... With the wide application of information technology, more and more lines # began to use computers to enter the government, control and do the job. At the same time, with the popularity of personal computers, people can realize a variety of electric education, pre-preparation, games and entertainment at home. = This computer has played a pivotal role in improving social productivity and human living standards. However, with the increase in the use of computers, the failure or file failure, the possibility of loss of the first material, the greater the birth, and for the majority of computer practitioners and the brain industry group Before or after the job file system, what method can be used to back up the useful data in the disk sector of the computer system in a timely and effective manner, and the computer system fails or fails? After that, it is very important to quickly and reliably recover the computer system from the fault state to: normal grief or complete and accurate recovery of the lost gambling secret (4). 200825712 Nowadays, the most popular computer data backup and recovery methods are mostly implemented by the image tool (imageTGGl). The image tool Wei is to back up and restore all the contents of the computer disk (4), and it will judge each disk. Fan (four) file system type, and according to different job system structure to practice useful user poor material for image backup, and when necessary, mirror or restore these data. In fact, all the data mirroring and recovery _ processing methods are also the same, which can save the backup and recovery operations between %, but also save the space required for backup data. At present, in the enterprise's regional network system environment, disk image mirroring and recovery of client computer operations and related poor materials is a very important part of the enterprise computer management solution, which is computer data. The basis of management. The known system and poor material disk image backup and recovery method needs to be backed up and restored by each client data backup, recovery and recovery process and recovery of the brain (4) system, and data The backup and recovery program will process the heart (4) and read the (4) 'customer, and process the processed image. When the data is restored, the client prepares the mirror to take the mirror in the mirror. Kawasaki's capital _=^ is first written from the back of the shirt to the corresponding disk sector of the client computer. The analytic complex method also has the following problems and defects. · /, k 200825712 1. Must be in Each client computer runs a client data backup and recovery program with a huge amount of data capacity, and each client computer needs to process or parse the data to be backed up or to be restored, so on the client side. In the case of a large number of computers, the efficiency of data backup and recovery operations will be lower. 2. The data backup and recovery program running on each client computer requires its own _ environment and (4) system support, which will lead to the complexity of the entire data backup and recovery system. , : Because the main function of the tributary backup and recovery system runs on the client, the operating state of the system cannot be known in time at the server and the server, thus the performance of system management and error processing is relatively low.曰 [Summary of the Invention] In order to solve the problems and defects in the above-mentioned prior art, the object of the present invention is to provide a disk image backup and recovery system and method for computer system data, using a plurality of client computers and servos. The data mirroring backup and recovery system uses the basic input and output of each client computer (in the s) to enter the shouting operation _ the new backup of the wipes, each client*, the green and the (4) The image is ready for recovery. Recovery ΐΐ Provides a disk image backup of computer system data and a plurality of client program modules. The basic wheel-in and turn-out system (BIOS) is set in a plurality of client computers. It is used to receive the 200825712 read and write disk request data packet sent by a server, and according to the content of the disk sector structure (DSS) in the read and write disk request data packet to each client computer. The corresponding disk sector performs data read and write operations, and then returns the result of the read and write operations to the server; an analog disk read/write module is set in the server for setting Read and write the disk request packet and read and write the disk. Please read the contents of the disk sector structure and send the read and write disk request packets to each client computer, and then receive each client. The computer returns to the results of the reading, writing and processing, and sends the results of the reading, writing and operation to a broadcast system to process the analysis module; a slot system processing analysis module is set in the mine for receiving The result of the read and write operations sent by the analog disk read/write module, and when the data backup is needed, the data from the disk sector of the client a is read from the data of the forest to the backup and then written into the feeding service. In the case of reading the image slot, when data recovery is required, the image is read from the image broadcast, and the magnetic material of the 'K' is sent to the analog disk read/write module to be stored in the disk sector structure. In the data area; and a mirror slot reading module in the server, the rib performs the reading and writing operations on the mirror job. Go to you~, (the computer-m-material mirror backup and recovery method, The following steps are included: Start a client that needs to enter (four) material backup The basic input wheel of this computer is _ = first ^ in a feeding service ϋ to connect u households, Asia and a data package, ^ ^ each computer receives a request from the server's fine disc 'Q, 5 buy disk The content of the disk sector structure (DSS) in the request packet reads 200825712 t the corresponding disk light data in each terminal computer; (4) __娜结翻__, the ship fine structure = a poor material package Send to the miner; after receiving the data packet, the extractor extracts and processes the data of the disk area, and then writes the processed disk sector data to the mine to find the capital, and the need to start # Material recovery touch number ^, the pre-set is set in the basic input and output system of each computer, connected to #Γ client program, and connected with the ship 11; each client receives the write disk request packet from the feeding device 'According to the write disk request resource _ss (four) capacity, the work in the data area of the disk structure is transferred to the corresponding disk sector in each computer; and will be = domain _ Wei structure deposits - a data packet towel sent to the feeding service to restore with Yuan Cheng tribute. System and method Φ 2 Lin Ming's electric age system (4) disk mirror backup and recovery system, '' towel's disk Wei structure (DSS) content contains: - a disk starting sector number, is an integer, used The starting position of the disk sector; - a fan _ whole = to read or write, the number of disk sectors; - two integers, 0 face shouting silk class Wei two = Tao, district __ write Two == For the result identification, the system contains 〇4, / H trees 30 and 1 two integers '〇 indicates that the operation is successful, indicating that the operation of 200825712 into the disk is +. % take a to 舄 与 恢复 恢复 ' ' ' ' ' ' ' ' ' ' ' ' ' ' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The fine-grained client-side process, the setting and writing of the network data, and the reading and analysis of the data of the disk sector are all processed and dissolved in the data of the θ complex, two; 'The number of the second-largest computer with no large-scale computer is worse than the situation. The data backup and ra μ can exist in the BIOS of each client computer because each terminal is long. The backup and recovery programs of the client data require the limitations of their respective operating system domains, which greatly reduces the complexity of the entire data preparation and recovery system of the subordinates. , . . 3 Secrets of all bribes and to be restored: New Zealand's handling and analysis of Wang Zuo are in the feeding time: =: 1_ The official client data backup rate. Month, the use of the server in the disk mirror backup and recovery system 10 200825712 4, due to the main function of the data backup and recovery system, the machine can know the running status of the system in time. And the efficiency is improved. - Jing Qian Guan Li and [Embodiment]: The preferred embodiment of the invention will be described in detail. The disk mirror preparation f can be used in the computer system information _ «Material disk mirror backup and recovery pure, pure: u - hard number of client program modules 1 附 (with the financial only shows - a guest core Group 10) 'System, set in a number of client computers 1 (Laizhong only one: =: 1) basic input round out system (Guangdong Qi = medium read, write disk request information package, and in accordance with Read and write the disk please: the content of the λ disk sector structure (Dss) is corresponding to each client computer 1 (the feather area 11 performs data read and write operations, and then returns the read to the server 2; A board analog disk read/write module, group 20, is set in the server 2 for customizing the Bellow disk. The month f food package and the read and write disk request data packet in the disk sector structure Neigu IE sends the write and write disk request packets to each client computer 1, and then receives the results of the read and write operations returned by each client computer i and sends the read and write operations to the file. System processing analysis module U; 11 200825712 A file line processing analysis module 2, set up in the lake service , 2, for receiving The result of the read and write operations sent by the disk § buy module 2, and the data to be backed up read and copied from the disk of the client computer when the backup is required. After processing, it is written into the mirroring case of the ship 2, and when the two are in need of each other, the content of the data to be recovered is read from the mirroring difficulty 23, and then sent to the analog disk to read and write money. The image-reading module 22 is stored in the ship 2 for performing the reading and writing operations on the mirror file 23. The dish iNti is to be added. Invention m (four) material magnetic

Sector stmcture 5 —個磁碟起始扇區號 的磁碟魏之妓錄; 數’肋標識需要讀取或寫入 一個扇區數量,係為整數,雨士 屬區之數目· 乂兄錄需要讀取或寫入的磁碟 一個操作標識,係包含〇 磁碟扇區夕次^ _ 和1兩個整數,0表示此操作為讀取 料内容寫人^扇1^作為將磁碟扇區結構之資料區中的資 —個操作結果標識,係包 1表示操作失敗;以及 1兩個整數,〇表示操作成功, 200825712 _=:~碟_讀取或要一 此圖為本一鏡像備份與恢復 ‘先中各戶她歧組之工作流程圖,如圖所示,客 組接收來自做II發送之讀、寫磁碟請_包,並依日^ = 磁碟請求資料包中磁碟扇區結構卿)之内容對 、山、- 之相應的_魏猶龍讀、雜作 以電腦 田 …、便將碩、寫操作之址 果返回給伺服器,其具體步驟如下·· … 等待接收伺服器發送之請求資料包(步騍2〇〇); 判斷是否收到請求資料包(步_),收到請求資料包後, 執行步驟202,否則返回步驟2〇〇 ; 解析伺服杰發送之請求資料包(步驟2〇2),· ρ請求資料包之類型(步驟203),如果是讀磁碟請求資料 匕她丁步驟綱’如果是寫磁碟請求資料包則執行步驟挪; 調用刪之中斷錬程式(祖取相應磁之資 (步驟204),然後執行步驟206 ; °° ' " 調用BIOS之中斷祠服程式卿3)將磁碟扇 中的資料内容寫入相應的磁碟扇區(步驟2〇5), 貝八°° _ 八、、、使執行步驟206; 將操作結果财給舰器(轉施),魄細步驟·。 /現在請參考「第3圖」,此圖為本發明之磁碟鏡像備份雜復 糸統中_剌讀寫·之工絲織,如_示,模擬磁碟讀 13 200825712 寫換組肋定製讀、寫 中场碟麵結叙邮,麵包及讀、寫補請求資料包 客戶端電腦,然後接收各麵戶韻求資料包發送給各個 並將讀、寫操作之叫讀、寫操作之結果 称如下· 雜播“統處理解析模組,其具艘步 300); 在磁碟翁結構中填人磁碟起始 扇區號及扇區數量(步驟 碟請:=!的請求資料包之類型(步㈣),如果是讀磁 _,然彳Γ執行如果是輪#求舰則執行步 然後:==構的操作標識中標記為讀(即:〇)(步驟叫 ==_ 作標 __即:1)(_3): 304) #':之"料内容拷貝至_扇區結構之資料區中(步驟 )’ w後執行步驟305 ; 電腦結構之讀或寫崎她發送給客戶端 寺雜收各戶端電腦返回的讀或寫操作之結果 判斷是否收到客戶端電腦返_讀或寫操作之結果(步)驟 果收到則執行步驟施,否則返回步驟306 ; 14 200825712 將讀或寫操作之結果發送給 删)〇 檔案系統處理解析 模組(步驟 現在請I考「$4圖」,此圖為本發 系統中檔案系統處理解析模組之工 ::像備份與恢復 统處理解析模_術顯_ _ 3示=系 結果,並且在f細禮料備料,㈣以2,、騎作之 中==_待備份之m進行處理後寫人伺服器之 輸物,崎谢軸缝之資料内 貝科區中,其具體步驟如下: 再心 行二^作_(步驟彻)’如果需要進行資料備份操作則執 二^如果需要進行資料恢復操作則執行步驟秘; 貝供、擬磁碟項寫板組從客戶端電腦之磁碟扇區中讀取並拷 貝待備份之資料(步驟401); 將待備份之磁碟扇區資料進行處理(步驟402); 將處理後的資料寫入伺服器之鏡像播案中(步驟4〇3); 判斷貝料備份插作是否完成(步驟物),如果完成則結束操 作,否則返回步驟401 ; 項取鏡像檔案中待恢復之資料内容(步驟4〇5); 解析鏡像彳§案巾待恢復之資料内容(步驟鄕); 15 200825712 、將解析後_恢復之龍邮發秘類磁碟讀寫模組以存 入磁碟扇區結構之資料區中(步驟4〇7); 判斷資料恢復操作是否完成(步驟姻),如果完成則結束摔 作,否則返回步驟405。 ㈣Γ請參考「第5圖」’此圖為本發明之磁碟鏡像備份與恢復 系統中鏡像财讀取之工作流簡,如_示,鏡雜㈣ 取她用以執行對鏡像㈣之讀、寫操作,其具體步驟如下··貝 等待接收對鏡像檔案進行讀或寫之請求(步驟500). 判斷是否收到對鏡像播案進行讀或寫之請求(步驟別),如 果收到請求則執行步驟5〇2,否則返回步驟5〇〇丨 判斷請求之類型(步驟502), > 如果是寫請求則執行步驟5〇4:果疋_求則執行步驟如, 從(步物)’紐相步驟测; 將貝料冑人鏡像齡巾α冑 > υ4)’然後返回步驟500。 取也月蒼考⑦6圖」及「第7圖」 為本發明之一種電腦系統資料之 回」 弟7圖」 流程圖,如圖所示,本笋明二、兄像備份與恢復方法之方法 與恢復方法,係包含以種電腦系統資料之磁碟鏡像備份 啟動預先設置於一個伺服器 與需要進行細f份的客戶 1、、、備份恢復軟體,並等待 進行連接(步驟600); 16 200825712 啟動需要進行資料備份的一個客戶端電腦(步驟6〇1),兑中 f Γ電州經咖_細爾鋼作業系統及 ,、他巾耻體m並且已_其作㈣統進行省 -, .—Γ戶端程式,並且與彳_建立連接(步驟6⑻,其中此 各戶编電腦係透過輪入和尋找網際網路通訊 與伺服器取得連接; )位址之方式 ^戶―端電腦接收來自做器的讀磁碟請求資料包 磁“求貧料包中磁碟扇區結構(Dss)之内容讀取 二 中相應的磁碟扇區之資料(步 豆 电細 ς f Q 1 乂驟6(b),其巾_魏結構(Dlsk 咖S_e,DSS)之内容包含:—個磁碟起始麵 數,用以標識需要讀取或寫入的磁碟扇區之起始位置Γ_:厂正 數二:Γ整數,用以記錄需要讀取或寫入的磁碟扇區之數Γ 二和1兩個整數…表示轉 :貝枓表讀操作為將磁碟魏結構之資料區中的資翻 ==區中;一 义丁木、功,1表不才呆作失敗;以及一個資料區,係用 :磁碟扇區中讀取或要寫入磁碟扇區中的具體資料::錄 處磁碟扇區結構之内容為:磁碟起始扇區號=1二例如此 操作標識為0,係表示需要讀取從磁碟扇區號15:2^的!Γ’ 個磁碟扇區中的資料内容; 、王邛10 17 200825712 將讀取操作之結果回填至磁碟扇區結構中(步驟則,直中 力,為1則表不此讀取操作失敗; 中1=讀取的磁碟扇區資料拷貝至磁碟扇區結構的資料區 驟此磁碟扇區結構存入一個資料包中發送給伺服器(步 飼鞋在魏職料包後,麻並處_碟魏轉,缺後 料:;里=碟翁_寫入伺服器之磁碟鏡像謝以完成資 枓備伤(步驟606); 祠服器完成資料備份後,斷開與客戶端電腦之連接,此客戶 =腦在軸與刪之連接帽細資料備份進程(步驟 的敕们=本發明之電㈣崎料之磁碟鏡像備份與恢復方法中 的整個貧料備份進程結束; 、啟動触設置於健器中的資料備份恢復軟體,並等待與需 要進行資料恢復的各個客戶端電腦進行連接(步驟). 啟動需要進行資料恢復的複數個客戶端電腦(步驟7〇1); 運_先設置於各個客戶端電腦之基本輪入輸出系統(_ 中的一個客戶端財,並綱她晴顺(步驟則, 其中各個客戶端電_透過輸人和频網際網路通娜定⑽位 址之方式與伺服器取得連接; 200825712 各個客戶端電腦接收來自伺服器的寫磁碟請求資料包,依照 寫磁碟明求貝料包中磁碟扇區結構⑽s)之内容,將此磁碟扇區結 -構之貝料11巾㈣料内容寫人到各個客戶端電腦中相應的磁碟扇 .區中j步驟703 )’其中磁碟扇區結構(Disk Sector Structure,DSS) 之内容包含··-個_起始顧號,係為,用以標識需要讀 取或寫入的磁碟扇區之起始位置;一個扇區數量,係為整數,用 2賴她似的磁輸之數目;—健作標識,係包 3 〇和1兩健數’ 〇表示此操作為讀取磁碟扇區之資料,1表示 :操作為將磁碟扇區結構之資料區中的 或磁t,以及一個資料區,係用以記錄從磁碟扇區中讀取 内容為:磁磾起/ 例如此處磁碟扇區結構之 q艰呆起始扇區號=15,扇區數 表示需要將磁麵區結構之㈣區中的 j域為1,係 號叱4的全部㈣磁碟扇區^讀内各舄人到磁碟扇區 構之資料區中果口填至磁碟扇區結構中,並將磁碟扇區結 、匕中的-貝料内容清除(步驟704), '結射的操作結果標識為0係表示此寫入縣^真级碟扇區 此寫入操作失敗·、成力,為1則表示 將成功完龢4倾的_扇 送給伺服器以完成資料恢復(步驟705);f存入,料包中發 19 200825712 飼服找成資料恢復後,斷開與各個客戶端電腦之連接,各 個客戶端電腦在探測顺鑛器之連接中斷後退出恢復進程 .(步驟706) ’至此本發明之_系統資料之磁碟鏡像備份與恢復 方法中的整個資料恢復進程結束。 雖然本發明以前述之較佳竇# 姓A方式揭露如上,然其並非用以 限定本發明。本領域之技術員 —酬在錢縣發明所附 4利㈣職枚本伽之範圍和精·神之情況下 伽:,術發㈣梅職㈣。騎本發明所界 疋之保德圍睛芬考所附之申請專利範圍。 【圖式簡單說明】 系:=之,·_之-鏡•份與恢復 組之!似辑物嶋咐⑽式模 弟3 ®為本發明之鹤鏡像赌與恢餘 杈組之工作流程圖; 夂蚨礙碟讀寫 第4 _本㈣之鄕鏡_份與恢齡 %析模組之工作流程圖; 、木系統處理 第5 _本_之_鏡像赌與恢復㈣ 核組之工作流程圖;以及 兄像知案讀取 20 200825712 第6圖和第7圖為本發明 份與恢復方法之方法流程圖。 之一種電腦系統資料之磁碟鏡像備 【主要元件符號說明】 客戶端電腦 伺服器 10客戶端程式模組 Π 磁碟扇區 20模擬磁碟讀寫模組 21檔案系統處理解析模組 22鏡像檔案讀取模組 23鏡像槽案 步驟200轉接收器發送之請求資料包 步驟201 _是否收到請求資料包 步驟202解析伺服雜送之請求資料包 步驟2〇3判斷請求資料包之類型 ,驟204 _ m〇s之中斷伺服程式师⑼讀取相 扇區之資料 步驟205姻m〇s之中斷伺服程式卿$將磁碟扇區結 構之資料區中的:#軸容寫人減的磁碟扇區 步驟2〇6崎作結果返回給祠服器 21 200825712 步驟300在磁碟扇區結構中填入磁碟起始扇區號及扇區數 量 • 步驟撕峨需要定製的請求資料包之類型 • 7驟3〇2在磁碟扇區結構的操作標識中標記為讀 ’v驟3〇3在磁碟扇區結構的操作標識中標記為寫 ㈣304將待恢復之資料内容拷貝至磁碟扇區結構之資料 區中 、 、、步郡。05將包含磁碟祕賴之讀或寫磁碟請求資料包發Sector stmcture 5—The disk of the disk start sector number is recorded by the disk; the number of rib marks needs to be read or written to the number of sectors, which is an integer, the number of the sage area. The operation identifier of the disk that is fetched or written includes the two sectors of the disk sector, ^ _ and 1 integer, 0 means that the operation is to read the contents of the device, and the fan sector 1^ is used as the disk sector structure. The information of the operation result in the data area, the package 1 indicates that the operation failed; and 1 two integers, indicating that the operation is successful, 200825712 _=:~disc_read or want this picture to be a mirror backup and Resume the work flow chart of 'the first and middle households', and as shown in the figure, the customer group receives the read and write disk from the II send, please _package, and according to the day ^ = disk request packet in the disk fan The content of the district structure, the corresponding _ Wei Julong reading, miscellaneous work to the computer field..., will return the results of the master and write operations to the server, the specific steps are as follows... Waiting to receive The request packet sent by the server (step 2〇〇); determine whether the request packet is received (step_) After receiving the request packet, step 202 is performed; otherwise, returning to step 2; parsing the request packet sent by the server (step 2〇2), ρ requesting the type of the packet (step 203), if it is reading the disk Request data 匕 丁 步骤 ' ' If you are writing a disk request packet, then execute the step; call the interrupt interrupt program (the ancestor takes the corresponding magnetic resources (step 204), and then perform step 206; ° ° ' " call The interrupt of the BIOS service program 3) write the data content in the disk fan to the corresponding disk sector (step 2〇5), 八八°° _ 八, ,, and then perform step 206; Give the ship (transfer), and follow the steps. / Now, please refer to "3rd picture", this picture is the disk mirror backup system of the invention, _ 剌 剌 · 之 , , , , , , , , , 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 Read and write the midfielder's face to seal the post, the bread and read and write the request data package client computer, and then receive the various households to request the data package to send to each and read and write operations called read and write operations The result is as follows: Miscellaneous "Processing Analysis Module, which has a ship step 300"; Fill in the disk start sector number and the number of sectors in the disk structure (step request: =! Type (step (4)), if it is reading magnetic _, then execute if it is round # ask for the ship, then execute the step and then: == the operation identifier of the structure is marked as read (ie: 〇) (step is called ==_ __ ie: 1) (_3): 304) #': The content of the material is copied to the data area of the sector structure (step) 'w after step 305; the computer structure is read or written by her, she sends it to The result of the read or write operation returned by each client computer is judged whether the client computer returns the result of the read/write operation (step) and the result is received. Steps are performed, otherwise return to step 306; 14 200825712 Send the result of the read or write operation to delete) 〇File system processing analysis module (steps now please test "$4 map", this figure is processed by the file system in this system Analytic module work:: like backup and recovery system processing parsing _ _ _ _ 3 shows = system results, and in the fine material preparation, (four) to 2, riding in the == _ to be backed up m After processing, write the input of the server, and the data of the saddle seam is in the Becco area. The specific steps are as follows: Re-doing the second ^ _ (steps) 'If you need to perform data backup operation, then hold ^ If the data recovery operation is required, the step secret is executed; the shell supply and the pseudo disk entry write group read and copy the data to be backed up from the disk sector of the client computer (step 401); The sector data is processed (step 402); the processed data is written into the mirrored broadcast of the server (step 4〇3); it is judged whether the bedding backup is completed (step), and if it is completed, the operation is ended. Otherwise, return to step 401; the item is to be restored in the image file. Data content (step 4〇5); Analyze the image of the mirror 彳 案 巾 待 待 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 恢复 恢复 恢复 恢复 恢复 邮 邮 邮 邮 邮 邮 邮 邮 邮 邮 邮 邮 邮 邮In the data area of the sector structure (step 4〇7); judge whether the data recovery operation is completed (step marriage), if it is completed, it will end the fall, otherwise return to step 405. (4) Please refer to "5th figure" The invention of the disk mirror backup and recovery system in the mirroring financial reading workflow, such as _, Mirror (4) take her to perform the mirror (4) read and write operations, the specific steps are as follows · · Bay waiting to receive the pair The mirror file performs a read or write request (step 500). Determine whether a request to read or write the image broadcast is received (steps), if the request is received, execute step 5〇2, otherwise return to step 5〇〇丨Judging the type of request (step 502), > if it is a write request, executing step 5〇4: 疋 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ α胄> υ4)' then returns to step 500. Take the picture of the 76th and the 7th picture of the computer, which is the back of the computer system of the present invention. Figure 7 shows the method of the backup and recovery method of the bamboo shooter and the brother. And the recovery method includes a disk image backup that starts with a computer system data and is pre-set on a server with a client 1 that needs to be finely divided, and a backup recovery software, and waits for a connection (step 600); 16 200825712 Start a client computer that needs to back up the data (step 6〇1), and redeem the electricity system in the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .-Set up the program, and establish a connection with 彳 _ (step 6 (8), where each computer system connects to the server through the round-up and looking for Internet communication;) The way of the address ^ household - end computer receiving The read disk requesting packet from the device is magnetic. The content of the disk sector structure (Dss) in the poor packet is read from the corresponding disk sector of the second disk. 6(b), the contents of its towel _ Wei structure (Dlsk coffee S_e, DSS) Contains:—the number of starting faces of the disk, which is used to identify the starting position of the disk sector that needs to be read or written. :: Factory positive number: Γ integer, used to record the magnetic quantity that needs to be read or written. The number of disc sectors Γ two and one two integers... indicates that the conversion: the reading operation of the shellfish table is to turn the resources in the data area of the disk Wei structure == area; Yiyi Dingmu, Gong, 1 table is not Suspension failure; and a data area, the use of: the sector to read or to write to the specific data in the sector:: The content of the disk sector structure is: disk start sector number =1 2, for example, the operation identifier is 0, which means that the data content in the !Γ' disk sectors from the disk sector number 15:2^ needs to be read; , Wang Wei 10 17 200825712 The result of the read operation Backfilling into the disk sector structure (step, straight-forward force, 1 means that the read operation failed; medium 1 = read disk sector data copied to the data area of the disk sector structure The disk sector structure is stored in a data packet and sent to the server (step feeding shoes in the Wei job package, hemp and _ disc Wei turn, missing material:; inside = dish Weng _ write server The disk image is thanked for completing the asset preparation (step 606); after the server completes the data backup, disconnects the connection with the client computer, the client = brain in the axis and deletes the connection cap fine data backup process (step = 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本Client computer to connect (step). Start a number of client computers that need data recovery (step 7〇1); _ first set to the basic round-in output system of each client computer (a client in _ And she is sunny and clear (the steps are, in which each client is connected to the server through the input and frequency network Tongnading (10) address; 200825712 each client computer receives the write magnetic from the server The disc request data packet is written to each client computer according to the content of the disk sector structure (10) s in the disk disk, and the content of the disk sector-structured material 11 (four) is written to each client computer. corresponding The disk sector. In step j 703), wherein the contents of the Disk Sector Structure (DSS) include a _ initial care number, which is used to identify that a read or write is required. The starting position of the disk sector; the number of sectors, which is an integer, is the number of magnetic losses that are like 2; the health identification, the number of the 3 〇 and 1 and the number of the ' ' indicates that the operation is read. Taking the data of the disk sector, 1 means: the operation is to use the magnetic field in the data area of the disk sector structure, and a data area for recording the content read from the disk sector: magnetic 磾From here, for example, the disk sector structure has a hard start sector number = 15, and the number of sectors indicates that the j field in the (4) region of the magnetic surface area structure needs to be 1, and all (four) disks of the system number 叱4 Each of the sectors in the sector ^ reads into the disk sector structure in the data area of the disk sector structure, and clears the contents of the disk sector and the contents of the disk (step 704). 'The result of the operation result of the junction is 0. This indicates that the write operation of the county-level true-disc sector failed. The force is 1. If it is 1, it means that the _fan will be successfully completed and 4 The server completes the data recovery (step 705); f deposits, the package sends 19 200825712 After the feeding service is recovered, the connection with each client computer is disconnected, and each client computer detects the connection of the sluice After the interruption, the recovery process is exited. (Step 706) 'The entire data recovery process in the disk image backup and recovery method of the system data of the present invention is ended. Although the present invention has been disclosed above in the above-described preferred sinus #姓A manner, it is not intended to limit the invention. A technician in the field - paying for the invention in Qianxian County. 4 The range of the four (4) posts and the case of Jing·God. G:: (4) Mei (4). Ride the scope of the patent application attached to the company of the company. [Simple description of the diagram] Department: =, · _ - mirror · copies and recovery group! The 辑 嶋咐 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 Working flow chart of the group; wood system processing 5th _ _ _ mirror gambling and recovery (4) working flow chart of the nuclear group; and brother image reading 20 200825712 6 and 7 are the present invention Method flow chart for recovery method. Disk image of a computer system data [main component symbol description] client computer server 10 client program module 磁 disk sector 20 analog disk read and write module 21 file system processing analysis module 22 mirror file The reading module 23 mirrors the trough case step 200 to the request packet sent by the receiver. Step 201 _ Whether the request packet is received. Step 202 parses the request packet of the servo miscellaneous. Step 2: 3 determines the type of the request packet, step 204 _ m〇s interrupt servo programmer (9) read phase sector data step 205 marriage m〇s interrupt servo program clerk $ will be in the disk sector structure data area: #axis capacity write reduction disk The sector step 2〇6 returns the result to the server 21 200825712 Step 300 fills in the disk sector structure with the disk start sector number and the number of sectors. • Steps to tear down the type of request packet that needs to be customized • 7 〇 3 〇 2 is marked as read in the operation identifier of the disk sector structure. 'v3 〇3 is marked as write in the operation identifier of the disk sector structure. (4) 304 copies the data content to be restored to the disk fan. In the data area of the district structure, ,, step county. 05 will contain the disk to read or write the disk request data package

送給客戶端電腦 X 女驟306等待接收客戶端電腦返回的讀或寫操作之結果 v K)7 4斷疋否收到客戶端電腦返回的讀或寫操作之結 果 步驟308㈣或寫操作之結果發送給檔案系統處理解析模 組 、 \ , 步驟400判斷操作類型 &步驟401綱模擬磁碟讀寫模組從客戶端電腦之磁碟扇區 中讀取並拷貝待備份之資料 步驟402將待備份之磁碟扇區資料進行處理 步驟403將處理後的資料寫入伺服器之鏡像檔案中 步驟404判斷資料備份操作是否完成 步驟405項取鏡像檔案中待恢復之資料内容 22 200825712 步驟406解析鏡像檔案中待恢復之資料内容 步驟407將解析後的待恢復之資料内容發送給模擬磁碟讀 寫模組以存入磁碟扇區結構之資料區中 步驟408判斷資料恢復操作是否完成 黟 步驟500等待接收對鏡像檔案進行讀或寫之請求 步驟501判斷是否收到對鏡像檔案進行讀或寫之請求 步驟502判斷請求之類型 步驟503從鏡像檔案中讀取資料 步驟504將資料寫入鏡像檔案中 步驟600啟動預先設置於一個伺服器中的資料借份恢復軟 體’亚等待與需要進行倾備份的客戶端電麟行連接 少驟601啟動需要進行資料備份的一個客戶端雷腦 於客戶端電默基本以輸出系統 >白、個客戶端程式,並且與飼服器建立連接 步驟603客戶端電腦接收來自贿器的讀磁碟請求 包,依照讀磁碟請求資枓七由 、卞 端電腦中相應的磁碟扇區之倾 只取各戶 —步驟6〇4將讀取操作之結果回填至磁碟扇區結構中 的資料區中,料趑讲报白 輯㈣至磁麵區結構 哭 、、/、羽區結構存入一個資料包t發送給伺服 ua 23 200825712 步驟606㈤服器在接收到資料包後,提取並處理 料’然後將處理後的磁碟扇區資料寫入値器心 以完成資料備份 兄像心案中 二驟607 #服器完成資料備份後,斷開與客戶端電腦之連 。’各戶物I在探測物侧之連接中__資料備 =啟動預先設置於飼服器中的資料備份恢復軟體,並 、待兵需要物讀恢復的各個客戶端電腦進行連接 步驟701啟動需要進行資料恢復的複數個客戶端電腦 步驟观運行預先設置於各個客戶端電腦之基本輸入 糸統(m〇S)巾的—個客戶魏式,並且分顺伺《建立連接 步驟703各個客戶端電腦接收來自伺服器的寫磁碟請 V包,依照寫磁碟請求資料包中磁碟扇區結構(卿之内容,將磁 ㈣區結構之資料區中的資料内容寫人到各個客戶端電腦中相石應 的磁碟扇區中 〜 肩 寫从叙絲贱麵碟祕結射,並將越 茱羽區結構之資料區中的資料内容清除Send to client computer X Female 306 waits to receive the result of the read or write operation returned by the client computer v K) 7 4 疋 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 收到 308 308 308 308 308 308 308 Sending to the file system processing parsing module, \, step 400 judging the operation type & step 401, the analog disk reading and writing module reads and copies the data to be backed up from the disk sector of the client computer, step 402 will be The backup disk sector data processing step 403 writes the processed data into the mirror file of the server. Step 404 determines whether the data backup operation is completed. Step 405 takes the data content to be restored in the mirror file 22 200825712 Step 406 Analyze the image The data content to be restored in the file step 407 sends the parsed data content to be restored to the analog disk read/write module to be stored in the data area of the disk sector structure. Step 408 determines whether the data recovery operation is completed. Step 500 Waiting to receive a request to read or write to the mirror file, step 501, determining whether a request to read or write the mirror file is received, step 502, determining the request The type step 503 reads the data from the mirror file, and the step 504, the data is written into the mirror file. Step 600 starts the data borrowing recovery software preset in a server, and waits for the client to perform the dumping backup. The connection is less than 601. A client that needs to perform data backup starts from the client and then outputs the system > white, a client program, and establishes a connection with the feeder. Step 603: The client computer receives the information from the bribe. Read the disk request packet, according to the read disk request resource, the corresponding disk sector in the terminal computer is only taken from each household - step 6〇4 to backfill the result of the read operation to the disk sector structure In the data area, the 趑 趑 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白 白And processing the material 'then the processed disk sector data is written into the heart of the device to complete the data backup. The second step is 607. After the server completes the data backup, the connection with the client computer is disconnected. 'Every household I in the connection of the probe side __ data backup = start the data backup and recovery software preset in the feeding device, and each client computer that needs to be read and restored by the soldiers to perform the connection step 701 startup needs The plurality of client computers performing data recovery step-by-step operation runs a client-type Wei-style of a basic input system (m〇S) towel pre-set on each client computer, and is compliant with the establishment of the connection step 703 for each client computer. Receive the V disk package from the server, and write the data content in the data area of the magnetic (four) area structure to each client computer according to the disk sector structure in the write disk request packet. The phase of the stone should be in the disk sector ~ shoulder writes from the Syrian silk mask, and will clear the data in the data area of the structure

〜步驟705將成功完成寫入操作後的磁碟扇區結構存入 育料包中發送給伺服器以完成資料恢復 U 24 200825712 步驟706伺服器完成資料恢復後,斷開與各個客戶端電腦之 連接,各個客戶端電腦在探測到與伺服器之連接中斷後退出資料 恢復進程 25~ Step 705, the disk sector structure after successfully completing the writing operation is stored in the nurturing package and sent to the server to complete the data recovery. U 24 200825712 Step 706 After the server completes the data recovery, disconnects from each client computer. Connection, each client computer exits the data recovery process after detecting that the connection with the server is interrupted.

Claims (1)

200825712 十、申請專利範圍·· 卜-細系統資料之磁碟鏡像備份與恢復系統,係 複_客戶端《及健器之資料鏡賴份復纽中,對有 述各各戶端電腦進行系統及資料的鏡像備份與恢復,該 所 =客鳩伽,_職術客戶端= 基本輸入輸料、統_)中,用以紐來自_ :之 寫磁碟請求資料包,並依^ 。。毛k之喟、 八貝t化减如、該項、寫磁碟請求資料包中 區結構(DSS)之内容對所诚各客 渠屬 眘㈣、〜 、 &電^之相應的磁碟扇區執行 、〜貝/祕’綠將該讀、寫操作之結果返回給該飼服器; 柄擬磁碟讀寫模組,係設置於該舰器中,用以定擊該“ 寫:碟請求資料包及該讀、寫磁碟請求資料包中磁碟扇 亚將該讀、寫磁碟請求資料包發送給所述各客戶端電腦, :後接收所述各客戶端電腦返回的該讀、寫操作之結果並將該 頃、寫操作之結果發送給一檔案系統處理解析模組;〜 …一槽案系統處理解析模組,係設置於該祠服器中,用 寫模組發送的該讀、寫操作之結果,並且在需要進 :貝二備份時,將從客戶端電腦之磁碟扇區中讀取並拷貝的待 ^之:料進行處理後寫入該飼服器之鏡像播案中,在需要進行資 料1·灰心’從該鏡像槽案中讀取待恢復之資料内容,並經解析後 發送給該模擬磁碟讀寫模組以存人該磁碟祕結構之資料區中; 以及 26 200825712 鏡像指案Ί買取模4且你μ署 鏡像播案導嶋υ糊服w執行對該 2=ΓΓΓ第1項所述之鶴爾料之磁碟鏡像備份與 糸、、先,其中該磁碟扇區結構之内容包含·· -磁碟起始輕號,係域數,肋顧需 磁碟扇區之起始位置; X馬的 一扇區數量,係為整數,用以記錄需要讀取或寫人的磁碟扇 區之數目; 一操作標識,係包含0和i兩健數,G表示該操作為讀取磁 碟扇區之資料’丨表示該操作為將該磁碟驢結構之資料區中的資 料内容寫入磁碟扇區中; 、 一麵作結果標識,係包含〇和]兩個整數,G表示操作成功, 1表示操作失敗;以及 一資料區,係用以記錄從磁碟扇區中讀取或要寫人磁碟扇區 中的具體資料内容。 3、一種電腦系統資料之磁碟鏡像備份與恢復方法,係用以在具有 複數個客戶端電腦及娜器之㈣鏡像備份與恢復純中,對所 述各客戶端電腦進行系統及資料的鏡像備份與恢復,該方法包含 以下步驟: 27 200825712 電腦,運行預先設置於該 各戶端程式,並與一^司服 啟動需要進行資料備份的一客戶端 電腦之基本輪入輸出系統(BIOS)中的一 器進行連接; 該客戶端_接收來自該值器的讀磁碟請求資料包,依照 該讀磁碟請求資料包中一磁碟扇區結構(Dss)之内容讀取該客戶 端電腦中相應的磁碟扇區之資料; 。將成功讀取的該磁碟扇區資料拷貝至該磁碟扇區結構的資料 區中’亚將該磁碟扇區結構存人—㈣包中發送給該飼服器; 該健盗在接收到該資料包後,提取並處理該磁碟扇區資 料,然後將處31後的該磁碟扇區資料寫入該鑛器之一磁碟鏡像 檔案中以完成資料備份; 啟動需要進行資料恢復的複數個客戶端電腦,運行預先設置 於所述各電腦之基本輪入輸出系、统_)中的一客戶端程式,並 與該伺服器進行連接; 所述各客戶端電腦接收來自該舰器的寫磁碟請求資料包, 依照該寫磁碟請求資料包中_磁碟扇區結構(Dss)之内容,、將該磁 碟扇區結構之資料區中的資料内容寫人到所述各客戶端電腦中相 應的磁碟扇區中;以及 將成功7L成寫人知作後的該磁碟扇區結構存人—資料包中發 送給該伺服器以完成資料恢復。 28 200825712 4、如申4專利範圍第3項所述之電腦系統資料之磁碟鏡像備份與 恢復方法’其中該磁碟扇區結構之内容包含: 、磁碟起始扇區號,係為整數,用以標識需要讀取或寫入的 磁碟扇區之起始位置; 一扇區數量’係為整數,用以記錄需要讀取或寫人的磁碟扇 區之數目; 一操作標識,係包含Q和1兩健數,〇表示該操作為讀取磁 碟扇區之資料’1表示該操作為將該磁碟扇區結構之資料區中的資 料内谷舄入磁碟扇區中; —操作結果標識,係包含㈣1兩個整數,〇表示操作成功, 1表不操作失敗;以及 貝料區,_以記錄從磁碟魏巾讀取或要寫人磁碟扇區 中的具體資料内容。 5、如申請翻範圍第3項所述之電腦錢龍之爾鏡像備份與 恢復方法,其t進一步包含如下步驟: •啟動預纽置於該鎌H巾的—㈣備份恢復軟體 ,並等待 兵需要進行資料備份的該客戶端電腦進行連接; 依照該讀磁碟請求㈣包中該_扇區結構之内容讀取該客 戶端電财相應的磁碟顧之資料後,將該讀取操作之結果回填 至該磁碟扇區結構中;以及 29 200825712 當該伺服器完成資料備份後,斷開與該客户端電腦之連接, 該各戶端電腦在探測到與該祠服器之連接中斷後退出資料備^八進 程。 , 6、如申請專利範圍第3項所述之電腦系統資料之磁碟鏡像備份與 恢復方法,其中進一步包含如下步驟: 啟動預先設置於該祠服器'中的一資料備份恢復軟體,並等待 與需要進行資料恢復的所述各客戶端電腦進行連接; 依照該寫磁碟請求資料包中該磁碟扇區結構之内容,將該磁 碟扇£結構之貢料區中的負料内谷舄入到所述各客戶端電腦中相 應的磁碟扇區中之後,將該寫入操作之結果回填至該磁碟扇區、社 構中,並將該磁碟扇區結構之資料區中的資料内容清除;以及 當該伺服器完成資料恢復後,斷開與所述各客戶端電腦之連 接,所述各客戶端電腦在探測到與該伺服器之連接中斷後退出資 料恢復進程。 30200825712 X. The scope of application for patents·· The disk image backup and recovery system of the Bu-System data, the system of the _ client and the information mirror of the health device, the system for each computer And the mirror backup and recovery of the data, the institute = customer gamma, _ job client = basic input and delivery, system _), with the button from the _: write disk request packet, and according to ^. . Mao's 喟, 八 贝t reduction, such as, the content of the disk, the content of the disk request packet structure (DSS) is the corresponding disk for the sage of each channel (four), ~, & The sector execution, ~be/secret' green returns the result of the read and write operation to the feeding device; the handle magnetic disk reading and writing module is set in the ship for determining the "write: The disk request packet and the disk and disk request packet in the read and write disk request packet send the read and write disk request packet to the client computer, and then receive the returned by the client computer The result of the read and write operations and the result of the write and write operations are sent to a file system processing and parsing module; a ... a slot system processing parsing module is set in the server and sent by the write module The result of the read and write operations, and when it is required to enter: the second backup, the data to be read and copied from the disk sector of the client computer is processed and written into the feeding device. In the image broadcast case, the data content to be recovered is read from the image slot case when the data needs to be performed. And after being parsed, it is sent to the analog disk read/write module to store the data area of the disk secret structure; and 26 200825712 mirroring refers to the purchase of the modulo 4 and your image is broadcasted by the mirror. Performing a disk image backup of the crane material described in item 1 of the 2=ΓΓΓ, and first, wherein the content of the disk sector structure includes a disk start number, a number of domains, The ribs require the starting position of the disk sector; the number of sectors of the X-horse is an integer used to record the number of disk sectors that need to be read or written; an operational identifier containing 0 and i Two health numbers, G indicates that the operation is to read the data of the disk sector', indicating that the operation is to write the data content in the data area of the disk structure into the disk sector; , containing 〇 and ] two integers, G means the operation is successful, 1 means the operation fails; and a data area is used to record the specific data content in the sector sector read or to be written from the disk sector. 3. A disk image backup and recovery method for computer system data, which is used in (4) Mirror backup and recovery of a plurality of client computers and nano devices, and mirroring and restoring the system and data of the client computers, the method includes the following steps: 27 200825712 The computer is run in advance. a client program, and is connected to a device in a basic round-robin output system (BIOS) of a client computer that needs to perform data backup; the client_ receives a read disk request from the valuer The data packet reads the data of the corresponding disk sector in the client computer according to the content of a disk sector structure (Dss) in the read disk request packet; the disk sector to be successfully read The data is copied to the data area of the disk sector structure, and the disk sector structure is stored in the packet (4) and sent to the feeding device; after receiving the data packet, the health thief extracts and processes the data packet. Disk sector data, and then write the disk sector data after 31 to the disk mirror file of the mine to complete the data backup; start a plurality of client computers that need data recovery, a client program pre-configured in the basic wheel-in output system of the respective computers, and connected to the server; the client computers receive a write disk request packet from the ship According to the content of the disk sector structure (Dss) in the write disk request packet, the data content in the data area of the disk sector structure is written to the corresponding magnetic field in each client computer. In the sector of the disc; and the storage of the disk sector structure after successful 7L is written to the server - the data packet is sent to the server to complete the data recovery. 28 200825712 4. The method for backing up and restoring the disk image of the computer system data as described in item 3 of the patent scope of claim 4, wherein the content of the disk sector structure comprises: a disk starting sector number, which is an integer. Used to identify the starting position of the sector of the disk that needs to be read or written; the number of sectors 'is an integer for recording the number of disk sectors that need to be read or written; Containing Q and 1 two health numbers, 〇 indicates that the operation is to read the disk sector data '1 indicates that the operation is to insert the data in the data area of the disk sector structure into the disk sector; - Operation result identification, which contains (4) 1 two integers, 〇 indicates that the operation is successful, 1 indicates that the operation fails; and the bedding area, _ records the specific data in the disk sector read or to be written from the disk content. 5. If the application for the computer Qianlongzhi mirror backup and recovery method described in item 3 of the scope is further applied, the method further includes the following steps: • starting the pre-layout on the 镰H towel-(4) backup recovery software, and waiting for the soldier The client computer that needs to perform data backup is connected; according to the content of the _ sector structure in the read disk request (4) packet, after reading the corresponding disk information of the client power, the read operation is performed. The result is backfilled into the disk sector structure; and 29 200825712, after the server completes the data backup, disconnects from the client computer, and the client computers detect that the connection with the server is interrupted. Exit the data preparation ^ eight process. 6. The method for backing up and restoring a disk image of the computer system data as described in claim 3, further comprising the steps of: starting a data backup recovery software preset in the server and waiting Connecting to each of the client computers that need to perform data recovery; according to the contents of the disk sector structure in the write disk request packet, the disk in the tributary area of the disk is structured After breaking into the corresponding disk sector in each client computer, backfilling the result of the write operation into the disk sector, the fabric, and the data area of the disk sector structure And clearing the data content; and when the server completes the data recovery, disconnecting from the client computers, the client computers exit the data recovery process after detecting that the connection with the server is interrupted. 30
TW95145731A 2006-12-07 2006-12-07 System for backing up and restoring disc mirror images of the computer system data and method therefore TWI319138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95145731A TWI319138B (en) 2006-12-07 2006-12-07 System for backing up and restoring disc mirror images of the computer system data and method therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95145731A TWI319138B (en) 2006-12-07 2006-12-07 System for backing up and restoring disc mirror images of the computer system data and method therefore

Publications (2)

Publication Number Publication Date
TW200825712A true TW200825712A (en) 2008-06-16
TWI319138B TWI319138B (en) 2010-01-01

Family

ID=44772064

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95145731A TWI319138B (en) 2006-12-07 2006-12-07 System for backing up and restoring disc mirror images of the computer system data and method therefore

Country Status (1)

Country Link
TW (1) TWI319138B (en)

Also Published As

Publication number Publication date
TWI319138B (en) 2010-01-01

Similar Documents

Publication Publication Date Title
TW518471B (en) Transaction scheduling for a bus system
CN102521072B (en) Virtual tape library equipment and data recovery method
TW201035871A (en) Power management to maximize reduced power state for virtual machine platforms
TWI286703B (en) Method using foreground image data to display and background program to load and execute computer program
TW201224931A (en) Fast computer startup
US7783895B2 (en) Method and apparatus for encrypting data to be secured and inputting/outputting the same
CN105681281B (en) Encryption device based on embedded OS
US20190370438A1 (en) System and method for automatic digital copy for physical media purchase
CN114637475A (en) Distributed storage system control method and device and readable storage medium
EP1800214A1 (en) Methods and apparatus for emulating software applications
CN101167058A (en) Apparatus, method and system for restoring files
TW201229750A (en) Upgrading an elastic computing cloud system
CN101201767A (en) System and method for backup and recovery of magnetic disc mirroring of computer system data
JP2002183088A5 (en)
TWI234960B (en) Method and system for controlling the switching of communication ports for an online session of a multi-user application and a program for use in a computer system to perform the method thereof
CN108307244B (en) Bullet screen speaking time control method, storage medium, electronic device and system
TWI312467B (en) External device and operating method applied thereto
TW200825712A (en) System for backing up and restoring disc mirror images of the computer system data and method therefore
CN103731457B (en) A kind of method for processing business and terminal
CN107273244A (en) The fault tolerant control method and system of a kind of media file storage
CN109788077A (en) A kind of cloud standby system that supporting cluster and its method
CN106250274A (en) The backup method of a kind of virtual machine and device
CN105550018A (en) Method for creating virtual machine in cloud computing system
CN102930875A (en) Real-time synchronous audio and video recording method
CN107357690A (en) The backup method and system of a kind of virtual-machine data

Legal Events

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