JP2000348110A - Method and system for transaction management and recording medium - Google Patents

Method and system for transaction management and recording medium

Info

Publication number
JP2000348110A
JP2000348110A JP15321499A JP15321499A JP2000348110A JP 2000348110 A JP2000348110 A JP 2000348110A JP 15321499 A JP15321499 A JP 15321499A JP 15321499 A JP15321499 A JP 15321499A JP 2000348110 A JP2000348110 A JP 2000348110A
Authority
JP
Japan
Prior art keywords
transaction
server
total
amount
servers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15321499A
Other languages
Japanese (ja)
Inventor
Toshiyuki Inoue
利行 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Data Group Corp
Original Assignee
NTT Data Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Data Corp filed Critical NTT Data Corp
Priority to JP15321499A priority Critical patent/JP2000348110A/en
Publication of JP2000348110A publication Critical patent/JP2000348110A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the network traffic and to prevent the actual amount of money of a transaction from exceeding a preset transaction limit amount even in the case of the occurrence of a fault in a part of servers. SOLUTION: Management information including the excess limit amount of destination, which each server can process, and the excess of destination obtained by summing up the amount of money of transactions already processed in the server is stored in the server with respect to each bank. The server 1 discriminates whether its own excess of destination exceeds its own excess limit amount of destination or not when receiving a transaction text from a bank to process the transaction text; and if it is discriminated that the excess of destination doesn't exceed the excess limit amount of destination, the server 1 permits the transaction based on the transaction text and updates its own excess of destination and transmits the transaction text to a bank host 7 of the transaction destination.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、分散した複数のサ
ーバによって銀行等の金融機関間の取引に関する情報を
管理する取引管理システム等に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a transaction management system and the like for managing information relating to transactions between financial institutions such as banks by a plurality of distributed servers.

【0002】[0002]

【従来の技術】例えば、為替取引等の銀行間における取
引では、各銀行が取引できる限度額(総仕向超過限度
額)がそれぞれ定められており、各銀行について、総仕
向超過限度額と、実際に取引した金額(総仕向超過額)
と、を管理する取引システムが考えられている。このよ
うなシステムでは、例えば、銀行のホストコンピュータ
から為替電文等を受信し、その取引金額を電文の送信元
の銀行(仕向銀行)の総仕向超過額に加算し、加算後の
金額が総仕向超過限度額を超過するか否かをチェック
し、超過しない場合、指定された送信先の銀行(被仕向
銀行)に為替電文を送信する処理を行う。
2. Description of the Related Art For example, in transactions between banks, such as foreign exchange transactions, limits on the amount that each bank can transact (total overrun limit) are defined. Amount transacted to (overrun total)
And, a trading system that manages is considered. In such a system, for example, a foreign exchange message or the like is received from a host computer of a bank, and the transaction amount is added to the total destination excess amount of the bank (destination bank) that transmitted the message, and the added amount is used as the total destination amount. It is checked whether or not the excess limit is exceeded, and if it is not exceeded, a process of transmitting an exchange message to a designated destination bank (destination bank) is performed.

【0003】また、このようなシステムには、例えば図
12(A)に示すように、複数のサーバを備え、取引処
理を複数のサーバで分散して行うものがある。各サーバ
は、総仕向超過限度額と、総仕向超過額と、各サーバが
処理した取引金額(仕向超過額)と、を含む管理情報
を、銀行毎に記憶する。
[0003] Further, as shown in FIG. 12A, for example, such a system includes a plurality of servers and performs transaction processing in a distributed manner by the plurality of servers. Each server stores, for each bank, management information including a total destination excess limit, a total destination excess, and a transaction amount (excess destination) processed by each server.

【0004】銀行のホストコンピュータから送信された
為替電文がいずれかのサーバに割り振られると、そのサ
ーバは、該当する銀行の管理情報を更新する。すなわ
ち、図12(B)に示すように、為替電文が示す取引金
額を自サーバの仕向超過額に加算した後、全サーバの仕
向超過額を合計して、総仕向超過額を算出する。そし
て、総仕向超過額が、処理対象である銀行の総仕向超過
限度額を超過したか否かをチェックし、超過していなけ
れば指定された被仕向銀行に為替電文を送信し、超過し
ていれば所定のエラー処理を行う。
[0004] When the exchange message transmitted from the host computer of the bank is allocated to one of the servers, the server updates the management information of the corresponding bank. That is, as shown in FIG. 12 (B), after adding the transaction amount indicated by the exchange message to the excess amount of the destination of the own server, the excess amount of the excess of all the servers is totaled to calculate the total excess amount of the destination. Then, it checks whether or not the total excess amount exceeds the total excess amount limit of the bank to be processed, and if not, sends a foreign exchange message to the designated destination bank, and checks whether the excess amount exceeds the total amount. If so, predetermined error processing is performed.

【0005】[0005]

【発明が解決しようとする課題】上記のような取引シス
テムでは、各銀行について、実際の取引金額が総仕向超
過限度額(取引限度額)を超過しないようにするため
に、各サーバの最新の仕向超過額を各サーバが保持する
必要がある。このため、全てのサーバ間で頻繁に各サー
バの仕向超過額を交換しなければならない。これによ
り、サーバ間のネットワークトラフィックの増加や、各
サーバのCPU使用率の増加が生じ、結果的に、システ
ムのスケーラビリティを阻害する要因となってしまう。
In the above-described transaction system, in order to prevent the actual transaction amount of each bank from exceeding the total destination excess limit (transaction limit), the latest system of each server is used. Each server must hold the excess destination amount. For this reason, it is necessary to frequently exchange the excess destination amount of each server among all the servers. This causes an increase in network traffic between the servers and an increase in the CPU usage rate of each server, and as a result, becomes a factor that hinders the scalability of the system.

【0006】また、複数のサーバのうちの一部が故障す
ると、その故障したサーバの仕向超過額を他の稼働中の
サーバが取得することができないため、サーバの故障が
復旧するまで、各サーバの仕向超過額の相互交換が完全
に行われない。このため、各サーバで管理している総仕
向超過額が実際の総仕向超過額よりも少なくなる可能性
があり、これにより、取引金額が、総仕向取引限度額を
超過してしまうおそれがある。
Further, if a part of the plurality of servers fails, it is impossible for the other operating servers to acquire the excess amount of excess of the failed server. Exchanges of excess destinations are not completely exchanged. For this reason, the total destination excess managed by each server may be smaller than the actual total destination excess, and the transaction amount may exceed the total destination transaction limit. .

【0007】本発明は、上述した事情に鑑みてなされた
もので、複数のサーバによって銀行間の取引情報を分散
して管理する取引管理システムに関し、特に、ネットワ
ークトラフィックを軽減し、サーバの一部に故障が生じ
ても、実際の取引金額が予め設定された取引限度額を超
過することを防止できる取引管理システム等を提供する
ことを目的とする。
The present invention has been made in view of the above circumstances, and relates to a transaction management system for distributing and managing transaction information between banks by using a plurality of servers. It is an object of the present invention to provide a transaction management system or the like that can prevent an actual transaction amount from exceeding a preset transaction limit even if a failure occurs in the system.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、本発明の第1の観点に係る取引管理システムは、金
融機関毎に取引金額の上限が予め定められ、金融機関か
らの取引金額を含む取引電文を複数のサーバで分散して
処理する取引管理システムにおいて、前記サーバは、前
記複数のサーバの各々の処理可能な取引限度額と、前記
複数のサーバの各々の既に処理された取引金額を合計し
た取引合計額と、を含む管理情報を各金融機関について
記憶する記憶手段と、金融機関からの取引電文を受け取
る受取手段と、前記受取手段により受け取った取引電文
を処理したときに、自己の取引合計額が自己の取引限度
額を超過するか否かを判別する判別手段と、前記判別手
段により、取引合計額が取引限度額を超過しないと判別
された場合、該取引電文による取引を許可し、取引合計
額を更新するとともに、該取引電文を取引先に送信する
制御手段と、を備える。
In order to achieve the above object, a transaction management system according to a first aspect of the present invention has an upper limit of the transaction amount for each financial institution, and the transaction amount from the financial institution is determined. In a transaction management system for processing transaction messages in a distributed manner by a plurality of servers, the server comprises: a transaction limit that can be processed by each of the plurality of servers; and a transaction amount that has already been processed by each of the plurality of servers. Storage means for storing, for each financial institution, management information including a total transaction amount, a receiving means for receiving a transaction message from the financial institution, and a processing means for processing the transaction message received by the receiving means. A determining means for determining whether or not the total transaction amount exceeds the own transaction limit; and if the determining means determines that the total transaction amount does not exceed the transaction limit, Allow transaction by statement updates the transaction total, and a control means for transmitting the transaction message to the partner.

【0009】このような構成によれば、銀行等の金融機
関毎に、各サーバが取引できる金額を予め割り当ててお
き、各サーバは自己の取引限度額を超えない範囲で取引
する。これにより、例えば、自己の取引合計額が自己の
取引限度額を超えるまで、他のサーバと通信しなくても
よいため、ネットワークトラフィック等の負荷を軽減す
ることができる。また、各サーバは自己に割り振られた
取引限度額の範囲で取引電文を処理するため、一部のサ
ーバが故障していても、全サーバで処理した取引金額の
合計が、所定の限度額を超過することなく、取引管理が
可能となる。
According to such a configuration, the amount that each server can trade is allocated in advance to each financial institution such as a bank, and each server performs a transaction within a range not exceeding its own transaction limit. Thereby, for example, it is not necessary to communicate with another server until the total transaction amount of the own device exceeds the maximum transaction value of the own device, so that a load such as network traffic can be reduced. In addition, since each server processes transaction messages within the range of the transaction limit allocated to itself, even if some of the servers are out of order, the sum of transaction amounts processed by all servers will exceed the predetermined limit. Transaction management is possible without exceeding.

【0010】前記サーバの前記制御手段は、前記判別手
段により、取引合計額が取引限度額を超過すると判別さ
れた場合、通信により他の各前記サーバの管理情報の少
なくとも一部を取得し、各前記サーバの当該金融機関に
ついて取引可能な残額を合計した総取引可能残額を算出
する算出手段と、前記算出された総取引可能残額を各前
記サーバに再配分し、前記記憶手段に記憶される当該金
融機関の各前記サーバの取引限度額を各配分金額に応じ
て更新する更新手段と、更新後の各前記サーバの取引限
度額を、他の各前記サーバに配信する配信手段と、前記
受取手段により受け取った取引電文を処理したときに、
自己の取引合計額が、前記更新された自己の取引限度額
を超過するか否かを判別し、超過しない場合に、取引を
許可し、取引合計額を更新するとともに、該取引電文を
取引先に送信する手段と、を備えてもよい。
The control means of the server, if the discrimination means determines that the total transaction amount exceeds the transaction limit, acquires at least a part of the management information of each of the other servers by communication, Calculating means for calculating a total tradable balance obtained by summing up the tradable balance of the financial institution of the server; and redistributing the calculated total tradable balance to each of the servers, and Updating means for updating the transaction limit of each server of the financial institution in accordance with each distribution amount; distribution means for distributing the updated transaction limit of each server to each of the other servers; and receiving means When processing the transaction message received by
It is determined whether or not the total amount of the transaction exceeds the updated own transaction limit, and if not, the transaction is permitted, the total transaction amount is updated, and the transaction message is transmitted to the customer. Means for transmitting to the

【0011】これにより、一部のサーバについて、その
サーバの取引合計額が取引限度額を超過しそうになって
も、該当する銀行等の金融機関の全サーバにおいて取引
可能な残額を、動的に再配分することにより、各サーバ
に設定される取引限度額を調整しながら、取引電文の処
理を続行させることができる。
As a result, even if the total transaction amount of some of the servers is likely to exceed the transaction limit, the balance that can be transacted by all the servers of the relevant financial institution such as a bank is dynamically determined. By redistributing, the processing of the transaction message can be continued while adjusting the transaction limit set for each server.

【0012】前記サーバの前記算出手段は、通信により
他の各前記サーバの管理情報の少なくとも一部を取得す
る際に、応答がない故障サーバを検出した場合、該故障
サーバを除く各前記サーバの当該金融機関について取引
可能な残額を合計して総取引可能残額を算出する手段を
さらに備えてもよく、前記サーバの前記更新手段は、前
記故障サーバを除く他の各前記サーバについて算出され
た総取引可能残額を、前記故障サーバを除く各前記サー
バに再配分して、前記記憶手段に記憶される当該金融機
関の前記故障サーバを除く各前記サーバの取引限度額を
各配分金額に応じて更新する手段をさらに備えてもよ
く、前記サーバの前記配信手段は、更新後の前記故障サ
ーバを除く各前記サーバの取引限度額を、前記故障サー
バを除く他の各前記サーバに配信する手段をさらに備え
てもよい。
When calculating at least a part of the management information of each of the other servers by communication, the calculating means of the server, when detecting a failed server that does not respond, detects the failure of each of the servers except for the failed server. The financial institution may further comprise means for calculating a total tradable balance by summing up the tradable balance, and the updating means of the server, wherein the updating means of the server calculates a total treasury balance other than the failed server. The transactionable balance is redistributed to each of the servers except for the failed server, and the transaction limit of each of the servers except for the failed server of the financial institution stored in the storage unit is updated in accordance with the allocated amount. The distribution means of the server may further include a transaction limit of each of the servers except for the failed server after the update, and each of the other servers except for the failed server. It may further comprise a means for distributing to over server.

【0013】このような構成によれば、他のサーバの管
理情報を取得する際に故障サーバを検出した場合には、
その故障サーバを除く全サーバの総取引可能残額を求
め、故障サーバを除く全サーバにだけ分配する。これに
より、一部のサーバの故障により、全サーバが処理した
取引金額の合計が、取引金額の上限を超過することを防
止することができる。
According to such a configuration, when a failed server is detected when acquiring management information of another server,
The total available balance of all servers except the failed server is obtained and distributed only to all servers except the failed server. Thus, it is possible to prevent the total of the transaction amounts processed by all the servers from exceeding the upper limit of the transaction amount due to the failure of some of the servers.

【0014】前記サーバの前記更新手段は、前記総取引
可能残額を、各前記サーバの取引合計額の比に従って配
分する第1配分手段と、前記総取引可能残額を、各前記
サーバで均等に配分する第2配分手段と、前記総取引可
能残額を、自己に集約する第3配分手段と、の少なくと
も1つを備えてもよい。
[0014] The updating means of the server comprises: first allocating means for allocating the total tradeable balance according to a ratio of the total transaction amount of each server; and uniformly allocating the total tradeable balance to each server. And at least one of a third distribution unit that aggregates the total tradeable balance into itself.

【0015】また、本発明の第2の観点に係る取引管理
方法は、金融機関毎に取引金額の上限が予め定められ、
金融機関からの取引金額を含む取引電文を、複数のサー
バで分散して処理するシステムにおける取引管理方法で
あって、各前記サーバに、前記複数のサーバの各々の処
理可能な取引限度額と、前記複数のサーバの各々の既に
処理された取引金額を合計した取引合計額と、を含む管
理情報を各金融機関について記憶させるステップと、金
融機関からの取引電文を受け取って、いずれかの前記サ
ーバに該取引電文を割り振る割振ステップと、前記取引
電文が割り振られた前記サーバにおいて、該取引電文を
処理したときに、当該サーバの取引合計額が当該サーバ
の取引限度額を超過するか否かを判別する判別ステップ
と、前記判別ステップにより、前記サーバの取引合計額
が該サーバの取引限度額を超過しないと判別された場
合、該取引電文による取引を許可し、該サーバの取引合
計額を更新するとともに、該取引電文を取引先に送信す
る制御ステップと、を備える。
In the transaction management method according to the second aspect of the present invention, the upper limit of the transaction amount is predetermined for each financial institution,
A transaction management method in a system in which a transaction message including a transaction amount from a financial institution is distributed and processed by a plurality of servers, and in each of the servers, a processing limit amount of each of the plurality of servers, Storing, for each financial institution, management information including a transaction total amount obtained by adding up the transaction amounts already processed of each of the plurality of servers; and receiving a transaction message from a financial institution, An allocating step of allocating the transaction message to the server to which the transaction message has been allocated, when the transaction message is processed, determines whether or not the total transaction amount of the server exceeds the transaction limit of the server. A discriminating step of discriminating, and when it is determined that the transaction total amount of the server does not exceed the transaction limit of the server, the transaction message is used. Allow the transaction, it updates the transaction total of the server, and a control step of transmitting said transaction message to suppliers, the.

【0016】このような構成によれば、銀行等の金融機
関毎に、各サーバが取引できる金額を予め割り当ててお
き、各サーバは自己の取引限度額を超えない範囲で取引
する。これにより、例えば、自己の取引合計額が自己の
取引限度額を超えるまで、他のサーバと通信しなくても
よいため、ネットワークトラフィック等の負荷を軽減す
ることができる。また、各サーバは自己に割り振られた
取引限度額の範囲で取引電文を処理するため、一部のサ
ーバが故障していても、全サーバで処理した取引金額の
合計が、所定の限度額を超過することなく、取引管理が
可能となる。
According to such a configuration, the amount that each server can trade is allocated in advance to each financial institution such as a bank, and each server trades within a range not exceeding its own transaction limit. Thereby, for example, it is not necessary to communicate with another server until the total transaction amount of the own device exceeds the maximum transaction value of the own device, so that a load such as network traffic can be reduced. In addition, since each server processes transaction messages within the range of the transaction limit allocated to itself, even if some of the servers are out of order, the sum of transaction amounts processed by all servers will exceed the predetermined limit. Transaction management is possible without exceeding.

【0017】前記制御ステップは、前記判別ステップに
より、前記取引電文が割り振られたサーバにおいて、該
サーバの取引合計額が該サーバの取引限度額を超過する
と判別された場合、通信により他の各前記サーバの管理
情報の少なくとも一部を取得し、各前記サーバの当該金
融機関について取引可能な残額を合計した総取引可能残
額を算出する算出ステップと、前記算出された総取引可
能残額を各前記サーバに再配分し、前記取引電文が割り
振られたサーバに記憶されている当該金融機関の各前記
サーバの取引限度額を各配分金額に応じて更新する更新
ステップと、更新後の各前記サーバの取引限度額を、他
の各前記サーバに配信する配信ステップと、前記取引電
文が割り振られたサーバにおいて、前記取引電文を処理
したときに、該サーバの取引合計額が、更新後の該サー
バの取引限度額を超過するか否かを判別し、超過しない
場合に、取引を許可し、該サーバの取引合計額を更新す
るとともに、該取引電文を取引先に送信するステップ
と、を備えてもよい。
In the control step, if it is determined in the determination step that the total transaction amount of the server to which the transaction message is allocated exceeds the transaction limit of the server, the other communication is performed by communication. A calculating step of obtaining at least a part of the management information of the server and calculating a total tradable balance obtained by summing up the tradable balance of the financial institution of each server, and calculating the calculated total tradable balance by each server An update step of updating the transaction limit of each server of the financial institution stored in the server to which the transaction message is allocated according to each distribution amount, and a transaction of each server after the update. A distribution step of distributing the limit amount to each of the other servers; and a server to which the transaction message is allocated, when the transaction message is processed, It is determined whether or not the total transaction amount of the server exceeds the updated transaction limit of the server. If not, the transaction is permitted, the total transaction amount of the server is updated, and the transaction message is updated. And transmitting to the business partner.

【0018】これにより、一部のサーバについて、その
サーバの取引合計額が取引限度額を超過しそうになって
も、該当する銀行等の金融機関の全サーバにおいて取引
可能な残額を、動的に再配分することにより、各サーバ
に設定される取引限度額を調整しながら、取引電文の処
理を続行させることができる。
As a result, even if the total transaction amount of some of the servers is likely to exceed the transaction limit, the balance that can be transacted by all the servers of the relevant financial institution such as a bank is dynamically determined. By redistributing, the processing of the transaction message can be continued while adjusting the transaction limit set for each server.

【0019】前記算出ステップは、通信により他の各前
記サーバの管理情報の少なくとも一部を取得する際に、
応答がない故障サーバを検出した場合、該故障サーバを
除く各前記サーバの当該金融機関について取引可能な残
額を合計して総取引可能残額を算出するステップをさら
に備えてもよく、前記更新ステップは、前記故障サーバ
を除く他の各前記サーバについて算出された総取引可能
残額を、前記故障サーバを除く各前記サーバに再配分し
て、前記取引電文が割り振られたサーバに記憶されてい
る当該金融機関の前記故障サーバを除く各前記サーバの
取引限度額を、各配分金額に応じて更新するステップを
さらに備えてもよく、前記配信ステップは、更新後の前
記故障サーバを除く各前記サーバの取引限度額を、前記
故障サーバを除く他の各前記サーバに配信するステップ
をさらに備えてもよい。
In the calculating step, when at least a part of the management information of each of the other servers is obtained by communication,
When detecting a failed server that does not respond, the method may further include calculating a total tradable balance by summing up the tradable balance of the financial institution of each of the servers except for the failed server. The total transaction available balance calculated for each of the other servers except for the failed server is redistributed to each of the servers except for the failed server, and the financial information stored in the server to which the transaction message is allocated is stored. The method may further include updating the transaction limit of each of the servers except for the failed server of the institution according to each of the allocated amounts, wherein the distributing step includes the transaction of each of the servers except for the failed server after the update. The method may further include the step of delivering a limit to each of the servers other than the failed server.

【0020】これにより、一部のサーバについて、その
サーバの取引合計額が取引限度額を超過しそうになって
も、該当する銀行等の金融機関の全サーバにおいて取引
可能な残額を、動的に再配分することにより、各サーバ
に設定される取引限度額を調整しながら、取引電文の処
理を続行させることができる。
As a result, even if the total transaction amount of some of the servers is likely to exceed the transaction limit, the balance that can be transacted by all the servers of the corresponding financial institution such as a bank is dynamically determined. By redistributing, the processing of the transaction message can be continued while adjusting the transaction limit set for each server.

【0021】前記更新ステップは、前記総取引可能残額
を、各前記サーバの取引合計額の比に従って配分する第
1配分ステップと、前記総取引可能残額を、各前記サー
バで均等に配分する第2配分ステップと、前記総取引可
能残額を、自己に集約する第3配分ステップと、の少な
くとも1つを備えてもよい。
[0021] The updating step is a first distribution step of distributing the total tradable balance according to a ratio of the total transaction amount of each server, and a second distribution step of evenly distributing the total tradable balance in each server. At least one of an allocating step and a third allocating step of collecting the total tradable balance into itself may be provided.

【0022】また、本発明の第3の観点に係る記録媒体
は、コンピュータを、金融機関毎に取引金額の上限が予
め定められ、金融機関からの取引金額を含む取引電文を
複数のサーバで分散して処理する取引管理システムにお
ける前記サーバとして機能させるためのプログラムを記
録したコンピュータ読み取り可能な記録媒体であって、
該コンピュータを、前記複数のサーバの各々の処理可能
な取引限度額と、前記複数のサーバの各々の既に処理さ
れた取引金額を合計した取引合計額と、を含む管理情報
を各金融機関について記憶する記憶手段、金融機関から
の取引電文を受け取る受取手段、前記受取手段により受
け取った取引電文を処理したときに、自己の取引合計額
が自己の取引限度額を超過するか否かを判別する判別手
段、前記判別手段により、取引合計額が取引限度額を超
過しないと判別された場合、該取引電文による取引を許
可し、取引合計額を更新するとともに、該取引電文を取
引先に送信する制御手段、として機能させるためのプロ
グラムを記録する。
Further, in the recording medium according to the third aspect of the present invention, a computer is provided in which an upper limit of the transaction amount is predetermined for each financial institution, and a transaction message including the transaction amount from the financial institution is distributed by a plurality of servers. A computer-readable recording medium recording a program for functioning as the server in the transaction management system that performs the processing,
The computer stores, for each financial institution, management information including a transaction limit amount that can be processed by each of the plurality of servers and a transaction total amount that is a sum of transaction amounts already processed of each of the plurality of servers. Storage means, receiving means for receiving a transaction message from a financial institution, and processing for processing the transaction message received by the receiving means, for determining whether or not the total amount of the transaction exceeds its transaction limit. Means, when the total transaction amount is determined not to exceed the transaction limit by the determination unit, control is performed to permit the transaction using the transaction message, update the transaction total value, and transmit the transaction message to the customer. The program for functioning as a means is recorded.

【0023】また、前記コンピュータを、前記判別手段
により、取引合計額が取引限度額を超過すると判別され
た場合、通信により他の各前記サーバの管理情報の少な
くとも一部を取得し、各前記サーバの当該金融機関につ
いて取引可能な残額を合計した総取引可能残額を算出す
る算出手段、前記算出された総取引可能残額を各前記サ
ーバに再配分し、前記記憶手段に記憶される当該金融機
関の各前記サーバの取引限度額を各配分金額に応じて更
新する更新手段、更新後の各前記サーバの取引限度額
を、他の各前記サーバに配信する配信手段、前記受取手
段により受け取った取引電文を処理したときに、自己の
取引合計額が、前記更新された自己の取引限度額を超過
するか否かを判別し、超過しない場合に、取引を許可
し、取引合計額を更新するとともに、該取引電文を取引
先に送信する手段、として機能させるためのプログラム
をさらに記録してもよい。
Further, when the discriminating means determines that the total transaction amount exceeds the transaction limit, the computer acquires at least a part of the management information of each of the other servers by communication, and Calculating means for calculating the total tradable balance obtained by summing the balances transactable for the financial institution; redistributing the calculated total tradable balance to each of the servers; Updating means for updating the transaction limit of each server in accordance with each distribution amount, distribution means for distributing the updated transaction limit of each server to each of the other servers, and a transaction message received by the receiving means When processing is performed, it is determined whether or not the own transaction total exceeds the updated own transaction limit.If not, the transaction is permitted and the transaction total is updated. Rutotomoni, the program may be further recorded for operating the transaction message as a means, for transmitting to the partner.

【0024】なお、上記金融機関は、銀行、信用金庫、
郵便局、等の種々の金融機関を含む。
The above financial institutions include banks, shinkin banks,
Includes various financial institutions such as post offices.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の形態に係る
取引システムについて図面を参照して説明する。この取
引システムは、為替取引等の銀行間における取引のため
のシステムであり、例えば図1に示すように、複数のサ
ーバ1と中継装置3を備える仲介センタ5と、仲介セン
タ5とネットワークを介して接続される各銀行のホスト
コンピュータ(銀行ホスト)7と、を備える。本システ
ムでは、仲介センタ5における各サーバ1が、中継装置
3を介して各銀行の銀行ホスト7から為替電文を受信
し、それを指定された銀行ホスト7に送信することによ
り為替取引を仲介する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a transaction system according to an embodiment of the present invention will be described with reference to the drawings. This transaction system is a system for transactions between banks, such as exchange transactions, for example, as shown in FIG. 1, an intermediary center 5 including a plurality of servers 1 and a relay device 3, and an intermediary center 5 via a network. And a host computer (bank host) 7 of each bank to be connected. In the present system, each server 1 in the mediation center 5 receives the exchange message from the bank host 7 of each bank via the relay device 3 and transmits the exchange message to the designated bank host 7 to mediate the exchange transaction. .

【0026】各サーバ1(第1サーバ1A、第2サーバ
1B、第3サーバ1C)は、同一の構成及び機能を有
し、金額管理部11と、電文データベース(DB)12
と、制御部13と、を備える。金額管理部11は、為替
取引を行うための管理情報を銀行毎に記憶する。管理情
報は、例えば図2に示すように、銀行が取引できる限度
額を示す「総仕向超過限度額」と、銀行が実際に取引し
た金額を示す「総仕向超過額」と、各サーバ1が取引で
きる限度額を示す「仕向超過限度額」と、各サーバ1が
実際に取引した金額を示す「仕向超過額」と、を含む。
電文DB12は、サーバ1が受信した為替電文を記憶す
る。
Each of the servers 1 (the first server 1A, the second server 1B, the third server 1C) has the same configuration and function, and includes a money amount management unit 11, a message database (DB) 12
And a control unit 13. The money amount management unit 11 stores management information for performing exchange transactions for each bank. For example, as shown in FIG. 2, the management information includes a “total overrun limit” indicating the limit that the bank can trade, a “total overrun amount” indicating the amount actually traded by the bank, and each server 1 Includes a “excessive destination limit” indicating the limit amount that can be traded, and a “excessive destination amount” indicating the amount actually traded by each server 1.
The message DB 12 stores the exchange message received by the server 1.

【0027】本システムでは、各銀行について、その銀
行が取引できる限度額(総仕向超過限度額)を分割して
各サーバ1に仕向超過限度額として割り当てる。例えば
図2に示される管理情報は、総仕向超過限度額が「1,
000,000円」と設定されている○○銀行の管理情
報である。総仕向超過限度額「1,000,000円」
のうち、「550,000円」が第1サーバ1Aの仕向
超過限度額として、「300,000円」が第2サーバ
1Bの仕向超過限度額として、「150,000円」が
第3サーバ1Cの仕向超過限度額として、それぞれ設定
されている。例えば○○銀行についての取引処理では、
各サーバ1は、○○銀行の管理情報のうち自サーバ1の
仕向超過額が仕向超過限度額を越えない範囲で処理を行
う。
In the present system, for each bank, the limit that the bank can trade (total excess destination limit) is divided and assigned to each server 1 as the excess destination limit. For example, the management information shown in FIG. 2 has a total destination excess limit of “1,
00000 yen "is the management information of the XX bank. Total destination excess limit "1,000,000 yen"
Among them, “550,000 yen” is the excess destination limit of the first server 1A, “300,000 yen” is the excess destination limit of the second server 1B, and “150,000 yen” is the third server 1C. Is set as the excess limit of the destination. For example, in the transaction processing for XX Bank,
Each server 1 performs processing within the management information of the XX bank within a range where the excess destination of the server 1 does not exceed the excess destination limit.

【0028】制御部13は、銀行ホスト7からの為替電
文の受信に応じて、その為替電文を電文DB12に記録
するとともに、為替電文の送信元の銀行(仕向銀行)の
管理情報を更新し、為替電文を指定された送信先の銀行
(被仕向銀行)に送信する。なお、為替電文は、例え
ば、電文の送信元の仕向銀行を示す情報、電文の送信先
の被仕向銀行を示す情報、為替取引金額を示す情報等を
含む。
In response to the receipt of the exchange message from the bank host 7, the control unit 13 records the exchange message in the message DB 12, updates the management information of the bank (destination bank) that transmitted the exchange message, Send the exchange message to the specified destination bank (destination bank). The exchange message includes, for example, information indicating the destination bank of the transmission source of the message, information indicating the destination bank of the transmission destination of the message, information indicating the exchange transaction amount, and the like.

【0029】また、制御部13は、為替電文の受信に応
じて、管理情報の更新を行う。管理情報の更新では、金
額管理部11に記憶されている仕向銀行の管理情報にお
いて、自サーバ1の仕向超過額に為替電文が示す為替取
引金額を加算し、加算後の仕向超過額が、自サーバ1の
仕向超過限度額を超過したか否かを判別する。この判別
において、超過していない場合、加算後の金額を自サー
バ1の新たな仕向超過額として更新する。また、超過し
ている場合には取引を続行できず、制御部13は、自サ
ーバ1の仕向超過限度額を増加させるため、処理対象の
銀行についての全サーバ1で取引可能な残高を集計し、
各サーバ1に再配分するための再配分処理を行う。
The control unit 13 updates the management information in response to receiving the exchange message. In updating the management information, in the management information of the destination bank stored in the money amount management unit 11, the exchange transaction amount indicated by the foreign exchange message is added to the excess amount of the destination of the server 1, and the excess amount of the destination after the addition becomes It is determined whether the destination excess limit of the server 1 has been exceeded. In this determination, if not exceeded, the amount after the addition is updated as a new destination excess amount of the own server 1. If the amount exceeds the limit, the transaction cannot be continued, and the control unit 13 tallies up the balances of all the servers 1 for the processing target bank which can be transacted in order to increase the excess destination limit of the server 1. ,
A reallocation process for reallocation to each server 1 is performed.

【0030】この再配分処理では、まず、各サーバ1が
実際に取引した金額(仕向超過額)を取得するために、
サーバ間で最新の仕向超過額を交換する必要がある。こ
の仕向超過額を交換する方法には、例えば次に示すよう
な方法がある。
In this redistribution process, first, in order to obtain the amount actually transacted by each server 1 (excess amount of destination),
It is necessary to exchange the latest surplus amount between servers. As a method of exchanging the excess destination amount, for example, the following method is available.

【0031】(1)相互交換方法 これは、各サーバ1間で相互に仕向超過額を交換する方
法であり、例えば図3に示すように、第1サーバ1Aか
ら第2サーバ1B及び第3サーバ1Cへ、第2サーバ1
Bから第1サーバ1A及び第3サーバ1Cへ、第3サー
バ1Cから第1サーバ1A及び第2サーバ1Bへ、それ
ぞれ自サーバ1の仕向超過額を送信する。この方法にお
けるサーバ間のトラフィックは、サーバ台数をNとする
と、N×(N−1)なる。この方法では、故障している
サーバ1があっても、それ以外のサーバ1間では、仕向
超過額を交換することができる。
(1) Mutual Exchange Method This is a method for mutually exchanging the excess destination between the servers 1. For example, as shown in FIG. 3, the first server 1A to the second server 1B and the third server 2nd server 1 to 1C
B transmits the excess destination of the server 1 to the first server 1A and the third server 1C, and from the third server 1C to the first server 1A and the second server 1B. The traffic between servers in this method is N × (N−1), where N is the number of servers. In this method, even if there is a failed server 1, it is possible to exchange the excess destination amount between the other servers 1.

【0032】(2)集配式交換方法 これは、例えば図4に示すように、各サーバ1の仕向超
過額を所定のサーバ1(図4では、第1サーバ1A)が
収集し、その所定のサーバ1が収集した仕向超過額を各
サーバ1に配信する方法である。この方法におけるサー
バ間のトラフィックは、サーバ台数をNとすると、2×
(N−1)となり、上記相互交換方法と比較して、サー
バ台数が3台以上の場合には、この方法の方が効率が良
い。ただし、集配信を行う所定のサーバ1が故障した場
合には他の各サーバ1が稼働中であっても仕向超過額の
交換ができないため、バックアップ用の集配信を行うサ
ーバ1を用意することが望ましい。
(2) Collection-and-delivery type exchange method In this method, as shown in FIG. 4, for example, a predetermined server 1 (first server 1A in FIG. 4) collects the excess destination of each server 1, This is a method of distributing the excess destination amount collected by the server 1 to each server 1. The traffic between servers in this method is 2 ×, where N is the number of servers.
(N-1), and when the number of servers is three or more, this method is more efficient than the mutual exchange method. However, if the predetermined server 1 that performs the collection and delivery fails, the excess destination cannot be exchanged even if the other servers 1 are in operation. Therefore, the server 1 that performs the collection and delivery for backup must be prepared. Is desirable.

【0033】制御部13は、上記交換方法により他のサ
ーバ1の仕向超過額を集信した後、各サーバ1の仕向超
過限度額と仕向超過額から、処理対象の銀行について、
各サーバ1の取引可能な残高を算出して合計することに
より全サーバ1で取引可能な金額(総取引可能残高)を
算出する。そして、その総取引可能残高を、所定の比等
に従って分割し、各サーバ1について、分割された金額
と仕向超過額の合計を新たな仕向超過限度額として算出
し、各サーバ1に配信する。この再配分処理における総
取引可能残高の配分方法には、例えば次に示すような方
法がある。
The control unit 13 collects the excess amount of the destination of the other server 1 by the above-mentioned exchange method, and then, based on the excess amount of the excess destination and the excess amount of the destination of each server 1,
By calculating and summing the balances that can be traded by each server 1, the amount that can be traded by all the servers 1 (total tradeable balance) is calculated. Then, the total tradable balance is divided according to a predetermined ratio or the like, and for each server 1, the sum of the divided amount and the excess destination is calculated as a new excess destination limit and distributed to each server 1. As a method of allocating the total tradable balance in the redistribution process, for example, the following method is available.

【0034】(1)重量配分方法 この方法では、最新の総取引可能残高を、各サーバ1の
それまでの取引額である仕向超過額の比に従って配分す
る。例えば、第1サーバ1Aがこの重量配分方法による
再配分処理を行う場合、第1サーバ1Aの制御部13
は、図5(A)に示すように、他のサーバ1B、1Cか
ら各仕向超過額を集信した後、各サーバ1について、仕
向超過限度額から仕向超過額を差し引くことにより、各
サーバ1の取引可能な残高を算出する。この場合、第1
サーバ1Aの残高は0円(=550,000円−55
0,000円)であり、第2サーバ1Bの残高は10
0,000円(=300,000円−200,000
円)であり、第3サーバ1Cの残高は50,000円
(=150,000円−100,000円)である。
(1) Weight Distribution Method In this method, the latest total tradable balance is distributed according to the ratio of the excess destination, which is the transaction amount of each server 1 up to then. For example, when the first server 1A performs a redistribution process using this weight distribution method, the control unit 13 of the first server 1A
As shown in FIG. 5 (A), after collecting each excess destination from the other servers 1B and 1C, each server 1 deducts the excess destination from the excess destination limit for each server 1 Calculate the tradeable balance of. In this case, the first
The balance of the server 1A is 0 yen (= 550,000 yen-55
0000 yen), and the balance of the second server 1B is 10
000 yen (= 300,000 yen-200,000
Yen), and the balance of the third server 1C is 50,000 yen (= 150,000 yen-100,000 yen).

【0035】次に、制御部13は、各サーバ1の取引可
能な残高を合計して総取引可能残高150,000円を
算出する。第1サーバ1Aは、この総取引可能残高を、
各サーバ1の仕向超過額の比に従って分割する。図5
(A)の場合、各仕向超過額の比は、550,000
円:200,000円:100,000円であるため、
この比に従って分割した結果、第1サーバ1Aには9
7,058円、第2サーバ1Bには35,294円、第
3サーバ1Cには17,648円がそれぞれ再配分され
ることとなる。
Next, the control unit 13 calculates the total tradable balance of 150,000 yen by summing up the tradable balance of each server 1. The first server 1A calculates the total available balance,
The server 1 is divided according to the ratio of excess destination. FIG.
In the case of (A), the ratio of the excess amount of each destination is 550,000.
Yen: 200,000 yen: 100,000 yen,
As a result of division according to this ratio, the first server 1A has 9
7,058 yen, 35,294 yen for the second server 1B, and 17,648 yen for the third server 1C are redistributed, respectively.

【0036】次に、制御部13は、例えば図5(B)に
示すように、管理情報における各サーバ1A、1B、1
Cの配分金額と仕向超過額の合計を、その仕向超過限度
額として更新する。この場合、第1サーバ1Aの仕向超
過限度額は647,058円となり、第2サーバ1Bの
仕向超過限度額は235,294円となり、第3サーバ
1Cの仕向超過限度額は117,648円となる。制御
部13は、新たな仕向超過限度額を他のサーバ1B、1
Cに配信する。
Next, as shown in FIG. 5B, for example, the control unit 13 checks each server 1A, 1B, 1
The total of the distribution amount of C and the excess destination is updated as the excess limit of the destination. In this case, the excess destination limit of the first server 1A is 647,058 yen, the excess destination limit of the second server 1B is 235,294 yen, and the excess destination limit of the third server 1C is 117,648 yen. Become. The control unit 13 sends the new destination excess limit to the other server 1B, 1
Deliver to C.

【0037】(2)均等配分方法 この方法では、最新の総取引可能残高を、各サーバ1に
均等に配分する。例えば、上記重量配分方法の説明で用
いた例では、総取引可能残高150,000円を各サー
バ1の仕向超過額の比で分割したが、この均等配分方法
を採用した場合には、均等に各サーバ1に50,000
円ずつ配分する。そして、上記重量配分方法と同様に、
再配分処理を行っているサーバ1(上記例では、第1サ
ーバ1A)が、各サーバ1の新たな仕向超過限度額を求
めて、他の各サーバ1に配信する。
(2) Equal Distribution Method In this method, the latest total tradable balance is equally distributed to each server 1. For example, in the example used in the above description of the weight distribution method, the total tradable balance of 150,000 yen is divided by the ratio of the excess amount of the destination of each server 1, but when this equal distribution method is adopted, the total distribution balance is equally divided. 50,000 for each server 1
Distribute in circles. And, like the above weight distribution method,
The server 1 that is performing the redistribution processing (the first server 1A in the above example) finds a new excess destination limit for each server 1 and distributes it to each of the other servers 1.

【0038】(3)集約配分方法 これは、最新の総取引可能残高を、再配分処理を行う1
台のサーバ1に集約する方法である。例えば、再配分処
理を行うサーバ1が第1サーバ1Aであり、総取引可能
残高が150,000円の場合には、第1サーバ1A
は、総取引可能残高150,000円を第1サーバ1A
のみに配分する。そして、上記重量配分方法等と同様
に、再配分処理を行っているサーバ1(上記例では、第
1サーバ1A)が、新たな仕向超過限度額を求めて、他
の各サーバ1に配信する。この場合、総取引可能残高の
全額を1台のサーバ1に集約するため、他の各サーバ1
の取引可能な残高は0円となる。なお、本システムで
は、例えば、(1)の重量配分方法により総取引可能金
額の配分を行うこととする。
(3) Aggregate Allocation Method This is a method for redistributing the latest total tradable balance.
This is a method of consolidating on one server 1. For example, if the server 1 that performs the redistribution process is the first server 1A and the total tradable balance is 150,000 yen, the first server 1A
, 150,000 yen total transactionable balance on the first server 1A
Only distribute to. Then, similarly to the weight distribution method and the like, the server 1 that is performing the redistribution processing (the first server 1A in the above example) obtains a new excess destination limit and distributes it to each of the other servers 1. . In this case, in order to consolidate the total amount of the total tradable balance into one server 1, the other servers 1
Is available for trading at 0 yen. In this system, for example, the total transaction amount is distributed by the weight distribution method (1).

【0039】制御部13は、上記再配分処理により自サ
ーバ1に新たに設定された仕向超過限度額から、為替電
文が示す為替取引金額が処理できる金額か否か、すなわ
ち、新たな仕向超過限度額と自サーバ1にて既に取引さ
れた金額(仕向超過額)の差額が為替取引金額以上であ
るかを判別する。為替取引金額が自サーバ1で処理でき
る金額である場合、制御部13は、為替取引金額を自サ
ーバ1の仕向超過額に加算して更新し、また、処理でき
ない金額である場合、所定のエラー処理を行う。
The control unit 13 determines whether or not the exchange transaction amount indicated by the forex message is an amount that can be processed, that is, the new excess destination limit, based on the excess destination limit newly set in the server 1 by the redistribution process. It is determined whether or not the difference between the amount and the amount already transacted in the server 1 (excess amount of destination) is equal to or greater than the exchange transaction amount. When the exchange transaction amount is an amount that can be processed by the own server 1, the control unit 13 updates the exchange transaction amount by adding it to the excess destination amount of the own server 1, and when the exchange amount is an amount that cannot be processed, a predetermined error occurs. Perform processing.

【0040】また、制御部13は、例えば図6に示すよ
うに、第1サーバ1Aと第2サーバ1Bと第3サーバ1
Cの仕向超過額を合計し、合計額を総仕向超過額として
設定する。この総仕向超過額の算出のタイミングは任意
であり、例えば、為替電文を自サーバ1内で処理する場
合であって自サーバ1の総仕向超過額を更新したとき、
また、再配分処理において他のサーバ1の仕向超過額を
集信したとき、等である。
The control unit 13 includes a first server 1A, a second server 1B, and a third server 1B as shown in FIG.
The total amount of excess destination of C is totaled, and the total amount is set as the total excess amount of destination. The timing of calculating the total destination excess is arbitrary. For example, when the exchange message is processed in the own server 1 and the total destination excess of the server 1 is updated,
Also, when the excess amount of the destination of another server 1 is collected in the reallocation processing, and the like.

【0041】また、制御部13は、他のサーバ1から仕
向超過額を取得するときに、他のサーバ1のいずれかが
故障で応答がない場合には、例えば、応答があったサー
バ1のみを対象に再配分を行う。すなわち、制御部13
は、応答があったサーバ1から受け取った仕向超過額か
ら各サーバ1の取引可能な残高を算出し、算出額を合計
することによって、故障中のサーバ1以外のサーバ1に
ついての総取引可能残高を算出する。そして、その総取
引可能残高を上記配分方法により、稼働中のサーバ1だ
けで配分する。このように、サーバ1の一部が故障中で
あっても、稼働中のサーバ1だけで再配分処理を行うた
め、総仕向超過額が総仕向超過限度額を越えることな
く、取引可能な残高の再配分を行うことができる。
Further, when acquiring the excess destination amount from another server 1, if any of the other servers 1 is out of order and there is no response, for example, only the server 1 that has responded Redistribute to That is, the control unit 13
Calculates the tradable balance of each server 1 from the excess destination amount received from the server 1 that has responded, and sums the calculated amounts to obtain the total tradable balance of the servers 1 other than the failed server 1 Is calculated. Then, the total tradable balance is distributed only by the operating server 1 by the above-mentioned distribution method. As described above, even if a part of the server 1 is out of order, the redistribution process is performed only by the operating server 1, so that the total excess destination does not exceed the total excess limit and the balance that can be traded can be obtained. Can be redistributed.

【0042】また、制御部13は、仕向銀行の管理情報
を更新するとともに、被仕向銀行の管理情報について、
自サーバ1の仕向超過額から為替電文が示す為替取引金
額を差し引いて更新する。
The control unit 13 updates the management information of the destination bank and updates the management information of the destination bank.
It updates by subtracting the exchange transaction amount indicated by the exchange message from the excess destination amount of the server 1 itself.

【0043】また、制御部13は、再配分処理を行って
いる他のサーバ1からの仕向超過額の要求に応じて、金
額管理部11から自サーバ1の仕向超過額を読み出して
要求元のサーバ1に送信する。また、制御部13は、再
配分処理を行っている他のサーバ1から配信される新た
な仕向超過限度額を受信して、金額管理部11における
自サーバ1の仕向超過限度額を更新する。
Further, in response to a request for the excess destination from another server 1 which is performing the redistribution process, the control unit 13 reads out the excess destination of the server 1 from the amount management unit 11 and reads the excess destination of the server 1 from the request source. Send to server 1. In addition, the control unit 13 receives a new excess destination limit distributed from another server 1 that is performing the redistribution process, and updates the excess destination limit of the own server 1 in the amount management unit 11.

【0044】中継装置3は、銀行ホスト7からネットワ
ークを介して為替電文を受信し、いずれかのサーバ1
(1A、1B、1C)にその為替電文を割り振る。
The relay device 3 receives the exchange message from the bank host 7 via the network, and
(1A, 1B, 1C) is allocated to the exchange message.

【0045】銀行ホスト7は、為替取引において、例え
ば、自銀行(仕向銀行)を示す情報、電文の送信先の被
仕向銀行を示す情報、為替取引金額を示す情報等を含む
為替電文を発行し、ネットワークを介して仲介センタ5
に送信する。
In the exchange transaction, the bank host 7 issues a foreign exchange message including, for example, information indicating the own bank (destination bank), information indicating the destination bank to which the message is transmitted, information indicating the exchange transaction amount, and the like. , Mediation center 5 via a network
Send to

【0046】本システムでは、分散して取引処理を行う
各サーバ1に対して、各自が処理できる取引限度額(仕
向超過限度額)を予め定めておき、為替電文を処理して
いるサーバ1で取引限度額を超過しそうになったとき
に、サーバ1間で通信を行って、全サーバ1で取引可能
な金額を再配分するため、ネットワークトラフィックを
軽減させるとともに、総取引金額が予め設定された限度
額(総仕向超過限度額)を超過することを防止できる。
また、複数のサーバ1の一部が故障しても、稼働中のサ
ーバ1間で取引できる金額の再配分を行うため、取引金
額が予め設定された限度額(総仕向超過限度額)を超過
することを防止できる。
In the present system, a transaction limit (exceeding destination limit) which can be processed by each server 1 which performs transaction processing in a distributed manner is determined in advance, and the server 1 which processes the exchange message is set in advance. When the transaction limit is about to be exceeded, communication is performed between the servers 1 to redistribute the amount that can be transacted by all the servers 1 so that network traffic is reduced and the total transaction amount is set in advance. Exceeding the limit (total destination excess limit) can be prevented.
In addition, even if a part of the plurality of servers 1 fails, the transaction amount exceeds the preset limit (overall destination limit) in order to redistribute the transaction amount among the operating servers 1. Can be prevented.

【0047】次に、本システムの特徴部分であるサーバ
1の動作を具体的に説明する。まず、為替電文を受信し
たサーバ1の動作を、例えば第1サーバ1Aが為替電文
を受信した場合を例に図7、図8を参照して説明する。
例えば、図7(A)に示すように、総仕向超過限度額が
1,000,000円と設定されているD銀行の管理情
報について、第1サーバ1Aと第2サーバ1Bと第3サ
ーバ1Cの仕向超過限度額がそれぞれ400,000
円、300,000円、300,000円と設定されて
いる場合に、第1サーバ1AがD銀行の銀行ホスト7か
らの為替電文を受信したこととする。
Next, the operation of the server 1 which is a characteristic part of the present system will be specifically described. First, the operation of the server 1 that has received the exchange message will be described with reference to FIGS. 7 and 8, for example, when the first server 1A receives the exchange message.
For example, as shown in FIG. 7A, regarding the management information of Bank D in which the total overdelivery limit is set to 1,000,000 yen, the first server 1A, the second server 1B, and the third server 1C Overdelivery limit of 400,000 each
It is assumed that the first server 1A has received an exchange message from the bank host 7 of Bank D when yen, 300,000 yen, and 300,000 yen are set.

【0048】第1サーバ1Aは、受信した為替電文を電
文DB12に記憶し(ステップS1)、D銀行の管理情
報における自己の仕向超過額に、為替電文が示す為替取
引金額を加算する(ステップS2)。次に、第1サーバ
1Aは、加算後の金額が、自己の仕向超過限度額を超過
するか否かを判別する(ステップS3)。ここで、例え
ば、D銀行から受信した為替電文が示す為替取引金額が
200,000円であることとする。この場合、第1サ
ーバ1Aは、自己の仕向超過額200,000円の取引
金額を加算し、加算した金額400,000円が、自己
の仕向超過限度額400,000円を超過していないと
判別する。
The first server 1A stores the received exchange message in the message DB 12 (step S1), and adds the exchange transaction amount indicated by the exchange message to the excess amount of its own destination in the management information of Bank D (step S2). ). Next, the first server 1A determines whether or not the sum after the addition exceeds its own excess destination limit (step S3). Here, for example, it is assumed that the exchange transaction amount indicated by the exchange message received from Bank D is 200,000 yen. In this case, the first server 1A adds the transaction amount of its own excess amount of 200,000 yen and determines that the added amount 400,000 yen does not exceed its own excess amount limit of 400,000 yen. Determine.

【0049】ステップS3で、加算後の金額が仕向超過
限度額を超過していないと判別された場合、第1サーバ
1Aは、加算後の金額を、新たな自己の仕向超過額とし
て更新する(ステップS4)。このとき、第1サーバ1
Aは、総仕向超過額も併せて更新してもよい。この場
合、第1サーバ1Aは、図7(B)に示すように、第1
サーバ1Aの仕向超過額を、為替取引金額200,00
0円の加算後の金額400,000に更新する。
If it is determined in step S3 that the added amount does not exceed the excess destination limit, the first server 1A updates the added amount as a new own excess destination amount (step S3). Step S4). At this time, the first server 1
A may also update the total destination excess amount at the same time. In this case, the first server 1A, as shown in FIG.
The excess amount of the server 1A is converted to the exchange transaction amount 200,00.
It is updated to 400,000 after adding 0 yen.

【0050】ステップS4で、自己の仕向超過額等の管
理情報を更新した後、第1サーバ1Aは、受信した為替
電文を指定された被仕向銀行に送信する(ステップS
5)。このようにして、第1サーバ1Aが、D銀行から
の為替電文の受信に応じて、その為替取引金額が第1サ
ーバ1Aが処理できる金額の範囲にあることをチェック
した後、D銀行の管理情報を更新して、為替電文を被仕
向銀行に送信する。
In step S4, after updating its own management information such as excess destination, the first server 1A transmits the received exchange message to the designated destination bank (step S4).
5). In this way, after the first server 1A checks that the exchange transaction amount is within the range of the amount that can be processed by the first server 1A in response to receiving the exchange message from the bank D, the management of the bank D Update the information and send the exchange message to the destination bank.

【0051】また、ステップS3で、加算後の金額が仕
向超過限度額を超過していると判別された場合、第1サ
ーバ1Aは、他のサーバ1と通信を行って、D銀行につ
いて取引可能な金額を再配分するための再配分処理を行
う(ステップS6)。
If it is determined in step S3 that the sum after the addition exceeds the excess destination limit, the first server 1A communicates with the other server 1 to make a transaction with the bank D. A redistribution process for redistributing a large amount is performed (step S6).

【0052】図9に再配分処理のフローチャートを示
す。図示されるように、再配分処理では、第1サーバ1
Aは、まず、他のサーバ1B、1Cから仕向超過額を集
信する(ステップS11)。このとき、第1サーバ1A
は、集信したものおよび自サーバの仕向超過額を他のサ
ーバ1B、1Cに配信してもよい。次に、第1サーバ1
Aは、各サーバ1について、仕向超過額と仕向超過限度
額の差額を取り、各サーバがそれぞれ取引できる残高を
算出し、それらを合計して、全サーバ1で取引できる総
取引可能残高を求める(ステップS12)。
FIG. 9 shows a flowchart of the redistribution process. As shown, in the reallocation process, the first server 1
A first collects the excess destination from the other servers 1B and 1C (step S11). At this time, the first server 1A
May distribute the collected information and the excess destination amount of the own server to the other servers 1B and 1C. Next, the first server 1
A calculates the difference between the excess destination and the excess limit for each server 1, calculates the balance that each server can trade, and sums them to obtain the total tradable balance that can be traded by all servers 1. (Step S12).

【0053】次に、第1サーバ1Aは、総取引可能残高
を、各サーバ1に対して所定の配分方法により配分し、
各配分金額に基づき、各サーバ1の仕向超過限度額をそ
れぞれ更新する(ステップS13)。また第1サーバ1
Aは、他のサーバ1B、1Cにそれぞれの仕向超過限度
額を配信する(ステップS14)。
Next, the first server 1A distributes the total tradable balance to each server 1 by a predetermined distribution method,
The destination excess limit of each server 1 is updated based on each distribution amount (step S13). Also, the first server 1
A distributes the excess destination limit to each of the other servers 1B and 1C (step S14).

【0054】例えば、図7(A)に示す第1サーバ1A
が受信した為替電文の為替取引金額が300,000円
であることとする。この場合、仕向超過額と為替取引金
額の加算金額が500,000円となり、この金額は第
1サーバ1Aの仕向超過限度額を超過するため、第1サ
ーバ1Aは、図10(A)に示すように、第2サーバ1
Bと第3サーバ1Cから仕向超過額をそれぞれ集信し、
各サーバ1の仕向超過限度額と仕向超過額の差額を求め
る。この差額は、第1サーバ1Aについては200,0
00円(=400,000円−200,000円)とな
り、第2サーバ1Bについては150,000円(=3
00,000円−150,000円)となり、第3サー
バ1Cについては250,000円(=300,000
円−50,000円)となる。
For example, the first server 1A shown in FIG.
Assume that the exchange transaction amount of the exchange message received is 300,000 yen. In this case, the added amount of the excess destination amount and the foreign exchange transaction amount is 500,000 yen, and this amount exceeds the excess destination limit of the first server 1A. Therefore, the first server 1A is shown in FIG. Like the second server 1
B and the third server 1C collect excess destinations respectively,
The difference between the excess destination limit and the excess destination of each server 1 is determined. This difference is 200,0 for the first server 1A.
00 yen (= 400,000 yen-200,000 yen), and 150,000 yen (= 3 yen) for the second server 1B.
00,000 yen-150,000 yen) and 250,000 yen (= 300,000) for the third server 1C.
Yen-50,000 yen).

【0055】第1サーバ1Aは、これらの差額を合計し
た総取引可能金額600,000を、例えば重量配分方
法に従って各サーバ1に配分することとする。この場
合、第1サーバ1Aと第2サーバ1Bと第3サーバ1C
の仕向超過額の比は、200,000円:150,00
0円:50,000円であるため、総取引可能金額は、
第1サーバ1Aに300,000円、第2サーバ1Bに
225,000円、第3サーバ1Cに75,000円、
それぞれ配分される。従って、図10(B)に示すよう
に、第1サーバ1Aの新たな仕向超過限度額は500,
000円、第2サーバ1Bの新たな仕向超過限度額は3
75,000円、第3サーバ1Cの新たな仕向超過限度
額は125,000円として、それぞれ更新され、第2
サーバ1Bと第3サーバ1Cに新たな仕向超過限度額が
配信される。
The first server 1A distributes the total tradable amount 600,000, which is the sum of these differences, to each server 1 according to, for example, a weight distribution method. In this case, the first server 1A, the second server 1B, and the third server 1C
The ratio of excess destination is 200,000 yen: 150,000
0 yen: Because it is 50,000 yen, the total transactionable amount is
300,000 yen for the first server 1A, 225,000 yen for the second server 1B, 75,000 yen for the third server 1C,
Each is distributed. Accordingly, as shown in FIG. 10 (B), the new destination excess limit of the first server 1A is 500,
000 yen, the new excess destination limit of the second server 1B is 3
75,000 yen, and the new overdelivery limit of the third server 1C is updated as 125,000 yen, respectively.
The new excess destination limit is distributed to the server 1B and the third server 1C.

【0056】各サーバ1への取引可能な金額の再配分が
完了した後、第1サーバ1Aは、自サーバ1に設定され
た新たな仕向超過限度額に基づいて、D銀行からの為替
電文が示す為替取引金額が処理できるか、すなわち、メ
インフローチャートのステップS2で取得した仕向超過
額と為替取引金額の加算金額が、新たな仕向超過限度額
を超過するか否かを判別する(ステップS15)。この
例では、第1サーバ1Aが受信した為替取引金額30
0,000円と仕向超過額200,000円の加算金額
が500,000円であり、新たな仕向超過限度額が5
00,000円であるため、第1サーバ1Aは、加算金
額が新たな仕向超過限度額を超過しないと判別する。
After the reallocation of the transactionable amount to each server 1 is completed, the first server 1A transmits the exchange message from Bank D based on the new excess destination limit set in its own server 1. It is determined whether or not the indicated exchange transaction amount can be processed, that is, whether or not the added amount of the excess destination amount and the exchange transaction amount acquired in step S2 of the main flowchart exceeds the new excess destination limit (step S15). . In this example, the exchange transaction amount 30 received by the first server 1A
The additional amount of 0000 yen and excess amount of 200,000 yen is 500,000 yen, and the new excess amount limit is 5
Since the price is ¥ 000, the first server 1A determines that the added amount does not exceed the new destination excess limit.

【0057】ステップS15において、加算後の金額が
新たな仕向超過限度額を超過しないと判別された場合、
第1サーバ1Aは、為替電文を指定された被仕向銀行に
送信する(ステップS16)。また、加算後の金額が新
たな仕向超過限度額を超過すると判別された場合、第1
サーバ1Aは、所定のエラー処理を行う(ステップS1
7)。
If it is determined in step S15 that the sum after addition does not exceed the new destination excess limit,
The first server 1A transmits the exchange message to the designated destination bank (step S16). If it is determined that the sum after the addition exceeds the new destination excess limit, the first
The server 1A performs a predetermined error process (step S1).
7).

【0058】このように、第1サーバ1Aが取引できる
残高が不足していても、全サーバ1で取引できる金額を
再配分して、再設定された仕向超過限度額の範囲で取引
を続行可能とすることができる。
As described above, even if the balance that the first server 1A can trade is insufficient, the amount that can be traded by all the servers 1 can be redistributed, and the transaction can be continued within the reset destination excess limit. It can be.

【0059】また、図9に示す再配分処理において、第
1サーバ1Aが他のサーバ1B、1Cから仕向超過額を
集信する際、一部のサーバ1が故障している場合には、
第1サーバ1Aは、故障しているサーバ1を処理対象か
ら除く。この場合の、第1サーバ1Aの動作について説
明する。
In the redistribution process shown in FIG. 9, when the first server 1A collects the excess destination from the other servers 1B and 1C, if some of the servers 1 are out of order,
The first server 1A removes the failed server 1 from the processing target. The operation of the first server 1A in this case will be described.

【0060】例えば、図11(A)に示すように、第1
サーバ1Aが、為替取引金額が300,000円の為替
電文を受信した場合、加算後の金額が500,000円
となり、第1サーバ1Aの仕向超過限度額を超過するた
め、第1サーバ1Aは、上述のように、再配分処理を行
う。この再配分処理では、第1サーバ1Aは、第2サー
バ1Bと第3サーバ1Cの仕向超過額を取得するため、
各サーバ1B、1Cに仕向超過額を要求する。このと
き、第2サーバ1Bが故障していることとする。この場
合、第1サーバ1Aは、第2サーバ1Bからの応答がな
いため、第2サーバ1Bを処理対象から除き、第1サー
バ1Aと第3サーバ1Cだけで総取引可能金額を算出す
る。すなわち、第1サーバ1Aについての仕向超過限度
額と仕向超過額の差額200,000円(=400,0
00円−200,000円)と、第3サーバ1Cについ
ての仕向超過限度額と仕向超過額の差額250,000
円(=300,000円−50,000円)と、を合計
して、総取引可能金額450,000円を算出する。
For example, as shown in FIG.
When the server 1A receives the exchange message with the exchange transaction amount of 300,000 yen, the added amount is 500,000 yen, which exceeds the destination excess limit of the first server 1A. , A redistribution process is performed as described above. In this redistribution process, the first server 1A obtains the excess destination amount of the second server 1B and the third server 1C,
It requests each server 1B, 1C for a destination excess amount. At this time, it is assumed that the second server 1B has failed. In this case, since there is no response from the second server 1B, the first server 1A excludes the second server 1B from the processing target and calculates the total transactionable amount only by the first server 1A and the third server 1C. That is, the difference between the excess destination limit and the excess destination amount for the first server 1A is 200,000 yen (= 400,0
00-200,000 yen) and the difference 250,000 between the excess destination limit and the excess destination amount for the third server 1C.
Yen (= 300,000 yen−50,000 yen) is added to calculate a total transactionable amount of 450,000 yen.

【0061】第1サーバ1Aは、これらの差額を合計し
た総取引可能金額450,000を、例えば重量配分方
法に従って配分することとする。第1サーバ1Aは、第
2サーバ1Bを処理対象から除き、第1サーバ1Aと第
3サーバ1Cの仕向超過額の比の200,000円:5
0,000円で、総取引可能金額を配分する。この場
合、第1サーバ1Aには360,000円、第3サーバ
1Cには90,000円が配分される。従って、図11
(B)に示すように、第1サーバ1Aは、第1サーバ1
Aと第3サーバ1Cについて、配分された金額を仕向超
過額に加算して、第1サーバ1Aの新たな仕向超過限度
額を560,000円、第3サーバ1Cの新たな仕向超
過限度額を140,000円としてそれぞれ更新し、第
3サーバ1Cに新たな仕向超過限度額を配信する。
The first server 1A distributes the total tradable amount 450,000, which is the sum of these differences, according to, for example, a weight distribution method. The first server 1A excludes the second server 1B from the processing target, and the ratio of the excess destination of the first server 1A to the third server 1C is 200,000 yen: 5.
The total transactionable amount is distributed at 0000 yen. In this case, 360,000 yen is allocated to the first server 1A and 90,000 yen is allocated to the third server 1C. Therefore, FIG.
As shown in (B), the first server 1A is the first server 1
For A and the third server 1C, the allocated amount is added to the excess destination, the new excess limit for the first server 1A is 560,000 yen, and the new excess limit for the third server 1C is Each is updated to 140,000 yen, and the new destination excess limit is distributed to the third server 1C.

【0062】このようにして、一部のサーバ1に故障が
生じても、そのサーバ1を処理対象から除外し、残りの
サーバ1間において取引可能な金額の再配分を行うた
め、サーバ1全体で取引された金額が限度額を超過する
ことを防止することができる。
In this way, even if a failure occurs in some of the servers 1, the server 1 is excluded from the processing target, and the transactionable amount is redistributed among the remaining servers 1. Can be prevented from exceeding the limit.

【0063】また、あるサーバ1が他のサーバ1から情
報を集信する際に、一部のサーバ1が故障等により応答
しない場合に、故障しているサーバ1が復旧するまでリ
トライし、復旧後に再配分してもよい。また、この場合
の再配分処理を行うサーバ1の動作を、「応答があった
サーバ1のみを対象として再配分する」、「故障してい
るサーバ1が復旧するまでリトライし、復旧後に再配分
する」、等の複数の動作のなかから選択して設定するよ
うにしてもよい。
When a certain server 1 collects information from another server 1 and some of the servers 1 do not respond due to a failure or the like, the server 1 retries until the failed server 1 is recovered, and recovers. It may be redistributed later. In this case, the operation of the server 1 that performs the redistribution processing is described as “re-distribute only the server 1 that has responded”, “retry until the failed server 1 is recovered, and redistribute after recovery. Yes "and the like may be selected and set from a plurality of operations.

【0064】また、上記説明では、再配信処理を行った
ときに、再配分された仕向超過限度額によっても処理で
きない場合にはエラーとしているが、これに限定され
ず、複数の配分方法を採用しているときには、再度、別
な方法で配分処理を行うようにしてもよい。また、上記
説明では、サーバ1の数を3台としているが、これは一
例であり、サーバ1の数は任意である。
In the above description, when the redistribution processing is performed, if the processing cannot be performed even with the redistributed excess limit, it is determined that an error has occurred. However, the present invention is not limited to this. If so, the distribution process may be performed again by another method. In the above description, the number of servers 1 is three, but this is an example, and the number of servers 1 is arbitrary.

【0065】なお、本発明は、為替取引のためのシステ
ムに限定されず、複数のコンピュータで分散して取引処
理を行う種々の取引システムに適用可能である。
The present invention is not limited to a system for foreign exchange transactions, but is applicable to various transaction systems in which a plurality of computers perform transaction processing in a distributed manner.

【0066】また、本発明は、銀行間の取引管理に限定
されず、信用金庫、郵便局、等の種々の金融機関間の取
引管理のためのシステムに適用可能である。
The present invention is not limited to transaction management between banks, but is applicable to a system for transaction management between various financial institutions such as a credit union and a post office.

【0067】なお、この発明の取引システムは、専用の
システムによらず、通常のコンピュータシステムを用い
て実現可能である。例えば、コンピュータに上述の動作
を実行するためのプログラムを格納した媒体(フロッピ
ー(登録商標)ディスク、CD−ROM等)から該プロ
グラムをインストールすることにより、上述の処理を実
行するサーバ1等を構成することができる。なお、上述
の機能を、OSが分担又はOSとアプリケーションの共
同により実現する場合等には、OS以外の部分のみを媒
体に格納してもよい。
The transaction system of the present invention can be realized by using a general computer system without using a dedicated system. For example, by installing the program from a medium (a floppy (registered trademark) disk, CD-ROM, or the like) storing a program for executing the above-described operation in a computer, the server 1 or the like that executes the above-described processing is configured. can do. In the case where the above-described functions are realized by the OS sharing or the OS and the application being jointly used, only the part other than the OS may be stored in the medium.

【0068】また、コンピュータにプログラムを供給す
るための媒体は、通信媒体(通信回線、通信ネットワー
ク、通信システムのように、一時的にプログラムを保持
する媒体)でも良い。例えば、通信ネットワークの掲示
板(BBS)に該プログラムを掲示し、これをネットワ
ークを介して配信してもよい。そして、このプログラム
を起動し、OSの制御下で、他のアプリケーションプロ
グラムと同様に実行することにより、上述の処理を実行
することができる。
The medium for supplying the program to the computer may be a communication medium (medium for temporarily storing the program, such as a communication line, a communication network, or a communication system). For example, the program may be posted on a bulletin board (BBS) of a communication network and distributed via the network. Then, by starting this program and executing it in the same manner as other application programs under the control of the OS, the above-described processing can be executed.

【0069】[0069]

【発明の効果】以上説明したように、本発明によれば、
金融機関毎に、各サーバが取引できる金額を予め割り当
てておき、各サーバは自己の取引限度額を超えない範囲
で取引する。これにより、例えば、自己の取引合計額が
自己の取引限度額を超えるまで、他のサーバと通信しな
くてもよいため、ネットワークトラフィック等の不可を
軽減することができる。また、各サーバは自己に割り振
られた取引限度額の範囲で取引電文を処理するため、一
部のサーバが故障していても、全サーバで処理した取引
金額の合計が、所定の限度額を超過することなく、取引
管理が可能となる。
As described above, according to the present invention,
For each financial institution, the amount that each server can trade is allocated in advance, and each server trades within a range that does not exceed its own transaction limit. Thus, for example, it is not necessary to communicate with another server until the total transaction value of the user exceeds the maximum transaction value of the user, so that the impossibility of network traffic or the like can be reduced. In addition, since each server processes transaction messages within the range of the transaction limit allocated to itself, even if some of the servers are out of order, the sum of transaction amounts processed by all servers will exceed the predetermined limit. Transaction management is possible without exceeding.

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

【図1】本発明の実施の形態に係る取引システムの構成
を模式的に示す図である。
FIG. 1 is a diagram schematically showing a configuration of a transaction system according to an embodiment of the present invention.

【図2】図1の取引システムにおけるサーバが記憶する
管理情報のデータ構成の一例を説明するための図であ
る。
FIG. 2 is a diagram illustrating an example of a data configuration of management information stored in a server in the transaction system of FIG. 1;

【図3】相互交換方法を説明するための図である。FIG. 3 is a diagram for explaining a mutual exchange method.

【図4】集配式交換方法を説明するための図である。FIG. 4 is a diagram for explaining a pickup and delivery type exchange method.

【図5】重量配分方法を説明するための図である。FIG. 5 is a diagram for explaining a weight distribution method.

【図6】総仕向超過額の算出処理を説明するための図で
ある。
FIG. 6 is a diagram illustrating a process of calculating a total destination excess amount.

【図7】為替電文を受信したサーバの動作を説明するた
めの図である。
FIG. 7 is a diagram for explaining the operation of the server that has received the exchange message.

【図8】為替電文を受信したサーバの動作を説明するた
めのフローチャートである。
FIG. 8 is a flowchart for explaining the operation of the server that has received the exchange message.

【図9】再配分処理を説明するためのフローチャートで
ある。
FIG. 9 is a flowchart illustrating a redistribution process.

【図10】再配分処理を説明するための図である。FIG. 10 is a diagram illustrating a redistribution process.

【図11】サーバの一部が故障している場合の再配分処
理におけるサーバの動作を説明するための図である。
FIG. 11 is a diagram for explaining the operation of the server in the reallocation processing when a part of the server has failed.

【図12】複数のサーバで分散して取引処理を行うシス
テムの一例を説明するための図である。
FIG. 12 is a diagram illustrating an example of a system in which a plurality of servers perform transaction processing in a distributed manner.

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

1 サーバ 3 中継装置 5 仲介センタ 7 銀行ホスト 1A 第1サーバ 1B 第2サーバ 1C 第3サーバ 11 金額管理部 12 電文データベース 13 制御部 Reference Signs List 1 server 3 relay device 5 intermediary center 7 bank host 1A first server 1B second server 1C third server 11 amount management unit 12 message database 13 control unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】金融機関毎に取引金額の上限が予め定めら
れ、金融機関からの取引金額を含む取引電文を複数のサ
ーバで分散して処理する取引管理システムにおいて、 前記サーバは、 前記複数のサーバの各々の処理可能な取引限度額と、前
記複数のサーバの各々の既に処理された取引金額を合計
した取引合計額と、を含む管理情報を各金融機関につい
て記憶する記憶手段と、 金融機関からの取引電文を受け取る受取手段と、 前記受取手段により受け取った取引電文を処理したとき
に、自己の取引合計額が自己の取引限度額を超過するか
否かを判別する判別手段と、 前記判別手段により、取引合計額が取引限度額を超過し
ないと判別された場合、該取引電文による取引を許可
し、取引合計額を更新するとともに、該取引電文を取引
先に送信する制御手段と、を備える、 ことを特徴とする取引管理システム。
1. A transaction management system in which an upper limit of a transaction amount is predetermined for each financial institution and a transaction message including a transaction amount from a financial institution is distributed and processed by a plurality of servers. Storage means for storing, for each financial institution, management information including a transaction limit amount that can be processed by each of the servers and a transaction total amount obtained by summing up transaction amounts already processed by each of the plurality of servers; Receiving means for receiving the transaction message from the receiving means; and, when processing the transaction message received by the receiving means, determining means for determining whether or not the total amount of the transaction exceeds its own transaction limit, and If it is determined by the means that the transaction total does not exceed the transaction limit, the transaction using the transaction message is permitted, the transaction total is updated, and the transaction message is transmitted to the customer. Transaction management system comprising a control means, and it is characterized.
【請求項2】前記サーバの前記制御手段は、 前記判別手段により、取引合計額が取引限度額を超過す
ると判別された場合、通信により他の各前記サーバの管
理情報の少なくとも一部を取得し、各前記サーバの当該
金融機関について取引可能な残額を合計した総取引可能
残額を算出する算出手段と、 前記算出された総取引可能残額を各前記サーバに再配分
し、前記記憶手段に記憶される当該金融機関の各前記サ
ーバの取引限度額を各配分金額に応じて更新する更新手
段と、 更新後の各前記サーバの取引限度額を、他の各前記サー
バに配信する配信手段と、 前記受取手段により受け取った取引電文を処理したとき
に、自己の取引合計額が、前記更新された自己の取引限
度額を超過するか否かを判別し、超過しない場合に、取
引を許可し、取引合計額を更新するとともに、該取引電
文を取引先に送信する手段と、を備える、 ことを特徴とする請求項1に記載の取引管理システム。
2. The control means of the server, if the determination means determines that the total transaction amount exceeds the transaction limit, acquires at least a part of the management information of each of the other servers by communication. Calculating means for calculating a total tradable balance obtained by summing up the tradable balance of the financial institution of each server; and redistributing the calculated total tradable balance to each of the servers, and storing the calculated total tradable balance in the storage means. Updating means for updating the transaction limit of each server of the financial institution in accordance with each distribution amount; distribution means for distributing the updated transaction limit of each server to each of the other servers; When processing the transaction message received by the receiving means, it is determined whether or not the total transaction amount of the user exceeds the updated own transaction limit.If not, the transaction is permitted, and the transaction is permitted. Combination The transaction management system according to claim 1, further comprising: means for updating the total amount and transmitting the transaction message to the customer.
【請求項3】前記サーバの前記算出手段は、通信により
他の各前記サーバの管理情報の少なくとも一部を取得す
る際に、応答がない故障サーバを検出した場合、該故障
サーバを除く各前記サーバの当該金融機関について取引
可能な残額を合計して総取引可能残額を算出する手段を
さらに備え、 前記サーバの前記更新手段は、前記故障サーバを除く他
の各前記サーバについて算出された総取引可能残額を、
前記故障サーバを除く各前記サーバに再配分して、前記
記憶手段に記憶される当該金融機関の前記故障サーバを
除く各前記サーバの取引限度額を各配分金額に応じて更
新する手段をさらに備え、 前記サーバの前記配信手段は、更新後の前記故障サーバ
を除く各前記サーバの取引限度額を、前記故障サーバを
除く他の各前記サーバに配信する手段をさらに備える、 ことを特徴とする請求項2に記載の取引管理システム。
3. The server according to claim 2, wherein the calculating unit of the server detects a failed server that does not respond when acquiring at least a part of the management information of each of the other servers by communication. The server further includes means for calculating a total tradable balance by summing up the tradable balance of the financial institution with respect to the financial institution, wherein the updating means of the server comprises: a total transaction calculated for each of the servers except the failed server. Possible balance,
Means for redistributing to each of the servers except for the failed server, and updating the transaction limit of each of the servers except for the failed server of the financial institution stored in the storage means according to the allocated amount. The distribution means of the server further comprises means for distributing the updated transaction limit of each of the servers except for the failed server to each of the other servers except for the failed server. Item 3. The transaction management system according to Item 2.
【請求項4】前記サーバの前記更新手段は、 前記総取引可能残額を、各前記サーバの取引合計額の比
に従って配分する第1配分手段と、 前記総取引可能残額を、各前記サーバで均等に配分する
第2配分手段と、 前記総取引可能残額を、自己に集約する第3配分手段
と、 の少なくとも1つを備える、 ことを特徴とする請求項2又は3に記載の取引管理シス
テム。
4. The updating means of the server, a first distribution means for distributing the total tradeable balance according to a ratio of a total transaction amount of each server, and the total tradeable balance is equally distributed by each server. 4. The transaction management system according to claim 2, further comprising: at least one of: a second distribution unit that distributes the total available balance to the third distribution unit;
【請求項5】金融機関毎に取引金額の上限が予め定めら
れ、金融機関からの取引金額を含む取引電文を、複数の
サーバで分散して処理するシステムにおける取引管理方
法であって、 各前記サーバに、前記複数のサーバの各々の処理可能な
取引限度額と、前記複数のサーバの各々の既に処理され
た取引金額を合計した取引合計額と、を含む管理情報を
各金融機関について記憶させるステップと、 金融機関からの取引電文を受け取って、いずれかの前記
サーバに該取引電文を割り振る割振ステップと、 前記取引電文が割り振られた前記サーバにおいて、該取
引電文を処理したときに、当該サーバの取引合計額が当
該サーバの取引限度額を超過するか否かを判別する判別
ステップと、 前記判別ステップにより、前記サーバの取引合計額が該
サーバの取引限度額を超過しないと判別された場合、該
取引電文による取引を許可し、該サーバの取引合計額を
更新するとともに、該取引電文を取引先に送信する制御
ステップと、 を備えることを特徴とする取引管理方法。
5. A transaction management method in a system in which an upper limit of a transaction amount is predetermined for each financial institution, and a transaction message including a transaction amount from the financial institution is distributed and processed by a plurality of servers. The server stores, for each financial institution, management information including a transaction limit amount that can be processed by each of the plurality of servers and a transaction total amount that is a sum of transaction amounts already processed of each of the plurality of servers. And a allocating step of receiving a transaction message from a financial institution and allocating the transaction message to any one of the servers. The server to which the transaction message is allocated, when the transaction message is processed, the server Determining whether or not the total transaction amount of the server exceeds the transaction limit of the server; and determining the total transaction amount of the server by the determination step. If it is determined that the transaction limit is not exceeded, a transaction step of permitting transaction by the transaction message, updating the transaction total amount of the server, and transmitting the transaction message to the customer is provided. Characteristic transaction management method.
【請求項6】前記制御ステップは、 前記判別ステップにより、前記取引電文が割り振られた
サーバにおいて、該サーバの取引合計額が該サーバの取
引限度額を超過すると判別された場合、通信により他の
各前記サーバの管理情報の少なくとも一部を取得し、各
前記サーバの当該金融機関について取引可能な残額を合
計した総取引可能残額を算出する算出ステップと、 前記算出された総取引可能残額を各前記サーバに再配分
し、前記取引電文が割り振られたサーバに記憶されてい
る当該金融機関の各前記サーバの取引限度額を各配分金
額に応じて更新する更新ステップと、 更新後の各前記サーバの取引限度額を、他の各前記サー
バに配信する配信ステップと、 前記取引電文が割り振られたサーバにおいて、前記取引
電文を処理したときに、該サーバの取引合計額が、更新
後の該サーバの取引限度額を超過するか否かを判別し、
超過しない場合に、取引を許可し、該サーバの取引合計
額を更新するとともに、該取引電文を取引先に送信する
ステップと、を備える、 ことを特徴とする請求項5に記載の取引管理方法。
6. The control step, if it is determined in the determination step that the total transaction amount of the server to which the transaction message is allocated exceeds the transaction limit of the server, another communication is performed. A calculating step of acquiring at least a part of the management information of each of the servers and calculating a total tradable balance obtained by summing up the tradable balances for the financial institution of each server; An update step of redistributing to the server, and updating the transaction limit of each of the servers of the financial institution stored in the server to which the transaction message is allocated according to each of the allocation amounts; and each of the updated servers. A distribution step of distributing the transaction limit amount to each of the other servers; and a server to which the transaction message is allocated, when the transaction message is processed, Determine whether the total transaction amount of the server exceeds the updated transaction limit of the server,
The transaction management method according to claim 5, further comprising the steps of: permitting the transaction if the amount does not exceed the limit, updating the transaction total amount of the server, and transmitting the transaction message to the customer. .
【請求項7】前記算出ステップは、通信により他の各前
記サーバの管理情報の少なくとも一部を取得する際に、
応答がない故障サーバを検出した場合、該故障サーバを
除く各前記サーバの当該金融機関について取引可能な残
額を合計して総取引可能残額を算出するステップをさら
に備え、 前記更新ステップは、前記故障サーバを除く他の各前記
サーバについて算出された総取引可能残額を、前記故障
サーバを除く各前記サーバに再配分して、前記取引電文
が割り振られたサーバに記憶されている当該金融機関の
前記故障サーバを除く各前記サーバの取引限度額を、各
配分金額に応じて更新するステップをさらに備え、 前記配信ステップは、更新後の前記故障サーバを除く各
前記サーバの取引限度額を、前記故障サーバを除く他の
各前記サーバに配信するステップをさらに備える、 ことを特徴とする請求項6に記載の取引管理方法。
7. The calculating step, when acquiring at least a part of the management information of each of the other servers by communication,
If a failed server that does not respond is detected, the server further includes a step of calculating a total tradeable balance by summing up the balances of the servers other than the failed server that can be traded with respect to the financial institution. The total tradable balance calculated for each of the servers other than the server is redistributed to each of the servers except the failed server, and the transaction message is stored in the assigned server of the financial institution. The method further comprises the step of updating the transaction limit of each of the servers except for the failed server according to each of the allocation amounts, and the distributing step further comprises: The transaction management method according to claim 6, further comprising the step of distributing to each of the servers other than the server.
【請求項8】前記更新ステップは、 前記総取引可能残額を、各前記サーバの取引合計額の比
に従って配分する第1配分ステップと、 前記総取引可能残額を、各前記サーバで均等に配分する
第2配分ステップと、 前記総取引可能残額を、自己に集約する第3配分ステッ
プと、 の少なくとも1つを備える、 ことを特徴とする請求項6又は7に記載の取引管理方
法。
8. The updating step comprises: a first allocating step of allocating the total tradable balance according to a ratio of a total transaction amount of each server; and allocating the total tradable balance equally to each server. 8. The transaction management method according to claim 6, comprising: at least one of: a second allocation step; and a third allocation step of aggregating the total tradeable balance to itself. 9.
【請求項9】コンピュータを、金融機関毎に取引金額の
上限が予め定められ、金融機関からの取引金額を含む取
引電文を複数のサーバで分散して処理する取引管理シス
テムにおける前記サーバとして機能させるためのプログ
ラムを記録したコンピュータ読み取り可能な記録媒体で
あって、 該コンピュータを、 前記複数のサーバの各々の処理可能な取引限度額と、前
記複数のサーバの各々の既に処理された取引金額を合計
した取引合計額と、を含む管理情報を各金融機関につい
て記憶する記憶手段、 金融機関からの取引電文を受け取る受取手段、 前記受取手段により受け取った取引電文を処理したとき
に、自己の取引合計額が自己の取引限度額を超過するか
否かを判別する判別手段、 前記判別手段により、取引合計額が取引限度額を超過し
ないと判別された場合、該取引電文による取引を許可
し、取引合計額を更新するとともに、該取引電文を取引
先に送信する制御手段、 として機能させるためのプログラムを記録したコンピュ
ータ読み取り可能な記録媒体。
9. A computer in which an upper limit of a transaction amount is predetermined for each financial institution, and which functions as said server in a transaction management system in which transaction messages including transaction amounts from financial institutions are distributed and processed by a plurality of servers. A computer-readable recording medium having recorded thereon a program for processing a total of a transaction limit of each of the plurality of servers and a transaction amount already processed of each of the plurality of servers. Storage means for storing, for each financial institution, management information including the total transaction amount, a receiving means for receiving a transaction message from the financial institution, and a total transaction amount of the own when the transaction message received by the receiving means is processed. Means for determining whether or not exceeds the transaction limit of its own, by the determination means, the total transaction amount exceeds the transaction limit Control means for permitting the transaction using the transaction message, updating the total transaction amount, and transmitting the transaction message to the customer, and a computer-readable recording medium recording a program for functioning as .
【請求項10】前記コンピュータを、 前記判別手段により、取引合計額が取引限度額を超過す
ると判別された場合、通信により他の各前記サーバの管
理情報の少なくとも一部を取得し、各前記サーバの当該
金融機関について取引可能な残額を合計した総取引可能
残額を算出する算出手段、 前記算出された総取引可能残額を各前記サーバに再配分
し、前記記憶手段に記憶される当該金融機関の各前記サ
ーバの取引限度額を各配分金額に応じて更新する更新手
段、 更新後の各前記サーバの取引限度額を、他の各前記サー
バに配信する配信手段、 前記受取手段により受け取った取引電文を処理したとき
に、自己の取引合計額が、前記更新された自己の取引限
度額を超過するか否かを判別し、超過しない場合に、取
引を許可し、取引合計額を更新するとともに、該取引電
文を取引先に送信する手段、 として機能させるためのプログラムをさらに記録した請
求項9に記載のコンピュータ読み取り可能な記録媒体。
10. The computer according to claim 1, wherein, if the discrimination means determines that the total transaction amount exceeds the transaction limit, the computer acquires at least a part of the management information of each of the other servers by communication, and Calculating means for calculating a total tradable balance obtained by summing the balances transactable for the financial institution, and redistributing the calculated total tradable balance to each of the servers; Updating means for updating the transaction limit of each server in accordance with each distribution amount; distribution means for distributing the updated transaction limit of each server to each of the other servers; and a transaction message received by the receiving means When processing is performed, it is determined whether or not the own transaction total exceeds the updated own transaction limit, and if not, the transaction is permitted and the transaction total is updated. The computer-readable recording medium according to claim 9, further comprising: a program for functioning as a means for transmitting the transaction message to a supplier.
JP15321499A 1999-06-01 1999-06-01 Method and system for transaction management and recording medium Pending JP2000348110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15321499A JP2000348110A (en) 1999-06-01 1999-06-01 Method and system for transaction management and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15321499A JP2000348110A (en) 1999-06-01 1999-06-01 Method and system for transaction management and recording medium

Publications (1)

Publication Number Publication Date
JP2000348110A true JP2000348110A (en) 2000-12-15

Family

ID=15557553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15321499A Pending JP2000348110A (en) 1999-06-01 1999-06-01 Method and system for transaction management and recording medium

Country Status (1)

Country Link
JP (1) JP2000348110A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179205A (en) * 2005-12-27 2007-07-12 Oki Electric Ind Co Ltd Exchange business proxy central processing system
KR101862000B1 (en) * 2017-11-22 2018-05-29 팝펀딩 주식회사 Risk management system of cryptography money using multi-customer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179205A (en) * 2005-12-27 2007-07-12 Oki Electric Ind Co Ltd Exchange business proxy central processing system
KR101862000B1 (en) * 2017-11-22 2018-05-29 팝펀딩 주식회사 Risk management system of cryptography money using multi-customer
WO2019103262A1 (en) * 2017-11-22 2019-05-31 팝펀딩 주식회사 Cryptocurrency risk management system using multiple exchanges

Similar Documents

Publication Publication Date Title
CN101535978B (en) Message forwarding backup manager in a distributed server system
CN101446885B (en) Storage system and access control method of storage system
US8577795B2 (en) System and method for revenue and authorization management
CN100527090C (en) Method for dynamically distributing computer resource
US20040138974A1 (en) Method and system for managing money of a customer
EP0411748A2 (en) System for matching of buyers and sellers with risk minimization
US20200090096A1 (en) Resource management system, management device, method, and program
CN101025674A (en) Storage system
US20130159191A1 (en) Method and system for limiting risk in banking transactions
CN105409171A (en) Burst mode control
CN110289999A (en) A kind of data processing method, system and device
KR102267655B1 (en) Method for investment based on blockchain and apparatus for using the method
JP2001034695A (en) Electronic money system, cooperation center and recording medium
CN110930257A (en) Data processing method, device, equipment and storage medium
CN115204918A (en) Reward resource distribution method, device, equipment and medium
JP5421017B2 (en) Information processing apparatus and information processing method
JP2000348110A (en) Method and system for transaction management and recording medium
JP6629908B2 (en) Transaction record system and program
CN110889687A (en) Method and device for processing account balance under distributed architecture
WO2020259598A1 (en) Transaction data processing method, device, apparatus and system
US20050038911A1 (en) Cooperative system and method therefor
KR102431296B1 (en) Providing method for multi-asset portfolio platform and system thereof
CN115689763A (en) Data processing method and device, electronic equipment and storage medium
KR20150022948A (en) Apparatus for managing encumbrance and operation method thereof
US20210319469A1 (en) Triggering and throttling access to reward card supplier interfaces