JPH0962548A - Transaction processing system - Google Patents

Transaction processing system

Info

Publication number
JPH0962548A
JPH0962548A JP7220427A JP22042795A JPH0962548A JP H0962548 A JPH0962548 A JP H0962548A JP 7220427 A JP7220427 A JP 7220427A JP 22042795 A JP22042795 A JP 22042795A JP H0962548 A JPH0962548 A JP H0962548A
Authority
JP
Japan
Prior art keywords
transaction
input
output
data
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7220427A
Other languages
Japanese (ja)
Other versions
JP2878159B2 (en
Inventor
Junko Shinohara
順子 篠原
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP7220427A priority Critical patent/JP2878159B2/en
Publication of JPH0962548A publication Critical patent/JPH0962548A/en
Application granted granted Critical
Publication of JP2878159B2 publication Critical patent/JP2878159B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a transaction processing system, with which the change of input/output device can be flexibly dealt with, on NUIX. SOLUTION: Concerning an application program 14, transaction data are read from an input queue 11 by a unified interface based on input/output destination information provided from a transaction control part 13, processed, stored in an output queue 17 later and outputted through an output control part 18 to an output device 19. When the transaction data are inputted from an input device 10, with a transaction processing code and the input destination as keys, the transaction control part 13 extracts the input/output destination information from a transaction definition file 16 and outputs it to the application program.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、UNIX上のトラ
ンザクション処理システムに関し、特にトランザクショ
ン処理におけるデータの入出力制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a UNIX transaction processing system, and more particularly to a data input / output control system in transaction processing.

【0002】[0002]

【従来の技術】従来、広く知られているデータ処理シス
テム、即ち、入力装置からのデータ入力と出力装置への
データ出力を制御する入出力制御装置、および入出力装
置と入出力制御装置の動作を管理する処理装置を有する
データ処理システムは、汎用ホストコンピュータにおい
ては様々な形態で実現されてきた。例えば、汎用コンピ
ュータにおける入出力制御方式の一例として、特開昭6
2−5460号公報に詳述されている入出力制御方式で
は、ハードウェアの駆動と制御を行う入出力制御プログ
ラムと、アプリケーションプログラムの実行を行う実行
制御プログラムを有するオペレーティングシステムにお
いて、入出力プログラムが提供するハードウェアアクセ
スのための入口を統一化し、同時に入出力制御プログラ
ムの入口登録、実行、追加、削除を管理する入出力制御
管理プログラムを設けることにより、ハードウェアの追
加、削除、変更に伴うアプリケーションプログラムの変
更を最小限に抑えていた。
2. Description of the Related Art Conventionally well-known data processing systems, that is, an input / output control device for controlling data input from an input device and data output to an output device, and operation of the input / output device and the input / output control device. A data processing system having a processing device for managing the above has been realized in various forms in a general-purpose host computer. For example, as an example of an input / output control system in a general-purpose computer, Japanese Patent Laid-Open No.
In the input / output control method described in detail in Japanese Patent Laid-Open No. 2-5460, an input / output program is provided in an operating system having an input / output control program for driving and controlling hardware and an execution control program for executing an application program. With the addition, deletion, and modification of hardware by unifying the entrance for hardware access to be provided and at the same time by providing the input / output control management program that manages entrance registration, execution, addition, and deletion of the input / output control program The changes to the application program were kept to a minimum.

【0003】一方、UNIXは、従来、主に技術系のア
プリケーションプログラムを中心に普及してきたオペレ
ーティングシステムであったが、近年、特定のメーカに
依存しない公開された規格を持つことや、優れたユーザ
インタフェースを持つこと、さらにC言語で記述されて
いるため移植性が良いなどの理由から注目され、汎用ホ
ストコンピュータ上で行っていたデータ処理システムを
UNIX上に移植することが行われるようになってき
た。
On the other hand, UNIX has been an operating system which has been popularized mainly by technical application programs in the past, but in recent years, it has an open standard that does not depend on a specific manufacturer, and an excellent user. It has attracted attention because it has an interface, and because it is written in C language, it has good portability, and the data processing system that was used on a general-purpose host computer is now being ported to UNIX. It was

【0004】しかし、UNIXでは、上述したような入
出力制御プログラムやアプリケーションプログラムを駆
動する仕組はオペレーティングシステムからは提供され
ておらず、データの入出力を行う場合は、対象となる入
出力装置、例えば、ファイル、データベース、ネットワ
ーク上の他のコンピュータ等を特定した上でアプリケー
ション毎に入出力処理を組み込む必要があった。このた
め、システム構成の変更や入出力装置の仕様の変更に対
応するためには、アプリケーションプログラムの修正が
必要であった。
However, in UNIX, the mechanism for driving the input / output control program and the application program as described above is not provided by the operating system, and when inputting / outputting data, the target input / output device, For example, it was necessary to specify a file, a database, another computer on the network, etc., and then incorporate an input / output process for each application. Therefore, it is necessary to modify the application program in order to cope with the system configuration change and the input / output device specification change.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のUNI
X上の入出力制御方式では、入出力装置などシステム構
成が変更された場合や、構成の異る複数のコンピュータ
上で同じトランザクション処理システムを稼働させたい
場合には、アプリケーションプログラムの修正が必要に
なる。また、対象となる入出力装置の仕様に従い、複数
の処理を個々のアプリケーションプログラムに組み込む
必要がある。
DISCLOSURE OF THE INVENTION The above-mentioned conventional UNI
With the I / O control method on X, if the system configuration such as I / O device is changed or if you want to run the same transaction processing system on multiple computers with different configurations, you need to modify the application program. Become. Further, it is necessary to incorporate a plurality of processes into each application program according to the specifications of the target input / output device.

【0006】本発明の目的は、データ入出力機能をアプ
リケーションプログラムから独立させ、ファイル上に定
義することにより、入出力装置の変更に柔軟に対応でき
るトランザクション処理システムをUNIX上で実現す
ることである。
An object of the present invention is to realize a transaction processing system on UNIX which can flexibly cope with a change of an input / output device by making a data input / output function independent from an application program and defining it on a file. .

【0007】[0007]

【課題を解決するための手段】第1の発明は、UNIX
上で稼働するデータの入出力処理を行うトランザクショ
ン処理システムにおいて、トランザクションデータを処
理コードとともに入力する入力装置と、該トランザクシ
ョンデータを取得すると所定のフォーマットに該データ
を編集した後入力キューに格納するとともに前記処理コ
ードとともにトランザクション起動要求を出力する入力
制御部と、前記トランザクション起動要求を受けると前
記処理コードにより予め備えたトランザクション定義フ
ァイルを参照し前記処理コードに該当するアプリケーシ
ョンプログラムを入出力先情報を付加して起動するトラ
ンザクション制御部と、前記入出力先情報に基き前記入
力キューから前記トランザクションデータを読み込み読
み込んだ該トランザクションデータに予め定められた処
理を行った後該処理済のトランザクションデータを予め
備えた出力キューに格納するとともにデータ出力要求を
出力する前記アプリケーションプログラムと、前記デー
タ出力要求を受けて前記出力キューから前記処理済のト
ランザクションデータを読み出し予め具備された出力装
置に出力する出力制御部とを備えたことを特徴とする。
SUMMARY OF THE INVENTION A first invention is UNIX.
In a transaction processing system that performs input / output processing of data that operates above, an input device that inputs transaction data together with a processing code, and when the transaction data is acquired, the data is edited in a predetermined format and then stored in an input queue. An input control unit that outputs a transaction activation request together with the processing code, and upon receiving the transaction activation request, refers to a transaction definition file provided in advance by the processing code and adds an input / output destination information to an application program corresponding to the processing code. And a transaction control unit to be activated, and based on the input / output destination information, reads the transaction data from the input queue and performs a predetermined process on the transaction data. An application program for storing completed transaction data in an output queue provided in advance and outputting a data output request, and an output device provided in advance for reading the processed transaction data from the output queue in response to the data output request And an output control unit for outputting to.

【0008】また、第2の発明は第1の発明において、
前記トランザクション定義ファイルは、前記処理コード
と前記トランザクションデータの入力先である前記入力
キューおよび前記入力制御部に関する情報をキーとし
て、起動する前記アプリケーションプログラムおよび出
力先である前記出力キューおよび前記出力制御部に関す
る情報を特定できることを特徴とする。
The second invention is the same as the first invention,
The transaction definition file uses the information about the input queue and the input control unit, which are the input destination of the processing code and the transaction data, as a key, the application program to be activated, and the output queue and the output control unit which are the output destinations. It is characterized by being able to specify information regarding.

【0009】[0009]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0010】図1は本発明のトランザクション処理シス
テムの一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the transaction processing system of the present invention.

【0011】図1において、アプリケーションプログラ
ム14は、入力装置10からデータを取得し処理した
後、出力装置19に出力するトランザクション処理を行
うものとする。
In FIG. 1, the application program 14 is assumed to perform transaction processing for acquiring data from the input device 10 and processing the data, and then outputting the data to the output device 19.

【0012】本実施例では、入力装置10、出力装置1
9とアプリケーションプログラム14との間に入力制御
部12、出力制御部18、入力キュー11、出力キュー
17を設け、アプリケーションプログラム14からは直
接入出力装置に対してアクセスしない構成となってい
る。入出力制御部12、18にアクセスするために、ア
プリケーションプログラム14には、統一されたインタ
フェースとして、初期処理151、read処理15
2、write処理153、終了処理154が提供され
ている。
In this embodiment, the input device 10 and the output device 1
The input control unit 12, the output control unit 18, the input queue 11, and the output queue 17 are provided between the application program 14 and the application program 14, and the application program 14 does not directly access the input / output device. In order to access the input / output control units 12 and 18, the application program 14 includes an initial process 151 and a read process 15 as a unified interface.
2. A write process 153 and an end process 154 are provided.

【0013】アプリケーションプログラム14は、全て
トランザクション制御部13から起動されるようになっ
ており、アプリケーションプログラム14の起動に必要
な情報はトランザクション定義ファイル16に定義され
ている。
The application programs 14 are all activated by the transaction control unit 13, and the information necessary for activating the application programs 14 is defined in the transaction definition file 16.

【0014】次に、データの流れにそって、本実施例の
動作を説明する。
Next, the operation of this embodiment will be described according to the flow of data.

【0015】入力装置10では、発生したトランザクシ
ョンデータに、そのトランザクションデータが処理され
るべきコード(以下、トランザクションコードと称す)
を付加する。
In the input device 10, the generated transaction data has a code by which the transaction data should be processed (hereinafter referred to as a transaction code).
Is added.

【0016】入力制御部12は、入力装置10からトラ
ンザクションデータを取得し、アプリケーションプログ
ラムの入力データフォーマットにデータを編集した後、
入力キュー11に格納する。この時、必要ならばコード
変換などのデータ加工処理を行う。
The input control unit 12 acquires the transaction data from the input device 10, edits the data into the input data format of the application program, and then
Stored in the input queue 11. At this time, if necessary, data processing such as code conversion is performed.

【0017】入力装置から取得されるデータにはトラン
ザクションコードが含まれているので、入力制御部12
はそのコードを取り出し、トランザクション起動要求1
02としてトランザクション制御部13に通知する。
Since the data acquired from the input device includes the transaction code, the input control unit 12
Retrieves the code and requests transaction activation 1
02 is sent to the transaction control unit 13.

【0018】トランザクション制御部13では、トラン
ザクション起動要求102を受けとると、それに基いて
トランザクション定義ファイル16を参照し、該当する
アプリケーションプログラム14を起動する。トランザ
クション定義ファイル16には、トランザクションコー
ドとトランザクションデータの入力先(入力制御部1
2,入力キュー11)、アプリケーションプログラム
名、トランザクションデータの出力先(出力制御部1
8、出力キュー17)等が定義されており、トランザク
ションコード、トランザクションデータの入力先をキー
として、起動するアプリケーションプログラムとその入
出力先が特定できるように定義されている。
Upon receipt of the transaction activation request 102, the transaction control unit 13 refers to the transaction definition file 16 based on the transaction activation request 102 and activates the corresponding application program 14. The transaction definition file 16 includes a transaction code and transaction data input destination (input control unit 1
2, input queue 11), application program name, transaction data output destination (output control unit 1
8, output queue 17) and the like are defined so that the application program to be started and its input / output destination can be specified by using the input destination of the transaction code and the transaction data as a key.

【0019】トランザクション制御部13は、アプリケ
ーションプログラム14の起動時に、アプリケーション
プログラム14に対してトランザクション定義ファイル
16に定義されている入出力先を情報として供給する。
この情報は、アプリケーションインタフェース151、
152、153、154中で参照される。
The transaction control unit 13 supplies the input / output destination defined in the transaction definition file 16 to the application program 14 as information when the application program 14 is started.
This information is stored in the application interface 151,
Referenced in 152, 153, 154.

【0020】アプリケーションプログラム14では、本
発明により提供されるアプリケーションインタフェース
151、152、153、154を介してデータ入出力
処理を行う。即ち、初期処理151を行った後、rea
d処理152にてトランザクションデータを読み込み、
トランザクション処理を行う。その後、write処理
153を使用することにより出力キューにデータを格納
した後、出力制御部18にデータ出力要求107を送付
する。データの入出力先は、アプリケーションインタフ
ェース中に保持しているため、アプリケーションプログ
ラムからは全く意識する必要がない。
The application program 14 performs data input / output processing via the application interfaces 151, 152, 153, 154 provided by the present invention. That is, after performing the initial processing 151,
Transaction data is read in d process 152,
Perform transaction processing. Thereafter, the write process 153 is used to store the data in the output queue, and then the data output request 107 is sent to the output control unit 18. Since the data input / output destination is held in the application interface, there is no need to be aware of it from the application program.

【0021】データ出力要求107を受け取った出力制
御部18は、出力キュー17から該当データを取得し、
出力装置19の仕様に合わせて編集し、出力装置19に
出力する。
The output control unit 18, which has received the data output request 107, acquires the corresponding data from the output queue 17,
It is edited according to the specifications of the output device 19 and output to the output device 19.

【0022】[0022]

【発明の効果】以上説明したように、本発明は、アプリ
ケーションプログラムから入出力処理を独立させ、アプ
リケーションプログラムの入出力経路を外部のファイル
に定義することにより、システムの構成の変化に容易に
対応できる効果がある。また、構成の異なる複数のコン
ピュータ上で同じトランザクション処理システムを稼働
させる場合でも、ファイルに記述されているトランザク
ション処理定義を変更するだけでよいので、システムの
保守を容易にできる効果もある。
As described above, according to the present invention, the input / output processing is made independent from the application program, and the input / output path of the application program is defined in an external file, so that the system configuration can be easily changed. There is an effect that can be done. Further, even when the same transaction processing system is operated on a plurality of computers having different configurations, it is only necessary to change the transaction processing definition described in the file, so that there is an effect that the system can be easily maintained.

【0023】さらに、複雑な入出力処理は入出力制御部
で行い、入出力制御部とのインタフェースをread、
writeといった命令に統一してアプリケーションプ
ログラムに提供することにより、アプリケーションプロ
グラムに複雑な処理を組み込む必要がなく、アプリケー
ションプログラムの開発時においても、特定の入出力装
置を意識しない設計が可能になる効果がある。
Further, complicated input / output processing is performed by the input / output control unit, and the interface with the input / output control unit is read,
By providing the instructions such as write to the application program in unification, it is not necessary to incorporate complicated processing into the application program, and it is possible to design without paying attention to a specific input / output device even when developing the application program. is there.

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

【図1】本発明のトランザクション処理システムの一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a transaction processing system of the present invention.

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

10 入力装置 11 入力キュー 12 入力制御部 13 トランザクション制御部 14 アプリケーションプログラム 151 初期処理 152 read処理 153 write処理 154 終了処理 16 トランザクション定義ファイル 17 出力キュー 18 出力制御部 19 出力装置 10 input device 11 input queue 12 input control unit 13 transaction control unit 14 application program 151 initial processing 152 read processing 153 write processing 154 termination processing 16 transaction definition file 17 output queue 18 output control unit 19 output device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 UNIX上で稼働するデータの入出力処
理を行うトランザクション処理システムにおいて、トラ
ンザクションデータを処理コードとともに入力する入力
装置と、該トランザクションデータを取得すると所定の
フォーマットに該データを編集した後入力キューに格納
するとともに前記処理コードとともにトランザクション
起動要求を出力する入力制御部と、前記トランザクショ
ン起動要求を受けると前記処理コードにより予め備えた
トランザクション定義ファイルを参照し前記処理コード
に該当するアプリケーションプログラムを入出力先情報
を付加して起動するトランザクション制御部と、前記入
出力先情報に基き前記入力キューから前記トランザクシ
ョンデータを読み込み読み込んだ該トランザクションデ
ータに予め定められた処理を行った後該処理済のトラン
ザクションデータを予め備えた出力キューに格納すると
ともにデータ出力要求を出力する前記アプリケーション
プログラムと、前記データ出力要求を受けて前記出力キ
ューから前記処理済のトランザクションデータを読み出
し予め具備された出力装置に出力する出力制御部とを備
えたことを特徴とするトランザクション処理システム。
1. A transaction processing system for inputting / outputting data, which operates on UNIX, and an input device for inputting transaction data together with a processing code, and after the transaction data is acquired, after editing the data into a predetermined format. An input control unit that stores a transaction activation request together with the processing code in the input queue, and, upon receiving the transaction activation request, refers to a transaction definition file provided in advance by the processing code and refers to an application program corresponding to the processing code. A transaction control unit that starts by adding the input / output destination information, and the transaction data that is read and read from the input queue based on the input / output destination information. The application program that stores the processed transaction data in a previously provided output queue after performing the processing and outputs a data output request, and the processed transaction data from the output queue upon receiving the data output request. A transaction processing system comprising: an output control unit that reads out the data and outputs the data to an output device provided in advance.
【請求項2】 前記トランザクション定義ファイルは、
前記処理コードと前記トランザクションデータの入力先
である前記入力キューおよび前記入力制御部に関する情
報をキーとして、起動する前記アプリケーションプログ
ラムおよび出力先である前記出力キューおよび前記出力
制御部に関する情報を特定できることを特徴とする請求
項1記載のトランザクション処理システム。
2. The transaction definition file is
It is possible to specify the application program to be activated and the output queue and the output control section, which are the output destinations, by using the information about the input queue and the input control section, which are the input destinations of the processing code and the transaction data, as keys. The transaction processing system according to claim 1, which is characterized in that.
JP7220427A 1995-08-29 1995-08-29 Transaction processing system Expired - Fee Related JP2878159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7220427A JP2878159B2 (en) 1995-08-29 1995-08-29 Transaction processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7220427A JP2878159B2 (en) 1995-08-29 1995-08-29 Transaction processing system

Publications (2)

Publication Number Publication Date
JPH0962548A true JPH0962548A (en) 1997-03-07
JP2878159B2 JP2878159B2 (en) 1999-04-05

Family

ID=16750951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7220427A Expired - Fee Related JP2878159B2 (en) 1995-08-29 1995-08-29 Transaction processing system

Country Status (1)

Country Link
JP (1) JP2878159B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285576A (en) * 2005-03-31 2006-10-19 Nec Corp Distributed processing system, and distributed processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285576A (en) * 2005-03-31 2006-10-19 Nec Corp Distributed processing system, and distributed processing method

Also Published As

Publication number Publication date
JP2878159B2 (en) 1999-04-05

Similar Documents

Publication Publication Date Title
US7506345B2 (en) Method and apparatus for adapting and hosting legacy user interface controls
JPH07504054A (en) Programming model for coprocessors in computer systems
JP3265131B2 (en) Event generation distribution method
JP2002024020A (en) Screen control program, dynamic display information acquisition program, screen display transaction program, screen component interface program and screen program preparing method
US7237222B1 (en) Protocol for controlling an execution process on a destination computer from a source computer
JP2004342107A (en) System and method for employing object-oriented pipeline
US7328234B1 (en) Agent architecture for triggering remotely initiated data processing operations
CN114358742A (en) Workflow execution method, device, equipment and storage medium
JPH07200312A (en) Digital data processing system and error processing method
CN100390741C (en) Program processing system, program processing method, and computer program
JPH0962548A (en) Transaction processing system
US6708271B1 (en) Interactive multi-module system having a communication manager for achieving linked operation of plurality of modules and for defining whether and how an individual module can access a particular function
JP3184121B2 (en) Command file sharing method
JP2659264B2 (en) Command option specification processor
JP2780601B2 (en) Message batch processing system
JP2950053B2 (en) Computer monitoring method
JP2002196959A (en) Database management and device
JP3435372B2 (en) Database management method and system
JP2924767B2 (en) Automatic System Generation Method for Computer System
JP2002032247A (en) Method and device for unitary controlling data processing of input/output device and data base by processing setting table
JPH05151285A (en) Network environment type cad system
JPH05181798A (en) On-line interactive processing system
JPH10301762A (en) Accessory information processor
JP2005071158A (en) Exclusive control method for file
JPH04141750A (en) Resource managing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981215

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080122

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees