JP2604507B2 - Character data conversion transfer method - Google Patents

Character data conversion transfer method

Info

Publication number
JP2604507B2
JP2604507B2 JP3140529A JP14052991A JP2604507B2 JP 2604507 B2 JP2604507 B2 JP 2604507B2 JP 3140529 A JP3140529 A JP 3140529A JP 14052991 A JP14052991 A JP 14052991A JP 2604507 B2 JP2604507 B2 JP 2604507B2
Authority
JP
Japan
Prior art keywords
character
character data
code
character code
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.)
Expired - Lifetime
Application number
JP3140529A
Other languages
Japanese (ja)
Other versions
JPH04365127A (en
Inventor
学 江崎
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP3140529A priority Critical patent/JP2604507B2/en
Publication of JPH04365127A publication Critical patent/JPH04365127A/en
Application granted granted Critical
Publication of JP2604507B2 publication Critical patent/JP2604507B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は文字データ変換転送方式
に関し、特に異なるオペレーテイングシステム(OS)
で動作するコンピュータ間における文字データの変換お
よび転送のための文字データ変換転送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character data conversion / transfer system, and more particularly to a different operating system (OS).
The present invention relates to a character data conversion and transfer method for converting and transferring character data between computers operating on a computer.

【0002】[0002]

【従来の技術】この種の文字データ変換転送方の一例と
して、パーソナルコンピュータ等のOSとして広く用い
られているマイクロソフト社開発のMS−DOSで動作
するパーソナルコンピュータから日本語文字コードであ
るシフトJISコードによる文字データを、同様にパー
ソナルコンピュータから上位のコピュータ等のOSであ
るATT社開発のUNIXで動作しているワークステー
ションに転送するという例があげられる。この場合、シ
フトJISコードによる文字データをUNIXの日本語
文字コードの一つである8ビットJISによる文字デー
タに変換することが必要となる。
2. Description of the Related Art As an example of this type of character data conversion transfer method, a shift JIS code, which is a Japanese character code, is transferred from a personal computer operating on MS-DOS developed by Microsoft, which is widely used as an OS for a personal computer. Is also transferred from a personal computer to a workstation operating on UNIX developed by ATT, which is an OS such as a higher-level computer. In this case, it is necessary to convert character data based on the shift JIS code into character data based on 8-bit JIS, which is one of UNIX Japanese character codes.

【0003】従来の文字データ変換転送方式は、図3に
示すように、転送された文字データを転送先において、
転送先のOSの文字コードによる文字データに変換して
いた。
[0003] In the conventional character data conversion and transfer method, as shown in FIG.
The data is converted into character data by the character code of the OS of the transfer destination.

【0004】図3において、従来の文字データ変換転送
方式は、MS−DOSをOSとし転送対象のシフトJI
Sコードによる文字データのファイル11とこれを転送
する送信部12とを備えるパーソナルコンピュータ3
と、UNIXをOSとし転送データを受信する受信部2
1と受信文字データを格納するファイル22と、受信文
字データのシフトJISコードによる文字データを8ビ
ットJISによる文字データに変換する文字コード変換
部23と変換された文字データを格納するファイル24
とを備えるワークステーション4とから構成されてい
た。
In FIG. 3, a conventional character data conversion and transfer method uses MS-DOS as an OS and shift JI to be transferred.
A personal computer 3 including a character data file 11 in S code and a transmission unit 12 for transferring the file 11
Receiving unit 2 that receives UNIX as an OS and receives transfer data
1, a file 22 for storing received character data, a character code conversion unit 23 for converting character data based on shift JIS code of received character data into character data based on 8-bit JIS, and a file 24 storing converted character data.
And a workstation 4 having the following.

【0005】次に、従来の文字データ変換転送方式の動
作について説明する。
Next, the operation of the conventional character data conversion transfer system will be described.

【0006】図4は図3に示す従来の文字データ変換転
送方式の動作を示すフローチャートである。
FIG. 4 is a flowchart showing the operation of the conventional character data conversion and transfer system shown in FIG.

【0007】図4において、まず、転送元のパーソナル
コンピュータ3において、転送する文字データが格納さ
れている文字データのファイル11のファイル名と、転
送先のOS(UNIX)名を読込む(ステップP1)。
In FIG. 4, first, in the transfer source personal computer 3, the file name of the character data file 11 storing the character data to be transferred and the OS (UNIX) name of the transfer destination are read (step P1). ).

【0008】次に、ファイル11の内容を送信部11を
介してワークステーション4に転送する(ステップP
2)。
Next, the contents of the file 11 are transferred to the workstation 4 via the transmission section 11 (step P).
2).

【0009】ワークステーション4では、受信部21を
介して転送されてきた文字データをファイル22に格納
する(ステップP3)。
The work station 4 stores the character data transferred via the receiving section 21 in the file 22 (step P3).

【0010】次に、ファイル22に格納されたシフトJ
ISコードによる文字データを読出し、文字コード変換
部23により8ビットJISによる文字データに変換し
て、ファイル24に格納する(ステップP4)。
Next, the shift J stored in the file 22
The character data based on the IS code is read out, converted into 8-bit JIS character data by the character code converter 23, and stored in the file 24 (step P4).

【0011】[0011]

【発明が解決しようとする課題】上述した従来の文字デ
ータ変換転送方式は、転送元のOSの文字コードのまま
の文字データを転送し、転送先で転送先のOSの文字コ
ードによる文字データに変換していたので、誤操作によ
る文字データの変換忘れ等により転送元のOSの文字コ
ードのまま転送先で処理された場合には、文字コードが
OSに不適合のため文字表示装置の表示乱れ等の不具合
が発生するというという欠点を有している。また、特定
のOS相互間の転送の必要の都度個々にシステムを構築
していたので汎用性がないという欠点を有している。
In the conventional character data conversion and transfer method described above, the character data of the transfer source OS is transferred as it is, and the transfer destination character data is converted to the character data of the transfer destination OS character code. If the character code of the source OS is processed at the transfer destination due to forgetting to convert the character data due to an erroneous operation, etc., the character code is incompatible with the OS. There is a disadvantage that a problem occurs. In addition, since the system is individually constructed each time transfer between specific OSes is necessary, there is a drawback that there is no versatility.

【0012】[0012]

【課題を解決するための手段】本発明の文字データ変換
転送方式は、第一のオペレーテイングシステムにおける
第一の文字コードでコード化した第一の文字データを第
二のオペレーテイングシステムで動作する処理装置の前
記第二のオペレーテイングシステムにおける第二の文字
コードでコード化した第二の文字データに変換し転送す
る文字データ変換転送方式において、前記第一および第
二のそれぞれのオペレーテイングシステムの名称と前記
第一および第二のそれぞれのオペレーテイングシステム
にそれぞれ対応する前記第一および第二の文字コードと
の対照が記述されているオペレーテイングシステム使用
文字コード一覧表と、前記第一の文字コードに対応する
前記第二の文字コードが記述されている文字コード対照
表と、前記第一の文字コードを前記文字コード対照表に
より前記第二の文字コードに変換する文字コード変換部
とを備えて構成されている。
According to the character data conversion / transfer method of the present invention, first character data encoded by a first character code in a first operating system operates in a second operating system. In a character data conversion / transfer method for converting and transferring to second character data coded by a second character code in the second operating system of the processing device, the first and second operating systems may include: An operating system use character code list in which a name and a comparison between the first and second character codes respectively corresponding to the first and second operating systems are described, and the first character A character code comparison table in which the second character code corresponding to the code is described, It is constituted by a character code conversion unit that converts the character code to the second character codes by the character code correspondence table.

【0013】[0013]

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

【0014】図1は、本発明の文字データ変換転送方式
の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of the character data conversion / transfer system of the present invention.

【0015】本実施例は、前述の従来例と同様に、MS
−DOSで動作するパーソナルコンピュータからシフト
JISコードによる文字データを8ビットJISによる
文字データに変換し、UNIX(4.3BSD)で動作
しているワークステーションに転送するという例につい
て説明する。
In this embodiment, as in the above-mentioned conventional example, MS
An example will be described in which character data based on shift JIS code is converted into character data based on 8-bit JIS from a personal computer operating on DOS and transferred to a workstation operating on UNIX (4.3 BSD).

【0016】本実施例の文字データ変換転送方式は、図
1に示すように、転送元であるパーソナルコンピュータ
1と、転送先であるワークステーション2とを含んで構
成される。
As shown in FIG. 1, the character data conversion and transfer system of this embodiment includes a personal computer 1 as a transfer source and a workstation 2 as a transfer destination.

【0017】パーソナルコンピュータ1は、MS−DO
SをOSとし転送対象のシフトJISコードによる文字
データのファイル11と、このシステムが対象とする全
てのOSの名称とこれに対応する使用文字データとの対
照を記述した一覧表であるO用文字コード一覧表13
と、シフトJISコードに対応する8ビットJISコー
ドの記載を含むOS使用文字コード一覧表13に記載し
てある文字コード相互間を対照する文字コード対照表1
4と、文字コード対照表14により文字コード変換する
文字コード変換部15と、変換した文字コード、ここで
は、8ビットJISコードによる文字データを格納する
ファイル16と、ファィル16から順次読出しこれを転
送する送信部12とを備えて構成される。
The personal computer 1 is an MS-DO
S is an OS, and a character data file 11 based on shift JIS code to be transferred, and names of all the OSs targeted by the system and O character, which is a list describing a comparison between the character data used and the names of the OS. Code list 13
And a character code comparison table 1 for comparing the character codes described in the OS use character code list 13 including the description of the 8-bit JIS code corresponding to the shift JIS code.
4, a character code conversion unit 15 for converting a character code according to a character code comparison table 14, a file 16 for storing the converted character code, here, character data based on an 8-bit JIS code, and a file 16 which is sequentially read and transferred. And a transmission unit 12 that performs the transmission.

【0018】OS使用文字コード一覧表13の一例を表
1に示す。
An example of the OS use character code list 13 is shown in Table 1.

【0019】 [0019]

【0020】ワークステーション2は、UNIX(4.
3BSD)をOSとし転送データを受信する受信部21
と、受信文字データを格納するファイル24とを備えて
構成される。
The workstation 2 has a UNIX (4.
3BSD) as an OS and a receiving unit 21 for receiving transfer data
And a file 24 for storing received character data.

【0021】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0022】図2は、図1で示した本実施例の動作を説
明するフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the embodiment shown in FIG.

【0023】まず、利用者により入力された文字データ
変換転送する文字データが格納されているファイル11
のファイル名称と転送先のOS(マシン)名を読込む。
ここでは、ファイル名称をMS−DOS.JXW、ま
た、転送先のOS名をUNIXのバージョンの一つであ
る4.3BSDとする(ステップS1)。
First, a file 11 in which character data input by the user and which is to be converted and transferred is stored.
File name and the OS (machine) name of the transfer destination are read.
Here, the file name is MS-DOS. JXW and the OS name of the transfer destination are set to 4.3 BSD which is one of the versions of UNIX (step S1).

【0024】次に、使用文字コード一覧表13を参照し
て読込んだ転送先のOSの使用文字コードを8ビットJ
ISコードであることを認識する(ステップS2)。
Next, the used character code of the transfer destination OS read with reference to the used character code list 13 is represented by 8 bits J.
It recognizes that it is an IS code (step S2).

【0025】次に、ファイル11の文字データが終りで
あるかどうかのチエックをする(ステップS3)。ノー
の場合は、ステップS4に進みファイル11のシフトJ
ISコードの文字データの一単位を読出す。
Next, a check is made as to whether the character data of the file 11 is the end (step S3). If no, go to step S4 to shift J of file 11.
Reads one unit of IS code character data.

【0026】次に、文字コード対照表14を参照し、ス
テップS4で読出したシフトJISコードの文字データ
に対応する8ビットJISコードの文字データを読取る
(ステップS5)。
Next, with reference to the character code comparison table 14, the character data of the 8-bit JIS code corresponding to the character data of the shift JIS code read in step S4 is read (step S5).

【0027】次に、読取った8ビットJISコードの文
字データをファイル16に一時格納する(ステップS
6)。
Next, the read character data of the 8-bit JIS code is temporarily stored in the file 16 (step S).
6).

【0028】以上のステップS3〜S6の処理をファイ
ル11の文字データの終りまで継続する。
The processing of steps S3 to S6 is continued until the end of the character data of the file 11.

【0029】次に、ステップS3でイエスすなわちファ
イル11の文字データが終りであれば、データ転送処理
に分岐し、予め入力したシステム情報により、相互のO
S間の接続形態を認識し(ステップS7)。
Next, if YES in step S3, that is, if the character data of the file 11 is ended, the flow branches to a data transfer process, and mutual O is performed according to the system information input in advance.
The connection form between S is recognized (step S7).

【0030】最後に、ファイル16に一時格納したデー
タを送信部12を介して転送先のワークステーション2
に転送して全ての処理を終了する(ステップS8)。
Finally, the data temporarily stored in the file 16 is transferred to the transfer destination workstation 2 via the transmission unit 12.
And the process ends (step S8).

【0031】[0031]

【発明の効果】以上説明したように、本発明の文字デー
タ変換転送方式は、システムが対象とする全てのオペレ
ーテイングシステムの名称と対応する文字コードとの対
照が記述されているオペレーテイングシステム使用文字
コード一覧表と、文字コード相互間を対照する文字コー
ド対照表と、文字コード対照表により文字コードを変換
する文字コード変換部とを備えることにより、誤操作に
よる文字データの変換忘れ等はなくなるので転送元のO
Sの文字コードのまま転送先で処理されることもなくな
り、文字コードのOS不適合による文字表示装置の表示
乱れ等の不具合の発生を防止できるという効果を有して
いる。また、システムが対象とする全てのOS相互間の
転送に対応できる汎用性があるという効果を有してい
る。
As described above, the character data conversion and transfer method of the present invention uses an operating system in which the names of all operating systems targeted by the system and the corresponding character codes are described. By providing a character code list, a character code comparison table for comparing between character codes, and a character code conversion unit for converting character codes based on the character code comparison table, it is possible to avoid forgetting to convert character data due to an erroneous operation. Transfer source O
The character code of S is not processed as it is at the transfer destination, and it is possible to prevent the occurrence of troubles such as display disorder of the character display device due to incompatibility of the OS of the character code. In addition, there is an effect that the system has versatility that can support transfer between all OSs targeted by the system.

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

【図1】本発明の文字データ変換転送方式の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a character data conversion / transfer system according to the present invention.

【図2】本実施例の文字データ変換転送方式における動
作の一例を示すフローチャートである。
FIG. 2 is a flowchart illustrating an example of an operation in the character data conversion transfer method according to the present embodiment.

【図3】従来の文字データ変換転送方式の一例を示すブ
ロック図である。
FIG. 3 is a block diagram showing an example of a conventional character data conversion and transfer method.

【図4】従来の文字データ変換転送方式における動作の
一例を示すフローチャートである。
FIG. 4 is a flowchart showing an example of an operation in a conventional character data conversion transfer method.

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

1,3 パーソナルコンピュータ 2,4 ワークステーション 11,16,22,24 ファイル 12 送信部 13 OS使用文字コード一覧表 14 文字コード対照表 15,23 文字コード変換部 21 受信部 1,3 Personal computer 2,4 Workstation 11,16,22,24 File 12 Transmission unit 13 OS character code list 14 Character code comparison table 15,23 Character code conversion unit 21 Receiving unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第一のオペレーテイングシステムにおけ
る第一の文字コードでコード化した第一の文字データを
第二のオペレーテイングシステムで動作する処理装置の
前記第二のオペレーテイングシステムにおける第二の文
字コードでコード化した第二の文字データに変換し転送
する文字データ変換転送方式において、前記第一および
第二のそれぞれのオペレーテイングシステムの名称と前
記第一および第二のそれぞれのオペレーテイングシステ
ムにそれぞれ対応する前記第一および第二の文字コード
との対照が記述されているオペレーテイングシステム使
用文字コード一覧表と、前記第一の文字コードに対応す
る前記第二の文字コードが記述されている文字コード対
照表と、前記第一の文字コードを前記文字コード対照表
により前記第二の文字コードに変換する文字コード変換
部とを備えることを特徴とする文字データ変換転送方
式。
A first character data coded by a first character code in a first operating system, wherein a first character data encoded by a first character code in a second operating system is processed by a second character in the second operating system; In a character data conversion and transfer system for converting and transferring to second character data coded by a character code, a name of the first and second operating systems and a name of the first and second operating systems are provided. An operating system use character code list in which a comparison with the first and second character codes respectively corresponding to is described, and the second character code corresponding to the first character code is described. Character code comparison table, and the first character code is converted to the second sentence by the character code comparison table. A character code conversion unit for converting to a character code.
JP3140529A 1991-06-13 1991-06-13 Character data conversion transfer method Expired - Lifetime JP2604507B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3140529A JP2604507B2 (en) 1991-06-13 1991-06-13 Character data conversion transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3140529A JP2604507B2 (en) 1991-06-13 1991-06-13 Character data conversion transfer method

Publications (2)

Publication Number Publication Date
JPH04365127A JPH04365127A (en) 1992-12-17
JP2604507B2 true JP2604507B2 (en) 1997-04-30

Family

ID=15270791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3140529A Expired - Lifetime JP2604507B2 (en) 1991-06-13 1991-06-13 Character data conversion transfer method

Country Status (1)

Country Link
JP (1) JP2604507B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000041080A1 (en) 1999-01-04 2000-07-13 Fujitsu Limited Speech assisting method and device
JP2004252997A (en) * 2004-03-29 2004-09-09 Ricoh Co Ltd Font management server, and character code conversion method

Also Published As

Publication number Publication date
JPH04365127A (en) 1992-12-17

Similar Documents

Publication Publication Date Title
US6764011B2 (en) Graphics code system
CA2255133A1 (en) Method and apparatus for efficient representation of variable length identifiers in a distributed object system
JP2604507B2 (en) Character data conversion transfer method
US5479167A (en) Character code conversion unit
JPH04361323A (en) Character data converting and transferring system
JP2607612B2 (en) Job transfer method
EP0578496A2 (en) Job execution method in multi-CPU system
JP2597457B2 (en) Signal input device and signal input method
JPS62121562A (en) Data communication system
JP2596375B2 (en) Character code conversion device and network system using the character code conversion device
JP2937641B2 (en) Communication method between application programs
JP2757525B2 (en) Mutual conversion system for multiple character code systems
JP2833512B2 (en) Facsimile machine
JP3588439B2 (en) Communication processing device and communication processing system using data container
JP2778472B2 (en) Data processing device
JP2692114B2 (en) Document converter
JPH09300737A (en) Printing system
JP2000242686A (en) Cad device and device and method for data exchange between different kind of cads
KR930010293B1 (en) User program loading method
KR100217344B1 (en) Internet connecting device of communication processing system
JPS6134620A (en) Inputting method to computer
JPH0231260A (en) Data converting/restoring system
JPH11134098A (en) Keyboard system
JPH01258122A (en) Data format conversion system
JPS6368892A (en) Output display system for information processing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961203