JP5469985B2 - Data delivery method and general-purpose data acquisition method - Google Patents
Data delivery method and general-purpose data acquisition method Download PDFInfo
- Publication number
- JP5469985B2 JP5469985B2 JP2009232319A JP2009232319A JP5469985B2 JP 5469985 B2 JP5469985 B2 JP 5469985B2 JP 2009232319 A JP2009232319 A JP 2009232319A JP 2009232319 A JP2009232319 A JP 2009232319A JP 5469985 B2 JP5469985 B2 JP 5469985B2
- Authority
- JP
- Japan
- Prior art keywords
- record
- data
- general
- display
- delivery
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、システム間やアプリケーション間でデータの受け渡しを行うデータ受渡方法に関する。 The present invention relates to a data delivery method for delivering data between systems and between applications.
データの受け渡しとしては、データベースに格納されているデータを他のデータベースで利用可能なデータに変換して他のデータベースに移行するためのデータ移行があるが、例えば、システムの更新やアプリケーションの変更時には、旧システムや旧アプリケーションによって構築されたデータ資産を、新しいシステムやアプリケーションで利用可能なデータに変換して移行する必要がある。 Data transfer includes data migration to convert data stored in a database to data that can be used in another database and migrate to another database. For example, when updating a system or changing an application It is necessary to convert data assets constructed by old systems and applications into data that can be used by new systems and applications for migration.
このため、従来から、所定のフォーマットでデータベース等に記録されたデータを、他のデータベースで利用可能にするために、他のデータベースのフォーマットに変換するデータ移行方法が提供されている。例えば、下記特許文献1には、移行元のデータベースのフォーマットと、移行先のデータベースのフォーマットとの間でのカラムの対応関係を把握したうえで変換処理を行い、データベースのデータを移行させるデータ移行装置等が開示されている。
For this reason, conventionally, there is provided a data migration method for converting data recorded in a database or the like in a predetermined format into another database format so that the data can be used in another database. For example, in
また、手動による原始的な方法ではあるが、異なるシステム間やアプリケーション間で一方のデータベースに格納されているレコードを他方のデータベースに一つずつ受け渡すといったデータ連携の場合には、双方のアプリケーションを同時に立ち上げておいて、移行元のアプリケーションのウィンドウに表示されたレコードの中から必要な情報をマウス等で選択してコピーし、その後、移行先のアプリケーションのウィンドウの所定の場所にペーストするといった手作業を繰り返すことでも、異なるシステム間やアプリケーション間でのデータ連携が可能である。 In addition, although it is a manual manual method, in the case of data linkage such as transferring records stored in one database between different systems or applications one by one to the other database, both applications Start up at the same time, copy necessary information from the records displayed in the window of the migration source application with the mouse, etc., and then paste it to the specified location in the window of the migration destination application. Data can be linked between different systems and applications by repeating manual operations.
例えば、下記特許文献2には、マウス等のポインティング入力装置を用いたコピー、切り取り、貼り付け処理によって、クリップボード(情報仮置き場)を介して、異なるアプリケーション間でデータの連携(移行)を行うことが開示されている。
For example, in
しかし、上記特許文献1に開示されたデータ移行方法では、移行元のデータベースに格納されているレコードの項目名、項目数、サイズ、データ形式等、レコード構造を正確に把握しなければ、データ移行を行うことができない。したがって、データ移行をする場合には、移行元のデータベースの設計者等と一緒に移行プログラムを作成するか、移行元データベースプログラムのソースコード等を解析してデータ形式を把握しなければ、データ移行を行うことができず、データ移行の手間やコストが大きい。
However, in the data migration method disclosed in the above-mentioned
大規模システムに係るデータベースであり、移行費用がある程度かかっても問題ない場合には、このような手間やコストをかけることもできるが、小規模で安価なシステムに係るデータベースの場合には、このような手間や費用をかけることは現実的ではない。このため、データベース移行自体を諦めざるを得ないケースも生じてしまう。また、ソースコードが公開されておらず、解析できない場合には、データ移行を行うことができない場合も生じる。 If it is a database related to a large-scale system and there is no problem even if it costs a certain amount of migration cost, it is possible to spend this effort and cost, but in the case of a database related to a small-scale and inexpensive system, this It is not realistic to spend such time and effort. For this reason, there are cases where the database migration itself must be given up. In addition, if the source code is not disclosed and cannot be analyzed, data migration may not be performed.
また、上記特許文献2に開示されたデータ連携方法では、アプリケーションのソースコード等を解析する必要もなく、簡単にコピー&ペーストによりデータ移行を行うことができるが、各レコードの項目毎に一つ一つ手動でコピー&ペーストを行う必要がある。したがって、多数のレコードをデータ変換する場合には、非常に手間がかかってしまい、レコード数が膨大な数となる場合には、現実的な方法ではない。
Further, in the data linkage method disclosed in
本発明は、このような課題に鑑みてなされたものであり、ソフトウェアのソースコード等を解析する必要が無く、簡単な処理で迅速にシステム間等でのデータの受け渡しが可能な汎用データ取得方法、データ連携方法及びデータ移行方法を提供することを目的とする。 The present invention has been made in view of such problems, and there is no need to analyze software source code, etc., and a general-purpose data acquisition method capable of quickly transferring data between systems with simple processing An object of the present invention is to provide a data linkage method and a data migration method.
上記課題を解決するための本発明に係るデータ受渡方法は、演算装置と記憶装置を備えたコンピュータにおいて、受渡元データベースに格納されている受渡元レコードを変換して受渡先データベースに格納するデータ受渡方法において、前記演算装置が、受渡元レコードを表示装置に表示するレコード表示工程と、前記演算装置が、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、前記演算装置が、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、を備えることを特徴とする。 A data delivery method according to the present invention for solving the above-described problem is a data delivery method for converting a delivery source record stored in a delivery source database and storing it in a delivery destination database in a computer including an arithmetic device and a storage device. In the method, the calculation device displays a delivery source record on a display device, and a mask in which the calculation device sets a display area of a predetermined item value in the record display window in association with the item name. The character recognition step of acquiring the text data of the item value by optically recognizing the image data extracted from the image of the display window of the delivery source record, and the computing device masks the text data. Stored in the storage device as general-purpose data associated with the item name of the item value set in Characterized in that it comprises a general-purpose data storage step, the to.
また、本発明に係るデータ受渡プログラムは、受渡元データベースに格納されている受渡元レコードを変換して受渡先データベースに格納するデータ受渡方法を、記憶装置を備えたコンピュータに行わせるデータ受渡プログラムにおいて、受渡元レコードを表示装置に表示するレコード表示工程と、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、をコンピュータに実行させることを特徴とする。 The data delivery program according to the present invention is a data delivery program for causing a computer provided with a storage device to perform a data delivery method for converting a delivery source record stored in a delivery source database and storing it in a delivery destination database. , a record display step of displaying on a display device delivery original record, by a mask that is set in association with the item name display area of the predetermined item values in the record display window, from the image of the display window of the delivery source record Character recognition process for acquiring text data of the item value by optical character recognition of the extracted image data, and general data associating the text data with the item name of the item value set in the mask A general-purpose data storage step for storing in the storage device; Characterized in that to.
また、本発明に係るコンピュータシステムは、種々の演算を行う演算装置と、受渡元データベース及び受渡先データベースとを格納する記憶装置と、表示装置とを備えたコンピュータシステムにおいて、前記演算装置は、受渡元レコードを前記表示装置に表示するレコード表示制御と、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識制御と、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納制御と、
を行うことを特徴とする。
The computer system according to the present invention is a computer system including an arithmetic device that performs various arithmetic operations, a storage device that stores a delivery source database and a delivery destination database, and a display device. and a record display control to display the original record to the display device, the mask which is set in association with the item name display area of the predetermined item values in the record display window, extracted from the image of the display window of the delivery source record The character recognition control for acquiring the text data of the item value by optically recognizing the image data, and the general data associating the text data with the item name of the item value set in the mask General-purpose data storage control stored in a storage device;
It is characterized by performing.
また、本発明に係る汎用データ取得方法は、演算装置及び記憶装置を備えたコンピュータにおいて、ディスプレイ上に表示されているレコードから汎用データを取得する汎用データ取得方法であって、前記演算装置が、レコードを前記ディスプレイ上に表示するレコード表示工程と、前記演算装置が、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記レコードの前記レコード表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、前記演算装置が、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、を備えることを特徴とする。
The general-purpose data acquisition method according to the present invention is a general-purpose data acquisition method for acquiring general-purpose data from a record displayed on a display in a computer including an arithmetic device and a storage device, and the arithmetic device comprises: and a record display step of displaying the records on the display, the arithmetic unit, the record display mask is set in association with the item name display area of the predetermined item values in the window, the previous sharp code A character recognition step of acquiring text data of the item value by optically recognizing the image data extracted from the image of the record display window, and the arithmetic unit is set with the text data as the mask General-purpose data storage for storing in the storage device as general-purpose data associated with the item name of the item value Characterized in that it comprises a and.
本発明によれば、受渡元のデータフォーマットを調べる必要なく、手軽に受渡元レコードを受渡先のシステムやアプリケーションに受け渡しすることができる。また、受渡元のレコードをいったん汎用データに変換することで、様々なアプリケーションやシステム間でのデータ受け渡しも可能となる。 According to the present invention, it is possible to easily deliver a delivery source record to a delivery destination system or application without having to check the data format of the delivery source. In addition, once the record of the delivery source is converted into general-purpose data, data can be delivered between various applications and systems.
図面を参照しながら本発明の実施形態について詳細に説明する。図1は、本実施形態に係るデータ移行システムの構成を概略的に示す模式図である。図1に示すように、データ移行システム1は、コンピュータ本体10と、コンピュータ本体10からの出力情報を表示する表示装置であるディスプレイ20と、コンピュータ本体10に情報入力するためのキーボードやマウス等の入力装置22とを備える。
Embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram schematically showing the configuration of the data migration system according to the present embodiment. As shown in FIG. 1, the
コンピュータ本体10は、各種演算を行うCPU(Central
Processing Unit)等の演算装置11と、各種情報を記憶しておくHDD(Hard Disc
Drive)や演算処理のワークエリアとして使用されるRAM(Random Access Memory)等からなる記憶装置12とを備えている。
The computer
An
And a
記憶装置12は、コンピュータ本体10において後述するアプリケーションや所定の処理を実行するための各種プログラムを格納するプログラムDB(データベース)121と、アプリケーションAのレコードを格納するアプリA−DB122と、後述するようにアプリケーションAのレコードから取得される汎用データを格納する汎用データDB123と、アプリケーションBのレコードを格納するアプリB−DB124と、汎用データを取得するためのマスクを格納するマスクDB125とを備えている。
The
なお、本実施形態では、一台のコンピュータにおいて、異なるアプリケーション(アプリケーションAとアプリケーションB)の間でデータの受け渡しを行う、すなわち、アプリケーションAのデータベースA(DB−A)122に格納されているレコードを、アプリケーションBのデータベース(DB−B)124に移行させる場合を例に挙げて説明する。アプリケーションA及びBは、ともに住所録データベースを管理するためのアプリケーションである。 In the present embodiment, data is transferred between different applications (application A and application B) in one computer, that is, records stored in the database A (DB-A) 122 of the application A. Is taken as an example to be transferred to the database (DB-B) 124 of the application B. Applications A and B are both applications for managing the address book database.
本実施形態は、アプリケーションAのレコードの所望の項目値を、表示画面の中のレコード表示ウィンドウの画像データから光学文字認識(OCR:Optical Character Recognition)によりテキスト化することで、アプリB−DB124に移行するための汎用データを取得することを特徴としている。このとき、レコード表示ウィンドウの画像から所望の項目値の表示領域を抽出するためにマスクを用いている。 In the present embodiment, a desired item value of a record of application A is converted into text by optical character recognition (OCR: Optical Character Recognition) from image data of a record display window in the display screen, and is thus stored in application B-DB 124. It is characterized by acquiring general-purpose data for migration. At this time, a mask is used to extract a display area of a desired item value from the image of the record display window.
そこで、このマスクを作成する手順について、図面を参照しながら説明する。図2は、本実施形態に係るマスクの作成手順を示すフローチャートであり、図3は、本実施形態に係るアプリA−DB122に格納されている一レコードの表示ウィンドウを示す図である。図4は、マスクDB125に格納されるマスクXの設定内容を示す図である。なお、本実施形態では、マスクXを用いて、図3の「氏名」、「氏名読み」、「社名」、「電子メール」の4つの項目について、汎用データを取得する場合を例に挙げて説明する。
A procedure for creating this mask will be described with reference to the drawings. FIG. 2 is a flowchart showing a mask creation procedure according to the present embodiment, and FIG. 3 is a diagram showing a display window of one record stored in the application A-DB 122 according to the present embodiment. FIG. 4 is a diagram illustrating the setting contents of the mask X stored in the
まず、データ移行を行うユーザは、移行元のデータベースを管理するアプリケーションAと、移行のための処理を行う移行アプリケーションを起動させた状態で、マスク作成を開始する。アプリケーションA及び移行アプリケーションを実行するためのプログラムは、プログラムDB121内に格納されており、演算装置11がこれらのプログラムを実行することで、アプリケーションA及び移行アプリケーションが実行される。
First, a user who performs data migration starts mask creation in a state where an application A that manages a migration source database and a migration application that performs processing for migration are activated. Programs for executing the application A and the migration application are stored in the program DB 121, and the application device A and the migration application are executed by the
開始後、S10では、ユーザは、入力装置22を操作して、図3に示すように、移行元のアプリA−DB122の所望の移行元レコードを表示するようデータ移行システム1に指示する。指示を受けたコンピュータ本体10は、演算装置11がアプリケーションAのプラグラムを実行することで、上記移行元レコードをディスプレイ20に表示する。
After the start, in S10, the user operates the
この状態で、ユーザが、移行アプリケーションのマスク設定機能を起動させ、マスク設定処理が開始される(S11)。なお、本実施形態では、レコードの表示ウィンドウがディスプレイ20の全体にわたって最大化されて表示されている場合を例に挙げて説明する。
In this state, the user activates the mask setting function of the migration application, and the mask setting process is started (S11). In the present embodiment, a case where the record display window is maximized and displayed over the
S12では、移行アプリケーションが、表示されているアプリケーションAのレコードに含まれる複数の項目の中から、アプリケーションBのDB124に移行させたい項目の項目名を入力するように、ユーザに促す。この案内は、例えば、音声やディスプレイ20上への表示によって呈示される。最初に設定される項目名として、ユーザが「氏名」を入力すると、マスクXの設定として、マスクDB125に記録される。
In S12, the migration application prompts the user to input the item name of the item to be migrated to the DB 124 of the application B from the plurality of items included in the displayed record of the application A. This guidance is presented, for example, by voice or display on the
続いて、S13に進み、移行アプリケーションからユーザに対して、項目「氏名」の項目値が表示されている領域を指定するように案内がなされる。ユーザが入力装置22であるマウスを操作して、図3の項目「氏名」の項目値が表示されている領域51(図中、点線で囲んである領域)を指定すると、指定された領域の座標値が項目名「氏名」と関連づけられ、マスクXの設定としてマスクDB125に記録される。
Subsequently, the process proceeds to S13, and the migration application guides the user to designate an area in which the item value of the item “name” is displayed. When the user operates the mouse which is the
続いて、S14では、移行アプリケーションが、全ての項目について設定が終了したか否かについて、ユーザに問い合わせる。このような問い合わせは、例えば、画面上に、問い合わせの文章と共に、「YES」及び「NO」の回答ボタン表示させることで行われる。まだ、終了していないとユーザが回答した場合には、S12に戻り、次の項目について、上述したS12及びS13が再度実施される。 Subsequently, in S14, the migration application inquires of the user as to whether or not the setting has been completed for all items. Such an inquiry is made, for example, by displaying “YES” and “NO” answer buttons together with the inquiry text on the screen. If the user replies that the process has not been completed yet, the process returns to S12, and S12 and S13 described above are performed again for the next item.
全ての項目について設定が終了、すなわち、本実施形態では、「氏名」、「氏名読み」、「社名」及び「電子メール」の項目についてのマスク設定(項目名及び項目値の領域座標)が終了、すなわち、残りの項目名「氏名読み」に対して領域52が指定され、項目名「社名」に対して領域53が指定され、項目名「電子メール」に対して領域54が指定され、S14においてユーザが終了と回答すると、S15へと進む。
Setting for all items is completed. In other words, in this embodiment, mask setting (area coordinates of item names and item values) for “name”, “name reading”, “company name”, and “e-mail” items is completed. That is, the
S15へ進むときには、マスクDB125には、図4(a)に示すようなマスクXの設定が格納されている。このように、マスクXの項目情報としては、項目番号毎に、項目名及び領域座標が関連づけて記録されている。
When the process proceeds to S15, the
次に、S15では、アプリA−DB122のレコード表示ウィンドウにおける特徴画像の指定が行われる。この特徴画像は、後述する文字認識を行う際に、表示ウィンドウに所望の項目値が表示されていない場合に警告を出したりするために用いられるデータであり、レコード表示ウィンドウに表示されるレコード表示画像の一部であって、レコード表示画像に常に表示される特徴的な文字や図形等が特徴画像として保存される。
Next, in S15, the feature image in the record display window of the
特徴画像としては、例えば、図3に点線で囲んで例示しているように、アプリケーションAの名称表示領域61、氏名一覧の表示列の上端に表示された文字「氏名」の表示領域62、文字「レコード情報」の表示領域63、複数の表示文字からなる始めかぎ括弧形状の表示領域64等が指定される。
As the feature image, for example, as illustrated in FIG. 3 surrounded by a dotted line, the
このように、マスクXに特徴画像を関連づけて設定しておけば、マスク設定時と比べて、レコード表示ウィンドウが縮小され、ディスプレイ画面上に特徴画像が表示されていない場合には、ユーザに対して音等で警告を出すことによって、ウィンドウを拡大させ、所望の項目値が全てディスプレイ画面上のレコード表示ウィンドウ内に表示されるようにすることができる。 As described above, if the feature image is set in association with the mask X, the record display window is reduced as compared with the mask setting and the feature image is not displayed on the display screen. By issuing a warning with a sound or the like, the window can be enlarged so that all desired item values are displayed in the record display window on the display screen.
図4(b)に示すように、特徴画像情報としては、特徴画像番号毎に、特徴画像(領域61,62,63,64)のデータと、特徴画像の領域座標が関連づけて記録される。このように、S15で特徴画像が指定されると、マスクXの作成が終了し、図4(a)及び(b)に示すマスクXの設定情報がマスクDB125に格納される。
As shown in FIG. 4B, as feature image information, data of feature images (
続いて、図5を参照しながら、データベースAのレコードからデータベースBに移行可能な中間的な汎用データを取得する汎用データ取得処理の流れを説明する。図5は、汎用データ取得処理の流れを示すフローチャートである。 Next, the flow of general-purpose data acquisition processing for acquiring intermediate general-purpose data that can be transferred from the record in the database A to the database B will be described with reference to FIG. FIG. 5 is a flowchart showing the flow of general-purpose data acquisition processing.
まず、ユーザは、アプリケーションAと移行アプリケーションを起動したうえで、汎用データの取得を開始する。開始後、S20では、ユーザの指令に従って、アプリケーションAが実行され、ユーザが汎用データの取得を望む移行元レコードがディスプレイ20に表示される。この状態で、ユーザが移行アプリケーションの汎用データ取得機能を起動させ、汎用データ取得処理が開始される(S21)。
First, the user starts acquisition of general-purpose data after activating the application A and the migration application. After the start, in S20, the application A is executed according to the user's instruction, and the migration source record that the user desires to acquire the general-purpose data is displayed on the
S22では、ディスプレイ画面上のレコード表示ウィンドウがキャプチャされ、画像データとして記憶装置12に一時的に記録される。続いて、S23では、マスクXに設定されている特徴画像を用いて、キャプチャ画像(移行元レコード表示ウィンドウ)を確認し、マスクX設定時のレコード表示ウィンドウと比較してウィンドウが縮小されるなどして、特徴画像の一部が表示されていない場合には、ユーザに警告アナウンス「ウィンドウサイズを大きくしてください」を発し、ウィンドウの拡大等の補正を求める。なお、全ての特徴画像が表示されるように、演算装置12が自動でレコード表示ウィンドウを拡大するように構成しても良い。
In S22, the record display window on the display screen is captured and temporarily recorded in the
続いて、S24では、マスクXに設定されている各項目について、キャプチャ画像から各項目値の領域座標の画像を抜き出して、OCR(光学文字認識)処理によりテキストデータに変換する。変換された項目値のテキストデータは、対応する項目名と関連づけられた汎用データとして、記憶装置12の汎用データDB123に格納される(S25)。
Subsequently, in S24, for each item set in the mask X, an area coordinate image of each item value is extracted from the captured image and converted into text data by OCR (optical character recognition) processing. The converted text data of the item value is stored in the
図6は、汎用データDB123に格納される汎用データの内容を示す図である。汎用データは、テキスト化された各項目値にそれぞれの項目名がタグとして付いたタグ付きデータとして汎用データDB123に保存される。本実施形態では、図6に示すように、項目名「氏名」が付された項目値「商標 幸次」、項目名「氏名読み」が付された項目値「ショウヒョウ コウジ」、項目名「社名」が付された項目値「B株式会社」、項目名「電子メール」が付された項目値「shouhyou@bcomapny.com」から構成される汎用データが保存される。
FIG. 6 is a diagram showing the contents of general-purpose data stored in the general-
なお、汎用データのデータベースへの格納に先立って、取得された汎用データをディスプレイ20上に表示し、ユーザが内容を確認できる工程を入れるようにしても良い。修正がなければ、ユーザの指示によりそのまま格納され、修正がある場合には、ユーザが手動で修正を施した修正済み汎用データが汎用データDB123に格納される。
Prior to storing the general-purpose data in the database, the acquired general-purpose data may be displayed on the
続いて、S26に進み、汎用データを取得したい次のレコードがあるか否かが判定され、ある場合にはS27へと進み、ない場合には汎用データ取得処理を終了する。この判定は、例えば、汎用データ取得処理開始時に、汎用データを取得するレコードの数をn個と設定しておけば、n個の汎用データを取得したか否かにより自動的に判定される。また、移行アプリケーションがユーザに対して問い合わせるようにしても良い。 Subsequently, the process proceeds to S26, where it is determined whether or not there is a next record for which general data is to be acquired. If there is, the process proceeds to S27, and if not, the general data acquisition process is terminated. This determination is automatically made based on whether or not n general-purpose data have been acquired, for example, if the number of records from which general-purpose data is acquired is set to n at the start of the general-purpose data acquisition process. Further, the migration application may make an inquiry to the user.
S27では、ディスプレイ20に次の移行元レコードを表示させる。この表示は、移行アプリケーションが、アプリケーションAにおいて次のレコードを表示させるアクションを実行することで実現される。例えば、アプリケーションAにおいて、下カーソルキーが押下されると次のレコードが表示されるよう構成されている場合には、S27において、移行アプリケーションが下カーソルキーの押下信号を出力して、アプリケーションAに次のレコードを表示させるようにすれば良い。
In S27, the next transfer source record is displayed on the
S27において次の移行元レコードが表示されると、S22へと戻り、再びS22〜S25が繰り返され、次のレコードの汎用データが取得され、汎用データDB123へと格納される。
When the next transfer source record is displayed in S27, the process returns to S22, S22 to S25 are repeated again, and the general data of the next record is acquired and stored in the
以上、アプリA−DB122のレコードから汎用データを取得する処理の流れについて詳細に説明したが、上述したアプリケーションAや移行アプリケーションの機能は、演算装置11がプログラムDB121内に格納されている所定のプログラムを実行することで実現される。
The processing flow for acquiring general-purpose data from the record of the
続いて、アプリA−DB122のレコードから取得した汎用データをアプリケーションBのフォーマットに合わせたレコードに変換して、移行先レコードとしてアプリB−DB124に格納する処理について説明する。汎用データは、図6に示したように、項目名と項目値とを一対一で関連づけて列記したデータ構造であるため、アプリケーションBがこのような標準データのインポートに対応している場合には、汎用データをアプリケーションBにインポートするだけで、汎用データがアプリB−DB124用のレコードに変換されてデータベースに記録され、データの移行が完了する。
Next, a process of converting the general-purpose data acquired from the record of the
また、アプリケーションBのレコード構造が分かっていれば、汎用データをアプリケーションBのレコード構造のデータに直接変換し、アプリB−DB124に格納するようにしても良い。このような汎用データのアプリケーションBへの受け渡しは、ユーザの指示によって行うだけなく、移行アプリケーションの機能として組み込むようにしても良い。このとき、移行したい全てのレコードの汎用データを取得してからまとめてアプリケーションBに渡すようにしても良いし、一つのレコードの汎用データを取得するたびにアプリケーションBに渡すように構成しても良い。
If the record structure of the application B is known, the general-purpose data may be directly converted into data having the record structure of the application B and stored in the application B-
なお、汎用データを一つずつアプリケーションBに受け渡すといったデータ連携の場合には、アプリケーションBを起動してレコード入力画面を表示すると共に、このレコード入力画面の対応する項目値の入力欄に汎用データの各項目値を入力するようなプログラムを作成すれば良い。この場合には、汎用データに含まれていない項目値であって、アプリケーションBのレコードとして必要な項目値を、そのままその入力画面において補充入力することも可能である。 In the case of data linkage in which general-purpose data is transferred to the application B one by one, the application B is activated to display a record input screen, and the general-purpose data is displayed in the corresponding item value input field of the record input screen. What is necessary is just to create the program which inputs each item value of. In this case, item values that are not included in the general-purpose data and are necessary as records of the application B can be replenished and input on the input screen as they are.
以上、本実施形態について詳細に説明したが、本実施形態によれば、アプリケーションAのレコード表示画面からOCR処理によりテキストデータからなる汎用データを取得しているので、アプリケーションAのデータ構造を知る必要もなく、アプリA−DB122のレコードを手軽にアプリB−DB124に受け渡すことができる。
Although the present embodiment has been described in detail above, according to the present embodiment, general-purpose data composed of text data is acquired from the record display screen of the application A by OCR processing, so it is necessary to know the data structure of the application A The record of the
また、異なるシステム間でデータ受渡を行う場合であっても、受け渡しのルールを定めて専用の移行プログラムを開発するといった膨大な工数が不要となり、汎用データ取得のためのマスクを設定するという、低コストで簡単な処理によってシステム間でのデータの受け渡しを行うことができる。 In addition, even when data is transferred between different systems, it is not necessary to set up a mask for general-purpose data acquisition. Data can be transferred between systems by simple processing at a low cost.
また、このように、種々のデータベースに容易にインポート可能な汎用データを取得すれば、アプリケーションA−B間だけでなく、他の様々なアプリケーションやネットワークを介した他のシステム等と容易にデータ連携を行うことができ、低コストで手軽に複数のシステムを接続することもできる。 In addition, if general-purpose data that can be easily imported into various databases is obtained in this way, data can be easily linked not only between applications A and B but also with other various applications and other systems via networks. It is possible to connect a plurality of systems easily at low cost.
なお、本発明の実施の形態は、上記実施形態に限定されるものではなく、本発明の主旨を逸脱しない範囲内でさらに種々の変形が可能である。例えば、上記実施形態におけるマスク設定処理手順や汎用データ取得処理手順は、あくまでも一例であり、適宜、順序を入れ替えることができるのは言うまでもない。 The embodiment of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the gist of the present invention. For example, the mask setting process procedure and the general-purpose data acquisition process procedure in the above embodiment are merely examples, and it goes without saying that the order can be changed as appropriate.
また、上記実施形態では、一つのコンピュータ上で稼働するアプリケーション間でデータ受渡を行う場合について説明したが、ネットワークを介して接続されたシステム間でデータ受渡を行う場合にも適用できるのは言うまでもない。この場合、上述した受渡アプリケーションの機能は、一つのコンピュータ上で行われても良いし、複数のコンピュータ上で分散して行われても良い。 In the above-described embodiment, the case where data is transferred between applications running on one computer has been described. However, it is needless to say that the present invention can be applied to a case where data is transferred between systems connected via a network. . In this case, the function of the delivery application described above may be performed on one computer or may be performed in a distributed manner on a plurality of computers.
また、本実施形態のように汎用データを介することで、一対一だけでなく、一対多のアプリケーションやシステム間で、さらには多対多のアプリケーションやシステム間でのデータ移行も可能である。 Further, by using general-purpose data as in the present embodiment, not only one-to-one, but also data transfer between one-to-many applications and systems, and between many-to-many applications and systems is possible.
また、上記実施形態では、レコードの表示ウィンドウがディスプレイ画面一杯に最大化された場合で説明したが、表示ウィンドウがディスプレイ画面の一部に表示される場合にももちろん本発明を適用できる。 In the above embodiment, the case where the display window of the record is maximized to fill the display screen has been described. However, the present invention can also be applied to the case where the display window is displayed on a part of the display screen.
また、上記実施形態では、一つの表示ウィンドウに一つのレコードが表示された場合を例に挙げて説明したが、一つの表示ウィンドウ内に複数のレコードが表示される場合であっても、マスクの設定を複数レコード用に対応した設定にすれば、本発明を適用可能である。 In the above embodiment, the case where one record is displayed in one display window has been described as an example. However, even when a plurality of records are displayed in one display window, the mask is not displayed. The present invention can be applied by setting the setting corresponding to a plurality of records.
また、上記実施形態では、アプリケーションAのデータとして記録済みのレコードをアプリケーションBに受け渡す場合について説明したが、アプリケーションAのレコード入力画面において入力中のレコードであっても、入力中のレコード表示ウィンドウをキャプチャすることで、汎用データを取得することは可能である。 In the above-described embodiment, a case has been described in which a record that has been recorded as application A data is transferred to application B. However, even if a record is being input on the record input screen of application A, a record display window being input It is possible to acquire general-purpose data by capturing.
1 データ移行システム
10 コンピュータ本体
11 演算装置
12 記憶装置
121 プログラムDB
122 アプリA−DB
123 汎用データDB
124 アプリB−DB
125 マスクDB
20 ディスプレイ
22 入力装置
1
122 Application A-DB
123 General-purpose data DB
124 application B-DB
125 mask DB
20
Claims (6)
前記演算装置が、受渡元レコードを表示装置に表示するレコード表示工程と、
前記演算装置が、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、
前記演算装置が、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、
を備えることを特徴とするデータ受渡方法。 In a computer having an arithmetic device and a storage device, in a data delivery method for converting a delivery source record stored in a delivery source database and storing it in a delivery destination database,
The arithmetic unit displays a delivery source record on a display device, a record display step,
The arithmetic unit recognizes optical characters of image data extracted from the display window image of the delivery source record by using a mask in which a display area of a predetermined item value in the record display window is set in association with the item name. Thus, a character recognition process for acquiring text data of the item value,
A general-purpose data storage step in which the arithmetic device stores the text data in the storage device as general-purpose data associated with the item name of the item value set in the mask;
A data delivery method comprising:
前記レコード表示工程、前記文字認識工程、前記汎用データ格納工程及び前記受渡先レコード格納工程を繰り返し、複数の受渡元レコードを前記受渡先データベースに受け渡しすることを特徴とする請求項1記載のデータ受渡方法。 A transfer destination record storing step of converting the general-purpose data into a record in the format of the transfer destination database, and storing it in the transfer destination database as a transfer destination record;
2. The data delivery according to claim 1, wherein the record display step, the character recognition step, the general-purpose data storage step, and the delivery destination record storage step are repeated to deliver a plurality of delivery source records to the delivery destination database. Method.
受渡元レコードを表示装置に表示するレコード表示工程と、
レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、
前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、
をコンピュータに実行させることを特徴とするデータ受渡プログラム。 In a data delivery program for causing a computer equipped with a storage device to perform a data delivery method for converting a delivery source record stored in a delivery source database and storing it in a delivery destination database.
A record display process for displaying the delivery source record on the display device;
By recognizing the image data extracted from the image of the display window of the delivery source record by optical character recognition using the mask that is set in association with the item name of the display area of the predetermined item value in the record display window, the item concerned A character recognition process for obtaining text data of values;
A general-purpose data storage step of storing the text data in the storage device as general-purpose data associated with the item name of the item value set in the mask;
A data delivery program characterized by causing a computer to execute.
前記演算装置は、
受渡元レコードを前記表示装置に表示するレコード表示制御と、
レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記受渡元レコードの表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識制御と、
前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納制御と、
を行うことを特徴とするコンピュータシステム。 In a computer system comprising an arithmetic device that performs various calculations, a storage device that stores a delivery source database and a delivery destination database, and a display device,
The arithmetic unit is:
Record display control for displaying a delivery source record on the display device;
By recognizing the image data extracted from the image of the display window of the delivery source record by optical character recognition using the mask that is set in association with the item name of the display area of the predetermined item value in the record display window, the item concerned Character recognition control to obtain the text data of the value,
General-purpose data storage control for storing the text data in the storage device as general-purpose data associated with the item name of the item value set in the mask;
The computer system characterized by performing.
前記演算装置が、レコードを前記ディスプレイ上に表示するレコード表示工程と、
前記演算装置が、レコード表示ウィンドウにおける所定の項目値の表示領域をその項目名と関連づけて設定してあるマスクにより、前記レコードの前記レコード表示ウィンドウの画像から抽出された画像データを光学文字認識することで、当該項目値のテキストデータを取得する文字認識工程と、
前記演算装置が、前記テキストデータを前記マスクに設定されている当該項目値の項目名と関連づけた汎用データとして前記記憶装置に格納する汎用データ格納工程と、
を備えることを特徴とする汎用データ取得方法。 A general-purpose data acquisition method for acquiring general-purpose data from a record displayed on a display in a computer including an arithmetic device and a storage device,
The arithmetic unit displays a record on the display, a record display step;
Optical the arithmetic apparatus, the record display mask is set in association with the item name display area of the predetermined item values in the window, the image data extracted from the image of the record display window before sharp code By recognizing characters, a character recognition step of acquiring text data of the item value,
A general-purpose data storage step in which the arithmetic device stores the text data in the storage device as general-purpose data associated with the item name of the item value set in the mask;
A general-purpose data acquisition method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009232319A JP5469985B2 (en) | 2009-10-06 | 2009-10-06 | Data delivery method and general-purpose data acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009232319A JP5469985B2 (en) | 2009-10-06 | 2009-10-06 | Data delivery method and general-purpose data acquisition method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011081537A JP2011081537A (en) | 2011-04-21 |
JP5469985B2 true JP5469985B2 (en) | 2014-04-16 |
Family
ID=44075545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009232319A Active JP5469985B2 (en) | 2009-10-06 | 2009-10-06 | Data delivery method and general-purpose data acquisition method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5469985B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9280253B2 (en) | 2012-06-28 | 2016-03-08 | Findex Inc. | Application coordinating system, application coordinating method, and application coordinating program |
JP6339312B2 (en) * | 2012-06-28 | 2018-06-06 | 株式会社ファインデックス | Application linkage system, application linkage method, and application linkage program |
JP6080586B2 (en) | 2013-02-13 | 2017-02-15 | 株式会社ファインデックス | Character recognition system, character recognition program, and character recognition method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0554180A (en) * | 1991-08-29 | 1993-03-05 | Oki Electric Ind Co Ltd | Slop format defining system for optical character reader |
JPH11119957A (en) * | 1997-10-14 | 1999-04-30 | Nec Corp | Data input and output screen preparation and display system |
JP2001147990A (en) * | 1999-11-24 | 2001-05-29 | Sharp Corp | Device and method for processing image data and storage medium to be utilized therefor |
JP2001202475A (en) * | 2000-01-19 | 2001-07-27 | Sharp Corp | Character recognizer and its control method |
JP2008235951A (en) * | 2005-06-28 | 2008-10-02 | Movell Software:Kk | Backup of mobile user data using difference method |
JP2007048053A (en) * | 2005-08-10 | 2007-02-22 | Canon Inc | Document processing method, document processing device, and program |
JP4427500B2 (en) * | 2005-09-29 | 2010-03-10 | 株式会社東芝 | Semantic analysis device, semantic analysis method, and semantic analysis program |
JP2008003741A (en) * | 2006-06-21 | 2008-01-10 | Hitachi Ltd | Information system linkage method evaluation method, apparatus and program |
JP4817994B2 (en) * | 2006-07-03 | 2011-11-16 | キヤノン株式会社 | Data management system |
JP2009053827A (en) * | 2007-08-24 | 2009-03-12 | Fuji Xerox Co Ltd | Form image processing device and form image processing program |
-
2009
- 2009-10-06 JP JP2009232319A patent/JP5469985B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011081537A (en) | 2011-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792257B2 (en) | Form engine | |
US9507760B2 (en) | Methods and apparatus for electronic document handling | |
US9047258B2 (en) | Systems and methods for the comparison of selected text | |
CN108762743B (en) | Data table operation code generation method and device | |
CN105528418B (en) | A kind of design documentation generation method and device | |
JPH11296541A (en) | Structured data management system and computer-readable recording medium recording structured data management program | |
JP2006031292A (en) | Document processing apparatus, document processing method, and document processing program | |
JP2019133645A (en) | Semi-automated method, system, and program for translating content of structured document to chat based interaction | |
WO2014002293A1 (en) | Application coordination system, application coordination method, and application coordination program | |
US20160275095A1 (en) | Electronic device, method and storage medium | |
US9852117B1 (en) | Text-fragment based content editing and publishing | |
WO2023151597A1 (en) | Task processing method and apparatus, electronic device, and computer-readable storage medium | |
CN113407284A (en) | Navigation interface generation method and device, storage medium and electronic equipment | |
US11663199B1 (en) | Application development based on stored data | |
JP5469985B2 (en) | Data delivery method and general-purpose data acquisition method | |
US20250093970A1 (en) | Learned computer control using pointing device and keyboard actions | |
US20160026613A1 (en) | Processing image to identify object for insertion into document | |
CN109918389B (en) | Data risk control method, device and storage medium based on message flow and graph database | |
JP2016091347A (en) | Handwritten-character management system, handwritten-character management method, and handwritten-character management program | |
US11328120B2 (en) | Importing text into a draft email | |
US11567655B2 (en) | Secure signature creation on a secondary device | |
JP6190549B1 (en) | Document processing system | |
WO2023013203A1 (en) | Input assistance device, method, program, and input system | |
JP4595400B2 (en) | Document processing device | |
JP6393137B2 (en) | Form management system, management book service server, management book data update method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120801 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130906 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130917 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131113 |
|
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: 20140128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140203 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |