JPH03152689A - Card processor - Google Patents

Card processor

Info

Publication number
JPH03152689A
JPH03152689A JP1289869A JP28986989A JPH03152689A JP H03152689 A JPH03152689 A JP H03152689A JP 1289869 A JP1289869 A JP 1289869A JP 28986989 A JP28986989 A JP 28986989A JP H03152689 A JPH03152689 A JP H03152689A
Authority
JP
Japan
Prior art keywords
address
card
card processing
mark information
service
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
JP1289869A
Other languages
Japanese (ja)
Other versions
JP2567286B2 (en
Inventor
Hiroshi Saso
宏 佐宗
Shuichi Takahashi
高橋 衆一
Takumi Kawashima
川島 拓己
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.)
Tamura Electric Works Ltd
Original Assignee
Tamura Electric Works 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 Tamura Electric Works Ltd filed Critical Tamura Electric Works Ltd
Priority to JP1289869A priority Critical patent/JP2567286B2/en
Publication of JPH03152689A publication Critical patent/JPH03152689A/en
Application granted granted Critical
Publication of JP2567286B2 publication Critical patent/JP2567286B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PURPOSE:To attain low power consumption by permitting service when effective valuable mark information read out from each data track coincides with each other when the service is started. CONSTITUTION:When the service is completed, an available value is subtracted from the effective valuable mark information, and it is erased with a reading/ erasing part 22 in common for all data tracks. When the service is started, it can be permitted when the effective valuable mark information read out from each data track coincides with each other. Thereby, it is possible to suppress the consumption of mechanical and electrical energy without performing erasure and confirmation at every frequency of use.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データトラックおよびタイミングトラックを
備えたカードの処理を行うカード処理装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a card processing device for processing a card equipped with a data track and a timing track.

[従来の技術] 従来のカード処理装置においては、カードに記録された
残度数を読み取る機能および残度数を書き換える機能を
合わせ持つ、いわゆるカードリーダ・ライタが使用され
、特に磁気カードを扱う磁気カードリーダ・ライタ(以
下、カードリーダという)が多用されている。しかしな
がら、このカードリーダは書き込み機能を有しているの
で、カードを不正に改造することができ、このなめ予め
カードに書き込まれた残度数を消去するだけの機能を有
する消去式カードリーダが考えられている。この消去式
カードリーダは、カードに記録された度数を1度数消去
する毎に、消去箇所が消去されたか否かを確認してカー
ドの不正利用を防止するものとなっている。
[Prior Art] Conventional card processing devices use so-called card readers/writers that have both the function of reading the remaining power recorded on the card and the function of rewriting the remaining power. In particular, magnetic card readers that handle magnetic cards are used.・Writers (hereinafter referred to as card readers) are often used. However, since this card reader has a writing function, it is possible to illicitly modify the card, and an erasing type card reader that only has the function of erasing the remaining power that has been written on the card in advance is considered. ing. This erasing type card reader prevents unauthorized use of the card by checking whether or not the erased portion has been erased each time the number of degrees recorded on the card is erased.

[発明が解決しようとする課題] 1述した従来のカード処理装置は、カードに記録された
度数を1度数消去する毎にこの消去確認を行っている。
[Problems to be Solved by the Invention] The conventional card processing device described above performs erasure confirmation every time the frequency recorded on the card is erased.

そして、1度数毎に消去および消去確認を行うためには
、消去ヘッドおよび読み取りヘッドの位置に消去箇所を
頻繁に往復動作させねばならず、機械的および電気的な
エネルギーの消費が多くなり、装置を低消費電力化する
ことができないという問題があった。
In order to erase and confirm erasure every time, the erasing point must be moved back and forth frequently to the position of the erasing head and the reading head, which consumes a lot of mechanical and electrical energy. The problem was that it was not possible to reduce power consumption.

[課題を解決するための手段] このような課題を解決するために本発明のカード処理装
置の第1発明は、サービス終了時に使用価値分を減じて
アドレスに従って対応する有効値値マーク情報をカード
内の全データトラック共通に消去し、サービス開始時に
各データトラックから読みだした有効価値マーク情報が
一致したときにサービスを許可するように構成したもの
である。
[Means for Solving the Problems] In order to solve the above problems, the first invention of the card processing device of the present invention is to subtract the usage value at the end of the service and transfer the corresponding valid value mark information to the card according to the address. All data tracks in the data track are erased in common, and the service is permitted when the valid value mark information read from each data track at the start of the service matches.

また、第2の発明は、サービス開始時に有効価値マーク
情報から「1」減じたマーク情報を1つのタイミング1
へラックだけ消去し、この消去が読み取りセンサーによ
り確認された時にサービスを許可するように構成したも
のである。
In addition, the second invention provides mark information obtained by subtracting "1" from the effective value mark information at one timing 1 at the start of the service.
The configuration is such that only the hard disk is erased and the service is permitted when this erasure is confirmed by a reading sensor.

また、第3の発明は、各データトラックに記録された有
効値値マーク情報のアドレスを決定するアドレス決定手
段はタイミングトラックから読み出されたタイミングパ
ルスを計数するように構成したものである。
Further, in a third invention, the address determining means for determining the address of the valid value mark information recorded on each data track is configured to count timing pulses read out from the timing track.

また、第4の発明は、上記のアドレスはカードに記録さ
れた複数のアドレストラックから読み出されたアドレス
データによって決定されるように構成したものである。
Further, in a fourth aspect of the present invention, the above-mentioned address is determined by address data read from a plurality of address tracks recorded on the card.

また、第5の発明は、上記のアドレスはカードに記録さ
れた複数のアドレストラックから読み出されたアドレス
データと、アドレスパターンの繰り返しをカウントする
計数手段と、この計数手段の出力とアドレスデータとを
演算することにより決定されるように構成したものであ
る。
Further, in the fifth invention, the above address is obtained by combining address data read from a plurality of address tracks recorded on the card, a counting means for counting repetitions of the address pattern, an output of this counting means, and the address data. The configuration is such that it is determined by calculating .

また、第6の発明は、サービス終了時に消去した有効価
値マーク情報を全データトラック上でチェックするよう
に構成したものである。
Moreover, the sixth invention is configured to check the valid value mark information erased at the end of the service on all data tracks.

また、第7の発明は、有効価値マーク情報を示す番号に
対して相補的な関係によりアドレス番号を割り当て、求
めた一方の番号から他方の番号を演算する手段を備えた
ものである。
Further, the seventh invention is provided with means for allocating an address number in a complementary relationship to the number indicating the valid value mark information and calculating the other number from the obtained one number.

[作用1 サービスが終了すると、有効価値マーク情報から使用価
値分を減じて全データトラック共通に消去し、サービス
開始時には各データトラックから読みだした有効価値マ
ーク情報が一致したときにサービスが許可される。
[Effect 1: When the service ends, the usage value is subtracted from the effective value mark information and erased in common to all data tracks, and when the service starts, the service is permitted when the effective value mark information read from each data track matches. Ru.

また、サービス開始時に有効価値マーク情報から「1」
減じたマーク情報が1つのタイミングトラックから消去
され、この消去が確認された時にサービスが許可される
Also, when starting the service, "1" will be displayed from the effective value mark information.
The reduced mark information is erased from one timing track and service is granted when this erasure is confirmed.

また、各データトラックに記録された有効価値マーク情
報のアドレスは、タイミングトラックから読み出された
タイミングパルスにより決定される。
Further, the address of the valid value mark information recorded on each data track is determined by the timing pulse read from the timing track.

また、有効価値マーク情報のアドレスはカードに記録さ
れた複数のアドレストラックから読み出されたアドレス
データによって決定される。
Further, the address of the validity mark information is determined by address data read from a plurality of address tracks recorded on the card.

また、有効価値マーク情報のアドレスはアドレスデータ
と、アドレスパターンの繰り返しをカウントした値とを
演算することにより決定される。
Further, the address of the valid value mark information is determined by calculating the address data and a value obtained by counting the number of repetitions of the address pattern.

また、サービス終了時に消去された有効価値マーク情報
は全データトラック上でチェックされる。
Furthermore, the valid value mark information that is deleted at the end of the service is checked on all data tracks.

また、有効価値マーク情報を示す番号に対して相補的な
関係によりアドレス番号が割り当られ、求めた一方の番
号から他方の番号が演算される。
Further, an address number is assigned in a complementary relationship to the number indicating the valid value mark information, and the other number is calculated from the obtained one number.

[実施r!4] 次に、本発明について図面を参照して説明する。[Implementation! 4] Next, the present invention will be explained with reference to the drawings.

第1図は本発明のカード処理装置をカード式公衆電話機
に適用した一実施例を示すブロック図である。同図にお
いて、21はこのカード処理装置の制御を行うCPU、
22はカードに記録された度数の読み取りおよび消去を
行う読取・消去部、23は読取・消去部22を駆動して
カードに記録された度数を消去させるサーマルヘッドド
ライバ、24はカードの搬送を行うカード搬送機構、a
は回線(図示せず)から到来する課金信号である。そし
て、読取・消去部22は次のように構成されている。す
なわち、SAI 、SA2 、SBI、5E12 、S
CI 、SC2、SDはカードの読み取りを行うセンサ
、Hl 、H2はカードの度数を消去するヘッドである
FIG. 1 is a block diagram showing an embodiment in which the card processing device of the present invention is applied to a card-type public telephone. In the figure, 21 is a CPU that controls this card processing device;
22 is a reading/erasing unit that reads and erases the power recorded on the card; 23 is a thermal head driver that drives the reading/erasing unit 22 to erase the power recorded on the card; and 24 is a card transporter. Card transport mechanism, a
is a billing signal coming from a line (not shown). The reading/erasing section 22 is configured as follows. That is, SAI, SA2, SBI, 5E12, S
CI, SC2 and SD are sensors for reading cards, and Hl and H2 are heads for erasing the card's power.

次に、第2図はこのカード処理装置に使用されるカード
の構成を示す構成図である。同図において、25はカー
ド、TI 、 ’1’2はデータ、すなわち度数が記録
されるデータトラック、T3 、 T4はアドレストラ
ック、T5はタイミングトラックである。そして、カー
ド25は矢印の向きに搬送され、これとは逆方向に返却
される。
Next, FIG. 2 is a block diagram showing the structure of a card used in this card processing device. In the figure, 25 is a card, TI, '1' 2 is a data track where data, that is, frequency is recorded, T3 and T4 are address tracks, and T5 is a timing track. The card 25 is then conveyed in the direction of the arrow and returned in the opposite direction.

そして、上記した各ヘッドおよび各センサの中でセンサ
SAI 、SA2はカードの搬送方向と直角方向に直線
的に配置され、またヘッドH1、H2およびセンサSC
I 、SC2、SDも同様にカードの搬送方向と直角方
向に直線的に配置され(以下、ヘッド軸という)、さら
にセンサSBI、SB2も同様に直角方向に直線的に配
置されている。そして、これらのヘッドおよびセンサの
中でセンサSAI 、ヘッドH1、センサSBIはカー
ドの搬送方向、すなわち水平方向に直線的に配置され、
またセンサSA2.ヘッドI]2.センサSB2も同様
に水平方向に直線的に配置されている。
Among the heads and sensors described above, sensors SAI and SA2 are arranged linearly in a direction perpendicular to the card conveyance direction, and heads H1 and H2 and sensors SC
I, SC2, and SD are similarly arranged linearly in a direction perpendicular to the card conveyance direction (hereinafter referred to as the head axis), and sensors SBI and SB2 are also arranged linearly in a direction perpendicular to the card conveyance direction. Among these heads and sensors, sensor SAI, head H1, and sensor SBI are arranged linearly in the card conveyance direction, that is, in the horizontal direction,
Also, sensor SA2. Head I]2. Sensor SB2 is also arranged linearly in the horizontal direction.

なお、本実施例においては、センサSAl、SA2とヘ
ッド軸との距離は、タイミングトラックT5上に記録さ
れた後述するタイミングパルスの3P、すなわち3パル
ス分に相当し、また、ヘッド軸とセンサSBI 、SB
2との距離はタイミングパルスの2パルス分に相当する
ものとなっているが、これらの間の距離は任意のパルス
数であっても構わない。
In this embodiment, the distance between the sensors SAl, SA2 and the head axis corresponds to 3P of timing pulses recorded on the timing track T5, that is, 3 pulses, and the distance between the head axis and the sensor SBI , S.B.
2 corresponds to two timing pulses, but the distance between them may be any number of pulses.

次に、第3図は未使用のカード25の各トラック上に記
録されたパターンのタイミングを示すタイミングチャー
トである。(a)図、(b)図はそれぞれデータトラッ
クTI 、T2上に記録された度数部分のパルス波形を
示し、それぞれに10パルス、すなわち10度数を示す
度数部■〜[株](有効価値マーク情報〉が記録されて
いる。そして、このデータトラックTI 、T2に記録
された度数部■〜[株]は、この公衆電話機が使用され
たときそれぞれに対応して設けられたヘッド)It 、
 H2により図中に示す度数部■から度数部[相]の方
向に使用した度数に相当する部分だけが消去され、また
この消去部分はそれぞれ対応して設けられたセンサSA
I 、SA2またはセンサSBI 、SB2により検出
される。
Next, FIG. 3 is a timing chart showing the timing of the patterns recorded on each track of the unused card 25. Figures (a) and (b) show the pulse waveforms of the frequency part recorded on the data tracks TI and T2, respectively, and each shows 10 pulses, that is, the frequency part ■~[stock] (effective value mark Information> is recorded on the data tracks TI and T2.The frequency parts ■~[stock] recorded on the data tracks TI and T2 are the heads)It,
H2 erases only the part corresponding to the power used in the direction from the power part ■ to the power part [phase] shown in the figure, and this erased part is erased by the sensor SA provided correspondingly.
I, SA2 or sensors SBI, SB2.

また、第3図の(C)図、(d)図は、それぞれアドレ
ストラックT3 、T4上に記録されたアドレスパルス
の波形を示し、図中の1〜17はアドレス値を示してい
る。そして、1はスタートアドレス値、17はエンドア
ドレス値であり、これらは共にアドレストラックT3 
、T4上のアドレスパルスの値が「1」となっている。
3C and 3D show the waveforms of the address pulses recorded on the address tracks T3 and T4, respectively, and 1 to 17 in the drawings indicate address values. 1 is the start address value and 17 is the end address value, both of which are address track T3.
, the value of the address pulse on T4 is "1".

そして、アドレストラック数をnとすれば、2″のアド
レスパターンが記録されている。なお、本実施例の場合
はアドレストラック数は2となっているのでアドレスパ
ターンは、22−4となる。
If the number of address tracks is n, then an address pattern of 2'' is recorded.In the case of this embodiment, the number of address tracks is 2, so the address pattern is 22-4.

すなわち、アドレストラックTl上には直列に1001
・・・、アドレストラック下2上には直列に1010・
・・のアドレスパルスのパターンが記録されているがこ
れをセンサSCI 、SC2により並列に読み出せば、
11,00,01,10、の4つのパターンを1周期と
して読み出すことができる。また、本実施例の場合は、
アドレスパターンの数が4であるのに対して度数部は1
0度数となっていて度数部の数が上回っているので、ア
ドレスパターンの周期を計数し、この計数された結果と
この時のアドレスパターンの値からアドレス値を求める
ものとなっている。
That is, on the address track Tl, 1001
..., 1010 and 1010 are connected in series on the lower 2 address tracks.
The address pulse pattern of ... is recorded, and if this is read out in parallel by sensors SCI and SC2,
Four patterns of 11, 00, 01, and 10 can be read out as one cycle. In addition, in the case of this example,
The number of address patterns is 4, but the frequency part is 1.
Since the number of degrees is 0 and the number of degrees is greater, the cycle of the address pattern is counted and the address value is determined from the counted result and the value of the address pattern at this time.

なお、アドレストラックの数が多く、従ってアドレスパ
ターンの数が多い場合は、これと対応して設けたセンサ
により並列に読みだした値をアドレス値としても良い。
Note that when the number of address tracks is large, and therefore the number of address patterns is large, values read out in parallel by sensors provided correspondingly may be used as address values.

また、後述するタイミングトラツク下5上のタイミング
パルスを検出してこれをカウントしたカウント値をアド
レス値としても良い。そして、このアドレストラックT
3.T4上に記録されたアドレスパルスの値は、それぞ
れに対応して設けられたセンサSCI 、SC2により
検出される。なお、このアドレス値1〜17と度数部■
〜[相]の位置関係は、相補的な関係にあり、例えばあ
る度数部のアドレスとこの垂直方向に位置するアドレス
値との和は全て14という数になり、予めある度数部の
位置が解っていればアドレス値を算出することもできる
Alternatively, a count value obtained by detecting and counting timing pulses on the lower timing track 5, which will be described later, may be used as the address value. And this address track T
3. The value of the address pulse recorded on T4 is detected by corresponding sensors SCI and SC2. In addition, this address value 1 to 17 and the frequency part ■
~ The positional relationship of [phase] is complementary. For example, the sum of the address of a certain power part and the address value located in the vertical direction is the number 14, and the position of a certain power part is known in advance. If so, you can also calculate the address value.

また、(e)図はタイミングトラックT5に記録された
タイミングパルスの波形を示し、図示するように一定時
間間隔のrl」、  「OJ倍信号よるタイミングパル
スが記録されている。このタイミングパルスはセンサS
Dにより検出される。
In addition, (e) shows the waveform of the timing pulse recorded on the timing track T5, and as shown in the figure, timing pulses based on the ``rl'' and ``OJ times signals at constant time intervals are recorded. S
Detected by D.

次に、第4図〜第6図はこのカード処理装置の動作の概
要を示すタイミングチャートである。なお、第4図〜第
6図の各(a)〜(e)図はそれぞれデータトラックT
l−タイミングトラックT5に対応するタイミングチャ
ートである。第4図〜第6図に基づいてこの装置の動作
の概要を説明する。
Next, FIGS. 4 to 6 are timing charts showing an overview of the operation of this card processing device. In addition, each of (a) to (e) in FIGS. 4 to 6 is a data track T.
1 is a timing chart corresponding to l-timing track T5. An outline of the operation of this device will be explained based on FIGS. 4 to 6.

CPU21は、通話を行うためにカード25が挿入口の
挿入されると、このカード25をカード搬送機構24に
搬送させるとともに、センサSDを走査制御してカード
25のタイミングトラツク下5上のタイミングパルスを
走査させ、このタイミングパルスの「1」の部分を検出
したときにセンサSCI 、SC2を走査制御してアド
レストラックTI 、T2上のそれぞれのアドレスパル
スを検出させる。そして、アドレスパルスが共にrl、
になったときに、このアドレスをスタートアドレス1と
認識する。
When the card 25 is inserted into the insertion slot for making a call, the CPU 21 causes the card 25 to be conveyed to the card conveying mechanism 24, and scans and controls the sensor SD to detect timing pulses on the lower timing track 5 of the card 25. is scanned, and when the "1" portion of this timing pulse is detected, the sensors SCI and SC2 are scan-controlled to detect the respective address pulses on the address tracks TI and T2. Then, the address pulses are both rl,
When this address is reached, this address is recognized as the start address 1.

次に、センサSBI 、SB2によりデータトラックT
l 、T2上の度数部■〜[相]を検出させるためにさ
らにカードの搬送制御を行い、第4図の(a)図および
(b)図に示すようにデータトラックTI 、T2に記
録された度数部■〜[相]がともに「0」となる位置、
この図の例で示すと度数部■まで搬送させる。この度数
部■がカード25の最大消去値である。なお、この時の
ヘッド軸の位置、すなわちアドレス値は次式により算出
される。
Next, data track T is detected by sensors SBI and SB2.
In order to detect the frequency part ■ to [phase] on T1 and T2, the card is further controlled to transport, and as shown in FIG. The position where the power part ■ ~ [phase] are both “0”,
In the example shown in this figure, it is conveyed to the degree section ■. This frequency part ■ is the maximum erase value of the card 25. Note that the position of the head axis at this time, that is, the address value, is calculated by the following equation.

アドレス値=2AT’3 +AT4 +4N−2ここで
、Ar1 、Ar1はそれぞれこの時センサSCI 、
SC2により読み出されるアドレスパターンの値であり
、Nはこのアドレス値に到達するまでにカウントされた
パターン周期数である。
Address value = 2AT'3 +AT4 +4N-2 Here, Ar1 and Ar1 are respectively sensor SCI and
This is the value of the address pattern read by SC2, and N is the number of pattern cycles counted until this address value is reached.

但し、スタートアドレスATS時点で1回と数えれいる
。そして、この時のAr1.、Ar1はともに「1」、
またNは1であるので アドレス値=2X1+1+4X1−2 5となる。
However, it is counted as one time at the start address ATS. And at this time, Ar1. , Ar1 are both "1",
Also, since N is 1, the address value=2X1+1+4X1-25.

また、第5図の(a)図はデータトラックTI上の度数
部■が何らかの理由で消去されなかった場合の例を示し
たものである。このような場合にはCPU21はエラー
処理を行う。
Further, FIG. 5(a) shows an example in which the frequency part 3 on the data track TI is not erased for some reason. In such a case, the CPU 21 performs error processing.

そして、第4図に示すように度数部■の位置までカード
25を搬送して、データトラックTI 。
Then, as shown in FIG. 4, the card 25 is conveyed to the position of the frequency section ■, and the data track TI is moved.

T2上の度数部■の双方がともに消去されて「0」にな
っていることを検出し、更に通話の開始を示す課金信号
aを受信すると、第6図の(a>図に示すようにCPU
2 Lは、サーマルヘッドドライバ23にヘッドH1を
駆動させてこの点線部分で示された度数部■を消去させ
る。すなわち、カード25の最大消去値から1度数部じ
たアドレスを計算して、この位置にカード25を搬送し
てヘッドH1をデータトラックTI上の度数部■に相対
させ、この度数部■だけを消去させる。
When it is detected that both of the frequency parts ■ on T2 have been erased and become "0", and furthermore, when the charging signal a indicating the start of a call is received, as shown in (a> CPU
2L causes the thermal head driver 23 to drive the head H1 to erase the power part (■) indicated by the dotted line. That is, an address is calculated by subtracting one degree from the maximum erase value of the card 25, the card 25 is transported to this position, the head H1 is made to face the degree part ■ on the data track TI, and only this degree part ■ is written. Make it disappear.

なお、このときのヘッドH1が度数部■に相対するアド
レス値は、度数部■のアドレスが8となっているので、
1l−8=6となる。また、使用した通話度数が何らか
の理由で消去されなかった場合の対策のために、データ
トラック下2上の度数部■は消去しない。
Note that the address value of the head H1 relative to the power part ■ at this time is 8, since the address of the power part ■ is 8.
1l-8=6. In addition, as a countermeasure in case the used call frequency is not deleted for some reason, the frequency section (■) on the bottom 2 of the data track is not deleted.

そしてその後、カード25を再び搬送してセンサSAI
とこの度数部分■を相対させることになるが、この場合
のアドレス値は、最大アドレス値を17とすれば、度数
部■のアドレスは8であるので、17−8=9となる。
After that, the card 25 is conveyed again and the sensor SAI
This frequency part (2) is made to be relative to the other, but in this case, if the maximum address value is 17, the address of the frequency part (2) is 8, so the address value is 17-8=9.

そして、ヘッド軸にこのアドレス値9の位置が到達する
ようにカード25を搬送して、センサSAIにこの度数
部■が消去されたか否かを検出させる。
Then, the card 25 is conveyed so that the address value 9 reaches the position of the head axis, and the sensor SAI is caused to detect whether or not the frequency part (3) has been erased.

その後、通話が終了するとCPU21は、この通話度数
に相当する位置までカード25を搬送し、ヘッドH1,
H2によりデータトラックT1、T2上の所定の度数部
分を消去させる。
Thereafter, when the call ends, the CPU 21 transports the card 25 to the position corresponding to the call frequency, and the head H1,
H2 erases a predetermined frequency portion on the data tracks T1 and T2.

そして、この通話において2度数が使用されたとすれば
、最大消去度数は7であるので、消去すべき度数は7モ
2=9となり、度数部■が消去されることになる。こう
して通話度数に相当する部分が消去されたのち、CPU
21はカード25を返却するための搬送を行うが、この
とき消去された度数部■をセンサSBI 、SB2によ
りチェックさせる。
If 2 frequencies are used in this call, the maximum frequency to be erased is 7, so the frequency to be erased is 7mo2=9, and the frequency part ■ is erased. After the part corresponding to the number of calls is erased in this way, the CPU
21 transports the card 25 to return it, and at this time, the erased frequency part (3) is checked by sensors SBI and SB2.

なお、センサSBI 、SB2の位置はヘッド軸から2
アドレスの距離にあり、このセンサの位置する点の垂直
方向の度数部の位置とヘッド軸の位置との位置関係は相
補的な関係にあり、これらの位置、すなわちアドレスの
和は、常に12となり一定となっている。従って、セン
サSBI 、SB2がこの消去された度数部■に相対す
るときのアドレス値は1.2−9 = 3となり、ヘッ
ド軸にこのアドレス値3の位置が到達するようにカード
25を搬送して、センサSBI 、SB2にこの度数部
■の消去をチェックさせる9 次に、第7図のフローチャートに基づいて本発明のカー
ド処理装置の詳細な動作を説明する。
Note that the positions of sensors SBI and SB2 are 2 points from the head axis.
The position of the vertical power part of the point where this sensor is located and the position of the head axis are complementary, and the sum of these positions, that is, the address, is always 12. It remains constant. Therefore, when the sensors SBI and SB2 face this erased frequency part ■, the address value is 1.2-9 = 3, and the card 25 is conveyed so that the position of this address value 3 reaches the head axis. Then, the sensors SBI and SB2 check the erasure of the frequency part (2).9 Next, the detailed operation of the card processing apparatus of the present invention will be explained based on the flowchart of FIG.

カード25が挿入されると、CPU21はこのカードの
搬送制御を行う、そしてその後、ステップ50でタイミ
ングトラックT5に相対するセンサSDの出力が「0」
から「1」に変化したか否かを判断する。そして、「N
」のときはrl、に変化するまで待ち、「Y」のときは
ステップ51において全てのセンサを走査させ、ステッ
プ52でカード25のスタート位置を検出するためにこ
のセンサの中から特に、センサSCI 、SC2の出力
が共に「1」となっているか否かを判断する。
When the card 25 is inserted, the CPU 21 controls the conveyance of this card, and thereafter, in step 50, the output of the sensor SD facing the timing track T5 becomes "0".
It is determined whether the value has changed from "1" to "1". Then, “N
”, wait until it changes to rl, and when “Y”, all the sensors are scanned in step 51, and in step 52, in order to detect the starting position of the card 25, the sensor SCI is selected in particular from among these sensors. , SC2 are both "1".

そして、これが「N」のときはステップ50に戻り、「
Y」のときはスタート位置が検出できたということで、
ステップ53でセンサSDの出力が「0」から「1」に
変化したか否かを判断する。そして、「N」のときは「
1」に変化するまで待ち、「Y」のときはステップ54
において全てのセンサを走査させ、ステップ55でこの
センサの中から特に、センサSBIまたはセンサSC2
の出力がr□、になっているか否かを判断する。そして
、「N」のときはステップ53に戻り、「Y」のときは
、次にステップ56においてセンサSBI 、SB2が
共に「0」になるか否かを判断する。
If this is "N", the process returns to step 50 and "
“Y” means that the start position has been detected.
In step 53, it is determined whether the output of the sensor SD has changed from "0" to "1". And when "N", "
Wait until it changes to ``1'', and if it is ``Y'', go to step 54.
In step 55, all the sensors are scanned, and in particular, sensor SBI or sensor SC2 is scanned.
It is determined whether the output of is r□. If "N", the process returns to step 53, and if "Y", then in step 56, it is determined whether or not both sensors SBI and SB2 become "0".

ステップ56において「N」のときは後述するようにこ
のカード25の度数が使用されていたにも拘らず未消去
であったということでステップ57でエラー処理を実行
する。ステップ56で[Y」のときは、カード25は正
常であるということで、ステップ60においてカード2
5の残度数を算出し、ステップ61でカード25の残度
数がら1度数を減じた度数部分を消去するためのヘッド
H1の位置を算出し、ステップ62でカード25を停止
させる。
If the result in step 56 is "N", as will be described later, this means that the card 25 has not been erased even though it has been used, and error processing is executed in step 57. If the result in step 56 is [Y], it means that the card 25 is normal, and in step 60 the card 25 is normal.
In step 61, the position of the head H1 for erasing the power portion obtained by subtracting one power from the remaining power of the card 25 is calculated, and in step 62, the card 25 is stopped.

その後発呼者によりダイヤル発信が行われると、ステッ
プ63において被呼者応答による課金信号aの到来を判
断し、「N」のとき、すなわち課金信号aが受信できな
ければ受信できるまで待ち、「Y」のとき、すなわち受
信できればステップ64においてカード25の再搬送を
行う。そして、ステップ65でセンサSDの出力が「0
」から「l」の変化したか否かを判断する。そして、「
N」のときはrl、に変化するまで待ち、「Y」のとき
はステップ66において全てのセンサを走査させ、ステ
ップ67でカード25の1度数消去される部分がヘッド
H1の位置に来たか否かを判断する。そして、「N」の
ときはステップ65に戻る。
After that, when the calling party makes a dial call, it is determined in step 63 whether or not the charging signal a has arrived in response to the called party's response. Y", that is, if the card 25 can be received, the card 25 is re-transferred in step 64. Then, in step 65, the output of the sensor SD becomes "0".
” to determine whether “l” has changed. and,"
If the answer is "N", wait until it changes to rl; if the answer is "Y", all the sensors are scanned in step 66, and in step 67 the check is made to see if the part of the card 25 to be erased once has come to the position of the head H1. to judge. If "N", the process returns to step 65.

ステップ67で「Y」のときは所定の位置にカードが搬
送されて来たということで、ステップ70でヘッドH1
によりカード25内のデータトラックT1の所定の1度
数を消去する。そして、ステップ71において消去した
箇所を検出するためのセンサSAlの位置を算出し、ス
テップ72でセンサSDの出力が「0」から「1」に変
化したか否かを判断する。そして、「N」のときは「1
」に変化するまで待ち、「Y」のときはステップ73に
おいて全てのセンサを走査させ、ステップ711でカー
ド25の消去部分がセンサSAlの位置に来たか否かを
判断する。そして、「N」のときはステップ72に戻る
When the result in step 67 is "Y", it means that the card has been conveyed to the predetermined position, and in step 70, the head H1
The predetermined number of degrees of the data track T1 in the card 25 is erased. Then, in step 71, the position of the sensor SAl for detecting the erased location is calculated, and in step 72, it is determined whether the output of the sensor SD has changed from "0" to "1". And when "N", "1"
”, and if it is “Y”, all sensors are scanned in step 73, and in step 711 it is determined whether the erased portion of the card 25 has come to the position of sensor SAl. If "N", the process returns to step 72.

ステップ74において「Y」のとき、すなわちカード2
5の消去部分がセンサSAIの位置に来ると、ステップ
75においてセンサSAIの出力は「0」であるか否か
を判断する。そして、これが「N」のときは、ヘッドH
1によりカード25のデータトラックT1の部分を消去
できなかったということでステップ57でエラー処理を
行う。
When “Y” in step 74, that is, card 2
When the erased portion of No. 5 reaches the position of sensor SAI, it is determined in step 75 whether the output of sensor SAI is "0". When this is "N", head H
1, the data track T1 portion of the card 25 could not be erased, so error processing is performed in step 57.

また、ステップ「Y」のときはステ・γプ76でカード
25を停止させ、ステップ77で通話の終了を判断する
。そして、「N」のときは通話の終了まで待つことにな
るが、この間所定の通話時間毎に課金信号aは到来して
いて、この課金信号aに対応する通話度数はこのCPU
21に内蔵されたメモリに逐一8IXされて記憶されて
いる。
If the answer is step ``Y'', the card 25 is stopped in step 76, and the end of the call is determined in step 77. If it is "N", the call waits until the end of the call, but during this time, the charging signal a arrives every predetermined call time, and the call frequency corresponding to this charging signal a is determined by the CPU.
8IX is stored in the built-in memory of 21.

そして、ステップ77でry」のとき、すなわち通話が
終了すれば、ステップ80において使用した度数に基づ
いて残度数を算出し、ステップ81でカード25を返却
するための返却搬送を行う。そして、ステップ82でセ
ンサSDの出力がr□、から「1」に変化したか否かを
判断する。
Then, when the answer is "ry" in step 77, that is, when the call ends, the remaining number of credits is calculated based on the number of credits used in step 80, and the return transportation for returning the card 25 is performed in step 81. Then, in step 82, it is determined whether the output of the sensor SD has changed from r□ to "1".

そして、「N」のときは「1」に変化するまで待ち、「
Y」のときはステップ83において全てのセンサを走査
させ、ステップ84でカード25が消去される位置に来
たか否かを判断する。そして、これがrN、のときはス
テップ82に戻る。
If it is "N", wait until it changes to "1", and then "
If "Y", all sensors are scanned in step 83, and it is determined in step 84 whether or not the card 25 has come to the position where it is to be erased. If this is rN, the process returns to step 82.

ステップ84で「Y」のとき、すなわちカード25が消
去される位置に搬送されれば、ステップ85でヘッドH
3、H2によりデータトラックT1、T2の所定の度数
部分を消去し、この消去部分が消去されたか否かを確認
するためにステップ86においてセンサSDの出力が「
0」がら「1」の変化したか否かを判断する。そして、
「N」のときは「1」に変化するまで待ち、「Y」のと
きはステップ87において全てのセンサを走査させ、ス
テップ88でカード25の消去箇所がセンサSBI 、
SB2の位置に搬送されて来たか否かを判断する。そし
て、これがr N Jのときはステップ86に戻る。
When "Y" is determined in step 84, that is, if the card 25 is transported to the position where it is to be erased, the head H is
3. H2 erases a predetermined degree portion of the data tracks T1 and T2, and in order to check whether this erased portion has been erased, the output of the sensor SD is
It is determined whether or not the value has changed from "0" to "1". and,
If "N", wait until it changes to "1", if "Y", all sensors are scanned in step 87, and in step 88, the erased part of the card 25 is detected by sensor SBI,
It is determined whether or not the object has been transported to the position of SB2. When this is r N J, the process returns to step 86.

ステップ88において、「Y」のとき、すなわちカード
25がセンサSBI 、SB2の位置に搬送されてくる
と、ステップ89でセンサSBI。
When "Y" is determined in step 88, that is, when the card 25 is conveyed to the position of the sensor SBI and SB2, the sensor SBI is transferred in step 89.

SB2の出力は共にr□、であるか否かを判断する。そ
して、これが「N」のときは、ヘッドH1、H2により
消去できなかったということで、ステップ57でエラー
処理を行う。また、ステップ89で「YJのとき、すな
わち正常に消去できれば、ステップ90でセンサSDの
出力が変化しないかどうか、すなわちカード25が返却
されたか否かを判断し、「N」のときは返却されるまで
待ち、「Y」のとき、すなわち返却されれば終了する。
It is determined whether the outputs of SB2 are both r□. If this is "N", it means that the heads H1 and H2 could not erase, and error processing is performed in step 57. In addition, if "YJ" in step 89, that is, if the data can be erased normally, it is determined in step 90 whether the output of the sensor SD does not change, that is, whether the card 25 has been returned, and if "N", the card 25 has not been returned. Wait until it is returned, and if it is "Y", that is, it is returned, the process ends.

なお、本実施例においては消去ヘッドとしてサーマルヘ
ッドを使用し、読み取りヘッドとして磁気センサを使用
したが、消去ヘッドとしてカードに穴をあけるパンチャ
ーを用いるようにし、読み取りヘッドとして発光素子お
よび受光素子により構成された光学センサを用いるよう
にしても良い。
In this embodiment, a thermal head was used as the erasing head and a magnetic sensor was used as the reading head, but a puncher for making a hole in the card was used as the erasing head, and the reading head was composed of a light emitting element and a light receiving element. Alternatively, an optical sensor may be used.

また、消去ヘッドにカードの反射率を変化させる素子、
例えばサーマルカードを使用してのサーマルヘッドある
いはインキ捺印スタンプ素子を用い、読み取りヘッドに
受光素子等の光学センサを用いるようにしても良い。
In addition, the erase head includes an element that changes the reflectance of the card.
For example, a thermal head using a thermal card or an ink stamp element may be used, and an optical sensor such as a light receiving element may be used as the reading head.

また、本実施例においては、カード式公衆電話機にカー
ド処理装置を適用した例について説明したが、カード式
公衆電話機に限定されるものではなく、他のカードシス
テムに適用してもよい。
Further, in this embodiment, an example in which the card processing device is applied to a card-type public telephone has been described, but the present invention is not limited to a card-type public telephone, and may be applied to other card systems.

[発明の効果] 以り説明したように本発明のカード処理装置は、サービ
スが終了すると、有効価値マーク情報から使用価値分を
減じて全データトラック共通に消去し、サービス開始時
には各データトラックから読みだした有効価値マーク情
報が一致したときにサービスが許可されるように構成し
たので、1度数毎に消去および消去確認を行う必要がな
く、従って機械的および電気的なエネルギーの消費を押
えることができ、低消費電力の装置が構成できるという
効果がある。
[Effects of the Invention] As explained above, the card processing device of the present invention subtracts the usage value from the effective value mark information and deletes it in common from all data tracks when the service ends, and erases it from each data track when the service starts. Since the configuration is such that the service is permitted when the read valid value mark information matches, there is no need to erase and confirm erasure every time, thus reducing mechanical and electrical energy consumption. This has the effect of making it possible to configure a device with low power consumption.

また、サービス開始時に有効価値マーク情報から「1」
減じたマーク情報が1つのタイミングトラックから消去
され、この消去が確認された時にサービスが許可される
ように構成したので、サービスの開始時点でカードの良
否を判断できるという効果がある。
Also, when starting the service, "1" will be displayed from the effective value mark information.
Since the reduced mark information is erased from one timing track and the service is permitted when this erasure is confirmed, there is an effect that the quality of the card can be judged at the start of the service.

また、各データトラックに記録された有効価値マーク情
報のアドレスは、タイミングトラックから読み出された
タイミングパルスにより決定されるように構成したので
、アドレストラックを設けることなくアドレスの検出が
行えるという効果がある。
In addition, since the address of the valid value mark information recorded on each data track is determined by the timing pulse read from the timing track, an advantage is obtained in that addresses can be detected without providing an address track. be.

また、有効価値マーク情報のアドレスはカードに記録さ
れた複数のアドレストラックから読み出されたアドレス
データによって決定されるように構成したので、確実な
アドレス検出が行えるという効果がある。
Further, since the address of the valid value mark information is determined by address data read from a plurality of address tracks recorded on the card, there is an effect that reliable address detection can be performed.

また、有効価値マーク情報のアドレスはアドレスデータ
と、アドレスパターンの繰り返しをカウントした値とを
演算することにより決定されるので、少ないアドレスト
ラックにより多くの有効価値マーク情報を有することが
できるという効果がある。
Furthermore, since the address of the effective value mark information is determined by calculating the address data and the value obtained by counting the repetition of the address pattern, the effect is that a large amount of effective value mark information can be held in a small number of address tracks. be.

また、サービス終了時に消去した有効価値マーク情報を
全データトラック−Lでチェックするように構成したの
で、確実なカードの消去検出ができるという効果がある
Furthermore, since the valid value mark information erased at the end of the service is checked on all data tracks L, there is an effect that card erasure can be detected reliably.

また、有効値値マーク情報を示す番号に対して相補的な
関係によりアドレス番号が割り当られ、求めた一方の番
号から他方の番号を演算するように構成したので、アド
レス計算が容易に行えるという効果がある。
In addition, the address number is assigned in a complementary relationship to the number indicating the valid value mark information, and the other number is calculated from one number, making it easy to calculate the address. effective.

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

第1図は本発明のカード処理装置の一実施例を示すプロ
・ツク図、第2図はこのカード処理装置に使用されるカ
ードの構成図、第3図〜第6図はカードに記録されたデ
ータ、アドレスのタイミングチャート、第7図はこのカ
ード処理装置の動作を説明するフローチャートである。 21・・・−CPU、22・・・・読取・消去部、23
・・・・サーマルヘッドドライバ、24・・・・カード
搬送機構、25・・・・カード、Hl 、 H2・・・
・ヘッド、SAI 、5A2SBI 、SB2 、SC
I 、SC2、SD・−・・センサ、a・・・・課金信
号。
Fig. 1 is a block diagram showing one embodiment of the card processing device of the present invention, Fig. 2 is a block diagram of a card used in this card processing device, and Figs. 3 to 6 show information recorded on the card. FIG. 7 is a flowchart explaining the operation of this card processing device. 21...-CPU, 22...Reading/erasing section, 23
...Thermal head driver, 24...Card transport mechanism, 25...Card, Hl, H2...
・Head, SAI, 5A2SBI, SB2, SC
I, SC2, SD---sensor, a---charging signal.

Claims (7)

【特許請求の範囲】[Claims] (1)アドレスに従つて消去可能な有効価値マーク情報
が記録された複数のデータトラックおよびこのデータト
ラックに記録された情報の読み出しのためのタイミング
トラックを少なくとも有するカードの処理を行うカード
処理装置において、 サービス終了時に使用価値分を減じてアドレスに従つて
対応する有効価値マーク情報を全データトラック共通に
消去し、サービス開始時に各データトラックから読みだ
した有効価値マーク情報が一致したときにサービスを許
可するカード処理装置。
(1) In a card processing device that processes a card having at least a plurality of data tracks in which valid value mark information that can be erased according to an address is recorded and a timing track for reading out the information recorded in the data tracks. , When the service ends, the usage value is subtracted and the corresponding valid value mark information is deleted from all data tracks according to the address, and the service is started when the valid value mark information read from each data track matches when the service starts. Authorized card processing device.
(2)請求項(1)記載のカード処理装置において、サ
ービス開始時に有効価値マーク情報から「1」減じたマ
ーク情報を1つのタイミングトラックだけ消去し、この
消去が読み取りセンサーにより確認された時にサービス
を許可するカード処理装置。
(2) In the card processing device according to claim (1), the mark information obtained by subtracting "1" from the effective value mark information at the start of the service is erased by one timing track, and when this erasure is confirmed by the reading sensor, the card processing apparatus is serviced. Card processing equipment that allows
(3)請求項(1)記載のカード処理装置において、ア
ドレス決定手段はタイミングトラックから読み出された
タイミングパルスを計数する手段であることを特徴とす
るカード処理装置。
(3) A card processing apparatus according to claim (1), wherein the address determining means is means for counting timing pulses read from a timing track.
(4)請求項(1)記載のカード処理装置において、ア
ドレスはカードに記録された複数のアドレストラックか
ら読み出されたアドレスデータによって決定されること
を特徴とするカード処理装置。
(4) The card processing device according to claim (1), wherein the address is determined by address data read from a plurality of address tracks recorded on the card.
(5)請求項(1)記載のカード処理装置において、ア
ドレスはカードに記録された複数のアドレストラックか
ら読み出されたアドレスデータと、アドレスパターンの
繰り返しをカウントする計数手段と、この計数手段の出
力とアドレスデータを演算することにより決定されるこ
とを特徴とするカード処理装置。
(5) In the card processing device according to claim (1), the address is obtained by combining address data read from a plurality of address tracks recorded on the card, a counting means for counting repetitions of the address pattern, and a counter for counting the repetition of the address pattern. A card processing device characterized in that the determination is made by calculating output and address data.
(6)請求項(1)記載のカード処理装置において、サ
ービス終了時に消去した有効価値マーク情報を全データ
トラック上でチェックするようにしたことを特徴とする
カード処理装置。
(6) A card processing device according to claim (1), characterized in that valid value mark information erased at the end of service is checked on all data tracks.
(7)請求項(1)記載のカード処理装置において、有
効価値マーク情報を示す番号に対して相補的な関係によ
りアドレス番号を割り当て、求めた一方の番号から他方
の番号を演算する手段を備えたカード処理装置。
(7) The card processing device according to claim (1), further comprising means for allocating an address number in a complementary relationship to a number indicating valid value mark information and calculating the other number from one of the obtained numbers. card processing equipment.
JP1289869A 1989-11-09 1989-11-09 Card processing equipment Expired - Lifetime JP2567286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1289869A JP2567286B2 (en) 1989-11-09 1989-11-09 Card processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1289869A JP2567286B2 (en) 1989-11-09 1989-11-09 Card processing equipment

Publications (2)

Publication Number Publication Date
JPH03152689A true JPH03152689A (en) 1991-06-28
JP2567286B2 JP2567286B2 (en) 1996-12-25

Family

ID=17748818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1289869A Expired - Lifetime JP2567286B2 (en) 1989-11-09 1989-11-09 Card processing equipment

Country Status (1)

Country Link
JP (1) JP2567286B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5432309A (en) * 1977-08-16 1979-03-09 Toshiba Corp Magnetic data write apparatus
JPS60254371A (en) * 1984-05-31 1985-12-16 Anritsu Corp Transaction processor using magnetic card
JPS61220088A (en) * 1985-03-27 1986-09-30 株式会社東芝 Money ticket processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5432309A (en) * 1977-08-16 1979-03-09 Toshiba Corp Magnetic data write apparatus
JPS60254371A (en) * 1984-05-31 1985-12-16 Anritsu Corp Transaction processor using magnetic card
JPS61220088A (en) * 1985-03-27 1986-09-30 株式会社東芝 Money ticket processor

Also Published As

Publication number Publication date
JP2567286B2 (en) 1996-12-25

Similar Documents

Publication Publication Date Title
US3854036A (en) Tag reader to digital processor interface circuit
US4280037A (en) Apparatus for cashless payment of merchandise or services
JPS5968074A (en) Totalization system for duty time
US20040173679A1 (en) Card reader
JPH03152689A (en) Card processor
JP2000076387A (en) Magnetic card reader writer
JPH03152687A (en) Valuable information erasing type card
JPH0660210A (en) Measuring instrument
JPH02301893A (en) Lending/returning device
JPH02217975A (en) Method and apparatus for ascertaining position of characteristic part within field of vision
JP7462289B2 (en) Magnetic head
JPS59203582A (en) Premium exchange treating system
JPH03192489A (en) Composite head for reading and erasing
JPS59100375U (en) Vending machine control device
JP2750766B2 (en) Punch hole detection method for magnetic recording cards
JPH0668605A (en) Magnetic card
SU1283818A1 (en) Device for reading graphic information
JPH06342418A (en) System and method for management of common terminal equipment by use of memory card
JPS6036632B2 (en) Image discrimination device
JPH05266288A (en) Preventing method for malfeasant repayment of passenger ticket
JPS5844429Y2 (en) Magnetic card fraud prevention device
JPS5949260U (en) Operator management registration device
JPS58161078A (en) Recognizing device of bar code character
JPS60132276A (en) Mark reader
JPH04105191A (en) Card processor