JP3891128B2 - Online transaction processing system terminal definition generation / update method - Google Patents

Online transaction processing system terminal definition generation / update method Download PDF

Info

Publication number
JP3891128B2
JP3891128B2 JP2003052488A JP2003052488A JP3891128B2 JP 3891128 B2 JP3891128 B2 JP 3891128B2 JP 2003052488 A JP2003052488 A JP 2003052488A JP 2003052488 A JP2003052488 A JP 2003052488A JP 3891128 B2 JP3891128 B2 JP 3891128B2
Authority
JP
Japan
Prior art keywords
terminal
update
information
definition
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.)
Expired - Fee Related
Application number
JP2003052488A
Other languages
Japanese (ja)
Other versions
JP2004264943A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2003052488A priority Critical patent/JP3891128B2/en
Publication of JP2004264943A publication Critical patent/JP2004264943A/en
Application granted granted Critical
Publication of JP3891128B2 publication Critical patent/JP3891128B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、複数の端末を通信回線を介してホストコンピュータと接続するコンピュータシステムにおいて、端末からの要求・指示に基づくデータ(データベース内のデータ等)の更新や参照がホストコンピュータ内の業務プログラムが利用されて行われるオンライントランザクション処理システムにおける端末定義の生成および更新(追加や削除)を行うための方式(オンライントランザクション処理システム端末定義生成・更新方式)に関する。
【0002】
【従来の技術】
従来におけるこの種の技術の一例が、特許文献1に記載されている。
【0003】
この従来の技術(リアルタイムオンラインプログラムのシステム生成方式)は、図10に示すように、トランザクション定義ファイルおよび端末定義ファイルからなる定義情報ファイル101と、定義情報ファイル101から定義情報テーブル102(トランザクション定義テーブルおよび端末定義テーブル)を生成するテーブルファイル生成処理103と、リアルタイムオンラインプログラム内に組み込まれたテーブル生成機能104と、テーブル生成機能104に対しテーブル生成を指示するコマンド105と、リアルタイムオンラインプログラムがトランザクション処理に利用する定義情報テーブル106(トランザクション定義テーブルおよび端末定義テーブル)とを含んで構成されている。なお、この従来の技術におけるリアルタイムオンラインプログラムが、本発明におけるトランザクション処理システムに相当する。
【0004】
このような構成を有する従来の技術(リアルタイムオンラインプログラムのシステム生成方式)は、次のように動作する。
【0005】
すなわち、テーブルファイル生成処理103で生成された定義情報テーブル102(トランザクション定義テーブルおよび端末定義テーブル)をリアルタイムオンラインプログラム内の定義情報テーブル106(トランザクション定義テーブルおよび端末定義テーブル)に反映させるために、テーブル生成機能104は、新規のトランザクション起動を抑止し、さらに実行中のトランザクション終了を待ち合わせて、リアルタイムオンラインプログラム内で一切のトランザクション処理が行われていないタイミングをとって、当該定義情報テーブルの反映を行っていた。
【0006】
なお、本発明に関連する従来技術に係る文献としては、上記の特許文献1の他に、下記の特許文献2および特許文献3がある。以下に、これらの文献に記載された発明(技術)と本願発明との差異について言及しておく。
【0007】
特許文献2に記載された発明(オンライントランザクション処理システム)は、データ処理に利用するオンライントランザクション処理システムであり、端末に関する情報(端末構成情報)の動的変更を行うようにしたオンライントランザクション処理システムに関する技術である点で、本願発明と類似している。また、特許文献3に記載された発明(オンラインシステムにおける端末情報変更方式)も、システムの運用を中断することなくメモリ上の端末情報を変更することができるようにするための技術である点で本願発明と類似している。しかし、これらの従来技術は、追加更新用の端末情報や端末情報領域をあらかじめ設けておくという本願発明に特有の考え方(そして、その考え方を具現化するための構成)を有していない点で、本願発明とは明確に相違している。
【0008】
【特許文献1】
特開昭62−245468号公報(第1−3頁、図1)
【特許文献2】
特開平07−013928号公報(第2頁、図1、図4)
【特許文献3】
特開平08−016515号公報(第2頁、図1、図7、図10)
【0009】
【発明が解決しようとする課題】
上述した従来の技術には、次のような問題点があった。
【0010】
第1の問題点は、端末定義の追加のために新規トランザクション(リアルタイムオンラインプログラム)の起動を停止しなければならないということである。
【0011】
このような問題点が存在する理由は、本発明のように端末定義の追加用の領域(追加更新用端末情報を持つ端末情報領域)が考慮されていないので、端末定義の追加の端末定義テーブルへの反映を行う際に、トランザクションの起動を停止しなければならないためである。
【0012】
第2の問題点は、端末定義の追加を行うと端末定義テーブルのサイズが変更(拡大)されるということである。
【0013】
このような問題点が存在する理由は、追加すべき端末定義分の情報の領域(端末情報領域)が、追加前の端末定義テーブル上には確保されていないためである。
【0014】
本発明の目的は、上述の点に鑑み、すでにトランザクション処理システムに接続してトランザクションを実行している端末には影響を与えずに、新たに接続する端末の定義の追加を可能とするオンライントランザクション処理システム端末定義生成・更新方式を提供することにある。
【0015】
【課題を解決するための手段】
本発明の第1のオンライントランザクション処理システム端末定義生成・更新方式は、通信回線を介して複数の端末と接続するホストコンピュータ内の業務プログラムを利用して業務処理を行うオンライントランザクション処理システムにおいて、端末定義テーブル生成時に、すでに定義された端末の端末情報である端末名指定端末情報のための端末情報領域以外に、あらかじめ追加更新用端末情報のための端末情報領域を端末定義テーブル上に確保した上で、端末定義ファイルから端末定義テーブルを生成するテーブル生成手段と、更新コマンドを受け取り、当該更新コマンド中の更新情報に従い、トランザクション処理システム内に展開された更新対象端末定義テーブル内の該当する端末情報領域中の追加更新用端末情報を端末名指定端末情報に更新することによって新たな端末定義を追加する更新手段とを有し、特定の端末の端末名と業務名とを含む端末名指定端末情報と、更新用端末名と業務名と端末情報領域数を指定するためのCOPY情報とを含む追加更新用端末情報とが定義されている端末定義ファイルと、前記端末定義ファイル内の端末名指定端末情報および追加更新用端末情報が形式変換されて展開されるテーブルであり、その展開の際に、端末名指定端末情報については1情報について1端末情報領域が確保され、追加更新用端末情報については同一の情報についてCOPY情報の指定数分の端末情報領域が確保される端末定義テーブルとを有する。
【0016】
本発明の第2のオンライントランザクション処理システム端末定義生成・更新方式は、通信回線を介して複数の端末と接続するホストコンピュータ内の業務プログラムを利用して業務処理を行うオンライントランザクション処理システムにおいて、端末定義ファイルに定義された端末情報をトランザクション処理システムが効率的に参照可能な形式に変換して変換後の端末情報を有する端末定義テーブルを生成し、この生成の際に、端末名指定端末情報については1つの端末情報領域を端末定義テーブル中に生成し、追加更新用端末情報についてはその定義指示に従い同一内容を持つ1以上の端末情報領域を端末定義テーブル中に生成するテーブル生成手段と、トランザクション処理システムの起動時に、前記テーブル生成手段により生成された端末定義テーブルから各端末情報領域中の端末情報を読み込み、その時点において端末定義テーブルと同一内容を有する更新対象端末定義テーブルをトランザクション処理システムの内部に展開する定義テーブル展開手段と、更新コマンドを受け取り、当該更新コマンド中の更新情報に従い、前記定義テーブル展開手段によりトランザクション処理システム内に展開された更新対象端末定義テーブル内の該当する端末情報領域中の追加更新用端末情報を端末名指定端末情報に更新することによって新たな端末定義を追加する更新手段とを有し、特定の端末の端末名と業務名とを含む端末名指定端末情報と、更新用端末名と業務名と端末情報領域数を指定するためのCOPY情報とを含む追加更新用端末情報とが定義されている端末定義ファイルと、前記端末定義ファイル内の端末名指定端末情報および追加更新用端末情報が形式変換されて展開されるテーブルであり、その展開の際に、端末名指定端末情報については1情報について1端末情報領域が確保され、追加更新用端末情報については同一の情報についてCOPY情報の指定数分の端末情報領域が確保される端末定義テーブルとを有する
【0017】
本発明の第3のオンライントランザクション処理システム端末定義生成・更新方式は、第1または第2のオンライントランザクション処理システム端末定義生成・更新方式において、更新コマンド中の更新情報が、更新対象端末定義テーブル内の更新対象の端末情報領域を識別するための更新用端末名の指定と、追加される端末の端末名の指定とを有する形式である、ことを特徴とする
【0021】
【発明の実施の形態】
次に、本発明について図面を参照して詳細に説明する。
【0022】
(1) 第1の実施の形態
【0023】
図1は、本発明の第1の実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の構成を示すブロック図である。
【0024】
図1を参照すると、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式は、ホストコンピュータ100と、トランザクション処理システム200の動作環境定義ファイル(ここでは、端末に関する動作環境定義ファイル)である端末定義ファイル1と、テーブル生成手段2と、端末定義テーブル3と、更新手段5に対して与えられる更新コマンド50と、通信回線300と、通信回線300を介してホストコンピュータ100と接続する端末12,13,14,…と、業務データを格納するDB(データベース)11とを含んで構成されている。なお、端末の数が3台に限定されないことはいうまでもない。また、DB11が存在しないシステムも、理論的には考えられる(例えば、DB11内のデータを取り扱う代わりに、他のホストコンピュータにおけるデータを取り扱うことも可能である)。
【0025】
テーブル生成手段2は、端末定義ファイル1に定義された端末情報を、トランザクション処理システム200が効率的に参照可能な形式に変換して、変換後の端末情報(端末に関する定義情報)を有する端末定義テーブル3を生成する。このとき、端末定義ファイル1に明示的に端末名が指定された端末情報(端末名指定端末情報)については、そのまま1つの端末情報領域を端末定義テーブル3中に生成する。一方、追加更新用として定義された端末情報(追加更新用端末情報)については、その定義指示に従い、同一内容を持つ複数個の端末情報領域を端末定義テーブル3中に生成する。
【0026】
ホストコンピュータ100は、トランザクション処理システム200と、通信回線300を介して端末12,13,14,…と接続しメッセージ送受信の制御を行う通信制御手段10とを含んで構成されている。
【0027】
トランザクション処理システム200は、定義テーブル展開手段4と、更新手段5と、更新手段5による更新処理が行われるまでは端末定義テーブル3と同一内容を持つ更新対象端末定義テーブル6と、1以上の業務プログラム(図1の例ではAP1,AP2,…)からなる業務プログラム群7と、業務プログラム群7中の各業務プログラムを呼び出すトランザクション制御手段8と、端末12,13,14,…との接続・切断やメッセージ送受信を制御する端末制御手段9とを含んで構成されている。
【0028】
定義テーブル展開手段4は、トランザクション処理システム200の起動時に、端末定義テーブル3から定義情報(各端末情報領域中の端末情報)を読み込み、端末定義テーブル3と同一内容を有する更新対象端末定義テーブル6をトランザクション処理システム200の内部(例えば、メモリ空間上)に展開する(この時点における更新対象端末定義テーブル6の内容と端末定義テーブル3の内容とは同一である)。
【0029】
更新手段5は、更新コマンド50を受け取り、その更新コマンド50からの指示に従って、更新対象端末定義テーブル6の内容(指定された端末情報領域中の端末情報)を更新する。例えば、端末名がTRM14の端末の端末情報が定義されていない状態(いずれの端末情報領域にも端末名である「TRM14」を含む情報が設定されていない状態)で当該端末の定義を追加する場合には、更新コマンド50で、当該端末の端末情報の追加の旨とその追加において更新(変更)したい内容とを有する更新情報が指定される。更新手段5は、その更新コマンド50を解釈して、更新対象端末定義テーブル6の内容を更新する。この更新以降、当該端末の端末情報はあたかも最初から定義済みであったかのように、更新対象端末定義テーブル6内に格納されることになるため、当該端末からの接続要求が発生した場合には、その接続が許可される。
【0030】
端末制御手段9は、通信制御手段10から端末12,13,14,…のうちのある端末の接続要求が通知された場合に、その端末の端末名をキーにして更新対象端末定義テーブル6を検索し、該当する端末情報が定義済みであるか否かを確認する。そして、定義済みである場合には、その端末の接続を許可し、未定義である場合には、その端末の接続を拒否する。例えば、端末12の端末情報が定義済みである場合に、端末12の接続要求が通知されたときには、端末12の接続が許可される。
【0031】
トランザクション制御手段8は、端末12,13,14,…から受信したメッセージを業務プログラム(業務プログラム群7中のプログラム)に渡し、業務プログラムからのメッセージ送信要求を端末制御手段9に渡して端末12,13,14,…へのメッセージ送信を実現する。
【0032】
業務プログラム群7を構成する各業務プログラムは、受信したメッセージの内容に従い、適宜DB11をアクセスして業務を実行する。
【0033】
ここで、端末定義ファイル1,テーブル生成手段2,端末定義テーブル3,定義テーブル展開手段4,更新手段5,更新対象端末定義テーブル6,および更新コマンド50が、本発明を実現するための構成要素に該当する(ただし、従来技術の説明において述べたように、これらの中には従来技術においても類似した構成要素が存在するものがある)。
【0034】
図2は、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式における端末定義テーブル生成処理を示す流れ図である。この処理は、端末情報入力ステップA1と、端末情報種別判定ステップA2と、1領域確保テーブル展開ステップA3と、COPY情報指定数分領域確保テーブル展開ステップA4と、全端末情報処理終了判定ステップA5とからなる。
【0035】
図3は、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新処理(端末定義の追加処理)を示す流れ図である。この処理は、更新コマンド受け取りステップB1と、更新情報取得ステップB2と、端末情報領域識別名・端末名一致判定ステップB3と、更新情報処理終了ステップB4と、端末定義追加ステップB5と、全更新情報処理完了判定ステップB6とからなる。
【0036】
図4は、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式における端末定義テーブル生成時の具体的な動作を説明するための図である。
【0037】
図5は、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新時の具体的な動作を説明するための図である。
【0038】
次に、図1〜図5を参照して、上記のように構成された本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の全体の動作について詳細に説明する。
【0039】
初めに、本発明に関する動作の前提となるトランザクション処理システム200の概略的な動作について説明する。すなわち、トランザクション処理システム200の動作環境定義から起動までの動作と、端末接続からトランザクション実行までの動作とについて、それらの概要を説明する。
【0040】
第1に、トランザクション処理システム200の動作環境定義時の動作について説明する。なお、本実施の形態では、端末に関する動作環境定義のみが行われるものとする。ただし、端末以外の動作環境の定義が行われる場合にも本発明の適用が可能であることはいうまでもない。
【0041】
動作環境定義が行われる際には、端末定義ファイル1(一般的には、端末定義ファイル1を含む動作環境定義ファイル)が作成される。端末定義ファイル1には、トランザクション処理システム200と接続する各端末の端末情報(例えば、端末名や利用する業務名等)が定義される。
【0042】
次に、テーブル生成手段2が用いられて、上記の端末定義ファイル1から、トランザクション処理システム200で効率的に参照可能な形式の端末定義テーブル3が生成される。これによって、トランザクション処理システム200の動作環境定義が完了する。
【0043】
第2に、トランザクション処理システム200の起動時の動作について説明する。
【0044】
トランザクション処理システム200の起動時には、定義テーブル展開手段4が用いられて、端末定義テーブル3の内容がトランザクション処理システム200内(例えば、メモリ空間上)に更新対象端末定義テーブル6として展開される。
【0045】
以降、トランザクション処理システム200は、必要なときに更新対象端末定義テーブル6を参照して、各端末との接続・切断や、トランザクションメッセージの送受信の制御を行う。
【0046】
第3に、トランザクション処理システム200から端末(ここでは端末12であるものとする)への接続が行われる場合の動作について説明する。
【0047】
この場合には、トランザクション処理システム200内の端末制御手段9は、対象となる端末12の端末情報を更新対象端末定義テーブル6から取得し、通信制御手段10にその端末12に対する接続要求を行う。このとき、該当する端末12の端末情報が更新対象端末定義テーブル6上に存在しないときには、接続は失敗となる。
【0048】
通信制御手段10は、端末12を接続して、端末制御手段9に接続完了を通知する。これにより、トランザクション処理システム200から端末12への接続が完了する。
【0049】
第4に、端末(ここでは端末12であるものとする)からトランザクション処理システム200への接続が行われる場合の動作について説明する。
【0050】
この場合には、端末12からの接続要求を、通信制御手段10が、トランザクション処理システム200内の端末制御手段9に通知する。
【0051】
端末制御手段9は、接続要求を発行した端末12が更新対象端末定義テーブル6に定義されている(端末12の端末情報が存在する)か否かを確認し、定義されていなければ、通信制御手段10に対して接続拒否を通知する。
【0052】
一方、端末制御手段9は、接続要求を発行した端末12が更新対象端末定義テーブル6に定義されていれば、接続成功を通信制御手段10に通知する。これによって、端末12からトランザクション処理システム200への接続が完了する。
【0053】
第5に、トランザクション実行時の動作について説明する。ここでは、端末12からのトランザクションメッセージに基づくトランザクション実行時の動作を考えるものとする。
【0054】
端末12とトランザクション処理システム200との接続後、端末12からのトランザクションメッセージは、通信制御手段10およびトランザクション処理システム200内の端末制御手段9を介して、トランザクション制御手段8に渡される。
【0055】
トランザクション制御手段8は、業務プログラム群7中の該当する業務プログラムを呼び出して、トランザクションを実行する。
【0056】
当該業務プログラムは、端末12から受信したメッセージ内容によって、DB11の参照・更新等の業務処理を行う。
【0057】
トランザクション処理システム200の動作環境定義から、起動、端末接続、トランザクション実行までの動作は、およそ以上のように行われる。次に、以上のような動作が行われることを前提とした上で、本実施の形態、ひいては本発明に特有の特徴的な動作について説明する。
【0058】
第1に、図2および図4を用いて、テーブル生成手段2が端末定義ファイル1から端末定義テーブル3を生成する際の動作について、詳細に説明する。
【0059】
端末定義ファイル1には、端末に関する定義情報として端末情報が記述されている。この端末情報には、先にも述べたように、端末名指定端末情報と追加更新用端末情報という2種類のものが存在する。
【0060】
端末名指定端末情報は、ある特定の端末の名前(端末名)と、その端末が利用する業務(業務プログラム)の名前(業務名)とを含む情報であり、利用する端末数(端末定義テーブル生成時に確定している端末数)分だけ記述されている。例えば、図4の例では、端末名がTRM11で業務名がAP1の端末情報および端末名がTRM12で業務名がAP2の端末情報が、このような端末名指定端末情報に該当する。
【0061】
また、追加更新用端末情報は、追加更新用端末情報であることを示すための識別子(図4の例では、端末名の先頭に#を2つ続けて記述することによりこの識別子を表現している)が付加された更新用端末名(この時点で特定の端末を識別するための端末名ではなく、後に追加される端末の端末名が指定された場合に備えるための端末名)と、その端末(後に追加される端末)が利用する業務名と、当該追加更新用端末情報に対する端末情報領域(同一の情報が設定される1以上の端末情報領域)を端末定義テーブル3上にいくつ生成するかを指定するための情報であるCOPY情報とを含む端末情報である。図4の例では、更新用端末名##TM1に関する端末情報(業務名がAP2でありCOPY情報が5つ分の端末情報領域の生成を指定している端末情報)と、更新用端末名##TM2に関する端末情報(業務名がAP2でありCOPY情報が6つ分の端末情報領域の生成を指定している端末情報)とが、このような追加更新用端末情報に該当する。このように、追加更新用端末情報は、後に端末の追加を行う時に使用する端末情報領域を、あらかじめ定義テーブル生成時に確保しておくためのものであり、業務名等の記述情報(端末定義ファイル1内の各端末情報中に端末名とともに記述される内容)毎に、同一の端末情報領域をいくつ設けるかを表している。ここで、記述情報としては、本実施例における「業務名(業務プログラム名)」の他に、「コード変換テーブル名(メッセージ送受信で使用するコード変換テーブルのテーブル名)」や「IP(InternetProtocol)アドレス」等の、トランザクション処理システムの保有機能に関するいろいろな指定が考えられる(複数の記述情報の組み合わせに対して、同一の端末情報領域をいくつ設けるかを設定することも可能である)。
【0062】
テーブル生成手段2は、このような端末定義ファイル1から、トランザクション処理システム200が効率的に参照可能な形式の端末定義テーブル3を生成する。
【0063】
すなわち、テーブル生成手段2は、端末定義ファイル1内の各端末情報を順次入力し(図2のステップA1)、入力した端末情報が端末名指定端末情報であるか追加更新用端末情報であるかを判定する(ステップA2)。この判定は、例えば、当該端末情報中の端末名が特定の端末を示す端末名であるか更新用端末名であるかを判断することによって行われる。
【0064】
テーブル生成手段2は、ステップA2で「当該端末情報が端末名指定端末情報である」と判定した場合には、当該端末情報のために端末定義テーブル3上で1つの端末情報領域を確保してテーブル展開(当該端末情報領域に当該端末情報を端末定義テーブル用に形式変換した上で設定すること)を行う(ステップA3)。例えば、図4中のTRM11およびTRM12に関する端末名指定端末情報については、それぞれ1つの端末情報領域を端末定義テーブル3上に確保して、当該端末情報を形式変換した上で当該端末情報領域に設定する。
【0065】
一方、テーブル生成手段2は、ステップA2で「当該端末情報が追加更新用端末情報である」と判定した場合には、端末定義ファイル1内の当該端末情報中のCOPY情報で指定された数の端末情報領域を端末定義テーブル3上に確保してテーブル展開(それらの端末情報領域の各々に同一の当該端末情報を当該指定数分だけ端末定義テーブル用に形式変換した上で設定すること)を行う(ステップA4)。例えば、図4中の##TM1および##TM2に関する追加更新用端末情報については、各端末情報中のCOPY情報で指定された数の端末情報領域を端末定義テーブル3上に確保し、それぞれの追加更新用端末情報の内容(例えば、##TM1に関する追加更新用端末情報についての##TM1および業務名AP2)を当該各追加更新用端末情報中のCOPY情報で指定された数の端末情報領域に設定する。
【0066】
テーブル生成手段2は、ステップA3またはステップA4のテーブル展開処理が終了すると、端末定義ファイル1内の全ての端末情報に関する処理が終了したか否かを判定し(ステップA5)、「全ての端末情報に関する処理が終了していない」と判定した場合には次の端末情報についてステップA1以降の処理を繰り返す。
【0067】
一方、テーブル生成手段2は、ステップA5で「全ての端末情報に関する処理が終了した」と判定した場合には、図2に示す一連の処理を完了させる。
【0068】
以上の一連の処理の結果により、最終的には、図4中の端末定義テーブル3に示すように、TRM11およびTRM12に対する2つの端末情報領域とともに、##TM1で指定された端末情報を持つ5つの端末情報領域と、##TM2で指定された端末情報を持つ6つの端末情報領域とが生成され、合計で13の端末情報領域が端末定義テーブル3上に生成されることになる。
【0069】
第2に、図3および図5を用いて、トランザクション処理システム200内の更新対象端末定義テーブル6に端末定義(端末名指定端末情報)が追加される際の動作について、詳細に説明する。
【0070】
トランザクション処理システム200内の定義テーブル展開手段4は、上記のようにして生成された端末定義テーブル3(図4参照)を、そのままの形式で、トランザクション処理システム200内の更新対象端末定義テーブル6(図5参照)として展開する。
【0071】
そして、この更新対象端末定義テーブル6に対して、以下に示すようにして、更新コマンド50の指示に従った更新(端末情報領域中の新たな端末定義の追加処理)が行われる。
【0072】
まず、更新手段5は、更新コマンド50を受け取る(図3のステップB1)。
【0073】
更新コマンド50は、更新対象となる端末情報領域の識別情報(端末情報領域識別名)となる更新用端末名と、新たに追加する端末の端末名(特定の端末の端末名)とが指定される更新情報を有している。図5の例では、端末情報領域識別名として更新用端末名の##TM1が指定され、更新後の端末名(追加される端末の端末名)として「名前=TRM14」という表現によって端末名TRM14が指定されている。なお、図5の例では、更新コマンド50中に1つの更新情報しか存在していないが、複数の更新情報による指定を1つの更新コマンド50によって行うことも可能である。
【0074】
更新手段5は、更新コマンド50から各更新情報を取得し(ステップB2)、当該更新情報の指定に従って更新対象端末定義テーブル6に対して、以下の操作を行う。
【0075】
まず、当該更新情報中で指定された端末情報領域識別名(図5の例では、##TM1)を更新対象端末定義テーブル6において検索し、この端末情報領域識別名と一致する更新用端末名が更新対象端末定義テーブル6で見つかったか否かを判定する(ステップB3)。
【0076】
ステップB3で「端末情報領域識別名と一致する更新用端末名が見つかった」と判定した場合には、当該端末情報領域識別名(ここでは、##TM1)で指定された端末情報領域に対し、当該更新情報で指定された追加される端末の端末名(ここでは、TRM14)を設定することによって端末定義を追加する(ステップB5)。図5の例の場合には、##TM1で指定された端末情報領域内の更新用端末名(##TM1)を、更新情報中の「名前=TRM14」で指定された端末名(特定の端末名)であるTRM14に更新する。
【0077】
一方、ステップB3で「端末情報領域識別名と一致する更新用端末名が見つからなかった」と判定した場合には、当該更新情報に基づく操作が失敗と判断して当該更新情報に基づく処理を終了し(その旨を更新コマンド50の発行者に通知してもよい)(ステップB4)、更新コマンド50で指定された全ての更新情報に関する処理が完了したか否かを判定する(ステップB6)。
【0078】
また、ステップB5の処理が終了した場合にも、ステップB6の判定を行う。
【0079】
ステップB6で「全ての更新情報に関する処理が完了した」と判定した場合には、更新コマンド50に基づく処理(図3に示す一連の処理)を終了させる。
【0080】
一方、ステップB6で「全ての更新情報については処理がまだ完了していない」と判定した場合には、次の更新情報に関するステップB2以降の処理を繰り返す。
【0081】
図5の例の場合に、上記の処理が終了すると、以降、更新対象端末定義テーブル6において、TRM14に関する端末情報領域中の端末情報は、テーブル生成手段2によって生成されたTRM11やTRM12に関する端末情報領域中の端末情報と同様に、トランザクション処理システム200内で参照可能となり、端末名TRM14を有する端末とトランザクション処理システム200との接続が可能となる。
【0082】
以上のように、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式による更新対象端末定義テーブル6の更新処理では、対象となる端末の定義のみが追加されるため、すでに接続してメッセージ送受信を行っているその他の端末に対しては、一時的にメッセージ送受信を停止する等の影響を及ぼさず、また、トランザクション処理システム200の再起動も伴わずに、運用を継続したまま端末定義の追加が可能となる。
【0083】
なお、更新コマンド50における更新情報は、端末定義の追加を指示する旨と更新対象の端末情報領域を示す情報と更新内容とを有するものであればよく、上記の説明や図5に示した形式のものには限定されない。
【0084】
(2) 第2の実施の形態
【0085】
図6は、本発明の第2の実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の構成を示すブロック図である。
【0086】
図6を参照すると、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式は、上述の第1の実施の形態と同様に、ホストコンピュータ100と、トランザクション処理システム200の動作環境定義ファイルである端末定義ファイル1と、テーブル生成手段2と、端末定義テーブル3と、削除対応可能更新手段5’に対して与えられる更新コマンド50’と、通信回線300と、通信回線300を介してホストコンピュータ100と接続する端末12,13,14,…と、業務データを格納するDB(データベース)11とを含んで構成されている。
【0087】
トランザクション処理システム200は、トランザクション処理システム200の起動時に端末定義テーブル3を読み込み同一内容を有する更新対象端末定義テーブル6をトランザクション処理システム200上に展開する定義テーブル展開手段4と、削除対応可能更新手段5’と、削除対応可能更新手段5’による更新処理が行われるまでは端末定義テーブル3と同一内容を持つ更新対象端末定義テーブル6と、1以上の業務プログラムからなる業務プログラム群7と、業務プログラム群7中の各業務プログラムを呼び出すトランザクション制御手段8と、端末12,13,14,…との接続・切断やメッセージ送受信を制御する端末制御手段9とを含んで構成されている。
【0088】
本実施の形態(第2の実施の形態)に係るオンライントランザクション処理システム端末定義生成・更新方式は、第1の実施の形態に対して、更新対象端末定義テーブル6上の端末定義(端末名指定端末情報)の削除を可能にするものである。すなわち、削除対応可能更新手段5’は、更新コマンド50’による指定に従って、更新対象端末定義テーブル6に対して、第1の実施の形態の説明で述べた端末定義の追加処理とともに、端末定義の削除処理を行う。
【0089】
図7は、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新処理(端末定義の追加処理および削除処理)を示す流れ図である。この処理は、図3中のステップと同様のステップB1〜ステップB7(ただし、ステップB3で端末情報領域識別名と一致するか否かが判定される対象としては更新用端末名とともに特定の端末名も含まれる)に加えて、追加/削除判定ステップC1と、端末定義削除ステップC2とからなる。
【0090】
なお、図2,図4,および図5に示す内容は、本実施の形態においても妥当する(ただし、図5中の更新手段5および更新コマンド50は、本実施の形態では、削除対応可能更新手段5’および更新コマンド50’になる)。
【0091】
次に、上記のように構成された本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の動作について説明する。ここでは、図6および図7を用いて、本実施の形態において特有の動作、すなわちトランザクション処理システム200内の更新対象端末定義テーブル6中の端末定義を削除する動作を中心にして説明する。なお、端末定義の削除に関する動作以外の動作は、第2の実施の形態も第1の実施の形態も同様なものとなる。
【0092】
更新対象端末定義テーブル6においてすでに定義されている端末の端末情報(端末名指定端末情報)を削除する場合には、第1の実施の形態の説明で述べた端末定義追加手法と同様の手法で実現することができる。すなわち、端末定義の追加とともに端末定義の削除をも可能とする更新対象端末定義テーブル6の更新処理が、更新コマンド50’の指示に従って、以下に示すようにして行われる(図7参照)。
【0093】
まず、削除対応可能更新手段5’は、更新コマンド50’を受け取る(図7のステップB1)。
【0094】
更新コマンド50’は、第1の実施の形態における更新コマンド50中の更新情報(追加用の更新情報)とともに削除用の更新情報を保持しうる。この削除用の更新情報は、更新対象となる端末情報領域の識別情報(端末情報領域識別名)となる特定の端末名(特定の端末の端末名)と、当該端末情報を追加更新用端末情報に変更するための更新用端末名(当該端末情報中の記述情報に対応する更新用端末名)とが指定される更新情報である。例えば、TRM11という端末名を有する端末の定義を削除する場合には、端末情報領域識別名として特定の端末名のTRM11が指定され、「名前=##TM2」という表現によってAP1に対する更新用端末名が指定された更新情報が、削除用の更新情報として使用される。なお、更新コマンド’50中に複数の更新情報が指定されうることは、第1の実施の形態における更新コマンド50と同様である。
【0095】
削除対応可能更新手段5’は、更新コマンド50’から各更新情報を取得し(ステップB2)、当該更新情報の指定に従って更新対象端末定義テーブル6に対して、以下の操作を行う。
【0096】
まず、当該更新情報中で指定された端末情報領域識別名を更新対象端末定義テーブル6において検索し、この端末情報領域識別名と一致する端末名(更新用端末名または特定の端末名)が更新対象端末定義テーブル6で見つかったか否かを判定する(ステップB3)。
【0097】
ステップB3で「端末情報領域識別名と一致する端末名が見つかった」と判定した場合には、当該更新情報が追加用の更新情報であるか削除用の更新情報であるかを判定する(ステップC1)。この判定は、端末情報領域識別名が更新用端末名であるか特定の端末名であるかを判断することによって行われる。
【0098】
ステップC1で「当該更新情報が追加用の更新情報である」と判定した場合には、当該端末情報領域識別名で指定された端末情報領域に対し、当該更新情報で指定された追加される端末の端末名を設定することによって、当該端末情報領域における端末定義の追加を行う(ステップB5)。すなわち、当該端末情報領域内の更新用端末名を、当該更新情報で指定された特定の端末名に更新する。
【0099】
一方、ステップC1で「当該更新情報が削除用の更新情報である」と判定した場合には、当該端末情報領域識別名で指定された端末情報領域に対し、当該更新情報で指定された更新用端末名を設定することによって、当該端末情報領域における端末定義の削除を行う(ステップC2)。すなわち、当該端末情報領域内の特定の端末名を、当該更新情報で指定された更新用端末名に更新する。
【0100】
ステップB3で「端末情報領域識別名と一致する端末名が見つからなかった」と判定した場合には、当該更新情報に基づく操作が失敗と判断して当該更新情報に基づく処理を終了し(その旨を更新コマンド50’の発行者に通知してもよい)(ステップB4)、更新コマンド50’で指定された全ての更新情報に関する処理が完了したか否かを判定する(ステップB6)。
【0101】
また、ステップB5またはステップC2の処理が終了した場合にも、ステップB6の判定を行う。
【0102】
ステップB6で「全ての更新情報に関する処理が完了した」と判定した場合には、更新コマンド50’に基づく処理(図7に示す一連の処理)を終了させる。
【0103】
一方、ステップB6で「全ての更新情報については処理がまだ完了していない」と判定した場合には、次の更新情報に関するステップB2以降の処理を繰り返す。
【0104】
上記のような一連の処理において、例えば、端末名がTRM11の端末の定義(端末名指定端末情報)を削除する場合には、先にも述べたような、端末情報領域識別名に端末名TRM11が指定されて「名前=##TM1」という表現で更新用端末名が指定された更新情報によって、更新対象端末定義テーブル6上のTRM11の定義を無効化することができる。そして、この例の場合に、上記の処理が終了すると、以降は、更新対象端末定義テーブル6の端末名TRM11の検索は失敗となり、その端末への接続は拒否される。
【0105】
以上のように、本実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式による更新対象端末定義テーブル6の更新処理では、対象となる端末の定義のみが追加・削除されるため、すでに接続してメッセージ送受信を行っているその他の端末に対しては、一時的にメッセージ送受信を停止する等の影響を及ぼさず、また、トランザクション処理システム200の再起動も伴わずに、運用を継続したまま端末定義の追加・削除が可能となる。
【0106】
なお、更新コマンド50’における更新情報は、更新内容が端末定義の追加または削除である旨(追加用の更新情報であるか削除用の更新情報であるかを示す情報)と更新対象の端末情報領域を示す情報と更新内容とを有するものであればよく、上記の説明や図5に示した追加用の更新情報の形式(または当該形式との整合性が担保された削除用の更新情報の形式)のものには限定されない。
【0107】
(3) 第3の実施の形態
【0108】
図8は、本発明の第3の実施の形態の構成を示すブロック図である。
【0109】
図8を参照すると、本発明の第3の実施の形態は、図1に示した第1の実施の形態に対して、端末定義生成・更新制御プログラム800を備える点が異なっている。
【0110】
端末定義生成・更新制御プログラム800は、端末定義ファイル1,テーブル生成手段2,端末定義テーブル3,更新コマンド50,DB(データベース)11,ならびにトランザクション処理システム200(定義テーブル展開手段4,更新手段5,更新対象端末定義テーブル6,業務プログラム群7,トランザクション制御手段8,および端末制御手段9)および通信制御手段10を備えるホストコンピュータ100を含むコンピュータシステムに読み込まれ、当該コンピュータシステムの動作を端末定義ファイル1,端末定義テーブル3,更新対象端末定義テーブル6,および更新コマンド50が存在することを前提とした上でテーブル生成手段2,定義テーブル展開手段4,および更新手段5として制御する。端末定義生成・更新制御プログラム800の制御によるテーブル生成手段2,定義テーブル展開手段4,および更新手段5の動作は、第1の実施の形態におけるテーブル生成手段2,定義テーブル展開手段4,および更新手段5の動作と全く同様になるので、その詳しい説明を割愛する。
【0111】
(4) 第4の実施の形態
【0112】
図9は、本発明の第4の実施の形態の構成を示すブロック図である。
【0113】
図9を参照すると、本発明の第4の実施の形態は、図6に示した第2の実施の形態に対して、端末定義生成・更新制御プログラム900を備える点が異なっている。
【0114】
端末定義生成・更新制御プログラム900は、端末定義ファイル1,テーブル生成手段2,端末定義テーブル3,更新コマンド50’,DB(データベース)11,ならびにトランザクション処理システム200(定義テーブル展開手段4,削除対応可能更新手段5’,更新対象端末定義テーブル6,業務プログラム群7,トランザクション制御手段8,および端末制御手段9)および通信制御手段10を備えるホストコンピュータ100を含むコンピュータシステムに読み込まれ、当該コンピュータシステムの動作を端末定義ファイル1,端末定義テーブル3,更新対象端末定義テーブル6,および更新コマンド50’が存在することを前提とした上でテーブル生成手段2,定義テーブル展開手段4,および削除対応可能更新手段5’として制御する。端末定義生成・更新制御プログラム900の制御によるテーブル生成手段2,定義テーブル展開手段4,および削除対応可能更新手段5’の動作は、第2の実施の形態におけるテーブル生成手段2,定義テーブル展開手段4,および削除対応可能更新手段5’の動作と全く同様になるので、その詳しい説明を割愛する。
【0115】
【発明の効果】
以上説明したように、本発明によると、以下に示すような効果が生じる。
【0116】
第1の効果は、トランザクション処理システムの運用を継続したままで(オンライントランザクション処理システムの運用中に)、他の端末(すでに接続してトランザクションメッセージ送受信を行っている端末)のメッセージ送受信に影響を与えることなく、端末定義の追加や削除を実現できることにある。
【0117】
このような効果が生じる理由は、トランザクション処理システムが運用中に参照する端末定義テーブル(更新対象端末定義テーブル)において、追加・削除の対象となる端末情報領域のみを変更することを可能としたためである。
【0118】
第2の効果は、端末定義を追加しても、トランザクション処理システムが利用する端末定義テーブルのサイズを拡大する必要なく運用を継続できることにある。このことは、端末定義テーブルをメモリ上に展開して利用するトランザクション処理システムの場合に、運用中に端末の追加を行っても、システム導入時に見積もった使用メモリ量が増加しないことを意味し、システム構築時のリソース見積もりが容易になるという効果をもたらすこととなる。
【0119】
このような効果が生じる理由は、端末定義ファイルから端末定義テーブルを生成する時に、あらかじめ後の端末の追加を予測した分の端末情報領域を生成しておくためである。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の構成を示すブロック図である。
【図2】図1に示すオンライントランザクション処理システム端末定義生成・更新方式における端末定義テーブル生成処理を示す流れ図である。
【図3】図1に示すオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新処理(端末定義の追加処理)を示す流れ図である。
【図4】図1に示すオンライントランザクション処理システム端末定義生成・更新方式における端末定義テーブル生成時の具体的な動作を説明するための図である。
【図5】図1に示すオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新時の具体的な動作を説明するための図である。
【図6】本発明の第2の実施の形態に係るオンライントランザクション処理システム端末定義生成・更新方式の構成を示すブロック図である。
【図7】図6に示すオンライントランザクション処理システム端末定義生成・更新方式における更新対象端末定義テーブル更新処理(端末定義の追加処理および削除処理)を示す流れ図である。
【図8】本発明の第3の実施の形態の構成を示すブロック図である。
【図9】本発明の第4の実施の形態の構成を示すブロック図である。
【図10】従来の技術の内容(処理の流れ等)を説明するためのブロック図である。
【符号の説明】
1 端末定義ファイル
2 テーブル生成手段
3 端末定義テーブル
4 定義テーブル展開手段
5 更新手段
5’ 削除対応可能更新手段
6 更新対象端末定義テーブル
7 業務プログラム群
8 トランザクション制御手段
9 端末制御手段
10 通信制御手段
11 DB(データベース)
12,13,14,… 端末
50,50’ 更新コマンド
100 ホストコンピュータ
200 トランザクション処理システム
300 通信回線
800,900 端末定義生成・更新制御プログラム
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a computer system in which a plurality of terminals are connected to a host computer via a communication line, and a business program in the host computer is used to update and reference data (data in a database, etc.) based on requests / instructions from the terminals. The present invention relates to a method (online transaction processing system terminal definition generation / update method) for generating and updating (adding or deleting) a terminal definition in an online transaction processing system that is used.
[0002]
[Prior art]
An example of this type of conventional technique is described in Patent Document 1.
[0003]
As shown in FIG. 10, this conventional technique (system generation method of a real-time online program) includes a definition information file 101 including a transaction definition file and a terminal definition file, and a definition information table 102 (transaction definition table) from the definition information file 101. And the terminal definition table), the table generation function 104 incorporated in the real-time online program, the command 105 that instructs the table generation function 104 to generate a table, and the real-time online program performs transaction processing. And a definition information table 106 (transaction definition table and terminal definition table) to be used. The real-time online program in this conventional technique corresponds to the transaction processing system in the present invention.
[0004]
The conventional technique (system generation method of a real-time online program) having such a configuration operates as follows.
[0005]
That is, in order to reflect the definition information table 102 (transaction definition table and terminal definition table) generated in the table file generation process 103 on the definition information table 106 (transaction definition table and terminal definition table) in the real-time online program, The generation function 104 suppresses the start of a new transaction, waits for the end of the transaction being executed, and reflects the definition information table at the timing when no transaction processing is performed in the real-time online program. It was.
[0006]
In addition, as a literature concerning the prior art relevant to the present invention, there are the following Patent Literature 2 and Patent Literature 3 in addition to the above Patent Literature 1. Hereinafter, differences between the inventions (techniques) described in these documents and the present invention will be mentioned.
[0007]
The invention (online transaction processing system) described in Patent Document 2 is an online transaction processing system used for data processing, and relates to an online transaction processing system in which information related to a terminal (terminal configuration information) is dynamically changed. It is similar to the present invention in terms of technology. In addition, the invention described in Patent Document 3 (terminal information changing method in an online system) is also a technique for enabling terminal information on a memory to be changed without interrupting system operation. Similar to the present invention. However, these conventional technologies do not have a concept (and a configuration for embodying the concept) peculiar to the present invention in which terminal information and a terminal information area for additional update are provided in advance. This is clearly different from the present invention.
[0008]
[Patent Document 1]
JP 62-245468 A (page 1-3, FIG. 1)
[Patent Document 2]
Japanese Unexamined Patent Publication No. 07-013928 (second page, FIG. 1 and FIG. 4)
[Patent Document 3]
Japanese Patent Application Laid-Open No. 08-016515 (second page, FIG. 1, FIG. 7, FIG. 10)
[0009]
[Problems to be solved by the invention]
The conventional technology described above has the following problems.
[0010]
The first problem is that the start of a new transaction (real-time online program) must be stopped to add a terminal definition.
[0011]
The reason why such a problem exists is that an area for adding a terminal definition (terminal information area having terminal information for additional update) is not considered as in the present invention, and therefore an additional terminal definition table for terminal definition. This is because the start of the transaction must be stopped when reflection is performed.
[0012]
The second problem is that when a terminal definition is added, the size of the terminal definition table is changed (enlarged).
[0013]
The reason why such a problem exists is that the information area (terminal information area) for the terminal definition to be added is not secured on the terminal definition table before the addition.
[0014]
An object of the present invention is to provide an online transaction that can add a definition of a newly connected terminal without affecting a terminal that is already connected to the transaction processing system and executing the transaction in view of the above points. It is to provide a processing system terminal definition generation / update method.
[0015]
[Means for Solving the Problems]
Of the present invention First Online transaction processing system terminal definition generation / update method is an online transaction processing system that performs business processing using a business program in a host computer connected to a plurality of terminals via a communication line. When generating the terminal definition table, in addition to the terminal information area for terminal name designation terminal information, which is terminal information of terminals already defined, a terminal information area for terminal information for additional update was secured on the terminal definition table in advance. Above, the table generation means for generating the terminal definition table from the terminal definition file, and the corresponding terminal in the update target terminal definition table developed in the transaction processing system according to the update information received in the update command. A terminal name designation terminal having an update means for adding a new terminal definition by updating the terminal information for additional update in the information area to the terminal name designation terminal information, and including a terminal name and a business name of a specific terminal Terminal information for update and terminal information for update including the name of the terminal for updating, the business name, and COPY information for designating the number of terminal information areas are defined. Is a table in which the terminal definition file, the terminal name designation terminal information and the additional update terminal information in the terminal definition file are format-converted and expanded. A terminal definition table in which one terminal information area is secured for one information, and for terminal information for additional update, terminal information areas for a specified number of COPY information are secured for the same information Have
[0016]
The second of the present invention Online transaction processing system terminal definition generation / update method is an online transaction processing system that performs business processing using a business program in a host computer connected to a plurality of terminals via a communication line. The terminal information defined in the terminal definition file is converted into a format that can be efficiently referenced by the transaction processing system, and a terminal definition table having the converted terminal information is generated. Generating one terminal information area in the terminal definition table, and for the additional update terminal information according to the definition instruction, one or more terminal information areas having the same contents are generated in the terminal definition table; When the transaction processing system is started, the terminal information in each terminal information area is read from the terminal definition table generated by the table generating means, and the update target terminal definition table having the same contents as the terminal definition table at that time is read in the transaction processing system. Definition table expansion means to expand inside and receive update commands In accordance with the update information in the update command, the terminal name designation terminal information is added to the terminal information for additional update in the corresponding terminal information area in the update target terminal definition table expanded in the transaction processing system by the definition table expansion means. Update means for adding a new terminal definition by updating to the terminal name specified terminal information including the terminal name and business name of a specific terminal, the terminal name for updating, the business name, and the number of terminal information areas A terminal definition file in which terminal information for additional updating including COPY information for designating the terminal is defined, and terminal name specifying terminal information and terminal information for additional updating in the terminal definition file are format-converted and expanded. At the time of the expansion, one terminal information area is secured for one piece of terminal name designation terminal information, and the terminal information for additional update is In its has a terminal definition table terminal information area of the specified number of the COPY information is ensured for the same information .
[0017]
Of the present invention Third Online transaction processing system terminal definition generation / update method is In the first or second online transaction processing system terminal definition generating / updating method, the update information in the update command specifies the terminal name for update for identifying the update target terminal information area in the update target terminal definition table And a designation of the terminal name of the terminal to be added. .
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Next, the present invention will be described in detail with reference to the drawings.
[0022]
(1) First embodiment
[0023]
FIG. 1 is a block diagram showing a configuration of an online transaction processing system terminal definition generation / update system according to the first embodiment of the present invention.
[0024]
Referring to FIG. 1, the online transaction processing system terminal definition generation / update method according to the present embodiment is an operation environment definition file (here, an operation environment definition file related to a terminal) of the host computer 100 and the transaction processing system 200. A terminal connected to the host computer 100 via a certain terminal definition file 1, a table generation unit 2, a terminal definition table 3, an update command 50 given to the update unit 5, a communication line 300, and the communication line 300. 12, 13, 14,... And a DB (database) 11 that stores business data. Needless to say, the number of terminals is not limited to three. A system in which the DB 11 does not exist is theoretically conceivable (for example, instead of handling data in the DB 11, data in another host computer can be handled).
[0025]
The table generation means 2 converts terminal information defined in the terminal definition file 1 into a format that can be efficiently referred to by the transaction processing system 200, and has terminal definition (terminal definition information) after conversion. Table 3 is generated. At this time, for terminal information (terminal name designation terminal information) whose terminal name is explicitly specified in the terminal definition file 1, one terminal information area is generated in the terminal definition table 3 as it is. On the other hand, for terminal information (additional update terminal information) defined for additional update, a plurality of terminal information areas having the same contents are generated in the terminal definition table 3 in accordance with the definition instruction.
[0026]
The host computer 100 includes a transaction processing system 200 and communication control means 10 that is connected to terminals 12, 13, 14,... Via a communication line 300 and controls message transmission / reception.
[0027]
The transaction processing system 200 includes a definition table expansion unit 4, an update unit 5, an update target terminal definition table 6 having the same contents as the terminal definition table 3 and one or more tasks until the update process by the update unit 5 is performed. Connection between a business program group 7 composed of programs (AP1, AP2,... In the example of FIG. 1), transaction control means 8 for calling each business program in the business program group 7, and terminals 12, 13, 14,. It includes terminal control means 9 for controlling disconnection and message transmission / reception.
[0028]
The definition table expansion unit 4 reads definition information (terminal information in each terminal information area) from the terminal definition table 3 when the transaction processing system 200 is activated, and the update target terminal definition table 6 having the same contents as the terminal definition table 3. Is expanded inside the transaction processing system 200 (for example, on a memory space) (the contents of the update target terminal definition table 6 and the contents of the terminal definition table 3 at this time are the same).
[0029]
The updating unit 5 receives the update command 50 and updates the contents of the update target terminal definition table 6 (terminal information in the designated terminal information area) according to an instruction from the update command 50. For example, the definition of the terminal is added in a state where the terminal information of the terminal whose terminal name is TRM14 is not defined (the information including the terminal name “TRM14” is not set in any terminal information area). In such a case, the update command 50 designates update information having the information that the terminal information of the terminal is added and the content to be updated (changed) in the addition. The update unit 5 interprets the update command 50 and updates the contents of the update target terminal definition table 6. After this update, since the terminal information of the terminal is stored in the update target terminal definition table 6 as if it had been defined from the beginning, when a connection request from the terminal occurs, The connection is allowed.
[0030]
When the communication control means 10 is notified of a connection request for a terminal among the terminals 12, 13, 14,..., The terminal control means 9 stores the update target terminal definition table 6 using the terminal name of the terminal as a key. Search and confirm whether the corresponding terminal information is already defined. If it is already defined, the connection of the terminal is permitted, and if it is undefined, the connection of the terminal is rejected. For example, when the terminal information of the terminal 12 is already defined and the connection request for the terminal 12 is notified, the connection of the terminal 12 is permitted.
[0031]
The transaction control means 8 passes the messages received from the terminals 12, 13, 14,... To the business program (programs in the business program group 7), passes the message transmission request from the business program to the terminal control means 9, and sends the message to the terminal 12. , 13, 14,...
[0032]
Each business program constituting the business program group 7 executes the business by appropriately accessing the DB 11 according to the content of the received message.
[0033]
Here, the terminal definition file 1, the table generation means 2, the terminal definition table 3, the definition table expansion means 4, the update means 5, the update target terminal definition table 6, and the update command 50 are constituent elements for realizing the present invention. (However, as described in the description of the prior art, some of them have similar components in the prior art).
[0034]
FIG. 2 is a flowchart showing a terminal definition table generation process in the online transaction processing system terminal definition generation / update method according to the present embodiment. This process includes terminal information input step A1, terminal information type determination step A2, one area reservation table expansion step A3, area reservation table expansion step A4 for the specified number of COPY information, and all terminal information processing end determination step A5. Consists of.
[0035]
FIG. 3 is a flowchart showing an update target terminal definition table update process (terminal definition addition process) in the online transaction processing system terminal definition generation / update method according to the present embodiment. This processing includes update command reception step B1, update information acquisition step B2, terminal information area identification name / terminal name match determination step B3, update information processing end step B4, terminal definition addition step B5, all update information Processing completion determination step B6.
[0036]
FIG. 4 is a diagram for explaining a specific operation at the time of terminal definition table generation in the online transaction processing system terminal definition generation / update method according to the present embodiment.
[0037]
FIG. 5 is a diagram for explaining a specific operation when updating the update target terminal definition table in the online transaction processing system terminal definition generation / update method according to the present embodiment.
[0038]
Next, the overall operation of the online transaction processing system terminal definition generation / update method according to the present embodiment configured as described above will be described in detail with reference to FIGS.
[0039]
First, a schematic operation of the transaction processing system 200 which is a premise of the operation related to the present invention will be described. That is, an outline of operations from the definition of the operating environment of the transaction processing system 200 to startup and operations from terminal connection to transaction execution will be described.
[0040]
First, the operation of the transaction processing system 200 when defining the operating environment will be described. In the present embodiment, it is assumed that only the operating environment definition related to the terminal is performed. However, it goes without saying that the present invention can also be applied when an operating environment other than the terminal is defined.
[0041]
When the operating environment definition is performed, a terminal definition file 1 (generally, an operating environment definition file including the terminal definition file 1) is created. In the terminal definition file 1, terminal information (for example, a terminal name and a business name to be used) of each terminal connected to the transaction processing system 200 is defined.
[0042]
Next, the table generation unit 2 is used to generate a terminal definition table 3 in a format that can be efficiently referred to by the transaction processing system 200 from the terminal definition file 1 described above. Thereby, the operating environment definition of the transaction processing system 200 is completed.
[0043]
Secondly, an operation when the transaction processing system 200 is activated will be described.
[0044]
When the transaction processing system 200 is activated, the definition table expansion means 4 is used, and the contents of the terminal definition table 3 are expanded as the update target terminal definition table 6 in the transaction processing system 200 (for example, on a memory space).
[0045]
Thereafter, the transaction processing system 200 refers to the update target terminal definition table 6 when necessary, and controls connection / disconnection to / from each terminal and transmission / reception of transaction messages.
[0046]
Thirdly, an operation when a connection is made from the transaction processing system 200 to a terminal (here, it is assumed to be the terminal 12) will be described.
[0047]
In this case, the terminal control unit 9 in the transaction processing system 200 acquires the terminal information of the target terminal 12 from the update target terminal definition table 6 and makes a connection request for the terminal 12 to the communication control unit 10. At this time, when the terminal information of the corresponding terminal 12 does not exist on the update target terminal definition table 6, the connection fails.
[0048]
The communication control means 10 connects the terminal 12 and notifies the terminal control means 9 of the completion of connection. Thereby, the connection from the transaction processing system 200 to the terminal 12 is completed.
[0049]
Fourthly, an operation when a connection from the terminal (in this case, the terminal 12) to the transaction processing system 200 is performed will be described.
[0050]
In this case, the communication control means 10 notifies the terminal control means 9 in the transaction processing system 200 of the connection request from the terminal 12.
[0051]
The terminal control means 9 checks whether or not the terminal 12 that issued the connection request is defined in the update target terminal definition table 6 (the terminal information of the terminal 12 exists). The connection rejection is notified to the means 10.
[0052]
On the other hand, if the terminal 12 that issued the connection request is defined in the update target terminal definition table 6, the terminal control unit 9 notifies the communication control unit 10 of successful connection. Thereby, the connection from the terminal 12 to the transaction processing system 200 is completed.
[0053]
Fifth, the operation during transaction execution will be described. Here, an operation at the time of executing a transaction based on a transaction message from the terminal 12 is considered.
[0054]
After the connection between the terminal 12 and the transaction processing system 200, the transaction message from the terminal 12 is passed to the transaction control means 8 via the communication control means 10 and the terminal control means 9 in the transaction processing system 200.
[0055]
The transaction control means 8 calls a corresponding business program in the business program group 7 and executes a transaction.
[0056]
The business program performs business processing such as reference / update of the DB 11 according to the message content received from the terminal 12.
[0057]
The operations from the operating environment definition of the transaction processing system 200 to the activation, terminal connection, and transaction execution are performed as described above. Next, on the premise that the above operation is performed, a characteristic operation unique to the present embodiment, and thus the present invention will be described.
[0058]
First, using FIG. 2 and FIG. 4, the operation when the table generating unit 2 generates the terminal definition table 3 from the terminal definition file 1 will be described in detail.
[0059]
In the terminal definition file 1, terminal information is described as definition information about the terminal. As described above, there are two types of terminal information: terminal name designation terminal information and additional update terminal information.
[0060]
The terminal name designation terminal information is information including the name (terminal name) of a specific terminal and the name (business name) of the business (business program) used by the terminal, and the number of terminals used (terminal definition table) The number of terminals is described for the number of terminals determined at the time of generation. For example, in the example of FIG. 4, the terminal information with the terminal name TRM11 and the business name AP1 and the terminal information with the terminal name TRM12 and the business name AP2 correspond to such terminal name designation terminal information.
[0061]
Further, the terminal information for additional update is an identifier for indicating that it is terminal information for additional update (in the example of FIG. 4, this identifier is expressed by describing two consecutive #s at the head of the terminal name. Update terminal name added (not a terminal name for identifying a specific terminal at this time, but a terminal name for when a terminal name of a terminal to be added later is specified), The number of business information used by the terminal (terminal added later) and the terminal information area for the additional update terminal information (one or more terminal information areas in which the same information is set) are generated on the terminal definition table 3 Terminal information including COPY information, which is information for designating. In the example of FIG. 4, the terminal information related to the update terminal name ## TM1 (terminal information in which the business name is AP2 and the COPY information specifies generation of a terminal information area for five), and the update terminal name # The terminal information related to # TM2 (terminal information in which the business name is AP2 and the COPY information specifies generation of a terminal information area corresponding to six) corresponds to such additional update terminal information. As described above, the terminal information for update is used to reserve a terminal information area to be used when a terminal is added later when the definition table is generated in advance. Description information such as a business name (terminal definition file) 1 represents the number of the same terminal information area provided for each terminal information in 1). Here, as the description information, in addition to “business name (business program name)” in this embodiment, “code conversion table name (table name of code conversion table used for message transmission / reception)” and “IP (Internet Protocol)”. Various designations regarding the possession function of the transaction processing system such as “address” can be considered (it is possible to set how many identical terminal information areas are provided for a combination of a plurality of description information).
[0062]
The table generation unit 2 generates a terminal definition table 3 in a format that can be efficiently referred to by the transaction processing system 200 from such a terminal definition file 1.
[0063]
That is, the table generation means 2 sequentially inputs each terminal information in the terminal definition file 1 (step A1 in FIG. 2), and whether the input terminal information is terminal name designation terminal information or additional update terminal information. Is determined (step A2). This determination is performed, for example, by determining whether the terminal name in the terminal information is a terminal name indicating a specific terminal or an updating terminal name.
[0064]
When it is determined in step A2 that “the terminal information is terminal name designation terminal information”, the table generating means 2 secures one terminal information area on the terminal definition table 3 for the terminal information. Table expansion is performed (in the terminal information area, the terminal information is set after the format is converted for the terminal definition table) (step A3). For example, for the terminal name designation terminal information related to TRM 11 and TRM 12 in FIG. 4, one terminal information area is secured on the terminal definition table 3 and the terminal information is format-converted and set in the terminal information area. To do.
[0065]
On the other hand, if it is determined in step A2 that “the terminal information is additional update terminal information”, the table generation means 2 determines the number of copies specified by the COPY information in the terminal information in the terminal definition file 1. Secure the terminal information area on the terminal definition table 3 and expand the table (set the same terminal information in each of the terminal information areas after converting the format for the specified number of times for the terminal definition table) Perform (Step A4). For example, for the additional update terminal information related to ## TM1 and ## TM2 in FIG. 4, the number of terminal information areas specified by the COPY information in each terminal information is secured on the terminal definition table 3, The number of terminal information areas designated by the COPY information in each additional update terminal information, including the contents of the additional update terminal information (for example, ## TM1 and business name AP2 for the additional update terminal information related to ## TM1) Set to.
[0066]
When the table expansion process in step A3 or step A4 is completed, the table generating means 2 determines whether or not the process related to all terminal information in the terminal definition file 1 has been completed (step A5). If it is determined that the process related to the terminal information has not been completed, the processes after step A1 are repeated for the next terminal information.
[0067]
On the other hand, if the table generating means 2 determines in step A5 that “the processing relating to all terminal information has been completed”, the table generating means 2 completes the series of processing shown in FIG.
[0068]
As a result of the series of processes described above, finally, as shown in the terminal definition table 3 in FIG. 4, the terminal information specified by ## TM1 is included with two terminal information areas for TRM11 and TRM12. One terminal information area and six terminal information areas having terminal information specified by ## TM2 are generated, and a total of 13 terminal information areas are generated on the terminal definition table 3.
[0069]
Secondly, an operation when a terminal definition (terminal name designation terminal information) is added to the update target terminal definition table 6 in the transaction processing system 200 will be described in detail with reference to FIGS.
[0070]
The definition table expansion means 4 in the transaction processing system 200 uses the terminal definition table 3 (see FIG. 4) generated as described above as it is in the form of the update target terminal definition table 6 ( This is expanded as shown in FIG.
[0071]
Then, the update target terminal definition table 6 is updated (a process for adding a new terminal definition in the terminal information area) in accordance with the instruction of the update command 50 as shown below.
[0072]
First, the update means 5 receives the update command 50 (step B1 in FIG. 3).
[0073]
In the update command 50, an update terminal name that is identification information (terminal information area identification name) of a terminal information area to be updated, and a terminal name of a terminal to be newly added (terminal name of a specific terminal) are designated. Update information. In the example of FIG. 5, the update terminal name ## TM1 is specified as the terminal information area identification name, and the terminal name TRM14 is expressed by the expression “name = TRM14” as the updated terminal name (terminal name of the added terminal). Is specified. In the example of FIG. 5, only one update information exists in the update command 50, but designation by a plurality of update information can also be performed by one update command 50.
[0074]
The update unit 5 acquires each update information from the update command 50 (step B2), and performs the following operation on the update target terminal definition table 6 according to the specification of the update information.
[0075]
First, a terminal information area identification name (## TM1 in the example of FIG. 5) specified in the update information is searched in the update target terminal definition table 6, and an update terminal name that matches this terminal information area identification name Is determined in the update target terminal definition table 6 (step B3).
[0076]
If it is determined in step B3 that “the terminal name for update that matches the terminal information area identification name has been found”, the terminal information area designated by the terminal information area identification name (here, ## TM1) Then, a terminal definition is added by setting the terminal name (here, TRM14) of the terminal to be added designated by the update information (step B5). In the case of the example of FIG. 5, the terminal name for update (## TM1) in the terminal information area specified by ## TM1 is changed to the terminal name specified by “name = TRM14” in the update information (specific Terminal name) is updated to TRM14.
[0077]
On the other hand, if it is determined in step B3 that “the terminal name for update that matches the terminal information area identification name was not found”, the operation based on the update information is determined to have failed and the process based on the update information is terminated. (It may be notified to the issuer of the update command 50) (step B4), and it is determined whether or not the processing related to all update information designated by the update command 50 is completed (step B6).
[0078]
Also, when the process of step B5 is completed, the determination of step B6 is performed.
[0079]
If it is determined in step B6 that “processing for all update information has been completed”, the processing based on the update command 50 (a series of processing shown in FIG. 3) is terminated.
[0080]
On the other hand, if it is determined in step B6 that “the processing has not been completed for all update information”, the processing after step B2 regarding the next update information is repeated.
[0081]
In the case of the example of FIG. 5, when the above processing is completed, the terminal information in the terminal information area related to TRM 14 in the update target terminal definition table 6 is the terminal information related to TRM 11 and TRM 12 generated by the table generating means 2. Similar to the terminal information in the area, it can be referred to in the transaction processing system 200, and the terminal having the terminal name TRM14 can be connected to the transaction processing system 200.
[0082]
As described above, in the update process of the update target terminal definition table 6 by the online transaction processing system terminal definition generation / update method according to the present embodiment, only the definition of the target terminal is added, so the connection is already established. For other terminals performing message transmission / reception, the terminal definition is not affected without temporarily stopping the transmission / reception of the message, and the operation is continued without restarting the transaction processing system 200. Can be added.
[0083]
The update information in the update command 50 may be any information having an instruction to add a terminal definition, information indicating the terminal information area to be updated, and update contents. The format shown in the above description and FIG. It is not limited to those.
[0084]
(2) Second embodiment
[0085]
FIG. 6 is a block diagram showing the configuration of the online transaction processing system terminal definition generation / update method according to the second embodiment of the present invention.
[0086]
Referring to FIG. 6, the online transaction processing system terminal definition generation / update method according to the present embodiment is similar to the first embodiment described above, and the operating environment definition file of the host computer 100 and the transaction processing system 200. A terminal definition file 1, a table generation unit 2, a terminal definition table 3, an update command 50 ′ given to the delete-capable update unit 5 ′, a communication line 300, and a host via the communication line 300 Are connected to a computer 100 and a DB (database) 11 for storing business data.
[0087]
The transaction processing system 200 reads the terminal definition table 3 when the transaction processing system 200 is activated, and develops the update target terminal definition table 6 having the same contents on the transaction processing system 200, and the delete-capable update means. 5 ′, the update target terminal definition table 6 having the same contents as the terminal definition table 3 until the update processing by the deleteable update means 5 ′ is performed, the business program group 7 including one or more business programs, The transaction control means 8 for calling each business program in the program group 7 and the terminal control means 9 for controlling connection / disconnection and message transmission / reception with the terminals 12, 13, 14,...
[0088]
The online transaction processing system terminal definition generation / update method according to the present embodiment (second embodiment) is different from the first embodiment in the terminal definition (terminal name designation) on the update target terminal definition table 6. (Terminal information) can be deleted. That is, the delete-capable update means 5 ′ adds the terminal definition addition processing described in the description of the first embodiment to the update target terminal definition table 6 in accordance with the designation by the update command 50 ′. Perform the deletion process.
[0089]
FIG. 7 is a flowchart showing update target terminal definition table update processing (terminal definition addition processing and deletion processing) in the online transaction processing system terminal definition generation / update method according to the present embodiment. This process is performed in the same steps B1 to B7 as the steps in FIG. 3 (however, it is determined whether or not the terminal information area identification name matches with the terminal name for updating and the specific terminal name in step B3) In addition to the above, an addition / deletion determination step C1 and a terminal definition deletion step C2 are included.
[0090]
The contents shown in FIGS. 2, 4, and 5 are valid also in the present embodiment (however, the update means 5 and the update command 50 in FIG. Means 5 'and update command 50').
[0091]
Next, the operation of the online transaction processing system terminal definition generation / update method according to this embodiment configured as described above will be described. Here, with reference to FIG. 6 and FIG. 7, an explanation will be given focusing on the operation specific to the present embodiment, that is, the operation of deleting the terminal definition in the update target terminal definition table 6 in the transaction processing system 200. The operations other than the operation related to the deletion of the terminal definition are the same in the second embodiment and the first embodiment.
[0092]
When deleting terminal information (terminal name designation terminal information) of terminals already defined in the update target terminal definition table 6, the same method as the terminal definition addition method described in the description of the first embodiment is used. Can be realized. That is, the update processing of the update target terminal definition table 6 that enables the terminal definition to be deleted as well as the terminal definition is performed as follows (see FIG. 7) according to the instruction of the update command 50 ′.
[0093]
First, the delete-capable update means 5 ′ receives the update command 50 ′ (step B1 in FIG. 7).
[0094]
The update command 50 ′ can hold the update information for deletion together with the update information (additional update information) in the update command 50 in the first embodiment. The update information for deletion includes a specific terminal name (terminal name of a specific terminal) serving as identification information (terminal information area identification name) of the terminal information area to be updated, and terminal information for additional update. The update information is designated with the update terminal name (update terminal name corresponding to the description information in the terminal information) to be changed to For example, when the definition of a terminal having a terminal name of TRM11 is deleted, TRM11 having a specific terminal name is designated as the terminal information area identification name, and the update terminal name for AP1 is expressed by the expression “name = ## TM2”. Is used as update information for deletion. Note that the fact that a plurality of pieces of update information can be specified in the update command '50 is the same as the update command 50 in the first embodiment.
[0095]
The delete-capable update means 5 ′ acquires each update information from the update command 50 ′ (step B2), and performs the following operation on the update target terminal definition table 6 according to the specification of the update information.
[0096]
First, the terminal information area identification name specified in the update information is searched in the update target terminal definition table 6, and the terminal name (update terminal name or specific terminal name) that matches the terminal information area identification name is updated. It is determined whether it is found in the target terminal definition table 6 (step B3).
[0097]
If it is determined in step B3 that “a terminal name that matches the terminal information area identification name has been found”, it is determined whether the update information is update information for addition or deletion (step S3). C1). This determination is performed by determining whether the terminal information area identification name is an update terminal name or a specific terminal name.
[0098]
If it is determined in step C1 that "the update information is update information for addition", the terminal to be added specified by the update information is added to the terminal information area specified by the terminal information area identification name Terminal definition is added to the terminal information area (step B5). That is, the update terminal name in the terminal information area is updated to the specific terminal name specified by the update information.
[0099]
On the other hand, if it is determined in step C1 that the update information is update information for deletion, the update information specified by the update information is specified for the terminal information area specified by the terminal information area identification name. By setting the terminal name, the terminal definition in the terminal information area is deleted (step C2). That is, the specific terminal name in the terminal information area is updated to the update terminal name specified by the update information.
[0100]
If it is determined in step B3 that “the terminal name that matches the terminal information area identification name has not been found”, the operation based on the update information is determined to have failed, and the process based on the update information is terminated (that is To the issuer of the update command 50 ′) (step B4), it is determined whether or not the processing related to all the update information designated by the update command 50 ′ has been completed (step B6).
[0101]
Also, when the process of step B5 or step C2 is completed, the determination of step B6 is performed.
[0102]
If it is determined in step B6 that “processing for all update information has been completed”, the processing based on the update command 50 ′ (a series of processing shown in FIG. 7) is terminated.
[0103]
On the other hand, if it is determined in step B6 that “the processing has not been completed for all update information”, the processing after step B2 regarding the next update information is repeated.
[0104]
In the series of processes as described above, for example, when the definition of the terminal whose terminal name is TRM11 (terminal name designation terminal information) is deleted, the terminal name TRM11 is added to the terminal information area identification name as described above. And the definition of the TRM 11 on the update target terminal definition table 6 can be invalidated by the update information in which the update terminal name is specified by the expression “name = ## TM1”. Then, in the case of this example, when the above processing is completed, the search for the terminal name TRM11 in the update target terminal definition table 6 fails, and the connection to the terminal is rejected.
[0105]
As described above, in the update processing of the update target terminal definition table 6 by the online transaction processing system terminal definition generation / update method according to the present embodiment, only the definition of the target terminal is added / deleted. Thus, other terminals that are sending and receiving messages are not affected such as temporarily stopping message sending and receiving, and the operation is continued without restarting the transaction processing system 200. Terminal definitions can be added / deleted.
[0106]
Note that the update information in the update command 50 ′ includes that the update content is addition or deletion of the terminal definition (information indicating whether the update content is update information for addition or update information for deletion) and the terminal information to be updated. It only needs to have information indicating the area and update contents, and the format of the update information for addition shown in the above description and FIG. 5 (or the update information for deletion that ensures consistency with the format) Format).
[0107]
(3) Third embodiment
[0108]
FIG. 8 is a block diagram showing the configuration of the third exemplary embodiment of the present invention.
[0109]
Referring to FIG. 8, the third embodiment of the present invention is different from the first embodiment shown in FIG. 1 in that a terminal definition generation / update control program 800 is provided.
[0110]
The terminal definition generation / update control program 800 includes a terminal definition file 1, table generation means 2, terminal definition table 3, update command 50, DB (database) 11, and transaction processing system 200 (definition table expansion means 4, update means 5). , Update target terminal definition table 6, business program group 7, transaction control means 8, and terminal control means 9) and a computer system including a host computer 100 provided with communication control means 10, and the operation of the computer system is defined as a terminal. Control is performed as the table generation means 2, the definition table expansion means 4, and the update means 5 on the assumption that the file 1, the terminal definition table 3, the update target terminal definition table 6, and the update command 50 exist. The operations of the table generation means 2, the definition table expansion means 4, and the update means 5 under the control of the terminal definition generation / update control program 800 are the table generation means 2, the definition table expansion means 4, and the update in the first embodiment. Since the operation is exactly the same as that of the means 5, the detailed explanation thereof is omitted.
[0111]
(4) Fourth embodiment
[0112]
FIG. 9 is a block diagram showing a configuration of the fourth exemplary embodiment of the present invention.
[0113]
Referring to FIG. 9, the fourth embodiment of the present invention is different from the second embodiment shown in FIG. 6 in that a terminal definition generation / update control program 900 is provided.
[0114]
The terminal definition generation / update control program 900 includes a terminal definition file 1, table generation means 2, terminal definition table 3, update command 50 ', DB (database) 11, and transaction processing system 200 (definition table expansion means 4, delete support The computer system is read by a computer system including a host computer 100 provided with possible update means 5 ', update target terminal definition table 6, business program group 7, transaction control means 8, and terminal control means 9) and communication control means 10. On the assumption that the terminal definition file 1, the terminal definition table 3, the update target terminal definition table 6, and the update command 50 ′ exist, the table generation means 2, the definition table expansion means 4, and the deletion can be handled. Control as update means 5 ' To do. The operations of the table generation means 2, the definition table expansion means 4, and the delete-capable update means 5 'under the control of the terminal definition generation / update control program 900 are the table generation means 2, the definition table expansion means in the second embodiment. 4 and the operation corresponding to the delete-capable update means 5 ′ are exactly the same, and the detailed description thereof will be omitted.
[0115]
【The invention's effect】
As described above, according to the present invention, the following effects are produced.
[0116]
The first effect is that the operation of the transaction processing system is continued (during the operation of the online transaction processing system), and the message transmission / reception of other terminals (terminals that are already connected to perform transaction message transmission / reception) is affected. The terminal definition can be added or deleted without giving it.
[0117]
The reason for this effect is that it is possible to change only the terminal information area to be added / deleted in the terminal definition table (update target terminal definition table) referenced during operation by the transaction processing system. is there.
[0118]
The second effect is that even if a terminal definition is added, the operation can be continued without having to increase the size of the terminal definition table used by the transaction processing system. This means that in the case of a transaction processing system that expands and uses the terminal definition table in memory, even if a terminal is added during operation, the amount of used memory estimated at the time of system installation does not increase. It will bring about the effect that the resource estimation at the time of system construction becomes easy.
[0119]
The reason why such an effect occurs is that, when the terminal definition table is generated from the terminal definition file, the terminal information area corresponding to the predicted addition of a subsequent terminal is generated in advance.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an online transaction processing system terminal definition generation / update method according to a first embodiment of the present invention;
FIG. 2 is a flowchart showing terminal definition table generation processing in the online transaction processing system terminal definition generation / update method shown in FIG. 1;
FIG. 3 is a flowchart showing an update target terminal definition table update process (terminal definition addition process) in the online transaction processing system terminal definition generation / update method shown in FIG. 1;
4 is a diagram for explaining a specific operation at the time of terminal definition table generation in the online transaction processing system terminal definition generation / update method shown in FIG. 1; FIG.
FIG. 5 is a diagram for explaining a specific operation when updating an update target terminal definition table in the online transaction processing system terminal definition generation / update method shown in FIG. 1;
FIG. 6 is a block diagram showing a configuration of an online transaction processing system terminal definition generation / update system according to a second embodiment of the present invention.
7 is a flowchart showing update target terminal definition table update processing (terminal definition addition processing and deletion processing) in the online transaction processing system terminal definition generation / update method shown in FIG. 6;
FIG. 8 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.
FIG. 9 is a block diagram showing a configuration of a fourth exemplary embodiment of the present invention.
FIG. 10 is a block diagram for explaining the contents of a conventional technique (processing flow and the like).
[Explanation of symbols]
1 Terminal definition file
2 Table generation means
3 Terminal definition table
4 Definition table expansion means
5 Update means
5 'Deletable update means
6 Update target terminal definition table
7 business programs
8 Transaction control means
9 Terminal control means
10 Communication control means
11 DB (database)
12, 13, 14, ... terminal
50, 50 'update command
100 Host computer
200 Transaction processing system
300 Communication line
800,900 terminal definition generation / update control program

Claims (3)

通信回線を介して複数の端末と接続するホストコンピュータ内の業務プログラムを利用して業務処理を行うオンライントランザクション処理システムにおいて、
端末定義テーブル生成時に、すでに定義された端末の端末情報である端末名指定端末情報のための端末情報領域以外に、あらかじめ追加更新用端末情報のための端末情報領域を端末定義テーブル上に確保した上で、端末定義ファイルから端末定義テーブルを生成するテーブル生成手段と、
更新コマンドを受け取り、当該更新コマンド中の更新情報に従い、トランザクション処理システム内に展開された更新対象端末定義テーブル内の該当する端末情報領域中の追加更新用端末情報を端末名指定端末情報に更新することによって新たな端末定義を追加する更新手段とを有し、
特定の端末の端末名と業務名とを含む端末名指定端末情報と、
更新用端末名と業務名と端末情報領域数を指定するためのCOPY情報とを含む追加更新用端末情報とが定義されている端末定義ファイルと、
前記端末定義ファイル内の端末名指定端末情報および追加更新用端末情報が形式変換されて展開されるテーブルであり、その展開の際に、端末名指定端末情報については1情報について1端末情報領域が確保され、追加更新用端末情報については同一の情報についてCOPY情報の指定数分の端末情報領域が確保される端末定義テーブルとを有する、
ことを特徴とするオンライントランザクション処理システム端末定義生成・更新方式。
In an online transaction processing system that performs business processing using a business program in a host computer connected to a plurality of terminals via a communication line,
When generating the terminal definition table, in addition to the terminal information area for terminal name designation terminal information, which is terminal information of terminals already defined, a terminal information area for terminal information for additional update was secured on the terminal definition table in advance. Above, table generation means for generating a terminal definition table from the terminal definition file,
The update command is received, and the additional update terminal information in the corresponding terminal information area in the update target terminal definition table developed in the transaction processing system is updated to the terminal name designation terminal information according to the update information in the update command. Updating means for adding a new terminal definition,
Terminal name specification terminal information including the terminal name and business name of a specific terminal,
A terminal definition file in which additional update terminal information including an update terminal name, a business name, and COPY information for specifying the number of terminal information areas is defined;
The terminal name designation terminal information and the terminal information for additional update in the terminal definition file are tables that are format-converted and expanded, and at the time of expansion, one terminal information area is included for one information for the terminal name designation terminal information. A terminal definition table in which terminal information areas for a specified number of COPY information are reserved for the same information for the terminal information for additional updating.
An online transaction processing system terminal definition generation / update system characterized by
通信回線を介して複数の端末と接続するホストコンピュータ内の業務プログラムを利用して業務処理を行うオンライントランザクション処理システムにおいて、
端末定義ファイルに定義された端末情報をトランザクション処理システムが効率的に参照可能な形式に変換して変換後の端末情報を有する端末定義テーブルを生成し、この生成の際に、端末名指定端末情報については1つの端末情報領域を端末定義テーブル中に生成し、追加更新用端末情報についてはその定義指示に従い同一内容を持つ1以上の端末情報領域を端末定義テーブル中に生成するテーブル生成手段と、
トランザクション処理システムの起動時に、前記テーブル生成手段により生成された端末定義テーブルから各端末情報領域中の端末情報を読み込み、その時点において端末定義テーブルと同一内容を有する更新対象端末定義テーブルをトランザクション処理システムの内部に展開する定義テーブル展開手段と、
更新コマンドを受け取り、当該更新コマンド中の更新情報に従い、前記定義テーブル展開手段によりトランザクション処理システム内に展開された更新対象端末定義テーブル内の該当する端末情報領域中の追加更新用端末情報を端末名指定端末情報に更新することによって新たな端末定義を追加する更新手段とを有し、
特定の端末の端末名と業務名とを含む端末名指定端末情報と、
更新用端末名と業務名と端末情報領域数を指定するためのCOPY情報とを含む追加更新用端末情報とが定義されている端末定義ファイルと、
前記端末定義ファイル内の端末名指定端末情報および追加更新用端末情報が形式変換されて展開されるテーブルであり、その展開の際に、端末名指定端末情報については1情報について1端末情報領域が確保され、追加更新用端末情報については同一の情報についてCOPY情報の指定数分の端末情報領域が確保される端末定義テーブルとを有する、
ことを特徴とするオンライントランザクション処理システム端末定義生成・更新方式。
In an online transaction processing system that performs business processing using a business program in a host computer connected to a plurality of terminals via a communication line,
The terminal information defined in the terminal definition file is converted into a format that can be efficiently referenced by the transaction processing system, and a terminal definition table having the converted terminal information is generated. Generating one terminal information area in the terminal definition table, and for the additional update terminal information according to the definition instruction, one or more terminal information areas having the same contents are generated in the terminal definition table;
When the transaction processing system is started, the terminal information in each terminal information area is read from the terminal definition table generated by the table generating means, and the update target terminal definition table having the same contents as the terminal definition table at that time is read in the transaction processing system. Definition table expansion means to expand inside
An update command is received, and according to the update information in the update command, the terminal name for additional update terminal information in the corresponding terminal information area in the update target terminal definition table expanded in the transaction processing system by the definition table expansion means Updating means for adding a new terminal definition by updating to designated terminal information,
Terminal name specification terminal information including the terminal name and business name of a specific terminal,
A terminal definition file in which additional update terminal information including an update terminal name, a business name, and COPY information for specifying the number of terminal information areas is defined;
The terminal name designation terminal information and the terminal information for additional update in the terminal definition file are tables that are format-converted and expanded, and at the time of expansion, one terminal information area is included for one information for the terminal name designation terminal information. A terminal definition table in which terminal information areas for a specified number of COPY information are reserved for the same information for the terminal information for additional updating.
An online transaction processing system terminal definition generation / update system characterized by
更新コマンド中の更新情報が、更新対象端末定義テーブル内の更新対象の端末情報領域を識別するための更新用端末名の指定と、追加される端末の端末名の指定とを有する形式である、
ことを特徴とする請求項1または請求項2記載のオンライントランザクション処理システム端末定義生成・更新方式。
The update information in the update command is in a format having a specification of an update terminal name for identifying an update target terminal information area in the update target terminal definition table and a specification of the terminal name of the terminal to be added.
3. The online transaction processing system terminal definition generation / update system according to claim 1 or 2 .
JP2003052488A 2003-02-28 2003-02-28 Online transaction processing system terminal definition generation / update method Expired - Fee Related JP3891128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003052488A JP3891128B2 (en) 2003-02-28 2003-02-28 Online transaction processing system terminal definition generation / update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003052488A JP3891128B2 (en) 2003-02-28 2003-02-28 Online transaction processing system terminal definition generation / update method

Publications (2)

Publication Number Publication Date
JP2004264943A JP2004264943A (en) 2004-09-24
JP3891128B2 true JP3891128B2 (en) 2007-03-14

Family

ID=33117349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003052488A Expired - Fee Related JP3891128B2 (en) 2003-02-28 2003-02-28 Online transaction processing system terminal definition generation / update method

Country Status (1)

Country Link
JP (1) JP3891128B2 (en)

Also Published As

Publication number Publication date
JP2004264943A (en) 2004-09-24

Similar Documents

Publication Publication Date Title
JP7275806B2 (en) Information processing device, information processing system and program
JP4336363B2 (en) Business process execution method, business process execution system, and program
JP3891128B2 (en) Online transaction processing system terminal definition generation / update method
JP4929142B2 (en) Data processing apparatus, control method therefor, and computer program
JP3860385B2 (en) Dynamic linkage information takeover method, linkage process control device, and program recording medium thereof
JP3586943B2 (en) Program loading device and method
US20080256178A1 (en) Method and Apparatus for Providing Software by Functional Units in a Software Streaming System
JPH05342123A (en) Command transfer system for network system
JP3652878B2 (en) Transaction synchronous replacement method for secondary load modules
JP2743786B2 (en) Online subsystem execution system
JP4071678B2 (en) Batch application execution control method, batch application execution control device, and batch application execution control program
JP4018259B2 (en) Character reading system and reading control information management method in the same system
JPH05224893A (en) System for changing system definition
JPH10320218A (en) Automatic starting method for cooperative job in data transfer processing
JP3314746B2 (en) Program transmission / reception system and server thereof
JP2001229157A (en) Document file processor and recording medium
JPH0895913A (en) Automatic program starting method
JP2001236210A (en) System for managing function of client server model
JPH05334249A (en) Nesting management system for catalog in interactive processing system
JPS63209248A (en) Inter-system data incoming control system
JP2001249896A (en) Method and system for setting time information
JPH07191970A (en) Method and device for processing data
JPH0756867A (en) Distributed process control method
JPH07141216A (en) System constitution altering process system
JP2001306776A (en) Method and device for linking data between different systems and information storage medium

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050124

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061018

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061127

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091215

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131215

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees