Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0448256B2 - - Google Patents
[go: Go Back, main page]

JPH0448256B2 - - Google Patents

Info

Publication number
JPH0448256B2
JPH0448256B2 JP60048708A JP4870885A JPH0448256B2 JP H0448256 B2 JPH0448256 B2 JP H0448256B2 JP 60048708 A JP60048708 A JP 60048708A JP 4870885 A JP4870885 A JP 4870885A JP H0448256 B2 JPH0448256 B2 JP H0448256B2
Authority
JP
Japan
Prior art keywords
message
processing
data
messages
application program
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 - Lifetime
Application number
JP60048708A
Other languages
Japanese (ja)
Other versions
JPS61221856A (en
Inventor
Kozo Shimomoto
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 JP60048708A priority Critical patent/JPS61221856A/en
Publication of JPS61221856A publication Critical patent/JPS61221856A/en
Publication of JPH0448256B2 publication Critical patent/JPH0448256B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 〔概要〕 応用プログラム間で処理すべきメツセージの受
渡し(メツセージ通信と呼ぶ)を行うデータ処理
システムが、システム障害によりデータ処理を一
時中断したあとに、障害原因を除去しデータ処理
の復旧を行うメツセージ復旧処理方式において、 該メツセージの通信を行う時、そのコピーを
フアイルメモリDASD上にメツセージキユーの
形で格納しておき、システムダウン後のシステ
ムの再開処理の開始時に、該フアイルメモリ
DASDから未処理のメツセージを主記憶バツフ
ア上に復元する際、該主記憶バツフア上の処理
待ちキユー上のメツセージの数を監視し、該処
理待ちメツセージの数が、一定数以下になつた
時、上記フアイルメモリDASDから、次のメツ
セージを主記憶バツフアに復元して、上記処理
待ちキユーに繋ぐようにする。
[Detailed Description of the Invention] [Summary] A data processing system that exchanges messages to be processed between application programs (referred to as message communication) temporarily suspends data processing due to a system failure, and then removes the cause of the failure. In a message recovery processing method for restoring data processing, when a message is communicated, a copy is stored in the file memory DASD in the form of a message queue, and at the start of system restart processing after a system down. , the file memory
When restoring unprocessed messages from DASD onto the main memory buffer, the number of messages on the queue waiting to be processed on the main memory buffer is monitored, and when the number of messages waiting to be processed falls below a certain number, The next message is restored from the file memory DASD to the main memory buffer and connected to the queue waiting for processing.

上記のメツセージ復旧処理を、応用プログラ
ムとは別の専用タスクによつて、該応用プログ
ラムの処理と並列に動作させるようにする。
The message recovery processing described above is performed in parallel with the processing of the application program by a dedicated task separate from the application program.

ことにより、システムダウン後のシステムの復旧
処理において、未処理となつているメツセージ
(DASD上に保持されている)を全て主記憶上に
展開して主記憶バツフアの領域が必要以上に該メ
ツセージ領域として占有され、該復旧処理とは独
立に行われる他のデータ処理(回線経由で端末と
応用プログラムが行う会話処理等)の処理効率を
落とすことが無いように、データ通信管理システ
ムDCMSの処理バランスの向上を図るものであ
る。
As a result, during system recovery processing after a system failure, all unprocessed messages (held on DASD) are expanded to the main memory, and the main memory buffer area becomes larger than necessary for the messages. The processing balance of the data communication management system DCMS is adjusted so that the processing efficiency of other data processing (conversation processing performed between terminals and application programs via the line, etc.) that is occupied by the data communication management system and performed independently of the recovery processing is not reduced. The aim is to improve

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

本発明は、応用プログラムX,Y間でメツセー
ジの通信を行うデータ処理システムに、障害が発
生した時のメツセージ復旧処理方式に関する。
The present invention relates to a message recovery processing method when a failure occurs in a data processing system that communicates messages between application programs X and Y.

最近の各種業界においては、業務の拡大と共
に、実時間で処理すべきデータ量、データ種別が
多くなり、オンラインのデータ処理システムに依
存する度合が多くなる動向にある。
In recent years, in various industries, as business operations have expanded, the amount and types of data to be processed in real time have increased, and there has been a trend toward greater reliance on online data processing systems.

そこで、処理能力上からは、複数個のシステム
で負荷分散、機能分散を図ると共に、危険分散の
見地から、フアイルメモリを複数個のシステムに
分ける、所謂分散システムの形態を採ることが多
くなつてきた。
Therefore, from the viewpoint of processing capacity, load distribution and function distribution are attempted among multiple systems, and from the standpoint of risk distribution, so-called distributed systems are increasingly being adopted, in which file memory is divided into multiple systems. Ta.

又、オンラインシステムにおいては、端末から
投入されたデータ(メツセージ)は、一旦主記憶
上で処理された後、データベース等の形でフアイ
ルされる処理形態を採るのが一般的である。
Furthermore, in online systems, data (messages) input from a terminal are generally processed in the main memory and then filed in the form of a database or the like.

このような複合システムの形をとる計算機シス
テムにおいては、例えば、1つのシステムに接続
されている端末からデータが投入された場合、該
データが自システムのフアイルに属するものであ
れば、直ちに該フアイルに格納されるが、自シス
テムのフアイルに属さない場合、或いは、自シス
テムのフアイルに属するものであつても、該端末
からデータを受信した応用プログラムXが、直接
該データの対する処理ができない時には、他の応
用プログラムYに、該データを送信する必要があ
る。この応用プログラムX,Y間のデータ送信
が、所謂応用プログラム間通信と呼ばれるもので
ある。
In such a computer system that is a complex system, for example, when data is input from a terminal connected to one system, if the data belongs to a file in the own system, it is immediately transferred to that file. , but it does not belong to the file of the own system, or even if it belongs to the file of the own system, if the application program X that received the data from the terminal cannot directly process the data. , it is necessary to send the data to another application program Y. This data transmission between application programs X and Y is what is called communication between application programs.

この時、該データを送出すべく相手システムが
障害であると、該端末から受信したデータは相手
システムに送信できない為、例えば、自システム
のフアイルメモリに一旦蓄積しておき、相手シス
テムが立ち上がつた時点で、該データを相手シス
テムに送信する方法を採る。
At this time, if the other party's system to which the data is to be sent has a failure, the data received from the terminal cannot be sent to the other party's system. When this happens, a method is adopted in which the data is sent to the other party's system.

又、自システム内の2つの応用プログラム間通
信においても、システムダウン時のデータ(メツ
セージ)の消失を回避する目的で、フアイルメモ
リに、そのコピーを蓄積しておき、システムダウ
ン時には、該フアイルメモリから主記憶上に該デ
ータを展開して処理する形態を採る。
Also, in communication between two application programs within the own system, copies of data (messages) are stored in the file memory in order to avoid loss of data (messages) when the system goes down. The data is expanded onto the main memory and processed.

このような処理形態においては、フアイルメモ
リに多量のデータ(メツセージ)が蓄積されてい
る場合、該データを一度に主記憶上に展開する
と、主記憶が、該データに占有されてしまい、該
復旧処理以外にのデータ処理を行う応用プログラ
ムに対して主記憶領域の割当てが不能となり、そ
の結果システム全体の処理効率が低下する問題が
あり、効果的なデータ(メツセージ)復旧処理方
式が待たれていた。
In this type of processing, when a large amount of data (messages) is accumulated in the file memory, if the data is expanded to the main memory at once, the main memory will be occupied by the data, and it will be difficult to restore the data. There is a problem in that it becomes impossible to allocate main storage space to application programs that perform data processing other than processing, and as a result, the processing efficiency of the entire system decreases, and an effective data (message) recovery processing method is awaited. Ta.

〔従来の技術〕 第3図は、一般の応用プログラム間通信の概
念を模式的に示したもので、応用プログラムX
1がメツセージ(データ)を送信する為の通信
マクロ、例えば“PUT”によつて、該メツセ
ージを送信すると、該メツセージは主記憶
(メモリ)3上の、ユーザがシステムの規模に
応じて設定した主記憶バツフア31に書き込ま
れると共に、該メツセージを受け取る為の通信
マクロ‘GET'を発行している応用プログラム
Y2に通知される。
[Prior art] Figure 3 schematically shows the concept of communication between general application programs.
When 1 sends a message using a communication macro for sending a message (data), for example, "PUT," the message is stored in the main memory 3 as configured by the user according to the scale of the system. The message is written to the main memory buffer 31, and is also notified to the application program Y2 which is issuing the communication macro 'GET' for receiving the message.

応用プログラムY2においては、該メツセー
ジを主記憶バツフア31から読み取り、処理す
ることにより、上記主記憶バツフア31中のメ
ツセージは“開放”即ち“空き”となる。
In the application program Y2, by reading the message from the main memory buffer 31 and processing it, the message in the main memory buffer 31 becomes "open", that is, "empty".

このように、従来においては、例えば、2つ
の応用プログラムX,Yが、互いに上記通信マ
クロ“PUT”,“GET”を発行することによ
り、応用プログラムX,Y間通信を実行してい
た。
In this way, conventionally, for example, two application programs X and Y have executed communication between them by issuing the communication macros "PUT" and "GET" to each other.

次に、改良された応用プログラムX,Y間通
信方式を、第4図によつて説明する。
Next, the improved communication system between application programs X and Y will be explained with reference to FIG.

この方式においては、応用プログラムX1
が、主記憶バツフア31上にメツセージを格
納すると同時に、該メツセージのコピーをフ
アイルメモリDASD4上に持つようにして、シ
ステムのダウン等によつて、該主記憶バツフア
31上から、上記メツセージは失われた時の保
証をとるようにしていた。
In this method, the application program
At the same time as the message is stored on the main memory buffer 31, a copy of the message is kept on the file memory DASD 4, so that the message is not lost from the main memory buffer 31 due to a system failure or the like. I made sure to get a guarantee when the time came.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従つて、で示した従来方式においては、応用
プログラム間通信を実行中に、システムがダウン
すると、主記憶バツフア31中のデータ(メツセ
ージ)が消失すると云う問題があつた。
Therefore, in the conventional system shown in (2), there was a problem in that if the system went down while communication between application programs was being executed, data (messages) in the main memory buffer 31 would be lost.

又、の改良された従来方式においては、シス
テムがダウンした時、未処理のメツセージはフ
アイルメモリDASD4に保存されているので、該
メツセージを主記憶バツフア31に展開するこ
とにより、応用プログラムX,Y間通信の再開が
可能となるが、該メツセージを上記主記憶バツ
フア31に展開する際、従来においては、フアイ
ルメモリDASD4上に格納されている、未処理の
メツセージの総てを主記憶バツフア31上に復
元していた為、データ通信管理システムDCMS
の運用(例えば、端末と応用プログラムとの会話
処理)に多大な影響を与えると云う問題があつ
た。
In addition, in the improved conventional method, when the system goes down, unprocessed messages are stored in the file memory DASD 4, so by expanding the messages to the main memory buffer 31, the application programs However, when deploying the message to the main memory buffer 31, conventionally all unprocessed messages stored on the file memory DASD 4 are transferred to the main memory buffer 31. Data communication management system DCMS
There was a problem in that it had a significant impact on the operation of the terminal (for example, conversation processing between the terminal and the application program).

本発明は上記従来の欠点に鑑み、上記応用プロ
グラムX,Y間通信中でシステムダウンが発生し
た時のメツセージの復旧処理において、応用プロ
グラム毎にメツセージの復旧数を動的に管理する
ことにより、データ通信管理システムDCMSの
運用に影響を与えることなく、効率良く、メツセ
ージの復旧処理を行うことのできる方法を提供す
ることを目的とするものである。
In view of the above conventional drawbacks, the present invention dynamically manages the number of messages recovered for each application program in the message recovery process when a system down occurs during communication between the application programs X and Y. The purpose of this invention is to provide a method that can efficiently perform message recovery processing without affecting the operation of the data communication management system DCMS.

〔問題点を解決する為の手段〕[Means for solving problems]

第1図は、本発明のメツセージ復旧処理の原理
ブロツク図である。
FIG. 1 is a block diagram of the principle of message recovery processing according to the present invention.

本図においてa1,a2は応用プログラムY2
の処理待ちメツセージキユーターミナル31′で、
当該システムがダウンして応用プログラムY2が
起動された時点で、フアイルメモリDASD4上に
保存されている、上記各ターミナル31′対応の
メツセージキユー(Ma1−1,Ma1−2,…,
Ma2−1,Ma2−2,…)から、主記憶バツ
フア31に、各ターミナル31′毎にメツセージ
を復旧する。
In this figure, a1 and a2 are application program Y2
At the message queue terminal 31' waiting for processing,
When the system goes down and the application program Y2 is started, the message queues (Ma1-1, Ma1-2,...,
Ma2-1, Ma2-2, . . . ), the messages are restored to the main memory buffer 31 for each terminal 31'.

この時、データ通信管理システムDCMSに設
けられている専用の復旧タスクが、応用プログラ
ムY2からの依頼に基づき、該応用プログラムY
2でのメツセージ処理と並列に、上記処理待ちメ
ツセージキユーのターミナル31′毎に、主記憶
バツフア31上に残されている、未処理のメツセ
ージの数を監視しており、該未処理メツセージの
数が一定数、例えば、応用プログラムのタスク数
×2以下になつた時、フアイルメモリDASD4上
の次のメツセージを主記憶バツフア31に復旧
し、処理待ちメツセージキユーに繋ぐように構成
される。
At this time, a dedicated recovery task provided in the data communication management system DCMS performs a recovery task based on the request from the application program Y2.
In parallel with the message processing in step 2, the number of unprocessed messages remaining on the main memory buffer 31 is monitored for each terminal 31' of the message queue waiting to be processed, and the number of unprocessed messages is monitored. When the number becomes less than a certain number, for example, the number of application program tasks x 2, the next message on the file memory DASD 4 is restored to the main memory buffer 31 and connected to the message queue waiting to be processed.

〔作用〕[Effect]

即ち、本発明によれば、応用プログラムX,Y
間の通信中に、システムダウンが発生すると、フ
アイルメモリDASD4上に保存されている未処理
メツセージを、主記憶バツフア31上に処理待ち
メツセージキユーの形で復元する際、常に、該処
理待ちメツセージキユーでの未処理メツセージの
数を監視し、該未処理メツセージの数が、一定数
以下になつた時、フアイルメモリDASD4上の次
のメツセージを、上記主記憶バツフア31上に復
元し、処理待ちメツセージキユーに繋ぐようにす
る。
That is, according to the present invention, application programs X, Y
If a system failure occurs during communication between the The number of unprocessed messages in the queue is monitored, and when the number of unprocessed messages falls below a certain number, the next message on the file memory DASD 4 is restored onto the main memory buffer 31 and processed. Connect to the waiting message queue.

この時、該復元処理を、データ通信管理システ
ムDCMSに設けられている専用のタスクが、応
用プログラムY2でのメツセージ処理と並列に行
うことができるようにしたものであるので、主記
憶バツフア31が復元メツセージで占有されるこ
とがなく、且つ該メツセージ復旧処理が、応用プ
ログラムY2とは別の専用タスクで行われるの
で、応用プログラムY2はメツセージの処理に専
念でき、システム全体の処理効率を向上させるこ
とができる効果がある。
At this time, the main memory buffer 31 is designed so that the restoration process can be performed by a dedicated task provided in the data communication management system DCMS in parallel with the message processing in the application program Y2. Since the restored message is not occupied and the message restoration processing is performed in a dedicated task separate from the application program Y2, the application program Y2 can concentrate on processing the message, improving the processing efficiency of the entire system. There is an effect that can be done.

〔実施例〕〔Example〕

以下本発明の実施例を図面によつて詳述する。
第2図はイ,ロは本発明の一実施例を模式的に示
したもので、本発明に関連する連続した処理の
内、(1)〜(3)を、図面イに示し、続く処理(4)〜(6)を
図面ロに示している。
Embodiments of the present invention will be described in detail below with reference to the drawings.
Figures 2A and 2B schematically show an embodiment of the present invention, and of the continuous processes related to the present invention, (1) to (3) are shown in Figure A, and the subsequent processes (4) to (6) are shown in drawing B.

本図において、第1図,第3図,第4図と同じ
符号は同じ対象物を示している。以下、(1)から順
をおつて説明する。
In this figure, the same reference numerals as in FIGS. 1, 3, and 4 indicate the same objects. The explanation will be given below in order starting from (1).

(1) 応用プログラムX1が応用プログラムY2に
対して、データ(メツセージ)〜を送信す
る時、該応用プログラムXはマクロ命令PUT
をデータ通信管理システムDCMS(以下DCMS
と略称する)に対して発行し、DCMSは主記
憶バツフア31上に処理待ちメツセージキユー
の形で書き込むと共に、該データのコピー〜
をフアイルメモリDASD4上に、同じキユー
の形で保存して、応用プログラムY2にデータ
の送信を通知する。
(1) When application program X1 sends data (message) ~ to application program Y2, application program
Data communication management system DCMS (hereinafter referred to as DCMS)
(abbreviated as ), the DCMS writes it to the main memory buffer 31 in the form of a message queue waiting to be processed, and also copies the data.
is stored in the same queue format on the file memory DASD 4, and the application program Y2 is notified of data transmission.

該メツセージを受け取る為の通信マクロ
“GET”を発行している応用プログラムY2
は、主記憶バツフア31からデータを読み出
し処理をする。
Application program Y2 that issues the communication macro “GET” to receive the message.
reads data from the main memory buffer 31 and processes it.

主記憶バツフア31,及びフアイルメモリ
DASD4上のデータは応用プログラムY2にお
いて処理され、次のデータを受信する為の上記
通信マクロGETが発行された時、DCMSによ
つて開放される。
Main memory buffer 31 and file memory
The data on the DASD 4 is processed by the application program Y2 and released by the DCMS when the communication macro GET for receiving the next data is issued.

(2) 上記応用プログラムX,Y通信を行つている
システムがダウンすると、直ちに、システムの
立ち上げ処理が行われ、該立ち上げが完了する
と、DCMSは次の処理(3)に入る。
(2) When the system that is communicating with the application programs X and Y goes down, a system start-up process is immediately performed, and when the start-up is completed, the DCMS enters the next process (3).

(3) DCMS5は応用プログラムY2からの起動
を認識すると、先ず、フアイルメモリDASD4
よりデータのみを主記憶(メモリ)3上
の主記憶バツフア31に復元する。
(3) When the DCMS5 recognizes the startup from the application program Y2, it first loads the file memory DASD4.
Then, only the data is restored to the main memory buffer 31 on the main memory (memory) 3.

(4) DCMS5は該復元したデータを応用
プログラムY2に通知する。
(4) DCMS5 notifies the application program Y2 of the restored data.

該メツセージを受け取る為の通信マクロ
“GET”を発行している応用プログラムY2に
おいては、該データを1つ宛読み取つて処理を
行う。
The application program Y2, which issues the communication macro "GET" to receive the message, reads the data to one address and processes it.

該データ処理の完了した時点において、主記
憶バツフア31,フアイルメモリDASD4か
ら、当該データは開放される。
When the data processing is completed, the data is released from the main memory buffer 31 and file memory DASD 4.

(5) DCMS5には、復元処理を行う専用のタス
クを持つており、該タスクが応用プログラムY
2からの依頼により、主記憶バツフア31上の
処理待ちメツセージキユーに残つている未処理
メツセージの数を、該処理待ちメツセージキユ
ーターミナル31′毎に監視して、未処理メツ
セージの数が一定数(例えば、応用プログラム
のタスク数×2)以下になつた時、フアイルメ
モリDASD4上に保存されている次のデータ
以降の復元を実行する。
(5) DCMS5 has a dedicated task that performs the restoration process, and this task is the application program Y.
2, the number of unprocessed messages remaining in the waiting message queue on the main memory buffer 31 is monitored for each waiting message queue terminal 31', and the number of unprocessed messages is kept constant. When the number (for example, the number of application program tasks x 2) or less is reached, restoration of the next data stored on the file memory DASD 4 is executed.

従つて、本発明においては、応用プログラム
Y2からの依頼により、DCMS5の専用タス
クが、主記憶バツフア31上の処理待ちメツセ
ージキユーに残つている未処理メツセージの数
を監視し、該メツセージの数が一定数以下にな
つた時、次のデータを復元するように制御され
ると共に、応用プログラムY2自体が、該デー
タの復元を意識することなく、メツセージの処
理に専念できる所に特徴がある。
Therefore, in the present invention, in response to a request from the application program Y2, a dedicated task of the DCMS 5 monitors the number of unprocessed messages remaining in the processing waiting message queue on the main memory buffer 31, and calculates the number of messages. When the number becomes below a certain number, the application program Y2 is controlled to restore the next data, and the application program Y2 itself can concentrate on message processing without being conscious of restoring the data.

(6) DCMS5は、該復元依頼を受けると、フア
イルメモリDASD4上のデータを主記憶バツ
フア31上に復元し、応用プログラムY2に通
知する。この時、既にのデータが処理済みと
なつていたならば、データも主記憶バツフア
31上に復元して、応用プログラムY2に通知
する。
(6) Upon receiving the restoration request, the DCMS 5 restores the data on the file memory DASD 4 onto the main memory buffer 31 and notifies the application program Y2. At this time, if the data has already been processed, the data is also restored onto the main memory buffer 31 and notified to the application program Y2.

以降、(5)の動作に戻り、フアイルメモリDASD
4上に、未処理の保存データが無くなるまで、(5)
(6)(5)のループを繰り返す。
After that, the operation returns to (5) and the file memory DASD
4 until there is no unprocessed saved data (5)
(6) Repeat the loop of (5).

このようにして、フアイルメモリDASD4から
主記憶バツフア31へのデータの復旧が動的に行
われるので、DCMS5,及びその配下にある応
用プログラムは、効率良くデータ処理を行うこと
ができる。
In this way, data is dynamically restored from the file memory DASD 4 to the main memory buffer 31, so that the DCMS 5 and the application programs under it can efficiently process data.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明のメツセ
ージ復旧処理方式は、応用プログラムX,Y間の
通信中に、システムダウンが発生すると、フアイ
ルメモリDASD4上に保存されている未処理メツ
セージを、主記憶バツフア31上に処理待ちメツ
セージキユーの形で復元する際、常に、該処理待
ちメツセージキユーでの未処理メツセージの数を
監視し、該未処理メツセージの数が、一定数以下
になつた時、フアイルメモリDASD4上の次のメ
ツセージを、上記主記憶バツフア31上に復元
し、処理待ちメツセージキユーに繋ぐようにす
る。
As explained above in detail, the message recovery processing method of the present invention is designed to recover unprocessed messages stored on the file memory DASD 4 when a system failure occurs during communication between application programs X and Y. When restoring on the memory buffer 31 in the form of a message queue waiting to be processed, the number of unprocessed messages in the queue of messages waiting to be processed is always monitored, and if the number of unprocessed messages falls below a certain number, At this time, the next message on the file memory DASD 4 is restored onto the main memory buffer 31 and connected to the queue of messages waiting to be processed.

この時、該復元処理を、データ通信管理システ
ムDCMSに設けられている専用のタスクが、応
用プログラムY2でのメツセージ処理と並列に行
うことができるようにしたものであるので、主記
憶バツフア31が復元メツセージで占有されるこ
とがなく、且つ該メツセージ復旧処理が、応用プ
ログラムY2とは別の専用タスクで行われるの
で、応用プログラムY2はメツセージの処理に専
念でき、システム全体の処理効率を向上させるこ
とができる効果がある。
At this time, the main memory buffer 31 is designed so that the restoration process can be performed by a dedicated task provided in the data communication management system DCMS in parallel with the message processing in the application program Y2. Since the restored message is not occupied and the message restoration processing is performed in a dedicated task separate from the application program Y2, the application program Y2 can concentrate on processing the message, improving the processing efficiency of the entire system. There is an effect that can be done.

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

第1図は本発明のメツセージ復旧処理の原理ブ
ロツク図、第2図は本発明の一実施例を模式的に
示した図、第3図は一般の応用プログラム間通信
の概念を模式的に示した図、第4図は従来の改良
された応用プログラム間通信方式を模式的に示し
た図、である。 図面において、1は応用プログラムX、2は応
用プログラムY、3は主記憶(メモリ)、31は
主記憶バツフア、4はフアイルメモリ(DASD)、
5はデータ通信管理システムDCMS、、〜
はデータ(メツセージ)、‘PUT'はデータを送
信する為の通信マクロ、‘GET'はデータを受信
する為の通信マクロ、をそれぞれ示す。
Fig. 1 is a block diagram of the principle of message recovery processing of the present invention, Fig. 2 is a diagram schematically showing an embodiment of the present invention, and Fig. 3 is a diagram schematically showing the concept of communication between general application programs. FIG. 4 is a diagram schematically showing a conventional improved application program communication system. In the drawings, 1 is an application program X, 2 is an application program Y, 3 is a main memory (memory), 31 is a main memory buffer, 4 is a file memory (DASD),
5 is the data communication management system DCMS,...
indicates data (message), 'PUT' indicates a communication macro for sending data, and 'GET' indicates a communication macro for receiving data.

Claims (1)

【特許請求の範囲】 1 データ通信管理システム(DCMS)の制御
の元に、メツセージを処理する複数個の応用プロ
グラムを有し、1つの応用プログラム(X)がメ
ツセージを送信すると、該メツセージを主記憶上
のバツフアに書き込むと共に、他の応用プログラ
ム(Y)2に該書き込みを通知し、該応用プログ
ラム(Y)2が、上記主記憶バツフア31上のメ
ツセージを読み取つて処理すると云う動作を繰り
返すことにより、一連のメツセージ処理を行うデ
ータ処理システムにおいて、 上記メツセージを主記憶バツフア31上に、処
理待ちキユーの形で格納すると同時に、フアイル
メモリ(DASD)4上にも、そのコピーをメツセ
ージキユーの形で格納する手段と、 該データ処理システムのシステムダウン発生後
のシステム復旧開始時に、上記フアイルメモリ
(DASD)4上のメツセージを、上記主記憶バツ
フアに復元するのに、該処理待ちキユー内のメツ
セージの数を監視して、該メツセージの数が一定
値以下になつた時、該フアイルメモリ(DASD)
4より、次のメツセージを主記憶バツフア31上
に復元して、上記処理待ちキユーに繋ぐ手段とを
備え、 上記フアイルメモリ(DASD)4への書き込み
手段と、該フアイルメモリ(DASD)4からのメ
ツセージ復旧手段とにより、システム復旧開始時
のシステム再開処理を行うことを特徴とするメツ
セージ復旧処理方式。 2 上記メツセージ復旧手段として、上記データ
通信管理処理システム(DCMS)に、メツセー
ジ復旧タスクを設け、該タスクによつて、上記応
用プログラム(Y)2のメツセージ処理と並列に
メツセージを復旧するようにしたことを特徴とす
る特許請求の範囲第1項に記載のメツセージ復旧
処理方式。
[Claims] 1. Under the control of a data communication management system (DCMS), there are a plurality of application programs that process messages, and when one application program (X) sends a message, the message is Repeating the operation of writing the message into the memory buffer, notifying the other application program (Y) 2 of the writing, and causing the application program (Y) 2 to read and process the message on the main memory buffer 31. Therefore, in a data processing system that processes a series of messages, the above message is stored in the main memory buffer 31 in the form of a processing queue, and at the same time, a copy of the message is also stored in the file memory (DASD) 4 as a message queue. a means for storing messages in the processing queue in order to restore messages on the file memory (DASD) 4 to the main memory buffer at the start of system recovery after a system failure of the data processing system; The number of messages is monitored, and when the number of messages falls below a certain value, the file memory (DASD) is
4, it is equipped with a means for restoring the next message on the main memory buffer 31 and connecting it to the queue waiting for processing, a means for writing into the file memory (DASD) 4, and a means for writing from the file memory (DASD) 4. 1. A message recovery processing method, characterized in that a message recovery means performs system restart processing at the start of system recovery. 2. As the message recovery means, a message recovery task is provided in the data communication management processing system (DCMS), and the message is recovered by the task in parallel with the message processing of the application program (Y) 2. A message recovery processing method according to claim 1, characterized in that:
JP60048708A 1985-03-12 1985-03-12 Message recovery processing system Granted JPS61221856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60048708A JPS61221856A (en) 1985-03-12 1985-03-12 Message recovery processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60048708A JPS61221856A (en) 1985-03-12 1985-03-12 Message recovery processing system

Publications (2)

Publication Number Publication Date
JPS61221856A JPS61221856A (en) 1986-10-02
JPH0448256B2 true JPH0448256B2 (en) 1992-08-06

Family

ID=12810816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60048708A Granted JPS61221856A (en) 1985-03-12 1985-03-12 Message recovery processing system

Country Status (1)

Country Link
JP (1) JPS61221856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101461726B1 (en) * 2012-12-12 2014-11-14 주식회사 포스코 Magnetic sensor for detecting defect

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2890857B2 (en) * 1991-01-21 1999-05-17 日本電気株式会社 Online information processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57209531A (en) * 1981-06-19 1982-12-22 Fujitsu Ltd Message editing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101461726B1 (en) * 2012-12-12 2014-11-14 주식회사 포스코 Magnetic sensor for detecting defect

Also Published As

Publication number Publication date
JPS61221856A (en) 1986-10-02

Similar Documents

Publication Publication Date Title
EP0319034B1 (en) Method of recovering failure of online control program
JPH06504389A (en) fault tolerant computer equipment
US7752507B2 (en) Circuit arrangement and method for supporting and monitoring a microcontroller
US20060089975A1 (en) Online system recovery system, method and program
JP3197279B2 (en) Business takeover system
JPH0448256B2 (en)
JPH0879246A (en) Distributed communication system and failure recovery method thereof
JPH05314085A (en) System for waiting operation mutually among plural computers
JPS625759A (en) Information remedy system
JPH01209565A (en) Memory back-up system
JPH02165344A (en) Hot stand-by system
JPH11167494A (en) Arithmetic processing device and register management method of arithmetic processing device
JP3709050B2 (en) Data update system
JPH09288589A (en) System backup method
JP4788516B2 (en) Dynamic replacement system, dynamic replacement method and program
JP2907102B2 (en) File loading method
JP2850757B2 (en) Failure handling method in hierarchical file system
JP3028838B2 (en) Information processing service function extension method
JP3581723B2 (en) Conversation information control device
JPH07160651A (en) Backup mode for system data
JP2006330782A (en) Redundant configuration system and method for second computer system to immediately recover when first computer system fails
JPH0389648A (en) Telegraph exchange system
JPH10240556A (en) Loosely coupled computer system with shared memory
JPH0451334A (en) Delay update processing system
JPH04111639A (en) Service uninterruptible operation system for communication system

Legal Events

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