JPH0816703A - Medium processor - Google Patents
Medium processorInfo
- Publication number
- JPH0816703A JPH0816703A JP14752194A JP14752194A JPH0816703A JP H0816703 A JPH0816703 A JP H0816703A JP 14752194 A JP14752194 A JP 14752194A JP 14752194 A JP14752194 A JP 14752194A JP H0816703 A JPH0816703 A JP H0816703A
- Authority
- JP
- Japan
- Prior art keywords
- bar code
- passbook
- data
- black
- white
- 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
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、バ−コ−ドが付された
通帳等の媒体を処理する媒体処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium processing device for processing a medium such as a passbook provided with a bar code.
【0002】[0002]
【従来の技術】従来、金融機関等に設置される媒体処理
装置としての通帳記帳機に通帳が挿入されると、取り引
き情報が順次印字される。そして、頁の最終行まで印字
が行われると、装置内のタ−ンペ−ジユニットに通帳が
搬送され、そこで改頁が行われる。そして改頁後には、
所定の頁がめくられたかの確認が行われる。2. Description of the Related Art Conventionally, when a passbook is inserted into a passbook entry machine as a medium processing device installed in a financial institution, transaction information is sequentially printed. When the last line of the page is printed, the passbook is conveyed to the turn page unit in the apparatus, and the page is changed there. And after the page break,
It is confirmed whether the predetermined page has been turned.
【0003】この確認には、通帳の各頁に印刷されてい
る頁マ−クが使用され、この頁マ−クが光学的に読み取
られることにより、何頁目が開かれた状態となっている
のかが判定される。そして、所定の頁がめくられている
ことが判定された場合には、その頁に印字が行われ、所
定の頁がめくられていない場合には、再びタ−ンペ−ジ
ユニットに通帳を搬送して改頁をしなおす。For this confirmation, a page mark printed on each page of the passbook is used, and by optically reading this page mark, which page is opened. It is determined whether or not there is. Then, if it is determined that the predetermined page is turned, the page is printed, and if the predetermined page is not turned, the passbook is again passed to the turn page unit. Carry and page break again.
【0004】頁マ−クはバ−コ−ドで示されており、こ
のバ−コ−ドには、バ−コ−ドの読取り方向に対して平
行にバ−が印刷されている横バ−コ−ドと、バ−コ−ド
の読取り方向に対して直交する方向にバ−が印刷されて
いる縦バ−コ−ドとの2種類がある。そして、横バ−コ
−ドよりも縦バ−コ−ドの方がより多くの頁の識別がで
きるようになっている。The page mark is indicated by a bar code, and the bar code has a horizontal bar printed with the bar parallel to the reading direction of the bar code. There are two types: a code and a vertical bar code in which a bar is printed in a direction orthogonal to the reading direction of the bar code. Further, the vertical bar code can identify more pages than the horizontal bar code.
【0005】横バ−コ−ドと縦バ−コ−ドとでは頁識別
方法が異なるので、縦バ−コ−ドが印刷されている通帳
を扱う通帳記帳機は縦バ−コ−ドを読み取ることしかで
きないように設定されており、横バ−コ−ドが印刷され
ている通帳を扱う通帳記帳機は横バ−コ−ドを読み取る
ことしかできないように設定されている。Since the page identification method is different between the horizontal bar code and the vertical bar code, a passbook entry machine that handles a passbook in which the vertical bar code is printed uses the vertical bar code. It is set so that it can only be read, and a passbook entry machine that handles a passbook on which a horizontal bar code is printed is set so that it can only read the horizontal bar code.
【0006】[0006]
【発明が解決しようとする課題】上記従来の通帳記帳機
においては、近年、通帳の多科目化が進み通帳の頁数が
増える傾向にあり、横バ−コ−ドを使用していた通帳
が、縦バ−コ−ドへ順次移行する傾向にある。In the above-mentioned conventional passbook entry machine, the number of pages of the passbook tends to increase with the increase in the number of subjects of the passbook in recent years, and the passbook using the horizontal bar code is not available. , There is a tendency to shift to the vertical bar code.
【0007】従って、横バ−コ−ドが印刷されている通
帳を使用してた銀行は縦バ−コ−ドが印刷されている通
帳に移行することになる。そして、通帳の移行期間中
は、横バ−コ−ドと縦バ−コ−ドの2つの頁マ−クが共
存することになる。従来は横バ−コ−ドあるいは縦バ−
コ−ドのどちらか一方のバ−コ−ドしか読み取ることが
できなかったので、その対応策として、通帳記帳機を横
バ−コ−ドと縦バ−コ−ドの両方のバ−コ−ドを読み取
ることができるように設定する方法がある。Therefore, a bank which used a passbook having a horizontal bar code printed thereon will shift to a passbook having a vertical bar code printed thereon. During the transition period of the passbook, two page marks, a horizontal bar code and a vertical bar code, coexist. Conventionally, horizontal bar code or vertical bar
Since only one of the two barcodes could be read, as a countermeasure against that, the passbook recorder was used for both horizontal and vertical barcodes. -There is a method of setting so that the code can be read.
【0008】しかし、横バ−コ−ドと縦バ−コ−ドは頁
識別方法が異なるので、横バ−コ−ドと縦バ−コ−ドの
両方を一回で読み取ることはできない。それ故、バ−コ
−ド読取り方法を切り替える必要があるので、挿入され
る通帳に横バ−コ−ドが印刷されているのか、あるいは
縦バ−コ−ドが印刷されているのかを予め、顧客あるい
はオペレ−タが、装置に入力しておく必要があった。However, since the horizontal bar code and the vertical bar code have different page identification methods, it is not possible to read both the horizontal bar code and the vertical bar code at one time. Therefore, since it is necessary to switch the bar code reading method, it is necessary to determine in advance whether the horizontal bar code or the vertical bar code is printed on the inserted passbook. , The customer or the operator had to enter the data in the device.
【0009】その他の方法としては、横バ−コ−ドと縦
バ−コ−ドの読み取りを装置が自動的に両方行うように
設定する方法がある。この場合、例えば最初、縦バ−コ
−ドを読み取る設定にし、この設定でバ−コ−ドを読み
取り、読み取れない場合は、次に横バ−コ−ドを読み取
る設定にして読み取るというようする。しかし、この方
法では、頁マ−ク読取り設定を切り替えて2回頁識別動
作を行うことになる。従って、上記どちらの方法を用い
ても、手間がかかるか、あるいは時間がかかってしまっ
ていた。As another method, there is a method of setting the apparatus to automatically read both the horizontal bar code and the vertical bar code. In this case, for example, the vertical bar code is set to be read first, the bar code is read with this setting, and if the bar code cannot be read, the horizontal bar code is set to be read next and the bar code is read. . However, in this method, the page marking operation is performed twice by switching the page mark reading setting. Therefore, whichever of the above methods is used, it takes time or labor.
【0010】[0010]
【課題を解決するための手段】上記課題を解決するため
に本発明で設けた解決手段は、媒体に印刷されたバ−コ
−ドをイメ−ジセンサで光学的に読取り、読取り結果か
ら媒体の開かれている頁数を解析する媒体処理装置にお
いて、イメ−ジセンサで読み取られたバ−コ−ドの各画
素毎に白黒の判定を行う白黒判定部と、白黒判定部の判
定結果に基づいて1ライン毎のデ−タを、バ−コ−ドの
読取り方向と直交する方向にバ−が向いている縦バ−コ
−ドデ−タと、バ−コ−ドの読取り方向と平行な方向に
バ−が向いている横バ−コ−ドデ−タの両方のデ−タと
して記憶する記憶部と、横バ−コ−ドデ−タを記憶部か
ら呼び出し、バ−コ−ド読取り方向と直交する方向の長
さを判定し、長さからバ−の向きを判定して、判定結果
が縦の場合は、記憶部から縦バ−コ−ドデ−タを呼び出
してバ−コ−ドの示す頁数を解析し、判定結果が横の場
合は、バ−コ−ドの示す頁数を解析する制御部とを設け
たものである。In order to solve the above-mentioned problems, a solution means provided by the present invention is to optically read a bar code printed on a medium with an image sensor, and read the medium from the read result. In a medium processing device for analyzing the number of open pages, a black-and-white judging section for judging black-and-white for each pixel of a bar code read by an image sensor and a judgment result of the black-and-white judging section. The data for each line is parallel to the vertical bar code data in which the bar is oriented in the direction orthogonal to the bar code reading direction and to the bar code reading direction. A memory unit for storing both the horizontal bar code data in which the bar is oriented in the direction and the horizontal bar code data are recalled from the memory unit to obtain the bar code. The length in the direction orthogonal to the reading direction is determined, the direction of the bar is determined from the length, and if the determination result is vertical, enter A vertical bar code data is called from the section to analyze the number of pages indicated by the bar code, and when the judgment result is horizontal, a control section for analyzing the number of pages indicated by the bar code. Is provided.
【0011】[0011]
【作用】イメ−ジセンサで読み取ったバ−コ−ドの各画
素毎に、白黒判定部で白黒判定を行う。そして、白黒判
定部の判定結果に基づいて、1ライン毎のデ−タを、バ
−コ−ドの読取り方向と直交する方向にバ−が向いてい
る縦バ−コ−ドデ−タと、バ−コ−ドの読取り方向と平
行な方向にバ−が向いている横バ−コ−ドデ−タの両方
のデ−タとして記憶部に記憶する。The black-and-white judging section makes a black-and-white judgment for each pixel of the bar code read by the image sensor. Then, based on the judgment result of the black-and-white judging unit, the data for each line is identified as vertical bar code data in which the bar is oriented in the direction orthogonal to the reading direction of the bar code. , The horizontal bar code data in which the bar is oriented in a direction parallel to the reading direction of the bar code is stored in the storage unit.
【0012】次に横バ−コ−ドデ−タを記憶部から呼び
出し、バ−コ−ド読取り方向と直交する方向の長さを判
定し、長さからバ−の向きを判定する。そして、判定結
果が縦の場合は、記憶部から縦バ−コ−ドデ−タを呼び
出してバ−コ−ドの示す頁数を解析する。Next, the horizontal bar code data is called from the storage unit, the length in the direction orthogonal to the bar code reading direction is determined, and the direction of the bar is determined from the length. If the determination result is vertical, the vertical bar code data is called from the storage unit to analyze the number of pages indicated by the bar code.
【0013】一方、判定結果が横の場合は、横バ−コ−
ドデ−タからバ−コ−ドの示す頁数を解析する。On the other hand, if the determination result is horizontal, the horizontal bar
The number of pages indicated by the bar code is analyzed from the data.
【0014】[0014]
【実施例】本発明の実施例について図面を参照しながら
説明する。なお、各図面に共通な要素には同一の符号を
付す。図1は本発明に係る一実施例の通帳記帳機の制御
系を示すブロック図、図2は一実施例の通帳を示す斜視
図、図3は一実施例の縦バ−コ−ドを示す拡大図、図4
は一実施例の横バ−コ−ドを示す拡大図、図5は一実施
例の通帳記帳機の構造を示す説明図である。図2におい
て、媒体である通帳3には、磁気ストライプ2が設けら
れており、通帳3の全ての中紙27には、頁数を示す頁
マ−クがバ−コ−ド28として印刷されている。Embodiments of the present invention will be described with reference to the drawings. The elements common to the drawings are designated by the same reference numerals. FIG. 1 is a block diagram showing a control system of a bankbook entry machine according to one embodiment of the present invention, FIG. 2 is a perspective view showing a bankbook of one embodiment, and FIG. 3 is a vertical bar code of one embodiment. Enlarged view, Figure 4
FIG. 5 is an enlarged view showing a horizontal bar code of one embodiment, and FIG. 5 is an explanatory view showing the structure of the passbook entry machine of one embodiment. In FIG. 2, the passbook 3 which is a medium is provided with a magnetic stripe 2, and a page mark indicating the number of pages is printed as a bar code 28 on all the middle papers 27 of the passbook 3. ing.
【0015】図3、図4に示すように、バ−コ−ド28
には、読取り方向と直交する方向にバ−が向いている縦
バ−コ−ド29と、読取り方向と平行な方向にバ−が向
いている横バ−コ−ド30とがある。As shown in FIGS. 3 and 4, a bar code 28
Includes a vertical bar code 29 in which the bar faces in a direction orthogonal to the reading direction and a horizontal bar code 30 in which the bar faces in a direction parallel to the reading direction.
【0016】縦バ−コ−ド29は、バ−コ−ド読取り方
向と直交する方向の長さ(太さA)が約5.08mmで
あり、横バ−コ−ド30は太さBが約0.5mmであ
る。すなわち、縦バ−コ−ド29の太さは横バ−コ−ド
30の太さに比べて約10倍となっている。The vertical bar code 29 has a length (thickness A) in the direction orthogonal to the bar code reading direction of about 5.08 mm, and the horizontal bar code 30 has a thickness B. Is about 0.5 mm. That is, the thickness of the vertical bar code 29 is about 10 times the thickness of the horizontal bar code 30.
【0017】以下に上記通帳3が挿入される通帳記帳機
1について説明する。図5において、通帳記帳機1に
は、通帳3を通帳記帳機1に挿入、及び排出する挿入排
出口4が設けられている。また、通帳記帳機1内には、
挿入排出口4に続けて通帳3が搬送される搬送路5が設
けられおり、搬送路5に沿って、通帳3を搬送する複数
の搬送ロ−ラ対6と、通帳3の磁気ストライプ2の読取
り、及び磁気ストライプ2へのデ−タの書き込みを行う
磁気ヘッド7と、通帳3に印刷されたバ−コ−ド28及
び印字済み行を読み取る光学式頁・行読取りユニット8
と、通帳3に印字を行うプリンタユニット9とが設けら
れている。なお、プリンタユニット9は、印字ヘッド1
0と、印字ヘッド10に対向して配置されたプラテン1
1とから構成されている。The passbook entry machine 1 into which the passbook 3 is inserted will be described below. In FIG. 5, the passbook entry machine 1 is provided with an insertion and ejection port 4 for inserting and ejecting the passbook 3 into the passbook entry machine 1. In addition, in the passbook entry machine 1,
A transport path 5 for transporting the passbook 3 is provided subsequent to the insertion / ejection port 4, and along the transport path 5, a plurality of transport roller pairs 6 for transporting the passbook 3 and a magnetic stripe 2 of the passbook 3 are provided. A magnetic head 7 for reading and writing data to the magnetic stripe 2, a bar code 28 printed on the passbook 3, and an optical page / line reading unit 8 for reading printed lines.
And a printer unit 9 for printing on the passbook 3. In addition, the printer unit 9 includes the print head 1
0, and the platen 1 arranged to face the print head 10.
1 and 1.
【0018】通帳記帳機1には、搬送路5に沿って更
に、通帳3の頁めくりを自動的におこなうタ−ンペ−ジ
ユニット12と、取り引き終了後、挿入排出口4に排出
した通帳3を顧客が取り忘れた際に、通帳3を引き込ん
で保留する通帳取り込み部13と、通帳繰越が発生した
場合に新しい通帳3を発行する間、全ての頁に印字して
しまった通帳3を一時保留しておく通帳一時保留部14
と、新しく発行する通帳3が入っている通帳スタッカ1
5が設けられている。また、搬送路5には、切換えゲ−
ト31、32が設けられており、切換えゲ−ト31、3
2を回動することにより、通帳3の搬送方向が切換えら
れる。The passbook entry machine 1 further includes a turnpage unit 12 for automatically turning pages of the passbook 3 along the conveyance path 5, and a passbook discharged to the insertion / exhaust port 4 after completion of the transaction. When the customer forgets to pick up 3, the passbook importing unit 13 that pulls in and holds the passbook 3 and the passbook 3 that has been printed on all pages while a new passbook 3 is issued when a passbook carryover occurs Passbook temporary holding section 14 to hold temporarily
And a passbook stacker 1 containing a newly issued passbook 3
5 are provided. The transfer path 5 has a switching gate.
Gates 31 and 32 are provided, and switching gates 31 and 3 are provided.
By rotating 2, the conveyance direction of the passbook 3 is switched.
【0019】通帳記帳機1内にはまた、通帳記帳機1を
制御する制御部16が設けられている。A control unit 16 for controlling the passbook entry machine 1 is also provided in the passbook entry machine 1.
【0020】次に上記通帳記帳機1を制御する制御系、
特に、光学式頁・行読取りユニット8及び通帳3搬送の
制御系の構造について図1に基づいて説明する。なお、
図6は一実施例の記憶部を示す説明図である。光学式頁
・行読取りユニット8は、図1に示すように、光源17
と、レンズ18と、通帳3の紙面に反射した光源17の
光の反射光量をレンズ18を介して結像するイメ−ジセ
ンサ19と、イメ−ジセンサ19の出力の増幅や、波形
の整形を行う前処理部20と、制御部16に接続され、
イメ−ジセンサ19で読み取った画素毎に白か黒かの判
定を行う白黒判定部21とか構成されている。なお、イ
メ−ジセンサ19は通帳3搬送方向と直交する方向にバ
−コ−ド28を読み取る。Next, a control system for controlling the passbook entry machine 1,
In particular, the structures of the optical page / line reading unit 8 and the control system for conveying the passbook 3 will be described with reference to FIG. In addition,
FIG. 6 is an explanatory diagram showing the storage unit of one embodiment. The optical page / row reading unit 8 includes a light source 17 as shown in FIG.
The lens 18, the image sensor 19 that forms an image of the reflected light amount of the light source 17 reflected on the paper surface of the passbook 3 through the lens 18, the output of the image sensor 19 is amplified, and the waveform is shaped. Connected to the preprocessing unit 20 and the control unit 16,
A black-and-white determination unit 21 that determines whether each pixel read by the image sensor 19 is white or black is configured. The image sensor 19 reads the bar code 28 in the direction orthogonal to the carrying direction of the passbook 3.
【0021】制御部16にはまた、モ−タコントロ−ル
部22が接続されている。このモ−タコントロ−ル部2
2は、制御部16の指示によりモ−タ24へのON/O
FF信号や、モ−タ24を回転するタイミング信号等を
生成し、モ−タドライバ23に信号を送る。モ−タドラ
イバ23は、モ−タコントロ−ル部22からの信号によ
りモ−タ24を回転させる。モ−タ24は通帳3を搬送
するモ−タであり、回転することで図5に示す搬送ロ−
ラ対6を回転させ、通帳3を搬送する。A motor control section 22 is also connected to the control section 16. This motor control section 2
2 is ON / O to the motor 24 according to an instruction from the control unit 16.
An FF signal, a timing signal for rotating the motor 24, etc. are generated and sent to the motor driver 23. The motor driver 23 rotates the motor 24 according to a signal from the motor control section 22. The motor 24 is a motor for transporting the passbook 3, and by rotating the motor 24, the transport roller shown in FIG.
The pair 6 is rotated and the passbook 3 is conveyed.
【0022】また、モ−タコントロ−ル部22は、前処
理部20と白黒判定部21とも接続されており、これに
より、モ−タコントロ−ル部22から出力されるタイミ
ング信号に同期して、イメ−ジセンサ19がバ−コ−ド
28を1ライン読み取って得た出力をあるスライスレベ
ルと比較して、出力値の大小により読み取った画素毎に
白黒の判定を行う。なお、1ラインは約0.1mmであ
る。The motor control unit 22 is also connected to the pre-processing unit 20 and the black-and-white judging unit 21, so that the motor control unit 22 is synchronized with the timing signal output from the motor control unit 22. The image sensor 19 compares the output obtained by reading one line of the bar code 28 with a certain slice level, and determines black and white for each pixel read according to the magnitude of the output value. In addition, one line is about 0.1 mm.
【0023】制御部16には更に、白黒判定部21の出
力デ−タを1ラインの読取り毎に記憶する記憶部25が
接続されている。The control unit 16 is further connected to a storage unit 25 that stores the output data of the black-and-white determination unit 21 every time one line is read.
【0024】制御部16は白黒判定部21から送られて
くる1ライン読取り毎の判定結果を、黒と判定した画素
の数や並び方により、1ライン毎に縦バ−コ−ドデ−タ
及び横バ−コ−ドデ−タとして同時に判定する。そし
て、図6に示すように、記憶部25に、縦バ−コ−ドと
横バ−コ−ドとして判定した結果を1ライン毎に、それ
ぞれ縦バ−コ−ドデ−タ記憶部25a、横バ−コ−ドデ
−タ記憶部25bに記憶する。そして、記憶部25に記
憶されたバ−コ−ドデ−タの並び方で、縦バ−コ−ド2
9の場合はマ−クの値、横バ−コ−ド30の場合は黒画
素があるか否かを判定し、判定結果に基づいてペ−ジ数
を解析する。The control unit 16 sends the vertical bar code data and the vertical bar code data for each line based on the number of pixels determined to be black and the arrangement of the determination results sent from the monochrome determination unit 21 for each line read. Simultaneously judge as horizontal bar code data. Then, as shown in FIG. 6, in the storage unit 25, vertical bar code data storage unit 25a is provided for each line based on the result of determination as vertical bar code and horizontal bar code. , Horizontal bar code data storage unit 25b. The vertical bar code 2 is stored according to the arrangement of the bar code data stored in the storage unit 25.
In the case of 9, the mark value is determined, and in the case of the horizontal bar code 30, it is determined whether or not there are black pixels, and the number of pages is analyzed based on the determination result.
【0025】次に上記構成における通帳3の開かれてい
る頁を検出する動作について図1、図2、図3、図4、
図5、図6を参照して図7のフロ−チャ−トに従って説
明する。図7は一実施例の通帳記帳機のバ−コ−ド読取
り手順を示すフロ−チャ−トである。なお、イメ−ジセ
ンサ19の1ライン目は図2に示す通帳3の先端部3a
であり、通帳3が通帳記帳機1に挿入されると、制御部
16は光源17を発光させる。Next, the operation of detecting the opened page of the passbook 3 in the above configuration will be described with reference to FIGS. 1, 2, 3, and 4.
A description will be given according to the flowchart of FIG. 7 with reference to FIGS. FIG. 7 is a flow chart showing the bar code reading procedure of the passbook entry machine according to the embodiment. The first line of the image sensor 19 is the tip 3a of the passbook 3 shown in FIG.
When the passbook 3 is inserted into the passbook entry machine 1, the control unit 16 causes the light source 17 to emit light.
【0026】ステップS1で制御部16は、先端部3a
がイメ−ジセンサ19の下に位置するまで通帳3を搬送
する。すると、光源17の光が通帳3の紙面に反射し、
レンズ18を介して1ライン分イメ−ジセンサ19上に
反射光量が結像される。イメ−ジセンサ19の出力は前
処理部20に入力され、前処理部20でイメ−ジセンサ
19の出力の増幅や、波形の整形を行う。そして、出力
の増幅や波形の整形等が行われると、白黒判定部21で
1ラインの各画素毎に白黒の判定を行う。In step S1, the control unit 16 controls the tip 3a.
The passbook 3 is conveyed until is positioned below the image sensor 19. Then, the light from the light source 17 is reflected on the paper surface of the passbook 3,
The amount of reflected light is imaged on the image sensor 19 for one line via the lens 18. The output of the image sensor 19 is input to the preprocessing unit 20, and the preprocessing unit 20 amplifies the output of the image sensor 19 and shapes the waveform. When the output is amplified and the waveform is shaped, the black-and-white judging section 21 judges black and white for each pixel in one line.
【0027】なお、所定距離通帳3を搬送した時点で制
御部16は、モ−タ24を停止し、白黒判定部21の諸
設定を解除してバ−コ−ド28の読取り動作を終了す
る。When the passbook 3 is conveyed for a predetermined distance, the control unit 16 stops the motor 24, cancels various settings of the black-and-white judging unit 21, and finishes the reading operation of the bar code 28. .
【0028】ステップS2で制御部16は、黒と判定さ
れた画素の数や並び方により、1ライン毎に読み取った
バ−コ−ドを縦バ−コ−ド及び横バ−コ−ドの両方で同
時に判定する。In step S2, the control unit 16 determines whether the bar code read for each line is a vertical bar code or a horizontal bar code, depending on the number and arrangement of pixels judged to be black. And judge simultaneously.
【0029】この判定方法を以下に述べる。制御部16
は1ラインの画素数のうち所定の数以上が黒であると判
定した場合、そのラインは横バ−コ−ド有りとし、所定
の数未満の場合は無しと判定するように設定されてい
る。なお、縦バ−コ−ド29が読み取られた場合、所定
数以上1ラインに黒画素があると判定される。その結
果、バ−コ−ド29が読み取られた場合、横バ−コ−ド
30有りと制御部16は判定する。This determination method will be described below. Control unit 16
Is set to have a horizontal bar code when it is determined that a predetermined number or more of the pixels in one line are black, and it is determined to be absent when the number is less than the predetermined number. . When the vertical bar code 29 is read, it is determined that there is a predetermined number or more of black pixels in one line. As a result, when the bar code 29 is read, the control unit 16 determines that the horizontal bar code 30 is present.
【0030】従って、例えば、バ−コ−ド28が縦バ−
コ−ド29の場合、イメ−ジセンサ19で読み取った1
ラインは、白黒判定部21の結果から、制御部16で縦
バ−コ−ド29として判定がされると共に、1ラインの
所定数以上の画素数が黒と判定されるので、横バ−コ−
ド30としても判定される。Therefore, for example, the bar code 28 is a vertical bar.
In the case of code 29, 1 read by the image sensor 19
The line 16 is judged as a vertical bar code 29 by the control unit 16 based on the result of the black-and-white judgment unit 21, and the number of pixels of a predetermined number or more in one line is judged as black. −
It is also determined as the code 30.
【0031】また、バ−コ−ド28が横バ−コ−ド30
の場合、イメ−ジセンサ19で読み取った1ラインは、
白黒判定部21の結果から、制御部16で、横バ−コ−
ドとして判定がされる。また、縦バ−コ−ド28ではな
いが、縦バ−コ−ド28としても判定するように設定さ
れているので、縦バ−コ−ドとしては異常なデ−タと判
定される。Further, the bar code 28 is a horizontal bar code 30.
In the case of, one line read by the image sensor 19 is
Based on the result of the black-and-white determination unit 21, the control unit 16 controls the horizontal bar
It is judged as a do. Further, although not the vertical bar code 28, the vertical bar code 28 is also set to be judged, so that the vertical bar code is judged to be abnormal data.
【0032】ステップS3で制御部16は、ステップS
2で判定した結果を1ライン読取り毎に縦バ−コ−ドデ
−タ及び横バ−コ−ドデ−タとして記憶部25に記憶す
る。読み取ったバ−コ−ド28が縦バ−コ−ド29の場
合は、図6に示す記憶部25の縦バ−コ−ドデ−タ記憶
部25aにマ−クの値を、横バ−コ−ドデ−タ記憶部2
5bには、そのラインに黒画素があったか無かったかを
それぞれ記憶する。一方、読み取ったバ−コ−ド28が
横バ−コ−ド30の場合は、記憶部25の横バ−コ−ド
デ−タ記憶部25bにそのラインに黒画素があったか無
かったかを記憶し、縦バ−コ−ドデ−タ記憶部25aに
は、縦バ−コ−ドとしては異常なデ−タ(そのラインに
黒画素があったか無かったか)を記憶する。In step S3, the control unit 16 determines in step S3.
The result determined in step 2 is stored in the storage unit 25 as vertical bar code data and horizontal bar code data every time one line is read. If the read bar code 28 is a vertical bar code 29, the mark value is stored in the vertical bar code data storage unit 25a of the storage unit 25 shown in FIG. -Code data storage unit 2
5b stores the presence or absence of black pixels in the line. On the other hand, when the read bar code 28 is the horizontal bar code 30, the horizontal bar code data storage unit 25b of the storage unit 25 stores whether or not there is a black pixel in the line. The vertical bar code data storage unit 25a stores abnormal data (whether or not there are black pixels in the line) as a vertical bar code.
【0033】ステップS4で制御部16は、記憶部25
に記憶されている横バ−コ−ドデ−タを呼び出す。そし
て、横バ−コ−ドデ−タのバ−コ−ド読取り方向と直交
する方向の長さ(太さC)を判定する。In step S4, the control unit 16 causes the storage unit 25
Call the horizontal bar code data stored in. Then, the length (thickness C) of the horizontal bar code data in the direction orthogonal to the bar code reading direction is determined.
【0034】ステップS5で制御部16は、横バ−コ−
ド30が所定の太さ以上か否か判断して、横バ−コ−ド
30が所定の太さ以上の場合は、読み取ったバ−コ−ド
28は縦バ−コ−ド29であると判断し、ステップS6
に進み、「否」の場合は横バ−コ−ドであると判断し、
ステップS8に進む。In step S5, the control unit 16 controls the horizontal bar cover.
If the horizontal bar code 30 is larger than a predetermined thickness, it is judged whether the width of the horizontal bar code 30 is larger than a predetermined thickness. The read bar code 28 is a vertical bar code 29. And step S6
If it is "No", it is judged to be a horizontal bar code,
Go to step S8.
【0035】ステップS6で制御部16は、記憶部25
に記憶されている縦バ−コ−ドデ−タを呼び出す。In step S6, the control unit 16 causes the storage unit 25
Calls the vertical bar code data stored in.
【0036】ステップS7で制御部16は、縦バ−コ−
ドデ−タの並び方でマ−クの値を判断する。そして、マ
−クの値により縦バ−コ−ドが29が何頁目を示してい
るか解析する。In step S7, the control unit 16 controls the vertical bar cover.
The mark value is determined by the arrangement of data. Then, the page number of the vertical bar code 29 is analyzed based on the mark value.
【0037】ステップS5からステップS8に進んだ場
合、ステップS8で制御部16は、横バ−コ−ドデ−タ
の並び方で、横バ−コ−ドが何頁目を示しているか解析
する。そして、その後、ステップS9に進む。When the process proceeds from step S5 to step S8, the control unit 16 analyzes in step S8 how many pages the horizontal bar code indicates by the arrangement of the horizontal bar code data. . And after that, it progresses to step S9.
【0038】ステップS9で制御部16は、解析した結
果が正常な頁数か否か判断し、正常であると判断した場
合は当該処理を終了し、次の処理を行う。「否」の場合
は、ステップS10に進む。In step S9, the control unit 16 determines whether or not the analyzed result is a normal number of pages. If it is determined that the number of pages is normal, the process ends and the next process is performed. In the case of "no", the process proceeds to step S10.
【0039】ステップS10で制御部16は、リトライ
処理を1回したか否か判断して、「否」の場合は、再度
頁マ−クの読み直しをするリトライ処理を行うので、モ
−タ24を駆動し、搬送ロ−ラ対6を逆回転して、通帳
3の先端部3aをイメ−ジセンサ19の下まで搬送す
る。そして、ステップS1に戻り、リトライ処理を行
う。リトライ処理後もステップS9で異常と判断した場
合は、ステップS10からステップS11に進む。In step S10, the control unit 16 determines whether or not the retry process has been performed once, and if the result is "No", the retry process for rereading the page mark is performed again. Is driven to reversely rotate the pair of transport rollers 6 to transport the leading end portion 3a of the passbook 3 to a position below the image sensor 19. Then, the process returns to step S1 and retry processing is performed. When it is determined in step S9 that there is an abnormality even after the retry process, the process proceeds from step S10 to step S11.
【0040】ステップS11で制御部16は、エラ−と
判断してモ−タ24を駆動し、搬送ロ−ラ6を逆回転し
て、通帳3を挿入排出口4まで搬送する。そして、顧客
に通帳3を返却して、取り引きを終了する。In step S11, the control unit 16 determines that there is an error, drives the motor 24, reversely rotates the transport roller 6, and transports the passbook 3 to the insertion / ejection port 4. Then, the passbook 3 is returned to the customer, and the transaction ends.
【0041】従って上記本実施例によれば、縦バ−コ−
ド29あるいは横バ−コ−ド30に関係なく、1回のバ
−コ−ド読取り動作でバ−コ−ド28の示す頁数を解析
することができるようになるので、通帳3の処理前に、
通帳3に印刷されているバ−コ−ド28の向きを入力す
る必要がなくなり、一方、通帳記帳機1への入力ではな
く、通帳記帳機1がバ−コ−ド28の向きを判断する場
合でも、従来の2回の頁識別動作が1回に減る。Therefore, according to the above-mentioned embodiment, the vertical bar cover
Regardless of the code 29 or the horizontal bar code 30, the number of pages indicated by the bar code 28 can be analyzed by one bar code reading operation. before,
It is not necessary to input the direction of the bar code 28 printed on the passbook 3, while the passbook recording machine 1 judges the direction of the bar code 28, not the input to the passbook recording machine 1. Even in the case, the conventional two page identification operations are reduced to one.
【0042】なお、本実施例では、通帳3の頁マ−クを
読み取る装置について述べたが、通帳3に限らず、バ−
コ−ド28の向きが読取り方向に対して混在している冊
子状媒体のバ−コ−ド28を読み取る装置に適用するこ
とができる。In the present embodiment, the apparatus for reading the page mark of the passbook 3 has been described, but the present invention is not limited to the passbook 3 and may be a bar.
The present invention can be applied to an apparatus for reading the bar code 28 of a booklet-shaped medium in which the directions of the code 28 are mixed with the reading direction.
【0043】また、バ−コ−ド28の示すところは、頁
マ−クに限らず、例えば、証書の表裏判定用マ−クや、
媒体種類を判別する目的で付与されたマ−クでもよい。The bar code 28 is not limited to the page mark, but may be, for example, a mark for judging the front and back of a certificate,
A mark provided for the purpose of discriminating the type of medium may be used.
【0044】[0044]
【発明の効果】本発明は、以上説明したように構成され
ているので以下に記載される効果を奏する。イメ−ジセ
ンサで読み取られたバ−コ−ドの各画素毎に白黒の判定
を行う白黒判定部と、白黒判定部の判定結果に基づいて
1ライン毎のデ−タを、バ−コ−ドの読取り方向と直交
する方向にバ−が向いている縦バ−コ−ドデ−タと、バ
−コ−ドの読取り方向と平行な方向にバ−が向いている
横バ−コ−ドデ−タの両方のデ−タとして記憶する記憶
部と、横バ−コ−ドデ−タを記憶部から呼び出し、バ−
コ−ド読取り方向と直交する方向の長さを判定し、長さ
からバ−の向きを判定して、判定結果が縦の場合は、記
憶部から縦バ−コ−ドデ−タを呼び出してバ−コ−ドの
示す頁数を解析し、判定結果が横の場合は、バ−コ−ド
の示す頁数を解析する制御部とを設けたので、縦バ−コ
−ドあるいは横バ−コ−ドに関係なく、1回のバ−コ−
ド読取り動作でバ−コ−ドの示す頁数を解析することが
できる。従って、媒体処理前に、媒体に印刷されている
バ−コ−ドの向きを入力する必要がなくなり、一方、装
置への入力ではなく、装置がバ−コ−ドの向きを判断す
る場合でも、従来の2回の頁識別動作が1回に減る。そ
の結果、入力動作の手間がはぶけ、また、媒体の処理時
間を速くすることができる。Since the present invention is configured as described above, it has the following effects. A black-and-white judging section for judging black-and-white for each pixel of the bar-code read by the image sensor, and data for each line based on the judgment result of the black-and-white judging section is bar-coded. Vertical bar code data in which the bar is oriented in a direction orthogonal to the reading direction of the bar code, and a horizontal bar code in which the bar is oriented in a direction parallel to the reading direction of the bar code. A storage unit for storing both data of the data and a horizontal bar code data is called from the storage unit,
The length in the direction orthogonal to the code reading direction is determined, the direction of the bar is determined from the length, and if the determination result is vertical, the vertical bar code data is called from the storage unit. The number of pages indicated by the bar code is analyzed, and when the judgment result is horizontal, a control unit for analyzing the number of pages indicated by the bar code is provided. One bar code regardless of bar code
The number of pages indicated by the bar code can be analyzed by the read operation. Therefore, it is not necessary to input the direction of the bar code printed on the medium before the medium is processed. On the other hand, even when the device determines the direction of the bar code instead of inputting to the device. , The conventional two page identification operations are reduced to one. As a result, it is possible to reduce the time and effort for the input operation and to shorten the processing time of the medium.
【図1】本発明に係る一実施例の通帳記帳機の制御系を
示すブロック図である。FIG. 1 is a block diagram showing a control system of a passbook entry machine according to an embodiment of the present invention.
【図2】一実施例の通帳を示す斜視図である。FIG. 2 is a perspective view showing a passbook according to an embodiment.
【図3】一実施例の縦バ−コ−ドを示す拡大図である。FIG. 3 is an enlarged view showing a vertical bar code according to one embodiment.
【図4】一実施例の横バ−コ−ドを示す拡大図である。FIG. 4 is an enlarged view showing a horizontal bar code according to an embodiment.
【図5】一実施例の通帳記帳機の構造を示す説明図であ
る。FIG. 5 is an explanatory diagram showing a structure of a passbook entry machine according to an embodiment.
【図6】一実施例の記憶部を示す説明図である。FIG. 6 is an explanatory diagram illustrating a storage unit according to an embodiment.
【図7】一実施例の通帳記帳機のバ−コ−ド読取り手順
を示すフロ−チャ−トである。FIG. 7 is a flow chart showing a bar code reading procedure of the passbook entry machine according to the embodiment.
1 通帳記帳機 3 通帳 8 光学式頁・行読取りユニット 19 イメ−ジセンサ 21 白黒判定部 25 記憶部 28 バ−コ−ド 29 縦バ−コ−ド 30 横バ−コ−ド 1 passbook entry machine 3 passbook 8 optical page / line reading unit 19 image sensor 21 black-and-white judgment section 25 storage section 28 bar code 29 vertical bar code 30 horizontal bar code
Claims (2)
センサで光学的に読取り、読取り結果から媒体の開かれ
ている頁数を解析する媒体処理装置において、 イメ−ジセンサで読み取られたバ−コ−ドの各画素毎に
白黒の判定を行う白黒判定部と、 白黒判定部の判定結果に基づいて1ライン毎のデ−タ
を、バ−コ−ドの読取り方向と直交する方向にバ−が向
いている縦バ−コ−ドデ−タと、バ−コ−ドの読取り方
向と平行な方向にバ−が向いている横バ−コ−ドデ−タ
の両方のデ−タとして記憶する記憶部と、 横バ−コ−ドデ−タを記憶部から呼び出し、バ−コ−ド
読取り方向と直交する方向の長さを判定し、長さからバ
−の向きを判定して、判定結果が縦の場合は、記憶部か
ら縦バ−コ−ドデ−タを呼び出してバ−コ−ドの示す頁
数を解析し、判定結果が横の場合は、バ−コ−ドの示す
頁数を解析する制御部とを設けたことを特徴とする媒体
処理装置。1. A medium processing device for optically reading a bar code printed on a medium with an image sensor and analyzing the number of opened pages of the medium from the read result, the bar code being read by the image sensor. A black-and-white judging section for judging black-and-white for each pixel of the bar code, and data for each line based on the judgment result of the black-and-white judging section is orthogonal to the reading direction of the bar code. Both vertical bar code data in which the bar is oriented in the direction and horizontal bar code data in which the bar is oriented in a direction parallel to the reading direction of the bar code. A storage unit for storing as data and a horizontal bar code data are called from the storage unit, the length in the direction orthogonal to the bar code reading direction is determined, and the direction of the bar is determined from the length. If the result of judgment is vertical, the vertical bar code data is called from the storage unit and the number of pages indicated by the bar code is analyzed. If the determination result is horizontal, the medium processing apparatus is provided with a control unit for analyzing the number of pages indicated by the bar code.
体処理装置。2. The medium processing apparatus according to claim 1, wherein the medium is a passbook.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14752194A JP2838040B2 (en) | 1994-06-29 | 1994-06-29 | Media processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14752194A JP2838040B2 (en) | 1994-06-29 | 1994-06-29 | Media processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0816703A true JPH0816703A (en) | 1996-01-19 |
| JP2838040B2 JP2838040B2 (en) | 1998-12-16 |
Family
ID=15432209
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14752194A Expired - Fee Related JP2838040B2 (en) | 1994-06-29 | 1994-06-29 | Media processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2838040B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008310386A (en) * | 2007-06-12 | 2008-12-25 | Hitachi Omron Terminal Solutions Corp | Trading device |
-
1994
- 1994-06-29 JP JP14752194A patent/JP2838040B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008310386A (en) * | 2007-06-12 | 2008-12-25 | Hitachi Omron Terminal Solutions Corp | Trading device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2838040B2 (en) | 1998-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2838040B2 (en) | Media processing device | |
| JP5886181B2 (en) | Barcode image correction device, passbook processing device, and automatic transaction device | |
| JPH09185670A (en) | Medium processor | |
| JP3570390B2 (en) | Passbook handling device | |
| JPH07149015A (en) | Printer | |
| JP3416272B2 (en) | Automatic cash handling equipment | |
| JP2003030720A (en) | Form processing device and form processing method | |
| JPH0589618A (en) | Bankbook handling device | |
| JP4081393B2 (en) | Image sensor operation confirmation method, operation confirmation apparatus, and operation confirmation program | |
| JPH106622A (en) | Printing density detection method and passbook printer having printing density detection function | |
| JP2003006709A (en) | Passbook printer | |
| JP3377065B2 (en) | Bar code reader control method | |
| JP2002264426A (en) | Booklet processing equipment | |
| JPH0542709A (en) | Printing device for card processor | |
| JPH05324959A (en) | Ticket reader | |
| JPH0423095A (en) | Bankbook handling device | |
| JP2001191603A (en) | Printer print fault detection device | |
| JP2000335064A (en) | Printer | |
| JPH0887646A (en) | Passbook processing device | |
| JPH01241469A (en) | Passbook printer | |
| JPH1148560A (en) | Bankbook handling machine | |
| JPS6124752B2 (en) | ||
| JPH06234259A (en) | Data processing device | |
| JPH03143662A (en) | Medium feed control method in medium processor | |
| JPS62264983A (en) | Slip printer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19980922 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081009 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081009 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091009 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |