JPH03270347A - Mutual conversion system for plural character code systems - Google Patents
Mutual conversion system for plural character code systemsInfo
- Publication number
- JPH03270347A JPH03270347A JP2069358A JP6935890A JPH03270347A JP H03270347 A JPH03270347 A JP H03270347A JP 2069358 A JP2069358 A JP 2069358A JP 6935890 A JP6935890 A JP 6935890A JP H03270347 A JPH03270347 A JP H03270347A
- Authority
- JP
- Japan
- Prior art keywords
- code
- character code
- character
- identification information
- systems
- 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.)
- Granted
Links
Landscapes
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔目次〕
概要
産業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段(第1図)
作用
実施例
(al−実施例の説明(第2図)
山)他の実施例の説明(第3図)
fC1別の実施例の説明
発明の効果
〔概要〕
複数の文字コート体系が混在するシステムにおける文字
コード体系の相互変換方式に関し、参照テーブルを用い
なくても、端末等のコード体系を認識し、コード変換す
ることを目的とし、各々異なる文字コード体系を有する
複数の装置がコード変換部を有する中央装置に接続され
たシステムにおいて、各装置は、文字コード列にその文
字コードの文字コード体系を識別するため識別情報を付
して送信するとともに、該中央装置は、その識別情報に
より文字コード体系を認識し、該コード変換部で目的コ
ードに変換するようにした。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (Fig. 1) Working Examples (al-Description of Examples (Fig. 1) Figure 2) Mountain) Description of other embodiments (Figure 3) Description of other embodiments fC1 Effects of the invention [Summary] A reference table is provided regarding the mutual conversion method of character code systems in a system where multiple character code systems coexist. In a system in which multiple devices each having a different character encoding system are connected to a central device having a code conversion section, each device is transmits a character code string with identification information attached to it to identify the character code system of the character code, and the central unit recognizes the character code system based on the identification information, and converts the target code using the code converter. I tried to convert it to .
本発明は、複数の文字コード体系が混在するシステムに
おける文字コード体系の相互変換方式に関する。The present invention relates to a method for mutually converting character code systems in a system in which a plurality of character code systems coexist.
コンピュータシステムにおいては、種々の文字コード体
系があり、代表的なものでもASCIIコード、EBC
D I Cコード、拡張UNIXコード等がある。In computer systems, there are various character encoding systems, and the representative ones are ASCII code and EBC.
There are DIC codes, extended UNIX codes, etc.
このようなシステムにおいて、従来使用される文字コー
ド体系は統一化されていた。In such systems, the character encoding system used in the past has been standardized.
ところが近年各種のシステムの統合化の要求や各種の端
末を接続する要求か高まり、異種の文字コード体系が混
在するシステムを取らざる得なくなってきた。However, in recent years there has been an increasing demand for the integration of various systems and for connecting various terminals, and it has become necessary to adopt a system that uses a mixture of different character encoding systems.
例えば、同一メーカーの製品でも、ワークステーション
はEBCDICコードであり、パーソナルコンピュータ
はASCIIコードであり、異なるコード体系である。For example, even products from the same manufacturer have different code systems, such as workstations using EBCDIC codes and personal computers using ASCII codes.
更に異なるメーカーの端末を組み込めば、益々文字コー
ド体系が複雑となる。Furthermore, if terminals from different manufacturers are incorporated, the character encoding system becomes even more complex.
このため、異種文字コード体系間のコード変換を簡易に
できるものが望まれている。Therefore, there is a need for something that can easily convert codes between different character code systems.
従来このような異種コード体系の混在するシステムにお
いては、ホスト等の中央装置に各種のコード変換テーブ
ルを設けておき、接続される端末装置の装置名(機番)
とそのコード体系との参照テーブルを設け、端末装置か
らの送信電文に含まれる装置名から前述の参照テーブル
を参照し、コード体系を認識していた。Conventionally, in systems where different code systems coexist, various code conversion tables are provided in a central device such as a host, and the device name (machine number) of the terminal device to be connected is stored.
A reference table for the code system is provided, and the code system is recognized by referring to the reference table from the device name included in the message sent from the terminal device.
そして認識したコード体系からコード変換テーブルによ
り目的コード体系に変換していた。The recognized code system was then converted to the target code system using a code conversion table.
しかしながら従来技術では、次のような問題があった。 However, the conventional technology has the following problems.
■ 装置名とコード体系との参照テーブルを要するため
、ホストに数百〜数千という多数の端末装置が接続され
ている場合には、個々の端末の参照表を用意しなければ
ならず、その手間がかかる。■ A reference table of device names and code systems is required, so if a large number of terminal devices (hundreds to thousands) are connected to the host, a reference table for each terminal must be prepared, and the It takes time and effort.
■ 端末からの送信毎に参照テーブルを参照して、コー
ド体系を認識する必要があり、ホストのソフトウェアの
負荷が増大する。■ It is necessary to refer to a reference table and recognize the code system each time a terminal sends a message, which increases the load on the host software.
従って、本発明は、参照テーブルを用いなくても、端末
等のコード体系を認識し、コード変換することのできる
複数文字コード体系の相互変換方式を提供することを目
的とする。Therefore, an object of the present invention is to provide a method for mutually converting multiple character code systems, which can recognize the code system of a terminal or the like and convert the code without using a reference table.
第1図は本発明の原理図である。 FIG. 1 is a diagram showing the principle of the present invention.
本発明は、第1図に示すように、各々異なる文字コード
体系を有する複数の装置3.4.5.6がコード変換部
20を有する中央装置2に接続されたシステムにおいて
、各装置3.4.5.6は、文字コード列12にその文
字コードの文字コード体系を識別するため識別情Vj1
10を付して送信するとともに、該中央装置2は、その
識別情報10により文字コード体系を認識し、該コード
変換部20で目的コートに変換するようにしたものであ
る。The present invention provides a system in which a plurality of devices 3.4.5.6 each having a different character code system are connected to a central device 2 having a code converter 20, as shown in FIG. 4.5.6 includes identification information Vj1 in the character code string 12 to identify the character code system of the character code.
The central device 2 recognizes the character code system based on the identification information 10 and converts it into the target code in the code converter 20.
本発明では、各装置3.4.5.6からの送信電文1中
に、送信電文l中の文字コード列12の文字コート体系
識別情報10を付加して、各装置3.4.5.6から中
央装置2へ送信するようにし、中央装置2は識別情報1
0により文字コード体系を認識するようにしたものであ
る。In the present invention, the character encoding system identification information 10 of the character code string 12 in the transmitted message l is added to the transmitted message 1 from each device 3.4.5. 6 to the central device 2, and the central device 2 receives the identification information 1.
The character code system is recognized by 0.
このため、各装置毎のコード体系を表にしたテーブルは
中央装置2で必要なく、又テーブルを参照する手間も省
ける。Therefore, there is no need for the central device 2 to have a table listing the code system for each device, and the effort of referring to the table can also be saved.
(al−実施例の説明 第2図は本発明の一実施例構成図である。 (al-Description of Examples FIG. 2 is a configuration diagram of an embodiment of the present invention.
このシステムは、ホスト2が中継変換装置を構成し、A
SCIIコード系のシステム3と拡張UNIXN−Xコ
ードテム4と、EBCDICコード系システム5とを接
続し、これらでデータの交換を行うものである。In this system, host 2 constitutes a relay conversion device, and A
The SCII code system 3, the extended UNIXN-X code system 4, and the EBCDIC code system 5 are connected and data is exchanged between them.
このために、ホスト2は、コード変換部20として、拡
張UNIXコード(U)からEBCDICコード(E)
へのコード変換テーブル20a、ASCIIコード(A
)からEBCDICコード(E)へのコード変換テーブ
ル20b、EBCDICコード(E)からASCIIコ
ード(A>へのコード変換テーブル20c、ASCII
コード(A)から拡張UNIXコード(U)へのコード
変換テーブル20d、EBCDICコード(E)から拡
張UNIXコード(U)へのコード変換テーブル20e
、拡張UNIXコード(U)からASCIIコード(A
)へのコード変換テーブル2Ofとを有している。For this purpose, the host 2, as the code converter 20, converts the extended UNIX code (U) to the EBCDIC code (E).
code conversion table 20a, ASCII code (A
) to EBCDIC code (E) code conversion table 20b, EBCDIC code (E) to ASCII code (A> code conversion table 20c, ASCII
Code conversion table 20d from code (A) to extended UNIX code (U), code conversion table 20e from EBCDIC code (E) to extended UNIX code (U)
, extended UNIX code (U) to ASCII code (A
) to code conversion table 2Of.
各システム3.4.5からの送信電文1は、送信元、送
信先の他に第1図(B)のように、文字コード体系ID
I O1文字長さ11と、文字コード列12で構成され
る。The transmission message 1 from each system 3.4.5 has a character code system ID in addition to the source and destination as shown in Figure 1 (B).
IO1 consists of a character length of 11 and a character code string of 12.
例えば、ASCIIコード系システムシステムシステム
3CDIC系システム5るには、送信電文1の文字コー
ド体系ID10にASCIIコードを示す情報をセント
して送信する。For example, in the case of an ASCII code system 3, a CDIC system 5, information indicating an ASCII code is sent to the character code system ID10 of the transmission message 1.
ホスト2は、これを判別し、入力文字コード列をASC
IIコードと判定し、送信先情報より送信先がEBCD
ICコードと判定する。Host 2 determines this and converts the input character code string into ASC
II code, and the destination is EBCD from the destination information.
It is determined to be an IC code.
これによって、コード変換テーブル20bを用いて、A
SCIIコード系の入力文字コードをEBCDICコー
ド系の文字コードに変換し、EBCDIC系システム5
へ送信する。As a result, using the code conversion table 20b, A
Converts the input character code of the SCII code system to the character code of the EBCDIC code system, and converts it to the EBCDIC system 5.
Send to.
このようにして、多数の異種コード体系を含むシステム
において、容易にコード変換して交信できる。In this way, codes can be easily converted and communicated in a system containing a large number of different code systems.
(bl他の実施例の説明 第3図は本発明の他の実施例構成図である。(blDescription of other examples FIG. 3 is a block diagram of another embodiment of the present invention.
図中、第1図、第2図で示したものと同一のものは、同
一の記号で示してあり、ホストコンピュータ2に、EB
CDICコード系端末5、ASCIISCIIコード、
拡張UNIXN−Xコード4が接続されたシステムを示
しており、更にホストコンピュータ2には、ファイル装
置21、プリンタ22、ワークステーション23が接続
されている。In the figure, the same parts as those shown in FIGS. 1 and 2 are indicated by the same symbols, and the host computer 2
CDIC code terminal 5, ASCII SCII code,
This shows a system to which an extended UNIXN-X code 4 is connected, and a file device 21, a printer 22, and a workstation 23 are further connected to the host computer 2.
この実施例では、各端末3.4.5のデータをホストコ
ンピュータ2が受信し、処理し、ファイル21に格納し
たり、プリンタ22やワークステーション23に出力す
る例を示している。This embodiment shows an example in which the host computer 2 receives data from each terminal 3.4.5, processes it, stores it in a file 21, or outputs it to a printer 22 or workstation 23.
端末3.4.5の送信電文は、第2図の場合と同一であ
る。The message sent by terminal 3.4.5 is the same as in FIG.
ホストコンピュータ2は、各端末3.4.5の送信電文
を受信し、ファイル装置21に格納する。The host computer 2 receives the transmitted messages from each terminal 3.4.5 and stores them in the file device 21.
そして、ホストコンピュータ2は、必要な時に、ファイ
ル装置21から送信電文を取り出し、処理する。Then, the host computer 2 retrieves the transmitted message from the file device 21 and processes it when necessary.
例えば、ホストコンピュータ2が、EBCD ICコー
ド体系なら、EBCDICコード端末5からの送信電文
は、文字コード体系rD10により同一と判定され、そ
の文字コード列はそのままの形で処理される。For example, if the host computer 2 uses the EBCD IC code system, the messages sent from the EBCD IC code terminal 5 are determined to be the same based on the character code system rD10, and the character code strings are processed as they are.
又、ASCIIコード端末3、拡張UNIXコード端末
4の送信電文は、文字コード体系ID10により、AS
CIIコード、拡張UNIXコードと判定され、その文
字コード列は、コード変換テーブル20b、20aを用
いてEBCDICコードに変換されて処理され、例えば
、プリンタ22で出力される。In addition, the messages transmitted by the ASCII code terminal 3 and the extended UNIX code terminal 4 are ASCII coded according to the character code system ID10.
It is determined that the character code is a CII code or an extended UNIX code, and the character code string is converted into an EBCDIC code using the code conversion tables 20b and 20a, processed, and output by the printer 22, for example.
又、ワークステーション23の指示でホストコンピュー
タ2から端末3.4.5にデータを送信するには、ホス
ト2のBBCDICコードをコード変換テーブル20c
、20eによりASCIIコード、拡張UNIXコード
に変換し、端末3゜4へ送信し、EBCD I Cコー
ド端末5はそのまま送信する。Also, in order to send data from the host computer 2 to the terminal 3.4.5 according to instructions from the workstation 23, the BBCDIC code of the host 2 is converted to the code conversion table 20c.
, 20e convert it into an ASCII code and extended UNIX code, and send it to the terminal 3.4, and the EBCD IC code terminal 5 sends it as is.
このようにして、ホスト2への送信電文中に、コード体
系IDを含ませているので、多数の端末が接続されても
、送信電文のコード体系を簡単に認識できる。In this way, the code system ID is included in the message sent to the host 2, so even if a large number of terminals are connected, the code system of the message sent can be easily recognized.
fC1別の実施例の説明
上述の実施例では、EBCD I Cコード、ASC1
1コード、拡張UNIXコードで説明したが、その他の
各メーカーのコード体系等の他のものであってもよい。Description of another embodiment fC1 In the embodiment described above, the EBCD I C code, ASC1
1 code and extended UNIX code, other codes such as code systems of other manufacturers may be used.
又、交換システムの場合、相手先のコード体系を送信電
文に付加するようにしてもよい。Furthermore, in the case of an exchange system, the code system of the other party may be added to the transmitted message.
以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.
以上説明した様に、本発明によれば、以下の効果を奏す
る。As explained above, according to the present invention, the following effects are achieved.
■ 送信電文中に、自己のコード体系情報を付与するの
で、中央装置側で送信コードを参照テーブルなしに認識
でき、各接続装置毎のコード体系を格納する参照テーブ
ルが不要となり、多数の装置が接続されたシステムにお
けるテーブル作成作業を省略できる。■ Since the own code system information is added to the transmitted message, the central device can recognize the transmitted code without a reference table, eliminating the need for a reference table to store the code system of each connected device, and allowing multiple devices to Table creation work in connected systems can be omitted.
■ 中央装置側で直かにコード体系を認識できるので、
参照テーブルを参照しなくて済み、ソフトウェアの負荷
が楽になるとともに、高速のレスポンスが可能となる。■ The code system can be recognized directly on the central equipment side, so
There is no need to refer to the reference table, which reduces the software load and enables high-speed response.
第1図は本発明の原理図、
第2図は本発明の一実施例構成図、
第3図は本発明の他の実施例構成図である。
図中、2−中央装置(ホストコンピュータ)、3.4.
5.6−装置、
20−コード変換部。FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a block diagram of one embodiment of the present invention, and FIG. 3 is a block diagram of another embodiment of the present invention. In the figure, 2-central device (host computer), 3.4.
5.6-device, 20-code converter.
Claims (1)
4、5、6)がコード変換部(20)を有する中央装置
(2)に接続されたシステムにおいて、 各装置(3、4、5、6)は、文字コード列(12)に
その文字コードの文字コード体系を識別するため識別情
報(10)を付して送信するとともに、該中央装置(2
)は、その識別情報(10)により文字コード体系を認
識し、該コード変換部(20)で目的コードに変換する
ようにしたことを特徴とする複数文字コード体系の相互
変換方式。[Claims] A plurality of devices (3,
4, 5, 6) are connected to a central device (2) having a code converter (20), each device (3, 4, 5, 6) has its character code in the character code string (12). It is transmitted with identification information (10) to identify the character encoding system of the central device (2).
) is a mutual conversion method for multiple character code systems, characterized in that the character code system is recognized by its identification information (10), and the code converter (20) converts it into a target code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2069358A JP2757525B2 (en) | 1990-03-19 | 1990-03-19 | Mutual conversion system for multiple character code systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2069358A JP2757525B2 (en) | 1990-03-19 | 1990-03-19 | Mutual conversion system for multiple character code systems |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03270347A true JPH03270347A (en) | 1991-12-02 |
JP2757525B2 JP2757525B2 (en) | 1998-05-25 |
Family
ID=13400257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2069358A Expired - Fee Related JP2757525B2 (en) | 1990-03-19 | 1990-03-19 | Mutual conversion system for multiple character code systems |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2757525B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06326744A (en) * | 1993-05-17 | 1994-11-25 | Nec Corp | Inter-multi-vendor message communication system |
JPH0756708A (en) * | 1993-08-09 | 1995-03-03 | Nec Corp | Japanese code converting device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01132248A (en) * | 1987-11-18 | 1989-05-24 | Nec Corp | Communication control system for transmitting and receiving data between different equipment types |
-
1990
- 1990-03-19 JP JP2069358A patent/JP2757525B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01132248A (en) * | 1987-11-18 | 1989-05-24 | Nec Corp | Communication control system for transmitting and receiving data between different equipment types |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06326744A (en) * | 1993-05-17 | 1994-11-25 | Nec Corp | Inter-multi-vendor message communication system |
JPH0756708A (en) * | 1993-08-09 | 1995-03-03 | Nec Corp | Japanese code converting device |
Also Published As
Publication number | Publication date |
---|---|
JP2757525B2 (en) | 1998-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5546584A (en) | System and method for establishing communication protocols between application programs | |
JPH03270347A (en) | Mutual conversion system for plural character code systems | |
CN112183043A (en) | Online document synthesis system | |
JPS62118655A (en) | Protocol conversion integrated processing device | |
CN111160876A (en) | Internet of things identification analysis information input method based on input equipment identity | |
JP2778472B2 (en) | Data processing device | |
JPH04365127A (en) | Character data conversion and transfer system | |
JP2596375B2 (en) | Character code conversion device and network system using the character code conversion device | |
JPH0863411A (en) | Data communicating method and data communication system | |
JPH04361323A (en) | Character data converting and transferring system | |
JPH0351938A (en) | Host computer device | |
JPH0567008A (en) | Integrated office automation system | |
JPH01250123A (en) | Character data processor | |
JPH0452979B2 (en) | ||
JPS6172287A (en) | data processing equipment | |
JPH04130918A (en) | Printer sharing system in computer network | |
JPH0922371A (en) | Test data generator | |
JPS62140136A (en) | data storage device | |
JPH03176740A (en) | Source file compatibility method | |
JPH05216822A (en) | Command input system in computer | |
JPS6368892A (en) | Output display system for information processing system | |
Anderson et al. | RFC0138: Status report on proposed Data Reconfiguration Service | |
JPH0496452A (en) | Terminal communication control equipment | |
JPH032951A (en) | Information processing system | |
JPH06326744A (en) | Inter-multi-vendor message communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |