JPH0314064A - Code conversion processing system - Google Patents

Code conversion processing system

Info

Publication number
JPH0314064A
JPH0314064A JP1148829A JP14882989A JPH0314064A JP H0314064 A JPH0314064 A JP H0314064A JP 1148829 A JP1148829 A JP 1148829A JP 14882989 A JP14882989 A JP 14882989A JP H0314064 A JPH0314064 A JP H0314064A
Authority
JP
Japan
Prior art keywords
package
data
application program
code
code conversion
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
Application number
JP1148829A
Other languages
Japanese (ja)
Inventor
Youji Oomori
大森 洋嗣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1148829A priority Critical patent/JPH0314064A/en
Publication of JPH0314064A publication Critical patent/JPH0314064A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To simplify the program constitution to improve the productivity of programs by not providing each application program with a code conversion processing logic but calling a package conversion function by the application program to communicate data with another system different in code system. CONSTITUTION:At the time of data communication between respective application programs 6 and 7 of systems 2 and 3 different in code system from each other, the application program 6 calls a package conversion function 4 to request the code conversion of a package 10, and the package conversion function 4 refers to package definition information 8 to perform code conversion and returns the control to the application program 6. Thereafter, the package 10 is transmitted to a network 1 and is received by a system 3 and is processed by the application program 7. Thus, the program is simplified because it is unnecessary to execute the complicated code conversion processing.

Description

【発明の詳細な説明】 〔概 要〕 処理するデータのコード形式などが異なる様々な種類の
システムが接続されているネットワークシステムにおけ
る伝送データのコード変換処理方式に関し。
[Detailed Description of the Invention] [Summary] This invention relates to a code conversion processing method for transmission data in a network system to which various types of systems having different code formats of data to be processed are connected.

ネットワーク内でコード系の異なる他システムとデータ
のやりとりをするアプリケーションプログラムにコード
変換処理論理を組み込む必要をなくすこ゛とを目的とし
The purpose is to eliminate the need to incorporate code conversion processing logic into application programs that exchange data with other systems with different code systems within a network.

ネットワーク接続されている異種のシステム同士がデー
タをパッケージ形式で伝送する際のデータのコード変換
処理方式において、各システムはパッケージ単位にデー
タのコード変換処理を行うパッケージ変換機能をそなえ
、各システムのアプリケーションプログラムは、他の異
種のシステムとの間でデータをパッケージ形式で伝送す
る処理を行うとき、上記パッケージ変換機能を呼び出し
て、当該パッケージ形式のデータのコード変換処理を行
わせるように構成される。
In the data code conversion processing method when data is transmitted in package format between different systems connected to a network, each system is equipped with a package conversion function that performs data code conversion processing for each package, and each system's application The program is configured to call the package conversion function to perform code conversion processing for data in the package format when transmitting data in a package format between systems of different types.

〔産業上の利用分野〕[Industrial application field]

本発明は、処理するデータのコード形式などが異なる様
々な種類のシステムが接続されているネットワークシス
テムにおける伝送データのコード変換処理方式に関する
The present invention relates to a code conversion processing method for transmission data in a network system to which various types of systems having different code formats of data to be processed are connected.

〔従来の技術〕[Conventional technology]

現在世の中に存在しているシステムには、汎用大型コン
ピュータシステムやワークステーションあるいはパソコ
ンなど様々なものがあり、またそれらのシステムにおい
て使用されているコード系も、たとえばEBCIDIC
/JEFコード系やASCII ・シフトJISコード
系などまちまちである。
There are various systems that currently exist in the world, such as general-purpose large computer systems, workstations, and personal computers, and the code systems used in these systems are, for example, EBCIDIC.
There are various types such as /JEF code system, ASCII/shift JIS code system, etc.

一方、最近のようにコンピュータネットワーク化が進ん
でくると、様々なシステムをネットワークに接続し、シ
ステム相互間でデータのやりとりをする必要が生じてく
る。しかしこのような状況では、ネットワーク内の各シ
ステムが基本としているコード系は異なっていることを
前提としなければならない。
On the other hand, as computer networking has progressed in recent years, it has become necessary to connect various systems to networks and exchange data between the systems. However, in such a situation, it must be assumed that each system in the network has a different basic code system.

そこでネットワークに接続された各システムにおいて、
他システムから受信したデータを処理可能にするには、
コード変換機能をもつことが必要となる。
Therefore, in each system connected to the network,
To be able to process data received from other systems,
It is necessary to have a code conversion function.

ところで従来のコード変換機能には、1文字車位に行う
ものと、一定の文字数(n文字)の文字列単位に行うも
のとがあり、これらの機能はシステムからユーザに提供
され、ユーザや提供されたコード変換機能をモジュール
として用いてデータのコード変換を行う処理論理をアプ
リケーションプログラム内に組み込む方法をとっている
のが一般的である。
By the way, conventional code conversion functions include those that convert one character at a time, and those that convert strings of a certain number of characters (n characters).These functions are provided to the user by the system, and It is common to use a code conversion function as a module to incorporate processing logic for code conversion of data into an application program.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のネットワークシステムでは、コード系の異なる他
のシステムとデータのやりとりをしてデータ処理を行お
うとすれば、そのコード系に合ったコード変換機能を用
いた処理論理をアプリケージクンプログラムに組み込む
必要があり1本来の処理目的以外のところで煩雑な処理
を強いられるため、アプリケーションプログラムの生産
性が著しく低下するという問題があった。
In conventional network systems, if you want to process data by exchanging data with other systems with different code systems, it is necessary to incorporate processing logic using a code conversion function that matches the code system into the application program. There is a problem in that the productivity of the application program is significantly reduced because complicated processing is forced to be performed for purposes other than the original processing purpose.

本発明は、ネットワーク内でコード系の異なる他システ
ムとデータのやりとりをするアプリケーションプログラ
ムにコード変換処理論理を組み込む必要をなくすことを
目的としている。
An object of the present invention is to eliminate the need to incorporate code conversion processing logic into an application program that exchanges data with other systems with different code systems within a network.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、ネットワークに接続されているシステムに、
パッケージ単位にコード変換処理を行うパッケージ変換
機能を設け1そしてシステム内のアプリケーションプロ
グラムは、自身でコード変換処理論理をもたず1代わり
にデータのパッケージ伝送(送信あるいは受信)を行う
際にシステムのパッケージ変換機能を呼び出して1パッ
ケージデータのコード変換処理を依願するようにしたも
のである。
The present invention provides a system connected to a network,
A package conversion function is provided to perform code conversion processing on a package-by-package basis1, and the application program within the system does not have its own code conversion processing logic1.Instead, when performing data package transmission (sending or receiving), the application program in the system uses the system's The package conversion function is called to request code conversion processing for one package data.

ここにいうパッケージは、異種システムのアプリケーシ
ョンプログラム間で伝送されるデータの伝送単位となる
もので、一般には文字データやバイナリデータの文字列
を複数含み、その各文字列のデータ型はデータ伝送を行
う各アプリケーションプログラムの間の約束として定義
されているものである。
The package referred to here is a unit of data transmission between application programs of different systems, and generally contains multiple character strings of character data or binary data, and the data type of each string is determined by the data transmission. It is defined as a promise between each application program to be executed.

第1図により本発明の原理的構成を説明する。The basic structure of the present invention will be explained with reference to FIG.

第1図において。In FIG.

lはネットワークである。l is a network.

2および3は、ネットワーク1に接続されている異なる
コード系をもつシステムである。
2 and 3 are systems with different code systems connected to network 1.

4および5は、それぞれシステム2.3内に設けられて
いるパッケージ変換機能であり、パッケージ単位にデー
タのコード変換を行う。
4 and 5 are package conversion functions provided in the system 2.3, respectively, which perform code conversion of data on a package-by-package basis.

6および7は、それぞれシステム2,3におけるアプリ
ケージ式ンプログラムであり、パッケージ形式によるデ
ータ伝送を行う処理を含み、その際自システムのパッケ
ージ変換機能を呼び出して。
Reference numerals 6 and 7 are application-type programs in the systems 2 and 3, respectively, which include processing for transmitting data in a package format, by calling the package conversion function of the own system.

パッケージのコード変換処理を依頼する。Request code conversion processing for a package.

8および9は、それぞれアプリケーションプログラム6
.7に設けられたパッケージの形式やデ−タ型を定義し
たパッケージ定義情報であり、パッケージの文字列につ
いてキャラクタデータかバイナリデータかなどを指定す
る。
8 and 9 are application programs 6, respectively.
.. This is package definition information that defines the format and data type of the package provided in 7, and specifies whether the character string of the package is character data or binary data.

lOは、システム2.3のアプリケーションプログラム
6.7間で伝送されるパッケージである。
IO is a package transmitted between application programs 6.7 of system 2.3.

〔作 用〕[For production]

第1図において、コード系の異なるシステム2゜3の各
アプリケーションプログラム6.7同データのやりとり
を行う場合.送信側(書出し側)のシステムあるいは受
信側(読込み側)のシステムのいずれか一方でデータの
コード変換を行うようにする。
In Fig. 1, each application program of the system 2.3 has a different code system.6.7 When exchanging the same data. Data code conversion is performed on either the sending side (writing side) system or the receiving side (reading side) system.

たとえば送信側システムがコード変換を行うものとする
と,システム2のアプリケーションプログラム6がシス
テム3のアプリケージジンプログラムへパッケージ10
を書出す場合,アプリケーションプログラム6は,パッ
ケージ変換機能4を呼び出し.パッケージ10のコード
変換を依頼する。
For example, if the sending system performs code conversion, the application program 6 of system 2 is packaged 10 to the application program of system 3.
, the application program 6 calls the package conversion function 4. Request code conversion for package 10.

パッケージ変換機能4は.パッケージ定義情報8を参照
して.パッケージlOのデータ型にしたがってコード変
換を行い,アプリケージタンプログラム6に制御を戻す
.その後アプリケーションプログラム6は,パッケージ
10の送信を実行する.これによりパッケージ10はネ
ットワーク1へ伝送されて,システム3により受信され
,アプリケーションプログラム7により処理される.シ
ステム3からシステム2ヘバツケージ伝送を行う場合も
同様な動作が行われる。
Package conversion function 4 is. Refer to package definition information 8. Code conversion is performed according to the data type of the package IO, and control is returned to the application program 6. After that, the application program 6 executes the transmission of the package 10. The package 10 is thereby transmitted to the network 1, received by the system 3, and processed by the application program 7. A similar operation is performed when performing package transmission from system 3 to system 2.

アプリケーションプログラム6は,伝送するパッケージ
ごとにパッケージ変換機能4を1回だけ呼び出せばよく
,従来のように自分でパッケージ定義情報8を参照して
煩雑なコード変換処理を行う必要がないので,プログラ
ムが簡単になる。
The application program 6 only needs to call the package conversion function 4 once for each package to be transmitted, and there is no need to refer to the package definition information 8 and perform complicated code conversion processing by yourself as in the past. It gets easier.

〔実施例〕〔Example〕

第2図ないし第4図により本発明の詳細な説明する。 The present invention will be explained in detail with reference to FIGS. 2 to 4.

第2図は1本発明実施例によるアプリケーションプログ
ラムのコンパイル・フェーズの説明図である。
FIG. 2 is an explanatory diagram of the compile phase of an application program according to one embodiment of the present invention.

第2図において,11はソース形式のアプリケーション
プログラムAPLであり.12はコンパイル処理結果の
オブジェクト形式のアプリケーションプログラムApL
′である.また13はAPLII内に記述されている宣
言DECLであり,パッケージの形式やデータ型などを
規定する。
In FIG. 2, 11 is an application program APL in source format. 12 is an application program ApL in object format as a result of compilation processing.
'. Further, 13 is a declaration DECL written in APLII, which defines the package format, data type, etc.

14はコンパイラの1a能の宣言抽出a能P2であり,
APLIIから宣言DECLを抽出し15のパッケージ
定義情報りを生成する.パッケージ定義情報りは,パッ
ケージデータ内の複数の文字列の各々についてそれが文
字型かバイナリ型かを規定する情報をもつ。
14 is the declaration extraction a function P2 of the compiler's 1a function,
Extract the declaration DECL from APLII and generate 15 package definition information items. The package definition information has information that specifies whether each of multiple character strings in the package data is of character type or binary type.

第3図は本発明実施例によるアプリケーションプログラ
ムの実行フェーズの説明図である。
FIG. 3 is an explanatory diagram of the execution phase of the application program according to the embodiment of the present invention.

第3図において,12および15はそれぞれ第2図のコ
ンパイルフェーズで生成されたオブジェクト形式のアプ
リケーションプログラムAPUとパッケージ定義情報り
であり.他システムからのデータ読込処理を含む。
In FIG. 3, 12 and 15 are the object-format application program APU and package definition information generated in the compilation phase of FIG. 2, respectively. Includes processing to read data from other systems.

また16はパッケージ変換機能P1であり,17は他シ
ステムから受信したパッケージのコード変換前のデータ
DATAである。
Further, 16 is a package conversion function P1, and 17 is data DATA before code conversion of a package received from another system.

そして18は,パッケージ変換機能P1によりコード変
換されたデータDATA’である。
And 18 is data DATA' code-converted by the package conversion function P1.

APL′12は.他システムがらのデータ読込み処理に
おいて,パッケージ変換機能P1の呼出しくCa1l)
を行う.パッケージ変換機能P1は.APL′のパッケ
ージ定義情報りを参照し,データDATA 1 7をコ
ード変換してデータDATA′18にしてAPL′に復
帰(return)する。
APL'12 is. In the process of reading data from other systems, call the package conversion function P1 (Ca1l)
I do. The package conversion function P1 is. Referring to the package definition information of APL', data DATA 1 to 7 is converted into data DATA'18 and returned to APL'.

第4図は,第3図に示されている本発明実施例によるパ
ッケージ変換機能P1の処理フロー図である。
FIG. 4 is a processing flow diagram of the package conversion function P1 according to the embodiment of the present invention shown in FIG.

第4図において.まずパッケージ変換機能P1は第3図
のパッケージ定義情報りを参照する.なおパッケージ定
義情報りには,パッケージDATA内の複数(Nとする
)の文字列についてデータ型が文字型かバイナリ型かを
示す情報などが含まれている。
In Figure 4. First, the package conversion function P1 refers to the package definition information shown in Figure 3. Note that the package definition information includes information indicating whether the data type of a plurality of character strings (assumed to be N) in the package DATA is a character type or a binary type.

そこでDATAの第1番目の文字列のデータ型をパッケ
ージ定義情報りから読出すため、カウンタにn−1を設
定し、Dから読出した第1番目のデータ型が文字型かバ
イナリ型かを判定する。バイナリ型であった場合にはそ
の文字列についてコード変換を行わずにカウンタをn=
n+lとしまた文字型であった場合にはその文字列につ
いて所定のコード変換を行い、DATにの文字列として
出力してカウンタをn=n+1とする。
Therefore, in order to read the data type of the first character string of DATA from the package definition information, set n-1 to the counter and determine whether the first data type read from D is a character type or a binary type. do. If it is a binary type, the counter is set to n= without code conversion for that string.
If the character string is of character type, a predetermined code conversion is performed on the character string, and it is output as a character string to the DAT, and the counter is set to n=n+1.

以上の処理をDATAの順次の文字列について実行し;
n>Nとなったときに終了する。
Execute the above processing for sequential character strings of DATA;
The process ends when n>N.

なお以上の実施例ではデータ型が文字型とバイナリ型と
に区分されていたが、−船釣にはコード変換を要するも
のと要しないものとによって区分すればよい、またコー
ド系が複数ある場合にはさらにその種類に応じた切り分
けを行えばよい。
In the above embodiments, the data types were classified into character types and binary types, but for boat fishing, it is sufficient to classify them according to those that require code conversion and those that do not, and when there are multiple code systems. It is only necessary to further classify them according to their types.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、各アプリケーションプログラムはコー
ド系の異なる他システムとデータのやりとりを行うため
のコード変換処理論理を自分でもつ必要がなく、またパ
ッケージ変換機能を呼び出すのもパッケージ伝送をけう
ごとでよいため、プログラム構成が簡単になり、プログ
ラムの生産性を著しく向上させることができる。
According to the present invention, each application program does not need to have its own code conversion processing logic for exchanging data with other systems with different code systems, and the package conversion function can be called at the same time as package transmission. This simplifies the program configuration and significantly improves program productivity.

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

第1図は本発明の原理的構成図、第2図は本発明実施例
によるアプリケーションプログラムのコンパイル・フェ
ーズの説明図、第3図は本発明実施例によるアプリケー
ションプログラムの実行フェーズの説明図、第4図は本
発明実施例によるパッケージ変換機能の処理フロー図で
ある。 第1図中 l:ネットワーク 2.3=コード系の異なるシステム 4.5ニパツケージ変(桑機能 6.7=アブリケーシツンプログラム 8.9:パッケージ定義情報 10:パッケージ
FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is an explanatory diagram of the compilation phase of an application program according to an embodiment of the present invention, FIG. 3 is an explanatory diagram of the execution phase of an application program according to an embodiment of the present invention, and FIG. FIG. 4 is a processing flow diagram of the package conversion function according to the embodiment of the present invention. 1 in Figure 1: Network 2.3 = System with different code system 4.5 Nipackage change (Mulberry function 6.7 = Application program 8.9: Package definition information 10: Package

Claims (1)

【特許請求の範囲】  ネットワーク接続されている異種のシステム(2、3
)同士がデータをパッケージ形式で伝送する際のデータ
のコード変換処理方式において、各システム(2、3)
はパッケージ単位にデータのコード変換処理を行うパッ
ケージ変換機能(4、5)をそなえ、 各システムのアプリケーションプログラム(6、7)は
、他の異種のシステムとの間でデータをパッケージ形式
で伝送する処理を行うとき、上記パッケージ変換機能(
4、5)を呼び出して、当該パッケージ形式のデータの
コード変換処理を行わせるように構成されることを特徴
とするコード変換処理方式。
[Claims] Heterogeneous systems connected to a network (2, 3
) in the data code conversion processing method when transmitting data in package format, each system (2, 3)
is equipped with a package conversion function (4, 5) that performs data code conversion processing on a package-by-package basis, and the application programs (6, 7) of each system transmit data in package format with other heterogeneous systems. When processing, use the above package conversion function (
4 and 5) to perform code conversion processing for data in the package format.
JP1148829A 1989-06-12 1989-06-12 Code conversion processing system Pending JPH0314064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1148829A JPH0314064A (en) 1989-06-12 1989-06-12 Code conversion processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1148829A JPH0314064A (en) 1989-06-12 1989-06-12 Code conversion processing system

Publications (1)

Publication Number Publication Date
JPH0314064A true JPH0314064A (en) 1991-01-22

Family

ID=15461660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1148829A Pending JPH0314064A (en) 1989-06-12 1989-06-12 Code conversion processing system

Country Status (1)

Country Link
JP (1) JPH0314064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021036370A (en) * 2019-08-30 2021-03-04 富士通株式会社 Information processing system, information processing device, information processing program, and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021036370A (en) * 2019-08-30 2021-03-04 富士通株式会社 Information processing system, information processing device, information processing program, and information processing method

Similar Documents

Publication Publication Date Title
US4695977A (en) Control of real-time systems utilizing a nonprocedural language
US5088034A (en) Compiling method for determining programs to be executed parallelly by respective processors in a parallel computer which transfer data with a data identifier to other processors
EP0648354B1 (en) Method and system for implementation-independent interface specification
CN109324787A (en) A kind of business software development approach, device and terminal device
US20070245122A1 (en) Executing an Allgather Operation on a Parallel Computer
JPH06195290A (en) Method and system for access of processing procedure from remote node
JPH01201753A (en) Asn.1 information data system
CN112506676B (en) Inter-process data transmission method, computer device and storage medium
JPH0314064A (en) Code conversion processing system
US6934953B2 (en) Deferred procedure call in interface description language
JP2001014400A (en) Integrated operation system
JPS61182161A (en) Multi-processor processing system
KR100482316B1 (en) Console server method on operating system and apparatus thereof
JP2003058515A (en) Inter-processor command processor, loose coupled multi- processor device, and command processing method
JPH09245003A (en) Parallel distributed processing system and method therefor
JPH05303484A (en) Data linking system
SU1672462A1 (en) Semantic network processing unit
CN117111900A (en) Soft chip platform system for cross-platform function integration
KR960014175B1 (en) Method and apparatus for communicating running-state information in multiprocessing system
CN111416855A (en) Method and system for converting protocol data and object data
CN116414367A (en) Method, device, chip, equipment and storage medium for generating embedded software system
CN118152077A (en) Heterogeneous intelligent contract virtual machine fusion intercommunication realization method
KR930003450B1 (en) Data communication circuit between processors
JPS603751A (en) Data processing system
JPH0475140A (en) Information processor performing symbol processing and numeric value processing in parallel