JP5876331B2 - Printer device, printer control program, and order management system - Google Patents
Printer device, printer control program, and order management system Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 claims description 151
- 230000006870 function Effects 0.000 claims description 145
- 238000012545 processing Methods 0.000 claims description 125
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000007639 printing Methods 0.000 claims description 5
- 230000003213 activating effect Effects 0.000 claims 1
- 238000012790 confirmation Methods 0.000 description 23
- 238000010411 cooking Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 17
- 230000005856 abnormality Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000004913 activation Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 235000015220 hamburgers Nutrition 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 241001122767 Theaceae Species 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
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.
しかしながら、上述した従来技術では、注文システム制御機能と伝票出力機能とを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.
以下、本発明の一実施形態を、図面を参照して説明する。 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)
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)
コントローラ(サブ)装置20側が異常になった場合には、コントローラ(メイン)装置10側は、処理を継続しながら単独稼動に移行する。一方、コントローラ(メイン)装置10側が異常になった場合には、コントローラ(サブ)装置20側は、待機状態から単特稼動に移行する。障害が発生したコントローラ(メイン)装置10、またはコントローラ(サブ)装置20は、単独稼動側に悪影響を与えないよう速やかに処理を停止する。また、コントローラ(メイン)装置10、コントローラ(サブ)装置20の無線送受信部13、23は、無線プリンタ50への伝票出力、ハンディターミナル60〜62で入力した注文情報を受信するための通信ポートとなる。
When the controller (sub)
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)
The
ハンディターミナル60、61、62は、各々、ウェイタ、ウェイトレス等の従業員に携帯され、客からの注文内容が入力される。ハンディターミナル60〜62は、入力された注文内容に基づく注文データを、無線通信により、コントローラ(メイン)装置10、またはコントローラ(サブ)装置20に送信する。
The
ハンディターミナル60〜62から送信された注文データは、コントローラ(メイン)装置10、またはコントローラ(サブ)装置20で受信され、二重化稼動しているコントローラ(メイン)装置10へ転送される。コントローラ(サブ)装置20は、コントローラ(メイン)装置10が二重化稼動状態のときは、注文データの二重化管理を行う待機状態になっている。
The order data transmitted from the handy terminals 60 to 62 is received by the controller (main)
コントローラ(メイン)装置10、またはコントローラ(サブ)装置20は、注文データを受信すると、注文処理や注文データの保存を行い、伝票発行処理にてコントローラ(メイン)装置10の伝票出力部12、コントローラ(サブ)装置20の伝票出力部22、及び無線プリンタ50にそれぞれで印字すべき伝票データを送信する。
When the controller (main)
コントローラ(メイン)装置10、コントローラ(サブ)装置20、無線プリンタ50が印字する伝票の種類は、それぞれの設置位置によって、コントローラ(メイン)装置10、コントローラ(サブ)装置20内の伝票出力設定情報で定義されている。次に、該伝票出力設定情報について説明する。
The types of slips printed by the controller (main)
図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)
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)
迂回先は、装置欄で示される装置に不具合等があって動作しない場合に伝票出力を代替する装置を示している。図示の例では、コントローラ(メイン)装置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)
図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)
図4は、本実施形態において、図2の伝票出力設定情報のコントローラ(メイン)、装置10の伝票出力部12から印字されるゲスト伝票90の一例を示す模式図である。図4において、ゲスト伝票90には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた物品の品名であるメニュー名称、注文を受けた数量が印字される。該ゲスト伝票90は、注文した顧客に対して印字出力される伝票である。従って、ゲスト伝票90には、顧客が注文した全ての品名、その数量が印字される。
FIG. 4 is a schematic diagram illustrating an example of the
図5は、本実施形態において、図2の伝票出力設定情報のコントローラ(サブ)装置20の伝票出力部22から印字されるドリンク伝票91の一例を示す模式図である。図5において、ドリンク伝票91には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた品名であるメニュー名称、注文を受けた数量が印字される。該ドリンク伝票91は、ドリンクを作る従業員に対して印字出力される伝票である。従って、ドリンク伝票91には、ドリンクに分類される品名、その数量が印字される。
FIG. 5 is a schematic diagram showing an example of the
図6は、本実施形態において、図2の伝票出力設定情報の無線プリンタ50から印字される調理伝票92の一例を示す模式図である。図6において、調理伝票92には、注文を受けた時刻、ハンディターミナル(HT)番号、注文を受けた品名であるメニュー名称、注文を受けた数量が印字される。該調理伝票92は、厨房の料理人に対して印字出力される伝票である。従って、調理伝票92には、厨房で調理される料理に分類される品名、その数量が印字される。
FIG. 6 is a schematic diagram showing an example of the
上述した構成において、本実施形態による注文管理システムでは、コントローラ(メイン)装置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)
コントローラ(サブ)装置20の単独稼動において、コントローラ(メイン)装置10の伝票出力部12が停止すると、コントローラ(サブ)装置20で作成したゲスト伝票90(図4)を、コントローラ(メイン)装置10に送信しても応答しなくなる。このとき、コントローラ(サブ)装置20は、図2に示す伝票出力設定情報70を参照し、ゲスト伝票90の迂回先である、無線プリンタ50に伝票データを送信する。その結果、調理場にある無線プリンタ50から調理伝票92に続いてゲスト伝票90も印字されることになる。
When the
次に、本実施形態によるコントローラ(メイン)装置10、コントローラ(サブ)装置20を実現するための一方法について説明する。
図7、及び図8は、本実施形態において、コントローラ(メイン)装置10、コントローラ(サブ)装置20を実現する一例を示すブロック図である。本実施形態において、注文システム制御部11、21と伝票出力部12、22とを一体化するにあたり、印字機能を備えるプリンタ100に外部メモリを着脱可能とする外部メモリスロット110を用意する。外部メモリとは、市販されているSDカード(登録商標)、USBメモリ、ハードディスク、コンパクトフラッシュ(登録商標)などである。ここでは、外部メモリをメモリカード120と呼ぶ。
Next, a method for realizing the controller (main)
7 and 8 are block diagrams showing an example of realizing the controller (main)
メモリカード120には、注文システム制御部11、21を実現するための注文システム制御プログラム121が保存されている。図7に示すように、プリンタ100の外部メモリスロット110にメモリカード120を装着することで、図8に示すように、プリント機能付きコントローラ(メイン)装置10、コントローラ(サブ)装置20となる。メモリカード120には、注文システム制御部11、21により注文処理した注文処理データ122も保存することとする。
The
図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
コントローラプロセス200は、注文データ受信処理部201、注文処理部202、伝票発行処理部203、接続確認処理部204、及び二重化監視処理部205を備えている。注文データ受信処理部201は、ハンディターミナル60〜62から注文データを受信する。注文処理部202は、注文データに従って注文処理を行い、メモリカード120内の注文処理データ122を更新する。伝票発行処理部203は、注文処理データ122に従って伝票発行処理を行い、印字すべき伝票の種類に応じて、プリントプロセス220、コントローラ(サブ)装置20、無線プリンタ50などに伝票データを送信する。
The
伝票発行処理部203では、コントローラ(メイン)装置10内のプリントプロセス220へ伝票データを出力する場合と、外部プリンタ(ここではコントローラ(サブ)装置20、無線プリンタ50)へ出力する場合とでは、送信先が異なるのみで、同じルートから送信される。
In the case where the slip
プリントプロセス220は、伝票データ受信処理部221、伝票フォーマット作成処理部222、プリンタ制御部223、及び接続確認処理部224を備えている。伝票データ受信処理部221は、コントローラプロセス200、他のコントローラ装置からの伝票データを受信する。ここで、他のコントローラ装置とは、当該装置がメインである場合にはコントローラ(サブ)装置20であり、当該装置がサブである場合にはコントローラ(メイン)装置10となる。
The
伝票フォーマット作成処理部222は、受信した伝票データに従って、伝票フォーマットを作成する。プリンタ制御部223は、プリンタ制御処理を通してプリンタ駆動部207で伝票を印字する。プリントプロセス220の伝票データ受信処理部221は、コントローラプロセス200に限らず、他のコントローラ装置からの伝票データを受信することが可能になっており、コントローラプロセス200が停止しているときは、他のコントローラ装置から伝票データを受信する。
The slip format
コントローラプロセス200、及びプリントプロセス220は、各々、接続確認処理部204、224を備えている。コントローラプロセス200の接続確認処理部204は、内部外部を問わず、プリントプロセス220やコントローラ(サブ)装置20、無線プリンタ50との接続確認を行う。また、プリントプロセス220の接続確認処理部224も同様に、内部外部を問わず、コントローラプロセス200や他のコントローラ装置との接続確認を行う。これによって相互の通信ルートの確認と、それぞれの処理が正常に動作していることを確認できる。
The
図10〜図12は、本実施形態によるコントローラ(メイン)装置10の動作を説明するためのフローチャートである。なお、コントローラ(サブ)装置20も同様の動作となるので、以下では、コントローラ(メイン)装置10の動作として説明する。
10 to 12 are flowcharts for explaining the operation of the controller (main)
コントローラ(メイン)装置10に電源が投入されると、コントローラ(メイン)装置10は、まず、パワーオンリセットによってメモリカード無効フラグ=0(有効)に設定する(ステップS1)。メモリカード無効フラグは、メモリカード120を有効、無効に設定するフラグであり、「0」で有効、「1」で無効に設定されていることを意味する。
次に、コントローラ(メイン)装置10のOS(Operating System)がプリントプロセス220を起動する(ステップS3)。なお、再起動で開始した場合には(ステップS2)、ステップS3へ進み、コントローラ(メイン)装置10のOSがプリントプロセス220を起動する(ステップS3)。
When the controller (main)
Next, the OS (Operating System) of the controller (main)
次に、プリントプロセス220は、メモリカード120が装着されているか否かを判定する(ステップS4)。そして、メモリカード120が装着されていない場合には(ステップS4のNO)、コントローラプロセス200を無効にする(ステップS6)。
次に、プリンタ機能を診断し(ステップS7)、プリンタ機能が正常であるか否かを判定する(ステップS8)。そして、プリンタ機能が正常でない場合には(ステップS8のNO)、プリントプロセス220の機能を停止して当該処理を終了する(ステップS9)。この場合、プリンタ機能に異状がある旨を報知するようにしてもよい。
Next, the
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
一方、メモリカード120が装着されている場合には(ステップS4のYES)、メモリカード無効フラグが有効「0」であるか無効「1」であるかを判定する(ステップS5)。ここで、メモリカード無効フラグが無効「1」である場合には(ステップS5の「=1(無効)」)、上述したように、ステップS6で、コントローラプロセス200を無効にし、ステップS7で、プリンタ機能を診断し、プリンタ機能が正常でない場合には(ステップS8のNO)、プリントプロセス220の機能を停止して当該処理を終了する(ステップS9)。
On the other hand, if the
一方、メモリカード120が装着されており(ステップS4のYES)、メモリカード無効フラグが有効「0」である場合には(ステップS5の「=0」)、注文システム制御プログラム121がメモリカード120に格納されているか否かを判定する(ステップS10)。そして、メモリカード120に注文システム制御プログラム121が格納されていない場合には(ステップS10の無し)、メモリカード無効フラグ=1(無効)に設定し(ステップS14)、再起動を実行する(ステップS15)。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
On the other hand, when the
一方、メモリカード120に注文システム制御プログラム121が格納されている場合には(ステップS10の有り)、注文システム制御プログラム121を起動する(ステップS11)。これにより、コントローラプロセス200が起動し(ステップS40)、コントローラプロセス200は、起動した旨をプリンタプロセス220に通知する(ステップS41)。
On the other hand, when the order
プリンタプロセス220では、上記コントローラプロセス200からの起動通知を受信することで、コントローラプロセス200の起動を確認し(ステップS12)、コントローラプロセス200が正常に起動したか否かを判定する(ステップS13)。そして、コントローラプロセス200が正常に起動しなかった場合には(ステップS13のNO)、上述したステップS14で、メモリカード無効フラグ=1(無効)に設定し、ステップS15で再起動を実行する。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
The
一方、コントローラプロセス200が正常に起動した場合には(ステップS13のYES(正常))、コントローラプロセス200を有効とする(ステップS16)。その後、図12のステップS7に戻り、ステップS8へと進む。
On the other hand, when the
これに対して、コントローラプロセス200では、起動通知後、メモリカード120に保存されている注文処理データ122を確認し(ステップS42)、注文処理データ122が正常であるか否かを判定する(ステップS43)。そして、注文処理データ122が何らかの不具合で正常でない場合には(ステップS43のNo)、コントローラプロセス200を停止し、当該処理を終了する(ステップS44)。この場合、注文処理データ122に異常がある旨を報知するようにしてもよい。
On the other hand, in the
一方、メモリカード120に保存されている注文処理データ122が正常である場合には(ステップS43のYES(正常))、二重化監視処理部205で、無線通信により二重化状態を確認し(ステップS45)、二重化状態に応じて稼働、または待機するかを判定する(ステップS46)。メインのコントローラ装置が稼働していれば、サブのコントローラ装置は待機状態とし、メインのコントローラ装置が異常により停止していれば、サブのコントローラ装置は稼働状態とする。
On the other hand, when the
なお、当該コントローラ装置がメインであれば稼動状態となり、当該コントローラ装置がサブであれば、メインのコントローラ装置の稼動状況に応じて稼動または待機となる。そして、二重化状態に応じて待機する場合には(ステップ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
一方、プリントプロセス200の処理において、図10のステップS8で、プリンタ機能が正常であると判定された場合には(ステップS8のYES(正常))、自装置のコントローラプロセス200が有効であるか否かを判定する(図12のステップS17)。そして、自装置のコントローラプロセス200が無効である場合には(ステップS17のNO(無効))、外部コントローラ装置への接続を実行する(ステップS18)。上述したように、当該コントローラ装置がメインであれば、外部コントローラ装置とはサブを意味し、当該コントローラ装置がサブであれば、外部コントローラ装置とはメインを意味する。なお、接続とは、リクエストとACKとのハンドシェイクを行い、通信を確立させることである。
On the other hand, in the process of the
そして、外部コントローラ装置との接続が成功したか否かを判別し(ステップ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
次に、外部コントローラ装置から伝票データを受信したか否かを判別する(ステップ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
一方、自装置のコントローラプロセス200が有効である場合には(ステップS17のYES(有効))、自装置のコントローラプロセス200への接続を実行する(ステップS26)。なお、接続とは、リクエストとACKとのハンドシェイクを行い、通信を確立させることである。そして、自装置のコントローラプロセス200との接続が成功したか否かを判別し(ステップS27)、コントローラプロセス200との接続が成功した場合には(ステップS27のYES(成功))、上述したステップS20へ進み、自装置のコントローラプロセス200からの伝票データの受信待ちへ移行する。このように、自装置のコントローラプロセス200が有効である場合には、自装置のコントローラプロセス200からの伝票データの受信待ちへ移行する。以降、上述したステップS20〜S25を実行する。
On the other hand, if the
一方、自装置のコントローラプロセス200との接続が成功しない場合には(ステップS27のNO)、コントローラプロセス200が待機状態であるか否かを判別する(ステップS28)。そして、コントローラプロセス200が待機状態である場合には(ステップS28のYES(待機)、ステップS18に戻り、外部コントローラ装置への接続を試み、自装置のコントローラプロセス200が待機状態である場合には、ステップS20以降の外部コントローラ装置からの伝票データの受信待ちへ移行する。
On the other hand, when the connection with the
一方、コントローラプロセス200が待機状態でない場合には(ステップS28のNO)、メモリカード無効フラグ=1(無効)に設定し(ステップS29)、再起動を実行する(ステップS30)。このように、コントローラプロセス200が有効であるにも拘わらず、コントローラプロセス200への接続が成功せず、かつ待機状態でもない場合には、何らかの不具合が発生したものと認識し、再起動を実行する。この場合、メモリカード無効フラグ=1(無効)、すなわちメモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
On the other hand, when the
これに対して、コントローラプロセス200では、二重化状態に応じて稼働する場合には(図11のステップS46の稼働)、注文処理を起動し(図12のステップS48)、正常起動したか否かを判別する(ステップS49)。そして、注文処理が正常に起動しない場合には(ステップS49のNO)、コントローラプロセス200の機能を停止する(ステップS50)。
On the other hand, in the
一方、注文処理が正常に起動した場合には(ステップ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
一方、注文データを受信しない場合には(ステップ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
上述したコントローラ(メイン)装置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)
In the controller (main)
The
On the other hand, the
プリントプロセス220は、メモリカード120の注文システム制御プログラム121の確認後にコントローラプロセス200を起動したにも拘わらず、接続確認処理でコントローラプロセス200が正常に起動したことが確認できない場合には(ステップS13)、外部メモリであるメモリカード120を無効にして自身を再起動する(ステップS15)。この場合、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
In the case where the
プリントプロセス220は、その後、コントローラプロセス200への接続を行うが、コントローラプロセス200への接続を試みて失敗した場合も(ステップS27)、同様に外部メモリであるメモリカード120を無効にして自身を再起動する(ステップS30)。この場合、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
また、プリントプロセス220は、プリント機能の診断で異常と判別したら(ステップS8)、自身の機能を停止することにより、コントローラプロセス200への接続を行わない。これによって、プリントプロセス220は停止し(ステップS9)、コントローラプロセス200は、上記プリンタプロセス220を伝票出力装置として用いない。
The
Further, when the
このように、プリントプロセス220は、メモリカード120を不検出であったり、メモリカード無効フラグが1であったりすれば、プリンタとして動作する。また、メモリカード120を検出しメモリカード無効フラグが0である場合であって、コントローラプロセス200に異常が発生した場合には、メモリカード120を無効にして再起動することで、コントローラプロセス200を停止した状態でプリンタとして動作する。
また、プリントプロセス220は、動作中に、接続確認処理などによって、コントローラ(メイン)装置10のコントローラプロセス200に異常が発生したことを認識した場合でも、プリントプロセス220としての動作は継続する。
また、逆に、プリントプロセス220が異常で停止しても、コントローラプロセス200は動作することができる。
このように、プリントプロセス220とコントローラプロセス200とが独立して動作可能であるため、どちらかのプロセスに異常が生じても他方のプロセスを停止させることなく動作を継続させることができる。
As described above, the
In addition, even when the
Conversely, the
As described above, since the
上述した実施形態によれば、注文システム制御機能と伝票出力機能とを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
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)
40 POS register 50 wireless printer 60-62
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.
前記複数のプリンタ装置は、各々、
前記コントローラ機能を実現する機能部として、
ハンディターミナルで入力された注文データを受信する注文データ受信処理部と、
前記注文データ受信処理部により受信された注文データに基づいて、印字出力すべき伝票の伝票データを発行する伝票発行処理部とを備え、
前記プリント機能を実現する機能部として、
前記伝票発行処理部から発行された伝票データ、または他のプリンタ装置から発行された伝票データを受信する伝票データ受信処理部と、
前記伝票データ受信処理部により受信された伝票データに基づいて、プリンタ駆動部を制御して伝票を印字出力するプリンタ制御処理部とを備え、
前記コントローラ機能が停止した場合であっても、前記プリント機能による、前記伝票データ受信処理部と前記プリンタ制御処理部との動作を継続するとともに、停止した前記コントローラ機能に代えて、前記他のプリンタ装置で前記コントローラ機能を実行する
ことを特徴とする注文管理システム。 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.
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)
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 |
-
2012
- 2012-03-07 JP JP2012050423A patent/JP5876331B2/en active Active
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 |