JP2005251061A - Data processing system, terminal, data processing method, program and recording medium - Google Patents
Data processing system, terminal, data processing method, program and recording medium Download PDFInfo
- Publication number
- JP2005251061A JP2005251061A JP2004063622A JP2004063622A JP2005251061A JP 2005251061 A JP2005251061 A JP 2005251061A JP 2004063622 A JP2004063622 A JP 2004063622A JP 2004063622 A JP2004063622 A JP 2004063622A JP 2005251061 A JP2005251061 A JP 2005251061A
- Authority
- JP
- Japan
- Prior art keywords
- information
- text
- data processing
- processing
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、異なるデータベース間におけるデータ移行を行う際のデータ加工を行うデータ加工システム、端末装置、データ加工方法等に関する。 The present invention relates to a data processing system, a terminal device, a data processing method, and the like that perform data processing when data is transferred between different databases.
近年、カタログ制作を行う際、コンピュータの普及に伴い、カタログに載せる商品データをデータベース化して利用することが始まっている。データベースと連携し、デスクトップパブリッシング(DTP)等でカタログ制作作業を行い、その効率化が図られてきている。例えば、商品情報等を蓄積したデータベースと、データベースの情報を管理し、データベースの情報の入出力、検索、閲覧等の機能を提供するサーバと複数のユーザ端末装置等からなるデータ加工システムが幾つか存在する(例えば、特許文献1)。 In recent years, when creating catalogs, with the spread of computers, product data to be put on catalogs has been used as a database. Collaborating with a database, catalog creation work is performed by desktop publishing (DTP) or the like, and the efficiency has been improved. For example, there are several data processing systems including a database that stores product information, a server that manages database information, and provides functions such as database input / output, search, and browsing, and a plurality of user terminal devices. Exists (for example, Patent Document 1).
また、多くの企業では、目的に応じて複数のデータベースを所有し、商品情報を管理していることが一般的である。例えば、A社では、新商品情報提案用の「データベースT」とカタログ制作用の「データベースG」で商品情報を用途に分けて管理しており、カタログ制作時には、確定した新商品情報を「データベースT」から選定し、「データベースG」に登録するというプロセスを踏んでいる。 Many companies generally own a plurality of databases and manage product information according to their purposes. For example, Company A manages the product information separately for the purpose of “database T” for proposing new product information and “database G” for catalog production. The process of selecting from “T” and registering in “Database G” is followed.
しかしながら、従来の異なるデータベース間におけるデータ移行方法は、移行前準備として、その都度、移行元のデータベースから出力したテキストを、移行先のデータベースへ登録するための煩雑なテキスト加工が発生し、テキスト加工の作業負担がかかるという問題があった。 However, the conventional data migration method between different databases requires complicated text processing to register the text output from the migration source database in the migration destination database each time as preparation before migration. There was a problem that it took a lot of work.
本発明は、以上の点に鑑みてなされたものであり、異なるデータベース間における、より簡単にデータ移行が可能となるデータ加工システム等を提供することを目的とする。 The present invention has been made in view of the above points, and an object of the present invention is to provide a data processing system or the like that enables easier data transfer between different databases.
前述した目的を達成するために第1の発明は、登録利用者の端末装置と、1又は複数のデータベースを有する1又は複数のサーバと、がネットワークを介して接続されるシステムであって、前記端末装置は、前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込手段と、前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工手段と、他のデータベースに移行可能とする前記出力情報テキストを保持する保持手段と、を具備することを特徴とするデータ加工システムである。 In order to achieve the above-described object, the first invention is a system in which a terminal device of a registered user and one or more servers having one or more databases are connected via a network, The terminal device is a reading means for reading, as information text, an initial setting text composed of processing information for performing data processing when data is transferred from the database to another database, and information on the database to be data processed from the server Data processing means for processing the information text to create output information text based on the initial setting text, and holding means for holding the output information text that can be transferred to another database. It is a data processing system characterized by doing.
第1の発明では、端末装置は、データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストを有し、サーバから、データ加工対象となるデータベースの情報を、情報テキストとして読み込み、初期設定テキストに基づいて、情報テキストをデータ加工して出力情報テキストを作成し、他のデータベースに移行可能とする出力情報テキストを保持する。 In the first invention, the terminal device has an initial setting text composed of processing information for performing data processing when data is transferred from the database to another database. Read as text, process the information text based on the default text, create an output information text, and hold the output information text that can be transferred to another database.
第2の発明は、1又は複数のデータベースを有する1又は複数のサーバと、ネットワークを介して接続される端末装置であって、前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込手段と、前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工手段と、他のデータベースに移行可能とする前記出力情報テキストを保持する保持手段と、を具備することを特徴とする端末装置である。
第2の発明は、第1の発明のデータ加工システムで用いられる端末装置に関する発明である。
The second invention is a terminal device connected via a network to one or a plurality of servers having one or a plurality of databases, and performs data processing when data is transferred from the database to another database An initial setting text consisting of information, a reading means for reading the information of the database to be processed from the server as information text, and an output information text by processing the information text based on the initial setting text A data processing means for creating the output information, and a holding means for holding the output information text that can be transferred to another database.
The second invention relates to a terminal device used in the data processing system of the first invention.
第3の発明は、登録利用者の端末装置と、1又は複数のデータベースを有する1又は複数のサーバと、がネットワークを介して接続されるシステムに用いられるデータ加工方法であって、前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込工程と、前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工工程と、他のデータベースに移行可能とする前記出力情報テキストを保持する保持工程と、を具備することを特徴とするデータ加工方法である。
第3の発明は、第1の発明のデータ加工システムで用いられるデータ加工方法に関する発明である。
A third invention is a data processing method used in a system in which a terminal device of a registered user and one or more servers having one or more databases are connected via a network, from the database An initial setting text consisting of processing information for data processing when data is transferred to another database, a reading process for reading information of the database to be data processed from the server as information text, and the initial setting text And a data processing step for generating output information text by processing the information text, and a holding step for holding the output information text that can be transferred to another database. It is a processing method.
The third invention relates to a data processing method used in the data processing system of the first invention.
「初期設定テキスト」は、データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなるテキストファイル(.ini)であり、予め、設定しておく。
「加工情報」は、出力項目の指定、出力順の指定、関数による文字列加工等の情報を含む。
「関数」は、文字列の取得、置換、抽出、分割、結合、変換等の機能を有する。
「情報テキスト」は、移行元のデータ加工対象となる前記データベースから取得した、例えば、CSV(Comma Separated Value)形式のテキストデータである。
「出力情報テキスト」は、データ加工処理により出力された移行先へ登録可能なテキストデータである。
“Initial setting text” is a text file (.ini) including processing information for data processing when data is transferred from one database to another database, and is set in advance.
The “processing information” includes information such as output item specification, output order specification, and character string processing by function.
The “function” has functions such as acquisition, replacement, extraction, division, combination and conversion of character strings.
“Information text” is text data in CSV (Comma Separated Value) format, for example, acquired from the database that is the data processing target of the migration source.
“Output information text” is text data that can be registered in the transfer destination output by the data processing.
第4の発明は、コンピュータを第2の発明の端末装置として機能させるプログラムである。
第5の発明は、コンピュータを第2の発明の端末装置として機能させるプログラムを記録した記録媒体である。
A fourth invention is a program for causing a computer to function as the terminal device of the second invention.
A fifth invention is a recording medium on which a program for causing a computer to function as the terminal device of the second invention is recorded.
上述のプログラムをCD−ROM等の記録媒体に保持させて流通させてもよいし、このプログラムを通信回線を介して送受することもできる。 The above-mentioned program may be held and distributed on a recording medium such as a CD-ROM, or the program can be transmitted and received via a communication line.
本発明は異なるデータベース間における、より簡単にデータ移行が可能となるデータ加工システム等を提供することができる。 The present invention can provide a data processing system or the like that enables easier data transfer between different databases.
以下に、添付図面を参照しながら、本発明に係るデータ加工システム等の好適な実施形態について詳細に説明する。なお、以下の説明および添付図面において、略同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略することにする。 Hereinafter, preferred embodiments of a data processing system and the like according to the present invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, the same reference numerals are given to components having substantially the same functional configuration, and redundant description will be omitted.
図1は、本発明の本実施の形態に係るデータ加工システム100の概略構成を示す図である。 FIG. 1 is a diagram showing a schematic configuration of a data processing system 100 according to the present embodiment of the present invention.
図1に示すように、データ加工システム100は、サーバ101、複数のユーザ104の端末装置103等が、ネットワーク109を介して接続されて構成される。尚、データ加工システム100は、WWW(World Wide Web)技術を用いて実現した場合の構成図である。
ネットワーク109は、インターネット、ローカルエリアネットワーク(LAN)、社内LAN等のネットワークであり、有線、無線を問わない。
As shown in FIG. 1, the data processing system 100 is configured by connecting a server 101,
The
サーバ101は、サーバコンピュータ等であり、WWWサーバ110、データベース操作手段111、データベースサーバ管理手段112、データベース管理手段113等を有する。データベース操作手段111は、WWWサーバ110から呼び出され、複数の情報データベース301−1、301−2、…の検索や情報内容の参照、閲覧等を行う。データベースサーバ管理手段112は、ユーザ104の登録や各種設定等のシステム運用・管理を行う。データベース管理手段113は、データベースエンジン等であり、データベースへの検索、参照、登録、削除等の各種要求に対する該当処理を行う。
The server 101 is a server computer or the like, and includes a
ユーザ104は、情報データベース301を利用する、予め、サーバ101に登録した利用者であり、端末装置103を有する。端末装置103は、WWWブラウザ120、データ加工手段121等を有する。端末装置103は、データ加工手段121により、WWWブラウザ120を介して、サーバ101のWWWサーバ110にアクセスし、情報データベース301から取得した情報等を入力テキストとして読み込み、異なる情報データベース301間のデータ移行に必要なデータ加工を行う。尚、端末装置103は、パーソナルコンピュータ、携帯情報端末(Personal Digital Assistant)等である。
The
次に、サーバ101のハードウェア構成を説明する。図2は、サーバ101のハードウェア構成図である。 Next, the hardware configuration of the server 101 will be described. FIG. 2 is a hardware configuration diagram of the server 101.
図2に示すように、サーバ101は、制御部201、記憶装置202(ハードディスク)、メディア入出力部203(CD−ROM)、通信制御部204(通信制御装置、通信ポート等)、入力部205(キーボード、マウス等)、印刷部206(プリンタ)、表示部207(ディスプレイ)等が、バス209を介して接続される。
2, the server 101 includes a
制御部201は、CPU、ROM、RAM等で構成され、大容量記憶媒体としての記憶装置202に格納されたプログラムに従って、バス209を介して接続された各装置を駆動制御する。
The
記憶装置202には、各構成部分を駆動制御する制御プログラム311、アプリケーションプログラム312、及び複数の情報データベース301−1、301−2、…等が格納されている。
The
これらの各プログラムコードは、制御部201により必要に応じて読み出されてRAMに移され、CPUに読み出されて各種の手段として実行される。
Each of these program codes is read by the
メディア入出力部203(CD−ROMドライブ装置)は、制御部201のROMや記憶装置202に記憶されているプログラムや情報をバージョンアップ、機器設定等の設定を行う際に用いられる。
The media input / output unit 203 (CD-ROM drive device) is used to upgrade the program and information stored in the ROM of the
通信制御部204は、通信制御装置、通信ポート等であり、ネットワーク109を介して、サーバ101と、端末装置103間の通信制御を行う。
The
入力部205は、キーボード、マウス等であり、表示部207(ディスプレイ)に表示された操作案内、各種処理、操作を行う。
印刷部206は、プリンタであり、印刷出力処理を行う。
The
A
次に、記憶装置202におけるデータ加工システム関連のファイル配置について説明する。図3は、記憶装置202におけるデータ加工システム関連のファイル配置を示す。図3に示すように、記憶装置202内には、複数の情報データベース301−1、301−2、…、及び制御プログラム311、アプリケーションプログラム312等が格納されている。
Next, a file layout related to the data processing system in the
情報データベース301−1、301−2、…には、それぞれ、商品情報を蓄積する。例えば、新商品情報提案用の情報データベース301−1、カタログ制作用の情報データベース301−2等、サーバ101は、用途別に情報データベース301−1、301−2、…を管理する。 Product information is stored in each of the information databases 301-1, 301-2,. For example, the server 101 manages information databases 301-1, 301-2,... According to uses, such as an information database 301-1 for proposing new product information, an information database 301-2 for catalog production, and the like.
制御プログラム311は、サーバ101の各構成部分を駆動制御するプログラムである。
アプリケーションプログラム312は、実行可能プログラムであり、WWWサーバ110、データベース操作手段111、データベースサーバ管理手段112、データベース管理手段113等に該当するプログラムである。
The
The
次に、端末装置103のハードウェア構成を説明する。図4は、端末装置103のハードウェア構成図である。
Next, the hardware configuration of the
図4に示すように、端末装置103は、制御部401、記憶装置402(ハードディスク、外部メモリ)、メディア入出力部403(CD−ROM)、通信制御部404(通信制御装置、通信ポート等)、入力部405(キーボード、マウス等)、印刷部406(プリンタ)、表示部407(ディスプレイ)等が、バス409を介して接続される。
As shown in FIG. 4, the
制御部401は、CPU、ROM、RAM等で構成され、大容量記憶媒体としての記憶装置402に格納されたプログラムに従って、バス409を介して接続された各装置を駆動制御する。
The
記憶装置402(ハードディスク)には、各構成部分を駆動制御するプログラム、WWWブラウザ120、データ加工プログラム513等のアプリケーションプログラム、及び初期設定ファイル501、入力テキストファイル502、出力テキストファイル503等が格納されている。
The storage device 402 (hard disk) stores a program for driving and controlling each component, application programs such as a
これらの各プログラムコードは、制御部401により必要に応じて読み出されてRAMに移され、CPUに読み出されて各種の手段として実行される。
Each of these program codes is read by the
メディア入出力部403(CD−ROMドライブ装置)は、必要に応じて、情報データベース301から取得した入力テキストファイル502や、異なる情報データベース301へ登録するための出力テキストファイル503等を格納する。また、メディア入出力部403は、制御部401のROMや記憶装置402に記憶されているプログラムや情報をバージョンアップ、機器設定等の設定を行う際に用いられる。
The media input / output unit 403 (CD-ROM drive device) stores an
通信制御部404は、通信制御装置、通信ポート等であり、ネットワーク109を介して、端末装置103と、サーバ101間の通信制御を行う。
The
入力部405は、キーボード、マウス等であり、表示部407(ディスプレイ)に表示された操作案内、各種処理、操作を行う。
印刷部406は、プリンタであり、印刷出力処理を行う。
The
A
次に、記憶装置402におけるデータ加工システム関連のファイル配置について説明する。図5は、記憶装置402におけるデータ加工システム関連のファイル配置を示す。図5に示すように、記憶装置402内には、初期設定ファイル501、入力テキストファイル502、出力テキストファイル503等、及び制御プログラム511、アプリケーションプログラム512等が格納されている。
Next, the file arrangement related to the data processing system in the
初期設定ファイル501は、異なる情報データベース301間でのデータ移行の際に、必要なデータ加工処理の処理パターンである加工情報521からなるテキストファイル(.ini)である。加工情報521は、データ移行する際の、出力項目(列)の指定、出力順の指定、関数による文字列加工等の設定情報である。
The
入力テキストファイル502は、移行元の情報データベース301から取得した情報テキストである入力テキスト522を格納する、例えば、CSV(Comma Separated Value)形式のファイルである。
The
出力テキストファイル503は、データ加工手段121により出力された移行先の情報データベース301へ登録する情報テキストである出力テキスト523を格納するテキストファイル(.txt)である。
尚、初期設定ファイル501、入力テキストファイル502、出力テキストファイル503等のテキスト内容については、詳しく後述、説明する。
The
The text contents of the
制御プログラム511は、端末装置103の各構成部分を駆動制御するプログラムである。
アプリケーションプログラム512は、実行可能プログラムであり、WWWブラウザ120に該当するプログラム、データ加工手段121に該当するデータ加工プログラム513等である。
The
The
次に、データ加工処理を行うデータ加工手段121の構成と処理内容について説明する。図6は、データ加工処理を行うデータ加工手段121の構成と処理内容を示す。
Next, the configuration and processing contents of the
図6に示すように、データ加工手段121は、テキスト取り込み処理部131、文字列加工処理部132、テキスト出力処理部133、ログ書き出し処理部134等から構成される。
As shown in FIG. 6, the
テキスト取り込み処理部131は、初期設定ファイル501の加工情報521と、入力テキストファイル502の入力テキスト522等のテキストデータを読み込む。
例えば、移行元の情報データベース301−1から移行先の情報データベース301−2にデータ移行する際、ユーザ104は、記憶装置402上に、予め、必要なデータ加工に対する加工情報521を設定した初期設定ファイル501を作成しておく。制御部401は、サーバ101を介して、移行元の情報データベース301−1から取得した対象となる商品情報を入力テキスト521として入力テキストファイル502に出力する。
The text
For example, when data is migrated from the migration source information database 301-1 to the migration destination information database 301-2, the
文字列加工処理部132は、読み込んだ加工情報521に基づいて、入力テキスト522をデータ加工する。
テキスト出力処理部133は、データ加工した情報データベース301−2に登録可能とする出力テキスト523を格納した出力テキストファイル503を、指定された出力先に保持する。
ログ書き出し処理部134は、データ加工処理における、エラー発生時のログを書き出す。
The character
The text
The log
次に、図7、図8、図9を参照しながら、データ加工システム100の処理手順の流れを説明する。図7、図8、図9は、データ加工システム100の処理手順を示すフローチャートである。 Next, the flow of the processing procedure of the data processing system 100 will be described with reference to FIG. 7, FIG. 8, and FIG. 7, 8, and 9 are flowcharts showing the processing procedure of the data processing system 100.
端末装置103の制御部401は、データ加工手段121に相当する実行可能なデータ加工プログラム513を起動する(ステップ701)。
The
制御部401は、データベース操作を行うサーバ101にアクセス、ログインするログイン画面10を表示する(ステップ702)。図10は、ログイン画面10を示す。図10に示すように、ログイン画面10は、サーバ名31、ユーザID32、パスワード33と、ログインボタン21等からなる。
The
ユーザ104は、データ加工対象となる情報データベース301のサーバ名31、ログインID32、パスワード33等を入力し、ログインボタン21を押下する(ステップ703)。制御部401は、指定したサーバ名31に応じたサーバ101にアクセスし、ログインID32、パスワード33等を送信する(ステップ704)。
サーバ101の制御部201は、WWWサーバ110を介して、端末装置103からのログイン画面10で入力したユーザID32、パスワード33等を受け取り、ユーザ認証を行う(ステップ705)。
以降、端末装置103とサーバ101との間でのデータの送受信は、WWWブラウザ120とWWWサーバ110を介して、行われる。
The
The
Thereafter, transmission / reception of data between the
制御部201は、正しくユーザ認証された場合、接続する情報データベース301を選択する品目一覧データを端末装置103に送信し(ステップ706)、端末装置103の制御部401は、品目一覧画面11を表示する(ステップ707)。図11は、品目一覧画面11を示す。図11に示すように、品目一覧画面11は、情報データベース301の商品情報を示す複数の品目名34と、OKボタン22等からなる。
ユーザ104は、データ加工対象となる商品情報の品目名34(例えば、「品目名A」)を選択し、OKボタン22を押下し、制御部401は、品目名34を送信する(ステップ708)。
When the user authentication is correctly performed, the
The
制御部201は、指定された品目名34に応じた情報データベース301−1を接続し、品目名34の商品情報を設定、送信する(ステップ709)。例えば、指定された品目名34「品目名A」の商品情報を有する情報データベース301−1を接続し、品目名34「品目名A」の商品情報を送信する。
The
端末装置103の制御部401は、データ加工対象となる情報データベース301−1の商品情報をテキストデータとして入力テキストファイル(.csv)502に出力する(ステップ710)。例えば、「品目名A」の商品情報を、ファイル名:「perfect_data.csv」で、記憶装置402又はメディア入出力部403(CD−ROM)等の所定のフォルダに格納する。
The
制御部401は、初期設定ファイル読み込み画面12を表示する(ステップ801)。図12は、初期設定ファイル読み込み画面12を示す。
図12に示すように、初期設定ファイル読み込み画面12は、初期設定ファイル名35の入力フィールドと、次へボタン23、戻るボタン24、参照ボタン25等からなる。
初期設定ファイル名35の入力フィールドには、必要なデータ加工に対する加工情報521を設定した初期設定ファイル501のファイル名を指定する。
参照ボタン25押下により、制御部401は、ファイル名一覧からなるファイル読み込み画面(図示せず)を表示し、ユーザ104により初期設定ファイル名35を検索、選択する。例えば、初期設定ファイル名35:「C:¥DBTtoDBG¥INT¥cov01.ini」を選択する。
The
As shown in FIG. 12, the initial setting file reading screen 12 includes an input field for an initial
In the input field of the initial
When the
次にボタン23押下により、制御部401は、参照ボタン25等を用いて指定された初期設定ファイル名35の初期設定ファイル501の内容である加工情報521を読み込む((ステップ802)。例えば、指定された初期設定ファイル名35:「C:¥DBTtoDBG¥INT¥cov01.ini」のファイル内容を読み込む。
Next, when the
制御部401は、テキスト読み込み画面13を表示する(ステップ803)。図13は、テキスト読み込み画面13を示す。
図13に示すように、テキスト読み込み画面13は、入力テキストファイル名36の入力フィールドと、次へボタン23、戻るボタン24、参照ボタン25等からなる。
入力テキストファイル名36の入力フィールドには、入力テキストファイル(.csv)502のファイル名を指定する。
参照ボタン25押下により、制御部401は、ファイル名一覧からなるファイル読み込み画面(図示せず)を表示し、ユーザ104により入力テキストファイル名36を検索、選択する。例えば、入力テキストファイル名36:「C:¥DBTtoDBG¥単品¥perfect_data.csv」を選択する。
The
As shown in FIG. 13, the text reading screen 13 includes an input field of an input
In the input field of the input
When the
次にボタン23押下により、制御部401は、参照ボタン25等を用いて指定された入力テキストファイル名36の入力テキストファイル502の内容である入力テキスト522を読み込む(ステップ804)。例えば、指定された入力テキストファイル名36:「C:¥DBTtoDBG¥単品¥perfect_data.csv」のファイル内容を読み込む。
Next, when the
制御部401は、出力先指定画面14を表示する(ステップ805)。図14は、出力先指定画面14を示す。
図14に示すように、出力先指定画面14は、出力先フォルダ名37の入力フィールドと、次へボタン23、戻るボタン24、参照ボタン25等からなる。
出力先フォルダ名37の入力フィールドには、出力テキストファイル503を保持するフォルダ名を指定する。
参照ボタン25押下により、制御部401は、フォルダ名一覧からなるフォルダ参照画面(図示せず)を表示し、ユーザ104により出力先フォルダ名37を検索、選択する。例えば、出力フォルダ名37:「C:¥Documents
and Settings¥yinokuti.CHICAGO¥ディスクトップ」を選択する。
The
As shown in FIG. 14, the output destination designation screen 14 includes an input field for an output
In the input field of the output
When the
and Settings \ yinokuti. Select "CHIGAGO \ Desktop".
次にボタン23押下により、制御部401は、参照ボタン25等を用いて指定された出力先フォルダ名37を設定する(ステップ806)。
Next, when the
制御部401は入出力ファイルを確認するテキスト出力確認画面15を表示する(ステップ807)。図15は、テキスト出力先確認画面15を示す。
図15に示すように、テキスト出力先確認画面15は、初期設定ファイル名35、入力テキストファイル名36、出力先フォルダ名37、出力確認ボタン26、戻るボタン24等からなる。
ユーザ104は、初期設定ファイル名35、入力テキストファイル名36、出力先フォルダ名37等を確認後、出力確認ボタン26を押下する(ステップ808)。
The
As shown in FIG. 15, the text output destination confirmation screen 15 includes an initial
After confirming the initial
制御部401は、初期設定ファイル501の加工情報521(出力項目(列)の指定、出力順の指定、関数による文字列加工式等)に基づいて、入力テキスト522をデータ加工する(ステップ901)。
The
制御部401は、データ加工した出力テキスト523を、指定された出力先フォルダに、所定のファイル名:「商品構造名_yymmddhhmm(年月日時刻).txt」(例えば、「品目A_0401281926.txt」)の出力テキストファイル503として格納、保持する(ステップ902)。商品構造名は、商品構造の識別名であり、商品構造は、例えば、商品単位のデータ構造を示すものであり、商品名(パーソナルコンピュータ、テレビ、キッチン等)で表される。尚、構造は、商品名に限るものではなく、例えば、商品カテゴリに分類した「電化製品」、「付属品」等の名称であってもよい。
出力テキストファイル503の出力テキスト523は、移行先の情報データベース301−2の情報として登録可能なテキストデータである。
The
The
制御部401は、終了確認画面16を表示する(ステップ903)。図16は、終了確認画面16を示す。
図16に示すように、終了確認画面16は、データ加工した出力テキスト523の出力先フォルダ名37、出力テキストファイル名38等、およびログ表示ボタン27、処理を続けるボタン28、終了ボタン29等からなる。ユーザ104は、出力テキスト523の出力先フォルダ名37、出力テキストファイル名38等を確認する。
ログ表示ボタン27押下により、制御部401は、ログ書き出し処理部により作成したエラーログを表示、出力等を行う。
The
As shown in FIG. 16, the end confirmation screen 16 is displayed from the output
When the
データ加工処理を続行する場合は、処理を続けるボタン28押下により、制御部401は、ステップ707に移行し、データ加工処理を続ける(ステップ904のYes)。
終了する場合は、終了ボタン29押下におり、制御部401は、データ加工処理を終了する(ステップ904のNo)。
When continuing the data processing, the
When the process is to be ended, the
次に、図17、図18を参照しながら、ステップ901における初期設定ファイル501の加工情報521に基づいた、入力テキスト522をデータ加工について、具体例を用いて、詳しく説明する。図17は、初期設定ファイル501の加工情報521を示す。図18は、入力テキスト522と、出力テキスト523の出力結果を示す。
Next, data processing of the
図18に示す出力テキスト523は、図17の初期設定ファイル501の加工情報521に基づいて、入力テキスト522をデータ加工した出力結果である。加工情報521は、複数の加工式41−1、41−2、…等からなり、制御部401は、加工式41−1、41−2、…に従って、入力テキスト522を順次、データ加工し、出力テキスト523を作成する。
The
加工式41−1「Info1_medeia=1」は、入力テキスト522の1列目の入力テキストデータi1 → 出力テキスト523の1列目の出力テキストデータo1とする。例えば、1行−1列の入力テキストデータi1−1「カタログ春号」→1行−1列の出力テキストデータo1−1「カタログ春号」とする。
加工式41−2「Info2_medeia=Concatenate(“G”,4)」は、文字列“G”に4列目の入力テキストデータi4を結合 → 2列目の出力テキストデータo2とする。例えば、「G」と1行−2列の入力テキストデータi1−2「1234567」を結合→1行−2列の出力テキストデータo1−2「G1234567」とする。
加工式41−3「Info3_medeia=Substitute(5,“−”,“_”)」は、5列目の入力テキストデータi5に含まれている「−」を「_」に置換 → 3列目の出力テキストデータo3とする。例えば、1行−5列の入力テキストデータi1−5「1−23−4567」の「−」を「_」に置換→1行−3列の出力テキストデータo1−3「1_23_4567」とする。
同様に、制御部401は、加工式41−4から加工式41−9に従って、データ加工を行い、作成した出力テキスト523は、例えば、出力テキストデータo1は「カタログ名」、出力テキストデータo2は「登録No.」、出力テキストデータo3は「品番」、等を表す項目のデータと、その並びであり、情報データベース301−2に登録可能な情報テキストに加工される。
The processing formula 41-1 “Info1_media = 1” is input text data i1 in the first column of the
The processing formula 41-2 “Info2_media = Concatenate (“ G ”, 4)” combines the input text data i4 in the fourth column with the character string “G” → the output text data o2 in the second column. For example, “G” and the input text data i1-2 “1234567” in the 1st row and the 2nd column are combined → the output text data o1-2 “G1234567” in the 1st row and the 2nd column.
The processing formula 41-3 “Info3_media = Substate (5,“ − ”,“ _ ”)” replaces “−” included in the input text data i5 in the fifth column with “_” → the third column The output text data is o3. For example, “−” in the input text data i1-5 “1-23-4567” in the first row and the fifth column is replaced with “_” → the output text data o1-3 “1 — 23 — 4567” in the first row and the third column.
Similarly, the
次に、使用可能な文字列変換関数の代表的なものを示す。
Left(STRING,StartPos,Len) 文字列を取得する関数。
Right(STRING,StartPos,Len) 文字列を取得する関数。
Substitute(STRING,TargetString,ReplaceString) 文字列を置換する関数。
Divide(STRING,StartDir,Len,InsertString) 文字列を分割する関数。
Concatenate(STRING,[STRING,…]) 文字列を結合する関数。
Position(STRING,TargetString,StartPos,Time) 文字列の開始文字位置を取得する関数。
Length(STRING) 文字列の文字数を取得する関数。
Trim(STRING) 文字列の前後にあるスペースを削除する関数。
RomanZenkaku(STRING) ローマ字を全角に変換する関数。
RomanHankaku(STRING) ローマ字を半角に変換する関数。
Upper(STRING) ローマ字を大文字に変換する関数。
Lower(STRING) ローマ字を小文字に変換する関数。
KanaZenkaku(STRING) 半角カタカナを全角カタカナに変換する関数。
KanaHankaku(STRING) 全角カタカナを半角カタカナに変換する関数。
PatternCount(STRING,TargetString) 文字列の出現回数を取得する関数。
Mod(Num,Rem) 数値を除数で割った時の剰余を取得する関数。
IF(Expression,TrueValue,FalseValue) 条件判断を行う関数。
Next, typical character string conversion functions that can be used are shown.
Left (STRING, StartPos, Len) A function that acquires a character string.
Right (STRING, StartPos, Len) A function that acquires a character string.
Substate (STRING, TargetString, ReplaceString) A function that replaces a character string.
Divide (STRING, StartDir, Len, InsertString) A function that divides a character string.
Concatenate (STRING, [STRING, ...]) A function that combines character strings.
Position (STRING, TargetString, StartPos, Time) A function for acquiring the start character position of a character string.
Length (STRING) A function that gets the number of characters in a string.
Trim (STRING) A function that deletes spaces before and after a character string.
RomanZenkaku (STRING) A function that converts Roman characters to full-width.
Roman Hankaku (STRING) A function that converts Roman characters into half-width characters.
Upper (STRING) A function that converts Roman letters to upper case.
Lower (STRING) A function that converts Roman letters to lower case.
KanaZenkaku (STRING) A function that converts half-width katakana to full-width katakana.
Kana Hankaku (STRING) A function that converts full-width katakana to half-width katakana.
PatternCount (STRING, TargetString) A function for acquiring the number of occurrences of a character string.
Mod (Num, Rem) A function that obtains the remainder when a numerical value is divided by a divisor.
IF (Expression, TrueValue, FalseValue) A function that performs condition determination.
以上説明したように、本発明の実施の形態によれば、移行元の情報データベース301−1から移行先の情報データベース301−2にデータ移行する際、ユーザ104は、記憶装置402上に、予め、必要なデータ加工に対する加工情報521を設定した初期設定ファイル501を作成しておく。端末装置103の制御部401は、データ加工手段121に相当する実行可能プログラムを起動することにより、テキスト取り込み処理部131により、サーバ101を介して、移行元の情報データベース301−1から取得した対象となる情報の入力テキストファイル502と、初期設定ファイル501とを読み込み、文字列加工処理部132により、加工情報521に基づいて、入力テキスト522をデータ加工し、テキスト出力処理部133により、データ加工した情報データベース301−2に登録可能とする出力テキストファイル503を出力、保持する。
As described above, according to the embodiment of the present invention, when data is migrated from the migration source information database 301-1 to the migration destination information database 301-2, the
これにより、異なるデータベース間におけるデータ移行において、テキスト加工の作業負担を軽減し、より簡単に商品情報の移行を可能とする。従来のように、移行前準備として、その都度、移行元のデータベースから出力したテキストを、移行先のデータベースへ登録するための煩雑なテキスト加工をする必要性がなくなり、正確なデータを短時間で移行することができる。 Thereby, in data transfer between different databases, the burden of text processing is reduced, and product information can be transferred more easily. As in the past, as preparation before migration, there is no need to perform complicated text processing to register the text output from the migration source database in the migration destination database each time. Can be migrated.
また、予め、必要に応じた文字列変換関数等の処理パターン(加工式)を用いることで、ユーザは、自由に、データ移行におけるデータ加工を行うことを可能とする。
更に、簡単に商品情報の移行を可能とすることにより、データベース化された情報をさらに他の用途へ活用、展開することが可能となる。
Further, by using a processing pattern (processing formula) such as a character string conversion function as required in advance, the user can freely perform data processing in data migration.
Furthermore, by making it possible to easily transfer product information, it is possible to further utilize and develop the information stored in the database for other uses.
尚、本実施の形態では、データベースとして商品情報等を蓄積する情報データベース301を用いたが、商品情報等に限るものではない。 In this embodiment, the information database 301 that stores product information and the like is used as the database, but the present invention is not limited to product information and the like.
また、本実施の形態では、WWW技術を用いて実現したが、端末装置103に専用のユーザプログラムを備えることにより、WWW技術を用いずに実現することも可能である。
In the present embodiment, the WWW technology is used. However, the
また、本実施の形態では、初期設定ファイル501、入力テキストファイル502、出力テキストファイル503等を記憶装置402に記憶させたが、入出力メディア403(CD−ROM等)を用いて、異なるデータベース間を移行させてもよい。
In this embodiment, the
また、本実施の形態では、複数の端末装置103と、複数の情報データベース301−1、301−2、…を有するサーバ101と、が接続され、異なる情報データベース301−1、301−2を有するサーバ101における、情報データベース301−1、301−2間でのデータ移行におけるデータ加工処理を行うが、複数の端末装置103と、1又は複数の情報データベース301−1、301−2、…を有する複数のサーバ101−1、101−2、…とが接続され、例えば、情報データベース301−1を有するサーバ101−1と、情報データベース301−2を有するサーバ101−2間でのデータ移行におけるデータ加工処理を行ってもよい。
In the present embodiment, a plurality of
更に、本実施の形態では、各端末装置103は、データ加工手段121に相当する実行可能プログラムを何らかの方法でインストールし、起動することにより、データ加工処理を行ったが、サーバ側にデータ加工手段121に相当するデータ加工サーバを有し、複数の端末装置からデータ加工サーバをアクセスし、データ加工処理を行ってもよい。
Furthermore, in the present embodiment, each
尚、図7、図8、図9等に示す処理を行うプログラムはCD−ROM等の記録媒体に保持させて流通させてもよいし、このプログラムを通信回線を介して送受することもできる。 Note that the program for performing the processing shown in FIGS. 7, 8, 9 and the like may be distributed on a recording medium such as a CD-ROM, or the program may be transmitted and received via a communication line.
以上、添付図面を参照しながら、本発明に係るデータ加工システム等の好適な実施形態について説明したが、本発明はかかる例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲属するものと了解される。 The preferred embodiments of the data processing system and the like according to the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes and modifications can be conceived within the scope of the technical idea disclosed in the present application, and these are naturally understood to belong to the technical scope of the present invention. Is done.
100………データ加工システム
101………サーバ
103………端末装置
104………ユーザ
109………ネットワーク
110………WWWサーバ
111………データベース操作手段
112………データベースサーバ管理手段
113………データベース管理手段
120………WWWブラウザ
121………データ加工手段
201、401………制御部
202、402………記憶装置
501………初期設定ファイル
502………入力テキストファイル
503………出力テキストファイル
521………加工情報
522………入力テキスト
523………出力テキスト
DESCRIPTION OF SYMBOLS 100 ......... Data processing system 101 .........
Claims (9)
前記端末装置は、
前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、
前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込手段と、
前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工手段と、
他のデータベースに移行可能とする前記出力情報テキストを保持する保持手段と、
を具備することを特徴とするデータ加工システム。 A system in which a terminal device of a registered user and one or more servers having one or more databases are connected via a network,
The terminal device
Initial setting text consisting of processing information for data processing when data is transferred from the database to another database;
Reading means for reading the information of the database to be data processed from the server as information text;
Data processing means for processing the information text to create an output information text based on the initial setting text;
Holding means for holding the output information text that can be transferred to another database;
A data processing system comprising:
出力項目の指定、出力順の指定、関数による文字列加工等のいずれか少なくとも1つの情報を含むことを特徴とする請求項1に記載のデータ加工システム。 The processing information is
The data processing system according to claim 1, comprising at least one of information such as designation of an output item, designation of an output order, and character string processing by a function.
文字列の取得、置換、抽出、分割、結合、変換等いずれか少なくとも1つの機能を含むことを特徴とする請求項2に記載のデータ加工システム。 The function is
The data processing system according to claim 2, comprising at least one function of obtaining, replacing, extracting, dividing, combining, and converting character strings.
前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、
前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込手段と、
前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工手段と、
他のデータベースに移行可能とする前記出力情報テキストを保持する保持手段と、
を具備することを特徴とする端末装置。 A terminal device connected via a network to one or more servers having one or more databases,
Initial setting text consisting of processing information for data processing when data is transferred from the database to another database;
Reading means for reading the information of the database to be data processed from the server as information text;
Data processing means for processing the information text to create an output information text based on the initial setting text;
Holding means for holding the output information text that can be transferred to another database;
A terminal device comprising:
出力項目の指定、出力順の指定、関数による文字列加工等のいずれか少なくとも1つの情報を含むことを特徴とする請求項4に記載の端末装置。 The processing information is
The terminal device according to claim 4, wherein the terminal device includes at least one piece of information such as designation of an output item, designation of an output order, and character string processing by a function.
文字列の取得、置換、抽出、分割、結合、変換等いずれか少なくとも1つの機能を含むことを特徴とする請求項5に記載の端末装置。 The function is
The terminal device according to claim 5, comprising at least one function of character string acquisition, replacement, extraction, division, combination, conversion, and the like.
前記データベースから他のデータベースへデータ移行する際のデータ加工を行う加工情報からなる初期設定テキストと、
前記サーバから、データ加工対象となる前記データベースの情報を、情報テキストとして読み込む読込工程と、
前記初期設定テキストに基づいて、前記情報テキストをデータ加工して出力情報テキストを作成するデータ加工工程と、
他のデータベースに移行可能とする前記出力情報テキストを保持する保持工程と、
を具備することを特徴とするデータ加工方法。 A data processing method used in a system in which a terminal device of a registered user and one or more servers having one or more databases are connected via a network,
Initial setting text consisting of processing information for data processing when data is transferred from the database to another database;
From the server, the reading process of reading the information of the database to be processed data as information text,
Based on the initial setting text, a data processing step of processing the information text to create an output information text;
A holding step for holding the output information text that can be transferred to another database;
The data processing method characterized by comprising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004063622A JP2005251061A (en) | 2004-03-08 | 2004-03-08 | Data processing system, terminal, data processing method, program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004063622A JP2005251061A (en) | 2004-03-08 | 2004-03-08 | Data processing system, terminal, data processing method, program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005251061A true JP2005251061A (en) | 2005-09-15 |
Family
ID=35031458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004063622A Pending JP2005251061A (en) | 2004-03-08 | 2004-03-08 | Data processing system, terminal, data processing method, program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005251061A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016126540A (en) * | 2014-12-26 | 2016-07-11 | 剛 濱津 | Processing expression description file, processing program thereof, and processing method thereof |
US10572457B2 (en) | 2016-04-20 | 2020-02-25 | Iwasaki Electric Mfg. Co., Ltd. | Database construction device, database construction method, and database construction program |
-
2004
- 2004-03-08 JP JP2004063622A patent/JP2005251061A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016126540A (en) * | 2014-12-26 | 2016-07-11 | 剛 濱津 | Processing expression description file, processing program thereof, and processing method thereof |
US10572457B2 (en) | 2016-04-20 | 2020-02-25 | Iwasaki Electric Mfg. Co., Ltd. | Database construction device, database construction method, and database construction program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160259771A1 (en) | Information processing system, information processing apparatus, control method, and storage medium | |
TW201416884A (en) | Font distribution system and method of font distribution | |
JP4959501B2 (en) | Information processing apparatus, information processing method, and program | |
JP5835224B2 (en) | Input support program, input support apparatus, and input support method | |
JP4468217B2 (en) | Medium layout support system, page layout apparatus, program, and recording medium | |
JP2011136488A (en) | Printer | |
JP2005251061A (en) | Data processing system, terminal, data processing method, program and recording medium | |
JP5341141B2 (en) | Information processing system | |
JP2012173936A (en) | Information management device, program and information management system | |
JP2009086815A (en) | Database system, server, client terminal, method of inheriting search condition, program, and recording medium | |
JP2008065656A (en) | Database system, thumbnail image provision server, program, and recording medium | |
JP2008033660A (en) | Form data generation device and form data generation method | |
JP2020161013A (en) | Control program | |
JP4412951B2 (en) | Database system, server, program, and recording medium | |
JP6015794B2 (en) | Electronic form system, its processing method and program | |
JP2008033647A (en) | Document set forming device and document set forming method | |
JP2018005367A (en) | Edition support system, edition support device, data substitution device, and edition support method | |
JP5418329B2 (en) | Information processing program and information processing apparatus | |
JP5029088B2 (en) | Medium layout support system, page layout apparatus, program, and recording medium | |
JP2007293655A (en) | Document processor, output processing method for electronic document and program | |
JP2007265195A (en) | Page layout device, medium layout support system, program and storage medium | |
JP4316333B2 (en) | Database system, program, and recording medium | |
JP5483970B2 (en) | Data migration apparatus, data migration method, and program | |
JP2005242742A (en) | Database system, server, program, and recording medium | |
JP4093977B2 (en) | Form data output device, form data output method, program, and form data output system |