JP2010198208A - Contactless portable electronic device and contactless ic card - Google Patents

Contactless portable electronic device and contactless ic card Download PDF

Info

Publication number
JP2010198208A
JP2010198208A JP2009041102A JP2009041102A JP2010198208A JP 2010198208 A JP2010198208 A JP 2010198208A JP 2009041102 A JP2009041102 A JP 2009041102A JP 2009041102 A JP2009041102 A JP 2009041102A JP 2010198208 A JP2010198208 A JP 2010198208A
Authority
JP
Japan
Prior art keywords
data
writing
external device
memory
antenna unit
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
JP2009041102A
Other languages
Japanese (ja)
Inventor
Tetsuji Miyata
哲次 宮田
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 JP2009041102A priority Critical patent/JP2010198208A/en
Publication of JP2010198208A publication Critical patent/JP2010198208A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a contactless portable electronic device and a contactless IC card, wherein it is not necessary to perform data writing over again from the beginning even if an error occurs in the middle of the data writing into a memory and wherein drastic reduction effect of a processing time is expected in some writing data length. <P>SOLUTION: The contactless IC card receives an electromagnetic wave transmitted from a contactless card reader/writer, generates an operation voltage by the received electromagnetic wave to operate, performs processing of writing data into a nonvolatile memory based on a writing command transmitted from the contactless card reader/writer, and transmits the processing results thereof to the contactless card reader/writer. When the error occurs in the middle of the writing of the data into the nonvolatile memory and when the writing is normally completed to the middle, the contactless IC card adds, to a response of that effect, data indicating at least one of length of data wherein the writing is normally completed, length of data wherein the writing is not completed, and an address wherein failing in the writing into the memory, and transmits them to the contactless card reader/writer. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、たとえば、非接触型カードリーダ・ライタから送信される電磁波を受信し、この受信した電磁波により動作電圧を生成して動作するもので、非接触型カードリーダ・ライタから送信される書込みコマンドに基づき不揮発性メモリにデータを書込む処理を行ない、その処理結果を非接触型カードリーダ・ライタへ送信する非接触型ICカード(無線カードともいわれる)などの非接触型携帯可能電子装置および非接触型ICカードに関する。   The present invention operates, for example, by receiving an electromagnetic wave transmitted from a non-contact type card reader / writer and generating an operating voltage using the received electromagnetic wave, and writing transmitted from the non-contact type card reader / writer. A non-contact portable electronic device such as a non-contact type IC card (also referred to as a wireless card) which performs a process of writing data to a non-volatile memory based on a command and transmits the processing result to a non-contact type card reader / writer; The present invention relates to a non-contact type IC card.

一般に、この種の非接触型ICカードは、非接触型カードリーダ・ライタから送信される電磁波を受信し、この受信した電磁波により動作電圧を生成して動作し、非接触型カードリーダ・ライタから振幅変調方式により送信されるデータを受信し、この受信した振幅変調されたデータ波形から振幅の変化量を検出することにより受信データを復調し各種データ処理を行ない、その処理結果を非接触型カードリーダ・ライタへ送信するようになっている。   In general, this type of non-contact type IC card receives an electromagnetic wave transmitted from a non-contact type card reader / writer, generates an operating voltage using the received electromagnetic wave, and operates from the non-contact type card reader / writer. Receives data transmitted by the amplitude modulation method, detects the amount of amplitude change from the received amplitude-modulated data waveform, demodulates the received data, performs various data processing, and the processing result is a non-contact type card The data is sent to the reader / writer.

また、このような非接触型ICカードでは、コマンド(命令)やレスポンス(応答)を用いて、非接触型カードリーダ・ライタとの間でデータのやりとりを行なうようになっている。   In such a non-contact type IC card, data is exchanged with a non-contact type card reader / writer using a command or a response.

ところで、このような非接触型カードリーダ・ライタとの通信に電磁波を使用する非接触型ICカードにおいて、非接触型カードリーダ・ライタから送信される書込みコマンドに基づき不揮発性メモリにデータを書込む処理を行なう際、不揮発性メモリへのデータ書込み途中に何らかのエラーが発生した場合、非接触型ICカードの通信プロトコルに準拠している際には、書込みエラーあるいは無応答を非接触型カードリーダ・ライタへ応答することになっている(たとえば、非特許文献1、特許文献1参照)。   By the way, in such a non-contact type IC card that uses electromagnetic waves for communication with the non-contact type card reader / writer, data is written to the nonvolatile memory based on a write command transmitted from the non-contact type card reader / writer. When processing, if an error occurs during data writing to the non-volatile memory, or if it conforms to the non-contact IC card communication protocol, the non-contact type card reader It is supposed to respond to the writer (see, for example, Non-Patent Document 1 and Patent Document 1).

特開平10−63795号公報JP-A-10-63895

国際標準化規格 ISO/IEC14443International standard ISO / IEC14443

上述したように、通信に電磁波を使用する非接触型ICカードにおいて、不揮発性メモリへのデータ書込み途中にエラーが発生した場合、書込みエラーあるいは無応答を非接触型カードリーダ・ライタへ応答することになる。したがって、再度データ書込みを行なう際には、最初からやり直す必要があり、正常に書込みが終了したデータ部分を無駄にし、データ書込みに要した時間も無駄にしてしまうという問題がある。   As described above, in the non-contact type IC card that uses electromagnetic waves for communication, when an error occurs during the data writing to the nonvolatile memory, a write error or no response is returned to the non-contact type card reader / writer. become. Therefore, when data is written again, it is necessary to start over from the beginning, and there is a problem that the data portion that has been normally written is wasted and the time required for data writing is wasted.

そこで、本発明は、メモリへのデータ書込みの途中にエラーが発生しても、データ書込みを最初からやり直す必要がなく、書込みデータ長によっては大幅な処理時間の短縮効果が期待できる非接触型携帯可能電子装置および非接触型ICカードを提供することを目的とする。   Therefore, the present invention eliminates the need to start data writing from the beginning even if an error occurs during data writing to the memory, and can be expected to greatly reduce the processing time depending on the write data length. An object is to provide a possible electronic device and a non-contact type IC card.

本発明の非接触型携帯可能電子装置は、外部装置から送信される電磁波を受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記外部装置へ送信する非接触型携帯可能電子装置において、前記メモリに対するデータの書込み途中にエラーが発生し、データ書込みが途中まで正常に終了していた場合、途中まで正常に書込めた旨のレスポンスを前記外部装置へ送信する手段を具備したことを特徴とする。   The non-contact portable electronic device of the present invention operates by receiving an electromagnetic wave transmitted from an external device, generating an operating voltage from the received electromagnetic wave, and based on a write command transmitted from the external device. In the non-contact portable electronic device that performs processing for writing the data added to the write command to the memory and transmits the processing result to the external device, an error occurs during the writing of the data to the memory, When data writing has been normally completed halfway, there is provided a means for transmitting a response indicating that data has been normally written halfway to the external device.

また、本発明の非接触型ICカードは、外部装置との間で非接触による通信を行なうためのアンテナ部と、このアンテナ部と電気的に接続され、前記外部装置から送信される電磁波を前記アンテナ部を介して受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記アンテナ部を介して前記外部装置へ送信する機能を有するICチップと、前記アンテナ部および前記ICチップを一体的に収納したカード本体とを具備し、前記ICチップは、前記メモリに対するデータの書込み途中にエラーが発生し、データ書込みが途中まで正常に終了していた場合、途中まで正常に書込めた旨のレスポンスを前記アンテナ部を介して前記外部装置へ送信する手段を具備したことを特徴とする。   The non-contact type IC card of the present invention includes an antenna unit for performing non-contact communication with an external device, and an electromagnetic wave that is electrically connected to the antenna unit and transmitted from the external device. A process that operates via an antenna unit, generates an operating voltage from the received electromagnetic wave, and writes data added to the write command to the memory based on the write command transmitted from the external device. An IC chip having a function of transmitting the processing result to the external device via the antenna unit, and a card body integrally containing the antenna unit and the IC chip, If an error occurred during the writing of data to the memory and data writing was completed partway through, data could be written partway through The response via the antenna unit, characterized by comprising means for transmitting to the external device.

本発明によれば、メモリへのデータ書込みの途中にエラーが発生しても、データ書込みを最初からやり直す必要がなく、書込みデータ長によっては大幅な処理時間の短縮効果が期待できる非接触型携帯可能電子装置および非接触型ICカードを提供できる。   According to the present invention, even if an error occurs in the middle of data writing to the memory, there is no need to rewrite the data from the beginning, and a non-contact type mobile phone that can be expected to greatly reduce the processing time depending on the write data length. Possible electronic devices and contactless IC cards can be provided.

本発明の第1の実施の形態に係る非接触型携帯可能電子装置としての非接触型ICカードの構成を概略的に示すブロック図。1 is a block diagram schematically showing the configuration of a non-contact IC card as a non-contact portable electronic device according to a first embodiment of the present invention. 非接触型ICカードの外観構成を模式的に示す平面図。The top view which shows typically the external appearance structure of a non-contact-type IC card. 不揮発性メモリに対してデータ書込みを行なっている途中にエラーが発生した場合の処理を説明するフローチャート。The flowchart explaining a process when an error generate | occur | produces in the middle of writing data with respect to a non-volatile memory.

以下、本発明の実施の形態について図面を参照して説明する。
図1は、本発明に係る非接触型携帯可能電子装置としての非接触型ICカードの構成を概略的に示すものである。この非接触型ICカードは、外部装置としての非接触型カードリーダ・ライタ10との間でデータを送受信するための送受信アンテナ部11、送受信アンテナ部11で受信した非接触型カードリーダ・ライタ10からの電力波を整流回路にて整流、平滑することにより安定化された直流電圧を生成して各機能部(後述する機能部13〜19)に動作電圧として供給する電源生成部12、同じく受信した電力波から動作クロックを生成して各機能部(後述する機能部14〜19)に供給するクロック(CLK)生成部13、受信データを復調する復調部14、送信データを変調する変調部15、送受信データの通信制御や各種割込み処理などを行なうとともに各種データ処理や全体的な制御を行なう制御手段としての制御部16、制御部16の制御プログラム等があらかじめ格納されているROM(リード・オンリ・メモリ)17、一時的なデータの書込み/読出しが行なわれるRAM(ランダム・アクセス・メモリ)18、および、各種データが格納されるEEPROM(エレクトリカリ・イレーザブル・アンド・プログラマブル・リード・オンリ・メモリ)などの不揮発性メモリ19を有して構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 schematically shows a configuration of a non-contact type IC card as a non-contact type portable electronic device according to the present invention. The non-contact type IC card includes a transmission / reception antenna unit 11 for transmitting / receiving data to / from a non-contact type card reader / writer 10 as an external device, and the non-contact type card reader / writer 10 received by the transmission / reception antenna unit 11. A power generation unit 12 that generates a stabilized DC voltage by rectifying and smoothing the power wave from the rectifier circuit and supplies it as an operating voltage to each functional unit (functional units 13 to 19 to be described later). A clock (CLK) generation unit 13 that generates an operation clock from the generated power wave and supplies it to each functional unit (functional units 14 to 19 to be described later), a demodulation unit 14 that demodulates received data, and a modulation unit 15 that modulates transmission data The control unit 16 and the control unit 16 as control means for performing transmission / reception data communication control and various interrupt processing, as well as various data processing and overall control. ROM (read-only memory) 17 in which control programs and the like are stored in advance, RAM (random access memory) 18 in which temporary data writing / reading is performed, and EEPROM (in which various data are stored) Non-volatile memory 19 such as an electrically erasable and programmable read-only memory is configured.

送受信アンテナ部11は、前記したように、非接触型カードリーダ・ライタ10との間で非接触による通信を行なうためのもので、アンテナコイルLとコンデンサCとでLC共振回路を形成し、非接触型カードリーダ・ライタ10からの電磁波(13.56MHz)を効率よく受信可能な共振周波数に同調される。   As described above, the transmission / reception antenna unit 11 is for performing non-contact communication with the non-contact type card reader / writer 10, and the antenna coil L and the capacitor C form an LC resonance circuit. It is tuned to a resonance frequency at which electromagnetic waves (13.56 MHz) from the contact card reader / writer 10 can be efficiently received.

制御部16は、上記したように、送受信データの通信制御や各種割込み処理などを行なうとともに各種データ処理や全体的な制御を行なうもので、CPU(セントラル・プロセッシング・ユニット)を主体に構成されている。   As described above, the control unit 16 performs communication control of transmission / reception data, various interrupt processing, and various data processing and overall control. The control unit 16 is configured mainly by a CPU (Central Processing Unit). Yes.

送受信アンテナ部11を除く他の各機能部12〜16は、1つ(あるいは複数)のICチップ20で構成され、さらに、このICチップ20と送受信アンテナ部11とが電気的に接続された状態で一体化されてICモジュール21とされ、このICモジュール21が図2に示すようにICカード本体22内に収納(埋設)されている。   Each of the other functional units 12 to 16 excluding the transmission / reception antenna unit 11 is composed of one (or a plurality) of IC chips 20, and the IC chip 20 and the transmission / reception antenna unit 11 are electrically connected. Are integrated into an IC module 21, and the IC module 21 is housed (embedded) in the IC card body 22 as shown in FIG.

次に、上記のように構成された非接触型ICカードの基本的な動作について簡単に説明する。   Next, the basic operation of the non-contact type IC card configured as described above will be briefly described.

非接触型ICカードと非接触型カードリーダ・ライタ10との間のデータの送受信は、それぞれアンテナ部11を用いて電磁誘導方式等により行なわれる。非接触型カードリーダ・ライタ10は、非接触型ICカードへの送信データを内部で作成し、変調信号としてアンテナ部11を介して非接触型ICカードへ送信する。   Data transmission / reception between the non-contact type IC card and the non-contact type card reader / writer 10 is performed by an electromagnetic induction method using the antenna unit 11. The non-contact type card reader / writer 10 internally creates transmission data to the non-contact type IC card and transmits it as a modulation signal to the non-contact type IC card via the antenna unit 11.

通信エリア内に存在する非接触型ICカードは、アンテナ部11にて変調されたデータを受信する。受信したデータは復調部14で復調され、制御部16へ送られる。制御部16は、ROM17に格納された制御プログラムにしたがって動作し、受信データの解析や受信したデータを不揮発性メモリ19に格納するなどの処理を行なう。なお、受信データをRAM18内の送受信バッファに一旦書込むようにしてもよい。   The non-contact type IC card existing in the communication area receives data modulated by the antenna unit 11. The received data is demodulated by the demodulator 14 and sent to the controller 16. The control unit 16 operates according to the control program stored in the ROM 17 and performs processing such as analysis of received data and storing received data in the nonvolatile memory 19. The received data may be temporarily written in the transmission / reception buffer in the RAM 18.

その後、制御部16は、受信データについて、不揮発性メモリ19においてデータの読出し、書込み処理を行ない、応答のための送信データを作成する。この送信データは、制御部16から変調部15へ送られて変調され、この変調信号がアンテナ部11から非接触型カードリーダ・ライタ10へ送信される。   Thereafter, the control unit 16 reads and writes the received data in the nonvolatile memory 19 and creates transmission data for response. The transmission data is sent from the control unit 16 to the modulation unit 15 and modulated, and the modulated signal is transmitted from the antenna unit 11 to the non-contact card reader / writer 10.

次に、不揮発性メモリ19に対してデータ書込みを行なっている途中にエラーが発生した場合の処理について図3に示すフローチャートを参照して詳細に説明する。   Next, processing when an error occurs during data writing to the nonvolatile memory 19 will be described in detail with reference to the flowchart shown in FIG.

非接触型カードリーダ・ライタ10により非接触型ICカードが活性化され、その後、非接触型カードリーダ・ライタ10から非接触ICカードへ書込みコマンドが送信される。非接触型カードリーダ・ライタ10からの書込みコマンドを受信すると(ステップS1)、制御部16は、書込みコマンドで指定された通り、当該書込みコマンドに付加されたデータを不揮発性メモリ19へ書込む処理を実行する(ステップS2)。   The non-contact type IC card is activated by the non-contact type card reader / writer 10, and then a write command is transmitted from the non-contact type card reader / writer 10 to the non-contact type IC card. When receiving a write command from the non-contact type card reader / writer 10 (step S1), the control unit 16 writes data added to the write command to the nonvolatile memory 19 as specified by the write command. Is executed (step S2).

次に、制御部16は、不揮発性メモリ19へのデータ書込み処理が正常に終了したか否かをチェックし(ステップS3)、当該データ書込み処理が正常に終了すれば、その旨のレスポンス(たとえば、ステータスコード:90 00)を非接触型カードリーダ・ライタ10へ送信する(ステップS4)。   Next, the control unit 16 checks whether or not the data writing process to the non-volatile memory 19 is normally completed (step S3), and if the data writing process is normally completed, a response to that effect (for example, , Status code: 90 00) is transmitted to the non-contact type card reader / writer 10 (step S4).

ここで、ステップS3におけるチェックの具体例について説明すると、一般に非接触型カードリーダ・ライタ10からはデータが250バイトごとに送信されるので、250バイトごとにチェックが行なわれる。   Here, a specific example of the check in step S3 will be described. Generally, since data is transmitted from the non-contact type card reader / writer 10 every 250 bytes, the check is performed every 250 bytes.

ステップS3におけるチェックの結果、当該データ書込み処理が正常に終了していない場合(エラーが発生した場合)、当該データ書込み処理が途中まで正常に終了したか否かをチェックし(ステップS5)、当該データ書込み処理が途中まで正常に終了しなかった場合、その旨のレスポンス(たとえば、ステータスコード:65 81)を非接触型カードリーダ・ライタ10へ送信する(ステップS6)。   As a result of the check in step S3, if the data writing process is not completed normally (when an error occurs), it is checked whether or not the data writing process is normally completed halfway (step S5). If the data writing process does not end normally halfway, a response to that effect (for example, status code: 6581) is transmitted to the non-contact card reader / writer 10 (step S6).

ステップS5におけるチェックの結果、当該データ書込み処理が途中まで正常に終了した場合、途中まで正常に書込めた旨のレスポンス(たとえば、ステータスコード:65 81)を非接触型カードリーダ・ライタ10へ送信する(ステップS6)。   As a result of the check in step S5, when the data writing process is normally completed halfway, a response (for example, status code: 6581) indicating that the data has been normally written halfway is transmitted to the non-contact card reader / writer 10. (Step S6).

また、途中まで正常に書込めた旨のレスポンスを非接触型カードリーダ・ライタ10へ応答する際に、正常に書込みが終了したデータの長さ、書込みが終了していないデータの長さ、不揮発性メモリ19の書込みに失敗したアドレス(番地)のうち少なくともいずれか1つを示すデータを当該レスポンスに付加して非接触型カードリーダ・ライタ10へ送信するようにしてもよい。   Further, when a response indicating that data has been normally written to the middle is responded to the contactless card reader / writer 10, the length of data that has been normally written, the length of data that has not been written, and non-volatile The data indicating at least one of addresses (addresses) that failed to be written to the volatile memory 19 may be added to the response and transmitted to the contactless card reader / writer 10.

このように、不揮発性メモリ19へのデータ書込みの途中にエラーが発生し、書込みが途中まで正常に終了していた場合、途中まで正常に書込めた旨のレスポンスを非接触型カードリーダ・ライタ10へ応答することにより、データ書込みを最初からやり直す必要がなく、書込みのデータ長によっては大幅な処理時間の短縮効果が期待できる。   As described above, when an error occurs during the data writing to the nonvolatile memory 19 and the writing is normally completed halfway, a response indicating that the data can be normally written halfway is sent to the contactless card reader / writer. By responding to 10, there is no need to re-write data from the beginning, and a significant reduction in processing time can be expected depending on the data length of writing.

また、途中まで正常に書込めた旨のレスポンスを非接触型カードリーダ・ライタ10へ応答する際に、正常に書込みが終了したデータの長さを示すデータを付加することにより、再度書込みを行なう際に、非接触型カードリーダ・ライタ10から差分の書込みデータを送ることで送受信および書込みの時間を短縮できる。特に、書込みデータおよび途中まで正常に書込みが完了しているデータが長ければ長いほど有効となる。   In addition, when a response indicating that data has been normally written to the middle is responded to the non-contact type card reader / writer 10, data is written again by adding data indicating the length of data that has been normally written. At this time, the transmission / reception and writing time can be shortened by sending the difference write data from the contactless card reader / writer 10. In particular, the longer the write data and the data that has been normally written halfway, the more effective.

また、途中まで正常に書込めた旨のレスポンスを非接触型カードリーダ・ライタ10へ応答する際に、書込みが終了していないデータの長さを示すデータを付加することにより、再度書込みを行なう際に、非接触型カードリーダ・ライタ10から書込みが終了していない分の書込みデータを送ることで送受信および書込みの時間を短縮できる。特に、書込みデータおよび途中まで正常に書込みが完了しているデータが長ければ長いほど有効となる。   In addition, when a response indicating that the writing has been normally completed halfway is made to the contactless card reader / writer 10, writing is performed again by adding data indicating the length of data that has not been written. At this time, the sending / receiving and writing time can be shortened by sending the writing data for which the writing is not completed from the non-contact type card reader / writer 10. In particular, the longer the write data and the data that has been normally written halfway, the more effective.

さらに、途中まで正常に書込めた旨のレスポンスを非接触型カードリーダ・ライタ10へ応答する際に、不揮発性メモリ19の書込みに失敗したアドレスを示すデータを付加することにより、再度書込みを行なう際に、非接触型カードリーダ・ライタ10から残りの書込み開始アドレスおよびデータを送信すればよく、送受信および書込みの時間を短縮できる。特に、書込みデータおよび途中まで正常に書込みが完了しているデータが長ければ長いほど有効となる。   Further, when a response indicating that the writing has been normally completed halfway is made to the contactless card reader / writer 10, writing is performed again by adding data indicating an address in which writing to the nonvolatile memory 19 has failed. At this time, it is only necessary to transmit the remaining write start address and data from the contactless card reader / writer 10, and the transmission / reception and writing time can be shortened. In particular, the longer the write data and the data that has been normally written halfway, the more effective.

10…非接触型カードリーダ・ライタ(外部装置)、11…送受信アンテナ部、12…電源生成部、13…クロック(CLK)生成部、14…復調部、15…変調部、16…制御部(制御手段)、17…ROM、18…RAM、19…不揮発性メモリ(EEPROM)、20…ICチップ、21…ICモジュール、22…ICカード本体。   DESCRIPTION OF SYMBOLS 10 ... Non-contact-type card reader / writer (external device), 11 ... Transmission / reception antenna part, 12 ... Power supply generation part, 13 ... Clock (CLK) generation part, 14 ... Demodulation part, 15 ... Modulation part, 16 ... Control part ( Control means), 17 ... ROM, 18 ... RAM, 19 ... nonvolatile memory (EEPROM), 20 ... IC chip, 21 ... IC module, 22 ... IC card body.

Claims (4)

外部装置から送信される電磁波を受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記外部装置へ送信する非接触型携帯可能電子装置において、
前記メモリに対するデータの書込み途中にエラーが発生し、データ書込みが途中まで正常に終了していた場合、途中まで正常に書込めた旨のレスポンスを前記外部装置へ送信する手段を具備したことを特徴とする非接触型携帯可能電子装置。
Operates by receiving an electromagnetic wave transmitted from an external device and generating an operating voltage from the received electromagnetic wave. Based on a write command transmitted from the external device, data added to the write command is stored in a memory. In the non-contact portable electronic device that performs the writing process and transmits the processing result to the external device,
When an error occurs in the middle of data writing to the memory and the data writing has been normally completed halfway, there is provided means for transmitting a response to the effect that the data has been normally written to the external device. A non-contact portable electronic device.
外部装置から送信される電磁波を受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記外部装置へ送信する非接触型携帯可能電子装置において、
前記メモリに対するデータの書込みが正常に終了したか否かを判定する第1の判定手段と、
この第1の判定手段による判定の結果、前記メモリに対するデータの書込みが正常に終了した場合、その旨のレスポンスを前記外部装置へ送信する手段と、
前記第1の判定手段による判定の結果、前記メモリに対するデータの書込みが正常に終了していない場合、当該データの書込みが途中まで正常に終了したか否かを判定する第2の判定手段と、
この第2の判定手段による判定の結果、当該データの書込みが途中まで正常に終了していない場合、その旨のレスポンスを前記外部装置へ送信する手段と、
前記第2の判定手段による判定の結果、当該データの書込みが途中まで正常に終了していた場合、その旨のレスポンスに、正常に書込みが終了したデータの長さ、書込みが終了していないデータの長さ、前記メモリの書込みに失敗したアドレスのうち少なくともいずれか1つを示すデータを付加して前記外部装置へ送信する手段と、
を具備したことを特徴とする非接触型携帯可能電子装置。
Operates by receiving an electromagnetic wave transmitted from an external device and generating an operating voltage from the received electromagnetic wave. Based on a write command transmitted from the external device, data added to the write command is stored in a memory. In the non-contact portable electronic device that performs the writing process and transmits the processing result to the external device,
First determination means for determining whether or not data writing to the memory has been completed normally;
As a result of the determination by the first determination means, when writing of data to the memory is normally completed, means for transmitting a response to that effect to the external device;
As a result of the determination by the first determination means, when the data writing to the memory is not normally terminated, a second determination means for determining whether or not the data writing has been normally completed halfway;
As a result of the determination by the second determination means, if the writing of the data is not normally completed halfway, means for transmitting a response to that effect to the external device;
As a result of the determination by the second determination means, if the data writing has been normally completed halfway, the length of the data that has been normally written and the data that has not been written in the response to that effect Means for adding data indicating at least one of the length of the address and the address at which writing to the memory has failed and transmitting the data to the external device;
A non-contact type portable electronic device comprising:
外部装置との間で非接触による通信を行なうためのアンテナ部と、
このアンテナ部と電気的に接続され、前記外部装置から送信される電磁波を前記アンテナ部を介して受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記アンテナ部を介して前記外部装置へ送信する機能を有するICチップと、
前記アンテナ部および前記ICチップを一体的に収納したカード本体とを具備し、
前記ICチップは、前記メモリに対するデータの書込み途中にエラーが発生し、データ書込みが途中まで正常に終了していた場合、途中まで正常に書込めた旨のレスポンスを前記アンテナ部を介して前記外部装置へ送信する手段を具備したことを特徴とする非接触型ICカード。
An antenna unit for non-contact communication with an external device;
The antenna unit is electrically connected to the antenna unit and receives an electromagnetic wave transmitted from the external device via the antenna unit. The operating unit generates an operating voltage using the received electromagnetic wave, and is transmitted from the external unit. An IC chip having a function of performing processing for writing data added to the write command to the memory based on the write command, and transmitting the processing result to the external device via the antenna unit;
Comprising a card body integrally housing the antenna portion and the IC chip;
In the case where an error occurs during the writing of data to the memory and the data writing is normally completed halfway, the IC chip sends a response indicating that the data has been normally written halfway through the antenna unit. A non-contact type IC card comprising means for transmitting to a device.
外部装置との間で非接触による通信を行なうためのアンテナ部と、
このアンテナ部と電気的に接続され、前記外部装置から送信される電磁波を前記アンテナ部を介して受信し、この受信した電磁波により動作電圧を生成して動作するもので、前記外部装置から送信される書込みコマンドに基づき、当該書込みコマンドに付加されたデータをメモリに書込む処理を行ない、その処理結果を前記アンテナ部を介して前記外部装置へ送信する機能を有するICチップと、
前記アンテナ部および前記ICチップを一体的に収納したカード本体とを具備し、
前記ICチップは、
前記メモリに対するデータの書込みが正常に終了したか否かを判定する第1の判定手段と、
この第1の判定手段による判定の結果、前記メモリに対するデータの書込みが正常に終了した場合、その旨のレスポンスを前記アンテナ部を介して前記外部装置へ送信する手段と、
前記第1の判定手段による判定の結果、前記メモリに対するデータの書込みが正常に終了していない場合、当該データの書込みが途中まで正常に終了したか否かを判定する第2の判定手段と、
この第2の判定手段による判定の結果、当該データの書込みが途中まで正常に終了していない場合、その旨のレスポンスを前記アンテナ部を介して前記外部装置へ送信する手段と、
前記第2の判定手段による判定の結果、当該データの書込みが途中まで正常に終了していた場合、その旨のレスポンスに、正常に書込みが終了したデータの長さ、書込みが終了していないデータの長さ、前記メモリの書込みに失敗したアドレスのうち少なくともいずれか1つを示すデータを付加して前記アンテナ部を介して前記外部装置へ送信する手段と、
を具備したことを特徴とする非接触型ICカード。
An antenna unit for non-contact communication with an external device;
The antenna unit is electrically connected to the antenna unit and receives an electromagnetic wave transmitted from the external device via the antenna unit. The operating unit generates an operating voltage using the received electromagnetic wave, and is transmitted from the external unit. An IC chip having a function of performing processing for writing data added to the write command to the memory based on the write command, and transmitting the processing result to the external device via the antenna unit;
Comprising a card body integrally housing the antenna portion and the IC chip;
The IC chip is
First determination means for determining whether or not data writing to the memory has been completed normally;
As a result of the determination by the first determination means, when the data writing to the memory is normally completed, means for transmitting a response to that effect to the external device via the antenna unit;
As a result of the determination by the first determination means, when the data writing to the memory is not normally terminated, a second determination means for determining whether or not the data writing has been normally completed halfway;
As a result of the determination by the second determination means, if the writing of the data is not normally completed halfway, means for transmitting a response to that effect to the external device via the antenna unit;
As a result of the determination by the second determination means, if the data writing has been normally completed halfway, the length of the data that has been normally written and the data that has not been written in the response to that effect Means for adding data indicating at least any one of the length and the address in which writing to the memory has failed and transmitting the data to the external device via the antenna unit;
A non-contact type IC card comprising:
JP2009041102A 2009-02-24 2009-02-24 Contactless portable electronic device and contactless ic card Withdrawn JP2010198208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009041102A JP2010198208A (en) 2009-02-24 2009-02-24 Contactless portable electronic device and contactless ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009041102A JP2010198208A (en) 2009-02-24 2009-02-24 Contactless portable electronic device and contactless ic card

Publications (1)

Publication Number Publication Date
JP2010198208A true JP2010198208A (en) 2010-09-09

Family

ID=42822888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009041102A Withdrawn JP2010198208A (en) 2009-02-24 2009-02-24 Contactless portable electronic device and contactless ic card

Country Status (1)

Country Link
JP (1) JP2010198208A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013171394A (en) * 2012-02-20 2013-09-02 Toshiba Corp Ic card, manufacturing method of ic card, issuance method of ic card, and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013171394A (en) * 2012-02-20 2013-09-02 Toshiba Corp Ic card, manufacturing method of ic card, issuance method of ic card, and information processing method

Similar Documents

Publication Publication Date Title
EP1675034B1 (en) Transmission and reception apparatus and transmission and reception method
JP4896837B2 (en) Portable electronic device and method for controlling portable electronic device
US20070253251A1 (en) Ic module and cellular phone
EP1845475A1 (en) Communication medium, communication medium processing apparatus, and communication medium processing system
KR101825326B1 (en) Portable electronic device
US20100243738A1 (en) Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices
JP3929761B2 (en) Semiconductor device operation control method, semiconductor device operation control program, recording medium recording semiconductor device operation control program, semiconductor device, and IC card
JP2009223827A (en) Information storing medium and information storing medium processing apparatus
JP2010218453A (en) Mobile electronic device and method of controlling mobile electronic device
KR101549531B1 (en) / reader/writer communication processing device communication processing method data management system and communication system
US20120234926A1 (en) Portable electronic apparatus
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP2010198208A (en) Contactless portable electronic device and contactless ic card
JP5444138B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE
JP2007257543A (en) Composite portable electronic equipment and composite ic card
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
JP2011065477A (en) Mobile electronic device
JP5693824B2 (en) IC card processing device, IC card, and IC card processing system
JP7433886B2 (en) IC cards and IC card control programs
JP5214510B2 (en) Wireless tag with display
JP2011022840A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP2010224690A (en) Non-contact portable electronic equipment, non-contact ic card, and non-contact ic card system
JP7366765B2 (en) Control program for IC cards, IC card processing systems, and IC card processing devices
JP2013125400A (en) Ic card, portable electronic device, and control program for ic card
JP5875772B2 (en) Portable electronic device, control method for portable electronic device, and processing system for portable electronic device

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: 20120501