JPS6050097B2 - Format conversion device - Google Patents

Format conversion device

Info

Publication number
JPS6050097B2
JPS6050097B2 JP55169298A JP16929880A JPS6050097B2 JP S6050097 B2 JPS6050097 B2 JP S6050097B2 JP 55169298 A JP55169298 A JP 55169298A JP 16929880 A JP16929880 A JP 16929880A JP S6050097 B2 JPS6050097 B2 JP S6050097B2
Authority
JP
Japan
Prior art keywords
parameters
command
header
format conversion
format
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.)
Expired
Application number
JP55169298A
Other languages
Japanese (ja)
Other versions
JPS5792954A (en
Inventor
俊男 梶原
和夫 太田
洋一 金丸
隆 細貝
昭仁 田口
剛秀 藤本
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
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Nippon Electric Co 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, Hitachi Ltd, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP55169298A priority Critical patent/JPS6050097B2/en
Publication of JPS5792954A publication Critical patent/JPS5792954A/en
Publication of JPS6050097B2 publication Critical patent/JPS6050097B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明はフォーマット変換装置に関し、詳しくは、異
なるプロトコルを持つ2つの装置が通信を行う際のコマ
ンドのフォーマットを変換する装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a format conversion device, and more particularly, to a device that converts the format of a command when two devices having different protocols communicate.

異なるプロトコル(例えばコマンドの表現形式、パラ
メータのビット構成等)を持つ2つの装・置が通信を行
う際、一方のプロトコルで規定されたコマンドのフォー
マットを他方のプロトコルで規定するコマンドのフォー
マットに変換する必要がある。
When two devices with different protocols (for example, command expression format, parameter bit configuration, etc.) communicate, the command format specified by one protocol is converted to the command format specified by the other protocol. There is a need to.

このフォーマット変換を行う場合、従来は受信したコマ
ンドのヘッダ及びパラメータを受信した順序で、逐次、
対応するコマンドのヘッダ及びパラメータに変換した後
、メモリとレジスタ等の間で読み書きを繰り返してヘッ
ダ及びパラメータを並べかえ、目的のプロトコルで規定
されるコマンドのフォーマットを得ていた。このように
、従来はフォーマット変換を行う際にコマンドのヘッダ
及びパラメータを逐次並びかえる処理を必要とし、処理
量が増すという欠点があつた。本発明はこのような従来
の欠点を解決するため、受信した一方のプロトコルで規
定されるコマンドのヘッダ及びパラメータの入力順を、
他方のプロトコルで規定されるコマンドのヘッダ及びパ
ラメータの出力順にフォーマット変換して送信する際、
受信したコマンドのヘッダ及びパラメータの格納アドレ
スを、それに上記出力順に対応した読出し順序番号を付
して一時レジスタに書き込み、次にこの順序番号順に受
信コマンドのヘッダ及びパラメータを読み出し、予め対
応付けされたフォーマット変換表から送信コマンドのヘ
ッダ及びパラメータを索引してそのま)送信するように
したものて、以下図面を用いて詳細に説明する。第1図
は、異なるプロトコルをもつ2つの装置11,12が本
発明のフォーマット変換装置13を介して通信回線14
,15で接続されている例であり、該変換装置13上で
個々のプロトコルで規定するコマンドのヘッダ及びパラ
メータのフォーマットを変換する。第2図は第1図の変
換装置13がフォーマット変換を行つている様子をシー
ケンスで示したもので、装置11を送信局、装置12を
受信局とした場合を示す。
Conventionally, when performing this format conversion, the headers and parameters of received commands are sequentially converted in the order in which they are received.
After converting into the corresponding command header and parameters, the header and parameters are rearranged by repeating reading and writing between memory and registers to obtain the command format specified by the target protocol. As described above, conventional format conversion requires processing to sequentially rearrange command headers and parameters, which has the disadvantage of increasing the amount of processing. In order to solve these conventional drawbacks, the present invention changes the input order of the header and parameters of the command specified by one of the received protocols.
When converting the format and sending the command header and parameters in the output order specified by the other protocol,
The storage address of the header and parameters of the received command is written to a temporary register with a readout order number corresponding to the above output order, and then the header and parameters of the received command are read in the order of this order number, A system in which the header and parameters of a sending command are indexed from a format conversion table and sent as they are will be described in detail below with reference to the drawings. FIG. 1 shows that two devices 11 and 12 having different protocols are connected via a communication line 14 via a format conversion device 13 of the present invention.
, 15, and the conversion device 13 converts the format of command headers and parameters defined by each protocol. FIG. 2 is a sequence diagram showing how the conversion device 13 shown in FIG. 1 performs format conversion, and shows the case where the device 11 is used as a transmitting station and the device 12 is used as a receiving station.

即ち、装置11の送信局より送信されたコマンドのヘッ
ダ及びパラメータのシーケンスA2,BO,Cl・・・
・・・は、変換装置13でCl,a2,bO−・・・・
のシーケンスにフォーマット変換され、装置12の受信
局に受信される。第3図は第1図のフォーマット変換装
置13の一実施例で、制御部100、受信バッファ10
1,103、送信バッファ102,10牡メモーリ10
5、アドレス格納レジスタ106、作業レジスタ107
,108、フォーマット変換テーブルアレイ109など
で構成される。
That is, the sequence A2, BO, Cl, . . . of the header and parameters of the command transmitted from the transmitting station of the device 11.
... is Cl, a2, bO-... in the converter 13
The format is converted into a sequence of , and received by the receiving station of the device 12 . FIG. 3 shows an embodiment of the format conversion device 13 shown in FIG.
1,103, transmission buffer 102, 10 memory 10
5. Address storage register 106, work register 107
, 108, a format conversion table array 109, and the like.

制御部100は受信バッファ101に受信されたコマン
ドを逐次メモリ105に書き込む。
The control unit 100 sequentially writes commands received in the reception buffer 101 into the memory 105.

この際、受信したコマンドのヘッダ及びパラメータA2
,BO,Cl・・・・・を格納したメモリ105上のア
ドレスX,Y,Z・・・・・・をアドレス格納レジスタ
106に、それぞれ読み出し順序を示す番号2,3,1
・・・・・を付加して格納する。この番号2,3,1・
・・・・・がフォーマット変換後のコマンドのヘッダ及
びパラメータの送信順序に対応しており、これは制御部
100において既知である。次に、制御部100はアド
レス格納レジスタ106よりアドレスを、その読出し順
序番号1,2,3・・・をたどつてZ,X,Y・・・・
・・の順に読み出して、#0、#1、#2・・・・・・
といつたように順序番号付けされた作業レジスタ107
に書き込む。一方、フォーマット変換テーブルアレイ1
09には、変換前後のコマンドのヘッダ及びパラメータ
がそれぞれAn:An..Bn:Bn..Cn:Cn・
・ (n=0、1、2・・・・・・)のように予め対応
付けられて格納されている。フォーマット変換は、制御
部100が順序番号付けされた作業レジスタ107より
アドレスZ,X,Y・・・・・・を順次読み出し、それ
ぞれに対応するヘッダ及びパラメータCl,A2,BO
・・・・をメモリ105より読み出し、さらにこれらヘ
ッダ及びパラメータCl,A2,BO・・・・・・に対
応させてフォーマット変換テーブルアレイ109より変
換後のヘッダ及びパラメータCl,a2,bO・・・・
・・を探し出し、送信バッファ102より順次送信する
ことにより行う。なお、逆変換は受信バッファ103、
作業バッファ108、送信バッファ104を使用し、上
述と全く逆の動作を行うことにより可能である。以上説
明したように、本発明によれば、フォーマット変換時、
メモリとレジスタ等を用いてコマンドのヘッダ及びパラ
メータを逐一並べかえる処理を減らすことができ、その
処理に伴い必要となるメモリ量を削減できる効果がある
At this time, the header and parameter A2 of the received command
, BO, Cl... on the memory 105 are stored in the address storage register 106 with numbers 2, 3, 1 indicating the reading order, respectively.
... is added and stored. This number 2, 3, 1・
. . . corresponds to the transmission order of the command header and parameters after format conversion, and this is known in the control unit 100. Next, the control unit 100 traces the address from the address storage register 106 and its readout order numbers 1, 2, 3, . . . Z, X, Y, .
Read out in the order of #0, #1, #2...
The work registers 107 are numbered in sequence as follows.
write to. On the other hand, format conversion table array 1
09, the header and parameters of the command before and after conversion are An:An.09, respectively. .. Bn: Bn. .. Cn:Cn・
- They are stored in a pre-corresponding manner like (n=0, 1, 2...). For format conversion, the control unit 100 sequentially reads addresses Z,
... is read from the memory 105, and the converted header and parameters Cl, a2, bO... are read from the format conversion table array 109 in correspondence with these headers and parameters Cl, A2, BO...・
. . and sequentially transmit them from the transmission buffer 102. Note that the inverse conversion is performed by the reception buffer 103,
This is possible by using the work buffer 108 and the transmission buffer 104 and performing the operation completely opposite to the above. As explained above, according to the present invention, at the time of format conversion,
It is possible to reduce the process of rearranging command headers and parameters one by one using memory, registers, etc., and the amount of memory required for this process can be reduced.

さらに本発明はコマンドのヘッダ及びパラメータのフィ
ールド長が変換前後で異なる場合も有効である。
Furthermore, the present invention is also effective when the field lengths of the command header and parameters are different before and after conversion.

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

第1図はフオオーマツト変換装置を用いたシステムの構
成例を示す図、第2図はフォーマット変換のシーケンス
例を示す図、第3図は本発明によるフォーマット変換装
置の一実施例を示す図である。 11,12・・・・・・装置、13・・・・フォーマッ
ト変換装置、14,15・・・・・通信回線、100・
・・・・・制御部、101,103・ ・・受信バッフ
ァ、102,104・ ・・送信バッファ、105・・
・・・メモリ、106・ ・・アドレス格納レジスタ、
107,108・・・・・・作業レジスタ、109・・
・・・・フォーマット変換テーブルアレイ。
FIG. 1 is a diagram showing an example of the configuration of a system using a format conversion device, FIG. 2 is a diagram showing an example of a format conversion sequence, and FIG. 3 is a diagram showing an embodiment of the format conversion device according to the present invention. . 11, 12... device, 13... format conversion device, 14, 15... communication line, 100...
... Control unit, 101, 103... Reception buffer, 102, 104... Transmission buffer, 105...
...Memory, 106...Address storage register,
107, 108...Work register, 109...
...Format conversion table array.

Claims (1)

【特許請求の範囲】[Claims] 1 異なるプロトコルを持つ第1、第2の装置が通信回
線を介してそれぞれ接続され、第1の装置より受信した
一方のプロトコルで規定されたコマンドのヘッダ及びパ
ラメータを、第2の装置に対応する他方のプロトコルで
規定されるコマンドのヘッダ及びパラメータにフォーマ
ット変換して該第2の装置へ送信するフォーマット変換
装置において、前記第1の装置より受信したコマンドの
ヘッダ及びパラメータを格納するメモリと、前記受信し
たコマンドのヘッダ及びパラメータを格納したメモリ上
の各アドレスを格納したレジスタと、変換前後のコマン
ドのヘッダ及びパラメータが予め対応付けられて格納さ
れているフォーマット変換テーブルアレイと、前記レジ
スタから前記第2の装置のプロトコルで規定されるコマ
ンドのヘッダ及びパラメータに対応する順序でアドレス
を読み出し、該各アドレスにより前記メモリ上のヘッダ
及びパラメータを順次読み出し、該読み出したヘッダ及
びパラメータに対応する変換後のヘッダ及びパラメータ
を前記フォーマット変換テーブルアレイより得て前記第
2の装置へ送信する制御部とを具備していることを特徴
とするフォーマット変換装置。
1 First and second devices with different protocols are connected via a communication line, and the header and parameters of the command specified in one protocol received from the first device are transferred to the second device. A format converting device that converts the format into a command header and parameters defined by the other protocol and transmits the converted command to the second device, a memory for storing the command header and parameters received from the first device; A register storing each address on the memory that stores the header and parameters of the received command, a format conversion table array in which the header and parameters of the command before and after conversion are stored in correspondence with each other in advance; 2. Read the addresses in the order corresponding to the command headers and parameters specified in the protocol of the device, read the headers and parameters in the memory sequentially using each address, and convert the headers and parameters corresponding to the read headers and parameters. A format conversion device comprising: a control unit that obtains a header and parameters from the format conversion table array and transmits them to the second device.
JP55169298A 1980-12-01 1980-12-01 Format conversion device Expired JPS6050097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55169298A JPS6050097B2 (en) 1980-12-01 1980-12-01 Format conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55169298A JPS6050097B2 (en) 1980-12-01 1980-12-01 Format conversion device

Publications (2)

Publication Number Publication Date
JPS5792954A JPS5792954A (en) 1982-06-09
JPS6050097B2 true JPS6050097B2 (en) 1985-11-06

Family

ID=15883919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55169298A Expired JPS6050097B2 (en) 1980-12-01 1980-12-01 Format conversion device

Country Status (1)

Country Link
JP (1) JPS6050097B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949668A (en) * 1982-09-14 1984-03-22 Toshiba Corp Data input system
JPS6162153A (en) * 1984-09-03 1986-03-31 Hitachi Ltd Software shift device between different kinds of computers
JPS6172452A (en) * 1984-09-18 1986-04-14 Nec Home Electronics Ltd Conversion method of communications system
JPS6177948A (en) * 1984-09-25 1986-04-21 Nec Corp Data processor
DE3586758T2 (en) * 1985-04-30 1993-04-22 Ibm MODEM FOR CONTROLLING A MODEM NETWORK.
JPH0640651B2 (en) * 1985-05-16 1994-05-25 株式会社東芝 Protocol conversion method
US5557798A (en) * 1989-07-27 1996-09-17 Tibco, Inc. Apparatus and method for providing decoupling of data exchange details for providing high performance communication between software processes
US5187787B1 (en) * 1989-07-27 1996-05-07 Teknekron Software Systems Inc Apparatus and method for providing decoupling of data exchange details for providing high performance communication between software processes
US5893911A (en) * 1996-04-17 1999-04-13 Neon Software, Inc. Method for defining and applying rules for message distribution for transaction processing in a distributed application
US5916307A (en) * 1996-06-05 1999-06-29 New Era Of Networks, Inc. Method and structure for balanced queue communication between nodes in a distributed computing application
CN103685419A (en) * 2012-09-21 2014-03-26 中兴通讯股份有限公司 Business processing method and apparatus

Also Published As

Publication number Publication date
JPS5792954A (en) 1982-06-09

Similar Documents

Publication Publication Date Title
JPS6050097B2 (en) Format conversion device
KR100487199B1 (en) Apparatus and method for data transmission in dma
US5701440A (en) Multi-processor system provided with bus control module
KR950009763B1 (en) A method of data transmission and synchronization between two cpu's
JP2937218B2 (en) Buffer memory management method for data link protocol controller
JPS634216B2 (en)
JPS59226540A (en) Data transmission equipment
KR100188940B1 (en) Double stac control apparatus using single memory and data transfer method
JPS6322109B2 (en)
JP3339442B2 (en) Communication processing system network
JPH0586577B2 (en)
JPH0311142B2 (en)
JPH07250102A (en) Data transmission circuit
JPS582496B2 (en) Data transfer method
JPS6165649A (en) Communication control system
JPS6142986B2 (en)
JPH03150943A (en) Communication equipment
JPH0230220A (en) Serial/parallel conversion circuit
KR20020073785A (en) Serial interface apparatus of enlarging data bandwidth
JPH0471224B2 (en)
JPH0440551A (en) Data transfer system
JPS60153047U (en) data communication equipment
JPH07110018B2 (en) Serial communication device
JPH07281997A (en) Data transfer system
KR20010061328A (en) Line board for increasing transmission speed of data