JPH05227325A - Error correction method for modem - Google Patents

Error correction method for modem

Info

Publication number
JPH05227325A
JPH05227325A JP5950092A JP5950092A JPH05227325A JP H05227325 A JPH05227325 A JP H05227325A JP 5950092 A JP5950092 A JP 5950092A JP 5950092 A JP5950092 A JP 5950092A JP H05227325 A JPH05227325 A JP H05227325A
Authority
JP
Japan
Prior art keywords
modem
error correction
data
transmission
reception
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.)
Withdrawn
Application number
JP5950092A
Other languages
Japanese (ja)
Inventor
秀泰 ▲浜▼▲崎▼
Hideyasu Hamazaki
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP5950092A priority Critical patent/JPH05227325A/en
Publication of JPH05227325A publication Critical patent/JPH05227325A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve the transmission efficiency of a modem by detecting a changeover time between data transmission and reception so as to inhibit error correction of the modem when the time is discriminated to be shorter than a prescribed time. CONSTITUTION:When the transmission system at a terminal equipment side discriminates whether it is a semi-duplex transmission system or not and the semi-duplex transmission system is discriminated, and when it is discriminated that a changeover time between data transmission and reception is shorter than a prescribed time, the error correction of a modem is inhibited. That is, data outputted from a terminal equipment such as a computer are inputted to a CPU 1 via an I/F 7 and the CPU 1 stores the data to a RAM 4 tentatively to form the data to an HDLC frame for error correction and executes a program of a ROM 2. When a terminal equipment is an X modem or a Y modem, the modem is set to the mode inhibiting error correction and when the terminal equipment is a Z modem or observation of a BBS by manual input, the modem reaches the mode to execute error correction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】例えば、コンピュータの端末同士
を電話回線を使ってデータの伝送を行なうとき、ディジ
タル信号をアナログ信号にあるいはその逆に変換するモ
デムであって、特にデータのエラーを訂正することがで
きるモデムのエラー訂正方法に関する。
BACKGROUND OF THE INVENTION For example, a modem for converting a digital signal into an analog signal or vice versa when transmitting data between computer terminals using a telephone line, and particularly for correcting a data error. The present invention relates to a modem error correction method.

【0002】[0002]

【従来の技術】一般にモデムは、例えばMNP(マイク
ロコム・ネットワーク・プロトコル)やV−42等の誤
り訂正のプロトコルを有している。MNPのプロトコル
は半二重伝送方式であって、送信受信の切換えを行なわ
ない。
2. Description of the Related Art Generally, a modem has an error correction protocol such as MNP (Microcom Network Protocol) or V-42. The MNP protocol is a half-duplex transmission method and does not switch between transmission and reception.

【0003】一方、コンピュータ等の端末は、例えばX
MODEM、YMODEM、ZMODEM、手入力BB
S閲覧等のプロトコルを有している。XMODEM、Y
MODEMは半二重伝送方式で送信受信の切換え時間が
短いプロトコルである。ZMODEM及び手入力BBS
閲覧は、各々全二重伝送方式と半二重伝送方式であっ
て、前者は送信受信の切換えを行なわず、後者は送信受
信の切換え時間が長い。
On the other hand, terminals such as computers are, for example, X
MODEM, YMODEM, ZMODEM, manual input BB
It has a protocol such as S browsing. XMODEM, Y
MODEM is a half-duplex transmission method and is a protocol in which the switching time between transmission and reception is short. ZMODEM and manual BBS
The browsing is a full-duplex transmission method and a half-duplex transmission method, respectively. The former does not switch between transmission and reception, and the latter has a long switching time between transmission and reception.

【0004】従来のモデムのエラー訂正方法は、端末が
XMODEMまたはYMODEMを有している場合、こ
の端末は送信したデータに訂正可能なエラーが発生した
ことを検出するとエラー訂正を行なって、再度データを
送信する。この時、この端末のモデムも送信した訂正可
能なエラーを有するデータに対してエラー訂正を実行す
る。
In a conventional error correction method for a modem, when a terminal has an XMODEM or a YMODEM, when the terminal detects that a correctable error has occurred in the transmitted data, the terminal corrects the error and then retransmits the data. To send. At this time, the modem of this terminal also performs error correction on the transmitted data having a correctable error.

【0005】また、XMODEM及びYMODEMは半
二重伝送方式なので、一方の端末が送信状態の時、他方
の端末は受信状態に切換わっている。
Further, since XMODEM and YMODEM are half-duplex transmission systems, when one terminal is in the transmitting state, the other terminal is switched to the receiving state.

【0006】[0006]

【発明が解決しようとする課題】従来のモデムのエラー
訂正方法は以上のようになされているので、端末がXM
ODEMやYMODEMのプロトコルを有し、モデム側
でMNPのプロトコルを有してている場合、端末側とモ
デム側でエラーの訂正が実行される。従って、伝送効率
が極端に低下する等の問題を有している。
Since the conventional error correction method for the modem is performed as described above, the terminal is XM.
When the protocol has ODEM or YMODEM and the modem has the MNP protocol, error correction is executed on the terminal side and the modem side. Therefore, there is a problem that the transmission efficiency is extremely lowered.

【0007】本発明は、以上の点を考慮してなされたも
ので、伝送効率の高いモデムのエラー訂正方法を提供す
ることを目的とする。
The present invention has been made in consideration of the above points, and an object of the present invention is to provide an error correction method for a modem having high transmission efficiency.

【0008】[0008]

【課題を解決するための手段】本発明のモデムのエラー
訂正方法は、エラー訂正が可能なモデムのエラー訂正方
法であって、端末側の伝送方式が半二重伝送方式か否か
を判断して前記伝送方式が半二重伝送方式であることが
判断され、かつデータの送信と受信の切換え時間を検出
して前記切換え時間が所定の時間より短いと判断された
ときモデムのエラー訂正を禁止することを特徴としてい
る。
The error correction method for a modem according to the present invention is an error correction method for a modem capable of error correction, and determines whether the transmission method on the terminal side is the half-duplex transmission method. If it is determined that the transmission method is the half-duplex transmission method, and the switching time between data transmission and reception is detected and it is determined that the switching time is shorter than the predetermined time, modem error correction is prohibited. It is characterized by doing.

【0009】[0009]

【作用】上記のモデムのエラー訂正方法は端末側の伝送
方式が半二重伝送方式であることが判断され、かつデー
タの送信と受信の切換え時間が所定の時間より短いと判
断されたときモデムのエラー訂正を禁止する。
According to the above error correcting method for the modem, the modem is used when it is determined that the transmission method on the terminal side is the half-duplex transmission method and the switching time between data transmission and reception is shorter than the predetermined time. Error correction is prohibited.

【0010】従って、そのモデムの伝送効率が高くな
る。
Therefore, the transmission efficiency of the modem is increased.

【0011】[0011]

【実施例】以下、図1及び図2を参照して本発明の実施
例について説明する。
Embodiments of the present invention will be described below with reference to FIGS.

【0012】図1において、I/F7は端末とモデムを
つなぐ例えばRS−232C等の通信インターフェイス
である。CPU1はROM2に記憶されている本発明の
動作手順を示すプログラムに基づいて各種装置を制御す
る。また、CPU1は入力されるデータをエラー訂正の
ためのHDLC(ハイレベル・データ・リンク・コント
ロール)フレームに構成する。MODEM・LSI3は
ディジタル信号をアナログ信号に変換する。RAM4は
データバス8を介して入力されるデータを一時記憶す
る。H/Y5は2線を4線に変換する回路であって、電
話回線6の送信信号と受信信号を区別する。
In FIG. 1, I / F 7 is a communication interface such as RS-232C for connecting a terminal and a modem. The CPU 1 controls various devices based on a program stored in the ROM 2 and showing the operation procedure of the present invention. Further, the CPU 1 forms the input data into an HDLC (high level data link control) frame for error correction. The MODEM / LSI 3 converts a digital signal into an analog signal. The RAM 4 temporarily stores the data input via the data bus 8. The H / Y 5 is a circuit that converts 2 lines into 4 lines, and distinguishes a transmission signal and a reception signal of the telephone line 6.

【0013】次に、上記構成に基づいて図2を参照しな
がらその動作を説明する。
Next, the operation will be described based on the above configuration with reference to FIG.

【0014】まず、コンピュータ等の端末から出力され
たデータはI/F7を介してCPU1に入力される。こ
の時、CPU1はこのデータをエラー訂正のためのHD
LCフレームに構成するため一時データをRAM4に記
憶すると共に、ROM2のプログラムを実行する。
First, data output from a terminal such as a computer is input to the CPU 1 via the I / F 7. At this time, the CPU 1 uses this data for HD for error correction.
The temporary data is stored in the RAM 4 to configure the LC frame, and the program in the ROM 2 is executed.

【0015】図2に示すように、このプログラムではま
ず、エラー訂正を行なうエラー訂正モードが設定される
(ステップS1)。そして、nが初期値5に設定され
(ステップS2)、半二重伝送か否かが判断される(ス
テップS3)。半二重伝送でないと判断された場合ステ
ップ2に戻るが、半二重伝送であると判断された場合デ
ータの伝送がストップしたか否か判断される(ステップ
S4)。その後、タイマーがスタートする(ステップS
5)。
As shown in FIG. 2, this program first sets an error correction mode for performing error correction (step S1). Then, n is set to the initial value 5 (step S2), and it is determined whether half-duplex transmission or not (step S3). When it is determined that the half-duplex transmission is not performed, the process returns to step 2, but when it is determined that the half-duplex transmission is performed, it is determined whether or not the data transmission is stopped (step S4). After that, the timer starts (step S
5).

【0016】一方、CPU1から出力されたデータはM
ODEM・LSI3に入力され、ディジタル信号からア
ナログ信号に変換される。このアナログ信号はH/Y5
を介してアナログ電話回線6に送られる。
On the other hand, the data output from the CPU 1 is M
It is input to the ODEM / LSI 3 and converted from a digital signal to an analog signal. This analog signal is H / Y5
Is sent to the analog telephone line 6 via.

【0017】ステップ6とステップ12は所定時間以
内、例えば3秒以内に送信受信が反転したか否かの検出
を行なう。所定時間以内に送信受信の反転が検出されな
い場合、ステップS2に戻るのでエラー訂正モードは保
持される。所定時間以内に送信受信の反転が検出された
場合、nが1だけデクリメントされ(ステップS7)、
nが0になったか否か判断される(ステップS8)。n
が0に達しないうちはステップS2に戻る。即ち、これ
は判断の正確をきするため、所定時間以内に送信受信の
反転が5回連続して発生するまで繰返される。nが0に
なって初めて端末がXMODEMまたはYMODEMで
あることが判断され、エラー訂正モードが解除され(ス
テップS9)、エラー訂正が禁止される。
Steps 6 and 12 detect whether the transmission and reception are reversed within a predetermined time, for example, within 3 seconds. If the reversal of transmission and reception is not detected within the predetermined time, the process returns to step S2, and the error correction mode is held. When the reversal of transmission and reception is detected within the predetermined time, n is decremented by 1 (step S7),
It is determined whether n has become 0 (step S8). n
Is not reached 0, the process returns to step S2. That is, this is repeated until the reversal of transmission and reception occurs five times in succession within a predetermined time in order to judge accurately. Only when n becomes 0 is it judged that the terminal is in XMODEM or YMODEM, the error correction mode is canceled (step S9), and error correction is prohibited.

【0018】ここで再び伝送方式が半二重伝送か否かが
判断される(ステップS10)。伝送方式が半二重伝送
でない場合、エラー訂正モードに設定される。伝送方式
が半二重伝送であっても切換え時間が大きければ、エラ
ー訂正モードに設定される(ステップS11)。即ち、
伝送方式が半二重伝送で切換え時間が短い場合はエラー
訂正モードが解除された状態が保持される。
Here, it is again determined whether the transmission method is half-duplex transmission (step S10). When the transmission method is not half-duplex transmission, the error correction mode is set. Even if the transmission method is half-duplex transmission, if the switching time is long, the error correction mode is set (step S11). That is,
If the transmission method is half-duplex transmission and the switching time is short, the error correction mode is released.

【0019】このようにして、端末がXMODEMまた
はYMODEMである場合、モデムはエラー訂正を禁止
するモードになり、端末がZMODEMまたは手入力B
BS閲覧である場合、モデムはエラー訂正を実行するモ
ードとなる。
Thus, when the terminal is in XMODEM or YMODEM, the modem is in a mode that inhibits error correction, and the terminal is in ZMODEM or manual input B.
If it is a BS browse, the modem is in a mode to perform error correction.

【0020】[0020]

【発明の効果】以上のように、本発明のモデムのエラー
訂正方法によれば、端末側の伝送方式が半二重伝送方式
であることが判断され、かつデータの送信と受信の切換
え時間が所定の時間より短いと判断されたときモデムの
エラー訂正を禁止するようにしているので、モデムの伝
送効率を高くすることができる等の効果を奏する。
As described above, according to the error correction method for the modem of the present invention, it is judged that the transmission method on the terminal side is the half-duplex transmission method, and the switching time between data transmission and reception is set. The error correction of the modem is prohibited when it is determined that the time is shorter than the predetermined time, so that the transmission efficiency of the modem can be improved.

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

【図1】本発明のモデムのエラー訂正方法の一実施例の
具体的構成を示すブロック図
FIG. 1 is a block diagram showing a specific configuration of an embodiment of a modem error correction method of the present invention.

【図2】本発明のモデムのエラー訂正方法の一実施例の
具体的動作を示すフローチャート
FIG. 2 is a flowchart showing a specific operation of an embodiment of the modem error correction method of the present invention.

【符号の説明】[Explanation of symbols]

1 CPU 2 ROM 3 MODEM・LSI 4 RAM 5 H/Y 6 アナログ電話回線 7 I/F 8 データバス 1 CPU 2 ROM 3 MODEM / LSI 4 RAM 5 H / Y 6 analog telephone line 7 I / F 8 data bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 エラー訂正が可能なモデムのエラー訂正
方法であって、端末側の伝送方式が半二重伝送方式か否
かを判断して前記伝送方式が半二重伝送方式であること
が判断され、かつデータの送信と受信の切換え時間を検
出して前記切換え時間が所定の時間より短いと判断され
たときモデムのエラー訂正を禁止することを特徴とする
モデムのエラー訂正方法。
1. An error correction method for a modem capable of error correction, wherein the transmission method is a half-duplex transmission method by determining whether or not the transmission method on the terminal side is the half-duplex transmission method. A method of correcting an error in a modem, wherein the error correction of the modem is prohibited when the switching time between the data transmission and the reception is determined and the switching time is determined to be shorter than a predetermined time.
JP5950092A 1992-02-13 1992-02-13 Error correction method for modem Withdrawn JPH05227325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5950092A JPH05227325A (en) 1992-02-13 1992-02-13 Error correction method for modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5950092A JPH05227325A (en) 1992-02-13 1992-02-13 Error correction method for modem

Publications (1)

Publication Number Publication Date
JPH05227325A true JPH05227325A (en) 1993-09-03

Family

ID=13115067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5950092A Withdrawn JPH05227325A (en) 1992-02-13 1992-02-13 Error correction method for modem

Country Status (1)

Country Link
JP (1) JPH05227325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11127276A (en) * 1997-10-24 1999-05-11 Nec Corp Data communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11127276A (en) * 1997-10-24 1999-05-11 Nec Corp Data communication system

Similar Documents

Publication Publication Date Title
US5309562A (en) Method and apparatus for establishing protocol spoofing from a modem
EP0260470A2 (en) High speed modem
JP2950209B2 (en) Facsimile apparatus and facsimile communication method
JPH0646037A (en) Mode switching arq system
JPH05227325A (en) Error correction method for modem
JPH02125551A (en) Data packet transmission method
JP2541492B2 (en) Microprocessor remote reset method
KR100192522B1 (en) Method and apparatus of automatic negotiation for sensing function for break in a line
KR900004663B1 (en) Data communication interface circuit
JP2880021B2 (en) Station number duplication state / connection order state confirmation method in programmable controller network system
JPH03117945A (en) Communication equipment using hdlc procedure
JPS59208957A (en) Communication control system
JPS6248850A (en) Collecting device for public line coupling remote fault data
JPH06164644A (en) Method and device for transferring data for repeater
JPS60229567A (en) Originating station and terminating station control system in communication circuit
JP2004235703A (en) Wired communication control method and wired communication apparatus
JPH10107986A (en) Communication terminal equipment
JPS62131642A (en) Data transmission system
JPH0491529A (en) System for correcting bit omission of received data
JPH01272345A (en) Modem device
JPH05207178A (en) Modem
KR950022461A (en) Receiving Packet Control Method of Electronic Switching System
JPH01181251A (en) Data communication equipment
JPS6151462B2 (en)
JPH01229529A (en) Polling data sending system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518