Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5918749B2 - Pseudo error sending method - Google Patents
[go: Go Back, main page]

JPS5918749B2 - Pseudo error sending method - Google Patents

Pseudo error sending method

Info

Publication number
JPS5918749B2
JPS5918749B2 JP54166531A JP16653179A JPS5918749B2 JP S5918749 B2 JPS5918749 B2 JP S5918749B2 JP 54166531 A JP54166531 A JP 54166531A JP 16653179 A JP16653179 A JP 16653179A JP S5918749 B2 JPS5918749 B2 JP S5918749B2
Authority
JP
Japan
Prior art keywords
error
address
memory
register
pseudo
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.)
Expired
Application number
JP54166531A
Other languages
Japanese (ja)
Other versions
JPS5688550A (en
Inventor
雄太 安達
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54166531A priority Critical patent/JPS5918749B2/en
Publication of JPS5688550A publication Critical patent/JPS5688550A/en
Publication of JPS5918749B2 publication Critical patent/JPS5918749B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は磁気ディスク装置等において記憶媒体に不良が
ある場合の動作を簡易に擬似するためのICメモリを使
用した擬似列部記憶装置に係り、特にエラー・アドレス
レジスタとエラー・データレジスタとを備えてICメモ
リ読出しデータに換えて擬似エラーを送出する方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pseudo column storage device using an IC memory for easily simulating the operation when a storage medium is defective in a magnetic disk device, etc. The present invention relates to a system that includes an error data register and sends a pseudo error in place of IC memory read data.

コンピュータ・システムの外部記憶装置に使用される磁
気ディスク装置等において、記憶媒体に不良があつた場
合、コンピュータの中央処理装置に接続するチャネル装
置及び磁気ディスク制御装置はその不良内容に応じた動
作をするように定められている。
If there is a defect in the storage medium in a magnetic disk device used as an external storage device for a computer system, the channel device and magnetic disk control device connected to the computer's central processing unit will operate according to the nature of the defect. It is prescribed to do so.

従来、この不良内容に関するチャネル装置等の試験にお
いては媒体そのものに物理的にΠをつけることにより行
なつていたが、この方法では発生できる不良内容に限り
があること、媒体そのものを不良にしてしまうので費用
のかかること、更に試みられている方法では媒体不良を
擬似するICメモリヘその不良内容に応じたデータをそ
の都度書込み、その後読出しする方法によつているため
に、多数の不良内容を短時間内に擬似する上で難点のあ
るものであつた。本発明の目的は磁気記憶媒体を擬似す
る擬似外部記憶装置において、効率的な不良発生方式を
提供することにある。
Conventionally, testing of channel devices, etc. regarding the content of defects has been done by physically attaching a Π to the medium itself, but this method has a limitation on the content of defects that can occur, and also causes the medium itself to become defective. Therefore, it is expensive, and the method being tried involves writing data corresponding to the defect content each time into an IC memory that simulates a media defect, and then reading it out, so that it is possible to eliminate a large number of defect contents in a short period of time. It was something that was difficult to imitate internally. An object of the present invention is to provide an efficient method for generating defects in a pseudo external storage device that simulates a magnetic storage medium.

本発明によればチャネル装置へ接続する磁気ディスク装
置等の磁気記憶媒体に換えてICメモリを使用し、クロ
ック信号をカウントして媒体アドレスとするアドレスカ
ウンタを有してチャネル装置よりのアドレス指示とアド
レスカウンタとの一致によつてICメモリを読出し書込
みする擬似外部記憶装置において、エラー ・データを
記憶するエラー ・データレジスタとエラー ・アドレ
スを指示するエラー・アドレスレジスタとを設け、前記
チャネル装置を経由しない外部より前記エラー・データ
レジスタとエラー ・アドレスレジスタにエラー情報を
書込み、前記チャネル装置による読出し信号によつてエ
ラー ・アドレスレジスタとアドレスカウンタの一致接
点でICメモリ読出しデータに換えてエラー ・データ
レジスタの内容を送出する擬似エラー送出方法が得られ
る。
According to the present invention, an IC memory is used in place of a magnetic storage medium such as a magnetic disk device connected to a channel device, and an address counter that counts clock signals as a medium address is used to receive address instructions from the channel device. In a pseudo external storage device that reads and writes to IC memory based on a match with an address counter, an error/data register for storing error/data and an error/address register for specifying an error/address are provided, and an error/address register for indicating an error address is provided.・Writes error information to the address register and detects the error by the read signal from the channel device. ・Replaces the error with IC memory read data at the matching contact between the address register and the address counter. ・Data register A pseudo-error sending method for sending the contents of is obtained.

以下図面を参照して本発明を詳細に説明する。第1図は
本発明の一実施例構成を示すシステムブロック図である
。ディスク制御装置DPCはコンピュータ・システムの
中快処理装置CPUの命令に基づきチヤネル装置CHC
を通して送られるデイスクユニツト番号、トラツク指示
および動作モードを受けとり指定されたデイスクユニツ
ト、ここでは擬似ディスク装置1を選択してトラツク指
定をする。擬似デイスク装置1は磁気記憶媒体の代わり
をするICメモリ3と、Cメモリ3をデイスクユニツト
として擬似制御する擬似デイスクユニツト2とにより構
成される。更に、擬似デイスク装置1はコンピユータ・
システムを監視するサービスプロセツサSVPlおよび
信号線T2,t3を介して中央処理装置CPUに接続し
ている。サービスプロセツサSVPは信号請T2を通じ
、チヤネル装置℃HC及び磁気デイスク制御装置DPC
へ接続しており中央処理装置CPUがチヤネル装置CH
Cl磁気デイスク制御装置DPCについて実行するテス
トプログラムに対する応答について監視することが出来
る。第2図は本発明の一実施例を示す擬似デイスク装置
のプロツク図である。
The present invention will be described in detail below with reference to the drawings. FIG. 1 is a system block diagram showing the configuration of an embodiment of the present invention. The disk controller DPC controls the channel device CHC based on the instructions from the central processing unit CPU of the computer system.
The controller receives the disk unit number, track instruction, and operation mode sent through the disk unit, selects the specified disk unit, in this case the pseudo disk device 1, and specifies the track. The pseudo disk device 1 is composed of an IC memory 3 that takes the place of a magnetic storage medium, and a pseudo disk unit 2 that pseudo-controls the C memory 3 as a disk unit. Furthermore, the pseudo disk device 1 is a computer
It is connected to the central processing unit CPU via a service processor SVPl that monitors the system and signal lines T2 and t3. The service processor SVP communicates with the channel device ℃HC and the magnetic disk controller DPC through the signal transmission T2.
The central processing unit CPU is connected to the channel device CH.
It is possible to monitor the response to the test program executed on the Cl magnetic disk controller DPC. FIG. 2 is a block diagram of a pseudo disk device showing one embodiment of the present invention.

第1図に同じ部分には同一符号を付している。擬似デイ
スク装置1は磁気記憶媒体の代わりをするCメモリ3、
Cメモリ3を磁気デイスク制御装置DPCに接続し制御
する制御部4、ICメモリ3の読出しデータを言?する
データレジスタR1、サービスプロセッサSVPから転
送されるエラー内容を記憶するエラー・データレジスタ
R2、エラー・アドレスレジスタR3,R3″、連続す
るクロツク信号はカウンタするアドレスカウンタACl
及びアドレス比較を行なうアドレス比較回路などから構
成されているOここでアドレスカウンタACはランダム
アクセスメモリである1Cメモリ3に仮想的なトラツク
上のバイトアドレスを与えている。
The same parts as in FIG. 1 are given the same reference numerals. The pseudo disk device 1 includes a C memory 3 that takes the place of a magnetic storage medium;
The control unit 4 that connects and controls the C memory 3 to the magnetic disk controller DPC reads out data read from the IC memory 3. an error data register R2 that stores the error contents transferred from the service processor SVP, an error address register R3, R3'', and an address counter ACl that counts continuous clock signals.
The address counter AC provides a byte address on a virtual track to the 1C memory 3, which is a random access memory.

エラー・データレジスタR2はエラーを発生させる1バ
イトのエラー・データを記憶し、エラー・アドレスレジ
スタR3はエラーを発生させるトラツク上のアドレスを
記憶し、R3″はそのトラツクを記憶する。図において
、データ書込みにおいては信号線t1を通してビツトシ
リアルに送られてくる書込みデータは、制御部4でバイ
ト単位に集められ信号線T4を通じてICメモリ3へ送
られる。ICメモリ3のアドレス入力はトラツク指定の
情報が制御部4から信号線T5を経由して与えられ、ト
ラツク上のアドレスがアドレスカウンタACから信号線
T6によつて与えられている。制御部4はチヤネル装置
CHCから受信し記憶しているトラツク土のバイトアド
レスとアドレスカウンタACとの一致を検出することに
よつて、その一致したタイミングからICメモリ3へ前
記書込みデータを書込むことが出来る。擬似デイスク装
置1から中快処理装置CPUへのデータの読出しにおい
ては、制御部4に記憶しているバイトアドレスとアドレ
スカウンタACの一致タイミングからICメモリ3がバ
イト単位で読出しされ、データレジスタR1、制御部4
、信号線t1を経由してビツトシリアルに送出される〇
この様にしてICメモリ3の書込み読出しにおいて、ア
ドレスカウンタACの働きによつてあたかも磁気デイス
クに対して書込み読出しを実施するように擬似すること
が出来る。
Error data register R2 stores one byte of error data that causes an error, error address register R3 stores the address on the track that causes the error, and R3'' stores that track. In the figure: During data writing, write data sent bit serially through the signal line t1 is collected in byte units by the control unit 4 and sent to the IC memory 3 through the signal line T4.The address input of the IC memory 3 is track designation information. is given from the control unit 4 via the signal line T5, and the address on the track is given from the address counter AC via the signal line T6.The control unit 4 receives the track received from the channel device CHC and stores it. By detecting a match between the local byte address and the address counter AC, the write data can be written to the IC memory 3 from the timing of the match. When reading data, the IC memory 3 is read in byte units from the coincidence timing of the byte address stored in the control unit 4 and the address counter AC, and the data register R1 and the control unit 4
, is sent bit serially via the signal line t1 〇In this way, when reading and writing to the IC memory 3, the function of the address counter AC simulates writing and reading to a magnetic disk. I can do it.

ところで、磁気デイスクの記憶媒体表面・に膓]あるい
は「チI月等の.あるため、データが満足に書込み読出
し出来ない場合を擬似する方法は次の様にして実施され
る。即ち、上述の方法によつて正しいデータが擬似デイ
スク装置1に既に書込みされているとするとき、中快処
理装置CPUはサービスプロセツサSVPによつて、エ
ラー発生アドレスとエラー・データとを信号線T2を通
じて、エラー・アドレスレジスタR3,R3′及びエラ
ー・データレジスタR2へ転送する。次いで中央処理装
置CPUは読出し命令を与え、擬似デイスク装置1は前
述のようにアドレスカウンタACと制御部4に記憶して
いるバイトアドレスの一致タイミングからICメモリ3
を読出しデータ送出を開始する。アドレス比較回路CM
において、エラー・アドレスレジスタR3に記憶してい
るアドレスとアドレスカウンタACのアドレスとを比較
して一致タイミングを知つてエラー・データレジスタR
2のエラー・データをCメモリ3の読出し出力に換えて
制御部4から信号線t1を通じて送出する。このあと、
アドレスカウンタACで指示される1Cメモリ3の内容
が読出しされレコードの区切りが識別されると、読出し
動作が終了する。ここで、制御部4において、再試行に
よる読出し指示を受信したときはエラー・データレジス
タR2の出力を送出せず、ICメモリ3の読出し出力を
送出することにより簡単に再試行成功の確認が可能であ
る。
By the way, a method for simulating a case in which data cannot be written or read satisfactorily due to the surface of the storage medium of a magnetic disk, such as scratches or scratches, is carried out as follows. Assuming that correct data has already been written to the pseudo disk device 1 according to the method, the intermediate processing unit CPU sends the error occurrence address and error data via the signal line T2 by the service processor SVP. - Transfer to address registers R3, R3' and error data register R2.Then, the central processing unit CPU gives a read command, and the pseudo disk device 1 transfers the bytes stored in the address counter AC and the control unit 4 as described above. IC memory 3 from address match timing
Read and start data transmission. Address comparison circuit CM
, the address stored in the error address register R3 is compared with the address of the address counter AC, and the matching timing is known, and the error data register R is stored.
The error data of No. 2 is converted into the read output of the C memory 3 and sent from the control section 4 through the signal line t1. after this,
When the contents of the 1C memory 3 indicated by the address counter AC are read out and the record break is identified, the read operation ends. Here, when the control unit 4 receives a retry read instruction, it does not send the output of the error data register R2, but sends the read output of the IC memory 3, making it possible to easily confirm the success of the retry. It is.

第3図は擬似ディスク装置からエラー・データを送出す
る過程を示すフロー図である。
FIG. 3 is a flow diagram showing the process of sending error data from the pseudo disk device.

記憶媒体の書込み読出しエラーを擬似するために中央処
理装置CPUはステツプ10において、サービスプロセ
ツサSVPによつてエラー内容をエラー・データレジス
タR2、エラー・アドレスレジスタR3,R3lに設定
する。次いでステツプ11において擬似デイスク装置1
は読出し指示を受信して、アドレスカウンタACとエラ
ー・アドレスカウンタR3との一致するタイミングでス
テツプ15に示すようにエラー・データレジスタR2の
内容を中央処理装置CPUへ送出する。アドレスが不一
致のときはICメモリ3の内容を読出し、ステツプ14
においてレコードの区切りが識別されると読出し動作を
終了する。上記実施例に説明のように、磁気デイスクを
擬似する擬似デイスク装置において読出しの際に、チヤ
ネル装置を経由しない男部よりエラー内容を任意に設定
して、エラー発生を擬似しているので、チヤネル装置を
経由してエラー内容を書込む方法と比較して短時間内に
書込みが出来る上、他に大容量メモリを必要としない効
果がある。
In step 10, the central processing unit CPU sets error contents in the error data register R2 and error address registers R3 and R3l by the service processor SVP in order to simulate a read/write error in the storage medium. Next, in step 11, the pseudo disk device 1
receives the read instruction and sends the contents of the error data register R2 to the central processing unit CPU at the timing when the address counter AC and the error address counter R3 match, as shown in step 15. If the addresses do not match, read the contents of the IC memory 3 and proceed to step 14.
When a record break is identified at , the read operation ends. As explained in the above embodiment, when reading in a pseudo disk device that simulates a magnetic disk, error contents are set arbitrarily from the male part that does not go through the channel device, and the occurrence of an error is simulated. Compared to the method of writing error contents via a device, writing can be done in a shorter time, and there is also an advantage that a large capacity memory is not required.

以上本発明によつて、磁気記憶媒体を擬似する擬似欠部
記憶装置において媒体不良を擬似する為の効率的な不良
発生方式が得られる。
As described above, according to the present invention, an efficient defect generation method for simulating medium defects in a pseudo defect storage device simulating a magnetic storage medium can be obtained.

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

第1図は本発明の一実施例構成を示すシステムプロツク
図、第2図は本発明の一実施例を示す擬似デイスク装置
のプロツク図、第3図は擬似デイスク装置からエラー・
データを送出する過程を示すフロー図である。 CPU・・・・・・中央処理装置、CHC・・・・・・
チヤネル装置、DPC・・・・・・磁気デイスク制御装
置、SVP・・・・・・サービスプロセツサ、1・・・
・・・擬似デイスク装置、2・・・・・・擬似デイスク
ユニツト、3・・・・・・ICメモリ、R2・・・・・
・エラー゜データレジスタ、R3,R3′・・・・・・
エラー・データレジスタ、AC・・・・・・アドレスカ
ウンタ。
FIG. 1 is a system block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram of a pseudo disk device showing an embodiment of the present invention, and FIG. 3 is a system block diagram showing the configuration of an embodiment of the present invention.
FIG. 3 is a flow diagram showing the process of sending data. CPU・・・Central processing unit, CHC・・・・・・
Channel device, DPC...Magnetic disk control device, SVP...Service processor, 1...
... Pseudo disk device, 2 ... Pseudo disk unit, 3 ... IC memory, R2 ...
・Error゜Data register, R3, R3'...
Error data register, AC...address counter.

Claims (1)

【特許請求の範囲】[Claims] 1 チャネル装置へ接続する磁気ディスク装置等の磁気
記憶媒体に換えてICメモリを使用し、クロック信号を
カウントして媒体アドレスとするアドレスカウンタを有
してチャネル装置よりのアドレス指示とアドレスカウン
タとの一致によつてICメモリを読出し、書込みする擬
似外部記憶装置において、エラー・データを記憶するエ
ラー・データレジスタとエラー・アドレスを指示するエ
ラー・アドレスレジスタとを設け、前記チャネル装置を
経由しない外部より前記エラー・データレジスタとエラ
ー・アドレスレジスタにエラー情報を書込み、前記チャ
ネル装置による読出し信号によつてエラー・アドレスレ
ジスタとアドレスカウンタの一致時点でICメモリ読出
しデータに換えてエラー・データレジスタの内容を送出
することを特徴とする擬似エラー送出方式。
1. An IC memory is used in place of a magnetic storage medium such as a magnetic disk device connected to a channel device, and an address counter that counts clock signals as a medium address is used, so that the address instruction from the channel device and the address counter can be exchanged. A pseudo external storage device that reads and writes to an IC memory based on a match is provided with an error data register that stores error data and an error address register that specifies an error address, so that an Error information is written to the error data register and error address register, and when the error address register and address counter match, the contents of the error data register are replaced with IC memory read data by the read signal from the channel device. A pseudo-error sending method characterized by sending.
JP54166531A 1979-12-21 1979-12-21 Pseudo error sending method Expired JPS5918749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54166531A JPS5918749B2 (en) 1979-12-21 1979-12-21 Pseudo error sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54166531A JPS5918749B2 (en) 1979-12-21 1979-12-21 Pseudo error sending method

Publications (2)

Publication Number Publication Date
JPS5688550A JPS5688550A (en) 1981-07-18
JPS5918749B2 true JPS5918749B2 (en) 1984-04-28

Family

ID=15833017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54166531A Expired JPS5918749B2 (en) 1979-12-21 1979-12-21 Pseudo error sending method

Country Status (1)

Country Link
JP (1) JPS5918749B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5609986B2 (en) * 2010-11-16 2014-10-22 富士通株式会社 Information processing apparatus, transmission apparatus, and control method for information processing apparatus

Also Published As

Publication number Publication date
JPS5688550A (en) 1981-07-18

Similar Documents

Publication Publication Date Title
JP3016490B2 (en) IC memory card
JP4187470B2 (en) Semiconductor device development support cooperation device and development support method
JPS5918749B2 (en) Pseudo error sending method
JPS5918748B2 (en) Pseudo-error rewriting method
JPS5938930A (en) Optical disk controller
JP2677407B2 (en) Disk medium inspection method and disk device
JPS6347937Y2 (en)
JPS59158450A (en) Program test device
JPS6225344A (en) Digital signal recoding device
JPH01106370A (en) Error inspection device
SU1376121A2 (en) Device for recording and checking programmed read-only memory
JPS629444A (en) Copy and inspection control method between floppy medias of computer system
JPS60549A (en) Memory testing system
JPS6236269B2 (en)
JPS61283074A (en) optical information device
JPS6218943B2 (en)
JPH0266668A (en) Data tracing method for multi-processor bus
JPH0217555A (en) Memory diagnosing system
JPS63104160A (en) Data transfer system
JPS6292039A (en) Data processor
JPS59226954A (en) Type-based recorder of memory access
JPS6130356B2 (en)
JPS6043544B2 (en) Main memory error handling method
JPS62168241A (en) Microprogram controller
JPH01321529A (en) Initial diagnostic system for device