JP2016224488A - Order processing program, order processing device, and order processing method - Google Patents

Order processing program, order processing device, and order processing method Download PDF

Info

Publication number
JP2016224488A
JP2016224488A JP2015106938A JP2015106938A JP2016224488A JP 2016224488 A JP2016224488 A JP 2016224488A JP 2015106938 A JP2015106938 A JP 2015106938A JP 2015106938 A JP2015106938 A JP 2015106938A JP 2016224488 A JP2016224488 A JP 2016224488A
Authority
JP
Japan
Prior art keywords
order
order data
control unit
request
communication control
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
JP2015106938A
Other languages
Japanese (ja)
Other versions
JP6558950B2 (en
Inventor
克樹 冨田
Katsuki Tomita
克樹 冨田
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2015106938A priority Critical patent/JP6558950B2/en
Publication of JP2016224488A publication Critical patent/JP2016224488A/en
Application granted granted Critical
Publication of JP6558950B2 publication Critical patent/JP6558950B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • User Interface Of Digital Computer (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

PROBLEM TO BE SOLVED: To keep the number of unprocessed orders down.SOLUTION: An order processing unit 2 compares the number of pieces of order data, i.e. transmission objects registered with order information 1a stored in a storage unit 1 with a prescribed threshold value. If the number of pieces of order data registered is equal to or less than the threshold value, the order processing unit 2 selects a first method that issues a transmission request 5a to a communication control unit 3 and processes the next piece of data after the reception of a transmission completion notice 5b. If the number of pieces of order data exceeds the threshold value, the order processing unit 2 selects a second method that issues a transmission request 6a to the communication control unit 3 and processes the next piece of order data after the reception of a reception completion notice 6b.SELECTED DRAWING: Figure 1

Description

本発明は、注文処理プログラム、注文処理装置及び注文処理方法に関する。   The present invention relates to an order processing program, an order processing apparatus, and an order processing method.

顧客から注文を受け付け、受け付けた注文を取引先のサーバへ送信する注文処理装置がある。このような注文処理装置は、例えば、通信を制御する通信制御プログラムと、通信制御プログラムを利用して注文を順次処理する注文処理プログラムと、を有する。   There is an order processing apparatus that receives an order from a customer and transmits the received order to a server of a business partner. Such an order processing apparatus includes, for example, a communication control program that controls communication and an order processing program that sequentially processes orders using the communication control program.

注文処理プログラムは、注文の送信処理を行う際の態様として、例えば、以下の2つの注文処理方式をとる。第1の注文処理方式として、注文処理プログラムが、通信制御プログラムに対して注文の送信要求を行い、通信制御プログラムの送信処理がすべて完了した後に次の注文の送信要求を行うという態様がある。第2の注文処理方式として、注文処理プログラムが、通信制御プログラムに対して注文の送信要求を行い、通信制御プログラムが送信要求を受け付けた時点で次の注文の送信要求を行うという態様がある。第1の注文処理方式では、注文処理プログラムは1件ずつ送信処理を行うので、注文処理を確実に履行することができるという利点がある。しかし、前の注文の送信処理が完了するまでの間は次の注文の送信要求を出すことができないため、注文が滞留するという問題が生じる。   The order processing program adopts, for example, the following two order processing methods as modes for performing the order transmission processing. As a first order processing method, there is an aspect in which the order processing program makes an order transmission request to the communication control program, and makes a transmission request for the next order after all the transmission processing of the communication control program is completed. As a second order processing method, there is an aspect in which the order processing program makes an order transmission request to the communication control program, and when the communication control program accepts the transmission request, it makes a next order transmission request. In the first order processing method, since the order processing program performs transmission processing one by one, there is an advantage that the order processing can be executed reliably. However, since the transmission request for the next order cannot be issued until the transmission processing for the previous order is completed, there arises a problem that the order stays.

そこで、通信の接続先の状態に応じて、処理方式を切替える方法が提案されている。また、バスのトラフィックを監視し、バスの状態に応じて2種類の通信方式のいずれかを選択する方法も提案されている。   Therefore, a method of switching the processing method according to the state of the communication connection destination has been proposed. There has also been proposed a method for monitoring bus traffic and selecting one of two communication methods according to the bus state.

特開2012−19467号公報JP 2012-19467 A 特開2010−160548号公報JP 2010-160548 A

しかしながら、注文処理装置に注文が滞留する要因は、接続先の状態やバスの渋滞によるものばかりではない。例えば、金融取引においては、寄り付きや引けといった時間帯に大量の新規注文が殺到することが知られている。金融取引に用いられる注文処理装置では、取引を確実に履行するために、第1の注文処理方法を採用する場合が多い。しかし、この方法では1件ずつ処理を行うため、ある時間帯に注文処理装置に大量の注文が殺到すると、処理が追いつかず注文が滞留するおそれがある。顧客からは、指定時間内に注文を送信することが求められており、注文処理装置内での注文の滞留は、顧客のビジネス機会の損失、及びシステム運用者の信用低下という問題に繋がる。   However, the cause of the order staying in the order processing apparatus is not only due to the state of the connection destination or the congestion of the bus. For example, in financial transactions, it is known that a large number of new orders are inundated during time zones such as close-up and closing. In order processing apparatuses used for financial transactions, the first order processing method is often adopted in order to reliably execute the transactions. However, in this method, since processing is performed one by one, if a large number of orders rush to the order processing apparatus in a certain time zone, there is a possibility that the processing cannot catch up and the orders stay. Customers are required to send orders within a specified time, and the staying of orders in the order processing device leads to problems such as loss of business opportunities for customers and deterioration of trust of system operators.

一つの側面では、本発明は、注文の滞留を抑制することが可能な注文処理プログラム、注文処理装置及び注文処理方法を提供する。   In one aspect, the present invention provides an order processing program, an order processing apparatus, and an order processing method capable of suppressing the staying of orders.

上記課題を解決するために、注文処理プログラムが提供される。注文処理プログラムは、送信対象の注文データが登録される注文情報を記憶部に記憶するコンピュータに、注文情報に含まれる注文データの件数が、所定の閾値以下のときは第1の方式を、閾値より多いときは第2の方式を選択して、注文情報から第1の注文データを取り出す。第1の方式を選択したときは、通信制御部に第1の注文データの送信を要求し、通信制御部が第1の注文データの送信完了時に発行する送信完了通知を取得した後に第2の注文データの送信要求を可とする。第2の方式を選択したときは、通信制御部に第1の注文データの送信を要求し、通信制御部が第1の注文データの送信要求の受付完了時に発行する受付完了通知を取得した後に第2の注文データの送信要求を可とする、処理を実行させる。   In order to solve the above problems, an order processing program is provided. The order processing program stores the order information in which the order data to be transmitted is registered in the storage unit, and sets the first method when the number of order data included in the order information is equal to or less than a predetermined threshold. If there are more, the second method is selected, and the first order data is extracted from the order information. When the first method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit acquires the transmission completion notification issued when the transmission of the first order data is completed. Request transmission of order data is allowed. When the second method is selected, after requesting the communication control unit to transmit the first order data, and after the communication control unit obtains a reception completion notification issued upon completion of reception of the first order data transmission request A process for allowing the second order data transmission request is executed.

一態様によれば、本発明は、注文情報に登録される注文データの件数が閾値より多いときは、注文データの送信要求が通信制御部に受け付けられた時点で次の注文データの送信要求を行うことができるので、注文の滞留を抑制することが可能となる。   According to an aspect of the present invention, when the number of order data registered in the order information is greater than the threshold value, the next order data transmission request is issued when the order data transmission request is received by the communication control unit. Since it can be performed, it is possible to suppress the stay of orders.

第1の実施形態の注文処理装置を示す図である。It is a figure which shows the order processing apparatus of 1st Embodiment. 第2の実施形態のシステム構成例を示す図である。It is a figure which shows the system configuration example of 2nd Embodiment. 第2の実施形態の注文処理装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the order processing apparatus of 2nd Embodiment. 第2の実施形態の注文処理装置の機能構成例を示す図である。It is a figure which shows the function structural example of the order processing apparatus of 2nd Embodiment. 注文管理情報の一例を示す図である。It is a figure which shows an example of order management information. 要求処理部の要求発行処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the request issue process of a request processing part. 要求制御部の要求制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the request control process of a request control part. 通知制御部の通知制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the notification control process of a notification control part. 同期型の要求制御処理の例を示すシーケンス図である。It is a sequence diagram which shows the example of a synchronous type | mold request control process. 非同期型の要求制御処理の例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of asynchronous request control processing.

以下、本発明の実施の形態について図面を参照して説明する。
[第1の実施形態]
図1は、第1の実施形態の注文処理装置を示す図である。第1の実施形態の注文処理装置は、記憶部1と、注文処理部2と、通信制御部3と、を有する。注文処理装置は、例えば、コンピュータである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating an order processing apparatus according to the first embodiment. The order processing apparatus according to the first embodiment includes a storage unit 1, an order processing unit 2, and a communication control unit 3. The order processing device is, for example, a computer.

記憶部1は、例えば、メモリあるいはディスク装置であり、注文情報1aを記憶する。注文情報1aには、顧客などから受け付けた注文データが登録されている。例えば、1件の注文に対し、1つの注文データが設定されている。   The storage unit 1 is, for example, a memory or a disk device, and stores order information 1a. Order data received from a customer or the like is registered in the order information 1a. For example, one order data is set for one order.

注文処理部2は、注文情報1aから注文データを1件ずつ取り出し、通信制御部3に対して送信を要求する。注文データは、例えば、注文情報1aに先に登録されたものから順に取り出す。また、予め決められた優先順にしたがって取り出すとしてもよい。注文処理部2は、注文情報1aに含まれる注文データの件数が閾値以下のときは、通信制御部3による先に送信要求を行った第1の注文データの送信処理が完了してから次の第2の注文データの送信要求を行う第1の方式を選択する。また、注文処理部2は、注文情報1aに含まれる注文データの件数が閾値を超えるときは、通信制御部3による第1の注文データの受け付けが完了した時点で、第2の注文データの送信要求を行う第2の方式を選択する。   The order processing unit 2 extracts the order data one by one from the order information 1a and requests the communication control unit 3 to transmit. For example, the order data is extracted in order from the data registered in the order information 1a. Further, it may be taken out according to a predetermined priority order. When the number of order data items included in the order information 1a is equal to or less than the threshold value, the order processing unit 2 completes the transmission processing of the first order data for which the communication control unit 3 previously requested transmission, and then A first method for requesting transmission of second order data is selected. Further, the order processing unit 2 transmits the second order data when reception of the first order data by the communication control unit 3 is completed when the number of the order data included in the order information 1a exceeds the threshold value. Select the second method to make the request.

通信制御部3は、注文処理部2から入力する注文データの送信要求5a,6aを受け付け、受け付けた注文データの送信処理を選択された方式に応じて実行する。通信制御部3は、選択が第1の方式の場合、注文データの送信要求5aを受け付け、送信処理が終了した後、送信完了通知5bを注文処理部2に発行する。通信制御部3は、選択が第2の方式の場合、注文データの送信要求6aを受け付け、受付処理が終了した後、受付完了通知6bを注文処理部2に発行する。なお、通信制御部3は、受付完了通知6bを発行後に注文データの送信処理を行い、終了した後、送信完了通知を発行する。   The communication control unit 3 receives the order data transmission requests 5a and 6a input from the order processing unit 2, and executes the received order data transmission processing according to the selected method. When the selection is the first method, the communication control unit 3 accepts the order data transmission request 5a, and issues a transmission completion notification 5b to the order processing unit 2 after the transmission process is completed. When the selection is the second method, the communication control unit 3 accepts the order data transmission request 6a, and issues an acceptance completion notification 6b to the order processing unit 2 after the acceptance process is completed. The communication control unit 3 performs order data transmission processing after issuing the reception completion notification 6b, and issues the transmission completion notification after the completion.

注文処理部2が実行する注文処理手順について説明する。注文処理部2による注文処理は、コンピュータが注文処理プログラムを実行することによって、その機能を実現する。以下の説明では、先に送信される注文データを第1の注文データ、第1の注文データの後に送信される注文データを第2の注文データとする。図1に示す処理をステップ番号に沿って説明する。   An order processing procedure executed by the order processing unit 2 will be described. The order processing by the order processing unit 2 realizes its function by the computer executing the order processing program. In the following description, the order data transmitted first is the first order data, and the order data transmitted after the first order data is the second order data. The process illustrated in FIG. 1 will be described along with step numbers.

[ステップS01]注文処理部2は、注文情報1aに含まれる注文データの件数に基づいて、送信処理の要求方式を決定する。注文処理部2は、注文情報1aに登録される注文データの件数が所定の閾値以下のときは第1の方式を選択し、注文データの件数が閾値よりも多いときは第2の方式を選択する。また、注文情報1aから第1の注文データを取り出す。第1の注文データは、例えば、注文情報1aに含まれる注文データのうち、最も早くに登録された注文データである。   [Step S01] The order processing unit 2 determines a transmission processing request method based on the number of pieces of order data included in the order information 1a. The order processing unit 2 selects the first method when the number of order data registered in the order information 1a is equal to or less than a predetermined threshold, and selects the second method when the number of order data is larger than the threshold. To do. Further, the first order data is extracted from the order information 1a. The first order data is, for example, the order data registered earliest among the order data included in the order information 1a.

[ステップS02]注文処理部2は、ステップS01において第1の方式を選択したか否かを判定する。第1の方式を選択したときは処理をステップS03に進め、第2の方式を選択したときは処理をステップS04に進める。   [Step S02] The order processing unit 2 determines whether or not the first method is selected in step S01. If the first method is selected, the process proceeds to step S03. If the second method is selected, the process proceeds to step S04.

[ステップS03]注文処理部2は、第1の方式を選択したときは、第1の方式を指定して第1の注文データの送信要求5aを通信制御部3へ出力する第1の方式による要求処理を行う。通信制御部3では、送信要求5aを受け付け、送信処理を終了した後、注文処理部2に対して送信完了通知5bを発行する。注文処理部2は、送信完了通知5bを取得したときに、第2の注文データの送信要求を可とし、処理をステップS01に進める。第2の注文データは、例えば、注文情報1aに含まれる注文データのうち、第1の注文データの次に登録された注文データである。   [Step S03] When the first processing method is selected, the order processing unit 2 designates the first method and outputs the first order data transmission request 5a to the communication control unit 3 according to the first method. Perform request processing. The communication control unit 3 accepts the transmission request 5a, ends the transmission process, and then issues a transmission completion notification 5b to the order processing unit 2. When the order processing unit 2 obtains the transmission completion notification 5b, the order processing unit 2 permits the second order data transmission request, and advances the process to step S01. The second order data is, for example, order data registered next to the first order data among the order data included in the order information 1a.

[ステップS04]注文処理部2は、第2の方式を選択したときは、第2の方式を指定して第1の注文データの送信要求6aを通信制御部3へ出力する第2の方式による要求処理を行う。通信制御部3では、送信要求6aを受け付けた後、注文処理部2に対して受付完了通知6bを発行する。注文処理部2は、受付完了通知6bを取得したときに、第2の注文データの送信要求を可とし、処理をステップS01に進める。   [Step S04] When the second processing method is selected, the order processing unit 2 designates the second method and outputs the first order data transmission request 6a to the communication control unit 3 according to the second method. Perform request processing. The communication control unit 3 issues a reception completion notification 6b to the order processing unit 2 after receiving the transmission request 6a. When the order processing unit 2 obtains the reception completion notification 6b, the order processing unit 2 enables the second order data transmission request, and advances the process to step S01.

注文処理部2は、第2の注文データについてステップS01からの手順を繰り返す。
以上の手順にしたがって、注文処理部2は、通信制御部3に対して注文データの送信要求を行う際、注文情報1aに登録されている注文データの件数を閾値と比較し、比較の結果に応じて第1の方式または第2の方式を選択する。注文処理部2は、注文情報1aに登録される注文データの件数が閾値以下で、注文の滞留が発生しにくいときは、第1の方式を選択する。第1の方式では、通信制御部3が注文データの送信を完了してから次の注文データの送信要求を可とするため、注文データを確実に処理することができる。一方、注文処理部2は、注文情報1aに登録される注文データの件数が閾値を超えており、注文データの滞留が発生しやすいときは、第2の方式を選択する。第2の方式では、通信制御部3が注文データの受付を完了した時点で次の注文データの送信要求を可とするため、同じ時間で第1の方式より多くの注文データを処理することができる。これにより、注文の滞留を防ぐことができる。
The order processing unit 2 repeats the procedure from step S01 for the second order data.
According to the above procedure, the order processing unit 2 compares the number of order data registered in the order information 1a with a threshold value when making a transmission request for order data to the communication control unit 3, and uses the result of the comparison. Accordingly, the first method or the second method is selected. The order processing unit 2 selects the first method when the number of order data registered in the order information 1a is equal to or less than the threshold and it is difficult for the order to stay. In the first method, since the communication control unit 3 enables transmission of the next order data after completing transmission of the order data, the order data can be processed reliably. On the other hand, the order processing unit 2 selects the second method when the number of order data registered in the order information 1a exceeds the threshold value and the order data is likely to stay. In the second method, when the communication control unit 3 completes the reception of the order data, the next order data transmission request is permitted, so that it is possible to process more order data than the first method in the same time. it can. Thereby, the stay of an order can be prevented.

このように、第1の実施形態の注文処理装置では、注文データの件数が少ないときは第1の方法を選択して注文処理を1件ずつ確実に履行し、注文データの件数が多いときは第2の方法を選択して注文の滞留を防ぐ。   As described above, in the order processing apparatus according to the first embodiment, when the number of order data is small, the first method is selected and the order processing is surely executed one by one, and when the number of order data is large. The second method is chosen to prevent order stagnation.

[第2の実施形態]
次に、第2の実施形態として、第1の実施形態の注文処理装置を金融取引処理に適用した場合について説明する。
[Second Embodiment]
Next, a case where the order processing apparatus of the first embodiment is applied to financial transaction processing will be described as a second embodiment.

図2は、第2の実施形態のシステム構成例を示す図である。注文処理装置100は、ネットワーク200を介して、利用者装置301,302,303と、取引装置401,402と、に接続する。利用者装置301,302,303は、注文処理装置100に対して注文データの送信を依頼する顧客が利用するコンピュータである。取引装置401,402は、注文データを送信する取引先のコンピュータである。   FIG. 2 is a diagram illustrating a system configuration example according to the second embodiment. The order processing apparatus 100 is connected to user apparatuses 301, 302, and 303 and transaction apparatuses 401 and 402 via the network 200. User devices 301, 302, and 303 are computers used by customers who request the order processing device 100 to transmit order data. Transaction devices 401 and 402 are computers of business partners that transmit order data.

注文処理装置100は、ネットワーク200を介して利用者装置301,302,303から送られてきた注文データを取引装置401,402に送信する。なお、注文処理装置100は、利用者装置301,302,303から入力した注文データを入力順に順次送信するとしてもよい。また、注文処理装置100は、注文データを一旦記憶部に格納しておき、注文データごとに設定されている送信の指定日時などにしたがって、注文データを取引装置401,402に送信するとしてもよい。   The order processing device 100 transmits the order data sent from the user devices 301, 302, 303 via the network 200 to the transaction devices 401, 402. Note that the order processing apparatus 100 may sequentially transmit the order data input from the user apparatuses 301, 302, and 303 in the order of input. Further, the order processing apparatus 100 may temporarily store the order data in the storage unit, and transmit the order data to the transaction apparatuses 401 and 402 according to the transmission designated date and time set for each order data. .

図3は、第2の実施形態の注文処理装置のハードウェア構成例を示す図である。注文処理装置100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス108を介してRAM(Random Access Memory)102と複数の周辺機器が接続されている。   FIG. 3 is a diagram illustrating a hardware configuration example of the order processing apparatus according to the second embodiment. The order processing apparatus 100 is entirely controlled by a CPU (Central Processing Unit) 101. A RAM (Random Access Memory) 102 and a plurality of peripheral devices are connected to the CPU 101 via a bus 108.

RAM102は、注文処理装置100の主記憶装置として使用される。RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。   The RAM 102 is used as a main storage device of the order processing device 100. The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101.

バス108に接続されている周辺機器としては、ハードディスクドライブ(HDD:Hard Disk Drive)103、グラフィック処理装置104、入力インタフェース105、光学ドライブ装置106、及び通信インタフェース107がある。   Peripheral devices connected to the bus 108 include a hard disk drive (HDD) 103, a graphic processing device 104, an input interface 105, an optical drive device 106, and a communication interface 107.

HDD103は、内蔵したディスクに対して、磁気的にデータの書き込み及び読み出しを行う。HDD103は、注文処理装置100の二次記憶装置として使用される。HDD103には、OSのプログラム、アプリケーションプログラム、及び各種データが格納される。なお、二次記憶装置としては、フラッシュメモリなどの半導体記憶装置を使用することもできる。   The HDD 103 magnetically writes and reads data to and from the built-in disk. The HDD 103 is used as a secondary storage device of the order processing apparatus 100. The HDD 103 stores an OS program, application programs, and various data. Note that a semiconductor storage device such as a flash memory can also be used as the secondary storage device.

グラフィック処理装置104には、モニタ11が接続されている。グラフィック処理装置104は、CPU101からの命令にしたがって、画像をモニタ11の画面に表示させる。モニタ11としては、CRT(Cathode Ray Tube)を用いた表示装置や液晶表示装置などがある。   A monitor 11 is connected to the graphic processing device 104. The graphic processing device 104 displays an image on the screen of the monitor 11 in accordance with a command from the CPU 101. Examples of the monitor 11 include a display device using a CRT (Cathode Ray Tube) and a liquid crystal display device.

入力インタフェース105には、キーボード12とマウス13とが接続されている。入力インタフェース105は、キーボード12やマウス13から送られてくる信号をCPU101に送信する。なお、マウス13は、ポインティングデバイスの一例であり、他のポインティングデバイスを使用することもできる。他のポインティングデバイスとしては、タッチパネル、タブレット、タッチパッド、トラックボールなどがある。   A keyboard 12 and a mouse 13 are connected to the input interface 105. The input interface 105 transmits a signal sent from the keyboard 12 or the mouse 13 to the CPU 101. The mouse 13 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.

光学ドライブ装置106は、レーザ光などを利用して、光ディスク14に記録されたデータの読み取りを行う。光ディスク14は、光の反射によって読み取り可能なようにデータが記録された可搬型の記録媒体である。光ディスク14には、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などがある。   The optical drive device 106 reads data recorded on the optical disk 14 using laser light or the like. The optical disk 14 is a portable recording medium on which data is recorded so that it can be read by reflection of light. The optical disk 14 includes a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), and the like.

通信インタフェース107は、ネットワーク200に接続されている。通信インタフェース107は、ネットワーク200を介して、他のコンピュータまたは通信機器との間でデータの送受信を行う。   The communication interface 107 is connected to the network 200. The communication interface 107 transmits / receives data to / from another computer or communication device via the network 200.

以上のようなハードウェア構成によって、本実施形態の処理機能を実現することができる。なお、図3には注文処理装置100のハードウェア構成を示したが、利用者装置301,302,303及び取引装置401,402も同様のハードウェア構成を有する。   With the hardware configuration as described above, the processing functions of this embodiment can be realized. Although FIG. 3 shows the hardware configuration of the order processing apparatus 100, the user apparatuses 301, 302, and 303 and the transaction apparatuses 401 and 402 have the same hardware configuration.

図4は、第2の実施形態の注文処理装置の機能構成例を示す図である。注文処理装置100は、注文処理部110と、入力部120と、表示部130と、通信制御部140と、要求パス150と、通知パス160と、を有する。   FIG. 4 is a diagram illustrating a functional configuration example of the order processing apparatus according to the second embodiment. The order processing apparatus 100 includes an order processing unit 110, an input unit 120, a display unit 130, a communication control unit 140, a request path 150, and a notification path 160.

注文処理部110は、記憶部111と、要求処理部112と、状態管理部113と、要求制御部114と、通知制御部115と、を有する。注文処理部110では、記憶部111に格納された注文データを、通信制御部140を利用して取引装置401に送信する処理を行う。注文処理部110は、CPU101が注文処理プログラムを実行することによりその処理機能が実現される。   The order processing unit 110 includes a storage unit 111, a request processing unit 112, a state management unit 113, a request control unit 114, and a notification control unit 115. The order processing unit 110 performs processing for transmitting the order data stored in the storage unit 111 to the transaction apparatus 401 using the communication control unit 140. The processing function of the order processing unit 110 is realized by the CPU 101 executing the order processing program.

記憶部111は、注文キュー111aと、注文管理情報111bと、を記憶する。記憶部111には、例えば、RAM102の一部の記憶領域が割り当てられる。注文キュー111aは、顧客から取得した注文データを一時的に保持するFIFO(First In First Out)型のキューである。注文データは、入力部120を介して順次登録され、要求処理部112から順次取り出される。なお、注文キュー111aでは、登録によって注文データが記憶領域に書き込まれ、取り出しによって記憶領域から削除されるとする。入力部120を介して登録される注文データの登録間隔が注文データの1件当たりの処理時間より短くなると、注文キュー111aには注文データが滞留していく。注文管理情報111bには、注文処理の進行状態を示す情報が、注文データごとに登録される。   The storage unit 111 stores an order queue 111a and order management information 111b. For example, a part of the storage area of the RAM 102 is allocated to the storage unit 111. The order queue 111a is a FIFO (First In First Out) type queue that temporarily holds order data acquired from a customer. The order data is sequentially registered via the input unit 120 and is sequentially extracted from the request processing unit 112. In the order queue 111a, it is assumed that the order data is written in the storage area by registration and is deleted from the storage area by extraction. If the registration interval of the order data registered via the input unit 120 becomes shorter than the processing time per order data, the order data stays in the order queue 111a. In the order management information 111b, information indicating the progress of order processing is registered for each order data.

要求処理部112は、注文キュー111aから1件ずつ注文データを取り出し、要求制御部114に対して送信要求を行う。このとき、注文キュー111aに含まれる注文データの件数を算出し、取り出した注文データとともに要求制御部114へ通知する。注文データの件数は、記憶部111の記憶領域の注文データを数えるとしてもよいが、対象の注文データの数が多い場合にはCPU101に負荷がかかる。例えば、注文データの計数用のカウンタを設けるとともに、入力部120が注文キュー111aに注文データを登録するごとに要求処理部112に通知が入力されるように構成する。要求処理部112は、入力部120から通知を受けるごとにカウンタをインクリメントし、要求制御部114から復帰の指示を受けるごとにカウンタをディクリメントするとしてもよい。この場合、カウンタの値が注文データの登録件数になる。また、要求処理部112は、要求制御部114に対して送信要求を行う際に、状態管理部113に対し、取り出した注文データを注文管理情報111bに新規登録するように依頼する。なお、要求処理部112は、上記の処理が終了した時点で処理を停止し、要求制御部114からの復帰指示を待つ。要求処理部112では、要求制御部114に対する送信要求は1件ずつ行われ、仕掛中の送信要求が復帰しない限り次の注文データの送信要求は出力されない。   The request processing unit 112 retrieves the order data one by one from the order queue 111a and makes a transmission request to the request control unit 114. At this time, the number of order data included in the order queue 111a is calculated and notified to the request control unit 114 together with the extracted order data. The number of order data may be the order data in the storage area of the storage unit 111, but if the number of target order data is large, the CPU 101 is loaded. For example, a counter for counting order data is provided, and a notification is input to the request processing unit 112 every time the input unit 120 registers order data in the order queue 111a. The request processing unit 112 may increment the counter each time receiving a notification from the input unit 120 and decrement the counter each time receiving a return instruction from the request control unit 114. In this case, the counter value is the number of registered order data. Further, when making a transmission request to the request control unit 114, the request processing unit 112 requests the state management unit 113 to newly register the retrieved order data in the order management information 111b. Note that the request processing unit 112 stops the process when the above process is completed, and waits for a return instruction from the request control unit 114. In the request processing unit 112, transmission requests to the request control unit 114 are made one by one, and a transmission request for the next order data is not output unless the transmission request in progress returns.

状態管理部113は、注文データの送信処理の進行状態に応じて、注文管理情報111bを更新する。状態管理部113は、注文キュー111aから取り出した注文データの新規登録依頼を要求処理部112から取得し、注文データを注文管理情報111bに新規登録する。状態管理部113は、要求を受けた注文データの識別情報に対応付けて注文処理の進行状態(新規)を含むレコードを作成し、注文管理情報111bに登録する。また、状態管理部113は、要求制御部114から送信処理の進行状態を受付に更新する更新依頼を受けて注文管理情報111bの対応する注文データの情報を更新する。また、状態管理部113は、通知制御部115から送信処理の進行状態を完了に更新する更新依頼を受けて注文管理情報111bの対応する注文データの情報を更新する。   The state management unit 113 updates the order management information 111b in accordance with the progress state of the order data transmission process. The state management unit 113 acquires a new registration request for the order data retrieved from the order queue 111a from the request processing unit 112, and newly registers the order data in the order management information 111b. The state management unit 113 creates a record including the order processing progress state (new) in association with the requested order data identification information, and registers the record in the order management information 111b. In addition, the state management unit 113 receives an update request for updating the progress status of the transmission process to reception from the request control unit 114, and updates the corresponding order data information in the order management information 111b. In addition, the state management unit 113 receives an update request for updating the progress state of the transmission processing to completion from the notification control unit 115, and updates the corresponding order data information in the order management information 111b.

要求制御部114は、要求処理部112からの要求を受け、送信要求の方式を判定する。第1の方式は、通信制御部140による先の注文データの送信が完了した後、次の注文データの送信要求を行うというものである。注文を1件ずつ確実に処理することができるため、注文データの件数が少ないときの送信処理に適している。第1の方式では、注文処理部110は通信制御部140の送信処理と同期して動作することから、以下の説明では同期型と表記する。第2の方式は、通信制御部140による先の注文データの受け付けが終了したら、送信完了を待たずに次の注文データの送信要求を行うというものである。第1の方式より次の注文データの送信要求を行うまでの期間が短くなるため、注文の滞留を抑制することができる。第2の方式では、注文処理部110は通信制御部140の送信処理と同期して動作しないことから、非同期型と表記する。要求制御部114は、要求処理部112から注文データとともに取得した注文キュー111aに登録される注文データの登録件数を所定の閾値と比較し、登録件数が閾値以下のときは同期型を選択し、多いときは非同期型を選択する。要求制御部114は、同期型を選択したときは、同期型を指定して通信制御部140に対して送信要求を行う。そして、要求制御部114は、通知制御部115を介して通信制御部140から送信完了通知を受けたことを検出したときは、要求処理部112に処理の復帰を通知する。また、要求制御部114は、非同期型を選択したときは、非同期型を指定して通信制御部140に対して送信要求を行う。そして、要求制御部114は、通信制御部140からの受付完了通知を取得し、要求処理部112に処理の復帰を通知する。さらに、状態管理部113に対し、注文管理情報111bの対応する注文データの注文処理の進行状態を、受付完了に更新するように依頼する。   The request control unit 114 receives a request from the request processing unit 112 and determines a transmission request method. In the first method, after the transmission of the previous order data by the communication control unit 140 is completed, a transmission request for the next order data is made. Since orders can be processed one by one, this is suitable for transmission processing when the number of order data is small. In the first method, the order processing unit 110 operates in synchronism with the transmission processing of the communication control unit 140, and hence is referred to as a synchronous type in the following description. In the second method, when reception of the previous order data by the communication control unit 140 is completed, a transmission request for the next order data is made without waiting for completion of transmission. Since the period until the next order data transmission request is made is shorter than in the first method, the stay of orders can be suppressed. In the second method, since the order processing unit 110 does not operate in synchronization with the transmission processing of the communication control unit 140, it is expressed as an asynchronous type. The request control unit 114 compares the registered number of order data registered in the order queue 111a acquired together with the order data from the request processing unit 112 with a predetermined threshold, and selects the synchronous type when the registered number is equal to or less than the threshold. If there are many, select the asynchronous type. When selecting the synchronous type, the request control unit 114 designates the synchronous type and makes a transmission request to the communication control unit 140. When the request control unit 114 detects that a transmission completion notification has been received from the communication control unit 140 via the notification control unit 115, the request control unit 114 notifies the request processing unit 112 of the return of processing. Further, when the asynchronous type is selected, the request control unit 114 designates the asynchronous type and makes a transmission request to the communication control unit 140. Then, the request control unit 114 acquires a reception completion notification from the communication control unit 140 and notifies the request processing unit 112 of the return of processing. Further, the status management unit 113 is requested to update the progress status of the order processing of the corresponding order data in the order management information 111b to the reception completion.

通知制御部115は、通信制御部140から送信完了通知を取得し、同期型を選択しているときは、要求制御部114に対し連携完了を通知する。連携完了通知は、連携して注文データの送信処理を行う要求制御部114に送信の完了を通知するものである。また、通知制御部115は、状態管理部113に対し、注文管理情報111bの対応する注文データの注文処理の状態を、送信の完了に更新するように依頼する。   The notification control unit 115 acquires a transmission completion notification from the communication control unit 140 and notifies the request control unit 114 of the completion of cooperation when the synchronous type is selected. The notification of completion of cooperation notifies the request control unit 114 that performs processing of transmitting order data in cooperation with the completion of transmission. In addition, the notification control unit 115 requests the state management unit 113 to update the order processing state of the corresponding order data in the order management information 111b to completion of transmission.

入力部120は、利用者装置301、キーボード12などに接続し、注文データを入力する。利用者装置301からは、顧客の新規注文データが適宜入力する。新規注文データは、例えば、寄り付きや引けの時間帯には大量に入力し、寄り付きと引けの間のザラ場では少なくなる傾向がある。キーボード12からは、例えば、オペレータがキーボード12を操作して入力した新規注文データが入力する。入力部120は、利用者装置301及びキーボード12などから入力した新規注文データを記憶部111の注文キュー111aに受け付けた順に登録する。このとき、登録したことを要求処理部112に通知するとしてもよい。なお、注文データに送信日時の指定があるような場合には、一旦入力部120が管理する記憶領域に注文データを記憶しておき、指定日時に到達したときに注文キュー111aに登録するようにしてもよい。また、入力部120は、キーボード12を操作してオペレータが入力した指示を表示部130などに通知する。   The input unit 120 is connected to the user device 301, the keyboard 12, and the like, and inputs order data. From the user device 301, the customer's new order data is appropriately input. New order data, for example, is input in large quantities during close time and close time periods, and tends to decrease in a rough place between close and close. From the keyboard 12, for example, new order data input by the operator operating the keyboard 12 is input. The input unit 120 registers new order data input from the user device 301 and the keyboard 12 in the order queue 111a of the storage unit 111 in the order received. At this time, the request processing unit 112 may be notified of the registration. When the order date and time is specified in the order data, the order data is temporarily stored in the storage area managed by the input unit 120 and registered in the order queue 111a when the specified date and time is reached. May be. The input unit 120 operates the keyboard 12 to notify the display unit 130 of an instruction input by the operator.

表示部130は、入力部120を介して注文処理の進行状態の表示要求を受けたときは、注文管理情報111bに基づいて注文処理の進行状態をモニタ11に表示する。例えば、注文処理部110が受け付けた注文データと、その注文データの注文処理の進行状態とを対応付けた一覧情報を表示する。   When the display unit 130 receives the order processing progress display request via the input unit 120, the display unit 130 displays the order processing progress state on the monitor 11 based on the order management information 111b. For example, list information in which the order data received by the order processing unit 110 is associated with the progress status of the order processing of the order data is displayed.

通信制御部140は、要求制御部114から要求された注文データを電文に変換し、取引装置401に対して送信する処理を行う。同期型処理と非同期型処理を実装し、要求制御部114からの指定により切り替えて動作する。同期型処理では、通信制御部140は、要求制御部114から注文データの送信要求を入力し、送信要求を受け付けた後、取引装置401に向けて送信する。送信完了後、通信制御部140は、通知制御部115に対し、送信完了を通知する。非同期型処理では、通信制御部140は、要求制御部114から注文データの送信要求を入力し、送信要求を受け付けた後、受付完了通知を要求制御部114へ通知する。その後、通信制御部140は、注文データを取引装置401に向けて送信し、送信終了後に通知制御部115に対し、送信完了を通知する。通信制御部140は、CPU101が通信制御プログラムを実行することによりその処理機能が実現される。   The communication control unit 140 performs processing for converting the order data requested by the request control unit 114 into a message and transmitting it to the transaction apparatus 401. Synchronous processing and asynchronous processing are implemented, and switched according to designation from the request control unit 114. In the synchronous processing, the communication control unit 140 inputs an order data transmission request from the request control unit 114, receives the transmission request, and transmits the request to the transaction apparatus 401. After completing the transmission, the communication control unit 140 notifies the notification control unit 115 of the completion of transmission. In the asynchronous processing, the communication control unit 140 inputs an order data transmission request from the request control unit 114, and after receiving the transmission request, notifies the request control unit 114 of a reception completion notification. Thereafter, the communication control unit 140 transmits the order data to the transaction apparatus 401, and notifies the notification control unit 115 of the completion of transmission after the transmission is completed. The communication control unit 140 realizes its processing function when the CPU 101 executes a communication control program.

要求パス150は、注文処理部110と、通信制御部140とを繋ぐ通信経路であり、主として要求制御部114が通信制御部140に出力する送信要求を伝達する。また、非同期型の場合に通信制御部140が要求制御部114に通知する受付完了通知も伝達する。   The request path 150 is a communication path that connects the order processing unit 110 and the communication control unit 140, and mainly transmits a transmission request that the request control unit 114 outputs to the communication control unit 140. In addition, in the case of the asynchronous type, a reception completion notification that the communication control unit 140 notifies the request control unit 114 is also transmitted.

通知パス160は、注文処理部110と、通信制御部140とを繋ぐ通信経路であり、主として通知制御部115に通知する送信完了通知を伝達する。
図5は、注文管理情報の一例を示す図である。注文管理情報1111は、注文ID、状態、要求ID及び注文詳細の情報項目を含む。
The notification path 160 is a communication path that connects the order processing unit 110 and the communication control unit 140, and mainly transmits a transmission completion notification to be notified to the notification control unit 115.
FIG. 5 is a diagram illustrating an example of order management information. The order management information 1111 includes information items of order ID, status, request ID, and order details.

注文IDの項目には、注文データを識別するための識別情報が登録される。
状態の項目には、注文データの注文処理の進行状態を示す情報が登録される。「新規」は、要求処理部112が取り出した注文データを注文管理情報1111に新たに登録したことを示す。「受付」は、通信制御部140が、要求制御部114から受けた注文データの送信要求を受け付けたことを示す。「完了」は、通信制御部140による送信処理が終了したことを示す。同期型が選択された注文データは、登録時に状態の項目が「新規」になり、通信制御部140の送信完了通知を受けて「完了」となる。非同期型が選択された注文データは、状態の項目は、登録時に「新規」になり、通信制御部140の受付完了通知で「受付」の状態になり、通信制御部140の送信完了通知を受けて「完了」となる。
Identification information for identifying order data is registered in the item of order ID.
In the status item, information indicating the progress status of the order processing of the order data is registered. “New” indicates that the order data extracted by the request processing unit 112 is newly registered in the order management information 1111. “Accept” indicates that the communication control unit 140 has received an order data transmission request received from the request control unit 114. “Completed” indicates that the transmission process by the communication control unit 140 is completed. The order data for which the synchronous type is selected has a status item “new” at the time of registration, and is “completed” upon receiving a transmission completion notification from the communication control unit 140. The order data for which the asynchronous type is selected has a status item of “new” at the time of registration, becomes “accepted” upon reception completion notification of the communication control unit 140, and receives a transmission completion notification of the communication control unit 140. Is "completed".

要求IDの項目は、非同期型処理の場合に、要求制御部114が送信要求を行った注文データと、通信制御部140が受付完了及び送信完了の通知を発行した注文データとを紐付けする情報である。要求制御部114は、送信要求時に付与した要求IDを注文管理情報1111に記憶しておく。要求制御部114及び通知制御部115は、通信制御部140からの通知に含まれる要求IDと、注文管理情報1111の要求IDとを照合し、通知を受けた注文データを特定する。なお、要求IDは、要求制御部114による非同期型の送信要求を受け付けた通信制御部140が付与し、受付完了の通知と共に要求制御部114へ通知するとしてもよい。   The request ID item is information for associating the order data for which the request control unit 114 has made a transmission request with the order data for which the communication control unit 140 has issued a notification of acceptance completion and transmission completion in the case of asynchronous processing. It is. The request control unit 114 stores the request ID assigned at the time of the transmission request in the order management information 1111. The request control unit 114 and the notification control unit 115 collate the request ID included in the notification from the communication control unit 140 with the request ID of the order management information 1111 to identify the order data that has been notified. The request ID may be given by the communication control unit 140 that has received the asynchronous transmission request from the request control unit 114, and may be notified to the request control unit 114 together with the notification of completion of reception.

注文詳細の情報項目は、注文データの詳しい内容を示す情報である。注文管理情報1111の例では、「注文種別」と「注文数量」などが登録されている。
なお、注文管理情報1111を構成する項目は一例であり、項目は必要に応じて適宜設定される。
The order detail information item is information indicating the detailed contents of the order data. In the example of the order management information 1111, “order type”, “order quantity”, and the like are registered.
Note that the items constituting the order management information 1111 are examples, and the items are appropriately set as necessary.

次に、要求処理部112、要求制御部114及び通知制御部115の各処理部が行う処理についてフローチャートを用いて説明する。
図6は、要求処理部の要求発行処理の手順を示すフローチャートである。以下、図6に示す処理をステップ番号に沿って説明する。
Next, processing performed by the processing units of the request processing unit 112, the request control unit 114, and the notification control unit 115 will be described with reference to flowcharts.
FIG. 6 is a flowchart illustrating a procedure of request issue processing of the request processing unit. In the following, the process illustrated in FIG. 6 will be described in order of step number.

[ステップS10]要求処理部112は、注文キュー111aに登録される注文データの登録件数を算出する。また、注文キュー111aから注文データを1件取り出す。
[ステップS11]要求処理部112は、送信処理の進行状態を示す状態の項目を「新規」として、取り出した注文データを注文管理情報111bに登録するように状態管理部113に依頼する。
[Step S10] The request processing unit 112 calculates the number of registered order data registered in the order queue 111a. One order data is taken out from the order queue 111a.
[Step S11] The request processing unit 112 requests the status management unit 113 to register the retrieved order data in the order management information 111b with the item of the status indicating the progress status of the transmission processing as “new”.

状態管理部113は、依頼を受け、その注文データのレコードを新たに生成し、注文管理情報111bに登録する。注文管理情報111bの対応する注文データの状態の項目には、「新規」を登録する。   Upon receiving the request, the state management unit 113 newly generates a record of the order data and registers it in the order management information 111b. “New” is registered in the item of the status of the corresponding order data in the order management information 111b.

[ステップS12]要求処理部112は、注文データと、登録件数と、を要求制御部114に引き渡し、送信要求を発行する。
[ステップS13]要求処理部112は、送信要求を発行した仕掛中の要求処理を停止し、要求制御部114からの復帰指示を待つ。要求処理部112は、要求制御部114から復帰指示を取得したか否かを判定し、復帰指示を取得していなければ、仕掛中の要求処理の停止を継続する。復帰指示を取得していれば、処理をステップS10に進め、次の注文データの処理を行う。
[Step S12] The request processing unit 112 delivers the order data and the number of registrations to the request control unit 114, and issues a transmission request.
[Step S13] The request processing unit 112 stops the in-process request processing that has issued the transmission request, and waits for a return instruction from the request control unit 114. The request processing unit 112 determines whether or not a return instruction has been acquired from the request control unit 114. If the return instruction has not been acquired, the request processing unit 112 continues to stop the request processing in progress. If the return instruction has been acquired, the process proceeds to step S10, and the next order data is processed.

以上の処理手順が実行されることにより、要求処理部112は、注文キュー111aに登録される注文データを1件ずつ取り出し、要求制御部114に対して送信要求を行い、復帰が指示されるまで処理を停止する。要求処理部112は、復帰が指示されたときは、この注文データの処理を終了し、次の注文データの処理を開始する。   By executing the above processing procedure, the request processing unit 112 retrieves the order data registered in the order queue 111a one by one, makes a transmission request to the request control unit 114, and until a return is instructed. Stop processing. When the request processing unit 112 is instructed to return, the request processing unit 112 ends the processing of the order data and starts processing the next order data.

図7は、要求制御部の要求制御処理の手順を示すフローチャートである。以下、図7に示す処理をステップ番号に沿って説明する。
[ステップS21]要求制御部114は、要求処理部112から発行された送信要求を受け付ける。送信要求には、送信する注文データと、注文キュー111aに登録されている注文データの登録件数が含まれている。
FIG. 7 is a flowchart illustrating a procedure of request control processing of the request control unit. In the following, the process illustrated in FIG. 7 will be described in order of step number.
[Step S21] The request control unit 114 accepts a transmission request issued from the request processing unit 112. The transmission request includes the order data to be transmitted and the number of registered order data registered in the order queue 111a.

[ステップS22]要求制御部114は、注文データの登録件数と閾値とを比較し、注文データの登録件数が閾値以下であるか否かを判定する。注文データの登録件数が閾値以下である時は、処理をステップS23に進める。登録件数が閾値を超えているときは、処理をステップS25に進める。   [Step S22] The request control unit 114 compares the registered number of order data with a threshold value, and determines whether the registered number of order data is equal to or less than the threshold value. If the order data registration number is equal to or less than the threshold, the process proceeds to step S23. If the registered number exceeds the threshold, the process proceeds to step S25.

[ステップS23]要求制御部114は、注文データの登録件数が閾値以下であるので、注文データは滞留していないと判断し、同期型を指定して通信制御部140に送信要求を出力する。具体的には、要求制御部114は、通信制御部140の同期型処理を呼び出す。   [Step S23] The request control unit 114 determines that the order data is not retained because the number of registered order data is equal to or less than the threshold, and outputs a transmission request to the communication control unit 140 by specifying the synchronous type. Specifically, the request control unit 114 calls the synchronous process of the communication control unit 140.

[ステップS24]要求制御部114は、通知制御部115から連携完了通知を取得するまで待つ。連携完了通知は、通知制御部115が通信制御部140から送信完了通知を受け取ったときに、要求制御部114に対して発行する通知である。連携完了通知を取得したときは、処理をステップS28に進める。   [Step S24] The request control unit 114 waits until a notification of completion of cooperation is obtained from the notification control unit 115. The cooperation completion notification is a notification issued to the request control unit 114 when the notification control unit 115 receives a transmission completion notification from the communication control unit 140. When the cooperation completion notification is acquired, the process proceeds to step S28.

[ステップS25]要求制御部114は、注文データの登録件数が閾値より多いので、注文の滞留が発生するおそれがあると判断し、非同期型を指定して通信制御部140に送信要求を出力する。具体的には、要求制御部114は、通信制御部140の非同期型処理を呼び出す。非同期型処理を呼び出す場合には、1件の注文データの送信処理が終了する前に次の注文データを送信することができるので、注文データを識別するため、送信要求ごとに要求IDを付与する。通信制御部140は、非同期型処理を呼び出されたときは、完了通知に要求IDを付与する。要求制御部114は、通信制御部140から取得した完了通知がどの注文データに対応するものであるかを要求IDで識別する。   [Step S25] The request control unit 114 determines that there is a possibility that the order will stay because the number of registered order data is larger than the threshold, and outputs a transmission request to the communication control unit 140 by designating the asynchronous type. . Specifically, the request control unit 114 calls the asynchronous process of the communication control unit 140. When calling asynchronous processing, since the next order data can be transmitted before the transmission processing of one order data is completed, a request ID is assigned to each transmission request in order to identify the order data. . When the asynchronous process is called, the communication control unit 140 gives a request ID to the completion notification. The request control unit 114 identifies to which order data the completion notification acquired from the communication control unit 140 corresponds to the request ID.

[ステップS26]要求制御部114は、通信制御部140から受付完了通知を取得するまで待つ。受付完了通知は、通信制御部140が要求制御部114の送信要求の受付処理を完了したときに、要求制御部114に対して発行する通知である。受付完了通知を取得したときは、処理をステップS27に進める。   [Step S <b> 26] The request control unit 114 waits until an acceptance completion notification is acquired from the communication control unit 140. The reception completion notification is a notification issued to the request control unit 114 when the communication control unit 140 completes the transmission request reception process of the request control unit 114. When the reception completion notification is acquired, the process proceeds to step S27.

[ステップS27]要求制御部114は、対応する注文データに関する注文管理情報111bの状態の項目を「受付」に更新するように状態管理部113に対して依頼する。状態管理部113は、依頼に応じて、対応する注文データに関する注文管理情報111bの状態の項目を「受付」に更新する。   [Step S27] The request control unit 114 requests the status management unit 113 to update the status item of the order management information 111b regarding the corresponding order data to “accepted”. In response to the request, the state management unit 113 updates the state item of the order management information 111b regarding the corresponding order data to “accepted”.

[ステップS28]要求制御部114は、要求処理部112より受け付けた送信要求の仕掛けを復帰するように復帰指示を要求処理部112に出力する。
以上の処理手順が実行されることにより、要求制御部114は、注文キュー111aの登録件数が閾値以下であれば、同期型処理を呼び出し、送信処理の完了後に要求処理部112を復帰させる。注文キュー111aの登録件数が閾値を超えていれば、非同期型処理を呼び出し、注文データの送信要求の受付完了後に要求処理部112を復帰させる。
[Step S <b> 28] The request control unit 114 outputs a return instruction to the request processing unit 112 so as to return the device of the transmission request received from the request processing unit 112.
By executing the processing procedure described above, the request control unit 114 calls the synchronous processing if the number of registrations in the order queue 111a is equal to or less than the threshold, and returns the request processing unit 112 after the transmission processing is completed. If the number of registered items in the order queue 111a exceeds the threshold value, the asynchronous processing is called, and the request processing unit 112 is returned after the reception of the order data transmission request is completed.

図8は、通知制御部の通知制御処理の手順を示すフローチャートである。以下、図8に示す処理をステップ番号に沿って説明する。
[ステップS31]通知制御部115は、通信制御部140が発行する送信完了通知を取得するのを待つ。通信制御部140は、送信完了通知を取得したときは、処理をステップS32に進める。
FIG. 8 is a flowchart illustrating a procedure of notification control processing of the notification control unit. In the following, the process illustrated in FIG. 8 will be described in order of step number.
[Step S31] The notification control unit 115 waits to acquire a transmission completion notification issued by the communication control unit 140. When the communication control unit 140 obtains the transmission completion notification, the communication control unit 140 proceeds with the process to step S32.

[ステップS32]通知制御部115は、送信完了通知を取得した注文データに対応する注文データを特定し、注文管理情報111bの該当する注文データの状態の項目を「完了」に更新するように状態管理部113に依頼する。状態管理部113は、注文管理情報111bの該当する注文データの状態の項目を「完了」に更新する。同期型処理が行われているときは、送信処理を行っている注文データは1件であるので、通知制御部115は、対応する注文データを容易に特定できる。非同期型処理が行われているときは、通知制御部115は、要求IDに基づいて対応する注文データを特定する。   [Step S32] The notification control unit 115 identifies the order data corresponding to the order data for which the transmission completion notification has been acquired, and updates the status item of the corresponding order data in the order management information 111b to “completed”. The management unit 113 is requested. The status management unit 113 updates the status item of the corresponding order data in the order management information 111b to “completed”. When synchronous processing is being performed, there is only one order data for which transmission processing is being performed, so the notification control unit 115 can easily identify the corresponding order data. When asynchronous processing is being performed, the notification control unit 115 identifies corresponding order data based on the request ID.

[ステップS33]通知制御部115は、送信処理が同期型で行われたか否かを判定する。同期型処理であるか、非同期型処理であるかは、通信制御部140から通知されるとする。また、例えば、要求IDの有無で判定するとしてもよい。通知制御部115は、同期型であれば処理をステップS34に進め、非同期型であれば、処理をステップS31に進める。   [Step S33] The notification control unit 115 determines whether or not the transmission process is performed in a synchronous manner. It is assumed that the communication control unit 140 notifies whether the processing is synchronous processing or asynchronous processing. For example, the determination may be made based on the presence or absence of the request ID. If the notification control unit 115 is synchronous, the process proceeds to step S34. If the notification control unit 115 is asynchronous, the process proceeds to step S31.

[ステップS34]通知制御部115は、同期型で行われているときは、要求制御部114に対し、連携完了通知を送り、処理をステップS31に進める。
このように、通知制御部115は、通信制御部140の送信完了通知を検出し、該当する注文データの注文管理情報111bの状態を更新する。また、同期型であれば、連携完了通知を要求制御部114へ通知する。
[Step S34] When the notification control unit 115 is synchronous, it sends a cooperation completion notification to the request control unit 114, and the process proceeds to step S31.
Thus, the notification control unit 115 detects the transmission completion notification from the communication control unit 140 and updates the state of the order management information 111b of the corresponding order data. In the case of the synchronous type, a notification of completion of cooperation is sent to the request control unit 114.

次に、同期型で要求制御処理が行われる場合の処理の流れについて説明する。図9は、同期型の要求制御処理の例を示すシーケンス図である。以下、図9に示す処理をステップ番号に沿って説明する。   Next, the flow of processing when request control processing is performed synchronously will be described. FIG. 9 is a sequence diagram illustrating an example of a synchronous request control process. In the following, the process illustrated in FIG. 9 will be described in order of step number.

[ステップST01]要求処理部112は、注文キュー111aから注文データを1件取り出す。このとき、注文キュー111aに登録される注文データの登録件数も算出する。   [Step ST01] The request processing unit 112 extracts one piece of order data from the order queue 111a. At this time, the number of registered order data registered in the order queue 111a is also calculated.

[ステップST02]要求処理部112は、状態管理部113に対し、取り出した注文データを注文管理情報111bに新たに登録するように、新規登録の依頼を行う。
[ステップST03]状態管理部113は、新規登録の依頼を受けた注文データのレコードを新たに作成し、注文管理情報111bに登録する。
[Step ST02] The request processing unit 112 requests the state management unit 113 to newly register the retrieved order data in the order management information 111b.
[Step ST03] The state management unit 113 newly creates a record of order data for which a new registration request has been received, and registers it in the order management information 111b.

[ステップST04]要求処理部112は、取り出した注文データの送信要求を要求制御部114に対して発行する。要求処理部112は、送信要求とともに登録件数と注文データとを要求制御部114に出力する。要求処理部112は、その後、待機601の状態に移行する。   [Step ST04] The request processing unit 112 issues a transmission request for the extracted order data to the request control unit 114. The request processing unit 112 outputs the registered number and order data to the request control unit 114 together with the transmission request. Thereafter, the request processing unit 112 shifts to a standby 601 state.

[ステップST05]要求制御部114は、要求処理部112から送信要求の注文データと、注文キュー111aの注文データの登録件数とを取得し、注文データの登録件数と閾値とを比較する。図9に示す要求制御部114の場合は、注文データの登録件数が閾値以下であるので、通信制御部140に対して同期型処理の呼び出しを行う。   [Step ST05] The request control unit 114 acquires the order data of the transmission request from the request processing unit 112 and the number of registered order data in the order queue 111a, and compares the number of registered order data with a threshold value. In the case of the request control unit 114 shown in FIG. 9, since the number of registered order data is equal to or less than the threshold value, the communication control unit 140 is called for synchronous processing.

[ステップST06]通信制御部140は、同期型処理の呼び出しを受け、注文データの送信要求の受付処理を行う。同期型処理であるので、受付完了時に通知は行わない。通信制御部140は、受け付けた注文データを電文に変換し、取引装置401に送信する。   [Step ST06] The communication control unit 140 receives a call for synchronous processing and performs processing for receiving an order data transmission request. Since it is a synchronous process, no notification is given when the reception is completed. The communication control unit 140 converts the received order data into a message and transmits it to the transaction apparatus 401.

[ステップST07]通信制御部140は、送信が完了したので、送信完了通知を通知制御部115に対して発行する。
[ステップST08]通知制御部115は、通信制御部140の発行した送信完了通知を取得し、連携完了通知を要求制御部114に対して発行する。
[Step ST07] Since the transmission is completed, the communication control unit 140 issues a transmission completion notification to the notification control unit 115.
[Step ST08] The notification control unit 115 acquires the transmission completion notification issued by the communication control unit 140, and issues a cooperation completion notification to the request control unit 114.

[ステップST09]要求制御部114は、連携完了通知を取得したことによって送信が完了したことを検出し、要求処理部112に対して復帰指示を行う。要求処理部112は、待機601の状態から復帰し、次の注文データの取り出しが可能な状態になる。   [Step ST09] The request control unit 114 detects that the transmission is completed by acquiring the cooperation completion notification, and issues a return instruction to the request processing unit 112. The request processing unit 112 returns from the standby 601 state, and is ready to retrieve the next order data.

[ステップST10]通知制御部115は、注文管理情報111bの送信完了通知を受けた注文データに該当する状態の項目を「完了」に更新するように、状態管理部113に対して依頼する。   [Step ST10] The notification control unit 115 requests the state management unit 113 to update the item of the state corresponding to the order data received the transmission completion notification of the order management information 111b to “completed”.

[ステップST11]状態管理部113は、注文管理情報111bの該当する注文データの状態の項目を更新する。
このように同期型の処理手順が行われる。
[Step ST11] The state management unit 113 updates the item of the state of the corresponding order data in the order management information 111b.
In this way, a synchronous processing procedure is performed.

次に、非同期型で要求制御処理が行われる場合の処理の流れについて説明する。図10は、非同期型の要求制御処理の例を示すシーケンス図である。以下、図10に示す処理をステップ番号に沿って説明する。   Next, the flow of processing when request control processing is performed asynchronously will be described. FIG. 10 is a sequence diagram illustrating an example of asynchronous request control processing. In the following, the process illustrated in FIG. 10 will be described in order of step number.

[ステップST21]要求処理部112は、注文キュー111aから注文データを1件取り出す。このとき、注文キュー111aに登録される注文データの登録件数も算出する。   [Step ST21] The request processing unit 112 extracts one piece of order data from the order queue 111a. At this time, the number of registered order data registered in the order queue 111a is also calculated.

[ステップST22]要求処理部112は、状態管理部113に対し、取り出した注文データを注文管理情報111bに新たに登録するように、新規登録の依頼を行う。
[ステップST23]状態管理部113は、新規登録の依頼を受けた注文データを新たに注文管理情報111bに登録する。
[Step ST22] The request processing unit 112 requests the state management unit 113 to newly register the retrieved order data in the order management information 111b.
[Step ST23] The state management unit 113 newly registers the order data received for the new registration in the order management information 111b.

[ステップST24]要求処理部112は、取り出した注文データの送信要求を要求制御部114に対して発行する。要求処理部112は、送信要求とともに注文データの登録件数と注文データとを要求制御部114に出力する。要求処理部112は、その後、待機602の状態に移行する。   [Step ST24] The request processing unit 112 issues a transmission request for the extracted order data to the request control unit 114. The request processing unit 112 outputs the number of registered order data and the order data together with the transmission request to the request control unit 114. Thereafter, the request processing unit 112 shifts to a standby 602 state.

[ステップST25]要求制御部114は、注文キュー111aに登録される注文データの登録件数と閾値とを比較し、注文データの登録件数が閾値を超えているので、通信制御部140に対して非同期型処理の呼び出しを行う。非同期型処理の呼び出しの際、要求IDも付加する。   [Step ST25] The request control unit 114 compares the registration number of the order data registered in the order queue 111a with a threshold value, and since the registration number of the order data exceeds the threshold value, the request control unit 114 is asynchronous with respect to the communication control unit 140. Call type processing. A request ID is also added when an asynchronous process is called.

[ステップST26]通信制御部140は、非同期型処理の呼び出しを受け、注文データの送信要求の受付処理を行う。通信制御部140は、受付処理終了後、受付完了通知を要求制御部114に対して発行する。   [Step ST26] The communication control unit 140 receives a call for asynchronous processing, and performs processing for receiving an order data transmission request. The communication control unit 140 issues a reception completion notification to the request control unit 114 after the reception process ends.

[ステップST27]通信制御部140は、受け付けが完了した注文データを電文に変換し、取引装置401に送信する。
[ステップST28]要求制御部114は、受付完了通知を取得し、状態管理部113に対し、受付完了通知を受けた注文データに対応する注文管理情報111bの状態の項目を、受付完了を示す「受付」に更新するように依頼を行う。
[Step ST <b> 27] The communication control unit 140 converts the received order data into a message and transmits it to the transaction apparatus 401.
[Step ST28] The request control unit 114 obtains an acceptance completion notification, and indicates to the status management unit 113 the status item of the order management information 111b corresponding to the order data for which the acceptance completion notification has been received. Request to update to “Reception”.

[ステップST29]状態管理部113は、要求制御部114の依頼を受け、受付完了通知に対応する注文データの状態の項目を「受付」に更新する。
[ステップST30]要求制御部114は、受付完了通知を取得したので、要求処理部112に対して復帰指示を発行する。要求処理部112は、待機602の状態から復帰し、次の注文データの取り出しが可能な状態になる。
[Step ST29] In response to the request from the request control unit 114, the state management unit 113 updates the order data state item corresponding to the reception completion notification to “accepted”.
[Step ST30] Since the request control unit 114 has acquired the acceptance completion notification, it issues a return instruction to the request processing unit 112. The request processing unit 112 returns from the standby state 602 and is ready to retrieve the next order data.

[ステップST31]要求処理部112は、復帰指示に応じて待機602の状態から復帰したので、次の注文データの処理を開始する。要求処理部112は、注文キュー111aから注文データを1件取り出す。このとき、注文キュー111aに登録される注文データの登録件数も算出する。また、図10では省略しているが、状態管理部113に対し、取り出した注文データを注文管理情報111bに新規登録するように依頼する。   [Step ST31] Since the request processing unit 112 returns from the standby state 602 according to the return instruction, it starts processing the next order data. The request processing unit 112 retrieves one piece of order data from the order queue 111a. At this time, the number of registered order data registered in the order queue 111a is also calculated. Further, although omitted in FIG. 10, the state management unit 113 is requested to newly register the retrieved order data in the order management information 111b.

[ステップST32]要求処理部112は、取り出した注文データの送信要求を要求制御部114に対して発行する。要求処理部112は、送信要求とともに登録件数と注文データとを要求制御部114に出力する。図示はしていないが、要求処理部112は、その後、待機状態に移行する。   [Step ST32] The request processing unit 112 issues a transmission request for the extracted order data to the request control unit 114. The request processing unit 112 outputs the registered number and order data to the request control unit 114 together with the transmission request. Although not shown, the request processing unit 112 then shifts to a standby state.

[ステップST33]要求制御部114は、注文キュー111aに登録される注文データの登録件数と閾値とを比較し、注文データの登録件数が閾値を超えているので、通信制御部140に対して非同期型処理の呼び出しを行う。非同期型処理の呼び出しの際、要求IDも付加する。なお、このとき、注文データの登録件数が閾値を超えていないときは、同期型処理の呼び出しを行う。   [Step ST33] The request control unit 114 compares the registration number of the order data registered in the order queue 111a with a threshold value, and since the registration number of the order data exceeds the threshold value, the request control unit 114 is asynchronous with respect to the communication control unit 140. Call type processing. A request ID is also added when an asynchronous process is called. At this time, if the number of registered order data does not exceed the threshold value, a synchronous process is called.

[ステップST34]通信制御部140は、ステップST27で送信処理を行った注文データの送信が完了したので、送信完了通知を通知制御部115に対し発行する。通信制御部140は、送信完了通知に送信した注文データの要求IDを付加する。   [Step ST34] The communication control unit 140 issues a transmission completion notification to the notification control unit 115 because the transmission of the order data subjected to the transmission process in step ST27 is completed. The communication control unit 140 adds the request ID of the order data transmitted to the transmission completion notification.

[ステップST35]通知制御部115は、通信制御部140の発行した送信完了通知を取得し、要求IDに基づいて対応する注文データを特定する。通知制御部115は、送信完了通知を受けた注文データに対応する注文管理情報111bの状態の項目を「完了」に更新するように、状態管理部113に対して依頼する。   [Step ST35] The notification control unit 115 acquires the transmission completion notification issued by the communication control unit 140, and identifies the corresponding order data based on the request ID. The notification control unit 115 requests the status management unit 113 to update the status item of the order management information 111b corresponding to the order data received the transmission completion notification to “completed”.

[ステップST36]状態管理部113は、注文管理情報111bの該当する注文データの状態の項目を更新する。
このように非同期型の処理手順が行われる。
[Step ST36] The state management unit 113 updates the item of the state of the corresponding order data in the order management information 111b.
In this way, an asynchronous processing procedure is performed.

注文処理装置100によれば、送信要求を受けた注文データの登録件数に応じて自動的に同期型または非同期型を選択して送信処理を行うので、注文の滞留を抑制することができる。なお、注文処理装置100では、注文データの登録件数を算出し、同期型と非同期型の選択を行っている。これによれば、正確に注文の滞留の可能性を予測することができるが、注文の滞留の可能性を推測できる指標であれば他の指標を用いるとしてもよい。例えば、一定時間に入力する注文データの頻度を算出し、基準値以上の頻度で注文データが入力することを検出した場合に送信処理を同期型から非同期型に切り替えるとしてもよい。また、予め、注文が殺到する時間帯が予測できれば、時間で送信処理を同期型から非同期型に切り替えるとしてもよい。また、これらの指標を組み合わせるとしてもよい。   According to the order processing apparatus 100, since the transmission processing is performed by automatically selecting the synchronous type or the asynchronous type according to the number of registered order data for which a transmission request has been received, it is possible to suppress the staying of orders. Note that the order processing apparatus 100 calculates the number of registrations of order data, and performs selection between a synchronous type and an asynchronous type. According to this, the possibility of the stay of the order can be accurately predicted, but other indices may be used as long as the index can estimate the possibility of the stay of the order. For example, it is possible to calculate the frequency of order data input at a certain time, and switch the transmission process from the synchronous type to the asynchronous type when it is detected that the order data is input at a frequency equal to or higher than a reference value. In addition, if a time zone in which orders are flooded can be predicted in advance, the transmission process may be switched from synchronous to asynchronous according to time. Further, these indices may be combined.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、注文処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記憶装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記憶装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD、DVD−RAM、CD−ROM/RWなどがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。   The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the order processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic storage device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic storage device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical discs include DVD, DVD-RAM, CD-ROM / RW, and the like. Magneto-optical recording media include MO (Magneto-Optical disk).

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, a portable recording medium such as a DVD or a CD-ROM in which the program is recorded is sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、ネットワークを介して接続されたサーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. In addition, each time a program is transferred from a server computer connected via a network, the computer can sequentially execute processing according to the received program.

また、上記の処理機能の少なくとも一部を、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)などの電子回路で実現することもできる。   In addition, at least a part of the above processing functions can be realized by an electronic circuit such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device).

本発明は上記の実施形態そのままに限定されるものではなく、実施段階でのその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素を適宜組み合わせてもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。このような、発明の趣旨を逸脱しない範囲内において種々の変形や応用が可能である。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, all the constituent elements shown in the embodiments may be appropriately combined. Furthermore, constituent elements over different embodiments may be appropriately combined. Various modifications and applications are possible without departing from the spirit of the invention.

1 記憶部
1a 注文情報
2 注文処理部
3 通信制御部
100 注文処理装置
110 注文処理部
111 記憶部
111a 注文キュー
111b 注文管理情報
112 要求処理部
113 状態管理部
114 要求制御部
115 通知制御部
120 入力部
130 表示部
140 通信制御部
150 要求パス
160 通知パス
DESCRIPTION OF SYMBOLS 1 Storage part 1a Order information 2 Order processing part 3 Communication control part 100 Order processing apparatus 110 Order processing part 111 Storage part 111a Order queue 111b Order management information 112 Request processing part 113 Status management part 114 Request control part 115 Notification control part 120 Input Unit 130 display unit 140 communication control unit 150 request path 160 notification path

Claims (6)

送信対象の注文データが登録される注文情報を記憶部に記憶するコンピュータに、
前記注文情報に含まれる前記注文データの件数が、所定の閾値以下のときは第1の方式を、前記閾値より多いときは第2の方式を選択して、前記注文情報から第1の注文データを取り出し、
前記第1の方式を選択したときは、通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信完了時に発行する送信完了通知を取得した後に第2の注文データの送信要求を可とし、
前記第2の方式を選択したときは、前記通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信要求の受付完了時に発行する受付完了通知を取得した後に前記第2の注文データの送信要求を可とする、
処理を実行させる注文処理プログラム。
In the computer that stores the order information in which the order data to be transmitted is registered in the storage unit,
The first order data is selected from the order information by selecting the first method when the number of the order data included in the order information is equal to or less than a predetermined threshold, and selecting the second method when the number is greater than the threshold. Take out
When the first method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit acquires a transmission completion notification issued when the transmission of the first order data is completed. Later, the second order data transmission request is permitted,
When the second method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit issues a reception completion issued upon completion of reception of the first order data transmission request. Enabling the second order data transmission request after obtaining the notification;
An order processing program that executes processing.
前記コンピュータに、
前記第2の方式を選択したときは、前記通信制御部に対して前記第1の注文データの送信を要求する際に、前記送信要求を識別する要求識別情報を前記第1の注文データに付加し、
前記第1の注文データの送信完了時に前記通信制御部が前記要求識別情報を付加して発行する前記送信完了通知を取得し、前記要求識別情報に基づいて送信処理が終了した前記第1の注文データを特定する、
処理を実行させる請求項1に記載の注文処理プログラム。
In the computer,
When the second method is selected, request identification information for identifying the transmission request is added to the first order data when the communication control unit is requested to transmit the first order data. And
When the transmission of the first order data is completed, the communication control unit acquires the transmission completion notification issued by adding the request identification information, and the first order whose transmission processing is completed based on the request identification information Identify the data,
The order processing program according to claim 1, wherein the order is executed.
前記コンピュータに、
前記注文データが前記注文情報に登録されたことを検出してインクリメントし、前記第2の注文データの送信要求を可としたときにディクリメントするカウンタを設け、前記カウンタによって前記注文情報に含まれる前記注文データの件数を計数する、
処理を実行させる請求項1に記載の注文処理プログラム。
In the computer,
A counter is provided to detect that the order data has been registered in the order information, and to increment when the transmission request for the second order data is accepted, and is included in the order information by the counter. Counting the number of orders data;
The order processing program according to claim 1, wherein the order is executed.
前記コンピュータに、
前記注文データに対応付けて前記注文データの送信処理の進行状態を示す情報を注文管理情報として前記記憶部に記憶し、
外部からの要求に応じて、前記注文管理情報に基づく前記注文データの送信処理の進行状態を表示装置に表示する、
処理を実行させる請求項1乃至3のいずれか1項に記載の注文処理プログラム。
In the computer,
Information indicating the progress of the order data transmission process in association with the order data is stored in the storage unit as order management information,
In response to a request from the outside, the progress status of the order data transmission process based on the order management information is displayed on a display device.
The order processing program according to any one of claims 1 to 3, wherein the order is executed.
送信対象の注文データが登録される注文情報を記憶する記憶部と、
前記注文データを、前記注文データに基づく接続先の取引装置に送信する通信制御部と、
前記注文情報に含まれる前記注文データの件数が、所定の閾値以下のときは第1の方式を、前記閾値より多いときは第2の方式を選択して、前記注文情報から第1の注文データを取り出し、前記第1の方式を選択したときは、前記通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信完了時に発行する送信完了通知を取得した後に第2の注文データの送信要求を可とし、前記第2の方式を選択したときは、前記通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信要求の受付完了時に発行する受付完了通知を取得した後に前記第2の注文データの送信要求を可とする注文処理部と、
を有する注文処理装置。
A storage unit for storing order information in which order data to be transmitted is registered;
A communication control unit that transmits the order data to a transaction apparatus connected to based on the order data;
The first order data is selected from the order information by selecting the first method when the number of the order data included in the order information is equal to or less than a predetermined threshold, and selecting the second method when the number is greater than the threshold. When the first method is selected, the communication control unit requests the communication control unit to transmit the first order data, and the communication control unit issues a transmission completion when the transmission of the first order data is completed. If the second order data transmission request is permitted after the notification is acquired and the second method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit An order processing unit that allows a transmission request for the second order data after obtaining a reception completion notification issued upon completion of reception of the transmission request for the first order data;
Having an order processing device.
コンピュータが、
送信対象の注文データが登録され、記憶部に記憶される注文情報を読み出し、
前記注文情報に含まれる前記注文データの件数が、所定の閾値以下のときは第1の方式を、前記閾値より多いときは第2の方式を選択して、前記注文情報から第1の注文データを取り出し、
前記第1の方式を選択したときは、通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信完了時に発行する送信完了通知を取得した後に第2の注文データの送信要求を可とし、
前記第2の方式を選択したときは、前記通信制御部に前記第1の注文データの送信を要求し、前記通信制御部が前記第1の注文データの送信要求の受付完了時に発行する受付完了通知を取得した後に前記第2の注文データの送信要求を可とする、
注文処理方法。
Computer
Order data to be transmitted is registered, and order information stored in the storage unit is read,
The first order data is selected from the order information by selecting the first method when the number of the order data included in the order information is equal to or less than a predetermined threshold, and selecting the second method when the number is greater than the threshold. Take out
When the first method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit acquires a transmission completion notification issued when the transmission of the first order data is completed. Later, the second order data transmission request is permitted,
When the second method is selected, the communication control unit is requested to transmit the first order data, and the communication control unit issues a reception completion issued upon completion of reception of the first order data transmission request. Enabling the second order data transmission request after obtaining the notification;
Order processing method.
JP2015106938A 2015-05-27 2015-05-27 Order processing program, order processing apparatus and order processing method Active JP6558950B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015106938A JP6558950B2 (en) 2015-05-27 2015-05-27 Order processing program, order processing apparatus and order processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015106938A JP6558950B2 (en) 2015-05-27 2015-05-27 Order processing program, order processing apparatus and order processing method

Publications (2)

Publication Number Publication Date
JP2016224488A true JP2016224488A (en) 2016-12-28
JP6558950B2 JP6558950B2 (en) 2019-08-14

Family

ID=57745856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015106938A Active JP6558950B2 (en) 2015-05-27 2015-05-27 Order processing program, order processing apparatus and order processing method

Country Status (1)

Country Link
JP (1) JP6558950B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232294A (en) * 1998-02-16 1999-08-27 Ntt Communication Ware Kk Www system and session managing method in www system
JP2004133925A (en) * 2002-09-20 2004-04-30 Ricoh Co Ltd Information processor, method and program; service provision device, method and program; and recording medium
JP2005092671A (en) * 2003-09-19 2005-04-07 Bank Of Tokyo-Mitsubishi Ltd Financial transaction support device and program
JP2006011889A (en) * 2004-06-28 2006-01-12 Hitachi Ltd Order data check processing method
JP2007299308A (en) * 2006-05-02 2007-11-15 Ricoh Co Ltd Job processing system, job processing method, program, and recording medium
JP2008135013A (en) * 2006-10-30 2008-06-12 Hitachi Ltd Order system
JP2014505951A (en) * 2011-02-21 2014-03-06 ゾモジョ タイ リミテッド Market access system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232294A (en) * 1998-02-16 1999-08-27 Ntt Communication Ware Kk Www system and session managing method in www system
JP2004133925A (en) * 2002-09-20 2004-04-30 Ricoh Co Ltd Information processor, method and program; service provision device, method and program; and recording medium
JP2005092671A (en) * 2003-09-19 2005-04-07 Bank Of Tokyo-Mitsubishi Ltd Financial transaction support device and program
JP2006011889A (en) * 2004-06-28 2006-01-12 Hitachi Ltd Order data check processing method
JP2007299308A (en) * 2006-05-02 2007-11-15 Ricoh Co Ltd Job processing system, job processing method, program, and recording medium
JP2008135013A (en) * 2006-10-30 2008-06-12 Hitachi Ltd Order system
JP2014505951A (en) * 2011-02-21 2014-03-06 ゾモジョ タイ リミテッド Market access system and method

Also Published As

Publication number Publication date
JP6558950B2 (en) 2019-08-14

Similar Documents

Publication Publication Date Title
US9594585B2 (en) Virtual machine control method, apparatus, and medium
US20020178174A1 (en) Backup system, backup method, database apparatus, and backup apparatus
US20090113448A1 (en) Satisfying a request for an action in a virtual world
US20200159565A1 (en) Predicting transaction outcome based on artifacts in a transaction processing environment
WO2019057193A1 (en) Data deletion method and distributed storage system
US20170177277A1 (en) Managing data operations in a quorum-based data replication system
JP2015022606A (en) Information processing apparatus, job scheduling method, and job scheduling program
CN108415792A (en) Disaster tolerance system, method, apparatus and equipment
US9733997B2 (en) Event management method and distributed system
JPH07152668A (en) Information processor and communication method
CN110321252B (en) Skill service resource scheduling method and device
TW201814502A (en) Performing distributed branch prediction using fused processor cores in processor-based systems
US9052796B2 (en) Asynchronous handling of an input stream dedicated to multiple targets
JP6558950B2 (en) Order processing program, order processing apparatus and order processing method
US9634962B2 (en) Pre-staging messages at a remote location
US20230195497A1 (en) Container resource designing device, container resource designing method, and program
JP5083408B2 (en) Configuration management apparatus, configuration management program, and configuration management method
CN111078693B (en) Method and device for generating database record primary key
JP6500668B2 (en) Job processing system, job processing apparatus and job processing program
CN116225312A (en) Mirror image cleaning method and device, electronic equipment and storage medium
US9984097B2 (en) Systems and computer program products for transferring reserves when moving virtual machines across systems
US20180063005A1 (en) Non-blocking request processing method and device
JP2017107486A (en) Processing resource control program, processing resource controller, and processing resource control method
CN114222985A (en) System and server including database schema for accessing and managing utilization and job data
CN112187842A (en) Local area network data processing system and local area network data processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170607

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180903

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190510

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190520

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190716

R150 Certificate of patent or registration of utility model

Ref document number: 6558950

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250