JPH0676121A - Information processor using data carrier - Google Patents

Information processor using data carrier

Info

Publication number
JPH0676121A
JPH0676121A JP22949792A JP22949792A JPH0676121A JP H0676121 A JPH0676121 A JP H0676121A JP 22949792 A JP22949792 A JP 22949792A JP 22949792 A JP22949792 A JP 22949792A JP H0676121 A JPH0676121 A JP H0676121A
Authority
JP
Japan
Prior art keywords
data
valid
flag area
area
read
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
JP22949792A
Other languages
Japanese (ja)
Other versions
JP3071958B2 (en
Inventor
Yoshito Ishibashi
義人 石橋
Fuyuki Watanabe
冬樹 渡邊
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.)
Tokimec Inc
Original Assignee
Tokimec Inc
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 Tokimec Inc filed Critical Tokimec Inc
Priority to JP22949792A priority Critical patent/JP3071958B2/en
Publication of JPH0676121A publication Critical patent/JPH0676121A/en
Application granted granted Critical
Publication of JP3071958B2 publication Critical patent/JP3071958B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide an information processor which uses a data carrier used as a coupon ticket, etc., and can attain the correct data processing in the next time even if an error occurs in a rewriting state of a flag area showing the valid one of both data. CONSTITUTION:A memory 23 of a data carrier 20 includes two data areas 30 and 40 and a flag area 24 which stores the pointer information 25 including a check point 26 showing the valid one of both areas 30 and 40. Receiving an access request, a flag area reading part 13 of a reader/writer 10 reads the area 24. When a checking part 14 decides that an error is caused by the rewriting of the area 24 in the precedent time, a data correcting part 16 reads the data A and B out of both areas 30 and 40 and decides the valid one of both data. Then the part 16 corrects the data on the area 24 based on the decided valid data and then instructs a data reading/writing means 15 to carry out the ordinary processing of the valid data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、回数券等として使用さ
れるデータキャリアを用いた情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device using a data carrier used as a coupon.

【0002】[0002]

【従来の技術】近年、非接触で情報の読み書きができる
携帯式で小型の記憶装置として知られたデータキャリア
を有料施設の入場に用いる回数券等として利用すること
が考えられている。図3は従来装置を示したもので、入
場ゲートシステム側にリーダライタ10が設置されてお
り、利用者がデータキャリア20をリーダライタ10の
アクセス可能領域にセットすると、電磁誘導等の非接触
結合によりリーダライタ10からデータキャリア20に
対する処理が行われる。
2. Description of the Related Art In recent years, it has been considered to use a data carrier known as a portable and small-sized storage device capable of reading and writing information in a non-contact manner as a coupon ticket for entering a pay facility. FIG. 3 shows a conventional device, in which the reader / writer 10 is installed on the entrance gate system side, and when the user sets the data carrier 20 in the accessible area of the reader / writer 10, non-contact coupling such as electromagnetic induction is performed. Thus, the process from the reader / writer 10 to the data carrier 20 is performed.

【0003】リーダライタ10には制御部11と伝送部
12が設けられ、またデータキャリア20には、制御部
21、伝送部22およびメモリ23が設けられている。
データキャリア20のメモリ23には、2つのデータエ
リア30,40が設けられ、更にフラグエリア24を設
けており、フラグエリア24に格納したフラグデータの
例えば最終ビットによりデータエリア30,40に格納
しているデータA,Bのどっちが現在有効データである
かを示している。
The reader / writer 10 is provided with a control unit 11 and a transmission unit 12, and the data carrier 20 is provided with a control unit 21, a transmission unit 22 and a memory 23.
The memory 23 of the data carrier 20 is provided with two data areas 30 and 40, and further provided with a flag area 24. The flag data stored in the flag area 24 is stored in the data areas 30 and 40 by the final bit, for example. It indicates which of the data A and B that is currently valid data.

【0004】図4は従来装置の処理動作を示したもの
で、ステップS1でアクセス要求を判別するとステップ
S2でまずフラグエリア24をリードし、ステップS3
でフラグデータの最終ビットが0か否かチェックする。
最終ビット0はデータAが有効であることを示してお
り、このためステップS4でデータAをリードしてステ
ップS5で演算処理を行ない、演算結果はステップS6
で他方のデータBにライトし、最終的にフラグ最終ビッ
トを0から1に変更する。
FIG. 4 shows the processing operation of the conventional apparatus. When the access request is discriminated in step S1, the flag area 24 is first read in step S2, and then step S3.
Check whether the last bit of the flag data is 0 or not.
The last bit 0 indicates that the data A is valid. Therefore, the data A is read in step S4 and the arithmetic processing is performed in step S5.
Then, the other data B is written, and finally the flag last bit is changed from 0 to 1.

【0005】ステップS3でフラグ最終ビット1が判定
された場合には、ステップS8でデータBをリードして
ステップS9で演算処理を行ない、演算結果はステップ
S10で他方のデータAにライトし、最終的にフラグ最
終ビットを1から0に変更する。このようにメモリ23
の異なるデータエリア30,40に交互にデータA,B
として処理結果を格納していく理由は、データ処理に失
敗した場合にも、それ以前の正しいデータが残っている
ことで、データ修復を可能にして信頼性を向上するため
である。
When the flag final bit 1 is determined in step S3, the data B is read in step S8 and the arithmetic processing is performed in step S9. The calculation result is written in the other data A in step S10, and the final result is written. Then, the flag last bit is changed from 1 to 0. Memory 23
Data A and B alternately in different data areas 30 and 40
The reason why the processing result is stored as is is that even if the data processing fails, the correct data before that remains so that the data can be restored and the reliability is improved.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来装置にあっては、データAまたはデータBのエ
ラー発生については、正しいデータを修復することがで
きるが、データA,Bのどちらが有効であるかを示すフ
ラグエリア4の書き替え時にエラーが起きた場合、次の
処理で正しいデータを1/2の確率で処理できなくな
る。
However, in such a conventional apparatus, when an error occurs in the data A or the data B, correct data can be restored, but which of the data A and B is effective. If an error occurs when rewriting the flag area 4 indicating whether there is any, correct data cannot be processed with a probability of 1/2 in the next process.

【0007】即ち、データキャリアを回数券として使用
していた場合、フラグエリアのエラーは1/2の確率で
メモリに格納している残り入場回数が正しく計算される
か、あるいは1回間違って計算されることになる。そこ
で、フラグエリアの書き替えエラーについてはゲートを
一旦閉めて警報等を出し、利用者に入場のやりなおしを
促すことが考えられる。
That is, when the data carrier is used as a coupon, the error in the flag area is calculated with a probability of ½ with the probability that the number of remaining entrances stored in the memory is calculated correctly, or one error is calculated incorrectly. Will be done. Therefore, regarding a rewriting error in the flag area, it is conceivable to close the gate once and issue an alarm or the like to prompt the user to re-enter the entrance.

【0008】しかし、多くの人が並んでいる状態で、ゲ
ートを閉めて再入場を行わせることは、混雑を更に招く
ことから、1回損をしてもよいから通過させてしまう方
が施設の運用面からは得策であり、このためデータキャ
リアを用いた場合にはフラグエリアのエラー発生による
損失を予め見込まなければならないという不具合があっ
た。
However, if many people are lined up and re-entering by closing the gate, it will cause more congestion. However, there is a problem that the loss due to the error occurrence in the flag area must be expected in advance when using the data carrier.

【0009】本発明は、このような従来の問題点に鑑み
てなされたもので、2つのデータエリアのどちらかが有
効かを示すフラグエリアの書き替え時にエラーが発生し
ても、次回に正しいデータ処理ができるようにしたデー
タャリアを用いた情報処理装置を提供することを目的と
する。
The present invention has been made in view of such conventional problems, and even if an error occurs when rewriting a flag area indicating which of the two data areas is valid, the error is corrected next time. An object of the present invention is to provide an information processing device using a data carrier capable of data processing.

【0010】[0010]

【課題を解決するための手段】この目的を達成するため
本発明は次のように構成する。まず本発明は、書込みお
よび読出しができるメモリ23を備えたデータキャリア
20と、データキャリア20のメモリ23を読み書きす
るリーダライタ10とからデータキャリアを用いた情報
処理装置を対象とする。
To achieve this object, the present invention is constructed as follows. First, the present invention is directed to an information processing device using a data carrier including a data carrier 20 having a writable and readable memory 23 and a reader / writer 10 for reading and writing the memory 23 of the data carrier 20.

【0011】このような装置につき本発明は、まずデー
タキャリア20のメモリ23に2つのデータエリア3
0,40を設けると共に、2つのデータエリア30,4
0の内のどちらか一方が有効であるかを示すポインタ情
報25とデータエラーの有無を示す検査点26を格納し
たフラグエリア24を設ける。またデータキャリア20
には、アクセス要求を受けた際にメモリ23のフラグエ
リア24をリードするフラグエリア読出手段13と、読
出したフラグエリア24の検査点26からフラグデータ
エラーを判定する検査手段14と、検査手段14でエラ
ーなしが判定された場合にポインタ情報25で指定され
るデータエリア30又は40を読出して処理した後に他
方のデータエリアに処理結果を書込むデータ読み書き手
段15と、検査手段14でエラーありが判定された場合
に2つのデータエリア30,40のデータA,Bを読出
して有効なデータを判定し、有効データに基づいてフラ
グエリア25のデータを修復した後にデータ読み書き手
段15に有効データに対する処理を引き継ぐデータ修復
手段16とを設けたことを特徴とする。
With respect to such a device, the present invention first describes two data areas 3 in the memory 23 of the data carrier 20.
0, 40 are provided, and two data areas 30, 4 are provided.
A flag area 24 is provided which stores pointer information 25 indicating which one of 0 is valid and an inspection point 26 indicating the presence or absence of a data error. Also the data carrier 20
Includes a flag area reading means 13 for reading the flag area 24 of the memory 23 when an access request is received, an inspection means 14 for determining a flag data error from an inspection point 26 of the read flag area 24, and an inspection means 14. If it is determined that there is no error, the data read / write means 15 for reading the data area 30 or 40 designated by the pointer information 25 and processing it and then writing the processing result to the other data area, and the check means 14 are set to indicate that there is an error When it is determined, the data A and B in the two data areas 30 and 40 are read to determine valid data, the data in the flag area 25 is restored based on the valid data, and then the data read / write means 15 processes the valid data. And a data restoration means 16 for taking over the data.

【0012】ここでデータ修復手段16は、データ読み
書き手段15による処理が減算処理の場合、2つのデー
タエリア30,40から読出したデータA,Bの内、値
の小さい方を有効データと判定して修復処理を行う。
Here, when the processing by the data read / write means 15 is the subtraction processing, the data restoration means 16 determines that the smaller one of the data A and B read from the two data areas 30 and 40 is the valid data. Repair process.

【0013】[0013]

【作用】このような構成を備えた本発明のデータキャリ
アを用いた情報処理装置によれば、2つのデータエリア
のどちらが有効かを示すフラグエリアの書き替え時にエ
ラーが発生しても、次回のフラグエリアの読出時に前回
起きたエラーを検査点から知って正しいポインタ情報に
修復し、有効データのあるデータエリアを対象に処理を
進めることができる。
According to the information processing apparatus using the data carrier of the present invention having such a configuration, even if an error occurs when rewriting the flag area indicating which of the two data areas is effective, the next time When the flag area is read, the error that occurred last time can be known from the inspection point, the pointer information can be restored to the correct pointer information, and the processing can proceed to the data area having valid data.

【0014】このため、例えばデータキャリアを回数券
として使用した場合、フラグエリアの書き替え時にエラ
ーが起きても、ゲート閉鎖による入場のやりなおしや、
1回分損をしてしまうようなことはなく、データキャリ
アを用いた入場システムの信頼性を向上できる。
Therefore, for example, when a data carrier is used as a coupon ticket, even if an error occurs during rewriting of the flag area, re-entry due to gate closing, re-entry,
It is possible to improve the reliability of the entrance system using the data carrier without causing a loss for one time.

【0015】[0015]

【実施例】図1は本発明の一実施例を示した実施例構成
図である。図1において、リーダライタ10はスキー場
のリフトや遊園地の遊戯施設等の有料施設の入場ゲート
に設置されており、利用者が回数券として使用するデー
タキャリア20をアクセス可能範囲にセットすると、必
要な回数券処理業務を実行する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an embodiment showing one embodiment of the present invention. In FIG. 1, a reader / writer 10 is installed at an entrance gate of a pay facility such as a ski lift or an amusement park play facility. When a user sets a data carrier 20 used as a coupon ticket within an accessible range, Execute the required coupon processing business.

【0016】リーダライタ10はMPU等を用いた制御
部11、データキャリア20との間で非接触結合を行う
伝送部12、フラグエリア読出部13、検査部14、デ
ータ読み書み部及びデータ修復部16を備える。またデ
ータキャリア20は制御部21、伝送部22及びメモリ
23を有する。データキャリア20のメモリ23には2
つのデータエリア30と40が設けられ、データエリア
30の格納データをデータA、データエリア40の格納
データをデータBとして示している。
The reader / writer 10 includes a control unit 11 using an MPU or the like, a transmission unit 12 for performing non-contact coupling with a data carrier 20, a flag area reading unit 13, an inspection unit 14, a data reading / writing unit and data restoration. The unit 16 is provided. The data carrier 20 also has a control unit 21, a transmission unit 22, and a memory 23. 2 in the memory 23 of the data carrier 20
One data area 30 and 40 are provided, the data stored in the data area 30 is shown as data A, and the data stored in the data area 40 is shown as data B.

【0017】また、データエリア30,40のデータ
A,Bのどちらが有効であるかを示すため、フラグエリ
ア24を設けている。本発明にあっては、フラグエリア
24のフラグデータとしてポインタ25と検査点26を
備える。ポインタ25は現在有効となっているデータエ
リア30または40の先頭アドレスを示す。検査点26
はフラグエリア24の書替えを行った際にエラーが起き
たか否かを示す情報を格納している。例えば、ポインタ
25として格納したアドレスのパリティデータ等を検査
点26として格納する。
A flag area 24 is provided to indicate which of the data A and B in the data areas 30 and 40 is valid. In the present invention, a pointer 25 and an inspection point 26 are provided as flag data in the flag area 24. The pointer 25 indicates the start address of the data area 30 or 40 that is currently valid. Inspection point 26
Stores information indicating whether or not an error has occurred when the flag area 24 was rewritten. For example, parity data of the address stored as the pointer 25 is stored as the check point 26.

【0018】リーダライタ10の伝送部12とデータキ
ャリア20の伝送部22による非接触結合は、例えば電
磁誘導結合を用いる。また、リーダライタ10からデー
タキャリア20に対するデータ伝送としてはFSK変調
方式を採用し、一方、データキャリア20からリーダラ
イタ10へのデータ伝送はデータキャリア20の送信パ
ワーが小さいことからスペクトラム拡散通信方式とする
ことが望ましい。
The non-contact coupling by the transmission section 12 of the reader / writer 10 and the transmission section 22 of the data carrier 20 uses, for example, electromagnetic induction coupling. Further, the FSK modulation method is adopted as the data transmission from the reader / writer 10 to the data carrier 20, while the data transmission from the data carrier 20 to the reader / writer 10 is a spread spectrum communication method because the transmission power of the data carrier 20 is small. It is desirable to do.

【0019】また、データキャリア20のメモリ23と
しては不揮発性メモリが望ましいが、電池内蔵のものに
ついては電池バックアップを受けたRAMであってもよ
い。また、データキャリア20としては電池内蔵でもよ
いし、リーダライタ10からの送信信号を整流して動作
電源を作り出す電池を内蔵しないものであってもよい。
Although a non-volatile memory is desirable as the memory 23 of the data carrier 20, a battery-backed RAM may be used for the one having a built-in battery. Further, the data carrier 20 may have a built-in battery, or may not have a built-in battery that rectifies a transmission signal from the reader / writer 10 to generate an operating power supply.

【0020】図2は図1の実施例の処理動作を示したフ
ローチャートである。図2において、回数券として利用
するデータキャリア20をもった利用者が入場ゲートに
設置されているリーダライタ10のアクセス可能領域に
データキャリア20をセットすると、両者の間で通信が
開始され、ステップS1でリーダライタ10側はアクセ
ス要求ありを判定する。続いてステップS2で制御部1
1がフラグエリア読出部13を起動し、データキャリア
20のメモリ23のフラグエリア24が読み出される。
FIG. 2 is a flow chart showing the processing operation of the embodiment of FIG. In FIG. 2, when a user having a data carrier 20 used as a coupon ticket sets the data carrier 20 in the accessible area of the reader / writer 10 installed at the entrance gate, communication is started between the two, In S1, the reader / writer 10 side determines that there is an access request. Then, in step S2, the control unit 1
1 activates the flag area reading unit 13, and the flag area 24 of the memory 23 of the data carrier 20 is read.

【0021】フラグエリアのリードデータは検査部14
に与えられ、検査点26を解読し、前回のフラグエリア
24の書替えでエラーが起きているか否かを判定する。
エラーがなければステップS5に進み、フラグエリア2
4から得られたポインタ25をステップS5で解読し、
データエリア30のデータAが有効か、データ40のデ
ータBが有効かを判定する。
The read data in the flag area is inspected by the inspection unit 14.
The inspection point 26 is decoded and it is determined whether or not an error has occurred in the previous rewriting of the flag area 24.
If there is no error, the process proceeds to step S5 and the flag area 2
In step S5, the pointer 25 obtained from 4 is decrypted,
It is determined whether the data A in the data area 30 is valid or the data B in the data 40 is valid.

【0022】ステップS6でデータAが有効であること
が判定されるとステップS7でデータ読み書き部15が
データエリア30のデータAをリードし、制御部11に
おいてデータAは現在の残り入場回数であることからス
テップS8で1つ減らす減算を行い、ステップS9で減
算結果をデータエリア40のデータBに上書きして書き
替える。
When it is determined in step S6 that the data A is valid, the data read / write unit 15 reads the data A in the data area 30 in step S7, and the data A is the current remaining number of entrances in the control unit 11. Therefore, in step S8, subtraction is performed by subtracting one, and in step S9, the subtraction result is overwritten on the data B in the data area 40 and rewritten.

【0023】続いてステップS3でフラグエリア24に
対しデータBが有効にあったことを示すデータエリア4
0の先頭アドレスを示すポインタ25を検査点26付き
で変更する。一方、フラグエリア24のポインタ25か
らステップS6でデータBが有効データと判定された場
合には、ステップS10,S11,S12の処理により
データBをリードして減算し、結果をデータAに書き込
み、ステップS13でフラグエリア24のデータを検査
点26付きのポインタ25でデータAが有効データであ
ることを示すデータに変更する。
Subsequently, in step S3, a data area 4 indicating that the data B is valid for the flag area 24
The pointer 25 indicating the start address of 0 is changed with the inspection point 26. On the other hand, when the data B is determined to be valid data in step S6 from the pointer 25 of the flag area 24, the data B is read and subtracted by the processing of steps S10, S11, and S12, and the result is written in the data A, In step S13, the data in the flag area 24 is changed to data indicating that the data A is valid data by the pointer 25 with the inspection point 26.

【0024】一方、ステップS13でフラグエリア24
の書替えを行った際に何等かの原因によりエラーが発生
した場合には、このエラー発生に対し特に処理を行うこ
となく、ステップS1に戻って次のデータキャリア20
の使用を待つ。フラグエリア24の書替えエラー発生後
にデータキャリア20が再度使用されると、フラグエリ
ア24のリードにより検査点26を解析したときに、前
回、フラグエリア24の書替えエラーが生じていたこと
が判り、エラーありがステップS4で判定される。この
場合にはリーダライタ10のデータ修復部16が起動
し、ステップS14でメモリ23のデータエリア30,
40の両方のデータA,Bをリードし、ステップS15
で有効データがどちらかを判定する。
On the other hand, in step S13, the flag area 24
If an error occurs due to some cause when the rewriting is performed, the process returns to step S1 and the next data carrier 20
Wait for use. When the data carrier 20 is used again after the rewriting error of the flag area 24 occurs, when the inspection point 26 is analyzed by reading the flag area 24, it is found that the rewriting error of the flag area 24 occurred last time. Yes is determined in step S4. In this case, the data recovery unit 16 of the reader / writer 10 is activated, and in step S14, the data area 30 of the memory 23,
Both data A and B of 40 are read, and step S15
To determine which is valid data.

【0025】この実施例にあっては、ステップS8,S
11に示すように、データキャリア20から読み出した
有効データAまたはBを1つ減らす減算を行っているこ
とから、ステップS15にあっては、データAとBの
内、小さい方の値を有効データと判定する。続いてステ
ップS16に進み、有効データの判定結果に基づきフラ
グエリア24のポインタ25及び検査点26を生成して
フラグエリア24を正しいデータに修復し、データ読み
書き部15に対し通常の処理を行うように引き継ぐ。即
ち、ステップS17で有効データがデータAか否か判定
し、データAであればステップS7に進み、一方、デー
タBであればステップS10に進む。
In this embodiment, steps S8 and S
As shown in FIG. 11, since the valid data A or B read from the data carrier 20 is subtracted by one, the smaller one of the data A and B is the valid data in step S15. To determine. Then, in step S16, the pointer 25 and the inspection point 26 of the flag area 24 are generated based on the determination result of the valid data to restore the flag area 24 to correct data, and the data read / write unit 15 is subjected to normal processing. To take over. That is, in step S17, it is determined whether or not the valid data is the data A. If the data is data A, the process proceeds to step S7. If the data is data B, the process proceeds to step S10.

【0026】勿論、ステップS16のフラグエリアの修
復が済んだ後にステップS2に戻って、修復後の通常の
処理を行うようにしてもよい。
Of course, after the flag area has been repaired in step S16, the process may return to step S2 to perform the normal processing after repair.

【0027】[0027]

【発明の効果】以上説明してきたように本発明によれ
ば、自動入場機や自動改札機でデータキャリアを回数券
として使用する場合、2つのデータ領域のどちらが有効
データであるかを示すフラグエリアの書替えに失敗して
も、書替え失敗時にはゲート閉鎖を行わずにそのまま通
過させ、次に入場する際に、前回のエラーを知って修復
処理を行って、正しいデータ処理を行うことができ、デ
ータキャリアを用いた入場システムの信頼性を大幅に向
上できる。
As described above, according to the present invention, when the data carrier is used as a coupon in an automatic entrance machine or an automatic ticket gate, a flag area indicating which of the two data areas is valid data. Even if the rewriting fails, if the rewriting fails, you can pass it through without closing the gate, and when you enter the next, you can know the previous error and perform the repair process to perform the correct data processing. The reliability of the entrance system using carriers can be greatly improved.

【0028】また、エラー発生時にゲート閉鎖等を行わ
ないことから、多くの人が並んだ状態でも混雑を更に起
こすことなく、スムーズに入場を進めることができる。
Further, since the gate is not closed when an error occurs, even if many people are lined up, the entrance can be smoothly proceeded without further congestion.

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

【図1】本発明の実施例構成図FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の処理動作を示したフローチャートFIG. 2 is a flowchart showing the processing operation of the present invention.

【図3】従来装置の説明図FIG. 3 is an explanatory view of a conventional device.

【図4】従来装置の処理動作を示したフローチャートFIG. 4 is a flowchart showing a processing operation of a conventional device.

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

10:リーダライタ 11,21:制御部 12,22:伝送部 13:フラグエリア読出部 14:検査部 15:データ読み書き部 16:データ修復部 20:データキャリア 23:メモリ 24:フラグエリア 25:ポインタ 26:検査点 30,40:データエリア 10: reader / writer 11, 21: control unit 12, 22: transmission unit 13: flag area reading unit 14: inspection unit 15: data reading / writing unit 16: data restoration unit 20: data carrier 23: memory 24: flag area 25: pointer 26: Inspection point 30, 40: Data area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】書込みおよび読出しができるメモリを備え
たデータキャリアと、該データキャリアのメモリを読み
書きするリーダライタとから成るデータキャリアを用い
た情報処理装置に於いて、 前記データキャリアのメモリに2つのデータエリアを設
けると共に、該2つのデータエリアの内のどちらか一方
が有効であるかを示すポインタ情報とデータエラーの有
無を示す検査点とを格納したフラグエリアを設け、 前記データキャリアには、アクセス要求を受けた際に前
記メモリのフラグエリアをリードするフラグエリア読出
手段と、読出したフラグエリアの検査点からフラクデー
タエラーを判定する検査手段と、該検査手段でエラーな
しが判定された場合に前記ポインタ情報で指定されるデ
ータエリアを読出して処理した後に他方のデータエリア
に処理結果を書込むデータ読み書き手段と、前記検査手
段でエラーありが判定された場合に前記2つのデータエ
リアを読出して有効なデータを判定し、該有効データに
基づいてフラグエリアのデータを修復した後に前記デー
タ読み書き手段に有効データに対する処理を引き継ぐデ
ータ修復手段とを設けたことを特徴とするデータキャリ
アを用いた情報処理装置。
1. An information processing apparatus using a data carrier comprising a data carrier having a writable and readable memory and a reader / writer for reading and writing the memory of the data carrier. One data area is provided, and a flag area that stores pointer information indicating whether one of the two data areas is valid and an inspection point indicating whether or not there is a data error is provided. , A flag area reading means for reading the flag area of the memory when an access request is received, an inspection means for determining a fractal data error from an inspection point of the read flag area, and the inspection means for determining no error If the data area specified by the pointer information is read and processed, the other data Data read / write means for writing a processing result to the rear, and when the inspection means determines that there is an error, the two data areas are read to determine valid data, and the data in the flag area is determined based on the valid data. An information processing apparatus using a data carrier, characterized in that the data read / write means is provided with a data restoration means for taking over the processing for valid data after restoration.
【請求項2】請求項1記載のデータキャリアを用いた情
報処理装置に於いて、前記データ修復手段は、データ読
み書き手段による処理が減算処理の場合、2つのデータ
エリアから読出したデータの内、値の小さい方を有効デ
ータと判定して修復処理を行うことを特徴とするデータ
キャリアを用いた情報処理装置。
2. The information processing device using the data carrier according to claim 1, wherein the data restoration means, when the processing by the data read / write means is subtraction processing, of the data read from the two data areas, An information processing apparatus using a data carrier, characterized in that one having a smaller value is determined to be valid data and restoration processing is performed.
JP22949792A 1992-08-28 1992-08-28 Information processing device using data carrier Expired - Lifetime JP3071958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22949792A JP3071958B2 (en) 1992-08-28 1992-08-28 Information processing device using data carrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22949792A JP3071958B2 (en) 1992-08-28 1992-08-28 Information processing device using data carrier

Publications (2)

Publication Number Publication Date
JPH0676121A true JPH0676121A (en) 1994-03-18
JP3071958B2 JP3071958B2 (en) 2000-07-31

Family

ID=16893101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22949792A Expired - Lifetime JP3071958B2 (en) 1992-08-28 1992-08-28 Information processing device using data carrier

Country Status (1)

Country Link
JP (1) JP3071958B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310590A (en) * 2006-05-17 2007-11-29 Toshiba Tec Corp Radio tag system, radio tag data writing method, radio tag reader/writer device and radio tag

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310590A (en) * 2006-05-17 2007-11-29 Toshiba Tec Corp Radio tag system, radio tag data writing method, radio tag reader/writer device and radio tag

Also Published As

Publication number Publication date
JP3071958B2 (en) 2000-07-31

Similar Documents

Publication Publication Date Title
US4449040A (en) Identification code determining apparatus for use in transaction processing apparatus
US4590365A (en) Automatic transaction system
US4808802A (en) Method and system for protecting information recorded in information medium
JPH0378815B2 (en)
CN101263502B (en) Detection of faults during a long perturbation
US6345761B1 (en) Method and device for processing biometric data
KR102440878B1 (en) Learning method for learning detection model for fraud detection of virtual asset, detecting method of fraud detection of virtual asset using the detection model, apparatus and computer program for performing the learning method and the detecting method
JP2750746B2 (en) Method for preventing unauthorized use of portable terminal devices
JPH0676121A (en) Information processor using data carrier
EP0969358A2 (en) Information processing device and method for performing parallel processing
JPH0844832A (en) Non-contact portable storage medium processing system
JP2000322535A (en) Information processing method and system for ic card
US6772234B1 (en) System and method for indicating the improper removal of a storage medium before completion of a write cycle
CN110942132B (en) Anti-theft credit card and anti-theft credit card swiping method
JPS61151793A (en) Ic card security protection system
JP3180862B2 (en) Gate illegal traffic prevention device
JP2006011605A (en) Data-checking method
JPS61208191A (en) Automatic ticket checker
JPS5829081A (en) Automatic ticket checking apparatus
JP2594476Y2 (en) Magnetic data collation device
JP3044925B2 (en) Card type entrance processing device
JP3524409B2 (en) Data aggregation machine
CN112723072A (en) Elevator control method and device, electronic equipment and storage medium
JP2003308501A (en) Noncontact ic card and writing method for it
JP3777695B2 (en) Transaction processing apparatus and automatic ticket gate