九、發明說明: ,、 【發明所屬之技術領域】 中不關於種壓力測試方法,且特別是一種對檔宰孚统 瓣物1力職綠。 織存放為在電腦中替崎名、儲存播案、和組 法ϋ作擁有對應的樓 ,例如用於視窗作業系統购dowsNT的_播幸系統、 統觸統的⑽嶋、統,使用者透過這些播案系 =以組織的將樓案存放於電腦的儲存裝置,並且有效率的將 宰予隨著電腦技術提昇以及電腦網路技術發展,播 來空間已不限於單—電腦的硬碟等裝置。舉例 束。兄以咖硬碟或USB隨身碟連接至 _文件夹藉以增加標案系統的容量,亦或是藉由網:連:至統 服器上的儲存空間視為檔案系_-個邏 建置_系統需進力測試’以確保#料存放於播案系統 不,因頻繁的讀寫動作而發生資料讀寫錯誤。所謂的塵力測試, 即疋於㈣間内對檀案系統進行頻繁的讀寫操作,並記錄是否 出現存取錯誤以及發生存取錯誤的磁碟分區。_,隨著槽 統建置規模增長,檀㈣統包含的實體儲存輕衫、组:文 件檔案亦趨複雜’進行壓力測試遂變成相#繁複的課題。目前進 行桔案糸統的壓力測試普遍存在以下問題:_、測試覆蓋率、廣 1335524 度不足,掛載(rnouni)於電腦系統的儲存裝置因、, ie㈣不足而無法完整顯示於檀案系統,、电碟代號(扣ve 存裝置因無法__代 掛載於槽㈣統的儲 掛載的錯存裝置進補力顧二時無法對這些 餘存裝置支援不同的讀寫速度,_量_#_二=== 之儲存裝魏侧試_ S速賴高_錢置^錢 測出實際的讀寫效率。三、單—次測 _ ° Μ法檢 多系統資源。 彳而#間過長’且佔用過 【發明内容】 鐾於上述檔㈣統的壓力峨所存在_題,本發明 找出包括不具磁碟代號之所有系統磁碟,以針對、言此_, =系統磁碟調用不同的測試演算法進行動測試, 統進行壓力測試之正確性。 呆心求系 為達上述目的’本發明之播案 步驟:遍歷系統磁碟中的數個具磁碎代括下列 網路財dr網絡巾存在_路映射磁碟驅動器及 载掛射路徑;關㈣磁碟之系統卷取得 統磁碟之絕對路喊掛點、存放於電腦之根卷、目標卷來計算系 碟之、·讀路H整剌舰、瓣财設備 越碟進行勤測試/、,以針對不_類之系統 ’’’、本發明恤佳實施例所述之髓纽祕力測試方法,Nine, invention description: , [Technical field to which the invention belongs] is not related to the test method of the stress, and in particular, it is a kind of job-oriented green. Weaving is stored in the computer for the sake of the name, storage, and grouping, for example, for the window operating system to buy dowsNT _ broadcast system, system (10) 嶋, system, through the user These broadcasts are based on the organization's storage of the building's storage on the computer, and efficient slaughter with computer technology and computer network technology development, the space is not limited to single-computer hard disk, etc. Device. Example bundle. Brothers use a hard disk or a USB flash drive to connect to the _ folder to increase the capacity of the standard system, or to use the network: even: to the storage space on the server as a file system _- a logic set _ The system needs to be tested to ensure that the # material is stored in the broadcast system, and data read and write errors occur due to frequent read and write operations. The so-called dust test is to perform frequent read and write operations on the Tan file system in (4), and record whether there is an access error and a disk partition with an access error. _, with the increase in the scale of the construction of the trough, the physical storage of light shirts and groups in the Tan (four) system: the file files are also becoming more complex, and the stress test has become a complex issue. At present, the stress test of the Orange Case system generally has the following problems: _, test coverage, wide 1335524 degrees, mount (rnouni) storage device for computer system, and ie (4) insufficient to display in the Tan file system. , the disc code (deduction ve storage device can not be __ on behalf of the storage device mounted on the slot (four) system of the storage device to make up for the second time can not support different read and write speeds of these remaining devices, _ amount _# _二=== The storage side test _ S speed Lai Gao _ money set ^ money to measure the actual reading and writing efficiency. Third, single-time measurement _ ° Μ method to check multiple system resources. 彳而# between the long 'And occupied [invention content] 鐾 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述 上述The test algorithm is used for the dynamic test, and the correctness of the stress test is performed. The purpose of the test is to achieve the above purpose. The broadcast procedure of the present invention: traversing the system with several magnetic fragments including the following network Network towel exists _ road mapping disk drive and load-hanging path; off (4) The system volume of the disk is obtained from the absolute road of the disk, stored in the root volume of the computer, the target volume is used to calculate the system disk, the road is read, the whole ship is smashed, and the petal equipment is tested on the disk. , for the system of the non-class system, the method of testing the myeloid force described in the embodiment of the present invention,
I335W 機上的儲存設備以及網路儲存設備,這些儲存設 機、以及其他外掛辟媒i碟、usb隨身碟、軟碟機、光碟 靜右 存媒肢。另外,因電腦作業系統可指派的磁 碟代翁限’科㈣_射具扣碟代號。 可根=====所述·統的壓力測試方法’ 场應的加壓策略湖測試演算法進行麼 碟測試標的例如測試網路映射磁碟驅動器、系統磁 建切/、k'祕磁碟中的魄式硬碟、以及系_碟中的内 =更碟以外之儲存裝置;加壓策略例如包括測試時間控制、多 =_、傳敎件容量奴 '樣本讀_擇、練記憶體的 、用、糸_碟的暫存空間之讀寫、以及多層目錄的測試方式; 而調用之測相#法包括有樣本文件傳輪測試演算法、記情體钱 演算法、文件映射測試演算法、以及大容量文件傳輸測二 〆貝异法。 笨依照本發_紐實闕賴之觀㈣罐力顯方法, 樣本文件傳輸職演算法之步驟包括:a.分派電動部之第—暫 存空間及第二暫存空間;b.將樣本文件之内容寫人第—暫存空間. c.複製樣本文件為複製文件,並賴製文件寫人受測試之目標系 統磁碟;d·讀取複製文件,並將此複製文件之内容寫入第二^存 空間;e.比對第-暫存空間與第二暫存空間之内容,以取得測: 結果;f_重覆執行上述步驟a至步驟e直到完成預設之測試次數。 依照本發明的較佳實施例所述之檔案系統的壓力測試方、去 文件映射測試演算法的讀檔測試包括以下步驟:a讀取目麵/ ' 咏糸統 9 磁<的又件,並將此文件之識別資料與内容映射至電腦之記憶體 的文件映射空間;b.複製此文件至電腦所分派之暫存空間;C比對 ^牛映射空間及暫存空間的内容是否-致,以得到測試結果。另 卜人件映射測試演算法所述之寫檔測試,包括以下步驟:a建 文件’亚複製此文件至電腦所分派之暫存空間;b·將此文件寫 〇目標系統磁魅將此文件之酬:聽熱容映槪電腦之記憶 —、文件映射空間;e.比對文件映射空間及暫存空_内容是否 致’以得到測試結果。 ^知、本發明的較佳實施綱述之觀线的壓力測試方法, 里文件傳輸測試演算法的強壓力測試之步驟包括:&驗證第 第二目標系統磁碟之剩餘容量,並根據最小剩 暫^幻量;b•分派電_部之與文件之容量相等的 二子广並:Χ峨數據填滿此暫存练·。·將暫存空間之内容 磁碟.2 d减此文件寫人第—目標系統磁碟及第二目標系統 内容:否目標系統磁碟與第二目標系統磁碟之文件 内奋疋否一致,以得到測試結果。 另外,大容量文件傳輸測試演算 括··分派電·部之暫存空間,以、目心斜似之步驟包 驗亚乂測试數據填滿此暫存空間; :弟碟及第二目標系統磁碟之麵容量大 存空間’多次連續的以此暫存空間之内 」、'、 而成為-個完整文件;傳輸此文件至第二目弟统磁碟 據此暫存空間之内容,個別比對是否木系統磁碟,以及根 目標系統卿之文件内容―致,___=&_衫二 载挂丨:上籍由遍构代號及找出載掛點,輸 來更新” 4 Φ艮、、及目標卷算出所有系統磁碟的路徑位址 用==5中1磁碟之資訊,以及進-步根據測試標的調 服目= 以合適的加鞋略進行壓力賴。因此,可克 則堅力測試晋遍存在的測 測試勤不適用歸f 率、廣度不足,以及施加的 、“案糸,,·先的母一種儲存裝置等問題。 細說=發=細特徵舆實作,兹配合圖示在實施方式中詳 術内容並據以足以使任何熟習相關技藝者了解本發明之技 孰習相a ’且根據本說明書所賊之内容及圖式,任何 ·【:==者可輕純理解本發明糊之目的 L男'施方式】 之。目的及其執仃方法在下驗佳實施例中詳細說明 用於說明抑^之概念亦於其他關。町雕之實施例僅 、Χ之目的與執行方法’麟肋限制其範圍。 檔案=發明之議統的壓力測試方法之前,以圖例說明 統架構構Γ第1圖」為本發明較佳實施例之樓案系統之系 n 參照「第1圖」,電腦140具有本機儲存設備 124、建式硬碟121光碟仙2、軟碟機m、USB隨身碟 的網::二:更碟125等儲細f ’以及透過網際網路存取之遠端 的·,周路儲存设備230,1 ⑵光碟機·⑵、款碎機】2Γ 服器的内建式硬碟I335W onboard storage devices and network storage devices, these storage devices, and other external storage media, USB flash drive, floppy disk, CD-ROM static right media. In addition, the disk can be assigned by the computer operating system. Root =====The pressure test method of the above--the pressure strategy of the field should be tested by the lake test algorithm. For example, the test network mapped disk drive, the system magnetic cut/, the k's magnetic The 魄 硬 硬 、 、 、 、 、 碟 碟 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压 加压, use, 糸 _ disc temporary storage space read and write, and multi-layer directory test method; and call the phase measurement method includes sample file transfer test algorithm, record money algorithm, file mapping test calculus Method, and large-capacity file transmission test two mussels. Stupid in accordance with this issue _ New Zealand 阙 之 ( (4) can display method, the sample file transmission job algorithm steps include: a. Distribute the first part of the electric department - temporary storage space and the second temporary storage space; b. sample files The content of the writer-scratch space. c. Copy the sample file as a copy file, and rely on the file to be tested by the target system disk; d · read the copy file, and write the contents of the copy file The second storage space; e. compares the contents of the first temporary storage space and the second temporary storage space to obtain the measurement: the result; f_ repeats the above steps a to e until the preset number of tests is completed. The read test of the stress tester and the file-to-file mapping test algorithm of the file system according to the preferred embodiment of the present invention includes the following steps: a reading the target/'s 9-magnetic< And map the identification and content of this file to the file mapping space of the computer's memory; b. Copy this file to the temporary storage space allocated by the computer; C compares the content of the mapping space and the temporary storage space To get the test results. In addition, the writing test described in the Human Part Mapping Test Algorithm includes the following steps: a file is created by copying the file to the temporary storage space allocated by the computer; b. writing the file to the target system. Reward: Listen to the memory of the computer - the file mapping space; e. Compare the file mapping space and temporary storage _ content to 'to get test results. The pressure test method of the line of sight of the preferred embodiment of the present invention, the step of the strong stress test of the file transfer test algorithm includes: & verifying the remaining capacity of the second target system disk, and according to the minimum Remaining temporary magical amount; b• Distributing electricity _ Department and the second capacity of the file with the same capacity: Χ峨 data fill this temporary training. · The contents of the temporary storage disk. 2d minus the file writer's first-target system disk and the second target system content: No, the target system disk is consistent with the file of the second target system disk. To get the test results. In addition, the large-capacity file transfer test calculation includes the temporary storage space of the distribution department, and the step-by-step procedure is used to test the Aachen test data to fill the temporary storage space; The capacity of the disk has a large storage space 'multiple consecutively within the temporary storage space', ', and becomes a complete file; transferring the file to the second directory of the disk according to the contents of the temporary storage space, Individual comparisons are whether the wood system disk, as well as the root target system, the contents of the file - ", ___ = & _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _艮,, and the target volume calculate the path address of all system disks with the information of 1 disk in ==5, and the step-by-step adjustment according to the test target = the pressure is applied to the appropriate shoe. Therefore, Ke Zeqiang tried to test the existence of the test and test, and the problem was not applicable to the f rate, the breadth of the breadth, and the application of the "case, the first mother storage device." Detailed description = hair = fine features 舆 implementation, in conjunction with the diagram in the embodiment of the details and according to enough to familiarize the relevant artisan to understand the technical experience of the invention a 'and according to the contents of the thief And the pattern, any [:== can understand the purpose of the paste of the present invention. The purpose and the method of its implementation are described in detail in the following examples. The practice of the Machine carving is only for the purpose of the Χ, and the method of execution. Before the file test method of the invention, the structure of the system is illustrated in the first embodiment. FIG. 1 is a diagram of a building system according to a preferred embodiment of the present invention. Referring to FIG. 1, the computer 140 has local storage. Device 124, built-in hard disk 121 disc disc 2, floppy disk machine m, USB flash drive network:: 2: more disc 125 and other storage fine f 'and remote access through the Internet ·, weekly storage Equipment 230, 1 (2) CD player (2), broken machine] 2 内 built-in hard drive of the server
隨身雄⑴L 機 可外掛於此遠端伺服器的USB 内建式硬碟^接式硬碟US等錯存設傷。其中,在電腦】40的 "-$财作㈣如輯應之播m槽案系統 13 120 多口於㈣:但礙於檔#統對鹤代號之限制,最Portable body (1) L machine can be plugged into this remote server USB built-in hard disk ^ hard disk US and other faulty settings. Among them, in the computer] 40 "-$财(4) such as the compilation of the m-slot system 13 120 more than (4): but due to the file # unified on the restrictions of the crane code, the most
個辟設備(因為磁碟代號為-個字元的英J 例中,本無紗配糊代號。在本實施 光磾機n t 的内建式硬碟之磁碟⑵代號為以、 碟機122為DA、軟碟機123為E:\,而網路 内建式硬碟131為F:\、光碟機132為G.\、軟碑機 、 機儲存設備⑽的咖隨身碟124及外接==3為ΗΛ °本 ton 叹外接式硬碟〗25以及網路儲 ;::=Β隨身碟134及外接式硬碟-則磁: point)而載时且磁碟代就之系統磁碟可以設定載掛點(麵nted 系统=掛在綱代㈣物的峨鼓,峨樓案 之圖:J為「本發明較佳實祐例之檔案系統的壓力測試方法 ^圖」,槽案系統的壓力測試方法包括Μ 步騾.遍歷系統磁碟中的螯彻目2 ^ _ ; __路_ I 1代號之系統磁碟(步驟 路錯存設備版網物州^;:_驅動器及網 統卷取得編,鑛點)^=磁= 來計算系統磁碟之絕對路徑(步驟^放於電^之根卷、目標卷 路储存4之網路映射路徑、及_ 用對應一』=. :㈣’《針對不同種類之系統磁碟—試二 唼下來以一較佳實施例說明本 ▲ 與「第2圖」,由於並乂 / X 6,堉同晤參照「第;圖」 對檔宰么續中射座 〜母固示統礤碟皆具備磁碟代笋’义疒 m统中對應磁碟代號之系 哚八忒’右僅 對系統磁碟進力測試時 之减磁碟。因此,在 系統磁碟。 4出輻案系統令不具磁碟代號的 首先,遍歷系統磁碟中的數個具磁 錄這些系統磁碟的種類)。接著 n…手',··先磁碟(包括記 存取到的網路儲存設備。挪出^發运伽指令以確定可 顧動器,透過網路映射磁__得^後可取得網路映射磁碟 間視為一顆虛擬的系統磁服器所分享的儲存空 動器,在磁碟代號不足的情況下亦有部分的網 哭β否聽、。^不具備磁碟代號,然而不f網路映射磁碟驅動 ::取;:、:代號皆具有網路映射路徑。電滕140可透過控制 路徑。之後,制⑽勤尋訪具磁碟代 二二,碟上的糸統卷(system v〇w),找出至少一個载掛 』亚藉由故些載掛.點、以及存放在電腦14〇❺主要磁碟(安裝作 ㈣統的硬碟)中的根卷(_⑽刪)及目標卷㈣et volume)來計 算所有_制碟的絕對路徑(計算式為誠vdume +職故 point + target volume) 〇 第J圖」為本發明較佳實施例之檔案系統路徑示意圖。請 ΐ…、第3圖」,在取得具系統代號之系統磁碟以及每一個系統磁 碟的絕對路独及網路映射路徑後,進—步將這些資賴整,並 13 毛―檔案系統之記錄。、如 _ 訊更包括系卑項」所示,顯示之路徑資 不具轉以=魄類及本機/網路儲存設倩之判斷,另外對於 至此步驟卞安:έΓ統磁碟,亦會將載掛點記錄於路錄訊中。 取後’ _對應測試標的之 之 不同種知系_碟進行壓力測試。二^力也祕,以針對 為剩試網路映射磁碟驅動哭,則:’、施例中’若測試標的 器的辨識過程,反覆掃描是否“=識網路映射磁碟驅動 識出# 4 識肩路映射磁碟驅動器未被辨 機奸存^==戦系魅射狀销(包含本機的光碟 d 機),難妨雜戦科餅S入測試 ”、田’、'口工)。右測試標的為本機/遠端 涨、 儲存裝置,例如丨丨如p“ 碍排除内建式硬碟以外之 置a碟、外接式硬碟等容量相對小的儲存| 進2==編咖整数崎小,並2 多線_、=:二卜定:則包括測辦 的選用、系物稱;、怏取記憶體 飞卄工閘心靖舄从及多層目錄的蜊铽方彳 輸測==試標的後,可湖_試縣法包財樣本文料 輸似糾法、記舰讀制試演算法、文件映射測辦傳 件傳輸測試演則中,樣本文件傳輸測: 上疋用來%4,_碟在·讀寫賴作下,是否會發生二 ^之狀況,以驗證_系統是否穩定。電腦作業系統將主要磁』 區分出-塊虛擬記憶體,標案系統藉由文件映射將部分'、 於虛擬記憶體的文件映_塊,文件_戰演算和卩是:: 14 斌此文件_塊是否可·^映料各⑽統等以及是否可 正常存取此文件大容量文件傳輸觀料法則是驗證 文件系統在傳綠量較大的大文件(這敎㈣常超出百Μ位元A device (because the disk code is - character in the English J case, this is no yarn with a paste code. In this implementation of the optical machine nt built-in hard disk disk (2) code for the disk player 122 For DA, the floppy disk machine 123 is E:\, and the network built-in hard disk 131 is F:\, the CD player 132 is G.\, the soft monument machine, the machine storage device (10), the coffee flash drive 124 and the external connection = =3 is ΗΛ ° ton sighs external hard disk 〖25 and network storage;::= Β Β 134 and external hard disk - then magnetic: point) and the disk on the disk system can be Set the load point (face nted system = hang the drum of the outline (4) object, the map of the 峨楼: J is "the pressure test method of the file system of the preferred embodiment of the present invention ^ map", the slot system The stress test method includes Μ step 遍. Traversing the system in the system disk 2 ^ _ ; __ road _ I 1 code system disk (step path fault device version network state ^;: _ drive and network Volume acquisition, mine point) ^=Magnetic = to calculate the absolute path of the system disk (step ^ placed in the root volume of the ^, the network mapping path of the target volume storage 4, and _ with a corresponding one ==: (4) 'For different types System Disk - Test 2 to illustrate this ▲ and "2" in a preferred embodiment, because the 乂 / X 6, 堉 参照 参照 参照 参照 参照 参照 参照 参照 参照 参照 参照 〜 〜 〜 〜 〜 母 母 母 母 母 母 母The display system has all the disks on the disk. The system is the same as the disk code of the system. The right is only the disk for the system disk test. Therefore, the system disk. 4 out The spoke system makes it possible to first traverse the types of system disks of the system disk without the disk code. Then n...hands, first disk (including the network to be accessed) Storage device. Move out the ^ gamma command to determine the removable device, and map the magnetic __ via the network to obtain the storage space shared by the network mapped disk as a virtual system magnetic device. In the case of insufficient disk code, there is also a part of the network crying beta no., ^ does not have the disk code, but not f network mapped disk drive:: take;:,: code has a network The mapping path. The electric Teng 140 can pass the control path. After that, the system (10) diligently searches for the disk on the disk. V〇w), find out at least one of the roots (_(10) deleted) that are stored in the main disk of the computer (the hard disk installed in (4)) The target volume (4) et volume) is used to calculate the absolute path of all the _ discs (calculated as vdume + job point + target volume) 〇 J diagram" is a schematic diagram of the file system path of the preferred embodiment of the present invention. Figure 3, after obtaining the system disk with the system code and the absolute road and network mapping path of each system disk, we will continue to record these assets and record the 13-file system. If the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The loading points are recorded in the road recording. Take the stress test of the different types of _ discs corresponding to the test mark. The second force is also secret, in order to map the disk drive for the remaining test network to cry, then: ', in the example, if the identification process of the test target, repeat scan whether "= network mapping disk drive recognition # 4肩 路 映射 映射 映射 映射 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ . The right test target is the local/remote-up, storage device, for example, such as “disregarding the built-in hard disk other than the built-in hard disk, the external hard disk and other relatively small capacity storage | 2== The integer is small, and 2 multi-line _, =: Di Bu Ding: it includes the selection of the measurement office, the name of the system; == After the test, the lake _ test county law package sample data loss input like correction method, record reading system audition algorithm, file mapping test transmission transmission test performance, sample file transmission test: %4, _ disc in the read/write, whether it will happen to verify the _ system is stable. The computer operating system will distinguish the main magnetic - block virtual memory, the file system by file mapping The part ', the file of the virtual memory is mapped to the block, the file _ battle calculation and the 卩 is: 14 Bin this file _ block can be ^ ^ map each (10) system and whether it can access this file large file The transmission observation rule is to verify that the file system is in a large file with a large amount of green transmission (this (4) often exceeds one hundred bits)
級,有些文件甚至會超幻G I元組)時,祕喊是否可正常存 取。 J 以下落將個別介紹這些測試演算法: 「第4圖」為本發明較佳實施例之記舰讀寫測試演算法之 流程圖。請參照「第4圖」,記憶體讀寫測試演算法測試目的為· ^證頻繁地自記㈣林同大小區塊所存放之崎搬運併寫入硬 碟中的文㈣,是否會影響記㈣及硬碟的操作正確性,並㈣ 電腦系統在此賴下是否可正f操作。此演算法主要 多線程控制讀寫記憶體中的多無塊,以達將存放於記㈣中的 ^些區塊之内容-次搬運回寫至硬碟。記㈣讀寫測試演算法步 ,包括:錢’於記憶體配置第―、第二區塊(町稱為區塊a、 ^亚初始纽些區塊,及在這些區塊存放兩份相同的隨機數據 品塊A與區塊B存放相同的數據,步驟S41q)。接著,在硬碟建 立一文件,並將上述記龍巾_容寫人此騎(步驟S420)。之 支比對存放於主魏體的區塊A、B内的數據内容是否一致, 以驗證將㈣寫人硬碟時不會改變主記憶體所存放的數據資料 (=驟S43〇)。然後,讀取存放於硬碟的該文件,並複製到主記憶 =兩區塊A、B(步驟S44G)。最後’比較主記憶體内的區塊a、 是否-致’以驗證對硬碟的文件進行讀寫操作時主 被影響(步驟⑽),胁結㈣試浦社雜麟不 1^35524 ==試演算法更包括遞增所分配的主記憶體_塊 塊A1B之空間係以1頁(記憶體分頁,1>細、,頁、4 貝遞增^頁(意即以2的次方倍數遞增記憶體之區塊赚 之流程:二==之樣本文件傳輪測試演算法 步驟:首先,分派第-暫存^法包括灯 一暫在允門m +而 管子工間(步驟S5io),第 間 暫存空間(步=⑽)’·接著,複製樣本複3=5 又暮式之目標糸統磁碟(步驟S53〇 ”·、 複製文件,並將複製文件之内容寫糸統磁碟讀取 讀寫功能之爾,_行上增加檔案系統 :,彳完成預設之測試次數(步㈣=:= 在多次進行文件傳輸時皆可正常運作。 心认案,丁'統 文件映射測試演算法包括难# 來將個別吻目「g 6a目」及冑雜兩部分,接下 為本發明之文件映二^圖」 請參照「第6a圖」,文件映射測心r貝枯測成流裎圖。 下步驟:首先,讀取目標系統磁=法的項植測試部分包括以 如槽名及建立日解資_岭二件,並敎狀翻資料(例 空間(步驟S61〇a),所述文件映射、/至電腦記憶體的文件映射 、二3乃是由數個記憶體分頁組成 16 <丨阳1王間,在其他實施例中亦可由電腦的主要磁碟中虛擬記憶 體^分頁代我腦賴體;織,複製該文件至該雜所分派之 2存空間(步驟S62G&) ’這㈣制暫存㈣可岐纽的記憶體 空間或電主要磁碟d最後,比對文件映射間及暫存 空間的内容是否一致,以得到測試結果(步驟S630a)。 「第6b圖」為本發明較佳實施例之文件映射測試演算法之寫 檔測試流韻。請參照「第6b圖」,文件映侧試演算法的寫稽 ,式部分包括之步驟如下:首先,建立文件,並複製此文件至電 腦所分派之暫存空間(步驟關b),同上所述,暫存空間為指派之 H間或電腦的主要磁碟之空間mm〜曰保乐 統磁碟並將文叙識職额邮_至電腦之記顏的文件映 ,空間(步驟纖);最後,比對文件映射空間及暫存空間的内容 是否一致,以得到測試結果(步驟S63〇b)。 大容量文件傳_試演算狀測鄕略可分為麵力測試以 南效率測試兩種流程i壓力測試是用·試於槽㈣統傳輸超 過腿位元組(甚至超過1G位元组)之文件的正確性;高效率測 試則是考制·力及職時間下,料續逐次寫4段測試資 料來拼湊大容量之文件來測試儲存裝置,因林必—次寫入大容 量之文件,她於強壓力測試高效率__用之㈣讀寫㈣ 較低。使用者可以電腦目前的運算量(執行其他 決— 以強壓力測試或高效率測試來進行大容量 =在^ 面段落將侧綱賴力_及高效率·' ^ ^ 「第域」為本發明較佳實成。 、例之大容量文件傳輸測試演算 破強堡力剩試流程圖。請炎昭〆第 試演算法的強.壓力測試部分包括以下半^」;大,量文件傳輪測 碟及第二目標季% 一 7 驗證弟一目標系統磁 件之容量(步二::== 暫存空間,個矣文件之容量相等之 間之^此暫物(步㈣夠;將_ 目標系統磁碟(步驟s ^ .此文件以第—目駄魅碟及第二 統磁碟之文_容4 對第碟縣二目標系 L H 以制㈣試結果(步驟S㈣。 。」為本發明較佳實施例之大容 法之高效率顯流觸。請舞 專輸測試演算 試演算法的高效率測試包括以^步驟:圖量文件傳輪挪 間,並以測試數據埴 , 刀派电知内部之暫存空 統磁碟及第二目π =空間€步驟,,·驗證第一 _ ςτ>ΛΜ.々 不系統磁碟之剩餘容量大於暫在* 卓 為文件(步驟S73〇b);傳於 〜 心糸、躺碟而成 s740b);根據暫存 — 至第-目標系統磁碟(步驟 及第二目標^磁對是否料一目標系統磁碟 S750b)。 、 办致以得到測試結果(步驟 碟代號之^ 細編示不具磁 方法與加壓策略對這同種類之儲存設備調用適合之測試 統的深度、廣度皆a子<備知峨。本發明在測試槽案系 在於本發明可讓檔宰减壓力測試方法優良,其原因 麵不未俱_倾讀存設備。另外, 1335524 檔案系統包括不同種類的儲存裝置,本發明 裝置之測試演算法及加壓策略來測試檔案系*應<些錯存 測試之正雜、及避免別過以㈣源μ ’因使可提高壓力Level, some files will even be super-magic G I tuples), the secret shouts can be stored normally. These test algorithms will be separately described below: "Figure 4" is a flow chart of the ship reading and writing test algorithm of the preferred embodiment of the present invention. Please refer to "Fig. 4". The purpose of the memory read/write test algorithm test is to verify frequently (4) the text that is stored in the same size block and written to the hard disk (4), whether it will affect the record (4) And the correct operation of the hard disk, and (4) whether the computer system can operate under the f. This algorithm mainly controls the multi-blockless memory in the read/write memory, so as to transfer the contents of the blocks stored in the record (4) to the hard disk. Record (4) literacy test algorithm steps, including: money 'in memory configuration section ―, the second block (choo called block a, ^ sub-initial block, and store two copies of the same in these blocks The random data block A and the block B store the same data, step S41q). Next, a file is created on the hard disk, and the above-mentioned dragon towel is written to the person (step S420). The data content of the blocks A and B stored in the main Wei body is the same, so as to verify that the data stored in the main memory is not changed when the hard disk is written (=step S43〇). Then, the file stored on the hard disk is read and copied to the main memory = two blocks A, B (step S44G). Finally, 'Compare the block a in the main memory, whether or not - to verify that the main disk is affected when reading and writing the file on the hard disk (step (10)), the threat (4) the test of the complex is not 1^35524 == The audition algorithm further includes incrementing the space system of the allocated main memory_block A1B by 1 page (memory page, 1 > fine, page, 4 bar increment ^ page (meaning that the memory is incremented by a power of 2) The block earning process: two == sample file pass test algorithm steps: First, assign the first-temporary ^ method including the light one temporarily in the Yunmen m + and the pipe work (step S5io), the first temporary Storage space (step = (10)) '· Next, copy the sample complex 3 = 5 and then the target 糸 disk (step S53 〇 ·), copy the file, and copy the contents of the file to the 磁 disk read Write function, add file system on _ line:, 彳 complete the preset test times (step (4) =:= can work normally when file transfer is performed multiple times. Heart recognition, D' file mapping test algorithm Including the difficult # to individually kiss the "g 6a mesh" and the two parts, and then the file of the present invention is shown in the figure. Please refer to " 6a", the file mapping heartbeat is measured as a rogue diagram. The next step: First, read the target system magnetic = method of the project test part including the name of the slot and the establishment of the Japanese capital _ ling two pieces, and Flipping data (example space (step S61〇a), the file mapping, / file mapping to computer memory, two 3 is composed of several memory pages 16 < 丨阳1王间,在其他In the embodiment, the virtual memory in the main disk of the computer can also be used to subdivide the body of the brain; weave and copy the file to the storage space allocated by the miscellaneous (step S62G&). Finally, the memory space of the button or the main disk d is finally aligned with the contents of the file mapping and the temporary storage space to obtain the test result (step S630a). "FIG. 6b" is a file according to a preferred embodiment of the present invention. The mapping test algorithm writes the rhyme. Please refer to "Picture 6b", the file mapping side of the audition algorithm, the steps include the following steps: First, create a file, and copy this file to the computer assigned to the temporary Storage space (step b), as described above, temporary storage space refers to The space of the main disk of the H room or the computer is ~ mm 曰 乐 磁 磁 磁 并将 并将 并将 并将 并将 并将 并将 并将 并将 至 至 至 至 至 至 至 至 至 至 至 至 至 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑Whether the contents of the space and the temporary storage space are consistent to obtain the test result (step S63〇b). The large-capacity file transmission _ trial calculation algorithm can be divided into the surface force test south efficiency test two processes i pressure test is used · Try to transmit the correctness of the documents beyond the leg tuples (or even more than 1G bytes) in the slot (4); the high-efficiency test is to test the force and the time of the job, and continue to write 4 test data one by one to piece together Large-capacity files to test the storage device, because Lin must write large-capacity files, she is highly effective in stress testing __ (4) read and write (four) lower. The user can calculate the current calculation amount of the computer (execute other decisions - to carry out large capacity with strong stress test or high efficiency test = the side of the paragraph will be _ _ and high efficiency · ' ^ ^ "domain" is the invention It is better to implement. The large-capacity file transmission test calculus is broken. The pressure test part of the test is strong. The stress test part includes the following half ^"; large, volume file transmission test disc And the second target season % 7 to verify the capacity of the target system magnetic part (step 2::== temporary storage space, the capacity of each file is equal between ^ this temporary object (step (four) enough; will _ target system Disk (step s ^. This file is based on the first--------------------------------------------------------------------------------------------------------- The high-efficiency test of the large-capacity method of the good example. The high-efficiency test of the dance-specific test-calculation audition algorithm includes the ^step: the image file transfer and the test data 埴, the knife sends the internal knowledge The temporary storage disk and the second mesh π = space € step,, · verify the first _ ς τ> ΛΜ.々 The remaining capacity of the system disk is greater than the temporary file (step S73〇b); it is transmitted to ~ heart, the dish is s740b); according to the temporary storage - to the target system disk (step and second) The target ^ magnetic pair is expected to be a target system disk S750b)., to get the test results (the step of the disk code is described in detail, the magnetic method and the pressing strategy are called for the same type of storage device to call the appropriate test system. The depth and the breadth are all a sub-<Knowledge 峨. The invention is based on the test slot in the present invention, which can make the test method for the pressure reduction and the pressure reduction excellent, and the reason is not all-inclusive. In addition, the 1335524 file system includes Different kinds of storage devices, test algorithms and pressurization strategies of the device of the present invention to test the file system* should be <something wrong with the test, and avoid the (4) source μ 'because the pressure can be increased
雖然本發明以前述之較佳實施例揭露如L 定本發明,任何熟習相像技藝者,在不脫離二,限 内’所為之更動與潤飾’均屬本發明之專 ^之精神和範圍 明之專利保護I請賊本說明書所附之乾®因此本發 準。 猶〈%專利範圍所界定者為 【圖式簡單說明】 第1圖為本發明較佳實施例之檀案系統之系統架構示意圖。While the present invention has been described in the foregoing preferred embodiments, it is intended that the invention may be practiced otherwise, and the invention is not limited to the scope of the invention. I ask the thief to attach the dry ® attached to this manual. The definition of the patent range is as follows: BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram showing the system architecture of a Tan case system according to a preferred embodiment of the present invention.
弟2圖為本發明誠實施例之___力測試方 程圖。 L 第3圖為本發明較佳實施例之檔案系統路徑示音圖。 第4圖為本發明較佳實施例之記憶體讀寫測=演算法之流程 圖。 第5圖為本發明較佳實施例之樣本文件傳輸職演算法之流 程圖。 第6a圖為本發明較佳實施例之文件映射測試演算法 測試流程圖。 。貝田 第6b圖為本發明較佳實施例之文件映射測試 測試流程圖。 '、 呙細 第7a圖為本發明較佳實施例之大容量文件傳輸測試演算法 之強壓力測試流程圖。 19 1335524 第7b圖為本發明較佳實施例之大容量文件傳輸測試演算法 之高效率測試流程圖。 【主要元件符號說明】 110 糸統磁碟 120 本機儲存設備 130 網路儲存設備 140 電腦 121 、 131 内建式硬碟 122 ' 132 光碟機 123 ' 133 軟碟機 124 ' 134 USB隨身碟 125 、 135 外接式硬碟 20Figure 2 is a ___ force test equation for the embodiment of the present invention. L is a sound diagram of a file system path in accordance with a preferred embodiment of the present invention. Figure 4 is a flow chart of a memory read/write test = algorithm in accordance with a preferred embodiment of the present invention. Figure 5 is a flow diagram of a sample file transfer job algorithm in accordance with a preferred embodiment of the present invention. Figure 6a is a flow chart of the test of the file mapping test algorithm of the preferred embodiment of the present invention. . Figure 6b is a flow chart of the file mapping test test of the preferred embodiment of the present invention. ', 呙 第 7a is a strong pressure test flow chart of the large-capacity file transmission test algorithm of the preferred embodiment of the present invention. 19 1335524 Figure 7b is a flow chart showing the high efficiency test of the large capacity file transfer test algorithm of the preferred embodiment of the present invention. [Main component symbol description] 110 磁 磁 120 120 本 储存 130 130 130 130 130 130 130 130 130 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' 135 external hard disk 20