JP2878159B2 - Transaction processing system - Google Patents

Transaction processing system

Info

Publication number
JP2878159B2
JP2878159B2 JP7220427A JP22042795A JP2878159B2 JP 2878159 B2 JP2878159 B2 JP 2878159B2 JP 7220427 A JP7220427 A JP 7220427A JP 22042795 A JP22042795 A JP 22042795A JP 2878159 B2 JP2878159 B2 JP 2878159B2
Authority
JP
Japan
Prior art keywords
output
input
transaction
data
processing
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.)
Expired - Fee Related
Application number
JP7220427A
Other languages
Japanese (ja)
Other versions
JPH0962548A (en
Inventor
順子 篠原
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.)
CHUGOKU NIPPON DENKI SOFUTOEA KK
Original Assignee
CHUGOKU NIPPON DENKI SOFUTOEA KK
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 CHUGOKU NIPPON DENKI SOFUTOEA KK filed Critical CHUGOKU NIPPON DENKI SOFUTOEA KK
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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、UNIX(UNI
Xは登録商標)上のトランザクション処理システムに関
し、特にトランザクション処理におけるデータの入出力
制御方式に関する。
[0001] The present invention relates to UNIX ( UNIX ).
X relates to a transaction processing system on a registered trademark , and more particularly to a data input / output control method in transaction processing.

【0002】[0002]

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

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

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

【0005】[0005]

【発明が解決しようとする課題】上述した従来のUNI
X上の入出力制御方式では、入出力装置などシステム構
成が変更された場合や、構成の異る複数のコンピュータ
上で同じトランザクション処理システムを稼働させたい
場合には、アプリケーションプログラムの修正が必要に
なる。また、対象となる入出力装置の仕様に従い、複数
の処理を個々のアプリケーションプログラムに組み込む
必要がある。
The above-mentioned conventional UNI
In the input / output control method on X, when the system configuration such as the input / output device is changed, or when the same transaction processing system is to be operated on a plurality of computers having different configurations, it is necessary to modify the application program. Become. Further, it is necessary to incorporate a plurality of processes into individual application programs 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 defining a data input / output function independent of an application program and defining it on a file. .

【0007】[0007]

【課題を解決するための手段】第1の発明は、入力装置
からのデータ入力と出力装置へのデータ出力を制御する
入出力制御装置の動作を管理する機能を有しないオペレ
ーティングシステム上で稼働するデータの入出力処理を
行うトランザクション処理システムであって、トランザ
クションデータを処理コードとともに入力する該入力装
置と、該トランザクションデータを取得すると所定のフ
ォーマットに該データを編集した後入力キューに格納す
るとともに前記処理コードとともにトランザクション起
動要求を出力する入力制御部と、前記トランザクション
起動要求を受けると前記処理コードにより予め備えたト
ランザクション定義ファイルを参照し前記処理コードに
該当するアプリケーションプログラムを入出力先情報を
付加して起動するトランザクション制御部と、前記入出
力先情報に基き前記入力キューから前記トランザクショ
ンデータを読み込み読み込んだ該トランザクションデー
タに予め定められた処理を行った後該処理済のトランザ
クションデータを予め備えた出力キューに格納するとと
もにデータ出力要求を出力する前記アプリケーションプ
ログラムと、前記データ出力要求を受けて前記出力キュ
ーから前記処理済のトランザクションデータを読み出し
予め具備された出力装置に出力する出力制御部とを備え
たトランザクション処理システムにおいて、前記トラン
ザクション定義ファイルは、前記処理コードと前記トラ
ンザクションデータの入力先である前記入力キューおよ
び前記入力制御部に関する情報をキーとして、起動する
前記アプリケーションプログラムおよび出力先である前
記出力キューおよび前記出力制御部に関する情報を特定
できることを特徴とする。
A first invention is an input device.
Control data input from the device and data output to the output device
An operating system without a function to manage the operation of the input / output control device
I / O processing of data running on the operating system
A transaction processing system that performs
Input device for inputting the operation data together with the processing code.
And a predetermined file when the transaction data is obtained.
Edit the data in the format and store it in the input queue.
Together with the transaction code
An input control unit for outputting an operation request, and the transaction
When a start request is received, the processing code provides
Refer to the transaction definition file and add
Input / output destination information for the application program
A transaction control unit to be added and started;
The transaction from the input queue based on the
Transaction data
After performing a predetermined process on the transaction,
To store the transaction data in an output queue that is prepared in advance.
The application program that outputs the data output request
Program and the output queue in response to the data output request.
Read the processed transaction data from
An output control unit for outputting to an output device provided in advance.
The transaction processing system.
The transaction definition file contains the processing code and the
The input queue to which the transaction data is input
And start using the information about the input control unit as a key
Before the application program and output destination
Specify information about output queue and output control unit
It is characterized by being able to.

【0008】[0008]

【0009】[0009]

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

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

【0011】図1において、アプリケーションプログラ
ム14は、入力装置10からデータを取得し処理した
後、出力装置19に出力するトランザクション処理を行
うものとする。
In FIG. 1, it is assumed that the application program 14 performs a transaction process of acquiring data from the input device 10, 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
An input control unit 12, an output control unit 18, an input queue 11, and an output queue 17 are provided between the application program 9 and the application program 14, so that 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, a read process 15
2, a write process 153 and an end process 154 are provided.

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

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

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

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

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

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

【0019】トランザクション制御部13は、アプリケ
ーションプログラム14の起動時に、アプリケーション
プログラム14に対してトランザクション定義ファイル
16に定義されている入出力先を情報として供給する。
この情報は、アプリケーションインタフェース151、
152、153、154中で参照される。
When the application program 14 is activated, the transaction control unit 13 supplies the application program 14 with input / output destinations defined in the transaction definition file 16 as information.
This information is stored in the application interface 151,
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 application interfaces 151, 152, 153, and 154 provided by the present invention. That is, after performing the initial processing 151,
The transaction data is read in d processing 152,
Perform transaction processing. After that, the data is stored in the output queue by using the write process 153, 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 conscious of the application program.

【0021】データ出力要求107を受け取った出力制
御部18は、出力キュー17から該当データを取得し、
出力装置19の仕様に合わせて編集し、出力装置19に
出力する。
Upon receiving the data output request 107, the output control unit 18 acquires the relevant data from the output queue 17,
The data 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 of the application program, and the input / output path of the application program is defined in an external file, so that it can easily cope with a change in the system configuration. 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 an input / output control unit, and an interface with the input / output control unit is read,
By unifying instructions such as write and providing them to the application program, there is no need to incorporate complicated processing into the application program, and even when developing the application program, it is possible to design without being conscious of a specific input / output device. is there.

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

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

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

10 入力装置 11 入力キュー 12 入力制御部 13 トランザクション制御部 14 アプリケーションプログラム 151 初期処理 152 read処理 153 write処理 154 終了処理 16 トランザクション定義ファイル 17 出力キュー 18 出力制御部 19 出力装置 DESCRIPTION OF SYMBOLS 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 End processing 16 Transaction definition file 17 Output queue 18 Output control unit 19 Output device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−120105(JP,A) 特開 昭62−5640(JP,A) 特開 平4−14161(JP,A) 特開 平5−181731(JP,A) 特開 平5−250235(JP,A) 特開 平5−265820(JP,A) 特開 平5−274208(JP,A) 特開 平6−230943(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 G06F 3/14 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-5-120105 (JP, A) JP-A-65-2640 (JP, A) JP-A-4-14161 (JP, A) JP-A-5-105 181731 (JP, A) JP-A-5-250235 (JP, A) JP-A-5-265820 (JP, A) JP-A-5-274208 (JP, A) JP-A-6-230943 (JP, A) (58) Field surveyed (Int.Cl. 6 , DB name) G06F 12/00 G06F 3/14

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力装置からのデータ入力と出力装置への1. A data input from an input device and a data input to an output device.
データ出力を制御する入出力制御装置の動作を管理するManage the operation of the I / O controller that controls data output
機能を有しないオペレーティングシステム上で稼働するRun on non-functional operating systems
データの入出力処理を行うトランザクション処理システTransaction processing system that performs data input / output processing
ムであって、トランザクションデータを処理コードととTransaction data with the processing code
もに入力する該入力装置と、該トランザクションデータThe input device, and the transaction data
を取得すると所定のフォーマットに該データを編集したAnd then edit the data into a predetermined format
後入力キューに格納するとともに前記処理コードとともStored in the post-input queue and together with the processing code
にトランザクション起動要求を出力する入力制御部と、An input control unit that outputs a transaction start request to
前記トランザクション起動要求を受けると前記処理コーWhen the transaction start request is received, the processing code
ドにより予め備えたトランザクション定義ファイルを参Refers to the transaction definition file prepared in advance by
照し前記処理コードに該当するアプリケーションプログApplication program corresponding to the processing code
ラムを入出力先情報を付加して起動するトランザクショA transaction that starts a program with input / output destination information
ン制御部と、前記入出力先情報に基き前記入力キューかControl unit and the input queue based on the input / output destination information.
ら前記トランザクションデータを読み込み読み込んだ該Read the transaction data from the
トランザクションデータに予め定められた処理を行ったPerformed predetermined processing on transaction data
後該処理済のトランザクションデータを予め備えた出力Post-processed output with transaction data in advance
キューに格納するとともにデータ出力要求を出力する前Before storing in the queue and outputting the data output request
記アプリケーションプログラムと、前記データ出力要求Application program and the data output request
を受けて前記出力キューから前記処理済のトランザクシReceiving the processed transaction from the output queue
ョンデータを読み出し予め具備された出力装置に出力すOption data and output it to an output device provided in advance.
る出力制御部とを備えたトランザクション処理システムTransaction processing system having an output control unit
において、前記トランザクション定義ファイルは、前記In the transaction definition file,
処理コードと前記トランザクションデータの入力先であThe input destination of the processing code and the transaction data
る前記入力キューおよび前記入力制御部に関する情報をInformation regarding the input queue and the input control unit.
キーとして、起動する前記アプリケーションプログラムThe application program to be started as a key
および出力先である前記出力キューおよび前記出力制御And the output queue as the output destination and the output control
部に関する情報を特定できることを特徴とするトランザTranslator characterized by the ability to specify information about a part
クション処理システム。Action processing system.
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 JPH0962548A (en) 1997-03-07
JP2878159B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4710380B2 (en) * 2005-03-31 2011-06-29 日本電気株式会社 Distributed processing system and distributed processing method

Also Published As

Publication number Publication date
JPH0962548A (en) 1997-03-07

Similar Documents

Publication Publication Date Title
JP3265131B2 (en) Event generation distribution method
JPH07504054A (en) Programming model for coprocessors in computer systems
JP3173361B2 (en) Computer system
JPH07200312A (en) Digital data processing system and error processing method
JP2878159B2 (en) Transaction processing system
JP3449256B2 (en) Method and apparatus for creating client / server application and information recording medium
US6085264A (en) Accounting-information outputting device
JP3660083B2 (en) Task margin analysis device, task margin analysis method, and recording medium storing task margin analysis program
JP2766210B2 (en) File list extraction method and device
JP2659264B2 (en) Command option specification processor
JP2950053B2 (en) Computer monitoring method
JP2012118812A (en) Information processing apparatus, control method and program
CN117742700A (en) Automatic operation execution method, device, apparatus, medium, and program product
JP2000163354A (en) Data processing system and disk controller
JPH07219747A (en) System for installing software
JPH05120279A (en) External character pattern control method for spool system
JP2005339042A (en) Information processing device, system, method, and program
JPH07319833A (en) Remote command system
JPH0619746B2 (en) Information processing equipment
JPH0370077A (en) Back-up system for cad user
JPH05151285A (en) Network environment type cad system
JPH04305733A (en) System forming method
JPH0795296B2 (en) Information sharing processing method in data processing system
JPH01136236A (en) System for editing, analyzing and executing program
JPH1040160A (en) Hypermedia data processor

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