JP2007079998A - Order processor and program - Google Patents

Order processor and program Download PDF

Info

Publication number
JP2007079998A
JP2007079998A JP2005267688A JP2005267688A JP2007079998A JP 2007079998 A JP2007079998 A JP 2007079998A JP 2005267688 A JP2005267688 A JP 2005267688A JP 2005267688 A JP2005267688 A JP 2005267688A JP 2007079998 A JP2007079998 A JP 2007079998A
Authority
JP
Japan
Prior art keywords
customer
order
information
stored
storage unit
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
JP2005267688A
Other languages
Japanese (ja)
Other versions
JP4320009B2 (en
Inventor
Yusuke Sato
勇介 佐藤
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.)
Daiwa Securities Group Inc
Original Assignee
Daiwa Securities Group Inc
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 Daiwa Securities Group Inc filed Critical Daiwa Securities Group Inc
Priority to JP2005267688A priority Critical patent/JP4320009B2/en
Publication of JP2007079998A publication Critical patent/JP2007079998A/en
Application granted granted Critical
Publication of JP4320009B2 publication Critical patent/JP4320009B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce trouble of a customer when the customer sells all stocks deposited to an account of a financial institution and closes the account, and to allow the financial institution to reduce inactive accounts. <P>SOLUTION: In this order processor 12, a transmission/reception part 170 receives order information showing contents of a stock trading order from a terminal device 21 of the customer. A decision part 160 acquires stock balance information of the account of the customer from a customer account database 200 when the stock trading order is a sell order, collates name identification information and an amount of the stock, and decides whether all the stocks of the customer are a target of the sell order or not. When all the stocks are the target of the sell order, the transmission/reception part 170 displays an input screen for inputting whether to close the customer account or not on the terminal device 21 of the customer. When information of the effect of the closure of the customer account is inputted, an account deletion processing part 190 performs processing for deleting the customer account of the customer after a remittance part 140 remits a sellout money amount of the stocks to a remittance destination designation account previously designated by the customer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、株式売買注文の注文処理装置及びプログラムに関する。特に本発明は、株式の売却金額を注文者が指定した送金先指定口座に送金処理する注文処理装置及びプログラムに関する。   The present invention relates to an order processing apparatus and program for stock trading orders. In particular, the present invention relates to an order processing apparatus and program for processing remittance of stock sales to a remittance destination designated account designated by an orderer.

顧客の有価証券取引により顧客に支払うこととなった金額を、顧客の予め指定する預金口座に振り込む方式が知られている(例えば、非特許文献1参照)。株式買付の場合の取引報告書の参考様式において顧客の支払金額として約定金額(数量×単価)に諸経費(手数料+消費税)を加算して算出することが非特許文献2に開示されている。有価証券の注文を処理する装置については、例えば特許文献1〜8に記載されている。銀行業務を行う金融システムにおいて解約となった口座の抹消処理を行う装置が特許文献9に記載されている。
特開2002−175414号公報 特開2002−175421号公報 特開2002−175422号公報 特開2002−189856号公報 特開2002−203102号公報 特開2002−203103号公報 特開2004−005717号公報 特開2004−118616号公報 特開平7−271881号公報 "総合取引約款"、第4章 振込指定方式、[online]、丸三証券株式会社、[平成17年8月17日検索]、インターネット<URL:http://www.marusan-sec.co.jp/torihiki/kitei/sougou_yakkan.html> "証券取引ハンドブック[第4版]"、初版、ダイヤモンド社、2000年3月16日、p.355−357
There is known a method of transferring an amount paid to a customer through a securities transaction of the customer to a deposit account designated in advance by the customer (for example, see Non-Patent Document 1). Non-Patent Document 2 discloses that the reference form of the transaction report in the case of stock acquisition is calculated by adding various expenses (fee + consumption tax) to the contracted amount (quantity x unit price) as the payment amount of the customer Yes. For example, Patent Documents 1 to 8 describe apparatuses for processing securities orders. Japanese Patent Application Laid-Open No. H10-228688 describes an apparatus for performing account deletion processing for a canceled account in a banking system.
JP 2002-175414 A JP 2002-175421 A JP 2002-175422 A JP 2002-189856 A Japanese Patent Laid-Open No. 2002-203102 JP 2002-203103 A Japanese Patent Laid-Open No. 2004-005717 JP 2004-118616 A Japanese Patent Laid-Open No. 7-271881 “General Terms and Conditions”, Chapter 4 Transfer Designation Method, [online], Marusan Securities Co., Ltd. [Search August 17, 2005], Internet <URL: http://www.marusan-sec.co.jp /torihiki/kitei/sougou_yakkan.html> “Securities Trading Handbook [4th edition]”, first edition, Diamond, March 16, 2000, p. 355-357

顧客は金融機関に開設した自分の口座に株式の預り残高があり、自分の口座の株式を全部売却して金融機関の口座を解約する場合に、金融機関に出向いて売却金額を受け取るとともに口座解約手続を行うのは手間がかかる。金融機関としては株式等の預り残高がない状態が続く休眠口座の数は少ないのが望ましい。   When a customer has a stock balance in his / her account opened at a financial institution and sells all the stock in his / her account to cancel the financial institution's account, he / she goes to the financial institution to receive the sale amount and cancel the account. It takes time to complete the procedure. It is desirable for a financial institution to have a small number of dormant accounts that continue to have no balance of stocks.

本発明は、上記の実情に鑑みてなされたもので、顧客が金融機関の口座に預けてある株式を全部売却して金融機関の口座を解約する場合に顧客の手間を軽減するとともに金融機関にとって休眠口座を減らすことができる注文処理装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and when a customer sells all stocks stored in a financial institution's account and cancels the financial institution's account, the customer's labor is reduced and the financial institution is reduced. An object of the present invention is to provide an order processing apparatus and program capable of reducing dormant accounts.

上記課題を解決するために、本発明の第1の形態は、
顧客の端末装置から、前記顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報であって当該注文の売買区分、注文対象の株式の銘柄識別情報及び数量を含む注文情報を受け取って受取情報記憶部に記憶する注文受取部と、
前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納する注文格納部と、
顧客を識別するための顧客識別情報に対応付けて当該顧客の顧客口座番号と当該顧客により指定された送金先指定口座番号とを格納する顧客データベースと、
前記注文格納部に格納された前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行う発注部と、
前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する約定受信部と、
前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行う送金部と
を備える注文処理装置において、
顧客の顧客口座番号に対応付けて当該顧客口座番号の口座に預けられた当該顧客が有する株式の銘柄識別情報及び数量を格納する顧客口座データベースと、
前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断する判断部と、
前記判断部により、前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合が行われ、当該照合の結果、前記株式の銘柄識別情報及び数量が一致しており、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する取得部と、
前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納された場合に、前記送金部により当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に前記売却金額を振り込むための処理が行われた後に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理を行う口座抹消処理部とを備えることを特徴とする。
In order to solve the above problems, the first aspect of the present invention is:
Order information including customer identification information for identifying the customer and the content of the stock buying and selling order from the customer's terminal device, the order information including the buying and selling classification of the order, stock identification information and quantity of the stock to be ordered An order receiving unit that receives and stores it in a receipt information storage unit;
In order to identify the order information, the customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit and the order information indicating the content of the stock trading order An order storage unit for storing in association with the order identification information of
A customer database that stores the customer account number of the customer and the remittance destination designated account number designated by the customer in association with customer identification information for identifying the customer;
By sending an order input message including order information indicating the contents of the stock trading order stored in the order storage unit and order identification information for identifying the order information to the stock exchange, the stock trading order An ordering department that processes
A notice of execution of the contract indicating that the stock trading order from the stock exchange has been executed, and order identification information for identifying the order information of the order, a trade classification of the order, an execution price and an execution quantity A contract receiving unit that receives a notification of contract completion including
When the trading category of the order included in the contract notification received by the contract receiver is information indicating sale, a contract obtained by multiplying the contract price of the order included in the contract notification by the contract volume A sale price obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the amount is stored in the order storage unit in association with the order identification information included in the notification of completion of the contract. An order processing apparatus comprising: a remittance unit that performs a process for transferring to an account of the remittance destination designated account number associated with the customer database with respect to the customer identification information;
A customer account database storing stock identification information and quantity of stocks held by the customer in the account of the customer account number in association with the customer account number of the customer;
The order receiving unit receives and receives the order receiving information storage unit when the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the receiving information storage unit is information indicating sale. The stock identification information and quantity of the stock held by the customer associated in the customer account database with respect to the customer account number of the customer stored in the customer database in association with the customer identification information stored in Determine whether or not all the stocks held by the customer identified by the customer identification information are subject to selling order by collating with the brand identification information and quantity of the stock to be ordered indicated by the order information A determination unit to
With respect to the customer account number of the customer stored in the customer database in association with the customer identification information received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit by the determining unit The stock identification information and quantity of the stock held by the customer associated in the customer account database and the stock identification information and quantity of the stock to be ordered indicated by the order information are collated, and as a result of the collation, When it is determined that the stock identification information and quantity of the stock match and all of the stock held by the customer identified by the customer identification information is subject to a sell order, the customer's account is canceled. An input screen for inputting designation information for designating whether or not is displayed on the customer terminal device, and the designation information input on the input screen is displayed from the customer terminal device. An acquisition unit for storing the designated information storage unit in association with only taken the customer identification information,
When the cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer identification information, the remittance unit associates the customer database with the customer identification information. The customer account number of the customer stored in the customer database in association with the customer identification information after the processing for transferring the sale amount to the account of the remittance destination designated account number stored in And an account deletion processing unit that performs processing for deleting the account.

顧客の端末装置から株式の売注文を受け取り、注文者である顧客の有する株式が全て売注文の対象となっている場合に、顧客の端末装置に口座解約のための入力画面を表示して端末装置から解約を指示できるようにすることで、口座解約時の顧客の手間を軽減することができる。また、顧客の端末装置に表示された入力画面から口座解約を指定された場合に売注文に係る株式の売却金額の送金処理後に顧客の口座を抹消するための処理を行うことで、顧客の口座が休眠口座となるのを口座抹消により未然防止して休眠口座を減らすことができる。   When a stock sales order is received from a customer's terminal device, and the stock of the customer who is the orderer is all subject to a sell order, an input screen for account cancellation is displayed on the customer's terminal device and the terminal By making it possible to instruct cancellation from the device, it is possible to reduce the trouble of the customer at the time of account cancellation. In addition, when the account cancellation is specified from the input screen displayed on the customer's terminal device, the customer's account is deleted by performing a process for deleting the customer's account after the remittance processing of the sale price of the stock related to the selling order. Can be prevented by deleting the account, and the number of dormant accounts can be reduced.

本発明の第1の形態の注文処理装置では、好ましくは、
前記顧客データベースは、顧客を識別するための顧客識別情報に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する構成とする。
この取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに前記顧客識別情報に対応付けて前記指定情報格納部に前記顧客の口座を解約することを指定する解約指定情報が格納されていないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて前記指定情報格納部に格納する構成としてもよい。
In the order processing apparatus according to the first aspect of the present invention, preferably,
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with customer identification information for identifying the customer,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. Designation information for designating whether or not to cancel the customer's account when the cancellation offer information stored in the database is information indicating that there has been an inquiry or offer for account cancellation from the customer. An input screen for inputting is displayed on the terminal device of the customer, and the designation information input on the input screen is received from the terminal device of the customer and stored in the designation information storage unit in association with the customer identification information And
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. The cancellation offer information stored in the database is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is associated with the customer identification information in the designated information storage unit. When the cancellation designation information for designating cancellation is not stored, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer, The designation information input on the input screen may be received from the terminal device of the customer and stored in the designation information storage unit in association with the customer identification information.

顧客の端末装置から株式の売注文を受け取り、注文者である顧客の有する株式が全て売注文の対象となっている場合に、口座解約の問合せ又は申し出があった顧客の端末装置に口座解約のための入力画面を表示して端末装置から解約を指示できるようにすることで、口座解約について関心も意思も無い顧客に口座解約のための入力画面を提示することを防ぐことができるとともに、口座解約の問合せ又は申し出があった顧客の口座解約時の手間を軽減することができる。   When a stock sales order is received from a customer terminal device and all of the stock held by the customer who is the orderer is subject to a sell order, the account termination request is made to the customer terminal device that has made an inquiry or offer for account cancellation. By displaying the input screen for the terminal device so that cancellation can be instructed from the terminal device, it is possible to prevent the customer from having an interest or intention about canceling the account from presenting the input screen for canceling the account, It is possible to reduce the trouble of canceling the account of the customer who has inquired or offered cancellation.

例えば、前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客識別情報及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客識別情報に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客識別情報及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部とを有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客識別情報及び注文情報と当該顧客識別情報及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客識別情報及び注文情報と前記計数部からの前記注文識別情報とを対応付けて格納する構成としてもよい。
For example, the order receiving unit
Storage control signal for storing customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit and order information indicating the content of the stock trading order in the order storage unit A storage control unit that generates and outputs the customer identification information and order information together with the order storage unit;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating buying. When the cancellation offer information stored in the customer database in association with the customer identification information for identifying the customer identification information is information indicating that there has been an account cancellation offer from the customer, or in the customer identification information A storage control signal for storing the customer identification information and the order information in the order storage unit is stored in the order storage unit from the storage control unit when the cancellation designation information is stored in the designation information storage unit in association with each other. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer identification information and order information output from the storage control unit And the storage control signal for storing the customer identification information and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit It is good also as a structure which matches and stores the said customer identification information and order information from and the said order identification information from the said counting part.

顧客からの口座解約の申し出があった場合又は入力画面から口座解約の指定があった場合に抑止部により顧客の端末装置からの買注文を受け付けないようにすることができ、口座解約後に買注文の決済処理を行うことの未然防止を図ることができる。   If there is a request for account cancellation from the customer or the account cancellation is specified on the input screen, the deterrence unit can not accept the purchase order from the customer's terminal device, and the purchase order after the account cancellation It is possible to prevent the settlement process.

なお、前記口座抹消処理部は、前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理として、当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断する構成としてもよい。
The account deletion processing unit uses the customer account number as the process for deleting the account of the customer account number of the customer stored in the customer database in association with the customer identification information. And deleting the presence / absence information indicating that the customer's account has been deleted in association with the customer identification information, and storing in the customer database,
The order storage unit indicates that the customer account has been deleted in association with customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. Customer identification information for identifying the customer received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit and the stock buying and selling order when the deletion presence / absence information is not stored in the customer database The order information indicating the contents of the item is stored in association with the order identification information for identifying the order information,
The determination unit deletes that the customer account has been deleted in association with the customer identification information for identifying the customer received from the terminal device of the customer by the order receiving unit and stored in the reception information storage unit. Information indicating that the order selling / sending category indicated by the order information indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is sold when presence / absence information is not stored in the customer database. The customer account database with respect to the customer account number of the customer stored in the customer database in association with the customer identification information received by the order receiving unit and stored in the received information storage unit. The stock identification information and quantity of the stock held by the associated customer is collated with the stock identification information and quantity of the stock to be ordered indicated by the order information. A result, it may be configured that shares the customer has to be identified by the customer identification information to determine whether the subject of all sales orders.

本発明の第1の形態の注文処理装置では、好ましくは、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記発注部は、前記未発注の状態であることを示す注文ステータス情報に対応付けて前記注文格納部に格納されている前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行い、発注処理が行われた当該注文の注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行い、
前記約定受信部は、前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信した場合に、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶し、前記判断用記憶部で前記顧客識別情報に対応付けて記憶された前記注文対象の株式の銘柄識別情報及び数量と、当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行い、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行う構成とする。
In the order processing apparatus according to the first aspect of the present invention, preferably,
The order storage unit includes customer identification information for identifying the customer received by the order receiving unit from the customer's terminal device and stored in the receipt information storage unit, and order information indicating the content of the stock trading order, and The order identification information for identifying the order information is stored in association with the order status information indicating that the order has not been placed,
The ordering unit is for identifying the order information indicating the content of the stock trading order stored in the order storage unit in association with the order status information indicating the unordered state and the order information. By sending an order input message including order identification information to the stock exchange, the order processing of the stock trading order is performed, and the order storage unit is associated with the order identification information of the order for which the order processing has been performed. A process of updating the stored order status information to order status information indicating that the order is being placed,
The contract receiving unit is a contract establishment notification indicating that the stock trading order from the stock exchange has been executed, and includes order identification information for identifying the order information of the order, and the trade classification and execution of the order. An order status indicating that the order status information stored in the order storage unit in association with the order identification information is in a contracted state when a notification of contract completion including a price and a contracted quantity is received. Process to update the information,
The determination unit is configured to receive the stock information when the order buying / receiving section indicated by the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Order information that is order information associated with order status information indicating that the order information stored in the order storage unit is not ordered or is in an ordering state, and the information indicating that the sales category indicates selling is included. The stock identification information and quantity of the stock to be ordered shown are stored in the determination storage unit in association with the customer identification information, and stored in the determination storage unit in association with the customer identification information The customer associated in the customer account database with the stock identification information and quantity of the stock to be ordered and the customer account number stored in the customer database in association with the customer identification information By checking the stock identification information and the quantity of the stock, it is determined whether or not all the stocks held by the customer identified by the customer identification information are subject to the selling order,
The remittance unit, when the trade classification of the order included in the contract completion notification received by the contract reception unit is information indicating sale, the contracted fulfillment quantity in the contract finalization price included in the contract completion notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. A process for transferring the stored customer identification information to an account of the remittance destination designated account number associated with the customer database is performed and stored in the order storage unit in association with the order identification information. The order status information is updated to order status information indicating that the remittance has been completed.

注文格納部で未発注又は発注中の状態を示す注文ステータス情報に対応付けられた注文情報が示す株式の売注文の銘柄識別情報及び数量と、顧客口座データベースに格納されている顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより顧客が有する株式が全て売注文の対象となっているか否かを判断することで、未発注の売注文と発注中の売注文を合わせて売注文の対象となっているか否かを判断することができ、例えば顧客が複数銘柄の株式を有していて当該複数銘柄のそれぞれの株式の売注文を続けて出した場合にも顧客が有する株式が全て売注文の対象となっているか否かを判断することができる。   The stock identification information and quantity of the stock sales order indicated by the order information associated with the order status information indicating the unordered or in-order status in the order storage unit, and the stock of the customer held in the customer account database By comparing the stock identification information and quantity with each other, it is judged whether or not all of the stock held by the customer is the subject of the sell order. For example, if a customer has multiple stocks and the customer continues to place a sell order for each stock, the stock held by the customer It is possible to determine whether or not all items are subject to a sales order.

前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う構成としてもよい。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Order information that is order information associated with order status information indicating that the order information stored in the order storage unit is not ordered or is in an ordering state, and the information indicating that the sales category indicates selling is included. The stock identification information and quantity of the stock to be ordered shown are stored in the integration storage unit in association with a selection flag indicating an unselected state, and the brand identification information stored in the integration storage unit And performs integration processing for storing the determination storage unit integrates the quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. Summing up each quantity of stocks of the brand identification information stored in the storage unit for integration and storing the total quantity and the brand identification information in the judgment storage unit in association with the customer identification information, and When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, Correspondingly, the number of stocks of the brand identification information stored in the integration storage unit and the brand identification information are stored in the determination storage unit in association with the customer identification information, and the brand identification information The process of updating the selection flag stored in the integration storage unit in association with the selection flag indicating the selected state is changed to a state in which each selection flag stored in the integration storage unit is all selected. It is good also as a structure repeated until it becomes the selection flag shown.

注文格納部で未発注又は発注中の状態を示す注文ステータス情報に対応付けられた注文情報が示す株式の売注文の銘柄識別情報及び数量のうち重複する銘柄識別情報については当該銘柄識別情報の株式の数量を合計して当該銘柄識別情報及び合計数量を判断用記憶部に記憶するとともに、重複しない銘柄識別情報については当該銘柄識別情報及び数量を判断用記憶部に記憶し、顧客口座データベースに格納されている顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより顧客が有する株式が全て売注文の対象となっているか否かを判断することで、未発注の売注文と発注中の売注文を銘柄で統合して売注文の対象となっているか否かを判断することができ、例えば顧客が有する株式を分割して売注文を出した場合にも顧客が有する株式が全て売注文の対象となっているか否かを判断することができる。   The stock identification information of the stock selling order indicated by the order information associated with the order status information indicating an unordered or in-order status in the order storage unit, and the stock of the stock identification information for duplicate stock identification information of the quantity The brand identification information and the total quantity are stored in the judgment storage unit, and the brand identification information and quantity are stored in the judgment storage unit and stored in the customer account database. By checking with the stock identification information and quantity of the stock held by the customer being sold, it is judged whether or not all of the stock held by the customer is the subject of the sell order, thereby placing an unordered sell order and placing an order. It is possible to determine whether or not the selling order is integrated with the brand and whether or not it is subject to the selling order. That stock it can be determined whether or not has been the subject of all sales order.

前記顧客口座データベースは、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンドの口数並びに株式の銘柄識別情報及び数量を対応付けて格納し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報を取得して当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高に加算して残高更新することにより前記売却金額を前記顧客の口座に入金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された前記解約金額を前記顧客の口座の資金残高に加算して残高更新することにより前記解約金額を前記顧客の口座に入金する処理を行い、前記解約金額及び前記売却金額が入金された前記顧客の口座の資金残高全額を当該顧客の口座から当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行うとともに当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの口数残高を0にする処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報でないときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶し、
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理を行う構成としてもよい。
The customer account database is associated with the customer account number of the customer, and the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds, stock identification information and quantity of the stock Store
The remittance unit, when the trade classification of the order included in the contract establishment notification received by the contract reception unit is information indicating sale, the contracted quantity in the execution price of the order included in the contract establishment notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. Obtaining the stored customer identification information and associating with the customer identification information stored in the customer database in correspondence with the customer identification information of the customer account associated with the customer account database In addition to performing a process of adding the sale amount to the customer's account by adding to the balance of funds and updating the balance, the stock identification information included in the notice of contract completion A process of updating the balance by subtracting the fixed quantity from the stock quantity balance of the stock identification information associated with the customer account database with respect to the customer account number, and associating the order with the order identification information Performing a process of updating the order status information stored in the storage unit to order status information indicating a settled state;
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, the customer Among the order information stored in the order storage unit in association with the identification information, the order status information associated with the order information corresponding to the order information whose sale classification indicates selling is unordered, ordering, and contracted The customer account when there is no order status information indicating that it is in the state and there is order status information indicating that only one of the order status information associated with the order information has been settled The previous stored in the storage unit for storing the cancellation amount of all the money reserve funds of the customer stored in the customer account database in association with the number The cancellation amount is added to the funds balance of the customer's account, and the balance is updated to process the cancellation amount and depositing the cancellation amount into the customer's account. Performs a process for transferring the entire balance of funds from the customer's account to the account of the remittance destination designated account number stored in the customer database in association with the customer identification information, and in association with the customer account number A process of setting the number balance of the customer's money reserve fund stored in the customer account database to 0 is performed, and the order status information stored in the order storage unit in association with the order identification information is repaid Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, the customer Among the order information stored in the order storage unit in association with the identification information, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale is not ordered, being ordered, or contracted In the order status information indicating that the sales classification is information in the order information stored in the order storage unit in association with the customer identification information. There is no order status information in the associated order status information indicating that the order has not yet been placed, placed in order, or closed, and the order associated with the order information. When there is a plurality of order status information indicating that the status information has been settled, the sale amount is associated with the customer identification information from the account of the customer account number of the customer to which the sale amount has been deposited The process for transferring to the account of the remittance destination designated account number stored in the customer database is performed, and the order status information stored in the order storage unit in association with the order identification information is transferred. Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is not cancellation designation information for designating cancellation of the customer account, the sale amount A process for transferring the sale amount from the account of the customer account number of the customer to which the customer has been transferred to the account of the remittance destination designated account number stored in the customer database in association with the customer identification information, Performing a process of updating the order status information stored in the order storage unit in association with the order identification information to order status information indicating a remittance state,
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Of the order information stored in the order storage unit, the order information associated with the order status information indicating that the order has not yet been ordered, being placed in order, or in the contracted state, and the information indicating that the sales category indicates selling. The stock identification information and quantity of the stock to be ordered indicated by the order information are stored in the determination storage unit in association with the customer identification information,
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer identification information, and the customer identification information Among the order information stored in the order storage unit in association with the order status information associated with the order information, which is information indicating that the sales category is sold, unordered, under ordering, filled and settled If there is no order status information indicating that the customer account database is associated with the customer account number stored in the customer database in association with the customer identification information, the customer account database The number of shares held by the customer is read from the customer account database to determine whether the number of shares held by the customer is zero. Processing may be performed for to cancel the account of the customer the customer account number stored in the customer database in association with the identification information.

顧客識別情報に対応付けて注文格納部に格納されている売注文の注文ステータス情報が未発注、発注中及び約定済の状態であることを示す注文ステータス情報でないとともに当該売注文の注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときは、顧客の売注文のなかで1つの売注文(例えば最後に約定した売注文)のみ売却金額が未送金の状態であるときなので、上記構成によれば当該未送金の売注文の売却金額に顧客のマネーリザーブファンドの解約金額を含めて送金することができる。   The order status information of the sell order stored in the order storage unit in association with the customer identification information is not the order status information indicating that the order has not been ordered, being placed in order, or in the contracted state. When there is order status information indicating that only one is settled, the sales amount is not repaid only for one sell order (for example, the last executed sell order) in the customer's sell order. Therefore, according to the above-described configuration, it is possible to remit by including the cancellation amount of the customer's money reserve fund in the sale amount of the unpaid sales order.

前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う構成としてもよい。
The determination unit, when the order buying and selling classification indicated by the order information indicated by the order information received by the order receiving unit from the customer's terminal device and stored in the receiving information storage unit is information indicating sale, The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 and the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit Of the order information stored in the order storage unit, the order information associated with the order status information indicating that the order has not yet been ordered, being placed in order, or in a contracted state, and the information indicating that the selling / selling category indicates selling. The stock identification information and quantity of the stock to be ordered indicated by the order information are stored in the integration storage unit in association with a selection flag indicating an unselected state, and the stock stored in the integration storage unit It performs integration processing for storing the determination storage unit by integrating the identity and quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. Summing up each quantity of stocks of the brand identification information stored in the storage unit for integration and storing the total quantity and the brand identification information in the judgment storage unit in association with the customer identification information, and When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, Correspondingly, the number of stocks of the brand identification information stored in the integration storage unit and the brand identification information are stored in the determination storage unit in association with the customer identification information, and the brand identification information The process of updating the selection flag stored in the integration storage unit in association with the selection flag indicating the selected state is changed to a state in which each selection flag stored in the integration storage unit is all selected. It is good also as a structure repeated until it becomes the selection flag shown.

注文格納部で未発注、発注中又は約定済の状態を示す注文ステータス情報に対応付けられた注文情報が示す株式の売注文の銘柄識別情報及び数量のうち重複する銘柄識別情報については当該銘柄識別情報の株式の数量を合計して当該銘柄識別情報及び合計数量を判断用記憶部に記憶するとともに、重複しない銘柄識別情報については当該銘柄識別情報及び数量を判断用記憶部に記憶し、顧客口座データベースに格納されている顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより顧客が有する株式が全て売注文の対象となっているか否かを判断することで、未発注の売注文と発注中の売注文と約定済の売注文を銘柄で統合して売注文の対象となっているか否かを判断することができ、例えば顧客が有する株式を分割して売注文を出した場合にも顧客が有する株式が全て売注文の対象となっているか否かを判断することができる。   In the order storage section, the stock identification information of the stock selling order indicated by the order information associated with the order status information indicating the unordered, ordering or closed status, and the stock identification information that overlaps the stock identification information of the quantity The stock identification information and the total quantity are stored in the judgment storage unit by summing the stock quantity of the information, and for the brand identification information that does not overlap, the brand identification information and quantity are stored in the judgment storage unit, and the customer account Unordered sales orders by determining whether all stocks held by customers are subject to sell orders by collating with stock identification information and quantities of stocks held by customers stored in the database It is possible to determine whether or not it is subject to a sales order by integrating the selling order currently being ordered and the contracted selling order by brand, for example, dividing the stock held by the customer Shares also have the customer in the case of out it is possible to determine whether or not it is the subject of all sales order.

また、前記顧客データベースは、顧客を識別するための顧客識別情報に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する構成としてもよい。
この取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに前記顧客識別情報に対応付けて前記指定情報格納部に前記顧客の口座を解約することを指定する解約指定情報が格納されていないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて前記指定情報格納部に格納する構成としてもよい。
In addition, the customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with customer identification information for identifying the customer,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. Designation information for designating whether or not to cancel the customer's account when the cancellation offer information stored in the database is information indicating that there has been an inquiry or offer for account cancellation from the customer. An input screen for inputting is displayed on the terminal device of the customer, and the designation information input on the input screen is received from the customer terminal device and stored in the designation information storage unit in association with the customer identification information It is good.
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. The cancellation offer information stored in the database is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is associated with the customer identification information in the designated information storage unit. When the cancellation designation information for designating cancellation is not stored, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer, The designation information input on the input screen may be received from the terminal device of the customer and stored in the designation information storage unit in association with the customer identification information.

更に、前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が買いを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を加えた買付金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報を取得して当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高から減算して残高更新することにより前記買付金額を前記顧客の口座から出金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する構成としてもよい。
また、前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客識別情報及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客識別情報に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客識別情報及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部とを有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客識別情報及び注文情報と当該顧客識別情報及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客識別情報及び注文情報と前記計数部からの前記注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する構成としてもよい。
Further, the remittance unit executes a contract to the contract settlement price of the order included in the contract completion notification when the trading category of the order included in the contract completion notification received by the contract reception unit is information indicating purchase. The purchase price obtained by adding the expenses stored in the storage unit storing the expenses of the order to the contract price multiplied by the established quantity is associated with the order identification information included in the execution notification of the order and the order. The customer account stored in the storage unit and correlated with the customer identification information and associated with the customer account number stored in the customer database with the customer account database The amount of the purchase is withdrawn from the customer's account by subtracting from the balance of the funds and updating the balance, and the stock identification information included in the notice of contract completion The balance update is performed by adding the contract completion quantity to the customer account number stored in the customer database in association with the customer identification information and the stock quantity balance of the stock identification information associated in the customer account database. Performing processing to update the order status information indicating that the order status information stored in the order storage unit in association with the order identification information is in a settled state,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. The cancellation offer information stored in the database is information indicating that there is an account cancellation inquiry or offer from the customer, and is stored in the order storage unit in association with the customer identification information When there is no order status information indicating that the order status information associated with the order information, which is information indicating that the trade classification is purchase among the order information, is in an unordered, in-ordering and contracted state, An input screen for inputting designated information for designating whether or not to cancel the customer's account is displayed on the customer's terminal device, and the designated information entered on the input screen is displayed on the customer's terminal device. Association received from a terminal device to the customer identification information may be stored in the designated information storage unit.
In addition, the order receiving unit
Storage control signal for storing customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit and order information indicating the content of the stock trading order in the order storage unit A storage control unit that generates and outputs the customer identification information and order information together with the order storage unit;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating buying. When the cancellation offer information stored in the customer database in association with the customer identification information for identifying the customer identification information is information indicating that there has been an account cancellation offer from the customer, or in the customer identification information A storage control signal for storing the customer identification information and the order information in the order storage unit is stored in the order storage unit from the storage control unit when the cancellation designation information is stored in the designation information storage unit in association with each other. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer identification information and order information output from the storage control unit And the storage control signal for storing the customer identification information and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit It is good also as a structure which matches and stores the said customer identification information and order information from, the said order identification information from the said counting part, and the order status information which shows that it is an unordered state.

また、前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶する構成としてもよい。
Further, the account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer identification information, and the customer identification Among the order information stored in the order storage unit in association with the information, the order status information associated with the order information which is the information indicating that the trade classification indicates selling is not placed, placed in order, filled, and When there is no order status information indicating a settled state, the customer account database is associated with the customer account number of the customer stored in the customer database in association with the customer identification information. When the quantity of stock held by the customer is read out from the customer account database to determine whether the quantity of stock held by the customer is 0, and when the quantity is 0 The said customer account number performs processing for storing the peripheral existence information indicating that in association with the customer identification information is a customer's account has been deleted is deleted from the customer account database to the customer database,
The order storage unit indicates that the account of the customer has been deleted in association with customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit. Customer identification information for identifying the customer received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit and the stock buying and selling order when the deletion presence / absence information is not stored in the customer database The order information indicating the contents of the order, the order identification information for identifying the order information, and the order status information indicating the unordered state are stored in association with each other,
The determination unit deletes that the customer account has been deleted in association with the customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit Information indicating that selling / buying of the order indicated by the order information indicated by the order information received by the order receiving unit from the terminal device of the customer and stored in the receiving information storage unit is presence or absence information is not stored in the customer database The order identification information and quantity indicated by the order information stored in the receipt information storage unit, and the order reception unit receives from the terminal device of the customer and stores it in the receipt information storage unit. Order status information indicating that the order information stored in the order storage unit in association with the stored customer identification information is in an unordered, ordering, or contracted state. The stock identification information and quantity of the stock to be ordered indicated by the order information which is the order information associated with the information and indicates that the trade classification indicates sale is associated with the customer identification information in the determination storage unit. It is good also as a structure to memorize | store.

本発明の第2の形態は、
顧客の端末装置から、前記顧客の顧客口座番号及び株式売買注文の内容を示す注文情報であって当該注文の売買区分、注文対象の株式の銘柄識別情報及び数量を含む注文情報を受け取って受取情報記憶部に記憶する注文受取部と、
前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納する注文格納部と、
顧客の顧客口座番号に対応付けて当該顧客により指定された送金先指定口座番号を格納する顧客データベースと、
前記注文格納部に格納された前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行う発注部と、
前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する約定受信部と、
前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行う送金部と
を備える注文処理装置において、
顧客の顧客口座番号に対応付けて当該顧客口座番号の口座に預けられた当該顧客が有する株式の銘柄識別情報及び数量を格納する顧客口座データベースと、
前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断する判断部と、
前記判断部により、前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合が行われ、当該照合の結果、前記株式の銘柄識別情報及び数量が一致しており、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する取得部と、
前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納された場合に、前記送金部により当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に前記売却金額を振り込むための処理が行われた後に、前記顧客の顧客口座番号の口座を抹消するための処理を行う口座抹消処理部とを備えることを特徴とする。
The second aspect of the present invention is:
Order information indicating the customer's customer account number and the content of the stock trading order from the customer's terminal device, receiving the order information including the trading category of the order, stock identification information and quantity of the stock to be ordered, and receipt information An order receiving unit stored in the storage unit;
Order identification information for identifying the order information indicating the customer account number of the customer and the content of the stock trading order received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit An order storage unit that stores the information in association with
A customer database that stores a remittance designated account number specified by the customer in association with the customer's customer account number;
By sending an order input message including order information indicating the contents of the stock trading order stored in the order storage unit and order identification information for identifying the order information to the stock exchange, the stock trading order An ordering department that processes
A notice of execution of the contract indicating that the stock trading order from the stock exchange has been executed, and order identification information for identifying the order information of the order, a trade classification of the order, an execution price and an execution quantity A contract receiving unit that receives a notification of contract completion including
A contract amount obtained by multiplying the contract completion price of the order included in the contract completion notification by the contract completion quantity when the order trade included in the contract completion notification received by the contract reception unit is information indicating sale. The sales amount obtained by subtracting the overhead stored in the storage unit that stores the overheads of the order is stored in the order storage unit in association with the order identification information included in the execution notification. An order processing apparatus comprising: a remittance unit that performs a process for transferring to an account of the remittance destination designated account number associated with the customer database with respect to a customer account number of a customer;
A customer account database storing stock identification information and quantity of stocks held by the customer in the account of the customer account number in association with the customer account number of the customer;
The order receiving unit receives and receives the order receiving information storage unit when the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the receiving information storage unit is information indicating sale. The stock identification information and quantity of the stock possessed by the customer associated with the customer account number of the customer stored in the customer account database, and the stock identification information and quantity of the stock to be ordered indicated by the order information, A determination unit that determines whether or not all the stocks of the customer are subject to a sell order by
Stocks of stock held by the customer associated in the customer account database with the customer account number of the customer received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit by the determination unit The identification information and quantity are matched with the stock identification information and quantity of the stock to be ordered indicated by the order information. As a result of the matching, the stock identification information and quantity of the stock match, and the customer When it is determined that all the stocks held are subject to a sell order, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer. An acquisition unit that receives the designation information input on the input screen from the customer terminal device and stores it in the designation information storage unit in association with the customer account number of the customer;
When cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer account number of the customer, it is associated with the customer account number of the customer by the remittance unit Account deletion for performing processing for deleting the account of the customer account number of the customer after the processing for transferring the sale amount into the account of the remittance destination designated account number stored in the customer database is performed And a processing unit.

本発明の第2の形態の注文処理装置では、好ましくは、
前記顧客データベースは、顧客の顧客口座番号に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する構成とする。
この取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに前記顧客の顧客口座番号に対応付けて前記指定情報格納部に前記顧客の口座を解約することを指定する解約指定情報が格納されていないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納する構成としてもよい。
In the order processing apparatus according to the second aspect of the present invention, preferably,
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with the customer account number of the customer,
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks of the customer are subject to a sales order. Input screen for inputting designation information for designating whether or not to cancel the account of the customer when the cancellation offer information is information indicating that there has been an inquiry or offer of account cancellation from the customer Is displayed on the customer terminal device, and the designation information input on the input screen is received from the customer terminal device and stored in the designation information storage unit in association with the customer account number of the customer.
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks held by the customer are subject to a sales order. The cancellation offer information is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is canceled in the designated information storage unit in association with the customer account number of the customer. When the cancellation designation information for designating the customer account is not stored, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer. The input designation information may be received from the customer terminal device and stored in the designation information storage unit in association with the customer account number of the customer.

例えば、前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客口座番号及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客の顧客口座番号に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客口座番号及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部とを有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客口座番号及び注文情報と当該顧客口座番号及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客口座番号及び注文情報と前記計数部からの前記注文識別情報とを対応付けて格納する構成としてもよい。
For example, the order receiving unit
Generating a storage control signal for storing in the order storage unit order information indicating the customer account number of the customer and the content of the stock trading order received from the terminal device of the customer and stored in the receipt information storage unit; A storage control unit for outputting to the order storage unit together with the customer account number and order information;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating buying. When the cancellation offer information stored in the customer database in association with the customer account number is information indicating that there has been an offer to cancel the account from the customer, or is associated with the customer account number of the customer When the cancellation designation information is stored in the designation information storage unit, a storage control signal for storing the customer account number and order information in the order storage unit is sent from the storage control unit to the order storage unit. A suppressor that suppresses output and displays a message indicating that a purchase order cannot be input to the terminal device of the customer;
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer account number and order information output from the storage control unit And the storage control signal for storing the customer account number and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit It is good also as a structure which matches and stores the said customer account number and order information from the said order identification information from the said counting part.

なお、前記口座抹消処理部は、前記顧客の顧客口座番号の口座を抹消するための処理として、当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断する構成としてもよい。
The account deletion processing unit deletes the customer account number from the customer account database as a process for deleting the account of the customer account number of the customer and associates the customer account number with the customer account number of the customer. Perform processing to store in the customer database information on whether or not the account has been deleted,
The order storage unit has deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer by the order receiving unit and stored in the receipt information storage unit. Order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer terminal device and stored in the received information storage unit when not stored in the customer database, Store in association with the order identification information for identifying the order information,
The determination unit includes deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer by the order receiving unit and stored in the reception information storage unit. In the case where it is not stored in the customer database and the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is information indicating sale The stock identification information and quantity of the customer's stock associated with the customer account number of the customer received by the order receiving unit and stored in the received information storage unit in the customer account database and the order information indicate It is determined whether or not all the stocks held by the customer are subject to selling orders by collating with the stock identification information and quantity of the stocks to be ordered. It may be formed.

本発明の第2の形態の注文処理装置では、好ましくは、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記発注部は、前記未発注の状態であることを示す注文ステータス情報に対応付けて前記注文格納部に格納されている前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行い、発注処理が行われた当該注文の注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行い、
前記約定受信部は、前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信した場合に、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶し、前記判断用記憶部で前記顧客の顧客口座番号に対応付けて記憶された前記注文対象の株式の銘柄識別情報及び数量と、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行い、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行う構成とする。
In the order processing apparatus according to the second aspect of the present invention, preferably,
The order storage unit identifies the order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit, and the order information. Store the order identification information for ordering and the order status information indicating that the order has not been placed,
The ordering unit is for identifying the order information indicating the content of the stock trading order stored in the order storage unit in association with the order status information indicating the unordered state and the order information. By sending an order input message including order identification information to the stock exchange, the order processing of the stock trading order is performed, and the order storage unit is associated with the order identification information of the order for which the order processing has been performed. A process of updating the stored order status information to order status information indicating that the order is being placed,
The contract receiving unit is a contract establishment notification indicating that the stock trading order from the stock exchange has been executed, and includes order identification information for identifying the order information of the order, and the trade classification and execution of the order. An order status indicating that the order status information stored in the order storage unit in association with the order identification information is in a contracted state when a notification of contract completion including a price and a contracted quantity is received. Process to update the information,
The determination unit is configured to receive the stock information when the order buying / receiving section indicated by the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered or in an ordering state, and the order of sale is information indicating the sale The stock identification information and quantity of the stock to be ordered indicated by the information are stored in the determination storage unit in association with the customer account number of the customer, and the customer account of the customer is stored in the determination storage unit Stock identification information and quantity of the stock to be ordered stored in association with the issue, and stock identification information and quantity of the stock possessed by the customer associated with the customer account database for the customer account number of the customer To determine whether or not all the stocks of the customer are subject to sell orders,
The remittance unit, when the trade classification of the order included in the contract establishment notification received by the contract reception unit is information indicating sale, the contracted quantity in the execution price of the order included in the contract establishment notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. A process for transferring to the account of the remittance destination designated account number associated with the customer database with respect to the stored customer account number of the customer is performed and associated with the order identification information in the order storage unit The stored order status information is updated to order status information indicating a remittance state.

前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う構成としてもよい。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered or in an ordering state, and the order of sale is information indicating the sale The stock identification information and quantity of the stock to be ordered indicated by the information are stored in the integration storage unit in association with the selection flag indicating the unselected state, and the brand stored in the integration storage unit It performs integration processing for storing the determination storage unit integrates the different information and quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. While summing up each quantity of stocks of the brand identification information stored in the integration storage unit, the total quantity and the brand identification information are stored in the determination storage unit in association with the customer account number of the customer. When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, the brand identification is performed. Storing the stock quantity of the brand identification information stored in the integration storage unit in association with the information and the brand identification information in the judgment storage unit in association with the customer account number of the customer, and Each selection flag stored in the integration storage unit selects all the processing for updating the selection flag stored in the integration storage unit in association with the brand identification information to the selection flag indicating the selected state. It is good also as a structure repeated until it becomes the selection flag which shows a completed state.

前記顧客口座データベースは、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンドの口数並びに株式の銘柄識別情報及び数量を対応付けて格納し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号を取得して当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高に加算して残高更新することにより前記売却金額を前記顧客の口座に入金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、当該顧客の顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された前記解約金額を前記顧客の口座の資金残高に加算して残高更新することにより前記解約金額を前記顧客の口座に入金する処理を行い、前記解約金額及び前記売却金額が入金された前記顧客の口座の資金残高全額を当該顧客の口座から当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行うとともに当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの口数残高を0にする処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報でないときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶し、
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに前記顧客の顧客口座番号の口座を抹消するための処理を行う構成としてもよい。
The customer account database is associated with the customer account number of the customer, and the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds, stock identification information and quantity of the stock Store
The remittance unit, when the trade classification of the order included in the execution notification received by the execution reception unit is information indicating sale, is executed at the execution price of the order included in the execution notification The order storage unit associates a sale price obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by the quantity with the order identification information included in the execution notification. The customer account number of the customer stored in the customer account number is added to the customer account number associated with the customer account database for the customer account number of the customer and the balance is updated to update the balance. The sale amount is credited to the customer's account, and the contract completion quantity of the stock of the brand identification information included in the execution notification is sent to the customer account number with respect to the customer account number. The balance is updated by subtracting the stock quantity balance of the stock identification information associated with the database, and the order status information stored in the order storage unit in association with the order identification information has been settled Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, Among the order information stored in the order storage unit in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale, When there is no order status information indicating that the order is in the middle or contracted state, and there is order status information indicating that only one of the order status information associated with the order information is in a settled state , Storing the cancellation amount of the total number of money reserve funds of the customer stored in the customer account database in association with the customer account number of the customer The cancellation amount stored in the department is added to the balance of funds of the customer's account and the balance is updated to process the amount of cancellation to be credited to the customer's account. In addition, a process for transferring the full amount of funds in the customer account from the customer account to the account of the remittance destination designated account number stored in the customer database in association with the customer account number of the customer and The number of money reserve funds of the customer stored in the customer account database in association with the customer account number is set to 0, and stored in the order storage unit in association with the order identification information. Performing a process of updating the order status information to order status information indicating a remittance state;
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, Among the order information stored in the order storage unit in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale, When there is order status information indicating a medium or contracted state, or in the order information stored in the order storage unit in association with the customer account number of the customer, the trading category indicates selling There is no order status information in the order status information associated with the order information, which is information, indicating that the order status information has not yet been ordered, being placed in order, or in a contracted state. When there is a plurality of order status information indicating that the settlement is completed in the assigned order status information, the sale amount is obtained from the account of the customer account number of the customer to which the sale amount has been deposited. The processing for transferring to the account of the remittance destination designated account number stored in the customer database in association with the customer account number of, and stored in the order storage unit in association with the order identification information Update the order status information to show the order status information indicating that the payment has been made,
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is not cancellation designation information for designating cancellation of the customer account, Processing for transferring the sale amount from the account of the customer account number of the customer into which the sale amount has been deposited to the account of the remittance designated account number stored in the customer database in association with the customer account number of the customer Performing a process of updating the order status information stored in the order storage unit in association with the order identification information to order status information indicating a remittance state,
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered, in the order of being placed, or in a contracted state, and the information indicating that the sales division indicates sale The stock identification information and quantity of the stock to be ordered indicated by the order information is stored in the determination storage unit in association with the customer account number of the customer,
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer account number of the customer, Among the order information stored in the order storage unit in association with the customer account number, the order status information associated with the order information that is information indicating that the trading category indicates selling is not yet placed, placed in order, and executed In the case where there is no order status information indicating that the customer account has been settled and settled, the quantity of the stock held by the customer corresponding to the customer account number of the customer in the customer account database is obtained from the customer account database. A configuration that reads and determines whether or not the quantity of stock held by the customer is 0, and performs processing for deleting the account of the customer account number of the customer when the quantity is 0 It may be.

前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う構成としてもよい。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. Corresponding to the stock identification information and quantity of the stock to be ordered indicated by the order information stored in the item, and the customer account number of the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered, in the order of being placed, or in a contracted state, and the information indicating that the sales division indicates sale The stock identification information and quantity of the stock to be ordered indicated by the order information is stored in the integration storage unit in association with the selection flag indicating the unselected state, and stored in the integration storage unit Stock identification information and by integrating the quantity performs integration processing for storing the determination storage unit has,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. While summing up each quantity of stocks of the brand identification information stored in the integration storage unit, the total quantity and the brand identification information are stored in the determination storage unit in association with the customer account number of the customer. When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, the brand identification is performed. Storing the stock quantity of the brand identification information stored in the integration storage unit in association with the information and the brand identification information in the judgment storage unit in association with the customer account number of the customer, and Each selection flag stored in the integration storage unit selects all the processing for updating the selection flag stored in the integration storage unit in association with the brand identification information to the selection flag indicating the selected state. It is good also as a structure repeated until it becomes the selection flag which shows a completed state.

また、前記顧客データベースは、顧客の顧客口座番号に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する構成としてもよい。
この取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに前記顧客の顧客口座番号に対応付けて前記指定情報格納部に前記顧客の口座を解約することを指定する解約指定情報が格納されていないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納する構成としてもよい。
In addition, the customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with the customer account number of the customer,
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all of the stocks held by the customer are subject to a sales order. An input screen for inputting designation information for designating whether or not to cancel the account of the customer when the cancellation offer information is information indicating that there has been an inquiry or offer of account cancellation from the customer May be displayed on the terminal device of the customer, and the designation information input on the input screen may be received from the terminal device of the customer and stored in the designation information storage unit in association with the customer account number of the customer.
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks held by the customer are subject to a sales order. The cancellation offer information is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is canceled in the designated information storage unit in association with the customer account number of the customer. When the cancellation designation information for designating the customer account is not stored, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer. The input designation information may be received from the customer terminal device and stored in the designation information storage unit in association with the customer account number of the customer.

更に、前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が買いを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を加えた買付金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号を取得して当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高から減算して残高更新することにより前記買付金額を前記顧客の口座から出金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する構成としてもよい。
また、前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客口座番号及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客の顧客口座番号に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客の顧客口座番号及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部とを有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客の顧客口座番号及び注文情報と当該顧客の顧客口座番号及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客の顧客口座番号及び注文情報と前記計数部からの前記注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する構成としてもよい。
Further, the remittance unit executes a contract to the contract settlement price of the order included in the contract completion notification when the trading category of the order included in the contract completion notification received by the contract reception unit is information indicating purchase. The purchase price obtained by adding the expenses stored in the storage unit storing the expenses of the order to the contract price multiplied by the completed quantity is associated with the order identification information included in the execution notification of the order and the order. Obtaining the customer account number of the customer stored in the storage unit, and subtracting the customer account number of the customer from the fund balance of the customer account associated with the customer account database to update the balance The process of withdrawing the purchase price from the customer's account is performed in advance, and the contract completion quantity of the stock in the brand identification information included in the execution notification is previously set with respect to the customer account number of the customer. The balance status is updated by adding to the stock quantity balance of the stock identification information associated in the customer account database, and the order status information stored in the order storage unit in association with the order identification information Update the order status information to show that it is settled,
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks of the customer are subject to a sales order. Of the order information stored in the order storage unit in association with the customer account number of the customer and the information indicating that the cancellation offer information is an account cancellation inquiry or offer from the customer When there is no order status information indicating that the order status information associated with the order information, which is information indicating a buy / sell category, is unordered, ordering, and contracted, the customer's account is An input screen for inputting designation information for designating whether or not to cancel is displayed on the customer terminal device, and the designation information input on the input screen is received from the customer terminal device. It may be stored in the designated information storage unit in association with the customer account number of the customer I.
In addition, the order receiving unit
Generating a storage control signal for storing in the order storage unit order information indicating the customer account number of the customer and the content of the stock trading order received from the terminal device of the customer and stored in the receipt information storage unit; A storage control unit for outputting to the order storage unit together with the customer account number and order information;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database in association with the customer account number is information indicating that there has been an offer to cancel the account from the customer, or associated with the customer account number of the customer When the cancellation designation information is stored in the designation information storage unit, a storage control signal for storing the customer account number and order information of the customer in the order storage unit is stored in the order storage unit from the storage control unit. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a counting result as order identification information, and the customer account number of the customer output from the storage control unit and Receiving the order information, the storage control signal for storing the customer account number of the customer and the order information, and the order identification information output from the counting unit, and based on the storage control signal from the storage control unit The customer account number and order information of the customer from the storage control unit, the order identification information from the counting unit, and order status information indicating an unordered state may be stored in association with each other.

なお、前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶する構成としてもよい。
The account deletion processing unit is a case in which cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer account number of the customer, Of the order information stored in the order storage unit in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale is not yet ordered. , If there is no order status information indicating that the customer is in a contracted and settled state, the customer account indicates the quantity of stock held by the customer corresponding to the customer account number of the customer in the customer account database. It is read from the database to determine whether the stock quantity of the customer is 0, and when the quantity is 0, the customer account number is deleted from the customer account database. The deletion presence information to the effect that in correspondence with the customer account number is the customer's account has been deleted performs a process of storing the customer database with,
The order storage unit has deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit. Order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer's terminal device and stored in the receipt information storage unit when not stored in the customer database; The order identification information for identifying the order information and the order status information indicating that the order has not been placed are stored in association with each other,
The determination unit includes deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit. In the case where it is not stored in the customer database and the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is information indicating sale The stock identification information and quantity of the stock to be ordered indicated by the order information stored in the receipt information storage unit, and the customer's terminal information received by the order reception unit from the customer terminal device and stored in the receipt information storage unit Corresponds to order status information indicating that the order information stored in the order storage unit in association with the customer account number is in the unordered, in-ordering or contracted state The stock identification information and quantity of the stock to be ordered indicated by the order information, which is the order information that is sold and the information indicating the sale classification, is associated with the customer account number of the customer in the determination storage unit. It is good also as a structure to memorize | store.

本発明の第3の形態は、コンピュータを本発明の第1又は第2の形態の注文処理装置として機能させるためのプログラムである。   A third aspect of the present invention is a program for causing a computer to function as the order processing apparatus according to the first or second aspect of the present invention.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた発明となり得る。   The above summary of the invention does not enumerate all necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.

以上の説明から明らかなように、本発明によれば、顧客が金融機関の口座に預けてある株式を全部売却して金融機関の口座を解約する場合に顧客の手間を軽減するとともに金融機関にとって休眠口座を減らすことができる注文処理装置及びプログラムを提供することができる。   As is clear from the above explanation, according to the present invention, when the customer sells all the stocks deposited in the financial institution account and cancels the financial institution account, the customer's trouble is reduced and the financial institution is reduced. It is possible to provide an order processing apparatus and a program capable of reducing dormant accounts.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.

図1は、本発明の第1の実施形態に係る注文処理装置12の一例を示すブロック図である。この注文処理装置12は、例えば証券会社等の金融機関10に設置されて管理され、ウェブサーバとしての機能を有する。注文処理装置12は、注文格納部110、発注部120、約定受信部130、送金部140、顧客データベース(顧客DB)150、判断部160、送受信部170、口座抹消処理部190、顧客口座データベース(顧客口座DB)200、及び、抹消口座データベース(抹消口座DB)210を備える。送受信部170は、本発明における注文受取部及び取得部に対応しており、顧客データベース150は、本発明における顧客データベース及び指定情報格納部に対応している。   FIG. 1 is a block diagram showing an example of an order processing device 12 according to the first embodiment of the present invention. The order processing apparatus 12 is installed and managed in a financial institution 10 such as a securities company, for example, and has a function as a web server. The order processing apparatus 12 includes an order storage unit 110, an ordering unit 120, a contract receiving unit 130, a remittance unit 140, a customer database (customer DB) 150, a determination unit 160, a transmission / reception unit 170, an account deletion processing unit 190, a customer account database ( A customer account DB) 200 and a deletion account database (deletion account DB) 210. The transmission / reception unit 170 corresponds to the order reception unit and the acquisition unit in the present invention, and the customer database 150 corresponds to the customer database and the designation information storage unit in the present invention.

顧客は、端末装置21を用いてインターネットを介して上記金融機関のホームページにアクセスし、オンライントレードを行うためのウェブページをウェブブラウザにより端末装置21に表示する。そして、顧客は、端末装置21から、顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報を入力し、入力した情報を注文処理装置12に送信する。注文情報には、注文の売買区分、注文対象の株式の銘柄識別情報及び数量、注文値段、取引所区分等が含まれており、銘柄識別情報の一例として銘柄コードを用いる。
注文処理装置12の送受信部170は、端末装置21から受け取った情報を記憶する受取情報記憶部を備えており、顧客の端末装置21から、顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報を受け取って受取情報記憶部に記憶する。この送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報を注文格納部110に格納するための格納制御信号を生成して当該顧客識別情報及び注文情報とともに注文格納部110に出力する格納制御部を備えている。
The customer uses the terminal device 21 to access the home page of the financial institution via the Internet, and displays a web page for online trading on the terminal device 21 using a web browser. Then, the customer inputs customer identification information for identifying the customer and order information indicating the content of the stock trading order from the terminal device 21, and transmits the input information to the order processing device 12. The order information includes order purchase and sale classification, stock identification information and quantity of the stock to be ordered, order price, exchange classification and the like, and a brand code is used as an example of the brand identification information.
The transmission / reception unit 170 of the order processing device 12 includes a receipt information storage unit that stores information received from the terminal device 21. The customer identification information for identifying the customer and the stock trading order are received from the customer terminal device 21. Order information indicating the contents is received and stored in the received information storage unit. The transmission / reception unit 170 stores customer identification information for identifying the customer received from the terminal device 21 of the customer and stored in the receipt information storage unit, and order information indicating the contents of the stock trading order in the order storage unit 110. A storage control unit that generates a storage control signal and outputs the storage control signal to the order storage unit 110 together with the customer identification information and order information is provided.

顧客データベース150は、顧客を識別するための顧客識別情報に対応付けて、当該顧客の氏名と、当該顧客の連絡先と、当該顧客の顧客口座番号と、当該顧客に支払うべき金額を振り込む振込先口座の口座番号であって当該顧客により指定された送金先指定口座番号と、当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報と、顧客の端末装置21に表示された顧客の口座を解約するか否かを指定する指定情報の入力画面に顧客により入力された指定情報と、口座抹消処理部190により当該顧客の顧客口座が抹消されたか否かを示す抹消有無情報とを格納する。
送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報の注文の売買区分が買いを示す情報である場合に、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客識別情報に対応付けて解約指定情報が顧客データベース150に格納されているときに、当該顧客識別情報及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止するとともに顧客の端末装置21に買注文の入力はできない旨のメッセージを表示出力する抑止部を備えている。
The customer database 150 is associated with customer identification information for identifying the customer, and the transfer destination to which the name of the customer, the contact information of the customer, the customer account number of the customer, and the amount payable to the customer are transferred. The account number of the account and the remittance destination designated account number designated by the customer, the cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer, and the customer's terminal displayed on the terminal device 21 of the customer The specified information input screen for specifying whether or not to cancel the account stores the specified information entered by the customer and the deletion information indicating whether or not the customer's customer account has been deleted by the account deletion processing unit 190 To do.
The transmission / reception unit 170 receives from the customer's terminal device 21 and stores it in the received information storage unit when the order trading section of the order information received from the customer's terminal device 21 and stored in the received information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database 150 in association with the customer identification information for identifying the stored customer is information indicating that there has been an account cancellation offer from the customer or the customer identification information Storage control signal for storing the customer identification information and order information in the order storage unit 110 is output from the storage control unit to the order storage unit 110 when the cancellation designation information is stored in the customer database 150 And a deterrence unit that displays and outputs a message to the effect that the purchase order cannot be input to the customer terminal device 21.

注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する。
一例として注文格納部110は、送受信部170の格納制御部からの格納制御信号を計数して計数結果を注文識別情報として出力する計数部を備え、格納制御部から出力された顧客識別情報及び注文情報と当該顧客識別情報及び注文情報を格納するための格納制御信号と計数部から出力された注文識別情報とを受け取り、格納制御部からの格納制御信号に基づいて格納制御部からの顧客識別情報及び注文情報と計数部からの注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する構成としてもよい。
The order storage unit 110 includes customer identification information for identifying the customer received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit, order information indicating the content of the stock trading order, and the order information. Order identification information for identification and order status information indicating an unordered state are stored in association with each other.
As an example, the order storage unit 110 includes a counting unit that counts the storage control signal from the storage control unit of the transmission / reception unit 170 and outputs the counting result as order identification information. The customer identification information and the order output from the storage control unit Receiving the information, the storage control signal for storing the customer identification information and the order information, and the order identification information output from the counting unit, and receiving the customer identification information from the storage control unit based on the storage control signal from the storage control unit The order information, the order identification information from the counting unit, and the order status information indicating the unordered state may be stored in association with each other.

発注部120は、未発注の状態であることを示す注文ステータス情報に対応付けて注文格納部110に格納されている株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所30の売買システム31に送信することにより、株式売買注文の発注処理を行い、発注処理が行われた当該株式売買注文の注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該株式売買注文の注文識別情報に対応付けて発注日を示す日付情報を注文格納部110に格納する処理を行う。この発注部120は、株式売買注文の注文内容を示す注文情報に含まれる取引所区分が示す証券取引所に当該注文情報の発注処理を行うようになっている。   The ordering unit 120 is associated with order status information indicating an unordered state, order information indicating the content of a stock trading order stored in the order storage unit 110, and order identification for identifying the order information. An order input message including information is transmitted to the trading system 31 of the stock exchange 30 to perform the ordering process of the stock trading order, and the order is associated with the order identification information of the stock trading order for which the ordering process has been performed. Date information indicating the order date associated with the order identification information of the stock buy / sell order while performing processing for updating the order status information stored in the storage unit 110 to order status information indicating that the order is being placed Is stored in the order storage unit 110. The ordering unit 120 performs ordering processing of the order information on the stock exchange indicated by the exchange classification included in the order information indicating the order contents of the stock trading order.

約定受信部130は、証券取引所30から株式売買注文が約定したことを示す約定成立通知であって当該株式売買注文の注文情報を識別するための注文識別情報と当該株式売買注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する。この約定受信部130は、約定成立通知を受信した場合に、約定成立通知を当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納する処理を行い、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該約定成立通知に含まれる注文識別情報に対応付けて約定成立通知を受信した約定日を示す日付情報を注文格納部110に格納する処理を行う。この約定受信部130は約定日から決済日までの決済期間を示す情報を格納する決済期間格納部を有しており、約定日と決済日を同日とする場合(T+0決済の場合)は決済期間として0日を示す情報が格納されており、約定日から1営業日後を決済日とする場合(T+1決済の場合)は決済期間として1日を示す情報が格納されており、約定日から3営業日後を決済日とする場合(T+3決済の場合)は決済期間として3日を示す情報が格納されており、約定成立通知に含まれる注文識別情報に対応付けて約定日に決済期間格納部の決済期間を加えた営業日を示す日付情報を決済日として注文格納部110に格納する処理を行うようになっている。
顧客口座データベース200は、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンド(MRF)の口数並びに株式の銘柄識別情報及び数量を格納する。
The contract receiving unit 130 is a contract establishment notification indicating that a stock trading order has been executed from the stock exchange 30, and includes order identification information for identifying the order information of the stock trading order and a trading classification of the stock trading order, A contract completion notification including the contract settlement price and the contract settlement quantity is received. When the contract reception unit 130 receives the contract completion notification, the contract reception unit 130 performs processing for storing the contract completion notification in the order storage unit 110 in association with the order identification information included in the contract completion notification. The order status information stored in the order storage unit 110 in association with the included order identification information is updated to order status information indicating that it is in a contracted state, and the order included in the contract completion notification A process for storing in the order storage unit 110 the date information indicating the contract date when the contract establishment notification is received in association with the identification information. The contract receiving unit 130 includes a settlement period storage unit that stores information indicating a settlement period from the contract date to the settlement date. When the settlement date and the settlement date are the same day (in the case of T + 0 settlement), the settlement period. As the settlement date (in the case of T + 1 settlement), the information indicating 1 day is stored as the settlement period, and 3 business days from the contract date are stored. When the settlement date is set as the settlement date (in the case of T + 3 settlement), information indicating the third day is stored as the settlement period, and the settlement of the settlement period storage unit is performed on the contract date in association with the order identification information included in the contract completion notification. A process for storing date information indicating a business day including a period in the order storage unit 110 as a settlement date is performed.
The customer account database 200 is associated with the customer account number of the customer, the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds (MRF), the stock identification information and the quantity of the stock Is stored.

判断部160は、顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に当該注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっているか否かを判断する。
この判断部160は、顧客識別情報に対応付けて株式の銘柄識別情報及び数量を記憶する判断用記憶部を備えており、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報が示す株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち未発注、発注中又は約定済みの状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶し、判断用記憶部で当該顧客識別情報に対応付けて記憶された注文対象の株式の銘柄識別情報及び数量と、当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっているか否かを判断する。
判断用記憶部はデータテーブルを備えており、このデータテーブルは顧客識別情報と株式の銘柄識別情報と株式の数量とを記憶するための各領域がレコード毎に設けてあり、同一レコードに格納された顧客識別情報と株式の銘柄識別情報と株式の数量とが互いに対応付けされるようになっている。判断用記憶部はリレーショナル・データベース(RDB)を用いて構成してもよい。
The determination unit 160 is the stock to be ordered indicated by the order information when the order trading section indicated by the order information received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit is information indicating sale. The customer account database 200 corresponds to the customer's customer account number stored in the customer database 150 in association with the brand identification information and quantity of the customer and the customer identification information received by the transmission / reception unit 170 and stored in the received information storage unit. By comparing the stock identification information and quantity of the stock possessed by the attached customer, it is determined whether or not all stocks possessed by the customer identified by the customer identification information are subject to selling orders.
The determination unit 160 includes a determination storage unit that stores stock identification information and quantity in association with customer identification information, and the transmission / reception unit 170 receives from the terminal device 21 of the customer and stores it in the reception information storage unit. When the stock trading category indicated by the ordered information is information indicating selling, the stock identification information and quantity of the stock to be ordered indicated by the order information stored in the received information storage unit, and the transmission / reception unit 170 is the terminal of the customer Order status information indicating that the order information stored in the order storage unit 110 in association with the customer identification information received from the device 21 and stored in the receipt information storage unit is in an unordered, ordering, or contracted state. Corresponding to the customer identification information, the stock identification information and quantity of the stock to be ordered indicated by the order information, which is the order information associated with, and the information indicating that the trading category indicates selling The stock identification information and quantity of the stock to be ordered stored in the determination storage unit in association with the customer identification information in the determination storage unit, and in the customer database 150 in association with the customer identification information. The customer identified by the customer identification information can be identified by checking the stock identification information and quantity of the stock held by the customer associated with the customer account database 200 against the stored customer account number of the customer. It is determined whether or not all the stocks that the company has are subject to selling orders.
The storage unit for determination includes a data table. This data table is provided with each area for storing customer identification information, stock identification information and stock quantity, and is stored in the same record. The customer identification information, stock identification information, and stock quantity are associated with each other. The determination storage unit may be configured using a relational database (RDB).

判断部160が、判断用記憶部で顧客識別情報B001に対応付けて記憶された注文対象の株式の銘柄識別情報及び数量と、当該顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行う場合に、一例として以下の処理動作(ステップS101〜S105)を行う構成としてもよい。銘柄識別情報として4桁数字の銘柄コードを用いる場合を例示して以下に説明する。
先ず、ステップS101として、判断用記憶部で顧客識別情報B001に対応付けて記憶された銘柄コードから最小の数値の銘柄コードMCaと最大の数値の銘柄コードMCbを検出するとともに、当該顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた銘柄コード(即ち当該顧客識別情報B001により識別される顧客が有する株式の銘柄コード)から最小の数値の銘柄コードDCaと最大の数値の銘柄コードDCbを検出する。
次に、ステップS102として、ステップS101で検出した最小の数値の銘柄コードMCa,DCaを比較するとともに最大の数値の銘柄コードMCb,DCbを比較する。ステップS102で比較した結果、最小の数値の銘柄コードMCa,DCaが一致しない場合又は最大の数値の銘柄コードMCb,DCbが一致しない場合は、顧客の有する株式が全て売注文の対象となっているものではないことを示す不一致情報を生成して照合処理を終了する。ステップS102で比較した結果、最小の数値の銘柄コードMCa,DCaが一致するとともに最大の数値の銘柄コードMCb,DCbが一致する場合は、銘柄コードの順位を指定するための変数nの値を1にしてステップS103に進む。
ステップS103では、判断用記憶部で当該顧客識別情報B001に対応付けて記憶された銘柄コード及び数量の中からn番目に小さい銘柄コードMCnと当該銘柄コードMCnに対応付けされた数量MPnを読み出す。また、当該顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた銘柄コード及び数量の中からn番目に小さい銘柄コードDCnと当該銘柄コードDCnに対応付けされた数量DPnを読み出す。
次に、ステップS104として、ステップS103で読み出した銘柄コードMCn,DCnを比較するとともに数量MPn,DPnを比較する。ステップS104で比較した結果、銘柄コードMCn,DCnが一致しない場合又は数量MPn,DPnが一致しない場合は、不一致情報を生成して照合処理を終了する。ステップS104で比較した結果、銘柄コードMCn,DCnが一致するとともに数量MPn,DPnが一致する場合は、ステップS105に進む。
ステップS105では、ステップS103で読み出した銘柄コードMCnと最大の数値の銘柄コードMCbを比較する。ステップS105で比較した結果、銘柄コードMCn,MCbが一致しない場合は、変数nの値を1だけ増加させてステップS103に戻る。ステップS105で比較した結果、銘柄コードMCn,MCbが一致する場合は、顧客の有する株式が全て売注文の対象となっていることを示す一致情報を生成して照合処理を終了する。
The determination unit 160 stores the brand identification information and quantity of the stock to be ordered stored in the determination storage unit in association with the customer identification information B001 and the customer database 150 in association with the customer identification information B001. The following processing operations (steps S101 to S105) are performed as an example when collating the stock identification information and quantity of stocks held by the customer associated with the customer account database 200 with the customer account number of the customer. It is good also as a structure. An example of using a 4-digit number code as the brand identification information will be described below.
First, in step S101, the smallest numerical code MCa and the largest numerical code MCb are detected from the brand codes stored in association with the customer identification information B001 in the determination storage unit, and the customer identification information B001. The stock code associated with the customer account number of the customer stored in the customer database 150 in association with the customer account database 200 (ie, the stock code of the stock held by the customer identified by the customer identification information B001) The smallest numeric code DCa and the largest numeric code DCb are detected.
Next, in step S102, the minimum numerical code codes MCa and DCa detected in step S101 are compared, and the maximum numerical code codes MCb and DCb are compared. As a result of the comparison in step S102, if the minimum numerical code codes MCa and DCa do not match, or if the maximum numerical code codes MCb and DCb do not match, all the stocks of the customer are subject to selling orders. Inconsistency information indicating that it is not a thing is generated, and the collation process is terminated. As a result of the comparison in step S102, if the minimum numerical code codes MCa and DCa match and the maximum numerical code codes MCb and DCb match, the value of the variable n for specifying the rank of the code number is set to 1. Then, the process proceeds to step S103.
In step S103, the nth smallest brand code MCn and the quantity MPn associated with the brand code MCn are read out from the brand code and quantity stored in association with the customer identification information B001 in the determination storage unit. Further, the nth smallest brand code DCn among the brand codes and quantities associated in the customer account database 200 with respect to the customer account number of the customer stored in the customer database 150 in association with the customer identification information B001. And the quantity DPn associated with the stock code DCn.
Next, in step S104, the brand codes MCn and DCn read out in step S103 are compared and the quantities MPn and DPn are compared. As a result of the comparison in step S104, if the brand codes MCn and DCn do not match or the quantities MPn and DPn do not match, mismatch information is generated and the matching process is terminated. As a result of the comparison in step S104, if the brand codes MCn and DCn match and the quantities MPn and DPn match, the process proceeds to step S105.
In step S105, the brand code MCn read in step S103 is compared with the brand code MCb having the maximum numerical value. If the brand codes MCn and MCb do not match as a result of the comparison in step S105, the value of the variable n is increased by 1, and the process returns to step S103. If the brand codes MCn and MCb match as a result of the comparison in step S105, the matching information indicating that all the stocks of the customer are subject to the selling order is generated and the matching process is terminated.

なお、判断部160は、顧客識別情報と株式の銘柄識別情報及び数量と選択フラグとを対応付けて記憶する統合用記憶部を備えており、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す注文対象の株式の銘柄識別情報及び数量とを、未選択の状態を示す選択フラグと当該顧客識別情報に対応付けて統合用記憶部に記憶し、統合用記憶部に記憶された銘柄識別情報及び数量を統合して判断用記憶部に記憶するための統合処理を行う。
統合用記憶部はデータテーブルを備えており、このデータテーブルは顧客識別情報と株式の銘柄識別情報と株式の数量と選択フラグとを記憶するための各領域がレコード毎に設けてあり、同一レコードに格納された顧客識別情報と株式の銘柄識別情報と株式の数量と選択フラグとが互いに対応付けされるようになっている。統合用記憶部はリレーショナル・データベースを用いて構成してもよい。
統合処理として、判断部160は、未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶されている銘柄識別情報を統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に当該1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を顧客識別情報に対応付けて判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を顧客識別情報に対応付けて判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う。
Note that the determination unit 160 includes an integration storage unit that stores customer identification information, stock identification information, stock quantity, and selection flags in association with each other, and the transmission / reception unit 170 receives and receives from the terminal device 21 of the customer. When the order trading indicated by the order information stored in the information storage unit is information indicating sale, the stock identification information and quantity of the target stock indicated by the order information stored in the received information storage unit, and the transmission / reception unit 170 is in an unordered, ordering or contracted state among the order information stored in the order storage unit 110 in association with the customer identification information received from the customer terminal device 21 and stored in the receipt information storage unit. The stock identification information and quantity of the stock to be ordered indicated by the order information which is the order information associated with the order status information indicating that the trade classification indicates sale is not selected. An integration process for storing a selection flag indicating a state in association with the customer identification information in the storage unit for integration, and storing the brand identification information and the quantity stored in the storage unit for integration in the storage unit for determination I do.
The storage unit for integration includes a data table, and each data record has an area for storing customer identification information, stock identification information, stock quantity, and selection flag for each record. The customer identification information, stock identification information, stock quantity, and selection flag stored in the table are associated with each other. The integration storage unit may be configured using a relational database.
As the integration process, the determination unit 160 reads the brand identification information stored in the integration storage unit in association with the selection flag indicating an unselected state, selects one brand identification information, It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the read brand identification information. If it is determined that a plurality of brand identification information is included, the storage for integration is associated with the brand identification information. The total number of stocks of the stock identification information stored in the department is summed, and the total quantity and the stock identification information are stored in the judgment storage section in association with the customer identification information, and are associated with the brand identification information. The selection flag stored in the integration storage unit is updated to a selection flag indicating the selected state, and if it is determined that a plurality of selection flags are not included, the selection flag is recorded in the integration storage unit in association with the brand identification information. The stock quantity and the brand identification information of the brand identification information being stored are stored in the determination storage unit in association with the customer identification information, and are stored in the integration storage unit in association with the brand identification information. The process of updating the selection flag to the selection flag indicating the selected state is repeated until all the selection flags stored in the integration storage unit become the selection flags indicating the selected state.

判断部160により、顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量が一致しており、当該顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっていると判断された場合に、送受信部170は、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客識別情報に対応付けて顧客データベース150に格納する。   The judgment unit 160 receives the stock identification information and quantity of the order target stock indicated by the order information received by the transmission / reception unit 170 from the customer's terminal device 21 and stored in the reception information storage unit, and the transmission / reception unit 170 receives the receipt information storage unit. The stock identification information and quantity of the stock held in the customer account database 200 matched with the customer account number of the customer stored in the customer database 150 in association with the customer identification information stored in In the case where it is determined that all the stocks held by the customer identified by the customer identification information are subject to the selling order, the transmission / reception unit 170 designates whether or not to cancel the customer's account Is displayed on the customer's terminal device 21. The designation information input on the input screen is received from the customer's terminal device 21 and the customer's terminal device 21 receives the specified information. Stored in the customer database 150 in association with the identification information.

一例として送受信部170は、判断部160により、顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるか判断するとともに当該顧客識別情報に対応付けて顧客データベース150に顧客の口座を解約することを指定する解約指定情報が格納されているか判断し、当該解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるととともに当該顧客識別情報に対応付けて顧客データベース150に解約指定情報が格納されていないときに、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客識別情報に対応付けて顧客データベース150に格納する構成としてもよい。
なお、送受信部170は、判断部160により、顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるか判断するとともに当該顧客識別情報に対応付けて顧客データベース150に顧客の口座を解約することを指定する解約指定情報が格納されているか判断し、更に当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断し、当該解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客識別情報に対応付けて顧客データベース150に解約指定情報が格納されていないときであって、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客識別情報に対応付けて顧客データベース150に格納する構成としてもよい。
As an example, when the determination unit 160 determines that all the stocks held by the customer identified by the customer identification information are the targets of the selling order, the transmission / reception unit 170 associates the customer database with the customer identification information. It is determined whether the cancellation offer information stored in 150 is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is canceled in the customer database 150 in association with the customer identification information. It is determined whether or not cancellation cancellation information that specifies to be stored is stored, and the cancellation request information is information indicating that there is an account cancellation inquiry or offer from the customer, and is associated with the customer identification information. When the cancellation information is not stored in the customer database 150, the specification information specifying whether or not to cancel the customer's account is input. An input screen displayed on the customer terminal device 21 may be configured to store in association with the specified information input to the input screen to the terminal device 21 the customer identification information received from the customer in the customer database 150.
Note that the transmission / reception unit 170, when the determination unit 160 determines that all the stocks held by the customer identified by the customer identification information are the targets of the sales order, associates with the customer identification information in the customer database It is determined whether the cancellation offer information stored in 150 is information indicating that there has been an account cancellation inquiry or offer from the customer, and the customer account is canceled in the customer database 150 in association with the customer identification information. It is determined whether or not cancellation specifying information for specifying to be stored is stored. Further, in the order information stored in the order storage unit 110 in association with the customer identification information, the order information whose purchase classification is information indicating buying is included in the order information. Determine whether there is any order status information in the associated order status information that indicates that the order has not been placed, placed in order, or has been closed. The offer information is information indicating that there has been an account cancellation inquiry or offer from the customer, and the cancellation specification information is not stored in the customer database 150 in association with the customer identification information, and the customer Among the order information stored in the order storage unit 110 in association with the identification information, the order status information associated with the order information that is information indicating that the buying / selling type is “buy” is unordered, under ordering, and contracted. When there is no order status information indicating the status, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device 21 of the customer. The specified information may be received from the customer terminal device 21 and stored in the customer database 150 in association with the customer identification information.

送金部140は、注文格納部110に格納されている決済日の日付情報において当日が決済日となっているものがあるか判断し、当日が決済日となっているものがある場合は当該決済日の日付情報に対応付けて格納されている約定受信部130が受信した約定成立通知に含まれる注文の売買区分が売りを示す情報であるときに、当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じて約定金額を算出し、算出した約定金額から当該注文の諸経費を記憶する記憶部に記憶された当該諸経費を減じて売却金額を算出する。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客識別情報に対して顧客データベース150で対応付けされた送金先指定口座番号の口座に売却金額を振り込むための処理を行う。例えば、送金部140は、顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金金額を振り込む場合に、当該送金先指定口座番号により特定される銀行等の金融機関40が備える勘定系システム41に顧客氏名と送金金額と送金先指定口座番号と当該口座番号への当該送金金額の振込命令とを送信し、当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金残高から送金金額を減算して残高更新することで送金金額を顧客口座から出金する処理を行うことにより、顧客の口座から送金先指定口座番号の口座に送金金額を振り替える処理を行うようにしてもよい。このとき送信する顧客氏名としては、顧客識別情報に対応付けて顧客データベース150に格納されている顧客氏名を用い、例えばカタカナの顧客氏名を用いるようにしてもよい。なお、送金先指定口座番号の上位3桁(左側3桁)は各金融機関に特有のコードとなっており、送金部140は上位3桁の数字と金融機関の勘定系システムへの送信先アドレスとを対応付けた金融機関送信先テーブルを有しており、例えば顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の上位3桁の数字から金融機関送信先テーブルを参照して当該上位3桁の数字に対応する金融機関の勘定系システムへの送信先アドレスを取得し、取得した金融機関の勘定系システムの送信先アドレスに顧客氏名と送金金額と送金先指定口座番号と振込命令とを送信するようにしてもよく、取得した金融機関の勘定系システムの送信先アドレスに顧客氏名と送金金額と送金先指定口座番号と送金元金融機関の識別情報と振込命令とを送信するようにしてもよい。   The remittance unit 140 determines whether there is a settlement date in the date information of the settlement date stored in the order storage unit 110, and if there is a settlement date that is the settlement date, the settlement When the trade classification of the order included in the contract establishment notification received by the contract reception unit 130 stored in association with the date information of the day is information indicating sale, the execution of the order included in the contract establishment notification is confirmed The contract amount is calculated by multiplying the price by the contracted quantity, and the sales amount is calculated by subtracting the overhead stored in the storage unit storing the overhead of the order from the calculated contract amount. Then, the sales amount is transferred to the account of the remittance destination designated account number associated with the customer database 150 with respect to the customer identification information stored in the order storage unit 110 in association with the order identification information included in the notice of successful execution. Process. For example, when the remittance unit 140 transfers the remittance amount to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information, the remittance unit 140 identifies the bank specified by the remittance destination designated account number. A customer name, a remittance amount, a remittance designated account number, and a transfer instruction for the remittance amount to the account number are transmitted to the account system 41 provided in the financial institution 40, and the customer database 150 is associated with the customer identification information. Processing to withdraw the remittance amount from the customer account by subtracting the remittance amount from the fund balance of the customer associated with the customer account database 200 with respect to the stored customer account number of the customer and updating the balance. By performing this, a process of transferring the remittance amount from the customer's account to the account of the remittance destination designated account number may be performed. As the customer name transmitted at this time, the customer name stored in the customer database 150 in association with the customer identification information may be used. For example, the customer name of Katakana may be used. The upper 3 digits (left 3 digits) of the remittance destination designated account number are codes unique to each financial institution, and the remittance unit 140 has the upper 3 digits and the destination address to the financial institution's account system. For example, the financial institution destination table is calculated from the upper three digits of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information. Refer to obtain the destination address to the financial institution's account system corresponding to the upper 3 digits, customer name, remittance amount and remittance destination specified account in the acquired financial institution's account system destination address The number and transfer instruction may be sent, and the customer's name, remittance amount, remittance designated account number, and identification information of the remittance source financial institution are sent to the destination address of the acquired financial institution's account system. And transfer instructions and may be transmitted to.

この送金部140は、約定受信部130が受信した約定成立通知に含まれる注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された諸経費を減じた売却金額を、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客識別情報を取得して当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理を行うとともに、当該約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う。なお、一例として送金部140は約定金額と売買手数料とを対応付けた手数料テーブルを有し、注文の売却金額や買付金額を算出する場合に当該注文の約定金額に対して手数料テーブルで対応付けされた売買手数料を取得し、当該売買手数料に予め設定された消費税率を乗算した税額と当該売買手数料とを諸経費を記憶する記憶部に当該注文の諸経費として記憶して売却金額や買付金額の算出に用いるようにしてもよい。   The remittance unit 140 multiplies the execution price of the order included in the execution notification of the order included in the execution notification included in the execution notification received by the execution reception section 130 by the execution volume of the order. The customer stored in the order storage unit 110 in correspondence with the order identification information included in the notification of contract completion, the sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount The customer identification information is acquired and added to the customer account number stored in the customer database 150 in association with the customer identification information and added to the fund balance of the customer account associated in the customer account database 200 The balance is updated, and the sale amount is credited to the customer's account. Subtracted to the customer account number from the stock quantity balance of the stock identification information associated with the customer account database 200 performs a process of balance update. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification to the order status information indicating that the payment has been completed is performed. As an example, the remittance unit 140 has a fee table in which the contract amount and the transaction fee are associated with each other, and when calculating the sale amount or purchase amount of the order, the remittance unit 140 associates the contract amount with the order amount in the fee table. The sales amount and purchase price are stored in the storage unit that stores the transaction fee and the tax amount obtained by multiplying the transaction fee by a preset consumption tax rate and the transaction fee. You may make it use for calculation of money.

次に送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断し、当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断するとともに当該売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるか判断し、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、上記顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客のマネーリザーブファンド(MRF)の全口数の解約金額を記憶する記憶部に記憶された当該解約金額を顧客の口座の資金残高に加算して残高更新することにより解約金額を顧客の口座に入金する処理を行い、解約金額及び売却金額が入金された顧客の口座の資金残高全額を当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行うとともに、当該顧客口座番号に対応付けて顧客口座データベース200に格納されている顧客のマネーリザーブファンドの口数残高を0にする処理を行う。この場合は送金後の顧客の口座の資金残高は0になる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記資金残高全額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   Next, the remittance unit 140 determines whether the designation information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is cancellation designation information for designating cancellation of the customer account. When the designation information stored in the customer database 150 in association with the customer identification information is cancellation designation information for designating cancellation of the customer's account, the order storage unit is associated with the customer identification information. Order status information indicating that the order status information associated with the order information, which is information indicating that the trade classification is sale, among the order information stored in 110, is in an unordered, ordering, or contracted state. In the order status information associated with the order information corresponding to the order information, which is information indicating that the trading category indicates selling, The order status information indicating that the sales category is associated with the customer identification information and the order information stored in the order storage unit 110 is associated with the order information that is information indicating the sale. There is no order status information in the order status information indicating unordered, in-ordering, and contracted status, and only one of the order status information associated with the order information has been settled. When there is order status information indicating that, in the storage unit that stores the cancellation amount of all the money reserve funds (MRF) of the customer associated with the customer account number of the customer in the customer account database 200 Perform processing to add the cancellation amount to the customer's account by adding the stored cancellation amount to the customer's account fund balance and updating the balance. A process for transferring the total amount of funds in the customer's account to which the contract amount and sale amount have been transferred to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information, and A process of setting the number balance of the customer's money reserve fund stored in the customer account database 200 in association with the customer account number to 0 is performed. In this case, the balance of funds in the customer's account after remittance is zero. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the full amount of the funds balance to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。この場合は売却金額が加算された顧客の口座の資金残高から売却金額が減額されることになる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   When the specified information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is cancellation specifying information specifying that the customer's account is canceled, the remittance unit 140 Among the order information stored in the order storage unit 110 in association with the customer identification information, the order status information associated with the order information whose sales classification indicates sale is not ordered, in order, or contracted Corresponding to the order information indicating that the sales classification is information in the order information stored in the order storage unit 110 in association with the customer identification information. There is no order status information in the attached order status information indicating that the order has not been placed, placed in an order, or in a closed state, and is associated with the order information. When there are multiple order status information indicating that the order has been settled in the received order status information, the sale amount is associated with the customer identification information from the account of the customer account number of the customer who received the sale amount. Then, a process for transferring to the account of the remittance destination designated account number stored in the customer database 150 is performed. In this case, the sale amount is deducted from the fund balance of the customer's account to which the sale amount is added. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process for storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the sale amount to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報でないときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。この場合、売却金額が加算された顧客の口座の資金残高から売却金額が減額されることになる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   The remittance unit 140 sells the money when the specified information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is not the cancellation specification information specifying that the customer's account is canceled. Is performed to transfer the sale amount from the account of the customer account number of the customer to which the payment is made to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information. In this case, the sale amount is reduced from the fund balance of the customer's account to which the sale amount is added. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process for storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the sale amount to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110に格納されている決済日の日付情報において当日が決済日となっているものがあるか判断し、当日が決済日となっているものがある場合は当該決済日の日付情報に対応付けて格納されている約定受信部130が受信した約定成立通知に含まれる注文の売買区分が買いを示す情報であるときに当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された当該諸経費を加えた買付金額を、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客識別情報を取得して当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高から減算して残高更新することにより買付金額を顧客の口座から出金する処理を行うとともに、約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う。なお、顧客の口座の資金残高から買付金額を減算して残高更新する場合に顧客の口座の資金残高が買付金額よりも少ないときは買付金額の不足分に相当する口数のマネーリザーブファンドが顧客の口座から自動的に解約されて不足分の解約金額が充当され、当該顧客の口座の資金残高が0に残高更新されるようになっている。   The remittance unit 140 determines whether there is a settlement date in the date information of the settlement date stored in the order storage unit 110, and if there is a settlement date that is the settlement date, the settlement The contract execution price of the order included in the contract completion notification when the trade type of the order included in the contract completion notification received by the contract reception unit 130 stored in association with the date information of the day is information indicating purchase The order amount is stored by associating the purchase amount, which is obtained by adding the contract amount multiplied by the contract completion amount, and the overhead amount stored in the storage unit storing the order overhead, with the order identification information included in the execution notification The customer account information stored in the unit 110 is acquired and the customer account database 200 corresponds to the customer account number of the customer stored in the customer database 150 in association with the customer identification information. The transaction amount is deducted from the customer's account balance and the balance is renewed to withdraw the purchase amount from the customer's account, and the number of shares established in the stock identification information included in the notification of execution Is added to the stock quantity balance of the brand identification information associated with the customer account number in the customer account database 200 to update the balance. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification to the order status information indicating that the payment has been completed is performed. In addition, when subtracting the purchase amount from the customer account fund balance and updating the balance, if the customer account fund balance is less than the purchase amount, the number of money reserve funds corresponding to the shortage of the purchase amount Is automatically canceled from the customer's account, the amount of cancellation of the shortage is applied, and the balance of funds in the customer's account is updated to zero.

口座抹消処理部190は、注文格納部110に格納されている送金日の日付情報が示す日の中に、予め設定された所定期間、例えば当日の3箇月前から2箇月前までの1箇月間に含まれているものがあるか判断し、当該所定期間に含まれているものがある場合に、当該所定期間に含まれる送金日の日付情報に対応付けて注文格納部110に格納されている顧客識別情報に対して顧客データベース150で対応付けされた指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断する。また、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報があるか判断する。当該顧客識別情報に対応付けて解約指定情報が顧客データベース150に格納されている場合であって、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量を顧客口座データベース200から読み出して当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量が0であるか判断し、当該資金、口数並びに数量が0であるときに当該顧客の顧客口座番号を当該顧客識別情報に対応付けて抹消口座データベース210に格納するとともに当該格納日に顧客口座データベース200から削除する処理を行い、当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を顧客データベース150に格納する処理を行う。抹消口座データベース210は、口座抹消処理部190により抹消する対象とされた顧客の口座に関する情報を格納するためのデータベースである。なお、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されていない場合に、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納するようになっている。一例として、送受信部170の抑止部は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されているか判断し、当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されている場合に当該顧客識別情報及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止するとともに顧客の端末装置21に注文入力には口座開設が必要である旨のメッセージを表示出力する構成としてもよい。   The account deletion processing unit 190 includes a predetermined period set in the date indicated by the date information of the remittance date stored in the order storage unit 110, for example, one month from 3 months before to 2 months before the current day. Is stored in the order storage unit 110 in association with the date information of the remittance date included in the predetermined period when there is something included in the predetermined period. It is determined whether the designation information associated with the customer identification information in the customer database 150 is cancellation designation information for designating cancellation of the customer's account. In addition, among the order information stored in the order storage unit 110 in association with the customer identification information, the order status information associated with the order information whose sales classification indicates sale is not ordered and in order. Then, it is determined whether or not there is order status information indicating that the contract has been settled and settled. In the case where cancellation designation information is stored in the customer database 150 in association with the customer identification information, the sales category is sold in the order information stored in the order storage unit 110 in association with the customer identification information. Corresponds to the customer identification information when there is no order status information indicating that the order status information associated with the order information, which is information indicating the status of unordered, in-order, closed, or settled, In addition, the customer's customer account number stored in the customer database 150 is read from the customer account database 200 for the funds, the number of money reserve funds and the number of stocks that the customer has associated with the customer account database 200. Judge whether the customer's funds, the number of money reserve funds and the number of shares are 0, and When the number and quantity are 0, the customer account number of the customer is stored in the deletion account database 210 in association with the customer identification information and deleted from the customer account database 200 on the storage date. A process of storing in the customer database 150 the deletion presence / absence information indicating that the customer's account has been deleted in association with the identification information is performed. The deletion account database 210 is a database for storing information related to customer accounts that are to be deleted by the account deletion processing unit 190. The order storage unit 110 deletes that the customer account has been deleted in association with the customer identification information for identifying the customer received from the customer terminal device 21 by the transmission / reception unit 170 and stored in the received information storage unit. When the presence / absence information is not stored in the customer database 150, the transmission / reception unit 170 indicates the customer identification information for identifying the customer received from the customer terminal device 21 and stored in the received information storage unit, and the contents of the stock trading order. Order information, order identification information for identifying the order information, and order status information indicating an unordered state are stored in association with each other. As an example, the suppression unit of the transmission / reception unit 170 has the customer's account deleted in association with the customer identification information for identifying the customer received by the transmission / reception unit 170 from the customer's terminal device 21 and stored in the received information storage unit. If the customer database 150 stores the deletion presence / absence information indicating that the customer's account has been deleted in association with the customer identification information. The storage control signal for storing the identification information and the order information in the order storage unit 110 is prevented from being output from the storage control unit to the order storage unit 110, and an account needs to be opened in order input to the customer terminal device 21. It is good also as a structure which displays and outputs the message to the effect.

図2は、注文格納部110に格納される情報を例示する説明図であり、注文格納部110が有するデータテーブルを例示する説明図である。
このデータテーブルは、注文情報を識別するための注文識別情報、注文者である顧客を識別するための顧客識別情報、注文内容を示す注文情報、注文ステータス情報、発注日を示す日付情報、約定成立通知、約定日を示す日付情報、決済日を示す日付情報、及び、送金日を示す日付情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された注文識別情報、顧客識別情報、注文情報、注文ステータス情報、発注日を示す日付情報、約定成立通知、約定日を示す日付情報、決済日を示す日付情報、及び、送金日を示す日付情報が互いに対応付けされるようになっている。注文情報は、注文対象の株式の銘柄コード、注文数量、注文の売買区分、注文の値段、注文を発注すべき証券取引所を指定するための取引所区分等の情報を含み、注文情報を格納するためのフィールドは、銘柄コード、注文数量、売買区分、値段、取引所区分等の情報を格納するための各領域を有しており、同一フィールドに格納された銘柄コード、注文数量、売買区分、値段、取引所区分等の情報は互いに対応付けされるようになっている。また、約定成立通知は、約定が成立した注文の株式の銘柄コード、約定成立数量、約定成立した注文の売買区分、約定成立値段、約定成立通知を送信した証券取引所を示す取引所区分等の情報を含み、約定成立通知を格納するためのフィールドは、銘柄コード、約定成立数量、売買区分、約定成立値段、取引所区分等の情報を格納するための各領域を有しており、同一フィールドに格納された銘柄コード、約定成立数量、売買区分、約定成立値段、取引所区分等の情報は互いに対応付けされるようになっている。注文格納部110はリレーショナル・データベースを用いて構成してもよい。
FIG. 2 is an explanatory diagram illustrating information stored in the order storage unit 110, and is an explanatory diagram illustrating a data table included in the order storage unit 110.
This data table includes order identification information for identifying the order information, customer identification information for identifying the customer who is the orderer, order information indicating the order contents, order status information, date information indicating the order date, and execution of the contract. Each field for storing notification, date information indicating a contract date, date information indicating a settlement date, and date information indicating a remittance date is provided for each record, order identification information stored in the same record, customer The identification information, order information, order status information, date information indicating the order date, notice of contract completion, date information indicating the contract date, date information indicating the settlement date, and date information indicating the remittance date are associated with each other. It has become. The order information includes information such as the stock code of the stock to be ordered, the order quantity, the order buying and selling category, the order price, and the exchange category for specifying the stock exchange to which the order should be placed. The field to store has each area for storing information such as brand code, order quantity, trading category, price, exchange category, etc. The brand code, order quantity, trading category stored in the same field Information such as price and exchange category is associated with each other. In addition, the notice of execution of the contract includes the stock code of the stock of the order for which the execution has been completed, the volume of the execution of the execution, the trading category of the order for which the execution has been completed, the execution price, the exchange classification indicating the stock exchange that sent the execution notification of the execution, etc. The field for storing the information about the execution of the contract, including information, has each area for storing information such as the stock code, the execution volume, the trading category, the execution price, and the exchange category. The information such as the brand code, the contract establishment quantity, the trade classification, the contract establishment price, the exchange classification, etc. stored in the table is associated with each other. The order storage unit 110 may be configured using a relational database.

図2の注文格納部110のデータテーブルに格納されているデータの例では、注文識別情報は「0201」となっており、顧客識別情報は「B001」となっており、注文情報の銘柄コードは「86×○」となっており、注文数量は「1000株」となっており、売買区分は「売り」を示す情報となっており、注文値段は「指値910円」を示す情報となっており、取引所区分は「東京(即ち東京証券取引所)」を示す情報となっており、注文ステータス情報は「発注中」を示す情報となっており、発注日として「2005.8.30(即ち2005年8月30日)」を示す日付情報が格納されており、約定成立通知、約定日の日付情報、決済日の日付情報、送金日の日付情報はデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。
これらのデータは、顧客識別情報B001により識別される顧客が銘柄コード86×○について指値910円で1000株の売注文を、東京証券取引所を取引市場として出しており、この売注文を顧客の端末装置21から受け取った注文処理装置12が当該売注文の注文情報と注文識別情報0201とを含む注文入力電文を東京証券取引所の売買システムに2005年8月30日に送信して発注した状態であり、未だ約定していない状態であることを示している。
注文処理装置12の約定受信部130が東京証券取引所から約定成立通知を受信すると、約定成立通知に含まれる注文識別情報0201から上記売注文の約定が成立したことを判断することができ、約定成立通知に含まれる注文識別情報0201に対応付けて約定成立通知と約定成立通知の受信日である約定日の日付情報と当該約定日に決済期間格納部の決済期間を加えた決済日の日付情報と約定済の状態であることを示す注文ステータス情報とが注文格納部110に格納される。注文格納部110に格納された決済日の日付情報が示す決済日当日には、当該約定成立通知に含まれる約定成立値段に約定成立数量を乗じた約定金額から当該注文の売買手数料及びその消費税からなる諸経費を記憶する記憶部に格納された諸経費を減じた売却金額を、顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理が行われるとともに、当該顧客の口座で約定成立通知に含まれる銘柄識別情報の株式の数量残高から約定成立通知に含まれる約定成立数量を減算して残高更新する処理が行われ、約定成立通知に含まれる注文識別情報0201に対応付けて決済済であることを示す注文ステータス情報が注文格納部110に格納される。そして、顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客口座番号の顧客口座から顧客識別情報B001に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金する処理がなされると、注文識別情報0201に対応付けて送金済の状態であることを示す注文ステータス情報と送金日の日付情報とが注文格納部110に格納される。
In the example of data stored in the data table of the order storage unit 110 in FIG. 2, the order identification information is “0201”, the customer identification information is “B001”, and the brand code of the order information is It is “86 × ○”, the order quantity is “1000 shares”, the trading category is information indicating “sell”, and the order price is information indicating “limit price 910 yen”. The exchange classification is information indicating “Tokyo (ie, Tokyo Stock Exchange)”, the order status information is information indicating “ordering”, and “2005.8.30 ( In other words, the date information indicating that the contract is completed, the date information of the contract date, the date information of the settlement date, and the date information of the remittance date are default values. Data in the same record Are paid are associated with each other.
These data indicate that the customer identified by the customer identification information B001 has placed a sell order for 1000 shares at a limit price of 910 yen for the stock code 86 × ○ and the Tokyo Stock Exchange as a trading market. The order processing device 12 received from the terminal device 21 sends an order input message including the order information of the selling order and the order identification information 0201 to the Tokyo Stock Exchange trading system on August 30, 2005, and places an order. This indicates that the contract has not been executed yet.
When the contract receiving unit 130 of the order processing apparatus 12 receives the contract establishment notification from the Tokyo Stock Exchange, it can determine from the order identification information 0201 included in the contract establishment notification that the above sales order has been executed, Date information on the settlement date by adding the settlement date in the settlement period storage section and the date information on the contract date, which is the date of receipt of the contract settlement notification and the contract settlement notification, in association with the order identification information 0201 included in the settlement notification And order status information indicating the contracted state are stored in the order storage unit 110. On the day of the settlement date indicated by the settlement date information stored in the order storage unit 110, the transaction fee of the order and its consumption tax are calculated from the contract amount obtained by multiplying the contract settlement price included in the contract settlement notification by the contract settlement quantity. The customer account database 200 corresponds to the customer account number stored in the customer database 150 in association with the customer identification information B001 with the sale amount obtained by reducing the overhead stored in the storage unit for storing the various expenses consisting of The amount of sale proceeds is added to the customer's account by updating the balance by adding to the balance of funds of the customer's account attached, and the stock identification information stock included in the notification of contract completion in the customer's account The balance update processing is performed by subtracting the contract completion quantity included in the execution notification from the quantity balance of the order, and the order identification information 0201 included in the execution notification includes Order status information indicating that the already settled with response is stored in the order storing unit 110. Then, remittance from the customer account of the customer account number stored in the customer database 150 in association with the customer identification information B001 to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information B001. When the process is performed, the order storage unit 110 stores the order status information indicating the remittance state and the date information of the remittance date in association with the order identification information 0201.

また、図2の注文格納部110のデータテーブルに格納されているデータの例では、注文識別情報は「0202」となっており、顧客識別情報は「B001」となっており、注文情報の銘柄コードは「86×△」となっており、注文数量は「2000株」となっており、売買区分は「売り」を示す情報となっており、注文値段は「成行」を示す情報となっており、取引所区分は「東京(即ち東京証券取引所)」を示す情報となっており、注文ステータス情報は「未発注」を示す情報となっており、発注日の日付情報、約定成立通知、約定日の日付情報、決済日の日付情報、送金日の日付情報はデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。
これらのデータは、顧客識別情報B001により識別される顧客が銘柄コード「86×△」について成行で2000株の売注文を、東京証券取引所を取引市場として出しており、この売注文を顧客の端末装置21から注文処理装置12が受け取った状態であり、注文情報を東京証券取引所の売買システムに発注していない状態であることを示している。この売注文を顧客の端末装置21から受け取った注文処理装置12が当該売注文の注文情報と注文識別情報0202とを含む注文入力電文を東京証券取引所の売買システムに2005年8月30日に送信して発注すると、注文識別情報0202に対応付けて発注日として2005年8月30日を示す日付情報と発注中の状態であることを示す注文ステータス情報とが注文格納部110に格納される。
注文処理装置12の約定受信部130が東京証券取引所から約定成立通知を受信すると、約定成立通知に含まれる注文識別情報0202から上記売注文の約定が成立したことを判断することができ、約定成立通知に含まれる注文識別情報0202に対応付けて約定成立通知と約定成立通知の受信日である約定日の日付情報と当該約定日に決済期間格納部の決済期間を加えた決済日の日付情報と約定済の状態であることを示す注文ステータス情報とが注文格納部110に格納される。注文格納部110に格納された決済日の日付情報が示す決済日当日には、当該約定成立通知に含まれる約定成立値段に約定成立数量を乗じた約定金額から当該注文の売買手数料及びその消費税からなる諸経費を記憶する記憶部に格納された諸経費を減じた売却金額を、顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理が行われるとともに、当該顧客の口座で約定成立通知に含まれる銘柄識別情報の株式の数量残高から約定成立通知に含まれる約定成立数量を減算して残高更新する処理が行われ、約定成立通知に含まれる注文識別情報0202に対応付けて決済済の状態であることを示す注文ステータス情報が注文格納部110に格納される。そして、顧客識別情報B001に対応付けて顧客データベース150に格納されている顧客口座番号の口座から顧客識別情報B001に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金する処理がなされると、注文識別情報0202に対応付けて送金済の状態であることを示す注文ステータス情報と送金日の日付情報とが注文格納部110に格納される。
In the example of the data stored in the data table of the order storage unit 110 in FIG. 2, the order identification information is “0202”, the customer identification information is “B001”, and the brand of the order information. The code is “86 × Δ”, the order quantity is “2000 shares”, the trading category is information indicating “sell”, and the order price is information indicating “success”. The exchange classification is information indicating “Tokyo (that is, the Tokyo Stock Exchange)”, the order status information is information indicating “unordered”, date information on the order date, notification of successful execution, The date information of the contract date, the date information of the settlement date, and the date information of the remittance date are default values, and these data are stored in the same record and associated with each other.
These data indicate that the customer identified by the customer identification information B001 has placed a sell order for 2000 shares on the stock code “86 × △” and the Tokyo Stock Exchange as a trading market. This indicates that the order processing device 12 has received the information from the terminal device 21 and that the order information has not been ordered from the trading system of the Tokyo Stock Exchange. The order processing device 12 that has received the sell order from the customer's terminal device 21 sends an order input message including the order information of the sell order and the order identification information 0202 to the Tokyo Stock Exchange trading system on August 30, 2005. When sending and placing an order, date information indicating August 30, 2005 as an order date and order status information indicating that the order is being placed are stored in the order storage unit 110 in association with the order identification information 0202. .
When the contract receiving unit 130 of the order processing device 12 receives the contract completion notification from the Tokyo Stock Exchange, it can determine from the order identification information 0202 included in the contract completion notification that the contract for the sell order has been established, Date information on the settlement date by adding the settlement date in the settlement period storage section and the date information on the contract date, which is the date of receipt of the contract completion notification and the contract completion notification, in association with the order identification information 0202 included in the settlement notification And order status information indicating the contracted state are stored in the order storage unit 110. On the day of the settlement date indicated by the settlement date information stored in the order storage unit 110, the transaction fee of the order and its consumption tax are calculated from the contract amount obtained by multiplying the contract settlement price included in the contract settlement notification by the contract settlement quantity. The customer account database 200 corresponds to the customer account number stored in the customer database 150 in association with the customer identification information B001 with the sale amount obtained by reducing the overhead stored in the storage unit that stores the various expenses consisting of The amount of sale proceeds is added to the customer's account by updating the balance added to the customer's account balance attached, and the stock identification information stock included in the notification of execution of the deal in the customer's account The balance update process is performed by subtracting the contract completion quantity included in the execution notification from the quantity balance, and the order identification information 0202 included in the execution notification is included. Order status information indicating that the response with and settled state is stored in the order storing unit 110. Then, remittance from the account of the customer account number stored in the customer database 150 in association with the customer identification information B001 to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information B001. When the processing is performed, the order storage unit 110 stores order status information indicating that the remittance is completed and date information on the date of remittance in association with the order identification information 0202.

図3は、顧客データベース150に格納される情報を例示する説明図であり、顧客データベース150が有するデータテーブルを例示する説明図である。
このデータテーブルは、顧客を識別するための顧客識別情報、当該顧客の氏名、当該顧客の連絡先を示す連絡先情報、当該顧客の顧客口座番号、当該顧客が指定した送金先指定口座番号、当該顧客から口座解約の問合せ又は申し出があったか否かを示すの解約申出情報、顧客の端末装置21に表示された入力画面に入力された当該顧客の口座を抹消するか否かを指定する指定情報、及び、当該顧客の口座が抹消されたか否かを示す抹消有無情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された顧客識別情報、連絡先、顧客口座番号、送金先指定口座番号、解約申出情報、指定情報、及び、抹消有無情報が互いに対応付けされるようになっている。連絡先情報は、当該顧客の電話番号、住所、電子メールアドレス等の情報を含み、連絡先情報を格納するためのフィールドは、電話番号、住所、電子メールアドレス等の情報を格納するための各領域を有しており、同一フィールドに記憶された電話番号、住所、電子メールアドレス等の情報は互いに対応付けされるようになっている。顧客データベース150はリレーショナル・データベースを用いて構成してもよい。
FIG. 3 is an explanatory diagram illustrating information stored in the customer database 150, and is an explanatory diagram illustrating a data table included in the customer database 150.
This data table includes customer identification information for identifying a customer, the customer's name, contact information indicating the customer's contact information, the customer's customer account number, a remittance destination designated account number designated by the customer, Cancellation offer information indicating whether or not an account cancellation inquiry or offer has been made by the customer, designation information for specifying whether or not to delete the customer's account input on the input screen displayed on the terminal device 21 of the customer, And each field for storing deletion information indicating whether or not the customer account has been deleted is provided for each record, customer identification information, contact information, customer account number, remittance stored in the same record The destination designated account number, the cancellation offer information, the designation information, and the deletion presence / absence information are associated with each other. The contact information includes information such as the customer's telephone number, address, and e-mail address, and the fields for storing contact information include information such as the phone number, address, and e-mail address. It has an area, and information such as a telephone number, an address, and an e-mail address stored in the same field is associated with each other. Customer database 150 may be configured using a relational database.

図3の顧客データベース150に格納されているデータの例では、顧客を識別するための顧客識別情報は「B001」となっており、当該顧客の氏名は「田中○○」となっており、当該顧客の電話番号は「03−3824−××××」となっており、当該顧客の住所は「東京都文京区……」となっており、当該顧客の電子メールアドレスは「C00@×××.jp」となっており、当該顧客の顧客口座番号は「001−00123×」となっており、当該顧客が指定した送金先指定口座番号は「123−12345×」となっており、解約申出情報は「申し出有り」を示す情報となっており、指定情報は「解約」を指定する解約指定情報となっており、抹消有無情報は当該顧客の顧客口座が抹消されていないことを示すデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。なお、解約申出情報は、例えば注文処理装置12が設置された金融機関10の社員である顧客担当者が顧客から電話で口座解約の問合せを受けた場合又は顧客担当者が社内端末装置で顧客の端末装置21からの電子メールにより口座解約の問合せを受けた場合に、顧客担当者により注文処理装置12に接続された社内端末装置から当該顧客の顧客識別情報、顧客の電話番号及び/又は顧客からの電子メールの送信元メールアドレスに対応付けて顧客データベース150に口座解約の問合せがあった旨の解約申出情報が格納されるようになっており、顧客担当者が顧客から電話で口座解約の申し出を受けた場合又は顧客担当者が社内端末装置で顧客の端末装置21からの電子メールにより口座解約の申し出を受けた場合に、顧客担当者により注文処理装置12に接続された社内端末装置から当該顧客の顧客識別情報、顧客の電話番号及び/又は顧客からの電子メールの送信元メールアドレスに対応付けて顧客データベース150に口座解約の申し出があった旨の解約申出情報が格納されるようになっている。   In the example of the data stored in the customer database 150 of FIG. 3, the customer identification information for identifying the customer is “B001”, and the name of the customer is “Tanaka XX”. The customer's telephone number is “03-3824-XXX”, the customer's address is “Bunkyo-ku, Tokyo ...”, and the customer's e-mail address is “C00 @ XXX”. X.jp ", the customer account number of the customer is" 001-00123x ", the remittance destination designated account number designated by the customer is" 123-12345x " The offer information is information that indicates "There is an offer", the specified information is the cancellation designation information that designates "cancellation", and the deletion presence information is the default that indicates that the customer account of the customer has not been deleted Value They are associated with each other these data are stored in the same record. Note that the cancellation offer information is obtained when, for example, a customer representative who is an employee of the financial institution 10 in which the order processing device 12 is installed receives an account cancellation inquiry from the customer or the customer representative uses the in-house terminal device and When an account cancellation inquiry is received by e-mail from the terminal device 21, the customer identification information, the customer's telephone number and / or the customer from the in-house terminal device connected to the order processing device 12 by the customer representative Cancellation request information indicating that an account cancellation inquiry has been made is stored in the customer database 150 in association with the e-mail address of the e-mail of the customer, and the customer representative makes an account cancellation request over the phone from the customer Or when the customer representative receives an application for account cancellation by e-mail from the customer terminal device 21 at the in-house terminal device. There was an application for account cancellation in the customer database 150 in association with the customer identification information of the customer, the customer's telephone number and / or the email address of the email from the customer from the in-house terminal device connected to the processing device 12 The cancellation offer information to this effect is stored.

また、図3の顧客データベース150に格納されているデータの例では、顧客を識別するための顧客識別情報は「B002」となっており、当該顧客の氏名は「山田△△」となっており、当該顧客の電話番号は「03−3243−××××」となっており、当該顧客の住所は「東京都新宿区……」となっており、当該顧客の電子メールアドレスは「D00@×××.jp」となっており、当該顧客の顧客口座番号は「001−01234×」となっており、当該顧客が指定した送金先指定口座番号は「234−23456×」となっており、解約申出情報は「無し(即ち問合せ及び申し出無し)を示す情報となっており、指定情報は「維持(即ち口座解約しない)」を指定する維持指定情報となっており、抹消有無情報は当該顧客の顧客口座が抹消されていないことを示すデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。なお、顧客データベース150において顧客氏名はカタカナを用いる構成としてもよい。   In the example of data stored in the customer database 150 of FIG. 3, the customer identification information for identifying the customer is “B002”, and the name of the customer is “Yamada ΔΔ”. , The customer's telephone number is “03-3243-xxx”, the customer's address is “Shinjuku-ku, Tokyo ...”, and the customer's e-mail address is “D00 @ Xxx.jp ”, the customer account number of the customer is“ 001-01234 × ”, and the remittance destination designated account number designated by the customer is“ 234-23456 × ”. The cancellation offer information is information indicating “none (that is, no inquiry or offer)”, the designated information is maintenance designation information that designates “maintenance (that is, do not cancel the account)”, Customer's customer account is deleted Has a default value indicating that it is not, these data are stored in the same record are associated with each other. In the customer database 150, the customer name may use katakana.

図4は、顧客口座データベース200に格納される情報を例示する説明図であり、顧客口座データベース200が有するデータテーブルを例示する説明図である。
このデータテーブルは、顧客の顧客口座番号、当該顧客口座番号の口座に預けられた当該顧客が有する資金である預り金の金額、当該顧客口座番号の口座に預けられた当該顧客が有するマネーリザーブファンド(MRF)の資産情報、及び、当該顧客口座番号の口座に預けられた当該顧客が有する株式の資産情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された預り金の金額、MRFの資産情報、及び、株式の資産情報が互いに対応付けされるようになっている。MRFの資産情報はMRFの口数と当該口数の評価金額(即ち当該口数のMRFを解約した場合の解約金額)の情報を含み、MRFの資産情報を格納するためのフィールドはMRFの口数と当該口数の解約金額を格納するための各領域を有しており、同一フィールドに格納されたMRFの口数と当該口数の解約金額は互いに対応付けされるようになっている。また、株式の資産情報は顧客が有する株式の銘柄コード及び数量の情報を含み、顧客が有する株式の資産情報を格納するためのフィールドは、当該顧客が有する株式の銘柄コード毎に設けられ、株式の銘柄コードと当該株式の数量を格納するための各領域を有しており、同一フィールドに格納された銘柄コードと数量は互いに対応付けされるようになっている。顧客口座データベース200はリレーショナル・データベースを用いて構成してもよい。顧客の口座は例えば当該顧客が金融機関10に開設した証券総合口座としてもよい。送金部140は、顧客口座データベース200のMRFの資産情報を格納するためのフィールドに格納されたMRFの口数と当該口数の評価金額のうち評価金額をMRFの全口数の解約金額として取得して記憶部に記憶するようにしてもよい。
FIG. 4 is an explanatory diagram illustrating information stored in the customer account database 200, and is an explanatory diagram illustrating a data table included in the customer account database 200.
This data table shows the customer account number of the customer, the amount of the deposit that is the money held by the customer deposited in the account of the customer account number, the money reserve fund held by the customer deposited in the account of the customer account number (MRF) asset information and each field for storing asset information of stock held by the customer in the account of the customer account number is provided for each record, and the deposit stored in the same record , MRF asset information, and stock asset information are associated with each other. The MRF asset information includes information on the number of MRFs and the evaluation amount of the number of units (that is, the amount of cancellation when the MRF of the number of units is canceled). The number of MRF units stored in the same field and the amount of cancellation for the number are associated with each other. The stock asset information includes information on the stock code and quantity of the stock held by the customer, and the field for storing the stock asset information of the customer is provided for each stock stock code of the customer. The stock code and each area for storing the stock quantity are stored, and the stock code and quantity stored in the same field are associated with each other. The customer account database 200 may be configured using a relational database. The customer account may be, for example, a securities general account opened by the customer in the financial institution 10. The remittance unit 140 acquires and stores the evaluation amount of the MRF units stored in the field for storing the MRF asset information of the customer account database 200 and the evaluation amount of the unit as the cancellation amount of all units of the MRF. You may make it memorize | store in a part.

図4の顧客口座データベース200のデータテーブルに格納されているデータの例では、顧客の顧客口座番号は「001−00123×」となっており、当該顧客の有する預り金の金額は「0円」となっており、当該顧客の有するMRFの口数は「3500口」であるとともに当該MRFの評価金額は「3500円」となっており、当該顧客の有する株式の資産情報を格納するためのフィールドは第1株式フィールド及び第2株式フィールドが設けられており、第1株式フィールドに格納された銘柄コードは「86×○」であるとともにその数量は「1000株」となっており、第2株式フィールドに格納された銘柄コードは「86×△」であるとともにその数量は「2000株」となっており、当該顧客は銘柄コード86×○の株式1000株と銘柄コード86×△の株式2000株と3500円相当のMRF3500口を有していることを示している。なお、図3の顧客データベース200に格納された情報において、顧客識別情報B001により識別される顧客の顧客口座番号が001−00123×であることから、図4の顧客口座データベース200に格納されている情報は顧客識別情報B001により識別される顧客が顧客口座番号001−00123×の口座に預けてある当該顧客が有する資金の金額、MRFの口数とその評価金額、並びに、株式の銘柄コード及び数量を示すものとなっている。   In the example of the data stored in the data table of the customer account database 200 in FIG. 4, the customer account number of the customer is “001-00123 ×”, and the amount of the deposit held by the customer is “0 yen”. The number of MRFs held by the customer is “3500 units” and the valuation amount of the MRF is “3500 yen”. The field for storing the asset information of the stock held by the customer is The first stock field and the second stock field are provided. The stock code stored in the first stock field is “86 × ○” and the quantity is “1000 shares”. The second stock field The stock code stored in is “86 × △” and the quantity is “2000 shares”, and the customer has 1000 stocks of stock code 86 × ○. It is shown that has a brand code 86 × △ of shares 2000 shares and 3500 yen worth of MRF3500-neck with. In the information stored in the customer database 200 of FIG. 3, the customer account number of the customer identified by the customer identification information B001 is 001-00123 ×, and therefore stored in the customer account database 200 of FIG. 4. The information includes the amount of funds held by the customer identified by the customer identification information B001 in the account of customer account number 001-00123 ×, the number of MRFs and their evaluation amount, and the stock code and quantity of the stock. It is meant to be shown.

図5は、本発明の第1の実施形態に係る注文処理装置12の処理動作の一例を示すフローチャートである。
顧客は、端末装置21から、顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報を入力して顧客識別情報及び注文情報を注文処理装置12に送信する。
注文処理装置12の送受信部170は、顧客の端末装置21から、顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報を受け取って受取情報記憶部に記憶する(ステップS1)。なお、送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されているか判断し、当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されている場合に当該顧客識別情報及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止部により抑止するとともに顧客の端末装置21に注文入力には口座開設が必要である旨のメッセージを表示出力するようになっている。
FIG. 5 is a flowchart showing an example of the processing operation of the order processing apparatus 12 according to the first embodiment of the present invention.
The customer inputs customer identification information for identifying the customer and order information indicating the content of the stock trading order from the terminal device 21, and transmits the customer identification information and the order information to the order processing device 12.
The transmission / reception unit 170 of the order processing device 12 receives the customer identification information for identifying the customer and the order information indicating the content of the stock trading order from the customer's terminal device 21, and stores them in the receipt information storage unit (step S1). . In addition, the transmission / reception unit 170 indicates that the customer's account has been deleted in association with the customer identification information for identifying the customer received from the customer's terminal device 21 and stored in the received information storage unit. 150. If the customer database 150 stores deletion information indicating that the customer account has been deleted in association with the customer identification information, the customer identification information and order information are stored in the order. A message indicating that the storage control signal to be stored in the unit 110 is output from the storage control unit to the order storage unit 110 by the suppression unit and that an account needs to be opened in order input to the customer terminal device 21 Is displayed and output.

判断部160は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されていない場合であって顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に、当該注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される顧客が有する株式が全て売注文の対象となっているか否かを判断する(ステップS2)。   The determination unit 160 stores in the customer database 150 deletion information indicating that the customer's account has been deleted in association with the customer identification information for identifying the customer received from the customer's terminal device 21 and stored in the received information storage unit. If the order is not stored, and the order trading information indicated by the order information received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit is information indicating sale, the order information indicates A customer account corresponding to the stock identification information and quantity of the stock to be ordered and the customer account number of the customer stored in the customer database 150 in association with the customer identification information received by the transmission / reception unit 170 and stored in the receipt information storage unit By comparing the stock identification information and quantity of the stock held by the customer associated in the database 200 with the customer identification information, Shares the customer has to be different, it is determined whether or not the subject of all sales orders (step S2).

判断部160により顧客が有する株式が全て売注文の対象となっていないと判断された場合に、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する(ステップS5)。
判断部160により顧客が有する株式が全て売注文の対象となっていると判断された場合に、送受信部170は、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客識別情報に対応付けて顧客データベース150に格納する(ステップS3)。また、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する(ステップS5)。
When the determination unit 160 determines that not all stocks held by the customer are subject to the sales order, the order storage unit 110 is received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit. Associating customer identification information for identifying a customer and order information indicating the content of a stock trading order, order identification information for identifying the order information, and order status information indicating an unordered state (Step S5).
When the determination unit 160 determines that all stocks held by the customer are subject to a sales order, the transmission / reception unit 170 inputs input information for designating whether or not to cancel the customer's account The screen is displayed on the customer terminal device 21, and the designation information input on the input screen is received from the customer terminal device 21 and stored in the customer database 150 in association with the customer identification information (step S3). The order storage unit 110 also includes customer identification information for identifying the customer received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit, order information indicating the contents of the stock trading order, and the order. Order identification information for identifying information and order status information indicating an unordered state are stored in association with each other (step S5).

発注部120は、未発注の状態であることを示す注文ステータス情報に対応付けて注文格納部110に格納されている株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所30の売買システム31に送信することにより、株式売買注文の発注処理を行い、発注処理が行われた当該株式売買注文の注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該株式売買注文の注文識別情報に対応付けて発注日を示す日付情報を注文格納部110に格納する処理を行う(ステップS6)。   The ordering unit 120 is associated with order status information indicating an unordered state, order information indicating the content of a stock trading order stored in the order storage unit 110, and order identification for identifying the order information. An order input message including information is transmitted to the trading system 31 of the stock exchange 30 to perform the ordering process of the stock trading order, and the order is associated with the order identification information of the stock trading order for which the ordering process has been performed. Date information indicating the order date associated with the order identification information of the stock buy / sell order while performing processing for updating the order status information stored in the storage unit 110 to order status information indicating that the order is being placed Is stored in the order storage unit 110 (step S6).

約定受信部130は、証券取引所30から株式売買注文が約定したことを示す約定成立通知を受信した場合に、約定成立通知を当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納する処理を行い、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該約定成立通知に含まれる注文識別情報に対応付けて約定成立通知を受信した約定日を示す日付情報を注文格納部110に格納する処理を行う。また、約定成立通知に含まれる注文識別情報に対応付けて約定日に決済期間格納部の決済期間を加えた営業日を示す日付情報を決済日として注文格納部110に格納する処理を行う(ステップS7)。   When the contract receiving unit 130 receives a contract completion notification indicating that a stock trading order has been executed from the stock exchange 30, the contract receiving unit 130 associates the contract completion notification with the order identification information included in the contract completion notification. 110, the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification is updated to order status information indicating that the contract has been executed. In addition to performing the process, the process stores the date information indicating the contract date that received the contract completion notification in the order storage unit 110 in association with the order identification information included in the contract completion notification. Further, a process of storing date information indicating a business day in which the settlement period of the settlement period storage unit is added to the contract date in association with the order identification information included in the contract establishment notification is stored in the order storage unit 110 as a settlement date (Step S110). S7).

送金部140は、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている決済日の日付情報が示す決済日当日に、当該約定成立通知に含まれる注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された諸経費を減じた売却金額を、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客識別情報を取得して当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理を行うとともに、当該約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行う。そして、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う(ステップS8)。   The remittance unit 140 is a transaction classification of the order included in the contract completion notification on the settlement date indicated by the date information of the settlement date stored in the order storage unit 110 in association with the order identification information included in the contract completion notification. Is the information indicating the sale, subtract the overheads stored in the storage unit that stores the overheads of the order from the contract amount obtained by multiplying the promised completion price of the order included in the notification of completion of the order by the promised completion quantity. The customer's customer identification information stored in the order storage unit 110 in association with the order identification information included in the execution notification is acquired and stored in the customer database 150 in association with the customer identification information. The sales amount is updated by adding the balance of the customer account associated with the customer account database 200 to the customer account number of the customer account and updating the balance. The amount balance of the stock of the stock identification information associated with the customer account number in the customer account database 200 is matched to the customer account number. The balance is updated by subtracting from. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification of the contract to the order status information indicating that the payment has been completed (step S8). ).

次に送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断し、当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断するとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるか判断する(ステップS9)。当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、上記顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された当該解約金額を顧客の口座の資金残高に加算して残高更新することにより解約金額を顧客の口座に入金する処理を行い、解約金額及び売却金額が入金された顧客の口座の資金残高全額を当該顧客の口座から当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行うとともに、当該顧客口座番号に対応付けて顧客口座データベース200に格納されている顧客のマネーリザーブファンドの口数残高を0にする処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記資金残高全額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS10)。   Next, the remittance unit 140 determines whether the designation information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is cancellation designation information for designating cancellation of the customer account. When the designation information stored in the customer database 150 in association with the customer identification information is cancellation designation information for designating cancellation of the customer's account, the order storage unit is associated with the customer identification information. Order status information indicating that the order status information associated with the order information, which is information indicating that the trade classification is sale, among the order information stored in 110, is in an unordered, ordering, or contracted state. Order status information indicating that only one of the order status information associated with the order information has been settled. It is determined whether there is (step S9). Among the order information stored in the order storage unit 110 in association with the customer identification information, the order status information associated with the order information whose sales classification indicates sale is not placed, placed in order, and executed. When there is no order status information indicating that the order has been completed, and there is order status information indicating that only one of the order status information associated with the order information has been settled, the customer The cancellation amount stored in the storage unit storing the cancellation amount of all the money reserve funds of the customer associated with the customer account database 200 for the customer account number is added to the funds balance of the customer account. The balance is updated and the cancellation amount is credited to the customer's account. A process for transferring from the customer account to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information is performed, and the customer account database 200 is associated with the customer account number. The stored customer's money reserve fund unit balance is set to zero. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing in the order storage unit 110 date information indicating a remittance date in which processing for transferring the full amount of the funds balance to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification ( Step S10).

送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS11)。
送金部140は、注文格納部110から取得した当該顧客識別情報に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報でないときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客識別情報に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS11)。
When the specified information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is cancellation specifying information specifying that the customer's account is canceled, the remittance unit 140 Among the order information stored in the order storage unit 110 in association with the customer identification information, the order status information associated with the order information whose sales classification indicates sale is not ordered, in order, or contracted Corresponding to the order information indicating that the sales classification is information in the order information stored in the order storage unit 110 in association with the customer identification information. There is no order status information in the attached order status information indicating that the order has not been placed, placed in order, or closed, and is associated with the order information. When there are multiple order status information indicating that the order has been settled in the received order status information, the sale amount is associated with the customer identification information from the account of the customer account number of the customer who received the sale amount. Then, a process for transferring to the account of the remittance destination designated account number stored in the customer database 150 is performed. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing date information indicating the remittance date in which the process for transferring the sale amount to the account of the remittance destination designated account number in association with the order identification information included in the notification is stored in the order storage unit 110 (step) S11).
The remittance unit 140 sells the money when the specified information stored in the customer database 150 in association with the customer identification information acquired from the order storage unit 110 is not the cancellation specification information specifying that the customer's account is canceled. Is performed to transfer the sale amount from the account of the customer account number of the customer to which the payment is made to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer identification information. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing date information indicating the remittance date in which the process for transferring the sale amount to the account of the remittance destination designated account number in association with the order identification information included in the notification is stored in the order storage unit 110 (step) S11).

口座抹消処理部190は、注文格納部110に格納されている送金日の日付情報が示す日の中に、予め設定された所定期間に含まれているものがある場合に、当該所定期間に含まれる送金日の日付情報に対応付けて注文格納部110に格納されている顧客識別情報に対して顧客データベース150で対応付けされた指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断する。また、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報があるか判断する。当該顧客識別情報に対応付けて解約指定情報が顧客データベース150に格納されている場合であって、当該顧客識別情報に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて顧客データベース150に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量を顧客口座データベース200から読み出して当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量が0であるか判断し、当該資金、口数並びに数量が0であるときに当該顧客の顧客口座番号を当該顧客識別情報に対応付けて抹消口座データベース210に格納するとともに当該格納日に顧客口座データベース200から削除する処理を行い、当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を顧客データベース150に格納する処理を行う(ステップS12)。   The account deletion processing unit 190 is included in the predetermined period when there is one included in the preset predetermined period among the dates indicated by the date information of the remittance date stored in the order storage unit 110. The specified information associated with the customer database 150 with respect to the customer identification information stored in the order storage unit 110 in association with the date information of the remittance date is cancellation specifying information for specifying that the customer's account is canceled. Judge whether there is. In addition, among the order information stored in the order storage unit 110 in association with the customer identification information, the order status information associated with the order information whose sales classification indicates sale is not ordered and in order. Then, it is determined whether or not there is order status information indicating that the contract has been settled and settled. In the case where cancellation designation information is stored in the customer database 150 in association with the customer identification information, the sales category is sold in the order information stored in the order storage unit 110 in association with the customer identification information. Corresponds to the customer identification information when there is no order status information indicating that the order status information associated with the order information, which is information indicating the status of unordered, in-order, closed, or settled, In addition, the customer's customer account number stored in the customer database 150 is read from the customer account database 200 for the funds, the number of money reserve funds and the number of stocks that the customer has associated with the customer account database 200. Judge whether the customer's funds, the number of money reserve funds and the number of shares are 0, and When the number and quantity are 0, the customer account number of the customer is stored in the deletion account database 210 in association with the customer identification information and deleted from the customer account database 200 on the storage date. A process of storing in the customer database 150 the deletion presence / absence information indicating that the customer's account has been deleted in association with the identification information is performed (step S12).

なお、本実施形態では決済日に売注文の約定金額と売却金額を算出する例を示したが、約定日に売注文の約定金額と売却金額を算出して約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納し、決済日当日に当該決済日の日付情報に対応付けて注文格納部110に格納されている約定成立通知と売却金額と顧客識別情報と注文識別情報を読み出して当該顧客識別情報により識別される顧客の顧客口座の残高更新を行う構成としてもよい。注文処理装置12をサーバコンピュータ、ホストコンピュータ等のコンピュータを用いて構成し、コンピュータを注文格納部110、発注部120、約定受信部130、送金部140、顧客データベース150、判断部160、送受信部170、口座抹消処理部190、顧客口座データベース200、及び、抹消口座データベース210として機能させるためのプログラムをコンピュータにインストールして注文処理装置12の処理動作を行わせる構成としてもよい。   In the present embodiment, an example is shown in which the contract amount and the sale amount of the sales order are calculated on the settlement date. However, the order identification information included in the execution notification is calculated by calculating the contract amount and the sale amount of the sales order on the contract date. Stored in the order storage unit 110 in association with the settlement date, the contract completion notice, the sale amount, the customer identification information, and the order identification information stored in the order storage unit 110 in association with the date information on the settlement date. It is good also as a structure which reads and reads the balance of the customer account of the customer identified by the said customer identification information. The order processing apparatus 12 is configured using a computer such as a server computer or a host computer, and the computer includes an order storage unit 110, an ordering unit 120, a contract receiving unit 130, a remittance unit 140, a customer database 150, a determining unit 160, and a transmitting / receiving unit 170. A program for causing the account deletion processing unit 190, the customer account database 200, and the deletion account database 210 to function may be installed in a computer and the processing operation of the order processing device 12 may be performed.

上記の第1の実施形態に係る注文処理装置は、顧客が端末装置21から入力した顧客識別情報及び注文情報を受け取る構成であるが、顧客が端末装置21から入力した当該顧客の顧客口座番号及び注文情報を受け取る構成とすることもできる。以下に、顧客の端末装置21から顧客の顧客口座番号及び注文情報を受け取る第2の実施形態の注文処理装置について説明する。   The order processing device according to the first embodiment is configured to receive customer identification information and order information input from the terminal device 21 by the customer, but the customer account number of the customer input from the terminal device 21 and It can also be configured to receive order information. The order processing apparatus according to the second embodiment for receiving the customer account number and order information of the customer from the customer terminal device 21 will be described below.

本発明の第2の実施形態に係る注文処理装置12は、注文格納部110、発注部120、約定受信部130、送金部140、顧客データベース(顧客DB)150、判断部160、送受信部170、口座抹消処理部190、顧客口座データベース(顧客口座DB)200、及び、抹消口座データベース(抹消口座DB)210を備える。送受信部170は、本発明における注文受取部及び取得部に対応しており、顧客データベース150は、本発明における顧客データベース及び指定情報格納部に対応している。   The order processing apparatus 12 according to the second embodiment of the present invention includes an order storage unit 110, an ordering unit 120, a contract reception unit 130, a remittance unit 140, a customer database (customer DB) 150, a determination unit 160, a transmission / reception unit 170, An account deletion processing unit 190, a customer account database (customer account DB) 200, and a deletion account database (deletion account DB) 210 are provided. The transmission / reception unit 170 corresponds to the order reception unit and the acquisition unit in the present invention, and the customer database 150 corresponds to the customer database and the designation information storage unit in the present invention.

顧客は、端末装置21を用いてインターネットを介して上記金融機関のホームページにアクセスし、オンライントレードを行うためのウェブページをウェブブラウザにより端末装置21に表示する。そして、顧客は、端末装置21から、顧客の顧客口座番号及び株式売買注文の内容を示す注文情報を入力し、入力した情報を注文処理装置12に送信する。注文情報には、注文の売買区分、注文対象の株式の銘柄識別情報及び数量、注文値段、取引所区分等が含まれており、銘柄識別情報の一例として銘柄コードを用いる。
注文処理装置12の送受信部170は、顧客端末21から受け取った情報を記憶する受取情報記憶部を備えており、顧客の端末装置21から、顧客の顧客口座番号及び株式売買注文の内容を示す注文情報を受け取って受取情報記憶部に記憶する。この送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号及び株式売買注文の内容を示す注文情報を注文格納部110に格納するための格納制御信号を生成して当該顧客口座番号及び注文情報とともに注文格納部110に出力する格納制御部を備えている。
The customer uses the terminal device 21 to access the home page of the financial institution via the Internet, and displays a web page for online trading on the terminal device 21 using a web browser. Then, the customer inputs order information indicating the customer account number and the content of the stock trading order from the terminal device 21, and transmits the input information to the order processing device 12. The order information includes order purchase and sale classification, stock identification information and quantity of the stock to be ordered, order price, exchange classification and the like, and a brand code is used as an example of the brand identification information.
The transmission / reception unit 170 of the order processing device 12 includes a receipt information storage unit for storing information received from the customer terminal 21, and an order indicating the customer account number of the customer and the content of the stock trading order from the customer terminal device 21. Information is received and stored in the received information storage unit. The transmission / reception unit 170 receives a storage control signal for storing in the order storage unit 110 order information indicating the contents of the customer account number and stock trading order received from the customer terminal device 21 and stored in the receipt information storage unit. A storage control unit is provided that generates and outputs to the order storage unit 110 together with the customer account number and order information.

顧客データベース150は、顧客の顧客口座番号に対応付けて、当該顧客の氏名と、当該顧客の連絡先と、当該顧客に支払うべき金額を振り込む振込先口座の口座番号であって当該顧客により指定された送金先指定口座番号と、当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報と、顧客の端末装置21に表示された顧客の口座を解約するか否かを指定する指定情報の入力画面に顧客により入力された指定情報と、口座抹消処理部190により当該顧客の顧客口座が抹消されたか否かを示す抹消有無情報とを格納する。
送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報の注文の売買区分が買いを示す情報である場合に、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客の顧客口座番号に対応付けて解約指定情報が顧客データベース150に格納されているときに、当該顧客の顧客口座番号及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止するとともに顧客の端末装置21に買注文の入力はできない旨のメッセージを表示出力する抑止部を備えている。
The customer database 150 is associated with the customer account number of the customer, and is the account number of the bank account to which the name of the customer, the contact information of the customer, and the amount to be paid to the customer are transferred, and is designated by the customer. Remittance destination designated account number, cancellation offer information indicating whether or not there is an account cancellation inquiry or offer from the customer, and designation information specifying whether or not to cancel the customer account displayed on the terminal device 21 of the customer In the input screen, the designation information input by the customer and the deletion information indicating whether or not the customer's customer account has been deleted by the account deletion processing unit 190 are stored.
The transmission / reception unit 170 receives from the customer terminal device 21 and stores it in the reception information storage unit when the order trading section of the order information received from the customer terminal device 21 and stored in the reception information storage unit is information indicating purchase. Corresponding to the cancellation account information stored in the customer database 150 in association with the stored customer account number of the customer is information indicating that there has been an account cancellation request from the customer or corresponding to the customer account number of the customer In addition, when the cancellation designation information is stored in the customer database 150, a storage control signal for storing the customer account number and order information of the customer in the order storage unit 110 is output from the storage control unit to the order storage unit 110. And a deterrence unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device 21.

注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する。
一例として注文格納部110は、送受信部170の格納制御部からの格納制御信号を計数して計数結果を注文識別情報として出力する計数部を備え、格納制御部から出力された顧客口座番号及び注文情報と当該顧客口座番号及び注文情報を格納するための格納制御信号と計数部から出力された注文識別情報とを受け取り、格納制御部からの格納制御信号に基づいて格納制御部からの顧客口座番号及び注文情報と計数部からの注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する構成としてもよい。
The order storage unit 110 identifies the order information indicating the customer account number and the content of the stock trading order received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit, and the order information. Order identification information and order status information indicating an unordered state are stored in association with each other.
As an example, the order storage unit 110 includes a counting unit that counts the storage control signal from the storage control unit of the transmission / reception unit 170 and outputs the counting result as order identification information. The customer account number and the order output from the storage control unit Information, the customer account number and the storage control signal for storing the order information and the order identification information output from the counting unit, and the customer account number from the storage control unit based on the storage control signal from the storage control unit The order information, the order identification information from the counting unit, and the order status information indicating the unordered state may be stored in association with each other.

発注部120は、未発注の状態であることを示す注文ステータス情報に対応付けて注文格納部110に格納されている株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所30の売買システム31に送信することにより、株式売買注文の発注処理を行い、発注処理が行われた当該株式売買注文の注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該株式売買注文の注文識別情報に対応付けて発注日を示す日付情報を注文格納部110に格納する処理を行う。この発注部120は、株式売買注文の注文内容を示す注文情報に含まれる取引所区分が示す証券取引所に当該注文情報の発注処理を行うようになっている。   The ordering unit 120 is associated with order status information indicating an unordered state, order information indicating the content of a stock trading order stored in the order storage unit 110, and order identification for identifying the order information. An order input message including information is transmitted to the trading system 31 of the stock exchange 30 to perform the ordering process of the stock trading order, and the order is associated with the order identification information of the stock trading order for which the ordering process has been performed. Date information indicating the order date associated with the order identification information of the stock buy / sell order while performing processing for updating the order status information stored in the storage unit 110 to order status information indicating that the order is being placed Is stored in the order storage unit 110. The ordering unit 120 performs ordering processing of the order information on the stock exchange indicated by the exchange classification included in the order information indicating the order contents of the stock trading order.

約定受信部130は、証券取引所30から株式売買注文が約定したことを示す約定成立通知であって当該株式売買注文の注文情報を識別するための注文識別情報と当該株式売買注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する。この約定受信部130は、約定成立通知を受信した場合に、約定成立通知を当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納する処理を行い、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該約定成立通知に含まれる注文識別情報に対応付けて約定成立通知を受信した約定日を示す日付情報を注文格納部110に格納する処理を行う。この約定受信部130は約定日から決済日までの決済期間を示す情報を格納する決済期間格納部を有しており、約定日と決済日を同日とする場合(T+0決済の場合)は決済期間として0日を示す情報が格納されており、約定日から1営業日後を決済日とする場合(T+1決済の場合)は決済期間として1日を示す情報が格納されており、約定日から3営業日後を決済日とする場合(T+3決済の場合)は決済期間として3日を示す情報が格納されており、約定成立通知に含まれる注文識別情報に対応付けて約定日に決済期間格納部の決済期間を加えた営業日を示す日付情報を決済日として注文格納部110に格納する処理を行うようになっている。
顧客口座データベース200は、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンド(MRF)の口数並びに株式の銘柄識別情報及び数量を格納する。
The contract receiving unit 130 is a contract establishment notification indicating that a stock trading order has been executed from the stock exchange 30, and includes order identification information for identifying the order information of the stock trading order and a trading classification of the stock trading order, A contract completion notification including the contract settlement price and the contract settlement quantity is received. When the contract reception unit 130 receives the contract completion notification, the contract reception unit 130 performs processing for storing the contract completion notification in the order storage unit 110 in association with the order identification information included in the contract completion notification. The order status information stored in the order storage unit 110 in association with the included order identification information is updated to order status information indicating that it is in a contracted state, and the order included in the contract completion notification A process for storing in the order storage unit 110 the date information indicating the contract date when the contract establishment notification is received in association with the identification information. The contract receiving unit 130 includes a settlement period storage unit that stores information indicating a settlement period from the contract date to the settlement date. When the settlement date and the settlement date are the same day (in the case of T + 0 settlement), the settlement period. As the settlement date (in the case of T + 1 settlement), the information indicating 1 day is stored as the settlement period, and 3 business days from the contract date are stored. When the settlement date is set as the settlement date (in the case of T + 3 settlement), information indicating the third day is stored as the settlement period, and the settlement of the settlement period storage unit is performed on the contract date in association with the order identification information included in the contract completion notification. A process for storing date information indicating a business day including a period in the order storage unit 110 as a settlement date is performed.
The customer account database 200 is associated with the customer account number of the customer, the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds (MRF), the stock identification information and the quantity of the stock Is stored.

判断部160は、顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に当該注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、顧客が有する株式が全て売注文の対象となっているか否かを判断する。
この判断部160は、顧客の顧客口座番号に対応付けて株式の銘柄識別情報及び数量を記憶する判断用記憶部を備えており、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報が示す株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち未発注、発注中又は約定済みの状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶し、判断用記憶部で当該顧客の顧客口座番号に対応付けて記憶された注文対象の株式の銘柄識別情報及び数量と、当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、顧客が有する株式が全て売注文の対象となっているか否かを判断する。
判断用記憶部はデータテーブルを備えており、このデータテーブルは顧客の顧客口座番号と株式の銘柄識別情報と株式の数量とを記憶するための各領域がレコード毎に設けてあり、同一レコードに格納された顧客の顧客口座番号と株式の銘柄識別情報と株式の数量とが互いに対応付けされるようになっている。判断用記憶部はリレーショナル・データベースを用いて構成してもよい。
The determination unit 160 is the stock to be ordered indicated by the order information when the order trading section indicated by the order information received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit is information indicating sale. The brand identification information and quantity of the customer, the brand identification information and quantity of the stock held by the customer associated with the customer account database 200 with respect to the customer account number of the customer received by the transmission / reception unit 170 and stored in the receipt information storage unit In this way, it is determined whether or not all the stocks owned by the customer are the targets of the selling order.
The determination unit 160 includes a determination storage unit that stores stock identification information and quantity in association with a customer account number of a customer, and the transmission / reception unit 170 receives from the customer terminal device 21 and receives information storage unit When the stock trading category indicated by the order information stored in the table is information indicating sale, the stock identification information and quantity of the stock to be ordered indicated by the order information stored in the received information storage unit, and the transmission / reception unit 170 is the customer The order information stored in the order storage unit 110 in association with the customer account number of the customer received from the terminal device 21 and stored in the receipt information storage unit is in an unordered, in-ordering or contracted state. The order identification information and quantity of the stock to be ordered indicated by the order information, which is the order information associated with the order status information indicated and the information indicating that the trading category indicates selling, The stock identification information and quantity of the stock to be ordered stored in the judgment storage unit in association with the customer account number and stored in correspondence with the customer account number of the customer in the judgment storage unit, and the customer account of the customer It is determined whether or not all the stocks held by the customer are subject to selling order by collating the stock identification information and quantity of the stock held by the customer associated with the number in the customer account database 200. To do.
The determination storage unit has a data table, and each data record has an area for storing a customer account number, stock identification information, and stock quantity for each record. The stored customer account number, stock name identification information, and stock quantity are associated with each other. The determination storage unit may be configured using a relational database.

判断部160が、判断用記憶部で顧客の顧客口座番号001−00123×に対応付けて記憶された注文対象の株式の銘柄識別情報及び数量と、当該顧客の顧客口座番号001−00123×に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行う場合に、一例として以下の処理動作(ステップS201〜S205)を行う構成としてもよい。銘柄識別情報として4桁数字の銘柄コードを用いる場合を例示して以下に説明する。
先ず、ステップS201として、判断用記憶部で顧客の顧客口座番号001−00123×に対応付けて記憶された銘柄コードから最小の数値の銘柄コードMCaと最大の数値の銘柄コードMCbを検出するとともに、当該顧客の顧客口座番号001−00123×に対して顧客口座データベース200で対応付けされた銘柄コード(即ち当該顧客が有する株式の銘柄コード)から最小の数値の銘柄コードDCaと最大の数値の銘柄コードDCbを検出する。
次に、ステップS202として、ステップS201で検出した最小の数値の銘柄コードMCa,DCaを比較するとともに最大の数値の銘柄コードMCb,DCbを比較する。ステップS202で比較した結果、最小の数値の銘柄コードMCa,DCaが一致しない場合又は最大の数値の銘柄コードMCb,DCbが一致しない場合は、顧客の有する株式が全て売注文の対象となっているものではないことを示す不一致情報を生成して照合処理を終了する。ステップS202で比較した結果、最小の数値の銘柄コードMCa,DCaが一致するとともに最大の数値の銘柄コードMCb,DCbが一致する場合は、銘柄コードの順位を指定するための変数nの値を1にしてステップS203に進む。
ステップS203では、判断用記憶部で当該顧客の顧客口座番号001−00123×に対応付けて記憶された銘柄コード及び数量の中からn番目に小さい銘柄コードMCnと当該銘柄コードMCnに対応付けされた数量MPnを読み出す。また、当該顧客の顧客口座番号001−00123×に対して顧客口座データベース200で対応付けされた銘柄コード及び数量の中からn番目に小さい銘柄コードDCnと当該銘柄コードDCnに対応付けされた数量DPnを読み出す。
次に、ステップS204として、ステップS203で読み出した銘柄コードMCn,DCnを比較するとともに数量MPn,DPnを比較する。ステップS204で比較した結果、銘柄コードMCn,DCnが一致しない場合又は数量MPn,DPnが一致しない場合は、不一致情報を生成して照合処理を終了する。ステップS204で比較した結果、銘柄コードMCn,DCnが一致するとともに数量MPn,DPnが一致する場合は、ステップS205に進む。
ステップS205では、ステップS203で読み出した銘柄コードMCnと最大の数値の銘柄コードMCbを比較する。ステップS205で比較した結果、銘柄コードMCn,MCbが一致しない場合は、変数nの値を1だけ増加させてステップS203に戻る。ステップS205で比較した結果、銘柄コードMCn,MCbが一致する場合は、顧客の有する株式が全て売注文の対象となっていることを示す一致情報を生成して照合処理を終了する。
The determination unit 160 determines the stock identification information and quantity of the stock to be ordered stored in the determination storage unit in association with the customer account number 001-00123 × of the customer, and the customer account number 001-00123 × of the customer. For example, the following processing operations (steps S201 to S205) may be performed when collating the stock identification information and quantity of the stock held by the customer associated in the customer account database 200. An example of using a 4-digit number code as the brand identification information will be described below.
First, as step S201, the determination storage unit detects the minimum numeric code MCa and the maximum numerical code MCb from the brand codes stored in association with the customer's customer account number 001-00123x, From the stock code associated with the customer account number 001-00123 × of the customer in the customer account database 200 (that is, the stock code of the stock held by the customer), the smallest stock code DCa and the largest numerical stock code. DCb is detected.
Next, in step S202, the minimum numerical code codes MCa and DCa detected in step S201 are compared and the maximum numerical code codes MCb and DCb are compared. As a result of the comparison in step S202, if the minimum numerical code codes MCa and DCa do not match, or if the maximum numerical code codes MCb and DCb do not match, all the stocks of the customer are subject to selling orders. Inconsistency information indicating that it is not a thing is generated, and the collation process is terminated. As a result of the comparison in step S202, when the stock code MCa, DCa having the smallest numerical value matches and the stock code MCb, DCb having the largest numerical value match, the value of the variable n for designating the ranking of the stock code is set to 1. Then, the process proceeds to step S203.
In step S203, the code code MCn which is the nth smallest among the code codes and quantities stored in association with the customer account number 001-00123 × of the customer in the determination storage unit and the code code MCn are associated with each other. Read the quantity MPn. Also, the nth smallest brand code DCn among the brand codes and quantities associated with the customer account number 001-00123 × of the customer in the customer account database 200 and the quantity DPn associated with the brand code DCn. Is read.
Next, in step S204, the brand codes MCn and DCn read out in step S203 are compared and the quantities MPn and DPn are compared. If the brand codes MCn and DCn do not match as a result of the comparison in step S204, or if the quantities MPn and DPn do not match, mismatch information is generated and the matching process is terminated. As a result of the comparison in step S204, if the brand codes MCn and DCn match and the quantities MPn and DPn match, the process proceeds to step S205.
In step S205, the brand code MCn read in step S203 is compared with the brand code MCb having the maximum numerical value. As a result of the comparison in step S205, if the brand codes MCn and MCb do not match, the value of the variable n is increased by 1, and the process returns to step S203. If the brand codes MCn and MCb match as a result of the comparison in step S205, match information indicating that all the stocks of the customer are subject to the selling order is generated, and the matching process is terminated.

なお、判断部160は、顧客の顧客口座番号と株式の銘柄識別情報及び数量と選択フラグとを対応付けて記憶する統合用記憶部を備えており、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す注文対象の株式の銘柄識別情報及び数量とを、未選択の状態を示す選択フラグと当該顧客の顧客口座番号に対応付けて統合用記憶部に記憶し、統合用記憶部に記憶された銘柄識別情報及び数量を統合して判断用記憶部に記憶するための統合処理を行う。
統合用記憶部はデータテーブルを備えており、このデータテーブルは顧客の顧客口座番号と株式の銘柄識別情報と株式の数量と選択フラグとを記憶するための各領域がレコード毎に設けてあり、同一レコードに格納された顧客の顧客口座番号と株式の銘柄識別情報と株式の数量と選択フラグとが互いに対応付けされるようになっている。統合用記憶部はリレーショナル・データベースを用いて構成してもよい。
統合処理として、判断部160は、未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶されている銘柄識別情報を統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に当該1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を顧客の顧客口座番号に対応付けて判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を顧客の顧客口座番号に対応付けて判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う。
The determination unit 160 includes an integration storage unit that stores the customer account number of the customer, the stock identification information of the stock, the quantity, and the selection flag in association with each other, and the transmission / reception unit 170 receives from the terminal device 21 of the customer. When the order trading indicated by the order information stored in the receipt information storage unit is information indicating sale, the stock identification information and quantity of the stock to be ordered indicated by the order information stored in the receipt information storage unit, The order information stored in the order storage unit 110 in correspondence with the customer account number of the customer received by the transmission / reception unit 170 from the customer's terminal device 21 and stored in the receipt information storage unit is unordered, being ordered, or contracted. The stock identification information and quantity of the stock to be ordered indicated by the order information which is the order information associated with the order status information indicating the state and the sales classification indicates the sale The selection flag indicating the unselected state and the customer account number of the customer are stored in the integration storage unit, and the brand identification information and the quantity stored in the integration storage unit are integrated into the determination storage unit. Perform integration processing for storage.
The storage unit for integration includes a data table, and this data table includes each area for storing a customer account number, stock identification information, stock quantity, and a selection flag for each record. The customer account number, stock brand identification information, stock quantity, and selection flag stored in the same record are associated with each other. The integration storage unit may be configured using a relational database.
As the integration process, the determination unit 160 reads the brand identification information stored in the integration storage unit in association with the selection flag indicating an unselected state, selects one brand identification information, It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the read brand identification information. If it is determined that a plurality of brand identification information is included, the storage for integration is associated with the brand identification information. The total number of stocks of the stock identification information stored in the department is summed and the total quantity and the stock identification information are stored in the judgment storage unit in association with the customer account number of the customer, and the stock identification information The selection flag stored in the integration storage unit in association is updated to the selection flag indicating the selected state, and if it is determined that a plurality of selection flags are not included, the integration flag is associated with the brand identification information. Is stored in the judgment storage unit in association with the customer account number of the customer, and in the integration storage unit in association with the brand identification information. The process of updating the stored selection flag to the selection flag indicating the selected state is repeated until all the selection flags stored in the integration storage unit become selection flags indicating the selected state.

判断部160により、顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量が一致しており、顧客が有する株式が全て売注文の対象となっていると判断された場合に、送受信部170は、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客の顧客口座番号に対応付けて顧客データベース150に格納する。   The judgment unit 160 receives the stock identification information and quantity of the order target stock indicated by the order information received by the transmission / reception unit 170 from the customer's terminal device 21 and stored in the reception information storage unit, and the transmission / reception unit 170 receives the receipt information storage unit. The stock identification information and quantity of the stock held by the customer corresponding to the customer account number stored in the customer account database 200 match with each other, and all the stocks held by the customer are subject to selling orders. When it is determined that there is, the transmission / reception unit 170 displays an input screen for inputting designation information for designating whether or not to cancel the customer's account on the customer's terminal device 21, and the input screen is input. The designation information is received from the customer terminal device 21 and stored in the customer database 150 in association with the customer account number of the customer.

一例として送受信部170は、判断部160により、顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるか判断するとともに当該顧客の顧客口座番号に対応付けて顧客データベース150に顧客の口座を解約することを指定する解約指定情報が格納されているか判断し、当該解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるととともに当該顧客の顧客口座番号に対応付けて顧客データベース150に解約指定情報が格納されていないときに、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客の顧客口座番号に対応付けて顧客データベース150に格納する構成としてもよい。
なお、送受信部170は、判断部160により、顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるか判断するとともに当該顧客の顧客口座番号に対応付けて顧客データベース150に顧客の口座を解約することを指定する解約指定情報が格納されているか判断し、更に当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断し、当該解約申出情報が顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客の顧客口座番号に対応付けて顧客データベース150に解約指定情報が格納されていないときであって、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客の顧客口座番号に対応付けて顧客データベース150に格納する構成としてもよい。
As an example, when the determination unit 160 determines that all the stocks owned by the customer are subject to the sales order, the transmission / reception unit 170 is stored in the customer database 150 in association with the customer account number of the customer. Canceling the customer account in the customer database 150 in correspondence with the customer account number of the customer and determining whether the cancellation offer information is information indicating that there has been an inquiry or offer for the account cancellation from the customer. It is determined whether the specified cancellation information is stored, the cancellation request information is information indicating that there has been an inquiry or offer for an account cancellation from the customer, and the customer is associated with the customer account number of the customer An input screen for inputting designation information for designating whether or not to cancel the customer's account when the cancellation designation information is not stored in the database 150. Was displayed on the customer terminal device 21 may be configured to store in association with specifying information input into the input screen received from the customer terminal device 21 to the customer account number of the customer in the customer database 150.
The transmission / reception unit 170 stores the stock held by the customer in the customer database 150 in association with the customer account number of the customer when the determination unit 160 determines that all of the stock held by the customer is the subject of the sales order. Canceling the customer account in the customer database 150 in correspondence with the customer account number of the customer and determining whether the cancellation offer information is information indicating that there has been an inquiry or offer for the account cancellation from the customer. Judgment is made as to whether or not cancellation designation information to be specified is stored, and further corresponds to order information whose purchase classification is information indicating purchase in the order information stored in the order storage unit 110 in association with the customer account number of the customer. It is judged whether there is any order status information indicating that the order status information is not yet ordered, in the ordering status, or in the contracted status, and the cancellation offer information It is information indicating that there has been an inquiry or offer for account cancellation from the customer, and when the cancellation designation information is not stored in the customer database 150 in association with the customer account number of the customer, Among the order information stored in the order storage unit 110 in association with the customer account number, the order status information associated with the order information whose buy / sell category is information indicating purchase is not ordered, being ordered, and contracted. When there is no order status information indicating that the customer's account is in the state, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the customer's terminal device 21 and input to the input screen. The designated information may be received from the customer terminal device 21 and stored in the customer database 150 in association with the customer account number of the customer.

送金部140は、注文格納部110に格納されている決済日の日付情報において当日が決済日となっているものがあるか判断し、当日が決済日となっているものがある場合は当該決済日の日付情報に対応付けて格納されている約定受信部130が受信した約定成立通知に含まれる注文の売買区分が売りを示す情報であるときに、当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じて約定金額を算出し、算出した約定金額から当該注文の諸経費を記憶する記憶部に記憶された当該諸経費を減じて売却金額を算出する。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号に対して顧客データベース150で対応付けされた送金先指定口座番号の口座に売却金額を振り込むための処理を行う。例えば、送金部140は、顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金金額を振り込む場合に、当該送金先指定口座番号により特定される銀行等の金融機関40が備える勘定系システム41に顧客氏名と送金金額と送金先指定口座番号と当該口座番号への当該送金金額の振込命令とを送信し、当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金残高から送金金額を減算して残高更新することで送金金額を顧客口座から出金する処理を行うことにで、顧客の口座から送金先指定口座番号の口座に送金金額を振り替える処理を行うようにしてもよい。このとき送信する顧客氏名としては、顧客の顧客口座番号に対応付けて顧客データベース150に格納されている顧客氏名を用い、例えばカタカナの顧客氏名を用いるようにしてもよい。なお、送金先指定口座番号の上位3桁(左側3桁)は各金融機関に特有のコードとなっており、送金部140は上位3桁の数字と金融機関の勘定系システムへの送信先アドレスとを対応付けた金融機関送信先テーブルを有しており、例えば顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の上位3桁の数字から金融機関送信先テーブルを参照して当該上位3桁の数字に対応する金融機関の勘定系システムへの送信先アドレスを取得し、取得した金融機関の勘定系システムの送信先アドレスに顧客氏名と送金金額と送金先指定口座番号と振込命令とを送信するようにしてもよく、取得した金融機関の勘定系システムの送信先アドレスに顧客氏名と送金金額と送金先指定口座番号と送金元金融機関の識別情報と振込命令とを送信するようにしてもよい。   The remittance unit 140 determines whether there is a settlement date in the date information of the settlement date stored in the order storage unit 110, and if there is a settlement date that is the settlement date, the settlement When the trade classification of the order included in the contract establishment notification received by the contract reception unit 130 stored in association with the date information of the day is information indicating sale, the execution of the order included in the contract establishment notification is confirmed The contract amount is calculated by multiplying the price by the contracted quantity, and the sales amount is calculated by subtracting the overhead stored in the storage unit storing the overhead of the order from the calculated contract amount. Then, the sale amount to the account of the remittance designated account number associated in the customer database 150 with respect to the customer account number of the customer stored in the order storage unit 110 in association with the order identification information included in the notification of successful execution Process to transfer. For example, when the remittance unit 140 transfers the remittance amount to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer, the bank specified by the remittance destination designated account number The customer name, the remittance amount, the remittance destination designated account number, and the transfer instruction for the remittance amount to the account number are transmitted to the account system 41 of the financial institution 40, etc. Remittance amount is subtracted from the fund balance of the customer associated in the account database 200 and the balance is updated to update the balance so that the remittance amount is withdrawn from the customer account. You may make it perform the process which transfers the remittance amount to the account of a number. As the customer name transmitted at this time, the customer name stored in the customer database 150 in association with the customer account number of the customer may be used. For example, the customer name of Katakana may be used. The upper 3 digits (left 3 digits) of the remittance destination designated account number are codes unique to each financial institution, and the remittance unit 140 has the upper 3 digits and the destination address to the financial institution's account system. For example, the financial institution transmission destination from the upper three digits of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer. Referring to the table, obtain the destination address to the financial institution's account system corresponding to the upper three digits, and the customer's name, remittance amount, and remittance destination to the obtained financial institution's account system transmission address The designated account number and transfer instruction may be sent, and the customer name, remittance amount, remittance designated account number and remittance source financial institution It is also possible to transmit the transfer instruction with another information.

この送金部140は、約定受信部130が受信した約定成立通知に含まれる注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された諸経費を減じた売却金額を、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理を行うとともに、当該約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う。なお、一例として送金部140は約定金額と売買手数料とを対応付けた手数料テーブルを有し、注文の売却金額や買付金額を算出する場合に当該注文の約定金額に対して手数料テーブルで対応付けされた売買手数料を取得し、当該売買手数料に予め設定された消費税率を乗算した税額と当該売買手数料とを諸経費を記憶する記憶部に当該注文の諸経費として記憶して売却金額や買付金額の算出に用いるようにしてもよい。   The remittance unit 140 multiplies the execution price of the order included in the execution notification of the order included in the execution notification included in the execution notification received by the execution reception section 130 by the execution volume of the order. The customer stored in the order storage unit 110 in correspondence with the order identification information included in the notification of contract completion, the sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount The transaction amount is added to the customer account number associated with the customer account database 200 and the balance of the customer account is updated to update the balance, and the sale amount is credited to the customer account. Of the stock of the stock identification information contained in the stock identification information corresponding to the customer account number of the customer in the customer account database 200. It performs a process of balance update by subtracting from the amount outstanding. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification to the order status information indicating that the payment has been completed is performed. As an example, the remittance unit 140 has a fee table in which the contract amount and the transaction fee are associated with each other, and when calculating the sale amount or purchase amount of the order, the remittance unit 140 associates the contract amount with the order amount in the fee table. The sales amount and purchase price are stored in the storage unit that stores the transaction fee and the tax amount obtained by multiplying the transaction fee by a preset consumption tax rate and the transaction fee. You may make it use for calculation of money.

次に送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断し、当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断するとともに当該売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるか判断し、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、上記顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客のマネーリザーブファンド(MRF)の全口数の解約金額を記憶する記憶部に記憶された当該解約金額を顧客の口座の資金残高に加算して残高更新することにより解約金額を顧客の口座に入金する処理を行い、解約金額及び売却金額が入金された顧客の口座の資金残高全額を当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行うとともに、当該顧客の顧客口座番号に対応付けて顧客口座データベース200に格納されている顧客のマネーリザーブファンドの口数残高を0にする処理を行う。この場合は送金後の顧客の口座の資金残高は0になる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記資金残高全額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   Next, the remittance unit 140 is cancellation designation information that designates that the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 cancels the customer account. If the designation information stored in the customer database 150 in association with the customer account number of the customer is cancellation designation information for designating cancellation of the customer account, the customer account number of the customer is Among the order information stored in the order storage unit 110 in association with each other, the order status information associated with the order information, which is information indicating that the trading category indicates selling, is in an unordered, ordering, or contracted state. One of the order status information associated with the order information corresponding to the order information, which is information indicating sale, is determined whether there is order status information indicating It is determined whether or not there is order status information indicating that the transaction has been settled, and among the order information stored in the order storage unit 110 in correspondence with the customer account number of the customer, There is no order status information indicating that the order status information associated with certain order information is in the unordered, ordering, and contracted state, and 1 in the order status information associated with the order information. When there is order status information indicating that only one settlement has been completed, the total number of money reserve funds (MRF) of the customer associated with the customer account database 200 in the customer account database 200 is stored. By adding the cancellation amount stored in the storage unit that stores the cancellation amount to the funds balance of the customer's account and updating the balance, the cancellation amount is To the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer in which the cancellation amount and the sale amount are deposited. In addition to performing processing for transfer, processing for setting the number balance of the customer's money reserve fund stored in the customer account database 200 in association with the customer account number of the customer to 0 is performed. In this case, the balance of funds in the customer's account after remittance is zero. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the full amount of the funds balance to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。この場合は売却金額が加算された顧客の口座の資金残高から売却金額が減額されることになる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   The remittance unit 140 determines that the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 is cancellation designation information for designating cancellation of the customer account. The order status information associated with the order information corresponding to the order information whose sale classification indicates sale among the order information stored in the order storage unit 110 in association with the customer account number of the customer, When there is order status information indicating that it is in a middle or contracted state, or information indicating that the sales category indicates selling among the order information stored in the order storage unit 110 in association with the customer account number of the customer There is no order status information indicating that the order status information associated with the order information is in the unordered, in-ordering, or contracted state. If there is more than one order status information indicating that the order has been settled in the order status information associated with the sentence information, the sale amount is received from the account of the customer account number of the customer who received the sale amount. The processing for transferring to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number is performed. In this case, the sale amount is deducted from the fund balance of the customer's account to which the sale amount is added. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process for storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the sale amount to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報でないときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。この場合、売却金額が加算された顧客の口座の資金残高から売却金額が減額されることになる。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う。   The remittance unit 140, when the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 is not cancellation designation information for designating cancellation of the customer account, Processing is performed to transfer the sale amount from the account of the customer account number of the customer to whom the sale amount has been deposited to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer. In this case, the sale amount is reduced from the fund balance of the customer's account to which the sale amount is added. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process for storing in the order storage unit 110 date information indicating a remittance date on which the process for transferring the sale amount to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification.

送金部140は、注文格納部110に格納されている決済日の日付情報において当日が決済日となっているものがあるか判断し、当日が決済日となっているものがある場合は当該決済日の日付情報に対応付けて格納されている約定受信部130が受信した約定成立通知に含まれる注文の売買区分が買いを示す情報であるときに当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された当該諸経費を加えた買付金額を、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号を取得して当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高から減算して残高更新することにより買付金額を顧客の口座から出金する処理を行うとともに、約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う。なお、顧客の口座の資金残高から買付金額を減算して残高更新する場合に顧客の口座の資金残高が買付金額よりも少ないときは買付金額の不足分に相当する口数のマネーリザーブファンドが顧客の口座から自動的に解約されて不足分の解約金額が充当され、当該顧客の口座の資金残高が0に残高更新されるようになっている。   The remittance unit 140 determines whether there is a settlement date in the date information of the settlement date stored in the order storage unit 110, and if there is a settlement date that is the settlement date, the settlement The contract execution price of the order included in the contract completion notification when the trade type of the order included in the contract completion notification received by the contract reception unit 130 stored in association with the date information of the day is information indicating purchase The order amount is stored by associating the purchase amount, which is obtained by adding the contract amount multiplied by the contract completion amount, and the overhead amount stored in the storage unit storing the order overhead, with the order identification information included in the execution notification The customer account number of the customer stored in the unit 110 is acquired, and the balance is updated by subtracting the customer account number of the customer from the fund balance of the customer account associated with the customer account database 200. As a result, the purchase amount is withdrawn from the customer's account, and the execution amount of the stock of the brand identification information included in the execution notification is associated with the customer account number in the customer account database 200. The balance update is performed by adding to the stock quantity balance of the brand identification information. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification to the order status information indicating that the payment has been completed is performed. In addition, when subtracting the purchase amount from the customer account fund balance and updating the balance, if the customer account fund balance is less than the purchase amount, the number of money reserve funds corresponding to the shortage of the purchase amount Is automatically canceled from the customer's account, the amount of cancellation of the shortage is applied, and the balance of funds in the customer's account is updated to zero.

口座抹消処理部190は、注文格納部110に格納されている送金日の日付情報が示す日の中に、予め設定された所定期間、例えば当日の3箇月前から2箇月前までの1箇月間に含まれているものがあるか判断し、当該所定期間に含まれているものがある場合に、当該所定期間に含まれる送金日の日付情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号に対して顧客データベース150で対応付けされた指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断する。また、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報があるか判断する。当該顧客の顧客口座番号に対応付けて解約指定情報が顧客データベース150に格納されている場合であって、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量を顧客口座データベース200から読み出して当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量が0であるか判断し、当該資金、口数並びに数量が0であるときに当該顧客の顧客口座番号を抹消口座データベース210に格納するとともに当該格納日に顧客口座データベース200から削除する処理を行い、当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を顧客データベース150に格納する処理を行う。抹消口座データベース210は、口座抹消処理部190により抹消する対象とされた顧客の口座に関する情報を格納するためのデータベースである。なお、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されていない場合に、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納するようになっている。一例として、送受信部170の抑止部は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されているか判断し、当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されている場合に当該顧客の顧客口座番号及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止するとともに顧客の端末装置21に注文入力には口座開設が必要である旨のメッセージを表示出力する構成としてもよい。   The account deletion processing unit 190 includes a predetermined period set in the date indicated by the date information of the remittance date stored in the order storage unit 110, for example, one month from 3 months before to 2 months before the current day. Is stored in the order storage unit 110 in association with the date information of the remittance date included in the predetermined period when there is something included in the predetermined period. It is determined whether the designation information associated with the customer account number of the customer in the customer database 150 is cancellation designation information for designating cancellation of the customer account. In addition, unordered in the order status information associated with the order information, which is information indicating that the trade classification is sold, among the order information stored in the order storage unit 110 in association with the customer account number of the customer, During ordering, it is determined whether or not there is order status information indicating that the contract has been settled and settled. Of the order information stored in the order storage unit 110 in association with the customer account number of the customer, the cancellation designation information is stored in the customer database 150. If there is no order status information indicating that the order status information associated with the order information, which indicates that the trading category indicates selling, is in the unordered, in-ordering, contracted, and settled status, the customer The customer's account number associated with the customer account database 200 is read from the customer account database 200 and the number of shares and money reserve funds is read from the customer account database 200 and the number of money and money reserve funds the customer has In addition, it is determined whether the number of shares is 0, and when the funds, number and quantity are 0, The number is stored in the deletion account database 210 and is deleted from the customer account database 200 on the storage date, and the deletion existence information indicating that the customer's account has been deleted is associated with the customer account number of the customer. The process of storing in 150 is performed. The deletion account database 210 is a database for storing information related to customer accounts that are to be deleted by the account deletion processing unit 190. In addition, the order storage unit 110 includes information indicating whether or not the customer account has been deleted in association with the customer account number of the customer received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit. When not stored in the database 150, the order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit, and the order information Order identification information for identification and order status information indicating an unordered state are stored in association with each other. As an example, the deterrence unit of the transmission / reception unit 170 indicates whether or not the customer account has been deleted in association with the customer account number of the customer received from the customer terminal device 21 and stored in the received information storage unit. It is determined whether the information is stored in the customer database 150. If the customer database 150 stores deletion information indicating that the customer's account has been deleted in association with the customer's customer account number, the customer's customer The storage control signal for storing the account number and the order information in the order storage unit 110 is prevented from being output from the storage control unit to the order storage unit 110, and an account needs to be opened for order input to the customer terminal device 21. It is good also as a structure which displays and outputs the message to the effect.

図6は、注文格納部110に格納される情報を例示する説明図であり、注文格納部110が有するデータテーブルを例示する説明図である。
このデータテーブルは、注文情報を識別するための注文識別情報、注文者である顧客の顧客口座番号、注文内容を示す注文情報、注文ステータス情報、発注日を示す日付情報、約定成立通知、約定日を示す日付情報、決済日を示す日付情報、及び、送金日を示す日付情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された注文識別情報、顧客口座番号、注文情報、注文ステータス情報、発注日を示す日付情報、約定成立通知、約定日を示す日付情報、決済日を示す日付情報、及び、送金日を示す日付情報が互いに対応付けされるようになっている。注文情報は、注文対象の株式の銘柄コード、注文数量、注文の売買区分、注文の値段、注文を発注すべき証券取引所を指定するための取引所区分等の情報を含み、注文情報を格納するためのフィールドは、銘柄コード、注文数量、売買区分、値段、取引所区分等の情報を格納するための各領域を有しており、同一フィールドに格納された銘柄コード、注文数量、売買区分、値段、取引所区分等の情報は互いに対応付けされるようになっている。また、約定成立通知は、約定が成立した注文の株式の銘柄コード、約定成立数量、約定成立した注文の売買区分、約定成立値段、約定成立通知を送信した証券取引所を示す取引所区分等の情報を含み、約定成立通知を格納するためのフィールドは、銘柄コード、約定成立数量、売買区分、約定成立値段、取引所区分等の情報を格納するための各領域を有しており、同一フィールドに格納された銘柄コード、約定成立数量、売買区分、約定成立値段、取引所区分等の情報は互いに対応付けされるようになっている。注文格納部110はリレーショナル・データベースを用いて構成してもよい。
FIG. 6 is an explanatory diagram illustrating information stored in the order storage unit 110, and is an explanatory diagram illustrating a data table included in the order storage unit 110.
This data table includes order identification information for identifying order information, customer account number of the customer who is the orderer, order information indicating order contents, order status information, date information indicating order date, execution notification, execution date Each field for storing date information indicating the date of payment, date information indicating the date of settlement, and date information indicating the date of remittance is provided for each record. Order identification information, customer account number, order Information, order status information, date information indicating the order date, execution notification, date information indicating the contract date, date information indicating the settlement date, and date information indicating the remittance date are associated with each other. . The order information includes information such as the stock code of the stock to be ordered, the order quantity, the order buying and selling category, the order price, and the exchange category for specifying the stock exchange to which the order should be placed. The field to store has each area for storing information such as brand code, order quantity, trading category, price, exchange category, etc. The brand code, order quantity, trading category stored in the same field Information such as price and exchange category is associated with each other. In addition, the notice of execution of the contract includes the stock code of the stock of the order for which the execution has been completed, the volume of the execution of the execution, the trading category of the order for which the execution has been completed, the execution price, the exchange classification indicating the stock exchange that sent the execution notification of the execution, etc. The field for storing the information about the execution of the contract, including information, has each area for storing information such as the stock code, the execution volume, the trading category, the execution price, and the exchange category. The information such as the brand code, the contract establishment quantity, the trade classification, the contract establishment price, the exchange classification, etc. stored in the table is associated with each other. The order storage unit 110 may be configured using a relational database.

図6の注文格納部110のデータテーブルに格納されているデータの例では、注文識別情報は「0201」となっており、顧客口座番号は「001−00123×」となっており、注文情報の銘柄コードは「86×○」となっており、注文数量は「1000株」となっており、売買区分は「売り」を示す情報となっており、注文値段は「指値910円」を示す情報となっており、取引所区分は「東京(即ち東京証券取引所)」を示す情報となっており、注文ステータス情報は「発注中」を示す情報となっており、発注日として「2005.8.30(即ち2005年8月30日)」を示す日付情報が格納されており、約定成立通知、約定日の日付情報、決済日の日付情報、送金日の日付情報はデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。
これらのデータは、顧客口座番号001−00123×の顧客が銘柄コード86×○について指値910円で1000株の売注文を、東京証券取引所を取引市場として出しており、この売注文を顧客の端末装置21から受け取った注文処理装置12が当該売注文の注文情報と注文識別情報0201とを含む注文入力電文を東京証券取引所の売買システムに2005年8月30日に送信して発注した状態であり、未だ約定していない状態であることを示している。
注文処理装置12の約定受信部130が東京証券取引所から約定成立通知を受信すると、約定成立通知に含まれる注文識別情報0201から上記売注文の約定が成立したことを判断することができ、約定成立通知に含まれる注文識別情報0201に対応付けて約定成立通知と約定成立通知の受信日である約定日の日付情報と当該約定日に決済期間格納部の決済期間を加えた決済日の日付情報と約定済の状態であることを示す注文ステータス情報とが注文格納部110に格納される。注文格納部110に格納された決済日の日付情報が示す決済日当日には、当該約定成立通知に含まれる約定成立値段に約定成立数量を乗じた約定金額から当該注文の売買手数料及びその消費税からなる諸経費を記憶する記憶部に格納された諸経費を減じた売却金額を、顧客の顧客口座番号001−00123×に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理が行われるとともに、当該顧客の口座で約定成立通知に含まれる銘柄識別情報の株式の数量残高から約定成立通知に含まれる約定成立数量を減算して残高更新する処理が行われ、約定成立通知に含まれる注文識別情報0201に対応付けて決済済であることを示す注文ステータス情報が注文格納部110に格納される。そして、顧客の顧客口座番号001−00123×の顧客口座から顧客口座番号001−00123×に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金する処理がなされると、注文識別情報0201に対応付けて送金済の状態であることを示す注文ステータス情報と送金日の日付情報とが注文格納部110に格納される。
In the example of the data stored in the data table of the order storage unit 110 in FIG. 6, the order identification information is “0201”, the customer account number is “001-00123 ×”, and the order information The stock code is “86 × ○”, the order quantity is “1000 shares”, the trade classification is information indicating “sell”, and the order price is information indicating “limit price 910 yen” The exchange classification is information indicating “Tokyo (ie, Tokyo Stock Exchange)”, the order status information is information indicating “in order”, and “2005.8” is the order date. .30 (that is, August 30, 2005) "is stored, and the contract completion notice, the date information of the contract date, the date information of the settlement date, and the date information of the remittance date are default values. , These data are the same Stored in a record and associated with each other.
These data show that a customer with customer account number 001-00123x has placed a sell order for 1000 shares at a limit price of 910 yen for the stock code 86x ○, and the Tokyo Stock Exchange as a trading market. The order processing device 12 received from the terminal device 21 sends an order input message including the order information of the selling order and the order identification information 0201 to the Tokyo Stock Exchange trading system on August 30, 2005, and places an order. This indicates that the contract has not been executed yet.
When the contract receiving unit 130 of the order processing apparatus 12 receives the contract establishment notification from the Tokyo Stock Exchange, it can determine from the order identification information 0201 included in the contract establishment notification that the above sales order has been executed, Date information on the settlement date by adding the settlement date in the settlement period storage section and the date information on the contract date, which is the date of receipt of the contract settlement notification and the contract settlement notification, in association with the order identification information 0201 included in the settlement notification And order status information indicating the contracted state are stored in the order storage unit 110. On the day of the settlement date indicated by the settlement date information stored in the order storage unit 110, the transaction fee of the order and its consumption tax are calculated from the contract amount obtained by multiplying the contract settlement price included in the contract settlement notification by the contract settlement quantity. The balance of funds of the customer's account in which the sales amount obtained by subtracting the overhead stored in the storage unit for storing the various expenses is associated with the customer account number 001-00123 × of the customer in the customer account database 200. The amount of sale is credited to the customer's account by updating the balance in addition to, and also included in the execution notification from the stock quantity balance of the stock identification information included in the execution notification in the customer's account An order status indicating that the process of subtracting the contract completion quantity and updating the balance is performed and has been settled in association with the order identification information 0201 included in the notification of contract completion Information is stored in the order storing unit 110. Then, when a process of transferring money from the customer account number 001-00123x of the customer to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number 001-00123x, The order storage unit 110 stores order status information indicating that the remittance state is associated with the order identification information 0201 and date information of the remittance date.

また、図6の注文格納部110のデータテーブルに格納されているデータの例では、注文識別情報は「0202」となっており、顧客の顧客口座番号は「001−00123×」となっており、注文情報の銘柄コードは「86×△」となっており、注文数量は「2000株」となっており、売買区分は「売り」を示す情報となっており、注文値段は「成行」を示す情報となっており、取引所区分は「東京(即ち東京証券取引所)」を示す情報となっており、注文ステータス情報は「未発注」を示す情報となっており、発注日の日付情報、約定成立通知、約定日の日付情報、決済日の日付情報、送金日の日付情報はデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。
これらのデータは、顧客口座番号001−00123×の顧客が銘柄コード「86×△」について成行で2000株の売注文を、東京証券取引所を取引市場として出しており、この売注文を顧客の端末装置21から注文処理装置12が受け取った状態であり、注文情報を東京証券取引所の売買システムに発注していない状態であることを示している。この売注文を顧客の端末装置21から受け取った注文処理装置12が当該売注文の注文情報と注文識別情報0202とを含む注文入力電文を東京証券取引所の売買システムに2005年8月30日に送信して発注すると、注文識別情報0202に対応付けて発注日として2005年8月30日を示す日付情報と発注中の状態であることを示す注文ステータス情報とが注文格納部110に格納される。
注文処理装置12の約定受信部130が東京証券取引所から約定成立通知を受信すると、約定成立通知に含まれる注文識別情報0202から上記売注文の約定が成立したことを判断することができ、約定成立通知に含まれる注文識別情報0202に対応付けて約定成立通知と約定成立通知の受信日である約定日の日付情報と当該約定日に決済期間格納部の決済期間を加えた決済日の日付情報と約定済の状態であることを示す注文ステータス情報とが注文格納部110に格納される。注文格納部110に格納された決済日の日付情報が示す決済日当日には、当該約定成立通知に含まれる約定成立値段に約定成立数量を乗じた約定金額から当該注文の売買手数料及びその消費税からなる諸経費を記憶する記憶部に格納された諸経費を減じた売却金額を、顧客の顧客口座番号001−00123×に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理が行われるとともに、当該顧客の口座で約定成立通知に含まれる銘柄識別情報の株式の数量残高から約定成立通知に含まれる約定成立数量を減算して残高更新する処理が行われ、約定成立通知に含まれる注文識別情報0202に対応付けて決済済の状態であることを示す注文ステータス情報が注文格納部110に格納される。そして、顧客の顧客口座番号001−00123×の口座から顧客の顧客口座番号001−00123×に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に送金する処理がなされると、注文識別情報0202に対応付けて送金済の状態であることを示す注文ステータス情報と送金日の日付情報とが注文格納部110に格納される。
In the example of data stored in the data table of the order storage unit 110 in FIG. 6, the order identification information is “0202”, and the customer account number of the customer is “001-00123 ×”. The stock code of the order information is “86 × △”, the order quantity is “2000 shares”, the trading category is “sell”, and the order price is “successful”. The exchange category is “Tokyo (ie, Tokyo Stock Exchange)”, the order status information is “unordered”, and the date information of the order date. The contract establishment notification, the date information of the contract date, the date information of the settlement date, and the date information of the remittance date are default values, and these data are stored in the same record and associated with each other.
These data show that the customer with customer account number 001-00123x has placed a sell order for 2000 shares in the market for the stock code "86x △" and the Tokyo Stock Exchange as a trading market. This indicates that the order processing device 12 has received the information from the terminal device 21 and that the order information has not been ordered from the trading system of the Tokyo Stock Exchange. The order processing device 12 that has received the sell order from the customer's terminal device 21 sends an order input message including the order information of the sell order and the order identification information 0202 to the Tokyo Stock Exchange trading system on August 30, 2005. When sending and placing an order, date information indicating August 30, 2005 as an order date and order status information indicating that the order is being placed are stored in the order storage unit 110 in association with the order identification information 0202. .
When the contract receiving unit 130 of the order processing device 12 receives the contract completion notification from the Tokyo Stock Exchange, it can determine from the order identification information 0202 included in the contract completion notification that the contract for the sell order has been established, Date information on the settlement date by adding the settlement date in the settlement period storage section and the date information on the contract date, which is the date of receipt of the contract completion notification and the contract completion notification, in association with the order identification information 0202 included in the settlement notification And order status information indicating the contracted state are stored in the order storage unit 110. On the day of the settlement date indicated by the date information of the settlement date stored in the order storage unit 110, the transaction fee of the order and its consumption tax are calculated from the contract amount obtained by multiplying the contract settlement price included in the contract settlement notification by the contract settlement quantity. The balance of funds of the customer's account in which the sales amount obtained by subtracting the overhead stored in the storage unit for storing the various expenses is associated with the customer account number 001-00123 × of the customer in the customer account database 200. The amount of sale is credited to the customer's account by updating the balance in addition to, and also included in the execution notification from the stock quantity balance of the stock identification information included in the execution notification in the customer's account A process for updating the balance by subtracting the contract completion quantity is performed, and an order status indicating that it has been settled in association with the order identification information 0202 included in the notification of contract completion. Tasu information is stored in the order storing unit 110. Then, when a process of transferring money from the account of the customer account number 001-00123 × to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number 001-00123 × of the customer is performed. The order storage unit 110 stores order status information indicating that the remittance is completed in association with the order identification information 0202 and date information of the remittance date.

図7は、顧客データベース150に格納される情報を例示する説明図であり、顧客データベース150が有するデータテーブルを例示する説明図である。
このデータテーブルは、顧客の氏名、当該顧客の連絡先を示す連絡先情報、当該顧客の顧客口座番号、当該顧客が指定した送金先指定口座番号、当該顧客から口座解約の問合せ又は申し出があったか否かを示すの解約申出情報、顧客の端末装置21に表示された入力画面に入力された当該顧客の口座を抹消するか否かを指定する指定情報、及び、当該顧客の口座が抹消されたか否かを示す抹消有無情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された顧客氏名、連絡先、顧客口座番号、送金先指定口座番号、解約申出情報、指定情報、及び、抹消有無情報が互いに対応付けされるようになっている。連絡先情報は、当該顧客の電話番号、住所、電子メールアドレス等の情報を含み、連絡先情報を格納するためのフィールドは、電話番号、住所、電子メールアドレス等の情報を格納するための各領域を有しており、同一フィールドに記憶された電話番号、住所、電子メールアドレス等の情報は互いに対応付けされるようになっている。顧客データベース150はリレーショナル・データベースを用いて構成してもよい。
FIG. 7 is an explanatory diagram illustrating information stored in the customer database 150, and is an explanatory diagram illustrating a data table included in the customer database 150.
This data table includes the customer's name, contact information indicating the customer's contact information, the customer's customer account number, the remittance-designated account number specified by the customer, and whether or not the customer has inquired or offered an account cancellation. Cancellation information indicating whether or not the customer's account entered on the input screen displayed on the customer's terminal device 21 is to be deleted, and whether or not the customer's account has been deleted Each field for storing deletion information indicating whether or not is provided for each record, customer name, contact information, customer account number, remittance destination specified account number, cancellation offer information, specified information, stored in the same record, In addition, erasure presence / absence information is associated with each other. The contact information includes information such as the customer's telephone number, address, and e-mail address, and the fields for storing contact information include information such as the phone number, address, and e-mail address. It has an area, and information such as a telephone number, an address, and an e-mail address stored in the same field is associated with each other. Customer database 150 may be configured using a relational database.

図7の顧客データベース150に格納されているデータの例では、顧客の氏名は「田中○○」となっており、当該顧客の電話番号は「03−3824−××××」となっており、当該顧客の住所は「東京都文京区……」となっており、当該顧客の電子メールアドレスは「C00@×××.jp」となっており、当該顧客の顧客口座番号は「001−00123×」となっており、当該顧客が指定した送金先指定口座番号は「123−12345×」となっており、解約申出情報は「申し出有り」を示す情報となっており、指定情報は「解約」を指定する解約指定情報となっており、抹消有無情報は当該顧客の顧客口座が抹消されていないことを示すデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。なお、解約申出情報は、例えば注文処理装置12が設置された金融機関10の社員である顧客担当者が顧客から電話で口座解約の問合せを受けた場合又は顧客担当者が社内端末装置で顧客の端末装置21からの電子メールにより口座解約の問合せを受けた場合に、顧客担当者により注文処理装置12に接続された社内端末装置から当該顧客の氏名、顧客の電話番号及び/又は顧客からの電子メールの送信元メールアドレスに対応付けて顧客データベース150に口座解約の問合せがあった旨の解約申出情報が格納されるようになっており、顧客担当者が顧客から電話で口座解約の申し出を受けた場合又は顧客担当者が社内端末装置で顧客の端末装置21からの電子メールにより口座解約の申し出を受けた場合に、顧客担当者により注文処理装置12に接続された社内端末装置から当該顧客の氏名、顧客の電話番号及び/又は顧客からの電子メールの送信元メールアドレスに対応付けて顧客データベース150に口座解約の申し出があった旨の解約申出情報が格納されるようになっている。   In the example of the data stored in the customer database 150 of FIG. 7, the customer's name is “Tanaka XX”, and the customer's telephone number is “03-3824-XXX”. The customer's address is “Bunkyo-ku, Tokyo ...”, the customer's e-mail address is “C00@xxx.jp”, and the customer account number of the customer is “001- 00123x ", the remittance destination designated account number designated by the customer is" 123-12345x ", the cancellation offer information is information indicating" there is an offer ", and the designated information is" It is the cancellation specification information that specifies `` cancellation '', the deletion information is a default value indicating that the customer account of the customer has not been deleted, and these data are stored in the same record and correspond to each other Has beenNote that the cancellation offer information is obtained when, for example, a customer representative who is an employee of the financial institution 10 in which the order processing device 12 is installed receives an account cancellation inquiry from the customer or the customer representative uses the in-house terminal device and When an account cancellation inquiry is received by e-mail from the terminal device 21, the customer's person in charge from the in-house terminal device connected to the order processing device 12, the customer's name, the customer's telephone number and / or the electronic from the customer Cancellation request information indicating that an account cancellation inquiry has been made is stored in the customer database 150 in association with the email address of the email sender, and the customer representative receives a request for account cancellation over the phone from the customer. If the customer contact person receives an application for account cancellation by e-mail from the customer terminal device 21 at the in-house terminal device, A cancellation request indicating that an account cancellation request has been made to the customer database 150 in correspondence with the name of the customer, the customer's telephone number, and / or the email address of the customer's e-mail from the in-house terminal device connected to 12 Information is stored.

また、図7の顧客データベース150に格納されているデータの例では、顧客の氏名は「山田△△」となっており、当該顧客の電話番号は「03−3243−××××」となっており、当該顧客の住所は「東京都新宿区……」となっており、当該顧客の電子メールアドレスは「D00@×××.jp」となっており、当該顧客の顧客口座番号は「001−01234×」となっており、当該顧客が指定した送金先指定口座番号は「234−23456×」となっており、解約申出情報は「無し(即ち問合せ及び申し出無し)を示す情報となっており、指定情報は「維持(即ち口座解約しない)」を指定する維持指定情報となっており、抹消有無情報は当該顧客の顧客口座が抹消されていないことを示すデフォルト値となっており、これらのデータが同一レコードに格納されて互いに対応付けされている。なお、顧客データベース150において顧客氏名はカタカナを用いる構成としてもよい。   Further, in the example of data stored in the customer database 150 of FIG. 7, the name of the customer is “Yamada Δ △”, and the telephone number of the customer is “03-3243-xxx”. The customer's address is "Shinjuku-ku, Tokyo ...", the customer's e-mail address is "D00@xxx.jp", and the customer's customer account number is " 001-01234 × ”, the remittance destination designated account number designated by the customer is“ 234-23456 × ”, and the cancellation offer information is information indicating“ none (that is, no inquiry or offer) ”. The designated information is maintenance designated information that designates “maintain (that is, do not cancel the account)”, and the deletion presence / absence information is a default value indicating that the customer account of the customer has not been deleted, These data They are associated with each other are stored in one record. In the customer database 150, the customer name may use katakana.

第2の実施形態に係る注文処理装置12において、顧客口座データベース200に格納される情報と顧客口座データベース200が有するデータテーブルを、図4を参照して説明する例示する。
このデータテーブルは、顧客の顧客口座番号、当該顧客口座番号の口座に預けられた当該顧客が有する資金である預り金の金額、当該顧客口座番号の口座に預けられた当該顧客が有するマネーリザーブファンド(MRF)の資産情報、及び、当該顧客口座番号の口座に預けられた当該顧客が有する株式の資産情報を格納するための各フィールドがレコード毎に設けてあり、同一レコードに格納された預り金の金額、MRFの資産情報、及び、株式の資産情報が互いに対応付けされるようになっている。MRFの資産情報はMRFの口数と当該口数の評価金額(即ち当該口数のMRFを解約した場合の解約金額)の情報を含み、MRFの資産情報を格納するためのフィールドはMRFの口数と当該口数の解約金額を格納するための各領域を有しており、同一フィールドに格納されたMRFの口数と当該口数の解約金額は互いに対応付けされるようになっている。また、株式の資産情報は顧客が有する株式の銘柄コード及び数量の情報を含み、顧客が有する株式の資産情報を格納するためのフィールドは、当該顧客が有する株式の銘柄コード毎に設けられ、株式の銘柄コードと当該株式の数量を格納するための各領域を有しており、同一フィールドに格納された銘柄コードと数量は互いに対応付けされるようになっている。顧客口座データベース200はリレーショナル・データベースを用いて構成してもよい。顧客の口座は例えば当該顧客が金融機関10に開設した証券総合口座としてもよい。送金部140は、顧客口座データベース200のMRFの資産情報を格納するためのフィールドに格納されたMRFの口数と当該口数の評価金額のうち評価金額をMRFの全口数の解約金額として取得して記憶部に記憶するようにしてもよい。
In the order processing apparatus 12 according to the second embodiment, information stored in the customer account database 200 and a data table included in the customer account database 200 will be described with reference to FIG.
This data table shows the customer account number of the customer, the amount of the deposit that is the money held by the customer deposited in the account of the customer account number, the money reserve fund held by the customer deposited in the account of the customer account number (MRF) asset information and each field for storing asset information of stock held by the customer in the account of the customer account number is provided for each record, and the deposit stored in the same record , MRF asset information, and stock asset information are associated with each other. The MRF asset information includes information on the number of MRFs and the evaluation amount of the number of units (that is, the amount of cancellation when the MRF of the number of units is canceled). The number of MRF units stored in the same field and the amount of cancellation for the number are associated with each other. The stock asset information includes information on the stock code and quantity of the stock held by the customer, and the field for storing the stock asset information of the customer is provided for each stock stock code of the customer. The stock code and each area for storing the stock quantity are stored, and the stock code and quantity stored in the same field are associated with each other. The customer account database 200 may be configured using a relational database. The customer account may be, for example, a securities general account opened by the customer in the financial institution 10. The remittance unit 140 acquires and stores the evaluation amount of the MRF units stored in the field for storing the MRF asset information of the customer account database 200 and the evaluation amount of the unit as the cancellation amount of all units of the MRF. You may make it memorize | store in a part.

図4の顧客口座データベース200のデータテーブルに格納されているデータの例では、顧客の顧客口座番号は「001−00123×」となっており、当該顧客の有する預り金の金額は「0円」となっており、当該顧客の有するMRFの口数は「3500口」であるとともに当該MRFの評価金額は「3500円」となっており、当該顧客の有する株式の資産情報を格納するためのフィールドは第1株式フィールド及び第2株式フィールドが設けられており、第1株式フィールドに格納された銘柄コードは「86×○」であるとともにその数量は「1000株」となっており、第2株式フィールドに格納された銘柄コードは「86×△」であるとともにその数量は「2000株」となっており、当該顧客は銘柄コード86×○の株式1000株と銘柄コード86×△の株式2000株と3500円相当のMRF3500口を有していることを示している。なお、図7の顧客データベース200に格納された情報において、顧客氏名が「田中○○」である顧客の顧客口座番号が「001−00123×」であることから、図4の顧客口座データベース200に格納されている情報は顧客氏名が「田中○○」の顧客が顧客口座番号001−00123×の口座に預けてある当該顧客が有する資金の金額、MRFの口数とその評価金額、並びに、株式の銘柄コード及び数量を示すものとなっている。   In the example of the data stored in the data table of the customer account database 200 in FIG. 4, the customer account number of the customer is “001-00123 ×”, and the amount of the deposit held by the customer is “0 yen”. The number of MRFs held by the customer is “3500 units” and the valuation amount of the MRF is “3500 yen”. The field for storing the asset information of the stock held by the customer is The first stock field and the second stock field are provided. The stock code stored in the first stock field is “86 × ○” and the quantity is “1000 shares”. The second stock field The stock code stored in is “86 × △” and the quantity is “2000 shares”, and the customer has 1000 stocks of stock code 86 × ○. It is shown that has a brand code 86 × △ of shares 2000 shares and 3500 yen worth of MRF3500-neck with. In the information stored in the customer database 200 of FIG. 7, the customer account number of the customer whose customer name is “Tanaka XX” is “001-00123 ×”, so the customer account database 200 of FIG. The stored information includes the amount of funds held by the customer whose customer name is “Tanaka XX” in the account of customer account number 001-00123 ×, the number of MRFs and their evaluation amount, It shows the stock code and quantity.

第2の実施形態に係る注文処理装置12の処理動作の一例を、図5のフローチャートを参照して説明する。
顧客は、端末装置21から、顧客の顧客口座番号及び株式売買注文の内容を示す注文情報を入力して顧客口座番号及び注文情報を注文処理装置12に送信する。
注文処理装置12の送受信部170は、顧客の端末装置21から、顧客の顧客口座番号及び株式売買注文の内容を示す注文情報を受け取って受取情報記憶部に記憶する(ステップS1)。なお、送受信部170は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されているか判断し、当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されている場合に当該顧客の顧客口座番号及び注文情報を注文格納部110に格納するための格納制御信号が格納制御部から注文格納部110に出力されることを抑止部により抑止するとともに顧客の端末装置21に注文入力には口座開設が必要である旨のメッセージを表示出力するようになっている。
An example of the processing operation of the order processing apparatus 12 according to the second embodiment will be described with reference to the flowchart of FIG.
The customer inputs the customer account number and order information indicating the content of the stock trading order from the terminal device 21 and transmits the customer account number and the order information to the order processing device 12.
The transmission / reception unit 170 of the order processing device 12 receives the order information indicating the customer account number of the customer and the content of the stock trading order from the customer terminal device 21, and stores it in the receipt information storage unit (step S1). The transmission / reception unit 170 stores in the customer database 150 deletion information indicating that the customer's account has been deleted in association with the customer's customer account number received from the customer's terminal device 21 and stored in the received information storage unit. If the customer database 150 stores deletion information indicating that the customer account has been deleted in association with the customer account number of the customer, the customer account number and order information of the customer are stored in the order. A message that the storage control signal for storing in the unit 110 is output from the storage control unit to the order storage unit 110 by the suppression unit and that an account needs to be opened for order input to the customer terminal device 21 Is displayed and output.

判断部160は、顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報が顧客データベース150に格納されていない場合であって顧客の端末装置21から送受信部170が受け取って受取情報記憶部に記憶した注文情報が示す注文の売買区分が売りを示す情報である場合に、当該注文情報が示す注文対象の株式の銘柄識別情報及び数量と、送受信部170が受け取って受取情報記憶部に記憶した顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、顧客が有する株式が全て売注文の対象となっているか否かを判断する(ステップS2)。   The determination unit 160 does not store in the customer database 150 deletion information indicating that the customer's account has been deleted in association with the customer's customer account number received from the customer's terminal device 21 and stored in the received information storage unit. In the case where the order trading indicated by the order information received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit is information indicating sale, the stock to be ordered indicated by the order information Stock identification information and quantity, and stock identification information and quantity of stock held by the customer corresponding to the customer account number of the customer received by the transmission / reception unit 170 and stored in the receipt information storage unit. In step S2, it is determined whether or not all the stocks owned by the customer are subject to the selling order.

判断部160により顧客が有する株式が全て売注文の対象となっていないと判断された場合に、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する(ステップS5)。
判断部160により顧客が有する株式が全て売注文の対象となっていると判断された場合に、送受信部170は、顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を顧客の端末装置21に表示し、入力画面に入力された指定情報を顧客の端末装置21から受け取って当該顧客の顧客口座番号に対応付けて顧客データベース150に格納する(ステップS3)。また、注文格納部110は、送受信部170が顧客の端末装置21から受け取って受取情報記憶部に記憶した顧客の顧客口座番号及び株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納する(ステップS5)。
When the determination unit 160 determines that not all stocks held by the customer are subject to the sales order, the order storage unit 110 is received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit. Order information indicating the customer account number of the customer and the content of the stock trading order, order identification information for identifying the order information, and order status information indicating an unordered state are stored in association with each other ( Step S5).
When the determination unit 160 determines that all stocks held by the customer are subject to a sales order, the transmission / reception unit 170 inputs input information for designating whether or not to cancel the customer's account The screen is displayed on the customer terminal device 21, and the designation information input on the input screen is received from the customer terminal device 21 and stored in the customer database 150 in association with the customer account number of the customer (step S3). Further, the order storage unit 110 identifies the order information indicating the customer account number of the customer and the content of the stock trading order received by the transmission / reception unit 170 from the customer terminal device 21 and stored in the receipt information storage unit, and the order information. Order identification information for ordering and order status information indicating that the order has not been placed are stored in association with each other (step S5).

発注部120は、未発注の状態であることを示す注文ステータス情報に対応付けて注文格納部110に格納されている株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所30の売買システム31に送信することにより、株式売買注文の発注処理を行い、発注処理が行われた当該株式売買注文の注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該株式売買注文の注文識別情報に対応付けて発注日を示す日付情報を注文格納部110に格納する処理を行う(ステップS6)。   The ordering unit 120 is associated with order status information indicating an unordered state, order information indicating the content of a stock trading order stored in the order storage unit 110, and order identification for identifying the order information. An order input message including information is transmitted to the trading system 31 of the stock exchange 30 to perform the ordering process of the stock trading order, and the order is associated with the order identification information of the stock trading order for which the ordering process has been performed. Date information indicating the order date associated with the order identification information of the stock buy / sell order while performing processing for updating the order status information stored in the storage unit 110 to order status information indicating that the order is being placed Is stored in the order storage unit 110 (step S6).

約定受信部130は、証券取引所30から株式売買注文が約定したことを示す約定成立通知を受信した場合に、約定成立通知を当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納する処理を行い、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、当該約定成立通知に含まれる注文識別情報に対応付けて約定成立通知を受信した約定日を示す日付情報を注文格納部110に格納する処理を行う。また、約定成立通知に含まれる注文識別情報に対応付けて約定日に決済期間格納部の決済期間を加えた営業日を示す日付情報を決済日として注文格納部110に格納する処理を行う(ステップS7)。   When the contract receiving unit 130 receives a contract completion notification indicating that a stock trading order has been executed from the stock exchange 30, the contract receiving unit 130 associates the contract completion notification with the order identification information included in the contract completion notification. 110, the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification is updated to order status information indicating that the contract has been executed. In addition to performing the process, the process stores the date information indicating the contract date that received the contract completion notification in the order storage unit 110 in association with the order identification information included in the contract completion notification. Further, a process of storing date information indicating a business day in which the settlement period of the settlement period storage unit is added to the contract date in association with the order identification information included in the contract establishment notification is stored in the order storage unit 110 as a settlement date (Step S110). S7).

送金部140は、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている決済日の日付情報が示す決済日当日に、当該約定成立通知に含まれる注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された諸経費を減じた売却金額を、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客の口座の資金残高に加算して残高更新することにより売却金額を顧客の口座に入金する処理を行うとともに、当該約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行う。そして、当該約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行う(ステップS8)。   The remittance unit 140 is a transaction classification of the order included in the contract completion notification on the settlement date indicated by the date information of the settlement date stored in the order storage unit 110 in association with the order identification information included in the contract completion notification. Is the information indicating the sale, subtract the overheads stored in the storage unit that stores the overheads of the order from the contract amount obtained by multiplying the promised completion price of the order included in the notification of completion of the order by the promised completion quantity. Of the customer's account associated in the customer account database 200 with the customer's customer account number stored in the order storage unit 110 in association with the order identification information included in the notification of successful execution. By adding the funds to the balance and updating the balance, the sale amount is credited to the customer's account, and the execution amount of the stock in the identification information included in the notification of execution Subtracted to the customer the customer account number from the stock quantity balance of the stock identification information associated with the customer account database 200 performs a process of balance update. Then, a process of updating the order status information stored in the order storage unit 110 in association with the order identification information included in the execution notification of the contract to the order status information indicating that the payment has been completed (step S8). ).

次に送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断し、当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるか判断するとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるか判断する(ステップS9)。当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、上記顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された当該解約金額を顧客の口座の資金残高に加算して残高更新することにより解約金額を顧客の口座に入金する処理を行い、解約金額及び売却金額が入金された顧客の口座の資金残高全額を当該顧客の口座から当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行うとともに、当該顧客の顧客口座番号に対応付けて顧客口座データベース200に格納されている顧客のマネーリザーブファンドの口数残高を0にする処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記資金残高全額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS10)。   Next, the remittance unit 140 is cancellation designation information that designates that the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 cancels the customer account. If the designation information stored in the customer database 150 in association with the customer account number of the customer is cancellation designation information for designating cancellation of the customer account, the customer account number of the customer is Among the order information stored in the order storage unit 110 in association with each other, the order status information associated with the order information, which is information indicating that the trading category indicates selling, is in an unordered, ordering, or contracted state. In addition, it is determined whether there is order status information indicating that only one of the order status information associated with the order information has been settled. To determine whether there is an order status information (step S9). Among the order information stored in the order storage unit 110 in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale is not yet ordered. And when there is no order status information indicating that the order is closed, and there is order status information indicating that only one of the order status information associated with the order information is settled, The cancellation amount stored in the storage unit storing the cancellation amount of all the money reserve funds of the customer associated with the customer account database 200 with respect to the customer account number of the customer is used as the funds balance of the customer account. The balance of funds in the customer's account where the cancellation amount and the sale amount have been deposited is processed by adding the cancellation amount to the customer's account by adding and updating the balance. Perform processing to transfer the amount from the customer's account to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer, and associate the amount with the customer account number of the customer Then, a process of setting the number balance of the customer's money reserve fund stored in the customer account database 200 to 0 is performed. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing in the order storage unit 110 date information indicating a remittance date in which processing for transferring the full amount of the funds balance to the account of the remittance destination designated account number is performed in association with the order identification information included in the notification ( Step S10).

送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS11)。
送金部140は、注文格納部110から取得した当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている指定情報が顧客の口座を解約することを指定する解約指定情報でないときに、売却金額が入金された顧客の顧客口座番号の口座から売却金額を当該顧客の顧客口座番号に対応付けて顧客データベース150に格納されている送金先指定口座番号の口座に振り替えるための処理を行う。そして、約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納されている注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行うとともに、約定成立通知に含まれる注文識別情報に対応付けて上記送金先指定口座番号の口座に上記売却金額を振り替えるための処理を行った送金日を示す日付情報を注文格納部110に格納する処理を行う(ステップS11)。
The remittance unit 140 determines that the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 is cancellation designation information for designating cancellation of the customer account. In the order status information associated with the order information corresponding to the order information which indicates that the sales category is sold out of the order information stored in the order storage unit 110 in association with the customer account number of the customer, When there is order status information indicating that it is in the middle or contracted state, or information indicating that the sales category indicates selling among the order information stored in the order storage unit 110 in association with the customer account number of the customer There is no order status information indicating that the order status information associated with the order information is in the unordered, in-ordering, or contracted state. If there is more than one order status information indicating that the order has been settled in the order status information associated with the sentence information, the sale amount is received from the account of the customer account number of the customer who received the sale amount. The processing for transferring to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number is performed. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing date information indicating the remittance date in which the process for transferring the sale amount to the account of the remittance destination designated account number in association with the order identification information included in the notification is stored in the order storage unit 110 (step) S11).
The remittance unit 140, when the designation information stored in the customer database 150 in association with the customer account number of the customer acquired from the order storage unit 110 is not cancellation designation information for designating cancellation of the customer account, Processing for transferring the sale amount from the account of the customer account number of the customer to whom the sale amount has been deposited to the account of the remittance destination designated account number stored in the customer database 150 in association with the customer account number of the customer is performed. Then, processing is performed to update the order status information stored in the order storage unit 110 in association with the order identification information included in the notice of fulfillment of the order to order status information indicating that the remittance has been completed. A process of storing date information indicating the remittance date in which the process for transferring the sale amount to the account of the remittance destination designated account number in association with the order identification information included in the notification is stored in the order storage unit 110 (step) S11).

口座抹消処理部190は、注文格納部110に格納されている送金日の日付情報が示す日の中に、予め設定された所定期間に含まれているものがある場合に、当該所定期間に含まれる送金日の日付情報に対応付けて注文格納部110に格納されている顧客の顧客口座番号に対して顧客データベース150で対応付けされた指定情報が顧客の口座を解約することを指定する解約指定情報であるか判断する。また、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報があるか判断する。当該顧客の顧客口座番号に対応付けて解約指定情報が顧客データベース150に格納されている場合であって、当該顧客の顧客口座番号に対応付けて注文格納部110に格納されている注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して顧客口座データベース200で対応付けされた当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量を顧客口座データベース200から読み出して当該顧客が有する資金、マネーリザーブファンドの口数並びに株式の数量が0であるか判断し、当該資金、口数並びに数量が0であるときに当該顧客の顧客口座番号を抹消口座データベース210に格納するとともに当該格納日に顧客口座データベース200から削除する処理を行い、当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を顧客データベース150に格納する処理を行う(ステップS12)。   The account deletion processing unit 190 is included in the predetermined period when there is one included in the preset predetermined period among the dates indicated by the date information of the remittance date stored in the order storage unit 110. Cancellation designation that specifies that the designation information associated with the customer database 150 with respect to the customer account number of the customer stored in the order storage unit 110 in association with the date information of the remittance date is to cancel the customer account. Determine if it is information. In addition, unordered in the order status information associated with the order information, which is information indicating that the trade classification is sold, among the order information stored in the order storage unit 110 in association with the customer account number of the customer, During ordering, it is determined whether or not there is order status information indicating that the contract has been settled and settled. Of the order information stored in the order storage unit 110 in association with the customer account number of the customer, the cancellation designation information is stored in the customer database 150. If there is no order status information indicating that the order status information associated with the order information, which indicates that the trading category indicates selling, is in the unordered, in-ordering, contracted, and settled status, the customer The customer's account number associated with the customer account database 200 is read from the customer account database 200 and the number of shares and money reserve funds is read from the customer account database 200 and the number of money and money reserve funds the customer has In addition, it is determined whether the number of shares is 0, and when the funds, number and quantity are 0, The number is stored in the deletion account database 210 and is deleted from the customer account database 200 on the storage date, and the deletion existence information indicating that the customer's account has been deleted is associated with the customer account number of the customer. The process stored in 150 is performed (step S12).

なお、本実施形態では、決済日に売注文の約定金額と売却金額を算出する構成例を示したが、約定日に売注文の約定金額と売却金額を算出して約定成立通知に含まれる注文識別情報に対応付けて注文格納部110に格納し、決済日当日に当該決済日の日付情報に対応付けて注文格納部110に格納されている約定成立通知と売却金額と顧客口座番号と注文識別情報を読み出して当該顧客口座番号の顧客口座の残高更新を行うようにしてもよい。注文処理装置12をサーバコンピュータ、ホストコンピュータ等のコンピュータを用いて構成し、コンピュータを注文格納部110、発注部120、約定受信部130、送金部140、顧客データベース150、判断部160、送受信部170、口座抹消処理部190、顧客口座データベース200、及び、抹消口座データベース210として機能させるためのプログラムをコンピュータにインストールして注文処理装置12の処理動作を行わせる構成としてもよい。   In this embodiment, a configuration example is shown in which the contract amount and the sale amount of the sales order are calculated on the settlement date. However, the order included in the execution notification is calculated by calculating the contract amount and the sale amount of the sale order on the contract date. The contract confirmation notice, the sale amount, the customer account number, and the order identification stored in the order storage unit 110 in association with the identification information and stored in the order storage unit 110 in association with the date information on the settlement date. The balance of the customer account of the customer account number may be updated by reading the information. The order processing apparatus 12 is configured using a computer such as a server computer or a host computer, and the computer includes an order storage unit 110, an ordering unit 120, a contract receiving unit 130, a remittance unit 140, a customer database 150, a determining unit 160, and a transmitting / receiving unit 170. A program for causing the account deletion processing unit 190, the customer account database 200, and the deletion account database 210 to function may be installed in a computer and the processing operation of the order processing device 12 may be performed.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。その様な変更又は改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

本発明の実施形態に係る注文処理装置の一例を示すブロック図である。It is a block diagram which shows an example of the order processing apparatus which concerns on embodiment of this invention. 注文格納部110に格納される情報の一例を示す説明図である。It is explanatory drawing which shows an example of the information stored in the order storage part. 顧客データベース150に格納される情報の一例を示す説明図である。It is explanatory drawing which shows an example of the information stored in the customer database. 顧客口座データベース200に格納される情報の一例を示す説明図である。It is explanatory drawing which shows an example of the information stored in the customer account database. 本発明の実施形態に係る注文処理装置の処理動作の一例を示すフローチャートである。It is a flowchart which shows an example of the processing operation of the order processing apparatus which concerns on embodiment of this invention. 注文格納部110に格納される情報の他の一例を示す説明図である。It is explanatory drawing which shows another example of the information stored in the order storage part. 顧客データベース150に格納される情報の他の一例を示す説明図である。It is explanatory drawing which shows another example of the information stored in the customer database.

符号の説明Explanation of symbols

10 金融機関
12 注文処理装置
21 端末装置
30 証券取引所
31 売買システム
40 送金先金融機関
41 勘定系システム
110 注文格納部
120 発注部
130 約定受信部
140 送金部
150 顧客データベース(指定情報格納部)
160 判断部
170 送受信部(注文受取部、取得部)
190 口座抹消処理部
200 顧客口座データベース
210 抹消口座データベース
DESCRIPTION OF SYMBOLS 10 Financial institution 12 Order processing apparatus 21 Terminal apparatus 30 Stock exchange 31 Trading system 40 Remittance financial institution 41 Account system 110 Order storage part 120 Ordering part 130 Contract receiving part 140 Remittance part 150 Customer database (designated information storage part)
160 Judgment Unit 170 Transmission / Reception Unit (Order Receiving Unit, Acquisition Unit)
190 Account Deletion Processing Unit 200 Customer Account Database 210 Deletion Account Database

Claims (25)

顧客の端末装置から、前記顧客を識別するための顧客識別情報及び株式売買注文の内容を示す注文情報であって当該注文の売買区分、注文対象の株式の銘柄識別情報及び数量を含む注文情報を受け取って受取情報記憶部に記憶する注文受取部と、
前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納する注文格納部と、
顧客を識別するための顧客識別情報に対応付けて当該顧客の顧客口座番号と当該顧客により指定された送金先指定口座番号とを格納する顧客データベースと、
前記注文格納部に格納された前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行う発注部と、
前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する約定受信部と、
前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行う送金部と
を備える注文処理装置において、
顧客の顧客口座番号に対応付けて当該顧客口座番号の口座に預けられた当該顧客が有する株式の銘柄識別情報及び数量を格納する顧客口座データベースと、
前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断する判断部と、
前記判断部により、前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合が行われ、当該照合の結果、前記株式の銘柄識別情報及び数量が一致しており、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する取得部と、
前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納された場合に、前記送金部により当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に前記売却金額を振り込むための処理が行われた後に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理を行う口座抹消処理部と
を備えることを特徴とする注文処理装置。
Order information including customer identification information for identifying the customer and the content of the stock buying and selling order from the customer's terminal device, the order information including the buying and selling classification of the order, stock identification information and quantity of the stock to be ordered An order receiving unit that receives and stores it in a receipt information storage unit;
In order to identify the order information, the customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit and the order information indicating the content of the stock trading order An order storage unit for storing in association with the order identification information of
A customer database that stores the customer account number of the customer and the remittance destination designated account number designated by the customer in association with customer identification information for identifying the customer;
By sending an order input message including order information indicating the contents of the stock trading order stored in the order storage unit and order identification information for identifying the order information to the stock exchange, the stock trading order An ordering department that processes
A notice of execution of the contract indicating that the stock trading order from the stock exchange has been executed, and order identification information for identifying the order information of the order, a trade classification of the order, an execution price and an execution quantity A contract receiving unit that receives a notification of contract completion including
When the trading category of the order included in the contract notification received by the contract receiver is information indicating sale, a contract obtained by multiplying the contract price of the order included in the contract notification by the contract volume A sale price obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the amount is stored in the order storage unit in association with the order identification information included in the notification of completion of the contract. An order processing apparatus comprising: a remittance unit that performs a process for transferring to an account of the remittance destination designated account number associated with the customer database with respect to the customer identification information;
A customer account database storing stock identification information and quantity of stocks held by the customer in the account of the customer account number in association with the customer account number of the customer;
The order receiving unit receives and receives the order receiving information storage unit when the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the receiving information storage unit is information indicating sale. The stock identification information and quantity of the stock held by the customer associated in the customer account database with respect to the customer account number of the customer stored in the customer database in association with the customer identification information stored in Determine whether or not all the stocks held by the customer identified by the customer identification information are subject to selling order by collating with the brand identification information and quantity of the stock to be ordered indicated by the order information A determination unit to
With respect to the customer account number of the customer stored in the customer database in association with the customer identification information received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit by the determining unit The stock identification information and quantity of the stock held by the customer associated in the customer account database and the stock identification information and quantity of the stock to be ordered indicated by the order information are collated, and as a result of the collation, When it is determined that the stock identification information and quantity of the stock match and all of the stock held by the customer identified by the customer identification information is subject to a sell order, the customer's account is canceled. An input screen for inputting designation information for designating whether or not is displayed on the customer terminal device, and the designation information input on the input screen is displayed from the customer terminal device. An acquisition unit for storing the designated information storage unit in association with only taken the customer identification information,
When cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer identification information, the remittance unit associates the customer database with the customer identification information. The customer account number of the customer stored in the customer database in association with the customer identification information after the process for transferring the sale amount to the account of the remittance destination designated account number stored in An order processing apparatus comprising: an account deletion processing unit that performs a process for deleting the account.
前記顧客データベースは、顧客を識別するための顧客識別情報に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する
ことを特徴とする請求項1記載の注文処理装置。
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with customer identification information for identifying the customer,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. Designation information for designating whether or not to cancel the customer's account when the cancellation offer information stored in the database is information indicating that there has been an inquiry or offer for account cancellation from the customer. An input screen for inputting is displayed on the customer's terminal device, and the designation information input on the input screen is received from the customer's terminal device and stored in the designation information storage unit in association with the customer identification information. The order processing apparatus according to claim 1.
前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客識別情報及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客識別情報に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客識別情報及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部と
を有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客識別情報及び注文情報と当該顧客識別情報及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客識別情報及び注文情報と前記計数部からの前記注文識別情報とを対応付けて格納する
ことを特徴とする請求項2記載の注文処理装置。
The order receiver is
Storage control signal for storing customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit and order information indicating the content of the stock trading order in the order storage unit A storage control unit that generates and outputs the customer identification information and order information together with the order storage unit;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database in association with the customer identification information for identifying the customer identification information is information indicating that there has been an account cancellation offer from the customer, or in the customer identification information A storage control signal for storing the customer identification information and the order information in the order storage unit is stored in the order storage unit from the storage control unit when the cancellation designation information is stored in the designation information storage unit in association with each other. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer identification information and order information output from the storage control unit And the storage control signal for storing the customer identification information and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit The order processing apparatus according to claim 2, wherein the customer identification information and order information from and the order identification information from the counting unit are stored in association with each other.
前記口座抹消処理部は、前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理として、当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断する
ことを特徴とする請求項1〜3の何れかに記載の注文処理装置。
The account deletion processing unit deletes the customer account number from the customer account database as a process for deleting the account of the customer account number of the customer stored in the customer database in association with the customer identification information. And performing a process of storing in the customer database the deletion presence / absence information indicating that the customer's account has been deleted in association with the customer identification information,
The order storage unit indicates that the customer account has been deleted in association with customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. Customer identification information for identifying the customer received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit and the stock buying and selling order when the deletion presence / absence information is not stored in the customer database The order information indicating the contents of the item is stored in association with the order identification information for identifying the order information,
The determination unit deletes that the customer account has been deleted in association with the customer identification information for identifying the customer received from the terminal device of the customer by the order receiving unit and stored in the reception information storage unit. Information indicating that the order selling / sending category indicated by the order information indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is sold when presence / absence information is not stored in the customer database. The customer account database with respect to the customer account number of the customer stored in the customer database in association with the customer identification information received by the order receiving unit and stored in the received information storage unit. The stock identification information and quantity of the stock held by the associated customer is collated with the stock identification information and quantity of the stock to be ordered indicated by the order information. The order processing apparatus according to any one of claims 1 to 3, wherein it is determined whether or not all stocks of the customer identified by the customer identification information are subject to a sales order. .
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記発注部は、前記未発注の状態であることを示す注文ステータス情報に対応付けて前記注文格納部に格納されている前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行い、発注処理が行われた当該注文の注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行い、
前記約定受信部は、前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信した場合に、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶し、前記判断用記憶部で前記顧客識別情報に対応付けて記憶された前記注文対象の株式の銘柄識別情報及び数量と、当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、当該顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっているか否かを判断し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行い、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行う
ことを特徴とする請求項1記載の注文処理装置。
The order storage unit includes customer identification information for identifying the customer received by the order receiving unit from the customer's terminal device and stored in the receipt information storage unit, and order information indicating the content of the stock trading order, and The order identification information for identifying the order information is stored in association with the order status information indicating that the order has not been placed,
The ordering unit is for identifying the order information indicating the content of the stock trading order stored in the order storage unit in association with the order status information indicating the unordered state and the order information. By sending an order input message including order identification information to the stock exchange, the order processing of the stock trading order is performed, and the order storage unit is associated with the order identification information of the order for which the order processing has been performed. A process of updating the stored order status information to order status information indicating that the order is being placed,
The contract receiving unit is a contract establishment notification indicating that the stock trading order from the stock exchange has been executed, and includes order identification information for identifying the order information of the order, and the trade classification and execution of the order. An order status indicating that the order status information stored in the order storage unit in association with the order identification information is in a contracted state when a notification of contract completion including a price and a contracted quantity is received. Process to update the information,
The determination unit is configured to receive the stock information when the order buying / receiving section indicated by the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Order information that is order information associated with order status information indicating that the order information stored in the order storage unit is not ordered or is in an ordering state, and the information indicating that the sales category indicates selling is included. The stock identification information and quantity of the stock to be ordered shown are stored in the determination storage unit in association with the customer identification information, and stored in the determination storage unit in association with the customer identification information The customer associated in the customer account database with the stock identification information and quantity of the stock to be ordered and the customer account number stored in the customer database in association with the customer identification information By checking the stock identification information and the quantity of the stock, it is determined whether or not all the stocks held by the customer identified by the customer identification information are subject to the selling order,
The remittance unit, when the trade classification of the order included in the contract establishment notification received by the contract reception unit is information indicating sale, the contracted quantity in the execution price of the order included in the contract establishment notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. A process for transferring the stored customer identification information to an account of the remittance destination designated account number associated with the customer database is performed and stored in the order storage unit in association with the order identification information. The order processing apparatus according to claim 1, wherein the order status information is updated to order status information indicating a remittance state.
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う
ことを特徴とする請求項5記載の注文処理装置。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Order information that is order information associated with order status information indicating that the order information stored in the order storage unit is not ordered or is in an ordering state, and the information indicating that the sales category indicates selling is included. The stock identification information and quantity of the stock to be ordered shown are stored in the integration storage unit in association with a selection flag indicating an unselected state, and the brand identification information stored in the integration storage unit And performs integration processing for storing the determination storage unit integrates the quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. Summing up each quantity of stocks of the brand identification information stored in the storage unit for integration and storing the total quantity and the brand identification information in the judgment storage unit in association with the customer identification information, and When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, Correspondingly, the number of stocks of the brand identification information stored in the integration storage unit and the brand identification information are stored in the determination storage unit in association with the customer identification information, and the brand identification information The process of updating the selection flag stored in the integration storage unit in association with the selection flag indicating the selected state is changed to a state in which each selection flag stored in the integration storage unit is all selected. The order processing apparatus according to claim 5, wherein the order processing device is repeatedly performed until a selection flag is displayed.
前記顧客口座データベースは、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンドの口数並びに株式の銘柄識別情報及び数量を対応付けて格納し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報を取得して当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高に加算して残高更新することにより前記売却金額を前記顧客の口座に入金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された前記解約金額を前記顧客の口座の資金残高に加算して残高更新することにより前記解約金額を前記顧客の口座に入金する処理を行い、前記解約金額及び前記売却金額が入金された前記顧客の口座の資金残高全額を当該顧客の口座から当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行うとともに当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの口数残高を0にする処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客識別情報に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報でないときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶し、
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号の口座を抹消するための処理を行う
ことを特徴とする請求項5記載の注文処理装置。
The customer account database is associated with the customer account number of the customer, and the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds, stock identification information and quantity of the stock Store
The remittance unit, when the trade classification of the order included in the contract establishment notification received by the contract reception unit is information indicating sale, the contracted quantity in the execution price of the order included in the contract establishment notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. Obtaining the stored customer identification information and associating with the customer identification information stored in the customer database in correspondence with the customer identification information of the customer account associated with the customer account database In addition to performing a process of adding the sale amount to the customer's account by adding to the balance of funds and updating the balance, the stock identification information included in the notice of contract completion A process of updating the balance by subtracting the fixed quantity from the stock quantity balance of the stock identification information associated with the customer account database with respect to the customer account number, and associating the order with the order identification information Performing a process of updating the order status information stored in the storage unit to order status information indicating a settled state;
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, the customer Among the order information stored in the order storage unit in association with the identification information, the order status information associated with the order information corresponding to the order information whose sale classification indicates selling is unordered, ordering, and contracted The customer account when there is no order status information indicating that it is in the state and there is order status information indicating that only one of the order status information associated with the order information has been settled The previous stored in the storage unit for storing the cancellation amount of all the money reserve funds of the customer stored in the customer account database in association with the number The cancellation amount is added to the funds balance of the customer's account, and the balance is updated to process the cancellation amount and depositing the cancellation amount into the customer's account. Performs a process for transferring the entire balance of funds from the customer's account to the account of the remittance destination designated account number stored in the customer database in association with the customer identification information, and in association with the customer account number A process of setting the number balance of the customer's money reserve fund stored in the customer account database to 0 is performed, and the order status information stored in the order storage unit in association with the order identification information is repaid Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, the customer Among the order information stored in the order storage unit in association with the identification information, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale is not ordered, being ordered, or contracted In the order status information indicating that the sales classification is information in the order information stored in the order storage unit in association with the customer identification information. There is no order status information in the associated order status information indicating that the order has not yet been placed, placed in order, or closed, and the order associated with the order information. When there is a plurality of order status information indicating that the status information has been settled, the sale amount is associated with the customer identification information from the account of the customer account number of the customer to which the sale amount has been deposited The process for transferring to the account of the remittance destination designated account number stored in the customer database is performed, and the order status information stored in the order storage unit in association with the order identification information is transferred. Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer identification information acquired from the order storage unit is not cancellation designation information for designating cancellation of the customer account, the sale amount A process for transferring the sale amount from the account of the customer account number of the customer to which the customer has been transferred to the account of the remittance destination designated account number stored in the customer database in association with the customer identification information, Performing a process of updating the order status information stored in the order storage unit in association with the order identification information to order status information indicating a remittance state,
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit. Of the order information stored in the order storage unit, the order information associated with the order status information indicating that the order has not yet been ordered, being placed in order, or in the contracted state, and the information indicating that the sales category indicates selling. The stock identification information and quantity of the stock to be ordered indicated by the order information are stored in the determination storage unit in association with the customer identification information,
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer identification information, and the customer identification information Among the order information stored in the order storage unit in association with the order status information associated with the order information, which is information indicating that the sales category is sold, unordered, under ordering, filled and settled If there is no order status information indicating that the customer account database is associated with the customer account number stored in the customer database in association with the customer identification information, the customer account database The number of shares held by the customer is read from the customer account database to determine whether the number of shares held by the customer is zero. Order processing apparatus according to claim 5, wherein the performing processing for deletion of the customer the customer account number of the account in association with the identification information stored in the customer database.
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客識別情報に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う
ことを特徴とする請求項7記載の注文処理装置。
The determination unit, when the order buying and selling classification indicated by the order information indicated by the order information received by the order receiving unit from the customer's terminal device and stored in the receiving information storage unit is information indicating sale, The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 and the customer identification information received by the order receiving unit from the customer terminal device and stored in the received information storage unit Of the order information stored in the order storage unit, the order information associated with the order status information indicating that the order has not yet been ordered, being placed in order, or in a contracted state, and the information indicating that the selling / selling category indicates selling. The stock identification information and quantity of the stock to be ordered indicated by the order information are stored in the integration storage unit in association with a selection flag indicating an unselected state, and the stock stored in the integration storage unit It performs integration processing for storing the determination storage unit by integrating the identity and quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. Summing up each quantity of stocks of the brand identification information stored in the storage unit for integration and storing the total quantity and the brand identification information in the judgment storage unit in association with the customer identification information, and When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, Correspondingly, the number of stocks of the brand identification information stored in the integration storage unit and the brand identification information are stored in the determination storage unit in association with the customer identification information, and the brand identification information The process of updating the selection flag stored in the integration storage unit in association with the selection flag indicating the selected state is changed to a state in which each selection flag stored in the integration storage unit is all selected. The order processing apparatus according to claim 7, wherein the order processing device is repeatedly performed until a selection flag is displayed.
前記顧客データベースは、顧客を識別するための顧客識別情報に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する
ことを特徴とする請求項7又は8記載の注文処理装置。
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with customer identification information for identifying the customer,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. Designation information for designating whether or not to cancel the customer's account when the cancellation offer information stored in the database is information indicating that there has been an inquiry or offer for account cancellation from the customer. An input screen for inputting is displayed on the customer's terminal device, and the designation information input on the input screen is received from the customer's terminal device and stored in the designation information storage unit in association with the customer identification information. The order processing apparatus according to claim 7 or 8, wherein
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が買いを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を加えた買付金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客識別情報を取得して当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高から減算して残高更新することにより前記買付金額を前記顧客の口座から出金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客識別情報に対応付けて前記顧客データベースに格納されている顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記取得部は、前記判断部により、前記顧客識別情報により識別される前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客識別情報に対応付けて指定情報格納部に格納する
ことを特徴とする請求項9記載の注文処理装置。
The remittance unit, when the trade classification of the order included in the contract completion notification received by the contract reception unit is information indicating purchase, the contracted fulfillment quantity in the contract finalization price included in the contract completion notification The order storage unit associates the purchase amount obtained by adding the overheads stored in the storage unit storing the overheads of the order with the contract amount multiplied by the order identification information included in the execution notification The customer account information stored in the customer account database and associated with the customer account number stored in the customer database in association with the customer identification information. By subtracting from the balance and updating the balance, the purchase amount is withdrawn from the customer's account, and the stock identification information included in the notice of contract completion is executed. The balance is updated by adding the standing quantity to the customer account number stored in the customer database in association with the customer identification information to the stock quantity balance of the brand identification information associated in the customer account database. Performing processing, updating the order status information stored in the order storage unit in association with the order identification information to order status information indicating a settled state,
When the determination unit determines that all the stocks of the customer identified by the customer identification information are subject to a sales order, the acquisition unit associates the customer with the customer identification information. The cancellation offer information stored in the database is information indicating that there is an account cancellation inquiry or offer from the customer, and is stored in the order storage unit in association with the customer identification information When there is no order status information indicating that the order status information associated with the order information, which is information indicating that the trade classification is purchase among the order information, is in an unordered, in-ordering and contracted state, An input screen for inputting designated information for designating whether or not to cancel the customer's account is displayed on the customer's terminal device, and the designated information entered on the input screen is displayed on the customer's terminal device. Order processing apparatus receives from the terminal device according to claim 9, characterized in that stored in the designated information storage unit in association with the customer identification information.
前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客識別情報及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客識別情報に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客識別情報及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部と
を有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客識別情報及び注文情報と当該顧客識別情報及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客識別情報及び注文情報と前記計数部からの前記注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する
ことを特徴とする請求項10記載の注文処理装置。
The order receiver is
Storage control signal for storing customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit and order information indicating the content of the stock trading order in the order storage unit A storage control unit that generates and outputs the customer identification information and order information together with the order storage unit;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database in association with the customer identification information for identifying the customer identification information is information indicating that there has been an account cancellation offer from the customer, or in the customer identification information A storage control signal for storing the customer identification information and the order information in the order storage unit is stored in the order storage unit from the storage control unit when the cancellation designation information is stored in the designation information storage unit in association with each other. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer identification information and order information output from the storage control unit And the storage control signal for storing the customer identification information and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit The order according to claim 10, wherein the customer identification information and order information from, the order identification information from the counting unit, and order status information indicating an unordered state are stored in association with each other. Processing equipment.
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客識別情報に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客識別情報に対応付けて前記顧客データベースに格納されている前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客識別情報に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客を識別するための顧客識別情報に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客識別情報に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客識別情報に対応付けて判断用記憶部に記憶する
ことを特徴とする請求項7〜11の何れかに記載の注文処理装置。
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer identification information, and the customer identification information Among the order information stored in the order storage unit in association with the order status information associated with the order information, which is information indicating that the sales category is sold, unordered, under ordering, filled and settled If there is no order status information indicating that the customer account database is associated with the customer account number stored in the customer database in association with the customer identification information, the customer account database The number of shares held by the customer is read from the customer account database to determine whether the number of shares held by the customer is zero. The deletion presence information to the effect that in association with the customer identification information is a customer's account has been canceled deletes the account number from the customer account database performs a process of storing in the customer database,
The order storage unit indicates that the account of the customer has been deleted in association with customer identification information for identifying the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit. Customer identification information for identifying the customer received by the order receiving unit from the terminal device of the customer and stored in the received information storage unit and the stock buying and selling order when the deletion presence / absence information is not stored in the customer database The order information indicating the contents of the order, the order identification information for identifying the order information, and the order status information indicating the unordered state are stored in association with each other,
The determination unit deletes that the customer account has been deleted in association with the customer identification information for identifying the customer received from the customer terminal device and stored in the receipt information storage unit Information indicating that selling / buying of the order indicated by the order information indicated by the order information received by the order receiving unit from the terminal device of the customer and stored in the receiving information storage unit is presence or absence information is not stored in the customer database The order identification information and quantity indicated by the order information stored in the receipt information storage unit, and the order reception unit receives from the terminal device of the customer and stores it in the receipt information storage unit. Order status information indicating that the order information stored in the order storage unit in association with the stored customer identification information is in an unordered, ordering, or contracted state. The stock identification information and quantity of the stock to be ordered indicated by the order information which is the order information associated with the information and indicates that the trade classification indicates selling is stored in the determination storage unit in association with the customer identification information. The order processing apparatus according to claim 7, wherein the order processing apparatus stores the order processing apparatus.
顧客の端末装置から、前記顧客の顧客口座番号及び株式売買注文の内容を示す注文情報であって当該注文の売買区分、注文対象の株式の銘柄識別情報及び数量を含む注文情報を受け取って受取情報記憶部に記憶する注文受取部と、
前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納する注文格納部と、
顧客の顧客口座番号に対応付けて当該顧客により指定された送金先指定口座番号を格納する顧客データベースと、
前記注文格納部に格納された前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行う発注部と、
前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信する約定受信部と、
前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行う送金部と
を備える注文処理装置において、
顧客の顧客口座番号に対応付けて当該顧客口座番号の口座に預けられた当該顧客が有する株式の銘柄識別情報及び数量を格納する顧客口座データベースと、
前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断する判断部と、
前記判断部により、前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合が行われ、当該照合の結果、前記株式の銘柄識別情報及び数量が一致しており、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する取得部と、
前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納された場合に、前記送金部により当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に前記売却金額を振り込むための処理が行われた後に、前記顧客の顧客口座番号の口座を抹消するための処理を行う口座抹消処理部と
を備えることを特徴とする注文処理装置。
Order information indicating the customer's customer account number and the content of the stock trading order from the customer's terminal device, receiving the order information including the trading category of the order, stock identification information and quantity of the stock to be ordered, and receipt information An order receiving unit stored in the storage unit;
Order identification information for identifying the order information indicating the customer account number of the customer and the content of the stock trading order received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit An order storage unit that stores the information in association with
A customer database that stores a remittance designated account number specified by the customer in association with the customer's customer account number;
By sending an order input message including order information indicating the contents of the stock trading order stored in the order storage unit and order identification information for identifying the order information to the stock exchange, the stock trading order An ordering department that processes
A notice of execution of the contract indicating that the stock trading order from the stock exchange has been executed, and order identification information for identifying the order information of the order, a trade classification of the order, an execution price and an execution quantity A contract receiving unit that receives a notification of contract completion including
A contract amount obtained by multiplying the contract completion price of the order included in the contract completion notification by the contract completion quantity when the order trade included in the contract completion notification received by the contract reception unit is information indicating sale. The sales amount obtained by subtracting the overhead stored in the storage unit that stores the overheads of the order is stored in the order storage unit in association with the order identification information included in the execution notification. An order processing apparatus comprising: a remittance unit that performs a process for transferring to an account of the remittance destination designated account number associated with the customer database with respect to a customer account number of a customer;
A customer account database storing stock identification information and quantity of stocks held by the customer in the account of the customer account number in association with the customer account number of the customer;
The order receiving unit receives and receives the order receiving information storage unit when the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the receiving information storage unit is information indicating sale. The stock identification information and quantity of the stock possessed by the customer associated with the customer account number of the customer stored in the customer account database, and the stock identification information and quantity of the stock to be ordered indicated by the order information, A determination unit that determines whether or not all the stocks of the customer are subject to a sell order by
Stocks of stock held by the customer associated in the customer account database with the customer account number of the customer received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit by the determination unit The identification information and quantity are matched with the stock identification information and quantity of the stock to be ordered indicated by the order information. As a result of the matching, the stock identification information and quantity of the stock match, and the customer When it is determined that all the stocks held are subject to a sell order, an input screen for inputting designation information for designating whether or not to cancel the customer's account is displayed on the terminal device of the customer. An acquisition unit that receives the designation information input on the input screen from the customer terminal device and stores it in the designation information storage unit in association with the customer account number of the customer;
When cancellation designation information for designating cancellation of the customer account is stored in the designation information storage unit in association with the customer account number of the customer, it is associated with the customer account number of the customer by the remittance unit The account deletion is performed to delete the account of the customer account number of the customer after the process of transferring the sale amount to the account of the remittance destination designated account number stored in the customer database is performed. An order processing apparatus comprising: a processing unit.
前記顧客データベースは、顧客の顧客口座番号に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する
ことを特徴とする請求項13記載の注文処理装置。
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with the customer account number of the customer,
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks of the customer are subject to a sales order. Input screen for inputting designation information for designating whether or not to cancel the account of the customer when the cancellation offer information is information indicating that there has been an inquiry or offer of account cancellation from the customer Is displayed on the customer's terminal device, and the designation information input on the input screen is received from the customer's terminal device and stored in the designation information storage unit in association with the customer account number of the customer. The order processing apparatus according to claim 13.
前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客口座番号及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客の顧客口座番号に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客口座番号及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部と
を有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客口座番号及び注文情報と当該顧客口座番号及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客口座番号及び注文情報と前記計数部からの前記注文識別情報とを対応付けて格納する
ことを特徴とする請求項14記載の注文処理装置。
The order receiver is
Generating a storage control signal for storing in the order storage unit order information indicating the customer account number of the customer and the content of the stock trading order received from the terminal device of the customer and stored in the receipt information storage unit; A storage control unit for outputting to the order storage unit together with the customer account number and order information;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database in association with the customer account number is information indicating that there has been an offer to cancel the account from the customer, or associated with the customer account number of the customer When the cancellation designation information is stored in the designation information storage unit, a storage control signal for storing the customer account number and order information in the order storage unit is sent from the storage control unit to the order storage unit. A deterrent unit that deters output and displays a message indicating that a purchase order cannot be input to the terminal device of the customer;
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a count result as order identification information, and the customer account number and order information output from the storage control unit And the storage control signal for storing the customer account number and the order information and the order identification information output from the counting unit, and the storage control unit based on the storage control signal from the storage control unit The order processing apparatus according to claim 14, wherein the customer account number and order information from and the order identification information from the counting unit are stored in association with each other.
前記口座抹消処理部は、前記顧客の顧客口座番号の口座を抹消するための処理として、当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客の顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を、当該注文情報を識別するための注文識別情報に対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記顧客の端末装置から前記注文受取部が受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、前記注文受取部が受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量と当該注文情報が示す前記注文対象の株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断する
ことを特徴とする請求項13〜15の何れかに記載の注文処理装置。
The account deletion processing unit deletes the customer account number from the customer account database as a process for deleting the account of the customer's customer account number, and associates the customer account number with the customer account number of the customer. A process of storing in the customer database the deletion presence / absence information indicating that it has been deleted,
The order storage unit has deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer by the order receiving unit and stored in the receipt information storage unit. Order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer terminal device and stored in the received information storage unit when not stored in the customer database, Store in association with the order identification information for identifying the order information,
The determination unit includes deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer by the order receiving unit and stored in the reception information storage unit. In the case where it is not stored in the customer database and the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is information indicating sale The stock identification information and quantity of the customer held in the customer account database corresponding to the customer account number of the customer received by the order receiving unit and stored in the receipt information storage unit, and the order information indicate It is determined whether or not all the stocks held by the customer are subject to selling orders by collating with the stock identification information and quantity of the stocks to be ordered. The order processing apparatus according to any one of claims 13 to 15, wherein
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記発注部は、前記未発注の状態であることを示す注文ステータス情報に対応付けて前記注文格納部に格納されている前記株式売買注文の内容を示す注文情報と当該注文情報を識別するための注文識別情報とを含む注文入力電文を証券取引所に送信することにより、前記株式売買注文の発注処理を行い、発注処理が行われた当該注文の注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を発注中の状態であることを示す注文ステータス情報に更新する処理を行い、
前記約定受信部は、前記証券取引所からの前記株式売買注文が約定したことを示す約定成立通知であって当該注文の注文情報を識別するための注文識別情報と当該注文の売買区分、約定成立値段及び約定成立数量とを含む約定成立通知を受信した場合に、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を約定済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記株式の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶し、前記判断用記憶部で前記顧客の顧客口座番号に対応付けて記憶された前記注文対象の株式の銘柄識別情報及び数量と、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客が有する株式の銘柄識別情報及び数量との照合を行うことにより、前記顧客が有する株式が全て売注文の対象となっているか否かを判断し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号に対して前記顧客データベースで対応付けされた前記送金先指定口座番号の口座に振り込むための処理を行い、当該注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行う
ことを特徴とする請求項13記載の注文処理装置。
The order storage unit identifies the order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer terminal device and stored in the receipt information storage unit, and the order information. Store the order identification information for ordering and the order status information indicating that the order has not been placed,
The ordering unit is for identifying the order information indicating the content of the stock trading order stored in the order storage unit in association with the order status information indicating the unordered state and the order information. By sending an order input message including order identification information to the stock exchange, the order processing of the stock trading order is performed, and the order storage unit is associated with the order identification information of the order for which the order processing has been performed. A process of updating the stored order status information to order status information indicating that the order is being placed,
The contract receiving unit is a contract establishment notification indicating that the stock trading order from the stock exchange has been executed, and includes order identification information for identifying the order information of the order, and the trade classification and execution of the order. An order status indicating that the order status information stored in the order storage unit in association with the order identification information is in a contracted state when a notification of contract completion including a price and a contracted quantity is received. Process to update the information,
The determination unit is configured to receive the stock information when the order buying / receiving section indicated by the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered or in an ordering state, and the order of sale is information indicating the sale The stock identification information and quantity of the stock to be ordered indicated by the information are stored in the determination storage unit in association with the customer account number of the customer, and the customer account of the customer is stored in the determination storage unit Stock identification information and quantity of the stock to be ordered stored in association with the issue, and stock identification information and quantity of the stock possessed by the customer associated with the customer account database for the customer account number of the customer To determine whether or not all the stocks of the customer are subject to sell orders,
The remittance unit, when the trade classification of the order included in the contract completion notification received by the contract reception unit is information indicating sale, the contracted fulfillment quantity in the contract finalization price included in the contract completion notification The sales amount obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by is associated with the order identification information included in the notification of completion of the execution in the order storage unit. A process for transferring to the account of the remittance destination designated account number associated with the customer database with respect to the stored customer account number of the customer is performed and associated with the order identification information in the order storage unit The order processing apparatus according to claim 13, wherein the order status information stored is updated to order status information indicating a remittance state.
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注又は発注中の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う
ことを特徴とする請求項17記載の注文処理装置。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered or in an ordering state, and the order of sale is information indicating the sale The stock identification information and quantity of the stock to be ordered indicated by the information are stored in the integration storage unit in association with the selection flag indicating the unselected state, and the brand stored in the integration storage unit It performs integration processing for storing the determination storage unit integrates the different information and quantity,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. While summing up each quantity of stocks of the brand identification information stored in the integration storage unit, the total quantity and the brand identification information are stored in the determination storage unit in association with the customer account number of the customer. When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, the brand identification is performed. Storing the stock quantity of the brand identification information stored in the integration storage unit in association with the information and the brand identification information in the judgment storage unit in association with the customer account number of the customer, and Each selection flag stored in the integration storage unit selects all the processing for updating the selection flag stored in the integration storage unit in association with the brand identification information to the selection flag indicating the selected state. 18. The order processing device according to claim 17, wherein the order processing device is repeatedly performed until a selection flag indicating a completed state is reached.
前記顧客口座データベースは、顧客の顧客口座番号に対応付けて、当該顧客口座番号の口座に預けられた当該顧客が有する資金の金額、マネーリザーブファンドの口数並びに株式の銘柄識別情報及び数量を対応付けて格納し、
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が売りを示す情報である場合に、当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額から当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を減じた売却金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号を取得して当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高に加算して残高更新することにより前記売却金額を前記顧客の口座に入金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高から減算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に1つだけ決済済の状態であることを示す注文ステータス情報があるときに、当該顧客の顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの全口数の解約金額を記憶する記憶部に記憶された前記解約金額を前記顧客の口座の資金残高に加算して残高更新することにより前記解約金額を前記顧客の口座に入金する処理を行い、前記解約金額及び前記売却金額が入金された前記顧客の口座の資金残高全額を当該顧客の口座から当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行うとともに当該顧客口座番号に対応付けて前記顧客口座データベースに格納されている前記顧客のマネーリザーブファンドの口数残高を0にする処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報である場合に、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中又は約定済の状態であることを示す注文ステータス情報があるとき、又は、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないとともに当該注文情報に対応付けられた注文ステータス情報の中に決済済の状態であることを示す注文ステータス情報が複数あるときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記注文格納部から取得した当該顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている前記指定情報が前記顧客の口座を解約することを指定する解約指定情報でないときに、前記売却金額が入金された前記顧客の顧客口座番号の口座から前記売却金額を当該顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記送金先指定口座番号の口座に振り替えるための処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を送金済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶し、
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに前記顧客の顧客口座番号の口座を抹消するための処理を行う
ことを特徴とする請求項17記載の注文処理装置。
The customer account database is associated with the customer account number of the customer, and the amount of funds held by the customer in the account of the customer account number, the number of money reserve funds, stock identification information and quantity of the stock Store
The remittance unit, when the trade classification of the order included in the execution notification received by the execution reception unit is information indicating sale, is executed at the execution price of the order included in the execution notification The order storage unit associates a sale price obtained by subtracting the overheads stored in the storage unit storing the overheads of the order from the contracted amount multiplied by the quantity with the order identification information included in the execution notification. The customer account number of the customer stored in the customer account number is added to the customer account number associated with the customer account database for the customer account number of the customer and the balance is updated to update the balance. The sale amount is credited to the customer's account, and the contract completion quantity of the stock of the brand identification information included in the execution notification is sent to the customer account number with respect to the customer account number. The balance is updated by subtracting the stock quantity balance of the stock identification information associated with the database, and the order status information stored in the order storage unit in association with the order identification information has been settled Process to update the order status information to show that
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, Among the order information stored in the order storage unit in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale, When there is no order status information indicating that the order is in the middle or contracted state, and there is order status information indicating that only one of the order status information associated with the order information is in a settled state , Storing the cancellation amount of the total number of money reserve funds of the customer stored in the customer account database in association with the customer account number of the customer The cancellation amount stored in the department is added to the balance of funds of the customer's account and the balance is updated to process the amount of cancellation to be credited to the customer's account. In addition, a process for transferring the full amount of funds in the customer account from the customer account to the account of the remittance destination designated account number stored in the customer database in association with the customer account number of the customer and The number of money reserve funds of the customer stored in the customer account database in association with the customer account number is set to 0, and stored in the order storage unit in association with the order identification information. Performing a process of updating the order status information to order status information indicating a remittance state;
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is cancellation designation information for designating cancellation of the customer account, Among the order information stored in the order storage unit in association with the customer account number of the customer, the order status information associated with the order information corresponding to the order information whose sale classification indicates sale, When there is order status information indicating a medium or contracted state, or in the order information stored in the order storage unit in association with the customer account number of the customer, the trading category indicates selling There is no order status information in the order status information associated with the order information, which is information, indicating that the order status information has not yet been ordered, being placed in order, or in a contracted state. When there is a plurality of order status information indicating that the settlement is completed in the assigned order status information, the sale amount is obtained from the account of the customer account number of the customer to which the sale amount has been deposited. The processing for transferring to the account of the remittance destination designated account number stored in the customer database in association with the customer account number of, and stored in the order storage unit in association with the order identification information Update the order status information to show the order status information indicating that the payment has been made,
When the designation information stored in the designation information storage unit in association with the customer account number of the customer acquired from the order storage unit is not cancellation designation information for designating cancellation of the customer account, Processing for transferring the sale amount from the account of the customer account number of the customer into which the sale amount has been deposited to the account of the remittance designated account number stored in the customer database in association with the customer account number of the customer Performing a process of updating the order status information stored in the order storage unit in association with the order identification information to order status information indicating a remittance state,
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. The stock identification information and quantity of the stock to be ordered indicated by the order information stored in FIG. 5 is associated with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit by the order receiving unit. The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered, in the order of being placed, or in a contracted state, and the information indicating that the sales division indicates sale The stock identification information and quantity of the stock to be ordered indicated by the order information is stored in the determination storage unit in association with the customer account number of the customer,
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer account number of the customer, Among the order information stored in the order storage unit in association with the customer account number, the order status information associated with the order information that is information indicating that the trading category indicates selling is not yet placed, placed in order, and executed In the case where there is no order status information indicating that the customer account has been settled and settled, the quantity of the stock held by the customer corresponding to the customer account number of the customer in the customer account database is obtained from the customer account database. Read and judge whether the quantity of stock held by the customer is 0, and when the quantity is 0, perform processing to delete the account of the customer account number of the customer The order processing apparatus according to claim 17, wherein:
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを未選択の状態を示す選択フラグに対応付けて統合用記憶部に記憶し、前記統合用記憶部に記憶された銘柄識別情報及び数量を統合して前記判断用記憶部に記憶するための統合処理を行い、
前記統合処理として、前記判断部は、未選択の状態を示す選択フラグに対応付けて前記統合用記憶部に記憶されている銘柄識別情報を前記統合用記憶部から読み出して1つの銘柄識別情報を選択し、読み出した銘柄識別情報の中に前記1つの銘柄識別情報と同じ銘柄識別情報が複数含まれているか判断し、複数含まれていると判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の各数量を合計して合計数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新し、複数含まれていないと判断した場合は、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている当該銘柄識別情報の株式の数量及び当該銘柄識別情報を前記顧客の顧客口座番号に対応付けて前記判断用記憶部に記憶するとともに、当該銘柄識別情報に対応付けて前記統合用記憶部に記憶されている選択フラグを選択済の状態を示す選択フラグに更新する処理を、前記統合用記憶部に記憶されている各選択フラグが全て選択済の状態を示す選択フラグとなるまで繰り返し行う
ことを特徴とする請求項19記載の注文処理装置。
The determination unit is configured to receive the order information when the order information indicated by the order information indicated by the order information received from the terminal device of the customer and stored in the receipt information storage unit is information indicating sale. Corresponding to the stock identification information and quantity of the stock to be ordered indicated by the order information stored in the item, and the customer account number of the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit The order information associated with the order status information indicating that the order information stored in the order storage unit is unordered, in the order of being placed, or in a contracted state, and the information indicating that the sales division indicates sale The stock identification information and quantity of the stock to be ordered indicated by the order information is stored in the integration storage unit in association with the selection flag indicating the unselected state, and stored in the integration storage unit Stock identification information and by integrating the quantity performs integration processing for storing the determination storage unit has,
As the integration process, the determination unit reads out the brand identification information stored in the integration storage unit in association with a selection flag indicating an unselected state from the integration storage unit and obtains one brand identification information. It is determined whether or not a plurality of the same brand identification information as the one brand identification information is included in the selected brand identification information, and if it is determined that the plurality of brand identification information is included, it is associated with the brand identification information. While summing up each quantity of stocks of the brand identification information stored in the integration storage unit, the total quantity and the brand identification information are stored in the determination storage unit in association with the customer account number of the customer. When the selection flag stored in the integration storage unit in association with the brand identification information is updated to a selection flag indicating a selected state, and it is determined that a plurality of selection flags are not included, the brand identification is performed. Storing the stock quantity of the brand identification information stored in the integration storage unit in association with the information and the brand identification information in the judgment storage unit in association with the customer account number of the customer, and Each selection flag stored in the integration storage unit selects all the processing for updating the selection flag stored in the integration storage unit in association with the brand identification information to the selection flag indicating the selected state. 20. The order processing device according to claim 19, wherein the order processing device is repeatedly performed until a selection flag indicating a completed state is reached.
前記顧客データベースは、顧客の顧客口座番号に対応付けて当該顧客からの口座解約の問合せ又は申し出の有無を示す解約申出情報を格納し、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する
ことを特徴とする請求項19又は20記載の注文処理装置。
The customer database stores cancellation offer information indicating the presence or absence of an account cancellation inquiry or offer from the customer in association with the customer account number of the customer,
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks of the customer are subject to a sales order. Input screen for inputting designation information for designating whether or not to cancel the account of the customer when the cancellation offer information is information indicating that there has been an inquiry or offer of account cancellation from the customer Is displayed on the customer's terminal device, and the designation information input on the input screen is received from the customer's terminal device and stored in the designation information storage unit in association with the customer account number of the customer. The order processing apparatus according to claim 19 or 20.
前記送金部は、前記約定受信部が受信した前記約定成立通知に含まれる前記注文の売買区分が買いを示す情報である場合に当該約定成立通知に含まれる前記注文の約定成立値段に約定成立数量を乗じた約定金額に当該注文の諸経費を記憶する記憶部に記憶された前記諸経費を加えた買付金額を、前記約定成立通知に含まれる前記注文識別情報に対応付けて前記注文格納部に格納されている前記顧客の顧客口座番号を取得して当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた前記顧客の口座の資金残高から減算して残高更新することにより前記買付金額を前記顧客の口座から出金する処理を行うとともに、前記約定成立通知に含まれる銘柄識別情報の株式の約定成立数量を当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該銘柄識別情報の株式の数量残高に加算して残高更新する処理を行い、前記注文識別情報に対応付けて前記注文格納部に格納されている前記注文ステータス情報を決済済の状態であることを示す注文ステータス情報に更新する処理を行い、
前記取得部は、前記判断部により、前記顧客が有する株式が全て売注文の対象となっていると判断された場合に、前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の問合せ又は申し出が有ったことを示す情報であるとともに当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が買いを示す情報である注文情報に対応付けられた注文ステータス情報の中に未発注、発注中及び約定済の状態であることを示す注文ステータス情報がないときに、前記顧客の口座を解約するか否かを指定する指定情報を入力するための入力画面を前記顧客の端末装置に表示し、前記入力画面に入力された指定情報を前記顧客の端末装置から受け取って前記顧客の顧客口座番号に対応付けて指定情報格納部に格納する
ことを特徴とする請求項21記載の注文処理装置。
The remittance unit, when the trade classification of the order included in the contract completion notification received by the contract reception unit is information indicating purchase, the contracted fulfillment quantity in the contract finalization price included in the contract completion notification The order storage unit associates the purchase amount obtained by adding the overheads stored in the storage unit storing the overheads of the order with the contract amount multiplied by the order identification information included in the execution notification The customer account number of the customer stored in the customer account number is subtracted from the fund balance of the customer account associated with the customer account database with respect to the customer account number of the customer to update the balance A process of withdrawing the purchase amount from the customer's account is performed, and the contract completion quantity of the stock of the brand identification information included in the execution notification is set with respect to the customer account number of the customer. The balance is updated by adding to the stock quantity balance of the stock identification information associated in the database, and the order status information stored in the order storage unit is settled in association with the order identification information Process to update the order status information to show that
The acquisition unit is stored in the customer database in association with the customer account number of the customer when the determination unit determines that all the stocks of the customer are subject to a sales order. Of the order information stored in the order storage unit in association with the customer account number of the customer and the information indicating that the cancellation offer information is an account cancellation inquiry or offer from the customer When there is no order status information indicating that the order status information associated with the order information, which is information indicating a buy / sell category, is unordered, ordering, and contracted, the customer's account is An input screen for inputting designation information for designating whether or not to cancel is displayed on the customer terminal device, and the designation information input on the input screen is received from the customer terminal device. Order processing apparatus according to claim 21, wherein the storing the designated information storage unit in association with the customer account number of the customer I.
前記注文受取部は、
前記顧客の端末装置から受け取って前記受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報を前記注文格納部に格納するための格納制御信号を生成して当該顧客口座番号及び注文情報とともに前記注文格納部に出力する格納制御部と、
前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報の注文の売買区分が買いを示す情報である場合に、前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記顧客データベースに格納されている前記解約申出情報が前記顧客からの口座解約の申し出が有ったことを示す情報であるとき又は当該顧客の顧客口座番号に対応付けて前記解約指定情報が前記指定情報格納部に格納されているときに、当該顧客の顧客口座番号及び注文情報を前記注文格納部に格納するための格納制御信号が前記格納制御部から前記注文格納部に出力されることを抑止するとともに前記顧客の端末装置に買注文の入力はできない旨のメッセージを表示出力する抑止部と
を有し、
前記注文格納部は、前記格納制御部からの前記格納制御信号を計数して計数結果を注文識別情報として出力する計数部を有し、前記格納制御部から出力された前記顧客の顧客口座番号及び注文情報と当該顧客の顧客口座番号及び注文情報を格納するための前記格納制御信号と前記計数部から出力された前記注文識別情報とを受け取り、前記格納制御部からの前記格納制御信号に基づいて前記格納制御部からの前記顧客の顧客口座番号及び注文情報と前記計数部からの前記注文識別情報と未発注の状態であることを示す注文ステータス情報とを対応付けて格納する
ことを特徴とする請求項22記載の注文処理装置。
The order receiver is
Generating a storage control signal for storing in the order storage unit order information indicating the customer account number of the customer and the content of the stock trading order received from the terminal device of the customer and stored in the receipt information storage unit; A storage control unit for outputting to the order storage unit together with the customer account number and order information;
The customer received from the customer terminal device and stored in the receipt information storage unit when the order trading section of the order information received from the customer terminal device and stored in the receipt information storage unit is information indicating purchase. When the cancellation offer information stored in the customer database in association with the customer account number is information indicating that there has been an offer to cancel the account from the customer, or associated with the customer account number of the customer When the cancellation designation information is stored in the designation information storage unit, a storage control signal for storing the customer account number and order information of the customer in the order storage unit is stored in the order storage unit from the storage control unit. And a deterring unit that displays and outputs a message indicating that a purchase order cannot be input to the customer terminal device,
The order storage unit includes a counting unit that counts the storage control signal from the storage control unit and outputs a counting result as order identification information, and the customer account number of the customer output from the storage control unit and Receiving the order information, the storage control signal for storing the customer account number of the customer and the order information, and the order identification information output from the counting unit, and based on the storage control signal from the storage control unit The customer account number and order information of the customer from the storage control unit, the order identification information from the counting unit, and order status information indicating an unordered state are stored in association with each other. The order processing apparatus according to claim 22.
前記口座抹消処理部は、前記顧客の口座を解約することを指定する解約指定情報が前記顧客の顧客口座番号に対応付けて前記指定情報格納部に格納されている場合であって、当該顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち売買区分が売りを示す情報である注文情報に対応付けされた注文ステータス情報の中に未発注、発注中、約定済及び決済済の状態であることを示す注文ステータス情報がない場合に、当該顧客の顧客口座番号に対して前記顧客口座データベースで対応付けされた当該顧客が有する株式の数量を前記顧客口座データベースから読み出して当該顧客が有する株式の数量が0であるか判断し、当該数量が0であるときに当該顧客口座番号を前記顧客口座データベースから削除するとともに当該顧客口座番号に対応付けて顧客の口座が抹消された旨の抹消有無情報を前記顧客データベースに格納する処理を行い、
前記注文格納部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合に、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号及び前記株式売買注文の内容を示す注文情報と、当該注文情報を識別するための注文識別情報と、未発注の状態であることを示す注文ステータス情報とを対応付けて格納し、
前記判断部は、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて当該顧客の口座が抹消された旨の抹消有無情報が前記顧客データベースに格納されていない場合であって前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記注文情報が示す前記注文の売買区分が売りを示す情報である場合に、当該受取情報記憶部に記憶した前記注文情報が示す前記注文対象の株式の銘柄識別情報及び数量と、前記注文受取部が前記顧客の端末装置から受け取って受取情報記憶部に記憶した前記顧客の顧客口座番号に対応付けて前記注文格納部に格納されている前記注文情報のうち未発注、発注中又は約定済の状態であることを示す注文ステータス情報に対応付けられた注文情報であって売買区分が売りを示す情報である注文情報が示す前記注文対象の株式の銘柄識別情報及び数量とを、当該顧客の顧客口座番号に対応付けて判断用記憶部に記憶する
ことを特徴とする請求項19〜23の何れかに記載の注文処理装置。
The account deletion processing unit is a case where cancellation designation information for designating cancellation of the customer's account is stored in the designation information storage unit in association with the customer account number of the customer, Among the order information stored in the order storage unit in association with the customer account number, the order status information associated with the order information that is information indicating that the trading category indicates selling is not yet placed, placed in order, and executed In the case where there is no order status information indicating that the customer account has been settled and settled, the quantity of the stock held by the customer corresponding to the customer account number of the customer in the customer account database is obtained from the customer account database. It is determined that the number of shares held by the customer is 0 and the customer account number is deleted from the customer account database when the quantity is 0. The customer accounts in correspondence with the number peripheral existence information indicating that the customer's account is wiped performs a process of storing in the customer database,
The order storage unit has deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the terminal device of the customer and stored in the receipt information storage unit by the order receiving unit. Order information indicating the customer account number of the customer and the content of the stock buying and selling order received by the order receiving unit from the customer's terminal device and stored in the receipt information storage unit when not stored in the customer database; The order identification information for identifying the order information and the order status information indicating that the order has not been placed are stored in association with each other,
The determination unit includes deletion information indicating that the customer account has been deleted in association with the customer account number of the customer received from the customer terminal device and stored in the receipt information storage unit. In the case where it is not stored in the customer database and the order classification indicated by the order information received by the order receiving unit from the customer terminal device and stored in the received information storage unit is information indicating sale The stock identification information and quantity of the stock to be ordered indicated by the order information stored in the receipt information storage unit, and the customer's terminal information received by the order reception unit from the customer terminal device and stored in the receipt information storage unit Corresponds to order status information indicating that the order information stored in the order storage unit in association with the customer account number is in the unordered, in-ordering or contracted state The stock identification information and quantity of the stock to be ordered indicated by the order information, which is the order information that is sold and the information indicating the sale classification, is associated with the customer account number of the customer in the determination storage unit. The order processing apparatus according to any one of claims 19 to 23, wherein the order processing apparatus stores the order processing apparatus.
コンピュータを、請求項1〜24の何れかに記載の注文処理装置として機能させるためのプログラム。   The program for functioning a computer as an order processing apparatus in any one of Claims 1-24.
JP2005267688A 2005-09-14 2005-09-14 Order processing apparatus and program Expired - Fee Related JP4320009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005267688A JP4320009B2 (en) 2005-09-14 2005-09-14 Order processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005267688A JP4320009B2 (en) 2005-09-14 2005-09-14 Order processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2007079998A true JP2007079998A (en) 2007-03-29
JP4320009B2 JP4320009B2 (en) 2009-08-26

Family

ID=37940231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005267688A Expired - Fee Related JP4320009B2 (en) 2005-09-14 2005-09-14 Order processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4320009B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104382A (en) * 2007-10-23 2009-05-14 Daiwa Securities Smbc Co Ltd Order processing apparatus and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169964A (en) * 2000-12-04 2002-06-14 Sony Corp Device and method for managing saving account, and computer-readable storage medium with saving account management program stored therein
JP2002245251A (en) * 2001-02-16 2002-08-30 Matsushita Electric Ind Co Ltd On-line securities exchange server, account management server, on-line securities exchange system, purchase order settlement of accounts method, purchase order settlement of accounts program, and recording medium
JP2004078493A (en) * 2002-08-15 2004-03-11 Bank Of Tokyo-Mitsubishi Ltd Notification service method for inactive account, notification device for inactive account, computer program, and program recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169964A (en) * 2000-12-04 2002-06-14 Sony Corp Device and method for managing saving account, and computer-readable storage medium with saving account management program stored therein
JP2002245251A (en) * 2001-02-16 2002-08-30 Matsushita Electric Ind Co Ltd On-line securities exchange server, account management server, on-line securities exchange system, purchase order settlement of accounts method, purchase order settlement of accounts program, and recording medium
JP2004078493A (en) * 2002-08-15 2004-03-11 Bank Of Tokyo-Mitsubishi Ltd Notification service method for inactive account, notification device for inactive account, computer program, and program recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
約款・規定集, JPN6009023407, 27 August 2003 (2003-08-27), pages 1 - 30, ISSN: 0001324703 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104382A (en) * 2007-10-23 2009-05-14 Daiwa Securities Smbc Co Ltd Order processing apparatus and program

Also Published As

Publication number Publication date
JP4320009B2 (en) 2009-08-26

Similar Documents

Publication Publication Date Title
JP4119473B2 (en) Method and server for managing transactions and settlements
US5063507A (en) Goods database employing electronic title or documentary-type title
US8015068B2 (en) Systems and methods for managing orders made via a computer network
US20070282724A1 (en) Asset based lending (abl) systems and methods
JP2002041842A (en) Electronic mediation service and price determination for selling/buying article
JP3823009B2 (en) Electronic credit service method and apparatus
US20180025429A1 (en) System and method for identifying potential mortgage borrowers
KR20020079993A (en) Stock selling/purchasing system and stock selling/purchasing method
JP6957059B2 (en) Financial instruments transaction management device, financial instruments transaction management method, program
JP4320009B2 (en) Order processing apparatus and program
JP2019101607A (en) Business support system about structured bond
KR100850325B1 (en) Optimizing safe ordering system and service method thereof for Customer-focused
WO2015128937A1 (en) Brokerage system, brokerage method, and brokerage program
KR100699329B1 (en) A system for relaying goods purchase and a method of the same
JP6774067B2 (en) Financial instruments transaction management device, financial instruments transaction management method, program
JP7340049B2 (en) Order system, order method and program
United States. International Trade Administration Trade Finance Guide: A Quick Reference for US Exporters
JP2021193633A (en) Financial instrument transaction management device, financial instrument transaction management method, and program
JP4920464B2 (en) Discretionary account transaction system and method, and program thereof
KR100421588B1 (en) Method and apparatus for providing registration information of transaction offer to buyers and sellers using computer network
JP2014067078A (en) Security transaction system, security transaction method, security server and program
JP5437676B2 (en) Securities trading processing system and program
JP5188762B2 (en) Account transfer processing device and program
JP2002207949A (en) Guarantee insurance processing system, and method and device for guarantee processing of electronic transaction
JP2008204426A (en) Inter-account transfer processing apparatus and program

Legal Events

Date Code Title Description
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: 20090526

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

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

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees