JP3471913B2 - Computer system - Google Patents

Computer system

Info

Publication number
JP3471913B2
JP3471913B2 JP22299994A JP22299994A JP3471913B2 JP 3471913 B2 JP3471913 B2 JP 3471913B2 JP 22299994 A JP22299994 A JP 22299994A JP 22299994 A JP22299994 A JP 22299994A JP 3471913 B2 JP3471913 B2 JP 3471913B2
Authority
JP
Japan
Prior art keywords
data
computer
pointer
transmission
processing
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
JP22299994A
Other languages
Japanese (ja)
Other versions
JPH0887425A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP22299994A priority Critical patent/JP3471913B2/en
Publication of JPH0887425A publication Critical patent/JPH0887425A/en
Application granted granted Critical
Publication of JP3471913B2 publication Critical patent/JP3471913B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、オンライン回線によ
り対向するコンピュータとデータを送受する2重化され
たコンピュータシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplicated computer system that sends and receives data to and from a facing computer via an online line.

【0002】[0002]

【従来の技術】従来、例えば気象情報システム等のよう
な、高稼働率、高信頼性が要求されるオンラインデータ
通信システムでは、障害発生時のデータ欠落防止や障害
発生後の運用再開を高速に行うために、デュアル方式が
採用され、図14に示されるように構成されている。
2. Description of the Related Art Conventionally, in an online data communication system, such as a weather information system, which is required to have a high operating rate and high reliability, it is possible to prevent data loss when a failure occurs and restart the operation after the failure occurs at high speed. In order to do so, the dual method is adopted and is configured as shown in FIG.

【0003】つまり、コンピュータ100−1、100
−2のいずれかは、通信制御装置4及び回線3を介して
図示しない対向するコンピュータと通信を行う。通信制
御装置4と回線3との間には、切換装置5が介装され、
主系のコンピュータ(ここでは、100−1)が選択的
に通信制御装置5に接続されて通信可能である。コンピ
ュータ100−1には送信処理101−1及び受信処理
102−1が設けられており、送信処理101−1は必
要なデータを対応するコンピュータへ送信し、受信処理
102−1は対向するコンピュータから送られてくるデ
ータを受信する。送信処理101−1は送信処理を終了
すると送信後処理105−1にコントロールを渡す。こ
れにより、送信後処理105−1は、送信に係る送信フ
ァイル107内のファイルについて後処理する。また、
受信処理102−1は受信処理を終了すると受信後処理
106−1にコントロールを渡す。これにより受信後処
理106−1は、受信に係るファイルを受信ファイル1
08−1に蓄積するなどの後処理を行う。
That is, the computers 100-1 and 100
Any one of -2 communicates with an opposite computer (not shown) via the communication control device 4 and the line 3. A switching device 5 is provided between the communication control device 4 and the line 3,
A main computer (here, 100-1) is selectively connected to the communication control device 5 and can communicate. The computer 100-1 is provided with a transmission process 101-1 and a reception process 102-1. The transmission process 101-1 transmits necessary data to the corresponding computer, and the reception process 102-1 is transmitted from the opposite computer. Receive the data that is sent. When the transmission process 101-1 finishes the transmission process, it passes control to the post-transmission process 105-1. As a result, the post-transmission processing 105-1 post-processes the files in the transmission file 107 related to the transmission. Also,
Upon completion of the reception process, the reception process 102-1 transfers control to the post-reception process 106-1. As a result, the post-reception processing 106-1 determines that the file related to reception is the reception file 1
Post-processing such as accumulation in 08-1 is performed.

【0004】また、このシステムでは、主系のコンピュ
ータ100−1と従系のコンピュータ100−2の処理
結果を等しくして、障害時の切り換えが可能となるよう
に、主系のコンピュータ100−1から通信の結果を従
系のコンピュータ100−2へ転送している。つまり、
送信処理101−1によるデータ送信が終了した後に、
送信同期送信処理103−1は、送信したデータをコン
ピュータ100−2の送信同期受信処理103−2へ転
送する。これを受けた送信同期受信処理103−2は、
送信後処理105−2へ上記で受取ったデータを送出す
ると、送信後処理105−2は、送信に係るファイルを
送信ファイル107−2に蓄積するなどの後処理を行
う。また、受信処理102−1がデータの受信を完了し
た後に、受信同期送信処理104は、受信処理102−
1が受信したデータをコンピュータ100−2の受信同
期受信処理104−2へ送出する。受信後処理106は
受信同期受信処理104−2から、コンピュータ100
−1が受信したデータを受取り、受信に係るファイルを
受信ファイル108−2に蓄積する等の後処理を行う。
In this system, the processing results of the master computer 100-1 and the slave computer 100-2 are equalized so that switching can be performed in the event of a failure so that the master computer 100-1 can switch. To the slave computer 100-2. That is,
After the data transmission by the transmission process 101-1 is completed,
The transmission synchronization transmission processing 103-1 transfers the transmitted data to the transmission synchronization reception processing 103-2 of the computer 100-2. The transmission synchronization reception process 103-2 which receives this,
When the data received above is sent to the post-transmission processing 105-2, the post-transmission processing 105-2 performs post-processing such as accumulating a file related to transmission in the transmission file 107-2. Further, after the reception process 102-1 completes the reception of the data, the reception synchronization transmission process 104 performs the reception process 102-
The data received by No. 1 is sent to the reception synchronization reception process 104-2 of the computer 100-2. The post-reception processing 106 is the reception synchronization reception processing 104-2 from the computer 100.
-1 receives the received data, and performs post-processing such as storing a file related to the reception in the received file 108-2.

【0005】上記動作の結果、従系のコンピュータ10
0−2は主系と同様に通信結果を有し後処理しているか
ら、外見上は独自に処理を行い、入出力を行っているよ
うに見える。
As a result of the above operation, the subordinate computer 10
Since 0-2 has the communication result and post-processes similarly to the main system, it seems that the process is independently performed and the input / output is performed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
コンピュータシステムでは、主系のコンピュータ100
−1では、送信同期送信処理103−1、受信同期送信
処理103−2が働き、主系と従系とが同一の処理を行
っているように見せる処理が必要で、従系と異なるプロ
グラムを主系が備える必要がある。つまり、従系が主系
に代わって通信するときには、主系がダウンしているこ
とを前提とし、同期のための処理が必要でないから、主
系と従系とのプログラムが異ならざるを得ない。
However, in the above computer system, the main computer 100 is used.
In -1, the transmission synchronous transmission processing 103-1 and the reception synchronization transmission processing 103-2 are required to operate, and it is necessary to perform processing to make the main system and the slave system appear to be performing the same process. The main system needs to be equipped. In other words, when the slave system communicates on behalf of the master system, it is assumed that the master system is down, and processing for synchronization is not required, so the programs of the master system and slave system must be different. .

【0007】更に、従系は主系がデータを送って来ない
限り、通信に係るデータに関し処理を行うことができ
ず、従系の処理が遅れることになった。また、主系で
は、受信完了後、または、送信完了後に、主系と従系と
の同期をとる処理を行っており、主系に障害が生じたと
きに、従系に切り換わったとしても、送信完了後に送信
データが転送されていない限りは従系は送信データを把
握しておらず、また受信途中の場合には、受信データの
転送がなされていないから受信途中の受信データを把握
することができないことになり、主系として素早く立ち
上がれない問題点があった。
Further, the slave system cannot process data relating to communication unless the master system sends data, which delays the process of the slave system. Further, the master system performs processing for synchronizing the master system and the slave system after completion of reception or after completion of transmission, and even when the master system fails, even if the master system switches to the slave system. As long as the transmission data is not transferred after the transmission is completed, the subordinate system does not know the transmission data, and if it is in the middle of reception, the reception data is not transferred and the reception data in the middle of reception is grasped. It became impossible to do so, and there was a problem that the main system could not start up quickly.

【0008】本発明は上記のような従来のコンピュータ
システムの問題点を解決せんとしてなされたもので、そ
の目的は、複数の従系コンピュータが主系と同一のプロ
グラム及び条件で動作することができるコンピュータシ
ステムを提供することである。また、本発明の他の目的
は、主系と従系との切り換えを行ったときに、新たに主
系となったコンピュータが素早い立上がりを行うことの
できるコンピュータシステムを提供することである。
The present invention has been made to solve the problems of the conventional computer system as described above, and an object thereof is to allow a plurality of subordinate computers to operate under the same program and conditions as the main system. It is to provide a computer system. Another object of the present invention is to provide a computer system in which a new master computer can quickly start up when switching between a master system and a slave system.

【0009】[0009]

【課題を解決するための手段】本願の請求項1に記載の
コンピュータシステムは、夫々がデータ処理を行う複数
台のコンピュータ内の一台の主系コンピュータが回線を
介して対向するコンピュータとデータの送受信を行うコ
ンピュータシステムにおいて、前記一台の主系コンピュ
ータが送受信するデータを格納する一方、前記一台の主
系コンピュータ及び他の従系コンピュータが前記データ
を読み出すことのできる共有メモリ装置と、前記共有メ
モリ装置に対し、前記一台の主系コンピュータが送受信
するデータを書き込みまた読み出すために用いられるポ
インタと、起動及び再起動時に、自装置が主系コンピュ
ータか従系コンピュータかの判断を行い、判断結果に基
づき、前記ポインタを参照して前記共有メモリ装置にお
けるデータの送受信に関し未処理となっている処理を続
行するデータ処理手段とを備えることを特徴とする。
According to a first aspect of the present invention, there is provided a computer system in which one master computer in a plurality of computers, each of which performs data processing, exchanges data with a computer which is opposed via a line. In a computer system for transmitting / receiving, a shared memory device capable of storing data to be transmitted / received by the one master computer, while being able to read the data from the one master computer and another slave computer; With respect to the shared memory device, a pointer used for writing and reading the data transmitted and received by the one master computer, and at the time of starting and restarting, determine whether the own device is the master computer or the slave computer, Based on the determination result, the shared memory device is referred to by referring to the pointer .
It kicking characterized in that it comprises a data processing unit to continue processing that is the untreated relates transmit and receive data.

【0010】本願の請求項2に記載のコンピュータシス
テムは、夫々がデータ処理を行う複数台のコンピュータ
内の一台の主系コンピュータが回線を介して対向するコ
ンピュータとデータの送受信を行うコンピュータシステ
ムにおいて、前記一台の主系コンピュータが送受信する
データを格納する一方、前記一台の主系コンピュータ及
び他の従系コンピュータが前記データを読み出すことの
できる共有メモリ装置と、前記共有メモリ装置に対し、
前記一台の主系コンピュータが送信するデータを書き込
むために用いられる送信バッファライトポインタと、書
き込まれている送信用のデータ読み出すために用いられ
る送信バッファリードポインタと、送信の終了したデー
タについて送信結果を自らの送信バッファに格納する
処理が終了した部分を示すために用いられる送信後処理
ポインタと、起動及び再起動時に、自装置が主系コンピ
ュータか従系コンピュータかの判断を行い、判断結果に
基づき、前記送信バッファライトポインタと前記送信バ
ッファリードポインタとを参照して前記共有メモリ装置
におけるデータの送信に関し未処理となっている処理を
続行すると共に、送信後処理ポインタと送信バッファリ
ードポインタとを比較して、送信結果を自らの送信バッ
ファに格納する後処理をしていないデータがあることを
検出した場合には、送信後処理ポインタを参照して共有
メモリ内の該当データに関する後処理を実行すると共
に、送信後処理ポインタを更新するデータ処理手段とを
備えることを特徴とする。
A computer system according to a second aspect of the present invention is a computer system in which one main computer in a plurality of computers, each of which performs data processing , transmits and receives data to and from the opposite computer via a line. A shared memory device capable of storing the data transmitted and received by the one master computer and reading the data by the one master computer and another slave computer; and the shared memory device,
A transmission buffer write pointer used to write the data to be transmitted by the one main computer, a transmission buffer read pointer used to read the written data for transmission, and a transmission result regarding the transmission completed data. Is stored in its own transmission buffer, and the post-transmission processing pointer used to indicate the part where the post-processing has finished, and at the time of startup and restart, the device determines whether it is the master computer or the slave computer. The shared memory device by referring to the transmission buffer write pointer and the transmission buffer read pointer based on
Both the proceeding have been outstanding relates transmission of data in the transmission and post-transmission processing pointer buffering
Compared with the pointer, the transmission result is
That there is data that has not been post-processed stored in
If detected, refer to post-send processing pointer and share
It is common to execute post-processing on the corresponding data in memory.
And data processing means for updating the post-transmission processing pointer .

【0011】本願の請求項3に記載のコンピュータシス
テムでは、送信後処理ポインタは、主系のコンピュータ
及び従系の各コンピュータに対応して設けられており、
主系のコンピュータ及び従系の各コンピュータは、それ
ぞれ独自に共有メモリ装置内の送信の終了したデータに
ついて、送信結果を自らの送信バッファに格納する後処
理を実行することを特徴とする。
In the computer system according to claim 3 of the present application, the post-transmission processing pointer is provided corresponding to each of the primary computer and the secondary computer,
The main system computer and the slave of each computer, it
It is characterized in that the post-processing of storing the transmission result in its own transmission buffer is executed for each data which has been transmitted in the shared memory device independently .

【0012】本願の請求項4に記載のコンピュータシス
テムでは、夫々がデータ処理を行う複数台のコンピュー
タ内の一台の主系コンピュータが回線を介して対向する
コンピュータとデータの送受信を行うコンピュータシス
テムにおいて、前記一台の主系コンピュータが送受信す
るデータを格納する一方、前記一台の主系コンピュータ
及び他の従系コンピュータが前記データを読み出すこと
のできる共有メモリ装置と、前記共有メモリ装置に対
し、前記一台の主系コンピュータが受信したデータを書
き込みむために用いられる受信バッファライトポインタ
と、受信したデータについて受信結果を自らの受信バッ
ファに格納する後処理が終了した部分を示すために用い
られる受信バッファ後処理ポインタと、起動及び再起動
時に、自装置が主系コンピュータか従系コンピュータか
の判断を行い、判断結果に基づき、受信バッファライト
ポインタと前記受信バッファ後処理ポインタとを参照し
前記共有メモリ装置におけるデータの受信に関し未処
理となっている処理を続行するデータ処理手段とを備え
ることを特徴とする。
The computer system according to claim 4 of the present application is a computer system in which one main system computer in a plurality of computers, each of which performs data processing , transmits and receives data to and from an opposite computer via a line. A shared memory device capable of storing the data transmitted and received by the one master computer and reading the data by the one master computer and another slave computer; and the shared memory device, The reception buffer write pointer used for writing the data received by the one main computer and the reception result of the received data for its own reception buffer.
The receive buffer post-processing pointer used to indicate the part where the post-processing to be stored in the file is completed, and at the time of start-up and restart, the own device judges whether it is the master computer or the slave computer, and based on the judgment result, Data processing means for continuing an unprocessed process related to the reception of data in the shared memory device with reference to the reception buffer write pointer and the reception buffer post-processing pointer.

【0013】本願の請求項5に記載のコンピュータシス
テムでは、受信バッファ後処理ポインタは、主系のコン
ピュータ及び従系の各コンピュータに対応して設けられ
ており、主系のコンピュータ及び従系の各コンピュータ
は、それぞれ独自に共有メモリ装置内の受信の終了した
データについて、受信結果を自らの受信バッファに格納
する後処理を実行することを特徴とする。
In the computer system according to claim 5 of the present application, the reception buffer post-processing pointer is provided corresponding to each of the master computer and the slave computer, and each of the master computer and the slave computer is provided. Each computer uniquely stores the reception result in its own reception buffer for the received data in the shared memory device.
It is characterized in that post-processing is performed.

【0014】本願の請求項6に記載のコンピュータシス
テムでは、主系か従系かを示すレジスタ及び同一のデー
タ処理手段が各コンピュータに備えられ、データ処理手
段は起動時にこのレジスタを参照して、データ送信時に
おける共有メモリ装置に対するデータ書き込み及びデー
タ読み出しの処理、データ受信時における共有メモリ装
置に対するデータ書き込みの処理を、実行するか否かを
判定し、主系の場合には当該処理を実行し、従系の場合
には当該処理を実行せぬようにすることを特徴とする。
In a computer system according to a sixth aspect of the present application, each computer is provided with a register indicating whether it is a master system or a slave system and the same data processing means, and the data processing means refers to this register at the time of startup, It is determined whether or not to execute the process of writing data to and reading the data from the shared memory device at the time of transmitting data, and the process of writing the data to the shared memory device at the time of receiving data, and in the case of the main system, execute the process. In the case of a subordinate system, the processing is not executed.

【0015】本願の請求項7に記載のコンピュータシス
テムでは、各ポインタは共有メモリ装置に設けられてい
ることを特徴とする。
According to a seventh aspect of the present invention, each pointer is provided in the shared memory device.

【0016】本願の請求項8に記載のコンピュータシス
テムでは、データ処理手段は、送信要求の発生に応じて
送信すべきデータを送信バッファライトポインタに従っ
て共有メモリ装置に書き込むと共に、送信バッファライ
トポインタを更新する送信要求処理手段と、前記送信バ
ッファライトポインタと送信バッファリードポインタと
を比較して、未送信のデータが共有メモリ装置内にある
ことを検出したときには、前記送信バッファリードポイ
ンタを参照してデータを読み出して送信すると共に、送
信バッファリードポインタを更新する送信処理手段と、
送信後処理ポインタと送信バッファリードポインタとを
比較して、送信結果を自らの送信バッファに格納する
処理をしていないデータがあることを検出した場合に
は、送信後処理ポインタを参照して共有メモリ内の該当
データに関する後処理を実行すると共に、送信後処理ポ
インタを更新する送信後処理手段と、受信データが到来
すると、該受信データを受信バッファライトポインタを
参照して共有メモリ装置に書き込むと共に、受信バッフ
ァライトポインタを更新する受信処理手段と、受信バッ
ファ後処理ポインタと受信バッファリードポインタとを
比較して、受信結果を自らの受信バッファに格納する
処理をしていないデータがあることを検出した場合に
は、受信バッファ後処理ポインタを参照して共有メモリ
内の該当データに関する後処理を実行すると共に、受信
バッファ後処理ポインタを更新する受信後処理手段とを
具備することを特徴とする。
In the computer system according to claim 8 of the present application, the data processing means writes the data to be transmitted in the shared memory device in accordance with the transmission buffer write pointer in response to the generation of the transmission request, and updates the transmission buffer write pointer. When the transmission request processing means for comparing the transmission buffer write pointer and the transmission buffer read pointer is compared and it is detected that the untransmitted data is in the shared memory device, the data is referred to by the transmission buffer read pointer. A transmission processing unit that reads out and transmits, and updates the transmission buffer read pointer,
If the post-send processing pointer is compared with the send buffer read pointer and it is detected that there is unprocessed data that stores the transmission result in its own send buffer, the post-send processing pointer is referenced. The post-processing for the corresponding data in the shared memory is executed, and the post-transmission processing means for updating the post-transmission processing pointer and the reception data are written to the shared memory device by referring to the reception buffer write pointer. At the same time, the reception processing means for updating the reception buffer write pointer is compared with the reception buffer post-processing pointer and the reception buffer read pointer to store the reception result in its own reception buffer. When it detects "," it refers to the post-processing pointer of the receive buffer and relates to the corresponding data in the shared memory. And executes post-processing, characterized by comprising a reception post-processing means for updating the receive buffer postprocessing pointer.

