JPH01245473A - Test system for disk driving function - Google Patents

Test system for disk driving function

Info

Publication number
JPH01245473A
JPH01245473A JP7351888A JP7351888A JPH01245473A JP H01245473 A JPH01245473 A JP H01245473A JP 7351888 A JP7351888 A JP 7351888A JP 7351888 A JP7351888 A JP 7351888A JP H01245473 A JPH01245473 A JP H01245473A
Authority
JP
Japan
Prior art keywords
test
data
test data
seek address
random
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP7351888A
Other languages
Japanese (ja)
Other versions
JPH071612B2 (en
Inventor
Tetsuya Kida
木田 哲也
Akihiro Shimazaki
島崎 明弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP7351888A priority Critical patent/JPH071612B2/en
Publication of JPH01245473A publication Critical patent/JPH01245473A/en
Publication of JPH071612B2 publication Critical patent/JPH071612B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Moving Of Head For Track Selection And Changing (AREA)

Abstract

PURPOSE:To test the various functions of the drive of a disk device in a form proper for the operation of an actual disk drive by using the test data of sequentially specified random data as test data according to respectively sequentially read index value and an execution byte count value. CONSTITUTION:A test executing means 11 processes to write the test data of the random data specified according to an index value table 15 and an executing byte count table 16 in a designated seek address set by a seek address table 13. When the written test data is read in order to execute a test, a disk head is set once at an arbitrary designated seek address position and then the test data is read. Accordingly, since the designated seek address and the test data comprise a random number, the disk drive function can be tested in a random access mode. Thereby, the drive function of the disk device can be tested in the form of high load proper for the actual operation.

Description

【発明の詳細な説明】 〔(既  要〕 ディスク装置のドライブの諸機能を診断するためのディ
スクドライブ処理のテスト方式に関し。
[Detailed Description of the Invention] [(Already required)] Regarding a test method for disk drive processing for diagnosing various functions of a drive in a disk device.

実際のディスク装置の運用に即した形式でテストを実行
できるようにすることを目的とし5テスト実行手段が、
テストデータをディスク装置上の指定された指定シーク
アドレスに書込むとともに、この書込まれたテストデー
タを読取り。
The purpose of this test execution means is to enable tests to be executed in a format that matches the actual operation of disk devices.
Writes test data to the specified seek address on the disk device and reads the written test data.

書込みと読取りのテストデータが一致するか否かを調べ
ることでテストを実行するディスクドライブ処理のテス
ト方式において9指定シークアドレスを順次設定するた
めのシークアドレステーブルと、テストデータを設定す
るためのランダムデータとを予め乱数発生手段により生
成するとともに。
A seek address table for sequentially setting 9 designated seek addresses and a random table for setting test data in a disk drive processing test method that executes tests by checking whether write and read test data match. The data is generated in advance by a random number generating means.

このランダムデータの参照開始位置を順次指定するため
のインデックス値テーブルと、この参照開始位置からの
データ長を順次指定するための実行バイトカウントテー
ブルとを予め乱数発生手段により生成しておき、上記テ
スト実行手段は、上記インデックス値テーブル及び上記
実行バイトカウントテーブルに従って指定される上記ラ
ンダムデータにより設定されるテストデータを、上記シ
ークアドレステーブルにより設定される指定シークアド
レスに書込むよう処理するとともに、この書込まれたデ
ータをテスト実行のために読取る際に。
An index value table for sequentially specifying the reference start position of this random data and an execution byte count table for sequentially specifying the data length from this reference start position are generated in advance by a random number generating means, and the above-mentioned test is performed. The execution means processes to write the test data set by the random data specified according to the index value table and the execution byte count table to the specified seek address set by the seek address table, and when reading the inserted data for test execution.

任意の指定シークアドレス位置に一度読取りのためのデ
ィスクヘッドをセットしてから読取るよう処理してなる
ように構成する。
The disk head for reading is set once at an arbitrary designated seek address position, and then the reading process is performed.

〔産業上の利用分野〕[Industrial application field]

本発明は、ディスク装置のドライブの諸機能を診断する
ためのディスクドライブ処理のテスト方式に関し、特に
、実際のディスク装置の運用に即した形式で診断を実行
できるようにするディスクドライブ処理のテスト方式に
関するものである。
The present invention relates to a disk drive processing test method for diagnosing various functions of a drive in a disk device, and more particularly, to a disk drive processing test method that allows diagnosis to be executed in a format that matches the actual operation of a disk device. It is related to.

ディスク装置と接続されるデータ処理装置に対しては、
ディスク装置のシーク処理動作及びり−ド/ライト処理
動作の診断を実行するためのテストプログラムを具備さ
せていく必要がある。このようなテストプログラムは、
ディスク装置の運用状況とできるだけ合致するような形
式で診断を実行できるように構成していく必要があるの
である。
For data processing devices connected to disk devices,
It is necessary to provide a test program for diagnosing the seek processing operation and read/write processing operation of the disk device. Such a test program is
It is necessary to configure the system so that diagnosis can be executed in a format that matches the operational status of the disk device as much as possible.

〔従来の技術〕[Conventional technology]

従来のディスクドライブ処理のテスト方式では。 In traditional disk drive processing testing methods.

テストデータを特定な固定データとし、読み書き用のデ
ィスクヘッドを指定されたシークアドレス位置にセット
してこのテストデータを書込むとともに、書込みの終了
後にディスクヘッドを再びテストデータの書込みの開始
位置に戻して書込まれたテストデータを読取り、このよ
うにして読出されたテストデータを書込んだテストデー
タと比較することで、シーク処理動作とり一ド/ライト
処理動作に異常がないか否かを判断するようにしていた
のである。そして、このテストの実行のために順次設定
されるシークアドレスは5低位から高位に向けて順序よ
く設定されるようになされていたのである。第6図に、
この従来のディスクドライブ処理のテスト方式のフロー
チャートを示す。
The test data is specific fixed data, the read/write disk head is set at the specified seek address position, this test data is written, and after the writing is completed, the disk head is returned to the starting position of writing the test data. By reading the test data written in this way and comparing the read test data with the written test data, it is determined whether there is any abnormality in the seek processing operation or read/write processing operation. That's what I was trying to do. The seek addresses that are sequentially set for the purpose of executing this test are set in order from the lowest five to the highest. In Figure 6,
A flowchart of this conventional disk drive processing test method is shown.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来技術によるならば、順次
設定されるシークアドレスが低位から高位に向けてシー
ケンシャルに設定されていくことから、ディスクヘッド
の移動方向が一定であるとともにディスクヘッドの移動
量も小さ(、従ってディスク装置に与える機械的負荷が
小さいという問題点があったのである。すなわち、ディ
スク装置は実際にはランダムアクセスモードで使用され
ることから、このような従来技術のテスト方式では、実
際の運用に即していないという問題点があったのである
。これから1例えば、テストではディスクヘッドの位置
決め精度がでていると判断されても、実際の運用ではデ
ィスクヘッドの位置決め精度が十分でなくデータに誤り
がでるということがあった。
However, with such conventional technology, the seek addresses are set sequentially from low to high, so the direction of movement of the disk head is constant and the amount of movement of the disk head is small. (Therefore, there was a problem that the mechanical load applied to the disk device was small. In other words, since the disk device is actually used in random access mode, such conventional test methods There was a problem that it was not suitable for the operation.1 For example, even if it is determined that the disk head positioning accuracy is achieved in the test, the disk head positioning accuracy may not be sufficient in actual operation. There were some errors in the data.

また従来技術によるならば、テストデータの書込みが複
数のシリンダにまたがらないような場合には、ディスク
ヘッドをテストデータの書込みの開始位置に戻すときに
際してディスクヘッドの移動がなく、ただ単にディスク
の回転を待つだけの動作になる。従って、誤ってディス
クヘッドがトランク以外の所に位置決めされてしまうよ
うなことがあっても、ディスクヘッドが動かないことか
らそれを検出することができないのである。すなわち、
ディスクヘッドがオントラック上に位置決めされたか否
かを確認できないという問題点があったのである。
Furthermore, according to the conventional technology, when writing test data does not span multiple cylinders, there is no movement of the disk head when returning the disk head to the starting position for writing test data, and the disk simply moves. The operation is simply waiting for rotation. Therefore, even if the disk head is accidentally positioned somewhere other than the trunk, this cannot be detected because the disk head does not move. That is,
There was a problem in that it was not possible to confirm whether or not the disk head was positioned on-track.

更に従来技術によるならば、シークアドレスが更新され
てもテストデータとしては同一のものを使用していたこ
とから、同一のボリュームに対して何度もテストを繰返
して実行しようとする場合には、前回の書込みによるテ
ストデータなのか今回の書込みによるテストデータなの
かわからなくなるために、その度毎に初期化処理を実行
しなければならないという問題点があったのである。
Furthermore, according to the conventional technology, even if the seek address is updated, the same test data is used, so when trying to repeatedly execute a test on the same volume, Since it is not known whether the test data is from the previous writing or the current writing, there is a problem in that initialization processing must be performed each time.

このように従来のディスクドライブ処理のテスト方式で
は、実際のディスク装置の運用状況に即していないこと
から、テストとして十分な機能を果していないという問
題点があったのである。
As described above, the conventional testing method for disk drive processing has the problem that it does not function adequately as a test because it does not correspond to the actual operating conditions of the disk device.

本発明はかかる事情に鑑みてなされたものであって、実
際のディスク装置の運用に即した形式でディスク装置の
ドライブの諸機能をテストできるようにするディスクド
ライブ処理のテスト方式の提供を目的とするものである
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a test method for disk drive processing that enables testing of various functions of the drive of a disk device in a format consistent with the actual operation of the disk device. It is something to do.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は1本発明の原理構成図である。 FIG. 1 is a diagram showing the basic structure of the present invention.

図中、10は本発明のテスト方式を実装するディスクド
ライブテスト装置、20はディスク装置である。11は
テスト実行手段であって、テストデータをディスク装置
20上の指定シークアドレスに書込むとともに、この書
込まれたテストデータを読取り、書込みと読取りのテス
トデータの一致を調べることでテストを実行する。12
は乱数発生手段であって、乱数を発生する。13はシー
クアドレステーブルであって、乱数発生手段12により
予め生成される複数の指定シークアドレスを格納する。
In the figure, 10 is a disk drive test device implementing the test method of the present invention, and 20 is a disk device. Reference numeral 11 denotes a test execution means, which writes test data to a designated seek address on the disk device 20, reads the written test data, and executes the test by checking whether the written and read test data match. do. 12
is a random number generation means, which generates random numbers. A seek address table 13 stores a plurality of specified seek addresses generated in advance by the random number generating means 12.

この指定シークアドレスが順次読出されて、テストデー
タの書込みのための指定シークアドレスとなる。14は
ランダムデータであって、乱数発生手段12により予め
生成される複数のテストデータを格納する。 15はイ
ンデックス値テーブルであって。
This designated seek address is sequentially read out and becomes the designated seek address for writing test data. 14 is random data, and stores a plurality of test data generated in advance by the random number generating means 12. 15 is an index value table.

乱数発生手段12により予め生成される複数のインデッ
クス値を格納する。このインデックス値は。
A plurality of index values generated in advance by the random number generation means 12 are stored. This index value is.

ランダムデータ14の参照開始位置を表わすものである
。16は実行バイトカウントテーブルであって。
It represents the reference start position of the random data 14. 16 is an execution byte count table.

乱数発生手段12により予め生成される複数の実行バイ
トカウント値を格納する。この実行バイトカウント値は
、インデックス値からのデータ長をバイトカウント数を
もって表わすものである。インデックス値テーブル15
から順次読出されるインデックス値と、実行バイトカウ
ントテーブル16から順次続出される実行バイトカウン
ト値とに従って順次特定されていくことになるランダム
データ14のテストデータがテストデータとして使われ
るよう構成される。
A plurality of execution byte count values generated in advance by the random number generation means 12 are stored. This execution byte count value represents the data length from the index value using a byte count number. Index value table 15
The test data of the random data 14 is used as the test data, which is sequentially specified according to the index value sequentially read from the execution byte count table 16 and the execution byte count value sequentially output from the execution byte count table 16.

〔作 用〕[For production]

本発明では、テスト実行手段11は、インデックス値テ
ーブル15及び実行バイトカウントテーブル16に従っ
て特定されるランダムデータI4のテストデータを、シ
ークアドレステーブル13により設定される指定シーク
アドレスに書込むよう処理するとともに、この書込まれ
たテストデータをテスト実行のために読取る際に、任意
の指定シークアドレス位置に一度ディスクヘッドをセン
トしてから読取るよう処理するものである。
In the present invention, the test execution means 11 writes the test data of the random data I4 specified according to the index value table 15 and the execution byte count table 16 to the specified seek address set by the seek address table 13. When reading the written test data for test execution, the disk head is once placed at an arbitrary designated seek address position and then read.

従って、指定シークアドレスとテストデータが乱数より
なることから、ランダムアクセスモードでディスクドラ
イブ機能をテストできるようになる。しかも、テストデ
ータを読取る際に別の指定シークアドレスにとディスク
ヘッドを移動させてからテストデータを読取るので、デ
ィスクヘッドの位置決め精度も正確に確認できることに
なる。
Therefore, since the designated seek address and test data are random numbers, it becomes possible to test the disk drive function in random access mode. Moreover, since the test data is read after the disk head is moved to another designated seek address when reading the test data, the positioning accuracy of the disk head can be accurately confirmed.

このように1本発明によれば、実際の運用に即した高負
荷の形式でディスク装置のドライブ機能をテストできる
ようになるのである。
As described above, according to the present invention, it becomes possible to test the drive function of a disk device under a high load format suitable for actual operation.

〔実施例〕〔Example〕

以下、実施例に従って本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail according to examples.

本発明のディスクドライブ処理のテスト方式では、テス
トデータを書込むことになるディスク装置20上のシー
クアドレス(以下、指定シークアドレスという)を従来
のように低位から高位に向けてシーケンシャルに設定し
ていくのではなく、ランダムに設定していくために、テ
スト回数分の指定シークアドレスを予め乱数発生手段1
2により生成し、この生成された指定シークアドレスを
使われる順序に従って並べてテーブル化しておくように
構成するものである。第2図に、このようにして生成さ
れるシークアドレステーブル13を示す。
In the disk drive processing test method of the present invention, seek addresses (hereinafter referred to as designated seek addresses) on the disk device 20 to which test data will be written are set sequentially from low to high as in the past. In order to set the seek address randomly instead of randomly, the random number generation means 1 is used to set the specified seek address for the number of tests in advance.
2, and the generated specified seek addresses are arranged in the order in which they will be used and made into a table. FIG. 2 shows the seek address table 13 generated in this way.

ここで1図中の指定シークアドレスiは乱数値を表わし
ている。
Here, the designated seek address i in Figure 1 represents a random value.

更に本発明のディスクドライブ処理のテスト方式では、
指定シークアドレスに書込むためのテストデータを従来
のように固定のものにするのではなく、テストシーケン
ス毎に異なるものを用いるようにとするものである。こ
れを実現するために。
Furthermore, in the disk drive processing test method of the present invention,
The test data to be written to the designated seek address is not fixed as in the conventional method, but different data is used for each test sequence. To achieve this.

本発明では、テストデータとなる大量のランダムデータ
14を予め乱数発生手段12により生成し、ランダムデ
ータ14の参照開始位置を示すインデックス値と、この
参照開始位置からのデータ長を示す実行バイトカウント
値とをもって、このランダムデータ14のどれをテスト
データとして使うかということを指定するものである。
In the present invention, a large amount of random data 14 serving as test data is generated in advance by the random number generating means 12, and an index value indicating the reference start position of the random data 14 and an execution byte count value indicating the data length from this reference start position are generated. This designates which of the random data 14 is to be used as test data.

そして、このインデックス値をランダムに設定していく
ために、テスト回数分のインデックス値を予め乱数発生
手段12により生成し、この生成されたインデックス値
を使われる順序に従って並べてテーブル化しておくよう
にするとともに、この実行バイトカウント値をランダム
に設定していくために、テスト回数分の実行バイトカウ
ント値を予め乱数発生手段12により生成し、この生成
された実行バイトカウント値を使われる順序に従って並
べてテーブル化しておくように構成するものである。第
3図に、このようにして生成されるインデックス値テー
ブル15及び実行バイトカウントテーブル16を、ラン
ダムデータ14と対応付けて示す。
In order to set this index value at random, the index values for the number of tests are generated in advance by the random number generating means 12, and the generated index values are arranged in the order in which they will be used and made into a table. At the same time, in order to randomly set this execution byte count value, the execution byte count value for the number of tests is generated in advance by the random number generating means 12, and the generated execution byte count values are arranged in the order in which they will be used and stored in a table. It is structured so that it is kept as follows. FIG. 3 shows the index value table 15 and executed byte count table 16 generated in this manner in association with the random data 14.

ここで2図中のインデックス値iと実行バイトカウント
値iは乱数値を表わしている。
Here, the index value i and the executed byte count value i in FIG. 2 represent random values.

このように、シークアドレステーブル13.  ランダ
ムデータ14.  インデックス値テーブル15及び実
行バイトカウントテーブル16の乱数によるデータ生成
を、すべてテストシーケンスに入る前に行ってしまうの
は、乱数生成をテストシーケンス中に逐次行うと、その
生成時間によりディスク装置20に対してアクセスする
時間間隔が長くなってしまい、実際の運用状況と離れた
ものになってしまうことになるからである。そして、ラ
ンダムデータ14をインデックス値をもって指定するよ
うにしたことから、ランダムデータ14をテスト回数分
用意しなくても足りることになる。なお、このランダム
データ14は、サイクリックに利用されることでデータ
ネ足とならないようなされることになる。
In this way, the seek address table 13. Random data 14. The reason why data generation using random numbers in the index value table 15 and execution byte count table 16 is performed before entering the test sequence is because if random number generation is performed sequentially during the test sequence, the generation time will cause problems with the disk device 20. This is because the time interval between accesses becomes long, resulting in a discrepancy from the actual operational status. Since the random data 14 is specified using an index value, it is not necessary to prepare the random data 14 for the number of times of testing. Note that this random data 14 is used cyclically so that data is not exhausted.

また、実行バイトカウントテーブル16をもたすように
したことから、テストデータのデータ長もテスト毎に変
化するようになるのである。
Furthermore, since the execution byte count table 16 is provided, the data length of the test data also changes for each test.

次に、第4図に示すフローチャートに従って。Next, according to the flowchart shown in FIG.

本発明が、このように生成されるシークアドレステーブ
ル13、ランダムデータ14.インデックス値テーブル
15及び実行バイトカウントテーブル16を使って、ど
のようにディスク装置20のドライブ機能をテストして
いくことになるのかについて説明する。
The present invention uses the seek address table 13, random data 14 . A description will be given of how the drive function of the disk device 20 is tested using the index value table 15 and the executed byte count table 16.

n番目のテストシーケンスであることを想定すると、ス
テップlで、シークアドレステーブル13のn番目に格
納される指定シークアドレスnを読出し、ディスクヘッ
ドをこの指定シークアドレスnの位置にセントする。続
いてステップ2で、インデックス値テーブル15のn番
目に格納されるインデックス値nと実行バイトカウント
テーブル16のn番目に格納される実行バイトカウント
値nとを読出して、このインデックス値n及び実行ハイ
ドカウント値nに従って特定されるランダムデータ14
のテストデータを求め、このテストデータを指定シーク
アドレスn位置に書込むよう処理する。
Assuming that this is the nth test sequence, in step 1, the specified seek address n stored at the nth position in the seek address table 13 is read out, and the disk head is positioned at the position of this specified seek address n. Next, in step 2, the index value n stored in the nth position of the index value table 15 and the execution byte count value n stored in the nth position of the execution byte count table 16 are read, and this index value n and the execution byte count value n are read out. Random data 14 specified according to count value n
The test data is obtained and the test data is written to the specified seek address n position.

続いてステップ3で、ディスクヘッドを1つ前のテスト
シーケンスに当るシークアドレステーブルI3の(n−
目 番目の指定ノークアトルス(n−1)の位置にとセ
ントし、犬のスニ、プ4で。
Next, in step 3, the disk head is moved to (n-) of the seek address table I3 corresponding to the previous test sequence.
Place it in the position of the designated Norquatles (n-1), and put it in the dog's Suni, Pu 4.

この指定ソークアドレス(n−1> 位!に書込まれて
いるデータを1セクタ分だけ読取るよう処理する、この
ように、ステップ2の処理の後で、全く別の指定シーク
アドレス位置にディスクヘッドを移動させたのは、従来
技術の欠点をなくして。
The data written at this specified soak address (n-1>!) is processed so as to read only one sector. In this way, after the processing in step 2, the disk head moves to a completely different specified seek address position. The reason for this move was to eliminate the drawbacks of conventional technology.

ステップ2で書込まれたテストデータがオントラック上
に正しく書込まれたかを確認できるようにするためであ
る。そして、lセクタ分だけ読取るようにしたのは、デ
ィスクヘッドが確かに別の指定シークアドレス位置に移
動したということを確認できるようにするためである。
This is to make it possible to confirm whether the test data written in step 2 has been correctly written on the on-track. The reason why only l sectors are read is to make it possible to confirm that the disk head has indeed moved to another specified seek address position.

これから1セクタ分ではなくて、データのすべてを読取
るようにしてもよいし、あるいはデータを読取らないよ
うにすることも可能である。
From now on, instead of just one sector, all of the data may be read, or no data may be read at all.

続くステップ5では、ディスクヘッドをステップ2で書
込んだテストデータの開始位置に戻すべく、ステップ1
の指定シークアドレスnの位置にセットする。そして次
のステップ6で、ステップ2で書込んだテストデータを
読出すとともに、ステップ7で、書込んだテストデータ
と読出したテストデータとを比較することで、ディスク
装置20のドライブ機能が正常であるか否かを判断する
のである。そして、このステップ1ないしステップ7の
処理をテスト回数分だけ繰返してテストを完了する。
In the following step 5, in order to return the disk head to the starting position of the test data written in step 2,
Set at the specified seek address n of . Then, in the next step 6, the test data written in step 2 is read out, and in step 7, the written test data and the read test data are compared to determine whether the drive function of the disk device 20 is normal. It is to determine whether it exists or not. Then, the process of steps 1 to 7 is repeated for the number of times of testing to complete the test.

以上に説明した本発明のディスクドライブ処理のテスト
方式の処理内容を、第5図に模式的に示す。ここで3図
中の数字は、第4図のステップ番号を表わしている。
The processing contents of the disk drive processing test method of the present invention explained above are schematically shown in FIG. Here, the numbers in FIG. 3 represent the step numbers in FIG. 4.

このように9本発明によれば、ランダムアクセスモード
でディスク装置のディスクドライブ機能をテストできる
ようになる。しかも、予めデータを乱数により生成して
おくことから、テストを高負荷の状態で実行できるよう
になるのである。
As described above, according to the present invention, it becomes possible to test the disk drive function of a disk device in random access mode. Moreover, since the data is generated in advance using random numbers, the test can be executed under high load conditions.

以上8図示実施例について説明したが1本発明はこれに
限定されるものではない0例えば、第4図のステップ3
で説明したディスクヘッドを別の指定シークアドレス位
置に移動させる処理は、1つ前のテストシーケンスの指
定シークアドレス位置に戻すものに限られるものではな
いのである。
Although the eight illustrated embodiments have been described above, the present invention is not limited thereto. For example, step 3 in FIG.
The process of moving the disk head to another specified seek address position described in 1. is not limited to returning to the specified seek address position of the previous test sequence.

〔発明の効果〕〔Effect of the invention〕

このように1本発明によれば、ディスクドライブ機能を
実際の運用状況に即した高負荷の形式でテストできるこ
とになることから、テストの信頬性を高めることができ
ることになる。そして、初期化処理を施さずに同一のボ
リュームに対して何度もテストを繰返すことができるよ
うになるとともに、ランダムデータは、インデックス値
テーブルによって何度もランダムにテストデータとして
利用できるので、テスト回数分のテストデータを用意す
る必要がなく、極めて実用性の高いテスト装置となすこ
とができるようになるのである。
As described above, according to the present invention, the disk drive function can be tested in a high-load format that corresponds to the actual operating conditions, so that the credibility of the test can be increased. In addition, it becomes possible to repeat tests on the same volume many times without performing initialization processing, and random data can be used as test data randomly over and over again using the index value table. There is no need to prepare test data for the number of times, and the test device becomes extremely practical.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は原理構成図。 第2図はシークアドレステーブルの説明図。 第3図はインデックス値テーブル及び実行バイトカウン
トテーブルの説明図。 第4図は本発明の実行するフローチャート。 第5図は本発明の処理内容の説明図。 第6図は従来のテスト方式のフローチャートである。 図中、 11はテスト実行手段、 12は乱数発生手段
。 13はシークアドレステーブル、 14はランダムデー
タ、 15はインデックス値テーブル、16は実行バイ
トカウントテーブル、 20はディスク装置である。 特許出願人 株式会社ピーエフニー 代理人 弁理士森1)寛(外2名) シークアドレステーブルの説明図 第2図 インデックス値テーブル及び実行バイトカウントテーブ
ルの説明図第3図 従来のテスト方式のフロ・ 第6図 固定長・固定データ ーチャート
Figure 1 is a diagram of the principle configuration. FIG. 2 is an explanatory diagram of the seek address table. FIG. 3 is an explanatory diagram of an index value table and an executed byte count table. FIG. 4 is a flowchart for implementing the present invention. FIG. 5 is an explanatory diagram of the processing contents of the present invention. FIG. 6 is a flowchart of a conventional test method. In the figure, 11 is a test execution means, and 12 is a random number generation means. 13 is a seek address table, 14 is random data, 15 is an index value table, 16 is an execution byte count table, and 20 is a disk device. Patent applicant Pfn Co., Ltd. Agent Patent attorney Hiroshi Mori (2 others) Explanatory diagram of seek address table Figure 2 Explanatory diagram of index value table and execution byte count table Figure 3 Flowchart of conventional test method Figure 6 Fixed length/fixed data chart

Claims (1)

【特許請求の範囲】 ディスクドライブ処理のテストを実行するテスト実行手
段(11)を備え、このテスト実行手段(11)が、テ
ストデータをディスク装置(20)上の指定された指定
シークアドレスに書込むとともに、この書込まれたテス
トデータを読取り、書込んだテストデータと読取ったテ
ストデータとが一致するか否かを調べることで、ディス
クドライブ処理のテストを実行するディスクドライブ処
理のテスト方式において、 指定シークアドレスを順次設定するためのシークアドレ
ステーブル(13)と、テストデータを設定するための
ランダムデータ(14)とを予め乱数発生手段(12)
により生成するとともに、このランダムデータ(14)
の参照開始位置を順次指定するためのインデックス値テ
ーブル(15)と、この参照開始位置からのデータ長を
順次指定するための実行バイトカウントテーブル(16
)とを予め乱数発生手段(12)により生成しておき、
上記テスト実行手段(11)は、上記インデックス値テ
ーブル(15)及び上記実行バイトカウントテーブル(
16)に従って指定される上記ランダムデータ(14)
により設定されるテストデータを、上記シークアドレス
テーブル(13)により設定される指定シークアドレス
に書込むよう処理するとともに、この書込まれたテスト
データをテスト実行のために読取る際に、任意の指定シ
ークアドレス位置に一度読取りのためのディスクヘッド
をセットしてから読取るよう処理してなることを、 特徴とするディスクドライブ処理のテスト方式。
[Claims] A test execution means (11) is provided for executing a test of disk drive processing, and the test execution means (11) writes test data to a specified seek address on a disk device (20). In the disk drive processing test method, the disk drive processing is tested by reading the written test data and checking whether the written test data matches the read test data. , A seek address table (13) for sequentially setting designated seek addresses and random data (14) for setting test data are generated in advance by a random number generating means (12).
This random data (14) is generated by
An index value table (15) for sequentially specifying the reference start position of , and an execution byte count table (16) for sequentially specifying the data length from this reference start position.
) is generated in advance by the random number generating means (12),
The test execution means (11) includes the index value table (15) and the execution byte count table (
The above random data (14) specified according to 16)
In addition to writing the test data set by the above seek address table (13) to the specified seek address set by the seek address table (13), when reading this written test data for test execution, any specified A disk drive processing test method characterized by setting the disk head for reading at the seek address position and then performing the reading process.
JP7351888A 1988-03-28 1988-03-28 Disk drive processing test method Expired - Fee Related JPH071612B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7351888A JPH071612B2 (en) 1988-03-28 1988-03-28 Disk drive processing test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7351888A JPH071612B2 (en) 1988-03-28 1988-03-28 Disk drive processing test method

Publications (2)

Publication Number Publication Date
JPH01245473A true JPH01245473A (en) 1989-09-29
JPH071612B2 JPH071612B2 (en) 1995-01-11

Family

ID=13520543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7351888A Expired - Fee Related JPH071612B2 (en) 1988-03-28 1988-03-28 Disk drive processing test method

Country Status (1)

Country Link
JP (1) JPH071612B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102969026A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Mobile storage device detection method and apparatus based on data processing system
CN114420189A (en) * 2022-01-18 2022-04-29 杭州雄迈集成电路技术股份有限公司 Method and system for detecting chip damage

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102969026A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Mobile storage device detection method and apparatus based on data processing system
CN102969026B (en) * 2012-10-25 2015-09-30 北京奇虎科技有限公司 Based on movable storage device detection method and the device of data handling system
CN114420189A (en) * 2022-01-18 2022-04-29 杭州雄迈集成电路技术股份有限公司 Method and system for detecting chip damage

Also Published As

Publication number Publication date
JPH071612B2 (en) 1995-01-11

Similar Documents

Publication Publication Date Title
JPS5948424B2 (en) parallel computing system
KR20000075835A (en) Method and apparatus for correcting errors in computer systems
KR20080063407A (en) Memory diagnosis apparatus
JPH01245473A (en) Test system for disk driving function
JPS58182775A (en) Self-diagnosing system of magnetic disk
KR100340049B1 (en) Method for testing chill programs using test scenario
JPS593648A (en) Automatic testing system of information processing system
JPH07198782A (en) Diagnosis circuit
JPH05313824A (en) Control method for tracing device built in disk device
JPS61123062A (en) Data check processing method
JP2001236602A (en) Testing method of disk operation
JPH05257824A (en) Method for testing external storage device
JP3529401B2 (en) Integrated circuit
JPS5849900B2 (en) Diagnosis method during IPL
JPH0362104A (en) Inspection instrument
JPH0238879A (en) Logical circuit
JPH07110790A (en) Memory diagnostic device
JPS63247976A (en) System for controlling inspection of magnetic disk
JPS61145665A (en) Test method of inter-device interchangeability of input output device
JP2746655B2 (en) How to check optical disk memory
JPS61290546A (en) Tracing system for microprogram controller
JPS63231642A (en) Status log storage device
JPS63251965A (en) Disk managing system
JPH01281520A (en) External storage device
JPH04275654A (en) Storage part diagnostic system for information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees