JPH01175438A - Block synchronization system by start-stop synchronization - Google Patents

Block synchronization system by start-stop synchronization

Info

Publication number
JPH01175438A
JPH01175438A JP62334870A JP33487087A JPH01175438A JP H01175438 A JPH01175438 A JP H01175438A JP 62334870 A JP62334870 A JP 62334870A JP 33487087 A JP33487087 A JP 33487087A JP H01175438 A JPH01175438 A JP H01175438A
Authority
JP
Japan
Prior art keywords
block
data
termination
transmission
mark state
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
JP62334870A
Other languages
Japanese (ja)
Inventor
Akinori Ito
伊藤 晃徳
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 JP62334870A priority Critical patent/JPH01175438A/en
Publication of JPH01175438A publication Critical patent/JPH01175438A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To increase the use efficiency of a line and to set the best termination monitoring time corresponding to a line speed automatically by setting a basic time for block termination detection corresponding to transmission unit bits and detecting block termination from the continuance of a mark state. CONSTITUTION:A transmission-side device sends data without inserting a mark state which is >=n times transmission unit bits between sent data in the same block and inserts a mark state which is >=n times the transmission unit bits at the end of one block of data. The block termination detecting mechanism 15 of a line control part 1 makes a termination bit counter 19 counts up by one every time a timer signal is applied from a timer mechanism 14. When a mark state appears after a final character is received, this mark state continues by >=n bits, so the counter value of the termination bit counter 19 exceeds (n) and when the value of the counter 19 becomes equal to the block termination detection value (n), the block termination detecting mechanism 15 sends interruption indicating the end of block reception to a central processor 2 through a common bus 4, thereby indicating the termination of the block.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、調歩同期式の通信回線を介してデータ伝送を
行なうシステム間のデータ伝送方式に関し、特に伝送デ
ータのブロック終結判定を伝送単位ビットの0倍のマー
ク状態で判定してブロックの同期をとるブロック同期確
立方式に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a data transmission method between systems that performs data transmission via an asynchronous communication line, and in particular, the present invention relates to a data transmission method between systems that performs data transmission via an asynchronous communication line. This relates to a block synchronization establishment method that synchronizes blocks by determining the mark state of 0 times .

〔従来の技術〕[Conventional technology]

従来、調歩同期の通信回線を使用してデータ通信を行な
うシステムにおいて、■ブロック(1回に伝送するデー
タのかたまり)のデータ伝送終了を検出して、ブロック
の同期をとるプロ、り同期確立には以下の方式かある。
Conventionally, in systems that perform data communication using a start-stop synchronization communication line, there is a professional system that detects the end of data transmission of a block (a group of data transmitted at one time) and synchronizes the blocks. There is the following method.

■ブロック終結文字方式 ブロックの終結を特定の文字を用いて行なう方式であり
、ブロック終結判定文字としてキャリッジリターン(C
R)、  ラインフィード(LF)。
■Block termination character method This method uses a specific character to terminate a block, and the carriage return (C
R), line feed (LF).

エンド′オブテキスト(ETX)等を使用する。木刀式
の一例としてJIS  C6326r基本型データ伝送
制御手順」がある。この方式では伝送テ−夕中にブロッ
ク終結文字が存在する可能性のある画像情報等の非コー
ドデータ(以下バイナリ系データという)は上記方式で
は伝送できない。
Use End' of Text (ETX), etc. An example of the wooden method is the JIS C6326r basic data transmission control procedure. In this method, non-code data such as image information (hereinafter referred to as binary data) in which a block termination character may exist in the transmission data cannot be transmitted using the above method.

そこでデータリンクエスケープコート (DLE)のよ
うな伝送拡張文字を使用してバイナリ系データの伝送を
可能としている。即ち、送信側で伝送拡張文字と同一文
字を送る場合は、伝送拡張文字を2回連続させ、受信側
システムは1個目の伝送拡張文字を無視し、2個目の文
字がブロック終結文字ならブロックの終結、伝送拡張文
字なら伝送データとして処理するようにしてバイナリ系
データも伝送可能としている。
Therefore, transmission extension characters such as data link escape code (DLE) are used to enable the transmission of binary data. In other words, if the sending side sends the same character as the transmission extension character, the transmission extension character is sent twice consecutively, and the receiving system ignores the first transmission extension character, and if the second character is the end-of-block character, it sends the same transmission extension character twice. Block termination and transmission extension characters are processed as transmission data, making it possible to transmit binary data as well.

■ブロック長固定方式 伝送ブロック長を固定にし、連続する固定長の文字を一
つのブ11ツクとみなす方式である。本方式はバイナリ
系データの伝送も可能である。
■Fixed block length method This is a method in which the transmission block length is fixed and consecutive fixed length characters are regarded as one block. This method is also capable of transmitting binary data.

■可変長ブロック方式 伝送ブロックの先頭にデータ長を設定し、指定したデー
タ長まで−ブロックとみなす方式であり、バイナリ系デ
ータも伝送可能である。
■Variable-length block method This is a method in which a data length is set at the beginning of a transmission block, and up to the specified data length is considered a block, and binary data can also be transmitted.

■タイマ監視方式 データ受信後、基本タイマ値のn倍の時間データを受信
しない場合、ブロックの終結とみなす方式である。本方
式はCCITT勧告X、28およびX、3のパケット組
立・分割機能(PAD)のバケ・71・送信タイミング
に代表される制御方式であり、バイナリ系データも伝送
可能である。
(2) Timer monitoring method If data is not received for n times the basic timer value after data is received, the block is considered to have ended. This method is a control method typified by the bucket, 71, and transmission timing of the packet assembly and division function (PAD) of CCITT Recommendations X, 28 and X, 3, and is also capable of transmitting binary data.

〔発明か解決しようとする問題点〕[The problem that the invention attempts to solve]

上記従来技術には次に述べる問題点かある。 The above conventional technology has the following problems.

■ブロック終結文字方式 送信、受信いずれも、すべての伝送データQこついてブ
ロック終結文字かどうか判定しなけれはならず、通信制
御装置の処理が複雑になるとともに処理負荷が大きくな
り、高速通信には適さない。
■Block termination character method In both transmission and reception, it is necessary to determine whether all transmitted data Q is a block termination character, which complicates the processing of the communication control device and increases the processing load. Not suitable.

また、DLEのような伝送拡張文字を余分に伝送しなけ
ればならないため、回線使用効率が下がるという問題も
ある。
Furthermore, since transmission extension characters such as DLE have to be transmitted extra, there is also the problem that line usage efficiency decreases.

■ブロック長固定方式 バイナリ系データのブロック伝送には向いているか、常
時データ長を固定としなければならず、汎用性がないた
め一般的な通信には適さない。
■Fixed block length method Is this method suitable for block transmission of binary data? It is not suitable for general communication because the data length must always be fixed, and it is not versatile.

■可変ブロック長方式 バイナリ系データの伝送も可能であり、伝送データ長も
任意とすることができる。
■Variable block length method It is also possible to transmit binary data, and the transmission data length can be arbitrary.

しかし、データ長が短い場合には回線使用効率が下かり
易く、また回線障害により正常にデータを受信できなか
った場合の処理が複雑になる。
However, when the data length is short, line usage efficiency tends to decrease, and processing becomes complicated when data cannot be received normally due to a line failure.

■タイマ監視方式 回線速度か速い場合、ブロック終結判定時間を短くしな
ければ回線使用効率が悪くなるため、ホスト計算機のよ
うに複数回線を収容するシステムではブロック終結判定
用の基本タイマ値は接続された複数回線の内の最大回線
速度を基にして設定しなければならない。例えば、回線
速度1200゜4800.9600bpsの回線を収容
している場合、ホスト計算機に接続される端末装置間と
のデータ授受を制御する通信制御装置では、上記基本タ
イマ値は9600bpsを基準に設定し、1/960秒
以下にしなければならない。そし°C19600bps
の回線に対しては基本タイマのタイムアウトが0回繰返
されたとき、4800bpSの回線ではzXn回繰返さ
れたとき、1200bpsの回線では8 X n l!
lil繰返されたとき、それぞれブロック終結と判定し
なければならない。このような短時間の基本タイマは通
信制御装置の負荷を著しく高め、処理可能なデータ量を
落としてしまう。また回線速度が変更された場合、n値
を 、変更する必要が生しる。更に基本タイマを各回線
個別に設けるとすると、ハードウェア量が増加する。
■Timer monitoring method If the line speed is high, the line usage efficiency will deteriorate unless the block end judgment time is shortened, so in a system that accommodates multiple lines such as a host computer, the basic timer value for block end judgment is not connected. The setting must be based on the maximum line speed among the multiple lines set. For example, when a line with a line speed of 1200°4800.9600 bps is accommodated, the basic timer value is set to 9600 bps in the communication control device that controls data exchange between terminal devices connected to the host computer. , must be 1/960 seconds or less. So °C19600bps
When the basic timer timeout is repeated 0 times for a 4800 bps line, when it is repeated zXn times for a 4800 bps line, and 8
When lil is repeated, it must be determined that the block has ended each time. Such a short basic timer significantly increases the load on the communication control device and reduces the amount of data that can be processed. Furthermore, if the line speed is changed, it becomes necessary to change the n value. Furthermore, if a basic timer is provided for each line individually, the amount of hardware will increase.

本発明はこのような事情を鑑みて為されたものであり、
その目的は、回線速度に応じた最適なブロック終結監視
時間の自動設定が可能であると共にブロック終結検出ハ
ードウェアの構成が簡便でハードウェア量が少なく、か
つ回線効率良くノ\イナリ系データの伝送が可能なプロ
・ツク同期確立方式を提供することにある。
The present invention has been made in view of these circumstances,
The purpose of this is to automatically set the optimum block end monitoring time according to the line speed, to have a simple block end detection hardware configuration with a small amount of hardware, and to enable efficient line data transmission. The object of the present invention is to provide a method for establishing program synchronization that allows for

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

本発明は上記目的を達成するために、 送信側装置と受信側装置との間で調歩同期回線を介して
データ通信を行なうシステムにおいて、前記送信側装置
に、前記調歩同期回線にデータを送信するときは、同一
ブロック内の送信データ間には伝送単位ビットのn倍以
上のマーク状態を挿入しないで送信し、一つのブロック
のデータ送信終了時マーク状態を伝送単位ビットの0倍
以上挿入する手段を設け、 前記受信側装置に、前記調歩同期回線から受信したデー
タ間にマーク状態が伝送単位ヒントのnヒツト以上継続
するか否かを判定し、継続した場合ブロックの終結と判
断する手段を設け、伝送単位ヒツトのn倍以上のマーク
状態の有無によりブロックの同jtJi確立を行なうこ
ととしている。
In order to achieve the above object, the present invention provides a system in which data communication is performed between a transmitting side device and a receiving side device via an asynchronous line. In this case, a means for transmitting without inserting a mark state of n times the transmission unit bit or more between transmission data in the same block, and inserting a mark state of 0 times or more of the transmission unit bit at the end of data transmission of one block. and the receiving side device is provided with means for determining whether or not a mark state continues for more than n hits of a transmission unit hint between data received from the asynchronous line, and determining that the block has ended if it continues. , the same jtJi of a block is established based on the presence or absence of a mark state of n times or more the transmission unit hit.

〔作用〕[Effect]

ブロック終結検出用の基本時間は伝送jii位ビット相
当に設定されており、送信側装置が伝送単位ヒツトの0
倍の時間マーク状態を送ると、受信側装置はマーク状態
が伝送単位ヒツト相当時間×n以上継続したことを判定
することによりブロック終了と判定する。
The basic time for detecting the end of a block is set to correspond to the jiii bit of the transmission, and the transmitting side device
When the mark state is sent for twice the time, the receiving device determines that the block has ended by determining that the mark state has continued for a time equal to the transmission unit hit x n or more.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明を端末装置に適用した際の実施例のブロ
ック図であり、回線制御部1.中央処理装置2及び主記
憶装置3が共通ハス4を介して接続され、さらに回に8
制御部1がコネクタ6を介して調歩同期回線5に接続さ
れた端末装置を示す。
FIG. 1 is a block diagram of an embodiment in which the present invention is applied to a terminal device. The central processing unit 2 and the main memory 3 are connected via a common lotus 4, and
A terminal device in which a control unit 1 is connected to an asynchronous line 5 via a connector 6 is shown.

回線制御部lはスタートビ・ノド検出機構11.ビノト
ザンブリング機構12.ヒツト送出[構13゜単位ビッ
ト時間毎にタイマ信号を出力する刻時機構14.ブロッ
ク終結検出機構15.シリアルパラレル変換機構16.
ブロック終結を判定するだめのブロック受信状態フラグ
175文字の受信状態を示す文字受信状態フラグ18.
刻時機構14の出力するタイマ信号を計数するだめの終
結ヒノトカウンク19から構成され、スタートビット検
出機構11.ヒノI・サンプリンタ機構12.ヒツト送
出機構]3がコネクタ6に接続し、刻時機構14がビノ
トザンプリング機構12.ビット送出機構13.フロッ
ク終結検出機構15に接続し、ビア1−サンプリング機
構12.ビット送出機構13がシリアルパラレル変換機
構16と接続し、シリアルパラレル変換機構16.ブロ
ック終結検出機構14が共通ハス4に接続している。
The line control unit l includes a start bid/nod detection mechanism 11. Binoto Zambling Mechanism 12. Clock mechanism 14 that outputs a timer signal every unit bit time. Block end detection mechanism 15. Serial-parallel conversion mechanism 16.
Block reception status flag 175 used to determine the end of a block Character reception status flag 18 indicating the reception status of characters.
It consists of a termination counter 19 for counting the timer signal output from the clock mechanism 14, and a start bit detection mechanism 11. Hino I Sunprinter Mechanism 12. human output mechanism] 3 is connected to the connector 6, and the clock mechanism 14 is connected to the binot sample ring mechanism 12. Bit sending mechanism 13. Connected to the floc end detection mechanism 15, via 1-sampling mechanism 12. The bit sending mechanism 13 is connected to the serial-to-parallel conversion mechanism 16, and the serial-to-parallel conversion mechanism 16. A block end detection mechanism 14 is connected to the common lotus 4.

第2図は本発明に基づいてデータ伝送した場合の調歩同
期回線5上のヒツトパターンとブロック受信状態フラグ
17と文字受信状態フラグ18の変化を示したものであ
る。なお、第2図において1文字は、1スタートビツト
、8データビット。
FIG. 2 shows the hit pattern on the asynchronous line 5 and changes in the block reception status flag 17 and character reception status flag 18 when data is transmitted according to the present invention. In Fig. 2, one character has one start bit and eight data bits.

1ストツプビツト構成である。第2図に示すように本発
明を適用した調歩同期式データ伝送において、一つの伝
送ブロックの回線上でのヒツトパターンは、第1文字の
スタートヒツトから始まり、最終文字のストップヒット
1&nビツト以上のマーク(8iii理“′1”のピン
ト)で終了する構成となっている。各文字と文字の間に
はストップヒツトとスタートビットの他にnビット未満
のマーク状態を入れることが可能になっている。以下第
2図をもとに第1図の端末装置の送信動作1文字受信。
It has a 1 stop bit configuration. As shown in FIG. 2, in asynchronous data transmission to which the present invention is applied, the hit pattern on the line of one transmission block starts from the start hit of the first character, and the stop hit of the last character is 1 & n bits or more. It is configured to end at the mark (8iii principle "'1" focus). In addition to stop bits and start bits, mark states of less than n bits can be inserted between each character. Below, based on FIG. 2, the transmission operation of the terminal device in FIG. 1 receives one character.

フロック終結判定の動作について説明する。The operation of determining the end of a flock will be explained.

先ず送信動作を説明する。中央処理装置2ば、データ送
信する場合、主記憶装置3に格納されている送信データ
を所定のタイミングで共通ハス4を介してシリアルパラ
レル変換機構16に加える。
First, the transmission operation will be explained. When transmitting data, the central processing unit 2 applies the transmission data stored in the main storage device 3 to the serial-to-parallel conversion mechanism 16 via the common lotus 4 at a predetermined timing.

シリアルパラレル変換機構16は、これをシリアルなヒ
ント列に変換したのちヒツト送出機構13に送る。ヒツ
ト送出機構13ij、刻時機構14からのタイマ信号に
従いコネクタ6経由で調歩同期回線5へ送信する。さら
にビット送出機構13はシリアルパラレル変換機構16
からの指示に従いスタートビットとストップビットも相
加する。以」−のようなデータ送信において、中央処理
装置2は、1ブロツク内にnヒツト以上のマーク状態が
継続しないようにデータ送信のタイミングを制御してお
り、1ブロツクのデータ送信終了時は伝送単位ビットの
n倍以上の時間、回線をマーク状態にすることによりブ
ロックを終結させる。
The serial-parallel conversion mechanism 16 converts this into a serial hint string and then sends it to the hit sending mechanism 13. The hit sending mechanism 13ij transmits the signal to the asynchronous line 5 via the connector 6 in accordance with the timer signal from the clock mechanism 14. Furthermore, the bit sending mechanism 13 is a serial-to-parallel converting mechanism 16.
The start bit and stop bit are also added according to instructions from . In data transmission as described below, the central processing unit 2 controls the timing of data transmission so that the mark state of n or more hits does not continue in one block, and when the data transmission of one block is completed, the central processing unit 2 The block is terminated by keeping the line in the marked state for a time longer than n times the unit bit.

次に文字受信動作は以下のよ・うに行なわれる。Next, the character reception operation is performed as follows.

スタートヒツト検出機構11はコネクタ6を経由して調
歩同期回線5の状態を監視する。スター1−ビットを検
出するとスタートピント検出機構11はビットサンプリ
ング機構12にヒントサンプリングの開始を、刻時機構
14に受信用の刻時の開始をそれぞれ指示するとともに
第2図に示すようにブロック受信状態フラグ17.文字
受信状態フラグ18をオンにする。
The start hit detection mechanism 11 monitors the state of the asynchronous line 5 via the connector 6. When the star 1-bit is detected, the start focus detection mechanism 11 instructs the bit sampling mechanism 12 to start hint sampling and the clock mechanism 14 to start clocking for reception, and performs block reception as shown in FIG. Status flag 17. Turn on the character reception status flag 18.

ビットサンプリング機構12は、刻時機構14から伝送
i1i位ヒフ1〜相当時間毎に出力されるタイマ信号に
基づいてヒントサンプリングを開始する。
The bit sampling mechanism 12 starts hint sampling based on a timer signal outputted from the clock mechanism 14 every time corresponding to transmission i1i.

ビットサンプリングされたヒントはシリアルパラレル変
換機構16に送られ、8ビットの文字に組め立てられた
後、共通ハス4を経由して上記1a装置3内の受信領域
に格納される。ビットサンプリング機構12は、8ピツ
1へのデータピントをシリアルパラレル変換機構16に
送った後、ストップビットを確認し、第2図に示すよう
に文字受信状態フラグ18をオフにする。以上で1文字
の受信動作か終了し、更に続けて2文字目以降を受信ず
lす る場合は前記と同様な動作が繰返される。
The bit-sampled hints are sent to the serial-to-parallel conversion mechanism 16, assembled into 8-bit characters, and then stored in the receiving area in the 1a device 3 via the common lotus 4. After the bit sampling mechanism 12 sends the data focus to the 8-bit 1 to the serial-parallel conversion mechanism 16, it checks the stop bit and turns off the character reception status flag 18 as shown in FIG. This completes the reception operation for one character, and if the second and subsequent characters are not to be received, the same operation as described above is repeated.

一方、上記動作と並行してフロック終結検出機構15は
、ブロック受信状態フラグ17かオンで、且つ文字受信
状態フラグ18かオフになっているか否かを常に判断し
ており、そうであると刻時機構14からタイマ信号(こ
れはビットサンプリング機構12.ヒノ)・送出機構1
3に送出されているタイマ信号と同じである)力肋■わ
る毎に終結ヒツトカウンタ19を1だけカウントアツプ
し、ブロック受信状態フラグ17かオフか或いは文字受
信状fcFフラグ18がオンであると、終結ヒy t・
カウンタ19をOに維持する動作を行なっている。
On the other hand, in parallel with the above operation, the block end detection mechanism 15 constantly judges whether the block reception state flag 17 is on and the character reception state flag 18 is off, and if so, the Timer signal from time mechanism 14 (this is bit sampling mechanism 12.Hino) / Sending mechanism 1
(This is the same as the timer signal sent in step 3) The end hit counter 19 is incremented by 1 each time the power output changes, and if the block reception status flag 17 is off or the character reception flag fcF flag 18 is on. , Termination
An operation is performed to maintain the counter 19 at O.

従って文字間にマーク状態が現れると、ブロック受信状
態フラグ17かオン、文字受信状態フラグ18はオフ状
態になるので、ブロック終結検出機構15は終結ヒツト
カウンタ19をカウントアツプする。しかし、前述した
ように送信側で樹1ブロック内の文字間にnヒソI・以
上のマーク状態を挿入しないようにしているので、銘結
ビットカウンタ19の値かフロック終結検出値nになる
以前に文字受信状態フラグ18がオンになる。従ってブ
ロック終結検出機構15は終結ビットカウンタ19をO
にし、終結ビットカウンタ19のカウンタ値はn以上に
達しない。
Therefore, when a mark state appears between characters, the block reception state flag 17 is turned on and the character reception state flag 18 is turned off, so that the block end detection mechanism 15 counts up the end hit counter 19. However, as mentioned above, since the transmitting side is configured not to insert mark states of n or more times between characters in one tree block, before the value of the signature bit counter 19 reaches the end-of-flock detection value n. The character reception status flag 18 is turned on. Therefore, the block end detection mechanism 15 sets the end bit counter 19 to O.
and the counter value of the final bit counter 19 does not reach n or more.

他方、最後の文字を受信した後、マーク状態が現れると
、このマーク状態はnビット以上続くので、終結ビット
カウンタ19のカウンタ値がnを越えることになる。ブ
ロック終結検出機構15は終結ピッI・カウンタ19の
値がブロック終結検出値nに等しくなったか否かを監視
しており、等しくなると、共通ハス4を経由して中央処
理装置2にブロック受信終了を示ず劃込めを発生してブ
ロックの終結を通知する。そして、ブロック受信状態フ
ラグ18をオフにして、次のブロックの受信に備える。
On the other hand, if a mark state appears after receiving the last character, this mark state continues for n bits or more, so that the counter value of the final bit counter 19 exceeds n. The block end detection mechanism 15 monitors whether the value of the end pick I/counter 19 has become equal to the block end detection value n, and when it becomes equal, the block reception end is sent to the central processing unit 2 via the common lotus 4. The end of the block is notified by generating a fill-in without indicating the end of the block. Then, the block reception status flag 18 is turned off to prepare for reception of the next block.

以上の実施例は本発明を端末装置に適用したものである
が、本発明はホスト計算機に接続された通信制御装置等
、調歩同期式データ伝送を行なう他の送、受信装置に広
く適用することが可能であ乙− 〔発明の効果〕 以上説明したように、本発明は、従来のタイマ監視方式
と同様にブロック終結の検出をマーク状態の継続時間に
よって行なう為、バイナリ系データの伝送時も回線の使
用効率を高めることができる。
Although the above embodiments apply the present invention to a terminal device, the present invention can be widely applied to other transmitting and receiving devices that perform asynchronous data transmission, such as a communication control device connected to a host computer. [Effects of the Invention] As explained above, the present invention detects the end of a block based on the duration of the mark state, similar to the conventional timer monitoring system, so that it can be used even when transmitting binary data. Line usage efficiency can be increased.

また、ブロック終結検出用の基本時間を伝送単位ビット
に設定したので、nを固定にしても回線速度に応じた最
適なブロック終結監視時間の自動設定が可能となる。従
って本発明を伝送速度が異なる多回線を収容する通信制
御装置等に適用した際におけるプログラムの負担が軽減
する。
Furthermore, since the basic time for block end detection is set in the transmission unit bit, it is possible to automatically set the optimal block end monitoring time according to the line speed even if n is fixed. Therefore, when the present invention is applied to a communication control device or the like that accommodates multiple lines with different transmission speeds, the load on the program is reduced.

更に、伝送単位ヒツト相当の時間は、調歩間jl1式の
通信機構には必須なタイマ機構で得られるので、このタ
イマ機構をブロック終結検出用にも使用することができ
、そのハードウェア量を低減することができる。
Furthermore, since the time equivalent to a transmission unit hit can be obtained by a timer mechanism that is essential for a start-stop jl1 type communication mechanism, this timer mechanism can also be used for block end detection, reducing the amount of hardware involved. can do.

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

第1図は本発明を適用した端末装置の一例を示すブロッ
ク図および、 第2図は伝送データの回線上でのビットパターン等を示
す図である。 図において、 1・・・回線制御部      4・・・共通ハス2・
・・中央処理装置     5・・・調歩同期回線3・
・・主起’L’l 装置      6・・・コネクタ
11・・・スター1〜ビツト検出機構 12・・・ヒントサンプリング機構 13・・・ビット送出機構 14・・・刻時機構 15・・・ブロック終結検出機構 16・・・シリアルパラレル変換機構 17・・ブロック受信状態フラグ 18・・・文字受信状態フラグ 19・・・終結ビットカウンタ
FIG. 1 is a block diagram showing an example of a terminal device to which the present invention is applied, and FIG. 2 is a diagram showing bit patterns of transmission data on a line. In the figure, 1... line control section 4... common lotus 2.
・Central processing unit 5 ・Start-stop synchronization line 3 ・
...Main 'L'l device 6...Connector 11...Star 1~Bit detection mechanism 12...Hint sampling mechanism 13...Bit sending mechanism 14...Clock mechanism 15...Block Termination detection mechanism 16... Serial-parallel conversion mechanism 17... Block reception status flag 18... Character reception status flag 19... Termination bit counter

Claims (1)

【特許請求の範囲】 送信側装置と受信側装置との間で調歩同期回線を介して
データ通信を行なうシステムにおいて、前記送信側装置
に、前記調歩同期回線にデータを送信するときは、同一
ブロック内の送信データ間には伝送単位ビットのn倍以
上のマーク状態を挿入しないで送信し、一つのブロック
のデータ送信終了時マーク状態を伝送単位ビットのn倍
以上挿入する手段を設け、 前記受信側装置に、前記調歩同期回線から受信したデー
タ間にマーク状態が伝送単位ビットのnビット以上継続
するか否かを判定し、継続した場合ブロックの終結と判
断する手段を設け、 伝送単位ビットのn倍以上のマーク状態の有無によりブ
ロックの同期確立を行なうことを特徴とする調歩同期に
よるブロック同期確立方式。
[Scope of Claims] In a system in which data communication is performed between a transmitting side device and a receiving side device via an asynchronous line, when data is transmitted to the transmitting side device on the asynchronous line, the transmission side device transmits data to the same block. Transmission is performed without inserting a mark state of n times the transmission unit bit or more between the transmission data in the block, and means is provided for inserting a mark state of n times or more of the transmission unit bit at the end of data transmission of one block; The side device is provided with means for determining whether or not the mark state continues for more than n transmission unit bits between the data received from the asynchronous line, and determining that the block has ended if the mark state continues for n bits or more of the transmission unit bits; A method for establishing block synchronization using start-stop synchronization, characterized in that block synchronization is established depending on the presence or absence of a mark state of n times or more.
JP62334870A 1987-12-29 1987-12-29 Block synchronization system by start-stop synchronization Pending JPH01175438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62334870A JPH01175438A (en) 1987-12-29 1987-12-29 Block synchronization system by start-stop synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62334870A JPH01175438A (en) 1987-12-29 1987-12-29 Block synchronization system by start-stop synchronization

Publications (1)

Publication Number Publication Date
JPH01175438A true JPH01175438A (en) 1989-07-11

Family

ID=18282142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62334870A Pending JPH01175438A (en) 1987-12-29 1987-12-29 Block synchronization system by start-stop synchronization

Country Status (1)

Country Link
JP (1) JPH01175438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004064351A1 (en) * 2003-01-15 2004-07-29 Fujitsu Limited Asynchronous transmission method and circuit thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004064351A1 (en) * 2003-01-15 2004-07-29 Fujitsu Limited Asynchronous transmission method and circuit thereof
US7936792B2 (en) 2003-01-15 2011-05-03 Fujitsu Limited Method and circuit for asynchronous transmission

Similar Documents

Publication Publication Date Title
US4368512A (en) Advanced data link controller having a plurality of multi-bit status registers
US4225919A (en) Advanced data link controller
EP0074864B1 (en) System and method for name-lookup in a local area network data communication system
US4199663A (en) Autonomous terminal data communications system
US4410889A (en) System and method for synchronizing variable-length messages in a local area network data communication system
EP0076880B1 (en) A local area contention network data communication system
US4471481A (en) Autonomous terminal data communications system
US4513370A (en) Data transfer control system and method for a plurality of linked stations
US4358825A (en) Control circuitry for data transfer in an advanced data link controller
US6697383B1 (en) Method and apparatus for detecting data streams with specific pattern
JPH0344464B2 (en)
JPH0290752A (en) Device and method for transferring data between plural data processors
US6414964B1 (en) Method and apparatus for performing a multipoint polling protocol which employs silence intervals for controlling circuit operation
US4910754A (en) Initialization and synchronization method for a two-way communication link
EP0360478A2 (en) A packet switching architecture providing encryption across packets
US4975907A (en) Method and device for the asynchronous transmission of data by packets
CA2384162A1 (en) Methods for efficient early protocol detection
JPH01175438A (en) Block synchronization system by start-stop synchronization
US6542537B1 (en) Reduction of CPU burden in monitoring data for escape sequences
US5452302A (en) Protocol for asynchronous character communication
WO2003001738A1 (en) Method for detecting communication speed of apparatus
US6545617B1 (en) Asynchronous serial data receiving device and asynchronous serial data transmitting device
EP0070828B1 (en) Improved autonomous terminal data communications system
KR100306299B1 (en) Apparatus for transmitting data between chips
JPH065831B2 (en) Signal frame transmission method