【0017】[0017]

【作用】請求項1記載のコンピュータシステムは、起動
及び再起動時に、自装置が主系コンピュータか従系コン
ピュータかの判断を行い、判断結果に基づき、ポインタ
を参照して共有メモリ装置内のデータの送受信に関し未
処理となっている処理を続行するように働く。
According to a first aspect of the present invention, at the time of starting and restarting, the computer system judges whether the own device is a master computer or a slave computer, and based on the judgment result, the pointer is referred to and data in the shared memory device is referred to. Work to continue the unprocessed process for sending and receiving.

【0018】請求項2記載のコンピュータシステムは、
起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、送信
バッファライトポインタと送信バッファリードポインタ
とを参照して共有メモリ装置内のデータの送信に関し未
処理となっている処理を続行するように働く。
According to a second aspect of the computer system,
At the time of start-up and restart, the device determines whether it is a master computer or a slave computer, and based on the determination result, it refers to the transmission buffer write pointer and the transmission buffer read pointer to transmit data in the shared memory device. Work to continue unprocessed processing.

【0019】請求項3記載のコンピュータシステムは、
主系のコンピュータ及び従系の各コンピュータは、それ
ぞれの送信後処理ポインタを参照して、それぞれ独自に
共有メモリ装置内の送信の終了したデータについて、
信結果を自らの送信バッファに格納する後処理を実行す
る。
A computer system according to claim 3 is
The main system computer and the slave of the computer refers to respective transmission aftertreatment pointer, the finished data transmission respectively within its own <br/> shared memory device, feed
Performs post-processing to store the received result in its own send buffer .

【0020】請求項4記載のコンピュータシステムは、
起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、受信
バッファライトポインタと受信バッファ後処理ポインタ
とを参照して共有メモリ装置のデータの受信に関し未処
理となっている処理を続行するように働く。
A computer system according to a fourth aspect is
At startup and restart, the device determines whether it is a master computer or a slave computer, and based on the determination result, it refers to the receive buffer write pointer and the receive buffer post-processing pointer to receive data from the shared memory device. Work to continue unprocessed processing.

【0021】請求項5記載のコンピュータシステムは、
主系のコンピュータ及び従系の各コンピュータは、それ
ぞれの受信バッファ後処理ポインタを用いて、それぞれ
独自に共有メモリ装置内の受信の終了したデータについ
て、受信結果を自らの受信バッファに格納する後処理を
実行する。
The computer system according to claim 5 is
The main system computer and the slave of each computer, using the received buffers aftertreatment pointer, respectively
It independently executes post-processing for storing the reception result in its own reception buffer for the received data in the shared memory device.

【0022】請求項6記載のコンピュータシステムは、
主系か従系かを示すレジスタを参照して、データ送信時
における共有メモリ装置に対するデータ書き込み及びデ
ータ読み出しの処理、データ受信時における共有メモリ
装置に対するデータ書き込みの処理を、実行するか否か
を判定し、主系の場合には当該処理を実行し、従系の場
合には当該処理を実行しないように働く。
A computer system according to claim 6 is
By referring to the register indicating whether the system is the master system or the slave system, it is determined whether to execute the process of writing data to and reading data from the shared memory device during data transmission, and the process of writing data to the shared memory device during data reception. It is determined that the processing is executed in the case of the master system, and the processing is not executed in the case of the slave system.

【0023】請求項7記載のコンピュータシステムは、
共有メモリ装置に設けられた各ポインタを用いて処理を
実行する。
A computer system according to claim 7 is
The processing is executed using each pointer provided in the shared memory device.

【0024】請求項8記載のコンピュータシステムは、
送信バッファライトポインタと送信バッファリードポイ
ンタとを比較して、未送信のデータが共有メモリ装置内
にあることを検出したときには、前記送信バッファリー
ドポインタを参照してデータを読み出して送信する一
方、送信後処理ポインタと送信バッファリードポインタ
とを比較して、送信結果を自らの送信バッファに格納す
る後処理をしていないデータがあることを検出した場合
には、送信後処理ポインタを参照して共有メモリ内の該
当データに関する後処理を実行し、更に、受信データが
到来すると、該受信データを受信バッファライトポイン
タを参照して共有メモリ装置に書き込むと共に、受信バ
ッファライトポインタを更新し、受信バッファ後処理ポ
インタと受信バッファリードポインタとを比較して、
信結果を自らの受信バッファに格納する後処理をしてい
ないデータがあることを検出した場合には、受信バッフ
ァ後処理ポインタを参照して共有メモリ内の該当データ
に関する後処理を実行し、受信バッファ後処理ポインタ
を更新する。
A computer system according to claim 8 is
When the transmission buffer write pointer and the transmission buffer read pointer are compared and it is detected that there is untransmitted data in the shared memory device, the transmission buffer read pointer is referred to to read and transmit the data, while the transmission Compare the post-processing pointer with the send buffer read pointer and store the send result in its own send buffer.
If it is detected that there is data that has not been post-processed, the post-processing for the corresponding data in the shared memory is executed by referring to the post-transmission processing pointer, and when the reception data arrives, the reception data In the shared memory device by referring to the receive buffer write pointer, updating the receive buffer write pointer, comparing the receive buffer post-processing pointer with the receive buffer read pointer, and receiving
When it detects that there is data that has not been post-processed for storing the received result in its own receive buffer, it refers to the receive buffer post-processing pointer to execute post-processing for the corresponding data in shared memory, and Update the buffer post-processing pointer.

【0025】[0025]

【実施例】以下添付図面、図1〜図13を参照して本発
明の実施例に係るコンピュータシステムを説明する。各
図面の説明においては、同一の構成には同一の符号を付
し重複する説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A computer system according to an embodiment of the present invention will be described below with reference to the accompanying drawings and FIGS. In the description of each drawing, the same components are denoted by the same reference numerals and redundant description will be omitted.

【0026】図1においてコンピュータ1−1には、障
害検出処理10−1、送信処理11−1、受信処理12
−1、送信要求処理13−1、送信後処理14−1、受
信後処理15−1、送信ファイル16−1、受信ファイ
ル17−1、機器番号を格納したレジスタ18−1、主
系か従系かの別を格納したレジスタ19−1が備えられ
ている。従系となるコンピュータ1−2も上記コンピュ
ータ1−1と全く同一の構成を有している。つまり、コ
ンピュータ1−2には、障害検出処理10−2、送信処
理11−2、受信処理12−2、送信要求処理13−
2、送信後処理14−2、受信後処理15−2、送信フ
ァイル16−2、受信ファイル17−2、機器番号を格
納したレジスタ18−2、主系か従系かの別を格納した
レジスタ19−2が備えられている。コンピュータ1−
1、1−2のいずれかは、通信制御装置4及び回線3を
介して図示しない対向するコンピュータと通信を行う。
通信制御装置4と回線3との間には、切換装置5が介装
され、主系のコンピュータ(ここでは、1−1)が選択
的に通信制御装置5に接続されて通信可能である。
In FIG. 1, the computer 1-1 includes a fault detection process 10-1, a transmission process 11-1, and a reception process 12.
-1, transmission request processing 13-1, post-transmission processing 14-1, post-reception processing 15-1, transmission file 16-1, reception file 17-1, register 18-1 storing device number, main system or slave A register 19-1 that stores the system type is provided. The subordinate computer 1-2 also has the same configuration as the computer 1-1. That is, the computer 1-2 has a failure detection process 10-2, a transmission process 11-2, a reception process 12-2, and a transmission request process 13-.
2, post-transmission processing 14-2, post-reception processing 15-2, transmission file 16-2, reception file 17-2, register 18-2 that stores the device number, and a register that stores whether the master system or the slave system 19-2 is provided. Computer 1-
Any one of 1 and 1-2 communicates with an opposite computer (not shown) via the communication control device 4 and the line 3.
A switching device 5 is interposed between the communication control device 4 and the line 3, and a main computer (1-1 in this case) is selectively connected to the communication control device 5 for communication.

【0027】本実施例では、コンピュータ1−1、1−
2が共にアクセス可能な共有メモリ装置6が備えられて
いる。共有メモリ装置は送信バッファ61、受信バッフ
ァ62、送信バッファポインタ群63、受信バッファポ
インタ群64を有する。送信バッファポインタ群63に
は、送信バッファライトポインタ63−1、送信バッフ
ァリードポインタ63−2、送信後処理リードポインタ
63−3、63−4が含まれている。送信後処理リード
ポインタ63−3は、コンピュータ1−1用のポインタ
であり、送信後処理リードポインタ63−4は、コンピ
ュータ1−2用のポインタである。また、受信バッファ
ポインタ群64には、受信バッファライトポインタ64
−1、受信後処理リードポインタ64−2、64−3が
含まれている。受信後処理リードポインタ64−2はコ
ンピュータ1−1用のポインタであり、受信後処理リー
ドポインタ64−3はコンピュータ1−2用のポインタ
である。
In this embodiment, the computers 1-1, 1-
There is provided a shared memory device 6 that both 2 can access. The shared memory device has a transmission buffer 61, a reception buffer 62, a transmission buffer pointer group 63, and a reception buffer pointer group 64. The transmission buffer pointer group 63 includes a transmission buffer write pointer 63-1, a transmission buffer read pointer 63-2, and post-transmission processing read pointers 63-3 and 63-4. The post-transmission processing read pointer 63-3 is a pointer for the computer 1-1, and the post-transmission processing read pointer 63-4 is a pointer for the computer 1-2. Further, the reception buffer pointer group 64 includes a reception buffer write pointer 64.
-1, post-reception processing read pointers 64-2 and 64-3 are included. The post-reception processing read pointer 64-2 is a pointer for the computer 1-1, and the post-reception processing read pointer 64-3 is a pointer for the computer 1-2.

【0028】図2には、図1のシステムのより実際的な
ブロック図が示されている。コンピュータシステム1−
1はCPU20−1を中心として構成され、CPU20
−1が用いるプログラム及びデータが主記憶装置21−
1に記憶されている。主記憶装置21−1にはレジスタ
18−1、19−1が設けられており、レジスタ18−
1のデータは予め書き込まれている。CPU20−1か
らはバス22−1が延び、入力装置23、共有メモリ装
置6、切換装置24、通信インタフェース26−1が接
続される。一方、コンピュータシステム1−2はCPU
20−2を中心として構成され、CPU20−2が用い
るプログラム及びデータが主記憶装置21−2に記憶さ
れている。このプログラム、データはコンピュータ1−
1のものと同一である。主記憶装置21−2にはレジス
タ18−2、19−2が設けられており、レジスタ18
−2のデータは予め書き込まれている。CPU20−2
からはバス22−2が延び、入力装置23、共有メモリ
装置6、切換装置24通信インタフェース26−2が接
続される。
FIG. 2 shows a more practical block diagram of the system of FIG. Computer system 1-
1 is composed mainly of the CPU 20-1,
-1 is the program and data used by the main storage device 21-
It is stored in 1. The main memory 21-1 is provided with registers 18-1 and 19-1.
The data of 1 is written in advance. A bus 22-1 extends from the CPU 20-1 to which the input device 23, the shared memory device 6, the switching device 24, and the communication interface 26-1 are connected. On the other hand, the computer system 1-2 is a CPU
A program and data used by the CPU 20-2 are stored in the main storage device 21-2. This program and data are stored on the computer 1-
It is the same as that of 1. The main memory 21-2 is provided with registers 18-2 and 19-2.
The data of -2 is written in advance. CPU 20-2
From there, a bus 22-2 extends, and the input device 23, the shared memory device 6, and the switching device 24 communication interface 26-2 are connected.

【0029】そして、上記2つのCPU20−1、20
−2は、入力装置23からのデータを等しく受取り、出
力データについては、切換装置24、切換装置5により
主系である側の出力が選択される。CPU20−1とC
PU20−2との間には、障害通知用のライン27が設
けられ、障害の通知がなされる。この通知等に基づき主
系となった側のCPUはレジスタ19に主系であること
を示すデータを書込み、障害となった側のCPUはレジ
スタ19に従系であることを示すデータを書込むことに
なる。なお、当初は図示の通り、例えば、入力装置23
を用いて、一方のCPUを指定してレジスタ19−1に
主系、19−2に従系のデータが書込まれている。ま
た、主記憶装置21−1、21−2にはそれぞれ、図5
〜図11に示すフローチャートに対応するプログラムが
記憶されており、それぞれで実行されている。
Then, the above two CPUs 20-1 and 20
-2 equally receives data from the input device 23, and for output data, the output of the main system side is selected by the switching device 24 and the switching device 5. CPU 20-1 and C
A failure notification line 27 is provided between the PU 20-2 and the PU 20-2 to notify the failure. Based on this notification and the like, the CPU on the master side writes data indicating that it is the master system in the register 19, and the CPU on the failure side writes data indicating that it is the slave system in the register 19. It will be. Initially, as illustrated, for example, the input device 23
Is used to specify one of the CPUs and the data of the master system and the slave system of 19-2 are written in the register 19-1. In addition, the main storage devices 21-1 and 21-2 respectively have the configuration shown in FIG.
~ Programs corresponding to the flowchart shown in Fig. 11 are stored and executed by the respective programs.

【0030】以下フローチャートを参照して、本発明の
実施例に係るコンピュータシステムの動作を説明する。
まず、このシステムの電源が投入されると、図5のフロ
ーチャートのプログラムが起動される。そこで、CPU
は主記憶装置のレジスタ19の内容を取り込み(3
1)、主系か否かを検出する(32)。図2の如くのシ
ステムでは、CPU20−1はYESへ分岐し、CPU
20−2はNOへ分岐する。CPU20−1は送信処理
11−1、受信処理12−1、送信要求処理13−1を
起動し(33)、更に、送信後処理14−1と受信後処
理15−1を起動し(34)、主系として動作可能なよ
うに、切換え装置5、24に切換要求を与える(3
5)。一方、CPU20−2は送信後処理14−2と受
信後処理15−2を起動し(34)、送信処理11−
2、受信処理12−2、送信要求処理13−2を起動す
ることはない。
The operation of the computer system according to the embodiment of the present invention will be described below with reference to the flowcharts.
First, when the power of this system is turned on, the program of the flowchart of FIG. 5 is started. So CPU
Takes in the contents of the register 19 of the main memory (3
1) It is detected whether or not it is the main system (32). In the system as shown in FIG. 2, the CPU 20-1 branches to YES and the CPU
20-2 branches to NO. The CPU 20-1 activates the transmission process 11-1, the reception process 12-1, and the transmission request process 13-1 (33), and further activates the post-transmission process 14-1 and the post-reception process 15-1 (34). , A switching request is given to the switching devices 5 and 24 so that they can operate as a main system (3
5). On the other hand, the CPU 20-2 activates post-transmission processing 14-2 and post-reception processing 15-2 (34), and the transmission processing 11-
2, the reception process 12-2 and the transmission request process 13-2 are not activated.

【0031】コンピュータ1−1、1−2では共に、図
6に示す障害検出処理10−1、10−2が起動され
る。これによって、CPUでは障害検出プログラムが起
動され障害監視に入り(41)、障害が発生したかを検
出する(42)。ここで障害が発生していなければ、他
方のCPUからライン27を介して障害発生が通知され
たかを検出する(43)。ここで、通知がなされていな
いときには、ステップ41へ戻って処理が続けられる。
一方、障害の通知がなされたときには、必要に応じて、
つまり、自装置が従系であるときには、主系への切り換
えを行い(44)、自動的に再スタートさせる。これに
より、図5のフローチャートが起動され、従系であった
コンピュータが主系として動作する。また、ステップ4
2において、自装置で障害が発生したことを検出した場
合には、ライン27を介して障害発生を他のCPUに通
知し(45)、更に必要な場合、つまり自装置が主系で
ある場合には従系へ切り換えを行って(46)、待機状
態となり再スタートを待つ。
In both computers 1-1 and 1-2, fault detection processing 10-1 and 10-2 shown in FIG. 6 are activated. As a result, the CPU activates the failure detection program and enters failure monitoring (41), and detects whether a failure has occurred (42). If no fault has occurred here, it is detected whether the fault has been notified from the other CPU via the line 27 (43). Here, when the notification has not been given, the process returns to step 41 and the processing is continued.
On the other hand, when notification of failure is given, if necessary,
That is, when the own device is the slave system, it is switched to the master system (44) and automatically restarted. As a result, the flowchart of FIG. 5 is activated, and the subordinate computer operates as the main system. Also, step 4
In 2, when it detects that a failure has occurred in its own device, it notifies the other CPU of the failure occurrence via line 27 (45), and when necessary, that is, when the own device is the main system. For this purpose, the system is switched to the slave system (46), and the system enters the standby state and waits for restart.

【0032】図5の処理の後には、送信要求処理13−
1としてCPU20−1は図7に示すように、送信要求
が発生しないかを監視している(51)。そこで、送信
要求が発生すると、共有メモリ装置6の送信バッファラ
イトポインタ63−1の値SWPを取り込み(52)、
送信すべきファイルのデータを上記送信バッファライト
ポインタ63−1の値SWPに従って共有メモリ装置へ
書込む(53)。この様子が図3の送信要求処理13−
1からの矢印で示され、図12では(a)のように、S
WPの示すアドレスから送信バッファ61へのデータ書
込みがスタートする。そして、1アドレス分のデータを
書込むと、送信バッファライトポインタ63−1の値S
WPを更新して、1ファイル分のデータが書込まれたか
を検出し(55)、書込みが終了するまでステップ5
3、54が繰り返され、書込み終了となるとステップ5
1へ戻って監視を続ける。この結果、図12(b)に示
されるように、送信バッファライトポインタ63−1の
値SWPが書込まれたデータのアドレス分進むことにな
る。
After the processing of FIG. 5, the transmission request processing 13-
As shown in FIG. 7, the CPU 20-1 monitors whether a transmission request is generated (51) (1). Then, when a transmission request occurs, the value SWP of the transmission buffer write pointer 63-1 of the shared memory device 6 is fetched (52),
The data of the file to be transmitted is written into the shared memory device according to the value SWP of the transmission buffer write pointer 63-1 (53). This state is the transmission request process 13- of FIG.
It is indicated by an arrow from 1, and as shown in FIG.
Data writing to the transmission buffer 61 starts from the address indicated by WP. When the data for one address is written, the value S of the transmission buffer write pointer 63-1 is written.
The WP is updated to detect whether one file of data has been written (55), and step 5 is performed until the writing is completed.
Steps 3 and 54 are repeated, and when writing is completed, step 5
Return to 1 and continue monitoring. As a result, as shown in FIG. 12B, the value SWP of the transmission buffer write pointer 63-1 is advanced by the address of the written data.

【0033】図5の処理の後には、送信要求処理11−
1としてCPU20−1は図8に示すように、送信バッ
ファライトポインタ63−1の値SWPと送信バッファ
リードポインタ63−2の値SRPとを取り込んで比較
し(60)未送信のデータがないかを検出している(6
1)。図12(a)の状態では送信バッファライトポイ
ンタ63−1の値SWPと送信バッファリードポインタ
63−2の値SRPが一致しているため、送信すべきデ
ータがないが、図12(b)の状態となるとSWPがS
RPより進んでいるため未送信データ有りとなる。する
と、CPU20−1は共有メモリ装置6のデータを送信
バッファリードポインタ63−2の値SRPが示す位置
から、図3の矢印の如く読み出し送信する(62)。そ
して、送信バッファリードポインタ63−2の値SRP
を1アドレス分のデータ読み出し毎に更新し(64)、
送信終了かを送信バッファライトポインタ63−1の値
SWPと送信バッファリードポインタ63−2の値SR
Pとの一致で検出し(64)、終了となるまでステップ
62、63を繰り返す。そして、送信終了となるとステ
ップ60へ戻って動作を行う。この様にして、図12
(b)の状態であった、送信バッファ61では図12
(c)のように、SWPとSRPとが一致するようにな
っている。
After the processing of FIG. 5, the transmission request processing 11-
As shown in FIG. 8, the CPU 20-1 fetches the value SWP of the transmission buffer write pointer 63-1 and the value SRP of the transmission buffer read pointer 63-2 and compares them with each other (60) to see if there is untransmitted data. Is detected (6
1). In the state of FIG. 12A, the value SWP of the transmission buffer write pointer 63-1 and the transmission buffer read pointer
There is no data to be transmitted because the values SRP of 63-2 match, but when the state of FIG.
Since it is ahead of RP, there is untransmitted data. Then, the CPU 20-1 reads the data in the shared memory device 6 from the position indicated by the value SRP of the transmission buffer read pointer 63-2 as indicated by the arrow in FIG. 3 and transmits it (62). Then, the value SRP of the transmission buffer read pointer 63-2
Is updated every time one address data is read (64),
Whether the transmission is completed or not is determined by the value SWP of the transmission buffer write pointer 63-1 and the value SR of the transmission buffer read pointer 63-2 .
It is detected by coincidence with P (64), and steps 62 and 63 are repeated until the end. When the transmission is completed, the process returns to step 60 and the operation is performed. In this way, FIG.
In the transmission buffer 61, which was in the state of (b), as shown in FIG.
As shown in (c), SWP and SRP match.

【0034】図5の処理の後には、送信後処理14−1
としてCPU20−1が、送信後処理14−2としてC
PU20−2が各々図9に示すように、装置番号をそれ
ぞれレジスタ18−1、18−2から取り込み(7
1)、後処理リードポインタ番号を決定する(72)。
具体的には、CPU20−1はレジスタ18−1から装
置番号『1』を取り込み、装置番号『1』の後処理リー
ドポインタ63−3が対応のポインタであるとする。ま
た、CPU20−2はレジスタ18−2から装置番号
『2』を取り込み、装置番号『2』の後処理リードポイ
ンタ63−4が対応のポインタであるとする。CPU2
0−1、CPU20−2は対応の後処理リードポインタ
63−3、63−4の値AP1、AP2と送信バッファ
リードポインタ63−2の値SRPとを比較し(7
3)、全てのデータについて後処理がなされているかを
検出する(74)。つまり、図12(c)のように、A
P1、またはAP2がSRPより遅れているときには、
後処理のなされていないデータがあることになり、送信
後処理14−1、14−2は図3の矢印に示される通
り、送信バッファ61の後処理がなされていないデータ
について、送信結果(日時や成功不成功の別や、バック
アップ)を送信ファイル16−1、16−2へ格納した
り、送信完了を送信要求処理13−1へ通知したり等し
(75)、処理したデータに応じて後処理リードポイン
タ63−3、63−4の値AP1、AP2を更新する
(76)。
After the processing of FIG. 5, the post-transmission processing 14-1
As the CPU 20-1 and C as the post-transmission processing 14-2.
The PU 20-2 fetches the device number from the registers 18-1 and 18-2, respectively, as shown in FIG. 9 (7
1) The post-processing read pointer number is determined (72).
Specifically, it is assumed that the CPU 20-1 fetches the device number “1” from the register 18-1 and the post-processing read pointer 63-3 of the device number “1” is the corresponding pointer. Further, the CPU 20-2 fetches the device number “2” from the register 18-2, and the post-processing read pointer 63-4 of the device number “2” is the corresponding pointer. CPU2
0-1 the CPU 20-2 compares the values AP1 and AP2 of the corresponding post-processing read pointers 63-3 and 63-4 with the value SRP of the transmission buffer read pointer 63-2 (7
3), it is detected whether post-processing has been performed for all data (74). That is, as shown in FIG.
When P1 or AP2 is behind SRP,
Since there is data that has not been post-processed, the post-transmission processes 14-1 and 14-2 indicate the transmission result (date and time) for the data that has not been post-processed in the transmission buffer 61, as indicated by the arrow in FIG. (Successful or unsuccessful, backup) is stored in the transmission files 16-1 and 16-2, the transmission completion is notified to the transmission request processing 13-1, and the like (75), depending on the processed data. The values AP1 and AP2 of the post-processing read pointers 63-3 and 63-4 are updated (76).

【0035】上記の送信後処理の結果、送信後処理14
−1としてCPU20−1が、送信後処理14−2とし
てCPU20−2が同様に全ての送信データについて後
処理した場合には、後処理リードポインタ63−3、6
3−4の値AP1、AP2は図12(d)に示すよう
に、送信バッファリードポインタ63−2の値SRPと
一致することになる。勿論、送信後処理14−1、14
−2は独自に動作するため、いずれかが後になることは
生じる。
As a result of the above post-transmission processing, post-transmission processing 14
If the CPU 20-1 as -1 and the CPU 20-2 similarly post-processes all the transmission data as post-transmission processing 14-2, post-processing read pointers 63-3, 6
The values AP1 and AP2 of 3-4 coincide with the value SRP of the transmission buffer read pointer 63-2 as shown in FIG. 12 (d). Of course, post-transmission processing 14-1, 14
-2 operates independently, so it is possible that one of them will be later.

【0036】以上の通りにコンピュータ1−1、1−2
で送信動作が進むため、送信の前に送信データが共有メ
モリ装置6に格納され、ポインタでリードライトの位置
が明確となっているため、送信途中で主系コンピュータ
1−1に障害が生じた場合でも、従系のコンピュータ1
−2が送信バッファポインタ群63の各ポインタを図5
〜図9のフローチャートに示すようにして用い、素早く
主系コンピュータ1−1に代わって送信を続行すること
が可能である。また、主系と従系とでは、動作しない処
理があるか無いかの差があるものの、同一のソフトウエ
アで構成することが可能であり、経済的、効率的であ
る。
As described above, the computers 1-1 and 1-2
Since the transmission operation proceeds, the transmission data is stored in the shared memory device 6 before the transmission, and the position of the read / write is clear by the pointer. Therefore, a failure occurs in the main computer 1-1 during the transmission. Even if the subordinate computer 1
-2 indicates each pointer of the transmission buffer pointer group 63 in FIG.
~ By using as shown in the flowchart of Fig. 9, it is possible to quickly continue transmission in place of the main computer 1-1. Further, the main system and the slave system can be configured with the same software, though there is a difference in whether or not there is a process that does not operate, which is economical and efficient.

【0037】一方、図5の処理の後には、受信処理12
−1としてCPU20−1は図10に示すように、通信
制御装置4を介してデータが到来するかを監視しており
(81)、データが到来すると受信バッファライトポイ
ンタ64−1の値RWPを取り込み(82)、図4に示
されるように共有メモリ装置6の受信バッファ62へ受
信データを書込む(83)。そして、1アドレス分の書
き込み毎に、受信バッファライトポインタ64−1の値
RWPを更新し(84)、受信終了かを検出する(8
5)。ここで、更にデータが送られてくるときには、ス
テップ83、84を繰り返し、データが送られて来なく
なると、ステップ81へ戻ってデータ到来の監視を行
う。この様な処理の結果、当初図13(a)に示される
ようなポインタの状態であるのに対し、受信データが書
込まれた後には、RWPが書込んだデータの分量に応じ
て図13(b)のように進むことになる。
On the other hand, after the processing of FIG.
As shown in FIG. 10, the CPU 20-1 monitors whether data arrives via the communication control device 4 as -1 (81), and when the data arrives, the value RWP of the reception buffer write pointer 64-1 is set. Capture (82), and write the received data to the receive buffer 62 of the shared memory device 6 as shown in FIG. 4 (83). Then, every time one address is written, the value RWP of the reception buffer write pointer 64-1 is updated (84), and it is detected whether reception is completed (8).
5). Here, when further data is sent, steps 83 and 84 are repeated, and when the data is not sent, the process returns to step 81 and the arrival of data is monitored. As a result of such processing, although the pointer is initially in the state shown in FIG. 13A, after the received data is written, the state shown in FIG. 13 is changed according to the amount of data written by the RWP. The procedure proceeds as shown in (b).

【0038】更に、受信後処理15−1としてCPU2
0−1が、受信後処理15−2としてCPU20−2
が、図11に示すように、装置番号をそれぞれレジスタ
18−1、18−2から取り込み(91)、後処理リー
ドポインタ番号を決定する(92)。具体的には、CP
U20−1はレジスタ18−1から装置番号『1』を取
り込み、装置番号『1』の後処理リードポインタ64−
2が対応のポインタであるとする。また、CPU20−
2はレジスタ18−2から装置番号『2』を取り込み、
装置番号『2』の後処理リードポインタ64−4が対応
のポインタであるとする。CPU20−1、CPU20
−2は対応の後処理リードポインタ64−2、64−3
の値BP1、BP2と受信バッファリードポインタ64
−1の値RWPとを比較し(93)、全てのデータにつ
いて後処理がなされているかを検出する(94)。つま
り、図13(b)のように、BP1、またはBP2がR
WPよりも遅れているときには、後処理のなされていな
いデータが存在することになり、CPU20−1、CP
U20−2は図4の矢印に示される通り、受信バッファ
62の後処理がなされていないデータについて、受信結
果(日時や受信の成功不成功の別、処理対象のデータ部
分等)を受信ファイル17−1、17−2へ格納した
り、他の処理(例えば、受信ファイルに対する演算処
理)へデータの到来を通知するなどする(95)。更
に、後処理したデータに応じて後処理リードポインタ6
4−2、64−3の値BP1、BP2を更新する。
Further, as the post-reception processing 15-1, the CPU 2
0-1 uses the CPU 20-2 as post-reception processing 15-2.
However, as shown in FIG. 11 , the device number is fetched from the registers 18-1 and 18-2, respectively (91), and the post-processing read pointer number is determined (92). Specifically, CP
The U 20-1 fetches the device number “1” from the register 18-1 and post-processes the read pointer 64-of the device number “1”.
Let 2 be the corresponding pointer. In addition, CPU20-
2 fetches the device number “2” from the register 18-2,
It is assumed that the post-processing read pointer 64-4 for the device number “2” is the corresponding pointer. CPU20-1, CPU20
-2 is the corresponding post-processing read pointer 64-2, 64-3
Values BP1 and BP2 and receive buffer read pointer 64
The value RWP of -1 is compared (93), and it is detected whether post-processing has been performed on all data (94). That is, as shown in FIG. 13B, BP1 or BP2 is R
When it is behind the WP, there is data that has not been post-processed, and the CPU 20-1, CP
As indicated by the arrow in FIG. 4, U 20-2 receives the reception result (date and time, whether reception is successful or unsuccessful, processing target data portion, etc.) for the data that has not been subjected to post-processing of the reception buffer 62. -1, 17-2, or the arrival of data is notified to other processing (for example, arithmetic processing on the received file) (95). Further, according to the post-processed data, the post-processing read pointer 6
The values BP1 and BP2 of 4-2 and 64-3 are updated.

【0039】上記受信後処理の結果、CPU20−2の
みが全ての受信データについて後処理した場合には、後
処理リードポインタ64−2、64−3の値BP1、B
P2は、図13(c)に示すように、後処理リードポイ
ンタ64−3の値BP2のみが、RWPに一致する。勿
論、主系コンピュータ1−1に障害が生じていない限り
は、CPU20−1の処理により、この後で後処理リー
ドポインタ64−1の値BP1も、RWPに一致する。
As a result of the above post-reception processing, when only the CPU 20-2 post-processes all the received data, the values BP1 and B of the post-processing read pointers 64-2 and 64-3 are obtained.
As for P2, as shown in FIG. 13C, only the value BP2 of the post-processing read pointer 64-3 matches the RWP. Of course, as long as the main computer 1-1 has not failed, the value BP1 of the post-processing read pointer 64-1 after this also matches the RWP by the processing of the CPU 20-1.

【0040】以上の通りにコンピュータ1−1、1−2
で受信動作が進むため、受信したデータが最初に共有メ
モリ装置6に格納され、受信途中で主系コンピュータに
障害が生じた場合でも、従系のコンピュータ1−2が受
信バッファポインタ群64の各ポインタを図10、図1
1のフローチャートの示すようにして用い、素早く主系
コンピュータ1−1に代わって受信を続行することが可
能である。つまり、受信バッファライトポインタ64−
1の値RWPにより、その前のアドレスまでデータを受
信していたことを検出でき、その後のデータ受信の続行
も可能である。また、主系と従系とでは、動作しない処
理があるか無いかの差があるものの、同一のソフトウエ
アで構成することが可能であり、経済的、効率的であ
る。
As described above, the computers 1-1 and 1-2
Since the receiving operation proceeds, the received data is first stored in the shared memory device 6, and even if a failure occurs in the master computer in the middle of receiving, the slave computer 1-2 can receive each of the receive buffer pointer groups 64. Pointer to Figure 10, Figure 1
It can be used as shown in the flowchart of No. 1 to quickly continue reception in place of the master computer 1-1. That is, the receive buffer write pointer 64-
The value RWP of 1 makes it possible to detect that data has been received up to the previous address, and it is possible to continue receiving data thereafter. Further, the main system and the slave system can be configured with the same software, though there is a difference in whether or not there is a process that does not operate, which is economical and efficient.

【0041】なお、以上の実施例においては、主系1台
と従系1台の合計2台のコンピュータによりシステムを
構成したが、他の実施例では、従系を2台以上とする。
この様にすると、従系の中で障害が生じてもこれをバッ
クアップすることが可能である。
In the above embodiments, the system is composed of a total of two computers, one main system and one slave system, but in other embodiments, there are two or more slave systems.
In this way, even if a failure occurs in the subordinate system, it can be backed up.

【0042】[0042]

【発明の効果】以上説明したように請求項1に記載の本
発明によれば、起動及び再起動時に、自装置が主系コン
ピュータか従系コンピュータかの判断を行い、判断結果
に基づき、ポインタを参照して共有メモリ装置内のデー
タの送受信に関し未処理となっている処理を続行するよ
うに働くので、主系と従系とで同一のソフトウエアを使
用することができ、ソフトウエアの開発等を一元化で
き、効率的、経済的なシステムとすることができる。
As described above, according to the present invention as set forth in claim 1, at the time of start-up and restart, it is judged whether the device is a main computer or a slave computer, and the pointer is determined based on the judgment result. Refer to the above, it works to continue the unprocessed processing related to the transmission / reception of data in the shared memory device, so that the same software can be used in the master system and the slave system. Etc. can be unified, and an efficient and economical system can be provided.

【0043】また、請求項2に記載の本発明によれば、
起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、送信
バッファライトポインタと送信バッファリードポインタ
とを参照して共有メモリ装置内のデータの送信に関し未
処理となっている処理を続行するように働くので、主系
コンピュータに障害が生じたときにも、送信バッファラ
イトポインタと送信バッファリードポインタとに基づ
き、送信処理を素早く受け継ぐことが可能であり、適切
なバックアップが可能である。
According to the present invention as defined in claim 2,
At the time of start-up and restart, the device determines whether it is a master computer or a slave computer, and based on the determination result, it refers to the transmission buffer write pointer and the transmission buffer read pointer to transmit data in the shared memory device. Since it works to continue the unprocessed processing, it is possible to take over the transmission processing quickly based on the transmission buffer write pointer and the transmission buffer read pointer even when the main computer fails. , Proper backup is possible.

【0044】また、請求項3に記載の本発明によれば、
主系のコンピュータ及び従系の各コンピュータは、それ
ぞれの送信後処理ポインタを参照して、それぞれ共有メ
モリ装置の送信の終了したデータについて、独立して後
処理を実行するので、他方の処理に影響されて送信後処
理が遅れることもなく、従系が主系のバックアップを可
能な状態となっていることが保証される。
According to the present invention as defined in claim 3,
The master computer and each slave computer refer to their respective post-transmission processing pointers to independently perform post-processing on the data for which transmission has been completed in the shared memory device, thus affecting the other processing. As a result, the post-transmission processing is not delayed, and it is guaranteed that the slave system is ready to back up the master system.

【0045】また、請求項4に記載の本発明によれば、
起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、受信
バッファライトポインタと受信バッファ後処理ポインタ
とを参照して共有メモリ装置内のデータに関し受信未処
理となっている処理を続行するように働くので、主系コ
ンピュータに障害が生じたときにも、受信バッファライ
トポインタに基づき、主系の受信処理を素早く代行して
継続可能である。
According to the present invention of claim 4,
At startup and restart, the device determines whether it is a master computer or a slave computer, and receives the data in the shared memory device by referring to the receive buffer write pointer and the receive buffer post-processing pointer based on the determination result. Since the unprocessed process is continued, it is possible to quickly continue the main system reception process based on the reception buffer write pointer even when the main system computer fails.

【0046】また、請求項5に記載の本発明によれば、
主系のコンピュータ及び従系の各コンピュータは、それ
ぞれの受信バッファ後処理ポインタを用いて、それぞれ
共有メモリ装置内の受信の終了したデータについて、独
立して後処理を実行するので、他方の処理に影響されて
受信後処理が遅れることもなく、従系が主系のバックア
ップを可能な状態となっていることが保証される。
According to the present invention of claim 5,
Since the master computer and each slave computer individually perform post-processing on the reception-completed data in the shared memory device, using the respective reception buffer post-processing pointers, the other processing is performed. It is guaranteed that the slave system is in a state capable of backing up the master system without being delayed due to the influence of the post-reception processing.

【0047】また、請求項6に記載の本発明によれば、
主系か従系かを示すレジスタを参照して、データ送信時
における共有メモリ装置に対するデータ書き込み及びデ
ータ読み出しの処理、データ受信時における共有メモリ
装置に対するデータ書き込みの処理を、実行するか否か
を判定し、主系の場合には当該処理を実行し、従系の場
合には当該処理を実行しないように働くので、主系とな
ると、共有メモリ装置に対する送信データ、受信データ
の書込みを行い、これに基づき、主系及び従系が後処理
することにより、主系と従系とが同期して処理行い、同
一の結果を有するようになる。
According to the present invention as defined in claim 6,
By referring to the register indicating whether the system is the master system or the slave system, it is determined whether to execute the process of writing data to and reading data from the shared memory device during data transmission, and the process of writing data to the shared memory device during data reception. Judgment, in the case of the master system, the process is executed, and in the case of the slave system, it works so as not to execute the process. Therefore, when the system becomes the master system, the transmission data and the reception data are written to the shared memory device, Based on this, the master system and the slave system perform post-processing, so that the master system and the slave system perform the processing in synchronization with each other and have the same result.

【0048】また、請求項7に記載の本発明によれば、
共有メモリ装置に設けられた各ポインタを用いて処理を
実行するので、従系、主系共に双方でポインタを参照し
てバックアップや代行等できる。
According to the present invention of claim 7,
Since the processing is executed by using each pointer provided in the shared memory device, both the slave system and the master system can refer to the pointers to perform backup or substitution.

