JPH01251937A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH01251937A
JPH01251937A JP63078653A JP7865388A JPH01251937A JP H01251937 A JPH01251937 A JP H01251937A JP 63078653 A JP63078653 A JP 63078653A JP 7865388 A JP7865388 A JP 7865388A JP H01251937 A JPH01251937 A JP H01251937A
Authority
JP
Japan
Prior art keywords
data
answer
data transmission
transmission line
sent
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
JP63078653A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hirai
平井 利之
Tadashi Saito
正 斎藤
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 Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP63078653A priority Critical patent/JPH01251937A/en
Publication of JPH01251937A publication Critical patent/JPH01251937A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To certainly transmit data in a simple algorithm by sending an answer to a signal sent from an opposite side specific times. CONSTITUTION:Transmission side equipment 2 is connected with reception side equipment 6 through a transmission line 4 and the equipments 2 and 6 are respectively constituted of, for example, computers, terminal equipment, etc. The transmission line 4 is constituted of a directly managed transmission line, transmission line of a telecommunication company, etc. When a signal sent from an opposite side is received, an answer is made to the opposite side, but the answer is outputted several times. Therefore, even if the answer is changed by the influence of noises, etc., in the transmission line 4, the answer can be decided and the communication can be continued, if one of the plural answer outputs is received by the opposite side. Thus communication can be carried out certainly in the simple algorithm.

Description

【発明の詳細な説明】 〔産業上の利用分野] 本発明は有手順でデータの伝送を行うデータ伝送方式に
関し、特に誤り訂正機能がな(ても外乱のある環境下で
確実にデータの伝送ができるデータ伝送方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data transmission method that transmits data in a procedural manner, and in particular, to a data transmission method that transmits data reliably even in an environment with disturbances even without an error correction function. This relates to a data transmission method that allows for

〔従来の技術〕[Conventional technology]

従来のこの種のデータ伝送方式は、送信側装置と受信側
装置との間でデータの伝送を行う場合、■送信側装置か
らENQ (通信データあり)を受信側装置に送出し、
■これを受信した受信側装置がデータ受信可能のときに
ACK (送信許可)の肯定応答を送信側装置に送出し
、■これを受信した送信側装置が送信データD7やその
他のデータ(ETX (ETB) )を受信側装置に送
出し、■以後■〜■を繰り返すことにより、複数のデー
タD1の伝送を行い、■最後に送信側装置からEOT(
転送終了)を受信側装置に送り込むことによりデータ伝
送を終了する。また、かかるデータ伝送方式は、送信側
装置と受信側装置との間でデータの伝送を行う場合、■
送信側装置からENQ(通信データあり)を受信側装置
に送出し、■これを受信した受信側装置が何らかの原因
(例えば、装置の故障等)でデータ受信が不可能のとき
にNAK(送信不可)の否定応答を送信側装置に送出す
ることにより通信を終了する。このようにデータ伝送方
式は、有手順でデータ伝送するものである。
In this type of conventional data transmission method, when transmitting data between a sending device and a receiving device, ■ the sending device sends an ENQ (with communication data) to the receiving device;
■When the receiving device that received this is able to receive data, it sends an ACK (transmission permission) acknowledgment to the transmitting device, and ■The sending device that received this transmits data D7 and other data (ETX ( ETB)) is sent to the receiving device, and by repeating ■~■, multiple pieces of data D1 are transmitted.Finally, the transmitting device sends EOT(
The data transmission is ended by sending a message (transfer complete) to the receiving device. In addition, in this data transmission method, when transmitting data between a sending device and a receiving device,
The sending device sends an ENQ (communication data available) to the receiving device, and if the receiving device that receives this is unable to receive data for some reason (such as a device failure), it sends a NAK (unable to send). ) by sending a negative response to the sending device, thereby terminating the communication. In this way, the data transmission method transmits data in a sequential manner.

〔発明が解決しようとする課題] ところで、従来のデータ伝送方式において、誤り訂正機
能が設けられているデータ伝送方式は、そのデータ伝送
路の環境が悪くても、また伝送路や当該装置の一部回路
に不備な点が有ったとしても誤り訂正ができるのでデー
タを確実に伝送することができるという利点があるもの
の、逆にアルゴリズムが複雑になり簡易にデータを伝送
するということができないという大きな欠点がある。
[Problems to be Solved by the Invention] By the way, in conventional data transmission systems, data transmission systems that are equipped with an error correction function cannot be used even if the environment of the data transmission path is bad, or if the transmission path or the device concerned is Although it has the advantage of being able to reliably transmit data because it can correct errors even if there is a flaw in the circuitry, on the other hand, the algorithm becomes complex and it is not possible to easily transmit data. There is a big drawback.

一方、簡易なアルゴリズムのデータ伝送方式によれば、
アルゴリズムは簡単になるものの、そのデータ伝送路等
の環境が悪くて外乱が混入してくると通信ができなくな
ってしまうという欠点がある。
On the other hand, according to the data transmission method using a simple algorithm,
Although the algorithm is simpler, it has the disadvantage that if the environment such as the data transmission path is poor and disturbances are introduced, communication will not be possible.

本発明は、上記従来技術の課題を解決するためになされ
たもので、簡易なアルゴリズムにして確実にデータの伝
送を可能にしたデータ伝送方式を提供することを目的と
する。
The present invention has been made to solve the problems of the prior art described above, and an object of the present invention is to provide a data transmission method that uses a simple algorithm to reliably transmit data.

(課題を解決するための手段〕 上記目的を達成するために、本発明に係るデータ伝送方
式は、有手順でデータの伝送を行うデータ伝送方式にお
いて、相手方から送られてきた信号に対する応答を、所
定回数送出するものである。
(Means for Solving the Problems) In order to achieve the above object, a data transmission system according to the present invention transmits a response to a signal sent from the other party in a data transmission system that transmits data in a procedural manner. It is sent a predetermined number of times.

また、本発明に係る他のデータ伝送方式は、有手順でデ
ータの伝送を行うデータ伝送方式において、相手方から
送られてきた信号に対する応答・を、相手方から次の信
号が送り込まれるまで送出し続けるものである。
Further, another data transmission method according to the present invention is a data transmission method that transmits data in a procedural manner, and continues to send a response to a signal sent from the other party until the next signal is sent from the other party. It is something.

〔作用〕[Effect]

本発明のデータ伝送方式は、相手方から送信されてくる
信号を受信した際に、これに対する応答をするが、その
応答を複数回出力する。これにより、伝送路に雑音等の
影響でその応答が変わったとしても、複数の応答の内の
一つでも受信されれば、その応答に対する判定が可能と
なり、通信を続行することができる。このような本発明
によれば、簡易なアルゴリズムで確実に通信を行うこと
ができる。
In the data transmission system of the present invention, when a signal transmitted from the other party is received, a response is made to the signal, and the response is output multiple times. Thereby, even if the response changes due to the influence of noise or the like on the transmission path, if even one of the plurality of responses is received, the response can be determined and communication can be continued. According to the present invention, communication can be reliably performed using a simple algorithm.

また、本発明の他のデータ伝送方式は、相手方から送ら
れてきた信号に対する応答を、相手方から次の信号が送
り込まれるまで送出しつづけるので、複数の応答の内の
一つでも受信されれば、その応答に対する判定が可能と
なり、通信を続行することができる。このような本発明
によれば、簡易なアルゴリズムで確実に通信を行うこと
ができる。
Furthermore, in another data transmission method of the present invention, a response to a signal sent from the other party continues to be sent until the next signal is sent from the other party, so if even one of the multiple responses is received, , it becomes possible to judge the response and continue communication. According to the present invention, communication can be reliably performed using a simple algorithm.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第1図は本発明に係るデータ伝送方式の実施例を示すタ
イムチャートであり、第2図は同実施例の動作を説明す
るとだに示すフローチャートである。第3図は本発明の
実施例が適用される装置の構成を示すブロック図である
FIG. 1 is a time chart showing an embodiment of the data transmission system according to the present invention, and FIG. 2 is a flow chart showing the operation of the embodiment. FIG. 3 is a block diagram showing the configuration of an apparatus to which an embodiment of the present invention is applied.

第3図において、2は送信側装置であり、この送信側装
置2は、伝送路4を介して受信側装置6に接続されてい
る。送信側装置2及び受信側装置6は、例えばコンピュ
ータや端末装置等で構成される。また、伝送路4は、直
営伝送回線や電気通信事業者による伝送回線等で構成さ
れる。そして、送信側装置2及び受信側装置6を前記回
線に接続するときには、必要に応じてモデム等の通信装
置を使用する。また、本発明のデータ伝送方式は、送信
側装置2及び受信側装置6に内蔵する処理手段により実
現されることになる。
In FIG. 3, 2 is a transmitting device, and this transmitting device 2 is connected to a receiving device 6 via a transmission path 4. In FIG. The transmitting side device 2 and the receiving side device 6 are composed of, for example, a computer, a terminal device, or the like. Further, the transmission line 4 is configured of a directly managed transmission line, a transmission line provided by a telecommunications carrier, or the like. When connecting the transmitting side device 2 and the receiving side device 6 to the line, a communication device such as a modem is used as necessary. Further, the data transmission method of the present invention is realized by processing means built into the transmitting side device 2 and the receiving side device 6.

このように構成された実施例の作用を説明する。The operation of the embodiment configured in this way will be explained.

〈正常の場合〉 正常動作の場合、第1図(Hに示すようなタイムチャー
トとなる。
<Normal Case> In the case of normal operation, the time chart will be as shown in FIG. 1 (H).

すなわち、送信側装置2及び受信側装置6が、スタート
する。各送信側装置2及び受信側装置6は、まずレディ
チエツクする(ステップ1OO1200)、ついで、送
信側装置2がステップ100を処理した後に、 ■送信側装置2からENQ (通信データあり)を受信
側装置6に送出する。
That is, the sending device 2 and the receiving device 6 start. Each sending device 2 and receiving device 6 first performs a ready check (step 1OO1200), and then, after the sending device 2 processes step 100, ■ ENQ (with communication data) is sent from the sending device 2 to the receiving device. Send to device 6.

■このENQ (通信データあり)を受信した受信側装
置6は、ステップ201でデータの受信が可能か否か判
定し、データ受信可能のときにはACK(送信許可)の
肯定応答を例えば5 (mS)毎に三回だけ受信側装置
6に送出しくステン1202〜205)、データ受信待
ちとなる(ステップ206.207)。
■The receiving device 6 that has received this ENQ (communication data available) determines whether or not data can be received in step 201, and if it is able to receive data, it sends an ACK (transmission permission) acknowledgment in 5 (mS), for example. The data is sent to the receiving device 6 three times each time (steps 1202 to 205) and waits for data reception (steps 206 and 207).

■一方、前記肯定応答の内の一つでも受信すると送信側
装置2は送信データDと他の制御データ(ETB)を受
信側装置6に送出する(ステップ102〜104)。
(2) On the other hand, if any one of the acknowledgments is received, the transmitting device 2 sends the transmission data D and other control data (ETB) to the receiving device 6 (steps 102 to 104).

■以後■〜■を繰り返すことにより、複数のデータDの
伝送を行う(送信側装置2はステップ102〜104の
処理を、受信側装置6はステップ207〜213)。
(2) After that, by repeating (2) to (4), a plurality of data D is transmitted (the transmitting device 2 processes steps 102 to 104, and the receiving device 6 processes steps 207 to 213).

■送信側装置2が全データDを送出した後に制御データ
ETXを送信する(ステップ105)。
(2) After sending all the data D, the sending device 2 sends the control data ETX (step 105).

■受信側装置6は、制御データETXを受信すると、肯
定応答を出力する(ステップ214〜219)。
(2) Upon receiving the control data ETX, the receiving device 6 outputs an affirmative response (steps 214 to 219).

■最後に送信側装置2からEOT (転送終了)を送信
しくステップ105)、受信側装置6がEOT(転送終
了)を受信しくステップ220)、ステップ225の処
理をしてからそれぞれ処理を終了する。
■Finally, the sending device 2 sends the EOT (end of transfer) in step 105), the receiving device 6 receives the EOT (end of transfer) in step 220), and steps 225, and then end the processing. .

〈異常の場合〉 この異常動作の場合には、第1図(n)に示すようなタ
イムチャートとなる。
<In the case of abnormality> In the case of this abnormal operation, the time chart will be as shown in FIG. 1(n).

すなわち、各送信側装置2及び受信側装置6が、レディ
チエツクをしくステップ100.200)、送信側装置
2がステップ100を処理した後に、■送信側装置2か
らENQ (通信データあり)を受信側装置6に送出す
る。
That is, after each sending device 2 and receiving device 6 performs a ready check (steps 100 and 200), and after the sending device 2 processes step 100, ■receives ENQ (communication data available) from the sending device 2. It is sent to the side device 6.

■このENQ (通信データあり)を受信した受信側装
置6は、ステップ201でデータの受信が可能か否か判
定し、何らかの原因(例えば、装置の故障等)でデータ
受信が不可能のときにはNAK(送信不可)の否定応答
を例えば5 (mS)毎に三回だけ受信側装置6に送出
しくステップ221〜224)、処理を終了する。
■The receiving device 6 that has received this ENQ (communication data available) determines whether or not it is possible to receive data in step 201, and if it is not possible to receive data due to some reason (for example, a device failure), it sends a NAK. A negative response (transmission not possible) is sent to the receiving device 6 three times, for example, every 5 (mS) (steps 221 to 224), and the process ends.

なお、上記実施例では、応答の回数をN=3としたが、
これに限らず当該システムでの伝送の速度と確実度との
兼ね合い等からNを適正な値に選択する必要がある。ま
た、上記実施例で、時間間隔を5 (ms)としたが、
この間隔もこれに限らずシステムに適正なものを選べば
よい。
In addition, in the above example, the number of responses was set to N=3, but
Not only this, but it is necessary to select an appropriate value for N based on the balance between transmission speed and reliability in the system. In addition, in the above example, the time interval was set to 5 (ms), but
This interval is not limited to this and may be selected as appropriate for the system.

かかる実施例によれば、簡単なアルゴリズムで確実にデ
ータ伝送が可能となる。
According to this embodiment, data transmission can be reliably performed using a simple algorithm.

第4図は本発明の他の実施例を説明するために示すタイ
ムチャートであり、第5図は同実施例のフローチャート
である。
FIG. 4 is a time chart shown to explain another embodiment of the present invention, and FIG. 5 is a flow chart of the same embodiment.

この実施例も第3図に示す送信側装置2及び受信側装置
6に内蔵する処理手段により実現されることになる。
This embodiment is also realized by processing means built into the transmitting side device 2 and the receiving side device 6 shown in FIG.

この実施例が上記第1図及び第2図に示す実施例と異な
るところは、ステップ208〜212を次のようにした
点にある。すなわち、データDの受信をした後に(ステ
ップ300)、一定時間間隔(ここでは10(mS)と
する)で送信側装置2から次のデータDが送り込まれて
くるまで、応答を送り続けるように動作させたものであ
る(ステップ301〜303)。
This embodiment differs from the embodiments shown in FIGS. 1 and 2 above in that steps 208 to 212 are performed as follows. That is, after data D is received (step 300), responses are continued to be sent at fixed time intervals (here, 10 (mS)) until the next data D is sent from the sending device 2. This is what was operated (steps 301 to 303).

このようにすると、例えば第4図に示すように、受信側
装置6がデータD、を受信後(時刻も1〜t2)、応答
を出し続け(tz〜t、)、応答が三回目で送信側装置
2からのデータD2を受信したので(ti、応答の送信
を停止する。再び、データD、の受信が終了したので(
t3)、受信側装置6は応答を送出する(tn〜ts)
。しかしながら、受信側装置6は、時刻り、において、
データD3を受信するので、このときは直ちに応答の送
信を終了する。
In this way, for example, as shown in FIG. 4, after the receiving device 6 receives the data D (times 1 to t2), it continues to send responses (tz to t,), and the response is sent for the third time. Since the data D2 from the side device 2 has been received (ti, stop sending the response. Once again, the reception of the data D has been completed, so (ti)
t3), the receiving device 6 sends a response (tn~ts)
. However, the receiving device 6, at the time,
Since data D3 is received, the response transmission is immediately terminated at this time.

本実施例は、受信側装置6から一定時間間隔で応答を出
し続け、受信側装置6がデータDを受信したときに応答
の送信を終了するようにしたものである。
In this embodiment, the receiving device 6 continues to send responses at fixed time intervals, and when the receiving device 6 receives the data D, the response transmission ends.

上記実施例で、時間間隔を10(mS)としたが、この
間隔もこれに限らずシステムに適正なものを選べばよい
In the above embodiment, the time interval is set to 10 (mS), but this interval is not limited to this and may be selected as appropriate for the system.

かかる実施例によれば、簡単なアルゴリズムで確実にデ
ータ伝送が可能となる。
According to this embodiment, data transmission can be reliably performed using a simple algorithm.

〔発明の効果] 以上述べたように本発明によれば、簡易なアルゴリズム
で確実に通信を行うことができるという効果がある。
[Effects of the Invention] As described above, according to the present invention, there is an effect that communication can be reliably performed using a simple algorithm.

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

第1図は本発明の詳細な説明するために示すタイムチャ
ート、第2図は同実施例を説明するためのフローチャー
ト、第3図は同実施例が適用される装置の構成例を示す
ブロック図、第4図は同地の実施例を説明するために示
すタイムチャート、第5図は同地の実施例を説明するた
めのフローチャートである。 2・・・送信側装置、4・・・伝送路、6・・・受信側
装毘代理人 弁理士 村 上 友 − E          SS N       TQnT Q         XB 、 (■: ^ 4ど2 5m!y 1 図 工)
FIG. 1 is a time chart shown to explain the present invention in detail, FIG. 2 is a flowchart to explain the embodiment, and FIG. 3 is a block diagram showing an example of the configuration of a device to which the embodiment is applied. , FIG. 4 is a time chart shown to explain the embodiment at the same place, and FIG. 5 is a flowchart to explain the embodiment at the same place. 2... Sending side device, 4... Transmission line, 6... Receiving side installation agent Patent attorney Tomo Murakami - E SS N TQnT Q )

Claims (2)

【特許請求の範囲】[Claims] (1)有手順でデータの伝送を行うデータ伝送方式にお
いて、相手方から送られてきた信号に対する応答を、所
定回数送出することを特徴とするデータ伝送方式。
(1) A data transmission method in which data is transmitted in a controlled manner, and the data transmission method is characterized in that a response to a signal sent from the other party is sent a predetermined number of times.
(2)有手順でデータの伝送を行うデータ伝送方式にお
いて、相手方から送られてきた信号に対する応答を、相
手方から次の信号が送り込まれるまで送出し続けること
を特徴とするデータ伝送方式。
(2) A data transmission system that transmits data in a sequential manner, and is characterized in that a response to a signal sent from the other party continues to be sent until the next signal is sent from the other party.
JP63078653A 1988-03-31 1988-03-31 Data transmission system Pending JPH01251937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63078653A JPH01251937A (en) 1988-03-31 1988-03-31 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63078653A JPH01251937A (en) 1988-03-31 1988-03-31 Data transmission system

Publications (1)

Publication Number Publication Date
JPH01251937A true JPH01251937A (en) 1989-10-06

Family

ID=13667818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63078653A Pending JPH01251937A (en) 1988-03-31 1988-03-31 Data transmission system

Country Status (1)

Country Link
JP (1) JPH01251937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001043065A1 (en) * 1999-12-07 2001-06-14 Datamars Sa Method for operating a transponder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001043065A1 (en) * 1999-12-07 2001-06-14 Datamars Sa Method for operating a transponder
US6753759B2 (en) 1999-12-07 2004-06-22 Datamars Sa Method for operating a transponder

Similar Documents

Publication Publication Date Title
JPH01251937A (en) Data transmission system
JPH01834A (en) Full duplex communication method
JPH0530115A (en) Polling system
JPS63108828A (en) Monitoring method for digital line
JPS6239929A (en) Data transmission equipment
JPS5829243A (en) Signal monitoring device of transmission system
JPS5810899B2 (en) Unidirectional broadcast communication method
JPS62109441A (en) Data transmission system
JPH05235951A (en) Information distribution system
JPS61100035A (en) Data transmission system
JPS5880948A (en) Circuit control processor
JPS62241452A (en) Circuit test system
JPS60226251A (en) Data retransmitting system
JPS63221797A (en) Remote supervisory and controlling system
JPS58198941A (en) Simple data transmitter
JPS62281628A (en) Data communication equipment
JPS62299148A (en) Matching system for transmission speed
JPH01118939A (en) Health check system for remote supervision system
JPS63133727A (en) Data retransmission system
JPH07311728A (en) Simultaneous transmission system for data
JPS63284941A (en) Terminal equipment
JPH01108833A (en) Loop back test control system for transmission line
JPS63206043A (en) Transmittal acknowledgement equipment in loop network
JPH02159142A (en) Communication test system
JPH03283939A (en) Atm cell check system