JPH07319831A - Api coexistence system in distributed transaction processing system - Google Patents

Api coexistence system in distributed transaction processing system

Info

Publication number
JPH07319831A
JPH07319831A JP11621494A JP11621494A JPH07319831A JP H07319831 A JPH07319831 A JP H07319831A JP 11621494 A JP11621494 A JP 11621494A JP 11621494 A JP11621494 A JP 11621494A JP H07319831 A JPH07319831 A JP H07319831A
Authority
JP
Japan
Prior art keywords
api
server
interface
transaction processing
distributed transaction
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.)
Pending
Application number
JP11621494A
Other languages
Japanese (ja)
Inventor
Kenichiro Tomizawa
健一郎 富澤
Hiromichi Ogata
博通 緒方
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11621494A priority Critical patent/JPH07319831A/en
Publication of JPH07319831A publication Critical patent/JPH07319831A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To use an interface in the same distributed transaction system by properly using an interface to be used for communication among programs in the range of an original API from an interface to be used for communication among programs in the range of a standard API conforming to X/Open. CONSTITUTION:Respective programs 51 to 53 access data resources 21 to 23 and server types 31 to 33 and a manager selects an interface appropriate for an opposite program to execute the communication among programs. When a server starting request under the management of the manager is outputted, an object name and an object attribute are obtained to judge the object attribute. In the case of indicating an original application program interface(API), a server to be used for the original API is started. In the case of indicating XATMI, the existence of a server UAP is judged, and when the server UAP exists, a false object name is registered and the starting operation of a server to be used for an XATMI interface is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、クライアント/サーバ
型分散トランザクション処理システムが持つ独自のAP
IとX/Open準拠の「XATMIインタフェース」
をはじめとする標準APIとのそれぞれの異なるAPI
の範囲で作成された複数のプログラム相互間でデータの
送受信を同一システムで行う電子計算機システムのAP
Iの混在方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a unique AP of a client / server type distributed transaction processing system.
"XATMI interface" compliant with I and X / Open
APIs different from standard APIs such as
AP of computer system that sends and receives data between multiple programs created in the same range
I mixed system.

【0002】[0002]

【従来の技術】従来、クライアント/サーバ型分散トラ
ンザクション処理システムでのプログラム間通信方法
は、複数のプログラムを内蔵するコンピュータがネット
ワークによって複数結ばれたシステムにおいて、プログ
ラムが処理するデータ資源を管理するマネージャを備
え、そのマネージャの定義形式には、管理するデータ資
源を表わすオブジェクト名を設けて、プログラム間通信
を要求する場合、当該オブジェクト名とデータ資源を処
理するプログラム名とを指定して、相手プログラムの所
在場所に拘らず(例えば、通信相手先プログラムが同一
コンピュータに存在する場合も)、同一のプログラミン
グ・インタフェースにより相手プログラムと通信する。
2. Description of the Related Art Conventionally, a program / program communication method in a client / server type distributed transaction processing system is a manager that manages data resources processed by programs in a system in which a plurality of computers containing a plurality of programs are connected by a network. In the definition format of the manager, an object name that represents a data resource to be managed is provided, and when requesting inter-program communication, the object name and the program name that processes the data resource are specified, and the partner program Regardless of the location of the communication partner program (for example, even when the communication partner program exists in the same computer), communication with the partner program is performed through the same programming interface.

【0003】また、「日経コンピュータ、1993.
6.14、pp.51」には、これらの分散トランザク
ション処理システムが準拠する、X/Openが規定し
ているトランザクション処理に必要なコンポーネント構
成を示す「分散トランザクション処理(DTP)モデ
ル」について記載されているが、これによれば、各コン
ポーネント間のインタフェースの標準化作業を進めるこ
とにより、異機種間の相互運用性が高まる。中でも、プ
ログラム間通信の標準インタフェースには現在三つのA
PIを規定しており、XATMIインタフェースもその
一つである。これらのプログラム間通信の標準APIに
対応すれば、アプリケーション・プログラムの移殖が容
易になり、異機種間通信での相互運用性が高まる。
In addition, "Nikkei Computer, 1993.
6.14, pp. 51 ”describes a“ distributed transaction processing (DTP) model ”showing a component configuration required for transaction processing defined by X / Open, which these distributed transaction processing systems comply with. According to this, interoperability between different models will be enhanced by proceeding with the standardization work of the interface between each component. Among them, there are currently three A in the standard interface for program communication.
The PI is specified, and the XATMI interface is one of them. If these standard APIs for inter-program communication are supported, application programs can be easily transferred, and interoperability in inter-model communication is enhanced.

【0004】[0004]

【発明が解決しようとする課題】上記の従来技術は、プ
ログラム間通信に独自のインタフェースを持つ、クライ
アント/サーバ型分散トランザクション処理システムに
おいて、X/Open準拠の標準インタフェースをサポ
ートする場合、同一システムでの異なるAPIの混在に
ついての処理はされておらず、また、その処理方法はX
/Openの標準ではない。
The above-mentioned prior art is a client / server type distributed transaction processing system having a unique interface for program-to-program communication, and when the standard interface compliant with X / Open is supported, the same system is used. There is no processing for mixing different APIs, and the processing method is X
/ Open is not standard.

【0005】本発明の目的は、独自のAPIの範囲で作
成されたプログラム間の通信とX/Open準拠の標準
APIの範囲で作成されたプログラム間の通信に使用す
るインタフェースを区別し、同一分散トランザクション
処理システム内でそれぞれの通信に見合ったインタフェ
ースを使用可能とするAPIの混在方式を提供すること
にある。
An object of the present invention is to distinguish between interfaces used for communication between programs created in the range of a unique API and communication between programs created in the range of a standard API conforming to X / Open so that the same distribution can be achieved. An object of the present invention is to provide a mixed method of APIs that enables an interface suitable for each communication in a transaction processing system.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明の同一分散トランザクション処理システムで
のAPIの混在方式は、異なるAPIの範囲で作成され
た複数のプログラムを内蔵するコンピュータがネットワ
ークによって複数結ばれたシステムにおいて、各プログ
ラム間通信を制御するマネージャを備え、当該マネージ
ャの定義形式に、サーバごとに使用するAPIの種類を
表わすサーバのタイプを設けて、プログラム間通信を要
求する場合、当該サーバのタイプを指定することによ
り、サーバ起動時に、使用するAPIを選択し、独自A
PIなら従来通りに当該オブジェクト名とデータ資源を
処理するプログラム名を指定し、XATMIインタフェ
ースなら管理するデータ資源を表わす疑似オブジェクト
名を登録して通信を行い、クライアント/サーバ型分散
処理システムが持つ独自APIとX/Open準拠の標
準APIとを一つのシステムで通信可能とすることを特
徴とする。また、上記マネジャによるプログラム間通信
で、それぞれのAPIの範囲で作成されたアプリケーシ
ョン・プログラム同士が同一システムで互換性を持ち、
通信を行うことを特徴とする。
In order to achieve the above object, a method of mixing APIs in the same distributed transaction processing system of the present invention is such that a computer having a plurality of programs created in the range of different APIs uses a network. In a system in which a plurality of programs are connected to each other, a manager for controlling inter-program communication is provided, and in the definition format of the manager, a server type indicating the type of API used for each server is provided to request inter-program communication. By specifying the server type, you can select the API to use when starting the server
In the case of PI, the object name and the program name for processing the data resource are specified as usual, and in the case of the XATMI interface, the pseudo object name representing the data resource to be managed is registered for communication, and the client / server distributed processing system has its own It is characterized in that the API and the standard API compliant with X / Open can be communicated with one system. Further, in the program-to-program communication by the manager, application programs created within the respective API ranges have compatibility with each other in the same system,
It is characterized by performing communication.

【0007】[0007]

【作用】本発明においては、クライアント/サーバ型分
散トランザクション処理システムが持つ独自のAPIと
X/Open準拠の標準API「XATMIインタフェ
ース」とのそれぞれの異なるAPIの範囲で作成された
プログラム同士が分散トランザクション処理システムで
プログラム間通信を行う場合には、プログラム間通信を
制御するマネージャの定義にサーバごとに使用する各A
PIのサーバのタイプを指定しておくことにより、同一
システムで独自のインタフェースとXATMIインタフ
ェースとを使い分けることが可能となる。その結果、同
一システムで異なるAPIを混在したプログラム間通信
が可能になり、それぞれのAPIの範囲で作成されたア
プリケーション・プログラム同士が同一システムで互換
性を持ち、通信を行うことが可能である。
In the present invention, programs created in the range of different APIs of the original API of the client / server type distributed transaction processing system and the standard X / Open-compliant API "XATMI interface" are distributed transactions. When performing inter-program communication in the processing system, each A used for each server to define the manager that controls inter-program communication
By specifying the PI server type, it is possible to use the unique interface and the XATMI interface properly in the same system. As a result, inter-program communication in which different APIs are mixed in the same system becomes possible, and application programs created within the range of each API are compatible in the same system and can communicate.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面により説明す
る。図1は、プログラム間通信に、本発明の分散トラン
ザクション処理システムでのAPIの混在方式を適用す
るシステムの構成例を示すブロック図である。本実施例
では、コンピュータ11、12、13がネットワークに
接続されている。そして、各コンピュータ11、12、
13内には、それぞれデータ資源21、22、23とサ
ーバタイプ31、32、33とサーバ41、42、43
が存在する。また、各サーバ41、42、43には独自
のAPIあるいはXATMI−APIのいずれかで作成
されたプログラム51、52、53がそれぞれ存在す
る。コンピュータ11には、データ資源21とサーバタ
イプ31を管理するマネージャ60−1が、コンピュー
タ12には、データ資源22とサーバタイプ32を管理
するマネージャ60−2が、コンピュータ13には、デ
ータ資源23とサーバタイプ33を管理するマネージャ
60−3が設けられている。図1においては、各プログ
ラム51、52、53がそれぞれデータ資源21、2
2、23とサーバタイプ31、32、33をアクセス
し、マネージャが相手プログラムとの適切なインタフェ
ースを選択し、プログラム間通信を行う様子を示してい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of a system that applies the API mixed method in the distributed transaction processing system of the present invention to inter-program communication. In this embodiment, the computers 11, 12 and 13 are connected to the network. Then, each computer 11, 12,
13 includes data resources 21, 22, 23, server types 31, 32, 33 and servers 41, 42, 43, respectively.
Exists. Further, each server 41, 42, 43 has programs 51, 52, 53 created by either its own API or XATMI-API. The computer 11 has a manager 60-1 for managing the data resource 21 and the server type 31, the computer 12 has a manager 60-2 for managing the data resource 22 and the server type 32, and the computer 13 has a data resource 23. And a manager 60-3 for managing the server type 33. In FIG. 1, each of the programs 51, 52, 53 is a data resource 21, 2 respectively.
2, 23 and server types 31, 32, and 33 are accessed, the manager selects an appropriate interface with the partner program, and performs inter-program communication.

【0009】図2は、図1におけるマネージャに指定す
る定義形式を示す図である。図1のマネージャ60−
1、60−2への定義形式は、当該マネージャが管理す
るデータ資源を指定する71からなる。この定義71
は、さらに当該データ資源を表わすオブジェクト名71
1と、当該データ資源の操作に使用するサーバのタイプ
が独自APIかXATMIインタフェースかを示すオブ
ジェクト属性712からなる。
FIG. 2 is a diagram showing a definition format designated to the manager in FIG. Manager 60-of FIG.
The definition format for Nos. 1 and 60-2 includes 71 for designating the data resource managed by the manager. This definition 71
Is an object name 71 representing the data resource.
1 and an object attribute 712 indicating whether the type of the server used to operate the data resource is the original API or the XATMI interface.

【0010】図3は、図1におけるマネージャのサーバ
起動動作を示すフローチャートである。本実施例では、
当該マネージャの管理下にあるサーバ起動要求があると
(1001)、図2に示した定義からオブジェクト名と
オブジェクト属性を獲得し(1002)、オブジェクト
属性を判定する(1003)。独自APIを示すなら、
独自APIに使用するサーバを起動動作を行う(100
7)。XATMIを示すなら、サーバUAPであるのか
を判定し(1004)、サーバUAPであるならば、疑
似オブジェクト名を登録して(1005)、XATMI
インタフェースに使用するサーバの起動動作を行う(1
006)。
FIG. 3 is a flow chart showing the server starting operation of the manager in FIG. In this embodiment,
When there is a server activation request under the management of the manager (1001), the object name and the object attribute are acquired from the definition shown in FIG. 2 (1002), and the object attribute is determined (1003). If you show your own API,
Start the server used for the original API (100
7). If it indicates XATMI, it is determined whether it is a server UAP (1004). If it is a server UAP, a pseudo object name is registered (1005), and XATMI is registered.
Start the server used for the interface (1
006).

【0011】[0011]

【発明の効果】本発明によれば、複数のプログラムを内
蔵するコンピュータがネットワークによって複数結ばれ
たクライアント/サーバ型分散トランザクション処理シ
ステム内で、そのシステムが持つ従来のAPIと、X/
Open準拠の標準API「XATMIインタフェー
ス」との異なるAPIを混在したプログラム間通信が可
能になり、それぞれのAPIの範囲で作成されたアプリ
ケーション・プログラム同士が同一システムで互換性を
持つ。
According to the present invention, in a client / server type distributed transaction processing system in which a plurality of computers having a plurality of programs are connected by a network, the conventional API and X /
It becomes possible to perform inter-program communication in which different APIs different from the standard API "XATMI interface" compliant with Open are mixed, and application programs created in the respective API ranges have compatibility in the same system.

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

【図1】プログラム間通信に、本発明の分散トランザク
ション処理システムでのAPIを混在方式を適用するシ
ステムの構成例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of a system in which an API mixed method in a distributed transaction processing system of the present invention is applied to inter-program communication.

【図2】図1におけるマネージャに指定する定義形式を
示す図である。
FIG. 2 is a diagram showing a definition format designated to a manager in FIG.

【図3】図1におけるマネージャのサーバ起動動作を示
すフローチャートである。
FIG. 3 is a flowchart showing a server starting operation of the manager in FIG.

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

10…通信ネットワーク、 11、12、13…コンピュータ、 21、22、23…データ資源、 31、32、33…サーバタイプ、 41、42、43…サーバ、 51、52、53…データ処理プログラム、 60−1、60−2、60−3…マネージャ、 71…オブジェクト定義、 711…オブジェクト名、 712…オブジェクト属性。 10 ... Communication network, 11, 12, 13 ... Computer, 21, 22, 23 ... Data resource, 31, 32, 33 ... Server type, 41, 42, 43 ... Server, 51, 52, 53 ... Data processing program, 60 -1, 60-2, 60-3 ... Manager, 71 ... Object definition, 711 ... Object name, 712 ... Object attribute.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】異なるアプリケーション・プログラム・イ
ンタフェース(API)の範囲で作成された複数のプロ
グラムを内蔵するコンピュータがネットワークによって
複数結ばれたクライアント/サーバ型分散トランザクシ
ョン処理システムのプログラム間通信方法において、各
プログラム間通信を制御するマネージャを備え、当該マ
ネージャの定義形式に、システムが使用する各サーバご
とにAPIの種類を表わすサーバのタイプを設けて、プ
ログラム間通信を要求する場合、当該サーバタイプを指
定することにより、クライアント/サーバ型分散トラン
ザクション処理システムが持つ独自APIとX/Ope
n準拠の標準API「XATMIインタフェース」とを
同一のシステムで使用可能とすることを特徴とする分散
トランザクション処理システムでのAPIの混在方式。
1. An inter-program communication method of a client / server type distributed transaction processing system in which a plurality of computers having a plurality of programs created in the range of different application program interfaces (API) are connected by a network. A manager for controlling inter-program communication is provided, and a server type that indicates the type of API for each server used by the system is provided in the definition format of the manager. When requesting inter-program communication, the server type is specified. By doing so, the client / server distributed transaction processing system has its own API and X / Ope
A mixed API method in a distributed transaction processing system, characterized in that a standard API "XATMI interface" compliant with n can be used in the same system.
【請求項2】上記マネジャによるプログラム間通信で、
クライアント/サーバ型分散トランザクション処理シス
テムが持つ独自のAPIとX/Open準拠の標準AP
I「XATMIインタフェース」とのそれぞれのAPI
の範囲で作成されたアプリケーション・プログラム同士
が同一システムで互換性を持ち、通信を行うことを特徴
とする請求項1記載の分散トランザクション処理システ
ムでのAPIの混在方式。
2. Inter-program communication by the manager,
Original API of client / server type distributed transaction processing system and standard AP compliant with X / Open
Each API with I "XATMI interface"
2. The mixed system of APIs in the distributed transaction processing system according to claim 1, wherein the application programs created in the range are compatible with each other in the same system and communicate with each other.
【請求項3】上記マネージャは、XATMI以外のX/
Open準拠の標準APIに関しても、システムで使用
する各サーバごとにAPIの種類を表わすサーバタイプ
を明記することによって、プログラム間通信にどのAP
Iを使用するかを判断し、使用するサーバを起動するこ
とを特徴とする請求項1記載の分散トランザクション処
理システムでのAPIの混在方式。
3. The manager is X / other than XATMI.
As for the Open-compliant standard API, by specifying the server type indicating the API type for each server used in the system, which AP can be used for inter-program communication.
The mixed system of APIs in the distributed transaction processing system according to claim 1, wherein the server to be used is started after determining whether to use I.
JP11621494A 1994-05-30 1994-05-30 Api coexistence system in distributed transaction processing system Pending JPH07319831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11621494A JPH07319831A (en) 1994-05-30 1994-05-30 Api coexistence system in distributed transaction processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11621494A JPH07319831A (en) 1994-05-30 1994-05-30 Api coexistence system in distributed transaction processing system

Publications (1)

Publication Number Publication Date
JPH07319831A true JPH07319831A (en) 1995-12-08

Family

ID=14681665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11621494A Pending JPH07319831A (en) 1994-05-30 1994-05-30 Api coexistence system in distributed transaction processing system

Country Status (1)

Country Link
JP (1) JPH07319831A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100650739B1 (en) * 2005-10-04 2006-11-29 한국전자통신연구원 Message broadcasting service system and method using open api
US7299477B2 (en) 2001-05-30 2007-11-20 International Business Machines Corporation Identification of the source of a client/server flow

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7299477B2 (en) 2001-05-30 2007-11-20 International Business Machines Corporation Identification of the source of a client/server flow
KR100650739B1 (en) * 2005-10-04 2006-11-29 한국전자통신연구원 Message broadcasting service system and method using open api

Similar Documents

Publication Publication Date Title
JP3868013B2 (en) Code remote execution method and system
JP3949180B2 (en) Integration of system management services with base system object model
US6742050B1 (en) Inter-object messaging
US8601159B2 (en) Distributing and arbitrating media access control addresses on ethernet network
US7716061B2 (en) Method and apparatus for obtaining status information in a grid
US7634530B2 (en) Dynamic definition for concurrent computing environments
US6834303B1 (en) Method and apparatus auto-discovering components of distributed services
JPH0926890A (en) Method, apparatus and data structure for management of object
JP2553466B2 (en) How to simulate server architecture from client architecture
JPH0628053B2 (en) Resource allocation control method for multiprocessor system
JPH11513822A (en) Providing a user global object name space in a multi-user operating system
US6353859B1 (en) Object-oriented apparatus and method for controlling accesses to objects in a distributed object environment
JPH0916503A (en) Method and apparatus for management of computer process
JP2500964B2 (en) Method and data processing system for allowing consensus delegation of software command operations
US20020016866A1 (en) Methods and apparatus for managing computer processes
US6625641B1 (en) Method and apparatus for providing client support without installation of server software
US11595493B2 (en) System and method for namespace masking in an integration flow
GB2417580A (en) Method for executing a bag of tasks application on a cluster by loading a slave process onto an idle node in the cluster
JPH07319831A (en) Api coexistence system in distributed transaction processing system
US8676842B2 (en) Creating multiple Mbeans from a factory Mbean
CN111625866B (en) Authority management method, system, equipment and storage medium
US6219717B1 (en) Method and apparatus for implementing object transparent invocation
US7603407B2 (en) Method and system for registering binary data
JPH11167535A (en) Program distribution method
JPH04107741A (en) Draw-out system for service procedure in rpc