JPH04105191A - Card processor - Google Patents

Card processor

Info

Publication number
JPH04105191A
JPH04105191A JP2223479A JP22347990A JPH04105191A JP H04105191 A JPH04105191 A JP H04105191A JP 2223479 A JP2223479 A JP 2223479A JP 22347990 A JP22347990 A JP 22347990A JP H04105191 A JPH04105191 A JP H04105191A
Authority
JP
Japan
Prior art keywords
card
characters
printed
printing
writer
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
JP2223479A
Other languages
Japanese (ja)
Inventor
Takeshi Imamura
武史 今村
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2223479A priority Critical patent/JPH04105191A/en
Publication of JPH04105191A publication Critical patent/JPH04105191A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PURPOSE:To prevent a card with erroneous printed contents from being moving by identifying a printed character and an area between the characters, counting the number of the characters and discriminating whether it is matched with the number of the characters to be printed or not. CONSTITUTION:Plural POS (Point of Sales) terminals 2 are connected to a host computer 4 through an in-line 3 and a card reader/writer 5 is connected to the respective POS terminals 2 through a cable 6. When printing is executed on a card, the printed part of the card is read and a character and an area between the characters are identified by the card reader/writer 5. Then, the number of the characters is counted, the number of the counted characters and the number of the characters to be printed are compared and it is discriminated whether they are matched mutually or not. Thus, the card with erroneous operation related to the printing is not discharged.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、カード処理装置に関し、特に、文字が印字
記録されるカードを用いて必要な処理を行なうカード処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a card processing device, and more particularly to a card processing device that performs necessary processing using a card on which characters are printed.

[従来の技術] 最近では、テレホンカードや交通機関の回数券など各種
のプリペイドカードが出回っている。プリペイドカード
は、使用されるごとに磁気的に書込まれている価値情報
が使用された分だけ減じられた価値を表わす情報に書換
えられ、かつカードの使用者の便宜のために、使用状況
を表わす情報が可視的にカードに記録されるようになっ
ている。
[Background Art] Recently, various prepaid cards such as telephone cards and transportation tickets have been on the market. Each time a prepaid card is used, the value information magnetically written on it is rewritten into information representing the value reduced by the amount used, and the usage status is updated for the convenience of the card user. The displayed information is visually recorded on the card.

使用状況を可視的に表わす方法として、カードの残高に
対応する位置にパンチ孔を空ける方法と、使用内容や残
高をカード上に印字記録する方法とがある。前者の方法
は、残高をアナログ的に表わすので、正確性に欠ける。
There are two ways to visually represent the usage status: punching a hole at the position corresponding to the balance on the card, and printing and recording the usage details and balance on the card. The former method lacks accuracy because it represents the balance in an analog manner.

一方、後者の方法は残高をディジタル的に表示できるの
で、残高を正しく把握することができるため、使用者に
安心感を与え、また、使用者はカードの使用状況を書留
めておく必要がないので、便利である。したがって、後
者の方法は前者の方法よりも高いニーズを有している。
On the other hand, the latter method allows the balance to be displayed digitally, giving the user a sense of security as the balance can be accurately grasped, and the user does not need to write down the usage status of the card. , convenient. Therefore, the latter method has higher needs than the former method.

[発明が解決しようとする課題] しかしながら、使用状況などを印字記録する方法では、
印字が正確に行なわれたかどうかは検知されておらず、
印字すべき文字もしくは文字の一部が印字されない状態
で、または異なる内容の文字が印字された状態でカード
を排出してしまうことがあった。
[Problem to be solved by the invention] However, in the method of printing and recording the usage status, etc.
It is not detected whether printing was performed accurately or not.
There have been cases where the card is ejected without the characters or part of the characters to be printed, or with characters of different contents printed.

それゆえに、この発明の主たる目的は、印字に関する誤
動作があったか否かを判別することのできるカード処理
装置を提供することである。
Therefore, a main object of the present invention is to provide a card processing device that can determine whether or not a printing-related malfunction has occurred.

[課題を解決するための手段] この発明に係るカード処理装置は、カードから印字部分
を読取り、文字と文字間領域とを識別するための識別手
段と、該識別手段によつ識別された文字の個数を計数す
るための計数手段と、該計数手段によって計数された文
字数が印字すべき文字の個数に一致するか否かを判別す
るための判別手段とを備えて構成される。
[Means for Solving the Problems] A card processing device according to the present invention includes an identification means for reading a printed portion from a card and identifying characters and an area between characters, and a character identified by the identification means. and a determining means for determining whether the number of characters counted by the counting means matches the number of characters to be printed.

[作用] この発明では、カードに印字が行なわれたとき、カード
の印字部分が読取られ、文字と文字間の領域とが識別さ
れる。そして、文字の個数が計数され、計数された文字
の個数と印字すべき文字数とが比較され、相互に一致す
るか否かが判別される。
[Operation] In the present invention, when printing is performed on a card, the printed portion of the card is read and the characters and the areas between the characters are identified. Then, the number of characters is counted, and the counted number of characters and the number of characters to be printed are compared to determine whether they match each other.

[発明の実施例] 第2図は、この発明の一実施例が適用された取引処理シ
ステムで用いられるプリペイドカードを示す図である。
[Embodiment of the Invention] FIG. 2 is a diagram showing a prepaid card used in a transaction processing system to which an embodiment of the invention is applied.

第2図において、カード1には、印字領域としてA部分
とB部分とが設けられる。
In FIG. 2, the card 1 is provided with a portion A and a portion B as printing areas.

A部分はカード発行時に印字され、B部分はカド使用の
都度印字される。A部分において、第1行にはカード番
号が印字され、第3行には会員番号が印字され、第5行
には発行年月日および発行店名が印字され、第7行には
カード発行時の価値を表わす金額が印字され、第9行に
は第10行ないし第19行に印字される印字内容を表わ
す項目名が印字される。B部分には、カードの使用年月
日と残高とが印字されるが、左半分が先に印字され、左
半分が全部印字された後、右半分が印字されるようにな
っている。
Part A is printed when the card is issued, and part B is printed each time the card is used. In part A, the card number is printed on the first line, the membership number is printed on the third line, the date of issue and the name of the issuing store are printed on the fifth line, and the date of card issuance is printed on the seventh line. The amount of money representing the value of is printed, and the item name representing the print content printed on the 10th to 19th lines is printed on the 9th line. The date of use and balance of the card are printed on part B, and the left half is printed first, and after the entire left half is printed, the right half is printed.

なお、この実施例で印字状態の判別が行なわれるのは、
B部分であるが、カード発行時にA部分について、以下
に説明するのと同じ方法を適用して印字状態の判別を行
なうようにしてもよい。
In this embodiment, the printing status is determined by:
Regarding part B, the printing state may be determined by applying the same method as described below to part A at the time of card issuance.

第3図は、この発明の一実施例が適用された取引処理シ
ステムを示す図である。第3図において、複数のPOS
 (Point  of  5ales)端末2は、イ
ンライン3を介してホストコンピュータ4に接続される
。PO8端末2は、顧客の買上げた商品について商品コ
ード、商品価格および個数などを登録するものである。
FIG. 3 is a diagram showing a transaction processing system to which an embodiment of the present invention is applied. In Figure 3, multiple POS
(Point of 5ales) The terminal 2 is connected to the host computer 4 via the inline 3. The PO8 terminal 2 is used to register the product code, product price, quantity, etc. of the products purchased by the customer.

ホストコンピュータ4は買上げ情報を収集して管理する
ものである。各PO8端末2には、ケーブル6を介して
この発明の一実施例のカードリーダライタ5が接続され
る。カードリーダライタ5は、第2図に示すカード1か
ら金額データを読取り、買上げ金額を減じた新たな金額
を磁気的に書込むとともに、買上げ情報をカード1のB
部分に印字記録するものである。カードリーダライタ5
は、印字情報をチエツクする機能を有している。
The host computer 4 collects and manages purchase information. A card reader/writer 5 according to an embodiment of the present invention is connected to each PO8 terminal 2 via a cable 6. The card reader/writer 5 reads the amount data from the card 1 shown in FIG.
The area is printed and recorded. Card reader writer 5
has the function of checking printed information.

第4図は、第3図に示すカードリーダライタの電気的構
成を示す概略ブロック図である。第4図において、カー
ドリーダライタ5には、CPU11が設けられる。CP
UIIには、RAMI 2゜ROM1B、伝送コントロ
ーラ14およびI10インタフェース15が接続される
。RAMI2はカード1から読取られたデータあるいは
カード1に書込まれるデータを一時的に記憶するもので
ある。ROM13は、カード1のリードライト制御。
FIG. 4 is a schematic block diagram showing the electrical configuration of the card reader/writer shown in FIG. 3. In FIG. 4, the card reader/writer 5 is provided with a CPU 11. As shown in FIG. C.P.
A RAMI 2° ROM 1B, a transmission controller 14, and an I10 interface 15 are connected to the UII. The RAMI 2 temporarily stores data read from the card 1 or data written to the card 1. ROM13 is for read/write control of card 1.

入出力制御および伝送制御を行なうための各種のプログ
ラムを記憶するものである。伝送コントローラ14はC
PUI 1とPO8端末2との間でデータをやりとりす
るためのものである。I10インタフェース15は、C
PUIIの指令に応じて入出力機器を動作させるととも
に、入出力機器からの情報をCPUIIに与えるための
ものである。
It stores various programs for performing input/output control and transmission control. The transmission controller 14 is C
This is for exchanging data between the PUI 1 and the PO8 terminal 2. I10 interface 15 is C
It is used to operate input/output devices according to commands from the PUII and to provide information from the input/output devices to the CPUII.

I10インタフェース15には、印字ヘッドのソレノイ
ド16と、印字ヘッドおよびカード1を移動させるため
のモータ17と、カードデータを読取りおよびカードに
データを書込むための磁気ヘッド18と、カードの挿入
が可能であることを表示し、また、PO8端末2との伝
送状態を表示するための表示用LED19と、カードの
位置を検出するための位置センサ20と、カードの印字
状態を検出する光学センサ21とが接続される。
The I10 interface 15 includes a solenoid 16 for the print head, a motor 17 for moving the print head and the card 1, a magnetic head 18 for reading card data and writing data on the card, and a card can be inserted therein. and a display LED 19 for displaying the transmission status with the PO8 terminal 2, a position sensor 20 for detecting the position of the card, and an optical sensor 21 for detecting the printing status of the card. is connected.

ここて、光学センサ21は、たとえばフォトダイオード
が直線的に配置されたラインセンサであり、たとえば1
2桁の文字を読取ることのできる長さを有している。
Here, the optical sensor 21 is, for example, a line sensor in which photodiodes are arranged linearly, and for example, one
It is long enough to read two-digit characters.

第5図は第2図に示すカードから印字部分を読取って、
印字された文字数を認識するための手法を説明するため
の図である。第1図は、文字数を認識する方法を説明す
るための図である。次に、第1図ないし第5図を参照し
て、カードの印字状況をチエツクする手法について詳細
に説明する。
Figure 5 shows the printed part read from the card shown in Figure 2.
FIG. 3 is a diagram for explaining a method for recognizing the number of printed characters. FIG. 1 is a diagram for explaining a method for recognizing the number of characters. Next, a method for checking the printing status of a card will be explained in detail with reference to FIGS. 1 to 5.

ここでは、第2図に示すカード1の第10行の左半分に
印字された“0526¥100000“が正しく印字さ
れたかどうかを判別する場合について説明する。
Here, a case will be described in which it is determined whether "0526\100000" printed on the left half of the 10th line of the card 1 shown in FIG. 2 has been printed correctly.

第1図に示すように、カード1にはドツトマトリクスに
より文字が印字されている。カード1に印字された文字
列は第5図に示すようにレンズ系22を介して光学セン
サ21上に投影される。ドツト部分では光は反射され、
余白部分ては光は反射されないので、光学センサ21の
各フォトダイオードはドツトパターンに応じた受光信号
を出力する。
As shown in FIG. 1, characters are printed on the card 1 using a dot matrix. The character string printed on the card 1 is projected onto the optical sensor 21 via the lens system 22, as shown in FIG. Light is reflected at the dot part,
Since no light is reflected in the blank area, each photodiode of the optical sensor 21 outputs a light reception signal according to the dot pattern.

光学センサ21の各フォトダイオードの出力は、第5図
に示すX方向に順次読出される。光学センサ21の出力
は増幅器27に与えられる。増幅器27によって増幅さ
れた電気信号は比較器32によって所定のしきい値電圧
と比較される。しきい値電圧よりも低ければ、“0“に
対応する信号が出力され、しきい値電圧よりも高ければ
、“1”に対応する信号が出力される。つまり、比較器
32からは黒と白に対応して2値化された信号が出力さ
れる。2値化結果は、光学センサ21のフォトダイオー
ドと同じ個数のレジスタを有するシフトレジスタ34に
与えられる。光学センサ21から順次出力された電気信
号は2値化されて、シフトレジスタ34に順次記憶され
る。
The output of each photodiode of the optical sensor 21 is sequentially read out in the X direction shown in FIG. The output of the optical sensor 21 is given to an amplifier 27. The electrical signal amplified by amplifier 27 is compared with a predetermined threshold voltage by comparator 32. If it is lower than the threshold voltage, a signal corresponding to "0" is output, and if it is higher than the threshold voltage, a signal corresponding to "1" is output. That is, the comparator 32 outputs binarized signals corresponding to black and white. The binarized result is applied to a shift register 34 having the same number of registers as the photodiodes of the optical sensor 21. The electrical signals sequentially output from the optical sensor 21 are binarized and sequentially stored in the shift register 34.

このようにして、第1図に示すX方向に1回走査を行な
うと、カード1を第1図に示すY方向とは逆方向に移動
させる。そして、再度、第5図に示すようにX方向に走
査して、各フォトダイオードの出力に対応する2値化信
号をシフトレジスタ34にストアする。このとき、前回
走査したときに記憶している各フォトダイオードの出力
値と、今回走査したときに得られた各フォトダイオード
の出力値の論理和をシフトレジスタ34に記憶する。こ
のために、第5図に示すように、シフトレジスタ34の
出力と比較器32の出力との論理和をとるようにOR回
路33を構成している。
In this way, when scanning is performed once in the X direction shown in FIG. 1, the card 1 is moved in the opposite direction to the Y direction shown in FIG. Then, scanning is performed again in the X direction as shown in FIG. 5, and the binary signals corresponding to the outputs of each photodiode are stored in the shift register 34. At this time, the logical sum of the output value of each photodiode stored during the previous scan and the output value of each photodiode obtained during the current scan is stored in the shift register 34. For this purpose, as shown in FIG. 5, an OR circuit 33 is configured to logically OR the output of the shift register 34 and the output of the comparator 32.

このようにして、X方向に主走査を行ないつつ、Y方向
に副走査を行なって、各フォトダイオードについて出力
の論理和をとると、ある期間内のパターンデータが文字
の高さに累積され、1行の文字列は白(0)または黒(
1)のつらなりであるランレングスの列に変換される。
In this way, by performing main scanning in the X direction and sub-scanning in the Y direction, and taking the logical sum of the outputs for each photodiode, the pattern data within a certain period is accumulated in the height of the character, One line of string can be white (0) or black (
1) is converted into a sequence of run lengths.

認識部35は現在、カード1の左右のどちらの半面を読
取っているのかを判断の要素として、これらのランレン
グスの個数を計数することにより、印字文字数を認識す
る。第1図に示す文字パターンを読取ると、4つの黒の
ランレングスがあるので、文字数は4であることがわか
る。
The recognition unit 35 recognizes the number of printed characters by counting the number of these run lengths, using as a factor in determining which half of the card 1, left or right, is currently being read. When reading the character pattern shown in FIG. 1, it can be seen that there are four black run lengths, so the number of characters is four.

一方、カード1に印字された印字内容は、P。On the other hand, the content printed on card 1 is P.

S端末2からケーブル6を介してカードリーダライタ5
へ伝送されるので、カードリーダライタ5のCPUI 
1は印字文字数を予め知ることができる。この文字数と
カード1から読取られた文字数とを比較することにより
、印字が正しく行なわれたかどうかを判別することがで
きる。CPUI 1は、印字が正しく行なわれなかった
と判別した場合には、カードリーダライタ5内に設けら
れたレバー(図示せず)を作動させて、カードの返却を
禁止し、カード上の次の行に再印字を行なう。再印字し
た行についても上述の印字チエツクを行なつ。
From the S terminal 2 to the card reader/writer 5 via the cable 6
Since the data is transmitted to the CPUI of the card reader/writer 5,
1, the number of characters to be printed can be known in advance. By comparing this number of characters with the number of characters read from the card 1, it is possible to determine whether printing has been performed correctly. If the CPU 1 determines that printing has not been performed correctly, the CPU 1 operates a lever (not shown) provided in the card reader/writer 5 to prohibit the return of the card and print the next line on the card. Print again. The above print check is also performed for the reprinted lines.

このようにして、印字が正しく行なわれなかった場合に
は、再印字を行なうので、印字に異常のある状態でカー
ドが顧客に返却されることはない。
In this manner, if printing is not performed correctly, printing is performed again, so that the card will not be returned to the customer with abnormal printing.

なお、第5図における比較器32.OR回路33、シフ
トレジスタ34および認識部35はハ−ドウエアで構成
してもよいが、ソフトウェアにより構成してもよい。
Note that the comparator 32. in FIG. The OR circuit 33, shift register 34, and recognition section 35 may be configured by hardware, but may also be configured by software.

上述の実施例では、カードを移動させて副走査を行なっ
ているが、カードを移動させるがわりに、光学センサを
移動させてもよい。また、光学センサとしてラインセン
サを用いているが、二次元センサを用いてもよい。
In the above-described embodiment, the sub-scanning is performed by moving the card, but the optical sensor may be moved instead of moving the card. Furthermore, although a line sensor is used as the optical sensor, a two-dimensional sensor may also be used.

[発明の効果〕 以上のように、この発明によれば、印字文字と文字間の
領域とを識別して、文字の個数を計数し、印字すべき文
字の個数と一致するか否かを判別するようにしたので、
印字内容に誤りがあるカードが出回るのを防止すること
ができる。
[Effects of the Invention] As described above, according to the present invention, the printed characters and the area between the characters are identified, the number of characters is counted, and it is determined whether the number of characters matches the number of characters to be printed. I decided to do this, so
It is possible to prevent cards with incorrect printed contents from being distributed.

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

第1図はこの発明の一実施例が適用されたカードリーダ
ライタにおける文字数を認識する方法を説明するための
図である。第2図はこの発明の一実施例が適用された取
引処理システムで用いられるプリペイドカードを示す図
である。第3図はこの発明の一実施例が適用された取引
処理システムを示す図である。第4図は第3図に示すカ
ードリーダライタの電気的構成を示す概略ブロック図で
ある。第5図は第2図に示すカードから印字部分を読取
って、印字された文字数を認識するための手法を説明す
るための図である。 図において、1はカード、5はカードリーダライタ、1
1はCPU、12はRAM、1BはROM114は伝送
コントローラ、15はI10インタフェース、2]は光
学センサ、27は増幅器、32は比較器、33はOR回
路、34はシフトレジスタ、35は認識部を示す。 第1図 第3図 第4図
FIG. 1 is a diagram for explaining a method of recognizing the number of characters in a card reader/writer to which an embodiment of the present invention is applied. FIG. 2 is a diagram showing a prepaid card used in a transaction processing system to which an embodiment of the present invention is applied. FIG. 3 is a diagram showing a transaction processing system to which an embodiment of the present invention is applied. FIG. 4 is a schematic block diagram showing the electrical configuration of the card reader/writer shown in FIG. 3. FIG. 5 is a diagram for explaining a method for reading the printed portion from the card shown in FIG. 2 and recognizing the number of printed characters. In the figure, 1 is a card, 5 is a card reader/writer, 1
1 is a CPU, 12 is a RAM, 1B is a ROM 114 is a transmission controller, 15 is an I10 interface, 2] is an optical sensor, 27 is an amplifier, 32 is a comparator, 33 is an OR circuit, 34 is a shift register, 35 is a recognition unit show. Figure 1 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 文字が印字記録されるカードを用いて必要な処理を行な
うカード処理装置であって、 前記カードから印字部分を読取り、文字と文字間領域と
を識別するための識別手段と、 前記識別手段によって識別された文字の個数を計数する
ための計数手段と、 前記計数手段によって計数された文字数が印字すべき文
字の個数に一致するか否かを判別するための判別手段と
を備えた、カード処理装置。
[Scope of Claims] A card processing device that performs necessary processing using a card on which characters are printed and recorded, comprising an identification means for reading a printed portion from the card and identifying characters and an area between characters. , a counting means for counting the number of characters identified by the identification means, and a determining means for determining whether the number of characters counted by the counting means matches the number of characters to be printed. Equipped with a card processing device.
JP2223479A 1990-08-24 1990-08-24 Card processor Pending JPH04105191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2223479A JPH04105191A (en) 1990-08-24 1990-08-24 Card processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2223479A JPH04105191A (en) 1990-08-24 1990-08-24 Card processor

Publications (1)

Publication Number Publication Date
JPH04105191A true JPH04105191A (en) 1992-04-07

Family

ID=16798782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2223479A Pending JPH04105191A (en) 1990-08-24 1990-08-24 Card processor

Country Status (1)

Country Link
JP (1) JPH04105191A (en)

Similar Documents

Publication Publication Date Title
US4068213A (en) Checkout system
US3665164A (en) Apparatus for reading optically cardlike elements and a merchandising system utilizing the same
CA1097816A (en) Checkout system
JPH04105191A (en) Card processor
JPS5856065A (en) Automatic transaction selective processing system
US20240104539A1 (en) Reading device and method
JPH08194786A (en) Prepaid card unauthorized use preventing system in pinball saloon
JP2779898B2 (en) Barcode reader
JP3012977U (en) prepaid card
JPH02135594A (en) Card system automatic vending machine
JP2750766B2 (en) Punch hole detection method for magnetic recording cards
JPH0769931B2 (en) Optical character reader
JPH0732109Y2 (en) Magnetic recording card and its terminal device
JP2569225Y2 (en) prepaid card
JP2783234B2 (en) Barcode reader
JP3012978U (en) prepaid card
JPS6142341B2 (en)
JPH02105987A (en) Re-issue system for magnetic card
JP2000113326A (en) Point processor
JPH04316187A (en) Common parking service ticket input device
JPH05104889A (en) Rewrite card
KR890005640A (en) vending machine
JPH1091852A (en) Information recording medium processor and system therefor
JPH0259891A (en) Card issuing machine
CN106934961A (en) A kind of POS with cash counting function