JP2006099324A - Non-contact card - Google Patents
Non-contact card Download PDFInfo
- Publication number
- JP2006099324A JP2006099324A JP2004283402A JP2004283402A JP2006099324A JP 2006099324 A JP2006099324 A JP 2006099324A JP 2004283402 A JP2004283402 A JP 2004283402A JP 2004283402 A JP2004283402 A JP 2004283402A JP 2006099324 A JP2006099324 A JP 2006099324A
- Authority
- JP
- Japan
- Prior art keywords
- protocol processing
- protocol
- task
- unit
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 claims abstract description 99
- 230000005684 electric field Effects 0.000 claims abstract description 23
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 230000005672 electromagnetic field Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 13
- 230000007704 transition Effects 0.000 description 6
- 230000004913 activation Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000428 dust Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
Images
Abstract
Description
本発明は非接触方式で外部機器と通信を行う非接触カードに関する。 The present invention relates to a contactless card that communicates with an external device in a contactless manner.
近年、カードの内部にアンテナを持ち、外部の端末が発信する弱い電波を利用してデータを送受信する非接触カードがユーザに利用に供され始めている。上記カードは、カード自体が動作するための電気も読み取り端末からの電磁波から生成するため、電池なしで動作できるようになっている。また、上記非接触カードは、読み取り端末に接触させなくても処理が可能なため、振動やほこりが多い環境での運用に適しており、さらに、カードを抜き差しする手間がないため、高速な処理が必要な鉄道・バスの改札や処理に多く使われている。 In recent years, contactless cards that have antennas inside cards and transmit and receive data using weak radio waves transmitted by external terminals have begun to be used by users. The card can be operated without a battery because electricity for operating the card itself is also generated from electromagnetic waves from the reading terminal. In addition, the contactless card can be processed without touching the reading terminal, so it is suitable for operation in an environment with a lot of vibration and dust. Is often used for ticket gates and processing of railways and buses that require
上記非接触通信は通信プロトコルの違いにより、複数の規格が存在する。例えば、ISO/IEC14443で規格化されているTypeA、TypeBのほか、JICSAPカード仕様による規格である。
従来の非接触カードは、上記非接触通信方式のいずれか一の方式にのみ対応しているため、ユーザはサービスが対応する非接触通信方式毎にカードを所持する必要があった。
そこで近年、上記複数の非接触通信方式サポートするカードが望まれている。しかしながら、上記複数の非接触通信方式は個別に規格化されており、これ等を一のカードでサポートためには、個別の規格を満足する必要がある。特に、複数の非接触通信を指定することなく待ち受ける場合、読み取り端末の電界への入界から、読み取り端末との通信を開始するまでの所定の時間内に、非接触通信方式の特定と、サポートする非接触通信プロトコル処理を実行するための準備とを完了する必要があるといった課題を有している。
Since the conventional contactless card supports only one of the above contactless communication methods, the user has to possess a card for each contactless communication method supported by the service.
Therefore, in recent years, a card that supports the plurality of contactless communication methods has been desired. However, the plurality of non-contact communication methods are individually standardized, and in order to support them with one card, it is necessary to satisfy the individual standards. In particular, when waiting without specifying a plurality of non-contact communications, identification and support of the non-contact communication method within a predetermined time from the entry into the electric field of the reading terminal to the start of communication with the reading terminal There is a problem that it is necessary to complete preparation for executing the contactless communication protocol processing.
本発明は、前記従来の課題を解決するもので、上記規格をすべて満たした上で、一のカードで複数の非接触通信方式を待ち受け可能とすることができる非接触カードを提供することを目的とする。 The present invention solves the above-mentioned conventional problems, and an object thereof is to provide a non-contact card capable of waiting for a plurality of non-contact communication methods with a single card while satisfying all the above standards. And
前記従来の課題を解決するために、本発明の読み取り装置との間で複数のプロトコルに対応する非接触通信を実行可能な非接触カードは、
読み取り装置と非接触通信を行う非接触通信部と、
読み取り装置の発する電磁波の電界の入界と出界とを検出する電界検出部と、
非接触通信規格に依存するプロトコル処理を実行する複数のプロトコル処理部と、
前記プロトコル処理部の実行状態を管理するプロトコル状態管理部と、
読み取り装置と通信データを送受信するデータ通信部と、
前記電界検出部での入界検出に基づき、前記複数のプロトコル処理部の初期化の実行を指示し、さらに前記プロトコル処理部の実行状態に基づきプロトコル処理部に対する非接触通信データの受信の許可を指示するプロトコル処理制御部とを備え、さらに、前記プロトコル処理部は、前記プロトコル処理制御部からの指示に従い前記プロトコル処理を実行するようにした。
In order to solve the conventional problem, a contactless card capable of executing contactless communication corresponding to a plurality of protocols with the reader of the present invention is provided.
A non-contact communication unit that performs non-contact communication with the reader;
An electric field detector that detects the entry and exit of the electromagnetic field generated by the reader;
A plurality of protocol processing units for executing protocol processing depending on the non-contact communication standard;
A protocol state management unit for managing an execution state of the protocol processing unit;
A data communication unit that transmits and receives communication data to and from the reader;
Instructing execution of initialization of the plurality of protocol processing units based on the entry detection in the electric field detection unit, and further permitting the protocol processing unit to receive non-contact communication data based on the execution state of the protocol processing unit A protocol processing control unit for instructing, and the protocol processing unit executes the protocol processing in accordance with an instruction from the protocol processing control unit.
またさらに、本発明での、上記非接触カードの前記プロトコル処理制御部は、受信した非接触通信データのプロトコル種別に基づき、当該プロトコルに関係しないプロトコル処理部の停止を指示するようにした。 Still further, the protocol processing control unit of the contactless card according to the present invention instructs to stop the protocol processing unit not related to the protocol based on the protocol type of the received contactless communication data.
またさらに、本発明での、上記非接触カードの前記プロトコル処理制御部は、前記プロトコル処理部の全ての実行状態が初期化完了となった時点で、プロトコル処理部に対する非接触通信データの受信の許可を指示するようにした。 Furthermore, in the present invention, the protocol processing control unit of the contactless card receives the contactless communication data from the protocol processing unit when all the execution states of the protocol processing unit have been initialized. Instructed permission.
またさらに、本発明での、上記非接触カードの前記プロトコル処理制御部は、非接触通信データの受信を許可する時点は、前記プロトコル処理部のいずれか一が実行状態が初期化完了となった時点とした。 Furthermore, in the present invention, when the protocol processing control unit of the contactless card permits reception of contactless communication data, one of the protocol processing units has completed initialization. It was time.
本発明の非接触カードによれば、特定の非接触通信プロトコルに対する待ち受け状態を設定することなく、複数の非接触通信サービスを提供することが可能である。
さらに、本発明の非接触カードによれば、特定の非接触通信プロトコルを受け付けを優先的に実行し、かつ、他のプロトコル処理との処理上の衝突を回避可能である。
According to the contactless card of the present invention, it is possible to provide a plurality of contactless communication services without setting a standby state for a specific contactless communication protocol.
Furthermore, according to the non-contact card of the present invention, it is possible to preferentially execute reception of a specific non-contact communication protocol and avoid a processing conflict with other protocol processing.
以下本発明の実施の形態について、図面を参照しながら説明する。
(実施の形態1)
図1は、本発明の実施の形態1における非接触カードの利用形態を表す利用概観図である。非接触カード1は、単独または、携帯電話を含む携帯端末3に挿入された状態で、読み取り端末2の発する電磁波の電界21に入界することで、各種サービスをユーザに提供することができる。読み取り端末2はさらに、前記サービスを提供するサーバー4と何らかの通信手段により接続されている。したがって、ユーザは非接触カード1を読み取り端末2に近づけることにより、サーバー4と通信を行うことが可能である。
なお、非接触カード1が稼動するための電源は、カード自身に備える場合と携帯端末3から供給される場合、そして読み取り端末2の発する電磁波を受信すること生じさせる場合とがある。
Embodiments of the present invention will be described below with reference to the drawings.
(Embodiment 1)
FIG. 1 is a usage overview diagram showing a usage mode of a contactless card according to
Note that the power for operating the
本実施の形態で例示する非接触通信方式は、ISO/IEC14443で規格化されているTypeBと、JICSAPカード仕様による通信規格とする。後者の通信規格を便宜的にTypeCとして説明を行う。
ここで、TypeBとTypeCにおいて、読み取り端末2の電界への入界から、読み取り端末2との通信を開始するまでの時間は5m秒以下と規定されている。さらに、読み取り端末2は非接触通信方式により異なる端末を用意する必要があるため、TypeBとTypeCの通信は同時には生じ得ない。またさらに、ユーザがTypeBとTypeCの通信を意識させないため、非接触カード1に対して特定の非接触通信方式を待ち受けを指示することはさせない。
The non-contact communication system exemplified in this embodiment is Type B standardized by ISO / IEC14443 and a communication standard based on the JICSAP card specification. The latter communication standard will be described as Type C for convenience.
Here, in Type B and Type C, the time from entering the electric field of the reading terminal 2 to starting communication with the reading terminal 2 is defined as 5 milliseconds or less. Furthermore, since it is necessary to prepare different terminals for the reading terminal 2 according to the non-contact communication method, communication between Type B and Type C cannot occur at the same time. Furthermore, since the user is not aware of the communication between Type B and Type C, the
図2は、本発明の非接触カードの製造に必要なハードウェアの構成例を示したハードウェア構成図である。読み取り端末2が発する電磁波を利用して通信または電源取得を行うアンテナコイル14と、携帯端末3との通信または電源取得を行う接触端子15と、非接触カード内での処理を記述したプログラムを格納するROM12と、前記プログラムを実行するCPU11と、前記プログラムの実行における作業領域となるRAM13と、前記プログラムの実行結果を格納するEEPROM(Electronically Erasable and Programmable Read Only Memory)15を備える。なお、EEPROM15は不揮発性メモリであることが好ましく、FeRAM(Ferroelectric Random Access Memory)でも代替可能である。これらハードウェア構成部品が非接触カード1内部において、典型的にはバスで接続されている。なお、上記ハードウェア構成部品はそれらを制御するファームウェアを含む場合がある。
上記非接触カード1は、TypeBの非接触通信方式に対応する読み取り装置B210若しくは、TypeCの非接触通信方式に対応する読み取り装置C221とそれぞれの通信方式に従って非接触通信を行う。
FIG. 2 is a hardware configuration diagram showing a configuration example of hardware necessary for manufacturing the contactless card of the present invention. Stores an
The
図3は、図2は、本発明の非接触カード1の製造に必要はソフトウェアの構成例を示したソフトウェア構成図である。上記ソフトウェアは、読み取り装置2とアンテナコイル14を利用して外部機器との非接触通信を行う非接触通信部120、電界21への入界と出界を検出する電界検出部130、非接触通信によるデータ通信を行うデータ通信部140、通信プロトコルの処理を行う、プロトコル処理部150、プロトコル処理部150はさらに、以下TypeBの非接触通信プロトコルの処理を行う、プロトコルB処理部151とTypeCの非接触通信プロトコルの処理を行う、プロトコルC処理部152を備え、上記プロトコル処理部150の動作を制御するプロトコル処理制御部100とを備え、さらに、上記プロトコル処理部150の動作状態を管理するプロトコル処理状態管理部110からなる。
なお、プロトコル処理部150は非接触カードにおいて、多くの場合、リアルタイムOSにおけるタスクとして実装される場合があるので、以後プロトコルB処理部151はタスクB、プロトコルC処理部152はタスクCと呼び、以後の説明を行う。
FIG. 3 is a software configuration diagram showing a configuration example of software necessary for manufacturing the
Since the
プロトコル処理状態管理部110は、タスクBとタスクCの動作状態を図5に示すプロトコル処理状態管理表500で管理しており、プロトコル処理制御部100はその動作状態を参照・変更することにより、タスクBとタスクCの動作を制御する。
プロトコル処理状態管理表500は、タスク種別501とタスク状態502の組からなるタスク状態情報をタスク毎に備えている。すなわち、図5の例ではタスクBに関するタスク状態情報510とタスクCに関するタスク状態情報520とが記載されている。
タスク種別501には、「タスクB」と「タスクC」。タスク状態502として「停止」、「初期化中」、「初期化完了」、「稼動中」をとりえる。
The protocol processing
The protocol processing state management table 500 includes task state information including a
The
以下、図3のソフトウェア構成図、図4のフローチャート、図5のプロトコル処理状態管理表、図6の処理シーケンス図を参照して、本発明の非接触カードの動作を詳述する。
非接触カード1が読み取り端末2に所定の距離以内に近づくと、非接触通信部120を利用した非接触カード1と読み取り端末2間で非接触通信が開始される。ここで、電界検出部130により非接触カード1が電界21に入界したことがカード内で判定される。多くの場合この判定処理はハードウェア割込みよって生じる(SQ2000)。この通知によりプロトコル処理制御部100は、タスクBとタスクCを起動する(STEP1100)。起動する順序は、所定の優先順位に基づく。本実施の形態ではタスクBがタスクCより優先度が高く設定されているとし、タスクBの起動開始後(SQ2110)、タスクCの起動開始を行う(SQ2120)。この時点でタスクBとタスクCの状態は「停止」(図5の[A])から「初期化中」(図5の[B])へと遷移する(TR1)。
起動された、タスクBとタスクCはそれぞれ各自のタスクの初期化処理を独立して実行する(STEP1200)。以後、プロトコル処理制御部100はタスクBとタスクCの初期化完了を待ち続ける(STEP1300)。
タスクBは初期化が完了すると起動完了をロトコル処理制御部100に通知する(SQ2210)。同様にタスクCも初期化が完了すると起動完了をプロトコル処理制御部100に通知する(SQ2220)。この時点でタスクBとタスクCの状態は「初期化中」(図5の[B])から「初期化完了」(図5の[D])へと遷移する(TR2)。
プロトコル処理制御部100はタスクBとタスクCの状態が全て「初期化完了」であることを確認した後、読み取り端末2からのデータ通信受信を許可する(STEP1400)。なお、この時点では、読み取り端末2の通信プロトコルがTypeB対応であるか、TypeCであるかは不明である。
Hereinafter, the operation of the contactless card of the present invention will be described in detail with reference to the software configuration diagram of FIG. 3, the flowchart of FIG. 4, the protocol processing state management table of FIG. 5, and the processing sequence diagram of FIG.
When the
The activated task B and task C each independently execute initialization processing of their tasks (STEP 1200). Thereafter, the protocol
When the initialization is completed, the task B notifies the protocol
After confirming that the states of task B and task C are all “initialization complete”, the protocol
次に、読み取り端末2から通信データをデータ通信部140で受信する(STEP1500、SQ2400)。データ通信部140は、受信したデータをそのプロトコル種別と共にプロトコル処理制御部100に通知する。プロトコル処理制御部100は該受信したデータのプロトコル種別に基づき、当該プロトコルに対応しないタスクを停止させ、当該プロトコルに対応するタスクを稼動中にすると共に、該受信したデータを該タスクに通知する。
例えば、データ通信部140が受信したデータがTypeBである判明した場合、すなわち読み取り装置2はTypeBのサービスを提供する場合、プロトコル処理制御部100はタスクCを停止し(STEP1610、SQ2300)、受信したデータをタスクBに対して通知する(SQ2500)。この時点でタスクBとタスクCの状態は「初期化完了」(図4の[D])から、タスクBの状態は「稼動中」、タスクCの状態は「停止」(図4の[E])へと遷移する(TR3)。
以後、電界から離れる、すなわちカード1と読み取り装置2との距離が所定距離以上となるまで、データ通信部140が受信したデータは、プロトコル処理制御部100を経由してタスクBに通知され、TypeBのプロトコル処理が行われる(STEP1611)。
Next, communication data is received from the reading terminal 2 by the data communication unit 140 (STEP 1500, SQ 2400). The
For example, when it is determined that the data received by the
Thereafter, the data received by the
そして、カード1と読み取り装置2との距離が所定距離以上となった時、出界がプロトコル処理制御部100に通知され(SQ2600)、タスクBに対してタスクの停止通知がなされる(STEP1612、SQ2700)。
この時点でタスクBとタスクCの状態は「停止」(図4の[A])へ遷移する。
上記例とは逆に、データ通信部140が受信したデータがTypeCである判明した場合、すなわち読み取り装置2はTypeCのサービスを提供する場合、プロトコル処理制御部100はタスクBを停止し(STEP162)、受信したデータをタスクCに対して通知する。
以後、電界から出界するまで、すなわちカード1と読み取り装置2との距離が所定距離以上となるまで、データ通信部140が受信したデータは、プロトコル処理制御部100を経由してタスクCに通知され、TypeCのプロトコル処理が行われる(STEP1621)、
そして、カード1と読み取り装置2との距離が所定距離以上となった時、出界がプロトコル処理制御部100に通知され、タスクCに対してタスクの停止通知がなされる(STEP1612)。
なお、新たに待ちうけプロトコルが追加された場合でも同様の処理を行うことにより目的の効果を得ることができる。
When the distance between the
At this time, the state of task B and task C transitions to “stop” ([A] in FIG. 4).
Contrary to the above example, when it is determined that the data received by the
Thereafter, the data received by the
When the distance between the
Even when a new waiting protocol is added, the intended effect can be obtained by performing the same processing.
以上説明したとおり、電界への入界の時点から、全プロトコルに対応するタスクの初期化処理を所定時間内に完了することにより、特定の非接触通信プロトコルに対する待ち受け状態を設定することなく、複数の非接触通信サービスを提供することが可能である。 As described above, by completing the initialization process of tasks corresponding to all protocols within a predetermined time from the time of entering the electric field, a plurality of settings can be made without setting a standby state for a specific non-contact communication protocol. It is possible to provide a non-contact communication service.
(実施の形態2)
上記実施の形態1においては、前記プロトコル処理制御部が、非接触通信データの受信を許可する時点は、複数のプロトコル処理部の全てが実行状態が初期化完了となった時点としている。しかしながら、タイミングによっては、複数のプロトコル処理部のうち、初期化中に読み取り装置からデータが送信されてくる場合がある。その場合、プロトコル処理を早期に開始できるにもかかわらず、実施の形態1では、全てのプロトコル処理部の初期化を待つために反応が遅れるといった問題が生じる。
そこで、複数のプロトコル処理部のうち、初期化が終了したプロトコル処理部のデータ受付を行う方法が考えられるが、この場合、初期化が終了したプロトコル処理部のデータ処理と、初期化が終了していないプロトコル処理部の初期化処理が重複し、非接触カードの処理が遅れてしまったり、さらに、1チップのハードウェアで構成されている場合、両者の処理が衝突を起こしてしまったりする。
(Embodiment 2)
In the first embodiment, the time when the protocol processing control unit permits the reception of the non-contact communication data is the time when all of the plurality of protocol processing units have completed the execution state. However, depending on the timing, data may be transmitted from the reading device during initialization among a plurality of protocol processing units. In this case, although the protocol processing can be started at an early stage, the first embodiment has a problem that the reaction is delayed because it waits for the initialization of all the protocol processing units.
Therefore, a method of accepting data of a protocol processing unit that has been initialized among a plurality of protocol processing units can be considered, but in this case, data processing of the protocol processing unit that has been initialized and initialization are completed. The initialization processing of the protocol processing unit that has not been used is duplicated, the processing of the contactless card is delayed, and if it is configured with one-chip hardware, the processing of both of them may collide.
実施の形態2は、上記課題を解決するもので、プロトコル処理制御部が、非接触通信データの受信を許可する時点は、複数のプロトコル処理部のいずれか一が実行状態が初期化完了となった時点とし、その時点で他プロトコル処理部の実行を停止することにより、非接触カードの応答をより高速に行うための技術である。 The second embodiment solves the above problem, and when the protocol processing control unit permits the reception of the non-contact communication data, one of the plurality of protocol processing units has completed the initialization state. This is a technique for performing the response of the contactless card at a higher speed by stopping the execution of the other protocol processing unit at that time.
以下本発明の実施の形態2について説明を行うが、非接触カードの利用形態、ハードウェア構成、ソフトウェア構成は、実施の形態1と同様であるので、説明を省略する。しかしながら、初期化のプロセスが異なるので、以下、図3のソフトウェア構成図、図7のフローチャート、図5のプロトコル処理状態管理表、図8の処理シーケンス図を参照して、本発明の非接触カードの動作を詳述する。
Hereinafter, Embodiment 2 of the present invention will be described. However, since the usage form, hardware configuration, and software configuration of the contactless card are the same as those in
非接触カード1が読み取り端末2に所定の距離以内に近づくと、非接触通信部120を利用した非接触カード1と読み取り端末2間で非接触通信が開始される。ここで、電界検出部130により非接触カード1が電界21に入界したことがカード内で判定される。多くの場合この判定処理はハードウェア割込みよって生じる(SQ2000)。この通知によりプロトコル処理制御部100は、タスクBとタスクCを起動する(STEP1100)。起動する順序は、所定の優先順位に基づく。本実施の形態ではタスクBがタスクCより優先度が高く設定されているとし、タスクBの起動開始後(SQ2110)、タスクCの起動開始を行う(SQ2120)。この時点でタスクBとタスクCの状態は「停止」(図5の[A])から「初期化中」(図5の[B])へと遷移する(TR1)。
起動された、タスクBとタスクCはそれぞれ各自のタスクの初期化処理を独立して実行する(STEP1200)。以後、プロトコル処理制御部100はタスクB初期化完了を優先的に待ち続ける(STEP1310)。
タスクBは初期化が完了すると起動完了をロトコル処理制御部100に通知する(SQ2210)。この時点でタスクBとタスクCの状態は「初期化中」(図5の[B])から、タスクBの状態が「初期化完了」、タスクCの状態が「初期化中」(図5の[C])へと遷移する(TR5)。
プロトコル処理制御部100はタスクB状態が「初期化完了」であることを確認した後、読み取り端末2からのデータ通信受信を許可する(STEP1400)。
When the
The activated task B and task C each independently execute initialization processing of their tasks (STEP 1200). Thereafter, the protocol
When the initialization is completed, the task B notifies the protocol
After confirming that the task B state is “initialization complete”, the protocol
ここで、タスクBはタスクCに対して優先させているので、タスクCに関して初期化完了は待たずにデータ通信受信を許可する。逆に、タスクCをタスクBに対して優先させている場合、タスクCの初期化が完了した時点でタスクBに関して初期化完了を待たずにデータ通信受信を許可することになる。
なお、この時点では、読み取り端末2の通信プロトコルがTypeB対応であるか、TypeCであるかは不明である。
Here, since task B has priority over task C, data communication reception is permitted without waiting for completion of initialization for task C. Conversely, when task C is prioritized over task B, reception of data communication is permitted without waiting for completion of initialization for task B when initialization of task C is completed.
At this time, it is unclear whether the communication protocol of the reading terminal 2 is Type B compatible or Type C.
次に、読み取り端末2から通信データをデータ通信部140で受信する(STEP1500、SQ2400)。データ通信部140は、受信したデータをそのプロトコル種別と共にプロトコル処理制御部100に通知する。プロトコル処理制御部100は該受信したデータのプロトコル種別に基づき、当該プロトコルに対応しないタスクを停止させ、当該プロトコルに対応するタスクを稼動中にすると共に、該受信したデータを該タスクに通知する。
すなわち、データ通信部140が受信したデータがTypeBである判明した場合、すなわち読み取り装置2はTypeBのサービスを提供する場合、プロトコル処理制御部100はタスクCの初期化を停止させ(STEP1610、SQ2300)、受信したデータをタスクBに対して通知する(SQ2500)。この時点でタスクBの状態は「初期化完了」、タスクCの状態は「初期化中」(図5の[C])から、タスクBの状態は「稼動中」、タスクCの状態は「停止」(図5の[E])へと遷移する(TR6)。
なお、データ通信部140が受信したデータがTypeCである判明した場合、すなわち読み取り装置2はTypeCのサービスを提供する場合、タスクCの初期化が完了していないため、プロトコル処理制御部100は特段の処理を行わない。
また、タスクB、タスクCの両方の初期化が完了したあと、データ通信部140がデータを受信する場合は、実施の形態1で説明したとおりである。
以後、電界から離れる、すなわちカード1と読み取り装置2との距離が所定距離以上となるまで、データ通信部140が受信したデータは、プロトコル処理制御部100を経由してタスクBに通知され、TypeBのプロトコル処理が行われる(STEP1611)。
Next, communication data is received from the reading terminal 2 by the data communication unit 140 (STEP 1500, SQ 2400). The
That is, when it is determined that the data received by the
Note that when the data received by the
Further, when the
Thereafter, the data received by the
そして、カード1と読み取り装置2との距離が所定距離以上となった時、出界がプロトコル処理制御部100に通知され(SQ2600)、タスクBに対してタスクの停止通知がなされる(STEP1612、SQ2700)。
この時点でタスクBとタスクCの状態は「停止」(図4の[A])へ遷移する。
以後、電界から出界するまで、すなわちカード1と読み取り装置2との距離が所定距離以上となるまで、データ通信部140が受信したデータは、プロトコル処理制御部100を経由してタスクCに通知され、TypeCのプロトコル処理が行われる(STEP1621)。
When the distance between the
At this time, the state of task B and task C transitions to “stop” ([A] in FIG. 4).
Thereafter, the data received by the
そして、カード1と読み取り装置2との距離が所定距離以上となった時、出界がプロトコル処理制御部100に通知され、タスクCに対してタスクの停止通知がなされる(STEP1612)。
なお、新たに待ちうけプロトコルが追加された場合でも同様の処理を行うことにより目的の効果を得ることができる。
When the distance between the
Even when a new waiting protocol is added, the intended effect can be obtained by performing the same processing.
以上説明したとおり、プロトコル処理制御部が、非接触通信データの受信を許可する時点は、複数のプロトコル処理部のいずれか一が実行状態が初期化完了となった時点とし、その時点で他プロトコル処理部の実行を停止することにより、非接触カードの応答をより高速に行うことが可能となる。 As described above, the time when the protocol processing control unit permits the reception of non-contact communication data is the time when one of the plurality of protocol processing units has completed the execution state, and at that time, the other protocol By stopping the execution of the processing unit, the contactless card can respond more quickly.
(実施の形態3)
上記実施の形態1と上記実施の形態2においては、前記プロトコル処理制御部100が、直接プロトコル処理部150の実行を直接指示しているが、各プロトコル処理部自身(タスクB151、タスクC152)。しかしながらプロトコル処理管理部110が管理するプロトコル状態管理表500を直接参照して、処理を実行するコトも可能である。(図9)。この場合、前記プロトコル処理制御部100が、プロトコル状態管理表500の内容を変更して、間接的にプロトコル処理部150の実行を直接指示していることになる。
また、プロトコル状態管理表500における状態管理は、上記実施の形態において説明したプロトコル制御部150の動作を規定できるものであれば方式を問わない。
(Embodiment 3)
In the first embodiment and the second embodiment, the protocol
In addition, the state management in the protocol state management table 500 may be performed by any method as long as the operation of the
本発明にかかる非接触カードは複数の非接触通信プロトコル処理部とそれらを制御する構成を有し、マルチアプリケーション対応のICカード等として有用である。 The non-contact card according to the present invention has a plurality of non-contact communication protocol processing units and a configuration for controlling them, and is useful as an IC card for multi-application.
1 非接触カード
100 プロトコル処理制御部
110 プロトコル処理状態管理部
120 非接触通信部
130 電界検出部
140 データ通信部140
150 プロトコル処理部
151 プロトコルB処理部(タスクB)
152 プロトコルC処理部(タスクC)
DESCRIPTION OF
150
152 Protocol C processor (task C)
Claims (4)
読み取り装置と非接触通信を行う非接触通信部と、
読み取り装置の発する電磁波の電界の入界と出界とを検出する電界検出部と、
非接触通信規格に依存する一のプロトコル処理を実行する複数のプロトコル処理部と、
前記プロトコル処理部の実行状態を管理するプロトコル状態管理部と、
読み取り装置と通信データを送受信するデータ通信部と、
前記電界検出部での入界検出に基づき、前記複数のプロトコル処理部の初期化の実行を指示し、さらに前記プロトコル処理部の実行状態に基づきプロトコル処理部に対する非接触通信データの受信の許可を指示するプロトコル処理制御部とを備え、
前記プロトコル処理部は、前記プロトコル処理制御部からの指示に従い前記プロトコル処理を実行することを特徴とする非接触カード。 A contactless card capable of performing contactless communication corresponding to a plurality of protocols with a reader;
A non-contact communication unit that performs non-contact communication with the reader;
An electric field detector that detects the entry and exit of the electromagnetic field generated by the reader;
A plurality of protocol processing units for executing one protocol processing depending on the non-contact communication standard;
A protocol state management unit for managing an execution state of the protocol processing unit;
A data communication unit that transmits and receives communication data to and from the reader;
Instructing execution of initialization of the plurality of protocol processing units based on the entry detection in the electric field detection unit, and further permitting the protocol processing unit to receive non-contact communication data based on the execution state of the protocol processing unit A protocol processing control unit for instructing,
The contactless card, wherein the protocol processing unit executes the protocol processing in accordance with an instruction from the protocol processing control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004283402A JP2006099324A (en) | 2004-09-29 | 2004-09-29 | Non-contact card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004283402A JP2006099324A (en) | 2004-09-29 | 2004-09-29 | Non-contact card |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006099324A true JP2006099324A (en) | 2006-04-13 |
Family
ID=36239088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004283402A Pending JP2006099324A (en) | 2004-09-29 | 2004-09-29 | Non-contact card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006099324A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100908015B1 (en) * | 2006-08-24 | 2009-07-16 | 베이징 워치데이터 시스템 컴퍼니, 엘티디. | Smart card operation system and how it works |
JP2010218453A (en) * | 2009-03-18 | 2010-09-30 | Toshiba Corp | Mobile electronic device and method of controlling mobile electronic device |
JP5925287B1 (en) * | 2014-12-26 | 2016-05-25 | 株式会社Pfu | Information processing apparatus, method, and program |
JP2016201110A (en) * | 2015-04-10 | 2016-12-01 | イーエム・ミクロエレクトロニク−マリン・エス アー | Protocol management method for passive rf identification device capable of receiving power from different power source |
JP2018152130A (en) * | 2013-09-11 | 2018-09-27 | パナソニックIpマネジメント株式会社 | Communication device and communication system |
-
2004
- 2004-09-29 JP JP2004283402A patent/JP2006099324A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100908015B1 (en) * | 2006-08-24 | 2009-07-16 | 베이징 워치데이터 시스템 컴퍼니, 엘티디. | Smart card operation system and how it works |
JP2010218453A (en) * | 2009-03-18 | 2010-09-30 | Toshiba Corp | Mobile electronic device and method of controlling mobile electronic device |
JP2018152130A (en) * | 2013-09-11 | 2018-09-27 | パナソニックIpマネジメント株式会社 | Communication device and communication system |
JP5925287B1 (en) * | 2014-12-26 | 2016-05-25 | 株式会社Pfu | Information processing apparatus, method, and program |
JP2016201110A (en) * | 2015-04-10 | 2016-12-01 | イーエム・ミクロエレクトロニク−マリン・エス アー | Protocol management method for passive rf identification device capable of receiving power from different power source |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8042743B2 (en) | IC card comprising a main device and an additional device | |
EP2106107B1 (en) | Method and apparatus for automatic near field communication application selection in an electronic device | |
JP5758120B2 (en) | Method for processing application commands from physical channels using portable electronic devices and corresponding devices and systems | |
EP2106108B1 (en) | Method and apparatus for automatic application selection in an electronic device using multiple discovery managers | |
EP2775739B1 (en) | Near-field communications and routing | |
CN103503323A (en) | Radio frequency communication method, device, and terminal equipment for near field communication | |
EP2996256B1 (en) | Method, device and system for controlling nfc radio frequency communication | |
US7726568B2 (en) | Smart card session optimization | |
EP3614570A1 (en) | Near filed communication (nfc) device and system | |
JP5413637B2 (en) | IC chip, information processing apparatus, software module control method, information processing system and method, and program | |
JP2006099324A (en) | Non-contact card | |
JP6202030B2 (en) | Authentication system, computer program for controlling authentication system, and reader used in authentication system | |
JP2003044801A (en) | Portable information processor provided with a plurality of information transmitting means | |
EP2000955B1 (en) | Caching an answer to reset (ATR) | |
WO2008104601A2 (en) | Method of managing command execution in an electronic token | |
US11677444B2 (en) | Contactless transponder and method | |
CN113988094A (en) | Contactless transponder and method | |
WO2013127868A1 (en) | Method for exchanging data between two mobile devices | |
JP2013097526A (en) | Ic chip, processing method in ic chip, processing program for ic chip, and ic card | |
JP5855816B2 (en) | IC chip, processing method in IC chip, IC chip processing program, and portable terminal | |
JP2004192253A (en) | Ic card and ic card program | |
JPH06111085A (en) | Noncontact storage medium | |
EP1973041A1 (en) | Smart card session optimization | |
JP2023146841A (en) | Information processing device and information processing method | |
EP3174213A1 (en) | Application activation in a smart device |