JPH09163033A - Data communication method, data communication system, and device on call originating side - Google Patents

Data communication method, data communication system, and device on call originating side

Info

Publication number
JPH09163033A
JPH09163033A JP31908295A JP31908295A JPH09163033A JP H09163033 A JPH09163033 A JP H09163033A JP 31908295 A JP31908295 A JP 31908295A JP 31908295 A JP31908295 A JP 31908295A JP H09163033 A JPH09163033 A JP H09163033A
Authority
JP
Japan
Prior art keywords
charging pulse
transmission
generation
data
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.)
Pending
Application number
JP31908295A
Other languages
Japanese (ja)
Inventor
Yoshiharu Yamamoto
佳治 山本
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.)
EKUSHINGU KK
Brother Industries Ltd
Xing Inc
Original Assignee
EKUSHINGU KK
Brother Industries Ltd
Xing Inc
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 EKUSHINGU KK, Brother Industries Ltd, Xing Inc filed Critical EKUSHINGU KK
Priority to JP31908295A priority Critical patent/JPH09163033A/en
Publication of JPH09163033A publication Critical patent/JPH09163033A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate the occurrence of a communication protocol error due to a charging pulse. SOLUTION: In this data communication method, the charging pulse is detected by a charging pulse detection circuit 20 after the start of connection to a public telephone line 30, and a CPU 10 calculates the generation period of the charging pulse, and thereafter, data transmission/reception is stopped just before the generation timing of the charging pulse predicted based on the generation perod and is restarted after the end of generation of the charging pulse.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、公衆電話等、課金
パルスが発生することによって料金回収がなされる公衆
電話回線を用いて行うデータ通信に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data communication using a public telephone line, such as a public telephone, in which a charge is collected when a charging pulse is generated.

【0002】[0002]

【従来の技術】従来、例えば特開平2−90865号に
おいて、ファクシミリの通信中に発生する課金パルス雑
音によるファクシミリ画像の画質低下を防止する発明が
開示されている。これは、相手先の電話番号を分析して
課金パルス発生周期を知り、課金パルスの発生タイミン
グでのデータ送信を停止することによって行っている。
2. Description of the Related Art Conventionally, for example, Japanese Patent Application Laid-Open No. 2-90865 discloses an invention for preventing deterioration of image quality of a facsimile image due to charging pulse noise generated during facsimile communication. This is done by analyzing the telephone number of the other party, knowing the charging pulse generation period, and stopping the data transmission at the timing of the charging pulse generation.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、相手先
の電話番号(市外局番)を分析して課金パルス発生周期
を知るためには、電話番号と課金パルス発生周期との対
応関係を記憶したテーブルをデータベースとして準備し
ておく必要がある。そして、通話料が変更になった場合
には課金パルス発生周期が変更するので、上述のデータ
ベースをその都度更新する必要があった。
However, in order to analyze the telephone number (area code) of the other party to know the charging pulse generation period, a table storing the correspondence between the telephone number and the charging pulse generation period is stored. Must be prepared as a database. When the call charge is changed, the billing pulse generation period is changed, so that the above-mentioned database needs to be updated each time.

【0004】また、ファクシミリ以外の通信プロトコル
において、送信コマンドに対してレスポンスを必要とす
るようなプロトコルであった場合には、課金パルスの影
響で送信コマンドまたはレスポンスが欠落することも考
えられる。この場合、通信プロトコルエラーとなり、正
常な通信ができなくなってしまう。
Further, in a communication protocol other than the facsimile, if the protocol requires a response to the transmission command, it is possible that the transmission command or the response may be lost due to the influence of the charging pulse. In this case, a communication protocol error occurs and normal communication cannot be performed.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、通信開始後の実際の課金パルス
の間隔を計測することにより、データベースなしで課金
パルス発生タイミングの予測が可能であり、かつ、課金
パルスによる通信プロトコルエラーの発生をなくすこと
が可能である。
The present invention has been made to solve the above-mentioned problems, and it is possible to predict the charging pulse generation timing without a database by measuring the actual charging pulse interval after the start of communication. It is possible to eliminate the occurrence of a communication protocol error due to the charging pulse.

【0006】[0006]

【課題を解決するための手段及び発明の効果】上記目的
を達成するためになされた請求項1に記載の発明は、課
金パルスが発生することによって料金回収がなされる公
衆回線を用いて、データ通信を行なうデータ通信方法に
おいて、前記公衆回線への接続開始後に課金パルスを検
出して、当該課金パルスの発生周期を算出し、その後
は、前記発生周期に基づいて予測した課金パルスの発生
タイミングの直前でデータの送受信を中止させ、課金パ
ルスの発生終了後にデータの送受信を再開させるように
したことを特徴とするデータ通信方法である。
Means for Solving the Problems and Effects of the Invention The invention according to claim 1 made in order to achieve the above object, uses a public line in which a charge is collected by the generation of a charging pulse, and data is collected. In a data communication method for performing communication, a charging pulse is detected after the connection to the public line is started, the generation cycle of the charging pulse is calculated, and thereafter, the generation timing of the charging pulse predicted based on the generation cycle is calculated. The data communication method is characterized in that the data transmission / reception is stopped immediately before and the data transmission / reception is restarted after the generation of the charging pulse.

【0007】このデータ通信方法によれば、公衆回線へ
の接続開始後に課金パルスを検出して課金パルスの発生
周期を算出しているため、従来のように、電話番号と課
金パルス発生周期との対応関係を記憶したテーブルをデ
ータベースとして準備しておく必要がなく、そのため、
通話料が変更になった場合にデータベースをその都度更
新する必要もない。
According to this data communication method, the billing pulse is detected after the connection to the public line is started and the billing pulse generation period is calculated. Therefore, as in the conventional case, the telephone number and the billing pulse generation period are different from each other. It is not necessary to prepare a table that stores the correspondence relationship as a database, so
There is no need to update the database each time the call charge changes.

【0008】そして、発生周期に基づいて予測した課金
パルスの発生タイミングの直前でデータの送受信を中止
させ、課金パルスの発生終了後にデータの送受信を再開
させるので、課金パルスの影響で送信コマンドまたはレ
スポンスが欠落するといった通信プロトコルエラーの発
生をなくすことができる。このような通信エラーを未然
に防ぐことは、通信リトライによる接続時間の延長を最
小限に抑えることにもつながる。
Data transmission / reception is stopped immediately before the charging pulse generation timing predicted based on the generation cycle, and data transmission / reception is restarted after the charging pulse is generated. Therefore, the transmission command or response is affected by the charging pulse. It is possible to eliminate the occurrence of communication protocol error such as missing. Preventing such a communication error also leads to minimizing the extension of the connection time due to the communication retry.

【0009】このようなデータ通信方法を適用して有効
なデータ通信システムとしては、次のようなものが挙げ
られる。まず第1のデータ通信システムは、請求項2に
示すように、課金パルスが発生することによって料金回
収がなされる公衆回線を用いて、発呼側装置と着呼側装
置との間でデータ通信を行なうデータ通信システムにお
いて、前記発呼側装置は、課金パルスを検出するための
課金パルス検出手段と、該課金パルス検出手段によって
検出した課金パルスに基づいて、当該課金パルスの発生
周期を算出する発生周期算出手段と、該発生周期算出手
段によって算出した発生周期に基づいて予測した課金パ
ルスの発生タイミングの直前でデータの送受信を中止さ
せ、課金パルスの発生終了後にデータの送受信を再開さ
せる送受信制御手段と、該送受信制御手段によってデー
タの送信を中断する場合には、中断する直前の送信デー
タに送信中断情報を付加して着呼側装置に通知する送信
中断情報通知手段とを備え、一方、前記着呼側装置は、
前記発呼側装置より前記送信中断情報が通知された場合
には、データの受信を中断させ、所定時間経過後にデー
タの受信を再開させる受信制御手段を備えていることを
特徴とする。
The following are examples of effective data communication systems to which such a data communication method is applied. First, as described in claim 2, the first data communication system uses the public line in which the charge is collected by the generation of the charging pulse, to perform the data communication between the calling side device and the called side device. In the data communication system for performing the above-mentioned operation, the calling side device calculates the generation cycle of the charging pulse based on the charging pulse detecting means for detecting the charging pulse and the charging pulse detected by the charging pulse detecting means. Generation cycle calculation means and transmission / reception control for stopping transmission / reception of data immediately before the generation timing of the charging pulse predicted based on the generation cycle calculated by the generation cycle calculation means, and restarting data transmission / reception after the generation of the charging pulse Means and the transmission / reception control means to suspend the transmission of data, the transmission interruption information is added to the transmission data immediately before the interruption. And a transmission interruption information notifying means for notifying the called equipment, whereas, the called device,
It is characterized by further comprising reception control means for interrupting the reception of data and restarting the reception of the data after a lapse of a predetermined time when the transmission interruption information is notified from the calling side device.

【0010】また、第2のデータ通信システムは、請求
項3に示すように、課金パルスが発生することによって
料金回収がなされる公衆回線を用いて、発呼側装置と着
呼側装置との間でデータ通信を行なうデータ通信システ
ムにおいて、前記発呼側装置は、課金パルスを検出する
ための課金パルス検出手段と、該課金パルス検出手段に
よって検出した課金パルスに基づいて、当該課金パルス
の発生周期を算出する発生周期算出手段と、該発生周期
算出手段によって算出した発生周期に基づいて予測した
課金パルスの発生タイミングの直前でデータの送受信を
中止させ、課金パルスの発生後にデータの送受信を再開
させる送受信制御手段と、前記発生周期算出手段によっ
て算出した発生周期を着呼側装置に通知する発生周期通
知手段とを備え、一方、前記着呼側装置は、前記発呼側
装置より通知された発生周期に基づいて予測した課金パ
ルスの発生タイミングの直前でデータの送受信を中止さ
せ、課金パルスの発生終了後にデータの送受信を再開さ
せる送受信制御手段を備えていることを特徴とする。
Further, as described in claim 3, the second data communication system uses the public line in which the charge is collected by the generation of the charging pulse, to connect the calling side device and the called side device. In a data communication system for performing data communication between terminals, the calling side device generates a charging pulse based on the charging pulse detecting means for detecting the charging pulse and the charging pulse detected by the charging pulse detecting means. A generation cycle calculating means for calculating a cycle, data transmission / reception is stopped immediately before the charging pulse generation timing predicted based on the generation cycle calculated by the generation cycle calculation means, and data transmission / reception is restarted after the generation of the charging pulse. Transmission / reception control means, and generation cycle notification means for notifying the called side device of the generation cycle calculated by the generation cycle calculation means, On the other hand, the called side device suspends data transmission and reception immediately before the generation timing of the charging pulse predicted based on the generation period notified by the calling side device, and transmits and receives data after the generation of the charging pulse ends. It is characterized by comprising a transmission / reception control means for restarting.

【0011】請求項2に示す第1のデータ通信システム
では、発呼側装置において、課金パルス検出手段によっ
て検出した課金パルスに基づいて発生周期算出手段が課
金パルスの発生周期を算出する。 例えば、オフフック
後の1回目と2回目の課金パルスの発生間隔を計測して
算出すればよい。そして、送受信制御手段は、その算出
した発生周期に基づいて予測した課金パルスの発生タイ
ミングの直前でデータの送受信を中止させ、課金パルス
の発生終了後にデータの送受信を再開させる。
In the first data communication system according to the second aspect, in the calling side device, the generation cycle calculating means calculates the generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detecting means. For example, it may be calculated by measuring the generation intervals of the first and second charging pulses after off-hook. Then, the transmission / reception control means stops the data transmission / reception immediately before the charging pulse generation timing predicted based on the calculated generation period, and restarts the data transmission / reception after the charging pulse generation ends.

【0012】また、送受信制御手段によってデータの送
信を中断する場合には、送信中断情報通知手段が、中断
する直前の送信データに送信中断情報を付加して着呼側
装置に通知する。すると、発呼側装置より送信中断情報
が通知された着呼側装置では、受信制御手段がデータの
受信を中断させ、所定時間経過後にデータの受信を再開
させる。
When the transmission / reception control means suspends the data transmission, the transmission suspension information notifying means adds the transmission suspension information to the transmission data immediately before the suspension and notifies the called side device. Then, in the called side device notified of the transmission interruption information from the calling side device, the reception control means interrupts the reception of the data, and resumes the reception of the data after a lapse of a predetermined time.

【0013】これによって、発呼側装置と着呼側装置と
の間でデータ通信を行なう場合に、どちらがデータを送
受信する場合であっても、課金パルスの悪影響を防止す
ることができる。また、請求項3に示す第2のデータ通
信システムでは、発呼側装置において、課金パルス検出
手段によって検出した課金パルスに基づいて発生周期算
出手段が課金パルスの発生周期を算出する。そして、送
受信制御手段は、その算出した発生周期に基づいて予測
した課金パルスの発生タイミングの直前でデータの送受
信を中止させ、課金パルスの発生終了後にデータの送受
信を再開させる。
Thus, when data communication is performed between the calling side device and the called side device, it is possible to prevent the adverse effect of the charging pulse regardless of which is transmitting or receiving the data. Further, in the second data communication system according to claim 3, in the calling side device, the generation cycle calculation means calculates the generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detection means. Then, the transmission / reception control means stops the data transmission / reception immediately before the charging pulse generation timing predicted based on the calculated generation period, and restarts the data transmission / reception after the charging pulse generation ends.

【0014】また、発生周期通知手段は、発生周期算出
手段によって算出した発生周期を着呼側装置に通知す
る。すると着呼側装置の送受信制御手段では、発呼側装
置より通知された発生周期に基づいて予測した課金パル
スの発生タイミングの直前でデータの送受信を中止さ
せ、課金パルスの発生終了後にデータの送受信を再開さ
せるのである。
Further, the generation cycle notifying means notifies the called side device of the generation cycle calculated by the generation cycle calculating means. Then, the transmission / reception control means of the called side device stops the transmission / reception of data immediately before the generation timing of the charging pulse predicted based on the generation period notified by the calling side device, and transmits / receives the data after the generation of the charging pulse. Is restarted.

【0015】ここで、上述した第1のデータ通信システ
ムと第2のデータ通信システムとの相違点について明確
にしておく。第1及び第2のデータ通信システム共に、
算出した発生周期に基づいて予測した課金パルスの発生
タイミングの直前でデータの送受信を中止させ、課金パ
ルスの発生終了後にデータの送受信を再開させる制御を
行なう点では同じである。
Here, the difference between the first data communication system and the second data communication system described above will be clarified. Both the first and second data communication systems,
The same is true in that control is performed such that data transmission / reception is stopped immediately before the charging pulse generation timing predicted based on the calculated generation period, and data transmission / reception is restarted after the charging pulse generation ends.

【0016】しかし、第1のデータ通信システムでは、
発呼側装置がデータの送信を中断する場合(つまり、中
断する毎)には、中断する直前の送信データに送信中断
情報を付加して着呼側装置に通知するため、着呼側装置
では、その送信中断情報が通知された場合にはデータの
受信を中断させ、所定時間経過後にデータの受信を再開
させるのである。つまり、データの受信中断は発呼側装
置からの送信中断情報に基づき、その送信中断情報に受
信する毎に実行されることとなる。
However, in the first data communication system,
When the calling device interrupts the data transmission (that is, every time it interrupts), it adds the transmission interruption information to the transmission data immediately before the interruption and notifies the called device, so the called device does not When the transmission interruption information is notified, the reception of the data is interrupted and the reception of the data is restarted after the elapse of a predetermined time. That is, the interruption of data reception is executed based on the transmission interruption information from the calling side device, every time the transmission interruption information is received.

【0017】一方、第2のデータ通信システムでは、発
行側装置が算出した発生周期を着呼側装置に通知するた
め、その通知を一度受信してしまえば、着呼側装置はそ
の通知された周期に基づいて別個にデータの送受信制御
をすることとなる。また、上述の第1のデータ通信シス
テムに用いて有効な発呼側装置としては、請求項4に示
すように、課金パルスが発生することによって料金回収
がなされる公衆回線を用いて着呼側装置との間でデータ
通信を行なう発呼側装置において、課金パルスを検出す
るための課金パルス検出手段と、該課金パルス検出手段
によって検出した課金パルスに基づいて、当該課金パル
スの発生周期を算出する発生周期算出手段と、該発生周
期算出手段によって算出した発生周期に基づいて予測し
た課金パルスの発生タイミングの直前でデータの送受信
を中止させ、課金パルスの発生後にデータの送受信を再
開させる送受信制御手段と、該送受信制御手段によって
データの送信を中断する場合には、中断する直前の送信
データに送信中断情報を付加して着呼側装置に通知する
送信中断情報通知手段とを備えていることを特徴とする
ものが挙げられる。
On the other hand, in the second data communication system, since the generation cycle calculated by the issuing side device is notified to the called side device, once the notification is received, the called side device is notified of the occurrence period. Data transmission / reception is controlled separately based on the cycle. Further, as the calling side device which is effective in the above-mentioned first data communication system, as shown in claim 4, the called side device is used by using the public line in which the charge is collected by the generation of the charging pulse. In a calling side device that performs data communication with the device, a charging pulse detecting means for detecting a charging pulse, and the generation cycle of the charging pulse is calculated based on the charging pulse detected by the charging pulse detecting means. And a transmission / reception control for stopping transmission / reception of data immediately before the generation timing of the charging pulse predicted based on the generation cycle calculated by the generation cycle calculation means and resuming transmission / reception of data after the generation of the charging pulse. Means and the transmission / reception control means interrupt the transmission of data, the transmission interruption information is added to the transmission data immediately before the interruption, and the incoming call is received. Include those characterized by comprising a transmission interruption information notifying means for notifying the device.

【0018】また、上述の第2のデータ通信システムに
用いて有効な発呼側装置としては、請求項5に示すよう
に、課金パルスが発生することによって料金回収がなさ
れる公衆回線を用いて着呼側装置との間でデータ通信を
行なう発呼側装置において、課金パルスを検出するため
の課金パルス検出手段と、該課金パルス検出手段によっ
て検出した課金パルスに基づいて、当該課金パルスの発
生周期を算出する発生周期算出手段と、該発生周期算出
手段によって算出した発生周期に基づいて予測した課金
パルスの発生タイミングの直前でデータの送受信を中止
させ、課金パルスの発生後にデータの送受信を再開させ
る送受信制御手段と、前記発生周期算出手段によって算
出した発生周期を着呼側装置に通知する発生周期通知手
段とを備えていることを特徴とするものが挙げられる。
As a calling side device which is effective in the above-mentioned second data communication system, as shown in claim 5, a public line in which a charge is collected by generation of a charging pulse is used. In a calling side device that performs data communication with a called side device, charging pulse detection means for detecting a charging pulse, and generation of the charging pulse based on the charging pulse detected by the charging pulse detection means A generation cycle calculating means for calculating a cycle, data transmission / reception is stopped immediately before the charging pulse generation timing predicted based on the generation cycle calculated by the generation cycle calculation means, and data transmission / reception is restarted after the generation of the charging pulse. Transmission / reception control means, and generation cycle notification means for notifying the called side device of the generation cycle calculated by the generation cycle calculation means. Include those wherein and.

【0019】これらの発呼側装置における動作について
は、上述した第1及び第2のデータ通信システムの動作
説明中において説明しているので、ここでは省略する。
The operation of these calling side devices has been described in the description of the operation of the above-mentioned first and second data communication systems, and will not be repeated here.

【0020】[0020]

【発明の実施の形態】以下、本発明を具体化した一実施
例を図面を参照して説明する。図1は、実施例のデータ
通信システムの概略ブロック図である。本データ通信シ
ステムは、大まかには、発呼側装置または着呼側装置と
して機能する端末装置1と、公衆回線としての公衆電話
回線30と、着呼側装置または場合によっては発呼側装
置として機能する相手局50とから構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram of a data communication system according to an embodiment. This data communication system roughly includes a terminal device 1 that functions as a calling side device or a called side device, a public telephone line 30 as a public line, and a called side device or a calling side device in some cases. It is composed of a functioning partner station 50.

【0021】前記端末装置1は、端末装置全体の動作制
御を行なう制御手段としてのCPU10を有し、このC
PU10には、CPU10の動作プログラムのワークエ
リアであるRAM12と、CPU10の動作プログラム
を格納するROM14と、公衆電話回線30を通して、
通信相手となる相手局50側のモデムとの間でデータの
送受信を行うモデム16と、網との回線の接続/切断、
及びダイヤルを行うNCU(Network Control Unit:網
制御装置)18と、課金パルスの有無を検出してCPU
10に知らせる課金パルス検出回路20とが接続されて
いる。
The terminal device 1 has a CPU 10 as a control means for controlling the operation of the entire terminal device.
In the PU 10, a RAM 12 that is a work area of the operation program of the CPU 10, a ROM 14 that stores the operation program of the CPU 10, and a public telephone line 30
Connection / disconnection of the line between the modem 16 that transmits and receives data to and from the modem of the partner station 50 that is the communication partner, and the network
And NCU (Network Control Unit) 18 for dialing, and CPU for detecting the presence or absence of a charging pulse
The charging pulse detection circuit 20 for notifying 10 is connected.

【0022】前記CPU10は、例えば外部より接続し
たパソコン等から受けた発呼要求に基づき、モデム16
やNCU18を制御する。なお、このCPU10は、端
末装置1が発呼側装置として機能する場合には、「発生
周期算出手段」、「送受信制御手段」、請求項2に示す
「送信中断情報通知手段」あるいは請求項3に示す「発
生周期通知手段」に相当する。一方、端末装置1が着呼
側装置として機能する場合には、請求項2に示す「受信
制御手段」あるいは請求項3に示す「送受信制御手段」
に相当する。
The CPU 10 uses the modem 16 based on a call request received from a personal computer or the like connected from the outside.
And control the NCU 18. When the terminal device 1 functions as a calling side device, the CPU 10 includes an “occurrence period calculation means”, a “transmission / reception control means”, a “transmission interruption information notification means” or a claim 3 according to claim 2. It corresponds to the "occurrence period notifying means" shown in. On the other hand, when the terminal device 1 functions as a called side device, the "reception control means" according to claim 2 or the "transmission / reception control means" according to claim 3
Is equivalent to

【0023】もちろん、通信相手となる相手局50も基
本的にはこのような各手段を備えているのであるが、例
えば、着呼側装置としてしか機能しないように構成され
ている場合には、上述した「発生周期算出手段」、「送
受信制御手段」、「送信中断情報通知手段」、「発生周
期通知手段」は備えていなくてもよい。
Of course, the partner station 50, which is the partner of communication, basically has each of such means. However, for example, when the partner station 50 is configured to function only as a called side device, The above-mentioned "occurrence period calculating means", "transmission / reception control means", "transmission interruption information notifying means", and "occurrence period notifying means" may not be provided.

【0024】次に、本実施例のデータ通信システムにお
ける動作を、端末装置1側を主眼として説明する。図2
は、発呼側装置が実行する処理、ここでは端末装置1が
発呼側装置となった場合に、CPU10が実行する処理
を示すフローチャートである。
Next, the operation of the data communication system of this embodiment will be described with the terminal device 1 side as the main focus. FIG.
6 is a flowchart showing a process executed by the calling side device, here, a process executed by the CPU 10 when the terminal device 1 becomes the calling side device.

【0025】まず、最初のステップS1においてオフフ
ックを行い、続くS2ではダイヤル処理を実行する。課
金パルスの有無は、図4のフローチャートに示される割
込処理で行うのであるが、これに関連して、S3では割
込カウンタのクリア(cnt=0)と割込の許可を行っ
ている。S3の処理終了後はS4へ移行する。
First, off-hook is performed in the first step S1, and dial processing is executed in the subsequent step S2. The presence or absence of the charging pulse is determined by the interrupt process shown in the flowchart of FIG. 4. In connection with this, in S3, the interrupt counter is cleared (cnt = 0) and the interrupt is permitted. After the process of S3 is completed, the process proceeds to S4.

【0026】S4では一般的なモデムのダイヤル後の動
作を行なう。すなわち、自局・相手局の確認、トレーニ
ングシーケンスによる通信速度の設定等の処理を行う。
続くS5ではデータの送受信を行い、通信終了後、S6
でオンフックして回線を切断する。
In S4, the operation after dialing of a general modem is performed. That is, processing such as confirmation of the own station and the partner station and setting of the communication speed by the training sequence is performed.
In subsequent S5, data is transmitted / received, and after the communication is completed, S6
On-hook to disconnect the line.

【0027】同様に、図3は着呼側装置(例えば図1に
示す相手局50)の動作状態を示すフローチャートであ
る。最初のステップS11では呼び出し音を検出し、続
くS12でオフフックする。着後側は課金パルスの検出
を行わないため、図2のS3に相当する処理はない。S
13〜S15の処理は、発呼側装置(この場合は端末装
置1)の処理(図2のS4〜S6)と同じであるので説
明は省略する。
Similarly, FIG. 3 is a flowchart showing the operating state of the called side device (for example, the partner station 50 shown in FIG. 1). In the first step S11, a ringing tone is detected, and in the subsequent step S12, it goes off hook. Since the charging side does not detect the charging pulse, there is no processing corresponding to S3 in FIG. S
The processing of 13 to S15 is the same as the processing (S4 to S6 of FIG. 2) of the calling side device (in this case, the terminal device 1), and therefore description thereof will be omitted.

【0028】続いて、課金パルスが発生したときに端末
装置1で実行される割込処理について図4を参照して説
明する。最初のステップS20では割込カウンタcnt
による判定を行い、割込カウンタcntが「0」の場合
はS21へ移行し、割込カウンタcntが「0」でない
場合はS23へ移行する。
Next, the interrupt processing executed by the terminal device 1 when the charging pulse occurs will be described with reference to FIG. In the first step S20, the interrupt counter cnt
When the interrupt counter cnt is "0", the process proceeds to S21, and when the interrupt counter cnt is not "0", the process proceeds to S23.

【0029】S21及びそれに続いて実行されるS22
の処理は、オフフック後、1回目の課金パルスを検出し
たときに実行される処理であり、S21では割込カウン
タをインクリメント(cnt=cnt+1)し、S22
では課金パルス周期Tを計測するための基準時刻t1を
記憶する。S22の処理後は、本割込処理を抜ける。
S21 and S22 executed subsequently
Is a process executed when the first billing pulse is detected after the off-hook. In S21, the interrupt counter is incremented (cnt = cnt + 1), and S22 is executed.
Then, the reference time t1 for measuring the charging pulse period T is stored. After the processing of S22, this interrupt processing is exited.

【0030】一方、S23〜S25の処理は、オフフッ
ク後、2回目の課金パルスを検出したときに実行される
処理で、S23では現在時刻t2を計測し、続くS24
では今回計測した時刻t2から前回計測した時刻t1を
減算して課金パルス周期Tを求める(T=t2−t
1)。そして、S25で課金パルスの割込を禁止にして
から、本割込処理を抜ける。
On the other hand, the processing of S23 to S25 is executed when the second charging pulse is detected after the off-hook. In S23, the current time t2 is measured, and the subsequent S24.
Then, the time t1 measured last time is subtracted from the time t2 measured this time to obtain the charging pulse period T (T = t2-t
1). Then, in S25, the interruption of the charging pulse is prohibited, and then this interruption processing is finished.

【0031】ここで、発呼側装置(例えば端末装置1)
と着呼側装置(例えば相手局50)との間で通信される
データについて説明しておく。図7及び図8は、データ
通信でよく用いられるプロトコルであるHDLC(high
level data link control procedure)通信フォーマッ
トの一例であり、図7はデータブロックのフォーマッ
ト、図8はフレームのフォーマットである。この例で
は、図8に示すように256バイトのデータで1フレー
ムが構成されており、さらに図7に示すように32フレ
ームで1ブロックが構成されている。
Here, the calling side device (for example, the terminal device 1)
The data communicated between the called device and the called device (for example, the partner station 50) will be described. 7 and 8 show HDLC (high
level data link control procedure) is an example of a communication format, FIG. 7 is a data block format, and FIG. 8 is a frame format. In this example, 256 bytes of data form one frame as shown in FIG. 8, and 32 frames form one block as shown in FIG.

【0032】図8に示すフラグとは、送信側/受信側の
モデムが同期をとるためのデータパターンであり、本来
のデータ中には現れないパターンとなっている。そのた
め、受信側モデムでは、フラグパターン受信後、フラグ
パターン以外のデータを受信したら、そのデータが本来
のデータの先頭データ(この例ではコントロール)であ
ると判断できる。
The flag shown in FIG. 8 is a data pattern for synchronizing the modems on the transmitting side and the receiving side, and is a pattern that does not appear in the original data. Therefore, when receiving data other than the flag pattern after receiving the flag pattern, the receiving modem can determine that the data is the head data of the original data (control in this example).

【0033】またFCS(フレームチェックシーケン
ス)はフレーム単位でCRCエラーのチェックを行うた
めのデータであり、通常はモデムチップが自動的に送信
するようになっている。コントロールフィールドとはデ
ータの属性等、通信プロトコルにより定められた各種デ
ータが定義されている。
The FCS (frame check sequence) is data for checking a CRC error on a frame-by-frame basis, and normally a modem chip automatically transmits the data. The control field defines various data defined by the communication protocol such as data attributes.

【0034】そして、本実施例においては、コントロー
ルフィールドに「送信中断情報」を定義する。課金パル
スを避けるため、データ送信側は課金パルスの発生タイ
ミングの直前に送るフレームのコントロールフィールド
で「送信中断」をデータ受信側に知らせ、データ送信を
中断する。データ受信側はHDLCフレームの受信後、
コントロールフィールドで「送信中断」が設定されてい
ると、一時的に受信を中断し、所定のタイミングで再度
受信を再開する。データ受信側が受信を中断する理由
は、再開時の同期を取り易くするためである。
In the present embodiment, "transmission interruption information" is defined in the control field. In order to avoid the charging pulse, the data transmitting side informs the data receiving side of "transmission interruption" in the control field of the frame sent immediately before the generation timing of the charging pulse, and interrupts the data transmission. After receiving the HDLC frame, the data receiving side
If "transmission interruption" is set in the control field, the reception is temporarily interrupted, and the reception is restarted at a predetermined timing. The reason why the data receiving side suspends the reception is to facilitate synchronization when resuming.

【0035】図9には、課金パルスのタイミングをさけ
て通信を行う場合の送信フレームが示されている。ここ
では通信速度7200bpsを例にとって説明する。H
DLCの1ブロックのデータは(256+3+2+2)
×32=8416バイトとなり、この送受信に要する時
間は、8416×8/7200=約9.35秒となる。
モデムチップの特性にもよるが、HDLCモードでは、
データ受信中に課金パルスが発生すると、課金パルス発
生後に送られてくるHDLCフレームも受信できなくな
るケースが多い。そのため、例えばHDLCの第1フレ
ーム通信中に課金パルスが発生すると、残り31フレー
ム全て受信できなくなり、約9.35秒の無駄な時間が
生じることになる。
FIG. 9 shows a transmission frame in the case where communication is performed by avoiding the timing of the charging pulse. Here, a communication speed of 7200 bps will be described as an example. H
The data of one block of DLC is (256 + 3 + 2 + 2)
× 32 = 8416 bytes, and the time required for this transmission / reception is 8416 × 8/7200 = about 9.35 seconds.
Depending on the characteristics of the modem chip, in HDLC mode,
When a charging pulse is generated during data reception, it is often the case that the HDLC frame sent after the generation of the charging pulse cannot be received. Therefore, for example, if a charging pulse occurs during the first frame communication of HDLC, all the remaining 31 frames cannot be received, and a wasteful time of about 9.35 seconds occurs.

【0036】このような前提をふまえた上で、データ送
信側(この場合は発呼側装置としての端末装置1)で課
金パルス対策を行った場合のHDLCブロック送信動作
について、図5のフローチャートを参照して説明する。
最初のステップS31では、送信するフレーム番号FN
Oの初期化を行い、続くS32で現在時刻t3を計測す
る。
Based on such a premise, the flow chart of FIG. 5 shows the HDLC block transmission operation in the case where the data transmission side (in this case, the terminal device 1 as the calling side device) takes a charging pulse countermeasure. It will be described with reference to FIG.
In the first step S31, the frame number FN to be transmitted
O is initialized, and the current time t3 is measured in subsequent S32.

【0037】S32で現在時刻t3を計測した後は、S
33において、次に課金パルスが発生する時刻と現在時
刻との差(t2+T−t3)を求め、その差に応じて移
行するステップを決定する。すなわち、その差が1.5
秒よりも小さければS39へ移行し、1.8秒よりも大
きければS35へ移行し、1.5秒以上かつ1.8秒以
下であればS34へ移行する。
After measuring the current time t3 in S32,
At 33, the difference (t2 + T-t3) between the time when the next charging pulse is generated and the current time is obtained, and the step to be shifted is determined according to the difference. That is, the difference is 1.5
If it is smaller than the second, the processing proceeds to S39, if it is larger than 1.8 seconds, the processing proceeds to S35, and if it is 1.5 seconds or more and 1.8 seconds or less, the processing proceeds to S34.

【0038】S34では、これから送信するフレームの
コントロールフィールドに「送信中断情報」を設定し、
その後S35へ移行する。S35ではFNOフレームの
送信を行い、続くS36ではその送信完了を待つ。そし
て、送信が完了すればS37へ移行する。
In S34, "transmission interruption information" is set in the control field of the frame to be transmitted,
Then, the process proceeds to S35. In step S35, the FNO frame is transmitted, and in step S36, the completion of the transmission is awaited. When the transmission is completed, the process proceeds to S37.

【0039】S37では、送信フレーム数をインクリメ
ント(FNO=FNO+1)する。そして、続くS38
では、全てのフレームの送信が完了しているかどうか判
定し、完了していたらHDLCブロック送信を終える。
一方、上記S33の判断で、次に課金パルスが発生する
時刻と現在時刻との差が1.5秒よりも小さい場合に移
行するS39では、課金パルスが発生するまで送信を中
断し、検出したらS40へ移行する。S40では、課金
パルスが発生した時刻をt2として記憶する。
In S37, the number of transmission frames is incremented (FNO = FNO + 1). And S38 continues
Then, it is determined whether or not the transmission of all frames is completed, and if completed, the HDLC block transmission is terminated.
On the other hand, in S39, when the difference between the time when the next charging pulse is generated and the current time is smaller than 1.5 seconds is determined in S33, the transmission is interrupted until the charging pulse is generated, and if it is detected, The process proceeds to S40. In S40, the time when the charging pulse is generated is stored as t2.

【0040】ここで、上記S33の判定で用いている
1.5秒及び1.8秒の計算方法を図10を参照して説
明する。7200bpsの場合、1フレームの送信に要
する時間は(256+3+2+2)×8/7200=約
0.3秒となる。また、課金パルスは約1秒間であり、
本実施例においては、その1秒の最後のタイミングで課
金パルスを検出しているものとする。さらに、計測誤差
等の影響を防ぐために0.2秒の余裕をとる。これらの
合計時間が約1.5秒となる すると、図10において、[A]のタイミングで図5の
S32の処理を実行すると、課金パルスが発生するまで
にまだ2フレーム送信可能となる。また、[B]のタイ
ミングでS32の処理を実行すると、課金パルスが発生
するまでにあと1フレームしか送れないので、これから
送るフレームに「送信中断情報」を設定する。そして、
[C]のタイミングでS32の処理を実行すると、課金
パルスが発生するまでにはもう1フレームも送れないの
で、課金パルスの発生を待つこととなる。
Here, the calculation method of 1.5 seconds and 1.8 seconds used in the determination of S33 will be described with reference to FIG. In the case of 7200 bps, the time required to transmit one frame is (256 + 3 + 2 + 2) × 8/7200 = about 0.3 seconds. Also, the charging pulse is about 1 second,
In the present embodiment, it is assumed that the billing pulse is detected at the last timing of the 1 second. Furthermore, a margin of 0.2 seconds is provided to prevent the influence of measurement error and the like. When the total time of these becomes about 1.5 seconds, if the process of S32 of FIG. 5 is executed at the timing [A] in FIG. 10, two frames can still be transmitted before the charging pulse is generated. Further, if the process of S32 is executed at the timing of [B], only one frame can be sent before the charging pulse is generated, so "transmission interruption information" is set in the frame to be sent. And
If the process of S32 is executed at the timing of [C], no more frames can be sent before the charging pulse is generated, so the generation of the charging pulse is awaited.

【0041】一方、データ受信側(この場合は着呼側装
置である相手局50)が課金パルス対策を行った場合の
HDLCブロック受信にかかる処理を、図6のフローチ
ャートを参照して説明する。最初のステップS41で
は、受信するフレーム番号を初期化し、続くS42では
フレーム受信を開始する。そして、S43ではフレーム
受信の完了を待ち、受信が完了するとS44へ移行す
る。S44では、受信完了済みフレーム数をインクリメ
ント(FNO=FNO+1)する。
On the other hand, the process of receiving the HDLC block when the data receiving side (in this case, the called station 50 which is the called side device) takes measures against the charging pulse will be described with reference to the flowchart of FIG. In the first step S41, the frame number to be received is initialized, and in the subsequent S42, frame reception is started. Then, in S43, the completion of the frame reception is waited, and when the reception is completed, the process proceeds to S44. In S44, the number of received frames is incremented (FNO = FNO + 1).

【0042】続くS45では、受信済みフレーム数の判
定を行い、全てのフレームの受信が完了していたら(S
45:YES)、本受信処理を終了するが、まだ受信す
る必要がある場合には(S45:NO)、S46へ移行
する。S46では、いま送られてきたフレームのコント
ロールフィールドの「送信中断情報」が設定されている
かどうかを判定し、設定されていなければ(S46:N
O)、S42へ戻る。一方、設定されていれば(S4
6:YES)、S47へ移行して、同期を取り易くする
ため一度受信を中断する。そして、S48で所定時間
(ここでは1秒)のウエイトを行った後、S42へ移行
して、再度受信を再開する。
In the subsequent S45, the number of received frames is determined, and if reception of all frames is completed (S45).
45: YES), this reception process ends, but if it is still necessary to receive (S45: NO), the process proceeds to S46. In S46, it is determined whether or not the "transmission interruption information" in the control field of the frame just sent is set (S46: N).
O), and returns to S42. On the other hand, if it is set (S4
(6: YES), the process proceeds to S47, and the reception is temporarily stopped to facilitate synchronization. Then, after waiting for a predetermined time (here, 1 second) in S48, the process proceeds to S42 and the reception is restarted again.

【0043】このように、本実施例のデータ通信システ
ムでは、発呼側装置としての端末装置1において課金パ
ルスを検出し、その検出した課金パルスに基づいて課金
パルスの発生周期を算出する。そして、その算出した発
生周期に基づいて予測した課金パルスの発生タイミング
の直前でデータの送受信を中止させ、課金パルスの発生
終了後にデータの送受信を再開させる。また、データの
送信を中断する場合には、中断する直前の送信データに
送信中断情報を付加して着呼側装置である相手局50に
通知する。すると、その通知を受けた相手局50ではデ
ータの受信を中断させ、所定時間経過後にデータの受信
を再開させる。
As described above, in the data communication system according to the present embodiment, the terminal device 1 as the calling side device detects the charging pulse and calculates the charging pulse generation period based on the detected charging pulse. Then, the data transmission / reception is stopped immediately before the charging pulse generation timing predicted based on the calculated generation period, and the data transmission / reception is restarted after the charging pulse generation ends. Further, when the data transmission is interrupted, the transmission interruption information is added to the transmission data immediately before the interruption, and the destination station 50 which is the called side device is notified. Then, the partner station 50 that has received the notification interrupts the data reception, and resumes the data reception after the elapse of a predetermined time.

【0044】これによって、発呼側装置としての端末装
置1と着呼側装置としての相手局50との間でデータ通
信を行なう場合に、課金パルスの悪影響を防止すること
ができる。なお、上記実施例では、発呼側装置としての
端末装置1がデータの送信を中断する場合(つまり、中
断する毎)には、中断する直前の送信データに送信中断
情報を付加して着呼側装置としての相手局50に通知す
るため、その相手局50では、その送信中断情報が通知
された場合にはデータの受信を中断させ、所定時間経過
後にデータの受信を再開させていた。つまり、データの
受信中断は端末装置1からの送信中断情報に基づき、そ
の送信中断情報に受信する毎に実行されることとなる。
Thus, when data communication is performed between the terminal device 1 as the calling side device and the partner station 50 as the called side device, it is possible to prevent the adverse effect of the charging pulse. In the above embodiment, when the terminal device 1 as the calling side device interrupts the data transmission (that is, every time the data is interrupted), the transmission interruption information is added to the transmission data immediately before the interruption, and the incoming call is received. In order to notify the partner station 50 as the side device, the partner station 50 interrupts the data reception when the transmission interruption information is notified, and resumes the data reception after a lapse of a predetermined time. That is, the interruption of data reception is executed based on the transmission interruption information from the terminal device 1 each time the transmission interruption information is received.

【0045】図1に示す端末装置1が発呼側装置であっ
てデータ送信しかせず、相手局50が着呼側装置であっ
てデータ受信しかしないという前提であれば、発呼側装
置である端末装置1のみが、課金パルスの検出あるいは
発生周期算出機能を有していればよい。もちろん、相手
局50も発呼側装置にもなり、データ送信もするのであ
れば、課金パルスの検出あるいは発生周期算出機能を有
する必要がある。
Assuming that the terminal device 1 shown in FIG. 1 is a calling side device and cannot transmit data, and the partner station 50 is a called side device and only receives data, the calling side device is Only a certain terminal device 1 needs to have the function of detecting the charging pulse or calculating the generation period. Of course, if the partner station 50 also functions as a calling side device and also transmits data, it is necessary to have a function of detecting a charging pulse or calculating a generation period.

【0046】なお、課金パルスの検出あるいは発生周期
算出機能を有しなくても、データ送信側になることので
きる別システムも考えられる。つまり、発呼側装置は、
課金パルスの発生周期を算出したら、その発生周期を着
呼側装置に通知するようにし、着呼側装置では、その通
知された発生周期に基づいて別個にデータの送受信制御
をするようにすればよい。
It is also possible to consider another system which can serve as the data transmission side without having the function of detecting the charging pulse or calculating the generation period. That is, the calling device
If the generation cycle of the charging pulse is calculated, the generation cycle may be notified to the called side apparatus, and the called side apparatus may separately control transmission / reception of data based on the notified generation cycle. Good.

【0047】つまり、データを中断する場合(つまり、
中断する毎)に中断する直前の送信データに送信中断情
報を付加して着呼側装置に通知するシステムでは、着呼
側装置は、その送信中断情報に基づいて(つまりその情
報をトリガにして)、データの受信を中断させている。
それに対して、上記別システムの場合には、発呼側装置
から通知された発生周期を一度受信してしまえば、その
後、着呼側装置はその通知された周期に基づいて別個に
データの送受信制御することができる。上記実施例で言
えば、発呼側装置としての端末装置1において課金パル
スの発生周期を算出したら、それを着呼側装置としての
相手局50に通知すればよい。
That is, when the data is interrupted (that is,
In a system in which transmission interruption information is added to the transmission data immediately before the interruption at each interruption and the called apparatus is notified, the called apparatus is based on the transmission interruption information (that is, the information is used as a trigger). ), The reception of data is interrupted.
On the other hand, in the case of the other system, once the generation period notified from the calling side device is received, the called side device then separately transmits and receives data based on the notified period. Can be controlled. In the above-described embodiment, when the generation cycle of the charging pulse is calculated in the terminal device 1 as the calling side device, it may be notified to the partner station 50 as the called side device.

【0048】例えば、いわゆる通信カラオケシステムの
ように、カラオケ端末が情報センタから新曲データを取
得するような場合には、情報センタから送信される曲デ
ータはもちろん、カラオケ端末から送信される識別情報
やログ情報等それなりの量があるので、送信時に課金パ
ルス信号の悪影響を受けるのは好ましくない。したがっ
て、このような場合には、発呼側装置及び着呼側装置が
共に課金パルスの発生周期Tに基づく所定の送受信制御
を実行する方がよい。そのため、例えば発呼側装置とな
るカラオケ端末にて周期Tを算出した場合には、それを
即座に情報センタに送信しておくようなシステムの方が
好ましいと言える。
For example, when a karaoke terminal acquires new song data from an information center as in a so-called communication karaoke system, not only song data transmitted from the information center but also identification information transmitted from the karaoke terminal and Since there is a certain amount of log information and the like, it is not preferable that the charging pulse signal is adversely affected during transmission. Therefore, in such a case, it is better that both the calling side device and the called side device execute predetermined transmission / reception control based on the charging pulse generation period T. Therefore, for example, when the period T is calculated at the karaoke terminal which is the calling side device, it is preferable to use a system that immediately transmits the period T to the information center.

【0049】以上本発明はこの様な実施例に何等限定さ
れるものではなく、本発明の要旨を逸脱しない範囲にお
いて種々なる態様で実施し得る。例えば、上記実施例に
おいては、7200bpsの場合を例にとり、1フレー
ムの送信に要する時間として(256+3+2+2)×
8/7200=約0.3秒を採用した。他の通信速度で
あれば、この1フレームの送信に要する時間が変わって
くる。例えば、2400bpsの場合だと、(256+
3+2+2)×8/2400=約0.9秒になる。
The present invention is not limited to such embodiments as described above, and can be carried out in various modes without departing from the scope of the present invention. For example, in the above embodiment, taking the case of 7200 bps as an example, the time required to transmit one frame is (256 + 3 + 2 + 2) ×
8/7200 = about 0.3 seconds is adopted. At other communication speeds, the time required to transmit this one frame changes. For example, in the case of 2400 bps, (256+
3 + 2 + 2) × 8/2400 = about 0.9 seconds.

【0050】また、課金パルス周期の算出については、
計測を何度か行い、誤差を補正していくようにしてもよ
い。
Further, regarding the calculation of the charging pulse period,
You may make it measure several times and correct an error.

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

【図1】 実施例のデータ通信システムの概略構成を示
すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a data communication system according to an embodiment.

【図2】 発呼側装置としての端末装置の動作を示すフ
ローチャートである。
FIG. 2 is a flowchart showing an operation of a terminal device as a calling side device.

【図3】 着呼側装置としての相手局での動作を示すフ
ローチャートである。
FIG. 3 is a flowchart showing an operation at a partner station as a called side device.

【図4】 端末装置での割込処理を示すフローチャート
である。
FIG. 4 is a flowchart showing an interrupt process in the terminal device.

【図5】 端末装置での送信動作を示すフローチャート
である。
FIG. 5 is a flowchart showing a transmission operation in the terminal device.

【図6】 相手局での受信動作を示すフローチャートで
ある。
FIG. 6 is a flowchart showing a receiving operation at a partner station.

【図7】 HDLCデータブロックのフォーマットの説
明図である。
FIG. 7 is an explanatory diagram of a format of an HDLC data block.

【図8】 HDLCフレームのフォーマットの説明図で
ある。
FIG. 8 is an explanatory diagram of a format of an HDLC frame.

【図9】 課金パルスのタイミングをさけて通信を行う
場合の送信フレームの説明図である。
FIG. 9 is an explanatory diagram of a transmission frame when communication is performed at a timing other than the charging pulse timing.

【図10】 図5の処理で用いている1.5秒及び1.
8秒の計算方法の説明図である。
FIG. 10 shows 1.5 seconds and 1. used in the process of FIG.
It is explanatory drawing of the calculation method of 8 seconds.

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

1…端末装置 10…CPU 12…RAM 14…ROM 16…モデム 18…NCU(網
制御装置) 20…課金パルス検出回路 30…公衆電話回
線 50…相手局
DESCRIPTION OF SYMBOLS 1 ... Terminal device 10 ... CPU 12 ... RAM 14 ... ROM 16 ... Modem 18 ... NCU (Network control unit) 20 ... Charging pulse detection circuit 30 ... Public telephone line 50 ... Partner station

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 課金パルスが発生することによって料金
回収がなされる公衆回線を用いて、データ通信を行なう
データ通信方法において、 前記公衆回線への接続開始後に課金パルスを検出して、
当該課金パルスの発生周期を算出し、 その後は、前記発生周期に基づいて予測した課金パルス
の発生タイミングの直前でデータの送受信を中止させ、
課金パルスの発生終了後にデータの送受信を再開させる
ようにしたことを特徴とするデータ通信方法。
1. A data communication method for performing data communication using a public line in which a charge is collected by generation of a charging pulse, wherein the charging pulse is detected after the connection to the public line is started,
The generation cycle of the charging pulse is calculated, and thereafter, transmission / reception of data is stopped immediately before the generation timing of the charging pulse predicted based on the generation cycle,
A data communication method characterized in that data transmission / reception is restarted after the generation of a charging pulse.
【請求項2】 課金パルスが発生することによって料金
回収がなされる公衆回線を用いて、発呼側装置と着呼側
装置との間でデータ通信を行なうデータ通信システムに
おいて、 前記発呼側装置は、 課金パルスを検出するための課金パルス検出手段と、 該課金パルス検出手段によって検出した課金パルスに基
づいて、当該課金パルスの発生周期を算出する発生周期
算出手段と、 該発生周期算出手段によって算出した発生周期に基づい
て予測した課金パルスの発生タイミングの直前でデータ
の送受信を中止させ、課金パルスの発生終了後にデータ
の送受信を再開させる送受信制御手段と、 該送受信制御手段によってデータの送信を中断する場合
には、中断する直前の送信データに送信中断情報を付加
して着呼側装置に通知する送信中断情報通知手段とを備
え、 一方、前記着呼側装置は、 前記発呼側装置より前記送信中断情報が通知された場合
には、データの受信を中断させ、所定時間経過後にデー
タの受信を再開させる受信制御手段を備えていることを
特徴とするデータ通信システム。
2. A data communication system for performing data communication between a calling side device and a called side device by using a public line in which a charge is collected by generation of a charging pulse, wherein the calling side device. The charging pulse detecting means for detecting the charging pulse, the generation cycle calculating means for calculating the generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detecting means, and the generation cycle calculating means. Transmission / reception control means for stopping data transmission / reception just before the generation timing of the charging pulse predicted based on the calculated generation cycle and resuming data transmission / reception after the generation of the charging pulse, and transmission / reception of data by the transmission / reception control means. In the case of interruption, notification of transmission interruption information is sent to the called device by adding transmission interruption information to the transmission data immediately before interruption. On the other hand, the callee device interrupts data reception when the caller device notifies the transmission interruption information, and resumes data reception after a predetermined time elapses. A data communication system comprising a control means.
【請求項3】 課金パルスが発生することによって料金
回収がなされる公衆回線を用いて、発呼側装置と着呼側
装置との間でデータ通信を行なうデータ通信システムに
おいて、 前記発呼側装置は、 課金パルスを検出するための課金パルス検出手段と、 該課金パルス検出手段によって検出した課金パルスに基
づいて、当該課金パルスの発生周期を算出する発生周期
算出手段と、 該発生周期算出手段によって算出した発生周期に基づい
て予測した課金パルスの発生タイミングの直前でデータ
の送受信を中止させ、課金パルスの発生後にデータの送
受信を再開させる送受信制御手段と、 前記発生周期算出手段によって算出した発生周期を着呼
側装置に通知する発生周期通知手段とを備え、 一方、前記着呼側装置は、 前記発呼側装置より通知された発生周期に基づいて予測
した課金パルスの発生タイミングの直前でデータの送受
信を中止させ、課金パルスの発生終了後にデータの送受
信を再開させる送受信制御手段を備えていることを特徴
とするデータ通信システム。
3. A data communication system for performing data communication between a calling side device and a called side device by using a public line in which a charge is collected by generation of a charging pulse, wherein the calling side device. The charging pulse detecting means for detecting the charging pulse, the generation cycle calculating means for calculating the generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detecting means, and the generation cycle calculating means. A transmission / reception control unit that stops transmission / reception of data immediately before the generation timing of the charging pulse predicted based on the calculated generation period and restarts transmission / reception of data after the generation of the charging pulse; and the generation period calculated by the generation period calculation unit. And a generation cycle notifying unit for notifying the callee side device of the occurrence cycle, wherein the callee side device is notified by the caller side device. It stops the transmission and reception of data immediately before the generation timing of the charging pulses predicted on the basis of the generation period, the data communication system, characterized in that it comprises a transmission and reception control means for resuming the transmission and reception of data after the occurrence completion of charging pulses.
【請求項4】 課金パルスが発生することによって料金
回収がなされる公衆回線を用いて着呼側装置との間でデ
ータ通信を行なう発呼側装置において、 課金パルスを検出するための課金パルス検出手段と、 該課金パルス検出手段によって検出した課金パルスに基
づいて、当該課金パルスの発生周期を算出する発生周期
算出手段と、 該発生周期算出手段によって算出した発生周期に基づい
て予測した課金パルスの発生タイミングの直前でデータ
の送受信を中止させ、課金パルスの発生後にデータの送
受信を再開させる送受信制御手段と、 該送受信制御手段によってデータの送信を中断する場合
には、中断する直前の送信データに送信中断情報を付加
して着呼側装置に通知する送信中断情報通知手段とを備
えていることを特徴とする発呼側装置。
4. A billing pulse detection for detecting a billing pulse in a calling side device that performs data communication with a called side device by using a public line in which a charge is collected by generating a billing pulse. Means, a generation cycle calculation means for calculating a generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detection means, and a charging pulse predicted based on the generation cycle calculated by the generation cycle calculation means. Transmission / reception control means for stopping transmission / reception of data immediately before the generation timing and resuming transmission / reception of data after the generation of the charging pulse, and in the case of interrupting data transmission by the transmission / reception control means, the transmission data immediately before the interruption A calling side device, further comprising transmission interruption information notifying means for adding transmission interruption information and notifying the called side device.
【請求項5】 課金パルスが発生することによって料金
回収がなされる公衆回線を用いて着呼側装置との間でデ
ータ通信を行なう発呼側装置において、 課金パルスを検出するための課金パルス検出手段と、 該課金パルス検出手段によって検出した課金パルスに基
づいて、当該課金パルスの発生周期を算出する発生周期
算出手段と、 該発生周期算出手段によって算出した発生周期に基づい
て予測した課金パルスの発生タイミングの直前でデータ
の送受信を中止させ、課金パルスの発生後にデータの送
受信を再開させる送受信制御手段と、 前記発生周期算出手段によって算出した発生周期を着呼
側装置に通知する発生周期通知手段とを備えていること
を特徴とする発呼側装置。
5. A billing pulse detection for detecting a billing pulse in a calling side device that performs data communication with a called side device by using a public line whose fee is collected by generating a billing pulse. Means, a generation cycle calculation means for calculating a generation cycle of the charging pulse based on the charging pulse detected by the charging pulse detection means, and a charging pulse predicted based on the generation cycle calculated by the generation cycle calculation means. Transmission / reception control means for stopping transmission / reception of data immediately before the generation timing and resuming transmission / reception of data after the generation of the charging pulse, and generation cycle notification means for notifying the called side device of the generation cycle calculated by the generation cycle calculation means. And a calling side device.
JP31908295A 1995-12-07 1995-12-07 Data communication method, data communication system, and device on call originating side Pending JPH09163033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31908295A JPH09163033A (en) 1995-12-07 1995-12-07 Data communication method, data communication system, and device on call originating side

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31908295A JPH09163033A (en) 1995-12-07 1995-12-07 Data communication method, data communication system, and device on call originating side

Publications (1)

Publication Number Publication Date
JPH09163033A true JPH09163033A (en) 1997-06-20

Family

ID=18106300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31908295A Pending JPH09163033A (en) 1995-12-07 1995-12-07 Data communication method, data communication system, and device on call originating side

Country Status (1)

Country Link
JP (1) JPH09163033A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760368B1 (en) 1999-04-06 2004-07-06 Fujitsu Limited Fast retraining method, apparatus, and storage medium in an xDSL transceiver

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760368B1 (en) 1999-04-06 2004-07-06 Fujitsu Limited Fast retraining method, apparatus, and storage medium in an xDSL transceiver

Similar Documents

Publication Publication Date Title
JPH0927869A (en) Modem communication capable of utilizing call waiting service
JPH09163033A (en) Data communication method, data communication system, and device on call originating side
JPH0454425B2 (en)
JP2988970B2 (en) Incoming call control method for facsimile machine
JP2858568B2 (en) Communication method and communication system
US5223950A (en) Data communication apparatus
JP3247459B2 (en) Facsimile machine
JP2002335327A (en) Communication system
JPH0646124Y2 (en) Communication device
JP2780820B2 (en) Public telephone with data communication function
US5426647A (en) Data communication apparatus detecting interrupt requests through data error detection
JP3342073B2 (en) Communication device
JP3022376B2 (en) Facsimile apparatus capable of changing communication speed and communication speed changing method
JP2991351B2 (en) Facsimile machine and service setting method in facsimile communication
JPH11289364A (en) Call incoming device and call originating device
JPH01161957A (en) Data communication system
JPS6318769A (en) Data communication equipment
JPH06152791A (en) Load survey terminal equipment
JPH07143317A (en) Facsimile equipment
JPH04330843A (en) Data communication equipment
JPH0646417A (en) Isdn communication equipment
JPH04347959A (en) Data communication equipment
JPH07143305A (en) Facsimile equipment
JPH10155016A (en) Automatic dialing terminal
JPS594371A (en) Data communication device