JP4787419B2 - Distributed processing server, distributed processing system, distributed processing method, and program - Google Patents

Distributed processing server, distributed processing system, distributed processing method, and program Download PDF

Info

Publication number
JP4787419B2
JP4787419B2 JP2001112431A JP2001112431A JP4787419B2 JP 4787419 B2 JP4787419 B2 JP 4787419B2 JP 2001112431 A JP2001112431 A JP 2001112431A JP 2001112431 A JP2001112431 A JP 2001112431A JP 4787419 B2 JP4787419 B2 JP 4787419B2
Authority
JP
Japan
Prior art keywords
processing
identification information
state
target data
external
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
JP2001112431A
Other languages
Japanese (ja)
Other versions
JP2002312332A (en
Inventor
慎一郎 石原
Original Assignee
株式会社大和証券グループ本社
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 株式会社大和証券グループ本社 filed Critical 株式会社大和証券グループ本社
Priority to JP2001112431A priority Critical patent/JP4787419B2/en
Publication of JP2002312332A publication Critical patent/JP2002312332A/en
Application granted granted Critical
Publication of JP4787419B2 publication Critical patent/JP4787419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、分散処理サーバ、分散処理システム、分散処理方法、及びプログラムに関する。特に本発明は、外部処理装置を用いて、データを処理する分散処理サーバ、分散処理システム、分散処理方法、及びプログラムに関する。
【0002】
【従来の技術】
1つのデータに対して複数の処理を行う場合、複数の処理それぞれを異なる処理装置に分担させる分散処理システムを用いる場合がある。
【0003】
【発明が解決しようとする課題】
1つのデータを複数の処理装置が分担して処理する場合に、より効率的に処理することができる分散処理システムが要求されている。
【0004】
そこで本発明は、上記の課題を解決することのできる分散処理サーバ、分散処理システム、分散処理方法、及びプログラムを提供することを目的とする。この目的は特許請求の範囲における独立項に記載の特徴の組み合わせにより達成される。また従属項は本発明の更なる有利な具体例を規定する。
【0005】
【課題を解決するための手段】
即ち、本発明の第1の形態によると、外部処理装置を用いて、処理対象データを処理する分散処理サーバであって、前記分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理する処理部と、前記サーバ内識別情報と、前記複数の外部処理装置のうち第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルと、前記データ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換する識別情報変換部と、前記識別情報変換部が前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡部とを備える。
【0006】
前記複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める状態テーブルと、前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新する状態テーブル更新部と、前記状態テーブルが定める前記状態に応じて、前記第1外部処理装置に対して、前記処理対象データの処理を許容する判断部とを備えてもよい。
【0007】
前記判断部が、前記第1外部処理装置に対して、前記処理対象データの処理を許容する場合に、前記データ受渡部は、前記処理対象データを前記第1外部処理装置に送信してもよい。
【0008】
前記状態テーブルは、前記第1外部処理装置における前記処理対象データの処理の状態を定めてもよい。前記判断部は、前記状態テーブルが定める前記第1外部処理装置の処理の状態に応じて、前記複数の外部処理装置のうち第2の処理装置に対して、前記処理対象データの処理を許容してもよい。前記判断部が、前記第2の処理装置に対して、前記処理対象データの処理を許容する場合に、前記データ受渡部は、前記処理対象データを前記第2処理装置に送信してもよい。
【0009】
前記データ変換テーブルは、前記サーバ内識別情報と、前記複数の外部処理装置のうち第2外部処理装置内で前記処理対象データを識別する第2識別情報とを対応付けてもよい。前記識別情報変換部が、前記サーバ内識別情報を前記第2識別情報に変換したことを条件として、前記データ受渡部は、前記処理対象データを前記第2外部処理装置に送信してもよい。
【0010】
前記状態テーブルが、前記第1処理装置における前記処理対象データの処理が終了していることを示す処理終了状態を定めている場合に、前記判断部は、前記第2外部処理装置に対して、前記処理対象データの処理を許容してもよい。
【0011】
前記状態テーブルが、前記第1処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断部は、前記第2外部処理装置に対して、前記処理対象データの処理を許容しなくてもよい。
【0012】
前記状態テーブルが、前記タイムアウト状態を定めている場合に、前記第1外部処理装置の処理に障害の可能性があることを示す障害通知を出力する通知部をさらに備えてもよい。
【0013】
前記状態テーブルが前記処理可能状態、前記処理待状態、及び前記処理状態のいずれかの状態を定めた後に、所定の時間が経過した場合に、前記状態テーブル更新部は、前記タイムアウト状態を定めてもよい。
【0014】
前記所定の時間を、前記第1処理装置の処理能力を用いて決定するタイムアウト決定部をさらに備えてもよい。
【0015】
前記所定の時間を、前記第1処理装置が処理すべきデータの量を用いて決定するタイムアウト決定部をさらに備えてもよい。
【0016】
前記第1処理装置が処理すべきデータの量を監視するデータ量監視部をさらに備えてもよい。前記タイムアウト決定部は、前記データ量監視部が監視する前記データ量を用いて、前記所定の時間を決定してもよい。
【0017】
前記処理対象データは、取引における約定伝票であってもよい。
【0018】
前記分散処理サーバは、照合に関する処理を行う照合装置、預託に関する処理を行う預託装置、及び決済に関する処理を行う決済装置に、前記約定伝票を処理させてもよい。
【0019】
前記照合装置において、前記約定伝票の照合に関する処理を終了したことを、前記状態テーブルが定める場合に、前記判断部は、前記預託装置における前記約定伝票の処理を許可してもよい。
【0020】
前記状態テーブルが、前記預託装置において、前記約定伝票の預託に関する処理を終了したことを定める場合に、前記判断部は、前記決済装置に、前記約定伝票を処理させてもよい。
【0021】
本発明の第2の形態としては、外部処理装置を用いて、処理対象データを処理する分散処理サーバであって、前記分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理する処理装置と、前記外部処理装置に対して、前記処理対象データを送受信する外部接続装置とを備える。前記外部接続装置は、前記サーバ内識別情報と、前記複数の外部処理装置のうち第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルと、前記データ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換する識別情報変換部と、前記識別情報変換部が前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡部とを有する。
【0022】
本発明の第3の形態としては、処理対象データを分散処理する分散処理システムであって、前記処理対象データを第1識別情報により識別し、当該第1識別情報を用いて前記処理対象データを処理する第1処理装置と、前記第1識別情報と、前記第2処理装置で当該処理対象データを識別する第2識別情報とを対応付けるデータ変換テーブルと、前記データ変換テーブルを用いて、前記第1識別情報を前記第2識別情報に変換する識別情報変換部と、前記識別情報変換部が前記第1識別情報を前記第2識別情報に変換した後に、前記第2識別情報を用いて前記処理対象データを処理する第2処理装置とを備える。
【0023】
なお上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションも又発明となりうる。
【0024】
【発明の実施の形態】
以下、発明の実施形態を通じて本発明を説明するが、実施形態はクレームにかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。
【0025】
なお、詳細な説明中に記載の「約定伝票」は、特許請求の範囲に記載の「処理対象データ」の一例である。また、詳細な説明中に記載の「銘柄テーブル」は、特許請求の範囲に記載の「データ変換テーブル」の一例である。また、詳細な説明中に記載の「処理部」は、特許請求の範囲に記載の「判断部」を含む。また、詳細な説明中に記載の「照合管理装置通信部」、「預託管理装置通信部」、及び「決済管理装置通信部」は、特許請求の範囲に記載の「データ授受部」の一例である。詳細な説明中に記載の「照合管理装置」、「預託管理装置」、及び「決済管理装置」は、特許請求の範囲に記載の「外部処理装置」の一例である。
【0026】
図1は、分散処理サーバ100を含む分散処理システム全体を示す。分散処理システムは、複数の装置を用いてデータを処理する。本実施の形態の分散処理システムは、取引における約定伝票を示すデータを処理する。分散処理システムは、分散処理サーバ100と、分散処理サーバ100が約定伝票を処理させる外部処理装置としての、照合管理装置200と、預託管理装置300と、決済管理装置400とを備える。
【0027】
照合管理装置200は、約定伝票に対し照合に関する処理を行う。預託管理装置300は、約定伝票に対し預託に関する処理を行う。決済管理装置400は、約定伝票に対し決済に関する処理を行う。分散処理サーバ100は、照合管理装置200、預託管理装置300、及び決済管理装置400と通信回線を介して約定伝票を送受信する。通信回線は、例えばLANなどの専用回線であってもよく、また例えばインターネットなどであってもよい。分散処理サーバ100は、約定伝票を受け付けると、約定伝票を照合管理装置200、預託管理装置300、及び決済管理装置400に送信し、各装置において処理された約定伝票を受け取る。このように、本分散処理サーバ100は、複数の外部処理装置を用いて、約定伝票を処理することができる。
【0028】
図2は、約定伝票のデータフォーマットを示す図である。約定伝票は、各約定伝票を識別する約定伝票IDと、約定伝票を作成した年月日を示す作業年月日と、取引を行った顧客を識別する顧客コードと、取引の対象となる銘柄を示す銘柄コードと、取引市場と、売買の別と、取引対象となった銘柄の数量と、取引対象となった銘柄の単価と、取引における売買代金と、消費税と、取引に対する手数料とを含む。
【0029】
照合管理装置200、預託管理装置300、及び決済管理装置400は、同一の銘柄に対して、それぞれ独自の銘柄コードを付与し、それぞれ独自の銘柄コードを用いて約定伝票を処理する。一方、分散処理サーバ100は、サーバ独自の銘柄コードであるサーバ銘柄コードを用いて約定伝票を処理する。そこで、各装置に約定伝票を送る場合、約定伝票に含まれる銘柄コードを送り先において用いられる銘柄コードに変換する。このように、分散処理サーバ100は、約定伝票に含まれる内容を、各外部処理装置に適した内容に変換することができるので、約定伝票の整合性を保ちつつ、複数の外部処理装置を用いて、約定伝票を処理することができる。
【0030】
図3は、分散処理サーバ100の機能構成を示す機能ブロック図である。分散処理サーバ100の一連の動作は、主にCPUとROM及びRAMに格納されたプログラムの共働によって実現される。但し、それ以外の構成要素によって分散処理サーバ100が実現されてもよく、その設計の自由度は高い。分散処理サーバ100は、入力部102と、処理部104と、データ量監視部106と、タイムアウト決定部108と、状態テーブル110と、通知部112と、銘柄テーブル114と、照合管理装置コード変換部120と、照合管理装置通信部122と、預託管理装置コード変換部130と、預託管理装置通信部132と、決済管理装置コード変換部140と、決済管理装置通信部142とを備える。
【0031】
入力部102は、取引における約定伝票のデータの入力を受け付ける。他の例としては、入力部102は、受信部であって、例えばインターネットや専用回線を介して、約定伝票を受け付けてもよい。
【0032】
状態テーブル110は、照合管理装置200、預託管理装置300、及び決済管理装置400における、約定伝票に対する処理の状態を定める。処理の状態とは、例えば、処理中、処理済みなど処理の進行状態を示す状態である。このように、状態テーブル110は、複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める。
【0033】
処理部104は、約定伝票を照合管理装置200、預託管理装置300、及び決済管理装置400における約定伝票の処理の状態を監視し、約定伝票をいずれの外部処理装置に送るかを判断する。
【0034】
処理部104は、状態テーブル110が定める前記状態に応じて、照合管理装置200、預託管理装置300、及び決済管理装置400に対して、約定伝票の処理を許容することができる。
【0035】
データ量監視部106は、所定の時間間隔で、照合管理装置200が処理すべきデータの量を監視する。すなわち、データ量監視部106は、分散処理サーバ100から照合管理装置200に送信され、照合管理装置200における処理が開始されずに、処理を待っている状態、すなわち処理待ち状態にある約定伝票のデータ量を監視する。データ量監視部106は、同様に、預託管理装置300、及び決済管理装置400が処理すべきデータの量を監視する。
【0036】
タイムアウト決定部108は、データ量監視部106から、照合管理装置200において、処理すべきデータ量に関する情報を受け取る。タイムアウト決定部108は、データ量に関する情報に基づいて、タイムアウトと判断すべき所定の時間、すなわちタイムアウト時間を決定する。ここで、タイムアウトとは、外部処理装置から返答が来ない状態で、所定の時間が経過したことを示す。タイムアウト決定部108は、さらにこのとき、照合管理装置200の処理能力を考慮する。このように、タイムアウト決定部108は、各外部処理装置の処理能力と、各外部処理装置が処理すべきデータ量とを用いることで、適切なタイムアウトを決定することができる。
【0037】
タイムアウト決定部108は、データ量監視部106からデータ量に関する情報を、各外部処理装置におけるデータ量が変化した場合にのみ受け取ってもよく、また定期的に受け取ってもよい。
【0038】
なお、タイムアウト決定部108は、同様に、預託管理装置300及び決済管理装置400において処理すべきデータ量に関する情報を受け取り、それぞれ預託管理装置300及び決済管理装置400に対するタイムアウト時間を決定する。
【0039】
例えば、処理すべきデータ量が多い場合には、処理を依頼してから返答を受け取るまでの時間が長くなることが予想されるので、この場合、タイムアウト決定部108は、タイムアウト時間を長く設定してもよい。また、処理能力の高い外部処理装置の場合、データの処理速度が速いので、タイムアウト決定部108は、この外部処理装置に対するタイムアウト時間を短く設定してもよい。このように、タイムアウト決定部108は、外部処理装置の処理能力に応じて、基本的なタイムアウトまでの時間を設定し、さらにデータ量監視部106から、随時各外部処理装置が処理すべきデータ量を示す情報を受け取り、処理すべきデータ量に応じて、タイムアウトまでの時間を変更することができる。従って、より正確にタイムアウトを判断することができる。
【0040】
状態テーブル更新部116は、照合管理装置200、預託管理装置300、及び決済管理装置400における約定伝票の処理状態に応じて、状態テーブル110を更新する。状態テーブル更新部116は、さらにタイムアウト決定部108からタイムアウト時間を受け取り、照合管理装置200、預託管理装置300、及び040におけるタイムアウト時間を監視する。状態テーブル更新部116は、約定伝票を照合管理装置200に送信し、正常に処理されない状態でタイムアウト時間が経過した場合に、タイムアウトと判断し、状態テーブル110を更新する。
【0041】
銘柄テーブル114は、サーバ内で利用されるサーバ銘柄コードと、照合管理装置200、預託管理装置300、及び決済管理装置400において、それぞれ同一の銘柄を識別するために利用される照合銘柄コード、預託銘柄コード、及び決済銘柄コードとを対応付ける。
【0042】
照合管理装置コード変換部120は、銘柄テーブル114を用いて、サーバ銘柄コードと照合銘柄コードとを変換する。照合管理装置通信部122は、照合管理装置コード変換部120がサーバ銘柄コードを照合銘柄コードに変換した後に、約定伝票を照合管理装置200に送信し、照合銘柄コードを用いて、約定伝票を照合管理装置200に処理させる。
【0043】
預託管理装置コード変換部130は、銘柄テーブル114を用いて、サーバ銘柄コードと預託銘柄コードとを変換する。預託管理装置通信部132は、預託管理装置コード変換部130がサーバ銘柄コードを預託銘柄コードに変換した後に、約定伝票を預託管理装置300に送信し、預託銘柄コードを用いて、約定伝票を預託管理装置300に処理させる。
【0044】
決済管理装置コード変換部140は、銘柄テーブル114を用いて、サーバ銘柄コードと決済銘柄コードとを変換する。決済管理装置通信部142は、照合管理装置コード変換部120がサーバ銘柄コードを決済銘柄コードに変換した後に、約定伝票を決済管理装置400に送信し、決済銘柄コードを用いて、約定伝票を決済管理装置400に処理させる。
【0045】
通知部112は、状態テーブル110が、照合管理装置200においてタイムアウト状態を定めている場合に、照合管理装置200の処理に障害の可能性があることを示す障害通知を出力する。このように、タイムアウト状態が検出された場合、分散処理サーバ100は、障害通知を出力するので、分散処理サーバ100のオペレータは、障害の可能性を認識することができる。
【0046】
また他の例としては、通知部112は、照合管理装置200に障害通知を送信してもよい。これにより、照合管理装置200に障害の可能性を通知することができる。
【0047】
通知部112は、状態テーブル110が、預託管理装置300及び決済管理装置400においてタイムアウト状態を定めている場合にも、同様に障害通知を出力する。
【0048】
図4は、銘柄テーブル114のデータ構成を示す。銘柄テーブル114は、サーバ銘柄コードフィールドと、照合銘柄コードフィールドと、預託銘柄コードフィールドと、決済銘柄コードフィールドとを有する。
【0049】
サーバ銘柄コードフィールドは、分散処理サーバ100において、銘柄を識別するサーバ銘柄コードを格納する。照合銘柄コードフィールドは、照合管理装置200において銘柄を識別する照合銘柄コードを格納する。預託銘柄コードフィールドは、預託管理装置300において銘柄を識別する預託銘柄コードを格納する。決済銘柄コードフィールドは、決済管理装置400において銘柄を識別する決済銘柄コードを格納する。
【0050】
このように、銘柄テーブル114は、分散処理サーバ100において銘柄を識別するサーバ銘柄コードに対応付けて、同一の銘柄を識別する照合銘柄コード、預託銘柄コード、及び決済銘柄コードをそれぞれ格納する。従って、分散処理サーバ100は、照合管理装置200、預託管理装置300、及び決済管理装置400に対して約定伝票の処理を依頼する場合、銘柄テーブル114を利用して、約定伝票に含まれる銘柄コードを、依頼先の装置において用いられる銘柄コードに変換することができる。従って、分散処理サーバ100は、分散処理サーバ100と異なる銘柄コードを利用して、銘柄を管理する外部処理装置に対しても、約定伝票の処理を依頼することができる。
【0051】
図5は、状態テーブル110のデータ構成を示す。状態テーブル110は、約定伝票IDフィールドと、照合状態フィールドと、預託状態フィールドと、決済状態フィールドとを有する。
【0052】
約定伝票IDフィールドは、約定伝票を識別する約定伝票IDを格納する。照合状態フィールドは、分散処理サーバ100が照合管理装置200に送信した約定伝票に対する照合管理装置200の処理の状態を格納する。預託状態フィールドは、分散処理サーバ100が預託管理装置300に送信した約定伝票に対する預託管理装置300の処理の状態を格納する。決済状態フィールドは、分散処理サーバ100が決済管理装置400に送信した約定伝票に対する決済管理装置400の処理の状態を格納する。
【0053】
このように、状態テーブル110は、照合管理装置200、預託管理装置300、及び決済管理装置400における約定伝票の処理の状態を各約定伝票毎に格納している。従って、処理部104は、状態テーブル110を用いて、各約定伝票の処理の状態を認識し、処理の状態に基づいて、各約定伝票に対して行うべき処理を判断することができる。
【0054】
照合状態フィールド、預託状態フィールド、及び決済状態フィールドは、それぞれ未受付フィールドと、送信済みフィールドと、返答OKフィールドと、返答NGフィールドと、返答待ちフィールドと、タイムアウトフィールドと、送信時刻フィールドと、返答時刻フィールドとを有する。
【0055】
ここで、照合状態フィールドに含まれる各フィールドについて説明する。未受付フィールドは、分散処理サーバ100から照合管理装置200に約定伝票が送信されていない場合に、未受付を示すフラグを格納する。送信済みフィールドは、分散処理サーバ100から照合管理装置200に約定伝票が送信された場合に、送信済みを示すフラグを格納する。返答OKフィールドは、照合管理装置200から正常に処理が終了したことを示す返答を分散処理サーバ100が受け取った場合に、正常終了を示すフラグを格納する。返答NGフィールドは、照合管理装置200から処理が正常に終了しなかったことを示す返答を分散処理サーバ100が受け取った場合に、異常終了を示すフラグを格納する。返答待ちフィールドは、分散処理サーバ100から照合管理装置200に約定伝票を送信し、かつ分散処理サーバ100が照合管理装置200から返答を受け取っていない場合に、返答待ちを示すフラグを格納する。タイムアウトフィールドは、状態テーブル更新部116が、タイムアウトと判断した場合、すなわち、照合管理装置200から返答がない状態で、タイムアウト時間が経過した場合に、タイムアウトを示すフラグを格納する。
【0056】
送信時刻フィールドは、分散処理サーバ100から照合管理装置200に対して約定伝票を送信した時刻を格納する。返答時刻フィールドは、分散処理サーバ100が照合管理装置200から約定伝票を受け取った時刻を格納する。
【0057】
このように、状態テーブル110は、照合管理装置200、預託管理装置300、及び決済管理装置400に送信した複数の約定伝票が、各外部処理装置においてどのような処理状態にあるかを各約定伝票毎に定める。従って、処理部104は、状態テーブル110に基づいて、約定伝票に対する処理を行うことができる。
【0058】
図6は、分散処理サーバ100の動作を示すフローチャートである。分散処理サーバ100の入力部102が約定伝票を受け付けると(S100)、処理部104は、約定伝票を照合管理装置コード変換部120に送る。次に、照合管理装置コード変換部120は、銘柄テーブル114を用いて、約定伝票に含まれる銘柄のサーバ銘柄コードを照合銘柄コードに変換する(S102)。次に、照合管理装置通信部122は、約定伝票を照合管理装置200に送信し、照合管理装置200に対して、約定伝票の照合処理をさせる(S104)。
【0059】
照合管理装置200における約定伝票の照合処理が終了すると、処理部104は、約定伝票を預託管理装置コード変換部130に送る。次に、預託管理装置コード変換部130は、銘柄テーブル114を用いて、約定伝票に含まれる銘柄のサーバ銘柄コードを預託銘柄コードに変換する(S106)。次に、預託管理装置通信部132は、約定伝票を預託管理装置300に送信し、預託管理装置300に対して、約定伝票の照合処理をさせる(S108)。
【0060】
預託管理装置300における約定伝票の預託処理が終了すると、処理部104は、約定伝票を決済管理装置コード変換部140に送る。次に、決済管理装置コード変換部140は、銘柄テーブル114を用いて、約定伝票に含まれる銘柄のサーバ銘柄コードを決済銘柄コードに変換する(S110)。次に、決済管理装置通信部142は、約定伝票を決済管理装置400に送信し、決済管理装置400に対して、約定伝票の決済処理をさせる(S112)。以上で、分散処理サーバ100の動作は終了する。
【0061】
このように、分散処理サーバ100は、照合管理装置200、預託管理装置300、及び決済管理装置400を利用して約定伝票を処理することができる。分散処理サーバ100は、さらに照合管理装置200における処理が終了した後に、約定伝票を預託管理装置300に送り、また預託管理装置300における処理が終了した後に、約定伝票を決済管理装置400に送る。このように、分散処理サーバ100は、約定伝票に対して予め定められた順番に外部処理装置に送ることができる。従って、分散処理サーバ100は、約定伝票に対して、予め定められた順番に処理を行うことができる。
【0062】
図7は、図6で説明した銘柄確認段階(S102)における分散処理サーバ100の詳細な動作を示すフローチャートである。処理部104は、入力部102から約定伝票を受け取ると、照合管理装置コード変換部120に送る。照合管理装置コード変換部120は、銘柄テーブル114を利用して、約定伝票に含まれるサーバ銘柄コードを検索する(S200)。約定伝票に、銘柄テーブル114において格納されるサーバ銘柄コードが含まれている場合(S202)、照合管理装置コード変換部120は、サーバ銘柄コードを照合銘柄コードに変換する(S204)。約定伝票にサーバ銘柄コードが含まれない場合は、S104へジャンプする。
【0063】
このように、分散処理サーバ100は、照合管理装置200に送信すべき約定伝票にサーバ銘柄コードが含まれている場合に、サーバ銘柄コードを照合銘柄コードに変換する。従って、照合管理装置200は、自装置内で銘柄を識別する照合銘柄コードを用いて、約定伝票を処理することができる。
【0064】
図8は、図6で説明した照合処理段階(S104)における分散処理サーバ100の詳細な動作を示すフローチャートである。照合管理装置コード変換部120がサーバ銘柄コードを照合銘柄コードに変換すると、処理部104は、照合管理装置200における約定伝票の処理を許容する。また、照合管理装置コード変換部120がサーバ銘柄コードを照合銘柄コードに変換した後に、照合管理装置通信部122は、約定伝票を照合管理装置200に送信し、照合管理装置200に対して、約定伝票の照合処理をさせる(S300)。照合管理装置200は、照合銘柄コードを用いて、約定伝票を処理する。
【0065】
次に、データ量監視部106は照合管理装置200におけるデータ量を監視する(S302)。次に、タイムアウト決定部108は、データ量監視部106が監視したデータ量及び照合管理装置200の処理能力に基づいて、タイムアウト時間を決定する(S304)。
【0066】
次に、処理部104は、照合管理装置200における約定伝票の処理を監視する(S306)。このとき、状態テーブル更新部116は、処理部104が監視した照合管理装置200における約定伝票の処理の状態に応じて状態テーブル110を更新する。処理部104が、処理が正常に終了した旨を示す返答OKを、照合管理装置通信部122を介して受け取った場合、状態テーブル更新部116は、状態テーブル110の照合状態フィールドに返答OKを定める(S308)。この場合、照合管理装置コード変換部120は、約定伝票から照合銘柄コードを検索する。約定伝票に照合銘柄コードが含まれる場合(S310)、照合管理装置コード変換部120は、照合銘柄コードをサーバ銘柄コードに変換する(S312)。
【0067】
次に、処理部104は、約定伝票を預託管理装置コード変換部130に送る(S314)。預託管理装置コード変換部130が、約定伝票に含まれるサーバ銘柄コードを預託銘柄コードに変換したことを条件として、処理部104は、約定伝票の預託管理装置300における処理を許容する(S316)。
【0068】
他の例としては、処理部104が照合管理装置コード変換部120から預託管理装置コード変換部130に約定伝票を送る場合、預託管理装置コード変換部130が、約定伝票に含まれる照合銘柄コードを直接預託銘柄コードに変換してもよい。すなわち、照合管理装置コード変換部120は、約定伝票に含まれる照合銘柄コードを変換しない状態で、約定伝票を処理部104に送り、処理部104は、受け取った約定伝票を預託管理装置コード変換部130に送る。預託管理装置コード変換部130は、受けとった約定伝票に含まれる照合銘柄コードを預託銘柄コードに変換する。
【0069】
この場合、分散処理サーバ100の動作は、図6で説明した預託管理における銘柄コード変換段階(S106)に進む。ここで、預託管理装置コード変換部130がサーバ銘柄コードを預託銘柄コードに変換した後に(S106)、預託管理装置通信部132は、約定伝票を預託管理装置300に送信し、預託管理装置300に対して、約定伝票を処理させる(S108)。銘柄コード変換段階(S106)及び預託処理段階(S108)における分散処理サーバ100の動作は、それぞれ図7及び図8を用いて説明した銘柄コード変換段階(S104)及び照合管理段階(S104)における分散処理サーバ100の動作と同様なので説明を省略する。なおこの場合、処理部104は、預託管理装置通信部132を介して返答OKを受け取り、状態テーブル110の預託状態フィールドに返答OKを定める(S308)。さらに処理部104は、決済管理装置コード変換部140が約定伝票に含まれるサーバ銘柄コードを決済銘柄コードに変換したことを条件として、決済管理装置400における約定伝票の処理を許容する(S316)。
【0070】
また、決済処理における銘柄コード変換段階(S110)及び決済処理段階(S112)における分散処理サーバ100の詳細な動作も、それぞれ図7及び図8で説明した銘柄コード変換段階(S106)及び照合管理段階(S104)における分散処理サーバ100の動作と同様なので説明を省略する。なおこの場合、処理部104は、決済管理装置通信部142を介して返信OKを受け取ると、状態テーブル110の決済状態フィールドに返答OKを定める(S308)。この場合、S316にかえて、約定伝票に対する処理が終了したと判断する。
【0071】
処理状態監視段階(S306)において、処理部104が照合管理装置通信部122を介して返答OKを受け取らず(S308)、かつ返答NGを受け取った場合(S320)、状態テーブル更新部116は、状態テーブル110に返答NGを定める。次に、通知部112は、照合管理装置200における処理が正常に終了しなかった旨を出力する(S322)。この場合、以上で分散処理サーバ100の動作は終了する。
【0072】
他の例としては、分散処理サーバ100は、照合管理装置200から返答NGを受信した場合に、再び同一の約定伝票を照合管理装置200に送信してもよい。この場合、例えば、再度返答NGを受信した場合に、通知部112は正常に終了しなかった旨を出力してもよい
【0073】
処理状態監視段階(S306)において、処理部104が、照合管理装置通信部122を介して返答OKを受信せず(S308)、かつ返答NGを受信しない場合は(S320)、状態テーブル更新部116は、状態テーブル110の照合状態フィールドに返答待ちを定める(S330)。返答待ちの状態で、タイムアウト時間が経過した場合(S332)は、状態テーブル更新部116は、状態テーブル110の照合状態フィールドにタイムアウト状態を定める(S334)。次に、通知部112は、障害通知を出力する(S336)。この場合、以上で分散処理サーバ100の動作は終了する。
【0074】
このように、タイムアウト状態になると、通知部112は、障害通知を出力するので、分散処理サーバ100のオペレータは、照合管理装置200における処理が正常に行われていないことを認識することができる。
【0075】
S320において、タイムアウト時間が経過していない場合は、再び処理状態監視段階(S306)に戻り、処理部104は、照合管理装置200における処理の状態を監視する。以上で、照合監視段階における分散処理サーバ100の詳細な動作は終了する。このように、分散処理サーバ100は、照合管理装置200における約定伝票の処理の状態を監視することができる。従って、分散処理サーバ100は、照合管理装置200における約定伝票に対する処理の状態に応じて、約定伝票に対する次の処理を判断することができる。
【0076】
図9は、分散処理サーバ100のハードウェア構成を示す図である。分散処理サーバ100は、CPU700と、ROM702と、RAM704と、通信インタフェース706と、ハードディスクドライブ708と、データベースインタフェース710と、フロッピーディスクドライブ712と、CD−ROMドライブ714とを備える。CPU700は、ROM702及びRAM704に格納されたプログラムに基づいて動作する。通信インタフェース706は、インターネット10を介して外部と通信する。データベースインタフェース710は、データベースへのデータの書込、及びデータベースの内容の更新を行う。格納装置の一例としてのハードディスクドライブ708は、設定情報及びCPU700が動作するプログラムを格納する。
【0077】
フロッピーディスクドライブ712はフロッピーディスク720(登録商標)からデータまたはプログラムを読み取りCPU700に提供する。CD−ROMドライブ714はCD−ROM722からデータまたはプログラムを読み取りCPU700に提供する。通信インタフェース706は、インターネット10に接続してデータを送受信する。データベースインタフェース710は、各種データベース724と接続してデータを送受信する。
【0078】
CPU700が実行するソフトウェアは、フロッピーディスク720またはCD−ROM722等の記録媒体に格納されて利用者に提供される。記録媒体に格納されたソフトウェアは圧縮されていても非圧縮であっても良い。ソフトウェアは記録媒体からハードディスクドライブ708にインストールされ、RAM704に読み出されてCPU700により実行される。
【0079】
記録媒体に格納されて提供されるソフトウェア、即ちハードディスクドライブ708にインストールされるソフトウェアは、機能構成として、入力モジュールと、処理モジュールと、データ量監視モジュール106と、タイムアウト決定モジュールと、通知モジュールと、照合管理装置コード変換モジュールと、照合管理装置通信モジュールと、預託管理装置コード変換モジュールと、預託管理装置通信モジュールと、決済管理装置コード変換モジュールと、決済管理装置通信モジュールとを有する。前記各モジュールがコンピュータに働きかけて、CPU700に行わせる処理は、それぞれ本実施形態の分散処理サーバ100における、対応する部材の機能及び動作と同一であるから、説明を省略する。
【0080】
図9に示した、記録媒体の一例としてのフロッピーディスク720またはCD−ROM722には、本出願で説明した全ての実施形態における分散処理サーバ100の動作の一部または全ての機能を格納することができる。
【0081】
これらのプログラムは記録媒体から直接RAMに読み出されて実行されても、一旦ハードディスクドライブにインストールされた後にRAMに読み出されて実行されても良い。更に、上記プログラムは単一の記録媒体に格納されても複数の記録媒体に格納されても良い。又、符号化した形態で格納されていてもよい。
【0082】
記録媒体としては、フロッピーディスク、CD−ROMの他にも、DVD等の光学記録媒体、MD等の磁気記録媒体、PD等の光磁気記録媒体、テープ媒体、磁気記録媒体、ICカードやミニチュアーカードなどの半導体メモリー等を用いることができる。又、専用通信ネットワークやインターネットに接続されたサーバシステムに設けたハードディスクまたはRAM等の格納装置を記録媒体として使用し、通信網を介してプログラムを分散処理サーバ100に提供してもよい。このような記録媒体は、分散処理サーバ100を製造するためのみに使用されるものであり、そのような記録媒体の業としての製造および販売等が本出願に基づく特許権の侵害を構成することは明らかである。
【0083】
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更または改良を加えることができる。そのような変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。
【0084】
そうした第1の変更例について説明する。本実施の形態における分散処理サーバ100は、照合管理装置コード変換部120、照合管理装置通信部122、預託管理装置コード変換部130、預託管理装置通信部132、決済管理装置コード変換部140、決済管理装置通信部142を備えた。他の例としては、分散処理サーバ100は、処理装置と外部接続装置の2つの装置を有してもよい。図10に、第1の変更例における分散処理サーバ100を示す。この場合、処理装置500は、入力部102、処理部104、データ量監視部106、タイムアウト決定部108、状態テーブル110、通知部112、状態テーブル更新部116を有する。また、外部接続装置600は、銘柄テーブル114、照合管理装置コード変換部120、照合管理装置通信部122、預託管理装置コード変換部130、預託管理装置通信部132、決済管理装置コード変換部140、及び決済管理装置通信部142を有する。
【0085】
これによって、処理装置500は、約定伝票の管理を行い、外部接続装置600は、外部処理装置との約定伝票の送受信を行うことができる。また、分散処理サーバ100は、処理装置500と外部接続装置600とを備えることで、各処理を分担することができるので、システムの再構築などを容易に行うことができる。例えば、新たに外部処理装置を追加する場合には、外部接続装置600のみ変更すればよい。また、本例は、処理装置500及び外部接続装置600の一例であって、処理装置500及び外部接続装置600の機能構成は、これに限定されない。例えば、銘柄テーブル114は、外部雪像装置600が有してもよい。
【0086】
また、他の例としては、分散処理サーバ100は、各外部処理装置毎に外部接続装置を有してもよい。本例の分散処理サーバ100を図11に示す。例えば、分散処理サーバ100は、処理装置500と、照合管理装置200との約定伝票の送受信を管理する照合管理接続装置610と、預託管理装置300との約定伝票の送受信を管理する預託管理接続装置620と、決済管理装置400との約定伝票の送受信を管理する決済管理接続装置630とを備えてもよい。この場合、照合管理接続装置、預託管理接続装置、及び決済管理接続装置それぞれが、銘柄テーブル114a、銘柄テーブル114b、及び銘柄テーブル114cを備えてもよい。各銘柄テーブル114は、それぞれサーバ銘柄コードと各外部装置における銘柄コードとを対応付ける。
【0087】
【発明の効果】
上記説明から明らかなように、本発明によれば分散処理サーバ100は、外部処理装置を用いて、処理対象データを効率的に処理することができる。
【図面の簡単な説明】
【図1】分散処理システム全体を示す図である。
【図2】約定伝票のデータフォーマットを示す図である。
【図3】分散処理サーバ100の機能構成を示すブロック図である。
【図4】銘柄テーブル114のデータ構成を示す図である。
【図5】状態テーブル110のデータ構成を示す図である。
【図6】分散処理サーバ100の動作を示すフローチャートである。
【図7】図6における銘柄確認段階(S102)における分散処理サーバ100の詳細な動作を示すフローチャートである。
【図8】図6における照合管理段階(S104)における分散処理サーバ100の詳細な動作を示すフローチャートである。
【図9】分散処理サーバ100のハードウェア構成を示す図である。
【図10】他の例における分散処理サーバ100の機能構成を示すブロック図である。
【図11】他の例における分散処理サーバ100の機能構成を示すブロック図である。
【符号の説明】
100 分散処理サーバ
102 入力部
104 処理部
106 データ量監視部
108 タイムアウト決定部
110 状態テーブル
112 通知部
114 銘柄テーブル
116 状態テーブル更新部
120 照合管理装置コード変換部
122 照合管理装置通信部
130 預託管理装置コード変換部
132 預託管理装置通信部
140 決済管理装置コード変換部
142 決済管理装置通信部
200 照合管理装置
300 預託管理装置
400 決済管理装置
500 処理装置
600 外部接続装置
610 照合管理接続装置
620 預託管理接続装置
630 決済管理接続装置
700 CPU
702 ROM
704 RAM
706 通信インタフェース
708 ハードディスクドライブ
710 データベースインタフェース
712 フロッピーディスクドライブ
714 CD−ROMドライブ
720 フロッピーディスク
722 CD−ROM
724 各種データベース
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a distributed processing server, a distributed processing system, a distributed processing method, and a program. In particular, the present invention relates to a distributed processing server, a distributed processing system, a distributed processing method, and a program that process data using an external processing device.
[0002]
[Prior art]
When a plurality of processes are performed on one data, a distributed processing system in which each of the plurality of processes is shared by different processing apparatuses may be used.
[0003]
[Problems to be solved by the invention]
There is a need for a distributed processing system that can process one data more efficiently when a plurality of processing devices share the processing.
[0004]
Therefore, an object of the present invention is to provide a distributed processing server, a distributed processing system, a distributed processing method, and a program that can solve the above-described problems. This object is achieved by a combination of features described in the independent claims. The dependent claims define further advantageous specific examples of the present invention.
[0005]
[Means for Solving the Problems]
That is, according to the first aspect of the present invention, a distributed processing server that processes processing target data by using an external processing device, the server identification information for identifying the processing target data in the distributed processing server. The processing unit that processes the processing target data, the in-server identification information, and the first identification information that identifies the processing target data in the first external processing device among the plurality of external processing devices. A data conversion table to be stored, an identification information conversion unit that converts the in-server identification information into the first identification information using the data conversion table, and the identification information conversion unit converts the in-server identification information into the server identification information. And a data delivery unit that causes the first external processing device to process the data to be processed using the first identification information after conversion to the first identification information.
[0006]
A status table that determines the processing status of the processing target data in at least one external processing device of the plurality of external processing devices, and a status table that updates the status table according to the processing status of the external processing device An update unit and a determination unit that allows the first external processing device to process the processing target data according to the state defined by the state table.
[0007]
When the determination unit allows the first external processing device to process the processing target data, the data transfer unit may transmit the processing target data to the first external processing device. .
[0008]
The state table may define a processing state of the processing target data in the first external processing device. The determination unit allows a second processing device of the plurality of external processing devices to process the processing target data according to a processing state of the first external processing device defined by the state table. May be. When the determination unit allows the second processing device to process the processing target data, the data transfer unit may transmit the processing target data to the second processing device.
[0009]
The data conversion table may associate the in-server identification information with second identification information for identifying the processing target data in a second external processing device among the plurality of external processing devices. The data delivery unit may transmit the processing target data to the second external processing device on condition that the identification information conversion unit has converted the in-server identification information into the second identification information.
[0010]
When the state table defines a processing end state indicating that the processing of the processing target data in the first processing device has ended, the determination unit sends the second external processing device to The processing target data may be allowed to be processed.
[0011]
When the state table defines either a transmitted state indicating that the processing target data has been transmitted to the first processing device or a timeout state indicating that a predetermined time has passed in the transmitted state In addition, the determination unit may not allow the second external processing device to process the processing target data.
[0012]
The state table may further include a notification unit that outputs a failure notification indicating that there is a possibility of failure in the processing of the first external processing device when the timeout state is defined.
[0013]
The state table update unit determines the timeout state when a predetermined time has elapsed after the state table has determined any one of the processable state, the process waiting state, and the process state. Also good.
[0014]
You may further provide the timeout determination part which determines the said predetermined time using the processing capacity of the said 1st processing apparatus.
[0015]
You may further provide the timeout determination part which determines the said predetermined time using the quantity of the data which the said 1st processing apparatus should process.
[0016]
You may further provide the data amount monitoring part which monitors the amount of data which the said 1st processing apparatus should process. The timeout determination unit may determine the predetermined time using the data amount monitored by the data amount monitoring unit.
[0017]
The processing target data may be a contract slip in a transaction.
[0018]
The distributed processing server may cause the matching slip to be processed by a collation device that performs processing related to collation, a depositing device that performs processing related to deposit, and a settlement device that performs processing related to settlement.
[0019]
In the verification device, when the status table determines that the processing related to verification of the contract slip has been completed, the determination unit may permit the processing of the contract slip in the depository device.
[0020]
In the case where the status table determines that the processing related to deposit of the contract slip has been completed in the deposit device, the determination unit may cause the settlement device to process the contract slip.
[0021]
According to a second aspect of the present invention, there is provided a distributed processing server that processes processing target data using an external processing device, and uses identification information in the server that identifies the processing target data in the distributed processing server. A processing device that processes the processing target data; and an external connection device that transmits and receives the processing target data to and from the external processing device. A data conversion table for storing the in-server identification information in association with the first identification information for identifying the processing target data in the first external processing device among the plurality of external processing devices; , Using the data conversion table, an identification information conversion unit that converts the in-server identification information into the first identification information, and after the identification information conversion unit has converted the in-server identification information into the first identification information. And a data delivery unit that causes the first external processing device to process the processing target data using the first identification information.
[0022]
According to a third aspect of the present invention, there is provided a distributed processing system for distributed processing of processing target data, wherein the processing target data is identified by first identification information, and the processing target data is identified using the first identification information. Using the data conversion table, the data conversion table for associating the first processing device to be processed, the first identification information, and the second identification information for identifying the processing target data by the second processing device, An identification information conversion unit that converts one identification information into the second identification information, and the processing using the second identification information after the identification information conversion unit converts the first identification information into the second identification information. A second processing device for processing the target data.
[0023]
The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described through embodiments of the invention. However, the embodiments do not limit the claimed invention, and all combinations of features described in the embodiments are essential for solving means of the invention. Not necessarily.
[0025]
The “contract slip” described in the detailed description is an example of “processing target data” described in the claims. The “brand table” described in the detailed description is an example of the “data conversion table” described in the claims. Further, the “processing unit” described in the detailed description includes the “determination unit” described in the claims. Further, the “collation management device communication unit”, “deposit management device communication unit”, and “payment management device communication unit” described in the detailed description are examples of the “data transfer unit” described in the claims. is there. The “verification management device”, “deposit management device”, and “payment management device” described in the detailed description are examples of the “external processing device” recited in the claims.
[0026]
FIG. 1 shows the entire distributed processing system including the distributed processing server 100. A distributed processing system processes data using a plurality of devices. The distributed processing system of this embodiment processes data indicating a contract slip in a transaction. The distributed processing system includes a distributed processing server 100, a collation management device 200, a deposit management device 300, and a settlement management device 400 as external processing devices that allow the distributed processing server 100 to process contract slips.
[0027]
The verification management device 200 performs processing related to verification on the contract slip. The deposit management apparatus 300 performs deposit processing on the contract slip. The settlement management device 400 performs processing related to settlement for the contract slip. The distributed processing server 100 transmits / receives a contract slip to / from the verification management device 200, the deposit management device 300, and the settlement management device 400 via a communication line. The communication line may be a dedicated line such as a LAN, and may be the Internet, for example. When receiving the contract slip, the distributed processing server 100 transmits the contract slip to the verification management device 200, the deposit management device 300, and the settlement management device 400, and receives the contract slip processed in each device. As described above, the distributed processing server 100 can process a contract slip using a plurality of external processing devices.
[0028]
FIG. 2 is a diagram showing a data format of the contract slip. The contract slip includes a contract slip ID that identifies each contract slip, a work date that indicates the date on which the contract slip was created, a customer code that identifies the customer who made the transaction, and the brand that is the subject of the transaction. Including the stock code shown, the trading market, the type of trading, the quantity of the traded stock, the unit price of the traded stock, the trading value, the consumption tax, and the commission for the trading .
[0029]
The collation management device 200, the deposit management device 300, and the settlement management device 400 assign unique brand codes to the same brand, and process the contract slip using each unique brand code. On the other hand, the distributed processing server 100 processes the contract slip using a server brand code that is a brand code unique to the server. Therefore, when sending a contract slip to each device, the stock code included in the contract slip is converted into a stock code used at the destination. As described above, the distributed processing server 100 can convert the content included in the contract slip into content suitable for each external processing device, and thus uses a plurality of external processing devices while maintaining the consistency of the contract slip. The contract slip can be processed.
[0030]
FIG. 3 is a functional block diagram showing a functional configuration of the distributed processing server 100. A series of operations of the distributed processing server 100 is realized mainly by the cooperation of a CPU, a program stored in a ROM, and a RAM. However, the distributed processing server 100 may be realized by other components, and the degree of design freedom is high. The distributed processing server 100 includes an input unit 102, a processing unit 104, a data amount monitoring unit 106, a timeout determination unit 108, a status table 110, a notification unit 112, a brand table 114, and a collation management device code conversion unit. 120, a verification management device communication unit 122, a deposit management device code conversion unit 130, a deposit management device communication unit 132, a payment management device code conversion unit 140, and a payment management device communication unit 142.
[0031]
The input unit 102 receives input of contract slip data in a transaction. As another example, the input unit 102 is a receiving unit, and may accept a contract slip via, for example, the Internet or a dedicated line.
[0032]
The status table 110 defines the processing status for the contract slip in the verification management device 200, deposit management device 300, and settlement management device 400. The processing state is a state indicating a progress state of the processing, for example, during processing or after processing. As described above, the state table 110 defines the processing state of the processing target data in at least one external processing device among a plurality of external processing devices.
[0033]
The processing unit 104 monitors the processing status of the contract slip in the verification management device 200, the deposit management device 300, and the settlement management device 400, and determines to which external processing device the contract slip is sent.
[0034]
The processing unit 104 can allow the verification management apparatus 200, the deposit management apparatus 300, and the settlement management apparatus 400 to process the contract slip according to the state defined by the state table 110.
[0035]
The data amount monitoring unit 106 monitors the amount of data to be processed by the collation management device 200 at predetermined time intervals. That is, the data amount monitoring unit 106 is transmitted from the distributed processing server 100 to the collation management device 200, and the processing in the collation management device 200 is not started, but is waiting for processing, that is, the contract slip that is waiting for processing Monitor the amount of data. Similarly, the data amount monitoring unit 106 monitors the amount of data to be processed by the deposit management device 300 and the payment management device 400.
[0036]
The timeout determination unit 108 receives information on the amount of data to be processed in the collation management device 200 from the data amount monitoring unit 106. The time-out determining unit 108 determines a predetermined time to be determined as time-out, that is, a time-out time, based on information on the data amount. Here, the time-out indicates that a predetermined time has passed without a response from the external processing device. At this time, the timeout determination unit 108 further considers the processing capability of the verification management device 200. Thus, the timeout determination unit 108 can determine an appropriate timeout by using the processing capability of each external processing device and the amount of data to be processed by each external processing device.
[0037]
The time-out determining unit 108 may receive information on the data amount from the data amount monitoring unit 106 only when the data amount in each external processing device has changed, or may receive it periodically.
[0038]
Similarly, the time-out determining unit 108 receives information related to the amount of data to be processed in the deposit management apparatus 300 and the payment management apparatus 400, and determines timeout times for the deposit management apparatus 300 and the payment management apparatus 400, respectively.
[0039]
For example, when the amount of data to be processed is large, it is expected that the time from requesting processing to receiving a response will be long. In this case, the timeout determining unit 108 sets a long timeout time. May be. Further, in the case of an external processing device with high processing capability, the data processing speed is fast, so the timeout determination unit 108 may set a short timeout time for this external processing device. In this way, the timeout determination unit 108 sets a basic time until timeout according to the processing capability of the external processing device, and further, from the data amount monitoring unit 106, the amount of data to be processed by each external processing device as needed. The time until timeout can be changed according to the amount of data to be processed. Therefore, the timeout can be determined more accurately.
[0040]
The state table update unit 116 updates the state table 110 according to the processing state of the contract slip in the verification management device 200, deposit management device 300, and settlement management device 400. The state table update unit 116 further receives a timeout time from the timeout determination unit 108 and monitors the timeout time in the collation management device 200, the deposit management device 300, and 040. The state table update unit 116 transmits the contract slip to the verification management device 200, and when the time-out time has elapsed without being processed normally, the state table update unit 116 determines that a time-out has occurred and updates the state table 110.
[0041]
The brand table 114 includes a server brand code used in the server, a matching brand code used for identifying the same brand in the matching management device 200, the deposit management device 300, and the settlement management device 400, and a deposit code. Corresponding stock code and settlement stock code.
[0042]
The verification management device code conversion unit 120 converts the server brand code and the verification brand code using the brand table 114. The collation management device communication unit 122 transmits the contract slip to the collation management device 200 after the collation management device code conversion unit 120 converts the server stock code into the collation stock code, and collates the contract slip using the collation stock code. The management apparatus 200 performs processing.
[0043]
The deposit management apparatus code conversion unit 130 converts the server brand code and the deposit brand code using the brand table 114. The deposit management device communication unit 132 transmits the contract slip to the deposit management device 300 after the deposit management device code conversion unit 130 converts the server brand code into the deposit brand code, and deposits the contract slip using the deposit brand code. The management apparatus 300 is made to process.
[0044]
The settlement management device code conversion unit 140 converts the server brand code and the settlement brand code using the brand table 114. The settlement management device communication unit 142 transmits the contract slip to the settlement management device 400 after the collation management device code conversion unit 120 converts the server brand code into the settlement brand code, and settles the contract slip using the settlement brand code. The management apparatus 400 performs processing.
[0045]
The notification unit 112 outputs a failure notification indicating that there is a possibility of failure in the processing of the verification management device 200 when the status table 110 defines a timeout state in the verification management device 200. As described above, when the timeout state is detected, the distributed processing server 100 outputs a failure notification, so that the operator of the distributed processing server 100 can recognize the possibility of the failure.
[0046]
As another example, the notification unit 112 may transmit a failure notification to the verification management device 200. As a result, the verification management apparatus 200 can be notified of the possibility of failure.
[0047]
The notification unit 112 similarly outputs a failure notification even when the state table 110 defines a timeout state in the deposit management device 300 and the payment management device 400.
[0048]
FIG. 4 shows the data structure of the brand table 114. The brand table 114 includes a server brand code field, a matching brand code field, a deposit brand code field, and a settlement brand code field.
[0049]
The server brand code field stores a server brand code for identifying a brand in the distributed processing server 100. The verification brand code field stores a verification brand code for identifying a brand in the verification management device 200. The deposit brand code field stores a deposit brand code for identifying a brand in the deposit management apparatus 300. The settlement brand code field stores a settlement brand code for identifying a brand in the settlement management apparatus 400.
[0050]
As described above, the brand table 114 stores the matching brand code, the deposit brand code, and the settlement brand code for identifying the same brand in association with the server brand code for identifying the brand in the distributed processing server 100. Therefore, when the distributed processing server 100 requests the verification management device 200, the deposit management device 300, and the settlement management device 400 to process the contract slip, the stock code included in the contract slip is used using the stock table 114. Can be converted into a brand code used in the requested apparatus. Therefore, the distributed processing server 100 can request the processing of the contract slip to the external processing device that manages the brand using a brand code different from that of the distributed processing server 100.
[0051]
FIG. 5 shows the data structure of the state table 110. The status table 110 includes a contract slip ID field, a verification status field, a deposit status field, and a settlement status field.
[0052]
The contract slip ID field stores a contract slip ID for identifying a contract slip. The collation status field stores the processing status of the collation management device 200 for the contract slip transmitted from the distributed processing server 100 to the collation management device 200. The deposit status field stores the processing status of the deposit management device 300 for the contract slip transmitted from the distributed processing server 100 to the deposit management device 300. The payment status field stores the processing status of the payment management device 400 for the contract slip transmitted from the distributed processing server 100 to the payment management device 400.
[0053]
As described above, the status table 110 stores the processing status of the contract slips in the verification management device 200, the deposit management device 300, and the settlement management device 400 for each contract slip. Therefore, the processing unit 104 can recognize the processing status of each contract slip using the status table 110, and determine the processing to be performed on each contract slip based on the processing status.
[0054]
The verification status field, deposit status field, and settlement status field are an unaccepted field, a transmitted field, a response OK field, a response NG field, a response waiting field, a timeout field, a transmission time field, and a response, respectively. And a time field.
[0055]
Here, each field included in the collation state field will be described. The unaccepted field stores a flag indicating unaccepted when a contract slip is not transmitted from the distributed processing server 100 to the verification management device 200. The transmitted field stores a flag indicating that transmission has been performed when a contract slip is transmitted from the distributed processing server 100 to the verification management device 200. The response OK field stores a flag indicating a normal end when the distributed processing server 100 receives a response indicating that the processing is normally completed from the verification management apparatus 200. The response NG field stores a flag indicating abnormal end when the distributed processing server 100 receives a response indicating that the processing has not ended normally from the verification management device 200. The reply awaiting field stores a flag indicating a reply waiting when the distributed processing server 100 transmits a contract slip to the collation management apparatus 200 and the distributed processing server 100 has not received a reply from the collation management apparatus 200. The time-out field stores a flag indicating a time-out when the state table update unit 116 determines that a time-out has occurred, that is, when the time-out period has elapsed without a response from the verification management device 200.
[0056]
The transmission time field stores the time when the contract slip is transmitted from the distributed processing server 100 to the verification management device 200. The response time field stores the time when the distributed processing server 100 receives the contract slip from the verification management device 200.
[0057]
As described above, the status table 110 indicates how each contract slip transmitted to the verification management device 200, the deposit management device 300, and the settlement management device 400 is in each processing state in each external processing device. Set for each. Accordingly, the processing unit 104 can perform processing on the contract slip based on the state table 110.
[0058]
FIG. 6 is a flowchart showing the operation of the distributed processing server 100. When the input unit 102 of the distributed processing server 100 receives the contract slip (S100), the processing unit 104 sends the contract slip to the collation management device code conversion unit 120. Next, the verification management apparatus code conversion unit 120 converts the server brand code of the brand included in the contract slip into the matching brand code using the brand table 114 (S102). Next, the collation management device communication unit 122 transmits the contract slip to the collation management device 200, and causes the collation management device 200 to perform collation processing of the contract slip (S104).
[0059]
When the verification processing of the contract slip in the verification management device 200 ends, the processing unit 104 sends the contract slip to the deposit management device code conversion unit 130. Next, the deposit management apparatus code conversion unit 130 converts the server brand code of the brand included in the contract slip into the deposit brand code using the brand table 114 (S106). Next, the deposit management apparatus communication unit 132 transmits the contract slip to the deposit management apparatus 300, and causes the deposit management apparatus 300 to perform contract slip verification processing (S108).
[0060]
When the deposit processing of the contract slip in the deposit management device 300 is completed, the processing unit 104 sends the contract slip to the settlement management device code conversion unit 140. Next, the settlement management device code conversion unit 140 converts the server brand code of the brand included in the contract slip into the settlement brand code using the brand table 114 (S110). Next, the settlement management device communication unit 142 transmits the contract slip to the settlement management device 400, and causes the settlement management device 400 to perform settlement processing of the contract slip (S112). Thus, the operation of the distributed processing server 100 ends.
[0061]
As described above, the distributed processing server 100 can process the contract slip using the collation management device 200, the deposit management device 300, and the settlement management device 400. The distributed processing server 100 further sends the contract slip to the deposit management device 300 after the processing in the collation management device 200 ends, and sends the contract slip to the settlement management device 400 after the processing in the deposit management device 300 ends. As described above, the distributed processing server 100 can send the contract slips to the external processing device in a predetermined order. Therefore, the distributed processing server 100 can process the contract slips in a predetermined order.
[0062]
FIG. 7 is a flowchart showing the detailed operation of the distributed processing server 100 in the brand confirmation stage (S102) described in FIG. When the processing unit 104 receives the contract slip from the input unit 102, the processing unit 104 sends the contract slip to the collation management device code conversion unit 120. The collation management device code conversion unit 120 uses the brand table 114 to search for a server brand code included in the contract slip (S200). If the contract slip includes the server brand code stored in the brand table 114 (S202), the verification management apparatus code conversion unit 120 converts the server brand code into the verification brand code (S204). If the server brand code is not included in the contract slip, the process jumps to S104.
[0063]
As described above, the distributed processing server 100 converts the server brand code into the matching brand code when the server brand code is included in the contract slip to be transmitted to the matching management apparatus 200. Therefore, the verification management apparatus 200 can process the contract slip using the verification brand code for identifying the brand within the apparatus.
[0064]
FIG. 8 is a flowchart showing the detailed operation of the distributed processing server 100 in the collation processing stage (S104) described in FIG. When the matching management device code conversion unit 120 converts the server brand code into the matching brand code, the processing unit 104 allows the matching management device 200 to process the contract slip. In addition, after the collation management device code conversion unit 120 converts the server brand code into the collation brand code, the collation management device communication unit 122 transmits the contract slip to the collation management device 200 and executes the contract with the collation management device 200. The slip is collated (S300). The verification management device 200 processes the contract slip using the verification brand code.
[0065]
Next, the data amount monitoring unit 106 monitors the data amount in the collation management device 200 (S302). Next, the timeout determination unit 108 determines a timeout period based on the data amount monitored by the data amount monitoring unit 106 and the processing capability of the verification management device 200 (S304).
[0066]
Next, the processing unit 104 monitors the processing of the contract slip in the verification management device 200 (S306). At this time, the status table update unit 116 updates the status table 110 according to the processing status of the contract slip in the verification management device 200 monitored by the processing unit 104. When the processing unit 104 receives a response OK indicating that the processing has been normally completed via the verification management device communication unit 122, the state table update unit 116 sets the response OK in the verification status field of the status table 110. (S308). In this case, the matching management device code conversion unit 120 searches for the matching brand code from the contract slip. When the matching stock code is included in the contract slip (S310), the matching management device code conversion unit 120 converts the matching stock code into the server stock code (S312).
[0067]
Next, the processing unit 104 sends the contract slip to the deposit management apparatus code conversion unit 130 (S314). On condition that the deposit management apparatus code conversion unit 130 has converted the server brand code included in the contract slip into the deposit brand code, the processing unit 104 permits the processing of the contract slip in the deposit management apparatus 300 (S316).
[0068]
As another example, when the processing unit 104 sends a contract slip from the verification management device code conversion unit 120 to the deposit management device code conversion unit 130, the deposit management device code conversion unit 130 selects the verification brand code included in the contract slip. It may be converted directly into a deposit code. That is, the collation management device code conversion unit 120 sends the contract slip to the processing unit 104 without converting the collation code included in the contract slip, and the processing unit 104 transfers the received contract slip to the deposit management device code conversion unit. 130. The deposit management device code conversion unit 130 converts the verification brand code included in the received contract slip into a deposit brand code.
[0069]
In this case, the operation of the distributed processing server 100 proceeds to the brand code conversion stage (S106) in the deposit management described with reference to FIG. Here, after the deposit management apparatus code conversion unit 130 converts the server brand code into the deposit brand code (S106), the deposit management apparatus communication unit 132 transmits the contract slip to the deposit management apparatus 300, and sends it to the deposit management apparatus 300. On the other hand, the contract slip is processed (S108). The operations of the distributed processing server 100 in the brand code conversion stage (S106) and the deposit processing stage (S108) are distributed in the brand code conversion stage (S104) and the collation management stage (S104) described with reference to FIGS. Since it is the same as the operation of the processing server 100, the description is omitted. In this case, the processing unit 104 receives the response OK via the deposit management apparatus communication unit 132, and sets the response OK in the deposit status field of the status table 110 (S308). Further, the processing unit 104 allows the settlement management device 400 to process the contract slip on condition that the settlement management device code conversion unit 140 converts the server brand code included in the contract slip into the settlement brand code (S316).
[0070]
Further, the detailed operation of the distributed processing server 100 in the brand code conversion stage (S110) and the settlement process stage (S112) in the settlement process is also the brand code conversion stage (S106) and the collation management stage described in FIGS. Since it is the same as the operation of the distributed processing server 100 in (S104), the description is omitted. In this case, when the processing unit 104 receives the reply OK via the settlement management device communication unit 142, the processing unit 104 determines the reply OK in the settlement state field of the state table 110 (S308). In this case, instead of S316, it is determined that the processing for the contract slip has been completed.
[0071]
In the processing state monitoring stage (S306), when the processing unit 104 does not receive a response OK via the verification management device communication unit 122 (S308) and receives a response NG (S320), the state table update unit 116 A response NG is determined in the table 110. Next, the notification unit 112 outputs a message indicating that the process in the verification management device 200 has not ended normally (S322). In this case, the operation of the distributed processing server 100 ends here.
[0072]
As another example, when the distributed processing server 100 receives a response NG from the verification management apparatus 200, the distributed processing server 100 may transmit the same contract slip to the verification management apparatus 200 again. In this case, for example, when the response NG is received again, the notification unit 112 may output that the notification unit 112 did not end normally.
[0073]
In the processing state monitoring stage (S306), when the processing unit 104 does not receive the response OK via the collation management device communication unit 122 (S308) and does not receive the response NG (S320), the state table update unit 116 Determines waiting for a response in the collation status field of the status table 110 (S330). When the timeout period has elapsed in the response wait state (S332), the state table update unit 116 determines a timeout state in the collation state field of the state table 110 (S334). Next, the notification unit 112 outputs a failure notification (S336). In this case, the operation of the distributed processing server 100 ends here.
[0074]
As described above, when the time-out state occurs, the notification unit 112 outputs a failure notification, so that the operator of the distributed processing server 100 can recognize that the process in the collation management device 200 is not normally performed.
[0075]
If the time-out period has not elapsed in S320, the process returns to the process state monitoring stage (S306) again, and the processing unit 104 monitors the process state in the collation management apparatus 200. This completes the detailed operation of the distributed processing server 100 in the verification monitoring stage. As described above, the distributed processing server 100 can monitor the processing status of the contract slip in the verification management device 200. Therefore, the distributed processing server 100 can determine the next process for the contract slip according to the state of the process for the contract slip in the verification management device 200.
[0076]
FIG. 9 is a diagram illustrating a hardware configuration of the distributed processing server 100. The distributed processing server 100 includes a CPU 700, a ROM 702, a RAM 704, a communication interface 706, a hard disk drive 708, a database interface 710, a floppy disk drive 712, and a CD-ROM drive 714. CPU 700 operates based on programs stored in ROM 702 and RAM 704. The communication interface 706 communicates with the outside via the Internet 10. The database interface 710 writes data into the database and updates the contents of the database. A hard disk drive 708 as an example of a storage device stores setting information and a program on which the CPU 700 operates.
[0077]
The floppy disk drive 712 reads data or a program from the floppy disk 720 (registered trademark) and provides it to the CPU 700. The CD-ROM drive 714 reads data or a program from the CD-ROM 722 and provides it to the CPU 700. The communication interface 706 connects to the Internet 10 and transmits / receives data. The database interface 710 is connected to various databases 724 to transmit / receive data.
[0078]
Software executed by the CPU 700 is stored in a recording medium such as the floppy disk 720 or the CD-ROM 722 and provided to the user. Software stored in the recording medium may be compressed or uncompressed. The software is installed in the hard disk drive 708 from the recording medium, read into the RAM 704, and executed by the CPU 700.
[0079]
Software provided by being stored in a recording medium, that is, software installed in the hard disk drive 708 includes, as a functional configuration, an input module, a processing module, a data amount monitoring module 106, a timeout determination module, a notification module, A verification management device code conversion module, a verification management device communication module, a deposit management device code conversion module, a deposit management device communication module, a payment management device code conversion module, and a payment management device communication module. The processing that each module causes the computer to perform by the CPU 700 is the same as the function and operation of the corresponding member in the distributed processing server 100 according to the present embodiment, and thus description thereof is omitted.
[0080]
The floppy disk 720 or the CD-ROM 722 as an example of the recording medium illustrated in FIG. 9 may store a part or all of the functions of the distributed processing server 100 in all the embodiments described in this application. it can.
[0081]
These programs may be read directly from the recording medium into the RAM and executed, or once installed in the hard disk drive, read out into the RAM and executed. Further, the program may be stored in a single recording medium or a plurality of recording media. Alternatively, it may be stored in an encoded form.
[0082]
As recording media, in addition to floppy disks and CD-ROMs, optical recording media such as DVD, magnetic recording media such as MD, magneto-optical recording media such as PD, tape media, magnetic recording media, IC cards and miniature cards A semiconductor memory such as can be used. Further, a storage device such as a hard disk or RAM provided in a server system connected to a dedicated communication network or the Internet may be used as a recording medium, and the program may be provided to the distributed processing server 100 via the communication network. Such a recording medium is used only for manufacturing the distributed processing server 100, and manufacturing and sales of such a recording medium as a business constitutes infringement of patent rights based on the present application. Is clear.
[0083]
As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various modifications or improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
[0084]
Such a first modification will be described. The distributed processing server 100 according to the present embodiment includes a collation management device code conversion unit 120, a collation management device communication unit 122, a deposit management device code conversion unit 130, a deposit management device communication unit 132, a payment management device code conversion unit 140, a payment A management device communication unit 142 is provided. As another example, the distributed processing server 100 may include two devices, a processing device and an external connection device. FIG. 10 shows the distributed processing server 100 in the first modification. In this case, the processing apparatus 500 includes an input unit 102, a processing unit 104, a data amount monitoring unit 106, a timeout determination unit 108, a state table 110, a notification unit 112, and a state table update unit 116. The external connection device 600 includes a brand table 114, a verification management device code conversion unit 120, a verification management device communication unit 122, a deposit management device code conversion unit 130, a deposit management device communication unit 132, a settlement management device code conversion unit 140, And a settlement management device communication unit 142.
[0085]
Accordingly, the processing device 500 can manage contract slips, and the external connection device 600 can transmit / receive contract slips to / from the external processing device. Further, since the distributed processing server 100 includes the processing device 500 and the external connection device 600, each processing can be shared, so that the system can be easily reconstructed. For example, when a new external processing device is added, only the external connection device 600 needs to be changed. In addition, this example is an example of the processing device 500 and the external connection device 600, and the functional configurations of the processing device 500 and the external connection device 600 are not limited thereto. For example, the brand table 114 may be included in the external snow image device 600.
[0086]
As another example, the distributed processing server 100 may include an external connection device for each external processing device. A distributed processing server 100 of this example is shown in FIG. For example, the distributed processing server 100 includes a verification management connection device 610 that manages transmission / reception of contract slips between the processing device 500 and the verification management device 200, and a deposit management connection device that manages transmission / reception of contract slips with the deposit management device 300. 620 and a payment management connection device 630 for managing transmission / reception of contract slips with the payment management device 400 may be provided. In this case, each of the verification management connection device, the deposit management connection device, and the settlement management connection device may include a brand table 114a, a brand table 114b, and a brand table 114c. Each brand table 114 associates a server brand code with a brand code in each external device.
[0087]
【The invention's effect】
As is clear from the above description, according to the present invention, the distributed processing server 100 can efficiently process the processing target data using the external processing device.
[Brief description of the drawings]
FIG. 1 is a diagram showing an entire distributed processing system.
FIG. 2 is a diagram showing a data format of a contract slip.
3 is a block diagram showing a functional configuration of the distributed processing server 100. FIG.
4 is a diagram showing a data structure of a brand table 114. FIG.
FIG. 5 is a diagram showing a data structure of a state table 110.
6 is a flowchart showing the operation of the distributed processing server 100. FIG.
7 is a flowchart showing detailed operations of the distributed processing server 100 in the brand confirmation stage (S102) in FIG. 6;
FIG. 8 is a flowchart showing a detailed operation of the distributed processing server 100 in the collation management stage (S104) in FIG.
9 is a diagram illustrating a hardware configuration of the distributed processing server 100. FIG.
FIG. 10 is a block diagram showing a functional configuration of a distributed processing server 100 in another example.
FIG. 11 is a block diagram showing a functional configuration of a distributed processing server 100 in another example.
[Explanation of symbols]
100 Distributed processing server
102 Input section
104 processor
106 Data volume monitoring unit
108 Timeout determining part
110 Status table
112 Notification unit
114 brand table
116 State table update unit
120 collation management device code conversion unit
122 Verification management device communication unit
130 Deposit Management Device Code Conversion Unit
132 Deposit Management Device Communication Department
140 Payment Management Device Code Conversion Unit
142 Payment Management Device Communication Unit
200 verification management device
300 Deposit management device
400 Payment management device
500 processor
600 External connection device
610 Verification management connection device
620 Deposit management connection device
630 Payment management connection device
700 CPU
702 ROM
704 RAM
706 Communication interface
708 hard disk drive
710 Database interface
712 Floppy disk drive
714 CD-ROM drive
720 floppy disk
722 CD-ROM
724 Databases

Claims (18)

複数の外部処理装置を用いて、処理対象データを処理する分散処理サーバであって、
前記分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理する処理部と、
前記サーバ内識別情報と、前記複数の外部処理装置のうち第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルと、
前記データ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換する識別情報変換部と、
前記識別情報変換部が前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡部と、
前記複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める状態テーブルと、
前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新する状態テーブル更新部と、
前記状態テーブルが定める前記状態に応じて、前記第1外部処理装置に対して、前記処理対象データの処理を許容する判断部と
を備え、
前記状態テーブルが、前記第1外部処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断部は、前記複数の外部処理装置のうち第2外部処理装置に対して、前記処理対象データの処理を許容しない
ことを特徴とする分散処理サーバ。
A distributed processing server that processes data to be processed using a plurality of external processing devices,
A processing unit for processing the processing target data using in-server identification information for identifying the processing target data in the distributed processing server;
A data conversion table for storing the in-server identification information and first identification information for identifying the processing target data in the first external processing device among the plurality of external processing devices;
An identification information conversion unit that converts the in-server identification information into the first identification information using the data conversion table;
A data delivery unit that causes the first external processing device to process the processing target data using the first identification information after the identification information conversion unit has converted the in-server identification information into the first identification information;
A state table for determining a state of processing of the processing target data in at least one external processing device among the plurality of external processing devices;
A state table update unit that updates the state table according to the processing state of the external processing device;
A determination unit that allows the first external processing device to process the processing target data according to the state defined by the state table;
The state table defines one of a transmitted state indicating a state in which processing target data is transmitted to the first external processing device and a time-out state indicating that a predetermined time has passed in the transmitted state. In this case, the determination unit does not allow the second external processing device among the plurality of external processing devices to process the processing target data.
前記判断部が、前記第1外部処理装置に対して、前記処理対象データの処理を許容する場合に、前記データ受渡部は、前記処理対象データを前記第1外部処理装置に送信することを特徴とする請求項1に記載の分散処理サーバ。  When the determination unit allows the first external processing device to process the processing target data, the data transfer unit transmits the processing target data to the first external processing device. The distributed processing server according to claim 1. 前記状態テーブルは、前記第1外部処理装置における前記処理対象データの処理の状態を定め、
前記判断部は、前記状態テーブルが定める前記第1外部処理装置の処理の状態に応じて、前記第2外部処理装置に対して、前記処理対象データの処理を許容し、
前記判断部が、前記第2外部処理装置に対して、前記処理対象データの処理を許容する場合に、前記データ受渡部は、前記処理対象データを前記第2外部処理装置に送信することを特徴とする請求項2に記載の分散処理サーバ。
The state table defines a processing state of the processing target data in the first external processing device,
The determination unit allows the second external processing device to process the processing target data according to a processing state of the first external processing device defined by the state table.
When the determination unit allows the second external processing device to process the processing target data, the data transfer unit transmits the processing target data to the second external processing device. The distributed processing server according to claim 2.
前記データ変換テーブルは、さらに、前記サーバ内識別情報と、前記第2外部処理装置内で前記処理対象データを識別する第2識別情報とを対応付け、
前記識別情報変換部が、前記サーバ内識別情報を前記第2識別情報に変換したことを条件として、前記データ受渡部は、前記処理対象データを前記第2外部処理装置に送信することを特徴とする請求項1〜3のいずれかに記載の分散処理サーバ。
The data conversion table further associates the in- server identification information with second identification information for identifying the processing target data in the second external processing device,
The data delivery unit transmits the processing target data to the second external processing device on condition that the identification information conversion unit has converted the in-server identification information into the second identification information. The distributed processing server according to claim 1.
前記状態テーブルが、前記第1外部処理装置における前記処理対象データの処理が終了していることを示す処理終了状態を定めている場合に、前記判断部は、前記第2外部処理装置に対して、前記処理対象データの処理を許容することを特徴とする請求項1〜4のいずれかに記載の分散処理サーバ。  When the state table defines a processing end state indicating that the processing of the processing target data in the first external processing device has ended, the determination unit determines whether or not the second external processing device 5. The distributed processing server according to claim 1, wherein the processing target data is allowed to be processed. 前記状態テーブルが、前記タイムアウト状態を定めている場合に、前記第1外部処理装置の処理に障害の可能性があることを示す障害通知を出力する通知部をさらに備えることを特徴とする請求項1〜5のいずれかに記載の分散処理サーバ。  The information processing apparatus according to claim 1, further comprising: a notification unit that outputs a failure notification indicating that there is a possibility of a failure in the processing of the first external processing device when the state table defines the timeout state. The distributed processing server in any one of 1-5. 前記状態テーブルが前記第1外部装置から正常に処理が終了したことを示す返答を受け取っていない状態である返答待ち状態を定めた後に、所定の時間が経過した場合に、前記状態テーブル更新部は、前記タイムアウト状態を定めることを特徴とする請求項1〜6のいずれかに記載の分散処理サーバ。  When a predetermined time has elapsed after determining a reply waiting state in which the state table has not received a reply indicating that the processing has been normally completed from the first external device, the state table updating unit The distributed processing server according to claim 1, wherein the timeout state is defined. 前記所定の時間を、前記第1外部処理装置の処理能力を用いて決定するタイムアウト決定部をさらに備えることを特徴とする請求項1〜7のいずれかに記載の分散処理サーバ。  The distributed processing server according to claim 1, further comprising a time-out determining unit that determines the predetermined time using a processing capability of the first external processing device. 前記所定の時間を、前記第1外部処理装置が処理すべきデータの量を用いて決定するタイムアウト決定部をさらに備えることを特徴とする請求項1〜8のいずれかに記載の分散処理サーバ。  The distributed processing server according to claim 1, further comprising a timeout determination unit that determines the predetermined time using an amount of data to be processed by the first external processing device. 前記第1外部処理装置が処理すべきデータの量を監視するデータ量監視部をさらに備え、
前記タイムアウト決定部は、前記データ量監視部が監視する前記データ量を用いて、前記所定の時間を決定することを特徴とする請求項9に記載の分散処理サーバ。
A data amount monitoring unit for monitoring the amount of data to be processed by the first external processing device;
The distributed processing server according to claim 9, wherein the timeout determination unit determines the predetermined time using the data amount monitored by the data amount monitoring unit.
前記処理対象データは、取引における約定伝票であることを特徴とする請求項1〜10のいずれかに記載の分散処理サーバ。  The distributed processing server according to claim 1, wherein the processing target data is a contract slip in a transaction. 前記分散処理サーバは、照合に関する処理を行う照合装置、預託に関する処理を行う預託装置、及び決済に関する処理を行う決済装置に、前記約定伝票を処理させることを許容すること特徴とする請求項11に記載の分散処理サーバ。  The distributed processing server allows a collation device that performs processing related to collation, a depository device that performs processing related to deposit, and a settlement device that performs processing related to settlement to process the contract slip. The distributed processing server described. 前記照合装置において、前記約定伝票の照合に関する処理を終了したことを、前記状態テーブルが定める場合に、前記判断部は、前記預託装置における前記約定伝票の処理を許可することを特徴とする請求項12に記載の分散処理サーバ。  The said verification part permits the process of the said contract slip in the said depositing apparatus, when the said state table determines that the process regarding the verification of the said contract slip was complete | finished in the said collation apparatus. 12. The distributed processing server according to 12. 前記状態テーブルが、前記預託装置において、前記約定伝票の預託に関する処理を終了したことを定める場合に、前記判断部は、前記決済装置に、前記約定伝票を処理させることを許容することを特徴とする請求項12に記載の分散処理サーバ。  The determination unit allows the settlement device to process the contract slip when the state table determines that the processing related to the deposit of the contract slip has been completed in the deposit device. The distributed processing server according to claim 12. 複数の外部処理装置を用いて、処理対象データを処理する分散処理サーバであって、
前記分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理する処理装置と、
前記複数の外部処理装置に対して、前記処理対象データを送受信する外部接続装置と、
前記複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める状態テーブルと、
前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新する状態テーブル更新部と、
前記状態テーブルが定める前記状態に応じて、前記複数の外部処理装置のうち第1外部処理装置に対して、前記処理対象データの処理を許容する判断部と
を備え、
前記外部接続装置は、
前記サーバ内識別情報と、前記第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルと、
前記データ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換する識別情報変換部と、
前記識別情報変換部が前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡部とを有し、
前記状態テーブルが、前記第1外部処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断部は、前記複数の外部処理装置のうち第2外部処理装置に対して、前記処理対象データの処理を許容しない
ことを特徴とする分散処理サーバ。
A distributed processing server that processes data to be processed using a plurality of external processing devices,
A processing device for processing the processing target data using in-server identification information for identifying the processing target data in the distributed processing server;
An external connection device that transmits / receives the processing target data to / from the plurality of external processing devices;
A state table for determining a state of processing of the processing target data in at least one external processing device among the plurality of external processing devices;
A state table update unit that updates the state table according to the processing state of the external processing device;
A determination unit that allows the first external processing device among the plurality of external processing devices to process the processing target data according to the state defined by the state table;
The external connection device is:
A data conversion table for storing the in-server identification information and the first identification information for identifying the processing target data in the first external processing device in association with each other;
An identification information conversion unit that converts the in-server identification information into the first identification information using the data conversion table;
A data delivery unit that causes the first external processing device to process the processing target data using the first identification information after the identification information conversion unit converts the in-server identification information into the first identification information; Have
The state table defines one of a transmitted state indicating a state in which processing target data is transmitted to the first external processing device and a time-out state indicating that a predetermined time has passed in the transmitted state. In this case, the determination unit does not allow the second external processing device among the plurality of external processing devices to process the processing target data.
処理対象データを分散処理する分散処理システムであって、
前記処理対象データを第1識別情報により識別し、当該第1識別情報を用いて前記処理対象データを処理する第1外部処理装置と、
前記処理対象データを第2識別情報により識別し、前記第2識別情報を用いて前記処理対象データを処理する第2外部処理装置と、
前記第1識別情報と、前記第2外部処理装置で当該処理対象データを識別する第2識別情報とを対応付けるデータ変換テーブルと、
前記データ変換テーブルを用いて、前記第1識別情報を前記第2識別情報に変換する識別情報変換部と、
複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める状態テーブルと、
前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新する状態テーブル更新部と、
前記状態テーブルが定める前記状態に応じて、前記第1外部処理装置に対して、前記処理対象データの処理を許容する判断部と
を備え、
前記状態テーブルが、前記第1外部処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断部は、前記第2外部処理装置に対して、前記処理対象データの処理を許容しない
ことを特徴とする分散処理システム。
A distributed processing system for distributed processing of processing target data,
A first external processing device for identifying the processing target data by first identification information and processing the processing target data using the first identification information;
A second external processing device for identifying the processing target data by second identification information, and processing the processing target data using the second identification information;
A data conversion table associating the first identification information with the second identification information for identifying the processing target data in the second external processing device;
An identification information conversion unit that converts the first identification information into the second identification information using the data conversion table;
A state table for determining a state of processing of the processing target data in at least one external processing device among a plurality of external processing devices;
A state table update unit that updates the state table according to the processing state of the external processing device;
A determination unit that allows the first external processing device to process the processing target data according to the state defined by the state table;
The state table defines one of a transmitted state indicating a state in which processing target data is transmitted to the first external processing device and a time-out state indicating that a predetermined time has passed in the transmitted state. In this case, the determination unit does not allow the second external processing device to process the processing target data.
複数の外部処理装置を用いて、処理対象データを処理する分散処理方法であって、
分散処理サーバが、当該分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理する処理段階と、
前記分散処理サーバが、前記サーバ内識別情報と、前記複数の外部処理装置のうち第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換する識別情報変換段階と、
前記分散処理サーバが、前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡段階と
前記複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定める状態テーブル格納段階と、
前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新する状態テーブル更新段階と、
前記状態テーブルが定める前記状態に応じて、前記第1外部処理装置に対して、前記処理対象データの処理を許容する判断段階と
を備え、
前記状態テーブルが、前記第1外部処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断段階では、前記複数の外部処理装置のうち第2外部処理装置に対して、前記処理対象データの処理を許容しない
ことを特徴とする分散処理方法。
A distributed processing method for processing data to be processed using a plurality of external processing devices,
A processing stage in which the distributed processing server processes the processing target data using in-server identification information for identifying the processing target data in the distributed processing server;
A data conversion table in which the distributed processing server stores the in-server identification information and first identification information for identifying the processing target data in the first external processing device among the plurality of external processing devices in association with each other. Using an identification information conversion step of converting the in-server identification information into the first identification information;
A data delivery step for causing the first external processing device to process the processing target data using the first identification information after the distributed processing server has converted the in-server identification information into the first identification information; A state table storage stage for determining a processing state of the processing target data in at least one of the plurality of external processing devices;
A state table update stage for updating the state table according to the processing state of the external processing device;
A determination step of allowing the first external processing device to process the processing target data according to the state defined by the state table;
The state table defines one of a transmitted state indicating a state in which processing target data is transmitted to the first external processing device and a time-out state indicating that a predetermined time has passed in the transmitted state. In this case, in the determination step, the distributed processing method is characterized in that the processing of the processing target data is not permitted to a second external processing device among the plurality of external processing devices.
複数の外部処理装置を用いて、処理対象データをコンピュータに処理させるプログラムであって、
分散処理サーバ内で前記処理対象データを識別するサーバ内識別情報を用いて、前記処理対象データを処理させる処理モジュールと、
前記サーバ内識別情報と、前記複数の外部処理装置のうち第1外部処理装置内で前記処理対象データを識別する第1識別情報とを対応付けて格納するデータ変換テーブルを用いて、前記サーバ内識別情報を前記第1識別情報に変換させる識別情報変換モジュールと、
前記識別情報変換モジュールが前記サーバ内識別情報を前記第1識別情報に変換した後に、前記第1識別情報を用いて、前記処理対象データを前記第1外部処理装置に処理させるデータ受渡モジュールと、
前記複数の外部処理装置のうち少なくとも1の外部処理装置における、前記処理対象データの処理の状態を定めさせる状態テーブル格納モジュールと、
前記外部処理装置の処理の状態に応じて、前記状態テーブルを更新させる状態テーブル更新モジュールと、
前記状態テーブルが定める前記状態に応じて、前記第1外部処理装置に対して、前記処理対象データの処理を許容させる判断モジュールと
を備え、
前記状態テーブルが、前記第1外部処理装置に処理対象データが送信された状態を示す送信済み状態、及び送信済み状態のまま所定の時間が経過したことを示すタイムアウト状態のいずれかを定めている場合に、前記判断モジュールは、前記複数の外部処理装置のうち第2外部処理装置に対して、前記処理対象データの処理を許容させない
ことを特徴とするプログラム。
A program for causing a computer to process data to be processed using a plurality of external processing devices,
A processing module for processing the processing target data using in-server identification information for identifying the processing target data in a distributed processing server;
Using the data conversion table that stores the identification information in the server in association with the first identification information for identifying the processing target data in the first external processing device among the plurality of external processing devices. An identification information conversion module for converting identification information into the first identification information;
A data delivery module that causes the first external processing device to process the processing target data using the first identification information after the identification information conversion module converts the in-server identification information to the first identification information;
A state table storage module for determining a processing state of the processing target data in at least one of the plurality of external processing devices;
A status table update module that updates the status table according to the processing status of the external processing device;
A determination module that allows the first external processing device to process the processing target data according to the state defined by the state table;
The state table defines one of a transmitted state indicating a state in which processing target data is transmitted to the first external processing device and a time-out state indicating that a predetermined time has passed in the transmitted state. In this case, the determination module does not allow a second external processing device among the plurality of external processing devices to process the processing target data.
JP2001112431A 2001-04-11 2001-04-11 Distributed processing server, distributed processing system, distributed processing method, and program Expired - Fee Related JP4787419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001112431A JP4787419B2 (en) 2001-04-11 2001-04-11 Distributed processing server, distributed processing system, distributed processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001112431A JP4787419B2 (en) 2001-04-11 2001-04-11 Distributed processing server, distributed processing system, distributed processing method, and program

Publications (2)

Publication Number Publication Date
JP2002312332A JP2002312332A (en) 2002-10-25
JP4787419B2 true JP4787419B2 (en) 2011-10-05

Family

ID=18963848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001112431A Expired - Fee Related JP4787419B2 (en) 2001-04-11 2001-04-11 Distributed processing server, distributed processing system, distributed processing method, and program

Country Status (1)

Country Link
JP (1) JP4787419B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7028124B2 (en) * 2018-09-25 2022-03-02 オムロン株式会社 CPU unit, CPU unit control method, information processing program, and recording medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02268334A (en) * 1989-04-11 1990-11-02 Fuji Xerox Co Ltd State controlling system
JPH033041A (en) * 1989-05-31 1991-01-09 Nec Corp Time-out monitoring circuit
JPH06119298A (en) * 1992-10-02 1994-04-28 Hitachi Ltd Method and device for processing common information
JP3207644B2 (en) * 1993-12-09 2001-09-10 キヤノン株式会社 Image display control device, image drawing device, image display control method, and image drawing method
JPH09160847A (en) * 1995-12-08 1997-06-20 Hitachi Ltd Client server-type distribution processing system
JPH10232899A (en) * 1996-12-17 1998-09-02 Fuji Xerox Co Ltd Service linking method, service linking device and parts generation management method utilizable for the execution
FI105738B (en) * 1998-05-29 2000-09-29 Alma Media Oyj Combining services in an Internet-type network
JP2000148837A (en) * 1998-11-11 2000-05-30 Hitachi Ltd Stock transaction processing method utilizing electronic stock certificate

Also Published As

Publication number Publication date
JP2002312332A (en) 2002-10-25

Similar Documents

Publication Publication Date Title
EP0919056B1 (en) Storage medium having electronic circuit and computer system having the storage medium
US20030101128A1 (en) State tracking system for a basket trading system
CN101098341A (en) Methods and apparatus for interactively streaming data from a database
CN102918554A (en) Settlement and remittance-processing method of virtual money, settlement and remittance-processing system, and settlement and remittance-processing program
US20080262939A1 (en) Self-Owned Resource Interaction and Method and System For Processing Electronic Trade Information
KR100304835B1 (en) Communication system that provides images according to the user's characteristics, terminal devices and information providing devices used in the communication system
JP2002203057A (en) Added value data warehouse system
JP2009151692A (en) Electronic money bank system and terminal
JP2018110024A (en) Settlement system, selling server device, settlement service device, and server program
JP4787419B2 (en) Distributed processing server, distributed processing system, distributed processing method, and program
JP2017111616A (en) Voting point system, voting point management method, voting point managing device, and voting point management program
JP4150381B2 (en) Odd lot trading system and odd lot trading program
JP2836284B2 (en) Transaction processing system
JP2003524827A (en) Message queuing system and method
JP6489872B2 (en) COMMUNICATION DEVICE, INFORMATION PROCESSING SYSTEM, AND INFORMATION PROCESSING METHOD
JP2000331239A (en) Electronic money system
JP2005032049A (en) Bond data processing system, bond data processing method in computer system, and its computer program
JP5608528B2 (en) Message sequence control apparatus and method
WO2023286774A1 (en) Method for using digital ticket and digital ticket system
JP4588905B2 (en) Transaction management apparatus, transaction management method, and program
JP3695110B2 (en) Message delivery management system and method, and information recording medium
JP3666221B2 (en) Message delivery management system and method, and information recording medium
JP3502357B2 (en) Terminal device and communication system
JP2001319019A (en) Workflow system
JP3622467B2 (en) Message delivery management system and method, and information recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100825

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110509

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: 20110712

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110715

R150 Certificate of patent or registration of utility model

Ref document number: 4787419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees