JPS6361354A - Data transmission system - Google Patents
Data transmission systemInfo
- Publication number
- JPS6361354A JPS6361354A JP20372286A JP20372286A JPS6361354A JP S6361354 A JPS6361354 A JP S6361354A JP 20372286 A JP20372286 A JP 20372286A JP 20372286 A JP20372286 A JP 20372286A JP S6361354 A JPS6361354 A JP S6361354A
- Authority
- JP
- Japan
- Prior art keywords
- data
- conversion
- host
- byte
- transmitted
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000006243 chemical reaction Methods 0.000 abstract description 35
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000010575 Pueraria lobata Nutrition 0.000 description 1
- 241000219781 Pueraria montana var. lobata Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ通信システムに係り、特に透過モード伝
送に最適なコード変換に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data communication system, and particularly to code conversion optimal for transparent mode transmission.
異なる伝送方式を持つシステムを接続するに当っては、
従来どちらか一方のシステムのプログラムを修正し、他
方に合わせた伝送方式で処理するようにしていた。なお
、この種の伝送方式に関連するものには例えば特開昭5
9−216351 、同58−185014等が挙げら
れる。When connecting systems with different transmission methods,
Previously, the program for either system was modified to process data using a transmission method suited to the other system. In addition, related to this type of transmission method, for example, Japanese Patent Application Laid-open No. 5
9-216351, 58-185014, and the like.
上記従来技術は、異なる伝送方式を持つシステムを接続
する際既存プログラムの修正が必要となり開発作業量が
多い点で問題があった。The above-mentioned conventional technology has a problem in that it requires modification of existing programs when connecting systems with different transmission methods, resulting in a large amount of development work.
本発明の目的は、異なる伝送方式を持つシステムの接続
において、既存プログラムの修正を行わず、簡易なコー
ド変換処理により異なる伝送方式を持つシステム間のデ
ータ伝送を行う手段を提供することにある。An object of the present invention is to provide a means for transmitting data between systems having different transmission methods by simple code conversion processing without modifying existing programs when connecting systems having different transmission methods.
上記目的は一方の伝送方式のデータに対して、もう一方
の伝送方式で受信可能な即ち、データと制御コードとが
正しく区別できるデータに変換した後送信し、受信側で
逆変換を行い元のデータに戻すことにより達成される。The above purpose is to convert data of one transmission method into data that can be received by the other transmission method, that is, data and control codes can be correctly distinguished, and then send it. This is accomplished by converting it back to data.
コード変換後のデータは受信側の伝送方式の制御コード
には一致しないようにされているため、データと制御コ
ードは変更しないプログラムでも−区別でき、異なる伝
送方式間のデータ送受信が可能となる。Since the data after code conversion does not match the control code of the transmission system on the receiving side, the data and control code can be distinguished even by a program that does not change them, making it possible to send and receive data between different transmission systems.
以下、本発明の詳細な説明する。 The present invention will be explained in detail below.
第1図に本発明の適用例を示す。この例ではホスト1は
非透過モードでしか伝送を行えないものである。このホ
ストが透過モードで伝送を行う端末またはホスト2との
間でデータの伝送を行う。FIG. 1 shows an example of application of the present invention. In this example, host 1 can only perform transmission in non-transparent mode. This host transmits data between it and the terminal or host 2 that performs transmission in transparent mode.
なお、透過モードとは伝送ブロックなりLE・STXで
開始し、DLE −ETXで終結し、その間のデータは
伝送制御コードと同じピットパターンが現れても制御コ
ードとして検出せずそのまま透過させることによりデー
タに任意なピットの組み合わせを許すデータ伝送方式で
ある。端末側からのデータ受信に当っては本例の場合手
順変換装置3を設け、ここでまず3バイト→4バイト変
換により透過モードデータを非透過モードのデータ即ち
、制御コードとは異なるピットパターンをもつデータに
変換して、透過モード伝送をサポートしていない手順で
ホストに伝送する。ホストでは受信したデータを4バイ
ト→3バイト変換して元の透過データに変換する。端末
へのデータ送信時には受信時と逆の変換を行う。Transparent mode is a transmission block that starts with LE/STX and ends with DLE-ETX, and the data in between is transmitted as is without being detected as a control code even if the same pit pattern as the transmission control code appears. This is a data transmission method that allows any combination of pits. In this example, when receiving data from the terminal side, a procedure conversion device 3 is provided, and here first, by converting from 3 bytes to 4 bytes, transparent mode data is converted into non-transparent mode data, that is, a pit pattern different from the control code. data and transmit it to the host using a procedure that does not support transparent mode transmission. The host converts the received data from 4 bytes to 3 bytes and converts it into the original transparent data. When sending data to a terminal, the reverse conversion is performed as when receiving data.
第2図に3バイト→4バイト変換方式を示す。Figure 2 shows a 3-byte → 4-byte conversion method.
本例では非透過モード側のコード体系をJISコードと
して説明する。変換前データが3nバイト(n=1,2
・・・)の時は、変換前のデータ6ビツト毎に先頭K
01 02ビツトを付加する方式でコード変換を行う
。“01“02ビツトを付加することにより、変換後の
データは伝送制御コードに一致しない。変換前データが
3n+2の時の、最終2バイトについては、第2図の(
11)に示すような変換を行う。即ち、最後のバイトに
は 0010 を付加する。変換前データが3n+1
の時の最終1バイトについては、第2図の(liDに示
すような変換を行う。In this example, the code system on the non-transparent mode side will be explained as a JIS code. The data before conversion is 3n bytes (n=1, 2
), the first K is added every 6 bits of data before conversion.
Code conversion is performed by adding 01 and 02 bits. By adding the "01" and "02" bits, the converted data does not match the transmission control code. For the last 2 bytes when the pre-conversion data is 3n+2, see (
Perform the conversion shown in 11). That is, 0010 is added to the last byte. Data before conversion is 3n+1
Regarding the last 1 byte at the time of , the conversion as shown in (liD in FIG. 2) is performed.
即ち、最後のバイトには 001100 を付加する
。That is, 001100 is added to the last byte.
第3図に4バイト→3バイト変換方式を示す。FIG. 3 shows a 4-byte → 3-byte conversion method.
変換前データが4n(n=1.2・・・)の時は、1バ
イト単位に透過データの先頭2ビツトを削除してコード
変換を行う。変換前データが、4n+2の時の最終2バ
イトについては、第3図の(11)に示すようなコード
変換を行う。変換前データが、4n+3の時の最終3バ
イトについては、第3図の(11Dに示すようなコード
変換を行う。When the pre-conversion data is 4n (n=1.2...), code conversion is performed by deleting the first two bits of the transparent data in units of bytes. For the last 2 bytes when the pre-conversion data is 4n+2, code conversion as shown in (11) in FIG. 3 is performed. For the last 3 bytes when the pre-conversion data is 4n+3, code conversion as shown in (11D) in FIG. 3 is performed.
第4図に変換前データ長がlバイトの時の3バイト→4
バイト変換処理の概略フローを示す。Figure 4 shows 3 bytes → 4 when the data length before conversion is l bytes.
A schematic flow of byte conversion processing is shown.
第5図に変換前データ長がlバイトの時の4バイト→3
バイト変換処理の概略フローを示す。上記フローは手順
変換装置3及びホストに追加された変換機構のプログラ
ムにより遂行される。Figure 5 shows 4 bytes → 3 when the data length before conversion is l bytes.
A schematic flow of byte conversion processing is shown. The above flow is executed by the procedure conversion device 3 and the conversion mechanism program added to the host.
はじめに第4図について説明する。伝送された電文の先
頭の制御情報中の電文長(1)を読み取り、変換回数m
と端数バイト数nを求める(101)。mが1以上であ
れば第2図(1)の処理をm回繰り返す(102)。次
にnの値を判定し、nが2なら最後のバイトに対し第2
図(11)の処理を施しく103)、nが1であれば最
後の1バイトに第2図(1++)の処理を施しく104
)、nがOであれば何もせず105のステップの処理に
移る。次のステップでは変換後のデー次に第5図につい
て説明する。First, FIG. 4 will be explained. Read the message length (1) in the control information at the beginning of the transmitted message, and calculate the number of conversions m
and the number of fractional bytes n is calculated (101). If m is 1 or more, the process in FIG. 2 (1) is repeated m times (102). Next, determine the value of n, and if n is 2, the second
The process shown in Figure (11) is applied (103), and if n is 1, the process shown in Figure 2 (1++) is applied to the last 1 byte (104).
), if n is O, nothing is done and the process moves to step 105. In the next step, the converted data will be explained with reference to FIG.
ステップ101と同様に変換回数m゛と端数バイト数n
を求める。mが1以上であれば(200)、第3図(1
)の処理をm回実行する(202)。次にnの値を判定
しく207)、nが2ならば第3図(11)の処理を行
い(203)、nが3ならば第3図(illlの処理を
行う(204)。そして、ステップ105と同様に変換
されたデータ長と変換されたデータとを他の処理機能に
渡す(205)。As in step 101, the number of conversions m゛ and the number of fractional bytes n
seek. If m is 1 or more (200), then Fig. 3 (1
) is executed m times (202). Next, the value of n is determined (207), and if n is 2, the process in Figure 3 (11) is performed (203), and if n is 3, the process in Figure 3 (illll) is performed (204). Similar to step 105, the converted data length and converted data are passed to other processing functions (205).
本発明によれば、透過モード伝送方式をサポートしてい
ないホスト計算機上で送受信データに対するコード変換
により、透過モード伝送が可能となるので、ホスト計算
機上で透過モード伝送方式をサポートする為のプログラ
ムの開発が不要となる効果がある。According to the present invention, transparent mode transmission is enabled by code conversion of transmitted and received data on a host computer that does not support the transparent mode transmission method. This has the effect of eliminating the need for development.
第1図は本発明の概要を示す図、第2図は3バイト→4
バイト変換方式を示す図、第3図は4バ1ト→4バイト
変換方式の概略フロー、第5図は4バイト→3バイト変
換方式の概略フローである。
代理人弁理士 小 川 勝 男−
第1 図
第2 図
(1)電文Lf3yta’cla>3にイト享jXtr
la力斌(7t、−12−)3バイト単注1;上會己処
理を岸見返す。
(i’+1)li長fJ*+Inc!!cJL終1バイ
htr1摸、t>X(n−1,2−)蕃3 口
4ノでイト単41に上膚己匁り里とah−r。
葛4−図
第5図
めFigure 1 shows an overview of the present invention, Figure 2 shows 3 bytes → 4 bytes.
FIG. 3 is a schematic flowchart of a 4-byte to 4-byte conversion method, and FIG. 5 is a schematic flow of a 4-byte to 3-byte conversion method. Representative Patent Attorney Katsuo Ogawa - Figure 1 Figure 2 (1) Telegram Lf3yta'cla>3
la force bin (7t, -12-) 3 bytes single note 1; review the above meeting's processing. (i'+1)li length fJ*+Inc! ! cJL end 1 by htr 1, t > Kudzu 4-Figure 5
Claims (1)
いて、一方の伝送方式上のデータに一定のピット列付与
によるデータ変換を行い、もう一方の伝送方式において
もデータとして扱えるデータとして伝送し、受側での逆
変換により所要のデータを入手することを特徴とするデ
ータ伝送方式。When interconnecting systems that use different data transmission methods, the data on one transmission method is converted by adding a certain pit string, and the data is transmitted as data that can be handled as data in the other transmission method, and the data on the receiving side is A data transmission method characterized by obtaining the required data by inversely converting the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20372286A JPS6361354A (en) | 1986-09-01 | 1986-09-01 | Data transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20372286A JPS6361354A (en) | 1986-09-01 | 1986-09-01 | Data transmission system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6361354A true JPS6361354A (en) | 1988-03-17 |
Family
ID=16478765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20372286A Pending JPS6361354A (en) | 1986-09-01 | 1986-09-01 | Data transmission system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6361354A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003072652A (en) * | 2001-09-04 | 2003-03-12 | Honda Motor Co Ltd | Loading structure for loading foldable two-wheeled vehicle on four-wheeled vehicle |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS54117604A (en) * | 1978-03-03 | 1979-09-12 | Nec Corp | Data transmission system |
-
1986
- 1986-09-01 JP JP20372286A patent/JPS6361354A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS54117604A (en) * | 1978-03-03 | 1979-09-12 | Nec Corp | Data transmission system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003072652A (en) * | 2001-09-04 | 2003-03-12 | Honda Motor Co Ltd | Loading structure for loading foldable two-wheeled vehicle on four-wheeled vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6332173B2 (en) | UART automatic parity support for frames with address bits | |
TW333730B (en) | 8 bit 6 ternary coding circuit | |
JPS6361354A (en) | Data transmission system | |
JP3252229B2 (en) | Digital data transmission system | |
JPS61188653A (en) | Down load control system | |
JPH02179046A (en) | Signal encoding system | |
JP2001154931A (en) | Secs-i-to-hsms conversion method | |
JPH02262747A (en) | Data communication system | |
JP2964817B2 (en) | Asynchronous serial data transmission method | |
JPH02224164A (en) | File transfer system | |
JP2000148216A (en) | Plant controller communication equipment | |
KR100222037B1 (en) | Text interfacing method in compact disk | |
JPS62291227A (en) | Digital data transmission system | |
JPS61253954A (en) | Communication system | |
JPS62160556A (en) | Method for transmitting object program | |
JPS63147250A (en) | Synchronizing dependent exchange control device | |
JPH0234068A (en) | Protocol converter | |
JPS6158361A (en) | Data transfer system | |
JPH01237753A (en) | System for controlling signal processing | |
JPS62247446A (en) | File transfer system | |
JPH0440919B2 (en) | ||
JPS61289740A (en) | Code transmission system | |
JPS6038956A (en) | Data transmission system | |
JPH04184651A (en) | File transfer system | |
JPH0463035A (en) | Transmission system identifying method for modem |