JP5938991B2 - CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM - Google Patents
CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP5938991B2 JP5938991B2 JP2012079278A JP2012079278A JP5938991B2 JP 5938991 B2 JP5938991 B2 JP 5938991B2 JP 2012079278 A JP2012079278 A JP 2012079278A JP 2012079278 A JP2012079278 A JP 2012079278A JP 5938991 B2 JP5938991 B2 JP 5938991B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- printer
- representative
- data
- recording
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Control Or Security For Electrophotography (AREA)
- Facsimiles In General (AREA)
Description
本発明は、複数の記録装置に接続された制御装置、当該制御装置の制御方法、及び、当該制御装置を制御するためのプログラムに関する。 The present invention relates to a control device connected to a plurality of recording devices, a control method for the control device, and a program for controlling the control device.
従来、レシートにトップロゴや、ボトムロゴ等のロゴを記録する記録装置を備えるシステムが知られている(例えば、特許文献1参照)。
この種の記録装置では、予め、レシートを発行する記録装置に各ロゴの画像データを記憶しておき、ロゴを記録媒体に記録する場合、自身に登録された当該ロゴに係る画像データに基づいて記録を実行するものがある。
Conventionally, a system including a recording device that records a logo such as a top logo or a bottom logo on a receipt is known (see, for example, Patent Document 1).
In this type of recording device, image data of each logo is stored in advance in a recording device that issues a receipt, and when the logo is recorded on a recording medium, based on the image data relating to the logo registered in itself. Some perform a recording.
ところで、大型ショッピングセンター等の店舗では、レシートを発行する記録装置が、多数、設置される。そして、通常、1の店舗に設けられた各記録装置が発行するレシートに記録されるロゴ(例えば、トップロゴ)の内容は、各記録装置において同一であることが求められる。例えば、クリスマス期間中に、クリスマス仕様のトップロゴをレシートに記録する場合は、当該期間中、店舗内に設置された全ての記録装置が発行するレシートについて、クリスマス仕様のトップロゴが記録されることが求められる。ここで、従来は、各記録装置が記録するロゴを同一とする場合、所定のツール等を利用して、記録装置ごとに、各記録装置に記憶されたロゴに係る画像データを編集していたが、この手法は、記録装置の数が非常に多い場合もあり、煩雑であった。
本発明は、上述した事情に鑑みてなされたものであり、画像データに基づく画像について、同一性が求められる複数の記録装置について、煩雑な作業を経ることなく、各記録装置に記憶された画像データの同一性が維持されるようにすることを目的とする。
By the way, in stores such as large shopping centers, a large number of recording devices for issuing receipts are installed. Usually, the content of a logo (for example, a top logo) recorded on a receipt issued by each recording device provided in one store is required to be the same in each recording device. For example, if you record a Christmas-specific top logo on a receipt during the Christmas period, the Christmas-specific top logo will be recorded for all receipts issued by all recording devices installed in the store during that period. Is required. Here, conventionally, when the logo recorded by each recording device is the same, the image data related to the logo stored in each recording device is edited for each recording device using a predetermined tool or the like. However, this method is complicated because the number of recording devices may be very large.
The present invention has been made in view of the above-described circumstances, and for images based on image data, images stored in the respective recording devices without complicated operations for a plurality of recording devices that are required to be identical. The purpose is to maintain the identity of the data.
上記目的を達成するために、本発明は、記憶した画像データに基づいて画像を記録する記録装置が複数接続される制御装置であって、複数接続される前記記録装置のうちの1つの前記記録装置である代表記録装置から、この代表記録装置に記憶された前記画像データを取得し、取得した前記画像データに基づいて、前記代表記録装置以外の他の前記記録装置に記憶された前記画像データを更新することにより、前記代表記録装置が記憶する前記画像データと、他の前記記録装置が記憶する前記画像データとの同一性を維持する画像データ更新部を備えることを特徴とする。
この構成によれば、制御装置は、代表記録装置から画像データを取得し、取得した画像データに基づいて、他の記録装置の画像データを、代表記録装置の画像データとの同一性が維持されるように更新する。このため、代表記録装置についてのみ、記憶された画像データを正しい状態とすれば、接続された他の記録装置について、自動で、記憶された画像データが、代表記録装置と同一性を有する正しい状態となる。つまり、記録装置の全てについてツールを利用して画像データの編集をするといった煩雑な作業を経ることなく、代表記録装置についてのみ画像データの編集を行うという簡易な作業により、各記録装置に記憶された画像データについて、その同一性を維持できる。
To achieve the above object, the present invention relates to a recording apparatus for recording an image based on the stored images data a plurality connected Ru controller, one of a plurality connected Ru said recording apparatus from said recording apparatus is representative recording apparatus acquires the image data stored in the representative recording apparatus, based on the previous SL image data obtained is stored in addition to the recording apparatus other than the representative recording device by updating the image data comprises a pre-Symbol image data the representative recording apparatus you store, the image data update unit to maintain the identity of the previous SL image data other of said recording apparatus you store It is characterized by that.
According to this configuration, the control device acquires image data from the representative recording device, and based on the acquired image data, the image data of the other recording devices is maintained identical to the image data of the representative recording device. Update to Therefore, if the stored image data is in the correct state only for the representative recording device, the stored image data is automatically in the correct state in which the stored image data is identical to the representative recording device for the other connected recording devices. It becomes. That is, it is stored in each recording device by a simple operation of editing the image data only for the representative recording device without going through a complicated operation such as editing the image data using a tool for all the recording devices. The same image data can be maintained.
また、本発明は、前記画像データ更新部は、前記代表記録装置から取得した前記画像データに基づいて、他の前記記録装置のそれぞれについて、他の前記記録装置に記憶された前記画像データと、前記代表記録装置に記憶された前記画像データとの差異を抽出し、抽出した差異がなくなるように、前記代表記録装置から取得した前記画像データに基づいて、他の前記記録装置に記憶された前記画像データを更新することを特徴とする。
ここで、制御装置が、代表記録装置から取得した画像データに基づいて、他の記録装置のそれぞれの画像データを上書き更新することにより、代表記録装置と、他の記録装置との間で画像データの同一性を維持するようにすることも考えられる。しかしながら、この場合、制御装置からから他の記録装置のそれぞれに対して、比較的サイズの大きい画像データが送信されることとなり、通信トラフィックの増大を招く可能性があり、また、既に記憶している画像データが、代表記録装置に記憶されている画像データと一致する場合等に不必要に画像データの更新が行われることとなり、処理効率がよくない。これを踏まえ、上記構成によれば、制御装置は、代表記録装置に記憶された画像データと、他の記録装置に記憶された画像データの差異に応じて、画像データを更新することにより、不必要な画像データの更新を抑制でき、これに伴って通信トラフィックの増大を抑制できる。
Further, the present invention, the image data update unit, based on the image data acquired from the representative recording device, for each of the other of said recording apparatus, and the image data stored in the other of said recording apparatus, extracting the difference between the image data stored in the representative recording device, the extracted difference as there is no, on the basis of the image data acquired from the representative recording apparatus, stored in the other of said recording apparatus wherein The image data is updated.
Here, the control device overwrites and updates each image data of the other recording device based on the image data acquired from the representative recording device, so that the image data is transferred between the representative recording device and the other recording device. It is also conceivable to maintain the same identity. However, in this case, image data of a relatively large size is transmitted from the control device to each of the other recording devices, which may cause an increase in communication traffic. The image data is unnecessarily updated when the existing image data matches the image data stored in the representative recording device, and the processing efficiency is not good. Based on this, according to the above configuration, the control device updates the image data in accordance with the difference between the image data stored in the representative recording device and the image data stored in another recording device. Necessary update of image data can be suppressed, and accordingly, increase in communication traffic can be suppressed.
また、本発明は、前記画像データ更新部は、他の前記記録装置に記憶された前記画像データと、前記代表記録装置に記憶された前記画像データとの差異を抽出する場合において、他の前記記録装置に係る1の前記画像データと、前記代表記録装置に係る1の前記画像データとが同一のデータであるか否かを判別する場合、前記代表記録装置に係る1の前記画像データに基づいて、所定の算出方法によりチェック用データを算出し、他の前記記録装置に対して、当該他の前記記録装置に係る1の前記画像データから前記所定の算出方法で算出されたチェック用データの送信を要求して、当該チェック用データを取得し、前記代表記録装置に係る1の前記画像データのチェック用データと、他の前記記録装置に係る1の前記画像データのチェック用データとが同一か否かを判別することを特徴とする。
ここで、チェック用データとは、画像データに基づいて所定のハッシュ関数により算出されるハッシュ値等の、画像データから算出される代表値であって、同一の画像データに基づいて算出したときに、必ず、同一の値となるようなデータのことである。
上記構成によれば、他の前記記録装置に係る1の画像データと、代表記録装置に係る1の画像データとが同一のデータであるか否かを判別する場合、他の記録装置から、制御装置に対して、画像データそのものではなく、画像データから算出されるチェック用データが送信される。このため、通信トラフィックの増大を抑制できると共に、画像データが同一か否かを判別する際に、画像データ同士の比較ではなく、チェック用データ同士の比較で済むため、処理に要する時間の短縮化も図ることができる。
Further, the present invention, the image data update unit, in the case of extraction and the image data stored in the other of the recording apparatus, the difference between the image data stored in the representative recording apparatus, other the When determining whether or not the one image data related to the recording apparatus and the one image data related to the representative recording apparatus are the same data, based on the one image data related to the representative recording apparatus The check data is calculated by a predetermined calculation method, and the check data calculated by the predetermined calculation method is calculated from one image data related to the other recording device. Requesting transmission, obtaining the check data, checking one image data for the representative recording device, and checking one image data for the other recording device Data and is characterized in that to determine the same or not.
Here, the check data is a representative value calculated from the image data such as a hash value calculated by a predetermined hash function based on the image data, and is calculated based on the same image data. Data that always have the same value.
According to the above configuration, when determining whether one image data related to the other recording device and one image data related to the representative recording device are the same data, the control is performed from the other recording device. Not the image data itself but the check data calculated from the image data is transmitted to the apparatus. For this reason, it is possible to suppress an increase in communication traffic and shorten the processing time because it is not necessary to compare image data but to check data when determining whether the image data is the same. Can also be planned.
また、上記目的を達成するために、本発明は、記憶した画像データに基づいて画像を記録可能な記録装置が複数接続される制御装置の制御方法であって、接続される前記記録装置のうちの1つの前記記録装置である代表記録装置から、この代表記録装置に記憶された前記画像データを取得し、取得した前記画像データに基づいて、前記代表記録装置以外の他の前記記録装置に記憶された前記画像データを更新することにより、前記代表記録装置が記憶する前記画像データと、他の前記記録装置が記憶する前記画像データとの同一性を維持することを特徴とする。
この制御方法によれば、制御装置は、代表記録装置から画像データを取得し、取得した画像データに基づいて、他の記録装置の画像データを、代表記録装置の画像データとの同一性が維持されるように更新する。このため、代表記録装置についてのみ、記憶された画像データを正しい状態とすれば、接続された他の記録装置について、自動で、記憶された画像データが、代表記録装置と同一性を有する正しい状態となる。つまり、記録装置の全てについてツールを利用して画像データの編集をするといった煩雑な作業を経ることなく、代表記録装置についてのみ画像データの編集を行うという簡易な作業により、各記録装置に記憶された画像データについて、その同一性を維持できる。
In order to achieve the above object, the present invention is a recordable recording apparatus an image based on the stored images data is a control method of a plurality connected Ru controller, connected to Ru said recording device from a one of said recording apparatus of the representative recording apparatus, the representative recording apparatus acquires stored the image data into, based on the previous SL image data acquired, besides the above other than the representative recording device by updating the image data stored in the recording apparatus, maintaining the previous SL image data the representative recording apparatus you store, another one of the recording apparatus the identity of the previous SL image data you store It is characterized by.
According to this control method, the control device acquires image data from the representative recording device, and based on the acquired image data, the image data of the other recording device maintains the sameness as the image data of the representative recording device. Update as you go. Therefore, if the stored image data is in the correct state only for the representative recording device, the stored image data is automatically in the correct state in which the stored image data is identical to the representative recording device for the other connected recording devices. It becomes. That is, it is stored in each recording device by a simple operation of editing the image data only for the representative recording device without going through a complicated operation such as editing the image data using a tool for all the recording devices. The same image data can be maintained.
また、上記目的を達成するために、本発明は、記憶した画像データに基づいて画像を記録可能な記録装置が複数接続される制御装置を制御する制御部により実行されるプログラムであって、前記制御部を、接続される前記記録装置のうちの1つの前記記録装置である代表記録装置から、この代表記録装置に記憶された前記画像データを取得し、取得した前記画像データに基づいて、前記代表記録装置以外の他の前記記録装置に記憶された前記画像データを更新することにより、前記代表記録装置が記憶する前記画像データと、他の前記記録装置が記憶する前記画像データとの同一性を維持する画像データ更新部として機能させることを特徴とする。
このプログラムによれば、制御装置は、代表記録装置から画像データを取得し、取得した画像データに基づいて、他の記録装置の画像データを、代表記録装置の画像データとの同一性が維持されるように更新する。このため、代表記録装置についてのみ、記憶された画像データを正しい状態とすれば、接続された他の記録装置について、自動で、記憶された画像データが、代表記録装置と同一性を有する正しい状態となる。つまり、記録装置の全てについてツールを利用して画像データの編集をするといった煩雑な作業を経ることなく、代表記録装置についてのみ画像データの編集を行うという簡易な作業により、各記録装置に記憶された画像データについて、その同一性を維持できる。
In order to achieve the above object, the present invention is a program executed by the control unit capable of recording the recording apparatus an image based on the stored images data to control multiple connected Ru controller , the control unit, from the representative recording apparatus which is one of the recording apparatus of the attached Ru said recording device, acquires the image data stored in the representative recording apparatus, before Symbol image data acquired based on, by updating the image data stored in the other of the recording apparatus other than the representative recording apparatus, and the previous SL image data the representative recording apparatus you store, another one of the recording apparatus you store characterized in that to function as the image data update unit to maintain the identity of the previous SL image data.
According to this program, the control device acquires image data from the representative recording device, and based on the acquired image data, the image data of another recording device is maintained identical to the image data of the representative recording device. Update to Therefore, if the stored image data is in the correct state only for the representative recording device, the stored image data is automatically in the correct state in which the stored image data is identical to the representative recording device for the other connected recording devices. It becomes. That is, it is stored in each recording device by a simple operation of editing the image data only for the representative recording device without going through a complicated operation such as editing the image data using a tool for all the recording devices. The same image data can be maintained.
本発明によれば、画像データに基づく画像について、同一性が求められる複数の記録装置について、煩雑な作業を経ることなく、各記録装置に記憶された画像データの同一性が維持されるようにすることができる。 According to the present invention, the identity of image data stored in each recording device can be maintained without complicated operations for a plurality of recording devices that require identity regarding images based on image data. can do.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る制御システム1の構成を模式的に示す図である。
制御システム1は、ショッピングセンターや、スーパーマーケット、コンビニエンスストア等の店舗に適用されるシステムであり、少なくとも、店舗に来店した顧客に対してレシートを発行する機能を備えている。
制御システム1は、レシートを発行可能なプリンター11(記録装置)を複数備えており、これらプリンター11のそれぞれには、これらプリンター11を制御するホストコンピューター12が接続されている。
プリンター11は、サーマルプリンターであり、対応するホストコンピューター12の制御の下、感熱ロール紙の記録面にサーマルヘッドによって熱を与えて画像を記録した上で、所定の位置で感熱ロール紙を切断することにより、レシートを発行する。
店舗において、プリンター11、及び、ホストコンピューター12は、店舗に設けられた複数のレジカウンターごとに設置されており、プリンター11は、ホストコンピューター12の制御の下、所定のタイミングで、所定のレシートを発行する。
また、図1に示すように、制御システム1は、管理サーバー14(制御装置)を備えている。管理サーバー14は、制御システム1を統括的に管理するサーバーであり、商品DBや、顧客DB等のレシートの発行に必要なデータが格納されたデータベースを備えている。この管理サーバー14と、ホストコンピューター12のそれぞれとは、LAN等のネットワーク15を介して通信可能に接続されている。また、管理サーバー14は、各ホストコンピューター12を介して、各プリンター11と所定のプロトコルに準拠して通信可能である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically illustrating a configuration of a
The
The
The
In the store, the
Further, as shown in FIG. 1, the
図2は、プリンター11、ホストコンピューター12、及び、管理サーバー14の機能的構成を示すブロック図である。
図2に示すように、プリンター11は、プリンター側制御部20と、プリントエンジン21と、プリンター側記憶部22と、を備えている。
プリンター側制御部20は、プリンター11の各部を中枢的に制御するものであり、演算実行部としてのCPUや、このCPUに実行されるファームウェアや、このファームウェアに係るデータ等を不揮発的に記憶するROM、CPUに実行されるファームウェアやこのプログラムに係るデータ等を一時的に記憶するRAM、その他の周辺回路等を備えている。プリントエンジン21は、上述したサーマルヘッドのほか、感熱ロール紙を所定方向に搬送する搬送機構、感熱ロール紙を切断する切断機構等の各種機構を備えている。プリンター側制御部20は、ホストコンピューター12から受信した制御コマンドに基づいて、各種センサーの検出値を監視しながら、サーマルヘッドや、各種機構を制御して、感熱ロール紙に所定の画像を記録し、所定の位置で感熱ロール紙を切断することにより、所定の画像が記録された紙片であるレシートを発行する。プリンター側記憶部22は、EEPROMや、ハードディスク等の不揮発性メモリーを備え、各種データを書き換え可能に不揮発的に記憶する。プリンター側記憶部22には、プリンター11の動作を制御するためのファームウェアのほか、登録画像データ22a、及び、識別コード22bが記憶されている。これら登録画像データ22a、識別コード22bについては、後述する。なお、プリンター11は、図示せぬ通信インターフェイスを備え、この通信インターフェイスを介してホストコンピューター12と所定の通信規格に準拠して通信する。
FIG. 2 is a block diagram illustrating functional configurations of the
As illustrated in FIG. 2, the
The printer-
また、図2に示すように、ホストコンピューター12は、ホスト側制御部30と、ホスト側入力部31と、ホスト側表示部32と、ホスト側記憶部33と、を備えている。
ホスト側制御部30は、ホストコンピューター12の各部を中枢的に制御するものであり、上述したプリンター側制御部20と同様、CPUや、ROM、RAM、その他の周辺回路等を備えている。ホスト側入力部31は、キーボードや、バーコードリーダー等の入力デバイスに接続され、これら入力デバイスからの入力を検出して、ホスト側制御部30に出力する。ホスト側表示部32は、液晶表示パネル等の表示パネルを備え、ホスト側制御部30の制御の下、表示パネルに各種情報を表示する。ホスト側記憶部33は、EEPROMや、ハードディスク等の不揮発性メモリーを備え、各種データを書き換え可能に不揮発的に記憶する。なお、ホストコンピューター12は、図示せぬ通信インターフェイスを備え、この通信インターフェイスを介してプリンター11及び管理サーバー14と所定の通信規格に準拠して通信する。
As shown in FIG. 2, the
The host-
また、図2に示すように、管理サーバー14は、制御部40と、記憶部41とを備えている。
制御部40は、管理サーバー14の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。制御部40は、画像データ更新部40aを備えているがこれについては後述する。記憶部41は、ハードディスク等の不揮発メモリーにより構成され、商品マスターデータベースや、在庫管理データベース等の各種データベースを記憶する。記憶部41には、対応テーブル41aが記憶可能であるが、これについては後述する。なお、管理サーバー14は、図示せぬ通信インターフェイスを備え、この通信インターフェイスを介してホストコンピューター12と所定の通信規格に準拠して通信する。
As shown in FIG. 2, the
The
次に、レシートの発行において、画像を記録するときのホストコンピューター12、及び、プリンター11の基本的な動作について説明する。
上述したように、プリンター11のプリンター側記憶部22には、登録画像データ22a(画像データ)が、複数、記憶されている。登録画像データ22aは、レシートの発行に際し、レシートに定型的に記録される画像の画像データのことである。レシートに定型的に記録される画像とは、例えば、トップロゴや、ボトムロゴ、広告、クーポン等である。登録画像データ22aの具体的な態様は、画像バッファーに展開可能な実データ(ビットマップデータ等)である。プリンター側記憶部22において、登録画像データ22aのそれぞれには、各データに一意に割り振られた識別コード22bが対応付けて記憶されている。
以下、ホストコンピューター12と、プリンター11とが協働して、ある1の登録画像データ22aに基づいて画像を記録するときの基本的な動作について説明する。
まず、ホストコンピューター12のホスト側制御部30は、予めインストールされているプリンタードライバーの機能により、記録させようとしている画像に対応する登録画像データ22aに割り振られた識別コード22bを指定し、この識別コード22bに対応付けられた登録画像データ22aに基づいて画像を記録することを指示する制御コマンドを生成し、プリンター11に送信する。
当該制御コマンドを受信したプリンター11のプリンター側制御部20は、当該制御コマンドに含まれる識別コード22bに基づいて、プリンター側記憶部22に記憶された登録画像データ22aのうち、当該識別コード22bと対応付けられた登録画像データ22aを特定する。次いで、プリンター側制御部20は、特定した登録画像データ22aに必要な画像処理を施してイメージデータを生成し、生成したイメージデータを図示せぬ画像バッファーに展開する。次いで、プリンター側制御部20は、画像バッファーに展開したイメージデータに基づいて、図示せぬヘッド駆動回路を制御してサーマルヘッドを駆動するともに、適切なタイミングで各種機構を制御して、感熱ロール紙に登録画像データ22aが示す画像を記録する。
Next, basic operations of the
As described above, the printer-
Hereinafter, a basic operation when the
First, the host-
The printer-
さて、制御システム1は、1つの店舗に適用されたシステムであるが、本実施形態では、プリンター11のそれぞれについて、プリンター側記憶部22に記憶されている1又は複数の登録画像データ22aのそれぞれが一致し、かつ、各登録画像データ22aに対応付けられた識別コード22bのそれぞれが一致することが求められている。例えば、いずれか1つのプリンター11のプリンター側記憶部22に、登録画像データXと識別コードxとが対応付けて記憶され、かつ、登録画像データYと識別コードyとが対応付けて記憶されている場合、他のいずれのプリンター11についても、全く同様に、登録画像データX、識別コードx、及び、登録画像データY、識別コードyが記憶されていることが求められている。これは以下の理由による。すなわち、登録画像データ22aは、上述したように、トップロゴ等のレシートに定型的に記録される画像の画像データであるが、レシートがそれぞれの顧客に手渡されるものであることを考えると、レシートに記録されるトップロゴ等は、発行されるプリンター11にかかわらず店舗内で統一する必要があるからである。また、ある1の登録画像データ22aに対応付けられた識別コード22bを、各プリンター11間で共通化することにより、ホストコンピューター12ごとに識別コード22bの値の相違に応じてプリンタードライバーの登録画像データ22aに関する設定や、アプリケーションの設定を変える必要がなく、設定が容易であり、メンテナンス性がよく、また、故障その他の原因により、1のホストコンピューター12に接続されたプリンター11を他のプリンター11に変更する場合であっても、ホストコンピューター12に対する改変(例えば、識別コード22bに関する設定値の変更や、プログラム修正等)が一切必要なく、利便性が高いからである。
ここで、制御システム1が適用された店舗では、トップロゴ等を変更する場合がある。例えば、トップロゴ等のデザインを変更した場合や、クリスマスシーズン等の所定の期間にイベントに応じたデザインにトップロゴ等を変更する場合である。この場合、従来は、プリンター11のそれぞれについて、所定のツール等を利用してトップロゴ等に係る登録画像データ22aを編集し、また、変更後のトップロゴ等に係る登録画像データ22aを新たに記憶させる等していたが、この従来のやり方は煩雑であった。
以上を踏まえ、本実施形態に係る管理サーバー14は、以下の動作を実行する。
Now, although the
Here, in a store to which the
Based on the above, the
図3は、管理サーバー14の動作を示すフローチャートである。以下の説明において、画像データ更新部40aの機能は、制御部40のCPUが所定のプログラムを読み出して実行する等、ハードウェアとソフトウェアとの協働により実現される。
図3に示すように、まず、管理サーバー14の制御部40の画像データ更新部40aは、ステップSA2以下で詳述する各プリンター11間での登録画像データ22a、及び、識別コード22bの同一性の維持に係る一連の処理について、当該処理の実行を開始するか否かを監視する(ステップSA1)。
ここで、画像データ更新部40aは、以下の場合に、ステップSA2以下の処理を開始すると判別する。
すなわち、管理サーバー14は所定の入力手段を介してユーザーがステップSA2以下の一連の処理の開始を指示できる構成となっており、当該指示があったことを検出した場合、画像データ更新部40aは、ステップSA2以下の処理を開始する。
また、管理サーバー14は、予め定められた時刻(例えば、店舗の開店時間に対応する時刻や、閉店時間に対応する時刻)に至ったことをトリガーとして、ステップSA2以下の処理の実行を開始するよう、ユーザーが設定できる構成となっている。そして、当該設定がなされている場合は、画像データ更新部40aは、現在時刻が設定された時刻に至ったことをトリガーとして、ステップSA2以下の処理を開始する。
また、後に明らかとなるとおり、ステップSA2以下の処理では、代表プリンターPD(後述)に記憶された登録画像データ22aを利用して、各プリンター11が記憶する登録画像データ22aの同一性の維持が図られるが、ネットワーク15に代表プリンターPDが接続されたことをトリガーとして、ステップSA2以下の処理を実行するよう、ユーザーが設定できる構成となっている。そして、当該設定がなされている場合は、画像データ更新部40aは、ネットワーク15に代表プリンターPDが接続されたことを検出した場合、ステップSA2以下の処理を開始する。
FIG. 3 is a flowchart showing the operation of the
As shown in FIG. 3, first, the image
Here, the image
In other words, the
In addition, the
Further, as will be apparent later, in the processing after step SA2, the
さて、各プリンター11間での登録画像データ22a、及び、識別コード22bの同一性の維持に係る一連の処理を開始すると判別した場合(ステップSA1:YES)、画像データ更新部40aは、代表プリンターPDに接続されたホストコンピューター12(以下、「代表ホストコンピューターHD」という。)を介して、代表プリンターPDと通信し、当該代表プリンターPDのプリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせの全てを通信によって取得する(ステップSA2)。なお、本実施形態に係るホストコンピューター12には、管理サーバー14からプリンター11に対して送信されたコマンド、データを仲介する機能、及び、プリンター11から管理サーバー14に対して送信されたコマンド、データを仲介する機能が実装されている。
代表プリンターPDとは、そのプリンター側記憶部22に、ユーザーが求める状態で、登録画像データ22aと識別コード22bとの組み合わせが記憶されているプリンター11のことである。すなわち、ネットワーク15上の全てのプリンター11について、プリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせが、代表プリンターPDにおけるものと同一であることが求められ、かつ、ステップSA2以下の処理によって、当該要求が実現されることとなる。
本実施形態では、ネットワーク15上のプリンター11の全てが記憶する登録画像データ22aと識別コード22bとの組み合わせを同一とするためには、ユーザーは、所定のツール等を利用して、代表プリンターPDのプリンター側記憶部22における登録画像データ22aと識別コード22bとの組み合わせを、ユーザーが求める組み合わせ(各プリンター11のプリンター側記憶部22に最終的に記憶されるべき組み合わせ)とすればよい。
なお、画像データ更新部40aは、ネットワーク15に接続されたプリンター11の中から例えば以下のようにして代表プリンターPDを判別する。すなわち、代表プリンターPDのファームウェアに、管理サーバー14からの問い合わせに応じて、自身が代表プリンターPDであることを応答する機能を実装し、画像データ更新部40aは、ブロードキャストアドレスを利用して、各ホストコンピューター12を介して、全てのプリンター11に問い合わせを行い、当該問い合わせに対する応答に基づいて、代表プリンターPDを判別する。この他、ネットワーク15上に設けられたネットワークハブにおいて、代表ホストコンピューターHDが接続されるポートが固定である場合は、画像データ更新部40aは、当該ポートに接続されたホストコンピューター12が接続されているプリンター11を代表プリンターPDと判別する。つまり、代表プリンターPDを判別する方法は、既存の技術を広く適用可能である。
以下の説明では、図1に示すように、代表プリンターPDのプリンター側記憶部22には、登録画像データXと識別コードxとが対応付けて記憶されると共に、登録画像データYと識別コードyとが対応付けて記憶されており、ステップSA2において、画像データ更新部40aは、これら登録画像データ22aと識別コード22bとの組み合わせの全てを取得したものとする。
When it is determined that a series of processes related to maintaining the identity of the registered
The representative printer PD is the
In this embodiment, in order to make the combination of the registered
The image
In the following description, as shown in FIG. 1, the registered image data X and the identification code x are stored in the printer-
次いで、画像データ更新部40aは、代表プリンターPDから取得した登録画像データ22aの全てについて、チェック用データを生成する(ステップSA3)。本実施形態では、チェック用データとは、具体的には、予め定められたハッシュ関数であって、制御システム1の各機器において共通して使用されるハッシュ関数により算出されるハッシュ値である。なお、チェック用データは、登録画像データ22aに基づいて算出される代表値であって、同一のデータに基づいて算出したときに、必ず、同一の値となるようなデータであれば何でもよく、例えば、チェックサム等を利用した値であってもよい。
次いで、画像データ更新部40aは、ステップSA3で求めたチェック用データのそれぞれに基づいて、チェック用データと、対応する識別コード22bとが対応付けて記憶された対応テーブル41aを生成し、記憶部41に記憶する(ステップSA4)。
図4は、対応テーブル41aの一例を模式的に示す図である。
図4に示すように、対応テーブル41aでは、識別コード22bのそれぞれと、各識別コード22bに対応する登録画像データ22aに基づいて算出されたチェック用データとが対応付けて記憶される。図4の例では、1件目のレコードにおいて、識別コードxと、識別コードxに対応する登録画像データXに基づいて算出されたチェック用データであるチェック用データTxとが対応付けられ、2件目のレコードにおいて、識別コードyと、識別コードyに対応する登録画像データYに基づいて算出されたチェック用データであるチェック用データTyとが対応付けられている。
対応テーブル41aの生成、記憶後、画像データ更新部40aは、ネットワーク15上の各プリンター11(代表プリンターPDを除く)について、更新処理を実行する(ステップSA5)。以下、更新処理について詳述する。
Next, the image
Next, the image
FIG. 4 is a diagram schematically illustrating an example of the correspondence table 41a.
As shown in FIG. 4, in the correspondence table 41a, each of the
After the correspondence table 41a is generated and stored, the image
以下の説明では、図1に示すように、ネットワーク15上に、代表プリンターPDのほか、プリンターP1、P2、P3、及び、P4が接続されているものとして説明する。そして、ステップSA5の更新処理は、ネットワーク15上の全てのプリンター11に対して行われる処理であるため、プリンターP1、P2、P3、及び、P4のそれぞれについて行われる更新処理について説明する。また、以下の説明では、1の登録画像データ22aと、当該1の登録画像データ22aに対応付けられた識別コード22bとの組み合わせをハイフンを用いて「登録画像データ○−識別コード○」のように表現する。
図1に示すように、プリンターP1のプリンター側記憶部22には、登録画像データX−識別コードx、及び、登録画像データY−識別コードyが記憶されている。また、プリンターP2のプリンター側記憶部22には、登録画像データX−識別コードx、及び、登録画像データY’−識別コードyが記憶されている。登録画像データYと登録画像データY’とは、同一のデータではない。また、プリンターP3のプリンター側記憶部22には、登録画像データX−識別コードxが記憶されている。また、プリンターP4のプリンター側記憶部22には、登録画像データX−識別コードx、登録画像データY−識別コードy、及び、登録画像データZ−識別コードzが記憶されている。
In the following description, as shown in FIG. 1, it is assumed that printers P1, P2, P3, and P4 are connected to the
As shown in FIG. 1, registered image data X-identification code x and registered image data Y-identification code y are stored in the printer-
図5(A)は、プリンターP1に対して行われる更新処理を説明するためのフローチャートであり、(A1)は管理サーバー14の動作を、(A2)はプリンターP1の動作をそれぞれ示している。
まず、管理サーバー14の制御部40の画像データ更新部40aは、プリンターP1のプリンター側制御部20に対して、プリンター側記憶部22に記憶されている登録画像データ22a−識別コード22bの全てに関して、識別コード22bと、登録画像データ22aから算出されるチェック用データとの組み合わせを送信することを要求する(ステップSB1)。
当該要求に応じて、プリンターP1のプリンター側制御部20は、プリンター側記憶部22に記憶されている登録画像データ22aの全てについて、予め定められたハッシュ関数を用いてチェック用データを算出する(ステップSC1)。本例では、プリンターP1のプリンター側制御部20は、登録画像データXに基づいてチェック用データTxを算出し、また、登録画像データYに基づいてチェック用データTyを算出する。以下の説明では、1のチェック用データと、当該1のチェック用データに対応する識別コード22bとの組み合わせをハイフンを用いて「識別コード○−チェック用データ○」のように表現する。
次いで、プリンターP1のプリンター側制御部20は、算出したチェック用データと、対応する識別コード22bとの組み合わせを、所定のプロトコルに準拠して、管理サーバー14に送信する(ステップSC2)。本例では、プリンターP1のプリンター側制御部20は、識別コードx−チェック用データTx、及び、識別コードy−チェック用データTyを管理サーバー14に送信する。
FIG. 5A is a flowchart for explaining an update process performed on the printer P1, where (A1) shows the operation of the
First, the image
In response to the request, the printer-
Next, the printer-
プリンターP1からチェック用データと、対応する識別コード22bとの組み合わせを受信すると、画像データ更新部40aは、対応テーブル41aを参照し、代表プリンターPDに係る識別コードとチェック用データとの組み合わせのそれぞれと、プリンターP1に係る識別コードとチェック用データとの組み合わせのそれぞれとを比較し、差異を抽出する(ステップSB2)。具体的には、画像データ更新部40aは、代表プリンターPDに係る識別コード22bと、プリンターP1に係る識別コード22bとの間での一致部分、相違部分を検出し、さらに、一致している識別コード22bについては、対応するチェック用データのそれぞれを比較し、データが示す値が一致しているか否かを検出する。
本例では、代表プリンターPD、及び、プリンターP1の双方について、識別コード22bとチェック用データとの組み合わせは、識別コードx−チェック用データTx、及び、識別コードy−チェック用データTyであるため、ステップSB2において、画像データ更新部40aは、各プリンター間で、当該組み合わせに相違はないと判別する。
ここで、代表プリンターPDと、プリンターP1との間で、識別コード22bとチェック用データとの組み合わせが全て一致しているということは、これらプリンター11のそれぞれについて、プリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせが一致していることである。これを踏まえ、画像データ更新部40aは、プリンターP1のプリンター側記憶部22に記憶された登録画像データ22a、及び、識別コード22bについて何ら更新を行わず、処理を終了する。
When the combination of the check data and the
In this example, for both the representative printer PD and the printer P1, the combination of the
Here, the fact that the combination of the
このように、本実施形態では、プリンターP1に対する更新処理において、プリンターP1は、管理サーバー14に対して、自身が記憶している登録画像データ22aそのものではなく、当該データに基づいて算出されるチェック用データを送信する。登録画像データ22aは、画像を構成する画素ごとに情報を保持する画像データであり、他のデータと比較して非常にサイズの大きなデータであるが、上記のような処理が行われるため、ネットワーク15における通信トラフィックの増大を効果的に抑制可能である。
また、本実施形態では、プリンターP1に対する更新処理において、代表プリンターPDにおける登録画像データ22aと、プリンターP1における登録画像データ22aとの比較は、それぞれのデータにより算出されるチェック用データの比較によって行われる。ここで、チェック用データは、登録画像データ22aと比して非常にサイズの小さなデータであるため、上記比較に係る処理の効率化を実現でき、CPUに対する負荷を低減できる。
As described above, in the present embodiment, in the update process for the printer P1, the printer P1 checks with the
Further, in the present embodiment, in the update process for the printer P1, the comparison between the
図5(B)は、プリンターP2に対して行われる更新処理を説明するためのフローチャートであり、(B1)は管理サーバー14の動作を、(B2)はプリンターP1の動作をそれぞれ示している。
まず、画像データ更新部40aは、プリンターP2のプリンター側制御部20に対して、識別コード22bと、チェック用データとの組み合わせの全てを送信することを要求する(ステップSD1)。
当該要求に応じて、プリンターP2のプリンター側制御部20は、登録画像データ22aの全てについて、チェック用データを算出する(ステップSE1)。本例では、プリンターP2のプリンター側制御部20は、登録画像データXに基づいてチェック用データTxを算出し、また、登録画像データY’に基づいてチェック用データTy’を算出する。
次いで、プリンターP1のプリンター側制御部20は、算出したチェック用データと、対応する識別コード22bとの組み合わせを、所定のプロトコルに準拠して、管理サーバー14に送信する(ステップSE2)。本例では、プリンターP2のプリンター側制御部20は、識別コードx−チェック用データTx、及び、識別コードy−チェック用データTy’を管理サーバー14に送信する。
FIG. 5B is a flowchart for explaining the update process performed on the printer P2. FIG. 5B shows the operation of the
First, the image
In response to the request, the printer-
Next, the printer-
プリンターP2からチェック用データと、対応する識別コード22bとの組み合わせを受信すると、画像データ更新部40aは、対応テーブル41aを参照し、代表プリンターPDに係る識別コードとチェック用データとの組み合わせのそれぞれと、プリンターP2に係る識別コードとチェック用データとの組み合わせのそれぞれとを比較し、差異を抽出する(ステップSD2)。
本例では、代表プリンターPDに係る識別コードy−チェック用データTyと、プリンターP2に係る識別コードy−チェック用データTy’とについて、識別コード22bが一致する一方、識別コード22bに対応付けられたチェック用データが不一致であるため、画像データ更新部40aは、この点について差異を検出する。
次いで、画像データ更新部40aは、プリンターP2のプリンター側制御部20に対して、上記検出した差異がなくなるように、プリンター側記憶部22における登録画像データ22aを更新させる(ステップSD3)。具体的には、画像データ更新部40aは、識別コードyと対応付けられている登録画像データ22a(本例では、登録画像データY’)について、登録画像データYによって上書き更新させる制御コマンドを生成し、プリンターP2のプリンター側制御部20に出力する。
当該制御コマンドを受信したプリンターP2のプリンター側制御部20は、当該制御コマンドに基づいて、識別コードyと対応付けている登録画像データY’について、登録画像データYによって上書き更新する(ステップSE3)。これにより、プリンターP2のプリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせが、登録画像データX−識別コードx、及び、登録画像データY−識別コードyとなり、代表プリンターPDにおける組み合わせと完全に一致した状態となる。
なお、プリンターP2に対する更新処理において、プリンターP2から管理サーバー14に対してチェック用データが送信されること、及び、画像データ更新部40aがチェック用データを比較することの効果については、上述した通りである。
When the combination of the check data and the
In this example, the identification code y-check data Ty related to the representative printer PD and the identification code y-check data Ty ′ related to the printer P2 match the
Next, the image
The printer-
In the update process for the printer P2, as described above, the check data is transmitted from the printer P2 to the
図6(A)は、プリンターP3に対して行われる更新処理を説明するためのフローチャートであり、(A1)は管理サーバー14の動作を、(A2)はプリンターP3の動作をそれぞれ示している。
まず、画像データ更新部40aは、プリンターP3のプリンター側制御部20に対して、識別コード22bと、チェック用データとの組み合わせの全てを送信することを要求する(ステップSF1)。
当該要求に応じて、プリンターP3のプリンター側制御部20は、登録画像データ22aの全てについて、チェック用データを算出する(ステップSG1)。本例では、プリンターP3のプリンター側制御部20は、登録画像データXに基づいてチェック用データTxを算出する。
次いで、プリンターP3のプリンター側制御部20は、算出したチェック用データと、対応する識別コード22bとの組み合わせを、所定のプロトコルに準拠して、管理サーバー14に送信する(ステップSG2)。本例では、プリンターP3のプリンター側制御部20は、識別コードx−チェック用データTxを管理サーバー14に送信する。
FIG. 6A is a flowchart for explaining the update process performed on the printer P3. (A1) shows the operation of the
First, the image
In response to the request, the printer-
Next, the printer-
プリンターP3からチェック用データと、対応する識別コード22bとの組み合わせを受信すると、画像データ更新部40aは、対応テーブル41aを参照し、代表プリンターPDに係る識別コードとチェック用データとの組み合わせのそれぞれと、プリンターP3に係る識別コードとチェック用データとの組み合わせのそれぞれとを比較し、差異を抽出する(ステップSF2)。
本例では、代表プリンターPDに係る識別コードy−チェック用データTyについて、プリンターP3には対応する組み合わせがないため、画像データ更新部40aは、この点について差異を検出する。
次いで、画像データ更新部40aは、プリンターP3のプリンター側制御部20に対して、上記検出した差異がなくなるように、プリンター側記憶部22における登録画像データ22aを更新させる(ステップSF3)。具体的には、画像データ更新部40aは、プリンター側制御部20に、新たに、登録画像データYと識別コードyとを対応付けて記憶させる(更新させる)ことを指示する制御コマンドを生成し、プリンターP3のプリンター側制御部20に出力する。
当該制御コマンドを受信したプリンターP3のプリンター側制御部20は、当該制御コマンドに基づいて、プリンター側記憶部22の所定の記憶領域に、登録画像データYと、識別コードyとを対応付けて記憶する(更新する)(ステップSG3)。これにより、プリンターP3のプリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせが、登録画像データX−識別コードx、及び、登録画像データY−識別コードyとなり、代表プリンターPDにおける組み合わせと完全に一致した状態となる。
なお、プリンターP3に対する更新処理において、プリンターP3から管理サーバー14に対してチェック用データが送信されること、及び、画像データ更新部40aがチェック用データを比較することの効果については、上述した通りである。
When the combination of the check data and the
In this example, since there is no corresponding combination in the printer P3 for the identification code y-check data Ty related to the representative printer PD, the image
Next, the image
The printer-
As described above, in the update process for the printer P3, the check data is transmitted from the printer P3 to the
図6(B)は、プリンターP4に対して行われる更新処理を説明するためのフローチャートであり、(B1)は管理サーバー14の動作を、(B2)はプリンターP4の動作をそれぞれ示している。
まず、画像データ更新部40aは、プリンターP4のプリンター側制御部20に対して、識別コード22bと、チェック用データとの組み合わせの全てを送信することを要求する(ステップSH1)。
当該要求に応じて、プリンターP4のプリンター側制御部20は、登録画像データ22aの全てについて、チェック用データを算出する(ステップSI1)。本例では、プリンターP4のプリンター側制御部20は、登録画像データXに基づいてチェック用データTxを算出し、登録画像データYに基づいてチェック用データTyを算出し、登録画像データZに基づいてチェック用データTzを算出する。
次いで、プリンターP3のプリンター側制御部20は、算出したチェック用データと、対応する識別コード22bとの組み合わせを、所定のプロトコルに準拠して、管理サーバー14に送信する(ステップSI2)。本例では、プリンターP4のプリンター側制御部20は、識別コードx−チェック用データTx、識別コードy−チェック用データTy、及び、識別コードz−チェック用データTzを管理サーバー14に送信する。
FIG. 6B is a flowchart for explaining the update process performed on the printer P4. (B1) shows the operation of the
First, the image
In response to the request, the printer-
Next, the printer-
プリンターP4からチェック用データと、対応する識別コード22bとの組み合わせを受信すると、画像データ更新部40aは、対応テーブル41aを参照し、代表プリンターPDに係る識別コードとチェック用データとの組み合わせのそれぞれと、プリンターP3に係る識別コードとチェック用データとの組み合わせのそれぞれとを比較し、差異を抽出する(ステップSH2)。
本例では、プリンターP4に係る識別コードz−チェック用データTzについて、代表プリンターPDには対応する組み合わせがないため、画像データ更新部40aは、この点について差異を検出する。
次いで、画像データ更新部40aは、プリンターP4のプリンター側制御部20に対して、上記検出した差異がなくなるように、プリンター側記憶部22における登録画像データ22aを更新させる(ステップSH3)。具体的には、画像データ更新部40aは、プリンター側制御部20に、登録画像データZ−識別コードzを削除させる(更新させる)ことを指示する制御コマンドを生成し、プリンターP4のプリンター側制御部20に出力する。
当該制御コマンドを受信したプリンターP4のプリンター側制御部20は、当該制御コマンドに基づいて、プリンター側記憶部22の所定の記憶領域に記憶された登録画像データZ−識別コードzを削除する(更新する)。これにより、プリンターP4のプリンター側記憶部22に記憶されている登録画像データ22aと識別コード22bとの組み合わせが、登録画像データX−識別コードx、及び、登録画像データY−識別コードyとなり、代表プリンターPDにおける組み合わせと完全に一致した状態となる。
なお、プリンターP4に対する更新処理において、プリンターP4から管理サーバー14に対してチェック用データが送信されること、及び、画像データ更新部40aがチェック用データを比較することの効果については、上述した通りである。
When receiving the combination of the check data and the
In this example, since there is no corresponding combination in the representative printer PD for the identification code z-check data Tz related to the printer P4, the image
Next, the image
The printer-
Note that, in the update process for the printer P4, the check data is transmitted from the printer P4 to the
このように、本実施形態では、ネットワーク15上のプリンター11の全てが記憶する登録画像データ22aと識別コード22bとの組み合わせを同一とするためには、ユーザーは、所定のツール等を利用して、代表プリンターPDのプリンター側記憶部22における登録画像データ22aと識別コード22bとの組み合わせを、ユーザーが求める組み合わせ(各プリンター11のプリンター側記憶部22に最終的に記憶されるべき組み合わせ)とすればよい。これにより、以下のようなメリットもある。すなわち、代表プリンターPDは、プリントエンジン21を備えているため、登録画像データ22aが示す画像を、実際に感熱ロール紙に記録することが可能である。このことを利用して、ユーザーは、代表プリンターPDに記憶される登録画像データ22a及び識別コード22bを所望の内容とした後、実際に、代表プリンターPDによって登録画像データ22aが示す画像を感熱ロール紙に記録させ、その内容を確認した上で、代表プリンターPDと、他のプリンター11とのデータが同一性を維持させることができる。これにより、代表プリンターPDの機能を利用して容易に、登録画像データ22aが想定されたものであるか否かのチェックができ、かつ、想定されたものであるとの確認が取れた場合には、容易に、ネットワーク15上の各プリンター11についてデータの同一性を維持できる。
As described above, in this embodiment, in order to make the combination of the registered
以上説明したように、本実施形態では、管理サーバー14の画像データ更新部40aは、ネットワーク15を介して接続されたプリンター11のうちの1つある代表プリンターPDから、この代表プリンターPDに記憶されている1又は複数の登録画像データ22aを取得し、取得した1又は複数の登録画像データ22aに基づいて、代表プリンターPD以外の他のプリンター11に記憶された登録画像データ22aを更新する(削除、新たな登録画像データ22aの追加を含む)ことにより、代表プリンターPDが記憶する1又は複数の登録画像データ22aと、他のプリンター11が記憶する1又は複数の登録画像データ22aとの同一性を維持する。
この構成によれば、代表プリンターPDについてのみ、記憶された登録画像データ22aを正しい状態とすれば、接続された他のプリンター11について、自動で、記憶された登録画像データ22aが、代表プリンターPDと同一性を有する正しい状態となる。つまり、プリンター11の全てについてツールを利用して登録画像データ22aの編集をするといった煩雑な作業を経ることなく、代表プリンターPDについてのみ登録画像データ22aの編集を行うという簡易な作業により、各プリンター11に記憶された登録画像データ22aについて、その同一性を維持できる。
As described above, in the present embodiment, the image
According to this configuration, if the stored
また、本実施形態では、画像データ更新部40aは、代表プリンターPDから取得した登録画像データ22aに基づいて、他のプリンター11のそれぞれについて、他のプリンター11に記憶されている登録画像データ22aと、代表プリンターPDに記憶されている登録画像データ22aとの差異を抽出し、抽出した差異がなくなるように、代表プリンターPDから取得した登録画像データ22aに基づいて、他のプリンター11に記憶された登録画像データ22aを更新する。
ここで、管理サーバー14が、代表プリンターPDから取得した登録画像データ22aに基づいて、他のプリンター11のそれぞれの登録画像データ22aを上書き更新することにより、代表プリンターPDと、他のプリンター11との間で登録画像データ22aの同一性を維持するようにすることも考えられる。しかしながら、この場合、管理サーバー14からから他のプリンター11のそれぞれに対して、比較的サイズの大きい登録画像データ22aが送信されることとなり、通信トラフィックの増大を招く可能性があり、また、既に記憶している登録画像データ22aが、代表プリンターPDに記憶されている登録画像データ22aと一致する場合等に不必要に登録画像データ22aの更新が行われることとなり、処理効率がよくない。これを踏まえ、上記構成によれば、管理サーバー14は、代表プリンターPDに記憶された登録画像データ22aと、他のプリンター11に記憶された登録画像データ22aの差異に応じて、登録画像データ22aを更新することにより、不必要な登録画像データ22aの更新を抑制でき、これに伴って通信トラフィックの増大を抑制できる。
In the present embodiment, the image
Here, the
また、本実施形態では、画像データ更新部40aは、他のプリンター11に記憶されている登録画像データ22aと、代表プリンターPDに記憶されている登録画像データ22aとの差異を抽出する場合において、他のプリンター11に係る1の登録画像データ22aと、代表プリンターPDに係る1の登録画像データ22aとが同一のデータであるか否かを判別する場合、代表プリンターPDに係る1の登録画像データ22aに基づいて、所定の算出方法によりチェック用データを算出すると共に、他のプリンター11に対して、当該他のプリンター11に係る1の登録画像データ22aから所定の算出方法で算出したチェック用データの送信を要求して、当該チェック用データを取得し、代表プリンターPDに係るチェック用データと、他のプリンター11に係るチェック用データとが同一か否かを判別する。
この構成によれば、他のプリンター11に係る1の登録画像データ22aと、代表プリンターPDに係る1の登録画像データ22aとが同一のデータであるか否かを判別する場合、他のプリンター11から、管理サーバー14に対して、登録画像データ22aそのものではなく、登録画像データ22aから算出されるチェック用データが送信される。このため、通信トラフィックの増大を抑制できると共に、登録画像データ22aが同一か否かを判別する際に、登録画像データ22a同士の比較ではなく、チェック用データ同士の比較で済むため、処理に要する時間の短縮化も図ることができる。
In the present embodiment, the image
According to this configuration, when it is determined whether or not the one registered
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、管理サーバー14に送信するためのチェック用データの算出等を、プリンター11が行う構成であった。しかしながら、ステップSA5の更新処理におけるプリンター11側の各種処理を適宜ホストコンピューター12が行うようにしてもよい。この場合、ホストコンピューター12は、記録装置として機能する。
また例えば、図5(B1)のステップSD3、図6(A1)のステップSF3、及び、図6(B1)のステップSH3において、管理サーバー14が登録画像データ22aの更新に係る制御コマンドを生成し、ホストコンピューター12を介して、プリンター11に出力していたが、これについて、管理サーバー14の制御の下、ホストコンピューター12がプリンタードライバーの機能等により、制御コマンドを生成し、プリンター11に出力する構成であってもよい。
また例えば、ホストコンピューター12に接続されたプリンター11はサーマル式の記録装置であったが記録方式はこれに限らずインクジェット式、ドットインパクト式など何であってもよい。すなわち、登録画像データ22a等の事前に記憶した画像データに基づいて画像を記録可能な記録装置に接続された制御装置、及び、このような記録装置と制御装置とを備えるシステムに、本発明を広く適用可能である。また例えば、図2に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、管理サーバー14の各機能ブロックの機能を、管理サーバー14に外部接続される別の装置に持たせるようにしてもよい。また、管理サーバー14や、プリンター11、ホストコンピューター12は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、図3、5、6のフローチャートに係る動作を含む各種動作を実行するようにしてもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the
Further, for example, in step SD3 in FIG. 5 (B1), step SF3 in FIG. 6 (A1), and step SH3 in FIG. 6 (B1), the
Further, for example, the
1…制御システム、11…プリンター(記録装置)、12…ホストコンピューター(記録装置)、14…管理サーバー(制御装置)、22a…登録画像データ、22b…識別コード、40…制御部、40a…画像データ更新部、PD…代表プリンター(代表記録装置)。
DESCRIPTION OF
Claims (4)
前記複数接続される記録装置のうちの1つである代表記録装置から前記代表記録装置に記憶された画像データを取得する、画像データ更新部を備え、
前記画像データ更新部は、
前記代表記録装置から取得した画像データに基づいて、
前記代表記録装置以外の他の記録装置のそれぞれについて、前記他の記録装置に記憶された画像データと、前記代表記録装置に記憶された画像データとの差異を抽出し、抽出した差異がなくなるように、前記他の記録装置に記憶された画像データを更新することを特徴とする制御装置。 A control device to which a plurality of recording devices for recording images based on stored image data is connected,
Acquires images data stored in the representative recording device from the representative recording apparatus which is one of the plurality connected thereto records device includes an image data updating unit,
The image data update unit
Based on the images data acquired from the representative recording apparatus,
For each of the other recording devices other than the representative recording device, the difference between the image data stored in the other recording device and the image data stored in the representative recording device is extracted so that the extracted difference disappears. the control unit and updates the images data stored in the other record device.
前記他の記録装置に記憶された画像データと、前記代表記録装置に記憶された画像データとの差異を抽出する場合において、前記他の記録装置に係る1の画像データと、前記代表記録装置に係る1の画像データとが同一のデータであるか否かを判別する場合、
前記代表記録装置に係る1の画像データに基づいて、所定の算出方法によりチェック用データを算出し、前記他の記録装置に対して、当該他の記録装置に係る1の画像データから前記所定の算出方法で算出されたチェック用データの送信を要求して、当該チェック用データを取得し、
前記代表記録装置に係る1の画像データのチェック用データと、前記他の記録装置に係る1の画像データのチェック用データとが同一か否かを判別することを特徴とする請求項1に記載の制御装置。 The image data update unit
And images data stored in the other record device, in the case of extracting the difference between the stored images data to the representative recording device, and one of the images data relating to the other record device, If the first image picture data according to the representative recording apparatus determines whether or not the same data,
On the basis of the first image picture data of the representative recording apparatus calculates the check data by a predetermined calculation method, with respect to the other record device, the first image picture data pertaining to the other record device Requesting the transmission of the check data calculated by the predetermined calculation method, and obtaining the check data,
Claims, characterized in that 1 and the check data of the images data according to the representative recording apparatus, and the check data of the first image picture data according to the other record device to determine same or not The control apparatus according to 1 .
前記複数接続される記録装置のうちの1つである代表記録装置から前記代表記録装置に記憶された画像データを取得し、
前記代表記録装置から取得した画像データに基づいて、前記代表記録装置以外の他の記録装置のそれぞれについて、前記他の記録装置に記憶された画像データと、前記代表記録装置に記憶された画像データとの差異を抽出し、抽出した差異がなくなるように、前記他の記録装置に記憶された画像データを更新する
ことを特徴とする制御装置の制御方法。 A control method for a control device in which a plurality of recording devices capable of recording images based on stored image data are connected,
Obtaining image data stored in the representative recording device from a representative recording device which is one of the plurality of connected recording devices;
Based on the image data acquired from the representative recording device, for each of the other recording devices other than the representative recording device, the image data stored in the other recording device and the image data stored in the representative recording device A control method for a control device , comprising: extracting image differences and updating image data stored in the other recording device so that the extracted differences are eliminated .
前記制御部を、
前記複数接続される記録装置のうちの1つである代表記録装置から前記代表記録装置に記憶された画像データを取得し、前記代表記録装置から取得した画像データに基づいて、前記代表記録装置以外の他の記録装置のそれぞれについて、前記他の記録装置に記憶された画像データと、前記代表記録装置に記憶された画像データとの差異を抽出し、抽出した差異がなくなるように、前記他の記録装置に記憶された画像データを更新する画像データ更新部として機能させることを特徴とするプログラム。 A program executed by a control unit that controls a control device to which a plurality of recording devices capable of recording images based on stored image data are connected,
The control unit
Image data stored in the representative recording device is acquired from a representative recording device that is one of the plurality of connected recording devices, and other than the representative recording device based on the image data acquired from the representative recording device For each of the other recording devices, the difference between the image data stored in the other recording device and the image data stored in the representative recording device is extracted, so that the extracted difference is eliminated. A program that functions as an image data update unit that updates image data stored in a recording apparatus .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012079278A JP5938991B2 (en) | 2012-03-30 | 2012-03-30 | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012079278A JP5938991B2 (en) | 2012-03-30 | 2012-03-30 | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2013210727A JP2013210727A (en) | 2013-10-10 |
JP2013210727A5 JP2013210727A5 (en) | 2015-04-16 |
JP5938991B2 true JP5938991B2 (en) | 2016-06-22 |
Family
ID=49528527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012079278A Expired - Fee Related JP5938991B2 (en) | 2012-03-30 | 2012-03-30 | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5938991B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3661331B2 (en) * | 1997-02-05 | 2005-06-15 | カシオ計算機株式会社 | Sales data processing apparatus and storage medium |
JP2007286767A (en) * | 2006-04-13 | 2007-11-01 | Canon Inc | Image retrieval system, image retrieval server, control method therefor, computer program and computer-readable storage medium |
JP4692549B2 (en) * | 2008-01-11 | 2011-06-01 | コニカミノルタビジネステクノロジーズ株式会社 | Image processing system |
-
2012
- 2012-03-30 JP JP2012079278A patent/JP5938991B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013210727A (en) | 2013-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2012232431A (en) | Recording device, method of controlling the same, and program | |
KR101429850B1 (en) | Recording device and control method of a recording device | |
JP5728946B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
US9098779B2 (en) | Recording control device, control method, and program | |
US20120072617A1 (en) | Electronic Device, Control Method for an Electronic Device, and Recording Medium Storing a Program Executed by a Control Unit that Controls the Electronic Device | |
JP5938991B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
KR101699649B1 (en) | Receipt printing system, control method for receipt printing system, and control device | |
US9058133B2 (en) | Control device, control method for a control device, and recording medium | |
US10048901B2 (en) | Control device, control method of a control device, and storage medium | |
JP2004348414A (en) | Print controller of pos system, and registration method and initialization method for image data | |
JP2015189104A (en) | Printer and control method of the same | |
JP2012162011A (en) | Recording device, control method of recording device, and program | |
JP5862045B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP5515498B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, PROGRAM | |
JP2011192107A (en) | Control device, recording system, control method of the control device and program | |
EP3373128B1 (en) | Method and printing system for processing a printjob | |
JP6127638B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP5949006B2 (en) | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP6003265B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
US11537343B2 (en) | Server and printing system | |
JP2019104200A (en) | Printer device | |
JP5987389B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP4393286B2 (en) | Information processing apparatus, control method therefor, and program | |
JP6578894B2 (en) | Network system and control device | |
JP5838742B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150302 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150302 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160209 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160401 |
|
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: 20160419 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160502 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5938991 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |