JP2006195690A - Communication terminal device and data communication system - Google Patents

Communication terminal device and data communication system Download PDF

Info

Publication number
JP2006195690A
JP2006195690A JP2005005847A JP2005005847A JP2006195690A JP 2006195690 A JP2006195690 A JP 2006195690A JP 2005005847 A JP2005005847 A JP 2005005847A JP 2005005847 A JP2005005847 A JP 2005005847A JP 2006195690 A JP2006195690 A JP 2006195690A
Authority
JP
Japan
Prior art keywords
session
center
communication terminal
terminal device
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005005847A
Other languages
Japanese (ja)
Inventor
Kimio Nakagawa
公夫 中川
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005005847A priority Critical patent/JP2006195690A/en
Publication of JP2006195690A publication Critical patent/JP2006195690A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable continuous two-way communication between a center device and a communication terminal device by means of an IP communication network. <P>SOLUTION: The communication terminal device, when powered on or reset, makes a session start request to the center computer. The center computer responds to the request by establishing a session. When a fixed time passes after the start request, the communication terminal device makes a session maintenance request to the center computer. The center computer responds to the request. The session is maintained continuously to allow not only the communication terminal device to send data but also the center computer to send data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、インターネット等のIP(Internet Protocol)通信網を通じて、センタ装置にガス、水道等の検針情報やセキュリティ通報等を行う通信端末装置によるデータ通信システムに関する。   The present invention relates to a data communication system by a communication terminal device that performs meter reading information such as gas and water, security reports, etc. to a center device through an IP (Internet Protocol) communication network such as the Internet.

自動検針やセキュリティ通報を行うデータ通信システムでは、センタ装置と端末側の通信端末装置との間で双方向にデータ通信が行われる。通信回線として、インターネット等のIP通信網を利用する場合、クライアントである通信端末装置からサーバであるセンタ装置にアクセスすることはできるが、センタ装置から通信端末装置にはアクセスできない。   In a data communication system that performs automatic meter reading and security notification, bidirectional data communication is performed between the center device and the communication terminal device on the terminal side. When an IP communication network such as the Internet is used as the communication line, the communication terminal device as a client can access the center device as a server, but the center device cannot access the communication terminal device.

そこで、IP通信網によるデータ通信の双方向性を確保するためには、VPN(Virtual Private Network)を利用したり、端末側ルータのUPnP(Universal Plug and Play)機能を用いて、ダイナミックDNS(Domain Name System)を使用する必要があった。   Therefore, in order to ensure the bidirectionality of data communication by the IP communication network, a dynamic DNS (Domain Plugin) is used by using a VPN (Virtual Private Network) or a UPnP (Universal Plug and Play) function of a terminal side router. Name System) had to be used.

また、特許文献1のように、通信端末装置は、所定時間の間隔でセンタ側の端末装置にコネクションを行い、送信すべきデータがある場合には、コネクション時にデータの送信を行って、コネクションを切断する。そして、所定時間経過すると、通信端末装置は再度コネクションを行う。
特開2003−244244号公報
Further, as in Patent Document 1, the communication terminal device connects to the terminal device on the center side at a predetermined time interval, and when there is data to be transmitted, transmits the data at the time of connection and establishes the connection. Disconnect. And when predetermined time passes, a communication terminal device will perform a connection again.
JP 2003-244244 A

上記のようなVPNを利用する場合は、VPN専用装置を設けたり、ソフトウェアによってルータにVPN機能を付加しなければならず、システムとしてはコストアップになる。端末側ルータのUPnP機能を用いる場合は、ルータがUPnPに対応している必要があり、ダイナミックDNSサーバも必要であり、運用できるシステムが限られてしまい、汎用性に欠ける。   When using the VPN as described above, a VPN dedicated device must be provided or a VPN function must be added to the router by software, which increases the cost of the system. When the UPnP function of the terminal side router is used, the router needs to support UPnP, and a dynamic DNS server is also required, and the system that can be operated is limited, and lacks versatility.

また、特許文献1では、一定間隔で双方向の通信が可能となる。しかし、通信不能の期間が存在するため、緊急のデータ送信の必要が生じたとき、即座に対応することができない。   Further, in Patent Document 1, bidirectional communication is possible at regular intervals. However, since there is a period during which communication is not possible, it is not possible to respond immediately when urgent data transmission is required.

本発明は、上記に鑑み、常に双方向の通信を可能にしたIP通信網を利用したデータ通信システムの提供を目的とする。   In view of the above, an object of the present invention is to provide a data communication system using an IP communication network that always enables bidirectional communication.

本発明は、各種の情報を収集するメータ、セキュリティ機器等の端末機器が接続され、IP通信網を通じてセンタ装置との間でデータ通信を行って、前記情報を前記センタ装置に送信する通信端末装置であって、前記センタ装置にセッションの接続要求を行う開始手段と、セッションが確立したとき、このセッションを維持する維持手段とを備えたものである。   The present invention relates to a communication terminal device that is connected to a terminal device such as a meter or security device that collects various information, performs data communication with a center device through an IP communication network, and transmits the information to the center device. In addition, the apparatus includes a start unit that makes a session connection request to the center apparatus, and a maintaining unit that maintains the session when the session is established.

通信端末装置からセッションの接続要求を行うことにより、センタ装置とのセッションが確立される。そして、通信端末装置からセッションを維持するようにデータを送信することによって、セッションが維持される。セッションが維持されていると、常に双方向の通信を行える状態にあり、センタ装置は通信端末装置にデータを送信することができる。   By making a session connection request from the communication terminal device, a session with the center device is established. And a session is maintained by transmitting data so that a session may be maintained from a communication terminal device. If the session is maintained, the two-way communication can always be performed, and the center device can transmit data to the communication terminal device.

ここで、開始手段は、電源がオンされたとき、あるいはIP通信網がリンク断状態となってからリンク接続状態に回復したときに、接続要求を行う。これによって、通信端末装置は、起動したときには、必ずセンタ装置とのセッションを接続するように動作する。したがって、通信端末装置が動作を開始するのに合わせて、自動的に双方向の通信を可能な状態にすることができる。   Here, the start means makes a connection request when the power is turned on, or when the IP communication network is restored to the link connection state after the link is disconnected. As a result, the communication terminal device always operates to connect a session with the center device when activated. Therefore, it is possible to automatically enable bidirectional communication as the communication terminal device starts operation.

このとき、開始手段は、通信端末装置固有のタイミングで接続要求を行う。すなわち、複数の通信端末装置がある場合、各通信端末装置は、それぞれ固有の識別情報を有している。1つのセンタ装置に対して各通信端末装置がセッションの接続要求を行うとき、識別情報に基づいて決められたタイミングでセッションの接続要求を行う。したがって、各通信端末装置の接続要求のタイミングは、それぞれ異なることになる。例えば、停電等から復旧して、各通信端末装置が一斉に起動したとき、同時にセッションの接続要求を行うことになるが、タイミングが異なっているので、各通信端末装置からセンタ装置への通信が輻輳することはなく、確実にセンタ装置とのセッションが確立される。   At this time, the start unit makes a connection request at a timing specific to the communication terminal device. That is, when there are a plurality of communication terminal devices, each communication terminal device has unique identification information. When each communication terminal device makes a session connection request to one center device, the session connection request is made at a timing determined based on the identification information. Therefore, the connection request timing of each communication terminal apparatus is different. For example, when the communication terminal devices are recovered from a power outage, etc., and all the communication terminal devices are activated at the same time, session connection requests are made at the same time, but since the timing is different, communication from each communication terminal device to the center device is not possible. There is no congestion, and a session with the center device is established reliably.

維持手段は、定期的にセンタ装置にセッションの維持のためのデータを送信する。すなわち、セッションの接続要求を行った後、一定時間経過してからセッション維持用のデータを送信する。このように、一定のタイミングで通信を行うことによって、タイムアウトによりセッションが切断されることを防ぎ、常に双方向の通信可能な状態を維持できる。   The maintaining means periodically transmits data for maintaining the session to the center apparatus. That is, after making a session connection request, data for maintaining a session is transmitted after a predetermined time has elapsed. In this way, by performing communication at a constant timing, it is possible to prevent the session from being disconnected due to a time-out and always maintain a bidirectionally communicable state.

通信端末装置は、セッションを維持するためにデータを送信するが、これに対するセンタ装置から応答がないとき、センタ装置の停止、IP通信網の異常等によってセッションが切断されたと認識する。そこで、開始手段は、セッションが切断されたとき、維持手段によるデータ送信のタイミングに合わせて接続要求を行う。したがって、セッションが切断されても、自動的にセッションが再度接続される。   The communication terminal device transmits data to maintain the session, but when there is no response from the center device, the communication terminal device recognizes that the session has been disconnected due to a stop of the center device, an abnormality in the IP communication network, or the like. Therefore, when the session is disconnected, the start unit makes a connection request in accordance with the timing of data transmission by the maintaining unit. Therefore, even if the session is disconnected, the session is automatically reconnected.

また、センタ装置とのセッションが接続不能になったとき、第2のセンタ装置にセッションの接続要求を行う接続切替手段を備える。通常、データ通信システムでは、メインのセンタ装置のバックアップ用に第2のセンタ装置が設けられている。センタ装置の故障等によりセッションが接続不能という異常事態が発生しても、第2のセンタ装置にセッションの接続要求をすることにより、センタ側とはセッションを接続した状態を保つことができ、システム上不都合は生じない。   In addition, when a session with the center apparatus becomes unable to be connected, a connection switching unit that makes a session connection request to the second center apparatus is provided. Usually, in a data communication system, a second center device is provided for backup of a main center device. Even if an abnormal situation occurs in which the session cannot be connected due to a failure of the center device or the like, the session can be kept connected to the center side by making a session connection request to the second center device. There is no inconvenience.

そして、接続切替手段は、第2のセンタ装置とのセッションが確立しているときに、端末機器からの端末発呼の要求があると、第2のセンタ装置から元のセンタ装置にセッションを接続し直す。このようにデータ通信を行う際に、第2のセンタ装置から元のセンタ装置にセッションが自動的に張り替えることができる。また、第2のセンタ装置とのセッションが確立しているときに、前記第2のセンタ装置から切替要求があると、第2のセンタ装置から元のセンタ装置にセッションを接続し直す。これによって、センタ装置が復旧した場合、速やかに第2のセンタ装置から元のセンタ装置にセッションが張り替えられ、通常のデータ通信を行える。   The connection switching means connects the session from the second center apparatus to the original center apparatus when there is a terminal call request from the terminal device while the session with the second center apparatus is established. Try again. When performing data communication in this way, the session can be automatically replaced from the second center device to the original center device. In addition, when a session is established with the second center device and there is a switching request from the second center device, the session is reconnected from the second center device to the original center device. As a result, when the center device is restored, the session is quickly replaced from the second center device to the original center device, and normal data communication can be performed.

本発明によると、通信端末装置からセッションを接続して、これを維持しておくことにより、いつでも通信可能な状態となり、センタ装置と通信端末装置との間で双方向の通信を行える。したがって、IP通信網を利用したデータ通信システムにおいて、VPNを利用したり、UPnP対応ルータやダイナミックDNSサーバ等の機器を使用しなくても、簡単に双方向の通信を実現できる。   According to the present invention, by connecting a session from a communication terminal device and maintaining the session, communication is possible at any time, and bidirectional communication can be performed between the center device and the communication terminal device. Therefore, in a data communication system using an IP communication network, bidirectional communication can be easily realized without using VPN or using a device such as a UPnP compatible router or a dynamic DNS server.

本実施形態のデータ通信システムを図1に示す。1はセンタコンピュータ、2はハブ、3はセンタ側ルータ、4はインターネット、5は端末側ルータ、6はハブ、7は通信端末装置、8はメータ、9はセキュリティ機器である。   A data communication system of this embodiment is shown in FIG. 1 is a center computer, 2 is a hub, 3 is a center side router, 4 is the Internet, 5 is a terminal side router, 6 is a hub, 7 is a communication terminal device, 8 is a meter, and 9 is a security device.

このデータ通信システムでは、センタ側のセンタコンピュータ(センタ装置)1と住居等に設置された端末側の通信端末装置7とがインターネット4等のIP通信網を通じて双方向に通信可能とされる。センタ側ルータ3および端末側ルータ5は、光ファイバ、ADSL、CATVといった常時接続の通信回線によってIP通信網に接続される。なお、通信端末装置7は、ルータ5に直接接続してもよい。   In this data communication system, a center-side center computer (center device) 1 and a terminal-side communication terminal device 7 installed in a residence or the like can communicate bidirectionally through an IP communication network such as the Internet 4. The center side router 3 and the terminal side router 5 are connected to the IP communication network by a communication line which is always connected such as an optical fiber, ADSL, and CATV. Note that the communication terminal device 7 may be directly connected to the router 5.

通信端末装置7は、端末発呼あるいはセンタコンピュータ1からの要求によって、ガス、水道等のメータ8が収集した検針情報をセンタコンピュータ1に送信する。また、通信端末装置7は、異常事態が発生したときにセンサ、検知スイッチ等のセキュリティ機器9が収集した異常検知情報をセンタコンピュータ1に送信する。   The communication terminal device 7 transmits meter reading information collected by a meter 8 such as gas or water to the center computer 1 in response to a terminal call or a request from the center computer 1. Further, the communication terminal device 7 transmits the abnormality detection information collected by the security device 9 such as a sensor and a detection switch to the center computer 1 when an abnormal situation occurs.

通信端末装置7は、図2に示すように、ネットワーク接続部10、ネットワークI/F11、制御部12、端末機器I/F13、端末機器接続部14、記憶部15、不揮発性記憶部16を備えている。端末機器接続部14には、メータ8やセキュリティ機器9等の端末機器が通信ケーブルを介して接続される。ネットワーク接続部10には、LANケーブルを介してハブ6が接続され、ルータ5、ハブ6によって形成されるイーサネット(登録商標)等のネットワークに接続される。   As illustrated in FIG. 2, the communication terminal device 7 includes a network connection unit 10, a network I / F 11, a control unit 12, a terminal device I / F 13, a terminal device connection unit 14, a storage unit 15, and a nonvolatile storage unit 16. ing. Terminal devices such as the meter 8 and the security device 9 are connected to the terminal device connection unit 14 via a communication cable. A hub 6 is connected to the network connection unit 10 via a LAN cable, and is connected to a network such as an Ethernet (registered trademark) formed by the router 5 and the hub 6.

マイコンからなる制御部12は、センタコンピュータ1にセッションの接続要求を行う開始手段と、セッションが確立したとき、このセッションを維持する維持手段とを有し、これらの手段はソフトウェアによって実行され、双方向の通信を可能とする。これによって、通信端末装置7からの端末発呼によるデータ通信だけでなく、センタコンピュータ1からのセンタポーリングによるデータ通信を行える。   The control unit 12 composed of a microcomputer has start means for making a session connection request to the center computer 1 and maintenance means for maintaining the session when the session is established. These means are executed by software, Communication is possible. Thereby, not only data communication by terminal call from the communication terminal device 7 but also data communication by center polling from the center computer 1 can be performed.

そして、制御部12は、IP通信網によるデータ通信のために、所定のプロトコルにしたがって、不揮発性記憶部16に記憶されている情報に基づき、ヘッダをデータに付けてパケットを作成し、センタコンピュータ1に送信する。フラッシュメモリ等の不揮発性記憶部16には、端末装置ID、送信先IPアドレス、送信先ポート番号等の通信に必要な情報が記憶されている。なお、端末装置IDは、IPアドレスやMACアドレスとされる。センタコンピュータ1も同様にして、データ通信を行う。このとき、センタコンピュータ1と通信端末装置7のトランスポート層プロトコルはUDPでもTCPでもよく、TCPの場合は、さらに上位プロトコルとしてHTTPを用いてもよい。また、必要に応じてそれぞれのパケットを暗号化してもよい。   Then, the control unit 12 creates a packet by attaching a header to the data based on information stored in the non-volatile storage unit 16 according to a predetermined protocol for data communication through the IP communication network. 1 to send. The non-volatile storage unit 16 such as a flash memory stores information necessary for communication such as a terminal device ID, a transmission destination IP address, and a transmission destination port number. The terminal device ID is an IP address or a MAC address. Similarly, the center computer 1 performs data communication. At this time, the transport layer protocol of the center computer 1 and the communication terminal device 7 may be UDP or TCP. In the case of TCP, HTTP may be used as a higher-level protocol. Moreover, you may encrypt each packet as needed.

端末発呼の場合、制御部12は、メータ8等の端末機器からの起動信号が端末機器I/F13を通して入力されると、これを認識して、端末装置ID、送信先IPアドレス、送信先ポート番号、送信元ポート番号等を含む所定の送信コードを作成し、ヘッダとしてデータに付けて、パケットを作成する。そして、パケットは、ネットワークI/F11から送信され、ルータ5を通してセンタコンピュータ1に伝送される。   In the case of a terminal call, the control unit 12 recognizes when an activation signal from a terminal device such as the meter 8 is input through the terminal device I / F 13, recognizes this, and transmits a terminal device ID, a transmission destination IP address, and a transmission destination. A predetermined transmission code including a port number, a transmission source port number, and the like is created, attached to data as a header, and a packet is created. The packet is transmitted from the network I / F 11 and transmitted to the center computer 1 through the router 5.

センタコンピュータ1によるセンタポーリングの場合、制御部12は、センタコンピュータ1からのパケットをイーサネットI/F11を通して受信すると、パケット中のデータを端末機器I/F13を通して指定されたメータ8やセキュリティ機器9に送信する。   In the case of center polling by the center computer 1, when the control unit 12 receives a packet from the center computer 1 through the Ethernet I / F 11, the data in the packet is sent to the meter 8 or the security device 9 designated through the terminal device I / F 13. Send.

ここで、端末通信装置7がセンタコンピュータ1とのセッションの接続、維持を行うときの動作を説明する。図3に示すように、通信端末装置7の電源がオンされる、あるいはリセットされると、制御部12は、初期化をして、必要に応じてDHCPによってIPアドレスを自動設定した後、セッション開始要求電文をデータとするパケットをセンタコンピュータ1に送信する。センタコンピュータ1は、この電文を受信すると、セッション開始応答電文をデータとするパケットを通信端末装置7に送信する。このようにして、セッションが確立すると、通信端末装置7とセンタコンピュータ1との間で双方向の通信を行える。   Here, an operation when the terminal communication device 7 connects and maintains a session with the center computer 1 will be described. As shown in FIG. 3, when the power of the communication terminal device 7 is turned on or reset, the control unit 12 initializes and automatically sets an IP address by DHCP as necessary, and then performs a session. A packet having the start request message as data is transmitted to the center computer 1. When the center computer 1 receives this message, the center computer 1 transmits a packet having the session start response message as data to the communication terminal device 7. When the session is established in this way, bidirectional communication can be performed between the communication terminal device 7 and the center computer 1.

セッションが確立した後、所定の時間通信が行われないと、タイムアウトによりセッションが切断される。そこで、制御部12は、セッションを維持するためのセッション維持要求電文をデータとするパケットを一定時間毎にセンタコンピュータ1に送信する。なお、この一定時間は、タイムアウトする所定の時間よりも短い時間に設定されている。センタコンピュータ1は、この電文を受信すると、セッション維持応答電文をデータとするパケットを通信端末装置7に送信する。このセッション維持要求電文は定期的に送信され、セッションが維持される。   If communication is not performed for a predetermined time after the session is established, the session is disconnected due to timeout. Therefore, the control unit 12 transmits a packet having data as a session maintenance request message for maintaining a session to the center computer 1 at regular intervals. In addition, this fixed time is set to a time shorter than a predetermined time for timeout. When the center computer 1 receives this message, the center computer 1 transmits a packet having the session maintenance response message as data to the communication terminal device 7. This session maintenance request message is periodically transmitted to maintain the session.

端末通信装置7のIPアドレスはプライベートIPアドレスであるため、通常はセンタコンピュータ1から通信端末装置7にアクセスして、直接データを送信することはできない。しかし、上記のように、セッションが維持されているため、センタコンピュータ1からのデータ送信が常時可能となる。   Since the IP address of the terminal communication device 7 is a private IP address, it is usually impossible to access the communication terminal device 7 from the center computer 1 and directly transmit data. However, since the session is maintained as described above, data transmission from the center computer 1 is always possible.

ところで、セッション開始後、端末側ハブ6の停止やLANケーブルの断時には、ネットワークI/F11から制御部12にリンク断状態が通知される。ネットワークI/F11は、ネットワーク内のルータ5やハブ6との間で一定周期でリンクパルスを送受信しており、このリンクパルスの有無により、リンク状態を検知できる。リンク断状態のとき、通信端末装置7はセンタコンピュータ1と通信できない。そして、ハブ6やLANケーブルが復旧すると、ネットワークI/F11から制御部12へリンク接続状態が通知される。制御部12は、直ちに電源オン時と同様に、セッション開始要求電文を送信する。セッションが開始され、維持されるため、通信端末装置7はセンタコンピュータ1と双方向に通信可能となる。   By the way, after the session starts, when the terminal-side hub 6 is stopped or the LAN cable is disconnected, the network I / F 11 notifies the control unit 12 of the link disconnection state. The network I / F 11 transmits / receives link pulses to / from the router 5 and the hub 6 in the network at a constant cycle, and can detect the link state based on the presence / absence of the link pulse. When the link is disconnected, the communication terminal device 7 cannot communicate with the center computer 1. When the hub 6 and the LAN cable are restored, the link status is notified from the network I / F 11 to the control unit 12. The control unit 12 immediately transmits a session start request message similarly to when the power is turned on. Since the session is started and maintained, the communication terminal device 7 can communicate with the center computer 1 in both directions.

また、センタコンピュータ1の停止、ルータ3、5の停止等があった場合、センタコンピュータ1と通信端末装置7とは通信できないが、センタコンピュータ1および通信端末装置7は、そのことを認識できない。図4に示すように、セッションの開始後、一定時間毎にセッションの維持要求および応答の送受信が行われる。これにより、センタコンピュータ1は、一定時間経過してもセッションの維持要求がないと、セッションを終了する。また、通信端末装置7は、セッションの維持要求に対する維持応答がないと、セッションを終了する。   Further, when the center computer 1 is stopped, the routers 3 and 5 are stopped, the center computer 1 and the communication terminal device 7 cannot communicate with each other, but the center computer 1 and the communication terminal device 7 cannot recognize this. As shown in FIG. 4, after the session is started, a session maintenance request and response are transmitted and received at regular intervals. As a result, the center computer 1 ends the session if there is no session maintenance request even after a predetermined time has elapsed. If there is no maintenance response to the session maintenance request, communication terminal apparatus 7 ends the session.

このようにセッションが終了された場合、通信端末装置7は、再びセッションの接続を行う。すなわち、定期的なセッションの維持要求を行うタイミングで維持要求の代わりにセッション開始要求電文を送信する。センタコンピュータ1からのセッションの開始応答を受信すると、通常通りセッションを開始する。以降は、定期的にセッション維持要求電文を送信して、セッションを維持する。   When the session is thus terminated, the communication terminal device 7 connects the session again. That is, a session start request message is transmitted instead of the maintenance request at the timing of making a periodic session maintenance request. When a session start response is received from the center computer 1, the session is started as usual. Thereafter, a session maintenance request message is periodically transmitted to maintain the session.

上記のように通信端末装置7が、センタコンピュータ1にセッションの接続を開始したとき、センタコンピュータ1がまだ停止している場合、セッションの開始要求に対する開始応答がなく、セッションの接続を開始できない。ここで、センタ側において、通常、バックアップ用に第2のセンタコンピュータを備えている。これを利用して、通信端末装置7は、センタコンピュータとのセッションを接続できないとき、第2のセンタコンピュータとセッションの接続を行う。すなわち、制御部12は、センタコンピュータ1とのセッションが接続不能になったとき、第2のセンタコンピュータにセッションの接続要求を行う接続切替手段を有する。   As described above, when the communication terminal device 7 starts connection of a session to the center computer 1, if the center computer 1 is still stopped, there is no start response to the session start request and connection of the session cannot be started. Here, the center side usually includes a second center computer for backup. Utilizing this, when the communication terminal device 7 cannot connect the session with the center computer, the communication terminal device 7 connects the session with the second center computer. That is, the control unit 12 includes a connection switching unit that makes a session connection request to the second center computer when a session with the center computer 1 is not connectable.

図5に示すように、通信端末装置7の制御部12は、センタコンピュータ1からセッションの維持応答あるいは開始応答がないとき、接続不能と判断する。そして、不揮発性記憶部16に記憶されている第2のセンタコンピュータのIPアドレス、ポート番号に基づいて、第2のセンタコンピュータにセッション開始要求電文を送信する。第2のセンタコンピュータからのセッションの開始応答を受信すると、通常通りセッションを開始する。以降は、定期的にセッション維持要求電文を第2のセンタコンピュータに送信して、セッションが維持される。これによって、センタコンピュータ1が故障して、停止しても、通信システムとしては停止しないシステムを実現できる。   As shown in FIG. 5, the control unit 12 of the communication terminal device 7 determines that connection is not possible when there is no session maintenance response or start response from the center computer 1. Then, a session start request message is transmitted to the second center computer based on the IP address and port number of the second center computer stored in the nonvolatile storage unit 16. When a session start response is received from the second center computer, the session is started as usual. Thereafter, a session maintenance request message is periodically transmitted to the second center computer to maintain the session. As a result, even if the center computer 1 fails and stops, a system that does not stop as a communication system can be realized.

なお、第2のセンタコンピュータにセッションの接続要求を行うタイミングとして、センタコンピュータ1からセッションの維持応答あるいは開始応答がないことを検知したときに行う。このようにすれば、センタコンピュータ1とのセッションは切断されても、第2のセンタコンピュータにセッションが接続されるので、センタ側とのセッションは、切断されることなく、常時接続された状態となる。   The timing for making a session connection request to the second center computer is performed when it is detected from the center computer 1 that there is no session maintenance response or start response. In this way, even if the session with the center computer 1 is disconnected, the session is connected to the second center computer, so that the session with the center side is always disconnected without being disconnected. Become.

第2のセンタコンピュータとのセッションが接続されているとき、制御部12は、端末機器からの起動信号を端末機器I/F13を通じて受信すると、端末発呼の要求であると認識して、第2のセンタコンピュータから元のセンタコンピュータ1にセッションを接続し直す。すなわち、制御部12は、センタコンピュータ1にセッション開始要求電文を送信する。センタコンピュータ1とのセッションが接続されると、制御部12は、第2のセンタコンピュータとのセッションを切断し、セッションが確立したセンタコンピュータ1との間でデータ通信を行う。なお、センタコンピュータ1が停止したままの場合、セッションが確立しないので、制御部12は、第2のセンタコンピュータとのセッションを切断せず、第2のセンタコンピュータとデータ通信を行う。これによって、第2のセンタコンピュータから常用のセンタコンピュータ1にセッションの切り替えを自動的に行うことができる。   When the session with the second center computer is connected, the control unit 12 receives the activation signal from the terminal device through the terminal device I / F 13 and recognizes that the request is for the terminal call. Reconnect the session from the center computer to the original center computer 1. That is, the control unit 12 transmits a session start request message to the center computer 1. When a session with the center computer 1 is connected, the control unit 12 disconnects the session with the second center computer and performs data communication with the center computer 1 with which the session has been established. If the center computer 1 remains stopped, the session is not established, and the control unit 12 performs data communication with the second center computer without disconnecting the session with the second center computer. Thus, the session can be automatically switched from the second center computer to the regular center computer 1.

