[go: up one dir, main page]

JPS6120444A - Data transferring system by infrared rays - Google Patents

Data transferring system by infrared rays

Info

Publication number
JPS6120444A
JPS6120444A JP59140047A JP14004784A JPS6120444A JP S6120444 A JPS6120444 A JP S6120444A JP 59140047 A JP59140047 A JP 59140047A JP 14004784 A JP14004784 A JP 14004784A JP S6120444 A JPS6120444 A JP S6120444A
Authority
JP
Japan
Prior art keywords
data
data block
infrared rays
receiver
transmitter
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
JP59140047A
Other languages
Japanese (ja)
Inventor
Kozo Tagawa
浩三 田川
Takeshi Koike
健 小池
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP59140047A priority Critical patent/JPS6120444A/en
Publication of JPS6120444A publication Critical patent/JPS6120444A/en
Pending 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/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/14Arrangements for detecting or preventing errors in the information received by using return channel in which the signals are sent back to the transmitter to be checked ; echo systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Optical Communication System (AREA)

Abstract

PURPOSE:To improve the reliability of a data transfer by executing an error check of a received block, transferring a data block as it is to a transmitter by infrared rays if it is correct, comparing the transferred data block with a correct data block, transferring its correct data block to a receiver again by infrared rays if there is an error, and transferring a data part by restoring the infrared rays even if the infrared rays are cut off temporarily. CONSTITUTION:One data block of a transmitting signal is transferred from a transmitter 3. If the received data block is a definite format, a receiver 4 sets its data part 12 to a buffer of the inside, and transfers the data buffer just as it is to the transmitter 3. The transmitter 3 compares the data part 12 sent from the receiver 4 with the data part which is sent previously, and if they are equal to each other, it is discriminated that the transfer is executed correctly, and the next data block is transferred. If they are different from each other, the previous data block is transferred to the receiver 4 again.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、赤外線によるデータ転送方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data transfer method using infrared rays.

〔従来の技術の説明〕[Description of conventional technology]

従来の赤外線によるデータ転送方式は、送信側からデー
タを受信側に送信中に赤外線を遮断されても送信側はデ
ータを送り続け、受信側は遮断されている間のデータを
受信することができない。
In the conventional infrared data transfer method, even if the infrared rays are cut off while transmitting data from the sender to the receiver, the sender continues to send data, and the receiver cannot receive data while the infrared rays are cut off. .

壕だ、送信中にデータ誤りが発生してもそのまま受信さ
れるため、信頼性が低くなるなどの欠点があった。
However, even if a data error occurs during transmission, it will be received as is, which has the disadvantage of low reliability.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、これらの欠点を除去し、データ通信の
信頼性を向上させる赤外線によるデータ転送方式を提供
することにある。
An object of the present invention is to provide an infrared data transfer method that eliminates these drawbacks and improves the reliability of data communication.

〔発明の構成〕[Structure of the invention]

本発明の赤外線によるデータ転送方式は、送信器から送
信したデータブロックを受信器で受信してエラーチェッ
クし、その結果が正しければそのままのデータブロック
を赤外線により前記送信器に転送し、前記送信器では、
この転送されたデータブロックとこれに対応する正しい
データブロックとを比較してエラーがあれば、その正し
いデータブロックを再度赤外IKより前記受信器に転送
し、前記受信器が受信した2つのデータブロックが互い
に異なりそのエラーチェックの結果が正しければ先行す
るデータブロックを内部に受け取り後行するデータブロ
ックをバッファにセットし、前記受信器が受信した2つ
のデータブロックが互いに同じであれば先行するデータ
ブロックをバッファにセットし、そのデータブロックを
赤外線により前記送信器に転送するようにしたことを特
徴とする。
In the data transfer method using infrared rays of the present invention, a data block transmitted from a transmitter is received by a receiver, an error check is performed, and if the result is correct, the data block is transferred as it is to the transmitter by infrared rays, and the data block is sent to the transmitter. So,
This transferred data block is compared with the corresponding correct data block, and if there is an error, the correct data block is transferred again to the receiver via the infrared IK, and the two data blocks received by the receiver are If the blocks are different from each other and the result of the error check is correct, the preceding data block is received internally and the following data block is set in the buffer, and if the two data blocks received by the receiver are the same, the preceding data block is The data block is set in a buffer, and the data block is transferred to the transmitter by infrared rays.

〔実施例〕〔Example〕

第1図は、本発明の実施例における送信信号データブロ
ックのフォーマットで、スタートビット11とストップ
ビット13にはさ筐れたデータ部12およびエラー修正
のためのフラグ14より構成される。データ部12およ
びフラグ14の各ビットの値は、その幅によって1か0
か区別する。
FIG. 1 shows the format of a transmission signal data block in an embodiment of the present invention, which is composed of a data section 12 inserted in a start bit 11 and a stop bit 13, and a flag 14 for error correction. The value of each bit in the data section 12 and flag 14 is 1 or 0 depending on its width.
distinguish between

第2図は本発明の実施例を示し、lは赤外線ダイオード
、2は赤外線受信モジュールである。送信器3から第1
図のフォーマットによる送信信号の1データブロツクを
転送する。受信器4は受けとったデータブロックが定ま
ったフォーマットであれば、そのデータ部12を内部の
バッファにセットし、そのま甘のデータブロックをそっ
く抄込信器3に転送し、もし受けとったデータブロック
が定まったフォーマットでなければ、そのまま受信待ち
になっている。
FIG. 2 shows an embodiment of the present invention, where l is an infrared diode and 2 is an infrared receiving module. Transmitter 3 to 1st
One data block of the transmission signal in the format shown in the figure is transferred. If the received data block is in a fixed format, the receiver 4 sets the data section 12 in the internal buffer, transfers the data block as it is to the transfer transmitter 3, and if the received data If the block is not in a fixed format, it remains waiting to be received.

送信器3は、受信器4から送られたデータ部12と前に
送ったデータ部12とを比較し、等しければ正しく転送
されたと判断し、次のデータブロックを転送する。もし
受信器4から送られたデータブロックが定まったフォー
マットでないとき、もしくはその送られたデータ部12
が前に送ったデータ部12と比較して異なりでいるとき
には、もう−産前のデータブロックを受信器4に転送す
る。
The transmitter 3 compares the data section 12 sent from the receiver 4 with the previously sent data section 12, and if they are equal, determines that the data was transferred correctly, and transfers the next data block. If the data block sent from the receiver 4 is not in a fixed format, or if the sent data block 12
If it is different from the previously sent data block 12, the prenatal data block is transferred to the receiver 4.

受信器4は、データブロックを受けとると、前にバッフ
ァにセットしたデータ部12が受(5データとして受け
とり、受けとったデータ部12をバッファにセントし、
このデータブロックをそっくり送信器3 K転送し、も
し、受けとったデータ部12が前のデータ部12と同じ
だと、送信器3などでエラーが起ったと判断し、このと
きに受けとったデータ部12の代りに前のデータ部12
をバッファにセットし、そのデータブロックをそっくり
送信器3に転送する。
When the receiver 4 receives the data block, the data section 12 previously set in the buffer receives it as data (5 data), and sends the received data section 12 to the buffer.
This data block is transferred in its entirety to the transmitter 3K, and if the received data section 12 is the same as the previous data section 12, it is determined that an error has occurred in the transmitter 3, etc., and the data section received at this time is Previous data section 12 instead of 12
is set in the buffer and the entire data block is transferred to the transmitter 3.

以上のように受信器4は、データブロックが正しく転送
された時はじめて前のデータ部12がエラーのないデー
タ部12として内部に受けとるわラグ14を利用する。
As described above, the receiver 4 utilizes the lag 14 in which the previous data section 12 is internally received as an error-free data section 12 only when the data block is correctly transferred.

これは、受信器でデータ部12が変るごとに反転される
フラグである。これによって、受信側は、受けとったデ
ータ部12か新しいデータ部12か、エラーのため再び
送られたデータ部12かを一旬断することができる。
This is a flag that is inverted every time the data section 12 changes in the receiver. As a result, the receiving side can temporarily decide whether the received data section 12, the new data section 12, or the data section 12 that was sent again due to an error.

このような転送方式を用いて、コンピュータ相互の通信
を赤外線でできる。また受信器にタイマーをもたせて一
定時間内にデータがこなければバッファにセットされて
いるデータを受信データにするという方式を加えれば赤
外線によるワイヤレス・キーボードなどにも応用できる
Using this transfer method, computers can communicate with each other using infrared rays. It can also be applied to wireless keyboards using infrared rays by adding a method in which the receiver is equipped with a timer and if no data is received within a certain period of time, the data set in the buffer is used as the received data.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、赤外線を一時遮
断されても正しく復活してデータ部転送ができ、また、
エラーデータは受信器で受けとらないので、データ転送
の信頼性が向上されるなどの効果がある。
As explained above, according to the present invention, even if infrared rays are temporarily cut off, it is possible to restore the infrared rays correctly and transfer the data part.
Since error data is not received by the receiver, the reliability of data transfer is improved.

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

第1図は本発明の実施例における送信信号のフォーマッ
トを示すタイミング図、第2図は本発明の実施例を示す
ブロック図である。 1・・・・・・赤外線ダイオード、2・・・・・・赤外
線受信モジュール、3・・・・・・送信器、4・・・・
・・受信器、11・・・・・・スタートビット、12・
・・・・・データ部、13・・・・・・ストップビット
、14・・・・・・エラー修正のだめのフラグ。 代理人 弁理士  内 原   日・ 〃 創 〃 ρl θ/ρ10/  θθ lど       14
FIG. 1 is a timing diagram showing the format of a transmission signal in an embodiment of the invention, and FIG. 2 is a block diagram showing the embodiment of the invention. 1... Infrared diode, 2... Infrared receiving module, 3... Transmitter, 4...
...Receiver, 11...Start bit, 12.
...Data section, 13...Stop bit, 14...Flag for error correction. Agent Patent Attorney Uchihara Hi・ 〃 So〃 ρl θ/ρ10/ θθ ldo 14

Claims (1)

【特許請求の範囲】[Claims] 送信器から送信したデータブロックを受信器で受信して
エラーチェックし、その結果が正しければそのままのデ
ータブロックを赤外線により前記送信器に転送し、前記
送信器では、この転送されたデータブロックとこれに対
応する正しいデータブロックとを比較してエラーがあれ
ば、その正しいデータブロックを再度赤外線により前記
受信器に転送し、前記受信器が受信した2つのデータブ
ロックが互いに異なりそのエラーチェックの結果が正し
ければ先行するデータブロックを内部に受け取り後行す
るデータブロックをバッファにセットし、前記受信器が
受信した2つのデータブロックが互いに同じであれば先
行するデータブックをバッファにセットし、そのデータ
ブロックを赤外線により前記送信器に転送するようにし
たことを特徴とする赤外線によるデータ転送方式。
The receiver receives the data block sent from the transmitter and checks for errors. If the result is correct, the data block is transferred to the transmitter using infrared rays. If there is an error when comparing the data block with the correct data block corresponding to the data block, the correct data block is transmitted to the receiver again by infrared rays, and if the two data blocks received by the receiver are different from each other and the result of the error check is If it is correct, the preceding data block is received internally and the succeeding data block is set in the buffer, and if the two data blocks received by the receiver are the same, the preceding data book is set in the buffer and the data block is A data transfer method using infrared rays, characterized in that the data is transferred to the transmitter using infrared rays.
JP59140047A 1984-07-06 1984-07-06 Data transferring system by infrared rays Pending JPS6120444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59140047A JPS6120444A (en) 1984-07-06 1984-07-06 Data transferring system by infrared rays

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59140047A JPS6120444A (en) 1984-07-06 1984-07-06 Data transferring system by infrared rays

Publications (1)

Publication Number Publication Date
JPS6120444A true JPS6120444A (en) 1986-01-29

Family

ID=15259742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59140047A Pending JPS6120444A (en) 1984-07-06 1984-07-06 Data transferring system by infrared rays

Country Status (1)

Country Link
JP (1) JPS6120444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2617299A1 (en) * 1987-06-24 1988-12-30 Pierre Williamson Self-contained and portable voice recognition system, for management of computer files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2617299A1 (en) * 1987-06-24 1988-12-30 Pierre Williamson Self-contained and portable voice recognition system, for management of computer files

Similar Documents

Publication Publication Date Title
CA1092711A (en) Computer to computer communication system
US4646300A (en) Communications method
US4584684A (en) Data transmission method
JPH0459819B2 (en)
JPS63204938A (en) Signal transmission system
JPS6120444A (en) Data transferring system by infrared rays
US4807231A (en) Multiplex communication method
US5721891A (en) Detection of N length bit serial communication stream
US5428617A (en) Data transmission system for portable terminal device
JP2581180B2 (en) Time information transmission method
JP2969868B2 (en) Fixed interval short fixed length data transmission method
JP2541492B2 (en) Microprocessor remote reset method
JP2581181B2 (en) Time information transmission method
JPS59225646A (en) Time division multiplex transmission system
JPH05336082A (en) Detection of response data validity
JPH0637738A (en) Data transmission error control system
JPH0817367B2 (en) Data comparison synchronous serial communication system
JP2520178B2 (en) Information processing device
CA1236541A (en) Communications method
JPH05207101A (en) Data transmission system
JPS5837741B2 (en) Data transfer method
JPH054880B2 (en)
JPS62102641A (en) Data transmission system
JPS6014546A (en) Transmission information check signal return method
JPS54108504A (en) Data transmission system on start-stop system