JPH01187682A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH01187682A
JPH01187682A JP63012169A JP1216988A JPH01187682A JP H01187682 A JPH01187682 A JP H01187682A JP 63012169 A JP63012169 A JP 63012169A JP 1216988 A JP1216988 A JP 1216988A JP H01187682 A JPH01187682 A JP H01187682A
Authority
JP
Japan
Prior art keywords
controller
bus
terminal controller
dma
optical character
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
JP63012169A
Other languages
Japanese (ja)
Inventor
Eiji Ikeda
池田 英治
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63012169A priority Critical patent/JPH01187682A/en
Publication of JPH01187682A publication Critical patent/JPH01187682A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To obtain an optical character reader capable of improving its processing speed by processing the transfer of data in parallel. CONSTITUTION:A terminal controller TC consists of a one-chip central processing unit CPU, a DMA controller DMAC1, a main memory MM, an interface controller IFC and a DMA controller DMAC2. The bus of the terminal controller TC can connect/disconnect buses BUS1 and BUS2 by a bus switch BUD SW and this is controlled by the CPU of the terminal controller TC. By activating the respective independent DMA controllers DMAC1 and 2, the data are transferred in parallel. Thus, the processing speed can be improved.

Description

【発明の詳細な説明】 産業上の利用分腎 本発明は、光学文字読み取り装置に関し、特に、物流追
跡システムなどで用いられる光学文字読み取り装置にお
けるマルチCPUの制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an optical character reading device, and more particularly to a multi-CPU control method in an optical character reading device used in a logistics tracking system or the like.

従来の技術 従来、この種の光学文字読み取り装置は、イメージメモ
リ、前処理部、判定部、トランスポート制御部それに全
体の制御をつかさどるターミナルコントローラ部から構
成され、各々の制御部はターミナルコントローラ部のバ
スに接続されていた。
BACKGROUND OF THE INVENTION Conventionally, this type of optical character reading device has been comprised of an image memory, a preprocessing section, a determination section, a transport control section, and a terminal controller section that is in charge of overall control. It was connected to the bus.

発明が解決しようとする課題 しかしながら、上述した従来の接続方式では、例えば前
処理部から判定部へデータを転送している間はイメージ
メモリからインターフェース部へのデータ転送が中断も
しくはスピードが落ちるなどの欠点があった。この問題
を解決するために、前処理部と判定部の間をローカルバ
スで接続する方法が用いられているが、汎用のCPUを
用いにくい事あるいは°プリント板の端子数が増えてプ
リント板のサイズが大きくなることhよびこれに伴い高
価になると云う欠点があった。
Problems to be Solved by the Invention However, with the conventional connection method described above, for example, while data is being transferred from the preprocessing section to the determination section, the data transfer from the image memory to the interface section may be interrupted or the speed may decrease. There were drawbacks. In order to solve this problem, a method of connecting the preprocessing section and the judgment section using a local bus has been used, but it is difficult to use a general-purpose CPU, or the number of terminals on the printed board increases. The drawbacks are that the size increases and the cost increases accordingly.

本発明は従来の技術に内在する上記諸欠点を解消する為
になされたものであり、従って本発明の目的は、データ
転送を並行処理することによって処理速度を向上させる
ことを可能とした新規な光学文字読み取り装置を提供す
ることにある。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, an object of the present invention is to provide a novel method that makes it possible to improve processing speed by processing data transfer in parallel. An object of the present invention is to provide an optical character reading device.

課題を解決するための手段 上記目的を達成する為に、本発明に係る光学文字読み取
り装置は、全体制御を行うターミナルコントローラと、
前処理部、判定部、特徴抽出部などで構成される複数の
認識ユニット部と、トランスボート制御部とを有する光
学文字読み取り装置において、前記ターミナルコントロ
ーラのバスにバススイッチを設け、該ターミナルコント
ローラのCI’Uに直結したバスと、前記バススイッチ
によって切り離されたバスの各々にDM^コンI・ロー
ラを備えて構成される。
Means for Solving the Problems In order to achieve the above object, an optical character reading device according to the present invention includes a terminal controller that performs overall control;
In an optical character reading device having a plurality of recognition units including a preprocessing unit, a determination unit, a feature extraction unit, etc., and a transport control unit, a bus switch is provided on the bus of the terminal controller, and a bus switch is provided on the bus of the terminal controller. A bus directly connected to the CI'U and a bus separated by the bus switch are each provided with a DM controller I/roller.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図においてTCはターミナルコントローラを示す。In FIG. 1, TC indicates a terminal controller.

ターミナルコントローラTCは、1チツプの中央処理装
置CI’U 、DMAコントローラDMACl 、メイ
ンメモリMM、インタフェースコンI・ローラIFC2
口M^コントローラDMAC2で構成される。ターミナ
ルコントローラTCのバスは、バススイッチBus S
WによりバスBUSIとBUS2の接続/切離しが可能
であり、この制御はターミナルコントローラTCのCP
 +1で行われる。
The terminal controller TC includes a one-chip central processing unit CI'U, a DMA controller DMACl, a main memory MM, and an interface controller I/roller IFC2.
It is composed of the mouth M^controller DMAC2. The bus of the terminal controller TC is the bus switch Bus S.
W allows connection/disconnection of buses BUSI and BUS2, and this control is performed by the CP of the terminal controller TC.
+1 is done.

バスB II S +には、イメージメモリIMとトラ
ンスポートコントローラTRCが接続され、イメージメ
モリIMにはスキャナ5CANから送られるイメージデ
ータが書き込まれる。
An image memory IM and a transport controller TRC are connected to the bus B II S +, and image data sent from the scanner 5CAN is written to the image memory IM.

バスBUS2には、認識ユニットを構成する前処理部S
G、判定7部DT、特徴抽出部FEなどが接続される6
0M^コン1−ローラDMAC2はバス[1US2にも
接続されている。
The bus BUS2 includes a preprocessing section S that constitutes a recognition unit.
6 to which G, determination section DT, feature extraction section FE, etc. are connected.
0M^Controller 1-Roller DMAC2 is also connected to bus [1US2.

・以下第1図を参照しつつ処理動作を説明する。- The processing operation will be explained below with reference to FIG.

ターミナルコントローラTCは、上位CPUからのコマ
ンドをインタフェースコントローラIFCを介して受は
取ると、トランスポートコントローラTRCにコマンド
を送り、帳票を送って、帳票イメージをスキャナ5CA
Nで取り込みイメージメモリIMに書き込む。イメージ
メモリIMに書き込まれた帳票イメージ゛の中の文字認
識エリアのデータをDMAコントローラDMACIで前
処理部SGへ転送し、認識スタートコマンドを前処理部
SGへ送る。この後ターミナルコン1〜ローラTCのC
PUはOM人コントローラDMACl を用いてイメー
ジデータを・インタフェースコントローラIFcを介し
て上(icpv t\転送を開女台する。
The terminal controller TC receives a command from the host CPU via the interface controller IFC, sends the command to the transport controller TRC, sends the form, and sends the form image to the scanner 5CA.
Take it in with N and write it to the image memory IM. Data in the character recognition area in the form image written in the image memory IM is transferred to the preprocessing section SG by the DMA controller DMACI, and a recognition start command is sent to the preprocessing section SG. After this, terminal controller 1 ~ C of roller TC
The PU uses the OM controller DMACl to transfer the image data via the interface controller IFc.

前処理部SGは、一連の処理を終了すると、ターミナル
コントローラTCのCPUへこのむねを通知する。ター
ミナルコントローラTCのCPljはこの通知を受ける
と、イメージデータを転送しながら、DMAコントロー
ラDMAC2へ前処理部SGから特徴抽出部FB又は判
定部DTへ送るための情報を書き込み。
When the preprocessing unit SG completes a series of processes, it notifies the CPU of the terminal controller TC of the process. Upon receiving this notification, CPlj of the terminal controller TC writes information to be sent from the preprocessing unit SG to the feature extraction unit FB or determination unit DT to the DMA controller DMAC2 while transferring the image data.

DMAコントローラIIMAC2を起動させる。バスス
イッチ8US SWはDMAコントローラDMAC2の
起動によりBUS2をBUSIから切り離す、BIJS
2のDMA転送の終了は、割り込みによりターミナルコ
ンl−ローラTCのCPU /\知らせる。これにより
CPIJはバススイッチBus Stを接続させる。
Activate the DMA controller IIMAC2. Bus switch 8US SW disconnects BUS2 from BUSI by starting the DMA controller DMAC2, BIJS
The completion of the DMA transfer in step 2 is notified to the CPU of the terminal controller TC by an interrupt. This causes CPIJ to connect the bus switch Bus St.

発明の詳細 な説明したように、本発明によれば、ターミナルコン1
〜ローラのCPUのバスをバススイッチにより切り離し
、各々独立の0M人コントローラを起動させてデータ転
送を並行させて行わせることにより、処理スピードを向
上させる効果が得られる。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, the terminal computer 1
- The effect of improving processing speed can be obtained by separating the CPU bus of the rollers with a bus switch and activating each independent 0M controller to perform data transfer in parallel.

また、ターミナルコントローラのCI’Uは汎用の1千
・lブCPUを使用することにより、種々の周辺LSI
を選択することが出来、廉価なシステムを構築出来る。
In addition, the terminal controller CI'U uses a general-purpose 1,000-lb CPU to support various peripheral LSIs.
can be selected, and an inexpensive system can be constructed.

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

第1図は本発明の一実施例を示すブロック構成図である
。 TC・・・ターミナルコントローラ、CP 11・・・
lチソICPII 、DMACl・・・IIM人コント
ローラ1、MM・・・メインメモリ、IFC・・・イン
タフェースコントローラ、IM・・・イメージメモリ、
SCAM・・・スキャナユニ・ント、TRC・・トラン
スポートコン■・ローラー DMAC2・・・DMAコ
ントローラ2、SG・・・前処理部、DT・・・判別部
、FE・・・特徴抽出部 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部
FIG. 1 is a block diagram showing one embodiment of the present invention. TC...Terminal controller, CP11...
ICPII, DMACl...IIM controller 1, MM...main memory, IFC...interface controller, IM...image memory,
SCAM...Scanner unit, TRC...Transport controller, Roller DMAC2...DMA controller 2, SG...Preprocessing section, DT...Discrimination section, FE...Feature extraction section Patent application Representative of NEC Corporation Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 光学的にイメージを入力する入力手段と、入力したイメ
ージから文字を認識する手段と、入力イメージを他のC
PUに転送する手段とを備えた光学文字読み取り装置に
おいて、ターミナルコントローラと、該ターミナルコン
トローラの第1のバスと第2のバスとの間に設けられた
バススイッチと、前記ターミナルコントローラのCPU
に直結された前記第1のバスに設けられた第1のDMA
コントローラと、前記バススイッチによって切り離され
た第2のバスに設けられた第2のDMAコントローラと
を備えたことを特徴とする光学文字読み取り装置。
An input means for optically inputting an image, a means for recognizing characters from the input image, and a means for inputting an input image into another computer.
a terminal controller; a bus switch provided between a first bus and a second bus of the terminal controller; and a CPU of the terminal controller.
a first DMA provided on the first bus directly connected to
An optical character reading device comprising: a controller; and a second DMA controller provided on a second bus separated by the bus switch.
JP63012169A 1988-01-22 1988-01-22 Optical character reader Pending JPH01187682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63012169A JPH01187682A (en) 1988-01-22 1988-01-22 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63012169A JPH01187682A (en) 1988-01-22 1988-01-22 Optical character reader

Publications (1)

Publication Number Publication Date
JPH01187682A true JPH01187682A (en) 1989-07-27

Family

ID=11797933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63012169A Pending JPH01187682A (en) 1988-01-22 1988-01-22 Optical character reader

Country Status (1)

Country Link
JP (1) JPH01187682A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002008919A1 (en) * 2000-07-26 2002-01-31 Fujitsu Limited Mobile communication device
US6763448B1 (en) 1999-02-16 2004-07-13 Renesas Technology Corp. Microcomputer and microcomputer system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763448B1 (en) 1999-02-16 2004-07-13 Renesas Technology Corp. Microcomputer and microcomputer system
US6907514B2 (en) 1999-02-16 2005-06-14 Renesas Technology Corp. Microcomputer and microcomputer system
WO2002008919A1 (en) * 2000-07-26 2002-01-31 Fujitsu Limited Mobile communication device
JP3863489B2 (en) * 2000-07-26 2006-12-27 富士通株式会社 Mobile communication device

Similar Documents

Publication Publication Date Title
CN101390057A (en) Two-level interrupt service routine
CN102968325A (en) USB (Universal Serial Bus) equipment and method and device for automatically initializing same
JPH01187682A (en) Optical character reader
US6757762B1 (en) Multi-mode processor bus bridge
CN112769688A (en) Method and device for protocol stack adaptation, electronic equipment and storage medium
US20050144336A1 (en) Method and apparatus for data sharing
JP2000155738A (en) Data processor
JP2619417B2 (en) Character recognition system
CN2519951Y (en) Flush memory with integrated high speed data interface backbone unit
JP3262130B2 (en) Information processing device
JPS6175483A (en) Character reader
JP2687716B2 (en) Information processing device
WO2006038260A1 (en) Usb storage system and usb storage device
JPS603673B2 (en) character reading device
CN113065539A (en) Semiconductor equipment data acquisition instrument and use method thereof
JPS58114171A (en) Optical character reader
JPS6395588A (en) Optical character reader
JPH01133444A (en) System bus controller
JPH01240990A (en) Slip reading processor
CN101661444A (en) Method and system for dynamically managing push-pull device
JPS62282385A (en) Character identification device
JPS6046588A (en) Discrimination system for frequency of using decentralized registration character
JPH01166167A (en) Betting ticket refunding device
JPH03164858A (en) Inter-processor communication system for electronic computer
JPH03263154A (en) Data processing system