JP2012003547A - Portable electronic device, communication system and communication method used for portable electronic device - Google Patents

Portable electronic device, communication system and communication method used for portable electronic device Download PDF

Info

Publication number
JP2012003547A
JP2012003547A JP2010138587A JP2010138587A JP2012003547A JP 2012003547 A JP2012003547 A JP 2012003547A JP 2010138587 A JP2010138587 A JP 2010138587A JP 2010138587 A JP2010138587 A JP 2010138587A JP 2012003547 A JP2012003547 A JP 2012003547A
Authority
JP
Japan
Prior art keywords
frames
maximum number
communication
portable electronic
electronic device
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.)
Granted
Application number
JP2010138587A
Other languages
Japanese (ja)
Other versions
JP5534969B2 (en
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 JP2010138587A priority Critical patent/JP5534969B2/en
Publication of JP2012003547A publication Critical patent/JP2012003547A/en
Application granted granted Critical
Publication of JP5534969B2 publication Critical patent/JP5534969B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable electronic device, a communication system and a communication method used for the portable electronic device which can efficiently perform communication.SOLUTION: A portable electronic device which communicates with an external device comprises: communication means; setting means; and changing means. The communication means transmits and receives data in frame units. The setting means sets a initial value of maximum frame number which can be successively transmitted and received by the communication means. When a frame received by the communication means from the external device includes parameters which indicates the maximum frame number, the changing means changes the maximum frame number set by the setting means based on the parameters.

Description

この発明の実施形態は、ICカードなどの携帯可能電子装置、通信システムおよび携帯可能電子装置に用いられる通信方法に関する。   Embodiments described herein relate generally to a portable electronic device such as an IC card, a communication system, and a communication method used for the portable electronic device.

ICカードなどの携帯可能電子装置は、端末装置とデータ通信を行うことにより様々な処理を実行する。携帯可能電子装置と端末装置との通信方式には、フレーム単位に分けたデータを送受信するものがある。フレーム単位のデータを送受信する通信方式では、1回に送受信可能な最大フレーム数を最初に設定しておき、最大フレーム数以内のフレームでデータを送受信する。しかしながら、1回に送受信可能な最大フレーム数が固定である場合、実際に送受信するデータのサイズに応じた効率的な通信が難しいことがある。   A portable electronic device such as an IC card performs various processes by performing data communication with a terminal device. Some communication methods between portable electronic devices and terminal devices transmit and receive data divided into frame units. In a communication method for transmitting and receiving data in frame units, the maximum number of frames that can be transmitted and received at a time is set first, and data is transmitted and received in frames within the maximum number of frames. However, when the maximum number of frames that can be transmitted and received at a time is fixed, efficient communication according to the size of data that is actually transmitted and received may be difficult.

ETSI TS102613(v7.6.0)ETSI TS102613 (v7.6.0)

この発明の一形態は、効率的に通信を行うことができる携帯可能電子装置、通信システムおよび携帯可能電子装置に用いられる通信方法を提供することを目的とする。   An object of one embodiment of the present invention is to provide a portable electronic device, a communication system, and a communication method used for the portable electronic device that can efficiently communicate.

この発明の一形態としての携帯可能電子装置は、外部装置と通信するものであって、通信手段、設定手段、および変更手段を有する。通信手段は、フレーム単位でデータを送受信する。設定手段は、通信手段により連続して送受信可能な最大フレーム数の初期値を設定する。変更手段は、通信手段により外部装置から受信したフレームに最大フレーム数を示すパラメータを含む場合、前記パラメータに基づいて前記設定手段により設定されている最大フレーム数を変更する。   A portable electronic device according to one aspect of the present invention communicates with an external device and includes a communication unit, a setting unit, and a changing unit. The communication means transmits and receives data in units of frames. The setting means sets an initial value of the maximum number of frames that can be continuously transmitted and received by the communication means. The changing means changes the maximum number of frames set by the setting means based on the parameter when the frame received from the external device by the communication means includes a parameter indicating the maximum number of frames.

図1は、ICカードおよびICカードシステムの構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an IC card and an IC card system. 図2は、端末装置の一例としての携帯電話機の構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a mobile phone as an example of a terminal device. 図3は、ICカードと端末装置とが送受信するフレームの例を示す図である。FIG. 3 is a diagram illustrating an example of a frame transmitted and received between the IC card and the terminal device. 図4は、ICカードと端末装置とによる通信手順の例を示すシーケンス図である。FIG. 4 is a sequence diagram illustrating an example of a communication procedure between the IC card and the terminal device. 図5は、ICカードにおける通信処理の流れを説明するためのフローチャートである。FIG. 5 is a flowchart for explaining the flow of communication processing in the IC card.

以下、実施の形態について図面を参照して詳細に説明する。
図1は、携帯可能電子装置としてのICカード1と端末装置2とを有するICカードシステムの構成例を示すブロック図である。
図1に示すICカードシステムは、ICカード1と端末装置2とが双方向にデータの送受信を行う通信システムである。たとえば、ICカードシステムは、ICカード1が端末装置2としての携帯電話機に装着される運用形態が想定される。このような運用形態では、端末装置2にICカード1が装着された状態でICカード1と端末装置2とがデータ通信を行う。また、ICカード1と端末装置2との通信方式は、たとえば、SWP通信などの全2重通信である。
Hereinafter, embodiments will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing a configuration example of an IC card system having an IC card 1 as a portable electronic device and a terminal device 2.
The IC card system shown in FIG. 1 is a communication system in which an IC card 1 and a terminal device 2 transmit and receive data bidirectionally. For example, the IC card system is assumed to have an operation mode in which the IC card 1 is mounted on a mobile phone as the terminal device 2. In such an operation mode, the IC card 1 and the terminal device 2 perform data communication in a state where the IC card 1 is attached to the terminal device 2. The communication method between the IC card 1 and the terminal device 2 is full duplex communication such as SWP communication.

ICカード1は、端末装置2からの電源供給により動作する。たとえば、上記ICカード1は、上記端末装置2と物理的、電気的に接触して通信を行う接触式の携帯可能電子装置(接触式ICカード)である。ただし、上記ICカード1は、アンテナあるいは無線通信部等により上記端末装置2と非接触の状態で無線通信を行う非接触式の携帯可能電子装置(非接触式ICカード)であっても良い。さらには、上記ICカード1は、非接触式ICカードとしての通信機能と接触式ICカードとしての通信機能とを有する複合型のICカード(デュアルインターフェースICカード)であっても良い。   The IC card 1 operates by supplying power from the terminal device 2. For example, the IC card 1 is a contact-type portable electronic device (contact IC card) that communicates with the terminal device 2 in physical and electrical contact. However, the IC card 1 may be a non-contact portable electronic device (non-contact IC card) that performs wireless communication in a non-contact state with the terminal device 2 using an antenna or a wireless communication unit. Furthermore, the IC card 1 may be a composite IC card (dual interface IC card) having a communication function as a non-contact IC card and a communication function as a contact IC card.

図1に示すように、上記ICカード1は、制御部(CPU)11、プログラムメモリ12、ワーキングメモリ13、データメモリ14、通信制御部15、電源部16、および、インターフェース17などを有する。
上記ICカード1は、カード状の本体Cにより構成される。上記ICカード1を形成するカード状の本体Cには、1つ(あるいは複数)のICチップ1aとインターフェース17とが埋設される。上記ICチップ1aは、制御部(CPU)11、プログラムメモリ12、ワーキングメモリ13、データメモリ14、通信制御部15および電源部16などを有している。上記ICチップ1aは、上記インターフェース17に接続された状態でモジュール化され、当該ICカード1を形成するカード状の本体C内に埋設される。
As shown in FIG. 1, the IC card 1 includes a control unit (CPU) 11, a program memory 12, a working memory 13, a data memory 14, a communication control unit 15, a power supply unit 16, an interface 17, and the like.
The IC card 1 is composed of a card-shaped main body C. One (or a plurality) of IC chips 1 a and an interface 17 are embedded in the card-like main body C forming the IC card 1. The IC chip 1a includes a control unit (CPU) 11, a program memory 12, a working memory 13, a data memory 14, a communication control unit 15, a power supply unit 16, and the like. The IC chip 1a is modularized while being connected to the interface 17, and is embedded in a card-like main body C that forms the IC card 1.

上記制御部11は、ICカード1全体の制御を司る。上記制御部11は、CPUなどのプロセッサを有する。上記制御部11は、上記プログラムメモリ12あるいはデータメモリ14に記憶されている制御プログラムおよび制御データなどに基づいて動作する。たとえば、上記制御部11は、上記プログラムメモリ12に記憶されている動作を司る制御プログラムを実行することにより、端末装置2から与えられるコマンドに応じた処理を実行する。上記制御部11は、時間を計時するタイマ11aを有する。タイマ11aは、たとえば、応答データの送信タイミングを計る。   The control unit 11 controls the entire IC card 1. The control unit 11 includes a processor such as a CPU. The control unit 11 operates based on a control program and control data stored in the program memory 12 or the data memory 14. For example, the control unit 11 executes a process according to a command given from the terminal device 2 by executing a control program that controls the operation stored in the program memory 12. The control unit 11 includes a timer 11a that measures time. For example, the timer 11a measures the transmission timing of response data.

上記プログラムメモリ12は、読み出し専用のメモリ(ROM:リードオンリーメモリ)により構成される。上記プログラムメモリ12は、当該ICカード1の仕様に応じた動作を司る制御プログラムおよび制御データなどを記憶する。   The program memory 12 is constituted by a read-only memory (ROM: read-only memory). The program memory 12 stores a control program, control data, and the like that control operations according to the specifications of the IC card 1.

上記ワーキングメモリ13は、揮発性のメモリ(RAM;ランダムアクセスメモリ)により構成される。上記ワーキングメモリ13は、データを一時保管するバッファメモリとして機能する。例えば、上記ワーキングメモリ13には、端末装置2との通信処理において、送受信されるデータを一時的に保管する通信バッファとして利用可能である。また、上記ワーキングメモリ13は、種々の書込みデータなどを一時的に保持するメモリとしても利用される。   The working memory 13 is composed of a volatile memory (RAM; random access memory). The working memory 13 functions as a buffer memory for temporarily storing data. For example, the working memory 13 can be used as a communication buffer that temporarily stores data to be transmitted and received in communication processing with the terminal device 2. The working memory 13 is also used as a memory for temporarily holding various write data.

上記データメモリ(不揮発性メモリ)14は、データの書き込みが可能な不揮発性のメモリである。上記データメモリ14は、例えば、EEPROMあるいはフラッシュメモリなどにより構成される。上記データメモリ14には、当該ICカード1の使用目的に応じた種々の情報(アプリケーションプログラムおよび運用データなど)が書込まれる。当該ICカード1が複数の使用目的に使用される場合、上記データメモリ14には、各使用目的に応じた複数のアプリケーションが記憶される。   The data memory (nonvolatile memory) 14 is a nonvolatile memory capable of writing data. The data memory 14 is composed of, for example, an EEPROM or a flash memory. In the data memory 14, various information (application program, operation data, etc.) according to the purpose of use of the IC card 1 is written. When the IC card 1 is used for a plurality of usage purposes, the data memory 14 stores a plurality of applications corresponding to the usage purposes.

上記通信制御部15は、上記インターフェース17を介して端末装置2とのデータ通信を制御するものである。当該ICカード1が接触式ICカードである場合、通信制御部15は、端末装置2と物理的・電気的に接触するコンタクト部としてのインターフェース17を介してデータを送受信する。なお、非接触型のICカードであれば、上記通信制御部15は、インターフェース17としてのアンテナにより送受信するデータを変調あるいは復調する。   The communication control unit 15 controls data communication with the terminal device 2 via the interface 17. When the IC card 1 is a contact IC card, the communication control unit 15 transmits and receives data via the interface 17 as a contact unit that physically and electrically contacts the terminal device 2. In the case of a non-contact type IC card, the communication control unit 15 modulates or demodulates data to be transmitted / received by an antenna as the interface 17.

上記電源部16は、当該ICカード1の各部を動作させるための電力およびクロックパルスを供給する。たとえば、当該ICカード1が接触型のICカードである場合、上記電源部16は、インターフェース17を介して外部装置から直接的に供給される電力およびクロックパルスを各部へ供給する。なお、当該ICカードが非接触型のICカードである場合、上記電源部16は、上記インターフェース17としてのアンテナにより受信した電波から電力およびクロックパルスを生成し、当該ICカード内の各部に供給する。   The power supply unit 16 supplies power and clock pulses for operating each unit of the IC card 1. For example, when the IC card 1 is a contact type IC card, the power supply unit 16 supplies power and clock pulses directly supplied from an external device via the interface 17 to each unit. When the IC card is a non-contact type IC card, the power supply unit 16 generates power and clock pulses from the radio wave received by the antenna as the interface 17 and supplies the power and clock pulses to each unit in the IC card. .

また、ワーキングメモリ13は、通信確立処理において設定される通信設定などの設定データを記憶する。たとえば、ワーキングメモリ13は、第1の設定記憶部13a、第2の設定記憶部13b、および第3の設定記憶部13cを有する。第1の設定記憶部13aは、後述する連続伝送フレームの最大数(以下、最大フレーム数(Sliding Window size)とも称する)の設定値を記憶する。第2の設定記憶部13bは、最大フレーム数の変更を許可するか否かを示す設定値を記憶する。第3の設定記憶部13cは、通信速度の設定値を記憶する。なお、これらの第1、第2、第3の設定記憶部13a、13b、13cは、データメモリ14に設けても良い。   The working memory 13 stores setting data such as communication settings set in the communication establishment process. For example, the working memory 13 includes a first setting storage unit 13a, a second setting storage unit 13b, and a third setting storage unit 13c. The first setting storage unit 13a stores a set value of a maximum number of continuous transmission frames (hereinafter also referred to as a maximum frame number (Sliding Window size)). The second setting storage unit 13b stores a setting value indicating whether or not the change of the maximum number of frames is permitted. The third setting storage unit 13c stores a communication speed setting value. Note that the first, second, and third setting storage units 13 a, 13 b, and 13 c may be provided in the data memory 14.

次に、端末装置2の構成について説明する。
上記端末装置2は、ICカード1を動作させるための電源を供給するとともに、当該ICカード1とのデータ通信を行う。ここでは、端末装置2が携帯電話機である場合を想定する。端末装置2としての携帯電話機は、各ユーザが所持するICカード1を装着した状態で携帯電話機としての通信が利用可能となる運用形態が想定される。また、ICカード1は、端末装置2としての携帯電話機に設けられたICカード用のソケットに装着される。携帯電話機のICカード用のソケットに装着された状態で、携帯電話機のインターフェースとしてのコンタクト部とICカード1のインターフェースとが接触してデータ通信が可能となる。また、上記携帯電話機2は、ICカード1に物理的に接触しているコンタクト部を介して当該ICカード1に動作用の電力およびクロックパルスを供給する。
Next, the configuration of the terminal device 2 will be described.
The terminal device 2 supplies power for operating the IC card 1 and performs data communication with the IC card 1. Here, it is assumed that the terminal device 2 is a mobile phone. The mobile phone as the terminal device 2 is assumed to have an operation mode in which communication as a mobile phone can be used with the IC card 1 possessed by each user attached. The IC card 1 is mounted in an IC card socket provided in a mobile phone as the terminal device 2. In a state where the IC card socket of the mobile phone is mounted, the contact portion as an interface of the mobile phone and the interface of the IC card 1 come into contact with each other, thereby enabling data communication. The cellular phone 2 supplies power and clock pulses for operation to the IC card 1 through a contact portion that is in physical contact with the IC card 1.

図2は、端末装置2の一例としての携帯電話機の構成例を示すブロック図である。
図2に示す構成例では、携帯電話機2は、制御部31、RAM32、ROM33、不揮発性メモリ34、ICカード用のインターフェース(第1インターフェース)35、メモリカード用のインターフェース(第2インターフェース)36、アンテナ37、通信部38、音声部39、振動部40、表示部41、操作部42および電源部43などを有する。
FIG. 2 is a block diagram illustrating a configuration example of a mobile phone as an example of the terminal device 2.
In the configuration example shown in FIG. 2, the mobile phone 2 includes a control unit 31, a RAM 32, a ROM 33, a nonvolatile memory 34, an IC card interface (first interface) 35, a memory card interface (second interface) 36, An antenna 37, a communication unit 38, an audio unit 39, a vibration unit 40, a display unit 41, an operation unit 42, a power supply unit 43, and the like are included.

上記制御部31は、携帯電話機2全体の制御を司るものである。上記制御部31は、CPU、内部メモリ、各種のインターフェースなどを有する。また、上記制御部31は、その基本機能として、上記表示部41の表示を制御する表示制御機能、PLL(Phase Locked Loop)回路、データストリーム経路切換え、DMA(Direct Memory Access)コントローラ、割り込みコントローラ、タイマ、UART(Universal Asynchronous Receiver Transmitter)、秘匿、HDLC(High-level Data Link Control procedure)フレーミング、ディバイスコントローラなどの機能を有している。   The control unit 31 controls the entire mobile phone 2. The control unit 31 includes a CPU, an internal memory, various interfaces, and the like. The control unit 31 has, as its basic functions, a display control function for controlling the display of the display unit 41, a PLL (Phase Locked Loop) circuit, a data stream path switching, a DMA (Direct Memory Access) controller, an interrupt controller, It has functions such as timer, UART (Universal Asynchronous Receiver Transmitter), secrecy, HDLC (High-level Data Link Control procedure) framing, device controller, and the like.

上記RAM32は、作業用のデータを記憶するための揮発性メモリである。RAM32は、ICカード1との通信設定情報として、最大フレーム数の設定値を記憶する第1の設定記憶部13a、最大フレーム数の変更を許可するか否かを示す設定値する第2の設定記憶部13b、および通信速度の設定値を記憶する第3の設定記憶部13cを有する。これらのICカード1との通信設定情報は、書換え可能なメモリに記憶すれば良く、たとえば、不揮発性メモリなどに記憶するようにしても良い。   The RAM 32 is a volatile memory for storing work data. The RAM 32 is a first setting storage unit 13a that stores a setting value of the maximum number of frames as communication setting information with the IC card 1, and a second setting storage that indicates whether or not the change of the maximum number of frames is permitted. Unit 13b and a third setting storage unit 13c that stores the setting value of the communication speed. The communication setting information with the IC card 1 may be stored in a rewritable memory, for example, a non-volatile memory.

上記ROM33は、制御プログラムや制御データなどが記憶されている不揮発性メモリである。上記ROM33は、不揮発性メモリである。たとえば、上記ROM33には、当該携帯電話機2の基本的な制御を行うための制御プログラムおよび制御データが予め記憶されている。上記制御部31は、上記ROM33に記憶されている制御プログラムを実行することにより、当該携帯電話機2の基本的な制御を実現している。   The ROM 33 is a non-volatile memory that stores control programs, control data, and the like. The ROM 33 is a nonvolatile memory. For example, the ROM 33 stores a control program and control data for performing basic control of the mobile phone 2 in advance. The control unit 31 realizes basic control of the mobile phone 2 by executing a control program stored in the ROM 33.

上記不揮発性メモリ34は、種々のデータが記憶される書き換え可能な不揮発性メモリである。上記不揮発性メモリ34には、種々のアプリケーションプログラム(アプリケーション)、制御データ、および、ユーザデータなどが記憶される。上記制御部31は、上記不揮発性メモリ34に記憶されているアプリケーションプログラムを実行することにより、種々の機能を実現する。   The nonvolatile memory 34 is a rewritable nonvolatile memory that stores various data. The nonvolatile memory 34 stores various application programs (applications), control data, user data, and the like. The control unit 31 implements various functions by executing application programs stored in the nonvolatile memory 34.

上記第1インターフェース35は、ICカード1が装着されるインターフェースである。上記第1インターフェース35は、上記制御部31に接続されている。これにより、上記制御部31は、上記第1インターフェース35を介して上記ICカード1とのデータ通信が可能となっている。上記第2インターフェース36は、上記メモリカードMが着脱可能なインターフェースである。上記第2インターフェース36は、上記制御部31に接続されている。上記制御部31は、上記第2インターフェース36に装着されたメモリカードMへのアクセス(データの書込みあるいは読出し)が可能となっている。   The first interface 35 is an interface to which the IC card 1 is attached. The first interface 35 is connected to the control unit 31. Thus, the control unit 31 can perform data communication with the IC card 1 via the first interface 35. The second interface 36 is an interface to which the memory card M can be attached and detached. The second interface 36 is connected to the control unit 31. The control unit 31 can access (write or read data) the memory card M attached to the second interface 36.

上記通信部38は、通信用のアンテナ37を介して通話データあるいはデータ通信用のデータを電波で送受信する。上記音声部39は、アナログフロントエンド部及びオーディオ部を有し、音声の入出力を行う。上記振動部40は、当該携帯電話機2全体を振動させる振動機構により構成される。上記表示部41は、上記制御部31により表示のオンオフや表示内容などが制御される。上記操作部42は、キーボードなどにより構成され、ユーザによる操作指示が入力される。上記電源部43は、バッテリーなどにより構成され、当該携帯電話機2内の各部に電源を供給するようになっている。また、上記電源部43は、上記第1インターフェース35を介して接続されたICカード1および上記第2インターフェース36を介して接続されたメモリカードMにも電源を供給する機能も有している。   The communication unit 38 transmits and receives telephone call data or data communication data via radio waves via the communication antenna 37. The audio unit 39 has an analog front end unit and an audio unit, and inputs and outputs audio. The vibration unit 40 is configured by a vibration mechanism that vibrates the entire mobile phone 2. The display unit 41 is controlled by the control unit 31 to turn on / off the display and display contents. The operation unit 42 is configured by a keyboard or the like, and an operation instruction from the user is input. The power supply unit 43 is configured by a battery or the like, and supplies power to each unit in the mobile phone 2. The power supply unit 43 also has a function of supplying power to the IC card 1 connected via the first interface 35 and the memory card M connected via the second interface 36.

次に、ICカード1と端末装置2との通信について説明する。
本実施例のICカードシステムでは、ICカード1と端末装置2とは、たとえば、SWP通信などの全2重通信を行う。本システムでは、伝送するデータの形式が予め決められる。ICカード1と端末装置2とは、データをフレーム単位で伝送する。1フレーム当りの伝送データ量は、規定のサイズであり、送受信すべきデータがフレーム単位に分割して送受信される。さらに、データを送受信(情報伝送)手順においては、連続伝送フレームの最大数(以下、Sliding Window size(WS)とも称する)の設定、フレームの連続伝送、および、受信確認の応答(又は次フレームの送信要求)が含まれる。
Next, communication between the IC card 1 and the terminal device 2 will be described.
In the IC card system of the present embodiment, the IC card 1 and the terminal device 2 perform full duplex communication such as SWP communication. In this system, the format of data to be transmitted is determined in advance. The IC card 1 and the terminal device 2 transmit data in units of frames. The amount of transmission data per frame is a prescribed size, and data to be transmitted / received is transmitted / received divided into frame units. Further, in the procedure of transmitting and receiving data (information transmission), setting of the maximum number of continuous transmission frames (hereinafter also referred to as “Sliding Window size (WS))”, continuous transmission of frames, and acknowledgment of reception (or the next frame) Send request).

まず、端末装置2とICカード1とは、通信確立処理により通信設定の初期値を設定する。通信確立処理において、端末装置2は、ICカード1へリセット要求を送信し、ICカード1は端末装置2へ設定データを返す。リセット要求において、端末装置2は、ICカード1に対して、WS値および受信確認応答レスポンスのタイムアウト時間などをパラメータで指定する。タイムアウト時間は、WS値に応じた長さの時間が設定される。   First, the terminal device 2 and the IC card 1 set initial values for communication settings by communication establishment processing. In the communication establishment process, the terminal device 2 transmits a reset request to the IC card 1, and the IC card 1 returns setting data to the terminal device 2. In the reset request, the terminal device 2 designates the WS value, the timeout time of the reception confirmation response, and the like for the IC card 1 with parameters. The time-out time is set to a length corresponding to the WS value.

たとえば、Sliding Window size(WS)の値としては、「2」、「3」、「4」の何れかが設定できる。この場合、WS値のデフォルトの設定値が「4」であり、それを「2」又は「3」に変更可能であるとして良い。タイムアウト時間は、WS値に対応する時間である。たとえば、タイムアウト時間は、(デフォルト値(例えば5ms))×(WS値)/(WS値のデフォルトの設定値(例えば「4」))としても良い。この場合、WS値「4」に対してタイムアウト時間が5ms×4/4=5msとなり、WS値「3」に対して、タイムアウト時間が5ms×3/4=3.75msとなり、WS値「2」に対して、タイムアウト時間が5ms×2/4=2.5msとなる。   For example, “2”, “3”, or “4” can be set as the value of the sliding window size (WS). In this case, the default setting value of the WS value may be “4” and can be changed to “2” or “3”. The timeout time is a time corresponding to the WS value. For example, the timeout time may be (default value (for example, 5 ms)) × (WS value) / (default setting value of the WS value (for example, “4”)). In this case, the timeout value is 5 ms × 4/4 = 5 ms for the WS value “4”, the timeout time is 5 ms × 3/4 = 3.75 ms for the WS value “3”, and the WS value “2”. ”Is 5 ms × 2/4 = 2.5 ms.

上述のように、タイムアウト時間は、WS値に応じて設定され、WS値が大きければ大きいほど長くなる。従って、受信確認などの応答を出力するタイミングは、実際に伝送するフレーム数が設定されているWS値よりも少ない場合であっても、WS値に応じて設定されたタイムアウト時間である。この結果として、実際に伝送するフレーム数が設定されているWS値よりも少ない場合、余計な待ち時間が発生する。   As described above, the time-out period is set according to the WS value, and becomes longer as the WS value is larger. Therefore, the timing for outputting a response such as a reception confirmation is the time-out period set according to the WS value even when the number of frames to be actually transmitted is smaller than the set WS value. As a result, when the number of frames to be actually transmitted is smaller than the set WS value, an extra waiting time occurs.

一方、設定されているWS値よりも伝送すべきフレーム数が多い場合(伝送すべきデータがWS値のフレームに収まらない場合)、データは、WS値ごとのフレームを複数回に分けて伝送する必要が生じる。このような場合、1回のWS値の伝送ごとに受信確認または次フレーム送信要求などの応答レスポンスが発生するため、通信手順が複雑で、非効率的なものとなる。   On the other hand, when the number of frames to be transmitted is larger than the set WS value (when the data to be transmitted does not fit in the WS value frame), the data is transmitted by dividing the frame for each WS value into a plurality of times. Need arises. In such a case, a response response such as a reception confirmation or a next frame transmission request is generated for each transmission of the WS value, so that the communication procedure is complicated and inefficient.

本実施例のICカードシステムでは、通信確立処理(つまり、リセット時)だけでなく、通信処理中に、実際に伝送すべきフレーム数に応じてWS値を変更することが可能である。また、本実施例のICカードシステムでは、通信中におけるWS値の変更を許可するか禁止するかを通信確立処理において設定できる。たとえば、通信確立処理において、端末装置2は、リセット要求とともにICカード1に対して通信中におけるWS値の変更を許可するか禁止するかを指定する。これにより、ICカード1は、端末装置2からの指定に応じてWS値の変更を許可するか禁止するかを設定する。   In the IC card system of the present embodiment, the WS value can be changed according to the number of frames to be actually transmitted during the communication process as well as the communication establishment process (that is, at the time of reset). In the IC card system of this embodiment, whether to change the WS value during communication can be set in the communication establishment process. For example, in the communication establishment process, the terminal device 2 specifies whether to allow or prohibit the change of the WS value during communication with the IC card 1 together with the reset request. Thereby, the IC card 1 sets whether to allow or prohibit the change of the WS value according to the designation from the terminal device 2.

次に、ICカード1と端末装置2との通信例を説明する。
図3は、ICカード1と端末装置2との通信例を示す図である。図4は、図3に示す端末装置2とICカード1との通信手順を示すシーケンス図である。
まず、端末装置2とICカード1とは、通信確立処理により通信設定の初期値を設定する。通信確立処理において、端末装置2は、Sliding Window size(WS)を決定し、WS値およびタイムアウト時間を設定する。図3に示す例では、端末装置2は、通信確立処理において、第1の設定記憶部32aにWS値の初期値としての「4」を記憶する。また、端末装置2は、WS値「4」に対応するタイムアウト時間(第1のタイムアウト時間)も第1の設定記憶部32aに記憶して良い。WS値の初期値を設定すると、端末装置2は、WS値の初期値「4」をパラメータで指定するリセット要求(RSET)としてのRSETフレーム(U-Frame)RSをICカード1へ送信する。なお、リセット要求では、WS値の変更の可否あるいは通信速度の初期値なども指定しても良いが、ここでは、WS値の設定について説明するものとする。
Next, an example of communication between the IC card 1 and the terminal device 2 will be described.
FIG. 3 is a diagram illustrating an example of communication between the IC card 1 and the terminal device 2. FIG. 4 is a sequence diagram showing a communication procedure between the terminal device 2 and the IC card 1 shown in FIG.
First, the terminal device 2 and the IC card 1 set initial values for communication settings by communication establishment processing. In the communication establishment process, the terminal device 2 determines a sliding window size (WS) and sets a WS value and a timeout time. In the example illustrated in FIG. 3, the terminal device 2 stores “4” as the initial value of the WS value in the first setting storage unit 32 a in the communication establishment process. The terminal device 2 may also store a timeout time (first timeout time) corresponding to the WS value “4” in the first setting storage unit 32a. When the initial value of the WS value is set, the terminal device 2 transmits to the IC card 1 an RSET frame (U-Frame) RS as a reset request (RSET) that specifies the initial value “4” of the WS value as a parameter. In the reset request, whether or not the WS value can be changed or the initial value of the communication speed may be specified. Here, the setting of the WS value will be described.

通信確立処理において、ICカード1は、端末装置2からのリセット要求を受信する。リセット要求を受信すると、ICカード1は、リセット要求に含まれるパラメータで指定されるWS値に基づいてWS値の初期値を第1の設定記憶部13aに記憶する。WS値の初期値が「4」に指定される場合、ICカード1は、第1の設定記憶部13aにWS値の初期値として「4」を記憶する。この場合、ICカード1は、WS値「4」に対応するタイムアウト時間(第1のタイムアウト時間)も第1の設定記憶部13aに記憶しても良い。端末装置2からのリセット要求に基づいてWS値の初期値を設定すると、ICカード1は、設定したWS値などを含むレスポンスデータとしてのUAフレーム(U-Frame)UA1を端末装置2へ送信する。   In the communication establishment process, the IC card 1 receives a reset request from the terminal device 2. When receiving the reset request, the IC card 1 stores the initial value of the WS value in the first setting storage unit 13a based on the WS value specified by the parameter included in the reset request. When the initial value of the WS value is designated as “4”, the IC card 1 stores “4” as the initial value of the WS value in the first setting storage unit 13a. In this case, the IC card 1 may also store the timeout time (first timeout time) corresponding to the WS value “4” in the first setting storage unit 13a. When the initial value of the WS value is set based on the reset request from the terminal device 2, the IC card 1 transmits a UA frame (U-Frame) UA1 as response data including the set WS value to the terminal device 2. .

通信確立処理が完了すると、端末装置2とICカード1とは、コマンドデータおよびレスポンスデータなどの実際のデータの送受信が可能となる。図3に示す例では、まず、端末装置2は、4つのフレーム(I0.0、I1.0、I2.0、I3.0)からなるデータをフレーム数4のIフレーム(I-Frame)I1としてICカード1へ送信する。図3に示す例では、通信確立処理の直後、WSが初期値の「4」に設定されているため、端末装置2は、4つのフレームのデータを連続して送信する。   When the communication establishment process is completed, the terminal device 2 and the IC card 1 can transmit and receive actual data such as command data and response data. In the example illustrated in FIG. 3, first, the terminal device 2 converts data including four frames (I0.0, I1.0, I2.0, and I3.0) into an I frame (I-Frame) I1 having four frames. To the IC card 1. In the example shown in FIG. 3, since the WS is set to the initial value “4” immediately after the communication establishment process, the terminal device 2 continuously transmits four frames of data.

ICカード1は、端末装置2から送信される4つのフレーム(I0.0、I1.0、I2.0、I3.0)を順次受信する。これらのフレームを受信するとともに、ICカード1は、当該IフレームI1における先頭フレーム(I0.0)を受信してからWS値の設定値(ここでは初期値「4」)に応じた第1のタイムアウト時間が経過した際、受信確認としてのSフレーム(S-Frame)RR1を端末装置2へ送信する。WS値が「4」に設定されている場合、ICカード1は、IフレームI1における先頭フレーム(I0.0)の終わりからWS値「4」に対応したタイムアウト時間としての第1のタイムアウト時間が経過した時に受信確認のSフレームRR1を端末装置2へ送信する。   The IC card 1 sequentially receives four frames (I0.0, I1.0, I2.0, I3.0) transmitted from the terminal device 2. While receiving these frames, the IC card 1 receives the first frame (I0.0) in the I frame I1 and then receives the first value corresponding to the WS value setting value (here, the initial value “4”). When the timeout time elapses, an S frame (S-Frame) RR1 as reception confirmation is transmitted to the terminal device 2. When the WS value is set to “4”, the IC card 1 determines that the first timeout time as the timeout time corresponding to the WS value “4” from the end of the first frame (I0.0) in the I frame I1. When the time has elapsed, an S frame RR1 for confirmation of reception is transmitted to the terminal device 2.

また、4つのフレーム(I0.0、I1.0、I2.0、I3.0)に続いて送信すべきデータが3フレーム分ある場合、端末装置2は、第1の設定記憶部32aに記憶するWS値を「4」から「3」に変更する。この場合、端末装置2は、WS値を「4」から「3」に変更することを指定するコマンドとしてのUフレーム(U-Frame)UA2をICカード1へ送信する。Uフレーム(U-Frame)UA2は、WS値「3」に示すパラメータを含むフレームである。WS値の変更を指定するコマンドを送信すると、端末装置2は、当該UフレームUA2に対するICカード1からの受信確認(応答)なしで、3つのフレーム(I4.0、I5.0、I6.0)からなるデータとしてのIフレーム(I-Frame)I2をICカード1へ送信する。   When there are three frames of data to be transmitted following the four frames (I0.0, I1.0, I2.0, I3.0), the terminal device 2 stores the data in the first setting storage unit 32a. The WS value to be changed is changed from “4” to “3”. In this case, the terminal device 2 transmits a U frame (U-Frame) UA2 as a command for designating changing the WS value from “4” to “3” to the IC card 1. The U frame (U-Frame) UA2 is a frame including the parameter indicated by the WS value “3”. When the terminal device 2 transmits a command designating the change of the WS value, the terminal device 2 receives three frames (I4.0, I5.0, I6.0) without receiving confirmation (response) from the IC card 1 with respect to the U frame UA2. ) Is transmitted to the IC card 1.

端末装置2からWS値の変更を指定するUフレームUA2を受信した場合、ICカード1は、第1の設定記憶部13aに記憶するWS値を上記パラメータで指定される値「3」に変更する。また、タイムアウト時間もWS値「3」に対応するタイムアウト時間(以下、第2のタイムアウト時間とする)に変更する。この場合、ICカード1は、WS値の変更を指定するUフレームUA2に対しては受信確認(応答)を送信せず、当該UフレームUA2に続くIフレームI2のデータを受信する。当該IフレームI2がレスポンスデータによる応答が必要なコマンドである場合、ICカード1は、当該IフレームI2のコマンドに対する処理結果としてのレスポンスデータを端末装置2へ送信する。   When receiving the U frame UA2 designating the change of the WS value from the terminal device 2, the IC card 1 changes the WS value stored in the first setting storage unit 13a to the value “3” designated by the parameter. . Further, the timeout time is also changed to a timeout time corresponding to the WS value “3” (hereinafter referred to as a second timeout time). In this case, the IC card 1 does not transmit a reception confirmation (response) to the U frame UA2 designating the change of the WS value, and receives the data of the I frame I2 following the U frame UA2. When the I frame I2 is a command that requires a response by response data, the IC card 1 transmits response data as a processing result for the command of the I frame I2 to the terminal device 2.

ただし、当該IフレームI2における先頭フレーム(I4.0)の終わりから第2のタイムアウト時間が経過した際に当該IフレームI2のコマンドに対する処理結果(レスポンスデータ)が得られない場合(受信コマンドに対する処理時間がタイムアウト時間よりも遅い場合)、ICカード1は、レスポンスデータを送信する前に受信確認を送信する。すなわち、当該IフレームI2における先頭フレーム(I4.0)の終わりから第2のタイムアウト時間が経過する前に当該コマンドに対する処理結果(レスポンスデータ)が得られる場合(コマンドに対する処理時間がタイムアウト時間よりも早い場合)、ICカード1は、受信確認を送信することなく、レスポンスデータを送信する。   However, if the processing result (response data) for the command of the I frame I2 is not obtained when the second timeout time has elapsed from the end of the first frame (I4.0) in the I frame I2 (processing for the received command) When the time is later than the timeout time), the IC card 1 transmits a reception confirmation before transmitting the response data. That is, when the processing result (response data) for the command is obtained before the second timeout time elapses from the end of the first frame (I4.0) in the I frame I2 (the processing time for the command is shorter than the timeout time). If it is early, the IC card 1 transmits the response data without transmitting the reception confirmation.

また、図3に示す例では、IフレームI2のコマンドデータに対するレスポンスデータが4フレーム分のデータとなっている。このため、ICカード1は、第1の設定記憶部13aに記憶するWS値を「3」から「4」に変更する。この場合、ICカード1は、WS値を「4」から「3」に変更することを指定するコマンドとしてのUフレーム(U-Frame)UA3を端末装置2へ送信する。Uフレーム(U-Frame)UA3は、WS値「4」を示すパラメータを含むフレームである。WS値の変更を指定するコマンドを送信すると、ICカード1は、当該コマンドに対する端末装置2からの受信確認を待つことなく、4つのフレーム(I0.7、I1.7、I2.7、I3.7)からなるレスポンスデータをIフレーム(I-Frame)I3として端末装置2へ送信する。   In the example shown in FIG. 3, the response data for the command data of the I frame I2 is data for four frames. Therefore, the IC card 1 changes the WS value stored in the first setting storage unit 13a from “3” to “4”. In this case, the IC card 1 transmits a U frame (U-Frame) UA3 as a command for designating changing the WS value from “4” to “3” to the terminal device 2. The U frame (U-Frame) UA3 is a frame including a parameter indicating the WS value “4”. When a command designating the change of the WS value is transmitted, the IC card 1 waits for confirmation of reception of the command from the terminal device 2 without waiting for four frames (I0.7, I1.7, I2.7, I3. 7) is transmitted to the terminal device 2 as an I-frame I3.

端末装置2は、ICカード1から送信されるUフレームUA3とそれに続く4つのフレーム(I0.7、I1.7、I2.7、I3.7)からなるIフレームI3とを順次受信する。端末装置2は、UフレームUA3に含まれるWS値のパラメータに基づいて第1の設定記憶部32aに記憶するWS値を「4」に変更する。端末装置2は、タイムアウト時間もWS値「4」に対応する第1のタイムアウト時間に変更する。さらに、端末装置2は、当該IフレームI3における先頭のフレーム(I0.7)を受信してから第1のタイムアウト時間が経過した際に受信確認としてのSフレーム(S-Frame)RR2をICカード1へ送信する。   The terminal device 2 sequentially receives the U frame UA3 transmitted from the IC card 1 and the I frame I3 including the following four frames (I0.7, I1.7, I2.7, I3.7). The terminal device 2 changes the WS value stored in the first setting storage unit 32a to “4” based on the WS value parameter included in the U frame UA3. The terminal device 2 also changes the timeout time to the first timeout time corresponding to the WS value “4”. Further, the terminal device 2 sends an S frame (S-Frame) RR2 as an acknowledgment to the IC card when the first time-out period elapses after receiving the first frame (I0.7) in the I frame I3. Send to 1.

続いて端末装置2が2フレーム分のデータを送信する場合、端末装置2は、第1の設定記憶部32aに記憶するWS値を「4」から「2」に変更する。この場合、端末装置2は、WS値を「4」から「2」に変更することを指定するコマンドとしてのUフレーム(U-Frame)UA4をICカード1へ送信する。Uフレーム(U-Frame)UA4は、WS値「2」を示すパラメータを含むフレームである。WS値の変更を指定するUフレームUA4を送信すると、端末装置2は、当該UフレームUA4に対するICカード1からの受信確認(応答)を待つことなく、2つのフレーム(I7.4、I8.4)からなるデータをIフレーム(I-Frame)I4としてICカード1へ送信する。   Subsequently, when the terminal device 2 transmits data for two frames, the terminal device 2 changes the WS value stored in the first setting storage unit 32a from “4” to “2”. In this case, the terminal device 2 transmits a U frame (U-Frame) UA4 as a command for designating changing the WS value from “4” to “2” to the IC card 1. The U frame (U-Frame) UA4 is a frame including a parameter indicating the WS value “2”. When the U frame UA4 designating the change of the WS value is transmitted, the terminal device 2 does not wait for reception confirmation (response) from the IC card 1 to the U frame UA4, and the two frames (I7.4, I8.4). ) Is transmitted to the IC card 1 as an I-frame I4.

ICカード1は、端末装置2から送信されるUフレームUA4とそれに続く2つのフレーム(I7.4、I8.4)からなるIフレームI4とを順次受信する。ICカード1は、UフレームUA4に含まれるWS値のパラメータに基づいて第1の設定記憶部13aに記憶するWS値を「2」に変更する。ICカード1は、タイムアウト時間もWS値「2」に対応するタイムアウト時間(以下、第3のタイムアウト時間と称する)に変更する。WS値を「2」に変更すると、ICカード1は、当該IフレームI4における先頭のフレーム(I7.4)を受信してから第3のタイムアウト時間が経過した際に受信確認としてSフレーム(S-Frame)RR3を端末装置2へ送信する。   The IC card 1 sequentially receives a U frame UA4 transmitted from the terminal device 2 and an I frame I4 composed of the following two frames (I7.4, I8.4). The IC card 1 changes the WS value stored in the first setting storage unit 13a to “2” based on the WS value parameter included in the U frame UA4. The IC card 1 also changes the timeout time to a timeout time corresponding to the WS value “2” (hereinafter referred to as a third timeout time). When the WS value is changed to “2”, the IC card 1 receives the S frame (S) as the reception confirmation when the third time-out period has elapsed after receiving the first frame (I7.4) in the I frame I4. -Frame) RR3 is transmitted to the terminal device 2.

上述した通信手順によれば、通信確立処理においてだけでなく、通信途中であっても、送信側の装置(ICカードあるいは端末装置)からWS値を変更できる。このため、送信側の装置は、通信確立処理を再度実行しなくても、実際に送信するフレーム数に応じてWS値を変更することができ、通信時間を短縮したり、通信効率を向上させたりすることが可能となる。
なお、端末装置2とICカード1との通信においては、WS値と同様に通信速度を通信途中で変更できるようにしても良い。たとえば、Uフレームにおいて通信速度を指定するパラメータを決めておけば、送信側の装置からのUフレームに含まれるパラメータで通信速度が変更できるようにすることができる。
According to the communication procedure described above, the WS value can be changed from the transmission side device (IC card or terminal device) not only in the communication establishment process but also during the communication. For this reason, the device on the transmission side can change the WS value according to the number of frames actually transmitted without performing the communication establishment process again, thereby shortening the communication time and improving the communication efficiency. It becomes possible to do.
In the communication between the terminal device 2 and the IC card 1, the communication speed may be changed during the communication as in the WS value. For example, if a parameter for designating the communication speed in the U frame is determined, the communication speed can be changed by the parameter included in the U frame from the transmission side device.

次に、上記のような通信手順で通信を行うためのICカード1あるいは端末装置2における処理について説明する。
図5は、ICカード1における通信処理の流れを説明するためのフローチャートである。たとえば、端末装置2としての携帯電話機は、電源がオンされた場合あるいは再起動する場合、装着されているICカード1との通信確立処理を行う。通信確立処理を行う場合、端末装置2は、ICカード1に対して通信の初期設定を要求するリセット要求を送信する。リセット要求には、WS値の初期値を示すパラメータ、通信中におけるWS値の変更を許可するか否かを示すパラメータ、あるいは、通信速度の初期値を示すパラメータなどが含むまれる。
Next, processing in the IC card 1 or the terminal device 2 for performing communication according to the communication procedure as described above will be described.
FIG. 5 is a flowchart for explaining the flow of communication processing in the IC card 1. For example, the mobile phone as the terminal device 2 performs communication establishment processing with the IC card 1 mounted when the power is turned on or restarted. When performing communication establishment processing, the terminal device 2 transmits a reset request for requesting initial setting of communication to the IC card 1. The reset request includes a parameter indicating the initial value of the WS value, a parameter indicating whether or not the change of the WS value during communication is permitted, a parameter indicating the initial value of the communication speed, and the like.

また、端末装置2は、WS値の初期値、WS値の変更を許可するか否かを示す情報、および通信速度の初期値をそれぞれ第1、第2、第3の設定記憶部32a、32b、32cに記憶(設定)する。なお、リセット要求では、通信速度の変更を許可するか否かを示すパラメータを含めるようにしても良い。この場合、第2の設定記憶部32bには、通信速度の変更を許可するか否かを示す情報を記憶するようにする。   Further, the terminal device 2 sets the initial value of the WS value, the information indicating whether or not the change of the WS value is permitted, and the initial value of the communication speed to the first, second, and third setting storage units 32a and 32b, respectively. , 32c is stored (set). It should be noted that the reset request may include a parameter indicating whether or not the change of the communication speed is permitted. In this case, the second setting storage unit 32b stores information indicating whether or not the change of the communication speed is permitted.

ICカード1は、インターフェース17を介して端末装置2から供給される電力を電源部16から各部へ供給することにより起動する。端末装置2から供給される電力により起動すると、ICカード1は、端末装置2との通信を行うための通信確立処理を行う。通信確立処理において、ICカード1では、インターフェース17および通信制御部15により端末装置2からのリセット要求を受信する(ステップS11)。リセット要求を受信すると、ICカード1の制御部11は、リセット要求に含まれる各種のパラメータに基づいて通信初期設定を行う(ステップS12)。   The IC card 1 is activated by supplying power supplied from the terminal device 2 via the interface 17 from the power supply unit 16 to each unit. When activated by the power supplied from the terminal device 2, the IC card 1 performs a communication establishment process for communicating with the terminal device 2. In the communication establishment process, the IC card 1 receives a reset request from the terminal device 2 through the interface 17 and the communication control unit 15 (step S11). When receiving the reset request, the control unit 11 of the IC card 1 performs communication initial setting based on various parameters included in the reset request (step S12).

たとえば、ICカード1の制御部11は、リセット要求に含まれるWS値の初期値を示すパラメータに基づいて第1の設定記憶部13aにWS値の初期値を設定(記憶)する。また、ICカード1の制御部11は、通信中におけるWS値の変更を許可するか否かを示すパラメータに基づいて第2の設定記憶部13bにWS値の変更の可否を示す情報を記憶(設定)する。また、ICカード1の制御部11は、通信速度の初期値を示すパラメータに基づいて第3の設定記憶部13cに通信速度の初期値を記憶(設定)する。
リセット要求に含まれるパラメータに基づく通信初期設定を行うと、ICカード1の制御部11は、端末装置2へ設定結果を示すUフレームを送信する(ステップS13)。リセット要求に対する設定結果が正常に送信されると、ICカード1と端末装置2との通信が確立する。
For example, the control unit 11 of the IC card 1 sets (stores) the initial value of the WS value in the first setting storage unit 13a based on the parameter indicating the initial value of the WS value included in the reset request. Further, the control unit 11 of the IC card 1 stores information indicating whether or not the WS value can be changed in the second setting storage unit 13b based on a parameter indicating whether or not the WS value change during communication is permitted ( Set). Further, the control unit 11 of the IC card 1 stores (sets) the initial value of the communication speed in the third setting storage unit 13c based on the parameter indicating the initial value of the communication speed.
When the communication initial setting based on the parameter included in the reset request is performed, the control unit 11 of the IC card 1 transmits a U frame indicating the setting result to the terminal device 2 (step S13). When the setting result for the reset request is normally transmitted, communication between the IC card 1 and the terminal device 2 is established.

ICカード1と端末装置2との通信が確立すると、ICカード1の制御部11は、端末装置2からのデータの受信があるか否かを判断する(ステップS21)。端末装置2からのデータの受信がなければ(ステップS21、NO)、ICカード1の制御部11は、送信データの有無を判断する(ステップS22)。すなわち、ICカード1と端末装置2との通信が確立すると、ICカード1の制御部11は、受信データあるいは送信データの待機状態(データの送受信が可能な状態)となる。   When communication between the IC card 1 and the terminal device 2 is established, the control unit 11 of the IC card 1 determines whether or not data is received from the terminal device 2 (step S21). If no data is received from the terminal device 2 (step S21, NO), the control unit 11 of the IC card 1 determines whether there is transmission data (step S22). That is, when communication between the IC card 1 and the terminal device 2 is established, the control unit 11 of the IC card 1 enters a standby state for receiving data or transmission data (a state in which data can be transmitted and received).

端末装置2からの送信データとしてのフレームを受信した場合(ステップS21、YES)、ICカード1の制御部11は、受信したデータがWS値を指定するパラメータ(WS値のパラメータ)を含むUフレームであるか否かを判断する(ステップS23)。受信したデータがWS値のパラメータを含むUフレームである場合(ステップS23、YES)、ICカード1の制御部11は、第2の設定記憶部13bに記憶している設定情報に基づいてWS値の変更が許可されているか否かを判断する(ステップS24)。   When a frame as transmission data from the terminal device 2 is received (step S21, YES), the control unit 11 of the IC card 1 includes a U frame in which the received data includes a parameter for specifying a WS value (WS value parameter). Is determined (step S23). When the received data is a U frame including a WS value parameter (step S23, YES), the control unit 11 of the IC card 1 determines the WS value based on the setting information stored in the second setting storage unit 13b. It is determined whether or not the change is permitted (step S24).

WS値の変更が許可されていると判断した場合(ステップS24、YES)、ICカードの制御部11は、受信したUフレームで指定されたWS値のパラメータに従って第1の設定記憶部13aに記憶しているWS値の設定を変更する(ステップS25)。WS値の設定を変更した場合、あるいは、WS値の変更が許可されていない場合(ステップS24、NO)、ICカードの制御部11は、次のデータの送受信待ち状態となる。   When it is determined that the change of the WS value is permitted (step S24, YES), the control unit 11 of the IC card stores the first setting storage unit 13a according to the WS value parameter specified in the received U frame. The setting of the current WS value is changed (step S25). When the setting of the WS value is changed, or when the change of the WS value is not permitted (step S24, NO), the control unit 11 of the IC card enters a waiting state for the next data transmission / reception.

なお、ICカード1の制御部11は、通信速度についても端末装置2からの指定されるパラメータにより変更可能である。すなわち、端末装置2から受信したデータが通信速度を指定するパラメータ(通信速度のパラメータ)を含むUフレームである場合、ICカード1の制御部11は、通信速度の変更が許可されていれば、当該Uフレームで指定された通信速度のパラメータに従って通信速度の設定を変更するようにしても良い。   Note that the control unit 11 of the IC card 1 can also change the communication speed by a parameter designated from the terminal device 2. That is, when the data received from the terminal device 2 is a U frame including a parameter (communication speed parameter) for designating a communication speed, the control unit 11 of the IC card 1 is permitted to change the communication speed. The communication speed setting may be changed according to the communication speed parameter specified in the U frame.

受信したデータがWS値を指定するUフレームでないと判断した場合(ステップS23、NO)、ICカード1の制御部11は、設定されているWS値の数までのフレームを連続して受信する。この場合、制御部11は、タイマ11aにより先頭フレームを受信してからの経過時間を計時する(ステップS31)。先頭フレームを受信してからの時間を計時するともに、制御部11は、先頭フレームに続いて端末装置2から送信されてくるフレームを順に受信する(ステップS32)。   If it is determined that the received data is not a U frame that specifies a WS value (NO in step S23), the control unit 11 of the IC card 1 continuously receives frames up to the number of WS values that have been set. In this case, the control unit 11 measures the elapsed time since the start frame is received by the timer 11a (step S31). While measuring the time since the first frame was received, the control unit 11 sequentially receives the frames transmitted from the terminal device 2 following the first frame (step S32).

端末装置2からのデータを受信すると、制御部11は、受信したデータに対する処理を実行する(ステップS33)。制御部11は、実行する処理内容に応じて受信確認が必要であるか否かを判断する(ステップS34)。例えば、受信したデータが特定の処理を要求するコマンドであれば、制御部11は、当該コマンドで要求される処理を実行し、その処理結果がタイムアウト時間前に得られれば、受信確認を送信する前にレスポンスデータを送信できるため、受信確認が不要であると判断する。また、受信したデータが受信確認が不要(応答不要)なコマンドであれば、制御部11は、受信確認が不要であると判断する。   When the data from the terminal device 2 is received, the control unit 11 performs a process on the received data (step S33). The control unit 11 determines whether reception confirmation is necessary according to the processing content to be executed (step S34). For example, if the received data is a command requesting a specific process, the control unit 11 executes the process requested by the command, and transmits a reception confirmation if the process result is obtained before the timeout time. Since response data can be transmitted before, it is determined that reception confirmation is unnecessary. If the received data is a command that does not require reception confirmation (response is not required), the control unit 11 determines that reception confirmation is unnecessary.

受信確認が必要であると判断した場合(ステップS34、YES)、制御部11は、先頭フレームを受信してから計時している時間が設定されているWS値に対応するタイムアウト時間を経過したか否かを判断する(ステップS35)。タイムアウト時間を経過しない場合(ステップS35、NO)、制御部11は、上記ステップS32〜S34の処理を実行する。なお、データの受信および受信データに対する処理が完了している場合、制御部11は、タイムアウト時間になるまで待機するようにしても良い。タイムアウト時間を経過した場合(ステップS35、YES)、制御部11は、データを受信したことを示す受信確認を端末装置2へ送信する(ステップS36)。
受信データの受信確認が必要ないと判断した場合(ステップS34、NO)、制御部11は、受信したデータに対する処理終了後、上記ステップS21へ進み、データの送受信待ち状態となる。
If it is determined that reception confirmation is necessary (step S34, YES), has the control unit 11 passed the time-out time corresponding to the WS value that has been set since the first frame was received? It is determined whether or not (step S35). When the time-out time has not elapsed (step S35, NO), the control unit 11 executes the processes of steps S32 to S34. Note that when the reception of data and the processing for the received data are completed, the control unit 11 may wait until the timeout time is reached. When the timeout time has elapsed (step S35, YES), the control unit 11 transmits a reception confirmation indicating that the data has been received to the terminal device 2 (step S36).
When it is determined that reception confirmation of received data is not necessary (NO in step S34), the control unit 11 proceeds to step S21 after completing the processing for the received data, and enters a data transmission / reception waiting state.

また、タイムアウト時間になる前に受信データに対する処理結果を示すレスポンスデータが得られた場合、制御部11は、受信確認が不要であると判断し(ステップS34、NO)、生成したレスポンスデータを送信する処理を行う。この場合、制御部11は、ステップS41へ進み、レスポンスデータを送信する処理を実行する。   If response data indicating the processing result for the received data is obtained before the time-out time is reached, the control unit 11 determines that reception confirmation is not required (step S34, NO), and transmits the generated response data. Perform the process. In this case, the control unit 11 proceeds to step S41 and executes a process of transmitting response data.

データを送信する場合(ステップS22、YES)、制御部11は、WS値を変更する必要があるか否かを判断する(ステップS41)。たとえば、WS値が「4」に設定されている状態で、送信するデータのフレーム数が「3」あるいは「2」である場合、制御部11は、WS値を変更する必要があると判断する。WS値を変更する必要があると判断した場合(ステップS41、YES)、制御部11は、WS値の変更が許可されているか否かを判断する(ステップS42)。WS値の変更を許可するか否かは、上記通信確立処理で指定され、第2の設定記憶部13bに記憶されているものとする。ただし、通信途中で、端末装置2がWS値の変更を許可するか否かを指定できるようにしても良い。   When transmitting data (step S22, YES), the control unit 11 determines whether or not the WS value needs to be changed (step S41). For example, when the WS value is set to “4” and the number of frames of data to be transmitted is “3” or “2”, the control unit 11 determines that the WS value needs to be changed. . When it is determined that the WS value needs to be changed (step S41, YES), the control unit 11 determines whether or not the change of the WS value is permitted (step S42). It is assumed that whether to change the WS value is specified in the communication establishment process and stored in the second setting storage unit 13b. However, during the communication, the terminal device 2 may be allowed to specify whether or not to allow the WS value to be changed.

WS値の変更が許可されていると判断した場合(ステップS42、YES)、制御部11は、送信するデータのフレーム数に応じてWS値を決定し、第1の設定記憶部13aに記憶しているWS値を決定したWS値に更新する(ステップS43)。WS値を更新すると、制御部11は、変更後のWS値を指定するパラメータ(WS値のパラメータ)を含むUフレームを生成し、生成したUフレームを端末装置2へ送信する(ステップS44)。WS値のパラメータを含むUフレームを送信した場合、制御部11は、当該Uフレームに対する受信確認無しで、送信データをフレーム単位で連続的に端末装置2へ送信する(ステップS45)。   When it is determined that the change of the WS value is permitted (step S42, YES), the control unit 11 determines the WS value according to the number of frames of data to be transmitted, and stores the WS value in the first setting storage unit 13a. The current WS value is updated to the determined WS value (step S43). When the WS value is updated, the control unit 11 generates a U frame including a parameter (WS value parameter) for specifying the changed WS value, and transmits the generated U frame to the terminal device 2 (step S44). When the U frame including the WS value parameter is transmitted, the control unit 11 continuously transmits the transmission data to the terminal device 2 in units of frames without confirming reception of the U frame (step S45).

また、WS値の変更が不要であると判断した場合(ステップS41、NO)、あるいは、WS値の変更が不可である(禁止されている)と判断した場合(ステップS42、NO)、制御部11は、第1の設定記憶部13aに記憶している設定済みのWS値でフレーム単位のデータを端末装置2へ送信する(ステップS45)。なお、上記ステップS41〜S45の処理は、レスポンスデータの送信に限定されるものではなく、データの送信に適用されものである。   In addition, when it is determined that the change of the WS value is unnecessary (step S41, NO), or when it is determined that the change of the WS value is impossible (prohibited) (step S42, NO), the control unit 11 transmits data in units of frames to the terminal device 2 with the WS value already set stored in the first setting storage unit 13a (step S45). The processes in steps S41 to S45 are not limited to response data transmission, but are applied to data transmission.

また、ICカード1および端末装置2は、通信速度についても、上述したWS値と同様にUフレームに含まれるパラメータにより変更するようにしても良い。たとえば、ICカード1側から通信速度を変更したい場合、制御部11は、通信速度の変更が許可されていれば、通信速度をパラメータを指定したUフレームを端末装置2へ送信することにより通信速度の設定を変更するようにしても良い。   In addition, the IC card 1 and the terminal device 2 may change the communication speed according to the parameters included in the U frame in the same manner as the WS value described above. For example, when it is desired to change the communication speed from the IC card 1 side, if the change of the communication speed is permitted, the control unit 11 transmits a U frame in which a parameter is specified for the communication speed to the terminal device 2 to transmit the communication speed. The setting may be changed.

また、通信確立後の通信処理は、端末装置2もICカード1と同様な処理で実現できる。すなわち、通信確立後、端末装置2は、上記ステップS21〜S45と同様な通信処理によりICカード1との通信が可能である。本実施例の通信方式は、端末装置2からコマンドに対してICカード1が動作するような処理形態でだけでなく、ICカード1からのコマンドに対して端末装置2が動作するような処理形態にも適用できる。   Further, the communication processing after the communication is established can be realized by the terminal device 2 by the same processing as the IC card 1. That is, after the communication is established, the terminal device 2 can communicate with the IC card 1 by the communication process similar to steps S21 to S45. The communication method of the present embodiment is not only a processing mode in which the IC card 1 operates in response to a command from the terminal device 2, but also a processing mode in which the terminal device 2 operates in response to a command from the IC card 1. It can also be applied to.

なお、図5に示す動作例では、通信速度の変更については詳細な説明を省略しているが、通信速度についても、WS値の変更と同様に通信途中で変更するできるようにしても良い。すなわち、通信確立処理において設定した通信速度の初期値は、通信速度を指定するパラメータを含むUフレームにより変更できるようにして良い。通信速度の変更については、図5に示すWS値の変更と同様な手順で変更することが可能である。   In the operation example shown in FIG. 5, detailed description of changing the communication speed is omitted, but the communication speed may be changed during the communication as in the case of changing the WS value. That is, the initial value of the communication speed set in the communication establishment process may be changed by a U frame including a parameter for specifying the communication speed. The communication speed can be changed in the same procedure as the WS value change shown in FIG.

上記のように、本実施例のICカードは、端末装置との通信確立処理において連続して送受信可能な最大フレーム数の初期値を設定し、通信途中で最大フレーム数を示すパラメータを含むフレームを受信した場合、当該パラメータに基づいて最大フレーム数の設定値を変更する。これにより、本実施例のICカードでは、端末装置との全2重通信において、通信確立処理だけでなく、通信途中にも最大フレーム数を変更でき、効率的なデータ通信が行える。   As described above, the IC card of this embodiment sets an initial value of the maximum number of frames that can be continuously transmitted and received in the communication establishment process with the terminal device, and includes a frame including a parameter indicating the maximum number of frames during communication. When received, the setting value of the maximum number of frames is changed based on the parameter. Thereby, in the IC card of the present embodiment, in the full duplex communication with the terminal device, not only the communication establishment process but also the maximum number of frames can be changed during the communication, and efficient data communication can be performed.

また、本実施例のICカードと端末装置とは、通信途中において、送信側の装置から一方的に送信するパラメータで最大フレーム数の変更を指定し、かつ、受信側の装置から当該パラメータを含むフレームに対する応答(受信確認)も必要がない。このため、本実施例のシステムによれば、最大フレームの変更が簡単かつ高速に実現でき、効率的な通信が実現できる。さらに、本実施例のICカードシステムでは、通信確立処理において通信途中での最大フレーム数の変更を禁止する設定も可能であるため、信頼性の高い通信制御に実現できる。   In addition, the IC card and the terminal device according to the present embodiment specify a change in the maximum number of frames by a parameter unilaterally transmitted from the transmission-side device during communication, and include the parameter from the reception-side device. There is no need for a response (acknowledgment) to the frame. Therefore, according to the system of the present embodiment, the change of the maximum frame can be realized easily and at high speed, and efficient communication can be realized. Furthermore, in the IC card system of the present embodiment, since it is possible to set the prohibition of the change of the maximum number of frames during communication in the communication establishment process, it is possible to realize highly reliable communication control.

1…ICカード、C…本体、1a…ICチップ、2…端末装置(携帯電話機、外部装置)、11…CPU、11a…タイマ、12…プログラムメモリ、13…ワーキングメモリ、13a…第1の設定記憶部、13b…第2の設定記憶部、13c…第3の設定記憶部、14…データメモリ、15…通信制御部、16…電源部、17…インターフェース、31…制御部、32…RAM、32a…第1の設定記憶部、32b…第2の設定記憶部、32c…第3の設定記憶部、34…不揮発性メモリ、35…インターフェース。   DESCRIPTION OF SYMBOLS 1 ... IC card, C ... Main body, 1a ... IC chip, 2 ... Terminal device (mobile phone, external device), 11 ... CPU, 11a ... Timer, 12 ... Program memory, 13 ... Working memory, 13a ... First setting Storage unit, 13b ... Second setting storage unit, 13c ... Third setting storage unit, 14 ... Data memory, 15 ... Communication control unit, 16 ... Power supply unit, 17 ... Interface, 31 ... Control unit, 32 ... RAM, 32a ... first setting storage unit, 32b ... second setting storage unit, 32c ... third setting storage unit, 34 ... non-volatile memory, 35 ... interface.

Claims (11)

外部装置と通信する携帯可能電子装置であって、
フレーム単位でデータを送受信する通信手段と、
前記通信手段により連続して送受信可能な最大フレーム数の初期値を設定する設定手段と、
前記通信手段により前記外部装置から受信したフレームに最大フレーム数を示すパラメータを含む場合、前記パラメータに基づいて前記設定手段により設定されている最大フレーム数を変更する変更手段と、
を有することを特徴とする携帯可能電子装置。
A portable electronic device that communicates with an external device,
A communication means for transmitting and receiving data in frame units;
Setting means for setting an initial value of the maximum number of frames that can be continuously transmitted and received by the communication means;
When the communication unit includes a parameter indicating the maximum number of frames in the frame received from the external device, a changing unit that changes the maximum number of frames set by the setting unit based on the parameter;
A portable electronic device comprising:
さらに、前記最大フレーム数の初期値の変更を許可するか否かを設定する第2の設定手段を有し、
前記変更手段は、前記第2の設定手段により最大フレーム数の変更が許可されている場合に前記パラメータに従って最大フレーム数を変更し、前記第2の設定手段により最大フレーム数の変更が許可されていない場合に最大フレーム数の変更を禁止する、
ことを特徴とする前記請求項1に記載の携帯可能電子装置。
And a second setting means for setting whether or not to allow a change in the initial value of the maximum number of frames.
The changing means changes the maximum number of frames according to the parameter when the change of the maximum number of frames is permitted by the second setting means, and the change of the maximum number of frames is permitted by the second setting means. Prohibit changing the maximum number of frames
The portable electronic device according to claim 1, wherein the portable electronic device is a portable electronic device.
前記通信手段は、前記最大フレーム数を示すパラメータを含むフレームに対しては応答の通知無しで次のデータの送受信を行う、
ことを特徴とする前記請求項1に記載の携帯可能電子装置。
The communication means transmits and receives the next data without notification of a response to a frame including a parameter indicating the maximum number of frames.
The portable electronic device according to claim 1, wherein the portable electronic device is a portable electronic device.
さらに、通信速度の初期値を設定する第3の設定手段を有し、
前記変更手段は、前記通信手段により前記外部装置から受信したフレームに通信速度を示すパラメータを含む場合、前記パラメータに基づいて前記第3の設定手段により設定されている通信速度を変更する、
ことを特徴とする前記請求項1に記載の携帯可能電子装置。
Furthermore, it has the 3rd setting means which sets the initial value of communication speed,
When the change means includes a parameter indicating a communication speed in a frame received from the external device by the communication means, the communication speed set by the third setting means is changed based on the parameter.
The portable electronic device according to claim 1, wherein the portable electronic device is a portable electronic device.
外部装置と通信する携帯可能電子装置であって、
フレーム単位でデータを送受信する通信手段と、前記通信手段により連続して送受信可能な最大フレーム数の初期値を設定する設定手段と、前記通信手段により前記外部装置から受信したフレームに最大フレーム数を示すパラメータを含む場合、前記パラメータに基づいて前記設定手段により設定されている最大フレーム数を変更する変更手段とを有するモジュールと、
前記モジュールを有する筐体と、
を有することを特徴とする携帯可能電子装置。
A portable electronic device that communicates with an external device,
A communication unit that transmits and receives data in units of frames; a setting unit that sets an initial value of a maximum number of frames that can be continuously transmitted and received by the communication unit; and a maximum frame number for a frame received from the external device by the communication unit. A module having a changing means for changing the maximum number of frames set by the setting means based on the parameter when including a parameter to indicate,
A housing having the module;
A portable electronic device comprising:
外部装置と通信する携帯可能電子装置であって、
フレーム単位でデータを送受信する通信手段と、
前記通信手段により連続して送受信可能な最大フレーム数の初期値を設定する設定手段と、
前記外部装置へ送信するデータに応じて前記設定手段により設定されている最大フレーム数を変更する変更手段と、
前記変更手段により変更した最大フレーム数を示すパラメータを含むフレームを前記外部装置へ送信し、前記パラメータで示した最大フレーム数でフレーム単位のデータを送信する送信処理手段と、
を有することを特徴とする携帯可能電子装置。
A portable electronic device that communicates with an external device,
A communication means for transmitting and receiving data in frame units;
Setting means for setting an initial value of the maximum number of frames that can be continuously transmitted and received by the communication means;
Changing means for changing the maximum number of frames set by the setting means according to data transmitted to the external device;
Transmission processing means for transmitting a frame including a parameter indicating the maximum number of frames changed by the changing means to the external device, and transmitting data in units of frames at the maximum number of frames indicated by the parameters;
A portable electronic device comprising:
前記送信処理手段は、前記最大フレーム数を示すパラメータを含むフレームの送信に対する応答を待たすに、前記変更した最大フレーム数でフレーム単位のデータを送信する、
ことを特徴とする前記請求項6に記載の携帯可能電子装置。
The transmission processing means transmits data in units of frames at the changed maximum number of frames to wait for a response to transmission of a frame including the parameter indicating the maximum number of frames.
The portable electronic device according to claim 6, wherein:
外部装置と通信する携帯可能電子装置であって、
フレーム単位でデータを送受信する通信手段と、前記通信手段により連続して送受信可能な最大フレーム数の初期値を設定する設定手段と、前記外部装置へ送信するデータに応じて前記設定手段により設定されている最大フレーム数を変更する変更手段と、前記変更手段により変更した最大フレーム数を示すパラメータを含むフレームを前記外部装置へ送信し、前記パラメータで示した最大フレーム数でフレーム単位のデータを送信する送信処理手段とを有するモジュールと、
前記モジュールを有する筐体と、
を有することを特徴とする携帯可能電子装置。
A portable electronic device that communicates with an external device,
A communication unit that transmits and receives data in frame units, a setting unit that sets an initial value of the maximum number of frames that can be continuously transmitted and received by the communication unit, and a setting unit that is set according to data to be transmitted to the external device. A change unit for changing the maximum number of frames, and a frame including a parameter indicating the maximum number of frames changed by the change unit to the external device, and transmitting data in units of frames at the maximum number of frames indicated by the parameter A transmission processing means for performing
A housing having the module;
A portable electronic device comprising:
端末装置と携帯可能電子装置とがデータの送受信を行う通信システムであって、
前記携帯可能電子装置は、
フレーム単位でデータを送受信する第1の通信手段と、
前記第1の通信手段により連続して送受信可能な最大フレーム数を設定する設定手段と、
前記第1の通信手段により前記端末装置から受信したフレームに最大フレーム数を示すパラメータが含まれる場合、前記パラメータに従って前記設定手段により設定されている最大フレーム数を変更する変更手段と、を有し、
前記端末装置は、
フレーム単位でデータを送受信する第2の通信手段と、
前記第2の通信手段により送信するデータに応じて最大フレーム数を変更する場合、最大フレーム数を示すパラメータを含むフレームを携帯可能電子装置へ送信し、前記パラメータで示した最大フレーム数でフレーム単位のデータを送信する送信処理手段と、を有する、
ことを特徴とする通信システム。
A communication system in which a terminal device and a portable electronic device transmit and receive data,
The portable electronic device comprises:
A first communication means for transmitting and receiving data in frame units;
Setting means for setting a maximum number of frames that can be continuously transmitted and received by the first communication means;
And changing means for changing the maximum number of frames set by the setting means according to the parameters when a parameter indicating the maximum number of frames is included in the frame received from the terminal device by the first communication means. ,
The terminal device
A second communication means for transmitting and receiving data in frame units;
When changing the maximum number of frames according to the data transmitted by the second communication means, a frame including a parameter indicating the maximum number of frames is transmitted to the portable electronic device, and the unit of the frame is the maximum number of frames indicated by the parameters. Transmission processing means for transmitting the data of
A communication system characterized by the above.
外部装置と通信する携帯可能電子装置に用いられる通信方法であって、
連続して送受信可能な最大フレーム数の初期値を設定し、
前記設定されている最大フレーム数でフレーム単位のデータを受信し、
前記外部装置から受信したフレームに最大フレーム数を示すパラメータを含む場合、前記パラメータに基づいて前記設定されている最大フレーム数を変更する、
ことを特徴とする携帯可能電子装置に用いられる通信方法。
A communication method used in a portable electronic device that communicates with an external device,
Set an initial value for the maximum number of frames that can be transmitted and received continuously,
Receive data in units of frames with the set maximum number of frames,
When the parameter indicating the maximum number of frames is included in the frame received from the external device, the set maximum number of frames is changed based on the parameter.
A communication method used for a portable electronic device.
外部装置と通信する携帯可能電子装置に用いられる通信方法であって、
連続して送受信可能な最大フレーム数の初期値を設定し、
前記外部装置へ送信するデータに応じて前記設定されている最大フレーム数を変更し、
前記最大フレーム数を変更した場合、前記変更した最大フレーム数を示すパラメータを含むフレームを前記外部装置へ送信し、
前記パラメータで示した最大フレーム数でフレーム単位のデータを前記外部装置へ送信する、
ことを特徴とする携帯可能電子装置に用いられる通信方法。
A communication method used in a portable electronic device that communicates with an external device,
Set an initial value for the maximum number of frames that can be transmitted and received continuously,
Change the set maximum number of frames according to the data to be transmitted to the external device,
When the maximum number of frames is changed, a frame including a parameter indicating the changed maximum number of frames is transmitted to the external device,
Transmitting data in units of frames with the maximum number of frames indicated by the parameter to the external device;
A communication method used for a portable electronic device.
JP2010138587A 2010-06-17 2010-06-17 IC card, communication system, and communication method used for IC card Expired - Fee Related JP5534969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010138587A JP5534969B2 (en) 2010-06-17 2010-06-17 IC card, communication system, and communication method used for IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010138587A JP5534969B2 (en) 2010-06-17 2010-06-17 IC card, communication system, and communication method used for IC card

Publications (2)

Publication Number Publication Date
JP2012003547A true JP2012003547A (en) 2012-01-05
JP5534969B2 JP5534969B2 (en) 2014-07-02

Family

ID=45535442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010138587A Expired - Fee Related JP5534969B2 (en) 2010-06-17 2010-06-17 IC card, communication system, and communication method used for IC card

Country Status (1)

Country Link
JP (1) JP5534969B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182776A (en) * 2013-03-21 2014-09-29 Toshiba Corp Ic card, portable electronic device, and ic card processing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04280542A (en) * 1991-03-08 1992-10-06 Nec Corp Communication controller
JPH09321824A (en) * 1996-05-24 1997-12-12 Canon Inc Infrared ray radio communication equipment
JP2003032316A (en) * 2001-05-11 2003-01-31 Kddi Corp Image transmission protocol controller
JP2007174625A (en) * 2004-08-06 2007-07-05 Sharp Corp Transmitter, receiver, communication system, communication method, and communication program
JP2007183790A (en) * 2006-01-06 2007-07-19 Hitachi Ltd Rfid device, rfid system and access control method
JP2008134846A (en) * 2006-11-28 2008-06-12 Dainippon Printing Co Ltd Ic card communication module, ic card communication method, and computer program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04280542A (en) * 1991-03-08 1992-10-06 Nec Corp Communication controller
JPH09321824A (en) * 1996-05-24 1997-12-12 Canon Inc Infrared ray radio communication equipment
JP2003032316A (en) * 2001-05-11 2003-01-31 Kddi Corp Image transmission protocol controller
JP2007174625A (en) * 2004-08-06 2007-07-05 Sharp Corp Transmitter, receiver, communication system, communication method, and communication program
JP2007183790A (en) * 2006-01-06 2007-07-19 Hitachi Ltd Rfid device, rfid system and access control method
JP2008134846A (en) * 2006-11-28 2008-06-12 Dainippon Printing Co Ltd Ic card communication module, ic card communication method, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182776A (en) * 2013-03-21 2014-09-29 Toshiba Corp Ic card, portable electronic device, and ic card processing device

Also Published As

Publication number Publication date
JP5534969B2 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
JP2012181835A (en) Electronic device with function of supporting multiple cards
US20130225074A1 (en) Non-volatile memory for nfc router
EP2378497A2 (en) Communication system and communication device
US20220303746A1 (en) Bluetooth connection method and apparatus, wearable device, and computer-readable storage medium
KR100640810B1 (en) mobile communication terminal having electronic settlement function, and method for the same
JP2010218453A (en) Mobile electronic device and method of controlling mobile electronic device
JP5534969B2 (en) IC card, communication system, and communication method used for IC card
JP2009071777A (en) Mobile communication terminal and its program, as well as ic card and its program
JP5602075B2 (en) PORTABLE ELECTRONIC DEVICE, COMMUNICATION METHOD USED FOR IC CARD AND PORTABLE ELECTRONIC DEVICE
JP2013122690A (en) Ic card, portable electronic device and ic card control method
CN109426324B (en) Power-on control method, AP chip and mobile terminal
JP2006157725A (en) Information communication system and method
JP2013003676A (en) Portable electronic device, ic card, communication system, and control method of portable electronic device
TWI476588B (en) Portable device and operation method thereof
JP2013069062A (en) Ic card, portable electronic device, and self-diagnosis method of ic card
JP5269213B2 (en) Communication device with storage function
JP2011150661A (en) Portable electronic device and portable electronic device control method
US9924294B2 (en) Method, apparatus and system for communication
JP4238886B2 (en) Wireless communication apparatus and wireless communication system
JP6664372B2 (en) Communication device, communication device control method, communication system, and program
JP2005078181A (en) Noncontact ic card
JP2009187495A (en) Information processing unit, information processing method, and program
JP2007104247A (en) Wireless communication apparatus and wireless communication method
JP2018074459A (en) Radio communication apparatus and radio communication system
JP2011013782A (en) Repeater system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130801

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130820

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140114

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140325

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140422

R151 Written notification of patent or utility model registration

Ref document number: 5534969

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees