JPS607864B2 - data transmission equipment - Google Patents

data transmission equipment

Info

Publication number
JPS607864B2
JPS607864B2 JP54161248A JP16124879A JPS607864B2 JP S607864 B2 JPS607864 B2 JP S607864B2 JP 54161248 A JP54161248 A JP 54161248A JP 16124879 A JP16124879 A JP 16124879A JP S607864 B2 JPS607864 B2 JP S607864B2
Authority
JP
Japan
Prior art keywords
interrupt
data
transmission
normal
circuit
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
JP54161248A
Other languages
Japanese (ja)
Other versions
JPS5684058A (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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP54161248A priority Critical patent/JPS607864B2/en
Publication of JPS5684058A publication Critical patent/JPS5684058A/en
Publication of JPS607864B2 publication Critical patent/JPS607864B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 この発明はたとえばCPU(中央処理装置)と端末間な
どのデータ伝送装置に係るもので、特にデータ伝送中に
割込みをかける場合の伝送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transmission device between, for example, a CPU (central processing unit) and a terminal, and particularly relates to a transmission method when interrupting data transmission.

上記したようなデータ伝送を行なう場合のデータは通常
、複数のデータブロックで構成され、これらデータブロ
ックを連続して伝送する方式が探られている場合が多い
In the case of data transmission as described above, the data is usually composed of a plurality of data blocks, and methods for continuously transmitting these data blocks are often being explored.

このようなデータ伝送におけるデータブロックは、一般
的にテキスト開始番号(以下、STX符号という)とテ
キスト終了信号(以下ETB符号という)との間に挟ま
れた区間のデータを指している。
A data block in such data transmission generally refers to data in an interval between a text start number (hereinafter referred to as an STX code) and a text end signal (hereinafter referred to as an ETB code).

そして、たとえばパリティ計数を行なうときには、ST
X符号は含まず、次のキャラクタからカウントを開始し
、ETB符号を含んでカウントを終了して、その結果を
ETB符号に引続いてブロックチェックキヤラクタ(以
下BCCという)として伝送する。第1図aは上記した
データブロックの構成を模式的に示したものである。ま
た、同図bはこのデータブロックをA,,A2,A3・
・・というように複数個連結したものを示し、一般には
このようなものをサイクリツクディジタル伝送している
。ところで、このようなデータ伝送にあって、割込み要
求が発生した場合には、従来次のようにして伝送してい
た。
For example, when performing parity counting, ST
Counting starts from the next character without including the X code, ends counting including the ETB code, and the result is transmitted as a block check character (hereinafter referred to as BCC) following the ETB code. FIG. 1a schematically shows the structure of the data block described above. Also, in the same figure b, this data block is A,,A2,A3・
. . , which are connected together, and such devices are generally transmitted cyclically digitally. By the way, when an interrupt request occurs during such data transmission, the transmission has conventionally been performed as follows.

すなわち、その割込みデータに第1図aで示したSTX
,ETB,BCCなどの符号を付して、サィクリックデ
ィジタル伝送している第1図bのようなデータのブロッ
クとブロックたとえば第2のデータブロックA2と第3
のデータフロックA3との間に割込ませて伝送する。こ
れを示したのが第2図である。第2図において、Bは割
込みデータを示している。第3図は上記した従来のデー
タ伝送方式を実現するためのシステムの構成を示すもの
で、送信側は入力回路11、送信回路12、並列−直列
変換回路(以下P−S変換回路という)13、第1のメ
モリ14、第2のメモリ15、変調回路16で構成され
、また受信側は複調回路17、直列−並列変換回路(以
下S−P変換回路)18、受信回路19、第3のメモリ
20、第4のメモリ21、出力回路22で構成されてお
り、これら送信側と受信側とは伝送線路23で接続され
ている。
That is, the STX shown in FIG. 1a is added to the interrupt data.
, ETB, BCC, etc., for example, the second data block A2 and the third data block, as shown in FIG.
The data block A3 is inserted between the data block A3 and the data block A3. Figure 2 shows this. In FIG. 2, B indicates interrupt data. FIG. 3 shows the configuration of a system for realizing the conventional data transmission method described above. The transmitting side includes an input circuit 11, a transmitting circuit 12, and a parallel-to-serial converter circuit (hereinafter referred to as a P-S converter circuit) 13. , a first memory 14, a second memory 15, and a modulation circuit 16, and the receiving side includes a demodulation circuit 17, a serial-to-parallel conversion circuit (hereinafter referred to as an S-P conversion circuit) 18, a reception circuit 19, and a third The transmitting side and the receiving side are connected by a transmission line 23.

このような構成において、今、第1図bのようなデータ
の所定のデータブロックを伝送する場合は、そのデータ
ブロックの情報を入力回路11でプロセス入力として議
取り、その謙取つた内容を第1のメモリー4に記憶させ
る。この第1のメモリ14への記憶動作が終了すると、
この記憶した内容を第2のメモリ15に転送する。これ
と同時に、次に伝送しようとするデータブロックの情報
を入力回路11でプロセス入力として議取り、その内容
を第1のメモリ14に記憶させる。そして、送信回路1
2では、第2のメモリ15に記憶されているプロセス入
力情報をプロセス入力単位に1〜2またはそれ以上のキ
ャラクタに編集し、P−S変換回路13、変調回路16
を通して伝送線路23に送出し、データ伝送を開始する
。このデータ伝送を開始するに当っては、第1図aに示
すように予め、STX符号を伝送してその後、引続いて
プロセス入力情報を伝送する。このプロセス入力情報(
1ブロック分)を伝送し終ると、ETB符号およびBC
C符号を引続いて伝送する。このように1ブロック分の
プロセス入力情報を伝送し終ると、次に伝送すべきブ。
ック情報の伝送動作を引き続き開始する。受信側では、
伝送線路23を経て伝送されてくる送信側からのプロセ
ス入力情報を復調回路17、S−P変換回路18を通し
て受信回路19で受信し、STX符号に引き続いてキャ
ラクタ単位に受信した情報を必要に応じて垂直パリティ
チェックした後、プロセス出力単位に変換し、第3のメ
モリ20へ記憶してゆく。
In such a configuration, when transmitting a predetermined data block of data as shown in FIG. 1 memory 4. When the storage operation in the first memory 14 is completed,
This stored content is transferred to the second memory 15. At the same time, the input circuit 11 receives information on the next data block to be transmitted as a process input, and its contents are stored in the first memory 14. And transmitting circuit 1
2, the process input information stored in the second memory 15 is edited into one to two or more characters for each process input, and the P-S conversion circuit 13 and the modulation circuit 16
to the transmission line 23 to start data transmission. To start this data transmission, as shown in FIG. 1a, an STX code is first transmitted, and then process input information is transmitted. This process input information (
After transmitting one block worth of data, the ETB code and BC
The C code is subsequently transmitted. After transmitting one block of process input information in this way, the next block of process input information is transmitted.
The transmission operation of the block information continues. On the receiving side,
The process input information from the transmitting side transmitted via the transmission line 23 is received by the receiving circuit 19 through the demodulating circuit 17 and the S-P converting circuit 18, and the information received character by character following the STX code is received as necessary. After performing a vertical parity check, the data is converted into a process output unit and stored in the third memory 20.

そして、ETB符号を受信した後に引き続いて受信する
BCC符号が正常であれば、上記第3のメモリ201こ
記憶したプロセス出力情報を第4のメモリ21に転送し
、出力回路22によりこの第4のメモリ21の内容(プ
ロセス出力情報)をプロセス出力する。以上は通常の伝
送動作であるが、次に上記のような伝送中に割込みが発
生した場合の動作を第4図を参照して説明する。第4図
において、A,,ん,ん…はデータブロックを示し、T
は1つのデータブロックのデータ伝送処理時間を示して
いる。ここでは、時点Toにおいて、データブロックA
,が入力回路11に入力され、時点T,で送信回路12
に入力されるというように入力回路11、送信回路12
、受信回路19、出力回路22でそれぞれT時間ずつの
伝送遅れがある。ここで今、時点T3iで割込み信号が
入ったとすると、その割込み信号が入ったときに現在入
力している通常のデータブロック(この例ではデータフ
ロックA4)のプロセス入力を第1のメモリー4から第
2のメモリ15に転送する処理を全て終了したあと、上
記割込信号に基づいた処理を開始する。
If the BCC code received subsequently after receiving the ETB code is normal, the process output information stored in the third memory 201 is transferred to the fourth memory 21, and the output circuit 22 transfers the process output information stored in the third memory 201 to the fourth memory 21. The contents of the memory 21 (process output information) are output as a process. The above is a normal transmission operation. Next, the operation when an interrupt occurs during transmission as described above will be explained with reference to FIG. In Fig. 4, A, , n,... indicate data blocks,
indicates the data transmission processing time for one data block. Here, at time To, data block A
, is input to the input circuit 11, and at time T, the transmitter circuit 12
Input circuit 11, transmission circuit 12
, the receiving circuit 19, and the output circuit 22 each have a transmission delay of T time. Now, if an interrupt signal is input at time T3i, the process input of the normal data block (data block A4 in this example) that is currently being input when the interrupt signal is input is transferred from the first memory 4 to the After all the processes for transferring data to the memory 15 of No. 2 are completed, the process based on the above-mentioned interrupt signal is started.

第4図において、斜線を施した部分が割込みデータBを
示している。このように従来では、通常のデータ伝送動
作中、任意の時間に割込みが入ると、その割込みに関す
る処理は、その割込みが入ったときに通常のデータ伝送
処理動作が行なわれていたデータブロックのデータ処理
が終了してから行なっていた。したがって、第4図から
も明らかなように割込みが発生してから、その割込みに
関する処理を行ないプロセス出力するまでの伝送遅れは
ほぼ4データブロック分(4T時間)となる。
In FIG. 4, the shaded area indicates interrupt data B. In FIG. In this way, conventionally, when an interrupt occurs at any time during a normal data transmission operation, the processing related to that interrupt is performed on the data of the data block that was being processed for normal data transmission processing when the interrupt occurred. This was done after the process was completed. Therefore, as is clear from FIG. 4, the transmission delay from the occurrence of an interrupt to the processing and process output of the interrupt is approximately 4 data blocks (4T time).

しかも一般に、通常伝送の1データブロックは、数百キ
ャラクタ以上の単位であるのに対し、割込み伝送による
1データブロックは数キャラクタであることから制御時
による制御性あるいは非常時における割込み伝送の伝達
遅れが無視できなくなり、重大事故に発展する危険を伴
なう。特にテレメータのように比較的伝送速度の遅いシ
ステムの場合には大きな問題となる可能性がある。この
発明は上記の点に鑑みてなされたもので、装置間でブロ
ック単位にデータ伝送する装置において、割込み要求が
発生した場合、通常のデータ伝速を中断して上記割込み
要求に関する割込みデータを最優先に伝送するようにし
、割込み要求が発生してからこの割込み要求に関する割
込みデータが着信するまでの時間を最短とし、非常時に
おける割込み伝送を効率良く行ない得るデータ伝送装置
を提供することを目的とする。
Furthermore, in general, one data block in normal transmission is a unit of several hundred characters or more, whereas one data block in interrupt transmission is a few characters. can no longer be ignored and poses a risk of developing into a serious accident. This can be a major problem, especially in systems with relatively slow transmission speeds, such as telemeters. This invention has been made in view of the above points, and when an interrupt request occurs in a device that transmits data between devices in blocks, the normal data transmission is interrupted and the interrupt data related to the interrupt request is transmitted to the highest level. It is an object of the present invention to provide a data transmission device that can prioritize transmission, minimize the time from the occurrence of an interrupt request until the arrival of interrupt data related to this interrupt request, and efficiently perform interrupt transmission in an emergency. do.

以下この発明の一実施例を図面を参照して説明する。An embodiment of the present invention will be described below with reference to the drawings.

第5図は本発明に係るデータ伝送装置の構成を示すもの
で、第3図と同一部分には同一符号を付して重複する部
分の説明は省略する。第5図が第3図と異なる点は、送
信側においては送信回路部として、第3図で示した送信
回路12の他に割込みに関する送信動作を行なう割込み
送信回路30が設けられるとともに、これらを選択する
切換スイッチS,,S2が設けられ、さらに入力回路1
1と上記割込み送信回路30との間に第5、第6のメモ
リ31,32が設けられたことにあり、一方、受信側に
おいては受信回路部として、第3図で示した受信回路1
9の他に割込みに関する受信動作を行なう割込み受信回
路33が設けられるとともに、これらを選択する切換ス
イッチS3,S4が設けられ、さらに上記割込み受信回
路33と出力回路22との間に第7、第8のメモリ34
,35が設けられたことにある。なお、以下においては
上託送信回路12を通常送信回路12といい、受信回路
19を通常受信回路19という。上記のような構成にお
いて、次にその動作を説明する。
FIG. 5 shows the configuration of a data transmission device according to the present invention, and the same parts as in FIG. 3 are given the same reference numerals, and the explanation of the overlapping parts will be omitted. The difference between FIG. 5 and FIG. 3 is that on the transmitting side, in addition to the transmitting circuit 12 shown in FIG. 3, an interrupt transmitting circuit 30 that performs a transmitting operation related to interrupts is provided as a transmitting circuit section. Selector switches S, , S2 are provided for selection, and input circuit 1
1 and the interrupt transmission circuit 30, and on the other hand, on the receiving side, the receiving circuit 1 shown in FIG.
In addition to 9, an interrupt receiving circuit 33 that performs a receiving operation regarding interrupts is provided, as well as changeover switches S3 and S4 for selecting these. 8 memory 34
, 35 were established. Note that, hereinafter, the entrusted transmission circuit 12 will be referred to as the normal transmission circuit 12, and the reception circuit 19 will be referred to as the normal reception circuit 19. The operation of the above configuration will now be described.

通常のデータ伝送の場合は、送信側および受信側の切換
スイッチS,〜S4はともに端子a側にあり、この場合
は第3図により説明した割込み3のない通常のデータ伝
送動作と全く同じ動作を行なうので、ここではその動作
説明は省略する。以下、割込み要求が発生した場合の動
作について第6図を参照して説明する。割込み要求が発
生し、時刻Liで割込み信号B3が入ったとすると、切
換スイッチS,が端子b側に功換わり、入力回路11で
そのときプロセス入力している通常のデータブロック(
ここではデータフロックA4)のプロセス入力動作を中
断して、割込みに関するデータのプロセス入力を入力回
路141で読込んで第5のメモリ31に記憶させる。
In the case of normal data transmission, the changeover switches S and ~S4 on the transmitting side and receiving side are both on the terminal a side, and in this case, the operation is exactly the same as the normal data transmission operation without interrupt 3 as explained in Fig. 3. Therefore, the explanation of its operation will be omitted here. The operation when an interrupt request occurs will be described below with reference to FIG. When an interrupt request occurs and an interrupt signal B3 is input at time Li, the selector switch S switches to the terminal b side, and the input circuit 11 outputs the normal data block (
Here, the process input operation of data block A4) is interrupted, and the input circuit 141 reads the process input of data related to the interrupt and stores it in the fifth memory 31.

この第5のメモリ31への上記割込みに関するデータ1
ブロック分の記憶動作を終了すると、その記憶内容を第
6のメモリ32に転送する。この転送動作が終了すると
、切換スイッチS,を再び元の状態(端子a側)に切換
えて、この割込み動作のために中断された通常のデータ
ブロック(データブロックA4)のプロセス入力動作を
中断された以降の分について続行する。一方、通常送信
回路12においては、入力回路11で既に読取られたデ
ータブロックへの情報のうち、中断された部分のキャラ
クタのあとに、伝送中断信号(以下ETX符号という)
とBCC符号を伝送し、この後、スイッチS2を端子b
側に切換える。
Data 1 regarding the above-mentioned interrupt to this fifth memory 31
When the storage operation for the block is completed, the storage contents are transferred to the sixth memory 32. When this transfer operation is completed, the changeover switch S is switched back to its original state (terminal a side), and the process input operation of the normal data block (data block A4) that was interrupted due to this interrupt operation is interrupted. Continue for subsequent minutes. On the other hand, in the normal transmission circuit 12, a transmission interruption signal (hereinafter referred to as ETX code) is sent after the character of the interrupted part of the information for the data block already read by the input circuit 11.
After that, switch S2 is connected to terminal b.
switch to the side.

そして、割込み送信回路30では、第6のメモリ32の
記憶されている割込み伝送1ブロック分の情報を伝送す
る。
Then, the interrupt transmitting circuit 30 transmits the information for one block of interrupt transmission stored in the sixth memory 32.

この伝送が終了すると切換スイッチS2が元の状態(端
子a側)に戻り、中断された上記通常伝送1ブロック(
データブロックへ)の残りを引続いて伝送する。一方、
受信側においては、上託送信側から送られてくるデータ
信号のうち、ETX符号を受信し、このETX符号を受
信したのち、BCC符号を検出すると直ちに切換スイッ
チS3を端子b側に切換え、割込み受信回路33により
上記割込みデータ1ブロック分を第7のメモリ34に記
憶させる。
When this transmission is completed, the selector switch S2 returns to its original state (terminal a side), and the interrupted normal transmission 1 block (
The remainder of the data block) is subsequently transmitted. on the other hand,
On the receiving side, among the data signals sent from the entrusted sending side, the ETX code is received, and after receiving this ETX code, when the BCC code is detected, the selector switch S3 is immediately switched to the terminal b side, and an interrupt is generated. The reception circuit 33 causes the seventh memory 34 to store one block of the interrupt data.

この記憶動作が終了すると、その記憶内容を第8のメモ
リ35に転送する。この転送動作が終了すると、切換ス
イッチS3を元の状態(端子a側)に戻して引き続いて
受信される通常のデータフロック(データプロックん)
の残りの部分の受信動作を行ない、その情報を第3のメ
モリ201こ記憶させ、この記憶動作が終了するとその
記憶内容を第4のメモリ21に記憶させる。また、切換
スイッチS3を上記したように元の状態に戻す動作が行
なわれると、これと同時に切換スイッチS4が端子b側
に切換わる。したがって、出力回路22は第8のメモリ
35の記憶内容を読出して出力する。この出力動作が終
了すると、切換スイッチS4を元の状態(端子a側)に
戻して、引き続き第4のメモリ21に記憶されている内
容すなわち中断されているデータブロックA4の残りの
部分を出力する。上記した動作を示すものが第6図であ
り、この第6図からも明らかなように、割込みデータB
が入ると、現在データ処理中のデータブロック(データ
ブロックへ)の処理を中断して、この割込みデータBを
優先して送るような動作を行なう。
When this storage operation is completed, the stored contents are transferred to the eighth memory 35. When this transfer operation is completed, the changeover switch S3 is returned to the original state (terminal a side) and the normal data block (data block) to be subsequently received is returned.
The receiving operation for the remaining part is performed, and the information is stored in the third memory 201, and when this storage operation is completed, the stored contents are stored in the fourth memory 21. Further, when the changeover switch S3 is returned to its original state as described above, the changeover switch S4 is simultaneously switched to the terminal b side. Therefore, the output circuit 22 reads and outputs the stored contents of the eighth memory 35. When this output operation is completed, the changeover switch S4 is returned to its original state (terminal a side), and the content stored in the fourth memory 21, that is, the remaining part of the interrupted data block A4, is outputted. . FIG. 6 shows the above operation, and as is clear from FIG. 6, the interrupt data B
When this occurs, the processing of the data block (to the data block) currently being processed is interrupted, and an operation is performed in which this interrupt data B is sent with priority.

したがって、上記割込みデータBは割込んだ時点(ti
)から出力回路22で出力されるまでの伝送遅れは、割
込みデータBの4ブロック分に相当する時間だけとなり
、これはほとんど無視できる時間である。ところで上記
した方式を実現させるには、受信側では第7図のような
回路を必要とする。
Therefore, the above interrupt data B is at the time of interrupt (ti
) until it is output from the output circuit 22 is only a time corresponding to four blocks of interrupt data B, which is a time that can be almost ignored. By the way, in order to realize the above-described system, a circuit as shown in FIG. 7 is required on the receiving side.

第7図の回路はフリツプフロツブFF,,FF2、アン
ド回路AND,,AND2とから構成されており、この
回Z路は通常に伝送する項目(ワード)に含まれるある
特定の項目を割込み伝送においても伝送する場合のもの
である。ただし、通常の伝送を行なう項目と割込み伝送
を行なう項目とが完全に分離されている場合には、この
回路は不要となる。しかしながら、テレメータなどの場
合には、伝送する必要のある項目は全て一定のサイクル
で送信し、受信側で一定時間毎に受信するかを検出し、
一定時間経過しても受信できないときには、データ欠側
とする方式が一般的である。そこで、割込み伝送は通常
伝送のデータブロックを中断してのデータ伝送となるた
めに、入力回路11で謙込まれたプロセス入力がシーケ
ンシヤルにプロセス出力されない。このため、後で読込
まれたプロセス入力情報が、先に謙取られた同一点のプ
ロセス入力情報より先にプロセス出力されてしまうこと
になる。したがって、割込み伝送された情報のあとに受
信した通常伝送のデータブロックに含まれる情報をプロ
セス出力しないようにするか、または割込み伝送時に受
信した情報をあたかも通常受信したものとみなして、こ
の値をプロセス出力する方式を採用している。第8図は
この方式による動作の流れを示す図である。第8図aは
特定ワードの受信周期、同図bは通常受信周期、同図c
は割込み受信信号、同図dはフリツプフロツプFF,の
セットQ出力、同図eはフリツプフロツプFF2のセッ
ト出力Q出力、同図fはプロセス出力であり、同図にお
いて、7で示すタイミングではプロセス出力しないか、
または前回のプロセス出力値と同じものを出力する。な
お、上記実施例では割込み伝送は通常伝送のデータブロ
ックを中断して伝送するような動作について説明したが
、必ずしも通常伝送のデータブロックを中断して伝送す
るとは限らない。
The circuit shown in FIG. 7 is composed of flip-flops FF, FF2 and AND circuits AND, , AND2. This is for transmission. However, if the items for normal transmission and the items for interrupt transmission are completely separated, this circuit is unnecessary. However, in the case of a telemeter, etc., all items that need to be transmitted are transmitted in a fixed cycle, and the receiving side detects whether or not they are received at fixed intervals.
If the data cannot be received even after a certain period of time has elapsed, it is generally assumed that the data is missing. Therefore, since the interrupt transmission is a data transmission that interrupts a data block of normal transmission, the process input input by the input circuit 11 is not sequentially output as a process output. Therefore, the process input information that is read later is outputted in the process before the process input information of the same point that is captured earlier. Therefore, either the information contained in the data block of normal transmission received after the information transmitted with an interrupt is not output to the process, or the information received during the interrupt transmission is treated as if it had been received normally, and this value is changed. A process output method is adopted. FIG. 8 is a diagram showing the flow of operation according to this method. Figure 8a shows the reception cycle of a specific word, Figure 8b shows the normal reception cycle, and Figure 8c shows the reception cycle of a specific word.
d is the set Q output of flip-flop FF, d is the set Q output of flip-flop FF2, f is the process output, and f is the process output. mosquito,
Or output the same value as the previous process output value. In the above embodiments, interrupt transmission has been described with respect to an operation in which a data block of normal transmission is interrupted and transmitted, but it is not always necessary to interrupt and transmit a data block of normal transmission.

タイミングによっては、通常伝送のデータブロックとデ
ータブロックとの間に入ることもあり得る。このような
場合には、送信側における入力および送信動作は、第6
図で示したような動作を行なうが、受信側における受信
および出力動作はETX符号が検出できないため、第4
図に示すような処理となってしまう。そこで、伝送開始
テキスト符号として、通常伝送時におけるSTX符号に
対応した符号たとえばETX符号を設け、通常伝送のデ
ータブロックと割込み伝送によるデータブロックとを上
記テキスト符号で分離するようにすれば、受信回路では
、従来のETX符号により、スイッチS3を切換えるこ
とば勿論のこと、ETX′符号を受信した場合にも、ス
イッチS3を切換えて割込み受信を行なうことができる
。以上説明したようにこの発明によれば、装置間でブ。
Depending on the timing, it may occur between data blocks of normal transmission. In such a case, the input and transmission operations on the transmitting side are
The operation shown in the figure is performed, but since the ETX code cannot be detected in the reception and output operations on the receiving side, the fourth
The process will be as shown in the figure. Therefore, if a code corresponding to the STX code during normal transmission, such as an ETX code, is provided as the transmission start text code, and the data block for normal transmission and the data block for interrupt transmission are separated by the text code, the receiving circuit Now, with the conventional ETX code, not only can switch S3 be switched, but also when an ETX' code is received, interrupt reception can be performed by switching switch S3. As explained above, according to the present invention, there is no interruption between devices.

ック単位にデータ伝送を行なうものにおいて、その送信
側および受信側に、通常送信部、割込み送信部、通常受
信部、割込み受信部を設け、これら送信部、受信部を切
換手段により、割込み要求が発生した場合、通常のデー
タ伝送を中断して割込み送信部、割込み受信部を通して
割込み要求に関する割込みデータを最優先に伝送するよ
うにしたので、割込み要求が発生してからのこの割込み
要求に関する割込みデータが着信するまでの時間を最短
とし、非常時における割込み伝送を効率良く行なうこと
ができ、特にテレメータなどの如く、比較的伝送スピー
ドの遅いシステムなどにおいて有効なデータ伝送装置を
提供できる。
In devices that transmit data in units of blocks, a normal transmitting section, an interrupt transmitting section, a normal receiving section, and an interrupt receiving section are provided on the transmitting side and the receiving side, and these transmitting sections and receiving sections are connected to each other by a switching means to handle interrupt requests. When this occurs, normal data transmission is interrupted and the interrupt data related to the interrupt request is transmitted with the highest priority through the interrupt transmitting section and the interrupt receiving section. It is possible to minimize the time it takes for data to arrive, to efficiently perform interrupt transmission in an emergency, and to provide a data transmission device that is particularly effective in systems with relatively slow transmission speeds, such as telemeters.

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

第1図aはデータブロックの構成図を示す図、第1図b
は複数のデータブロックから構成されたデータの構成例
を示す図「第2図は第1図bのデータに割込みデータを
割込ませてなるデータの構成例を示す図、第3図は従来
のデータ伝送方式の一構成例を示すブロック図、第4図
は従来のデータ伝送方式の動作を示すタイミングチャー
ト、第5図は本発明に係るデータ伝送装置の一実施例を
示す構成図、第6図は同実施例の動作を示すタイ0ミン
グチャート、第7図は同実施例において受信側で必要と
する回路を示すブロック図、第8図は第7図の回路によ
る動作を示すタイミングチャ−トである。 11・・・・・・入力回路、12・・・・・・通常送信
回路、I4……第1のメモリ、15……第2のメモリ、
19・・・・・・通常受信回路、20…・・・第3のメ
モリ、21・・・・・・第4のメモリ、22・・・・・
・出力回路、30・・・・・・割込み送信回路、31・
・・・・・第5のメモリ、32・・・・・・第6のメモ
リ、33・・・・・・割込み受信回路、34……第7の
メモリ、35……第8のメモリ、S,〜S4・・・・・
・切換スイッチ。 第1図 第2図 第3図 第4図 第5図 第6図 第7図 第8図
Figure 1a is a diagram showing the configuration of a data block, Figure 1b
Figure 2 is a diagram showing an example of a data configuration made up of multiple data blocks; Figure 2 is a diagram showing an example of a data configuration obtained by inserting interrupt data into the data in Figure 1b, and Figure 3 is a diagram showing a conventional FIG. 4 is a block diagram showing an example of a configuration of a data transmission system; FIG. 4 is a timing chart showing the operation of a conventional data transmission system; FIG. 5 is a configuration diagram showing an embodiment of a data transmission device according to the present invention; The figure is a timing chart showing the operation of the same embodiment, FIG. 7 is a block diagram showing the circuit required on the receiving side in the same embodiment, and FIG. 8 is a timing chart showing the operation of the circuit of FIG. 11... Input circuit, 12... Normal transmission circuit, I4... First memory, 15... Second memory,
19... Normal receiving circuit, 20... Third memory, 21... Fourth memory, 22...
・Output circuit, 30... Interrupt transmission circuit, 31.
...Fifth memory, 32...Sixth memory, 33...Interrupt receiving circuit, 34...Seventh memory, 35...Eighth memory, S ,~S4...
・Choice switch. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 1 複数のブロツクで構成されるデータの伝送を行なう
データ伝送装置において、前記データを取込む入力回路
からの前記データを通常時に送信する通常送信部と、前
記入力回路からの割込みデータを送信する割込み送信部
と、割込み要求の発生により切換わり前記入力回路から
のデータを前記割込み送信部に送り、かつ前記割込み送
信部からの割込みデータを送出させる送信側切換手段と
から構成される送信側と、この送信側から通常時に送ら
れてくるデータを受信する通常受信部と、前記送信側か
らの割込みデータを受信する割込み受信部と、前記送信
側手段からのデータに基づいて前記割込みデータを示す
信号が検出したときに切換わり前記送信側からの割込み
データを前記割込み受信部に送り、かつ前記割込み受信
部からの割込みデータを出力回路に送る受信側切換手段
とを具備し、通常は前記通常送信部を通して送信すると
ともに通常受信部で受信し、割込み要求の発生により前
記送信側切換手段が切換って割込みデータを、前記通常
のデータを中断して前記割込み送信部を通して送信する
とともに、前記受信側切換手段により割込みデータを割
込み受信部で受信し、その後前記中断された通常のデー
タの伝送を行なうことを特徴とするデータ伝送装置。
1. In a data transmission device that transmits data composed of a plurality of blocks, there is a normal transmitter that transmits the data from an input circuit that takes in the data in normal times, and an interrupt that transmits interrupt data from the input circuit. a transmitting side comprising a transmitting section, and a transmitting side switching means that is switched in response to generation of an interrupt request to send data from the input circuit to the interrupt transmitting section and transmit interrupt data from the interrupt transmitting section; a normal receiving section that receives data normally sent from the transmitting side; an interrupt receiving section that receives interrupt data from the transmitting side; and a signal indicating the interrupt data based on the data from the transmitting side. receiving side switching means that switches when the normal transmitting side is detected and sends the interrupt data from the transmitting side to the interrupt receiving section, and sends the interrupt data from the interrupt receiving section to the output circuit. When an interrupt request occurs, the transmitting side switching means switches to interrupt the normal data and transmit the interrupt data through the interrupt transmitting unit, and the receiving side A data transmission device, characterized in that the interrupt data is received by the interrupt receiving section by the switching means, and then the interrupted normal data is transmitted.
JP54161248A 1979-12-12 1979-12-12 data transmission equipment Expired JPS607864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54161248A JPS607864B2 (en) 1979-12-12 1979-12-12 data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54161248A JPS607864B2 (en) 1979-12-12 1979-12-12 data transmission equipment

Publications (2)

Publication Number Publication Date
JPS5684058A JPS5684058A (en) 1981-07-09
JPS607864B2 true JPS607864B2 (en) 1985-02-27

Family

ID=15731462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54161248A Expired JPS607864B2 (en) 1979-12-12 1979-12-12 data transmission equipment

Country Status (1)

Country Link
JP (1) JPS607864B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227679U (en) * 1985-08-02 1987-02-19

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227679U (en) * 1985-08-02 1987-02-19

Also Published As

Publication number Publication date
JPS5684058A (en) 1981-07-09

Similar Documents

Publication Publication Date Title
US4995056A (en) System and method for data communications
US4377843A (en) Data distribution interface
JPS607864B2 (en) data transmission equipment
US4065639A (en) Synchronous transmission control system
JP2682407B2 (en) Paging system controller
JPH02179046A (en) Signal encoding system
JPS58225756A (en) Serial data communication device
JPH0234518B2 (en)
JPS615361A (en) Communication interface circuit
JP2613971B2 (en) Serial transfer method
JPH0126213B2 (en)
JPS5995643A (en) Interruption data transfer system
JPS60157354A (en) Communication controller
JPH0343657B2 (en)
EP1150449A1 (en) A method and apparatus for reducing data communication in an RDS TMC message environment
JPH079470Y2 (en) Asynchronous / synchronous code converter
JPS6124739B2 (en)
JPH0388446A (en) Polling system
JPH0285947A (en) Data transmission system
JPS6281852A (en) Communication terminal equipment
JPS6326758A (en) Packet communication equipment by dynamic polling
JPH0210624B2 (en)
JPH0576821B2 (en)
JPS62123541A (en) Control system for reception data buffer
JPS5857942B2 (en) Transmission control procedure selection method for communication control equipment