JP2006216067A - Program and method for managing issuance of accounting book, and recording medium therefor - Google Patents

Program and method for managing issuance of accounting book, and recording medium therefor Download PDF

Info

Publication number
JP2006216067A
JP2006216067A JP2006039607A JP2006039607A JP2006216067A JP 2006216067 A JP2006216067 A JP 2006216067A JP 2006039607 A JP2006039607 A JP 2006039607A JP 2006039607 A JP2006039607 A JP 2006039607A JP 2006216067 A JP2006216067 A JP 2006216067A
Authority
JP
Japan
Prior art keywords
book
transaction data
management
unit
read
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
JP2006039607A
Other languages
Japanese (ja)
Inventor
Yukio Kakiuchi
幸夫 垣内
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.)
Japan Digital Laboratory Co Ltd
Original Assignee
Japan Digital Laboratory 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 Japan Digital Laboratory Co Ltd filed Critical Japan Digital Laboratory Co Ltd
Priority to JP2006039607A priority Critical patent/JP2006216067A/en
Publication of JP2006216067A publication Critical patent/JP2006216067A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer system for managing issuance of an accounting book, which may execute an automatic function to check consistency in data entered in the book and journalized data for the book as well as determine validity of the issued books. <P>SOLUTION: The CPU 12 of the computer system 100 for managing issuance of the accounting book, is provided with the steps comprising: referring to a result of character recognition for the book, a file for managing the books and the journalized data; comparing a content of the book, which has been read, with a stored content of an interaction data to determine whether both data match each other; if both data match, then, entering accounts in the book from a next row by controlling a print unit 33; if both data do not match, then, updating the file for managing the books by determining a present book as an invalid book; and re-issuing the book with a new page corresponding to the updated file by controlling a reading/printing unit 30. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は会計処理装置に関し、特に、会計帳簿の発行および帳簿記載を行う帳簿発行管理装置および帳簿発行管理方法に関する。   The present invention relates to an accounting processing apparatus, and more particularly to a book issuance management apparatus and book issuance management method for issuing an accounting book and writing a book.

コンピュータを利用した会計処理装置には様々な種類があるが、会計事務所等で用いている顧客取引データ処理用の装置は、基本的には入力用伝票に基づいてデータを入力し、入力したデータを自動仕訳して格納装置に格納し、入力と同時或いは別時点にデータの修正処理を行い、格納データを更新して会計処理を行うよう構成されている。なお、データ入力は当初はキーボード入力が主流であったが今日ではOCRによるOCR伝票の読み取りによるデータ入力が主となり、キーボード入力はデータ修正時等に用いられる付随的なものとなっている。また、会計処理時に出力される処理結果としては貸借対照表や損益計算書等の財務諸表や、税務申告用の書類、または得意先別売上一覧表等の営業管理用のものがある。   There are various types of accounting processing devices using computers, but the device for processing customer transaction data used in accounting firms etc. basically inputs and inputs data based on input slips. Data is automatically journalized and stored in a storage device, data correction processing is performed at the same time as input or at a different time, and stored data is updated to perform accounting processing. In addition, keyboard input is mainly used for data input at first, but today, data input is mainly performed by reading an OCR slip by OCR, and keyboard input is an incidental one used when data is corrected. In addition, the processing results output at the time of accounting include financial statements such as a balance sheet and profit and loss statement, tax reporting documents, and sales management-specific items such as customer-specific sales lists.

また、後述する帳簿の読取・印字に関連すると考えられる技術に、ATM(自動預金機)における預貯金の入出金状況の通帳記帳に関する技術がある。具体的には、ATMでは通帳差し入れ口に挿入された通帳上の所定情報を読み取って預貯金の入出金状況(入出金明細データ)を記帳(出力)する方法および装置が開発されている。例えば、(1)通帳の所定領域を画像素子で走査して得られる画像信号を符号化して読み取りデータとし、ノイズ判定を行って検知エリアにおける印字の有無を判定した後に読み取りデータのデータ・パターンと予め設定されているデータ・パターンとを比較・判別することにより、前回印字行を検知して前回の印字行の次の行から新たな入出金明細データを記帳する、通帳の印字行位置決め方法がある(特許文献1参照)。
(2)また、イメージセンサを用いて通帳等の印字行をスキャンする場合に、1スキャン毎の検知エリアを印字行の長手方向に分割して、各分割エリアにおける印字の有無を検出する手段と、その検出手段からの検出信号に基づいて検知エリアに印字がされているか否かを判定する手段を備えた通帳等の印字行検知装置がある(特許文献2参照)。
(3)また、通帳の印字位置のずれによる印字文字範囲の検出ミスの発生を防止するため、通帳の印字にずれがあっても最終印字行を正確に認識するための、印字行の位置検出方式がある(特許文献3参照)。
(4)また、ATMに関し、出金伝票に印字された出金データをOCR等の読み取り手段で読み取り、ホストコンピュータのデータと照合し、その結果を当該伝票或いは通帳に*等で印字する技術がある(特許文献4参照)。
特公昭59−39073号広報 特公平5−1741号公報 特開平4−368866号公報 特開平4−130598号公報
Further, as a technique considered to be related to reading / printing of a book, which will be described later, there is a technique related to a passbook entry of deposit / withdrawal status of deposit / saving in an ATM (automatic deposit machine). Specifically, ATM has developed a method and apparatus for reading (depositing) the deposit / withdrawal status (deposit / withdrawal details data) of deposits and savings by reading predetermined information on the passbook inserted into the passbook slot. For example, (1) an image signal obtained by scanning a predetermined area of a passbook with an image element is encoded as read data, and noise determination is performed to determine the presence or absence of printing in the detection area; There is a passbook print line positioning method that detects and prints new deposit / withdrawal details data from the next line of the previous print line by comparing and discriminating with a preset data pattern. Yes (see Patent Document 1).
(2) When scanning a print line such as a passbook using an image sensor, the detection area for each scan is divided in the longitudinal direction of the print line, and means for detecting the presence or absence of printing in each divided area; There is a printing line detection device such as a bankbook provided with means for determining whether or not printing is performed in a detection area based on a detection signal from the detection means (see Patent Document 2).
(3) Print line position detection to accurately recognize the final print line even if there is a shift in the passbook printing in order to prevent the detection error of the print character range due to a shift in the passbook print position. There is a method (see Patent Document 3).
(4) Also, with regard to ATM, there is a technology in which withdrawal data printed on a withdrawal slip is read by reading means such as OCR, collated with host computer data, and the result is printed on the slip or passbook with * etc. Yes (see Patent Document 4).
Japanese Examined Publication No.59-39073 Japanese Patent Publication No. 5-1741 JP-A-4-368866 Japanese Patent Laid-Open No. 4-130598

従来のコンピュータ会計処理では、(イ)伝票の起票、(ロ)出納帳,売掛帳等の実帳簿への記入(手書き)、(ハ)コンピュータへの入力(なお、入力は上記(イ)での伝票をもとにキーボードから入力するか、OCR入力用帳票を起こしてOCR入力する)、(ニ)入力済みデータに基づいて会計処理を行う、という会計処理のサイクル中、(ロ)の実帳簿(経理帳簿)については(イ)と平行して手書き記入されるか、または後で記入されており、単に、法定帳簿として融資調査や税務調査等に備え事務所に保存する意味での管理のために記入されているだけであり、実帳簿に記入したデータが(ハ)の入力処理(OCR入力)につながらないという問題点があった。すなわち、会計処理のコンピュータ化は様々な便宜をユーザに与えているが、一方で実帳簿のもつ唯一性を犠牲にし、手書き帳簿のもつ「何時でも、どこでも、誰でも」利用できるという利用の容易性および帳簿管理の明確性を犠牲にしているという問題点があった。   In conventional computer accounting processing, (b) drafting of slips, (b) filling in real books such as cashbooks, accounts receivables, etc. (handwriting), and (c) input to computers ( ) Input from the keyboard based on the slips in () or wake up OCR input form and enter OCR), (d) During the accounting processing cycle of performing accounting processing based on entered data (b) The actual book (accounting book) is either handwritten in parallel with (a) or later, and is simply stored in the office as a statutory book for loan investigation or tax investigation. However, there is a problem that the data entered in the real book is not connected to the input process (OCR input) of (c). In other words, computerization of accounting processing gives users various conveniences, but on the other hand, at the expense of the uniqueness of the real book, easy use of "anytime, anywhere, anyone" with the handwritten book There is a problem of sacrificing sex and clarity of book management.

ここで、顧客側で帳簿の記載を取引データの入力に連動させて行うようにすれば、帳簿と取引データの整合性が保たれる。また、その取引データを会計処理装置で用いることにより、上記問題点の解決が可能となる。即ち、コンピュータ会計処理のサイクルを、(イ) 顧客側A.伝票の起票、B.コンピュータへの入力(なお、入力は上記 での伝票をもとにキーボードから入力するか、帳簿に手書きしたデータをOCR入力する)。
C.コンピュータによる出納帳,売掛帳等の実帳簿への自動記帳(帳簿の入力済データとの整合性チェックを含む)、(ロ) 会計事務所側D.入力済みデータに基づいて会計処理を行う、という処理サイクルに変更することにより、コンピュータ側に格納されている入力済みデータと帳簿に記帳されている結果との整合性を得るとともに、会計処理の全サイクルをコンピュータ化することが可能となる。
Here, if the account is entered on the customer side in conjunction with the input of transaction data, consistency between the book and transaction data is maintained. Further, by using the transaction data in the accounting processing device, the above problem can be solved. That is, the computer accounting processing cycle is as follows. Voucher draft, B. Input to the computer (Note that the input is performed from the keyboard based on the above slip, or the data handwritten in the book is OCR input).
C. Automatic book entry (including consistency check with entered data in the book) to the real books such as cashbooks and accounts receivable by computer, (b) Accounting firm side By changing to a processing cycle in which accounting processing is performed based on entered data, consistency between the entered data stored on the computer side and the results recorded in the book is obtained, and all accounting processing is performed. The cycle can be computerized.

ここで、前記従来技術について考えると、ATMでは前述したように上記特許文献1〜3に開示の通帳差し入れ口に挿入された通帳上の所定情報を読み取って預貯金の入出金状況を記帳する方法や装置が開発されているが、いずれも最終印字行を検知し今回の印字位置を決定するものであり、預金通帳などのようにデータの経時的発生状況をそのまま時系列に記帳する場合には適してはいるが、会計処理では様々な要因により、通常作業としてのデータ入力およびその修正の他に、数日後、あるいは場合によっては何ヶ月も後に帳簿の訂正の必要が生ずることがあるので、このような場合にも対応を要する会計帳簿の記帳等にはATMによる帳票記帳技術では対処できないという欠点がある。   Here, when considering the prior art, as described above, ATM reads a predetermined information on a passbook inserted in a passbook insertion slot disclosed in Patent Documents 1 to 3, and records the deposit / withdrawal status of deposits and savings. Although devices have been developed, both detect the last print line and determine the current print position, which is suitable for the time-series recording of data over time, such as bankbooks. However, due to various factors in accounting, in addition to data entry and correction as a normal operation, it may be necessary to correct the book after a few days or even months. In such a case, there is a drawback that the accounting bookkeeping technique based on ATM cannot deal with the accounting book entry that requires handling.

また、上記特許文献4に開示の技術はATMにおいて、OCR等の読み取り手段で読み取った出金伝票上の出金データをホストコンピュータのデータと照合し、照合結果を当該伝票或いは通帳に印字するが、これは読み取ったデータとファイル上のデータを比較・照合する方法であり、取引データに比べ極度にデータ数の少ない銀行預金通帳等には適応可能であるが、データ量の多い会計処理では用いられず、会計処理では読み取った伝票データとコンピュータ装置側に格納されたデータとの照合は非効率的であるという問題点がある。   Further, in the technique disclosed in Patent Document 4 described above, in ATM, the withdrawal data on the withdrawal slip read by the reading means such as OCR is collated with the data of the host computer, and the collation result is printed on the slip or passbook. This is a method of comparing and collating the read data with the data on the file, and can be applied to bank deposit books, etc., where the number of data is extremely small compared to transaction data, but it is used for accounting processing with a large amount of data. However, in the accounting process, there is a problem that collation between the read slip data and the data stored on the computer device side is inefficient.

本発明は上記会計処理の全サイクルをコンピュータ処理の対象とするため、帳簿発行管理装置のコンピュータに帳簿への記帳および帳簿と仕訳データの整合性のチェックおよび発行済帳簿の有効性の判断を自動的に行なう機能を実行させる帳簿発行管理方法、帳簿発行管理プログラム、および帳簿発行管理プログラムを記録した記録媒体の提供を目的とする。   In the present invention, the entire cycle of the above accounting process is subject to computer processing, so the book issue management device computer automatically checks the book entry and the consistency between the book and journal data and determines the validity of the issued book. It is an object of the present invention to provide a book issue management method, a book issue management program, and a recording medium on which a book issue management program is recorded.

上記の目的を達成するために、請求項1に記載の発明では、CPUと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有するコンピュータ本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を前記本体に送出する認識処理部を含む読取部と、印字機構を有し、前記本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、前記制御部の制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、前記本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理方法であって、前記コンピュータ本体に、下記(1)から(5)に記載のステップを実行させることを特徴とする帳簿管理発行方法を提供する。;(1)読み取った帳簿の認識結果を基に帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照するステップと、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較するステップと、からなるステップと、上記比較結果が一致しない場合には、読み取った帳簿上に無効印字処理を行うステップ;(2)上記認識結果を基に取引データファイル上の上記読み取った帳簿に対応する取引データを参照するステップと、未記帳の取引データの有無を判定するステップと、からなるステップ;(3)未記帳の取引データがあった場合に、上記読み取った帳簿に上記未記帳の取引データの記帳が可能か否かを確認するステップと、記帳可能な場合には該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なうステップと、記帳が不可能な場合には読み取った帳簿上に無効印字処理を行なうステップと、新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うと共に帳簿管理ファイルを更新するステップと、からなるステップ;(4)新たな帳簿の発行或いは帳簿のページ替えのために帳簿管理情報を記帳し帳簿管理レコード上の帳簿管理情報の更新処理を行うステップ;(5)入力装置からの帳簿再発行情報により、該帳簿再発行情報に基づいて帳簿管理ファイルを参照するステップと、対応の帳簿管理レコード上の帳簿管理情報の更新処理を行い、読み取った帳簿に対応する帳簿の発行処理を行うステップ。
また、請求項2に記載の発明では、(3)のステップが、a;未記帳の取引データがあった場合に、上記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認するステップと、b;記帳が不可能な場合には読み取った帳簿上に無効印字処理を行ない新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うステップと、c;記帳可能な場合には読取部の認識処理部に該読み取った帳簿の前回記帳行の次の行の認識処理を行わせるステップと、d;認識結果を基に取引データファイル上の該読み取った帳簿に対応する取引データを参照し、上記cの認識処理結果と対応する取引データとを比較して一致する場合には、次の行の認識のために上記cのステップに戻るステップと、からなるステップである、ことを特徴とする請求項1に記載の帳簿発行管理方法を提供する。
To achieve the above object, according to the first aspect of the present invention, a CPU, an internal memory, and a storage medium storing at least a book management file and a transaction data file are accommodated, and information stored in the storage medium is stored. A computer body having a storage unit for writing / reading; an optical reading mechanism for optically reading a form including a book and converting it into image data; and a character recognition process by cutting out a predetermined area from the image data A reading unit including a recognition processing unit that sends a recognition result to the main body and a printing mechanism, and converts the book registration information and / or transaction data received from the main body into image data and prints it on the book A printing section for performing bookkeeping, an input section for inputting instructions relating to book issuance or transaction data under the control of the control section, A book issuance management method in a book issuance management apparatus comprising a display unit for displaying book management information and / or transaction data received from a main body, wherein the computer main body includes the following (1) to (5) A book management issuance method characterized by executing the described steps. (1) referring to the book management record corresponding to the read book on the book management file based on the recognition result of the read book, the book management information written in the read book, and the book management record A step of comparing with the above book management information, and a step of performing invalid printing on the read book if the comparison result does not match; (2) transaction data based on the recognition result A step comprising: referring to transaction data corresponding to the read book on the file; and determining whether there is unrecorded transaction data; (3) if there is unrecorded transaction data, A step of confirming whether or not it is possible to record the transaction data of the unrecorded book in the read book, and if it can be booked, next to the previous book line of the read book Steps for performing bookkeeping from the line, steps for performing invalid print processing on the read book if bookkeeping is impossible, registering book management information on new book paper, and generating transaction data for the unbooked book (4) The book management information is recorded and the book management information is recorded for issuing a new book or changing the page of the book. Updating the book management information of the book; (5) referring to the book management file based on the book reissue information from the book reissue information from the input device, and the book management on the corresponding book management record A step of performing information update processing and issuing a book corresponding to the read book.
Further, in the invention according to claim 2, in the step (3), when there is a; unrecorded transaction data, it is determined whether or not the unrecorded transaction data can be recorded in the read book. A step of confirming; b; if it is impossible to perform bookkeeping, invalid print processing is performed on the read book, the book management information is registered on a new book sheet, and the transaction data after the transaction data generation date of the unbooked A step of performing a bookkeeping process; c; a step of causing the recognition processing unit of the reading unit to perform a recognition process for a line next to the previous booked line of the read book, if possible, and d; based on the recognition result When transaction data corresponding to the read book in the transaction data file is referred to and the recognition result of c is compared with the corresponding transaction data, the above c is used to recognize the next line. Step back to step A step consisting of, providing a carrying issuance management method according to claim 1, characterized in that.

また、請求項3に記載の発明では、コンピュータと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有する本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を本体に送出する認識処理部を含む読取部と、印字機構を有し、本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、コンピュータの制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理プログラムであって、帳簿発行管理装置のコンピュータに、読取部からの読み取った帳簿の認識結果を基に、帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照し、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較する機能と、上記比較結果が一致しない場合には、印字部を制御して読み取った帳簿上に無効印字処理を行わせる機能と、認識結果を基に取引データファイル上の読み取った帳簿に対応する取引データを参照し、未記帳の取引データの有無を判定する機能と、上記判定により、未記帳の取引データがあった場合に、読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認する機能と、記帳可能な場合には印字部を制御して該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なわせる機能と、記帳が不可能な場合には印字部を制御して読み取った帳簿上に無効印字処理を行なわせてから新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行なわせると共に帳簿管理ファイルを更新する機能と、新たな帳簿の発行或いは帳簿のページ替えのために印字部を制御して帳簿管理情報を記帳させると共に帳簿管理レコード上の帳簿管理情報の更新処理を行う機能と、入力装置からの帳簿再発行情報に基づいて帳簿管理ファイルを参照し、対応する帳簿管理レコード上の帳簿管理情報の更新処理を行い、読み取った帳簿に対応する帳簿の発行処理を行う機能と、を実行させる帳簿発行管理プログラムを提供する。
また、請求項4に記載の発明では、請求項1に記載の帳簿発行管理方法の各ステップをコンピュータに実行させるためのプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体を提供する。
また、請求項5に記載の発明では、請求項3に記載の帳簿発行管理プログラムをコンピュータに実行させるためのプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体を提供する。
According to a third aspect of the present invention, a computer, an internal memory, and a storage medium storing at least a book management file and a transaction data file are accommodated, and storage for writing / reading information to / from the storage medium An optical reading mechanism that optically reads a form including a book and converts it into image data, and extracts a predetermined area from the image data and performs character recognition processing to obtain a recognition result in the main body. A reading unit including a recognition processing unit to send out, a printing unit, and a printing unit that performs bookkeeping by converting the book registration information and / or transaction data received from the main body into image data and printing on the book; Under the control of the computer, an input unit for inputting books or issuing transaction data, book management information received from the main unit, and Or a book issuance management program in a book issuance management device comprising a display unit for displaying transaction data on the screen, and the book issuance management device computer stores the book based on the recognition result of the book read from the reading unit A function for referring to a book management record corresponding to the read book in the management file and comparing the book management information described in the read book with the book management information on the book management record, and the comparison result is If they do not match, refer to the transaction data corresponding to the read book on the transaction data file on the basis of the recognition result and the function to cause the invalid printing process to be performed on the book read by controlling the printing unit, If there is unrecorded transaction data based on the above determination and the above determination, the unregistered transaction data is recorded in the read book. A function to check whether or not it is possible, a function to control the printing unit when it is possible to book, and a book entry process from the line following the previous book line of the read book, and a case where book entry is impossible In this case, invalid printing processing is performed on a book read by controlling the printing unit, and then book management information is registered on a new book sheet, and transaction data is recorded on and after the transaction data generation date of the unrecorded book. And a function to update the book management file, and to control the printing unit to issue a new book or change the page of the book, to record the book management information and to update the book management information on the book management record Refers to the book management file based on the function and the book reissue information from the input device, updates the book management information on the corresponding book management record, and generates the book corresponding to the read book. A book issue management program for executing a line processing function is provided.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute each step of the book issuance management method according to the first aspect.
According to a fifth aspect of the present invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute the book issuance management program according to the third aspect.

以上説明したように、本発明の帳簿発行管理方法および帳簿管理発行プログラムによれば、読み取った帳簿上に記載されている内容と格納されている取引データとの整合性がチェックされるので、保管している帳簿が有効か無効かを簡単に知ることができ、帳簿、格納データ、および帳簿発行管理装置とデータを介して連動する会計処理装置の信頼性が確認できる。
また、管理上で不明となった帳簿についても帳簿発行管理装置を用いることにより照合ができ、不明帳簿を帳簿管理ファイル上で無効にしてから再発行ができるので、あとで不明帳簿がでてきても混同して記帳するようなことが生じない。また、帳簿管理ファイルを用いるので帳簿の履歴管理が可能となる。また、従来の会計処理装置と連動可能で、利用法そのものが従来の会計処理を変更する事なくその延長線上でできるので、使用者にとって利用が容易であり、これにより、会計処理の全サイクルがコンピュータ処理の対象となり、会計処理のコンピュータ化に対する障壁(従来のコンピュータ会計処理における帳簿記帳と入力作業の重複による使用者の負荷)が緩和される。
As described above, according to the book issuance management method and book management issuance program of the present invention, the consistency between the contents written on the read book and the stored transaction data is checked. It is possible to easily know whether the book is valid or invalid, and it is possible to confirm the reliability of the book, stored data, and the accounting processing device linked with the book issue management device via the data.
In addition, it is possible to collate the books that are unknown in management by using the book issuance management device, and since the unknown books can be reissued after being invalidated in the book management file, an unknown book appears later. There is no such thing as confusion. Further, since a book management file is used, book history management is possible. In addition, it can be used in conjunction with a conventional accounting processing device, and the usage method itself can be extended without changing the conventional accounting processing, so it is easy for users to use. It becomes an object of computer processing, and the barrier to computerization of accounting processing (the burden on the user due to duplication of bookkeeping and input work in conventional computer accounting processing) is alleviated.

図1は本発明の帳簿発行管理装置の構成例を示すブロック図であり、帳簿発行管理装置100は、CPU12,操作判定手段13,帳簿発行管理手段14,およびOS(オペレーションシステム)15等からなる制御部11と、内部メモリー17と、データ格納部18と、を有するコンピュータ本体10と、コンピュータ本体10側に対し指示またはデータの入力を行うための入力装置20と、コントローラ31,帳簿55を光学的に読み取ってイメージデータに変換し認識処理を行い、認識データおよび帳簿管理情報をコンピュータ本体10に送る読取部32,およびコンピュータ本体10側からの指示に基づいて帳簿管理情報および/またはデータを印字することにより帳簿55に記帳する印字部33とからなる読取・印字部30と、帳簿管理情報及び編集されたデータ等を所定のフォーマットで画面に表示する表示部40から構成されている。なお、読取部32は入力帳票(OCR帳票)の読み取りもできるよう構成されていることが望ましい。   FIG. 1 is a block diagram showing a configuration example of a book issuance management apparatus according to the present invention. A book issuance management apparatus 100 comprises a CPU 12, an operation determination means 13, a book issuance management means 14, an OS (operation system) 15, and the like. A computer main body 10 having a control unit 11, an internal memory 17, and a data storage unit 18, an input device 20 for inputting instructions or data to the computer main body 10 side, a controller 31, and a book 55 are optically provided. Is read and converted into image data, recognition processing is performed, and the book management information and / or data is printed based on an instruction from the reading unit 32 that sends the recognition data and book management information to the computer main body 10 and the computer main body 10 side. The reading / printing unit 30 including the printing unit 33 that records the book 55 in the book 55 and the book And it is configured to manage information and editing data, etc. from the display unit 40 to be displayed on the screen in a predetermined format. The reading unit 32 is preferably configured to be able to read an input form (OCR form).

制御部11で、CPU12は帳簿発行管理装置100全体の動作制御を行うと共にOS15の管理下で、望ましい実施形態ではプログラムから構成されている操作判定手段13および帳簿発行管理手段14の実行に基づく制御を行い、内部メモリー17とのデータの受渡し、格納部18へのデータの格納または読み出し指示、および入力部20,読取・印字部30と表示部40とのデータ授受等およびその制御を行う。   In the control unit 11, the CPU 12 controls the operation of the entire book issuance management apparatus 100 and controls based on the execution of the operation determination means 13 and the book issuance management means 14 which are configured by programs in the preferred embodiment under the control of the OS 15. The data is transferred to and from the internal memory 17, the instruction to store or read the data in the storage unit 18, the data transfer between the input unit 20, the reading / printing unit 30 and the display unit 40, and the control thereof.

操作判定手段13は後述する読取部32の読み取りスタックに帳簿55がセットされている場合とそうでない場合の処理の判定を行う。この判定はコントローラ31から送出されるスタック状態確認信号に基づいて行われる。   The operation determination unit 13 determines processing when the book 55 is set in a reading stack of the reading unit 32 described later and when it is not. This determination is made based on a stack state confirmation signal sent from the controller 31.

帳簿発行管理手段14は望ましい実施形態ではプログラムで構成されており、操作判定手段13の判定に基づいて、帳簿の記帳・更新処理,新規登録処理,或いは再発行処理を行う(図5〜図7の説明参照)。   In the preferred embodiment, the book issuance management unit 14 is configured by a program, and performs book entry / update processing, new registration processing, or reissue processing based on the determination of the operation determination unit 13 (FIGS. 5 to 7). See description).

なお、操作判定手段13および帳簿発行管理手段14は実施例ではOS15と共にROM(図示せず)に書込まれており、帳簿発行管理装置100の電源投入時に内部メモリー17に書込まれるよう構成されているが、FD(フレキシブルディスク)またはMO(Magnet Optical disk)または磁気ディスク等の媒体に格納し、それらの書込装置(図1の格納部18が相当する)により帳簿発行管理装置100の電源投入時に内部メモリー17に書込まれるよう構成してもよい。内部メモリー17にはデータの書込/読み出しのための処理領域、設定値の設定領域、帳簿発行管理装置の動作開始時に書込まれる操作判定手段13,帳簿発行管理手段14のための実行プログラム領域,帳簿データ用作業領域,その他処理上必要とする作業領域,およびシステム管理領域が確保されており、制御部11からの指示によりこれらの領域へのデータ等の書込/読み出しが行われる。なお、帳簿データ用作業領域は図示されていないが、図2の帳簿の記載項目のうちの帳簿管理項目データ(例えば、帳簿コード221,帳簿名印字欄223,ページ欄224,再発行回数欄224)および帳簿の行の項目データ(例えば、日付226,摘要227,貸方金額228,借方金額229,残高230)の行数分の領域が確保されており、各項目は所定の順序で並べられている。   In the embodiment, the operation determination unit 13 and the book issue management unit 14 are written in a ROM (not shown) together with the OS 15 and are written in the internal memory 17 when the book issue management device 100 is turned on. However, it is stored in a medium such as an FD (flexible disk), an MO (Magnet Optical disk), or a magnetic disk, and a power source of the book issue management apparatus 100 by a writing device (corresponding to the storage unit 18 in FIG. 1). You may comprise so that it may write in the internal memory 17 at the time of input. The internal memory 17 has a processing area for writing / reading data, a setting value setting area, an operation determination means 13 written at the start of operation of the book issuance management apparatus, and an execution program area for the book issuance management means 14. , A book data work area, other work areas required for processing, and a system management area are secured, and writing / reading of data and the like to these areas is performed according to instructions from the control unit 11. Although the work area for book data is not shown, book management item data (for example, book code 221, book name printing field 223, page field 224, reissue count field 224) among the entries in the book of FIG. ) And line item data (for example, date 226, summary 227, credit amount 228, debit amount 229, balance 230) are reserved, and each item is arranged in a predetermined order. Yes.

格納部18はFD,MO,または磁気ディスク等の記憶媒体の読み取り/書込装置およびそれら対応の記憶媒体から構成され、媒体上にはディレクトリおよび後述の帳簿管理ファイルと取引データファイルが格納されている。帳簿管理ファイルは発行済の帳簿の種類毎に作成され更新される帳簿管理レコードで構成され、各レコードのそれぞれの項目(アイテム)には該当する記帳情報が書込まれ、または更新される(図3参照)。また、取引データファイルは取引データから構成されている(図4参照)。   The storage unit 18 includes a read / write device for a storage medium such as an FD, MO, or magnetic disk and a corresponding storage medium. A directory, a book management file and a transaction data file, which will be described later, are stored on the medium. Yes. The book management file is composed of book management records that are created and updated for each type of book that has been issued, and the corresponding book information is written or updated in each item (item) of each record (see FIG. 3). The transaction data file is composed of transaction data (see FIG. 4).

入力部20は使用者による帳簿発行管理装置100の操作指令の入力および帳簿データの訂正入力等と、必要とされる場合には帳簿管理情報の入力を行うために用いられ、実施例ではキーボード装置を用いている。   The input unit 20 is used for inputting an operation command of the book issuance management apparatus 100 by a user, inputting correction of book data, and the like, and inputting book management information when necessary. In the embodiment, a keyboard device is used. Is used.

読取・印字部30は、コントローラ31,読取部32,および印字部33と、図示しない画像メモリーおよび出力バッファを有している。コントローラ31はCPU,内部メモリー,および制御プログラムを含んでいる。読取部32はコントローラ31の制御の下に光学的読み取り機構を有し、帳簿55に印刷された帳簿識別記号(コード)を光学的に読み取って認識処理し、コンピュータ本体10に識別結果を与える。また、印字部33は印字機構を有しコントローラ31の制御の下にコンピュータ本体10の帳簿発行管理手段14からの指示およびデータにより帳簿55上にデータを印字したり、または無効マークを帳簿55上の所定の位置に印字する。   The reading / printing unit 30 includes a controller 31, a reading unit 32, and a printing unit 33, and an image memory and an output buffer (not shown). The controller 31 includes a CPU, an internal memory, and a control program. The reading unit 32 has an optical reading mechanism under the control of the controller 31, optically reads a book identification symbol (code) printed on the book 55, performs recognition processing, and gives an identification result to the computer main body 10. The printing unit 33 has a printing mechanism and prints data on the book 55 according to instructions and data from the book issuance management means 14 of the computer main body 10 under the control of the controller 31 or marks invalid marks on the book 55. Is printed at a predetermined position.

なお、読取部32に帳簿55が傾いて取込まれた場合にもその傾きを検知する傾き検知部を設け、印字部33に検出された傾きに沿った印字を行うことにより帳簿55上の印字位置に正しい姿勢で文字を印字するための印字姿勢決定部を設けることが望ましい(実施例1(図8)参照)。   In addition, even when the book 55 is tilted and taken into the reading unit 32, an inclination detection unit that detects the inclination is provided, and printing on the book 55 is performed by performing printing along the detected inclination in the printing unit 33. It is desirable to provide a printing posture determination unit for printing characters in a correct posture at a position (see Example 1 (FIG. 8)).

また、他の実施態様として読取・印字部30を帳簿55に印刷された帳簿識別記号(コード)を読んで認識すると共に、今回印字行以降に記入(手書き或いは印字による記入)されている情報を読み取って認識し、識別した帳簿管理情報および認識した記入情報を与えるよう構成してもよい(実施例2(図9)参照)。なお、この場合も読取部32に傾き検知部を設け、印字部33に印字姿勢決定部を設けることが望ましい。   As another embodiment, the reading / printing unit 30 reads and recognizes a book identification symbol (code) printed on the book 55, and information that has been entered (written by handwriting or printing) after the current printing line. You may comprise so that the book management information and the recognized entry information which were read and recognized and identified may be given (refer Example 2 (FIG. 9)). In this case as well, it is desirable to provide an inclination detection unit in the reading unit 32 and a printing posture determination unit in the printing unit 33.

なお、上記各説明では読取・印字部30は読取部32および印字部33により一体として構成されたものとしているが、読取部32と印字部33をハードウエア的に独立した装置とし、コンピュータ本体10側で個々に制御するように構成してもよい。   In the above description, the reading / printing unit 30 is integrally configured by the reading unit 32 and the printing unit 33. However, the reading unit 32 and the printing unit 33 are hardware independent devices, and the computer main body 10 You may comprise so that it may control individually by the side.

表示部40はコンピュータ本体10から送られる帳簿管理情報及び編集されたデータ等を所定のフォーマットで画面に表示すると共に、コンピュータ本体10からの指令により処理選択用メニューおよび必要なメッセージを画面に表示する。なお、画面に表示される表示用フォーマットは帳簿型式のウインドウと入力用ウインドウのフォーマットを含むことが望ましい。   The display unit 40 displays book management information, edited data, and the like sent from the computer main body 10 on a screen in a predetermined format, and displays a process selection menu and necessary messages on the screen according to instructions from the computer main body 10. . The display format displayed on the screen preferably includes a book-type window format and an input window format.

図2は、帳簿発行管理装置100で用いる帳簿55の例であり、帳簿55には売掛帳,買掛帳,現金出納帳等の帳簿に対応する必要事項が印字(或いは記入)可能で所定の配列により配置されると共に、コンピュータ処理上で必要な帳簿識別情報等を印刷(または記入或いは印字)する領域が設けられている。   FIG. 2 shows an example of a book 55 used in the book issue management apparatus 100. The book 55 can print (or fill in) necessary items corresponding to books such as accounts receivable, accounts payable, cash accounts, etc. In addition to being arranged in an array, an area for printing (or entering or printing) book identification information and the like necessary for computer processing is provided.

図2で、221は帳簿の種類を識別するための帳簿コード、222−1,222−2は読取部32による帳簿55の光学的読み取りのタイミングを得るための読み取り開始タイミングマークであり、帳簿55の傾きを知るための傾き検出マークを兼ねている。また、223は帳簿名を印字するための帳簿名印字欄、224は帳簿のページ欄、224は当該ページの再発行回数欄、225−1,225−2は印字位置識別マークである。なお、印字位置識別マーク225は後述の実施例1では必要としているが、実施例2では省略可能である。また、表頭の226は取引の発生月日欄、227は摘要欄、228は貸方金額欄、229は借方金額欄、230は残高あるいは累計欄であり、また、231は印字行であり上記欄224〜227に対応する仕訳ファイル上の取引データの内容がそれぞれ印字され、欄230には計算結果がそれぞれ印字される(なお、実施例2ではこれらの欄に手書き記入される場合もある)。また、上述の印字欄等は帳簿様式は帳簿用紙の両面に印刷されている。   In FIG. 2, 221 is a book code for identifying the type of book, 222-1 and 222-2 are reading start timing marks for obtaining the optical reading timing of the book 55 by the reading unit 32, and the book 55 Also serves as an inclination detection mark for knowing the inclination of the. 223 is a book name printing field for printing the book name, 224 is a page page field of the book, 224 is a reissue number field of the page, and 225-1 and 225-2 are printing position identification marks. The print position identification mark 225 is necessary in the first embodiment described later, but can be omitted in the second embodiment. In addition, 226 at the top of the table is a transaction occurrence date column, 227 is a summary column, 228 is a credit amount column, 229 is a debit amount column, 230 is a balance or cumulative column, 231 is a print line, and the above column The contents of the transaction data on the journal file corresponding to 224 to 227 are respectively printed, and the calculation results are printed in the columns 230 (in the second embodiment, these columns may be handwritten). Further, in the above-described printing column and the like, the book form is printed on both sides of the book sheet.

管理帳簿ファイルは帳簿55の記帳情報および再発行情報を格納し、図3は帳簿管理ファイルを構成する管理データの構成例を示す図である。   The management book file stores the book information and reissue information of the book 55, and FIG. 3 is a diagram showing a configuration example of management data constituting the book management file.

図3で、帳簿管理レコード60は図3(a)に示すような項目、すなわち、帳簿区分項目61、年度項目62、最終印字ページ項目64、最終印字行項目65、発行月日項目66、前回印字月日項目67、および再発行項目68を含んでいる。   3, the book management record 60 includes items as shown in FIG. 3A, that is, a book category item 61, year item 62, last print page item 64, last print line item 65, issue month / day item 66, previous time A printing month / day item 67 and a reissue item 68 are included.

帳簿区分項目61には帳簿の種類を表わすコードが格納され、年度項目62には当該帳簿の属する西暦または元号を記録する(通常は西暦の下2桁を用いる)が格納され、最終印字ページ項目64には前回の最終印字ページが格納され、最終印字行項目65には前回の最終印字行が格納され、発行月日項目66には当該年度の帳簿の最初の発行日が格納され、前回印字月日項目67には前回の印字日が格納され、再発行項目68には帳簿再発行の履歴が記録される。なお、再発行項目68は再発行を行ったか否かを示す単なるフラグでもよいし、図3(b)に示すように再発行ページ68−nおよびそのページを何回改定したかを示す再発行回数カウンタ69−nの組から構成してもよい(この場合、再発行ページ68ーnと再発行回数カウンタ68−nの組の個数はファイル容量からシステム上決定すればよい)。また、図3(c)は帳簿レコード60に帳簿が綴合帳簿の場合にその冊数を記録する項目63を加えた例である。また、帳簿管理ファイルと取引データファイルに主従関係をもたせるよう構成し、主ファイルとしての帳簿管理ファイルの帳簿管理レコードに前回記帳した取引データの格納先を示すポインタを設けるよう構成してもよいし、前回記帳した帳簿のページに記帳された全ての取引データの格納先を示す複数(行数分)のポインタを設けるよう構成してもよい。 The book category item 61 stores a code indicating the type of book, and the year item 62 stores the year or era to which the book belongs (usually using the last two digits of the year). The item 64 stores the last print page of the previous time, the last print line item 65 stores the last print line of the previous time, the issue date field 66 stores the first issue date of the book of the current year, The printing date and time item 67 stores the previous printing date, and the reissue item 68 records the book reissue history. The reissue item 68 may be a simple flag indicating whether or not reissue has been performed, or a reissue that indicates how many times the reissue page 68-n and the page have been revised as shown in FIG. 3B. You may comprise from the group of the number counter 69-n (In this case, the number of sets of the reissue page 68-n and the reissue number counter 68-n may be determined on the system from the file capacity). FIG. 3C shows an example in which an item 63 for recording the number of books is added to the book record 60 when the book is a bound book. The book management file and the transaction data file may be configured to have a master-slave relationship, and the book management record of the book management file as the main file may be configured to have a pointer indicating the storage location of the transaction data previously recorded. A plurality (for the number of lines) of pointers indicating the storage destinations of all the transaction data recorded on the book page previously recorded may be provided.

図4は、取引データファイルを構成する取引データの構成例を示す図である。取引データファイルは仕訳レコードが所定の順序で整列して格納されているいわゆる順編成ファイル(シーケンシャルファイル)であるが、取引データの順序は物理的に一定の順序(例えば昇順)に並んでいる必要はなく、例えば、インデクスド・シーケンシャルファイルのように索引ファイルを有し、索引ファイルのソートなどにより取引データが論理的に一定の順序で並べられるファイルでもよい。また、前述したように帳簿管理ファイルを主とし、取引データファイルを従として、帳簿管理データと取引データを帳簿管理データに設けたポインタで関連づけるよう構成してもよい。   FIG. 4 is a diagram showing a configuration example of transaction data constituting the transaction data file. The transaction data file is a so-called sequential file (sequential file) in which journal records are arranged and stored in a predetermined order. However, the order of the transaction data needs to be in a physically fixed order (for example, ascending order). Instead, for example, a file having an index file such as an indexed sequential file and in which transaction data is logically arranged in a certain order by sorting the index file or the like may be used. Further, as described above, the book management file may be the main, the transaction data file may be the slave, and the book management data and the transaction data may be associated with the pointer provided in the book management data.

取引データ41は図4(a)に示すような項目、すなわち、帳簿区分項目42,ページ項目43,行数項目44,科目コード項目45,相手科目コード項目46,取引年月日47,摘要項目48,および貸方金額項目49,および借方金額項目50を含んでいる。   The transaction data 41 includes items as shown in FIG. 4A, that is, book category item 42, page item 43, line number item 44, subject code item 45, counterpart subject code item 46, transaction date 47, summary item. 48, a credit amount item 49, and a debit amount item 50.

帳簿区分項目42には帳簿の種類を表わすコードが格納され、ページ項目43には当該取引データが印字されている帳簿のページが格納され、行数項目44には当該取引データが印字(記帳)されている帳簿上の行番が格納され、科目項目45には当該取引データの科目が、相手科目項目46には当該取引データの相手科目が格納され、年月日項目47には取引発生日付が格納され、適要項目48には適用が格納され、貸方金額項目49には貸方金額或いは入金額が格納され、借方金額項目50には借方金額或いは出金額が格納される。   A code indicating the type of book is stored in the book category item 42, the page of the book on which the transaction data is printed is stored in the page item 43, and the transaction data is printed in the line number item 44 (bookkeeping). The line number in the registered book is stored, the item of the transaction data is stored in the item item 45, the other item of the transaction data is stored in the opponent item 46, and the transaction occurrence date is stored in the date field 47. , The application is stored in the necessary item 48, the credit amount item 49 is stored with the credit amount or the deposit amount, and the debit amount item 50 is stored with the debit amount or the withdrawal amount.

なお、図4(b)は上記(a)の取引データの貸方項目49,借方項目50の代り貸借コード49および金額項目50を設けた例である。この場合、貸方、借方金額は貸借コード49を基に帳簿編集用作業領域に振分けられる。また、図3の説明で述べたように、帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には帳簿区分項目42,ページ項目43,行数項目44は不要である。ただし、この場合は記帳済か否かを判定するための記帳済フラグを格納する項目を設けることが望ましい。   FIG. 4B is an example in which a credit item 49 and a debit item 50 are provided instead of the credit item 49 and the debit item 50 in the transaction data of the above (a). In this case, the credit and debit amounts are distributed to the book editing work area based on the loan code 49. Further, as described in the explanation of FIG. 3, when the book management file is set as the main and the transaction data is set as the slave, and a pointer for associating the book management data with the transaction data is provided, the book classification item 42, page The item 43 and the line number item 44 are unnecessary. In this case, however, it is desirable to provide an item for storing a booked flag for determining whether or not the book has been booked.

<実施例1>
本実施例は帳簿発行管理装置100を帳簿55の特定の範囲(ゾーン)にある帳簿管理情報を読み取って帳簿55を特定し、前回の印字行の次の行(以下、今回印字行と記す)から当該帳簿に対応の取引データの内容を印字するよう構成した例であり、帳簿55を単票(表裏に記帳可能)とした例である。
<Example 1>
In this embodiment, the book issuance management apparatus 100 reads the book management information in a specific range (zone) of the book 55 to identify the book 55, and the line next to the previous print line (hereinafter referred to as the current print line). In this example, the contents of transaction data corresponding to the book are printed, and the book 55 is a single sheet (can be written on both sides).

図5は帳簿発行管理手段14の構成例を示すブロック図、図6は管理装置100の基本的動作を示すブロックフローチャート(今回印字行に既に記入されて内容を判定する場合については実施例2参照)、図7は帳簿発行管理装置100の制御構成の例を示すブロック図であり、図8は認識処理部323及び印字姿勢決定部331の構成を示すブロック図である。   FIG. 5 is a block diagram showing a configuration example of the book issuance management means 14, and FIG. 6 is a block flowchart showing the basic operation of the management apparatus 100 (see the second embodiment for the case where the contents already entered in the current print line are judged) 7 is a block diagram illustrating an example of a control configuration of the book issuance management apparatus 100, and FIG. 8 is a block diagram illustrating a configuration of the recognition processing unit 323 and the printing posture determination unit 331.

図5で、(a)は帳簿発行管理手段14の構成例を示すブロック図であり、(b)は帳簿発行管理手段14の新規登録手段145の構成を例示すブロック図、(c)は帳簿発行管理手段14再発行手段146の構成を例示すブロック図である。   5A is a block diagram illustrating a configuration example of the book issuance management unit 14, FIG. 5B is a block diagram illustrating a configuration of the new registration unit 145 of the book issuance management unit 14, and FIG. 5C is a book. 5 is a block diagram illustrating an example of the configuration of issue management means 14 and reissue means 146. FIG.

帳簿発行管理手段14は帳簿55が読取部32の読み取りスタックにセットされ、読み取られた場合には、認識処理部323からの認識結果と、格納部18の帳簿管理ファイルからの帳簿管理情報,および取引データファイルからのデータを基に、帳簿管理情報比較手段141,データ判定手段142,および記帳確認手段143により記帳処理を行う。また、帳簿55が読取部32の読み取りスタックにセットされていない場合には、取引データの入力処理か入力部20(実施例ではキーボードが相当)からの指示により新規登録手段145による帳簿の新規発行処理または再発行手段147による帳簿の無効処理および再発行処理を行う(各手段の動作詳細については、以下の説明参照))。以下、図6及び図7により説明する。   When the book 55 is set in the reading stack of the reading unit 32 and read, the book issuance management unit 14 recognizes the recognition result from the recognition processing unit 323, the book management information from the book management file in the storage unit 18, and Based on the data from the transaction data file, the book management information comparison unit 141, the data determination unit 142, and the book confirmation unit 143 perform a book process. When the book 55 is not set in the reading stack of the reading unit 32, the new registration unit 145 issues a new book by issuing transaction data input processing or an instruction from the input unit 20 (corresponding to a keyboard in the embodiment). The book invalidation process and reissue process are performed by the process or reissue means 147 (refer to the following description for details of the operation of each means). Hereinafter, description will be given with reference to FIGS.

図6のステップS1では、CPU12は操作判定手段13の実行制御を行い、読取・印字部30のコントローラ31に対し読み取りスタック確認部321でのスタック状態確認要求を行う(図7)。読取・印字部30のコントローラ31が読み取りスタック確認部321に帳簿55が読み取りスタックにあるか否かの判定を指示すると、スタック確認部321は原稿確認信号a1を帳簿情報読取部322およびCPU12に送出する。   In step S1 of FIG. 6, the CPU 12 controls the execution of the operation determination unit 13, and makes a stack state confirmation request in the reading stack confirmation unit 321 to the controller 31 of the reading / printing unit 30 (FIG. 7). When the controller 31 of the reading / printing unit 30 instructs the reading stack checking unit 321 to determine whether or not the book 55 is in the reading stack, the stack checking unit 321 sends a document checking signal a1 to the book information reading unit 322 and the CPU 12. To do.

CPU12は操作判定手段13によりa1の値を調べ、帳簿がセットされている場合にはステップS2以降に移行し、セットされていない場合には表示部40にコマンド入力要求メッセージを表示して使用者による入力部40からのコマンド入力を待つ。コマンド入力があった場合には新規登録処理要求か再発行処理要求かを判定するためにステップS21に移行する。   The CPU 12 checks the value of a1 by the operation determination means 13, and if the book is set, the process proceeds to step S2 and after. If not set, the CPU 12 displays a command input request message on the display unit 40 to display the user. Wait for command input from the input unit 40. If a command is input, the process proceeds to step S21 to determine whether the request is a new registration process request or a reissue process request.

ステップS2で、CPU12は帳簿管理情報比較手段141の実行制御を開始するが、読取・印字部30のコントローラ31の制御により並行して読取部32による1ページ目の帳簿の読み取りが開始され、帳簿情報読取部322は光学的読み取り機構により光学的に帳簿1ページ分を読み取ってイメージデータに変換し読取・印字部30の画像メモリー(図示せず)に格納する。認識処理部323では傾き検出手段1により用紙の傾きの有無を検出し、傾きのある場合にはこれを傾き補正手段2で補正してから認識処理手段3でフォーム(レイアウト)の解析、文字の切出し等の認識処理を行う(図8参照)。   In step S2, the CPU 12 starts execution control of the book management information comparison unit 141, but reading of the first page of the book by the reading unit 32 is started in parallel by the control of the controller 31 of the reading / printing unit 30. The information reading unit 322 optically reads one page of the book by an optical reading mechanism, converts it into image data, and stores it in an image memory (not shown) of the reading / printing unit 30. In the recognition processing unit 323, the inclination detecting unit 1 detects the presence / absence of the inclination of the sheet. If there is an inclination, the inclination correcting unit 2 corrects the inclination, and then the recognition processing unit 3 analyzes the form (layout) and character. Recognition processing such as clipping is performed (see FIG. 8).

認識処理は、画像メモリーの帳簿1ページ分のイメージデータについて、帳簿コード221と帳簿ページ224および再発行欄224を切出して認識辞書324を参照することにより行われる。なお、帳簿55のフォーム(レイアウト)の解析、文字の切出し及び認識等の認識処理については、例えば、特開平7−85215号(名称「文字認識装置」)に開示の手法を用いることができる。   The recognition process is performed by referring to the recognition dictionary 324 by cutting out the book code 221, the book page 224, and the reissue column 224 for image data for one page of book in the image memory. For the recognition processing such as analysis of the form (layout) of the book 55, character extraction, and recognition, for example, the technique disclosed in Japanese Patent Laid-Open No. 7-85215 (name “character recognition device”) can be used.

ステップS3,S4で、認識処理部323からの認識結果を受け取ったCPU12は帳簿管理情報比較手段141によりその認識結果を内部メモリー17に記憶させると共に、格納部18の帳簿管理ファイルから帳簿管理レコード60を順次読み出して、受け取った帳簿コード221と帳簿管理レコード60の帳簿区分61のデータとを比較する。   In steps S3 and S4, the CPU 12 that has received the recognition result from the recognition processing unit 323 causes the book management information comparison unit 141 to store the recognition result in the internal memory 17 and from the book management file in the storage unit 18 to the book management record 60. Are sequentially read and the received book code 221 is compared with the data of the book classification 61 of the book management record 60.

全ての管理情報レコードの帳簿区分61に書込まれたデータと受け取った帳簿コードが一致しない場合か、データとコードが一致しても当該管理情報レコード60の再発行項目68の該当ページの再発行回数と受け取った再発行欄224の再発行回数と比較し、一致しない場合には無効帳簿としてステップS41に移行する(管理情報レコードの再発行項目68の該当ページの再発行回数が0の場合で、受け取った再発行欄224の再発行回数がスペースまたは0でない場合も不一致とする)。   Reissue of the corresponding page of the reissue item 68 of the management information record 60 when the data written in the book classification 61 of all the management information records and the received book code do not match or even if the data and code match The number of times is compared with the number of reissues in the received reissue column 224. If they do not match, the process proceeds to step S41 as an invalid book (when the number of reissues of the corresponding page of the reissue item 68 of the management information record is 0) Also, if the number of reissues in the received reissue field 224 is not a space or 0, it will be inconsistent).

ある管理情報レコード60の帳簿区分61に書込まれたデータと受け取った帳簿コードが一致し、かつその管理情報レコードの最終印字ページ項目64に書込まれたページ数が受け取った帳簿ページ数以上であり、且つ、再発行回数が一致する場合には当該一致の帳簿管理レコード60を内部メモリー17に保持させて、帳簿55を有効帳簿としてステップS5に移行する。   The data written in the book classification 61 of a certain management information record 60 matches the received book code, and the number of pages written in the last print page item 64 of the management information record is equal to or greater than the number of book pages received. If there is a match and the number of reissues matches, the matching book management record 60 is held in the internal memory 17, and the book 55 is set as a valid book and the process proceeds to step S5.

ステップS5,S6で、データ判定手段142は、先ず、帳簿や取引データファイルのデータの変更の有無(即ち、帳簿に記載すべき取引データの有無)を調べる(S5)。記載すべき取引データがない場合には当該帳簿の排出指示をコントローラ31を介して印字部33に与えて当該帳簿の処理を終了すると共に、その旨のメッセージを表示部40の画面に表示して当該帳簿の処理を終了する。記載すべき取引データがある場合にはステップS7に移行する(S6)。   In steps S5 and S6, the data determination unit 142 first checks whether or not the data in the book or transaction data file has been changed (that is, whether or not there is transaction data to be written in the book) (S5). When there is no transaction data to be described, an instruction to discharge the book is given to the printing unit 33 via the controller 31 to end the processing of the book, and a message to that effect is displayed on the screen of the display unit 40. The book processing ends. If there is transaction data to be described, the process proceeds to step S7 (S6).

帳簿55に記載すべき取引データの有無判定の例として、データ判定手段142を帳簿の帳簿コード221と取引データ41の科目コードとを対応させるテーブルを持つよう構成し、検索条件を帳簿コード221と取引データ41の科目コード45が対応し、且つ、取引データ41のページ数項目43(或いは行数項目44)にデータがあること(即ち、ページ数項目43(或いは行数項目44)がスペースあるいはゼロでないこと)として、取引データを日付順に検索し、該当データなしの場合を帳簿に記載すべき取引データなしと判定する(処理の終了)。取引データの検索途中で、取引データ41のページ数項目43(或いは行数項目44)にデータがあった場合には記載すべき取引データありとすることができる(S7に移行)。   As an example of the presence / absence determination of transaction data to be described in the book 55, the data determination means 142 is configured to have a table that associates the book code 221 of the book with the item code of the transaction data 41, and the search condition is the book code 221. The subject code 45 of the transaction data 41 corresponds, and there is data in the page number item 43 (or line number item 44) of the transaction data 41 (that is, the page number item 43 (or line number item 44) is a space or The transaction data is searched in order of date, and it is determined that there is no transaction data to be entered in the book (end of processing). If there is data in the page number item 43 (or the line number item 44) of the transaction data 41 during the transaction data search, it can be determined that there is transaction data to be described (transition to S7).

なお、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、取引データ41の記帳済みフラグを参照して帳簿に記載すべき取引データの有無を判定するように構成する。   In addition, as described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the subordinate, and the pointer for associating the transaction data with the book management data is provided, the transaction data 41 is already recorded. With reference to the flag, it is configured to determine whether there is transaction data to be written in the book.

ステップS7,S8では、記帳確認手段143により取引データファイルの変更内容を帳簿に反映可能か否かの確認を行う。すなわち、単に、当該帳簿の今回印字行から順次取引データの内容を印字して記帳することができるか、或いは訂正取引データや遡及記入取引データの存在により、帳簿の再発行を要するかを判定するため、取引データファイルに訂正取引データや遡及記入取引データが存在しているかを判定し、その取引データを編集して表示部40に送り、確認を促すメッセージと共に画面表示してステップS81に移行し、存在していない場合にはステップS9に移行する。   In steps S7 and S8, the book entry confirmation unit 143 confirms whether or not the changed contents of the transaction data file can be reflected in the book. That is, it is determined whether the contents of transaction data can be printed and recorded sequentially from the current print line of the book or whether the book needs to be reissued due to the presence of correction transaction data or retroactive transaction data. Therefore, it is determined whether the corrected transaction data or retroactive transaction data exists in the transaction data file, the transaction data is edited, sent to the display unit 40, displayed on the screen together with a confirmation message, and the process proceeds to step S81. If it does not exist, the process proceeds to step S9.

訂正取引データや遡及記入取引データの存在の有無判定の例として、上記ステップS6での取引データの検索途中で、取引データ41のページ数項目43(或いは行数項目44)にデータがある場合に、その取引データの取引日(年月日項目47の内容)を調べ、その日付がメモリー17に保持された帳簿管理レコード60の前回印字月日項目67の日付以前の場合には、前回記帳後に修正処理により仕訳ファイルのデータ訂正や遡及データの追加があったものと判定し、また、取引データの取引日が前回印字月日項目67の日付の次の日以降の場合には、当該帳簿に追記することができるものと判定する(S9に移行)。   As an example of the presence / absence determination of corrected transaction data and retroactive transaction data, when there is data in the page number item 43 (or the line number item 44) of the transaction data 41 during the transaction data search in step S6. Then, the transaction date of the transaction data (the contents of the year / month / day item 47) is checked. If the date is before the date of the previous print month / day item 67 of the book management record 60 held in the memory 17, If it is determined that the data in the journal file has been corrected or retroactive data has been added by the correction process, and if the transaction date of the transaction data is after the date following the date of the previous printing month / day item 67, it is stored in the book. It is determined that additional writing is possible (shift to S9).

ステップS9では、制御を記帳確認手段143の実行に移し、該当する取引データ41について順次その記録内容を当該帳簿の各記入項目に対応させて内部メモリー17の帳票データ用作業領域に記憶して、1ページ分のデータがそろった場合に印字部33に帳票データ用作業領域の内容を送出する(送出後、帳票データ用作業領域の内容はクリアされる)。また、帳簿管理ファイル60の記録内容を更新し記帳後の取引データ41のページ数項目43(或いは行数項目44)にその取引データを記帳した帳簿のページおよび行を記録する。帳簿管理ファイル60の更新は前回印字月日以後の該当する取引データについて記帳が終了した後、帳簿管理レコード60の最終印字ページ項目64,最終印字行項目65,前回印字月日項目67について行う。印字部33は受け取ったデータをイメージ化して印字(記帳)する。また、記帳する取引データの数が帳簿の残存行数を超える場合には新規帳簿用紙への記入のためにステップS22に移行する。また、取引データの数が帳簿の残存行数以内の場合には帳簿記帳後に処理を終了し、ステップS1に戻る。   In step S9, control is transferred to the execution of the book check means 143, and the recorded contents of the corresponding transaction data 41 are sequentially stored in the form data work area of the internal memory 17 corresponding to each entry of the book. When the data for one page is ready, the contents of the work area for form data are sent to the printing unit 33 (the contents of the work area for form data are cleared after sending). Further, the recorded contents of the book management file 60 are updated, and the page and line of the book in which the transaction data is recorded are recorded in the page number item 43 (or the line number item 44) of the transaction data 41 after the book entry. The book management file 60 is updated for the last print page item 64, the last print line item 65, and the last print month date item 67 of the book management record 60 after the entry of the corresponding transaction data after the previous print month and date is completed. The printing unit 33 prints the received data as an image. If the number of transaction data to be booked exceeds the number of remaining lines in the book, the process proceeds to step S22 to fill in a new book sheet. On the other hand, if the number of transaction data is less than the number of remaining lines in the book, the process is terminated after bookkeeping and the process returns to step S1.

なお、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、帳簿管理ファイル60の記録内容の更新時に記帳済みフラグを記載済とするようステップS9を構成する。   As described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the slave, and the pointer for associating the book management data with the transaction data is provided, the record in the book management file 60 is recorded. Step S9 is configured so that the booked flag is described when the content is updated.

ステップS21では、操作判定手段13が入力部20からの処理指示入力を待ち、指示入力があった場合には新規帳簿の登録処理要求か判定し、新規帳簿の登録処理要求の場合にはステップS22に移行し、そうでない場合にはステップS31に移行する。   In step S21, the operation determination means 13 waits for a processing instruction input from the input unit 20, and if there is an instruction input, determines whether it is a new book registration processing request, and if it is a new book registration processing request, step S22. If not, the process proceeds to step S31.

ステップS22では、新規登録手段145(図5(b)参照)に制御が移され、帳簿情報登録手段145ー1により表示部40の画面に使用者に読み取りスタックへの新しい帳簿用紙のセットを促すメッセージおよび帳簿の種類の入力を促すメッセージを表示し、帳簿用紙がセットされ、帳簿の種類(コード)が入力されると、帳簿管理ファイルに初期値(帳簿区分、年度、印字ページ、印字行数=0、発行年月日、前回印字月日=0)をセットした新しい帳簿管理レコード60を登録する。登録後に記帳登録手段145ー2は内部メモリー17の帳票データ用作業領域に帳簿管理情報(帳簿コード、帳簿名、年度、発行月日等)を記憶し、1ページ分のデータがそろった場合に印字部33に帳票データ用作業領域の内容を送出する(送出後、帳票データ用作業領域の内容はクリアされる)。印字部33は受け取ったデータをイメージ化し、帳簿用紙上に印字(記帳)する。なお、新規帳簿登録処理が終了した後で制御をステップS9に移行するよう構成することが望ましい(これにより、帳簿に記入する取引データが何ページ分もある場合の操作効率が向上する)。   In step S22, control is transferred to the new registration unit 145 (see FIG. 5B), and the book information registration unit 145-1 prompts the user to set a new book sheet on the reading stack on the screen of the display unit 40. When a message prompting you to enter the message and book type is displayed, the book form is loaded, and the book type (code) is entered, the initial values (book category, year, print page, number of print lines) are entered in the book management file. = 0, date of issue, date of previous printing = 0), a new book management record 60 is registered. After registration, the book registration means 145-2 stores the book management information (book code, book name, year, date of issue, etc.) in the work area for the form data in the internal memory 17, and when one page of data is available. The contents of the work area for form data are sent to the printing unit 33 (the contents of the work area for form data are cleared after sending). The printing unit 33 converts the received data into an image and prints (books) it on a book sheet. It should be noted that the control is preferably shifted to step S9 after the new book registration process is completed (this improves the operation efficiency when there are many pages of transaction data to be entered in the book).

ステップS31では、操作判定手段13が入力部20からの処理指示入力を待ち、指示入力があった場合には帳簿の再発行要求か否かを判定し、帳簿の再発行処理要求の場合にはステップS33に移行し、そうでない場合には処理を終了する。   In step S31, the operation determination means 13 waits for a processing instruction input from the input unit 20, and if there is an instruction input, determines whether or not it is a book reissue request, and if it is a book reissue request, The process proceeds to step S33, and if not, the process ends.

ステップS33では、再発行手段147(図5(c)参照)に制御が移され、帳簿特定手段147ー1により表示部40の画面に再発行すべき帳簿の種類とそのページ数の入力を促すメッセージを表示させ、入力部20からの入力を待つ。入力があると、入力された帳簿の種類とそのページ数をキーとして格納部18の帳簿管理ファイルを検索し、帳簿管理レコード60の前回印字月日と最終印字ページ数および最終印字行を取り出す。なお、指定したページが再発行されたページの場合には最終印字ページ数と一致しない場合があるが、その場合には再発行項目18の再発行ページ数との一致をとる。   In step S33, control is transferred to the reissuing means 147 (see FIG. 5C), and the book specifying means 147-1 prompts the screen of the display unit 40 to input the type of book to be reissued and the number of pages. A message is displayed, and input from the input unit 20 is waited for. When there is an input, the book management file in the storage unit 18 is searched using the entered book type and the number of pages as a key, and the previous print month and date, the last print page number, and the last print line of the book management record 60 are extracted. If the designated page is a reissued page, it may not match the final number of printed pages. In this case, it matches the number of reissued pages in the reissue item 18.

帳簿無効化手段147−2は帳簿管理レコード60の再発行項目68を調べ、再発行項目68の中に当該帳簿の再発行履歴が記録されている場合にはその回数を更新し、記録されていない場合には、新たに再発行ページと回数(=1)を書込む。これにより、例えば、再発行後紛失していた前回の帳簿が見つかって、管理装置100で記帳処理しようとしても再発行回数が異なるのでその帳簿はステップS3,S4で無効帳簿とされ、後述のステップS41でその帳簿上に無効マークが印字されることになり、失効帳簿への記入等の誤りを防止できる。次に、帳簿特定手段147−1により前回印字月日と最終印字ページ数および最終印字行が取り出せた場合には、登録・記帳手段147−3によりそれらをキーとして取引データファイルを検索し、前回の最終印字行に記帳した取引データを特定し、帳簿コード,帳簿名称,ページ数,および更新された発行回数(初めての場合は発行回数=1)等の帳簿情報を内部メモリー17の帳簿データ用作業領域の対応の位置に記憶させる。その後、次の行数=帳簿の最大行数−当該行数として、行数をセットしてその行数および前回印字月日と最終印字ページ数をキーとして取引データファイルを検索し、1行上の行に記帳した取引データを特定し、上記テーブルの当該行に編集して記憶する。この動作を繰返して、帳簿用紙の第1行目までをテーブルに編集して記憶した後、上記作業領域の内容を表示部40および印字部33に送出する。表示部40では画面表示用に編集された再発行帳簿の内容を閲覧しフォーマットで表示する。使用者が画面に表示された帳簿内容を確認し、入力部20による確認入力を行うと、CPU12は帳簿再発行指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し上記受け取った帳簿データの出力を指示し、印字機構332はイメージ化されたデータを帳簿用紙上に印字(記帳)する。   The book invalidation means 147-2 checks the reissue item 68 of the book management record 60. If the reissue history of the book is recorded in the reissue item 68, the number of times is updated and recorded. If not, a new reissue page and the number of times (= 1) are written. Thus, for example, even if the previous book that was lost after reissuing is found and the management device 100 tries to book, the number of reissuing is different, so that the book is invalidated in steps S3 and S4. In S41, an invalid mark is printed on the book, and errors such as entry in the invalid book can be prevented. Next, when the previous printing month and date, the number of the last printed pages, and the last printed line can be taken out by the book specifying means 147-1, the transaction data file is searched by using the registration / bookkeeping means 147-3 as a key. The transaction data recorded in the last print line is specified, and the book information such as book code, book name, number of pages, and updated number of issuances (the number of times of issuance = 1 for the first time) is used for the book data in the internal memory 17 Store at the corresponding position in the work area. After that, set the number of lines as the next number of lines = maximum number of lines in the book-the number of lines concerned, search the transaction data file using the number of lines, the previous print date and the last print page number as a key, and go up one line The transaction data recorded in the row is specified, edited and stored in the row of the above table. This operation is repeated until the first line of the book sheet is edited and stored in the table, and the contents of the work area are sent to the display unit 40 and the printing unit 33. The display unit 40 browses and displays the contents of the reissued book edited for screen display in a format. When the user confirms the book contents displayed on the screen and performs confirmation input by the input unit 20, the CPU 12 sends a book reissue instruction to the controller 31 of the reading / printing unit 30. The controller 31 instructs the printing mechanism 332 to output the received book data, and the printing mechanism 332 prints (books) the imaged data on the book paper.

ステップS41では、読取部32で読み取った帳簿が無効帳簿であることを、目視により一見して明らかにするため、読み取った無効帳簿上に無効マークを印字する。このため、帳簿管理情報比較手段141はCPU12を介して帳簿無効印字指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し無効マークの出力を指示し、印字機構332は帳簿用紙上の指定位置(出力フォーマットにより規定)に無効マークのイメージを印字する。   In step S41, an invalid mark is printed on the read invalid book in order to visually reveal that the book read by the reading unit 32 is an invalid book. For this reason, the book management information comparison unit 141 sends a book invalid print instruction to the controller 31 of the reading / printing unit 30 via the CPU 12. The controller 31 instructs the printing mechanism 332 to output an invalid mark, and the printing mechanism 332 prints the invalid mark image at a specified position (specified by the output format) on the book sheet.

ステップS81では読取部32で読み取った帳簿が記載内容の変更が必要であるため無効処理した帳簿であることを、目視により一見して明らかにするため、読み取った無効帳簿上に無効マークを印字する。このため、記帳確認手段143はCPU12を介して帳簿無効印字指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し無効マークの出力を指示し、印字機構332は帳簿用紙上の指定位置に無効マークのイメージを印字する。   In step S81, an invalid mark is printed on the read invalid book so that it is clear at a glance that the book read by the reading unit 32 is an invalid book because it is necessary to change the description. . Therefore, the book entry confirmation unit 143 sends a book invalid print instruction to the controller 31 of the reading / printing unit 30 via the CPU 12. The controller 31 instructs the printing mechanism 332 to output an invalid mark, and the printing mechanism 332 prints an invalid mark image at a designated position on the book sheet.

ステップS82では、取引データファイル41上の訂正取引データや遡及記入取引データ(取引データの年月日項目47の値が帳簿管理レコード60の前回印字月日項目67の値未満で、かつ、取引データ41のページ数項目43(或いは行数項目)にページ数或いは行数が記録されていない取引データ)のうち最も月日項目44の値が小さい取引データのページ数項目43のページ数を読み取って、そのページ分から帳簿を再発行する。   In step S82, the corrected transaction data or retroactive transaction data on the transaction data file 41 (the value of the date 47 item of the transaction data is less than the value of the previous print date item 67 of the book management record 60, and the transaction data The page number of the page number item 43 of the transaction data having the smallest value of the month / day item 44 out of the 41 page number item 43 (or transaction data in which the number of lines is not recorded in the line number item) is read. , Reissue the book from that page.

この場合、帳簿コード,帳簿名称,ページ数,および更新した発行回数を更新してメモリー17の帳簿データ用作業領域の対応の位置に記憶させると共に、当該取引月日の前で直近の取引データがある場合にはページ数項目43から当該ページの1ページ以降のデータについて順次そのデータをメモリー17の帳簿データ用作業領域の対応の行に記憶させ、その直近の日の取引データについての処理が終った後に、続く行から当該取引付日以降の取引データについて、順次そのデータをメモリー17の帳簿データ用作業領域の該当行に記憶させると共に、取引レコード41のページ数項目43の内容を更新する。記帳する取引データの数が帳簿の残存行数を超える場合には帳簿の更新のために帳簿データ用作業領域のデータを印字部33に送出する(帳簿データ用作業領域のデータはクリアされる)。印字部33は帳簿用紙上に送られてきたデータをイメージ化して印字することにより更新帳簿を発行する。   In this case, the book code, the book name, the number of pages, and the updated number of issuances are updated and stored in the corresponding positions in the work area for book data in the memory 17, and the latest transaction data is displayed before the transaction date. If there is, the data for page 1 and subsequent pages from the page number item 43 is sequentially stored in the corresponding row of the book data work area in the memory 17, and the processing for the transaction data for the most recent day is completed. After that, the transaction data from the following line on and after the transaction date is stored in the corresponding line in the work area for book data in the memory 17 and the contents of the page number item 43 of the transaction record 41 are updated. When the number of transaction data to be booked exceeds the number of remaining lines in the book, the book data work area data is sent to the printing unit 33 to update the book (the book data work area data is cleared). . The printing unit 33 issues an updated book by converting the data sent on the book paper into an image and printing it.

次に、ページ数に1を加えてから、続く取引データについて順次その記録内容をメモリー17の帳簿データ用作業領域の1行目から順に記憶させると共に、仕訳レコード60のページ数項目43の内容を更新する。記帳する取引データの数が帳簿の残存行数を超える場合には帳簿の更新のために帳簿データ用作業領域のデータを印字部33に送出する(帳簿データ用作業領域のデータはクリアされる)。印字部33は帳簿用紙上に送られてきたデータをイメージ化して印字することにより更新帳簿を発行する。この動作を繰返して記帳した最後の取引データの行が帳簿の最大行数以内になった場合には、該当の帳簿管理レコード60の最終印字ページ項目64,最終印字行項目65,前回印字月日項目67,及び再発行項目68の再発行ページおよび再発行回数を更新して処理を終了する。   Next, after adding 1 to the number of pages, the recorded contents of subsequent transaction data are sequentially stored from the first line of the book data work area of the memory 17 and the contents of the page number item 43 of the journal record 60 are stored. Update. When the number of transaction data to be booked exceeds the number of remaining lines in the book, the book data work area data is sent to the printing unit 33 to update the book (the book data work area data is cleared). . The printing unit 33 issues an updated book by converting the data sent on the book paper into an image and printing it. If the last transaction data line recorded by repeating this operation falls within the maximum number of lines in the book, the last print page item 64, the last print line item 65, the last print date of the book management record 60 are displayed. The reissue page and the reissue number of the item 67 and the reissue item 68 are updated, and the process ends.

また、上記ステップS41,S81で印字部33が無効帳簿にマークを印字するものとしたが、マークの印字に限られることなく、例えば、帳簿上に「無効帳簿」と拡大文字で印字するようにしてもよい。   In addition, the printing unit 33 prints a mark on the invalid book in steps S41 and S81. However, the mark is not limited to the printing of the mark. May be.

また、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、ステップS82での取引ファイルのページ数項目43の参照および更新に関する処理は不要となる。 Further, as described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the subordinate, and a pointer for associating the book management data with the transaction data is provided, the transaction file in step S82 The processing relating to the reference and update of the page number item 43 is unnecessary.

なお、印字姿勢決定部331は図8(b)に示すように前述した傾き検出手段1により検出された傾きだけ出力データの印字位置情報を補正する印字位置情報補正手段6を含んでおり、印字位置情報補正手段6は用紙がだけ傾いているときその規定用紙のそれぞれの開始座標(x,y)および終了座標(x+a,y)を補正する。また、印字姿勢補正手段7は帳簿55が傾きθだけ傾いている場合に、出力バッファ(図示せず)でθだけ回転させたイメージデータ(文字のドットイメージ)を印字機構332に送る。これによりイメージデータは帳簿の傾きに合ったドットイメージとして出力されるので、帳簿55のを傾きゼロにした場合にもデータを正しい姿勢で印字できる。本実施例の認識処理部323および印字姿勢決定部331の構成及び動作については、本案出願人が平成7年8月16日に出願した「印字位置決定機能付プリンタ」(特願平7−232021号)に開示の手法を用いることができる。   As shown in FIG. 8B, the printing posture determination unit 331 includes a printing position information correction unit 6 that corrects the printing position information of the output data by the inclination detected by the inclination detection unit 1 described above. The position information correcting unit 6 corrects the start coordinates (x, y) and end coordinates (x + a, y) of the specified sheet when the sheet is inclined only. Further, when the book 55 is inclined by the inclination θ, the printing posture correction means 7 sends image data (character dot image) rotated by θ in an output buffer (not shown) to the printing mechanism 332. As a result, the image data is output as a dot image that matches the inclination of the book, so that the data can be printed in a correct posture even when the book 55 is tilted to zero. Regarding the configuration and operation of the recognition processing unit 323 and the print orientation determination unit 331 of the present embodiment, the “printer with print position determination function” filed on August 16, 1995 by the applicant of the present invention (Japanese Patent Application No. 7-232021). No.) can be used.

<実施例2>
本実施例は、帳簿発行管理装置100が帳簿55上の今回印字行の記入内容を判定する例であり、図1〜図6については本実施例にそのまま適用できるので説明を省略する。
<Example 2>
The present embodiment is an example in which the book issuance management apparatus 100 determines the entry contents of the current print line on the book 55. Since FIGS. 1 to 6 can be applied to the present embodiment as they are, description thereof will be omitted.

本実施例では図7のステップS7以降の動作が実施例1の場合と異なる。実施例1ではステップS7において、記帳確認手段143により取引データの変更内容を帳簿に反映可能か否かの確認を行う場合に、訂正取引データや遡及記入取引データの存在による帳簿の更新発行の必要性の判定及び更新処理を行い、訂正取引データや遡及記入取引データが存在がない場合には単に、当該帳簿の今回印字行から順次取引データの内容を印字して記帳することができるものとして記帳処理を行なっているが、本実施例では訂正取引データや遡及記入取引データの存在がない場合にも当該帳簿の今回印字行に手書き(或いは印字)による記帳がされているか否かの判定とその判定結果に基づく処理を行う。 In the present embodiment, the operation after step S7 in FIG. 7 is different from that in the first embodiment. In the first embodiment, it is necessary to issue an update of the book due to the presence of the corrected transaction data or retroactive transaction data when it is confirmed in the step S7 by the book confirmation means 143 whether or not the transaction data changes can be reflected in the book. If there is no correction transaction data or retroactive transaction data, the transaction data will be printed and recorded sequentially from the current print line of the book. In this embodiment, even if there is no correction transaction data or retroactive transaction data, it is determined whether or not a handwritten (or printed) entry has been made in the current print line of the book. Processing based on the determination result is performed.

図9は、図7のステップS6で訂正取引データや遡及記入取引データの存在がない場合の本実施例による動作例を示すフローチャートである。図9のステップS6−10の判定で訂正取引データや遡及記入取引データが存在する場合にはステップS8に移行し、存在しない場合にはステップS6−11に移行する。   FIG. 9 is a flowchart showing an operation example according to this embodiment when there is no corrected transaction data or retroactive transaction data in step S6 of FIG. If correction transaction data or retroactive transaction data exists in the determination in step S6-10 of FIG. 9, the process proceeds to step S8, and if not, the process proceeds to step S6-11.

ステップS6−11では、CPU12はコントローラ31を介して読取部32に対し帳簿の今回印字行j以降の文字認識指示を出す。読取部32は認識処理部323により帳簿イメージデータから帳簿のj行を切出して、順次文字認識して結果をCPU12に送出する。   In step S <b> 6-11, the CPU 12 issues a character recognition instruction after the current print line j of the book to the reading unit 32 via the controller 31. The reading unit 32 extracts j lines of the book from the book image data by the recognition processing unit 323, sequentially recognizes characters, and sends the result to the CPU 12.

ステップS6−12で、認識結果である取引の発生月日、摘要,貸方金額または借方金額と、対応する取引データの年月日項目47,貸方金額項目49,および借方金額項目50の内容との比較を行い、いずれか1つでも異なっている場合には、ステップS6ー13に移行する。一致している場合には認識結果を編集して原稿イメージの作業領域の当該行対応位置に記憶させ、次の行について同様の比較を繰返す。   In step S6-12, the transaction occurrence date, description, credit amount or debit amount as a recognition result and the contents of the corresponding transaction data date item 47, credit amount item 49, and debit amount item 50 If any one of the comparisons is different, the process proceeds to step S6-13. If they match, the recognition result is edited and stored at the corresponding position in the original image work area, and the same comparison is repeated for the next line.

ステップS6−13ではその行が未記入行(スペース)か否かを確認し、未記入行の場合にはS9に移行し、そうでない場合にはS81の更新帳簿発行処理に移行する。   In step S6-13, it is confirmed whether or not the line is an unfilled line (space). If it is an unfilled line, the process proceeds to S9, and if not, the process proceeds to an update book issuing process in S81.

本発明の帳簿発行管理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the book issue management apparatus of this invention. 帳簿の例である。It is an example of a book. 帳簿管理レコードの構成例を示す図である。It is a figure which shows the structural example of a book management record. 取引データの構成例を示す図である。It is a figure which shows the structural example of transaction data. 帳簿発行管理手段の構成を示すブロック図である。It is a block diagram which shows the structure of a book issue management means. 帳簿発行管理装置の基本的な動作を示すブロックフローチャートである。It is a block flowchart which shows the basic operation | movement of a book issue management apparatus. 図1の帳簿発行管理装置の一実施例を示すブロック図である。It is a block diagram which shows one Example of the book issue management apparatus of FIG. 認識処理部および印字姿勢決定部の構成例を示すブロック図である。It is a block diagram which shows the structural example of a recognition process part and a printing attitude | position determination part. 図6のブロックフローチャートの他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of the block flowchart of FIG.

符号の説明Explanation of symbols

11 制御部
12 CPU
14 帳簿発行管理手段
17 内部メモリー
18 格納部
10 コンピュータ本体
20 入力部
30 読取・印字部
31 コントローラ
32 読取部
33 印字部
40 表示部
41 取引データ
47 取引発生年月日
55 帳簿
60,60 帳簿管理レコード
64 最終印字ページ(最終記帳ページ)
65 最終印字行(最終記帳行)
67 前回印字月日
68 再発行項目
100 管理装置
141 帳簿管理情報比較手段
142 データ判定手段
143 記帳確認手段
145 新規登録手段
147 再発行手段
221 帳簿コード(帳簿管理情報;再発行情報)
224 ページ(帳簿管理情報;再発行情報)
224 再発行回数(帳簿管理情報;再発行情報)
323 認識処理部
331 印字姿勢決定部
11 Control unit
12 CPU
14 Book issue management means
17 Internal memory
18 Storage
10 Computer body
20 Input section
30 Reading / printing section
31 controller
32 Reading unit
33 Printing section
40 display section
41 Transaction data
47 Date of transaction
55 books
60,60 book management record
64 Last printed page (last entry page)
65 Last print line (last book line)
67 Last printing date
68 Reissue items
100 management device
141 Book management information comparison means
142 Data judging means
143 Booking confirmation means
145 New registration means
147 Reissue means
221 book code (book management information; reissue information)
224 pages (book management information; reissue information)
224 Number of reissues (book management information; reissue information)
323 Recognition processing unit
331 Print orientation determination unit

Claims (5)

CPUと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有するコンピュータ本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を前記本体に送出する認識処理部を含む読取部と、印字機構を有し、前記本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、前記制御部の制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、前記本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理方法であって、
前記コンピュータ本体に、下記(1)から(5)に記載のステップを実行させることを特徴とする帳簿管理発行方法;
(1)読み取った帳簿の認識結果を基に帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照するステップと、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較するステップと、からなるステップと、上記比較結果が一致しない場合には、前記読み取った帳簿上に無効印字処理を行うステップ;
(2)上記認識結果を基に取引データファイル上の上記読み取った帳簿に対応する取引データを参照するステップと、未記帳の取引データの有無を判定するステップと、からなるステップ;
(3)未記帳の取引データがあった場合に、上記読み取った帳簿に上記未記帳の取引データの記帳が可能か否かを確認するステップと、記帳可能な場合には該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なうステップと、記帳が不可能な場合には前記読み取った帳簿上に無効印字処理を行なうステップと、新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うと共に帳簿管理ファイルを更新するステップと、からなるステップ;
(4)新たな帳簿の発行或いは帳簿のページ替えのために帳簿管理情報を記帳し帳簿管理レコード上の帳簿管理情報の更新処理を行うステップ;
(5)入力装置からの帳簿再発行情報により、該帳簿再発行情報に基づいて帳簿管理ファイルを参照するステップと、対応の帳簿管理レコード上の帳簿管理情報の更新処理を行い、前記読み取った帳簿に対応する帳簿の発行処理を行うステップ。
A computer main body having a CPU, an internal memory, a storage unit storing at least a book management file and a transaction data file, and a storage unit for writing / reading information to / from the storage medium; An optical reading mechanism that optically reads a form including the image and converts it into image data, and a reading unit including a recognition processing unit that cuts out a predetermined area from the image data, performs character recognition processing, and sends a recognition result to the main body And a printing unit that has a printing mechanism and performs bookkeeping by converting the book registration information and / or transaction data received from the main body into image data and printing it on the book, and under the control of the control unit An input unit for inputting an instruction relating to book issuance or transaction data, and book management information and / or transaction data received from the main body. A book issuing management method in carrying issuing management device including a display unit for screen display of,
A book management issuance method characterized by causing the computer main body to execute the following steps (1) to (5);
(1) A step of referring to a book management record corresponding to the read book in the book management file based on a recognition result of the read book, book management information described in the read book, and the book management record A step of comparing the book management information with each other and a step of performing an invalid printing process on the read book if the comparison result does not match with the step comprising:
(2) A step comprising: referring to transaction data corresponding to the read book on the transaction data file based on the recognition result; and determining whether or not there is unrecorded transaction data;
(3) When there is unrecorded transaction data, a step of confirming whether or not the unrecorded transaction data can be recorded in the read book; A step of performing a bookkeeping process from the next line of the bookkeeping line, a step of performing an invalid printing process on the read book if the bookkeeping is impossible, a registration of book management information on a new book sheet, and Performing a transaction processing of transaction data after the date of occurrence of unrecorded transaction data and updating a book management file;
(4) A step of recording the book management information for issuing a new book or changing the page of the book and updating the book management information on the book management record;
(5) By referring to the book reissue information from the input device, referring to the book management file based on the book reissue information, updating the book management information on the corresponding book management record, and reading the book A step of issuing a book corresponding to
請求項1に記載の帳簿発行管理方法において、前記(3)のステップが、
a;未記帳の取引データがあった場合に、上記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認するステップと、
b;記帳が不可能な場合には前記読み取った帳簿上に無効印字処理を行ない新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うステップと、
c;記帳可能な場合には読取部の認識処理部に該読み取った帳簿の前回記帳行の次の行の認識処理を行わせるステップと、
d;前記認識結果を基に取引データファイル上の該読み取った帳簿に対応する取引データを参照し、上記cの認識処理結果と対応する取引データとを比較して一致する場合には、次の行の認識のために上記cのステップに戻るステップと、
からなるステップである、ことを特徴とする帳簿管理発行方法。
The book issue management method according to claim 1, wherein the step (3) includes:
a; a step of confirming whether or not the unbooked transaction data can be recorded in the read book when there is unrecorded transaction data;
b: When it is impossible to book, the invalid printing process is performed on the read book, the book management information is registered on the new book sheet, and the transaction data is recorded after the transaction data generation date of the unrecorded book Steps,
c; causing the recognition processing unit of the reading unit to perform a recognition process for the next line of the previous book line of the read book, if possible.
d; referring to the transaction data corresponding to the read book on the transaction data file based on the recognition result, and comparing the recognition processing result of c and the corresponding transaction data, Returning to step c above for line recognition;
A book management issuing method characterized by comprising the steps of:
コンピュータと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有する本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を前記本体に送出する認識処理部を含む読取部と、印字機構を有し、前記本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、前記コンピュータの制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、前記本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理プログラムであって、
前記帳簿発行管理装置のコンピュータに、
前記読取部からの読み取った帳簿の認識結果を基に、前記帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照し、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較する機能と、
上記比較結果が一致しない場合には、前記印字機構を制御して前記読み取った帳簿上に無効印字処理を行わせる機能と、
前記認識結果を基に取引データファイル上の前記読み取った帳簿に対応する取引データを参照し、未記帳の取引データの有無を判定する機能と、
上記判定により、未記帳の取引データがあった場合に、前記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認する機能と、記帳可能な場合には前記印字部を制御して該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なわせる機能と、記帳が不可能な場合には前記印字部を制御して前記読み取った帳簿上に無効印字処理を行なわせてから新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行なわせると共に帳簿管理ファイルを更新する機能と、
新たな帳簿の発行或いは帳簿のページ替えのために前記印字部を制御して帳簿管理情報を記帳させると共に帳簿管理レコード上の帳簿管理情報の更新処理を行う機能と、
入力装置からの帳簿再発行情報に基づいて帳簿管理ファイルを参照し、対応する帳簿管理レコード上の帳簿管理情報の更新処理を行い、前記読み取った帳簿に対応する帳簿の発行処理を行う機能と、
を実行させる帳簿発行管理プログラム。
A main body having a computer, an internal memory, a storage unit storing at least a book management file and a transaction data file, and a storage unit for writing / reading information to / from the storage medium; An optical reading mechanism for optically reading a form and converting it into image data; a reading unit including a recognition processing unit for cutting out a predetermined area from the image data, performing character recognition processing, and sending a recognition result to the main body; A printing unit that has a printing mechanism and converts the book registration information and / or transaction data received from the main body into image data and prints it on the book, and book issuance under the control of the computer An input section for inputting instructions or transaction data, and book management information and / or transaction data received from the main body. A book issuing management program in carrying issuing management device including a display unit for screen display of,
In the computer of the book issue management device,
Based on the recognition result of the book read from the reading unit, the book management record corresponding to the read book in the book management file is referred to, and the book management information and the book management described in the read book A function to compare the book management information on the record;
If the comparison results do not match, a function for controlling the printing mechanism to perform an invalid printing process on the read book;
A function of referring to the transaction data corresponding to the read book on the transaction data file based on the recognition result, and determining the presence or absence of unrecorded transaction data;
Based on the above determination, when there is unrecorded transaction data, a function for confirming whether or not the unrecorded transaction data can be recorded in the read book, and if it can be recorded, the printing unit is controlled. And a function for performing the book-recording process from the line following the previous book line of the read book, and if the book is not possible, the print unit is controlled to perform invalid print processing on the read book. A function for registering the book management information on a new book form and performing the bookkeeping process of the transaction data after the date of occurrence of the unbooked transaction data and updating the book management file;
A function of controlling the printing unit to issue a new book or change the page of the book to record the book management information and update the book management information on the book management record;
A function of referring to the book management file based on the book reissue information from the input device, updating the book management information on the corresponding book management record, and issuing the book corresponding to the read book;
Book issuance management program.
請求項1に記載の帳簿発行管理方法の各ステップをコンピュータに実行させるためのプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute each step of the book issuance management method according to claim 1. 請求項3に記載の帳簿発行管理プログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the book issuance management program according to claim 3.
JP2006039607A 2006-02-16 2006-02-16 Program and method for managing issuance of accounting book, and recording medium therefor Pending JP2006216067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006039607A JP2006216067A (en) 2006-02-16 2006-02-16 Program and method for managing issuance of accounting book, and recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006039607A JP2006216067A (en) 2006-02-16 2006-02-16 Program and method for managing issuance of accounting book, and recording medium therefor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP06529496A Division JP3790575B2 (en) 1996-02-27 1996-02-27 Book issue management device

Publications (1)

Publication Number Publication Date
JP2006216067A true JP2006216067A (en) 2006-08-17

Family

ID=36979193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006039607A Pending JP2006216067A (en) 2006-02-16 2006-02-16 Program and method for managing issuance of accounting book, and recording medium therefor

Country Status (1)

Country Link
JP (1) JP2006216067A (en)

Similar Documents

Publication Publication Date Title
KR100314637B1 (en) Handwriting data input device with coordinate detection tablet
JPH0736979A (en) Security exchange processor
JP6154209B2 (en) Customer guidance system and customer guidance method
JP6681235B2 (en) Deposit machine, deposit record printing method and program
JP3790575B2 (en) Book issue management device
JP3904292B2 (en) Auxiliary book interlocking bookkeeping device
JP3892535B2 (en) Book issue management device
JP2922140B2 (en) Window management system and window management method
JP6672593B2 (en) Information processing apparatus and program
JP2006216067A (en) Program and method for managing issuance of accounting book, and recording medium therefor
JP4041834B2 (en) Auxiliary book automatic interlocking device, auxiliary book interlocking processing method, and computer-readable recording medium recording program
US8223367B2 (en) Document processing apparatus and method for creating an image of information identifying a document
US20020003899A1 (en) Method for determination of input data in sheet handling apparatus
JP6974264B2 (en) Transaction processing system and transaction processing method
JP2015005155A (en) Clientele guidance system and clientele guidance method
JPH10222760A (en) Pos terminal device
JP6095499B2 (en) Customer guidance system and customer guidance method
JP2015005156A (en) Clientele guidance system and clientele guidance method
JPH091889A (en) Apparatus for registering passbook
JP2001101482A (en) Bankbook processing system
JP2001195636A (en) Image data recognizing device of automatic transaction device
JP2014219819A (en) Character recognition device and method therefor
JP2019159757A (en) Automatic transaction device and automatic transaction system
JP2020035487A (en) Money receipt machine, money receipt record printing method, program and printer
JP6191180B2 (en) Program, error determination method, and error determination device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070313

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070710