JPH0695990A - Method for testing network system - Google Patents

Method for testing network system

Info

Publication number
JPH0695990A
JPH0695990A JP4243192A JP24319292A JPH0695990A JP H0695990 A JPH0695990 A JP H0695990A JP 4243192 A JP4243192 A JP 4243192A JP 24319292 A JP24319292 A JP 24319292A JP H0695990 A JPH0695990 A JP H0695990A
Authority
JP
Japan
Prior art keywords
terminal
ring
address
joining
slave
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
JP4243192A
Other languages
Japanese (ja)
Inventor
Yoshifumi Baba
與志文 馬場
Isao Yoshino
勇夫 吉野
Masaru Tashiro
勝 田代
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.)
Hitachi Ltd
Hitachi Information Systems Ltd
Original Assignee
Hitachi Ltd
Hitachi Information Network 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 Hitachi Ltd, Hitachi Information Network Ltd filed Critical Hitachi Ltd
Priority to JP4243192A priority Critical patent/JPH0695990A/en
Publication of JPH0695990A publication Critical patent/JPH0695990A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the necessity of being conscious of terminal addresses and to improve the efficiency of a test by changing a terminal address if joining with a ring is impossible and executing operation for joining with the ring again until a terminal can join with the ring. CONSTITUTION:When joining with the ring abnormally ends due to the generation of an address overlap error or the like, a ring joining flag 480 is turned on. After executing a ring joining instruction, a ring joining part 412 checks the flag 480. When the flag 480 is turned on, the ring joining part 412 recognizes the failure of ring joining and turns off the flag 480. Then, whether ring joining succeeds or not, is judged, and in the case of success, a master terminal or a slave terminal is judged. When the joining fails, ring joining processing is executed again. Another terminal address is set up in a terminal address storing table 430 and the ring joining instruction is executed again. The operation is repeated until the terminal can join with the ring.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークシステム
の試験技術に関し、特にシステム内の端末間の対向負荷
テストなどに適用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test technique for a network system, and more particularly to a technique effectively applied to a counter load test between terminals in the system.

【0002】[0002]

【従来の技術】たとえば、従来のネットワークシステム
の試験方式としてネットワークに端末を接続してシステ
ムの診断を行う場合、テスト者はネットワークに接続さ
れている端末を起動し、テスト者により管理されている
端末のアドレスで端末をリングに加入させ、主端末、従
端末を意識して通信を行いシステムを診断する技術があ
った。
2. Description of the Related Art For example, when a terminal is connected to a network for system diagnosis as a conventional network system test method, a tester starts a terminal connected to the network and is managed by the tester. There is a technology for diagnosing the system by making a terminal join a ring with the address of the terminal and consciously communicating with the main terminal and the sub terminals.

【0003】[0003]

【発明が解決しようとする課題】ところが、前記のよう
な従来技術においては、テスト者が端末のアドレス、主
端末、従端末を意識せず通信を行うテストについては配
慮されていなかった。
However, in the prior art as described above, no consideration was given to the test in which the tester communicates without being aware of the address of the terminal, the main terminal and the slave terminal.

【0004】このため、小規模ネットワークシステムの
試験では、接続される端末の数も少なく、テスト者が管
理する主端末、従端末アドレス等の情報も少ないので問
題にはならなかったが、大規模ネットワークシステムの
試験では、接続される端末数、テスト者の管理する情
報、および端末立ち上げ時のオペレーション数も増え、
これに伴う入力ミスや重複アドレスエラー等が発生し端
末立ち上げ、テスト開始までに多大な工数を費やすとい
った欠点があった。
Therefore, in the test of the small-scale network system, the number of connected terminals is small, and the information of the main terminal, the slave terminal address, etc. managed by the tester is also small, which is not a problem, but it is large-scale. In the network system test, the number of connected terminals, the information managed by the tester, and the number of operations when starting up the terminal increased,
As a result, input errors, duplicate address errors, etc. occurred, and there was a drawback that a lot of man-hours were spent before starting the terminal and starting the test.

【0005】従って、ネットワークシステムの試験を効
率よく行うことができないという問題がある。
Therefore, there is a problem that the network system cannot be efficiently tested.

【0006】そこで、本発明の目的は、操作者による煩
雑な加入手続きを必要とすることなく、端末間の通信テ
ストが行えるネットワークシステムの試験方式を提供す
ることにある。
Therefore, an object of the present invention is to provide a test method for a network system which enables a communication test between terminals without requiring a complicated joining procedure by an operator.

【0007】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0008】[0008]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.

【0009】すなわち、リング上の伝送路に複数の端末
を接続して構成されるネットワークシステムにおいて、
端末が任意のアドレスで加入する際、リングに加入する
ことができなければ前記端末のアドレスを変更し、再度
リングに加入する動作をリングに加入するまで繰り返し
行う第1の手段と、端末のアドレスが主端末と決められ
たアドレスでリングに加入できれば主端末の機能、それ
以外のアドレスならば従端末としての機能を付与する第
2の手段と、主端末となったとき、リング内に加入して
きた端末のアドレスを登録しておく第3の手段と、主端
末となったとき、新規端末か、従来の端末かを認識する
第4の手段と、主端末となったとき、新規端末の場合は
自端末よりアドレス情報を返送する第5の手段と、従端
末のときリング加入時に自アドレスを主端末に送信し主
端末の持つ従端末のアドレス情報を登録する第6の手段
と、従端末のとき登録した前記アドレス情報により他の
端末と通信を行う第7の手段とを備えたものである。
That is, in a network system configured by connecting a plurality of terminals to a transmission line on a ring,
When a terminal joins with an arbitrary address, if the terminal cannot join the ring, the first means for changing the address of the terminal and repeating the operation of joining the ring again until joining the ring, and the address of the terminal Is the main terminal, if it can join the ring at the determined address, the second means for giving the function of the main terminal, and if it is any other address, the function as the slave terminal, and when it becomes the main terminal, it joins the ring. A third means for registering the address of the terminal, a fourth means for recognizing whether the terminal is a new terminal or a conventional terminal when the terminal becomes the main terminal, and a case where the terminal becomes the new terminal when the terminal becomes the main terminal Is a fifth means for returning the address information from the own terminal, a sixth means for transmitting the own address to the main terminal at the time of joining the ring when the slave terminal is registered, and registering the address information of the slave terminal held by the main terminal, and the slave terminal. When The recording and the address information is obtained by a seventh means for communicating with another terminal.

【0010】[0010]

【作用】前記した本発明のネットワークシステムの試験
方式によれば、端末は任意のアドレスでリングに加入
し、アドレス重複エラー等が発生しリングに加入するこ
とができなければ、端末のアドレスを変更し再度リング
に加入する動作をリングに加入できるまで行うことによ
り、端末のアドレスを意識する必要がなくなる。
According to the above-described network system test method of the present invention, the terminal joins the ring at an arbitrary address, and if an address duplication error or the like occurs and the terminal cannot join the ring, the address of the terminal is changed. By performing the operation of joining the ring again until the ring can be joined, it becomes unnecessary to consider the address of the terminal.

【0011】また、端末がリングに加入したときのアド
レスにより自動的に主端末、従端末の区別を行うので、
テスト者が主端末、従端末の意識をしなくてよい。
Further, since the main terminal and the slave terminal are automatically distinguished by the address when the terminal joins the ring,
The tester does not have to be aware of the primary terminal and the secondary terminal.

【0012】さらに、主端末、従端末間で端末のアドレ
ス情報のやりとりを行い、そのアドレス情報をもとに端
末間で通信を行うことができる。
Further, the address information of the terminal can be exchanged between the main terminal and the slave terminal, and the communication between the terminals can be performed based on the address information.

【0013】これにより、テスト者はキー操作などの煩
雑なオペレーションなしで端末の加入手続きやテストが
行えるためにテスト効率を上げることができる。
As a result, the tester can perform the joining procedure and the test of the terminal without complicated operations such as key operation, so that the test efficiency can be improved.

【0014】[0014]

【実施例】図1は、ネットワークシステムの試験方式の
処理を示すフローチャート図、図2は、ネットワークシ
ステムのシステム構成の一例を示す概念図、図3は、端
末内のソフトウェア構成の一例を示す概念図、図4は、
新規端末を登録する場合の従端末から主端末への送信デ
ータの一例を示した概念図、図5は、新規端末をアドレ
ス登録テーブルに登録する前のアドレス登録テーブルの
内容の一例を示した概念図、図6は、新規端末を新たに
アドレス登録テーブルに登録した後のアドレス登録テー
ブルの一例を示した概念図、図7は、新規端末を新たに
登録したときの主端末から従端末への送信データの一例
を示した概念図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a flow chart showing the processing of a test method of a network system, FIG. 2 is a conceptual diagram showing an example of the system configuration of the network system, and FIG. 3 is a concept showing an example of the software configuration in the terminal. Figure, Figure 4,
FIG. 5 is a conceptual diagram showing an example of transmission data from a slave terminal to a main terminal when registering a new terminal, and FIG. 5 is a concept showing an example of contents of an address registration table before registering the new terminal in the address registration table. FIG. 6 is a conceptual diagram showing an example of the address registration table after the new terminal is newly registered in the address registration table, and FIG. 7 is a diagram illustrating the transfer from the main terminal to the slave terminal when the new terminal is newly registered. It is a conceptual diagram which showed an example of transmission data.

【0015】まず、本実施例のネットワークシステムに
おけるシステム構成は、図2に示すごとく、主端末10
0と従端末300,310,・・・,3n0で構成さ
れ、これらの端末はリング状のLANケーブル200を
介して互いに接続されている。
First, the system configuration of the network system of this embodiment is as shown in FIG.
0 and slave terminals 300, 310, ..., 3n0, which are connected to each other via a ring-shaped LAN cable 200.

【0016】また、各端末とLANケーブル200との
間には、通信プロトコルの制御などを行う、図示しない
LANアダプタが介設されている。
Further, a LAN adapter (not shown) for controlling a communication protocol is provided between each terminal and the LAN cable 200.

【0017】次に、図3により、本実施例の端末内のソ
フトウェア構成を説明する。各端末は、端末全体を制御
する端末制御部410と、従端末300,310,・・
・,3n0のアドレスを登録しておくアドレス登録テー
ブル420と、端末自身のアドレスを登録しておく端末
アドレス格納テーブル430と、主端末100より受信
したリング内のアドレス情報を格納しておく通信テーブ
ル440と、端末のアドレス情報、通信テスト用のデー
タを転送するときに制御するトークン受信要求フラグ4
50と、リング加入時、主端末100に対しLAN内の
端末アドレス情報を要求するときに制御するアドレス情
報要求フラグ460と、テスト実行の指示を行うテスト
実行指示フラグ470と、端末が正常にリングに加入で
きたかを示すリング加入フラグ480と、端末が主端末
として動作するか従端末として動作するかを示す端末動
作指示フラグ490とを備えている。
Next, the software configuration in the terminal of this embodiment will be described with reference to FIG. Each terminal includes a terminal control unit 410 that controls the entire terminal and sub terminals 300, 310, ...
.., 3n0 address registration table 420, terminal address storage table 430 for registering the address of the terminal itself, and communication table for storing address information in the ring received from the main terminal 100. 440 and the token reception request flag 4 which is controlled when the terminal address information and the communication test data are transferred.
50, an address information request flag 460 that controls when requesting terminal address information in the LAN to the main terminal 100 at the time of ring joining, a test execution instruction flag 470 that issues a test execution instruction, and the terminal normally rings. A ring joining flag 480 indicating whether the terminal can be joined and a terminal operation instruction flag 490 indicating whether the terminal operates as a main terminal or a slave terminal.

【0018】また、端末制御部410は、該端末制御部
410内を監視、制御する端末モニタ部411と、端末
をリングに加入させるリング加入部412と、端末が主
端末100として動作する時にテストの監視、制御を行
う主端末モニタ部413と、主端末モニタ部413から
の指示によりテストを行う主端末テスト実行部414
と、リング内の従端末300,310,・・・,3n0
の監視を行う主端末リング状態管理部415と、端末が
従端末300,310,・・・,3n0として動作する
ときにテストの監視、制御を行う従端末モニタ部416
と、従端末モニタ部416からの指示によりテストを行
う従端末テスト実行部417と、アドレス情報要求フラ
グ460の制御、アドレス情報の格納を行う従端末アド
レス情報制御部418から構成されている。
The terminal control unit 410 also has a terminal monitor unit 411 for monitoring and controlling the inside of the terminal control unit 410, a ring joining unit 412 for joining the terminal to a ring, and a test when the terminal operates as the main terminal 100. Main terminal monitor unit 413 that monitors and controls the main terminal, and main terminal test execution unit 414 that performs a test according to an instruction from main terminal monitor unit 413.
And sub-terminals 300, 310, ..., 3n0 in the ring
, And a sub-terminal monitor unit 416 that monitors and controls a test when the terminal operates as the sub-terminals 300, 310, ..., 3n0.
The slave terminal test execution unit 417 performs a test according to an instruction from the slave terminal monitor unit 416, and the slave terminal address information control unit 418 controls the address information request flag 460 and stores the address information.

【0019】次に、主端末、従端末間で送、受信される
データの形式(以下、フレーム500と呼ぶ)を説明す
ると図4のようになり、フレーム500内はトークンと
呼ばれるネットワークシステムのリング内を周回する制
御部と、データ部とに分けられる。さらに、データ部に
は宛先を示す宛先ID501と、発信元を示す発信元I
D502と、情報部503とがあり、情報部503はア
ドレス登録テーブル504などで構成される。
Next, the format of data transmitted and received between the main terminal and the slave terminals (hereinafter referred to as frame 500) is as shown in FIG. 4, and the inside of frame 500 is a ring of a network system called a token. It is divided into a control section that circulates inside and a data section. Further, in the data part, a destination ID 501 indicating a destination and a source I indicating a source I
There is a D502 and an information section 503, and the information section 503 is composed of an address registration table 504 and the like.

【0020】また、アドレス登録テーブル503は、図
5にも示しているようにリングに加入している従端末の
アドレスを登録しているテーブルであり、従端末にある
通信テーブルも同様に従端末のアドレスが保持されてい
る。
Further, the address registration table 503 is a table in which the addresses of slave terminals that have joined the ring are registered as shown in FIG. 5, and the communication table in the slave terminal is also a slave terminal. The address of is held.

【0021】さらに、各種フラグについて説明すると、
リング加入フラグ480は、端末がネットワークシステ
ム内でリング加入が成功したときにOFF、また失敗に
終わったときにONとなる。
Further, the various flags will be described.
The ring joining flag 480 is turned off when the terminal succeeds in ring joining in the network system, and is turned on when the terminal ends in failure.

【0022】そして、端末動作指示フラグ490は、端
末があらかじめ決めている主端末のアドレスでリングに
加入したときにONにし、主端末として動作する、それ
以外の場合はOFFとなり、従端末として動作すること
を示す。
The terminal operation instruction flag 490 is turned on when the terminal joins the ring at the predetermined address of the main terminal and operates as the main terminal, otherwise it is turned off and operates as the slave terminal. Indicates that

【0023】また、トークン受信要求フラグ450は、
主端末では、新規の従端末からのトークンを受信すると
ONにし、フレーム500を送信するときにOFFとす
る。
Further, the token reception request flag 450 is
The main terminal turns on when it receives a token from a new slave terminal, and turns off when transmitting the frame 500.

【0024】また、従端末では、ネットワークシステム
内のリングに加入したときにONとなる。
The slave terminal is turned on when it joins the ring in the network system.

【0025】次に、アドレス情報要求フラグ460は、
端末が従端末としてネットワークシステムのリングに加
入したときにONにし、主端末から従端末がアドレス登
録テーブルを取得したときにOFFにする。
Next, the address information request flag 460
It is turned on when the terminal joins the ring of the network system as the slave terminal, and turned off when the slave terminal acquires the address registration table from the master terminal.

【0026】そして、テスト実行指示フラグ470は、
従端末が主端末からのアドレス情報を通信テーブル44
0に格納したとき、つまり通信可能になったときにON
となる。
The test execution instruction flag 470 is
The slave terminal communicates the address information from the main terminal with the communication table 44.
ON when stored in 0, that is, when communication becomes possible
Becomes

【0027】次に、本実施例のネットワークシステムの
試験方式の作用の一例を図1の動作フローなどを参照し
ながら説明する。
Next, an example of the operation of the test method for the network system of this embodiment will be described with reference to the operation flow of FIG.

【0028】始めに、ステップ101で、テスト者は、
端末内のテスト用プログラムを起動する。次に、端末制
御部410の中の端末モニタ部411は、端末をリング
(LANケーブル200)に加入させるためにリング加
入部412に制御を渡す。そして、リング加入部412
は、端末アドレス格納テーブル430に任意の端末のア
ドレスを設定する。
First, in step 101, the tester
Start the test program in the terminal. Next, the terminal monitor unit 411 in the terminal control unit 410 passes control to the ring joining unit 412 in order to join the terminal to the ring (LAN cable 200). Then, the ring joining unit 412
Sets the address of an arbitrary terminal in the terminal address storage table 430.

【0029】その後、ステップ102では、図示してい
ないLANアダプタに対しリング加入指示を行う。LA
Nアダプタは、リング加入が正常に終了するとリング加
入フラグ480をOFFにし、アドレス重複エラー等が
発生しリング加入が異常終了するとリング加入フラグ4
80をONにする。リング加入部412は、リング加入
指示を行った後リング加入フラグ480のチェックを行
う。リング加入フラグ480がONであれば、リング加
入部412は、リング加入が失敗に終わったことを認識
しリング加入フラグ480をOFFにする。
Then, in step 102, a ring joining instruction is given to a LAN adapter (not shown). LA
The N adapter turns off the ring join flag 480 when the ring join ends normally, and the ring join flag 4 when the ring join ends abnormally due to an address duplication error or the like.
Turn on 80. The ring joining unit 412 checks the ring joining flag 480 after issuing the ring joining instruction. If the ring joining flag 480 is ON, the ring joining unit 412 recognizes that the ring joining has failed, and turns off the ring joining flag 480.

【0030】次に、ステップ103では、リング加入が
成功したかどうかを判断し、成功した場合はステップ1
05の主端末か従端末かの判別を行い、また、失敗した
ならばステップ104の再度、リング加入処理を実行す
る。
Next, in step 103, it is judged whether or not the ring joining is successful, and if it is successful, step 1
In step 05, it is discriminated whether the terminal is a main terminal or a slave terminal, and if it fails, the ring joining process in step 104 is executed again.

【0031】そして、ステップ104では、端末アドレ
ス格納テーブル430に別の端末アドレスを設定し再度
ステップ102のリング加入指示を行う。この動作は端
末がリングに加入できるまで行う。リング加入部412
はリング加入を実行した後、リング加入フラグ480が
OFFであればリング加入が成功したことを認識する。
Then, in step 104, another terminal address is set in the terminal address storage table 430, and the ring joining instruction of step 102 is issued again. This operation is repeated until the terminal can join the ring. Ring joining unit 412
Recognizes that ring joining has succeeded if the ring joining flag 480 is OFF after executing ring joining.

【0032】ステップ105では、リング加入部412
は、リング加入後端末アドレス格納テーブル430の内
容と、あらかじめ決めてある主端末アドレスと比較し、
等しいならば端末動作指示フラグ490をONにし、等
しくなければ端末動作指示フラグ490をOFFにし端
末モニタ部411に制御を戻す。端末モニタ部411は
端末動作指示フラグ490がONならば端末を主端末1
00として動作させるために主端末モニタ部413に制
御を渡し、端末動作指示フラグ490がOFFならば端
末を従端末300,310,・・・,3n0として動作
させるため従端末モニタ部416に制御を渡す。
In step 105, the ring joining unit 412
Compares the content of the terminal address storage table 430 after joining the ring with a predetermined main terminal address,
If they are equal, the terminal operation instruction flag 490 is turned on, and if they are not equal, the terminal operation instruction flag 490 is turned off and control is returned to the terminal monitor unit 411. If the terminal operation instruction flag 490 is ON, the terminal monitor unit 411 determines that the terminal is the main terminal 1.
Control is passed to the main terminal monitor unit 413 to operate as the slave terminal 00, and if the terminal operation instruction flag 490 is OFF, control is given to the slave terminal monitor unit 416 to operate the terminal as the slave terminals 300, 310, ..., 3n0. hand over.

【0033】以下、端末が主端末100,従端末30
0,310,・・・,3n0としてリングに加入したこ
とにし、それぞれに対応するアドレスをA100,A3
00,A310,・・・,A3n0として説明する。
Hereinafter, the terminals are the primary terminal 100 and the secondary terminal 30.
0,310, ..., 3n0 are decided to join the ring, and the corresponding addresses are A100, A3.
00, A310, ..., A3n0.

【0034】なお、ステップ106からステップ108
までは従端末の動作を、そして、ステップ109からス
テップ115にかけては主端末の動作を示している。
Incidentally, from step 106 to step 108
Shows the operation of the slave terminal, and steps 109 to 115 show the operation of the main terminal.

【0035】まず、ステップ106では、従端末30
0,310,・・・,3n0はリング内を周回している
トークンを受信し、端末モニタ部411から従端末モニ
タ部416に制御が渡されると従端末モニタ部416は
従端末アドレス情報制御部418に制御を渡す。
First, in step 106, the slave terminal 30
0n 310, ..., 3n0 receive the token circulating in the ring, and when control is passed from the terminal monitor unit 411 to the slave terminal monitor unit 416, the slave terminal monitor unit 416 causes the slave terminal address information control unit. Pass control to 418.

【0036】次に、ステップ107では、従端末アドレ
ス情報制御部418はフレーム内に宛先ID501、発
信元ID502を設定後、アドレス情報要求フラグ46
0をONにし、トークン受信要求フラグ450をONに
し、制御を従端末モニタ部416に戻す。たとえば、従
端末300の場合は端末アドレスがA300であるか
ら、宛先ID501はあらかじめ決めてあるA100と
なり、発信元ID502はA300となる。以降従端末
300を例にとって説明する。
Next, in step 107, the slave terminal address information control unit 418 sets the destination ID 501 and the source ID 502 in the frame, and then the address information request flag 46.
0 is turned ON, the token reception request flag 450 is turned ON, and control is returned to the slave terminal monitor unit 416. For example, in the case of the slave terminal 300, since the terminal address is A300, the destination ID 501 is A100, which is predetermined, and the source ID 502 is A300. Hereinafter, the slave terminal 300 will be described as an example.

【0037】次に、ステップ108では、従端末モニタ
部416は、トークン受信要求フラグ450がONであ
ることを確認すると、主端末の宛先ID501(A10
0)や発信元ID502(A300)をセットしたフレ
ーム情報をトークンにのせ、主端末100へ送出する。
すなわち、送出したフレーム500は図4に示すような
データの内容であり、宛先ID501(A100)、発
信元ID502(A300)のようにセットされてい
る。この時点では、情報部503、アドレス登録テーブ
ル504のエリアはセットされていない。
Next, in step 108, when the sub-terminal monitor section 416 confirms that the token reception request flag 450 is ON, the destination ID 501 (A10 of the main terminal).
0) and the frame information in which the sender ID 502 (A300) is set is placed on the token and sent to the main terminal 100.
That is, the transmitted frame 500 has the contents of data as shown in FIG. 4, and is set like a destination ID 501 (A100) and a source ID 502 (A300). At this point, the areas of the information section 503 and the address registration table 504 have not been set.

【0038】さらに、ステップ109で、主端末100
の主端末モニタ部413はトークンを受信すると、フレ
ームを取り出し、制御を主端末リング状態管理部415
に渡す。
Further, in step 109, the main terminal 100
When receiving the token, the main terminal monitor unit 413 of the main terminal ring state management unit 415 extracts the frame and controls the frame.
Pass to.

【0039】そこで、ステップ110では、主端末リン
グ状態管理部415はフレーム500内の発信元ID5
02(A300)を取り出し、図5に示すアドレス登録
テーブル420の内容と比較する。
Therefore, in step 110, the main terminal ring state management unit 415 determines that the source ID 5 in the frame 500 is
02 (A300) is taken out and compared with the contents of the address registration table 420 shown in FIG.

【0040】そして、ステップ111では、主端末のア
ドレス登録テーブル420のアドレスの中にその発信元
ID502(A300)と一致するアドレスがあるかど
うか判断する。一致しなかった場合はステップ113の
登録処理へ、また一致した場合はステップ112の通信
テスト処理への振り分けを行う。この場合は図5の登録
前のアドレス登録テーブル420内には発信元ID50
2(A300)がないのでステップ113のアドレス登
録処理をする。
Then, in step 111, it is determined whether or not there is an address matching the sender ID 502 (A300) among the addresses in the address registration table 420 of the main terminal. If they do not match, the process is distributed to the registration process of step 113, and if they do match, the process is distributed to the communication test process of step 112. In this case, the sender ID 50 is stored in the address registration table 420 before registration in FIG.
Since there is no 2 (A300), the address registration process of step 113 is performed.

【0041】また、ステップ112では、受信した従端
末のアドレスが主端末のアドレス登録テーブル420内
にある場合で、以後、通信テストが可能となる。本実施
例では、図5の登録前のアドレス登録テーブル420の
状態なので、通信テスト不可の状態にある。
Further, in step 112, if the received address of the slave terminal is in the address registration table 420 of the main terminal, the communication test is possible thereafter. In the present embodiment, the state of the address registration table 420 before registration in FIG. 5 is set, and thus the communication test is not possible.

【0042】次に、ステップ113からステップ115
にかけては、主端末の動作を示し、主端末のアドレス登
録テーブル420に発信元ID502(A300)を登
録し、図6に示すアドレス登録テーブル420aの情報
をセットしたフレーム情報を従端末へ送信するまでを述
べる。
Next, step 113 to step 115
Until the operation of the main terminal is shown, the sender ID 502 (A300) is registered in the address registration table 420 of the main terminal, and the frame information in which the information of the address registration table 420a shown in FIG. 6 is set is transmitted to the slave terminal. State.

【0043】まず、ステップ113では、発信元ID5
02(A300)をアドレス登録テーブル420に付け
加える。その付け加えたアドレス登録テーブル420a
のデータ情報を図6に示す。
First, in step 113, the sender ID 5
02 (A300) is added to the address registration table 420. The added address registration table 420a
The data information of the above is shown in FIG.

【0044】その後、ステップ114では、図7に示す
ように、フレーム800の発信元ID802に主端末の
アドレス(A100)をセットし、宛先ID801は、
アドレス登録テーブル700の最後のデータである従端
末のアドレス(A300)をセットする、また情報部8
03には、アドレス登録テーブル700の情報をセット
した後トークン受信要求フラグ450をONにし、制御
を主端末モニタ部413に渡す。
Then, in step 114, as shown in FIG. 7, the source ID 802 of the frame 800 is set to the address (A100) of the main terminal, and the destination ID 801 is set to
The address (A300) of the slave terminal, which is the last data in the address registration table 700, is set.
In 03, after setting the information of the address registration table 700, the token reception request flag 450 is turned ON, and the control is passed to the main terminal monitor unit 413.

【0045】そして、ステップ115では、主端末モニ
タ部413はトークン受信要求フラグ450がONであ
ることを確認するとトークンを受信し、フレーム800
のデータを付加した後、トークン受信要求フラグ450
をOFFにし従端末310,320,・・・,3n0へ
送出する。この例では、従端末300へ送出する。
Then, in step 115, when the main terminal monitor 413 confirms that the token reception request flag 450 is ON, it receives the token, and the frame 800
Token addition request flag 450 after adding the data of
Is turned off and the data is sent to the sub terminals 310, 320, ..., 3n0. In this example, it is sent to the slave terminal 300.

【0046】次に、ステップ116から118にかけて
は、従端末のアドレス情報を主端末から受信し、従端末
の通信テーブルへ格納し、通信テスト開始に至るまでの
操作である。
Next, steps 116 to 118 are operations from receiving address information of the slave terminal from the main terminal, storing it in the communication table of the slave terminal, and starting the communication test.

【0047】まず、ステップ116では、従端末30
0,310,・・・,3n0はトークンを受信すると、
制御を従端末モニタ部416より従端末アドレス情報制
御部418へ渡す。
First, in step 116, the slave terminal 30
When 0, 310, ..., 3n0 receives the token,
Control is passed from the slave terminal monitor unit 416 to the slave terminal address information control unit 418.

【0048】そして、ステップ117では、従端末アド
レス情報制御部418はアドレス情報要求フラグ460
がONであることを確認すると、フレーム内の情報部よ
りアドレス情報を取り出しアドレス情報要求フラグ46
0をOFFした後、アドレス情報を順次、通信テーブル
440内に格納していく。格納後従端末アドレス情報制
御部418はテスト実行指示フラグ470をONし制御
を従端末モニタ部416に渡す。
Then, in step 117, the slave terminal address information control unit 418 causes the address information request flag 460.
When it is confirmed that is ON, the address information is fetched from the information section in the frame and the address information request flag 46
After 0 is turned off, the address information is sequentially stored in the communication table 440. After storing, the slave terminal address information control unit 418 turns on the test execution instruction flag 470 and passes control to the slave terminal monitor unit 416.

【0049】次に、ステップ118では、従端末モニタ
部416はテスト実行指示フラグ470がONになる
と、従端末テスト実行部417に制御を渡し、以後通信
テーブル440に登録してある他の従端末300,31
0,・・・,3n0と通信テストを行う。
Next, at step 118, when the test execution instruction flag 470 is turned on, the slave terminal monitor unit 416 transfers control to the slave terminal test execution unit 417, and then the slave terminals registered in the communication table 440. 300, 31
Perform communication test with 0, ..., 3n0.

【0050】最後に、ステップ119では、通信テスト
終了の時は、処理を終了し、それ以外の場合は通信テス
トを継続する。
Finally, in step 119, when the communication test is completed, the processing is terminated, and in other cases, the communication test is continued.

【0051】このように、本実施例のネットワークシス
テムの試験方式によれば、テスト者は、端末の加入のた
めの煩雑なキー入力操作などのオペレーションなしで、
端末の加入手続き、及びそれに引き続く端末間のテスト
が行えるためテスト効率を上げることができる。
As described above, according to the test method of the network system of this embodiment, the tester does not have to perform a complicated key input operation for joining the terminal, and the like.
It is possible to improve the test efficiency because the terminal joining procedure and the subsequent test between terminals can be performed.

【0052】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるものではなく、その要旨を逸脱しない範囲
で種々変更可能であることは言うまでもない。
The invention made by the present inventor has been specifically described above based on the embodiments, but the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.

【0053】[0053]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
下記のとおりである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.
It is as follows.

【0054】すなわち、本発明のネットワークシステム
の試験方式によれば、端末を起動するのみで、テスト者
は端末のアドレスなどを意識することなくネットワーク
システム内のリングへの端末の加入手続きを行うことが
できるとともに、各端末は、自動的に主端末、従端末の
区別を認識して、端末間通信を行うことが可能となる。
That is, according to the test method of the network system of the present invention, only by activating the terminal, the tester can perform the procedure for joining the terminal to the ring in the network system without being aware of the address of the terminal. At the same time, each terminal can automatically recognize the distinction between the main terminal and the sub-terminal and perform the inter-terminal communication.

【0055】これにより、テスト者は、端末のアドレ
ス、主端末、従端末を意識することなく、煩雑なオペレ
ーションなしでテストを行うことができ、ネットワーク
システムのテスト作業を効率よく遂行することができ
る。
As a result, the tester can carry out the test without any complicated operation without paying attention to the address of the terminal, the main terminal and the slave terminal, and can efficiently carry out the test work of the network system. .

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例であるネットワークシステム
のテストにおける動作フローを示すフローチャートであ
る。
FIG. 1 is a flowchart showing an operation flow in a test of a network system which is an embodiment of the present invention.

【図2】本発明の一実施例であるネットワークシステム
の構成の一例を示す概念図である。
FIG. 2 is a conceptual diagram showing an example of a configuration of a network system that is an embodiment of the present invention.

【図3】本発明の一実施例であるネットワークシステム
の端末内のソフトウェア構成の一例を示す概念図であ
る。
FIG. 3 is a conceptual diagram showing an example of a software configuration in a terminal of the network system which is an embodiment of the present invention.

【図4】本発明の一実施例における、従端末から主端末
へのフレーム情報(送出データ)の一例を示す概念図で
ある。
FIG. 4 is a conceptual diagram showing an example of frame information (sending data) from a slave terminal to a main terminal in an embodiment of the present invention.

【図5】本発明の一実施例における、従端末の発信元I
Dを登録する前のアドレス登録テーブルの一例を示す概
念図である。
FIG. 5 is a transmission source I of a slave terminal according to an embodiment of the present invention.
It is a conceptual diagram which shows an example of the address registration table before registering D.

【図6】本発明の一実施例における、従端末の発信元I
Dを登録した後のアドレス登録テーブルの一例を示す概
念図である。
FIG. 6 is a transmission source I of a slave terminal according to an embodiment of the present invention.
It is a conceptual diagram which shows an example of the address registration table after registering D.

【図7】本発明の一実施例における、主端末から従端末
へのフレーム情報(送出データ)の一例を示す概念図で
ある。
FIG. 7 is a conceptual diagram showing an example of frame information (transmitted data) from a main terminal to a sub terminal in an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100 主端末 200 LANケーブル 300 従端末 310 従端末 3n0 従端末 410 端末制御部 411 端末モニタ部 412 リング加入部 413 主端末モニタ部 414 主端末テスト実行部 415 主端末リング状態管理部 416 従端末モニタ部 417 従端末テスト実行部 418 従端末アドレス情報制御部 420 アドレス登録テーブル 420a アドレス登録テーブル 430 端末アドレス格納テーブル 440 通信テーブル 450 トークン受信要求フラグ 460 アドレス情報要求フラグ 470 テスト実行指示フラグ 480 リング加入フラグ 490 端末動作指示フラグ 500 フレーム 501 宛先ID 502 発信元ID 800 フレーム 801 宛先ID 802 発信元ID 803 情報部 100 main terminal 200 LAN cable 300 slave terminal 310 slave terminal 3n0 slave terminal 410 terminal control unit 411 terminal monitor unit 412 ring joining unit 413 main terminal monitor unit 414 main terminal test execution unit 415 main terminal ring state management unit 416 slave terminal monitor unit 417 Slave terminal test execution section 418 Slave terminal address information control section 420 Address registration table 420a Address registration table 430 Terminal address storage table 440 Communication table 450 Token reception request flag 460 Address information request flag 470 Test execution instruction flag 480 Ring joining flag 490 terminal Operation instruction flag 500 frame 501 destination ID 502 sender ID 800 frame 801 destination ID 802 sender ID 803 information section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田代 勝 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Katsu Tashiro 1 Horiyamashita, Hadano City, Kanagawa Prefecture Hiritsu Manufacturing Co., Ltd. Kanagawa Plant

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 リング上の伝送路に複数の端末を接続し
て構成されるネットワークシステムにおいて、前記リン
グに加入した前記端末間で通信を行わせるネットワーク
システムの試験方式であって、任意の前記端末の加入試
行に際して、リングに加入することができなければ前記
端末のアドレスを変更し、再度リングに加入する動作を
リングに加入するまで繰り返し行う第1の手段と、端末
のアドレスが主端末と決められたアドレスでリングに加
入できれば主端末の機能、それ以外のアドレスならば従
端末としての機能を付与する第2の手段と、主端末とな
ったとき、リング内に加入してきた端末のアドレスを登
録しておく第3の手段と、主端末となったとき、新規端
末か、従来の端末かを認識する第4の手段と、主端末と
なったとき、新規端末の場合は自端末よりアドレス情報
を返送する第5の手段と、従端末のときリング加入時に
自アドレスを主端末に送信し主端末の持つ従端末のアド
レス情報を登録する第6の手段と、従端末のとき登録し
た前記アドレス情報により他の端末と通信を行う第7の
手段とを備えたことを特徴とするネットワークシステム
の試験方式。
1. A test method for a network system in which a plurality of terminals are connected to a transmission path on a ring to perform communication between the terminals joined to the ring, wherein When attempting to join the terminal, if the terminal cannot join the ring, the first means for changing the address of the terminal and joining the ring again until joining the ring, and the address of the terminal as the main terminal Second means for giving the function of the main terminal if it can join the ring at the determined address, and the function of the slave terminal for other addresses, and the address of the terminal that has joined the ring when it becomes the main terminal And a fourth means for recognizing whether it is a new terminal or a conventional terminal when becoming a main terminal, and a new terminal when becoming a main terminal. In the case of the end, fifth means for returning the address information from the own terminal, and sixth means for transmitting the own address to the main terminal and registering the address information of the slave terminal possessed by the main terminal when the slave terminal is a ring subscriber. A test method for a network system, comprising: a seventh means for communicating with another terminal according to the address information registered when the slave terminal.
JP4243192A 1992-09-11 1992-09-11 Method for testing network system Pending JPH0695990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4243192A JPH0695990A (en) 1992-09-11 1992-09-11 Method for testing network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4243192A JPH0695990A (en) 1992-09-11 1992-09-11 Method for testing network system

Publications (1)

Publication Number Publication Date
JPH0695990A true JPH0695990A (en) 1994-04-08

Family

ID=17100205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4243192A Pending JPH0695990A (en) 1992-09-11 1992-09-11 Method for testing network system

Country Status (1)

Country Link
JP (1) JPH0695990A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5627146A (en) * 1994-12-27 1997-05-06 Asahi Denka Kogyo K.K. Lubricating oil composition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5627146A (en) * 1994-12-27 1997-05-06 Asahi Denka Kogyo K.K. Lubricating oil composition

Similar Documents

Publication Publication Date Title
US4747100A (en) Token passing network utilizing active node table
US4825204A (en) Address setting and data transmission system
US6421317B1 (en) Method and apparatus for an automatic load balancing and back-up of a multi-users network
US5251214A (en) Method for transmitting data to a plurality of data stations
JPH0213158A (en) Message transmission method
JPH0695990A (en) Method for testing network system
JP3730545B2 (en) Service control application execution method and system
US20050262224A1 (en) Method for modifying one or more parameters for the operation of a network and subscribers for carrying out this method
JPH11312111A (en) Method for restoring data base and data base management system thereof
JPH02260055A (en) Inter-computer file transfer system
JP2001257696A (en) Master-slave communication system
JP3036050B2 (en) Communication control device
CN112134735B (en) Method and device for automatically expanding system
JP2000057095A (en) Method and system for processing communication
JP2504130B2 (en) Bus type LAN
JP3455603B2 (en) Communication system and event control method for asynchronous communication
CN117253302A (en) Digital car key synchronization method and device, electronic equipment and storage medium
JPH10135955A (en) Infrared-ray communication method, infrared-ray communication system and transmitter-receiver used for the same
CN116896595A (en) Communication control method and device of numerical control system, numerical control system and storage medium
JPH01123347A (en) Communication equipment connection system in on-line system
JPH0687559B2 (en) Bus type LAN
JP2563068Y2 (en) Redundant communication controller
JP3317756B2 (en) Interface method between service control layer and transmission control layer
JPS60201760A (en) Data transmission system
JPS63124644A (en) Data communication equipment having automatic station recognizing function