JP2002041293A - Program control method and program control system - Google Patents

Program control method and program control system

Info

Publication number
JP2002041293A
JP2002041293A JP2000233169A JP2000233169A JP2002041293A JP 2002041293 A JP2002041293 A JP 2002041293A JP 2000233169 A JP2000233169 A JP 2000233169A JP 2000233169 A JP2000233169 A JP 2000233169A JP 2002041293 A JP2002041293 A JP 2002041293A
Authority
JP
Japan
Prior art keywords
data
adapter
application
information
name
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
JP2000233169A
Other languages
Japanese (ja)
Inventor
Motoharu Sato
基晴 佐藤
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 JP2000233169A priority Critical patent/JP2002041293A/en
Publication of JP2002041293A publication Critical patent/JP2002041293A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To dispense with the preparation of a data conversion method for every application program in preparing a system linked via data to a plurality of application programs. SOLUTION: If the same data conversion method is required in different places within a system, a data conversion method prepared once can be utilized by storing the information on the data before conversion and those after conversion together with the data conversion method.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のアプリケー
ションプログラムを実行するシステムにおけるデータの
変換に関する。
The present invention relates to data conversion in a system that executes a plurality of application programs.

【0002】[0002]

【従来の技術】特開平9−81637公報には、複数の
データ格納エリアを備えたワークフローシステムの実現
方法が開示されている。ここでは、ワークフロー定義の
各作業毎に異なるデータ格納エリアを用意することによ
って各作業の部品化を容易にし、ファイルI/O待ち時
間を短縮する方法が開示されている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. 9-81637 discloses a method for realizing a workflow system having a plurality of data storage areas. Here, a method is disclosed in which a different data storage area is prepared for each work in the workflow definition, thereby facilitating the componentization of each work and reducing the file I / O waiting time.

【0003】[0003]

【発明が解決しようとする課題】接続されているアプリ
ケーション間でデータの受け渡しとデータの変換がある
ようなワークフローシステムの場合、上記従来技術では
データの変換方法を接続するアプリケーション毎に毎回
作成する必要があった。
In the case of a workflow system in which data is exchanged and data is exchanged between connected applications, in the above-described prior art, a data conversion method needs to be created for each application to be connected. was there.

【0004】また、上記従来技術ではデータの変換方法
はシステム構築時に決定され、システム運用時の処理結
果によって変換方法を変えることはできなかった。
[0004] In the above-mentioned prior art, the data conversion method is determined at the time of system construction, and the conversion method cannot be changed according to the processing result during system operation.

【0005】本発明は、アプリケーションプログラムの
実行結果を他のアプリケーションプログラムで実行可能
なデータ変換を行うシステム及び方法を提供することに
ある。
An object of the present invention is to provide a system and method for performing data conversion in which the execution result of an application program can be executed by another application program.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
の一つの手段として、第1のアプリケーションの実行結
果を第2のアプリケーションが使用するために、予め定
義された第1、第2のアプリケーション間のデータ変換
方法に基づいてデータを変換し、変換された実行結果を
用いて第2のアプリケーションを実行する。
Means for Solving the Problems As one means for solving the above-mentioned problem, a first and a second application defined in advance so that the second application uses the execution result of the first application. Data is converted based on the data conversion method between the two, and the second application is executed using the converted execution result.

【0007】[0007]

【発明の実施の形態】以下、図面を用いて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, description will be made with reference to the drawings.

【0008】本発明は、複数のアプリケーションプログ
ラム(以下、「アプリケーション」と称す。)が実行さ
れるシステムであって、あるアプリケーションで実行さ
れた結果を利用して他のアプリケーションが実行される
システムに適用されるものである。以下、複数のアプリ
ケーションプログラムが実行されるシステムの一例とし
て複数の計算機から構成され、予め定義された計算機間
のデータの転送順序に従って、処理を実行するワークフ
ローシステムに本発明を適用した場合について説明する
が、本発明はこれに限定されるものではない。
The present invention relates to a system in which a plurality of application programs (hereinafter, referred to as “applications”) are executed, and a system in which another application is executed by utilizing a result executed by one application. Applicable. Hereinafter, a case will be described in which the present invention is applied to a workflow system which includes a plurality of computers as an example of a system in which a plurality of application programs are executed, and executes processing in accordance with a predefined data transfer order between the computers. However, the present invention is not limited to this.

【0009】図1は、本発明を適用したシステム全体の
構成を示した図である。ネットワーク105を介して、
ワークフロー制御プログラム102のある計算機101
はアプリケーションとワークフロー制御プログラム10
2を接続する部品(以下、アダプタ)107のある計算
機106、アダプタ113のある計算機112、データ
管理サーバ118と接続されている。また、計算機10
6はアダプタ107に関連付けられたアプリケーション
111のある計算機110、計算機112はアダプタ1
13に関連付けられたアプリケーション117のある計
算機116とそれぞれ接続されている。図1ではワーク
フロー制御プログラム102とアダプタ107、11
3、アプリケーション111、117、データ管理サー
バ118の各構成部119、120、121、122、
123、124が全て別々の計算機に配置されている
が、全てを一つの計算機に配置することも可能である。
FIG. 1 is a diagram showing the configuration of the entire system to which the present invention is applied. Via the network 105,
Computer 101 with workflow control program 102
Is the application and workflow control program 10
2 are connected to a computer 106 having a component (hereinafter, referred to as an adapter) 107, a computer 112 having an adapter 113, and a data management server 118. The computer 10
6 is a computer 110 having an application 111 associated with the adapter 107, and a computer 112 is an adapter 1
13 is connected to a computer 116 having an application 117 associated therewith. In FIG. 1, the workflow control program 102 and the adapters 107 and 11
3, each of the components 111, 120, 121, 122 of the applications 111, 117, and the data management server 118;
Although 123 and 124 are all arranged on different computers, it is also possible to arrange them all on one computer.

【0010】ワークフロー制御プログラム102は、ワ
ークフロー定義103に基づいてアダプタ107、11
3を起動する。ワークフロー定義103は、システム構
築時にワークフロー定義作成プログラム104によって
作成される。
[0010] The workflow control program 102, based on the workflow definition 103, the adapter 107, 11
Start 3 The workflow definition 103 is created by the workflow definition creation program 104 when the system is constructed.

【0011】アダプタ107はデータ送受信部108と
アプリケーション起動部109を持ち、アプリケーショ
ン111と接続されている。データ送受信部108は、
ネットワーク105から取得したデータをアプリケーシ
ョン起動部109に渡し、アプリケーション起動部から
受け取ったデータをネットワーク105に送信する。ア
プリケーション起動部109は、データ送受信部108
から受け取ったデータを渡してアプリケーション111
を起動し、アプリケーション111の出力結果をデータ
送受信部108に渡す。アダプタ107は、アプリケー
ション111毎に1つずつ存在し、複数のアプリケーシ
ョンを利用するシステムでは図1のように1つのネット
ワーク105に複数のアダプタが接続される。
The adapter 107 has a data transmitting / receiving unit 108 and an application starting unit 109, and is connected to an application 111. The data transmitting / receiving unit 108
The data acquired from the network 105 is passed to the application activation unit 109, and the data received from the application activation unit is transmitted to the network 105. The application activating unit 109 includes a data transmitting / receiving unit 108
Passing the data received from the application 111
Is started, and the output result of the application 111 is passed to the data transmitting / receiving unit 108. One adapter 107 exists for each application 111, and in a system using a plurality of applications, a plurality of adapters are connected to one network 105 as shown in FIG.

【0012】データ管理サーバ118は、データ送受信
部119、データ変換部120、データ形式情報取得部
121、アダプタ情報取得部122、データ入出力部1
23、マッピング部品情報取得部124を持ち、データ
形式情報125、アダプタ情報127、マッピング情報
129を含むディスクと、データ格納エリア131を持
つディスクと接続されている。データ格納エリア131
はデータ形式情報125、またはデータ管理サーバ11
8と同じディスク内にあっても良い。
The data management server 118 includes a data transmission / reception unit 119, a data conversion unit 120, a data format information acquisition unit 121, an adapter information acquisition unit 122, and a data input / output unit 1.
23, a disk having a mapping component information acquisition unit 124 and including data format information 125, adapter information 127, and mapping information 129, and a disk having a data storage area 131. Data storage area 131
Is the data format information 125 or the data management server 11
8 may be in the same disk.

【0013】データ送受信部119はネットワーク10
5からメッセージを受信し、ネットワーク105にデー
タ管理サーバの出力結果のメッセージを送信する。メッ
セージの形式については後述する。データ変換部120
はデータ形式情報125とマッピング部品情報129に
基づいてデータを変換する。データ形式情報取得部12
1は、データ形式情報125を参照してデータ形式20
3を取得する。データ入出力部123は、データ格納エ
リア131の指定された場所にデータを格納し、指定さ
れた場所からデータを取得する。マッピング部品情報取
得部124は、マッピング部品情報129を検索し、必
要なデータの変換方法についての情報を取得する。
The data transmission / reception unit 119 is connected to the network 10
5 and sends a message of the output result of the data management server to the network 105. The format of the message will be described later. Data converter 120
Converts data based on the data format information 125 and the mapping component information 129. Data format information acquisition unit 12
1 is a data format 20 with reference to the data format information 125.
Acquire 3. The data input / output unit 123 stores data at a designated location in the data storage area 131, and acquires data from the designated location. The mapping component information acquisition unit 124 searches the mapping component information 129 and acquires information on a necessary data conversion method.

【0014】データ形式情報作成プログラム126は、
データ形式情報125を作成してディスクに格納する。
アダプタ情報作成プログラム128は、アダプタ情報1
27を作成してディスクに保存する。アダプタ情報12
7の作成方法については後述する。マッピング部品情報
作成プログラム130は、マッピング部品情報129を
作成してディスクに格納する。マッピング部品情報12
9の作成方法については後述する。
The data format information creation program 126
The data format information 125 is created and stored on the disk.
The adapter information creation program 128 stores the adapter information 1
27 and save it to disk. Adapter information 12
7 will be described later. The mapping part information creation program 130 creates the mapping part information 129 and stores it on the disk. Mapping part information 12
The method of creating 9 will be described later.

【0015】図2のテーブルは、データ形式情報125
の形式情報を示したものである。テーブルの行は一つの
データに対応している。識別子201はシステム内で重
複しないように定義する必要がある。一つのデータにデ
ータ項目が複数ある場合、データ項目名202とデータ
形式203の順番が対応している必要がある。例えばデ
ータ204では、データ項目名「見積部品名」のデータ
形式は「byte」型、データ項目名「ロット数」と「単価
($)」のデータ形式は「int」型である。
The table shown in FIG.
Is the format information. Each row in the table corresponds to one piece of data. The identifier 201 needs to be defined so as not to be duplicated in the system. When one data has a plurality of data items, the order of the data item name 202 and the data format 203 needs to correspond. For example, in the data 204, the data format of the data item name “estimated part name” is “byte” type, and the data format of the data item names “lot number” and “unit price ($)” is “int” type.

【0016】図3のテーブルは、アダプタ情報127の
形式情報を示したものである。テーブルの行は一つのア
ダプタに対応している。作業名302は、アダプタを関
連付けるワークフロー定義103中の、ワークフロー制
御プログラムのプログラム実行単位である作業ノード
(以下、作業)の名前である。入力データ識別子30
3、出力データ識別子305にはデータ形式情報125
の識別子201の値が格納される。入力データ格納エリ
ア名304、出力データ格納エリア名306はデータ格
納エリア131の領域の名前である。
The table of FIG. 3 shows format information of the adapter information 127. Each row in the table corresponds to one adapter. The work name 302 is the name of a work node (hereinafter, work), which is a program execution unit of the workflow control program, in the workflow definition 103 that associates the adapter. Input data identifier 30
3. The output data identifier 305 has the data format information 125
Of the identifier 201 is stored. The input data storage area name 304 and the output data storage area name 306 are the names of the areas of the data storage area 131.

【0017】図4のテーブルは、マッピング部品情報1
29の形式情報を示したものである。テーブルの行は一
つのデータ変換方法の単位(以下、マッピング部品)に
対応している。識別子401はシステム内で重複しない
ように定義する必要がある。変換元データ識別子40
2、変換先データ識別子403にはデータ形式情報12
5の識別子201の値が格納される。対応関係404
は、マッピングの変換先のデータのデータ項目名202
を変換元のデータのデータ項目名202で表したもので
ある。
The table shown in FIG.
29 shows 29 format information. The rows of the table correspond to one data conversion method unit (hereinafter, mapping component). The identifier 401 needs to be defined so as not to be duplicated in the system. Conversion source data identifier 40
2. The conversion destination data identifier 403 has the data format information 12
5, the value of the identifier 201 is stored. Correspondence 404
Is the data item name 202 of the mapping destination data
Is represented by the data item name 202 of the conversion source data.

【0018】図5のテーブルは、データ格納エリア13
1の形式情報を示したものである。テーブルの行はディ
スク上の一つの領域に対応している。システム構築時に
はデータ格納エリア名501のみ格納されており、デー
タ識別子名201、データの値502の領域は空であ
る。システム実行時にデータ識別子名201、データの
値502の領域に値が格納される。
The table shown in FIG.
1 shows the format information. Each row in the table corresponds to one area on the disk. When the system is constructed, only the data storage area name 501 is stored, and the area of the data identifier name 201 and the data value 502 is empty. When the system is executed, a value is stored in the area of the data identifier name 201 and the data value 502.

【0019】図6は、このシステムにおいてアダプタ1
07、アダプタ113の順に動作する場合のデータの受
け渡し方法を示したものである。
FIG. 6 shows an adapter 1 in this system.
07 and the data transfer method when the adapter 113 operates in this order.

【0020】(ステップ601)ワークフロー制御プロ
グラム102は、ワークフロー定義103に基づいてア
ダプタ107を起動する。アダプタ107中のアプリケ
ーション起動部109によって、アプリケーション11
1が起動される。
(Step 601) The workflow control program 102 activates the adapter 107 based on the workflow definition 103. The application starting unit 109 in the adapter 107 causes the application 11
1 is activated.

【0021】(ステップ602)アプリケーション11
1が終了すると、その出力結果のデータがアプリケーシ
ョン起動部109に送られる。データ送受信部108は
このデータの値をアプリケーション起動部109から受
け取り、データにアダプタ107の名前とアダプタの出
力データである、という情報(以下、入出力種別)を付
加したメッセージを作成して、ネットワーク105経由
でデータ管理サーバ118にこのメッセージを送信す
る。図7にメッセージの例を示す。ここではメッセージ
703が送信される。
(Step 602) Application 11
When 1 is completed, the data of the output result is sent to the application starting unit 109. The data transmission / reception unit 108 receives the value of the data from the application activation unit 109, and creates a message in which information (hereinafter, input / output type) indicating the name of the adapter 107 and output data of the adapter is added to the data. This message is transmitted to the data management server 118 via 105. FIG. 7 shows an example of the message. Here, the message 703 is transmitted.

【0022】(ステップ603)データ管理サーバ11
8は、受け取ったメッセージ603中のアダプタに関す
る情報からメッセージ中のデータの値を格納すべきデー
タ格納エリア名を取得し、データの値をデータ格納エリ
ア131の取得した領域に格納する。正常に格納する
と、終了通知をワークフロー制御プログラム102に送
る。
(Step 603) Data management server 11
8 acquires the name of the data storage area in which the value of the data in the message is to be stored from the information on the adapter in the received message 603 and stores the data value in the acquired area of the data storage area 131. When the information is stored normally, an end notification is sent to the workflow control program 102.

【0023】データ格納エリアの取得とデータの格納は
以下のように行われる。アダプタ107からのメッセー
ジ703を受け取ったデータ管理サーバ118のデータ
送受信部119は、アダプタ名301と入出力種別70
2をアダプタ情報取得部122に、データの値502を
データ入出力部123に送る。アダプタ情報取得部12
2は、アダプタ情報127を検索して、送られてきたア
ダプタ名301と入出力種別702からデータ識別子と
データ格納エリア名を取得し、データ入出力部123に
送る。ここでは、アダプタ107の出力データ識別子3
05の値Aと出力データ格納エリア名306の値Pを送
る。データ入出力部123は、データ送受信部119か
ら受け取ったデータの値502とアダプタ情報取得部1
22から受け取った識別子305を、送られてきた出力
データ格納エリア名306に対応するデータ格納エリア
131に格納する。
The acquisition of the data storage area and the storage of the data are performed as follows. Upon receiving the message 703 from the adapter 107, the data transmitting / receiving unit 119 of the data management server 118 sets the adapter name 301 and the input / output type 70
2 to the adapter information acquisition unit 122 and the data value 502 to the data input / output unit 123. Adapter information acquisition unit 12
2 retrieves the adapter information 127, acquires a data identifier and a data storage area name from the transmitted adapter name 301 and input / output type 702, and sends the data identifier and data storage area name to the data input / output unit 123. Here, the output data identifier 3 of the adapter 107
05 and the value P of the output data storage area name 306 are sent. The data input / output unit 123 includes the data value 502 received from the data transmission / reception unit 119 and the adapter information acquisition unit 1
The identifier 305 received from the storage 22 is stored in the data storage area 131 corresponding to the output data storage area name 306 sent.

【0024】(ステップ604)ワークフロー制御プロ
グラム102は、終了通知を受け取るとワークフロー定
義103に基づいて次のアダプタ113を起動する。
(Step 604) Upon receiving the end notification, the workflow control program 102 activates the next adapter 113 based on the workflow definition 103.

【0025】(ステップ605)アダプタ113は、ア
ダプタ107の出力結果を取得するためメッセージ70
4をデータ管理サーバ118に送信する。
(Step 605) The adapter 113 sends the message 70 to obtain the output result of the adapter 107.
4 to the data management server 118.

【0026】(ステップ606)データ管理サーバ11
8は、受け取ったメッセージ704中のアダプタに関す
る情報からアダプタ107の出力データが格納されてい
るデータ格納エリア名を取得し、データの値を取得す
る。次に、このデータに対応するマッピング部品を取得
してデータを変換し、変換後の値をメッセージ705に
格納してアダプタ107に送信する。データ送受信部1
14は受け取ったデータをアプリケーション起動部11
5に送り、アプリケーション起動部115は受け取った
データの値を渡してアプリケーション117を起動す
る。
(Step 606) Data management server 11
8 acquires the name of the data storage area in which the output data of the adapter 107 is stored from the information on the adapter in the received message 704, and acquires the value of the data. Next, a mapping component corresponding to this data is acquired, the data is converted, the converted value is stored in the message 705, and transmitted to the adapter 107. Data transmission / reception unit 1
Reference numeral 14 denotes the application starting unit 11
5 and the application activation unit 115 activates the application 117 by passing the value of the received data.

【0027】データ格納エリア名の取得、マッピング部
品の取得とデータの変換は次のように行われる。メッセ
ージ704を受け取ったデータ管理サーバ118のデー
タ送受信部119は、アダプタ名301と入出力種別7
02をアダプタ情報取得部122に送る。また、後でメ
ッセージを送信するためにアダプタ名301と入出力種
別702を一時領域に保存しておく。アダプタ情報取得
部122は、アダプタ名301と入出力種別702を元
にアダプタ情報127を検索して入力データ識別子30
3と入力データ格納エリア名304を取得し、前者はデ
ータ形式情報取得部121とマッピング情報取得部12
4に、後者はデータ入出力部123に送る。このとき、
データ識別子303は変換先データ識別子403として
マッピング情報取得部124に送られる。データ形式情
報取得部121は、データ形式情報125を検索して送
られてきた識別子201に対応するデータ項目名202
とデータ形式203を取得し、データ変換部120に送
る。データ入出力部123は、送られてきた入力データ
格納エリア名304に対応する領域に格納されているデ
ータ識別子名201とデータの値502を取得し、前者
はマッピング情報取得部124に、後者はデータ変換部
120にそれぞれ送る。このとき、識別子は変換元デー
タ識別子402として送られる。マッピング部品情報取
得部124はマッピング部品情報129を検索し、送ら
れてきた変換元データ識別子402と変換先データ識別
子403に合致するマッピング部品405を取得してデ
ータ変換部120に送る。データ変換部120は、デー
タ入出力部123から送られてきたデータの値502
を、データ形式情報取得部121から送られてきたデー
タ項目名202、データ形式203とマッピング部品情
報取得部124から送られてきたマッピング部品405
の対応関係404に従って変換し、変換後のデータの値
をデータ送受信部119に送る。データ送受信部119
はこのデータに一時領域に保存しておいたアダプタ名3
01と入出力種別702の情報を付加したメッセージ7
05を構築し、アダプタ113のデータ送受信部114
に送る。
The acquisition of the data storage area name, the acquisition of the mapping component, and the conversion of the data are performed as follows. Upon receiving the message 704, the data transmitting / receiving unit 119 of the data management server 118 sets the adapter name 301 and the input / output type 7
02 to the adapter information acquisition unit 122. Further, the adapter name 301 and the input / output type 702 are stored in a temporary area in order to transmit a message later. The adapter information acquisition unit 122 searches the adapter information 127 based on the adapter name 301 and the input / output type 702, and
3 and the input data storage area name 304, the former being the data format information obtaining unit 121 and the mapping information obtaining unit 12
4, the latter is sent to the data input / output unit 123. At this time,
The data identifier 303 is sent to the mapping information acquisition unit 124 as a conversion destination data identifier 403. The data format information acquisition unit 121 searches the data format information 125 for the data item name 202 corresponding to the identifier 201 sent.
And the data format 203, and sends it to the data converter 120. The data input / output unit 123 acquires the data identifier name 201 and the data value 502 stored in the area corresponding to the input data storage area name 304 that has been sent. Each is sent to the data conversion unit 120. At this time, the identifier is sent as the conversion source data identifier 402. The mapping component information acquisition unit 124 searches the mapping component information 129, acquires a mapping component 405 that matches the transmitted conversion source data identifier 402 and conversion destination data identifier 403, and sends the mapping component 405 to the data conversion unit 120. The data conversion unit 120 calculates the value 502 of the data transmitted from the data input / output unit 123.
Of the data item name 202, the data format 203 sent from the data format information acquisition unit 121, and the mapping component 405 sent from the mapping component information acquisition unit 124.
Is converted in accordance with the correspondence 404, and the value of the converted data is sent to the data transmitting / receiving unit 119. Data transmission / reception unit 119
Is the adapter name 3 saved in the temporary area for this data
01 and the message 7 with the information of the input / output type 702 added
05, and the data transmission / reception unit 114 of the adapter 113
Send to

【0028】図8はシステム構築時のユーザの操作の概
要を示したものである。
FIG. 8 shows an outline of a user's operation when constructing the system.

【0029】(ステップ801)ワークフロー定義作成
プログラム104を使用してワークフロー定義103を
作成する。ここではワークフローで使用する作業の名前
を指定し、その実行順序を指定する。
(Step 801) The workflow definition 103 is created using the workflow definition creation program 104. Here, the name of the work used in the workflow is specified, and the execution order is specified.

【0030】(ステップ802)アプリケーションとア
ダプタを作成する。アダプタはアプリケーション毎に作
成する。アプリケーションやアダプタは、既存のものを
流用することもできる。ここでアダプタにアダプタ名3
01が割り当てられる。
(Step 802) An application and an adapter are created. Adapters are created for each application. Existing applications and adapters can also be used. Here the adapter name 3
01 is assigned.

【0031】(ステップ803)データ形式情報作成プ
ログラム126を使用してデータ形式情報125を作成
する。ここでは、データ識別子201とデータ項目名2
02、データ形式203を指定する。
(Step 803) The data format information 125 is created by using the data format information creation program 126. Here, the data identifier 201 and the data item name 2
02, data format 203 is specified.

【0032】(ステップ804)アダプタ情報作成プロ
グラム128を使用してアダプタ情報127を作成す
る。作成方法については後述する。
(Step 804) The adapter information 127 is created using the adapter information creation program 128. The creation method will be described later.

【0033】(ステップ805)マッピング部品情報作
成プログラム130を使用してマッピング部品情報12
9を作成する。作成方法については後述する。
(Step 805) The mapping part information 12 is created by using the mapping part information creation program 130.
9 is created. The creation method will be described later.

【0034】図9に、ステップ801で作成するワーク
フロー定義103の例を示す。図中で見積901、課長
審査903、部長審査904、発注906は作業を表
す。902、905はそれぞれ分岐ノード、先着ノード
と呼ばれる特別なノード(ワークフロー定義103上で
特定の機能を表す実体)である。分岐ノード902は、
実行時の条件判定結果によって次に課長審査903に遷
移するか部長審査作業904に遷移するかを変えること
ができるノードである。ここで指定する条件902で
は、「見積作業901のアダプタ107の出力データ2
04のデータ項目名202の単価($)の値が1000
を超える場合は部長審査作業904を、超えない場合は
課長審査作業903を起動する」のようにデータ形式情
報125やアダプタ情報127の項目名を使用すること
ができる。先着ノード905では、直前の複数の作業の
うちの一つが終了した場合に次の作業906を起動す
る。
FIG. 9 shows an example of the workflow definition 103 created in step 801. In the figure, an estimate 901, a section manager examination 903, a section manager examination 904, and an order 906 represent work. Reference numerals 902 and 905 denote special nodes (entities representing specific functions on the workflow definition 103) called branch nodes and first-arrival nodes, respectively. The branch node 902 is
It is a node that can change whether to transition to the next section manager examination 903 or to the section manager examination work 904 depending on the condition judgment result at the time of execution. In the condition 902 specified here, “output data 2 of the adapter 107 of the estimation work 901
The value of the unit price ($) of the data item name 202 of 04 is 1000
In this case, the item name of the data format information 125 and the adapter information 127 can be used. The first node 905 starts the next task 906 when one of a plurality of tasks immediately before is completed.

【0035】図10はアダプタ情報作成プログラム12
8を使用してアダプタ情報127を作成する場合の処理
の概要を示したものである。この時点で既にアプリケー
ション、アダプタとワークフロー定義103とデータ形
式情報125が作成されているとする。
FIG. 10 shows an adapter information creation program 12.
8 shows an outline of a process when the adapter information 127 is created by using the G.8. At this point, it is assumed that the application, adapter, workflow definition 103, and data format information 125 have already been created.

【0036】(ステップ1001)アダプタ名を指定す
る。ここで指定するアダプタ名は、作成されたアダプタ
のものでなければならない。
(Step 1001) An adapter name is specified. The adapter name specified here must be that of the created adapter.

【0037】(ステップ1002)アダプタを関連付け
る作業名を指定する。ここで指定する作業名は、ワーク
フロー定義103に存在するものでなければならない。
(Step 1002) A work name to be associated with the adapter is specified. The work name specified here must exist in the workflow definition 103.

【0038】(ステップ1003)アダプタの出力デー
タ識別子305を指定する。ここで指定する識別子名
は、データ形式情報125に存在するものでなければな
らない。
(Step 1003) The output data identifier 305 of the adapter is specified. The identifier name specified here must exist in the data format information 125.

【0039】(ステップ1004)アダプタを関連付け
る作業が先着ノードの手前にある場合はステップ100
6に、無い場合はステップ1005に進む。
(Step 1004) If the operation for associating the adapter is located before the first-arrival node, Step 100
If no, go to step 1005.

【0040】(ステップ1005)出力データ格納エリ
ア名306を指定する。他の出力データ格納エリア名と
重複しないように指定する必要がある。
(Step 1005) The output data storage area name 306 is specified. It must be specified so that it does not overlap with other output data storage area names.

【0041】(ステップ1006)先着ノードの手前の
他の作業に関連付けられたアダプタがアダプタ情報12
7内に既に存在し、かつそのアダプタに出力データ格納
エリア名306が定義されている場合はステップ100
7に、そうでない場合はステップ1005に進む。
(Step 1006) The adapter associated with the other work before the first-arrival node is the adapter information 12
7, the output data storage area name 306 is defined in the adapter and the output data storage area name 306 is defined.
Otherwise, go to step 1005.

【0042】(ステップ1007)先着ノードの手前の
他の作業に関連付けられたアダプタの出力データ格納エ
リア名306を、今定義中のアダプタの出力データ格納
エリア名306として使用する。
(Step 1007) The output data storage area name 306 of the adapter associated with the other work before the first-arrival node is used as the output data storage area name 306 of the adapter currently being defined.

【0043】(ステップ1008)アダプタ情報127
中に出力データ格納エリア名306が定義されていない
アダプタがある場合はステップ1001に戻り、無い場
合はステップ1009に進む。
(Step 1008) Adapter information 127
If there is an adapter for which the output data storage area name 306 is not defined, the process returns to step 1001; otherwise, the process proceeds to step 1009.

【0044】(ステップ1009)アダプタ名を指定す
る。ここで指定するアダプタ名は、作成されたアダプタ
のものでなければならない。
(Step 1009) An adapter name is specified. The adapter name specified here must be that of the created adapter.

【0045】(ステップ1010)アダプタの入力デー
タ識別子305を指定する。ここで指定する識別子名
は、データ形式情報125に存在するものでなければな
らない。
(Step 1010) The input data identifier 305 of the adapter is specified. The identifier name specified here must exist in the data format information 125.

【0046】(ステップ1011)アダプタが関連付け
られている作業の手前の作業と関連付けられているアダ
プタの出力データ格納エリア名306を、今定義中のア
ダプタの入力データ格納エリア名303として使用す
る。
(Step 1011) The output data storage area name 306 of the adapter associated with the work before the work associated with the adapter is used as the input data storage area name 303 of the adapter that is being defined.

【0047】(ステップ1012)アダプタ情報127
中に入力データ格納エリア名306が定義されていない
アダプタがある場合はステップ1009に戻り、無い場
合は処理を終了する。
(Step 1012) Adapter information 127
If there is an adapter for which the input data storage area name 306 is not defined, the process returns to step 1009; otherwise, the process ends.

【0048】図11はマッピング部品作成プログラム1
30を使用してマッピング部品情報129を作成する場
合のユーザの操作の概要を示したものである。
FIG. 11 shows a mapping part creation program 1
30 shows an outline of a user's operation when creating the mapping component information 129 by using the H.30.

【0049】(ステップ1101)これからマッピング
を定義する変換元のデータと変換先のデータを指定す
る。この時、変換元のデータはあるアダプタの出力デー
タ、変換先のデータはあるアダプタの入力データであ
り、これら2つのアダプタに関連付けられた作業は隣り
合っている必要がある。
(Step 1101) The source data and the destination data for which mapping is to be defined are specified. At this time, the conversion source data is output data of a certain adapter, the conversion destination data is input data of a certain adapter, and the work associated with these two adapters needs to be adjacent.

【0050】(ステップ1102)マッピング部品情報
129の中に、1101で指定されたものと全く同じ変
換元データ識別子402と変換先データ識別子403を
持つマッピング部品405があるかどうかを調べる。見
つかった場合は処理を終了する。見つからなかった場合
はステップ1103に進む。
(Step 1102) It is checked whether or not the mapping component information 129 includes a mapping component 405 having the same conversion source data identifier 402 and conversion destination data identifier 403 as those specified in 1101. If found, the process ends. If not found, the process proceeds to step 1103.

【0051】(ステップ1103)マッピング部品40
5の対応関係404を新たに作成する。ここで作成され
たマッピング部品405をマッピング部品情報129に
加えて処理を終了する。
(Step 1103) Mapping component 40
5 is newly created. The mapping component 405 created here is added to the mapping component information 129, and the process ends.

【0052】図12は、図9のワークフロー定義103
にアダプタ、マッピング部品を割り当てた様子を示した
ものである。図12を使用して、マッピング部品405
の作成方法を示す。
FIG. 12 shows the workflow definition 103 of FIG.
FIG. 2 shows a state in which an adapter and a mapping component are assigned to the. Using FIG. 12, the mapping component 405
Here is how to create it.

【0053】図12で、ワークフロー定義103、アダ
プタ107、113、307、308、アプリケーショ
ン111、117、1201、1202とアダプタの入
出力データ205、206、207、208、209が
既に作成または定義されているとする。まず、見積もり
アダプタ107の出力データ205を変換元データ、課
長審査アダプタ113の入力データ206を変換先デー
タとするマッピング部品405を作成する。ここでは対
応関係404を作成する。次に課長審査アダプタ113
の出力データ205を変換元データ、発注アダプタ30
8の入力データ208を変換先データとするマッピング
部品406を作成する。次に見積もりアダプタ107の
出力データ205を変換元データ、部長審査アダプタ3
07の入力データ206を変換先データとするマッピン
グ部品を作成するが、ここでは変換元データ識別子40
2と変換先データ識別子403が一致するマッピング部
品405が既に存在するため、対応関係404を新たに
作成する必要はない。最後に部長審査アダプタ307の
出力データ209を変換元データ、発注アダプタ308
の入力データ208を変換先データとするマッピング部
品407を新規に作成する。このように、同じ変換元デ
ータと変換先データを持つマッピング部品の作成は1回
行うだけで済む。
In FIG. 12, the workflow definition 103, the adapters 107, 113, 307, 308, the applications 111, 117, 1201, 1202 and the input / output data 205, 206, 207, 208, 209 of the adapter have already been created or defined. Suppose you have First, a mapping component 405 is created in which the output data 205 of the estimation adapter 107 is the conversion source data and the input data 206 of the section manager examination adapter 113 is the conversion destination data. Here, the correspondence 404 is created. Next, section manager examination adapter 113
Output data 205 is converted source data, order adapter 30
Then, a mapping component 406 with the input data 208 of No. 8 as the conversion destination data is created. Next, the output data 205 of the estimation adapter 107 is converted to the conversion source data,
07 is created using the input data 206 of “07” as the conversion destination data.
Since there is already a mapping component 405 in which the conversion destination data identifier 403 matches 2, there is no need to newly create the correspondence 404. Finally, the output data 209 of the manager review adapter 307 is converted into the conversion source data and the order adapter 308.
A mapping component 407 is newly created using the input data 208 as the conversion destination data. Thus, the creation of the mapping component having the same conversion source data and conversion destination data need only be performed once.

【0054】図12では更に、システム実行時に課長審
査作業903が起動される場合と部長審査作業904が
起動される場合で、使用されるマッピング部品が異なっ
ている。以下に、使用するマッピング部品の選択方法を
示す。
Further, in FIG. 12, the mapping components used are different between the case where the section manager examination work 903 is activated at the time of executing the system and the case where the section manager examination work 904 is activated. Hereinafter, a method of selecting a mapping component to be used is described.

【0055】見積アダプタの出力データ204として、
「見積部品名=部品A、ロット数=200、単価($)=500」
というデータが出力されたとする。この時、データ管理
サーバ118のデータ入出力部123によって、データ
格納エリア名Pの領域にはデータの値として「部品A、20
0、500」という値が格納される。分岐ノード902にお
ける条件がさきほど言及したものであったとすると、こ
の後、分岐ノード902の条件判定により課長審査作業
903が起動される。課長審査アダプタ113の出力結
果は、データ管理サーバ118のデータ入出力部123
によってデータ格納エリアQに例えば504のように格
納される。次に発注作業906が起動され、データ管理
サーバ118のマッピング部品情報取得部124に変換
先データ識別子403として識別子Eが送られる。変換
元データ識別子にはデータ入出力部123がデータ格納
エリア131から取得したデータ識別子Cが送られるた
め、マッピング部品情報取得部124はマッピング部品
情報の検索結果としてマッピング部品406を取得して
データ変換部120に送る。
As output data 204 of the quote adapter,
"Estimated part name = part A, lot number = 200, unit price ($) = 500"
Is output. At this time, the data input / output unit 123 of the data management server 118 stores “parts A, 20” as data values in the area of the data storage area name P.
0, 500 "is stored. Assuming that the condition in the branch node 902 is the one mentioned earlier, the section manager examination work 903 is started by the condition determination of the branch node 902. The output result of the section manager examination adapter 113 is output to the data input / output unit 123 of the data management server 118.
Is stored in the data storage area Q as 504, for example. Next, the ordering work 906 is started, and the identifier E is sent to the mapping component information acquisition unit 124 of the data management server 118 as the conversion destination data identifier 403. Since the data identifier C obtained by the data input / output unit 123 from the data storage area 131 is sent to the conversion source data identifier, the mapping component information obtaining unit 124 obtains the mapping component 406 as a search result of the mapping component information and performs data conversion. Send to section 120.

【0056】次に、見積アダプタの出力データ204と
して、「見積部品名=部品B、ロット数=50、単価($)=
1100」というデータが出力されたとする。図13はこの
場合のデータ格納エリア131の全ての項目に値が格納
された状態を示したものである。ここでは、データ格納
エリア131のデータ格納エリア名Pには1301のよ
うな値が格納される。分岐ノード902の条件判定によ
り今度は部長審査作業904が起動される。部長審査ア
ダプタ307の出力結果は、データ管理サーバ118の
データ入出力部123によってデータ格納エリアQに例
えば1302のように格納される。この時、マッピング
部品情報取得部124には変換元データ識別子402と
して識別子D、変換先データ識別子403として識別子E
が送られるため、マッピング部品407が選択されてデ
ータ変換部120に送られる。このように、本発明を適
用すれば使用するマッピングが実行時に変わるようなシ
ステムを実現することができる。
Next, as output data 204 of the quote adapter, “quote part name = part B, lot number = 50, unit price ($) =
It is assumed that data "1100" is output. FIG. 13 shows a state in which values are stored in all items of the data storage area 131 in this case. Here, a value such as 1301 is stored in the data storage area name P of the data storage area 131. By the condition determination of the branch node 902, the manager examination work 904 is started this time. The output result of the manager review adapter 307 is stored in the data storage area Q by the data input / output unit 123 of the data management server 118, for example, as 1302. At this time, the mapping component information acquisition unit 124 has the identifier D as the conversion source data identifier 402 and the identifier E as the conversion destination data identifier 403.
Is sent, the mapping component 407 is selected and sent to the data conversion unit 120. Thus, by applying the present invention, it is possible to realize a system in which the mapping used changes at the time of execution.

【0057】以上説明したように複数のアプリケーショ
ンが実行されるシステムの開発段階において作成したマ
ッピングを部品として蓄積していくことにより、同一の
マッピングを何度も作成する手間を省くことができ、開
発期間を短縮することができる。また、アプリケーショ
ンとデータの受け渡し、データの変換があるシステムに
おいて、アプリケーションの実行結果によってデータの
変換方法が変わるような複雑なシステムを実現すること
ができる。
As described above, by accumulating mappings created in the development stage of a system in which a plurality of applications are executed as components, it is possible to save the trouble of creating the same mappings many times. The period can be shortened. Further, in a system in which data is exchanged with an application and data is converted, a complicated system in which a data conversion method changes depending on an execution result of the application can be realized.

【0058】[0058]

【発明の効果】以上説明した通り、アプリケーションプ
ログラムの実行結果を他のアプリケーションプログラム
で利用することが可能となる。
As described above, the execution result of an application program can be used by another application program.

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

【図1】本発明を適用したシステムの構成を示した図で
ある。
FIG. 1 is a diagram showing a configuration of a system to which the present invention is applied.

【図2】データ形式情報の一例を示した図である。FIG. 2 is a diagram showing an example of data format information.

【図3】アダプタ情報の一例を示した図である。FIG. 3 is a diagram illustrating an example of adapter information.

【図4】マッピング部品情報の一例を示した図である。FIG. 4 is a diagram showing an example of mapping component information.

【図5】データ格納エリアに格納された内容の一例を示
した図である。
FIG. 5 is a diagram showing an example of contents stored in a data storage area.

【図6】ネットワークにおけるメッセージの送受信の様
子を示した図である。
FIG. 6 is a diagram showing a state of transmitting and receiving a message in a network.

【図7】図6で送受信されるメッセージの一例を示した
図である。
FIG. 7 is a diagram showing an example of the message transmitted and received in FIG. 6;

【図8】ワークフロー定義作成時のユーザ操作の流れを
示した図である。
FIG. 8 is a diagram showing a flow of a user operation when creating a workflow definition.

【図9】ワークフロー定義の一例を示した図である。FIG. 9 is a diagram illustrating an example of a workflow definition.

【図10】アダプタ情報作成時のユーザ操作の流れを示
した図である。
FIG. 10 is a diagram showing a flow of a user operation when creating adapter information.

【図11】マッピング部品情報作成時のユーザ操作の流
れを示した図である。
FIG. 11 is a diagram showing a flow of a user operation when creating mapping component information.

【図12】起動するアプリケーションが実行時の条件に
よって変わるようなワークフロー定義とマッピング部品
の例を示した図である。
FIG. 12 is a diagram illustrating an example of a workflow definition and a mapping component in which an application to be started changes according to a condition at the time of execution.

【図13】データ格納エリアに格納された内容のもう一
つの例を示した図である。
FIG. 13 is a diagram showing another example of the content stored in the data storage area.

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

101、106、112…計算機、102ワークフロー
制御プログラム、103…ワークフロー定義、104…
ワークフロー定義作成プログラム、105…ネットワー
ク、107、113…アダプタ、118…データ管理サ
ーバ
101, 106, 112: Computer, 102 Workflow control program, 103: Workflow definition, 104:
Workflow definition creation program, 105: network, 107, 113: adapter, 118: data management server

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】第1のアプリケーションの実行結果を用い
て第2のアプリケーションの実行を制御するプログラム
制御方法であって、 前記第1のアプリケーションの実行結果を前記第2のア
プリケーションが使用するために、予め定義された前記
第1、第2のアプリケーション間のデータ変換方法に基
づいてデータを変換し、変換された前記実行結果を用い
て前記第2のアプリケーションを実行するプログラム制
御方法。
1. A program control method for controlling execution of a second application using an execution result of a first application, wherein the execution result of the first application is used by the second application. A program control method for converting data based on a predefined data conversion method between the first and second applications and executing the second application using the converted execution result.
【請求項2】第1のアプリケーションの実行結果を用い
て第2のアプリケーションの実行を制御するプログラム
制御システムであって、 前記第1のアプリケーションの実行結果を前記第2のア
プリケーションが使用するために、前記第1第2のアプ
リケーション間のデータの変換方法を定義したテーブル
と、前記テーブルに基づいてデータを変換する変換部
と、変換された前記実行結果を用いて前記第2のアプリ
ケーションを実行するプログラム実行部とを有するプロ
グラム制御システム。
2. A program control system for controlling execution of a second application using an execution result of a first application, wherein the execution result of the first application is used by the second application. A table defining a method for converting data between the first and second applications, a conversion unit for converting data based on the table, and executing the second application using the converted execution result A program control system having a program execution unit.
【請求項3】請求項2のプログラム制御システムにおい
て、前記変換テーブル作成時に前記データの変換方法を
部品化して再利用することができることを特徴とするプ
ログラム制御システム
3. A program control system according to claim 2, wherein said data conversion method can be made into parts and reused when said conversion table is created.
【請求項4】請求項2のプログラム制御システムにおい
て、システム実行時の処理結果に応じて使用する前記デ
ータの変換方法を変えることができることを特徴とする
プログラム制御システム。
4. The program control system according to claim 2, wherein a conversion method of the data to be used can be changed according to a processing result at the time of executing the system.
【請求項5】第1のアプリケーションの実行結果を用い
て第2のアプリケーションの実行を制御するプログラム
が記憶された記憶媒体であって、 前記第1のアプリケーションの実行結果を前記第2のア
プリケーションが使用するために、予め定義された前記
第1、第2のアプリケーション間のデータ変換方法に基
づいてデータを変換し、変換された前記実行結果を用い
て前記第2のアプリケーションを実行するプログラムが
記憶された記憶媒体。
5. A storage medium storing a program for controlling execution of a second application by using an execution result of a first application, wherein the execution result of the first application is stored in a storage medium. For use, a program for converting data based on a predefined data conversion method between the first and second applications and executing the second application using the converted execution result is stored. Storage media.
JP2000233169A 2000-07-28 2000-07-28 Program control method and program control system Pending JP2002041293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000233169A JP2002041293A (en) 2000-07-28 2000-07-28 Program control method and program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000233169A JP2002041293A (en) 2000-07-28 2000-07-28 Program control method and program control system

Publications (1)

Publication Number Publication Date
JP2002041293A true JP2002041293A (en) 2002-02-08

Family

ID=18725731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000233169A Pending JP2002041293A (en) 2000-07-28 2000-07-28 Program control method and program control system

Country Status (1)

Country Link
JP (1) JP2002041293A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011045870A1 (en) * 2009-10-16 2011-04-21 国立大学法人奈良先端科学技術大学院大学 Data relay-use rt component generation method and program for same
JP2014006628A (en) * 2012-06-22 2014-01-16 Nec Engineering Ltd Client device, client control method, and program
JP2014186576A (en) * 2013-03-25 2014-10-02 Fujitsu Ltd Data conversion managing program, data conversion managing apparatus, and data conversion managing method
JP2018073400A (en) * 2016-10-21 2018-05-10 富士通株式会社 Micro service based data processing device, method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011045870A1 (en) * 2009-10-16 2011-04-21 国立大学法人奈良先端科学技術大学院大学 Data relay-use rt component generation method and program for same
JP2014006628A (en) * 2012-06-22 2014-01-16 Nec Engineering Ltd Client device, client control method, and program
JP2014186576A (en) * 2013-03-25 2014-10-02 Fujitsu Ltd Data conversion managing program, data conversion managing apparatus, and data conversion managing method
JP2018073400A (en) * 2016-10-21 2018-05-10 富士通株式会社 Micro service based data processing device, method, and program
JP7043780B2 (en) 2016-10-21 2022-03-30 富士通株式会社 Microservices-based data processing equipment, methods and programs

Similar Documents

Publication Publication Date Title
US7089568B2 (en) Program control method, computer system, control program, and storage medium storing the control program
JP3090435U (en) A system for creating, executing, and maintaining business-to-business processes
US6954932B2 (en) Program control system and program control method
MX2007015887A (en) Data centric workflows.
US20030140058A1 (en) Method and apparatus for sharing information between applications using common objects
JP2002259643A (en) Business process control program
JP4336363B2 (en) Business process execution method, business process execution system, and program
JPH05113963A (en) Job state display system
JPH1127285A (en) Network management system and recording medium
JP2002041293A (en) Program control method and program control system
JPH09107387A (en) Protocol conversion gateway system
JPH08314872A (en) Cooperative processing method among application programs
EP1697834B1 (en) Data processing system and method
JPH1185694A (en) Inter-server link job operating system
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
JP2002132503A (en) Definition method of data linkage in workflow control system and process data control system
EP1850227A1 (en) Data processing system and metod for providing a status management service
JP2001337935A (en) Application wrapping method in dispersed object environment, its communication management device, and recording medium
CN111324655B (en) Data subscription method based on differential data extraction in distributed simulation
KR20000033961A (en) Apparatus for open architecture service component integration for intelligent network service and control method
JPH0574860B2 (en)
JP3741561B2 (en) Simple agent creation apparatus and simple agent creation method
JPH05303484A (en) Data linking system
JPH10187510A (en) Method and device for shifting data base
JP2001184200A (en) Method and device for generating application framework and computer readable recording medium storing application framework generation program