Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4576779B2 - Network control device and automatic notification system using the device - Google Patents
[go: Go Back, main page]

JP4576779B2 - Network control device and automatic notification system using the device - Google Patents

Network control device and automatic notification system using the device Download PDF

Info

Publication number
JP4576779B2
JP4576779B2 JP2001270975A JP2001270975A JP4576779B2 JP 4576779 B2 JP4576779 B2 JP 4576779B2 JP 2001270975 A JP2001270975 A JP 2001270975A JP 2001270975 A JP2001270975 A JP 2001270975A JP 4576779 B2 JP4576779 B2 JP 4576779B2
Authority
JP
Japan
Prior art keywords
data
channel
meter
network control
control device
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 - Fee Related
Application number
JP2001270975A
Other languages
Japanese (ja)
Other versions
JP2003087244A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001270975A priority Critical patent/JP4576779B2/en
Publication of JP2003087244A publication Critical patent/JP2003087244A/en
Application granted granted Critical
Publication of JP4576779B2 publication Critical patent/JP4576779B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、自動検針システムや自動警報システムなどの付加サービスを提供する自動通報システムに用いられる通報装置を、卓内回線接続装置と共に、ISDN基本インタフェ−ス(通話チャネルであるBチャネルが2つと、制御チャネルであるDチャネルが一つ)を有するISDN回線に接続する網制御装置及びその装置を用いた自動通報システムに関する。
【0002】
【従来の技術】
従来、この様な自動通報システムとして、ISDN回線を用いた自動検針システムが提案されている。以下、従来の自動検針システムについて説明する。
【0003】
図9に、従来の自動検針システムの概略構成図を示す。
【0004】
図示するように、従来の網制御装置3aは、ISDN9の局用回線終端装置(OCU)1aよりの、ISDN基本インタフェ−スを有する加入者回線5に接続されている。網制御装置3aは、加入者回線5より受信した、ISDN基本インタフェ−スに従ったISDNの信号(以下、ISDN信号という)を、宅内回線接続装置(NCTE)2およびガスメ−タ等の自動検針を行う検針端末である検針装置4に分岐出力すると共に、NCTE2および検針装置4よりのISDN信号をOCU1aへ出力する。なお、NCTE2は、ISDN用ターミナルアダプタ(以下TAという)7に内蔵されている場合もある。
【0005】
また、網制御装置3aは、OCU1aより着信した呼を終端し、発信元の発信者番号若しくは、着信番号に付加されたサブアドレス等から着信先を判別して、受信したISDN信号(この場合呼制御情報)を検針装置4への着信なら検針装置4へ、それ以外の着信ならNCTE2へと分配する。
【0006】
ここで、符号5aはITU−T勧告のG.960およびG.961に規定されているU点である。網制御装置3aは、OCU1aに対してはあたかもNCTE2が接続されているように動作し、また、NCTE2に対してはあたかもOCU1aが接続されているように見せて動作する。したがって、網制御装置3aとNCTE2との間にも、擬似的なU点5bが形成される。
【0007】
また、検針装置4は、網制御装置3aを介して、OCU1aよりの呼が着信すると、この呼の発信者番号若しくは、着信者番号に付加されるサブアドレスを確認し、この発信者番号が検針センタ6の電話番号である場合及び、着信者番号に付加されたサブアドレスが一致した場合にのみ、この呼に対して応答する。つまり、呼の発信者番号が検針センタ6の電話番号でない場合や呼が発信者番号を伴わない場合に、この呼に対して応答しないので、その呼をNCTE2側に送出し、NCTE2側で処理される。
【0008】
以上の構成により、検針センタ6は、OCU1b、ISDN9およびOCU1aを介して、加入者回線5に対して発信者番号を伴う呼を発信することで、検針装置4との通信を行うことができ、検針装置4より検針結果を受信することで、ISDN9における回線交換のBチャネルを用いて自動検針を行うことができる。
【0009】
また、TA7には、一般電話機8aやパ−ソナルコンピュ−タ(以下PCという)8bが接続されており、電話機8aやPC8bは、TA7、網制御装置3a及びISDN9を介して端末装置13や、公衆網の一般電話機等との通常の通信をBチャネルを用いて行なえるように構成されている。
【0010】
【発明が解決しようとする課題】
ところで、図9において、網制御装置3aは、加入者回線5に空き通話チャネルがない状態で、NCTE2より発信要求を受けると、これを通話中処理してしまう。たとえば、検針装置4とTA7に接続されたPC8bとが加入者回線5を利用中(2つのBチャネルを使用中)であり、加入者回線5に空き通話チャネルがない状態で、TA7に接続された電話機8bがオフフックされると、網制御装置3aはこれに対して通話中の処理をする。
【0011】
また、TA7に接続された電話機8aとPC8bが通信中の時に、検針センタ6からの着信が網制御装置3に入った場合は、網制御装置が電話機8a若しくはPC8bの通信を強制的に切断して、検針センタ6と検針装置4との通信を確保するようにしている(検針デ−タ優先処理)。つまり、従来の網制御装置3aでは、検針装置4と検針センタ6間が通信中であるときは、TA7に接続された電話機8aとPC8bとが同時に使用することができなかった。また、検針装置4の通信の優先順位が高く、NCTE2側に接続される電話機等の装置の通信に対して、強制切断する等を行いそれら接続装置の通信ことを何ら考慮していなかった。
【0012】
本発明は、上記課題にかんがみてなされたものであり、本発明の目的は、検針装置等の通報装置とこれを管理する検針センタ等の管理装置間が通信をISDN基本インタフェ−スの通話チャネルであるBチャネルを使用せず、制御チャネルであるDチャネルを用いて行わせ、NCTE側に接続されるPC等にBチャネルを使用させ、お互いの通信に影響をあたえることなく自動通報を可能とする網制御装置及びその装置を用いた自動通報システムを提供することにある。
【0013】
また、近年、インタ−ネットの普及から回線交換の利用率が増加する一方、通信業界においては、常時接続が可能なパケット型デ−タ通信が主流となりつつある。しかし、TAと通信キャリアとの回線接続形態契約がISDN回線の全てのチャネルに対して回線交換接続またはパケット交換接続のいずれか一方の接続形態に設定されることから、これらのサ−ビスを共有して使用することができる網制御装置は未だ提案されていない。
【0014】
そこで、本発明の二つ目の目的は、通報装置と管理装置との通信をDチャネルパケットデ−タ、Bチャネルパケットデ−タ及びBチャネル回線交換デ−タのいずれかで行わせ、さらにTAとISDNとの通信もDチャネルパケットデ−タ、Bチャネルパケットデ−タ及びBチャネル回線交換デ−タのいずれかで行わせ、それら通信チャネル使用の組み合わせで、確実な通報デ−タ通信の確保を行い、通報装置と管理装置との通信及びTAとISDNとの通信において、効率的に回線を使用できる網制御装置及びその装置を用いた自動通報システムを提供することである。
【0015】
また、望ましい通信チャネル使用形態としては、通報装置とこれを管理する管理装置との通信をIP網を介したDチャネルを用いたIPパケット通信で行い、NCTE側のPC等の装置とISDN9との通信においても、Dチャネルを用いたIPパケット通信又はBチャネルを用いた回線交換通信で行わせることがよい。
【0016】
上記目的を達成するため、本発明の網制御装置は、ISDNの局用回線終端装置と、ISDN信号を送受する第一のインタフェ−ス手段と、宅内回線接続装置と、前記ISDN信号を送受する第二のインタフェ−ス手段と、通報装置と前記ISDN信号を送受する第三のインタフェ−ス手段と、前記第一のインタフェ−ス手段と、第二のインタフェ−ス手段及び第三のインタフェ−ス手段とから受信したデ−タをプロトコル変換後、中継するプロトコル変換手段と、網制御装置への給電状態を監視する監視手段と、を有し、前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段間は、ISDN基本インタフェースのDチャネルパケットデータ又はBチャネル回線交換データのいずれかで通信を行わせ、前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間は、ISDN基本インタフェースのDチャネルパケットデータで通信を行わせ、ISDNのパケット網に障害が発生した場合、前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間を、Bチャネルを用いた回線交換通信に切替え、前記監視手段が、前記網制御装置への給電の停止を検出した場合、前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段との間で信号を通過させるようバイパスすることを特徴とする。
ことを特徴とする。
【0026】
【発明の実施の形態】
図1は、本発明の網制御装置を用いた第1の自動通報システム構成を示す図である。(従来の網制御装置3aに対して本発明の網制御装置を符号3と表記する。)図示するように、通報装置(本実施形態においては「検針装置」として説明する)4及びTA7に接続されたPC8b等は、網制御装置3とOCU1a、ISDN9及びOCU1bを介して、一般にいうインタ−ネットプロバイダ(Internet Service Provider:以下ISPという)11からインタ−ネット12に接続されている。本発明では、このISP11が管理装置(本実施形態においては「検針センタ」として説明する)6の機能を備え、検針装置4は通常のパソコンのようなデ−タ形式を使用することを例とし、検針装置4が通信を行う際の通信機能は網制御装置3が備えた場合を想定して説明する。
【0027】
図に示すシステム構成においては、図9と同様に、網制御装置3は、加入者回線5より受信した、ISDN基本インタフェ−スに従ったISDN信号を、NCTE2および検針装置4に分岐出力すると共に、NCTE2および検針装置4よりのISDN信号をOCU1aへ出力する。
【0028】
また、網制御装置3は、OCU1aより着信した呼を終端し、発信先の発信者番号や宛先サブアドレス等から着信先を判別して、検針装置4への着信なら検針装置4へ、それ以外の着信ならNCTE2へとISDN信号(この場合呼制御情報)を分配する。
【0029】
また、図9と同様に符号5aはITU−T勧告のG.960およびG.961に規定されているU点である。網制御装置3は、OCU1aに対してはあたかもNCTE2が接続されているように見せて動作し、また、NCTE2に対してはあたかもOCU1aが接続されているように見せて動作する。したがって、網制御装置3とNCTE2との間にも、擬似的なU点5bが形成される。
【0030】
また、網制御装置3は、OCU1aよりの呼が着信すると、この呼の発信者番号若しくは、着信番号に付加されたサブアドレスを識別し、この発信者番号が検針センタ6の電話番号である場合及び、着信番号に付加されたサブアドレスが一致した場合にのみこの呼に対して応答する。
【0031】
上記のようなISDN9経由で、ISP11に接続する機能を備えた網制御装置3は、ISDN9のOCU1aよりの、ISDN基本インタフェ−スを有する加入者回線5に接続されている。
【0032】
網制御装置3とISP11とが通信する場合、通常のダイヤルアップ接続との大きな違いは、網制御装置3がISDN9との契約(ISDNを提供する通信事業者との契約)をBチャネル回線交換、Dチャネルパケット交換として結ぶことにある。そして、本発明の自動検針は、このDチャネルパケットを用いて行うものである。
【0033】
これにより、システム的にはPC8bが端末装置13との通信やインタ−ネット12をアクセスする場合には、従来通り回線交換のBチャネルを用い、検針装置4がISP11内の検針センタ6との通信を行う場合は、パケット交換のDチャネルを用い、ITU−Tで勧告されているX.25の通信方式(パケット交換ネットワ−クにおけるDTE−DCE間の通信方式)によって通信を行う。この場合、PC8bがパケット交換のDチャネルを使用できるようなTA7に接続されていて、Dチャネルでパケット通信を行う場合も考えられる。
【0034】
ここで、検針装置4とISP11内の検針センタ6との通信のデ−タ形式の概要を説明すると、検針装置4から発信される検針デ−タのデ−タ形式は、非同期の後述するIPパケットデ−タとよばれるものである。このデ−タを受信した網制御装置3は、パケット網の通信方式であるX.25のフレ−ムに変換し、後述するX.25パケットデ−タとしてISDN9(パケット交換)に送出する。次にこのX.25パケットデ−タを受信したISP11は、内蔵しているパケット制御部111によって、X.25パケットデ−タからIPパケットデ−タに変換して、検針センタ6へ伝達している。
【0035】
また、PC8bからも同様にTA7によってIPパケットデ−タから変換されたX.25パケットデ−タがISP11に送信された場合でも、IPパケットデ−タに逆変換した後に、パケット制御部111によって宛先IPアドレスから検針センタ6へのデ−タかインタ−ネット12へのデ−タかを識別して配信するようにしている。
【0036】
図2は、本発明における網制御装置3の内部構成を示すブロックである。
【0037】
本図では、ISDN9側へ向かう方向を上り、NCTE2側へ向かう方向を下りとして説明する。
【0038】
網制御装置3内には、第一の切替部31、第二の切替部32、第一のフレ−ム制御部33、第二のフレ−ム制御部34、プロトコル変換部35、通信速度変換部36、端末接続部37、回線制御部38、Bch分岐部39、Bch結合部40を備えている。図示しない電源検出部は、網制御装置3に供給される電源を監視し、停電が検出されると第一の切替部31及び第二の切替部32に切替指示を行い、回線が引き込み線路側(第1及び第二のフレ−ム制御部)からバイパス線路41側へ切替られる。
【0039】
第一のフレ−ム制御部33は、ISDN9への加入者線5を終端し、OCU1aに対してNCTE2として動作する。そして、ISDN9からの第一の切替部31経由の下り方向デ−タ受信時は、2線ピンポン伝送方式データから装置内独自の伝送路デ−タに変換する。
【0040】
第一のフレ−ム制御部33内にはチャネル分離部331とチャネル合成部332があり、2つのBチャネルデ−タと1つのDチャネルデ−タに分離/合成を行う。U点5a側から送信されたデ−タは、チャネル分離部331によりBチャネルデ−タとDチャネルデ−タとに分離して、Bチャネルデ−タはBch分岐部39へ、Dチャネルデ−タはプロトコル変換部35内の第一のDch制御部351に送信される。
【0041】
逆にチャネル合成部332は、後述するBch結合部40からのBチャネルデ−タと、プロトコル変換部35内の第二のDch制御部352からのDチャネルデ−タである上り方向のデ−タ受信し、装置内独自の伝送路デ−タであるBチャネルデ−タとDチャネルデ−タを結合後、2線ピンポン伝送方式データに変換する。
【0042】
第二のフレ−ム制御部34は、NCTE2に対してOCU1aとして動作し、NCTE2からの上り方向デ−タ受信時は、2線ピンポン伝送方式データから装置内独自の伝送路デ−タに変換する。
【0043】
第二のフレ−ム制御部34内にはチャネル分離部341とチャネル合成部342があり、2つのBチャネルデ−タと1つのDチャネルデ−タに分離/合成を行う。擬似U点5b側から送信されたデ−タは、チャネル分離部341によりBチャネルデ−タとDチャネルデ−タとに分離して、Bチャネルデ−タはBch結合部40に、Dチャネルデ−タはプロトコル変換部35内の第二のDch制御部352に送信する。
【0044】
逆にチャネル合成部342では、Bch分岐部39からのBチャネルデ−タと、プロトコル変換部35内の第一のDch制御部351からのDチャネルデ−タである下り方向のデ−タ受信時には、装置内独自の伝送路デ−タであるBチャネルデ−タとDチャネルデ−タを結合後、2線ピンポン伝送方式データに変換する。
【0045】
前述したプロトコル変換部35は、ISDN9側のデ−タと検針装置4とのデ−タのデ−タフォ−マットの変換を行うと共に、ISDN9側のデ−タと擬似U点b側のデ−タを中継をも行っている。
【0046】
また、プロトコル変換部35内には、下り用の第一のDch制御部351と、上り用の第二のDch制御部352と、下り用の第一のBch制御部353と、上り用の第二のBch制御部354とを有し、各々の制御部に回線交換処理部aとパケット交換処理部bを備えている。(回線交換処理部とパケット交換処理部の番号は、各々の制御部番号の末尾に回線交換処理部の場合はa、パケット交換処理部の場合はbと表記することとする。)
【0047】
下りデ−タ用の第一のDch制御部351は、第一のフレ−ム制御部内のチャネル分離部331から受信したDチャネルデ−タを識別して、回線交換の呼制御デ−タであって、検針装置4への着信である場合は、回線交換処理部351aがその呼制御手順で接続動作を行い、検針装置4以外の着信である場合は、第二のフレ−ム制御部34内のチャネル合成部342に呼制御デ−タを中継する。
【0048】
また、受信したDチャネルデ−タがパケット交換用のX.25パケットデ−タであれば、パケット交換処理部351bがX.25パケットデ−タをIPパケットデ−タに変換し、検針装置4へのデ−タかそれ以外のデ−タかをIPパケットデ−タ内に格納されているポ−ト番号から導き出されるIPアドレス番号により識別して、デ−タを検針装置4又は、第二のフレ−ム制御部34へ送信する。但し、第二のフレ−ム制御部34へ送信する際は、IPパケットデ−タを再度X.25パケットデ−タに変換してから送信する。
【0049】
次に上りデ−タ用の第二のDch制御部352は、TA7側である第二のフレ−ム制御部34内のチャネル分離部341からDチャネルデ−タを受信した場合であって、終端して回線交換の呼制御デ−タであれば、回線交換処理部352aが、そのデ−タを第一のフレ−ム制御部33に中継する。また、受信したDチャネルデ−タがIPパケットデ−タであれば、パケット交換処理部352bが、IPパケットデ−タをX.25パケットデ−タに変換して第一のフレ−ム制御部内のチャネル合成部332に送信する。
【0050】
また、検針装置4から回線交換の呼制御デ−タを受信した場合は、回線交換処理部352aが、その呼制御手順により相手との接続を行い、受信したデ−タがIPパケットデ−タであれば、パケット交換処理部352bが、IPパケットデ−タをX.25パケットデ−タに変換して第一のフレ−ム制御部内のチャネル合成部332に送信する。
【0051】
次に、下りデ−タ用の第一のBch制御部353は、Bch分岐部39から受信したBチャネルデ−タを識別して、回線交換のデ−タであって、検針装置4へのデ−タである場合は、回線交換処理部353aがそのデ−タを検針装置4側へ中継し、受信したBチャネルデ−タがパケット交換用のX.25パケットデ−タである場合は、パケット交換処理部353bがX.25パケットデ−タをIPパケットデ−タに変換後に、検針装置4へのデ−タかそれ以外のデ−タかをIPパケットデ−タ内に格納されているポ−ト番号から導き出されるIPアドレスより識別して、検針装置4のデ−タならば検針装置4側へ送信する。
【0052】
また、検針装置4以外ならば、X.25パケットデ−タに変換して、Bch分岐部39経由で第二のフレ−ム制御部34に送信する。すなわち、TA7側へ向かう下りのBチャネルパケットデ−タは終端するが、下りのBチャネル回線交換デ−タは終端していない。
【0053】
次に上りデ−タ用の第二のBch制御部354は、TA7側である第二のフレ−ム制御部34内のチャネル分離部341から送出され、Bch結合部40経由でBチャネルデ−タを受信した場合であって、受信したBチャネルデ−タがIPパケットデ−タであれば、パケット交換処理部354bが、IPパケットデ−タをX.25パケットデ−タに変換して、Bch結合部40経由で第一のフレ−ム制御部33内のチャネル合成部332に送信する。
【0054】
また、検針装置4側からBチャネルデ−タを受信した場合は、デ−タを終端し、回線交換のデ−タであれば、回線交換処理部354aが、そのデ−タをBch結合部40へ送信し、受信したBチャネルデ−タがIPパケットデ−タであれば、パケット交換処理部354bが、IPパケットデ−タをX.25パケットデ−タに変換して同様にBch結合部40へ送信する。すなわち、TA7側からの上りのBチャネルパケットデ−タは終端するが、上りのBチャネル回線交換デ−タは終端していない。
【0055】
次に下りデ−タラインであるチャネル分離部331とチャネル合成部342の間に配置されるBch分岐39は、回線制御部38の指示により、Bチャネルデ−タをプロトコル変換部35内の第一のBch制御部と第二のフレ−ム制御部34内のチャネル合成部342に分岐出力する。ただし、Bチャネルがパケット交換の契約を結んでいる場合、すなわちパケットデ−タである場合は、全てのパケットデ−タを一旦終端するため、第一のBch制御部353に送信する。
【0056】
ここで、Bチャネルが回線交換の契約を結んでいる場合、すなわち回線交換のデ−タである場合は、検針装置4へのデ−タのみを第一のBch制御部353に送信するが、TA7側へのデ−タであれば、第一のBch制御部353に送信せず、第二のフレ−ム制御部34へ送信する。この動作は、Dチャネルを全て終端していることから、検針装置4の通信か、TA7側の通信かが接続手順時において認識されているので、その情報を基に行っている。
【0057】
また、回線交換通信を行う場合は、検針装置4へのBチャネルデ−タを優先させるようBチャネル使用するよう動作する。
【0058】
この動作は、回線交換通信が1つのBチャンネルで1つの通信が原則であることと、このシステムでは検針デ−タを優先させていることから、検針装置4の通信時には、一方のBチャネルを第一のBch制御部353への接続させ、その通信経路を必ず確保させ、他方、残りの一つのBチャネルをTA7側が使用するように分岐させている。
【0059】
次に上りデ−タラインであるチャネル分離部341とチャネル合成部332の間に配置されるBch結合40は、回線制御部38の指示により、プロトコル変換部35内の第二のBch制御部354からのBチャネルデ−タと第二のフレ−ム制御部34内のチャネル分離部341からのBチャネルデ−タとを結合させ、第一のフレ−ム制御部33内のチャネル合成部332へ送出する。
【0060】
ただし、Bチャネルがパケット交換の契約を結んでいる場合、すなわちパケットデ−タである場合であって、TA7側からのデ−タを受信したときは、第二のBch制御部354に送信し、第二のBch制御部354が、IPパケットデ−タをX.25パケットデ−タに変換したものを再度受信して、チャネル合成部332に送信する。また、検針装置4からのIPパケットデ−タを受信した時は、第二のBch制御部354によってX.25パケットデ−タに変換されたものを受信し、同様にチャネル合成部332に送信する。
【0061】
ここで、Bチャネルが回線交換の契約を結んでいる場合、すなわち回線交換のデ−タである場合は、検針装置4からのデ−タのみをチャネル合成部332に送信するが、TA7側からのデ−タであれば、第二のBch制御部354に送信せず、第一のフレ−ム制御部33内のチャネル合成部332へ直接送信する。この動作は、Dチャネルを全て終端していることから、検針装置4の通信か、TA7側の通信かが接続手順時において認識されているので、その情報を基に行っている。
【0062】
また、Bch分岐部と同様に、回線交換通信を行う場合は、検針装置4へのBチャネルデ−タを優先させるようBチャネル使用するよう動作する。
【0063】
更にこれは、回線交換にてTA7側の電話機8aとPC8bが通信中であっても、第一のDch制御部351からTA7側の一方のBチャネル切断メッセ−ジを送信、第二のDch制御部352からISDN9の上記一方のBチャネル切断メッセ−ジを送信、さらにBch分岐部39及びBch結合部40において、上記一方のBチャネルの線路を切断することで、強制的に検針装置4が使用できるようBチャネルを確保することができる。
【0064】
次に、網制御装置3内のプロトコル変換部35は、通信速度変換部36を経由し、端末接続部37を介して検針装置4と接続されている。通信速度変換部36は回線制御部38の制御の下に検針装置4との速度をあわせるようにスピ−ド変換を行う。また、端末接続部37は、検針装置4との物理インタフェ−スをあわせる部位であり、例えば、RS−232C等のインタフェ−スがこれにあたる。
【0065】
最後に回線制御部38は、前述した通りプロトコル変換部35、通信速度変換部36、Bch分岐部39及びBch結合部40を制御するとともに、装置全体の制御をつかさどり、CPU、ROM、RAM及びCPU周辺回路から構成されている。
【0066】
次に図3から図5を用いて、図1に示す本発明における網制御装置3を含むシステムの動作を説明する。
【0067】
図3は、検針装置4及びTA7ともにDチャネルパケット交換を用いた通信を行う場合のシ−ケンスを示す図(ケ−ス1)である。本実施形態の検針システムでは、検針装置4が定期的にISP11内の検針センタ6に検針デ−タを送信し、TA7に接続されているPC8bがインタ−ネット12にアクセスしている場合とする。
【0068】
ここで、インタ−ネットアクセスにおけるアドレスについて説明する。インタ−ネット12より網制御装置3に対して一つだけIPアドレスが付与される。このインタ−ネット接続用のアドレスをグロ−バルアドレスと呼ぶ。次に網制御装置3に接続された検針装置4及びTA7に対して、網制御装置3がIPアドレスを仮りに付与するアドレスがあり、これをロ−カルアドレスと呼ぶこととする。
【0069】
まず、検針装置4が網制御装置3に対して起動信号の送信を行う(S300)、次にそれを受けた網制御装置3が、ISDN9を介したISP11との間でDチャネルパケットリンクが確立させる(S301)。検針装置4が検針結果である検針デ−タ(後述するIPパケットデ−タ)を網制御装置3に送信すると(S302)、網制御装置3内の第二のDch制御部352は、検針デ−タである後述するIPパケットデ−タ内の送信元IPアドレスを検針装置4のロ−カルアドレスからグロ−バルアドレスに変換し、更に、検針装置4が付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S303)。そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに変換して(S304)、ISDN9経由でISP11へ送信する(S306)。この際、X.25ヘッダ内のシ−ケンス番号を付与している。
【0070】
ここで、ポ−ト番号とシ−ケンス番号について説明する。本実施形態において網制御装置3には、検針装置4とTA7が接続されている。その物理的に接続される機器の物理インタフェ−スの番号をポ−ト番号と呼び、検針装置4やTA7から送信されるIPパケットデ−タには、検針装置4やTA7に接続されているPC8bが独自にポ−ト番号を決定付与している。これを受信した網制御装置3は、検針装置4等が付与したポ−ト番号に重複があることが予想されるので、網制御装置3が管理できるように網制御装置3独自のポ−ト番号に振りなおしている。また、網制御装置3がISDN9側から受信したデ−タをこのポ−ト番号を元に、IPアドレス変換を行い検針装置4とTA7側に振り分けるようにしている。
【0071】
次に、シ−ケンス番号について説明すると、デ−タをISDN9(パケット交換)送信する際に、そのデ−タの順番を示すシ−ケンス番号を付与しなければならない。このISDN9に接続された装置が、送信する際にそのデ−タの順番を示す番号のことをシ−ケンス番号という。本実施形態の場合、TA7がPC8bから受信したデ−タは、X.25パケットデ−タに変換され網制御装置3に送信される。
【0072】
しかし、その時デ−タのX.25ヘッダ部内にはすでにシ−ケンス番号が付与されている。網制御装置3には検針装置4とTA7が接続されており、その両方からデ−タを受信することとなるので、ISDN9にデ−タを送信する際には、検針装置4から受信するデ−タとTA7から受信するデ−タを統合して、連続したシ−ケンス番号を付与しなければならない。すなわち網制御装置3は、TA7からのデ−タのシ−ケンス番号を振りなおす機能を備えていることなる。
【0073】
ここで、図3に示すシ−ケンスの説明に戻る。ISP11内のパケット制御部111によって、受信したX.25パケットデ−タをIPパケットデ−タに変換し(S307)、次にそのデ−タの宛先IPアドレスを識別し(S308)、宛先IPアドレスが検針センタ6のアドレスであれば、検針センタ6に送信する。
その後、検針センタ6でその検針デ−タを取り込む(S310)。S308にて宛先IPアドレスが検針センタ6以外のアドレスであれば、インタ−ネット12へ送信する(S311)。
【0074】
PC8bからのIPパケットデ−タは、TA7によってシ−ケンス番号が付与された後、X.25パケットデ−タ化され、網制御装置3に送信される(S312)。そのX.25パケットデ−タを受信した網制御装置3内の第二のDch制御部352は、IPパケットデ−タに変換するとともに、IPパケットデ−タ内の送信元IPアドレスをPC8bのロ−カルアドレスからグロ−バルアドレスに変換し、更に、PC8bが付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S313)。
【0075】
そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに再度変換して(S314)、ISDN9経由でISP11へ送信する(S315)。この際、TA7によって付与されたX.25ヘッダ内のシ−ケンス番号を振り直している。送信されたデ−タはISP11によって、S307からS311のように処理される。
【0076】
次に、ISP11から送信されるデ−タを受信する場合について説明する。ISP11内のパケット制御部111は、検針センタ6から受信したIPパケットデ−タに検針装置4のポ−ト番号を宛先ポ−ト番号として付与後、X.25パケットデ−タ化を行い網制御装置3に送信する(S316)。また、ISP11がインタ−ネット12から受信したIPパケットデ−タは、X.25パケットデ−タ化を行い(S324)網制御装置3へ送信する。このとき、検針センタ6からのデ−タとインタ−ネット12からのデ−タには、ISP11がISDN9に送出する順番に連続したシ−ケンス番号が付与されている。
【0077】
ISP11によってX.25パケットデ−タ化されたデ−タをISDN9経由で受信した網制御装置3は、第一のDch制御部351によってX.25パケットデ−タからIPパケットデ−タに変換と共に、宛先ポ−ト番号を基に、宛先IPアドレスをグロ−バルIPアドレスからロ−カルIPアドレスへの変換を行う(S317)。この宛先IPアドレス変換は、検針装置4が接続されている物理ポ−トのポ−ト番号であれば検針装置4が付与してきた送信元ロ−カルIPアドレスに変換し、ポ−ト番号が、検針装置4が接続されている物理ポ−トのポ−ト番号以外であれば、TA7側のPC8bが付与していた送信元ロ−カルIPアドレスに変換を行う。
【0078】
次に変換されたロ−カルIPアドレスである宛先IPアドレスの識別を行い(S318)、検針装置4のIPアドレスであればIPパケットデ−タを検針装置4に送信する(S320)。また、S318によって、宛先IPアドレスが検針装置4以外のIPアドレスであれば、シ−ケンス番号を振り直してX.25パケットデ−タに変換後(S321)、TA7へ送信する(S322)。これによってインタ−ネッ12からのデ−タはTA7に、検針センタ6からのデ−タは検針装置4に伝達される。
【0079】
図4は、検針装置4がDチャネルパケット交換を用いた通信を行い、TA7がBチャネル回線交換を用いて通信を行う際のシ−ケンスを示す図(ケ−ス2)である。本実施形態の検針システムも図3と同様に図1のシステム構成を用いて行い、検針システムが定期的にISP11内の検針センタ6に検針デ−タを送信し、TA7に接続されているPC8bがISDN9に接続されている端末装置13と通信を行う場合を例とする。
【0080】
まず、検針装置4が網制御装置3に対して起動信号の送信を行う(S400)、次にそれを受けた網制御装置3が、ISDN9を介したISP11との間でDチャネルパケットリンクが確立させる(S401)。検針装置4が検針結果である検針デ−タを網制御装置3に送信すると(S402)、網制御装置3内の第二のDch制御部352は、検針デ−タである後述するIPパケットデ−タ内の送信元IPアドレスを検針装置4のロ−カルアドレスからグロ−バルアドレスに変換し、更に、検針装置4が付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S403)。そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに変換して(S404)、ISDN9経由でISP11へ送信する(S406)。この際、X.25ヘッダ内のシ−ケンス番号を付与している。
【0081】
ISP11内のパケット制御部111によって、受信されたX.25パケットデ−タはIPパケットデ−タに変換され(S407)、次にそのデ−タの宛先IPアドレスを識別し(S408)、宛先IPアドレスが検針センタ6のアドレスであれば、検針センタ6に送信する。その後、検針センタ6でその検針デ−タを取り込む(S410)。S408にて宛先IPアドレスが検針センタ6以外のアドレスであれば、インタ−ネット12へ送信する(S411)。
【0082】
ここで、ISP11内の検針センタ6から検針装置4へ送信されるデ−タのシ−ケンスについては、図3と同様のため省略する。
【0083】
次に、端末装置13からTA7に接続されているPC8bに着信が入り、通信するまでのシ−ケンスを説明する。
【0084】
端末装置13からの呼設定メッセ−ジ(SET UP)がISDN9(回線交換)にDチャネルを用いて送信される(S412)。SET UPメッセ−ジを受信したISDN9では、同様にSET UPメッセ−ジを網制御装置3に送信する(S413)とともに端末装置13に対して呼設定受付メッセ−ジ(CALL PROC)を返信する(S417)。そこで、それを受けた網制御装置3は、第一のDch制御部351で、検針装置4か、それ以外かの着信かを発信者番号や、着番号に付加されたサブアドレスから識別して、検針装置4への着信なら検針装置4と通信させるよう動作し、それ以外の着信ならば第二のフレ−ム制御部34を介してTA7側にSET UPメッセ−ジを転送する。
【0085】
本実施例では、端末装置13とTA7側との通信なので、SET UPメッセ−ジは、TA7に転送される(S414)。
【0086】
TA7では、SET UPメッセ−ジに対し、呼設定受付メッセ−ジ(CALL PROC)を網制御装置3に送信する(S415)と同時に呼出メッセ−ジ(ALERT)(S418)、応答メッセ−ジ(CONN)を送信する(S421)。
【0087】
これを受けた網制御装置3は、第二のDch制御部352にて終端して、CALL PROC、ALERT及びCONNメッセ−ジを生成してISDN9に送信する(S416,S419,S422)。ISDN9はこれらを受けて端末装置13にALERT及びCONNメッセ−ジを送信する(S420,S423)。
【0088】
ISDN9は、CONNメッセ−ジを端末装置13に送ると応答に対する応答メッセ−ジ(CONN ACK)を網制御装置13に送信し(S424)、端末装置13からのCONN ACKメッセ−ジを受信する(S426)。
【0089】
ISDN9からのCONN ACKメッセ−ジ(S424)を受信した網制御装置3は、TA7に対してCONN ACKメッセ−ジを転送する(S425)。
【0090】
ここまでのシ−ケンスで端末装置13とTA7との間でDチャネルによるネゴシエ−ションが完了し、次にBチャネルを用いた通信が開始される(S427)。
【0091】
Bチャネルの端末装置13からの下りのデ−タは第一のフレ−ム制御部33、Bch分岐部、第二のフレ−ム制御部34を経由して、TA7へ伝達され、TA7からの上りのデ−タは、第二のフレ−ム制御部34、Bch結合部、第一のフレ−ム制御部33を経由して、端末装置13に伝達される。
【0092】
本実施形態の場合、2つあるBチャネルを一つも検針装置4が使用していないので、Bch分岐部39やBch結合部が動作して、線路に割り込んだり、TA7が通信中の線路を切断するようなことは次図である図5を用いて後述する場合を除いて発生はしない。
【0093】
図5は、検針装置4がDチャネルパケット交換を用いた通信を行い、通信中にISDN9(パケット交換)に何らかの障害等が発生した場合に、Bチャネルを用いた回線交換(回線交換)の通信に切替を行う際のシ−ケンスを示す図(ケ−ス3)である。
【0094】
本実施形態の検針システムも図3と同様に図1のシステム構成を用いて行い、検針システムが定期的にISP11内の検針センタ6に検針デ−タを送信し、ISP11内の検針センタ6が定的に検針デ−タ送信してこない検針装置4側の異常を察知して、回線交換による着信を検針装置4に入れる場合を例とする。
【0095】
まず、検針装置4が網制御装置3に対して起動信号の送信を行う(S500)、次にそれを受けた網制御装置3が、ISDN9を介したISP11との間でDチャネルパケットリンクが確立させる(S501)。検針装置4が検針結果である検針デ−タを網制御装置3に送信すると(S502)、網制御装置3内の第二のDch制御部352は、検針デ−タであるIPパケットデ−タ内の送信元IPアドレスを検針装置4のロ−カルアドレスからグロ−バルアドレスに変換し、更に、検針装置4が付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S503)。そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに変換して(S504)、ISDN9経由でISP11へ送信する(S506,S507)。この際、X.25ヘッダ内のシ−ケンス番号を付与している。
【0096】
ここで、パケット交換の何らかの障害で、ISP11内の検針センタ6には検針デ−タが到達しない場合、定期的に送信されてくる検針デ−タが所定の期間以上送信されてこないと、検針センタ6が異常事態と認識して、回線交換によるBチャネルの通信要求を開始する。
【0097】
ISP11内の検針センタ6からの呼設定メッセ−ジ(SET UP)がISDN9(回線交換)にDチャネルを用いて送信される(S508)。ISDN9では、同様にSET UPメッセ−ジを網制御装置3に送信する(S509)とともに呼設定受付メッセ−ジ(CALL PROC)をISP11に返信する。
そこで、SET UPメッセ−ジを受信した網制御装置3は、第一のDch制御部351で、検針装置4か、それ以外かの着信かを発信者番号や、着番号に付加されたサブアドレスから識別して、検針装置4への着信なら検針装置4と通信させるよう動作し、それ以外の着信ならば第二のフレ−ム制御部34を介してTA7側にSET UPメッセ−ジを転送する。
【0098】
本実施形態では、検針センタ6と検針装置4との通信なので、SET UPメッセ−ジは、網制御装置3内で処理される。
【0099】
網制御装置3では、SET UPメッセ−ジに対し、呼設定受付メッセ−ジ(CALL PROC)をISDN9に送信する(S510)と同時に呼出メッセ−ジ(ALERT)と応答メッセ−ジ(CONN)を送信する(S512,S514)。これを受けたISDN9は、ALERT及びCONNメッセ−ジを生成してISP11に送信する(S513,S515)。
【0100】
ISDN9は、CONNメッセ−ジをISP11に送ると応答に対する応答メッセ−ジ(CONN ACK)を網制御装置13に送信し(S516)、ISP11からのCONN ACKメッセ−ジを受信する(S517)。
【0101】
ここまでのシ−ケンスでISP11と検針装置4との間でDチャネルによるネゴシエ−ションが完了し、次にBチャネルを用いた通信が開始される(S518)。
【0102】
BチャネルのISP11からの下りのデ−タは第一のフレ−ム制御部33、Bch分岐部、第一のBch制御部353を経由して、通信速度変換部36によりを検針装置4のスピ−ドに変換して、端末接続部37を介して検針装置4に伝達される。また、検針装置4からの上りのデ−タは、第二のBch制御部354、Bch結合部40、第一のフレ−ム制御部33を経由して、ISP11側に伝達される。
【0103】
本実施形態の場合、2つあるBチャネルを一つも検針装置4が使用する事態が発生しているので、Bch分岐部39やBch結合部40が動作して、TA7が通信中で2つのBチャネルを使用している場合は、TA7側が使用している2つのBチャネルの一方のBチャネルを切断するような検針デ−タ優先の動作を行う。
【0104】
もし、TA7が片方のBチャネルしか使用していない場合であって、検針装置4が検針センタ6との通信をBチャネルで行っている場合は、TA7に接続されているもう一つの装置が通信しようとしても、網制御装置3がTA7に対して通話中の処理をするようにしている。
【0105】
図6は、本発明の網制御装置を用いた第2の通信システム構成を示す図である。
【0106】
図示するように、検針装置4及びTA7に接続されたPC8b等は、網制御装置3とISDN9を介して後述するIP網10に接続され、更にISP11からインタ−ネット12に接続されている。本発明では、このISP11が検針センタ6の機能を備えたシステムの場合を例にして説明する。図1と図6との相違箇所は、図1でISP11とISDN9は、OCU1bを介して接続されていたが、図6では、OCU1bを介しての接続のほかにISDN9に接続されているIP網10とも接続されている点である。ISP11と網制御装置3とのOCU1bを介しての通信は、図3から図5で説明してきた動作と同じであり、新たな構成であるIP網10を使用するといった点がポイントとなる。
【0107】
次に各都道府県別のように地域毎に構築されたIP網(以下IP網という)を使用したIPネットワークについて説明する。通信キャリアである通信事業者が提供するインタ−ネット接続用の定額通話料サ−ビスでは、ユ−ザ−宅から最寄りの電話局までは通常のISDN回線を含む電話回線を使用し、その電話局から通信事業者が構築したIP網に入り、契約したISPに接続する。これが、IPネットワ−クと呼ばれ、IPネットワ−クは、交換機を使った電話回線網と異なり、1本の回線に複数デ−タを流すことができるようになっている。
【0108】
そのため、長時間接続の際も回線を専有するのはユ−ザ−宅から収容局までであり、回線効率がよく、コストを安く押さえることができる。その代わり、IP網の中は伝送速度が保証されないベストエフォ−ト型となる。
【0109】
通常のダイヤルアップ接続の場合、ISPは市外局番ごとにアクセスポイント設置する必要があったが、インタ−ネット接続用の定額通話料の場合、各県1カ所の拠点でIP網10に接続するだけですむ。このようなことから、本発明におけるISP11もインタ−ネット接続用の定額通話料でのサ−ビスをユ−ザ−に提供することも可能である。
【0110】
なお、インタ−ネット接続用の定額通話料サ−ビスでは、IP網10を使用せず収容局から直接ISPに接続するサ−ビス考えられる。図1の接続形態が定額通話料でインタ−ネットアクセスを行わせる場合がこれにあたる。
【0111】
上記のようなIP網10経由で、ISP11に接続する機能を備えた網制御装置3は、ISDN9のOCU1aよりの、ISDN基本インタフェ−スを有する加入者回線5に接続されている。
【0112】
網制御装置3とIP網10とが接続する場合、通常のダイヤルアップ接続との大きな違いは、通信事業者の収容局(電話局)からISP11までの回線に電話回線網ではなく、IP網10というIPネットワ−クを使っていることである。
これにより、1通話で1回線専有してしまう電話回線網を使わないことで、電話回線のつなぎっぱなしという状態に対応可能になる。
【0113】
網制御装置3は、加入者回線5より受信した、ISDN基本インタフェ−スに従ったISDN信号を、NCTE2およびISDN対応端末である検針装置4に分岐出力すると共に、NCTE2および検針装置4よりのISDN信号をOCU1aへ出力する。
【0114】
また、網制御装置3は、OCU1aより着信した呼を終端し、発信先の発信者番号や宛先サブアドレス等から識別して、検針装置4への着信なら検針装置4へ、それ以外の着信ならNCTE2へISDN信号(この場合呼制御情報)を分配する。
【0115】
以上の構成により、図6でいうところの検針センタ6の機能を持ったISP11が、IP網10、ISDN9およびOCU1aを介して、加入者回線5に対して発信者番号を伴う呼(IPパケットデ−タ)を発信することで、検針装置4との通信を網制御装置3を介して行うことができ、検針装置4より検針結果を受信することで、ISP11が自動検針を行うことができる。
【0116】
また、前述したとおり、IP網10への接続は電話回線のつなぎっぱなしという状態に対応可能になったので、検針装置4から定期的に検針情報を検針センタ6でもあるISP11に送信してもよい。
【0117】
従って、ユ−ザ−がISP11と通常のプロバイダ契約を結ぶのと同時に自動検針システムとの契約を結ぶことが可能となり、本発明の網制御装置3を用いればプロバイダ事業と自動検針事業を融合したサ−ビスを提供することが可能となる。前述したプロバイダ事業と融合される事業は、自動検針事業のみならず、防犯センサ、防犯カメラといった警備装置を配備したシステムである監視警備事業等との融合にも応用できる。なお、これは図1に示すシステム構成でも同様である。
【0118】
次に図7を用いて、本発明における網制御装置3を用いたシステムの動作を説明する。
【0119】
図7は、検針装置4及びTA7ともに常時接続契約(つなぎっぱなし)であるDチャネルパケット交換を用いた通信を行う際のシ−ケンスを示す図である。本実施形態の検針システムでは、検針システムが定期的にISP11内の検針センタ6に検針デ−タを送信し、TA7に接続されているPC8bがインタ−ネット12にアクセスしている場合とする。
【0120】
ここで、図1と図6の動作における相違点を簡単に説明する。図1でのISDN9は、X.25パケットデ−タを加工することなく双方向に転送していたが、図7のISDN9は、交換局に網制御装置3や、検針センタ6内蔵のISP11が持つプロトコル変換機能の一部を持った場合を想定している。その一部の機能とは、X.25パケットデ−タとIPパケットデ−タの相互変換であり、IPパケットデ−タである場合は、IP網10との通信を行わせるようにしたものである。
【0121】
まず、検針装置4が網制御装置3に対して起動信号の送信を行う(S700)、次にそれを受けた網制御装置3が、ISDN9との間でDチャネルパケットリンクが確立させる(S701)。検針装置4が検針結果である検針デ−タ(後述するIPパケットデ−タ)を網制御装置3に送信すると(S702)、網制御装置3内の第二のDch制御部352は、検針デ−タであるIPパケットデ−タ内の送信元IPアドレスを検針装置4のロ−カルアドレスからグロ−バルアドレスに変換し、更に、検針装置4が付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S703)。そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに変換して(S704)、ISDN9経由でISP11へ送信する(S706)。この際、X.25ヘッダ内のシ−ケンス番号を付与している。
【0122】
ISDN9は、受信したX.25パケットデ−タをIPパケットデ−タに変換し(S707)、IP網10経由でISP11に送信する(S715)。
【0123】
ISP11内のパケット制御部111によって、受信したIPパケットデ−タの宛先IPアドレスを識別し(S708)、宛先IPアドレスが検針センタ6のアドレスであれば、検針センタ6に送信する。その後、検針センタ6でその検針デ−タを取り込む(S710)。S708にて宛先IPアドレスが検針センタ6以外のアドレスであれば、インタ−ネット12へ送信する(S711)。
【0124】
PC8bからのIPパケットデ−タは、TA7によってシ−ケンス番号が付与され、X.25パケットデ−タ化され、網制御装置3に送信される(S712)。そのX.25パケットデ−タを受信した網制御装置3内の第二のDch制御部352は、IPパケットデ−タに変換するとともに、IPパケットデ−タ内の送信元IPアドレスをPC8bのロ−カルアドレスからグロ−バルアドレスに変換し、更に、PC8bが付与してきた送信元のポ−ト番号を網制御装置が管理するポ−ト番号に変換する(S713)。そして、パケット交換対応のデ−タフレ−ムである後述するX.25パケットデ−タのフレ−ムに再度変換して(S714)、ISDN9経由でISP11へ送信する。この際、TA7によって付与されたX.25ヘッダ内のシ−ケンス番号を振り直している。
【0125】
送信されたデ−タはISDN9及びISP11によって、S707からS711のように処理される。
【0126】
次に、ISP11から送信されるデ−タを受信する場合について説明する。ISP11内のパケット制御部111は、検針センタ6から受信したIPパケットデ−タに検針装置4のポ−ト番号を宛先ポ−ト番号として付与後、X.25パケットデ−タ化を行いISDN9に送信する(S716)。
【0127】
また、ISDN9がインタ−ネット12から受信したIPパケットデ−タは、そのままISDN9へ送信される。
【0128】
また、ISDN9が検針センタ6とインタ−ネット12から受信したIPパケットデ−タは、X.25パケットデ−タに変換し(S717)網制御装置3へ送信する(S718)。このとき、検針センタ6からのデ−タとインタ−ネット12からのデ−タには、ISP11がISDN9に送出する順番に連続したシ−ケンス番号が付与されている。
【0129】
ISDN9によってX.25パケットデ−タ化されたデ−タを受信した網制御装置3は、第一のDch制御部351によってX.25パケットデ−タからIPパケットデ−タに変換と共に、宛先ポ−ト番号を基に、宛先IPアドレスをグロ−バルIPアドレスからロ−カルIPアドレスへの変換を行う(S719)。この宛先IPアドレス変換は、検針装置4が接続されている物理ポ−トのポ−ト番号であれば検針装置4が付与してきた送信元ロ−カルIPアドレスに変換し、ポ−ト番号が、検針装置4が接続されている物理ポ−トのポ−ト番号以外であれば、TA7側のPC8bが付与していた送信元ロ−カルIPアドレスに変換を行う。次に変換されたロ−カルIPアドレスである宛先IPアドレスの識別を行い(S720)、検針装置4のIPアドレスであればIPパケットデ−タを検針装置4に送信する(S721)。また、S720によって、宛先IPアドレスが検針装置4以外のIPアドレスであれば、シ−ケンス番号を振り直してX.25パケットデ−タに変換後(S722)、TA7へ送信する(S723)。これによってインタ−ネッ12からのデ−タはTA7に、検針センタ6からのデ−タは検針装置4に伝達される。
【0130】
図8にIPパケットデ−タ及びX.25パケットデ−タのフォ−マットを示す。
【0131】
図8の(a)がIPパケットデ−タのフォ−マットであり、(b)がX.25パケットデ−タフォ−マットである。また、(c)にIPパケットデ−タ内のIPヘッダ部のフォ−マット、(d)にIPパケットデ−タ内のTCP/UDPヘッダ部のフォ−マットを示す。
【0132】
検針装置4やPC8bからのIPパケットデ−タは、一般に非同期PPPフレ−ムデ−タと呼ばれ、(a)のようなフォ−マットである。IPパケットデ−タは、情報部であるデ−タ部があり、デ−タ部の送出側にTCP/UDP部、IPパケットであることを示すIPヘッダ部が付加され、更にLCP/NCP等のタイプを示すタイプ部、コントロ−ル部、アドレス部、先頭にフラグ部を配置し、デ−タ部の後方にFCS部、最後尾にフラグ部を付加した形態をとっている。これは、一般的にいうところのHDLCフレ−ムフォ−マットと同じである。
【0133】
TCP/UDP部は、TCP/IPプロトコルにおけるトランスポ−ト層のプロトコルの種類をTCPかUDPかを示している。
【0134】
次にX.25パケットデ−タについて説明すると、(a)のIPパケットデ−タからフラグ部、FCS部を削除し、前方にX.25のデ−タであることを示すX.25ヘッダ部を付加し、後方にFCS部、フラグ部を付加した形態をとっている。X.25ヘッダ部は、P(S)/P(R)部、コントロ−ル部、アドレス部、フラグ部を有し、P(S)/P(R)部は、送信/受信順序番号であり、X.25パケットレイヤのシ−ケン番号である。
【0135】
ただし、IPパケットデ−タのデ−タ部は1494バイトのデ−タが格納できるが、X.25パケットデ−タのデ−タ部は、256バイトのデ−タしか格納できないので、X.25パケットデ−タ化する際には、IPパケットデ−タのデ−タを分割して、複数のX.25パケットデ−タにして送信する必要がある。
【0136】
なお、前述したとおり、このIPパケットデ−タとX.25パケットデ−タの変換作業を網制御装置3でいうところのプロトコル変換部35で行っている(厳密にいうと、さらにその内部のパケット処理部)。また、網制御装置3以外の、ISP11、ISDN9でも同様に行っている。
【0137】
また、TA7及び網制御装置3で、非同期IPパケットデ−タをX.25パケットデ−タに変換する動作を詳細に説明すると、TA7及び網制御装置3ともに非同期IPパケットデ−タを受信すると、一旦、同期のIPパケットデ−タに変換した後に、X.25パケットデ−タに変換を行っている。非同期IPパケットデ−タと同期IPパケットデ−タとは、詳細なデ−タフォ−マット(非同期デ−タにはスタ−トビットやストップビットが付加等される)は異なるが、IPヘッダ部、TCP/UDP部、デ−タ部等の送信デ−タとして有用の実デ−タはなんらかわることはない。
【0138】
更に、上記実施形態の網制御装置3では、常時接続契約のDチャネルを用いて通信をおこなった場合について説明したが、Bチャネルの常時接続契約に対応することも容易に可能である。それは、呼制御情報は、プロトコル変換部35内の上り下りのDch制御部で処理し、Bチャネルを用いたBチャネルパケットデ−タは上り下りのBch制御部内のパケット処理部で非同期IPパケットデ−タ−X.25パケットデ−タ間の変換をDチャネルデ−タと同様に行うことで実現できる。
【0139】
なお、以上の説明は、検針システムについての説明をしたものであるが、これに限定されるものではない。例えば、警報システム、セキュリティシステム、監視システム等、自動的に何らかの情報を通報する、通報装置とこれを管理する管理装置を備えた全ての自動通報システムに適用できるものである。
【0140】
【発明の効果】
以上本発明によれば、通報装置と管理装置間が通信をISDN基本インタフェ−スの通話チャネルであるBチャネルを使用せず、制御チャネルであるDチャネルを用いて行わせ、NCTE側に接続されるPC等にBチャネルを使用させ、お互いの通信に影響をあたえることなく自動通報を可能とする網制御装置及びこの装置を用いた自動通報システムを構築することができる。
【0141】
また、通報装置と管理装置との通信をDチャネルパケットデ−タ、Bチャネルパケットデ−タ及びBチャネル回線交換デ−タのいずれかで行い、TAとISDNとの通信もDチャネルパケットデ−タ、Bチャネルパケットデ−タ及びBチャネル回線交換デ−タのいずれかで行わせ、それら通信チャネル使用の組み合わせで、確実な通報デ−タ通信の確保を行い、通報装置と管理装置との通信と、TAとISDNとの通信とが効率的に回線を使用できる網制御装置及びこの装置を用いた自動通報システムを構築することができる。
【0142】
更に望ましい通信チャネル使用形態である、通報装置と管理装置との通信をIP網を介したDチャネルを用いたIPパケット通信で行い、NCTE側のPC等の装置とISDN9との通信においても、Dチャネルを用いたIPパケット通信を行わせることが可能となる。
【図面の簡単な説明】
【図1】本発明の網制御装置を用いた自動検針システムの構成図(実施形態1)である。
【図2】本発明の網制御装置の内部ブロック図である。
【図3】本発明の網制御装置を用いた自動検針システムの動作のシ−ケンス図である。(実施形態1:ケ−ス1)
【図4】本発明の網制御装置を用いた自動検針システムの動作のシ−ケンス図である。(実施形態1:ケ−ス2)
【図5】本発明の網制御装置を用いた自動検針システムの動作のシ−ケンス図である。(実の形態1:ケ−ス3)
【図6】本発明の網制御装置を用いた自動検針システムの構成図(実施形態2)である。
【図7】本発明の網制御装置を用いた自動検針システムの動作のシ−ケンス図である。(実施形態2:ケ−ス1)
【図8】IPパケットデ−タ及びX.25パケットデ−タのフレ−ムフォ−マットを示す図である。
【図9】従来の網制御装置を用いた自動検針システムの構成図である。
【符号の説明】
1・・・局用回線終端装置(OCU)
2・・・宅内回線接続装置(NCTE)
3・・・網制御装置
4・・・検針装置(通報装置)
5・・・加入者回線
6・・・検針センタ(管理装置)
7・・・タ−ミナルアダプタ(TA)
8・・・電話機(8a)、パ−ソナルコンピュ−タ(PC:8b)
9・・・ISDN
10・・IP網
11・・ISP(インタ−ネットプロバイダ)
12・・インタ−ネット
13・・端末装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an ISDN basic interface (two B channels which are communication channels) as well as an in-desk line connection device as an informing device used in an automatic informing system that provides additional services such as an automatic meter reading system and an automatic alarm system. The present invention relates to a network control apparatus connected to an ISDN line having one D channel as a control channel and an automatic notification system using the apparatus.
[0002]
[Prior art]
Conventionally, an automatic meter reading system using an ISDN line has been proposed as such an automatic notification system. Hereinafter, a conventional automatic meter reading system will be described.
[0003]
FIG. 9 shows a schematic configuration diagram of a conventional automatic meter reading system.
[0004]
As shown in the figure, a conventional network control device 3a is connected to a subscriber line 5 having an ISDN basic interface from an ISDN 9 station termination unit (OCU) 1a. The network control device 3a receives an ISDN signal (hereinafter referred to as an ISDN signal) received from the subscriber line 5 in accordance with the ISDN basic interface, and automatically reads the home line connection device (NCTE) 2 and a gas meter or the like. In addition to branching and outputting to the meter-reading device 4 which is a meter-reading terminal, the ISDN signal from the NCTE 2 and the meter-reading device 4 is output to the OCU 1a. The NCTE 2 may be built in the ISDN terminal adapter (hereinafter referred to as TA) 7.
[0005]
The network control device 3a terminates the call received from the OCU 1a, discriminates the destination from the caller number of the caller or the subaddress added to the callee number, and receives the received ISDN signal (call control in this case). Information) is distributed to the meter-reading device 4 if it is an incoming call to the meter-reading device 4, and to the NCTE 2 if it is another incoming call.
[0006]
Here, reference numeral 5a denotes ITU-T recommendation G.I. 960 and G.G. This is the U point specified in 961. The network control device 3a operates as if the NCTE 2 is connected to the OCU 1a, and operates as if the OCU 1a is connected to the NCTE 2. Accordingly, a pseudo U point 5b is also formed between the network control device 3a and the NCTE 2.
[0007]
Further, when a call from the OCU 1a arrives via the network control device 3a, the meter-reading device 4 confirms the caller number of this call or the subaddress added to the caller-number, and this caller number is determined by the meter-reading center. Only when the telephone number is 6 and when the subaddress added to the called party number matches, the call is answered. That is, when the caller number of the call is not the telephone number of the meter-reading center 6 or when the call is not accompanied by the caller number, the call is not answered, so the call is sent to the NCTE2 side and processed on the NCTE2 side. Is done.
[0008]
With the above configuration, the meter reading center 6 can communicate with the meter reading device 4 by sending a call with a caller number to the subscriber line 5 via the OCU 1b, ISDN 9 and OCU 1a. By receiving the meter reading result from the meter-reading device 4, automatic meter reading can be performed using the circuit-switched B channel in ISDN 9.
[0009]
The TA 7 is connected to a general telephone 8a and a personal computer (hereinafter referred to as PC) 8b. The telephone 8a and the PC 8b are connected to the terminal device 13 via the TA 7, the network control device 3a, and the ISDN 9, A normal communication with a public telephone or the like of the public network can be performed using the B channel.
[0010]
[Problems to be solved by the invention]
By the way, in FIG. 9, when the network control device 3a receives a call request from the NCTE 2 in a state where there is no free call channel on the subscriber line 5, this is processed during a call. For example, the meter-reading device 4 and the PC 8b connected to the TA 7 are using the subscriber line 5 (using two B channels), and the subscriber line 5 is connected to the TA 7 with no free call channel. When the telephone 8b is off-hooked, the network control device 3a performs processing during the call.
[0011]
Also, if the incoming call from the meter reading center 6 enters the network control device 3 while the telephone 8a and the PC 8b connected to the TA 7 are communicating, the network control device forcibly disconnects the communication of the telephone 8a or the PC 8b. Thus, communication between the meter-reading center 6 and the meter-reading device 4 is ensured (meter-reading data priority processing). That is, in the conventional network control device 3a, when the meter reading device 4 and the meter reading center 6 are communicating, the telephone 8a and the PC 8b connected to the TA 7 cannot be used at the same time. Further, the communication priority of the meter-reading device 4 is high, and the communication of devices such as a telephone connected to the NCTE 2 side is forcibly disconnected and the communication of these connected devices is not taken into consideration.
[0012]
The present invention has been made in view of the above problems, and an object of the present invention is to communicate between a notification device such as a meter-reading device and a management device such as a meter-reading center for managing the communication channel of the ISDN basic interface. The B channel is not used, the D channel is used as the control channel, and the B channel is used by the PC connected to the NCTE side, enabling automatic notification without affecting each other's communication. It is an object of the present invention to provide a network control apparatus that performs the above and an automatic notification system using the apparatus.
[0013]
In recent years, the utilization rate of circuit switching has increased due to the widespread use of the Internet. On the other hand, in the communication industry, packet-type data communication that can be always connected is becoming mainstream. However, since the circuit connection type contract between the TA and the communication carrier is set to either the circuit switched connection or the packet switched connection for all the channels of the ISDN line, these services are shared. A network control device that can be used as such has not been proposed yet.
[0014]
Accordingly, a second object of the present invention is to allow communication between the reporting device and the management device using either D-channel packet data, B-channel packet data, or B-channel circuit switching data. TA and ISDN are also communicated with either D-channel packet data, B-channel packet data, or B-channel circuit-switched data, and reliable notification data communication is achieved by combining these communication channels. And providing a network control device that can efficiently use a line in communication between the notification device and the management device and communication between the TA and ISDN, and an automatic notification system using the device.
[0015]
As a desirable communication channel usage mode, communication between the reporting device and the management device that manages the notification device is performed by IP packet communication using the D channel via the IP network, and a device such as a PC on the NCTE side and the ISDN 9 In the communication, it is preferable to perform the IP packet communication using the D channel or the circuit switching communication using the B channel.
[0016]
In order to achieve the above object, the network control apparatus of the present invention transmits and receives the ISDN station line terminating device, first interface means for transmitting and receiving an ISDN signal, an in-home line connection device, and the ISDN signal. A second interface means, a third interface means for transmitting and receiving the ISDN signal, a first interface means, a second interface means and a third interface. Protocol conversion means for relaying the data received from the protocol means after protocol conversion, and monitoring means for monitoring the power supply state to the network control device, wherein the first interface means and the first interface Communication between the two interface means is performed using either the D-channel packet data or the B-channel circuit switching data of the ISDN basic interface, and the first interface unit And the third interface means communicate with D channel packet data of the ISDN basic interface, and when a failure occurs in the ISDN packet network, the first interface means and the third interface means When the interface means switches to circuit-switched communication using the B channel, and the monitoring means detects that power supply to the network control device is stopped, the first interface means and the second interface means Bypass to pass signals to and from the interface means It is characterized by that.
It is characterized by that.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing a first automatic notification system configuration using the network control device of the present invention. (The network control device of the present invention is denoted by reference numeral 3 with respect to the conventional network control device 3a.) As shown in the figure, connected to the notification device (described as “meter-reading device” in this embodiment) 4 and TA7 The PC 8b and the like are connected to the Internet 12 from a general Internet provider (hereinafter referred to as ISP) 11 through the network control device 3, the OCU 1a, the ISDN 9, and the OCU 1b. In the present invention, the ISP 11 has a function of a management device 6 (explained as “meter reading center” in the present embodiment), and the meter reading device 4 uses a data format such as a normal personal computer as an example. The communication function when the meter-reading device 4 performs communication will be described on the assumption that the network control device 3 is provided.
[0027]
In the system configuration shown in the figure, as in FIG. 9, the network control device 3 branches and outputs the ISDN signal received from the subscriber line 5 according to the ISDN basic interface to the NCTE 2 and the meter-reading device 4. The ISDN signal from the NCTE 2 and the meter-reading device 4 is output to the OCU 1a.
[0028]
Further, the network control device 3 terminates the call received from the OCU 1a, discriminates the incoming call destination from the caller number, the destination subaddress, etc. of the call destination, and to the meter reading device 4 if the incoming call is to the meter reading device 4, otherwise If there is an incoming call, the ISDN signal (call control information in this case) is distributed to NCTE2.
[0029]
Similarly to FIG. 9, reference numeral 5a denotes ITU-T recommendation G.I. 960 and G.G. This is the U point specified in 961. The network control device 3 operates as if the NCTE 2 is connected to the OCU 1a, and operates as if the OCU 1a is connected to the NCTE 2. Therefore, a pseudo U point 5b is also formed between the network control device 3 and the NCTE 2.
[0030]
Further, when a call from the OCU 1a arrives, the network control device 3 identifies the caller number of this call or the subaddress added to the call reception number, and the caller number is the telephone number of the meter-reading center 6. The call is answered only when the subaddress added to the called number matches.
[0031]
The network control device 3 having a function of connecting to the ISP 11 via the ISDN 9 as described above is connected to a subscriber line 5 having an ISDN basic interface from the OCU 1a of the ISDN 9.
[0032]
When the network control device 3 and the ISP 11 communicate with each other, the major difference from the normal dial-up connection is that the network control device 3 exchanges a contract with the ISDN 9 (a contract with a telecommunications carrier providing ISDN) with B channel circuit switching. It is to tie as D channel packet exchange. And the automatic meter-reading of this invention is performed using this D channel packet.
[0033]
Thus, in terms of system, when the PC 8b communicates with the terminal device 13 or accesses the Internet 12, the circuit-switched B channel is used as before, and the meter reading device 4 communicates with the meter reading center 6 in the ISP 11. Is performed using the packet-switched D channel and the X.264 recommended by ITU-T. Communication is performed by 25 communication systems (communication system between DTE and DCE in a packet switching network). In this case, it is conceivable that the PC 8b is connected to the TA 7 that can use the packet-switched D channel and performs packet communication on the D channel.
[0034]
Here, the outline of the data format of communication between the meter-reading device 4 and the meter-reading center 6 in the ISP 11 will be described. The data format of meter-reading data transmitted from the meter-reading device 4 is an asynchronous IP described later. This is called packet data. Upon receiving this data, the network control device 3 receives the X. 25 frames, which will be described later. 25 packet data is sent to ISDN 9 (packet exchange). Next, this X. The ISP 11 that has received the 25-packet data receives the X. 25 packet data is converted to IP packet data and transmitted to the meter reading center 6.
[0035]
Similarly, from the PC 8b, the X.X. Even when 25 packet data is transmitted to the ISP 11, after being converted back to IP packet data, the packet control unit 111 performs data from the destination IP address to the meter reading center 6 or data to the Internet 12. Are identified and distributed.
[0036]
FIG. 2 is a block diagram showing the internal configuration of the network control device 3 according to the present invention.
[0037]
In this figure, the direction toward the ISDN 9 side is described as upstream, and the direction toward the NCTE 2 side is described as downward.
[0038]
In the network control device 3, a first switching unit 31, a second switching unit 32, a first frame control unit 33, a second frame control unit 34, a protocol conversion unit 35, a communication speed conversion are provided. Unit 36, terminal connection unit 37, line control unit 38, Bch branching unit 39, and Bch coupling unit 40. A power supply detection unit (not shown) monitors the power supplied to the network control device 3 and, when a power failure is detected, instructs the first switching unit 31 and the second switching unit 32 to switch the line to the drawing line side It is switched from the (first and second frame control units) to the bypass line 41 side.
[0039]
The first frame control unit 33 terminates the subscriber line 5 to the ISDN 9 and operates as the NCTE 2 for the OCU 1a. When the downstream data is received from the ISDN 9 via the first switching unit 31, the data is converted from the 2-wire ping-pong transmission method data into the transmission line data unique to the apparatus.
[0040]
The first frame control unit 33 includes a channel separation unit 331 and a channel combining unit 332, which separates / combines two B channel data and one D channel data. The data transmitted from the U point 5a side is separated into B channel data and D channel data by the channel separation unit 331, the B channel data is sent to the Bch branching unit 39, and the D channel data is sent from the protocol. The data is transmitted to the first Dch control unit 351 in the conversion unit 35.
[0041]
On the other hand, the channel combining unit 332 receives B channel data from the Bch combining unit 40 (to be described later) and uplink data that is D channel data from the second Dch control unit 352 in the protocol conversion unit 35. The B channel data and the D channel data, which are transmission line data unique to the apparatus, are combined and converted into 2-wire ping-pong transmission system data.
[0042]
The second frame control unit 34 operates as an OCU 1a for the NCTE 2, and when receiving upstream data from the NCTE 2, converts the 2-wire ping-pong transmission method data into transmission line data unique to the device. To do.
[0043]
The second frame control unit 34 includes a channel separation unit 341 and a channel combination unit 342, which separate / combine two B channel data and one D channel data. The data transmitted from the pseudo U point 5b side is separated into B channel data and D channel data by the channel separation unit 341. The B channel data is separated into the Bch coupling unit 40, and the D channel data is The data is transmitted to the second Dch control unit 352 in the protocol conversion unit 35.
[0044]
On the contrary, the channel combining unit 342 receives B channel data from the Bch branching unit 39 and downlink data that is D channel data from the first Dch control unit 351 in the protocol conversion unit 35. The B channel data and the D channel data, which are transmission line data unique to the apparatus, are combined and converted into 2-wire ping-pong transmission system data.
[0045]
The protocol conversion unit 35 converts the data format of the ISDN 9 side data and the meter reading device 4, and also converts the ISDN 9 side data and the pseudo U point b side data. Relaying data.
[0046]
In addition, in the protocol conversion unit 35, a first Dch control unit 351 for downlink, a second Dch control unit 352 for uplink, a first Bch control unit 353 for downlink, and a first Dch control unit 353 for uplink. A second Bch control unit 354, each of which includes a circuit switching processing unit a and a packet switching processing unit b. (The numbers of the circuit switching processing unit and the packet switching processing unit are expressed as “a” for the circuit switching processing unit and “b” for the packet switching processing unit at the end of each control unit number.)
[0047]
The first Dch control unit 351 for downlink data identifies the D channel data received from the channel separation unit 331 in the first frame control unit, and is the call switching data for circuit switching. When the incoming call is to the meter-reading device 4, the circuit switching processing unit 351a performs a connection operation in accordance with the call control procedure. When the incoming call is not for the meter-reading device 4, the second frame control unit 34 The call control data is relayed to the channel combining unit 342.
[0048]
Also, the received D channel data is X. If the packet data is 25 packet data, the packet exchange processing unit 351b performs X. 25 packet data is converted into IP packet data, and the IP address number derived from the port number stored in the IP packet data is the data to the meter-reading device 4 or other data. And the data is transmitted to the meter-reading device 4 or the second frame control unit 34. However, when transmitting to the second frame control unit 34, the IP packet data is again transmitted to the X.X. The data is transmitted after being converted into 25 packet data.
[0049]
Next, the second Dch control unit 352 for uplink data is a case where D channel data is received from the channel separation unit 341 in the second frame control unit 34 on the TA7 side, and is terminated. If the call control data is circuit switching, the circuit switching processing unit 352a relays the data to the first frame control unit 33. If the received D channel data is IP packet data, the packet switching processing unit 352b converts the IP packet data to X.D. The data is converted into 25 packet data and transmitted to the channel combining unit 332 in the first frame control unit.
[0050]
When the circuit switching call control data is received from the meter reading device 4, the circuit switching processing unit 352a connects to the other party according to the call control procedure, and the received data is the IP packet data. If there is, the packet exchange processing unit 352b converts the IP packet data into X.X. The data is converted into 25 packet data and transmitted to the channel combining unit 332 in the first frame control unit.
[0051]
Next, the first Bch control unit 353 for downlink data identifies the B channel data received from the Bch branch unit 39, and is circuit switching data, which is data to the meter-reading device 4. In the case of the data, the circuit switching processing unit 353a relays the data to the meter-reading device 4 side, and the received B channel data is the X. If the packet data is 25 packet data, the packet exchange processing unit 353b receives the X.25 packet data. After converting 25 packet data into IP packet data, the data to the meter-reading device 4 or other data is determined from the IP address derived from the port number stored in the IP packet data. If it is identified and data of the meter-reading device 4 is transmitted to the meter-reading device 4 side.
[0052]
If the meter reading device 4 is other than X.X. The data is converted into 25 packet data and transmitted to the second frame control unit 34 via the Bch branching unit 39. That is, the downlink B channel packet data toward the TA7 side is terminated, but the downlink B channel circuit switching data is not terminated.
[0053]
Next, the second Bch control unit 354 for uplink data is transmitted from the channel separation unit 341 in the second frame control unit 34 on the TA 7 side, and is transmitted via the Bch coupling unit 40 to the B channel data. If the received B channel data is IP packet data, the packet switching processing unit 354b converts the IP packet data into X.X. The data is converted into 25 packet data and transmitted to the channel synthesis unit 332 in the first frame control unit 33 via the Bch coupling unit 40.
[0054]
When the B channel data is received from the meter-reading device 4 side, the data is terminated. If the data is for circuit switching, the circuit switching processing unit 354a transmits the data to the Bch coupling unit 40. If the received B channel data is IP packet data, the packet switching processing unit 354b converts the IP packet data to X. The data is converted into 25 packet data and transmitted to the Bch coupling unit 40 in the same manner. That is, the upstream B channel packet data from the TA7 side is terminated, but the upstream B channel circuit switching data is not terminated.
[0055]
Next, the Bch branch 39 arranged between the channel separation unit 331 and the channel combining unit 342, which are downlink data lines, converts the B channel data into the first channel in the protocol conversion unit 35 in accordance with an instruction from the line control unit 38. The signal is branched and output to the channel combining unit 342 in the Bch control unit and the second frame control unit 34. However, if the B channel has a packet exchange contract, that is, packet data, the packet is transmitted to the first Bch control unit 353 in order to once terminate all packet data.
[0056]
Here, when the B channel has a circuit switching contract, that is, when the data is circuit switching, only the data to the meter-reading device 4 is transmitted to the first Bch control unit 353. If the data is for the TA 7 side, the data is not transmitted to the first Bch control unit 353 but is transmitted to the second frame control unit 34. Since all the D channels are terminated, this operation is performed based on the information because the communication of the meter reading device 4 or the communication on the TA 7 side is recognized at the time of the connection procedure.
[0057]
Further, when performing circuit switching communication, the B channel is operated so as to give priority to the B channel data to the meter-reading device 4.
[0058]
This operation is based on the fact that circuit switching communication is one B channel and one communication is the principle, and in this system, the meter reading data is prioritized. The first Bch controller 353 is connected to ensure the communication path, while the remaining one B channel is branched so that the TA 7 side can use it.
[0059]
Next, the Bch coupling 40 arranged between the channel separation unit 341 and the channel combining unit 332, which are uplink data lines, is transmitted from the second Bch control unit 354 in the protocol conversion unit 35 according to an instruction from the line control unit 38. Are combined with the B channel data from the channel separation unit 341 in the second frame control unit 34 and sent to the channel synthesis unit 332 in the first frame control unit 33. .
[0060]
However, when the B channel has a packet exchange contract, that is, packet data, and when data is received from the TA7 side, it is transmitted to the second Bch control unit 354, The second Bch control unit 354 converts the IP packet data into the X. The data converted into 25 packet data is received again and transmitted to the channel combining unit 332. When the IP packet data from the meter-reading device 4 is received, the second Bch control unit 354 performs X. The data converted into 25 packet data is received and transmitted to the channel synthesis unit 332 in the same manner.
[0061]
Here, when the channel B has a circuit switching contract, that is, circuit switching data, only the data from the meter-reading device 4 is transmitted to the channel combining unit 332, but from the TA7 side. Is not transmitted to the second Bch control unit 354, but is directly transmitted to the channel combining unit 332 in the first frame control unit 33. Since all the D channels are terminated, this operation is performed based on the information because the communication of the meter reading device 4 or the communication on the TA 7 side is recognized at the time of the connection procedure.
[0062]
Similarly to the Bch branching unit, when performing line switching communication, the B channel is operated so as to give priority to the B channel data to the meter-reading device 4.
[0063]
Furthermore, even if the TA7 side telephone 8a and the PC 8b are communicating with each other by circuit switching, the first Dch control unit 351 transmits one TA7 side B channel disconnect message, and the second Dch control. The one B channel disconnection message of ISDN 9 is transmitted from the unit 352, and the B channel branching unit 39 and the Bch coupling unit 40 disconnect the one B channel line to forcibly use the meter reading device 4 The B channel can be secured as much as possible.
[0064]
Next, the protocol conversion unit 35 in the network control device 3 is connected to the meter-reading device 4 via the terminal connection unit 37 via the communication speed conversion unit 36. The communication speed conversion unit 36 performs speed conversion so as to match the speed with the meter-reading device 4 under the control of the line control unit 38. Moreover, the terminal connection part 37 is a site | part which unites the physical interface with the meter-reading apparatus 4, for example, interfaces, such as RS-232C, correspond to this.
[0065]
Finally, the line control unit 38 controls the protocol conversion unit 35, the communication speed conversion unit 36, the Bch branching unit 39, and the Bch coupling unit 40 as described above, and controls the entire apparatus, and includes a CPU, ROM, RAM, and CPU. It consists of peripheral circuits.
[0066]
Next, the operation of the system including the network control device 3 according to the present invention shown in FIG. 1 will be described with reference to FIGS.
[0067]
FIG. 3 is a diagram (case 1) showing a sequence when the meter reading device 4 and the TA 7 perform communication using D-channel packet exchange. In the meter reading system of the present embodiment, the meter reading device 4 periodically transmits meter reading data to the meter reading center 6 in the ISP 11 and the PC 8b connected to the TA 7 is accessing the Internet 12. .
[0068]
Here, an address in Internet access will be described. Only one IP address is assigned to the network control device 3 from the Internet 12. This internet connection address is called a global address. Next, for the meter-reading device 4 and TA 7 connected to the network control device 3, there is an address to which the network control device 3 temporarily assigns an IP address, which is called a local address.
[0069]
First, the meter-reading device 4 transmits an activation signal to the network control device 3 (S300), and then the network control device 3 receiving it establishes a D-channel packet link with the ISP 11 via the ISDN 9. (S301). When the meter-reading device 4 transmits meter-reading data (IP packet data to be described later) as a meter-reading result to the network control device 3 (S302), the second Dch control unit 352 in the network control device 3 reads the meter-reading data. The source IP address in the IP packet data, which will be described later, is converted from the local address of the meter-reading device 4 to the global address, and the port number of the source given by the meter-reading device 4 is further changed. The port number is managed by the network control device (S303). Then, a data frame corresponding to packet switching, described later, X. The frame is converted into a 25-packet data frame (S304), and transmitted to the ISP 11 via the ISDN 9 (S306). At this time, X. A sequence number in 25 headers is assigned.
[0070]
Here, the port number and the sequence number will be described. In the present embodiment, the meter control device 4 and TA 7 are connected to the network control device 3. The physical interface number of the physically connected device is called a port number, and the IP packet data transmitted from the meter-reading device 4 or TA7 includes the PC 8b connected to the meter-reading device 4 or TA7. Independently determines and assigns a port number. Upon receiving this, the network control device 3 is expected to have duplicate port numbers assigned by the meter-reading device 4 and the like, so that the network control device 3 can manage the port. Renumbered. Further, the data received by the network control device 3 from the ISDN 9 side is IP address converted based on this port number and distributed to the meter-reading device 4 and the TA 7 side.
[0071]
Next, the sequence number will be described. When data is transmitted with ISDN 9 (packet exchange), a sequence number indicating the order of the data must be given. A number indicating the order of data when the device connected to the ISDN 9 transmits is called a sequence number. In the case of this embodiment, the data received by the TA 7 from the PC 8b is X. It is converted into 25 packet data and transmitted to the network control device 3.
[0072]
However, at that time, X. A sequence number is already assigned in the 25 header part. The network control device 3 is connected to the meter-reading device 4 and the TA 7 and receives data from both of them. Therefore, when data is transmitted to the ISDN 9, the data received from the meter-reading device 4 is received. -Data and data received from TA7 must be integrated to give consecutive sequence numbers. That is, the network control device 3 has a function of reassigning the sequence number of data from TA7.
[0073]
Returning to the description of the sequence shown in FIG. The packet control unit 111 in the ISP 11 receives the received X. 25 packet data is converted into IP packet data (S307), then the destination IP address of the data is identified (S308), and if the destination IP address is the address of the meter reading center 6, the meter reading center 6 Send.
Thereafter, the meter reading data is taken in at the meter reading center 6 (S310). If the destination IP address is an address other than the meter reading center 6 in S308, it is transmitted to the Internet 12 (S311).
[0074]
The IP packet data from the PC 8b is assigned the X.X. The data is converted into 25 packets and transmitted to the network control device 3 (S312). The X. The second Dch control unit 352 in the network control device 3 that has received 25 packet data converts it into IP packet data, and also changes the source IP address in the IP packet data from the local address of the PC 8b. -Converted to a VAL address, and further converts the source port number assigned by the PC 8b into a port number managed by the network control device (S313).
[0075]
Then, a data frame corresponding to packet switching, described later, X. The frame is converted again into a 25-packet data frame (S314) and transmitted to the ISP 11 via the ISDN 9 (S315). At this time, the X.G. The sequence number in the 25 header is reassigned. The transmitted data is processed by the ISP 11 from S307 to S311.
[0076]
Next, a case where data transmitted from the ISP 11 is received will be described. The packet control unit 111 in the ISP 11 assigns the port number of the meter-reading device 4 to the IP packet data received from the meter-reading center 6 as the destination port number. 25-packet data is generated and transmitted to the network control device 3 (S316). The IP packet data received by the ISP 11 from the Internet 12 is X. 25-packet data is generated (S324) and transmitted to the network control device 3. At this time, sequential numbers are assigned to the data from the meter reading center 6 and the data from the Internet 12 in the order in which the ISP 11 sends them to the ISDN 9.
[0077]
ISP. The network control device 3 that has received the data converted into 25-packet data via the ISDN 9 performs the X. In addition to conversion from 25 packet data to IP packet data, the destination IP address is converted from a global IP address to a local IP address based on the destination port number (S317). In this destination IP address conversion, if the port number of the physical port to which the meter-reading device 4 is connected is converted to the source local IP address given by the meter-reading device 4, and the port number is changed. If the port number is other than the port number of the physical port to which the meter-reading device 4 is connected, it is converted into the transmission source local IP address assigned by the PC 8b on the TA7 side.
[0078]
Next, the destination IP address which is the converted local IP address is identified (S318), and if it is the IP address of the meter-reading device 4, IP packet data is transmitted to the meter-reading device 4 (S320). In S318, if the destination IP address is an IP address other than the meter-reading device 4, the sequence number is reassigned and the X. After being converted into 25 packet data (S321), it is transmitted to TA7 (S322). As a result, data from the Internet 12 is transmitted to the TA 7, and data from the meter reading center 6 is transmitted to the meter reading device 4.
[0079]
FIG. 4 is a diagram (case 2) showing a sequence when the meter-reading device 4 performs communication using D channel packet switching and the TA 7 performs communication using B channel circuit switching. The meter reading system of the present embodiment is also performed using the system configuration of FIG. 1 similarly to FIG. 3, and the meter reading system periodically transmits the meter reading data to the meter reading center 6 in the ISP 11 and the PC 8b connected to TA7. Exemplifies a case where communication is performed with the terminal device 13 connected to the ISDN 9.
[0080]
First, the meter-reading device 4 transmits an activation signal to the network control device 3 (S400), and then the network control device 3 receiving it establishes a D channel packet link with the ISP 11 via the ISDN 9. (S401). When the meter-reading device 4 transmits meter-reading data as a result of meter-reading to the network control device 3 (S402), the second Dch control unit 352 in the network control device 3 sends IP packet data, which will be described later, which is meter-reading data. The source IP address in the data is converted from the local address of the meter-reading device 4 to the global address, and the port number of the source assigned by the meter-reading device 4 is managed by the network control device. (S403). Then, a data frame corresponding to packet switching, described later, X. The frame is converted into a frame of 25 packet data (S404) and transmitted to the ISP 11 via the ISDN 9 (S406). At this time, X. A sequence number in 25 headers is assigned.
[0081]
X. received by the packet control unit 111 in the ISP 11. The 25 packet data is converted into IP packet data (S407), then the destination IP address of the data is identified (S408). If the destination IP address is the address of the meter reading center 6, the meter reading center 6 Send. Thereafter, the meter reading data is taken in at the meter reading center 6 (S410). If the destination IP address is an address other than the meter reading center 6 in S408, it is transmitted to the Internet 12 (S411).
[0082]
Here, the sequence of data transmitted from the meter reading center 6 in the ISP 11 to the meter reading device 4 is the same as in FIG.
[0083]
Next, a sequence from when the terminal device 13 receives a call to the PC 8b connected to the TA 7 until communication is performed will be described.
[0084]
A call setup message (SET UP) from the terminal device 13 is transmitted to ISDN 9 (circuit switching) using the D channel (S412). The ISDN 9 that has received the SET UP message similarly transmits a SET UP message to the network control device 3 (S413) and returns a call setting acceptance message (CALL PROC) to the terminal device 13 ( S417). Therefore, the network control device 3 that has received it identifies in the first Dch control unit 351 whether the meter-reading device 4 or any other incoming call from the caller number or the sub-address added to the called number, If it is an incoming call to the meter-reading device 4, it operates so as to communicate with the meter-reading device 4. If the incoming call is not received, a SETUP message is transferred to the TA 7 side via the second frame control unit 34.
[0085]
In this embodiment, since the communication is between the terminal device 13 and the TA 7 side, the SETUP message is transferred to the TA 7 (S 414).
[0086]
In TA7, in response to the SET UP message, a call setup acceptance message (CALL PROC) is transmitted to the network control device 3 (S415), and at the same time, a call message (ALERT) (S418) and a response message ( CONN) is transmitted (S421).
[0087]
Receiving this, the network control device 3 terminates at the second Dch control unit 352, generates CALL PROC, ALERT, and CONN messages, and transmits them to ISDN 9 (S416, S419, S422). The ISDN 9 receives these and transmits an ALERT and CONN message to the terminal device 13 (S420, S423).
[0088]
When the ISDN 9 sends a CONN message to the terminal device 13, the ISDN 9 transmits a response message (CONN ACK) to the response to the network control device 13 (S424), and receives the CONN ACK message from the terminal device 13 (S424). S426).
[0089]
The network control device 3 that has received the CONN ACK message (S424) from the ISDN 9 transfers the CONN ACK message to the TA 7 (S425).
[0090]
In the sequence so far, the negotiation using the D channel is completed between the terminal device 13 and the TA 7, and then the communication using the B channel is started (S427).
[0091]
Downstream data from the B channel terminal device 13 is transmitted to the TA 7 via the first frame control unit 33, the Bch branching unit, and the second frame control unit 34. Uplink data is transmitted to the terminal device 13 via the second frame control unit 34, the Bch coupling unit, and the first frame control unit 33.
[0092]
In the case of this embodiment, since the meter reading device 4 does not use any of the two B channels, the Bch branching unit 39 or the Bch coupling unit operates to interrupt the line, or TA7 cuts the line during communication. This does not occur except in the case described later with reference to FIG.
[0093]
FIG. 5 shows communication of circuit switching (circuit switching) using the B channel when the meter-reading device 4 performs communication using D channel packet switching and any failure or the like occurs in ISDN 9 (packet switching) during communication. It is a figure (case 3) which shows the sequence at the time of switching to (3).
[0094]
The meter reading system of the present embodiment is also performed by using the system configuration of FIG. 1 similarly to FIG. 3, the meter reading system periodically transmits the meter reading data to the meter reading center 6 in the ISP 11, and the meter reading center 6 in the ISP 11 An example will be described in which an abnormality on the side of the meter-reading device 4 that does not regularly transmit meter-reading data is detected and an incoming call due to line switching is entered into the meter-reading device 4.
[0095]
First, the meter-reading device 4 transmits an activation signal to the network control device 3 (S500), and then the network control device 3 receiving it establishes a D-channel packet link with the ISP 11 via the ISDN 9. (S501). When the meter-reading device 4 transmits the meter-reading data as a result of meter-reading to the network control device 3 (S502), the second Dch control unit 352 in the network control device 3 stores the IP packet data that is meter-reading data. The source IP address is converted from the local address of the meter-reading device 4 to the global address, and the port number of the source assigned by the meter-reading device 4 is managed by the network control device. (S503). Then, a data frame corresponding to packet switching, described later, X. The frame is converted into a 25-packet data frame (S504) and transmitted to the ISP 11 via the ISDN 9 (S506, S507). At this time, X. A sequence number in 25 headers is assigned.
[0096]
Here, if the meter reading data does not reach the meter reading center 6 in the ISP 11 due to some trouble in packet exchange, the meter reading data that is periodically transmitted has not been transmitted for a predetermined period or longer. The center 6 recognizes that an abnormal situation has occurred, and starts a communication request for the B channel by circuit switching.
[0097]
A call setup message (SET UP) from the meter reading center 6 in the ISP 11 is transmitted to ISDN 9 (circuit switching) using the D channel (S508). The ISDN 9 similarly transmits a SETUP message to the network control device 3 (S509) and returns a call setting acceptance message (CALL PROC) to the ISP 11.
Therefore, the network control device 3 that has received the SETUP message uses the first Dch control unit 351 to determine whether the meter reading device 4 is an incoming call from the caller number or the subaddress added to the called number. If the incoming call to the meter reading device 4 is identified, it operates so as to communicate with the meter reading device 4; otherwise, the SET UP message is transferred to the TA 7 side via the second frame control unit 34. .
[0098]
In this embodiment, since communication is performed between the meter-reading center 6 and the meter-reading device 4, the SET UP message is processed in the network control device 3.
[0099]
In response to the SETUP message, the network control device 3 transmits a call setting acceptance message (CALL PROC) to the ISDN 9 (S510), and simultaneously sends a call message (ALERT) and a response message (CONN). Transmit (S512, S514). Receiving this, ISDN 9 generates ALERT and CONN messages and transmits them to ISP 11 (S513, S515).
[0100]
When the ISDN 9 sends a CONN message to the ISP 11, the ISDN 9 transmits a response message (CONN ACK) to the response to the network control device 13 (S516), and receives the CONN ACK message from the ISP 11 (S517).
[0101]
In the sequence up to this point, the negotiation using the D channel is completed between the ISP 11 and the meter-reading device 4, and then communication using the B channel is started (S518).
[0102]
Downstream data from the ISP 11 of the B channel passes through the first frame control unit 33, the Bch branching unit, and the first Bch control unit 353, and is transmitted by the communication speed conversion unit 36 to the speed of the meter reading device 4. -Converted into a signal and transmitted to the meter-reading device 4 via the terminal connection unit 37. Further, the upstream data from the meter-reading device 4 is transmitted to the ISP 11 side via the second Bch control unit 354, the Bch coupling unit 40, and the first frame control unit 33.
[0103]
In the case of this embodiment, since the situation in which the meter reading device 4 uses one of the two B channels has occurred, the Bch branching unit 39 and the Bch coupling unit 40 operate and the TA 7 is communicating and the two B channels are in communication. When the channel is used, the meter reading data priority operation is performed such that one of the two B channels used on the TA7 side is disconnected.
[0104]
If the TA 7 uses only one B channel and the meter reading device 4 communicates with the meter reading center 6 using the B channel, another device connected to the TA 7 communicates. Even when trying to do so, the network control device 3 performs processing during a call to the TA 7.
[0105]
FIG. 6 is a diagram showing a second communication system configuration using the network control apparatus of the present invention.
[0106]
As shown in the figure, the PC 8b and the like connected to the meter-reading device 4 and TA 7 are connected to an IP network 10 to be described later via the network control device 3 and ISDN 9, and further connected to the Internet 12 from the ISP 11. In the present invention, the case where the ISP 11 is a system having the function of the meter reading center 6 will be described as an example. The difference between FIG. 1 and FIG. 6 is that the ISP 11 and ISDN 9 are connected via the OCU 1b in FIG. 1, but in FIG. 6, in addition to the connection via the OCU 1b, the IP network connected to the ISDN 9 10 is also connected. Communication between the ISP 11 and the network control device 3 via the OCU 1b is the same as the operation described with reference to FIGS. 3 to 5, and the point is that the IP network 10 having a new configuration is used.
[0107]
Next, an IP network using an IP network (hereinafter referred to as an IP network) constructed for each region as in each prefecture will be described. In the flat-rate call charge service for Internet connection provided by a communication carrier as a communication carrier, a telephone line including a normal ISDN line is used from the user's home to the nearest telephone office, and the telephone Enter the IP network constructed by the carrier from the station and connect to the contracted ISP. This is called an IP network. Unlike a telephone line network using an exchange, the IP network is capable of sending a plurality of data to one line.
[0108]
For this reason, the line is occupied exclusively from the user's home to the accommodation station even when connecting for a long time, and the line efficiency is good and the cost can be reduced. Instead, the IP network is a best effort type in which the transmission rate is not guaranteed.
[0109]
In the case of normal dial-up connection, the ISP needed to set up an access point for each area code. However, in the case of a flat rate call charge for Internet connection, the ISP connects to the IP network 10 at one location in each prefecture. Just do it. For this reason, the ISP 11 according to the present invention can also provide the user with a service for a flat-rate call charge for Internet connection.
[0110]
It should be noted that the flat-rate call charge service for Internet connection can be considered as a service for directly connecting to the ISP from the accommodation station without using the IP network 10. This is the case when the connection form in FIG. 1 allows Internet access with a flat-rate call charge.
[0111]
The network control device 3 having a function of connecting to the ISP 11 via the IP network 10 as described above is connected to a subscriber line 5 having an ISDN basic interface from the OCU 1a of the ISDN 9.
[0112]
When the network control device 3 and the IP network 10 are connected, the major difference from the normal dial-up connection is that the IP network 10 is not a telephone line network but a line from the carrier's accommodation station (telephone station) to the ISP 11. Is using the IP network.
As a result, it is possible to deal with a situation where the telephone lines are kept connected by not using the telephone line network that occupies one line for one call.
[0113]
The network control device 3 branches and outputs the ISDN signal received from the subscriber line 5 in accordance with the ISDN basic interface to the meter reading device 4 that is an NCTE 2 and ISDN compatible terminal, and the ISDN from the NCTE 2 and the meter reading device 4. The signal is output to the OCU 1a.
[0114]
Further, the network control device 3 terminates the call received from the OCU 1a, and discriminates it from the caller number, the destination subaddress, etc. of the call destination, and if it is an incoming call to the meter reading device 4, it goes to the meter reading device 4. Distribute the ISDN signal (in this case, call control information).
[0115]
With the above configuration, the ISP 11 having the function of the meter reading center 6 in FIG. 6 calls a call (IP packet data) with a caller ID to the subscriber line 5 via the IP network 10, ISDN 9 and OCU 1a. Communication with the meter-reading device 4 can be performed via the network control device 3, and the ISP 11 can perform automatic meter-reading by receiving the meter-reading result from the meter-reading device 4.
[0116]
Further, as described above, since the connection to the IP network 10 can cope with the state where the telephone line is connected, the meter reading device 4 can periodically transmit the meter reading information to the ISP 11 which is also the meter reading center 6. Good.
[0117]
Accordingly, it is possible for the user to make a contract with the automatic meter reading system at the same time as the ISP 11 and the normal provider contract, and by using the network control device 3 of the present invention, the provider business and the automatic meter reading business are merged. A service can be provided. The business integrated with the provider business described above can be applied not only to the automatic meter reading business, but also to the integration with the surveillance security business, which is a system in which security devices such as security sensors and security cameras are provided. This also applies to the system configuration shown in FIG.
[0118]
Next, the operation of the system using the network control device 3 according to the present invention will be described with reference to FIG.
[0119]
FIG. 7 is a diagram showing a sequence when communication is performed using the D channel packet exchange which is a constant connection contract (continuous connection) with the meter-reading device 4 and the TA 7. In the meter reading system of the present embodiment, it is assumed that the meter reading system periodically transmits the meter reading data to the meter reading center 6 in the ISP 11 and the PC 8b connected to the TA 7 is accessing the Internet 12.
[0120]
Here, a difference between the operations of FIGS. 1 and 6 will be briefly described. ISDN 9 in FIG. Although the 25 packet data was transferred bidirectionally without being processed, the ISDN 9 in FIG. 7 had part of the protocol conversion function of the network control device 3 and the ISP 11 built in the meter reading center 6 in the switching center. Assume the case. Some of the functions are X. This is an interconversion between 25 packet data and IP packet data. In the case of IP packet data, communication with the IP network 10 is performed.
[0121]
First, the meter-reading device 4 transmits an activation signal to the network control device 3 (S700), and the network control device 3 receiving it then establishes a D channel packet link with the ISDN 9 (S701). . When the meter reading device 4 transmits meter reading data (IP packet data, which will be described later) as a result of meter reading to the network control device 3 (S702), the second Dch control unit 352 in the network control device 3 reads the meter reading data. The source IP address in the IP packet data is converted from the local address of the meter-reading device 4 to the global address, and the port number of the source assigned by the meter-reading device 4 is further controlled by the network. The port number is managed by the device (S703). Then, a data frame corresponding to packet switching, described later, X. The frame is converted into a frame of 25 packet data (S704) and transmitted to the ISP 11 via the ISDN 9 (S706). At this time, X. A sequence number in 25 headers is assigned.
[0122]
ISDN 9 receives the received X. The 25 packet data is converted into IP packet data (S707) and transmitted to the ISP 11 via the IP network 10 (S715).
[0123]
The packet control unit 111 in the ISP 11 identifies the destination IP address of the received IP packet data (S708), and if the destination IP address is the address of the meter reading center 6, transmits it to the meter reading center 6. Thereafter, the meter reading data is taken in at the meter reading center 6 (S710). If the destination IP address is an address other than the meter reading center 6 in S708, it is transmitted to the Internet 12 (S711).
[0124]
The IP packet data from the PC 8b is assigned a sequence number by TA7. The data is converted into 25 packets and transmitted to the network control device 3 (S712). The X. The second Dch control unit 352 in the network control device 3 that has received 25 packet data converts it into IP packet data, and also changes the source IP address in the IP packet data from the local address of the PC 8b. -Converted into a VAL address, and further converts the source port number assigned by the PC 8b into a port number managed by the network control device (S713). Then, a data frame corresponding to packet switching, described later, X. The data is converted again into a frame of 25 packet data (S714) and transmitted to the ISP 11 via the ISDN 9. At this time, the X.G. The sequence number in the 25 header is reassigned.
[0125]
The transmitted data is processed by ISDN 9 and ISP 11 as in S707 to S711.
[0126]
Next, a case where data transmitted from the ISP 11 is received will be described. The packet control unit 111 in the ISP 11 assigns the port number of the meter-reading device 4 to the IP packet data received from the meter-reading center 6 as the destination port number. 25-packet data is generated and transmitted to ISDN 9 (S716).
[0127]
The IP packet data received from the Internet 12 by the ISDN 9 is transmitted to the ISDN 9 as it is.
[0128]
The IP packet data received by ISDN 9 from meter reading center 6 and Internet 12 is X. The data is converted into 25 packet data (S717) and transmitted to the network control device 3 (S718). At this time, sequential numbers are assigned to the data from the meter reading center 6 and the data from the Internet 12 in the order in which the ISP 11 sends them to the ISDN 9.
[0129]
ISDN9 allows X. The network control device 3 that has received the 25-packet data has the X.D. In addition to conversion from 25 packet data to IP packet data, the destination IP address is converted from a global IP address to a local IP address based on the destination port number (S719). In this destination IP address conversion, if the port number of the physical port to which the meter-reading device 4 is connected is converted to the source local IP address given by the meter-reading device 4, and the port number is changed. If the port number is other than the port number of the physical port to which the meter-reading device 4 is connected, it is converted into the transmission source local IP address assigned by the PC 8b on the TA7 side. Next, the destination IP address that is the converted local IP address is identified (S720), and if it is the IP address of the meter-reading device 4, IP packet data is transmitted to the meter-reading device 4 (S721). In S720, if the destination IP address is an IP address other than the meter-reading device 4, the sequence number is reassigned and X. After being converted into 25 packet data (S722), it is transmitted to TA7 (S723). As a result, data from the Internet 12 is transmitted to the TA 7, and data from the meter reading center 6 is transmitted to the meter reading device 4.
[0130]
FIG. 8 shows IP packet data and X. This shows the format of 25 packet data.
[0131]
8A shows the format of the IP packet data, and FIG. 25 packet data format. (C) shows the format of the IP header part in the IP packet data, and (d) shows the format of the TCP / UDP header part in the IP packet data.
[0132]
IP packet data from the meter-reading device 4 or the PC 8b is generally called asynchronous PPP frame data and has a format as shown in FIG. The IP packet data has a data part which is an information part. A TCP / UDP part and an IP header part indicating that the packet is an IP packet are added to the transmission side of the data part, and further an LCP / NCP, etc. A type part indicating a type, a control part, an address part, a flag part is arranged at the head, an FCS part is added behind the data part, and a flag part is added at the end. This is the same as the HDLC frame format in general terms.
[0133]
The TCP / UDP section indicates whether the protocol type of the transport layer in the TCP / IP protocol is TCP or UDP.
[0134]
Next, X. 25 packet data will be described. The flag part and the FCS part are deleted from the IP packet data shown in FIG. X. 25 indicating 25 data. 25 header part is added, and FCS part and flag part are added at the back. X. The 25 header part has a P (S) / P (R) part, a control part, an address part, and a flag part, and the P (S) / P (R) part is a transmission / reception sequence number, X. This is a 25 packet layer sequence number.
[0135]
However, the data portion of the IP packet data can store 1494 bytes of data. The data portion of 25 packet data can store only 256 bytes of data. When converting to 25 packet data, the IP packet data data is divided into a plurality of X.25 packet data. It is necessary to transmit as 25 packet data.
[0136]
As described above, this IP packet data and X. The 25 packet data conversion work is performed by the protocol conversion unit 35 in the network control device 3 (more strictly speaking, the internal packet processing unit). Further, ISP 11 and ISDN 9 other than network control device 3 perform the same.
[0137]
In addition, the asynchronous IP packet data is converted to X. The operation for converting to 25 packet data will be described in detail. When both the TA 7 and the network control device 3 receive asynchronous IP packet data, the data is converted into synchronous IP packet data, Conversion to 25 packet data is performed. Asynchronous IP packet data and synchronous IP packet data are different in the detailed data format (start bits and stop bits are added to the asynchronous data), but the IP header part, TCP / There is no real data useful as transmission data such as a UDP part and a data part.
[0138]
Further, in the network control device 3 of the above embodiment, the case where communication is performed using the D channel of the always-on contract has been described, but it is also possible to easily cope with the always-on contract of the B channel. Call control information is processed by an uplink / downlink Dch control unit in the protocol conversion unit 35, and B channel packet data using the B channel is asynchronous IP packet data by a packet processing unit in the uplink / downlink Bch control unit. Tar X. This can be realized by performing conversion between 25 packet data in the same manner as D channel data.
[0139]
In addition, although the above description demonstrated the meter-reading system, it is not limited to this. For example, the present invention can be applied to all automatic notification systems including a notification device that automatically reports some information, such as an alarm system, a security system, and a monitoring system, and a management device that manages the notification device.
[0140]
【The invention's effect】
As described above, according to the present invention, communication between the reporting device and the management device is performed using the D channel which is the control channel without using the B channel which is the communication channel of the ISDN basic interface, and is connected to the NCTE side. It is possible to construct a network control device and an automatic notification system using this device that allow automatic notification without affecting the communication between each other by using the B channel in a PC or the like.
[0141]
Further, communication between the reporting device and the management device is performed by any of D channel packet data, B channel packet data, and B channel circuit switching data, and communication between TA and ISDN is also performed by D channel packet data. Data, B-channel packet data, and B-channel circuit-switched data, and by using a combination of these communication channels, secure notification data communication is ensured. It is possible to construct a network control device that can efficiently use a line for communication and communication between TA and ISDN, and an automatic notification system using this device.
[0142]
Further, communication between the notification device and the management device, which is a desirable communication channel usage mode, is performed by IP packet communication using the D channel via the IP network. Even in communication between a device such as a PC on the NCTE side and ISDN 9, D It is possible to perform IP packet communication using a channel.
[Brief description of the drawings]
FIG. 1 is a configuration diagram (Embodiment 1) of an automatic meter reading system using a network control device of the present invention.
FIG. 2 is an internal block diagram of the network control apparatus of the present invention.
FIG. 3 is a sequence diagram of an operation of an automatic meter reading system using the network control device of the present invention. (Embodiment 1: Case 1)
FIG. 4 is a sequence diagram of the operation of an automatic meter reading system using the network control device of the present invention. (Embodiment 1: Case 2)
FIG. 5 is a sequence diagram of the operation of an automatic meter reading system using the network control device of the present invention. (Actual form 1: case 3)
FIG. 6 is a configuration diagram (Embodiment 2) of an automatic meter reading system using the network control device of the present invention.
FIG. 7 is a sequence diagram of an operation of an automatic meter reading system using the network control device of the present invention. (Embodiment 2: Case 1)
FIG. 8 shows IP packet data and X. It is a figure which shows the frame format of 25 packet data.
FIG. 9 is a configuration diagram of an automatic meter reading system using a conventional network control device.
[Explanation of symbols]
1 ... Station termination unit (OCU)
2 ... Home line connection equipment (NCTE)
3 ... Network control device
4 ... Meter reading device (report device)
5 ... Subscriber line
6 ... Meter reading center (management device)
7 ... Terminal adapter (TA)
8 ... Telephone (8a), Personal computer (PC: 8b)
9 ... ISDN
10. IP network
11. ISP (Internet provider)
12. Internet
13. Terminal equipment

Claims (3)

SDNの用回線終端装置と、SDN信号を送受する第一のインタフェ−ス手段と
内回線接続装置と、前記ISDN信号を送受する第二のインタフェ−ス手段と、
報装置と前記ISDN信号を送受する第三のインタフェ−ス手段と、
前記第一のインタフェ−ス手段と、第二のインタフェ−ス手段及び第三のインタフェ−ス手段とから受信したデ−タをプロトコル変換後、中継するプロトコル変換手段と
網制御装置への給電状態を監視する監視手段と、を有し、
前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段間は、ISDN基本インタフェースのDチャネルパケットデータ及びBチャネル回線交換データの少なくともいずれかで通信を行わせ、
前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間は、ISDN基本インタフェースのDチャネルパケットデータで通信を行わせ、
ISDNのパケット網に障害が発生した場合、前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間を、Bチャネルを用いた回線交換通信に切替え、
前記監視手段が、前記網制御装置への給電の停止を検出した場合、前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段との間で信号を通過させるようバイパスすることを特徴とした網制御装置。
A station termination unit for I SDN, a first interface means for transmitting and receiving an I SDN signal ,
A house in line connector, a second Intafe for transmitting and receiving the ISDN signal - and scan means,
A scan unit, - a third Intafe for transmitting and receiving the ISDN signal and passing report device
Protocol conversion means for relaying the data received from the first interface means, the second interface means and the third interface means after protocol conversion ;
Monitoring means for monitoring the power supply state to the network control device ,
Between the first interface means and the second interface means, communication is performed using at least one of D channel packet data and B channel circuit switched data of the ISDN basic interface,
Communication between the first interface means and the third interface means is performed using D-channel packet data of the ISDN basic interface,
When a failure occurs in the ISDN packet network, the circuit switching between the first interface means and the third interface means is switched to circuit switching communication using a B channel.
When the monitoring unit detects that power supply to the network control device is stopped, the monitoring unit bypasses the signal between the first interface unit and the second interface unit. Network control device.
請求項1に記載の網制御装置であって、The network control device according to claim 1,
前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間をBチャネルを用いた回線交換通信に切替えるとき、Bチャネルが前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段間で全て使用されている場合は、Bチャネルの1つを切断することを特徴とした網制御装置。When switching the circuit switching communication using the B channel between the first interface means and the third interface means, the B channel is connected to the first interface means and the second interface. A network control device characterized by disconnecting one of the B channels when all the means are used.
請求項1に記載の網制御装置であって、The network control device according to claim 1,
前記第一のインタフェ−ス手段と前記第三のインタフェ−ス手段間をBチャネルを用いた回線交換通信に切替えた後で、前記第一のインタフェ−ス手段と前記第二のインタフェ−ス手段間でBチャネルの使用要求があり、かつ全てのBチャネルが使用されている場合は、前記使用要求に対し通話中の処理をしてBチャネルを使用させないようにすることを特徴とした網制御装置。After switching between the first interface means and the third interface means to circuit switching communication using a B channel, the first interface means and the second interface means Network control characterized in that when there is a B channel usage request and all the B channels are used, the B channel is not used by performing processing during a call in response to the usage request. apparatus.
JP2001270975A 2001-09-06 2001-09-06 Network control device and automatic notification system using the device Expired - Fee Related JP4576779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001270975A JP4576779B2 (en) 2001-09-06 2001-09-06 Network control device and automatic notification system using the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001270975A JP4576779B2 (en) 2001-09-06 2001-09-06 Network control device and automatic notification system using the device

Publications (2)

Publication Number Publication Date
JP2003087244A JP2003087244A (en) 2003-03-20
JP4576779B2 true JP4576779B2 (en) 2010-11-10

Family

ID=19096546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001270975A Expired - Fee Related JP4576779B2 (en) 2001-09-06 2001-09-06 Network control device and automatic notification system using the device

Country Status (1)

Country Link
JP (1) JP4576779B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0677998A (en) * 1992-08-28 1994-03-18 Fujitsu Ltd Isdn packet mode service control system
JPH10117215A (en) * 1996-08-22 1998-05-06 Furukawa Electric Co Ltd:The Method and apparatus for connecting between networks
JP3708244B2 (en) * 1996-09-06 2005-10-19 松下電器産業株式会社 Terminal network controller
JP2001016273A (en) * 1999-06-29 2001-01-19 Fujitsu Ltd Automatic machine monitoring device, automatic machine, and recording medium
JP3252841B2 (en) * 2000-02-22 2002-02-04 日本電気株式会社 Terminal device, relay device, communication method, and recording medium on which communication program is recorded

Also Published As

Publication number Publication date
JP2003087244A (en) 2003-03-20

Similar Documents

Publication Publication Date Title
CA2237520C (en) Data communication method, data communication terminal, data communication system and communication control system
JP2696509B2 (en) Control system for data terminal equipment
US5341418A (en) ISDN terminal adapter for access from analog signal equipment of four-wire full duplex type to ISDN
JP2004229112A (en) Exchange equipment
JP4576779B2 (en) Network control device and automatic notification system using the device
KR20010105042A (en) Multiple telecommunication coupling device
JP2003209621A (en) Exchange equipment
JPS62159561A (en) Digital telephone set
EP0869689A2 (en) Communication system for emergency calls
US20070127446A1 (en) Telephone exchange apparatus and method for controlling incoming call thereof
JP3338870B2 (en) Communication device using ISDN line
JPH0558302B2 (en)
JP3171964B2 (en) Facsimile system
JP2757825B2 (en) Transmission control method of maintenance information in data communication system
JP2000041104A (en) switch
JP3632612B2 (en) Remote side switch reset method and switch system
JP2629599B2 (en) Key telephone device with simultaneous facsimile broadcasting function
JP2003319431A (en) Private branch radio internet telephone system, private branch radio base station line collector used therefor and its talking control method
JPH09181896A (en) Facsimile adapter device
JPH05130657A (en) Method for communication between private branch exchanges
JPH05292211A (en) Multimedia communication terminal
JP2004120162A (en) Interphone system
JPH0286349A (en) Connection system for terminal equipment
JP2002057711A (en) IP multiplexing and switching system
JP2006157322A (en) Communication control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080328

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100510

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: 20100727

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100809

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

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees