JP2006231775A - Electronic device, information processing method, storage medium, and program - Google Patents

Electronic device, information processing method, storage medium, and program Download PDF

Info

Publication number
JP2006231775A
JP2006231775A JP2005051315A JP2005051315A JP2006231775A JP 2006231775 A JP2006231775 A JP 2006231775A JP 2005051315 A JP2005051315 A JP 2005051315A JP 2005051315 A JP2005051315 A JP 2005051315A JP 2006231775 A JP2006231775 A JP 2006231775A
Authority
JP
Japan
Prior art keywords
information
storage medium
electronic device
rfid tag
control program
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.)
Withdrawn
Application number
JP2005051315A
Other languages
Japanese (ja)
Inventor
Shoji Otaka
祥司 尾高
Kazuo Onodera
和夫 小野寺
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Inc
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 Canon Finetech Inc filed Critical Canon Finetech Inc
Priority to JP2005051315A priority Critical patent/JP2006231775A/en
Publication of JP2006231775A publication Critical patent/JP2006231775A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To avoid the updating of the information of a storage medium by information which is not normal, or to avoid the reading of information which is not normal when the information is updated through an RFID communication function, or information written in the storage medium is read through the RFID communication function in an electronic device which is motion-controlled based on the information written in the storage medium. <P>SOLUTION: This electronic device (100) is motion-controlled based on the information written in the storage medium. The electronic device (100) is equipped with an RFID tag which stores information, a reading means (202) which reads the information stored in the RFID tag after the power source of the electronic device is turned on, and an updating means (303). In this case, the updating means (303) updates the information written in the storage medium (304) by the read information when the read information does not agree with information which has already been written in the storage medium (304), and also, the read information is normal. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、RFIDタグを取り扱い可能な電子機器、情報処理方法、記憶媒体、及びプログラムに関する。   The present invention relates to an electronic device capable of handling an RFID tag, an information processing method, a storage medium, and a program.

一般に、印刷装置にはマイクロコンピュータが搭載され、制御用プログラムにより電子制御されている。従来、この制御用プログラムの書き換えには専用の装置を必要としていた。しかし、印刷装置の複雑高度化に伴い機能の追加・修正が多くなってきたことから、現在の印刷装置では、専用の装置を用いなくとも、制御用プログラムの書き換えることができるよう構成されている。   Generally, a printing apparatus is equipped with a microcomputer and is electronically controlled by a control program. Conventionally, a dedicated device is required to rewrite the control program. However, as the complexity and sophistication of printing devices has increased, functions have been added and modified, so current printing devices are configured so that control programs can be rewritten without using dedicated devices. .

具体的には、制御プログラムを電気的に消去/書換え可能な記憶媒体に記憶させることにより、印刷装置に接続されているホストコンピュータから消去/書換えができ、これにより客先などでサービスマンが容易に制御用プログラムの書換えが行えるようになっている。   Specifically, by storing the control program in an electrically erasable / rewritable storage medium, it can be erased / rewritten from the host computer connected to the printing device, which makes it easier for service personnel at customers. In addition, the control program can be rewritten.

しかしながら、工場や倉庫で出荷待ち状態のものなど、ホストコンピュータに接続されておらず梱包状態にある場合には、制御用プログラムの消去/書換えを行うにあたり、一度梱包を解き、ホストコンピュータにつなぎなおすことが必要となってくる。このため、かかる状況下では、制御用プログラムの消去/書換えに非常に手間と時間がかかってしまう。   However, if the product is not connected to the host computer and is in a packed state, such as those in a factory or warehouse that are waiting for shipment, unpack and reconnect the host computer to erase / rewrite the control program. It will be necessary. For this reason, in such a situation, it takes much time and effort to erase / rewrite the control program.

一方で、半導体技術及び電子通信技術の発達により、非接触で情報の送受信が可能なRFID(Radio Frequency IDentification)と呼ばれる自動認識システム(RFIDシステム)が開発されている。   On the other hand, with the development of semiconductor technology and electronic communication technology, an automatic recognition system (RFID system) called RFID (Radio Frequency IDentification) capable of transmitting and receiving information without contact has been developed.

一般に、RFIDシステムには電子回路が搭載されており、情報を保持するRFIDタグとRFIDタグをコントロールするRFIDリーダ/ライタとから構成されている。そして、RFIDシステムは、情報の新規書き込みや追記、ならびに複数のRFIDタグとの同時通信が可能であるという特徴を備える他、RFIDリーダ/ライタから送信される無線周波数の受信電力から生成される電圧で動作するため、RFIDタグが搭載された装置自身に電源を供給する必要がなく、しかも無線通信のため障害物等の影響を受けにくいという特徴を有している。   In general, an RFID system is equipped with an electronic circuit, and includes an RFID tag that holds information and an RFID reader / writer that controls the RFID tag. The RFID system has a feature that new information can be written and appended, and simultaneous communication with a plurality of RFID tags is possible, and a voltage generated from radio frequency received power transmitted from the RFID reader / writer. Therefore, there is no need to supply power to the device itself on which the RFID tag is mounted, and because it is wireless communication, it is less susceptible to obstacles.

そこで、かかる技術を用いて印刷装置内の記憶媒体に記憶された制御プログラムや該制御プログラムの実行時に読み込まれるデータ、あるいは機体情報等、各種情報の書換え/読み出しを簡便に行うべく、印刷装置内部にRFIDタグを搭載する印刷装置が提案されている(例えば、下記特許文献1参照)。   Therefore, in order to easily rewrite / read various information such as a control program stored in a storage medium in the printing apparatus using this technique, data read when the control program is executed, or machine information, etc. Has been proposed (see, for example, Patent Document 1 below).

かかる印刷装置によれば、例えば、印刷装置が梱包状態にあったり、電源OFF状態にあった場合であっても、RFIDリーダ/ライタとして機能するRFID通信用ハンディターミナル等を用いて、外部から印刷装置内部のRFIDタグに記憶された各種情報を書き換えることができる。書き換えられたRFIDタグの各種情報は、印刷装置起動時に当該印刷装置内部の記憶媒体(例えば、EEPROM)に反映されるため、それ以降、更新された各種情報により印刷装置を動作させることが可能となる。   According to such a printing apparatus, for example, even when the printing apparatus is in a packaged state or in a power-off state, printing is performed from the outside using an RFID communication handy terminal that functions as an RFID reader / writer. Various information stored in the RFID tag inside the apparatus can be rewritten. Since the various information of the rewritten RFID tag is reflected in a storage medium (for example, EEPROM) inside the printing apparatus when the printing apparatus is activated, it is possible to operate the printing apparatus with the various information updated thereafter. Become.

さらに、印刷装置が電源ON状態にあった場合に、記憶媒体(EEPROM)に記憶されている当該印刷装置の各種情報を当該印刷装置内部のRFIDタグに記憶させるように構成しておけば、たとえ印刷装置の電源がOFF状態になった場合であっても、当該RFID通信用ハンディターミナル等を用いて、外部から当該印刷装置内部のRFIDタグに記憶された当該各種情報を(すなわち、印刷装置が記憶媒体に記憶していた各種情報を間接的に)読み出すことが可能となる。
特開2003−216450号公報
Further, when the printing apparatus is in the power-on state, various information of the printing apparatus stored in the storage medium (EEPROM) is stored in the RFID tag inside the printing apparatus. Even when the power of the printing apparatus is turned off, the various information stored in the RFID tag inside the printing apparatus is externally stored using the RFID communication handy terminal or the like (that is, the printing apparatus Various information stored in the storage medium can be read out indirectly).
JP 2003-216450 A

しかしながら、RFIDタグに書き込まれた各種情報が何らかの影響により正常でなくなってしまう場合や、RFIDタグのメモリ領域そのものに不良があり、RFIDタグに正常に各種情報が書き込まれなくなってしまうことがある。このような場合に、正常でない各種情報に基づいて印刷装置内部の記憶媒体に記憶された各種情報を更新してしまうと、最悪の場合、印刷装置が起動しなくなる可能性がある。また、このような場合においては、電源OFF状態にてRFID通信用ハンディターミナルを用いてRFIDタグに記憶させた各種情報を読み出しても、正確な情報を得ることはできない。   However, various information written to the RFID tag may become abnormal due to some influence, or the memory area of the RFID tag itself may be defective, and various information may not be normally written to the RFID tag. In such a case, if various information stored in the storage medium inside the printing apparatus is updated based on various kinds of abnormal information, in the worst case, the printing apparatus may not start. In such a case, accurate information cannot be obtained even if various kinds of information stored in the RFID tag are read using the RFID communication handy terminal in the power-off state.

本発明は、上記課題に鑑みてなされたものであり、記憶媒体に書き込まれた情報に基づいて動作制御される電子機器において、RFID通信機能を介して当該情報を更新したり、記憶媒体に書き込まれた情報をRFID通信機能を介して読み出したりするにあたり、記憶媒体の情報が正常でない情報により更新されたり、正常でない情報が読み出されることを回避することを目的とする。   The present invention has been made in view of the above problems, and in an electronic device whose operation is controlled based on information written to a storage medium, the information is updated or written to the storage medium via an RFID communication function. It is an object of the present invention to avoid that information on a storage medium is updated with information that is not normal or information that is not normal is read when the information is read via the RFID communication function.

上記の目的を達成するために本発明に係る電子機器は以下のような構成を備える。即ち、
記憶媒体に書き込まれた情報に基づいて動作制御される電子機器であって、
RFID用の通信アンテナを介して受信された情報を記憶するRFIDタグと、
前記電子機器の電源が投入された後に、前記RFIDタグに記憶されている情報を読み込む読込手段と、
前記読込手段により読み込まれた前記送信情報が前記記憶媒体に既に書き込まれている情報と一致するか否かを判定する第一の判定手段と、
前記第一の判定手段により一致しないと判定された場合に、前記読込手段により読み込まれた前記送信情報が正常であるか否かを判定する第二の判定手段と、
前記第二の判定手段により正常であると判定された場合に、前記記憶媒体に既に書き込まれている情報を、前記読込手段により読み込まれた情報に更新する。
In order to achieve the above object, an electronic apparatus according to the present invention has the following configuration. That is,
An electronic device whose operation is controlled based on information written in a storage medium,
An RFID tag for storing information received via a communication antenna for RFID;
Read means for reading information stored in the RFID tag after the electronic device is powered on;
First determination means for determining whether or not the transmission information read by the reading means matches information already written in the storage medium;
Second determination means for determining whether or not the transmission information read by the reading means is normal when it is determined by the first determination means that they do not match,
When it is determined that the second determination means is normal, the information already written in the storage medium is updated to the information read by the reading means.

更に、もし第二の判定手段による判定結果が正常でなかった場合には、前記記憶媒体に既に記憶されている情報を前記RFIDに書き込むようにした。   Further, if the determination result by the second determination means is not normal, the information already stored in the storage medium is written into the RFID.

本発明によれば、記憶媒体に書き込まれた情報に基づいて動作制御される電子機器において、RFID通信機能を介して当該情報を更新したり、記憶媒体に書き込まれた情報をRFID通信機能を介して読み出したりするにあたり、記憶媒体の情報が正常でない情報により更新されたり、正常でない情報が読み出されることを回避することが可能となる。   According to the present invention, in an electronic device whose operation is controlled based on information written to a storage medium, the information is updated via the RFID communication function, or information written to the storage medium is updated via the RFID communication function. Therefore, it is possible to avoid that information in the storage medium is updated with information that is not normal or information that is not normal is read.

以下、本発明の一実施形態について、添付図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

[第1の実施形態]
<全体システム構成>
図1は本発明の第1の実施形態にかかるRFIDタグ通信機能付きラベル記録装置(以下ラベルプリンタとも呼ぶ)と、当該ラベルプリンタと通信を行うRFID通信用ハンディターミナルとを示した図である。
[First Embodiment]
<Overall system configuration>
FIG. 1 is a diagram showing a label recording apparatus with an RFID tag communication function (hereinafter also referred to as a label printer) according to a first embodiment of the present invention and an RFID communication handy terminal for communicating with the label printer.

ラベルプリンタ(100)とRFID通信用ハンディターミナル(101)とは、無線による通信を行うことが可能であり、RFID通信用ハンディターミナル(101)は、ラベルプリンタ(100)に内蔵された内部情報記憶用RFIDタグに対して、例えば制御プログラムを送信し記憶させたり、同じく無線通信によって内部情報記憶用RFIDタグに記憶された各種情報を読み出したりすることが出来る。   The label printer (100) and the RFID communication handy terminal (101) can perform wireless communication, and the RFID communication handy terminal (101) stores the internal information stored in the label printer (100). For example, a control program can be transmitted to and stored in the RFID tag for use, and various information stored in the RFID tag for storing internal information can be read out by wireless communication.

内蔵されたRFIDタグは、たとえラベルプリンタ(100)の電源が入っていなくても、RFID通信用ハンディターミナル(101)から受信した電波の僅かな受信電力を利用して動作可能である。   The built-in RFID tag can be operated using a small amount of received power of radio waves received from the RFID communication handy terminal (101) even if the label printer (100) is not turned on.

<ラベルプリンタの構成>
図2は、ラベルプリンタ(100)の概略構成図である。ラベルプリンタ(100)は、主として連続ラベル紙に対して印刷を行う。台紙にラベル片が仮着された連続ラベル紙をロールユニット(205)に装着してプリンタ本体の搬送部に供給する。搬送部は主に搬送モータ(206)と搬送ベルト(207)で構成され、印刷時は図中の矢印方向(「用紙搬送方向」)に連続ラベル紙を搬送する。
<Configuration of label printer>
FIG. 2 is a schematic configuration diagram of the label printer (100). The label printer (100) mainly performs printing on continuous label paper. The continuous label paper with the label pieces temporarily attached to the mount is mounted on the roll unit (205) and supplied to the transport section of the printer main body. The transport unit mainly includes a transport motor (206) and a transport belt (207), and transports the continuous label paper in the direction of the arrow (“paper transport direction”) during printing.

ここで、搬送経路上のロールユニット(205)側を搬送入口、逆側を搬送出口とする。ラベルプリンタ(100)は印刷手段として、例えばインクジェット印刷ヘッドであるブラック(K)ヘッド(203K)、シアン(C)ヘッド(203C)、マゼンタ(M)ヘッド(203M)、イエロー(Y)ヘッド(203Y)を搭載している。これらの印刷ヘッドは例えばラベル幅分の長さのノズル列を持ったフルラインタイプのインクジェット印刷ヘッドであり、これら4本の印刷ヘッドの各々のノズル列からそれぞれK、C、M、Yのインクを選択的に吐出することにより、カラー印刷を行うことができる。   Here, the roll unit (205) side on the transport path is the transport inlet, and the opposite side is the transport outlet. The label printer (100) has, for example, a black (K) head (203K), a cyan (C) head (203C), a magenta (M) head (203M), and a yellow (Y) head (203Y) as inkjet printing heads. ) Is installed. These print heads are, for example, full-line type ink jet print heads having a nozzle row having a length corresponding to the label width, and inks of K, C, M, and Y are respectively supplied from the nozzle rows of these four print heads. By selectively discharging the ink, color printing can be performed.

吐出するインクは、ブラック(K)インクカートリッジ(204K)、シアン(C)インクカートリッジ(204C)、マゼンタ(M)インクカートリッジ(204M)、イエロー(Y)インクカートリッジ(204Y)から、図示しないポンプ、チューブ等によってそれぞれの印刷ヘッドに供給される。   The ink to be ejected includes a black (K) ink cartridge (204K), a cyan (C) ink cartridge (204C), a magenta (M) ink cartridge (204M), and a yellow (Y) ink cartridge (204Y), a pump (not shown), It is supplied to each print head by a tube or the like.

ロールユニット(205)は、連続レベル紙(210)を装着するロール駆動軸(208)、ロール紙に一定のたるみをもたせる為のセンサとして用いられるロールセンサレバー(209)、ロール駆動軸(208)を駆動する図示しないロールモータから構成され、連続ラベル紙(210)をラベルプリンタ本体の搬送部に給送する。   The roll unit (205) includes a roll drive shaft (208) for loading continuous level paper (210), a roll sensor lever (209) used as a sensor for giving the roll paper a certain slack, and a roll drive shaft (208). And a continuous label sheet (210) is fed to the transport section of the label printer main body.

さらに、搬送出口近傍にはRFIDタグ(211)に対して情報を記憶させるためのRFID通信部(200)が有りRFID通信部(200)は、RFID用通信アンテナ(201)とRFIDの通信制御を行うRFIDリーダ/ライタ(202)、制御プログラム等の各種情報を記憶するRFIDタグ(211)から構成され、RFIDタグ(211)と後述する内部情報記憶用EEPROM(304)間で通信を行い、EEPROM(304)の各種情報の書換え、EEPROM(304)から読み出された各種情報のRFIDタグ(211)への書き込みを行う。   Further, there is an RFID communication unit (200) for storing information in the RFID tag (211) in the vicinity of the transfer outlet, and the RFID communication unit (200) controls communication between the RFID communication antenna (201) and the RFID. An RFID reader / writer (202) to perform, an RFID tag (211) for storing various information such as a control program, etc., communicates between the RFID tag (211) and an internal information storage EEPROM (304) to be described later. Rewriting various information in (304), and writing various information read from the EEPROM (304) to the RFID tag (211).

<機能ブロック>
図3はラベルプリンタ(100)の簡易ブロック図である。ラベルプリンタ(100)は、内部情報記憶用RFIDタグ(211)と、RFIDタグ(211)と通信を行う為のRFIDリーダ/ライタ(202)及びRFID通信用アンテナ(201)、ラベルプリンタ(100)を起動しRFIDタグ(211)と通信を行うプログラムが記憶されている起動用ROM(303)、ラベルプリンタ(100)を制御する為の制御プログラムが記憶されている書き換え可能なEEPROM(304)、ホストコンピュータから転送された印刷データを記憶したり、制御プログラムを実行したりする為のRAM(305)、連続ラベル用紙(210)を給紙する為の給紙部(309)、連続ラベル用紙を搬送する為の搬送部(310)、印刷ヘッドの移動や回復動作を行う為のヘッド機構制御部(308)、印刷ヘッドからインクを吐出する為のヘッド制御部(306)、インクを吐出することにより印刷を行う印刷ヘッド(203K)、(203C)、(203M)、(203Y)等で構成される。
<Functional block>
FIG. 3 is a simplified block diagram of the label printer (100). The label printer (100) includes an internal information storage RFID tag (211), an RFID reader / writer (202) for communicating with the RFID tag (211), an RFID communication antenna (201), and a label printer (100). And a rewritable EEPROM (304) in which a control program for controlling the label printer (100) is stored, and a startup ROM (303) in which a program for starting and communicating with the RFID tag (211) is stored. A RAM (305) for storing print data transferred from the host computer and executing a control program, a paper feed unit (309) for feeding continuous label paper (210), and a continuous label paper A transport unit (310) for transporting, a head mechanism control unit (30 for performing movement and recovery operations of the print head) ), The head control unit for ejecting ink from the print head (306), the print head that performs printing by ejecting ink (203K), composed of such (203C), (203M), (203Y).

ラベルプリンタ(100)はさらに、プリンタのステータスを表示するLCD表示部および操作用スイッチの付いたオペレーションパネル(313)、ホストコンピュータ等外部装置と通信を行う為の外部インタフェース(312)、ラベルプリンタ全体の制御を行うCPU(311)から構成される。   The label printer (100) further includes an LCD display section for displaying the printer status and an operation panel (313) with an operation switch, an external interface (312) for communicating with an external device such as a host computer, and the entire label printer. It is comprised from CPU (311) which performs control of.

内部情報記憶用RFIDタグ(211)は既に記述した通り、電源を必要としないパッシブ方式を採用しておりRFIDリーダ/ライタ(315)との通信は無線電波の受信電力を利用して動作する。ラベルプリンタ(100)の各種情報の更新またはラベルプリンタ(100)からの各種情報の読み出しは、RFID通信用ハンディターミナル(101)等、RFIDタグ(211)と通信可能な外部機器を用いて行われる。外部から通信を行う場合でも無線電波の受信電力を利用してRFIDタグ(211)は動作するので、RFIDタグ(211)自身は、たとえラベルプリンタ(100)の電源が供給されていない状態であっても外部機器との通信は可能である。   As already described, the internal information storage RFID tag (211) employs a passive system that does not require a power source, and communication with the RFID reader / writer (315) operates using received power of radio waves. Updating various information of the label printer (100) or reading various information from the label printer (100) is performed using an external device capable of communicating with the RFID tag (211), such as an RFID communication handy terminal (101). . Even when communication is performed from the outside, the RFID tag (211) operates using the received power of the radio wave, so the RFID tag (211) itself is not supplied with power to the label printer (100). However, communication with external devices is possible.

RFIDハンディターミナル(101)は、RFIDタグ(211)と通信を行うためのRFID通信用アンテナ(314)およびRFIDリーダ/ライタ(315)、RFIDハンディターミナルを制御するためのプログラムを記憶するROM(316)、RFIDタグ(211)との送受信データを記憶するためのRAM(317)、RFIDハンディターミナル(101)全体を制御するためのCPU(318)から構成される。   The RFID handy terminal (101) includes an RFID communication antenna (314) and an RFID reader / writer (315) for communicating with the RFID tag (211), and a ROM (316 for storing a program for controlling the RFID handy terminal. ), A RAM (317) for storing transmission / reception data with the RFID tag (211), and a CPU (318) for controlling the entire RFID handy terminal (101).

<RFIDタグ(211)に記憶されるデータフォーマット>
図4(1)はラベルプリンタ(100)に内蔵される内部情報記憶用RFIDタグ(211)に記憶されるデータフォーマットを示した図である。
<Data format stored in RFID tag (211)>
FIG. 4A is a diagram showing a data format stored in an internal information storage RFID tag (211) built in the label printer (100).

内部情報(400)は各種情報を識別する為の識別コード(401)、各種情報の情報量を示すデータ長(402)、各種情報を記憶するデータ部(403)から構成される。   The internal information (400) includes an identification code (401) for identifying various types of information, a data length (402) indicating the amount of information of various types of information, and a data section (403) for storing various types of information.

内部情報には、ラベルプリンタ(100)の制御プログラムやバージョン情報等(404)の他、各印刷ヘッド(203K、203C、203M、203Y)が有する固有の印刷特性データ(例えば各ノズルのインク吐出量のバラツキから生じる印刷ムラを改善することを目的としたノズル単位の印刷濃度データ)(405)、機体の識別番号であるハードウェアシリアルナンバー(406)、各印刷ヘッド(203K、203C、203M、203Y)の累積インク吐出(印刷)数(407)、印刷ヘッドの取り付け誤差などによる各印刷ヘッド相互の印刷位置ずれを修正する為の印刷位置調整値(408)等がある(なお、第1及び第2の実施形態では、これらを総称して「各種情報」と称す)。   In addition to the control program and version information (404) of the label printer (100), the internal information includes unique print characteristic data (for example, ink discharge amount of each nozzle) possessed by each print head (203K, 203C, 203M, 203Y). Print density data for each nozzle (405) for the purpose of improving the printing unevenness caused by the variation of the image) (405), the hardware serial number (406) which is the identification number of the machine body, and each print head (203K, 203C, 203M, 203Y) ) Cumulative ink ejection (printing) number (407), print position adjustment value (408) for correcting the print position misalignment between the print heads due to print head mounting errors, etc. In the second embodiment, these are collectively referred to as “various information”).

制御用プログラム記憶フォーマット(404)のデータ部は、制御プログラムのバージョン情報と制御プログラムが記憶される。   The data portion of the control program storage format (404) stores version information of the control program and the control program.

印刷特性データ記憶フォーマット(405)のデータ部は、どの印刷ヘッドの印刷特性データかを判別する為のヘッドシリアルナンバーと印刷特性データが記憶される。   The data portion of the print characteristic data storage format (405) stores a head serial number and print characteristic data for determining which print head is the print characteristic data.

ハードウェアシリアルナンバー記憶フォーマット(406)のデータ部は、機体のシリアルナンバーとラベルプリンタ(100)に使用されている各印刷ヘッドのシリアルナンバーが記憶される。   The data portion of the hardware serial number storage format (406) stores the serial number of the machine body and the serial number of each print head used in the label printer (100).

累積インク吐出(印刷)数記憶フォーマット(407)のデータ部は、各印刷ヘッドの累積インク吐出(印刷)数と全印刷ヘッドの累積インク吐出数の和から構成される。   The data portion of the cumulative ink discharge (printing) number storage format (407) is composed of the sum of the cumulative ink discharge (printing) number of each print head and the cumulative ink discharge number of all the print heads.

印刷位置調整値記憶フォーマット(408)のデータ部は、各印刷ヘッドの縦方向(用紙搬送方向)の調整値と横方向(印刷ヘッドのノズル列方向)の調整値から構成される。   The data portion of the print position adjustment value storage format (408) is composed of adjustment values in the vertical direction (paper transport direction) and adjustment values in the horizontal direction (nozzle row direction of the print head) of each print head.

図4(2)はラベルプリンタ(100)に内蔵される内部情報記憶用RFIDタグメモリマップを示した図である。RFIDタグ(211)には、記憶フォーマット(400)の形式で、内部情報記憶用RFIDタグメモリマップ(410)に示す通り、各内部情報が連続的に記憶されている。内部情報の記憶の順番には特に指定は無く、識別コード(401)により内部情報を識別する。   FIG. 4 (2) is a diagram showing an internal information storage RFID tag memory map built in the label printer (100). Each internal information is continuously stored in the RFID tag (211) in the storage format (400) as shown in the internal information storage RFID tag memory map (410). The order of storing the internal information is not particularly specified, and the internal information is identified by the identification code (401).

また、記憶されている情報量は、先頭から順に識別コード(401)を検索することで確認を行う。次の内部情報識別コードの位置(記憶されているアドレス)は計算式(411)から算出できるので、終了コード(409)を検知するまで検索を行うことで、記憶情報量を確認できる。   The stored information amount is confirmed by searching the identification code (401) in order from the top. Since the position (stored address) of the next internal information identification code can be calculated from the calculation formula (411), the stored information amount can be confirmed by performing a search until the end code (409) is detected.

以上述べたことから、RFIDタグ(211)には必ずしも全ての情報が記憶されている必要は無く、更新が必要な情報だけを記憶しておくことも可能である。このため、ラベルプリンタ(100)に内蔵されるRFIDタグ(211)の記憶容量を考慮して効果的に利用することが出来る。   From the above, it is not always necessary to store all information in the RFID tag (211), and it is also possible to store only information that needs to be updated. For this reason, it can be effectively used in consideration of the storage capacity of the RFID tag (211) built in the label printer (100).

<RFIDハンディターミナルによる処理>
図5はラベルプリンタ(100)に搭載されるRFIDタグ(211)とRFID通信用ハンディターミナル(101)との間のデータ送受信の流れを示したフローチャートである。
<Processing by RFID handy terminal>
FIG. 5 is a flowchart showing a flow of data transmission / reception between the RFID tag (211) mounted on the label printer (100) and the RFID communication handy terminal (101).

RFID通信用ハンディターミナル(101)はユーザからのコマンド待ち状態となっており(ステップS501)、コマンドを受信すると、受信したコマンドの解析処理を行う(ステップS502)。   The RFID communication handy terminal (101) is in a state of waiting for a command from the user (step S501). When a command is received, the received command is analyzed (step S502).

ステップS503では、コマンドがデータクリアコマンドであるかを判定し、クリアコマンドであれば、ラベルプリンタ(100)内蔵のRFIDタグ(211)のデータをクリア(消去)し(ステップS504)、再びコマンド待ち状態に戻る(ステップS501)。   In step S503, it is determined whether the command is a data clear command. If the command is a clear command, the data in the RFID tag (211) built in the label printer (100) is cleared (erased) (step S504) and the command is waited again. Return to the state (step S501).

データクリアコマンドで無い場合は続けて、データ書き込みコマンドであるかを判定し(ステップS505)、データ書き込みコマンドであればRFID通信用ハンディターミナル(101)のRAM(317)に記憶されているラベルプリンタ(100)の制御プログラムまたは印刷特性データ等の各種情報をRFIDタグ(211)へ書き込み(ステップS506)、再びコマンド受信状態に戻る(ステップS501)。   If it is not a data clear command, it is determined whether it is a data write command (step S505). If it is a data write command, the label printer stored in the RAM (317) of the RFID communication handy terminal (101) is determined. Various information such as the control program of (100) or print characteristic data is written to the RFID tag (211) (step S506), and the command reception state is again returned (step S501).

データ書き込みコマンドでない場合は続けて、データ読み込みコマンドであるかを判定し(ステップS507)、データ読み込みコマンドであればRFIDタグ(211)に記憶された各種情報の読み込みをおこない、RFID通信用ハンディターミナル(101)のRAM(317)に記憶し(ステップS508)、再びコマンド受信状態に戻る(ステップS501)。   If it is not a data write command, it is determined whether it is a data read command (step S507). If it is a data read command, various information stored in the RFID tag (211) is read, and the RFID communication handy terminal. The data is stored in the RAM (317) of (101) (step S508), and the command reception state is again returned (step S501).

<ラベルプリンタにおける処理(制御プログラムの更新)>
図6はラベルプリンタ(100)の各種情報のうち制御プログラムを更新する場合の処理の流れを示したフローチャートである。ラベルプリンタ(100)に電源が投入(ステップS601)されると起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、RFIDリーダ/ライタ(202)はRFID通信用アンテナ(201)を介して、内蔵したRFIDタグ(211)と通信可能状態となる(ステップS602)。
<Processing in label printer (update of control program)>
FIG. 6 is a flowchart showing the flow of processing when the control program is updated among various pieces of information of the label printer (100). When the label printer (100) is turned on (step S601), the RFID communication program stored in the activation ROM (303) is executed, and the RFID reader / writer (202) is operated by the RFID communication antenna (201). Then, communication with the built-in RFID tag (211) is enabled (step S602).

続いてRFIDタグ(211)に制御プログラムが記憶されているかを確認する為にRFIDタグ(211)に記憶されている識別コード(401)を取得し(ステップS603)、制御プログラムがあるかを判定する(ステップS604)。   Subsequently, in order to check whether the control program is stored in the RFID tag (211), the identification code (401) stored in the RFID tag (211) is acquired (step S603), and it is determined whether there is a control program. (Step S604).

制御プログラムがあった場合は、RFIDタグ(211)から、データ長(402)だけ制御プログラム(404)を取得し(ステップS605)、取得したデータから内部情報記憶用EEPROM(304)に記憶されている制御プログラムとバージョンを比較し(ステップS606)、同一であった場合は、制御プログラムを更新せずに制御プログラム更新処理を終了する。   If there is a control program, the control program (404) is acquired from the RFID tag (211) by the data length (402) (step S605), and stored in the internal information storage EEPROM (304) from the acquired data. The version of the existing control program is compared (step S606), and if it is the same, the control program update process is terminated without updating the control program.

異なるバージョンであった場合はRFIDタグ(211)から読み込んだ制御プログラムが正常かどうかを判定し(ステップS609)、正常であった場合のみ更新する(ステップS611)。このような処理をすることにより、異常のある制御プログラムによってEEPROM(304)の制御プログラムが更新され、ラベルプリンタ(100)が起動しなくなってしまうといった事態を防ぐことができる。   If it is a different version, it is determined whether or not the control program read from the RFID tag (211) is normal (step S609), and is updated only when it is normal (step S611). By performing such processing, it is possible to prevent a situation in which the control program of the EEPROM (304) is updated by an abnormal control program and the label printer (100) is not activated.

一方、異常があった場合は、制御プログラムを更新せずに、オペレーションパネル(313)のLCD表示部にエラー表示を行い(ステップS610)、制御プログラム更新処理を終了する。これにより、ユーザはRFIDタグ(211)に書き込んだ制御プログラムによって、内部情報記憶用EEPROM(304)が書き換えられなかったことを認識することができる。   On the other hand, if there is an abnormality, the control program is not updated, an error is displayed on the LCD display unit of the operation panel (313) (step S610), and the control program update process is terminated. Thus, the user can recognize that the internal information storage EEPROM (304) has not been rewritten by the control program written to the RFID tag (211).

また、異常があった場合には内部情報記憶用EEPROM(304)に記憶されている制御プログラムをRFIDタグ(211)に書き込む(ステップS615)。このように、異常があった場合に、内部情報記憶用EEPROM(304)に記憶されている制御プログラムをRFIDタグ(211)に書き込むのは、当該ラベルプリンタ(100)の電源がOFF時でも、当該ラベルプリンタ(100)の有する制御プログラムをユーザが確認できるようにするためである。つまり、RFIDタグ(211)に記憶された制御プログラムを異常のままに放置しておくと、電源OFF時にRFID通信用ハンディターミナル(101)を用いて当該ラベルプリンタ(100)の有する制御プログラムを確認しようとしても、確認することができず利便性が悪いからである。   If there is an abnormality, the control program stored in the internal information storage EEPROM (304) is written to the RFID tag (211) (step S615). Thus, when there is an abnormality, the control program stored in the internal information storage EEPROM (304) is written to the RFID tag (211) even when the power of the label printer (100) is OFF. This is because the user can confirm the control program of the label printer (100). That is, if the control program stored in the RFID tag (211) is left in an abnormal state, the control program of the label printer (100) is confirmed using the RFID communication handy terminal (101) when the power is turned off. This is because even if it is attempted, it cannot be confirmed and the convenience is poor.

更新終了後、ステップS612では制御プログラムが正常に書き換えられたかを判定し、書き換えが正常終了した場合は、制御プログラム更新処理を終了する。   After the update is completed, in step S612, it is determined whether the control program has been rewritten normally. If the rewrite has been completed normally, the control program update process is terminated.

一方、書き込みエラーが発生した場合には、オペレーションパネル(313)のLCD表示部に書き込みエラー表示を行い(ステップS613)、ラベルプリンタ(100)の動作を停止する(ステップS614)。   On the other hand, when a writing error occurs, a writing error is displayed on the LCD display unit of the operation panel (313) (step S613), and the operation of the label printer (100) is stopped (step S614).

また、ステップS604で、制御プログラムではなかった場合には、取得した識別コードが終了コードであるか確認し(ステップS607)、終了コードであった場合は、内部情報記憶用EEPROM(304)に記憶されている制御プログラムをRFIDタグに書き込み(ステップS615)、制御プログラム更新処理を終了する。なお、ステップS604で、制御プログラムでなかった場合に、内部情報記憶用EEPROM(304)に記憶されている制御プログラムをRFIDタグに書き込むのは、当該ラベルプリンタ(100)の電源OFF時でも、当該ラベルプリンタ(100)の有する制御プログラムをユーザが確認できるようにするためである。   If it is not a control program in step S604, it is checked whether the acquired identification code is an end code (step S607). If it is an end code, it is stored in the internal information storage EEPROM (304). The control program being written is written to the RFID tag (step S615), and the control program update process is terminated. In step S604, if the control program is not a control program, the control program stored in the internal information storage EEPROM (304) is written to the RFID tag even when the label printer (100) is turned off. This is because the user can confirm the control program of the label printer (100).

一方、ステップS607において、終了コードではない場合は次の識別コードへ移動し(ステップS608)、ステップS603を実行する。   On the other hand, if it is not the end code in step S607, the process moves to the next identification code (step S608) and executes step S603.

<ラベルプリンタにおける処理(印刷特性データの更新)>
図7はラベルプリンタ(100)の各種情報のうち、印刷特性データを更新する場合の処理の流れを示したフローチャートである。ラベルプリンタ(100)に電源が投入(ステップS701)されると起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(211)と通信可能状態となる(ステップS702)。
<Processing in label printer (updating print characteristics data)>
FIG. 7 is a flowchart showing the flow of processing when printing characteristic data is updated among various types of information of the label printer (100). When the power of the label printer (100) is turned on (step S701), the RFID communication program stored in the activation ROM (303) is executed, and communication with the internal information storage RFID tag (211) is enabled. (Step S702).

RFIDタグ(211)に記憶されている識別コード(401)を取得し(ステップS703)、印刷特性データがあるかを判定する(ステップS704)。印刷特性データがあった場合はRFIDタグ(211)から、データ長(402)だけ印刷特性データ(403)を取得し(ステップS705)、取得した印刷特性データと各印刷ヘッド(203K〜203Y)に記憶されているヘッドシリアルナンバーとの比較を行い(ステップS706)、シリアルナンバーが一致した場合には、取得した印刷特性データのチェックを行う(ステップS709)。データが正常だった場合は各印刷ヘッドの印刷特性データを書き換える(ステップS711)。一方、印刷特性データに異常があった場合は書き換えを行わず、オペレーションパネル(313)のLCD表示部にエラーを表示し、現在の印刷特性データをRFIDタグ(211)に記憶する(ステップS710)。   The identification code (401) stored in the RFID tag (211) is acquired (step S703), and it is determined whether there is print characteristic data (step S704). If there is print characteristic data, the print characteristic data (403) is acquired from the RFID tag (211) for the data length (402) (step S705), and the acquired print characteristic data and each print head (203K to 203Y) are acquired. The stored head serial number is compared (step S706). If the serial numbers match, the acquired print characteristic data is checked (step S709). If the data is normal, the print characteristic data of each print head is rewritten (step S711). On the other hand, if there is an abnormality in the print characteristic data, rewriting is not performed, an error is displayed on the LCD display unit of the operation panel (313), and the current print characteristic data is stored in the RFID tag (211) (step S710). .

ステップS712では、書き換えが正常終了したかを判定し、正常終了した場合は、印刷特性データの更新処理を終了する。書き込みエラーが発生した場合には、オペレーションパネル(313)のLCD表示部に書き込みエラー表示を行い(ステップS713)、印刷特性データの更新処理を終了する。   In step S712, it is determined whether the rewriting has been completed normally. If the rewriting has been completed normally, the printing characteristic data update process is terminated. If a write error has occurred, a write error is displayed on the LCD display unit of the operation panel (313) (step S713), and the print characteristic data update process is terminated.

また、ステップS704で、印刷特性データがなかった場合は、取得した識別コードが終了コードであるか確認し(ステップS707)、終了コードであった場合は、印刷特性データをRFIDタグ(211)に書き込んだ後(ステップS714)、印刷特性データ更新処理を終了する。終了コードではない場合は次の識別コードへ移動し(ステップS708)、ステップS703を実行する。   In step S704, if there is no print characteristic data, it is confirmed whether the acquired identification code is an end code (step S707). If it is an end code, the print characteristic data is stored in the RFID tag (211). After the writing (step S714), the print characteristic data update process is terminated. If it is not an end code, the process moves to the next identification code (step S708) and executes step S703.

<ラベルプリンタにおける処理(機体情報の更新)>
図8はラベルプリンタ(100)における各種情報のうち、機体情報(ハードウェアシリアルナンバー、累積インク吐出数、ヘッド位置調整値)を更新する場合の処理の流れを示したフローチャートである。ラベルプリンタ(100)に電源が投入(ステップS801)されると、起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、RFIDタグ(211)と通信可能状態となる(ステップS802)。
<Processing in label printer (update of machine information)>
FIG. 8 is a flowchart showing the flow of processing when machine information (hardware serial number, cumulative ink ejection number, head position adjustment value) among various information in the label printer (100) is updated. When the power of the label printer (100) is turned on (step S801), the RFID communication program stored in the activation ROM (303) is executed, and communication with the RFID tag (211) is enabled (step S802). ).

ステップS805では、RFIDタグ(211)にハードウェアシリアルナンバーが記憶されているか確認を行い、記憶されている場合はデータをチェックした後、データが正常であればRFIDタグ(211)に記憶されているハードウェアシリアルナンバーによりEEPROM(304)に記憶されているハードウェアシリアルナンバーを上書きし(ステップS804)、RFIDタグ(211)に記憶されているデータが正常でない場合、またはRFIDタグ(211)にデータが記憶されていない場合は、EEPROM(304)に記憶されているハードウェアシリアルナンバーをRFIDタグ(211)へ新規に書き込む(ステップS805)。   In step S805, it is confirmed whether the hardware serial number is stored in the RFID tag (211). If it is stored, the data is checked. If the data is normal, it is stored in the RFID tag (211). The hardware serial number stored in the EEPROM (304) is overwritten with the hardware serial number stored (step S804), and the data stored in the RFID tag (211) is not normal, or the RFID tag (211) is stored. If no data is stored, the hardware serial number stored in the EEPROM (304) is newly written into the RFID tag (211) (step S805).

続いて、RFIDタグ(211)に累積インク吐出(印刷)数が記憶されているかを確認し、記憶されている場合はデータをチェックした後(ステップS806)、データが正常であればRFIDタグ(211)に記憶されている累積インク吐出(記録)数によりEEPROM(304)に記憶されている累積インク吐出数を上書きし(ステップS807)、RFIDタグ(211)に記憶されているデータが正常でない場合、またはRFIDタグ(211)にデータが記憶されていない場合はEEPROM(304)の累積インク吐出(印刷)数をRFIDタグ(211)へ新規に書き込む(ステップS808)。   Subsequently, it is confirmed whether or not the cumulative ink ejection (printing) number is stored in the RFID tag (211), and if stored, the data is checked (step S806). If the data is normal, the RFID tag ( 211), the cumulative ink discharge number stored in the EEPROM (304) is overwritten by the cumulative ink discharge (recording) number stored in the 211 (step S807), and the data stored in the RFID tag (211) is not normal. If the data is not stored in the RFID tag (211), the cumulative ink ejection (printing) number of the EEPROM (304) is newly written in the RFID tag (211) (step S808).

