JP2011175527A - Bar code scanner, method of updating firmware thereof, and firmware update program - Google Patents
Bar code scanner, method of updating firmware thereof, and firmware update program Download PDFInfo
- Publication number
- JP2011175527A JP2011175527A JP2010040076A JP2010040076A JP2011175527A JP 2011175527 A JP2011175527 A JP 2011175527A JP 2010040076 A JP2010040076 A JP 2010040076A JP 2010040076 A JP2010040076 A JP 2010040076A JP 2011175527 A JP2011175527 A JP 2011175527A
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- firmware
- firmware update
- read
- data
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、複数の走査パターンによるバーコードの読取りが可能なバーコードスキャナ、そのファームウェア更新方法およびファームウェア更新プログラムに関する。 The present invention relates to a barcode scanner capable of reading a barcode by a plurality of scanning patterns, a firmware update method thereof, and a firmware update program.
スーパーマーケット、コンビニエンスストア等で精算を行うレジには、商品に印刷または貼付されたバーコードを読取るバーコードスキャナと販売時点情報管理装置(Point Of Sales:以下、POSと略称)とを備えたPOSシステムが導入されている。バーコードスキャナは、所定の読取り窓の部分に商品のバーコードのある部分を向けて接近させると、走査ビームがバーコードを走査して読取り、読取ったデータをPOSに送出する。POSでは、バーコードスキャナからデータを受けると、対応テーブルを参照して、そのデータに対応する商品名、金額等の物品情報に関するデータを取得する。POSは、また、釣銭/釣札機、ドロア、プリンタ、カードリーダ等が接続されていて、バーコードスキャナから受けたデータに基づいて各種精算処理を行う。 A POS system that includes a bar code scanner that reads a bar code printed on or pasted on a product and a point-of-sale information management device (Point Of Sales) Has been introduced. When the bar code scanner approaches a predetermined reading window portion with a bar code portion of the product approaching, the scanning beam scans and reads the bar code, and sends the read data to the POS. In POS, when data is received from a barcode scanner, data relating to article information such as a product name and a price corresponding to the data is obtained by referring to a correspondence table. The POS is also connected to a change / pick machine, drawer, printer, card reader, and the like, and performs various settlement processes based on data received from the barcode scanner.
このPOSにおける処理は、ROM(Read Only Memory)に記憶されたプログラムに従って制御されている。このため、プログラムに変更が生じたときには、ROMを変更したプログラムが記憶されたROMに交換する必要がある。このような交換には、一般に非常に手間と時間がかかるので、書き換えが可能なROMであるフラッシュメモリにプログラムを記憶させておき、プログラムに変更が生じたときには、フラッシュメモリを書き換えるようにしている。この場合の書き換えは、一般に、パーソナルコンピュータのような専用端末をPOSに接続し、専用の更新プログラムを使って実行される。 The processing in this POS is controlled according to a program stored in a ROM (Read Only Memory). For this reason, when a change occurs in the program, it is necessary to replace the ROM with a ROM that stores the changed program. Such replacement generally takes much time and effort, so the program is stored in flash memory, which is a rewritable ROM, and the flash memory is rewritten when the program changes. . The rewriting in this case is generally executed by connecting a dedicated terminal such as a personal computer to the POS and using a dedicated update program.
それでも、専用端末をPOSに接続して行うフラッシュメモリの書き換え作業は、手間のかかるものである。これに対し、変更されたプログラムのデータをバーコード化し、そのバーコードを読取ってフラッシュメモリの書き換えを行うことは知られている(たとえば、特許文献1参照)。この特許文献1では、バーコードリーダをそのコントローラに接続し、そのコントローラに記憶されたバーコード解読プログラムを、バーコードリーダで読取った変更情報に変更するようにしている。このとき、バーコード解読プログラムのデータは、小さなデータに分けてコード化され、そのコードが複数枚のラベルにそれぞれ印刷され、それをバーコードリーダによって1枚ずつ読取ることになる。バーコード解読プログラムは、その該当の変更箇所が読取られたデータによって書き換えられることで変更される。
Nevertheless, the flash memory rewriting work performed by connecting the dedicated terminal to the POS is time-consuming. On the other hand, it is known that the data of the changed program is converted into a barcode, and the barcode is read to rewrite the flash memory (see, for example, Patent Document 1). In this
ところで、POSシステムで使用されるバーコードスキャナは、バーコードが印刷または貼付されている面を読取り窓に向けてかざすことにより、そのバーコードの読取りを行うが、そのとき、バーコードがどの方向に向いていても概ね読取れるようになっている。これは、バーコードスキャナが出す走査ビームの走査方向を順次変更していき、向きが走査方向と概略同じとなるバーコードについて読取りを行うマルチ走査パターンが採用されていることによる。この機能により、バーコードの読取り時における操作性および読取り精度が大幅に向上されている。 By the way, the barcode scanner used in the POS system reads the barcode by holding the surface on which the barcode is printed or affixed toward the reading window. Even if it is facing, it can be read generally. This is because the scanning direction of the scanning beam emitted by the barcode scanner is sequentially changed, and a multi-scanning pattern is used to read a barcode whose direction is substantially the same as the scanning direction. This function greatly improves the operability and reading accuracy when reading a bar code.
このように高機能化されたバーコードスキャナでは、ファームウェアを搭載し、そのファームウェアに従ってバーコードの読取り制御を行っている。このため、ファームウェアの不具合修正や新機能追加等の必要が生じたときには、そのファームウェアの更新をバーコードスキャナ単独で行うことになる。現状のバーコードスキャナは、POSと通信ポートを介して接続して使用されることが多いので、POS側からファームウェア更新データを送信し、ファームウェアの書換えを行うか、別途専用端末をバーコードスキャナの通信ポートに直接接続して、ファームウェアの更新を行っている。 Such a highly functional barcode scanner is equipped with firmware, and barcode reading control is performed in accordance with the firmware. For this reason, when it is necessary to correct a malfunction of the firmware or add a new function, the firmware is updated by the barcode scanner alone. Current barcode scanners are often used by connecting to a POS via a communication port. Therefore, the firmware update data is transmitted from the POS side and the firmware is rewritten, or a dedicated terminal is connected to the barcode scanner. The firmware is updated by connecting directly to the communication port.
しかしながら、バーコードスキャナは、POSシステムの中に組み込まれていることが多く、レジ台や流し台に組み込まれていて、ファームウェア更新用の端末を通信ポートに接続するために、バーコードスキャナをレジ台や流し台から取り外すことが難しく、しかも、POSシステムの運用中に更新作業を実施することは困難である。 However, barcode scanners are often built into POS systems, and are built into cash registers and sinks. In order to connect firmware update terminals to communication ports, barcode scanners are installed in cash registers. It is difficult to remove from the sink, and it is difficult to carry out the update work during the operation of the POS system.
また、ファームウェア更新データの読取りをバーコードスキャナの読取り機能を利用して行う場合は、バーコードスキャナとの物理的な接続を要しないため、POSシステムの運用中にも更新作業が可能であるが、ファームウェア更新データは、それをバーコード化した場合、バーコードを印刷したラベルの枚数が膨大になり、それを1枚ずつ読取らせるのに手間と時間がかかるという問題点があった。 In addition, when the firmware update data is read using the reading function of the bar code scanner, the physical connection with the bar code scanner is not required, so that the updating operation can be performed even during the operation of the POS system. When the firmware update data is converted into a barcode, the number of labels on which the barcode is printed becomes enormous, and it takes time and labor to read the labels one by one.
本発明はこのような点に鑑みてなされたものであり、バーコードスキャナの読取り機能を利用したファームウェア更新データの読取り作業を容易にして短時間でのファームウェア更新を可能にすることを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to make it possible to easily perform firmware update in a short time by making it easy to read firmware update data using a barcode scanner reading function. .
本発明では上記の課題を解決するために、ファームウェア格納部に格納されたファームウェアに従ってバーコードの読取り制御を行うバーコードスキャナにおいて、バーコードをマルチ走査パターンまたはシングル走査パターンで読取ってデータ化するバーコード読取り部と、前記バーコード読取り部が読取ったバーコードのデータを記憶する一時記憶部と、前記一時記憶部のデータから読取られたバーコードの種類を判別し、前記ファームウェア格納部に格納されているファームウェアの版数と読取ったバーコードのデータが示すファームウェアの版数とをチェックし、読取ったバーコードのデータのチェックデジット値が正常かどうかを判断する読取りデータチェック部と、読取ったバーコードがファームウェア更新用のバーコードであると前記読取りデータチェック部が判断したとき、前記バーコード読取り部の動作モードをファームウェア更新モードに切り換え、読取ったバーコードのデータが示すファームウェアの版数が前記ファームウェア格納部に格納されているものと相違すると前記読取りデータチェック部が判断したとき、前記バーコード読取り部がバーコードを読取る走査パターンをシングル走査パターンに切り換える動作モード移行部と、読取ったバーコードがファームウェアの更新用バーコード(以下、ファームウェア更新用バーコードと記載)であると前記読取りデータチェック部が判断した場合に、前記ファームウェア更新用バーコードのそれぞれが持つ通し番号に基づいてすべての前記ファームウェア更新用バーコードが読取られているかをチェックする通し番号チェック部と、すべての前記ファームウェア更新用バーコードが読取られた段階で、それらのデータを結合してファームウェア更新データを復元する更新データ復元部と、を備えていることを特徴とするバーコードスキャナが提供される。 In the present invention, in order to solve the above-described problem, in a barcode scanner that controls barcode reading in accordance with the firmware stored in the firmware storage unit, the barcode is converted into data by reading the barcode in a multi-scanning pattern or a single scanning pattern. A code reading unit; a temporary storage unit for storing the barcode data read by the barcode reading unit; and a type of the barcode read from the data in the temporary storage unit, and stored in the firmware storage unit A read data check unit that checks the version number of the firmware being read and the version number of the firmware indicated by the read bar code data, and determines whether the check digit value of the read bar code data is normal, and the read bar The code is the barcode for updating the firmware When the read data check unit determines, the operation mode of the barcode reading unit is switched to the firmware update mode, and the firmware version indicated by the read barcode data is stored in the firmware storage unit. When the read data check unit determines that there is a difference, an operation mode transition unit that switches a scanning pattern in which the barcode reading unit reads the barcode to a single scanning pattern, and the read barcode is a firmware update barcode (hereinafter referred to as a firmware update barcode). If the read data check unit determines that the firmware update barcode has been read), all firmware update barcodes are read based on the serial numbers of the firmware update barcodes. check A serial number check unit, and an update data restoration unit that combines the data and restores the firmware update data when all the firmware update barcodes have been read. A code scanner is provided.
また、本発明では、ファームウェア更新モードへ移行させるためのバーコード(以下、ファームウェア更新モード移行バーコードと記載)を読取ることによりバーコードスキャナの動作モードを更新モードに移行し、更新するファームウェアのバーコードの分割数および書換版数情報のバーコード(以下、ファームウェア更新情報用バーコードと記載)を読取ることにより更新プログラムデータの分割数および書換版数を取得し、取得した前記書換版数が書換前ファームウェアの版数と異なる場合に、シングル走査パターンに切り換え、複数のファームウェア更新用バーコードの連続読取りを行い、すべての前記ファームウェア更新用バーコードの読取りを確認し、読取ったすべての前記ファームウェア更新用バーコードのデータを結合して前記更新プログラムデータを含むファームウェア更新データを復元し、前記書換前ファームウェアを復元された前記ファームウェア更新データにより書き換えることによって更新し、更新されたファームウェアのデータを含むファームウェア更新後の版数を確認するためのバーコード(以下、ファームウェア更新後の版数確認用バーコードと記載)のみの読取りを許可するようにしておき、前記ファームウェア更新後の版数確認用バーコードを読取りできることにより更新後の前記ファームウェアの確認を行い、通常モード移行バーコードを読取ることによって前記動作モードを通常モードに移行する、ことを特徴とするバーコードスキャナのファームウェア更新方法が提供される。 In the present invention, the barcode scanner operating mode is shifted to the update mode by reading a barcode for shifting to the firmware update mode (hereinafter referred to as firmware update mode shift barcode). By reading the barcode of the code division number and rewrite version number information (hereinafter referred to as the firmware update information barcode), the division number and rewrite version number of the update program data are obtained, and the obtained rewrite version number is rewritten. If it is different from the previous firmware version, switch to a single scan pattern, read multiple firmware update barcodes continuously, check all the firmware update barcode readings, and read all the firmware updates Combine the barcode data for To restore firmware update data including update program data, update the pre-rewrite firmware by rewriting with the restored firmware update data, and confirm the version number after the firmware update including the updated firmware data Of the above-mentioned firmware (hereinafter referred to as a barcode for confirming the version number after firmware update) is permitted, and the firmware after the update can be read by reading the barcode for confirming the version number after the firmware update. A barcode scanner firmware update method is provided, wherein the operation mode is shifted to the normal mode by checking the above and reading the normal mode shift barcode.
さらに、本発明では、バーコードスキャナのファームウェア更新処理をコンピュータに実行させるファームウェア更新プログラムであって、前記コンピュータに、前記バーコードスキャナの所定のスイッチの押下を判断し、前記スイッチの押下とファームウェア更新モード移行バーコードの読取りとから前記バーコードスキャナの動作モードを更新モードに移行し、ファームウェア更新情報用バーコードを読取ることにより更新プログラムデータの分割数および書換版数を取得し、取得した前記書換版数が書換前ファームウェアの版数と異なる場合に、前記バーコードスキャナの走査パターンをシングル走査パターンに切り換え、分割された前記更新プログラムデータをバーコード化して並べて印刷した用紙上の複数のファームウェア更新用バーコードを前記シングル走査パターンで順次走査することにより前記ファームウェア更新用バーコードの連続読取りをし、すべての前記ファームウェア更新用バーコードの読取りを確認し、読取ったすべての前記ファームウェア更新用バーコードのデータを結合して前記更新プログラムデータを含むファームウェア更新データを復元し、前記書換前ファームウェアを復元された前記ファームウェア更新データにより書き換えることによって更新し、復元された前記ファームウェア更新データと同じ版数のデータを有するファームウェア更新後の版数確認用バーコードのみの読取りを許可するようにし、前記ファームウェア更新後の版数確認用バーコードが読取りできることにより更新されたファームウェアの確認を行い、通常モード移行バーコードを読取ることによって前記動作モードを通常モードに移行する、処理を実行させることを特徴とするファームウェア更新プログラムが提供される。 Furthermore, the present invention provides a firmware update program for causing a computer to execute a firmware update process for a barcode scanner, wherein the computer determines whether a predetermined switch of the barcode scanner is pressed, and presses the firmware and updates the switch. The operation mode of the barcode scanner is shifted to the update mode after reading the mode transition barcode, and the division number and rewrite version number of the update program data are obtained by reading the barcode for firmware update information, and the obtained rewrite When the version number is different from the version number of the firmware before rewriting, the scanning pattern of the barcode scanner is switched to a single scanning pattern, and the plurality of firmware updates on the paper printed by arranging the divided update program data in a barcode for By sequentially scanning the firmware update barcode by scanning the single code in the single scan pattern, confirming the reading of all the firmware update barcodes, and reading all the firmware update barcode data read The firmware update data including the update program data is restored by combining the firmware update data by rewriting the pre-rewrite firmware with the restored firmware update data, and the data of the same version as the restored firmware update data is restored. Only the barcode for confirming the version number after updating the firmware is permitted, the updated firmware is confirmed by being able to read the barcode for confirming the version after the firmware update, and the normal mode transition bar is read. Shifts the operation mode to the normal mode by reading the code, firmware updates, characterized in that to execute processing is provided.
このようなバーコードスキャナ、そのファームウェア更新方法およびファームウェア更新プログラムによれば、バーコードスキャナの動作モードがファームウェア更新モードに移行して更新プログラムデータを含むファームウェア更新用バーコードの読取りをするときに、読取りの走査パターンをシングル走査パターンに切り換えるようにしている。これにより、バーコードスキャナは、複数のバーコードの連続読取りが可能となる。1枚の用紙に複数のファームウェア更新用バーコードを印刷してシングル走査パターンで連続読取りすることにより、多数のファームウェア更新用バーコードの読取り作業が容易になり、短時間でのファームウェア更新が可能となる。 According to such a barcode scanner, its firmware update method and firmware update program, when the barcode scanner operation mode shifts to the firmware update mode and reads the firmware update barcode including the update program data, The scanning pattern for reading is switched to a single scanning pattern. Thereby, the barcode scanner can continuously read a plurality of barcodes. By printing multiple firmware update barcodes on a single sheet and continuously reading them in a single scan pattern, it is easy to read a large number of firmware update barcodes, enabling firmware updates in a short time. Become.
上記構成のバーコードスキャナ、そのファームウェア更新方法およびファームウェア更新プログラムは、バーコードスキャナの動作モードがファームウェア更新モードに移行したとき、バーコードの読取りをシングル走査パターンに切り換えたことにより、1枚の用紙に印刷された複数のバーコードを連続して読取ることが可能となるので、複数のバーコードを読取る手間および作業時間を大幅に短縮することができる。 The barcode scanner having the above-described configuration, its firmware update method, and firmware update program are obtained by switching the barcode reading to a single scanning pattern when the barcode scanner operation mode shifts to the firmware update mode. Since it is possible to continuously read a plurality of barcodes printed on the printer, it is possible to greatly reduce labor and time for reading the plurality of barcodes.
ファームウェア更新に必要なものは、ファームウェア更新データを分割してそれぞれバーコード化した複数のバーコードの全部または一部を纏めて1枚ずつ用紙に印刷したものを用意するだけでよいので、ファームウェア更新のためのコストを大幅に低減することができる。 All you need to update the firmware is to prepare all or part of multiple barcodes that have been divided into barcodes by dividing the firmware update data and printing them on paper one by one. The cost for can be greatly reduced.
ファームウェアの更新は、バーコードスキャナに対し更新専用の端末を着脱する必要がないので、POSシステムの運用中においても可能であり、しかも、短時間のうちに完了させることができる。 The firmware update can be performed even during the operation of the POS system because it is not necessary to attach or detach a terminal dedicated to the barcode scanner, and can be completed within a short time.
以下、本発明の実施の形態について、複数の走査パターンによる高精度のバーコード読取りが可能な定置式のバーコードスキャナに対し、読取精度、誤読対策、新種類のバーコードの読取対応、不具合修正等の必要性が生じたときに行われるファームウェアの更新に適用した場合を例に図面を参照して詳細に説明する。 Hereinafter, regarding the embodiment of the present invention, with respect to a stationary barcode scanner capable of reading a barcode with high accuracy by a plurality of scanning patterns, reading accuracy, countermeasures against misreading, reading of a new type of barcode, and defect correction The present invention will be described in detail with reference to the drawings, taking as an example a case where the present invention is applied to firmware update performed when such a need arises.
図1はPOSシステムを示す概略構成図である。
POSシステム1は、このシステムのホストであるPOS2を備えている。POS2は、バーコードスキャナ3、釣銭/釣札機4、ドロア5およびオプション機器6が接続されている。
FIG. 1 is a schematic configuration diagram showing a POS system.
The
バーコードスキャナ3は、スーパーマーケット等のレジ台または流し台に備えられた定置式スキャナであり、商品に印刷または貼付されたバーコード7を読取ることができる。このバーコードスキャナ3は、マルチ走査パターンの機能を有し、たとえば38の方向に走査してバーコード7を読取ることができるとともに、そのうちの任意の1方向に切り換えてシングル走査パターンでバーコード7を走査することもできる。
The
釣銭/釣札機4は、POS2からの指示に基づいて、投入された紙幣および硬貨を識別して収納するとともに、必要な釣札および釣銭を出力することができるものである。ドロア5は、商品券等を収納しておくのに使用され、オプション機器6には、ポイントカード、クレジットカード、プリペイドカード等の接触式または非接触式のカードリーダ等があり、必要に応じて接続される。
The change / pipe machine 4 is capable of identifying and storing the inserted bills and coins based on an instruction from the
図2はバーコードスキャナのハードウェア構成例を示す図である。
バーコードスキャナ3は、この内部にコンピュータをなすメイン基板10を有している。このメイン基板10には、CPU(Central Processing Unit)11と、フラッシュメモリ(FROM)12と、RAM(Random Access Memory)13と、復調器14と、RS232Cトランシーバ15と、USBIC(Universal Serial Bus Integrated Circuit)16とが搭載されている。
FIG. 2 is a diagram illustrating a hardware configuration example of the barcode scanner.
The
CPU11は、このバーコードスキャナ3の全体の制御を司るものである。フラッシュメモリ12は、不揮発性の書き換え可能な半導体メモリであって、このバーコードスキャナ3を制御するプログラムであるファームウェア、このファームウェアを更新するプログラム等が格納される。RAM13は、読取ったバーコード7のデータ、フラッシュメモリ12からロードされてCPU11により実行されるプログラム、CPU11による演算途中のデータ等が記憶される。復調器14は、読取ったバーコード7の光学情報を電気的なデータに復元する。RS232Cトランシーバ15は、外部の周辺機器とオプション接続して通信するためのもので、RS232Cインタフェース15aを介して、DSUB9ピンタイプのRS232Cコネクタ15bに接続されている。USBIC16は、POS2と通信を行うためのものでPWUSB(PoweredUSB)インタフェース16aを介してPW−USBコネクタ16bに接続されている。このPW−USBコネクタ16bからは、POS2から給電される12ボルトの電源が取り出され、さらに、この電源からメイン基板10で使用される5ボルトの電源がDC/DCコンバータ17によって生成される。
The
バーコードスキャナ3は、また、レーザドライバ18およびこれによって駆動されるレーザダイオード19と、ポリゴンミラー20およびこれを高速回転駆動するモータ21と、レンズ22aと、固定ミラー22bと、凹面ミラー22cと、受光素子22dとを備えている。
The
バーコードスキャナ3は、さらに、液晶表示器(LCD)23、発光ダイオード(LED)24、スイッチ25、近接センサ26、およびスピーカ27を備えている。液晶表示器23は、エラーコード等の各種エラーメッセージ等を表示するために使用される。発光ダイオード24は、バーコードスキャナ3の動作状態を、たとえば2色の光の組み合わせによって表示する。スイッチ25は、バーコードスキャナ3の動作状態を通知するブザー音の音量・音質を変更したり、ファームウェア更新動作の開始を指示したりするために使用される。近接センサ26は、商品のバーコードを読取らせるためにバーコードスキャナ3への商品の接近を感知するのに使用される。スピーカ27は、バーコードスキャナ3の動作状態をブザー音で通知するのに使用される。
The
以上の構成のバーコードスキャナ3は、通常の動作モードで動作しているときには、近接センサ26が商品の接近を検出すると、レーザドライバ18およびモータ21が起動され、レーザダイオード19のレーザ光を回転するポリゴンミラー20で反射させ、バーコード面を走査する。このとき、商品のバーコードの向きが不明なので、バーコードスキャナ3は、複数の固定ミラー22bによって複数方向に、たとえば38方向にレーザ光が走査されるマルチ走査パターンで動作している。バーコードの並び方向に沿ってレーザ光が走査されたとき、そのバーコード面で反射された光は、バーコードの白黒部分により明るさが変化された形で凹面ミラー22cに映し、受光素子22dへ受光され、復調器14にて商品のコードが生成される。
When the
有効なバーコードが読取られたときには、発光ダイオード24およびスピーカ27により確認用の光およびブザー音が発せられる。読取られたコードは、PWUSBインタフェース16aを介してPOS2に送られる。POS2では、対応テーブルを参照し、そのコードに対応する商品名、金額等の物品情報に関するデータを取得することになる。有効なバーコードが読取られなかったときには、発光ダイオード24およびスピーカ27によりエラー用の光およびブザー音が発せられる。
When a valid bar code is read, a light for confirmation and a buzzer sound are emitted from the
所定のスイッチ25が押下され、バーコードスキャナ3がモード移行用および更新確認用のバーコードを読取ったとき、バーコードスキャナ3は、ファームウェア更新モードに移行し、走査パターンをマルチ走査パターンからシングル走査パターンに切り換える。シングル走査パターンへの切り換えにより、レーザ光の走査方向は、特定の1方向、たとえば水平方向に固定される。走査するレーザ光を1本に絞ることで、複数のバーコードを連続して読取ることが可能になる。すなわち、1枚のラベルに1つのバーコードを印刷して、それぞれ1枚ずつ読取らせるのではなく、1枚の用紙に複数のバーコードを印刷し、その複数のバーコードを連続して読取ることを可能にしている。これにより、レーザ光の走査範囲をバーコードが横切るようにメンテナンス要員がバーコードを印刷した用紙を移動させていくことによって、連続読取りが可能となるので、複数のバーコードの読取り作業の時間を大幅に短縮することができる。たとえば、100個のバーコードを読取らせる必要がある場合、1枚の用紙に30数個のバーコードを印刷すれば、僅か3枚の用紙でそれぞれ連続読取りを行うことにより、100個のバーコードの読取りができる。
When the
シングル走査パターンで、ファームウェア更新データが読取られると、そのデータは、RAM13に蓄積され、すべてのデータが揃ったらそれから更新プログラムデータが復元され、フラッシュメモリ12に格納されているファームウェアの対応部分が、復元された更新プログラムデータによって書き換えられる。これにより、ファームウェアが更新されることになる。
When the firmware update data is read in the single scan pattern, the data is accumulated in the
なお、バーコードの連続読取り作業において、読取りの失敗したバーコードがある場合には、読取りエラーを示す光および音が発光ダイオード24およびスピーカ27により発せられ、同時に、そのバーコードの通し番号等が液晶表示器23に表示される。このときは、該当する通し番号のバーコードのみ再読取りを実行すればよい。
When there is a bar code that has failed to be read in the continuous bar code reading operation, light and sound indicating a reading error are emitted by the
以上の通常の動作モードでの読取り処理およびファームウェア更新処理は、フラッシュメモリ12に格納されたファームウェア更新プログラムをRAM13に展開し、CPU11がそのファームウェア更新プログラムを実行することによって実施される。次に、バーコードスキャナ3が備えているファームウェア更新プログラムの処理機能について説明する。
The reading process and the firmware update process in the normal operation mode described above are performed by developing the firmware update program stored in the
図3はバーコードスキャナの機能構成を示す図である。
バーコードスキャナ3は、その本来の処理機能以外に、ファームウェア更新処理機能に関して、バーコード読取り部31、一時記憶部32、読取りデータチェック部33、動作モード移行部34、通し番号チェック部35、更新データ復元部36およびファームウェア格納部37を備えている。
FIG. 3 is a diagram showing a functional configuration of the barcode scanner.
In addition to its original processing function, the
バーコード読取り部31は、レーザ光を走査して商品に印刷または貼付されたバーコードを読取ってそのバーコードに対応するデータを取得する部分であって、バーコードをマルチ走査パターンで読取るか、シングル走査パターンで読取るかを切り換えることができる。したがって、このバーコード読取り部31は、図2の復調器14、レーザドライバ18、レーザダイオード19、ポリゴンミラー20、モータ21およびレンズ22a、固定ミラー22b、凹面ミラー22c、受光素子22d等に相当する。
The
一時記憶部32は、バーコード読取り部31が読取ったバーコードのデータおよびその加工データを蓄積しておくもので、図2のRAM13に相当する。読取りデータチェック部33は、読取られたバーコードの種類を判別し、ファームウェア格納部37に格納されているファームウェアと読取ったファームウェアとの版数をチェックし、チェックデジット値が正常かどうかを判断する。動作モード移行部34は、読取りデータチェック部33によりバーコードの種類がファームウェア更新モード移行用または通常モード移行用と判断された場合に、バーコード読取り部31の動作モードおよび走査パターンをそれぞれ対応するものに切り換える。
The
通し番号チェック部35は、読取りデータチェック部33によりバーコードの種類がファームウェア更新用バーコードと判断された場合に、通し番号を基にファームウェア更新用バーコードが不足なく読取っているかをチェックする。
When the read data check
更新データ復元部36は、すべてのファームウェア更新用バーコードのデータが揃った段階で、それらのデータを結合し、元データが圧縮されている場合には、解凍してファームウェア更新データを復元する。ファームウェア格納部37は、このバーコードスキャナ3を動作させるのに必要なファームウェア等が格納される部分であって、図2のフラッシュメモリ12に相当する。
The update
図4はバーコードの種類を示す図であって、(A)はファームウェア更新モード移行バーコードを示し、(B)はファームウェア更新情報用バーコードを示し、(C)はファームウェア更新用バーコードを示し、(D)はファームウェア更新後の版数確認用バーコードを示し、(E)は通常モード移行バーコードを示している。 4A and 4B are diagrams showing the types of barcodes, where FIG. 4A shows a firmware update mode transition barcode, FIG. 4B shows a firmware update information barcode, and FIG. 4C shows a firmware update barcode. (D) shows the barcode for checking the version number after the firmware update, and (E) shows the barcode for shifting to the normal mode.
ファームウェアの更新に関してバーコードスキャナ3が読取るバーコードは、図4に示す5種類である。図4の(A)に示すファームウェア更新モード移行バーコードは、10桁のモード移行データと2桁のチェックデジットとを有している。なお、図示のモード移行データの値は、一例である。通常のバーコードのチェックデジットは、1桁であるが、独自の2桁とすることにより、通常運用で誤ってファームウェア更新モードに移行してしまうのを防止している。
Regarding the firmware update, the
ファームウェア更新情報用バーコードは、図4の(B)に示すように、4桁のバーコード分割数と、10桁の書換範囲の指定と、6桁の書換版数と、2桁のチェックデジットとを有している。バーコード分割数は、ファームウェア更新用バーコードの分割数を表している。書換範囲の指定は、ファームウェアの中で書き換えたい範囲の開始アドレスと終了アドレスとを表している。書換版数は、ファームウェア更新データのバージョン情報を表している。 As shown in Fig. 4 (B), the firmware update information barcode consists of a 4-digit barcode division number, a 10-digit rewrite range specification, a 6-digit rewrite version number, and a 2-digit check digit. And have. The barcode division number represents the division number of the firmware update barcode. The designation of the rewrite range represents the start address and end address of the range to be rewritten in the firmware. The rewritten version number represents version information of firmware update data.
ファームウェア更新用バーコードは、図4の(C)に示すように、4桁の通し番号と、更新プログラムデータと、2桁のチェックデジットとを有している。更新プログラムデータは、任意の桁数の独自フォーマットとすることができ、60桁程度まで拡張することができる。 As shown in FIG. 4C, the firmware update barcode has a 4-digit serial number, update program data, and a 2-digit check digit. The update program data can be in a unique format with an arbitrary number of digits and can be extended to about 60 digits.
ファームウェア更新後の版数確認用バーコードは、図4の(D)に示すように、ファームウェア更新データのバージョン情報である6桁の版数と、2桁のチェックデジットとを有している。 As shown in FIG. 4D, the version number confirmation barcode after the firmware update has a 6-digit version number, which is version information of the firmware update data, and a 2-digit check digit.
通常モード移行バーコードは、図4の(E)に示すように、10桁のモード移行データと2桁のチェックデジットとを有している。なお、図示のモード移行データの値は、一例である。 As shown in FIG. 4E, the normal mode transition bar code has 10-digit mode transition data and a 2-digit check digit. In addition, the value of the mode transition data shown in the drawing is an example.
ここで、図4の(A)、(B)、(D)および(E)のファームウェア更新モード移行バーコード、ファームウェア更新情報用バーコード、ファームウェア更新後の版数確認用バーコードおよび通常モード移行バーコードは、好ましくは、1枚ずつラベルに印刷する。これにより、ファームウェア更新操作において、その操作ミスを未然に防ぐことができる。図4の(C)のファームウェア更新用バーコードについては、一般に枚数が多くなる場合が多く、すべてのラベルを1枚ずつ読取らせるのに非常に煩雑な手間がかかることから、適当な大きさの用紙に複数のファームウェア更新用バーコードを印刷している。これにより、複数のファームウェア更新用バーコードを連続して読取らせることを可能にする。 Here, the firmware update mode shift bar code, the firmware update information bar code, the version number confirmation bar code after the firmware update, and the normal mode shift of FIG. 4 (A), (B), (D) and (E) The barcode is preferably printed on the label one by one. As a result, it is possible to prevent an operation error in the firmware update operation. The firmware update barcode shown in FIG. 4C is generally large in number, and it is very troublesome to read all labels one by one. Multiple firmware update barcodes are printed on the paper. This makes it possible to read a plurality of firmware update barcodes continuously.
図5はファームウェア更新用バーコードの生成例を示す図である。
バーコードスキャナ3のファームウェア更新データは、所定の大きさの用紙に、複数のファームウェア更新用バーコードが連続して印刷されている。図示の例では、1枚の用紙に縦に16のファームウェア更新用バーコードを連続印刷したものが2列になっている。また、このファームウェア更新用バーコードの用紙には、メンテナンス要員の参照のために、ファームウェア版数情報、用紙の枚数情報、バーコードの通し番号等が一緒に印刷されている。
FIG. 5 is a diagram showing an example of generating a firmware update barcode.
The firmware update data of the
ファームウェア更新用バーコードは、ファームウェア更新データを圧縮し、それを所定のデータ量ずつ分割してバーコード化することで生成される。なお、ファームウェア更新データのデータ総量が少ない場合は、圧縮することなく、分割およびバーコード化を実施してもよい。 The firmware update barcode is generated by compressing the firmware update data, dividing it into a predetermined amount of data and converting it into a barcode. When the total amount of firmware update data is small, division and barcode conversion may be performed without compression.
次に、以上のファームウェア更新処理を行うプログラムの処理機能について説明する。このファームウェア更新プログラムは、図2のフラッシュメモリ12に格納されており、図3に示した読取りデータチェック部33、動作モード移行部34、通し番号チェック部35および更新データ復元部36の処理機能を有している。
Next, the processing function of the program that performs the above firmware update process will be described. This firmware update program is stored in the
図6はファームウェア更新処理(その1)の流れを示すフローチャート、図7はファームウェア更新処理(その2)の流れを示すフローチャートである。なお、バーコードスキャナ3は、通常動作モードでは、マルチ走査パターンによりバーコードの読取りを行っているとする。
FIG. 6 is a flowchart showing the flow of firmware update processing (part 1), and FIG. 7 is a flowchart showing the flow of firmware update processing (part 2). In the normal operation mode, the
ファームウェア更新プログラムは、まず、所定のスイッチが押下されたかどうかが判断され(ステップS1)、所定のスイッチの押下がない場合は、所定のスイッチが押下されるまで待つ。 First, the firmware update program determines whether or not a predetermined switch has been pressed (step S1). If the predetermined switch has not been pressed, the firmware update program waits until the predetermined switch is pressed.
所定のスイッチが押下されると、読取りデータチェック部33は、バーコード読取り部31が読取ったバーコードをチェックし、それがファームウェア更新モード移行バーコードかどうかを判断する(ステップS2)。ファームウェア更新モード移行バーコードの読取りがなされていない場合は、ファームウェア更新モード移行バーコードが読取られるまで待つ。
When a predetermined switch is pressed, the read data check
ファームウェア更新モード移行バーコードの読取りがあると、読取りが正常に行われたことを表すブザー音をスピーカ27によって発せられるとともに、所定の色の発光ダイオード24による発光表示が行われる(ステップS3)。
When the firmware update mode transition bar code is read, a buzzer sound indicating that the reading has been performed normally is emitted by the
次に、読取りデータチェック部33は、バーコード読取り部31が読取ったバーコードをチェックし、それがファームウェア更新情報用バーコードかどうかを判断する(ステップS4)。ファームウェア更新情報用バーコードの読取りがなされていない場合は、ファームウェア更新情報用バーコードが読取られるまで待つ。
Next, the read data check
ファームウェア更新情報用バーコードの読取りがあると、読取りデータチェック部33は、読取ったファームウェア更新情報用バーコードの書換版数とファームウェア格納部37に格納されている書換版数とを比較し、双方の書換版数が異なっているかどうかを判断する(ステップS5)。
When the firmware update information barcode is read, the read data check
読取ったファームウェア更新情報用バーコードの書換版数がファームウェア格納部37に格納されている書換版数と同じである場合は、更新の必要がないので、スピーカ27によるブザー鳴動および発光ダイオード24による発光表示が行われ(ステップS6)、ステップS1に戻る。
When the rewritten version number of the read firmware update information barcode is the same as the rewritten version number stored in the
ステップS5の判断にて書換版数が異なる場合、ファームウェア更新データ読取り開始の準備が整ったことをスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示し(ステップS7)、ファームウェア更新用バーコードの走査パターンをマルチ走査パターンからシングル走査パターンに切り換える(ステップS8)。
If the number of rewritten versions is different in the determination in step S5, the buzzer sounding by the
次に、読取りデータチェック部33は、バーコード読取り部31によって読み込まれたバーコードがファームウェア更新用バーコードであるかどうかを判断し(ステップS8)、ファームウェア更新用バーコードでなければ、これが読取られるまで待つ。
Next, the read data check
読取ったバーコードがファームウェア更新用バーコードであれば、確認のために、スピーカ27によるブザー鳴動および発光ダイオード24による発光表示が行われ(ステップS)10、読取りデータチェック部33により、そのファームウェア更新用バーコードの通し番号がすべて異なるバーコードであるかどうかが判断される(ステップS11)。
If the read barcode is a firmware update barcode, for confirmation, a buzzer sounding by the
通し番号が同じ、すなわち二重読取りがあった場合には、スピーカ27によるブザー鳴動および発光ダイオード24による発光表示が行われ(ステップS12)、ステップS9に戻る。
When the serial numbers are the same, that is, when double reading is performed, the buzzer is sounded by the
なお、ステップS9〜S12におけるファームウェア更新用バーコードの読取りは、ここでは、1つのバーコードの読取り処理しか示していないが、実際には、ファームウェア更新用バーコードが印刷された図5に示す用紙を使用して連続的に行われる。すなわち、メンテナンス要員が用紙に印刷されたバーコードのうち、たとえば左側の列の一番上のバーコードにシングル走査パターンで走査するレーザ光を当てるように用紙を位置決めして読取りを行う。その後は、用紙を引き上げることにより、同じ列の直下のバーコードから下に向かって連続して読取りを行い、続いて、用紙を横にずらして引き下げることにより、右側のバーコード列を下から上に向かって連続して読取らせることができる。これにより、複数のバーコードの個々の読取りとその音および光による確認とを連続して行うことができるので、ファームウェア更新用バーコードの読取り時間を大幅に短縮することができる。また、図示はしないが、それぞれのファームウェア更新用バーコードの読取りのとき、通し番号チェック部35による通し番号のチェックとともに、読取りデータチェック部33によるチェックデジット値の検査も行っている。
Note that the reading of the firmware update barcode in steps S9 to S12 shows only one barcode reading process here, but actually the sheet shown in FIG. 5 on which the firmware update barcode is printed. Is done continuously. That is, the maintenance staff positions and reads the paper so that, for example, the top barcode in the left column of the barcode printed on the paper is irradiated with a laser beam that scans in a single scanning pattern. After that, by pulling up the paper, reading is continuously performed downward from the barcode directly below the same row, and then the right barcode row is moved from the bottom up by shifting the paper to the side and pulling it down. Can be read continuously. As a result, individual reading of a plurality of barcodes and confirmation by sound and light can be performed continuously, so that the reading time of the firmware update barcode can be greatly shortened. Although not shown, when reading each firmware update barcode, the serial number check unit 35 checks the serial number and the read data check
以上のようにして通し番号の異なるファームウェア更新用バーコードの読取りが終わると、次に、通し番号チェック部35は、ファームウェア更新情報用バーコードに含まれるバーコード分割数とそれぞれのファームウェア更新用バーコードの通し番号とに基づいてすべての通し番号のバーコードを読取ったかどうかを判断する(ステップS13)。通し番号の欠番があれば、その旨をスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示し(ステップS14)、液晶表示器23に読取りしていないバーコードの通し番号を表示する(ステップS15)。この表示に基づいて、メンテナンス要員は、該当する通し番号のファームウェア更新用バーコードを再読取りし(ステップS16)、ステップS13に戻る。
When reading of the firmware update barcodes having different serial numbers is completed as described above, the serial number check unit 35 then determines the number of barcode divisions included in the firmware update information barcode and each firmware update barcode. Based on the serial numbers, it is determined whether or not the barcodes of all the serial numbers have been read (step S13). If there is a missing serial number, this is indicated by the buzzer sounding by the
ステップS13にてすべてのファームウェア更新用バーコードが揃ったと判断されると、その旨をスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示す(ステップS17)。次に、更新データ復元部36は、すべてのファームウェア更新用バーコードの更新プログラムデータの部分を通し番号順に結合し、解凍して一時記憶部32(RAM13)に展開し(ステップS18)、ファームウェア更新データを復元する。
If it is determined in step S13 that all the firmware update barcodes have been prepared, this is indicated by a buzzer sounding by the
次に、更新データ復元部36は、復元されたファームウェア更新データのチェックデジット値が正常かどうかを判断し(ステップS19)、正常なら、ファームウェア格納部37(フラッシュメモリ12)に格納されたファームウェアの該当部分を書き換える(ステップS20)。次に、更新データ復元部36は、書き換えられたファームウェアのチェックデジット値が正常かどうかを判断し(ステップS21)、正常なら、その旨をスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示す(ステップS22)。次に、読取りデータチェック部33は、ファームウェア更新後の版数確認用バーコードを読取れたかどうかを判断する(ステップS23)。ここでは、先に読取ったファームウェア更新情報用バーコードが持つ書換版数または復元された更新プログラムデータが持つ版数と同じ版数のデータを有するバーコードのみ読取りを許可するようにしている。したがって、ファームウェア更新後の版数確認用バーコードが読取れたということは、その版数がファームウェア更新情報用バーコードの持つ書換版数または復元された更新プログラムデータの持つ版数と同じであることを意味する。ファームウェア更新後の版数確認用バーコードが読取られると、その旨をスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示す(ステップS24)。このように、ファームウェア更新後の版数確認用バーコードは、ファームウェア更新済みでないと読取ることができないので、ファームウェア更新後の版数確認用バーコードの読取りができたことによって、ファームウェア更新を確認することができる。
Next, the update
そして、最後に、読取りデータチェック部33は、バーコード読取り部31が読取ったバーコードをチェックし、それが通常モード移行バーコードかどうかを判断する(ステップS25)。通常モード移行バーコードの読取りがなされていない場合は、通常モード移行バーコードが読取られるまで待ち、通常モード移行バーコードの読取りがなされた場合には、動作モード移行部34によって通常モードに移行され、このファームウェア更新処理が正常終了する。
Finally, the read
ステップS19およびS21の判断にてチェックデジット値が正常でない場合、およびステップS23の判断にてファームウェア更新後の版数確認用バーコードがたとえば所定時間内に読取れない場合、このファームウェア更新処理が正常に終了できなかった旨をスピーカ27によるブザー鳴動および発光ダイオード24による発光表示で示し(ステップS26)、必要に応じて、異常終了の原因を液晶表示器23に表示して、このファームウェア更新処理を終了する。
If the check digit value is not normal in the determinations in steps S19 and S21, and if the version number confirmation barcode after the firmware update is not read in a predetermined time, for example, in the determination in step S23, the firmware update process is normal. The buzzer sounded by the
1 POSシステム
2 POS
3 バーコードスキャナ
4 釣銭/釣札機
5 ドロア
6 オプション機器
7 バーコード
10 メイン基板
11 CPU
12 フラッシュメモリ
13 RAM
14 復調器
15 RS232Cトランシーバ
15a RS232Cインタフェース
15b RS232Cコネクタ
16 USBIC
16a PWUSBインタフェース
16b PW−USBコネクタ
17 DC/DCコンバータ
18 レーザドライバ
19 レーザダイオード
20 ポリゴンミラー
21 モータ
22a レンズ
22b 固定ミラー
22c 凹面ミラー
22d 受光素子
23 液晶表示器
24 発光ダイオード
25 スイッチ
26 近接センサ
27 スピーカ
31 バーコード読取り部
32 一時記憶部
33 読取りデータチェック部
34 動作モード移行部
35 通し番号チェック部
36 更新データ復元部
37 ファームウェア格納部
1
3 Barcode Scanner 4 Change /
12
14
Claims (8)
バーコードをマルチ走査パターンまたはシングル走査パターンで読取ってデータ化するバーコード読取り部と、
前記バーコード読取り部が読取ったバーコードのデータを記憶する一時記憶部と、
前記一時記憶部のデータから読取られたバーコードの種類を判別し、前記ファームウェア格納部に格納されているファームウェアの版数と読取ったバーコードのデータが示すファームウェアの版数とをチェックし、読取ったバーコードのデータのチェックデジット値が正常かどうかを判断する読取りデータチェック部と、
読取ったバーコードがファームウェア更新用のバーコードであると前記読取りデータチェック部が判断したとき、前記バーコード読取り部の動作モードをファームウェア更新モードに切り換え、読取ったバーコードのデータが示すファームウェアの版数が前記ファームウェア格納部に格納されているものと相違すると前記読取りデータチェック部が判断したとき、前記バーコード読取り部がバーコードを読取る走査パターンをシングル走査パターンに切り換える動作モード移行部と、
読取ったバーコードがファームウェア更新用のバーコードであると前記読取りデータチェック部が判断した場合に、前記ファームウェア更新用のバーコードのそれぞれが持つ通し番号に基づいてすべての前記ファームウェア更新用のバーコードが読取られているかをチェックする通し番号チェック部と、
すべての前記ファームウェア更新用のバーコードが読取られた段階で、それらのデータを結合してファームウェア更新データを復元する更新データ復元部と、
を備えていることを特徴とするバーコードスキャナ。 In a barcode scanner that performs barcode reading control according to the firmware stored in the firmware storage unit,
A barcode reading unit that reads a barcode in a multi-scanning pattern or a single scanning pattern and converts it into data;
A temporary storage unit for storing barcode data read by the barcode reading unit;
The type of barcode read from the data in the temporary storage unit is determined, and the version number of firmware stored in the firmware storage unit and the version number of firmware indicated by the read barcode data are checked and read. A read data check unit that determines whether the check digit value of the barcode data is normal,
When the read data check unit determines that the read barcode is a firmware update barcode, the operation mode of the barcode read unit is switched to the firmware update mode, and the firmware version indicated by the read barcode data is displayed. When the reading data check unit determines that the number is different from that stored in the firmware storage unit, an operation mode transition unit that switches the scanning pattern in which the barcode reading unit reads the barcode to a single scanning pattern, and
When the read data check unit determines that the read barcode is a firmware update barcode, all the firmware update barcodes are based on the serial numbers of the firmware update barcodes. A serial number check part for checking whether it is read, and
An update data restoration unit that combines the data and restores the firmware update data when all the firmware update barcodes are read; and
A bar code scanner comprising:
ファームウェア更新情報用のバーコードを読取ることにより更新プログラムデータの分割数および書換版数を取得し、
取得した前記書換版数が書換前ファームウェアの版数と異なる場合に、シングル走査パターンに切り換え、複数のファームウェア更新用のバーコードの連続読取りを行い、
すべての前記ファームウェア更新用のバーコードの読取りを確認し、
読取ったすべての前記ファームウェア更新用のバーコードのデータを結合して前記更新プログラムデータを含むファームウェア更新データを復元し、
前記書換前ファームウェアを復元された前記ファームウェア更新データにより書き換えることによって更新し、
更新されたファームウェアのデータを含むファームウェア更新後の版数確認用のバーコードのみの読取りを許可するようにしておき、前記ファームウェア更新後の版数確認用のバーコードを読取りできることにより更新後の前記ファームウェアの確認を行い、
通常処理モードへ移行するためのバーコードを読取ることによって前記動作モードを通常処理モードに移行する、
ことを特徴とするバーコードスキャナのファームウェア更新方法。 The barcode scanner operation mode is shifted to the update mode by reading the barcode for shifting to the firmware update mode.
By reading the barcode for firmware update information, the update program data division number and rewrite version number are obtained,
When the acquired rewritten version number is different from the version number of the firmware before rewriting, switch to a single scanning pattern, perform continuous reading of a plurality of firmware update barcodes,
Check all the firmware update barcode readings,
Combine all the read barcode data for firmware update to restore the firmware update data including the update program data,
Update by rewriting the pre-rewrite firmware with the restored firmware update data,
Only the barcode for confirming the version number after the firmware update including the updated firmware data is allowed to be read, and the barcode for confirming the version number after the firmware update can be read so that the updated version can be read. Check the firmware,
Shifting the operation mode to the normal processing mode by reading a barcode for shifting to the normal processing mode;
A method for updating a barcode scanner firmware.
前記コンピュータに、
前記バーコードスキャナの所定のスイッチの押下を判断し、
前記スイッチの押下とファームウェア更新処理モードへ移行させるためのバーコードの読取りとから前記バーコードスキャナの動作モードを更新処理モードに移行し、
ファームウェア更新情報用のバーコードを読取ることにより更新プログラムデータの分割数および書換版数を取得し、
取得した前記書換版数が書換前ファームウェアの版数と異なる場合に、前記バーコードスキャナの走査パターンをシングル走査パターンに切り換え、
分割された前記更新プログラムデータをバーコード化して並べて印刷した用紙上の複数のファームウェア更新用のバーコードを前記シングル走査パターンで順次走査することにより前記ファームウェア更新用のバーコードの連続読取りをし、
すべての前記ファームウェア更新用のバーコードの読取りを確認し、
読取ったすべての前記ファームウェア更新用のバーコードのデータを結合して前記更新プログラムデータを含むファームウェア更新データを復元し、
前記書換前ファームウェアを復元された前記ファームウェア更新データにより書き換えることによって更新し、
復元された前記ファームウェア更新データと同じ版数のデータを有するファームウェア更新後の版数確認用のバーコードのみの読取りを許可するようにし、前記ファームウェア更新後の版数確認用のバーコードが読取りできることにより更新されたファームウェアの確認を行い、
通常処理モードへ移行するためのバーコードを読取ることによって前記動作モードを通常処理モードに移行する、
処理を実行させることを特徴とするファームウェア更新プログラム。 A firmware update program for causing a computer to execute a firmware update process for a barcode scanner,
In the computer,
Determining pressing of a predetermined switch of the barcode scanner,
The operation mode of the barcode scanner is shifted to the update processing mode from the pressing of the switch and the reading of the barcode for shifting to the firmware update processing mode,
By reading the barcode for firmware update information, the update program data division number and rewrite version number are obtained,
When the acquired rewritten version number is different from the version number of the firmware before rewriting, the scanning pattern of the barcode scanner is switched to a single scanning pattern,
By sequentially scanning a plurality of firmware update barcodes on a sheet of paper that has been divided into barcodes and printed by dividing the update program data, the barcode for firmware update is continuously read,
Check all the firmware update barcode readings,
Combine all the read barcode data for firmware update to restore the firmware update data including the update program data,
Update by rewriting the pre-rewrite firmware with the restored firmware update data,
Only the barcode for confirming the version number after the firmware update having the same version number data as the restored firmware update data is permitted, and the barcode for confirming the version number after the firmware update can be read. Check for updated firmware by
Shifting the operation mode to the normal processing mode by reading a barcode for shifting to the normal processing mode;
A firmware update program for executing a process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010040076A JP2011175527A (en) | 2010-02-25 | 2010-02-25 | Bar code scanner, method of updating firmware thereof, and firmware update program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010040076A JP2011175527A (en) | 2010-02-25 | 2010-02-25 | Bar code scanner, method of updating firmware thereof, and firmware update program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011175527A true JP2011175527A (en) | 2011-09-08 |
Family
ID=44688317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010040076A Pending JP2011175527A (en) | 2010-02-25 | 2010-02-25 | Bar code scanner, method of updating firmware thereof, and firmware update program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011175527A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013088952A (en) * | 2011-10-14 | 2013-05-13 | Keyence Corp | Optical information reading apparatus |
JP2017004385A (en) * | 2015-06-12 | 2017-01-05 | 株式会社フェニックス | Work management system |
JP2022062665A (en) * | 2020-10-08 | 2022-04-20 | シャープ株式会社 | Cooker |
JP2022066389A (en) * | 2017-06-23 | 2022-04-28 | パナソニックIpマネジメント株式会社 | Heating cooker and method of controlling heating cooker |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10240308A (en) * | 1997-02-28 | 1998-09-11 | Sekisui Chem Co Ltd | Program change device for controller |
JPH11203397A (en) * | 1998-01-14 | 1999-07-30 | Denso Corp | Bar code reader |
JP2006343934A (en) * | 2005-06-08 | 2006-12-21 | Denso Wave Inc | Information code, information code reader, and data update system of information code reader |
-
2010
- 2010-02-25 JP JP2010040076A patent/JP2011175527A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10240308A (en) * | 1997-02-28 | 1998-09-11 | Sekisui Chem Co Ltd | Program change device for controller |
JPH11203397A (en) * | 1998-01-14 | 1999-07-30 | Denso Corp | Bar code reader |
JP2006343934A (en) * | 2005-06-08 | 2006-12-21 | Denso Wave Inc | Information code, information code reader, and data update system of information code reader |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013088952A (en) * | 2011-10-14 | 2013-05-13 | Keyence Corp | Optical information reading apparatus |
JP2017004385A (en) * | 2015-06-12 | 2017-01-05 | 株式会社フェニックス | Work management system |
JP2022066389A (en) * | 2017-06-23 | 2022-04-28 | パナソニックIpマネジメント株式会社 | Heating cooker and method of controlling heating cooker |
JP7320706B2 (en) | 2017-06-23 | 2023-08-04 | パナソニックIpマネジメント株式会社 | Cooking device and method of controlling the cooking device |
JP2023119069A (en) * | 2017-06-23 | 2023-08-25 | パナソニックIpマネジメント株式会社 | Method for controlling heating cooker |
JP7349609B2 (en) | 2017-06-23 | 2023-09-25 | パナソニックIpマネジメント株式会社 | How to control a heating cooker |
JP2022062665A (en) * | 2020-10-08 | 2022-04-20 | シャープ株式会社 | Cooker |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5372395B2 (en) | Electronic shelf label system | |
US20110102144A1 (en) | Information display system and management device | |
IL175708A (en) | Merchandise management system, control program and information storage medium | |
JP2002074261A (en) | Information code reader | |
JP2011175527A (en) | Bar code scanner, method of updating firmware thereof, and firmware update program | |
US20060008277A1 (en) | Optical communication system and receiving apparatus | |
JP2007179372A (en) | Combined barcode and method of reading barcode | |
JPH05225367A (en) | Method and apparatus for programming bar code reader | |
US20170249616A1 (en) | Register system capable of disabling security tags | |
JP5256259B2 (en) | Product code reading apparatus and product code reading method | |
JP2011022900A (en) | Electronic shelf label and display control method for display device of the electronic shelf label | |
JP2004252894A (en) | Bar code reader | |
WO2017012584A1 (en) | Method and system of light pulse communication | |
JP2002133364A (en) | Information processing system using two-dimensional code | |
US20200057877A1 (en) | Code symbol reading device and method therefor | |
JP5111303B2 (en) | Bar code reading apparatus and bar code reading method | |
JP2021100154A (en) | Input device and program | |
JP2003281483A (en) | Bar code, bar code system using the same, bar code generation apparatus, and bar code reader | |
JP2005250566A (en) | Merchandise sales data processing apparatus | |
JP2005208942A (en) | System, electronic apparatus, program, and method for controlling data transmission | |
JP2003085474A (en) | Optical information reader and information code output device | |
JP3785527B2 (en) | Bar code reader and storage medium | |
KR200290845Y1 (en) | Bar code scanner for multiple light source | |
JP3967802B2 (en) | Product information reader | |
JP2007102327A (en) | Identification code processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120604 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130516 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130521 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130924 |