JPH04350740A - Data converting device - Google Patents

Data converting device

Info

Publication number
JPH04350740A
JPH04350740A JP3123915A JP12391591A JPH04350740A JP H04350740 A JPH04350740 A JP H04350740A JP 3123915 A JP3123915 A JP 3123915A JP 12391591 A JP12391591 A JP 12391591A JP H04350740 A JPH04350740 A JP H04350740A
Authority
JP
Japan
Prior art keywords
data
conversion
item
item name
conversion table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3123915A
Other languages
Japanese (ja)
Inventor
Tatsuhiro Momotake
百武 立裕
Hiroshi Nakao
寛 中尾
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP3123915A priority Critical patent/JPH04350740A/en
Publication of JPH04350740A publication Critical patent/JPH04350740A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To relatively easily and efficiently perform data conversion between data bases. CONSTITUTION:Item names are checked by the control of a controller 10, and an item number to be converted is set to a conversion table 12. When the conversion table generation processing is started in the conversion table 12 by the control of the controller 10, card type data base item names are read in, and the conversion item is retrieved and conversion information is set, and item names of conversion source data and conversion destination data are checked. It is checked whether conversion source data and conversion destination data include the same item name or not, and the conversion table 12 is corrected if they have no same item names, but the item name is added to the conversion table otherwise. The conversion table 12 generated in this manner is used to convert data of the same item name as data of one item by the controller 10.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、デ−タベ−ス間でデ−
タ変換を行うデ−タ変換装置に関する。
[Industrial Application Field] The present invention enables data exchange between databases.
The present invention relates to a data conversion device that performs data conversion.

【0002】0002

【従来の技術】一般に、この種のデ−タ変換装置で取り
扱うデ−タベ−スは、複数の項目を有するデ−タから構
成されており、例えば、住所録にかかるデ−タベ−スで
は、氏名という項目を有するデ−タと、住所という項目
を有するデ−タとを含んで構成されている。このように
構成されたデ−タベ−スは通常、項目名、項目サイズな
どのフォ−マット情報と共に項目ごとのデ−タ情報とし
て、適当な記憶媒体に格納される。
2. Description of the Related Art Generally, a database handled by this type of data conversion device is composed of data having a plurality of items. For example, in a database related to an address book, , data having an item called name, and data having an item called address. A database configured in this manner is usually stored in a suitable storage medium as data information for each item along with format information such as item name and item size.

【0003】このように項目単位で夫々のデ−タが格納
されたデ−タベ−ス間におけるデ−タの変換に際し、従
来のデ−タ変換装置では、デ−タベ−スのフォ−マット
に従って、各項目単位で変換を行っている。
[0003] When converting data between databases in which each item of data is stored in this way, conventional data conversion devices do not change the format of the database. Conversion is performed for each item according to the following.

【0004】0004

【発明が解決しようとする課題】この種のデ−タ変換装
置においては、一般により簡単な処理を用いてより効率
的にデ−タ変換を行うことが望まれている。しかしなが
ら、上述した如き従来のデ−タ変換装置によると、デ−
タベ−スのフォ−マットに従って項目単位で変換を行っ
ているため、実際のデ−タ変換作業に際し、変換に係る
デ−タの項目数や項目サイズを同じにする必要があり、
変換処理が複雑化すると共に時間がかかるという問題点
があった。
SUMMARY OF THE INVENTION In this type of data conversion apparatus, it is generally desired to perform data conversion more efficiently using simpler processing. However, according to the conventional data conversion device as described above, the data
Since conversion is performed item by item according to the database format, it is necessary to keep the number of data items and item sizes the same during actual data conversion work.
There is a problem that the conversion process becomes complicated and takes time.

【0005】本発明は上述した従来の問題点に鑑み成さ
れたものであり、デ−タベ−スにおいて比較的簡単に且
つ効率良くデ−タ変換を行うことができるデ−タ変換装
置を提供することを課題とする。
The present invention has been made in view of the above-mentioned conventional problems, and provides a data conversion device that can perform data conversion in a database relatively easily and efficiently. The task is to do so.

【0006】[0006]

【課題を解決するための手段】本発明のデ−タ変換装置
は上述の課題を達成するために、項目名を夫々有する複
数のデ−タを含んで構成されたデ−タベ−ス間でデ−タ
変換を行うデ−タ変換装置であって、変換元デ−タの項
目名及び変換先デ−タの項目名を識別する識別手段と、
該識別手段により識別された項目名が同一であるデ−タ
については一つのデ−タとして変換する変換手段とを備
えたことを特徴とする。
[Means for Solving the Problems] In order to achieve the above-mentioned problems, the data conversion device of the present invention converts data between databases including a plurality of data items each having an item name. A data conversion device that performs data conversion, an identification means for identifying an item name of conversion source data and an item name of conversion destination data;
The present invention is characterized by comprising a conversion means for converting data having the same item name identified by the identification means as one data.

【0007】[0007]

【作用】本発明のデ−タ変換装置によれば、項目名を夫
々有する複数のデ−タを含んで構成されたデ−タベ−ス
間でデ−タ変換するに際し、識別手段は変換元デ−タの
項目名及び変換先デ−タの項目名を識別し、変換手段は
該識別手段により識別された項目名が同一であるデ−タ
については一つのデ−タとして変換するので、デ−タ変
換に際して項目数や項目サイズを同じにする必要は無く
、変換するデ−タの項目の順番がどの様になっていても
異なるデ−タベ−ス間で、比較的簡単に且つ効率良くデ
−タ変換を行うことができる。
[Operation] According to the data conversion device of the present invention, when converting data between databases including a plurality of data items each having an item name, the identification means identifies the source of conversion. The item name of the data and the item name of the conversion destination data are identified, and the conversion means converts data having the same item name identified by the identification means as one data. It is not necessary to have the same number of items or item sizes when converting data, and it is relatively easy and efficient to convert between different databases, regardless of the order of the items in the data to be converted. Data conversion can be performed well.

【0008】次に示す本発明の実施例から、本発明のこ
のような作用がより明らかにされ、更に本発明の他の作
用が明らかにされよう。
[0008] From the following examples of the present invention, these effects of the present invention will become clearer, and other effects of the present invention will become clearer.

【0009】[0009]

【実施例】以下図面を用いて本発明の実施例を詳細に説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described in detail below with reference to the drawings.

【0010】図1は本発明の一実施例であるデ−タ変換
装置の構成をデ−タベ−スと共に概略的に示すブロック
図である。
FIG. 1 is a block diagram schematically showing the configuration of a data conversion device as an embodiment of the present invention together with a database.

【0011】同図において、デ−タ変換装置は、制御装
置10、プログラムメモリ11、変換テ−ブル12、キ
−ボ−ド13及び表示装置14を備えている。
In the figure, the data conversion device includes a control device 10, a program memory 11, a conversion table 12, a keyboard 13, and a display device 14.

【0012】制御装置10は、後述するように当該デ−
タ変換装置を稼働させるための制御を行う装置であり、
例えばCPU(中央処理装置)、半導体メモリ装置等か
ら構成されている。プログラムメモリ11は、制御装置
10に接続されており、制御装置10にデ−タ変換処理
を行わせるプログラムを格納するメモリである。このよ
うなプログラムメモリ11は、例えばRAM(読み出し
書き込み可能メモリ)、ROM(読み出し専用メモリ)
などから構成されている。
[0012] The control device 10 receives the data as described below.
It is a device that performs control to operate the data conversion device,
For example, it is composed of a CPU (central processing unit), a semiconductor memory device, and the like. The program memory 11 is connected to the control device 10 and stores a program that causes the control device 10 to perform data conversion processing. Such program memory 11 is, for example, RAM (readable/writable memory) or ROM (read-only memory).
It is composed of etc.

【0013】変換テ−ブル12は、制御装置10に接続
されており、後述するように制御装置10による制御の
下に項目名をチェックし、変換する項目番号をセットす
るメモリである。このような変換テ−ブル12は、例え
ばRAM等から構成されている。キ−ボ−ド13は、制
御装置10に接続されており、一連の操作命令を制御装
置10に入力指示するためのものである。キ−ボ−ド1
3は、文字・数字キ−、制御キ−など各種のキ−を有し
て構成されている。表示装置14は、制御装置10に接
続されており、制御装置10による制御の下に一連の操
作を文字などにより表示するためのものである。表示装
置14は、例えばCRT(陰極線管)表示装置、LCD
(液晶表示)装置などから構成されている。このように
、本実施例では、変換テ−ブル12から識別手段の一例
が構成されており、制御装置10から変換手段の一例が
構成されている。
The conversion table 12 is connected to the control device 10, and is a memory for checking item names and setting item numbers to be converted under the control of the control device 10, as will be described later. Such a conversion table 12 is composed of, for example, a RAM or the like. The keyboard 13 is connected to the control device 10 and is used to input a series of operating commands to the control device 10. keyboard 1
3 includes various keys such as character/numeric keys and control keys. The display device 14 is connected to the control device 10 and is used to display a series of operations using characters or the like under the control of the control device 10. The display device 14 is, for example, a CRT (cathode ray tube) display device or an LCD.
(liquid crystal display) device, etc. As described above, in this embodiment, the conversion table 12 constitutes an example of identification means, and the control device 10 constitutes an example of conversion means.

【0014】一方、制御装置10には、デ−タ変換の対
象となるデ−タベ−スのフォ−マットメモリ101 及
びデ−タメモリ102 が夫々アクセス可能に接続され
ている。ここに、フォ−マットメモリ101 は、デ−
タベ−スのレイアウト情報等を蓄えておくメモリである
。デ−タメモリ102は、デ−タベ−スのデ−タを格納
するメモリである。フォ−マットメモリ101 及びデ
−タメモリ102 は、例えばハ−ドディスク記憶装置
、半導体メモリ装置等からなる大規模容量の記憶装置に
より構成されている。図2及び図3に、このようなフォ
−マットメモリ101 及びデ−タメモリ102におけ
る具体的なデ−タ構造を図式的に夫々示す。
On the other hand, a format memory 101 and a data memory 102 of a database to be subjected to data conversion are connected to the control device 10 in such a manner that they can be accessed. Here, the format memory 101 is
This is a memory that stores layout information of the database. Data memory 102 is a memory that stores database data. The format memory 101 and the data memory 102 are constituted by large-scale storage devices such as hard disk storage devices, semiconductor memory devices, and the like. 2 and 3 schematically show specific data structures in the format memory 101 and data memory 102, respectively.

【0015】図2において、フォ−マットメモリは、用
紙情報、各種フォ−マット情報及び項目情報i(i=1
,2,・・・n)を含む構造を有する。ここに、用紙情
報としては、用紙のサイズ、左右・上下の余白等の情報
がセットされる。また、項目情報iは、図に示すように
項目番号、項目名、項目サイズ、項目属性から夫々構成
されている。
In FIG. 2, the format memory stores paper information, various format information, and item information i (i=1
, 2,...n). Here, as paper information, information such as the paper size, left and right, top and bottom margins, etc. is set. Further, as shown in the figure, the item information i is composed of an item number, an item name, an item size, and an item attribute.

【0016】また、図3において、デ−タメモリは、カ
−ド型のデ−タベ−スを構成するものであり、カ−ド番
号1〜mまで、1枚単位に項目1〜nに対するデ−タが
格納されている。
Further, in FIG. 3, the data memory constitutes a card-type database, and data for items 1 to n are stored for each card numbered 1 to m. - data is stored.

【0017】次に、以上のように構成されたデ−タ変換
装置の動作について、図4及び図5を用いて説明する。 ここに、図4は、当該デ−タ変換装置のデ−タ変換の概
要を示した説明図であり、図5は、デ−タ変換動作にか
かる変換テ−ブルの作成処理のフロ−チャ−トである。
Next, the operation of the data conversion apparatus configured as described above will be explained using FIGS. 4 and 5. Here, FIG. 4 is an explanatory diagram showing an overview of data conversion by the data conversion device, and FIG. 5 is a flowchart of a conversion table creation process related to the data conversion operation. - It is.

【0018】図4において、変換元には、“氏名”の他
に“住所1”、“住所2”、“住所3”という項目名が
ある。これに対して、変換先には、“氏名”の他に“住
所”という項目名がある。即ちこの場合、“住所”とい
う共通の項目名を持つので、制御装置による制御の下に
これらを変換テ−ブルにより識別して、“住所1”、“
住所2”、“住所3”を一つの項目にまとめて変換を行
う。
In FIG. 4, the conversion source includes item names such as "Address 1", "Address 2", and "Address 3" in addition to "Name". On the other hand, the conversion destination includes the item name "address" in addition to "name". That is, in this case, since they have a common item name "Address", these are identified by a conversion table under the control of the control device, and are converted into "Address 1", "
"Address 2" and "Address 3" are combined into one item and converted.

【0019】図5において、変換テ−ブル作成処理を開
始すると、先ず、ステップS1において、カ−ド型デ−
タベ−ス項目名の読み込みを行う。次に、ステップS2
において、変換項目の検索及び変換情報のセットを行う
。続いて、ステップS3において、変換元デ−タ及び変
換先デ−タの項目名のチェックを行う。ここで、ステッ
プS4において、チェックした項目名が最終のものであ
るか否かが判定され、最終であれば(YES)、当該変
換テ−ブル作成処理を終了する。
In FIG. 5, when the conversion table creation process is started, first, in step S1, the card type data is
Reads the database item name. Next, step S2
, search for conversion items and set conversion information. Subsequently, in step S3, the item names of the conversion source data and conversion destination data are checked. Here, in step S4, it is determined whether the checked item name is the final one, and if it is the final one (YES), the conversion table creation process is ended.

【0020】ステップS4において、最終でなければ(
NO)、ステップS5に進み、変換元デ−タ及び変換先
デ−タの間で同じ項目名を含むかどうかのチェックを行
う。 そして、ステップS6において、同じ項目名がなければ
(NO)、ステップS7に進み、変換テ−ブルを修正す
る。また、ステップS6において、同じ項目名があれば
(YES)、ステップS8に進み、変換テ−ブルを追加
する。ステップS7又はS8の処理が終わると、ステッ
プS3に戻り、再びデ−タの項目名のチェックが行われ
る。
[0020] In step S4, if it is not the final (
If NO), the process proceeds to step S5, where it is checked whether or not the conversion source data and conversion destination data contain the same item name. Then, in step S6, if there is no same item name (NO), the process advances to step S7 and the conversion table is corrected. Further, in step S6, if there is the same item name (YES), the process advances to step S8 and a conversion table is added. When the processing in step S7 or S8 is completed, the process returns to step S3, and the data item names are checked again.

【0021】こうして作成された変換テ−ブルを用いて
制御装置により、同じ項目名のデ−タについては、一つ
の項目にまとめて又は逆に分離して変換を行う。
Using the conversion table created in this manner, the control device converts data having the same item name into one item or, conversely, separates the data.

【0022】以上のように、変換元デ−タ及び変換先デ
−タが同じ項目名を含む場合には、変換テ−ブルを追加
し、同じ項目名を含まない場合には、変換テ−ブルを修
正するようにしたので、かかる変換テ−ブルを用いて制
御装置により同じ項目名のデ−タについては、一つの項
目にまとめて又は逆に分離して変換を行うことができ、
デ−タベ−スにおいて比較的簡単に且つ効率良くデ−タ
変換を行うことができる。
As described above, when the conversion source data and conversion destination data contain the same item name, a conversion table is added, and when they do not contain the same item name, a conversion table is added. Since the conversion table is modified, data with the same item name can be converted into one item by the control device using such a conversion table, or conversely, data can be separated and converted.
Data conversion can be performed relatively easily and efficiently in a database.

【0023】[0023]

【発明の効果】以上詳細に説明したように本発明によれ
ば、項目名を夫々有する複数のデ−タを含んで構成され
たデ−タベ−ス間でデ−タ変換するに際し、識別手段は
変換元デ−タの項目名及び変換先デ−タの項目名を識別
し、変換手段は該識別手段により識別された項目名が同
一であるデ−タについては一つのデ−タとして変換する
ので、変換するデ−タの項目の順番がどの様になってい
ても異なるデ−タベ−ス間で比較的簡単に且つ効率良く
デ−タ変換を行うことができる。
As described in detail above, according to the present invention, when converting data between databases each containing a plurality of data items each having an item name, the identification means identifies the item name of the conversion source data and the item name of the conversion destination data, and the conversion means converts data that have the same item name identified by the identification means as one data. Therefore, regardless of the order of the items of data to be converted, data conversion can be performed relatively easily and efficiently between different databases.

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

【図1】本発明の一実施例であるデ−タ変換装置の構成
をデ−タベ−スと共に概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing the configuration of a data conversion device as an embodiment of the present invention together with a database.

【図2】図1のフォ−マットメモリのデ−タ構造を図式
的に示す説明図である。
FIG. 2 is an explanatory diagram schematically showing the data structure of the format memory of FIG. 1;

【図3】図1のデ−タメモリのデ−タ構造を図式的に示
す説明図である。
FIG. 3 is an explanatory diagram schematically showing the data structure of the data memory of FIG. 1;

【図4】図1のデ−タ変換装置のデ−タ変換の概要を示
した説明図である。
FIG. 4 is an explanatory diagram showing an overview of data conversion by the data conversion device of FIG. 1;

【図5】図1のデ−タ変換動作にかかる変換テ−ブルの
作成処理のフロ−チャ−トである。
FIG. 5 is a flowchart of conversion table creation processing related to the data conversion operation of FIG. 1;

【符号の説明】[Explanation of symbols]

10  制御装置 11  プログラムメモリ 12  変換テ−ブル 13  キ−ボ−ド 14  表示装置 100 フォ−マットメモリ 101 デ−タメモリ 10 Control device 11 Program memory 12 Conversion table 13 Keyboard 14 Display device 100 format memory 101 Data memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  項目名を夫々有する複数のデ−タを含
んで構成されたデ−タベ−ス間でデ−タ変換を行うデ−
タ変換装置であって、変換元デ−タの項目名及び変換先
デ−タの項目名を識別する識別手段と、該識別手段によ
り識別された項目名が同一であるデ−タについては一つ
のデ−タとして変換する変換手段とを備えたことを特徴
とするデ−タ変換装置。
[Claim 1] Data conversion between databases configured to include a plurality of data items each having an item name.
The data conversion device is equipped with an identification means for identifying the item name of the conversion source data and the item name of the conversion destination data, and for data in which the item name identified by the identification means is the same. 1. A data conversion device comprising: conversion means for converting the data into one data.
JP3123915A 1991-05-28 1991-05-28 Data converting device Pending JPH04350740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3123915A JPH04350740A (en) 1991-05-28 1991-05-28 Data converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3123915A JPH04350740A (en) 1991-05-28 1991-05-28 Data converting device

Publications (1)

Publication Number Publication Date
JPH04350740A true JPH04350740A (en) 1992-12-04

Family

ID=14872497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3123915A Pending JPH04350740A (en) 1991-05-28 1991-05-28 Data converting device

Country Status (1)

Country Link
JP (1) JPH04350740A (en)

Similar Documents

Publication Publication Date Title
JPS5968040A (en) Card format change processing system
JP2002007951A (en) Slip input method, its execution device, and storage medium recording its process program
JP2855207B2 (en) Form output device
JPH04350740A (en) Data converting device
JPH10198741A (en) Table data processor and its program recording medium
JPS621063A (en) Slip processor
JPH0425931A (en) Data output device
JPH0567159A (en) Table form data processing device
JPH0528203A (en) Map retrieval device
JP3047400B2 (en) Data processing device
JPH05197600A (en) Data base access system
JP2741024B2 (en) Information processing method
JPH11272524A (en) Data converter and storage medium
JPH067393Y2 (en) Electronics
JPH0675963A (en) Document generation support system
JP2958479B2 (en) Document creation device
JPH0589106A (en) Device and method for editing document
JPH01189691A (en) Image processor
JPH103473A (en) Conversion system for user definition character file
JPH08235220A (en) Data processor
JPH04291668A (en) Retrieving device
JPH05204523A (en) Keyboard setting device
JPS60114936A (en) Support device of specification forming
JPS63155275A (en) Graphic data access system
JPH0528201A (en) Generation/storage method for data base retrieval table