また、第2のセンタコンピュータとのセッションが接続されているとき、制御部12は、第2のセンタコンピュータから切替要求があると、第2のセンタコンピュータから元のセンタコンピュータ1にセッションを接続し直す。すなわち、図6に示すように、センタコンピュータ1が復旧すると、第2のセンタコンピュータは、通信端末装置7にセッション切替要求電文を送信する。制御部12は、この電文を受信すると、第2のセンタコンピュータに応答電文を送信して、セッションを切断する。そして、センタコンピュータ1にセッション開始要求電文を送信する。センタコンピュータ1が応答して、センタコンピュータ1とのセッションが接続され、以降、同様にセッションが維持される。これによって、第2のセンタコンピュータから常用のセンタコンピュータ1にセッションの切り替えを速やかに行うことができる。   In addition, when a session with the second center computer is connected, the control unit 12 connects the session from the second center computer to the original center computer 1 when there is a switching request from the second center computer. cure. That is, as shown in FIG. 6, when the center computer 1 is restored, the second center computer transmits a session switching request message to the communication terminal device 7. Upon receiving this message, the control unit 12 transmits a response message to the second center computer and disconnects the session. Then, a session start request message is transmitted to the center computer 1. The center computer 1 responds and a session with the center computer 1 is connected. Thereafter, the session is similarly maintained. As a result, the session can be quickly switched from the second center computer to the regular center computer 1.

上記のデータ通信システムにおいて、一般的に通信端末装置7は1つではなく、複数設けられ、ルータ5やハブ6に接続される。各通信端末装置7には、それぞれ異なるIDが設定される。また、各通信端末装置7は、それぞれ固有のMACアドレスや製造番号を有している。制御部12は、上記のIDや製造番号等のユニークな識別情報に基づいて決められたタイミングでセッションの接続要求を行う。すなわち、電源のオンあるいはリセットにより、制御部12は、セッションの接続を開始するが、セッション接続要求電文を送信するタイミングは、電源がオンしてからユニークな識別情報に基づいて決められた時間が経過したときとなる。そして、セッションが確立した後、最初の電文を送信してから一定時間経過したときに、セッション維持要求電文が送信される。   In the above data communication system, in general, a plurality of communication terminal apparatuses 7 are provided instead of one, and are connected to the router 5 and the hub 6. Different IDs are set for the respective communication terminal devices 7. Each communication terminal device 7 has a unique MAC address and serial number. The control unit 12 makes a session connection request at a timing determined based on the unique identification information such as the ID and the serial number. That is, when the power is turned on or reset, the control unit 12 starts session connection, but the timing for transmitting the session connection request message is the time determined based on the unique identification information after the power is turned on. When it has passed. Then, after a session is established, a session maintenance request message is transmitted when a predetermined time has elapsed since the first message was transmitted.

このように、各通信端末装置7毎にセッションの接続要求のタイミングをずらすことにより、例えば停電が発生して、復旧したとき、各通信端末装置7は、一斉にセッションの接続要求を行う。しかし、上記のように、接続要求のタイミングがずれているので、複数の通信端末装置7からの接続要求が重なることはない。したがって、センタコンピュータ1は複数の通信端末装置7と順にセッションの接続のための通信を行っていくので、一度に多くの通信処理を行うことはなく、センタコンピュータ1の負荷を分散できる。   In this way, by shifting the timing of session connection requests for each communication terminal device 7, for example, when a power failure occurs and recovery is performed, each communication terminal device 7 makes a session connection request all at once. However, as described above, since connection request timings are shifted, connection requests from a plurality of communication terminal devices 7 do not overlap. Therefore, since the center computer 1 performs communication for session connection with the plurality of communication terminal devices 7 in order, a large amount of communication processing is not performed at once, and the load on the center computer 1 can be distributed.

さらに、通信端末装置7は、セッションの維持要求するときも、接続要求して一定時間経過してから行う。そのため、各通信端末装置7の維持要求のタイミングがずれ、各通信端末装置7との通信が集中することはなく、センタコンピュータ1の負荷を分散できる。   Further, the communication terminal device 7 also makes a session maintenance request after a certain time has elapsed since the connection request was made. Therefore, the timing of the maintenance request of each communication terminal device 7 is shifted, communication with each communication terminal device 7 is not concentrated, and the load on the center computer 1 can be distributed.

このとき、各通信端末装置7における維持要求するときのタイミングである一定時間を通信端末装置7毎に異なる時間にしておくことにより、複数の通信端末装置7からの維持要求が重なることがあっても、次回の維持要求のタイミングはずれる。したがって、多数の通信端末装置7が設けられた大規模なデータ通信システムになるほど、センタコンピュータ1の負荷を軽減でき、通信品質の向上を図れる。   At this time, the maintenance request from the plurality of communication terminal devices 7 may overlap by setting a certain time, which is the timing when the maintenance request is made in each communication terminal device 7, to be different for each communication terminal device 7. However, the timing of the next maintenance request will be off. Therefore, the larger the data communication system provided with a larger number of communication terminal devices 7, the more the load on the center computer 1 can be reduced and the communication quality can be improved.

なお、本発明は、上記実施形態に限定されるものではなく、本発明の範囲内で上記実施形態に多くの修正および変更を加え得ることは勿論である。複数の通信端末装置がルータに接続されている場合、ポート番号によって各通信端末装置を区別するNAPT(Network Address Port Translation:IPマスカレード)を利用して、複数の通信端末装置が同時にセンタコンピュータとデータ通信できるようにしてもよい。   In addition, this invention is not limited to the said embodiment, Of course, many corrections and changes can be added to the said embodiment within the scope of the present invention. When a plurality of communication terminal devices are connected to the router, a plurality of communication terminal devices can simultaneously transmit data to the center computer and data using NAPT (Network Address Port Translation: IP masquerade) that distinguishes each communication terminal device by a port number. Communication may be possible.

本発明のデータ通信システムの全体構成図Overall configuration diagram of data communication system of the present invention 通信端末装置の概略構成を示すブロック図Block diagram showing schematic configuration of communication terminal device セッションを接続するときの通信シーケンス図Communication sequence diagram when connecting a session セッションが切断されたときの通信シーケンス図Communication sequence diagram when session is disconnected 通信端末装置が第2のセンタコンピュータとセッションを接続した後、端末発呼に起因して元のセンタコンピュータにセッションを切り替えるときの通信シーケンス図Communication sequence diagram when the session is switched to the original center computer due to the terminal call after the communication terminal device connects the session with the second center computer 通信端末装置が第2のセンタコンピュータとセッションを接続した後、第2のセンタコンピュータからの切替要求に応じて元のセンタコンピュータにセッションを切り替えるときの通信シーケンス図Communication sequence diagram when the session is switched to the original center computer in response to a switching request from the second center computer after the communication terminal device connects the session with the second center computer

符号の説明Explanation of symbols

1 センタコンピュータ
2 ハブ
3 センタ側ルータ
4 インターネット
5 端末側ルータ
6 ハブ
7 通信端末装置
8 メータ
9 セキュリティ機器
10 ネットワーク接続部
11 ネットワークI/F
12 制御部
13 端末機器I/F
14 端末機器接続部
15 記憶部
16 不揮発性記憶部
DESCRIPTION OF SYMBOLS 1 Center computer 2 Hub 3 Center side router 4 Internet 5 Terminal side router 6 Hub 7 Communication terminal device 8 Meter 9 Security apparatus 10 Network connection part 11 Network I / F
12 Control unit 13 Terminal device I / F
14 Terminal device connection unit 15 Storage unit 16 Non-volatile storage unit

Claims (13)

各種の情報を収集する端末機器が接続され、IP通信網を通じてセンタ装置との間でデータ通信を行って、前記情報を前記センタ装置に送信する通信端末装置であって、前記センタ装置にセッションの接続要求を行う開始手段と、セッションが確立したとき、このセッションを維持する維持手段とを備えたことを特徴とする通信端末装置。 A terminal device that collects various types of information is connected, performs data communication with a center device through an IP communication network, and transmits the information to the center device. A communication terminal apparatus comprising start means for making a connection request and maintenance means for maintaining the session when the session is established. 開始手段は、電源がオンされたとき、あるいはIP通信網がリンク断状態となってからリンク接続状態に回復したときに、接続要求を行うことを特徴とする請求項1記載の通信端末装置。 2. The communication terminal apparatus according to claim 1, wherein the start means makes a connection request when the power is turned on or when the IP communication network recovers to the link connection state after the link is disconnected. 開始手段は、電源がオンあるいはリセットされたとき、通信端末装置固有のタイミングで接続要求を行うことを特徴とする請求項2記載の通信端末装置。 3. The communication terminal apparatus according to claim 2, wherein the start unit makes a connection request at a timing specific to the communication terminal apparatus when the power is turned on or reset. 維持手段は、定期的にセンタ装置にセッションの維持のためのデータを送信することを特徴とする請求項1〜3のいずれかに記載の通信端末装置。 The communication terminal apparatus according to claim 1, wherein the maintaining unit periodically transmits data for maintaining a session to the center apparatus. 維持手段は、接続要求を行った後、一定時間経過してからセッション維持用のデータを送信することを特徴とする請求項4記載の通信端末装置。 5. The communication terminal apparatus according to claim 4, wherein the maintaining means transmits the data for maintaining the session after a predetermined time has elapsed after making the connection request. 開始手段は、セッションが切断されたとき、維持手段によるデータ送信のタイミングに合わせて接続要求を行うことを特徴とする請求項5記載の通信端末装置。 6. The communication terminal apparatus according to claim 5, wherein when the session is disconnected, the start unit makes a connection request in accordance with the timing of data transmission by the maintaining unit. センタ装置とのセッションが接続不能になったとき、第2のセンタ装置にセッションの接続要求を行う接続切替手段を備えたことを特徴とする請求項1〜6のいずれかに記載の通信端末装置。 The communication terminal device according to claim 1, further comprising a connection switching unit configured to make a connection request to the second center device when a session with the center device becomes impossible to connect. . 接続切替手段は、第2のセンタ装置とのセッションが確立しているときに、端末機器からの端末発呼の要求があると、第2のセンタ装置から元のセンタ装置にセッションを接続し直すことを特徴とする請求項7記載の通信端末装置。 The connection switching means reconnects the session from the second center apparatus to the original center apparatus when there is a terminal call request from the terminal device while the session with the second center apparatus is established. The communication terminal device according to claim 7. 接続切替手段は、第2のセンタ装置とのセッションが確立しているときに、前記第2のセンタ装置から切替要求があると、第2のセンタ装置から元のセンタ装置にセッションを接続し直すことを特徴とする請求項7記載の通信端末装置。 The connection switching means reconnects the session from the second center apparatus to the original center apparatus when there is a switching request from the second center apparatus when a session with the second center apparatus is established. The communication terminal device according to claim 7. 各種の情報を収集する端末機器が接続された通信端末装置とセンタ装置とがIP通信網を通じてデータ通信を行い、前記通信端末装置が前記情報を前記センタ装置に送信するデータ通信システムであって、前記通信端末装置は、前記センタ装置にセッションの接続要求を行い、セッションが確立したとき、前記センタ装置にセッションの維持のためのデータを送信して、このセッションを維持することを特徴とするデータ通信システム。 A communication terminal device connected to a terminal device that collects various types of information and a center device perform data communication through an IP communication network, and the communication terminal device transmits the information to the center device. The communication terminal device makes a session connection request to the center device, and when the session is established, transmits data for maintaining the session to the center device and maintains the session. Communications system. 1つのセンタ装置に対して複数の通信端末装置がセッションの接続要求を行い、各通信端末装置は、それぞれ固有の識別情報を有し、該識別情報に基づいて決められたタイミングでセッションの接続要求を行うことを特徴とする請求項10記載のデータ通信システム。 A plurality of communication terminal devices make a session connection request to one center device, and each communication terminal device has unique identification information, and a session connection request at a timing determined based on the identification information. The data communication system according to claim 10, wherein: 通信端末装置は、センタ装置とのセッションが接続不能になったとき、第2のセンタ装置とセッションを確立して、このセッションを維持することを特徴とする請求項10または11記載のデータ通信システム。 12. The data communication system according to claim 10, wherein the communication terminal device establishes a session with the second center device and maintains the session when the session with the center device becomes inaccessible. . 通信端末装置は、第2のセンタ装置とのセッションが接続されているときに、センタ装置とのセッションが接続可能になったとき、あるいは端末機器からの端末発呼の要求があったとき、第2のセンタ装置から元のセンタ装置にセッションを接続し直すことを特徴とする請求項12記載のデータ通信システム。 When a session with the second center apparatus is connected, a session with the center apparatus becomes connectable, or when a terminal call request is received from the terminal device, the communication terminal apparatus 13. The data communication system according to claim 12, wherein the session is reconnected from the center device of 2 to the original center device.
JP2005005847A 2005-01-13 2005-01-13 Communication terminal device and data communication system Pending JP2006195690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005005847A JP2006195690A (en) 2005-01-13 2005-01-13 Communication terminal device and data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005005847A JP2006195690A (en) 2005-01-13 2005-01-13 Communication terminal device and data communication system

Publications (1)

Publication Number Publication Date
JP2006195690A true JP2006195690A (en) 2006-07-27

Family

ID=36801744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005005847A Pending JP2006195690A (en) 2005-01-13 2005-01-13 Communication terminal device and data communication system

Country Status (1)

Country Link
JP (1) JP2006195690A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151444A (en) * 2007-12-19 2009-07-09 Seiko Epson Corp Spool server and data communication control method
EP2136600A2 (en) 2008-06-18 2009-12-23 Nec Corporation Session management apparatus, communication system, and session clear-out method
US8331337B2 (en) 2008-04-18 2012-12-11 Nec Corporation Session management apparatus, communication system, and session clear-out method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151444A (en) * 2007-12-19 2009-07-09 Seiko Epson Corp Spool server and data communication control method
US8331337B2 (en) 2008-04-18 2012-12-11 Nec Corporation Session management apparatus, communication system, and session clear-out method
EP2136600A2 (en) 2008-06-18 2009-12-23 Nec Corporation Session management apparatus, communication system, and session clear-out method

Similar Documents

Publication Publication Date Title
US8212396B2 (en) Apparatus power restart method in response to network connection status
US20050220137A1 (en) Method for the discovery of devices connected to an IP network and device to carry out said method
JP5002820B2 (en) Home network system
CN103873472A (en) Method for automatically having access to network
CN103095749A (en) Method and system used for achieving discovery of cross-network-segment equipment
JP5079000B2 (en) Communication network connection device
US20080180524A1 (en) Remote monitoring control method of network camera
JP2006195690A (en) Communication terminal device and data communication system
JP5441566B2 (en) Communication terminal, communication system, and node switching method
JP2008199081A (en) Firewall device and firewall system
JP6242376B2 (en) Communication system and subscriber side device
Cisco set fddi alarm through set logout
JP5045603B2 (en) Communication monitoring method, communication monitoring system, management system, and external device
JP3914072B2 (en) Network failure monitoring method, communication system, and line switching apparatus
JP4413897B2 (en) Monitoring method, monitoring device, monitoring program, and monitoring system
Cisco set fddi alarm through set logout
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
JP2008269252A (en) Security system
JP4866823B2 (en) Layer 2 switch device and layer 2 link state information transfer method
JP2008199121A (en) Equipment monitor and control system
WO2010055583A1 (en) Communication device, control method for communication device, and network system
TWI451264B (en) Signal transformation apparatus with redundant mechanism and method of implementing redundancy
JP2011055455A (en) Management relay server and relay communication system
JP2009055342A (en) Media gateway system compatible with sip
JP4480559B2 (en) Broadband router and its port mapping information update method