JP2000250856A - Computer network and reporting method for transaction data - Google Patents

Computer network and reporting method for transaction data

Info

Publication number
JP2000250856A
JP2000250856A JP11048707A JP4870799A JP2000250856A JP 2000250856 A JP2000250856 A JP 2000250856A JP 11048707 A JP11048707 A JP 11048707A JP 4870799 A JP4870799 A JP 4870799A JP 2000250856 A JP2000250856 A JP 2000250856A
Authority
JP
Japan
Prior art keywords
transaction
message
type
transaction data
computer network
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
JP11048707A
Other languages
Japanese (ja)
Inventor
Takeshi Takagi
剛 高木
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP11048707A priority Critical patent/JP2000250856A/en
Publication of JP2000250856A publication Critical patent/JP2000250856A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To report transaction data in real time to a transaction module in a system on the reception side of a message without integrating a method for receiving the message in the system itself on the reception side of this message when transmitting the transaction data by transmitting the message from a system where a transaction occurs on a computer network. SOLUTION: In a reception side system 1, an inbound adapter 2 monitors the reception of a message in a reception queue 3 while utilizing a message broker application interface (MB-API) 4 and acquires a transaction type, an element type and transaction data from that message and after the format of these transaction data is transformed corresponding to that element type, these data are reported to transaction modules 5(1)-5(n) corresponding to that transaction type.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータネッ
トワークに関し、特に、システム内でのトランザクショ
ンモジュールへのトランザクションデータの通知に特徴
を有するものに関する。また本発明は、コンピュータネ
ットワークのシステム内でのトランザクションモジュー
ルへのトランザクションデータの通知方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer network, and more particularly, to a computer network having a feature in notifying a transaction module in a system of transaction data. The present invention also relates to a method of notifying a transaction module to a transaction module in a system of a computer network.

【0002】[0002]

【従来の技術】コンピュータネットワークのネットワー
クアーキテクチャでは、通信回線で結合された個々のコ
ンピュータや端末等の通信主体(本明細書ではこの通信
主体をシステムと呼ぶ)が相互に通信を行う際の通信規
約であるプロトコルを規定することが必要である。この
プロトコルは、基本的には、システム間での通信処理に
関する上位層と、通信回線上のデータ転送に関する下位
層とに階層化されて規定される。
2. Description of the Related Art In a network architecture of a computer network, a communication protocol used when communication entities such as individual computers and terminals connected by communication lines (this communication entity is referred to as a system in this specification) communicate with each other. It is necessary to specify a protocol that is This protocol is basically defined by being hierarchized into an upper layer relating to communication processing between systems and a lower layer relating to data transfer on a communication line.

【0003】これらの上位層及び下位層は、それぞれさ
らに複数の層で構成されるが、このうちの上位層の1つ
に応用層がある。応用層は、コンピュータネットワーク
内の複数のシステムが相互に通信しながら一連の業務を
処理するために必要なサービスを提供する役割を果たす
ものであり、そのサービスの一つにトランザクション処
理がある。
The upper layer and the lower layer each include a plurality of layers, and one of the upper layers is an application layer. The application layer plays a role of providing a service required for a plurality of systems in a computer network to process a series of tasks while communicating with each other, and one of the services is transaction processing.

【0004】トランザクション処理は、コンピュータネ
ットワーク内のいずれかのシステムでトランザクション
(データ処理においてデータファイルの内容を変更する
要因となる事象)が発生したことに伴って必要となるデ
ータ出力やデータベースの維持管理等の処理である。
[0004] Transaction processing involves data output and database maintenance required in response to the occurrence of a transaction (an event that changes the contents of a data file in data processing) in any system in a computer network. And so on.

【0005】従来のコンピュータネットワークでは、こ
のトランザクション処理を、例えばアプリケーションシ
ステム(アプリケーションソフトウェアを実行するシス
テム)に市販のビジネスアプリケーションである各種E
RP(EnterpriseResource Pla
nning)パッケージを使用させることにより行って
いた。
In a conventional computer network, this transaction processing is performed, for example, by an application system (a system that executes application software) by using various types of E that are commercially available business applications.
RP (EnterpriseResource Pla)
(nning) package.

【0006】このERPパッケージでは、トランザクシ
ョンを識別するためのトランザクションタイプに対応す
る複数のトランザクションモジュールが提供されてお
り、それぞれのトランザクションモジュールで、対応す
るトランザクションタイプのトランザクションの発生に
伴うトランザクション処理が行われる。
[0006] In this ERP package, a plurality of transaction modules corresponding to transaction types for identifying transactions are provided, and each transaction module performs transaction processing accompanying the occurrence of a transaction of the corresponding transaction type. .

【0007】ところで、コンピュータネットワーク内の
いずれかのシステムでトランザクションが発生した場合
には、このトランザクション処理は、トランザクション
が発生したシステムだけでなく、コンピュータネットワ
ーク内のそのトランザクションと関係のある別のシステ
ムでも行わなければならない。
When a transaction occurs in any system in a computer network, this transaction processing is performed not only in the system in which the transaction occurred but also in another system related to the transaction in the computer network. It must be made.

【0008】そのためには、トランザクションが発生し
たシステムからその別のシステムに、トランザクション
データ(データファイルの内容をトランザクションの発
生に対応して変更するために用いられるデータ)を送信
することが必要となる。そして、その別のシステムで
は、そのトランザクションデータを受信して、そのトラ
ンザクションタイプに対応するトランザクションモジュ
ールに通知することが必要となる。
For this purpose, it is necessary to transmit transaction data (data used to change the contents of a data file in response to the occurrence of a transaction) from the system where the transaction has occurred to another system. . The other system needs to receive the transaction data and notify the transaction module corresponding to the transaction type.

【0009】図15は、ERPパッケージを使用した従
来のトランザクション処理における、トランザクション
データの送受信と、受信側のシステム内でのトランザク
ションモジュールへの通知との様子を示す。送信側のア
プリケーションシステム(トランザクションが発生した
アプリケーションシステム)51は、トランザクション
が発生すると、そのトランザクションのトランザクショ
ンデータを、受信側のアプリケーションシステムとのイ
ンターフェースが可能なフォーマットに変換することに
より、フォーマット変換されたトランザクションデータ
の集合であるファイル53を作成する。
FIG. 15 shows how transaction data is transmitted and received and a transaction module in the receiving system is notified in the conventional transaction processing using the ERP package. When the transaction occurs, the transmission-side application system (the application system in which the transaction occurred) 51 converts the transaction data of the transaction into a format that can be interfaced with the reception-side application system. A file 53, which is a set of transaction data, is created.

【0010】そして、一定の時間間隔毎に、そのファイ
ル53を、受信側のアプリケーションシステム52(コ
ンピュータネットワーク内の別のアプリケーションシス
テムのうちシステム51からトランザクションデータを
送信する対象となるシステム)に転送する。
Then, at regular time intervals, the file 53 is transferred to the receiving application system 52 (a system to which transaction data is transmitted from the system 51 among other application systems in the computer network). .

【0011】受信側のアプリケーションシステム52
は、一定の時間間隔毎にそのファイル53を一括して受
信する。そして、そのファイル53を、トランザクショ
ンタイプを単位として分割して、システム52で使用す
るERPパッケージにより提供された複数のトランザク
ションモジュール54(1)〜54(n)のうち対応す
るトランザクションモジュールにそれぞれ振り分ける
(あるいは、そのファイル53から読み込んだ各トラン
ザクションタイプのトランザクションデータを、対応す
るトランザクションモジュールにそれぞれ振り分ける)
ことにより、対応するトランザクションモジュールへの
トランザクションデータの通知を行う。
Application system 52 on the receiving side
Receives the file 53 collectively at regular time intervals. Then, the file 53 is divided in units of transaction types, and distributed to corresponding transaction modules among a plurality of transaction modules 54 (1) to 54 (n) provided by the ERP package used in the system 52 ( Alternatively, the transaction data of each transaction type read from the file 53 is distributed to the corresponding transaction module.)
This notifies the corresponding transaction module of the transaction data.

【0012】[0012]

【発明が解決しようとする課題】このように、従来は、
トランザクションデータの送受信を、ファイル転送の形
で所定の時間間隔おきに一括して行っていた。したがっ
て、送信側のシステムでの個々のトランザクションの発
生毎に直ちにそのトランザクションのトランザクション
データが受信側のシステムに受信されてそのシステム内
の対応するトランザクションモジュールに通知されるこ
とはなく、したがって受信側のシステム内のトランザク
ションモジュールへのトランザクションデータの通知が
リアルタイム性に欠けていた。
As described above, conventionally,
Transmission and reception of transaction data have been performed at once at predetermined time intervals in the form of file transfer. Therefore, every time an individual transaction occurs in the transmitting system, the transaction data of the transaction is not immediately received by the receiving system and notified to the corresponding transaction module in the system, and therefore, the receiving transaction module is not notified. Notification of transaction data to the transaction module in the system lacked real-time properties.

【0013】また、このようなファイル転送の形ではな
く、例えば、送信側のシステムから、トランザクション
が発生する毎に、トランザクションタイプや、トランザ
クションを構成する要素である各エレメントを識別する
ためのエレメントタイプや、各エレメントタイプに対応
したトランザクションデータを含んだメッセージを送信
させ、受信側のシステムに、このメッセージを受信させ
るようにすることも考えられる。
[0013] Further, instead of such a file transfer form, for example, every time a transaction occurs, a transaction type or an element type for identifying each element which is a constituent element of the transaction is transmitted from the transmission side system. Alternatively, a message including transaction data corresponding to each element type may be transmitted, and the receiving system may receive the message.

【0014】しかし、従来は、メッセージの送受信によ
りトランザクションデータの送受信をリアルタイムに行
うためには、システムそのものに、例えばIBM社のM
QシリーズのAPI(アプリケーションインターフェー
ス)等を用いてメッセージの送受信の手法を組み込む必
要があり、繁雑であると共にシステムそのものの複雑化
を招いていた。
However, conventionally, in order to transmit and receive transaction data in real time by transmitting and receiving messages, the system itself requires, for example, M
It is necessary to incorporate a method of transmitting and receiving a message using an API (application interface) of the Q series or the like, which is complicated and complicates the system itself.

【0015】また、従来は、こうしたメッセージの受信
及び通知の過程で受信側のシステムに障害が発生した場
合に、その障害の解析やリカバリを行うことができなか
った。
Conventionally, when a failure has occurred in the receiving system during the process of receiving and notifying such a message, it has not been possible to analyze or recover the failure.

【0016】したがって、本発明の課題は、送信側のシ
ステムからこうしたトランザクションタイプやエレメン
トタイプやトランザクションデータを含んだメッセージ
を送信させるようにした場合に、受信側のシステムその
ものにメッセージの受信の手法を組み込むことなく、受
信側のシステム内のトランザクションモジュールにトラ
ンザクションデータをリアルタイムに通知することや、
このメッセージの受信及び通知の過程で受信側のシステ
ムに障害が発生した場合にその障害の解析やリカバリを
行うことのできるコンピュータネットワーク及びトラン
ザクションデータの通知方法を提供することにある。
Accordingly, an object of the present invention is to provide a method of receiving a message to a receiving system itself when a message including such transaction type, element type, and transaction data is transmitted from the transmitting system. Without incorporation, it is possible to notify the transaction module in the receiving system of transaction data in real time,
It is an object of the present invention to provide a computer network and a method of notifying transaction data that can analyze and recover from a failure in a receiving system in the process of receiving and notifying the message.

【0017】[0017]

【課題を解決するための手段】この課題を解決するため
に、本出願人は、請求項1に記載のように、複数のシス
テムを含むコンピュータネットワークにおいて、少なく
とも1つのシステムに、トランザクションデータの受信
側のシステムとして、メッセージブローカーを利用し
て、受信キューでのメッセージの受信を監視し、この受
信キューで受信されたメッセージからトランザクション
タイプを取得し、そのシステム内の複数のトランザクシ
ョンモジュールのうち、そのトランザクションタイプに
対応するトランザクションモジュールに、そのメッセー
ジから取得したトランザクションデータを通知するイン
バウンドアダプターを備えたものを提案する。
SUMMARY OF THE INVENTION To solve this problem, the applicant assigns at least one system to receive transaction data in a computer network comprising a plurality of systems. As a system on the side, the message broker is used to monitor the reception of a message in the reception queue, obtain a transaction type from the message received in the reception queue, and, among a plurality of transaction modules in the system, We propose a transaction module corresponding to the transaction type that has an inbound adapter that notifies the transaction data obtained from the message.

【0018】このコンピュータネットワークでは、受信
側のシステムとしてこのインバウンドアダプターを備え
たシステムにおいて、このインバウンドアダプターによ
り、メッセージブローカーを利用して、受信キューでの
メッセージの受信が監視される。そして、送信側のシス
テムから、前述のようなトランザクションタイプ,エレ
メントタイプ及びトランザクションデータを含んだメッ
セージがその受信側のシステムに送信されて受信キュー
で受信されると、このインバウンドアダプターにより、
直ちにそのメッセージからトランザクションタイプが取
得され、その受信側のシステム内の複数のトランザクシ
ョンモジュールのうち、そのトランザクションタイプに
対応するトランザクションモジュールに、そのメッセー
ジから取得したトランザクションデータが通知される。
In this computer network, in a system including the inbound adapter as a receiving system, the inbound adapter monitors the reception of a message in a reception queue using a message broker. When a message including the transaction type, the element type, and the transaction data as described above is transmitted from the transmitting system to the receiving system and received in the receiving queue, the inbound adapter uses the message.
The transaction type is immediately obtained from the message, and the transaction data corresponding to the transaction type is notified of the transaction data obtained from the message to the transaction module corresponding to the transaction type among the plurality of transaction modules in the receiving side system.

【0019】これにより、送信側のシステムからのメッ
セージの送信とほぼ同時に、その受信側のシステム内の
対応するトランザクションモジュールにトランザクショ
ンデータが通知されるので、その受信側のシステム内の
トランザクションモジュールへのトランザクションデー
タの通知がリアルタイムに行われるようになる。
As a result, the transaction data is notified to the corresponding transaction module in the receiving system almost simultaneously with the transmission of the message from the transmitting system. Notification of transaction data is performed in real time.

【0020】このように、このコンピュータネットワー
クによれば、メッセージの受信の手法はメッセージブロ
ーカーに吸収させることにより、従来のように受信側の
システムそのものにメッセージの受信の手法を組み込む
ことなく、受信側のシステム内のトランザクションモジ
ュールにトランザクションデータをリアルタイムに通知
することができる。
As described above, according to this computer network, the message receiving method is absorbed by the message broker, so that the message receiving method is not incorporated in the receiving system itself as in the related art. Transaction data can be notified to the transaction module in the system in real time.

【0021】ここで、インバウンドアダプターはメッセ
ージブローカーを利用してメッセージの受信を行う。メ
ッセージブローカーは、周知の通り、コンピュータネッ
トワーク内で、アプリケーションシステムへのメッセー
ジの作成及び送受信機能の提供や、アプリケーションシ
ステム相互間でのメッセージの送受信の一元管理を行う
サブシステムである。
Here, the inbound adapter receives a message using a message broker. As is well known, a message broker is a subsystem for providing a message creation and transmission / reception function to an application system in a computer network, and for centrally managing transmission / reception of a message between application systems.

【0022】市販のメッセージブローカー構築用のミド
ルウェア製品には、メッセージの受信機能を提供するも
のが各種存在しているので、本発明に係るコンピュータ
ネットワークで利用するメッセージブローカーそのもの
は、例えばそうしたミドルウェア製品を用いて構築する
ことが可能である。(メッセージブローカーの基本的事
項についての説明は、例えばGartner Grou
pから刊行されている『JITS(Japan Inf
ormation Technology Strat
egies) Research Note』の199
6年10月31日号,1996年11月30日号,19
96年12月20日号等に掲載されている。)
Since there are various types of commercially available middleware products for constructing a message broker, which provide a message receiving function, the message broker itself used in the computer network according to the present invention includes, for example, such a middleware product. It is possible to construct using. (For a description of the basics of a message broker, see, for example, Gartner Grou.
"JITS (Japan Inf
operation Technology Strat
egies) Research Note 』199
October 31, 1996, November 30, 1996, 19
It is published in the December 20, 1996 issue and the like. )

【0023】なお、請求項1に記載のコンピュータネッ
トワークにおいて、インバウンドアダプターは、一例と
して、請求項2に記載のように、受信キューで受信され
たメッセージからエレメントタイプ及びトランザクショ
ンデータを取得し、そのトランザクションデータを、そ
のエレメントタイプに応じてフォーマット変換した後、
複数のトランザクションモジュールのうちそのメッセー
ジのトランザクションタイプに対応するトランザクショ
ンモジュールに通知するものであることが好適である。
In the computer network according to the first aspect, for example, the inbound adapter acquires the element type and the transaction data from the message received by the reception queue as described in the second aspect, and executes the transaction. After format conversion of data according to its element type,
It is preferable that the notification is made to the transaction module corresponding to the transaction type of the message among the plurality of transaction modules.

【0024】また、請求項2に記載のコンピュータネッ
トワークにおいて、インバウンドアダプターは、より具
体的には、請求項3に記載のように、トランザクション
タイプに対応した複数の第1のモジュールと、エレメン
トタイプに対応した複数の第2のモジュールと、メッセ
ージブローカーを利用して、受信キューでのメッセージ
の受信を監視し、受信キューで受信されたメッセージか
らトランザクションタイプを取得し、複数の第1のモジ
ュールのうちそのトランザクションタイプに対応するモ
ジュールを呼び出すディスパッチャーとから成ってお
り、このディスパッチャーから呼び出された第1のモジ
ュールが、受信キューで受信されたメッセージからエレ
メントタイプ及びトランザクションデータを取得し、複
数の第2のモジュールのうちそのエレメントタイプに対
応するモジュールを呼び出し、この第1のモジュールか
ら呼び出された第2のモジュールが、そのトランザクシ
ョンデータを、そのエレメントタイプに応じてフォーマ
ット変換した後、複数のトランザクションモジュールの
うちそのメッセージのトランザクションタイプに対応す
るトランザクションモジュールに通知するものであるこ
とが好適である。
According to a second aspect of the present invention, in the computer network, the inbound adapter may include a plurality of first modules corresponding to the transaction type and a plurality of first modules corresponding to the transaction type. Using a corresponding plurality of second modules and a message broker, monitor reception of a message in the reception queue, obtain a transaction type from the message received in the reception queue, and, among the plurality of first modules, A dispatcher for calling a module corresponding to the transaction type. The first module called from the dispatcher obtains the element type and the transaction data from the message received in the reception queue, and obtains a plurality of second data. Module Out of the plurality of transaction modules after the second module called from the first module converts the format of the transaction data according to the element type. It is preferable to notify the transaction module corresponding to the transaction type of the message.

【0025】そして、請求項2または3に記載のコンピ
ュータネットワークにおいては、インバウンドアダプタ
ー(請求項3ではそのうちの第2のモジュール)は、一
例として、請求項4に記載のように、エレメントタイプ
が同じである複数のトランザクションデータを一括して
フォーマット変換することが一層好適である。
In the computer network according to the second or third aspect, the inbound adapter (the second module in the third aspect) has, for example, the same element type as in the fourth aspect. It is more preferable to collectively convert a plurality of transaction data.

【0026】それにより、送信側のシステムから送信さ
れたメッセージに含まれるトランザクションデータのフ
ォーマット変換が効率的に行われるようになるので、ト
ランザクションモジュールへのトランザクションデータ
の通知が一層迅速化されるようになる。
As a result, the format conversion of the transaction data included in the message transmitted from the transmitting side system is efficiently performed, and the notification of the transaction data to the transaction module is further speeded up. Become.

【0027】また、請求項1乃至4に記載のコンピュー
タネットワークにおいて、インバウンドアダプターは、
一例として、請求項5に記載のように、受信キューで受
信されたメッセージに関するログ情報を記録し、かつ、
そのメッセージの送信側のシステムに、そのメッセージ
に関するエラーを通知するものであることが好適であ
る。
[0027] In the computer network according to any one of claims 1 to 4, the inbound adapter may include:
As an example, log information about a message received in a receiving queue is recorded as described in claim 5, and
It is preferable that the message sending system be notified of an error relating to the message.

【0028】より具体的には、請求項1乃至4に記載の
コンピュータネットワークにおいて、請求項6に記載の
ように、受信キューで受信されたメッセージから取得し
たトランザクションタイプが識別不能である場合と、そ
のメッセージから取得したトランザクションデータの内
容が正しくない場合とのうちの少なくとも一方の場合
に、送信側のシステムにエラー通知用メッセージを送信
し、かつ、そのエラー通知用メッセージと同一の情報を
ログ情報として記録するものであることが好適であり、
さらに、請求項2乃至4または6に記載のコンピュータ
ネットワークにおいて、請求項7に記載のように、受信
キューで受信されたメッセージから取得したエレメント
タイプが識別不能である場合に、送信側のシステムにエ
ラー通知用メッセージを送信し、かつ、そのエラー通知
用メッセージと同一の情報をログ情報として記録するも
のであることが好適である。
More specifically, in the computer network according to any one of claims 1 to 4, when the transaction type obtained from the message received in the reception queue is indistinguishable, When at least one of the case where the content of the transaction data obtained from the message is incorrect, an error notification message is transmitted to the transmitting system, and the same information as the error notification message is logged. Is preferably recorded as
Further, in the computer network according to any one of claims 2 to 4 or 6, when the element type obtained from the message received in the reception queue is not identifiable as described in claim 7, the system on the transmission side is notified. It is preferable that an error notification message is transmitted, and that the same information as the error notification message is recorded as log information.

