JP2011150597A - Communication apparatus, medium and method - Google Patents

Communication apparatus, medium and method Download PDF

Info

Publication number
JP2011150597A
JP2011150597A JP2010012283A JP2010012283A JP2011150597A JP 2011150597 A JP2011150597 A JP 2011150597A JP 2010012283 A JP2010012283 A JP 2010012283A JP 2010012283 A JP2010012283 A JP 2010012283A JP 2011150597 A JP2011150597 A JP 2011150597A
Authority
JP
Japan
Prior art keywords
command
information
communication
response
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010012283A
Other languages
Japanese (ja)
Inventor
Yoshihisa Hanada
好久 花田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010012283A priority Critical patent/JP2011150597A/en
Publication of JP2011150597A publication Critical patent/JP2011150597A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication apparatus that is superior in shortening command processing time due to the occurrence of a reception error. <P>SOLUTION: The communication apparatus includes: a communication means that communicates with a communication medium; and a communication control means that transmits first information including a command to the communication medium by the communication means and transmits second information including a response request and the command in response to detection of the reception error from the communication medium to the command. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ICカード等の通信媒体と通信する通信装置に関する。また、本発明は、オペレータが操作する通信端末等の通信装置と通信する通信媒体に関する。また、本発明は、これら通信装置及び通信媒体に適用可能な通信方法に関する。   The present invention relates to a communication device that communicates with a communication medium such as an IC card. The present invention also relates to a communication medium that communicates with a communication device such as a communication terminal operated by an operator. The present invention also relates to a communication method applicable to these communication apparatuses and communication media.

近年、様々な機能を備えたICカードが登場している。例えば、金属端子等により構成される接触インターフェースと電波を送受信するためのアンテナ等により構成される非接触インターフェースを備えたICカードが登場している(特許文献1参照)。   In recent years, IC cards having various functions have appeared. For example, an IC card having a contact interface composed of metal terminals and a non-contact interface composed of an antenna for transmitting and receiving radio waves has appeared (see Patent Document 1).

また、複数の通信プロトコルに対応可能なICカードも登場している。例えばTCP/IPとISO7816のどちらの通信プロトコルにも対応可能なICカードが提案されている(特許文献2参照)。   In addition, IC cards capable of supporting a plurality of communication protocols have also appeared. For example, an IC card that can handle both TCP / IP and ISO7816 communication protocols has been proposed (see Patent Document 2).

これらICカードの登場によりICカードの用途は広がり、例えば、ICカードは、クレジットカード、定期券、旅券、免許証、その他の商取引の決済に使われるだけでなく、社員証、会員証、保険証などのIDカードとしても様々な分野で使われるようになっている。   With the advent of these IC cards, the use of IC cards has expanded. For example, IC cards are not only used for payment of credit cards, commuter passes, passports, licenses, and other commercial transactions, but also employee cards, membership cards, insurance cards. It is also used in various fields as an ID card.

例えば、ICカードを処理する端末は、ICカードに対してコマンドを送信し、ICカードからのコマンド実行結果(レスポンス)を待つ。ICカードは、端末から送信されるコマンドを受信し、受信コマンドに基づく動作を実行し、コマンド実行結果(レスポンス)を端末へ送信する。   For example, a terminal that processes an IC card transmits a command to the IC card and waits for a command execution result (response) from the IC card. The IC card receives a command transmitted from the terminal, executes an operation based on the received command, and transmits a command execution result (response) to the terminal.

ICカードと端末とがコマンドを送受信する場合、受信エラーが発生することがあり、非接触通信の場合、受信エラー発生の傾向は高くなる。例えば、端末が、ICカードからのレスポンスの受信エラーを検出すると、端末は、ICカードに対して応答要求を送信する。ICカードは、端末からの応答要求を受信し、レスポンスの受信エラーの発生を検出し、端末に対してコマンド再送要求を送信する。端末は、ICカードからのコマンド再送要求を受信すると、ICカードに対してコマンドを再送信する。ICカードは、端末から再送信されたコマンドを受信し、受信コマンドに基づく動作を実行し、コマンド実行結果を端末へ送信する。   When the IC card and the terminal transmit / receive a command, a reception error may occur. In the case of non-contact communication, the tendency for the reception error to occur becomes high. For example, when the terminal detects a reception error of a response from the IC card, the terminal transmits a response request to the IC card. The IC card receives a response request from the terminal, detects the occurrence of a response reception error, and transmits a command retransmission request to the terminal. When the terminal receives a command retransmission request from the IC card, the terminal retransmits the command to the IC card. The IC card receives the command retransmitted from the terminal, executes an operation based on the received command, and transmits the command execution result to the terminal.

このように、受信エラーが発生すると、端末とICカードとの間の通信処理が増えて、結果的にコマンド処理時間が長くなることがある。ICカード事業者又はICカードユーザからは、より使い勝手の良いICカードが要求されており、コマンド処理時間の短縮化は重要である。   As described above, when a reception error occurs, communication processing between the terminal and the IC card increases, and as a result, the command processing time may become long. IC card providers or IC card users demand IC cards that are more convenient to use, and shortening the command processing time is important.

特開2005−216234号公報JP 2005-216234 A 特開2004−151864号公報JP 2004-151864 A

しかしながら、上記した特許文献1、2の何れにも、上記したような受信エラー発生に起因したコマンド処理時間の短縮化に関する技術は開示されていない。   However, neither of the above-mentioned Patent Documents 1 and 2 discloses a technique related to shortening the command processing time caused by the occurrence of the reception error as described above.

本発明の目的は、受信エラー発生に起因したコマンド処理時間の短縮化に優れた通信装置、通信媒体、及び通信方法を提供することにある。   An object of the present invention is to provide a communication device, a communication medium, and a communication method that are excellent in shortening a command processing time due to occurrence of a reception error.

本発明の一実施形態係る通信装置は、通信媒体と通信する通信手段と、前記通信手段により前記通信媒体に対してコマンドを含む第1の情報を送信し、前記コマンドに対する前記通信媒体からの応答の受信エラーの検出に対応して、応答要求及び前記コマンドを含む第2の情報を送信する通信制御手段と、を備える。   A communication apparatus according to an embodiment of the present invention includes: a communication unit that communicates with a communication medium; and the communication unit transmits first information including a command to the communication medium, and a response from the communication medium to the command. Communication control means for transmitting a response request and second information including the command in response to detection of a reception error.

本発明の一実施形態係る通信媒体は、通信装置と通信する通信手段と、前記通信手段により前記通信装置からの第1の処理識別情報及びコマンドを含む第1の情報の受信エラーの検出に対応して、第2の処理識別情報を更新せずに維持し、前記通信手段により前記通信装置からの前記第1の処理識別情報、応答要求、及び前記コマンドを含む第2の情報を受信した場合、前記第2の情報に含まれた前記コマンドに対応した処理を実行し、コマンド実行結果を送信し、前記第2の処理識別情報を第3の処理識別情報へ更新する応答処理を実行するコマンド処理手段と、を備える。   A communication medium according to an embodiment of the present invention supports communication means for communicating with a communication apparatus, and detection of an error in receiving first information including first processing identification information and a command from the communication apparatus by the communication means. The second process identification information is maintained without being updated, and the communication means receives the first information including the first process identification information, the response request, and the command from the communication device. A command for executing a process corresponding to the command included in the second information, transmitting a command execution result, and executing a response process for updating the second process identification information to the third process identification information And a processing means.

本発明の一実施形態係る通信方法は、通信媒体に対してコマンドを含む第1の情報を送信し、前記コマンドに対する前記通信媒体からの応答の受信エラーの検出に対応して、応答要求及び前記コマンドを含む第2の情報を送信する。   A communication method according to an embodiment of the present invention transmits first information including a command to a communication medium, and responds to detection of an error in receiving a response from the communication medium with respect to the command. The second information including the command is transmitted.

本発明によれば、受信エラー発生に起因したコマンド処理時間の短縮化に優れた通信装置、通信媒体、及び通信方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the communication apparatus, the communication medium, and the communication method which were excellent in shortening of the command processing time resulting from reception error generation can be provided.

本発明の一実施形態に係るICカードシステムの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of an IC card system according to an embodiment of the present invention. 図1に示すICカードシステムのカードリーダ/ライタの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the card reader / writer of the IC card system shown in FIG. 図1に示すICカードシステムのICカードの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the IC card of the IC card system shown in FIG. 第1のエラー処理(ICカードがコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。It is a figure which shows an example of 1st error processing (error processing when an IC card cannot receive a command correctly). 第2のエラー処理(ICカードがコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。It is a figure which shows an example of 2nd error processing (error processing when an IC card cannot receive a command correctly). 第3のエラー処理(端末がコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。It is a figure which shows an example of the 3rd error process (error process when a terminal cannot receive a command correctly). 第4のエラー処理(端末がコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。It is a figure which shows an example of the 4th error process (error process when a terminal cannot receive a command correctly).

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

図1は、本発明の一実施形態に係るICカードシステム(別称、スマートカードシステム)の概略構成を示すブロック図である。図1に示すように、ICカードシステムは、端末1(通信装置)及びICカード2(通信媒体)により構成される。端末1は、本体(上位装置)11、ディスプレイ12、キーボード13、カードリーダ/ライタ14を備えている。端末1はICカード2と通信可能に構成されており、端末1はICカード2に対してデータを送信したり、ICカード2からのデータを受信したりする。   FIG. 1 is a block diagram showing a schematic configuration of an IC card system (also called a smart card system) according to an embodiment of the present invention. As shown in FIG. 1, the IC card system includes a terminal 1 (communication device) and an IC card 2 (communication medium). The terminal 1 includes a main body (upper apparatus) 11, a display 12, a keyboard 13, and a card reader / writer 14. The terminal 1 is configured to be communicable with the IC card 2, and the terminal 1 transmits data to the IC card 2 and receives data from the IC card 2.

本体11は、複数の通信方式及び複数のアプリケーションを選択的に実行することができる。ディスプレイ12は、ICカード2との通信結果及び認証結果等を表示する。キーボード13は、本体11に対して文字や数字等を入力する。カードリーダ/ライタ14は、ICカード2と通信する。   The main body 11 can selectively execute a plurality of communication methods and a plurality of applications. The display 12 displays a result of communication with the IC card 2 and an authentication result. The keyboard 13 inputs characters and numbers to the main body 11. The card reader / writer 14 communicates with the IC card 2.

なお、本実施形態では、ICカード2が、非接触式のカードであるケースについて説明するが、ICカード2は、非接触式及び接触式の両者をサポートするコンビ型のカードであってもよい。   In this embodiment, the case where the IC card 2 is a non-contact type card will be described. However, the IC card 2 may be a combination type card that supports both the non-contact type and the contact type. .

図2は、本発明の一実施形態に係るカードリーダ/ライタ14の概略構成を示すブロック図である。図2に示すように、カードリーダ/ライタ14は、アンテナ141、通信I/F142、CPU143、データメモリ144、RAM145、ROM146を備えている。CPU143は、例えば通信制御手段として機能し、ICカード2に対してコマンドを含む情報の送信を制御したり、ICカード2からの応答の受信エラー(タイムアウト又はエラーチェックコードに基づくエラー)を検出したり、後述するBlock Numberの設定、維持、及び更新を制御したりする。また、データメモリ144は、設定、維持、又は更新されるBlock Numberを記憶する。   FIG. 2 is a block diagram showing a schematic configuration of the card reader / writer 14 according to one embodiment of the present invention. As shown in FIG. 2, the card reader / writer 14 includes an antenna 141, a communication I / F 142, a CPU 143, a data memory 144, a RAM 145, and a ROM 146. The CPU 143 functions as a communication control unit, for example, and controls transmission of information including a command to the IC card 2 or detects a reception error (an error based on a timeout or error check code) of a response from the IC card 2. Or setting, maintaining, and updating of a block number, which will be described later. Further, the data memory 144 stores a Block Number that is set, maintained, or updated.

図3は、本発明の一実施形態に係るICカードの概略構成を示すブロック図である。図3に示すように、ICカード2は、例えばプラスチックカードであり、ICチップ20(ICモジュール)を備え、ICチップ20は、通信I/F201、CPU204、データメモリ205、RAM206、ROM207を備えている。さらに、図3に示すように、ICカード2は、アンテナ21を備えている。CPU204は、例えばコマンド処理手段として機能し、端末1から送信されるコマンドを解釈し、実行したり、端末2に対してコマンド実行結果の返信を制御したり、後述するBlock Numberの設定、維持、及び更新を制御したりする。また、データメモリ205は、設定、維持、又は更新されるBlock Numberを記憶する。   FIG. 3 is a block diagram showing a schematic configuration of an IC card according to an embodiment of the present invention. As shown in FIG. 3, the IC card 2 is a plastic card, for example, and includes an IC chip 20 (IC module). The IC chip 20 includes a communication I / F 201, a CPU 204, a data memory 205, a RAM 206, and a ROM 207. Yes. Further, as shown in FIG. 3, the IC card 2 includes an antenna 21. The CPU 204 functions as, for example, a command processing unit, interprets and executes a command transmitted from the terminal 1, controls a return of a command execution result to the terminal 2, sets and maintains a block number to be described later, And control updates. Further, the data memory 205 stores a Block Number that is set, maintained, or updated.

次に、エラーの発生が無いケースのコマンド処理の一例について説明する。   Next, an example of command processing in the case where no error occurs will be described.

例えば、上記した端末1(CPU143、通信I/F142、アンテナ141)は、初期値としてBlock Number = 0(処理識別情報 = 0)を設定し、ICカード2に対して第1のコマンドを含む第1の情報を送信し、ICカード2からの第1のコマンド実行結果(レスポンス)を待つ。第1の情報は、設定されたBlock Number = 0、第1のコマンド、エラーチェックコードなどを含む。エラーチェックコードは、第1の情報に含まれたデータのエラーをチェックするために利用されるコードであり、例えば、エラーチェックコードとして、CRC(Cyclic Redundancy Check)コード又はパリティコードがある。   For example, the terminal 1 (CPU 143, communication I / F 142, antenna 141) described above sets Block Number = 0 (processing identification information = 0) as an initial value, and includes the first command including the first command for the IC card 2. 1 information is transmitted, and the first command execution result (response) from the IC card 2 is waited for. The first information includes the set Block Number = 0, the first command, an error check code, and the like. The error check code is a code used for checking an error in the data included in the first information. For example, the error check code includes a CRC (Cyclic Redundancy Check) code or a parity code.

ICカード2(CPU204、通信I/F201、アンテナ21)は、初期値としてBlock Number = 1(処理識別情報 = 1)を設定し、端末1から送信される第1のコマンドを受信し、第1のコマンドを解釈、実行し、Block Number = 1をBlock Number = 0へ更新し、第1のコマンド実行結果(レスポンス)を端末1へ送信する。第1のコマンド実行結果は、更新されたBlock Number = 0、エラーチェックコードなどを含む。エラーチェックコードは、第1のコマンド実行結果に含まれたデータのエラーをチェックするために利用されるコードであり、例えば、エラーチェックコードとして、CRCコード又はパリティコードがある。   The IC card 2 (CPU 204, communication I / F 201, antenna 21) sets Block Number = 1 (processing identification information = 1) as an initial value, receives the first command transmitted from the terminal 1, and receives the first command The command is interpreted and executed, Block Number = 1 is updated to Block Number = 0, and the first command execution result (response) is transmitted to the terminal 1. The first command execution result includes the updated Block Number = 0, error check code, and the like. The error check code is a code used for checking an error of data included in the first command execution result. For example, the error check code includes a CRC code or a parity code.

端末1(CPU143、通信I/F142、アンテナ141)は、ICカード2からの第1のコマンド実行結果(レスポンス)を受信し、Block Number = 0をBlock Number = 1へ更新し、ICカード2に対して第2のコマンドを含む第2の情報を送信し、ICカード2からの第2のコマンド実行結果(レスポンス)を待つ。第2の情報は、更新されたBlock Number = 1、第2のコマンド、エラーチェックコードなどを含む。   The terminal 1 (CPU 143, communication I / F 142, antenna 141) receives the first command execution result (response) from the IC card 2 and updates Block Number = 0 to Block Number = 1. On the other hand, the second information including the second command is transmitted, and the second command execution result (response) from the IC card 2 is awaited. The second information includes the updated Block Number = 1, the second command, an error check code, and the like.

なお、端末1とICカード2とが通信し、上記したように、端末1の初期値として設定されるBlock Numberと、ICカード2の初期値として設定されるBlock Numberとは、異なる値となる。また、端末1で設定されたBlock Numberは、処理の進行とともに“0”→“1”→“0”と切り替わるフラグであり、同様に、ICカード2で設定されたBlock Numberも、処理の進行とともに、“1”→“0”→“1”と切り替わるフラグである。   The terminal 1 and the IC card 2 communicate with each other, and as described above, the block number set as the initial value of the terminal 1 and the block number set as the initial value of the IC card 2 are different values. . The block number set in the terminal 1 is a flag that switches from “0” → “1” → “0” as the process proceeds. Similarly, the block number set in the IC card 2 also progresses. At the same time, the flag is switched from “1” → “0” → “1”.

例えば、上記したように、端末1は、初期値としてBlock Number = 0 を設定し、ICカード2に対する最初のコマンド送信処理では、初期値としてのBlock Number = 0を維持し、2回目以降のコマンド送信処理では、コマンド送信処理に応じてBlock Numberを“0”→“1”→“0”と切り替える。一方のICカードは、初期値としてBlock Number = 1 を設定し、端末1に対する最初のレスポンス送信処理では、初期値としてのBlock Number = 1を維持し、2回目以降のレスポンス送信処理では、レスポンス送信処理に応じてBlock Numberを“1”→“0”→“1”と切り替える。これにより、正常なコマンド処理では、端末1から送信される所定コマンドに含まれるBlock Numberと、ICカード2から前記所定コマンドに対するレスポンスに含まれるBlock Numberとが、同じになる。   For example, as described above, the terminal 1 sets Block Number = 0 as the initial value, and maintains the Block Number = 0 as the initial value in the first command transmission process to the IC card 2, and the second and subsequent commands In the transmission process, the block number is switched from “0” → “1” → “0” in accordance with the command transmission process. One IC card sets Block Number = 1 as an initial value, maintains Block Number = 1 as the initial value in the first response transmission process for terminal 1, and transmits a response in the second and subsequent response transmission processes. The block number is switched from “1” → “0” → “1” according to the processing. Thereby, in normal command processing, the Block Number included in the predetermined command transmitted from the terminal 1 and the Block Number included in the response to the predetermined command from the IC card 2 are the same.

次に、図4〜図8を参照して、第1〜第4のエラー処理の一例について説明する。なお、図4〜図7に示す略記はISOに従った記載で、略記の意味は、以下の通りである。   Next, an example of the first to fourth error processing will be described with reference to FIGS. The abbreviations shown in FIGS. 4 to 7 are descriptions according to ISO, and the meanings of the abbreviations are as follows.

PCB:Protocol Control Byte
CID:Card Identifier
NAD:Node Address
INF:Information Field
CRC:Cyclic Redundancy Check
C-APDU:Command Application Protocol Data
I-Block:Information Block
R-APDU:Response Application Protocol Data
R-Block:Receive ready Block
最初に、図4を参照して、第1のエラー処理について説明する。図4は、第1のエラー処理(ICカード2がコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。この第1のエラー処理は、ISO1443-4に規定されているコマンド送受信時の通信処理に対応する。
PCB: Protocol Control Byte
CID: Card Identifier
NAD: Node Address
INF: Information Field
CRC: Cyclic Redundancy Check
C-APDU: Command Application Protocol Data
I-Block: Information Block
R-APDU: Response Application Protocol Data
R-Block: Receive ready Block
First, the first error processing will be described with reference to FIG. FIG. 4 is a diagram illustrating an example of first error processing (error processing when the IC card 2 cannot receive a command correctly). This first error processing corresponds to communication processing at the time of command transmission / reception defined in ISO1443-4.

上記した端末1とICカード2との通信方式がT=CLプロトコルの場合、図4に示すように、仮に、ICカード2が、端末1から送信される第1の情報(第1のコマンド)を正しく受信できなかった場合、ICカード2(CPU204)は、受信エラーを検出し無応答状態となる。このとき、ICカード2は、初期値として設定されたBlock Number = 1を更新せずに維持する。なお、図4のケースでは、第1の情報は、端末1において初期値として設定されたBlock Number = 0 を含むPCB、CID、NAD、INF、CRCにより構成されており、ICカード2は、端末1から送信される第1の情報に含まれたエラーチェックコード(例えばCRCコード)に基づいて受信エラーを検出している。   When the communication method between the terminal 1 and the IC card 2 is the T = CL protocol, the first information (first command) transmitted from the terminal 1 is temporarily assumed by the IC card 2 as shown in FIG. IC card 2 (CPU 204) detects a reception error and enters a no-response state. At this time, the IC card 2 maintains the Block Number = 1 set as the initial value without updating it. In the case of FIG. 4, the first information is composed of PCB, CID, NAD, INF, CRC including Block Number = 0 set as an initial value in the terminal 1, and the IC card 2 A reception error is detected based on an error check code (for example, a CRC code) included in the first information transmitted from 1.

上記したように、ICカード2が無応答状態となると、端末1(CPU143)は、ICカード2に対してコマンドを送信した後、レスポンスの受信エラー(レスポンスのタイムアウト)を検出し、端末1は、ICカード2に対して、PCB、CID、CRCにより構成される応答要求を送信する。応答要求のPCBは、初期値として設定されたBlock Number = 0を含む。   As described above, when the IC card 2 enters a non-response state, the terminal 1 (CPU 143) detects a response reception error (response timeout) after transmitting a command to the IC card 2, and the terminal 1 Then, a response request composed of PCB, CID, and CRC is transmitted to the IC card 2. The PCB of the response request includes Block Number = 0 set as an initial value.

ICカード2は、応答要求を受信し、前回に正しく受信できなかった第1の情報に含まれたBlock Number = 0と、今回受信した応答要求に含まれたBlock Number = 0とが同一であることから(Block Numberが切り替わっていないことから)、コマンド受信異常に対応した応答要求であることを認識し、また、初期値として設定されたICカード2のBlock Numberが更新されていないことから、コマンド受信異常に対応した応答要求であることを認識し、端末1に対して、PCB、CID、CRCにより構成されるコマンド再送要求を送信する。   The IC card 2 receives the response request, and Block Number = 0 included in the first information that was not correctly received last time is the same as Block Number = 0 included in the response request received this time. Therefore (because the Block Number has not been switched), it is recognized that the response request corresponds to the command reception error, and the Block Number of the IC card 2 set as the initial value is not updated. Recognizing that it is a response request corresponding to command reception abnormality, a command retransmission request composed of PCB, CID, and CRC is transmitted to the terminal 1.

端末1は、ICカード2からのコマンド再送要求を受信し、ICカード2に対して、再び第1の情報を送信する。第1の情報は、端末1において初期値として設定されたBlock Number = 0 を含むPCB、CID、NAD、INF、CRCにより構成されている。   The terminal 1 receives the command retransmission request from the IC card 2 and transmits the first information again to the IC card 2. The first information is composed of PCB, CID, NAD, INF, and CRC including Block Number = 0 set as an initial value in the terminal 1.

上記した第1のエラー処理では、端末1とICカード2との間の通信処理が増えるため、結果的にコマンド処理時間が長くなることがある。   In the first error processing described above, communication processing between the terminal 1 and the IC card 2 increases, and as a result, the command processing time may be long.

そこで、図5を参照して説明する第2のエラー処理により、コマンド処理時間の短縮化を図ることができる。以下、第2のエラー処理について説明する。   Therefore, the command processing time can be shortened by the second error processing described with reference to FIG. Hereinafter, the second error processing will be described.

上記した端末1とICカード2との通信方式がT=CLプロトコルの場合、図5に示すように、仮に、ICカード2が、端末1から送信される第1の情報(第1のコマンド)を正しく受信できなかった場合、ICカード2(CPU204)は、受信エラーを検出し無応答状態となる。このとき、ICカード2は、初期値として設定されたBlock Number = 1を更新せずに維持する。なお、図5のケースでは、第1の情報は、端末1において初期値として設定されたBlock Number = 0 を含むPCB、CID、NAD、INF、CRCにより構成されており、ICカード2は、端末1から送信される第1の情報に含まれたエラーチェックコード(例えばCRCコード)に基づいて受信エラーを検出している。   When the communication method between the terminal 1 and the IC card 2 is the T = CL protocol, the first information (first command) transmitted from the terminal 1 is temporarily assumed by the IC card 2 as shown in FIG. IC card 2 (CPU 204) detects a reception error and enters a no-response state. At this time, the IC card 2 maintains the Block Number = 1 set as the initial value without updating it. In the case of FIG. 5, the first information is composed of PCB, CID, NAD, INF, CRC including Block Number = 0 set as an initial value in the terminal 1, and the IC card 2 A reception error is detected based on an error check code (for example, a CRC code) included in the first information transmitted from 1.

上記したように、ICカード2が無応答状態となると、端末1(CPU143)は、ICカード2に対してコマンドを送信した後、レスポンスの受信エラー(レスポンスのタイムアウト)を検出する。このとき、端末1は、ICカード2に対して、応答要求及び第1のコマンドを含む第2の情報を送信する。第2の情報は、PCB、CID、PCB、CID、NAD、INF、CRC等により構成されている。具体的には、第2の情報は、初期値として設定されたBlock Number = 0、応答要求、及び第1のコマンド、エラーチェックコードなどを含む。エラーチェックコードは、第2の情報に含まれたデータのエラーをチェックするために利用されるコードである。   As described above, when the IC card 2 enters a no-response state, the terminal 1 (CPU 143) detects a response reception error (response timeout) after transmitting a command to the IC card 2. At this time, the terminal 1 transmits the second information including the response request and the first command to the IC card 2. The second information is composed of PCB, CID, PCB, CID, NAD, INF, CRC, and the like. Specifically, the second information includes Block Number = 0 set as an initial value, a response request, a first command, an error check code, and the like. The error check code is a code used for checking an error in the data included in the second information.

ICカード2は、第2の情報を受信し、前回に正しく受信できなかった第1の情報に含まれたBlock Number = 0と、今回受信した第2の情報に含まれたBlock Number = 0とが同一であることから(Block Numberが切り替わっていないことから)、コマンド受信異常に対応した応答要求であることを認識し、また、初期値として設定されたICカード2のBlock Numberが更新されていないことから、コマンド受信異常に対応した応答要求であることを認識する。ICカード2は、第2の情報に含まれた第1のコマンドを解釈し、実行し、Block Number = 1をBlock Number = 0へ更新し、Block Number = 0を含む第1のコマンド実行結果(レスポンス)を端末1へ送信する。第1のコマンド実行結果は、例えばPCB、CID、NAD、INF、CRCにより構成されている。   The IC card 2 receives the second information, and Block Number = 0 included in the first information that was not correctly received last time, and Block Number = 0 included in the second information received this time. Are the same (because the Block Number is not switched), it is recognized that the response request corresponds to the command reception error, and the Block Number of the IC card 2 set as the initial value is updated. Therefore, it is recognized that the response request corresponds to an abnormal command reception. The IC card 2 interprets and executes the first command included in the second information, updates Block Number = 1 to Block Number = 0, and executes the first command execution result including Block Number = 0 ( Response) to the terminal 1. The first command execution result is composed of, for example, PCB, CID, NAD, INF, and CRC.

このように、第2のエラー処理では、端末1が、応答要求とコマンドとを併せて送信し、ICカード2が、応答要求とコマンドとを併せて受信し、コマンドを解釈し実行しコマンド実行結果を返信することができる。よって、第2のエラー処理は、第1のエラー処理に比べて、端末1とICカード2との間の通信処理(時間)を減らすことができ、結果的にコマンド処理時間の短縮化を図ることができる。また、第2のエラー処理は、第1のエラー処理に比べて、通信処理(時間)を減らすことができるので、消費電力を抑えることもできる。   As described above, in the second error processing, the terminal 1 transmits the response request and the command together, and the IC card 2 receives the response request and the command together, interprets and executes the command, and executes the command. The result can be returned. Therefore, the second error process can reduce the communication process (time) between the terminal 1 and the IC card 2 compared to the first error process, and consequently shortens the command processing time. be able to. In addition, since the second error process can reduce the communication process (time) compared to the first error process, power consumption can also be suppressed.

次に、図6を参照して、第3のエラー処理について説明する。図6は、第3のエラー処理(端末1がコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。この第3のエラー処理は、ISO1443-4に規定されているコマンド送受信時の通信処理である。   Next, the third error process will be described with reference to FIG. FIG. 6 is a diagram illustrating an example of third error processing (error processing when the terminal 1 cannot correctly receive a command). The third error process is a communication process at the time of command transmission / reception defined in ISO1443-4.

ICカード2が、端末1から送信される第1の情報(第1のコマンド)を正しく受信すると、ICカード2は、第1のコマンドを解釈、実行し、初期値として設定されたBlock Number = 1をBlock Number = 0へ更新し、第1のコマンド実行結果(レスポンス)を端末1へ送信する。第1のコマンド実行結果は、更新されたBlock Number = 0、エラーチェックコードなどを含む。なお、ICカード2は、この第1のコマンド実行結果を所定期間にわたり記憶する。図6のケースでは、第1の情報は、端末1において初期値として設定されたBlock Number = 0 を含むPCB、CID、NAD、INF、CRCにより構成されており、ICカード2は、端末1から送信される第1の情報に含まれたエラーチェックコード(例えばCRCコード)に基づいて受信エラーを検出している。また、第1のコマンド実行結果は、ICカード2において初期値として設定されたBlock Number = 1 を含むPCB、CID、NAD、INF、CRCにより構成されている。   When the IC card 2 correctly receives the first information (first command) transmitted from the terminal 1, the IC card 2 interprets and executes the first command, and Block Number = set as the initial value = 1 is updated to Block Number = 0, and the first command execution result (response) is transmitted to the terminal 1. The first command execution result includes the updated Block Number = 0, error check code, and the like. The IC card 2 stores the first command execution result for a predetermined period. In the case of FIG. 6, the first information is composed of PCB, CID, NAD, INF, and CRC including Block Number = 0 set as an initial value in the terminal 1, and the IC card 2 is transmitted from the terminal 1. A reception error is detected based on an error check code (for example, CRC code) included in the transmitted first information. Further, the first command execution result is composed of PCB, CID, NAD, INF, and CRC including Block Number = 1 set as an initial value in the IC card 2.

仮に、端末1が、ICカード2から送信された第1のコマンド実行結果を正しく受信できなかった場合、端末1は、受信エラーを検出し、ICカード1に対してPCB、CID、CRCにより構成された応答要求を送信する。応答要求のPCBは、端末1において初期値として設定されたBlock Number = 0を含む。なお、図6のケースでは、端末1が、ICカード2から送信される第1のコマンド実行結果に含まれたエラーチェックコード(例えばCRCコード)に基づいて受信エラーを検出している。   If the terminal 1 cannot correctly receive the first command execution result transmitted from the IC card 2, the terminal 1 detects a reception error and configures the IC card 1 with PCB, CID, and CRC. Send the requested response. The PCB of the response request includes Block Number = 0 set as an initial value in the terminal 1. In the case of FIG. 6, the terminal 1 detects a reception error based on an error check code (for example, a CRC code) included in the first command execution result transmitted from the IC card 2.

ICカード2は、端末1からの応答要求を受信し、前回受信した第1の情報に含まれたBlock Number = 0と、今回受信した応答要求に含まれたBlock Number = 0とが同一であることから(Block Numberが切り替わっていないことから)、コマンド受信異常に対応した応答要求であることを認識し、また、初期値として設定されたICカード2のBlock Numberが更新されていることから、端末2側のコマンド受信異常であることを認識し、第1の情報に含まれた第1のコマンドに対応した処理は実行済みと判断し、第1のコマンドに対応した処理を実行せずに、記憶した第1のコマンド実行結果を端末1へ送信する。このように、ICカード2は、第1のコマンドに対応した処理を実行しないので、Block Numberも更新せずに、Block Number = 0を維持する。よって、第1のコマンド実行結果は、Block Number = 0を含む。   The IC card 2 receives the response request from the terminal 1, and Block Number = 0 included in the first information received last time is the same as Block Number = 0 included in the response request received this time. Therefore (because the Block Number has not been switched), it is recognized that the response request corresponds to the command reception abnormality, and the Block Number of the IC card 2 set as the initial value has been updated. Recognizing that the terminal 2 side command reception is abnormal, it is determined that the process corresponding to the first command included in the first information has been executed, and the process corresponding to the first command is not executed. The stored first command execution result is transmitted to the terminal 1. Thus, since the IC card 2 does not execute the process corresponding to the first command, the Block Number is not updated and the Block Number = 0 is maintained. Therefore, the first command execution result includes Block Number = 0.

端末1は、ICカード2からの第1のコマンド実行結果を受信する。端末1は、第1のコマンド実行結果を正しく受信することができると、初期値として設定されたBlock Number = 0をBlock Number = 1へ更新し、ICカード2に対して第2のコマンドを含む第2の情報を送信する。第2の情報は、更新されたBlock Number = 1、第2のコマンド、及びエラーチェックコードなどを含む。   The terminal 1 receives the first command execution result from the IC card 2. If the terminal 1 can correctly receive the first command execution result, the terminal 1 updates Block Number = 0 set as the initial value to Block Number = 1, and includes the second command for the IC card 2. Send the second information. The second information includes the updated Block Number = 1, the second command, the error check code, and the like.

ICカード2は、端末1からの第2の情報を正しく受信することができると、第2の情報に含まれた第2のコマンドを解釈、実行し、Block Number = 1をBlock Number = 0へ更新し、第2のコマンド実行結果(レスポンス)を端末1へ送信する。第2のコマンド実行結果は、更新されたBlock Number = 0、エラーチェックコードなどを含む。なお、ICカード2は、この第2のコマンド実行結果を所定期間にわたり記憶する。   When the IC card 2 can correctly receive the second information from the terminal 1, the IC card 2 interprets and executes the second command included in the second information, and changes Block Number = 1 to Block Number = 0. The second command execution result (response) is transmitted to the terminal 1. The second command execution result includes the updated Block Number = 0, error check code, and the like. The IC card 2 stores the second command execution result for a predetermined period.

次に、図7を参照して、第4のエラー処理について説明する。図7は、第4のエラー処理(端末1がコマンドを正しく受信できなかった場合のエラー処理)の一例を示す図である。   Next, the fourth error processing will be described with reference to FIG. FIG. 7 is a diagram illustrating an example of fourth error processing (error processing when the terminal 1 cannot correctly receive a command).

ICカード2が、端末1から送信される第1の情報(第1のコマンド)を正しく受信すると、ICカード2は、第1のコマンドを解釈、実行し、初期値として設定されたBlock Number = 1をBlock Number = 0へ更新し、第1のコマンド実行結果(レスポンス)を端末1へ送信する。第1のコマンド実行結果は、更新されたBlock Number = 0、エラーチェックコードなどを含む。なお、ICカード2は、この第1のコマンド実行結果を所定期間にわたり記憶する。図7のケースでは、第1の情報は、端末1において初期値として設定されたBlock Number = 0 を含むPCB、CID、NAD、INF、CRCにより構成されており、ICカード2は、端末1から送信される第1の情報に含まれたエラーチェックコード(例えばCRCコード)に基づいて受信エラーを検出している。また、第1のコマンド実行結果は、ICカード2において初期値として設定されたBlock Number = 1 を含むPCB、CID、NAD、INF、CRCにより構成されている。   When the IC card 2 correctly receives the first information (first command) transmitted from the terminal 1, the IC card 2 interprets and executes the first command, and Block Number = set as the initial value = 1 is updated to Block Number = 0, and the first command execution result (response) is transmitted to the terminal 1. The first command execution result includes the updated Block Number = 0, error check code, and the like. The IC card 2 stores the first command execution result for a predetermined period. In the case of FIG. 7, the first information is composed of PCB, CID, NAD, INF, and CRC including Block Number = 0 set as an initial value in the terminal 1, and the IC card 2 is from the terminal 1. A reception error is detected based on an error check code (for example, CRC code) included in the transmitted first information. Further, the first command execution result is composed of PCB, CID, NAD, INF, and CRC including Block Number = 1 set as an initial value in the IC card 2.

仮に、端末1が、ICカード2から送信された第1のコマンド実行結果を正しく受信できなかった場合、端末1は、受信エラーを検出し、ICカード1に対して応答要求及び第1のコマンドを含む第2の情報を送信する。第2の情報は、PCB、CID、PCB、CID、NAD、INF、CRC等により構成されている。具体的には、第2の情報は、端末1において初期値として設定されたBlock Number = 0を含む。   If the terminal 1 cannot correctly receive the first command execution result transmitted from the IC card 2, the terminal 1 detects a reception error and sends a response request to the IC card 1 and the first command. 2nd information including is transmitted. The second information is composed of PCB, CID, PCB, CID, NAD, INF, CRC, and the like. Specifically, the second information includes Block Number = 0 set as an initial value in the terminal 1.

ICカード2は、端末1からの第2の情報を受信し、前回受信した第1の情報に含まれたBlock Number = 0と、今回受信した第2の情報に含まれたBlock Number = 0とが同一であることから(Block Numberが切り替わっていないことから)、コマンド受信異常に対応した応答要求であることを認識し、また、初期値として設定されたICカード2のBlock Numberが更新されていることから、端末2側のコマンド受信異常であることを認識し、第1の情報に含まれた第1のコマンドに対応した処理は実行済みと判断し、第1のコマンドに対応した処理を実行せずに、記憶した第1のコマンド実行結果を端末1へ送信する。このように、ICカード2は、第1のコマンドに対応した処理を実行しないので、Block Numberも更新せずに、Block Number = 0を維持する。よって、第1のコマンド実行結果は、Block Number = 0を含む。   The IC card 2 receives the second information from the terminal 1, and Block Number = 0 included in the first information received last time and Block Number = 0 included in the second information received this time Are the same (because the Block Number is not switched), it is recognized that the response request corresponds to the command reception error, and the Block Number of the IC card 2 set as the initial value is updated. Therefore, the terminal 2 recognizes that the command reception is abnormal, determines that the process corresponding to the first command included in the first information has been executed, and performs the process corresponding to the first command. The stored first command execution result is transmitted to the terminal 1 without executing it. Thus, since the IC card 2 does not execute the process corresponding to the first command, the Block Number is not updated and the Block Number = 0 is maintained. Therefore, the first command execution result includes Block Number = 0.

端末1は、ICカード2からの第1のコマンド実行結果を受信する。端末1は、第1のコマンド実行結果を正しく受信することができると、初期値として設定されたBlock Number = 0をBlock Number = 1へ更新し、ICカード2に対して第2のコマンドを含む第3の情報を送信する。第3の情報は、更新されたBlock Number = 1、第2のコマンド、及びエラーチェックコードなどを含む。   The terminal 1 receives the first command execution result from the IC card 2. If the terminal 1 can correctly receive the first command execution result, the terminal 1 updates Block Number = 0 set as the initial value to Block Number = 1, and includes the second command for the IC card 2. Send third information. The third information includes the updated Block Number = 1, the second command, the error check code, and the like.

ICカード2は、端末1からの第3の情報を正しく受信することができると、第2の情報に含まれた第2のコマンドを解釈、実行し、Block Number = 1をBlock Number = 0へ更新し、第2のコマンド実行結果(レスポンス)を端末1へ送信する。第2のコマンド実行結果は、更新されたBlock Number = 0、エラーチェックコードなどを含む。なお、ICカード2は、この第2のコマンド実行結果を所定期間にわたり記憶する。   When the IC card 2 can correctly receive the third information from the terminal 1, the IC card 2 interprets and executes the second command included in the second information, and changes Block Number = 1 to Block Number = 0. The second command execution result (response) is transmitted to the terminal 1. The second command execution result includes the updated Block Number = 0, error check code, and the like. The IC card 2 stores the second command execution result for a predetermined period.

このように、第4のエラー処理により、端末1が、応答要求とコマンドとを併せて送信し、ICカード2が、応答要求とコマンドとを併せて受信しても、コマンドを実行することなく、記憶したコマンド実行結果を返信することができる。これにより、ICカード2は、応答要求とコマンドとを併せて受信した場合に、適切に対応することができる。   As described above, even if the terminal 1 transmits the response request and the command together and the IC card 2 receives the response request and the command together by the fourth error processing, the command is not executed. The stored command execution result can be returned. Thereby, the IC card 2 can appropriately cope with the response request and the command received together.

なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。   Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. In addition, the embodiments may be appropriately combined as much as possible, and in that case, the combined effect can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.

1…端末、2…ICカード、3…ICカードホルダ、11…本体、12…ディスプレイ、13…キーボード、14…カードリーダ/ライタ、20…ICチップ、21…アンテナ、141…アンテナ、142…通信I/F、143…CPU、144…データメモリ、145…RAM、146…ROM、201…通信I/F、204…CPU、205…データメモリ、206…RAM、207…ROM DESCRIPTION OF SYMBOLS 1 ... Terminal, 2 ... IC card, 3 ... IC card holder, 11 ... Main body, 12 ... Display, 13 ... Keyboard, 14 ... Card reader / writer, 20 ... IC chip, 21 ... Antenna, 141 ... Antenna, 142 ... Communication I / F, 143 ... CPU, 144 ... data memory, 145 ... RAM, 146 ... ROM, 201 ... communication I / F, 204 ... CPU, 205 ... data memory, 206 ... RAM, 207 ... ROM

Claims (11)

通信媒体と通信する通信手段と、
前記通信手段により前記通信媒体に対してコマンドを含む第1の情報を送信し、前記コマンドに対する前記通信媒体からの応答の受信エラーの検出に対応して、応答要求及び前記コマンドを含む第2の情報を送信する通信制御手段と、
を備えた通信装置。
A communication means for communicating with the communication medium;
First information including a command is transmitted to the communication medium by the communication means, and in response to detection of a reception error in a response from the communication medium to the command, a second request including the response request and the command Communication control means for transmitting information;
A communication device comprising:
前記通信制御手段は、前記コマンドに対する前記通信媒体からの応答の受信待ち時間のタイムアウトの検出に対応して、前記第2の情報を送信することを特徴とする請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication control unit transmits the second information in response to detection of a timeout of a reception waiting time for a response from the communication medium to the command. 前記通信制御手段は、前記コマンドに対する前記通信媒体からの応答に含まれたエラーチェックコードに基づくエラー検出に対応して、前記第2の情報を送信することを特徴とする請求項1に記載の通信装置。   The said communication control means transmits the said 2nd information corresponding to the error detection based on the error check code contained in the response from the said communication medium with respect to the said command, The said 2nd information is transmitted. Communication device. 前記通信制御手段は、前記受信エラーの検出前に送信する前記第1の情報に含まれた第1の処理識別情報と、前記受信エラーの検出後に送信する前記第2の情報に含まれた第2の処理識別情報とを同一の処理識別情報に制御することを特徴とする請求項1に記載の通信装置。   The communication control means includes first processing identification information included in the first information transmitted before detection of the reception error, and second information included in the second information transmitted after detection of the reception error. The communication apparatus according to claim 1, wherein the two process identification information is controlled to be the same process identification information. 通信装置と通信する通信手段と、
前記通信手段により前記通信装置からの第1の処理識別情報及びコマンドを含む第1の情報の受信エラーの検出に対応して、第2の処理識別情報を更新せずに維持し、前記通信手段により前記通信装置からの前記第1の処理識別情報、応答要求、及び前記コマンドを含む第2の情報を受信した場合、前記第2の情報に含まれた前記コマンドに対応した処理を実行し、コマンド実行結果を送信し、前記第2の処理識別情報を第3の処理識別情報へ更新する応答処理を実行するコマンド処理手段と、
を備えた通信媒体。
A communication means for communicating with the communication device;
Corresponding to the detection of the reception error of the first information including the first process identification information and the command from the communication device by the communication means, the second process identification information is maintained without being updated, and the communication means When the second information including the first process identification information, the response request, and the command is received from the communication device, the process corresponding to the command included in the second information is executed. Command processing means for transmitting a command execution result and executing a response process for updating the second process identification information to the third process identification information;
A communication medium with
通信装置と通信する通信手段と、
前記通信手段により前記通信装置からの第1の処理識別情報及びコマンドを含む第1の情報の受信に対応して、前記第1の情報に含まれた前記コマンドに対応した処理を実行し、第2の処理識別情報を第3の処理識別情報へ更新し、コマンド実行結果を送信する第1の応答処理を実行し、前記通信手段により前記通信装置からの前記第1の処理識別情報、応答要求、及び前記コマンドを含む第2の情報を受信した場合、前記第2の情報に含まれた前記コマンドに対応した処理を実行することなく、前記コマンド実行結果を送信する第2の応答処理を実行するコマンド処理手段と、
を備えた通信媒体。
A communication means for communicating with the communication device;
In response to the reception of the first information including the first process identification information and the command from the communication device by the communication means, the process corresponding to the command included in the first information is executed, Update the process identification information of 2 to the third process identification information, execute a first response process for transmitting a command execution result, and execute the first process identification information and response request from the communication device by the communication means. When the second information including the command is received, the second response process for transmitting the command execution result is executed without executing the process corresponding to the command included in the second information. Command processing means to
A communication medium with
前記コマンド処理手段は、前記第2の応答処理において前記第3の処理識別情報を更新せずに維持することを特徴とする請求項6に記載の通信媒体。   The communication medium according to claim 6, wherein the command processing unit maintains the third process identification information without updating in the second response process. 前記コマンド処理手段は、前記第2の情報を受信した場合に、前記第1の情報に含まれた前記第1の処理識別情報と前記第2の情報に含まれた前記第1の処理識別情報とが同一であり、且つ前記第2の処理識別情報が前記第3の処理識別情報へ更新されていることから、前記第2の応答処理を実行することを特徴とする請求項6に記載の通信媒体。   When the command processing means receives the second information, the command processing means includes the first processing identification information included in the first information and the first processing identification information included in the second information. And the second response processing is executed because the second processing identification information is updated to the third processing identification information. Communication medium. 通信媒体に対してコマンドを含む第1の情報を送信し、
前記コマンドに対する前記通信媒体からの応答の受信エラーの検出に対応して、応答要求及び前記コマンドを含む第2の情報を送信する通信方法。
Sending first information including a command to the communication medium;
A communication method for transmitting a response request and second information including the command in response to detection of an error in receiving a response to the command from the communication medium.
通信装置からの第1の処理識別情報及びコマンドを含む第1の情報の受信エラーの検出に対応して、第2の処理識別情報を更新せずに維持し、
前記通信装置からの前記第1の処理識別情報、応答要求、及び前記コマンドを含む第2の情報を受信した場合、前記第2の情報に含まれた前記コマンドに対応した処理を実行し、前記第2の処理識別情報を第3の処理識別情報へ更新し、コマンド実行結果を送信する応答処理を実行する通信方法。
Corresponding to the detection of the reception error of the first information including the first process identification information and the command from the communication device, the second process identification information is maintained without being updated,
When receiving the first process identification information, the response request, and the second information including the command from the communication device, execute the process corresponding to the command included in the second information, A communication method for executing a response process for updating the second process identification information to the third process identification information and transmitting a command execution result.
通信装置からの第1の処理識別情報及びコマンドを含む第1の情報の受信に対応して、前記第1の情報に含まれた前記コマンドに対応した処理を実行し、コマンド実行結果を送信する第1の応答処理を実行し、第2の処理識別情報を第3の処理識別情報へ更新する第1の応答処理を実行し、
前記通信装置からの前記第1の処理識別情報、応答要求、及び前記コマンドを含む第2の情報を受信し、前記第2の情報に含まれた前記コマンドに対応した処理を実行することなく、前記コマンド実行結果を送信する第2の応答処理を実行する通信方法。
In response to receiving the first processing identification information and the first information including the command from the communication device, the processing corresponding to the command included in the first information is executed, and the command execution result is transmitted. Execute the first response process, execute the first response process to update the second process identification information to the third process identification information,
Without receiving the first process identification information, the response request, and the second information including the command from the communication device, and executing the process corresponding to the command included in the second information, A communication method for executing a second response process for transmitting the command execution result.
JP2010012283A 2010-01-22 2010-01-22 Communication apparatus, medium and method Withdrawn JP2011150597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010012283A JP2011150597A (en) 2010-01-22 2010-01-22 Communication apparatus, medium and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010012283A JP2011150597A (en) 2010-01-22 2010-01-22 Communication apparatus, medium and method

Publications (1)

Publication Number Publication Date
JP2011150597A true JP2011150597A (en) 2011-08-04

Family

ID=44537500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010012283A Withdrawn JP2011150597A (en) 2010-01-22 2010-01-22 Communication apparatus, medium and method

Country Status (1)

Country Link
JP (1) JP2011150597A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014002471A (en) * 2012-06-15 2014-01-09 Toshiba Corp Ic card processor and ic card
JP2014071522A (en) * 2012-09-27 2014-04-21 Dainippon Printing Co Ltd Ic card, ic card processing program, and communication method
US9356736B2 (en) 2013-09-18 2016-05-31 Kabushiki Kaisha Toshiba Portable electronic device and IC card processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014002471A (en) * 2012-06-15 2014-01-09 Toshiba Corp Ic card processor and ic card
JP2014071522A (en) * 2012-09-27 2014-04-21 Dainippon Printing Co Ltd Ic card, ic card processing program, and communication method
US9356736B2 (en) 2013-09-18 2016-05-31 Kabushiki Kaisha Toshiba Portable electronic device and IC card processing device

Similar Documents

Publication Publication Date Title
US10892798B2 (en) Communication apparatus, communication method, and program for exchanging data with a target
EP2681694B1 (en) Smartcard performance enhancement circuits and systems
TWI474645B (en) Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available
US20120135693A1 (en) Communication apparatus, communication method, and program
EP2797026B1 (en) Portable electronic device
EP3242494B1 (en) Nfc-based communication device and method
US9615196B2 (en) NFC device configuration after device power up
JP4984774B2 (en) RF tag reader and retransmission control method
JP2018152130A (en) Communication device and communication system
JP2011150597A (en) Communication apparatus, medium and method
US10931331B2 (en) Communication device and method
EP2717193B1 (en) IC card, portable electronic device, and reader/ writer
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP6241340B2 (en) Information processing apparatus, information processing method, and information processing program
US9948752B2 (en) Default data packet routing in a NFC device
JP5306079B2 (en) IC card, IC card processing device, and IC card processing system
JP2011150661A (en) Portable electronic device and portable electronic device control method
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
US9070065B2 (en) IC card, portable electronic apparatus, and controlling method of IC card
JP2008276572A (en) Non-contact ic card
JP2011022840A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP2011198106A (en) Portable electronic device
JP2005084926A (en) Ic card and ic card issuing device
JP2010198208A (en) Contactless portable electronic device and contactless ic card
JP2012150708A (en) Portable electronic device, information processing method, and ic card

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130402