[go: up one dir, main page]

JP2004280754A - Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic - Google Patents

Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic Download PDF

Info

Publication number
JP2004280754A
JP2004280754A JP2003074958A JP2003074958A JP2004280754A JP 2004280754 A JP2004280754 A JP 2004280754A JP 2003074958 A JP2003074958 A JP 2003074958A JP 2003074958 A JP2003074958 A JP 2003074958A JP 2004280754 A JP2004280754 A JP 2004280754A
Authority
JP
Japan
Prior art keywords
wireless communication
communication
error
reader
writer
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
JP2003074958A
Other languages
Japanese (ja)
Inventor
Osamu Nakayama
修 中山
Hiroto Watanabe
寛人 渡邊
Nobuyuki Nagai
伸之 長井
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.)
Maxell Ltd
Original Assignee
Hitachi Maxell Ltd
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 Hitachi Maxell Ltd filed Critical Hitachi Maxell Ltd
Priority to JP2003074958A priority Critical patent/JP2004280754A/en
Publication of JP2004280754A publication Critical patent/JP2004280754A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a radio communication IC information processing system for easily performing a communication error detection processing, and detecting multiple kinds of errors, and also to provide a radio communication IC. <P>SOLUTION: A radio communication IC reader/writer includes: a receiving means for dividing a frame into a plurality of sub-frames with a prescribed number of bytes, so as to receive data a plurality of times; a determining means for determining whether a communication error exists or not in each unit of received sub-frame; and a reception stop means for stopping reception from the radio communication IC when the existence of the communication error is determined as the result of determination by the determining means. The determining means detects a plurality of kinds of communication errors. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、無線通信ICリーダライタおよびこれを用いる無線通信IC情報処理システムに関し、詳しくは、非接触型のICカードあるいは切手形の非接触型メモリ媒体、あるいはICタグ、電子キーなどの記憶媒体と、この記憶媒体との間で非接触でデータの授受を行うリーダを搭載したコンピュータ等の情報処理装置、非接触状態でICカードとデータの授受を行いICカードの正当性を確認する交通ゲート入退装置、入退室管理装置、商品管理システムあるいは電子キー等の情報媒体が利用される電子商取引などで代表される装置あるいはシステムなどにおいて、通信エラーの検出処理が容易で多種類のエラー検出が可能な無線通信ICリーダライタの改良に関する。
なお、この明細書および特許請求の範囲におけるリーダライタには、トランシーバ/レシーバとして非接触媒体と通信処理するものも含めるものとする。
【0002】
【従来の技術】
非接触型ICカードは、電磁誘導や電磁結合によりリーダ・ライタとの間で情報の送受信が行われる。非接触型ICカードそのものとして、従来は、電池を内蔵するものが用いられていたが、最近では、IC駆動電力が低減され、電波により電力供給が行われ、送受信するものが実用化されている(特許文献1,2)。
【0003】
【特許文献1】
特開平8−330840号公報
【特許文献2】
特願2000−172793号公報
【0004】
さらに、最近では、電鋳技術等を利用して十数μmの幅でコイルが絶縁層を挟んで数mm角のチップ上に数十ターン形成され、このチップがICカードや商品に添付するICタグとして内蔵され、利用されている。この種のICは、非接触型情報媒体の1つであり、無線通信IC(あるいはICタグ、その他のIC型非接触情報媒体、以下これらを含めてこの明細書および特許請求の範囲では無線通信ICという。)として実用化されている。
このような無線通信ICを含めて、非接触媒体によるデータ授受システムは、密着型(非接触形ICカードあるいはICタグに対する距離0〜2mm程度)あるいは近接型(2mm以上〜10cm程度まで)としてリーダ・ライタに対して非接触情報媒体を密着あるいは近接してデータの送受信を行う。そして、無線通信ICの電力供給は、ASKあるいはFSKにおいて無変調で一定振幅の周波数の電波が一定期間非接触情報媒体側に送出され、非接触情報媒体がその電力で動作して装置側に応答する。このときの応答通信として、無線通信IC側ではデータの送信が負荷変調方式で行われるものがある。
【0005】
ところで、無線通信ICとデータの授受を行うリーダ・ライタは、通常、FDやハードディスクなどの記録単位と同様に、128バイト〜256バイト程度のフレーム単位でデータを送受信する。送受信プロトコルは、相手方が特定されているので、通常の通信で行われるように、SOF(スタートオブフレーム)あるいはSOT(スタートオブテキスト),EOF(エンドオブフレーム)あるいはEOT(スタートオブテキスト)に相当するようなコードを最初と最後に挟んで、コマンドあるいは応答コードとデータとが送出され、最後にCRC等のチェックコードが付加される。
【0006】
【発明が解決しようとする課題】
しかし、このような無線通信ICからデータを受信する場合、各種の通信エラーが発生する。例えば、無線通信ICがリーダ・ライタに対して装着が不十分な場合や装着されていないことによる通信エラーを始めとして、ビット欠落エラーやCRCエラー、キャリア電波の出力不足などによる通信エラーなど各種のものがある。しかし、これらエラーに対応して通信エラーを検出するとなると、リーダ・ライタの処理ロードは高くなる。しかも、通信エラーそれぞれに応じて上位データ処理装置(ホストコンピュータ)側での処理対応が異なってくる。例えば、無線通信ICがリーダ・ライタに対して装着が不十分な場合や装着されていないことによる通信エラーでは、それに対応するメッセージが必要になり、ビット欠落エラー、ビット検出エラーやCRCチェックエラーなどでは、リトライ処理が必要であり、ときにはキャリア電波出力の増強などの処理も必要になる。
一方では、例えば、USB1.1規格からより高速なUSB2.0規格へ移行するなど、リーダライタ処理の高速化の要請がある。しかも、スティックタイプ等の小型化も必要になる。そのためリーダ・ライタにおいて多種類のエラー検出を効率よく行わなければならなくなるが、高速かつ小型化の要請に応えることが難しい状況にある。
この発明の目的は、このような従来技術の問題点を解決するものであって、通信エラーの検出処理が容易で多種類のエラー検出が可能な無線通信IC情報処理システムおよび無線通信ICを提供することにある。
この発明の他の目的は、通信エラーの検出処理が容易で多種類のエラー検出が可能な無線通信IC情報処理システムおよび無線通信ICを提供することにある。
【0007】
【課題を解決するための手段】
このような目的を達成するためのこの発明の無線通信ICリーダライタ、これを用いる無線通信IC情報処理システムおよび無線通信ICの特徴は、無線通信ICを内蔵した非接触型情報記憶媒体と、非接触型情報記憶媒体に対して電力を供給して無線通信ICに内蔵されたメモリに記憶されたデータを所定容量のフレーム(送信フレーム)単位で読出して上位情報処理装置へ転送する無線通信ICリーダライタにおいて、
フレームを所定のバイト数の複数のサブフレーム(所定の容量のフレームを複数個に分割したときの分割されたフレーム)に分割してデータを複数回受信する受信手段と、受信したサブフレーム単位ごとに通信エラーがあるか否かを判定する判定手段と、判定手段の判定の結果、通信エラーがある判定されたときに無線通信ICからの受信を停止する受信停止手段とを備えていて、判定手段が複数種類の通信エラーを検出するものである。
【0008】
【発明の実施の形態】
このように、この発明にあっては、フレームを所定のバイト数の複数のサブフレームに分割してサブフレーム単位で各種の通信エラーを判定するようにしているので、判定の種類が多くなっても判定手段(判定回路等)の小型化と高速化を実現することができる。
その結果、多種類のエラー検出ができる通信エラーの検出処理が容易で高速エラー検出処理が可能な無線通信IC情報処理システムおよび無線通信ICを容易に実現することができる。
【0009】
【実施例】
図1は、この発明を適用した無線通信ICリーダライタを用いる無線通信IC情報処理システムのブロック図、図2は、無線通信媒体によるデータ送信プロトコルのフォーマットの説明図、図3は、送受信バッファメモリのサブフレーム受信データの説明図、そして図4は、その通信エラーコードの説明図である。
図1において、1は、無線通信IC情報処理システムであって、2はそのホストコンピュータ、3は、無線通信ICを内蔵した無線通信媒体リーダ・ライタであり、マイクロプロセッサインタフェース(以下マイコンI/F)30を介してホストコンピュータ2に接続されている。無線通信媒体リーダ・ライタ3は、マイコンI/F30と、コントロール回路(CNT)31、変調回路(MOD)32aと復調回路(DEM)32bを有する送受信回路32、送受信バッファメモリ33、通信エラー判定回路35、そしてループアンテナ36とを有していて、送受信回路32がコントロール回路31に制御されて送受信バッファメモリ33を介してデータの送受信をする。なお、通信エラー判定回路35は、8ビットのエラーレジスタ35aが設けられている。
一方、コントロール回路31とマイコンインタフェース(IF)30とは、無線通信媒体リーダ・ライタ3(およびホストコンピュータ1)が起動状態にあるときにホストコンピュータ1との間でデータの授受をし、ホストコンピュータ2からのコマンドを受信して、それに対する応答をする。
【0010】
コントロール回路31は、マイコンI/F30を介してホストコンピュータ2からデータを受けて送受信バッファメモリ33に一旦記憶して送受信回路32に送信データTDを送出し、送受信回路32から出力される受信データRDを受けて送受信バッファメモリ33に一旦記憶してマイコンI/F30を介してホストコンピュータ2に転送する。
送受信回路32は、内部にエンコーダ(ENC)と、変調回路(MOD)32a、送信回路とからなる送信部、そして復調回路(DEM)32b、デコーダ(DEC)とからなる受信部を有していて、それぞれループアンテナ36に接続されている。なお、36aは、マッチング回路である。
エンコーダ(ENC)は、送信データを受けてこれをMFM信号に変換して変調回路(MOD)32aに送出する。変調回路(MOD)32aは、ホストコンピュータ2側から受けたデータを、例えば、ASK変調して送信回路を介してループアンテナ36に供給する。
【0011】
20は、無線通信ICを内蔵した無線通信媒体であって、内部にループアンテナ21とIC22とを有していて、ループアンテナ21は、絶縁層を介してチップ上に積層されている。IC22には、マイクロプロセッサ(MPU)やメモリのほかに、電力を蓄積するためのコンデンサや検波回路などの電源生成回路が内蔵されている。
一方、ホストコンピュータ2は、コントローラ(MPU)1aと、メモリ1b、そしてメモリ1bに記憶された無線通信媒体20からデータを読出す処理を一部に含むアプリケーションプログラム1cなどが設けられている。
【0012】
さて、ホストコンピュータ2において、カード読取の処理のプログラム部分がコールされると、ホストコンピュータ2のMPU1aが実行して、まず、無線通信媒体20に対するアクセス要求信号(REQ)をMPU1aが無線通信媒体リーダ・ライタ3に対して送出し、マイコンI/F30がそれを受信してコントロール回路31を制御してコントロール回路31が送受信バッファメモリ33をONにし、送受信回路32に電力供給を開始してこれを起動する。そして、無線通信媒体20からの受信データ応答待ちに入る。
【0013】
無線通信媒体20からの応答情報により無線通信媒体20の検出をして、無線通信媒体20との実際のデータ交信処理に入り、データ交信処理において読出処理が行われる。このとき、通信エラー判定回路35は、応答キャリアがあるか否か、読出データを受信しているか否か等により無線通信媒体20に対する受信状態の通信エラー検出を行う。さらに、無線通信媒体20から所定の読出データをサブフレーム5a〜5nとして128バイトの送信フレーム4を、ここでは16分割して受信する。そして、コントロール回路31は、無線通信媒体20から受信した各サブフレーム5a〜5nのデータを送受信バッファメモリ33に読込み、記憶する。これが完了した時点で通信エラー判定回路35は、各サブフレーム5a〜5nの受信データを送受信バッファメモリ33に順次記録し、サブフレーム1個を記憶した時点でCRCエラーを始めとして、ビット落ちエラー等の受信データについての通信エラー検出をする。各検出エラーは、送受信バッファメモリ33に記憶されたサブフレーム5a〜5nの通信エラー情報7c(図3参照)のエリアに記憶される。
そして、このとき通信エラーが検出されたときには、通信エラー判定回路35は、コントロール回路31にエラー検出信号を送出する。これによりコントロール回路31は、無線通信媒体20からの受信処理を停止する処理をする。
これは、コントロール回路31は、内部のフリップフロップをリセットし、これにより各種制御信号を停止させて送送受信バッファメモリ33をOFFにする。その結果、送受信回路32に対する電力供給が停止される。
【0014】
図2〜図4は、サブフレームの受信処理と通信エラー判定回路35の通信エラーについての説明図である。
図2は、無線通信媒体によるデータ受信プロトコルのフォーマットの説明図であり、無線通信媒体20は、送信データ6の最初にSOFの欄6a、次に1バイトのレスポンスコード欄6b、8バイトのサブフレームの送信データ欄6c、そして、CRCチェックコード欄6d、そして最後にEOFの欄6eとからなる。
これのフォーマットで送信されたデータを受信する無線通信媒体リーダ・ライタ3は、図3に示すように、まず、通信エラー判定回路35で受信中に送信キャリアが存在するか否か等のエラー検出を行い、受信データを送送受信バッファメモリ33に各サブフレームの受信対応に順次記憶していく。
【0015】
図3は、送送受信バッファメモリ33のサブフレーム対応の応答の記憶内容であり、レスポンスコード欄7aと実際のサブフレームに分割された8バイトの受信データ欄7b、そして通信エラー情報欄7cとで構成されていて、16個に分割された受信データが順次記憶される。
このとき、通信エラー情報欄7cは、送信データ6のCRCチェックコード欄6dの位置に通信エラー情報欄7cに置換えて記憶する。
そして、通信エラー情報欄7cにおいて通信エラーが発生した時点で、受信は、コントロール回路31により停止されて、送送受信バッファメモリ33へのサブフレームの受信データの記憶はされなくなる。
この場合の通信エラー判定回路35が判定するエラー内容が図4であり、通信エラーデータは、1バイトのエラーフラグで構成され、対応するエラーが発生したときに対応する桁位置のビットが“1”にセットされたままとなる。すなわち、エラーフラグの8ビットのうちLSBを除くすべてが、初期状態では“1”のエラー検出状態にセットされ、エラーがないと判定されたときに“0”にリセットされる。なお、LSBは、初期状態では“0”がセットされていて、エラーがあったときに“1”にセットされる。
【0016】
以下、各桁位置のエラーフラグをLSBから順に説明すると、LSB(=b0)は、キャリアエラーフラグであり、送信信号のキャリアが停止されたことを示すエラー、これが停止されたときに“1”となる。次の第2桁目(=b1)は、受信バイト数エラーフラグ、総受信バイト数が相違するときに“1”となる。次の第3桁目(=b2)は、ステータスエラーフラグであり、無線通信媒体20からステータス確定通知が受信されなかったときに“1”となる。
次の第4桁目(=b3)は、信号受信エラー、無線通信媒体20から受信信号が検出されないかったときに“1”となる。
次の第5桁目(=b4)は、ビット検出エラー、無線通信媒体20から受信信号がビット検出位置でないときにビット信号を検出して、本来のビット対応の信号になっていないときに“1”となる。
次の第6桁目(=b5)は、ビット未検出エラー、無線通信媒体20から受信信号がビット検出位置のときにビット対応の信号になっていないときに“1”となる。
次の第7桁目(=b6)は、CRCエラーフラグであり、無線通信媒体20から受信データをCRCチェックした結果、送信されたCRCコードと結果が異なるときに“1”となる。
最後のMSB(第8桁目=b7)は、通信エラー有無のフラグであって、b0〜b6のいずれかにエラーフラグ“1”があったときに、“1”にセットされる。
【0017】
そして、各サブフレームの通信エラー情報欄7cに記憶された通信エラーは、各ビット対応に論和を採り、この論理和の8ビットが8ビットのエラーレジスタ35aに記憶される。
コントロール回路31は、通信エラー判定回路35からの検出信号に応じて途中で通信エラーがあったときには、受信を打切った場合であっても、16回分のサブフレーム5a〜5nが全て受信されたタイミングでホストコンピュータ2に対して前記のエラーレジスタ35aの論理和の通信エラーフラグデータをマイコンI/F30を介して送信する。
【0018】
以上は、非接触型の無線通信媒体20からのデータの読込みを中心に説明しているが、無線通信媒体20に対してデータを書込む場合も前記と同様な処理において電力供給を行い、データ書込みをする。
【0019】
以上説明してきたが、実施例では、通信エラービットを8ビットとしているが、これは、複数のビットであればよく、8ビットに限定されるものではない。
また、実施例の通信エラー判定回路は、ハードウエア回路として説明しているが、プログラムやファームウエアのゲートアレイにより処理してもよいことはもちろんであり、この意味で判定手段であってよい。
さらに、実施例における非接触情報記憶媒体のリーダ・ライタは、データを読取るだけのリーダ機能だけあれば十分であって、いわゆるリーダであってよいことはもちろんである。これら非接触情報記憶媒体のリーダ・ライタあるいはリーダは、ホストコンピュータに中に内蔵されていてもあるいは外付けのものであってもよい。
【0020】
【発明の効果】
以上説明してきたように、この発明にあっては、フレームを所定のバイト数の複数のサブフレームに分割してサブフレーム単位で各種の通信エラーを判定するようにしているので、判定の種類が多くなっても判定手段(判定回路等)の小型化と高速化を実現することができる。
その結果、多種類のエラー検出ができる通信エラーの検出処理が容易で高速エラー検出処理が可能な無線通信IC情報処理システムおよび無線通信ICを容易に実現することができる。
【図面の簡単な説明】
【図1】図1は、この発明を適用した無線通信ICリーダライタを用いる無線通信IC情報処理システムのブロック図である。
【図2】図2は、無線通信媒体によるデータ送信プロトコルのフォーマットの説明図である。
【図3】図3は、送送受信バッファメモリのサブフレーム受信データの説明図である。
【図4】図4は、その通信エラーコードの説明図である。
【符号の説明】
1…非接触型情報記憶媒体無線通信IC情報処理システム、
2…ホストコンピュータ、3…非接触型の無線通信媒体リーダ・ライタ、
4…送信フレーム、
5…エンコーダ(ENC)、6…変調回路(MOD)、
7…送信回路、8…検出回路、9…復調回路(DEM)、
10…デコーダ、20…無線通信媒体、
21…ループアンテナ、22…IC、
30…マイコンIF、31…コントロール回路、
32…送受信回路、33…送送受信バッファメモリ、
35…通信エラー判定回路、35a…8ビットエラーレジスタ、
36…ループアンテナ。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a wireless communication IC reader / writer and a wireless communication IC information processing system using the same, and more particularly, to a non-contact type IC card or a stamp-type non-contact type memory medium, or a storage medium such as an IC tag or an electronic key. And an information processing device such as a computer equipped with a reader for exchanging data with this storage medium in a non-contact manner, and a traffic gate for exchanging data with the IC card in a non-contact state and confirming the validity of the IC card In devices and systems such as entry / exit devices, entry / exit management devices, product management systems, and electronic commerce that use information media such as electronic keys, etc., communication error detection processing is easy, and various types of error detection can be performed. A possible wireless communication IC reader / writer is improved.
It should be noted that the reader / writer in the specification and the claims includes those that perform communication processing with a non-contact medium as a transceiver / receiver.
[0002]
[Prior art]
A non-contact type IC card transmits and receives information to and from a reader / writer by electromagnetic induction or electromagnetic coupling. Conventionally, a non-contact type IC card itself has a built-in battery. However, recently, a non-contact type IC card in which IC driving power is reduced, power is supplied by radio waves, and transmission / reception is implemented has been put to practical use. (Patent Documents 1 and 2).
[0003]
[Patent Document 1]
JP-A-8-330840 [Patent Document 2]
Japanese Patent Application No. 2000-172793
Furthermore, recently, using an electroforming technique or the like, a coil having a width of several tens of μm is formed on a chip of several mm square with an insulating layer interposed therebetween, and this chip is attached to an IC card or an IC. It is built in and used as a tag. This type of IC is one of non-contact type information media, and a wireless communication IC (or IC tag, other IC type non-contact information media, hereinafter including these, wireless communication in this specification and claims) IC).
A data transfer system using a non-contact medium, including such a wireless communication IC, is a contact type (a distance of about 0 to 2 mm to a non-contact type IC card or an IC tag) or a proximity type (a distance of about 2 mm to about 10 cm). -Send and receive data by bringing the non-contact information medium into close contact with or close to the writer. Then, the power supply of the wireless communication IC is performed in such a manner that a radio wave of a non-modulated and constant amplitude is transmitted to the non-contact information medium side for a certain period in ASK or FSK, and the non-contact information medium operates with the power and responds to the device side. I do. As response communication at this time, there is a wireless communication IC side in which data transmission is performed by a load modulation method.
[0005]
By the way, a reader / writer that exchanges data with a wireless communication IC normally transmits and receives data in a frame unit of about 128 bytes to 256 bytes, similarly to a recording unit such as an FD or a hard disk. The transmission / reception protocol corresponds to SOF (start-of-frame) or SOT (start-of-text), EOF (end-of-frame), or EOT (start-of-text), as is performed in normal communication since the other party is specified. A command or response code and data are transmitted with such a code interposed at the beginning and end, and a check code such as CRC is added at the end.
[0006]
[Problems to be solved by the invention]
However, when receiving data from such a wireless communication IC, various communication errors occur. For example, various errors such as a communication error caused by a wireless communication IC being insufficiently attached to a reader / writer or being not attached, a bit missing error, a CRC error, and an insufficient output of a carrier radio wave. There is something. However, when a communication error is detected in response to these errors, the processing load of the reader / writer increases. Moreover, the processing correspondence on the host data processing device (host computer) side differs depending on each communication error. For example, if the wireless communication IC is not properly attached to the reader / writer or a communication error occurs because the wireless communication IC is not attached to the reader / writer, a corresponding message is required, and a bit missing error, a bit detection error, a CRC check error, etc. In such a case, a retry process is required, and sometimes a process such as enhancement of the carrier radio wave output is also required.
On the other hand, for example, there is a demand for faster reader / writer processing such as a shift from the USB 1.1 standard to a faster USB 2.0 standard. In addition, miniaturization of a stick type or the like is required. For this reason, it is necessary to efficiently detect various types of errors in the reader / writer, but it is difficult to meet the demand for high-speed and miniaturization.
An object of the present invention is to solve such a problem of the related art, and provides a wireless communication IC information processing system and a wireless communication IC that can easily detect a communication error and detect various types of errors. Is to do.
Another object of the present invention is to provide a wireless communication IC information processing system and a wireless communication IC capable of easily detecting a communication error and detecting various types of errors.
[0007]
[Means for Solving the Problems]
The wireless communication IC reader / writer of the present invention, a wireless communication IC information processing system using the same, and a wireless communication IC using the same are characterized by a non-contact type information storage medium incorporating a wireless communication IC, A wireless communication IC reader that supplies power to a contact-type information storage medium, reads data stored in a memory built in the wireless communication IC in units of frames (transmission frames) of a predetermined capacity, and transfers the data to a higher-level information processing device In the writer,
A receiving unit that divides a frame into a plurality of sub-frames of a predetermined number of bytes (a divided frame obtained by dividing a frame having a predetermined capacity into a plurality of pieces) and receives data a plurality of times; And a reception stopping means for stopping reception from the wireless communication IC when it is determined that there is a communication error as a result of the determination by the determination means. The means detects a plurality of types of communication errors.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
As described above, in the present invention, a frame is divided into a plurality of subframes having a predetermined number of bytes, and various communication errors are determined in subframe units. Also, it is possible to reduce the size and speed of the determining means (determining circuit and the like).
As a result, it is possible to easily realize a wireless communication IC information processing system and a wireless communication IC that can easily perform communication error detection processing capable of detecting various types of errors and perform high-speed error detection processing.
[0009]
【Example】
FIG. 1 is a block diagram of a wireless communication IC information processing system using a wireless communication IC reader / writer to which the present invention is applied, FIG. 2 is an explanatory diagram of a format of a data transmission protocol using a wireless communication medium, and FIG. And FIG. 4 is an explanatory diagram of the communication error code.
In FIG. 1, 1 is a wireless communication IC information processing system, 2 is its host computer, 3 is a wireless communication medium reader / writer with a built-in wireless communication IC, and has a microprocessor interface (hereinafter, microcomputer I / F). ) 30 to the host computer 2. The wireless communication medium reader / writer 3 includes a microcomputer I / F 30, a control circuit (CNT) 31, a transmission / reception circuit 32 having a modulation circuit (MOD) 32a and a demodulation circuit (DEM) 32b, a transmission / reception buffer memory 33, a communication error determination circuit. The transmission / reception circuit 32 is controlled by the control circuit 31 to transmit / receive data via the transmission / reception buffer memory 33. Note that the communication error determination circuit 35 is provided with an 8-bit error register 35a.
On the other hand, the control circuit 31 and the microcomputer interface (IF) 30 transmit and receive data to and from the host computer 1 when the wireless communication medium reader / writer 3 (and the host computer 1) is in an active state. 2 and receives a response to it.
[0010]
The control circuit 31 receives data from the host computer 2 via the microcomputer I / F 30, temporarily stores the data in the transmission / reception buffer memory 33, sends the transmission data TD to the transmission / reception circuit 32, and receives the reception data RD output from the transmission / reception circuit 32. In response, the data is temporarily stored in the transmission / reception buffer memory 33 and transferred to the host computer 2 via the microcomputer I / F 30.
The transmission / reception circuit 32 includes an encoder (ENC), a transmission unit including a modulation circuit (MOD) 32a and a transmission circuit, and a reception unit including a demodulation circuit (DEM) 32b and a decoder (DEC). , Are connected to the loop antenna 36, respectively. 36a is a matching circuit.
The encoder (ENC) receives the transmission data, converts it into an MFM signal, and sends it to the modulation circuit (MOD) 32a. The modulation circuit (MOD) 32a performs, for example, ASK modulation on the data received from the host computer 2 and supplies the data to the loop antenna 36 via the transmission circuit.
[0011]
Reference numeral 20 denotes a wireless communication medium having a built-in wireless communication IC, which has a loop antenna 21 and an IC 22 therein. The loop antenna 21 is stacked on a chip via an insulating layer. The IC 22 incorporates a power generation circuit such as a capacitor for storing power and a detection circuit in addition to a microprocessor (MPU) and a memory.
On the other hand, the host computer 2 is provided with a controller (MPU) 1a, a memory 1b, and an application program 1c partially including a process of reading data from the wireless communication medium 20 stored in the memory 1b.
[0012]
When the program part of the card reading process is called in the host computer 2, the MPU 1a of the host computer 2 executes the program, and first, the MPU 1a sends an access request signal (REQ) to the wireless communication medium 20 to the wireless communication medium reader.・ Send to the writer 3, the microcomputer I / F 30 receives it, and controls the control circuit 31. The control circuit 31 turns on the transmission / reception buffer memory 33, starts power supply to the transmission / reception circuit 32, and to start. Then, it waits for a response to the data received from the wireless communication medium 20.
[0013]
The wireless communication medium 20 is detected based on the response information from the wireless communication medium 20, and the process enters an actual data communication process with the wireless communication medium 20, and a reading process is performed in the data communication process. At this time, the communication error determination circuit 35 detects a communication error in the reception state with respect to the wireless communication medium 20 based on whether there is a response carrier, whether or not read data is being received, and the like. Further, a 128-byte transmission frame 4 is received by dividing predetermined transmission data from the wireless communication medium 20 into sub-frames 5a to 5n. Then, the control circuit 31 reads and stores the data of each of the sub-frames 5 a to 5 n received from the wireless communication medium 20 in the transmission / reception buffer memory 33. When this is completed, the communication error determination circuit 35 sequentially records the received data of each of the sub-frames 5a to 5n in the transmission / reception buffer memory 33, and when one sub-frame is stored, starts the CRC error, the bit omission error, etc. A communication error is detected for the received data. Each detection error is stored in the area of the communication error information 7c (see FIG. 3) of the subframes 5a to 5n stored in the transmission / reception buffer memory 33.
Then, when a communication error is detected at this time, the communication error determination circuit 35 sends an error detection signal to the control circuit 31. Thereby, the control circuit 31 performs a process of stopping the reception process from the wireless communication medium 20.
This means that the control circuit 31 resets the internal flip-flop, thereby stopping various control signals and turning off the transmission / reception buffer memory 33. As a result, power supply to the transmission / reception circuit 32 is stopped.
[0014]
FIG. 2 to FIG. 4 are explanatory diagrams of the reception processing of the subframe and the communication error of the communication error determination circuit 35.
FIG. 2 is an explanatory diagram of the format of a data reception protocol using a wireless communication medium. The wireless communication medium 20 includes an SOF column 6a at the beginning of the transmission data 6, a 1-byte response code column 6b, and an 8-byte sub-code. It consists of a frame transmission data column 6c, a CRC check code column 6d, and finally an EOF column 6e.
As shown in FIG. 3, the wireless communication medium reader / writer 3 that receives data transmitted in this format first detects an error such as whether or not a transmission carrier is present during reception by the communication error determination circuit 35. , And sequentially stores the received data in the transmission / reception buffer memory 33 in correspondence with the reception of each subframe.
[0015]
FIG. 3 shows the storage contents of the response corresponding to the subframe in the transmission / reception buffer memory 33. The response code column 7a, the 8-byte reception data column 7b divided into actual subframes, and the communication error information column 7c. The received data divided into 16 pieces is sequentially stored.
At this time, the communication error information column 7c is stored at the position of the CRC check code column 6d of the transmission data 6, replacing the communication error information column 7c.
When a communication error occurs in the communication error information column 7c, the reception is stopped by the control circuit 31, and the transmission data of the subframe is not stored in the transmission / reception buffer memory 33.
The error content determined by the communication error determination circuit 35 in this case is shown in FIG. 4, and the communication error data is composed of a 1-byte error flag, and when a corresponding error occurs, the bit at the corresponding digit position is set to “1”. "Remains set. That is, all of the 8 bits of the error flag except the LSB are set to the error detection state of “1” in the initial state, and are reset to “0” when it is determined that there is no error. The LSB is set to “0” in the initial state, and is set to “1” when an error occurs.
[0016]
Hereinafter, the error flag at each digit position will be described in order from the LSB. LSB (= b0) is a carrier error flag, and indicates an error indicating that the carrier of the transmission signal has been stopped. It becomes. The next second digit (= b1) becomes “1” when the received byte number error flag and the total received byte number are different. The next third digit (= b2) is a status error flag, which becomes “1” when a status confirmation notification is not received from the wireless communication medium 20.
The next fourth digit (= b3) becomes “1” when a signal reception error or a reception signal is not detected from the wireless communication medium 20.
The fifth digit (= b4) is a bit detection error. When the signal received from the wireless communication medium 20 is not at the bit detection position, the bit signal is detected. 1 ".
The next sixth digit (= b5) becomes “1” when a bit undetected error occurs and the signal received from the wireless communication medium 20 is not a bit-corresponding signal when it is at a bit detection position.
The seventh digit (= b6) is a CRC error flag, which becomes "1" when the result of the CRC check of the data received from the wireless communication medium 20 is different from the CRC code transmitted.
The last MSB (8th digit = b7) is a flag indicating the presence or absence of a communication error, and is set to “1” when any of b0 to b6 has an error flag “1”.
[0017]
The communication error stored in the communication error information column 7c of each subframe is ORed for each bit, and the 8 bits of the OR are stored in the 8-bit error register 35a.
When there is a communication error on the way according to the detection signal from the communication error determination circuit 35, the control circuit 31 receives all of the 16 subframes 5a to 5n even if the reception is terminated. At the timing, the communication error flag data of the logical sum of the error register 35a is transmitted to the host computer 2 via the microcomputer I / F30.
[0018]
The above description focuses on reading data from the non-contact type wireless communication medium 20. However, when writing data to the wireless communication medium 20, power is supplied in the same process as described above, and data is written. Write.
[0019]
As described above, in the embodiment, the communication error bit is set to 8 bits, but this may be a plurality of bits, and is not limited to 8 bits.
Although the communication error determination circuit of the embodiment is described as a hardware circuit, it is needless to say that the communication error determination circuit may be processed by a program or a gate array of firmware, and may be a determination unit in this sense.
Further, the reader / writer of the non-contact information storage medium in the embodiment only needs to have a reader function of reading data, and may be a so-called reader. The reader / writer or the reader of the non-contact information storage medium may be built in the host computer or external.
[0020]
【The invention's effect】
As described above, according to the present invention, a frame is divided into a plurality of subframes having a predetermined number of bytes, and various communication errors are determined in subframe units. Even if the number increases, the size and speed of the determination means (determination circuit and the like) can be reduced.
As a result, it is possible to easily realize a wireless communication IC information processing system and a wireless communication IC that can easily perform communication error detection processing capable of detecting various types of errors and perform high-speed error detection processing.
[Brief description of the drawings]
FIG. 1 is a block diagram of a wireless communication IC information processing system using a wireless communication IC reader / writer to which the present invention is applied.
FIG. 2 is an explanatory diagram of a format of a data transmission protocol using a wireless communication medium.
FIG. 3 is an explanatory diagram of subframe reception data in a transmission / reception buffer memory;
FIG. 4 is an explanatory diagram of the communication error code.
[Explanation of symbols]
1. Non-contact type information storage medium wireless communication IC information processing system,
2. Host computer, 3. Non-contact wireless communication medium reader / writer,
4 ... transmission frame,
5: encoder (ENC), 6: modulation circuit (MOD),
7 transmission circuit, 8 detection circuit, 9 demodulation circuit (DEM),
10 ... decoder, 20 ... wireless communication medium,
21: loop antenna, 22: IC,
30 ... microcomputer IF, 31 ... control circuit,
32 transmission / reception circuit, 33 transmission / reception buffer memory,
35: communication error determination circuit, 35a: 8-bit error register,
36 ... Loop antenna.

Claims (5)

無線通信ICを内蔵した非接触型情報記憶媒体と、前記非接触型情報記憶媒体に対して電力を供給して前記無線通信ICに内蔵されたメモリに記憶されたデータを所定容量のフレーム単位で読出して上位情報処理装置へ転送する無線通信ICリーダライタにおいて、
前記フレームを所定のバイト数の複数のサブフレームに分割してデータを複数回受信する受信手段と、
受信した前記サブフレーム単位ごとに通信エラーがあるか否かを判定する判定手段と、
前記判定手段の判定の結果、前記通信エラーがある判定されたときに前記無線通信ICからの受信を停止する受信停止手段とを備え、
前記判定手段は複数種類の通信エラーを検出する無線通信ICリーダライタ。
A non-contact information storage medium having a built-in wireless communication IC, and data stored in a memory built in the wireless communication IC by supplying power to the non-contact information storage medium in units of frames having a predetermined capacity. In a wireless communication IC reader / writer for reading and transferring to a higher-level information processing device,
A receiving unit that divides the frame into a plurality of subframes having a predetermined number of bytes and receives data a plurality of times;
Determining means for determining whether there is a communication error for each of the received subframe units,
And a reception stop unit for stopping reception from the wireless communication IC when it is determined that the communication error exists, as a result of the determination by the determination unit,
A wireless communication IC reader / writer for detecting a plurality of types of communication errors;
判定手段は、判定回路であり、前記サブフレームは、前記エラーコードが付加されたデータとして受信メモリに記憶され、前記エラーコードの位置にこのエラーコードに換えて前記複数種類の通信エラー結果が通信エラー情報として記憶され、前記フレームが受信されたタイミングに合わせて前記通信エラー結果を前記上位データ処理装置に送出する請求項1記載の無線通信ICリーダライタ。The judging means is a judging circuit, wherein the subframe is stored in a receiving memory as data to which the error code is added, and the plurality of types of communication error results are communicated in place of the error code at the position of the error code. 2. The wireless communication IC reader / writer according to claim 1, wherein the wireless communication IC reader / writer is stored as error information, and sends the communication error result to the upper data processing device in synchronization with a timing at which the frame is received. 前記通信エラー結果は、前記複数種類の通信エラーに対応して複数のビットからなるものであり、各ビット位置を異なる内容の通信エラーに割当てて通信エラーを検出して、前記フレーム分のデータの前記通信エラー結果の論理和の複数ビットを前記上位データ処理装置に送出する請求項2記載の無線通信ICリーダライタ。The communication error result is composed of a plurality of bits corresponding to the plurality of types of communication errors, and assigns each bit position to a communication error having a different content to detect a communication error, and detects data of the frame. 3. The wireless communication IC reader / writer according to claim 2, wherein a plurality of bits of the logical sum of the communication error result are sent to the upper data processing device. 請求項1〜3のいずれか記載の無線通信ICリーダライタと前記上位データ処理装置とからなる無線通信IC情報処理システム。A wireless communication IC information processing system comprising the wireless communication IC reader / writer according to claim 1 and the upper data processing device. 請求項1〜3のいずれか記載の無線通信ICリーダライタに対して前記フレームを前記サブフレームに分割してデータを送信する無線通信IC。A wireless communication IC that divides the frame into the subframes and transmits data to the wireless communication IC reader / writer according to claim 1.
JP2003074958A 2003-03-19 2003-03-19 Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic Withdrawn JP2004280754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003074958A JP2004280754A (en) 2003-03-19 2003-03-19 Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003074958A JP2004280754A (en) 2003-03-19 2003-03-19 Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic

Publications (1)

Publication Number Publication Date
JP2004280754A true JP2004280754A (en) 2004-10-07

Family

ID=33290393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003074958A Withdrawn JP2004280754A (en) 2003-03-19 2003-03-19 Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic

Country Status (1)

Country Link
JP (1) JP2004280754A (en)

Similar Documents

Publication Publication Date Title
JP4483271B2 (en) Wireless communication apparatus and response data processing method for wireless communication apparatus
US7872582B1 (en) RFID tag chips and tags with alternative memory lock bits and methods
US20070237087A1 (en) Communication medium, communication medium processing apparatus, and communication medium processing system
US7055752B2 (en) IC card
US7146112B2 (en) Replaceable unit monitor reader with auto polling capabilities
EP2704021B1 (en) SRAM handshake
JP2000163524A (en) Information processing system for non-contact information storage medium
JP2006048360A (en) Non-contact ic chip reader/writer
US20080140972A1 (en) Memory card system with password confirmation and transmission
JP3655597B2 (en) Electronic device, electronic card, and card identification method
EP2111012B1 (en) Reader/writer, communication processing device, communication processing method, data management system and communication system
JP2004280754A (en) Radio communication ic reader and writer, radio communication ic information processing system using the same, and radio communication ic
CN102301306B (en) Power management
US9183209B2 (en) Communication device with fast start mode for transfering data to temporary areas beyond file system control
CN101477640B (en) Recognition card interface controller based on field programmable gate array and implementation process
JP2006252079A (en) Information recording medium, information communication system, information communication method, and information communication program
JPH1153487A (en) Method for deciding validity of written data on ic card
JP2005084926A (en) Ic card and ic card issuing device
JP2004199450A (en) Non-contact reader/writer
JPH03154266A (en) Handling method for unwritten sector in block type storage device
JPH02100526A (en) Individual identification method
JP2007004624A (en) Information management device, information management method and computer program
JP2000227949A (en) Non-contact type adaptor device for ic card
JP2004280445A (en) Noncontact card reader/writer
JP2004348373A (en) Communication method and system using non-contact tag, and reader/writer

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060606