JPH0675845A - Data conversion automizing method - Google Patents

Data conversion automizing method

Info

Publication number
JPH0675845A
JPH0675845A JP4136457A JP13645792A JPH0675845A JP H0675845 A JPH0675845 A JP H0675845A JP 4136457 A JP4136457 A JP 4136457A JP 13645792 A JP13645792 A JP 13645792A JP H0675845 A JPH0675845 A JP H0675845A
Authority
JP
Japan
Prior art keywords
conversion
data
file format
data code
computer
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.)
Withdrawn
Application number
JP4136457A
Other languages
Japanese (ja)
Inventor
Mayumi Hanamoto
真弓 花本
Kenichi Uno
健一 宇野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4136457A priority Critical patent/JPH0675845A/en
Publication of JPH0675845A publication Critical patent/JPH0675845A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To easily realize a communication between different kinds of machines without considering a data code conversion in the communication between different kinds of machine. CONSTITUTION:A data code is converted by a data code converting part 31, a file format is converted by a file format converting part 32, a data code conversion table 33 in which plural data codes are allowed to correspond to each other is used, and a file format table 34 in which a file format is stated plainly is used. In such a way, a load to a system of a data conversion processing is reduced, a communication can efficiently be executed, and also, the manhour in program development can be reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ変換自動化方法
に関し、特に、異機種間通信において、通信対象となる
コンピュータのデータを形式,変換手順などを意識する
ことなく、容易に通信できるシステムを実現できるよう
にするデータ変換自動化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data conversion automation method, and more particularly, to a system for easily communicating data of a computer to be communicated without being aware of the format, conversion procedure, etc. in the communication between different models. The present invention relates to an automated data conversion method that can be realized.

【0002】[0002]

【従来の技術】従来、異機種間通信を行なう場合、形式
の異なるデータをそのまま利用することは不可能なの
で、リアルタイムの問い合わせ処理などでは通信プログ
ラム上で変換処理を行なっている。
2. Description of the Related Art Conventionally, when performing communication between different models, it is impossible to use data of different formats as they are. Therefore, conversion processing is performed on a communication program in real-time inquiry processing or the like.

【0003】また、ファイル転送などバッチ系の処理で
は、転送できるファイルの形式を異機種間で双方ともに
使用可能な形式に限定するか、または、一旦ファイルを
受信し、通信終了後にファイル変換プログラムやデータ
コード変換プログラムを実行することにより、異機種間
通信を実現させている。
Further, in batch-type processing such as file transfer, the transferable file format is limited to a format that can be used by both different models, or a file conversion program or Communication between different models is realized by executing the data code conversion program.

【0004】[0004]

【発明が解決しようとする課題】上述した、リアルタイ
ムに通信プログラム上でデータ変換処理を行なう図3の
場合、プログラム実行時に変換処理に時間がかかり、通
信を効率的に行なうことができない。また、プログラム
作成が複雑となり、工数増加の一因となっている。
In the case of FIG. 3 in which the data conversion process is performed on the communication program in real time as described above, the conversion process takes time when the program is executed, and communication cannot be performed efficiently. In addition, the program creation becomes complicated, which is one of the causes of the increase in man-hours.

【0005】バッチ処理でファイル転送を行なう図4の
場合、ファイル変換,コード変換など複数のプログラム
が必要となり、変換処理中にはファイル排他制御により
通信が行なえなかったり、問い合わせなどの処理ができ
ないという問題がある。
In the case of FIG. 4 in which files are transferred by batch processing, a plurality of programs such as file conversion and code conversion are required, and communication cannot be performed due to file exclusion control during the conversion processing, and processing such as inquiries cannot be performed. There's a problem.

【0006】[0006]

【課題を解決するための手段】本発明のデータ変換自動
化方法は、相手側コンピュータの使用するデータコード
を自コンピュータが使用可能なデータコードに変換する
機能と、自コンピュータが使用するデータコードを相手
側コンピュータが使用可能なデータコードに変換する機
能と、さらに接続された相手側コンピュータの使用する
ファイル形式を自コンピュータが使用可能なファイル形
式に変換する機能と、自コンピュータが使用するファイ
ル形式を相手側コンピュータが使用可能なファイル形式
に変換する機能とを実行することを特徴とする。
A method for automating data conversion of the present invention has a function of converting a data code used by a partner computer into a data code usable by the own computer and a data code used by the own computer as a partner. The function of converting the data code that can be used by the other computer, the function of converting the file format used by the connected other computer to the file format that can be used by the own computer, and the file format used by the other computer And a function of converting the file format into a file format usable by the host computer.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0009】データコード変換部31は、通信制御部3
6またはアプリケーションソフト35より引き渡された
データが、1バイト系文字か2バイト系文字か、特殊文
字か、該当する文字のないコードか判断し、1バイトご
とのデータコードを、アプリケーションソフト35から
の変換,無変換の条件指定と、データコード変換テーブ
ル33を基に、使用不可能なデータコードに対応した、
使用可能なデータコードに変換し、通信制御部36から
引き渡されたデータであれば、アプリケーションソフト
35またはファイル形式テーブル34へ、アプリケーシ
ョンソフト35またはファイル形式変換部32から引き
渡されたデータであれば、通信制御部36へ引き渡す。
The data code conversion unit 31 includes a communication control unit 3
6 or the data passed from the application software 35 is judged whether it is a 1-byte type character, a 2-byte type character, a special character, or a code without the corresponding character, and the data code for each byte is sent from the application software 35. Based on the conversion / non-conversion condition specification and the data code conversion table 33, it corresponds to the unusable data code,
If the data is converted into a usable data code and delivered from the communication control unit 36, the data is delivered to the application software 35 or the file format table 34, and if the data is delivered from the application software 35 or the file format conversion unit 32, It is delivered to the communication control unit 36.

【0010】ファイル形式変換部32は、アプリケーシ
ョンソフト35より指定された条件に基づいて、ファイ
ル形式テーブル34を検索し、指定された形式にファイ
ル形式の変換を行ない、送信ファイルであればデータコ
ード変換部31へ、受信ファイルであればアプリケーシ
ョンソフト35へ引き渡す。
The file format conversion unit 32 searches the file format table 34 based on the conditions specified by the application software 35, converts the file format into the specified format, and converts the data code if it is a transmission file. If the file is a received file, it is delivered to the application software 35.

【0011】データコード変換テーブル33は、複数種
のデータコードを1対1に対応付けた変換テーブルと、
特別な変換を必要とする2バイト系文字への変換、2バ
イト系文字からの変換、特殊文字への変換、および、特
殊文字からの変換を対応付けした変換テーブルとを格納
する。
The data code conversion table 33 is a conversion table in which a plurality of types of data codes are associated one-to-one,
A conversion table in which conversion to a 2-byte character requiring special conversion, conversion from a 2-byte character, conversion to a special character, and conversion from a special character are stored.

【0012】ファイル形式テーブル34は、複数種のフ
ァイル形式の物理的な情報(セクタ長など)、論理的な
情報(ファイル索引部の構造、フィールドセパレータの
有無など)を格納する。
The file format table 34 stores physical information (sector length, etc.) and logical information (structure of file index section, presence / absence of field separator, etc.) of plural kinds of file formats.

【0013】第1に、リアルタイム処理時の動作を説明
する。異機種との通信を行なう際に、アプリケーション
ソフト35よりデータコード変換部31に対して、デー
タコードの変換,無変換の条件指定と、変換であれば通
信対象機種の使用するデータコード体系名と、1バイト
ごとの変換,無変換の条件指定を行なう。
First, the operation during real-time processing will be described. When performing communication with a different model, the application software 35 instructs the data code conversion unit 31 to specify conditions for data code conversion and non-conversion, and if conversion, the data code system name used by the communication target model. Specifies the condition of conversion or no conversion for each byte.

【0014】データコード変換部31は引き渡されたデ
ータに対して、データコード変換テーブル33を参照
し、アプリケーションソフト35より指定された条件ど
おりに変換処理を行なう。送信用データであればアプリ
ケーションソフト35へ引き渡す。
The data code conversion unit 31 refers to the data code conversion table 33 for the delivered data and performs conversion processing according to the conditions specified by the application software 35. If the data is for transmission, it is delivered to the application software 35.

【0015】第2に、バッチ処理(ファイル転送)時の
動作について説明する。
Second, the operation during batch processing (file transfer) will be described.

【0016】アプリケーションソフト35より、ファイ
ル形式変換部32に対して、転送するファイル名、ファ
イル形式の変換,無変換の条件指定と、変換であれば通
信対象機種の使用するファイル形式名を指定する。
From the application software 35, to the file format conversion unit 32, the file name to be transferred, the specification of the conversion of the file format and the specification of no conversion, and the conversion, the file format name used by the communication target model is specified. .

【0017】ファイル形式変換部32は、転送用ファイ
ルをアプリケーションソフト35より指定された形式に
変換し、送信ファイルであれば、データコード変換処理
を行ない送信し、受信ファイルであれば、ファイル形式
変換処理終了後より使用可能となる。
The file format conversion unit 32 converts the transfer file into a format specified by the application software 35. If the file is a transmission file, the data code conversion process is performed and transmitted. If the file is a reception file, the file format conversion unit 32 converts the file format. It can be used after the processing is completed.

【0018】[0018]

【発明の効果】以上説明したように、本発明は、異機種
間通信におけるデータ変換処理をアプリケーションソフ
トより分離させることにより、通信の効率化とプログラ
ム開発工数の低減という効果を奏する。
As described above, according to the present invention, by separating the data conversion process in the communication between different models from the application software, the effect of improving the communication efficiency and reducing the program development man-hour can be obtained.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1中のデータコード変換テーブルを例示する
図である。
FIG. 2 is a diagram showing an example of a data code conversion table in FIG.

【図3】従来例のブロック図である。FIG. 3 is a block diagram of a conventional example.

【図4】従来例のブロック図である。FIG. 4 is a block diagram of a conventional example.

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

31 データコード変換部 32 ファイル形式変換部 33 データコード変換テーブル 34 ファイル形式テーブル 35 アプリケーションソフト 36 通信制御部 31 data code conversion unit 32 file format conversion unit 33 data code conversion table 34 file format table 35 application software 36 communication control unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 相手側コンピュータの使用するデータコ
ードを自コンピュータが使用可能なデータコードに変換
する機能と、自コンピュータが使用するデータコードを
相手側コンピュータが使用可能なデータコードに変換す
る機能と、さらに接続された相手側コンピュータの使用
するファイル形式を自コンピュータが使用可能なファイ
ル形式に変換する機能と、自コンピュータが使用するフ
ァイル形式を相手側コンピュータが使用可能なファイル
形式に変換する機能とを実行することを特徴とするデー
タ変換自動化方法。
1. A function of converting a data code used by a partner computer into a data code usable by the own computer, and a function of converting a data code used by the own computer into a data code usable by the partner computer. , And the function to convert the file format used by the connected other computer to the file format that can be used by the own computer, and the function that converts the file format used by the own computer to the file format that can be used by the other computer. A method for automating data conversion, characterized by executing.
【請求項2】 通信制御部またはアプリケーションソフ
トより引き渡されたデータが、1バイト系文字か2バイ
ト系文字か、特殊文字か、該当する文字のないコードか
判断し、1バイトごとのデータコードを、アプリケーシ
ョンソフトからの変換,無変換の条件指定と、データコ
ード変換テーブルを基に、使用不可能なデータコードに
対応した、使用可能なデータコードに変換し、通信制御
部から引き渡されたデータであれば、アプリケーション
ソフトまたはファイル形式テーブルへ、アプリケーショ
ンソフトまたはファイル形式変換部から引き渡されたデ
ータであれば、通信制御部へ引き渡し、 アプリケーションソフトより指定された条件に基づい
て、ファイル形式テーブルを検索し、指定された形式に
ファイル形式の変換を行ない、送信ファイルであればデ
ータコード変換部へ、受信ファイルであればアプリケー
ションソフトへ引き渡し、 データコード変換テーブルに、複数種のデータコードを
1対1に対応付けた変換テーブルと、特別な変換を必要
とする2バイト系文字への変換、2バイト系文字からの
変換、特殊文字への変換、および、特殊文字からの変換
を対応付けした変換テーブルとを格納し、 ファイル形式テーブルに、複数種のファイル形式の物理
的な情報、論理的な情報を格納することを特徴とするデ
ータ変換自動化方法。
2. The data passed from the communication control unit or the application software is judged whether it is a 1-byte character, a 2-byte character, a special character, or a code without the corresponding character, and the data code for each byte is determined. Based on the data code conversion table and the specification of conditions for conversion from application software and non-conversion, conversion to usable data codes that correspond to unusable data codes is made with the data passed from the communication control unit. If there is, the data passed to the application software or file format table, and if the data passed from the application software or file format conversion unit, is passed to the communication control unit, and the file format table is searched based on the conditions specified by the application software. Convert file format to specified format and send If it is a file, it is passed to the data code conversion unit, and if it is a received file, it is passed to the application software, and a conversion table in which a plurality of types of data codes are associated one-to-one with the data code conversion table and special conversion are required. A conversion table that associates conversions to 2-byte characters, conversions from 2-byte characters, conversions to special characters, and conversions from special characters is stored, and multiple types of file formats are stored in the file format table. An automatic data conversion method characterized by storing physical information and logical information.
JP4136457A 1992-05-28 1992-05-28 Data conversion automizing method Withdrawn JPH0675845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4136457A JPH0675845A (en) 1992-05-28 1992-05-28 Data conversion automizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4136457A JPH0675845A (en) 1992-05-28 1992-05-28 Data conversion automizing method

Publications (1)

Publication Number Publication Date
JPH0675845A true JPH0675845A (en) 1994-03-18

Family

ID=15175565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4136457A Withdrawn JPH0675845A (en) 1992-05-28 1992-05-28 Data conversion automizing method

Country Status (1)

Country Link
JP (1) JPH0675845A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319662A (en) * 1994-05-23 1995-12-08 Nec Corp System for data format conversion between different kinds of machines
JPH07334400A (en) * 1994-06-08 1995-12-22 Hitachi Ltd Database access system and method of controlling the database access system
JPH08123754A (en) * 1994-10-25 1996-05-17 Nec Corp Data conversion system for remote procedure call processing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319662A (en) * 1994-05-23 1995-12-08 Nec Corp System for data format conversion between different kinds of machines
JPH07334400A (en) * 1994-06-08 1995-12-22 Hitachi Ltd Database access system and method of controlling the database access system
JPH08123754A (en) * 1994-10-25 1996-05-17 Nec Corp Data conversion system for remote procedure call processing

Similar Documents

Publication Publication Date Title
US5349675A (en) System for directly displaying remote screen information and providing simulated keyboard input by exchanging high level commands
US5890159A (en) Data transfer mechanism between databases using a separate pipe at each database
CA2034906C (en) Method and apparatus for describing data to be exchanged between processes
JPH0675845A (en) Data conversion automizing method
WO2005006212A2 (en) Automating real-time data feed to a database
US20060136602A1 (en) Electronic data interchange apparatus
CN114143383B (en) Method and terminal for converting CAN protocol
CN110505136B (en) Layered MODBUS communication system and method
JPH0426501B2 (en)
JPH0399341A (en) Network management method
JPH05342123A (en) Command transfer system for network system
JPH07319782A (en) Character code converter
JPH03225543A (en) Terminal device connection system
JPH0623961B2 (en) Data transfer method
JP2000132465A (en) Device and method for code conversion of ftp server and record medium where code converting program is recorded
US20050165716A1 (en) Method for automated connection of multiple processing machines
JPH05303484A (en) Data linking system
JPH06197143A (en) Multiple communication control method and device for computer
JP2626224B2 (en) Host computer
JPS63240646A (en) Data exchange system between terminal and host
JPH02247733A (en) System for simplifying binary code conversion
CN121166802A (en) Method and system for accessing database interface layer by SAS language based on C++ middleware
JPH06231056A (en) Plural file transfer system
JPH03157021A (en) Data compression control method
JPH04260963A (en) server client system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803