続いて、RFIDタグ(211)に印刷位置調整値情報が記憶されているか確認を行い(ステップS809)、記憶されている場合はデータをチェックした後、データが正常であればRFIDタグ(211)に記憶されている印刷位置調整値情報によりEEPROM(304)に記憶されている印刷位置調整値情報を上書きし(ステップS810)、RFIDタグ(211)に記憶されているデータが正常でない場合、またはRFIDタグ(211)にデータが記憶されていない場合は、EEPROM(304)の印刷位置調整値情報をRFIDタグ(211)へ新規に書き込む(ステップS811)。   Subsequently, it is checked whether the print position adjustment value information is stored in the RFID tag (211) (step S809). If stored, the data is checked. If the data is normal, the RFID tag (211) is checked. The print position adjustment value information stored in the EEPROM (304) is overwritten with the print position adjustment value information stored in (Step S810), and the data stored in the RFID tag (211) is not normal, or If no data is stored in the RFID tag (211), the print position adjustment value information in the EEPROM (304) is newly written into the RFID tag (211) (step S811).

以上の説明から明らかなように、本実施形態にかかるラベルプリンタによれば、RFID通信機能を搭載することで当該ラベルプリンタが梱包状態の如く電源が入っていない状態であったり、またはホストコンピュータに接続されていない状態であったりした場合でも、ラベルプリンタの制御プログラムや、制御プログラム実行時に読み込まれるデータ、あるいはラベルプリンタの機体情報等、RFIDタグに記憶された各種情報の書換えが可能となる。そして、本実施形態にかかるラベルプリンタでは、電源投入時に当該書き換えられた各種情報により内部情報記憶用EEPROMを更新することで、当該書き換えられた各種情報を反映させることができ、さらに、内部情報記憶用EEPROMを更新する際には当該各種情報が正常であるか否かを確認することにより、正常でない情報によって内部情報記憶用EEPROMが更新されてしまうことを回避することが可能となる。   As is clear from the above description, according to the label printer according to the present embodiment, the RFID printer function is installed so that the label printer is not turned on as in the packaged state, or is not connected to the host computer. Even when the printer is not connected, various information stored in the RFID tag such as a label printer control program, data read when the control program is executed, or label printer machine information can be rewritten. In the label printer according to the present embodiment, when the power is turned on, the internal information storage EEPROM can be updated with the rewritten various information to reflect the rewritten various information. When updating the EEPROM for use, it is possible to prevent the internal information storage EEPROM from being updated with information that is not normal by checking whether the various types of information are normal.

加えて、RFIDタグに記憶された各種情報が正常でなかった場合には、逆に内部情報記憶用EEPROMに記憶されている各種情報によってRFIDタグに記憶されている各種情報を書き換える構成とすることにより、ラベルプリンタの電源OFF時でも、ユーザはRFID通信用ハンディターミナルを用いてRFIDタグを介してラベルプリンタの有する正常な各種情報を読み出すことが可能となる(つまり、正常でない情報が読み出されることが回避される)。   In addition, when various information stored in the RFID tag is not normal, the various information stored in the RFID tag is rewritten with the various information stored in the internal information storage EEPROM. Accordingly, even when the power of the label printer is turned off, the user can read various normal information held by the label printer via the RFID tag using the RFID communication handy terminal (that is, the abnormal information is read). Is avoided).

[第2の実施形態]
上記第1の実施形態では、RFIDタグに書き込まれた情報を用いて、内部情報記憶用EEPROMを更新するための処理が、ラベルプリンタの電源の投入を契機として自動的に開始されるように構成したが、本発明はこれに限られず、例えば、ユーザが所定の指示を入力した場合にのみ、RFIDタグに書き込まれた情報を用いて、内部情報記憶用EEPROMを更新するための処理が開始されるように構成してもよい。以下にラベルプリンタ100における処理の詳細を説明する。
[Second Embodiment]
In the first embodiment, the process for updating the internal information storage EEPROM using the information written in the RFID tag is automatically started when the label printer is turned on. However, the present invention is not limited to this. For example, only when the user inputs a predetermined instruction, processing for updating the internal information storage EEPROM using the information written in the RFID tag is started. You may comprise. Details of processing in the label printer 100 will be described below.

<ラベルプリンタにおける処理(制御プログラムの更新)>
図9はラベルプリンタ(100)の制御プログラムを更新する場合の処理の流れを示したフローチャートである。
<Processing in label printer (update of control program)>
FIG. 9 is a flowchart showing a processing flow when the control program of the label printer (100) is updated.

ステップS901にてラベルプリンタ(100)に電源が投入され初期化動作が終了すると、ユーザにより入力されるオペレーションパネル(313)からのコマンドの受信を待機するコマンド受信待機状態となり(ステップS902)、コマンドが受信されると解析処理を行い、制御プログラム更新命令か否かを判定する(ステップS903)。制御プログラム更新命令ではない場合は、そのコマンドに対応する処理プログラムを実行し(ステップS909)、再びコマンド受信待機状態に戻る(ステップS901)。   When the label printer (100) is turned on in step S901 and the initialization operation is completed, a command reception standby state in which the command input from the operation panel (313) input by the user is waited is entered (step S902). Is received, it is analyzed to determine whether it is a control program update command (step S903). If it is not a control program update instruction, the processing program corresponding to the command is executed (step S909), and the command reception standby state is again returned (step S901).

一方、制御プログラム更新命令の場合には、起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、RFIDタグ(211)と通信可能状態となる(ステップS904)。   On the other hand, in the case of a control program update command, the RFID communication program stored in the activation ROM (303) is executed, and communication with the RFID tag (211) is enabled (step S904).

続いてRFIDタグ(211)に制御プログラムが記憶されているかを確認する為にRFIDタグ(211)に記憶されている識別コード(401)を取得し(ステップS905)、制御プログラムがあるかを判定する(ステップS906)。制御プログラムがあった場合は、RFIDタグ(211)から、データ長(402)だけデータ(403)を取得し(ステップS907)、取得したデータから内部情報記憶用EEPROM(304)に記憶されている制御プログラムとバージョンを比較し(ステップS908)、同一であった場合は、制御用プログラムを更新せずに制御プログラム更新処理を終了する。   Subsequently, in order to check whether the control program is stored in the RFID tag (211), the identification code (401) stored in the RFID tag (211) is acquired (step S905), and it is determined whether there is a control program. (Step S906). If there is a control program, data (403) is acquired from the RFID tag (211) by the data length (402) (step S907), and stored in the internal information storage EEPROM (304) from the acquired data. The version of the control program is compared (step S908). If the version is the same, the control program update process is terminated without updating the control program.

一方、異なるバージョンであった場合には、RFIDタグ(211)から読み込んだ制御プログラムが正常かどうかを判定し(ステップS912)、正常であった場合のみ更新する(ステップS913)。異常があった場合は、制御用プログラムを更新せずにオペレーションパネル(313)のLCD表示部にエラー表示を行なった後(ステップS917)、制御プログラム更新処理を終了し、RFIDタグ(211)に内部情報記憶用EEPROM304に記憶されている制御プログラムを書き込む(ステップS918)。   On the other hand, if the version is different, it is determined whether or not the control program read from the RFID tag (211) is normal (step S912), and is updated only when it is normal (step S913). If there is an abnormality, an error is displayed on the LCD display unit of the operation panel (313) without updating the control program (step S917), the control program update process is terminated, and the RFID tag (211) is displayed. The control program stored in the internal information storage EEPROM 304 is written (step S918).

一方、ステップS913にて制御プログラムの更新が行われた場合には、更新終了後制御プログラムが正常に書き換えられたかを判定し(ステップS914)、正常終了した場合は、制御プログラム更新処理を終了する。   On the other hand, if the control program has been updated in step S913, it is determined whether the control program has been rewritten normally after completion of the update (step S914). If the control program has been successfully completed, the control program update process is terminated. .

一方、書き込みエラーが発生した場合は、オペレーションパネル(313)のLCD表示部に書き込みエラー表示を行い(ステップS915)、ラベルプリンタ(100)の動作を停止する(ステップS916)。   On the other hand, when a writing error occurs, a writing error is displayed on the LCD display unit of the operation panel (313) (step S915), and the operation of the label printer (100) is stopped (step S916).

また、ステップS906にて制御プログラムではないと判定された場合には、取得した識別コードが終了コードであるか確認し(ステップS910)、終了コードであった場合は、EEPROM(304)に記憶されている制御プログラムをRFIDタグ(211)に書き込む(ステップS917)。一方、終了コードではない場合は次の識別コードへ移動し(ステップS911)、ステップS905を実行する。   If it is determined in step S906 that it is not a control program, it is checked whether the acquired identification code is an end code (step S910). If it is an end code, it is stored in the EEPROM (304). Is written to the RFID tag (211) (step S917). On the other hand, if it is not the end code, the process moves to the next identification code (step S911) and executes step S905.

<ラベルプリンタにおける処理(印刷特性データの更新)>
図10はラベルプリンタ(100)の印刷特性データ更新の流れを示したフローチャートである。ステップS1001においてラベルプリンタ(100)に電源が投入され初期化動作が終了すると、コマンド受信待機状態となり(ステップS1002)、コマンドが受信されると解析処理を行い、印刷特性データ書換え命令かを判定する(ステップS1003)。
<Processing in label printer (updating print characteristics data)>
FIG. 10 is a flowchart showing the flow of printing characteristic data update of the label printer (100). When the label printer (100) is turned on in step S1001 and the initialization operation is completed, a command reception standby state is entered (step S1002). When a command is received, analysis processing is performed to determine whether it is a print characteristic data rewrite command. (Step S1003).

印刷特性データ書換え命令でない場合は、そのコマンドに対応する処理プログラムを実行し(ステップS1009)、再びコマンド受信待機状態に戻る(ステップS1002)。一方、印刷特性データ書換え命令の場合は、起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(211)と通信可能状態となる(ステップS1004)。   If it is not a print characteristic data rewrite command, the processing program corresponding to the command is executed (step S1009), and the process returns to the command reception standby state (step S1002). On the other hand, in the case of the print characteristic data rewrite command, the RFID communication program stored in the activation ROM (303) is executed, and communication with the internal information storage RFID tag (211) is enabled (step S1004).

続いてRFIDタグ(211)に記憶されている識別コード(401)を取得し(ステップS1005)、印刷特性データがあるかを判定する(ステップS1006)。印刷特性データがあった場合はRFIDタグ(211)から、データ長(402)だけデータ(403)を取得し(ステップS1007)、取得したデータに含まれるヘッドシリアルナンバーとEEPROM(304)に記憶されている各印刷ヘッド(204K〜204Y)のヘッドシリアルナンバーとの比較を行う(ステップS1008)。   Subsequently, the identification code (401) stored in the RFID tag (211) is acquired (step S1005), and it is determined whether there is print characteristic data (step S1006). If there is print characteristic data, the data (403) is acquired from the RFID tag (211) by the data length (402) (step S1007) and stored in the head serial number and EEPROM (304) included in the acquired data. A comparison is made with the head serial numbers of the print heads (204K to 204Y) (step S1008).

ステップS1008においてEEPROM(304)に記憶されている各印刷ヘッドのヘッドシリアルナンバーと一致した場合は、ステップS1012に進み、印刷特性データをチェックする。印刷特性データが正常であった場合には、EEPROM(304)に記憶されている印刷特性データを書き換える(ステップS1013)。一方、印刷特性データに異常があった場合は、オペレーションパネル(313)のLCD表示部にエラー表示を行い、RFIDタグ(211)にEEPROM(304)に記憶されている各印刷ヘッドの印刷特性データを書き込む(ステップS1015)。   If it matches with the head serial number of each print head stored in the EEPROM (304) in step S1008, the process proceeds to step S1012 to check the print characteristic data. If the print characteristic data is normal, the print characteristic data stored in the EEPROM (304) is rewritten (step S1013). On the other hand, if there is an abnormality in the print characteristic data, an error is displayed on the LCD display unit of the operation panel (313), and the print characteristic data of each print head stored in the EEPROM (304) in the RFID tag (211). Is written (step S1015).

ステップS1014では、書き換えが正常終了したかを判定し、正常終了した場合は、印刷特性データ更新処理を終了する。書き込みエラーが発生した場合には、オペレーションパネル(313)のLCD表示部に書き込みエラー表示を行い(ステップS1016)、印刷特性データ更新処理を終了する。   In step S1014, it is determined whether the rewriting has been completed normally. If the rewriting has been completed normally, the printing characteristic data update process is terminated. If a write error has occurred, a write error is displayed on the LCD display unit of the operation panel (313) (step S1016), and the print characteristic data update process is terminated.

また、ステップS1006で、印刷特性データがなかった場合は、取得した識別コードが終了コードであるか確認し(ステップS1010)、終了コードであった場合は印刷特性データをRFIDタグ(211)に記憶した後(ステップS1017)、印刷特性データ更新処理を終了する。一方、終了コードでない場合は、次の識別コードへ移動し(ステップS1011)、ステップS1005を実行する。   If there is no print characteristic data in step S1006, it is confirmed whether the acquired identification code is an end code (step S1010). If it is an end code, the print characteristic data is stored in the RFID tag (211). After that (step S1017), the print characteristic data update process is terminated. On the other hand, if it is not the end code, the process moves to the next identification code (step S1011) and executes step S1005.

<ラベルプリンタにおける処理(機体情報の更新)>
図11はラベルプリンタ(100)における機体情報を更新する場合の流れを示したフローチャートである。
<Processing in label printer (update of machine information)>
FIG. 11 is a flowchart showing the flow of updating the machine information in the label printer (100).

ステップS1101においてラベルプリンタ(100)に電源が投入され初期化動作が終了すると、コマンド受信待機状態となり(ステップS1102)、コマンド解析処理を行い、機体情報書き込み命令かどうか判定する(ステップS1102)。機体情報書き込み命令でない場合は、そのコマンドに対応する処理プログラムを実行し(ステップS1114)、再びコマンド受信待機状態に戻る(ステップS1102)。   When the label printer (100) is turned on in step S1101 and the initialization operation is completed, a command reception standby state is entered (step S1102), a command analysis process is performed, and it is determined whether it is a machine information write command (step S1102). If it is not a machine information write command, the processing program corresponding to the command is executed (step S1114), and the command reception standby state is again returned (step S1102).

一方、機体情報書き込み命令の場合は、起動用ROM(303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(211)と通信可能状態となり(ステップS1104)、RFIDタグ(211)にヘッドシリアルナンバーが記憶されているか確認を行い(ステップS1105)、記憶されている場合は当該データのチェックを行う。データが正常な場合には、EEPROM(304)に記憶されているヘッドシリアルナンバーをRFIDタグ(211)に記憶されたヘッドシリアルナンバーで上書きし(ステップS1106)、正常でない場合、または記憶されていない場合は、EEPROM(304)に記憶されているヘッドシリアルナンバーをRFIDタグ(211)へ新規に書き込む(ステップS1107)。   On the other hand, in the case of the body information write command, the RFID communication program stored in the startup ROM (303) is executed, and the internal information storage RFID tag (211) becomes communicable (step S1104). It is confirmed whether the head serial number is stored in (211) (step S1105), and if it is stored, the data is checked. If the data is normal, the head serial number stored in the EEPROM (304) is overwritten with the head serial number stored in the RFID tag (211) (step S1106). If the data is not normal or not stored. In this case, the head serial number stored in the EEPROM (304) is newly written to the RFID tag (211) (step S1107).

続いて、RFIDタグ(211)に累積インク吐出(印刷)数が記憶されているかを確認し(ステップS1108)、記憶されている場合はデータのチェックを行い、データが正常な場合にはEEPROM(304)に記憶されている累積インク吐出(印刷)数をRFIDタグ(211)に記憶されている累積インク吐出数で上書きし(ステップS1109)、正常でない場合、または記憶されていない場合はEEPROM(304)の累積インク吐出(印刷)数をRFIDタグ(211)へ新規に書き込む(ステップS1110)。   Subsequently, it is confirmed whether or not the cumulative ink discharge (printing) number is stored in the RFID tag (211) (step S1108). If it is stored, the data is checked. If the data is normal, the EEPROM ( 304) is overwritten with the cumulative ink discharge number stored in the RFID tag (211) (step S1109). If not normal or not stored, the EEPROM ( 304) is newly written in the RFID tag (211) (step S1110).

続いて、RFIDタグ(211)に印刷位置調整値情報が記憶されているか確認を行い(ステップS1111)、記憶されている場合はデータのチェックを行い、データが正常な場合にはEEPROM(304)に記憶されている印刷位置調整値情報をRFIDタグ(211)に記憶されている累積インク吐出数で上書きし(ステップS1112)、正常でない場合、または記憶されていない場合は、EEPROM(304)の印刷位置調整値情報をRFIDタグ(211)へ新規に書き込む(ステップS1113)。   Subsequently, it is confirmed whether the print position adjustment value information is stored in the RFID tag (211) (step S1111). If it is stored, the data is checked. If the data is normal, the EEPROM (304) is checked. Is overwritten with the cumulative number of ink discharges stored in the RFID tag (211) (step S1112). If not normal or not stored, the EEPROM (304) Print position adjustment value information is newly written to the RFID tag (211) (step S1113).

以上の説明から明らかなように、本実施形態によれば、オペレーションパネルからのコマンドの受信を契機として、RFIDタグに書き込まれた各種情報(制御プログラムや制御プログラム実行時に読み込まれるデータ、機体情報)で、EEPROMの内容を更新する構成とすることにより、更新するか否かをユーザが選択することが可能となり、ユーザの利便性が向上する。   As is clear from the above description, according to the present embodiment, various information written in the RFID tag (data read when executing a control program or control program, machine information) triggered by the reception of a command from the operation panel Thus, by adopting a configuration for updating the contents of the EEPROM, the user can select whether or not to update, and the convenience for the user is improved.

[第3の実施形態]
上記第1の実施形態および第2の実施形態では、ラベルプリンタにおける各種情報の更新について説明したが、本発明はこれに限られず、例えば、パーソナルコンピュータ等の情報処理装置における各種情報の更新についても適用可能である。以下に詳細に説明する。
[Third Embodiment]
In the first embodiment and the second embodiment, the update of various information in the label printer has been described. However, the present invention is not limited to this, and for example, the update of various information in an information processing apparatus such as a personal computer is also possible. Applicable. This will be described in detail below.

<全体システム構成>
図12は本発明の第3の実施形態にかかるRFIDタグ通信機能付きパーソナルコンピュータ(以下パーソナルコンピュータとも呼ぶ)と、当該パーソナルコンピュータと通信を行うRFID通信用ハンディターミナルとを示した図である。
<Overall system configuration>
FIG. 12 is a diagram showing a personal computer with an RFID tag communication function (hereinafter also referred to as a personal computer) according to a third embodiment of the present invention and an RFID communication handy terminal for communicating with the personal computer.

RFID通信用ハンディターミナル(1201)は、無線通信によりパーソナルコンピュータ(1200)に搭載される内部情報記憶用RFIDタグの各種情報の書き換えを行う。   The RFID communication handy terminal (1201) rewrites various information of the RFID tag for storing internal information mounted on the personal computer (1200) by wireless communication.

図13はパーソナルコンピュータ(1200)の簡易ブロック図である。パーソナルコンピュータ(1200)は、内部情報記憶用RFIDタグ(1300)と、RFIDタグ(1300)と通信を行う為のRFIDリーダ/ライタ(1302)及びRFID通信用アンテナ(1301)、ならびにパーソナルコンピュータ(1200)を起動しRFIDタグ(1300)と通信を行うプログラムが記憶されている起動用ROM(1303)を有する。   FIG. 13 is a simplified block diagram of the personal computer (1200). The personal computer (1200) includes an internal information storage RFID tag (1300), an RFID reader / writer (1302) and an RFID communication antenna (1301) for communicating with the RFID tag (1300), and a personal computer (1200). ) And an activation ROM (1303) in which a program for communicating with the RFID tag (1300) is stored.

さらにパーソナルコンピュータを制御する為のプログラムが記憶されている内部情報記憶用EEPROM(1304)、プログラムを実行する為のRAM(1305)、CD−ROMのデータを読み取るCD−ROMドライブ(1306)、プログラムまたはデータを記憶するHDD(1307)、フロッピー(登録商標)ディスクのデータを読み取るFDD(1308)を含む。   Further, an internal information storage EEPROM (1304) in which a program for controlling the personal computer is stored, a RAM (1305) for executing the program, a CD-ROM drive (1306) for reading data in the CD-ROM, a program Alternatively, an HDD (1307) for storing data and an FDD (1308) for reading data on a floppy (registered trademark) disk are included.

パーソナルコンピュータ(1200)は、またデータ入力を行うキーボード(1309)、出力画像情報を処理し映像信号に変換を行うビデオコントローラ(1310)、ビデオコントローラ(1310)から受け取った映像信号を表示するディスプレイ(1311)、RAM(1305)に記憶されているプログラムを処理する他、パーソナルコンピュータ全体のコントロールを行うCPU(1312)を含むメインコントローラ(1313)を含む。   The personal computer (1200) is also provided with a keyboard (1309) for inputting data, a video controller (1310) for processing output image information and converting it into a video signal, and a display for displaying a video signal received from the video controller (1310) ( 1311) and a main controller (1313) including a CPU (1312) for controlling the entire personal computer in addition to processing the program stored in the RAM (1305).

内部情報記憶用RFIDタグ(1300)は電源を必要としないパッシブ方式を採用しており、RFIDリーダ/ライタ(1302)との通信は無線電波の受信電力を利用して行なう。パーソナルコンピュータ(1200)の各種情報の更新は、RFID通信用ハンディターミナル(1201)等、RFIDタグ(211)と通信可能な外部機器を用いて行われる。   The RFID tag (1300) for storing internal information employs a passive method that does not require a power source, and communication with the RFID reader / writer (1302) is performed using the received power of radio waves. Various information of the personal computer (1200) is updated using an external device capable of communicating with the RFID tag (211), such as an RFID communication handy terminal (1201).

なお、外部機器から通信を行う場合でも無線電波の受信電力を利用してRFIDタグ(1300)は動作するので、RFIDタグ(1300)自身はたとえパーソナルコンピュータ(1200)の電源が供給されていない状態であっても外部機器との通信が可能である。   Note that even when communication is performed from an external device, the RFID tag (1300) operates using the reception power of the radio wave, so that the RFID tag (1300) itself is not supplied with power to the personal computer (1200). Even so, communication with an external device is possible.

RFIDハンディターミナル(1201)は、RFIDタグ(1300)と通信を行うためのRFID通信用アンテナ(1314)およびRFIDリーダ/ライタ(1315)、RFIDハンディターミナルを制御するためのプログラムを記憶するROM(1316)、RFIDタグ(1300)との送受信データを記憶するためのRAM(1317)、RFIDハンディターミナル(1201)を制御するためのCPU(1318)から構成される。   The RFID handy terminal (1201) includes an RFID communication antenna (1314) and an RFID reader / writer (1315) for communicating with the RFID tag (1300), and a ROM (1316) for storing a program for controlling the RFID handy terminal. ), A RAM (1317) for storing transmission / reception data with the RFID tag (1300), and a CPU (1318) for controlling the RFID handy terminal (1201).

図14(1)はパーソナルコンピュータ(1200)に内蔵される内部情報記憶用RFIDタグ(1300)に記憶されるデータフォーマットを示した図である。   FIG. 14 (1) is a diagram showing a data format stored in the internal information storage RFID tag (1300) built in the personal computer (1200).

内部情報(1400)は各種情報を識別する為の識別コード(1401)、プログラムやハードウェア情報の情報量を記憶するデータ長(1402)、プログラムやハードウェア情報を記憶するデータ部(1403)から構成される。   The internal information (1400) includes an identification code (1401) for identifying various types of information, a data length (1402) for storing the information amount of the program and hardware information, and a data section (1403) for storing the program and hardware information. Composed.

内部情報には、パーソナルコンピュータ(1200)を制御する為の制御プログラムや、使用されているHDDやCD−ROMドライブ、VIDEOコントローラ等の構成ハードウェアの型番およびシリアルナンバーの情報であるハードウェア情報が存在する(第3、第4の実施形態では、これらを総称して「各種情報」と称す)。   The internal information includes a control program for controlling the personal computer (1200), and hardware information that is information on the model number and serial number of the constituent hardware such as the used HDD, CD-ROM drive, and VIDEO controller. (In the third and fourth embodiments, these are collectively referred to as “various information”).

制御プログラム記憶フォーマット(1404)のデータ部は、制御プログラムのバージョン情報と制御プログラムが記憶される。   The data portion of the control program storage format (1404) stores the version information of the control program and the control program.

ハードウェア情報記憶フォーマット(1405)のデータ部は、パーソナルコンピュータ(1200)または構成する各ハードウェアの型番とシリアルナンバーが記憶される。   The data part of the hardware information storage format (1405) stores the model number and serial number of the personal computer (1200) or each hardware component.

図14(2)はパーソナルコンピュータ(1200)に内蔵される内部情報記憶用RFIDタグメモリマップを示した図である。RFIDタグ(1300)には、各種情報が1400に示すフォーマット形式で、内部情報記憶用RFIDメモリマップ(1407)に示すような連続した状態で各内部情報が記憶されている。内部情報の記憶の順番には特に指定は無く、識別コードにより各種情報を判定する。   FIG. 14 (2) is a diagram showing an internal information storage RFID tag memory map built in the personal computer (1200). The internal information is stored in the RFID tag (1300) in a continuous state as shown in the internal information storage RFID memory map (1407) in the format shown in 1400 of various types of information. The order of storing the internal information is not particularly specified, and various types of information are determined based on the identification code.

また、記憶されている情報量は、先頭から順に識別コードを検索することで確認を行う。次の内部情報識別コードの位置は式(1408)から算出できるので、終了コード(1406)を検知するまで検索を行うことで、記憶情報量を確認できる。   The stored information amount is confirmed by searching the identification code in order from the top. Since the position of the next internal information identification code can be calculated from the equation (1408), the stored information amount can be confirmed by performing a search until the end code (1406) is detected.

<RFIDハンディターミナルによる処理>
図15はパーソナルコンピュータ(1200)に内蔵されるRFIDタグ(1300)と外部機器であるRFIDハンディターミナル(1201)との間のデータ送受信の流れを示したフローチャートである。
<Processing by RFID handy terminal>
FIG. 15 is a flowchart showing a flow of data transmission / reception between the RFID tag (1300) built in the personal computer (1200) and the RFID handy terminal (1201) which is an external device.

RFID通信用ハンディターミナル(1201)はユーザからのコマンド待ち状態となっており(ステップS1501)、ユーザからコマンドを受信すると、受信したコマンドの解析処理を行う(ステップS1502)。   The RFID communication handy terminal (1201) is in a state of waiting for a command from the user (step S1501). When a command is received from the user, the received command is analyzed (step S1502).

コマンドがデータクリアコマンドであるかを判定し(ステップS1503)、データクリアコマンドであればRFIDタグのデータをクリア(消去)し(ステップS1504)、再びコマンド待ち状態に戻る(ステップS1501)。   It is determined whether the command is a data clear command (step S1503). If the command is a data clear command, the RFID tag data is cleared (erased) (step S1504), and the command wait state is resumed (step S1501).

データクリアコマンドでない場合は続けて、データ書き込みコマンドであるかを判定し(ステップS1505)、書き込みコマンドであればRFID通信用ハンディターミナルのRAM(1317)に記憶されている制御プログラム等の各種情報をRFIDタグ(1300)へ書き込み(ステップS1506)、再びコマンド受信状態に戻る(ステップS1501)。   If it is not a data clear command, it is determined whether it is a data write command (step S1505). If it is a write command, various information such as a control program stored in the RAM (1317) of the RFID communication handy terminal is obtained. Writing to the RFID tag (1300) (step S1506) returns to the command reception state again (step S1501).

データ書き込みコマンドでない場合は続けて、データ読み込みコマンドであるかを判定し(ステップS1507)、読み込みコマンドであればRFIDタグ(1300)に記憶されている各種情報の読み込みをおこない、RFIDハンディターミナルのRAM(1317)に記憶し(ステップS1508)、再びコマンド受信状態に戻る(ステップS1501)。   If it is not a data write command, it is determined whether it is a data read command (step S1507). If it is a read command, various information stored in the RFID tag (1300) is read and the RFID handy terminal RAM is read. (1317) (step S1508) and return to the command reception state again (step S1501).

<パーソナルコンピュータにおける処理(制御プログラムの更新)>
図16はパーソナルコンピュータ(1200)の制御プログラム更新の流れを示したフローチャートである。
<Processing in a personal computer (control program update)>
FIG. 16 is a flowchart showing the flow of control program update of the personal computer (1200).

パーソナルコンピュータ(1200)に電源が投入(ステップS1601)されると、起動用ROM(1303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(1300)と通信可能状態となる(ステップS1602)。   When the personal computer (1200) is turned on (step S1601), the RFID communication program stored in the startup ROM (1303) is executed, and the internal information storage RFID tag (1300) is in a communicable state. (Step S1602).

続いてRFIDタグ(1300)に制御プログラムが記憶されているかを確認する為にRFIDタグ(1300)に記憶されている識別コード(1401)を取得し(ステップS1603)、制御プログラムがあるかを判定する(ステップS1604)。   Subsequently, in order to confirm whether the control program is stored in the RFID tag (1300), the identification code (1401) stored in the RFID tag (1300) is acquired (step S1603), and it is determined whether there is a control program. (Step S1604).

制御プログラムがあった場合は、RFIDタグ(1300)から、データ長(1402)だけデータ(1403)を読み込み(ステップS1605)、EEPROM(1304)に記憶されている制御プログラムとバージョンを比較し(ステップS1606)、同一であった場合は、制御プログラムは更新せずに制御プログラム更新処理を終了する。   When there is a control program, data (1403) is read from the RFID tag (1300) by the data length (1402) (step S1605), and the version is compared with the control program stored in the EEPROM (1304) (step S1605). S1606), if they are the same, the control program update process is terminated without updating the control program.

一方、異なるバージョンであった場合はデータのチェックを行い(ステップS1609)、データが正常であった場合は、EEPROM(1304)の制御プログラムをRFIDタグ(1300)から読み込んだ制御プログラムにより更新する(ステップS1610)。データに異常があった場合は制御プログラムを更新せずにエラー表示を行ない(ステップS1615)、EEPROM(1304)の制御プログラムをRFIDタグ(1300)に書き込む(ステップS1614)。   On the other hand, if the version is different, the data is checked (step S1609). If the data is normal, the control program in the EEPROM (1304) is updated by the control program read from the RFID tag (1300) ( Step S1610). If there is an abnormality in the data, an error is displayed without updating the control program (step S1615), and the control program of the EEPROM (1304) is written to the RFID tag (1300) (step S1614).

更新終了後、制御プログラムが正常に書き換えられたかを判定し(ステップS1611)、正常終了した場合は、制御プログラム更新処理を終了する。   After the update is completed, it is determined whether or not the control program has been normally rewritten (step S1611).

一方、書き込みエラーが発生した場合は、ディスプレイ(1311)に書き込みエラー表示を行い(ステップS1611)、パーソナルコンピュータ(1200)の動作を停止する(ステップS1613)。   On the other hand, if a write error occurs, a write error is displayed on the display (1311) (step S1611), and the operation of the personal computer (1200) is stopped (step S1613).

また、ステップS1604で、制御プログラムがなかった場合には、取得した識別コードが終了コードであるか確認し(ステップS1607)、終了コードであった場合は、EEPROM(1304)に記憶されている制御プログラムをRFIDタグ(1300)に書き込む(ステップS1614)。一方、終了コードでない場合は次の認識コードへ移動し(ステップS1608)、ステップS1603を実行する。   If there is no control program in step S1604, it is checked whether the acquired identification code is an end code (step S1607). If it is an end code, the control stored in the EEPROM (1304) is checked. The program is written to the RFID tag (1300) (step S1614). On the other hand, if it is not the end code, the process moves to the next recognition code (step S1608) and executes step S1603.

<パーソナルコンピュータにおける処理(RFIDタグのハードウェア情報の書き換え)>
図17はパーソナルコンピュータ(1200)におけるRFIDタグのハードウェア情報の書き換え処理の流れを示したフローチャートである。本実施形態にかかるパーソナルコンピュータ(1200)では、電源OFF時であってもRFID通信用ハンディターミナルを用いることにより、パーソナルコンピュータ(1200)のハードウェア情報が読み出せるよう、パーソナルコンピュータ(1200)の電源ON時にRFIDタグ(1300)に、パーソナルコンピュータ(1200)が認識しているハードウェア情報が書き込まれる。
<Processing in Personal Computer (Rewriting RFID Tag Hardware Information)>
FIG. 17 is a flowchart showing a flow of rewriting processing of RFID tag hardware information in the personal computer (1200). In the personal computer (1200) according to the present embodiment, the power supply of the personal computer (1200) can be read out by using the RFID communication handy terminal even when the power is OFF, so that the hardware information of the personal computer (1200) can be read. The hardware information recognized by the personal computer (1200) is written in the RFID tag (1300) when turned on.

具体的には、パーソナルコンピュータ(1200)に電源が投入(ステップS1701)されると、起動用ROM(1303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(1300)と通信可能状態となる(ステップS1702)。   Specifically, when the personal computer (1200) is powered on (step S1701), the RFID communication program stored in the startup ROM (1303) is executed, and the internal information storage RFID tag (1300). Is in a communicable state (step S1702).

ステップS1704では、RFIDタグ(1300)に記憶されているハードウェア情報を消去し、パーソナルコンピュータ(1200)のハードウェア情報をRFIDタグ(1300)に記憶する(ステップS1704)。   In step S1704, the hardware information stored in the RFID tag (1300) is deleted, and the hardware information of the personal computer (1200) is stored in the RFID tag (1300) (step S1704).

以上の説明から明らかなように、本実施形態にかかるパーソナルコンピュータによれば、RFID通信機能を搭載することで当該パーソナルコンピュータが梱包状態の如く電源が入っていない状態であっても、RFIDタグの制御プログラムの更新や、制御プログラム及びハードウェア情報等の読み出しが可能となる。そして、本実施形態にかかるパーソナルコンピュータでは、RFIDタグに書き込まれた当該制御プログラムを用いて電源投入時に内部情報記憶用EEPROMを更新することで、当該制御プログラムを反映させる構成とし、さらに、内部情報記憶用EEPROMを更新する際に当該各種情報が正常であるか否かを確認することにより、正常でない情報によって内部情報記憶用EEPROMが更新されてしまうといった事態を回避することが可能となる。   As is clear from the above description, according to the personal computer according to the present embodiment, even if the personal computer is not turned on as in the packaged state by mounting the RFID communication function, the RFID tag It is possible to update the control program and read the control program and hardware information. The personal computer according to the present embodiment is configured to reflect the control program by updating the internal information storage EEPROM when the power is turned on using the control program written in the RFID tag. By checking whether or not the various information is normal when updating the storage EEPROM, it is possible to avoid a situation in which the internal information storage EEPROM is updated with information that is not normal.

さらに、RFIDタグに記憶された制御プログラムが正常でなかった場合に、内部情報記憶用EEPROMに記憶されている各種情報をRFIDタグに書き込む構成とすることにより、パーソナルコンピュータの電源OFF時でも、ユーザはパーソナルコンピュータの有する制御プログラムを簡単に読み出すことが可能となり、正常でない情報が読み出されることを回避することが可能となる。   In addition, when the control program stored in the RFID tag is not normal, the user can be configured to write various information stored in the internal information storage EEPROM to the RFID tag, so that the user can turn on even when the personal computer is turned off. Makes it possible to easily read out the control program of the personal computer and avoid reading out abnormal information.

[第4の実施形態]
上記第3の実施形態では、RFIDタグに書き込まれた制御プログラムにより、内部情報記憶用EEPROMを更新するための処理が、パーソナルコンピュータの電源の投入を契機として自動的に開始されるように構成したが、本発明はこれに限られず、例えば、ユーザが所定の指示を入力した場合にのみ、RFIDタグに書き込まれた制御プログラムを用いて、内部情報記憶用EEPROMを更新するための処理が開始されるように構成してもよい。以下にパーソナルコンピュータ(1200)における処理の詳細を説明する。
[Fourth Embodiment]
In the third embodiment, the process for updating the internal information storage EEPROM by the control program written in the RFID tag is automatically started when the personal computer is turned on. However, the present invention is not limited to this. For example, only when the user inputs a predetermined instruction, the process for updating the internal information storage EEPROM is started using the control program written in the RFID tag. You may comprise. Details of processing in the personal computer (1200) will be described below.

図18はパーソナルコンピュータ(1200)の制御プログラム更新の流れを示したフローチャートである。   FIG. 18 is a flowchart showing the flow of control program update of the personal computer (1200).

ステップS1801にてパーソナルコンピュータ1200に電源が投入され初期化動作が終了すると、コマンド受信待機状態となり(ステップS1802)、コマンド受信後、解析処理を行い、制御プログラム更新命令か否かを判定する(ステップS1803)。   When the personal computer 1200 is turned on in step S1801 and the initialization operation is completed, a command reception standby state is entered (step S1802). After receiving the command, an analysis process is performed to determine whether it is a control program update command (step S1802). S1803).

制御プログラム更新命令でない場合は、そのコマンドに対応する処理プログラムを実行し(ステップS1809)、再びコマンド受信待機状態に戻る(ステップS1802)。   If it is not a control program update command, the processing program corresponding to the command is executed (step S1809), and the command reception standby state is again returned (step S1802).

一方、制御プログラム更新命令の場合は起動用ROM(1303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(1300)と通信可能状態となる(ステップS1804)。   On the other hand, in the case of a control program update command, the RFID communication program stored in the startup ROM (1303) is executed, and communication with the internal information storage RFID tag (1300) is enabled (step S1804).

続いてRFIDタグ(1300)に制御プログラムが記憶されているかを確認する為にRFIDタグ(1300)に記憶されている識別コード(1401)を取得し(ステップS1805)、制御プログラムがあるかを判定する(ステップS1806)。   Subsequently, the identification code (1401) stored in the RFID tag (1300) is acquired to confirm whether the control program is stored in the RFID tag (1300) (step S1805), and it is determined whether there is a control program. (Step S1806).

制御プログラムがあった場合は、RFIDタグ(1300)からデータを読み込み(ステップS1807)、内部情報記憶用EEPROM(1304)に記憶されている制御プログラムとバージョンを比較し(ステップS1808)、同一であった場合は、制御用プログラムを更新せずに制御プログラム更新処理を終了する。   If there is a control program, data is read from the RFID tag (1300) (step S1807), and the version is compared with the control program stored in the internal information storage EEPROM (1304) (step S1808). If the control program is updated, the control program update process is terminated without updating the control program.

一方、異なるバージョンであった場合には、データに異常がないかチェックし(ステップS1812)、正常であった場合はEEPROM(1304)の制御プログラムをRFIDタグ(1300)から読み込んだ制御プログラムに更新する(ステップS1813)。また、データに異常があった場合はエラー表示を行なった後(ステップS1817)、EEPROM(1304)の制御プログラムをRFIDタグ(1300)へ書き込む(ステップS1818)。   On the other hand, if the version is different, the data is checked for abnormality (step S1812). If the version is normal, the control program in the EEPROM (1304) is updated to the control program read from the RFID tag (1300). (Step S1813). If there is an abnormality in the data, an error is displayed (step S1817), and then the control program of the EEPROM (1304) is written to the RFID tag (1300) (step S1818).

ステップS1814では、更新終了後、制御プログラムが正常に書き換えられたかを判定し、正常終了した場合は、制御プログラム更新処理を終了する。一方、書き込みエラーが発生した場合は、ディスプレイ(1311)に書き込みエラー表示を行い(ステップS1815)、パーソナルコンピュータの動作を停止する(ステップS1816)。   In step S1814, it is determined whether the control program has been rewritten normally after the update is completed. If the control program has been normally completed, the control program update process is terminated. On the other hand, if a write error has occurred, a write error is displayed on the display (1311) (step S1815), and the operation of the personal computer is stopped (step S1816).

また、ステップS1806で制御プログラムがない場合には、取得した識別コードが終了コードであるか確認し(ステップS1810)、終了コードであった場合は、EEPROM(1304)に記憶されている制御プログラムをRFIDタグ(1300)に書き込む(ステップS1818)。終了コードでない場合は次の識別コードへ移動し(ステップS1811)、ステップS1805を実行する。   If there is no control program in step S1806, it is checked whether the acquired identification code is an end code (step S1810). If it is an end code, the control program stored in the EEPROM (1304) is checked. Write to the RFID tag (1300) (step S1818). If it is not the end code, the process moves to the next identification code (step S1811), and step S1805 is executed.

<パーソナルコンピュータにおける処理(RFIDタグのハードウェア情報の書き換え)>
図19はパーソナルコンピュータ(1200)におけるRFIDタグのハードウェア情報の書き換え処理の流れを示したフローチャートである。
<Processing in Personal Computer (Rewriting RFID Tag Hardware Information)>
FIG. 19 is a flowchart showing a flow of rewriting processing of RFID tag hardware information in the personal computer (1200).

ステップS1901にてパーソナルコンピュータに電源が投入され初期化動作が終了すると、コマンド受信待機状態となる(ステップS1902)。コマンド受信後、解析処理を行いハードウェア情報書き込み命令か否かを判定する(ステップS1903)。ハードウェア情報書き込み命令でない場合は、そのコマンドに対応する処理プログラムを実行し(ステップS1908)、再びコマンド受信待機状態に戻る(ステップS1902)。   When the personal computer is turned on in step S1901 and the initialization operation is completed, a command reception standby state is entered (step S1902). After receiving the command, an analysis process is performed to determine whether it is a hardware information write command (step S1903). If it is not a hardware information write command, the processing program corresponding to the command is executed (step S1908), and the command reception standby state is again returned (step S1902).

一方、ハードウェア情報書き込み命令の場合には、起動用ROM(1303)に記憶されているRFID通信用プログラムが実行され、内部情報記憶用RFIDタグ(1300)と通信可能状態となり(ステップS1904)、RFIDタグ(1300)に記憶されているハードウェア情報を消去し(ステップS1905)、パーソナルコンピュータ(1200)のハードウェア情報をRFIDタグ(1300)に記憶する(ステップS1906)。   On the other hand, in the case of a hardware information write command, the RFID communication program stored in the startup ROM (1303) is executed, and communication with the internal information storage RFID tag (1300) is enabled (step S1904). The hardware information stored in the RFID tag (1300) is deleted (step S1905), and the hardware information of the personal computer (1200) is stored in the RFID tag (1300) (step S1906).

[他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
[Other embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), and a device (for example, a copying machine and a facsimile device) including a single device. You may apply to.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. be able to.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明の第1の実施形態にかかるRFIDタグ通信機能付きラベル記録装置(ラベルプリンタ)と、当該ラベルプリンタと通信を行うRFID通信用ハンディターミナルとを示した図である。It is the figure which showed the label recording device (label printer) with an RFID tag communication function concerning the 1st Embodiment of this invention, and the RFID communication handy terminal which communicates with the said label printer. ラベルプリンタの概略構成図である。It is a schematic block diagram of a label printer. ラベルプリンタの簡易ブロック図である。It is a simple block diagram of a label printer. ラベルプリンタに内蔵される内部情報記憶用RFIDタグに記憶されるデータフォーマットを示した図である。It is the figure which showed the data format memorize | stored in the internal information storage RFID tag incorporated in a label printer. ラベルプリンタに搭載されるRFIDタグとRFIDハンディターミナルとの間のデータ送受信の流れを示したフローチャートである。It is the flowchart which showed the flow of the data transmission / reception between the RFID tag and RFID handy terminal mounted in a label printer. ラベルプリンタにおける制御プログラム更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the control program update in a label printer. ラベルプリンタにおける印刷特性データ更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the printing characteristic data update in a label printer. ラベルプリンタにおける機体情報更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the body information update in a label printer. ラベルプリンタにおける制御プログラム更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the control program update in a label printer. ラベルプリンタにおける印刷特性データ更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the printing characteristic data update in a label printer. ラベルプリンタにおける機体情報更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the body information update in a label printer. 本発明の第3の実施形態にかかるRFIDタグ通信機能付きパーソナルコンピュータ(パーソナルコンピュータ)と、当該パーソナルコンピュータと通信を行うRFID通信用ハンディターミナルとを示した図である。It is the figure which showed the personal computer with a RFID tag communication function (personal computer) concerning the 3rd Embodiment of this invention, and the RFID communication handy terminal which communicates with the said personal computer. パーソナルコンピュータの簡易ブロック図である。It is a simple block diagram of a personal computer. パーソナルコンピュータに内蔵される内部情報記憶用RFIDタグに記憶されるデータフォーマットを示した図である。It is the figure which showed the data format memorize | stored in the internal information storage RFID tag incorporated in a personal computer. パーソナルコンピュータに内蔵されるRFIDタグと外部機器であるRFIDハンディターミナルとの間のデータ送受信の流れを示したフローチャートである。It is the flowchart which showed the flow of the data transmission / reception between the RFID tag incorporated in a personal computer, and the RFID handy terminal which is an external device. パーソナルコンピュータにおける制御プログラム更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the control program update in a personal computer. パーソナルコンピュータにおけるRFIDタグのハードウェア情報書き換えの流れを示したフローチャートである。It is the flowchart which showed the flow of the hardware information rewriting of the RFID tag in a personal computer. パーソナルコンピュータにおける制御プログラム更新の流れを示したフローチャートである。It is the flowchart which showed the flow of the control program update in a personal computer. パーソナルコンピュータにおけるRFIDタグのハードウェア情報書き換えの流れを示したフローチャートである。It is the flowchart which showed the flow of the hardware information rewriting of the RFID tag in a personal computer.

符号の説明Explanation of symbols

100 RFID通信機能付きインクジェットラベルプリンタ
101 RFID通信用ハンディターミナル
200 RFID通信部
201 RFID通信用アンテナ
202 RFIDリーダ/ライタ
211 内部情報記憶用RFIDタグ
303 起動用ROM
304 内部情報記憶用EEPROM
400 内部情報記憶用RFIDタグ記憶フォーマット
409 終了コード
410 内部情報記憶用RFIDタグメモリマップ
1200 RFID通信機能付きパーソナルコンピュータ
1201 RFID通信用ハンディターミナル
1300 内部情報記憶用RFIDタグ
1301 RFID通信用アンテナ
1302 RFIDリーダ/ライタ
1303 起動用ROM
1304 内部情報記憶用EEPROM
1400 内部情報記憶用RFIDタグデータ記憶フォーマット
1406 終了コード
1407 内部情報記憶用RFIDタグメモリマップ
100 Inkjet Label Printer with RFID Communication Function 101 Handy Terminal for RFID Communication 200 RFID Communication Unit 201 RFID Communication Antenna 202 RFID Reader / Writer 211 Internal Information Storage RFID Tag 303 Startup ROM
304 EEPROM for internal information storage
400 Internal information storage RFID tag storage format 409 End code 410 Internal information storage RFID tag memory map 1200 Personal computer 1201 with RFID communication function RFID communication handy terminal 1300 Internal information storage RFID tag 1301 RFID communication antenna 1302 RFID reader / Writer 1303 Startup ROM
1304 EEPROM for internal information storage
1400 RFID tag data storage format for internal information storage 1406 End code 1407 RFID tag memory map for internal information storage

Claims (39)

記憶媒体に書き込まれた情報に基づいて動作制御される電子機器であって、
RFID用の通信アンテナを介して受信された情報を記憶するRFIDタグと、
前記電子機器の電源が投入された後に、前記RFIDタグに記憶されている情報を読み込む読込手段と、
前記読込手段により読み込まれた前記情報が前記記憶媒体に記憶されている情報と一致するか否かを判定する第一の判定手段と、
前記第一の判定手段により一致しないと判定された場合に、前記読込手段により読み込まれた前記情報が正常であるか否かを判定する第二の判定手段と、
前記第二の判定手段により正常であると判定された場合に、前記記憶媒体に記憶されている情報を、前記読込手段により読み込まれた情報に更新する更新手段と
を備えることを特徴とする電子機器。
An electronic device whose operation is controlled based on information written in a storage medium,
An RFID tag for storing information received via a communication antenna for RFID;
Read means for reading information stored in the RFID tag after the electronic device is powered on;
First determination means for determining whether or not the information read by the reading means matches information stored in the storage medium;
Second determination means for determining whether or not the information read by the reading means is normal when it is determined by the first determination means that they do not match;
And an update unit that updates information stored in the storage medium to information read by the reading unit when it is determined normal by the second determination unit. machine.
前記第二の判定手段により、前記読込手段により読み込まれた情報が正常でないと判定された場合に、その旨を報知する報知手段を更に備えることを特徴とする請求項1に記載の電子機器。 2. The electronic apparatus according to claim 1, further comprising notification means for notifying that when the second determination means determines that the information read by the reading means is not normal. 前記記憶媒体に記憶される情報は、前記電子機器において実行される制御プログラムであることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, wherein the information stored in the storage medium is a control program executed in the electronic device. 前記読込手段により読み込まれた情報に、前記制御プログラムが含まれていなかった場合、前記記憶媒体に記憶されている制御プログラムを前記RFIDタグに書き込む書き込み手段を更に備えることを特徴とする請求項3に記載の電子機器。 4. The information processing apparatus according to claim 3, further comprising: a writing unit that writes the control program stored in the storage medium to the RFID tag when the information read by the reading unit does not include the control program. The electronic device as described in. 前記記憶媒体に記憶されている情報は、前記電子機器において実行される制御プログラムによって、実行時に読み込まれるデータであることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, wherein the information stored in the storage medium is data read at the time of execution by a control program executed in the electronic device. 前記読込手段により読み込まれた情報に、前記データが含まれていなかった場合、前記記憶媒体に記憶されているデータを前記RFIDタグに書き込む書き込み手段を更に備えることを特徴とする請求項5に記載の電子機器。 6. The information processing apparatus according to claim 5, further comprising a writing unit that writes data stored in the storage medium to the RFID tag when the data read by the reading unit does not include the data. Electronic equipment. 前記記憶媒体に記憶されている情報は、前記電子機器の機体情報であることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, wherein the information stored in the storage medium is body information of the electronic device. 前記読込手段により読み込まれた情報に、前記機体情報が含まれていなかった場合、前記記憶媒体に記憶されている機体情報を前記RFIDタグに書き込む書き込み手段を更に備えることを特徴とする請求項7に記載の電子機器。 8. The information processing apparatus according to claim 7, further comprising: a writing unit that writes the body information stored in the storage medium to the RFID tag when the information read by the reading unit does not include the body information. The electronic device as described in. 前記第二の判定手段により、前記読込手段により読み込まれた情報が正常でないと判定された場合に、前記記憶媒体に記憶されている情報を前記RFIDタグに書き込む書き込み手段を更に備えることを特徴とする請求項1に記載の電子機器。 When the second determination means determines that the information read by the reading means is not normal, it further comprises a writing means for writing information stored in the storage medium to the RFID tag. The electronic device according to claim 1. ユーザからの指示を受け付ける受付手段を更に備え、
前記読込手段は、前記電子機器の電源が投入された後に、前記受付手段において指示を受け付けた場合に、前記RFIDタグに記憶されている前記送信情報を読み込むことを特徴とする請求項1に記載の電子機器。
A reception unit for receiving an instruction from the user;
The reading unit reads the transmission information stored in the RFID tag when an instruction is received by the receiving unit after the electronic device is powered on. Electronic equipment.
前記読込手段は、前記電子機器の電源が投入された後に、自動的に前記RFIDタグに記憶された情報を読み込むことを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, wherein the reading unit automatically reads information stored in the RFID tag after the power of the electronic device is turned on. 前記電子機器は印刷装置であることを特徴とする請求項1乃至11のいずれかに記載の電子機器。 The electronic device according to claim 1, wherein the electronic device is a printing apparatus. 前記電子機器は情報処理装置であることを特徴とする請求項1乃至11に記載のいずれかに記載の電子機器。 The electronic device according to claim 1, wherein the electronic device is an information processing apparatus. 通信アンテナを介して受信された情報を記憶するRFIDタグを備えた電子機器における情報処理方法であって、
前記電子機器の電源が投入された後に、前記RFIDタグに記憶されている情報を読み込む読込工程と、
前記読込工程により読み込まれた情報が前記記憶媒体に記憶されている情報と一致するか否かを判定する第一の判定工程と、
前記第一の判定工程により一致しないと判定された場合に、前記読込工程により読み込まれた情報が正常であるか否かを判定する第二の判定工程と、
前記第二の判定工程により正常であると判定された場合に、前記記憶媒体に記憶されている情報を、前記読込工程により読み込まれた情報に更新する更新工程と、
前記更新工程により更新された情報に基づいて動作制御される制御工程と
を備えることを特徴とする情報処理方法。
An information processing method in an electronic device having an RFID tag that stores information received via a communication antenna,
A process of reading information stored in the RFID tag after the electronic device is turned on;
A first determination step of determining whether the information read by the reading step matches information stored in the storage medium;
A second determination step for determining whether or not the information read by the reading step is normal when it is determined by the first determination step that they do not match;
An update step for updating the information stored in the storage medium to the information read by the reading step when it is determined normal by the second determination step;
A control step of controlling the operation based on the information updated by the updating step.
前記第二の判定工程により、前記読込工程により読み込まれた前記情報が正常でないと判定された場合に、その旨を報知する報知工程を更に備えることを特徴とする請求項14に記載の情報処理方法。 The information processing according to claim 14, further comprising a notification step of notifying the fact when the second determination step determines that the information read by the reading step is not normal. Method. 前記記憶媒体に記憶されている情報は、前記電子機器において実行される制御プログラムであることを特徴とする請求項14に記載の情報処理方法。 The information processing method according to claim 14, wherein the information stored in the storage medium is a control program executed in the electronic device. 前記読込工程により読み込まれた情報に、前記制御プログラムが含まれていなかった場合、前記記憶媒体に記憶されている制御プログラムを前記RFIDタグに書き込む書き込み工程を更に備えることを特徴とする請求項16に記載の情報処理方法。 17. The information processing apparatus according to claim 16, further comprising a writing step of writing a control program stored in the storage medium to the RFID tag when the information read in the reading step does not include the control program. Information processing method described in 1. 前記記憶媒体に記憶されている情報は、前記電子機器において実行される制御プログラムによって、実行時に読み込まれるデータであることを特徴とする請求項14に記載の情報処理方法。 15. The information processing method according to claim 14, wherein the information stored in the storage medium is data read at the time of execution by a control program executed in the electronic device. 前記読込工程により読み込まれた情報に、前記データが含まれていなかった場合、前記記憶媒体に記憶されているデータを前記RFIDタグに書き込む書き込み工程を更に備えることを特徴とする請求項18に記載の情報処理方法。 19. The method according to claim 18, further comprising a writing step of writing data stored in the storage medium to the RFID tag when the information read by the reading step does not include the data. Information processing method. 前記記憶媒体に記憶されている情報は、前記電子機器の機体情報であることを特徴とする請求項14に記載の情報処理方法。 The information processing method according to claim 14, wherein the information stored in the storage medium is body information of the electronic device. 前記読込工程により読み込まれた情報に、前記電子機器の機体情報が含まれていなかった場合、前記記憶媒体に記憶されている機体情報を前記RFIDタグに書き込む書き込み工程を更に備えることを特徴とする請求項20に記載の情報処理方法。 The information read by the reading step further includes a writing step of writing the device information stored in the storage medium to the RFID tag when the device information of the electronic device is not included. The information processing method according to claim 20. 前記第二の判定工程により、前記読込工程により読み込まれた前記送信情報が正常でないと判定された場合に、前記記憶媒体に記憶されている情報を前記RFIDタグに書き込む書き込み工程を更に備えることを特徴とする請求項14に記載の情報処理方法。 When the second determination step determines that the transmission information read by the reading step is not normal, the method further comprises a writing step of writing information stored in the storage medium to the RFID tag. The information processing method according to claim 14. ユーザからの指示を受け付ける受付工程を更に備え、
前記読込工程は、前記電子機器の電源が投入された後に、前記受付工程において指示を受け付けた場合に、前記RFIDタグに記憶されている情報を読み込むことを特徴とする請求項14に記載の情報処理方法。
A reception step of receiving an instruction from the user;
15. The information according to claim 14, wherein the reading step reads information stored in the RFID tag when an instruction is received in the receiving step after the electronic device is powered on. Processing method.
前記読込手段は、前記電子機器の電源が投入された後に、自動的に前記RFIDタグに記憶されている情報を読み込むことを特徴とする請求項14に記載の情報処理方法。 The information processing method according to claim 14, wherein the reading unit automatically reads information stored in the RFID tag after the electronic device is powered on. 請求項14乃至24のいずれかに記載の情報処理方法をコンピュータによって実現させるための制御プログラムを格納した記憶媒体。 A storage medium storing a control program for realizing the information processing method according to any one of claims 14 to 24 by a computer. 請求項14乃至24のいずれかに記載の情報処理方法をコンピュータによって実現させるための制御プログラム。 A control program for realizing the information processing method according to any one of claims 14 to 24 by a computer. 第一の記憶媒体に書き込まれた情報に基づいて動作制御される電子機器であって、
無線通信素子を介して受信した情報を記憶する第二の記憶媒体と、
前記電子機器の電源が投入された後に、前記第二の記憶媒体に記憶されている情報を読み込む読込手段と、
前記読込手段により読み込まれた情報が前記第一の記憶媒体に既に書き込まれている情報と一致するか否かを判定する第一の判定手段と、
前記第一の判定手段により一致しないと判定された場合に、前記読込手段により読み込まれた情報が正常であるか否かを判定する第二の判定手段と、
前記第二の判定手段により正常であると判定された場合に、前記第一の記憶媒体に既に書き込まれている情報を、前記読込手段により読み込まれた情報に更新する更新手段と
を備えることを特徴とする電子機器。
An electronic device whose operation is controlled based on information written in a first storage medium,
A second storage medium for storing information received via the wireless communication element;
Reading means for reading information stored in the second storage medium after the electronic device is powered on;
First determination means for determining whether information read by the reading means matches information already written in the first storage medium;
Second determination means for determining whether or not the information read by the reading means is normal when it is determined by the first determination means that they do not match;
Update means for updating information already written in the first storage medium to information read by the reading means when it is determined that the second determination means is normal. Features electronic equipment.
前記第二の判定手段により、前記読込手段により読み込まれた情報が正常でないと判定された場合に、その旨を報知する報知手段を更に備えることを特徴とする請求項27に記載の電子機器。 28. The electronic device according to claim 27, further comprising notification means for notifying that when the second determination means determines that the information read by the reading means is not normal. 前記第一の記憶媒体に既に書き込まれている情報は、前記電子機器において実行される制御プログラムであることを特徴とする請求項27に記載の電子機器。 28. The electronic device according to claim 27, wherein the information already written in the first storage medium is a control program executed in the electronic device. 前記読込手段により読み込まれた情報に、前記電子機器において実行される制御プログラムが含まれていなかった場合、前記第一の記憶媒体に既に書き込まれている制御プログラムを前記第二の記憶媒体に書き込む書き込み手段を更に備えることを特徴とする請求項29に記載の電子機器。 If the information read by the reading means does not include a control program executed in the electronic device, the control program already written in the first storage medium is written in the second storage medium. 30. The electronic apparatus according to claim 29, further comprising a writing unit. 前記第一の記憶媒体に既に書き込まれている情報は、前記電子機器において実行される制御プログラムによって、実行時に読み込まれるデータであることを特徴とする請求項27に記載の電子機器。 28. The electronic device according to claim 27, wherein the information already written in the first storage medium is data read at the time of execution by a control program executed in the electronic device. 前記読込手段により読み込まれた情報に、前記データが含まれていなかった場合、前記第一の記憶媒体に既に書き込まれているデータを前記第二の記憶媒体に書き込む書き込み手段を更に備えることを特徴とする請求項31に記載の電子機器。 The information read by the reading means further comprises writing means for writing data already written in the first storage medium to the second storage medium when the data is not included. The electronic device according to claim 31. 前記第一の記憶媒体に既に書き込まれている情報は、前記電子機器の機体情報であることを特徴とする請求項27に記載の電子機器。 28. The electronic device according to claim 27, wherein the information already written in the first storage medium is machine information of the electronic device. 前記読込手段により読み込まれた情報に、前記電子機器の機体情報が含まれていなかった場合、前記第一の記憶媒体に既に書き込まれている機体情報を前記第二の記憶媒体に書き込む書き込み手段を更に備えることを特徴とする請求項33に記載の電子機器。 Write means for writing the machine information already written in the first storage medium to the second storage medium when the machine information of the electronic device is not included in the information read by the reading means. The electronic device according to claim 33, further comprising: 前記第二の判定手段により、前記読込手段により読み込まれた前記送信情報が正常でないと判定された場合に、前記第一の記憶媒体に既に書き込まれている情報を前記第二の記憶媒体に書き込む書き込み手段を更に備えることを特徴とする請求項27に記載の電子機器。 When the second determination means determines that the transmission information read by the reading means is not normal, the information already written to the first storage medium is written to the second storage medium 28. The electronic apparatus according to claim 27, further comprising a writing unit. ユーザからの指示を受け付ける受付手段を更に備え、
前記読込手段は、前記電子機器の電源が投入された後に、前記受付手段において指示を受け付けた場合に、前記第二の記憶媒体に記憶されている情報を読み込むことを特徴とする請求項27に記載の電子機器。
A reception unit for receiving an instruction from the user;
The reading means reads information stored in the second storage medium when an instruction is received by the receiving means after the electronic device is turned on. The electronic device described.
前記読込手段は、前記電子機器の電源が投入された後に、自動的に前記第二の記憶媒体に記憶されている情報を読み込むことを特徴とする請求項27に記載の電子機器。 28. The electronic apparatus according to claim 27, wherein the reading unit automatically reads information stored in the second storage medium after the electronic apparatus is powered on. 前記電子機器は印刷装置であることを特徴とする請求項27乃至37のいずれかに記載の電子機器。 38. The electronic device according to claim 27, wherein the electronic device is a printing apparatus. 前記読み込み手段、及び書き込み手段は前記第二の記憶媒体からの読み込み、及び第二の記憶媒体への書き込み動作は通信アンテナを介して行なうことを特徴とする請求項27乃至37のいずれかに記載の電子機器。 38. The reading means and the writing means read from the second storage medium and write to the second storage medium through a communication antenna. Electronic equipment.
JP2005051315A 2005-02-25 2005-02-25 Electronic device, information processing method, storage medium, and program Withdrawn JP2006231775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005051315A JP2006231775A (en) 2005-02-25 2005-02-25 Electronic device, information processing method, storage medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005051315A JP2006231775A (en) 2005-02-25 2005-02-25 Electronic device, information processing method, storage medium, and program

Publications (1)

Publication Number Publication Date
JP2006231775A true JP2006231775A (en) 2006-09-07

Family

ID=37039944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005051315A Withdrawn JP2006231775A (en) 2005-02-25 2005-02-25 Electronic device, information processing method, storage medium, and program

Country Status (1)

Country Link
JP (1) JP2006231775A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008143671A (en) * 2006-12-12 2008-06-26 Casio Comput Co Ltd Information control system and device using the same
JP2008299792A (en) * 2007-06-04 2008-12-11 Nec Access Technica Ltd Customization system of software built-in electronic apparatus, customizing method, and electronic apparatus
JP2009205625A (en) * 2008-02-29 2009-09-10 Omron Corp Reader/writer for rfid and management method of definition information of same
JP2010113409A (en) * 2008-11-04 2010-05-20 Denso Corp Onboard electronic control device
CN102354530A (en) * 2011-08-25 2012-02-15 西安电子科技大学 EEPROM reading device used for passive UHF RFID chip
JP2013052556A (en) * 2011-09-02 2013-03-21 Canon Inc Image forming apparatus, control method of the same, and program
JP2013186504A (en) * 2012-03-05 2013-09-19 Canon Inc Information processing system and information processing device, and method of controlling them
JP2013245824A (en) * 2012-05-23 2013-12-09 Panasonic Corp Rfid tag-mounted refrigerator and method of manufacturing the same
JP2015026211A (en) * 2013-07-25 2015-02-05 任天堂株式会社 Information processing device, information processing system, information processing method, and computer program
JP2015184936A (en) * 2014-03-25 2015-10-22 トッパン・フォームズ株式会社 Rfid system, rfid media and information writing/reading device
JP2016014981A (en) * 2014-07-01 2016-01-28 大日本印刷株式会社 Authentication system, authentication information management method, portable terminal, and portable terminal program
JP2017072879A (en) * 2015-10-05 2017-04-13 京セラドキュメントソリューションズ株式会社 Maintenance system
JP2018055465A (en) * 2016-09-29 2018-04-05 セイコーエプソン株式会社 Printer and control method of printer
JP2018083321A (en) * 2016-11-22 2018-05-31 京セラドキュメントソリューションズ株式会社 Communication system and wireless communication device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008143671A (en) * 2006-12-12 2008-06-26 Casio Comput Co Ltd Information control system and device using the same
JP2008299792A (en) * 2007-06-04 2008-12-11 Nec Access Technica Ltd Customization system of software built-in electronic apparatus, customizing method, and electronic apparatus
JP2009205625A (en) * 2008-02-29 2009-09-10 Omron Corp Reader/writer for rfid and management method of definition information of same
JP2010113409A (en) * 2008-11-04 2010-05-20 Denso Corp Onboard electronic control device
CN102354530A (en) * 2011-08-25 2012-02-15 西安电子科技大学 EEPROM reading device used for passive UHF RFID chip
JP2013052556A (en) * 2011-09-02 2013-03-21 Canon Inc Image forming apparatus, control method of the same, and program
US9665809B2 (en) 2012-03-05 2017-05-30 Canon Kabushiki Kaisha Apparatus and control method thereof
JP2013186504A (en) * 2012-03-05 2013-09-19 Canon Inc Information processing system and information processing device, and method of controlling them
US10192153B2 (en) 2012-03-05 2019-01-29 Canon Kabushiki Kaisha Apparatus and control method thereof
JP2013245824A (en) * 2012-05-23 2013-12-09 Panasonic Corp Rfid tag-mounted refrigerator and method of manufacturing the same
JP2015026211A (en) * 2013-07-25 2015-02-05 任天堂株式会社 Information processing device, information processing system, information processing method, and computer program
US10052553B2 (en) 2013-07-25 2018-08-21 Nintendo Co., Ltd. Information processing apparatus, information processing system, information processing method, and recording medium
JP2015184936A (en) * 2014-03-25 2015-10-22 トッパン・フォームズ株式会社 Rfid system, rfid media and information writing/reading device
JP2016014981A (en) * 2014-07-01 2016-01-28 大日本印刷株式会社 Authentication system, authentication information management method, portable terminal, and portable terminal program
JP2017072879A (en) * 2015-10-05 2017-04-13 京セラドキュメントソリューションズ株式会社 Maintenance system
JP2018055465A (en) * 2016-09-29 2018-04-05 セイコーエプソン株式会社 Printer and control method of printer
JP2018083321A (en) * 2016-11-22 2018-05-31 京セラドキュメントソリューションズ株式会社 Communication system and wireless communication device

Similar Documents

Publication Publication Date Title
JP2006231775A (en) Electronic device, information processing method, storage medium, and program
JP2007007962A (en) Recorder and recording control method
JP3895182B2 (en) Recording device
JP4692762B2 (en) Wireless tag information communication device
JP2003216450A (en) Recording device and information device with rfid communicating function
US20070086047A1 (en) Image forming system, host device, image forming apparatus and image forming method using the same
JP2021039590A (en) Wireless tag processing device and program
JP5555671B2 (en) COMMUNICATION DEVICE, PARAMETER SETTING METHOD FOR THE DEVICE, AND PARAMETER SETTING PROGRAM
CN111428825A (en) Data storage device and data storage method
JP2009037552A (en) Recording unit and control method therefor
JP2009015513A (en) Recording device and its control method
JP4343662B2 (en) Recording device and consumable parts of recording device
US8508783B2 (en) Printer that prints coded information under control of a processor
JP2007021902A (en) Printer and printing method
JP2007021901A (en) Printer and printing method
JP2007058418A (en) Recording device
JP2016038611A (en) Recording system, information setting method, and recording device
JP2007105975A (en) Image forming apparatus
JP2009037551A (en) Recording unit and control method therefor
JP4589033B2 (en) Recording apparatus, recording method, storage medium, program
JP4976760B2 (en) Information management system and image forming apparatus
JP4261852B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, RECORDING DEVICE, STORAGE MEDIUM, RECORDING SYSTEM, AND RECORDING MEDIUM ISSUING SYSTEM
KR100748777B1 (en) Control method of printing apparatus
JP5899750B2 (en) Medium processing apparatus, method for controlling medium processing apparatus, and program
JP2007055009A (en) Recording apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513