JP7763122B2 - Order management device, order management method, and order management program - Google Patents
Order management device, order management method, and order management programInfo
- Publication number
- JP7763122B2 JP7763122B2 JP2022033889A JP2022033889A JP7763122B2 JP 7763122 B2 JP7763122 B2 JP 7763122B2 JP 2022033889 A JP2022033889 A JP 2022033889A JP 2022033889 A JP2022033889 A JP 2022033889A JP 7763122 B2 JP7763122 B2 JP 7763122B2
- Authority
- JP
- Japan
- Prior art keywords
- order
- order management
- orders
- identifier
- cpu
- 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.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
開示の技術は、注文管理装置、注文管理方法及び注文管理プログラムに関する。 The disclosed technology relates to an order management device, an order management method, and an order management program.
従来、飲食店において、顧客を案内するエリア(例えばテーブル)に設置された注文装置から注文を受け付けること等により、顧客ごとの注文を管理している。 Traditionally, restaurants manage orders for each customer by accepting them from an ordering device installed in the customer guiding area (e.g., at a table).
例えば、特許文献1には、飲食店の店員の操作により注文情報を入力して送信する第1の携帯通信端末と、顧客の所有する各種の情報を入力して送信可能な第2の携帯通信端末と、注文情報を集計して管理する飲食店制御装置と、前記第1の携帯通信端末、前記第2の携帯通信端末、前記飲食店制御装置との間で通信回線を介して情報を送受信し、飲食店の管理・運営に関する情報を処理する情報処理サイトを提供する管理制御装置と、から構成され、前記管理制御装置は、前記情報処理サイト中に顧客が注文情報を入力して送信するための顧客注文サイトを備え、前記第1の携帯通信端末がこの顧客注文サイトにアクセスするためのアクセス情報を記録した二次元コードを表示し、顧客の操作する前記第2の携帯通信端末が前記二次元コードから読み取ったアクセス情報に基づいて前記顧客注文サイトにアクセスし、注文情報を入力して送信してきた場合、受信した注文情報を前記飲食店制御装置に送信し、前記飲食店制御装置は、店員の操作する前記第1の携帯通信端末から送信された注文情報に併せて顧客の操作する前記第2の携帯通信端末から送信された注文情報を集計して管理することを特徴とする飲食店の運営管理システム、が開示されている。 For example, Patent Document 1 discloses a restaurant operation management system comprising a first mobile communication terminal operated by a restaurant staff member to input and send order information; a second mobile communication terminal to which various information owned by customers can be input and sent; a restaurant control device that compiles and manages order information; and a management control device that transmits and receives information between the first mobile communication terminal, the second mobile communication terminal, and the restaurant control device via communication lines and provides an information processing site that processes information related to the management and operation of the restaurant. The management control device includes a customer order site on the information processing site where customers can input and send order information. The first mobile communication terminal displays a two-dimensional code that records access information for accessing the customer order site. When the second mobile communication terminal operated by a customer accesses the customer order site based on the access information read from the two-dimensional code and inputs and sends order information, the received order information is sent to the restaurant control device. The restaurant control device then compiles and manages the order information transmitted from the second mobile communication terminal operated by the customer together with the order information transmitted from the first mobile communication terminal operated by the staff member.
特許文献1の技術では、顧客が所有する端末装置を用いて料理を注文する場合、端末装置ごとに注文を受け付けるため、調理、配膳又は提供段階において、同じエリアの顧客から受けた注文であるかを判断できない虞がある。例えば、注文を受けた順番で調理指示の伝票の印刷がされる場合、様々なエリアからの注文の伝票が顧客グループごとにまとまらない状態で印刷される。そのため、顧客グループごとに調理を行う際に、従業員が調理の順番や配膳先を誤る場合がある。 With the technology in Patent Document 1, when customers order food using their own terminal devices, orders are accepted on a per-terminal basis, which means that it may be impossible to determine whether orders are from customers in the same area during the cooking, serving, or serving stages. For example, if cooking instruction slips are printed in the order in which the orders are received, order slips from various areas may be printed without being grouped by customer group. As a result, when cooking for each customer group, staff may make mistakes in the cooking order or serving destination.
開示の技術は、顧客が所有する端末装置を通じて注文を受け付ける場合において、顧客グループごとに注文の調理、配膳又は提供を管理できる注文管理装置、注文管理方法及び注文管理プログラムを提供することを目的とする。 The disclosed technology aims to provide an order management device, order management method, and order management program that can manage the cooking, serving, or provision of orders for each customer group when accepting orders via terminal devices owned by customers.
第1態様に係る注文管理装置は、複数の端末装置と通信を行う注文管理装置であって、前記複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける受付部と、予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化するグループ化部とを含む。 The order management device according to the first aspect is an order management device that communicates with multiple terminal devices, and includes a reception unit that receives orders from the multiple terminal devices, each of which includes an identifier that identifies one or more customers guided to a single area as a single unit, and a grouping unit that groups the multiple orders received within a predetermined period of time by the identifier.
第1態様では、注文に含まれる識別子ごとに、当該注文をグループ化する。そのため、第1態様によれば、顧客グループごとに注文の調理、配膳又は提供を管理できる。 In the first aspect, orders are grouped by the identifier contained in the order. Therefore, according to the first aspect, the cooking, serving, or provision of orders can be managed for each customer group.
第2態様に係る注文管理装置は、第1態様に係る注文管理装置において、前記グループ化部は、グループ化されていない最初の注文を受け付けた時から前記一単位の顧客数又は前記端末装置数に応じて設定された期間内に受け付けた前記注文を前記識別子ごとにグループ化する。 The order management device according to the second aspect is the order management device according to the first aspect, wherein the grouping unit groups, by identifier, the orders received within a period set according to the number of customers or the number of terminal devices per unit from the time the first ungrouped order is received.
第2態様によれば、顧客グループの人数が多い場合は、注文をグループ化する待機時間を長くすることにより、1回の出力においてグループ化する注文を増やせる。 According to the second aspect, when a customer group has a large number of people, the waiting time for grouping orders can be extended, thereby increasing the number of orders grouped in a single output.
第3態様に係る注文管理装置は、第1態様又は第2態様に係る注文管理装置において、前記グループ化部は、前記一単位において前記顧客が最初に注文を行う場合、追加で注文を行う場合よりも前記期間をより長くする。 The order management device according to the third aspect is the order management device according to the first or second aspect, wherein the grouping unit extends the period when the customer places their first order in the unit compared to when the customer places an additional order.
第3態様によれば、最初の注文は追加の注文に比べて、注文をする顧客の割合が多いという実情に合わせて、注文をグループ化するための待機時間を長くできる。 According to the third aspect, the waiting time for grouping orders can be extended to accommodate the fact that a higher proportion of customers place initial orders compared to additional orders.
第4態様に係る注文管理装置は、第1態様から第3態様の何れかの態様に係る注文管理装置において、前記グループ化部は、前記注文を受け付ける度に予め定めた上限を超えない範囲で前記期間を延長する。 The order management device according to a fourth aspect is the order management device according to any one of the first to third aspects, wherein the grouping unit extends the period each time an order is received, within a range not exceeding a predetermined upper limit.
第4態様によれば、追加注文後に更に追加でされる注文をグループ化できる場合がある。また、第4態様によれば、グループ化する待機時間が延々と長くなることを防止できる。 According to the fourth aspect, it may be possible to group additional orders placed after an additional order has been placed. Furthermore, according to the fourth aspect, it is possible to prevent the waiting time for grouping from becoming endlessly long.
第5態様に係る注文管理装置は、第1態様から第4態様の何れかの態様に係る注文管理装置において、前記期間内に受け付けたグループ化した前記注文を、前記期間の経過後に出力する出力部を含む。 The order management device according to the fifth aspect is the order management device according to any one of the first to fourth aspects, and includes an output unit that outputs the grouped orders received within the period after the period has elapsed.
第5態様によれば、グループ化した注文を、外部装置が受信又は表示部が表示等することにより、外部装置又は従業員等が注文の調理、配膳又は提供を管理できる。 According to the fifth aspect, the grouped orders are received by an external device or displayed on a display unit, allowing the external device or an employee to manage the cooking, serving, or provision of the orders.
第6態様に係る注文管理装置は、第5態様に係る注文管理装置において、前記出力部は、前記期間内に前記識別子に対応する前記一単位の顧客数と同数の前記端末装置から前記注文を受け付けた場合、前記期間の経過を待たずにグループ化した前記注文を出力する。 The order management device according to the sixth aspect is the order management device according to the fifth aspect, wherein if the output unit receives orders from the same number of terminal devices as the number of customers in one unit corresponding to the identifier within the period, it outputs the grouped orders without waiting for the period to elapse.
第6態様によれば、顧客グループの全員の端末から注文を受け付けた場合は、期間の経過を待たずに注文が店内に設置されたプリンタ等に出力されるため、当該顧客グループが注文した物の提供時間が短縮される。 According to the sixth aspect, when orders are accepted from the terminals of all members of a customer group, the orders are output to a printer or other device installed in the store without waiting for a certain period of time to pass, thereby shortening the time it takes to provide the items ordered by that customer group.
第7態様に係る注文管理装置は、第1態様から第6態様の何れかの態様に係る注文管理装置において、前記識別子をパラメータに含む注文画面へのアクセス情報である二次元コードを生成する生成部を含み、前記受付部は、前記二次元コードを読み取った前記端末装置から前記注文画面を介して注文された前記注文を受け付ける。 The order management device according to a seventh aspect is the order management device according to any one of the first to sixth aspects, and includes a generation unit that generates a two-dimensional code that is access information to an order screen and includes the identifier as a parameter, and the reception unit receives the order placed via the order screen from the terminal device that reads the two-dimensional code.
第7態様によれば、端末装置と識別子が関連付いていない場合であっても、識別子と注文とを関連付けることができる。 According to the seventh aspect, even if the terminal device and the identifier are not associated, it is possible to associate the identifier with the order.
第8態様に係る注文管理方法は、複数の端末装置と通信を行う注文管理装置における注文管理方法であって、前記複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける処理と、予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化する処理と、をコンピュータが実行する。 The order management method according to the eighth aspect is an order management method for an order management device that communicates with multiple terminal devices, in which a computer executes the following processes: accepting customer orders from the multiple terminal devices, each of which includes an identifier that identifies one or more customers guided to a single area as a unit; and grouping the multiple orders accepted within a predetermined period by the identifier.
第8態様では、注文に含まれる識別子ごとに、当該注文をグループ化する。そのため、第8態様によれば、顧客グループごとに注文の調理、配膳又は提供を管理できる。 In the eighth aspect, orders are grouped by the identifier contained in the order. Therefore, according to the eighth aspect, the cooking, serving, or provision of orders can be managed for each customer group.
第9態様に係る注文管理プログラムは、複数の端末装置と通信を行う注文管理装置において実行される注文管理プログラムであって、複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける処理と、予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化する処理と、をコンピュータに実行させる。 The order management program according to the ninth aspect is an order management program executed by an order management device that communicates with multiple terminal devices, and causes a computer to execute the following processes: accepting orders from multiple terminal devices, each containing an identifier that identifies one or more customers guided to a single area as a single unit; and grouping the multiple orders accepted within a predetermined period by the identifier.
第9態様では、コンピュータに次の処理を実行させる。すなわち、注文管理プログラムによりコンピュータは、注文に含まれる識別子ごとに、当該注文をグループ化する。そのため、第8態様によれば、顧客グループごとに注文の調理、配膳又は提供を管理できる。 In the ninth aspect, the computer is caused to perform the following process. That is, the order management program causes the computer to group orders by the identifier contained in the order. Therefore, according to the eighth aspect, the cooking, serving, or provision of orders can be managed for each customer group.
開示の技術によれば、顧客グループごとに注文の調理、配膳又は提供を管理できる。 The disclosed technology allows for the cooking, serving, or provision of orders to be managed for each customer group.
以下、開示の技術の実施形態の一例を、図面を参照しつつ説明する。なお、各図面において同一又は等価な構成要素及び部分には同一の参照符号を付与している。また、図面の寸法比率は、説明の都合上誇張されており、実際の比率とは異なる場合がある。 An example of an embodiment of the disclosed technology will be described below with reference to the drawings. Note that the same reference numerals are used to designate identical or equivalent components and parts in each drawing. Also, the dimensional proportions in the drawings have been exaggerated for the sake of explanation and may differ from the actual proportions.
本開示の注文管理システム1によって、注文を管理する概略について、図1を用いて説明する。注文管理システム1は、注文管理装置10、サーバ20、会計装置30、プリンタ40、ハンディターミナル50及び端末装置60を含んで構成される。 An overview of how orders are managed using the order management system 1 of the present disclosure will be explained using Figure 1. The order management system 1 includes an order management device 10, a server 20, an accounting device 30, a printer 40, a handheld terminal 50, and a terminal device 60.
注文管理装置10は、注文を管理する装置である。注文管理装置10は、サーバ20を介して、端末装置60と通信を行う。注文管理装置10は、サーバ20から一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む注文を受け付ける。本開示において、当該単位を顧客グループと記載する場合がある。エリアとは、テーブル、立ち席、椅子又は個室等である。識別子は、例えば、店舗を識別するための店舗番号と顧客グループが案内されたテーブルのテーブル番号との組み合わせである。注文管理装置10は、QRコード(登録商標)を含む二次元コードを生成する。二次元コードは、識別子をパラメータに含む注文画面へのアクセス情報である。
注文管理装置10は、障害に備えマスタ及びバックアップを切り替える冗長構成であってもよい。例えば、注文管理装置10Aをマスタ機器、注文管理装置10Bをバックアップ機器とする。本開示において、マスタ機器として動作する注文管理装置を表す場合は、参照番号10を用い、複数の注文管理装置を区別して表す場合は、参照番号10A、10Bを用いる場合がある。
The order management device 10 is a device that manages orders. The order management device 10 communicates with terminal devices 60 via the server 20. The order management device 10 accepts orders that include an identifier that identifies one or more customers guided to an area from the server 20 as a single unit. In the present disclosure, this unit may be referred to as a customer group. An area may be a table, standing area, chairs, or a private room. The identifier is, for example, a combination of a store number for identifying the store and the table number of the table to which the customer group is guided. The order management device 10 generates a two-dimensional code that includes a QR code (registered trademark). The two-dimensional code is access information to an order screen that includes the identifier as a parameter.
The order management system 10 may have a redundant configuration that switches between a master and a backup in case of a failure. For example, the order management system 10A may be the master device, and the order management system 10B may be the backup device. In this disclosure, the order management system operating as the master device may be referred to as 10, and the reference numbers 10A and 10B may be used to distinguish between multiple order management systems.
サーバ20は、店舗に来店した顧客が注文を行うための注文画面を提供するサーバである。サーバ20は、例えば、注文画面を構成するWEBページを提供するWEBサーバである。サーバ20は、端末装置60から識別子をパラメータに含む要求を受信する。そして、サーバ20は、受信した識別子を注文に含めて注文管理装置10へ送信する。 Server 20 is a server that provides an order screen for customers visiting the store to place orders. Server 20 is, for example, a web server that provides a web page that constitutes the order screen. Server 20 receives a request from terminal device 60 that includes an identifier as a parameter. Server 20 then includes the received identifier in the order and sends it to the order management device 10.
会計装置30は、注文の会計を識別子ごとに行う装置である。 The accounting device 30 is a device that processes orders by identifier.
プリンタ40は、店内に設置されたプリンタである。プリンタ40は、識別子を含む二次元コードを印刷する。印刷された二次元コードは、従業員によって、識別子により特定されるエリアに配置される。また、プリンタ40は、注文の伝票発行にも使用され、従業員は、印刷された伝票に従い調理又は配膳を行う。 Printer 40 is a printer installed inside the store. Printer 40 prints a two-dimensional code that includes an identifier. The printed two-dimensional code is placed by an employee in an area specified by the identifier. Printer 40 is also used to issue order slips, and the employee cooks or serves the food according to the printed slip.
ハンディターミナル50は、従業員が携帯する端末である。ハンディターミナル50は、顧客グループの人数である顧客数を識別子ごとに注文管理装置10に送信する。ハンディターミナル50は、顧客グループが利用する端末装置60の台数である端末装置数を送信してもよい。例えば、従業員は、顧客グループが利用する端末装置数を確認し、ハンディターミナル50を用いて端末装置数を送信する。換言すれば、ハンディターミナル50は、識別子が同じになる端末装置60の端末装置数を、識別子ごとに送信する。ハンディターミナル50は、スマートフォン又はタブレット型端末等であってもよい。 The handheld terminal 50 is a terminal carried by an employee. The handheld terminal 50 transmits the number of customers, which is the number of people in a customer group, to the order management device 10 for each identifier. The handheld terminal 50 may also transmit the number of terminal devices, which is the number of terminal devices 60 used by the customer group. For example, an employee checks the number of terminal devices used by the customer group and transmits the number of terminal devices using the handheld terminal 50. In other words, the handheld terminal 50 transmits the number of terminal devices 60 with the same identifier for each identifier. The handheld terminal 50 may be a smartphone, tablet terminal, or the like.
端末装置60は、顧客が所有するスマートフォン又はタブレット型端末等である。端末装置60は、エリアに配置されている印刷された二次元コードを当該端末装置60に設けられたカメラにより読み取る。次に、端末装置60は、読み取った二次元コードのアクセス情報により、パラメータに識別子を含む要求をサーバ20へ送信する。そして、端末装置60は、注文を行うための注文画面を取得して注文を行う。換言すれば、端末装置60は、注文画面を介して、注文管理装置10へ注文を送信する。端末装置60は、自己を識別する値として、MAC(Media Access Control address)アドレス、IP(Internet Protocol)アドレス又は端末装置60ごとに割り当てた値等を注文管理装置10又はサーバ20へ送信する。 The terminal device 60 is a smartphone, tablet, or other device owned by the customer. The terminal device 60 reads a printed two-dimensional code placed in the area using a camera installed on the terminal device 60. Next, the terminal device 60 sends a request including an identifier as a parameter to the server 20 using the access information of the read two-dimensional code. The terminal device 60 then acquires an order screen for placing an order and places the order. In other words, the terminal device 60 sends the order to the order management device 10 via the order screen. The terminal device 60 sends a value to identify itself, such as a MAC (Media Access Control address) address, an IP (Internet Protocol) address, or a value assigned to each terminal device 60, to the order management device 10 or server 20.
[第1実施形態]
図2は、注文管理装置10のハードウェア構成を示すブロック図である。注文管理装置10は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、ストレージ14、入力部15、表示部16及び通信インタフェース17を有する。各構成は、バス19を介して相互に通信可能に接続されている。
[First embodiment]
2 is a block diagram showing the hardware configuration of the order management device 10. The order management device 10 has a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, storage 14, an input unit 15, a display unit 16, and a communication interface 17. Each component is connected to each other via a bus 19 so that they can communicate with each other.
CPU11は、中央演算処理ユニットであり、各種プログラムを実行したり、各部を制御したりする。すなわち、CPU11は、ROM12又はストレージ14からプログラムを読み出し、RAM13を作業領域としてプログラムを実行する。CPU11は、ROM12又はストレージ14に記憶されているプログラムに従って、上記各構成の制御及び各種の演算処理を行う。第1実施形態では、ROM12又はストレージ14には、注文管理プログラムが格納されている。 The CPU 11 is a central processing unit that executes various programs and controls each component. That is, the CPU 11 reads programs from the ROM 12 or storage 14 and executes the programs using the RAM 13 as a work area. The CPU 11 controls the above components and performs various calculation processes in accordance with the programs stored in the ROM 12 or storage 14. In the first embodiment, the order management program is stored in the ROM 12 or storage 14.
ROM12は、各種プログラム及び各種データを格納する。RAM13は、作業領域として一時的にプログラム又はデータを記憶する。ストレージ14は、HDD(Hard Disk Drive)又はSSD(Solid State Drive)等の記憶装置により構成され、オペレーティングシステムを含む各種プログラム、及び各種データを格納する。 ROM 12 stores various programs and data. RAM 13 serves as a working area for temporarily storing programs or data. Storage 14 is composed of a storage device such as an HDD (Hard Disk Drive) or SSD (Solid State Drive), and stores various programs, including the operating system, and various data.
入力部15は、マウス等のポインティングデバイス、及びキーボードを含み、各種の入力を行うために使用される。 The input unit 15 includes a pointing device such as a mouse and a keyboard, and is used to enter various inputs.
表示部16は、例えば、液晶ディスプレイであり、各種の情報を表示する。表示部16は、タッチパネル方式を採用して、入力部15として機能しても良い。 The display unit 16 is, for example, a liquid crystal display, and displays various information. The display unit 16 may also be a touch panel type and function as the input unit 15.
通信インタフェース17は、他の機器と通信するためのインタフェースである。当該通信には、たとえば、イーサネット(登録商標)若しくはFDDI等の有線通信の規格、又は、4G、5G、若しくはWi-Fi(登録商標)等の無線通信の規格が用いられる。 The communication interface 17 is an interface for communicating with other devices. For this communication, a wired communication standard such as Ethernet (registered trademark) or FDDI, or a wireless communication standard such as 4G, 5G, or Wi-Fi (registered trademark) may be used.
次に、注文管理装置10の機能構成について説明する。
図3は、注文管理装置10の機能構成の例を示すブロック図である。注文管理装置10は、機能構成として、受付部101、グループ化部102、出力部103及び生成部104を有する。各機能構成は、CPU11がROM12又はストレージ14に記憶された注文管理プログラムを読み出し、RAM13に展開して実行することにより実現される。
Next, the functional configuration of the order management system 10 will be described.
3 is a block diagram showing an example of the functional configuration of the order management device 10. The order management device 10 has, as its functional components, a reception unit 101, a grouping unit 102, an output unit 103, and a generation unit 104. Each functional component is realized when the CPU 11 reads out an order management program stored in the ROM 12 or the storage 14, expands it in the RAM 13, and executes it.
受付部101は、複数の端末装置から、顧客の店舗内におけるエリアを識別する識別子を含む顧客の注文を受け付ける。受付部101は、二次元コードを読み取った端末装置から注文画面を介して注文された注文を受け付ける。 The reception unit 101 receives customer orders from multiple terminal devices, including an identifier that identifies the area within the customer's store. The reception unit 101 receives orders placed via an order screen from a terminal device that reads a two-dimensional code.
グループ化部102は、予め定めた期間内に受け付けた複数の注文を、識別子ごとにグループ化する。グループ化部102は、グループ化されていない最初の注文を受け付けた時からエリアにおける顧客数又は端末装置数に応じて設定された期間内に受け付けた同じ識別子の注文をグループ化する。グループ化部102は、エリアにおいて顧客が最初に注文を行う場合、追加で注文を行う場合よりも期間をより長くする。グループ化部102は、注文を受け付ける度に予め定めた上限を超えない範囲で期間を延長する。 The grouping unit 102 groups multiple orders received within a predetermined period by identifier. The grouping unit 102 groups orders with the same identifier received within a period set according to the number of customers or terminal devices in the area from the time the first ungrouped order was received. The grouping unit 102 extends the period when a customer places their first order in an area compared to when an additional order is placed. The grouping unit 102 extends the period each time an order is received, within a range that does not exceed a predetermined upper limit.
出力部103は、グループ化した注文及び二次元コードを出力する。出力とは、通信インタフェース17を介して他の機器へ送信すること、又は表示部16に表示すること等である。出力部103は、期間内に受け付けたグループ化した注文を、当該期間の経過後に出力する。出力部103は、期間内に識別子に対応する顧客数と同数の端末装置から注文を受け付けた場合、期間の経過を待たずにグループ化した注文を出力してもよい。 The output unit 103 outputs the grouped orders and two-dimensional codes. "Output" means sending them to another device via the communication interface 17, displaying them on the display unit 16, or the like. The output unit 103 outputs the grouped orders received within a period after the period has elapsed. If the output unit 103 receives orders within the period from the same number of terminal devices as the number of customers corresponding to the identifiers, it may output the grouped orders without waiting for the period to elapse.
生成部104は、識別子をパラメータに含む注文画面へのアクセス情報である二次元コードを生成する。 The generation unit 104 generates a two-dimensional code that is access information to the order screen and includes the identifier as a parameter.
次に、注文管理装置10の作用について説明する。
図4及び図5は、注文管理装置10による注文管理処理の流れを示すフローチャートである。CPU11がROM12又はストレージ14から注文管理プログラムを読み出して、RAM13に展開して実行することにより、注文管理が行なわれる。
Next, the operation of the order management system 10 will be described.
4 and 5 are flowcharts showing the flow of order management processing by the order management device 10. The CPU 11 reads out the order management program from the ROM 12 or the storage 14, loads it into the RAM 13, and executes it to perform order management.
図4は、注文管理装置10による注文登録処理の流れを示すフローチャートである。 Figure 4 is a flowchart showing the order registration process performed by the order management device 10.
ステップS101では、CPU11は、注文を受け付ける。CPU11は、ステップS102へ移行する。 In step S101, the CPU 11 accepts an order. The CPU 11 proceeds to step S102.
ステップS102では、CPU11は、識別子が識別子テーブルに登録されているか否かを判断する。CPU11は、識別子が識別子テーブルに登録されていないと判断した場合(ステップS102:NO)、ステップS103へ移行する。CPU11は、識別子が識別子テーブルに登録されていると判断した場合(ステップS102:YES)、ステップS110へ移行する。
ここで、注文管理装置10の識別子テーブルの一例を図6に示す。識別子テーブルは、識別子、顧客数、登録時刻、伝票出力時刻、新規・追加、MACアドレス及び伝票管理番号を格納する項目をそれぞれ有する。新規・追加の項目は、新規フラグ又は項目フラグを格納する項目である。MACアドレスの項目及び伝票管理番号の項目は、複数の値を格納することができる。なお、MACアドレスは、端末装置60を識別する値の一例である。
A15の識別子の処理は、新規の注文を受け付けた直後であり、伝票出力時刻まで待機している状態である。B20の識別子及びB25の識別子の処理は、追加の注文を受け付け、伝票出力時刻まで待機している状態である。A03の識別子及びA04の識別子の処理は、伝票を出力し、次の注文を待機している状態である。注文管理装置10は、会計処理が完了した識別子を識別子テーブルから削除する。
In step S102, the CPU 11 determines whether the identifier is registered in the identifier table. If the CPU 11 determines that the identifier is not registered in the identifier table (step S102: NO), the CPU 11 proceeds to step S103. If the CPU 11 determines that the identifier is registered in the identifier table (step S102: YES), the CPU 11 proceeds to step S110.
An example of the identifier table of the order management system 10 is shown in Figure 6. The identifier table has fields for storing the identifier, number of customers, registration time, slip output time, new/added, MAC address, and slip control number. The new/added field is a field for storing a new flag or an item flag. The MAC address field and the slip control number field can store multiple values. The MAC address is an example of a value that identifies the terminal device 60.
The processing of identifier A15 occurs immediately after a new order is accepted, and the system is waiting until the time to print the slip. The processing of identifiers B20 and B25 occurs after an additional order has been accepted and the system is waiting until the time to print the slip. The processing of identifiers A03 and A04 occurs after a slip has been printed and the system is waiting for the next order. The order management system 10 deletes identifiers for which transaction processing has been completed from the identifier table.
ステップS103では、CPU11は、識別子を登録する。すなわち、CPU11は、注文に含まれる識別子が識別子テーブルに存在しない場合、識別子テーブルに行を追加し、注文に含まれる識別子を登録する。後述のステップS103からステップS109の処理は、注文に含まれる識別子の行に対して処理を行う。CPU11は、ステップS104へ移行する。 In step S103, the CPU 11 registers the identifier. That is, if the identifier included in the order does not exist in the identifier table, the CPU 11 adds a row to the identifier table and registers the identifier included in the order. The processing from step S103 to step S109 described below is performed on the row of the identifier included in the order. The CPU 11 proceeds to step S104.
ステップS104では、CPU11は、新規フラグを設定する。CPU11は、ステップS105へ移行する。 In step S104, the CPU 11 sets a new flag. The CPU 11 proceeds to step S105.
ステップS105では、CPU11は、顧客数を設定する。CPU11は、ステップS106へ移行する。 In step S105, the CPU 11 sets the number of customers. The CPU 11 proceeds to step S106.
ステップS106では、CPU11は、登録時刻を設定する。CPU11は、ステップS107へ移行する。 In step S106, the CPU 11 sets the registration time. The CPU 11 proceeds to step S107.
ステップS107では、CPU11は、伝票出力時刻を設定する。CPU11は、新規・追加の項目が新規フラグの場合は、30秒と顧客数とを乗算した値を、登録時刻に加算した時刻を伝票出力時刻とする。CPU11は、新規・追加の項目が追加フラグの場合は、顧客数に関わらず30秒とする。CPU11は、ステップS108へ移行する。 In step S107, the CPU 11 sets the slip output time. If the new/added item is a new flag, the CPU 11 sets the slip output time to the time obtained by multiplying 30 seconds by the number of customers and adding that value to the registration time. If the new/added item is an addition flag, the CPU 11 sets the slip output time to 30 seconds regardless of the number of customers. The CPU 11 proceeds to step S108.
ステップS108では、CPU11は、MACアドレスを登録する。CPU11は、ステップS109へ移行する。 In step S108, the CPU 11 registers the MAC address. The CPU 11 proceeds to step S109.
ステップS109では、CPU11は、伝票管理番号を登録する。CPU11は、ステップS112へ移行する。 In step S109, the CPU 11 registers the slip management number. The CPU 11 then proceeds to step S112.
ステップS110では、CPU11は、MACアドレスが識別子テーブルに登録されているか否かを判断する。CPU11は、MACアドレスが識別子テーブルに登録されていると判断した場合(ステップS110:YES)、ステップS111へ移行する。CPU11は、MACアドレスが識別子テーブルに登録されていないと判断した場合(ステップS110:NO)、ステップS108へ移行する。 In step S110, the CPU 11 determines whether the MAC address is registered in the identifier table. If the CPU 11 determines that the MAC address is registered in the identifier table (step S110: YES), the process proceeds to step S111. If the CPU 11 determines that the MAC address is not registered in the identifier table (step S110: NO), the process proceeds to step S108.
ステップS111では、CPU11は、伝票管理番号を登録する。すなわち、CPU11は、MACアドレスが登録されている識別子テーブルの行に伝票管理番号を登録する。CPU11は、ステップS101へ移行する。 In step S111, the CPU 11 registers the slip management number. That is, the CPU 11 registers the slip management number in the row of the identifier table in which the MAC address is registered. The CPU 11 proceeds to step S101.
ステップS112では、CPU11は、登録されたMACアドレスが顧客数以上か否かを判断する。CPU11は、登録されたMACアドレスが顧客数以上と判断した場合(ステップS112:YES)、ステップS113へ移行する。CPU11は、登録されたMACアドレスが顧客数未満と判断した場合(ステップS112:NO)、ステップS101へ移行する。 In step S112, CPU 11 determines whether the registered MAC address is equal to or greater than the number of customers. If CPU 11 determines that the registered MAC address is equal to or greater than the number of customers (step S112: YES), it proceeds to step S113. If CPU 11 determines that the registered MAC address is less than the number of customers (step S112: NO), it proceeds to step S101.
ステップS113では、CPU11は、当該伝票管理番号の伝票を出力する。すなわち、CPU11は、登録されたMACアドレスが顧客数以上である伝票管理番号の伝票を出力する。CPU11は、ステップS114へ移行する。 In step S113, the CPU 11 outputs the slip with the slip management number. That is, the CPU 11 outputs the slip with the slip management number for which the registered MAC address is equal to or greater than the number of customers. The CPU 11 proceeds to step S114.
ステップS114では、CPU11は、登録時刻、伝票出力時刻、MACアドレス及び
伝票管理番号を初期化する。CPU11は、ステップS115へ移行する。
In step S114, the CPU 11 initializes the registration time, slip output time, MAC address, and slip control number. The CPU 11 then proceeds to step S115.
ステップS115では、CPU11は、追加フラグを設定する。CPU11は、ステップS101へ移行する。 In step S115, the CPU 11 sets the addition flag. The CPU 11 proceeds to step S101.
以上、上述したステップS112及びステップS113の処理により、CPU11は、期間内に識別子に対応する顧客数と同数以上の端末装置から前記注文を受け付けた場合、期間の経過を待たずにグループ化した注文を出力する。 As described above, by the processing of steps S112 and S113, if the CPU 11 receives orders from at least the same number of terminal devices as the number of customers corresponding to the identifiers within the period, it outputs the grouped orders without waiting for the period to elapse.
図5は、注文管理装置10による伝票発行処理の流れを示すフローチャートである。注文管理装置10は、定期的に、例えば10秒ごとに伝票発行処理を実行する。 Figure 5 is a flowchart showing the flow of the invoice issuance process performed by the order management device 10. The order management device 10 executes the invoice issuance process periodically, for example, every 10 seconds.
ステップS201では、CPU11は、変数iに1を代入する。CPU11は、ステップS202へ移行する。 In step S201, the CPU 11 assigns 1 to the variable i. The CPU 11 then proceeds to step S202.
ステップS202では、CPU11は、識別子テーブルのi番目の識別子を確認する。後述のステップS203からステップS207は、i番目の識別子に対して処理を行う。CPU11は、ステップS203へ移行する。 In step S202, the CPU 11 checks the i-th identifier in the identifier table. Steps S203 to S207, described below, perform processing on the i-th identifier. The CPU 11 then proceeds to step S203.
ステップS203では、CPU11は、システム時刻が伝票出力時刻を過ぎているか否かを判断する。CPU11は、システム時刻が伝票出力時刻を過ぎていないと判断した場合(ステップS203:NO)、ステップS204へ移行する。CPU11は、システム時刻が伝票出力時刻を過ぎていると判断した場合(ステップS203:YES)、ステップS205へ移行する。 In step S203, the CPU 11 determines whether the system time has passed the slip output time. If the CPU 11 determines that the system time has not passed the slip output time (step S203: NO), it proceeds to step S204. If the CPU 11 determines that the system time has passed the slip output time (step S203: YES), it proceeds to step S205.
ステップS204では、CPU11は、変数iに1を加算する。CPU11は、ステップS208へ移行する。 In step S204, the CPU 11 adds 1 to the variable i. The CPU 11 proceeds to step S208.
ステップS205では、CPU11は、当該伝票管理番号の伝票を出力する。すなわち、システム時刻が伝票出力時刻を過ぎている伝票管理番号の伝票を出力する。CPU11は、ステップS206へ移行する。 In step S205, the CPU 11 outputs the invoice with the invoice management number. That is, it outputs the invoice with the invoice management number for which the system time has passed the invoice output time. The CPU 11 proceeds to step S206.
ステップS206では、CPU11は、登録時刻、伝票出力時刻、MACアドレス及び伝票管理番号を初期化する。CPU11は、ステップS207へ移行する。 In step S206, the CPU 11 initializes the registration time, slip output time, MAC address, and slip management number. The CPU 11 then proceeds to step S207.
ステップS207では、CPU11は、追加フラグを設定する。CPU11は、ステップS202へ移行する。 In step S207, the CPU 11 sets the addition flag. The CPU 11 proceeds to step S202.
ステップS208では、CPU11は、識別子テーブルに登録された全ての識別子を確認したか否かを判断する。CPU11は、識別子テーブルに登録された全ての識別子を確認したと判断した場合(ステップS208:YES)、伝票発行処理を終了する。CPU11は、識別子テーブルに登録された全ての識別子を確認していないと判断した場合(ステップS208:NO)、ステップS202へ移行する。 In step S208, the CPU 11 determines whether all identifiers registered in the identifier table have been confirmed. If the CPU 11 determines that all identifiers registered in the identifier table have been confirmed (step S208: YES), it terminates the slip issuance process. If the CPU 11 determines that all identifiers registered in the identifier table have not been confirmed (step S208: NO), it proceeds to step S202.
以上、上述したステップS101からステップS111、ステップS203及びステップS205の処理により、CPU11は、予め定めた期間内に受け付けた複数の注文を、識別子ごとにグループ化する。そして、CPU11は、期間内に受け付けたグループ化した注文を、期間の経過後に出力する。 By performing the above-described processing from steps S101 to S111, S203, and S205, the CPU 11 groups multiple orders received within a predetermined period by identifier. The CPU 11 then outputs the grouped orders received within the period after the period has elapsed.
図7は、注文管理システム1の伝票の一例である。
伝票201Aは、識別子がA15の顧客グループから、18時05分にされた注文の伝票である。
伝票201Bは、識別子がB20の顧客グループから、18時05分にされた注文の伝票である。
伝票201Cは、識別子がA15の顧客グループから、18時05分にされた注文の伝票である。
伝票201Dは、識別子がA15の顧客グループから、18時06分にされた注文の伝票である。
伝票201Eは、識別子がA15の顧客グループから、18時06分にされた注文の伝票である。
FIG. 7 is an example of a slip in the order management system 1.
Slip 201A is a slip for an order placed at 18:05 by a customer group with identifier A15.
Slip 201B is a slip for an order placed at 18:05 by a customer group with identifier B20.
Slip 201C is a slip for an order placed at 18:05 by a customer group with identifier A15.
Slip 201D is a slip for an order placed at 18:06 by a customer group with identifier A15.
Slip 201E is a slip for an order placed at 18:06 by a customer group with identifier A15.
注文管理装置10は、予め定めた期間内に受け付けた複数の注文を、識別子ごとにグループ化する。そして、注文管理装置10は、グループ化した注文を、期間の経過後に出力する。そのため、注文管理装置10は、伝票201A、伝票201C、伝票201D及び伝票201Eを1つのグループとし、伝票201Bを別の1つのグループとして管理する。そして、注文管理装置10は、グループ化した注文について、それぞれの期間の経過後に注文を出力する。 The order management device 10 groups multiple orders received within a predetermined period by identifier. The order management device 10 then outputs the grouped orders after the period has elapsed. Therefore, the order management device 10 manages slips 201A, 201C, 201D, and 201E as one group, and slip 201B as another group. The order management device 10 then outputs each of the grouped orders after the respective periods have elapsed.
プリンタ40は、例えば、伝票を連続して印刷する場合において、異なるグループの注文に対応する伝票の間に白紙伝票202を印刷する。プリンタ40は、伝票201A、伝票201C、伝票201D及び伝票201Eの印刷後に、白紙伝票202を印刷する。そして、プリンタ40は、白紙伝票の印刷後に、伝票201Bを印刷する。これにより、グループ単位を認識しやすくなるため、顧客グループごとに注文の調理、配膳又は提供を管理しやすくなる。
なお、伝票の印刷は、伝票間を完全分離せず1点を残して切断するパーシャルカットを用いてもよい。
For example, when printing slips consecutively, printer 40 prints blank slip 202 between slips corresponding to orders from different groups. Printer 40 prints blank slip 202 after printing slip 201A, slip 201C, slip 201D, and slip 201E. Then, printer 40 prints slip 201B after printing the blank slip. This makes it easier to recognize groups, making it easier to manage the cooking, serving, and provision of orders for each customer group.
It should be noted that the printing of slips may be performed using a partial cut, in which the slips are not completely separated but are cut at one point.
図8は、注文管理システム1の伝票の一例である。図8は、上述の図7の伝票201A、伝票201C、伝票201D及び伝票201Eを1つの伝票として出力した例である。すなわち、プリンタ40は、グループ化された同じ識別子の注文を、1つの伝票として印刷してもよい。 Figure 8 is an example of a slip for the order management system 1. Figure 8 shows an example in which slips 201A, 201C, 201D, and 201E from Figure 7 above are output as a single slip. In other words, the printer 40 may print grouped orders with the same identifier as a single slip.
[第2実施形態]
次に、第2実施形態について説明する。第2実施形態は、上述の図4及び図5と異なるフローチャートを用いて、注文管理装置10の作用を説明する。第2実施形態のハードウェア構成及び機能構成は、第1実施形態のハードウェア構成、機能構成とそれぞれ同一である。また、第1実施形態と同様の構成及び作用となる箇所については同一符号を付して説明を省略する。
Second Embodiment
Next, a second embodiment will be described. In the second embodiment, the operation of the order management system 10 will be described using a flowchart different from that shown in FIGS. 4 and 5. The hardware configuration and functional configuration of the second embodiment are the same as those of the first embodiment. Furthermore, parts with the same configuration and operation as those of the first embodiment will be assigned the same reference numerals and will not be described again.
注文管理装置10の作用について説明する。
図9及び図10は、注文管理装置10による注文管理処理の流れを示すフローチャートである。
The operation of the order management system 10 will now be described.
9 and 10 are flowcharts showing the flow of order management processing by the order management system 10.
図9は、顧客が来店した場合に実行する処理の流れを示すフローチャートである。 Figure 9 is a flowchart showing the processing flow executed when a customer visits the store.
ステップS301では、CPU11は、識別子及び顧客数を受け付ける。すなわち、CPU11は、エリアに案内された顧客数及びそのエリアの識別子をハンディターミナル50から受け付ける。CPU11は、入力部15から識別子及び顧客数を受け付けてもよい。CPU11は、顧客数に代えて、端末装置数を受け付けてもよい。CPU11は、ステップS302へ移行する。 In step S301, the CPU 11 accepts an identifier and the number of customers. That is, the CPU 11 accepts the number of customers guided to an area and the identifier of that area from the handheld terminal 50. The CPU 11 may also accept the identifier and the number of customers from the input unit 15. The CPU 11 may also accept the number of terminal devices instead of the number of customers. The CPU 11 proceeds to step S302.
ステップS302では、CPU11は、二次元コードを生成して出力する。詳しくは、CPU11は、受け付けた識別子をパラメータに含む注文画面へのアクセス情報である二次元コードを生成する。CPU11は、プリンタ40へ二次元コードを送信して、二次元コードの印刷を指示する。CPU11は、ステップS303へ移行する。 In step S302, the CPU 11 generates and outputs a two-dimensional code. Specifically, the CPU 11 generates a two-dimensional code that is access information to the order screen and includes the received identifier as a parameter. The CPU 11 sends the two-dimensional code to the printer 40 and instructs it to print the two-dimensional code. The CPU 11 proceeds to step S303.
ステップS303では、CPU11は、顧客数に応じた長さの期間を定める。すなわち、CPU11は、顧客数が多いほど、顧客数が少ない場合に比べて期間をより長くするように、識別子ごとに期間を定める。CPU11は、顧客数に応じて期間の合計の上限を定めてもよい。CPU11は、例えば、顧客数が1人の場合は、0分、2人の場合は、0.5分、3人の場合は、1分、4人以上の場合は、5分のように期間の長さを定める。CPU11は、ステップS304へ移行する。 In step S303, CPU 11 determines a period of length according to the number of customers. That is, CPU 11 determines a period for each identifier so that the greater the number of customers, the longer the period is compared to when there are fewer customers. CPU 11 may also determine an upper limit on the total period according to the number of customers. For example, CPU 11 determines the length of the period as follows: 0 minutes if there is one customer, 0.5 minutes if there are two customers, 1 minute if there are three customers, and 5 minutes if there are four or more customers. CPU 11 proceeds to step S304.
ステップS304では、CPU11は、識別子ごとに注文処理を実行する。具体的な処理については、図10で後述する。CPU11は、注文管理処理を終了する。 In step S304, the CPU 11 executes order processing for each identifier. Specific processing will be described later with reference to FIG. 10. The CPU 11 then terminates the order management processing.
図10は、識別子ごとに実行する注文処理の流れを示すフローチャートである。 Figure 10 is a flowchart showing the order processing flow executed for each identifier.
ステップS401では、CPU11は、注文を受け付けたか否かを判断する。CPU11は、注文を受け付けたと判断した場合(ステップS401:YES)、ステップS402へ移行する。CPU11は、注文を受け付けていないと判断した場合(ステップS401:NO)、ステップS406へ移行する。 In step S401, the CPU 11 determines whether an order has been accepted. If the CPU 11 determines that an order has been accepted (step S401: YES), the process proceeds to step S402. If the CPU 11 determines that an order has not been accepted (step S401: NO), the process proceeds to step S406.
ステップS402では、CPU11は、グループ化された注文がないか否かを判断する。換言すれば、CPU11は、同じ識別子を含む注文がグループ化されていないか否かを判断する。CPU11は、識別子テーブルを参照して、グループ化された注文がないか否かを判断するCPU11は、グループ化された注文がないと判断した場合(ステップS402:YES)、ステップS403へ移行する。CPU11は、グループ化された注文があると判断した場合(ステップS402:NO)、ステップS404へ移行する。 In step S402, CPU 11 determines whether there are any grouped orders. In other words, CPU 11 determines whether orders containing the same identifier are grouped. CPU 11 references the identifier table to determine whether there are any grouped orders. If CPU 11 determines that there are no grouped orders (step S402: YES), it proceeds to step S403. If CPU 11 determines that there are grouped orders (step S402: NO), it proceeds to step S404.
ステップS403では、CPU11は、期間を開始する。すなわち、CPU11は、ステップS401の処理で受け付けた注文に含まれる識別子について、識別子テーブルへ新たに登録し、当該識別子の期間(まとめ)を開始する。CPU11は、ステップS405へ移行する。 In step S403, the CPU 11 starts a period. That is, the CPU 11 newly registers the identifier included in the order accepted in the processing of step S401 in the identifier table and starts a period (summary) for that identifier. The CPU 11 proceeds to step S405.
ステップS404では、CPU11は、期間を延長する。CPU11は、ステップS401の処理で受け付けた注文に含まれる識別子について、当該識別子の期間を延長する。すなわち、注文管理装置10は、第1実施形態と異なり、注文を受け付ける度に、グループ化するための期間を延長する。なお、延長する期間は、上述のステップS303の処理で定めた期間と異なっていてもよい。CPU11は、予め定めた上限を超えない範囲で期間を延長してもよい。CPU11は、ステップS405へ移行する。 In step S404, the CPU 11 extends the period. For the identifier included in the order accepted in the processing of step S401, the CPU 11 extends the period of that identifier. That is, unlike the first embodiment, the order management device 10 extends the period for grouping each time an order is accepted. Note that the extended period may be different from the period determined in the processing of step S303 described above. The CPU 11 may extend the period as long as it does not exceed a predetermined upper limit. The CPU 11 proceeds to step S405.
ステップS405では、CPU11は、受け付けた注文をグループ化する。すなわち、CPU11は、識別子ごとに注文をグループ化する。換言すれば、CPU11は、受け付けた注文を、当該注文に含まれる識別子のグループに追加する。CPU11は、ステップS406へ移行する。 In step S405, the CPU 11 groups the accepted orders. That is, the CPU 11 groups the orders by identifier. In other words, the CPU 11 adds the accepted order to the group of the identifier included in the order. The CPU 11 proceeds to step S406.
ステップS406では、CPU11は、期間を経過したかを判断する。CPU11は、期間を経過したと判断した場合(ステップS406:YES)、ステップS407へ移行する。CPU11は、期間を経過していないと判断した場合(ステップS406:NO)、ステップS409へ移行する。 In step S406, the CPU 11 determines whether the period has elapsed. If the CPU 11 determines that the period has elapsed (step S406: YES), the process proceeds to step S407. If the CPU 11 determines that the period has not elapsed (step S406: NO), the process proceeds to step S409.
ステップS407では、CPU11は、グループ化した注文を出力する。CPU11は、例えば、注文を印刷するためにプリンタ40にグループ化した注文を送信する。なお、CPU11は、表示部16にグループ化した注文を表示するようにしてもよい。CPU11は、ステップS408へ移行する。 In step S407, the CPU 11 outputs the grouped orders. For example, the CPU 11 sends the grouped orders to the printer 40 to print the orders. The CPU 11 may also display the grouped orders on the display unit 16. The CPU 11 proceeds to step S408.
ステップS408では、CPU11は、出力した注文のグループ化を解除する。例えば、CPU11は、リストにグループ化する注文を追加することによりグループを管理している場合、出力した注文をリストから削除する。CPU11は、ステップS409へ移行する。 In step S408, the CPU 11 ungroups the output orders. For example, if the CPU 11 manages groups by adding the orders to be grouped to a list, it deletes the output orders from the list. The CPU 11 proceeds to step S409.
ステップS409では、CPU11は、会計装置30により注文が会計されたか否かを判断する。CPU11は、注文が会計されたと判断した場合(ステップS409:YES)、注文処理を終了する。CPU11は、注文が会計されていないと判断した場合(ステップS409:NO)、ステップS401へ移行する。 In step S409, the CPU 11 determines whether the order has been paid for by the payment device 30. If the CPU 11 determines that the order has been paid for (step S409: YES), it terminates order processing. If the CPU 11 determines that the order has not been paid for (step S409: NO), it proceeds to step S401.
以上、上述したステップS401からステップS403の処理により、CPU11は、受け付けた注文に含まれる識別子のグループが作成されていない場合、当該識別子のグループを作成する。そして、CPU11は、グループの作成と共に、当該識別子の期間を開始する。換言すれば、CPU11は、受け付けた複数の注文のうち、グループ化されていない最初の注文を受け付けた時から、最初の注文に含まれる識別子の期間を開始する。 As described above, by the processing of steps S401 to S403, if a group for the identifier included in the accepted order has not been created, the CPU 11 creates a group for that identifier. Then, upon creating the group, the CPU 11 starts the period for that identifier. In other words, the CPU 11 starts the period for the identifier included in the first order from the time when the CPU 11 receives the first ungrouped order out of the multiple accepted orders.
また、上述したステップS401、ステップS402及びステップS404の処理により、CPU11は、注文を受け付ける度に期間を延長する。 Furthermore, by performing the processes of steps S401, S402, and S404 described above, the CPU 11 extends the period each time an order is received.
また、上述したステップS406及びステップS407の処理により、CPU11は、同じ識別子を含む注文を送信可能な端末装置60からの注文の送信を、期間が経過するまで待機する。また、CPU11は、受け付けた注文を期間が経過するまでROM12又はストレージ14に保持する。 Furthermore, by the processing of steps S406 and S407 described above, the CPU 11 waits until the period has elapsed for an order to be sent from a terminal device 60 that is capable of sending an order containing the same identifier. The CPU 11 also stores the received order in the ROM 12 or storage 14 until the period has elapsed.
[備考]
以上、第1実施形態及び第2実施形態の注文管理装置10について説明してきた。しかし、本開示は、上記実施形態に限定されない。種々の改良または改変が可能である。
[remarks]
The order management device 10 according to the first and second embodiments has been described above. However, the present disclosure is not limited to the above embodiments. Various improvements and modifications are possible.
第1実施形態に係る注文管理装置10は、伝票管理番号を、伝票番号と注文回数の組み合わせから構成してもよい。注文管理装置10は、伝票管理番号を端末装置60と送受信する。図4のステップS109において、CPU11は、伝票管理番号を登録し、登録した伝票管理番号を、注文を送信した端末装置60に送信する。端末装置60は、伝票管理番号として伝票番号に注文回数を付与した値を含めた注文を注文管理装置10へ送信する。注文管理装置10は、会計が行われた伝票管理番号を識別子テーブルから削除する。注文管理装置10は、全ての伝票管理番号が削除された識別子を、識別子テーブルから削除する。 In the order management device 10 according to the first embodiment, the slip management number may be configured as a combination of the slip number and the number of orders. The order management device 10 transmits and receives the slip management number to the terminal device 60. In step S109 of FIG. 4, the CPU 11 registers the slip management number and transmits the registered slip management number to the terminal device 60 that sent the order. The terminal device 60 transmits the order to the order management device 10, including a slip management number that is the slip number plus the number of orders. The order management device 10 deletes the slip management number for which a transaction has been made from the identifier table. The order management device 10 deletes from the identifier table an identifier for which all slip management numbers have been deleted.
図9のステップS303において、CPU11は、期間の長さを一律に定めてもよい。また、ステップS403において、CPU11は、識別子ごとに予め定めた時刻から期間を開始してもよい。すなわち、CPU11は、予め定めた時刻から一定間隔ごとに受け付けた注文をグループ化して出力する。例えば、CPU11は、一の識別子について、12時00分から5分ごとにグループ化し、別の識別子について、12時01分から5分ごとにグループ化する。これにより、注文の出力の間隔を分散できる。 In step S303 of FIG. 9, CPU 11 may set the length of the period uniformly. Alternatively, in step S403, CPU 11 may start the period from a predetermined time for each identifier. That is, CPU 11 groups and outputs orders received at regular intervals from a predetermined time. For example, CPU 11 groups orders every 5 minutes starting from 12:00 for one identifier, and groups orders every 5 minutes starting from 12:01 for another identifier. This allows the intervals between order outputs to be dispersed.
図9のステップS303において、CPU11は、当該顧客グループにおいて顧客が最初に注文を行う場合、追加で注文を行う場合よりも期間をより長く設定してもよい。すなわち、CPU11は、グループ化した注文の出力をしていない場合、グループ化した注文の出力をした場合の期間と比べて、より長い期間を設定する。 In step S303 of FIG. 9, the CPU 11 may set a longer period when a customer in the customer group places their first order than when an additional order is placed. In other words, when grouped orders have not been output, the CPU 11 sets a longer period than when grouped orders have been output.
図9のステップS302において、CPU11は、二次元コードを生成し、ハンディターミナル50又は注文装置に送信してもよい。ここで、注文装置とは、エリアに設置された注文するためのタブレット型端末等の装置(図示なし)である。CPU11は、ステップS301の処理で受診した識別子により特定されるエリアに配置された注文装置へ送信して、二次元コードを注文装置に表示させる。端末装置60は、ハンディターミナル50又は注文装置に表示された二次元コードを読み取り、サーバ20にアクセスする。これにより、二次元コードを印刷することなく、端末装置60に二次元コードを読み取らせることができる。 In step S302 of FIG. 9, the CPU 11 may generate a two-dimensional code and send it to the handheld terminal 50 or ordering device. Here, the ordering device is a device (not shown) such as a tablet terminal installed in the area for placing orders. The CPU 11 sends the two-dimensional code to the ordering device located in the area identified by the identifier received in the processing of step S301, and causes the ordering device to display the two-dimensional code. The terminal device 60 reads the two-dimensional code displayed on the handheld terminal 50 or ordering device and accesses the server 20. This allows the terminal device 60 to read the two-dimensional code without having to print it.
図10のステップS406において、CPU11は、注文に含まれる識別子が同じになる全ての端末装置60から、当該期間内に注文を受け付けたとき、当該識別子の期間が経過したと判断してもよい。換言すれば、注文管理装置10は、識別子に対応する顧客数と同数の端末装置60から、当該期間内に注文を受け付けた場合、期間の経過を待たずにグループ化した当該識別子の注文を出力する。
例えば、注文管理装置10は、端末装置60を識別する値を受信することにより、端末装置60の台数を集計する。例えば、端末装置60は、識別子及びMACアドレスを含む注文を注文管理装置10へ送信する。注文管理装置10は、注文を受け付けるごとにMACアドレスの個数を集計し、同じ識別子において、MACアドレスの個数と顧客数が同一か否かを判断する。
10, the CPU 11 may determine that the period for the identifier has elapsed when orders have been received within the period from all terminal devices 60 with the same identifier included in the orders. In other words, when the order management device 10 has received orders within the period from the same number of terminal devices 60 as the number of customers corresponding to the identifier, it outputs the grouped orders for the identifier without waiting for the period to elapse.
For example, the order management device 10 counts the number of terminal devices 60 by receiving a value that identifies the terminal device 60. For example, the terminal device 60 transmits an order including an identifier and a MAC address to the order management device 10. The order management device 10 counts the number of MAC addresses each time an order is received, and determines whether the number of MAC addresses and the number of customers for the same identifier are the same.
図9のステップS301において、CPU11は、受け付けた顧客数に予め定めた値を加算してもよい。例えば、CPU11は、受け付けた顧客数が1であった場合、予め定めた値として1を加算し、顧客数を2として以降の処理を実行する。これにより、例えば、顧客が一人客の場合であっても、注文の出力を待機することにより、追加注文をまとめて出力できる。 In step S301 of FIG. 9, the CPU 11 may add a predetermined value to the number of accepted customers. For example, if the number of accepted customers is 1, the CPU 11 adds 1 as a predetermined value, sets the number of customers to 2, and executes the subsequent processing. This allows, for example, even if a customer is ordering alone, to wait for the order to be output and output additional orders all at once.
上記各実施形態に係る注文管理装置10は、マスタ及びバックアップが切り替わったときに、グループ化されている注文及びグループ化されていない注文を出力する。例えば、注文管理装置10Aがマスタ機器、注文管理装置10Bがバックアップ機器であった場合に、マスタ及びバックアップが切り替わったとき、マスタになった注文管理装置10Bは、保持している全ての注文を出力する。 The order management device 10 according to each of the above embodiments outputs grouped orders and ungrouped orders when the master and backup are switched. For example, if the order management device 10A is the master device and the order management device 10B is the backup device, when the master and backup are switched, the order management device 10B, which has become the master, outputs all of the orders it holds.
なお、上記各実施形態でCPUがソフトウェア(プログラム)を読み込んで実行した注文管理処理を、CPU以外の各種のプロセッサが実行してもよい。この場合のプロセッサとしては、FPGA(Field-Programmable Gate Array)等の製造後に回路構成を変更可能なPLD(Programmable Logic Device)、及びASIC(Application Specific Integrated Circuit)等の特定の処理を実行させるために専用に設計された回路構成を有するプロセッサである専用電気回路等が例示される。また、注文管理処理を、これらの各種のプロセッサのうちの1つで実行してもよいし、同種又は異種の2つ以上のプロセッサの組み合わせ(例えば、複数のFPGA、及びCPUとFPGAとの組み合わせ等)で実行してもよい。また、これらの各種のプロセッサのハードウェア的な構造は、より具体的には、半導体素子等の回路素子を組み合わせた電気回路である。 In addition, the order management processing executed by the CPU in each of the above embodiments by loading software (programs) may also be executed by various processors other than the CPU. Examples of processors in this case include PLDs (Programmable Logic Devices) such as FPGAs (Field-Programmable Gate Arrays), whose circuit configuration can be changed after manufacture, and dedicated electrical circuits, such as ASICs (Application Specific Integrated Circuits), which are processors with circuit configurations designed specifically to execute specific processes. Furthermore, the order management processing may be executed by one of these various processors, or by a combination of two or more processors of the same or different types (e.g., multiple FPGAs, or a combination of a CPU and an FPGA). Furthermore, the hardware structure of these various processors is, more specifically, an electrical circuit that combines circuit elements such as semiconductor devices.
また、上記各実施形態では、注文管理プログラムは、コンピュータが読み取り可能なストレージ14に予め記憶(インストール)されている態様を説明したが、これに限定されない。プログラムは、CD-ROM(Compact Disk Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、及びUSB(Universal Serial Bus)メモリ等の非一時的(non-transitory)記憶媒体に記憶された形態で提供されてもよい。また、プログラムは、ネットワークを介して外部装置からダウンロードされる形態としてもよい。 In addition, in the above embodiments, the order management program is described as being pre-stored (installed) in computer-readable storage 14, but this is not limited to this. The program may also be provided in a form stored on a non-transitory storage medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be downloaded from an external device via a network.
1 注文管理システム
10 注文管理装置
20 サーバ
30 会計装置
40 プリンタ
50 ハンディターミナル
60 端末装置
201A、201B、201C、201D、201E 伝票
202 白紙伝票
1 Order management system 10 Order management device 20 Server 30 Accounting device 40 Printer 50 Handy terminal 60 Terminal devices 201A, 201B, 201C, 201D, 201E Slip 202 Blank slip
Claims (8)
前記複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける受付部と、
予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化するグループ化部と、
を含み、
前記グループ化部は、前記一単位において前記顧客が最初に注文を行う場合、追加で注文を行う場合よりも前記期間をより長く設定する
注文管理装置。 An order management device that communicates with a plurality of terminal devices,
a reception unit that receives orders from the customers from the plurality of terminal devices, the orders including an identifier that identifies one or more customers guided to one area as a unit;
a grouping unit that groups the plurality of orders received within a predetermined period by the identifier;
Including,
The grouping unit sets the period longer when the customer places an order for the first time in the unit than when the customer places an additional order.
Order management device.
請求項1に記載の注文管理装置。 2. The order management device according to claim 1, wherein the grouping unit groups the orders received within a period set according to the number of customers or the number of terminal devices in one unit from the time when a first ungrouped order is received, by the identifier.
請求項1又は請求項2に記載の注文管理装置。 The order management device according to claim 1 or 2 , wherein the grouping unit extends the period each time an order is received within a range not exceeding a predetermined upper limit.
請求項1から請求項3の何れか1項に記載の注文管理装置。 The order management device according to claim 1 , further comprising an output unit that outputs the grouped orders received within the period after the period has elapsed.
請求項4に記載の注文管理装置。 The order management device according to claim 4, wherein the output unit outputs the grouped orders without waiting for the period to elapse if the output unit receives the orders from the terminal devices in a number equal to the number of customers in the unit corresponding to the identifier within the period.
前記受付部は、前記二次元コードを読み取った前記端末装置から前記注文画面を介して注文された前記注文を受け付ける
請求項1から請求項5の何れか1項に記載の注文管理装置。 a generating unit that generates a two-dimensional code that is access information to an order screen and includes the identifier as a parameter;
The order management device according to claim 1 , wherein the reception unit receives the order placed via the order screen from the terminal device that reads the two-dimensional code.
前記複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける処理と、
予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化する処理と、
前記一単位において前記顧客が最初に注文を行う場合、追加で注文を行う場合よりも前記期間をより長く設定する処理と
をコンピュータが実行する注文管理方法。 An order management method in an order management device that communicates with a plurality of terminal devices, comprising:
a process of receiving orders from the plurality of terminal devices, the orders including an identifier for identifying one or more customers guided to one area as a unit;
a process of grouping the orders received within a predetermined period by the identifier ;
a process of setting the period longer when the customer places an order for the first time in the unit than when the customer places an additional order;
A computer-implemented order management method.
複数の端末装置から、一のエリアに案内された一又は複数の顧客を一単位として識別する識別子を含む前記顧客の注文を受け付ける処理と、
予め定めた期間内に受け付けた複数の前記注文を、前記識別子ごとにグループ化する処理と、
前記一単位において前記顧客が最初に注文を行う場合、追加で注文を行う場合よりも前記期間をより長く設定する処理と
をコンピュータに実行させるための注文管理プログラム。 An order management program executed in an order management device that communicates with a plurality of terminal devices,
a process of receiving orders from one or more customers guided to one area from a plurality of terminal devices, the orders including an identifier for identifying the one or more customers as a unit;
a process of grouping the orders received within a predetermined period by the identifier ;
a process of setting the period longer when the customer places an order for the first time in the unit than when the customer places an additional order;
An order management program for causing a computer to execute the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022033889A JP7763122B2 (en) | 2022-03-04 | 2022-03-04 | Order management device, order management method, and order management program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022033889A JP7763122B2 (en) | 2022-03-04 | 2022-03-04 | Order management device, order management method, and order management program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023129101A JP2023129101A (en) | 2023-09-14 |
| JP7763122B2 true JP7763122B2 (en) | 2025-10-31 |
Family
ID=87972869
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022033889A Active JP7763122B2 (en) | 2022-03-04 | 2022-03-04 | Order management device, order management method, and order management program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7763122B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020134969A (en) | 2019-02-12 | 2020-08-31 | 株式会社マイクロウェア | Food and drink order management system, food and drink order management device, food and drink order management method, and food and drink order management program |
| JP2021196890A (en) | 2020-06-15 | 2021-12-27 | 株式会社ぐるなび | Order support system, order support method, and order support program |
-
2022
- 2022-03-04 JP JP2022033889A patent/JP7763122B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020134969A (en) | 2019-02-12 | 2020-08-31 | 株式会社マイクロウェア | Food and drink order management system, food and drink order management device, food and drink order management method, and food and drink order management program |
| JP2021196890A (en) | 2020-06-15 | 2021-12-27 | 株式会社ぐるなび | Order support system, order support method, and order support program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023129101A (en) | 2023-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3979592A1 (en) | Decentralization processing method, communication proxy, host and storage medium | |
| CN110635944A (en) | A cluster network configuration method, device, electronic device and storage medium | |
| CN108765007A (en) | Orientation provides the system and method for discount coupon | |
| JP6364160B2 (en) | Menu control method, menu control apparatus, and menu control program | |
| CN103684885A (en) | Method and device for determining web server accessing abnormities | |
| CN105224264A (en) | Network printing control method and system and printer and the webserver | |
| JP7763122B2 (en) | Order management device, order management method, and order management program | |
| CN110650138A (en) | Server management method, device, equipment and computer readable storage medium | |
| CN105791295B (en) | A kind of application server based on Node.js | |
| JP7709083B2 (en) | Information processing device | |
| JP6579013B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
| JP7562053B1 (en) | Programmable logic controller, control method and program | |
| JP6195585B2 (en) | Information processing apparatus, information processing method, and program | |
| JP6763244B2 (en) | Printing device, printing control method and program | |
| CN114564386B (en) | Method and system for processing test tasks | |
| CN114707481A (en) | Work order processing method and device | |
| JP7059036B2 (en) | Programs, information processing equipment, and information processing methods | |
| JP7665167B1 (en) | Maintenance preparation status management system, maintenance preparation status management program, and maintenance preparation status management method | |
| US12143455B2 (en) | Information processing method, non-transitory computer readable recording medium storing information processing program, and information processing device | |
| CN111353556B (en) | Method, device and system for processing information of food processing | |
| CN107832104A (en) | A kind of Workflow management method, device and plug-in unit | |
| JP2014099000A (en) | Service providing system, network server, and proxy server | |
| JP6610050B2 (en) | Information processing apparatus, information processing method, and program | |
| WO2015125225A1 (en) | Data processing system and data processing method | |
| CN114301722B (en) | Management system, authority management method and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250826 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250926 |
|
| 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: 20251007 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251021 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7763122 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |