JP5850770B2 - Output system - Google Patents
Output system Download PDFInfo
- Publication number
- JP5850770B2 JP5850770B2 JP2012060960A JP2012060960A JP5850770B2 JP 5850770 B2 JP5850770 B2 JP 5850770B2 JP 2012060960 A JP2012060960 A JP 2012060960A JP 2012060960 A JP2012060960 A JP 2012060960A JP 5850770 B2 JP5850770 B2 JP 5850770B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- output
- unit
- radio wave
- wave intensity
- 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
- 238000004891 communication Methods 0.000 claims description 111
- 230000004044 response Effects 0.000 claims description 90
- 230000005540 biological transmission Effects 0.000 claims description 42
- 238000012790 confirmation Methods 0.000 claims description 18
- 239000000284 extract Substances 0.000 claims description 8
- 230000005684 electric field Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 55
- 230000006870 function Effects 0.000 description 42
- 238000010586 diagram Methods 0.000 description 33
- 238000012545 processing Methods 0.000 description 27
- 230000000737 periodic effect Effects 0.000 description 19
- 101100139907 Arabidopsis thaliana RAR1 gene Proteins 0.000 description 12
- 101100417901 Clostridium acetobutylicum (strain ATCC 824 / DSM 792 / JCM 1419 / LMG 5710 / VKM B-1787) rbr3B gene Proteins 0.000 description 12
- 101150044254 RPR2 gene Proteins 0.000 description 12
- 101100255942 Arabidopsis thaliana RVE7 gene Proteins 0.000 description 11
- 101150091736 EPR1 gene Proteins 0.000 description 11
- 102100020960 E3 ubiquitin-protein transferase RMND5A Human genes 0.000 description 8
- 101000854471 Homo sapiens E3 ubiquitin-protein transferase RMND5A Proteins 0.000 description 8
- 235000021185 dessert Nutrition 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 6
- 101100377797 Arabidopsis thaliana ABCC1 gene Proteins 0.000 description 5
- 101150025806 Est1 gene Proteins 0.000 description 5
- 230000001174 ascending effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 4
- 238000010411 cooking Methods 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 235000021168 barbecue Nutrition 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000015220 hamburgers Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、出力システムに関し、特に、店舗等において、制御装置からの情報を受信して出力するプリンタ等の出力装置が複数台通信ネットワークを介して接続された出力システムに関する。 The present invention relates to an output system, and more particularly to an output system in which an output device such as a printer that receives and outputs information from a control device is connected via a communication network in a store or the like.
複数の売上データ処理装置と複数のプリンタとが通信ネットワークを介して接続された店舗プリンタシステムにおいて、売上データ処理装置におけるプリンタのアドレス情報の設定および管理を容易にする店舗プリンタシステムが知られている(例えば、特許文献1参照)。 In a store printer system in which a plurality of sales data processing devices and a plurality of printers are connected via a communication network, a store printer system that facilitates the setting and management of printer address information in the sales data processing device is known. (For example, refer to Patent Document 1).
この店舗プリンタシステムにおいて、売上データ処理装置は、印字データの種類とプリンタの識別情報とを対応付けたプリンタ接続表、およびプリンタの識別情報とプリンタのアドレス情報とを対応付けたプリンタネットワーク表を記憶する。そして、売上データ処理装置は、プリンタの識別情報およびプリンタのアドレス情報についての要求データを各プリンタに送信する。そして、売上データ処理装置は、要求データに応答して各プリンタが送信したプリンタの識別情報およびプリンタのアドレス情報を受信すると、これら受信したプリンタの識別情報およびプリンタのアドレス情報を用いて、プリンタネットワーク表を更新する。 In this store printer system, the sales data processing device stores a printer connection table that associates the type of print data with printer identification information, and a printer network table that associates printer identification information with printer address information. To do. Then, the sales data processing apparatus transmits request data for printer identification information and printer address information to each printer. When the sales data processing apparatus receives the printer identification information and the printer address information transmitted by each printer in response to the request data, the sales data processing apparatus uses the received printer identification information and printer address information to generate a printer network. Update the table.
上記の店舗プリンタシステムでは、売上データ処理装置がプリンタ接続表をあらかじめ有していることが前提である。よって、例えば、プリンタの交換作業により、従来の識別情報と異なる識別情報が設定されたプリンタが設置された場合、このプリンタに設定されている識別情報を従来の識別情報に合わせなければ、交換後のプリンタを正常に使用することができない。しかしながら、このプリンタの識別情報の設定作業を、全て作業者による手作業とすると、設定の間違いが発生したり、作業時間がかかり過ぎたり等、設定作業が非効率となるおそれがある。 In the store printer system described above, it is assumed that the sales data processing apparatus has a printer connection table in advance. Therefore, for example, when a printer in which identification information different from the conventional identification information is set by replacing the printer, if the identification information set in the printer does not match the conventional identification information, Printer cannot be used normally. However, if all the setting operations for the identification information of the printer are manual operations by the operator, there is a possibility that the setting operation becomes inefficient, for example, a setting error occurs or it takes too much work time.
そこで、本発明は、上記事情を鑑みてなされたものであり、出力装置の装置情報の設定にかける負担を軽減させる、出力システムを提供することを目的とする。 Therefore, the present invention has been made in view of the above circumstances, and an object of the present invention is to provide an output system that reduces a burden imposed on setting of device information of an output device.
[1]上記の課題を解決するため、本発明の一態様である出力システムは、制御装置と、前記制御装置が送信する出力情報を受信して前記出力情報を出力する複数の出力装置とを含む出力システムにおいて、前記制御装置は、記憶部と、前記出力装置と前記制御装置との中継路を示す中継路情報と、前記出力装置と前記出力システムに含まれる他の装置との間の電波強度を示す情報とを、含む接続確認情報を、前記出力装置から受信する接続確認受信部と、前記接続確認情報に基づいて、前記出力装置ごとに、前記中継路情報と前記電波強度を示す情報とを、対応付けた電波強度管理テーブルを、前記記憶部に記憶させる電波強度管理テーブル記憶制御部と、前記複数の出力装置それぞれについて、当該出力装置と通信可能であると判定した場合に、前記判定の結果を示す情報と、前記接続確認情報に含まれる中継路を示す情報とを、対応付けた接続情報を、前記記憶部に記憶させる接続情報記憶制御部と、前記出力装置が送信した近隣検索要求を受信する近隣検索要求受信部と、前記近隣検索要求に応じて近隣検索応答を送信する近隣検索応答送信部と、前記出力装置が送信した装置情報要求を受信する装置情報要求受信部と、前記記憶部に記憶された前記接続情報において、前記装置情報要求の送信元に対応する接続状態情報が通信不能を示す場合に、前記送信元に対応する中継路情報を含めた未接続情報を生成する未接続情報生成部と、前記記憶部に記憶された前記電波強度管理テーブルから、前記装置情報要求の送信元に対応する、中継路情報と電波強度を示す情報とを含めた電波強度情報を生成する電波強度情報生成部と、前記未接続情報および前記電波強度情報を含めた情報を装置情報とし、前記装置情報を装置情報応答として前記装置情報要求の要求元に送信する装置情報応答送信部と、を備え、前記出力装置は、当該出力装置内に装置情報が設定されていない場合に前記近隣検索要求を送信する近隣検索要求送信部と、近隣検索応答を受信する近隣検索応答受信部と、前記近隣検索応答を受信したときの電波強度値を取得する電波強度値取得部と、複数の出力装置から前記近隣検索応答を受信した場合、前記取得した電波強度値の最大値に対応する出力装置を中継先として決定する中継先決定部と、前記中継先に決定された出力装置に対して装置情報要求を送信する装置情報要求送信部と、前記装置情報要求を受信した前記出力装置から送信される装置情報応答を受信する装置情報応答受信部と、前記装置情報応答に含まれる中継路情報を抽出する中継路情報抽出部と、前記装置情報応答に含まれる未接続情報と電波強度情報とに基づいて、当該出力装置についての装置情報の候補を決定する候補決定部とを備えることを特徴とする。 [1] In order to solve the above-described problem, an output system according to an aspect of the present invention includes a control device and a plurality of output devices that receive the output information transmitted by the control device and output the output information. In the output system, the control device includes a storage unit, relay path information indicating a relay path between the output device and the control device, and radio waves between the output device and other devices included in the output system. Information indicating strength, connection confirmation receiving unit for receiving connection confirmation information from the output device, and information indicating the relay path information and the radio field strength for each output device based on the connection confirmation information Are determined to be communicable with the output device for each of the plurality of output devices and the radio wave strength management table storage control unit that stores the associated radio wave intensity management table in the storage unit. The connection information storage control unit that stores the connection information in which the information indicating the determination result and the information indicating the relay path included in the connection confirmation information are associated with each other in the storage unit, and the output device A neighbor search request receiving unit that receives a neighbor search request transmitted by a device, a neighbor search response transmitting unit that transmits a neighbor search response in response to the neighbor search request, and device information that receives a device information request transmitted by the output device In the connection information stored in the request reception unit and the storage unit, when the connection state information corresponding to the transmission source of the device information request indicates that communication is impossible, the relay path information corresponding to the transmission source is included. An unconnected information generating unit that generates unconnected information; and a relay path information corresponding to a transmission source of the device information request and information indicating the radio field intensity from the radio field intensity management table stored in the storage unit. A radio field intensity information generating unit that generates radio field intensity information, and information including the unconnected information and the radio field intensity information is used as apparatus information, and the apparatus information is transmitted as an apparatus information response to a request source of the apparatus information request. A device information response transmission unit, and the output device includes a neighbor search request transmission unit that transmits the neighbor search request when device information is not set in the output device, and a neighbor that receives the neighbor search response A search response receiving unit; a radio field intensity value acquiring unit that acquires a radio field intensity value when the neighbor search response is received; and a maximum of the acquired radio field intensity values when the neighbor search response is received from a plurality of output devices. A relay destination determination unit that determines an output device corresponding to the value as a relay destination, a device information request transmission unit that transmits a device information request to the output device determined as the relay destination, and the device information requirement Included in the device information response is a device information response receiving unit that receives a device information response transmitted from the output device that has received the request, a relay path information extracting unit that extracts relay path information included in the device information response, and And a candidate determining unit that determines device information candidates for the output device based on the unconnected information and the radio wave intensity information.
[2]上記[1]記載の出力システムにおいて、前記複数の出力装置それぞれは、前記候補決定部が決定した装置情報の候補を出力する候補出力部をさらに備えることを特徴とする。
[3]上記[2]記載の出力システムにおいて、前記複数の出力装置それぞれは、操作入力部と、前記候補出力部が出力した装置情報の候補のうち、前記操作入力部によって指定された候補を当該出力装置に設定する第1の装置情報設定部と、をさらに備えることを特徴とする。
[4]上記[1]〜[3]いずれか一項記載の出力システムにおいて、前記複数の出力装置それぞれの候補決定部は、前記候補決定部が決定した装置情報の候補が二種類以上ある場合に、前記中継路情報が示す中継路と共通する未接続情報のレコードがあるか否かを判定し、前記中継路情報が示す中継路と共通する未接続情報のレコードがあると判定した場合、前記レコードに含まれる装置情報を、電界強度に応じて順位付けした候補とすることを特徴とする。
[5]上記[1]〜[3]いずれか一項記載の出力システムにおいて、前記複数の出力装置それぞれの候補決定部は、前記中継路情報が示す中継路と共通する未接続情報のレコードがないと判定した場合、前記中継路情報が示す中継路と共通しない未接続情報のレコードに含まれる装置情報を、電界強度に応じて順位付けした候補とする。
[6]上記[1]または[2]記載の出力システムにおいて、前記複数の出力装置それぞれは、前記候補決定部が決定した装置情報の候補が一種類のみである場合に、前記装置情報を当該出力装置に設定する第2の装置情報設定部をさらに備えることを特徴とする。
[7]上記[1]〜[6]いずれか一項記載の出力システムにおいて、前記装置情報は、出力装置の装置識別情報を含むことを特徴とする。
[2] The output system according to [1], wherein each of the plurality of output devices further includes a candidate output unit that outputs device information candidates determined by the candidate determination unit.
[3] In the output system according to [2], each of the plurality of output devices may include a candidate designated by the operation input unit among operation input units and device information candidates output by the candidate output unit. And a first device information setting unit set in the output device.
[4] In the output system according to any one of [1] to [3], the candidate determination unit of each of the plurality of output devices has two or more types of device information candidates determined by the candidate determination unit. Determining whether there is a record of unconnected information common to the relay path indicated by the relay path information, and determining that there is a record of unconnected information common to the relay path indicated by the relay path information, The apparatus information included in the record is a candidate ranked according to the electric field strength.
[5] In the output system according to any one of [1] to [3], the candidate determination unit of each of the plurality of output devices has a record of unconnected information common to the relay path indicated by the relay path information. If it is determined that there is no device information included in the record of unconnected information that is not common to the relay route indicated by the relay route information, the device information is determined as a candidate ranked according to the electric field strength.
[6] In the output system according to [1] or [2], each of the plurality of output devices may receive the device information when only one type of device information is determined by the candidate determination unit. A second device information setting unit set in the output device is further provided.
[7] In the output system according to any one of [1] to [6], the device information includes device identification information of the output device.
本発明によれば、出力装置の装置情報の設定にかける負担を軽減させることができる。 ADVANTAGE OF THE INVENTION According to this invention, the burden placed on the setting of the apparatus information of an output device can be reduced.
以下、本発明を実施するための形態について、図面を参照して詳細に説明する。
[1 構成]
図1は、本発明の一実施形態である出力システム(提示システムともいう。)を適用した注文管理システムの概略の全体構成図である。同図に示すように、注文管理システム1は、POSレジスタ10と、制御装置)20と、印刷装置30と、LAN40と、印刷装置50−1と、印刷装置50−2と、表示装置60−1と、表示装置60−2と、注文端末70とを含んで構成される。
本実施形態において、注文管理システム1は、レストラン店舗に設置されたオーダ・エントリ・システムの例である。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.
[1 Configuration]
FIG. 1 is a schematic overall configuration diagram of an order management system to which an output system (also referred to as a presentation system) according to an embodiment of the present invention is applied. As shown in the figure, the
In the present embodiment, the
なお、以下、印刷装置50−1および印刷装置50−2それぞれを印刷装置50、表示装置60−1および表示装置60−2それぞれを表示装置60と呼ぶことがある。
また、印刷装置30と印刷装置50と表示装置60とのそれぞれを出力装置(提示装置ともいう。)と呼ぶことがある。
また、本実施形態では、注文管理システム1が、2台の印刷装置50と、2台の表示装置60と、1台の注文端末70とを含む例とするが、これらの台数は本例に限るものではない。
Hereinafter, the printing device 50-1 and the printing device 50-2 may be referred to as the printing device 50, and the display device 60-1 and the display device 60-2 may be referred to as the
In addition, each of the
In the present embodiment, the
POSレジスタ10と制御装置20と印刷装置30とは、LAN40を介して接続される。LAN40は、例えば、有線のローカル・エリア・ネットワーク(Local Area Network;LAN)である。
The
POSレジスタ10は、ゲスト伝票の内容にしたがって、商品販売の会計処理を実行する会計処理装置である。POSレジスタ10は、例えばレストラン店舗の会計カウンタに設置される。 The POS register 10 is an accounting processing device that executes merchandise sales accounting processing according to the contents of the guest slip. The POS register 10 is installed, for example, at an accounting counter of a restaurant store.
制御装置20は、注文管理システム1全体を制御するシステム制御機能を有するコントローラ装置である。また、制御装置20は、LAN40に接続された装置(例えば、POSレジスタ10および印刷装置30)と通信を行う通信機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する。制御装置20は、自装置を識別する情報である装置識別情報(例えば“EST1”)をあらかじめ記憶している。制御装置20は、例えばレストランのバックヤードに設置される。
The
印刷装置30は、例えばゲスト伝票を印刷する印刷機能と、LAN40に接続された装置(例えば、POSレジスタ10および制御装置20)と通信を行う通信機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する。印刷装置30は、自装置の装置識別情報(例えば“EPR1”)をあらかじめ記憶している。印刷装置30は、例えば調理場の配膳カウンタに設置される。
The
印刷装置50−1は、例えばドリンク伝票を印刷する印刷機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する無線プリンタ装置である。印刷装置50−1は、自装置の装置識別情報(例えば“RPR2”)をあらかじめ記憶している。印刷装置50−1は、印刷装置30と無線通信可能な場所に配置され、印刷装置30を経由して制御装置20と通信する。本実施形態において、印刷装置50−1は、例えばドリンクカウンタに設置される。
The printing device 50-1 is a wireless printer device having a printing function for printing a drink slip, for example, and a wireless communication function for performing wireless communication with a communication device existing in a communicable area. The printing device 50-1 stores device identification information (for example, “RPR2”) of the device itself in advance. The printing device 50-1 is arranged at a place where wireless communication with the
印刷装置50−2は、例えば調理伝票を印刷する印刷機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する無線プリンタ装置である。印刷装置50−2は、自装置の装置識別情報(例えば“RPR3”)をあらかじめ記憶している。印刷装置50−2は、印刷装置50−1と無線通信可能な場所に配置される。印刷装置50−2は、印刷装置50−1と印刷装置30とを順次経由して制御装置20にデータを送信し、制御装置20から送信されたデータを、印刷装置30と印刷装置50−1とを順次経由して受信する。本実施形態において、印刷装置50−2は、例えば調理カウンタに設置される。
The printing device 50-2 is a wireless printer device having a printing function for printing a cooking slip, for example, and a wireless communication function for performing wireless communication with a communication device existing in a communicable area. The printing device 50-2 stores device identification information (for example, “RPR3”) of the device itself in advance. The printing apparatus 50-2 is disposed at a place where wireless communication with the printing apparatus 50-1 is possible. The printing device 50-2 transmits data to the
表示装置60−1は、例えば第1デザート情報を表示する表示機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する無線ディスプレイ装置である。表示装置60−1は、自装置の装置識別情報(例えば“RMD4”)をあらかじめ記憶している。表示装置60−1は、印刷装置30と無線通信可能な場所に配置され、印刷装置30を経由して制御装置20と通信する。本実施形態において、表示装置60−1は、例えば第1デザートカウンタに設置される。
The display device 60-1 is, for example, a wireless display device having a display function for displaying first dessert information and a wireless communication function for performing wireless communication with a communication device existing in a communicable area. The display device 60-1 stores device identification information (for example, “RMD4”) of the device itself in advance. The display device 60-1 is disposed at a place where wireless communication with the
表示装置60−2は、例えば第2デザート情報を表示する表示機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する無線ディスプレイ装置である。表示装置60−2は、自装置の装置識別情報(例えば“RMD5”)をあらかじめ記憶している。表示装置60−2は、印刷装置50−1と無線通信可能な場所に配置される。表示装置60−2は、印刷装置50−1と印刷装置30とを順次経由して制御装置20にデータを送信し、制御装置20から送信されたデータを、印刷装置30と印刷装置50−1とを順次経由して受信する。本実施形態において、表示装置60−2は、例えば第2デザートカウンタに設置される。
The display device 60-2 is a wireless display device having, for example, a display function for displaying second dessert information and a wireless communication function for performing wireless communication with a communication device existing in a communicable area. The display device 60-2 stores device identification information (for example, “RMD5”) of the device itself in advance. The display device 60-2 is disposed at a place where wireless communication with the printing device 50-1 is possible. The display device 60-2 transmits data to the
注文端末70は、操作者(例えば店員)による操作にしたがって顧客の注文内容を入力する注文受付機能と、通信可能エリアに存在する通信機器と無線通信を行う無線通信機能とを有する、無線端末(ハンディターミナル装置)である。注文端末70は、自装置の装置識別情報(例えば“RHT01”)をあらかじめ記憶している。
注文端末70は、図示しない操作部を備える。この操作部は、例えば、商品を指定する商品キー、数量を指定するテンキー、入力を確定する確定キー、入力を取り消す取消キー等のキーを備える。注文端末70は、操作者による操作部の操作にしたがって顧客の注文内容を取り込んで注文情報を生成する。この注文情報の具体例については後述する。注文装置70は、注文情報を制御装置20に対して無線送信する。
The
The
図2は、制御装置20の概略の機能構成を示すブロック図である。同図に示すように、制御装置20は、コントローラ制御部21と、記憶部22と、通信部23とを備える。
FIG. 2 is a block diagram illustrating a schematic functional configuration of the
コントローラ制御部21は、システム制御機能を実現する。コントローラ制御部21は、例えば、中央処理装置(Central Precessing Unit;CPU)を備える。機能構成として、コントローラ制御部21は、図示しないが、接続情報記憶制御部と、電波強度管理テーブル記憶制御部と、未接続情報生成部と、電波強度情報生成部とを含む。
The
記憶部22は、出力設定情報と、メニュー情報と、接続情報と、電波強度テーブルと、電波強度管理テーブルとを記憶する。これら各情報についての詳細については後述する。また、記憶部22は、制御装置20の装置識別情報(“EST1”)を記憶する。記憶部22は、例えば、半導体記憶装置、磁気ハードディスク装置等により実現される。
The
通信部23は、通信機能および無線通信機能を実現する。具体的には、通信部23は、LAN40に接続された装置(例えば、POSレジスタ10および印刷装置30)と通信を行う通信インタフェースを備える。また、通信部23は、通信可能エリアに存在する通信機器と無線通信を行う無線通信インタフェースを備える。機能構成として、通信部23は、図示しないが、接続確認受信部と、近隣検索要求受信部と、近隣検索応答送信部と、装置情報要求受信部と、装置情報応答送信部とを含む。
The communication unit 23 realizes a communication function and a wireless communication function. Specifically, the communication unit 23 includes a communication interface that communicates with devices (for example, the
図3は、印刷装置30の概略の機能構成を示すブロック図である。同図に示すように、印刷装置30は、印刷制御部31と、記憶部32と、通信部33と、印刷部34とを備える。
FIG. 3 is a block diagram illustrating a schematic functional configuration of the
印刷制御部31は、印刷機能を実現する。印刷制御部31は、例えば、中央処理装置(CPU)を備える。
記憶部32は、印刷装置30の装置識別情報(“EPR1”)を記憶する。記憶部32は、例えば半導体記憶装置により実現される。
通信部33は、通信機能および無線通信機能を実現する。具体的には、通信部33は、LAN40に接続された装置(例えば、POSレジスタ10および制御装置20)と通信を行う通信インタフェースを備える。また、通信部33は、通信可能エリアに存在する通信機器と無線通信を行う無線通信インタフェースを備える。
印刷部34は、印刷機能を実現し、例えばゲスト伝票を印刷する。
The
The
The communication unit 33 realizes a communication function and a wireless communication function. Specifically, the communication unit 33 includes a communication interface that communicates with devices connected to the LAN 40 (for example, the
The
図4は、印刷装置50の概略の機能構成を示すブロック図である。同図に示すように、印刷装置50は、印刷制御部51と、記憶部52と、通信部53と、印刷部54とを備える。
FIG. 4 is a block diagram illustrating a schematic functional configuration of the printing apparatus 50. As shown in the figure, the printing apparatus 50 includes a
印刷制御部51は、印刷機能を実現する。印刷制御部51は、例えば、中央処理装置(CPU)を備える。
記憶部52は、印刷装置50の装置識別情報(“RPR2”または“RPR3”)を記憶する。記憶部52は、例えば半導体記憶装置により実現される。
通信部53は、無線通信機能を実現する。具体的には、通信部53は、通信可能エリアに存在する通信機器と無線通信を行う無線通信インタフェースを備える。
印刷部54は、印刷機能を実現し、例えばドリンク伝票または調理伝票を印刷する。
The
The
The communication unit 53 realizes a wireless communication function. Specifically, the communication unit 53 includes a wireless communication interface that performs wireless communication with a communication device that exists in a communicable area.
The
図5は、表示装置60の概略の機能構成を示すブロック図である。同図に示すように、表示装置60は、表示制御部61と、記憶部62と、通信部63と、表示部64とを備える。
FIG. 5 is a block diagram illustrating a schematic functional configuration of the
表示制御部61は、表示機能を実現する。表示制御部61は、例えば、中央処理装置(CPU)を備える。
記憶部62は、表示装置60の装置識別情報(“RMD4”または“RMD5”)を記憶する。記憶部62は、例えば半導体記憶装置により実現される。
通信部63は、無線通信機能を実現する。具体的には、通信部63は、通信可能エリアに存在する通信機器と無線通信を行う無線通信インタフェースを備える。
表示部64は、表示機能を実現し、例えば第1デザート情報または第2デザート情報を表示する。
The
The
The
The
印刷制御部31と印刷制御部51と表示制御部61とのそれぞれは、機能構成として、図示しないが、電波強度値取得部と、中継先決定部と、中継路情報抽出部と、候補決定部と、候補出力部と、装置情報設定部(第1の装置情報設定部および第2の装置情報設定部)とを含む。
通信部33と通信部53と通信部63とのそれぞれは、機能構成として、図示しないが、近隣検索要求送信部と、近隣検索応答受信部と、装置情報要求送信部と、装置情報応答受信部とを含む。
また、印刷装置30と印刷装置50と表示装置60とのそれぞれは、図示しない操作入力部を備えている。
Each of the
Each of the communication unit 33, the communication unit 53, and the
Each of the
[2 動作]
本実施形態における注文管理システム1では、制御装置20が注文端末70から取得した注文情報を管理し、適切な出力装置にその情報を出力させる。そのため、どの出力装置にどのような情報(伝票の種類、メニューの種類など)を出力させるのか、また、その出力装置に提示できない場合に他のどの出力装置に提示させるのか、等を管理している。
[2 operations]
In the
例えば、制御装置20の記憶部22は、出力設定情報をあらかじめ記憶する。
図6は、出力設定情報のデータ構成を示す図である。同図に示すように、出力設定情報は、出力装置ごとに、装置識別情報(図中、「装置」)と、装置名称(図中、「名称」)と、出力種別情報(図中、「出力情報」)と、出力記号(図中、「出力記号」)と、迂回先情報(図中、「迂回先」)とを対応付けたレコード(行データ)を有するデータテーブルである。このレコードは装置情報である。
装置識別情報は、出力装置を識別する情報である。装置名称は、出力装置の名称である。出力種別情報は、出力装置が出力する出力情報の種類を示す情報である。出力記号は、出力種別情報に対応付けられた記号(数字を含む。以下同様。)である。出力記号は、例えば、各出力装置が解読(判断)し易いよう、ゲスト伝票が“1”、ドリンク伝票が“2”、調理伝票が“3”、デザート1伝票が“4”、デザート2伝票が“5”と定義されている。迂回先情報は、無線通信における出力装置の迂回先を示す情報である。迂回先情報は、例えば、迂回先としての出力装置の装置識別情報である。
For example, the
FIG. 6 is a diagram illustrating a data configuration of the output setting information. As shown in the figure, the output setting information includes, for each output device, device identification information (“device” in the drawing), device name (“name” in the drawing), and output type information (“ This is a data table having records (row data) in which output information ”), output symbols (“ output symbols ”in the figure), and detour destination information (“ detour destination ”in the diagram) are associated with each other. This record is device information.
The device identification information is information for identifying the output device. The device name is the name of the output device. The output type information is information indicating the type of output information output by the output device. The output symbol is a symbol (including numbers, the same applies hereinafter) associated with the output type information. The output symbols are, for example, “1” for the guest slip, “2” for the drink slip, “3” for the cooking slip, “4” for the
また、記憶部22は、メニュー情報をあらかじめ記憶する。
図7は、メニュー情報のデータ構成を示す図である。同図に示すように、メニュー情報は、販売商品ごとに、商品識別情報(図中、「商品番号」)と、商品名称(図中、「商品名称」)と、出力種別情報(図中、「出力情報」)と、出力記号(図中、「出力記号」)とを対応付けたレコードを有するデータテーブルである。商品識別情報は、販売商品を識別する情報である。商品名称は、販売商品の名称である。出力種別情報は、販売商品についての出力情報の種類を示す情報である。出力記号は、出力種別情報に対応付けられた記号である。
The
FIG. 7 is a diagram illustrating a data configuration of menu information. As shown in the figure, the menu information includes product identification information ("product number" in the figure), product name ("product name" in the figure), and output type information (in the figure, for each sale product). This is a data table having a record in which “output information”) is associated with an output symbol (“output symbol” in the figure). The product identification information is information for identifying the sales product. The product name is the name of the product for sale. The output type information is information indicating the type of output information about the sales product. The output symbol is a symbol associated with the output type information.
[2−1.通常動作(注文管理)]
注文管理システム1の通常動作について説明する。
注文端末70は、操作者による操作部の操作にしたがって、顧客の注文内容を取り込んで注文情報を生成し、この注文情報を制御装置20に送信する。次に、制御装置20の通信部23は、注文端末70が送信した注文情報を受信し、この注文情報をコントローラ制御部21に供給する。
[2-1. Normal operation (order management)]
The normal operation of the
The
図8は、注文端末70が生成した注文情報のデータ構成を示す図である。同図に示すように、注文情報は、商品識別情報(図中、「商品番号」)と、商品名称(図中、「商品名称」)と、数量(図中、「数量」)とを対応付けたレコードと、注文時刻情報(図中、「注文時刻」)と、装置識別情報(図中、「端末番号」)とを有する。商品識別情報および商品名称は、図7に示したメニュー情報における商品識別情報および商品名称に含まれる情報である。数量は、この数量に対応する販売商品の販売数量を示す数である。注文時刻情報は、例えば、注文端末70が顧客の注文内容を取り込んで確定したときの時刻を示す時刻情報である。装置識別情報は、注文端末70が記憶する自装置の装置識別情報である。
具体的に、同図は、装置識別情報が“RHT01”である注文端末70が、焼肉を1品、ハンバーグを1品、ライスを2品、コーヒーを2品、ショートケーキを1品の注文内容で注文を受け付け、12時30分に生成した注文情報である。
FIG. 8 is a diagram illustrating a data configuration of order information generated by the
Specifically, this figure shows the order contents of the
制御装置20のコントローラ制御部21は、通信部23から供給された注文情報を取り込むと、記憶部22からメニュー情報を読み込み、注文情報およびメニュー情報に基づいて、出力記号ごとに、出力内容を示す出力情報を生成する。
When the
図9は、コントローラ制御部21が生成した出力情報のデータ構成を示す図である。同図に示すように、出力情報1は、出力記号が“1”である出力情報である。また、出力情報2は、出力記号が“2”である出力情報である。また、出力情報3は、出力記号が“3”である出力情報である。また、出力情報4は、出力記号が“4”である出力情報である。出力情報1〜4それぞれの注文時刻情報(図中、「注文時刻」)および装置識別情報(図中、「端末番号」)は、同一注文情報から生成される情報であり、出力情報1〜4に共通する項目である。
FIG. 9 is a diagram illustrating a data configuration of output information generated by the
コントローラ制御部21は、例えば、図7に示したメニュー情報と図8に示した注文情報とに基づいて、出力記号ごとに、注文情報を区分して図9に示した出力情報1〜出力情報4を生成する。
つまり、具体的には、コントローラ制御部21は、図8に示した注文情報から商品識別情報(“2”)と商品名称(“焼肉”)と数量(“1”)とを対応付けたレコードを抽出する。そして、コントローラ制御部21は、商品識別情報(“2”)または商品名称(“焼肉”)をキーとして、図7に示したメニュー情報から、当該商品(焼肉)の伝票の出力先を示す出力記号(“1”および“3”)を抽出する。そして、コントローラ制御部21は、図9に示すように、出力情報1に商品名称(“焼肉”)と数量(“1”)とを格納し、出力情報3に商品名称(“焼肉”)と数量(“1”)とを格納する。コントローラ制御部21は、注文情報における全てのレコードについて、上記の例と同様の処理を実行し、出力情報1〜4を生成する。
For example, the
In other words, the
次に、コントローラ制御部21は、記憶部22から出力設定情報を読み込み、出力記号をキーとして装置識別情報と各出力情報(出力情報1〜出力情報4それぞれ)とを対応付けて通信部23に供給する。
Next, the
次に、通信部23は、装置識別情報が示す出力装置に出力情報を送信する。例えば、通信部23は、装置識別情報が“EPR1”である印刷装置30に対して、出力情報1を送信する。また、通信部23は、装置識別情報が“RPR2”である印刷装置50−1に対して、出力情報2を送信する。また、通信部23は、装置識別情報が“RPR3”である印刷装置50−2に対して、出力情報3を送信する。また、通信部23は、装置識別情報が“RMD4”である表示装置60−1に対して、出力情報4を送信する。
Next, the communication unit 23 transmits the output information to the output device indicated by the device identification information. For example, the communication unit 23 transmits the
次に、出力装置は、制御装置20が送信した出力情報を受信する。具体的には、印刷装置30が出力情報1を受信し、印刷装置50−1が出力情報2を受信し、印刷装置50−2が出力情報3を受信し、表示装置60−1が出力情報4を受信する。
Next, the output device receives the output information transmitted by the
次に、出力情報を受信した出力装置は、出力情報を出力記号に応じたフォーマットで印刷する。すなわち、印刷装置30が、あらかじめ設定されているフォーマットにより、出力情報1を印刷する。また、印刷装置50−1が、あらかじめ設定されているフォーマットにより、出力情報2を印刷する。また、印刷装置50−2が、あらかじめ設定されているフォーマットにより、出力情報3を印刷する。また、表示装置60−1が、あらかじめ設定されているフォーマットにより、出力情報4を表示する。
Next, the output device that has received the output information prints the output information in a format corresponding to the output symbol. That is, the
[2−2.通常動作(接続管理)]
注文管理システム1では、適切なタイミングで適切に情報の出力を行うことによって、適切な注文管理を実施する。これを実現するため、制御装置20は、自装置が様々な情報を送出する相手装置について、通信状態を収集して定期的に更新している。
例えば、出力装置(印刷装置30、印刷装置50、および表示装置60)は、制御装置20に対して、定期的(例えば1分ごと)に接続確認コマンド(接続確認情報)を送信する。制御装置20は、接続確認コマンドを受信して状態を監視することにより、その接続確認コマンドの送信元である出力装置が現在接続状態にあると認識し、その認識結果で記憶部22に記憶された接続情報を更新する。
[2-2. Normal operation (connection management)]
The
For example, the output device (
図10は、定期的に更新されて記憶部22に記憶される接続情報のデータ構成を示す図である。同図に示すように、接続情報は、出力装置ごとに、装置識別情報(図中、「装置」)と、接続状態情報(図中、「接続状態」)と、通信方式(図中、「通信方式」)と、第1中継装置(図中、「中継1」)と、第2中継装置(図中、「中継2」)と、第3中継装置(図中、「中継3」)とを対応付けたレコードを有するデータテーブルである。
装置識別情報は、出力装置を識別する情報である。接続状態情報は、当該出力装置と制御装置20との接続状態を示す情報(ステータス)である。例えば、接続状態(通信可能/通信不能)を、“正常/異常”、“○/×”、“OK/NG”、“1/0(ゼロ)”等の文字、記号、数字またはこれらの組み合わせにより表す。
通信方式は、当該出力装置と上位装置との通信の方式を示す情報である。例えば、通信方式を、“LAN/無線”により表す。ここでいうLANは、有線を意味する。
第1中継装置〜第3中継装置は、当該出力装置と制御装置20との間で通信を行う際、通信を中継する装置を順に示した情報であり、すなわち、当該出力装置と制御装置20との間の中継路(中継の経路、通信経路)を示す中継路情報である。
具体的に、第1中継装置〜第3中継装置は、制御装置20から当該出力装置までの中継装置の装置識別情報である。例えば、装置識別情報が“RPR3”である印刷装置50−2は、制御装置20から、印刷装置30(“EPR1”)、印刷装置50−1(“RPR2”)を順次中継して情報が伝送される。逆に、印刷装置50−2は、印刷装置50−1(“RPR2”)、印刷装置(“EPR1”)を順次中継して、情報を制御装置20に伝送する。なお、中継装置の項目数は3つに限られない。
FIG. 10 is a diagram illustrating a data configuration of connection information that is periodically updated and stored in the
The device identification information is information for identifying the output device. The connection state information is information (status) indicating a connection state between the output device and the
The communication method is information indicating a communication method between the output device and the host device. For example, the communication method is represented by “LAN / wireless”. LAN here means wired.
The first relay device to the third relay device are information that sequentially indicates devices that relay communication when performing communication between the output device and the
Specifically, the first relay device to the third relay device are device identification information of the relay device from the
なお、図10の接続情報において、接続状態情報は、コントローラ制御部21が定期的に監視した結果を反映する項目である。また、通信方式、および第1中継装置〜第3中継装置は、あらかじめ設定される項目である。
In the connection information of FIG. 10, the connection state information is an item that reflects the result of regular monitoring by the
また、制御装置20の記憶部22は、全ての出力装置についての接続状態が正常であるときの接続情報を、図10に示した、定期的に更新される接続情報とは別のデータテーブルとして記憶している。
Further, the
また、注文管理システム1における各装置は、定期パケットの送信および受信によって、自装置と情報の送受が可能な他装置との通信における電波強度を取得し、この電波強度を電波強度テーブルとして記憶する。
In addition, each device in the
図11は、定期パケットの送信と受信の様子を示すシーケンス図である。同図では、まず、制御装置20が、定期パケットをブロードキャスト送信し、制御装置20の通信可能エリアに存在する周囲の装置(印刷装置30、印刷装置50−1、および印刷装置50−2)が、この定期パケットを受信し電波強度を記憶する。
ここで、印刷装置30に着目した場合、印刷装置30の中継装置は制御装置20であるため、印刷装置30は、送信元を自装置として定期パケットをブロードキャスト送信する。そして、印刷装置30の通信可能エリアに存在する周囲の装置(制御装置20、印刷装置50−1、および表示装置60−1)が、この定期パケットを受信し電波強度を記憶する。
次に、印刷装置50−1に着目した場合、印刷装置50−1の中継装置は制御装置30であるため、印刷装置50−1が、送信元を自装置として定期パケットをブロードキャスト送信する。そして、印刷装置50−1の通信可能エリアに存在する周囲の装置(制御装置20、印刷装置30、印刷装置50−2、および表示装置60−2)が、この定期パケットを受信し電波強度を記憶する。
FIG. 11 is a sequence diagram showing how a regular packet is transmitted and received. In the figure, first, the
Here, when paying attention to the
Next, when paying attention to the printing apparatus 50-1, since the relay apparatus of the printing apparatus 50-1 is the
このように、定期パケットの受信時にその送信元と電波強度とを記憶し、また、例えば、自装置に対する中継先からの定期パケットを受信した場合、自装置も定期パケットをブロードキャスト送信する。これにより、注文管理システム1に含まれる各装置は、自装置と通信可能な装置との電波強度を定期的に確認し記憶することができる。よって、各装置は、例えば、電波強度に関して最適な通信先を判断する際などに、その情報を使用することができる。
As described above, when the regular packet is received, the transmission source and the radio wave intensity are stored. For example, when the regular packet is received from the relay destination for the own device, the own device also broadcasts the regular packet. Thereby, each device included in the
各出力装置は、定期パケットを受信すると、電波強度を取得し、自装置の装置識別情報と送信元の装置識別情報と電波強度とを対応付けた電波強度テーブルを生成し、この電波強度テーブルを定期的(たとえば、1分おき)に制御装置20に対して送信する。電波強度は、当該出力装置が備える通信部が定期パケットを受信したときに測定する電界強度を、例えば“10”以下の整数値に正規化した値である。または、電波強度は、電界強度値そのものであってもよい。
When each output device receives the periodic packet, each output device acquires the radio field intensity, generates a radio field intensity table in which the apparatus identification information of the own apparatus, the apparatus identification information of the transmission source, and the radio field intensity are associated with each other. It transmits with respect to the
図12は、定期パケットを受信した出力装置が生成する電波強度テーブルのデータ構成を示す図である。同図は、印刷装置30が制御装置20、印刷装置50−1、および表示装置60−1から定期パケットを受信して生成した電波強度テーブルの例である。同図に示すように、電波強度テーブルは、送信元識別情報(図中、「送信元」)と、電波強度(図中、「電波強度」)とのペアを、装置識別情報(図中、「装置」)に対応付けたデータテーブルである。装置識別情報は、定期パケットを受信した装置の識別情報である。送信元識別情報は、定期パケットの送信元の装置識別情報である。電波強度は、定期パケットを受信した装置が取得した電波強度である。
FIG. 12 is a diagram illustrating a data configuration of a radio wave intensity table generated by an output device that has received a regular packet. This figure is an example of a radio wave intensity table generated by the
各出力装置は、制御装置20に定期的に送信する接続確認コマンドに電波強度テーブルを含めることにより、制御装置20に電波強度テーブルを取得させる。全ての出力装置から電波強度テーブルを取得した制御装置20のコントローラ制御部21は、取り込んだ電波強度テーブルをまとめた電波強度管理テーブルを生成し、この電波強度管理テーブルを記憶部22に記憶させる。
Each output device causes the
図13は、コントローラ制御部21が管理する電波強度管理テーブルのデータ構成を示す図である。同図に示すように、電波強度管理テーブルは、装置ごとの電波強度テーブルをレコードとしたデータテーブルである。
FIG. 13 is a diagram illustrating a data configuration of a radio wave intensity management table managed by the
[2−3.印刷装置50−2を交換した場合の動作]
例えば、印刷装置50−2が故障したことによって無線通信機能が機能しなくなると、印刷装置50−2は、定期的に送信するべき接続確認コマンドを正常に送信できなくなる。そして、制御装置20のコントローラ制御部21は、印刷装置50−2から接続確認コマンドを取得できなくなり、注文管理システム1における接続状態が異常となる。この状態になった場合、コントローラ制御部21が記憶部22に記憶させて管理している接続情報において、図10に示したように全ての出力装置において接続状態が正常であったものが、図14に示すように、印刷装置50−2の接続状態情報が異常を示すステータス(例えば“×”)に変化する。
[2-3. Operation when the printing apparatus 50-2 is replaced]
For example, if the wireless communication function does not function due to a failure of the printing apparatus 50-2, the printing apparatus 50-2 cannot normally transmit a connection confirmation command to be transmitted periodically. And the
作業者によるメンテナンス作業によって、印刷装置50−2が新しい印刷装置50−2(交換装置)に同一場所において交換され、この交換装置が起動すると、注文管理システム1は、以下に説明する動作となる。
交換装置の設置場所は交換前の印刷装置50−2の設置場所と同一であるため、交換装置は、図10に示した接続情報における印刷装置50−2に対応するレコードにおける中継路(RPR2→EPR1)により、制御装置20を最終宛先として装置情報要求を送信する。より具体的に、動作の流れを説明する。
When the printing device 50-2 is replaced with a new printing device 50-2 (exchange device) at the same place by the maintenance work by the worker, and this exchange device is activated, the
Since the installation location of the exchange device is the same as the installation location of the printing device 50-2 before the exchange, the exchange device uses the relay path (RPR2 →) in the record corresponding to the printing device 50-2 in the connection information shown in FIG. By EPR1), a device information request is transmitted with the
図15は、メンテナンス対象である印刷装置50−2を新しい印刷装置50−2(交換装置)に同一場所において交換し、この交換装置を起動した後の、注文管理システム1の処理手順を示すシーケンス図である。
ステップS1において、制御装置20との通信が途絶えた状態である交換装置は、近隣検索要求をブロードキャスト送信する。近隣検索要求は、交換装置の所在地情報(例えば、インターネット・プロトコル・アドレス(IPアドレス)を含む情報である。印刷装置50−2と同一場所に設置された交換装置によって無線送信されるデータは、図13の電波強度管理テーブルに示したとおり、印刷装置50−1、表示装置60−2、および制御装置20によって受信される。
FIG. 15 is a sequence showing a processing procedure of the
In step S <b> 1, the exchange apparatus in a state where communication with the
次に、ステップS4において、交換装置から送信された近隣検索要求を受信した印刷装置50−1は、近隣検索要求に含まれる所在地情報が示す番地(アドレス)宛てに、近隣検索応答を送信する。近隣検索応答は、当該装置(この場合、印刷装置50−1)の所在地情報を含む情報であり、制御装置20に通信接続され、且つ近隣検索要求を受信した装置から送信される情報である。そして、交換装置は、その近隣検索応答を受信する。
次に、ステップS5において、交換装置から送信された近隣検索要求を受信した制御装置20は、近隣検索要求に含まれる所在地情報が示す番地宛てに、近隣検索応答を送信する。この近隣検索応答は、制御装置20の所在地情報を含む情報である。そして、交換装置は、その近隣検索応答を受信する。
Next, in step S4, the printing apparatus 50-1 that has received the neighbor search request transmitted from the exchange apparatus transmits a neighbor search response to the address (address) indicated by the location information included in the neighbor search request. The neighborhood search response is information including location information of the device (in this case, the printing device 50-1), and is information transmitted from a device that is connected to the
Next, in step S5, the
次に、ステップS11において、交換装置は、ステップS4、ステップS6の処理によって受信した2つの近隣検索応答において、最も電波強度が強い近隣検索応答の送信元(この場合、印刷装置50−1)を中継装置として指定し、この中継装置に対して装置情報要求を送信する。そして、中継装置である印刷装置50−1は、装置情報要求を受信する。
次に、ステップS12において、印刷装置50−1は、定期的に定期パケットを受信し生成している電波強度テーブルにおいて、最も電波強度が強い送信元(この場合、印刷装置30)を中継装置として指定し、この中継装置に対して装置情報要求を送信する。そして、中継装置である印刷装置30は、装置情報要求を受信する。
次に、ステップS13において、印刷装置30は、定期的に定期パケットを受信して生成している電波強度テーブルにおいて、最も電波強度が強い送信元(この場合、制御装置20)を指定し、この指定先装置に対して装置情報要求を送信する。そして、指定先装置である制御装置20は、装置情報要求を受信する。
Next, in step S11, the exchange apparatus selects the transmission source (in this case, the printing apparatus 50-1) of the neighborhood search response having the strongest radio wave intensity in the two neighborhood search responses received by the processes in steps S4 and S6. The device is designated as a relay device, and a device information request is transmitted to the relay device. Then, the printing apparatus 50-1 as the relay apparatus receives the apparatus information request.
Next, in step S12, the printing apparatus 50-1 uses the transmission source (in this case, the printing apparatus 30) having the highest radio wave intensity as a relay apparatus in the radio wave intensity table that is generated by receiving periodic packets periodically. A device information request is transmitted to this relay device. Then, the
Next, in step S13, the
次に、ステップS14において、制御装置20は、装置情報応答を生成する。装置情報応答は、未接続情報および電波強度情報を含み、且つ中継装置および最終の宛先を示す情報を含む情報である。未接続情報は、記憶部22に記憶された接続情報から、接続状態情報が異常を示す出力装置に対応する装置識別情報と通信方式と中継路を示す情報とを抽出した情報である。電波強度情報は、記憶部22に記憶された電波強度管理テーブルから、未接続情報における出力装置に対応する装置識別情報を含むレコード(電波強度テーブルに相当する。)を抽出した情報である。未接続情報および電波強度情報の具体例については後述する。
次に、制御装置20は、生成した装置情報応答を中継装置である印刷装置30に対して送信する。そして、印刷装置30は、その装置情報応答を受信する。
Next, in step S14, the
Next, the
次に、ステップS15において、印刷装置30は、装置情報応答を中継装置である印刷装置50−1に対して送信する。そして、印刷装置50−1は、その装置情報応答を受信する。
次に、ステップS16において、印刷装置50−1は、装置情報応答を最終の宛先である交換装置に対して送信する。そして、交換装置は、その装置情報応答を受信する。
Next, in step S15, the
Next, in step S <b> 16, the printing apparatus 50-1 transmits an apparatus information response to the exchange apparatus that is the final destination. Then, the exchange device receives the device information response.
一方、交換装置は、無線通信機能を有する周囲の装置からブロードキャスト送信された定期パケットのうち、自装置に到達した定期パケットを受信する。
具体的に例えば、ステップS21において、交換装置は、表示装置60−2から送信された定期パケットを受信する。
次に、ステップS22において、交換装置は、印刷装置50−1から送信された定期パケットを受信する。
次に、ステップS23において、交換装置は、制御装置20から送信された定期パケットを受信する。
On the other hand, the switching device receives a periodic packet that has reached its own device from among the periodic packets broadcast from surrounding devices having a wireless communication function.
Specifically, for example, in step S21, the exchange apparatus receives a regular packet transmitted from the display apparatus 60-2.
Next, in step S22, the exchange apparatus receives the periodic packet transmitted from the printing apparatus 50-1.
Next, in step S <b> 23, the exchange device receives the regular packet transmitted from the
図16は、図15のステップS14における装置情報応答に含まれる未接続情報および電波強度情報のデータ構成を示す図である。同図において、未接続情報は、接続状態が異常を示す出力装置(印刷装置50−2)に対応する装置識別情報と通信方式と中継路を示す情報である。電波強度情報は、未接続情報における出力装置に対応する電波強度テーブルに相当する情報である。
同図に示すように、装置情報応答の未接続情報のレコードが一つである場合、交換装置は、そのレコードにおける装置識別情報(この場合、“RPR3”)を自装置の装置識別情報として設定する。
これにより、出力装置を設置する際に、装置識別情報等の装置情報の設定を自動化でき、手動設定に対して作業負担や作業ミスによるエラーを軽減させることができる。
FIG. 16 is a diagram showing a data structure of unconnected information and radio wave intensity information included in the device information response in step S14 of FIG. In the figure, unconnected information is information indicating device identification information, a communication method, and a relay path corresponding to an output device (printing device 50-2) whose connection state is abnormal. The radio wave intensity information is information corresponding to a radio wave intensity table corresponding to the output device in the unconnected information.
As shown in the figure, if there is one record of unconnected information in the device information response, the exchange sets the device identification information (in this case, “RPR3”) in the record as the device identification information of its own device. To do.
Thereby, when installing the output device, setting of device information such as device identification information can be automated, and errors due to work load and work mistakes can be reduced with respect to manual setting.
[2−4.印刷装置50−1および印刷装置50−2を交換した場合の動作]
例えば、印刷装置50−1および印刷装置50−2に不具合が発生し、印刷装置50−1および印刷装置50−2それぞれの無線通信機能が機能しなくなると、制御装置20のコントローラ制御部21は、定期的に監視している印刷装置50−1および印刷装置50−2それぞれの接続状態が異常を示す状態となる。また、印刷装置50−1を中継する表示装置60−2の接続状態も異常を示す状態となる。これにより、図17に示すように、コントローラ制御部21が記憶部22に記憶させて管理している接続情報において、印刷装置50−1、印刷装置50−2、および表示装置60−2それぞれの接続状態情報が異常を示すステータス(例えば“×”)に変化する。
[2-4. Operation when the printing apparatus 50-1 and the printing apparatus 50-2 are replaced]
For example, if a problem occurs in the printing device 50-1 and the printing device 50-2 and the wireless communication functions of the printing device 50-1 and the printing device 50-2 do not function, the
作業者によるメンテナンス作業によって、印刷装置50−1および印刷装置50−2が、それぞれ新しい印刷装置50−1(交換装置1)および印刷装置50−2(交換装置2)に同一場所において交換され、これら交換装置1および交換装置2が起動すると、注文管理システム1は、以下に説明する動作となる。
By the maintenance work by the operator, the printing device 50-1 and the printing device 50-2 are respectively replaced with new printing device 50-1 (exchange device 1) and printing device 50-2 (exchange device 2) at the same place. When the
図18は、メンテナンス対象である印刷装置50−1および印刷装置50−2を新しい印刷装置50−1(交換装置1)および印刷装置50−2(交換装置2)に同一場所において交換し、これら交換装置1および交換装置2を起動した後の、注文管理システム1の処理手順を示すシーケンス図である。
In FIG. 18, the printing device 50-1 and the printing device 50-2 to be maintained are replaced with a new printing device 50-1 (exchange device 1) and a printing device 50-2 (exchange device 2) at the same place. It is a sequence diagram which shows the process sequence of the
ステップS51およびステップS52それぞれにおいて、制御装置20との通信が途絶えた状態である表示装置は60−2、近隣検索要求を定期的にブロードキャスト送信する。
In each of step S51 and step S52, the display device in a state where communication with the
また、ステップS61において、制御装置20との通信が途絶えた状態である交換装置1は、近隣検索要求をブロードキャスト送信する。印刷装置50−1と同一場所に設置された交換装置1によって無線送信されるデータは、図13の電波強度管理テーブルに示したとおり、印刷装置30、交換装置2、表示装置60−2、および制御装置20によって受信される。しかし、表示装置60−2および交換装置2も、交換装置1と同様に近隣検索要求を送信している状況であり、制御装置20と接続していない状態であるため、近隣検索応答は行われない。
In step S61, the
次に、ステップS63において、交換装置1から送信された近隣検索要求を受信した印刷装置30は、近隣検索要求に含まれる所在地情報が示す番地宛てに、近隣検索応答を送信する。そして、交換装置1は、その近隣検索応答を受信する。
次に、ステップS64において、交換装置1から送信された近隣検索要求を受信した制御装置20は、近隣検索要求に含まれる所在地情報が示す番地宛てに、近隣検索応答を送信する。そして、交換装置1は、その近隣検索応答を受信する。
Next, in step S63, the
Next, in step S64, the
ステップS65において、制御装置20との通信が途絶えた状態である交換装置2は、近隣検索要求をブロードキャスト送信する。印刷装置50−2と同一場所に設置された交換装置2によって無線送信されるデータは、図13の電波強度管理テーブルに示したとおり、交換装置1、表示装置60−2、および制御装置20によって受信される。しかし、表示装置60−2および交換装置1も、交換装置2と同様に近隣検索要求を送信している状況であり、制御装置20と接続していない状態であるため、近隣検索応答は行われない。
In step S <b> 65, the
次に、ステップS66において、交換装置2から送信された近隣検索要求を受信した制御装置20は、近隣検索要求に含まれる所在地情報が示す番地宛てに、近隣検索応答を送信する。そして、交換装置2は、その近隣検索応答を受信する。
Next, in step S66, the
ステップS71において、交換装置1は、ステップS63およびステップS64の処理によって受信した2つの近隣検索応答において、電波強度が強い方の近隣検索応答の送信元(この場合、印刷装置30)を中継装置として指定し、この中継装置に対して装置情報要求を送信する。そして、中継装置である印刷装置30は、装置情報要求を受信する。
次に、ステップS72において、印刷装置30は、指定先装置として制御装置20を指定し、この指定先装置に対して装置情報要求を送信する。そして、指定先装置である制御装置20は、装置情報要求を受信する。
In step S71, the
Next, in step S <b> 72, the
次に、ステップS73において、制御装置20は、装置情報応答を生成し、この装置情報応答を中継装置である印刷装置30に対して送信する。そして、印刷装置30は、その装置情報応答を受信する。
次に、ステップS74において、印刷装置30は、装置情報応答を最終の宛先である交換装置1に対して送信する。そして、交換装置1は、その装置情報応答を受信する。
Next, in step S73, the
Next, in step S74, the
ステップS75において、交換装置2は、指定先装置として制御装置20を指定し、この指定先装置に対して装置情報要求を送信する。そして、指定先装置である制御装置20は、装置情報要求を受信する。
次に、ステップS76において、制御装置20は、装置情報応答を生成し、この装置情報応答を宛先である交換装置2に対して送信する。そして、交換装置2は、その装置情報応答を受信する。
In step S75, the
Next, in step S76, the
一方、ステップS77において、制御装置20は、定期パケットをブロードキャスト送信する。そして、印刷装置30および交換装置1それぞれは、自装置に到達した定期パケットを受信する。
また、ステップS81において、印刷装置30は、定期パケットをブロードキャスト送信する。そして、交換装置1は、自装置に到達した定期パケットを受信する。
On the other hand, in step S77, the
In step S81, the
図19は、図18のステップS73およびステップS76における、制御装置20が送信した装置情報応答に含まれる電波強度情報および未接続情報のデータ構成を示す図である。同図に示すように、電波強度情報および未接続情報は、制御装置20との間で通信接続を確立していない印刷装置50−1(図中、“RPR2”)と印刷装置50−2(図中、“RPR3”)と表示装置60−2(図中、“RMD5”)とについて、制御装置20が通信接続を確立しているときに管理していた電波強度管理テーブルおよび接続情報の内容を有している。
FIG. 19 is a diagram showing a data configuration of the radio wave intensity information and the unconnected information included in the device information response transmitted by the
以下、交換装置1を例として説明する。
交換装置1は、設置された後、制御装置20から定期的に送信される定期パケット(例えば、ステップS77におけるデータ)と、制御装置20から送信される近隣検索応答(例えば、ステップS64におけるデータ)とを受信する。また、交換装置1は、印刷装置30から定期的に送信される定期パケット(例えば、ステップS81におけるデータ)と、印刷装置30から送信される近隣検索応答(例えば、ステップS63におけるデータ)と、印刷装置30から送信される装置情報応答(例えば、ステップS74におけるデータ)とを受信する。また、交換装置1は、表示装置60−2から送信される近隣検索要求(例えば、ステップS52におけるデータ)を受信する。
Hereinafter, the
After the
このように、交換装置1は、様々なデータを様々な装置から受信する機会があり、その際に交換装置1は、送信元の装置ごとの電波強度を取得して電波強度テーブルを生成する。
図20は、交換装置1が生成する電波強度テーブルのデータ構成を示す図である。同図に示すとおり、制御装置20(“EST1”)から送信された定期パケットおよび近隣検索応答を、交換装置1が受信する場合の電波強度は“4”である。また、印刷装置30(“EPR1”)から送信された定期パケット、近隣検索応答、および装置情報応答を、交換装置1が受信する場合の電波強度は“6”である。また、表示装置60−2(“RMD5”)から送信された近隣検索要求を、交換装置1が受信する場合の電波強度は“5”である。
As described above, the
FIG. 20 is a diagram illustrating a data configuration of a radio wave intensity table generated by the
次に、交換装置1は、制御装置20から供給された装置情報応答から、中継装置の装置識別情報を抽出して、接続情報を生成する。
図21は、交換装置1が制御装置20から取得した装置情報応答に基づいて生成した接続情報のデータ構成を示す図である。同図に示す接続情報は、図18のS73、S74における装置情報応答に対応して交換装置1が生成したデータである。交換装置1は、この装置情報応答を制御装置20からではなく印刷装置30(“EPR1”)を介して受信しているため、図21に示した接続情報が生成される。
Next, the
FIG. 21 is a diagram illustrating a data configuration of connection information generated based on a device information response acquired by the
以下、図18に示したシーケンスにおける交換装置の、装置情報や定期パケットを取得後の動作について、交換装置1を例として説明する。まず、交換装置1の動作を説明するために必要なデータテーブルについて説明する。
Hereinafter, the operation of the exchange apparatus in the sequence shown in FIG. 18 after obtaining the device information and the regular packet will be described by taking the
図22は、交換装置1により受信された様々なデータの送信元を削除した電波強度情報および未接続情報のデータ構成を示す図である。同図は、交換装置1が、図19に示した、装置情報として受信した電波強度情報および未接続情報から、図20に示した、自装置が生成した電波強度テーブルに含まれる装置識別情報を含むレコード(“RMD5”を含むレコード)を削除した電波強度情報および未接続情報である。つまり、交換装置1の装置識別情報の候補は、交換装置1に対してデータを送信してきた“RMD5”ではあり得ず、“RPR2”および“RPR3”である。
FIG. 22 is a diagram illustrating a data configuration of the radio wave intensity information and the unconnected information from which the transmission source of various data received by the
図23は、交換装置1が、未接続情報から、接続情報の中継路と共通するレコードにおける装置識別情報を検出し、電波強度情報から、その装置識別情報が含まれるレコードを抽出して得た電波強度情報である。つまり、同図は、交換装置1が、図22に示した未接続情報から、図21に示した接続情報の中継路と共通するレコードにおける装置識別情報(“RPR2”)を検出し、図22の電波強度情報から、その装置識別情報(“RPR2”)が含まれるレコードを抽出して得た電波強度情報である。すなわち、交換装置1は、図21に示した接続情報のように印刷装置30(“EPR1”)を中継路として装置情報の送受を行ったため、自装置と同様の中継路を採用する装置が、自装置である可能性を有するとして、その装置の装置識別情報を未接続情報から抽出する。
FIG. 23 is obtained by the
図24は、図20に示した電波強度テーブルと図23に示した電波強度情報とで共通する送信元ごとの電波強度差テーブルを示す図である。同図において、「未接続装置の電波強度」は図23に示した電波強度情報から得られる電波強度であり、「受信した電波強度」は図20に示した電波強度テーブルから得られる電波強度である。 FIG. 24 is a diagram showing a radio field intensity difference table for each transmission source that is common in the radio field intensity table shown in FIG. 20 and the radio field intensity information shown in FIG. In the figure, “the radio field intensity of the unconnected device” is the radio field intensity obtained from the radio field intensity information shown in FIG. 23, and “the received radio field intensity” is the radio field intensity obtained from the radio field intensity table shown in FIG. is there.
図25は、交換装置1が、未接続情報から、接続情報の中継路と共通しないレコードにおける装置識別情報を検出し、電波強度情報から、その装置識別情報が含まれるレコードを抽出して得た電波強度情報である。つまり、同図は、交換装置1が、図22に示した未接続情報から、図21に示した接続情報の中継路と共通しないレコードにおける装置識別情報(“RPR3”)を検出し、図22の電波強度情報から、その装置識別情報(“RPR3”)が含まれるレコードを抽出して得た電波強度情報である。すなわち、交換装置1は、図21に示した接続情報のように印刷装置30(“EPR1”)を中継路として装置情報の送受を行ったため、ここで抽出する装置は自装置と同様の中継路を採用していない装置となるが、そのような装置であっても、電波状況が自装置により近い装置がどれであるのかを確認するため、その装置の装置識別情報を抽出する。
FIG. 25 is obtained by the
図26は、図20に示した電波強度テーブルと図25に示した電波強度情報とで共通する送信元ごとの電波強度差テーブルを示す図である。同図において、「未接続装置の電波強度」は図25に示した電波強度情報から得られる電波強度であり、「受信した電波強度」は図20に示した電波強度テーブルから得られる電波強度である。 FIG. 26 is a diagram showing a radio field intensity difference table for each transmission source that is common in the radio field intensity table shown in FIG. 20 and the radio wave intensity information shown in FIG. In the figure, “the radio field intensity of the unconnected device” is the radio field intensity obtained from the radio field intensity information shown in FIG. 25, and “the received radio field intensity” is the radio field intensity obtained from the radio field intensity table shown in FIG. is there.
図27は、交換装置1が、自装置の装置識別情報の候補を、電波強度差の昇順に並び替えて得る候補テーブルのデータ構成を示す図である。同図に示すように、候補テーブルには、交換装置1の装置識別情報の候補が、電波強度差の小さい順に順位付けられて格納される。
FIG. 27 is a diagram illustrating a data configuration of a candidate table obtained by the
図28は、交換装置1が提示する、装置候補リストの提示例を示す図である。同図に示すように、装置候補リストには、図27に示した候補テーブルに含まれる情報が提示される。
FIG. 28 is a diagram illustrating a presentation example of the device candidate list presented by the
次に、図18に示したシーケンスにおける交換装置の動作を説明する。
図29は、交換装置の処理手順を示すフローチャートである。交換装置の電源が投入されて自装置が起動すると、本フローチャートに示す処理の実行が開始される。
ステップS101において、交換装置は、近隣検索要求をブロードキャスト送信する。
次に、ステップS102において、交換装置は、近隣検索要求を受信した周囲の装置から送信された近隣検索応答を受信する。例えば、交換装置が交換装置1である場合、交換装置は、近隣検索要求を受信した、印刷装置30および制御装置20それぞれから送信された近隣検索応答を受信する。また、例えば、交換装置が交換装置2である場合、交換装置は、制御装置20から送信された近隣検索応答を受信する。
Next, the operation of the exchange apparatus in the sequence shown in FIG. 18 will be described.
FIG. 29 is a flowchart showing the processing procedure of the exchange apparatus. When the switching apparatus is powered on and starts up itself, execution of the processing shown in this flowchart is started.
In step S101, the exchange apparatus broadcasts a neighbor search request.
Next, in step S102, the exchange apparatus receives a neighbor search response transmitted from a peripheral apparatus that has received the neighbor search request. For example, when the exchange device is the
次に、ステップS103において、交換装置は、受信した近隣検索応答において、電波強度が最も強い近隣検索応答の送信元を中継装置として決定する。
次に、ステップS104において、交換装置は、その中継装置を介して制御装置20に対して装置情報要求を送信する。
次に、ステップS105において、交換装置は、制御装置20から中継装置を介して供給された装置情報応答を受信する。
次に、ステップS106において、交換装置は、受信した装置情報応答から、中継装置の装置識別情報を抽出して、図21に示した接続情報を生成し、この接続情報を記憶部に記憶させる。
次に、ステップS107において、交換装置は、装置情報応答から、例えば、図19に示した電波強度情報および未接続情報を抽出する。
Next, in step S103, the exchange apparatus determines the transmission source of the neighborhood search response having the strongest radio wave intensity as the relay device in the received neighborhood search response.
Next, in step S104, the exchange device transmits a device information request to the
Next, in step S105, the exchange apparatus receives the apparatus information response supplied from the
Next, in step S106, the exchange apparatus extracts the apparatus identification information of the relay apparatus from the received apparatus information response, generates the connection information shown in FIG. 21, and stores this connection information in the storage unit.
Next, in step S107, the exchange apparatus extracts, for example, the radio wave intensity information and unconnected information shown in FIG. 19 from the apparatus information response.
ところで、交換装置は、ステップS107の処理に至るまで、様々な装置からデータを受信する機会があり、その受信時に測定した送信元の装置ごとの電波強度に基づき、例えば、図20に示した電波強度テーブルを生成している。
よって、交換装置は、電波強度情報および未接続情報から、電波強度テーブルに含まれる装置識別情報を含むレコードを削除し、例えば、図22に示した電波強度情報および未接続情報を生成し、これら電波強度情報および未接続情報を記憶部に記憶させる。
By the way, the exchange device has an opportunity to receive data from various devices until the processing of step S107. Based on the radio field intensity of each transmission source device measured at the time of reception, for example, the radio wave shown in FIG. An intensity table is generated.
Therefore, the exchange apparatus deletes the record including the apparatus identification information included in the radio wave intensity table from the radio wave intensity information and the unconnected information, and generates, for example, the radio wave intensity information and the unconnected information illustrated in FIG. The radio field intensity information and the unconnected information are stored in the storage unit.
次に、ステップS108において、交換装置は、未接続情報に含まれるレコードが一つであるか否かを判定する。そして、交換装置は、未接続情報に含まれるレコードが一つであると判定した場合(S108:YES)はステップS109の処理に移し、未接続情報に含まれるレコードが複数であると判定した場合(S108:NO)はステップS110の処理に移す。 Next, in step S108, the exchange apparatus determines whether there is one record included in the unconnected information. When the switching apparatus determines that there is one record included in the unconnected information (S108: YES), the processing proceeds to step S109, and when it is determined that there are a plurality of records included in the unconnected information. (S108: NO) moves to the process of step S110.
ステップS109において、交換装置は、そのレコードにおける装置識別情報を自装置の装置識別情報として設定する。そして、交換装置は、本フローチャートの処理を終了させる In step S109, the exchange apparatus sets the apparatus identification information in the record as the apparatus identification information of the own apparatus. Then, the exchange device ends the process of this flowchart.
一方、ステップS110において、交換装置は、未接続情報に含まれる複数のレコードにおける装置識別情報から候補を選出する識別情報候補選出処理を実行する。この識別情報候補選出処理の詳細については後述する。 On the other hand, in step S110, the exchange apparatus executes identification information candidate selection processing for selecting candidates from apparatus identification information in a plurality of records included in the unconnected information. Details of this identification information candidate selection process will be described later.
次に、ステップS111において、交換装置は、例えば、図28に示した装置候補リストを選択可能に提示し、操作者による操作入力待ちとなる。
次に、ステップS112において、操作者によって一つの装置識別情報が選択された場合、交換装置は、その装置識別情報を自装置の装置識別情報として設定する。そして、交換装置は、本フローチャートの処理を終了させる。
なお、ステップS112の処理において、一定時間内に操作入力がない場合、交換装置は、最上位の候補である装置識別情報を自装置の装置識別情報として設定してもよい。
Next, in step S111, for example, the exchange apparatus presents the apparatus candidate list shown in FIG. 28 in a selectable manner and waits for an operation input by the operator.
Next, when one piece of apparatus identification information is selected by the operator in step S112, the exchange apparatus sets the apparatus identification information as the apparatus identification information of the own apparatus. Then, the exchange device ends the process of this flowchart.
In the process of step S112, when there is no operation input within a certain time, the exchange apparatus may set the apparatus identification information that is the highest candidate as the apparatus identification information of the own apparatus.
次に、識別情報候補選出処理について説明する。
図30は、交換装置が実行する識別情報候補選出処理の手順を示すフローチャートである。
ステップS201において、交換装置は、初期化を行う。具体的には、例えば図27に示す候補テーブルの内容をリセットする。
次に、ステップS202において、交換装置は、接続情報の中継路と共通する未接続情報のレコードがあるか否かを判定する。そして、交換装置は、接続情報の中継路と共通する未接続情報のレコードがあると判定した場合(S202:YES)は、ステップS203の処理に移す。一方、交換装置は、接続情報の中継路と共通する未接続情報のレコードがないと判定した場合(S202:NO)は、ステップS204の処理に移す。
Next, identification information candidate selection processing will be described.
FIG. 30 is a flowchart illustrating a procedure of identification information candidate selection processing executed by the exchange apparatus.
In step S201, the exchange apparatus performs initialization. Specifically, for example, the contents of the candidate table shown in FIG. 27 are reset.
Next, in step S202, the exchange apparatus determines whether there is a record of unconnected information common to the connection information relay path. If the switching apparatus determines that there is a record of unconnected information that is common to the connection information relay path (S202: YES), the switching apparatus proceeds to the process of step S203. On the other hand, when it is determined that there is no record of unconnected information common to the connection information relay path (S202: NO), the switching apparatus proceeds to the process of step S204.
ステップS203において、交換装置は、中継路が一致する場合の候補一覧生成処理を実行する。この中継路が一致する場合の候補一覧生成処理の詳細については後述する。
次に、ステップS204において、交換装置は、中継路が不一致である場合の候補一覧生成処理を実行する。この中継路が不一致である場合の候補一覧生成処理の詳細については後述する。そして、交換装置は、本フローチャートの処理を終了させる。
なお、これにより、図30のステップS203の処理が終了するため、同図のステップS204の、中継路が不一致である場合の候補一覧生成処理に移行するものとする。
In step S203, the exchange apparatus executes candidate list generation processing when the relay paths match. Details of the candidate list generation process when the relay paths match will be described later.
Next, in step S204, the exchange apparatus executes a candidate list generation process when the relay paths do not match. Details of the candidate list generation process when the relay paths do not match will be described later. Then, the exchange device ends the process of this flowchart.
Note that this completes the process of step S203 in FIG. 30, and thus proceeds to the candidate list generation process in step S204 of FIG. 30 when the relay paths do not match.
次に、中継路が一致する場合の候補一覧生成処理の詳細について説明する。
図31は、交換装置が実行する、中継路が一致する場合の候補一覧生成処理の手順を示すフローチャートである。
ステップS301において、交換装置は、未接続情報から、接続情報の中継路と共通するレコードにおける装置識別情報を検出し、電波強度情報から、その装置識別情報が含まれるレコードを抽出して得た電波強度情報(例えば、図23)を生成する。
Next, the details of the candidate list generation process when the relay paths match will be described.
FIG. 31 is a flowchart illustrating a procedure of candidate list generation processing executed by the exchange apparatus when the relay paths match.
In step S301, the exchange apparatus detects the apparatus identification information in the record common to the connection information relay path from the unconnected information, and extracts the radio wave obtained by extracting the record including the apparatus identification information from the radio wave intensity information. Intensity information (eg, FIG. 23) is generated.
次に、ステップS302において、交換装置は、ステップS301の処理において生成した電波強度情報から一つのレコード(ここでは“RPR2”が含まれるレコード)を選択する。そして、交換装置は、そのレコードと交換装置が生成した電波強度テーブル(ここでは、図20)とにおける共通の送信元を示す装置識別情報(ここでは、“EST1”、“EPR1”、および“RMD5”)を抽出する。 Next, in step S302, the exchange apparatus selects one record (here, a record including “RPR2”) from the radio wave intensity information generated in the process of step S301. Then, the exchange device has device identification information (here, “EST1”, “EPR1”, and “RMD5”) indicating the common transmission source in the record and the radio wave intensity table (here, FIG. 20) generated by the exchange device. )) Is extracted.
次に、ステップS303において、交換装置は、電波強度テーブル(ここでは、図20)と電波強度情報(ここでは、図23)とで共通する送信元ごとの電波強度差テーブルを生成する(例えば、図24)。次に、交換装置は、電波強度差テーブルに基づいて差分の平均値(ここでは、(0+1+0)/3=0.33)を計算し、その平均値を電波強度差とする。ただし、レコードと交換装置が生成した電波強度テーブルとにおける共通の送信元がない場合、交換装置は、既に計算した電波強度差における最大値よりも大きな値を電波強度差とする。次に、交換装置は、電波強度情報から、選択したレコードを削除する。 Next, in step S303, the exchange apparatus generates a radio field intensity difference table for each transmission source that is common to the radio field intensity table (here, FIG. 20) and the radio field intensity information (here, FIG. 23) (for example, FIG. 24). Next, the switching apparatus calculates an average value of differences (here, (0 + 1 + 0) /3=0.33) based on the radio wave intensity difference table, and sets the average value as the radio wave intensity difference. However, when there is no common transmission source in the record and the radio wave intensity table generated by the exchange device, the exchange device sets a value larger than the maximum value in the already calculated radio wave intensity difference as the radio wave intensity difference. Next, the exchange apparatus deletes the selected record from the radio wave intensity information.
次に、ステップS304において、交換装置は、電波強度情報に含まれる全てのレコードを選択したか否かを判定し、全てのレコードを選択したと判定した場合(S304:YES)はステップS305の処理に移す。ここでは、“RPR2”が含まれるレコードが一つのみであるため、ステップS305の処理に移す。一方、交換装置は、未選択であるレコードがあると判定した場合(S304:NO)はステップS302の処理に戻す。 Next, in step S304, the exchange apparatus determines whether or not all records included in the radio wave intensity information have been selected. If it is determined that all records have been selected (S304: YES), the process of step S305 is performed. Move to. Here, since there is only one record including “RPR2”, the process proceeds to step S305. On the other hand, when it is determined that there is an unselected record (S304: NO), the exchange apparatus returns to the process of step S302.
ステップS305において、交換装置は、自装置の装置識別情報の候補を、電波強度差の昇順に並び替えて候補テーブル(ここでは、図27)を生成する。そして、交換装置は、本フローチャートの処理を終了させる。 In step S305, the exchange apparatus rearranges the apparatus identification information candidates of the own apparatus in ascending order of the radio field intensity difference to generate a candidate table (here, FIG. 27). Then, the exchange device ends the process of this flowchart.
次に、中継路が不一致である場合の候補一覧生成処理の詳細について説明する。
図32は、交換装置が実行する、中継路が不一致である場合の候補一覧生成処理の手順を示すフローチャートである。
ステップS401において、交換装置は、未接続情報から、接続情報の中継路と共通しないレコードにおける装置識別情報を検出し、電波強度情報から、その装置識別情報が含まれるレコードを抽出して得た電波強度情報(例えば、図25)を生成する。
Next, details of candidate list generation processing when the relay paths do not match will be described.
FIG. 32 is a flowchart illustrating a procedure of candidate list generation processing executed by the exchange apparatus when the relay paths do not match.
In step S401, the exchange apparatus detects the apparatus identification information in the record that is not common to the connection information relay path from the unconnected information, and extracts the record including the apparatus identification information from the radio wave intensity information. Intensity information (for example, FIG. 25) is generated.
次に、ステップS402において、交換装置は、ステップS401の処理において生成した電波強度情報から一つのレコード(ここでは“RPR3”が含まれるレコード)を選択する。そして、交換装置は、そのレコードと交換装置が生成した電波強度テーブル(ここでは、図20)とにおける共通の送信元を示す装置識別情報(ここでは、“EST1”および“RMD5”)を抽出する。 Next, in step S402, the switching apparatus selects one record (here, a record including “RPR3”) from the radio wave intensity information generated in the process of step S401. Then, the switching device extracts device identification information (here, “EST1” and “RMD5”) indicating a common transmission source in the record and the radio wave intensity table (here, FIG. 20) generated by the switching device. .
次に、ステップS403において、交換装置は、電波強度テーブル(ここでは、図20)と電波強度情報(ここでは、図25)とで共通する送信元ごとの電波強度差テーブルを生成する(例えば、図26)。次に、交換装置は、電波強度差テーブルに基づいて差分の平均値(ここでは、(3+3)/2=3)を計算し、その平均値を電波強度差とする。ただし、レコードと交換装置が生成した電波強度テーブルとにおける共通の送信元がない場合、交換装置は、既に計算した電波強度差における最大値よりも大きな値を電波強度差とする。次に、交換装置は、電波強度情報から、選択したレコードを削除する。 Next, in step S403, the exchange apparatus generates a radio field intensity difference table for each transmission source that is common in the radio field intensity table (here, FIG. 20) and the radio field intensity information (here, FIG. 25) (for example, FIG. 26). Next, the switching apparatus calculates an average value (here, (3 + 3) / 2 = 3) of the difference based on the radio wave intensity difference table, and sets the average value as the radio wave intensity difference. However, when there is no common transmission source in the record and the radio wave intensity table generated by the exchange device, the exchange device sets a value larger than the maximum value in the already calculated radio wave intensity difference as the radio wave intensity difference. Next, the exchange apparatus deletes the selected record from the radio wave intensity information.
次に、ステップS404において、交換装置は、電波強度情報に含まれる全てのレコードを選択したか否かを判定し、全てのレコードを選択したと判定した場合(S404:YES)はステップS405の処理に移す。ここでは、“RPR3”が含まれるレコードが一つのみであるため、ステップS405の処理に移す。一方、交換装置は、未選択であるレコードがあると判定した場合(S404:NO)はステップS402の処理に戻す。 Next, in step S404, the exchange apparatus determines whether or not all the records included in the radio wave intensity information have been selected. If it is determined that all the records have been selected (S404: YES), the process of step S405 is performed. Move to. Here, since there is only one record including “RPR3”, the process proceeds to step S405. On the other hand, when it is determined that there is an unselected record (S404: NO), the exchange apparatus returns to the process of step S402.
ステップS405において、交換装置は、自装置の装置識別情報の候補を、電波強度差の昇順に並び替え、これら並び替えた候補を、候補テーブルの最下位の後に追加する。そして、交換装置は、本フローチャートの処理を終了させる。
なお、これにより、図30のステップS204の処理が終了して同図の処理を全て終了するため、図29のステップS110の処理が終了したことになる。よって、先に説明したように、図29におけるステップS111へ処理を移し、完成した候補テーブルに基づいた装置候補リストが選択可能に提示される。その後、操作者によって操作入力がなされたか否かによって、ステップS112の処理において装置識別情報が設定される。
In step S405, the exchange apparatus rearranges the apparatus identification information candidates of the own apparatus in ascending order of the radio field intensity difference, and adds the rearranged candidates after the lowest position in the candidate table. Then, the exchange device ends the process of this flowchart.
Note that this completes the process in step S <b> 110 in FIG. 29 because the process in step S <b> 204 in FIG. 30 ends and all the processes in FIG. 30 end. Therefore, as described above, the process moves to step S111 in FIG. 29, and an apparatus candidate list based on the completed candidate table is presented to be selectable. Thereafter, the apparatus identification information is set in the process of step S112 depending on whether or not an operation input is made by the operator.
以上説明したように、本発明の一実施形態における注文管理システム1は、接続確認の送受によって、各出力装置と制御装置20との通信状態を管理し、定期パケットの送受によって、自装置周辺に存在する他装置との通信における電波強度を管理する。そして、例えば、ある装置について、交換や入れ替えなどの再設置を行う場合に、注文管理システム1内におけるそれまでの接続状態や電波強度に関する情報に基づいて、適切な装置を候補として導出することができる。
すなわち、印刷装置30、印刷装置50、および表示装置60等の出力装置の装置情報(装置識別情報)の設定作業を、全て作業者による手作業とすることがない。よって、設定の間違いが発生したり、作業時間がかかり過ぎたり等、設定作業が非効率となるおそれがない。
したがって、本実施形態によれば、出力装置の装置情報の設定にかける負担を軽減させることができる。
As described above, the
That is, the setting work of device information (device identification information) of output devices such as the
Therefore, according to the present embodiment, it is possible to reduce the burden imposed on the setting of the device information of the output device.
なお、上述した実施形態である制御装置20の一部、例えば、コントローラ制御部21の機能をコンピュータで実現するようにしてもよい。この場合、その制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録し、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませて、このコンピュータシステムが実行することによって実現してもよい。
In addition, you may make it implement | achieve a part of
また、出力装置の一部、例えば、各制御部の機能をコンピュータで実現するようにしてもよい。この場合、その制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録し、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませて、このコンピュータシステムが実行することによって実現してもよい。 Moreover, you may make it implement | achieve a part of output device, for example, the function of each control part with a computer. In this case, a program for realizing the control function is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed by the computer system. Also good.
なお、このコンピュータシステムとは、オペレーティング・システム(Operating System;OS)や周辺装置のハードウェアを含むものである。また、コンピュータ読み取り可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、光ディスク、メモリカード等の可搬型記録媒体、コンピュータシステムに備えられる磁気ハードディスクやソリッドステートドライブ等の記憶装置のことをいう。さらに、コンピュータ読み取り可能な記録媒体とは、インターネット等のコンピュータネットワーク、および電話回線や携帯電話網を介してプログラムを送信する場合の通信回線のように、短時間の間、動的にプログラムを保持するもの、さらには、その場合のサーバ装置やクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持するものを含んでもよい。また上記の各プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに、前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせにより実現するものであってもよい。 This computer system includes an operating system (OS) and hardware of peripheral devices. The computer-readable recording medium is a portable recording medium such as a flexible disk, a magneto-optical disk, an optical disk, or a memory card, and a storage device such as a magnetic hard disk or a solid state drive provided in the computer system. Furthermore, a computer-readable recording medium dynamically holds a program for a short time, such as a computer network such as the Internet, and a communication line when transmitting a program via a telephone line or a cellular phone network. In addition, a server that holds a program for a certain period of time, such as a volatile memory inside a computer system serving as a server device or a client in that case, may be included. Each of the above programs may be for realizing a part of the above-described functions, and further, the above-described functions are realized by a combination with a program already recorded in the computer system. Also good.
以上、本発明の実施の形態について図面を参照して詳述したが、具体的な構成はその実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計等も含まれる。 As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to that embodiment, The design of the range which does not deviate from the summary of this invention, etc. are included.
1 注文管理システム
10 POSレジスタ
20 制御装置
21 コントローラ制御部
22 記憶部
23 通信部
30 印刷装置
31 コントローラ/印刷制御部
32 記憶部
33 通信部
34 印刷部
40 LAN
50−1,50−2 印刷装置
51 印刷制御部
52 記憶部
53 通信部
54 印刷部
60−1,60−2 表示装置
61 表示制御部
62 記憶部
63 通信部
64 表示部
70 注文端末
DESCRIPTION OF
50-1, 50-2
Claims (7)
前記制御装置は、
記憶部と、
前記出力装置と前記制御装置との中継路を示す中継路情報と、前記出力装置と前記出力システムに含まれる他の装置との間の電波強度を示す情報とを、含む接続確認情報を、前記出力装置から受信する接続確認受信部と、
前記接続確認情報に基づいて、前記出力装置ごとに、前記中継路情報と前記電波強度を示す情報とを、対応付けた電波強度管理テーブルを、前記記憶部に記憶させる電波強度管理テーブル記憶制御部と、
前記複数の出力装置それぞれについて、当該出力装置と通信可能であると判定した場合に、前記判定の結果を示す情報と、前記接続確認情報に含まれる中継路を示す情報とを、対応付けた接続情報を、前記記憶部に記憶させる接続情報記憶制御部と、
前記出力装置が送信した近隣検索要求を受信する近隣検索要求受信部と、
前記近隣検索要求に応じて近隣検索応答を送信する近隣検索応答送信部と、
前記出力装置が送信した装置情報要求を受信する装置情報要求受信部と、
前記記憶部に記憶された前記接続情報において、前記装置情報要求の送信元に対応する接続状態情報が通信不能を示す場合に、前記送信元に対応する中継路情報を含めた未接続情報を生成する未接続情報生成部と、
前記記憶部に記憶された前記電波強度管理テーブルから、前記装置情報要求の送信元に対応する、中継路情報と電波強度を示す情報とを含めた電波強度情報を生成する電波強度情報生成部と、
前記未接続情報および前記電波強度情報を含めた情報を装置情報とし、前記装置情報を装置情報応答として前記装置情報要求の要求元に送信する装置情報応答送信部と、
を備え、
前記出力装置は、
当該出力装置内に装置情報が設定されていない場合に前記近隣検索要求を送信する近隣検索要求送信部と、
近隣検索応答を受信する近隣検索応答受信部と、
前記近隣検索応答を受信したときの電波強度値を取得する電波強度値取得部と、
複数の出力装置から前記近隣検索応答を受信した場合、前記取得した電波強度値の最大値に対応する出力装置を中継先として決定する中継先決定部と、
前記中継先に決定された出力装置に対して装置情報要求を送信する装置情報要求送信部と、
前記装置情報要求を受信した前記出力装置から送信される装置情報応答を受信する装置情報応答受信部と、
前記装置情報応答に含まれる中継路情報を抽出する中継路情報抽出部と、
前記装置情報応答に含まれる未接続情報と電波強度情報とに基づいて、当該出力装置についての装置情報の候補を決定する候補決定部と
を備えることを特徴とする出力システム。 In an output system including a control device and a plurality of output devices that receive the output information transmitted by the control device and output the output information,
The controller is
A storage unit;
Connection confirmation information including relay path information indicating a relay path between the output device and the control device, and information indicating radio wave intensity between the output device and another device included in the output system, A connection confirmation receiver for receiving from the output device;
On the basis of the connection confirmation information, a radio wave intensity management table storage control unit that stores, in the storage unit, a radio wave intensity management table in which the relay path information and information indicating the radio wave intensity are associated with each other for each output device. When,
For each of the plurality of output devices, when it is determined that communication with the output device is possible, information indicating the determination result and information indicating the relay path included in the connection confirmation information are associated with each other A connection information storage control unit for storing information in the storage unit;
A neighbor search request receiving unit that receives a neighbor search request transmitted by the output device;
A neighbor search response transmitter that transmits a neighbor search response in response to the neighbor search request;
A device information request receiving unit for receiving a device information request transmitted by the output device;
In the connection information stored in the storage unit, when the connection status information corresponding to the transmission source of the device information request indicates that communication is not possible, unconnected information including the relay path information corresponding to the transmission source is generated. An unconnected information generating unit to
A radio wave intensity information generating unit that generates radio wave intensity information including relay path information and information indicating the radio wave intensity, corresponding to the transmission source of the device information request, from the radio wave intensity management table stored in the storage unit; ,
Information including the unconnected information and the radio wave intensity information is set as device information, and the device information response transmitting unit that transmits the device information as a device information response to a request source of the device information request;
With
The output device is
A neighbor search request transmission unit that transmits the neighbor search request when device information is not set in the output device;
A neighbor search response receiver for receiving a neighbor search response;
A radio field intensity value acquisition unit that acquires a radio field intensity value when the neighborhood search response is received;
When receiving the neighborhood search response from a plurality of output devices, a relay destination determining unit that determines the output device corresponding to the maximum value of the acquired radio field intensity value as a relay destination;
A device information request transmission unit for transmitting a device information request to the output device determined as the relay destination;
A device information response receiving unit that receives a device information response transmitted from the output device that has received the device information request;
A relay path information extraction unit that extracts the relay path information included in the device information response;
An output system comprising: a candidate determination unit that determines a candidate of device information for the output device based on unconnected information and radio wave intensity information included in the device information response.
前記候補決定部が決定した装置情報の候補を出力する候補出力部
をさらに備えることを特徴とする請求項1に記載の出力システム。 Each of the plurality of output devices is
The output system according to claim 1, further comprising: a candidate output unit that outputs device information candidates determined by the candidate determination unit.
操作入力部と、
前記候補出力部が出力した装置情報の候補のうち、前記操作入力部によって指定された候補を当該出力装置に設定する第1の装置情報設定部と、
をさらに備えることを特徴とする請求項2に記載の出力システム。 Each of the plurality of output devices is
An operation input section;
Of the device information candidates output by the candidate output unit, a first device information setting unit that sets a candidate designated by the operation input unit in the output device;
The output system according to claim 2, further comprising:
前記候補決定部が決定した装置情報の候補が二種類以上ある場合に、前記中継路情報が示す中継路と共通する未接続情報のレコードがあるか否かを判定し、前記中継路情報が示す中継路と共通する未接続情報のレコードがあると判定した場合、前記レコードに含まれる装置情報を、電界強度に応じて順位付けした候補とする
ことを特徴とする請求項1〜3いずれか一項に記載の出力システム。 The candidate determination unit for each of the plurality of output devices is
When there are two or more types of device information candidates determined by the candidate determination unit, it is determined whether or not there is a record of unconnected information common to the relay path indicated by the relay path information, and the relay path information indicates When it is determined that there is a record of unconnected information that is common to the relay path, the device information included in the record is a candidate that is ranked according to the electric field strength. The output system described in the section.
前記中継路情報が示す中継路と共通する未接続情報のレコードがないと判定した場合、前記中継路情報が示す中継路と共通しない未接続情報のレコードに含まれる装置情報を、電界強度に応じて順位付けした候補とする
ことを特徴とする請求項1〜3いずれか一項に記載の出力システム。 The candidate determination unit for each of the plurality of output devices is
When it is determined that there is no record of unconnected information common to the relay path indicated by the relay path information, the device information included in the record of unconnected information not common to the relay path indicated by the relay path information is determined according to the electric field strength. The output system according to any one of claims 1 to 3, wherein the candidates are ranked candidates.
前記候補決定部が決定した装置情報の候補が一種類のみである場合に、前記装置情報を当該出力装置に設定する第2の装置情報設定部
をさらに備えることを特徴とする請求項1または2に記載の出力システム。 Each of the plurality of output devices is
The apparatus further comprises a second device information setting unit that sets the device information in the output device when there is only one type of device information candidate determined by the candidate determination unit. Output system described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012060960A JP5850770B2 (en) | 2012-03-16 | 2012-03-16 | Output system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012060960A JP5850770B2 (en) | 2012-03-16 | 2012-03-16 | Output system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013196181A JP2013196181A (en) | 2013-09-30 |
JP5850770B2 true JP5850770B2 (en) | 2016-02-03 |
Family
ID=49395095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012060960A Active JP5850770B2 (en) | 2012-03-16 | 2012-03-16 | Output system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5850770B2 (en) |
-
2012
- 2012-03-16 JP JP2012060960A patent/JP5850770B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013196181A (en) | 2013-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5889525B2 (en) | Authentication system | |
US9274734B2 (en) | Recording system, non-transitory storage medium storing instructions executable by mobile terminal, and image recording apparatus | |
WO2016194625A1 (en) | Commodity ordering system and commodity ordering method | |
JP5850770B2 (en) | Output system | |
JP4593321B2 (en) | Input terminal, data control device and order data management system | |
JP6009776B2 (en) | Order data management system | |
JP4536052B2 (en) | Kitchen display data transmission / reception method and system using the method | |
JP5764593B2 (en) | Order terminal, terminal monitoring apparatus and terminal monitoring program | |
JP5003046B2 (en) | Restaurant order processing system and operation method in restaurant order processing system | |
JP4523452B2 (en) | Order management method, order data input device and order management system | |
JP2005148824A (en) | Terminal device, printer, accounting terminal device, and information processing system constructed of them | |
JP2019095994A (en) | Facility operation information management system, device, method, and program | |
US11076060B2 (en) | System and method for monitoring, recommending and updating multifunction peripherals via a handheld device | |
JP4515286B2 (en) | Order data processing system and connection destination determination method | |
JP4593310B2 (en) | Order data management system and data control device | |
JP5209885B2 (en) | Order information management apparatus, system, and method | |
JP4291356B2 (en) | Order management apparatus and control channel cycle changing method used therefor | |
JP6809940B2 (en) | Communication methods, communication equipment, and communication systems | |
JP6552661B1 (en) | Order receiving program, order receiving method and information processing apparatus | |
JP5764595B2 (en) | Order receiving apparatus and control program | |
JP2004310338A (en) | Order data management apparatus | |
JP4044407B2 (en) | Order data management apparatus and system ID setting method | |
JP6621019B2 (en) | Order management system | |
JP2006218811A (en) | Order information printing apparatus | |
JP4376688B2 (en) | Order data management apparatus, output terminal, wireless environment information acquisition method, and wireless communication availability determination 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: 20151022 |
|
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: 20151117 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151201 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5850770 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 |