JPS635647A - Synchronizing test method - Google Patents

Synchronizing test method

Info

Publication number
JPS635647A
JPS635647A JP61149236A JP14923686A JPS635647A JP S635647 A JPS635647 A JP S635647A JP 61149236 A JP61149236 A JP 61149236A JP 14923686 A JP14923686 A JP 14923686A JP S635647 A JPS635647 A JP S635647A
Authority
JP
Japan
Prior art keywords
module
synchronization
test
status
status data
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.)
Pending
Application number
JP61149236A
Other languages
Japanese (ja)
Inventor
Ikuo Hanajima
花島 育雄
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61149236A priority Critical patent/JPS635647A/en
Publication of JPS635647A publication Critical patent/JPS635647A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To continue testing even if processing lags owing to the detection of fault in one or both modules in some test step and to substantialy improve operability by conducting a test by acquiring synchronization. CONSTITUTION:When a master module side reads status data '01', said data '01' is temporarily stored in a register 32, and simultaneously a status register 41 on a normal module side is reset to set its content to '00'. According to an out instruction 11, the master module side transmits a status read command packet 51, and recognizes the reception of a status data packet 52 due to interruption, after which the received status data is read according to an in instruction 12. such procedures are repeated by monitoring a test interruption command from an operator until status data '01' showing the completion of synchronization is received. Thus acquiring synchronization between modules ends in such a way.

Description

【発明の詳細な説明】 技術分野 本発明は同期式試験方式に関し、特にパケット交換シス
テムにおけるプログラムによるモジュール対向同期式試
験方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to a synchronous test method, and more particularly to a program-based module-to-module synchronous test method in a packet switching system.

従来技術 従来、この種の試験においては、試験の最初にオペレー
タによる同期合せを行った後に、受信側モジュール側に
おいて一定期間以内に期待した試験データが送信側モジ
ュールから送信されてくるのを確認した後、続いて当該
受信側モジュールが送信モジュールとなって試験データ
の送信へ移るというぐあいに、逐次タイミングにより同
期を取りつつ試験を行うようになっている。
Conventional technology In the past, in this type of test, after synchronization was performed by the operator at the beginning of the test, the receiving module confirmed that the expected test data was transmitted from the transmitting module within a certain period of time. After that, the receiving module becomes a transmitting module and starts transmitting test data, and the test is performed while being synchronized by sequential timing.

かかる従来の同期式試験方式では、その都度期待した試
験データが受信されているか否かにより同期をとって試
験が行われる方式であるので、いずれか−方のモジュー
ルに障害が検出された場合、その障害処理のために同期
がずれることになり、以降の試験が続行不可能となって
操作性が極めて悪いという欠点がある。
In such conventional synchronous test methods, tests are performed in synchronization depending on whether or not the expected test data is received each time, so if a fault is detected in either module, The problem is that synchronization is lost due to failure handling, making it impossible to continue subsequent tests, resulting in extremely poor operability.

発明の目的 本発明の目的は、ある試験ステップにおいていずれかの
モジュールに障害が生じてその障害処理が遅れても、そ
の試験ステップ終了後には必ず同期が取れるようにし、
もって試験続行が容易に可能な同期式試験方式を提供す
ることである。
OBJECTS OF THE INVENTION An object of the present invention is to ensure that even if a fault occurs in any module during a certain test step and the processing of the fault is delayed, synchronization will always be achieved after the test step is completed;
Therefore, it is an object of the present invention to provide a synchronous test method that allows the test to be easily continued.

発明の構成 本発明によれば、共通バスを介して相互接続されたパケ
ット交換モジュールのうち1のモジュールには自モジュ
ールのステータス情報を設定するステータス情報格納手
段が、他のモジュールには前記1のモジュールのステー
タス情報格納手段の内容を読取る読取手段が夫々設けら
れてなるパケット交換システ奉におけるモジュール対向
同期試験方式であって、前記1のモジュールのステータ
ス情報格納手段に同期取り早漏完了を示す同期準備完了
情報を格納し、前記他のモジュールにおいて前記読取手
段によって前記同期準備完了情報が読取られたことを1
iIXすることにより、互いのモジュール間の同期を確
立せしめつつ対向試験を実行するようにしたことを特徴
とする同期式試験方式が得られる。
Structure of the Invention According to the present invention, one of the packet switching modules interconnected via a common bus has a status information storage means for setting the status information of the own module, and the other module has the status information storage means for setting the status information of the module itself. A module-to-module synchronization test method in a packet switching system comprising reading means for reading the contents of the status information storage means of the modules, the synchronization preparation indicating the completion of synchronization premature ejaculation to the status information storage means of the first module. 1. Store completion information, and indicate that the synchronization preparation completion information has been read by the reading means in the other module.
By using iIX, a synchronous test method is obtained, which is characterized in that opposing tests are executed while establishing synchronization between modules.

実施例 以下、図面を参照しつつ本発明の実施例について詳述す
る。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例の概念的ブロック図である。図
において、互いに同期式試験を行うパケット交換用の対
向モジュールがあり、これら対向モジュールとしては図
に明記する如くマスタモジュールと一般モジュールとさ
れている。各モジュールは、対向試験プログラムが夫々
格納された制御用ブOセッサ1,2と、マスクパケット
交換ユニット3.−般パケット交換ユニット4とを有す
る。マスクパケット交換ユニット3と一般パケット交換
ユニット4とは共通バス5により共通接続されており、
この共通バス5を介して対向試験が行われる。
FIG. 1 is a conceptual block diagram of an embodiment of the invention. In the figure, there are opposed modules for packet exchange that perform synchronous tests with each other, and these opposed modules are a master module and a general module, as clearly indicated in the figure. Each module includes a control processor 1, 2 in which a counter test program is stored, and a mask packet exchange unit 3. - general packet switching unit 4. The mask packet switching unit 3 and the general packet switching unit 4 are commonly connected by a common bus 5.
An opposing test is performed via this common bus 5.

一般パケット交換ユニット4には自モジュールのステー
タス情報を格納するステータスレジスタ41が設けられ
ており、制御用プロセッサ2からのアウト命令21によ
り任意のステータスデータを設定することが可能である
。また、制御用プロセッサ2からのイン命令22により
、このステータスレジスタ41の設定内容を読取り確認
可能である。
The general packet switching unit 4 is provided with a status register 41 for storing status information of its own module, and any status data can be set by an out command 21 from the control processor 2. Further, the setting contents of this status register 41 can be read and confirmed by the IN instruction 22 from the control processor 2.

マスクパケット交換ユニット3にはコマンドレジスタ3
1が設けられており、制御用プロセッサ1からのアウト
命令11により一般モジュールに対するステータスリー
ドコマンドパケット51を送出することができるように
なっている。更に、マスタモジュール用のステータスレ
ジスタ32が設けられており、先述したステータスリー
ドコマンドパケット51に応答して読取られた一般モジ
ュールのステータスレジスタ41のステータスデータ5
2を一時格納するためのものである。このステータスレ
ジスタ32の内容は制御プロセッサ1のイン命令12に
より読取り可能となっている。
The mask packet exchange unit 3 has a command register 3.
1 is provided so that a status read command packet 51 to the general module can be sent in response to an out command 11 from the control processor 1. Further, a status register 32 for the master module is provided, and the status data 5 of the status register 41 of the general module read in response to the status read command packet 51 mentioned above is provided.
This is for temporarily storing 2. The contents of this status register 32 can be read by the IN command 12 of the control processor 1.

尚、−般モジュールのステータスレジスタ41は、マス
タモジュールからのステータスリードコマンドパケット
51によりそのステータスデータ52が読取られると、
リセットされるようになっており、このリセット状態を
制御用プロセッサ2のイン命令22により読取ることに
よってマスタモジュール1によるステータスデータの読
取りが行われたかを知ることができる。尚、13は応答
受信を示している。
Note that when the status data 52 of the general module status register 41 is read by the status read command packet 51 from the master module,
By reading this reset state using the IN command 22 of the control processor 2, it is possible to know whether or not the status data has been read by the master module 1. Note that 13 indicates response reception.

第2図は第1図に示したブロックの動作を示すフローチ
ャートであり、(A)はマスタモジュール側同期取り処
理のフローチャート、(B)は−般モジュール側同期取
り処理のフローチャートである。−般モジュール側プロ
グラムはアウト命令21によって同期取り用ステータス
データ“”01”(16進数表示とする)をステータス
レジスタ41に設定する。このステータスデータは同期
取りの準備が完了したことを示す情報であり、他のステ
ータス情報と区別可能であれば“01″なるデータに限
定されるものではない。
FIG. 2 is a flowchart showing the operation of the blocks shown in FIG. 1, in which (A) is a flowchart of synchronization processing on the master module side, and (B) is a flowchart of synchronization processing on the general module side. - The general module side program sets synchronization status data ""01" (expressed in hexadecimal) in the status register 41 using the out instruction 21. This status data is information indicating that preparation for synchronization is complete. The status information is not limited to "01" as long as it can be distinguished from other status information.

マスタモジュール側からのこのステータスデータ゛°0
1″の読取りが行われると、このデータ” 01 ”は
レジスタ32に一時格納されると同時に、−般モジュー
ル側のステータスレジスタ41はリセットされてその内
容は“OO”となる。すなわち、−般モジュール側の制
御用プロセッサ4はイン命令22によりこのレジスタ4
1の内容が“OO″となることを常時監視しており、同
時にオペレータからの試験中断指示をも監視するのであ
る。
This status data from the master module side゛°0
1'' is read, this data "01" is temporarily stored in the register 32, and at the same time, the status register 41 on the -general module side is reset and its content becomes "OO". The control processor 4 on the module side reads this register 4 by the IN instruction 22.
It constantly monitors whether the content of 1 becomes "OO" and at the same time monitors the operator's instruction to interrupt the test.

マスタモジュール側では、アウト命令11によりステー
タスリードコマンドパケット51をも送出し、割込みに
よるステータスデータパケット52の受信を確認した後
、この受信したステータスデータをイン命令12により
読取る。これをオペレータからの試験中断指示を監視し
つつ同期取り完了準備を示すステータスデータ“01″
が受信されるまで繰返す。こうして互いのモジュール間
の同期取りが完了するのである。
On the master module side, the status read command packet 51 is also sent by the OUT command 11, and after confirming the reception of the status data packet 52 by the interrupt, the received status data is read by the IN command 12. Status data “01” indicates preparation for completion of synchronization while monitoring test interruption instructions from the operator.
Repeat until received. In this way, synchronization between the modules is completed.

第3図は各制御用プロセッサに格納される試験プログラ
ムの試験動作フロー図である。各々の試験プログラムが
起動されると、第2図(A)。
FIG. 3 is a test operation flowchart of the test program stored in each control processor. When each test program is started, FIG. 2(A).

(B)の動作手順に従って互いの同期を確立して1つの
試験ステップを実行する。夫々の試験ステップが終了す
ると、再び同期取りを行い、同期が確立したら次の試験
ステップを実行する。こうして試験ステップ毎にお互い
に同期を取りつつ対向試験を実行するものである。
One test step is executed by establishing mutual synchronization according to the operating procedure in (B). When each test step is completed, synchronization is performed again, and once synchronization is established, the next test step is executed. In this way, opposing tests are executed while synchronizing with each other for each test step.

発明の詳細 な説明した様に、本発明はお互いに同期を取りながら試
験を実行することにより、ある試験ステップにていずれ
か、あるいは両方のモジュールにおいて障害の検出によ
り処理が遅れても、その試験ステップ終了後には必ず同
期が取れるため、試験の続行が可能であり、よって従来
の方法に比して操作性が大幅に向上するという効果があ
る。
As described in detail, the present invention executes tests in synchronization with each other, so that even if processing is delayed due to the detection of a fault in one or both modules at a certain test step, the test can be performed in synchronization with each other. Since synchronization is always achieved after each step is completed, the test can be continued, which has the effect of greatly improving operability compared to conventional methods.

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

第1図は本発明の実施例のブロック図、第2図及び第3
図は本発明の実施例の動作フロー図である。 主要部分の符号の説明 1.2・・・・・・制御用プロセッサ 31.32.41・・・・・・レジスタくxスタtジュ
ール〉         く−散tジュール〉第3図 (A)             (B)第2図 (A) (B)
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 and FIG.
The figure is an operational flow diagram of an embodiment of the present invention. Explanation of symbols of main parts 1.2... Control processor 31.32.41... Register ) Figure 2 (A) (B)

Claims (1)

【特許請求の範囲】[Claims] 共通バスを介して相互接続されたパケット交換モジュー
ルのうち1のモジュールには自モジュールのステータス
情報を設定するステータス情報格納手段が、他のモジュ
ールには前記1のモジュールのステータス情報格納手段
の内容を読取る読取手段が夫々設けられてなるパケット
交換システムにおけるモジュール対向同期試験方式であ
つて、前記1のモジュールのステータス情報格納手段に
同期取り準備完了を示す同期準備完了情報を格納し、前
記他のモジュールにおいて前記読取手段によつて前記同
期準備完了情報が読取られたことを確認することにより
、互いのモジュール間の同期を確立せしめつつ対向試験
を実行するようにしたことを特徴とする同期式試験方式
Among the packet switching modules interconnected via a common bus, one module has a status information storage means for setting the status information of its own module, and the other module has a status information storage means for setting the status information of the first module. A module-to-module synchronization test method in a packet switching system in which reading means are respectively provided for reading, wherein synchronization preparation completion information indicating completion of synchronization preparation is stored in the status information storage means of the one module, and the other module A synchronous test method characterized in that, by confirming that the synchronization preparation completion information has been read by the reading means, a facing test is executed while establishing synchronization between mutual modules. .
JP61149236A 1986-06-25 1986-06-25 Synchronizing test method Pending JPS635647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61149236A JPS635647A (en) 1986-06-25 1986-06-25 Synchronizing test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61149236A JPS635647A (en) 1986-06-25 1986-06-25 Synchronizing test method

Publications (1)

Publication Number Publication Date
JPS635647A true JPS635647A (en) 1988-01-11

Family

ID=15470854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61149236A Pending JPS635647A (en) 1986-06-25 1986-06-25 Synchronizing test method

Country Status (1)

Country Link
JP (1) JPS635647A (en)

Similar Documents

Publication Publication Date Title
US4979108A (en) Task synchronization arrangement and method for remote duplex processors
JPH03204258A (en) Fault detection system, transmission line reconstitution system and communication system
CN109306875A (en) A kind of synchronous hot backup redundancy switching device of steam turbine DEH dual controller and method
US20030154288A1 (en) Server-client system and data transfer method used in the same system
JPS59172861A (en) Loop back control system
WO2010103562A1 (en) Information processing device, information processing device control method, and information processing device control program
JP2583602B2 (en) Debugging device in multiprocessor system
JPH0644093A (en) Redundant device switching method
JPH0375856A (en) Applied protocol machine testing system
CN113660132A (en) Method and device for monitoring and capturing real-time data
JPS62271153A (en) Diagnostic system for common bus structure
JPH0227843A (en) Programmable controller
JPS59148195A (en) Storage device refresh method
JP2880021B2 (en) Station number duplication state / connection order state confirmation method in programmable controller network system
JP2594848B2 (en) Data collection device
JPS63138848A (en) Network failure management method
JPH1023048A (en) Communication control method
JPH033054A (en) Method for preventing communication data from being missed
JPS62180454A (en) Collecting method for fault information for communication system
JPH04310154A (en) Recovery method for reception message
JPH10320307A (en) Remote I / O system
JPH0233219B2 (en)
JPS5952861B2 (en) Transfer device switching method for asynchronous processing system
JPH02288442A (en) Plural protocol controller
JPH05334211A (en) Fault recovery system during ending processing for relaying system