JPH04335455A - Communication system between computers of different code systems - Google Patents
Communication system between computers of different code systemsInfo
- Publication number
- JPH04335455A JPH04335455A JP3106215A JP10621591A JPH04335455A JP H04335455 A JPH04335455 A JP H04335455A JP 3106215 A JP3106215 A JP 3106215A JP 10621591 A JP10621591 A JP 10621591A JP H04335455 A JPH04335455 A JP H04335455A
- Authority
- JP
- Japan
- Prior art keywords
- code conversion
- code
- network
- computers
- function
- 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
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】この発明は異なるコード体系のコ
ンピュータ間ネットワーク通信に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to network communication between computers of different coding systems.
【0002】0002
【従来の技術】図3は従来のファイル転送アプリケーシ
ョンプログラムのコード変換処理を示す図であり、たと
えば、ファイル転送ユーティリティFTPのコード変換
処理を示すものである。図において、1はネットワーク
間データ送信をおこなうファイル転送ユーティリティF
TPであり、2はOS(オペレーティングシステム)諸
機能であり、3はTCP/IPネットワーク機能であり
、4はネットワーク機構である。2. Description of the Related Art FIG. 3 is a diagram showing code conversion processing of a conventional file transfer application program, for example, code conversion processing of a file transfer utility FTP. In the figure, 1 is a file transfer utility F that performs data transmission between networks.
TP, 2 is an OS (operating system) function, 3 is a TCP/IP network function, and 4 is a network mechanism.
【0003】次に動作について説明する。FTP1から
のネットワーク送信要求は、必要に応じてコード変換さ
れてから、OS諸機能2に通知される。次にOS諸機能
2はI/O先を判別しTCP/IPネットワーク機能3
に渡す。次いで、ネットワーク機能3において、データ
フロー制御処理を行なった後、OS諸機能2を経由して
ネットワーク機構4に渡され相手計算機に送信される。
データ受信時には逆向きの制御が行なわれFTP1にユ
ーザデータが渡された後、FTP1で必要に応じてコー
ド変換が行なわれる。Next, the operation will be explained. A network transmission request from the FTP 1 is code-converted as necessary and then notified to the OS functions 2. Next, OS functions 2 determine the I/O destination and TCP/IP network function 3
give it to Next, the network function 3 performs data flow control processing, and then passes the data via the OS functions 2 to the network mechanism 4 and transmits it to the other party's computer. At the time of data reception, reverse control is performed and after the user data is passed to FTP1, code conversion is performed in FTP1 as necessary.
【0004】0004
【発明が解決しようとする課題】従来の方式では、異な
るコード体系のコンピュータ間でのアプリケーションプ
ログラム(以下、APPという)間で通信においては、
いずれか一方で動くAPPでコード変換を行なう必要が
あった。[Problem to be Solved by the Invention] In the conventional system, communication between application programs (hereinafter referred to as APP) between computers with different code systems is
It was necessary to perform code conversion using an APP that works with either one.
【0005】この発明は、上記のような問題点を解消す
るためになされたもので、APPがコード変換を行なわ
ずに動作することを目的とする。[0005] The present invention was made to solve the above-mentioned problems, and it is an object of the present invention to enable an APP to operate without code conversion.
【0006】[0006]
【課題を解決するための手段】この発明は、ネットワー
ク機能とその上位で動作するAPPの間にコード変換機
能を追加するものであり、以下の要素を有するものであ
る。(a)他のコンピュータとの通信を制御するネット
ワーク手段、(b)ネットワーク手段を用いて他のコン
ピュータと通信を行なうとともに、コード変換指示を出
力するアプリケーションプログラム、(c)上記ネット
ワーク手段とアプリケーションプログラムの間にあって
、アプリケーションプログラムのコード変換指示により
、少なくとも通信データのコードを他のコンピュータの
コードが自己のコンピュータのコードに変換するコード
変換手段。[Means for Solving the Problems] The present invention adds a code conversion function between a network function and an APP operating above the network function, and has the following elements. (a) Network means for controlling communication with other computers; (b) Application program for communicating with other computers using the network means and outputting code conversion instructions; (c) The above network means and application program. and code converting means for converting at least the code of the communication data from the code of another computer to the code of the own computer according to a code conversion instruction of the application program.
【0007】[0007]
【作用】この発明におけるコード変換手段により、異な
るコード体系のコンピュータ間ネットワーク通信でAP
Pはコード変換仕様を指定するだけで、変換処理は行な
う必要がなくなる。[Operation] The code conversion means of the present invention enables AP
P simply specifies the code conversion specifications, and there is no need to perform conversion processing.
【0008】[0008]
実施例1.以下、この発明の一実施例を図1について説
明する。図1において、1はネットワーク間データ送信
をおこなうAPP(アプリケーションプログラム)であ
り、2はOS(オペレーティングシステム)諸機能であ
り、3はネットワーク手段の一例となるネットワークア
クセス処理を行なうネットワーク機能、5はコード変換
機能、6はコード変換テーブル、7はコード変換機能5
が変換仕様を記憶する仕様記憶部、10はコード変換手
段である。Example 1. An embodiment of the present invention will be described below with reference to FIG. In FIG. 1, 1 is an APP (application program) that performs data transmission between networks, 2 is an OS (operating system), 3 is a network function that performs network access processing, which is an example of a network means, and 5 is a network function that performs network access processing. Code conversion function, 6 is code conversion table, 7 is code conversion function 5
1 is a specification storage unit that stores conversion specifications, and 10 is code conversion means.
【0009】次にデータ送信の動作について図2に基づ
いて説明する。APP1は、ネットワークI/Oの前に
あらかじめS1でコード変換機能5に対して、システム
コールを発行してコード変換仕様を指定(コード変換テ
ーブルの選択等)する。次にS2でコード変換機能5は
、そのシステムコールで指定されたコード変換仕様を解
読する。さらにS3でコード変換機能5は、その指定を
APPの該当プロセスIDと相関して仕様記憶部7に記
憶しておく。次にネットワークI/Oが生じた場合につ
いて説明する。APP1からの送信要求はOS諸機能2
を通してネットワーク機能3に渡されネットワークI/
Oの送信要求と判別されると、S10でコード変換機能
5に通知される。ついでコード変換機能5はS11で、
そのネットワークI/Oがデータ転送を伴うかを判定し
、データ転送を伴なう場合は、S12で、仕様記憶部7
を参照し、プロセスIDに対応する変換テーブル6を用
い送信データを変換し、そのあとネットワーク機能3に
渡す。次いで、ネットワーク機能3において、データフ
ロー制御処理を行なった後、OS諸機能2を経由してネ
ットワーク機構4に渡される。Next, the data transmission operation will be explained based on FIG. 2. Before network I/O, the APP 1 issues a system call to the code conversion function 5 in S1 in advance to specify code conversion specifications (selection of a code conversion table, etc.). Next, in S2, the code conversion function 5 decodes the code conversion specification specified by the system call. Furthermore, in S3, the code conversion function 5 stores the specification in the specification storage unit 7 in correlation with the corresponding process ID of the APP. Next, a case where network I/O occurs will be explained. The transmission request from APP1 is sent to OS functions 2.
passed to network function 3 through network I/
If it is determined that the transmission request is O, the code conversion function 5 is notified in S10. Next, the code conversion function 5 is S11,
It is determined whether the network I/O involves data transfer, and if it involves data transfer, in S12, the specification storage unit 7
, converts the transmission data using the conversion table 6 corresponding to the process ID, and then passes it to the network function 3. Next, after data flow control processing is performed in the network function 3, the data is passed to the network mechanism 4 via the OS functions 2.
【0010】図3はコード変換機能が変換仕様を記憶し
ている仕様記憶部7の一例を示す図である。たとえば、
プロセスIDがAPP Xの場合は、コード変換テー
ブル1を使用し、変換方向は自己コンピュータのコード
から他コンピュータのコード1であり、ラインフィード
とキャリッジリターンは変換不要であり送信時のみ変換
することが示されている。同様に、APP Yの場合
は、コード変換、テーブル2を使用し、他コンピュータ
のコード2から自己方向への変換である、すべてのデー
タを変換し、受信のみの場合を変換することが示されて
いる。FIG. 3 is a diagram showing an example of the specification storage section 7 in which the code conversion function stores conversion specifications. for example,
If the process ID is APP It is shown. Similarly, in the case of APP Y, using code conversion table 2, it is shown that all data is converted from code 2 of another computer to the self direction, and the case of reception only is converted. ing.
【0011】なお、データ受信時には送信時とは逆向き
の制御が行なわれ、ネットワーク機能3では、APPか
受け取った受信バッファにデータを格納したあとコード
変換機能5を呼びだし送信時とは逆向きのコード変換を
行ない、そののちAPP1に受信データを渡す。[0011] When data is received, control is performed in the opposite direction to that at the time of transmission, and in the network function 3, after storing the data in the reception buffer received from the APP, the code conversion function 5 is called and control is performed in the opposite direction to that at the time of transmission. After performing code conversion, the received data is passed to APP1.
【0012】以上、この実施例では、コード体系の異な
るコンピュータ間ネットワーク通信でネットワークI/
Fプログラムとその上位で動作するAPP間にコード変
換プロトコルを追加することにより、APPがコード変
換せずに動作することを特徴とする通信方式を説明した
。As described above, in this embodiment, network I/O is used for network communication between computers with different code systems.
A communication method has been described in which a code conversion protocol is added between an F program and an APP that operates on a higher level, so that the APP operates without code conversion.
【0013】実施例2.なお、上記実施例ではネットワ
ークプロトコルが1つの場合を示したが複数の場合にも
1つのネットワーク機能で処理できる。Example 2. Note that although the above embodiment shows a case in which there is one network protocol, a single network function can also process a plurality of protocols.
【0014】実施例3.なお、上記実施例では変換テー
ブルをプロセス対応に指定したが、これをネットワーク
機能が提供する論理セッション対応に指定することもで
きる。Example 3. Note that in the above embodiment, the conversion table is specified to correspond to a process, but it can also be specified to correspond to a logical session provided by a network function.
【0015】[0015]
【発明の効果】この発明によれば、APPからコード変
換を独立させたので、APPはコード変換仕様を指定す
るだけで、変換処理は行なう必要がなくなる。According to the present invention, since code conversion is made independent from the APP, the APP only needs to specify the code conversion specifications and does not need to perform conversion processing.
【図1】この発明の一実施例による異なるコード体系の
コンピュータ間ネットワーク通信におけるコード変換処
理を示す図。FIG. 1 is a diagram showing code conversion processing in network communication between computers using different code systems according to an embodiment of the present invention.
【図2】この発明のフローチャートを示す図。FIG. 2 is a diagram showing a flowchart of the present invention.
【図3】この発明の仕様記憶部の一例を示す図。FIG. 3 is a diagram showing an example of a specification storage unit of the present invention.
【図4】異なるコード体系のコンピュータ間ネットワー
ク通信における従来のコード変換処理を示す図。FIG. 4 is a diagram showing conventional code conversion processing in network communication between computers using different code systems.
1 ネットワークアクセスを行なうAPP2 ネッ
トワーク機能
3 OS諸機能
4 ネットワーク機構
5 コード変換機能
6 コード変換テーブル
7 仕様記憶部
10 コード変換手段1 APP for network access 2 Network function 3 OS functions 4 Network mechanism 5 Code conversion function 6 Code conversion table 7 Specification storage unit 10 Code conversion means
Claims (1)
のコンピュータ間通信方式(a)他のコンピュータとの
通信を制御するネットワーク手段、(b)ネットワーク
手段を用いて他のコンピュータと通信を行なうとともに
、コード変換指示を出力するアプリケーションプログラ
ム、(c)上記ネットワーク手段とアプリケーションプ
ログラムの間にあって、アプリケーションプログラムの
コード変換指示により、少なくとも通信データのコード
を他のコンピュータのコードか自己のコンピュータのコ
ードに変換するコード変換手段。Claim 1: An inter-computer communication system with different code systems having the following elements: (a) network means for controlling communication with other computers; (b) communication with other computers using the network means; (c) an application program that outputs code conversion instructions; (c) located between the network means and the application program; converts at least the code of communication data into code of another computer or code of its own computer according to the code conversion instruction of the application program; Code conversion means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3106215A JPH04335455A (en) | 1991-05-13 | 1991-05-13 | Communication system between computers of different code systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3106215A JPH04335455A (en) | 1991-05-13 | 1991-05-13 | Communication system between computers of different code systems |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04335455A true JPH04335455A (en) | 1992-11-24 |
Family
ID=14427932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3106215A Pending JPH04335455A (en) | 1991-05-13 | 1991-05-13 | Communication system between computers of different code systems |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04335455A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09171490A (en) * | 1995-12-20 | 1997-06-30 | Nippon Telegr & Teleph Corp <Ntt> | Information relay method and device |
| JP2008204450A (en) * | 2008-02-08 | 2008-09-04 | Mitsubishi Electric Corp | Data processing device |
-
1991
- 1991-05-13 JP JP3106215A patent/JPH04335455A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09171490A (en) * | 1995-12-20 | 1997-06-30 | Nippon Telegr & Teleph Corp <Ntt> | Information relay method and device |
| JP2008204450A (en) * | 2008-02-08 | 2008-09-04 | Mitsubishi Electric Corp | Data processing device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7568030B2 (en) | Monitoring thread usage to dynamically control a thread pool | |
| US4914619A (en) | Apparatus and method for interconnecting an application of a transparent services access facility to remote source | |
| JPH11312151A (en) | Fast distributed object request broker | |
| US20050138638A1 (en) | Object request broker for accelerating object-oriented communications and method | |
| US8176117B2 (en) | Accelerator for object-oriented communications and method | |
| JPH06301655A (en) | Distributed processing system | |
| JPS62121562A (en) | Data communication system | |
| JPH04274535A (en) | System for accessing file on plural operating systems | |
| JPS61191140A (en) | Communication system for local network | |
| JPH03265945A (en) | Data sharing system for operating systems of different types | |
| JPS615361A (en) | Communication interface circuit | |
| JP3307331B2 (en) | Network file system data transfer method | |
| JP2000148216A (en) | Plant controller communication device | |
| KR0143742B1 (en) | Data Communication Method for Multiprocessing System | |
| JPH0351938A (en) | Host computer device | |
| JPH08123754A (en) | Data conversion system for remote procedure call processing | |
| JPH0342765A (en) | Decentralized processor | |
| JPH0623961B2 (en) | Data transfer method | |
| JPS6326905B2 (en) | ||
| Demjanenko | THE DESIGN AND IMPLEMENTATION OF AN OPERATING SYSTEM EXTENSION FOR A DEVICE ACCESS NETWORK. | |
| JPH0795338A (en) | Facsimile system | |
| JPH0830532A (en) | Communication identification method | |
| JPH0381852A (en) | Connection control system | |
| JPH04320557A (en) | Network application library | |
| JPH0399358A (en) | Computer system |