JP2889888B2 - Communication processing device - Google Patents

Communication processing device

Info

Publication number
JP2889888B2
JP2889888B2 JP1082036A JP8203689A JP2889888B2 JP 2889888 B2 JP2889888 B2 JP 2889888B2 JP 1082036 A JP1082036 A JP 1082036A JP 8203689 A JP8203689 A JP 8203689A JP 2889888 B2 JP2889888 B2 JP 2889888B2
Authority
JP
Japan
Prior art keywords
communication
transmission
node
status
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1082036A
Other languages
Japanese (ja)
Other versions
JPH02260947A (en
Inventor
攻 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1082036A priority Critical patent/JP2889888B2/en
Publication of JPH02260947A publication Critical patent/JPH02260947A/en
Application granted granted Critical
Publication of JP2889888B2 publication Critical patent/JP2889888B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔概要〕 ネットワーク上の回線の状態を監視する通信処理装置
に関し、 システムダウンが発生し、通信が正常に戻った場合
に、直ちに通信を開始することができることを目的と
し、 少なくとも1台の装置に対し通信を行う通信手段と、
送信すべき情報が加わり、前記通信手段を介して前記装
置への情報の伝送を制御する伝送制御手段と、前記通信
手段における通信の結合状態を特定時間単位で監視する
回線監視手段と、該回線監視手段が回転異常を検出した
時に、前記伝送制御手段の通信制御を停止するととも
に、特定時間単位で通信が復旧したか否かを判別し、復
旧した時に前記伝送制御手段に対し、通信再開を指示す
る通信管理手段とを設けてなるように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a communication processing device that monitors the status of a line on a network, and aims to start communication immediately when a system failure occurs and communication returns to normal. Communication means for communicating with at least one device;
Transmission control means for controlling transmission of information to the device via the communication means, information to be transmitted, and line monitoring means for monitoring a connection state of communication in the communication means in a specific time unit; When the monitoring unit detects the rotation abnormality, the communication control of the transmission control unit is stopped, and it is determined whether or not the communication is restored in a specific time unit.When the communication is restored, the communication control unit restarts the communication. A communication management means for instructing is provided.

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

本発明は、ネットワークによって複数の例えばコンピ
ュータシステムが通信を行う通信システムに係り、さら
に詳しくはネットワーク上の回線の状態を監視する通信
処理装置に関する。
The present invention relates to a communication system in which a plurality of, for example, computer systems communicate with each other via a network, and more particularly, to a communication processing apparatus for monitoring a state of a line on a network.

〔従来の技術〕[Conventional technology]

コンピュータシステムを用いたCADやCAMが開発され、
各方面で稼働している。このようなCADやCAMにおいて
は、通信技術の発展により1台でクローズして稼働する
ことはまれであり、複数のコンピュータをネットワーク
上に接続し、ネットワークを介して各コンピュータシス
テムで必要とする情報を伝送している。例えばCAMシス
テムにおいては、製造指示等を製造部門へ、また製造に
かかる部品を資材部門へ伝送する等、複数のシステム間
で情報のやりとりを行い、各部門はその情報を受信して
各種処理を行っている。
CAD and CAM using computer systems were developed,
It is operating in various areas. In such CAD and CAM, it is rare that one computer operates in a closed state due to the development of communication technology, and a plurality of computers are connected on a network, and information required by each computer system via the network. Is transmitted. For example, in a CAM system, information is exchanged between multiple systems, such as transmitting manufacturing instructions to the manufacturing department and parts related to manufacturing to the material department.Each department receives the information and performs various processing. Is going.

第6図は従来方式のシステム構成図である。同図にお
いてはネットワークの2台のノードを1対1対応であら
わしている。ノードA側のコンピュータシステム10にお
いて伝送情報DXが発生し、ノードBのコンピュータシス
テム15のファイル(例えば受信箱)に伝送する場合に
は、ノードAを構成するコンピュータシステム10の伝送
機能により、ファイル11内の前述の伝送情報DXを取り込
み(I)、通信ソフトTRPAによって例えばパケット化
し、通信制御装置13を介して通信ネットワークの回線14
に送出する。ノードB側のコンピュータシステム15はノ
ードA側のコンピュータシステム10とほぼ同一にシステ
ムであり、通信制御装置16に前述の回線14を介して送出
した伝送情報DXが加わり、通信制御装置16ではその情報
(回線に対応したレベルとなった情報)をロジックレベ
ルに変換し、コンピュータシステム15の通信ソフトTRPB
で取込み解読する。伝送情報DXは前述したように例えば
パケットによって伝送されるので、通信ソフトTRPBはパ
ケットから伝送情報DXのみを取り出し、伝送機能プログ
ラムTRKBで求めるべき情報にさらに変換し、受信箱のフ
ァイル17に格納する。また、通信ソフトTRPBはこの他に
例えばプロトコルのコントロールをも行う。ノードAが
発生した情報がこのような回線14を介し、ノードBを構
成するコンピュータシステム15のファイル17に格納され
ると同様に、複数のコンピュータ間における通信によっ
て必要データを伝送でき、例えば部門間でのデータ処理
をそれぞれの部門が所有するコンピュータによって処理
することが可能となる。
FIG. 6 is a system configuration diagram of a conventional system. In the figure, two nodes of the network are represented in a one-to-one correspondence. When transmission information DX is generated in the computer system 10 on the node A side and is transmitted to a file (for example, an inbox) of the computer system 15 of the node B, the file 11 is transmitted by the transmission function of the computer system 10 constituting the node A. The above-mentioned transmission information DX in (1) is fetched (I), packetized, for example, by the communication software TRPA, and transmitted to the communication network line 14 via the communication control device 13.
To send to. The computer system 15 on the node B side is almost the same system as the computer system 10 on the node A side. The transmission information DX transmitted via the above-mentioned line 14 is added to the communication control unit 16, and the communication control unit 16 (The information that has become the level corresponding to the line) is converted to a logic level, and the communication software TRPB of the computer system 15 is used.
To capture and decrypt. Since the transmission information DX is transmitted by, for example, a packet as described above, the communication software TRPB extracts only the transmission information DX from the packet, further converts the transmission information DX into information to be obtained by the transmission function program TRKB, and stores the information in the inbox file 17. . In addition, the communication software TRPB also performs, for example, protocol control. Just as information generated by the node A is stored in the file 17 of the computer system 15 constituting the node B via such a line 14, necessary data can be transmitted by communication between a plurality of computers. Can be processed by computers owned by the respective departments.

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

前述した複数のコンピュータシステムにおけるデータ
伝送に関してはそれぞれ独立に処理を実行しているた
め、処理の能力は向上しているが、例えばコンピュータ
システム10側の通信制御装置13やコンピュータシステム
10を構成するシステムの通信ソフトTRPA、更には回線14
等に異常が発生した場合には通信が停止してしまうとい
う問題を有している。この異常状態の発生によって通信
が停止してしまうことはハード的な問題によることがほ
とんどであり、これを解決するためには複数の回線や複
数のコンピュータによって常に異常が発生してもそれを
対処できるようにしなくてはならない。
The data transmission in the plurality of computer systems described above is performed independently, so that the processing capability is improved. For example, the communication control device 13 on the computer system 10 side and the computer system
Communication software TRPA of the system that constitutes 10, and furthermore the line 14
For example, when an abnormality occurs, the communication is stopped. In most cases, communication failures caused by the occurrence of this abnormal condition are caused by hardware problems. To solve this problem, even if an abnormality always occurs due to multiple lines or multiple computers, it is necessary to deal with it We need to be able to do it.

しかしながら、このようなシステムにおいてはコスト
が上がるため一般的な事務処理等においては、通信等の
ハードウエアがダウンした場合には、先ず異常状態を通
知(II)してその処理を停止し、復旧した後正常状態を
通知して行うようにしている。
However, in such a system, the cost increases. In general office work, if the hardware such as communication goes down, the abnormal state is first reported (II), the processing is stopped, and the system is restored. After that, a normal state is notified to perform it.

前述の異常の回復は人間の作業によってなされるもの
である。このため、復旧がいつになるか不明であり、コ
ンピュータシステム10、15においては、送っているデー
タの途中でシステムがダウンし伝送できない場合には、
続くデータを伝送するために運用管理者がシステムの復
旧を例えば表示装置に表示されるメッセージを見て確認
した後、続くデータの伝送の指示を与えなくてはならな
くなり、また異常状態発生でシステムダウン中にそれぞ
れのコンピュータシステムにおいて、伝送すべきデータ
が発生した時にはそのデータ伝送の要求を一時保留し、
異常状態から復旧し、正常になった後に運用管理者によ
ってそのデータを伝送するようにしていた。
Recovery of the aforementioned abnormalities is achieved by human work. For this reason, it is unknown when recovery will occur, and in computer systems 10 and 15, if the system is down during transmission of data and cannot be transmitted,
In order to transmit the following data, the operation manager must confirm the restoration of the system, for example, by seeing a message displayed on the display device, and then give an instruction to transmit the following data. When data to be transmitted occurs in each computer system during the down time, temporarily suspend the data transmission request,
After recovering from the abnormal state, the data is transmitted by the operation manager after the data becomes normal.

前述したような従来のシステムにおいては、通信に異
常が発生し、ダウンした場合には、すべて人手によって
データの伝送の開始を指示しなくてはならないという問
題を有していた。また、復旧してもその復旧を直ちに認
識することができず、CE等から連絡を受けた時に表示装
置等に表示される復旧のメッセージ(II)を見て伝送開
始を指示するため、運用管理者が常に見ているとは限ら
ずシステムダウンに伴う伝送の遅れが発生するという問
題を有していた。
The above-described conventional system has a problem in that, when an error occurs in communication and the communication system goes down, it is necessary to manually instruct the start of data transmission. In addition, even if it is restored, the restoration cannot be immediately recognized and the transmission start is instructed by seeing the restoration message (II) displayed on the display device etc. when receiving a notification from the CE etc. There is a problem that the transmission is not always watched by the user and a transmission delay occurs due to the system down.

この問題は、CADやCAMシステムにおいては、そのデー
タが受信できないために先の処理を行うことができず、
システム全体としてさらに遅れが発生するという重大な
問題を発生していた。
The problem is that in CAD and CAM systems, the data cannot be received and the previous processing cannot be performed.
There has been a serious problem that further delays occur in the entire system.

本発明は、システムダウンが発生し、通信が正常に戻
った場合に、直ちに通信を開始することができることを
目的とする。
It is an object of the present invention to be able to immediately start communication when a system failure occurs and communication returns to normal.

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

第1図は本発明の機能ブロック図である。 FIG. 1 is a functional block diagram of the present invention.

本発明は少なくとも1台の装置と通信を行う通信手段
1と、送信すべき情報が加わり、前記通信手段1を介し
て、前記装置への情報の伝送を制御する伝送制御手段2
とよりなるネットワークシステムにおけるものである。
そして伝送制御手段2は回線監視手段3と、通信管理手
段4が設けられている。
The present invention provides a communication unit 1 for communicating with at least one device, and a transmission control unit 2 for adding information to be transmitted and controlling the transmission of information to the device via the communication unit 1.
In a network system comprising:
The transmission control means 2 includes a line monitoring means 3 and a communication management means 4.

回線監視手段3は前記通信手段1における通信の結合
状態を特定時間単位で監視する。
The line monitoring unit 3 monitors the connection state of the communication in the communication unit 1 in a specific time unit.

通信管理手段4は前記回線監視手段3が前記通信の結
合状態の異常を検出した時に、伝送制御手段2の伝送制
御を停止すると共に、特定時間単位で通信の結合状態が
復旧したか否を判別し、前記通信の結合状態が復旧した
と判別した場合に前記伝送制御手段2に対し伝送再開を
指示する。
When the line monitoring unit 3 detects an abnormality in the communication connection state, the communication management unit 4 stops the transmission control of the transmission control unit 2 and determines whether the communication connection state has been restored in a specific time unit. Then, when it is determined that the connection state of the communication has been restored, the transmission control unit 2 is instructed to restart the transmission.

〔作用〕[Action]

通信回線等がダウンし、通信が行えない場合には、回
線監視手段3は通信手段1からの情報(結合状態情報)
より異常を検出する。この検出は例えば複数分単位での
監視である。
When the communication line or the like goes down and communication cannot be performed, the line monitoring unit 3 transmits information from the communication unit 1 (connection state information).
Detect more abnormalities. This detection is, for example, monitoring in units of a plurality of minutes.

回線監視手段3が回線異常等による通信の結合状態の
異常を検出した時には、通信管理手段4は前記伝送制御
手段2の通信制御を停止する。例えば通信途中であった
ならば、その途中で通信を保留状態とする。また、シス
テムダウン中に伝送要求が発生した場合には、その伝送
を保留する。さらに通信管理手段4は通信が復旧したか
否かを特定時間単位で判別しており、復旧した時に前記
伝送制御手段2に対し、通信再開を指示する。この指示
によっていままで保留となっていた伝送を通信制御手段
2は再開し、伝送途中であったならば、続くデータを伝
送する。また、例えば回線ダウン中に伝送要求が発生し
たデータであるならば、そのデータを要求伝送先に伝送
する。
When the line monitoring unit 3 detects an abnormality in the communication connection state due to a line abnormality or the like, the communication management unit 4 stops the communication control of the transmission control unit 2. For example, if the communication is being performed, the communication is suspended during the communication. If a transmission request is issued while the system is down, the transmission is suspended. Further, the communication management means 4 determines whether or not the communication has been restored in a specific time unit, and instructs the transmission control means 2 to restart the communication when the communication is restored. In response to this instruction, the communication control means 2 resumes the transmission which has been held up to now, and if the transmission is in progress, transmits the subsequent data. Further, for example, if the data is a data for which a transmission request has occurred during a line down, the data is transmitted to the request transmission destination.

回線の異常等による通信の結合状態の異常でシステム
がダウンした場合に、通信管理手段4で常に管理し、復
旧した時に再度伝送を再開する再開指示をするので自動
的に伝送すべきデータを伝送することができる。
When the system goes down due to an abnormality in the connection state of the communication due to a line abnormality or the like, the communication management means 4 always manages the system, and when the system is restored, a restart instruction is issued to restart the transmission again. can do.

〔実施例〕〔Example〕

以下、図面を用いて本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は、本発明のシステム構成図である。 FIG. 2 is a system configuration diagram of the present invention.

コンピュータシステム20内のノードAは通信ソフトTR
PA′、伝送機能プログラムTRKA′、ネットワーク管理プ
ログラムNKPAよりなっている。なお、コンピュータシス
テムは他のアプリケーションプログラムやOS等を有して
いるが、実施例においては発明に関係するプログラムに
ついてのみ表している。また、コンピュータシステム21
のノードBについても同様であり、通信ソフトTRPB′、
伝送機能プログラムTRKB′、ネットワーク管理プログラ
ムNKPBより成っている。第2図の実施例におけるシステ
ム構成は、図示しないが、第6図と同様に通信制御装置
を有しており、通信ソフトTRPA′、伝送機能プログラム
TRPB′はそれぞれ通信制御装置を介して通信を行う。
Node A in the computer system 20 is communication software TR
PA ', transmission function program TRKA', and network management program NKPA. Note that the computer system has other application programs, an OS, and the like, but only the programs related to the present invention are shown in the embodiments. In addition, the computer system 21
The same applies to the node B of the communication software TRPB ′,
It consists of a transmission function program TRKB 'and a network management program NKPB. Although the system configuration in the embodiment of FIG. 2 is not shown, it has a communication control device as in FIG. 6, the communication software TRPA ', the transmission function program
The TRPB's communicate with each other via the communication control device.

コンピュータシステム20の処理によってノードBのコ
ンピュータシステムにデータを伝送する場合、伝送機能
プログラムTRKA′は回線が開設(伝送可能)である時に
は発生した要求に対応するデータを通信ソフトTRPA′を
介してノードB側に伝送する。そして、ノードB側の通
信ソフトTRPB′によってデータが取り込まれ、伝送機能
プログラムTRKB′で要求が発生したデータを再生し、図
示しないファイル等に格納する。そして、コンピュータ
システム21はそのデータを用いて例えば製造工程指示書
等を作成する。伝送機能プログラムTRKA′、TRKB′は前
述したようなノードAからノードBへの伝送、さらには
同様にノードBからノードAへの伝送の他に常に回線が
正常であるかを判断する判別手段を有している。この判
別手段は予めタイマ等によって設定された時間間隔で常
に監視するものであり、例えば2分から3分間に1回の
監視を行う。そして、正常であるならば、要求が加わっ
た時にそのデータを送出(受信)する。
When data is transmitted to the computer system of the node B by the processing of the computer system 20, the transmission function program TRKA 'transmits data corresponding to the generated request when the line is opened (transmittable) via the communication software TRPA'. Transmit to B side. Then, the data is fetched by the communication software TRPB 'on the node B side, and the data requested by the transmission function program TRKB' is reproduced and stored in a file or the like (not shown). Then, the computer system 21 creates, for example, a manufacturing process instruction and the like using the data. The transmission function programs TRKA 'and TRKB' provide a means for determining whether or not the line is always normal in addition to the transmission from the node A to the node B as described above, and similarly, the transmission from the node B to the node A. Have. This discriminating means always monitors at time intervals set in advance by a timer or the like, and performs monitoring once every two to three minutes, for example. If the data is normal, the data is transmitted (received) when a request is added.

一方、判別手段での回線が正常であるかの監視におい
て異常であると判断した時には、伝送機能プログラムTR
KA′、TRKB′はネットワーク管理プログラムNKPA、NKPB
に対し、実行権を委譲する。すなわち伝送可能となるま
で待機状態となる。
On the other hand, when it is determined by the determination means that the line is normal, the transmission function program TR is determined to be abnormal.
KA 'and TRKB' are network management programs NKPA and NKPB
Delegation of execution rights to That is, the system is in a standby state until transmission becomes possible.

ネットワーク管理プログラムNKPA、NKPBはネットワー
クステータスを格納するステータステーブルを有してい
る。第3図は、実施例のステータステーブルの構成を示
す図である。各ノードA、ノードBのネットワーク管理
プログラムNKPA、NKPBは各ノードが接続すべきノードに
対してそれぞれ第3図のステータステーブルを有してい
る。例えばノードA、ノードBの通信ステータスである
ならば、自ノードステータスSAがノードAであり、他ノ
ードステータスSBがノードBに対応し、それらの通信制
御権における情報SSTによって構成されている。すなわ
ち、自ノードステータスSAはノードAのテーブルなら
ば、ノードAの状態を表すステータスであり、他ノード
ステータスSBがノードBに対応するステータスである。
そして自ノードステータスの状態は、ON(開設)、OFF
(閉設)、ERROR(異常)がある。また、同様に他ノー
ドステータスも同様である。また、情報SSTはネットワ
ーク、いわゆる通信ソフトによって通信制御部を介して
通信が可能であるかを表すステータスであり、伝送機能
プログラムTRKA′、TRKB′は通信不可能であるときに通
信不可のステータスを格納し、ネットワーク管理プログ
ラムNKPA、NKPBは回線が開設されている場合に、通信可
能となった時に通信可のステータスを格納する。尚、そ
れぞれの伝送機能プログラムTRKA′、TRKB′とネットワ
ーク管理プログラムNKPA、NKPBはこれらのステータスに
よって実行権を委譲する。
The network management programs NKPA and NKPB have status tables for storing network status. FIG. 3 is a diagram showing a configuration of a status table according to the embodiment. The network management programs NKPA and NKPB of each of the nodes A and B have a status table shown in FIG. 3 for each node to which each node is to be connected. For example, if the communication status is the communication status of the nodes A and B, the own node status SA corresponds to the node A, and the other node status SB corresponds to the node B, and is constituted by the information SST in their communication control authority. That is, in the case of the table of the node A, the own node status SA is a status representing the state of the node A, and the other node status SB is a status corresponding to the node B.
And the status of own node status is ON (open), OFF
(Closed), ERROR (abnormal). Similarly, the status of other nodes is the same. The information SST is a status indicating whether communication is possible via a communication control unit by a network, that is, communication software, and the transmission function programs TRKA ′ and TRKB ′ indicate a communication disabled status when communication is disabled. The network management programs NKPA and NKPB store a communication enabled status when communication becomes possible when a line is established. The transmission function programs TRKA 'and TRKB' and the network management programs NKPA and NKPB transfer execution rights according to these statuses.

前述したようにネットワーク管理プログラムNKPA、NK
PBに実行権が移った場合、ネットワーク管理プログラム
NKPA、NKPBは伝送機能プログラムTRKA′、TRKB′と同様
に特定時間単位で回線の監視を行う。
As mentioned above, the network management programs NKPA, NK
If the execution right is transferred to PB, the network management program
NKPA and NKPB monitor the line in a specific time unit similarly to the transmission function programs TRKA 'and TRKB'.

前述の如く運用管理者の指示によって通信の回線が開
設された場合には、ネットワーク管理プログラムNKPAは
常に通信ソフトTRPA′並びに通信制御装置を介してノー
ドBに対する通信が可能であるかを判断し、伝送機能プ
ログラムTRKA′に対し実行権を委譲する。
As described above, when a communication line is opened according to the instruction of the operation manager, the network management program NKPA always determines whether communication with the node B is possible via the communication software TRPA 'and the communication control device, The execution right is transferred to the transmission function program TRKA '.

運用管理者によって閉設、または異常であるがために
閉設された場合には、ネットワーク管理プログラムNKP
A、NKPBによって次の開設を管理(判別)する。
If the system is closed by the operation administrator or closed due to abnormalities, the network management program NKP
A, NKPB manages (determines) the next establishment.

すなわち、ネットワーク管理プログラムNKPA、NKPBに
起動がかかり、開設指示がノードオペレータいわゆる運
用管理者から加わると、要求する相手のノードに対して
開設メッセージを発信する。相手のノードのネットワー
ク管理プログラムが開設指示されていれば、ステータス
を“ON"と返答する。この時伝送路やノードに異常があ
れば、“ERROR"となり、その旨をステータステーブルに
セットする。以後、一定周期で相手ノードが正常に稼働
するまで開設メッセージを再送する。このメッセージの
発信は自局のノードオペレータから閉設指示が出される
か、相手のノードオペレータから閉設指示による閉設メ
ッセージを受け取ると停止される。
That is, the network management programs NKPA and NKPB are activated, and when an opening instruction is added from a node operator, that is, an operation manager, an opening message is transmitted to the requesting node. If the establishment of the network management program of the partner node is instructed, the status is returned as "ON". At this time, if there is an error in the transmission path or node, "ERROR" is set, and that fact is set in the status table. Thereafter, the establishment message is resent at regular intervals until the partner node operates normally. The transmission of this message is stopped when a closing instruction is issued from the node operator of the own station or when a closing message according to the closing instruction is received from the partner node operator.

一方、情報伝送中異常が発生すると、通信制御権は伝
送機能プログラムTRKA′、TRKB′からネットワーク管理
プログラムNKPA,NKPBに移り、そこで、開設監視シーケ
ンスを復旧するまで発信し続ける。換言するならば開設
可であるかを判別し続ける。正常に復帰すると、通信制
御権を伝送機能プログラムTRKA′、TRKB′に戻す。ま
た、さらに自ノードが異常停止した場合には、自ノード
が稼働した後、情報伝送中(キュー)の状態を開設メッ
セージの受信後再開する。尚、前述した動作は各ノード
間でそれぞれ行われるものである。
On the other hand, if an error occurs during information transmission, the communication control right is transferred from the transmission function programs TRKA 'and TRKB' to the network management programs NKPA and NKPB, where transmission is continued until the opening monitoring sequence is restored. In other words, it continues to determine whether the establishment is possible. Upon normal recovery, the communication control right is returned to the transmission function programs TRKA 'and TRKB'. Further, when the own node is abnormally stopped, the state of information transmission (queue) is restarted after receiving the opening message after the own node operates. The above-described operation is performed between each node.

第4図は実施例の動作処理フローチャートである。例
えば電源“ON"によってネットワーク管理プログラムNKP
Aが実行を開始すると自ノードステータスを“ON"に設定
する。すなわち、第3図におけるステータステーブルの
自ノードステータスを“ON"とする(S1)。このステー
タスの“ON"は自ノードが通信できる状態を表してい
る。例えば他のノードBから要求が加わった場合に、た
だちに通信できることを表している。処理S1の後には運
用管理者から開設指示が加わったか否か、すなわち開設
指示M1が加わったか否かを判別S2する。開設指示が加わ
らない場合には、処理S1と判別処理S2を順次繰り返す。
FIG. 4 is an operation processing flowchart of the embodiment. For example, the network management program NKP is turned on when the power is turned on.
When A starts execution, it sets its own node status to "ON". That is, the own node status in the status table in FIG. 3 is set to "ON" (S1). “ON” in this status indicates that the own node can communicate. For example, when a request is added from another node B, communication can be performed immediately. After the process S1, it is determined whether or not an opening instruction has been added from the operation manager, that is, whether or not the opening instruction M1 has been added is determined S2. When the opening instruction is not added, the processing S1 and the determination processing S2 are sequentially repeated.

一方、開設指示が入力した(Y)時には、続いて開設
メッセージを発信する(S3)。この開設メッセージはノ
ードBに対して発信するものである。開設メッセージを
発信したにも係わらず、他ノードが応答しない場合があ
る。例えば同時に双方のノードから開設メッセージ応答
が相互に発信された場合である。このため、開設メッセ
ージ発信の処理S3に続いて開設応答メッセージ有りかを
判別する(S4)。開設応答メッセージがない(N)時は
他ノードステータス、すなわちノードBに対応するステ
ータステーブルの他ノードステータスをエラー(ERRO
R)とする。そして、再度開設メッセージ発信処理S3か
ら実行する。またこの判別S4と同時に開設メッセージ受
信ありかの判別S5をも行っており、開設メッセージ受信
ありの時(Y)には開設応答メッセージを発信する(S
7)。そしてネットワークステータスの他ノードステー
タスをオンに設定する(S6)。また判別S4で(Y)、判
別S5で(Y)の時も同様に処理S6を実行する。
On the other hand, when the establishment instruction is input (Y), an establishment message is subsequently transmitted (S3). This establishment message is transmitted to the node B. There is a case where another node does not respond even though the establishment message is transmitted. For example, this is a case where both nodes simultaneously transmit an open message response. For this reason, it is determined whether there is an opening response message following the opening message transmission process S3 (S4). When there is no establishment response message (N), the status of the other node, that is, the status of the other node in the status table corresponding to the node B is indicated by an error (ERRO).
R). Then, the process is executed again from the opening message transmission process S3. At the same time as the determination S4, a determination S5 of whether or not the establishment message has been received is also performed. When the establishment message is received (Y), an establishment response message is transmitted (S5).
7). Then, the node status other than the network status is set to ON (S6). Further, the processing S6 is similarly performed when the determination is S4 (Y) and the determination S5 is (Y).

一方、ノードBにおいても開設メッセージ発信処理S3
によって開設メッセージを発信し、処理S4によって開設
応答メッセージを受信した場合には、ノードBのステー
タステーブルも同様に自ノード並びに他ノードのステー
タスが“ON"となる。
On the other hand, also in the node B, the establishment message sending process S3
When the establishment message is transmitted by the process S4 and the establishment response message is received by the process S4, the statuses of the own node and the other nodes are similarly set to "ON" in the status table of the node B.

処理S6の後にはネットワーク監視処理S9、更には閉設
指示有りかの判別S10、更には閉設受信有かの判別S11を
実行する。判別S10は運用管理者における閉設入力の検
出であり、運用管理入力からの閉設指示であった時
(Y)には、ノードBに対して閉設メッセージを発信
(S12)、続いて閉設応答メッセージ受信(S13)を実行
し、後述の処理S15を実行する。なお、処理S13において
は、閉設応答メッセージ受信とは限らず、他の指示受信
である場合もある。
After the process S6, a network monitoring process S9, a determination S10 as to whether there is a closing instruction, and a determination S11 as to whether there is a closing reception are performed. The discrimination S10 is a detection of the closing input by the operation manager. When the closing instruction is issued from the operation management input (Y), a closing message is transmitted to the node B (S12), and then the closing is performed. The setting response message is received (S13), and the process S15 described later is executed. In step S13, the received message is not limited to the reception of the closing response message, but may be another instruction.

処理S11において、閉設メッセージ受信ありと判別し
た時には、閉設応答メッセージを発信する(S14)。閉
設メッセージをノードBから受信した場合、更には運用
管理者から閉設指示が入力され、同様にノードBから閉
設応答メッセージが加わった場合には他ノードのステー
タスをオフに設定する処理S15を実行する。また、更に
はこの時には自ノードステータスをもOFFとする。そし
て次には前述の処理S2を実行し、ノードステータスを
“ON"とする指示を待つ。尚、処理S1とS2は逆であって
も良い。すなわち、処理S2を実行判別し、開設指示があ
った時処理S1を実行しても良い。
When it is determined in the processing S11 that a closing message has been received, a closing response message is transmitted (S14). When a closing message is received from the node B, a closing instruction is further input from the operation manager, and similarly, when a closing response message is added from the node B, the status of the other node is set to off. Execute At this time, the own node status is also turned off. Then, the above-described process S2 is executed, and an instruction to set the node status to “ON” is awaited. Note that the processes S1 and S2 may be reversed. That is, it may be determined that the process S2 is to be executed, and the process S1 may be executed when there is an opening instruction.

一方、判別処理S9において、ネットワーク監視である
と判別した時には(本発明の実施例においては常にネッ
トワークを監視しており、例えばタイマ等によって起動
がかかる)監視メッセージ発信処理S16を実行する。つ
づいて伝送動作中または応答メッセージ(監視応答メッ
セージ)あり(S17)、伝送異常または応答メッセージ
なし(S18)、更には監視メッセージ受信(S19)の判別
を同時に行う。伝送動作中または応答メッセージありの
判別(S17)において、伝送動作中であるか、さらには
応答メッセージを受けた場合には(Y)、タイマの3分
間待ち処理S20を実行する。そしてこの処理S20の待ちの
後、処理S26へ移行する。尚、第4図中〜は、図面
間の接続子である。一方、判別処理S18において伝送異
常または応答メッセージなしと判別した時(Y)には後
述する処理S22から実行する。また、監視メッセージを
受信した時(S19)には、他ノードに対し、監視応答メ
ッセージ発信処理S21を行った後再度判別S17〜S19を繰
り返す。
On the other hand, in the determination process S9, when it is determined that the monitoring is the network monitoring (in the embodiment of the present invention, the network is constantly monitored, and is activated by, for example, a timer), a monitoring message transmission process S16 is executed. Subsequently, it is simultaneously determined whether the transmission is in progress or a response message (monitoring response message) is present (S17), a transmission error or no response message is present (S18), and furthermore, a monitoring message is received (S19). If it is determined that a transmission operation is being performed or a response message is received (S17), or if a response message is received (Y), a three-minute waiting process S20 of a timer is executed. Then, after waiting for the process S20, the process shifts to the process S26. Incidentally, in FIG. 4 are connectors between the drawings. On the other hand, when it is determined in the determination processing S18 that there is no transmission error or no response message (Y), the processing is executed from the processing S22 described later. When the monitoring message is received (S19), the monitoring response message transmission process S21 is performed on the other nodes, and then the determinations S17 to S19 are repeated again.

前述の起動において開設メッセージ発信S3の開設メッ
セージの発信は、他のノードからの開設応答メッセージ
有り(S4)と対をなし、この判別S4によって開設メッセ
ージ発信に対する応答を判別している。また、開設メッ
セージ発信S3において例えば他ノードステータスがエラ
ー設定されており、他ノードが応答しない場合には(開
設応答メッセージを受信しない場合には)順次繰り返
し、開設メッセージの発信S3を行う。
In the activation described above, the transmission of the opening message of the opening message transmission S3 is paired with the presence of an opening response message from another node (S4), and the determination S4 determines the response to the transmission of the opening message. For example, when the status of the other node is set to error in the establishment message transmission S3, and the other node does not respond (when the establishment response message is not received), the establishment message transmission S3 is sequentially repeated.

また、閉設メッセージ発信S12に対応して他ノードに
おける判別S11で閉設メッセージ受信ありとの判別を行
い、同様に他ノードの閉設応答メッセージ発信S14を閉
設応答メッセージ受信S13で検出する。
Further, in response to the closing message transmission S12, it is determined in the determination S11 in the other node that the closing message has been received, and similarly, the closing response message transmission S14 of the other node is detected in the closing response message reception S13.

一方、前述した判別S18において、伝送異常または応
答メッセージなしと判別した場合(Y)には、続いて他
ノードステータスをエラーと設定する(S22)。すなわ
ち伝送異常か、応答メッセージがない場合には何らかの
状態で異常が発生した場合であるので、ノードBからの
応答がない(ノードB間での異常である)として、他ノ
ードステータスをエラーと設定する。続いて伝送機能プ
ログラムから異常状態通知有(S23)か、あるいは長期
間ネットワーク停止状態、例えば30分であるかを判別S2
4する。伝送機能プログラムから異常状態通知有と判別
(Y)した時には第4図(b)に示す監視シーケンスプ
ログラムの処理を実行し(S25)、処理S25に続いて他ノ
ードステータス“ON"を設定し、続いて通信制御権に伝
送機能プログラムIDを設定する(S27)。そして、判別
処理S9から再度実行する。これらの設定処理S26,S27は
すべてネットワークステータス(第3図のステータステ
ーブル)に対する処理である。
On the other hand, when it is determined in the above-described determination S18 that there is no transmission error or no response message (Y), the status of the other node is subsequently set to error (S22). That is, since there is a transmission error or an error occurs in some state when there is no response message, it is determined that there is no response from the node B (it is an error between the nodes B) and the status of the other node is set to error. I do. Subsequently, it is determined from the transmission function program whether there is an abnormal state notification (S23) or whether the network has been stopped for a long period of time, for example, 30 minutes S2.
4 When it is determined from the transmission function program that there is an abnormal state notification (Y), the processing of the monitoring sequence program shown in FIG. 4B is executed (S25), and the other node status “ON” is set following the processing S25, Subsequently, the transmission function program ID is set to the communication control right (S27). Then, the process is executed again from the determination process S9. These setting processes S26 and S27 are all processes for the network status (status table in FIG. 3).

一方、長時間ネットワーク停止状態であるかの判別S2
4で停止状態であると判別した時には運用管理者に対し
て異常通報S28を表示する。例えばこれはCRT等の運用管
理者に対する表示である。そして判別処理S9から再度実
行する。
On the other hand, whether the network has been stopped for a long time S2
When it is determined in step 4 that the operation is in the stopped state, an error notification S28 is displayed to the operation manager. For example, this is a display for an operation manager such as a CRT. Then, the processing is executed again from the determination processing S9.

以上のような動作によってネットワーク管理プログラ
ムNKPA、NKPBは実行する。
The network management programs NKPA and NKPB are executed by the above operations.

また、ノードAの伝送機能プログラムは起動がかかる
と、まず第1に開設状態であるかを判別S30する。更に
は閉設指示ありかを判別する(S31)。閉設状態でない
時には(N)、タイマ待ち(S32)を実行し、再度判別S
30,S31を実行する。判別S31で閉設指示有の時(Y)に
は再度開設状態でありかを判別する(S30)。開設状態
であり、さらに閉設指示なしの時には伝送依頼有りかを
判別S33する。これは伝送依頼(のキュー)を判別す
る。伝送依頼がない場合には、タイマ待ち(3分)処理
S34を実行し、再度伝送依頼有りの判別S33を実行する。
すなわち、処理S33,S34を繰り返し実行し、伝送要求が
発生するかあるいは閉設指示が加わるまで、繰り返す。
判別S33と同時に閉設指示ありかを判別S35しており、閉
設指示あり(Y)の時には再度処理S30,S31を実行し、
開設状態であるか閉設指示有りかを判別する。
Further, when the transmission function program of the node A is activated, first, it is determined whether or not the node A is in the opened state (S30). Further, it is determined whether there is a closing instruction (S31). If it is not in the closed state (N), a timer wait (S32) is executed, and the determination S is performed again.
Execute 30, S31. If there is a closing instruction in determination S31 (Y), it is determined again whether or not it is in the open state (S30). In the opened state, and when there is no closing instruction, it is determined whether there is a transmission request S33. This determines the transmission request (queue). If there is no transmission request, wait for timer (3 minutes)
The step S34 is executed, and the judgment S33 of the transmission request is executed again.
That is, the processes S33 and S34 are repeatedly executed until a transmission request is generated or a closing instruction is added.
At the same time as the determination S33, it is determined whether or not there is a closing instruction S35, and when there is a closing instruction (Y), the processes S30 and S31 are executed again,
It is determined whether it is in the open state or instructed to close.

伝送依頼があった場合には、伝送処理S36を実行し、
例えばノードA内に格納されている伝送すべきデータを
伝送し、ノードBはそれに対応し同データを受信し、メ
ールボックス内にその情報を格納する。続いてこの伝送
処理S36において異常が発生したか否かを判別(S37)
し、伝送異常でない時には(N)、判別処理(S33)か
ら実行し、再度他の実行依頼があるかの判別を行い、同
様の動作を繰り返す。
If there is a transmission request, execute transmission processing S36,
For example, the data to be transmitted stored in the node A is transmitted, and the node B correspondingly receives the data and stores the information in the mailbox. Subsequently, it is determined whether or not an abnormality has occurred in the transmission processing S36 (S37).
If there is no transmission error (N), the process is started from the determination process (S33), and it is determined again whether there is another execution request, and the same operation is repeated.

一方、伝送に異常が発生した場合には、まず他ノード
ステータスにエラー(ERROR)を設定する処理(S38)を
行い、つづいて通信制御権をネットワーク管理プログラ
ムに設定する処理S39を実行する。処理S38以後はエラー
であるので伝送機能プログラムは実行することができ
ず、通信制御権をネットワーク管理プログラムに設定す
る処理を実行し、すなわち設定待ち状態となる。この設
定待ち状態においては、判別S40において、ネットワー
クが復旧したか否かを判別し、復旧していない時には3
分タイマ待ち処理S41を実行し、再度同様の判別S40を繰
り返す。ここで復旧した場合(Y)には、処理S36より
実行する。例えば処理S36が終了した場合には、伝送異
常判別の処理S37によって伝送異常でないと判別される
と、判別S33から伝送依頼ありか否の判別を実行する。
なお、この時S33並びにS35において閉設指示が加わった
場合には閉設指示ありとなり、処理S30から実行するこ
ととなる。
On the other hand, when an error occurs in the transmission, first, processing (S38) for setting an error (ERROR) in the status of the other node is performed, and then processing S39 for setting the communication control right to the network management program is executed. Since the processing after step S38 is an error, the transmission function program cannot be executed, and the processing for setting the communication control right to the network management program is executed, that is, the setting wait state is set. In the setting waiting state, it is determined in step S40 whether or not the network has been restored.
The minute timer waiting process S41 is executed, and the same determination S40 is repeated again. Here, when the recovery is performed (Y), the processing is executed from the processing S36. For example, when the process S36 is completed, if it is determined that there is no transmission error in the transmission error determination process S37, it is determined from the determination S33 whether a transmission request has been issued.
At this time, if a closing instruction is added in S33 and S35, it means that there is a closing instruction, and the processing is executed from step S30.

第5図は前記ネットワーク管理プログラム、並びに伝
送機能プログラムの状態を表す説明図である。初期状態
においては、ネットワーク管理プログラムが実行してお
り、常にネットワークの状態がどのような状態であるか
を管理する。そして伝送要求が発生した場合には伝送機
能プログラムが実行し、伝送すべきデータの伝送を実行
する。伝送中にX点において、相手ノードの異常停止、
または伝送障害等によって異常が発生した場合には、伝
送を停止し、ネットワーク管理プログラムが伝送状態の
管理を開始する。そして、この管理で相手ノードの移
動、または伝送の障害復旧であった場合には、伝送を再
開する。そして完了とともに再度ネットワーク管理プロ
グラムに通信制御権を委譲する。なお、異常が発生した
場合には、利用者へ異常ありと例えばCRT等の表示によ
り運用管理者に通知する。またさらに相手ノードの移
動、または伝送の障害の復旧時には同様に復旧したこと
を通知する。さらには再開し、データの転送を終了した
場合にもその終了を通知する。
FIG. 5 is an explanatory diagram showing states of the network management program and the transmission function program. In the initial state, the network management program is running, and always manages the state of the network. When a transmission request is issued, the transmission function program is executed to execute transmission of data to be transmitted. At the point X during transmission, the partner node abnormally stops,
Alternatively, when an abnormality occurs due to a transmission failure or the like, the transmission is stopped, and the network management program starts managing the transmission state. Then, in this management, if the other node has been moved or the transmission has been restored, the transmission is restarted. Upon completion, the communication control right is transferred to the network management program again. When an abnormality occurs, the user is notified of the abnormality to the operation manager by displaying, for example, a CRT or the like. Further, at the time of recovery from the movement of the partner node or the transmission failure, it also notifies that it has been recovered. Further, when the data transfer is resumed and the data transfer is completed, the completion is notified.

以上述べたようにネットワーク管理プログラムにおい
て、常に通信状態を管理し、障害が発生した時にネット
ワーク管理プログラムで障害復旧を直ちに検出し、伝送
機能プログラムによって再度伝送を再開するので、従来
のように運用管理者による再開指示がなくても伝送を再
開することができ、運用者の業務の軽減、ネットワーク
管理工数の低減、さらには伝送時間の短縮を図ることが
できる。
As described above, in the network management program, the communication state is always managed, and when a failure occurs, the network management program immediately detects the recovery from the failure and restarts the transmission again using the transmission function program. The transmission can be resumed even if there is no resumption instruction by the operator, so that the work of the operator can be reduced, the network management man-hour can be reduced, and the transmission time can be shortened.

前述した本発明の実施例においては、ノードAとノー
ドB間のデータ伝送について説明したがこれに限らず複
数のノード間に対しても同様である。
In the above-described embodiment of the present invention, the data transmission between the node A and the node B has been described. However, the present invention is not limited to this, and the same applies to a plurality of nodes.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、通信状態を通知す
るので、あるノードに接続しているすべてのノードとの
通信状態(ノードの稼働状態、伝送路の状態)が一元的
に把握できるとともに各ノードの運用時間帯の相違に関
係なく運用可能なのでネットワーク管理工数が削減でき
る。さらに利用者の再送用操作等も不要であり、異常発
生や復旧及び伝送完了の状態が逐次利用者に通報され、
通信状況の追跡が容易となる。
As described above, according to the present invention, the communication state is notified, so that the communication state (operating state of the node, state of the transmission path) with all the nodes connected to a certain node can be unified and grasped. Since the operation can be performed regardless of the difference in the operation time zone of each node, the number of network management steps can be reduced. In addition, the user does not need to perform retransmission operations, etc.
Tracking the communication status becomes easy.

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

第1図は本発明の機能ブロック図、 第2図は本発明の実施例のシーケンス構成図、 第3図は本発明の実施例のスターテステーブル図、 第4図a,b,c,dは本発明の実施例の動作処理フローチャ
ート、 第5図は本発明の実施例のシーケンス説明図、 第6図は従来方式のシステム構成図である。 1……通信手段、 2……伝送制御手段、 3……回線監視手段、 4……通信管理手段.
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a sequence configuration diagram of an embodiment of the present invention, Fig. 3 is a status table diagram of the embodiment of the present invention, Figs. 4a, b, c, d are FIG. 5 is a sequence explanatory diagram of an embodiment of the present invention, and FIG. 6 is a system configuration diagram of a conventional system. 1 ... communication means, 2 ... transmission control means, 3 ... line monitoring means, 4 ... communication management means.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも1台の装置に対し通信を行う通
信手段と、 送信すべき情報が加わり、前記通信手段を介して前記装
置への情報の伝送を制御する伝送制御手段と、 前記通信手段における通信の結合状態を特定時間単位で
監視する回線監視手段と、 該回線監視手段が前記通信の結合状態の異常を検出した
時に、前記伝送制御手段に伝送停止を指示するととも
に、特定時間単位で通信の結合状態が復旧したか否かを
判別し、前記通信の結合状態が復旧したと判別した場合
に前記伝送制御手段に対して伝送再開を指示する通信管
理手段とを備えることを特徴とする通信処理装置。
Communication means for communicating with at least one device, transmission control means for adding information to be transmitted, and controlling transmission of information to said device via said communication means; A line monitoring means for monitoring the connection state of the communication in a specific time unit, and when the line monitoring means detects an abnormality in the connection state of the communication, instructs the transmission control means to stop transmission, and in a specific time unit. A communication management unit that determines whether or not the connection state of the communication is restored, and instructs the transmission control unit to restart transmission when it is determined that the connection state of the communication is restored. Communication processing device.
【請求項2】前記通信管理手段により前記通信状態の異
常及び復旧を検出された場合に、該通信状態の異常及び
復旧を回線の利用者に通知し、前記伝送制御手段による
伝送が再開及び終了した場合に、該伝送の再開及び終了
を前記回線の利用者に通知する通知手段を、さらに備え
ることを特徴とする請求項1に記載の通信処理装置。
2. When the communication management means detects the abnormality and recovery of the communication state, the communication management means notifies the user of the line of the abnormality and recovery of the communication state, and the transmission by the transmission control means is resumed and terminated. 2. The communication processing apparatus according to claim 1, further comprising a notification unit that notifies a user of the line of the restart and end of the transmission when the transmission is performed.
JP1082036A 1989-03-31 1989-03-31 Communication processing device Expired - Fee Related JP2889888B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1082036A JP2889888B2 (en) 1989-03-31 1989-03-31 Communication processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1082036A JP2889888B2 (en) 1989-03-31 1989-03-31 Communication processing device

Publications (2)

Publication Number Publication Date
JPH02260947A JPH02260947A (en) 1990-10-23
JP2889888B2 true JP2889888B2 (en) 1999-05-10

Family

ID=13763296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1082036A Expired - Fee Related JP2889888B2 (en) 1989-03-31 1989-03-31 Communication processing device

Country Status (1)

Country Link
JP (1) JP2889888B2 (en)

Also Published As

Publication number Publication date
JPH02260947A (en) 1990-10-23

Similar Documents

Publication Publication Date Title
US7548973B2 (en) Managing a high availability framework by enabling and disabling individual nodes
US5027269A (en) Method and apparatus for providing continuous availability of applications in a computer network
US8332506B2 (en) Network monitor program executed in a computer of cluster system, information processing method and computer
JP2005209191A (en) Remote enterprise management of high availability system
US5894547A (en) Virtual route synchronization
JP2773424B2 (en) Network system and connection computer switching method
JP2889888B2 (en) Communication processing device
US5583986A (en) Apparatus for and method of duplex operation and management for signalling message exchange no. 1 system
EP0607660B1 (en) Data processing system
JP3431796B2 (en) Computer communication monitoring local area network (LAN) card
JPH10171769A (en) Composite computer system
JP4284732B2 (en) Production system
JP3082704B2 (en) Communication device management method
JP3465637B2 (en) Server and control method thereof
JPH02310755A (en) Health check system
JP2705617B2 (en) Power off method
JPH09160875A (en) Multi-agent mutual back-up system
JPH04242467A (en) Combined computer system
JPH07182297A (en) Server/client type network system
JPH08237249A (en) Network management system
JP2002342095A (en) Method for detecting/restoring abnormal end of application
JPH04188234A (en) No response supervisory system in multi-job system
JP2531831B2 (en) Network network communication status monitoring device
JPH0714173B2 (en) Data communication method
JP2000305876A (en) Method for monitoring connection activity

Legal Events

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