JP3624055B2 - Calling side data communication device - Google Patents

Calling side data communication device Download PDF

Info

Publication number
JP3624055B2
JP3624055B2 JP25153296A JP25153296A JP3624055B2 JP 3624055 B2 JP3624055 B2 JP 3624055B2 JP 25153296 A JP25153296 A JP 25153296A JP 25153296 A JP25153296 A JP 25153296A JP 3624055 B2 JP3624055 B2 JP 3624055B2
Authority
JP
Japan
Prior art keywords
charging pulse
communication
category
line
communication method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP25153296A
Other languages
Japanese (ja)
Other versions
JPH1098550A (en
Inventor
佳治 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Xing Inc
Original Assignee
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 Brother Industries Ltd, Xing Inc filed Critical Brother Industries Ltd
Priority to JP25153296A priority Critical patent/JP3624055B2/en
Publication of JPH1098550A publication Critical patent/JPH1098550A/en
Application granted granted Critical
Publication of JP3624055B2 publication Critical patent/JP3624055B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Meter Arrangements (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、公衆電話回線等、課金パルスが発生することによって料金回収がなされる電話回線に接続される可能性のある発呼側データ通信装置に関する。
【0002】
【従来の技術】
最近のデータ通信装置は、複数の通信方式(変調方式)を持っているのが一般的である。そして、その複数の通信方式の中から、データ通信を行う双方のデータ通信装置が備えている通信方式を選択して通信状態を確立できるよう構成されている。また、双方のデータ通信装置が備えている通信方式が複数ある場合には、より伝送効率の高い通信方式が選択される。例えば、このような通信方式の選択の手順としてはITU−T(新日本ITU協会)のV.8セッション開始手順が挙げられる。そして通信方式が選択されると、発呼側と着呼側のデータ通信装置でデータ送受信を可能とする状態がその通信方式で確立される。このように、ある通信方式でデータ送受信の可能状態を確立することを、以下、「通信状態を確立する」という。この通信状態の確立は、その通信方式での確立手順によって行われる。
【0003】
ところで、ITU−T勧告V.34及びV.32等の高速全二重通信と呼ばれる伝送効率の高い通信方式では、同一周波数帯域内で同時送受信を行うため、一方のデータ通信装置が出力する信号を他方のデータ通信装置が出力する信号から分離するエコーキャンセル技術を使用しており、使用する周波数帯域内の所定の周波数を持つ信号の伝送速度や伝送レベルが確立手続の途中で細かく測定されるため、通信状態を確立するための確立手続に要する時間は長くなる。これに比べて伝送効率の低い通信方式、例えば、同じ全二重方式であっても同一周波数帯域で同時送受信を行わない全二重方式、つまりデータ送受信を行うデータ通信装置の発呼側と着呼側で重複しない周波数帯域を使用した全二重方式や、送信及び受信を交互に行うITU−T勧告V.27及びV.17等の半二重方式では、エコーキャンセル技術が必要ないため通信状態を確立するための確立手続にかかる時間は一般的に短くなる。
【0004】
【発明が解決しようとする課題】
ところが、従来の発呼側データ通信装置では、上述したように発呼側と着呼側の双方のデータ通信装置が備えている通信方式の中で最も伝送効率の高いものを選択して通信状態を確立するよう構成されていた。そのため、エコーキャンセル技術を使用するために通信状態を確立するための確立手続に要する時間の長い、例えば、V.34規格やV.32規格の高速全二重通信方式で通信状態を確立しようとした場合、発呼側データ通信装置が課金パルスの発生する回線に接続されていたときには、確立手続の途中で課金パルスが発生することがあった。特に、長距離データ通信では課金パルスの発生周期が短くなるため、確立手続の途中で課金パルスが発生する可能性は高くなる。そして、確立手続の途中で課金パルスが発生すると、確立手続のやり直しが起こり、いつまで経っても確立手続が完了せず、その結果、通信状態が確立できない状況が起きていた。
【0005】
本発明は、上述した問題点を解決するためになされたものであり、伝送効率の高いデータ送受信を可能にすると共に、課金パルスが発生しても着呼側データ通信装置との間に通信状態を確立することのできる発呼側データ通信装置を提供することを目的とする。
【0006】
【課題を解決するための手段及び発明の効果】
請求項1に記載の発呼側データ通信装置は、発呼処理を行って着呼側データ通信装置との間に回線を接続すると課金パルスが発生する電話回線に接続されている可能性があり、複数の通信方式のいずれかを選択して通信状態を確立することができ、複数の通信方式の中に、エコーキャンセル技術を使用するために通信状態の確立手続に要する時間が長くなり、確立手続の途中で課金パルスが発生する可能性のある第1カテゴリーの通信方式と、当該第1カテゴリーの通信方式に比べて伝送効率は低いがエコーキャンセル技術を使用しないために確立手続に要する時間が短くなり、課金パルスの発生以前に確立手続を完了する第2カテゴリーの通信方式とを備えた発呼側データ通信装置であって、課金パルスを検出する課金パルス検出手段と、課金パルスが発生する周期を予測する課金パルス発生周期予測手段とを備え、課金パルス検出手段によって課金パルスが検出された場合、次回の通信状態の確立は前記第2カテゴリーの通信方式を選択して行い、一方、課金パルス検出手段によって課金パルスが検出されなかった場合、次回の通信状態の確立は前記第1カテゴリーの通信方式を選択して行い、且つ、前記課金パルス検出手段によって課金パルスが検出された場合であっても、前記課金パルス発生周期予測手段によって予測される課金パルスの発生周期が前記第1カテゴリーの通信方式で前記通信状態を確立するための前記確立手続に要する時間よりも長い場合、前記通信状態の確立は前記第1カテゴリーの通信方式を選択して行うよう構成されていることを特徴としている
【0007】
なお、「エコーキャンセル技術」とは、同一周波数帯域で同時に送受信される信号を分離するための技術である。エコーキャンセル技術によって伝送効率の高い全二重通信が可能となるが、上述のように通信状態確立のための確立手続に要する時間は長くなってしまう。
【0008】
従来の発呼側データ通信装置は、伝送効率を上げるため、発呼側と着呼側の双方のデータ通信装置が備えている通信方式の中で伝送効率の最も高い通信方式が選択され通信状態の確立が行われていた。つまり、上記第1カテゴリーの通信方式を双方のデータ通信装置が備えている場合、第1カテゴリーの通信方式が選択されて通信状態の確立が行われていた。しかし、課金パルスの影響は考慮されないため、エコーキャンセル技術の使用によって通信状態の確立に要する時間の長い第1カテゴリーの通信方式で通信状態を確立しようとした場合、通信状態の確立手続の途中で課金パルスが発生する可能性があり、課金パルスが発生すると、確立手続が完了せず通信状態の確立ができない状況が生じていた。
【0009】
それに対して、本発明の発呼側データ通信装置は、複数の通信方式を備え、その中に第1カテゴリーの通信方式と、第2カテゴリーの通信方式とをそれぞれ少なくとも1つずつ備えている。第1カテゴリーの通信方式は、上述のように伝送効率は高いが、エコーキャンセル技術の使用により通信状態の確立手続に要する時間の長い通信方式であり、一方、第2カテゴリーの通信方式は、第1カテゴリーの通信方式に比べると伝送効率は低いが、エコーキャンセル技術を使用しないため確立手続に要する時間が短く、課金パルスが発生する以前に通信状態の確立手続を完了するため、課金パルスが発生する回線であっても通信状態を確立できる通信方式である。
【0010】
そして、本発明の発呼側データ通信装置では、課金パルス検出手段によって課金パルスが検出されると、次回の通信状態の確立は、伝送効率は第1カテゴリーの通信方式に比べて低くなるものの確実に通信状態を確立できる第2の通信方式を選択して行う。一方、課金パルスが検出されなければ、次回の通信状態の確立は、伝送効率の高い第1カテゴリーの通信方式を選択して行う。これによって、課金パルスの発生する電話回線から発呼し、課金パルスが発生する場合であっても着呼側データ通信装置との間に通信状態を確立することができると共に、伝送効率の高いデータ送受信が可能となる。
【0011】
さらに、課金パルスが検出された場合であっても、課金パルスの発生周期が長いのであれば、課金パルスの発生する前に第1カテゴリーの通信方式による通信状態の確立手続が完了し、伝送効率の高い第1カテゴリーの通信方式で通信状態が確立できることも考えられる。そこで、課金パルスが検出された場合であっても、課金パルス発生周期予測手段によって予測される課金パルスの発生周期が第1カテゴリーの通信方式で通信状態を確立するための確立手続に要する時間よりも長い場合、通信状態の確立は第1カテゴリーの通信方式を選択して行う。
【0012】
つまり、例えば発呼側データ通信装置(自局)の電話番号及び着呼側データ通信装置(相手局)の電話番号に基づいて発呼側と着呼側の距離を算出し、予め記憶しているデータベースに基づき課金パルスの発生周期を予測し、その課金パルスの発生周期に基づく条件判断を行うのである。
【0013】
詳しくは、課金パルスが検出された場合であっても、発呼の対象となる着呼側データ通信装置と回線を接続したときに発生すると予測される課金パルスの発生周期が第1の通信方式で通信状態を確立するための確立手続にかかる時間よりも長いと判断した場合、言い換えれば、第1の通信方式での確立手続を完了するのに十分な課金パルスの発生周期であると判断した場合には、第1カテゴリーの通信方式で通信状態の確立を行う。これによって、課金パルスが発生する電話回線に発呼側データ通信装置が接続されている場合であっても、課金パルスの発生周期によっては伝送効率の高い第1カテゴリーの通信方式で通信 状態が確立されることになり、より伝送効率の高いデータ送受信を実現することができる。
【0014】
なお、「課金パルス発生周期予測手段によって予測される課金パルスの発生周期」とは、発呼対象となる着呼側データ通信装置と回線を接続した場合に予測される課金パルスの発生周期である。そして、この課金パルスの発生周期は通信方式の決定以前に毎回計算することも考えられるし、あるいは、前回の接続にあたって予測された課金パルスの発生周期を記憶しておき、発呼対象となる着呼側データ通信装置が前回の発呼対象となった着呼側データ通信装置と同じである場合には、その記憶した課金パルスの発生周期を利用することも考えられる。
【0015】
なお、過去に一度も回線接続していない状況下では、発呼側データ通信装置が課金パルスの発生する回線を使用しているか否かを判断することはできない。この場合、本発明の発呼側データ通信装置では、第1又は第2カテゴリーの通信方式のどちらを指定して発呼するか特に限定してはいないが、課金パルスが発生する可能性を考えると第2カテゴリーの通信方式で発呼することが望ましい。なぜなら、第1カテゴリーの通信方式に比べて伝送効率は低くなるものの、課金パルスが発生した場合であっても、第2カテゴリーの通信方式では通信状態を確立することができるからである。もちろん、課金パルスが発生しなかった場合、次回の通信状態の確立は第1カテゴリーの通信方式を選択して行う。
【0016】
また、請求項2に示したように、請求項1の構成において、第1又は第2カテゴリーの通信方式を選択して、通信状態を確立しようとするときには、選択するカテゴリーの通信方式の中でより伝送効率の高い通信方式を選択するよう構成してもよい。つまり、例えば第2カテゴリーの通信方式を選択する場合、その中でより伝送効率の高い通信方式を選択するのである。これによって、さらに伝送効率の高いデータ送受信が可能となる。
【0017】
ところで、課金パルス検出手段が課金パルスを検出しなかった場合であっても、実際は課金パルスの発生する回線が発呼側データ通信装置によって使用されていることも考えられる。つまり、回線の接続時間が短いために課金パルスが検出できないという状況も考えられる。このような場合に、第1カテゴリーの通信方式で通信状態の確立をしようとすると、課金パルスの影響で通信状態が確立できない状況が起こり得る。このため、請求項1又は2に示した構成に加えて、さらに、請求項3に示すように、着呼側データ通信装置との間に回線が接続された時点から回線が切断された時点までの回線接続時間を計時する回線接続時間計時手段を備え、課金パルス検出手段によって課金パルスが検出されなかった場合であっても、回線接続時間計時手段によって計時された回線接続時間が課金パルス発生周期予測手段によって予測された課金パルスの発生周期よりも短い場合、通信状態の確立は前回の通信状態確立に用いられたカテゴリーの通信方式と同じカテゴリーの通信方式で行うよう構成してもよい。
【0018】
上記請求項1及び請求項2では、課金パルスが発生しなかった場合、次回の通信状態は第1の通信方式で確立していたが、この場合は、さらに回線の接続時間に基づき条件判断する。つまり、計時された発呼側と着呼側の回線接続時間が予測された課金パルスの発生周期よりも短いときには、回線に課金パルスが発生する可能性を否定できないため、前回の通信状態確立に用いられたカテゴリーの通信方式で通信状態の確立を行う。具体的には、前回の通信状態確立が第1カテゴリーの通信方式で行われたのであれば、第1カテゴリーの通信方式で通信状態を確立し、前回の通信状態確立が第2の通信方式で行われたのであれば、第2の通信方式で通信状態を確立する。これは、発呼側データ通信装置が移動されることは稀であることを前提として、回線接続時間が短いために課金パルスが発生する可能性を否定できない場合には課金パルス検出手段の課金パルス検出結果よりも前回の判断を優先するのである。
【0019】
これによって、課金パルス検出の事実だけでなく課金パルスの発生周期も考慮して課金パルスが発生する回線か否かを判断できるために、実際は課金パルスの発生する回線に接続されているにもかかわらず第1の通信方式を指定して発呼するようなこともなくなり、より確実に通信状態を確立することができる。
【0020】
なお、「課金パルス発生周期予測手段によって予測された課金パルスの発生周期」とは、発呼対象となった着呼側データ通信装置と回線を接続する前に予測された課金パルスの発生周期である。
【0021】
【発明の実施の形態】
以下、本発明を具体化した一実施形態を図面を参照して説明する。
図1は、本実施形態の発呼側データ通信装置1が、課金パルスの発生する公衆電話回線30又は破線で示す課金パルスの発生しない一般電話回線40のいずれかを介して、「着呼側データ通信装置」としての相手局50と接続されている状態を示している。
【0022】
本実施形態のデータ通信装置1の構成としては、データ通信装置全体の動作制御を行う制御手段としてのCPU10を有し、このCPU10には、CPU10の動作プログラムのワークエリアであるRAM12と、CPU10の動作プログラムを格納するROM14と、公衆電話回線30又は一般電話回線40のいずれかを通して通信相手となる相手局50側のモデムとの間でデータの送受信を行うモデム16と、網との回線の接続/切断、及びダイヤルを行うNCU(Network Control Unit:網制御装置)18と、課金パルスの有無を検出してCPU10に知らせる「課金パルス検出手段」としての課金パルス検出回路20と、メモリ装置22とが接続されている。
【0023】
モデム16は、「第1カテゴリーの通信方式」の一例としてのV.34規格の全二重通信方式と、「第2カテゴリーの通信方式」の一例としてのV.17規格の半二重通信方式との2つの通信方式を備えており、ROM14に格納されたプログラムに基づきCPU10によって選択された上記いずれかの通信方式で相手局50のモデムと通信状態を確立することができるよう構成されている。
【0024】
第1カテゴリーの通信方式は、同一周波数帯域での同時送受信を可能とするエコーキャンセル技術を使用した高速全二重通信方式であり、エコーキャンセル技術の使用のために確立手続に要する時間が長く確立手続の途中で課金パルスが発生する可能性が高い通信方式である。また、第2カテゴリーの通信方式は、送信及び受信を交互に行うエコーキャンセル技術を必要としない半二重通信方式であり、エコーキャンセル技術が必要ないために確立手続に要する時間が短く課金パルスの発生以前に確立手続を完了することが可能な通信方式である。例えば、第1カテゴリーの通信方式としては、上述のV.34規格の全二重通信方式の他にV.32規格の全二重通信方式が考えられるし、第2カテゴリーの通信方式としては、上述のV.17規格の半二重通信方式の他にV.29規格の半二重通信方式等が考えられる。本実施形態の発呼側データ通信装置1では、第1、第2のそれぞれのカテゴリーの通信方式の中で伝送効率の高いV.34規格の全二重通信方式と、V.17規格の半二重通信方式とを備えている。
【0025】
また、メモリ装置22は不揮発性のメモリであり、電源供給を停止しても記憶内容は失われない。そして、メモリ装置22には、課金パルスの検出結果である課金パルス検出フラグZ及び発呼側データ通信装置1の使用している回線が課金パルスの発生する公衆電話回線30であるか又は課金パルスの発生しない一般電話回線40であるかを判断した結果が代入される使用回線フラグKが用意されている。さらに、メモリ装置22には、相手局50の電話番号及び発呼側データ通信装置1の電話番号に基づき、相手局50と発呼側データ通信装置1の間を公衆電話回線30で接続した場合に発生する課金パルスの発生周期を予測する課金パルス発生周期予測のためのデータベースが記憶されている。
【0026】
次に、本実施形態の発呼側データ通信装置1の通信処理を図2及び図3のフローチャートに基づいて説明する。図2は発呼側データ通信装置1の通信処理の前半を示しており、図3は発呼側データ通信装置1の通信処理の後半を示している。
【0027】
まず、最初のステップS100において、課金パルスの発生周期を予測する。この処理は、発呼しようとする相手局50の電話番号と、本実施形態の発呼側データ通信装置1の電話番号とに基づいてメモリ装置22に記憶されている課金パルス発生周期データベースを参照して課金パルスの発生周期を予測するものである。
【0028】
続くS110では、使用回線フラグK=1であるか否かを判断する。使用回線フラグは前回の回線接続時に本実施形態の発呼側データ通信装置1が使用している回線を判断した結果をメモリ装置22に記憶したものであって、課金パルスの発生する公衆電話回線30が使用されていると判断された場合には使用回線フラグKが1となっており、一方、課金パルスの発生しない一般電話回線が使用されていると判断された場合には使用回線フラグKが0となっている。なお、過去に一度も回線を接続していない状況下では、使用回線フラグKは1となっているものとする。
【0029】
ここで、使用回線フラグKが1である場合(S110:YES)、すなわち前回の回線接続で課金パルスが発生する公衆電話回線30に発呼側データ通信装置1が接続されていると判断された場合には、S120へ移行する。一方、使用回線フラグK=1でない場合(S110:NO)、すなわち前回の回線接続で課金パルスが発生しない一般電話回線40に発呼側データ通信装置1が接続されていると判断された場合には、S140へ移行する。
【0030】
そして、S120では、さらに条件判断をする。つまり、S100にて予測された課金パルスの発生周期がV.34規格の全二重通信方式で通信状態を確立するための確立手続に要する時間よりも長いか否かを判断する。これは、課金パルスの発生する公衆電話回線が使用されていると判断された場合であっても、課金パルスの発生周期が長く、V.34規格の全二重通信方式で通信状態を確立できるのであれば、伝送効率を考えてV.34規格の全二重通信方式で通信状態を確立することが望ましいためである。
【0031】
ここで、肯定判断された場合(S120:YES)、すなわち課金パルスの予測発生周期がV.34全二重通信方式で通信状態を確立するための確立手続に要する時間よりも長い場合には、S140へ移行する。一方、否定判断された場合(S120:NO)、すなわち課金パルスの予測発生周期がV.34全二重通信方式で通信状態を確立するための確立手続に要する時間よりも短い場合には、S130へ移行する。
【0032】
S130では、CPU10はモデム16の通信方式として伝送効率はV.34規格の全二重通信方式に比べて低いが課金パルスの発生以前に確立手続を完了するV.17規格の半2重通信方式を選択する。一方、S140では、CPU10はモデム16の通信方式として伝送効率の高いV.34規格の全二重通信方式を選択する。S130又はS140において通信方式が選択された後はS150へ移行する。
【0033】
S150では、オフフック動作を行う。そして、S160では、相手局50の電話番号をダイヤルして回線の接続を要求する。これに対して、S165では、相手局50がオフフック動作で応答したかを判断する。相手局50が応答した場合(S165:YES)、すなわち回線が接続された場合には、S170へ移行する。一方、相手局が応答しない場合(S165:NO)、すなわち回線が接続されない場合には、S167でオンフック動作を行ってS150からの処理を繰り返す。
【0034】
回線が接続されると、続くS170にて、課金パルスの検出フラグZを0として初期化する。そして、S180では、現在時刻を時刻Tとして保存する。この処理は、後に回線の接続時間を計算するために回線接続開始時点の時刻を時刻Tとして保存するのである。
【0035】
以降、後半部分の処理について図3に基づき説明する。
S190では、課金パルス検出回路20による割込の許可が行われる。以降、割込が禁止されるまで課金パルス検出回路20が課金パルスを検出すると図4のフローチャートに示す割込処理を行う。図4のフローチャートに示す割込処理については後述する。
【0036】
S200では、通信状態を確立するための確立手続を行う。上述の使用回線の判断(S110)、課金パルスの発生周期の判断(S120)によって適切な通信方式が選択(S130,S140)されているために、S200の確立手続は、課金パルスが発生する場合であっても、課金パルスの発生以前に完了して通信状態が確立される。そして、通信状態が確立されると、S210にてデータ通信が行われ、S220でオンフック動作によって回線が切断される。そして、S230にて割込が禁止される。
【0037】
続くS240からの処理によって、次回の通信処理のために、今回の通信処理で発呼側データ通信装置1が課金パルスの発生する回線である公衆電話回線30に接続されていたか、又は課金パルスの発生しない回線である一般電話回線40に接続されていたかの判断がなされる。
【0038】
S240では、課金パルス検出フラグZが0か否か判断される。課金パルス検出フラグZは、課金パルス検出回路20によって課金パルスが検出された場合、後述する割込処理によって1となっている。一方、課金パルスが検出されなかった場合、割込処理が行われず0となっている。
【0039】
ここで、課金パルス検出フラグZが0でない場合(S240:NO)、すなわち回線の接続で課金パルスが検出された場合には、S280へ移行して使用回線フラグKに1を代入して処理を終了する。一方、課金パルス検出フラグZが0である場合(S240:YES)、すなわち回線の接続で課金パルスが検出されなかった場合には、S250へ移行する。
【0040】
S250では、S180で保存した時刻Tを現在時刻から減じて回線接続時間を算出する。そして、S260では、S250で算出した回線接続時間がS100において予測された課金パルスの発生周期よりも短いか否かを判断する。ここで否定判断された場合(S260:NO)、すなわち回線接続時間が予測された課金パルスの発生周期よりも長い場合には、課金パルスの発生周期よりも十分長い時間回線を接続していたのにもかかわらず、課金パルスが検出されなかったのであるから課金パルスの発生しない一般回線に接続されていたと判断し、S270へ移行して使用回線フラグKを0として処理を終了する。一方、肯定判断された場合(S260:NO)、すなわち回線接続時間が予測された課金パルスの発生周期よりも短い場合には、そのまま処理を終了する。この場合は、前回の使用回線フラグKの値が変更されないことになる。つまり、回線接続時間が短く課金パルスの発生する公衆電話回線30に接続されている可能性を否定できないため、発呼側データ通信装置1が移動されることは稀であることを前提として前回の判断結果である使用回線フラグKの値をそのまま利用するのである。
【0041】
次に、図4のフローチャートに基づいて、課金パルス検出回路20が課金パルスを検出したときに実行される割込処理について説明する。
最初のステップS300で課金パルス検出フラグZを1とする。そして、S310にて割込を禁止して処理を終了する。
【0042】
従来の発呼側データ通信装置では、選択できる複数の通信方式の中で課金パルスの影響を考慮せず、伝送効率の高い通信方式で通信状態を確立しようとしていた。例えば、本実施形態の発呼側データ通信装置1のようにV.34規格の全二重通信方式及びV.17規格の半二重通信方式を備えるもので、かつ相手局50がV.34規格の全二重通信方式を備えていれば、常にV.34規格の全二重通信方式で通信状態を確立しようとしていた。そのため、課金パルスが確立手続の途中で発生する可能性があり、課金パルスが発生すると通信状態を確立できない状況が生じていた。
【0043】
それに対して、本実施形態の発呼側データ通信装置1では、課金パルスの影響を受けると判断すると、V.17規格の半二重通信方式を選択して相手局50との間に通信状態を確立しようとするし、課金パルスの影響を受けないと判断すると、伝送効率の高いV.34規格の全二重通信方式を選択して相手局50との間に通信状態を確立しようとする。これによって、課金パルスの発生する電話回線から発呼し、課金パルスが発生する場合であっても着呼側データ通信装置との間に通信状態を確立することができると共に、伝送効率の高いデータ送受信が可能となる。
【0044】
なお、過去に一度も回線接続していない状況下では、本実施形態の発呼側データ通信装置1では、メモリ装置22に記憶されている使用回線フラグKは1となっているために、課金パルスの発生する回線が使用されていると判断される(図2中のS110:YES)ことになる。なぜなら、V.34規格の全二重通信方式に比べて伝送効率は低くなるものの、課金パルスが発生した場合であっても、V.17規格の半二重通信方式では通信状態を確立することができるからである。もちろん、V.34規格の全二重通信方式で通信状態を確立するのに十分な課金パルスの発生周期が予測されれば(図2中のS120:YES)、V.34規格の全二重通信方式が選択される。
【0045】
このように、課金パルスの発生する回線が使用されていると判断された場合(図2中のS110:YES)であっても、課金パルスの発生周期を予測しておき(図2中のS100)、予測された課金パルスの発生周期がV.34規格の全二重通信方式で通信状態を確立するための確立手続に要する時間よりも長い場合(図2中のS120:YES)には、V.34規格の全二重通信方式を選択する(図2中のS140)よう構成されている。これによって、課金パルスが発生する公衆電話回線30に本実施形態の発呼側データ通信装置1が接続されていると判断された場合であっても、課金パルスの発生周期によっては伝送効率の高いV.34規格の全二重通信方式で通信状態が確立されることになり、より伝送効率の高いデータ送受信を実現することができる。
【0046】
また、本実施形態の発呼側データ通信装置1では、使用回線フラグKを更新するときに回線の接続時間をも判断する構成となっている。それは、回線接続開始時点を記憶しておき(図2中のS180)、回線接続時間を計算する(図3中のS250)。そして、図2中のS100にて予測された課金パルスの発生周期と図3中のS250にて計算した回線の接続時間とを比較して回線接続時間が短い場合には、課金パルスを検出しなかったときであっても、使用回線フラグKを更新ず前回の使用回線フラグの値をそのまま使用するよう構成されている。これは、回線接続時間が短いために、課金パルスの発生する公衆電話回線30に接続されている可能性を否定できないためである。これによって、課金パルス検出の事実だけでなく課金パルスの発生周期も考慮して課金パルスが発生する回線か否かを判断できるために、実際は課金パルスの発生する公衆電話回線30に接続されているにもかかわらずV.34規格の全二重通信方式を指定して発呼するようなこともなくなり、より確実に通信状態を確立することができる。
【0047】
以上、本発明はこのような実施形態に何等限定されるものではなく、本発明の主旨を逸脱しない範囲において種々なる形態で実施し得る。
上記実施形態の発呼側データ通信装置1においては、第1カテゴリーの通信方式としてV.34規格の全二重通信方式のみを、第2カテゴリーの通信方式としてV.17規格の半二重通信方式のみを備えている構成であったが、第1カテゴリーの通信方式として、V.34規格の全二重通信方式とV.32規格の全二重方式を備え、第2カテゴリーの通信方式として、V.17規格の半二重通信方式とV.29規格の半二重通信方式というように複数の通信方式を備えてもよい。このように複数の通信方式を備えた構成においては、相手局50のモデムとの相談によって伝送効率のより高い通信方式を選択するよう構成することが望ましい。
【図面の簡単な説明】
【図1】本実施形態の発呼側データ通信装置の概略構成を示すブロック図である。
【図2】本実施形態の発呼側データ通信装置の通信処理の前半部分を示すフローチャートである。
【図3】本実施形態の発呼側データ通信装置の通信処理の後半部分を示すフローチャートである。
【図4】本実施形態の発呼側データ通信装置の割込処理を示すフローチャートである。
【符号の説明】
1…発呼側データ通信装置 10…CPU
12…RAM 14…ROM
16…モデム 18…NCU
20…課金パルス検出回路 22…メモリ装置
30…公衆電話回線 40…一般電話回線
50…相手局
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a calling-side data communication apparatus that can be connected to a telephone line such as a public telephone line that collects charges when a charging pulse is generated.
[0002]
[Prior art]
A recent data communication apparatus generally has a plurality of communication methods (modulation methods). And it is comprised so that a communication state can be established by selecting the communication system with which both the data communication apparatuses which perform data communication are equipped from the some communication system. In addition, when there are a plurality of communication systems provided in both data communication apparatuses, a communication system with higher transmission efficiency is selected. For example, as a procedure for selecting such a communication method, ITU-T (New Japan ITU Association) V. There is an 8-session start procedure. When a communication method is selected, a state that enables data transmission / reception between the calling side and called side data communication devices is established by the communication method. In this way, establishing a data transmission / reception enabled state in a certain communication method is hereinafter referred to as “establishing a communication state”. The establishment of the communication state is performed by an establishment procedure in the communication method.
[0003]
By the way, ITU-T recommendation V.I. 34 and V.I. In a communication method with high transmission efficiency called high-speed full-duplex communication such as 32, the signal output from one data communication device is separated from the signal output from the other data communication device for simultaneous transmission and reception within the same frequency band. Echo cancellation technology is used, and the transmission speed and transmission level of signals having a predetermined frequency within the frequency band to be used are measured in the middle of the establishment procedure, so the establishment procedure for establishing the communication state The time required is longer. Compared to this, a communication method with lower transmission efficiency, for example, a full-duplex method in which simultaneous transmission / reception is not performed in the same frequency band even if the same full-duplex method is used, that is, the calling side of the data communication apparatus that performs data transmission / reception. A full-duplex method using a frequency band that does not overlap on the call side, or an ITU-T recommendation V.1 that performs transmission and reception alternately. 27 and V.I. In the half-duplex system such as 17, etc., the echo canceling technique is not required, so that the time required for the establishment procedure for establishing the communication state is generally shortened.
[0004]
[Problems to be solved by the invention]
However, in the conventional calling-side data communication device, as described above, the communication state selected by selecting the communication method having the highest transmission efficiency among the communication methods of both the calling-side and called-side data communication devices. Was configured to establish. Therefore, a long time is required for the establishment procedure for establishing the communication state in order to use the echo cancellation technology. 34 standard and V. When a communication state is to be established using the 32 standard high-speed full-duplex communication method, if the calling side data communication apparatus is connected to a line where a charging pulse is generated, a charging pulse is generated during the establishment procedure. was there. In particular, in long-distance data communication, the generation period of the charging pulse is shortened, so that the possibility of generating the charging pulse during the establishment procedure is increased. If a charging pulse occurs during the establishment procedure, the establishment procedure is re-executed, and the establishment procedure is not completed indefinitely, resulting in a situation where the communication state cannot be established.
[0005]
The present invention has been made in order to solve the above-described problems, and enables data transmission / reception with high transmission efficiency, and is in a communication state with a called-side data communication apparatus even if a charging pulse occurs. It is an object of the present invention to provide a calling side data communication apparatus capable of establishing
[0006]
[Means for Solving the Problems and Effects of the Invention]
The calling side data communication apparatus according to claim 1 may be connected to a telephone line that generates a billing pulse when a line is connected to the called side data communication apparatus by performing a calling process. The communication state can be established by selecting one of multiple communication methods, and the time required for establishing the communication state in order to use the echo cancellation technology in the multiple communication methods is increased. The communication method of the first category in which a charging pulse may occur during the procedure, and the time required for the establishment procedure because the transmission efficiency is lower than that of the communication method of the first category, but the echo cancellation technology is not used. Billing pulse detection means for detecting a billing pulse, comprising a second category communication system that is shortened and completes the establishment procedure before the billing pulse is generatedCharging pulse generation period predicting means for predicting the period at which the charging pulse is generated;When the charging pulse is detected by the charging pulse detection means, the next communication state is established by selecting the communication method of the second category, while no charging pulse is detected by the charging pulse detection means. The next communication state is established by selecting the communication method of the first category.And even if a charging pulse is detected by the charging pulse detection means, the charging pulse generation period predicted by the charging pulse generation period prediction means is the communication state in the communication method of the first category. The communication state is established by selecting the communication method of the first category when it is longer than the time required for the establishment procedure for establishingIt is structured as followsdoing.
[0007]
The “echo cancellation technique” is a technique for separating signals transmitted and received simultaneously in the same frequency band. Although the echo cancellation technique enables full-duplex communication with high transmission efficiency, as described above, the time required for the establishment procedure for establishing the communication state becomes long.
[0008]
In order to increase the transmission efficiency, the conventional calling side data communication device selects the communication method with the highest transmission efficiency from among the communication methods of both the calling side and the called side data communication devices. Was established. In other words, when both data communication apparatuses have the first category communication method, the first category communication method is selected and the communication state is established. However, since the influence of the charging pulse is not taken into consideration, when trying to establish the communication state by the communication method of the first category having a long time required for establishing the communication state by using the echo cancellation technology, There is a possibility that a charging pulse is generated. When the charging pulse is generated, the establishment procedure is not completed and a communication state cannot be established.
[0009]
On the other hand, the calling-side data communication apparatus of the present invention includes a plurality of communication methods, and includes at least one each of a first category communication method and a second category communication method. The communication method of the first category is high in transmission efficiency as described above, but is a communication method that takes a long time to establish the communication state by using the echo cancellation technology, while the communication method of the second category is the first communication method. Transmission efficiency is lower than that of one category of communication method, but since the echo cancellation technology is not used, the time required for the establishment procedure is short, and the establishment procedure of the communication state is completed before the occurrence of the charge pulse, so the charge pulse is generated. This is a communication method that can establish a communication state even for a line to be connected.
[0010]
In the calling side data communication apparatus of the present invention, when a charging pulse is detected by the charging pulse detecting means, the establishment of the next communication state is reliable although the transmission efficiency is lower than that of the communication method of the first category. The second communication method that can establish the communication state is selected and performed. On the other hand, if no charging pulse is detected, the next communication state is established by selecting a communication method of the first category with high transmission efficiency. As a result, it is possible to establish a communication state with the called data communication device even when a charging pulse is generated when a call is generated from a telephone line in which a charging pulse is generated, and data with high transmission efficiency is obtained. Transmission and reception are possible.
[0011]
Further, even if a charging pulse is detected, if the charging pulse generation cycle is long, the procedure for establishing the communication state by the communication method of the first category is completed before the charging pulse is generated, and the transmission efficiency is increased. It is also conceivable that the communication state can be established by the communication method of the first category having a high level. Therefore, even if a charging pulse is detected, the charging pulse generation period predicted by the charging pulse generation period prediction means is longer than the time required for the establishment procedure for establishing the communication state in the communication method of the first category. If it is too long, the communication state is established by selecting the communication method of the first category.
[0012]
That is, for example, the distance between the calling side and the called side is calculated based on the telephone number of the calling side data communication device (own station) and the telephone number of the called side data communication device (partner station), and stored in advance. The charging pulse generation period is predicted based on the existing database, and the condition is determined based on the charging pulse generation period.
[0013]
Specifically, even if a charging pulse is detected, the generation cycle of the charging pulse that is expected to occur when the line is connected to the called data communication device to be called is the first communication method. When it is determined that it is longer than the time required for the establishment procedure for establishing the communication state, in other words, it is determined that the generation period of the charging pulse is sufficient to complete the establishment procedure in the first communication method. In this case, the communication state is established by the communication method of the first category. As a result, even if the calling side data communication device is connected to the telephone line where the charging pulse is generated, communication is performed by the communication method of the first category having high transmission efficiency depending on the generation period of the charging pulse. The state is established, and data transmission / reception with higher transmission efficiency can be realized.
[0014]
The “charging pulse generation cycle predicted by the charging pulse generation cycle predicting means” is a charging pulse generation cycle predicted when a line is connected to the called data communication device to be called. . The charging pulse generation period may be calculated every time before the communication method is determined, or the charging pulse generation period predicted for the previous connection is stored, and the incoming call target is called. If the calling data communication device is the same as the called data communication device that was the object of the previous call, it may be possible to use the stored charging pulse generation period.
[0015]
It should be noted that it is impossible to determine whether or not the calling-side data communication apparatus is using a line on which a charging pulse is generated in a situation where the line has never been connected in the past. In this case, in the calling side data communication apparatus of the present invention, there is no particular limitation as to which one of the first or second category communication methods is specified, but the possibility of a charging pulse is considered. It is desirable to make a call using the communication method of the second category. This is because although the transmission efficiency is lower than that of the communication method of the first category, the communication state can be established in the communication method of the second category even when a charging pulse occurs. Of course, when the charging pulse is not generated, the next communication state is established by selecting the communication method of the first category.
[0016]
In addition, as described in claim 2, in the configuration of claim 1, when the communication method of the first or second category is selected and the communication state is to be established, the communication method of the category to be selected is selected. You may comprise so that a communication system with higher transmission efficiency may be selected. That is, for example, when a communication method of the second category is selected, a communication method with higher transmission efficiency is selected. This enables data transmission / reception with higher transmission efficiency.
[0017]
By the way, even if the charging pulse detection means does not detect the charging pulse, it is conceivable that the line on which the charging pulse is actually used is used by the calling side data communication apparatus. In other words, there may be a situation where the charging pulse cannot be detected because the connection time of the line is short. In such a case, if the communication state is to be established by the communication method of the first category, a situation in which the communication state cannot be established due to the influence of the charging pulse may occur. For this reason, the claims1 or 2In addition to the configuration shown in FIG. 5, the line for measuring the line connection time from the time when the line is connected to the called data communication device to the time when the line is disconnected as shown in claim 3 A charging pulse provided with a connection time measuring means, and the line connection time measured by the line connection time measuring means is predicted by the charging pulse generation period prediction means even when the charging pulse is not detected by the charging pulse detecting means If the generation period is shorter, the communication state may be established by the communication method of the same category as the communication method of the category used for the previous communication state establishment.
[0018]
In the first and second aspects, when the charging pulse is not generated, the next communication state is established by the first communication method. In this case, the condition is further determined based on the connection time of the line. . In other words, if the measured line connection time between the calling side and the called side is shorter than the estimated charging pulse generation cycle, the possibility of generating a charging pulse on the line cannot be denied. Establish the communication state with the communication method of the category used. Specifically, if the previous communication state was established by the communication method of the first category, the communication state was established by the communication method of the first category, and the previous communication state was established by the second communication method. If so, the communication state is established by the second communication method. This is based on the premise that the calling side data communication device is rarely moved. If the possibility that the charging pulse is generated due to the short line connection time cannot be denied, the charging pulse of the charging pulse detecting means The previous judgment is prioritized over the detection result.
[0019]
As a result, it is possible to determine whether or not the line is a line where a charging pulse is generated in consideration of not only the fact that the charging pulse is detected but also the generation period of the charging pulse. Therefore, even though the line is actually connected to the line where the charging pulse is generated. Therefore, there is no need to specify the first communication method to make a call, and the communication state can be established more reliably.
[0020]
The “charging pulse generation period predicted by the charging pulse generation period predicting means” is the generation period of the charging pulse predicted before connecting the line to the called data communication device that is the call target. is there.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, an embodiment of the invention will be described with reference to the drawings.
FIG. 1 shows that the calling-side data communication apparatus 1 of the present embodiment uses either a public telephone line 30 where a charging pulse is generated or a general telephone line 40 where a charging pulse is not generated as indicated by a broken line. A state is shown in which the data communication device is connected to the partner station 50.
[0022]
The configuration of the data communication apparatus 1 according to the present embodiment includes a CPU 10 as a control unit that controls the operation of the entire data communication apparatus. The CPU 10 includes a RAM 12 that is a work area for an operation program of the CPU 10, and a CPU 10. Connection between the ROM 14 storing the operation program and the modem 16 for transmitting / receiving data between the public telephone line 30 or the general telephone line 40 and the modem on the partner station 50 side as a communication partner, and the network NCU (Network Control Unit) 18 that performs / disconnects and dials, charging pulse detection circuit 20 as “charging pulse detection means” that detects the presence or absence of a charging pulse and notifies the CPU 10, and a memory device 22 Is connected.
[0023]
The modem 16 is a V.16 as an example of the “first category communication method”. 34 standard full-duplex communication system and V. 2 as an example of "second category communication system". 17 standard half-duplex communication system, and establishes a communication state with the modem of the partner station 50 by any one of the communication systems selected by the CPU 10 based on the program stored in the ROM 14. It is configured to be able to.
[0024]
The first category communication method is a high-speed full-duplex communication method using echo cancellation technology that enables simultaneous transmission and reception in the same frequency band, and it takes a long time to establish the procedure for using the echo cancellation technology. This is a communication method in which a charging pulse is likely to occur during the procedure. The communication method of the second category is a half-duplex communication method that does not require echo cancellation technology for alternately transmitting and receiving, and since the echo cancellation technology is not required, the time required for the establishment procedure is short, and charging pulses It is a communication method that can complete the establishment procedure before the occurrence. For example, as the communication method of the first category, the above-described V.P. In addition to the 34 standard full-duplex communication system, 32 standard full-duplex communication system is conceivable, and the second category of communication system is V. In addition to the 17 standard half-duplex communication system, A 29 standard half-duplex communication method is conceivable. In the calling side data communication apparatus 1 of the present embodiment, the V.V. has a high transmission efficiency among the communication methods of the first and second categories. 34 full-duplex communication system; 17 standard half-duplex communication system.
[0025]
The memory device 22 is a non-volatile memory, and the stored contents are not lost even when the power supply is stopped. In the memory device 22, the charging pulse detection flag Z, which is the detection result of the charging pulse, and the line used by the calling side data communication device 1 are the public telephone line 30 where the charging pulse is generated or the charging pulse. A use line flag K into which the result of determining whether the telephone line 40 does not occur is substituted. Further, when the other station 50 and the calling side data communication device 1 are connected to the memory device 22 via the public telephone line 30 based on the telephone number of the opposite station 50 and the telephone number of the calling side data communication device 1. A database for predicting the charging pulse generation period for predicting the generation period of the charging pulse generated at the same time is stored.
[0026]
Next, communication processing of the calling side data communication apparatus 1 of this embodiment will be described based on the flowcharts of FIGS. FIG. 2 shows the first half of the communication processing of the calling side data communication device 1, and FIG. 3 shows the second half of the communication processing of the calling side data communication device 1.
[0027]
First, in the first step S100, a charging pulse generation period is predicted. This process refers to the accounting pulse generation period database stored in the memory device 22 based on the telephone number of the partner station 50 to be called and the telephone number of the calling data communication apparatus 1 of the present embodiment. Thus, the generation period of the charging pulse is predicted.
[0028]
In subsequent S110, it is determined whether or not the used line flag K = 1. The used line flag is a result of determining the line used by the calling side data communication apparatus 1 of the present embodiment at the time of the previous line connection in the memory device 22, and a public telephone line on which a charging pulse is generated If it is determined that 30 is used, the used line flag K is 1. On the other hand, if it is determined that a general telephone line that does not generate a charging pulse is used, the used line flag K is Is 0. It is assumed that the used line flag K is 1 in a situation where no line has been connected in the past.
[0029]
Here, when the used line flag K is 1 (S110: YES), that is, it is determined that the calling side data communication apparatus 1 is connected to the public telephone line 30 where the charging pulse is generated in the previous line connection. In the case, the process proceeds to S120. On the other hand, when the used line flag K is not 1 (S110: NO), that is, when it is determined that the calling side data communication apparatus 1 is connected to the general telephone line 40 where no charging pulse is generated in the previous line connection. Shifts to S140.
[0030]
In S120, further condition determination is performed. That is, the charging pulse generation period predicted in S100 is V.S. It is determined whether or not it is longer than the time required for the establishment procedure for establishing the communication state in the 34 standard full-duplex communication method. This is because even when it is determined that a public telephone line that generates a charging pulse is used, the charging pulse generation cycle is long. If the communication state can be established by the full-duplex communication system of the 34 standard, the transmission efficiency is considered. This is because it is desirable to establish a communication state by the 34 standard full-duplex communication method.
[0031]
Here, if an affirmative determination is made (S120: YES), that is, the predicted generation period of the charging pulse is V.V. If it is longer than the time required for the establishment procedure for establishing the communication state in the 34 full-duplex communication method, the process proceeds to S140. On the other hand, if a negative determination is made (S120: NO), that is, the predicted generation period of the charging pulse is V.V. If it is shorter than the time required for the establishment procedure for establishing the communication state in the 34 full-duplex communication method, the process proceeds to S130.
[0032]
In S130, the CPU 10 uses the modem 16 as a communication method and the transmission efficiency is V.P. Although it is lower than the full-duplex communication system of the 34 standard, the establishment procedure is completed before the generation of the charging pulse. Select the 17 standard half duplex communication method. On the other hand, in S140, the CPU 10 uses the V.V. 34 standard full-duplex communication method is selected. After the communication method is selected in S130 or S140, the process proceeds to S150.
[0033]
In S150, an off-hook operation is performed. In S160, the telephone number of the partner station 50 is dialed to request connection of the line. On the other hand, in S165, it is determined whether the partner station 50 has responded with an off-hook operation. When the partner station 50 responds (S165: YES), that is, when the line is connected, the process proceeds to S170. On the other hand, if the partner station does not respond (S165: NO), that is, if the line is not connected, an on-hook operation is performed in S167 and the processing from S150 is repeated.
[0034]
When the line is connected, the billing pulse detection flag Z is initialized to 0 in subsequent S170. In S180, the current time is stored as time T. In this process, the time at the start of line connection is stored as time T in order to calculate the line connection time later.
[0035]
Hereinafter, the latter half of the process will be described with reference to FIG.
In S190, the charging pulse detection circuit 20 permits interruption. Thereafter, when the charging pulse detection circuit 20 detects the charging pulse until the interruption is prohibited, the interruption processing shown in the flowchart of FIG. 4 is performed. The interrupt process shown in the flowchart of FIG. 4 will be described later.
[0036]
In S200, an establishment procedure for establishing a communication state is performed. Since an appropriate communication method is selected (S130, S140) by the determination of the used line (S110) and the determination of the generation period of the charging pulse (S120), the establishment procedure of S200 is performed when the charging pulse is generated. Even so, the communication state is established by completing before the generation of the charging pulse. When the communication state is established, data communication is performed in S210, and the line is disconnected by an on-hook operation in S220. In S230, interrupts are prohibited.
[0037]
In the subsequent processing from S240, for the next communication processing, the calling-side data communication apparatus 1 was connected to the public telephone line 30 that is the line where the charging pulse is generated in the current communication processing, or the charging pulse A determination is made as to whether or not the connection is made to the general telephone line 40 which is a line that does not occur.
[0038]
In S240, it is determined whether or not the charging pulse detection flag Z is 0. The charging pulse detection flag Z is set to 1 by an interrupt process described later when the charging pulse is detected by the charging pulse detection circuit 20. On the other hand, when the charging pulse is not detected, the interrupt process is not performed and the value is 0.
[0039]
Here, when the charging pulse detection flag Z is not 0 (S240: NO), that is, when the charging pulse is detected in the connection of the line, the process proceeds to S280 and 1 is assigned to the used line flag K and the process is performed. finish. On the other hand, when the charging pulse detection flag Z is 0 (S240: YES), that is, when the charging pulse is not detected in the line connection, the process proceeds to S250.
[0040]
In S250, the line connection time is calculated by subtracting the time T stored in S180 from the current time. In S260, it is determined whether or not the line connection time calculated in S250 is shorter than the charging pulse generation period predicted in S100. If a negative determination is made here (S260: NO), that is, if the line connection time is longer than the predicted charging pulse generation period, the line has been connected for a time sufficiently longer than the charging pulse generation period. Nevertheless, since no charging pulse has been detected, it is determined that it is connected to a general line that does not generate a charging pulse, the process proceeds to S270, the used line flag K is set to 0, and the process is terminated. On the other hand, if an affirmative determination is made (S260: NO), that is, if the line connection time is shorter than the predicted charging pulse generation period, the processing ends. In this case, the previous value of the used line flag K is not changed. That is, since it is impossible to deny the possibility of being connected to the public telephone line 30 where the line connection time is short and the charging pulse is generated, it is assumed that the calling side data communication apparatus 1 is rarely moved. The value of the used line flag K, which is the determination result, is used as it is.
[0041]
Next, based on the flowchart of FIG. 4, the interrupt process executed when the charging pulse detection circuit 20 detects the charging pulse will be described.
The charging pulse detection flag Z is set to 1 in the first step S300. In S310, the interruption is prohibited and the process is terminated.
[0042]
In the conventional calling side data communication apparatus, the communication state is tried to be established by a communication method with high transmission efficiency without considering the influence of the charging pulse among a plurality of selectable communication methods. For example, as in the calling-side data communication apparatus 1 of this embodiment, V. 34 full-duplex communication system and 17 standard half-duplex communication system, and the partner station 50 is connected to the V.17 standard. If the full duplex communication system of 34 standard is provided, V. An attempt was made to establish a communication state using a 34 standard full-duplex communication system. For this reason, there is a possibility that a charging pulse is generated in the middle of the establishment procedure, and when the charging pulse is generated, a communication state cannot be established.
[0043]
On the other hand, if it is determined that the calling side data communication device 1 of the present embodiment is affected by the charging pulse, V.P. When the half-duplex communication method of the 17 standard is selected to establish a communication state with the partner station 50 and it is determined that the communication is not affected by the charging pulse, the V.S. The 34 standard full-duplex communication method is selected to establish a communication state with the partner station 50. As a result, it is possible to establish a communication state with the called data communication device even when a charging pulse is generated when a call is generated from a telephone line in which a charging pulse is generated, and data with high transmission efficiency is obtained. Transmission and reception are possible.
[0044]
Note that, in a situation where the line has never been connected in the past, in the calling side data communication device 1 of the present embodiment, since the used line flag K stored in the memory device 22 is 1, charging is performed. It is determined that the line on which the pulse is generated is used (S110: YES in FIG. 2). Because V. Although the transmission efficiency is lower than that of the full-duplex communication system of the 34 standard, V. This is because the communication state can be established in the 17 standard half-duplex communication method. Of course V. If the generation period of the charging pulse sufficient to establish the communication state in the full-duplex communication system of the 34 standard is predicted (S120 in FIG. 2: YES), The 34 standard full-duplex communication method is selected.
[0045]
Thus, even when it is determined that a line that generates a charging pulse is used (S110: YES in FIG. 2), the generation period of the charging pulse is predicted (S100 in FIG. 2). ), The predicted charging pulse generation period is V.S. When the time required for the establishment procedure for establishing the communication state in the full-duplex communication system of the 34 standard is longer (S120: YES in FIG. 2), The 34 standard full-duplex communication method is selected (S140 in FIG. 2). Thus, even when it is determined that the calling side data communication apparatus 1 of the present embodiment is connected to the public telephone line 30 where the charging pulse is generated, depending on the generation period of the charging pulse, the transmission efficiency is high. V. The communication state is established by the 34 standard full-duplex communication method, and data transmission / reception with higher transmission efficiency can be realized.
[0046]
In addition, the calling side data communication device 1 of the present embodiment is configured to determine the line connection time when the used line flag K is updated. It stores the line connection start time (S180 in FIG. 2) and calculates the line connection time (S250 in FIG. 3). Then, when the line connection time calculated in S100 in FIG. 2 is compared with the line connection time calculated in S250 in FIG. 3 and the line connection time is short, the charge pulse is detected. Use line flag K is updated even when there is noSetInstead, it is configured to use the value of the last used line flag as it is. This is because the possibility of being connected to the public telephone line 30 where the charging pulse is generated cannot be denied because the line connection time is short. In this way, it is possible to determine whether or not the line is a line where a charging pulse is generated in consideration of not only the fact that the charging pulse is detected but also the generation period of the charging pulse, so that it is actually connected to the public telephone line 30 where the charging pulse occurs. Nevertheless, V. It is no longer necessary to make a call by designating the 34 standard full-duplex communication method, and the communication state can be established more reliably.
[0047]
As described above, the present invention is not limited to such an embodiment, and can be implemented in various forms without departing from the gist of the present invention.
In the calling side data communication apparatus 1 of the above-described embodiment, the V.V. Only the full-duplex communication system of the 34 standard is used as the second category communication system. Although the configuration was provided with only the half-duplex communication system of the 17 standard, the V. 34 standard full-duplex communication system and 32 standard full-duplex system, V.2 as a second category communication system. 17 standard half-duplex communication system and A plurality of communication systems such as a 29 standard half-duplex communication system may be provided. In such a configuration having a plurality of communication methods, it is desirable to select a communication method with higher transmission efficiency by consultation with the modem of the partner station 50.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a calling side data communication apparatus of an embodiment.
FIG. 2 is a flowchart showing the first half of communication processing of the calling-side data communication apparatus of the present embodiment.
FIG. 3 is a flowchart showing the latter half of the communication process of the calling side data communication device of the present embodiment.
FIG. 4 is a flowchart showing interrupt processing of the calling side data communication device of the present embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Calling side data communication apparatus 10 ... CPU
12 ... RAM 14 ... ROM
16 ... modem 18 ... NCU
20 ... Billing pulse detection circuit 22 ... Memory device
30 ... Public telephone line 40 ... General telephone line
50 ... Counter station

Claims (3)

発呼処理を行って着呼側データ通信装置との間に回線を接続すると課金パルスが発生する電話回線に接続されている可能性があり、複数の通信方式のいずれかを選択して通信状態を確立することができ、前記複数の通信方式の中に、エコーキャンセル技術を使用するために前記通信状態の確立手続に要する時間が長くなり、当該確立手続の途中で課金パルスが発生する可能性のある第1カテゴリーの通信方式と、当該第1カテゴリーの通信方式に比べて伝送効率は低いが前記エコーキャンセル技術を使用しないために前記確立手続に要する時間が短くなり、前記課金パルスの発生以前に前記確立手続を完了する第2カテゴリーの通信方式とを備えた発呼側データ通信装置であって、
課金パルスを検出する課金パルス検出手段と、
課金パルスが発生する周期を予測する課金パルス発生周期予測手段とを備え、
前記課金パルス検出手段によって課金パルスが検出された場合、次回の前記通信状態の確立は前記第2カテゴリーの通信方式を選択して行い、一方、前記課金パルス検出手段によって課金パルスが検出されなかった場合、次回の前記通信状態の確立は前記第1カテゴリーの通信方式を選択して行い、且つ、前記課金パルス検出手段によって課金パルスが検出された場合であっても、前記課金パルス発生周期予測手段によって予測される課金パルスの発生周期が前記第1カテゴリーの通信方式で前記通信状態を確立するための前記確立手続に要する時間よりも長い場合、前記通信状態の確立は前記第1カテゴリーの通信方式を選択して行うよう構成されていることを特徴とする発呼側データ通信装置。
When a line is connected to the called data communication device after performing the call processing, it may be connected to a telephone line that generates a charging pulse. The time required for the communication state establishment procedure in order to use the echo cancellation technique in the plurality of communication methods may be increased, and a charging pulse may be generated during the establishment procedure. The first category communication system and the transmission efficiency is lower than that of the first category communication system, but the time required for the establishment procedure is shortened because the echo cancellation technology is not used, and before the charging pulse is generated. A communication device of a second category that completes the establishment procedure in
Charging pulse detection means for detecting a charging pulse ;
Charging pulse generation period prediction means for predicting the period at which the charging pulse is generated ,
When a charging pulse is detected by the charging pulse detection means, the next communication state is established by selecting the communication method of the second category, while no charging pulse is detected by the charging pulse detection means. case, the establishment of the next of said communication state had row selects the communication type of the first category, and the even if the charging pulse is detected by the charge pulse detecting means, said charging pulse generation period predicted If the generation period of the charging pulse predicted by the means is longer than the time required for the establishment procedure for establishing the communication state in the communication method of the first category, the establishment of the communication state is the communication of the first category. A calling side data communication apparatus, characterized in that it is configured to select and perform a method .
前記第1又は第2カテゴリーの通信方式を選択して、前記通信状態を確立しようとするときには、選択するカテゴリーの通信方式の中で最も伝送効率の高い通信方式を選択するよう構成されていることを特徴とする請求項1に記載の発呼側データ通信装置。When selecting the communication method of the first or second category and establishing the communication state, the communication method having the highest transmission efficiency is selected from the communication methods of the selected category. The calling side data communication apparatus according to claim 1, wherein: 前記着呼側データ通信装置との間に回線が接続された時点から回線が切断された時点までの回線接続時間を計時する回線接続時間計時手段を備え、
前記課金パルス検出手段によって課金パルスが検出されなかった場合であっても、前記回線接続時間計時手段によって計時された回線接続時間が前記課金パルス発生周期予測手段によって予測された課金パルスの発生周期よりも短い場合、前記通信状態の確立は前回の通信状態確立に用いられたカテゴリーの通信方式と同じカテゴリーの通信方式で行うよう構成されていることを特徴とする請求項1又は2に記載の発呼側データ通信装置。
Line connection time counting means for measuring the line connection time from the time when the line is connected to the called data communication device to the time when the line is disconnected;
Even if the charging pulse is not detected by the charging pulse detecting means, the line connection time measured by the line connection time measuring means is longer than the charging pulse generation period predicted by the charging pulse generation period predicting means. Again short originating according to claim 1 or 2, characterized in that the establishment of the communication state is configured to perform a communication method of the same category as the communication scheme of categories used in the previous communication state established Caller data communication device.
JP25153296A 1996-09-24 1996-09-24 Calling side data communication device Expired - Lifetime JP3624055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25153296A JP3624055B2 (en) 1996-09-24 1996-09-24 Calling side data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25153296A JP3624055B2 (en) 1996-09-24 1996-09-24 Calling side data communication device

Publications (2)

Publication Number Publication Date
JPH1098550A JPH1098550A (en) 1998-04-14
JP3624055B2 true JP3624055B2 (en) 2005-02-23

Family

ID=17224218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25153296A Expired - Lifetime JP3624055B2 (en) 1996-09-24 1996-09-24 Calling side data communication device

Country Status (1)

Country Link
JP (1) JP3624055B2 (en)

Also Published As

Publication number Publication date
JPH1098550A (en) 1998-04-14

Similar Documents

Publication Publication Date Title
EP0120718B1 (en) Multi-channel access (mca) radio telephone system
EP0454452B1 (en) Data communication apparatus
US5337350A (en) Facsimile apparatus with telephone system
EP0426451B1 (en) Cordless telephone apparatus
JP3624055B2 (en) Calling side data communication device
JPS61293065A (en) Automatic calling device for facsimile
US5392339A (en) Telephone transfer apparatus using a special signal for transfer in facsimile communication
JPH09252364A (en) Facsimile equipment
US5056083A (en) Telephone apparatus and a method of controlling same
JP3663247B2 (en) DATA COMMUNICATION SYSTEM AND CALLING DEVICE
JPS63316545A (en) Store and forward exchange equipment
JP2563637B2 (en) Automatic redial control method for information communication device
JPH0646124Y2 (en) Communication device
JP2964190B2 (en) Recall control method and device
KR910002911B1 (en) Accounting method by tone detector in pabx
JPS58187050A (en) Automatic dial device
EP0844774A2 (en) Wireless communication system
JPH044650A (en) Communication equipment
JPS58222656A (en) Subscriber calling system
JP2998230B2 (en) How to prevent free calls due to loss of billing signal
JPS627745B2 (en)
JPH08321939A (en) Control method for facsimile equipment
JPS6179351A (en) Automatic dial-tone connecting system when called subscriber line is busy
JPH06104969A (en) Redialing device for telephone set or the like
JPH06350693A (en) Erroneous dial preventing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041014

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041129

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071203

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121203

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 9

EXPY Cancellation because of completion of term