JPH05341956A - Automatic character code converter - Google Patents

Automatic character code converter

Info

Publication number
JPH05341956A
JPH05341956A JP4149023A JP14902392A JPH05341956A JP H05341956 A JPH05341956 A JP H05341956A JP 4149023 A JP4149023 A JP 4149023A JP 14902392 A JP14902392 A JP 14902392A JP H05341956 A JPH05341956 A JP H05341956A
Authority
JP
Japan
Prior art keywords
character code
character
computer
conversion
file
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
JP4149023A
Other languages
Japanese (ja)
Inventor
Keiko Fukuhara
敬子 福原
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Software Tohoku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TOHOKU NIPPON DENKI SOFTWARE KK, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP4149023A priority Critical patent/JPH05341956A/en
Publication of JPH05341956A publication Critical patent/JPH05341956A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To automatically and accurately convert character codes without being conscious of the character code of transmission/reception computers by a user in file transfer between the computers whose character codes are differ ent. CONSTITUTION:The information of the processable character codes for the respective computers are provided at a character code master 103 and the information for converting characters is registered as a character code conversion table 105. At the time of converting the character codes, the user first inputs a computer identification code, the processable character code information obtained from the character code master 103 is obtained by a character code identification means 107, and then, a data file 109 to be converted is retrieved from the character code conversion table 105. The character codes are converted by a character code conversion means 108 based on the conversion data and outputted to a transmission file 110. Thus, codes are automatically converted just by inputting the identification code of the computer by the user and the transmission file 110 is prepared.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字コード変換装置に関
し、特に文字コードの異なるコンピュータ間のファイル
転送における文字コードの変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character code converter, and more particularly to a character code converter for file transfer between computers having different character codes.

【0002】[0002]

【従来の技術】コンピュータの世界では、私たちが普段
使用している数字やアルファベット文字、漢字などはコ
ンピュータが処理し易いようにコンピュータ内部で文字
コードに変換され使用されている。現在、文字コードに
はEBCDIC,JISなどの数種類の標準規格があ
り、コンピュータはこのうちの1つを処理可能な文字コ
ードとして採用しており、採用している文字コードはコ
ンピュータ同志で異なるものもある。
2. Description of the Related Art In the world of computers, numbers, alphabetic characters, Chinese characters, etc., which are commonly used by us, are converted into character codes and used in the computer so that the computer can easily process them. Currently, there are several types of character codes, such as EBCDIC and JIS, and a computer adopts one of them as a processable character code. is there.

【0003】文字コードが異なるコンピュータ間でファ
イル転送を行った場合、ファイルデータは送信側のコン
ピュータで処理可能な文字コードのまま送信される。そ
のため、受信側のコンピュータでは受け取ったファイル
データを処理可能なデータにするため、送信側の文字コ
ードと受信側の文字コードを調べコード変換ツールによ
り文字コードの変換を行うのが一般的であった。
When a file is transferred between computers having different character codes, the file data is transmitted as the character code that can be processed by the sending computer. Therefore, in order to make the received file data processable on the receiving computer, it is common to examine the character code of the sending side and the character code of the receiving side and convert the character code with a code conversion tool. ..

【0004】[0004]

【発明が解決しようとする課題】従来使用していたコー
ド変換ツールは、起動前に送信側と受信側の処理可能な
文字コードを確認する必要があり手間がかかる上、確認
ミスやツール使用時のパラメータ入力ミスにより誤った
文字コードを指定することがあるのでコード変換が正し
く行われないまま次の処理を行ってしまうこともあっ
た。
The code conversion tool that has been used in the past requires confirmation of the character codes that can be processed by the sending side and the receiving side before starting up. Since an incorrect character code may be specified due to a parameter input error, the following processing may be performed without the code conversion being performed correctly.

【0005】また、コード変換ツールのないコンピュー
タのコード変換に関しては、文字コード変換対応表を作
成し手作業で変換を行うか、あるいは独自にプログラム
を作成して変換を行うため膨大な工数がかかるという問
題点があった。
Further, regarding code conversion of a computer without a code conversion tool, enormous man-hours are required because a character code conversion correspondence table is created and converted manually, or an original program is created and converted. There was a problem.

【0006】[0006]

【課題を解決するための手段】本発明の文字コード自動
変換装置は、ファイルの転送元または転送先となるコン
ピュータが使用している文字コードを登録する文字コー
ド登録手段と、文字コードの変換を行うための変換デー
タを登録する文字コード変換テーブル登録手段と、ファ
イル転送元のコンピュータと前記ファイルを受取る転送
先のコンピュータとを指定するコンピュータ情報入力手
段と、前記コンピュータ情報入力手段により指定された
コンピュータが処理を行う文字コードを識別する文字コ
ード識別手段と、前記文字コード識別手段で識別された
文字コードにより対応する文字コード変換データを検索
し、データファイルのデータを送信ファイルに変換して
出力する文字コード変換手段とを備えて構成される。
The automatic character code conversion apparatus of the present invention performs character code conversion by means of character code registration means for registering the character code used by the computer that is the transfer source or transfer destination of the file. Character code conversion table registration means for registering conversion data for performing, computer information input means for specifying a computer of a file transfer source and a transfer destination computer for receiving the file, and a computer specified by the computer information input means A character code identifying means for identifying a character code to be processed, and a corresponding character code conversion data is searched by the character code identified by the character code identifying means, and the data in the data file is converted into a transmission file and output. And a character code conversion means.

【0007】[0007]

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

【0008】図1は、本発明の一実施例の構成を示すブ
ロック図である。本発明は送信側のコンピュータで起動
されるものであり、文字コード登録手段102、文字コ
ードマスタ103、文字コード変換テーブル登録手段1
04、文字コード変換テーブル105、コンピュータ情
報入力手段106、文字コード識別手段107、文字コ
ード変換手段108とで構成されている。本発明の文字
コード自動変換装置を使用するに当たっては、まず、最
初に基本データの登録から行う。基本データとしては、
コンピュータの文字コード情報を文字コード登録手段1
02によりコンピュータ識別コードと処理可能な文字コ
ード情報とをキーボードより入力し、文字コードマスタ
103に登録する。また、文字コードの変換情報を文字
コード変換テーブル登録手段104により変換前文字コ
ード情報及び文字コードデータ、変換後文字コード情報
及び文字コードデータとをそれぞれキーボードにより入
力し、文字コード変換テーブル登録手段104とは共に
登録・更新・削除の機能を有する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The present invention is activated by a computer on the transmission side, and includes character code registration means 102, character code master 103, character code conversion table registration means 1
04, character code conversion table 105, computer information input means 106, character code identification means 107, and character code conversion means 108. In using the automatic character code conversion device of the present invention, first, basic data is registered. As basic data,
Character code registration means 1 for character code information of a computer
A computer identification code and processable character code information are input from the keyboard with 02 and registered in the character code master 103. Further, the character code conversion information is input by the character code conversion table registration means 104 using the keyboard, and the character code information before conversion and the character code data, and the character code information after conversion and the character code data are input by the character code conversion table registration means 104. Both have functions of registration, update, and deletion.

【0009】基本データが全て登録されると、コンピュ
ータ情報入力手段106において、送信側と受信側のコ
ンピュータ識別コードをキーボードより入力する。入力
されたコンピュータ識別コードは文字コード識別手段1
07において、文字コードマスタ103を参照するキー
となり、送信側・受信側のコンピュータで使用されてい
る文字コードの情報を得ることができる。この文字コー
ド情報は、文字コード変換手段108において文字コー
ド変換テーブルを検索するキーとなり、文字コード変換
データを得ることができる。文字コード変換手段108
では、データファイル109のデータを入力し、検索さ
れた文字コード変換データの内容でコード変換を行い、
送信ファイル110に出力する。
When all the basic data are registered, the computer information input means 106 inputs the computer identification codes of the transmitting side and the receiving side from the keyboard. The input computer identification code is the character code identification means 1
In 07, it becomes a key for referring to the character code master 103, and the information of the character code used in the sending and receiving computers can be obtained. This character code information serves as a key for searching the character code conversion table in the character code conversion means 108, and character code conversion data can be obtained. Character code conversion means 108
Then, input the data of the data file 109, perform the code conversion with the contents of the retrieved character code conversion data,
Output to the transmission file 110.

【0010】次に、図2・図3により文字コードが変換
される過程の更に詳細な説明を行う。
Next, the process of converting the character code will be described in more detail with reference to FIGS.

【0011】図2は文字コード変換過程の流れを示すフ
ローチャートである。
FIG. 2 is a flow chart showing the flow of the character code conversion process.

【0012】まず、ステップ201にて送信側のコンピ
ュータコードと受信側のコンピュータコードとを入力す
る。この時、入力されたコンピュータコードについて文
字コードマスタに存在するかどうかのチェックを行い、
エラーであれば再入力する。次に、ステップ202では
送信側、受信側の文字種別をそれぞれ画面に表示し、確
認の入力をする。確認が否定すなわちNであれば、ステ
ップ201に戻り、確認が肯定すなわちYであればコー
ド変換を行う(ステップ203)。
First, in step 201, the computer code of the transmitting side and the computer code of the receiving side are input. At this time, check whether the entered computer code exists in the character code master,
If there is an error, enter it again. Next, in step 202, the character types of the transmitting side and the receiving side are displayed on the screen, respectively, and confirmation is input. If the confirmation is negative, that is, N, the process returns to step 201, and if the confirmation is positive, that is, Y, code conversion is performed (step 203).

【0013】ステップ203ではコードを変換中である
というメッセージを画面に表示し変換終了して処理続行
が必要であれば、処理続行の確認の入力をする(ステッ
プ204)。確認が肯定すなわちYであればステップ2
01に戻り、確認が否定すなわちNであればファイル転
送処理を行う。
In step 203, a message indicating that the code is being converted is displayed on the screen, and if the conversion is completed and it is necessary to continue the processing, the confirmation input of the processing continuation is input (step 204). If the confirmation is positive, that is, Y, step 2
Returning to 01, if the confirmation is negative, that is, N, file transfer processing is performed.

【0014】図3では、文字コード変換処理におけるデ
ータの流れを示す。
FIG. 3 shows a data flow in the character code conversion process.

【0015】画面より入力された送信側と受信側のコン
ピュータ識別コードよりそれぞれ文字コード識別手段1
07中の文字コード識別処理部301で文字コード識別
コードが検索される。そして文字コード識別コードより
文字コード変換手段108中の文字コード変換処理部3
02でどの変換テーブルを使用するのか位置付けを行
う。次にデータファイル109中の変換前データ303
を1文字づつ読み込み文字コード変換処理部302で位
置付けられた送信側の文字変換テーブルより読み込んだ
文字コードがテーブルの何番目に位置しているかを検索
する。そして、受信側の文字変換テーブルの同じ位置の
文字コードを検索し、送信ファイル10中の変換後デー
タ304に書き出す。上述の変換前データ303からの
読み込みに対応した変換後データ304の書き込みの処
理は、変換前データ303のデータが終了するまで繰り
返される。
The character code identifying means 1 is respectively obtained from the computer identification codes of the transmitting side and the receiving side which are inputted from the screen.
The character code identification processing unit 301 in 07 searches for a character code identification code. Then, from the character code identification code, the character code conversion processing unit 3 in the character code conversion means 108.
In 02, which conversion table to use is positioned. Next, the pre-conversion data 303 in the data file 109
Is read character by character from the character conversion table on the transmission side positioned by the character code conversion processing unit 302, and the number of the character code read in the table is searched. Then, the character code at the same position in the character conversion table on the receiving side is searched, and the converted data 304 in the transmission file 10 is written. The process of writing the post-conversion data 304 corresponding to the reading from the pre-conversion data 303 is repeated until the data of the pre-conversion data 303 is completed.

【0016】[0016]

【発明の効果】以上説明したように本発明は、コンピュ
ータが処理可能な文字コードの情報をマスタに登録して
おき、コンピュータ識別コードによって簡単に情報を取
り込むことができるようにしたので、本発明の利用者は
送信側・受信側の処理可能な文字コードが何であるのか
意識する必要がなくなり、確認する手間が省ける。そし
て、文字コードの確認ミス、コード変換ツールを使用し
ていた時のパラメータ入力ミスも大幅に減少するという
効果がある。
As described above, according to the present invention, the information of the character code that can be processed by the computer is registered in the master so that the information can be easily fetched by the computer identification code. The user does not need to be aware of the character code that can be processed on the sending side and receiving side, and can save the trouble of checking. Further, there is an effect that a mistake in confirming the character code and a mistake in inputting a parameter when using the code conversion tool are significantly reduced.

【0017】また、あらゆる文字コードの変換情報をテ
ーブルとして登録し、変換する文字コードが識別される
と自動的に文字コード変換のテーブルを検索し、変換デ
ータによりコード変換が行われるようにしたので、コー
ド変換ツールの使用できないコンピュータでも、プログ
ラムを作ったり手作業でコード変換を行うという作業が
全くなくなり、大幅に作業工数が削減できるという効果
がある。
Further, the conversion information of all character codes is registered as a table, and when the character code to be converted is identified, the character code conversion table is automatically searched and the code conversion is performed by the conversion data. Even on a computer in which a code conversion tool cannot be used, there is no need to create a program or manually perform code conversion, and the number of work steps can be significantly reduced.

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

【図1】本発明の一実施例の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本実施例の文字コード変換過程のフローチャー
FIG. 2 is a flowchart of a character code conversion process of this embodiment.

【図3】本実施例の文字コード変換処理を示す説明図FIG. 3 is an explanatory diagram showing a character code conversion process of this embodiment.

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

101 文字コード自動変換装置 102 文字コード登録手段 103 文字コードマスタ 104 文字コード変換テーブル登録手段 105 文字コード変換テーブル 106 コンピュータ情報入力手段 107 文字コード識別手段 108 文字コード変換手段 301 文字コード識別処理部 302 文字コード変換処理部 303 変換前データ 304 変換後データ 101 Character Code Automatic Conversion Device 102 Character Code Registration Means 103 Character Code Master 104 Character Code Conversion Table Registration Means 105 Character Code Conversion Table 106 Computer Information Input Means 107 Character Code Identification Means 108 Character Code Conversion Means 301 Character Code Identification Processing Unit 302 Characters Code conversion processing unit 303 Pre-conversion data 304 Post-conversion data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ファイルの転送元または転送先となるコ
ンピュータが使用している文字コードを登録する文字コ
ード登録手段と、文字コードの変換を行うための変換デ
ータを登録する文字コード変換テーブル登録手段と、フ
ァイル転送元のコンピュータと前記ファイルを受取る転
送先のコンピュータとを指定するコンピュータ情報入力
手段と、前記コンピュータ情報入力手段により指定され
たコンピュータが処理を行う文字コードを識別する文字
コード識別手段と、前記文字コード識別手段で識別され
た文字コードにより対応する文字コード変換データを検
索し、データファイルのデータを送信ファイルに変換し
て出力する文字コード変換手段とを備えて成ることを特
徴とする文字コード自動変換装置。
1. A character code registration means for registering a character code used by a computer which is a transfer source or a transfer destination of a file, and a character code conversion table registration means for registering conversion data for converting the character code. Computer information input means for designating a computer as a file transfer source and a transfer destination computer for receiving the file, and character code identification means for identifying a character code to be processed by the computer designated by the computer information input means. And character code conversion means for searching the corresponding character code conversion data by the character code identified by the character code identification means, converting the data of the data file into a transmission file and outputting the transmission file. Automatic character code converter.
JP4149023A 1992-06-09 1992-06-09 Automatic character code converter Withdrawn JPH05341956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4149023A JPH05341956A (en) 1992-06-09 1992-06-09 Automatic character code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4149023A JPH05341956A (en) 1992-06-09 1992-06-09 Automatic character code converter

Publications (1)

Publication Number Publication Date
JPH05341956A true JPH05341956A (en) 1993-12-24

Family

ID=15465984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4149023A Withdrawn JPH05341956A (en) 1992-06-09 1992-06-09 Automatic character code converter

Country Status (1)

Country Link
JP (1) JPH05341956A (en)

Similar Documents

Publication Publication Date Title
JP3277014B2 (en) Methods for manipulating data processing resources
JPH05341956A (en) Automatic character code converter
CN114996758A (en) Data desensitization method and device and electronic equipment
JP3335863B2 (en) Apparatus and method for simplifying character input
JPH0619756A (en) Edi format conversion method
JPH08278978A (en) Bond information retrieving methdo and bond information terminal device
JPH07271822A (en) Information retrieving device
JPH0535620A (en) File transferring device
JPH0546450A (en) Multihost data base access device
JPH08235203A (en) Device and method for extracting file list
JPH05233705A (en) Index preparation system for image filing system
JPH04130973A (en) Data registering system for electronic filing
JP2626224B2 (en) Host computer
JPH10149319A (en) Code converter and recording medium
JPH04260963A (en) Server/client system
JPH10269245A (en) Method and device for data input
JPH05158986A (en) Method and device for extracting electronic application information
JPH0273466A (en) Electronic file system
JPH0561745A (en) Transforming device for format
JPH06325201A (en) Character recognizing device
JPH0573282A (en) Program preparing system
JPS62134765A (en) Electronic retrieving method for dictionary of chinese character explained in japanese
JPS62109127A (en) Control system for output of display screen
JPS63228346A (en) Data base registering and updating system by word processor
JPH01314071A (en) Electronic file 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: 19990831