JP2838040B2 - Media processing device - Google Patents

Media processing device

Info

Publication number
JP2838040B2
JP2838040B2 JP14752194A JP14752194A JP2838040B2 JP 2838040 B2 JP2838040 B2 JP 2838040B2 JP 14752194 A JP14752194 A JP 14752194A JP 14752194 A JP14752194 A JP 14752194A JP 2838040 B2 JP2838040 B2 JP 2838040B2
Authority
JP
Japan
Prior art keywords
bar code
passbook
data
vertical
barcode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP14752194A
Other languages
Japanese (ja)
Other versions
JPH0816703A (en
Inventor
典亨 野村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP14752194A priority Critical patent/JP2838040B2/en
Publication of JPH0816703A publication Critical patent/JPH0816703A/en
Application granted granted Critical
Publication of JP2838040B2 publication Critical patent/JP2838040B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、バ−コ−ドが付された
通帳等の媒体を処理する媒体処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium processing apparatus for processing a medium such as a passbook 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 or the like, transaction information is sequentially printed. When printing is performed up to the last line of the page, the passbook is conveyed to a turn page unit in the apparatus, where a page break is performed. And after a page break,
It is determined whether a predetermined page has been turned.

【0003】この確認には、通帳の各頁に印刷されてい
る頁マ−クが使用され、この頁マ−クが光学的に読み取
られることにより、何頁目が開かれた状態となっている
のかが判定される。そして、所定の頁がめくられている
ことが判定された場合には、その頁に印字が行われ、所
定の頁がめくられていない場合には、再びタ−ンペ−ジ
ユニットに通帳を搬送して改頁をしなおす。
[0003] For this confirmation, a page mark printed on each page of the passbook is used, and by reading this page mark optically, what page is opened. Is determined. When it is determined that the predetermined page is turned, the printing is performed on the page, and when the predetermined page is not turned, the passbook is again sent to the turn page unit. Convey and re-start the page.

【0004】頁マ−クはバ−コ−ドで示されており、こ
のバ−コ−ドには、バ−コ−ドの読取り方向に対して平
行にバ−が印刷されている横バ−コ−ドと、バ−コ−ド
の読取り方向に対して直交する方向にバ−が印刷されて
いる縦バ−コ−ドとの2種類がある。そして、横バ−コ
−ドよりも縦バ−コ−ドの方がより多くの頁の識別がで
きるようになっている。
The page mark is indicated by a bar code, and the bar code has a horizontal bar on which a bar is printed in parallel with the reading direction of the bar code. And a vertical bar code in which a bar is printed in a direction perpendicular to the bar code reading direction. 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 handling a passbook on 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 bookkeeping machine, in recent years, the number of pages of the passbook tends to increase due to the increase in the number of subjects of the passbook, and the passbook using a horizontal bar code has been developed. , There is a tendency to sequentially shift to a vertical bar code.

【0007】従って、横バーコードが印刷されている通
帳を使用してた金融機関は縦バーコードが印刷されてい
る通帳に移行することになる。そして、通帳の移行期間
中は、横バーコードと縦バーコードの2つの頁マークが
共存することになる。従来は横バーコードあるいは縦バ
ーコードのどちらか一方のバーコードしか読み取ること
ができなかったので、その対応策として、通帳記帳機を
横バーコードと縦バーコードの両方のバーコードを読み
取ることができるように設定する方法がある。
Therefore, a financial institution using a passbook on which a horizontal barcode is printed is shifted to a passbook on which a vertical barcode is printed. Then, during the transition period of the passbook, the two page marks of the horizontal barcode and the vertical barcode coexist. In the past, it was only possible to read either the horizontal barcode or the vertical barcode, so as a countermeasure, the passbook entry machine could read both horizontal and vertical barcodes. There is a way to set it up.

【0008】しかし、横バ−コ−ドと縦バ−コ−ドは頁
識別方法が異なるので、横バ−コ−ドと縦バ−コ−ドの
両方を一回で読み取ることはできない。それ故、バ−コ
−ド読取り方法を切り替える必要があるので、挿入され
る通帳に横バ−コ−ドが印刷されているのか、あるいは
縦バ−コ−ドが印刷されているのかを予め、顧客あるい
はオペレ−タが、装置に入力しておく必要があった。
However, since the horizontal bar code and the vertical bar code have different page identification methods, both the horizontal bar code and the vertical bar code cannot be read at once. Therefore, since it is necessary to switch the bar code reading method, it is determined in advance whether a horizontal bar code or a vertical bar code is printed on the passbook to be inserted. , The customer or the operator had to input the information into the device.

【0009】その他の方法としては、横バ−コ−ドと縦
バ−コ−ドの読み取りを装置が自動的に両方行うように
設定する方法がある。この場合、例えば最初、縦バ−コ
−ドを読み取る設定にし、この設定でバ−コ−ドを読み
取り、読み取れない場合は、次に横バ−コ−ドを読み取
る設定にして読み取るというようする。しかし、この方
法では、頁マ−ク読取り設定を切り替えて2回頁識別動
作を行うことになる。従って、上記どちらの方法を用い
ても、手間がかかるか、あるいは時間がかかってしまっ
ていた。
As another method, there is a method in which the apparatus automatically reads 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, and the bar code is read with this setting. If the bar code cannot be read, the horizontal bar code is set to be read next. . However, in this method, the page identification operation is performed twice by switching the page mark reading setting. Therefore, either of the above methods is troublesome or takes time.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
に本発明で設けた解決手段は、媒体に印刷されたバ−コ
−ドをイメ−ジセンサで光学的に読取り、読取り結果か
ら媒体の開かれている頁数を解析する媒体処理装置にお
いて、イメ−ジセンサで読み取られたバ−コ−ドの各画
素毎に白黒の判定を行う白黒判定部と、白黒判定部の判
定結果に基づいて1ライン毎のデ−タを、バ−コ−ドの
読取り方向と直交する方向にバ−が向いている縦バ−コ
−ドデ−タと、バ−コ−ドの読取り方向と平行な方向に
バ−が向いている横バ−コ−ドデ−タの両方のデ−タと
して記憶する記憶部と、横バ−コ−ドデ−タを記憶部か
ら呼び出し、バ−コ−ド読取り方向と直交する方向の長
さを判定し、長さからバ−の向きを判定して、判定結果
が縦の場合は、記憶部から縦バ−コ−ドデ−タを呼び出
してバ−コ−ドの示す頁数を解析し、判定結果が横の場
合は、バ−コ−ドの示す頁数を解析する制御部とを設け
たものである。
In order to solve the above-mentioned problems, a solution provided by the present invention is to optically read a bar code printed on a medium with an image sensor and read the bar code from the read result. In a medium processing apparatus for analyzing the number of open pages, a black-and-white determination unit for determining black and white for each pixel of a bar code read by an image sensor and a black-and-white determination unit based on a determination result. Vertical bar code data whose line is oriented in a direction orthogonal to the bar code reading direction, and data which is parallel to the bar code reading direction. A storage unit for storing both horizontal bar code data whose direction is directed in the direction, and a horizontal bar code data being called from the storage unit, and the bar code is stored. Judge the length in the direction perpendicular to the reading direction, judge the direction of the bar from the length, and if the judgment result is vertical, write And a control section for calling the vertical bar code data from the section and analyzing the number of pages indicated by the bar code, and when the judgment result is horizontal, analyzing the number of pages indicated by the bar code. Is provided.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するため
に本発明で設けた解決手段は、媒体、例えば通帳に印刷
されたバーコードを光学的に読取り、その読取り結果か
ら通帳の開かれている頁情報を解析する媒体処理装置に
おいて、少なくともバーコード付与範囲の読取り可能な
イメージセンサと、イメージセンサで読み取られたバー
コードの各画素毎に白黒の判定を行う白黒判定部と、白
黒判定部の判定結果に基づいて1ライン毎のデータを、
バーコードの読取り方向と直交する方向にバーが向いて
いる縦バーコードデータと、バーコードの読取り方向と
平行な方向にバーが向いている横バーコードデータの両
方のデータとして記憶する記憶部と、横バーコードデー
タを記憶部から呼び出し、バーコード読取り方向と直交
する方向の長さを判定し、その長さからバーの向きを判
定して、判定結果が縦バーの場合は、記憶部から縦バー
コードデータを呼び出してバーコードの示す頁情報を
析し、判定結果が横バーの場合は、バーコードの示す
情報を解析する制御部とを設けたものである。
Means for Solving the Problems] solutions provided by the present invention in order to solve the above printing, media bodies, for example the passbook
Optically reads the read barcode, and
In the media processing device that analyzes the page information of the open passbook , at least the barcode-added range can be read.
An image sensor, a black-and-white determination unit that performs black-and-white determination for each pixel of a barcode read by the image sensor, and data for each line based on the determination result of the black-and-white determination unit.
A storage unit for storing both vertical barcode data in which the bar is oriented in a direction orthogonal to the barcode reading direction and horizontal barcode data in which the bar is oriented in a direction parallel to the barcode reading direction; invokes the transverse bar code data from the storage unit, to determine the direction of the length perpendicular to the bar code reading direction, to determine the bar direction from its length, if the determination result is a vertical bar from the storage unit The vertical barcode data is called to analyze the page information indicated by the barcode. If the determination result is a horizontal bar, the page indicated by the barcode is read .
It is provided with a control unit for analysis information.

