TW378291B - Method of recovering computer operating system (OS) and tool therefore - Google Patents
Method of recovering computer operating system (OS) and tool therefore Download PDFInfo
- Publication number
- TW378291B TW378291B TW87118180A TW87118180A TW378291B TW 378291 B TW378291 B TW 378291B TW 87118180 A TW87118180 A TW 87118180A TW 87118180 A TW87118180 A TW 87118180A TW 378291 B TW378291 B TW 378291B
- Authority
- TW
- Taiwan
- Prior art keywords
- file
- operating system
- short
- long
- name
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
五、發明說明(1) 〜· 【發明的應用範圍】 本發明係有關一種電腦作業系統的恢復方法及其工 具,可應用於不同語系之電腦作業系統,用以在D0S的作 業環境中將已崩潰之電腦作業系統恢復至崩潰前的狀態。 【發明的相關技術】 所謂的電腦作業系統,指的是管理電腦硬體和軟體資 源的一個系統程式,其主要的功能就是管理電腦的硬體奐 軟體之間的運作與配合,以及電腦和使用者之間的溝通工 作,也就是說電腦的硬體以及軟體的運作均必需在作業系 統(OS ; Operation System)的管理之下,才可以發揮電 腦的功能,例如早期的磁碟作業系統])〇s(I)isk 〇peratic)n System),或是目前個人電腦(pc )的主流作業系統(如 微軟公司所出品的視窗作業系統(Wind〇ws ))均是,因 此’電腦作業系統一旦崩潰(C r a s h e d ),則電腦將無法 再執行任何使用者所欲完成的工作,而本發明所探討的便 是以後者為主要對象的電腦作業系統在崩潰之後的解決方 法。 在傳統開放予一般使用的電腦操作環境中,使用者通 常無法將已經崩潰(Crashed )的電腦作業系統完全恢復 到其原來(Original )的狀態。以視窗作業系統ffind〇ws 為例’在視窗作業系統崩潰之後,使用者若欲恢復已崩潰 的電腦作業系統,通常的做法就是執行(r u n )微軟公司 (Microsoft)提供之安裝精靈(Wizard)中的設定或安裝 功能(86七叩/11^七&11),依照交談界面所提出的指示與問V. Description of the invention (1) ~ · [Scope of application of the invention] The present invention relates to a method and tool for recovering a computer operating system, which can be applied to computer operating systems in different languages, and is intended to be used in a D0S operating environment. The crashed computer operating system is restored to the state before the crash. [Related technology] The so-called computer operating system refers to a system program that manages computer hardware and software resources. Its main function is to manage the operation and cooperation between computer hardware and software, as well as computers and use. Communication between users, that is to say, the operation of the computer's hardware and software must be under the management of the operating system (OS; Operation System) in order to play the functions of the computer, such as the early disk operating system]) 〇s (I) is 〇peratic) n System), or the current mainstream operating system of personal computer (pc) (such as the Windows operating system (Wind〇ws) produced by Microsoft Corporation) are, so 'computer operating system once Crashed, the computer will no longer be able to perform any tasks that the user wants to complete, and the present invention explores a solution to the computer operating system with the latter as its main object after the crash. In a traditional computer operating environment that is open to general use, users often cannot completely recover a crashed computer operating system to its original state. Take Windows operating system ffind〇ws as an example. 'After the Windows operating system crashes, if a user wants to recover a crashed computer operating system, the usual method is to run the installation wizard provided by Microsoft. Settings or installation functions (86 七 叩 / 11 ^ 七 & 11), follow the instructions and questions
五、發明說明(2) 題’做出正確的選擇設定和相應的回答,然後才可重新安 裝一個新的系統,但這個系統仍不是崩潰前的狀態,這樣 的安裝過程,需要使用者過多的交互操作,卽#用者疫須 ^据—定姓j遍相關知識方能重新建麾二成一個相同系統 崩褸激吨壯態,造戒铲g者在胲U上的不# A J良—在 '^41助問題(如Windows95系統的安裝大約需 要20分鐘,Windows98甚至需要至少一個小時),而瓦也 不月b _達_到恢復崩潰系統先前狀.態的g的。 、由於這類視窗作業系統崩潰之後,只能在純DOS系統 下運行’而DOS系統又無法支援長播名(L〇ng File Name ^ ’如此一來將會造成包含有長檔名之視窗作業系統在恢 =十的問題(如同視窗作業系統Wi ndows的中文版與其他 扣系f本的作業系統,由於其中的某些檔案或目錄是以其 =士浯系的文字命名’ @這種檔案或目錄的名稱就無法在 版的DOS系統中恢復)m決m㈣當的 顳宜—Ά秦统―上..取理县德名遥I解法,» r問-種:糸的長短槽“在其所屬語系的作業系統上 這樣操作起來非常麻煩,且製作成本高。同時許 Γ的=操Ή統中取得的檀案名,細1碼是不 冋的延就Α恢设k成了困難,例如,在丨丨κ . 取到的中文映像(Image ),直於娈仝 .· ng 1 Sh上V. Description of the invention (2) Question 'Make correct choices and corresponding answers before you can reinstall a new system, but this system is still not the state before the crash. Such an installation process requires too many users Interactive operation, # user's epidemic must be based on the data-the surname can be re-established in order to rebuild the same system into a strong state, and those who do not shovel on 胲 U # AJ 良 — In the '^ 41 help problem (such as the installation of Windows95 system takes about 20 minutes, Windows98 even takes at least an hour), and the tile also does not restore the previous state of the crashed system. 2. After this type of Windows operating system crashes, it can only be run under pure DOS system, and the DOS system cannot support long broadcast names (L0ng File Name ^ 'This will cause a window operation with a long file name. The problem of the system being restored = ten (like the Chinese version of Windows operating system Windows and other operating systems based on f, because some of these files or directories are named after the text that is = 士 浯 系) Or the name of the directory cannot be restored in the version of the DOS system) m decided m ㈣ when the time should be-统 Qin Tong-Shang .. take Lixian Demingyao I solution, »r asked-species: the long and short slot of the" in It is very troublesome to operate on the operating system of the language family that it belongs to, and the production cost is high. At the same time, the name of the Tan case obtained in the operating system is thin. For example, the Chinese image (Image) obtained in 丨 丨 κ. Is straight on the same. · Ng 1 Sh
Page轉譯’然後在中文系統啟田月J的⑸心 敗。 文動後檔案名的恢復便會失 【發明之目的及概述】Page Translation ’and then in the Chinese system Qi Tianyue J ’s heartfelt defeat. The file name will be lost after the text is moved. [Objective and summary of the invention]
C:\Program Files\Patent\p-0183tw.ptd 第 6 頁C: \ Program Files \ Patent \ p-0183tw.ptd page 6
五、發明說明(3) 本發明的目的就是要提供一插兩 rf^^CSetup/Install), 禮白,含有長播名的電腦作業系絲.,描供—二爲::恢 瓦球度-A」m腦 系統抜德方法。 ......便而 根據本發明所揭露之技術,係接 、包含目錄名稱)建立成一長短播名對照表K全::[ 根據長短檔名對照表,將短檔名恢彳# & / 犏系…、後再 w孤π田々「火设成為 統中對應的長檀名’如此便可以解、、办绌n 檔名的問題。 衣兄个叉钗長 本發明的另一目的就是要提供一種可以在純d〇s環境 下快速恢復包含有長檔名之電腦作業系統的工具。 根據本發明所揭露之技術,所謂的恢復工^就是提供 ~種電腦可讀取的記錄媒體(如:光碟、磁碟),A中儲存 有:藉由本發明之方法且依據崩潰前之電腦作業^統所建 立的長短檔名對照表檔案,以及命令電腦執行恢復作業的 機械碼指令(即驅動程式),因此,使用者在視窗作業系 統崩潰之後,在DOS系統中直接恢復視窗作業系統 ” ^ (Windows ),並且可以根據本發明所提供的技術使各種 不同語系的長播名被在同一作業系統正確的識別和恢復, -曰主於主要恢復工作是在純DOS下進行的,故速变,进,σ 而龜立在長短檔名_對,照_產_史敗表為―名™赛^料_ I—係一以―旱一 石-?XJlnicode)夷示,放—更—可一適一角_^_恢_農_25_固—語〜參的電腦作 f系統。 ' 、V. Description of the invention (3) The purpose of the present invention is to provide one plug-in two (rf ^^ CSetup / Install), courtesy, computer operation system wire with long broadcast name, description—two :: restore tile sphericity -A "m brain system ethics method. ... and in accordance with the technology disclosed in the present invention, the connection and inclusion of directory names are established into a long and short play name comparison table K :: [according to the long and short file name comparison table, the short file name is restored # & / 犏…, and then w solitary 々 Tian 々 "fire set to become the corresponding long Tan name in the system, so that you can solve the problem of file name n. Yi Xiong a fork of the other purpose of this invention It is to provide a tool that can quickly recover a computer operating system containing a long file name in a pure DOS environment. According to the technology disclosed in the present invention, the so-called recovery method is to provide ~ a computer-readable recording medium (Such as: optical disc, magnetic disk), A stores: the long and short file name comparison table file created by the method of the present invention and according to the computer operation before the crash, and the mechanical code instructions that instruct the computer to perform the recovery operation (that is, Driver), so after the Windows operating system crashes, the user can directly restore the Windows operating system in the DOS system "(Windows), and can use the technology provided by the present invention to make longcast names in various languages available in The same operating system is correctly identified and restored. -The main recovery work is performed under pure DOS, so the speed changes, advances, σ, and the turtle stands in the short and long file name _ right, according to _ production _ historical defeat table is ― The name ™ race ^ material _ I-is a system of _ dry one stone-? XJlnicode), put-more-can fit a corner _ ^ _ Recover_ 农 _25_ 固-language ~ reference computer system. ',
C:\ProgramFiles\Patent\p-0183tw.ptd 第 7 頁 五、發明說明(4) 【圖式說明】 第1圖=為本發明之方法流程圖,顯示建立長短播 第9 s π表,以及恢復電腦作業系統的步驟。 同,係為本發明之數據轉換功能方塊圖。 第4 :係為本發明之實施例詳細步驟流程圖。 •具:為本發明之實施例局部步驟流程圖,顯示建立 第 又紐檔名對照表檔案的詳細步驟流程圖。 θ ’係為本發明之硬體方塊圖。 圖,係為實例之目錄及檔案結構圖。 1毛明之詳細說明暨實施例】 根據本發明所揭露之技術,其基本的手段包括: 在儲存有欲恢復之電腦作業系 硬碟的全部檐案(包含目錄名稱)建立:一汶取 名對照表檔案; ;逯立成一長紐檔 b ·在欲恢復電腦作業系電 照表播案之資料;以及 細中下载長知植名對 恢復成為原 :D0S環境不支援長播名的問題,並且此在決 速恢復已崩潰的電腦作m 且在D〇h境迅 為··而本發明在實施上主要可以區分為兩個過程,分別 1 ::過程:主要係在建立長短檔 在電腦系統未崩潰之义Α, 、、衣检案,以便 貝之則先將整個電腦力業系'统的全部 麵 C:\Program Fi les\Patent\p-0183tw. 一 ίνυ」 播案名稱(包含目錄名稱)取出作數據轉換,以便生 成—個主要的電腦作業系統恢復工具,用於進行往後 的電腦作業系統恢復工作; 2、恢復過程:係在1)〇3環境下進行,然後根據準備過程 中所建立的長短檔名對照表,將短檔名對應轉為相應 的長槽名,以便於恢復包含有長檔名的原始電腦作^C: \ ProgramFiles \ Patent \ p-0183tw.ptd Page 7 V. Description of the Invention (4) [Illustration of the Figures] Figure 1 = Flow chart of the method of the present invention, showing the establishment of the 9th s π list of long and short broadcasts, and Steps to restore your computer operating system. The same is a block diagram of the data conversion function of the present invention. Step 4 is a detailed flowchart of the steps of the embodiment of the present invention. • With: This is a partial flow chart of an embodiment of the present invention, showing a detailed flow chart of creating a new file name comparison table file. θ 'is a hardware block diagram of the present invention. The diagram is the directory and file structure of the example. 1 Mao Ming's Detailed Explanation and Example] According to the technology disclosed in the present invention, the basic means include: Establishing all eaves cases (including directory names) of the computer operating system hard disks to be restored: Table file;; standing as a long file b · downloading the information of the radio meter broadcasting case where you want to resume the computer operation; and downloading the long-known naming pair to restore the original: D0S environment does not support the long broadcasting name problem, and This is to restore the crashed computer as m and do it in Doh. The implementation of the present invention can be mainly divided into two processes, respectively 1 :: process: mainly in the establishment of long and short files in the computer system The meaning of not crashing Α, ,, and clothing inspection cases, so that Bei Zhi will first cover all aspects of the entire computer power system 'C: \ Program Fi les \ Patent \ p-0183tw. 一 ίνυ ”broadcast name (including directory Name) Take it out for data conversion in order to generate a major computer operating system recovery tool for future computer operating system recovery work; 2. Recovery process: It is performed in 1) 03 environment, and then according to the preparation process in Establishing the length of the file name table, a short file name corresponding to the name into a respective elongated slot, so as to recover the original computer file containing names as long ^
系統’如視窗作業系統或其他包含有長檔名的電作 業系統。 F 凊參閱「第丄圖」,根據本發明所揭露之技術,係 由執灯下列所示之步驟而實現,包括有: 9 1 ·取得長檔名:而為了處理不同語系中特殊文字 i本發明'是逐—的將多稹不固語、系的.電腦: '· .、·、,·Μ乍為從屬鋥老(SUve )欲在$揸星一碼 (Unicode)的作業象 i (Win(j0ws NT 4 Owk^ (見「第2圖」)’然後根據本發明之檢索 名容後詳述)取得該語系之電腦作#系統的長播 2.,立一適用於該語系電腦作業系統 表’其資料結構如「表七化抆組棕名對照 徑、短檐名、對應短檔名的产=凡整之播案路 及其相關之播案參數,並 田具檐案屬性,以 表,連同對應的檀案内容短權= 短檔名對照表檔案; 」所不之長 3·進行數據壓縮,生成數據資料壓縮_(zipfileSystem 'such as Windows operating system or other electric operating system with long file name. F 凊 Refer to "Figure」 ". According to the technology disclosed in the present invention, the following steps are performed by the holder, including: 9 1 · Obtaining a long file name: In order to process special text in different languages i The invention 'is one-by-one. It will be verbal and irrelevant. Computer:' · ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, and ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, as ,,, as ,,, as, as as Win (j0ws NT 4 Owk ^ (see "Fig. 2") 'and then detailed according to the search name of the present invention) to obtain the computer of the language as the long broadcast of the # system 2. Liyi is suitable for computer operations in the language The data structure of the system table is as follows: "Table seven of the Huayu group brown name comparison path, short eaves name, corresponding short file name production = Fanzheng's sowing path and its related sowing parameters, and fields with eaves attribute, Take the table, together with the corresponding short case content = short file name comparison table file; "What is the longest 3? Perform data compression to generate data data compression_ (zipfile
C:\Program Files\Patent\p-0183tw.ptd _ 第C: \ Program Files \ Patent \ p-0183tw.ptd _ page
五、發明說明(6) ):係將前一步驟所完成的長短檔名對昭表槽幸同 時與用以執行恢復作業的機械瑪指令:即 ),一併儲存於電腦可讀取的記錄媒體(如:光 碟、磁碟),而為了使長短檔名對照表檔案的數據 資料壓縮檔案在解壓縮之後,能夠成功的在將來對 應之語系的電腦作業系統中被恢復,數據資料的壓 縮將在對應之語系的電腦作業系統中進行;【當然 若是不進行數據資料的壓縮,亦是可行的方田Z 發明並不限制。】V. Description of the invention (6)): The long and short file names completed in the previous step are shown to Zhao Biao, and the mechanical instructions used to perform the recovery operation are also stored in the computer-readable record. Media (such as optical discs, magnetic disks), and in order to make the compressed data files of the long and short file name comparison table files, after decompression, they can be successfully restored in the corresponding computer operating system in the future. It is carried out in the computer operating system of the corresponding language department; [Of course, it is also feasible if the data is not compressed, and the Fangtian Z invention is not limited. 】
4. 在DOS環境下利用恢復工具中的驅動程式啟動壓縮 後的數據資料:此時儲存在記錄媒體中 =表槽案,將會儲存至電腦作業系統已崩潰G 5. 執行^壓|,用以將數據資料壓縮檔宰 f據資料係以壓縮的形態自記錄媒體提取至電腦: 中,所以在執行的速度上極為快速;以及 6·==名對照表,將短播名恢復成為原始電r 中對應的長檔名;而此一恢復長檔: 転,則疋利用恢復工具中的驅動程式 =過 述的步驟1〜3係屬於準備的過程,:牛成的。 則是屬於恢復過程的步驟。 而y驟4〜6 有關本發明中维矣過兹沾μ Λ ^ 圖」,其包括有 a .依照查詢條件檢索硬碟(d i s k 」,其包括有咖細貫施步驟’請參閱「第 其中所謂的查4. In the DOS environment, use the driver in the recovery tool to start the compressed data: At this time, it will be stored in the recording medium = table slot file, and it will be stored in the computer operating system has crashed G 5. Run ^ pressure | The compressed data files are extracted from the recording media to the computer in a compressed form: so it is extremely fast in execution speed; and 6 · == name comparison table, which restores the short broadcast name to the original The corresponding long file name in r; and this one restores the long file: 転, then 疋 use the driver in the recovery tool = steps 1 to 3 described above belong to the preparation process: Niu Cheng's. These are the steps that belong to the recovery process. Steps 4 to 6 are related to the "μ Λ ^ ^ graph" in the present invention, which includes a. Retrieve the hard disk (disk) according to the query conditions, which includes the detailed steps of the application. So-called investigation
C:\Program Files\Patent\p-〇i83tw. ptd f. i〇 頁 五、發明說明(Ό 詢條件即為查詢的對象,例如欲檢索電腦作業系統 中的系統棺(c ο n f i g ),而"c ο n f i g"便是所謂的查 詢條件。】 b.判斷是否存在任何檔案(f i 1 e ),若為是,則進行 下一步驟,若為否,則跳至步驟k ;【原則上只要 在硬碟中存在有任何的檔案或是目錄,均視為存在 有檔案。】 c判斷是否為一目錄,若為是,則進行下一步驟,若 為否,則跳至步驟j ;【在此一實施例中,本發明 是_先對檔案目錄作檢索,用以_建.立.一個檔案的目錄 辦(t r e e ),然後根墟此一 .目錄樹建.立成一個包括 長短檔名對照表,·以..及澍藤冬-播案内容.的.、長缔·檔盖 對照^表檔案.。、】 d. 判斷該目錄名稱是否為".π或” ..π格式,若為 是,則跳至步驟j,若為否,則進行下一步驟; 【如果_目錄名稱不是上述格式則+表示該目綠名稱為. 長檔名_】 e. 連結短目錄名及查詢條件;【即置短目錄名為查詢 條件(/如_短目錄名="conf i g"),其目的是在保存 原有電腦作業系統的目錄名。】 f. 生成目錄節點並插入目錄樹; g. 以該節點為父節點目錄遞歸調用此功能生成目錄 樹;【就是以此一短目錄名為父節點向下尋找子目 錄並重覆a至f的步驟,建成一目錄樹。】C: \ Program Files \ Patent \ p-〇i83tw. Ptd f. I〇 page 5. Description of the invention (Ό The query condition is the object of the query, such as the system coffin (c ο nfig) in the computer operating system, and " c ο nfi g " is the so-called query condition.] b. Determine if there are any files (fi 1 e), if yes, proceed to the next step, if not, skip to step k; [principle As long as there are any files or directories on the hard disk, they are deemed to exist.] C to determine whether it is a directory, if yes, proceed to the next step, if not, skip to step j; [In this embodiment, the present invention first searches the archive directory to build a directory tree, and then roots this directory directory to build a file including long and short files. Name comparison table, ···· and 澍 藤 冬-broadcast case content., Long association · file cover comparison ^ table file ..., d. Determine whether the directory name is " .π or "..π Format, if yes, skip to step j, if no, proceed to the next step; [if the directory name is not the above The format + means that the name of the project is. Long file name _] e. Link the short directory name and query conditions; [ie set the short directory name to the query condition (/ eg _short directory name = " conf i g "), The purpose is to save the directory name of the original computer operating system.] F. Generate a directory node and insert the directory tree; g. Use this node as the parent node directory to recursively call this function to generate a directory tree; [is a short directory name Find the child directory for the parent node and repeat the steps a to f to build a directory tree.]
C:\Program Files\Patent\p-0183tw. ptd 第 11 頁 五 '發明說明(8) h·掃描所生成的目錄 【亦K卩β扭秘 建立長紐檔名對照表檔案; 的:η目錄樹之路經,取得當前目錄下所含 ^案名及其相關資料,建立長短播名對照表播 索同-目錄樹,修改特殊 J.檢索其餘檔案;以及 k.結束準備作業。 請參閱「第4圖,,l·、+、 hi .判斷目1 θ述步驟h係包括有: 步驟,芒盏不日丨,《· r 在目錄’右為是則繼續下一 ^ ^ 右為否則跳至步驟k , h2 .檢索此一目錄下的全捽 表蜱宏.r l里六+ 丨知案,建立長短標名對照 錄’則根據本發明的方法, 名,對於那些非為ASCH^H長檀名和短槽 的編碼修改此檔名,用以S 則按自定 tl w 乂建立長短檔名對昭袅的次 料内容。】 π习,、、、衣的貝 h3 .判斷是否還存在子目錄, Τ ^ j π 、 ·、 右為否則繼續下一步 驟’若為是則跳至步驟h 5 ; h4 ·判斷是否存在同級之另— ^ ^ Λ , 目錄?若為是則繼續下 一步驟,若為否則跳至步驟k;以及 貝^ h5 ·置此目錄為當前目錄,並跳至步驟h2。 基本上,前述的步驟hi〜h5可葙盔θ各丨m 夺 、J祝為疋利用二元樹的搜 哥法(Binary Tree Traversal )’根據步驟§所生成的目 錄樹結構’逐一檢索各個目錄中的檔安Γ姑 J保木C被取出的檔案係C: \ Program Files \ Patent \ p-0183tw. Ptd Page 11 5'Explanation of invention (8) h · Scan the generated directory [also K 【β twist secret to create a long file name comparison table file; Path of the tree, obtain the name of the case and its related information in the current directory, establish a long-short broadcast name comparison table and search the same-directory tree, modify the special J. retrieve the remaining files; and k. End the preparation. Please refer to "Figure 4, l ·, +, hi. Judgment item 1 θ The step h includes the following steps: Steps are not bright 丨," · r is in the table of contents to the right, then continue to the next ^ ^ right Otherwise, skip to steps k, h2. Retrieve the full list of tick macros in this directory. Rl + 6 + 丨 Known Cases, establish a long-term and short-term reference list 'according to the method of the present invention, name, for those that are not ASCH ^ H Changtan name and short slot code to modify this file name, using S, according to the custom tl w 乂 to create a long and short file name for the content of Zhao's secondary materials.] Π Xi ,,,, and clothing h3. Judge whether There are also subdirectories, Τ ^ j π, ·, right is otherwise continue to the next step 'if yes, skip to step h 5; h4 · determine whether there is another of the same level — ^ ^ Λ, if it is yes, continue Next step, if not, skip to step k; and ^ h5 · Set this directory as the current directory, and skip to step h2. Basically, the aforementioned steps hi ~ h5 can be divided into helmets θm and J, respectively. In order to use the binary tree search method (Binary Tree Traversal) 'based on the directory tree structure generated in step § to retrieve each directory one by one Regardless of file security Γ Paul J wood-based file C is removed
C:\PrpgramFiles\Patent\p-0183tw.ptd 第 12 頁C: \ PrpgramFiles \ Patent \ p-0183tw.ptd page 12
五、發明說明(9) 由檢索條件所決定),以 案,作為恢復電腦作業系统2出一長短檔名對照表檔 目錄中之檔案的方法:、並用’當然此種逐-檢索各個 限,若是利用其他的二元樹!^述揭露的實施步驟為 的。 树搜哥法進行亦可達到相同之目 根據本發明的方法,在 程中,對於特殊語系之長槽名對照表槽案的過 (Unicode)的作#夺统名的處理,係採用支援單一碼 a、 n f系糸、、死作為數據轉換器3 0 (工作芈 口 ),例如WinNT4.〇⑽,利用ψιη ( ^乍千 碼(UmC0de)的優點,取 〈U克杈早一 名,對長播名採用Unicode: = ;嶋系統的播案 皆可適用的國際編碼標準)、·.,:儲如存在;一 f對於任何語系 中,其目錄採用如下方式儲存檔案名: 町棕木g理 長播名採用Unicode格式儲'存· b·.短檔名採用OEM碼儲存; ’ 因此,我們可以在相同的工作 ί短播名,將短播名轉換為。的 子不可辨識的問題。 疋尤果些文 而在「表一」所示的圖表,係為長短標 義編碼格式,其中數據的單位均為字元rbyte)自定 上的短檀名在讀取時,是將短檔名帶有的全'部路押二磁碟 OEM碼表示出來的,而對於磁碟中的長檔名,由二起用 僅在於將對應的短檔名恢復成正確的長檔名,作用 換中則不須包含路徑,僅用單一碼(Unic〇d 本任為碼轉 C:\Program Files\Patent\p-〇183tw. ptd 第 13 頁 五、發明說明(10) __s 性—(唯讀、隱藏、修充 以數字表示,而其他如權案生成、訪問、:;夸=序 用以將系統恢復至崩潰前狀態的相關參夕m二:是 照表中也-併予以記錄。/数在長紐檔名對 月 > 閱第5圖」,係為本發明在進行準備涡 用的硬體架構,其中包括有:進仃旱備過所利 系缔::腦10,係採用支援單一碼(unicode)的作辈 糸統為其電腦作業系統(如winNT4 0 甘j業 電腦作業系統作為從屬程v(s=『要 =^進仃剛述的數據轉換工作,所以可以取得不同赛) !工二的檔案名,對長檔案名採用Unicode編碼儲存,糸术 V建立長短檔名對照表;以及 進 於儲;體n碟、磁们,用 丨田々π ,、、、衣;f田荼(包含有:長短檔名 ) □以及用以執行恢復作業的機械碼 Β# π 1〜,釭式)。因此使用者在遭遇電腦系統崩潰t 4 1 7程式,而快速的完成電腦系統的恢復工作。' =「第2圖」所示,多種不同語系的電腦作業 文語系作業系統、法文語系作業系統、英文語系作 ::糸統),均透過支援單一碼(Unicode)的 〃 = ·0,),建立成長短播名對照表槽案手:同(; 以订恢復作業的機械碼指令(即驅動程式),而生商 用於相應之語系的電腦作業系統恢復工具(實際上就是tV. Description of the invention (9) Determined by the search conditions), as a method to recover the files in the long and short file name comparison table file directory of the computer operating system 2: and use 'of course such search-by-search each limit, If you use other binary trees! ^ The implementation steps of the disclosure are described. The tree search method can also achieve the same purpose. According to the method of the present invention, in the process, for the long slot name comparison table slot of the special language (Unicode), the process of # winning the unified name is adopted to support a single Codes a, nf are used as data converters 30 (working ports), such as WinNT4.0. Using the advantages of ψιη (^ mq0de), take <U gram early, right The long broadcast name uses Unicode: =; 嶋 system's broadcast case can be applied to international coding standards), ..,: storage if it exists; a f for any language, its directory uses the following method to store the file name: 町 棕 木 g The long broadcast name is stored in Unicode format, and the short file name is stored in OEM code. Therefore, we can convert the short broadcast name into the same work. The child is not identifiable. The chart shown in "Table 1" by You Youguo is a long and short standard coding format, in which the unit of data is the character rbyte.) When the custom short name is read, it is a short file. The full OEM code of the two disks in the name is indicated by the OEM code. For the long file name on the disk, the function of the second file is only to restore the corresponding short file name to the correct long file name. You do not need to include the path, only use a single code (Unic〇d is the code to C: \ Program Files \ Patent \ p-〇183tw. Ptd page 13 V. Description of the invention (10) __s sex-(read-only, Concealment and repair are represented by numbers, while others such as rights case generation, access, and:; = = relevant parameters used to restore the system to the state before the crash m2: according to the table-and recorded. / 数The name of the month on the long button is shown in Figure 5. "This is the hardware structure of the invention for preparing the vortex, which includes: The generation of a single code (unicode) is generally its computer operating system (such as winNT4 0 Gan jie computer operating system as a slave process v (s = 『 = ^ Jinyi just described the data conversion work, so you can get different matches)! The file name of the second worker, the long file name is stored using Unicode encoding, and the method V establishes a long and short file name comparison table; Discs and magnets use 丨 々 々 ,,,, clothing; f Tian Tu (including: long and short file names) □ and the machine code B # π 1 ~, which is used to perform recovery operations. Therefore, users Encountered a computer system crash t 4 1 7 program, and quickly completed the computer system recovery work. '= "Figure 2", as shown in Figure 2, computer operating systems in many different languages, language operating systems, French operating systems, English language operations: : 糸 Uniform), both through the support of a single code (Unicode) 〃 = · 0,) to establish a short-term name comparison table slot case: Same as (; to order the machine code instructions for recovery operations (that is, the driver), and Computer operating system recovery tool used by the corresponding language department (in fact, t
五、發明說明(π) 種電腦可讀取的記錄媒體,如光碟或磁碟。)。 關於恢復過程’實際上就是準備過程的逆過 疋先將長短檔名對照表檔案存入欲恢也就 =,再:同建立目錄樹以及逐一檢二; 的方式,根據長短標名對照表,將短槽名恢復成2案 腦:”統中對應的長檔名’即可完全的將電腦作】:: 恢復至崩潰前的狀態。 ”系、·先 【實施例】 兹舉一例,如在中文Win98系統中,根據本發明之方 法’檢索到磁碟機C的目錄C:\Windows\Favor得到如「第 6圖」所示的檔案目錄及其内容。 如果在UK. English的Windows系統上取檔案名,則其 中文檔案名稱不能被系統正確解釋,將變為或"? „ 導致系統恢復後文件名稱的恢復失敗。而利用本發明所提 供的技術建立長短檔名對照表其流程如下: 首先建立目錄樹,在C:\Windows\Favor中.查找所有檔 案,看是否存在目錄,確認其中的"Desktop, ini"為一槽 案’繼續向下查詢得到一目錄名為"連結",判斷此一目錄 名為非ASC 11碼字符(因其為中文字),記錄下此一目錄 名"連結",並將其按照【表一】所示的自定義編碼格式將 目錄名改成π自定目錄名1 "(為長檔名),建立長短檔名 對照表,將"自定義目錄名1 11對應於"連結"(為短檔名 ),並在對照表中記錄下此一目錄的屬性、生成及訪問、 修改的時間等相關參數,檢索"連結"目錄下是否還存在子5. Description of the invention (π) A computer-readable recording medium, such as an optical disk or magnetic disk. ). Regarding the recovery process, it is actually the reverse of the preparation process. First, save the long and short file name comparison table files to restore it. Then, the same way: create a directory tree and check the two one by one; the way, according to the long and short name comparison table, Restore the short slot name to 2 cases: "The corresponding long file name in the system can be used to complete the computer] :: Restore to the state before the crash." Department, first [Example] Here is an example, such as In the Chinese Win98 system, according to the method of the present invention, the directory C: \ Windows \ Favor of the disk drive C is retrieved to obtain the file directory and its contents as shown in FIG. 6. If the file name is taken on the Windows system of UK. English, the Chinese file name cannot be interpreted correctly by the system, and will become or "? „Causes the restoration of file names after system recovery fails. The process of establishing a comparison table of long and short file names using the technology provided by the present invention is as follows: First, create a directory tree in C: \ Windows \ Favor. Find all files to see if they exist Directory, confirming that "Desktop, ini" is a case 'continue to search down to get a directory name " link ", determine that this directory name is non-ASC 11 code characters (because it is Chinese characters), Record this directory name " link ", and change the directory name to π custom directory name 1 (for the long file name) according to the custom encoding format shown in [Table 1], and create short and long files Name matching table, corresponding to "custom directory name 1 11" with "link" (for short file name), and record the attributes, generation and access, modification time and other related parameters of this directory in the comparison table To retrieve if there are any subdirectories in the "link" directory
C:\Program Files\Patent\p-0183tw.ptd 第 15 頁 五、發明說明(12) 目錄或檔案,檢索結果表明在”連結”目錄下存在有—檔 案 名稱為"I n t e r n e t E X ρ 10 r e r新聞.u r 1π ,按照短伊名 的統一標準判定其為短檐名,因此用OEM碼將其改耷^ INTERN〜1 · URL";又檢索到目錄"連結’I下存在一子目錄, 名稱為"頻道指引",則重覆前述的步驟,重新按照前面所 ,的過程判斷子目錄”頻道指引"的名稱為非ASn !碼字 符’並根據單一碼(Un i code )改為11自定義目錄名2 " (而實際上表示此一’’自定義目錄名2"的此丨⑶心碼,一 f f相應語系之電腦作業系統中被恢復之後,仍然將被解 項為"頻道指引"),寫入長短標名對照表,並將,,自定破解 目錄名2 ” (長檔名)對應於"頻道指引,,(短檔名) 要判斷這個子目錄下是否有文件和目錄,如此 ^,母查找到一個新的目錄,都要將其作為新的起點, 繼碎it,步冑,直到該目錄被完全檢索完畢為止;還要 斷弟一級目錄是否存在同級的另一目錄,在這個實 包例中,不存在同級的另一目錄,故程式处 :名二其槽案屬性的建立過程’當要恢復這些長短播名“ a ^ 思幻负妞桔名對照表,對應找出自定義 ::名:代表的目錄名,將其還原為可以識別的正確的目 於其中的長播名“單1 (Unicode)表示, 所以對於任何語系的長短檔名稱皆可適用。 【發明的功效】 ^ ° 1.可=在DOS系統下恢復電腦操作系統,恢復速度快, 亚且恢復過程中不須使用者交互選擇,操作簡單、方C: \ Program Files \ Patent \ p-0183tw.ptd Page 15 V. Description of the invention (12) The directory or file, the search results show that there exists in the "link" directory—the file name is " Iternet EX ρ 10 rer News.ur 1π, which is judged to be a short eaves name according to the unified standard of the short Iraqi name, so it was changed using the OEM code ^ INTERN ~ 1 · URL " A directory was found under the link " I, If the name is "Channel Guide", repeat the previous steps, and judge the sub-directory "Channel Guide" as a non-ASn! Code character according to the previous process, and change it according to a single code (Un i code). 11Custom directory name 2 " (In fact, it means that the `` custom directory name 2 " is the heart code of this custom directory name, and it will still be resolved as " after being restored in the computer operating system of the corresponding language. ; Channel guide "), write the long and short label name comparison table, and ,,, to customize the directory name 2 "(long file name) corresponds to the" channel guide, "(short file name) To determine this subdirectory Are there files and directories like this ^ When a mother finds a new directory, she must use it as a new starting point, and continue to break it until the directory is completely retrieved. It is also necessary to determine whether another directory at the same level exists in the first-level directory. In the package example, there is no other directory at the same level, so the procedure is as follows: The process of establishing the name attribute of the case 'When you want to restore these long and short play names' a ^ Sixiang negative girl orange name comparison table, corresponding to find a custom :: Name: The name of the representative directory. It will be restored to the long name that can be recognized correctly. The name is "Single 1 (Unicode)", so it can be used for short and long file names in any language. [Effects of the invention] ^ ° 1. Can = recover the computer operating system under DOS system, the recovery speed is fast, and no user interaction is required during the recovery process, the operation is simple and convenient
五、發明說明(13) 便 2.提供一種對長檔名(Long File Nam〇保存和恢復的方 法y以使不同s吾系的ηnd〇ws長檔名被正確識別和恢 復並且對於所有語系的操作系統皆可適用。 短檔名(全路徑)OEM碼 芦惜名(不帶路徑)UNICODE碾 愔茱屬性=4 檔案生成時間 檔案訪問時間 檔案修改時間 =8 =8 =8 【表一】 -級目錄1. —'級目錄1 二級目錄2 • · · 一級目錄2 案案.i 檔檔 案部部 檔全全 部下下 全1 2 下錄錄 1巨巨· 錄級級. .目二二· •級 一級目錄2下全部檔案 【表二:目錄及檔案儲存順序】V. Description of the invention (13) Note 2. Provide a method for saving and restoring long file names (Long File Nam) so that ηnd〇ws long file names of different lines are correctly identified and restored, and for all language families The operating system is applicable. Short file name (full path) OEM code Lu Ximing name (without path) UNICODE millet dogwood attribute = 4 file generation time file access time file modification time = 8 = 8 = 8 [Table 1]- Level Directory 1. —'Level Directory 1 Level 2 Directory 2 • · · Level 1 Directory 2 · • All files under level 1 directory [Table 2: Directory and file storage order]
C:\ProgramFiles\Patent\p-0183tw.ptd 第 17 頁C: \ ProgramFiles \ Patent \ p-0183tw.ptd page 17
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW87118180A TW378291B (en) | 1998-11-02 | 1998-11-02 | Method of recovering computer operating system (OS) and tool therefore |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW87118180A TW378291B (en) | 1998-11-02 | 1998-11-02 | Method of recovering computer operating system (OS) and tool therefore |
Publications (1)
Publication Number | Publication Date |
---|---|
TW378291B true TW378291B (en) | 2000-01-01 |
Family
ID=21631849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW87118180A TW378291B (en) | 1998-11-02 | 1998-11-02 | Method of recovering computer operating system (OS) and tool therefore |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW378291B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI447574B (en) * | 2010-12-27 | 2014-08-01 | Ibm | Method,computer readable medium, appliance,and system for recording and prevevting crash in an appliance |
-
1998
- 1998-11-02 TW TW87118180A patent/TW378291B/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI447574B (en) * | 2010-12-27 | 2014-08-01 | Ibm | Method,computer readable medium, appliance,and system for recording and prevevting crash in an appliance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4522170B2 (en) | Relational database index addition program, index addition apparatus, and index addition method | |
US8341197B2 (en) | Encoder, decoder, their methods, programs thereof, and recording media having programs recorded thereon | |
US20050160356A1 (en) | Dealing with annotation versioning through multiple versioning policies and management thereof | |
CN101167058B (en) | Apparatus, method and system for restoring files | |
US8996542B2 (en) | Navigation of hierarchical data sets | |
JP2006031687A (en) | External metadata processing | |
US20070179997A1 (en) | Computer backup using native operating system formatted file versions | |
CN112231407B (en) | DDL synchronization method, device, equipment and medium of PostgreSQL database | |
CN102289524A (en) | Data recovery method and system | |
US8341127B1 (en) | Client initiated restore | |
EP1696340A1 (en) | Information processing apparatus, information processing method, and computer program | |
TW200925972A (en) | Modifying hover help for a user interface | |
TW378291B (en) | Method of recovering computer operating system (OS) and tool therefore | |
KR100397021B1 (en) | Method and apparatus for processing recursive hard links in a data processing system | |
US6642941B1 (en) | Displaying optimum screens on various types of output terminals using a common application | |
US20140075577A1 (en) | File security control system and method | |
CN102346696B (en) | A kind of file access pattern method and device | |
WO2019085354A1 (en) | Excel system interface-based database linkage method, electronic device, and storage medium | |
CN105760456A (en) | Method and device for maintaining data consistency | |
CN109918346A (en) | A kind of creation method and device of file | |
CN103995842B (en) | File deletion method and system | |
JP2007200047A (en) | Access log-displaying system and method | |
TW544624B (en) | Method for providing multinational language data display on user interface and the system thereof | |
US20100179944A1 (en) | Local Data Retrieval And Restoration Method And System Thereof | |
US20020169780A1 (en) | Method and data processing system for providing disaster recovery file synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent | ||
MM4A | Annulment or lapse of patent due to non-payment of fees |