JPS61221856A - Message recovery processing system - Google Patents

Message recovery processing system

Info

Publication number
JPS61221856A
JPS61221856A JP60048708A JP4870885A JPS61221856A JP S61221856 A JPS61221856 A JP S61221856A JP 60048708 A JP60048708 A JP 60048708A JP 4870885 A JP4870885 A JP 4870885A JP S61221856 A JPS61221856 A JP S61221856A
Authority
JP
Japan
Prior art keywords
message
processing
messages
application program
main memory
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.)
Granted
Application number
JP60048708A
Other languages
Japanese (ja)
Other versions
JPH0448256B2 (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

Abstract

PURPOSE:To attain the titled message recovery processing with high efficiency by using a writing means to a file memory and a means for to recover a message form a file memory to ensure the dynamic recovery of messages in case of system breakdown. CONSTITUTION:When a system breakdown occurs during communication between application programs X and Y and unprocessed message preserved on a file memory DASD4 is restored to a main memory buffer 31 in the form of a message queue waiting for processing, the number of unprocessed messages is always monitored in the message queue waiting for processing. Then the next message on the memory DASD4 is restored on the buffer 31 and connected to the message queue waiting for processing when the number of unprocessed messages is less than a fixed level. That is, an exclusive task provided on a data communication system DCMS can perform the message recovery processing in parallel with the message processing done by an application program Y2.

Description

【発明の詳細な説明】 〔概要〕 応用プログラム間でメツセージ通信を行うデータ処理シ
ステムに障害が発生した時のメツセージ復旧処理方式に
おいて、 ■ 該メツセージの通信を行う時、そのコピーをファイ
ルメモリ(DASD)上にメツセージ通信−の形で格納
しておき、システムがダウンして、該ファイルメモリ(
DASD)から未処理のメツセージを主記憶バッファ上
に復元する際、該主記憶バッファ上の処理待ちキュー上
のメツセージの数を監視し、該処理待ちメツセージの数
が、一定数以下になった時、上記ファイルメモリ(DA
SD)から、次のメツセージを主記憶バッファに復元し
て、上記処理待ちキューに繋ぐようにする。
[Detailed Description of the Invention] [Summary] In a message recovery processing method when a failure occurs in a data processing system that communicates messages between application programs, ■ When communicating the message, a copy of the message is stored in a file memory (DASD). ) on the file memory (
When restoring unprocessed messages from DASD to 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 above file memory (DA
SD), the next message is restored to the main memory buffer and connected to the processing queue.

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

ことにより、該データ処理システムの障害時にメツセー
ジを復元する際、主記憶バッファ上に未処理のメツセー
ジが総て展開されるのを防ぎ、該データ処理システムに
おけるメツセージの処理全体を管理するデータ通信管理
システム(DCMS)の処理効率を向上させるようにし
たものである。
This prevents all unprocessed messages from being expanded to the main memory buffer when restoring messages in the event of a failure of the data processing system, and provides data communication management for managing the entire message processing in the data processing system. This is to improve the processing efficiency of the system (DCMS).

(産業上の利用分野) 本発明は、応用プログラム(X、Y)間でメツセージの
通信を行うデータ処理システムに、障害が発生した時の
メツセージ復旧処理方式に関する。
(Field of Industrial Application) 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, Y).

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

そこで、処理能力上からは、複数個のシステムで負荷分
散9機能分散を図ると共に、危険分散の見地から、ファ
イルメモリを複数個のシステムに分ける、所謂分散シス
テムの形態を採ることが多くなってきた。
Therefore, in terms of processing capacity, load balancing9 functions are distributed across 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 an online system, data (messages) input from a terminal are generally processed in a reciprocal memory and then filed in a database or the like.

このような複合システムの形をとる計算機システムにお
いては、例えば、1つのシステムに接続されている端末
からデータが投入された場合、該データが自システムの
ファイルに属するものであれば、直ちに該ファイルに格
納されるが、自システムのファイルに属さない場合、或
いは、自システムのファイルに属するものであっても、
該端末からデータを受信した応用プログラム(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, the file is immediately , but does not belong to the file of the local system, or even if it belongs to the file of the local system,
The application program (X) that received data from the terminal,
When direct line data cannot be processed, it is necessary to send the data to another application program (Y).

この応用プログラム(X、Y)間のデータ送信が、所謂
応用プログラム間通信と呼ばれるものである。
This data transmission between application programs (X, Y) is what is called communication between application programs.

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

又、自システム内の2つの応用プログラム間通信におい
ても、システムダウン時のデータ(メツセージ)の消失
を回避する目的で、ファイルメモリに、そのコピーを蓄
積しておき、システムダウン時には、該ファイルメモリ
から主記憶上に該データを展開して処理する形態を採る
In addition, 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, if a large amount of data (messages) is stored in the file memory, if you expand the data to the main memory at once, the main memory will be occupied by the data, and the entire system will be damaged. There was a problem that the processing efficiency of the message decreased, and an effective data (message) recovery processing method was awaited.

〔従来の技術〕 ■ 第3図は、一般の応用プログラム間通信の概念を模
式的に示したもので、応用プログラム(X)lがメツセ
ージ(データ)を送信する為の通信マクロ、例えば°P
UT”によって、該メツセージqを送信すると、該メツ
セージは主記憶(メモリ)3上の、ユーザがシステムの
規模に応じて設定した主記憶バッファ31に書き込まれ
ると共に、該メツセージを受は取る為の通信マクロ G
ET“を発行している応用プログラム(Y)2に通知さ
れる。
[Prior Art] ■ Figure 3 schematically shows the concept of communication between general application programs.
When the message q is sent by ``UT'', the message is written to the main memory buffer 31 on the main memory (memory) 3, which is set by the user according to the scale of the system. Communication macro G
The application program (Y)2 that has issued the ET" is notified.

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

このように、従来においては、例えば、2つの応用プロ
グラム(X、Y)が、互いに上記通信マクロ’PUT’
 、“GET’を発行することにより、応用プログラム
(X、Y)間通信を実行していた。
In this way, conventionally, for example, two application programs (X, Y) communicate with each other using the communication macro 'PUT'.
, "GET'" to execute communication between the application programs (X, Y).

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

この方式においては、応用プログラム(X) 1が、主
記憶バッファ31上にメツセージ@を格納すると同時に
、該メツセージ@のコピーをファイルメモリ(DASD
) 4上に持つようにして、システムのダウン等によっ
て、該主記憶バッファ31上から、上記メツセージが失
われた時の保証をとるようにしていた。
In this method, the application program (X) 1 stores a message @ on the main memory buffer 31 and at the same time stores a copy of the message @ in a file memory (DASD).
) to ensure that the message is lost from the main memory buffer 31 due to a system failure or the like.

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

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

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

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

〔問題点を解決する為の手段〕 第1図は、本発明のメツセージ復旧処理の原理ブロック
図である。
[Means for solving the problem] FIG. 1 is a block diagram of the principle of message recovery processing of the present invention.

本図において、al、a2は応用プログラム(Y)2の
処理待ちメツセージキューターミナル31゛で、当該シ
ステムがダウンして応用プログラム(Y)2が起動され
た時点で、ファイルメモリ(DASD) 4上に保存さ
れている、上記各ターミナル31゛対応のメッセージキ
s−(Mal−1,Mal−2,・−=、 Mg2−1
.Mg2−2、−) から、主記憶バッファ31に、各
ターミナル31′毎にメツセージを復旧する。
In this figure, al and a2 are message queue terminals 31' waiting for processing of the application program (Y) 2, and when the system is down and the application program (Y) 2 is started, the message queue terminals al and a2 are stored on the file memory (DASD) 4. The message keys s-(Mal-1, Mal-2, .--=, Mg2-1) corresponding to each of the above terminals 31
.. Mg2-2, -), the message is restored to the main memory buffer 31 for each terminal 31'.

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

〔作用〕[Effect]

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

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

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図(イ)、(ロ)は本発明の一実施例を模式的に示
したもので、本発明に関連する連続した処理の内、(1
)〜(3)を、図面(イ)に示し、続く処理(4)〜(
6)を図面(ロ)に示している。
FIGS. 2(a) and 2(b) schematically show one embodiment of the present invention, in which (1) of the continuous processing related to the present invention is shown.
) to (3) are shown in drawing (a), and the subsequent processes (4) to (
6) is 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. Hereinafter, the explanation will be given in order starting from (1).

(1)  応用プログラム(X)1が応用プログラム(
Y)2に対して、データ(メツセージ)■〜■を送信す
る時、主記憶バッファ31上に処理待ちメツセージキュ
ーの形で書き込むと共に、該データのコピー■〜■をフ
ァイルメモリ(DASD) 4上に、同じキューの形で
保存して、応用プログラム(Y)2にデータの送信を通
知する。
(1) Application program (X) 1 is an application program (
Y) When sending data (messages) 2 to 2, it is written to the main memory buffer 31 in the form of a message queue waiting to be processed, and copies of the data 2 to 2 are written to the file memory (DASD) 4. Then, the data is stored in the same queue format and the application program (Y) 2 is notified of the data transmission.

該メツセージを受は取る為の通信マクロ°GET’を発
行している応用プログラム(Y)2は、主記憶バッファ
31からデータ■を読み出し処理をする。
The application program (Y) 2, which issues the communication macro °GET' for receiving and receiving the message, reads data (2) from the main memory buffer 31 and processes it.

主記憶バッファ31.及びファイルメモリ(DASD)
4上のデータは応用プログラム(Y)2において処理さ
れ、次のデータを受信する為の上記通信マクロ(GET
)が発行された時、開放される。
Main memory buffer 31. and file memory (DASD)
The data on 4 is processed in the application program (Y) 2, and the above communication macro (GET) is used to receive the next data.
) is released when it is issued.

(2)上記応用プログラム(X、Y)通信を行っている
システムがダウンすると、直ちに、システムの立ち上げ
処理が行われ、該立ち上げが完了すると、データ通信管
理システム(以下、DCMSと云う)は次の処理(3)
に入る。
(2) When the system that is communicating with the above application programs (X, Y) goes down, system startup processing is performed immediately, and when the startup is completed, the data communication management system (hereinafter referred to as DCMS) is the following process (3)
to go into.

(3)  DCMS 5は応用プログラム(Y)2から
の起動を認識すると、先ず、ファイルメモリ(1)AS
D) 4よりデータ■■■のみを主記憶(メモリ)3上
の上記バッファ31に復元する。
(3) When DCMS 5 recognizes startup from application program (Y) 2, it first stores file memory (1) AS
D) Only the data ■■■ are restored to the buffer 31 on the main memory (memory) 3 from step 4.

(41DCMS 5は該復元したデータ■■■を応用プ
ログラム(Y)2に通知する。
(41 DCMS 5 notifies the application program (Y) 2 of the restored data.

゛ 該メツセージを受は取る為の通信マクロ “Gll
!T’を発行している応用プログラム(Y)2において
は、該データを1つ宛読み取って処理を行う。
゛ Communication macro for receiving and receiving the message “Gll
! The application program (Y) 2 that issues T' reads one piece of data and processes it.

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

(5)  DCMS 5には、復元処理を行う専用のタ
スクを持っており、該タスクが応用プログラム(Y)2
からの依頼により、主記憶バッファ31上の処理待ちメ
ツセージキューに残っている未処理メツセージの数を、
該処理待ちメツセージキューターミナル31゛毎に監視
して、未処理メツセージの数が一定数(例えば、応用プ
ログラムのタスク数×2)以下になった時、ファイルメ
モリ(DASD) 4上に保存されている次のデータ■
以降の復元を実行する。
(5) DCMS 5 has a dedicated task that performs restoration processing, and this task is the application program (Y) 2.
At the request of
Each message queue terminal 31 is monitored, and when the number of unprocessed messages becomes less than a certain number (for example, the number of application program tasks x 2), the messages are saved on the file memory (DASD) 4. Next data
Perform subsequent restores.

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

(6)  DCMS 5は、該復元依頼を受けると、フ
ァイルメモリ(DASD) 4上のデータ■を主記憶バ
ッファ31上に復元し、応用プログラム(Y)2に通知
する。この時、既に■のデータが処理済みとなっていた
ならば、データ■も主記憶バッファ31上に復元して、
応用プログラム(Y)2に通知する。
(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 (Y) 2. At this time, if the data ■ has already been processed, the data ■ is also restored onto the main memory buffer 31,
Notify application program (Y)2.

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

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

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

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

この時、該復元処理を、データ通信管理システム(DC
MS)に設けられている専用のタスクが、応用プログラ
ム(Y)2でのメツセージ処理と並列に行うことができ
るようにしたものであるので、主記憶バッファ31が復
元メツセージで占有されることがなく、且つ該メツセー
ジ復旧処理が、応用プログラム(Y)2とは別の専用タ
スクで行われるので、応用プログラム(Y)2はメツセ
ージの処理に専念でき、システム全体の処理効率を向上
させることができる効果がある。
At this time, the restoration process is performed by the data communication management system (DC).
Since the dedicated task provided in MS) can be executed in parallel with the message processing in the application program (Y) 2, the main memory buffer 31 will not be occupied by restored messages. Moreover, since the message recovery process is performed in a dedicated task separate from the application program (Y) 2, the application program (Y) 2 can concentrate on message processing, 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 ’ はデータを受信する為の通信マクロ。 をそれぞれ示す。 DASD 浬季8月のメンせ−レイ亥(e赴U9の原理アOツ20
茶 (凶 シスラムムーt−+ア゛ 小1!明の一更87Pまt明する訝口 )に 2°!0  (イ) 一罹の庇目7D7゛ラム1VJi!14きめ戦とげしし
F国是 3 口
FIG. 1 is a block diagram of the principle of message recovery processing according to the present invention. FIG. 2 is a diagram schematically showing an embodiment of the present invention. 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. It is. In the drawings, 1 is the application program (X), 2 is the application program (
Y). 3 is a main memory (memory), and 31 is a main memory buffer. 4 is file memory (DASD). 5 is the data communication management system (DCMS). ■、■~ is data (message). “PUT” is a communication macro for transmitting data. “GET” is a communication macro for receiving data. 20
2° to tea (Kousi Shirammu t-+ A゛ Elementary School 1! 87 pages start to dawn) 2°! 0 (a) One victim's eaves 7D7゛ram 1VJi! 14th Battle Togeshishi F National Policy 3 words

Claims (2)

【特許請求の範囲】[Claims] (1)データ通信管理システム(DCMS)の制御の元
に、メッセージを処理する複数個の応用プログラムを有
し、1つの応用プログラム(X)がメッセージを送信す
ると、該メッセージを主記憶上のバッファに書き込むと
共に、他の応用プログラム(Y)(2)に該書き込みを
通知し、該応用プログラム(Y)(2)が、上記主記憶
バッファ(31)上のメッセージを読み取って処理する
と云う動作を繰り返すことにより、一連のメッセージ処
理を行うデータ処理システムにおいて、 上記メッセージを主記憶バッファ(31)上に、処理待
ちキューの形で格納すると同時に、ファイルメモリ(D
ASD)(4)上にも、そのコピーをメッセージキュー
の形で格納する手段と、 該データ処理システムのダウン時に、上記ファイルメモ
リ(DASD)(4)上のメッセージを、上記主記憶バ
ッファに復元するのに、該処理待ちキュー内のメッセー
ジの数を監視して、該メッセージの数が一定値以下にな
った時、該ファイルメモリ(DASD)(4)より、次
のメッセージを主記憶バッファ(31)上に復元して、
上記処理待ちキューに繋ぐ手段と、 を備え、上記ファイルメモリ(DASD)(4)への書
き込み手段と、該ファイルメモリ(DASD)(4)か
らのメッセージ復旧手段とにより、システムダウン時の
メッセージの復旧を動的に行うことを特徴とするメッセ
ージ復旧処理方式。
(1) Under the control of a data communication management system (DCMS), there are multiple application programs that process messages, and when one application program (X) sends a message, the message is sent to a buffer in main memory. At the same time, the other application program (Y) (2) is notified of the writing, and the application program (Y) (2) reads and processes the message on the main memory buffer (31). By repeating this process, 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, the message is stored in the file memory (D
means for storing a copy thereof in the form of a message queue on the DASD (4), and a means for restoring the message on the file memory (DASD) (4) to the main memory buffer when the data processing system goes down; The number of messages in the waiting queue is monitored, and when the number of messages falls below a certain value, the next message is transferred from the file memory (DASD) (4) to the main memory buffer ( 31) Restore above and
means for connecting to the processing waiting queue; and means for writing to the file memory (DASD) (4) and means for restoring messages from the file memory (DASD) (4), so that messages can be saved when the system goes down. A message recovery processing method characterized by dynamic recovery.
(2)上記メッセージ復旧手段として、上記データ通信
管理システム(DCMS)に、メッセージ復旧タスクを
設け、該タスクによって、上記応用プログラム(Y)(
2)のメッセージ処理と並列にメッセージを復旧するよ
うにしたことを特徴とする特許請求の範囲第1項に記載
のメッセージ復旧処理方式。
(2) As the message recovery means, a message recovery task is provided in the data communication management system (DCMS), and the task causes the application program (Y) (
2. The message recovery processing method according to claim 1, wherein the message is recovered in parallel with the message processing in step 2).
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 true JPS61221856A (en) 1986-10-02
JPH0448256B2 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
JPH04237356A (en) * 1991-01-21 1992-08-25 Nec Corp On-line information processing system

Families Citing this family (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

Citations (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

Patent Citations (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
JPH04237356A (en) * 1991-01-21 1992-08-25 Nec Corp On-line information processing system

Also Published As

Publication number Publication date
JPH0448256B2 (en) 1992-08-06

Similar Documents

Publication Publication Date Title
JP4634058B2 (en) Real-time remote backup system and backup method thereof
JP3197279B2 (en) Business takeover system
JPS61221856A (en) Message recovery processing system
CN1368683A (en) Fault-tolerant method by means of synchronous directory
JPH02165344A (en) Hot stand-by system
JPH0389648A (en) Telegraph exchange system
CN117891661A (en) Data backup method and device, electronic equipment and readable storage medium
JP2531103B2 (en) Inter-job data communication system
JP2907102B2 (en) File loading method
JP2850757B2 (en) Failure handling method in hierarchical file system
JP3709050B2 (en) Data update system
JPS5836378B2 (en) How to restore a duplex system
CN114840365A (en) Abnormal state double live volume expansion method, system, terminal and storage medium
JPH10289179A (en) File transfer method, file transfer controller and recording medium recording file transfer program
JPH0997237A (en) Input telegraphic message guaranteeing method for on-line transaction processing system
JPS61296461A (en) Message guarantee system between on-line jobs
JPH06214856A (en) Data backup system
CN115390997A (en) Distributed transaction processing method and device and electronic equipment
CN113127151A (en) Real-time copying method, system and medium for data in virtualization environment
JPH05303549A (en) Terminal data inheritance system
JPH01145745A (en) Exclusive control method for file access
JPH02176828A (en) Resource allocating system for computer system
JPH03137741A (en) Transaction phase control device
Maya et al. A high‐speed recovery method for use in distributed computer systems
JPH04118735A (en) Information processing service function extending system

Legal Events

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