【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 and the number of pages indicated by the bar code is analyzed.

【0013】次に横バーコードデータを記憶部から呼び
出し、バーコード読取り方向と直交する方向の長さを判
定し、その長さからバーの向きを判定する。そして、判
定結果が縦バーの場合は、記憶部から縦バーコードデー
タを呼び出してバーコードの示す頁情報を解析する。
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 a vertical bar, the vertical barcode data is called from the storage unit and the page information indicated by the barcode is analyzed.

【0014】一方、判定結果が横バーの場合は、横バー
コードデータからバーコードの示す頁情報を解析する。
On the other hand, if the determination result is a horizontal bar , page information indicated by the bar code is analyzed from the horizontal bar code data.

【0015】[0015]

【実施例】本発明の実施例について図面を参照しながら
説明する。なお、各図面に共通な要素には同一の符号を
付す。図1は本発明に係る一実施例の通帳記帳機の制御
系を示すブロック図、図2は一実施例の通帳を示す斜視
図、図3は一実施例の縦バーコードを示す拡大図、図4
は一実施例の横バーコードを示す拡大図、図5は一実施
例の通帳記帳機の構造を示す説明図である。図2におい
て、媒体である通帳3には、磁気ストライプ2が設けら
れており、通帳3の中紙27には、その頁情報(以後、
頁数とも記載)を示す頁マークがバーコード28として
印刷されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to the drawings. Elements common to the drawings are denoted by the same reference numerals. FIG. 1 is a block diagram showing a control system of a passbook entry machine of one embodiment according to the present invention, FIG. 2 is a perspective view showing a passbook of one embodiment, FIG. 3 is an enlarged view showing a vertical barcode of one embodiment, FIG.
FIG. 5 is an enlarged view showing a horizontal barcode of one embodiment, and FIG. 5 is an explanatory diagram showing a structure of a passbook entry machine of one embodiment. In FIG. 2, a magnetic stripe 2 is provided on a passbook 3 as a medium, and the page information (hereinafter referred to as “page information”)
A page mark indicating the number of pages is also printed as a barcode 28.

【0016】縦バ−コ−ド29は、バ−コ−ド読取り方
向と直交する方向の長さ(太さA)が約5.08mmで
あり、横バ−コ−ド30は太さBが約0.5mmであ
る。すなわち、縦バ−コ−ド29の太さは横バ−コ−ド
30の太さに比べて約10倍となっている。
The vertical bar code 29 has a length (thickness A) of about 5.08 mm in a direction perpendicular to the bar code reading direction, 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 ten times that 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 / ejection port 4 for inserting and ejecting the passbook 3 from / to the passbook entry machine 1. Also, in the passbook entry machine 1,
A transport path 5 through which the passbook 3 is transported is provided following the insertion / ejection opening 4. A plurality of transport roller pairs 6 for transporting the passbook 3 and the magnetic stripe 2 of the passbook 3 are provided along the transport path 5. A magnetic head 7 for reading and writing data to the magnetic stripe 2; an optical page / line reading unit 8 for reading bar codes 28 printed on the passbook 3 and printed lines;
And a printer unit 9 for printing on the passbook 3. Note that the printer unit 9 includes the print head 1.
0 and a platen 1 disposed opposite the print head 10
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 turn page unit 12 for automatically turning pages of the passbook 3 along the transport path 5, and a passbook discharged to the insertion / ejection port 4 after the transaction is completed. When the customer forgets to take the passbook 3, the passbook fetching unit 13 pulls in and holds the passbook 3, and the passbook 3 printed on all pages while a new passbook 3 is issued when the passbook is carried forward. Passbook temporary holding unit 14 to hold temporarily
And the passbook stacker 1 containing the newly issued passbook 3
5 are provided. In addition, a switching gate is provided in the transport path 5.
Switching gates 31, 3 are provided.
By rotating the key 2, the transport direction of the passbook 3 is switched.

【0019】通帳記帳機1内にはまた、通帳記帳機1を
制御する制御部16が設けられている。
A control unit 16 for controlling the passbook entry machine 1 is 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 structure of the optical page / line reading unit 8 and the control system of the transport of the passbook 3 will be described with reference to FIG. In addition,
FIG. 6 is an explanatory diagram illustrating a storage unit according to one embodiment. The optical page / row reading unit 8 includes a light source 17 as shown in FIG.
, A lens 18, an image sensor 19 that forms an image of the amount of light reflected by the light source 17 on the paper surface of the passbook 3 via the lens 18, amplifies the output of the image sensor 19, and shapes the waveform. Connected to the pre-processing unit 20 and the control unit 16,
A black-and-white determining unit 21 for determining 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 a direction orthogonal to the passbook 3 transport direction.

【0021】制御部16にはまた、モ−タコントロ−ル
部22が接続されている。このモ−タコントロ−ル部2
2は、制御部16の指示によりモ−タ24へのON/O
FF信号や、モ−タ24を回転するタイミング信号等を
生成し、モ−タドライバ23に信号を送る。モ−タドラ
イバ23は、モ−タコントロ−ル部22からの信号によ
りモ−タ24を回転させる。モ−タ24は通帳3を搬送
するモ−タであり、回転することで図5に示す搬送ロ−
ラ対6を回転させ、通帳3を搬送する。
The control unit 16 is also connected to a motor control unit 22. This motor control unit 2
2 is ON / O to the motor 24 according to the instruction of the control unit 16.
An FF signal, a timing signal for rotating the motor 24, and the like are generated, and the signal is sent to the motor driver 23. The motor driver 23 rotates the motor 24 according to a signal from the motor control unit 22. The motor 24 is a motor for transporting the passbook 3, and is rotated to rotate as shown in FIG.
The bank pair 3 is rotated to convey the passbook 3.

【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 determination unit 21, so that the motor control unit 22 synchronizes with the timing signal output from the motor control unit 22. The output obtained by reading one line of the bar code 28 by the image sensor 19 is compared with a certain slice level, and black and white determination is performed for each pixel read based on the magnitude of the output value. One line is about 0.1 mm.

【0023】制御部16には更に、白黒判定部21の出
力デ−タを1ラインの読取り毎に記憶する記憶部25が
接続されている。
The control unit 16 is further connected to a storage unit 25 for storing 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 section 16 determines the vertical bar code data and the vertical bar code data for each line based on the number and arrangement of the pixels determined to be black sent from the monochrome determining section 21 for each line read. Determination is made simultaneously as horizontal bar code data. As shown in FIG. 6, the results determined as the vertical bar code and the horizontal bar code are stored in the storage unit 25 line by line in the vertical bar code data storage unit 25a. Are stored in the horizontal bar code data storage section 25b. The vertical bar code 2 is determined by the arrangement of the bar code data stored in the storage unit 25.
In the case of 9, the value of the mark is determined. In the case of the horizontal bar code 30, it is determined whether or not there is a black pixel, 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 for detecting the opened page of the passbook 3 in the above configuration will be described with reference to FIGS. 1, 2, 3, 4, and 5.
The description will be made in accordance with the flowchart of FIG. 7 with reference to FIGS. FIG. 7 is a flowchart showing a barcode reading procedure of the passbook entry machine of one embodiment. The first line of the image sensor 19 is located at 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 controller 16 controls the tip 3a.
Is conveyed until is located below the image sensor 19. Then, the light of 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 a pre-processing unit 20, which amplifies the output of the image sensor 19 and shapes the waveform. Then, when output amplification, waveform shaping, and the like are performed, the monochrome determination unit 21 determines black and white for each pixel of one line.

【0027】なお、所定距離通帳3を搬送した時点で制
御部16は、モ−タ24を停止し、白黒判定部21の諸
設定を解除してバ−コ−ド28の読取り動作を終了す
る。
When the passbook 3 has been conveyed a predetermined distance, the control unit 16 stops the motor 24, cancels the various settings of the black-and-white determination unit 21, and terminates the reading operation of the bar code 28. .

【0028】ステップS2で制御部16は、黒と判定さ
れた画素の数や並び方により、1ライン毎に読み取った
バ−コ−ドを縦バ−コ−ド及び横バ−コ−ドの両方で同
時に判定する。
In step S2, the control unit 16 determines the bar code read for each line in both the vertical bar code and the horizontal bar code according to the number and arrangement of the pixels determined to be black. Are determined at the same time.

【0029】この判定方法を以下に述べる。制御部16
は1ラインの画素数のうち所定の数以上が黒であると判
定した場合、そのラインは横バ−コ−ド有りとし、所定
の数未満の場合は無しと判定するように設定されてい
る。なお、縦バ−コ−ド29が読み取られた場合、所定
数以上1ラインに黒画素があると判定される。その結
果、バ−コ−ド29が読み取られた場合、横バ−コ−ド
30有りと制御部16は判定する。
This determination method will be described below. Control unit 16
Is set so that when it is determined that a predetermined number or more of the number of pixels in one line is black, the line is determined to have a horizontal bar code, and when it is less than the predetermined number, it is determined to be absent. . When the vertical bar code 29 is read, it is determined that a predetermined number or more of black pixels exist in one line. As a result, when the bar code 29 is read, the control unit 16 determines that the horizontal bar code 30 exists.

【0030】従って、例えば、バ−コ−ド28が縦バ−
コ−ド29の場合、イメ−ジセンサ19で読み取った1
ラインは、白黒判定部21の結果から、制御部16で縦
バ−コ−ド29として判定がされると共に、1ラインの
所定数以上の画素数が黒と判定されるので、横バ−コ−
ド30としても判定される。
Therefore, for example, when the bar code 28 is a vertical bar,
In the case of code 29, 1 read by image sensor 19
The line is determined as a vertical bar code 29 by the control unit 16 based on the result of the black-and-white determination unit 21, and the predetermined number of pixels in one line is determined to be black. −
Is also determined as the password 30.

【0031】また、バ−コ−ド28が横バ−コ−ド30
の場合、イメ−ジセンサ19で読み取った1ラインは、
白黒判定部21の結果から、制御部16で、横バ−コ−
ドとして判定がされる。また、縦バ−コ−ド28ではな
いが、縦バ−コ−ド28としても判定するように設定さ
れているので、縦バ−コ−ドとしては異常なデ−タと判
定される。
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 determines
Is determined. Further, although the vertical bar code 28 is not set, the vertical bar code 28 is set so as to be determined, so that the vertical bar code is determined 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. When the read bar code 28 is the 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 whether or not there is a black pixel 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 section 25a stores abnormal data (whether or not there is a black pixel in the line) as the vertical bar code.

【0033】ステップS4で制御部16は、記憶部25
に記憶されている横バ−コ−ドデ−タを呼び出す。そし
て、横バ−コ−ドデ−タのバ−コ−ド読取り方向と直交
する方向の長さ(太さC)を判定する。
At step S4, the control unit 16 stores
Is called out. 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に進む。
At step S5, the control unit 16 sets the horizontal bar code.
It is determined whether or not the horizontal bar code 30 is larger than a predetermined thickness. If the horizontal bar code 30 is larger than the predetermined thickness, the read bar code 28 is a vertical bar code 29. And step S6
To "No", judge that it is a horizontal bar code,
Proceed to step S8.

【0035】ステップS6で制御部16は、記憶部25
に記憶されている縦バ−コ−ドデ−タを呼び出す。
In step S6, the control unit 16 stores
The vertical bar code data stored in is stored.

【0036】ステップS7で制御部16は、縦バ−コ−
ドデ−タの並び方でマ−クの値を判断する。そして、マ
−クの値により縦バ−コ−ドが29が何頁目を示してい
るか解析する。
In step S7, the control unit 16 sets the vertical bar code.
The mark value is determined based on the arrangement of the data. Then, the vertical bar code is analyzed to indicate the page number 29 based on the mark value.

【0037】ステップS5からステップS8に進んだ場
合、ステップS8で制御部16は、横バ−コ−ドデ−タ
の並び方で、横バ−コ−ドが何頁目を示しているか解析
する。そして、その後、ステップS9に進む。
When the process proceeds from step S5 to step S8, in step S8, the control unit 16 analyzes which page the horizontal bar code indicates, based on the arrangement of the horizontal bar code data. . Then, the process proceeds to step S9.

【0038】ステップS9で制御部16は、解析した結
果が正常な頁数か否か判断し、正常であると判断した場
合は当該処理を終了し、次の処理を行う。「否」の場合
は、ステップS10に進む。
In step S9, the control unit 16 determines whether or not the result of the analysis is a normal number of pages. If it is determined that the number is normal, the control unit 16 terminates the process and performs the next process. If “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. If "no", the control unit 16 performs the retry process for rereading the page mark again. Is driven, the transport roller pair 6 is rotated in the reverse direction, and the leading end portion 3a of the passbook 3 is transported below the image sensor 19. Then, the process returns to step S1 to perform a retry process. If it is determined in step S9 that there is an abnormality 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 an error has occurred, drives the motor 24, rotates the transport roller 6 in the reverse direction, and transports the passbook 3 to the insertion / ejection slot 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 present embodiment, the vertical bar
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 no longer necessary to input the direction of the bar code 28 printed on the passbook 3. On the other hand, instead of inputting to the passbook entry machine 1, the passbook entry machine 1 determines the orientation of the barcode 28. Even in this case, the conventional two page identification operations are reduced to one.

【0042】なお、本実施例では、通帳3の頁マ−クを
読み取る装置について述べたが、通帳3に限らず、バ−
コ−ド28の向きが読取り方向に対して混在している冊
子状媒体のバ−コ−ド28を読み取る装置に適用するこ
とができる。
In this embodiment, the apparatus for reading the page mark of the passbook 3 has been described.
The present invention can be applied to an apparatus that reads a bar code 28 of a booklet medium in which the directions of the codes 28 are mixed with respect to the reading direction.

【0043】また、バ−コ−ド28の示すところは、頁
マ−クに限らず、例えば、証書の表裏判定用マ−クや、
媒体種類を判別する目的で付与されたマ−クでもよい。
The bar code 28 is not limited to a page mark. For example, a mark for determining the front and back of a certificate,
A mark given for the purpose of determining the type of medium may be used.

【0044】[0044]

【発明の効果】本発明は、以上説明したように構成され
ているので以下に記載される効果を奏する。少なくとも
バーコード付与範囲の読取り可能なイメージセンサと、
イメージセンサで読取られたバーコードの各画素毎に白
黒の判定を行う白黒判定部と、白黒判定部の判定結果に
基づいてライン毎のデータを、バーコードの読取り方向
と直交する方向にバーが向いている縦バーコードデータ
と、バーコードの読取り方向と平行な方向にバーが向い
ている横バーコードデータの両方のデータとして記憶す
る記憶部と、横バーコードデータを記憶部から呼び出
し、バーコード読取り方向と直交する方向の長さを判定
し、その長さからバーの向きを判定して、判定結果が
バーの場合は、記憶部から縦バーコードデータを呼び出
してバーコードの示す情報を解析し、判定結果が横バー
場合は、バーコードの示す情報を解析する制御部とを
設けたので、縦バーコードあるいは横バーコードに関係
なく、1回のバーコード読取り動作でバーコードの示す
情報を解析することができる。
Since the present invention is configured as described above, it has the following effects. at least
An image sensor capable of reading a barcode application range,
Bars and white determination unit for determining black and white for each pixel of the read bar code in the image sensor, the data for each line on the basis of the monochrome determination unit of the judgment result, in the direction perpendicular to the reading direction of the barcode A storage unit that stores both vertical barcode data that is facing, and horizontal barcode data that has bars facing in a direction parallel to the reading direction of the barcode, and calls the horizontal barcode data from the storage unit. determines the direction of the length perpendicular to the bar code reading direction, to determine the bar direction from its length, the determination result is vertical
If bar calls the vertical barcode data analyzes information indicated by the bar code from the storage unit, the determination result is horizontal bar
In the case of, a control unit for analyzing the information indicated by the barcode is provided, so that the barcode is indicated by one barcode reading operation regardless of the vertical barcode or the horizontal barcode.
Information can be analyzed.

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

【図1】本発明に係る一実施例の通帳記帳機の制御系を
示すブロック図である。
FIG. 1 is a block diagram showing a control system of a passbook entry machine according to one embodiment of the present invention.

【図2】一実施例の通帳を示す斜視図である。FIG. 2 is a perspective view showing a passbook of one 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 one embodiment.

【図5】一実施例の通帳記帳機の構造を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a structure of a passbook entry machine of one embodiment.

【図6】一実施例の記憶部を示す説明図である。FIG. 6 is an explanatory diagram illustrating a storage unit according to an embodiment;

【図7】一実施例の通帳記帳機のバ−コ−ド読取り手順
を示すフロ−チャ−トである。
FIG. 7 is a flowchart showing a barcode reading procedure of the passbook entry machine of one embodiment.

【符号の説明】[Explanation of symbols]

1 通帳記帳機 3 通帳 8 光学式頁・行読取りユニット 19 イメ−ジセンサ 21 白黒判定部 25 記憶部 28 バ−コ−ド 29 縦バ−コ−ド 30 横バ−コ−ド DESCRIPTION OF SYMBOLS 1 Passbook bookkeeping machine 3 Passbook 8 Optical page / line reading unit 19 Image sensor 21 Black-and-white judgment part 25 Storage part 28 Barcode 29 Vertical barcode 30 Horizontal barcode

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 媒体に印刷されたバーコードを光学的に
読取り、その読取り結果から媒体情報を解析する媒体処
理装置において、少なくともバーコード付与範囲の読取り可能なイメージ
センサと、 イメージセンサで読取られたバーコードの各画素毎に白
黒の判定を行う白黒判定部と、 白黒判定部の判定結果に基づいてライン毎のデータを、
バーコードの読取り方向と直交する方向にバーが向いて
いる縦バーコードデータと、バーコードの読取り方向と
平行な方向にバーが向いている横バーコードデータを記
憶する記憶部と、 横バーコードデータを記憶部から呼び出し、バーコード
読取り方向と直交する方向の長さを判定し、その長さか
らバーの向きを判定して、判定結果が縦バーの場合は、
記憶部から縦バーコードデータを呼び出してバーコード
の示す情報を解析し、判定結果が横バーの場合は、バー
コードの示す情報を解析する制御部とを設けたことを特
徴とする媒体処理装置。
1. A reads the bar code printed on a medium to light histological, the medium processing apparatus for analyzing the medium information from the read results, readable at least a bar code applied range images
A sensor, a monochrome determination unit for determining black and white for each pixel of the bar code read by the image sensor, the data for each line on the basis of the monochrome determination unit of the judgment result,
A vertical bar code data in a direction perpendicular to the reading direction of the barcode bars are oriented, transverse bar code data to serial <br/>憶stores that in the reading direction parallel to the direction of the barcode bars facing And 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, the direction of the bar is determined from the length , and if the determination result is a vertical bar ,
Call the vertical bar code data from the storage unit analyzes indicate to information of the bar code, determining if the result is horizontal bar, medium characterized in that a control unit for analyzing indicates to information of the bar code Processing equipment.
【請求項2】 上記媒体は通帳であり、バーコードの示
す情報は通帳に付された頁情報である請求項1記載の媒
体処理装置。
Wherein said medium is Ri passbook der, shows a bar code
2. The medium processing apparatus according to claim 1, wherein the information is page information attached to a passbook .
JP14752194A 1994-06-29 1994-06-29 Media processing device Expired - Fee Related JP2838040B2 (en)

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 JPH0816703A (en) 1996-01-19
JP2838040B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5033490B2 (en) * 2007-06-12 2012-09-26 日立オムロンターミナルソリューションズ株式会社 Trading device

Also Published As

Publication number Publication date
JPH0816703A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
US7275692B2 (en) Single-pass magnetic reading and optical reading apparatus and method
JP2838040B2 (en) Media processing device
JP2006332953A (en) Card image reader and its control method
JP5886181B2 (en) Barcode image correction device, passbook processing device, and automatic transaction device
JP3416272B2 (en) Automatic cash handling equipment
JPH07149015A (en) Printer
JPH0589618A (en) Bankbook handling device
JPH09185670A (en) Medium processor
JPH07319997A (en) Method for detecting image and medium processor
JP2001191603A (en) Defective print detector for printer
JPH106622A (en) Printing density detection method and passbook printer having printing density detection function
JP4081393B2 (en) Image sensor operation confirmation method, operation confirmation apparatus, and operation confirmation program
JPH0887646A (en) Bankbooks processor
JPS62264983A (en) Slip printer
JPH0542709A (en) Printing device for card processor
JPH01173271A (en) Mark reading system
JP2815019B2 (en) Character / mark detection device
JP2006260146A (en) Medium processing device and method
JPH1148560A (en) Bankbook handling machine
JP2887990B2 (en) Media handling equipment
JP2000335064A (en) Printer
JPH11138927A (en) Line sensing apparatus
JP2002251525A (en) Processor and method for processing document
JP2003312065A (en) Document processor and method of processing document
JPH03219980A (en) Printing line setting device for passbook

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