JP5938991B2 - CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM - Google Patents

CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM Download PDF

Info

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
Application number
JP2012079278A
Other languages
Japanese (ja)
Other versions
JP2013210727A5 (en
JP2013210727A (en
Inventor
俊一 若狭
俊一 若狭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012079278A priority Critical patent/JP5938991B2/en
Publication of JP2013210727A publication Critical patent/JP2013210727A/en
Publication of JP2013210727A5 publication Critical patent/JP2013210727A5/ja
Application granted granted Critical
Publication of JP5938991B2 publication Critical patent/JP5938991B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2005−228021号公報Japanese Patent Laid-Open No. 2005-228021

ところで、大型ショッピングセンター等の店舗では、レシートを発行する記録装置が、多数、設置される。そして、通常、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.

本実施形態に係る制御システムの構成を示す図である。It is a figure which shows the structure of the control system which concerns on this embodiment. 制御システムを構成する各機器の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of each apparatus which comprises a control system. 管理サーバーの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a management server. 対応テーブルの一例を示す図である。It is a figure which shows an example of a correspondence table. 図3のステップSA5の更新処理を詳細に説明するフローチャート。The flowchart explaining the update process of step SA5 of FIG. 3 in detail. 図3のステップSA5の更新処理を詳細に説明するフローチャート。The flowchart explaining the update process of step SA5 of FIG. 3 in detail.

以下、図面を参照して本発明の実施形態について説明する。
図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 control system 1 according to the present embodiment.
The control system 1 is a system applied to a store such as a shopping center, a supermarket, or a convenience store, and has at least a function of issuing a receipt to a customer who has visited the store.
The control system 1 includes a plurality of printers 11 (recording apparatuses) that can issue receipts, and a host computer 12 that controls the printers 11 is connected to each of the printers 11.
The printer 11 is a thermal printer, and under the control of the corresponding host computer 12, heat is applied to the recording surface of the thermal roll paper by a thermal head to record an image, and then the thermal roll paper is cut at a predetermined position. Issue a receipt.
In the store, the printer 11 and the host computer 12 are installed for each of a plurality of checkout counters provided in the store, and the printer 11 receives a predetermined receipt at a predetermined timing under the control of the host computer 12. Issue.
Further, as shown in FIG. 1, the control system 1 includes a management server 14 (control device). The management server 14 is a server that manages the control system 1 in an integrated manner, and includes a database that stores data necessary for issuing receipts such as a product DB and a customer DB. The management server 14 and each of the host computers 12 are communicably connected via a network 15 such as a LAN. Further, the management server 14 can communicate with each printer 11 via each host computer 12 in accordance with a predetermined protocol.

図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 printer 11, the host computer 12, and the management server 14.
As illustrated in FIG. 2, the printer 11 includes a printer-side control unit 20, a print engine 21, and a printer-side storage unit 22.
The printer-side control unit 20 centrally controls each unit of the printer 11, and stores in a non-volatile manner a CPU as a calculation execution unit, firmware executed by the CPU, data related to the firmware, and the like. A ROM, a firmware executed by the CPU, a RAM that temporarily stores data related to the program, and other peripheral circuits are provided. In addition to the thermal head described above, the print engine 21 includes various mechanisms such as a transport mechanism that transports the thermal roll paper in a predetermined direction and a cutting mechanism that cuts the thermal roll paper. Based on the control command received from the host computer 12, the printer-side control unit 20 controls the thermal head and various mechanisms while monitoring the detection values of various sensors, and records a predetermined image on the thermal roll paper. Then, a receipt, which is a piece of paper on which a predetermined image is recorded, is issued by cutting the heat-sensitive roll paper at a predetermined position. The printer-side storage unit 22 includes a nonvolatile memory such as an EEPROM or a hard disk, and stores various data in a rewritable manner. In addition to firmware for controlling the operation of the printer 11, the printer-side storage unit 22 stores registered image data 22a and an identification code 22b. The registered image data 22a and the identification code 22b will be described later. The printer 11 includes a communication interface (not shown), and communicates with the host computer 12 in accordance with a predetermined communication standard via this communication interface.

また、図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 host computer 12 includes a host side control unit 30, a host side input unit 31, a host side display unit 32, and a host side storage unit 33.
The host-side control unit 30 centrally controls each unit of the host computer 12 and includes a CPU, ROM, RAM, other peripheral circuits, and the like, similar to the printer-side control unit 20 described above. The host-side input unit 31 is connected to an input device such as a keyboard or a barcode reader, detects inputs from these input devices, and outputs them to the host-side control unit 30. The host side display unit 32 includes a display panel such as a liquid crystal display panel, and displays various types of information on the display panel under the control of the host side control unit 30. The host-side storage unit 33 includes a nonvolatile memory such as an EEPROM or a hard disk, and stores various data in a rewritable manner. The host computer 12 includes a communication interface (not shown), and communicates with the printer 11 and the management server 14 via this communication interface in accordance with a predetermined communication standard.

また、図2に示すように、管理サーバー14は、制御部40と、記憶部41とを備えている。
制御部40は、管理サーバー14の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。制御部40は、画像データ更新部40aを備えているがこれについては後述する。記憶部41は、ハードディスク等の不揮発メモリーにより構成され、商品マスターデータベースや、在庫管理データベース等の各種データベースを記憶する。記憶部41には、対応テーブル41aが記憶可能であるが、これについては後述する。なお、管理サーバー14は、図示せぬ通信インターフェイスを備え、この通信インターフェイスを介してホストコンピューター12と所定の通信規格に準拠して通信する。
As shown in FIG. 2, the management server 14 includes a control unit 40 and a storage unit 41.
The control unit 40 centrally controls each unit of the management server 14 and includes a CPU, a ROM, a RAM, and other peripheral circuits. The control unit 40 includes an image data update unit 40a, which will be described later. The storage unit 41 is configured by a nonvolatile memory such as a hard disk, and stores various databases such as a product master database and an inventory management database. The storage unit 41 can store a correspondence table 41a, which will be described later. The management server 14 includes a communication interface (not shown), and communicates with the host computer 12 via this communication interface in accordance with a predetermined communication standard.

次に、レシートの発行において、画像を記録するときのホストコンピューター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 host computer 12 and the printer 11 when recording an image in issuing a receipt will be described.
As described above, the printer-side storage unit 22 of the printer 11 stores a plurality of registered image data 22a (image data). The registered image data 22a is image data of an image that is routinely recorded on a receipt when a receipt is issued. The images that are regularly recorded on the receipt are, for example, a top logo, a bottom logo, an advertisement, a coupon, and the like. A specific mode of the registered image data 22a is actual data (bitmap data or the like) that can be developed in an image buffer. In the printer-side storage unit 22, each registered image data 22a is stored with an identification code 22b uniquely assigned to each data.
Hereinafter, a basic operation when the host computer 12 and the printer 11 cooperate to record an image based on a certain registered image data 22a will be described.
First, the host-side control unit 30 of the host computer 12 designates the identification code 22b assigned to the registered image data 22a corresponding to the image to be recorded by the function of the printer driver installed in advance, and this identification Based on the registered image data 22a associated with the code 22b, a control command for instructing to record an image is generated and transmitted to the printer 11.
The printer-side control unit 20 of the printer 11 that has received the control command receives the identification code 22b of the registered image data 22a stored in the printer-side storage unit 22 based on the identification code 22b included in the control command. The associated registered image data 22a is specified. Next, the printer-side control unit 20 performs necessary image processing on the specified registered image data 22a to generate image data, and expands the generated image data in an image buffer (not shown). Next, the printer-side control unit 20 controls a head driving circuit (not shown) based on the image data developed in the image buffer to drive the thermal head, and controls various mechanisms at appropriate timings to detect the thermal roll. The image indicated by the registered image data 22a is recorded on the paper.

さて、制御システム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 control system 1 is a system applied to one store, in this embodiment, each of the one or several registered image data 22a memorize | stored in the printer side memory | storage part 22 about each of the printers 11. FIG. And the identification codes 22b associated with the registered image data 22a are required to match. For example, the registered image data X and the identification code x are stored in association with each other and the registered image data Y and the identification code y are stored in association with each other in the printer-side storage unit 22 of any one printer 11. In any case, the registration image data X, the identification code x, the registration image data Y, and the identification code y are required to be stored in any other printer 11 in the same manner. This is due to the following reason. That is, as described above, the registered image data 22a is image data of an image that is routinely recorded on a receipt such as a top logo, but considering that the receipt is handed to each customer, the receipt This is because the top logo and the like recorded in the table need to be unified in the store regardless of the issued printer 11. Further, by sharing the identification code 22b associated with a certain registered image data 22a among the printers 11, the registered image of the printer driver according to the difference in the value of the identification code 22b for each host computer 12. There is no need to change the settings relating to the data 22a or application settings, the settings are easy, the maintenance is good, and the printer 11 connected to one host computer 12 is replaced with another printer 11 due to a failure or other cause. This is because there is no need for any modification to the host computer 12 (for example, a change of a setting value related to the identification code 22b or a program correction), and the convenience is high.
Here, in a store to which the control system 1 is applied, the top logo or the like may be changed. For example, when the design of the top logo or the like is changed, or when the top logo or the like is changed to a design corresponding to the event during a predetermined period such as the Christmas season. In this case, conventionally, for each of the printers 11, the registered image data 22 a related to the top logo or the like is edited using a predetermined tool or the like, and the registered image data 22 a related to the changed top logo or the like is newly added. Although it was memorized, this conventional method was complicated.
Based on the above, the management server 14 according to the present embodiment performs the following operations.

図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 management server 14. In the following description, the function of the image data update unit 40a is realized by the cooperation of hardware and software, such as the CPU of the control unit 40 reading and executing a predetermined program.
As shown in FIG. 3, first, the image data update unit 40a of the control unit 40 of the management server 14 has the identity of the registered image data 22a and the identification code 22b between the printers 11 described in detail below in step SA2. Whether or not to start the execution of the series of processes related to the maintenance of the process is monitored (step SA1).
Here, the image data update unit 40a determines to start the processing after step SA2 in the following cases.
In other words, the management server 14 is configured such that the user can instruct the start of a series of processes after step SA2 via a predetermined input means, and when detecting that there is an instruction, the image data update unit 40a Then, the processing after step SA2 is started.
In addition, the management server 14 starts execution of processing from step SA2 on the basis of reaching a predetermined time (for example, a time corresponding to the opening time of the store or a time corresponding to the closing time). It is configured so that the user can set. If the setting has been made, the image data update unit 40a starts the process from step SA2 onward when the current time has been reached.
Further, as will be apparent later, in the processing after step SA2, the registration image data 22a stored in each printer 11 is maintained using the registered image data 22a stored in the representative printer PD (described later). As shown in the figure, the configuration is such that the user can set to execute the processes in and after step SA2 triggered by the connection of the representative printer PD to the network 15. If the setting has been made, the image data update unit 40a starts the processing of step SA2 and subsequent steps when detecting that the representative printer PD is connected to the network 15.

さて、各プリンター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 image data 22a and the identification code 22b between the printers 11 is started (step SA1: YES), the image data update unit 40a displays the representative printer. Via the host computer 12 connected to the PD (hereinafter referred to as “representative host computer HD”), it communicates with the representative printer PD, and registered image data 22a stored in the printer-side storage unit 22 of the representative printer PD. And all the combinations of the identification code 22b are acquired by communication (step SA2). It should be noted that the host computer 12 according to the present embodiment has a function for mediating commands and data transmitted from the management server 14 to the printer 11, and commands and data transmitted from the printer 11 to the management server 14. A function to mediate is implemented.
The representative printer PD is the printer 11 in which the combination of the registered image data 22a and the identification code 22b is stored in the printer-side storage unit 22 in a state requested by the user. That is, for all the printers 11 on the network 15, the combination of the registered image data 22a and the identification code 22b stored in the printer-side storage unit 22 is required to be the same as that in the representative printer PD, and The request is realized by the processing after step SA2.
In this embodiment, in order to make the combination of the registered image data 22a and the identification code 22b stored in all the printers 11 on the network 15 the same, the user uses a predetermined tool or the like to represent the representative printer PD. The combination of the registered image data 22a and the identification code 22b in the printer-side storage unit 22 may be a combination desired by the user (a combination to be finally stored in the printer-side storage unit 22 of each printer 11).
The image data updating unit 40a determines the representative printer PD from the printers 11 connected to the network 15 as follows, for example. That is, the function of responding that the printer is the representative printer PD in response to an inquiry from the management server 14 is implemented in the firmware of the representative printer PD, and the image data update unit 40a uses the broadcast address to All the printers 11 are inquired via the host computer 12, and the representative printer PD is determined based on a response to the inquiry. In addition, when the port to which the representative host computer HD is connected is fixed in the network hub provided on the network 15, the image data update unit 40a is connected to the host computer 12 connected to the port. The existing printer 11 is determined as the representative printer PD. In other words, the existing technology can be widely applied to the method for determining the representative printer PD.
In the following description, as shown in FIG. 1, the registered image data X and the identification code x are stored in the printer-side storage unit 22 of the representative printer PD in association with each other, and the registered image data Y and the identification code y are stored. Are stored in association with each other. In step SA2, the image data update unit 40a acquires all the combinations of the registered image data 22a and the identification code 22b.

次いで、画像データ更新部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 data update unit 40a generates check data for all of the registered image data 22a acquired from the representative printer PD (step SA3). In the present embodiment, the check data is specifically a predetermined hash function, which is a hash value calculated by a hash function commonly used in each device of the control system 1. Note that the check data is a representative value calculated based on the registered image data 22a, and any data that always has the same value when calculated based on the same data may be used. For example, a value using a checksum or the like may be used.
Next, the image data update unit 40a generates a correspondence table 41a in which the check data and the corresponding identification code 22b are stored in association with each other based on each of the check data obtained in step SA3, and the storage unit 41 (step SA4).
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 identification codes 22b is stored in association with the check data calculated based on the registered image data 22a corresponding to each identification code 22b. In the example of FIG. 4, in the first record, the identification code x is associated with the check data Tx that is the check data calculated based on the registered image data X corresponding to the identification code x. In the record, the identification code y is associated with the check data Ty that is the check data calculated based on the registered image data Y corresponding to the identification code y.
After the correspondence table 41a is generated and stored, the image data update unit 40a executes an update process for each printer 11 (excluding the representative printer PD) on the network 15 (step SA5). Hereinafter, the update process will be described in detail.

以下の説明では、図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 network 15 in addition to the representative printer PD. Since the update process in step SA5 is a process performed for all the printers 11 on the network 15, the update process performed for each of the printers P1, P2, P3, and P4 will be described. In the following description, a combination of one registered image data 22a and an identification code 22b associated with the one registered image data 22a is expressed as “registered image data ○ -identification code ○” using a hyphen. To express.
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-side storage unit 22 of the printer P1. The printer-side storage unit 22 of the printer P2 stores registered image data X-identification code x and registered image data Y′-identification code y. The registered image data Y and the registered image data Y ′ are not the same data. Also, registered image data X-identification code x is stored in the printer-side storage unit 22 of the printer P3. The printer-side storage unit 22 of the printer P4 stores registered image data X-identification code x, registered image data Y-identification code y, and registered image data Z-identification code z.

図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 management server 14 and (A2) shows the operation of the printer P1.
First, the image data update unit 40a of the control unit 40 of the management server 14 relates to all of the registered image data 22a-identification code 22b stored in the printer-side storage unit 22 with respect to the printer-side control unit 20 of the printer P1. Then, it is requested to transmit a combination of the identification code 22b and the check data calculated from the registered image data 22a (step SB1).
In response to the request, the printer-side control unit 20 of the printer P1 calculates check data for all of the registered image data 22a stored in the printer-side storage unit 22 using a predetermined hash function ( Step SC1). In this example, the printer-side control unit 20 of the printer P1 calculates check data Tx based on the registered image data X, and calculates check data Ty based on the registered image data Y. In the following description, a combination of one check data and the identification code 22b corresponding to the one check data is expressed as “identification code ○ -check data ○” using a hyphen.
Next, the printer-side control unit 20 of the printer P1 transmits the combination of the calculated check data and the corresponding identification code 22b to the management server 14 in accordance with a predetermined protocol (step SC2). In this example, the printer-side control unit 20 of the printer P1 transmits the identification code x-check data Tx and the identification code y-check data Ty to the management server 14.

プリンター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 corresponding identification code 22b is received from the printer P1, the image data update unit 40a refers to the correspondence table 41a, and each combination of the identification code and the check data related to the representative printer PD. And the combination of the identification code related to the printer P1 and the check data, and the difference is extracted (step SB2). Specifically, the image data update unit 40a detects a matching portion and a different portion between the identification code 22b related to the representative printer PD and the identification code 22b related to the printer P1, and further, the matching identification For the code 22b, the corresponding check data are compared to detect whether or not the values indicated by the data match.
In this example, for both the representative printer PD and the printer P1, the combination of the identification code 22b and the check data is the identification code x-check data Tx and the identification code y-check data Ty. In step SB2, the image data update unit 40a determines that there is no difference in the combination among the printers.
Here, the fact that the combination of the identification code 22b and the check data all match between the representative printer PD and the printer P1 is stored in the printer-side storage unit 22 for each of these printers 11. That is, the combination of the registered image data 22a and the identification code 22b matches. Based on this, the image data update unit 40a does not update the registered image data 22a and the identification code 22b stored in the printer-side storage unit 22 of the printer P1, and ends the process.

このように、本実施形態では、プリンター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 management server 14 not based on the registered image data 22a itself stored, but based on the data. Send data for use. The registered image data 22a is image data that holds information for each pixel constituting the image, and is data that is very large compared to other data. 15 can effectively suppress an increase in communication traffic.
Further, in the present embodiment, in the update process for the printer P1, the comparison between the registered image data 22a in the representative printer PD and the registered image data 22a in the printer P1 is performed by comparing the check data calculated from the respective data. Is called. Here, since the check data is data having a very small size as compared with the registered image data 22a, the efficiency of the processing relating to the comparison can be realized, and the load on the CPU can be reduced.

図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 management server 14, and FIG. 5B shows the operation of the printer P1.
First, the image data updating unit 40a requests the printer-side control unit 20 of the printer P2 to transmit all the combinations of the identification code 22b and the check data (step SD1).
In response to the request, the printer-side control unit 20 of the printer P2 calculates check data for all of the registered image data 22a (step SE1). In this example, the printer-side control unit 20 of the printer P2 calculates check data Tx based on the registered image data X, and calculates check data Ty ′ based on the registered image data Y ′.
Next, the printer-side control unit 20 of the printer P1 transmits the combination of the calculated check data and the corresponding identification code 22b to the management server 14 in accordance with a predetermined protocol (step SE2). In this example, the printer-side control unit 20 of the printer P2 transmits the identification code x-check data Tx and the identification code y-check data Ty ′ to the management server 14.

プリンター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 corresponding identification code 22b is received from the printer P2, the image data update unit 40a refers to the correspondence table 41a, and each of the combinations of the identification code and the check data related to the representative printer PD. Are compared with each of the combinations of the identification code related to the printer P2 and the check data, and the difference is extracted (step SD2).
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 identification code 22b while matching the identification code 22b. Since the check data does not match, the image data update unit 40a detects a difference in this respect.
Next, the image data updating unit 40a causes the printer-side control unit 20 of the printer P2 to update the registered image data 22a in the printer-side storage unit 22 so that the detected difference is eliminated (step SD3). Specifically, the image data update unit 40a generates a control command for overwriting and updating the registered image data 22a (registered image data Y ′ in this example) associated with the identification code y with the registered image data Y. Output to the printer-side control unit 20 of the printer P2.
The printer-side control unit 20 of the printer P2 that has received the control command overwrites and updates the registered image data Y ′ associated with the identification code y with the registered image data Y based on the control command (step SE3). . Thereby, the combination of the registered image data 22a and the identification code 22b stored in the printer-side storage unit 22 of the printer P2 becomes the registered image data X-identification code x and the registered image data Y-identification code y. The state is completely consistent with the combination in the representative printer PD.
In the update process for the printer P2, as described above, the check data is transmitted from the printer P2 to the management server 14 and the effect of the image data update unit 40a comparing the check data is as described above. It is.

図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 management server 14, and (A2) shows the operation of the printer P3.
First, the image data updating unit 40a requests the printer-side control unit 20 of the printer P3 to transmit all the combinations of the identification code 22b and the check data (step SF1).
In response to the request, the printer-side control unit 20 of the printer P3 calculates check data for all of the registered image data 22a (step SG1). In this example, the printer-side control unit 20 of the printer P3 calculates check data Tx based on the registered image data X.
Next, the printer-side control unit 20 of the printer P3 transmits the combination of the calculated check data and the corresponding identification code 22b to the management server 14 in accordance with a predetermined protocol (step SG2). In this example, the printer-side control unit 20 of the printer P3 transmits the identification code x-check data Tx to the management server 14.

プリンター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 corresponding identification code 22b is received from the printer P3, the image data update unit 40a refers to the correspondence table 41a, and each of the combinations of the identification code and the check data related to the representative printer PD. Are compared with each of the combinations of the identification code related to the printer P3 and the check data, and the difference is extracted (step SF2).
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 data update unit 40a detects a difference in this respect.
Next, the image data updating unit 40a causes the printer-side control unit 20 of the printer P3 to update the registered image data 22a in the printer-side storage unit 22 so that the detected difference is eliminated (step SF3). Specifically, the image data update unit 40a generates a control command that instructs the printer-side control unit 20 to newly store (update) the registered image data Y and the identification code y in association with each other. And output to the printer-side control unit 20 of the printer P3.
The printer-side control unit 20 of the printer P3 that has received the control command stores the registered image data Y and the identification code y in association with each other in a predetermined storage area of the printer-side storage unit 22 based on the control command. (Update) (step SG3). Thereby, the combination of the registered image data 22a and the identification code 22b stored in the printer-side storage unit 22 of the printer P3 becomes the registered image data X-identification code x and the registered image data Y-identification code y. The state is completely consistent with the combination in the representative printer PD.
As described above, in the update process for the printer P3, the check data is transmitted from the printer P3 to the management server 14 and the effect of the image data update unit 40a comparing the check data is as described above. It is.

図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 management server 14, and (B2) shows the operation of the printer P4.
First, the image data update unit 40a requests the printer-side control unit 20 of the printer P4 to transmit all the combinations of the identification code 22b and the check data (step SH1).
In response to the request, the printer-side control unit 20 of the printer P4 calculates check data for all of the registered image data 22a (step SI1). In this example, the printer-side control unit 20 of the printer P4 calculates check data Tx based on the registered image data X, calculates check data Ty based on the registered image data Y, and based on the registered image data Z. The check data Tz is calculated.
Next, the printer-side control unit 20 of the printer P3 transmits the combination of the calculated check data and the corresponding identification code 22b to the management server 14 in accordance with a predetermined protocol (step SI2). In this example, the printer-side control unit 20 of the printer P4 transmits the identification code x-check data Tx, the identification code y-check data Ty, and the identification code z-check data Tz to the management server 14.

プリンター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 corresponding identification code 22b from the printer P4, the image data updating unit 40a refers to the correspondence table 41a, and each of the combinations of the identification code and the check data related to the representative printer PD. Are compared with each of the combinations of the identification code related to the printer P3 and the check data, and the difference is extracted (step SH2).
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 data update unit 40a detects a difference in this respect.
Next, the image data updating unit 40a causes the printer-side control unit 20 of the printer P4 to update the registered image data 22a in the printer-side storage unit 22 so that the detected difference is eliminated (step SH3). Specifically, the image data update unit 40a generates a control command for instructing the printer-side control unit 20 to delete (update) the registered image data Z-identification code z, and control the printer P4 of the printer P4. To the unit 20.
The printer-side control unit 20 of the printer P4 that has received the control command deletes the registered image data Z-identification code z stored in a predetermined storage area of the printer-side storage unit 22 based on the control command (update) To do). Thereby, the combination of the registered image data 22a and the identification code 22b stored in the printer-side storage unit 22 of the printer P4 becomes the registered image data X-identification code x and the registered image data Y-identification code y. The state is completely consistent with the combination in the representative printer PD.
Note that, in the update process for the printer P4, the check data is transmitted from the printer P4 to the management server 14 and the effect of the image data update unit 40a comparing the check data is as described above. It is.

このように、本実施形態では、ネットワーク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 image data 22a and the identification code 22b stored in all the printers 11 on the network 15 the same, the user uses a predetermined tool or the like. The combination of the registered image data 22a and the identification code 22b in the printer-side storage unit 22 of the representative printer PD is a combination desired by the user (a combination that should be finally stored in the printer-side storage unit 22 of each printer 11). That's fine. This also has the following advantages. That is, since the representative printer PD includes the print engine 21, it is possible to actually record the image indicated by the registered image data 22a on the thermal roll paper. Using this, the user sets the registered image data 22a and the identification code 22b stored in the representative printer PD to the desired contents, and then actually displays the image indicated by the registered image data 22a by the representative printer PD. The data of the representative printer PD and the other printers 11 can be kept identical after being recorded on paper and confirming the contents. Thereby, it is possible to easily check whether or not the registered image data 22a is assumed by using the function of the representative printer PD, and when it is confirmed that the registered image data 22a is assumed. Can easily maintain the identity of each printer 11 on the network 15.

以上説明したように、本実施形態では、管理サーバー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 data update unit 40a of the management server 14 is stored in this representative printer PD from one representative printer PD of the printers 11 connected via the network 15. The registered image data 22a stored in the printer 11 other than the representative printer PD is deleted (deleted) based on the acquired one or more registered image data 22a. And the addition of new registered image data 22a), the identity of the one or more registered image data 22a stored in the representative printer PD and the one or more registered image data 22a stored in the other printer 11 To maintain.
According to this configuration, if the stored registered image data 22a is set to the correct state only for the representative printer PD, the stored registered image data 22a is automatically transferred to the representative printer PD for the other connected printers 11. And the correct state with identity. That is, each printer can be easily edited by editing the registered image data 22a only for the representative printer PD without having to perform complicated operations such as editing the registered image data 22a using a tool for all the printers 11. 11 can maintain the identity of the registered image data 22a stored in No. 11.

また、本実施形態では、画像データ更新部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 data update unit 40a is configured to register the registered image data 22a stored in the other printer 11 with respect to each of the other printers 11 based on the registered image data 22a acquired from the representative printer PD. The difference from the registered image data 22a stored in the representative printer PD is extracted, and stored in the other printer 11 based on the registered image data 22a acquired from the representative printer PD so that the extracted difference is eliminated. The registered image data 22a is updated.
Here, the management server 14 overwrites and updates the respective registered image data 22a of the other printer 11 based on the registered image data 22a acquired from the representative printer PD, whereby the representative printer PD, the other printer 11, and the like. It is also conceivable to maintain the identity of the registered image data 22a. However, in this case, registered image data 22a having a relatively large size is transmitted from the management server 14 to each of the other printers 11, which may cause an increase in communication traffic. When the stored registered image data 22a matches the registered image data 22a stored in the representative printer PD, the registered image data 22a is unnecessarily updated, resulting in poor processing efficiency. Based on this, according to the above configuration, the management server 14 determines the registered image data 22a according to the difference between the registered image data 22a stored in the representative printer PD and the registered image data 22a stored in the other printer 11. By updating, unnecessary update of the registered image data 22a can be suppressed, and accordingly, increase in communication traffic can be suppressed.

また、本実施形態では、画像データ更新部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 data update unit 40a extracts the difference between the registered image data 22a stored in the other printer 11 and the registered image data 22a stored in the representative printer PD. When determining whether one registered image data 22a related to another printer 11 and one registered image data 22a related to the representative printer PD are the same data, one registered image data related to the representative printer PD Based on 22a, check data is calculated by a predetermined calculation method, and for the other printer 11, check data calculated by a predetermined calculation method from one registered image data 22a related to the other printer 11 The data for checking, obtaining the data for checking, the data for checking related to the representative printer PD, And check data according to the printer 11 to determine whether the same or not.
According to this configuration, when it is determined whether or not the one registered image data 22a related to the other printer 11 and the one registered image data 22a related to the representative printer PD are the same data, the other printer 11 Therefore, not the registered image data 22a itself but the check data calculated from the registered image data 22a is transmitted to the management server 14. Therefore, an increase in communication traffic can be suppressed, and when determining whether or not the registered image data 22a is the same, it is only necessary to compare the check data rather than the registered image data 22a. Time can also be shortened.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、管理サーバー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 printer 11 calculates the check data to be transmitted to the management server 14. However, the host computer 12 may appropriately perform various processes on the printer 11 side in the update process in step SA5. In this case, the host computer 12 functions as a recording device.
Further, for example, in step SD3 in FIG. 5 (B1), step SF3 in FIG. 6 (A1), and step SH3 in FIG. 6 (B1), the management server 14 generates a control command for updating the registered image data 22a. , The data is output to the printer 11 via the host computer 12. Under this control, the host computer 12 generates a control command by the function of the printer driver and outputs the control command to the printer 11. It may be a configuration.
Further, for example, the printer 11 connected to the host computer 12 is a thermal recording apparatus, but the recording method is not limited to this, and may be any ink jet type or dot impact type. That is, the present invention is applied to a control apparatus connected to a recording apparatus capable of recording an image based on pre-stored image data such as registered image data 22a, and a system including such a recording apparatus and the control apparatus. Widely applicable. Further, for example, each functional block shown in FIG. 2 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration. Further, the function of each functional block of the management server 14 may be provided in another device externally connected to the management server 14. Further, the management server 14, the printer 11, and the host computer 12 execute various operations including the operations according to the flowcharts of FIGS. 3, 5, and 6 by executing a program stored in an externally connected storage medium. You may do it.

1…制御システム、11…プリンター(記録装置)、12…ホストコンピューター(記録装置)、14…管理サーバー(制御装置)、22a…登録画像データ、22b…識別コード、40…制御部、40a…画像データ更新部、PD…代表プリンター(代表記録装置)。   DESCRIPTION OF SYMBOLS 1 ... Control system, 11 ... Printer (recording device), 12 ... Host computer (recording device), 14 ... Management server (control device), 22a ... Registration image data, 22b ... Identification code, 40 ... Control part, 40a ... Image Data update unit, PD ... representative printer (representative recording device).

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の画像データのチェック用データとが同一か否かを判別することを特徴とする請求項に記載の制御装置。
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 .
JP2012079278A 2012-03-30 2012-03-30 CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM Expired - Fee Related JP5938991B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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