[go: up one dir, main page]

JPS62160835A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPS62160835A
JPS62160835A JP61002510A JP251086A JPS62160835A JP S62160835 A JPS62160835 A JP S62160835A JP 61002510 A JP61002510 A JP 61002510A JP 251086 A JP251086 A JP 251086A JP S62160835 A JPS62160835 A JP S62160835A
Authority
JP
Japan
Prior art keywords
data
block
transmission
oriented
length
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
JP61002510A
Other languages
Japanese (ja)
Inventor
Yoshihiro Mori
義博 森
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61002510A priority Critical patent/JPS62160835A/en
Publication of JPS62160835A publication Critical patent/JPS62160835A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To decrease the overhead and to make the processing efficient by managing a data block depending on a data length and applying transmission control by timeout. CONSTITUTION:When a data converter 6 receives a data 3 by one packet, a data block length 1, a status 2 and a block check data 4 are added and the result is sent to a PC 8. At the transmission, the transmission time interval between character units of data is specified as T1 or below. The PC 8 receives all data at a data interval T2 or below, a block data reception end notice is applied to a converter 6 within a set time T3. After the converter 6 completes the sending of a data block, when the converter 6 receives the data reception completion notice within a time T4, the transmission of next data block is started.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はビット指向形のデータブロックをキャラクタ
指向形伝送路上で伝送するキャラクタ指向形のデータ伝
送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character-oriented data transmission system for transmitting bit-oriented data blocks on a character-oriented transmission path.

〔従来の技術〕[Conventional technology]

従来、キャラクタ指向形のデータ伝送路で、ビット指向
形データを伝送するキャラクタ指向形伝送方式は、第4
図に示されるB S C(BinarySynchro
nous Communication  ; 2進デ
一タ同期通信)のトランスペアレントモードのように特
別な制御キャラクタを用いてコ°−ドフリーなデータ伝
送を行なっていた。第4図において、9,11はあとに
続く一定数の連続したキャラクタの意味をかえるための
D L E (Data Link Escape ;
伝送制御拡張)などの制御キャラクタ、10はテキスト
に先行し、ヘディングを終結するために用いられるスタ
ートオブテキスト(STX;テキスト13n始)、12
はテキストを終結する伝送制御キャラクタであるエンド
オブテキスト(ETXiテキスト終結)であり、3はビ
ット指向形データである。
Conventionally, the character-oriented transmission method that transmits bit-oriented data using a character-oriented data transmission path is
The BSC (Binary Synchro) shown in the figure
Code-free data transmission was performed using special control characters, such as the transparent mode of nous communication (binary data synchronous communication). In FIG. 4, 9 and 11 are D L E (Data Link Escape;
Control characters such as Transmission Control Extensions (10) precede the text and are used to terminate headings, such as Start of Text (STX; beginning at text 13n), 12
is an end of text (ETXi text termination), which is a transmission control character that terminates text, and 3 is bit-oriented data.

従来のキャラクタ指向形伝送方式のトランスペアレント
モードは上記のようにl3SCの拡張モードで、BSC
の手順と全く同し動作を行ないながらデータのみをビッ
ト指向形データで伝送することを可能としたものである
。すなわち、BSCの制御コードにすべてDLEを付加
し、これを正規の制御コードとしてデータ伝送を行なう
と制御キャラクタであるスタートオフ゛テニトスl−1
0(第4図の5TX)と同一のビットパターンのデータ
を伝送することができるようになる。また制御キャラク
タ11のようにビット指向形データ中にその制御キャラ
クタ11と同じパターンのデータが表れた時は、制御キ
ャラクタ9を余分に付加してデータであることを表す。
The transparent mode of the conventional character-oriented transmission system is an extended mode of the I3SC as described above, and the BSC
This makes it possible to transmit only data as bit-oriented data while performing exactly the same operation as the procedure described in . In other words, if DLE is added to all BSC control codes and data is transmitted using this as a regular control code, the start-off character, which is a control character, is
It becomes possible to transmit data with the same bit pattern as 0 (5TX in FIG. 4). When data having the same pattern as the control character 11 appears in bit-oriented data, an extra control character 9 is added to represent the data.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来のキャラクタ指向形伝送方式の手順は
伝送制御をしながら伝送する全データの内容を常に監視
し、それがDLEかどうかをチェックしなければならず
、データ変換器とデータ処理装置など2装置間のデータ
伝送のような場合はあまりにもオーハーヘソド(むだ時
間)が大きくなり過ぎ、処理の効率が低下するという問
題点があった。
The procedure of the conventional character-oriented transmission method described above requires that the content of all data to be transmitted be constantly monitored while controlling the transmission, and that it be checked whether it is DLE or not. In cases such as data transmission between two devices, there is a problem in that the dead time (dead time) becomes too large and processing efficiency decreases.

この発明は上記のような問題点を解消するためなされた
もので、小さなオーバーヘッドでデータ伝送が可能なデ
ータ伝送方式を得ることを目的とする。
The present invention was made to solve the above-mentioned problems, and an object of the present invention is to obtain a data transmission method that allows data transmission with small overhead.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るデータ伝送方式は、ビ・7ト指向形デー
タのデータブロックに、データの長さを示すデータブロ
ック長のデータを付加し、伝送制御の受信時、該データ
ブロック長のデータに基づいて設定された受信最長時間
によりキャラクタ指向形データ送出後のビット指向形デ
ータを伝送制御するものである。
The data transmission method according to the present invention adds data with a data block length indicating the data length to a data block of bit-oriented data, and when receiving a transmission control, the data is based on the data with the data block length. The transmission of the bit-oriented data after the character-oriented data is transmitted is controlled based on the maximum reception time set.

〔作用〕[Effect]

この発明におけるキャラクタ指向形伝送方式の伝送制御
は受信したパケットを1つのデータブロックとし、その
データブロックの前にブロックデータ長のデータと送受
信ステータス、後にブロックチェックデータを付加して
キャラクタ指向形データ送出後送路し、これらの受信時
、送出データ間隔の最大値と、データ送出後のデータ処
理装置からの受信完了通知の受信までの時間の最大値を
規定するので、オーハーヘソドを最小限にすることが可
能となる。
The transmission control of the character-oriented transmission method in this invention treats a received packet as one data block, adds block data length data and transmission/reception status to the front of the data block, and adds block check data afterward, and sends out the character-oriented data. When receiving these data, the maximum value of the sending data interval and the maximum value of the time until receiving the reception completion notification from the data processing device after sending the data are specified, so that the overflow can be minimized. becomes possible.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例について説明するが、この実
施例はキャプテン網やパソコン通信などのビット指向デ
ータ伝送路から受信したデータを変換して、パーソナル
コンピュータのようなデータ処理装置にギャラクタ指向
伝送路を用いてビット指向形データを伝送する場合にお
ける、変換器とデータ処理装置の間のデータ伝送にこの
発明のキャラクタ詣同形のデータ伝送方式を採用した場
合の一実施例である。
An embodiment of the present invention will be described below. This embodiment converts data received from a bit-oriented data transmission path such as a captain's network or personal computer communication, and transmits data to a data processing device such as a personal computer. This is an embodiment in which the character-isomorphic data transmission method of the present invention is adopted for data transmission between a converter and a data processing device when bit-oriented data is transmitted using a channel.

第1図は伝送データブロックを示したものであり、図に
おいてlはデータブロック長、2は固定長をもつ送受信
のステータス、3はビット指向形のデータ、4はブロッ
クチェックデータである。
FIG. 1 shows a transmission data block. In the figure, l is a data block length, 2 is a transmission/reception status having a fixed length, 3 is bit-oriented data, and 4 is block check data.

第2図は上記実施例の構成図で、5はHD L C(H
igh−Level DaLa Link Contr
olor)フォーマットの伝送路、6はデータ変換器、
7は調歩同期式伝送路、8はパーソナルコンピュータ(
以下Pcと呼ぶ)である。
FIG. 2 is a configuration diagram of the above embodiment, and 5 is an HDLC (H
igh-Level DaLa Link Contr
6 is a data converter,
7 is an asynchronous transmission line, 8 is a personal computer (
(hereinafter referred to as Pc).

第3図はデータ変換器側、パーソナルコンピュータ側そ
れぞれが行なうタイムアウト処理内容を示す。
FIG. 3 shows the contents of timeout processing performed by the data converter side and the personal computer side, respectively.

次に動作の説明をする。データの伝送はデータ変換器6
とPCB両方向に対して可能であるが、ここではデータ
変換器6は伝送路5から1パケット分のデータ3を受信
すると、第1図のようにデータブロック長1、ステータ
ス2、ブロックチェックデータ4を付加してPC8へ伝
送路7によりデータを送る。この時データブロック長l
はステータス2からブロックチェックデータ4までの長
さである。このデータ変換器6からPCBへのデータ伝
送時、データのキャラクタ単位間の伝送時間間隔をT、
以下にしなければならないと規定する。PC8はデータ
の受信間隔を常に計時しており、全データともデータの
間隔がT2以下で受信できたならば、データ変換器6に
対して既に設定された受信完了までの時間Tel  (
データブロック長1から算出した時間3以内にブロック
データ受信完了通知を行なう。これは第1図と同一のデ
ータブロック形式で行なうが、この場合、主にステータ
ス2が完了情報を持っており、またデータ3はなくても
かまわない。データ変換器6ではデータブロック送出完
了後、時間T4以内にデータ受信完了通知を受けとると
、データ送信が正常に完了したとして次のデータブロッ
クの送信を開始する。但し、上述におけるTt 、 T
z 、 ’r、 、 ’r4はTt <Tt 、T3 
<T4に予め設定されている。
Next, the operation will be explained. Data transmission is done by data converter 6
However, when the data converter 6 receives one packet worth of data 3 from the transmission path 5, it converts the data block length 1, status 2, block check data 4 as shown in FIG. is added and the data is sent to the PC 8 via the transmission line 7. At this time, data block length l
is the length from status 2 to block check data 4. When transmitting data from the data converter 6 to the PCB, the transmission time interval between data characters is T,
It stipulates that the following shall be done. The PC 8 constantly measures the data reception interval, and if all data can be received with the data interval less than T2, the time Tel (
Block data reception completion notification is given within time 3 calculated from data block length 1. This is done in the same data block format as in FIG. 1, but in this case, status 2 mainly has completion information, and data 3 may not be present. When the data converter 6 receives a data reception completion notification within time T4 after data block transmission is completed, it assumes that data transmission has been completed normally and starts transmitting the next data block. However, Tt and T in the above
z, 'r, , 'r4 are Tt < Tt, T3
<T4 is preset.

ここで、データ変換器6からβC8へのデータ伝送の途
中において、PCBがデータを時間T2以上受信できな
かった場合、もしくはブロックチェックデータ4により
受信データブロックの異常が検出できた場合はPCBが
そのデータブロックを無効とし、データ変換器6に対し
てステータス2上にデータ受信不良通知を明示して第1
回に示されるデータブロックの全て、もしくはデータブ
ロック長1.ステータス2.ブロックチェックデータ4
を送出する。その上、データ変換器6はステータス2上
にデータ再送出であることを明示し、PCBに対して再
度同一プロツクを送る。
Here, during data transmission from the data converter 6 to βC 8, if the PCB cannot receive data for more than time T2, or if an abnormality in the received data block is detected by the block check data 4, the PCB The data block is invalidated, a data reception failure notification is clearly indicated on status 2 to the data converter 6, and the first
All of the data blocks shown in times or data block length 1. Status 2. Block check data 4
Send out. Moreover, the data converter 6 clearly indicates data retransmission on status 2 and sends the same program again to the PCB.

また、データ変換器6がデータ受信完了通知を時間T4
以上待っても受信できなかった場合も同様にステータス
2上に再送出であることを明示して同一ブロックを送出
する。
Also, the data converter 6 sends a data reception completion notification at time T4.
If the block cannot be received even after waiting longer than that, the same block is sent out with a clear indication of re-sending on status 2.

なお、上記実施例ではデータブロック長1にステータス
2.データ3.ブロックチェックデータ4の合計長さを
示したが、データ3のみの長さ、またはデータ3とブロ
ックチェックデータ4との合計長さ、あるいはステータ
ス2とデータ3との合計長さを示すようにしてもよく、
さらにステータス2にステータス長なる長さを示すよう
にすれば、ステータス2は可変長とすることができる。
In the above embodiment, the data block length is 1 and the status is 2. Data 3. Although the total length of block check data 4 is shown, the length of only data 3, the total length of data 3 and block check data 4, or the total length of status 2 and data 3 is also shown. Good too,
Furthermore, if the status 2 is made to indicate the status length, the status 2 can have a variable length.

また、上記実施例においては、伝送路5を上記実施例で
はHDLCとしたがこれは他のビット指向形データ伝送
フォーマットでも良く、更に、伝送路7を調歩同期とし
ているが、この伝送方式も他のキャラクタ指向形データ
伝送フォーマットでも構わない。
Further, in the above embodiment, although the transmission line 5 is HDLC in the above embodiment, it may be any other bit-oriented data transmission format, and furthermore, although the transmission line 7 is a start-stop synchronization, this transmission method may also be used. A character-oriented data transmission format may also be used.

なお、上記実施例ではパーソナルコンピュータ8を用い
たが、これはキャラクタ指向形データ送受信機能を持っ
ているものならば何でも良い。
Although the personal computer 8 is used in the above embodiment, any computer may be used as long as it has a character-oriented data transmission/reception function.

また、本発明の方式をデータ処理装置間の通信に用いて
も全くさしつかえない。
Further, the method of the present invention may be used for communication between data processing devices.

〔発明の効果〕 以上のようにこの発明によればデータ長によりデータブ
ロックを管理するとともに、タイムアウトにより伝送制
御を行なうようにしたので、受信する全データを監視す
る必要がなく、また特別な制御データを定めることも不
要になるので、オーバー)ラドが小さくなり、処理の効
率が向上するという効果がある。
[Effects of the Invention] As described above, according to the present invention, data blocks are managed by data length and transmission control is performed by timeout, so there is no need to monitor all received data, and special control is not required. Since it is no longer necessary to define data, there is an effect that over-rad is reduced and processing efficiency is improved.

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

第1図はこの発明の一実施例によるキャラクタ指向形の
データ伝送方式のデータのフォーマット図、第2図は第
1図のデータブロックが伝送されるシステムの構成図、
第3図は第2図におけるタイムアウトの概念図、第4図
は従来のキャラクタ指向形伝送方式におけるBSCのト
ランスペアレントモードを示すフォーマット図である。 1はデータブロック長のデータ、2は送受信ステータス
、3はビット指向形データ、4はブロックチェックデー
タ、5はビット指向形データ再送出、6はデータ変換器
、7はキャラクタ指向形データ再送出、8はパーソナル
コンピュータ、9゜11は制御コード、IOはスタート
オブテキスト、12はエンドオブテキストである。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a data format diagram of a character-oriented data transmission system according to an embodiment of the present invention, and FIG. 2 is a configuration diagram of a system in which the data blocks of FIG. 1 are transmitted.
FIG. 3 is a conceptual diagram of timeout in FIG. 2, and FIG. 4 is a format diagram showing the transparent mode of the BSC in the conventional character-oriented transmission system. 1 is data block length data, 2 is transmission/reception status, 3 is bit-oriented data, 4 is block check data, 5 is bit-oriented data retransmission, 6 is a data converter, 7 is character-oriented data retransmission, 8 is a personal computer, 9°11 is a control code, IO is a start of text, and 12 is an end of text. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 キャラクタ指向形データ伝送路に接続される2つの装置
間でビット指向形データのデータブロックを送受信する
データ伝送方式において、 前記各装置は、ビット指向形データのデータブロックに
、送受信ステータスと、ブロックチェックデータと、前
記データブロックまたは送信号ステータスあるいはブロ
ックチェックデータの長さを示すデータブロック長のデ
ータを付加して送信するとともに、受信時前記データブ
ロック長に示される長さに基づいて受信最長時間を設定
し、該受信最長時間以内に前記データブロックのデータ
が受信されずタイムアウトとなった場合に受信不良と判
断するようにしたことを特徴とするデータ伝送方式。
[Claims] In a data transmission method for transmitting and receiving data blocks of bit-oriented data between two devices connected to a character-oriented data transmission path, each of the devices transmits and receives data blocks of bit-oriented data, Transmission/reception status, block check data, and data block length indicating the length of the data block or transmission signal status or block check data are added and transmitted, and when received, the length indicated by the data block length is A data transmission method characterized in that a maximum reception time is set based on the maximum reception time, and if the data of the data block is not received within the maximum reception time and a timeout occurs, reception is determined to be poor.
JP61002510A 1986-01-09 1986-01-09 Data transmission system Pending JPS62160835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61002510A JPS62160835A (en) 1986-01-09 1986-01-09 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61002510A JPS62160835A (en) 1986-01-09 1986-01-09 Data transmission system

Publications (1)

Publication Number Publication Date
JPS62160835A true JPS62160835A (en) 1987-07-16

Family

ID=11531367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61002510A Pending JPS62160835A (en) 1986-01-09 1986-01-09 Data transmission system

Country Status (1)

Country Link
JP (1) JPS62160835A (en)

Similar Documents

Publication Publication Date Title
JPH0259662B2 (en)
JPH0535624A (en) Data transfer method, data transmitting device and restoring device
JPS62160835A (en) Data transmission system
JPH0473178B2 (en)
JPS6236940A (en) Data communication equipment in automobile
JP2793221B2 (en) G4 facsimile communication system in ISDN
JPS58201465A (en) Facsimile communication system
KR910000700B1 (en) Data transmission system using sending right request signal transferred trough loop transmission path
JPH02164152A (en) Communication controller
KR930004100B1 (en) Asynchronous full duplex protocol implementation
JPS60173969A (en) Facsimile communication system
JPS60206242A (en) Communicating method
JP2549217B2 (en) Response sequence transmission method
JPS61186046A (en) Terminal connection control method
JPH11154908A (en) Non-reply monitor circuit in infrared ray communication, its monitoring method and recording medium storing its control program
JPS63214048A (en) Line terminator
JPS6138898B2 (en)
JPS6189770A (en) Communication speed control system
JPS6386942A (en) Data communication controlling system
JPH0834493B2 (en) Transmission message processing method in communication system
JPH01137750A (en) Facsimile equipment
JPS6166440A (en) Communication control system
JPH066408A (en) Half-duplex communication control method
JPH0310547A (en) Communication controller
JPH05191523A (en) Terminal network controller