Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6852544B2 - Programs, information processing equipment, and systems - Google Patents
[go: Go Back, main page]

JP6852544B2 - Programs, information processing equipment, and systems - Google Patents

Programs, information processing equipment, and systems Download PDF

Info

Publication number
JP6852544B2
JP6852544B2 JP2017087612A JP2017087612A JP6852544B2 JP 6852544 B2 JP6852544 B2 JP 6852544B2 JP 2017087612 A JP2017087612 A JP 2017087612A JP 2017087612 A JP2017087612 A JP 2017087612A JP 6852544 B2 JP6852544 B2 JP 6852544B2
Authority
JP
Japan
Prior art keywords
read
image
server
information
item
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.)
Active
Application number
JP2017087612A
Other languages
Japanese (ja)
Other versions
JP2018186416A (en
Inventor
神谷 信行
信行 神谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017087612A priority Critical patent/JP6852544B2/en
Publication of JP2018186416A publication Critical patent/JP2018186416A/en
Application granted granted Critical
Publication of JP6852544B2 publication Critical patent/JP6852544B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、読取データを処理する情報処理装置のプログラムに関する。 The present invention relates to a program of an information processing device that processes read data.

例えば特許文献1には、バーコードが記録された原稿をスキャナで読み取ってスキャンデータを生成し、スキャンデータに含まれるバーコードを解析し、解析結果に応じた処理を実行する複合機が開示されている。そして特許文献1には、複数の原稿を無造作に原稿台に載置するだけで、所望の処理結果を得ることができると記載されている。 For example, Patent Document 1 discloses a multifunction device that scans a document on which a barcode is recorded with a scanner to generate scan data, analyzes the barcode contained in the scan data, and executes processing according to the analysis result. ing. And Patent Document 1 describes that a desired processing result can be obtained only by randomly placing a plurality of manuscripts on a manuscript stand.

特開2007−081650号公報Japanese Unexamined Patent Publication No. 2007-081650

特許文献1に記載の複合機を利用するユーザは、所望の処理を実行させるためのバーコードを原稿に付与してから、当該原稿を原稿台に載置する必要がある。しかしながら、バーコードは、所定のアルゴリズムで画像処理をして初めて意味内容を判別することができるものであって、ユーザが一見しただけで意味内容を判別することは極めて難しい。すなわち、特許文献1の技術では、適切なバーコードを原稿に付与したか否かを確認するユーザの作業負担が大きいという課題がある。 A user who uses the multifunction device described in Patent Document 1 needs to attach a barcode for executing a desired process to a manuscript and then place the manuscript on a manuscript stand. However, the barcode can determine the meaning and content only after image processing is performed by a predetermined algorithm, and it is extremely difficult for the user to determine the meaning and content at first glance. That is, the technique of Patent Document 1 has a problem that the work load of the user for confirming whether or not an appropriate barcode is attached to the manuscript is heavy.

本発明は、上記の事情に鑑みてなされたものであり、情報保持画像が保持する情報に基づいて読取データをサーバに処理させる場合において、ユーザの作業負担を軽減する技術を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique for reducing a user's workload when a server is made to process read data based on information held by an information holding image. ..

本明細書では様々な開示を行う。開示例の1つであるプログラムは、メモリと、通信インタフェースとを備えるコンピュータによって実行可能である。該プログラムは、読取データを取得する取得処理を前記コンピュータに実行させる。前記読取データは、各々が複数の項目の1つに対応する複数の文字列、及び視覚的に区別可能な複数のマークのうちの少なくとも1つが記録された原稿を、前記コンピュータに接続された読取装置が読み取って生成したデータである。該プログラムは、前記取得処理で取得した前記読取データで示される読取画像内において、前記複数のマークのうちの1つのマークを検出する検出処理と、前記複数のマークそれぞれに対応付けて前記メモリに記憶されており且つ各々が前記複数の項目の1つを示す複数の項目情報のうち、前記検出処理で検出した前記1つのマークに対応する対応項目情報を、前記メモリから読み出す読出処理と、前記読出処理で読み出した前記対応項目情報で示される前記項目に対応する前記文字列を、第1アルゴリズムで前記読取画像から抽出する抽出処理と、前記抽出処理で抽出した前記文字列を保持する情報保持画像を生成する生成処理とを前記コンピュータに実行させる。前記情報保持画像は、第2アルゴリズムで前記文字列を抽出可能な形式の画像である。該プログラムは、前記第2アルゴリズムによる処理を実行可能なサーバに前記情報保持画像が保持する前記文字列に従って前記読取画像を解析させるために、前記読取画像及び前記情報保持画像を含む出力データを前記通信インタフェースを通じて前記サーバに送信する送信処理を前記コンピュータに実行させる。 Various disclosures are made herein. The program, which is one of the disclosure examples, can be executed by a computer having a memory and a communication interface. The program causes the computer to execute an acquisition process for acquiring read data. The scanned data is a scan in which a document in which at least one of a plurality of character strings, each of which corresponds to one of a plurality of items, and a plurality of visually distinguishable marks is recorded, is connected to the computer. This is the data read and generated by the device. The program performs a detection process for detecting one of the plurality of marks in the scanned image indicated by the scanned data acquired in the acquisition process, and the memory in association with each of the plurality of marks. Of the plurality of item information that is stored and each indicates one of the plurality of items, the corresponding item information corresponding to the one mark detected by the detection process is read from the memory, and the read process is performed. An extraction process for extracting the character string corresponding to the item indicated by the corresponding item information read by the read process from the read image by the first algorithm, and an information holding for holding the character string extracted by the extraction process. The computer is made to execute a generation process for generating an image. The information holding image is an image in a format in which the character string can be extracted by the second algorithm. The program obtains the read image and output data including the information holding image in order to cause a server capable of executing the process by the second algorithm to analyze the read image according to the character string held by the information holding image. The computer is made to execute a transmission process of transmitting to the server through the communication interface.

ユーザは、視覚的に区別可能な複数のマークのうちの所望のマークを原稿に付加すればよいので、バーコードを付加する場合と比較して、原稿に付加したマークが適切か否かを簡単に確認できる。一方、サーバは、従来と同様に、情報保持画像が保持する文字列に従って読取画像を解析することができる。すなわち上記構成によれば、既存のサーバの処理を変更せずに、ユーザの作業負担を軽減することができる。 Since the user only needs to add a desired mark among a plurality of visually distinguishable marks to the manuscript, it is easier to determine whether or not the mark added to the manuscript is appropriate as compared with the case of adding a barcode. Can be confirmed. On the other hand, the server can analyze the read image according to the character string held by the information holding image as in the conventional case. That is, according to the above configuration, the workload of the user can be reduced without changing the processing of the existing server.

図1は、実施形態に係るシステム100のブロック図である。FIG. 1 is a block diagram of the system 100 according to the embodiment. 図2は、メモリ62に記憶される項目リストの例を示す図である。FIG. 2 is a diagram showing an example of an item list stored in the memory 62. 図3は、システム100の処理の概略を示すシーケンス図である。FIG. 3 is a sequence diagram showing an outline of processing of the system 100. 図4は、バーコード合成処理のフローチャートである。FIG. 4 is a flowchart of the barcode composition process. 図5は、スキャナ10に読み取らせる請求書110、120の例であって、(A)はマーク111が付加された請求書110を、(B)はマーク121が付加された請求書120を示す。5A and 5B are examples of invoices 110 and 120 read by the scanner 10. FIG. 5A shows the invoice 110 with the mark 111 added, and FIG. 5B shows the invoice 120 with the mark 121 added. .. 図6は、バーコード合成処理で生成された編集スキャンデータで示される編集スキャン画像の例であって、(A)はマーク111をバーコード画像112に置換した例を、(B)はマーク121をバーコード画像122に置換した例を示す。FIG. 6 is an example of an edit scan image shown by the edit scan data generated by the barcode composition process, in which (A) is an example in which the mark 111 is replaced with the barcode image 112, and (B) is the mark 121. Is replaced with the barcode image 122.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It goes without saying that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention.

図1は、本実施形態に係るシステム100の概略図である。図1に示されるシステム100は、1以上のスキャナ10と、中継サーバ50と、解析サーバ80A、80B(これらを総称して、「解析サーバ80」と表記することがある。)とで構成されている。スキャナ10、中継サーバ50、及び解析サーバ80は、通信ネットワーク101を介して相互に通信可能とされている。通信ネットワーク101の具体例は特に限定されないが、例えば、インターネット、有線LAN、無線LAN、或いはこれらの組み合わせであってもよい。 FIG. 1 is a schematic view of the system 100 according to the present embodiment. The system 100 shown in FIG. 1 is composed of one or more scanners 10, a relay server 50, and analysis servers 80A and 80B (these may be collectively referred to as "analysis server 80"). ing. The scanner 10, the relay server 50, and the analysis server 80 can communicate with each other via the communication network 101. Specific examples of the communication network 101 are not particularly limited, but may be, for example, the Internet, a wired LAN, a wireless LAN, or a combination thereof.

スキャナ10は、コンタクトガラス或いはADFにセットされた原稿に記録された画像を読み取って、当該画像を示すスキャンデータを生成するハードウェアである。また、スキャナ10は、通信ネットワーク101を通じて接続された外部装置(例えば、中継サーバ50)に、生成したスキャンデータを送信することができる。スキャナ10は、読取装置の一例である。但し、読取装置の具体例はスキャナ10に限定されず、原稿に記録された画像を撮影して、撮影データを生成するカメラであってもよい。スキャンデータ及び撮影データは読取データの一例であり、スキャンデータ及び撮影データで示される画像は読取画像の一例である。 The scanner 10 is hardware that reads an image recorded on a document set on a contact glass or an ADF and generates scan data indicating the image. Further, the scanner 10 can transmit the generated scan data to an external device (for example, a relay server 50) connected through the communication network 101. The scanner 10 is an example of a reading device. However, the specific example of the scanning device is not limited to the scanner 10, and may be a camera that captures an image recorded on a document and generates captured data. The scan data and the photographed data are examples of the scanned data, and the images shown by the scan data and the photographed data are examples of the scanned images.

中継サーバ50は、図1に示されるように、ディスプレイ53と、入力I/F54と、通信I/F55と、CPU61と、メモリ62と、通信バス63とを主に備える。中継サーバ50を構成する各構成要素は、通信バス63を通じて相互に接続されている。中継サーバ50は、例えば、PCであってもよい。 As shown in FIG. 1, the relay server 50 mainly includes a display 53, an input I / F 54, a communication I / F 55, a CPU 61, a memory 62, and a communication bus 63. The components constituting the relay server 50 are connected to each other through the communication bus 63. The relay server 50 may be, for example, a PC.

ディスプレイ53は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示画面を備える。入力I/F54は、ユーザによる入力操作を受け付けるユーザインタフェースである。具体的には、入力I/F54は、キーボード、マウス、ディスプレイ53に重畳されたタッチセンサ、或いはこれらの組み合わせである。 The display 53 is a liquid crystal display, an organic EL display, or the like, and includes a display screen for displaying various information. The input I / F 54 is a user interface that accepts input operations by the user. Specifically, the input I / F 54 is a keyboard, a mouse, a touch sensor superimposed on the display 53, or a combination thereof.

通信I/F55は、通信ネットワーク101を通じて外部装置と通信可能な通信インタフェースの一例である。すなわち、中継サーバ50は、通信I/F55を通じて外部装置に各種情報を送信し、通信I/F55を通じて外部装置から各種情報を受信する。通信I/F55の具体的な構成は特に限定されないが、例えば、LANケーブルが着脱されるLANインタフェース、或いはWi−Fi(登録商標)に準拠した無線信号を送受信するアンテナである。 The communication I / F 55 is an example of a communication interface capable of communicating with an external device through the communication network 101. That is, the relay server 50 transmits various information to the external device through the communication I / F55, and receives various information from the external device through the communication I / F55. The specific configuration of the communication I / F 55 is not particularly limited, but for example, it is a LAN interface to which a LAN cable is attached / detached, or an antenna that transmits / receives a wireless signal conforming to Wi-Fi (registered trademark).

CPU61は、中継サーバ50の全体動作を制御するものである。CPU61は、入力I/F54を通じて入力された各種情報、通信I/F55を通じて外部装置から受信した各種情報等に基づいて、後述する各種プログラムをメモリ62から読み出して実行する。CPU61及びメモリ62は、コントローラの一例を構成する。 The CPU 61 controls the overall operation of the relay server 50. The CPU 61 reads various programs described later from the memory 62 and executes them based on various information input through the input I / F 54, various information received from the external device through the communication I / F 55, and the like. The CPU 61 and the memory 62 form an example of the controller.

メモリ62は、OS64と、サーバプログラム65とを記憶している。サーバプログラム65は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。また、メモリ62は、サーバプログラム65の実行に必要なデータ或いは情報等を記憶する。メモリ62は、例えば、RAM、ROM、EEPROM、HDD、中継サーバ50に着脱されるUSBメモリ等の可搬記憶媒体、CPU61が備えるバッファ等、或いはそれらの組み合わせによって構成される。 The memory 62 stores the OS 64 and the server program 65. The server program 65 may be a single program or a collection of a plurality of programs. Further, the memory 62 stores data or information necessary for executing the server program 65. The memory 62 is composed of, for example, a RAM, a ROM, an EEPROM, an HDD, a portable storage medium such as a USB memory attached to and detached from the relay server 50, a buffer included in the CPU 61, or a combination thereof.

メモリ62は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 The memory 62 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes a recording medium such as a CD-ROM or a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a storage that can be read by a non-transitory computer. Not included in the medium.

メモリ62は、例えば図2に示される項目リストを記憶することができる。項目リストは、1以上の項目レコードを含む。項目レコードは、例えば、中継サーバ50の管理者によって、入力I/F54を通じて項目リストに登録される。項目レコードは、例えば、色情報と、項目情報と、サーバIDとを含む。すなわち、メモリ62は、マークを構成する複数の色それぞれに対応付けて、項目情報及びサーバIDの複数のセットを記憶している。換言すれば、メモリ62は、複数のマークそれぞれに対応付けて、項目情報及びサーバIDの複数のセットを記憶している。 The memory 62 can store, for example, the item list shown in FIG. The item list contains one or more item records. The item record is registered in the item list through the input I / F 54 by, for example, the administrator of the relay server 50. The item record includes, for example, color information, item information, and server ID. That is, the memory 62 stores a plurality of sets of item information and server IDs in association with each of the plurality of colors constituting the mark. In other words, the memory 62 stores a plurality of sets of item information and server IDs in association with each of the plurality of marks.

色情報は、後述するマーク111、121の色(例えば、赤色、黄色、青色)を示す情報である。なお、項目レコードは、マークの形状を示す形状情報を、色情報に加えて、或いは色情報に代えて含んでもよい。項目情報は、後述する原稿(例えば、請求書)に含まれる項目(例えば、日付、振込先、費目、請求金額)を示す情報である。サーバIDは、解析サーバ80A、80Bを識別する情報である。本実施形態において、解析サーバ80AはサーバID“サーバA”で識別され、解析サーバ80BはサーバID“サーバB”で識別される。サーバIDは、例えば、IPアドレス或いはURLであってもよい。 The color information is information indicating the colors (for example, red, yellow, and blue) of the marks 111 and 121, which will be described later. The item record may include shape information indicating the shape of the mark in addition to the color information or in place of the color information. The item information is information indicating items (for example, date, transfer destination, expense item, billing amount) included in a manuscript (for example, an invoice) described later. The server ID is information that identifies the analysis servers 80A and 80B. In the present embodiment, the analysis server 80A is identified by the server ID "server A", and the analysis server 80B is identified by the server ID "server B". The server ID may be, for example, an IP address or a URL.

解析サーバ80は、中継サーバ50から受信した画像データを解析する。解析サーバ80が受信する画像データは、例えば図6に示されるように、バーコード画像112、122を含む。そして、解析サーバ80は、バーコード画像112、122が保持する情報を抽出し、抽出した情報に基づいて画像データを解析する。また、「画像データの解析」とは、例えば、画像データの分類、画像データに含まれる情報の集計、或いはこれらの組み合わせである。解析サーバ80の具体的な動作は、後述する。 The analysis server 80 analyzes the image data received from the relay server 50. The image data received by the analysis server 80 includes barcode images 112 and 122, for example, as shown in FIG. Then, the analysis server 80 extracts the information held by the barcode images 112 and 122, and analyzes the image data based on the extracted information. Further, "analysis of image data" is, for example, classification of image data, aggregation of information contained in image data, or a combination thereof. The specific operation of the analysis server 80 will be described later.

バーコード画像112、122は、情報を保持する情報保持画像の一例である。また、バーコード画像112、122は、所定の画像処理アルゴリズムで情報を抽出可能な形式の画像である。バーコード画像112、122から情報を抽出する画像処理アルゴリズムは、第2アルゴリズムの一例である。但し、バーコード画像112、122が保持する情報は、ユーザが一見しただけで抽出できるものではなく、コンピュータによる画像処理を必要とする。また、情報保持画像の具体例はバーコードに限定されず、QRコード(登録商標)、Data Matorix等であってもよい。換言すれば、情報保持画像は、所謂二次元バーコードを表す画像であってもよい。 The barcode images 112 and 122 are examples of information-holding images that hold information. Further, the barcode images 112 and 122 are images in a format in which information can be extracted by a predetermined image processing algorithm. The image processing algorithm for extracting information from the barcode images 112 and 122 is an example of the second algorithm. However, the information held by the barcode images 112 and 122 cannot be extracted at first glance by the user, and requires image processing by a computer. Further, the specific example of the information holding image is not limited to the barcode, and may be a QR code (registered trademark), Data Matorix, or the like. In other words, the information holding image may be an image representing a so-called two-dimensional bar code.

[システム100の動作]
図3及び図4を参照して、本実施形態に係るシステム100の動作を説明する。
[Operation of system 100]
The operation of the system 100 according to the present embodiment will be described with reference to FIGS. 3 and 4.

本明細書のフローチャートは、基本的に、プログラムに記述された命令に従ったCPU61の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「制御」、「取得」、「受付」等の処理は、CPU61の処理を表している。CPU61による処理は、OS64を介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU61が要求することなくデータを受信するという処理も、「CPU61がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。 The flowchart of the present specification basically shows the processing of the CPU 61 according to the instruction described in the program. That is, the processing of "judgment", "extraction", "selection", "calculation", "decision", "specification", "control", "acquisition", "acceptance", etc. in the following description is the processing of the CPU 61. Represents. The processing by the CPU 61 also includes hardware control via the OS 64. Note that "acquisition" is used in a concept that does not require a request. That is, the process of receiving data without the CPU 61 requesting is also included in the concept of "the CPU 61 acquires the data". Further, the "data" in the present specification is represented by a bit string that can be read by a computer. Then, data having the same substantial meaning and contents but different formats are treated as the same data. The same applies to "information" in the present specification.

まず、図1に示されるシステム100が企業に導入される場合を考えると、複数の拠点(例えば、支社、店舗)それぞれにスキャナ10が設置され、中継サーバ50及び解析サーバ80が本社或いはデータセンターに設置される。そして、中継サーバ50は、各拠点のスキャナ10からスキャンデータを受信し、受信したスキャンデータに対して図4に示されるバーコード合成処理を実行し、バーコード合成処理で編集されたスキャンデータ(以下、「編集スキャンデータ」と表記する。)を解析サーバ80に送信する。本実施形態では、図5に示される請求書110、120をスキャナ10に読み取らせ、図6に示される編集スキャンデータを生成し、生成した編集スキャンデータを解析サーバ80に解析させる例を説明する。 First, considering the case where the system 100 shown in FIG. 1 is introduced into a company, scanners 10 are installed at each of a plurality of bases (for example, branch offices and stores), and the relay server 50 and the analysis server 80 are head offices or data centers. Will be installed in. Then, the relay server 50 receives the scan data from the scanner 10 at each base, executes the bar code synthesis process shown in FIG. 4 on the received scan data, and the scan data edited by the bar code synthesis process ( Hereinafter, it is referred to as “edit scan data”) to be transmitted to the analysis server 80. In the present embodiment, an example will be described in which the scanner 10 reads the invoices 110 and 120 shown in FIG. 5, generates the edit scan data shown in FIG. 6, and causes the analysis server 80 to analyze the generated edit scan data. ..

請求書110、120は、各々が複数の項目の1つに対応する複数の文字列と、マーク111、121とを含む原稿の一例である。但し、原稿の具体例は請求書110、120に限定されず、例えば、見積書、発送伝票、議事録、日報等であってもよい。項目とは、請求書110、120に含まれる情報の種類(例えば、日付、請求金額、費目、消費税、振込先)を指す。文字列とは、各項目に対応する情報(例えば、“2017年04月10日”、“¥270,000”、“出願手数料”、“¥20,000”、“A銀行B支店 普通 xxxxx”等)そのものである。すなわち、請求書110、120は、共通の項目(例えば、日付)に対応付けられた異なる文字列(“2017年4月10日”、“2017年4月22日”)を含む。 Invoices 110 and 120 are examples of manuscripts including a plurality of character strings, each of which corresponds to one of a plurality of items, and marks 111 and 121. However, specific examples of the manuscript are not limited to the invoices 110 and 120, and may be, for example, an estimate, a shipping slip, minutes, a daily report, or the like. The item refers to the type of information (for example, date, billing amount, expense item, consumption tax, transfer destination) included in the invoices 110 and 120. The character string is the information corresponding to each item (for example, "April 10, 2017", "¥ 270,000", "Application fee", "¥ 20,000", "Bank A, Branch B, Ordinary xxxxxx". Etc.) itself. That is, the invoices 110 and 120 include different character strings (“April 10, 2017”, “April 22, 2017”) associated with a common item (eg, date).

また、項目及び文字列の対応関係は、請求書110、120内に明示されている場合もあるし、明示されていない場合もある。一例として、項目“請求金額”を表す文字列“ご請求金額”と、金額を表す文字列“¥270,000”とが左右方向に隣接して記載されることによって、文字列“¥270,000”が項目“請求金額”に対応付けられている。なお、項目を表す文字列は、例えば、“費目”、“請求項目”等のように、複数のパターンが存在してもよい。他の例として、文字列“2017年04月10日”は、項目“日付”を表す文字列が対応付けられていないが、文字列のフォーマット(例えば、数字4桁[年]数字2桁[月]数字2桁[日])と、請求書110内における文字列の位置(例えば、右上隅)とによって、項目“日付”に対応付けられている。 In addition, the correspondence between items and character strings may or may not be specified in the invoices 110 and 120. As an example, the character string "billing amount" representing the item "billing amount" and the character string "¥ 270,000" representing the amount are described adjacent to each other in the left-right direction, so that the character string "¥ 270," 000 ”is associated with the item“ billing amount ”. The character string representing the item may have a plurality of patterns such as "expense item", "billing item", and the like. As another example, the character string "April 10, 2017" is not associated with the character string representing the item "date", but the format of the character string (for example, 4 digits [year] 2 digits [ Month] Two digits [day]) and the position of the character string in the invoice 110 (for example, the upper right corner) are associated with the item "date".

マーク111、121は、複数の色(例えば、赤色、黄色、青色、緑色、紫色)のうちの1色で塗りつぶされた予め定められた形状(例えば、長方形、円形、三角形、台形)の図形である。すなわち、マーク111、121は、ユーザが視覚的に容易に区別することができる図形であればよい。なお、原稿に付加されるマークは、同一の形状で色だけが異なっていてもよいし、同一の色で形状だけが異なっていてもよいし、色及び形状の両方が異なっていてもよい。 The marks 111 and 121 are figures having a predetermined shape (for example, rectangle, circle, triangle, trapezoid) filled with one of a plurality of colors (for example, red, yellow, blue, green, and purple). is there. That is, the marks 111 and 121 may be any figures that can be easily visually distinguished by the user. The marks added to the document may have the same shape but different colors, may have the same color but different shapes, or may have different colors and shapes.

マーク111、121は、スキャナ10が設置された拠点のユーザによって、請求書110、120に付加される。マーク111、121は、例えば、請求書110、120にペン等で描かれたものでもよいし、請求書110、120に貼付されたシール等でもよい。すなわち、マーク111、121は、発行元で発行された時点で請求書110、120に付加されていない図形である。 The marks 111 and 121 are added to the invoices 110 and 120 by the user at the site where the scanner 10 is installed. The marks 111 and 121 may be, for example, drawn on the invoices 110 and 120 with a pen or the like, or may be stickers or the like attached to the invoices 110 or 120. That is, the marks 111 and 121 are figures that are not added to the invoices 110 and 120 when they are issued by the issuer.

どの原稿にどのマークを付加するかは、例えば、中継サーバ50の管理者によって予め定められており、各拠点にマニュアルとして配布されていてもよい。一例として、請求書110、120の発行元(例えば、“ABC特許事務所”、“XYZ商事”)毎に、異なる色(例えば、赤色、黄色)のマークが付加されてもよい。他の例として、原稿の種類(例えば、請求書、日報)毎に、異なる形状(例えば、長方形、三角形)のマークが付加されてもよい。また、マークは、請求書110、120内の予め定められた位置に付加されてもよいし、請求書110、120内の任意の位置に付加されてもよい。さらに、1枚の原稿には、複数のマークが付加されてもよい。 Which mark is to be added to which manuscript is determined in advance by the administrator of the relay server 50, and may be distributed as a manual to each base. As an example, marks of different colors (eg, red, yellow) may be added to each issuer of invoices 110, 120 (eg, "ABC Patent Office", "XYZ Trading"). As another example, a mark having a different shape (for example, rectangle, triangle) may be added for each type of manuscript (for example, invoice, daily report). Further, the mark may be added to a predetermined position in the invoices 110 and 120, or may be added to an arbitrary position in the invoices 110 and 120. Further, a plurality of marks may be added to one original document.

スキャナ10が設置された拠点のユーザは、例えば、当該拠点に届いた請求書110、120にマニュアルに従ってマーク111、121を付加し、マーク111、121を付加した請求書110、120をスキャナ10に読み取らせる。スキャナ10は、請求書110、120に記録された画像を読み取って、スキャンデータを生成する(S11)。そして、スキャナ10は、通信ネットワーク101を通じて接続された中継サーバ50に、S11で生成したスキャンデータを送信する(S12)。S11の処理は読取処理の一例であり、スキャナ10が実行するS12の処理は第1送信処理の一例である。 For example, the user of the site where the scanner 10 is installed adds the marks 111 and 121 to the invoices 110 and 120 that arrived at the site according to the manual, and attaches the invoices 110 and 120 with the marks 111 and 121 to the scanner 10. Let me read it. The scanner 10 reads the images recorded on the invoices 110 and 120 and generates scan data (S11). Then, the scanner 10 transmits the scan data generated in S11 to the relay server 50 connected through the communication network 101 (S12). The process of S11 is an example of a reading process, and the process of S12 executed by the scanner 10 is an example of a first transmission process.

一例として、ユーザは、図5(A)に示される請求書110をコンタクトガラス上に載置してスキャナ10に読取処理を実行させ、その後に図5(B)に示される請求書120をコンタクトガラス上に載置してスキャナ10に読取処理を実行させてもよい。この場合のスキャナ10は、請求書110から読み取ったスキャン画像を含むスキャンデータと、請求書120から読み取ったスキャン画像を含むスキャンデータとを、中継サーバ50に別々に送信する。 As an example, the user places the invoice 110 shown in FIG. 5 (A) on the contact glass, causes the scanner 10 to perform a reading process, and then contacts the invoice 120 shown in FIG. 5 (B). It may be placed on glass and the scanner 10 may perform a reading process. In this case, the scanner 10 separately transmits the scan data including the scan image read from the invoice 110 and the scan data including the scan image read from the invoice 120 to the relay server 50.

他の例として、ユーザは、請求書110、120をADFにセットしてスキャナ10に読取処理を実行させてもよい。この場合のスキャナ10は、請求項110、120を順番に読み取って、請求書110、120から読み取った2つのスキャン画像を含むスキャンデータを中継サーバ50に送信する。すなわち、スキャンデータは、1枚或いは複数の原稿から読み取ったスキャン画像を含む。本実施形態では、請求書110、120それぞれから読み取ったスキャン画像をスキャンデータが含むことを前提として、以下の処理を説明する。 As another example, the user may set the invoices 110 and 120 in the ADF and have the scanner 10 perform the reading process. In this case, the scanner 10 reads claims 110 and 120 in order, and transmits scan data including the two scan images read from the invoices 110 and 120 to the relay server 50. That is, the scan data includes scanned images read from one or more originals. In the present embodiment, the following processing will be described on the premise that the scan data includes the scan images read from the invoices 110 and 120, respectively.

次に、中継サーバ50のサーバプログラム65は、通信I/F55を通じてスキャナ10からスキャンデータを受信する(S12)。そして、サーバプログラム65は、スキャナ10から受信したスキャンデータを、メモリ62に一時記憶させる。S12の処理は、取得処理或いは受信処理の一例である。さらに、サーバプログラム65は、S12で受信したスキャンデータに対して、バーコード合成処理を実行する(S13)。バーコード合成処理は、マーク111、121に基づいて生成したバーコード画像112、122を、スキャン画像に合成する処理である。図4を参照して、バーコード合成処理の詳細を説明する。 Next, the server program 65 of the relay server 50 receives scan data from the scanner 10 through the communication I / F 55 (S12). Then, the server program 65 temporarily stores the scan data received from the scanner 10 in the memory 62. The process of S12 is an example of an acquisition process or a reception process. Further, the server program 65 executes a barcode synthesis process on the scan data received in S12 (S13). The barcode composition process is a process of synthesizing the barcode images 112 and 122 generated based on the marks 111 and 121 into the scanned image. The details of the barcode composition processing will be described with reference to FIG.

まず、サーバプログラム65は、S12で受信したスキャンデータに含まれる複数のスキャン画像のうち、請求書110から読み取ったスキャン画像をメモリ62から読み出す。そして、サーバプログラム65は、読み出したスキャン画像に含まれるマーク111を検出する(S21)。請求書110の予め定められた位置にマーク111が付加される場合、サーバプログラム65は、当該位置の画素値からマーク111を検出すればよい。一方、請求書110の任意の位置にマーク111が付加される場合、サーバプログラム65は、スキャン画像を構成する各画素を走査してマーク111を検出すればよい。S21の処理は、検出処理の一例である。 First, the server program 65 reads the scan image read from the invoice 110 from the memory 62 among the plurality of scan images included in the scan data received in S12. Then, the server program 65 detects the mark 111 included in the read scanned image (S21). When the mark 111 is added to a predetermined position on the invoice 110, the server program 65 may detect the mark 111 from the pixel value at that position. On the other hand, when the mark 111 is added to an arbitrary position on the invoice 110, the server program 65 may detect the mark 111 by scanning each pixel constituting the scanned image. The process of S21 is an example of the detection process.

次に、サーバプログラム65は、S21でマーク111を検出したか否かを判断する(S22)。そして、サーバプログラム65は、S21でマーク111を検出したと判断したことに応じて(S22:Yes)、マーク111の色(すなわち、赤色)を特定する。そして、サーバプログラム65は、特定した赤色を示す色情報を含む項目レコードを、図2に示される項目リストから読み出す(S23)。すなわち、サーバプログラム65は、項目“日付”、“振込先”を示す項目情報と、サーバID“サーバA”とをメモリ62から読み出す。S23で読み出した項目レコードに含まれる項目情報は対応項目情報の一例であり、サーバIDは対応サーバIDの一例である。S23の処理は、読出処理の一例である。 Next, the server program 65 determines whether or not the mark 111 is detected in S21 (S22). Then, the server program 65 specifies the color of the mark 111 (that is, red) according to the determination that the mark 111 is detected in S21 (S22: Yes). Then, the server program 65 reads the item record including the color information indicating the specified red color from the item list shown in FIG. 2 (S23). That is, the server program 65 reads the item information indicating the items “date” and “transfer destination” and the server ID “server A” from the memory 62. The item information included in the item record read in S23 is an example of the corresponding item information, and the server ID is an example of the corresponding server ID. The process of S23 is an example of the read process.

次に、サーバプログラム65は、S23で読み出した対応項目情報で示される対応項目“日付”、“振込先”に対応する文字列“2017年04月10日”、“A銀行B支店 普通 XXXXX”を、請求書110から読み取ったスキャン画像から抽出する(S24)。すなわち、サーバプログラム65は、スキャン画像内において、対応項目“日付”に対応する文字列の位置を特定する。そして、サーバプログラム65は、対応項目“日付”に対応するスキャン画像内の位置から、テキスト形式の文字列“2017年04月10日”を、OCR技術を用いて抽出する。対応項目“振込先”に対応する文字列“A銀行B支店 普通 XXXXX”の抽出方法も同様である。OCR技術は、第1アルゴリズムの一例である。S24の処理は、抽出処理の一例である。 Next, the server program 65 has the character strings "April 10, 2017" corresponding to the corresponding items "date" and "transfer destination" indicated by the corresponding item information read in S23, "Bank A B branch ordinary XXXXX". Is extracted from the scanned image read from the invoice 110 (S24). That is, the server program 65 specifies the position of the character string corresponding to the corresponding item “date” in the scanned image. Then, the server program 65 extracts the text format character string “April 10, 2017” from the position in the scanned image corresponding to the corresponding item “date” by using the OCR technique. The same applies to the extraction method of the character string "A bank B branch ordinary XXXXX" corresponding to the corresponding item "transfer destination". The OCR technique is an example of the first algorithm. The process of S24 is an example of the extraction process.

次に、サーバプログラム65は、S24で抽出した文字列“2017年04月10日”、“A銀行B支店 普通 XXXXX”を保持するバーコード画像112を生成する(S25)。バーコード画像112は、第2アルゴリズムで文字列を抽出可能な形式の画像である。S24で抽出した文字列からバーコード画像112を生成する方法は既に周知なので、説明を省略する。S24の処理は、生成処理の一例である。 Next, the server program 65 generates a barcode image 112 holding the character strings “April 10, 2017” and “Bank A, Branch B, Ordinary XXXXX” extracted in S24 (S25). The barcode image 112 is an image in a format in which a character string can be extracted by the second algorithm. Since the method of generating the barcode image 112 from the character string extracted in S24 is already well known, the description thereof will be omitted. The process of S24 is an example of the generation process.

次に、サーバプログラム65は、請求書110から読み取ったスキャン画像のマーク111の位置に、S24で生成したバーコード画像112を合成する(S26)。すなわち、サーバプログラム65は、図5(A)及び図6(A)に示されるように、スキャン画像のマーク111をバーコード画像112で上書きする。そして、サーバプログラム65は、バーコード画像112が合成されたスキャン画像(以下、「編集スキャン画像」と表記する。)を示す編集スキャンデータを、メモリ62に一時記憶させる。S26の処理は、合成処理の一例である。編集スキャンデータは、出力データの一例である。 Next, the server program 65 synthesizes the barcode image 112 generated in S24 at the position of the mark 111 of the scanned image read from the invoice 110 (S26). That is, the server program 65 overwrites the mark 111 of the scanned image with the barcode image 112 as shown in FIGS. 5 (A) and 6 (A). Then, the server program 65 temporarily stores the edit scan data indicating the scan image (hereinafter, referred to as “edit scan image”) in which the barcode image 112 is combined in the memory 62. The process of S26 is an example of a synthesis process. The edit scan data is an example of output data.

次に、サーバプログラム65は、S12で受信したスキャンデータに含まれる全てのスキャン画像に対して、S21〜S26の処理を実行したか否かを判断する(S27)。そして、サーバプログラム65は、請求書120から読み取ったスキャン画像に対してS21〜S26の処理を実行していないと判断したことに応じて(S27:あり)、当該スキャン画像をメモリ62から読み出して、S21〜S26の処理を実行する。これにより、図6(B)に示されるように、対応項目“費目”に対応する文字列“パソコン代”を保持するバーコード画像122が合成された編集スキャン画像を示す編集スキャンデータが、メモリ62に一時記憶される。 Next, the server program 65 determines whether or not the processes S21 to S26 have been executed for all the scanned images included in the scan data received in S12 (S27). Then, the server program 65 reads the scanned image from the memory 62 in response to the determination that the processes S21 to S26 have not been executed for the scanned image read from the invoice 120 (S27: Yes). , S21 to S26 are executed. As a result, as shown in FIG. 6B, the edit scan data indicating the edit scan image in which the barcode image 122 holding the character string “personal computer fee” corresponding to the corresponding item “expense item” is combined is stored in the memory. It is temporarily stored in 62.

すなわち、サーバプログラム65は、スキャンデータに含まれる複数のスキャン画像それぞれに対して、S21〜S26の処理を実行する。但し、サーバプログラム65は、処理の対象となるスキャン画像からマークを検出できないことに応じて(S22:No)、当該スキャン画像に対するS23〜S26の処理を実行せずに、S27以降の処理を実行する。そして、サーバプログラム65は、スキャンデータに含まれる全てのスキャン画像に対してS21〜S26の処理を実行したと判断したことに応じて(S27:なし)、バーコード合成処理を終了する。 That is, the server program 65 executes the processes S21 to S26 for each of the plurality of scanned images included in the scan data. However, the server program 65 executes the processing after S27 without executing the processing of S23 to S26 for the scanned image according to the fact that the mark cannot be detected from the scanned image to be processed (S22: No). To do. Then, the server program 65 ends the barcode composition process in response to the determination that the processes S21 to S26 have been executed for all the scanned images included in the scan data (S27: none).

マーク111は第1マークの一例であり、マーク111を構成する赤色に対応付けられた項目情報及びサーバIDは第1項目情報及び第1サーバIDの一例であり、第1項目情報で示される項目“日付”、“振込先”は第1項目の一例であり、第1サーバID“サーバA”で識別される解析サーバ80Aは第1サーバの一例である。また、マーク121は第2マークの一例であり、マーク121を構成する黄色に対応付けられた項目情報及びサーバIDは第2項目情報及び第2サーバIDの一例であり、第2項目情報で示される項目“費目”は第2項目の一例であり、第2サーバID“サーバB”で識別される解析サーバ80Bは第2サーバの一例である。 The mark 111 is an example of the first mark, and the item information and the server ID associated with the red color constituting the mark 111 are examples of the first item information and the first server ID, and the items indicated by the first item information. The “date” and “transfer destination” are examples of the first item, and the analysis server 80A identified by the first server ID “server A” is an example of the first server. Further, the mark 121 is an example of the second mark, and the item information and the server ID associated with yellow constituting the mark 121 are examples of the second item information and the second server ID, and are shown by the second item information. The item "expense item" is an example of the second item, and the analysis server 80B identified by the second server ID "server B" is an example of the second server.

次に図3に戻って、サーバプログラム65は、バーコード合成処理で生成した編集スキャンデータを、通信I/F55を通じて解析サーバ80に送信する(S14)。中継サーバ50が実行するS14の処理は、送信処理及び第2送信処理の一例である。より詳細には、サーバプログラム65は、図6(A)に示される編集スキャン画像を示す編集スキャンデータを、S23で読み出したサーバID“サーバA”で識別される解析サーバ80Aに送信する。また、サーバプログラム65は、図6(B)に示される編集スキャン画像を示す編集スキャンデータを、S23で読み出したサーバID“サーバB”で識別される解析サーバ80Bに送信する。すなわち、サーバプログラム65は、複数の解析サーバ80A、80Bのうち、S23で読み出したサーバIDで識別される解析サーバ80に、対応する編集スキャンデータを送信する。 Next, returning to FIG. 3, the server program 65 transmits the edit scan data generated by the barcode synthesis process to the analysis server 80 through the communication I / F 55 (S14). The process of S14 executed by the relay server 50 is an example of the transmission process and the second transmission process. More specifically, the server program 65 transmits the edit scan data indicating the edit scan image shown in FIG. 6A to the analysis server 80A identified by the server ID “server A” read in S23. Further, the server program 65 transmits the edit scan data indicating the edit scan image shown in FIG. 6B to the analysis server 80B identified by the server ID “server B” read in S23. That is, the server program 65 transmits the corresponding edit scan data to the analysis server 80 identified by the server ID read in S23 among the plurality of analysis servers 80A and 80B.

次に、解析サーバ80Aは、図6(A)に示される編集スキャン画像を示す編集スキャンデータを、中継サーバ50から受信する(S14)。次に、解析サーバ80Aは、編集スキャンデータで示される編集スキャン画像からバーコード画像112を抽出する。次に、解析サーバ80Aは、抽出したバーコード画像112が保持する文字列“2017年04月10日”、“A銀行B支店 普通 XXXXX”を、第2アルゴリズムを用いて抽出する。そして、解析サーバ80Aは、抽出した文字列に従って、編集スキャンデータで示される編集スキャン画像を解析する(S15)。 Next, the analysis server 80A receives the edit scan data indicating the edit scan image shown in FIG. 6A from the relay server 50 (S14). Next, the analysis server 80A extracts the barcode image 112 from the edit scan image indicated by the edit scan data. Next, the analysis server 80A extracts the character strings “April 10, 2017” and “Bank A B branch ordinary XXXXX” held by the extracted barcode image 112 using the second algorithm. Then, the analysis server 80A analyzes the edit scan image indicated by the edit scan data according to the extracted character string (S15).

解析サーバ80Aは、例えば、発行年月“2017年04月”及び振込先“A銀行B支店 普通 XXXXX”が共通する編集スキャンデータを、サーバメモリ内の同一のフォルダに保存(すなわち、分類)してもよい。また、解析サーバ80Aは、編集スキャンデータで示される編集スキャン画像から項目“請求金額”に対応する文字列“¥270,000”を抽出し、抽出した文字列で示される請求金額をフォルダ毎に合計(すなわち、集計)してもよい。 The analysis server 80A stores (that is, classifies) the edit scan data common to the issue date "April 2017" and the transfer destination "A bank B branch ordinary XXXXX" in the same folder in the server memory, for example. You may. Further, the analysis server 80A extracts the character string "¥ 270,000" corresponding to the item "billing amount" from the edited scan image shown in the edited scan data, and sets the billing amount indicated by the extracted character string for each folder. It may be totaled (ie, aggregated).

また、解析サーバ80Bは、図6(B)に示される編集スキャン画像を示す編集スキャンデータを、中継サーバ50から受信する(S14)。次に、解析サーバ80Bは、編集スキャンデータで示される編集スキャン画像からバーコード画像122を抽出する。次に、解析サーバ80Bは、抽出したバーコード画像122が保持する文字列“パソコン代”を、第2アルゴリズムを用いて抽出する。そして、解析サーバ80Bは、抽出した文字列に従って、編集スキャンデータで示される編集スキャン画像を解析する(S15)。解析サーバ80Bは、例えば、共通の費目を含む編集スキャンデータを、サーバメモリ内の同一のフォルダに保存してもよい。 Further, the analysis server 80B receives the edit scan data indicating the edit scan image shown in FIG. 6B from the relay server 50 (S14). Next, the analysis server 80B extracts the barcode image 122 from the edit scan image indicated by the edit scan data. Next, the analysis server 80B extracts the character string “personal computer fee” held by the extracted barcode image 122 by using the second algorithm. Then, the analysis server 80B analyzes the edit scan image indicated by the edit scan data according to the extracted character string (S15). The analysis server 80B may, for example, store edit scan data including common expense items in the same folder in the server memory.

[実施形態の作用効果]
前述したシステム100の処理を中継サーバ50を省略して実現しようとすると、各拠点のユーザは、請求書110、120にバーコード画像112、122を付加して、スキャナ10に読み取らせる必要がある。しかしながら、バーコード画像112、122は、ユーザが一見して区別することが難しいので、前述の作業を纏めて行った場合に、バーコード画像122を請求書110に誤って付加し、バーコード画像112を請求書120に誤って付加したとしても、誤りに気づくことが難しい。そして、誤ったバーコード画像112、122が付加された請求書110、120から読み取ったスキャン画像を解析サーバ80に解析させると、適切な解析結果を得ることができない。
[Action and effect of the embodiment]
If the above-mentioned processing of the system 100 is to be realized by omitting the relay server 50, the user at each base needs to add the barcode images 112 and 122 to the invoices 110 and 120 and have the scanner 10 read them. .. However, since it is difficult for the user to distinguish the barcode images 112 and 122 at first glance, when the above operations are performed together, the barcode image 122 is erroneously added to the invoice 110 and the barcode image is displayed. Even if 112 is mistakenly added to invoice 120, it is difficult to notice the error. Then, if the analysis server 80 analyzes the scanned image read from the invoices 110 and 120 to which the erroneous barcode images 112 and 122 are added, an appropriate analysis result cannot be obtained.

そこで上記の実施形態によれば、スキャナ10が設置された拠点のユーザは、視覚的に容易に区別可能な複数のマーク111、121のうち、所望のマークを請求書110、120に付加すればよい。これにより、ユーザは、視覚的に区別するのが難しいバーコード画像112、122を付加する場合と比較して、請求書110、120に付加したマーク111、121が適切か否かを簡単に確認できる。一方、解析サーバ80は、従来と同様に、バーコード画像112、122が保持する文字列に従って編集スキャン画像を解析することができる。すなわち上記の実施形態によれば、既存の解析サーバ80の処理を変更せずに、各拠点のユーザの作業負担を軽減することができる。 Therefore, according to the above embodiment, the user at the site where the scanner 10 is installed can add a desired mark to the invoices 110 and 120 among the plurality of marks 111 and 121 that can be easily visually distinguished. Good. As a result, the user can easily confirm whether or not the marks 111 and 121 added to the invoices 110 and 120 are appropriate as compared with the case where the barcode images 112 and 122, which are difficult to distinguish visually, are added. it can. On the other hand, the analysis server 80 can analyze the edited scan image according to the character strings held by the barcode images 112 and 122 as in the conventional case. That is, according to the above embodiment, the work load of the user at each base can be reduced without changing the processing of the existing analysis server 80.

また、上記の実施形態によれば、マーク111、121に対応するサーバIDで識別される解析サーバ80に編集スキャンデータが送信されるので、ユーザの作業負担を増大させることなく、編集スキャンデータを所望の解析サーバ80に解析させることができる。また、上記の実施形態によれば、1種類の原稿(例えば、請求書)のみならず、複数種類の原稿(例えば、請求書、見積書、日報)を纏めてスキャナ10に読み取らせても、中継サーバ50で適切なバーコード画像が付加されて、適切な解析サーバ80に送信される。これにより、各拠点のユーザの作業負担がさらに軽減される。 Further, according to the above embodiment, since the edit scan data is transmitted to the analysis server 80 identified by the server ID corresponding to the marks 111 and 121, the edit scan data can be stored without increasing the workload of the user. It can be analyzed by a desired analysis server 80. Further, according to the above embodiment, not only one type of manuscript (for example, an invoice) but also a plurality of types of manuscripts (for example, an invoice, a quotation, and a daily report) may be collectively read by the scanner 10. An appropriate barcode image is added by the relay server 50 and transmitted to an appropriate analysis server 80. As a result, the workload of the users at each site is further reduced.

また、バーコード画像112、122を合成する位置は、マーク111、121の位置に限定されず、解析サーバ80が抽出可能な予め定められた位置でもよい。また、バーコード画像112、122は、スキャン画像に合成されずに、スキャン画像と対応付けて解析サーバ80に送信されてもよい。さらに、バーコード合成処理は、中継サーバ50が実行することに限定されず、スキャナ10のCPUが実行してもよい。すなわち、「コンピュータに接続された読取装置」とは、通信ネットワーク101を通じて接続された中継サーバ50及びスキャナ10に限定されず、内部バスによって接続されたCPU及びスキャナ10であってもよい。この場合のCPUは、S12において、スキャナが出力したスキャンデータを内部バスを通じて取得すればよい。 Further, the position where the barcode images 112 and 122 are combined is not limited to the positions of the marks 111 and 121, and may be a predetermined position where the analysis server 80 can extract. Further, the barcode images 112 and 122 may be transmitted to the analysis server 80 in association with the scanned image without being combined with the scanned image. Further, the barcode synthesis process is not limited to being executed by the relay server 50, and may be executed by the CPU of the scanner 10. That is, the "reading device connected to the computer" is not limited to the relay server 50 and the scanner 10 connected through the communication network 101, but may be the CPU and the scanner 10 connected by the internal bus. In this case, the CPU may acquire the scan data output by the scanner in S12 through the internal bus.

また、上記の実施形態の中継サーバ50において、メモリ62に記憶された各種プログラムがCPU61によって実行されることによって、本発明のコントローラが実行する各処理が実現される例を説明した。しかしながら、コントローラの構成はこれに限定されず、その一部又は全部を集積回路等のハードウェアで実現してもよい。 Further, in the relay server 50 of the above embodiment, an example has been described in which various processes stored in the memory 62 are executed by the CPU 61 to realize each process executed by the controller of the present invention. However, the configuration of the controller is not limited to this, and a part or all of the controller configuration may be realized by hardware such as an integrated circuit.

さらに、本発明は、中継サーバ50として実現できるだけでなく、中継サーバ50に処理を実行させるプログラムとして実現してもよい。そして、当該プログラムは、non−transitoryな記録媒体に記録されて提供されてもよい。non−transitoryな記録媒体は、CD−ROM、DVD−ROM等の他、通信ネットワーク101を通じて中継サーバ50に接続可能なサーバに搭載されたメモリを含んでもよい。そして、サーバのメモリに記憶されたプログラムは、当該プログラムを示す情報或いは信号として、インターネット等の通信ネットワーク101を通じて配信されてもよい。 Further, the present invention can be realized not only as a relay server 50 but also as a program for causing the relay server 50 to execute a process. Then, the program may be recorded and provided on a non-transitory recording medium. The non-transitory recording medium may include a memory mounted on a server that can be connected to the relay server 50 through the communication network 101, in addition to a CD-ROM, a DVD-ROM, and the like. Then, the program stored in the memory of the server may be distributed through a communication network 101 such as the Internet as information or a signal indicating the program.

10・・・スキャナ
50・・・中継サーバ
55・・・通信I/F
61・・・CPU
62・・・メモリ
65・・・サーバプログラム
80A,80B・・・解析サーバ
10 ... Scanner 50 ... Relay server 55 ... Communication I / F
61 ... CPU
62 ... Memory 65 ... Server programs 80A, 80B ... Analysis server

Claims (11)

メモリと、通信インタフェースとを備えるコンピュータによって実行可能なプログラムであって、
該プログラムは、読取データを取得する取得処理を前記コンピュータに実行させ、前記読取データは、各々が複数の項目の1つに対応する複数の文字列、及び視覚的に区別可能な複数のマークのうちの少なくとも1つが記録された原稿を、前記コンピュータに接続された読取装置が読み取って生成したデータであり、
該プログラムは、
前記取得処理で取得した前記読取データで示される読取画像内において、前記複数のマークのうちの1つのマークを検出する検出処理と、
前記複数のマークそれぞれに対応付けて前記メモリに記憶されており且つ各々が前記複数の項目の1つを示す複数の項目情報のうち、前記検出処理で検出した前記1つのマークに対応する対応項目情報を、前記メモリから読み出す読出処理と、
前記読出処理で読み出した前記対応項目情報で示される前記項目に対応する前記文字列を、第1アルゴリズムで前記読取画像から抽出する抽出処理と、
前記抽出処理で抽出した前記文字列を保持する情報保持画像を生成する生成処理とを前記コンピュータに実行させ、前記情報保持画像は、第2アルゴリズムで前記文字列を抽出可能な形式の画像であり、
該プログラムは、前記第2アルゴリズムによる処理を実行可能なサーバに前記情報保持画像が保持する前記文字列に従って前記読取画像を解析させるために、前記読取画像及び前記情報保持画像を含む出力データを前記通信インタフェースを通じて前記サーバに送信する送信処理を前記コンピュータに実行させるプログラム。
A program that can be executed by a computer that has memory and a communication interface.
The program causes the computer to execute an acquisition process for acquiring read data, and the read data contains a plurality of character strings, each of which corresponds to one of a plurality of items, and a plurality of visually distinguishable marks. Data generated by reading a document in which at least one of them is recorded by a reading device connected to the computer.
The program
A detection process for detecting one of the plurality of marks in the scanned image indicated by the scanned data acquired in the acquisition process, and a detection process for detecting one of the plurality of marks.
Corresponding item corresponding to the one mark detected by the detection process among the plurality of item information which is stored in the memory in association with each of the plurality of marks and each indicates one of the plurality of items. Read processing to read information from the memory and
An extraction process of extracting the character string corresponding to the item indicated by the corresponding item information read by the read process from the read image by the first algorithm, and
The computer is made to execute a generation process for generating an information holding image that holds the character string extracted by the extraction process, and the information holding image is an image in a format in which the character string can be extracted by a second algorithm. ,
The program obtains the read image and output data including the information holding image in order to cause a server capable of executing the process by the second algorithm to analyze the read image according to the character string held by the information holding image. A program that causes the computer to execute a transmission process of transmitting data to the server through a communication interface.
該プログラムは、
前記読出処理において、前記複数のマークそれぞれに対応付けて前記メモリに記憶されており且つ各々が複数の前記サーバの1つを識別する複数のサーバIDのうち、前記検出処理で検出した前記マークに対応する対応サーバIDを、前記メモリからさらに読み出し、
前記送信処理において、前記通信インタフェースを通じて通信可能な前記複数のサーバのうち、前記読出処理で読み出した前記対応サーバIDで識別される前記サーバに、前記通信インタフェースを通じて前記出力データを送信する請求項1に記載のプログラム。
The program
In the read process, among the plurality of server IDs stored in the memory in association with each of the plurality of marks and each of which identifies one of the plurality of servers, the mark detected in the detection process is used. Further read the corresponding corresponding server ID from the memory,
Claim 1 in which the output data is transmitted through the communication interface to the server identified by the corresponding server ID read in the read process among the plurality of servers capable of communicating through the communication interface in the transmission process. The program described in.
該プログラムは、
前記取得処理において、複数の原稿を順番に読取可能な前記読取装置であるスキャナから、各々が1枚の原稿に記録された画像に対応する複数の前記読取画像を含む前記読取データを取得し、
前記読取データに含まれる前記複数の読取画像それぞれに対して、前記検出処理、前記読出処理、前記抽出処理、前記生成処理、及び前記送信処理を前記コンピュータに実行させる請求項2に記載のプログラム。
The program
In the acquisition process, the scanning data including the plurality of scanned images corresponding to the images recorded on one original is acquired from the scanner, which is the scanning device capable of sequentially scanning the plurality of documents.
The program according to claim 2, wherein the computer executes the detection process, the read process, the extraction process, the generation process, and the transmission process for each of the plurality of scanned images included in the scanned data.
前記メモリは、
第1項目を示す第1項目情報及び第1サーバを識別する第1サーバIDを、第1マークに対応付けて記憶し、
第2項目を示す第2項目情報及び第2サーバを識別する第2サーバIDを、第2マークに対応付けて記憶し、
該プログラムは、
前記取得処理において、第1読取画像及び第2読取画像を含む前記読取データを取得し、
前記検出処理で前記第1読取画像から前記第1マークを検出したことに応じて、
前記第1マークに対応する前記第1項目情報及び前記第1サーバIDを、前記メモリから読み出す前記読出処理と、
前記第1項目情報で示される前記第1項目に対応する第1文字列を、前記第1読取画像から抽出する前記抽出処理と、
前記第1文字列を保持する第1情報保持画像を生成する前記生成処理と、
前記第1読取画像及び前記第1情報保持画像を含む第1出力データを、前記第1サーバIDで識別される前記第1サーバに、前記通信インタフェースを通じて送信する前記送信処理とを前記コンピュータに実行させ、
前記検出処理で前記第2読取画像から前記第2マークを検出したことに応じて、
前記第2マークに対応する前記第2項目情報及び前記第2サーバIDを、前記メモリから読み出す前記読出処理と、
前記第2項目情報で示される前記第2項目に対応する第2文字列を、前記第2読取画像から抽出する前記抽出処理と、
前記第2文字列を保持する第2情報保持画像を生成する前記生成処理と、
前記第2読取画像及び前記第2情報保持画像を含む第2出力データを、前記第2サーバIDで識別される前記第2サーバに、前記通信インタフェースを通じて送信する前記送信処理とを前記コンピュータに実行させる請求項3に記載のプログラム。
The memory is
The first item information indicating the first item and the first server ID that identifies the first server are stored in association with the first mark.
The second item information indicating the second item and the second server ID that identifies the second server are stored in association with the second mark.
The program
In the acquisition process, the read data including the first read image and the second read image is acquired, and the read data is acquired.
In response to the detection of the first mark from the first scanned image in the detection process,
The read process of reading the first item information and the first server ID corresponding to the first mark from the memory, and
The extraction process for extracting the first character string corresponding to the first item indicated by the first item information from the first scanned image, and the extraction process.
The generation process for generating the first information holding image that holds the first character string, and
The transmission process of transmitting the first output data including the first read image and the first information holding image to the first server identified by the first server ID through the communication interface is executed on the computer. Let me
In response to the detection of the second mark from the second scanned image in the detection process,
The read process of reading the second item information and the second server ID corresponding to the second mark from the memory, and
The extraction process for extracting the second character string corresponding to the second item indicated by the second item information from the second scanned image, and the extraction process.
The generation process for generating the second information holding image that holds the second character string, and
The computer executes the transmission process of transmitting the second output data including the second scanned image and the second information holding image to the second server identified by the second server ID through the communication interface. The program according to claim 3.
該プログラムは、前記生成処理で生成した前記情報保持画像を前記読取画像に合成する合成処理を前記コンピュータに実行させ、
前記送信処理において、前記合成処理で前記情報保持画像を合成した前記読取画像を示す前記出力データを、前記通信インタフェースを通じて前記サーバに送信する請求項1から4のいずれかに記載のプログラム。
The program causes the computer to execute a compositing process of synthesizing the information-retaining image generated in the generation process with the scanned image.
The program according to any one of claims 1 to 4, wherein in the transmission process, the output data indicating the read image obtained by synthesizing the information holding image in the synthesis process is transmitted to the server through the communication interface.
該プログラムは、前記合成処理において、前記読取画像に含まれる前記マークの位置に、前記情報保持画像を合成する請求項5に記載のプログラム。 The program according to claim 5, wherein the program synthesizes the information holding image at the position of the mark included in the read image in the synthesis process. 該プログラムは、前記取得処理において、通信ネットワークを通じて接続された前記読取装置から、前記通信インタフェースを通じて前記読取データを受信する請求項1から6のいずれかに記載のプログラム。 The program according to any one of claims 1 to 6, wherein the program receives the read data from the reader connected through the communication network through the communication interface in the acquisition process. 前記マークは、複数の色のうちの1つで塗りつぶされた予め定められた形状の図形である請求項1から7のいずれかに記載のプログラム。 The program according to any one of claims 1 to 7, wherein the mark is a figure having a predetermined shape filled with one of a plurality of colors. メモリと、
通信インタフェースと、
コントローラとを備える情報処理装置であって、
前記コントローラは、前記通信インタフェースを通じて読取装置から読取データを取得する受信処理を実行し、前記読取データは、各々が複数の項目の1つに対応する複数の文字列、及び視覚的に区別可能な複数のマークのうちの少なくとも1つが記録された原稿を、前記読取装置が読み取って生成したデータであり、
前記コントローラは、
前記受信処理で受信した前記読取データで示される読取画像内において、前記複数のマークのうちの1つのマークを検出する検出処理と、
前記複数のマークそれぞれに対応付けて前記メモリに記憶されており且つ各々が前記複数の項目の1つを示す複数の項目情報のうち、前記検出処理で検出した前記1つのマークに対応する対応項目情報を、前記メモリから読み出す読出処理と、
前記読出処理で読み出した前記対応項目情報で示される前記項目に対応する前記文字列を、第1アルゴリズムで前記読取画像から抽出する抽出処理と、
前記抽出処理で抽出した前記文字列を保持する情報保持画像を生成する生成処理とを実行し、前記情報保持画像は、第2アルゴリズムで前記文字列を抽出可能な形式の画像であり、
前記コントローラは、前記第2アルゴリズムによる処理を実行可能なサーバに前記情報保持画像が保持する前記文字列に従って前記読取画像を解析させるために、前記読取画像及び前記情報保持画像を含む出力データを前記通信インタフェースを通じて前記サーバに送信する送信処理を実行する情報処理装置。
Memory and
Communication interface and
An information processing device equipped with a controller
The controller executes a reception process of acquiring read data from the reader through the communication interface, and the read data is visually distinguishable from a plurality of character strings, each of which corresponds to one of a plurality of items. This is data generated by reading a document in which at least one of a plurality of marks is recorded by the reading device.
The controller
A detection process for detecting one of the plurality of marks in the scanned image indicated by the scanned data received in the reception process, and a detection process for detecting one of the plurality of marks.
Corresponding item corresponding to the one mark detected by the detection process among the plurality of item information which is stored in the memory in association with each of the plurality of marks and each indicates one of the plurality of items. Read processing to read information from the memory and
An extraction process of extracting the character string corresponding to the item indicated by the corresponding item information read by the read process from the read image by the first algorithm.
A generation process for generating an information-retaining image that holds the character string extracted by the extraction process is executed, and the information-holding image is an image in a format in which the character string can be extracted by the second algorithm.
The controller outputs the output data including the read image and the information holding image in order to cause a server capable of executing the process by the second algorithm to analyze the read image according to the character string held by the information holding image. An information processing device that executes transmission processing to be transmitted to the server through a communication interface.
読取装置と、メモリ、通信インタフェース、及びコントローラを備える情報処理装置とを備えるシステムであって、
前記読取装置は、
各々が複数の項目の1つに対応する複数の文字列、及び視覚的に区別可能な複数のマークのうちの少なくとも1つが記録された原稿を読み取って、読取データを生成する読取処理と、
通信ネットワークを通じて接続された前記情報処理装置に、前記読取処理で生成した前記読取データを送信する第1送信処理とを実行し、
前記情報処理装置の前記コントローラは、
前記通信インタフェースを通じて前記読取装置から読取データを受信する受信処理と、
前記受信処理で受信した前記読取データで示される読取画像内において、前記複数のマークのうちの1つのマークを検出する検出処理と、
前記複数のマークそれぞれに対応付けて前記メモリに記憶されており且つ各々が前記複数の項目の1つを示す複数の項目情報のうち、前記検出処理で検出した前記1つのマークに対応する対応項目情報を、前記メモリから読み出す読出処理と、
前記読出処理で読み出した前記対応項目情報で示される前記項目に対応する前記文字列を、第1アルゴリズムで前記読取画像から抽出する抽出処理と、
前記抽出処理で抽出した前記文字列を保持する情報保持画像を生成する生成処理とを実行し、前記情報保持画像は、第2アルゴリズムで前記文字列を抽出可能な形式の画像であり、
前記コントローラは、前記第2アルゴリズムによる処理を実行可能なサーバに前記情報保持画像が保持する前記文字列に従って前記読取画像を解析させるために、前記読取画像及び前記情報保持画像を含む出力データを前記通信インタフェースを通じて前記サーバに送信する送信処理を実行するシステム。
A system including a reading device and an information processing device including a memory, a communication interface, and a controller.
The reading device is
A scanning process for generating scanned data by scanning a document in which at least one of a plurality of character strings, each corresponding to one of a plurality of items, and a plurality of visually distinguishable marks is recorded.
The first transmission process of transmitting the read data generated in the read process to the information processing device connected through the communication network is executed.
The controller of the information processing device
A reception process for receiving read data from the reader through the communication interface, and
A detection process for detecting one of the plurality of marks in the scanned image indicated by the scanned data received in the reception process, and a detection process for detecting one of the plurality of marks.
Corresponding item corresponding to the one mark detected by the detection process among the plurality of item information which is stored in the memory in association with each of the plurality of marks and each indicates one of the plurality of items. Read processing to read information from the memory and
An extraction process of extracting the character string corresponding to the item indicated by the corresponding item information read by the read process from the read image by the first algorithm.
A generation process for generating an information-retaining image that holds the character string extracted by the extraction process is executed, and the information-holding image is an image in a format in which the character string can be extracted by the second algorithm.
The controller outputs the output data including the read image and the information holding image in order to cause a server capable of executing the process by the second algorithm to analyze the read image according to the character string held by the information holding image. A system that executes transmission processing to be transmitted to the server through a communication interface.
前記読取装置は、前記読取処理において、複数の原稿を順番に読み取って、複数の前記読取画像を含む前記読取データを生成し、
前記コントローラは、前記読取データに含まれる前記複数の読取画像それぞれに対して、前記検出処理、前記読出処理、前記抽出処理、前記生成処理、及び前記送信処理を実行する請求項10に記載のシステム。
In the scanning process, the scanning device reads a plurality of documents in order to generate the scanning data including the plurality of scanned images.
The system according to claim 10, wherein the controller executes the detection process, the read process, the extraction process, the generation process, and the transmission process for each of the plurality of scanned images included in the scanned data. ..
JP2017087612A 2017-04-26 2017-04-26 Programs, information processing equipment, and systems Active JP6852544B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017087612A JP6852544B2 (en) 2017-04-26 2017-04-26 Programs, information processing equipment, and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017087612A JP6852544B2 (en) 2017-04-26 2017-04-26 Programs, information processing equipment, and systems

Publications (2)

Publication Number Publication Date
JP2018186416A JP2018186416A (en) 2018-11-22
JP6852544B2 true JP6852544B2 (en) 2021-03-31

Family

ID=64355279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017087612A Active JP6852544B2 (en) 2017-04-26 2017-04-26 Programs, information processing equipment, and systems

Country Status (1)

Country Link
JP (1) JP6852544B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7495830B2 (en) * 2020-06-26 2024-06-05 東芝テック株式会社 Image processing device and image forming device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3229370B2 (en) * 1991-06-07 2001-11-19 キヤノン株式会社 Image forming apparatus and image processing method
JPH0887564A (en) * 1994-09-19 1996-04-02 Olympus Optical Co Ltd Word processor
JPH08125845A (en) * 1994-10-27 1996-05-17 Business Karuchiyaa Center:Kk Device and method for processing image
JP4455357B2 (en) * 2005-01-28 2010-04-21 キヤノン株式会社 Information processing apparatus and information processing method
JP2007081650A (en) * 2005-09-13 2007-03-29 Canon Inc Reading / recording composite apparatus and information processing system
JP2008154203A (en) * 2006-11-22 2008-07-03 Fuji Xerox Co Ltd Print medium processing system, printing apparatus, information processing apparatus, and program
JP4992550B2 (en) * 2007-05-30 2012-08-08 富士ゼロックス株式会社 Information processing program and information processing system

Also Published As

Publication number Publication date
JP2018186416A (en) 2018-11-22

Similar Documents

Publication Publication Date Title
US10375267B2 (en) Mediation server
JP2021184190A (en) Image processing device, image processing method, and program
US20170177285A1 (en) Multi-function peripheral and non-transitory computer-readable recording medium storing computer-readable instructions causing device to execute workflow
JP2020184276A (en) Image processing equipment, image processing methods, and programs
JP2017129926A (en) Information processing apparatus, control method, and program
JP4860599B2 (en) Image processing device
JP6852544B2 (en) Programs, information processing equipment, and systems
JP6879034B2 (en) Programs, information processing equipment, and systems
US20180278795A1 (en) System and method of generating barcodes on scanned documents
JP6562740B2 (en) Image processing apparatus, image processing method, and program.
JP2015227013A (en) Printer, control method, and program
JP6191500B2 (en) Image processing apparatus, image processing system, and image processing program
US20140293366A1 (en) Image Processing Apparatus and Computer Program
JP2015164021A (en) Image processing system and processing method and program thereof
JP4766089B2 (en) Image processing program, image processing apparatus, and image processing system
JP5059529B2 (en) Information processing system, information processing apparatus, program, and recording medium
JP2021135868A (en) Tampering detection system and tampering detection method
JP4795309B2 (en) Image processing apparatus, image processing method, and image processing program
US11533403B2 (en) Process executing system, information processing system, information processing method, and recording medium for detecting duplicate image data from a same output material
JP7467834B2 (en) IMAGE PROCESSING SYSTEM, VIEW IMAGE GENERATION DEVICE, TERMINAL DEVICE, INFORMATION PROCESSING DEVICE, AND PROGRAM
JP4258666B2 (en) Network multi-function peripheral and address book data sharing method
JP2023053602A (en) Apparatus, information processing method, and program
JP2008092451A (en) Scanner system
US9332150B2 (en) Text scanning system, image processing apparatus, and text scanning method
JP2021026604A (en) Image processing device, image processing method and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180219

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210205

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210222

R150 Certificate of patent or registration of utility model

Ref document number: 6852544

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150