JPH04361323A - Character data converting and transferring system - Google Patents
Character data converting and transferring systemInfo
- Publication number
- JPH04361323A JPH04361323A JP13691291A JP13691291A JPH04361323A JP H04361323 A JPH04361323 A JP H04361323A JP 13691291 A JP13691291 A JP 13691291A JP 13691291 A JP13691291 A JP 13691291A JP H04361323 A JPH04361323 A JP H04361323A
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は文字データ変換転送方式
に関し、特に異なるオペレーテイングシステム(OS)
で動作するコンピュータ間における文字データの変換お
よび転送のための文字データ変換転送方式に関する。[Industrial Field of Application] The present invention relates to a character data conversion and transfer method, and particularly to a method for converting and transferring character data, and in particular,
This invention relates to a character data conversion and transfer method for converting and transferring character data between computers operating on the computer.
【0002】0002
【従来の技術】この種の文字データ変換転送方の一例と
して、パーソナルコンピュータ等のOSとして広く用い
られているマイクロソフト社開発のMS−DOSで動作
するパーソナルコンピュータから日本語文字コードであ
るシフトJISコードによる文字データを、同様にパー
ソナルコンピュータから上位のコピュータ等のOSであ
るATT社開発のUNIXで動作しているワークステー
ションに転送するという例があげられる。この場合、シ
フトJISコードによる文字データをUNIXの日本語
文字コードの一つである8ビットJISによる文字デー
タに変換することが必要となる。[Prior Art] As an example of this type of character data conversion and transfer method, shift JIS code, which is a Japanese character code, is transferred from a personal computer running MS-DOS developed by Microsoft, which is widely used as an OS for personal computers, etc. An example of this is similarly transferring character data from a personal computer to a workstation running the UNIX OS developed by ATT, such as a host computer. In this case, it is necessary to convert character data based on shift JIS code into character data based on 8-bit JIS, which is one of the Japanese character codes of UNIX.
【0003】従来の文字データ変換転送方式は、図3に
示すように、転送された文字データを転送先において、
転送先のOSの文字コードによる文字データに変換して
いた。As shown in FIG. 3, the conventional character data conversion and transfer method converts the transferred character data at the transfer destination.
It was converted into character data based on the character code of the destination OS.
【0004】図3において、従来の文字データ変換転送
方式は、MS−DOSをOSとし転送対象のシフトJI
Sコードによる文字データのファイル11とこれを転送
する送信部12とを備えるパーソナルコンピュータ3と
、UNIXをOSとし転送データを受信する受信部21
と受信文字データを格納するファイル22と、受信文字
データのシフトJISコードによる文字データを8ビッ
トJISによる文字データに変換する文字コード変換部
23と変換された文字データを格納するファイル24と
を備えるワークステーション4とから構成されていた。In FIG. 3, the conventional character data conversion and transfer method uses MS-DOS as the OS and transfers the Shift JI
A personal computer 3 that includes a file 11 of character data based on S code and a transmitting section 12 that transfers the file, and a receiving section 21 that uses UNIX as an OS and receives the transferred data.
and a file 22 for storing received character data, a character code converter 23 for converting character data based on the shift JIS code of the received character data into character data based on 8-bit JIS, and a file 24 for storing the converted character data. It consisted of 4 workstations.
【0005】次に、従来の文字データ変換転送方式の動
作について説明する。Next, the operation of the conventional character data conversion and transfer system will be explained.
【0006】図4は図3に示す従来の文字データ変換転
送方式の動作を示すフローチャートである。FIG. 4 is a flowchart showing the operation of the conventional character data conversion and transfer method shown in FIG.
【0007】図4において、まず、転送元のパーソナル
コンピュータ3において、転送する文字データが格納さ
れている文字データのファイル11のファイル名と、転
送先のOS(UNIX)名を読込む(ステップP1)。In FIG. 4, first, the personal computer 3 of the transfer source reads the file name of the character data file 11 in which the character data to be transferred is stored and the OS (UNIX) name of the transfer destination (step P1). ).
【0008】次に、ファイル11の内容を送信部11を
介してワークステーション4に転送する(ステップP2
)。Next, the contents of the file 11 are transferred to the workstation 4 via the transmitter 11 (step P2
).
【0009】ワークステーション4では、受信部21を
介して転送されてきた文字データをファイル22に格納
する(ステップP3)。The workstation 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
Character data based on the IS code is read out, converted into character data based on 8-bit JIS by the character code converter 23, and stored in the file 24 (step P4).
【0011】[0011]
【発明が解決しようとする課題】上述した従来の文字デ
ータ変換転送方式は、転送元のOSの文字コードのまま
の文字データを転送し、転送先で転送先のOSの文字コ
ードによる文字データに変換していたので、誤操作によ
る文字データの変換忘れ等により転送元のOSの文字コ
ードのまま転送先で処理された場合には、文字コードが
OSに不適合のため文字表示装置の表示乱れ等の不具合
が発生するというという欠点を有している。また、特定
のOS相互間の転送の必要の都度個々にシステムを構築
していたので汎用性がないという欠点を有している。[Problems to be Solved by the Invention] The conventional character data conversion and transfer method described above transfers character data in the character code of the transfer source OS, and converts the character data at the transfer destination into the character code of the transfer destination OS. However, if the character code of the source OS is processed at the destination due to an error such as forgetting to convert the character data, the character code may be incompatible with the OS and the display of the character display device may be distorted. It has the disadvantage of causing problems. Furthermore, since a system is constructed individually each time transfer between specific OSes is required, it has the disadvantage of lack of versatility.
【0012】0012
【課題を解決するための手段】本発明の文字データ変換
転送方式は、第一のオペレーテイングシステムにおける
第一の文字コードでコード化した第一の文字データを第
二のオペレーテイングシステムで動作する処理装置の前
記第二のオペレーテイングシステムにおける第二の文字
コードでコード化した第二の文字データに変換し転送す
る文字データ変換転送方式において、前記第一および第
二のそれぞれのオペレーテイングシステムの名称と前記
第一および第二のそれぞれのオペレーテイングシステム
にそれぞれ対応する前記第一および第二の文字コードと
の対照が記述されているオペレーテイングシステム使用
文字コード一覧表と、前記第一の文字コードに対応する
前記第二の文字コードが記述されている文字コード対照
表と、前記第一の文字コードを前記文字コード対照表に
より前記第二の文字コードに変換する文字コード変換部
とを備えて構成されている。[Means for Solving the Problems] The character data conversion and transfer method of the present invention operates on a second operating system by converting first character data encoded with a first character code in a first operating system. In the character data conversion and transfer method of converting and transmitting second character data encoded with a second character code in the second operating system of the processing device, each of the first and second operating systems a list of character codes used by operating systems in which a comparison between the name and the first and second character codes corresponding to the first and second operating systems, respectively, is described, and the first character; a character code comparison table in which the second character code corresponding to the code is described; and a character code conversion unit that converts the first character code into the second character code using the character code comparison table. It is composed of
【0013】[0013]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments Next, embodiments of the present invention will be described with reference to the drawings.
【0014】図1は、本発明の文字データ変換転送方式
の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the character data conversion and transfer system of the present invention.
【0015】本実施例は、前述の従来例と同様に、MS
−DOSで動作するパーソナルコンピュータからシフト
JISコードによる文字データを8ビットJISによる
文字データに変換し、UNIX(4.3BSD)で動作
しているワークステーションに転送するという例につい
て説明する。[0015] This embodiment, like the above-mentioned conventional example,
- An example will be explained in which character data in a shift JIS code is converted from a personal computer running on DOS to character data in 8-bit JIS, and the data is transferred to a workstation running on UNIX (4.3BSD).
【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に記載して
ある文字コード相互間を対照する文字コード対照表14
と、文字コード対照表14により文字コード変換する文
字コード変換部15と、変換した文字コード、ここでは
、8ビットJISコードによる文字データを格納するフ
ァイル16と、ファィル16から順次読出しこれを転送
する送信部12とを備えて構成される。[0017] The personal computer 1 is an MS-DO
File 11 of character data in Shift JIS code to be transferred, with S as OS, and character for O, which is a list that describes the comparison between the names of all OSs targeted by this system and the corresponding character data used. Character code comparison table 14 that compares the character codes listed in code list 13 and OS usage character code list 13, which includes descriptions of 8-bit JIS codes corresponding to shift JIS codes.
, a character code conversion unit 15 that converts character codes using a character code comparison table 14; a file 16 that stores the converted character codes, here character data in 8-bit JIS codes; and a file 16 that sequentially reads out and transfers the converted character codes. The transmitter 12 is configured to include a transmitter 12.
【0018】OS使用文字コード一覧表13の一例を表
1に示す。An example of the OS character code list 13 is shown in Table 1.
【0019】[0019]
【0020】ワークステーション2は、UNIX(4.
3BSD)をOSとし転送データを受信する受信部21
と、受信文字データを格納するファイル24とを備えて
構成される。The workstation 2 runs UNIX (4.
3BSD) as the OS and receives the transferred data.
and a file 24 for storing received character data.
【0021】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
【0022】図2は、図1で示した本実施例の動作を説
明するフローチャートである。FIG. 2 is a flowchart illustrating the operation of this 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 to be converted and transferred is stored.
Read the file name and destination OS (machine) name. Here, the file name is MS-DOS. JXW, and the OS name of the transfer destination is set to 4.3BSD, which is one of the versions of UNIX (step S1).
【0024】次に、使用文字コード一覧表13を参照し
て読込んだ転送先のOSの使用文字コードを8ビットJ
ISコードであることを認識する(ステップS2)。[0024] Next, refer to the character code list 13 and read the character code used by the destination OS into the 8-bit J
It is recognized that it is an IS code (step S2).
【0025】次に、ファイル11の文字データが終りで
あるかどうかのチエックをする(ステップS3)。ノー
の場合は、ステップS4に進みファイル11のシフトJ
ISコードの文字データの一単位を読出す。Next, it is checked whether the character data in the file 11 has ended (step S3). If no, proceed to step S4 and shift J of file 11.
Read one unit of character data of the IS code.
【0026】次に、文字コード対照表14を参照し、ス
テップS4で読出したシフトJISコードの文字データ
に対応する8ビットJISコードの文字データを読取る
(ステップS5)。Next, referring 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に一時格納する(ステップS6
)。Next, the read character data of the 8-bit JIS code is temporarily stored in the file 16 (step S6).
).
【0028】以上のステップS3〜S6の処理をファイ
ル11の文字データの終りまで継続する。The above processing of steps S3 to S6 is continued until the end of the character data in the file 11.
【0029】次に、ステップS3でイエスすなわちファ
イル11の文字データが終りであれば、データ転送処理
に分岐し、予め入力したシステム情報により、相互のO
S間の接続形態を認識し(ステップS7)。Next, if the result in step S3 is YES, that is, the character data of file 11 is the end, the process branches to data transfer processing, and mutual O
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 destination workstation 2 via the transmitter 12.
and completes all processing (step S8).
【0031】[0031]
【発明の効果】以上説明したように、本発明の文字デー
タ変換転送方式は、システムが対象とする全てのオペレ
ーテイングシステムの名称と対応する文字コードとの対
照が記述されているオペレーテイングシステム使用文字
コード一覧表と、文字コード相互間を対照する文字コー
ド対照表と、文字コード対照表により文字コードを変換
する文字コード変換部とを備えることにより、誤操作に
よる文字データの変換忘れ等はなくなるので転送元のO
Sの文字コードのまま転送先で処理されることもなくな
り、文字コードのOS不適合による文字表示装置の表示
乱れ等の不具合の発生を防止できるという効果を有して
いる。また、システムが対象とする全てのOS相互間の
転送に対応できる汎用性があるという効果を有している
。[Effects of the Invention] As explained above, the character data conversion and transfer method of the present invention uses an operating system in which a comparison between the names of all operating systems targeted by the system and their corresponding character codes is described. By providing a character code list, a character code comparison table that compares character codes, and a character code conversion unit that converts character codes using the character code comparison table, it is possible to eliminate forgetting to convert character data due to operational errors. Transfer source O
This eliminates the need for the character code S to be processed at the transfer destination, which has the effect of preventing the occurrence of problems such as display disturbances on the character display device due to OS incompatibility of the character code. Additionally, the system has the advantage of being versatile enough to support transfers between all the OSs targeted.
【図1】本発明の文字データ変換転送方式の一実施例を
示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the character data conversion and transfer method of the present invention.
【図2】本実施例の文字データ変換転送方式における動
作の一例を示すフローチャートである。FIG. 2 is a flowchart showing an example of the operation in the character data conversion and transfer method of this 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 and transfer method.
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 section 13 OS used character code list 14 Character code comparison table 15, 23 Character code conversion section 21 Receiving section
Claims (1)
ける第一の文字コードでコード化した第一の文字データ
を第二のオペレーテイングシステムで動作する処理装置
の前記第二のオペレーテイングシステムにおける第二の
文字コードでコード化した第二の文字データに変換し転
送する文字データ変換転送方式において、前記第一およ
び第二のそれぞれのオペレーテイングシステムの名称と
前記第一および第二のそれぞれのオペレーテイングシス
テムにそれぞれ対応する前記第一および第二の文字コー
ドとの対照が記述されているオペレーテイングシステム
使用文字コード一覧表と、前記第一の文字コードに対応
する前記第二の文字コードが記述されている文字コード
対照表と、前記第一の文字コードを前記文字コード対照
表により前記第二の文字コードに変換する文字コード変
換部とを備えることを特徴とする文字データ変換転送方
式。Claim 1: The first character data encoded with the first character code in the first operating system is transmitted to the second character data in the second operating system of the processing device operating on the second operating system. In a character data conversion and transfer method that converts and transfers second character data encoded with a character code, the names of the respective first and second operating systems and the respective first and second operating systems; a list of character codes used by the operating system in which a comparison with said first and second character codes corresponding to each of the characters is described, and said second character code corresponding to said first character code is described; 1. A character data conversion and transfer method, comprising: a character code comparison table; and a character code conversion section that converts the first character code into the second character code using the character code comparison table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13691291A JPH04361323A (en) | 1991-06-10 | 1991-06-10 | Character data converting and transferring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13691291A JPH04361323A (en) | 1991-06-10 | 1991-06-10 | Character data converting and transferring system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04361323A true JPH04361323A (en) | 1992-12-14 |
Family
ID=15186482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13691291A Pending JPH04361323A (en) | 1991-06-10 | 1991-06-10 | Character data converting and transferring system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04361323A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014006753A (en) * | 2012-06-26 | 2014-01-16 | Optoelectronics Co Ltd | Operation data output device, operation data output method, and program |
-
1991
- 1991-06-10 JP JP13691291A patent/JPH04361323A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014006753A (en) * | 2012-06-26 | 2014-01-16 | Optoelectronics Co Ltd | Operation data output device, operation data output method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6764011B2 (en) | Graphics code system | |
JP2003094766A (en) | System and method for recognizing tray | |
JPH04361323A (en) | Character data converting and transferring system | |
JPH04365127A (en) | Character data conversion and transfer system | |
JPH01161566A (en) | Data processing system of decentralized processing system | |
JP2607612B2 (en) | Job transfer method | |
JPS61188653A (en) | Down load control system | |
JPS62121562A (en) | Data communication system | |
JP2597457B2 (en) | Signal input device and signal input method | |
JP2757525B2 (en) | Mutual conversion system for multiple character code systems | |
JP2937641B2 (en) | Communication method between application programs | |
JP3588439B2 (en) | Communication processing device and communication processing system using data container | |
JP2596375B2 (en) | Character code conversion device and network system using the character code conversion device | |
JPH06164670A (en) | Network repeater | |
JPH0314154A (en) | Target program transfer system between computer system | |
JPH0231260A (en) | Data converting/restoring system | |
JP2003345690A (en) | System and method for network communication | |
JPH09300737A (en) | Printing system | |
JP2588214B2 (en) | Key code control device | |
JPS62237520A (en) | Printer control device | |
JPH1145216A (en) | Data processing system and data storing method | |
JPH0244841A (en) | Transparent transmission system by jca procedure | |
JPH0381852A (en) | Connection control system | |
JP2000242686A (en) | Cad device and device and method for data exchange between different kind of cads | |
Böhme | A communication service applied in a distributed data base system |