JP2009009613A - Transaction system - Google Patents

Transaction system Download PDF

Info

Publication number
JP2009009613A
JP2009009613A JP2008265875A JP2008265875A JP2009009613A JP 2009009613 A JP2009009613 A JP 2009009613A JP 2008265875 A JP2008265875 A JP 2008265875A JP 2008265875 A JP2008265875 A JP 2008265875A JP 2009009613 A JP2009009613 A JP 2009009613A
Authority
JP
Japan
Prior art keywords
order
transaction
brand
registered
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008265875A
Other languages
Japanese (ja)
Other versions
JP5018729B2 (en
Inventor
Hidezo Takeo
秀蔵 竹尾
Shintaro Yamabe
晋太郎 山邊
Tadashi Kanazawa
唯史 金澤
Hideyuki Kato
秀行 加藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008265875A priority Critical patent/JP5018729B2/en
Publication of JP2009009613A publication Critical patent/JP2009009613A/en
Application granted granted Critical
Publication of JP5018729B2 publication Critical patent/JP5018729B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that with respect to one piece of order information in securities transaction, reception, confirmation of transaction condition, conclusion of the transaction and transmission of the results are executed serially, so that when orders for a certain stock are concentrated to increase the transaction, therefore, the transaction is not smoothly executed, or in some cases, causing system down. <P>SOLUTION: A transaction system is configured so as to divide a transaction including a plurality of transaction requests in predetermined units and process each transaction (including sub-application units for the processing) in parallel. The units include a brand, terminal, market, server or the like. When the division is performed, the results of the respective divided transactions (sub-transactions) are stored in a database in the predetermined units, and the results stored in the database are transferred between the sub-transactions in response to transmission and reception of a message, so that the sub-transactions are processed in parallel in sequence. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、株式等の有価証券を含む商品の取引を実現するための技術に関する。その中でも特に、いわゆる証券市場と称される取引所で用いられる証券取引システム、その方法およびそのためのプログラムに関する。   The present invention relates to a technique for realizing a transaction of commodities including securities such as stocks. In particular, the present invention relates to a securities trading system used in an exchange called a so-called securities market, a method thereof, and a program therefor.

従来、証券取引を含む取引においては、注文情報を受信し、注文情報同士を比較して取引条件が満たすか否かにより取引を成立させていた(特許文献1)。より具体的には、入力装置32から入力された証券売買の注文情報,取引情報は、制御装置33を介して、取引記憶装置34、約定記憶装置36に記憶される。注文情報,取引情報は注文情報送信部35を通じて各顧客10,20に送信され、表示装置12に表示される。取引が成立した場合には、取引成立情報送信部37を介して、取引成立情報が送信され、表示装置12に表示され、スピーカ13から警告音が発せられる。取引内容が確認された場合は、注文情報、取引成立情報が削除され、約定記憶装置36に顧客識別情報、注文情報、取引情報が記憶される。   Conventionally, in transactions including securities transactions, order information is received, and the order information is compared with each other, and the transaction is established depending on whether or not the transaction conditions are satisfied (Patent Document 1). More specifically, securities trading order information and transaction information input from the input device 32 are stored in the transaction storage device 34 and the contract storage device 36 via the control device 33. The order information and transaction information are transmitted to the customers 10 and 20 through the order information transmission unit 35 and displayed on the display device 12. When the transaction is established, the transaction establishment information is transmitted via the transaction establishment information transmitting unit 37, displayed on the display device 12, and a warning sound is emitted from the speaker 13. When the transaction content is confirmed, the order information and the transaction establishment information are deleted, and the customer identification information, the order information, and the transaction information are stored in the contract storage device 36.

特開2001−297195号公報JP 2001-297195 A

しかしながら、特許文献1においては、1つの注文情報について、受信、取引条件確認、取引成立、結果送信の各処理をシリアルに実行している。このため、特許文献1においては、特定の銘柄の注文が集中した場合など取引量が増加した場合、取引処理がスムーズに流れない、場合によってはシステムがダウンするとの問題が生じた。   However, in Patent Document 1, each process of reception, transaction condition confirmation, transaction establishment, and result transmission is executed serially for one order information. For this reason, in Patent Document 1, there is a problem that the transaction processing does not flow smoothly when the transaction volume increases, such as when orders of specific brands are concentrated, or the system is down in some cases.

そこで、本発明では、いわゆるトランザクション(複数の取引要求)を、所定の単位で分割してそれぞれ各処理(処理のためのサブ業務単位を含む)を並行処理で実行するように構成した。また、本発明には、このように分割した場合に、順序性を保証するものも含まれる。例えば、処理、ステップごとにデータベースに処理の進捗状況を格納しておくが含まれる。また、所定の単位としては、銘柄、端末、市場、サーバなどが含まれる。   Therefore, in the present invention, a so-called transaction (a plurality of transaction requests) is divided into predetermined units, and each processing (including sub-operation units for processing) is executed in parallel processing. Further, the present invention includes those that guarantee the order when such division is performed. For example, storing the progress of the process in the database for each process and step is included. The predetermined unit includes a brand, a terminal, a market, a server, and the like.

より具体的には、証券取引の注文を発行する複数の取引端末と接続し、前記注文の取引を実行する証券取引システムにおいて、前記注文の受付処理を行い、受付処理が終了した注文を要件データベースに登録し、注文受付が終了したことを前記取引端末に送信する複数の受付手段であって、それぞれが処理すべき注文処理が前記取引端末に基づいて定められる受付手段と、それぞれが処理すべき銘柄が予め定められた複数の登録処理手段であって、受付処理が終わった注文のうち、当該登録処理手段で処理すべき銘柄の注文を前記要件データベースから読み出して、取引可能な状態として前記要件データベースに登録する登録処理手段と、前記要件データベースから登録が済んだ注文を読み出して、読み出した注文の登録が済んだことを前記取引端末に通知する複数の登録通知手段であって、それぞれが通知すべき注文が前記取引端末に基づいて定められる登録通知手段と、前記要件データベースに取引可能な状態として登録された注文で取引が成立する注文があれば成立処理を行い、成立済み注文として前記要件データベースに登録する約定処理手段であって、それぞれが処理すべき銘柄が予め定められた複数の約定処理手段と、前記要件データベースから成立済み注文を読み出して、読み出した注文が成立済みであることを前記取引端末に通知する複数の約定通知手段であって、それぞれが通知すべき注文が前記取引端末に基づいて定められる約定通知手段とを備え、前記複数の銘柄登録処理手段及び複数の前記約定処理手段のうちの一の登録処理手段及び約定処理手段が処理すべき銘柄は重複がないように設定されることを特徴とする証券取引システムである。また、本発明には、このシステムを構成する各装置(サーバ)、方法、これを実現するためのプログラムも含まれる。   More specifically, in a securities trading system that is connected to a plurality of trading terminals that issue securities trading orders and executes the trading of the orders, the order acceptance processing is performed, and the orders for which the acceptance processing is completed are stored in the requirement database. A plurality of accepting means for transmitting to the transaction terminal that the order acceptance has been completed, each accepting means for determining the order processing to be processed based on the transaction terminal, and each to be processed Among a plurality of registration processing means whose brands are determined in advance, out of the orders for which the reception process is completed, the order of the brand to be processed by the registration processing means is read from the requirement database, and the requirement is set as a transactionable state. A registration processing means for registering in the database, and reading out the registered order from the requirement database, and confirming that the readout order has been registered A plurality of registration notifying means for notifying the pulling terminal, each of which an order to be notified is determined based on the transaction terminal; If there is an order to be fulfilled, a fulfillment process is performed and registered in the requirement database as a fulfilled order. A plurality of execution notification means for reading a completed order and notifying the transaction terminal that the read order has been completed, and an execution notification means for determining the order to be notified by each transaction terminal based on the transaction terminal The registration processing means and the contract processing means of one of the plurality of brand registration processing means and the plurality of contract processing means are processed by Should stocks are securities trading system, characterized in that it is set so as not overlap. Further, the present invention includes each device (server) and method constituting this system, and a program for realizing this.

さらに本発明には、以下の構成も含まれる。
各取引端末とグループの対応関係が取れるよう、受付装置でこの対になる情報を付加してこれを用いることが含まれる。ここで、対になる情報としては、各銘柄を識別する情報と銘柄グループの対応関係を示す情報も含まれる。
Further, the present invention includes the following configurations.
In order for the correspondence relationship between each transaction terminal and the group to be obtained, this includes adding the paired information at the reception device and using it. Here, the information to be paired includes information for identifying each brand and information indicating a correspondence relationship between the brand groups.

本発明によれば、サブ業務単位を含む各処理での並行処理が可能になり、よりシステムの拡張性をあげることが可能になる。   According to the present invention, it is possible to perform parallel processing in each process including a sub-business unit, and it is possible to further enhance the expandability of the system.

本発明の実施の形態について、図面を用いて説明する。本実施の形態は、証券(株式)の取引を例に説明するが、本発明はそれに限定されるものではない。   Embodiments of the present invention will be described with reference to the drawings. Although this embodiment will be described by taking an example of securities (stock) transactions, the present invention is not limited to this.

まず、図6を用いて本実施の形態の基本的な内容であるトランザクションの分割処理について説明する。図6に示すようにトランザクションをサブ業務単位に分割し、これを図6下方に示すようにサブ業務単位で並行実行することで、パイプライン処理のような(擬似的な)並行処理を実現する。なお、各サブ業務に関しては、図6上方に示された注文受付処理、取引処理、注文通知処理等が、その一例である。   First, transaction division processing, which is the basic content of the present embodiment, will be described with reference to FIG. As shown in FIG. 6, a transaction is divided into sub-business units, which are executed in parallel in the sub-business units as shown in the lower part of FIG. 6, thereby realizing (pseudo) parallel processing such as pipeline processing. . For each sub-task, the order reception process, transaction process, order notification process, etc. shown in the upper part of FIG. 6 are examples.

次に、図12〜14を用いて、本実施の形態の概要(考え方)について説明する。本実施の形態の処理の前提として、取引処理は銘柄毎に順序性を保証し、注文受付や受付/約定通知は端末毎に管理する必要がある。これは、図12に示したとおりである。上記前提から、図13のように端末と銘柄とを各処理の処理単位とする。   Next, the outline (concept) of the present embodiment will be described with reference to FIGS. As a premise of the processing of the present embodiment, it is necessary to guarantee the order of transaction processing for each brand, and to manage order reception and reception / contract notification for each terminal. This is as shown in FIG. Based on the above assumption, the terminal and the brand are assumed to be processing units of each processing as shown in FIG.

また、この前提において、プロセス待ちが発生する要因については、処理単位が異なる処理間(例:注文受付〜取引処理制御1など)における待ち時間が挙げられる。
次に、図13を用いて、処理単位が異なる処理間での待ちの考え方を説明する。処理単位が異なる処理として、例として注文受付から取引処理制御1をあげ、説明する。注文受付処理は端末単位、取引処理制御1は銘柄単位の処理である必要があるため、以下の処理を実行する。
注文受付:複数のプロセスが同時に同一端末からの処理をすることが無いよう、該当端末が注文受付中かをチェックする。端末グループ毎のプロセス数(処理多重度)を設定可とする。
取引処理制御1:銘柄グループ毎のプロセス数を1とし、銘柄グループ毎にシリアル処理を行う。
In addition, in this premise, the cause of process waiting includes waiting time between processes with different processing units (for example, order reception to transaction processing control 1).
Next, the concept of waiting between processes with different processing units will be described with reference to FIG. As an example of processing with different processing units, transaction processing control 1 from order reception will be described as an example. Since the order receiving process needs to be a terminal unit and the transaction process control 1 needs to be a brand unit process, the following process is executed.
Order reception: Checks whether the corresponding terminal is receiving an order so that a plurality of processes do not simultaneously process from the same terminal. The number of processes (processing multiplicity) for each terminal group can be set.
Transaction processing control 1: The number of processes for each brand group is set to 1, and serial processing is performed for each brand group.

この制御によって、注文受付は端末毎、取引処理制御1は銘柄毎に順序性を保証している。   With this control, order acceptance is assured for each terminal, and transaction processing control 1 is assured for each brand.

図13のように、注文受付と取引処理制御1はそれぞれ端末、銘柄と処理単位が異なる。よって、以下の場合に待ちが発生することになる。   As shown in FIG. 13, the order acceptance and the transaction processing control 1 are different in terminal, brand and processing unit, respectively. Therefore, waiting occurs in the following cases.

図14に示すように、端末Aと端末Bから、同一銘柄C(銘柄グループ1)に対して注文を行った場合を説明する。取引処理制御1は銘柄毎にシリアル処理する必要があるため、例えば、取引処理制御1に対して、端末Aの注文が早く到着し、端末Bの注文があとに到着した場合、端末Aからの注文の取引処理制御1が終了するまで、端末Bからの注文の処理は待つこととなる。このように取引処理制御1のメッセージキュー(MQ)からの取出し時に待ちが発生する
上記待ち時間は、端末からの注文の到着がポアソン分布に従うこととし、取引処理制御1の処理時間、プロセス利用率、および窓口数(上記例では1)より、待ち行列理論を利用して算出する。レスポンス時間算出時はこの待ち時間を考慮し、評価している。この内容に関しては、図8〜11を用いて第2の実施形態として説明する。
As shown in FIG. 14, a case where an order is made for the same brand C (brand group 1) from the terminal A and the terminal B will be described. Since the transaction processing control 1 needs to serially process for each brand, for example, when the order of the terminal A arrives early with respect to the transaction processing control 1 and the order of the terminal B arrives later, Until the order transaction processing control 1 is completed, the order processing from the terminal B waits. In this way, a wait occurs when the transaction processing control 1 is taken out from the message queue (MQ). The waiting time is that the arrival of an order from the terminal follows a Poisson distribution, and the processing time and process utilization rate of the transaction processing control 1 And the number of windows (1 in the above example) using queue theory. When calculating the response time, this wait time is taken into account for evaluation. This content will be described as a second embodiment with reference to FIGS.

次に、本実施の形態におけるシステム構成図を図1に示す。各コンピュータは、ネットワークを介して互いに接続されている。また、各コンピュータは、メモリ、ハードディスクを含む記憶装置、CPUなどの処理装置を有し、記憶装置に格納されたプログラムに従って、処理装置が情報処理を実行するものである。図1に示すように、本実施の形態におけるシステムは、取引端末1、受付装置2、取引処理装置3、約定処理装置4と、取引に関する情報が格納された記憶装置群5から構成される。これら構成要件のそれぞれは、複数から構成されるものであるが、(1)取引端末1はグループとして複数の取引端末をまとめておいてもよい、(2)また、受付装置2、取引処理装置3、約定処理装置4は、ハードウエアとして一体のサーバ装置として構成され、それぞれはその機能を有するソフトウエアとして構成してもよい。また、(2)の場合、受付装置2、取引処理装置3を一体、取引処理装置3、約定処理装置4を一体などとしてもよい。本実施の形態では、図2に示すように約定処理装置4と取引処理装置3を一体とした例で説明する。この図1,2の構成では、各受付装置2(21,22)は、取引端末のグループ毎(証券会社など)に対応付けられている。また、各取引処理装置3、各約定処理装置4は(もしくはこれらが一体化された処理装置31,32)、処理すべき銘柄毎に対応付けられており、この対応関係の取引要求についての処理を実行する。この対応関係は、装置すなわちハードウエアでなく、ソフトウエアが有するようにしてもよい。さらに、この対応関係は、取引量などの条件に基づいて動的に変更してもよい。すなわち、あるグループからの取引要求やある銘柄の取引要求が(増加して)所定数(量)になった場合、所定の装置(例えば、取引要求の最も少ない同じ種類の装置、コンピュータ資源)をそのグループ(もしくは銘柄)の処理を実行するようにしてもよい。また、同じ種類の装置において、取引要求(もしくはそれに伴う計算量)の関係が一定の関係(差分が閾値以上や1:10などの所定の関係)を満たすかを検知して、この内容に応じて対応関係を変更する(少ない取引要求の装置を多い取引要求の装置に変える)ことも、本実施の形態に含まれる。   Next, FIG. 1 shows a system configuration diagram according to the present embodiment. Each computer is connected to each other via a network. Each computer has a processing device such as a memory, a storage device including a hard disk, and a CPU, and the processing device executes information processing according to a program stored in the storage device. As shown in FIG. 1, the system in the present embodiment includes a transaction terminal 1, a reception device 2, a transaction processing device 3, a contract processing device 4, and a storage device group 5 in which information related to transactions is stored. Each of these structural requirements is composed of a plurality of components. (1) Transaction terminal 1 may be a group of a plurality of transaction terminals. (2) In addition, acceptance device 2, transaction processing device 3. The contract processing device 4 is configured as an integrated server device as hardware, and each may be configured as software having the function. In the case of (2), the reception device 2 and the transaction processing device 3 may be integrated, and the transaction processing device 3 and the contract processing device 4 may be integrated. In the present embodiment, as shown in FIG. 2, an example in which the contract processing device 4 and the transaction processing device 3 are integrated will be described. 1 and 2, each receiving device 2 (21, 22) is associated with each group of transaction terminals (such as a securities company). In addition, each transaction processing device 3 and each contract processing device 4 (or processing devices 31 and 32 in which these are integrated) are associated with each brand to be processed, and processing for transaction requests of this correspondence relationship Execute. This correspondence may be included in software instead of the device, that is, hardware. Furthermore, this correspondence may be changed dynamically based on conditions such as the transaction volume. In other words, when a certain number (volume) of transaction requests from a group or a certain brand is (increased), a given device (for example, the same type of device with the least number of transaction requests, computer resources) You may make it perform the process of the group (or brand). In addition, in the same type of device, it is detected whether the relationship between transaction requests (or the amount of calculation associated therewith) satisfies a certain relationship (difference is greater than a threshold or a predetermined relationship such as 1:10). Thus, changing the correspondence (changing a device with a small number of transaction requests to a device with a large number of transaction requests) is also included in the present embodiment.

以下、本実施の形態の処理内容について、説明する。
まず、図3を用いて、本発明における第1の実施形態であるトランザクション処理手順について説明する。ステップ101において、受付装置21,22は対応する取引処理装置からの注文を受け付ける注文受付処理を実行する。ここでは、取引処理装置から指定銘柄、売買の別、希望金額、株数、要求者(取引端末(グループ))を識別する情報を含む取引要求を、受付装置21が受信する。対応する取引要求を受信するために、図示するように物理的に互いに対応する取引端末(グループ)を接続してもよいし、取引端末から対応する受付装置を特定して、特定された受付装置宛に、取引要求を送信するようにしてもよい。さらに、受付装置側で、対応する取引端末(グループ)のみを受信するようフィルタリング処理を施してもよい。
Hereinafter, the processing content of this Embodiment is demonstrated.
First, the transaction processing procedure according to the first embodiment of the present invention will be described with reference to FIG. In step 101, the accepting devices 21 and 22 execute an order accepting process for accepting an order from the corresponding transaction processing device. Here, the accepting device 21 receives a transaction request including information identifying the specified brand, the type of sale, the desired amount, the number of shares, and the requester (transaction terminal (group)) from the transaction processing device. In order to receive a corresponding transaction request, transaction terminals (groups) physically corresponding to each other may be connected as shown in the figure, or a corresponding reception device is identified from the transaction terminal, and the identified reception device You may make it transmit a transaction request to address. Further, filtering processing may be performed on the reception device side so as to receive only the corresponding transaction terminal (group).

そして、同じステップ101において、入力電文すなわち取引要求のチェックを行う。このチェックは、通信経路上での障害発生状況により、正常に受信できたかを判断するものである。   In the same step 101, the input message, that is, the transaction request is checked. This check is to determine whether or not the reception has been successful depending on the failure occurrence state on the communication path.

なお、受付装置2は、ステップ101において、以下の処理を行うことも本実施の形態に含まれる。まず、前提として取引要求に含まれる要求者を識別する情報は、取引端末を特定する情報である。ここで、受付装置2は、この情報をキーに対応する端末グループを特定する情報を端末−端末グループ特定テーブルから検索する。そして、検索された情報を取引要求に含めて、その後の処理を実行する。なお、各取引装置のいずれかで、指定銘柄をキーに、図7に示す銘柄−銘柄グループ特定テーブルから銘柄グループを特定する情報を検索し、取引要求に検索された情報を含ませることも本実施の形態に含まれる。なお、このようにして新たに追加された情報は、各処理などでグループ(もしくは銘柄、欄末)を特定する際に使用される。   The receiving apparatus 2 includes the following processing in step 101 in the present embodiment. First, information for identifying a requester included in a transaction request as a premise is information for specifying a transaction terminal. Here, the accepting device 2 searches the terminal-terminal group identification table for information identifying the terminal group corresponding to this information as a key. Then, the retrieved information is included in the transaction request and subsequent processing is executed. In addition, it is also possible to search for information for identifying a brand group from the brand-brand group identification table shown in FIG. 7 using one of the trading machines as a key, and to include the retrieved information in the transaction request. It is included in the embodiment. The information newly added in this way is used when specifying a group (or brand, end of column) in each process or the like.

そして、ステップ102に進み、受付装置のそれぞれはステップ101のチェック結果を、取引要求を送信した取引端末に送信する。正常に受信できたと判断した場合には、正常受付応答を取引端末に送信する。そして、受信した取引要求を要件DB51に格納する。この場合、各取引要求に取引状況を対応付けて記憶しておく。ここで、「受付」を示す情報を記憶しておく。さらに、取引要求に含まれる「取引銘柄」毎に対応する要件DBに格納してもよい。例えば、「a」銘柄の取引要求は要件DB51−aに格納される。なお、要件DBは、記憶装置群51に格納されている。また、各要件DB51(51−a、51−b)は物理的に同一の媒体に格納してもよい。   Then, the process proceeds to step 102, and each of the accepting devices transmits the check result of step 101 to the transaction terminal that transmitted the transaction request. If it is determined that it has been received normally, a normal acceptance response is transmitted to the transaction terminal. Then, the received transaction request is stored in the requirement DB 51. In this case, the transaction status is stored in association with each transaction request. Here, information indicating “reception” is stored. Furthermore, you may store in requirement DB corresponding to every "trade brand" included in a transaction request. For example, the transaction request for the “a” brand is stored in the requirement DB 51-a. The requirement DB is stored in the storage device group 51. Each requirement DB 51 (51-a, 51-b) may be physically stored in the same medium.

次に、ステップ103において、取引装置31、32のそれぞれは(取引処理プログラムを用いて)、要件DB51から取引状況が「受付」であり、自身に対応する「銘柄」の取引要求を抽出する。この抽出は、受付装置側が、要件DB51への登録に併せて(含む同一銘柄が一定数以上登録した場合)、「取引銘柄」毎に対応する処理装置31、32に転送キュー送信することで実現してもよい。また、処理装置31,32が一定時間毎を含む所定タイミングで自身に対応する要件DB51に対して「受付」の取引要求がないか検索して行ってもよいし、受付装置から登録したことを示す情報を受信することをトリガに要件DBを検索してもよい。また、このトリガは、同一「銘柄」の取引要求が一定数以上になったことを検知して、実行してもよい。なお、要件DBへの登録は「銘柄」毎の要件DBに登録してもよい(以下同様)。   Next, in step 103, each of the transaction apparatuses 31 and 32 (using a transaction processing program) extracts a transaction request of “brand” corresponding to itself from the requirement DB 51 whose transaction status is “accepted”. This extraction is realized by sending the transfer queue to the processing devices 31 and 32 corresponding to each “trade brand” in conjunction with the registration in the requirement DB 51 (when a certain number of the same brands are registered). May be. Further, the processing devices 31 and 32 may search the requirement DB 51 corresponding to themselves at a predetermined timing including every predetermined time for a transaction request of “acceptance”, or may be registered from the accepting device. The requirement DB may be searched by using the information to be shown as a trigger. Further, this trigger may be executed by detecting that the number of transaction requests for the same “brand” has reached a certain number. The registration in the requirement DB may be registered in the requirement DB for each “brand” (the same applies hereinafter).

そして、抽出した取引要求をいわゆる板に載せる取引処理を実行する。すなわち、取引可能な状態に遷移させる。この処理の詳細については、図4,5を用いて後述する。この処理を実行した場合、要件DB取引状況を「受付」から「取引」に変更するよう登録する。   And the transaction processing which puts the extracted transaction request on what is called a board is performed. That is, the transaction state is changed. Details of this processing will be described later with reference to FIGS. When this process is executed, the requirement DB transaction status is registered to be changed from “reception” to “transaction”.

次に、ステップ104において、取引装置31、32のそれぞれは、取引要求を識別する注文受付番号を取引要求に付加して、要件DBに格納する。そして、この登録もしくは時間、登録の数などをトリガに、各受付装置は、要件DBから、自身に対応する「取引端末(グループ)」であって、取引状況が「取引」を示す取引要求を抽出し、当該取引要求を送信した取引端末にこの注文受付番号を通知する。   Next, in step 104, each of the transaction apparatuses 31 and 32 adds an order acceptance number for identifying the transaction request to the transaction request and stores it in the requirement DB. Then, using this registration or time, the number of registrations, etc. as a trigger, each accepting device receives a transaction request indicating that it is a “transaction terminal (group)” corresponding to itself from the requirement DB and the transaction status indicates “transaction”. The order acceptance number is notified to the transaction terminal that has extracted and transmitted the transaction request.

次に、ステップ105において、取引装置31、32のそれぞれは、(約定処理プログラムを用いて)、要件DB51から取引状況が「取引」であり、自身に対応する「銘柄」の取引要求を抽出する。この抽出は、ステップ103と同様の処理により実行してもよい。そして、抽出した取引要求について、「約定処理」を実行する。すなわち、抽出した取引要求に対応する(売買が逆のものを示し、価格、株数が対応する)取引要求がないかを検出する。この処理は、通常行われているものであるので、その詳細の説明は省く。   Next, in step 105, each of the transaction devices 31 and 32 (using the contract processing program) extracts a transaction request of “brand” corresponding to itself from the requirement DB 51 with the transaction status “transaction”. . This extraction may be performed by the same process as in step 103. Then, “contract processing” is executed for the extracted transaction request. That is, it is detected whether there is a transaction request corresponding to the extracted transaction request (indicating that the buying and selling is the opposite, corresponding to the price and the number of shares). Since this process is normally performed, detailed description thereof is omitted.

次に、ステップ106に進み、ステップ105での約定処理で約定が成立するか(対応する取引要求が検出できたかを、取引処理装置31、32のそれぞれは、(約定処理プログラムを用いて)実行する。この結果を、対応する取引要求に関連付けて要件DBに格納する。そして、約定が成立した場合には、ステップ107に進み、約定が成立しなかった場合には、ステップ108に進む。なお、ステップ106において、約定が成立した場合には、要件DBの「取引」を「約定」に変更する。また、約定が成立しない場合には、「取引」を「未約定」に変更する。   Next, proceeding to step 106, each of the transaction processing devices 31 and 32 executes (using a contract processing program) whether or not the contract is established by the contract processing in step 105 (whether the corresponding transaction request has been detected). The result is stored in the requirement DB in association with the corresponding transaction request, and if a contract is established, the process proceeds to step 107, and if no agreement is established, the process proceeds to step 108. In step 106, when the contract is established, “transaction” in the requirement DB is changed to “contract”, and when the agreement is not established, “transaction” is changed to “uncommitted”.

次に、ステップ107では、この登録もしくは時間、登録の数などをトリガに、各受付装置は、要件DBから、自身に対応する「取引端末(グループ)」であって、取引状況が「約定」を示す取引要求を抽出し、当該取引要求を送信した取引端末に約定を特定する約定番号を含む約定通知を送信する。そして、ステップ107に進む。   Next, in step 107, using this registration or time, the number of registrations, and the like as a trigger, each receiving device is a “transaction terminal (group)” corresponding to itself from the requirement DB, and the transaction status is “contract”. Is extracted, and a contract notification including a contract number for specifying the contract is transmitted to the transaction terminal that transmitted the transaction request. Then, the process proceeds to Step 107.

次に、ステップ108では、取引装置31、32のそれぞれは(取引処理プログラムを用いて)、図示しない相場システムなどへ送信する外部出力情報を作成して送信する。ここでは、上述のとおり、自身に対応する「銘柄」の取引要求であって「約定」もしくは「未約定」のものを抽出して、これらについてこの処理を実行する。   Next, in step 108, each of the transaction devices 31 and 32 (using a transaction processing program) creates and transmits external output information to be transmitted to a market system (not shown) or the like. Here, as described above, transaction requests for “brands” corresponding to themselves are extracted as “contract” or “uncommitted”, and this processing is executed for these.

次に、図4および5を用いて、ステップ101〜103(特に103)の詳細について説明する。まず、図4を用いて、正常に処理できた場合の例を説明する。   Next, details of steps 101 to 103 (particularly 103) will be described with reference to FIGS. First, an example of a case where normal processing can be performed will be described with reference to FIG.

まず、ステップ101と102の詳細について説明する。なお、ステップ101、102(すなわち下記の詳細処理)は、「グループ」単位で実行するものである。これは、先に記述したとおりである。   First, details of steps 101 and 102 will be described. Steps 101 and 102 (that is, the detailed processing described below) are executed in units of “groups”. This is as described above.

ステップ1011においては、送信された取引要求を受信し、ステップ1012では先に説明のとおり、入力電文すなわち取引要求のチェックを行う。このチェックは、通信経路上での障害発生状況により、正常に受信できたかを判断するものである。正常でないと判定された場合にはステップ1021に進み、正常であると判定された場合にはステップ1022に進む。   In step 1011, the transmitted transaction request is received, and in step 1012, the input message, that is, the transaction request is checked as described above. This check is to determine whether or not the reception has been successful depending on the failure occurrence state on the communication path. If it is determined that it is not normal, the process proceeds to step 1021, and if it is determined that it is normal, the process proceeds to step 1022.

ステップ1021では、送信した取引端末にエラー(正常に受信できなかった旨)の通知を行う。そして、ステップ1022では、受信した取引要求、「銘柄」毎に設けられた要件DBに対して、登録を行う。すなわち、受信した取引要求の「銘柄」に対応する要件DBに登録する。この際、「受付」を「取引」に変更して登録する。   In step 1021, an error (notifying that it has not been received normally) is notified to the transmitting transaction terminal. In step 1022, registration is performed for the received transaction request and the requirement DB provided for each “brand”. That is, it registers in requirement DB corresponding to the "brand" of the received transaction request. At this time, “reception” is changed to “transaction” and registered.

次に、ステップ1023では、受信が正常に行われたことを、取引端末に送信する。そして、ステップ1024で、転送キュー(MQ)を発生させて、取引装置31などでの処理トリガとする。ここでは、「銘柄」毎に発生するようにしてもよい。この転送キューの発生(もしくは処理装置へ通知)は上述のとおり、一定時間毎を含む所定タイミング、受付装置での要件DBへの登録(含む同一「銘柄」の取引要求が一定数以上)になったことを検知して、実行してもよい。   Next, in step 1023, the fact that the reception has been normally performed is transmitted to the transaction terminal. In step 1024, a transfer queue (MQ) is generated and used as a processing trigger in the transaction apparatus 31 or the like. Here, it may be generated for each “brand”. As described above, the generation of this transfer queue (or notification to the processing device) is the predetermined timing including every fixed time, and registration in the requirement DB in the receiving device (including a certain number of transaction requests for the same “brand”). May be detected and executed.

次に、ステップ103の詳細について説明する。なお、ステップ103(すなわち下記の詳細処理)は、「銘柄」単位で実行するものである。これは、上述のとおりである。ステップ1031で、自身に対応する「銘柄」の取引情報を要件DBから抽出する。そして、ステップ1032において、抽出された取引要求の各項目に抜けがないか、数量について発行数と対応が取れていないか等の確認処理を実行する。   Next, details of step 103 will be described. Note that step 103 (that is, the following detailed processing) is executed in units of “brand”. This is as described above. In step 1031, transaction information of “brand” corresponding to itself is extracted from the requirement DB. In step 1032, confirmation processing is performed to check whether each item of the extracted transaction request is missing, or whether the quantity corresponds to the number of issues.

そして、ステップ1033において、エラー(すなわち正しくないと判断された)場合、ステップ1034に進みエラー処理を行う。つまり、取引端末にエラーの旨の通知を実行する。   If it is determined in step 1033 that there is an error (that is, it is determined to be incorrect), the process proceeds to step 1034 to perform error processing. That is, a notification of an error is executed to the transaction terminal.

また、正常であると判定された場合、ステップ1035に進む。そして、ステップ1035において、「板登録処理」を行う。板登録処理の態様としては、要件DBにおいて、取引可能であるとのフラグを立てることが含まれる。また、注文受付・板DBに登録することも本実施の形態の一態様に含まれる。さらに、これらの組み合わせでもよい。   If it is determined to be normal, the process proceeds to step 1035. In step 1035, “plate registration processing” is performed. As an aspect of the board registration process, a flag indicating that the transaction is possible is included in the requirement DB. Further, registration in the order reception / plate DB is also included in one aspect of the present embodiment. Further, a combination of these may be used.

次に、ステップ1036において、板登録処理を実行したことを、対応する「銘柄」の要件DBに登録する。そして、ステップ1037に進み取引端末に対して注文が正常に受付けられた旨の通知を実行する。そして、ステップ1039で、ステップ1024と同様に、転送キュー(MQ)を発生させて、取引装置31などでの処理トリガとする。ここでは、「銘柄」毎に発生するようにしてもよい。この転送キューの発生(もしくは処理装置へ通知)は上述のとおり、一定時間毎を含む所定タイミング、受付装置での要件DBへの登録(含む同一「銘柄」の取引要求が一定数以上)になったことを検知して、実行してもよい。   Next, in step 1036, the fact that the board registration process has been executed is registered in the corresponding “brand” requirement DB. Then, the process proceeds to step 1037, and a notification to the effect that the order has been successfully received is executed to the transaction terminal. In step 1039, as in step 1024, a transfer queue (MQ) is generated and used as a processing trigger in the transaction apparatus 31 or the like. Here, it may be generated for each “brand”. As described above, the generation of this transfer queue (or notification to the processing device) is the predetermined timing including every fixed time, and registration in the requirement DB in the receiving device (including a certain number of transaction requests for the same “brand”). May be detected and executed.

次に、図5を用いて、異常終了した場合の処理について説明する(ステップ103の途中で異常終了した場合)。基本的には、図4と同様の処理を実行する。異常終了を検知した場合、その処理要求を再実行する。具体的には、異常終了した取引要求と同一のデータを要件DBから読み込むことで実現する。   Next, the processing in the case of abnormal termination will be described using FIG. 5 (in the case of abnormal termination in the middle of step 103). Basically, the same processing as in FIG. 4 is executed. If an abnormal end is detected, the processing request is re-executed. Specifically, it is realized by reading from the requirement DB the same data as the transaction request that ended abnormally.

なお、要件DBは上述のように、銘柄ごと、グループごとなど複数種類用意してもよい。この場合、処理状況が変わること(ある要件DBの「受付」から「取引」へなど)をトリガに、互いの情報の整合が取れるよう、他の要件DBの取引状況を変更するよう制御する。   Note that, as described above, a plurality of types of requirement DBs such as each brand and each group may be prepared. In this case, control is performed so as to change the transaction status of the other requirement DBs so that the information is consistent with each other, triggered by a change in the processing status (such as “reception” to “transaction” of a requirement DB).

また、データベース群としては、図4、5での各処理の連携を行うためのデータベースを設けてもよい。要件DBやこれらには、以下のものが含まれる。
要件DB:基盤APPのトランザクション連携用にデータを格納するデータベース
要件DB(受付→取引):「受付処理→取引処理」間におけるデータ連携用DB
要件DB(取引→約定):「取引処理→約定処理」間におけるデータ連携用DB
要件DB(約定→取引):「約定処理→取引処理」間におけるデータ連携用DB
要件DB(取引→受付):「取引処理→受付処理」間におけるデータ連携用DB
業務DB:業務で必要となるデータベース。
注文受付・板DB:取引処理装置の結果を格納
注文履歴DB:約定処理装置の結果を格納
なお、以上の本発明の実施の形態により、パイプライン処理のような(擬似的な)並行処理によってスループット向上することも可能になる。
Moreover, as a database group, you may provide the database for performing cooperation of each process in FIG. The requirement DB and these include the following.
Requirement DB: Database requirement DB for storing data for transaction linkage of infrastructure APP (reception → transaction): DB for data linkage between “reception processing → transaction processing”
Requirement DB (transaction → contract): Data linkage DB between “transaction processing → contract processing”
Requirement DB (contract → transaction): DB for data linkage between “contract processing → transaction processing”
Requirement DB (transaction → reception): DB for data linkage between “transaction processing → reception processing”
Business DB: A database required for business.
Order reception / board DB: Stores the results of the transaction processing device. Order history DB: Stores the results of the execution processing device. Note that, according to the embodiment of the present invention described above, by (simulated) parallel processing such as pipeline processing. Throughput can also be improved.

なお、以上のような実施の形態(グルーピング化による分散処理)を採用することで、各処理装置(取引処理装置3、約定処理装置4)を増設する垂直拡張により、取引(演算)量の増大にも対応が可能になる。また、受付装置2は処理装置(CPU)の追加(増強)による水平拡張により、取引(演算)量の増大にも対応が可能になる。なお、本発明では、このような拡張に限定されず、例えば、各取引装置をいわゆる垂直拡張とし、受付装置を水平拡張としてもよい。また、それぞれいずれも垂直拡張、水平拡張としてもよい。   By adopting the above-described embodiment (distributed processing by grouping), the amount of transactions (calculations) is increased by vertical expansion of each processing device (transaction processing device 3, contract processing device 4). Can also be supported. In addition, the accepting device 2 can cope with an increase in the amount of transactions (calculation) by horizontal expansion by adding (increasing) processing devices (CPU). In addition, in this invention, it is not limited to such an extension, For example, it is good also considering each transaction apparatus as what is called vertical extension, and a reception apparatus being horizontal extension. In addition, each may be a vertical extension and a horizontal extension.

次に、本発明の第2の実施形態について、図8〜11を用いて説明する。   Next, a second embodiment of the present invention will be described with reference to FIGS.

第2の実施の形態では、上記の実施の形態での分散処理を行った場合のレスポンス時間の算出について説明する。すなわち、前記第1の実施形態のように、分散処理を行った場合、各取引要求についてのレスポンス時間はすぐには算出できない。これは、図10、11に示すように、各サブ業務処理が1つの装置で実行されるのでないので、業務処理全体の実行時間の算出が困難になるためである。なお、レスポンス時間とは、図8に示すように注文受付処理の開始時刻から受信通知処理や約定通知処理の終了時刻までの時間を指す。   In the second embodiment, calculation of response time when the distributed processing in the above embodiment is performed will be described. That is, when distributed processing is performed as in the first embodiment, the response time for each transaction request cannot be calculated immediately. This is because, as shown in FIGS. 10 and 11, since each sub-business process is not executed by one apparatus, it is difficult to calculate the execution time of the whole business process. Note that the response time indicates the time from the start time of the order reception process to the end time of the reception notification process or the contract notification process as shown in FIG.

そこで、本実施の形態では、複数の処理装置で、分散実行しているサブ業務を1つの注文受信通知業務としてつなぎあわせ、業務レスポンス情報として作成するよう制御する。すなわち、各サブ業務のうち、最初のサブ業務の開始時間と最後のサブ業務の終了時間を記録し、これの差分をレスポンス時間として算出する。なお、時間の記録の際は、取引を識別する情報(受付NO)を対応付けて記録しておく。   Therefore, in the present embodiment, control is performed so that a plurality of processing devices distributes sub-executions that are distributed and are combined as one order reception notification task and are generated as task response information. That is, among the sub-tasks, the start time of the first sub-task and the end time of the last sub-task are recorded, and the difference between them is calculated as the response time. When recording time, information for identifying a transaction (acceptance NO) is recorded in association with it.

また、図8に示すよう、各サブ業務の開始時間と、最後のサブ業務においては終了時間をも記録して構成してもよい。この場合、必要なサブ業務を指定に基づいて抽出して、サブ業務(複数のサブ業務からなるものを含む)のレスポンス時間を算出することが可能になる。より、具体的には、以下の処理を実行する。注文受付のサブ業務開始時刻と受付番号を、DBに登録する。以降の処理においても、サブ業務開始時刻と受付番号をDBに登録する。1つの注文受信通知業務の最後にあたるサブ業務「受信通知処理」では、サブ業務開始時刻と受付番号の他、取引端末への応答後であるサブ業務終了時刻をDBに登録する。1つの注文受信通知業務に対応した受付番号をキーとして、先頭のサブ業務「注文受付」の開始時刻と、最後のサブ業務「受信通知処理」の終了時刻の差分より、注文受信通知業務のレスポンス時間を算出する。   Further, as shown in FIG. 8, the start time of each sub-task and the end time in the last sub-task may be recorded. In this case, it is possible to calculate the response time of the sub-work (including a plurality of sub-work) by extracting the necessary sub-work based on the designation. More specifically, the following processing is executed. The sub service start time and the reception number of order reception are registered in the DB. Also in the subsequent processing, the sub work start time and the reception number are registered in the DB. In the sub-operation “reception notification processing” corresponding to the end of one order reception notification operation, the sub-operation start time and the reception number are registered in the DB in addition to the sub-operation end time after the response to the transaction terminal. Using the receipt number corresponding to one order reception notification job as a key, the response of the order reception notification job is based on the difference between the start time of the first sub-operation “Order reception” and the end time of the last sub-operation “Reception notification processing”. Calculate time.

本実施の形態におけるシステム構成図(1)である。It is a system configuration figure (1) in this embodiment. 本実施の形態におけるシステム構成図(2)である。It is a system configuration figure (2) in this embodiment. 本実施の形態における処理の内容を示すフローチャートである。It is a flowchart which shows the content of the process in this Embodiment. 図3におけるステップ101〜103の詳細処理を示すフローチャート(正常)である。It is a flowchart (normal) which shows the detailed process of steps 101-103 in FIG. 図3におけるステップ101〜103の詳細処理を示すフローチャート(異常終了)である。It is a flowchart (abnormal end) which shows the detailed process of steps 101-103 in FIG. 本実施の形態の基本的な処理内容を説明するための図である。It is a figure for demonstrating the basic processing content of this Embodiment. 本実施の形態の銘柄−銘柄グループの対応関係を記録したテーブルを示す図である。It is a figure which shows the table which recorded the correspondence of the brand-brand group of this Embodiment. レスポンス情報の概念を示す図である。It is a figure which shows the concept of response information. レスポンス情報の時間イメージを示す図である。It is a figure which shows the time image of response information. 端末別のレスポンス情報対象処理を示す図である。It is a figure which shows the response information object process according to terminal. 銘柄別のレスポンス情報対象処理を示す図である。It is a figure which shows the response information object process according to brand. 実施の形態における待ちの考え方を示す図である(その1)。It is a figure which shows the way of thinking of waiting in embodiment (the 1). 実施の形態における待ちの考え方を示す図である(その2)。It is a figure which shows the way of thinking of waiting in embodiment (the 2). 実施の形態における待ちの考え方を示す図である(その3)。It is a figure which shows the way of thinking of waiting in embodiment (the 3).

符号の説明Explanation of symbols

1…取引端末、2…受付装置、3…取引処理装置、4…約定処理装置   DESCRIPTION OF SYMBOLS 1 ... Transaction terminal, 2 ... Reception apparatus, 3 ... Transaction processing apparatus, 4 ... Contract processing apparatus

Claims (10)

証券取引の注文を発行する複数の取引端末と接続され、前記注文の取引を実行する証券取引システムであって、それぞれが処理すべき注文が前記取引端末に基づいて定められる複数の受付装置と、それぞれが処理すべき銘柄が予め定められた複数の取引処理装置と、それぞれが処理すべき銘柄が予め定められた複数の約定処理装置とから構成される証券取引システムを用いた証券取引方法において、
前記受付装置は、当該受付装置で処理すべき注文の受付処理を行い、受付処理が終了した注文を当該注文の銘柄に対応付けられた要件データベースに登録し、前記注文を登録したことを示す第1のメッセージを前記注文の銘柄の処理対象として定められた取引処理装置に送信し、前記注文の受付が終了したことを示す通知を前記取引端末に送信し、
前記取引処理装置は、前記第1のメッセージを受信した場合、前記受付処理が終わった注文のうち当該取引処理装置で処理すべき銘柄の注文を、当該注文の銘柄に対応付けられた要件データベースから読み出して取引可能な状態として、前記要件データベースに登録し、前記注文を取引可能な状態として登録したことを示す第2のメッセージを前記受付装置及び前記注文の銘柄の処理対象として定められた約定処理装置に送信し、
前記受付装置は、前記第2のメッセージを受信した場合、取引可能な状態として登録が済んだ注文のうち当該受付装置で処理すべき注文を、前記注文の銘柄に対応付けられた要件データベースから読み出して、読み出した注文の登録が済んだことを前記取引端末に通知し、
前記約定処理装置は、前記第2のメッセージを受信した場合、当該約定処理装置で処理すべき銘柄に対応付けられた要件データベースに取引可能な状態として登録された注文で取引が成立する注文があれば成立処理を行い、成立済み注文として前記要件データベースに登録し、前記注文を成立済み注文として登録したことを示す第3のメッセージを前記受付装置に送信し、
前記受付装置は、前記第3のメッセージを受信した場合、成立済み注文として登録が済んだ注文のうち当該受付装置で処理すべき注文を、当該注文の銘柄に対応付けられた要件データベースから読み出して、読み出した注文が約定されたことを前記取引端末に通知し、
前記複数の取引処理装置及び複数の約定処理装置のうちの一の取引処理装置及び約定処理装置が処理すべき銘柄は重複がないように設定されることを特徴とする証券取引方法。
A securities trading system connected to a plurality of trading terminals for issuing securities trading orders and executing the trading of the orders, a plurality of receiving devices each of which orders to be processed are determined based on the trading terminals; In a securities trading method using a securities trading system composed of a plurality of transaction processing devices in which issues to be processed are determined in advance and a plurality of contract processing devices in which issues to be processed are determined in advance,
The accepting device performs an accepting process for an order to be processed by the accepting device, registers the order for which the accepting process has been completed in the requirement database associated with the brand of the order, and indicates that the order has been registered. 1 message is sent to the transaction processing device defined as the processing subject of the order brand, and a notification indicating that the acceptance of the order is completed is sent to the transaction terminal,
When the transaction processing apparatus receives the first message, the order of the brand to be processed by the transaction processing apparatus among the orders for which the reception process has been completed is obtained from the requirement database associated with the brand of the order. A contract processing defined as a processing target for the receiving device and the brand of the order, which is registered in the requirement database as a state that can be read and traded, and a second message indicating that the order is registered as a state that can be traded To the device,
When the receiving device receives the second message, it reads out an order to be processed by the receiving device from orders registered as a transactionable state from the requirement database associated with the brand of the order. To notify the transaction terminal that the registered order has been registered,
When the contract processing device receives the second message, there is an order in which a transaction is established with an order registered as a state that can be traded in the requirement database associated with the issue to be processed by the contract processing device. If the establishment process is completed, it is registered in the requirement database as an established order, and a third message indicating that the order has been registered as an established order is sent to the accepting device,
When the receiving device receives the third message, it reads out an order to be processed by the receiving device from orders registered as established orders from the requirement database associated with the brand of the order. , Notify the transaction terminal that the read order has been executed,
The securities transaction method characterized in that a brand to be processed by one of the plurality of transaction processing devices and the plurality of contract processing devices and a brand to be processed by the contract processing device are set so as not to overlap.
請求項1に記載の証券取引方法において、
前記第1乃至第3のメッセージは、メッセージキューによって送受信されることを特徴とする証券取引方法。
In the securities trading method according to claim 1,
The first to third messages are transmitted and received by a message queue.
請求項1または2に記載の証券取引方法において、
前記受付装置は、
前記取引端末から、指定銘柄、売買の別、希望金額、株数および当該取引端末を識別する識別情報を含む注文を受信し、
受信した前記注文が正常に受信できたかを判断し、
正常に受信できたと判断した場合は、受付処理が完了したことを示す取引状況を前記注文に対応付けて前記要件データベースに登録することを特徴とする証券取引方法。
In the securities trading method according to claim 1 or 2,
The accepting device is:
From the trading terminal, an order including identification information for identifying the specified brand, buying and selling, desired amount, number of shares and the trading terminal is received,
Determine whether the received order was successfully received,
A securities trading method characterized in that, when it is determined that the information has been successfully received, a transaction status indicating that reception processing is completed is registered in the requirement database in association with the order.
請求項3に記載の証券取引方法において、
前記取引処理装置は、
前記要件データベースから、受付処理が完了したことを示す取引状況に対応付けられた注文のうち、当該注文に含まれる指定銘柄が当該取引処理装置で処理すべき銘柄と一致する注文を抽出し、
抽出した注文の形式が正しいかを判断し、
正しいと判断した場合は、前記取引状況を取引可能な状態であることを示す情報に更新することを特徴とする証券取引方法。
In the securities transaction method according to claim 3,
The transaction processing apparatus
From the requirement database, out of the orders associated with the transaction status indicating that the acceptance process has been completed, an order in which the specified brand included in the order matches the brand to be processed by the transaction processing device is extracted.
Determine if the extracted order format is correct,
When it is determined that the transaction status is correct, the securities transaction method is characterized in that the transaction status is updated to information indicating that the transaction status is available.
請求項4に記載の証券取引方法において、
前記約定処理装置は、
前記要件データベースから、取引可能な状態であることを示す取引状況に対応付けられた注文のうち、当該注文に含まれる指定銘柄が当該約定処理装置で処理すべき銘柄と一致する注文を抽出し、
抽出した注文に含まれる売買の別の逆を示す注文であって、希望金額および株数が対応する注文が前記要件データベースに存在するかを判断し、
前記対応する注文が存在した場合は、当該対応する注文と前記抽出した注文の取引状況を約定が成立したことを示す情報に更新し、
前記対応する注文が存在しなかった場合は、前記抽出した注文の取引状況を約定が成立しなかったことを示す情報に更新することを特徴とする証券取引方法。
In the securities transaction method according to claim 4,
The contract processing device includes:
From the requirement database, out of the orders associated with the transaction status indicating that the transaction is possible, an order in which the specified brand included in the order matches the brand to be processed by the contract processing device is extracted.
Determining whether there is an order in the requirement database that represents another reverse of the trade included in the extracted order and that corresponds to the desired amount and the number of shares;
If the corresponding order exists, update the transaction status of the corresponding order and the extracted order to information indicating that the contract has been established,
When the corresponding order does not exist, the stock transaction method is characterized in that the transaction status of the extracted order is updated to information indicating that a contract has not been established.
証券取引の注文を発行する複数の取引端末と接続され、前記注文の取引を実行する証券取引システムであって、それぞれが処理すべき注文が前記取引端末に基づいて定められる複数の受付装置と、それぞれが処理すべき銘柄が予め定められた複数の取引処理装置と、それぞれが処理すべき銘柄が予め定められた複数の約定処理装置とから構成される証券取引システムにおいて、
前記受付装置は、当該受付装置で処理すべき注文の受付処理を行い、受付処理が終了した注文を当該注文の銘柄に対応付けられた要件データベースに登録し、前記注文を登録したことを示す第1のメッセージを前記注文の銘柄の処理対象として定められた取引処理装置に送信し、前記注文の受付が終了したことを示す通知を前記取引端末に送信し、
前記取引処理装置は、前記第1のメッセージを受信した場合、前記受付処理が終わった注文のうち当該取引処理装置で処理すべき銘柄の注文を、当該注文の銘柄に対応付けられた要件データベースから読み出して取引可能な状態として、前記要件データベースに登録し、前記注文を取引可能な状態として登録したことを示す第2のメッセージを前記受付装置及び前記注文の銘柄の処理対象として定められた約定処理装置に送信し、
前記受付装置は、前記第2のメッセージを受信した場合、取引可能な状態として登録が済んだ注文のうち当該受付装置で処理すべき注文を、前記注文の銘柄に対応付けられた要件データベースから読み出して、読み出した注文の登録が済んだことを前記取引端末に通知し、
前記約定処理装置は、前記第2のメッセージを受信した場合、当該約定処理装置で処理すべき銘柄に対応付けられた要件データベースに取引可能な状態として登録された注文で取引が成立する注文があれば成立処理を行い、成立済み注文として前記要件データベースに登録し、前記注文を成立済み注文として登録したことを示す第3のメッセージを前記受付装置に送信し、
前記受付装置は、前記第3のメッセージを受信した場合、成立済み注文として登録が済んだ注文のうち当該受付装置で処理すべき注文を、当該注文の銘柄に対応付けられた要件データベースから読み出して、読み出した注文が約定されたことを前記取引端末に通知し、
前記複数の取引処理装置及び複数の約定処理装置のうちの一の取引処理装置及び約定処理装置が処理すべき銘柄は重複がないように設定されることを特徴とする証券取引システム。
A securities trading system connected to a plurality of trading terminals for issuing securities trading orders and executing the trading of the orders, a plurality of receiving devices each of which orders to be processed are determined based on the trading terminals; In a securities trading system composed of a plurality of transaction processing devices in which the brands to be processed are predetermined and a plurality of contract processing devices in which the brands to be processed are predetermined,
The accepting device performs an accepting process for an order to be processed by the accepting device, registers the order for which the accepting process has been completed in the requirement database associated with the brand of the order, and indicates that the order has been registered. 1 message is sent to the transaction processing device defined as the processing subject of the order brand, and a notification indicating that the acceptance of the order is completed is sent to the transaction terminal,
When the transaction processing apparatus receives the first message, the order of the brand to be processed by the transaction processing apparatus among the orders for which the reception process has been completed is obtained from the requirement database associated with the brand of the order. A contract processing defined as a processing target for the receiving device and the brand of the order, which is registered in the requirement database as a state that can be read and traded, and a second message indicating that the order is registered as a state that can be traded To the device,
When the receiving device receives the second message, it reads out an order to be processed by the receiving device from orders registered as a transactionable state from the requirement database associated with the brand of the order. To notify the transaction terminal that the registered order has been registered,
When the contract processing device receives the second message, there is an order in which a transaction is established with an order registered as a state that can be traded in the requirement database associated with the issue to be processed by the contract processing device. If the establishment process is completed, it is registered in the requirement database as an established order, and a third message indicating that the order has been registered as an established order is sent to the accepting device,
When the receiving device receives the third message, it reads out an order to be processed by the receiving device from orders registered as established orders from the requirement database associated with the brand of the order. , Notify the transaction terminal that the read order has been executed,
The securities transaction system, wherein a brand to be processed by one of the plurality of transaction processing devices and the plurality of contract processing devices and the contract processing device is set so as not to overlap.
請求項6に記載の証券取引システムにおいて、
前記第1乃至第3のメッセージは、メッセージキューによって送受信されることを特徴とする証券取引システム。
In the securities trading system according to claim 6,
The securities trading system, wherein the first to third messages are transmitted and received by a message queue.
請求項6または7に記載の証券取引システムにおいて、
前記受付装置は、
前記取引端末から、指定銘柄、売買の別、希望金額、株数および当該取引端末を識別する識別情報を含む注文を受信し、
受信した前記注文が正常に受信できたかを判断し、
正常に受信できたと判断した場合は、受付処理が完了したことを示す取引状況を前記注文に対応付けて前記要件データベースに登録することを特徴とする証券取引システム。
In the securities trading system according to claim 6 or 7,
The accepting device is:
From the trading terminal, an order including identification information for identifying the specified brand, buying and selling, desired amount, number of shares and the trading terminal is received,
Determine whether the received order was successfully received,
When it is determined that the information has been received normally, a transaction status indicating that the acceptance process is completed is registered in the requirement database in association with the order.
請求項8に記載の証券取引システムにおいて、
前記取引処理装置は、
前記要件データベースから、受付処理が完了したことを示す取引状況に対応付けられた注文のうち、当該注文に含まれる指定銘柄が当該取引処理装置で処理すべき銘柄と一致する注文を抽出し、
抽出した注文の形式が正しいかを判断し、
正しいと判断した場合は、前記取引状況を取引可能な状態であることを示す情報に更新することを特徴とする証券取引システム。
In the securities trading system according to claim 8,
The transaction processing apparatus
From the requirement database, out of the orders associated with the transaction status indicating that the acceptance process has been completed, an order in which the specified brand included in the order matches the brand to be processed by the transaction processing device is extracted.
Determine if the extracted order format is correct,
When it is determined that the transaction status is correct, the securities transaction system updates the transaction status to information indicating that the transaction is possible.
請求項9に記載の証券取引システムにおいて、
前記約定処理装置は、
前記要件データベースから、取引可能な状態であることを示す取引状況に対応付けられた注文のうち、当該注文に含まれる指定銘柄が当該約定処理装置で処理すべき銘柄と一致する注文を抽出し、
抽出した注文に含まれる売買の別の逆を示す注文であって、希望金額および株数が対応する注文が前記要件データベースに存在するかを判断し、
前記対応する注文が存在した場合は、当該対応する注文と前記抽出した注文の取引状況を約定が成立したことを示す情報に更新し、
前記対応する注文が存在しなかった場合は、前記抽出した注文の取引状況を約定が成立しなかったことを示す情報に更新することを特徴とする証券取引システム。
In the securities trading system according to claim 9,
The contract processing device includes:
From the requirement database, out of the orders associated with the transaction status indicating that the transaction is possible, an order in which the specified brand included in the order matches the brand to be processed by the contract processing device is extracted.
Determining whether there is an order in the requirement database that represents another reverse of the trade included in the extracted order and that corresponds to the desired amount and the number of shares;
If the corresponding order exists, update the transaction status of the corresponding order and the extracted order to information indicating that the contract has been established,
When the corresponding order does not exist, the stock transaction system is characterized in that the transaction status of the extracted order is updated to information indicating that a contract has not been established.
JP2008265875A 2006-01-26 2008-10-15 Trading system Active JP5018729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008265875A JP5018729B2 (en) 2006-01-26 2008-10-15 Trading system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006017048 2006-01-26
JP2006017048 2006-01-26
JP2008265875A JP5018729B2 (en) 2006-01-26 2008-10-15 Trading system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006044648A Division JP4297118B2 (en) 2006-01-26 2006-02-22 Trading system

Publications (2)

Publication Number Publication Date
JP2009009613A true JP2009009613A (en) 2009-01-15
JP5018729B2 JP5018729B2 (en) 2012-09-05

Family

ID=38697426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008265875A Active JP5018729B2 (en) 2006-01-26 2008-10-15 Trading system

Country Status (2)

Country Link
JP (1) JP5018729B2 (en)
CN (1) CN101009017A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010204699A (en) * 2009-02-27 2010-09-16 Tokyo Stock Exchange Inc Securities transaction system and method for processing the same
JP2010204721A (en) * 2009-02-27 2010-09-16 Tokyo Stock Exchange Inc Apparatus, method, and program for processing agreement

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236851B (en) * 2010-04-21 2016-03-09 百度在线网络技术(北京)有限公司 The method and system that the multidimensional credit system composing power based on user calculates in real time
CN101895468B (en) * 2010-07-09 2015-09-16 中兴通讯股份有限公司 A kind of terminal equipment, core network server, business polymerization system and method
JP5481315B2 (en) * 2010-08-20 2014-04-23 株式会社東芝 Securities trading system and equipment
CN109544338A (en) * 2018-11-15 2019-03-29 深圳前海微众银行股份有限公司 Assets stock trading method, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08106501A (en) * 1994-10-06 1996-04-23 Hitachi Ltd Sales transaction processing system
JP2002007707A (en) * 2000-06-22 2002-01-11 Keio Gijuku Transaction system
JP2003085367A (en) * 2001-09-07 2003-03-20 Daiwa Securities Smbc Co Ltd Device, method, and program for supporting securities trade
JP2005284781A (en) * 2004-03-30 2005-10-13 Nomura Research Institute Ltd Mq data synchronizing system and mq data synchronizing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08106501A (en) * 1994-10-06 1996-04-23 Hitachi Ltd Sales transaction processing system
JP2002007707A (en) * 2000-06-22 2002-01-11 Keio Gijuku Transaction system
JP2003085367A (en) * 2001-09-07 2003-03-20 Daiwa Securities Smbc Co Ltd Device, method, and program for supporting securities trade
JP2005284781A (en) * 2004-03-30 2005-10-13 Nomura Research Institute Ltd Mq data synchronizing system and mq data synchronizing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010204699A (en) * 2009-02-27 2010-09-16 Tokyo Stock Exchange Inc Securities transaction system and method for processing the same
JP2010204721A (en) * 2009-02-27 2010-09-16 Tokyo Stock Exchange Inc Apparatus, method, and program for processing agreement

Also Published As

Publication number Publication date
JP5018729B2 (en) 2012-09-05
CN101009017A (en) 2007-08-01

Similar Documents

Publication Publication Date Title
KR100943110B1 (en) Trading system
JP5018729B2 (en) Trading system
US20150206116A1 (en) Method for synchronizing orders between remote and central web-base point of sale systems
CN110741342A (en) Blockchain transaction commit ordering
JP2019133696A (en) Interface, system, method, and computer program product for controlling transfer of electronic messages
JP6474915B2 (en) Apparatus, system, method and computer program product for processing electronic transaction requests
US9092786B2 (en) E-commerce failover system and method
TWI771616B (en) Payment anti-shake method and device
US20160156704A1 (en) Exchange of information between processing servers
JPWO2008105099A1 (en) Application cooperation control program, application cooperation control method, and application cooperation control apparatus
JP6549245B2 (en) Data management system
JP4297118B2 (en) Trading system
JP4406310B2 (en) MQ data synchronization system and MQ data synchronization program
CN111144804A (en) Order processing method, device and system
CN111179062A (en) Voucher additional printing method and device
JP6613315B2 (en) Transaction processing system and transaction control method
CN113837826A (en) Order processing method and equipment
JP2012203874A (en) Electronic commercial transaction system
US20230214793A1 (en) Information processing system and intermediary device
CN111192113A (en) Order processing method, device, equipment and storage medium
JP6215779B2 (en) Server apparatus and program
CN114663031A (en) Abnormal logistics order processing method, device, equipment and storage medium
CN113962686A (en) POS machine card-swiping transaction method, device, equipment and storage medium
CN116233235A (en) Information pushing method and device, storage medium and computer equipment
JP2021051612A (en) Information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110920

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120411

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120418

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

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

R151 Written notification of patent or utility model registration

Ref document number: 5018729

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150622

Year of fee payment: 3