【0029】それにより、メッセージの受信及び通知の
過程で受信側のシステムに障害が発生した場合にも、こ
れらのエラー通知用メッセージやログ情報を用いてその
障害の解析やリカバリを行うことが可能になる。
Thus, even if a failure occurs in the receiving system during the process of receiving and notifying a message, it is possible to analyze and recover the failure using the error notification message and the log information. become.

【0030】次に、本出願人は、請求項8に記載のよう
に、複数のシステムを含むコンピュータネットワーク内
で、トランザクションデータの受信側のシステムが、そ
のシステム内のトランザクションモジュールにトランザ
クションデータを通知する方法において、メッセージブ
ローカーを利用して、受信キューでのメッセージの受信
を監視し、受信キューで受信されたメッセージから、ト
ランザクションを識別するためのトランザクションタイ
プを取得する第1ステップと、そのシステム内の複数の
トランザクションモジュールのうち、そのトランザクシ
ョンタイプに対応するトランザクションモジュールに、
そのメッセージから取得したトランザクションデータを
通知する第2ステップとを含んだものを提案する。
Next, in the computer network including a plurality of systems, the applicant notifies the transaction data receiving system of the transaction data to the transaction module in the system. A first step of using a message broker to monitor the reception of a message in a reception queue and obtaining a transaction type for identifying a transaction from the message received in the reception queue; Of the multiple transaction modules of the transaction module corresponding to the transaction type,
And a second step of notifying the transaction data obtained from the message.

【0031】このトランザクションデータの通知方法で
は、受信側のシステムにより、第1ステップとして、メ
ッセージブローカーを利用して、受信キューでのメッセ
ージの受信が監視される。そして、送信側のシステムか
ら前述のようなトランザクションタイプ,エレメントタ
イプ及びトランザクションデータを含んだメッセージが
送信され、受信キューでそのメッセージが受信される
と、受信側のシステムにより、第2ステップとして、直
ちにそのメッセージからトランザクションタイプが取得
され、その受信側のシステム内の複数のトランザクショ
ンモジュールのうち、そのトランザクションタイプに対
応するトランザクションモジュールに、そのメッセージ
から取得したトランザクションデータが通知される。
In the transaction data notification method, the reception side system monitors the reception of a message in the reception queue using a message broker as a first step. Then, a message including the transaction type, the element type, and the transaction data as described above is transmitted from the transmitting system, and when the message is received in the receiving queue, the receiving system immediately performs the second step as a second step. A transaction type is acquired from the message, and transaction data acquired from the message is notified to a transaction module corresponding to the transaction type among a plurality of transaction modules in the receiving side system.

【0032】これにより、送信側のシステムからのメッ
セージの送信とほぼ同時に、受信側のシステム内の対応
するトランザクションモジュールにトランザクションデ
ータが通知されるので、受信側のシステム内の対応する
トランザクションモジュールへのトランザクションデー
タの通知がリアルタイムに行われるようになる。
As a result, the transaction data is notified to the corresponding transaction module in the receiving system almost simultaneously with the transmission of the message from the transmitting system, so that the corresponding transaction module in the receiving system is sent to the corresponding transaction module. Notification of transaction data is performed in real time.

【0033】このように、このトランザクションデータ
の通知方法によれば、メッセージの受信の手法はメッセ
ージブローカーに吸収させることにより、従来のように
受信側のシステムそのものにメッセージの受信の手法を
組み込むことなく、受信側のシステム内のトランザクシ
ョンモジュールにトランザクションデータをリアルタイ
ムに通知することができる。
As described above, according to the transaction data notification method, the message receiving method is absorbed by the message broker, so that the message receiving method is not incorporated in the receiving system itself as in the related art. It is possible to notify the transaction module in the receiving system of the transaction data in real time.

【0034】このトランザクションデータの通知方法で
もメッセージブローカーが利用されるが、このメッセー
ジブローカーそのものは、やはり市販のミドルウェア製
品を用いて構築することが可能である。
Although a message broker is used in this transaction data notification method, the message broker itself can be constructed using a commercially available middleware product.

【0035】なお、請求項8に記載のトランザクション
データの通知方法においても、第2ステップは、請求項
9に記載のように、受信キューで受信されたメッセージ
から、エレメントタイプ及びトランザクションデータを
取得し、そのトランザクションデータを、そのエレメン
トタイプに応じてフォーマット変換した後、複数のトラ
ンザクションモジュールのうちそのメッセージのトラン
ザクションタイプに対応するトランザクションモジュー
ルに通知することが好適である。
In the transaction data notifying method according to the eighth aspect, the second step is to acquire the element type and the transaction data from the message received by the reception queue as described in the ninth aspect. It is preferable that the format of the transaction data is converted in accordance with the element type, and then the transaction data is notified to the transaction module corresponding to the transaction type of the message among the plurality of transaction modules.

【0036】そして、請求項9に記載のトランザクショ
ンデータの通知方法においても、一例として、請求項1
0に記載のように、第2ステップで、エレメントタイプ
が同じである複数のトランザクションデータを一括して
フォーマット変換することが一層好適である。
In the method of notifying transaction data according to claim 9, as an example, claim 1
As described in No. 0, it is more preferable that a plurality of transaction data having the same element type be collectively converted in the second step.

【0037】それにより、やはり送信側のシステムから
送信されたメッセージに含まれるトランザクションデー
タのフォーマット変換が効率的に行われるようになるの
で、トランザクションモジュールへのトランザクション
データの通知が一層迅速化されるようになる。
As a result, the format conversion of the transaction data included in the message transmitted from the transmission side system is also efficiently performed, so that the notification of the transaction data to the transaction module is further expedited. become.

【0038】また、請求項8乃至10に記載のトランザ
クションデータの通知方法においても、第1ステップ及
び2ステップのうちの少なくとも一方のステップで、請
求項11に記載のように、受信キューで受信されたメッ
セージに関するログ情報を記録し、かつ、そのメッセー
ジの送信側のシステムに、そのメッセージに関するエラ
ーを通知することが好適である。
Also, in the transaction data notifying method according to any one of claims 8 to 10, at least one of the first step and the second step is received in the reception queue as described in claim 11. It is preferable to record log information about the message that has been sent and notify a system on the transmitting side of the message of an error about the message.

【0039】より具体的には、請求項8乃至10に記載
のコンピュータネットワークにおいて、請求項12に記
載のように、第1ステップで、受信キューで受信された
メッセージから取得したトランザクションタイプが識別
不能である場合に、送信側のシステムにエラー通知用メ
ッセージを送信し、かつ、そのエラー通知用メッセージ
と同一の情報をログ情報として記録することが好適であ
り、さらに、請求項9,10または12に記載のコンピ
ュータネットワークにおいて、第2ステップで、請求項
13に記載のように、受信キューで受信されたメッセー
ジから取得したトランザクションデータの内容が正しく
ない場合と、そのメッセージから取得したエレメントタ
イプが識別不能である場合のうちの少なくとも一方の場
合に、送信側のシステムにエラー通知用メッセージを送
信し、かつ、そのエラー通知用メッセージと同一の情報
をログ情報として記録することが好適である。
More specifically, in the computer network according to claims 8 to 10, as in claim 12, in the first step, the transaction type obtained from the message received in the reception queue cannot be identified. In this case, it is preferable to transmit an error notification message to the transmission side system and record the same information as the error notification message as log information. In the computer network described in the item (2), in the second step, if the content of the transaction data obtained from the message received in the reception queue is incorrect and the element type obtained from the message is the same, If at least one of the cases is not possible, the sender It transmits an error notification message to Temu, and it is preferable to record the same information as the error notification message as log information.

【0040】それにより、メッセージの受信及び通知の
過程で受信側のシステムに障害が発生した場合にも、や
はりこれらのエラー通知用メッセージやログ情報を用い
てその障害の解析やリカバリを行うことが可能になる。
Thus, even if a failure occurs in the receiving system during the process of receiving and notifying a message, the error can be analyzed and recovered using the error notification message and log information. Will be possible.

【0041】[0041]

【発明の実施の形態】以下では、多様なアプリケーショ
ンを使用する複数のアプリケーションシステムが通信回
線で結合されたコンピュータネットワークに本発明を適
用した例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example in which the present invention is applied to a computer network in which a plurality of application systems using various applications are connected by communication lines will be described below.

【0042】図1は、本発明を適用したコンピュータネ
ットワークに含まれるこれら複数のアプリケーションシ
ステムの連携の様子を示す。このコンピュータネットワ
ークには、複数のアプリケーションシステム31(1)
〜31(m)へのメッセージの作成機能及び送受信機能
の提供と、アプリケーションシステム31(1)〜31
(m)相互間でのメッセージの送受信の一元管理とを行
うメッセージブローカー32が構築されている。アプリ
ケーションシステム31(1)〜31(m)間の連携
は、このメッセージブローカー32を利用したメッセー
ジの作成及び送受信により行われる。このメッセージブ
ローカー32の具体的機能については後述する。
FIG. 1 shows how a plurality of application systems included in a computer network to which the present invention is applied cooperate. This computer network includes a plurality of application systems 31 (1)
To provide message creation and transmission / reception functions to application systems 31 (1) to 31 (m).
(M) A message broker 32 for unified management of transmission and reception of messages between each other is constructed. Cooperation between the application systems 31 (1) to 31 (m) is performed by creating, transmitting, and receiving messages using the message broker 32. Specific functions of the message broker 32 will be described later.

【0043】各アプリケーションシステム31(1)〜
31(m)は、メッセージを送信する側のシステムと、
メッセージを受信する側のシステムとのいずれにもなり
得る。本発明は、メッセージを受信する側のシステム内
でのトランザクションモジュールへのトランザクション
データの通知に関するものなので、以下では、各アプリ
ケーションシステム31(1)〜31(m)がメッセー
ジを受信する側のシステムとなる場合についての説明を
行う。
Each application system 31 (1)-
31 (m) is the system that sends the message,
It can be any of the systems that receive the message. The present invention relates to the notification of transaction data to a transaction module in a system that receives a message. Therefore, in the following, each of the application systems 31 (1) to 31 (m) communicates with a system that receives a message. A description will be given of a case in which this is the case.

【0044】図2は、各アプリケーションシステム31
(1)〜31(m)のこの受信側システムとしてのソフ
トウェア構成の一例を示す。この受信側システム1は、
インバウンドアダプター2と、受信キュー3と、インバ
ウンドアダプター2にメッセージの受信機能を提供する
インターフェースであるMB−API(メッセージブロ
ーカー−アプリケーションインターフェース)4とを備
えている。MB−API4は、図1のメッセージブロー
カー32の機能の一部を成すものである。
FIG. 2 shows each application system 31.
(1) to (m) show an example of the software configuration of the receiving side system. This receiving system 1
The system includes an inbound adapter 2, a reception queue 3, and an MB-API (message broker-application interface) 4, which is an interface for providing the inbound adapter 2 with a function of receiving a message. The MB-API 4 forms a part of the function of the message broker 32 in FIG.

【0045】また、受信側システム1には、ERPパッ
ケージを使用することにより、トランザクションタイプ
に対応する複数のトランザクションモジュール5(1)
〜5(n)が提供されており、それぞれのトランザクシ
ョンモジュールで、対応するトランザクションタイプの
トランザクションの発生に伴うトランザクション処理が
行われる。
The receiving system 1 uses a plurality of transaction modules 5 (1) corresponding to transaction types by using an ERP package.
5 (n) are provided, and each transaction module performs a transaction process associated with the occurrence of a transaction of the corresponding transaction type.

【0046】図2に示すように、この受信側システム1
と送信側システム21(図1のアプリケーションシステ
ム31(1)〜31(m)のうち受信側システム1にト
ランザクションデータを送信するシステム)との間での
メッセージの送受信は、メッセージブローカー22によ
り管理される。このメッセージブローカー22も、図1
のメッセージブローカー32の機能の一部を成すもので
ある。
As shown in FIG. 2, the receiving side system 1
The transmission and reception of messages between the transmission side system 21 and the transmission side system 21 (the system which transmits transaction data to the reception side system 1 among the application systems 31 (1) to 31 (m) in FIG. 1) is managed by the message broker 22. You. This message broker 22 is also shown in FIG.
Of the message broker 32.

【0047】送信側システム21から送信されたメッセ
ージは、メッセージブローカー22により受信されて、
受信側システム1の受信キュー3に送信される。
The message transmitted from the transmitting system 21 is received by the message broker 22 and
The data is transmitted to the reception queue 3 of the receiving system 1.

【0048】図3は、送信側システム21から送信され
るメッセージの構造の一例を示す。このメッセージは、
メッセージを一意に識別するためのメッセージIDと、
発生したトランザクションの種類を識別するためのID
(トランザクションタイプと呼ぶ)と、そのトランザク
ションを構成する複数の要素(エレメントと呼ぶ)とか
ら成っている。各エレメントは、そのエレメントの種類
を識別するためのID(エレメントタイプと呼ぶ)と、
それに対応したトランザクションデータ(エレメントデ
ータと呼ぶ)とから成っている。
FIG. 3 shows an example of the structure of a message transmitted from the transmitting system 21. This message is
A message ID for uniquely identifying the message,
ID for identifying the type of transaction that occurred
(Called a transaction type) and a plurality of elements (called elements) constituting the transaction. Each element has an ID (called an element type) for identifying the type of the element,
And corresponding transaction data (called element data).

【0049】なお、送信側システム21からは、トラン
ザクションが発生する毎にこのメッセージが送信される
が、図1の各アプリケーションシステム31(1)〜3
1(m)のこの送信側システム21としての構成及び処
理については、本発明の範囲外であるので説明を省略す
る。(この送信側システムの構成及び処理の詳細例につ
いては、本出願人により平成11年2月25日に特許出
願済みの『コンピュータネットワーク及びトランザクシ
ョンデータの送信方法』に記載されている。)
Note that this message is transmitted from the transmission side system 21 every time a transaction occurs, but each of the application systems 31 (1) to 31 (3) shown in FIG.
The configuration and processing of 1 (m) as the transmission side system 21 are out of the scope of the present invention, and thus description thereof is omitted. (A detailed example of the configuration and processing of the transmission-side system is described in “Computer Network and Transaction Data Transmission Method” filed on Feb. 25, 1999 by the present applicant.)

【0050】最初に、インバウンドアダプター2の処理
の概要を説明する。図4は、インバウンドアダプター2
の処理の概要を示すものであり、最初に、MB−API
4の提供するメッセージの受信機能を利用して、受信キ
ュー3でのメッセージの受信の有無をチェックする(ス
テップS1)。続いて、メッセージが受信されていたか
否かを判断する(ステップS2)。
First, an outline of the processing of the inbound adapter 2 will be described. FIG. 4 shows the inbound adapter 2
This shows an outline of the processing of the MB-API.
The presence / absence of a message in the reception queue 3 is checked using the message reception function provided by the server 4 (step S1). Subsequently, it is determined whether a message has been received (step S2).

【0051】受信されていなければ、ステップS1に戻
り、ステップS1及びS2の処理を繰り返す。このよう
にして、受信キュー3でのメッセージの受信を常時監視
する。そして、受信キュー3にメッセージが受信されて
いれば、そのメッセージのトランザクションタイプ(図
3参照)を取得する(ステップS3)。
If it has not been received, the process returns to step S1, and the processes of steps S1 and S2 are repeated. In this way, the reception of the message in the reception queue 3 is constantly monitored. If a message has been received in the reception queue 3, the transaction type (see FIG. 3) of the message is acquired (step S3).

【0052】続いて、そのメッセージの各エレメントの
エレメントタイプ及びエレメントデータ(図3参照)を
取得する(ステップS4)。そして、各エレメントのエ
レメントデータを、当該エレメントのエレメントタイプ
に応じてフォーマット変換した後、トランザクションモ
ジュール5(1)〜5(n)のうちそのメッセージのト
ランザクションタイプに対応するトランザクションモジ
ュールに通知する(ステップS5)。
Subsequently, the element type and element data (see FIG. 3) of each element of the message are obtained (step S4). Then, after converting the format of the element data of each element according to the element type of the element, the transaction module 5 (1) to 5 (n) notifies the transaction module corresponding to the transaction type of the message (step). S5).

【0053】これにより、送信側システム21からのメ
ッセージの送信とほぼ同時に、受信側システム1内の対
応するトランザクションモジュールにエレメントデータ
(トランザクションデータ)が通知されるので、受信側
システム1内の対応するトランザクションモジュールへ
のトランザクションデータの通知がリアルタイムに行わ
れる。
As a result, the element data (transaction data) in the corresponding transaction module in the receiving system 1 is notified to the corresponding transaction module in the receiving system 1 almost simultaneously with the transmission of the message from the transmitting system 21. Notification of transaction data to the transaction module is performed in real time.

【0054】このようにして、メッセージの受信の手法
はMB−API4に吸収させることにより、受信側シス
テム1そのものにメッセージの受信の手法を組み込むこ
となく、受信側システム1内のトランザクションモジュ
ール5(1)〜5(n)にトランザクションデータをリ
アルタイムに通知することができるようになっている。
As described above, the message receiving method is absorbed by the MB-API 4, so that the message receiving method is not incorporated in the receiving system 1 itself, and the transaction module 5 (1) in the receiving system 1 is used. ) To 5 (n) can be notified of transaction data in real time.

【0055】次に、インバウンドアダプター2の構成と
その処理の詳細とを説明する。図5は、インバウンドア
ダプター2の構成の一例を示す。インバウンドアダプタ
ー2は、ディスパッチャー6と、ディスパッチャー6か
ら読み出される複数のトランザクション処理7(1)〜
7(n)と、各トランザクション処理7(1)〜7
(n)からそれぞれ呼び出される複数のエレメント処理
8(1)〜8(k)(kの値はトランザクション処理毎
に異なり得る)とから成っている。
Next, the configuration of the inbound adapter 2 and details of its processing will be described. FIG. 5 shows an example of the configuration of the inbound adapter 2. The inbound adapter 2 includes a dispatcher 6 and a plurality of transaction processes 7 (1) to
7 (n) and each transaction processing 7 (1) to 7 (7)
(N) called from a plurality of element processes 8 (1) to 8 (k) (the value of k may be different for each transaction process).

【0056】各トランザクション処理7(1)〜7
(n)は、図1のトランザクションモジュール5(1)
〜5(n)が対応するトランザクションタイプに1対1
に対応している。各トランザクション処理7(1)〜7
(n)から呼び出されるエレメント処理8(1)〜8
(k)は、当該トランザクション処理が対応するトラン
ザクションタイプのメッセージに含まれるエレメントタ
イプ(図3参照)に1対1に対応している。
Each transaction processing 7 (1) to 7
(N) is the transaction module 5 (1) in FIG.
-5 (n) is one-to-one for the corresponding transaction type
It corresponds to. Transaction processing 7 (1) to 7
Element processing 8 (1) to 8 called from (n)
(K) has a one-to-one correspondence with the element type (see FIG. 3) included in the message of the transaction type corresponding to the transaction processing.

【0057】なお、ここでのトランザクション処理7
(1)〜7(n)は、トランザクションの発生に伴って
必要となるデータ出力やデータベースの維持管理等の処
理の総称としてのトランザクション処理ではなく、トラ
ンザクションモジュール5(1)〜5(n)へのエレメ
ントデータの通知のための特定の内容の処理を指すもの
である。
The transaction processing 7 here
(1) to 7 (n) are not transaction processing as a generic term for processing such as data output and database maintenance required when a transaction occurs, but to transaction modules 5 (1) to 5 (n). Of the specific data for the notification of the element data.

【0058】図6〜図9は、図5の各部によるインバウ
ンドアダプター2の処理の詳細例を示す。インバウンド
アダプター2では、最初にディスパッチャー6の処理が
実行される。図6は、このディスパッチャー6の処理の
一例を示しており、最初に、MB−API4の提供する
メッセージの受信機能を利用して、受信キュー3でのメ
ッセージの受信の有無をチェックする(ステップS1
1)。続いて、メッセージが受信されていたか否かを判
断する(ステップS12)。
FIGS. 6 to 9 show a detailed example of the processing of the inbound adapter 2 by each unit in FIG. In the inbound adapter 2, first, the processing of the dispatcher 6 is executed. FIG. 6 shows an example of the processing of the dispatcher 6. First, it is checked whether or not a message has been received in the reception queue 3 by using the message receiving function provided by the MB-API 4 (step S1).
1). Subsequently, it is determined whether a message has been received (step S12).

【0059】受信されていなければ、ステップS11に
戻り、ステップS11及びS12の処理を繰り返す。こ
のようにして、受信キュー3でのメッセージの受信を常
時監視する。そして、受信キュー3にメッセージが受信
されていれば、そのメッセージのトランザクションタイ
プ(図3参照)を取得する(ステップS13)。
If it has not been received, the process returns to step S11, and the processes of steps S11 and S12 are repeated. In this way, the reception of the message in the reception queue 3 is constantly monitored. Then, if a message has been received in the reception queue 3, the transaction type (see FIG. 3) of the message is acquired (step S13).

【0060】続いて、そのトランザクションタイプが識
別可能なものであるか否かを判断する(ステップS1
4)。識別可能なものであれば、トランザクション処理
7(1)〜7(n)のうちそのトランザクションタイプ
に対応するトランザクション処理を呼び出す(ステップ
S15)。そして、ディスパッチャー6の処理を終了す
る。
Subsequently, it is determined whether or not the transaction type is identifiable (step S1).
4). If it is identifiable, a transaction process corresponding to the transaction type among the transaction processes 7 (1) to 7 (n) is called (step S15). Then, the processing of the dispatcher 6 ends.

【0061】他方、ステップS14で識別不能と判断し
た場合には、受信キュー3で受信されたメッセージを送
信した送信側システム21へのエラー通知用のメッセー
ジであるNotificationメッセージを作成
し、そのNotificationメッセージをその送
信側システム21に返送する(ステップS16)。続い
て、そのNotificationメッセージと同一の
情報を、ログ情報としてログファイルに記録する(ステ
ップS17)。そしてステップS11に戻り、ステップ
S11以下を繰り返す。
On the other hand, if it is determined in step S14 that the message is not identifiable, a Notification message, which is an error notification message to the transmitting system 21 that has transmitted the message received in the reception queue 3, is created, and the Notification message Is returned to the transmitting side system 21 (step S16). Subsequently, the same information as that of the Notification message is recorded as log information in a log file (step S17). Then, the process returns to step S11 and repeats the steps from step S11.

【0062】図10は、ステップS16で作成されるN
otificationメッセージの一例を示す。No
tificationメッセージ自体は、メッセージを
一意に識別するためのメッセージIDと、トランザクシ
ョンタイプと、エレメントタイプと、受信キュー3で受
信されたメッセージ中の何番目のエレメントであるかを
示すエレメントポジションと、エラーの内容を示すエラ
ーコードとを書き込むことのできる構造をしている。ト
ランザクションタイプが識別不能なものである場合に
は、このうちのメッセージID,トランザクションタイ
プ及びエラーコードに情報を書き込んだNotific
ationメッセージが作成される。
FIG. 10 is a diagram showing the N created in step S16.
5 shows an example of an authentication message. No
The notification message itself includes a message ID for uniquely identifying the message, a transaction type, an element type, an element position indicating the element number in the message received by the reception queue 3, and an error message. It has a structure in which an error code indicating the content can be written. If the transaction type is indistinguishable, the message ID, the transaction type, and the Notific that has written the information in the error code among them.
ation message is created.

【0063】なお、ステップS14での判断は、例え
ば、図11に示すような、図1のトランザクションモジ
ュール5(1)〜5(n)が対応するトランザクション
タイプTx1,Tx2…とそれに対応する図5のトラン
ザクション処理7(1)〜7(n)(図11ではFun
c Tx1,Func Tx2…と表記)とを登録した
トランザクションタイプテーブルを参照し、このトラン
ザクションタイプテーブルに登録されているトランザク
ションタイプのみを識別可能とすることによって行う。
また、ステップS15で呼び出すトランザクション処理
の確認も、このトランザクションタイプテーブルを参照
することによって行う。
It is to be noted that the determination in step S14 is based on, for example, the transaction types Tx1, Tx2... Corresponding to the transaction modules 5 (1) to 5 (n) in FIG. Transaction processing 7 (1) to 7 (n) (in FIG. 11, Fun
c Tx1, Func Tx2...) are registered, and only the transaction types registered in the transaction type table can be identified.
Also, the transaction processing called in step S15 is confirmed by referring to the transaction type table.

【0064】図7及び8は、各トランザクション処理7
(1)〜7(n)の一例を示す。ディスパッチャー6か
ら呼び出されたトランザクション処理では、図7に示す
ように、最初に、受信キュー3で受信されたメッセージ
の全情報を、ログ情報としてプレーンテキスト形式でロ
グファイルに記録する(ステップS21)。
FIG. 7 and FIG.
Examples of (1) to 7 (n) are shown. In the transaction process called from the dispatcher 6, first, as shown in FIG. 7, all information of the message received by the reception queue 3 is recorded as log information in a log file in a plain text format (step S21).

【0065】続いて、そのメッセージの1つのエレメン
トのエレメントタイプ及びエレメントデータを取得する
(ステップS22)。そして、そのエレメントデータの
内容をチェックし(ステップS23)、その内容が正し
いか否かを判断する(ステップS24)。
Subsequently, the element type and element data of one element of the message are obtained (step S22). Then, the content of the element data is checked (step S23), and it is determined whether or not the content is correct (step S24).

【0066】正しければ、当該エレメントが、そのメッ
セージから内容の正しいエレメントデータを取得した最
初のエレメントであるか否かを判断する(ステップS2
5)。ここでは、最初のエレメントでなので、イエスと
判断されて、ステップS33に進む。
If the element is correct, it is determined whether or not the element is the first element that has obtained correct element data from the message (step S2).
5). Here, since it is the first element, it is determined to be yes and the process proceeds to step S33.

【0067】ステップS33では、当該エレメントが、
そのメッセージから内容の正しいエレメントデータを取
得した最後のエレメントであるか否かを判断する。最後
のエレメントでなければ、ステップS22に戻る。そし
て、そのメッセージの別の1つのエレメントについて、
ステップS22以下を繰り返す。
In step S33, the element is
It is determined whether or not this is the last element that has acquired the correct element data of the content from the message. If it is not the last element, the process returns to step S22. And for another element of the message,
Step S22 and subsequent steps are repeated.

【0068】他方、最後のエレメントであれば、当該エ
レメントのエレメントタイプが識別可能なものであるか
否かを判断する(ステップS34)。識別可能なもので
あれば、エレメント処理8(1)〜8(k)のうちその
エレメントタイプに対応するエレメント処理を呼び出す
(ステップS35)。そして、トランザクション処理を
終了する。
On the other hand, if it is the last element, it is determined whether or not the element type of the element is identifiable (step S34). If it can be identified, the element processing corresponding to the element type among the element processings 8 (1) to 8 (k) is called (step S35). Then, the transaction processing ends.

【0069】ステップS33からステップS22に戻っ
た場合に、再びステップS25に至ると、今度は最初の
エレメントではないので、ノーと判断されて、ステップ
S26に進む。ステップS26では、今回のエレメント
のエレメントタイプ(今回ステップS22で取得したエ
レメントタイプ)が、前回のエレメントのエレメントタ
イプ(前回ステップS22で取得したエレメントのエレ
メントタイプ)と同一であるか否かを判断する。
When the process returns from step S33 to step S22, and reaches step S25 again, it is determined that the element is not the first element, and thus the process proceeds to step S26. In step S26, it is determined whether the element type of the current element (the element type obtained in step S22 this time) is the same as the element type of the previous element (element type of the element obtained in previous step S22). .

【0070】同一でなければ、図8のステップS27に
進み、前回のエレメントのエレメントタイプが識別可能
なものであるか否かを判断する。識別可能なものであれ
ば、エレメント処理8(1)〜8(k)のうちそのエレ
メントタイプに対応するエレメント処理を呼び出す(ス
テップS28)。続いて、今回のエレメントが、そのメ
ッセージから取得した最後のエレメントであるか否かを
判断する(ステップS29)。
If they are not the same, the flow advances to step S27 in FIG. 8 to determine whether or not the element type of the previous element is identifiable. If it can be identified, the element processing corresponding to the element type among the element processings 8 (1) to 8 (k) is called (step S28). Subsequently, it is determined whether or not the current element is the last element obtained from the message (step S29).

【0071】最後のエレメントでなければ、再び図7の
ステップS22に戻る。そして、そのメッセージのさら
に別の1つのエレメントについて、ステップS22以下
を繰り返す。他方、最後のエレメントであれば、今回の
エレメントのエレメントタイプが識別可能なものである
か否かを判断する(ステップS30)。識別可能なもの
であれば、エレメント処理8(1)〜8(k)のうちそ
のエレメントタイプに対応するエレメント処理を呼び出
す(ステップS31)。そして、トランザクション処理
を終了する。
If it is not the last element, the process returns to step S22 in FIG. Then, step S22 and subsequent steps are repeated for still another element of the message. On the other hand, if it is the last element, it is determined whether the element type of the current element is identifiable (step S30). If it can be identified, the element processing corresponding to the element type among the element processings 8 (1) to 8 (k) is called (step S31). Then, the transaction processing ends.

【0072】これに対し、図7のステップS26で、今
回のエレメントタイプが前回のエレメントタイプと同一
であると判断された場合には、ステップS32に進み、
今回のエレメントデータを、前回のエレメントデータに
繋げる(アペンドする)。(前回のエレメントデータも
このステップS32でそれ以前のエレメントデータにア
ペンドされたものである場合には、ステップS32で
は、それらの複数のエレメントデータに、さらに今回の
エレメントデータをアペンドする。)そして、ステップ
S33に進む。
On the other hand, if it is determined in step S26 in FIG. 7 that the current element type is the same as the previous element type, the process proceeds to step S32.
Connect (append) the current element data to the previous element data. (If the previous element data is also appended to the previous element data in step S32, in step S32, the current element data is further appended to the plurality of element data.) Proceed to step S33.

【0073】なお、図7のステップS24でエレメント
データの内容が正しくないと判断した場合には、図8の
ステップS36に進み、Notificationメッ
セージを作成し、そのNotificationメッセ
ージを、受信キュー3で受信されたメッセージを送信し
た送信側システム21に返送する。そして、そのNot
ificationメッセージと同一の情報をログ情報
としてログファイルに記録し(ステップS37)、図1
の送信側システム21から送信される次のメッセージの
ために、図6のディスパッチャーの処理を再開する。
If it is determined in step S24 in FIG. 7 that the content of the element data is not correct, the flow advances to step S36 in FIG. 8 to create a Notification message, and the Notification message is received by the reception queue 3. The message is sent back to the transmitting system 21 that sent the message. And the Not
The same information as the information message is recorded as log information in a log file (step S37), and FIG.
6 is restarted for the next message transmitted from the transmitting system 21 of FIG.

【0074】また、図8のステップS27で、前回のエ
レメントタイプが識別不能であると判断した場合と、図
8のステップS30で、今回のエレメントタイプが識別
不能であると判断した場合と、図7のステップS34
で、エレメントタイプが識別不能であると判断した場合
にも、ステップS36及びS37を経て、図6のディス
パッチャーの処理を再開する。
The case where it is determined in step S27 in FIG. 8 that the previous element type is not identifiable, the case where it is determined in step S30 in FIG. 8 that the current element type is not identifiable, Step S34 of 7
Then, even when it is determined that the element type cannot be identified, the processing of the dispatcher of FIG. 6 is restarted through steps S36 and S37.

【0075】図12は、ステップS36で作成されるN
otificationメッセージの一例を示す。エレ
メントデータの内容が正しくないとか、エレメントタイ
プが識別不能であるといったエレメントに関するエラー
の場合には、メッセージID,トランザクションタイ
プ,エレメントタイプ、エレメントポジション及びエラ
ーコードに情報を書き込んだNotification
メッセージが作成される。
FIG. 12 is a diagram showing the N created in step S36.
5 shows an example of an authentication message. In the case of an error relating to the element such as the content of the element data is not correct or the element type cannot be identified, the Notification in which information is written in the message ID, transaction type, element type, element position and error code.
A message is created.

【0076】なお、図7のステップS34,図8のステ
ップS27及びS30での判断は、例えば、図13に示
すような、ディスパッチャーの処理から呼び出されたト
ランザクション処理が対応するトランザクションタイプ
のメッセージに含まれるエレメントタイプTe1,Te
2…とそれに対応するエレメント処理16(1)〜16
(k)(図13ではFunc Te1,Func Te
2…と表記)とを登録したエレメントタイプテーブルを
参照し、このエレメントタイプテーブルに登録されてい
るエレメントタイプのみを識別可能とすることによって
行う。
The determination in step S34 in FIG. 7, and the determination in steps S27 and S30 in FIG. 8, for example, are included in the transaction type message corresponding to the transaction process called from the dispatcher process as shown in FIG. Element types Te1 and Te
2 and corresponding element processes 16 (1) to 16 (16)
(K) (FIG. 13 shows Func Te1 and Func Te
2) is referred to, and only the element types registered in this element type table can be identified.

【0077】また、図7のステップS35,図8のステ
ップS28及びS31で呼び出すエレメント処理16
(1)〜16(k)の確認も、このエレメントタイプテ
ーブルを参照することによって行う。
The element processing 16 called in step S35 of FIG. 7 and steps S28 and S31 of FIG.
Confirmation of (1) to 16 (k) is also performed by referring to this element type table.

【0078】このトランザクション処理では、受信キュ
ー3で受信されたメッセージの複数のエレメントから続
けて取得したエレメントデータのエレメントタイプが同
一である場合に、図7のステップS32により、それら
のエレメントデータがアペンドされた状態で、そのエレ
メントタイプに対応するエレメント処理が呼び出される
ことになる。
In this transaction processing, if the element types of the element data successively obtained from a plurality of elements of the message received by the reception queue 3 are the same, the element data is appended in step S32 in FIG. In this state, the element processing corresponding to the element type is called.

【0079】図14は、受信キュー3で受信されたメッ
セージの一例と、このメッセージのエレメントデータが
図7のステップS32によりアペンドされた状態とを示
す。最初の2つのエレメントから続けて取得したエレメ
ントデータ「1111111111111」及び「22
22222222222」のエレメントタイプが同一
(共にTe1)であることにより、それらのエレメント
データがアペンドされている。また、4番目〜6番目の
3つのエレメントから続けて取得したエレメントデータ
のエレメントタイプも同一(共にTe3)であることに
より、それらのエレメントデータもアペンドされてい
る。
FIG. 14 shows an example of a message received by the reception queue 3 and a state where the element data of this message is appended in step S32 of FIG. The element data “1111111111111” and “22” obtained continuously from the first two elements
Since the element types of “222222222222” are the same (both are Te1), their element data is appended. Further, since the element types of the element data obtained successively from the fourth to sixth elements are the same (both are Te3), these element data are also appended.

【0080】なお、図7のステップS32では、アペン
ドする個々のエレメントデータの間に、個々のエレメン
トデータを仕切るセパレータとして、例えば改行コード
のようなコードを挿入する。これは、図1のトランザク
ションモジュール5(1)〜5(n)が、後述のエレメ
ント処理によりエレメントデータを通知された際に、ア
ペンドされた状態のエレメントデータから誤りなく個々
のエレメントデータを判別することができるようにする
ためである。
In step S32 in FIG. 7, a code such as a line feed code is inserted between the individual element data to be appended as a separator for separating the individual element data. That is, when the transaction modules 5 (1) to 5 (n) in FIG. 1 are notified of the element data by the element processing described below, the transaction modules 5 (1) to 5 (n) discriminate the individual element data from the appended element data without error. It is to be able to do it.

【0081】図9は、各エレメント処理8(1)〜8
(k)の一例を示す。トランザクション処理から呼び出
されたエレメント処理では、最初に、トランザクション
処理で取得されたエレメントデータを、そのエレメント
タイプに応じてフォーマット変換する(ステップS4
1)。続いて、フォーマット変換したエレメントデータ
を、図1のトランザクションモジュール5(1)〜5
(n)のうち、受信キュー3で受信されたメッセージの
トランザクションタイプ(図6のディスパッチャーの処
理のステップS13で取得されたトランザクションタイ
プ)に対応するトランザクションモジュールに通知する
(ステップS42)。
FIG. 9 shows each of the element processes 8 (1) to 8 (8).
An example of (k) is shown. In the element processing called from the transaction processing, first, the format of the element data acquired in the transaction processing is converted according to the element type (step S4).
1). Subsequently, the format-converted element data is transferred to the transaction modules 5 (1) to 5
In (n), the transaction module corresponding to the transaction type of the message received by the reception queue 3 (the transaction type acquired in step S13 of the dispatcher process in FIG. 6) is notified (step S42).

【0082】トランザクション処理によりエレメントタ
イプが同一の複数のエレメントデータがアペンドされて
いる場合、このステップS41及びS42では、それら
のエレメントデータについてまとめてフォーマット変換
及びトランザクションモジュールへの通知が行われるこ
とになる。
When a plurality of element data having the same element type are appended by the transaction processing, in these steps S41 and S42, the format conversion and the notification to the transaction module are collectively performed on the element data. .

【0083】続いて、そのトランザクションモジュール
への通知に成功したか否かを判断する(ステップS4
3)。成功していれば、図1の送信側システム21から
送信される次のメッセージのために、図6のディスパッ
チャーの処理を再開する。
Subsequently, it is determined whether or not the notification to the transaction module has been successful (step S4).
3). If successful, the dispatcher process of FIG. 6 is restarted for the next message transmitted from the transmitting system 21 of FIG.

【0084】他方、そのトランザクションモジュールへ
の通知にまだ成功していなければ、所定の回数に達する
まで、所定時間経過毎に、そのトランザクションモジュ
ールへの通知を繰り返す。そして、この所定回数通知を
繰り返しても通知に成功しなかった場合には、インバウ
ンドアダプター2の処理全体を強制終了する。
On the other hand, if the notification to the transaction module has not been successful yet, the notification to the transaction module is repeated every predetermined time until the predetermined number of times is reached. If the notification is not successful even if the notification is repeated a predetermined number of times, the entire process of the inbound adapter 2 is forcibly terminated.

【0085】以上に図5〜図14を参照して詳細に説明
したように、受信キュー3で受信されたメッセージの複
数のエレメントから続けて取得したエレメントデータの
エレメントタイプが同一である場合、それらのエレメン
トデータがトランザクション処理でアペンドされること
により、エレメント処理ではそれらのエレメントデータ
についてまとめてフォーマット変換及びトランザクショ
ンモジュールへの通知が行われる。
As described in detail with reference to FIGS. 5 to 14 above, when the element types of the element data successively obtained from a plurality of elements of the message received by the reception queue 3 are the same, Are appended in the transaction processing, the element processing collectively converts the format of the element data and notifies the transaction module.

【0086】これにより、送信側システム21から送信
されたメッセージに含まれるエレメントデータのフォー
マット変換が効率的に行われ、トランザクションモジュ
ールへのエレメントデータの通知が一層迅速化されるよ
うになっている。
As a result, the format conversion of the element data included in the message transmitted from the transmission side system 21 is efficiently performed, and the notification of the element data to the transaction module is further expedited.

【0087】また、ディスパッチャー6の処理では、受
信キュー3で受信されたメッセージのトランザクション
タイプが識別不能である場合に、Notificati
onメッセージを送信側システム21に返送し、そのN
otificationメッセージと同一の情報をログ
情報としてログファイルに記録している。
In the processing of the dispatcher 6, if the transaction type of the message received by the reception queue 3 cannot be identified, the Notificati
on message is returned to the transmitting side system 21 and the N
The same information as the authentication message is recorded as log information in a log file.

【0088】トランザクション処理7(1)〜7(n)
でも、受信キュー3で受信されたメッセージの全情報を
ログ情報として記録し、かつ、受信キュー3で受信され
たメッセージから取得したエレメントデータの内容が正
しくない場合や、そのメッセージから取得したエレメン
トタイプが識別不能である場合に、Notificat
ionメッセージを送信側システム21に返送し、その
Notificationメッセージと同一の情報をロ
グ情報としてログファイルに記録している。
Transaction processing 7 (1) to 7 (n)
However, if all information of the message received by the reception queue 3 is recorded as log information, and the content of the element data obtained from the message received by the reception queue 3 is incorrect, or if the element type obtained from the message is incorrect. Notifyat if is not identifiable
The notification message is returned to the transmission side system 21, and the same information as the Notification message is recorded as log information in a log file.

【0089】これにより、メッセージの受信及び通知の
過程で受信側システム1に障害が発生した場合にも、こ
れらのNotificationメッセージやログ情報
を用いてその障害の解析やリカバリを行うことが可能に
なっている。
Thus, even if a failure occurs in the receiving side system 1 in the process of receiving and notifying a message, it is possible to analyze and recover the failure using these Notification messages and log information. ing.

【0090】なお、ディスパッチャー6に送信側システ
ム21からのメッセージの受信機能を提供するMB−A
PI4と、受信側システム1・送信側システム21間で
のメッセージの送受信を管理するメッセージブローカー
22とは、例えば市販のメッセージブローカー構築用の
ミドルウェア製品を用いて構築することが可能である。
The MB-A which provides the dispatcher 6 with a function of receiving a message from the transmission side system 21
The PI 4 and the message broker 22 that manages the transmission and reception of messages between the receiving system 1 and the transmitting system 21 can be constructed using, for example, a commercially available middleware product for constructing a message broker.

【0091】また、図2には、ディスパッチャー6やト
ランザクション処理7(1)〜7(n)にNotifi
cationメッセージの作成機能及び送信機能を提供
するメッセージブローカーを示していないが、こうした
作成機能及び送信機能を提供するメッセージブローカー
も、やはり市販のメッセージブローカー構築用のミドル
ウェア製品を用いて構築することが可能である。あるい
はまた、ミドルウェア製品を用いることなく、こうした
メッセージの受信機能や作成機能及び送信機能を提供す
るメッセージブローカーを開発してもよい。
FIG. 2 shows that the dispatcher 6 and the transaction processes 7 (1) to 7 (n) are Notify.
Although a message broker that provides a creation function and a transmission function of an event message is not shown, a message broker that provides such a creation function and a transmission function can also be constructed using a commercially available middleware product for constructing a message broker. It is. Alternatively, a message broker that provides such a function of receiving, creating, and transmitting messages may be developed without using a middleware product.

【0092】また、以上の例では、ERPパッケージを
使用することにより受信側システムにトランザクション
モジュールが提供されているコンピュータネットワーク
に本発明を適用しているが、ERPパッケージを使用す
る以外の方式で受信側システムにトランザクションモジ
ュールを備えたコンピュータネットワークにも本発明を
適用できることはもちろんである。
Further, in the above example, the present invention is applied to the computer network in which the transaction module is provided to the receiving system by using the ERP package. Needless to say, the present invention can be applied to a computer network having a transaction module in the side system.

【0093】また、以上の例では、通信主体としてアプ
リケーションシステムのみを含んだコンピュータネット
ワークに本発明を適用しているが、アプリケーションを
使用しないシステムを通信主体として含んだコンピュー
タネットワークにも本発明を適用できることはもちろん
である。また、本発明は、以上の例に限らず、本発明の
要旨を逸脱することなく、その他様々の構成をとりうる
ことはもちろんである。
In the above example, the present invention is applied to a computer network including only an application system as a communication entity, but the present invention is also applied to a computer network including a system not using an application as a communication entity. Of course you can. Further, the present invention is not limited to the above-described example, and it is needless to say that various other configurations can be adopted without departing from the gist of the present invention.

【0094】[0094]

【発明の効果】以上のように、本発明に係る請求項1に
記載のコンピュータネットワークによれば、トランザク
ションが発生したシステムから、トランザクションタイ
プやエレメントタイプやトランザクションデータを含ん
だメッセージを送信させるようにした場合に、このメッ
セージの受信側のシステムそのものにメッセージの受信
の手法を組み込むことなく、受信側のシステム内のトラ
ンザクションモジュールにトランザクションデータをリ
アルタイムに通知することができるという効果が得られ
る。
As described above, according to the computer network of the first aspect of the present invention, a message including a transaction type, an element type, and transaction data is transmitted from a system in which a transaction has occurred. In this case, the effect is obtained that the transaction data can be notified in real time to the transaction module in the receiving-side system without incorporating the method of receiving the message into the message-receiving system itself.

【0095】なお、請求項2または3に記載のコンピュ
ータネットワークにおいて、請求項4に記載のようにし
た場合には、送信側のシステムから送信されたメッセー
ジに含まれるトランザクションデータのフォーマット変
換が効率的に行われるようになるので、トランザクショ
ンモジュールへのトランザクションデータの通知を一層
迅速化することができるという効果も併せて得られる。
In the computer network according to the second or third aspect, in the case of the fourth aspect, the format conversion of the transaction data contained in the message transmitted from the transmission side system is efficient. , The notification of the transaction data to the transaction module can be further speeded up.

【0096】さらに、請求項1乃至4に記載のコンピュ
ータネットワークにおいて、請求項5乃至7に記載のよ
うにした場合には、メッセージの受信及び通知の過程で
受信側のシステムに障害が発生した場合にも、エラー通
知用メッセージやログ情報を用いてその障害の解析やリ
カバリを行うことが可能になるという効果も併せて得ら
れる。
Further, in the computer network according to any one of the first to fourth aspects, in the case of the fifth to seventh aspects, when a failure occurs in the receiving side system in the process of receiving and notifying a message. In addition, the effect that it is possible to analyze and recover from the failure using the error notification message and the log information is also obtained.

【0097】次に、本発明に係る請求項8に記載のトラ
ンザクションデータの通知方法によれば、トランザクシ
ョンが発生したシステムから、トランザクションタイプ
やエレメントタイプやトランザクションデータを含んだ
メッセージを送信させるようにした場合に、このメッセ
ージの受信側のシステムそのものにメッセージの受信の
手法を組み込むことなく、メッセージの受信側のシステ
ム内のトランザクションモジュールにトランザクション
データをリアルタイムに通知することができるという効
果が得られる。
Next, according to the transaction data notification method of the present invention, a message including a transaction type, an element type, and transaction data is transmitted from a system in which a transaction has occurred. In this case, the effect is obtained that the transaction data can be notified in real time to the transaction module in the system on the message receiving side without incorporating the message receiving method into the system on the message receiving side itself.

【0098】なお、請求項9に記載のトランザクション
データの通知方法において、請求項10に記載のように
した場合には、送信側のシステムから送信されたメッセ
ージに含まれるトランザクションデータのフォーマット
変換が効率的に行われるようになるので、トランザクシ
ョンモジュールへのトランザクションデータの通知を一
層迅速化することができるという効果も併せて得られ
る。
In the transaction data notifying method according to the ninth aspect, in the case of the tenth aspect, the format conversion of the transaction data included in the message transmitted from the transmission side system is efficiently performed. In this case, the notification of the transaction data to the transaction module can be further speeded up.

【0099】さらに、請求項8乃至10に記載のトラン
ザクションデータの通知方法において、請求項11乃至
13に記載のようにした場合には、メッセージの受信及
び通知の過程で受信側のシステムに障害が発生した場合
にも、エラー通知用メッセージやログ情報を用いてその
障害の解析やリカバリを行うことが可能になるという効
果も併せて得られる。
Further, in the transaction data notifying method according to any one of claims 8 to 10, when the method according to any one of claims 11 to 13 is adopted, a failure occurs in the receiving side system in the process of receiving and notifying a message. Even in the case of occurrence, the effect of analyzing and recovering from the failure using the error notification message and the log information can be obtained.

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

【図1】本発明を適用したコンピュータネットワークに
おける複数のアプリケーションシステムの連携の様子を
示す図である。
FIG. 1 is a diagram showing a state of cooperation of a plurality of application systems in a computer network to which the present invention has been applied.

【図2】図1のアプリケーションシステムの受信側シス
テムとしてのソフトウェア構成の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a software configuration as a receiving system of the application system of FIG. 1;

【図3】図2の送信側システムから送信されるメッセー
ジの構造の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a structure of a message transmitted from the transmission side system in FIG. 2;

【図4】図2のインバウンドアダプターの処理の概要を
示すフローチャートである。
FIG. 4 is a flowchart showing an outline of processing of the inbound adapter of FIG. 2;

【図5】図2のインバウンドアダプターの構成の一例を
示す図である。
FIG. 5 is a diagram illustrating an example of a configuration of an inbound adapter in FIG. 2;

【図6】図5のディスパッチャーの処理の一例を示すフ
ローチャートである。
FIG. 6 is a flowchart illustrating an example of processing of the dispatcher of FIG. 5;

【図7】図5のトランザクション処理の一例を示すフロ
ーチャートである。
FIG. 7 is a flowchart illustrating an example of the transaction processing of FIG. 5;

【図8】図5のトランザクション処理の一例を示すフロ
ーチャートである。
FIG. 8 is a flowchart illustrating an example of the transaction processing of FIG. 5;

【図9】図5のエレメント処理の一例を示すフローチャ
ートである。
FIG. 9 is a flowchart illustrating an example of the element processing of FIG. 5;

【図10】図2の送信側システムへのエラー通知用メッ
セージの一例を示す図である。
FIG. 10 is a diagram showing an example of an error notification message to the transmission side system of FIG. 2;

【図11】トランザクションタイプテーブルの一例を示
す図である。
FIG. 11 illustrates an example of a transaction type table.

【図12】図2の送信側システムへのエラー通知用メッ
セージの一例を示す図である。
12 is a diagram illustrating an example of an error notification message to the transmission side system in FIG. 2;

【図13】エレメントタイプテーブルの一例を示す図で
ある。
FIG. 13 is a diagram illustrating an example of an element type table.

【図14】メッセージの一例と、そのメッセージのエレ
メントデータがアペンドされた状態とを示す図である。
FIG. 14 is a diagram illustrating an example of a message and a state where element data of the message is appended.

【図15】従来のトランザクションデータの送受信及び
受信側のシステム内のトランザクションモジュールへの
通知の様子を示す図である。
FIG. 15 is a diagram showing transmission / reception of transaction data and notification to a transaction module in a receiving-side system in the related art.

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

1 受信側システム、 2 インバウンドアダプター、
3 受信キュー、4 MB−API、 5(1)〜5
(n) トランザクションモジュール、 6ディスパッ
チャー、 7(1)〜7(n) トランザクション処
理、 8(1)〜8(k) エレメント処理、 21
送信側システム、 22,32 メッセージブローカ
ー、 31(1)〜31(m) アプリケーションシス
テム
1 receiver system, 2 inbound adapter,
3 reception queue, 4 MB-API, 5 (1) to 5
(N) transaction module, 6 dispatcher, 7 (1) to 7 (n) transaction processing, 8 (1) to 8 (k) element processing, 21
Sender system, 22, 32 Message broker, 31 (1) -31 (m) Application system

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 複数のシステムを含むコンピュータネッ
トワークにおいて、 少なくとも1つのシステムが、トランザクションデータ
の受信側のシステムとして、 メッセージブローカーを利用して、受信キューでのメッ
セージの受信を監視し、該受信キューで受信されたメッ
セージから、トランザクションを識別するためのトラン
ザクションタイプを取得し、該システム内の複数のトラ
ンザクションモジュールのうち、該トランザクションタ
イプに対応するトランザクションモジュールに、該メッ
セージから取得したトランザクションデータを通知する
インバウンドアダプターを備えたことを特徴とするコン
ピュータネットワーク。
In a computer network including a plurality of systems, at least one system monitors reception of a message in a reception queue using a message broker as a system for receiving transaction data. Acquires a transaction type for identifying a transaction from the message received in step 1, and notifies the transaction module corresponding to the transaction type of the plurality of transaction modules in the system of the transaction data acquired from the message. A computer network comprising an inbound adapter.
【請求項2】 請求項1に記載のコンピュータネットワ
ークにおいて、 前記インバウンドアダプターは、前記受信キューで受信
されたメッセージから、トランザクションを構成する要
素であるエレメントを識別するためのエレメントタイプ
及び該エレメントタイプに対応したトランザクションデ
ータを取得し、該トランザクションデータを、該エレメ
ントタイプに応じてフォーマット変換した後、前記複数
のトランザクションモジュールのうち前記トランザクシ
ョンタイプに対応するトランザクションモジュールに通
知することを特徴とするコンピュータネットワーク。
2. The computer network according to claim 1, wherein the inbound adapter includes an element type for identifying an element that is a constituent element of a transaction from the message received in the reception queue, and the element type. A computer network for acquiring corresponding transaction data, converting the format of the transaction data according to the element type, and notifying a transaction module corresponding to the transaction type among the plurality of transaction modules.
【請求項3】 請求項2に記載のコンピュータネットワ
ークにおいて、 前記インバウンドアダプターは、 前記トランザクションタイプに対応した複数の第1のモ
ジュールと、 前記エレメントタイプに対応した複数の第2のモジュー
ルと、 メッセージブローカーを利用して、受信キューでのメッ
セージの受信を監視し、該受信キューで受信されたメッ
セージから前記トランザクションタイプを取得し、前記
複数の第1のモジュールのうち該トランザクションタイ
プに対応するモジュールを呼び出すディスパッチャーと
から成っており、 前記複数の第1のモジュールのうち前記ディスパッチャ
ーから呼び出されたモジュールが、前記メッセージから
前記エレメントタイプ及び前記トランザクションデータ
を取得し、前記複数の第2のモジュールのうち該エレメ
ントタイプに対応するモジュールを呼び出し、 前記複数の第2のモジュールのうち前記第1のモジュー
ルから呼び出されたモジュールが、前記トランザクショ
ンデータを、前記エレメントタイプに応じてフォーマッ
ト変換した後、前記複数のトランザクションモジュール
のうち前記トランザクションタイプに対応するトランザ
クションモジュールに通知することを特徴とするコンピ
ュータネットワーク。
3. The computer network according to claim 2, wherein the inbound adapter includes a plurality of first modules corresponding to the transaction type, a plurality of second modules corresponding to the element type, and a message broker. Monitoring the reception of a message in a reception queue, acquiring the transaction type from the message received in the reception queue, and calling a module corresponding to the transaction type among the plurality of first modules. And a module called from the dispatcher among the plurality of first modules acquires the element type and the transaction data from the message, and the plurality of second modules. A module corresponding to the element type is called, and a module called from the first module among the plurality of second modules converts the format of the transaction data according to the element type. A transaction module corresponding to the transaction type among the transaction modules.
【請求項4】 請求項2または3に記載のコンピュータ
ネットワークにおいて、 前記エレメントタイプが同じである複数の前記トランザ
クションデータを一括してフォーマット変換することを
特徴とするコンピュータネットワーク。
4. The computer network according to claim 2, wherein a plurality of transaction data having the same element type are format-converted collectively.
【請求項5】 請求項1乃至4のいずれかに記載のコン
ピュータネットワークにおいて、 前記インバウンドアダプターは、前記受信キューで受信
されたメッセージに関するログ情報を記録し、かつ、該
メッセージの送信側のシステムに、該メッセージに関す
るエラーを通知するメッセージを送信することを特徴と
するコンピュータネットワーク。
5. The computer network according to claim 1, wherein the inbound adapter records log information on a message received in the reception queue, and transmits the log information to a system on the transmission side of the message. Sending a message notifying an error relating to the message.
【請求項6】 請求項1乃至4のいずれかに記載のコン
ピュータネットワークにおいて、 前記インバウンドアダプターは、前記受信キューで受信
されたメッセージの前記トランザクションタイプが識別
不能である場合と、該メッセージから取得した前記トラ
ンザクションデータの内容が正しくない場合とのうちの
少なくとも一方の場合に、該メッセージの送信側のシス
テムに、エラーを通知するメッセージを送信し、かつ、
該エラーを通知するメッセージと同一の情報をログ情報
として記録することを特徴とするコンピュータネットワ
ーク。
6. The computer network according to claim 1, wherein the inbound adapter obtains a message received from the reception queue when the transaction type of the message is indistinguishable and from the message. In at least one of the case where the content of the transaction data is incorrect, and sends a message notifying the error to the system on the message sending side, and
A computer network, wherein the same information as a message notifying the error is recorded as log information.
【請求項7】 請求項2乃至4または6のいずれかに記
載のコンピュータネットワークにおいて、 前記インバウンドアダプターは、前記受信キューで受信
されたメッセージの前記エレメントタイプが識別不能で
ある場合に、該メッセージの送信側のシステムに、エラ
ーを通知するメッセージを送信し、かつ、該エラーを通
知するメッセージと同一の情報をログ情報として記録す
ることを特徴とするコンピュータネットワーク。
7. The computer network according to claim 2, wherein the inbound adapter determines the type of the message received in the reception queue when the element type of the message cannot be identified. A computer network for transmitting a message notifying an error to a transmitting system and recording the same information as the message notifying the error as log information.
【請求項8】 複数のシステムを含むコンピュータネッ
トワーク内で、トランザクションデータの受信側のシス
テムが、該システム内のトランザクションモジュールに
トランザクションデータを通知する方法において、 メッセージブローカーを利用して、受信キューでのメッ
セージの受信を監視し、該受信キューで受信されたメッ
セージから、トランザクションを識別するためのトラン
ザクションタイプを取得する第1ステップと、 該システム内の複数のトランザクションモジュールのう
ち、前記トランザクションタイプに対応するトランザク
ションモジュールに、該メッセージから取得したトラン
ザクションデータを通知する第2ステップとを含むこと
を特徴とするトランザクションデータの通知方法。
8. A method in which a system receiving transaction data in a computer network including a plurality of systems notifies the transaction module to a transaction module in the system, using a message broker to receive the transaction data in a reception queue. A first step of monitoring the reception of a message and acquiring a transaction type for identifying a transaction from the message received in the reception queue; and corresponding to the transaction type among a plurality of transaction modules in the system. A second step of notifying the transaction module of the transaction data acquired from the message.
【請求項9】 請求項8に記載のトランザクションデー
タの通知方法において、 前記第2ステップで、 前記受信キューで受信されたメッセージから、前記トラ
ンザクションを構成するエレメントを識別するためのエ
レメントタイプ及び該エレメントタイプに対応したトラ
ンザクションデータを取得し、該トランザクションデー
タを、該エレメントタイプに応じてフォーマット変換し
た後、前記複数のトランザクションモジュールのうち前
記トランザクションタイプに対応するトランザクション
モジュールに通知することを特徴とするトランザクショ
ンデータの通知方法。
9. The method of notifying transaction data according to claim 8, wherein in the second step, an element type and an element for identifying an element constituting the transaction from a message received in the reception queue. A transaction that acquires transaction data corresponding to a type, converts the format of the transaction data according to the element type, and notifies a transaction module corresponding to the transaction type among the plurality of transaction modules. Notification method of data.
【請求項10】 請求項9に記載のトランザクションデ
ータの通知方法において、 前記第2ステップで、前記エレメントタイプが同じであ
る複数の前記トランザクションデータを一括してフォー
マット変換することを特徴とするトランザクションデー
タの通知方法。
10. The transaction data notification method according to claim 9, wherein in the second step, a plurality of transaction data having the same element type are collectively converted in format. Notification method.
【請求項11】 請求項8乃至10のいずれかに記載の
トランザクションデータの通知方法において、 前記第1ステップ及び前記2ステップのうちの少なくと
も一方のステップで、前記受信キューで受信されたメッ
セージに関するログ情報を記録し、かつ、該メッセージ
の送信側のシステムに、該メッセージに関するエラーを
通知するメッセージを送信することを特徴とするトラン
ザクションデータの通知方法。
11. The transaction data notification method according to claim 8, wherein at least one of the first step and the two steps is a log related to a message received by the reception queue. A method of notifying transaction data, comprising recording information and transmitting a message notifying an error relating to the message to a system on a transmitting side of the message.
【請求項12】 請求項8乃至10のいずれかに記載の
トランザクションデータの通知方法において、 前記第1ステップで、前記受信キューで受信されたメッ
セージから取得した前記トランザクションタイプが識別
不能である場合に、該メッセージの送信側のシステム
に、エラーを通知するメッセージを送信し、かつ、該エ
ラーを通知するメッセージと同一の情報をログ情報とし
て記録することを特徴とするトランザクションデータの
通知方法。
12. The method of notifying transaction data according to claim 8, wherein in the first step, when the transaction type acquired from the message received in the reception queue is not identifiable. Transmitting a message notifying an error to a system on the transmitting side of the message, and recording the same information as the message notifying the error as log information.
【請求項13】 請求項9,10または12のいずれか
に記載のトランザクションデータの通知方法において、 前記第2ステップで、前記受信キューで受信されたメッ
セージから取得した前記トランザクションデータの内容
が正しくない場合と、該メッセージから取得した前記エ
レメントタイプが識別不能である場合のうちの少なくと
も一方の場合に、該メッセージの送信側のシステムに、
エラーを通知するメッセージを送信し、かつ、該エラー
を通知するメッセージと同一の情報をログ情報として記
録することを特徴とするトランザクションデータの通知
方法。
13. The transaction data notification method according to claim 9, wherein in the second step, the content of the transaction data acquired from the message received in the reception queue is incorrect. And at least one of the case where the element type obtained from the message is unidentifiable, the system of the sender of the message,
A method for notifying transaction data, comprising transmitting a message notifying an error and recording the same information as the message notifying the error as log information.
JP11048707A 1999-02-25 1999-02-25 Computer network and reporting method for transaction data Pending JP2000250856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11048707A JP2000250856A (en) 1999-02-25 1999-02-25 Computer network and reporting method for transaction data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11048707A JP2000250856A (en) 1999-02-25 1999-02-25 Computer network and reporting method for transaction data

Publications (1)

Publication Number Publication Date
JP2000250856A true JP2000250856A (en) 2000-09-14

Family

ID=12810802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11048707A Pending JP2000250856A (en) 1999-02-25 1999-02-25 Computer network and reporting method for transaction data

Country Status (1)

Country Link
JP (1) JP2000250856A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956456A (en) * 2018-09-27 2020-04-03 优信数享(北京)信息技术有限公司 Money printing processing method, device and system
US11922026B2 (en) 2022-02-16 2024-03-05 T-Mobile Usa, Inc. Preventing data loss in a filesystem by creating duplicates of data in parallel, such as charging data in a wireless telecommunications network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956456A (en) * 2018-09-27 2020-04-03 优信数享(北京)信息技术有限公司 Money printing processing method, device and system
US11922026B2 (en) 2022-02-16 2024-03-05 T-Mobile Usa, Inc. Preventing data loss in a filesystem by creating duplicates of data in parallel, such as charging data in a wireless telecommunications network

Similar Documents

Publication Publication Date Title
CN103019866B (en) Distributed method and system based on message queue
US7091846B2 (en) Methods and apparatus for handling information regarding an alarm for a communication network
CN110554930B (en) Data storage method and related equipment
US5657250A (en) Method for controlling operation and management subsystem in signalling message exchange No. 1 system
CN102045540A (en) Video monitoring method, system and equipment
US20140082430A1 (en) Reporting product status information using a visual code
US20020059410A1 (en) Remote site management system
US7287073B2 (en) Remote site managing system for centrally managing computers and peripheral devices
CN110688280A (en) Management system, method, equipment and storage medium of alarm event
WO2007149340A2 (en) Method and system for monitoring non-occurring events
CN101013971A (en) Method and system for providing failure detection with minimal bandwidth usage
EP1775659A2 (en) Remote maintenance system, mail connect confirmation method and program, and mail transmission environment diagnosis program
CN101467132B (en) Method and system for distributing data processing units in a communication network
US7912981B2 (en) System and method for intelligent data routing
CN101677278A (en) Method and system for monitoring availability of network information system
US20110261701A1 (en) Monitoring a mobile data service associated with a mailbox
JP2000250856A (en) Computer network and reporting method for transaction data
CN100397825C (en) Alarm data process and its processor in network system
JP2000250767A (en) Computer network and method for transmitting transaction data
CN112259213A (en) Data transmission method, system, electronic equipment and storage medium
JP2000065352A (en) Combustion control apparatus monitoring system, remote monitoring device, and combustion control apparatus
US20120072545A1 (en) Remote maintenance and monitoring service framework for heterogeneous device and system
US11444857B2 (en) Network information collection device and method therefor
CN100401260C (en) Method for automatically overcoming a failure in an eml server and computer product adapted to perform such a method
JP4459185B2 (en) Computer system