JPH0895811A - Asynchronous inter-ap communication means - Google Patents

Asynchronous inter-ap communication means

Info

Publication number
JPH0895811A
JPH0895811A JP6229656A JP22965694A JPH0895811A JP H0895811 A JPH0895811 A JP H0895811A JP 6229656 A JP6229656 A JP 6229656A JP 22965694 A JP22965694 A JP 22965694A JP H0895811 A JPH0895811 A JP H0895811A
Authority
JP
Japan
Prior art keywords
transaction
computer
asynchronous
program
communication
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.)
Withdrawn
Application number
JP6229656A
Other languages
Japanese (ja)
Inventor
Tomio Tanabe
富穂 田邉
Atsushi Morimura
敦 森村
Satomi Akamine
哲實 赤峰
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.)
JFE Steel Corp
JFE Systems Inc
Original Assignee
Kawasaki Steel Systems R&D Corp
Kawasaki Steel 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 Kawasaki Steel Systems R&D Corp, Kawasaki Steel Corp filed Critical Kawasaki Steel Systems R&D Corp
Priority to JP6229656A priority Critical patent/JPH0895811A/en
Publication of JPH0895811A publication Critical patent/JPH0895811A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE: To release the execution timing of an application on a transmission- side computer from the execution timing of an application on a reception-side computer as to an asynchronous interAP communication. CONSTITUTION: When the CPU 10 of the transmission-side computer 1 generates a transaction by executing the application program, the transaction is delivered to a program for asynchronous transaction exchange interface. This program for asynchronous transaction exchange interface is executed by the CPU 10 and the transaction is stored in data base format on a hard disk storage device 1A. This transaction is transferred to the reception-side computer 2 through a communication interface 13 by the execution of a communication software.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は非同期AP間通信方法に
関し、より詳しくはオンラインシステム環境に接続され
た2つのコンピュータがそれぞれアプリケーションプロ
グラムを実行して、これらアプリケーションプログラム
で使用する情報を2つのコンピュータ間で授受する非同
期AP間通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous AP-to-AP communication method, and more specifically, two computers connected to an online system environment each execute an application program, and two computers use information used by these application programs. The present invention relates to an asynchronous AP-to-AP communication method.

【0002】[0002]

【従来の技術】従来、ネットワークを介して接続された
2つのコンピュータにおいて、それぞれアプリケーショ
ンプログラムを実行して情報交換することが行われてい
る。この場合、送信側のコンピュータでは、たとえば、
アプリケーションプログラムにより作成した情報をファ
イルに集約して一次記憶する。そして、運用管理シシテ
ム等の支援システム(プログラム)とアプリケーション
プログラムを連動させて、上記ファイルをメッセージの
ハンドシェイク手法を用いて受信側のホストコンピュー
タに非同期で送信する。受信側のホストコンピュータは
受信のファイルを支援システムにより一時記憶し、記憶
したファイル情報をアプリケーションプログラムが用い
る。
2. Description of the Related Art Conventionally, two computers connected via a network execute application programs to exchange information. In this case, on the sending computer, for example,
The information created by the application program is collected in a file and temporarily stored. Then, by linking a support system (program) such as an operation management system and an application program, the file is asynchronously transmitted to the host computer on the receiving side by using the message handshake method. The host computer on the receiving side temporarily stores the received file by the support system, and the stored file information is used by the application program.

【0003】異機種システム間のAP間通信も可能とな
ってきており、国際標準であるOSI(Open Sy
stem Interconnection:開放型シ
ステム間相互接続)の一部として、基本標準が制定され
つつある。その応用領域(Electron Data
Interchange:電子データ交換規約)とし
て標準化が進められているが、商業ベースでの実用化に
は至っていない。
Inter-AP communication between heterogeneous systems has become possible, and the international standard OSI (Open Sy)
Basic standards are being established as part of system interconnection (open system interconnection). Its application area (Electron Data
Interchange: Standardization as an electronic data exchange agreement) is being promoted, but it has not been put to practical use on a commercial basis.

【0004】[0004]

【発明が解決しようとする課題】このような非同期AP
間通信法方法では、送信側コンピュータがアプリケーシ
ョンプログラムの内の通信関連の処理自体を終了しても
受信側コンピュータ側から処理の終了のメッセージを応
答しないと、次回の処理を実行することができない。こ
のため、従来の非同期AP間通信方法には、アプリケー
ションプログラムの実行時間の短縮についてなお、改善
の余地があった。
SUMMARY OF THE INVENTION Such an asynchronous AP
In the intercommunication method, even if the sending computer finishes the communication-related process itself in the application program, the next process cannot be executed unless the receiving computer responds with a message indicating the end of the process. Therefore, the conventional asynchronous AP-to-AP communication method still has room for improvement in reducing the execution time of the application program.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために請求項1に記載の発明は、送信側コンピュータ
がアプリケーションプログラムにより順次に発生したト
ランザクションを、送信側コンピュータおよび受信側コ
ンピュータが非同期トランザクション交換制御インタフ
ェース用のプログラムをそれぞれ実行して、当該送信側
コンピュータから受信側コンピュータに対して非同期に
転送し、当該トランザクションを受信側コンピュータが
アプリケーションプログラムにより順次に情報処理する
非同期メッセージ交換通信方法において、前記送信側コ
ンピュータのアプリケーションプログラムは前記トラン
ザクションを同期をとって順次に送信側コンピュータの
非同期トランザクション交換制御インタフェース用のプ
ログラムに引渡し、当該トランザクション交換制御イン
タフェース用プログラムは引渡されたトランザクション
を記憶装置に蓄積した後、当該トランザクションを通信
プログラムにより受信側コンピュータに送信し、前記受
信側コンピュータ側では通信プログラムにより当該トラ
ンザクションを受信して、当該受信側コンピュータのト
ランザクション交換制御インタフェース用のプログラム
は、記憶装置に蓄積した後、当該トランザクションを受
信側コンピュータのアプリケーションプログラムに引渡
すことを特徴とする。
In order to achieve such an object, the invention described in claim 1 is such that a transaction is sequentially generated by an application program by a transmitting computer, and the transmitting computer and the receiving computer asynchronously execute the transactions. In an asynchronous message exchange communication method, in which a program for a transaction exchange control interface is executed and transferred asynchronously from the sending computer to the receiving computer, and the receiving computer sequentially processes the transaction by an application program , The application program of the sender computer hands over the transaction synchronously and sequentially to the program for the asynchronous transaction exchange control interface of the sender computer The transaction exchange control interface program stores the delivered transaction in the storage device, then transmits the transaction to the receiving computer by the communication program, and the receiving computer side receives the transaction by the communication program and The program for the transaction exchange control interface of the receiving computer is characterized by accumulating in the storage device and then delivering the transaction to the application program of the receiving computer.

【0006】請求項2に記載の発明は、請求項1の発明
に加えて、前記送信側コンピュータの記憶装置および前
記受信側コンピュータの記憶装置のトランザクションの
記憶形態をデータベースとすることを特徴とする。
According to a second aspect of the present invention, in addition to the first aspect of the invention, the storage form of the transactions of the storage device of the sending computer and the storage device of the receiving computer is a database. .

【0007】請求項3に記載の発明は、請求項2の発明
に加えて、一時点で一つのトランザクション交換処理プ
ロセスしか実行できないように前記データベースの持つ
機能(排他制御)を利用しトランザクションの多重制御
することを特徴とする。
According to a third aspect of the present invention, in addition to the second aspect of the present invention, the function (exclusive control) of the database is used so that only one transaction exchange processing process can be executed at a time, and transaction multiplexing is performed. It is characterized by controlling.

【0008】[0008]

【作用】請求項1の発明では、送信側コンピュータのア
プリケーションプログラムは、あたかも記憶装置にトラ
ンザクションを書き込み、受信側コンピュータは記憶装
置からトランザクションを読み出すだけの処理となる。
また、トランザクション交換制御インタフェース用のプ
ログラムにより記憶装置のトランザクションを読み出し
て通信プログラムにより送信先へ送られる。
According to the first aspect of the invention, the application program of the transmitting computer writes the transaction into the storage device, and the receiving computer performs the process of reading the transaction from the storage device.
Further, the transaction for the transaction exchange control interface reads the transaction from the storage device and sends it to the destination by the communication program.

【0009】受信側コンピュータのトランザクション交
換制御インタフェース用のプログラムは受信したトラン
ザクションを記憶装置に書き込むだけの処理を行う。こ
れにより、従来のように送信側コンピュータのアプリケ
ーションは受信コンピュータからの応答を待って次回の
プロセスを実行する必要がなくなる。またアプリケーシ
ョンプログラム,トランザクション交換制御インタフェ
ース用プログラムのそれぞれが簡素化され、相互に独立
してリアルタイムにトランザクション交換が行える。
The program for the transaction exchange control interface of the receiving computer performs only the processing of writing the received transaction in the storage device. This eliminates the need for the application on the sending computer to wait for a response from the receiving computer to execute the next process as in the conventional case. Also, each of the application program and the transaction exchange control interface program is simplified so that transactions can be exchanged in real time independently of each other.

【0010】請求項2の発明では、トランザクションを
データベースの形態で記憶装置に保存するので、単なる
アドレス指定の記憶形態に比べると記憶データの確損の
危険性が小さくなる。
According to the second aspect of the present invention, since the transaction is stored in the storage device in the form of a database, the risk of loss of accuracy of the stored data is reduced as compared with the storage form of simple addressing.

【0011】請求項3の発明では、データベースへのア
プリケーション,トランザクション交換制御インタフェ
ース用プログラムのアクセスが同時に発生することはな
いのでデータベース上のトランザクションが保護され
る。
According to the third aspect of the invention, since the application and the transaction exchange control interface program do not access the database at the same time, the transaction on the database is protected.

【0012】[0012]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0013】本発明の説明に先立って、本発明を適用す
るシステムを図1を用いて説明する。なお、本実施例に
おいて使用するコンピュータ1,2には従来からハード
ウェア構成が周知のコンピュータを用いることができる
ので、説明は簡略に留める。
Prior to the description of the present invention, a system to which the present invention is applied will be described with reference to FIG. The computers having known hardware configurations can be used as the computers 1 and 2 used in the present embodiment, and the description thereof will be briefly described.

【0014】図1において、コンピュータ1およびコン
ピュータ2は、信号ケーブル3により接続される。CP
U10はROM11内に格納されたシステム制御プログ
ラムを用いて、、コンピュータ1内の各構成部品を制御
する他、アプリケーションプログラム,通信ソフトウェ
ア,オペレーションシステム(OS)用プログラム等後
述の各種ソフトウェアプログラムを実行する。
In FIG. 1, the computer 1 and the computer 2 are connected by a signal cable 3. CP
The U10 uses the system control program stored in the ROM 11 to control each component in the computer 1, and also executes various software programs described later such as an application program, communication software, and an operating system (OS) program. .

【0015】CPU10の演算に関連して、実行対象の
プログラム,プログラムの演算結果をRAM12に一時
格納する。通信インタフェース13はCPU10の指示
でコンピュータ2と情報の授受を行う。入出力インタフ
ェース14はCPU10の指示でハードディスク記憶装
置1Aと読み/書き情報の受け渡しを行う。ハードディ
スク記憶装置1Aは後述のアプリケーションプログラ
ム,非同期トランザクション交換インタフェース(用の
プログラム),OSプログラム,コンピュータ2との間
で授受する情報(以下、トランザクションと総称する)
を記憶する。このトランザクションはデータベース形態
で記憶される。コンピュータ1は以上の構成部品を有す
るが必要に応じてキーボード,CRT表示装置をコンピ
ュータ1に接続することができる。また、コンピュータ
2もコンピュータ1と同様の構成とすることができる。
In connection with the calculation of the CPU 10, the program to be executed and the calculation result of the program are temporarily stored in the RAM 12. The communication interface 13 exchanges information with the computer 2 according to an instruction from the CPU 10. The input / output interface 14 exchanges read / write information with the hard disk storage device 1A according to an instruction from the CPU 10. The hard disk storage device 1A includes an application program, an asynchronous transaction exchange interface (a program therefor), an OS program, and information exchanged with the computer 2 (hereinafter, collectively referred to as transaction).
Is stored. This transaction is stored in database form. The computer 1 has the above components, but a keyboard and a CRT display device can be connected to the computer 1 as required. The computer 2 can also have the same configuration as the computer 1.

【0016】本発明に関わるトランザクションの通信の
ための非同期トランザクション交換プロトコルについて
説明する。
An asynchronous transaction exchange protocol for communication of transactions according to the present invention will be described.

【0017】A)非同期トランザクション交換プロトコ
ルの概要 A−1.非同期トランザクション交換プロトコル 本実施例では図2に示す非同期AP間通信処理手順(プ
ロトコル)に従ってトランザクションの通信を行う。こ
の非同期AP間通信処理手順において、トランザクショ
ンの交換・制御を行う論理モジュール(UTP)の間で
規定されるトランザクション交換規約を非同期トランザ
クション交換プロトコルと呼ぶことにする。これは、非
同期AP間通信の階層構造型論理モデルのトランザクシ
ョン交換規約に当たり、 下位層で規定される通信プロトコルの種類に依存しな
い, トランザクション交換単位は、1つの受動UAP〜起
動UAPの組合せ(これを『パートナ』と呼び、非同期
AP間通信処理の要求の最小単位である)単位に独立し
て行うことができる という特徴を持つ。本実施例の非同期AP間処理支援シ
ステムは、このプロトコルを用いてトランザクションの
整合性(データの脱落や重複の防止、順序の保証等)を
保持し、UAP間でのトランザクション交換処理を実現
している。
A) Outline of asynchronous transaction exchange protocol A-1. Asynchronous Transaction Exchange Protocol In this embodiment, transaction communication is performed according to the asynchronous AP communication processing procedure (protocol) shown in FIG. In this asynchronous inter-AP communication processing procedure, the transaction exchange agreement defined between the logic modules (UTPs) for exchanging and controlling transactions is called an asynchronous transaction exchange protocol. This corresponds to the transaction exchange contract of the hierarchical logical model of asynchronous AP communication, and does not depend on the type of communication protocol defined in the lower layer. The transaction exchange unit is one passive UAP to activation UAP It is called a “partner” and has the characteristic that it can be performed independently in units of the minimum request for asynchronous AP-to-AP communication processing. The asynchronous inter-AP processing support system of the present embodiment uses this protocol to maintain transaction consistency (prevention of data loss and duplication, order guarantee, etc.) and realize transaction exchange processing between UAPs. There is.

【0018】図2のプロトコルを実行して、非同期AP
間通信を行うために図1のコンピュータ1,2はそれぞ
れハードディスク記憶装置内に以下のソフトウェアを有
している。すなわち、通信プロトコル・インタフェース
は、異なる通信プロトコルを利用したトランザクション
交換ができ、通信プロトコルの選択に対して共通のイン
タフェースの機能を提供する。通信プロトコル・インタ
フェースは通信ソフトウェアと共に請求項1の発明の通
信プログラムとして動作する。
Asynchronous AP executing the protocol of FIG.
In order to perform inter-communication, each of the computers 1 and 2 in FIG. 1 has the following software in the hard disk storage device. That is, the communication protocol interface allows transaction exchange using different communication protocols and provides a common interface function for selection of communication protocols. The communication protocol interface operates as a communication program of the invention of claim 1 together with communication software.

【0019】UAPインタフェースは、複数の異なるU
APからのトランザクション交換要求に対する共通のイ
ンタフェースの提供をする。
The UAP interface consists of a number of different U
It provides a common interface for transaction exchange requests from APs.

【0020】非同期型トランザクション交換制御インタ
フェースは、複数のUAPからのトランザクション交換
要求を統合・管理し、トランザクションの整合性を保持
しつつ確実に相手UAPトランザクションを転送する機
能を提供する。また、トランザクションの蓄積・待ち行
列化する機能をも提供する。
The asynchronous transaction exchange control interface integrates and manages transaction exchange requests from a plurality of UAPs and provides a function of reliably transferring the counterpart UAP transaction while maintaining transaction consistency. It also provides the function of storing and queuing transactions.

【0021】データベース・インタフェースは、トラン
ザクション用データベース,システム管理用データベー
スのアクセスを行い、排他制御、同期点処理、回復処理
等のデータベース維持・管理する機能を提供する。
The database interface provides a function of accessing the transaction database and the system management database and maintaining / managing the database such as exclusive control, synchronization point processing, and recovery processing.

【0022】資源管理/実行管理用OSは、複数のUA
Pが使用するシステム資源を管理し、処理のスケジュー
リングやタスク制御等の管理を行う機能を提供する。
The resource management / execution management OS is composed of a plurality of UAs.
It provides the function of managing the system resources used by P and managing the processing scheduling and task control.

【0023】上記の機能は、オペレーティング・システ
ム、図2に示すように通信ソフトウェア,DCMS(D
ata Communication Managem
ent System),DBMS(Data Bas
e ManagementSystem)等の機能と構
造に依存する部分が大きいが、非同期AP間通信処理を
実現するためには、個々のソフトウェアの機能分担を明
確にし、標準化する必要があり、個々のソフトウェアの
機能を階層構造型論理モデルとして整理し、これに基づ
いて標準化すべき領域の確定を行っている。その結果、
標準化領域は4層に分割され、それぞれの層の担うべき
規約と階層間のインタフェースを設定して、各層での変
更,修正,拡張の影響が他の層へ波及することを最小限
に防ぐようにする。
The above-mentioned functions are the operating system, communication software, DCMS (D
ata Communication Management
ent System), DBMS (Data Bas)
e Management System) and the like largely depend on the function and structure, but in order to realize the asynchronous AP-to-AP communication processing, it is necessary to clarify and standardize the function allocation of each software. The logical model is organized as a hierarchical structure, and the areas to be standardized are determined based on this. as a result,
The standardized area is divided into four layers, and the rules that each layer should bear and the interfaces between layers are set to prevent the influence of changes, modifications, and extensions in each layer from spreading to other layers to the minimum. To

【0024】なお、図2の業務処理規約は、適用業務が
AP間通信処理業務を運用する上での規約であり、コン
ピュータ1,2のハードディスク装置に搭載されたユー
ザ・アプリケーション・プログラム(UAP)として実
現する。
Note that the business processing rules of FIG. 2 are the rules for the applied business to operate the inter-AP communication processing business, and are user application programs (UAP) installed in the hard disk devices of the computers 1 and 2. Realized as.

【0025】AP運用規約は、ユーザ・アプリケーショ
ン・プログラム(UAP)がトランザクション交換を行
う上でトランザクション交換処理とのインタフェースや
システム運用サービス機能を規定する。
The AP operation contract defines the interface with the transaction exchange processing and the system operation service function when the user application program (UAP) exchanges the transaction.

【0026】トランザクション交換規約は、通信プロト
コルに従ったトランザクション交換を行う上での追加規
約であり情報転送規約の上に、機能追加・補間部分を規
定する。
The transaction exchange agreement is an additional agreement for performing transaction exchange according to the communication protocol, and defines a function addition / interpolation portion on the information transfer agreement.

【0027】情報転送規約は、システム間の相互接続性
を保証する範囲であり、お互いのシステム間で通信する
上での通信プロトコルを何に基づいて行うか、その通信
プロトコルのサービスはどんなものを使用するかなど具
体的な利用範囲・方法を規定する。
The information transfer protocol is a range for guaranteeing the interoperability between the systems, and based on what communication protocol is used to communicate between the systems, what service of the communication protocol is used. Specify the specific scope and method of use such as whether to use.

【0028】これらの規約に基づき、各々のシステムで
作り込みを行えば、どのようなシステム間でも非同期A
P間通信処理の実現が可能となる。
If each system is built on the basis of these rules, asynchronous A can be used between any systems.
It becomes possible to realize the inter-P communication processing.

【0029】B)非同期AP間通信の機能概要 以下、本発明に関わる非同期AP間通信の機能概要を図
3をもとに簡単に説明する。
B) Functional Outline of Asynchronous AP-to-AP Communication The functional outline of asynchronous AP-to-AP communication according to the present invention will be briefly described below with reference to FIG.

【0030】UAP(User Applicatio
n Program):非同期AP間通信処理システム
を利用するアプリケーション・システムを構成するプロ
グラムを指す。
UAP (User Application)
n Program): A program that constitutes an application system that uses the asynchronous inter-AP communication processing system.

【0031】API(Application Pro
gram Interface):APIは、UAPと
UTPの間でのデータ転送を行う。UAPでは、API
をサブルーチン形式で呼び出すことによって、容易にU
AP間のデータ交換を行うことができる。APIは、必
要に応じてメッセージの漢字コード変換やAP作成のフ
ォーマット変換ルーチンを呼び出し、APの使用に合わ
せたデータ変換処理を行う。
API (Application Pro)
gram Interface): API performs data transfer between UAP and UTP. In UAP, API
Can be called easily by calling
Data can be exchanged between APs. The API calls a Kanji code conversion of a message or a format conversion routine for AP creation as needed, and performs data conversion processing according to the use of the AP.

【0032】UTP(User Transactio
n exchange Processing):UT
Pは、非同期AP間通信処理システムの基本機能である
トランザクション交換を行う部分であり、UAPから受
け渡されたデータの保証を行うためにDBMS(Dat
a Base Management System)
のデータベースを待ち行列化して使用し、データの脱落
や重複の防止制御,順序保証の制御を行う。また、UT
Pは相手システムが停止していても、UAPが相手の状
態を意識することなくデータ交換処理が行える(これを
運用の独立性と呼ぶ)ようにしている。さらに、UTP
ではトランザクション交換でのペーシング制御,セキュ
リティー管理,ロギング等の処理を行っている。これら
の機能を構成する要素プログラム『制御UTP』と呼
び、送信/受信等の処理単位に複数種類の制御UTPが
存在する。
UTP (User Transaction)
n exchange processing): UT
P is a part that performs transaction exchange, which is a basic function of the asynchronous AP-to-AP communication processing system, and is a DBMS (Dat) for guaranteeing the data passed from the UAP.
a Base Management System)
This database is used by queuing to control data loss and duplication prevention, and order guarantee. Also, UT
Even when the partner system is stopped, P allows the UAP to perform data exchange processing without being aware of the partner's state (this is called operational independence). Furthermore, UTP
Handles transaction control such as pacing control, security management, and logging. It is called an element program “control UTP” that constitutes these functions, and there are a plurality of types of control UTP in processing units such as transmission / reception.

【0033】NPI(Network Protoco
l Interface):NPIは、非同期AP間通
信処理システムとDCMS(Data Communi
cation Management System)
との間で、DCMSの持つ通信プロトコルの種類に応じ
たデータ転送を行う。NPIを利用することによって、
将来利用可能となる新たな通信プロトコルを追加しても
基本部の処理構造を修正することなく対応できる。
NPI (Network Protocol)
l Interface): NPI is an asynchronous inter-AP communication processing system and DCMS (Data Communi).
(Cation Management System)
Data transfer is performed according to the type of communication protocol that the DCMS has. By using NPI,
Even if a new communication protocol that can be used in the future is added, it can be handled without modifying the processing structure of the basic part.

【0034】OPI(OPtator Interfa
ce):非同期AP間通信処理システムでは、トランザ
クション交換を制御する情報を管理データベース上に持
ち、ユーザはOPI(OPrator Interfa
ce)を利用することでトランザクション交換を行う単
位(これをパートナと呼ぶ)の追加,変更やトランザク
ション交換の状況の確認,再送処理を行うことができ
る。
OPI (OPtortorfa)
ce): The asynchronous AP-to-AP communication processing system has information for controlling transaction exchange in the management database, and the user has an OPI (OPrator Interface).
By using (ce), it is possible to add and change the unit for transaction exchange (this is called a partner), check the status of transaction exchange, and perform resend processing.

【0035】テスト支援サービス:テスト支援サービス
は、非同期AP間通信処理システム環境を利用した新規
UAPのテスト(トランザクション送受信)を支援する
もので、テスト支援サービス・ユーティリティーを利用
することにより、実際のUTPとのトランザクション交
換をシミュレーションすることができる(オプション機
能)。
Test support service: The test support service supports the test (transaction transmission / reception) of a new UAP using the asynchronous AP communication processing system environment. By using the test support service utility, the actual UTP Transaction exchange with can be simulated (optional feature).

【0036】運用支援サービス:運用支援サービス(非
同期AP間処理支援システム)は、大きく分けて5つの
機能を持つ。
Operation support service: The operation support service (asynchronous AP processing support system) has roughly five functions.

【0037】DBMS/DCMSの停止時にデータ交
換中であったUAPを発見し、自動的に再起動させる。
When the DBMS / DCMS is stopped, the UAP in the middle of data exchange is found and automatically restarted.

【0038】特定のサイクルで停止状態になっている
パートナを発見し、オペレータに対して停止状態になっ
ているパートナ名を通知する。
A partner in a stopped state is found in a specific cycle, and the operator is notified of the partner name in a stopped state.

【0039】特定のサイクルで非同期AP間通信処理
システム間の接続状態をチェックし、異常を発見すると
オペレータに対して異常になっているパートナのトラン
ザクション名を通知する。
The connection state between the asynchronous AP-to-AP communication processing systems is checked in a specific cycle, and if an abnormality is found, the operator is notified of the transaction name of the abnormal partner.

【0040】受動UAPの異常終了を発見し、オペレ
ータに警告メッセージを通知する。
An abnormal termination of the passive UAP is detected, and a warning message is notified to the operator.

【0041】開始/終了要求の発行をバッチ・モード
で実行する。
Issue the start / end request in batch mode.

【0042】C)システム動作 説明した各機能をもとに図1のコンピュータ1,2が非
同期AP間通信を行うと、次のようなシステム動作とな
る。
C) System Operation When the computers 1 and 2 in FIG. 1 perform asynchronous AP-to-AP communication based on the functions described above, the following system operation is performed.

【0043】起動側のコンピュータ1のCPU10は、
適用業務システム用のアプリケーションプログラムを実
行して、コンピュータ2側へ転送する情報(トランザク
ション)を作成すると、CPU10はユーザアプリケー
ションプログラム(UAP)インタフェースを用いて、
非同期型トランザクション交換制御インタフェースにト
ランザクションを引き渡す。この非同期型トランザクシ
ョン交換制御インタフェース(ソフトウェアプログラ
ム)をCPU10が実行することにより上記トランザク
ションには順度番号が付加され、ハードディスク記憶装
置1Aのデータベース上の待ち行列に蓄積する。この
後、アプリケーションプログラムインタフェースを介し
て同期点の応答が返される。アプリケーションプログラ
ムにより、この同期点の応答を受信したCPU10は、
受信側のコンピュータからの応答を待たずに、次回のト
ランザクションを作成するため処理をアプリケーション
プログラムにより実行する。以下、アプリケーションプ
ログラム終了まで上述の処理が繰り返される。
The CPU 10 of the computer 1 on the starting side is
When the application program for the application system is executed to create the information (transaction) to be transferred to the computer 2, the CPU 10 uses the user application program (UAP) interface,
Pass the transaction to the asynchronous transaction exchange control interface. When the asynchronous transaction exchange control interface (software program) is executed by the CPU 10, a sequential number is added to the transaction, and the transaction is stored in a queue on the database of the hard disk storage device 1A. After this, a sync point response is returned via the application program interface. The CPU 10, which has received the response of this synchronization point by the application program,
The application program executes the process for creating the next transaction without waiting for the response from the receiving computer. Hereinafter, the above processing is repeated until the application program ends.

【0044】非同期トランザクション交換制御インタフ
ェースとして機能しているCPI10は、受信側コンピ
ュータ2の処理能力に合わせて、メッセージ交換等によ
り同期をとって、待ち行列上のトランザクションを読出
し通信プロトコルインタフェース,通信ソフトウェアを
介して受信側コンピュータ2に連続的に送信する。な
お、このとき、トランザクションの欠落,トランザクシ
ョンの追越し等の通信異常を従来と同様の手法で検知し
た場合には、CPU10は前回の同期点まで戻り、再送
を行う。
The CPI 10 functioning as an asynchronous transaction exchange control interface reads transactions on the queue in synchronization with message exchange or the like in accordance with the processing capacity of the receiving computer 2 and provides a communication protocol interface and communication software. To the receiving computer 2 continuously. At this time, when a communication abnormality such as a transaction loss or transaction overtaking is detected by a method similar to the conventional one, the CPU 10 returns to the previous synchronization point and retransmits.

【0045】一方、受信側のコンピュータ側のCPUで
は通信ソフトウェアにより、受信したトランザクション
を非同期トランザクション交換制御インタフェースによ
りハードディスク記憶装置のデータベース上の待ち行列
に蓄積する。続いて、アプリケーションプログラムイン
タフェースを介してアプリケーションプログラムに受信
のトランザクションを引き渡す。CPU10はこのアプ
リケーションプログラムにより受信のトランザクション
を情報処理する。
On the other hand, the CPU on the receiving computer side stores the received transaction in the queue on the database of the hard disk storage device by the asynchronous transaction exchange control interface by the communication software. Then, the received transaction is delivered to the application program via the application program interface. The CPU 10 processes the received transaction by this application program.

【0046】以下、受信側コンピュータ2では、アプリ
ケーションプログラムの終了まで上述の処理を繰り返
す。
Thereafter, the receiving side computer 2 repeats the above-mentioned processing until the end of the application program.

【0047】以上説明したように、本発明では送信側の
アプリケーションプログラムは、従来のように受信側の
アプリケーションプログラムと同期を取らず、送信側の
待ち行列への蓄積タイミングと同期を取るだけなので、
従来のようにアプリケーションプログラム側の応答を待
つ必要がない。この待ち時間が省略された分だけ従来よ
りもアプリケーションプログラムの処理時間が短縮され
る。
As described above, according to the present invention, the application program on the transmission side does not synchronize with the application program on the reception side as in the prior art, but only synchronizes with the storage timing in the queue on the transmission side.
There is no need to wait for a response from the application program as in the past. By omitting this waiting time, the processing time of the application program is shortened compared to the conventional case.

【0048】本実施例の他に次の例を実施できる。In addition to this embodiment, the following example can be carried out.

【0049】1)複数個のプロセスが同一の資源にアク
セスする場合に、同時には1つのプロセスしかアクセス
を許さないようにプロセスを制御することができる。こ
のためには、アプリケーションプログラムおよび非同期
トランザクション交換インタフェースのプロセスの同期
の管理情報を管理データベース(DB)に格納し、デー
タベースの持つ排他制御機能を利用して、一時点で一つ
のトランザクション交換処理プロセスしか実行できない
ようにアプリケーションプログラムおよび非同期トラン
ザクション交換インタフェースを多重度制御(逐次化処
理)を行う。
1) When a plurality of processes access the same resource, the processes can be controlled so that only one process is allowed access at the same time. To do this, the application database and the asynchronous transaction exchange interface process synchronization management information are stored in a management database (DB), and the exclusive control function of the database is used, and only one transaction exchange processing process is available at a time. Multiplicity control (serialization processing) is performed on the application program and asynchronous transaction exchange interface so that they cannot be executed.

【0050】2)2つのプロセスにおいて、一方は情報
の生産とその送出を行い、一方は情報の受け取りとその
消費を行うという異なった役割で相互作用するプログラ
ム間の連絡(起動)を行うことができる。この場合、ア
プリケーションプログラムが稼動するDBMS/DCM
Sにはトランザクションの起動機能を有しているので、
この機能を用いて、一方のプロセスが他方のプロセスの
起動のトリガーを引く。
2) In the two processes, one is responsible for producing and sending information, and the other is for communicating (starting) programs that interact with each other in different roles of receiving and consuming information. it can. In this case, the DBMS / DCM in which the application program runs
Since S has a transaction activation function,
With this feature, one process triggers the activation of the other process.

【0051】3)複数個のプロセスが特定の情報を共有
するためには、情報の記憶域を共有する。そこで、アプ
リケーションプログラムと非同期トランザクション交換
インタフェースとが別々の記憶で稼動するようにして、
アプリケーションプログラムのトランザクションやプロ
セスの管理情報データベースに記憶して、共有する。こ
れにより、OS(オペレーションシステム)等の障害で
共有記憶の情報を失うことを防止(DBの復処理機能に
よる)すると共に情報を一元管理することができる。
3) In order for a plurality of processes to share specific information, the information storage area is shared. Therefore, make sure that the application program and the asynchronous transaction exchange interface run in separate storage,
Stored and shared in the management information database of application program transactions and processes. As a result, it is possible to prevent the information in the shared storage from being lost due to a failure of the OS (operation system) (due to the DB recovery processing function) and to centrally manage the information.

【0052】[0052]

【発明の効果】以上、説明したように、請求項1の発明
によれば、送信側コンピュータのアプリケーションプロ
グラムは受信側コンピュータのアプリケーショプログラ
ムと同期を取る必要がなくなるのでアプリケーションプ
ログラムが簡素化され、アプリケーションプログラムの
全体処理時間が短縮される。
As described above, according to the first aspect of the invention, the application program of the sending computer does not need to be synchronized with the application program of the receiving computer, so that the application program is simplified and the application is The overall processing time of the program is reduced.

【0053】請求項2,3の発明では、記憶装置に一時
保存するトランザクションが保護される。
In the second and third aspects of the invention, the transaction temporarily stored in the storage device is protected.

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

【図1】本発明を適用した情報処理システムのシステム
構成を示すブロック図である。
FIG. 1 is a block diagram showing a system configuration of an information processing system to which the present invention is applied.

【図2】非同期トランザクション交換プロトコルの位置
付けを示す説明図である。
FIG. 2 is an explanatory diagram showing the positioning of an asynchronous transaction exchange protocol.

【図3】基本トランザクション交換単位の機能構成とデ
ータの流れを示す説明図である。
FIG. 3 is an explanatory diagram showing a functional configuration of a basic transaction exchange unit and a data flow.

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

1 送信側コンピュータ 2 受信側コンピュータ 3 信号ケーブル 10 CPU 11 ROM 12 RAM 13 通信インタフェース 14 入出力インタフェース 1A ハードディスク記憶装置 1 sending side computer 2 receiving side computer 3 signal cable 10 CPU 11 ROM 12 RAM 13 communication interface 14 input / output interface 1A hard disk storage device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森村 敦 兵庫県神戸市中央区北本町通1丁目1番28 号 川鉄システム開発株式会社内 (72)発明者 赤峰 哲實 岡山県倉敷市水島川崎通1丁目(番地な し) 川鉄システム開発株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Atsushi Morimura 1-28 Kitahonmachi-dori, Chuo-ku, Kobe-shi, Hyogo Within Kawatetsu System Development Co., Ltd. (72) Inventor Tetsuzo Akamine Mizushima Kawasaki-dori, Kurashiki-shi, Okayama 1 chome (no street number) Kawatetsu System Development Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 送信側コンピュータがアプリケーション
プログラムにより順次に発生したトランザクションを、
送信側コンピュータおよび受信側コンピュータが非同期
トランザクション交換制御インタフェース用のプログラ
ムをそれぞれ実行して、当該送信側コンピュータから受
信側コンピュータに対して非同期に転送し、当該トラン
ザクションを受信側コンピュータがアプリケーションプ
ログラムにより順次に情報処理する非同期メッセージ交
換通信方法において、 前記送信側コンピュータのアプリケーションプログラム
は前記トランザクションを同期をとって順次に送信側コ
ンピュータの非同期トランザクション交換制御インタフ
ェース用のプログラムに引渡し、 当該トランザクション交換制御インタフェース用プログ
ラムは引渡されたトランザクションを記憶装置に蓄積し
た後、当該トランザクションを通信プログラムにより受
信側コンピュータに送信し、前記受信側コンピュータ側
では通信プログラムにより当該トランザクションを受信
して、 当該受信側コンピュータのトランザクション交換制御イ
ンタフェース用のプログラムは、記憶装置に蓄積した
後、当該トランザクションを受信側コンピュータのアプ
リケーションプログラムに引渡すことを特徴とする非同
期AP間通信方法。
1. Transactions sequentially generated by an application program by a sending computer,
The sending computer and the receiving computer each execute a program for the asynchronous transaction exchange control interface, asynchronously transfer from the sending computer to the receiving computer, and the receiving computer sequentially executes the transaction by the application program. In the asynchronous message exchange communication method for processing information, the application program of the sending side computer delivers the transaction to the program for the asynchronous transaction exchange control interface of the sending side computer sequentially in synchronization, and the transaction exchange control interface program is After the delivered transaction is stored in the storage device, the transaction is executed by the receiving computer by the communication program. And the transaction on the receiving computer side is received by the communication program by the communication program, the program for the transaction exchange control interface of the receiving computer stores the transaction in the storage device, and then the transaction is applied to the application program of the receiving computer. An asynchronous inter-AP communication method, characterized in that
【請求項2】 前記送信側コンピュータの記憶装置およ
び前記受信側コンピュータの記憶装置のトランザクショ
ンの記憶形態をデータベースとすることを特徴とする請
求項1に記載の非同期AP間通信方法。
2. The asynchronous inter-AP communication method according to claim 1, wherein the storage forms of transactions in the storage device of the transmission side computer and the storage device of the reception side computer are used as a database.
【請求項3】 一時点で一つのトランザクション交換処
理プロセスしか実行できないように前記データベースの
持つ機能(排他制御)を利用しトランザクションの多重
制御することを特徴とする請求項2に記載の非同期AP
間通信方法。
3. The asynchronous AP according to claim 2, wherein multiple transactions are controlled by using a function (exclusive control) of the database so that only one transaction exchange processing process can be executed at one time.
Communication method.
JP6229656A 1994-09-26 1994-09-26 Asynchronous inter-ap communication means Withdrawn JPH0895811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6229656A JPH0895811A (en) 1994-09-26 1994-09-26 Asynchronous inter-ap communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6229656A JPH0895811A (en) 1994-09-26 1994-09-26 Asynchronous inter-ap communication means

Publications (1)

Publication Number Publication Date
JPH0895811A true JPH0895811A (en) 1996-04-12

Family

ID=16895631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6229656A Withdrawn JPH0895811A (en) 1994-09-26 1994-09-26 Asynchronous inter-ap communication means

Country Status (1)

Country Link
JP (1) JPH0895811A (en)

Similar Documents

Publication Publication Date Title
FI101432B (en) Fault-tolerant computer system
US6081826A (en) System using environment manager with resource table in each computer for managing distributed computing resources managed for each application
US5768587A (en) Operating a transaction manager with a non-compliant resource manager
EP0490980B1 (en) Multiple facility operating system architecture
US5060140A (en) Universal programmable data communication connection system
US5784617A (en) Resource-capability-based method and system for handling service processor requests
JP2675955B2 (en) Data processing system
JPH035846A (en) Remote-application execution system
JP3385091B2 (en) Exclusive control device between computers
EP0733971A2 (en) Method and apparatus for managing connections for communication among objects in a distributed object system
JPH04229335A (en) Optimizing method for commiting procesure
EP0707265A2 (en) A system and method for creating an object oriented transaction service that interoperates with procedural transaction coordinators
JPH04229334A (en) Computer network
JPS62111348A (en) Computer total system
JPH04229333A (en) Apparatus and method for asynchronous re-synchronization execution in commiting procedure
JPH04229332A (en) Error code in comitting procedure and apparatus and method for processing error describing information
US6732360B1 (en) System and method for providing connection between client and heterogeneous database management systems
JP2003046569A (en) Load test execution device and system, and method and program thereof
JPH0414375B2 (en)
US8386556B2 (en) Composing message processing pipelines
CA2332586A1 (en) A telecommunication controller messaging system
US20020199022A1 (en) System and method for establishing and managing communications between mangement protocol different system
JPH0895811A (en) Asynchronous inter-ap communication means
JP2901882B2 (en) Computer system and method of issuing input / output instructions
JP2568374B2 (en) Simulation device for networking code

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115