JP5876331B2 - Printer device, printer control program, and order management system - Google Patents

Printer device, printer control program, and order management system Download PDF

Info

Publication number
JP5876331B2
JP5876331B2 JP2012050423A JP2012050423A JP5876331B2 JP 5876331 B2 JP5876331 B2 JP 5876331B2 JP 2012050423 A JP2012050423 A JP 2012050423A JP 2012050423 A JP2012050423 A JP 2012050423A JP 5876331 B2 JP5876331 B2 JP 5876331B2
Authority
JP
Japan
Prior art keywords
slip
function
controller
printer
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012050423A
Other languages
Japanese (ja)
Other versions
JP2013186636A (en
Inventor
森 雅之
雅之 森
菊地 善行
善行 菊地
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.)
Seiko Solutions Inc.
Original Assignee
Seiko Solutions Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Solutions Inc. filed Critical Seiko Solutions Inc.
Priority to JP2012050423A priority Critical patent/JP5876331B2/en
Publication of JP2013186636A publication Critical patent/JP2013186636A/en
Application granted granted Critical
Publication of JP5876331B2 publication Critical patent/JP5876331B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明は、プリンタ装置、プリンタ制御プログラム、及び注文管理システムに関する。   The present invention relates to a printer device, a printer control program, and an order management system.

注文管理システムにおいては、その信頼性を向上させるため、注文データの受付、伝票出力、メニュー管理、会計管理などの注文処理を行う注文システム制御機能を、複数のコントローラ装置に分ける二重化システムが導入されている(例えば特許文献1参照)。該二重化システムでは、注文システム制御機能を有する、機能的には同じコントローラ装置をメインとサブとに分けて複数設置する。そして、通常、メインのコントローラ装置が、主体的に注文システム制御機能を作動させている。各コントローラ装置は、上記注文システム制御機能に加え、伝票出力機能(伝票出力装置、またはプリンタ)を備えている。   In order management system, in order to improve its reliability, a redundant system that introduces order system control functions for order processing such as order data reception, slip output, menu management, accounting management, etc. into multiple controller devices has been introduced. (For example, refer to Patent Document 1). In the duplex system, a plurality of controller devices having the order system control function and functionally the same are divided into a main and a sub. In general, the main controller device mainly operates the order system control function. Each controller device has a slip output function (slip output device or printer) in addition to the order system control function.

特開2009−157745号公報JP 2009-157745 A

しかしながら、上述した従来技術では、注文システム制御機能と伝票出力機能とを1つの装置内に組み込んでいるため、注文データに不整合が発生し、注文システム制御機能に不具合が発生すると、注文処理ができなくなるとともに、伝票出力機能による伝票出力もできなくなるという障害が発生する。   However, in the above-described conventional technology, since the order system control function and the slip output function are incorporated in one device, inconsistency occurs in the order data, and if the order system control function is defective, the order processing is not performed. In addition to being unable to do so, there is a problem that slips cannot be output by the slip output function.

注文システム制御機能は、二重化システムとしてサブのコントローラ装置に切り換えることで継続してサブのコントローラ装置で動作させることができる。しかしながら、伝票出力機能が停止すると、別のコントローラ付きプリンタ装置またはプリンタ装置の伝票出力機能(伝票出力装置、またはプリンタ)から伝票を出力しなければならない状況になる。伝票出力装置が注文管理システム内に1台しかない場合には、伝票出力機能に不具合が無くとも伝票が出力できなくなるという問題がある。   The order system control function can be continuously operated by the sub controller device by switching to the sub controller device as a duplex system. However, when the slip output function is stopped, a slip must be output from another printer device with a controller or a slip output function (slip output device or printer) of the printer device. When there is only one slip output device in the order management system, there is a problem that the slip cannot be output even if the slip output function is not defective.

本発明は、このような事情を考慮してなされたものであり、その目的は、装置に不具合が生じた場合でも、注文処理、及び伝票出力処理を高い信頼性で継続することができるプリンタ装置、プリンタ制御プログラム、及び注文管理システムを提供することである。   The present invention has been made in consideration of such circumstances, and an object of the present invention is to provide a printer device that can continue order processing and slip output processing with high reliability even when a malfunction occurs in the device. A printer control program and an order management system.

上述した課題を解決するために、本発明の一態様は、コントローラ機能とプリント機能とを並列処理するプリンタ装置であって、前記コントローラ機能を実現する機能部として、ハンディターミナルで入力された注文データを受信する注文データ受信処理部と、前記注文データ受信処理部により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理部と、を備え、前記プリント機能を実現する機能部として、前記伝票発行処理部から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理部と、前記伝票データ受信処理部により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理部と、を備え、前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理部と前記プリンタ制御処理部との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行させる、ことを特徴とするプリンタ装置である。   In order to solve the above-described problem, one aspect of the present invention is a printer device that performs parallel processing of a controller function and a print function, and order data input from a handy terminal as a function unit that realizes the controller function. An order data reception processing unit, and a slip issue processing unit that issues slip data of a slip to be printed based on the order data received by the order data reception processing unit, and the print function A slip data reception processing unit that receives slip data issued from the slip issue processing unit or slip data issued from another printer device, and a slip received by the slip data reception processing unit A printer control processing unit for controlling the printer driving unit to print out a slip based on the data, Even when the troller function is stopped, the operation of the slip data reception processing unit and the printer control processing unit by the print function is continued, and the other printer device is replaced with the stopped controller function. In the printer apparatus, the controller function is executed.

上記の発明の一態様において、前記伝票データ受信処理部は、前記コントローラ機能が動作している場合には、前記伝票発行処理部から発行された伝票データを受信し、前記コントローラ機能が停止した場合には、外部装置から発行された伝票データを受信する、ことを特徴とする。   In one aspect of the invention, the slip data reception processing unit receives slip data issued from the slip issue processing unit when the controller function is operating, and the controller function is stopped. Is characterized in that it receives slip data issued from an external device.

上記の発明の一態様において、前記コントローラ機能を実現する機能部として、外部のプリンタ装置が稼働中であれば、自身を待機状態に移行し、外部のプリンタ装置が待機中であれば、自身を稼働状態に移行する二重化監視処理部を更に備えることを特徴とする。   In one aspect of the invention described above, as a function unit that realizes the controller function, if the external printer device is in operation, it shifts itself to a standby state, and if the external printer device is in standby state, It is further characterized by further comprising a duplex monitoring processing unit that shifts to an operating state.

上記の発明の一態様において、前記プリント機能と前記コントローラ機能とは、互いが正常に動作しているか否かを、所定の時間間隔で通信することで確認する接続確認処理部を更に備えることを特徴とする。   1 aspect of said invention WHEREIN: The said printing function and the said controller function are further provided with the connection confirmation process part which confirms whether it mutually operate | moves normally by communicating at predetermined time intervals. Features.

上記の発明の一態様において、メモリカードが装着される外部メモリスロットを更に備え、前記外部メモリスロットに装着された前記メモリカードに保存されているプログラムを読み込んで実行することにより、前記コントローラ機能を起動する、ことを特徴とする。   In one aspect of the above invention, the controller function is further provided by further including an external memory slot in which a memory card is inserted, and reading and executing a program stored in the memory card inserted in the external memory slot. It is characterized by starting.

上記の発明の一態様において、前記プリント機能は、前記コントローラ機能が停止した場合、前記メモリカードの有効/無効に設定するメモリカード無効フラグを有効に設定した後、当該装置を再起動し、再起動後、前記メモリカード無効フラグが有効である場合、前記メモリカードに保存されているプログラムを実行しないことにより、前記コントローラ機能を起動しない、ことを特徴とする。   In one aspect of the invention described above, when the controller function is stopped, the print function sets a memory card invalid flag for valid / invalid of the memory card, and then restarts the apparatus to restart. If the memory card invalid flag is valid after activation, the controller function is not activated by not executing the program stored in the memory card.

また、上述した課題を解決するために、本発明の一態様は、コントローラ機能とプリント機能とを並列処理するプリンタ装置のコンピュータを、前記コントローラ機能を実現する機能部として、ハンディターミナルで入力された注文データを受信する注文データ受信処理機能と、前記コントローラ機能を実現する機能部として、前記注文データ受信処理機能により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理機能と、前記プリント機能を実現する機能部として、前記伝票発行処理機能から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理機能と、前記プリント機能を実現する機能部として、前記伝票データ受信処理機能により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理機能と、前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理機能と前記プリンタ制御処理機能との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行する制御機能と、として機能させるためのプリンタ制御プログラムである。   In order to solve the above-described problem, according to one aspect of the present invention, a computer of a printer device that performs parallel processing of a controller function and a print function is input at a handy terminal as a function unit that realizes the controller function. A slip for issuing slip data of a slip to be printed based on the order data received by the order data reception processing function as a function unit for realizing the order data reception processing function for receiving the order data and the controller function An issuance processing function; a slip data reception processing function for receiving slip data issued from the slip issuance processing function or slip data issued from another printer device as a function unit for realizing the print function; and the print Received by the slip data reception processing function as a function unit for realizing the function. Based on the slip data, the printer control processing function for controlling the printer driving unit to print out the slip, and even if the controller function is stopped, the slip data receiving processing function and the printer by the print function A printer control program for continuing an operation with a control processing function and causing the other printer device to execute the controller function instead of the stopped controller function.

また、上述した課題を解決するために、本発明の一態様は、コントローラ機能とプリント機能とを並列処理する複数のプリンタ装置からなり、実行すべき処理、及びデータを、前記複数のプリンタ装置のうち、少なくとも1つのメインプリンタ装置と、他のサブプリンタ装置との間で二重化する注文管理システムであって、前記複数のプリンタ装置は、各々、前記コントローラ機能を実現する機能部として、ハンディターミナルで入力された注文データを受信する注文データ受信処理部と、前記注文データ受信処理部により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理部と、を備え、前記プリント機能部を実現する機能部として、前記伝票発行処理部から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理部と、前記伝票データ受信処理部により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理部と、を備え、前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理部と前記プリンタ制御処理部との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行する、ことを特徴とする注文管理システムである。   In order to solve the above-described problem, one aspect of the present invention includes a plurality of printer apparatuses that perform parallel processing of a controller function and a print function, and performs processing and data to be executed by the plurality of printer apparatuses. Of these, an order management system for duplicating between at least one main printer device and another sub-printer device, wherein each of the plurality of printer devices is a handy terminal as a functional unit for realizing the controller function. An order data reception processing unit for receiving input order data; and a slip issuing processing unit for issuing slip data of a slip to be printed based on the order data received by the order data reception processing unit. As a function unit for realizing the print function unit, the slip data issued from the slip issue processing unit or other prints A slip data reception processing unit that receives slip data issued from the printer device, and a printer control processing unit that controls the printer driving unit based on the slip data received by the slip data reception processing unit to print out the slip Even when the controller function is stopped, the operation of the slip data reception processing unit and the printer control processing unit by the print function is continued and replaced with the stopped controller function. The order management system is characterized in that the controller function is executed by the other printer device.

この発明によれば、装置に不具合が生じた場合でも、注文処理、及び伝票出力処理を高い信頼性で継続することができる。   According to the present invention, even when a malfunction occurs in the apparatus, the order process and the slip output process can be continued with high reliability.

本発明の実施形態による注文管理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the order management system by embodiment of this invention. 本実施形態において、コントローラ(メイン)装置、コントローラ(サブ)装置内に保存されている伝票出力設定情報を示す概念図である。In this embodiment, it is a conceptual diagram which shows the slip output setting information preserve | saved in a controller (main) apparatus and a controller (sub) apparatus. 本実施形態において、メニューと対応する伝票とを管理するためのメニューマスター設定情報を示す概念図である。In this embodiment, it is a conceptual diagram which shows the menu master setting information for managing the menu and the corresponding slip. 本実施形態において、ゲスト伝票の一例を示す模式図である。In this embodiment, it is a schematic diagram which shows an example of a guest slip. 本実施形態において、ドリンク伝票の一例を示す模式図である。In this embodiment, it is a schematic diagram which shows an example of a drink slip. 本実施形態において、調理伝票の一例を示す模式図である。In this embodiment, it is a schematic diagram which shows an example of a cooking slip. 本実施形態において、コントローラ(メイン、サブ)装置を実現する一例を示すブロック図である。It is a block diagram which shows an example which implement | achieves a controller (main, sub) apparatus in this embodiment. 本実施形態において、コントローラ(メイン、サブ)装置を実現する一例を示すブロック図である。It is a block diagram which shows an example which implement | achieves a controller (main, sub) apparatus in this embodiment. 本実施形態による、伝票出力機能を備えたコントローラ装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the controller apparatus provided with the slip output function by this embodiment. 本実施形態によるコントローラ装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the controller apparatus by this embodiment. 本実施形態によるコントローラ装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the controller apparatus by this embodiment. 本実施形態によるコントローラ装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the controller apparatus by this embodiment.

以下、本発明の一実施形態を、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態による注文管理システムの構成を示すブロック図である。図1において、注文管理システムでは、コントローラ(メイン)装置10とコントローラ(サブ)装置20とが二重化されている。コントローラ(メイン)装置10とコントローラ(サブ)装置20は、各々、注文データの受付、伝票出力、メニュー管理、会計管理などの注文処理を行う注文システム制御部11、21と、伝票を印字出力するプリンタなどの伝票出力部12、22とを備えている。通常、コントローラ(メイン)装置10が主体的に注文システム制御部を作動させている。コントローラ(サブ)装置20は、いつでもコントローラ(メイン)装置10に代わることができるよう、コントローラ(メイン)装置10と同等の機能を備えるとともに、通常、コントローラ(メイン)装置10と同等のデータを保持するよう作動している(待機状態)。
なお、どちらのコントローラ装置がメインであり、サブであるのかは、予め、決めておくこととする。
FIG. 1 is a block diagram showing a configuration of an order management system according to an embodiment of the present invention. In FIG. 1, in the order management system, a controller (main) device 10 and a controller (sub) device 20 are duplicated. The controller (main) device 10 and the controller (sub) device 20 print out the order system control units 11 and 21 that perform order processing such as order data reception, slip output, menu management, and accounting management, respectively. And slip output units 12 and 22 such as a printer. Usually, the controller (main) device 10 mainly operates the order system control unit. The controller (sub) device 20 has functions equivalent to those of the controller (main) device 10 so that the controller (main) device 10 can be replaced at any time, and normally holds data equivalent to the controller (main) device 10. Is in operation (standby state).
Note that which controller device is the main and the sub device is determined in advance.

コントローラ(メイン)装置10とコントローラ(サブ)装置20は、注文データの二重管理を行うために有線LAN30経由で相互に通信を行う。また、コントローラ(メイン)装置10、コントローラ(サブ)装置20は、各々、無線送受信部13、23を備えており、相互に通信を行う有線LAN30の通信に障害が発生したことを、無線送受信部13、23による無線通信によって検出することができる。また、コントローラ(メイン)装置10とコントローラ(サブ)装置20とは、どちらかの装置に障害が発生した場合には、二重化処理を停止し、障害が発生していない装置の単独稼動に切り換わる。   The controller (main) device 10 and the controller (sub) device 20 communicate with each other via the wired LAN 30 in order to perform double management of order data. Each of the controller (main) device 10 and the controller (sub) device 20 includes wireless transmission / reception units 13 and 23. The wireless transmission / reception unit indicates that a failure has occurred in the communication of the wired LAN 30 that communicates with each other. 13 and 23 can be detected by wireless communication. The controller (main) device 10 and the controller (sub) device 20 stop the duplexing process when a failure occurs in either device, and switch to the independent operation of the device in which no failure has occurred. .

コントローラ(サブ)装置20側が異常になった場合には、コントローラ(メイン)装置10側は、処理を継続しながら単独稼動に移行する。一方、コントローラ(メイン)装置10側が異常になった場合には、コントローラ(サブ)装置20側は、待機状態から単特稼動に移行する。障害が発生したコントローラ(メイン)装置10、またはコントローラ(サブ)装置20は、単独稼動側に悪影響を与えないよう速やかに処理を停止する。また、コントローラ(メイン)装置10、コントローラ(サブ)装置20の無線送受信部13、23は、無線プリンタ50への伝票出力、ハンディターミナル60〜62で入力した注文情報を受信するための通信ポートとなる。   When the controller (sub) device 20 side becomes abnormal, the controller (main) device 10 side shifts to a single operation while continuing the processing. On the other hand, when the controller (main) device 10 side becomes abnormal, the controller (sub) device 20 side shifts from the standby state to the single special operation. The controller (main) device 10 or the controller (sub) device 20 in which the failure has occurred immediately stops processing so as not to adversely affect the single operation side. Further, the wireless transmission / reception units 13 and 23 of the controller (main) device 10 and the controller (sub) device 20 output a slip to the wireless printer 50 and a communication port for receiving order information input from the handy terminals 60 to 62. Become.

POSレジスタ40は、料金の計算、貨幣の出し入れを行う装置である。該POSレジスタ40は、コントローラ(メイン)装置10、コントローラ(サブ)装置20と有線LAN30経由で相互に通信を行うようになっている。
無線プリンタ50は、コントローラ(メイン)装置10、またはコントローラ(サブ)装置20から離れて設置された独立した装置であり、無線通信によりコントローラ(メイン)装置10、またはコントローラ(サブ)装置20からの伝票データを受信して印字出力する。一つの伝票出力設定例ではコントローラ(メイン)装置10が客に渡すゲスト伝票(後述)を印字出力し、無線プリンタ50は、厨房の調理人に対して調理伝票(後述)を印字出力するが、コントローラ(メイン)装置10が異状停止した場合には、顧客に渡すゲスト伝票(後述)を印字出力する迂回先として動作する。
The POS register 40 is a device for calculating charges and taking in and out money. The POS register 40 communicates with the controller (main) device 10 and the controller (sub) device 20 via the wired LAN 30.
The wireless printer 50 is an independent device installed away from the controller (main) device 10 or the controller (sub) device 20, and is wirelessly communicated with the controller (main) device 10 or the controller (sub) device 20. The slip data is received and printed out. In one slip output setting example, the controller (main) device 10 prints out a guest slip (to be described later) delivered to the customer, and the wireless printer 50 prints out a cooking slip (to be described later) for a cook in the kitchen. When the controller (main) device 10 stops abnormally, it operates as a detour destination for printing out a guest slip (described later) to be delivered to the customer.

ハンディターミナル60、61、62は、各々、ウェイタ、ウェイトレス等の従業員に携帯され、客からの注文内容が入力される。ハンディターミナル60〜62は、入力された注文内容に基づく注文データを、無線通信により、コントローラ(メイン)装置10、またはコントローラ(サブ)装置20に送信する。   The handy terminals 60, 61 and 62 are carried by employees such as waiters and waitresses, respectively, and order contents from customers are input. The handy terminals 60 to 62 transmit order data based on the input order contents to the controller (main) device 10 or the controller (sub) device 20 by wireless communication.

ハンディターミナル60〜62から送信された注文データは、コントローラ(メイン)装置10、またはコントローラ(サブ)装置20で受信され、二重化稼動しているコントローラ(メイン)装置10へ転送される。コントローラ(サブ)装置20は、コントローラ(メイン)装置10が二重化稼動状態のときは、注文データの二重化管理を行う待機状態になっている。   The order data transmitted from the handy terminals 60 to 62 is received by the controller (main) device 10 or the controller (sub) device 20 and transferred to the controller (main) device 10 operating in a duplex manner. When the controller (main) device 10 is in a duplex operation state, the controller (sub) device 20 is in a standby state in which order data duplex management is performed.

コントローラ(メイン)装置10、またはコントローラ(サブ)装置20は、注文データを受信すると、注文処理や注文データの保存を行い、伝票発行処理にてコントローラ(メイン)装置10の伝票出力部12、コントローラ(サブ)装置20の伝票出力部22、及び無線プリンタ50にそれぞれで印字すべき伝票データを送信する。   When the controller (main) device 10 or the controller (sub) device 20 receives the order data, the controller (main) device 10 or the controller (main) device 20 performs order processing or saves the order data. The slip data to be printed is transmitted to the slip output unit 22 of the (sub) apparatus 20 and the wireless printer 50, respectively.

コントローラ(メイン)装置10、コントローラ(サブ)装置20、無線プリンタ50が印字する伝票の種類は、それぞれの設置位置によって、コントローラ(メイン)装置10、コントローラ(サブ)装置20内の伝票出力設定情報で定義されている。次に、該伝票出力設定情報について説明する。   The types of slips printed by the controller (main) device 10, the controller (sub) device 20, and the wireless printer 50 are slip output setting information in the controller (main) device 10 and the controller (sub) device 20 depending on the respective installation positions. Defined in Next, the slip output setting information will be described.

図2は、本実施形態において、コントローラ(メイン)装置10、コントローラ(サブ)装置20内に保存されている伝票出力設定情報を示す概念図である。伝票出力設定情報70には、伝票出力部12、22を有するコントローラ(メイン)装置10、(サブ)装置20、及び無線プリンタ50毎に、それぞれで印字する伝票の種類や迂回先などが設定されている。
図2において、装置は、伝票出力機能を有する装置を示す識別番号である。図示の例では、「001」はコントローラ(メイン)装置10、「002」はコントローラ(サブ)装置20、「103」は無線プリンタ50を示している。名称は、装置の名称である。出力情報は、印字する伝票の種類である。伝票には、客に渡すゲスト伝票、飲み物を作る従業員に渡すドリンク伝票、厨房の料理人に渡す調理伝票がある。出力記号は、各伝票に振りつけられた記号で、コントローラ(メイン)装置10の伝票出力部12またはコントローラ(サブ)装置20の伝票出力部22が解読しやすいよう、「1」はゲスト伝票、「2」はドリンク伝票、「3」は調理伝票と定義されている。
FIG. 2 is a conceptual diagram showing slip output setting information stored in the controller (main) device 10 and the controller (sub) device 20 in the present embodiment. In the slip output setting information 70, for each of the controller (main) device 10, the (sub) device 20, and the wireless printer 50 having the slip output units 12 and 22, the type of slip to be printed and the detour destination are set. ing.
In FIG. 2, a device is an identification number indicating a device having a slip output function. In the illustrated example, “001” indicates the controller (main) device 10, “002” indicates the controller (sub) device 20, and “103” indicates the wireless printer 50. The name is the name of the device. The output information is the type of slip to be printed. The voucher includes a guest voucher to be given to customers, a drink voucher to be given to employees who make drinks, and a cooking voucher to be given to kitchen chefs. The output symbol is a symbol assigned to each slip, and “1” is a guest slip, so that the slip output unit 12 of the controller (main) device 10 or the slip output unit 22 of the controller (sub) device 20 can easily read. “2” is defined as a drink slip and “3” is defined as a cooking slip.

迂回先は、装置欄で示される装置に不具合等があって動作しない場合に伝票出力を代替する装置を示している。図示の例では、コントローラ(メイン)装置10には、ゲスト伝票の印字が設定されており、異状が発生した場合のゲスト伝票の迂回先として、無線プリンタ50が設定されている。また、コントローラ(サブ)装置20には、ドリンク伝票の印字が設定されており、異状が発生した場合のドリンク伝票の迂回先として、コントローラ(メイン)装置10が設定されている。同様に、無線プリンタ50には、調理伝票の印字が設定されており、異状が発生した場合の調理伝票の迂回先として、コントローラ(サブ)装置20が設定されている。   The detour destination indicates a device that substitutes the slip output when the device indicated in the device column has a malfunction or the like and does not operate. In the illustrated example, the controller (main) device 10 is set to print a guest slip, and the wireless printer 50 is set as a detour destination of the guest slip when an abnormality occurs. The controller (sub) device 20 is set to print a drink slip, and the controller (main) device 10 is set as a detour destination of the drink slip when an abnormality occurs. Similarly, the printing of the cooking slip is set in the wireless printer 50, and the controller (sub) device 20 is set as a detour destination of the cooking slip when an abnormality occurs.

図3は、本実施形態において、メニューと、対応する伝票とを管理するためのメニューマスター設定情報80を示す概念図である。メニューマスター設定情報80には、メニュー番号毎に、それぞれの名称、印字すべき伝票の種類などが設定されている。図3において、メニュー番号は、メニュー上の品名を一意に特定するための番号である。メニュー名称は、物品の名称(品名)である。伝票出力情報は、対応する物品が注文された場合に出力する伝票の種類である。出力記号は、各伝票に振りつけられた記号である。   FIG. 3 is a conceptual diagram showing menu master setting information 80 for managing menus and corresponding slips in the present embodiment. In the menu master setting information 80, the name of each menu number, the type of slip to be printed, and the like are set. In FIG. 3, the menu number is a number for uniquely identifying the product name on the menu. The menu name is the name of the article (article name). The slip output information is the type of slip that is output when the corresponding article is ordered. The output symbol is a symbol assigned to each slip.

図示の例では、メニュー番号「1」には、メニュー名称「ハンバーグ」、伝票出力情報「ゲスト伝票」、出力記号「1」、伝票出力情報「調理伝票」、出力記号「3」が設定されている。すなわち、ハンバーグが注文された場合には、ゲスト伝票と調理伝票を印字出力することを示している。また、メニュー番号「2」には、メニュー名称「焼肉」、伝票出力情報「ゲスト伝票」、出力記号「1」、伝票出力情報「調理伝票」、出力記号「3」が設定されている。すなわち、焼肉が注文された場合には、ゲスト伝票と調理伝票を印字出力することを示している。同様に、メニュー番号「121」には、メニュー名称「紅茶」、伝票出力情報「ゲスト伝票」、出力記号「1」、伝票出力情報「ドリンク伝票」、出力記号「2」が設定されている。すなわち、紅茶が注文された場合には、ゲスト伝票とドリンク伝票を印字出力することを示している。   In the illustrated example, the menu name “hamburg”, slip output information “guest slip”, output symbol “1”, slip output information “cooking slip”, and output symbol “3” are set for the menu number “1”. Yes. That is, when a hamburger is ordered, the guest slip and the cooking slip are printed out. The menu number “2” is set with the menu name “Yakiniku”, slip output information “guest slip”, output symbol “1”, slip output information “cooking slip”, and output symbol “3”. That is, when yakiniku is ordered, the guest slip and the cooking slip are printed out. Similarly, menu number “121” is set with menu name “tea”, slip output information “guest slip”, output symbol “1”, slip output information “drink slip”, and output symbol “2”. That is, when tea is ordered, a guest slip and a drink slip are printed out.

例えば、ある顧客からの注文を受けた際、ハンディターミナル60〜62の注文データが、ハンバーグであれば、コントローラ装置の注文データ処理は、図3に示すメニューマスター設定情報80の「ハンバーグ」を参照し、当該客について、印字すべきゲスト伝票と調理伝票との各メニュー名称部分に「ハンバーグ」を追加する。同様に、ハンディターミナル60〜62の注文データに「コーヒー」があれば、図3に示すメニューマスター設定情報80の「コーヒー」を参照し、ゲスト伝票とドリンク伝票との各メニュー名称部分に「コーヒー」を追加する。   For example, when the order data of the handy terminals 60 to 62 is hamburger when an order is received from a certain customer, the order data processing of the controller device refers to “hamburger” in the menu master setting information 80 shown in FIG. Then, “hamburg” is added to each menu name portion of the guest slip and the cooking slip to be printed for the customer. Similarly, if there is “coffee” in the order data of the handy terminals 60 to 62, “coffee” in the menu master setting information 80 shown in FIG. 3 is referred to, and “coffee” is displayed in each menu name portion of the guest slip and drink slip. "Is added.

このように、ハンバーグとコーヒーが注文されると、コントローラ(メイン)装置10、あるいはコントローラ(サブ)装置20内でメニューに応じた伝票データ作成処理が行われ、伝票出力設定情報に基づき、それぞれの伝票出力部12、22、あるいは無線プリンタ50に出力される。   In this way, when hamburger and coffee are ordered, slip data creation processing corresponding to the menu is performed in the controller (main) device 10 or the controller (sub) device 20, and based on the slip output setting information, The data is output to the slip output units 12 and 22 or the wireless printer 50.

図4は、本実施形態において、図2の伝票出力設定情報のコントローラ(メイン)、装置10の伝票出力部12から印字されるゲスト伝票90の一例を示す模式図である。図4において、ゲスト伝票90には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた物品の品名であるメニュー名称、注文を受けた数量が印字される。該ゲスト伝票90は、注文した顧客に対して印字出力される伝票である。従って、ゲスト伝票90には、顧客が注文した全ての品名、その数量が印字される。   FIG. 4 is a schematic diagram illustrating an example of the guest slip 90 printed from the slip output setting information controller of FIG. 2 (main) and the slip output unit 12 of the apparatus 10 in the present embodiment. In FIG. 4, a guest slip 90 is printed with the time when the order is received, the handy terminal (HT) number, the menu name that is the name of the ordered item, and the quantity received. The guest slip 90 is a slip printed out for the ordered customer. Accordingly, on the guest slip 90, the names of all the items ordered by the customer and their quantities are printed.

図5は、本実施形態において、図2の伝票出力設定情報のコントローラ(サブ)装置20の伝票出力部22から印字されるドリンク伝票91の一例を示す模式図である。図5において、ドリンク伝票91には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた品名であるメニュー名称、注文を受けた数量が印字される。該ドリンク伝票91は、ドリンクを作る従業員に対して印字出力される伝票である。従って、ドリンク伝票91には、ドリンクに分類される品名、その数量が印字される。   FIG. 5 is a schematic diagram showing an example of the drink slip 91 printed from the slip output unit 22 of the controller (sub) device 20 of the slip output setting information of FIG. 2 in the present embodiment. In FIG. 5, the drink slip 91 is printed with the time when the order is received, the handy terminal (HT) number, the menu name which is the name of the ordered item, and the quantity received. The drink slip 91 is a slip printed out for employees who make drinks. Accordingly, the drink slip 91 is printed with the product name and quantity classified as drinks.

図6は、本実施形態において、図2の伝票出力設定情報の無線プリンタ50から印字される調理伝票92の一例を示す模式図である。図6において、調理伝票92には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた品名であるメニュー名称、注文を受けた数量が印字される。該調理伝票92は、厨房の料理人に対して印字出力される伝票である。従って、調理伝票92には、厨房で調理される料理に分類される品名、その数量が印字される。   FIG. 6 is a schematic diagram showing an example of the cooking slip 92 printed from the wireless printer 50 of the slip output setting information of FIG. 2 in the present embodiment. In FIG. 6, the cooking slip 92 is printed with the time when the order is received, the handy terminal (HT) number, the menu name which is the name of the ordered item, and the quantity received. The cooking slip 92 is a slip printed out for a cook in the kitchen. Accordingly, the cooking slip 92 is printed with the name of the item classified as a dish cooked in the kitchen and its quantity.

上述した構成において、本実施形態による注文管理システムでは、コントローラ(メイン)装置10に障害が発生すると、コントローラ(サブ)装置20側が単独稼動に移行するため、コントローラ(サブ)装置20側の単独稼動に障害を与えないよう、コントローラ(メイン)装置10の注文システム制御部11が処理を停止する。これに同期して、コントローラ(メイン)装置10の伝票出力部12も停止する。   In the above-described configuration, in the order management system according to the present embodiment, when a failure occurs in the controller (main) device 10, the controller (sub) device 20 side shifts to a single operation, so that the controller (sub) device 20 side operates independently. The order system control unit 11 of the controller (main) device 10 stops the processing so as not to cause a failure. In synchronization with this, the slip output unit 12 of the controller (main) device 10 also stops.

コントローラ(サブ)装置20の単独稼動において、コントローラ(メイン)装置10の伝票出力部12が停止すると、コントローラ(サブ)装置20で作成したゲスト伝票90(図4)を、コントローラ(メイン)装置10に送信しても応答しなくなる。このとき、コントローラ(サブ)装置20は、図2に示す伝票出力設定情報70を参照し、ゲスト伝票90の迂回先である、無線プリンタ50に伝票データを送信する。その結果、調理場にある無線プリンタ50から調理伝票92に続いてゲスト伝票90も印字されることになる。   When the slip output unit 12 of the controller (main) device 10 is stopped in the single operation of the controller (sub) device 20, the guest slip 90 (FIG. 4) created by the controller (sub) device 20 is transferred to the controller (main) device 10. No response when sent to. At this time, the controller (sub) device 20 refers to the slip output setting information 70 shown in FIG. 2 and transmits the slip data to the wireless printer 50 that is the detour destination of the guest slip 90. As a result, the guest slip 90 is also printed following the cooking slip 92 from the wireless printer 50 in the cooking area.

次に、本実施形態によるコントローラ(メイン)装置10、コントローラ(サブ)装置20を実現するための一方法について説明する。
図7、及び図8は、本実施形態において、コントローラ(メイン)装置10、コントローラ(サブ)装置20を実現する一例を示すブロック図である。本実施形態において、注文システム制御部11、21と伝票出力部12、22とを一体化するにあたり、印字機能を備えるプリンタ100に外部メモリを着脱可能とする外部メモリスロット110を用意する。外部メモリとは、市販されているSDカード(登録商標)、USBメモリ、ハードディスク、コンパクトフラッシュ(登録商標)などである。ここでは、外部メモリをメモリカード120と呼ぶ。
Next, a method for realizing the controller (main) device 10 and the controller (sub) device 20 according to the present embodiment will be described.
7 and 8 are block diagrams showing an example of realizing the controller (main) device 10 and the controller (sub) device 20 in the present embodiment. In the present embodiment, when integrating the order system control units 11 and 21 and the slip output units 12 and 22, an external memory slot 110 is prepared that allows the external memory to be attached to and detached from the printer 100 having a printing function. The external memory is a commercially available SD card (registered trademark), USB memory, hard disk, compact flash (registered trademark), or the like. Here, the external memory is referred to as a memory card 120.

メモリカード120には、注文システム制御部11、21を実現するための注文システム制御プログラム121が保存されている。図7に示すように、プリンタ100の外部メモリスロット110にメモリカード120を装着することで、図8に示すように、プリント機能付きコントローラ(メイン)装置10、コントローラ(サブ)装置20となる。メモリカード120には、注文システム制御部11、21により注文処理した注文処理データ122も保存することとする。   The memory card 120 stores an order system control program 121 for realizing the order system control units 11 and 21. As shown in FIG. 7, by mounting the memory card 120 in the external memory slot 110 of the printer 100, the controller (main) device 10 with print function and the controller (sub) device 20 are obtained as shown in FIG. The memory card 120 also stores order processing data 122 processed by the order system control units 11 and 21.

図9は、本実施形態による、伝票出力機能を備えたコントローラ装置の機能構成を示すブロック図である。コントローラプロセス(コントローラ機能)200は、注文システム制御部11、21の機能を有する。プリントプロセス(プリント機能)220は、伝票出力部12、22の機能を有する。コントローラプロセス200とプリントプロセス220とは、独立した構成になっている。コントローラプロセス200、及びプリントプロセス220は、1つの基本プログラム(OS:制御機能)上で動作する。すなわち、1つのCPUがコントローラプロセス200とプリントプロセスとを並列処理する。図7、図8に示したように、注文システム制御プログラム121は、メモリカード120内に格納されており、該注文システム制御プログラム121を起動すると、コントローラプロセス200として処理を開始する。なお、メモリカード120は、コントローラプロセス200からのみアクセスする。また、プリンタ100を駆動するプリンタ駆動部207は、プリントプロセス220からのみアクセス可能である。   FIG. 9 is a block diagram showing a functional configuration of a controller device having a slip output function according to the present embodiment. The controller process (controller function) 200 has the functions of the order system control units 11 and 21. The print process (print function) 220 has the functions of the slip output units 12 and 22. The controller process 200 and the print process 220 are configured independently. The controller process 200 and the print process 220 operate on one basic program (OS: control function). That is, one CPU processes the controller process 200 and the print process in parallel. As shown in FIGS. 7 and 8, the order system control program 121 is stored in the memory card 120. When the order system control program 121 is activated, the controller process 200 starts processing. The memory card 120 is accessed only from the controller process 200. Further, the printer driving unit 207 that drives the printer 100 can be accessed only from the print process 220.

コントローラプロセス200は、注文データ受信処理部201、注文処理部202、伝票発行処理部203、接続確認処理部204、及び二重化監視処理部205を備えている。注文データ受信処理部201は、ハンディターミナル60〜62から注文データを受信する。注文処理部202は、注文データに従って注文処理を行い、メモリカード120内の注文処理データ122を更新する。伝票発行処理部203は、注文処理データ122に従って伝票発行処理を行い、印字すべき伝票の種類に応じて、プリントプロセス220、コントローラ(サブ)装置20、無線プリンタ50などに伝票データを送信する。   The controller process 200 includes an order data reception processing unit 201, an order processing unit 202, a slip issue processing unit 203, a connection confirmation processing unit 204, and a duplex monitoring processing unit 205. The order data reception processing unit 201 receives order data from the handy terminals 60 to 62. The order processing unit 202 performs order processing according to the order data, and updates the order processing data 122 in the memory card 120. The slip issuing processing unit 203 performs slip issuing processing according to the order processing data 122, and transmits the slip data to the print process 220, the controller (sub) device 20, the wireless printer 50, etc. according to the type of slip to be printed.

伝票発行処理部203では、コントローラ(メイン)装置10内のプリントプロセス220へ伝票データを出力する場合と、外部プリンタ(ここではコントローラ(サブ)装置20、無線プリンタ50)へ出力する場合とでは、送信先が異なるのみで、同じルートから送信される。   In the case where the slip issue processing unit 203 outputs the slip data to the print process 220 in the controller (main) device 10 and the case where it outputs to the external printer (here, the controller (sub) device 20 and the wireless printer 50), It is transmitted from the same route only with different destinations.

プリントプロセス220は、伝票データ受信処理部221、伝票フォーマット作成処理部222、プリンタ制御部223、及び接続確認処理部224を備えている。伝票データ受信処理部221は、コントローラプロセス200、他のコントローラ装置からの伝票データを受信する。ここで、他のコントローラ装置とは、当該装置がメインである場合にはコントローラ(サブ)装置20であり、当該装置がサブである場合にはコントローラ(メイン)装置10となる。   The print process 220 includes a slip data reception processing unit 221, a slip format creation processing unit 222, a printer control unit 223, and a connection confirmation processing unit 224. The slip data reception processing unit 221 receives slip data from the controller process 200 and other controller devices. Here, the other controller device is the controller (sub) device 20 when the device is the main, and the controller (main) device 10 when the device is the sub.

伝票フォーマット作成処理部222は、受信した伝票データに従って、伝票フォーマットを作成する。プリンタ制御部223は、プリンタ制御処理を通してプリンタ駆動部207で伝票を印字する。プリントプロセス220の伝票データ受信処理部221は、コントローラプロセス200に限らず、他のコントローラ装置からの伝票データを受信することが可能になっており、コントローラプロセス200が停止しているときは、他のコントローラ装置から伝票データを受信する。   The slip format creation processing unit 222 creates a slip format according to the received slip data. The printer control unit 223 prints a slip by the printer driving unit 207 through printer control processing. The slip data reception processing unit 221 of the print process 220 is not limited to the controller process 200, and can receive slip data from other controller devices. When the controller process 200 is stopped, other The slip data is received from the controller device.

コントローラプロセス200、及びプリントプロセス220は、各々、接続確認処理部204、224を備えている。コントローラプロセス200の接続確認処理部204は、内部外部を問わず、プリントプロセス220やコントローラ(サブ)装置20、無線プリンタ50との接続確認を行う。また、プリントプロセス220の接続確認処理部224も同様に、内部外部を問わず、コントローラプロセス200や他のコントローラ装置との接続確認を行う。これによって相互の通信ルートの確認と、それぞれの処理が正常に動作していることを確認できる。   The controller process 200 and the print process 220 include connection confirmation processing units 204 and 224, respectively. The connection confirmation processing unit 204 of the controller process 200 confirms the connection with the print process 220, the controller (sub) device 20, and the wireless printer 50 regardless of the inside or outside. Similarly, the connection confirmation processing unit 224 of the print process 220 confirms the connection with the controller process 200 and other controller devices regardless of the inside or outside. As a result, it is possible to confirm the mutual communication route and confirm that each process is operating normally.

図10〜図12は、本実施形態によるコントローラ(メイン)装置10の動作を説明するためのフローチャートである。なお、コントローラ(サブ)装置20も同様の動作となるので、以下では、コントローラ(メイン)装置10の動作として説明する。   10 to 12 are flowcharts for explaining the operation of the controller (main) device 10 according to the present embodiment. Since the controller (sub) device 20 operates in the same manner, the operation of the controller (main) device 10 will be described below.

コントローラ(メイン)装置10に電源が投入されると、コントローラ(メイン)装置10は、まず、パワーオンリセットによってメモリカード無効フラグ=0(有効)に設定する(ステップS1)。メモリカード無効フラグは、メモリカード120を有効、無効に設定するフラグであり、「0」で有効、「1」で無効に設定されていることを意味する。
次に、コントローラ(メイン)装置10のOS(Operating System)がプリントプロセス220を起動する(ステップS3)。なお、再起動で開始した場合には(ステップS2)、ステップS3へ進み、コントローラ(メイン)装置10のOSがプリントプロセス220を起動する(ステップS3)。
When the controller (main) device 10 is powered on, the controller (main) device 10 first sets a memory card invalid flag = 0 (valid) by a power-on reset (step S1). The memory card invalid flag is a flag for setting the memory card 120 to be valid or invalid, and means that “0” is valid and “1” is invalid.
Next, the OS (Operating System) of the controller (main) device 10 starts the print process 220 (step S3). If the process is restarted (step S2), the process proceeds to step S3, and the OS of the controller (main) device 10 starts the print process 220 (step S3).

次に、プリントプロセス220は、メモリカード120が装着されているか否かを判定する(ステップS4)。そして、メモリカード120が装着されていない場合には(ステップS4のNO)、コントローラプロセス200を無効にする(ステップS6)。
次に、プリンタ機能を診断し(ステップS7)、プリンタ機能が正常であるか否かを判定する(ステップS8)。そして、プリンタ機能が正常でない場合には(ステップS8のNO)、プリントプロセス220の機能を停止して当該処理を終了する(ステップS9)。この場合、プリンタ機能に異状がある旨を報知するようにしてもよい。
Next, the print process 220 determines whether or not the memory card 120 is attached (step S4). If the memory card 120 is not loaded (NO in step S4), the controller process 200 is invalidated (step S6).
Next, the printer function is diagnosed (step S7), and it is determined whether or not the printer function is normal (step S8). If the printer function is not normal (NO in step S8), the function of the print process 220 is stopped and the process is terminated (step S9). In this case, it may be notified that there is an abnormality in the printer function.

一方、メモリカード120が装着されている場合には(ステップS4のYES)、メモリカード無効フラグが有効「0」であるか無効「1」であるかを判定する(ステップS5)。ここで、メモリカード無効フラグが無効「1」である場合には(ステップS5の「=1(無効)」)、上述したように、ステップS6で、コントローラプロセス200を無効にし、ステップS7で、プリンタ機能を診断し、プリンタ機能が正常でない場合には(ステップS8のNO)、プリントプロセス220の機能を停止して当該処理を終了する(ステップS9)。   On the other hand, if the memory card 120 is loaded (YES in step S4), it is determined whether the memory card invalid flag is valid “0” or invalid “1” (step S5). Here, when the memory card invalid flag is invalid “1” (“= 1 (invalid)” in step S5), as described above, in step S6, the controller process 200 is invalidated, and in step S7, The printer function is diagnosed. If the printer function is not normal (NO in step S8), the function of the print process 220 is stopped and the process is terminated (step S9).

一方、メモリカード120が装着されており(ステップS4のYES)、メモリカード無効フラグが有効「0」である場合には(ステップS5の「=0」)、注文システム制御プログラム121がメモリカード120に格納されているか否かを判定する(ステップS10)。そして、メモリカード120に注文システム制御プログラム121が格納されていない場合には(ステップS10の無し)、メモリカード無効フラグ=1(無効)に設定し(ステップS14)、再起動を実行する(ステップS15)。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。   On the other hand, when the memory card 120 is loaded (YES in step S4) and the memory card invalid flag is valid “0” (“= 0” in step S5), the ordering system control program 121 stores the memory card 120. Is stored (step S10). If the order system control program 121 is not stored in the memory card 120 (no step S10), the memory card invalid flag = 1 (invalid) is set (step S14), and the restart is executed (step S14). S15). In this case, the memory card invalid flag = 1 (invalid), that is, the memory card 120 is invalidated and restarted to operate as a printer with the controller process 200 stopped.

一方、メモリカード120に注文システム制御プログラム121が格納されている場合には(ステップS10の有り)、注文システム制御プログラム121を起動する(ステップS11)。これにより、コントローラプロセス200が起動し(ステップS40)、コントローラプロセス200は、起動した旨をプリンタプロセス220に通知する(ステップS41)。   On the other hand, when the order system control program 121 is stored in the memory card 120 (the presence of step S10), the order system control program 121 is activated (step S11). Thereby, the controller process 200 is activated (step S40), and the controller process 200 notifies the printer process 220 that it has been activated (step S41).

プリンタプロセス220では、上記コントローラプロセス200からの起動通知を受信することで、コントローラプロセス200の起動を確認し(ステップS12)、コントローラプロセス200が正常に起動したか否かを判定する(ステップS13)。そして、コントローラプロセス200が正常に起動しなかった場合には(ステップS13のNO)、上述したステップS14で、メモリカード無効フラグ=1(無効)に設定し、ステップS15で再起動を実行する。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。   The printer process 220 receives the activation notification from the controller process 200 to confirm the activation of the controller process 200 (step S12), and determines whether or not the controller process 200 has been activated normally (step S13). . If the controller process 200 does not start normally (NO in step S13), the memory card invalid flag = 1 (invalid) is set in step S14 described above, and restart is executed in step S15. In this case, the memory card invalid flag = 1 (invalid), that is, the memory card 120 is invalidated and restarted to operate as a printer with the controller process 200 stopped.

一方、コントローラプロセス200が正常に起動した場合には(ステップS13のYES(正常))、コントローラプロセス200を有効とする(ステップS16)。その後、図12のステップS7に戻り、ステップS8へと進む。   On the other hand, when the controller process 200 has started normally (YES in step S13 (normal)), the controller process 200 is validated (step S16). Then, it returns to step S7 of FIG. 12, and progresses to step S8.

これに対して、コントローラプロセス200では、起動通知後、メモリカード120に保存されている注文処理データ122を確認し(ステップS42)、注文処理データ122が正常であるか否かを判定する(ステップS43)。そして、注文処理データ122が何らかの不具合で正常でない場合には(ステップS43のNo)、コントローラプロセス200を停止し、当該処理を終了する(ステップS44)。この場合、注文処理データ122に異常がある旨を報知するようにしてもよい。   On the other hand, in the controller process 200, after the activation notification, the order processing data 122 stored in the memory card 120 is confirmed (step S42), and it is determined whether or not the order processing data 122 is normal (step S42). S43). If the order process data 122 is not normal due to some trouble (No in step S43), the controller process 200 is stopped and the process is terminated (step S44). In this case, you may make it alert | report that there exists abnormality in the order process data 122. FIG.

一方、メモリカード120に保存されている注文処理データ122が正常である場合には(ステップS43のYES(正常))、二重化監視処理部205で、無線通信により二重化状態を確認し(ステップS45)、二重化状態に応じて稼働、または待機するかを判定する(ステップS46)。メインのコントローラ装置が稼働していれば、サブのコントローラ装置は待機状態とし、メインのコントローラ装置が異常により停止していれば、サブのコントローラ装置は稼働状態とする。   On the other hand, when the order processing data 122 stored in the memory card 120 is normal (YES in step S43), the duplex monitoring processing unit 205 confirms the duplex state by wireless communication (step S45). Then, it is determined whether to operate or wait according to the duplex state (step S46). If the main controller device is operating, the sub controller device is set in a standby state, and if the main controller device is stopped due to an abnormality, the sub controller device is set in an operating state.

なお、当該コントローラ装置がメインであれば稼動状態となり、当該コントローラ装置がサブであれば、メインのコントローラ装置の稼動状況に応じて稼動または待機となる。そして、二重化状態に応じて待機する場合には(ステップS46の待機)、コントローラプロセス200を待機状態とする(ステップS47)。一方、二重化状態に応じて稼働する場合には、図12のステップS48以降に進む。   If the controller device is main, the controller device is in an operating state, and if the controller device is a sub device, the controller device is in operation or standby depending on the operation status of the main controller device. Then, when waiting in accordance with the duplex state (waiting in step S46), the controller process 200 is put into a waiting state (step S47). On the other hand, when operating according to the duplex state, the process proceeds to step S48 and subsequent steps in FIG.

一方、プリントプロセス200の処理において、図10のステップS8で、プリンタ機能が正常であると判定された場合には(ステップS8のYES(正常))、自装置のコントローラプロセス200が有効であるか否かを判定する(図12のステップS17)。そして、自装置のコントローラプロセス200が無効である場合には(ステップS17のNO(無効))、外部コントローラ装置への接続を実行する(ステップS18)。上述したように、当該コントローラ装置がメインであれば、外部コントローラ装置とはサブを意味し、当該コントローラ装置がサブであれば、外部コントローラ装置とはメインを意味する。なお、接続とは、リクエストとACKとのハンドシェイクを行い、通信を確立させることである。   On the other hand, in the process of the print process 200, if it is determined in step S8 in FIG. 10 that the printer function is normal (YES in step S8), whether the controller process 200 of the own apparatus is valid. It is determined whether or not (step S17 in FIG. 12). If the controller process 200 of the own device is invalid (NO in step S17 (invalid)), connection to the external controller device is executed (step S18). As described above, if the controller device is main, the external controller device means sub, and if the controller device is sub, the external controller device means main. The connection is to establish communication by performing a handshake between a request and an ACK.

そして、外部コントローラ装置との接続が成功したか否かを判別し(ステップS19)、接続が失敗した場合には(ステップS19のNO(失敗))、ステップS18に戻り、外部コントローラへの接続を再度試みる。そして、外部コントローラ装置との接続が成功すると(ステップS19のYES(成功))、外部コントローラ装置からの伝票データの受信待ちへ移行する(ステップS20)。このように、自装置のコントローラプロセス200が無効である場合には、外部コントローラ装置からの伝票データの受信待ちへ移行する。   Then, it is determined whether or not the connection with the external controller device has been successful (step S19). If the connection has failed (NO in step S19), the process returns to step S18 to connect to the external controller. Try again. Then, when the connection with the external controller device is successful (YES in step S19 (success)), the process proceeds to waiting for receipt of slip data from the external controller device (step S20). As described above, when the controller process 200 of the own device is invalid, the process shifts to waiting for receipt of slip data from the external controller device.

次に、外部コントローラ装置から伝票データを受信したか否かを判別する(ステップS21)。そして、伝票データを受信した場合には(ステップS21のYES)、伝票フォーマットを作成し、プリンタを制御して伝票印字を実施し(ステップS22)、ステップS20に戻り、再び、伝票データ受信待ちとなる。一方、伝票データを受信しない場合には(ステップS21のNO)、接続確認タイミングであるか否かを判別する(ステップS23)。そして、接続確認タイミングでない場合には(ステップS23のNO)、ステップS20に戻り、伝票データ受信待ちとなる。   Next, it is determined whether or not slip data is received from the external controller device (step S21). When the slip data is received (YES in step S21), a slip format is created, the slip is printed by controlling the printer (step S22), the process returns to step S20, and again, waiting for slip data reception. Become. On the other hand, when slip data is not received (NO in step S21), it is determined whether it is a connection confirmation timing (step S23). If it is not the connection confirmation timing (NO in step S23), the process returns to step S20 and waits for receipt of slip data.

一方、接続確認タイミングである場合には(ステップS23のYES)、接続確認処理部224で、外部コントローラ装置との接続中、例えば1分間隔で外部コントローラ装置と接続を確認する(ステップS24)。すなわち、接続確認を外部コントローラ装置に送信する。次に、接続確認の結果から、接続がOKであるか否かを判別する(ステップS25)。そして、外部コントローラ装置から応答があれば、接続OKとみなし(ステップS25のYES)、ステップS20に戻り、再び、伝票データ受信待ちとなる。一方、外部コントローラ装置から応答がなければ、接続NGとみなし(ステップS25のNO)、ステップS17に戻る。   On the other hand, when it is the connection confirmation timing (YES in step S23), the connection confirmation processing unit 224 confirms the connection with the external controller device, for example, at intervals of 1 minute during the connection with the external controller device (step S24). That is, the connection confirmation is transmitted to the external controller device. Next, it is determined from the connection confirmation result whether or not the connection is OK (step S25). If there is a response from the external controller device, it is regarded as connection OK (YES in step S25), the process returns to step S20, and again waits for receipt of slip data. On the other hand, if there is no response from the external controller device, it is regarded as connection NG (NO in step S25) and the process returns to step S17.

一方、自装置のコントローラプロセス200が有効である場合には(ステップS17のYES(有効))、自装置のコントローラプロセス200への接続を実行する(ステップS26)。なお、接続とは、リクエストとACKとのハンドシェイクを行い、通信を確立させることである。そして、自装置のコントローラプロセス200との接続が成功したか否かを判別し(ステップS27)、コントローラプロセス200との接続が成功した場合には(ステップS27のYES(成功))、上述したステップS20へ進み、自装置のコントローラプロセス200からの伝票データの受信待ちへ移行する。このように、自装置のコントローラプロセス200が有効である場合には、自装置のコントローラプロセス200からの伝票データの受信待ちへ移行する。以降、上述したステップS20〜S25を実行する。   On the other hand, if the controller process 200 of the own device is valid (YES (valid) in step S17), connection to the controller process 200 of the own device is executed (step S26). The connection is to establish communication by performing a handshake between a request and an ACK. Then, it is determined whether or not the connection with the controller process 200 of the own device is successful (step S27). When the connection with the controller process 200 is successful (YES in step S27 (success)), the steps described above are performed. The process proceeds to S20, and shifts to waiting for receipt of slip data from the controller process 200 of the own apparatus. As described above, when the controller process 200 of the own device is valid, the process shifts to waiting for receipt of slip data from the controller process 200 of the own device. Thereafter, steps S20 to S25 described above are executed.

一方、自装置のコントローラプロセス200との接続が成功しない場合には(ステップS27のNO)、コントローラプロセス200が待機状態であるか否かを判別する(ステップS28)。そして、コントローラプロセス200が待機状態である場合には(ステップS28のYES(待機)、ステップS18に戻り、外部コントローラ装置への接続を試み、自装置のコントローラプロセス200が待機状態である場合には、ステップS20以降の外部コントローラ装置からの伝票データの受信待ちへ移行する。   On the other hand, when the connection with the controller process 200 of the own apparatus is not successful (NO in step S27), it is determined whether or not the controller process 200 is in a standby state (step S28). If the controller process 200 is in a standby state (YES in step S28), the process returns to step S18 to attempt connection to an external controller device, and if the controller process 200 of the own device is in a standby state. Then, the process proceeds to waiting for receipt of slip data from the external controller device after step S20.

一方、コントローラプロセス200が待機状態でない場合には(ステップS28のNO)、メモリカード無効フラグ=1(無効)に設定し(ステップS29)、再起動を実行する(ステップS30)。このように、コントローラプロセス200が有効であるにも拘わらず、コントローラプロセス200への接続が成功せず、かつ待機状態でもない場合には、何らかの不具合が発生したものと認識し、再起動を実行する。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。   On the other hand, when the controller process 200 is not in the standby state (NO in step S28), the memory card invalid flag = 1 (invalid) is set (step S29), and the restart is executed (step S30). As described above, when the connection to the controller process 200 is not successful and is not in the standby state even though the controller process 200 is valid, it is recognized that some trouble has occurred and the restart is executed. To do. In this case, the memory card invalid flag = 1 (invalid), that is, the memory card 120 is invalidated and restarted to operate as a printer with the controller process 200 stopped.

これに対して、コントローラプロセス200では、二重化状態に応じて稼働する場合には(図11のステップS46の稼働)、注文処理を起動し(図12のステップS48)、正常起動したか否かを判別する(ステップS49)。そして、注文処理が正常に起動しない場合には(ステップS49のNO)、コントローラプロセス200の機能を停止する(ステップS50)。   On the other hand, in the controller process 200, when operating according to the duplex state (operation of step S46 in FIG. 11), the order process is activated (step S48 in FIG. 12), and whether or not it has been normally activated. A determination is made (step S49). If the order process does not start normally (NO in step S49), the function of the controller process 200 is stopped (step S50).

一方、注文処理が正常に起動した場合には(ステップS49のYES(正常))、注文データ受信待ち状態となる(ステップS51)。すなわち、注文データ受信処理部201は、ハンディターミナル60〜62から注文データを受信したか否かを判別し(ステップS52)、注文データを受信した場合には(ステップS52のYES)、ハンディターミナル60〜62から注文データを受信し、伝票発行処理部203は、図4〜図6に示す各種伝票の伝票データを、プリントプロセス220へ送信する伝票発行処理を実施する(ステップS53)。その後、ステップS51に戻り、再度、注文データ受信待ち状態となる。   On the other hand, when the order process is started normally (YES in step S49), the order data reception wait state is entered (step S51). That is, the order data reception processing unit 201 determines whether or not order data has been received from the handy terminals 60 to 62 (step S52). When the order data is received (YES in step S52), the handy terminal 60 The slip issue processing unit 203 receives the order data from .about.62 and executes the slip issue processing for transmitting the slip data of various slips shown in FIGS. 4 to 6 to the print process 220 (step S53). Thereafter, the process returns to step S51 and again enters the order data reception waiting state.

一方、注文データを受信しない場合には(ステップS52のNO)、プリントプロセス220からの接続確認を受信したか否かを判別する(ステップS54)。そして、プリントプロセス220からの接続確認を受信した場合には(ステップS54のYES)、コントローラプロセス200では、接続確認処理部204で、受信した接続確認に対する応答をプリントプロセス220に返す(ステップS55)。その後、ステップS51に戻り、再度、注文データ受信待ち状態となる。一方、注文データを受信せず、かつ接続確認も受信しない場合には(ステップS54のNO)、ステップS50へ進み、コントローラプロセス200の機能を停止する。   On the other hand, when order data is not received (NO in step S52), it is determined whether or not a connection confirmation from the print process 220 has been received (step S54). When the connection confirmation is received from the print process 220 (YES in step S54), the controller process 200 returns a response to the received connection confirmation to the print process 220 in the connection confirmation processing unit 204 (step S55). . Thereafter, the process returns to step S51 and again enters the order data reception waiting state. On the other hand, when the order data is not received and the connection confirmation is not received (NO in step S54), the process proceeds to step S50, and the function of the controller process 200 is stopped.

上述したコントローラ(メイン)装置10の動作を以下にまとめて説明する。
コントローラ(メイン)装置10では、電源投入後に内部メモリ(図示略)に格納されているプリントプロセス220が起動する(ステップS3)。プリントプロセス220は、まず、外部メモリスロット110にメモリカード120が装着されているか確認し(ステップS4)、その中に注文システム制御プログラム121が保存されていれば、コントローラプロセス200を起動する(ステップS11)。コントローラプロセス200が正常に起動できたことは、それぞれの接続確認処理で確認を行う。
プリントプロセス220は、プリンタ機能の診断を行い(ステップS7)、異常がなければ、コントローラプロセス200への接続を行う(ステップS26)。
一方、コントローラプロセス200は、メモリカード120に格納してある注文処理データ122の診断を行い(ステップS42)、正常であれば、注文処理を開始する。注文処理が開始されると、プリンタプロセス220、無線プリンタ500からの接続要求を受け付け、接続したプリンタを伝票出力装置として用いる(ステップS48)。
The operation of the controller (main) device 10 described above will be collectively described below.
In the controller (main) apparatus 10, the print process 220 stored in the internal memory (not shown) is activated after the power is turned on (step S3). The print process 220 first confirms whether or not the memory card 120 is inserted in the external memory slot 110 (step S4). If the order system control program 121 is stored therein, the controller process 200 is started (step S4). S11). Confirmation that the controller process 200 has been started normally is performed in each connection confirmation process.
The print process 220 diagnoses the printer function (step S7), and if there is no abnormality, connects to the controller process 200 (step S26).
On the other hand, the controller process 200 diagnoses the order processing data 122 stored in the memory card 120 (step S42), and if normal, starts the order processing. When the order process is started, a connection request is received from the printer process 220 and the wireless printer 500, and the connected printer is used as a slip output device (step S48).

プリントプロセス220は、メモリカード120の注文システム制御プログラム121の確認後にコントローラプロセス200を起動したにも拘わらず、接続確認処理でコントローラプロセス200が正常に起動したことが確認できない場合には(ステップS13)、外部メモリであるメモリカード120を無効にして自身を再起動する(ステップS15)。この場合、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。   In the case where the print process 220 cannot confirm that the controller process 200 has started normally in the connection confirmation process even though the controller process 200 has been started after the confirmation of the ordering system control program 121 of the memory card 120 (step S13). ) Invalidates the memory card 120 as the external memory and restarts itself (step S15). In this case, by invalidating and restarting the memory card 120, the controller process 200 operates as a printer in a stopped state.

プリントプロセス220は、その後、コントローラプロセス200への接続を行うが、コントローラプロセス200への接続を試みて失敗した場合も(ステップS27)、同様に外部メモリであるメモリカード120を無効にして自身を再起動する(ステップS30)。この場合、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
また、プリントプロセス220は、プリント機能の診断で異常と判別したら(ステップS8)、自身の機能を停止することにより、コントローラプロセス200への接続を行わない。これによって、プリントプロセス220は停止し(ステップS9)、コントローラプロセス200は、上記プリンタプロセス220を伝票出力装置として用いない。
The print process 220 then connects to the controller process 200, but if the connection to the controller process 200 fails (step S27), the memory card 120, which is an external memory, is similarly invalidated and the print process 220 is deleted. It restarts (step S30). In this case, by invalidating and restarting the memory card 120, the controller process 200 operates as a printer in a stopped state.
Further, when the print process 220 determines that the print function is abnormal in the diagnosis of the print function (step S8), the print process 220 stops the function of itself and does not connect to the controller process 200. As a result, the print process 220 stops (step S9), and the controller process 200 does not use the printer process 220 as a slip output device.

このように、プリントプロセス220は、メモリカード120を不検出であったり、メモリカード無効フラグが1であったりすれば、プリンタとして動作する。また、メモリカード120を検出しメモリカード無効フラグが0である場合であって、コントローラプロセス200に異常が発生した場合には、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
また、プリントプロセス220は、動作中に、接続確認処理などによって、コントローラ(メイン)装置10のコントローラプロセス200に異常が発生したことを認識した場合でも、プリントプロセス220としての動作は継続する。
また、逆に、プリントプロセス220が異常で停止しても、コントローラプロセス200は動作することができる。
このように、プリントプロセス220とコントローラプロセス200とが独立して動作可能であるため、どちらかのプロセスに異常が生じても他方のプロセスを停止させることなく動作を継続させることができる。
As described above, the print process 220 operates as a printer if the memory card 120 is not detected or the memory card invalid flag is 1. When the memory card 120 is detected and the memory card invalid flag is 0, and an abnormality occurs in the controller process 200, the memory card 120 is invalidated and restarted, whereby the controller process 200 is Operates as a printer when stopped.
In addition, even when the print process 220 recognizes that an abnormality has occurred in the controller process 200 of the controller (main) device 10 by the connection confirmation process or the like during the operation, the operation as the print process 220 continues.
Conversely, the controller process 200 can operate even if the print process 220 stops abnormally.
As described above, since the print process 220 and the controller process 200 can operate independently, even if an abnormality occurs in one of the processes, the operation can be continued without stopping the other process.

上述した実施形態によれば、注文システム制御機能と伝票出力機能とを1つのコントローラ装置10に組み込み、注文システム制御部11、または伝票出力部12のどちらかに障害が発生して停止した場合でも、障害のない機能を動作させるとともに、不具合が生じた機能を二重化した他のコントローラ装置で動作させるようにしたので、注文処理、及び伝票出力処理を高い信頼性で継続することができる。   According to the above-described embodiment, even when the order system control function and the slip output function are incorporated in one controller device 10 and either the order system control unit 11 or the slip output unit 12 fails and stops, Since the function without failure is operated, and the controller is operated with another controller device in which the function in which the problem has occurred is duplicated, the order process and the slip output process can be continued with high reliability.

10 コントローラ(メイン)装置
11、21 注文システム制御部
12、22 伝票出力部
13、23 無線送受信部
20 コントローラ(サブ)装置
30 有線LAN
40 POSレジスタ
50 無線プリンタ
60〜62 ハンディターミナル
70 伝票出力設定情報
80 メニューマスター設定情報
90 ゲスト伝票
91 ドリンク伝票
92 調理伝票
100 プリンタ
110 外部メモリスロット
120 メモリカード
121 注文制御プログラム
122 注文処理データ
200 コントローラプロセス
201 注文データ受信処理部
202 注文処理部
203 伝票発行処理部
204 接続各院処理部
205 二重化監視処理部
220 プリントプロセス
221 伝票データ受信処理部
222 伝票フォーマット作成処理部
223 プリンタ制御処理部
224 接続確認処理部
10 controller (main) device 11, 21 order system control unit 12, 22 slip output unit 13, 23 wireless transmission / reception unit 20 controller (sub) device 30 wired LAN
40 POS register 50 wireless printer 60-62 handy terminal 70 slip output setting information 80 menu master setting information 90 guest slip 91 drink slip 92 cooking slip 100 printer 110 external memory slot 120 memory card 121 order control program 122 order processing data 200 controller process 201 Order Data Reception Processing Unit 202 Order Processing Unit 203 Voucher Issuance Processing Unit 204 Connected Hospital Processing Unit 205 Duplex Monitoring Processing Unit 220 Print Process 221 Voucher Data Reception Processing Unit 222 Voucher Format Creation Processing Unit 223 Printer Control Processing Unit 224 Connection Confirmation Processing Part

Claims (8)

コントローラ機能とプリント機能とを並列処理するプリンタ装置であって、
前記コントローラ機能を実現する機能部として、
ハンディターミナルで入力された注文データを受信する注文データ受信処理部と、
前記注文データ受信処理部により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理部とを備え、
前記プリント機能を実現する機能部として、
前記伝票発行処理部から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理部と、
前記伝票データ受信処理部により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理部とを備え、
前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理部と前記プリンタ制御処理部との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行させる
ことを特徴とするプリンタ装置。
A printer device that performs parallel processing of a controller function and a print function,
As a functional unit for realizing the controller function,
An order data reception processing unit for receiving the order data input at the handy terminal;
Based on the order data received by the order data reception processing unit, a slip issuing processing unit for issuing slip data of a slip to be printed out,
As a functional unit for realizing the print function,
A slip data reception processing unit that receives the slip data issued from the slip issue processing unit or the slip data issued from another printer device;
A printer control processing unit that controls the printer driving unit to print out a slip based on the slip data received by the slip data reception processing unit;
Even if the controller function is stopped, the operation of the slip data reception processing unit and the printer control processing unit by the print function is continued, and the other printer is replaced with the stopped controller function. A printer apparatus, wherein the controller function is executed by the apparatus.
前記伝票データ受信処理部は、
前記コントローラ機能が動作している場合には、前記伝票発行処理部から発行された伝票データを受信し、前記コントローラ機能が停止した場合には、外部装置から発行された伝票データを受信する
ことを特徴とする請求項1に記載のプリンタ装置。
The slip data reception processing unit
When the controller function is operating, it receives slip data issued from the slip issuing processor, and when the controller function is stopped, it receives slip data issued from an external device. The printer device according to claim 1, wherein:
前記コントローラ機能を実現する機能部として、
外部のプリンタ装置が稼働中であれば、自身を待機状態に移行し、外部のプリンタ装置が待機中であれば、自身を稼働状態に移行する二重化監視処理部を更に備える
ことを特徴とする請求項1または2に記載のプリンタ装置。
As a functional unit for realizing the controller function,
If the external printer device is in operation, it further includes a duplication monitoring processing unit that shifts itself to a standby state, and if the external printer device is in standby state, it further includes a duplex monitoring processing unit. Item 3. The printer device according to Item 1 or 2.
前記プリント機能と前記コントローラ機能とは、互いが正常に動作しているか否かを、所定の時間間隔で通信することで確認する接続確認処理部を更に備える
ことを特徴とする請求項1から3のいずれか一項に記載のプリンタ装置。
The connection function processing unit for confirming whether the print function and the controller function communicate with each other at predetermined time intervals as to whether or not they are operating normally. The printer device according to any one of the above.
メモリカードが装着される外部メモリスロットを更に備え、
前記外部メモリスロットに装着された前記メモリカードに保存されているプログラムを読み込んで実行することにより、前記コントローラ機能を起動する、
ことを特徴とする請求項1から4のいずれか一項に記載のプリンタ装置。
An external memory slot to which a memory card is inserted;
Activating the controller function by reading and executing a program stored in the memory card mounted in the external memory slot;
The printer device according to claim 1, wherein the printer device is a printer.
前記プリント機能は、
前記コントローラ機能が停止した場合、前記メモリカードの有効/無効に設定するメモリカード無効フラグを有効に設定した後、当該装置を再起動し、
再起動後、前記メモリカード無効フラグが有効である場合、前記メモリカードに保存されているプログラムを実行しないことにより、前記コントローラ機能を起動しない
ことを特徴とする請求項5に記載のプリンタ装置。
The print function is
If the controller function is stopped, set the memory card invalid flag to enable / disable the memory card, then restart the device,
The printer apparatus according to claim 5, wherein after the restart, when the memory card invalid flag is valid, the controller function is not activated by not executing a program stored in the memory card.
コントローラ機能とプリント機能とを並列処理するプリンタ装置のコンピュータを、前記コントローラ機能を実現する機能部として、ハンディターミナルで入力された注文データを受信する注文データ受信処理機能と、
前記コントローラ機能を実現する機能部として、前記注文データ受信処理機能により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理機能と、
前記プリント機能を実現する機能部として、前記伝票発行処理機能から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理機能と、
前記プリント機能を実現する機能部として、前記伝票データ受信処理機能により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理機能と、
前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理機能と前記プリンタ制御処理機能との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行する制御機能と
として機能させるためのプリンタ制御プログラム。
An order data reception processing function for receiving order data input at a handy terminal as a functional unit for realizing the controller function, a computer of a printer device that performs parallel processing of a controller function and a print function;
A slip issuing processing function for issuing slip data of a slip to be printed based on the order data received by the order data receiving processing function as a function unit that realizes the controller function;
A slip data reception processing function for receiving slip data issued from the slip issue processing function or slip data issued from another printer device as a function unit that realizes the print function;
A printer control processing function for controlling the printer driving unit to print out a slip based on the slip data received by the slip data reception processing function, as a function unit for realizing the print function;
Even when the controller function is stopped, the print function continues the operations of the slip data reception processing function and the printer control processing function, and the other printer is replaced with the stopped controller function. A printer control program for causing a device to function as a control function for executing the controller function.
コントローラ機能とプリント機能とを並列処理する複数のプリンタ装置からなり、実行すべき処理、及びデータを、前記複数のプリンタ装置のうち、少なくとも1つのメインプリンタ装置と、他のサブプリンタ装置との間で二重化する注文管理システムであって、
前記複数のプリンタ装置は、各々、
前記コントローラ機能を実現する機能部として、
ハンディターミナルで入力された注文データを受信する注文データ受信処理部と、
前記注文データ受信処理部により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理部とを備え、
前記プリント機能を実現する機能部として、
前記伝票発行処理部から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理部と、
前記伝票データ受信処理部により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理部とを備え、
前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理部と前記プリンタ制御処理部との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行する
ことを特徴とする注文管理システム。
It consists of a plurality of printer devices that process the controller function and the print function in parallel, and the processing and data to be executed are transferred between at least one main printer device and another sub-printer device among the plurality of printer devices. The order management system is duplicated with
Each of the plurality of printer devices includes:
As a functional unit for realizing the controller function,
An order data reception processing unit for receiving the order data input at the handy terminal;
Based on the order data received by the order data reception processing unit, a slip issuing processing unit for issuing slip data of a slip to be printed out,
As a functional unit for realizing the printing functions,
A slip data reception processing unit that receives the slip data issued from the slip issue processing unit or the slip data issued from another printer device;
A printer control processing unit that controls the printer driving unit to print out a slip based on the slip data received by the slip data reception processing unit;
Even if the controller function is stopped, the operation of the slip data reception processing unit and the printer control processing unit by the print function is continued, and the other printer is replaced with the stopped controller function. An order management system, wherein the controller function is executed by an apparatus.
JP2012050423A 2012-03-07 2012-03-07 Printer device, printer control program, and order management system Active JP5876331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012050423A JP5876331B2 (en) 2012-03-07 2012-03-07 Printer device, printer control program, and order management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012050423A JP5876331B2 (en) 2012-03-07 2012-03-07 Printer device, printer control program, and order management system

Publications (2)

Publication Number Publication Date
JP2013186636A JP2013186636A (en) 2013-09-19
JP5876331B2 true JP5876331B2 (en) 2016-03-02

Family

ID=49388018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012050423A Active JP5876331B2 (en) 2012-03-07 2012-03-07 Printer device, printer control program, and order management system

Country Status (1)

Country Link
JP (1) JP5876331B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3139051B2 (en) * 1991-06-05 2001-02-26 日本電気株式会社 Ordering system backup method
JP5594623B2 (en) * 2009-11-27 2014-09-24 エスアイアイ・データサービス株式会社 Ordering system and controller device
JP5634792B2 (en) * 2010-08-11 2014-12-03 セイコーソリューションズ株式会社 Order data management apparatus and order data management method

Also Published As

Publication number Publication date
JP2013186636A (en) 2013-09-19

Similar Documents

Publication Publication Date Title
US10785382B2 (en) Printing device, control method of a printing device, and storage medium having a wireless communicator that is paired with an external device
KR102006520B1 (en) Image forming apparatus and control method
EP2796985B1 (en) Print control device, printing system, and print control method
CN107066215B (en) Network system, printing apparatus, information processing apparatus, and control method
EP1946249B1 (en) Modular card issuance system and method of operation
JP6485250B2 (en) Network system and network system control method
JP2013197677A (en) Image processing device, image formation device, abnormality management processing method, and abnormality management processing program
WO2016024234A1 (en) Fail-safe electronic restaurant management system
JP5876331B2 (en) Printer device, printer control program, and order management system
JP5634792B2 (en) Order data management apparatus and order data management method
JP6237110B2 (en) Printer, printing system, and printer control method
JP2012003445A (en) Relay device, mounting board and pos system including them, and control method of relay device and program
US11057534B2 (en) Information processing apparatus, and method of controlling information processing apparatus for providing notification of a reception result in response to predetermined information
JP2007102331A (en) Printing system and printing device
JP5209885B2 (en) Order information management apparatus, system, and method
US20160147490A1 (en) Printing Device and Printing System
JP3955688B2 (en) Product order management system
JP6191385B2 (en) Transmission system, host device, and data transmission method
JP2004295311A (en) Method for printing accounting slip and cooking instruction slip for order data processing system
JP2018036981A (en) Communication device and program
US11700340B2 (en) Method for registering a terminal in an image forming apparatus
JP2004310247A (en) Order data management system
JP2020166429A (en) Terminal device, image formation apparatus, ordering system, and control program
JP2016225824A (en) Information processing system, information processing device, and information processing method
JP5705573B2 (en) Order management system, order management method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20140822

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160121

R150 Certificate of patent or registration of utility model

Ref document number: 5876331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250