JPS63279393A - Card processor - Google Patents

Card processor

Info

Publication number
JPS63279393A
JPS63279393A JP11527887A JP11527887A JPS63279393A JP S63279393 A JPS63279393 A JP S63279393A JP 11527887 A JP11527887 A JP 11527887A JP 11527887 A JP11527887 A JP 11527887A JP S63279393 A JPS63279393 A JP S63279393A
Authority
JP
Japan
Prior art keywords
card
value information
sensor
processing device
magnetic head
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
JP11527887A
Other languages
Japanese (ja)
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 JP11527887A priority Critical patent/JPS63279393A/en
Publication of JPS63279393A publication Critical patent/JPS63279393A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、カードに記録されている価値情報を読取り、
該価値情報に応じた取引きの後の更新された価値情報を
カードに記録してから返却するカード処理装置に関する
[Detailed description of the invention] (a) Industrial application field The present invention reads value information recorded on a card,
The present invention relates to a card processing device that records updated value information on a card after a transaction according to the value information and then returns the card.

(ロ)従来の技術 かかるカード処理装置は、特開昭61−283995号
公報にも開示されているように、投入されたカードに記
録されている情報を読取った後このカードを内部に保持
し、カード情報による取引処理に基づいてカード情報を
更新記録して返却するものである。
(B) Prior Art As disclosed in Japanese Patent Laid-Open No. 61-283995, such a card processing device reads the information recorded on the inserted card and then retains the card inside. , the card information is updated and recorded based on transaction processing using the card information and returned.

(ハ)発明が解決しようとする問題点 しかしながら従来のカード処理装置においては、カード
から情報を読取って内部に保持している状態でカードが
不正に引き戻されると、このカードには取引きに応じて
減算された更新情報が記録されないことになり、このカ
ードが次の取引きに悪用きれるおそれがある。
(c) Problems to be Solved by the Invention However, in conventional card processing devices, if the card is fraudulently withdrawn while the information is read from the card and retained internally, the card will not be processed according to the transaction. The updated information subtracted by the card will not be recorded, and there is a risk that this card can be misused in the next transaction.

したがって本発明はこのような不正を防止するために、
取引動作を許容した場合にはカードの価値をいったん実
質“0”にして、取引終了後カードに“0”に代わって
本来の更新情報を記録するカード処理装置を提供するも
のである。
Therefore, in order to prevent such fraud, the present invention
To provide a card processing device which temporarily sets the value of the card to substantially "0" when a transaction operation is permitted, and records original update information on the card instead of "0" after the transaction is completed.

(ニ)問題点を解決するための手段 上記の問題点を解決するために本発明のカード処理装置
は、カードに読取りと書込みが可能な少くとも2通りの
記録部を設け、このカードの投入により第1記録部に記
録きれている価値情報を読取る読取手段と、読取手段に
て読取った価値情報を第2記録部に書込む第1書込手段
と、記録している価値情報が読取られた後の第1記録部
に実質“0″の価値情報を書込む第2書込手段と、第1
及び第2の各書込手段にて書込みがなされた投入カード
を保持する保持手段と、読取手段が読取った価値情報に
基づき所定の取引きがなされた後の更新された価値情報
を実質“0“′の価値情報に換えて第1記録部に書込む
第3書込手段と、更新された価値情報が記録きれたカー
ドを投入者に返却する返却手段とを具備している。
(d) Means for Solving the Problems In order to solve the above problems, the card processing device of the present invention is provided with at least two recording units that can read and write to the card, and when the card is inserted. a reading means for reading the value information completely recorded in the first recording part; a first writing means for writing the value information read by the reading means into the second recording part; a second writing means for writing value information of substantially "0" into the first recording part after the first recording part;
and a holding means for holding the input card written by each of the second writing means, and a holding means for holding the inserted card written by each of the second writing means, and a holding means for holding the inserted card written by each of the second writing means, and the updated value information after a predetermined transaction is made based on the value information read by the reading means. The present invention includes a third writing means for writing into the first recording section in place of the value information of "', and a return means for returning the card in which the updated value information has been recorded to the inserter.

(ホ)作用 カードの投入により、読取手段にてカードの第1記憶部
に記録されている価値情報を読取り、そして読取った価
値情報を第1書込手段にてカードの第2記録部に書込む
とともに、第1記録部には実質“0”の価値情報を第2
書込手段にて書込む。その後、投入カードは保持手段に
て保持される。この状態でカード処理装置に接続される
サービス機は価値情報に基づくサービスを行ない、サー
ビスに応じて減算した更新された価値情報をカード処理
装置に出力する。そしてカード処理装置は、第3書込手
段にてカードの第1記録部の価値情報を実質“O”から
更新価値情報に書換えた後に、返却手段にて返却する。
(e) When the effect card is inserted, the reading means reads the value information recorded in the first storage section of the card, and the first writing means writes the read value information to the second storage section of the card. At the same time, the value information of "0" is stored in the first recording section in the second recording section.
Write using a writing method. Thereafter, the inserted card is held by the holding means. In this state, the service machine connected to the card processing device performs a service based on the value information, and outputs updated value information subtracted according to the service to the card processing device. Then, the card processing device uses the third writing means to rewrite the value information in the first recording section of the card from substantially "O" to updated value information, and then returns the card using the return means.

したがって保持手段に保持されているカードを不正に引
き戻しても、このカードの価値情報は′O”のために新
たに使用することは不可能となる。
Therefore, even if the card held in the holding means is illegally withdrawn, the value information of this card will be 'O', making it impossible to use it again.

(へ)実施例 以下、図面によって実施例を説明する。(f) Example Examples will be described below with reference to the drawings.

第1図はカード処理装置を示し、上部にはカードを内部
に受入れる挿入口(1)が水平方向に設けられている。
FIG. 1 shows a card processing device, in which an insertion slot (1) for receiving a card is provided in the upper part in a horizontal direction.

挿入口(1)は、水平方向に挿入されたカードを垂直方
向に転換するための屈曲部(2)を通して、搬送路(3
)に接続されている。この搬送路(3)は−組の固定板
(4)と可動板(5)とによりカードを垂直下方方向へ
案内するように形成されている。そして搬送路(3)に
はカードを垂直方向に移送するための搬送装置(6)が
設けられており、この搬送装置(6)は相対向する一組
のプーリ(7A>(7B) 、 (8A)(8B) 、
 (9A)(9B) 、 (IOA>(IOB)とベル
ト(11)とにより形成されている。各々のプーリは固
定板(4)若しくは可動板(5)に回動自在に軸支され
ており、またベルト(11)はプーリ(7A)(8A)
 (9A)(IOA)に張架きれている。このような搬
送装置(6)は、正逆回転が可能なモータ(12)の回
転力がベルト(13)を介しプーリ(8A)と同軸に取
付けられた変速プーリ(13)に伝達されて、駆動する
。第2図に示すロータリーエンフーーダ(14)はベル
ト(13)によって回動するプーリ(15)を備えてお
り、プーリ(15)の回動にて定期的にエンコーダパル
スを出力する。搬送路(3)にはカードの移動方向にし
たがって一組の発光素子と受光素子とから成るセンサー
(A) 、 (B) 、 (C)を順次配置しており、
センサー間の間隔はカードの長手方向の寸法より小きく
設定しである。かかるセンサー(A) 、 (B) 、
 (C)の配置構成により搬送路(3)内のカードは何
れかのセンサーにて検知される。また搬送路(3)途中
にはセンサー(B)と同位置に磁気ヘッド(16)及び
押圧ローラ(17)とから成るカード読取・書込装置(
18)が設けられている。磁気ヘッド(16)は搬送路
(3)を通過するカードの情報を読取るとともに、この
カードへ更新データを書込み、押圧ローラ(17)は搬
送路(3)を通過するカードを磁気へラド(16)に押
圧する。
The insertion slot (1) passes through a bending part (2) for converting a horizontally inserted card into a vertical direction, and then leads to a conveyance path (3).
)It is connected to the. This conveyance path (3) is formed by a fixed plate (4) and a movable plate (5) to guide the card vertically downward. The conveying path (3) is provided with a conveying device (6) for vertically conveying the card, and this conveying device (6) consists of a pair of opposing pulleys (7A>(7B), 8A) (8B),
(9A) (9B), (IOA>(IOB)) and a belt (11). Each pulley is rotatably supported by a fixed plate (4) or a movable plate (5). , and the belt (11) has pulleys (7A) (8A)
(9A) (IOA) is suspended. In such a conveying device (6), the rotational force of a motor (12) capable of forward and reverse rotation is transmitted via a belt (13) to a variable speed pulley (13) installed coaxially with a pulley (8A). drive The rotary encoder (14) shown in FIG. 2 includes a pulley (15) rotated by a belt (13), and periodically outputs encoder pulses as the pulley (15) rotates. Sensors (A), (B), and (C) each consisting of a set of light emitting elements and light receiving elements are sequentially arranged in the transport path (3) according to the direction of movement of the card.
The spacing between the sensors is set to be smaller than the longitudinal dimension of the card. Such sensors (A), (B),
With the arrangement shown in (C), a card in the transport path (3) is detected by one of the sensors. In addition, in the middle of the conveyance path (3), a card reading/writing device (comprised of a magnetic head (16) and a pressure roller (17) located at the same position as the sensor (B) (
18) is provided. The magnetic head (16) reads information on the card passing through the conveyance path (3) and writes updated data to this card, and the pressing roller (17) magnetically presses the card (16) through the conveyance path (3). ).

カードの磁気ストライブ部(”)には、他のカードシス
テムと区別するための識別情報やオペレータフードまた
は仕向地コード等のカードの固有情報とともに価値情報
が記録されている。そして価値情報には、カードが現在
有している価値情報と前回の処理が終了したときに有し
ている価値情報とがあり、磁気ストライブ部(”)には
第2図で示すように、これら2通りの価値情報を記録す
るための記録部(”A)(”B)を設定している。磁気
ストライブ部〈”)の記録部(”C)は、上記識別情報
やカードの固有情報を記録するためのセキュリティエリ
アである。    − 第2図は制御ブロック図を示し、(20)は予めプログ
ラムされている制御手順に沿って動作するCPUで、内
部にレジスタR1〜R4を具備している。(21)は、
読取スタート信号R5Tに応答して磁気ヘッド(16)
によりカード情報を読取ってCPU(20)に出力する
読取回路、(22)は、書込スタート信号WSTに応答
して、CPU(20)より与えられる書込データを磁気
ヘッド(16〉にてカードに書込む書込回路である。(
23)は、カード処理装置に投入されたカードの価値情
報に基づき所定のサービスをカード投入者に施す例えば
自動販売機などのサービス機で、カード処理装置はこの
サービス機内に組込まれている。そしてサービス機(2
3)は伝送インターフェイス(24)を介してCPU(
20)に接続されており、カード処理装置がカード処理
動作を行うか否かはサービス機(23)によって制御さ
れる。
Value information is recorded on the card's magnetic stripe ('') along with card-specific information such as identification information to distinguish it from other card systems, operator hood or destination code. , there is value information that the card currently has and value information that it had when the previous processing was completed, and the magnetic stripe section ('') has these two types of value information as shown in Figure 2. A recording section ("A") ("B) for recording value information is set. The recording section ("C") of the magnetic stripe section (") is a security area for recording the above-mentioned identification information and unique information of the card. - FIG. 2 shows a control block diagram, and (20) is a CPU that operates according to a preprogrammed control procedure, and is internally equipped with registers R1 to R4. (21) is
The magnetic head (16) responds to the read start signal R5T.
A reading circuit (22) reads the card information and outputs it to the CPU (20), and in response to the write start signal WST, the reading circuit (22) reads the write data given by the CPU (20) and outputs it to the card using the magnetic head (16). This is a write circuit that writes to (
23) is a service machine, such as a vending machine, which provides a predetermined service to a card inserter based on the value information of the card inserted into the card processing device, and the card processing device is built into the service machine. And the service machine (2
3) is connected to the CPU (
20), and whether or not the card processing device performs a card processing operation is controlled by the service device (23).

以下CPU(20>の制御手順を示す第3図及び第4図
のフローチャートによってカード処理装置の動作を説明
する。
The operation of the card processing device will be described below with reference to the flowcharts of FIGS. 3 and 4 showing the control procedure of the CPU (20>).

先ずS1ステツプにおいてはセンサー(A) 、 (B
)、(C)をチェックする。カード処理装置内にカード
が停止している何れかのセンサー(A) 、 (B) 
First, in step S1, sensors (A) and (B
), check (C). Whichever sensor (A) or (B) the card is stopped in the card processing device
.

(C)がOFFしており、CPU(20)はSOステッ
プでレジスタR1にリジェクトフラグをセットする。S
2ステツプではサービス機(23)よりカードリジェク
ト信号REJが出力されているかを判別する。サービス
機(23)は、カードが投入されてもカードの投入者に
対して所定のサービスが施せなくなると、カード処理装
置に対してカードの受入禁止を指示するカードリジェク
ト信号REJを出力する。CPU(20)はカードリジ
ェクト信号REJが伝送されていると、SOステップで
リジェクトフラグをセットする。これによりカード処理
装置にカードが投入されてセンサー(A)がOFFして
も、CPU(20)はモータ(12)を駆動しない。し
かしてセンサー(A) 、 (B) 、 (C)が全て
ONL、ており、且つサービス機(23)からもカード
リジェクト信号REJが伝送されていないと、CPU(
20)はS3ステツプでレジスタR1をクリアすること
で、リジェクトフラグをセットしていればこれを解除し
て、カード処理装置をカードの受付可能状態とする。そ
してS5ステツプでセンサー(A)のOFFをチェック
することで、カード処理装置にカードが投入されたかを
判定する。カードの投入を検知すると、S7ステップで
モータ(12)を正転駆動きせる。これにより投入カー
ドはカード処理装置の内部に移送きれる。S9ステツプ
ではセンサー(B)のOFFをチェックして、投入カー
ドが磁気ヘッド(16)まで到達したかを判定する。こ
のステップにおいて、予め定めている所定時間内でセン
サー(B)が0FFLなければ異常と判定し、カード処
理装置は動作を停止する。
(C) is OFF, and the CPU (20) sets a reject flag in the register R1 in the SO step. S
In step 2, it is determined whether the card reject signal REJ is output from the service machine (23). When the service machine (23) cannot provide a predetermined service to the person who inserted the card even if the card is inserted, the service machine (23) outputs a card reject signal REJ that instructs the card processing device to prohibit acceptance of the card. When the card reject signal REJ is transmitted, the CPU (20) sets a reject flag in the SO step. As a result, even if a card is inserted into the card processing device and the sensor (A) is turned off, the CPU (20) does not drive the motor (12). However, if the sensors (A), (B), and (C) are all ONL, and the card reject signal REJ is not transmitted from the service device (23), the CPU (
20) clears the register R1 in step S3, cancels the reject flag if it has been set, and makes the card processing device ready to accept cards. Then, in step S5, it is determined whether a card has been inserted into the card processing device by checking whether the sensor (A) is OFF. When the insertion of the card is detected, the motor (12) is driven to rotate in the normal direction in step S7. As a result, the inserted card can be transferred into the card processing device. In step S9, it is checked whether the sensor (B) is OFF to determine whether the inserted card has reached the magnetic head (16). In this step, if the sensor (B) does not reach 0FFL within a predetermined time, it is determined that there is an abnormality, and the card processing device stops operating.

カードが磁気ヘッド(16)に到達するとセンサー(B
)が0FFL、CP U(20)はS11ステツプで読
取回路(21)に読取スタート信号R8Tを出力して読
取動作となる。読取回路(21)は読取制御信号REを
磁気ヘッド(16)に出力し、該ヘッド(16)を通し
カードの磁気ストライブ部(”)を走査して記録きれて
いる信号りを読取り、該信号をデータパルスDPに変換
してクロックパルスCP rとともにCPU(20)に
与える。モしてCPU(20)はクロックパルスにより
順次データパルスDPを取込んでレジスタR2にストア
した後、次の813ステツプに進む。813ステツプで
はセンサー(C)のOFFをチェックすることでカード
が到達したかを判定し、所定時間内にセンサー(C)が
0FFL、なければ異常としてカード処理装置の動作を
停止する。
When the card reaches the magnetic head (16), the sensor (B
) is 0FFL, the CPU (20) outputs a read start signal R8T to the read circuit (21) in step S11, and starts a read operation. The reading circuit (21) outputs the reading control signal RE to the magnetic head (16), scans the magnetic stripe section ('') of the card through the head (16), reads the completely recorded signal, and reads the signal that has been completely recorded. The signal is converted into a data pulse DP and given to the CPU (20) along with a clock pulse CPr.The CPU (20) sequentially takes in the data pulse DP according to the clock pulse and stores it in the register R2. Proceed to step 813. In step 813, it is determined whether the card has arrived by checking whether the sensor (C) is OFF, and if the sensor (C) is not 0FFL within a predetermined time, it is considered abnormal and the operation of the card processing device is stopped. .

カードがセンサー(C)に到達した段階でカードの後端
部は未だ磁気ヘッド(16)にかかっており、そのため
次の315ステツプでは所定の遅延時間をとってカード
の移送を続行させた後に、S17ステツプでモータ(1
2)の駆動を停止する。8”ステツプではセンサー(B
)のONをチェックして、カードの後端部が磁気ヘッド
(16)から離脱したかを判定する。カードの長さが適
当な場合にカードは磁気ヘッド(16)から離れるため
にセンサー(B)はONL、ているが、これが0FFt
、ている場合には非適正なカードが投入されたとしてモ
ータ(12)を逆転させて返却する。しかしてこのとき
投入カードが正常な長さであれば、その先端部のみがセ
ンサー(C)にかかっている状態でカード処理装置内に
停止している。そして次の821ステツプでは読取った
カードの記録情報のうち、記録部(”C)に記録されて
いるセキュリティー情報からカードの正偽を判別し、偽
カードであればモータ(12)を逆転させて返却する。
When the card reaches the sensor (C), the rear end of the card is still on the magnetic head (16), so in the next step 315, the card is continued to be transferred after a predetermined delay time. At step S17, the motor (1
2) Stops the drive. At the 8” step, the sensor (B
) to determine whether the rear end of the card has come off the magnetic head (16). When the length of the card is appropriate, the sensor (B) is ONL so that the card separates from the magnetic head (16), but this is 0FFt.
, it is assumed that an invalid card has been inserted and the motor (12) is reversed and returned. However, if the length of the inserted card is normal at this time, the inserted card is stopped in the card processing device with only the leading end of the card resting on the sensor (C). Then, in the next step 821, the authenticity of the card is determined based on the security information recorded in the recording section ("C") among the recorded information of the read card, and if it is a fake card, the motor (12) is reversed. return.

カードが適正であると、その磁気ストライプ部(”〉へ
の書込動作となるが、先ず823ステツプで書込データ
をレジスタR3内に作成する。書込む情報はこのカード
から読取ってレジスタR2にストアしているコードが示
す情報と同じであるが、書込時においてはカードの読取
時に記録部(”B)に記録されていた価値情報を記録部
(”A)に記録するようにフードの配列を変換するとと
もに、記録部(”B>には0゛が記録されるように新た
なフードを追加して書込データを作成する。モしてS2
5ステツプではモータ(12)を逆転駆動し、次の32
7ステツプではセンサー(B)のOFFをチェックする
ことで、カードが磁気ヘッド(16)に到達したかを判
定する。このステップにおいても所定時間内にセンサー
(B)が0FFLなければ異常と判定して、カード処理
装置の動作を停止する。カードが磁気ヘッド(16)に
到達したことでセンサー(B)がOFFすると、CPU
(20)はS29ステツプで書込回路(22)に書込ス
タート信号WSTを出力して書込動作となる。CP U
(20)はロータリーエンコーダ(14)からのエンコ
ーダパルスに同期して、レジスタR3にストアしている
書込データを書込回路(22)へ順次出力するが、この
書込みは読取時とは逆方向のカードの移送にて達成する
ために、CPU(20)は書込データの先頭から最後尾
までを全て入れ換えて書込回路(22)に出力する。書
込回路(22)はCPU(20)からの書込データパル
スWDTをエンコーダパルスCP、に同期して取込み、
該パルスWDTが表わす情報をアナログの書込信号WT
に変換して書込制御信号WRとともに磁気ヘッド(16
)に出力し、該ヘッド(16)を駆動してカードに情報
を書込む。次の831ステツプではセンサー(B)のO
Nをチェックすることでカードが磁気ヘッド(16)の
通過を終了したかを判定し、所定時間内にセンサー(B
)がONuないとカード処理装置の動作を停止する。セ
ンサー(B)のONを検出すると、833ステツプで所
定の遅延時間をとってカードの移行を続行させてカード
を磁気ヘッド(16)から若干引き離した後、S35ス
テツプでモータ(12)の駆動を停止する。このように
カードと磁気ヘッド(16)との間に距離を置いてモー
タ(12)を停止させることで、次にモータ(12)を
駆動させてカードを磁気ヘッド(16)に通過させる場
合に、カードはモータ(12)の立上りから時間が経過
して走行が安定したときに磁気ヘッド(16)を通過す
るために、読取りや書込みにおいて誤動作が少なくなる
。モしてS37ステツプでは、モータ保護の遅延時間を
確保してからモータ(12)の正転を開始してカードを
センサー(B)の方向へ再度移送し、S39ステツプで
センサー(B)のOFFをチェックしてカードの到達を
検出し、所定時間内で0FFLなければカード処理装置
の動作を停止する。次の341ステツプではセンサー(
B)のONをチェックしてカードの通過終了を判定し、
所定時間内でONしなければカード処理装置の動作を停
止する。カードがセンサー(B)を通過終了すると、8
43ステツプで所定の遅延時間をとってカードの移送を
続行させ、S45ステツプでモータ(12〉の駆動を停
止してカードの受入を終了する。そしてCPU(20)
は847ステツプで、カードの記録部(”B>から読取
ってレジスタR2にストアしている価値情報をサービス
機(23)に伝送した後、待機状態となる。
If the card is correct, a write operation will be performed to its magnetic stripe section (''), but first, in step 823, write data is created in register R3.The information to be written is read from this card and stored in register R2. The information is the same as the stored code, but when writing, the value information that was recorded in the recording section ("B) when the card was read is recorded in the recording section ("A). Convert the array and create write data by adding a new hood so that 0 is recorded in the recording section ("B>".
In the 5th step, the motor (12) is driven in reverse, and the next 32
In step 7, it is determined whether the card has reached the magnetic head (16) by checking whether the sensor (B) is OFF. Also in this step, if the sensor (B) is not 0FFL within a predetermined time, it is determined that there is an abnormality, and the operation of the card processing device is stopped. When the sensor (B) turns off when the card reaches the magnetic head (16), the CPU
(20) outputs a write start signal WST to the write circuit (22) in step S29 to initiate a write operation. CPU
(20) sequentially outputs the write data stored in register R3 to the write circuit (22) in synchronization with the encoder pulses from the rotary encoder (14), but this write is performed in the opposite direction to that during reading. In order to accomplish this by transferring the card, the CPU (20) replaces all of the write data from the beginning to the end and outputs it to the write circuit (22). The write circuit (22) takes in the write data pulse WDT from the CPU (20) in synchronization with the encoder pulse CP,
The information represented by the pulse WDT is converted into an analog write signal WT.
is converted into a magnetic head (16) along with a write control signal WR.
) and drives the head (16) to write information on the card. In the next step 831, sensor (B) O
By checking N, it is determined whether the card has finished passing through the magnetic head (16), and the sensor (B
) is not ONu, the operation of the card processing device is stopped. When sensor (B) is turned ON, the card transfer is continued after a predetermined delay time in step 833, and the card is slightly separated from the magnetic head (16), and then the motor (12) is driven in step S35. Stop. By placing a distance between the card and the magnetic head (16) and stopping the motor (12) in this way, the next time the motor (12) is driven to pass the card through the magnetic head (16), Since the card passes through the magnetic head (16) after a period of time has elapsed since the motor (12) started up and the running becomes stable, malfunctions in reading and writing are reduced. Then, in step S37, after ensuring a delay time for motor protection, the motor (12) starts rotating in the normal direction and the card is transferred again in the direction of the sensor (B), and in step S39, the sensor (B) is turned off. is checked to detect the arrival of the card, and if it does not reach 0FFL within a predetermined time, the operation of the card processing device is stopped. In the next 341 steps, the sensor (
B) is checked to determine whether the card has passed,
If it is not turned on within a predetermined time, the operation of the card processing device is stopped. When the card finishes passing through the sensor (B), 8
In step S43, the card transfer is continued after a predetermined delay time, and in step S45, the drive of the motor (12) is stopped to finish accepting the card.Then, the CPU (20)
At step 847, the value information read from the card's recording section ("B>" and stored in register R2) is transmitted to the service machine (23), and then enters a standby state.

待機状態は、カードはその先端部のみがセンサー(C)
にかかっている状態であり、記録部(”A)には前回の
価値情報が記録されて、記録部(”B)には価値情報と
して“O”が記録されている。したがってこの状態でカ
ードを不正に引き戻しても、このカードの記録部(”B
)には現在の価値情報として0”が書込まれているため
にこのままでは使用することはできない。
In standby mode, only the tip of the card has a sensor (C)
The previous value information is recorded in the recording section ("A), and "O" is recorded as the value information in the recording section ("B). Therefore, even if the card is withdrawn illegally in this state, the card's recording section ("B"
) is written with 0'' as the current value information, so it cannot be used as is.

サービス機(23)はカード処理装置から伝送された価
値情報に基づき所定のサービスを行なって、このサービ
スの対価を減算した後の更新された価値情報をカード処
理装置へ伝送する。CPU(20)は5tooステツプ
でこの更新きれた価値情報を入力すると、次の8101
ステツプにおいて、レジスタR3の“0゛を記憶してい
る部分に更新きれた価値情報をセットして書込データを
作成した後5102ステツプに進む。5102ステツプ
ではモータ(12)を逆転駆動し、810λステツプで
はセンサー(B)のOFFをチェックすることでカード
が磁気ヘッド(16)に到達したかを判定して、所定時
間内にセンサー(B)が0FFLなければカード処理装
置の動作を停止する。センサー(B)がOFFすると、
5105ステツプでセンサー(B)のONをチェックす
ることでカードが磁気ヘッド(16)の通過を終了した
かを判定し、所定時間内にセンサー(B)がONしない
とカード処理装置の動作を停止する。そしてセンサー(
B>がONすると、5107ステツプで所定の遅延時間
をとってカードの移送を続行させた後に、5109ステ
ツプでモータ(12)の駆動を停止する。次の8111
ステツプでは、モータ保護のために若干の遅延時間を確
保してからモータ(12)を正転駆動し、カードを磁気
ヘッド(16)に向けて移送する。そして5113ステ
ツプではセンサー(B)のOFFをチェックすることで
、カードが磁気ヘッド(16)に到達したかを判定し、
所定時間内にセンサー(B)が0FFLなければ異常と
判定してカード処理装置の動作を停止する。カードが磁
気ヘッド(16)に到達したことでセンサー(B)がO
FFすると、CPU(20)は5115ステツプで書込
回路(22)に書込スタート信号WSTを出力して書込
動作となる。すなわちCP U(20)はエンコーダパ
ルスに同期してレジスタR3にストアしている書込デー
タを書込回路(22)へ順次出力し、書込回路(22)
は入力してくる書込データパルスWDTをエンコーダパ
ルスにて取込み、磁気へ・Zド(16)にてカードの磁
気ストライプ部〈”)に書込む。次の8117ステツプ
ではセンサー(B)のONをチェックすることでカード
が磁気ヘッド(16)の通過を終了したかを判定し、所
定時間内にセンサー(B)がONしないとカード処理装
置の動作を停止する。センサー(B)のONを検出する
と、51”ステツプで所定の遅延時間をとってカードの
移送を続行させた後、、5tziステツプでモータ(1
2)の駆動を停止する。
The service machine (23) performs a predetermined service based on the value information transmitted from the card processing device, and transmits the updated value information after subtracting the consideration for this service to the card processing device. When the CPU (20) inputs this updated value information in 5too steps, the following 8101
In step 5102, the updated value information is set in the part of register R3 that stores "0" to create write data. In step 5102, the motor (12) is driven in reverse and the 810λ In the step, it is determined whether the card has reached the magnetic head (16) by checking whether the sensor (B) is OFF, and if the sensor (B) is not OFF within a predetermined time, the operation of the card processing device is stopped. When sensor (B) turns off,
In step 5105, it is determined whether the card has finished passing through the magnetic head (16) by checking whether the sensor (B) is turned on, and if the sensor (B) is not turned on within a predetermined time, the operation of the card processing device is stopped. do. and the sensor (
When B> is turned on, the card is continued to be transferred after a predetermined delay time in step 5107, and then the drive of the motor (12) is stopped in step 5109. Next 8111
In this step, after securing a slight delay time to protect the motor, the motor (12) is driven to rotate in the normal direction, and the card is transferred toward the magnetic head (16). Then, in step 5113, it is determined whether the card has reached the magnetic head (16) by checking whether the sensor (B) is OFF.
If the sensor (B) does not reach 0FFL within a predetermined time, it is determined that there is an abnormality and the operation of the card processing device is stopped. When the card reaches the magnetic head (16), the sensor (B) turns O.
When the flag is turned FF, the CPU (20) outputs a write start signal WST to the write circuit (22) in step 5115, thereby starting a write operation. That is, the CPU (20) sequentially outputs the write data stored in the register R3 to the write circuit (22) in synchronization with the encoder pulse.
captures the input write data pulse WDT with the encoder pulse and writes it to the magnetic stripe section of the card (16) using the magnetic stripe (16).In the next step 8117, the sensor (B) is turned on. By checking, it is determined whether the card has finished passing through the magnetic head (16), and if the sensor (B) is not turned on within a predetermined time, the operation of the card processing device is stopped.The sensor (B) is turned on. When it is detected, the card is continued to be transferred after a predetermined delay time in 51" steps, and then the motor (1
2) Stops the drive.

5123ステツプでは、モータ保護の遅延時間を確保し
てからモータ(12)の逆転を開始してカードを磁気ヘ
ッド(16)の方へ移送し、次の8125ステツプでは
、センサー(B)のOFFをチェックしてカードの磁気
ヘッド(16)への到達を検出し、所定時間内で0FF
L、なければカード処理装置の動作を停止する。カード
が磁気ヘッド(16)に到達してセンサー(B)がOF
Fすると、5127ステツプでCPU(20)は読取回
路(21)に読取スタート信号R3Tを出力して読取動
作となり、読取回路(21)は磁気ストライプ部(”)
の記録情報をCPU(20)に与え、CPU(20)は
このデータをレジスタR4にストアする。次の8128
ステツプではセンサー(B)のONをチェックすること
でカードが磁気ヘッド(16)の通過を終了したかを判
定し、所定時間内にセンサー(B)がONL、ないとカ
ード処理装置の動作を停止する。センサー(B)のON
を検出すると、8129ステツプで所定の遅延時間をと
ってカードの移送を続行させた後、5130ステツプで
モータ(12)の駆動を停止きせる。次の8131ステ
ツプでCPU(20)は、レジスタR4にストアしてい
るデータとレジスタR3にストアしているデータとを比
べて、適正な書込みがなされたかを判定する。そして両
方のデータが一致している場合に、次の8132ステツ
プでモータ保護のための遅延時間を確保してからモータ
(12)を逆転駆動し、カードを挿入口(1)に向けて
移送する。5133ステツプではセンサー(A)のOF
Fをチェックし、所定時間内にセンサー(A)が0FF
L、なければカード処理装置の動作を停止する。カード
の到達によりセンサー(A)がOFFすると、カードを
更に挿入口(1)まで導くよう5135ステツプで遅延
時間を取ってカードの移送を続行きせた後、5137ス
テツプでモータ(12)の駆動を停止してカードの返却
を終了する。
In step 5123, after ensuring a delay time for motor protection, the motor (12) starts to reverse rotation to transfer the card toward the magnetic head (16), and in the next step 8125, the sensor (B) is turned off. Check to detect the arrival of the card to the magnetic head (16), and turn it to 0FF within a predetermined time.
If L, the operation of the card processing device is stopped. The card reaches the magnetic head (16) and the sensor (B) turns OFF.
Then, at step 5127, the CPU (20) outputs a read start signal R3T to the reading circuit (21) to initiate a reading operation, and the reading circuit (21) reads the magnetic stripe section ('').
The recorded information is given to the CPU (20), and the CPU (20) stores this data in register R4. next 8128
In this step, it is determined whether the card has finished passing through the magnetic head (16) by checking the ON state of the sensor (B), and if the sensor (B) is not ON within a predetermined time, the operation of the card processing device is stopped. do. Sensor (B) ON
When detected, the card is continued to be transferred after a predetermined delay time in step 8129, and then the drive of the motor (12) is stopped in step 5130. In the next step 8131, the CPU (20) compares the data stored in register R4 with the data stored in register R3 to determine whether proper writing has been performed. If both data match, the next step 8132 secures a delay time to protect the motor and then drives the motor (12) in reverse to transport the card toward the insertion slot (1). . At step 5133, sensor (A) OF
Check F, and sensor (A) turns 0FF within a predetermined time.
If L, the operation of the card processing device is stopped. When the sensor (A) turns OFF due to the arrival of the card, a delay time is allowed in step 5135 to guide the card further to the insertion slot (1), and the card is continued to be transferred.Then, in step 5137, the motor (12) is driven. Stop and finish returning the card.

しかして5129ステツプにおいて適正な書込みがな妨
れていないことを判別すると、5139ステツプの処理
となってモータ保護の遅延時間を確保してからモータ(
12)の逆転を開始する。そして次の8141ステツプ
でセンサー(B)のOFFをチェックすることでカード
が磁気ヘッド(16)に到達したかを判定し、所定時間
内にセンサー(B)が0FFuなければ異常と判定して
カード処理装置の動作を停止する。カードが磁気ヘッド
(16)に到達したことでセンサー(B)がOFFする
と、CPU(20)は5143ステツプで書込回路(2
2)に書込スタート信号WSTと書込データパルスWD
Tを再度出力し、カード処理装置はカードの書込みとな
る。次の8145ステツプではセンサー(B)のONを
チェックすることでカードが磁気ヘッド(16)の通過
を終了したかを判定し、所定時間内にセンサー(B)が
ONL、ないとカード処理装置の動作を停止する。カー
ドが磁気ヘッド(16)の通過を終了すると、5121
ステツプでモータ(12)の駆動を停止させた後、51
33ステツプ以降の処理にてこのカードを返却する。
However, if it is determined in step 5129 that proper writing is not prevented, the process proceeds to step 5139, where a delay time for motor protection is secured, and then the motor (
12) Start the reversal. Then, in the next step 8141, it is determined whether the card has reached the magnetic head (16) by checking whether the sensor (B) is OFF, and if the sensor (B) is 0FFu within a predetermined time, it is determined that there is an abnormality and the card is Stop the operation of the processing device. When the sensor (B) is turned off when the card reaches the magnetic head (16), the CPU (20) executes the write circuit (2) in 5143 steps.
2) Write start signal WST and write data pulse WD
T is output again, and the card processing device writes the card. In the next step 8145, it is determined whether the card has finished passing through the magnetic head (16) by checking the ON state of the sensor (B), and if the sensor (B) is not ON within a predetermined time, the card processing device Stop operation. When the card finishes passing through the magnetic head (16), 5121
After stopping the drive of the motor (12) in step 51
This card is returned in the process from step 33 onwards.

(ト)発明の効果 本発明によると、カードの価値情報を読取った後には実
質“0′”を記録して保持するために、この状態でカー
ドが不正に引き戻きれてもこのカードの再使用は不可能
で不正使用の防止が図れる。
(G) Effects of the Invention According to the present invention, after reading the value information of the card, it essentially records and retains "0'", so even if the card is illegally withdrawn in this state, the card cannot be reused. It is impossible to use it, and unauthorized use can be prevented.

そしてカードの第1記録部には現在においてカードが有
している価値情報が、第2記録部には前回の取引後にカ
ードが有していた価値情報がそれぞれ記録されているた
めに、異常時においてはカードの記録を調べれば解析が
容易となる。
The first recording section of the card records the value information that the card currently has, and the second recording section records the value information that the card had after the previous transaction. In this case, analysis can be made easily by examining the card records.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はカード処理装置を側面から示す図、第2図は制
御回路をブロックにて示す図、第3図及び第4図はCP
Uの動作を示すフローチャートである。 (16)・・・磁気ヘッド、 (18)・・・カード読
取・書込装置、 (”A)(”B)・・・記録部、(2
1)・・・読取回路、(22)・・・書込回路。
Figure 1 shows the card processing device from the side, Figure 2 shows the control circuit in blocks, and Figures 3 and 4 show the CP.
It is a flowchart showing the operation of U. (16)...Magnetic head, (18)...Card reading/writing device, ("A) ("B)...Recording section, (2
1)...Reading circuit, (22)...Writing circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、読取りと書込みが可能な少くとも2通りの記録部を
有したカードを処理するカード処理装置であって、カー
ドの投入により第1記録部に記録されている価値情報を
読取る読取手段と、読取手段にて読取った価値情報を第
2記録部に書込む第1書込手段と、記録している価値情
報が読取られた後の第1記録部に実質“0”の価値情報
を書込む第2書込手段と、第1及び第2の各書込手段に
て書込みがなされた投入カードを保持する保持手段と、
読取手段が読取った価値情報に基づき所定の取引きがな
された後の更新された価値情報を実質“0”の価値情報
に換えて第1記録部に書込む第3書込手段と、更新され
た価値情報が記録されたカードを投入者に返却する返却
手段とから成るカード処理装置。
1. A card processing device for processing a card having at least two types of recording sections capable of reading and writing, a reading means for reading value information recorded in the first recording section when the card is inserted; The first writing means writes the value information read by the reading means into the second recording part, and the value information of substantially "0" is written into the first recording part after the recorded value information is read. a second writing means; a holding means for holding the input card written by each of the first and second writing means;
a third writing means for converting the updated value information into substantially "0" value information after a predetermined transaction is made based on the value information read by the reading means and writing it in the first recording section; and a return means for returning the card on which value information has been recorded to the person who inserted the card.
JP11527887A 1987-05-12 1987-05-12 Card processor Pending JPS63279393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11527887A JPS63279393A (en) 1987-05-12 1987-05-12 Card processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11527887A JPS63279393A (en) 1987-05-12 1987-05-12 Card processor

Publications (1)

Publication Number Publication Date
JPS63279393A true JPS63279393A (en) 1988-11-16

Family

ID=14658700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11527887A Pending JPS63279393A (en) 1987-05-12 1987-05-12 Card processor

Country Status (1)

Country Link
JP (1) JPS63279393A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03253994A (en) * 1990-03-03 1991-11-13 Fuji Electric Co Ltd Controller for card reader/writer
JPH04120684A (en) * 1990-09-11 1992-04-21 Micron Kiki Kk Prepaid-card system
JPH04120685A (en) * 1990-09-11 1992-04-21 Micron Kiki Kk Prepaid-card system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03253994A (en) * 1990-03-03 1991-11-13 Fuji Electric Co Ltd Controller for card reader/writer
JPH04120684A (en) * 1990-09-11 1992-04-21 Micron Kiki Kk Prepaid-card system
JPH04120685A (en) * 1990-09-11 1992-04-21 Micron Kiki Kk Prepaid-card system

Similar Documents

Publication Publication Date Title
JPH0410672B2 (en)
US4322613A (en) Method for tamper-proofing magnetic stripe card reader
US5317137A (en) Magnetic debit card reader fraudulent use prevention
CN100573561C (en) Card processing unit
JPS63279393A (en) Card processor
GB2237671A (en) Card handling apparatus
JP2513571B2 (en) Card processing equipment
JPS63279392A (en) Card processor
JPH0896093A (en) Method for preventing magnetic card from unfair use and card reader
JP2895877B2 (en) Card processing equipment
JPS6238750B2 (en)
JP3368731B2 (en) Gate device
JP2650173B2 (en) How to update your prepaid card data
JPS62119694A (en) Card processing device
JPS6130342B2 (en)
JPS6124199B2 (en)
JPH05108926A (en) Automatic transaction device
JPS6152786A (en) Information processor
JP3070595U (en) XX processing unit for special prizes
JPS5846741B2 (en) Injibaitaino Page Kanrihoushiki
JPS5926431Y2 (en) Passbook processing device
JP2594476Y2 (en) Magnetic data collation device
JP2953327B2 (en) IC card recording device
KR200171853Y1 (en) Magnetic card recorder for video game system
JP2840339B2 (en) Card operation device