JP3497527B2 - Data carrier communication control system - Google Patents

Data carrier communication control system

Info

Publication number
JP3497527B2
JP3497527B2 JP17593593A JP17593593A JP3497527B2 JP 3497527 B2 JP3497527 B2 JP 3497527B2 JP 17593593 A JP17593593 A JP 17593593A JP 17593593 A JP17593593 A JP 17593593A JP 3497527 B2 JP3497527 B2 JP 3497527B2
Authority
JP
Japan
Prior art keywords
data
atr
carrier
data carrier
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP17593593A
Other languages
Japanese (ja)
Other versions
JPH0785227A (en
Inventor
一人 小野
俊昭 守角
博光 荒井
勝俊 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co 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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP17593593A priority Critical patent/JP3497527B2/en
Publication of JPH0785227A publication Critical patent/JPH0785227A/en
Application granted granted Critical
Publication of JP3497527B2 publication Critical patent/JP3497527B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、内部メモリーの特定領
域にあらかじめ識別用のデータが書き込まれており、電
力の受信開始にともない、この特定領域のデータを返信
する機能を有する、データの書き込みおよび読み出し可
能な非接触型データキャリアの通信制御方法に関するも
のである。 【0002】 【従来の技術】一般的なデータキャリアとアクセスヘッ
ドとの通信動作を、図4を用いて説明する。まず内部構
成であるが、アクセスヘッド13は、ホストコンピュー
タ(以下、単にホストと略記する)5とのやり取りを司
る対ホストインターフェース部6、ホスト5からの指示
内容に基づきデータキャリア28に対して実行する各種
コマンドの選択、およびこのコマンドの送受信手順を制
御する通信制御部7、指定された前記コマンド内容によ
り送信データを含めて一連のコマンドブロックを送信す
るコマンド送信バッファ8、各コマンドに対応したデー
タキャリア28からの応答データブロックを受信する応
答受信バッファ9、送信データ内容に基づきキャリア信
号の変調を行なう変調部11、受信信号を復調する復調
部12、データキャリア28への電源供給および動作ク
ロック用キャリア信号を生成するクロック発生部10、
変調部11からの送信信号およびキャリア信号を送信す
るとともに、応答信号を受信するアンテナコイルL1か
ら構成されている。 【0003】また、データキャリア28は、前記アクセ
スヘッド13のアンテナコイルL1との非接触通信を司
るアンテナコイルL2、このアンテナコイルL2により
受信したキャリア信号をコンデンサおよびダイオードか
らなる整流回路で整流し、定電圧回路で直流動作電源と
する整流・定電圧部25、その電源電圧を監視し所定の
電圧レベル以下であればリセット信号S21を出力する
電源電圧検出部23、前記アンテナコイルL2からの変
調信号を復調し、アクセスヘッド13から送信されたコ
マンドブロックを一連のデジタルデータに変換する復調
部27、アクセスヘッド13への応答データを変調する
変調部26、識別用IDコードを含む特定領域としてA
TR(Answer−to−reset)データ領域2
1を含むデータ記憶部としてのメモリー22、アクセス
ヘッド13からのコマンドに基づき前記メモリー22へ
のデータの書き込みあるいは読み出しおよびアクセスヘ
ッド13への応答を行なう制御部24から構成されてい
る。 【0004】さて、初期状態として、アクセスヘッド1
3はアンテナコイルL1からキャリア信号を連続的に出
力しており、データキャリア28はまだ通信可能範囲に
無いものとする。この状態で前記データキャリア28が
前記アクセスヘッド12との通信可能領域内に入り、両
者のアンテナコイルL1およびL2が互いに近づくにつ
れ、前記データキャリア28はアクセスヘッド13から
のキャリア信号を受信できるようになり、整流・定電圧
部25から直流電圧の出力が開始される。ただし、キャ
リア信号の受信開始直後では、前記アンテナコイルL2
は、アクセスヘッド13のアンテナコイルL1との距離
が、まだ離れているため、受信しているキャリア信号自
体の電圧レベルは小さく、また前記整流・定電圧部25
のコンデンサもフルに充電されていないため、この状態
で出力されている直流電圧は、前記データキャリア28
が動作可能なレベルにはなく、電源電圧検出部23から
はリセット信号S21が出力されたままである。この
時、制御部24はハードウェアリセット状態となってい
るため動作しない。データキャリア28がアクセスヘッ
ド13に近づくにつれ、受信しているキャリア信号の信
号レベルが大きくなっていき、また前記整流・定電圧部
25のコンデンサも充分に充電され、データキャリア2
8が動作可能な電圧レベルに達すると、前記電源電圧検
出部23のリセット信号S21の出力が停止し、前記制
御部24のハードウェアリセットが解除される。 【0005】この制御部24は、ハードウェアリセット
が解除されると、まず始めにメモリー22の中のATR
データ領域21のデータを読み出し、変調部26で変調
したあと、アンテナコイルL2を介してATRデータと
してアクセスヘッド13に返信する。その後、前記制御
部24はアクセスヘッド12から送信されるコマンドブ
ロックの受信待機状態となり、以降各コマンドに基づい
て、前記メモリー22からのデータの読み出しあるいは
書き込み、およびアクセスヘッド13への応答を行な
い、これを繰り返す。 【0006】さて、アクセスヘッド13ではアンテナコ
イルL1を通して前記データキャリア28からのATR
データを受信し、復調部12で復調され応答受信バッフ
ァ9に一時的に蓄えられたあと、通信制御部7、対ホス
トインターフェース部6を介してホスト5に送られる。
このホスト5は、前記ATRデータを受け取ることによ
り、データキャリア28が入ってきたことを知るととも
に、そのATRデータの内容に応じた処理内容を対ホス
トインターフェース部6に指示する。この対ホストイン
ターフェース部6は、前記ホスト5からの指示に基づ
き、前記データキャリア28のメモリー22の他の領域
のデータの読み出し、あるいはデータの書き込みといっ
た個々のコマンド実行レベルに分割し、通信制御部7に
対して所定の処理手順に従って各コマンドを実行するよ
う指示を出す。通信制御部7では、前記対ホストインタ
ーフェース部6から指示されたコマンド内容に応じて、
データ等を含むコマンドブロックを次段のコマンド送信
バッファ8に形成し、変調部11を通してアンテナコイ
ルL1から送信する。データキャリア28では、アンテ
ナコイルL2によりこのコマンドブロックを受信し、復
調部27で復調後、制御部24によりコマンド内容に応
じてメモリー22へのデータの書き込みあるいは読み出
しを行なうとともに、実行結果を応答データブロックと
して返信する。前記アクセスヘッド13では、このデー
タキャリア28からの応答ブロックを、前述のATRデ
ータ受信時と同じ動作を経て、前記対ホストインターフ
ェース部6に送られる。この動作が、前記ホスト5から
指示された処理内容に応じて実施されるコマンド全て実
施完了するまで、同様に行なわれたあと、前記対ホスト
インターフェース部6からホスト5に結果が知らされ
る。この結果に基づき、前記ホスト5では所定の表示、
動作が行なわれることになる。 【0007】今まで述べてきたアクセスヘッド13、デ
ータキャリア28およびホスト5からなるシステムの動
作を、具体的な運用例を用いてわかりやすく説明する。
まず、このシステムは、例えば特定敷地内へのゲート入
退場管理で使用されるものとする。アクセスヘッド13
およびホスト5はゲート側に設置されており、データキ
ャリア28は入退場者が携行しているものとする。デー
タキャリア28の種類として、特定期間のフリーパス
券、所定の回数まで入場可能な回数券の2種類とし、両
券種の識別コードが前記データキャリア28のメモリー
22の中のATRデータ領域21に書き込まれているも
のとする。さらに、フリーパス券は有効期限を表すデー
タが前記ATRデータ領域21以外のメモリー22の他
の領域に書き込まれているものとし、回数券は残りの使
用回数データが同領域に書き込まれるものとする。ま
た、前記ATRデータ領域21には入場人員の管理・集
計等を行なうものとして、個々のデータキャリア毎に全
て異なる使用者識別用IDコードも、あらかじめ書き込
まれているものとする。ホスト5の仕様としては入場可
否およびゲート通行券種のアナウンス、ゲート扉の開閉
動作を行なうものとする。なお、参考までに、上記運用
例に基づき、実際の使用状態を説明したものを図3に示
した。図3(a)では、データキャリア28を携行して
いる人がアンテナコイルL1との通信可能領域内にお
り、他のデータキャリア28aを持った人が後に続いて
入ろうとしている様子を表している。図3(b)は、図
3(a)における、アンテナコイルL1の通信可能領域
と、データキャリア28、28aとの位置関係を表して
いる。 【0008】今、ある人が入場しようとゲートに近づい
てきたとする。ゲート側に設置されているアクセスヘッ
ド13のアンテナコイルL1にデータキャリア28のア
ンテナコイルL2が近づき、通信可能領域に達すると前
記データキャリア28の電源電圧検出部23はリセット
信号S21の出力が停止し、制御部24のハードウェア
リセットが解除される。すると、ATRデータ領域21
の内容を読み出し、変調部26、アンテナコイルL2を
介して前記アクセスヘッド13に、ATRデータとして
返信する。アクセスヘッド13では、アンテナコイルL
1により前記ATRデータを受信し、復調部12、応答
受信バッファ9、通信制御部7および対ホストインター
フェース部6を介してホスト5に送られる。ホスト5は
前記ATRデータを受け取ることにより、データキャリ
ア28が入ってきたことを知るとともに、そのATRデ
ータの内容、即ち使用者識別用IDコードおよび券種コ
ードを確認する。 【0009】ここで、今入ってきたデータキャリア28
が特定期間のフリーパス券だったとすると、前記ホスト
5は券種コードからそれを判断し、アクセスヘッド13
に対して、前記データキャリア28の有効期限を知らせ
るよう指示する。前記アクセスヘッド13の対ホストイ
ンターフェース部6はこの指示受け、通信制御部7を介
して読み出しコマンドを実行し、前記データキャリア2
8のメモリー22の有効期限を表すデータが書き込まれ
ている領域のデータの読み出しを行なう。コマンド送信
バッファ8、変調部11を介してアンテナコイルL1か
ら送信されたこのコマンドブロックは、前記データキャ
リア28において、アンテナコイルL2、復調部27を
通して制御部24で解読され、メモリー22の前記所定
の領域のデータを読み出してアクセスヘッド13に応答
する。前記アクセスヘッド13ではこの応答データブロ
ックを受信するとともに、対ホストインターフェース部
6で応答データの中から必要とされるデータのみ抜き出
されて前記ホスト5に送られる。このようにして、前記
ホスト5は前記データキャリア28の有効期限を知り、
通行可能と判断した場合には、ゲート通行券種および入
場可能である旨アナウンスを行ない、ゲート扉を開くこ
とになる。 【0010】次に、入ってきたデータキャリア28が所
定の回数まで入場可能な回数券だったとする。ATRデ
ータを受信した後、前記ホスト5は、アクセスヘッド1
3に対して前記データキャリア28の残りの使用回数を
知らせるよう指示する。前述のフリーパス券の時と同様
に、前記アクセスヘッド13の対ホストインターフェー
ス部6はこの指示受け、通信制御部7を介して読み出し
コマンドを実行し、前記データキャリア28の、メモリ
ー22の残りの使用回数を表すデータが書き込まれてい
る領域のデータの読み出しを行なう。ここで、フリーパ
ス券と異なるのは、回数券の残りの使用回数を1ポイン
ト減じなければならないということである。即ち、前記
対ホストインターフェース部6は、読み出しコマンドを
実行したあと、続けて書き込みコマンドを実行し、前記
データキャリアのメモリー22の中の残りの使用回数デ
ータを、1ポイント減らしたデータに書き換えを行な
う。読み出しコマンドにより読み出した残りの使用回数
データを前回値として、この前回値から1ポイント減ら
した値を新たな残りの使用回数データとして書き込みコ
マンドブロックを形成し、前記データキャリア28に送
信する。データキャリア28ではメモリー22の前記所
定の領域に、コマンドブロックとして送信されてきた、
新たな残りの使用回数データの書き込みを行なって、そ
の結果を前記アクセスヘッド13に応答する。前記対ホ
ストインターフェース部6では、読み出しおよび書き込
みの両コマンドが実行完了したことを受け、読み出しコ
マンドによる応答データブロックの中から残りの使用回
数データを抜き出して前記ホスト5に送る。前記ホスト
5は、前記データキャリア28の残りの使用回数がゼロ
でなく、通行可能と判断した場合には、ゲート通行券種
および入場可能である旨アナウンスを行ない、ゲート扉
を開くことになる。 【0011】 【発明が解決しようとする課題】従来のデータキャリア
28とアクセスヘッド13との通信動作において、アク
セスヘッド13が、あるデータキャリア28との通信、
即ちコマンドの実行を行なっているときに、他のデータ
キャリア28aが通信可能領域内に入ってきた場合、同
領域内に複数のデータキャリア28、28aが存在する
ことになる。このような状態でアクセスヘッド13が書
き込みコマンドを実行したとすると、既に存在している
データキャリア28に対してメモリーのデータの書き換
えを行うと同時に、後から入ってきた別のデータキャリ
ア28aに対しても、同じようにメモリーのデータの書
き換えを行なってしまう。即ち、後から入ってきたデー
タキャリア28aのメモリーには、既に存在していたデ
ータキャリア28のデータが書き込まれることになる。
例えば前述の運用例では、場合によっては、未使用の回
数券の残りの使用回数がゼロになってしまったり、フリ
ーパス券の使用期限データに回数券の残りの使用回数デ
ータが書き込まれてしまい無意味なデータとなって、見
かけ上データが破壊されてしまったりといった、不具合
が発生してしまう。 【0012】本発明の目的は、以上のような問題点を解
決し、データキャリアの内部メモリーのデータを不用意
に書き換えてしまうことのない信頼性の高いデータキャ
リアの通信制御方法を提供するものである。 【0013】 【課題を解決するための手段】この目的は、本発明によ
れば次のような構成とすることにより達成される。すな
わち、非接触によりアンテナからの電力供給を受けなが
らデータ通信を行ない、内部メモリーへのデータの書き
込みおよび読み出しを行なう手段と、個々の識別用ID
コードを含むATRデータが記憶されている前記内部メ
モリーと、前記アンテナから供給されている電力の受信
開始を検出することにより、前記内部メモリーの前記A
TRデータを返信するATR手段とを有するデータキャ
リア、そのデータキャリアとの通信を司るアンテナ、お
よびデータ送受信回路を備えるとともに、前記データキ
ャリアのATR手段により返信されるATRデータの受
信開始を検出するATR受信開始検出手段、前記受信し
たATRデータを記憶保持するATRデータ記憶手段、
前記データキャリアからの前記ATRデータを前記AT
Rデータ記憶手段記憶保持した後で、且つ前記データキ
ャリアに対してコマンドを送信する前に、新たにATR
データの受信を行なった時は、前記ATRデータ記憶手
段に既に記憶保持してある現在通信中のデータキャリア
のATRデータと、前記新たに受信したATRデータと
を、少なくともIDコードについて比較を行ない、両者
が一致しているか否かを検出するATRデータ比較手
段、該ATRデータ比較手段における、比較結果が不一
致であれば、他のデータキャリアがアンテナとの通信可
能領域内に入ってきたものと判断し、以降のデータキャ
リアへのデータ書き込み動作を停止する通信制御手段か
らなるアクセスヘッドとで構成され、前記通信可能領域
内にある複数枚のデータキャリアに対する同一データの
書き込みを防止して、他のデータキャリアの内部メモリ
ーのデータを書き換えてしまうことのないようにしてい
る。 【0014】 【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は、本発明を表す機能ブロック線図である。
データキャリア28およびホスト5は、従来例で説明し
たものと同一である。またアクセスヘッド13の中で、
データキャリア28との基本的な通信動作を司る機能部
分、即ちホスト5とのやり取りを司る対ホストインター
フェース部6、ホスト5からの指示内容に基づきデータ
キャリア28への各種コマンドの選択、およびこのコマ
ンドの送受信手順を制御する通信制御部7、指定された
コマンド内容により送信データを含めて一連のコマンド
ブロックを送信するコマンド送信バッファ8、各コマン
ドに対応したデータキャリアからの応答データブロック
を受信する応答受信バッファ9、送信データ内容に基づ
きキャリア信号の変調を行なう変調部11、受信信号を
復調する復調部12、データキャリア28への電源供給
および動作クロック用キャリア信号を生成するクロック
発生部10、変調部11からの送信信号およびキャリア
信号を送信するとともに、応答信号を受信するアンテナ
コイルL1の各部もまた、従来例で説明したものと同一
である。 【0015】さて、アクセスヘッド13は、本発明を実
現するための機能としてATR一致検出部1が付加され
ている。このATR一致検出部1は、通信制御部7から
のATR検出状態信号S2に基づいて復調部12のデー
タキャリア28からの応答受信信号を監視し、ATRデ
ータの受信の開始を検出するとともに、前記ATR検出
状態信号S2の状態により、ATR記憶信号S3あるい
はATR比較信号S8のいずれかを出力するATR受信
開始検出部4と、前記ATR記憶信号S3を受け、応答
受信バッファ9に一時的に蓄えられたATRデータを記
憶保持するATRデータ記憶部3、前記ATR比較信号
S8を受け、前記ATRデータ記憶部3の内容と、現在
応答受信バッファ9に一時的に蓄えられている新たに受
信したATRデータの内容とを比較し、両者が一致して
いるか否かを検出して不一致であればATRデータ不一
致信号S7を通信制御部7に出力するATRデータ比較
部2とから構成されており、データキャリア28の近接
にともない返信されるATRデータの記憶、そのデータ
キャリア28との通信中に他のデータキャリアが入って
くることにより新たに返信されるATRデータの検出お
よび既に記憶してある最初のATRデータとの比較を行
なう。 【0016】次に、本実施例の動作を説明する。まず、
データキャリア28は、まだアクセスヘッド13との通
信可能範囲には無いものとする。この状態で、アクセス
ヘッド13の通信制御部7は、ATR検出状態信号S2
を初期状態として出力しており、前記ATR受信検出部
4に対して、データキャリア28の近接にともない返信
されるATRデータの受信開始を監視しており、同AT
Rデータ受信検出後にはATR記憶信号S3を出力する
よう指示する。ここで、データキャリア28がアクセス
ヘッド13との通信可能領域内に入り、ATRデータが
返信されたとすると、アクセスヘッド13ではアンテナ
コイルL1を通して復調部12で復調される。前記AT
R受信開始検出部4では、この復調された信号の変化を
受信開始検出信号S1として検出し、ATRデータ記憶
信号S3を出力する。ATRデータ記憶部3では、この
ATRデータ記憶信号S3を受け、受信データが応答受
信バッファ9に蓄積完了後、その内容を転送データS4
として内部に記憶保持する。前記復調部12で復調後、
応答受信バッファ9に一時的に蓄えられたATRデータ
は、従来例で説明した通り通信制御部7、対ホストイン
ターフェース6を介してホスト5に送られる。ここで、
前記通信制御部7は、前記ATR状態検出信号S2を初
期状態からコマンド通信状態に換え、前記ATR受信検
出部4に対して、データキャリア28とのコマンド通信
途中での新たなATRデータの受信開始監視、および同
ATRデータ受信検出後にはATR比較信号S8を出力
するよう指示する。 【0017】以降の動作は、従来例で述べたように、受
信したATRデータの内容に応じた処理内容がホスト5
から指示され、対ホストインターフェース部6での個々
のコマンドレベルに分割、実行される。通信制御部7で
は、各コマンド実行の指示を受けると、次段のコマンド
送信バッファ8で形成されたコマンドブロックを送信す
ることになるのだが、その前に、ATRデータ比較部2
から出力されるATRデータ不一致信号S7を確認す
る。このATRデータ不一致信号S7が出力されていな
い場合には、そのまま前記コマンドブロックが送信さ
れ、従来例で述べた通り、データキャリア28からの応
答受信後ホスト5に知らされる。しかしながら、後で述
べるように、前記ATRデータ不一致信号S7が出力さ
れている場合には、その後のコマンドブロックの送信は
中止され、その旨ホスト5に知らされることになる。 【0018】さて、受信したATRデータが前記ホスト
5に送られてから、前記対ホストインターフェース部6
よりコマンド実行の指示が出され、通信制御部7による
コマンドブロック送信が開始されるまでの間に、他のデ
ータキャリア28aが通信可能範囲内に入り、新たにA
TRの返信が行われた場合を説明する。前記他のデータ
キャリア28aからのATRデータ送信は任意に行なわ
れるため、コマンド実行時に期待されるタイミング以外
で、応答の検出、すなわち復調部12での復調信号の変
化がおこるため、前記ATR状態検出信号S2をコマン
ド通信状態として入力しているATR受信開始検出部4
は、この変化を捕らえ、ATR比較信号S8を出力す
る。ATRデータ比較部2では、このATR比較信号S
8を受けることにより、受信データが応答受信バッファ
9に蓄積完了後、その内容、即ち途中から入ってきた他
のデータキャリアより新たに受信したATRデータの内
容と、前記ATRデータ記憶部3に記憶保持されている
既存のデータキャリアのATRデータの内容を比較し、
不一致である場合には、前記通信制御部7に対してAT
Rデータ不一致信号S7を出力する。すると、前記通信
制御部7は、前述の通り、コマンドブロックの送信を行
わず、ホスト5に対してその旨知らせてエラー表示等が
行われ、データキャリア28に対する処理が中断される
ことになる。 【0019】ここで、新たに受信したATRデータの内
容が、記憶保持されている既存のATRデータの内容と
同一であった場合、前記ATRデータ比較部2からのA
TRデータ不一致信号S7は出力されず、コマンドブロ
ックの送信、および以降のコマンド実行動作は通常通り
行われることになる。これは、新たに受信したATRデ
ータが、他のデータキャリアの近接によるものではな
く、今あるデータキャリア28そのものが、アクセスヘ
ッド13との通信可能領域を外れ、再度同領域内に入っ
てきたことにより再返信されたATRデータであったと
見なすことが出来るためである。 【0020】なお、今までの説明から容易に分かるよう
に、ATRデータは個々のデータキャリア毎に全て異な
る内容でなければならない。このため、データキャリア
28のメモリー22のATRデータ領域21の少なくと
も一部、ないしは全部に識別用IDコードが書き込まれ
ている必要がある。前記アクセスヘッド13のATRデ
ータ比較部2では、ATRデータ内容全てを比較対象と
しても良いし、識別用IDコードのみでも良い。 【0021】以上説明した、コマンド実行途中での新た
なATR受信検出動作、および検出した場合のATRデ
ータ比較動作は、データキャリア28への各コマンドブ
ロック送信開始前に行い、他のデータキャリアに対して
コマンドを実行してしまわないようにしている。特に、
データキャリア28のメモリー22の内容を書き換える
ようなコマンド、例えば書き込みコマンドを実行する時
には、誤って他のデータキャリアのメモリー内容を書き
換えてしまわないために必要となる。 【0022】今まで述べてきたアクセスヘッド13、デ
ータキャリア28およびホスト5からなるシステムの動
作を、従来例で用いた具体的な運用例を基に、図2のフ
ローチャートを参照しながらわかりやすく説明する。ま
ず、システム構成を再度確認するが、このシステムは、
特定敷地内へのゲート入退場管理で使用され、図1のア
クセスヘッド13およびホスト5はゲート側に設置、デ
ータキャリア28は入退場者が携行しているものとす
る。データキャリア28の種類として、特定期間のフリ
ーパス券、所定の回数まで入場可能な回数券の2種類と
し、両券種の識別コードが前記データキャリア28のメ
モリー22の中のATRデータ領域21に書き込まれて
いるものとする。さらに、フリーパス券は有効期限を表
すデータが前記ATRデータ領域21以外のメモリー2
2の他の領域に書き込まれているものとし、回数券は残
りの使用回数データが同領域に書き込まれるものとす
る。また、前記ATRデータ領域21には個々のデータ
キャリア毎に全て異なる使用者識別用IDコードも、あ
らかじめ書き込まれているものとする。ホスト5の仕様
としては入場可否およびゲート通行券種のアナウンス、
ゲート扉の開閉動作を行なうものとする。 【0023】図2において、工程100〜105は主に
データキャリアの入場検出およびATRデータの記憶、
ホストへの送信を行なっており、工程106で券種に応
じて分岐、券種毎に115〜116あるいは107〜1
14の各処理工程を進んだのち、工程117〜118の
ホストでの処理が行なわれ、工程101からの次のデー
タキャリアの入場検出から繰り返される。 【0024】判断工程101では、データキャリア28
の近接にともない返信されるATRデータの受信が開始
されたか否かを監視しており、人がおらず、データキャ
リア28が無い場合には、この判断工程101が繰り返
されている。今、ある人が入場しようとゲートに近づい
てきたとする。データキャリア28がアクセスヘッド1
3との通信可能領域内に入り、ATRデータの返信が開
始され、これを検出することで次の工程へと進む。工程
102では一連のATRデータの受信が行なわれるとと
もに、これを一時的に蓄え、工程103で記憶保持され
る。工程104では、前記一時的に蓄えたATRデータ
をホスト5へ送り、工程105でホスト5からの指示を
受け、その指示内容に応じて判断工程106で処理方法
が選択され分岐する。今、信号を受けたデータキャリア
28がフリーパス券であったとすると、工程115以降
が実行される。 【0025】工程115では、データキャリア28に対
して読み出しのコマンドブロックが送信され、工程11
6でデータキャリア28からの応答を受信することで、
メモリー22の有効期限を表すデータが書き込まれてい
る領域のデータの読み出しを行なう。ここで、前記工程
115が実行される前に、他のデータキャリアがアクセ
スヘッドとの通信可能領域に入ってきた場合、同領域内
に2つのデータキャリアが存在することになるが、デー
タキャリアに対して実行されるコマンドは読み出しであ
り、メモリーのデータ内容の書き換えは行なわれないた
め、後から入ってきたデータキャリアのメモリーのデー
タを破壊することはない。そのため、読み出しコマンド
を実行する際には、新たなATRデータの受信開始検出
および記憶保持されているATRデータとの比較といっ
たATR一致検出動作は、あえて行なう必要はない。こ
の場合、読み出しコマンドによる応答は、両データキャ
リアから同時に返信が行なわれ、変調信号が混在するた
め、アクセスヘッドで正常に復調することができず、見
かけ上、通信異常となってエラー処理されることになる
が、このエラー処理方法については、本願を説明するう
えで特に必要としないので内容は省略する。 【0026】回数券の場合には、前記判断工程106に
よる処理方法の選択の結果、工程107以降が実行され
る。工程107、108では、前記工程115および1
16と同様に、読み出しのコマンドブロックの送信、応
答の受信が行なわれる。ただし回数券のため、読み出し
データは残りの使用回数である。判断工程109では、
新たなATRデータの受信開始検出を行ない、検出され
なければ工程113、114の、データキャリアに対す
る書き込みコマンドの実行へと進む。工程113では、
書き込みのコマンドが、書き込むべきデータとともにコ
マンドブロックとして送信され、データキャリア28の
メモリー22内容を書き換えたのち、そのデータキャリ
ア28からの応答を、工程114において受信する。 【0027】さて、ここで他のデータキャリアを持った
人が近づき、前の人がまだいるにもかかわらず、同じ場
所に立ったとする。前の人のデータキャリアは、アクセ
スヘッドとの通信可能領域内にあり、他のデータキャリ
アが同領域内に入ってくるため新たなATRデータの返
信が開始される。判断工程109では、この新たなAT
Rデータの受信が開始されたことを検出し、工程110
で一連のATRデータの受信を行なうとともに、これを
一時的に蓄え、工程111で前記工程103で記憶保持
されたATRデータの内容との比較を行なう。両ATR
データの比較動作は、一連のATRデータの中の使用者
識別用IDコード内容について行なわれ、新たに受信し
たATRデータが、他のデータキャリアから返信された
ものであることから、判断工程112では不一致とみな
されて、工程113、114によるデータキャリアに対
する書き込みコマンドは実行されずに、工程117へと
進みホストにその旨知らされる。 【0028】上述では、新たに返信されるATRデータ
は、他のデータキャリアからのものだとして説明した
が、今ゲートの前にいる人が前後に動くなどして、デー
タキャリアがアクセスヘッドとの通信可能領域から一時
的に外れ、再び同領域内に戻るような動きをした場合に
は、データキャリアではキャリア信号の受信途絶・再受
信開始にともなう、電源断・再供給により、リセット
後、再度ATRデータの返信を行なうため、同一のデー
タキャリアのATRの受信開始が検出されることにな
る。 【0029】この場合には、前記判断工程109で、こ
の新たなATRデータの受信開始を検出し、工程110
で一連のATRデータの受信を行って一時的に蓄えたあ
と、工程111で前記工程103で記憶保持されたAT
Rデータの内容との比較を行なうが、両ATRデータの
比較対象となる使用者識別用IDコード内容は、当然の
ことながら全く同じであるため、前記判断工程112で
は一致とみなされて、以降、通常通り工程113、11
4によるデータキャリアに対する書き込みコマンドが実
行されることになる。 【0030】データキャリアに対するコマンドの実行が
全て完了すると通常は、工程117でホストにその結果
が知らされ、工程118においてゲート通行券種および
入場可能である旨アナウンスを行ない、ゲート扉を開く
ことになる。しかしながら、コマンド実行途中で他のデ
ータキャリアが入ってきたことを検出し、ATRデータ
の比較結果が不一致であった場合には、上述の如く工程
113、114によるデータキャリアに対する書き込み
コマンドは実行されずに、工程117へと進みホストに
その旨知らされたのち、工程118において、他のデー
タキャリアが入ってきたため処理ができなくなったこ
と、および再度入場しなおしてもらうようアナウンスし
て、注意を呼びかける。もちろん、データキャリア28
に対するコマンドの実行が正しく完了するまでゲート扉
は開かない。 【0031】 【発明の効果】以上の説明で明らかなように、本発明に
よれば、データキャリアが通信可能領域に入ることで自
動的に返信されるATRデータを用い、あるデータキャ
リアに対するコマンド実行途中で、新たにATRデータ
の受信を検出した時には、このATRデータの受信を行
なうとともに、既に記憶保持されているATRデータと
の比較を行ない、両ATRデータの内容が一致していな
ければ、他のデータキャリアが通信可能領域内に入って
きたことを迅速に検出して、以降のデータキャリアに対
する書き込みコマンドの実行は停止されるため、前のデ
ータキャリアへの書き込むべきデータを、後から入って
きた他のデータキャリアに書き込んでしまい、データを
書き換えて破壊してしまうことがなくなることから、非
接触で通信を行なうが故のウィークポイントを解消し、
またデータキャリア側にID照合機能や同照合結果に応
じたメモリへの書き込み制限を行なう機能等を持ってい
ない安価なシステムであっても、信頼性の高いデータキ
ャリアの通信制御方法を提供するのに大きな効果があ
る。
DETAILED DESCRIPTION OF THE INVENTION [0001] The present invention relates to a specific area of an internal memory.
Identification data is written in advance in the
Returns the data of this specific area at the start of force reception
Data writing and reading are possible
Of non-contact data carrier communication control method
It is. [0002] 2. Description of the Related Art General data carriers and access heads
The operation of communication with the host will be described with reference to FIG. First, the internal structure
However, the access head 13 is connected to the host computer.
(Hereinafter simply abbreviated as host) 5
From host interface unit 6 and host 5
Various operations to be performed on the data carrier 28 based on the content
Controls command selection and transmission / reception procedures for this command.
The communication control unit 7 that controls
Send a series of command blocks including send data
Command transmission buffer 8 and data corresponding to each command.
Receiving the response data block from the carrier 28
Response buffer 9, based on the contents of transmission data,
Modulator 11 for modulating a signal, demodulation for demodulating a received signal
Section 12, power supply to data carrier 28 and operation
A clock generator 10 for generating a lock carrier signal;
Transmits the transmission signal and carrier signal from modulation section 11
And the antenna coil L1 that receives the response signal
It is composed of The data carrier 28 is provided with the access
The contactless communication with the antenna coil L1 of the head 13 is controlled.
Antenna coil L2, and this antenna coil L2
Whether the received carrier signal is a capacitor and a diode
Rectified by a rectifier circuit consisting of
Rectifier / constant voltage unit 25 that monitors its power supply voltage and
If the voltage is lower than the voltage level, the reset signal S21 is output.
The power supply voltage detection unit 23 detects a change from the antenna coil L2.
The demodulation signal is demodulated, and the code transmitted from the access head 13 is demodulated.
Demodulation that converts a command block into a series of digital data
Unit 27 modulates response data to access head 13
Modulating section 26, as a specific area including the ID code for identification, A
TR (Answer-to-reset) data area 2
Memory 22 as a data storage unit containing 1
To the memory 22 based on a command from the head 13
Write or read data and access
And a control unit 24 for responding to the
You. Now, as an initial state, the access head 1
3 continuously outputs a carrier signal from the antenna coil L1.
Data carrier 28 is still in range
There is no such thing. In this state, the data carrier 28
Enters the communication possible area with the access head 12 and
As the antenna coils L1 and L2 of the user approach each other,
And the data carrier 28 is
Rectifier / constant voltage
The output of the DC voltage from the unit 25 is started. However,
Immediately after the start of reception of the rear signal, the antenna coil L2
Is the distance between the access head 13 and the antenna coil L1.
However, since it is still far away,
The voltage level of the body is low, and the
This capacitor is not fully charged.
Is output from the data carrier 28.
Is not at an operable level and the power supply voltage detection unit 23
Remain the reset signal S21 output. this
At this time, the control unit 24 is in a hardware reset state.
Does not work. Data carrier 28 has access
As it approaches the network 13, the signal of the received carrier signal is
Signal level increases, and the rectification and constant voltage section
25 capacitors are fully charged, and data carrier 2
8 reaches an operable voltage level, the power supply voltage detection
The output of the reset signal S21 from the output unit 23 stops, and
The hardware reset of the control unit 24 is released. [0005] The control unit 24 performs a hardware reset.
Is released, the ATR in the memory 22 is first
The data in the data area 21 is read out and modulated by the modulation unit 26
After that, with ATR data via antenna coil L2
To the access head 13. Then the control
The unit 24 receives a command block transmitted from the access head 12.
Waits for lock reception, and thereafter, based on each command
To read data from the memory 22 or
Write and respond to the access head 13.
No, repeat this. The access head 13 has an antenna core.
ATR from the data carrier 28 through IL L1
Receives the data and demodulates it in the demodulation unit 12 to receive a response buffer.
After being temporarily stored in the host 9, the communication control unit 7
Sent to the host 5 via the interface unit 6.
The host 5 receives the ATR data,
To know that the data carrier 28 has arrived
The processing contents corresponding to the contents of the ATR data are
To the interface unit 6. This host-in
The interface unit 6 is controlled by an instruction from the host 5.
The other area of the memory 22 of the data carrier 28
Read data or write data
The command is divided into individual command execution levels and
Execute each command according to the specified processing procedure.
Command. In the communication control unit 7, the host interface
ー According to the command contents instructed from the face unit 6,
Sends a command block containing data etc. to the next stage command
The antenna coil is formed in the buffer 8 through the modulation unit 11.
From L1. In the data carrier 28, the antenna
This command block is received by the Nakoi L2, and
After demodulation by the control unit 27, the control unit 24 responds to the command contents.
Write or read data to / from the memory 22
And the execution result as a response data block.
And reply. In the access head 13, this data
The response block from the carrier 28 is stored in the ATR data
After the same operation as when receiving data, the host interface
To the base unit 6. This operation from the host 5
All commands executed according to the specified processing contents are executed.
Until the application is completed, the same procedure is performed, and then the host
The result is notified from the interface unit 6 to the host 5.
You. Based on the result, the host 5 displays a predetermined message,
The operation will be performed. [0007] The access head 13 and the data
Of the system consisting of the data carrier 28 and the host 5
The work will be explained in an easy-to-understand manner using specific operation examples.
First, this system can be used, for example, to enter a gate on a specific site.
It shall be used for exit management. Access head 13
And host 5 are installed on the gate side,
The carrier 28 is assumed to be carried by the visitors. Day
Freepass for a specific period
Tickets and coupons that can be entered up to the specified number of times.
The identification code of the bill type is stored in the memory of the data carrier 28.
22 is written in the ATR data area 21.
And In addition, the free pass ticket is a date indicating the expiration date.
Data other than the memory 22 other than the ATR data area 21
The coupon is written on the remaining area.
It is assumed that the usage count data is written in the same area. Ma
In addition, the ATR data area 21 manages and collects admission personnel.
Totals for each data carrier.
ID code for user identification which is different
Shall be rare. Admission is possible as the specification of Host 5
Announcement of no and gate ticket type, opening and closing of gate door
Operation shall be performed. For reference, the above operation
FIG. 3 illustrates an actual use state based on an example.
did. In FIG. 3A, the user carries the data carrier 28
A person is within the communication area with the antenna coil L1.
Followed by a person with another data carrier 28a
It shows the appearance of trying to enter. FIG.
3 (a), communicable area of antenna coil L1
And the positional relationship between the data carriers 28 and 28a
I have. Now, a person approaches the gate to enter
Say The access head installed on the gate side
Of the data carrier 28 to the antenna coil L1 of the
When the antenna coil L2 approaches and reaches the communicable area,
The power supply voltage detector 23 of the data carrier 28 is reset
The output of the signal S21 stops, and the hardware
Reset is released. Then, the ATR data area 21
Is read out, and the modulating unit 26 and the antenna coil L2 are read out.
To the access head 13 as ATR data
Reply. In the access head 13, the antenna coil L
1 to receive the ATR data,
Receive buffer 9, communication control unit 7, and host interface
The data is sent to the host 5 via the face unit 6. Host 5
By receiving the ATR data, the data
A When you know that 28 has entered,
Data contents, i.e., user identification ID code and ticket type
Check the code. Here, the data carrier 28 that has just entered
If the was a free pass ticket for a specific period, the host
5 judges it from the ticket type code,
To inform the expiration date of the data carrier 28
Instruct The host head of the access head 13
The interface unit 6 receives the instruction and receives the instruction via the communication control unit 7.
To execute the read command, and the data carrier 2
8 is written with data indicating the expiration date of the memory 22.
The reading of the data of the area is performed. Command transmission
The antenna coil L1 via the buffer 8 and the modulation unit 11
This command block sent from the
At the rear 28, the antenna coil L2 and the demodulation unit 27
The data is decoded by the control unit 24 through the
Reads data of area and responds to access head 13
I do. In the access head 13, the response data block
Receive the host and host interface
Extract only necessary data from response data in step 6
And sent to the host 5. In this way,
The host 5 knows the expiration date of the data carrier 28,
If it is determined that it is possible to pass,
Announce that it is possible and open the gate door.
And Next, the incoming data carrier 28 is located.
Assume that the ticket is a coupon that can be entered up to a certain number of times. ATR de
After receiving the data, the host 5
3 for the remaining number of uses of the data carrier 28
Instruct them to inform. Same as above for free pass ticket
And the host interface of the access head 13
The communication unit 6 receives the instruction and reads it out via the communication control unit 7.
Executing a command, the memory of the data carrier 28
Data indicating the number of remaining uses of
The data of the area to be read is read. Where the free path
The difference from the coupon is that the remaining number of uses of the coupon is one point.
That is, it must be reduced. That is,
The host interface unit 6 sends a read command
After execution, execute the write command
Remaining usage count data in the memory 22 of the data carrier
Data to one point less data
U. Remaining usage count read by read command
Using the data as the previous value, subtract 1 point from this previous value
Write the new value as new remaining usage count data.
A command block is formed and sent to the data carrier 28.
I believe. In the data carrier 28,
Sent to a certain area as a command block,
Write the new remaining usage count data and
Is returned to the access head 13. Said e
The read / write operation is performed by the
When both commands have been executed, the read command
From the response data block by the command
The numerical data is extracted and sent to the host 5. The host
5 indicates that the remaining number of uses of the data carrier 28 is zero.
If you decide that you can pass,
Announcing that it is possible to enter and the gate door
Will open. [0011] SUMMARY OF THE INVENTION Conventional data carriers
In the communication operation between the access head 13 and the
Seth head 13 communicates with a data carrier 28,
In other words, while executing the command, other data
If the carrier 28a enters the communicable area,
There are a plurality of data carriers 28, 28a in the area
Will be. In such a state, the access head 13
If you execute the write command, it already exists
Rewrite data in memory to data carrier 28
At the same time as another data carry-in
In the same way, writing data in memory
You will replace it. That is, the data that comes in later
Data already existing in the memory of the carrier 28a.
The data of the data carrier 28 is written.
For example, in the above operation example, in some cases,
The remaining number of uses of a few tickets may become zero,
-The remaining number of times the coupon is used
Data is written and becomes meaningless data.
Problems such as data being destroyed over time
Will occur. An object of the present invention is to solve the above problems.
The data in the internal memory of the data carrier is not prepared
A reliable data cache that will not be overwritten
It is intended to provide a rear communication control method. [0013] This object is achieved according to the present invention.
This can be achieved by the following configuration. sand
That is, while receiving power from the antenna due to non-contact
Data communication and write data to internal memory
And reading means, and individual identification IDs
The internal memory where ATR data including a code is stored.
Molly and reception of power supplied from the antenna
By detecting the start, the A of the internal memory
A data carrier having ATR means for returning TR data.
Rear, the antenna responsible for communication with the data carrier,
And a data transmission / reception circuit.
Of ATR data returned by the carrier ATR means
ATR reception start detecting means for detecting the start of communication,
ATR data storage means for storing and holding the ATR data,
The ATR data from the data carrier to the AT
After storing and holding the R data storage means,
Before sending a command to the carrier,New ATR
Received dataTimeThe ATR data storage operator
The currently communicating data carrier already stored in the stage
ATR data and the newly received ATR data
Are compared for at least the ID code.
ATR data comparator that detects whether or not
Stage, the comparison result in the ATR data comparing means is not
If it is, another data carrier can communicate with the antenna.
Is determined to have entered the active area, and the subsequent data
Communication control means to stop data write operation to rear
Communicable area
Of the same data for multiple data carriers
Prevents writing and internal memory of other data carriers
Not to overwrite the data of
You. [0014] Embodiments of the present invention will be described below with reference to the drawings.
I do. FIG. 1 is a functional block diagram illustrating the present invention.
The data carrier 28 and the host 5 are described in the conventional example.
Is the same as In the access head 13,
Functional unit that controls the basic communication operation with data carrier 28
Minute, that is, the host interface that controls communication with the host 5.
Data based on instructions from the face unit 6 and the host 5
Selection of various commands to the carrier 28 and this command
Communication control unit 7 for controlling a command transmission / reception procedure,
A series of commands including transmission data depending on the command contents
Command transmission buffer 8 for transmitting blocks, each command
Response data block from data carrier corresponding to
Response buffer 9 for receiving the
Modulating section 11 that modulates a received carrier signal
Power supply to demodulation unit 12 and data carrier 28 for demodulation
And clock for generating carrier signal for operation clock
Transmission signal and carrier from generation section 10 and modulation section 11
An antenna that transmits a signal and receives a response signal
Each part of the coil L1 is also the same as that described in the conventional example.
It is. The access head 13 implements the present invention.
ATR match detector 1 is added as a function to
ing. The ATR match detection unit 1
Of the demodulation unit 12 based on the ATR detection state signal S2 of FIG.
Monitor the response received signal from the
Data reception start and the ATR detection
Depending on the state of the state signal S2, the ATR storage signal S3 or
Is an ATR reception that outputs one of the ATR comparison signals S8
Upon receiving the start detection unit 4 and the ATR storage signal S3,
The ATR data temporarily stored in the reception buffer 9 is recorded.
ATR data storage unit 3 for storing the ATR comparison signal
In response to S8, the contents of the ATR data storage unit 3 and the current
The new reception temporarily stored in the response reception buffer 9
Compare the contents of the received ATR data,
ATR data inconsistency is detected if they do not match.
ATR data comparison that outputs matching signal S7 to communication control unit 7
2 and the proximity of the data carrier 28
Of ATR data returned in response to
If another data carrier enters while communicating with carrier 28
Detection of newly returned ATR data
Comparison with the first ATR data already stored
Now. Next, the operation of this embodiment will be described. First,
The data carrier 28 still communicates with the access head 13.
It is assumed that it is not within the receivable range. In this state, access
The communication control unit 7 of the head 13 outputs the ATR detection state signal S2
Is output as an initial state.
Reply to 4 due to proximity of data carrier 28
Monitoring the start of ATR data reception
Outputs ATR storage signal S3 after detection of R data reception
Instruct Here, the data carrier 28 accesses
The ATR data enters the area where communication with the head 13 is possible,
If it is returned, the access head 13
The signal is demodulated by the demodulation unit 12 through the coil L1. The AT
The R reception start detection unit 4 detects the change in the demodulated signal.
Detects as reception start detection signal S1 and stores ATR data
The signal S3 is output. In the ATR data storage unit 3,
Receiving ATR data storage signal S3 and receiving
After the completion of accumulation in the communication buffer 9, the contents are transferred to the transfer data S4.
And stored internally. After demodulation by the demodulation unit 12,
ATR data temporarily stored in the response receiving buffer 9
Indicates that the communication control unit 7 and the host-in
It is sent to the host 5 via the interface 6. here,
The communication control unit 7 outputs the ATR state detection signal S2 initially.
From the initial state to the command communication state, and
Command communication with the data carrier 28 to the output unit 4
Monitoring the start of reception of new ATR data on the way, and
Outputs ATR comparison signal S8 after detecting ATR data reception
To do so. The subsequent operations are performed as described in the conventional example.
The processing content corresponding to the content of the received ATR data is
From the host interface unit 6
Is divided and executed. In the communication control unit 7
Receives the instruction to execute each command, the next command
The command block formed in the transmission buffer 8 is transmitted.
Before that, the ATR data comparison unit 2
ATR data mismatch signal S7 output from
You. The ATR data mismatch signal S7 has not been output.
The command block is sent as is.
As described in the conventional example, the response from the data carrier 28 is performed.
After receiving the response, the host 5 is notified. However, later
As described above, the ATR data mismatch signal S7 is output.
If so, subsequent transmissions of the command block
The host 5 is stopped and notified to that effect. The received ATR data is stored in the host.
5 to the host interface unit 6
A command execution instruction is issued by the communication control unit 7.
Until the command block transmission starts, other data
Data carrier 28a enters the communicable range, and A
The case where the reply of TR is performed will be described. The other data
ATR data transmission from carrier 28a is optional
Other than the timing expected when executing the command
Then, the response is detected, that is, the demodulation signal is changed by the demodulation unit 12.
The ATR state detection signal S2 is
ATR reception start detection unit 4 that is input as the communication state
Captures this change and outputs an ATR comparison signal S8.
You. In the ATR data comparison unit 2, the ATR comparison signal S
8, the received data is sent to the response reception buffer.
9 After the storage is completed, its contents, that is,
ATR data newly received from the data carrier
And stored in the ATR data storage unit 3.
Compare the contents of ATR data of existing data carriers,
If they do not match, the communication control unit 7
An R data mismatch signal S7 is output. Then, the communication
The control unit 7 transmits the command block as described above.
Notifying the host 5 to that effect and displaying an error
Is performed, and the processing for the data carrier 28 is interrupted.
Will be. Here, of the newly received ATR data,
The contents are the contents of the existing ATR data
If they are the same, A
TR data mismatch signal S7 is not output and command block
Transmission of commands and subsequent command execution operations are as usual.
Will be done. This is the newly received ATR data.
Data is not due to the proximity of other data carriers.
And the existing data carrier 28 itself
Out of the communicable area with the head 13 and reenter the same area
That the ATR data was re-replyed
Because it can be considered. Incidentally, as can be easily understood from the above description.
In addition, ATR data is different for each data carrier.
Content. Because of this, data carriers
At least 28 ATR data areas 21 in the memory 22
ID code for identification is written in part or all
Need to be. ATR data of the access head 13
In the data comparison unit 2, all ATR data contents are
Alternatively, only the identification ID code may be used. As described above, when a new command is
ATR reception detection operation and ATR data
The data comparison operation is performed by each command block to the data carrier 28.
Performed before starting lock transmission and for other data carriers
The command is not executed. In particular,
Rewrite the contents of the memory 22 of the data carrier 28
Command, such as when executing a write command
Mistakenly writes the memory contents of another data carrier.
It is necessary so that it is not replaced. The access head 13 and the data
Of the system consisting of the data carrier 28 and the host 5
Based on the specific operation example used in the conventional example,
This is explained clearly with reference to a flowchart. Ma
And check the system configuration again.
It is used for gate entry / exit management to a specific site, and
Access head 13 and host 5 are installed on the gate side,
The data carrier 28 is assumed to be carried by the visitors.
You. As the type of the data carrier 28, the
-Two types of pass tickets and coupons that can be entered up to the specified number of times
The identification codes of both ticket types are stored in the data carrier 28
Written to the ATR data area 21 in the memory 22
It is assumed that In addition, free pass tickets have an expiration date
Data in the memory 2 other than the ATR data area 21
2 is written in the other area, and the coupon
Used number of times data is written to the same area.
You. The ATR data area 21 contains individual data.
There are also user identification ID codes that are different for each carrier.
It is assumed that it has been written in advance. Host 5 specifications
Announcement of admission and gate pass ticket type,
It is assumed that the gate door is opened and closed. In FIG. 2, steps 100 to 105 mainly include
Detection of data carrier entry and storage of ATR data,
The transmission to the host is performed.
Divergence, 115-116 or 107-1 for each ticket type
After proceeding with each of the fourteen processing steps, steps 117-118
The processing at the host is performed and the next data from step 101 is processed.
This is repeated from the detection of the entrance of the carrier. In the decision step 101, the data carrier 28
Of ATR data returned due to proximity
Is monitored to see if any
If there is no rear 28, this determination step 101 is repeated.
Have been. Now, a person approaches the gate to enter
Say Data carrier 28 is access head 1
3 is within the communicable area and ATR data reply is opened.
The process is started, and the detection proceeds to the next step. Process
At 102, when a series of ATR data is received,
In the meantime, this is temporarily stored and stored and held in step 103.
You. In step 104, the temporarily stored ATR data
Is sent to the host 5, and in step 105, an instruction from the host 5 is sent.
And a processing method in a judging step 106 according to the contents of the instruction.
Is selected and branched. The data carrier that received the signal now
Assuming that 28 is a free pass ticket, step 115 and subsequent steps
Is executed. In step 115, the data carrier 28 is
And the read command block is transmitted, and
By receiving the response from the data carrier 28 at 6,
Data indicating the expiration date of the memory 22 is written.
The data of the area to be read is read. Here, the process
Before the execution of 115, another data carrier
If you enter the area where communication with the
There will be two data carriers in
The command executed for the carrier is readout.
The data content of the memory is not rewritten.
The data in the memory of the data carrier
It does not destroy the data. Therefore, the read command
Is executed, a new ATR data reception start detection
And comparison with stored ATR data.
The ATR match detection operation need not be performed. This
In the case of, the response by the read command
Responses are sent from the rear at the same time,
Cannot be demodulated normally by the access head.
Eventually, communication error will occur and error processing will be performed
However, this error processing method will be described in the present application.
The content is omitted because it is not particularly required. In the case of a coupon,
As a result of the selection of the processing method, steps 107 and subsequent steps are executed.
You. Steps 107 and 108 include steps 115 and 1 described above.
As in step 16, transmission of the read command block and response
An answer is received. However, it is read because it is a coupon
The data is the remaining number of uses. In decision step 109,
Detects the start of reception of new ATR data and detects
If not, steps 113 and 114 are performed for the data carrier.
To write command execution. In step 113,
A write command is issued along with the data to be written.
Transmitted as a command block, and
After rewriting the contents of the memory 22, the data carry
The response from a is received at step 114. Now, we have another data carrier
The same place, despite people approaching and there are still previous ones
Suppose you stood in a place. The data carrier of the previous person
Is within the communication area with the
A new ATR data is returned because
Communication begins. In decision step 109, this new AT
Detecting that the reception of the R data has begun;
Receives a series of ATR data at
Temporarily store and store in step 103 in step 111
ATR data is compared with the contents of the ATR data. Both ATR
The data comparison operation is performed by the user in a series of ATR data.
This is performed on the contents of the ID code for identification.
ATR data returned from another data carrier
Therefore, in the determination step 112,
And the data carrier in steps 113 and 114
Write command is not executed, and
The host informs the host. In the above description, the newly returned ATR data
Described as coming from another data carrier
However, the person in front of the gate now moves back and forth,
Carrier is temporarily out of the communication area with the access head.
Move out of the area and return to the same area again
Means that the data carrier is interrupted and re-
Reset due to power interruption / resupply at the start of communication
Later, the same data is returned to return ATR data again.
Start of ATR reception of a carrier is detected.
You. In this case, in the judgment step 109,
Detecting the start of receiving new ATR data of
Received a series of ATR data and temporarily stored
And the AT stored in step 103 in step 111
Performs comparison with the contents of R data,
The content of the user identification ID code to be compared is naturally
However, since they are exactly the same,
Are regarded as coincidence, and thereafter, steps 113 and 11 are performed as usual.
4 when the write command to the data carrier is executed.
Will be carried out. The execution of the command for the data carrier is
When all is completed, the result is usually returned to the host in step 117.
Is notified and at step 118 the gate toll ticket type and
Announcement that admission is possible and opening the gate door
Will be. However, during the command execution, other data
Data carrier is detected and ATR data
If the results of the comparisons do not match,
Writing to data carrier by 113, 114
The command is not executed, and the process proceeds to step 117 to the host.
After being informed, at step 118, another data
Processing has become impossible due to the
And announce that they will re-enter
Call for attention. Of course, the data carrier 28
Gate door until command execution is completed successfully
Does not open. [0031] As is apparent from the above description, the present invention
According to, The data carrier enters
Using dynamically returned ATR data,A data cache
New ATR data during command execution for rear
When the ATR data is detected, the ATR data is received.
Along with the ATR data already stored and held
Are compared and the contents of both ATR data do not match.
If other data carriers enter the coverage area,
CameQuickly detect thatFor subsequent data carriers
The execution of the write command to
Data to be written to the data carrier
And writes the data to another data carrier
Since it will not be destroyed by rewriting,
Eliminate weak points due to communication by contactAnd
In addition, the data carrier responds to the ID collation function and the collation result.
Has a function to restrict writing to the same memory
Not even cheap systems,Reliable data key
To provide communication control methods for
You.

【図面の簡単な説明】 【図1】本発明の構成を表す機能ブロック線図である。 【図2】図1で示された構成の動作の流れを表すフロー
チャートである。 【図3】本発明の実施例で説明した運用例に基づく、実
際の使用状態を説明した図である。 【図4】従来例の構成を表す機能ブロック線図である。 【符号の説明】 1 ATR一致検出部 2 ATRデータ比較部 3 ATRデータ記憶部 4 ATR受信開始検出部 13 アクセスヘッド 21 メモリーの中のATRデータ領域 22 データキャリアの内部メモリー 28 データキャリア
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram showing a configuration of the present invention. FIG. 2 is a flowchart showing a flow of an operation of the configuration shown in FIG. FIG. 3 is a diagram illustrating an actual use state based on the operation example described in the embodiment of the present invention. FIG. 4 is a functional block diagram showing a configuration of a conventional example. [Description of Signs] 1 ATR coincidence detection unit 2 ATR data comparison unit 3 ATR data storage unit 4 ATR reception start detection unit 13 Access head 21 ATR data area 22 in memory 22 Internal memory 28 for data carrier Data carrier

───────────────────────────────────────────────────── フロントページの続き (72)発明者 荒井 博光 東京都目黒区碑文谷2丁目1番24号 日 本オリベッティ株式会社内 (72)発明者 田中 勝俊 東京都目黒区碑文谷2丁目1番24号 日 本オリベッティ株式会社内 (56)参考文献 特開 平4−288696(JP,A) 特開 平2−226389(JP,A) 特開 平5−143870(JP,A) 特開 平3−273378(JP,A) 特開 昭63−220387(JP,A) 特開 平6−187515(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06K 17/00 G06K 19/07 H04B 7/24 - 7/26 H04L 29/08 H04Q 7/00 - 7/38 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Hiromitsu Arai 2-1-224 Himonya, Meguro-ku, Tokyo Japan Olivetti Co., Ltd. (72) Inventor Katsutoshi Tanaka 2-1-224 Himonya, Meguro-ku, Tokyo Sun Olivetti Co., Ltd. (56) References JP-A-4-288696 (JP, A) JP-A-2-226389 (JP, A) JP-A-5-143870 (JP, A) JP-A-3-273378 ( JP, A) JP-A-62-220387 (JP, A) JP-A-6-187515 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06K 17/00 G06K 19/07 H04B 7/24-7/26 H04L 29/08 H04Q 7/00-7/38

Claims (1)

(57)【特許請求の範囲】 【請求項1】 非接触によりアンテナからの電力供給を
受けながらデータ通信を行ない、内部メモリーへのデー
タの書き込みおよび読み出しを行なう手段と、個々の識
別用IDコードを含むATRデータが記憶されている前
記内部メモリーと、前記アンテナから供給されている電
力の受信開始を検出することにより、 前記内部メモリーの前記ATRデータを返信するATR
手段とを有するデータキャリア、そのデータキャリアと
の通信を司るアンテナ、およびデータ送受信回路を備え
るとともに、前記データキャリアのATR手段により返
信されるATRデータの受信開始を検出するATR受信
開始検出手段、前記受信したATRデータを記憶保持す
るATRデータ記憶手段、前記データキャリアからの前
記ATRデータを前記ATRデータ記憶手段記憶保持し
た後で、且つ前記データキャリアに対してコマンドを送
信する前に、新たにATRデータの受信を行なった
は、前記ATRデータ記憶手段に既に記憶保持してある
現在通信中のデータキャリアのATRデータと、前記新
たに受信したATRデータとを、少なくともIDコード
について比較を行ない、両者が一致しているか否かを検
出するATRデータ比較手段、該ATRデータ比較手段
における、比較結果が不一致であれば、他のデータキャ
リアがアンテナとの通信可能領域内に入ってきたものと
判断し、以降のデータキャリアへのデータ書き込み動作
を停止する通信制御手段からなるアクセスヘッドとで構
成され、前記通信可能領域内にある複数枚のデータキャ
リアに対する同一データの書き込みを防止して、他のデ
ータキャリアの内部メモリーのデータを書き換えてしま
うことのないようにしたことを特徴としたデータキャリ
ア通信制御システム。
(57) [Claim 1] Means for performing data communication while receiving power from an antenna in a non-contact manner to write and read data to and from an internal memory, and an ID code for individual identification An ATR that returns the ATR data in the internal memory by detecting the start of reception of power supplied from the antenna and the internal memory storing ATR data including
ATR reception start detecting means for detecting the start of reception of ATR data returned by the ATR means of the data carrier, comprising: a data carrier having means for communicating with the data carrier; ATR data storage means for storing and holding the received ATR data, before from the data carrier
The ATR data is stored and held in the ATR data storage means.
After sending a command to the data carrier.
Before you trust, when the newly carried out the reception of the ATR data
It is whether the the ATR data storage means already ATR data of the data carriers in the communication current that is stored and held, and ATR data received the newly performs a comparison for at least ID codes, they match ATR data comparing means for detecting whether or not the ATR data comparing means does not agree with each other, it is determined that another data carrier has entered the communicable area with the antenna, and a subsequent data carrier is determined. And an access head comprising communication control means for stopping the data write operation of the data carrier. Data carrier communication control system characterized in that data is not rewritten .
JP17593593A 1993-06-24 1993-06-24 Data carrier communication control system Expired - Fee Related JP3497527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17593593A JP3497527B2 (en) 1993-06-24 1993-06-24 Data carrier communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17593593A JP3497527B2 (en) 1993-06-24 1993-06-24 Data carrier communication control system

Publications (2)

Publication Number Publication Date
JPH0785227A JPH0785227A (en) 1995-03-31
JP3497527B2 true JP3497527B2 (en) 2004-02-16

Family

ID=16004830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17593593A Expired - Fee Related JP3497527B2 (en) 1993-06-24 1993-06-24 Data carrier communication control system

Country Status (1)

Country Link
JP (1) JP3497527B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006123415A1 (en) * 2005-05-19 2006-11-23 Hitachi Ulsi Systems Co., Ltd. Semiconductor integrated circuit apparatus and id tag
JPWO2006126246A1 (en) * 2005-05-23 2008-12-25 株式会社日立超エル・エス・アイ・システムズ RFID tag device

Also Published As

Publication number Publication date
JPH0785227A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
JP3631958B2 (en) Non-contact proximity automatic data collection system and method
US5345231A (en) Contactless inductive data-transmission system
JP3728366B2 (en) IC card
US5354975A (en) Contactless data processing apparatus
JPS6246281A (en) Identification system
US20060049916A1 (en) Communication device and portable electronic instrument providing this communication device
WO1992021104A1 (en) Non-contact type ic card
KR100597979B1 (en) Contactless ic card and contactless ic card system
US20050083177A1 (en) Communications unit
JP2002342725A (en) Reader-writer for non-contact ic card, and its control method
JP3497527B2 (en) Data carrier communication control system
JP2002342724A (en) Reader-writer for non-contact ic card
JP4455722B2 (en) IC card reader / writer
JP2003150915A (en) Noncontact communication system and data carrier used therefor
JP3478143B2 (en) Contactless communication method, contactless communication medium, contactless communication device, boarding card and automatic ticket gate
JP2001184467A (en) Contactless information medium system
JP3518567B2 (en) Data communication device
JP2003076955A (en) Method for preventing interference of reader/writer
JP2000123138A (en) Contactless communication medium, contactless information reading and writing machine and contactless communication system
JP2001312711A (en) Method and system for preventing illegal utilization of card
JPH04344993A (en) Non-contact type ic card
JP2000011123A (en) System for managing position/entering and leaving
JP2567809Y2 (en) Non-contact IC card type gate device
JP3154353B2 (en) Automatic ticket gate and contactless pass gate system
JPH11288446A (en) Radio card and communication equipment and method using the card

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

S633 Written request for registration of reclamation of name

Free format text: JAPANESE INTERMEDIATE CODE: R313633

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees