JPH1145189A - Data setting method and data processing device - Google Patents
Data setting method and data processing deviceInfo
- Publication number
- JPH1145189A JPH1145189A JP9199773A JP19977397A JPH1145189A JP H1145189 A JPH1145189 A JP H1145189A JP 9199773 A JP9199773 A JP 9199773A JP 19977397 A JP19977397 A JP 19977397A JP H1145189 A JPH1145189 A JP H1145189A
- Authority
- JP
- Japan
- Prior art keywords
- data
- register
- setting
- control unit
- setting register
- 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.)
- Withdrawn
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Retry When Errors Occur (AREA)
- Exchange Systems With Centralized Control (AREA)
- Time-Division Multiplex Systems (AREA)
- Communication Control (AREA)
Abstract
(57)【要約】
【課題】 複数ブロックからなる被制御部にデータを設
定するデータ設定方法及びデータ処理装置に関し、新規
データ設定時の処理負担を軽減する。
【解決手段】 入力データDinに対して一連の処理を
施す複数のブロック1−1〜1−mからなる被制御部
と、プロセッサ3を含む制御部2とを有し、各ブロック
1−1〜1−mに、設定レジスタ12と共に、少なくと
もリカバリレジスタ14と転送制御部15とを設け、設
定レジスタ12に新規データを書込む時、転送制御部1
5の制御により設定レジスタ12からリカバリレジスタ
14に旧データを転送して、制御部2から新規データを
設定レジスタ12に転送して書込み、この設定レジスタ
12から読出した新規データと、制御部2に於いて保持
している新規データとを比較し、比較不一致の書込異常
時は、転送制御部15にリカバリ復帰指示を与えて、リ
カバリレジスタ14から設定レジスタ12に旧データを
転送して書込む過程及び構成を備えている。
(57) [Summary] [PROBLEMS] To reduce a processing load at the time of setting new data in a data setting method and a data processing device for setting data in a controlled part composed of a plurality of blocks. A control unit includes a plurality of blocks for performing a series of processing on input data and a control unit including a processor. 1-m, at least a recovery register 14 and a transfer control unit 15 are provided together with the setting register 12, and when writing new data into the setting register 12, the transfer control unit 1
5, the old data is transferred from the setting register 12 to the recovery register 14, the new data is transferred from the control unit 2 to the setting register 12 and written, and the new data read from the setting register 12 is transferred to the control unit 2. The data is compared with the new data held therein, and in the case of a write error in which the comparison does not match, a recovery return instruction is given to the transfer control unit 15 to transfer the old data from the recovery register 14 to the setting register 12 and write the old data. Process and configuration.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力データに対し
て複数のブロックにより一連の処理を順次施す被制御部
に、一連の処理を施す為のデータを制御部から設定する
データ設定方法及びこのデータ設定方法を適用するデー
タ処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data setting method for setting data to be subjected to a series of processes from a control unit to a controlled unit which sequentially performs a series of processes by a plurality of blocks on input data, and a data setting method. The present invention relates to a data processing device to which a data setting method is applied.
【0002】入力データが、例えば、STM(Synchro
nous Tranfer Mode )−N(STM−0=50Mb
ps,STM−1=155Mbps,STM−4=62
2Mbps,STM−16=2.488Gbps)の場
合、ペイロードとオーバーヘッドとからなるフォーマッ
トで入力されるものであり、データ伝送装置等のデータ
処理装置に於いては、ペイロードに対するメインデータ
の挿入又は抽出処理と共に、オーバーヘッドの複数種類
のバイトの抽出又は挿入処理が必要となる。このオーバ
ーヘッドのバイトの種類及び個数が多数となると、単一
のブロックの処理機能では対処できないので、複数のブ
ロックの処理機能で分散処理することが考えられる。そ
の場合に、各ブロックに於ける処理機能の為の制御デー
タを設定する必要があり、そのデータ設定の処理を容易
とすることが要望される。When input data is, for example, STM (Synchro
nous Transfer Mode) -N (STM-0 = 50Mb
ps, STM-1 = 155 Mbps, STM-4 = 62
2 Mbps, STM-16 = 2.488 Gbps), the data is input in a format including a payload and an overhead. In a data processing device such as a data transmission device, the main data is inserted or extracted into the payload. At the same time, extraction or insertion of a plurality of types of bytes of overhead is required. If the type and the number of bytes of the overhead are large, the processing function of a single block cannot cope with the problem. In this case, it is necessary to set control data for a processing function in each block, and it is desired to facilitate the processing of the data setting.
【0003】[0003]
【従来の技術】図11は従来例の説明図であり、51−
1〜51−mは被制御部を構成するブロック、52は制
御部、53はプロセッサ(CPU)、54は上位制御装
置、55はバス、61はインタフェース部(IF)、6
2は設定レジスタ、63は処理部、Dinは入力デー
タ、Doutは出力データを示す。2. Description of the Related Art FIG. 11 is an explanatory view of a conventional example.
1 to 51-m are blocks constituting a controlled unit, 52 is a control unit, 53 is a processor (CPU), 54 is a higher-level control device, 55 is a bus, 61 is an interface unit (IF), 6
2 is a setting register, 63 is a processing unit, Din is input data, and Dout is output data.
【0004】各ブロック51−1〜51−mは、例え
ば、複数の半導体集積回路をプリント基板に搭載した同
一或いは異なる構成を有し、図示を省略したバックボー
ド等によって相互に接続される。又インタフェース部6
1は、自ブロックが指定されたことを識別するアドレス
デコーダ等を含み、バス55を介して制御部52のプロ
セッサ53との間で、設定レジスタ62に設定するデー
タの受信及び設定レジスタ62から読出したデータの送
信を行うバスアクセス機能を備えている。The blocks 51-1 to 51-m have, for example, the same or different configurations in which a plurality of semiconductor integrated circuits are mounted on a printed circuit board, and are connected to each other by a back board or the like (not shown). Interface section 6
1 includes an address decoder for identifying that the own block is designated, receives data to be set in the setting register 62 from the processor 53 of the control unit 52 via the bus 55, and reads out the data from the setting register 62. It has a bus access function for transmitting data.
【0005】又処理部63は、入力データDinをそれ
ぞれのブロックに於いて一連の処理を施して出力データ
Doutとするもので、その処理内容は、例えば、前述
のようなATM−Nの入力データDinのオーバーヘッ
ドの各種の種類対応のバイトの処理、或いは多重化され
メインデータについてのデータブロックのインサートや
ドロップ等の処理等があり、設定レジスタ62に設定さ
れたデータに従った処理が行われる。従って、各ブロッ
ク対応の設定レジスタ62の設定データは、それぞれ異
なる場合が多いが同一の場合もある。The processing section 63 performs a series of processing on the input data Din in each block to produce output data Dout. The processing contents include, for example, the above-described input data of the ATM-N. Processing of bytes corresponding to various types of overhead of Din, or processing such as insertion or dropping of a multiplexed data block for main data is performed, and processing according to data set in the setting register 62 is performed. Therefore, the setting data of the setting register 62 corresponding to each block often differs, but may be the same.
【0006】この設定レジスタ62に対するデータの書
込みは、上位制御装置54の指示に従って制御部52の
プロセッサ53が、バス55を介して被制御部の各ブロ
ック51−1〜51−mを順次指定して、その設定レジ
スタ62に、インタフェース部63を介してデータを転
送する。又制御部52のプロセッサ53は、各ブロック
51−1〜51−mを指定して、設定レジスタ62から
データを読出すことができる。従って、太線が設定レジ
スタ62に関連するデータの経路となる。When writing data to the setting register 62, the processor 53 of the control unit 52 sequentially designates each of the blocks 51-1 to 51-m of the controlled unit via the bus 55 in accordance with an instruction from the host controller 54. Then, the data is transferred to the setting register 62 via the interface unit 63. The processor 53 of the control unit 52 can read data from the setting register 62 by designating each of the blocks 51-1 to 51-m. Therefore, the bold line is the path of the data related to the setting register 62.
【0007】図12は従来例の正常時のシーケンス説明
図であり、上位制御装置54と、制御部のプロセッサ
(CPU)53と、被制御部のブロック51−1〜51
−mとについて、設定レジスタ62のデータを変更する
場合について示すもので、入力データDinの処理を中
止した状態で、上位制御装置54は、変更要求を制御部
52のプロセッサ(CPU)53に入力する。それによ
り、プロセッサ53は、被制御部のブロック51−1〜
51−mの例えばブロック51−1を指定して、旧デー
タの読出指示を行う。それによって、設定レジスタ62
に設定されていた旧データが読出され、インタフェース
部61とバス55とを介して制御部52のプロセッサ5
3へ転送され、プロセッサ53はこの旧データを保持す
る。FIG. 12 is an explanatory diagram of a sequence in a normal state in a conventional example, in which a host controller 54, a processor (CPU) 53 of a control unit, and blocks 51-1 to 51 of a controlled unit.
-M indicates a case in which the data of the setting register 62 is changed. In a state where the processing of the input data Din is stopped, the upper control device 54 inputs a change request to the processor (CPU) 53 of the control unit 52. I do. Thereby, the processor 53 controls the blocks 51-1 to 51-1 of the controlled unit.
For example, the old data is read out by designating the block 51-1 of 51-m. Thereby, the setting register 62
Is read out, and the processor 5 of the control unit 52 is read out via the interface unit 61 and the bus 55.
3 and the processor 53 holds the old data.
【0008】次に、プロセッサ53は、新規データ書込
指示を行って、ブロック51−1に対する新規データ
を、バス55とインタフェース部61とを介して設定レ
ジスタ62に転送して書込み、この新規データの書込終
了により、新規データの読出指示を行って、設定レジス
タ62から新規データを読出し、この読出した新規デー
タをチェックする。即ち、設定レジスタ62への書込新
規データと、設定レジスタ62からの読出新規データと
を比較し、比較一致により正常に書込みが行われたと判
定して、次のブロック51−2に対して前述の処理を行
う。Next, the processor 53 issues a new data write instruction, transfers new data for the block 51-1 to the setting register 62 via the bus 55 and the interface unit 61, and writes the new data. Upon completion of writing, new data reading instruction is performed, new data is read from setting register 62, and the read new data is checked. That is, the new data to be written to the setting register 62 is compared with the new data to be read from the setting register 62, and it is determined that the data has been normally written due to the comparison coincidence. Is performed.
【0009】最後のブロック51−1mに対しても同様
に、設定レジスタ62から旧データを読出して保持し、
新規データの書込みを行った後、その新規データを読出
し、設定レジスタ62への書込新規データと、設定レジ
スタ62からの読出新規データとを比較し、比較一致に
より正常に書込みが行われたと判定して、制御部52の
プロセッサ53は上位制御装置54に変更終了を通知す
る。上位制御装置54は、この変更終了通知により、全
ブロック51−1〜51−mに新たなデータが設定され
たことになるから、被制御部の各ブロック51−1〜5
1−mに於ける入力データDinの処理を開始させる。Similarly, for the last block 51-1m, the old data is read from the setting register 62 and held.
After writing the new data, the new data is read, the new data written to the setting register 62 is compared with the new data read from the setting register 62, and it is determined that the writing has been normally performed based on the comparison match. Then, the processor 53 of the control unit 52 notifies the host controller 54 of the end of the change. The higher-level control device 54 sets new data in all the blocks 51-1 to 51-m by the change end notification.
The processing of the input data Din in 1-m is started.
【0010】図13は従来例の異常時のシーケンス説明
図であり、上位制御装置54からの変更要求に従って、
ブロック51−1〜51−m−1に対する新規データの
書込みが正常に行われ、ブロック51−mに対する新規
データの書込みに於いて、設定レジスタ62への書込新
規データと、設定レジスタ62からの読出新規データと
を比較して不一致となった場合を示し、この場合は、書
込異常であるから、制御部52のプロセッサ53は、ブ
ロック51−1〜51−mの設定レジスタ62から読出
して保持している旧データを、それぞれ元のブロックの
設定レジスタ62に対して順次転送して書込みを行う。FIG. 13 is an explanatory diagram of a sequence at the time of an abnormality in the conventional example.
The writing of the new data to the blocks 51-1 to 51-m-1 is normally performed. In the writing of the new data to the block 51-m, the new data to be written to the setting register 62 and the new data from the setting register 62 This indicates a case where the data does not match when compared with the new read data. In this case, since the writing is abnormal, the processor 53 of the control unit 52 reads out from the setting register 62 of the blocks 51-1 to 51-m. The held old data is sequentially transferred and written to the setting register 62 of the original block.
【0011】即ち、データ設定時の異常発生により、旧
データを元に戻すように書込みを行い、この旧データの
書込終了により、上位制御装置54に対しては、変更失
敗を通知する。上位制御装置54は、変更失敗通知によ
り、データ設定のリトライを行わせるか、或いは、旧デ
ータに戻したことによる処理内容に従った入力データD
inに対する一連の処理を再開させる。That is, when an error occurs during data setting, writing is performed so that the old data is restored, and when the writing of the old data is completed, the upper controller 54 is notified of the change failure. The higher-level control device 54 causes the data setting to be retried in response to the change failure notification, or the input data D according to the processing content by returning to the old data.
A series of processes for "in" is restarted.
【0012】[0012]
【発明が解決しようとする課題】上位制御装置54から
の変更要求によって、各ブロック51−1〜51−mの
設定レジスタ62に新規データを設定する場合、設定レ
ジスタ62の旧データを読出して制御部52に於いて保
持するものであり、設定レジスタ62に設定するデータ
は、処理部63の処理内容の複雑さに対応して比較的大
量となる場合があり、更に、データ処理装置として大量
の入力データDinを処理する場合、ブロック51−1
〜51−mの数が多数となる。When new data is set in the setting register 62 of each of the blocks 51-1 to 51-m in response to a change request from the host control device 54, the old data in the setting register 62 is read and controlled. The data to be set in the setting register 62 may be relatively large depending on the complexity of the processing contents of the processing unit 63. When processing the input data Din, block 51-1
~ 51-m becomes large.
【0013】従って、制御部52に於いて保持すべき旧
データの量が非常に多くなり、異常発生時は、その異常
発生ブロックまで旧データの復帰処理を順次行うことに
なり、制御部52のプロセッサ53の処理負担が大きく
且つ処理時間が長くなる問題があった。本発明は、比較
的簡単な構成により設定レジスタに対するデータの設定
の処理負担を軽減し、且つ処理時間を短縮することを目
的とする。Therefore, the amount of old data to be held in the control unit 52 becomes very large, and when an abnormality occurs, the process of restoring the old data to the block where the abnormality has occurred is sequentially performed. There is a problem that the processing load on the processor 53 is large and the processing time is long. SUMMARY OF THE INVENTION It is an object of the present invention to reduce the processing load of setting data in a setting register and reduce the processing time with a relatively simple configuration.
【0014】[0014]
【課題を解決するための手段】本発明のデータ設定方法
は、(1)入力データDinに対して複数のブロック1
−1〜1−mにより一連の処理を順次施す被制御部の各
ブロック1−1〜1−mに、制御部2から、一連の処理
を施す為のデータを設定するデータ設定方法であって、
制御部2から複数のブロック1−1〜1−mに新規デー
タを設定する時に、この制御部2からの転送指示によ
り、設定レジスタ12の旧データをリカバリレジスタ1
4に転送させた後、設定レジスタ12に制御部2からの
新規データを書込み、次に新規データを設定レジスタ1
2から読出して、設定レジスタ12への書込新規データ
と設定レジスタ12からの読出新規データとを比較し
て、新規データの書込正常か書込異常かを判定する過程
を含むものである。従って、制御部2は、旧データを保
持する必要がなく、ハード構成の小型化を図り、且つ制
御部2のプロセッサ3の処理負担を軽減することができ
る。According to the data setting method of the present invention, there are provided: (1) a plurality of blocks 1 for input data Din;
A data setting method for setting data for performing a series of processes from the control unit 2 to each block 1-1 to 1-m of a controlled unit that sequentially performs a series of processes according to -1 to 1-m. ,
When new data is set in the plurality of blocks 1-1 to 1-m from the control unit 2, the old data in the setting register 12 is replaced with the recovery register 1 by a transfer instruction from the control unit 2.
4, the new data from the control unit 2 is written into the setting register 12, and then the new data is written into the setting register 1.
2 and comparing the new data written to the setting register 12 and the new data read from the setting register 12 to determine whether the writing of the new data is normal or abnormal. Therefore, the control unit 2 does not need to hold the old data, can reduce the size of the hardware configuration, and can reduce the processing load on the processor 3 of the control unit 2.
【0015】又(2)設定レジスタ12への書込新規デ
ータと設定レジスタ12からの読出新規データとを比較
し、比較不一致の時は書込異常と判定して、制御部2か
ら複数のブロック1−1〜1−mに対して、リカバリレ
ジスタ14に保持された旧データを設定レジスタ12に
転送して書込むリカバリ復帰処理を行わせる過程を含む
ものである。即ち、設定レジスタ12に設定するデータ
を変更する時に、書込異常によって旧データを元に戻す
処理は、リカバリレジスタ14から行うことになるか
ら、旧データを復帰させるリカバリ処理に於ける制御部
2のプロセッサの処理負担は著しく軽減される。(2) The new data to be written to the setting register 12 is compared with the new data to be read from the setting register 12. This includes a process of performing recovery recovery processing for transferring the old data held in the recovery register 14 to the setting register 12 and writing the old data held in the recovery register 14 for 1-1 to 1-m. That is, when the data to be set in the setting register 12 is changed, the process of restoring the old data due to a write error is performed from the recovery register 14, so that the control unit 2 in the recovery process of restoring the old data is performed. , The processing load on the processor is significantly reduced.
【0016】又(3)設定レジスタ12とリカバリレジ
スタ14との間の旧データの転送時に、旧データの転送
誤りを監視する過程を含むことができる。それにより、
設定レジスタ12からリカバリレジスタ14に、又リカ
バリレジスタ14から設定レジスタ12にそれぞれ転送
する旧データの誤り発生を監視し、旧データの信頼性を
保持することができる。(3) When the old data is transferred between the setting register 12 and the recovery register 14, a step of monitoring a transfer error of the old data can be included. Thereby,
It is possible to monitor the occurrence of an error in the old data transferred from the setting register 12 to the recovery register 14 and from the recovery register 14 to the setting register 12 to maintain the reliability of the old data.
【0017】又(4)設定レジスタ12への書込新規デ
ータと設定レジスタ12からの読出新規データとを比較
し、比較不一致で書込異常と判定した時に、制御部2か
ら複数のブロック1−1〜1−mに対して、一斉リカバ
リ復帰指示を信号線を介して送出し、リカバリレジスタ
14に保持された旧データを設定レジスタ12に転送し
て書込む過程を含むことができる。(4) The new data to be written to the setting register 12 is compared with the new data to be read from the setting register 12, and when it is determined that the writing is abnormal due to a comparison mismatch, a plurality of blocks 1- A process may be included in which a simultaneous recovery return instruction is sent to signal lines 1 to 1-m via a signal line, and the old data held in the recovery register 14 is transferred to the setting register 12 and written.
【0018】又本発明のデータ処理装置は、(5)入力
データに対して複数のブロック1−1〜1−mにより一
連の処理を順次施す被制御部と、この被制御部の複数の
ブロック1−1〜1−mに於ける処理を制御する為のデ
ータを該被制御部に設定する制御部2とを含むデータ処
理装置であって、複数のブロック1−1〜1−mは、制
御部2からのデータを設定する設定レジスタ12と、こ
の設定レジスタ12との間でデータを転送するリカバリ
レジスタ14と、新規データ書込時に、設定レジスタ1
2に設定された旧データを、リカバリレジスタ14に転
送し、且つ設定レジスタ12に新規データを書込んだ後
の判定処理により書込異常と判定した時に、リカバリレ
ジスタ14から設定レジスタ12に旧データを転送して
書込む制御を行う転送制御部15とを備えている。従っ
て、設定データの変更時に、制御部2から転送制御部1
5に転送指示を与えることにより、設定レジスタ12か
らリカバリレジスタ14に旧データを転送し、又新規デ
ータの書込異常時には、リカバリレジスタ14から設定
レジスタ12に旧データを戻すことができる。The data processing apparatus according to the present invention comprises: (5) a controlled unit for sequentially performing a series of processing on input data by a plurality of blocks 1-1 to 1-m; and a plurality of blocks of the controlled unit. A control unit 2 for setting data for controlling the processing in 1-1 to 1-m in the controlled unit, wherein the plurality of blocks 1-1 to 1-m include: A setting register 12 for setting data from the control unit 2, a recovery register 14 for transferring data between the setting register 12, and a setting register 1 for writing new data.
2 is transferred to the recovery register 14, and when it is determined that writing is abnormal by the determination process after writing new data to the setting register 12, the old data is transferred from the recovery register 14 to the setting register 12. And a transfer control unit 15 for controlling the transfer and writing of the data. Therefore, when the setting data is changed, the transfer control unit 1
5, the old data can be transferred from the setting register 12 to the recovery register 14, and the old data can be returned from the recovery register 14 to the setting register 12 when writing of new data is abnormal.
【0019】又(6)複数のブロック1−1〜1−m
は、設定レジスタ12とリカバリレジスタ14との間で
転送するデータの誤りを監視する監視部を備えることが
できる。即ち、設定レジスタ12とリカバリレジスタ1
4との間で旧データを転送する時に、パリティチェッ
ク,CRCによるチェック,サムチェック等により転送
旧データの正常性を確認することができる。(6) A plurality of blocks 1-1 to 1-m
May include a monitoring unit that monitors an error in data transferred between the setting register 12 and the recovery register 14. That is, the setting register 12 and the recovery register 1
When the old data is transferred to and from the host 4, the normality of the transferred old data can be confirmed by parity check, CRC check, sum check, and the like.
【0020】又(7)制御部2と、被制御部の複数のブ
ロック1−1〜1−mの転送制御部15との間に、一斉
リカバリ復帰指示を転送する信号線を設けることができ
る。即ち、新規データの書込異常時に、リカバリレジス
タ14から設定レジスタ12に旧データを戻す処理を一
斉に行わせることができる。(7) A signal line for transferring a simultaneous recovery return instruction can be provided between the control unit 2 and the transfer control units 15 of the plurality of blocks 1-1 to 1-m of the controlled unit. . In other words, the process of returning the old data from the recovery register 14 to the setting register 12 can be performed at the same time when the writing of new data is abnormal.
【0021】[0021]
【発明の実施の形態】図1は本発明の第1の実施の形態
の説明図であり、1−1〜1−mは被制御部のブロッ
ク、2は制御部、3はプロセッサ(CPU)、4は上位
制御装置、5はバス、11はインタフェース部(I
F)、12は設定レジスタ、13は処理部、14はリカ
バリレジスタ、15は転送制御部であり、従来例と同様
に、入力データDinに対して各ブロック1−1〜1−
mの処理部13に於いて順次一連の処理を施して出力デ
ータDoutとするものである。又太線の経路が設定レ
ジスタ12に対するデータの転送経路の概要を示す。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory diagram of a first embodiment of the present invention, wherein 1-1 to 1-m are blocks of a controlled unit, 2 is a control unit, and 3 is a processor (CPU). 4 is a host controller, 5 is a bus, and 11 is an interface unit (I
F) and 12 are setting registers, 13 is a processing unit, 14 is a recovery register, and 15 is a transfer control unit. As in the conventional example, blocks 1-1 to 1--1 are used for input data Din.
The m processing unit 13 sequentially performs a series of processes to obtain output data Dout. A bold line indicates an outline of a data transfer path to the setting register 12.
【0022】この実施の形態は、従来例のブロックに対
して、リカバリレジスタ14と転送制御部15とを設け
た構成に相当し、転送制御部15は、制御部2のプロセ
ッサ3からの指示に従って、設定レジスタ12とリカバ
リレジスタ14との間で旧データの転送制御を行うもの
である。又各ブロック1−1〜1−mは、前述のよう
に、例えば、STM−Nの入力データDinのオーバー
ヘッドの各種類対応のバイトについてそれぞれ分担して
処理する構成とすることができる。従って、各ブロック
1−1〜1−mの設定レジスタ12に設定するデータ
は、ブロック1−1〜1−m対応に異なる場合が多く、
一般的には共通化は困難である。その為に、従来例に於
いても、ブロック対応に設定レジスタに対するデータの
書込みを行う構成となっている。This embodiment corresponds to a configuration in which a recovery register 14 and a transfer control unit 15 are provided for a conventional block, and the transfer control unit 15 responds to an instruction from the processor 3 of the control unit 2. , And transfer control of old data between the setting register 12 and the recovery register 14. As described above, each of the blocks 1-1 to 1-m can be configured to, for example, share and process bytes corresponding to each type of overhead of the input data Din of the STM-N. Therefore, the data set in the setting register 12 of each of the blocks 1-1 to 1-m often differs depending on the blocks 1-1 to 1-m.
Generally, commonality is difficult. For this reason, the conventional example has a configuration in which data is written to the setting register corresponding to each block.
【0023】図2は本発明の第1の実施の形態の正常時
のシーケンス説明図であり、上位制御装置4、制御部2
のプロセッサ(CPU)3、被制御部のブロック1−1
〜1−mについて示し、各ブロック1−1〜1−mの設
定レジスタ12に設定したデータを変更する場合、入力
データDinの処理を中止した状態に於いて、上位制御
装置4から制御部2のプロセッサ3に変更要求を入力す
る。プロセッサ3は、複数のブロック1−1〜1−mの
中の例えばブロック1−1を指定して、リカバリ転送指
示を行う。FIG. 2 is an explanatory diagram of a sequence in a normal state according to the first embodiment of the present invention.
Processor (CPU) 3 and block 1-1 of the controlled unit
When the data set in the setting register 12 of each of the blocks 1-1 to 1-m is changed, the processing of the input data Din is stopped, and the host controller 4 The processor 3 inputs a change request to the processor 3. The processor 3 designates, for example, the block 1-1 among the plurality of blocks 1-1 to 1-m and issues a recovery transfer instruction.
【0024】被制御部のブロック1−1では、このリカ
バリ転送指示が、バス5とインタフェース部11とを介
して転送制御部15に入力される。それにより、転送制
御部15は、設定レジスタ12の旧データをリカバリレ
ジスタ14に転送する。制御部2のプロセッサ3は、リ
カバリ転送指示を送出後、リカバリレジスタ14への旧
データの転送が終了する時間後に、或いは、転送終了通
知を受信した後に、新規データ書込指示を送出し、且つ
新規データを送出する。In the block 1-1 of the controlled unit, this recovery transfer instruction is input to the transfer control unit 15 via the bus 5 and the interface unit 11. Thereby, the transfer control unit 15 transfers the old data of the setting register 12 to the recovery register 14. The processor 3 of the control unit 2 sends a new data write instruction after sending the recovery transfer instruction, after the time when the transfer of the old data to the recovery register 14 ends, or after receiving the transfer end notification, and Send out new data.
【0025】この新規データをバス5とインタフェース
部11とを介して設定レジスタ12に入力し、設定レジ
スタ12に新規データを書込む。この書込終了直後に、
制御部2のプロセッサ3から新規データ読出指示を送出
する。それにより、設定レジスタ12から新規データが
読出されてプロセッサ3に転送される。プロセッサ3に
於いては、保持している設定レジスタ12への書込新規
データと、書込終了後の設定レジスタ12からの読出新
規データとを比較し、比較一致の場合は書込正常と判定
し、次のブロック1−2に対する新規データの書込処理
を開始する。The new data is input to the setting register 12 via the bus 5 and the interface unit 11, and the new data is written to the setting register 12. Immediately after this writing is completed,
A new data read instruction is sent from the processor 3 of the control unit 2. Thus, new data is read from the setting register 12 and transferred to the processor 3. The processor 3 compares the held new data to be written to the setting register 12 with the new data read from the setting register 12 after the writing is completed. Then, the process of writing new data to the next block 1-2 is started.
【0026】即ち、プロセッサ3は、リカバリ転送指
示、新規データ書込指示、新規データ送出、新規データ
読出指示を順次行って、設定レジスタ12への書込新規
データと設定レジスタ12からの読出新規データとを比
較し、書込正常か否かを判定し、書込正常の場合は、次
のブロックに対する新規データの書込処理を行う。そし
て、最後のブロック1−mに対する新規データの書込み
も正常に終了すると、制御部2のプロセッサ3から上位
制御装置4に対して変更終了を通知する。上位制御装置
4は、この変更終了通知により入力データDinの処理
を再開させる。That is, the processor 3 sequentially issues a recovery transfer instruction, a new data write instruction, a new data transmission, and a new data read instruction to write new data to the setting register 12 and read new data from the setting register 12. To determine whether or not the writing is normal. If the writing is normal, the new block is written to the next block. Then, when the writing of the new data to the last block 1-m is also completed normally, the processor 3 of the control unit 2 notifies the host controller 4 of the completion of the change. The host controller 4 restarts the processing of the input data Din based on the change end notification.
【0027】従って、制御部2に於いては、設定レジス
タ12から旧データをバス5を介して読込む必要がな
く、且つその旧データを保持する必要がないことによ
り、制御部2のプロセッサ3の処理負担が軽減し、且つ
制御部2の構成を小型化できることになる。Therefore, the control unit 2 does not need to read the old data from the setting register 12 via the bus 5 and does not need to retain the old data. Is reduced, and the configuration of the control unit 2 can be reduced in size.
【0028】図3は本発明の第1の実施の形態の異常時
のシーケンス説明図であり、設定レジスタ12に対する
新規データの書込処理については、図2に示す場合と同
様である。例えば、ブロック1−mに対する新規データ
書込みに於いて、プロセッサ2に於いて保持している設
定レジスタ12への書込新規データと、書込終了後の設
定レジスタ12からの読出新規データとを比較した時
に、比較不一致で書込異常と判定すると、制御部2のプ
ロセッサ3は、複数のブロック1−1〜1−mに対して
順次リカバリ復帰指示を送出する。FIG. 3 is an explanatory diagram of a sequence when an abnormality occurs in the first embodiment of the present invention. The process of writing new data to the setting register 12 is the same as that shown in FIG. For example, in writing new data to the block 1-m, new data written to the setting register 12 held in the processor 2 is compared with new data read from the setting register 12 after the writing is completed. At this time, when it is determined that the writing is abnormal due to the comparison mismatch, the processor 3 of the control unit 2 sequentially sends a recovery return instruction to the plurality of blocks 1-1 to 1-m.
【0029】このリカバリ復帰指示を受信した転送制御
部15は、リカバリレジスタ14から設定レジスタ12
に旧データを転送して書込み、全ブロック1−1〜1−
mに対してリカバリ復帰指示を送出した後、制御部2の
プロセッサ3は、上位制御装置4に変更失敗を通知す
る。Upon receiving the recovery return instruction, the transfer control unit 15 sends the recovery register 14 to the setting register 12.
The old data is transferred and written to all blocks 1-1 to 1--1.
After sending the recovery return instruction to m, the processor 3 of the control unit 2 notifies the host controller 4 of the change failure.
【0030】従って、制御部2に於いては、書込異常を
判定した後、各ブロック1−1〜1−mにリカバリ復帰
指示を送出するだけで済むから、短時間で設定レジスタ
12に旧データを書込むことができる。又制御部2のプ
ロセッサ3の処理負担は、従来例のように、プロセッサ
3の制御によって順次旧データを転送して書込む場合に
比較して著しく処理負担を軽減することができる。Therefore, the control unit 2 only needs to send a recovery return instruction to each of the blocks 1-1 to 1-m after judging a write error. Data can be written. Further, the processing load on the processor 3 of the control unit 2 can be remarkably reduced as compared with the case where the old data is sequentially transferred and written under the control of the processor 3 as in the conventional example.
【0031】図4は本発明の第2の実施の形態の説明図
であり、図1と同一符号は同一部分を示し、16は監視
部である。なお、上位制御装置は図示を省略している。
この監視部16は、設定レジスタ12とリカバリレジス
タ14との間を、転送制御部15の制御によって旧デー
タを転送する過程に於いて、パリティチェック、CRC
によるチェック、サムチェック等のチェック処理を行う
機能を有するものである。FIG. 4 is an explanatory view of the second embodiment of the present invention. The same reference numerals as in FIG. 1 denote the same parts, and 16 denotes a monitoring unit. The upper control device is not shown.
The monitoring unit 16 performs a parity check, a CRC, and the like in the process of transferring old data between the setting register 12 and the recovery register 14 under the control of the transfer control unit 15.
Has a function of performing a check process such as a check, a sum check, and the like.
【0032】例えば、設定レジスタ12からリカバリレ
ジスタ14に旧データを直列的に転送して書込むもので
あるから、その過程に於いて監視部16はデータサムを
求めて記憶しておき、リカバリ復帰指示によってリカバ
リレジスタ14から設定レジスタ12に旧データを直列
的に転送して書込むものであるから、その過程に於いて
監視部16はデータサムを求めて、先に記憶しておいた
データサムと比較し、比較一致の場合は、転送した旧デ
ータは正常と判定することができる。又比較不一致の場
合は、設定レジスタ12に戻した旧データは異常と判定
して、制御部2のプロセッサ3に異常通知を行う。For example, since the old data is serially transferred from the setting register 12 to the recovery register 14 and written, the monitoring unit 16 obtains and stores a data sum in the process, and in response to the recovery return instruction, Since the old data is serially transferred from the recovery register 14 to the setting register 12 and written, the monitoring unit 16 obtains a data sum in the process and compares it with the previously stored data sum. In the case of a comparison match, the transferred old data can be determined to be normal. If the comparisons do not match, the old data returned to the setting register 12 is determined to be abnormal, and the processor 3 of the control unit 2 is notified of the abnormality.
【0033】又設定レジスタ12に書込まれたデータに
パリティビットが付加されている場合は、リカバリレジ
スタ14に転送して書込む時に、監視部16はパリティ
チェックを行い、又リカバリレジスタ14から設定レジ
スタ12に転送して書込む時にもパリティチェックを行
い、パリティ異常の場合は、制御部2のプロセッサ3に
異常通知を行うことになる。When a parity bit is added to the data written in the setting register 12, the monitoring unit 16 performs a parity check when transferring the data to the recovery register 14 and writing the data. A parity check is also performed when the data is transferred to the register 12 and written. If the parity is abnormal, the processor 3 of the control unit 2 is notified of the abnormality.
【0034】又パリティビットが付加されていないデー
タの場合は、設定レジスタ12からリカバリレジスタ1
4にデータを転送する過程に於いて監視部16でパリテ
ィ演算を行い、そのパリティビットを付加してリカバリ
レジスタ14に書込み、リカバリレジスタ14から設定
レジスタ12に転送して書込む時に、監視部16に於い
てパリティチェックを行い、且つパリティビットを削除
して設定レジスタ12に書込むことができる。この場合
もパリティ異常の場合に、制御部2のプロセッサ3に異
常通知を行うことになる。又前述と同様にCRC演算に
よりチェックすることもできる。In the case of data to which a parity bit is not added, the setting register 12 sends the recovery register 1
In the process of transferring the data to the H.4, the monitoring unit 16 performs a parity operation, writes the parity bit with the parity bit added to the recovery register 14, and transfers the data from the recovery register 14 to the setting register 12 for writing. , A parity check can be performed, and the parity bit can be deleted and written to the setting register 12. Also in this case, in the case of a parity error, an error is notified to the processor 3 of the control unit 2. Also, it can be checked by CRC calculation in the same manner as described above.
【0035】図5は本発明の第2の実施の形態の正常時
のシーケンス説明図であり、上位制御装置、制御部2の
プロセッサ(CPU)3、被制御部のブロック1−1〜
1−mについて示し、各ブロック1−1〜1−mの設定
レジスタ12に設定したデータを変更する場合、入力デ
ータDinの処理を中止した状態に於いて、上位制御装
置から制御部2のプロセッサ3に変更要求を入力する。
プロセッサ3は、複数のブロック1−1〜1−mの中の
例えばブロック1−1を指定して、リカバリ転送指示を
行う。FIG. 5 is an explanatory diagram of a sequence in a normal state according to the second embodiment of the present invention, in which the host controller, the processor (CPU) 3 of the control unit 2, and the blocks 1-1 to 1-1 of the controlled unit.
1-m, when the data set in the setting register 12 of each of the blocks 1-1 to 1-m is changed, the processing of the input data Din is stopped and the processor of the control unit 2 Enter the change request in 3.
The processor 3 designates, for example, the block 1-1 among the plurality of blocks 1-1 to 1-m and issues a recovery transfer instruction.
【0036】被制御部のブロック1−1では、このリカ
バリ転送指示が、バス5とインタフェース部11とを介
して転送制御部15に入力される。それにより、転送制
御部15は、設定レジスタ12の旧データをリカバリレ
ジスタ14に転送する。この時、監視部16により転送
データを監視する。又制御部2のプロセッサ3は、リカ
バリ転送指示を送出後、リカバリレジスタ14への旧デ
ータの転送が終了する時間後に、或いは、転送終了通知
を受信した後に、新規データ書込指示を送出し、且つ新
規データを送出する。In the block 1-1 of the controlled unit, the recovery transfer instruction is input to the transfer control unit 15 via the bus 5 and the interface unit 11. Thereby, the transfer control unit 15 transfers the old data of the setting register 12 to the recovery register 14. At this time, the monitoring unit 16 monitors the transfer data. After sending the recovery transfer instruction, the processor 3 of the control unit 2 sends out a new data write instruction after the time when the transfer of the old data to the recovery register 14 ends, or after receiving the transfer end notification, And it sends out new data.
【0037】この新規データをバス5とインタフェース
部11とを介して設定レジスタ12に入力し、設定レジ
スタ12に新規データを書込む。この書込終了直後に、
制御部2のプロセッサ3から新規データ読出指示を送出
する。それにより、設定レジスタ12から新規データが
読出されてプロセッサ3に転送される。プロセッサ3に
於いては、保持している設定レジスタ12への書込新規
データと、書込終了後の設定レジスタ12からの読出新
規データとを比較し、比較一致の場合は書込正常と判定
し、次のブロック1−2に対する新規データの書込処理
を開始する。The new data is input to the setting register 12 via the bus 5 and the interface unit 11, and the new data is written to the setting register 12. Immediately after this writing is completed,
A new data read instruction is sent from the processor 3 of the control unit 2. Thus, new data is read from the setting register 12 and transferred to the processor 3. The processor 3 compares the held new data to be written to the setting register 12 with the new data read from the setting register 12 after the writing is completed. Then, the process of writing new data to the next block 1-2 is started.
【0038】前述のように、プロセッサ3は、リカバリ
転送指示、新規データ書込指示、新規データ送出、新規
データ読出指示を順次行って、設定レジスタへの書込新
規データと設定レジスタからの読出新規データとを比較
し、書込正常か否かを判定し、書込正常の場合は、次の
ブロックに対する新規データの書込処理を行う。そし
て、最後のブロック1−mに対する新規データの書込み
も正常に終了すると、制御部2のプロセッサ3から上位
制御装置に対して変更終了を通知する。上位制御装置
は、この変更終了通知により入力データDinの処理を
再開させる。As described above, the processor 3 sequentially issues a recovery transfer instruction, a new data write instruction, a new data transmission, and a new data read instruction to write new data to the setting register and read new data from the setting register. By comparing the data with the data, it is determined whether or not the writing is normal. If the writing is normal, the new data is written to the next block. When the writing of the new data to the last block 1-m is completed normally, the processor 3 of the control unit 2 notifies the host controller of the change completion. The host controller restarts the processing of the input data Din based on the change end notification.
【0039】図6は本発明の第2の実施の形態の異常時
のシーケンス説明図であり、設定レジスタ12に対する
新規データの書込処理については、図5に示す場合と同
様である。例えば、ブロック1−mに対する新規データ
書込みに於いて、プロセッサ2に於いて保持している設
定レジスタ12への書込新規データと、書込終了後の設
定レジスタ12からの読出新規データとを比較した時
に、比較不一致で書込異常と判定すると、制御部2のプ
ロセッサ3は、新規データの書込終了ブロックと書込異
常発生ブロックとに対してリカバリ復帰指示を送出す
る。前述のように、最後のブロック1−mに於いて書込
異常が発生した場合は、複数の全ブロック1−1〜1−
mに対して順次リカバリ復帰指示を送出することにな
る。FIG. 6 is an explanatory diagram of a sequence at the time of an abnormality according to the second embodiment of the present invention. The process of writing new data to the setting register 12 is the same as that shown in FIG. For example, in writing new data to the block 1-m, new data written to the setting register 12 held in the processor 2 is compared with new data read from the setting register 12 after the writing is completed. At this time, if it is determined that there is a write error due to the comparison mismatch, the processor 3 of the control unit 2 sends a recovery return instruction to the new data write end block and the write error occurrence block. As described above, when a write error occurs in the last block 1-m, a plurality of all blocks 1-1 to 1-l
m, a recovery return instruction is sequentially transmitted.
【0040】このリカバリ復帰指示を受信した転送制御
部15は、リカバリレジスタ14から設定レジスタ12
に旧データを転送して書込む。このデータ転送過程に於
いて、監視部16は転送データの監視を行い、パリティ
チェック異常等の異常検出の場合は、制御部2のプロセ
ッサ3に異常通知を行う。又転送データの異常が検出さ
れない場合は、全ブロック1−1〜1−mに対して順次
リカバリ復帰指示を送出し、制御部2のプロセッサ3
は、上位制御装置に対して変更失敗を通知する。又リカ
バリ復帰指示によるリカバリ処理中に、前述のような転
送データの異常を検出し、プロセッサ3に異常通知を行
った場合、異常終了として保守者にアラーム通知を行う
か、又は制御部2のプロセッサ3から、再度新規データ
或いは旧データを順次ブロック1−1〜1−mの設定レ
ジスタ12に書込む処理を行うことができる。即ち、リ
トライ処理を行うことができる。The transfer control unit 15 having received the recovery return instruction sends the recovery register 14 the setting register 12
Transfer and write old data to In this data transfer process, the monitoring unit 16 monitors the transfer data, and when an error such as a parity check error is detected, notifies the processor 3 of the control unit 2 of an error. If no abnormality is detected in the transfer data, a recovery recovery instruction is sequentially sent to all blocks 1-1 to 1-m, and the processor 3 of the control unit 2
Notifies the host controller of the change failure. Further, during the recovery process according to the recovery return instruction, if the above-described abnormality of the transfer data is detected and the abnormality is notified to the processor 3, the maintenance person is notified of the abnormality as an abnormal end or the processor of the control unit 2 is notified. From 3, the process of sequentially writing new data or old data into the setting registers 12 of the blocks 1-1 to 1-m can be performed. That is, a retry process can be performed.
【0041】図7は本発明の第3の実施の形態の説明図
であり、図1と同一符号は同一部分を示し、20は信号
線である。この信号線20は、制御部2のプロセッサ3
から各ブロック1−1〜1−mの転送制御部15に一斉
リカバリ復帰指示を行う為のものである。そして、上位
制御装置からの変更要求による設定レジスタ12に対す
る新規データの書込みが正常に行われる場合は、図2に
示すシーケンスに従って行われる。FIG. 7 is an explanatory view of the third embodiment of the present invention. The same reference numerals as in FIG. 1 denote the same parts, and reference numeral 20 denotes a signal line. The signal line 20 is connected to the processor 3 of the control unit 2.
To issue a simultaneous recovery return instruction to the transfer control unit 15 of each of the blocks 1-1 to 1-m. When the new data is normally written in the setting register 12 in response to the change request from the higher-level control device, the writing is performed according to the sequence shown in FIG.
【0042】図8は本発明の第3の実施の形態の異常時
のシーケンス説明図であり、上位制御装置からの変更要
求に従って新規データを設定レジスタ12に書込む過程
に於いて、ブロック1−mに対する新規データの書込時
に異常が発生した場合を示し、プロセッサ3に於いて保
持しているブロック1−mの設定レジスタ12への書込
新規データと、新規データを書込んだ後の設定レジスタ
12からの読出新規データとを比較し、比較不一致によ
り書込異常と判定すると、プロセッサ3は、信号線20
を介して全ブロック1−1〜1−mに対して一斉リカバ
リ復帰指示を送出し、上位制御装置に対して変更失敗を
通知する。FIG. 8 is an explanatory diagram of a sequence at the time of abnormality according to the third embodiment of the present invention. In the process of writing new data to the setting register 12 in accordance with a change request from a higher-level control device, block 1- This indicates that an error has occurred during the writing of new data to m, the new data to be written to the setting register 12 of the block 1-m held in the processor 3, and the setting after writing the new data. The processor 3 compares the read new data from the register 12 with the new data, and determines that the writing is abnormal due to the comparison mismatch.
, And sends a simultaneous recovery return instruction to all blocks 1-1 to 1-m to notify the host controller of the change failure.
【0043】信号線20を介して一斉リカバリ復帰指示
が入力された転送制御部15は、リカバリレジスタ14
の旧データを設定レジスタ12に転送して書込みを行
う。従って、制御部2のプロセッサ3は、書込異常時に
一斉リカバリ復帰指示を送出するだけで済むから、処理
負担が著しく低減され、又全ブロック1−1〜1−mに
於けるリカバリ処理が並行して行われるから、短時間で
済む利点がある。従って、設定レジスタ12に対する新
規データの書込時に、失敗したとしても、入力データD
inの処理の中止時間を短縮することができる。The transfer control unit 15 to which the simultaneous recovery return instruction has been input via the signal line 20
Is transferred to the setting register 12 for writing. Therefore, the processor 3 of the control unit 2 only needs to send the simultaneous recovery return instruction at the time of the writing error, so that the processing load is remarkably reduced, and the recovery processing in all the blocks 1-1 to 1-m is performed in parallel. There is an advantage that it can be completed in a short time. Therefore, even if it fails when writing new data to the setting register 12, the input data D
The stop time of the processing of “in” can be reduced.
【0044】図9は本発明の第4の実施の形態の説明図
であり、図4と同一符号は同一部分を示し、20は信号
線である。この信号線20は、図7に示す場合と同様
に、制御部2のプロセッサ3から各ブロック1−1〜1
−mの転送制御部15に一斉リカバリ復帰指示を行う為
のものである。そして、上位制御装置からの変更要求に
よる設定レジスタ12に対する新規データの書込みが正
常に行われる場合は、図4に示すシーケンスに従って行
われる。又監視部16により、設定レジスタ12とリカ
バリレジスタ14との間の転送データの監視が行われ
る。FIG. 9 is an explanatory diagram of the fourth embodiment of the present invention. The same reference numerals as in FIG. 4 denote the same parts, and reference numeral 20 denotes a signal line. This signal line 20 is sent from the processor 3 of the control unit 2 to each of the blocks 1-1 to 1 as in the case shown in FIG.
This is for instructing the −m transfer control unit 15 to return to the simultaneous recovery. When the new data is normally written in the setting register 12 in response to the change request from the higher-level control device, the writing is performed according to the sequence shown in FIG. The monitoring unit 16 monitors the transfer data between the setting register 12 and the recovery register 14.
【0045】図10は本発明の第4の実施の形態の異常
時のシーケンス説明図であり、上位制御装置からの変更
要求に従って新規データを設定レジスタ12に書込む過
程に於いて、ブロック1−mに対する新規データの書込
時に異常が発生した場合を示し、プロセッサ3に於いて
保持しているブロック1−mの設定レジスタ12への書
込新規データと、書込終了後にその設定レジスタ12か
ら読出した新規データとを比較し、比較不一致により書
込異常と判定すると、図8に示す場合と同様に、プロセ
ッサ3は、信号線20を介して全ブロック1−1〜1−
mに対して一斉リカバリ復帰指示を送出し、上位制御装
置に対して変更失敗を通知する。FIG. 10 is an explanatory diagram of a sequence at the time of an abnormality according to the fourth embodiment of the present invention. In the process of writing new data to the setting register 12 in accordance with a change request from a higher-level control device, block 1- This indicates a case where an abnormality has occurred during writing of new data to m. New data to be written to the setting register 12 of the block 1-m held in the processor 3 When the comparison is made with the read new data and it is determined that the writing is abnormal due to the comparison inconsistency, the processor 3 transmits all the blocks 1-1 to 1--1 through the signal line 20 as in the case shown in FIG.
m, a simultaneous recovery return instruction is sent out, and a change failure is notified to the host controller.
【0046】信号線20を介して一斉リカバリ復帰指示
が入力された転送制御部15は、リカバリレジスタ14
の旧データを設定レジスタ12に転送して書込みを行
う。この転送データを監視部16がパリティチェック等
により監視し、異常検出時はプロセッサ3に異常検出を
通知する。制御部2のプロセッサ3は、新規データの書
込異常時に一斉リカバリ復帰指示を送出するだけで済む
から、処理負担が著しく低減され、又全ブロック1−1
〜1−mに於けるリカバリ処理が並行して行われるか
ら、短時間で済む利点があり、且つリカバリ処理による
旧データの信頼性を維持することができる。The transfer control unit 15 to which the simultaneous recovery return instruction has been input via the signal line 20
Is transferred to the setting register 12 for writing. The transfer data is monitored by the monitoring unit 16 by a parity check or the like, and when an abnormality is detected, the processor 3 is notified of the abnormality. The processor 3 of the control unit 2 only needs to send a simultaneous recovery return instruction when writing of new data is abnormal, so that the processing load is remarkably reduced, and all blocks 1-1.
Since the recovery processing in .about.1-m is performed in parallel, there is an advantage that the processing can be performed in a short time, and the reliability of the old data by the recovery processing can be maintained.
【0047】本発明は、前述の各実施の形態にのみ限定
されるものではなく、種々付加変更することができるも
のであり、又入力データDinとしてSTM−Nを例と
して示しているが、他の各種の形式のデータに対して一
連の処理を施す場合にも適用することができる。The present invention is not limited to the above-described embodiments, but can be variously added and changed. In addition, although STM-N is shown as an example of the input data Din, the present invention is not limited to this. The present invention can also be applied to a case where a series of processing is performed on data in various formats.
【0048】[0048]
【発明の効果】以上説明したように、本発明は、入力デ
ータDinに対して一連の処理を施す複数のブロック1
−1〜1−mからなる被制御部に、制御部2から各種の
データを設定するデータ設定方法及びこのデータ設定方
法を適用したデータ処理装置であって、各ブロック1−
1〜1−mに設定レジスタ12と共にリカバリレジスタ
14と転送制御部15とを設けて、制御部2から新規デ
ータを設定レジスタ12に設定する時に、設定レジスタ
12の旧データを、転送制御部15の制御によってリカ
バリレジスタ14に転送して、制御部2から新規データ
を転送して設定レジスタ12に書込み、この設定レジス
タ12から新規データを読出して、制御部2に於いて保
持している設定レジスタ12への書込新規データと、書
込終了後の設定レジスタ12からの読出新規データとを
比較して、新規データの書込正常か否かを判定するもの
であり、新規データ書込時に旧データを制御部2へ転送
して保持する必要がないことから、制御部2の構成の小
型化を図ると共に、制御部2のプロセッサ3の処理負担
を軽減できる利点がある。As described above, according to the present invention, a plurality of blocks 1 for performing a series of processing on input data Din are provided.
A data setting method for setting various data from the control unit 2 to a controlled unit consisting of -1 to 1-m, and a data processing apparatus to which the data setting method is applied, wherein each block 1-m
1 to 1-m, a recovery register 14 and a transfer control unit 15 are provided together with the setting register 12, and when the control unit 2 sets new data in the setting register 12, the old data of the setting register 12 is transferred to the transfer control unit 15. Is transferred to the recovery register 14, the new data is transferred from the control unit 2 and written to the setting register 12, the new data is read from the setting register 12, and the setting register stored in the control unit 2 is stored. The new data to be written into the register 12 is compared with the new data read from the setting register 12 after the writing is completed to determine whether the writing of the new data is normal or not. Since there is no need to transfer data to the control unit 2 and hold it, the size of the control unit 2 can be reduced, and the processing load on the processor 3 of the control unit 2 can be reduced. A.
【0049】又制御部2に於いて、設定レジスタ12へ
の書込新規データと設定レジスタ12からの読出新規デ
ータとを比較し、比較不一致により書込異常と判定した
時に、転送制御部15にリカバリ復帰指示を与えるだけ
で、リカバリレジスタ14の旧データを設定レジスタ1
2に転送して書込むことができるから、制御部2のプロ
セッサ3の処理負担を増加することなく、新規データ書
込時の書込異常の場合のリカバリ処理を迅速に行うこと
が可能となり、入力データDinの処理の中止期間を短
縮することができる利点がある。The control unit 2 compares the new data to be written to the setting register 12 with the new data to be read from the setting register 12. By simply giving a recovery return instruction, the old data of the recovery register 14 is set to the setting register 1
2, it is possible to quickly perform a recovery process in the case of a writing error at the time of writing new data without increasing the processing load on the processor 3 of the control unit 2, and There is an advantage that the suspension period of the processing of the input data Din can be shortened.
【0050】又設定レジスタ12とリカバリレジスタ1
4との間の旧データの転送に於いて、その旧データに対
するパリティチェック,CRCチェック,サムチェック
等により監視を行わせることにより、書込異常時のリカ
バリ処理後の旧データの信頼性を確保することができる
利点がある。The setting register 12 and the recovery register 1
The reliability of the old data after recovery processing in the event of a write error is ensured by monitoring the old data by parity check, CRC check, sum check, etc. in the transfer of the old data to the old data. There are advantages that can be.
【0051】又一斉リカバリ復帰指示を、制御部2から
信号線を介して全ブロック1−1〜1−mの転送制御部
15に同時的に加えて、リカバリ処理を全ブロック1−
1〜1−mに於いて並行して実行する場合は、新規デー
タの書込異常時の制御部2のプロセッサ3の処理負担を
著しく軽減することができると共に、リカバリ処理時間
を短縮することができる利点がある。A simultaneous recovery return instruction is simultaneously applied from the control unit 2 to the transfer control units 15 of all the blocks 1-1 to 1-m via a signal line, and the recovery processing is performed for all the blocks 1 to 1-m.
In the case where the processing is performed in parallel in steps 1 to 1-m, the processing load on the processor 3 of the control unit 2 at the time of an error in writing new data can be significantly reduced, and the recovery processing time can be shortened. There are advantages that can be done.
【図1】本発明の第1の実施の形態の説明図である。FIG. 1 is an explanatory diagram of a first embodiment of the present invention.
【図2】本発明の第1の実施の形態の正常時のシーケン
ス説明図である。FIG. 2 is an explanatory diagram of a sequence in a normal state according to the first embodiment of this invention;
【図3】本発明の第1の実施の形態の異常時のシーケン
ス説明図である。FIG. 3 is a diagram illustrating a sequence when an abnormality occurs according to the first embodiment of this invention.
【図4】本発明の第2の実施の形態の説明図である。FIG. 4 is an explanatory diagram of a second embodiment of the present invention.
【図5】本発明の第2の実施の形態の正常時のシーケン
ス説明図である。FIG. 5 is an explanatory diagram of a sequence in a normal state according to the second embodiment of this invention.
【図6】本発明の第2の実施の形態の異常時のシーケン
ス説明図である。FIG. 6 is a sequence explanatory diagram at the time of abnormality according to the second embodiment of this invention.
【図7】本発明の第3の実施の形態の説明図である。FIG. 7 is an explanatory diagram of a third embodiment of the present invention.
【図8】本発明の第3の実施の形態の異常時のシーケン
ス説明図である。FIG. 8 is a diagram illustrating a sequence when an abnormality occurs according to the third embodiment of this invention.
【図9】本発明の第4の実施の形態の説明図である。FIG. 9 is an explanatory diagram of a fourth embodiment of the present invention.
【図10】本発明の第4の実施の形態の異常時のシーケ
ンス説明図である。FIG. 10 is a sequence explanatory diagram at the time of abnormality according to the fourth embodiment of the present invention.
【図11】従来例の説明図である。FIG. 11 is an explanatory diagram of a conventional example.
【図12】従来例の正常時のシーケンス説明図である。FIG. 12 is an explanatory diagram of a sequence in a normal state in a normal state.
【図13】従来例の異常時のシーケンス説明図である。FIG. 13 is an explanatory diagram of a sequence at the time of abnormality in the conventional example.
1−1〜1−m ブロック 2 制御部 3 プロセッサ(CPU) 4 上位制御装置 5 バス 11 インタフェース部(IF) 12 設定レジスタ 13 処理部 14 リカバリレジスタ 15 転送制御部 1-1 to 1-m block 2 control unit 3 processor (CPU) 4 higher-level control device 5 bus 11 interface unit (IF) 12 setting register 13 processing unit 14 recovery register 15 transfer control unit
Claims (7)
り一連の処理を順次施す被制御部の前記各ブロックに、
制御部から前記一連の処理を施す為のデータを設定する
データ設定方法に於いて、 前記制御部から前記複数のブロックに新規データを設定
する時に、該制御部からの転送指示により、設定レジス
タの旧データをリカバリレジスタに転送させた後、該設
定レジスタに前記制御部からの新規データを書込み、次
に該新規データを設定レジスタから読出して、該設定レ
ジスタへの書込新規データと該設定レジスタからの読出
新規データとを比較して、新規データの書込正常か書込
異常かを判定する過程を含むことを特徴とするデータ設
定方法。1. A method according to claim 1, wherein each block of the controlled unit sequentially performs a series of processes on a plurality of blocks with respect to input data.
In a data setting method for setting data for performing the series of processes from a control unit, when setting new data in the plurality of blocks from the control unit, a transfer instruction from the control unit causes a setting register to be set. After the old data is transferred to the recovery register, new data from the control unit is written to the setting register, and the new data is read from the setting register, and the new data written to the setting register and the setting register are written. A data setting method comprising the step of comparing read new data from a new data to determine whether writing of new data is normal or abnormal.
前記設定レジスタからの読出新規データとを比較し、比
較不一致の時は書込異常と判定して、前記制御部から前
記複数のブロックに対して、前記リカバリレジスタに保
持された旧データを前記設定レジスタに転送して書込む
リカバリ復帰処理を行わせる過程を含むことを特徴とす
る請求項1記載のデータ設定方法。2. A new data to be written to the setting register is compared with new data to be read from the setting register. If the two data do not match, it is determined that a writing error has occurred. 2. The data setting method according to claim 1, further comprising a step of performing a recovery return process of transferring old data held in the recovery register to the setting register and writing the old data.
タとの間の旧データの転送時に、該旧データの転送誤り
を監視する過程を含むことを特徴とする請求項1又は2
記載のデータ設定方法。3. The method according to claim 1, further comprising the step of monitoring a transfer error of the old data when transferring the old data between the setting register and the recovery register.
Data setting method described.
前記設定レジスタからの読出新規データとを比較し、比
較不一致で書込異常と判定した時に、前記制御部から前
記複数のブロックに対して、一斉リカバリ復帰指示を信
号線を介して送出し、前記リカバリレジスタに保持され
た旧データを前記設定レジスタに転送して書込む過程を
含むことを特徴とする請求項1又は2又は3記載のデー
タ設定方法。4. The control unit compares the new data written to the setting register with the new data read from the setting register, and determines that the writing is abnormal due to a comparison mismatch. 4. The method according to claim 1, further comprising a step of transmitting a simultaneous recovery return instruction via a signal line, and transferring and writing old data held in the recovery register to the setting register. Data setting method.
り一連の処理を順次施す被制御部と、該被制御部の前記
複数のブロックに於ける処理を制御する為のデータを該
被制御部に設定する制御部とを含むデータ処理装置に於
いて、 前記複数のブロックは、 前記制御部からのデータを設定する設定レジスタと、 該設定レジスタとの間でデータを転送するリカバリレジ
スタと、 新規データ書込時に前記設定レジスタに設定された旧デ
ータを前記リカバリレジスタに転送し、且つ前記設定レ
ジスタに新規データを書込んだ後の判定処理により書込
異常と判定した時に、前記リカバリレジスタから前記設
定レジスタに旧データを転送して書込む制御を行う転送
制御部とを備えたことを特徴とするデータ処理装置。5. A controlled unit for sequentially performing a series of processing on input data by a plurality of blocks, and data for controlling processing of the controlled unit in the plurality of blocks is transmitted to the controlled unit. In the data processing device including a control unit for setting, the plurality of blocks include: a setting register for setting data from the control unit; a recovery register for transferring data between the setting register; When writing, the old data set in the setting register is transferred to the recovery register, and when it is determined that writing is abnormal by a determination process after writing new data to the setting register, the setting is performed from the recovery register. A data processing device comprising: a transfer control unit that controls transfer of old data to a register for writing.
タと前記リカバリレジスタとの間で転送するデータの誤
りを監視する監視部を備えたことを特徴とする請求項1
記載のデータ処理装置。6. The apparatus according to claim 1, wherein the plurality of blocks include a monitoring unit that monitors an error in data transferred between the setting register and the recovery register.
The data processing device according to claim 1.
のブロックの前記転送制御部との間に、一斉リカバリ復
帰指示を転送する信号線を設けたことを特徴とする請求
項5又は6記載のデータ処理装置。7. A signal line for transferring a simultaneous recovery return instruction is provided between the control unit and the transfer control units of the plurality of blocks of the controlled unit. 7. The data processing device according to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9199773A JPH1145189A (en) | 1997-07-25 | 1997-07-25 | Data setting method and data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9199773A JPH1145189A (en) | 1997-07-25 | 1997-07-25 | Data setting method and data processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1145189A true JPH1145189A (en) | 1999-02-16 |
Family
ID=16413383
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9199773A Withdrawn JPH1145189A (en) | 1997-07-25 | 1997-07-25 | Data setting method and data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1145189A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107122263A (en) * | 2017-05-15 | 2017-09-01 | 深圳市奇摩计算机有限公司 | Recover the method for Backup Data online and its realize system and alternate device |
| JP2020184650A (en) * | 2019-04-26 | 2020-11-12 | 株式会社デンソー | Relay device |
-
1997
- 1997-07-25 JP JP9199773A patent/JPH1145189A/en not_active Withdrawn
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107122263A (en) * | 2017-05-15 | 2017-09-01 | 深圳市奇摩计算机有限公司 | Recover the method for Backup Data online and its realize system and alternate device |
| CN107122263B (en) * | 2017-05-15 | 2020-09-29 | 深圳市奇摩计算机有限公司 | Method for restoring backup data on line, implementation system and backup device thereof |
| JP2020184650A (en) * | 2019-04-26 | 2020-11-12 | 株式会社デンソー | Relay device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20100241909A1 (en) | Fault-tolerant system | |
| JPH086910A (en) | Cluster computer system | |
| JPH10154085A (en) | System monitoring / control method using redundant monitoring / control processor and redundant monitoring / control processor system | |
| US20060075085A1 (en) | Method and a system for ensuring a bus and a control server | |
| JP3402733B2 (en) | Transmission equipment control system | |
| JPH0648822B2 (en) | Abnormality handling method in digital transmission system | |
| JPH1145189A (en) | Data setting method and data processing device | |
| JPH05181824A (en) | Data management method | |
| JP3127941B2 (en) | Redundant device | |
| JP2560875B2 (en) | Information processing system failure notification method | |
| US11507478B2 (en) | Method for operating a redundant automation system | |
| JP2001175545A (en) | Server system, fault diagnosing method, and recording medium | |
| JP4864755B2 (en) | Data processing system and diagnostic method | |
| KR100407706B1 (en) | Processor status recovery method after standby loading in ATM switch | |
| JP2580557B2 (en) | Test method and apparatus for distributed system | |
| JP2658813B2 (en) | I/O channel fault recovery device | |
| JP2652989B2 (en) | File transfer device | |
| JP3003629B2 (en) | Digital signal transmission circuit | |
| JPH11239197A (en) | Communication control device and communication control method | |
| US20090210610A1 (en) | Computer system, data relay device and control method for computer system | |
| JP2644571B2 (en) | Remote IPL control method | |
| JP3603956B2 (en) | Buffer management method for communication control unit | |
| JP2003203017A (en) | Data processing device that can continue processing with backup data | |
| JP2825464B2 (en) | Communication device | |
| JP2746201B2 (en) | Bus connection control method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20041005 |