JPS6337735A - Data conversion system in communication processor - Google Patents

Data conversion system in communication processor

Info

Publication number
JPS6337735A
JPS6337735A JP61181258A JP18125886A JPS6337735A JP S6337735 A JPS6337735 A JP S6337735A JP 61181258 A JP61181258 A JP 61181258A JP 18125886 A JP18125886 A JP 18125886A JP S6337735 A JPS6337735 A JP S6337735A
Authority
JP
Japan
Prior art keywords
data
conversion
data conversion
converted
definition information
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
JP61181258A
Other languages
Japanese (ja)
Inventor
Iwao Maruyama
丸山 巌
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61181258A priority Critical patent/JPS6337735A/en
Publication of JPS6337735A publication Critical patent/JPS6337735A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To cope with the alteration of a connection line and a control procedure by modifying a data conversion table by storing data after conversion in a storage area for converted data which is specified with data conversion definition information. CONSTITUTION:A communication control part 2 stores received data temporarily in a storage part 4 for data to be converted, registers conversion definition information including the base address of the data conversion table 5 where the storage start address of the data storage part 4, the number of characters, the storage start address of the storage part 6, and a conversion method to be applied to the data to be converted are registered, and then starts a conversion processing part 1. The conversion processing part reads the data to be converted, character by character, based on corresponding information read out of a data conversion definition information storage part 3 to convert or delete codes or perform data conversion including the addition of a specific code according to the data conversion table, and stores the converted data in the storage area for the converted data specified by the data conversion definition information.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野 本発明はホストコンピュータと通信回線との間に設置さ
れる通信処理装置内で使用されるデータ変換方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data conversion method used within a communication processing device installed between a host computer and a communication line.

従来の技術 ホストコンピュータと端末装置とを通信回線で接続して
構成するデータ処理システムでは、ホストコンピュータ
と通信回線との間に通信処理装置が設置される。
2. Description of the Related Art In a data processing system configured by connecting a host computer and a terminal device via a communication line, a communication processing device is installed between the host computer and the communication line.

この通信処理装置の機能の一つとして、通信回線からの
受信データに対するコード変換、時間整合文字等所定の
文字の削除や、ホストコンピュータからの送信データに
対するコード変換や無手順端末で必要になる時間整合文
字の付加などのデータ変換機能がある。
One of the functions of this communication processing device is code conversion for data received from a communication line, deletion of predetermined characters such as time matching characters, code conversion for data sent from a host computer, and time required for non-procedural terminals. It has data conversion functions such as adding matching characters.

従来、上記データ変換機能は、回線接続部など回線との
インタフェース部においてハードウェア的に実現されて
いる。
Conventionally, the data conversion function has been realized in hardware in an interface section with a line, such as a line connection section.

発明が解決しようとする問題点 上記従来の通信処理装置内のデータ変換方式では、デー
タ変換機能を回線とのインタフェース部においてハード
ウェア的に実現しているため、収容回線の変更や制御手
順の変更などに柔軟な対応ができないという問題がある
Problems to be Solved by the Invention In the conventional data conversion method in the communication processing device described above, the data conversion function is implemented in hardware at the interface with the line, so it is difficult to change the accommodated line or change the control procedure. There is a problem that it is not possible to respond flexibly to such matters.

発明の構成 問題点を解決するための手段 本発明に係わる通信処理装置内のデータ変換方式によれ
ば、変換対象データの格納領域及び文字数の指定、変換
済みデータの格納領域の指定並びにデータ変換テーブル
格納領域の指定を含むデータ変換定義情報が書込まれる
領域と、所定のデータ変換方法が登録されるデータ変換
テーブルと、データ変換処理部と、上記データ変換定義
情報の領域に対応の情報を書込んだのちデータ変換処理
部を起動する通信制御部とが主記憶装置内に設けられる
According to the data conversion method in the communication processing device according to the present invention, it is possible to specify the storage area and number of characters for data to be converted, specify the storage area for converted data, and use a data conversion table. Corresponding information is written in an area in which data conversion definition information including storage area specification is written, a data conversion table in which a predetermined data conversion method is registered, a data conversion processing section, and an area for the above data conversion definition information. A communication control unit is provided in the main storage device to start the data conversion processing unit after the data is input.

上記データ変換処理部は、通信制御部によって起動され
ると、上記データ変換定義情報の格納領域から読出した
対応の情報に基づき変換対象のデータを一文字ずつ読込
み、上記データ変換テーブルに従ってコード変換、削除
、又は所定コードの付加を含むデータ変換を行い、変換
済みデータを上記データ変換定義情報で指定された変換
済みデータの格納領域に格納するデータ変換処理を実行
することにより、接続回線や制御手順の変更などに対し
データ変換テーブルの変更による柔軟な対応を可能とす
るように構成されている。
When activated by the communication control unit, the data conversion processing unit reads data to be converted character by character based on the corresponding information read from the storage area of the data conversion definition information, and performs code conversion and deletion according to the data conversion table. , or by performing data conversion processing that includes adding a predetermined code and storing the converted data in the converted data storage area specified by the data conversion definition information above, the connection lines and control procedures can be improved. It is configured to enable flexible response to changes by changing the data conversion table.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1図は本発明の一実施例のデータ変換方式の方式概念
図であり、lは変換処理部、2は通信制御部、3は変換
定義情報格納部、4は変換対象データ格納部、5はデー
タ変換テーブル、6は変換済みデータ格納部であり、こ
れらはすゝてホストコンピュータと各回線との間に設置
される通信制御装置内の主記憶上に設けられている・変
換処理部1は、変換対象データ読込み部11と・変換部
12と、変換済みデータ登録部13ととから構成されて
いる。
Embodiment FIG. 1 is a conceptual diagram of a data conversion method according to an embodiment of the present invention, where l is a conversion processing section, 2 is a communication control section, 3 is a conversion definition information storage section, and 4 is a conversion target data storage section. , 5 is a data conversion table, and 6 is a converted data storage unit, all of which are provided on the main memory in the communication control device installed between the host computer and each line. 1 includes a conversion target data reading section 11, a conversion section 12, and a converted data registration section 13.

まず、通信制御部2は、通信回線や端末装置からの受信
データ、あるいはホストコンピュータからの送信データ
を変換対象データ格納部4に一旦格納する。次に通信制
御部2は、変換対象データ格納部4の格納開始アドレス
及び文字数、変換済みデータを格納するための変換済み
データ格納部6の格納開始アドレス、並びに、変換対象
データに適用すべき変換方法が登録されているデータ変
換テーブル5のベースアドレスを含む変換定義情報をそ
の格納部3に登録したのち、変換処理部1を起動する。
First, the communication control unit 2 temporarily stores received data from a communication line or terminal device, or transmitted data from a host computer in the conversion target data storage unit 4. Next, the communication control unit 2 determines the storage start address and number of characters of the conversion target data storage unit 4, the storage start address of the converted data storage unit 6 for storing the converted data, and the conversion to be applied to the conversion target data. After registering the conversion definition information including the base address of the data conversion table 5 in which the method is registered in the storage section 3, the conversion processing section 1 is activated.

データ変換テーブル5には、変換対象のデータごとにコ
ード変換、削除、所定コードの付加のいずれを行うかの
指示、コード変換であれば変換すべきコード、コード付
加であれば付加すべき所定コードや文字数などが予め登
録されている。このデータ変換テーブルは、一般に、異
なる形式の制御手順や端末装置ごとに複数準備され、ど
のデータ変換テーブルを使用するかは、その格納先頭ア
ドレスによって通信制御部2が指定する。
The data conversion table 5 includes instructions for code conversion, deletion, or addition of a predetermined code for each data to be converted, a code to be converted in the case of code conversion, and a predetermined code to be added in the case of code addition. and the number of characters are registered in advance. Generally, a plurality of data conversion tables are prepared for each different type of control procedure or terminal device, and the communication control unit 2 specifies which data conversion table to use based on its storage start address.

通信制御部2から起動された変換処理部lは、まず変換
対象データ読込み部1を起動する。起動された変換対象
データ読込み部1は、第2図のフローチャートに例示す
る手順のデータ読込み処理を開始する。
The conversion processing unit l activated by the communication control unit 2 first activates the conversion target data reading unit 1. The activated conversion target data reading unit 1 starts data reading processing according to the procedure illustrated in the flowchart of FIG.

まず、変換対象データ読込み部2は、ステップ21で変
換定義情報格納領域3から齋換対象データ格納部4の格
納開始アドレスを読込んだのち、次のステップ22に進
み、これに変換済みデータの文字数分のアドレスを加算
することにより新たな読込み対象データのアドレスを求
める。変換対象データ読込み部2は、次のステップ23
に進み、新たな読込み対象データの格納アドレスから対
応の文字を読込んだのち、ステップ24に進み・変換部
2を起動して変換対象データを渡し、データ読込み処理
を終了する。
First, in step 21, the conversion target data reading unit 2 reads the storage start address of the conversion target data storage unit 4 from the conversion definition information storage area 3, and then proceeds to the next step 22, in which the converted data is loaded. The address of the new data to be read is determined by adding the addresses for the number of characters. The conversion target data reading unit 2 performs the next step 23.
After reading the corresponding character from the storage address of the new data to be read, the process advances to step 24, activating the converting section 2, passing the data to be converted, and terminating the data reading process.

なお、変換対象データ読込み部2は、ステップ22にお
いて、変換済みデータの文字数が変換定義情報格納部3
内に登録されている変換対象データの文字数を超えると
判定した場合には、ステップ25に進み、変換処理の終
了を通信制御部2に通知して変換処理を全て終了する。
Note that, in step 22, the conversion target data reading unit 2 determines that the number of characters of the converted data is equal to the number of characters in the conversion definition information storage unit 3.
If it is determined that the number of characters exceeds the number of characters of the conversion target data registered in the conversion target data, the process proceeds to step 25, where the communication control unit 2 is notified of the end of the conversion process and the entire conversion process is ended.

変換部12は、変換対象データ読込み部11から起動さ
れると、第3図のフローチャートに例示する手順の変換
処理を開始する。
When the conversion unit 12 is activated by the conversion target data reading unit 11, it starts conversion processing according to the procedure illustrated in the flowchart of FIG.

まず、変換部12は、最初のステップ31において、変
換定義情報格納部3に登録されているデータ変換テーブ
ルのベースアドレスを読込んだのち、次のステップ32
に進み、変換対象データ読込み部11から渡された変換
対象データのコードに対応する処理種別などの対応情報
をデータ変換テーブル5から読込む。次に、変換部12
は、ステップ33に進んで処理種別を判定し、コード変
換処理であればステップ34に進み、変換後のコードを
取得したのちステップ36に進み、変換済みデータ登録
部13を起動して変換後のコードを渡し、変換処理を終
了する。
First, in the first step 31, the conversion unit 12 reads the base address of the data conversion table registered in the conversion definition information storage unit 3, and then in the next step 32.
Then, correspondence information such as the processing type corresponding to the code of the conversion target data passed from the conversion target data reading unit 11 is read from the data conversion table 5. Next, the converter 12
, the process proceeds to step 33 to determine the processing type, and if it is code conversion processing, proceeds to step 34, obtains the converted code, and then proceeds to step 36, starts the converted data registration unit 13, and processes the converted data. Pass the code and finish the conversion process.

一方、変換部12は、処理種別が所定文字コードの付加
であればステップ33からステップ35に進み、付加す
べき文字コードと文字数を取得したのち変換済みデータ
登録部36を起動し、付カロすべき文字コードと文字数
を渡して変換処理を終了する。また、変換部12は、処
理種別が文字コードの削除であればステップ33からス
テ、ブ37に進み、データ読込み部1を起動して変換処
理を終了する。
On the other hand, if the processing type is addition of a predetermined character code, the conversion unit 12 proceeds from step 33 to step 35, acquires the character code and number of characters to be added, starts the converted data registration unit 36, and adds the predetermined character code. Pass the character code and number of characters to complete the conversion process. Further, if the processing type is character code deletion, the conversion unit 12 proceeds from step 33 to step 37, starts the data reading unit 1, and ends the conversion process.

変換済みデータ登録部13は、変換部12によって起動
されると、第4図のフローチャートに例示する手順のデ
ータ登録処理を開始する。
When the converted data registration unit 13 is activated by the conversion unit 12, it starts data registration processing according to the procedure illustrated in the flowchart of FIG.

まず、変換済みデータ登録部13は、最初のステップ4
1において、変換定義情報格納領域3から変換済みデー
タ格納部6の先頭アドレスを読込んだのち、ステップ4
2に進み、格納先頭アドレスに登録済み文字数分のアド
レスを加算することにより新たな変換済みデータの格納
アドレスを算出する。変換済みデータ登録部13は、次
のステップ43に進み、新たな変換済みデータの格納ア
ドレスに対応の変換済みデータを格納する。最後に、ス
テップ44で変換対象データ読込み部11が起動され、
変換済みデータの登録処理が終了する。
First, the converted data registration unit 13 performs the first step 4.
1, the start address of the converted data storage section 6 is read from the conversion definition information storage area 3, and then step 4
Proceeding to step 2, a new storage address for the converted data is calculated by adding the address for the number of registered characters to the storage start address. The converted data registration unit 13 proceeds to the next step 43 and stores the corresponding converted data at the new converted data storage address. Finally, in step 44, the conversion target data reading unit 11 is activated,
The registration process of converted data ends.

上記動作が変換対象の文字数分繰り返されることにより
、変換処理部1によるデータ変換処理が終了する。
The data conversion process by the conversion processing unit 1 is completed by repeating the above operation for the number of characters to be converted.

発明の効果 以上詳細に説明したように、本発明のデータ変換方式は
、データ変換を通信処理装置内のデータ変換処理部で集
中的に実行する構成であるから、回線インタフェース部
などにおいてハードウェア的に行う従来方式と異なり、
制御手順や収容回線の変更に対しデータ変換テーブルの
変更により柔軟に対応できる。
Effects of the Invention As explained in detail above, the data conversion method of the present invention has a configuration in which data conversion is executed centrally in the data conversion processing unit in the communication processing device, so there is no need for hardware in the line interface unit, etc. Unlike the conventional method,
It is possible to flexibly respond to changes in control procedures and accommodation lines by changing the data conversion table.

また、各回線とのインタフェース部において分散してデ
ータ変換を行う従来方式に比べて、集中化に伴うコスト
低減を実現できる利点もある。
In addition, compared to the conventional method in which data conversion is performed in a distributed manner at the interface with each line, there is also the advantage that costs can be reduced due to centralization.

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

第1図は本発明の一実施例に係わる通信処理装置におけ
るデータ変換方式の方式概念図、第2図乃至第4図は第
1図の変換処理部1の各部の処理手順を例示するフロー
チャートである。 l・・変換処理部、2・・通信制御部、3・・変換定義
情報格納部、4・・変換対象データ格納部、5・・デー
タ変換テーブル、6・・変換済みデータ格納部、11・
・変換対象データ読込み部、12・・変換部、13・・
変換済みデータ登録部。
FIG. 1 is a conceptual diagram of a data conversion method in a communication processing device according to an embodiment of the present invention, and FIGS. 2 to 4 are flowcharts illustrating processing procedures of each part of the conversion processing unit 1 of FIG. 1. be. 1. Conversion processing unit, 2. Communication control unit, 3. Conversion definition information storage unit, 4. Conversion target data storage unit, 5. Data conversion table, 6. Converted data storage unit, 11.
- Conversion target data reading section, 12... Conversion section, 13...
Converted data registration section.

Claims (1)

【特許請求の範囲】 ホストコンピュータと通信回線との間に設置される通信
処理装置において、 変換対象データの格納領域及び文字数の指定、変換済み
データの格納領域の指定並びにデータ変換テーブル格納
領域の指定を含むデータ変換定義情報が書込まれる領域
と、所定のデータ変換方法が登録されるデータ変換テー
ブルと、データ変換処理部と、前記データ変換定義情報
の格納領域に対応の情報を書込んだのちデータ変換処理
部を起動する通信制御部とを主記憶装置内に備え、前記
データ変換処理部は、通信制御部によって起動されると
、前記データ変換定義情報の格納領域から読出した対応
の情報に基づき変換対象のデータを一文字ずつ読込み、
前記データ変換テーブルに従ってコードの変換、削除又
は所定コードの付加を含むデータ変換を行い、変換済み
データを上記データ変換定義情報で指定された変換済み
データの格納領域に格納するデータ変換処理を実行する
ことを特徴とする通信処理装置内のデータ変換方式。
[Scope of Claims] In a communication processing device installed between a host computer and a communication line, specifying a storage area and number of characters for data to be converted, specifying a storage area for converted data, and specifying a data conversion table storage area. After writing the corresponding information into the area where the data conversion definition information containing is written, the data conversion table where the predetermined data conversion method is registered, the data conversion processing section, and the storage area of the data conversion definition information, and a communication control section for activating the data conversion processing section in the main storage device, and when the data conversion processing section is activated by the communication control section, the data conversion processing section converts the data into the corresponding information read from the storage area of the data conversion definition information. Read the data to be converted character by character based on the
Perform data conversion including code conversion, deletion, or addition of a predetermined code according to the data conversion table, and execute data conversion processing to store the converted data in the converted data storage area specified by the data conversion definition information. A data conversion method within a communication processing device, characterized in that:
JP61181258A 1986-07-31 1986-07-31 Data conversion system in communication processor Pending JPS6337735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61181258A JPS6337735A (en) 1986-07-31 1986-07-31 Data conversion system in communication processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61181258A JPS6337735A (en) 1986-07-31 1986-07-31 Data conversion system in communication processor

Publications (1)

Publication Number Publication Date
JPS6337735A true JPS6337735A (en) 1988-02-18

Family

ID=16097555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61181258A Pending JPS6337735A (en) 1986-07-31 1986-07-31 Data conversion system in communication processor

Country Status (1)

Country Link
JP (1) JPS6337735A (en)

Similar Documents

Publication Publication Date Title
JPS6337735A (en) Data conversion system in communication processor
JPH04293106A (en) Remote diagnostic device of numerical controller
JPS5953579B2 (en) character compression device
JP2665016B2 (en) Code conversion method
JPS59178543A (en) Communication controlling device which can execute relative-address-formed program
JPS6134620A (en) Inputting method to computer
JPH0197663A (en) Compression of font data
JPH01171053A (en) Terminal device control system
JPS59186048A (en) Microprogram control system
JPH0736594A (en) Signal input device and signal input method
JPS6260033A (en) Microprocessor control system
JPH031224A (en) Input/output system
EP0280523A2 (en) Computer system conversion apparatus
JPH07152858A (en) Method and system for management of character recognition ofplurality of document format images with common data type
JPH06168074A (en) Common ionput/output device
JPS6142986B2 (en)
JPS5922134A (en) Printer device
JPS6339037A (en) Program call processing system
JPS61253577A (en) Japanese word processing filter
JPH0567035A (en) Data alignment system for dma transfer
JPS62118385A (en) Extra character pattern load system
JPS6186859A (en) Bus selector
JPH1027153A (en) Bus transfer device
Sewell Diskomania: a small-system floppy disk operating system
JPS6115452B2 (en)