JP2002032726A - Portable information processor - Google Patents

Portable information processor

Info

Publication number
JP2002032726A
JP2002032726A JP2000214673A JP2000214673A JP2002032726A JP 2002032726 A JP2002032726 A JP 2002032726A JP 2000214673 A JP2000214673 A JP 2000214673A JP 2000214673 A JP2000214673 A JP 2000214673A JP 2002032726 A JP2002032726 A JP 2002032726A
Authority
JP
Japan
Prior art keywords
clu
rwu
portable information
radio wave
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000214673A
Other languages
Japanese (ja)
Inventor
Tanitake Hirano
平野晋健
Yasuhiro Ito
伊藤泰宏
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2000214673A priority Critical patent/JP2002032726A/en
Publication of JP2002032726A publication Critical patent/JP2002032726A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To verify hardware and software of RWU and CLU smoothly and efficiently in terms of time by eliminating a case wherein the CLU does not respond during a communication between the RWU and CLU and grasping the state of the CLU in real time. SOLUTION: The portable information processor (1) equipped with means (2, 3, 4) which transmits and receives information to and from at least a reader writer with radio waves and has a function of always sending specific return data corresponding to the received wave when receiving the radio wave from the reader writer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は電磁誘導現象を利用
して活性化し、その後の動作および読み取り/書き込み
装置との情報交換も電波を利用して行えるICカード等
の可搬情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable information processing apparatus such as an IC card which can be activated by utilizing an electromagnetic induction phenomenon, and thereafter can also operate and exchange information with a reading / writing apparatus by using radio waves.

【0002】[0002]

【従来の技術】従来、読み取り/書き込み装置(リーダ
/ライタユニット:RWU)側から送信される電波によ
り非接触可搬情報処理装置(コンタクトレスユニット:
CLU)を活性化し、情報交換を電波を利用して行うも
のが提案されている。図7(a)はRWUからの搬送波
が届く範囲にCLUが1つある場合を示し、図7(b)
はRWUからの搬送波が届く範囲に複数のCLU(CL
U1、CLU2)が存在する場合を示している。このよ
うに、RWUとCLUとの情報交換を電波を利用して行
う場合、RWUからの搬送波が届く範囲に複数のCLU
が存在することを想定して、RWUとCLUの間でCL
Uを特定する個別情報(CID:Chip ID)の交換がな
される。CIDはCLUの製造番号を基にした値であっ
たり、その都度発生させる乱数であったりする。
2. Description of the Related Art Conventionally, a contactless portable information processing device (contactless unit: RWU) is transmitted by radio waves transmitted from a read / write device (reader / writer unit: RWU).
CLU) is activated, and information exchange is performed using radio waves. FIG. 7A shows a case where there is one CLU in a range where a carrier wave from the RWU reaches, and FIG.
Means that a plurality of CLUs (CL
U1 and CLU2) are present. As described above, when information exchange between the RWU and the CLU is performed using radio waves, a plurality of CLUs are within a range where a carrier wave from the RWU reaches.
Assuming that there is a CL between the RWU and the CLU,
Exchange of individual information (CID: Chip ID) specifying U is performed. The CID is a value based on the serial number of the CLU or a random number generated each time.

【0003】CLUはCIDを送信データの一部として
RWUに送り、RWUはCIDを送信データの一部とし
てCLUに送り返す。CLUは送り返されたCIDが自
分自身のCIDと一致した場合のみ通信を続ける。お互
いの送受信データには、伝送エラーを検知するためのチ
ェックコードが付加されており、CLUでは受信データ
とチェックコードが一致した場合のみ処理を続け、不一
致の場合は無応答となり、次の受信を待つようにしてい
る。
The CLU sends the CID to the RWU as a part of the transmission data, and the RWU sends the CID back to the CLU as a part of the transmission data. The CLU continues communication only when the returned CID matches its own CID. A check code for detecting a transmission error is added to each other's transmitted / received data. The CLU continues processing only when the received data and the check code match, and when they do not match, there is no response, and the next reception is performed. I'm waiting.

【0004】また、RWUはCLUからの返答を待つ
が、所定時間内に返答がない場合は、CLUは返答して
いないと判断する。また、同一RWUからの搬送波を受
信して活性化しているCLUが複数存在する状態もあ
る。このような状況下では、それぞれのCLUは、自分
以外のCLUからの返答を邪魔しないように、自分自身
が返答すべき場合でない限りは無応答になる。無論、R
WUからの電波が届く範囲内にCLUが存在しない場
合、RWUは受信できない。
[0004] The RWU waits for a response from the CLU, but if there is no response within a predetermined time, the CLU determines that there is no response. In some cases, there are a plurality of CLUs that receive and activate a carrier from the same RWU. In such a situation, each CLU does not respond unless it should respond in order not to disturb responses from other CLUs. Of course, R
If the CLU does not exist within the range where the radio wave from the WU reaches, the RWU cannot receive.

【0005】伝送データに付加するチェックコードの例
(データフォーマットの例)を図8により説明する。図
8(a)は数バイトのデータを一塊とし、これを計算範
囲としてブロックチェックするコード(BCC)を付加
した例を示し、図8(b)はデータのバイト単位でパリ
ティチェックを行うビット(CC)を付加した例を示
し、図8(c)はデータのバイト単位でパリティチェッ
クを行うビット(CC)を付加するとともに、数バイト
のデータを1ブロックとして、これを計算範囲としてブ
ロックチェックするコード(BCC)を付加し、さらに
BCCのパリティチェックを行うビット(CC)を付加
した例を示している。このようなチェックコードを付加
し、CLUでは受信データとチェックコードが一致した
か否かにより、処理を続けるか、無応答になるかしてい
る。
An example of a check code (an example of a data format) added to transmission data will be described with reference to FIG. FIG. 8A shows an example in which several bytes of data are grouped together and a code (BCC) for performing a block check is added using the data as a calculation range. FIG. FIG. 8C shows an example in which a bit (CC) for performing a parity check is added for each byte of data, and a block of several bytes of data is set as a calculation range. An example is shown in which a code (BCC) is added and a bit (CC) for performing a parity check of the BCC is further added. Such a check code is added, and the CLU decides whether to continue the process or not respond depending on whether or not the received data and the check code match.

【0006】次に、図9〜図11により、RWUに対し
てCLUが1つの場合と2つの場合の従来の通信例につ
いて説明する。なお、図において伝送方向とはRWU、
CLUのどちらからデータを送信しているかを矢印で示
したものである。図9はRWUに対してCLUが1つの
場合で、正常に通信が行われている例を示している。R
WUから呼出しコマンドを送信し(ステップ1−1)、
CLUが電波範囲外にある(ステップ1−2)ために、
再度RWUから呼出しコマンドを送信する(ステップ1
−3)。CLUがRWUからの電波の届く範囲内に入っ
たとすると、呼出しコマンドに応答し(ステップ1−
4)、これに対してRWUはCLUにデータ読み出しコ
マンドを送信し(ステップ1−5)、CLUはこのコマ
ンドに応答してデータを送信し(ステップ1−6)、以
後通信を続ける(ステップ1−7)。なお、この例にお
いてCIDの一致、チェックコードの一致が前提となっ
ている。
Next, referring to FIGS. 9 to 11, a description will be given of a conventional communication example in which one CLU and two CLUs are used for an RWU. In the figure, the transmission direction is RWU,
An arrow indicates which of the CLUs is transmitting data. FIG. 9 shows an example in which there is one CLU for the RWU and communication is normally performed. R
A call command is transmitted from the WU (step 1-1),
Since the CLU is out of the radio range (step 1-2),
The calling command is transmitted again from the RWU (step 1)
-3). Assuming that the CLU is within the range of radio waves from the RWU, the CLU responds to the call command (step 1-).
4) In response, the RWU transmits a data read command to the CLU (step 1-5), and the CLU transmits data in response to the command (step 1-6), and continues communication thereafter (step 1). -7). In this example, it is assumed that the CID matches and the check code matches.

【0007】図10はRWUに対してCLUが1つの場
合で、正常に通信が行われていない例を示している。R
WUから呼出しコマンドを送信し(ステップ2−1)、
CLUが電波範囲外にある(ステップ2−2)ために、
再度RWUから呼出しコマンドを送信する(ステップ2
−3)。このときCLUは電波範囲内に入ったものと仮
定する。しかしCLUは無応答であり(ステップ2−
4)、これに対してRWUは再度呼出しコマンドを送信
するが(ステップ2−5)、CLUは依然無応答である
(ステップ2−6)。この例では、CLUは電波範囲内
に入っているとしているので、無応答になった原因が、
CIDの不一致やチェックコードエラーなのか、或いは
受信不能なのか、RWUはCLUがどのような状況にあ
るのか把握できない。
FIG. 10 shows an example in which one CLU is used for an RWU and communication is not normally performed. R
A call command is transmitted from the WU (step 2-1),
Since the CLU is out of the radio range (step 2-2),
The calling command is transmitted again from the RWU (step 2
-3). At this time, it is assumed that the CLU has entered the radio wave range. However, the CLU does not respond (step 2-
4) On the other hand, the RWU transmits the call command again (step 2-5), but the CLU still has no response (step 2-6). In this example, it is assumed that the CLU is within the radio wave range.
The RWU cannot determine whether the CLU is in a CID mismatch, check code error, or unreceivable condition.

【0008】図11はRWUに対してCLUが2つの場
合の通信例を示している。RWUから呼出しコマンドを
送信し(ステップ3−1)、CLUが電波範囲外にある
(ステップ3−2)ために、再度RWUから呼出しコマ
ンドを送信する(ステップ3−3)。このときCLUは
電波範囲内に入ったものと仮定する。これに対してCL
U1とCLU2から、それぞれ応答があり(ステップ3
−4)、複数のCLUが応答したため、RWUはCLU
識別コマンドを送信する(ステップ3−5)。この識別
コマンドは複数の時間区分を指定してどこかのタイミン
グで応答するように促すコマンドであり、この例では、
まずCLU1が応答し、CLU2は無応答である(ステ
ップ3−6)。さらにRWUからCLU識別コマンドを
送信し(ステップ3−7)、CLU1は既に応答してい
るので無応答、CLU2が応答し(ステップ3−8)、
以後通信が続けられる(ステップ3−9)。この例では
RWUが高機能であり、CLUから乱数に基づいて発生
させたCIDと同じCIDを返送する能力を有している
例である。
FIG. 11 shows an example of communication in the case where there are two CLUs for the RWU. A call command is transmitted from the RWU (step 3-1), and since the CLU is out of the radio wave range (step 3-2), the call command is transmitted again from the RWU (step 3-3). At this time, it is assumed that the CLU has entered the radio wave range. On the other hand, CL
There is a response from each of U1 and CLU2 (step 3
-4), since a plurality of CLUs responded, the RWU
An identification command is transmitted (step 3-5). This identification command is a command that specifies a plurality of time segments and prompts to respond at some timing. In this example,
First, CLU1 responds and CLU2 does not respond (step 3-6). Further, the CLU identification command is transmitted from the RWU (step 3-7). Since the CLU1 has already responded, there is no response, and the CLU2 responds (step 3-8).
Thereafter, communication is continued (step 3-9). In this example, the RWU is an advanced function and has an ability to return the same CID as the CID generated from the CLU based on a random number.

【0009】[0009]

【発明が解決しようとする課題】このように、RWUと
CLUとの情報交換を電波を利用して行うような場合に
は、CLUが無応答になる場合が多い。RWUはCLU
が無応答であることは判定できるが、CLUは何が原因
で無応答になっており、どのような状態でいるのかが判
別できない。
As described above, when information exchange between the RWU and the CLU is performed using radio waves, the CLU often does not respond. RWU is CLU
Can be determined to have no response, but the CLU cannot determine what is causing the non-response and what the state is.

【0010】本発明は上記課題を解決するためのもの
で、RWUとCLUの通信中にCLUが無応答になるこ
とを無くし、CLUの状態をリアルタイムに把握できる
ようにして、CLU、RWUのハードウエア、ソフトウ
エアの検証をスムーズに、かつ時間効率よく行えるよう
にすることを目的とする。
The present invention has been made to solve the above-mentioned problem, and it is possible to prevent the CLU from becoming unresponsive during the communication between the RWU and the CLU so that the status of the CLU can be grasped in real time. An object of the present invention is to enable a smooth and time-efficient verification of software and software.

【0011】[0011]

【課題を解決するための手段】本発明は、少なくともリ
ーダ/ライタ装置との間で電波を介して情報を伝達する
手段を備えた可搬情報処理装置において、リーダ/ライ
タ装置からの電波を受信したとき、受信した電波に応じ
た所定の返送データを常に送信する機能を有しているこ
と、返送データは接触端子のI/Oラインを通しても常
に送信可能なこと、所定の返送データを常に送信する機
能は有効/無効に設定可能であること、所定の返送デー
タは、通信可能を知らせる情報、送信されたデータのエ
ラーを示す情報、応答の遅延を知らせる情報であること
を特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a portable information processing apparatus having at least a means for transmitting information to a reader / writer device through a radio wave, and receiving a radio wave from the reader / writer device. When it does, it has a function to always transmit the predetermined return data according to the received radio wave, that the return data can always be transmitted through the I / O line of the contact terminal, and always transmits the predetermined return data. The function to perform this function can be set to valid / invalid, and the predetermined return data is information for indicating that communication is possible, information for indicating an error in transmitted data, and information for indicating a delay in response.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図1は本発明が適用されるCLUの構成例
を示す図である。CLU1は、図7に示したようなRW
Uとの間で情報交換するための情報伝達手段2〜4を有
している。情報伝達手段2、3は電波を介して情報を伝
達する手段で、相互に電波の変調方式が異なっている。
情報伝達手段4は接触端子を表しており、接触式の情報
伝達を実現する手段である。CPU5は情報伝達手段を
介して送信されるRWUからのコマンドを解釈して実行
(例えば、リード/ライト)し、RWUへの応答を行う
演算装置である。不揮発性メモリ6は制御情報、ソフト
ウエア等のデータが格納される記憶装置である。揮発性
メモリ7はCPUが演算を行う際の作業領域を提供する
記憶装置である。
Embodiments of the present invention will be described below. FIG. 1 is a diagram showing a configuration example of a CLU to which the present invention is applied. CLU1 has the RW as shown in FIG.
It has information transmitting means 2 to 4 for exchanging information with U. The information transmitting means 2 and 3 are means for transmitting information via radio waves, and have different radio wave modulation systems.
The information transmission means 4 represents a contact terminal, and is a means for realizing contact-type information transmission. The CPU 5 is an arithmetic unit that interprets and executes (for example, reads / writes) a command from the RWU transmitted via the information transmission means, and responds to the RWU. The non-volatile memory 6 is a storage device for storing data such as control information and software. The volatile memory 7 is a storage device that provides a work area when the CPU performs an operation.

【0013】図2はCLUのOSが管理する不揮発性メ
モリの内容の一部を示す図である。本発明のCLU1
は、エラーコード返送有効/無効フラグが設定されてお
り、テストモードにおいてはこのフラグを有効に設定
し、電波範囲内に入ってRWUからの呼びかけに応答可
能な状態にあることを知らせるコード、エラーの状況に
応じたコード、遅れて返答するコード等を送信する。例
えば、RWUからの呼びかけに応答可能な状態にあるこ
とを知らせる通信可能コード(00)、パリティチェッ
クエラー/ブロックチェックエラーのときのエラーコー
ド(01)、短すぎるデータのとき(フォーマットエラ
ー)のエーラコード(02)、長すぎるデータのとき
(フォーマットエラー)のエーラコード(03)、CI
D不一致のときのエラーコード(04)、他のCLUの
返答を妨げないための返送遅延コード(05)を格納し
ておき、RWUから電波を受信したとき、或いはRWU
からの信号を受信したときに通信可能コード、受信時に
生じているエラーに対応したコード、返送遅延コードを
返送する。RWU側ではこの応答を受信することによ
り、CLUが電波範囲内にあるか否か、電波範囲内にあ
ってどのような状況にあるかを判別でき、応答がない場
合は電波範囲外にあるか、送受信機能が働いていないと
判断することができる。なお、RWUとCLU間の情報
の伝達は接触端子を通しても可能であり(図1情報伝達
手段C)、情報伝達手段CのI/Oラインを通して、通
信可能コード、受信時に生じているエラーに対応したコ
ード、返送遅延コードを送るようにしてもよい。
FIG. 2 is a diagram showing a part of the contents of the nonvolatile memory managed by the OS of the CLU. CLU1 of the present invention
Has an error code return valid / invalid flag set. In the test mode, this flag is set to be valid, and a code for notifying that it is in a radio wave range and is ready to respond to a call from the RWU, A code corresponding to the situation, a code responding with a delay, etc. are transmitted. For example, a communicable code (00) indicating that the RWU can respond to a call from the RWU, an error code (01) for a parity check error / block check error, and an error code for too short data (format error) Code (02), Era code (03) for too long data (format error), CI
D, an error code (04) in the case of a mismatch, and a return delay code (05) for preventing a response of another CLU from being stored, and when a radio wave is received from the RWU or the RWU
When a signal is received from the device, a communicable code, a code corresponding to an error occurring at the time of reception, and a return delay code are returned. By receiving this response, the RWU can determine whether the CLU is within the radio wave range or not, and what the situation is within the radio range. It can be determined that the transmission / reception function is not working. The information can be transmitted between the RWU and the CLU through the contact terminal (the information transmitting means C in FIG. 1). The returned code and the return delay code may be sent.

【0014】テストモードではない通常使用のモードの
場合には、フラグを無効に設定し、RWUからの電波範
囲内に入っても信号を受信しない限り、或いは信号を受
信してもエラーが生じた場合には無応答、1つのRWU
の電波範囲内に複数のCLUが存在する場合、1つのC
LUが応答している場合には他のCLUは無応答とな
る。
In the case of the normal use mode other than the test mode, the flag is set invalid, and an error occurs even if the signal is received even if the signal is received within the radio wave range from the RWU. No response in case, one RWU
If there are multiple CLUs within the radio wave range of
When the LU is responding, the other CLUs do not respond.

【0015】また、CLU識別コマンドでは複数の時間
区分を指定してどこかのタイミングで応答するように促
しており、他のCLUがレスポンスした場合には所定時
間タイミングを遅らせて応答する。このときの遅延量は
あらかじめ10msecのように固定値にしてもよい
し、不揮発性メモリに返送遅延量として格納しておき、
これを参照するようにしてもよい。
In the CLU identification command, a plurality of time sections are specified to prompt a response at some timing. When another CLU responds, the response is delayed by a predetermined time. The delay amount at this time may be a fixed value such as 10 msec in advance, or may be stored in the nonvolatile memory as the return delay amount,
This may be referred to.

【0016】図3はRWUからの電波範囲内に入ったと
き通信可能状態を知らせる通信例を示している。CLU
がRWUからの電波範囲外にある場合(ステップ4−
1)、RWUとCLU間での通信はない。CLUがRW
Uからの電波範囲内に入ると、通信可能状態にあること
を知らせる通信可能コード(00)をRWUに対して送
信し(ステップ4−2)、RWUからコマンドが送信さ
れるまで通信可能コード(00)を送信し続ける(ステ
ップ4−3〜4−5)。このように、CLUが電波範囲
内に入ると通信可能コード(00)を送信するので、R
WUでは通信可能になったことを知ることができる。
FIG. 3 shows an example of communication in which a communicable state is notified when the radio wave enters the radio wave range from the RWU. CLU
Is out of the radio wave range from the RWU (step 4-
1), there is no communication between the RWU and the CLU. CLU is RW
When the radio wave is within the radio wave range from U, a communicable code (00) indicating that the communicable state is established is transmitted to the RWU (step 4-2), and the communicable code (00) is transmitted until a command is transmitted from the RWU (step 4-2). 00) (steps 4-3 to 4-5). As described above, when the CLU enters the radio wave range, the communicable code (00) is transmitted.
The WU can know that communication has become possible.

【0017】図4はCLUからエラーコードが返送され
る例を示している。RWUから呼出しコマンドを送信し
(ステップ5−1)、CLUが電波範囲外にある(ステ
ップ5−2)ために応答がなく、再度RWUから呼出し
コマンドを送信する(ステップ5−3)。このときCL
Uは電波範囲内に入ったものとする。CLUからは、例
えばCIDを送信して応答する(ステップ5−4)。こ
れに対してRWUはCLU内のデータ読み出しや、CL
U内へのデータ書き込みを求めるアプリケーション・コ
マンドを送信する(ステップ5−5)。このときCLU
はパリティチェックまたはBCCエラーがあると、エラ
ーコード(01)を返送する(ステップ5−6)。再
度、RWUがアプリケーション・コマンドを送信したと
き(ステップ5−7)、RWUから送出したデータが短
すぎるフォーマットエラーがあると、エラーコード(0
2)を返送し(ステップ5−8)、再度、RWUからア
プリケーション・コマンドを送信したとき(ステップ5
−9)、RWUから送出したデータが長すぎるフォーマ
ットエラーがあると、エラーコード(03)を返送する
(ステップ5−10)。このように、CLUからエラー
コードが返送されるため、RWUはCLUの状態を把握
することができる。
FIG. 4 shows an example in which an error code is returned from the CLU. A call command is transmitted from the RWU (step 5-1). Since the CLU is out of the radio wave range (step 5-2), there is no response, and the call command is transmitted again from the RWU (step 5-3). At this time CL
U is assumed to have entered the radio wave range. The CLU responds by transmitting, for example, a CID (step 5-4). On the other hand, the RWU reads data from the CLU,
An application command for writing data into U is transmitted (step 5-5). At this time, CLU
Returns an error code (01) when there is a parity check or a BCC error (step 5-6). When the RWU transmits the application command again (step 5-7), if the data transmitted from the RWU has a format error that is too short, an error code (0) is output.
2) is returned (step 5-8), and when the application command is transmitted again from the RWU (step 5).
-9) If the data sent from the RWU has a format error that is too long, an error code (03) is returned (step 5-10). As described above, since the error code is returned from the CLU, the RWU can grasp the state of the CLU.

【0018】図5はCLUが2つの場合の通信例を示し
ている。RWUから呼出しコマンドを送信し(ステップ
6−1)、CLUが電波範囲外にある(ステップ6−
2)ために、再度RWUから呼出しコマンドを送信する
(ステップ6−3)。このときCLUは電波範囲内に入
ったものとする。CLU1、CLU2からは、例えば、
データの一部としてCIDを送信して応答し(ステップ
6−4)、RWUはCLU識別コマンドを送信する(ス
テップ6−5)。CLU識別コマンドは複数の時間区分
を指定してどこかのタイミングで応答するように促すコ
マンドであり、この例では、まずCLU1が応答し、こ
のときCLU2は遅れて(この場合10ms遅れ)応答
する返送遅延コード05を返送する(ステップ6−
6)。引き続き、RWUからCLU識別コマンドを送信
すると(ステップ6−7)、CLU2が応答し、CLU
1が遅れて応答する返送遅延コード05を返送し(ステ
ップ6−8)、以後通信が続けられる(ステップ6−
9)。このように、複数のCLUが1つのRWUからの
電波範囲内にあるとき、1つが応答した場合に、他のC
LUは遅れて応答する返送遅延コードを返送するので、
RWUは応答しているCLU以外の状況も把握すること
ができる。
FIG. 5 shows an example of communication when there are two CLUs. A call command is transmitted from the RWU (step 6-1), and the CLU is out of the radio range (step 6--6).
2) For this purpose, a call command is transmitted again from the RWU (step 6-3). At this time, it is assumed that the CLU has entered the radio wave range. From CLU1 and CLU2, for example,
The RWU transmits a CID as a part of the data and responds (step 6-4), and the RWU transmits a CLU identification command (step 6-5). The CLU identification command is a command for designating a plurality of time segments and prompting to respond at some timing. In this example, CLU1 responds first, and then CLU2 responds with a delay (in this case, 10 ms delay). Return the return delay code 05 (Step 6-
6). Subsequently, when the CLU identification command is transmitted from the RWU (step 6-7), the CLU2 responds and the CLU2 responds.
1 returns a return delay code 05 that responds with a delay (step 6-8), and thereafter communication is continued (step 6--6).
9). Thus, when a plurality of CLUs are within the radio wave range from one RWU, if one responds, the other CLUs
LU returns a return delay code that responds with a delay,
The RWU can also grasp situations other than the responding CLU.

【0019】図6は本発明の通信におけるCLUの処理
とRWUの処理のフローを示す図である。RWUからコ
マンドを送信すると(ステップS1)、CLUはこれを
受信してコマンドを解釈し(ステップS2)、パリティ
ンチェック、BCCは正常か否か判断する(ステップS
3)。異常の場合には、テストモードか否か判断し、
(ステップS4)、テストモードでない場合には無応答
となり(ステップS5)、テストモードの場合には、遅
延処理を行った後、エラーコード(01)をRWUに対
して返送する(ステップS6、S7)。ステップS3に
おいて、正常の場合、データが短すぎるフォーマットエ
ラーがあるか否か判断する(ステップS8)。異常の場
合には、テストモードか否か判断し(ステップS9)、
テストモードでない場合には無応答となり(ステップS
10)、テストモードの場合には、遅延処理を行った
後、エラーコード(02)をRWUに対して返送する
(ステップS11、S12)。ステップS8において、
正常の場合、データが長すぎるフォーマットエラーがあ
るか否か判断する(ステップS13)。異常の場合に
は、テストモードか否か判断し(ステップS14)、テ
ストモードでない場合には無応答となり(ステップS1
5)、テストモードの場合には、遅延処理を行った後、
エラーコード(03)をRWUに対して返送する(ステ
ップS16、S17)。ステップS13において、正常
の場合、正しいCIDか否か判断する(ステップS1
8)。異常の場合には、テストモードか否か判断し(ス
テップS19)、テストモードでない場合には無応答と
なり(ステップS20)、テストモードの場合には、遅
延処理を行った後、エラーコード(04)をRWUに対
して返送する(ステップS21、S22)。
FIG. 6 is a diagram showing the flow of the processing of the CLU and the processing of the RWU in the communication of the present invention. When a command is transmitted from the RWU (step S1), the CLU receives the command and interprets the command (step S2), and determines whether the parity check and BCC are normal (step S1).
3). In the case of an abnormality, judge whether or not it is in the test mode,
(Step S4) When there is no test mode, there is no response (Step S5). In the case of test mode, after performing delay processing, an error code (01) is returned to the RWU (Steps S6 and S7). ). If the data is normal in step S3, it is determined whether or not there is a format error in which the data is too short (step S8). If abnormal, it is determined whether or not the test mode is set (step S9),
If it is not in the test mode, there is no response (step S
10) In the case of the test mode, after performing the delay processing, an error code (02) is returned to the RWU (steps S11 and S12). In step S8,
If the data is normal, it is determined whether there is a format error in which the data is too long (step S13). If it is abnormal, it is determined whether or not it is in the test mode (step S14). If it is not in the test mode, there is no response (step S1).
5) In the test mode, after performing the delay processing,
An error code (03) is returned to the RWU (steps S16 and S17). If it is normal in step S13, it is determined whether or not the CID is correct (step S1).
8). If it is abnormal, it is determined whether or not it is in the test mode (step S19). If it is not in the test mode, there is no response (step S20). ) Is returned to the RWU (steps S21, S22).

【0020】[0020]

【発明の効果】本発明は、開発中のRWU、CLUにお
いて、RWUとCLUの通信中にCLUが無応答になる
ことを無くし、CLUの状態をリアルタイムに把握でき
るようにして、CLU、RWUのハードウエア、ソフト
ウエアの検証をスムーズに行うことが可能となる。さら
に、CLUからのレスポンス待ち時間オーバーを待たな
くてもよいので、検証作業の時間的な効率を向上させる
ことができる。
As described above, according to the present invention, in the RWU / CLU under development, the CLU does not become unresponsive during the communication between the RWU and the CLU, and the state of the CLU can be grasped in real time. Hardware and software verification can be performed smoothly. Further, since there is no need to wait for the response waiting time from the CLU, the time efficiency of the verification work can be improved.

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

【図1】 本発明が適用されるCLUの構成例を示す図
である。
FIG. 1 is a diagram showing a configuration example of a CLU to which the present invention is applied.

【図2】 OSが管理する不揮発性メモリの内容の一部
を示す図である。
FIG. 2 is a diagram showing a part of the contents of a nonvolatile memory managed by an OS.

【図3】 RWUからの電波範囲内に入ったとき通信可
能状態を知らせる通信例を示す図である。
FIG. 3 is a diagram illustrating a communication example in which a communicable state is notified when the mobile phone enters a radio wave range from an RWU.

【図4】 CLUからエラーコードが返送される通信例
を示す図である。
FIG. 4 is a diagram illustrating a communication example in which an error code is returned from a CLU.

【図5】 CLUが2つの場合の通信例を示す図であ
る。
FIG. 5 is a diagram illustrating an example of communication when two CLUs are used.

【図6】 本発明の通信におけるCLUの処理とRWU
の処理のフローを示す図である。
FIG. 6 shows CLU processing and RWU in communication according to the present invention.
It is a figure which shows the flow of a process.

【図7】 RWUとCLUの情報交換を電波を利用して
行う説明図である。
FIG. 7 is an explanatory diagram of performing information exchange between the RWU and the CLU using radio waves.

【図8】 伝送データに付加するチェックコードの例を
示す図である。
FIG. 8 is a diagram illustrating an example of a check code added to transmission data.

【図9】 CLUが1つで、正常に通信が行われた例を
示す図である。
FIG. 9 is a diagram illustrating an example in which communication is normally performed with one CLU.

【図10】 CLUが1つで、CLUが無応答の例を示
す図である。
FIG. 10 is a diagram illustrating an example in which there is one CLU and the CLU does not respond;

【図11】 CLUが2つの場合の通信例を示す図であ
る。
FIG. 11 is a diagram illustrating a communication example when there are two CLUs.

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

1…CLU、2、3…電波を介して情報を伝達する手
段、4…接触式の情報伝達手段、5…CPU、6…不揮
発性メモリ、7…揮発性メモリ。
DESCRIPTION OF SYMBOLS 1 ... CLU, 2, 3 ... means for transmitting information via radio waves, 4 ... contact-type information transmitting means, 5 ... CPU, 6 ... nonvolatile memory, 7 ... volatile memory.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C005 NA08 NA09 TA22 5B035 AA00 BB09 BC00 CA23 5B065 BA09 EA39 5B083 AA08 BB02 CD00 EE07  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C005 NA08 NA09 TA22 5B035 AA00 BB09 BC00 CA23 5B065 BA09 EA39 5B083 AA08 BB02 CD00 EE07

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 少なくともリーダ/ライタ装置との間で
電波を介して情報を伝達する手段を備えた可搬情報処理
装置において、リーダ/ライタ装置からの電波を受信し
たとき、受信した電波に応じた所定の返送データを常に
送信する機能を有していることを特徴とする可搬情報処
理装置。
1. A portable information processing device having at least means for transmitting information to a reader / writer device via a radio wave, wherein when a radio wave from the reader / writer device is received, the portable information processing device responds to the received radio wave. A portable information processing apparatus having a function of constantly transmitting predetermined return data.
【請求項2】 さらにリーダ/ライタ装置との接触端子
のI/Oラインを通して情報を伝達する手段を備え、I
/Oラインを通して所定の返送データを常に送信する機
能を有していることを特徴とする請求項1記載の可搬情
報処理装置。
Means for transmitting information through an I / O line of a contact terminal with a reader / writer device;
2. The portable information processing apparatus according to claim 1, wherein the portable information processing apparatus has a function of constantly transmitting predetermined return data via an / O line.
【請求項3】 前記所定の返送データを常に送信する機
能を有効/無効に設定可能であることを特徴とする請求
項1または2記載の可搬情報処理装置。
3. The portable information processing apparatus according to claim 1, wherein a function of constantly transmitting the predetermined return data can be set to valid / invalid.
【請求項4】 前記所定の返送データは、通信可能を知
らせる情報であることを特徴とする請求項1乃至3のい
ずれか1項記載の可搬情報処理装置。
4. The portable information processing apparatus according to claim 1, wherein the predetermined return data is information indicating that communication is possible.
【請求項5】 前記所定の返送データは、送信されたデ
ータのエラーを示す情報であることを特徴とする請求項
1乃至3のいずれか1項記載の可搬情報処理装置。
5. The portable information processing apparatus according to claim 1, wherein the predetermined return data is information indicating an error in the transmitted data.
【請求項6】 前記所定の返送データは、応答の遅延を
知らせる情報であることを特徴とする請求項1乃至3の
いずれか1項記載の可搬情報処理装置。
6. The portable information processing apparatus according to claim 1, wherein the predetermined return data is information for notifying a delay of a response.
JP2000214673A 2000-07-14 2000-07-14 Portable information processor Pending JP2002032726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000214673A JP2002032726A (en) 2000-07-14 2000-07-14 Portable information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000214673A JP2002032726A (en) 2000-07-14 2000-07-14 Portable information processor

Publications (1)

Publication Number Publication Date
JP2002032726A true JP2002032726A (en) 2002-01-31

Family

ID=18710205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000214673A Pending JP2002032726A (en) 2000-07-14 2000-07-14 Portable information processor

Country Status (1)

Country Link
JP (1) JP2002032726A (en)

Similar Documents

Publication Publication Date Title
JP3028815B2 (en) Transmission method of portable electronic device and portable electronic device
JP3522882B2 (en) Protocol switching method
EP1845475A1 (en) Communication medium, communication medium processing apparatus, and communication medium processing system
US9107238B2 (en) Information processing device, information processing method, and program
CN101495972A (en) RF tag system with single step read and write commands
JP3863011B2 (en) Combination type IC card, control method therefor, and system program therefor
JPS63126083A (en) Processing system
CN114221903B (en) Data transmission method and device
JP2002032726A (en) Portable information processor
JP2748253B2 (en) IC card information processing system
JPH01213774A (en) Portable storage medium processor
JP2001282467A (en) Method for reading/writing data from/in sd card certification area and data communication device
JP4683517B2 (en) Non-contact communication method of portable information processing apparatus
JPH06131590A (en) Device for identifying mobile body
CN104636081B (en) Data-storage system and its management method
JPH08129629A (en) Information recording medium with memory check function
JP7468754B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, RECEPTION BLOCK PROCESSING METHOD, AND PROGRAM
JPH09179947A (en) Ic card
JP2012033163A (en) Communication apparatus, communication method and communication processing program
JP2001344582A (en) Portable information processor
JP4734838B2 (en) Information recording medium, program, and command execution control method
JPH10320515A (en) Identification method of ic card
JPH0772891B2 (en) Data transmission method
JPS63268085A (en) Portable memory medium reading and writing device
US6714999B2 (en) Portable electronic apparatus and communication method for protocol selection processing of a portable electronic apparatus