【0049】また、請求項8に記載の本発明によれば、
送信バッファライトポインタと送信バッファリードポイ
ンタとを比較して、未送信のデータが共有メモリ装置内
にあることを検出したときには、前記送信バッファリー
ドポインタを参照してデータを読み出して送信する一
方、送信後処理ポインタと送信バッファリードポインタ
とを比較して、後処理していないデータがあることを検
出した場合には、送信後処理ポインタを参照して共有メ
モリ内の該当データに関する後処理を実行し、更に、受
信データが到来すると、該受信データを受信バッファラ
イトポインタを参照して共有メモリ装置に書き込むと共
に、受信バッファライトポインタを更新し、受信バッフ
ァ後処理ポインタと受信バッファリードポインタとを比
較して、後処理していないデータがあることを検出した
場合には、受信バッファ後処理ポインタを参照して共有
メモリ内の該当データに関する後処理を実行し、受信バ
ッファ後処理ポインタを更新するので、主系と従系と共
に独立して的確なる処理を独立して実行可能である。
According to the present invention as set forth in claim 8,
When the transmission buffer write pointer and the transmission buffer read pointer are compared and it is detected that there is untransmitted data in the shared memory device, the transmission buffer read pointer is referred to to read and transmit the data, while the transmission If the post-processing pointer is compared with the send buffer read pointer and it is detected that there is data that has not been post-processed, the post-processing for the corresponding data in the shared memory is executed with reference to the post-transmission processing pointer. Further, when the reception data arrives, the reception data is written into the shared memory device by referring to the reception buffer write pointer, the reception buffer write pointer is updated, and the reception buffer post-processing pointer is compared with the reception buffer read pointer. When it detects that there is data that has not been post-processed, The post-processing for the corresponding data in the shared memory is executed by referring to the post-processing pointer, and the receive buffer post-processing pointer is updated, so that accurate processing can be executed independently with the master and slave systems. is there.

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

【図1】本発明の実施例に係るコンピュータシステムの
機能ブロック図。
FIG. 1 is a functional block diagram of a computer system according to an embodiment of the present invention.

【図2】本発明の実施例に係るコンピュータシステムの
より実際的な構成図。
FIG. 2 is a more practical configuration diagram of a computer system according to an embodiment of the present invention.

【図3】本発明の実施例に係るコンピュータシステムが
送信する場合の機能ブロック図。
FIG. 3 is a functional block diagram when transmission is performed by the computer system according to the embodiment of the present invention.

【図4】本発明の実施例に係るコンピュータシステムが
受信する場合の機能ブロック図。
FIG. 4 is a functional block diagram when a computer system according to an embodiment of the present invention receives the data.

【図5】本発明の実施例に係るコンピュータシステムの
動作を説明するためのフローチャート。
FIG. 5 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図6】本発明の実施例に係るコンピュータシステムの
動作を説明するためのフローチャート。
FIG. 6 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図7】本発明の実施例に係るコンピュータシステムの
動作を説明するためのフローチャート。
FIG. 7 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図8】本発明の実施例に係るコンピュータシステムの
動作を説明するためのフローチャート。
FIG. 8 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図9】本発明の実施例に係るコンピュータシステムの
動作を説明するためのフローチャート。
FIG. 9 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図10】本発明の実施例に係るコンピュータシステム
の動作を説明するためのフローチャート。
FIG. 10 is a flow chart for explaining the operation of the computer system according to the embodiment of the present invention.

【図11】本発明の実施例に係るコンピュータシステム
の動作を説明するためのフローチャート。
FIG. 11 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention.

【図12】本発明の実施例に係るコンピュータシステム
の送信動作時のポインタの動きを説明するため図。
FIG. 12 is a diagram for explaining the movement of the pointer during the transmission operation of the computer system according to the embodiment of the present invention.

【図13】本発明の実施例に係るコンピュータシステム
の受信動作時のポインタの動きを説明するための図。
FIG. 13 is a diagram for explaining the movement of the pointer during the receiving operation of the computer system according to the embodiment of the present invention.

【図14】従来例に係るコンピュータシステムの機能ブ
ロック図。
FIG. 14 is a functional block diagram of a computer system according to a conventional example.

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

1−1 主系コンピュータ 1−2 従系
コンピュータ 3 回線 4 通信制御
装置 5 切換装置 6 共有メモ
リ装置 11−1、11−2 送信処理 12−1、1
2−1 受信処理 13−1、13−2 送信要求処理 14−1、1
4−2 送信後処理 15−1、15−2 受信後処理 16−1、1
6−2 送信ファイル 17−1、17−2 受信ファイル 61 送信バ
ッファ 62 受信バッファ 63 送信バ
ッファポインタ群 64 受信バッファポインタ群
1-1 Main computer 1-2 Slave computer 3 Line 4 Communication control device 5 Switching device 6 Shared memory device 11-1, 11-2 Transmission processing 12-1, 1
2-1 Reception processing 13-1, 13-2 Transmission request processing 14-1, 1
4-2 Post-Transmission Processing 15-1, 15-2 Post-Reception Processing 16-1, 1
6-2 Send File 17-1, 17-2 Receive File 61 Send Buffer 62 Receive Buffer 63 Send Buffer Pointer Group 64 Receive Buffer Pointer Group

フロントページの続き (56)参考文献 特開 平1−119151(JP,A) 特開 平4−171539(JP,A) 特開 平5−225135(JP,A) 特開 昭63−128837(JP,A) 特開 平4−360242(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/16 - 11/20 G06F 13/00 G06F 15/00 G06F 15/16 - 15/177 H04L 29/14 H04L 1/22 JSTPLUSファイル(JOIS)Continuation of front page (56) Reference JP-A-1-119151 (JP, A) JP-A-4-171539 (JP, A) JP-A-5-225135 (JP, A) JP-A-63-128837 (JP , A) JP-A-4-360242 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 11/16-11/20 G06F 13/00 G06F 15/00 G06F 15/16 -15/177 H04L 29/14 H04L 1/22 JSTPLUS file (JOIS)

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 夫々がデータ処理を行う複数台のコンピ
ュータ内の一台の主系コンピュータが回線を介して対向
するコンピュータとデータの送受信を行うコンピュータ
システムにおいて、 前記一台の主系コンピュータが送受信するデータを格納
する一方、前記一台の主系コンピュータ及び他の従系コ
ンピュータが前記データを読み出すことのできる共有メ
モリ装置と、 前記共有メモリ装置に対し、前記一台の主系コンピュー
タが送受信するデータを書き込みまた読み出すために用
いられるポインタと、 起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、前記
ポインタを参照して前記共有メモリ装置におけるデータ
の送受信に関し未処理となっている処理を続行するデー
タ処理手段とを備えることを特徴とするコンピュータシ
ステム。
1. A computer system in which one main computer in a plurality of computers, each of which performs data processing , transmits and receives data to and from an opposite computer via a line, wherein the one main computer transmits and receives. And a shared memory device in which the one master computer and another slave computer can read the data, and the one master computer transmits / receives to / from the shared memory device. A pointer used for writing and reading data, and at the time of starting and restarting, determines whether the device is a master computer or a slave computer, and based on the determination result, refers to the pointer and refers to the pointer in the shared memory device. Equipped with data processing means for continuing unprocessed data transmission / reception Computer system according to claim Rukoto.
【請求項2】 夫々がデータ処理を行う複数台のコンピ
ュータ内の一台の主系コンピュータが回線を介して対向
するコンピュータとデータの送受信を行うコンピュータ
システムにおいて、 前記一台の主系コンピュータが送受信するデータを格納
する一方、前記一台の主系コンピュータ及び他の従系コ
ンピュータが前記データを読み出すことのできる共有メ
モリ装置と、 前記共有メモリ装置に対し、前記一台の主系コンピュー
タが送信するデータを書き込むために用いられる送信バ
ッファライトポインタと、書き込まれている送信用のデ
ータ読み出すために用いられる送信バッファリードポイ
ンタと、送信の終了したデータについて送信結果を自ら
の送信バッファに格納する後処理が終了した部分を示す
ために用いられる送信後処理ポインタと、 起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、前記
送信バッファライトポインタと前記送信バッファリード
ポインタとを参照して前記共有メモリ装置におけるデー
タの送信に関し未処理となっている処理を続行すると
に、送信後処理ポインタと送信バッファリードポインタ
とを比較して、送信結果を自らの送信バッファに格納す
る後処理 をしていないデータがあることを検出した場合
には、送信後処理ポインタを参照して共有メモリ内の該
当データに関する後処理を実行すると共に、送信後処理
ポインタを更新するデータ処理手段とを備えることを特
徴とするコンピュータシステム。
2. A computer system in which one main computer of a plurality of computers each processing data transmits and receives data to and from a facing computer via a line, wherein the one main computer transmits and receives. A shared memory device in which the one master computer and another slave computer can read the data while storing the data to be stored, and the one master computer transmits the shared memory device to the shared memory device. The transmission buffer write pointer used to write data, the transmission buffer read pointer used to read the written data for transmission , and the transmission result itself for the data that has been transmitted.
The post-transmission processing pointer that is used to indicate the end of post-processing that is stored in the transmission buffer of the device, and whether the device itself is the master computer or the slave computer at startup and restart, and based on the determination result , co If you continue the process that is the untreated relates transmission of data <br/> data in reference to the shared memory device and the transmission buffer write pointer and the transmission buffer read pointer
The post-transmission processing pointer and the transmission buffer read pointer
Stores the transmission result in its own transmission buffer by comparing with
When it detects that there is data that has not been post-processed
Refers to the post-transmission processing pointer,
Perform post-processing related to this data, and post-processing post-transmission
A computer system comprising: a data processing unit that updates a pointer .
【請求項3】 送信後処理ポインタは、主系のコンピュ
ータ及び従系の各コンピュータに対応して設けられてお
り、 主系のコンピュータ及び従系の各コンピュータは、それ
ぞれ独自に共有メモリ装置内の送信の終了したデータに
ついて、送信結果を自らの送信バッファに格納する後処
理を実行することを特徴とする請求項2記載のコンピュ
ータシステム。
3. A post-transmission processing pointer is provided corresponding to the main system computer and the slave of each computer, the main system computer and the slave of the computer, it
Post-processing that stores the transmission result for each completed data in the shared memory device in its own transmission buffer
The computer system according to claim 2, which executes a process.
【請求項4】 夫々がデータ処理を行う複数台のコンピ
ュータ内の一台の主系コンピュータが回線を介して対向
するコンピュータとデータの送受信を行うコンピュータ
システムにおいて、 前記一台の主系コンピュータが送受信するデータを格納
する一方、前記一台の主系コンピュータ及び他の従系コ
ンピュータが前記データを読み出すことのできる共有メ
モリ装置と、 前記共有メモリ装置に対し、前記一台の主系コンピュー
タが受信したデータを書き込みむために用いられる受信
バッファライトポインタと、受信したデータについて
信結果を自らの受信バッファに格納する後処理が終了し
た部分を示すために用いられる受信バッファ後処理ポイ
ンタと、 起動及び再起動時に、自装置が主系コンピュータか従系
コンピュータかの判断を行い、判断結果に基づき、受信
バッファライトポインタと前記受信バッファ後処理ポイ
ンタとを参照して前記共有メモリ装置におけるデータの
受信に関し未処理となっている処理を続行するデータ処
理手段とを備えることを特徴とするコンピュータシステ
ム。
4. A computer system in which one main computer in a plurality of computers, each of which performs data processing , transmits and receives data to and from an opposing computer via a line, wherein the one main computer transmits and receives. A shared memory device that stores the data to be read by the one master computer and another slave computer, and the one master computer receives the shared memory device from the shared memory device. a reception buffer write pointer used for non-writing data, receiving the received data
Receive buffer post-processing pointer that is used to indicate the end of post-processing that stores the received result in its own receive buffer, and when starting and restarting, determines whether the device is a master computer or a slave computer. And a data processing unit that continues an unprocessed process related to the reception of data in the shared memory device by referring to the reception buffer write pointer and the reception buffer post-processing pointer based on the determination result. And computer system.
【請求項5】 受信バッファ後処理ポインタは、主系の
コンピュータ及び従系の各コンピュータに対応して設け
られており、 主系のコンピュータ及び従系の各コンピュータは、それ
ぞれ独自に共有メモリ装置内の受信の終了したデータに
ついて、受信結果を自らの受信バッファに格納する後処
理を実行することを特徴とする請求項4記載のコンピュ
ータシステム。
5. A reception buffer aftertreatment pointer is provided corresponding to the main system computer and the slave of each computer, the main system computer and the slave of the computer, it
5. The computer system according to claim 4, wherein each computer system independently executes post-processing for storing the reception result in its own reception buffer for the received data in the shared memory device.
【請求項6】 主系か従系かを示すレジスタ及び同一の
データ処理手段が各コンピュータに備えられ、 データ処理手段は起動時にこのレジスタを参照して、デ
ータ送信時における共有メモリ装置に対するデータ書き
込み及びデータ読み出しの処理、データ受信時における
共有メモリ装置に対するデータ書き込みの処理を、実行
するか否かを判定し、主系の場合には当該処理を実行
し、従系の場合には当該処理を実行せぬようにすること
を特徴とする請求項1乃至請求項5のいずれか1項に記
載のコンピュータシステム。
6. Each computer is provided with a register indicating whether it is a master system or a slave system and the same data processing means, and the data processing means refers to this register at the time of starting and writes data to the shared memory device at the time of data transmission. Also, it is determined whether or not to execute the data reading process and the data writing process to the shared memory device at the time of receiving the data. In the case of the master system, the process is executed, and in the case of the slave system, the process is executed. The computer system according to any one of claims 1 to 5, wherein the computer system is not executed.
【請求項7】 各ポインタは共有メモリ装置に設けられ
ていることを特徴とする請求項1乃至請求項6のいずれ
か1項に記載のコンピュータシステム。
7. The computer system according to claim 1, wherein each pointer is provided in a shared memory device.
【請求項8】 データ処理手段は、 送信要求の発生に応じて送信すべきデータを送信バッフ
ァライトポインタに従って共有メモリ装置に書き込むと
共に、送信バッファライトポインタを更新する送信要求
処理手段と、 前記送信バッファライトポインタと送信バッファリード
ポインタとを比較して、未送信のデータが共有メモリ装
置内にあることを検出したときには、前記送信バッファ
リードポインタを参照してデータを読み出して送信する
と共に、送信バッファリードポインタを更新する送信処
理手段と、 送信後処理ポインタと送信バッファリードポインタとを
比較して、送信結果を自らの送信バッファに格納する後
処理をしていないデータがあることを検出した場合に
は、送信後処理ポインタを参照して共有メモリ内の該当
データに関する後処理を実行すると共に、送信後処理ポ
インタを更新する送信後処理手段と、 受信データが到来すると、該受信データを受信バッファ
ライトポインタを参照して共有メモリ装置に書き込むと
共に、受信バッファライトポインタを更新する受信処理
手段と、 受信バッファ後処理ポインタと受信バッファリードポイ
ンタとを比較して、受信結果を自らの受信バッファに格
納する後処理をしていないデータがあることを検出した
場合には、受信バッファ後処理ポインタを参照して共有
メモリ内の該当データに関する後処理を実行すると共
に、受信バッファ後処理ポインタを更新する受信後処理
手段とを具備することを特徴とする請求項6記載のコン
ピュータシステム。
8. The data processing means writes the data to be transmitted in the shared memory device according to the transmission buffer write pointer in response to the generation of the transmission request, and updates the transmission buffer write pointer, and the transmission buffer processing means. When the write pointer and the transmission buffer read pointer are compared with each other and it is detected that untransmitted data is in the shared memory device, the transmission buffer read pointer is referred to to read and transmit the data, and the transmission buffer read pointer is read. After storing the transmission result in its own transmission buffer by comparing the transmission processing means for updating the pointer with the post-transmission processing pointer and the transmission buffer read pointer.
When it is detected that there is unprocessed data, the post-transmission processing means refers to the post-transmission processing pointer to perform post-processing on the corresponding data in the shared memory, and also updates the post-transmission processing pointer. When the reception data arrives, the reception data is written in the shared memory device by referring to the reception buffer write pointer, and the reception processing means for updating the reception buffer write pointer, the reception buffer post-processing pointer and the reception buffer read pointer are provided. In comparison, the received result is stored in its own receive buffer.
When it is detected that there is data that has not been post-processed, the post-processing of the corresponding data in the shared memory is executed by referring to the post-processing pointer of the receive buffer, and the post-processing pointer of the receive buffer is updated. 7. The computer system according to claim 6, further comprising post-reception processing means.
JP22299994A 1994-09-19 1994-09-19 Computer system Expired - Fee Related JP3471913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22299994A JP3471913B2 (en) 1994-09-19 1994-09-19 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22299994A JP3471913B2 (en) 1994-09-19 1994-09-19 Computer system

Publications (2)

Publication Number Publication Date
JPH0887425A JPH0887425A (en) 1996-04-02
JP3471913B2 true JP3471913B2 (en) 2003-12-02

Family

ID=16791238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22299994A Expired - Fee Related JP3471913B2 (en) 1994-09-19 1994-09-19 Computer system

Country Status (1)

Country Link
JP (1) JP3471913B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4892708B2 (en) * 2006-06-26 2012-03-07 株式会社Jr西日本テクシア Ride medium processing device, automatic ticket gate device, automatic checkout device
JP2008236311A (en) * 2007-03-20 2008-10-02 Fujitsu Ltd Transmission device
JP5598493B2 (en) 2012-03-30 2014-10-01 富士通株式会社 Information processing device, arithmetic device, and information transfer method

Also Published As

Publication number Publication date
JPH0887425A (en) 1996-04-02

Similar Documents

Publication Publication Date Title
JP3120033B2 (en) Distributed memory multiprocessor system and fault recovery method
JP2505928B2 (en) Checkpoint mechanism for fault tolerant systems
US8788879B2 (en) Non-volatile memory for checkpoint storage
JPH07262070A (en) Renewal system and related method
JPH06504389A (en) fault tolerant computer equipment
JPH086910A (en) Cluster type computer system
CN103220183A (en) Implement method of Hadoop high-availability system based on double-main-engine warm backup
CN111400086B (en) Method and system for realizing fault tolerance of virtual machine
WO2010100757A1 (en) Arithmetic processing system, resynchronization method, and firmware program
JP3471913B2 (en) Computer system
JP2006285336A (en) Storage, storage system, and control method thereof
JP6056408B2 (en) Fault tolerant system
JP3891994B2 (en) System and method for draining an in-order queue
WO2003001395A2 (en) Fault tolerant processing
JP3026350B2 (en) System switching method for a redundant system
JP3332098B2 (en) Redundant processor unit
JPH06175788A (en) Method and device for backup
JP2511542B2 (en) Information processing system
WO1999032957A1 (en) Fast domain switch and error recovery in a secure cpu architecture
JPH0736720A (en) Duplex computer equipment
JP2002108640A (en) Duplex system, single processor system and sub-board
WO1992005489A1 (en) Method of nonsynchronous access to shared memory
JP2013020566A (en) Duplex information processing system
JPH05225135A (en) Terminal noninterruption on-line system
JPH08202570A (en) Duplex process controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030902

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees