JPH1115931A - Card identification system - Google Patents

Card identification system

Info

Publication number
JPH1115931A
JPH1115931A JP9166759A JP16675997A JPH1115931A JP H1115931 A JPH1115931 A JP H1115931A JP 9166759 A JP9166759 A JP 9166759A JP 16675997 A JP16675997 A JP 16675997A JP H1115931 A JPH1115931 A JP H1115931A
Authority
JP
Japan
Prior art keywords
command
card
code
signal
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9166759A
Other languages
Japanese (ja)
Inventor
Kazuto Ono
一人 小野
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 JP9166759A priority Critical patent/JPH1115931A/en
Publication of JPH1115931A publication Critical patent/JPH1115931A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce communication time by allowing only a card which performs collation coincidence with self-ID information to make each command of read and write valid and permitting to read and write memory. SOLUTION: A collating means 13 receives an ID code signal S10 from an ID code temporary storing means 12, reads content which is preliminarily stored in an ID area 11 of memory 9 as an ID information signal S11, compares and collates it with the signal S10 and outputs a coincidence signal S12 when they coincides with each other as a result. After the read or write of data from/to a specific area 10 of the memory 9 is finished completely, a reader/writer 1 sends a deactivation command, and when it is inputted to an activating means 16 through a deactivation detection signal S15, an activation signal S13 that is in an output state so far is released. Subsequently, read and write executing means 6 and 8 do not perform operations until the re-output of the signal S13 is performed due to the collation coincidence of an ID card.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、リーダライタとの
間で電磁誘導により電力の供給および通信を行なうカー
ドが複数存在する場合のカード識別方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a card identification system in a case where there are a plurality of cards for supplying and communicating power with a reader / writer by electromagnetic induction.

【0002】[0002]

【従来の技術】従来、この種のカード識別方式は、リー
ダライタからのリードコマンドおよびライトコマンドに
IDコードを付随し、カードのメモリーに対するデータ
の読み出しまたは書き込みを行なう際にIDコードを指
定することで、その都度カードにあらかじめ記憶されて
いるID情報との照合を行ない、リード/ライト実行の
是非を判定していた。これは例えば特開平6−1875
15号公報に明示されており、以下図3の機能ブロック
線図を基に説明する。
2. Description of the Related Art Conventionally, in this type of card identification method, an ID code is attached to a read command and a write command from a reader / writer, and the ID code is designated when reading or writing data to or from a memory of the card. Each time, the ID is checked against ID information stored in the card in advance, and it is determined whether read / write is to be performed. This is disclosed, for example, in Japanese Patent Laid-Open No. 6-1875.
No. 15, which will be described below with reference to the functional block diagram of FIG.

【0003】図3において、リーダライタ1とカード2
とは、各々のコイルL1、L2を介在して電磁誘導によ
り電力の供給および通信を行なう。このカード2は、リ
ーダライタ1から電力の供給を受けながら、リードもし
くはライトコマンドを受信するとともに、コマンド実行
後にリーダライタ1に対して各コマンドに応じたデータ
の返信を行なうように構成されており、コイルL2を制
御してリーダライタ1との通信を司るとともに、制御手
段4との間で送信信号および受信信号の入出力を行なう
通信手段3、この通信手段3からの受信信号の中からコ
マンドコード、IDコードおよび書き込みデータを識別
すると同時にそれらを受信データとして出力する一方、
送信データから送信信号を生成する制御手段4、コマン
ドコードとしてリードコマンドを検出するリードコマン
ド検出手段5、同様にライトコマンドを検出するライト
コマンド検出手段7、メモリー9のうち特定領域10か
らの読み出し動作を行なうリード実行手段6、同様に書
き込み動作を行なうライト実行手段8、受信したIDコ
ードを一時的に記憶するIDコード一時記憶手12と、
メモリー9のうちID情報を記憶しているID領域11
の各内容を照合する照合手段13から成っている。な
お、リーダライタ1からの電力信号の受信、平滑、各回
路への電圧供給などのカード2内部の電源制御に関する
手段については、本発明に直接関係しないので説明は省
略する。
In FIG. 3, a reader / writer 1 and a card 2
Means that power supply and communication are performed by electromagnetic induction through the respective coils L1 and L2. The card 2 is configured to receive a read or write command while receiving power supply from the reader / writer 1, and to return data corresponding to each command to the reader / writer 1 after executing the command. A communication means 3 for controlling the coil L2 to communicate with the reader / writer 1 and for inputting / outputting a transmission signal and a reception signal with the control means 4; While identifying the code, ID code and write data, and outputting them as received data,
Control means 4 for generating a transmission signal from transmission data; read command detection means 5 for detecting a read command as a command code; similarly, write command detection means 7 for detecting a write command; Read execution means 6 for performing write operation, write execution means 8 for similarly performing write operation, ID code temporary storage 12 for temporarily storing the received ID code,
ID area 11 in memory 9 that stores ID information
And collating means 13 for collating each of the contents. Means relating to power supply control inside the card 2, such as reception of a power signal from the reader / writer 1, smoothing, and supply of voltage to each circuit, are not directly related to the present invention, and will not be described.

【0004】まず、リーダライタ1からの送信が行われ
ると、カード2では通信手段4によりこれを受信し受信
信号S1として制御手段4に送られる。制御手段4では
受信信号S1の中からコマンドコードを識別し、コマン
ド識別信号S3を出力すると同時にコマンドコードを受
信データS4として出力する。リードコマンド検出手段
5およびライトコマンド検出手段7では、制御手段4か
らのコマンド識別信号S3を受けることにより受信デー
タS4をコマンドコードとして取り込み、それぞれ所定
のコードと合致している場合には、リード検出信号S6
またはライト検出信号S8としてどちらか一方の信号が
出力されることになる。この時、受信信号S1はコマン
ドコードにつづきIDコードが入力されており、制御手
段4では受信データS4としてIDコードを出力するこ
とになる。一般的に、受信データS4および後述する送
信データS5はデータバスであり、個々に異なったデー
タが時分割で入出力されるものである。IDコード一時
記憶手段12では、リード検出信号S6またはライト検
出信号S8のいずれかが入力されると、受信データS4
を取り込みIDコードとして記憶する。同時に、照合手
段13では、IDコード一時記憶手段12からのIDコ
ード信号S10を受けて、メモリー9の中のID領域1
1にあらかじめ記憶されている内容をID情報信号S1
1として読み出し、このID情報信号S11と前述のI
Dコード信号S10との比較照合を行ない、両者が一致
している場合には一致信号S12を出力する。
First, when transmission from the reader / writer 1 is performed, the card 2 receives this by the communication means 4 and sends it to the control means 4 as a reception signal S1. The control means 4 identifies the command code from the received signal S1, outputs the command identification signal S3, and simultaneously outputs the command code as received data S4. The read command detecting means 5 and the write command detecting means 7 fetch the received data S4 as a command code by receiving the command identification signal S3 from the control means 4, and when the received data S4 coincides with a predetermined code, read detection is performed. Signal S6
Alternatively, one of the signals is output as the write detection signal S8. At this time, the reception signal S1 has been input with the ID code following the command code, and the control means 4 outputs the ID code as the reception data S4. Generally, the reception data S4 and transmission data S5 described later are data buses, and different data are input and output in a time-division manner. In the ID code temporary storage unit 12, when either the read detection signal S6 or the write detection signal S8 is input, the reception data S4
Is stored as an ID code. At the same time, the matching means 13 receives the ID code signal S10 from the ID code temporary storage means 12 and
1 is stored in the ID information signal S1.
1 and read out the ID information signal S11 and the I
Comparison and collation with the D code signal S10 are performed, and when they match, a match signal S12 is output.

【0005】一致信号S12が出力状態にある場合、す
なわちリーダライタ1からの各コマンドに付随して送信
されてきたIDコードと、あらかじめ記憶されている自
身のID情報とが一致している場合、リード検出信号S
6またはライト検出信号S8の出力に応じて、リード実
行手段6またはライト実行手段8が動作を開始する。例
えば、ライト検出信号S8が出力された場合には、ライ
ト実行手段8は書き込み制御信号S9を出力して書き込
み動作を実行し、メモリー9の特定領域10に受信デー
タS4を入力して内容を記憶するように制御する。な
お、受信信号S1はIDコードにつづき書き込みデータ
が入力されており、受信データS4として書き込みデー
タが出力されているものとする。一方、リード検出信号
S6が出力された場合には、リード実行手段6は読み出
し制御信号S7を出力して読み出し動作を実行し、メモ
リー9の特定領域10の記憶内容を送信データS5とし
て出力させるように制御する。送信データS5は、制御
手段4により送信信号S2として出力され、通信手段3
を通してリーダライタ1に返信される。
When the coincidence signal S12 is in the output state, that is, when the ID code transmitted accompanying each command from the reader / writer 1 matches its own ID information stored in advance, Read detection signal S
In response to the output of the write detection signal S8 or the write detection signal S8, the read execution means 6 or the write execution means 8 starts operating. For example, when the write detection signal S8 is output, the write execution unit 8 outputs the write control signal S9 to execute the write operation, and inputs the received data S4 to the specific area 10 of the memory 9 to store the contents. To control. It is assumed that write data is input to the reception signal S1 following the ID code, and write data is output as the reception data S4. On the other hand, when the read detection signal S6 is output, the read execution means 6 outputs the read control signal S7 to execute the read operation, and outputs the contents stored in the specific area 10 of the memory 9 as the transmission data S5. To control. The transmission data S5 is output by the control means 4 as a transmission signal S2,
Is returned to the reader / writer 1 through.

【0006】ここで、前述の一致信号S12が出力され
なかった場合、すなわちリーダライタ1からの各コマン
ドに付随して送信されてきたIDコードと、あらかじめ
記憶されている自身のID情報とが不一致である場合、
リード実行手段6およびライト実行手段8はいずれも動
作することなく、メモリー9の特定領域10に対するデ
ータの読み出しおよび書き込みは実行されない。このよ
うに、リードコマンドあるいはライトコマンドが送信さ
れる毎にIDコードの照合が行なわれ、あらかじめ記憶
されている自身のID情報とが一致した場合にのみ、各
コマンドに応じた読み出しあるいは書き込みの動作が実
行されることになる。
Here, if the above-mentioned coincidence signal S12 is not output, that is, the ID code transmitted accompanying each command from the reader / writer 1 does not match its own ID information stored in advance. If it is,
Neither the read executing means 6 nor the write executing means 8 operate, and the reading and writing of data to the specific area 10 of the memory 9 are not executed. As described above, the ID code is collated each time a read command or a write command is transmitted, and the read or write operation corresponding to each command is performed only when the ID code stored in advance matches its own ID information. Will be executed.

【0007】[0007]

【発明が解決しようとする課題】従来の技術の項で説明
したように、カード2のメモリー9に対するデータの読
み出しまたは書き込みを実行する際には、その都度ID
コードを受信して照合が行なわれるように構成されてお
り、リーダライタ1からのリードコマンドあるいはライ
トコマンド毎にIDコードを付随して送信する必要があ
った。アプリケーションにもよるが、通常読み出しまた
は書き込みを行なうべきデータの種類は複数あり、それ
ぞれがメモリー9の中に分類されて記憶していることが
多く、それら点在しているデータ毎に所定のアドレスを
指定して読み出しもしくは書き込みを行なう必要がある
ため、リードコマンドもしくはライトコマンドを何度も
実行することになる。また、メモリー9のID領域11
にあらかじめ記憶されているID情報としては、個々の
カード毎に全て異なった内容とする必要があるために容
量が大きく、照合の際にリーダライタ1から送られてく
るIDコードの長さも必然的に長いものとなる。そのた
め、リーダライタ1からは長いIDコードを何度も送信
することになり、カード2との通信に時間がかかってい
た。
As described in the section of the prior art, every time data is read from or written to the memory 9 of the card 2, the ID
The code is received and collation is performed, and it is necessary to transmit an ID code accompanying each read command or write command from the reader / writer 1. Although depending on the application, there are usually a plurality of types of data to be read or written, each of which is often classified and stored in the memory 9, and each of the scattered data has a predetermined address. Is required to perform reading or writing, so that the read command or the write command is executed many times. Also, the ID area 11 of the memory 9
Since the ID information stored in advance in each of the cards must have different contents for each individual card, the capacity is large, and the length of the ID code sent from the reader / writer 1 at the time of verification is inevitable. Will be longer. Therefore, a long ID code is transmitted from the reader / writer 1 many times, and communication with the card 2 takes time.

【0008】本発明の目的は、以上のような問題点を解
決し、従来と同レベルのカード識別機能を有しながら
も、すばやく通信を行なうことが可能なカード識別方式
を提供するものである。
An object of the present invention is to solve the above-mentioned problems and to provide a card identification system capable of performing quick communication while having a card identification function at the same level as the conventional one. .

【0009】[0009]

【課題を解決するための手段】前述した目的を達成する
ために、本発明は、電磁誘導により電力の供給および通
信を行なうリーダライタとカードから成り、該カードと
しては、メモリーを内蔵するとともに、前記リーダライ
タからのリードコマンドおよびライトコマンドにより前
記メモリーの特定領域に対してデータの読み出しおよび
書き込みを行なうリード実行手段およびライト実行手段
と、前記リーダライタからのコマンドにはIDコードが
付随され、該IDコードとあらかじめ記憶されている自
身のID情報との照合を行なう照合手段とを有するカー
ド識別方式において、前記リーダライタからの活性化コ
マンドにのみ前記IDコードが付随され、前記カードに
あらかじめ記憶されている自身のID情報とが照合一致
した場合には活性化状態に移行して、前記メモリーの特
定領域に対するアクセスを可能とし、アクセス完了後は
前記リーダライタからの非活性化コマンドにより活性化
状態が解除され、再度前記活性化コマンドにより前記I
Dコードと前記カードにあらかじめ記憶されている自身
のID情報とが照合一致するまで、非活性化状態として
前記メモリーの特定領域に対するアクセスを不可能とす
るような活性化手段を有することを特徴とする。
In order to achieve the above-mentioned object, the present invention comprises a reader / writer and a card for supplying and communicating power by electromagnetic induction, and the card has a built-in memory, Read execution means and write execution means for reading and writing data to and from a specific area of the memory in response to a read command and a write command from the reader / writer, and an ID code attached to the command from the reader / writer, In a card identification method having a collation means for collating an ID code with its own ID information stored in advance, the ID code is attached only to an activation command from the reader / writer and stored in the card in advance. Active if the ID information matches the ID information Shifts to state, to allow access to a specific area of the memory, after the access is completed activation state is canceled by deactivation command from the reader-writer, the I by the activation command again
An activation unit that disables access to a specific area of the memory as an inactive state until the D code matches the ID information stored in the card in advance. I do.

【0010】カードの前記活性化手段は、活性化状態に
あって前記リーダライタからの活性化コマンドを受信し
た際、付随されたIDコードとあらかじめ記憶されてい
る自身のID情報との照合が不一致であった場合には、
活性化状態を解除して非活性化状態となり、前記メモリ
ーの特定領域に対するアクセスを不可能とすることを特
徴とする。
When the activation means of the card is in the activated state and receives an activation command from the reader / writer, the collation between the attached ID code and its own stored ID information does not match. If
It is characterized in that the active state is released and the state becomes inactive, so that access to a specific area of the memory is disabled.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は、本発明を表す機能ブロッ
ク線図である。図1の中の機能ブロックおよび信号線に
付けられた番号のうち、図3と同じ番号のものは従来の
技術で説明したものと同一の機能を有している。カード
2として、活性化コマンド検出手段14、非活性化コマ
ンド検出手段15を設け、リーダライタ1から送信され
るコマンドとして、活性化コマンドおよび非活性化コマ
ンドの両コマンドコードを検出する機能が加えられてい
る。また、これら両コマンドとIDコードの照合結果に
応じて、読み出しおよび書き込み動作の実行を制御する
活性化手段16が設けられている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram illustrating the present invention. Of the numbers assigned to the functional blocks and signal lines in FIG. 1, those having the same numbers as those in FIG. 3 have the same functions as those described in the related art. The card 2 is provided with an activation command detection unit 14 and a deactivation command detection unit 15, and has a function of detecting both command codes of an activation command and a deactivation command as commands transmitted from the reader / writer 1. ing. Further, an activating means 16 is provided for controlling the execution of the read and write operations in accordance with the result of collation between these commands and the ID code.

【0012】まず、リーダライタ1は、リードコマンド
もしくはライトコマンドの送信に先立ち、活性化コマン
ドにIDコードを付随して送信する。カード2の通信手
段3はこれを受信し、受信信号S1を出力すると、制御
手段4からはコマンド識別信号S3が出力され、同時に
受信データS4としてコマンドコードの出力を行なう。
コマンド識別信号S3を受け、リードコマンド検出手段
5、ライトコマンド検出手段7、活性化コマンド検出手
段14および非活性化コマンド検出手段15の各コマン
ド検出手段は、受信データS4としてコマンドコードを
取り込み、それぞれ所定のコードと合致しているかどう
かを判定する。現時点では活性化コマンドを受信してい
ることから、活性化コマンド検出手段14のみが検出し
活性化検出信号S14を出力する。この時、受信信号S
1はコマンドコードにつづきIDコードが入力されてお
り、制御手段4では受信データS4として、このIDコ
ードを出力することになる。IDコード一時記憶手段1
2では、活性化検出信号S14が入力されると、受信デ
ータS4を取り込みIDコードとして記憶する。同時
に、照合手段13では、IDコード一時記憶手段12か
らのIDコード信号S10を受けて、メモリー9の中の
ID領域11にあらかじめ記憶されている内容をID情
報信号S11として読み出し、このID情報信号S11
と前述のIDコード信号S10との比較照合を行ない、
その結果両者が一致している場合には一致信号S12を
出力する。一致信号S12が出力状態であり、かつ活性
化検出信号S14が出力された時、活性化手段16は活
性化信号S13を出力する。この活性化信号S13の出
力は、後述の非活性化検出信号S15が入力されるまで
保持されるとともに、この間、リード実行手段6および
ライト実行手段8に入力され続ける。
First, prior to transmission of a read command or a write command, the reader / writer 1 transmits an activation command with an ID code attached thereto. When the communication means 3 of the card 2 receives this and outputs the reception signal S1, the command identification signal S3 is output from the control means 4, and at the same time, the command code is output as the reception data S4.
Upon receiving the command identification signal S3, each of the command detection units of the read command detection unit 5, the write command detection unit 7, the activation command detection unit 14, and the deactivation command detection unit 15 fetches a command code as the reception data S4, It is determined whether the code matches a predetermined code. At this time, since the activation command has been received, only the activation command detecting means 14 detects the activation command and outputs the activation detection signal S14. At this time, the reception signal S
Reference numeral 1 denotes a command code followed by an ID code, and the control means 4 outputs this ID code as received data S4. ID code temporary storage means 1
In step 2, when the activation detection signal S14 is input, the reception data S4 is captured and stored as an ID code. At the same time, the matching means 13 receives the ID code signal S10 from the ID code temporary storage means 12, reads out the contents stored in advance in the ID area 11 in the memory 9 as the ID information signal S11, S11
Is compared with the ID code signal S10 described above.
As a result, if they match, a match signal S12 is output. When the coincidence signal S12 is in the output state and the activation detection signal S14 is output, the activation means 16 outputs the activation signal S13. The output of the activation signal S13 is held until a deactivation detection signal S15 described later is input, and during this time, is continuously input to the read execution unit 6 and the write execution unit 8.

【0013】次に、リーダライタ1は、リードコマンド
もしくはライトコマンドの送信を行なうが、これらコマ
ンドによる動作のうちメモリー9の特定領域10に対す
るデータの読み出しもしくは書き込みの動作に関する部
分については、従来の技術で説明した内容と同じであ
る。前述の従来の技術と異なるのは、リードおよびライ
トの各コマンドに対してIDコードを付随しておらず、
その都度照合動作を行なわないということである。すな
わち、リーダライタ1からリードまたはライトのコマン
ドが送信され、これをカード2の通信手段4で受けた
後、制御手段4よりコマンド識別信号S3とコマンドコ
ードとしての受信データS4の出力、リードコマンド検
出手段5またはライトコマンド検出手段7での取り込み
およびリード検出信号S6またはライト検出信号S8の
出力までは、従来の技術で説明した動作と同じである
が、このあとリーダライタ1からはIDコードの送信は
行われない。この時点で、リード実行手段6およびライ
ト実行手段8には活性化信号S13が入力されているた
め、リード検出信号S6またはライト検出信号S8の入
力に合わせて、それぞれ読み出し制御信号S7または書
き込み制御信号S9を出力して、メモリー9の特定領域
10に対するデータの読み出しまたは書き込みを制御す
ることになる。この読み出しまたは書き込みの制御、読
み出しの場合には送信データS5を通して制御手段4、
さらには通信手段3からの返信の動作もまた、前述の従
来の技術の項で説明した内容と同じである。
Next, the reader / writer 1 transmits a read command or a write command. Of the operations based on these commands, the portion related to the operation of reading or writing data to or from the specific area 10 of the memory 9 is a conventional technology. The contents are the same as those described in. What is different from the above-described conventional technology is that no ID code is attached to each of the read and write commands,
That is, the collating operation is not performed each time. That is, after a read or write command is transmitted from the reader / writer 1 and received by the communication means 4 of the card 2, the control means 4 outputs a command identification signal S3 and received data S4 as a command code, and detects a read command. The operation up to the capture by the means 5 or the write command detection means 7 and the output of the read detection signal S6 or the write detection signal S8 is the same as the operation described in the prior art, but thereafter, the transmission of the ID code from the reader / writer 1 is performed. Is not done. At this time, since the activation signal S13 has been input to the read execution unit 6 and the write execution unit 8, the read control signal S7 or the write control signal S7 or the write control signal S8 is input according to the input of the read detection signal S6 or the write detection signal S8, respectively. By outputting S9, the reading or writing of data to the specific area 10 of the memory 9 is controlled. This read or write control, in the case of read, the control means 4 through the transmission data S5,
Further, the operation of the reply from the communication means 3 is the same as that described in the section of the prior art.

【0014】以降、所定のデータ毎にリードコマンドあ
るいはライトコマンドの上記動作が繰り返され、メモリ
ー9の特定領域10に対するデータの読み出しまたは書
き込みが全て終了した後、リーダライタ1からは非活性
化コマンドが送信される。この非活性化コマンドもいま
まで述べてきた他のコマンドと同様に考え、非活性化コ
マンド検出手段15での検出および非活性化検出信号S
15の出力をみる。この非活性化検出信号S15によ
り、活性化手段16はこれを入力すると、今まで出力状
態となっていた活性化信号S13を解除する。そのた
め、これ以降、次に活性化コマンドが送信され、IDコ
ードの照合一致による活性化信号S13の再出力が行わ
れるまで、リード実行手段6およびライト実行手段8は
動作を行なわず、その結果としてリードコマンドおよび
ライトコマンドによるメモリー9に対する読み出しおよ
び書き込みは行なえないことになる。
Thereafter, the above operation of the read command or the write command is repeated for each predetermined data, and after all the reading or writing of the data to the specific area 10 of the memory 9 is completed, the deactivation command is issued from the reader / writer 1. Sent. This deactivation command is considered in the same manner as the other commands described above, and the detection by the deactivation command detection means 15 and the deactivation detection signal S
Look at the output of 15. When the activation means 16 receives this inactivation detection signal S15, the activation means 16 cancels the activation signal S13 which has been in the output state until now. Therefore, thereafter, the read execution unit 6 and the write execution unit 8 do not operate until the next activation command is transmitted and the activation signal S13 is re-output by collation matching of the ID code, and as a result, Reading and writing to the memory 9 by the read command and the write command cannot be performed.

【0015】ここで、カード2が非活性化コマンドを正
常に受信できなかった場合を考えてみる。例えばカード
2がリーダライタ1との通信可能領域の境界近傍に位置
しているような時には、リーダライタ1からの受信信号
レベルが小さくなり、コマンドを正常認識できなくなる
可能性がある。カード2は、非活性化コマンドを正常に
受信できない場合には活性化状態のままである。この状
態でリーダライタ1が、他のカードに対して活性化コマ
ンドを送信したとする。他のカードは活性化状態とな
り、今までのカード2も活性化状態のままであるため、
同時に2枚のカードが活性化状態となっており、以降の
リーダライタからのリードコマンドもしくはライトコマ
ンドに対して両カードが動作してしまうことになる。特
にライトコマンドが誤って実行されてしまうと、メモリ
9の内容が書き換わってしまいデータが破壊されること
になる。そこで、活性化手段16として、リーダライタ
1から活性化コマンドを受信した際、それに付随するI
Dコードとカード2自身のID情報との照合が不一致で
あった場合には、活性化信号S13が解除されるように
構成する。前述のとおり、ID情報は個々のカード毎に
全て異なった内容であるため、他のカードに対する活性
化コマンドを受信した際、付随するIDコードはカード
2自身のID情報とは異なっており、活性化信号S13
が解除され非活性化状態となってリード実行手段6およ
びライト実行手段8は動作せず、リードコマンドおよび
ライトコマンドによる誤動作は行なわれない。なお、リ
ーダライタ1からのコマンドを正常に受信できない場合
として非活性化コマンドのみを取り上げたが、これは他
のコマンドの場合には、あえて対応する機能を有する必
要がないためである。即ち、活性化コマンドを正常に受
信できなかった場合には、活性化状態にはならないため
リードおよびライトコマンドは実行されず、またリード
もしくはライトコマンドを正常に受信できない場合に
は、当然それらのコマンドを実行してしまうことはない
ため、メモリ9のデータが破壊されるような致命的な問
題を生じることはない。
Here, consider a case where the card 2 cannot normally receive the deactivation command. For example, when the card 2 is located near the boundary of the communicable area with the reader / writer 1, the level of the signal received from the reader / writer 1 becomes small, and the command may not be recognized normally. When the card 2 cannot normally receive the deactivation command, the card 2 remains in the activated state. In this state, it is assumed that the reader / writer 1 has transmitted an activation command to another card. The other cards are activated, and the previous card 2 remains activated.
At the same time, the two cards are in the activated state, and both cards operate in response to a subsequent read command or write command from the reader / writer. In particular, if the write command is erroneously executed, the contents of the memory 9 will be rewritten and the data will be destroyed. Therefore, when the activation command is received from the reader / writer 1 as the activation means 16,
If the comparison between the D code and the ID information of the card 2 itself does not match, the activation signal S13 is released. As described above, since the ID information has different contents for each individual card, when an activation command for another card is received, the accompanying ID code is different from the ID information of the card 2 itself, Signal S13
Is released, the read execution means 6 and the write execution means 8 do not operate, and no malfunction is caused by the read command and the write command. Note that only the inactivation command is taken as a case where a command from the reader / writer 1 cannot be normally received. This is because other commands do not need to have a corresponding function. That is, if the activation command cannot be normally received, the read / write command is not executed because the activation state is not established, and if the read or write command cannot be normally received, those commands are naturally executed. Is not executed, so that a fatal problem such as destruction of data in the memory 9 does not occur.

【0016】以上の動作を、フローチャートを用いて分
かりやすく説明する。図2は図1の機能ブロック線図の
動作の流れを示すものであり、おもにカード1の側の動
作を中心として表わしている。まず、ステップ100に
おいてリーダライタ1から送信される活性化コマンドの
受信を行なう。次にステップ101で受信した活性化コ
マンドに付随して受信したIDコードの照合を行ない、
カード2自身のあらかじめ記憶されているID情報と一
致した場合にはステップ102へ、不一致の場合にはス
テップ120へと進む。ステップ102で、活性化信号
S13が出力されている状態、すなわち活性化状態に移
行するため、その後のステップ103でのリードコマン
ドの受信によるステップ104でのメモリー9からの読
み出しや、続くステップ105での読み出しデータの返
信が行われ、あるいはステップ106でのライトコマン
ドの受信によるステップ107でのメモリー9への書き
込みが行われる。なお、これらステップ103〜107
は、使用されるアプリケーションによって実行順序が異
なり、場合によっては何回も繰り返し実行されることも
あるが、図2では分かりやすく単純化してある。さて、
データの読み出しおよび書き込みの一連の動作が完了す
ると、ステップ108において、非活性化コマンドの受
信を行なう。正常に受信した場合にはステップ109へ
と進み、活性化信号S13の出力が解除された状態、す
なわち非活性化状態へと移行し、ステップ100に戻っ
て、次の活性化コマンドを受信するまで待機するが、非
活性化コマンドを正常に受信できなかった場合には、活
性化状態のままステップ100に戻る。
The above operation will be described with reference to a flow chart. FIG. 2 shows the operation flow of the functional block diagram of FIG. 1, and mainly shows the operation on the card 1 side. First, in step 100, an activation command transmitted from the reader / writer 1 is received. Next, the ID code received along with the activation command received in step 101 is collated,
When the ID information matches the ID information stored in advance of the card 2 itself, the process proceeds to step 102, and when the ID information does not match, the process proceeds to step 120. In step 102, the state changes to the state in which the activation signal S 13 is output, that is, the activation state. Therefore, the reading from the memory 9 in step 104 by the reception of the read command in step 103 and the subsequent step 105. Is returned, or writing to the memory 9 is performed in step 107 by receiving the write command in step 106. These steps 103 to 107
The execution order differs depending on the application used, and may be repeatedly executed in some cases. However, FIG. Now,
When a series of data reading and writing operations are completed, in step 108, a deactivation command is received. If the signal has been received normally, the process proceeds to step 109, in which the output of the activation signal S13 is released, that is, to the inactive state, and the process returns to step 100 until the next activation command is received. If the deactivation command is not normally received, the process returns to step 100 in the activated state.

【0017】一方、ステップ101においてIDコード
の照合が不一致であった場合には、ステップ120にお
いて、非活性化状態であった場合には引き続きそれを保
持し、活性化状態であった場合には非活性化状態に移行
し、いずれにせよ非活性化状態となって、以降、ステッ
プ121でのリードコマンドの受信やステップ123で
ライトコマンドの受信を行なっても、ステップ122お
よびステップ124に示した通り、メモリー9に対する
データの読み出しおよび書き込みの動作は実行されない
ままステップ108へと移り、非活性化コマンドの受信
は行なうも、ステップ109において非活性化状態へ移
行(本流れでは非活性化状態保持)しステップ100で
活性化コマンドの受信を待つ。
On the other hand, if the collation of the ID code does not match in step 101, if it is in the inactive state, it is kept in step 120, and if it is in the active state, The state shifts to the inactive state, and in any case, the state becomes the inactive state. Thereafter, even if the read command is received in step 121 or the write command is received in step 123, the operations shown in steps 122 and 124 are performed. As described above, the process proceeds to step 108 without performing the data read and write operations on the memory 9 and receives the deactivation command, but shifts to the deactivated state in step 109 (in this flow, the deactivated state is maintained). Step 100 waits for the reception of the activation command.

【0018】[0018]

【発明の効果】以上の説明で明らかなように、本発明の
請求項1によれば、IDコードは、活性化コマンドに付
随して1度だけ送信すればよく、その際に自身のID情
報と照合一致したカードだけがリードおよびライトの各
コマンドが有効となって、メモリーの読み出しおよび書
き込みを行なうことが許可されるため、従来のように各
コマンド毎にIDコードを付随して送信を行なう場合に
比べて、リーダライタとカードとの通信を短時間で行な
うことが可能となり、特にメモリーの読み出しおよび書
き込みを頻繁に行なう必要があるがためにリードおよび
ライトの各コマンドの送信を何度も行なうようなアプリ
ケーションにおいては、特に通信時間の短縮効果が顕著
に現れ、さらに本発明の請求項2によれば、リーダライ
タとの通信が不安定となりカードが正常に受信できない
場合が生じてもリードおよびライトコマンドの誤動作に
よるメモリのデータ破壊といった致命的な問題を極力防
止することのできる高性能のカード識別方式を提供する
のに大きな効果がある。
As is apparent from the above description, according to the first aspect of the present invention, the ID code needs to be transmitted only once in association with the activation command. Only the card that matches and matches the read and write commands are enabled and are allowed to read and write to the memory, so that transmission is performed with an ID code attached to each command as in the prior art. The communication between the reader / writer and the card can be performed in a shorter time than in the case where it is necessary to read and write the memory frequently. In such an application, the effect of shortening the communication time is particularly remarkable, and according to the second aspect of the present invention, the communication with the reader / writer is uneasy. Therefore, even if the card cannot be received normally, there is a great effect in providing a high-performance card identification method capable of minimizing a fatal problem such as memory data destruction due to a read / write command malfunction. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態の構成を表す機能ブロック
線図である。
FIG. 1 is a functional block diagram showing a configuration of an embodiment of the present invention.

【図2】図1で示された構成の動作の流れを表わすフロ
ーチャートである。
FIG. 2 is a flowchart showing a flow of an operation of the configuration shown in FIG.

【図3】従来の技術の構成を表す機能ブロック線図であ
る。
FIG. 3 is a functional block diagram showing a configuration of a conventional technique.

【符号の説明】[Explanation of symbols]

1 リーダライタ 2 カード 9 メモリー 10 特定領域 11 ID領域 12 IDコード一時記憶領域 13 照合手段 14 活性化コマンド検出手段 15 非活性化コマンド検出手段 16 活性化手段 S12 一致信号 S13 活性化信号 S14 活性化検出信号 S15 非活性化検出信号 REFERENCE SIGNS LIST 1 reader / writer 2 card 9 memory 10 specific area 11 ID area 12 ID code temporary storage area 13 verification means 14 activation command detection means 15 deactivation command detection means 16 activation means S12 coincidence signal S13 activation signal S14 activation detection Signal S15 Deactivation detection signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 電磁誘導により電力の供給および通信を
行なうリーダライタとカードから成り、該カードとして
は、メモリーを内蔵するとともに、前記リーダライタか
らのリードコマンドおよびライトコマンドにより前記メ
モリーの特定領域に対してデータの読み出しおよび書き
込みを行なうリード実行手段およびライト実行手段と、
前記リーダライタからのコマンドにはIDコードが付随
され、該IDコードとあらかじめ記憶されている自身の
ID情報との照合を行なう照合手段とを有するカード識
別方式において、前記リーダライタからの活性化コマン
ドにのみ前記IDコードが付随され、前記カードにあら
かじめ記憶されている自身のID情報とが照合一致した
場合には活性化状態に移行して、前記メモリーの特定領
域に対するアクセスを可能とし、アクセス完了後は前記
リーダライタからの非活性化コマンドにより活性化状態
が解除され、再度前記活性化コマンドにより前記IDコ
ードと前記カードにあらかじめ記憶されている自身のI
D情報とが照合一致するまで、非活性化状態として前記
メモリーの特定領域に対するアクセスを不可能とするよ
うな活性化手段を有することを特徴としたカード識別方
式。
1. A card comprising a reader / writer and a card for supplying and communicating power by electromagnetic induction. The card has a built-in memory and a read / write command from the reader / writer to a specific area of the memory. Read execution means and write execution means for reading and writing data with respect to
An ID code is attached to the command from the reader / writer, and an activation command from the reader / writer is provided in a card identification system having a collation unit for collating the ID code with its own ID information stored in advance. The ID code is attached only to the memory card. If the ID information is matched with its own ID information stored in advance in the card, the state is shifted to an activated state, access to a specific area of the memory is enabled, and access is completed. Thereafter, the activation state is released by a deactivation command from the reader / writer, and the ID code and its own I.D. stored in advance in the card are again released by the activation command.
A card identification method comprising activation means for making inaccessible a specific area of the memory in an inactive state until the D information matches the collation.
【請求項2】 請求項1記載のカード識別方式におい
て、カードの前記活性化手段は、活性化状態にあって前
記リーダライタからの活性化コマンドを受信した際、付
随されたIDコードとあらかじめ記憶されている自身の
ID情報との照合が不一致であった場合には、活性化状
態を解除して非活性化状態となり、前記メモリーの特定
領域に対するアクセスを不可能とすることを特徴とした
カード識別方式。
2. The card identification system according to claim 1, wherein said activation means of said card is in an activated state, and when an activation command is received from said reader / writer, said card is stored in advance with an associated ID code. If the collation with its own ID information does not match, the activation state is released to the inactivation state, and access to a specific area of the memory is disabled. Identification method.
JP9166759A 1997-06-24 1997-06-24 Card identification system Pending JPH1115931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9166759A JPH1115931A (en) 1997-06-24 1997-06-24 Card identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9166759A JPH1115931A (en) 1997-06-24 1997-06-24 Card identification system

Publications (1)

Publication Number Publication Date
JPH1115931A true JPH1115931A (en) 1999-01-22

Family

ID=15837200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9166759A Pending JPH1115931A (en) 1997-06-24 1997-06-24 Card identification system

Country Status (1)

Country Link
JP (1) JPH1115931A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6701876B2 (en) 2001-09-27 2004-03-09 Visteon Global Technologies, Inc. Electromechanical engine valve actuator system with reduced armature impact
JP2008276582A (en) * 2007-04-28 2008-11-13 Nidec Sankyo Corp Noncontact ic recording medium processing system and noncontact ic recording medium processing method
US8700872B2 (en) 2007-06-28 2014-04-15 Sony Corporation Information processing system, reader/writer, information processing apparatus, access control management method and program
JP2017224296A (en) * 2016-06-13 2017-12-21 モトローラ モビリティ エルエルシーMotorola Mobility Llc Silent rfid state and restore back

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6701876B2 (en) 2001-09-27 2004-03-09 Visteon Global Technologies, Inc. Electromechanical engine valve actuator system with reduced armature impact
JP2008276582A (en) * 2007-04-28 2008-11-13 Nidec Sankyo Corp Noncontact ic recording medium processing system and noncontact ic recording medium processing method
US8700872B2 (en) 2007-06-28 2014-04-15 Sony Corporation Information processing system, reader/writer, information processing apparatus, access control management method and program
JP2017224296A (en) * 2016-06-13 2017-12-21 モトローラ モビリティ エルエルシーMotorola Mobility Llc Silent rfid state and restore back
KR20170140775A (en) * 2016-06-13 2017-12-21 모토로라 모빌리티 엘엘씨 Silent rfid state and restore back

Similar Documents

Publication Publication Date Title
US8816827B2 (en) Data storage medium and method for contactless communication between the data storage medium and a reader
CN101064000B (en) Identification system and identification method
KR20040057944A (en) Contactless ic card and contactless ic card system
CN101187912A (en) Memory card system and method transmitting host identification information thereof
JPH1115931A (en) Card identification system
US8146831B2 (en) Personalisation of portable data supports
US20020004864A1 (en) Control method and electronic device
EP0733993B1 (en) A method of and apparatus for issuing portable storage mediums
JP2003044801A (en) Portable information processor provided with a plurality of information transmitting means
JP4476658B2 (en) Portable electronic device, electronic processing system, and electronic processing method
US7014119B2 (en) Method of manufacturing smart cards
JPH11110091A (en) Multi-information storage medium processing system and device, multi-ic card processing system and device and multi-ic card access method
JPH04344993A (en) Non-contact type ic card
JPH1153487A (en) Method for deciding validity of written data on ic card
JP3855544B2 (en) Data identification apparatus and data identification method using the apparatus
JP2003317039A (en) Command control method, ic card use terminal device, and memory card
JP2003162740A (en) Non-contact ic card system
JPH11144475A (en) Programmable rom and method of writing data into programmable rom
JP3455941B2 (en) IC tag identification device
EP0292237A2 (en) IC card and IC card information processing system using the IC card
JPH11184998A (en) Card identifying system
JP2508982B2 (en) In-device control method
JP2002366986A (en) Ic card processor
JPH06111085A (en) Noncontact storage medium
JPH06309528A (en) Ic card