JP3036816B2 - Card data unauthorized write protection device - Google Patents

Card data unauthorized write protection device

Info

Publication number
JP3036816B2
JP3036816B2 JP27838990A JP27838990A JP3036816B2 JP 3036816 B2 JP3036816 B2 JP 3036816B2 JP 27838990 A JP27838990 A JP 27838990A JP 27838990 A JP27838990 A JP 27838990A JP 3036816 B2 JP3036816 B2 JP 3036816B2
Authority
JP
Japan
Prior art keywords
data
card
unit
read
reading
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.)
Expired - Fee Related
Application number
JP27838990A
Other languages
Japanese (ja)
Other versions
JPH04152492A (en
Inventor
孝志 棚沢
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP27838990A priority Critical patent/JP3036816B2/en
Publication of JPH04152492A publication Critical patent/JPH04152492A/en
Application granted granted Critical
Publication of JP3036816B2 publication Critical patent/JP3036816B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、カードデータを読み取り、金銭登録機など
を利用することにより更新したカードデータを書き込む
カードリ−ダライターのカードデータ不正書き込み防止
装置。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a card reader / writer for preventing unauthorized writing of card data by reading card data and writing updated card data by using a cash register or the like.

(ロ) 従来の技術 カードのデータ読み取り後、カードリーダライターよ
りカードが引き抜かれた場合、次にカードを使用不可と
するためにカードデータ読み取り後に使用不可のデータ
をカードに書き込み、更新データを書き込むときに使用
不可のデータを取り消す例えば、特開昭63−79168号公
報に示されるものが知られている。またこのようなカー
ドリーダライターはカードデータを読み取り後からカー
ドデータを書き込むまでの間カードは停止しているた
め、この間にカードを不正に入れ替えることにより入れ
替えたカードにデーターを書き込まれてしまう。
(B) Conventional technology If a card is pulled out from a card reader writer after reading data from the card, write the unusable data to the card after reading the card data and write updated data to disable the card next time For example, Japanese Unexamined Patent Publication No. 63-79168 discloses a method of canceling unusable data. In such a card reader / writer, since the card is stopped after reading the card data and before writing the card data, the data is written to the replaced card by improperly replacing the card during this time.

(ハ) 発明が解決しようとする課題 しかしながら上記従来の技術において、カードのデー
タを読み取り後、停電などにより停止したカードリーダ
ライターからカ−ドを取り出した場合などもカードが使
用不可になってしまう。またカードのデータを読み取り
後、カードを不正に別のカードと入れ替えると、入れ替
えたカードに更新データを書き込んでしまうなどの不具
合を生じる。
(C) Problems to be Solved by the Invention However, in the above-described conventional technology, the card becomes unusable even when the card is read out of the card reader / writer that has been stopped due to a power failure or the like after reading the data from the card. . In addition, if the card is illegally replaced with another card after reading the data on the card, a problem such as writing update data to the replaced card occurs.

よって本発明ではカードデータ読み取り後もカードを
無効としないでなおかつデータ読み取り後のカードを入
れ替えなどによる不正書き込みを防止することを目的と
する。
Therefore, an object of the present invention is to prevent the card from being invalidated after reading the card data and to prevent unauthorized writing due to replacement of the card after reading the data.

(ニ)課題を解決するための手段 上記の課題を解決するために、本発明によるカードリ
ーダライターは、カードが挿入されるとカードのデータ
を読み取るデータ読み取り部と、読み取ったデータを記
憶するデータ記憶部と、カードに更新したデータを書き
込む前に、再びカードの持つデータを前記データ読み取
り部より読み取り、読み取ったデータと前記データ記憶
部に記憶されている最初に読み取ったデータとを照合す
るデータ照合部と、前記データ照合部により照合してデ
ータが一致するとカードに更新したデータを書き込むデ
ータ書き込み部とを備えたものである。
(D) Means for Solving the Problems In order to solve the above problems, a card reader / writer according to the present invention comprises a data reading unit for reading data of a card when a card is inserted, and a data for storing the read data. A storage unit and data for reading the data of the card again from the data reading unit before writing the updated data to the card, and comparing the read data with the first read data stored in the data storage unit. A collation unit; and a data writing unit that writes updated data to a card when the data matches by collation by the data collation unit.

(ホ) 作 用 挿入されたカードのデータを読み取り、読み取ったカ
ードのデータをデータ記憶部に記憶しておいて、更新し
たデータをカードに書き込む前に、再びカードの持つデ
ータをデータ読み取り部より読み取り、読み取ったデー
タとデータ記憶部に記憶されている最初に読み取ったデ
ータとを照合して一致した場合、更新したデータをカー
ドに書き込む、一方照合したデータが一致しない場合カ
ードにデータを書き込まないでカードを返却する。
(E) Operation The data of the inserted card is read, the data of the read card is stored in the data storage unit, and before the updated data is written to the card, the data of the card is read again from the data reading unit. When the read data and the first read data stored in the data storage unit are compared and matched, the updated data is written to the card. On the other hand, when the compared data does not match, the data is not written to the card. Return the card with.

(ヘ) 実施例 本発明の実施例を飲食店や売り場などで利用される金
銭登録機(レジスター,レジ)に接続されるカードリー
ダライターについて説明する。
(F) Example An example of the present invention will be described for a card reader / writer connected to a cash register (register, cash register) used in a restaurant or a sales floor.

第1図はカードデータ不正書き込み防止装置の構成を
示すブロック図であり、第2図は制御部の動作を示すフ
ローチャートであり、第3図は本発明を用いた実施例の
構成図である。
FIG. 1 is a block diagram showing the configuration of a device for preventing unauthorized writing of card data, FIG. 2 is a flowchart showing the operation of a control unit, and FIG. 3 is a configuration diagram of an embodiment using the present invention.

カードリーダライターaは金銭登録機bに接続されて
いてカードのデータを金銭登録機bに送信する。金銭登
録機bは精算ボタンdを押すことにより送信されたデー
タから金額入力部cより入力された金額を差し引いた更
新データをカードリーダライターaに送信する構成であ
る。
The card reader / writer a is connected to the cash register b and transmits card data to the cash register b. The cash register b transmits the updated data obtained by subtracting the amount input from the amount input unit c from the data transmitted by pressing the settlement button d to the card reader / writer a.

カードリーダライターaの制御部7は、カードのデー
タを読み取るデータ読み取り部1と、前記データ読み取
り部1で読み取ったデータを記憶するデータ記憶部2
と、購入した商品の金額を精算する金銭登録機bの主制
御部5と、主制御部5により更新したデータを記憶する
更新データ記憶部3と、データの照合を行うデータ照合
部4と、更新したデータをカードに書き込むデータ書き
込み部6とからなる。
The control unit 7 of the card reader / writer a includes a data reading unit 1 for reading card data, and a data storage unit 2 for storing data read by the data reading unit 1.
A main control unit 5 of the cash registering machine b for adjusting the price of the purchased product, an update data storage unit 3 for storing data updated by the main control unit 5, a data collation unit 4 for collating data, A data writing unit 6 for writing the updated data to the card.

第2図のフローチャートを参照として本発明の動作を
説明する。S1〜S13は各動作ステップを表す。まずカー
ドリーダライターaが使用される状態となると処理をス
タートし、S1で初期設定を行い、S2に進みカードが挿入
されるまで待機状態となる。カードが挿入されると、カ
ードの持つデータをデータ読み取り部1より読み取り
(S3)、取り扱っていないカードのデータであるとS13
に進みカードを返却し処理を終了し、取り扱っているカ
ードのデータであるとS5に進みデータ記憶部2にデータ
を記憶するとともに主制御部5にデータを送信する(S
6)。
The operation of the present invention will be described with reference to the flowchart of FIG. S1 to S13 represent each operation step. First, when the card reader / writer a is used, the process is started, initial settings are performed in S1, and the process proceeds to S2 to be in a standby state until a card is inserted. When the card is inserted, the data held by the card is read by the data reading unit 1 (S3).
Then, the card is returned and the process is completed. If the data is for the card being handled, the process proceeds to S5 to store the data in the data storage unit 2 and transmit the data to the main control unit 5 (S5).
6).

主制御部5は購入した商品の金額を金額入力部cより
入力した後、精算ボタンdを押すと送信されたデータの
金額的価値から購入した商品の合計金額を差し引いた更
新データを制御部7に返信する(S7)。
After inputting the price of the purchased commodity from the price input section c, the main control section 5 presses the settlement button d to update data obtained by subtracting the total price of the purchased commodity from the monetary value of the transmitted data. (S7).

ここで従来は返信されたデータをそのままカードに書
き込んでいたが、カードはデータを読み取り後から精算
ボタンを押すことにより送信される更新データを書き込
むまでカードリーダライターa内に停止している為、カ
ードが停止中に不正に取り替えられると異なるカードに
更新したデータを書き込んでしまうことになる(例え
ば、カードはデータが読み取られた後から精算ボタンが
押されるまで停止しているので精算ボタンを押す前にカ
ードリーダライターa本体を覆っているカバ−を外して
カードリーダライタ−a内に停止中のカードを手で不正
に抜き取り、抜き取ったカードのあった場所に残高のな
いカードを差し込む。この後に精算ボタンを押すことに
より後から差し込まれた残高のないカードに更新したデ
ータを書き込んでしまう)。
Here, in the past, the returned data was directly written on the card, but since the card is read and then stopped in the card reader / writer a until the updated data transmitted by pressing the settlement button is written, If the card is incorrectly replaced while the card is stopped, the updated data will be written to a different card (for example, the card is stopped after the data has been read until the settlement button is pressed, so the settlement button is pressed. Previously, the cover covering the body of the card reader / writer a was removed, and the stopped card was illegally removed by hand into the card reader / writer a. Then, a card with no balance was inserted into the place where the removed card was located. By pressing the checkout button later, the updated data is written to a card with no balance inserted later. ).

よって制御部7は更新したデータを受け取ると更新デ
ータ記憶部3にデータを一時記憶して(S8)カードリ−
ダライターa内に保留しているカードのデータを再びデ
ータ読み取り部1より読み取り(S9)、読み取ったデー
タとデータ記憶部2に記憶されている最初に読み取った
データとをデータ照合部4により照合して(S10)、デ
ータが一致した場合、初めにデータを読みとったカード
と同一のカードと見なして、データ書き込み部6により
カードに更新したデータを書き込む(S11)。
Therefore, when the control unit 7 receives the updated data, it temporarily stores the data in the updated data storage unit 3 (S8).
The data of the card held in the writer a is read again by the data reading unit 1 (S9), and the read data is compared with the first read data stored in the data storage unit 2 by the data matching unit 4. If the data matches (S10), the updated data is written to the card by the data writing unit 6 by regarding the same card as the card from which the data was read first (S11).

カードに更新したデータが書き込まれると、制御部7
は主制御部5に精算終了信号を送信する。主制御部5は
精算終了信号を受けると精算完了となる。そして制御部
7はカードを返却して処理を終了する。処理の終了後は
次に挿入されるカードのため再びスタートに戻りS1で初
期設定を行いS2でカードの挿入が行われるまで待機状態
となる。
When the updated data is written to the card, the control unit 7
Sends a settlement end signal to the main control unit 5. When the main controller 5 receives the settlement end signal, the settlement is completed. Then, the control unit 7 returns the card and ends the processing. After the end of the process, the process returns to the start again for the next card to be inserted, performs initial setting in S1, and waits until the card is inserted in S2.

一方、照合したデータが異なる場合、不正に扱われた
カ−ドと判断して、精算を行わないで、またカードには
更新したデ−タを書き込まないでカードを返却し処理を
終了する。処理の終了後は次に挿入されるカードのため
再びスタートに戻りS1で初期設定を行いS2でカードの挿
入が行われるまで待機状態となる。
On the other hand, if the collated data is different, the card is determined to be an illegally treated card, the card is returned without performing settlement, and the updated data is not written on the card, and the process is terminated. After the end of the process, the process returns to the start again for the next card to be inserted, performs initial setting in S1, and waits until the card is inserted in S2.

(ト) 発明の効果 本発明により、カードのデータ読み取り後、カードを
無効としないため、正規の理由でカードリーダが停止し
た後に取り出したカードが使用可能となる。また挿入さ
れたカードのデータと、更新したデータを書き込むため
のカードのデ−タが一致した場合カードに更新データを
書き込むため、カードを不正に入れ替えてデータを読み
取ったカードとは別のカードに更新データを書き込むこ
とを防止することができる。
(G) Effect of the Invention According to the present invention, the card is not invalidated after the card data is read, so that the card taken out after the card reader is stopped for a legitimate reason can be used. Also, if the data on the inserted card matches the data on the card for writing the updated data, the updated data is written on the card. Writing update data can be prevented.

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

第1図はカードデータ不正書き込み防止装置の構成を示
すブロック図,第2図は制御部の動作を示すフローチャ
ート図、第3図は本発明を用いた実施例の構成図であ
る。 1……データ読み取り部、2……データ記憶部,4……デ
ータ照合部、6……データ書き込み部、a……カードリ
ーダライター。
FIG. 1 is a block diagram showing the configuration of an apparatus for preventing unauthorized writing of card data, FIG. 2 is a flowchart showing the operation of a control unit, and FIG. 3 is a configuration diagram of an embodiment using the present invention. 1. Data reading unit 2. Data storage unit 4. Data collating unit 6. Data writing unit a. Card reader / writer.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G07F 7/08 G06F 15/30 G07G 1/12 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G07F 7/08 G06F 15/30 G07G 1/12

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カードリーダライターにおいて、カードが
挿入されるとカードのデータを読み取るデータ読み取り
部と、読み取ったデータを記憶するデータ記憶部と、カ
ードに更新したデータを書き込む前に、再びカードの持
つデータを前記データ読み取り部より読み取り、読み取
ったデータと前記データ記憶部に記憶されている最初に
読み取ったデータとを照合するデータ照合部と、前記デ
ータ照合部により照合してデータが一致するとカードに
更新したデータを書き込むデータ書き込み部とを備えた
カードデータ不正書き込み防止装置。
1. A card reader / writer, comprising: a data reading unit for reading data from a card when a card is inserted; a data storage unit for storing the read data; A data collating unit that reads the data having the data from the data reading unit, and compares the read data with the first read data stored in the data storage unit; And a data writing unit for writing updated data to the card data.
JP27838990A 1990-10-16 1990-10-16 Card data unauthorized write protection device Expired - Fee Related JP3036816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27838990A JP3036816B2 (en) 1990-10-16 1990-10-16 Card data unauthorized write protection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27838990A JP3036816B2 (en) 1990-10-16 1990-10-16 Card data unauthorized write protection device

Publications (2)

Publication Number Publication Date
JPH04152492A JPH04152492A (en) 1992-05-26
JP3036816B2 true JP3036816B2 (en) 2000-04-24

Family

ID=17596666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27838990A Expired - Fee Related JP3036816B2 (en) 1990-10-16 1990-10-16 Card data unauthorized write protection device

Country Status (1)

Country Link
JP (1) JP3036816B2 (en)

Also Published As

Publication number Publication date
JPH04152492A (en) 1992-05-26

Similar Documents

Publication Publication Date Title
JPH0622030B2 (en) Transaction validity confirmation method
JPS6260080A (en) Ic card system
JP7343230B2 (en) Product sales data processing device and program
KR0150811B1 (en) Automatic cash transaction system
JP3036816B2 (en) Card data unauthorized write protection device
JP2651426B2 (en) IC card
JP3218263B2 (en) IC card and card processing device
JPS6125187B2 (en)
JPS62127998A (en) Electronic cash register
GB2078410A (en) Card transaction verification
JP2650173B2 (en) How to update your prepaid card data
JP3359546B2 (en) Prepaid card system and card reader / writer
JP2631656B2 (en) IC card information processing system
JP2000172914A (en) Host device, ic card processing terminal, and electronic commercial transaction system
JPH02259897A (en) Prepaid terminal and system for preventing forged card
JPS59178598A (en) Transaction processor
JPH08315251A (en) Article sales registration data processor
JPH0615319Y2 (en) Alarm device for off-line use of IC cards
JPS62191999A (en) Electronic cash register
JP2526154Y2 (en) Computer software vending machines
JP3481640B2 (en) Reader / writer device and prepaid card system
JP2788828B2 (en) Data processing device
JPH01223586A (en) Ic card testing system
JP3299876B2 (en) Key information management device for card-type vending machines
JP2899089B2 (en) Passbook issuing machine

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees