JP2007020255A - Data communication system and communication terminal apparatus - Google Patents

Data communication system and communication terminal apparatus Download PDF

Info

Publication number
JP2007020255A
JP2007020255A JP2005196746A JP2005196746A JP2007020255A JP 2007020255 A JP2007020255 A JP 2007020255A JP 2005196746 A JP2005196746 A JP 2005196746A JP 2005196746 A JP2005196746 A JP 2005196746A JP 2007020255 A JP2007020255 A JP 2007020255A
Authority
JP
Japan
Prior art keywords
power
communication terminal
power failure
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
JP2005196746A
Other languages
Japanese (ja)
Inventor
Yasushi Yasuda
靖 安田
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 JP2005196746A priority Critical patent/JP2007020255A/en
Publication of JP2007020255A publication Critical patent/JP2007020255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To sense an occurrence and a recovery of a power interruption in a communication terminal apparatus and a center apparatus. <P>SOLUTION: The communication terminal apparatus 2 is connected to a router 4 connected to an uninterruptible power supply 9 through a network cable 3. The router 4 supplies defined power to the communication terminal apparatus 2 through the network cable 3 during a normal operation, and supplies predetermined power during the interruption. When the predetermined power is supplied, the communication terminal apparatus 2 determines the power interruption. When the defined power is supplied after that, the communication terminal apparatus 2 determines that the power interruption is recovered. The communication terminal apparatus 2 informs the center apparatus 6 of the occurrence of the power interruption through a network, and informs the center apparatus 6 of the recovery of the power interruption thereafter. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、LAN、WAN等のネットワークを通じてセンタ装置と通信端末装置との間でデータ伝送を行うデータ通信システムに関する。   The present invention relates to a data communication system that performs data transmission between a center device and a communication terminal device through a network such as a LAN or a WAN.

例えば、ガスメータ、水道メータ等の検針や侵入センサなどのセキュリティ機器の情報をインターネット網経由で伝送するデータ通信システムがある。図5に示すように、ガスメータ、水道メータ、センサ等の端末機器1は、IPアドレスを持つ通信端末装置2に接続され、通信端末装置2は、ネットワークケーブル3によってルータ4に接続される。そして、通信端末装置2は、ルータ4から通信回線5を通じてインターネットを利用し、センタ装置6と通信を行う。端末機器1からの検針値等のデータは、通信端末装置2により、例えばTCP/IPプロトコルにしたがった所定のデータ形式に変換され、センタ装置6に送信される。また逆に、センタ装置6は、TCP/IPプロトコルにしたがって通信端末装置2と通信を行い、端末機器1からのデータを取得する。図中7はセンタ側のルータである。   For example, there is a data communication system that transmits information on security devices such as meter readings and intrusion sensors such as gas meters and water meters via the Internet. As shown in FIG. 5, a terminal device 1 such as a gas meter, a water meter, and a sensor is connected to a communication terminal device 2 having an IP address, and the communication terminal device 2 is connected to a router 4 by a network cable 3. Then, the communication terminal apparatus 2 communicates with the center apparatus 6 using the Internet from the router 4 through the communication line 5. Data such as a meter reading value from the terminal device 1 is converted into a predetermined data format according to, for example, the TCP / IP protocol by the communication terminal device 2 and transmitted to the center device 6. Conversely, the center device 6 communicates with the communication terminal device 2 according to the TCP / IP protocol and acquires data from the terminal device 1. In the figure, 7 is a router on the center side.

このような通信端末装置2は、一般に屋外や壁等に設置され、電源として電池が使用される。しかし、電池には寿命があるため、長期間安定して使用可能なように、商用電源が利用される。   Such a communication terminal device 2 is generally installed outdoors or on a wall, and a battery is used as a power source. However, since the battery has a lifetime, a commercial power source is used so that the battery can be used stably for a long period of time.

非特許文献1に記載されているように、LANケーブル等のネットワークケーブルを介してネットワーク給電するPoE(Power over Ethernet)技術が広まってきている。   As described in Non-Patent Document 1, PoE (Power over Ethernet) technology for supplying power to a network via a network cable such as a LAN cable has become widespread.

PoE技術を用いれば、通信端末装置2の設置場所に関係なく、通信端末装置2に対してルータ4からネットワークケーブル3を介してネットワーク給電することができる。   If PoE technology is used, network power can be supplied to the communication terminal device 2 from the router 4 via the network cable 3 regardless of the installation location of the communication terminal device 2.

ルータ4には、商用電源8から電力が供給される。しかし、停電のときには通信を行うことができない。そこで、ルータ4に無停電電源装置(UPS:Uninterruptible Power Supply)9を電源ケーブル10を介して接続すれば、停電が発生したときでも通信を行えるデータ通信システムとすることができる。   The router 4 is supplied with power from the commercial power supply 8. However, communication is not possible during a power outage. Therefore, if an uninterruptible power supply (UPS) 9 is connected to the router 4 via the power cable 10, a data communication system that can communicate even when a power failure occurs can be obtained.

しかし、UPS9は二次電池を利用した機器であるので、停電がUPS9の仕様を超えて長引けば、バックアップが不可能となり、通信端末装置2は通信を行えなくなる。   However, since the UPS 9 is a device that uses a secondary battery, if the power outage extends beyond the specifications of the UPS 9, backup becomes impossible and the communication terminal device 2 cannot communicate.

特許文献1には、UPSが停電発生を検知すると、通信端末装置に停電通知コマンドを送信し、通信端末装置は停電通知コマンドを受信すると、停電処理を実行することが提案されている。
日経NETWORK 2004年6月号 88頁〜92頁 特開平7−225721号公報
Patent Document 1 proposes that when the UPS detects the occurrence of a power failure, it transmits a power failure notification command to the communication terminal device, and when the communication terminal device receives the power failure notification command, it is proposed to execute a power failure process.
Nikkei NETWORK June 2004, pages 88-92 JP-A-7-225721

上記のようなUPSを使用し、PoE技術を利用したデータ通信システムとした場合、停電が発生しても、通信端末装置はルータを介してUPSによりバックアップされているので、通信端末装置は通常通り動作する。そのため、データ通信システムとしては、停電発生を検知することができない。同様に、停電が回復しても、このことを検知できない。   In the case of a data communication system using the PoE technology using the UPS as described above, even if a power failure occurs, the communication terminal device is backed up by the UPS via the router. Operate. Therefore, the occurrence of a power failure cannot be detected as a data communication system. Similarly, even if the power failure is recovered, this cannot be detected.

一方、センタ装置は、端末側での停電発生を知ることなく、動作を継続する。そのため、停電が長引いてUPSの電源供給が途切れた場合、突然通信が途絶し、エラーが発生してしまう。同様に、センタ装置は、端末側での停電が回復したことも分らず、回復後の再送等の動作を行えない。   On the other hand, the center device continues to operate without knowing that a power failure has occurred on the terminal side. For this reason, when the power failure is prolonged and the UPS power supply is interrupted, the communication is suddenly interrupted and an error occurs. Similarly, the center device does not know that the power failure on the terminal side has recovered, and cannot perform operations such as retransmission after recovery.

特許文献1における停電通知コマンドにより停電通知を行う方法では、通信障害などが発生すると、通信端末装置は、停電通知コマンドを受信できず、停電処理を行えない。停電回復コマンドにより停電回復通知するときも同様で、停電回復処理を行えない。そして、上記のコマンドを送受信するためのプロトコルを電源供給側および受電側の通信端末装置に新たに設定する必要がある。しかも、ネットワーク給電ではないので、電源ケーブルと通信ケーブルとがそれぞれ必要となり、配線が複雑になってしまう。   In the method of performing a power failure notification using the power failure notification command in Patent Document 1, when a communication failure occurs, the communication terminal device cannot receive the power failure notification command and cannot perform power failure processing. The same applies when a power failure recovery notification is issued by a power failure recovery command, and power failure recovery processing cannot be performed. Then, it is necessary to newly set a protocol for transmitting and receiving the above command in the communication terminal devices on the power supply side and the power reception side. In addition, since it is not a network power supply, a power cable and a communication cable are required, and the wiring becomes complicated.

本発明は、上記に鑑み、通信端末装置だけでなくセンタ装置においても停電およびその回復を認識できるデータ通信システムの提供を目的とする。   In view of the above, an object of the present invention is to provide a data communication system capable of recognizing a power failure and recovery not only in a communication terminal device but also in a center device.

本発明は、通信端末装置とセンタ装置とがネットワークを通じてデータの伝送を行うデータ通信システムであって、前記通信端末装置に電力を供給するとともに停電時のバックアップ電源を有する給電装置を備え、該給電装置は、停電時に通常時の規定電力とは異なる所定電力を前記通信端末装置に供給することにより、通信端末装置に停電の発生を通知するものである。そして、通信端末装置は、停電時に所定電力で動作可能であり、センタ装置に停電発生を通知する。   The present invention is a data communication system in which a communication terminal device and a center device transmit data through a network, and includes a power supply device that supplies power to the communication terminal device and has a backup power source during a power failure. The device notifies the communication terminal device of the occurrence of a power failure by supplying the communication terminal device with a predetermined power different from the normal power at the time of a power failure. The communication terminal device can operate at a predetermined power during a power failure, and notifies the center device that a power failure has occurred.

停電の有無に応じて給電装置は異なる電力を通信端末装置に供給するので、通信端末装置では、供給された電力によって、停電が発生したことや停電が回復したことを判断できる。したがって、給電装置は停電の発生や回復を通知しなくても、通信端末装置はこのことを認識できる。センタ装置も通信端末装置からの通知によって、停電の発生や回復を認識できる。   Since the power supply device supplies different power to the communication terminal device depending on the presence or absence of the power failure, the communication terminal device can determine that the power failure has occurred or that the power failure has been recovered by the supplied power. Therefore, the communication terminal apparatus can recognize this even if the power supply apparatus does not notify the occurrence or recovery of the power failure. The center device can also recognize the occurrence or recovery of a power failure by the notification from the communication terminal device.

ここで、給電装置は、ネットワークと通信端末装置との間に介在して通信端末装置とセンタ装置との通信を中継する、すなわち停電時のバックアップ電源を有し通信中継機能付きのネットワーク機器である。そして、給電装置は、バックアップ電源として無停電電源装置を備え、前記給電装置は、前記無停電電源装置からの停電検出信号に応じて規定電力から所定電力に切り替えて電力を供給する。停電検出信号がないときには、規定電力を供給する。   Here, the power supply device is a network device that is interposed between the network and the communication terminal device and relays communication between the communication terminal device and the center device, that is, has a backup power supply at the time of a power failure and has a communication relay function. . The power supply apparatus includes an uninterruptible power supply apparatus as a backup power supply, and the power supply apparatus supplies power by switching from specified power to predetermined power in accordance with a power failure detection signal from the uninterruptible power supply apparatus. When there is no power failure detection signal, the specified power is supplied.

通信端末装置は、前記給電装置にネットワークケーブルを介して接続され、給電装置からネットワークケーブルを通じて通常時には規定電力が供給され、停電時には前記規定電力とは異なる所定電力が供給される。そして、前記給電装置から供給された電力によって動作する制御部を備え、該制御部は、供給される電力によって停電の有無を判断し、センタ装置に停電の発生あるいは停電の回復を通知する。また、供給された電力を検出する検出器を備え、規定電力を検出したとき、電源は正常であると判断し、規定電力より小さい所定電力を検出したとき、停電と判断する。   The communication terminal device is connected to the power supply device via a network cable, and the specified power is supplied from the power supply device through the network cable at a normal time, and the predetermined power different from the specified power is supplied at the time of a power failure. A control unit that operates with the power supplied from the power supply device is provided. The control unit determines whether or not a power failure has occurred based on the supplied power, and notifies the center device of the occurrence of the power failure or the recovery from the power failure. A detector for detecting the supplied power is provided, and when the specified power is detected, it is determined that the power source is normal, and when a predetermined power smaller than the specified power is detected, a power failure is determined.

また、通信端末装置は、センタ装置と通信中に停電の発生あるいは回復を検知したとき、通信を終了してから前記センタ装置に通知する。これによって、通信が中断されることがなくなり、通信エラーとならない。すなわち、無停電電源装置のバッテリ容量が通信端末装置の消費電力に対して十分余裕がある場合や瞬停の場合に、不必要な通信エラーの発生を防げる。   In addition, when the communication terminal device detects the occurrence or recovery of a power failure during communication with the center device, the communication terminal device notifies the center device after terminating the communication. As a result, communication is not interrupted and no communication error occurs. In other words, unnecessary communication errors can be prevented when the battery capacity of the uninterruptible power supply has a sufficient margin for the power consumption of the communication terminal device or when there is a momentary power failure.

あるいは、通信端末装置は、センタ装置と通信中に停電の発生あるいは回復を検知したとき、通信を中止して前記センタ装置に通知する。すなわち、通信端末装置の消費電力が大きい場合、通信端末装置が複数あって、無停電電源装置の負荷が大きい場合、無停電電源装置の容量が小さい場合などに、バックアップ電源が長い時間耐えられないが、すぐにセンタ装置に通知することにより、通信できなくなって通知不能になることを防げる。   Alternatively, when the communication terminal device detects the occurrence or recovery of a power failure during communication with the center device, the communication terminal device stops communication and notifies the center device. That is, when the power consumption of the communication terminal device is large, there are multiple communication terminal devices, the load of the uninterruptible power supply is large, the capacity of the uninterruptible power supply is small, etc., the backup power supply cannot withstand a long time However, by notifying the center device immediately, it is possible to prevent communication from becoming impossible and impossible notification.

通信端末装置は、初期起動中に停電の発生あるいは回復を検知したとき、初期起動が完了してから前記センタ装置に通知する。初期起動が完了しないと、通信端末装置はセンタ装置に通信することができない。そのため、初期起動が完了してから通信すれば、確実に通知できる。   When the communication terminal apparatus detects the occurrence or recovery of a power failure during the initial activation, the communication terminal apparatus notifies the center apparatus after the initial activation is completed. If the initial activation is not completed, the communication terminal device cannot communicate with the center device. Therefore, if communication is performed after the initial activation is completed, the notification can be reliably made.

本発明によると、通信端末装置に停電時に通常時とは異なる電力を供給することにより、停電を通知する信号の代わりとすることができ、別途通信回路等を設ける必要がなくなる。しかも、通信端末装置は停電時でも安定して動作でき、停電を認識できる。センタ装置も通信端末装置からの通知によって、停電を認識でき、停電に対応することができる。   According to the present invention, by supplying power different from the normal time to a communication terminal device at the time of a power failure, it can be used instead of a signal for notifying a power failure, and there is no need to provide a separate communication circuit or the like. Moreover, the communication terminal device can operate stably even during a power failure and can recognize the power failure. The center device can also recognize the power failure by the notification from the communication terminal device, and can cope with the power failure.

本実施形態のデータ通信システムを図1に示す。データ通信システムでは、センタ装置6と端末側の通信端末装置2とが通信回線5を介して接続され、通信端末装置2に接続されたメータ、センサ等の端末機器1とセンタ装置6との間にネットワークが形成され、このネットワークを通じて双方向に通信して、自動検針やセキュリティ情報のデータ通信が行われる。   A data communication system of this embodiment is shown in FIG. In the data communication system, a center device 6 and a communication terminal device 2 on the terminal side are connected via a communication line 5, and a terminal device 1 such as a meter or a sensor connected to the communication terminal device 2 and the center device 6 are connected. A network is formed, and two-way communication is performed through this network, and automatic meter reading and data communication of security information are performed.

通信端末装置2は、LANケーブル等のネットワークケーブル3によりルータ4に接続される。ルータ4は、公衆電話回線、光ファイバ等の通信回線5に接続され、インターネット網に接続される。インターネット網には、センタ側のルータ7が接続され、ルータ7にセンタ装置6が接続される。これによって、センタ装置6と通信端末装置2とがルータ4、7を通じてインターネット網を利用してデータ通信を行う。通信端末装置2は、端末機器1からのデータをセンタ装置6に送信するとともに、センタ装置6からのデータを受信して、端末機器1と通信を行う。なお、ルータ4に接続される通信端末装置2は1つに限らず、複数であってもよい。   The communication terminal device 2 is connected to the router 4 by a network cable 3 such as a LAN cable. The router 4 is connected to a communication line 5 such as a public telephone line or an optical fiber, and is connected to the Internet network. A router 7 on the center side is connected to the Internet network, and a center device 6 is connected to the router 7. As a result, the center apparatus 6 and the communication terminal apparatus 2 perform data communication using the Internet network through the routers 4 and 7. The communication terminal device 2 transmits data from the terminal device 1 to the center device 6 and receives data from the center device 6 to communicate with the terminal device 1. Note that the number of communication terminal devices 2 connected to the router 4 is not limited to one and may be plural.

ルータ4には、無停電電源装置(UPS:Uninterruptible Power Supply)9が接続される。無停電電源装置9は、通常は商用交流電源8からの電力を電源ケーブル10を通じてルータ4に供給するとともに内蔵のバッテリを充電する。一方、商用交流電源8が停電したときは、バッテリから電力を供給するとともに、停電検出信号を通信ケーブル11を通じてルータ4に出力する。停電が発生していないときには、停電検出信号は出力されない。   An uninterruptible power supply (UPS) 9 is connected to the router 4. The uninterruptible power supply 9 normally supplies power from the commercial AC power supply 8 to the router 4 through the power cable 10 and charges a built-in battery. On the other hand, when the commercial AC power supply 8 fails, power is supplied from the battery and a power failure detection signal is output to the router 4 through the communication cable 11. When no power failure occurs, the power failure detection signal is not output.

ルータ4は、電力をネットワークケーブル3を介して通信端末装置2に供給する。すなわち、ルータ4が、通信端末装置2に電力を供給するとともに停電時のバックアップ電源を有する給電装置となる。   The router 4 supplies power to the communication terminal device 2 via the network cable 3. That is, the router 4 serves as a power supply device that supplies power to the communication terminal device 2 and has a backup power source during a power failure.

図2にルータ4および通信端末装置2の構成を示す。ルータ4では、電源回路12によって、無停電電源装置9からの電力をルータ4の動作に必要な電力に変換するとともに、DC電源13、14に必要な電圧に変換する。DC電源13、14は通信端末装置2に供給する電力を発生する。例えばDC電源13は、PoEの仕様にしたがって規定電圧の48Vを、DC電源14は、PoEの仕様外である所定電圧の35Vを出力する。DC電源13、14の出力はスイッチ15によって切り替えられ、給電回路17に供給される。スイッチ15は、CPU16によって停電の有無に応じて切り替え制御される。無停電電源装置9から停電検出信号がない場合、DC電源13の48Vを出力する。停電検出信号がある場合、DC電源14の35Vを出力する。給電回路17は、ネットワークケーブル3の空き線またはデータ線を使用して、規定電圧あるいは所定電圧を通信端末装置2に供給する。   FIG. 2 shows configurations of the router 4 and the communication terminal device 2. In the router 4, the power supply circuit 12 converts the power from the uninterruptible power supply 9 into power necessary for the operation of the router 4 and also converts it into voltages necessary for the DC power supplies 13 and 14. The DC power supplies 13 and 14 generate power to be supplied to the communication terminal device 2. For example, the DC power supply 13 outputs a specified voltage of 48 V in accordance with the PoE specification, and the DC power supply 14 outputs a predetermined voltage of 35 V that is outside the PoE specification. Outputs of the DC power sources 13 and 14 are switched by the switch 15 and supplied to the power feeding circuit 17. The switch 15 is switch-controlled by the CPU 16 according to the presence or absence of a power failure. When there is no power failure detection signal from the uninterruptible power supply 9, 48V of the DC power source 13 is output. When there is a power failure detection signal, 35V of the DC power supply 14 is output. The power feeding circuit 17 supplies a specified voltage or a predetermined voltage to the communication terminal device 2 using an empty line or a data line of the network cable 3.

ネットワークケーブル3には、パルストランス部18、イーサネット(登録商標)トランシーバ19が接続される。図示していないコントローラにより、イーサネットトランシーバ19は、ネットワークケーブル3に対するデータ送受信を行う。   A pulse transformer unit 18 and an Ethernet (registered trademark) transceiver 19 are connected to the network cable 3. The Ethernet transceiver 19 transmits / receives data to / from the network cable 3 by a controller (not shown).

通信端末装置2において、20はパルストランス部、21はイーサネットトランシーバであり、ネットワークケーブル3を通じてのデータ送受信を行う。22はネットワークとの通信を制御するためのネットワークコントローラ、23は通信端末装置全体を制御する制御部であるCPU、24は端末機器2であるメータと通信を行うためのメータインタフェイスである。ネットワークコントローラ22は、メータから送信されたデータをTCP/IPプロトコルにしたがって変換を行い、センタ装置6からネットワークを通じてのメータの検針、制御を可能にする。25は受電回路であり、ネットワークケーブル3の空き線またはデータ線から供給される電力を受電する。26は電源回路であり、受電回路25によって受電された電力を通信端末装置2に必要な電圧に変換し、装置内の各部材に供給する。通信端末装置2は、通常3.3Vの低電圧で動作している。そのため、停電時に供給される35Vでも充分動作可能である。   In the communication terminal device 2, 20 is a pulse transformer unit, and 21 is an Ethernet transceiver that performs data transmission / reception through the network cable 3. 22 is a network controller for controlling communication with the network, 23 is a CPU which is a control unit for controlling the entire communication terminal device, and 24 is a meter interface for communicating with a meter which is the terminal device 2. The network controller 22 converts the data transmitted from the meter in accordance with the TCP / IP protocol, and enables meter reading and control from the center device 6 through the network. A power receiving circuit 25 receives power supplied from an empty line or a data line of the network cable 3. A power supply circuit 26 converts the power received by the power receiving circuit 25 into a voltage necessary for the communication terminal device 2 and supplies the voltage to each member in the device. The communication terminal device 2 normally operates at a low voltage of 3.3V. Therefore, it can operate sufficiently even with 35V supplied during a power failure.

27は電圧検出部であり、受電回路25に供給された電圧を検出する。検出した電圧が所定電圧、ここでは35Vであるとき、電圧検出部27はCPU23に停電検出信号を出力する。規定電圧であるとき、CPU23に信号を出力しない。CPU23は、停電検出信号の入力により停電と判断して、ネットワークコントローラ22を介して停電検出電文をセンタ装置6に送出する。また、停電検出信号がなくなったとき、停電回復電文をセンタ装置6に送出する。   Reference numeral 27 denotes a voltage detector that detects the voltage supplied to the power receiving circuit 25. When the detected voltage is a predetermined voltage, 35V here, the voltage detection unit 27 outputs a power failure detection signal to the CPU 23. When the voltage is the specified voltage, no signal is output to the CPU 23. The CPU 23 determines that a power failure has occurred based on the input of the power failure detection signal, and sends a power failure detection message to the center device 6 via the network controller 22. When the power failure detection signal is lost, a power failure recovery message is sent to the center device 6.

以上のような構成によって、無停電電源装置9のようなバックアップ電源を有するルータ4から電力供給を受ける通信端末装置2においても、停電の発生および回復を検知することができる。そして、その検知結果はセンタ装置6に通知される。また、通信端末装置2は停電および回復の検知をネットワークケーブル3を利用して行えるため、信号伝達専用の配線は不要となる。   With the configuration as described above, it is possible to detect the occurrence and recovery of a power failure in the communication terminal device 2 that receives power supply from the router 4 having a backup power source such as the uninterruptible power supply 9. Then, the detection result is notified to the center device 6. Further, since the communication terminal device 2 can detect a power failure and recovery using the network cable 3, no dedicated wiring for signal transmission is required.

通信端末装置2における停電検知処理の具体的な動作を図3に基づいて説明する。まず、停電が発生すると、ルータ4は、供給する電圧を規定電圧から所定電圧に切り替える。この電圧の切り替えを電圧検出部27が検出して、停電検出信号を出力する。CPU23は、停電検出信号が入力されると、停電の発生と判断する(ST1)。ST2において、停電検知電文が送信されたかどうかを確認する。停電検知電文が送信されているとき、以下の処理をスキップし、この停電検知処理を抜ける。停電検知電文が送信されていないとき、次の処理を実行する。   A specific operation of the power failure detection process in the communication terminal device 2 will be described with reference to FIG. First, when a power failure occurs, the router 4 switches the supplied voltage from a specified voltage to a predetermined voltage. The voltage detector 27 detects this voltage switching and outputs a power failure detection signal. When the power failure detection signal is input, the CPU 23 determines that a power failure has occurred (ST1). In ST2, it is confirmed whether or not a power failure detection message has been transmitted. When a power failure detection message is transmitted, the following processing is skipped and the power failure detection processing is exited. When the power failure detection message is not transmitted, the following processing is executed.

CPU23は、初期設定通信中であるか判断する。初期設定通信中であるとき、まだセンタ装置6と通信できない状態であるので、初期設定通信が終了するまで待つためにこの処理を抜ける(ST3)。初期設定とは、センタ装置6と通信を行うためのIPアドレス等の設定のことであり、通信端末装置2からセンタ装置6にアクセスして、センタ装置6から設定情報を得る。初期設定が済んでいなければ、センタ装置6と通信を行えない。初期設定通信中でないとき、センタ装置6と他の通信を行っているか判断する(ST4)。通信中でないとき、直ちにセンタ装置6に停電検知電文を送信する(ST7)。これによって、センタ装置6は、端末側で停電が発生していうことを認識し、これに対応した処理を行う。   The CPU 23 determines whether initialization communication is being performed. Since the communication with the center device 6 is still impossible when the initial setting communication is being performed, this process is exited to wait until the initial setting communication is completed (ST3). The initial setting is a setting of an IP address or the like for communicating with the center apparatus 6. The communication terminal apparatus 2 accesses the center apparatus 6 and obtains setting information from the center apparatus 6. If the initial setting is not completed, communication with the center device 6 cannot be performed. When the initial setting communication is not being performed, it is determined whether another communication with the center apparatus 6 is being performed (ST4). When not communicating, a power failure detection message is immediately transmitted to the center device 6 (ST7). Thereby, the center device 6 recognizes that a power failure has occurred on the terminal side, and performs processing corresponding to this.

通信中であるとき、CPU23は、この通信を中断して停電検知電文を送信するのか判断する(ST5)。切断する場合、すぐにセンタ装置6との通信を切断し(ST6)、センタ装置6に停電検知電文を送信する(ST7)。通信中に切断を行うか否かは、設定情報としてセンタ装置6などから予め設定され、例えば不揮発性メモリ等に記憶しておく。通信中に切断を行わないとき(ST5)、一旦この停電検知処理を抜け、通常処理に戻る(ST9)。通常処理を実行後、再びこの停電検知処理に入り、通信が終了したことを検知してから(ST4)、停電検知電文をセンタ装置6に送信する(ST7)。停電検知電文を送信すると、ST8において停電検知電文の送信済みをフラグ等により設定して、停電検知電文が何回も送信されないようにする。なお、停電中、停電検知電文を再送するような構成にしてもよい。   When the communication is in progress, the CPU 23 determines whether to interrupt the communication and transmit a power failure detection message (ST5). When disconnecting, the communication with the center apparatus 6 is immediately disconnected (ST6), and a power failure detection message is transmitted to the center apparatus 6 (ST7). Whether or not to disconnect during communication is preset as setting information from the center device 6 or the like, and is stored in, for example, a non-volatile memory. When disconnection is not performed during communication (ST5), the power failure detection process is temporarily exited and the process returns to the normal process (ST9). After executing the normal process, this power failure detection process is entered again, and after detecting that the communication has been completed (ST4), a power failure detection message is transmitted to the center device 6 (ST7). When a power failure detection message is transmitted, transmission of the power failure detection message is set by a flag or the like in ST8 so that the power failure detection message is not transmitted many times. In addition, you may make it the structure which resends a power failure detection message | telegram during a power failure.

次に、停電から回復したときには、ルータ4は、規定電圧を供給し、電圧検出部27がこの変化を検出する。図4に示すように、CPU23は、電圧検出部27からの停電検出信号がオフになると、停電の回復と判断する(ST10)。ST11において、復電検知電文が送信されたかどうかを確認する。復電検知電文が送信されているとき、以下の処理をスキップし、この復電検知処理を抜ける。復電検知電文が送信されていないとき、次の処理を実行する。   Next, when recovering from the power failure, the router 4 supplies a specified voltage, and the voltage detector 27 detects this change. As shown in FIG. 4, when the power failure detection signal from the voltage detector 27 is turned off, the CPU 23 determines that the power failure has been recovered (ST10). In ST11, it is confirmed whether or not a power recovery detection message has been transmitted. When the power recovery detection message is transmitted, the following processing is skipped and the power recovery detection processing is exited. When the power recovery detection message is not transmitted, the following processing is executed.

CPU23は、通信中であるか判断する(ST12)。通信中であるとき、一旦この復電検知処理を抜け、通常処理に戻る(ST16)。通常処理を実行後、再びこの復電検知処理に入り、通信が終了してから、復電検知電文をセンタ装置6に送信する(ST13)。復電検知電文を送信すると、ST14において、復電検知電文の送信済みを設定する。そして、停電検知電文を送信未に設定し(ST15)、次に停電が発生したときにセンタ装置6に電文を送信できるようにする。   The CPU 23 determines whether communication is in progress (ST12). When the communication is in progress, the power recovery detection process is temporarily exited and the process returns to the normal process (ST16). After executing the normal process, this power recovery detection process is entered again, and after the communication is completed, a power recovery detection message is transmitted to the center device 6 (ST13). When the power recovery detection message is transmitted, in ST14, the transmission completion of the power recovery detection message is set. Then, the power failure detection message is set to not transmitted (ST15), and the message can be transmitted to the center device 6 when the next power failure occurs.

以上のように、通信端末装置2だけでなくセンタ装置6においても、停電の発生およびその回復を認識することができる。したがって、停電中のデータ通信を避け、停電の回復後にデータ通信するといったような対応をすることにより、不安定な通信環境での動作を回避でき、効率よく通信できる。また、停電中にデータ通信を行っているときに、停電が長引いて無停電電源装置9からの電力供給がなくなり、通信が途切れても、通信エラーの原因が停電によるものであることをわかり、再送信等の不要な動作を行わずにすむ。   As described above, not only the communication terminal apparatus 2 but also the center apparatus 6 can recognize the occurrence of a power failure and its recovery. Therefore, by avoiding data communication during a power outage and performing data communication after recovery from the power outage, operation in an unstable communication environment can be avoided and communication can be performed efficiently. Also, when performing data communication during a power outage, the power supply from the uninterruptible power supply 9 is prolonged due to prolonged power outage, and even if communication is interrupted, it can be seen that the cause of the communication error is due to the power outage, There is no need to perform unnecessary operations such as retransmission.

なお、本発明は、上記実施形態に限定されるものではなく、本発明の範囲内で上記実施形態に多くの修正および変更を加え得ることは勿論である。給電装置として、ルータを使用したが、LANスイッチ、ハブ、モデム等のネットワークを形成するためのネットワーク機器を使用してもよく、PoE技術にしたがってネットワーク給電を行う。   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. Although a router is used as the power supply apparatus, network devices such as a LAN switch, a hub, and a modem for forming a network may be used, and network power supply is performed according to the PoE technology.

上記実施形態では、無停電電源装置を有するルータを給電装置としたが、これの代わりに無停電電源装置を給電装置として、ネットワークケーブルを介さずに直接通信端末装置に接続してもよい。また、給電機能のないルータ等のネットワーク機器と通信端末装置とがネットワークケーブルを介して接続され、すでにネットワークが形成されている場合、このネットワークケーブル中にバックアップ電源を有する給電装置を介装してもよい。これによって、既存のデータ通信システムにおいて、容易に停電対応にシステムアップすることができる。   In the above embodiment, the router having the uninterruptible power supply device is the power supply device. However, instead of this, the uninterruptible power supply device may be directly connected to the communication terminal device without using the network cable. In addition, when a network device such as a router without a power supply function and a communication terminal device are connected via a network cable and a network is already formed, a power supply device having a backup power source is installed in the network cable. Also good. As a result, the existing data communication system can be easily upgraded to cope with a power failure.

本発明のデータ通信システムの概略構成図Schematic configuration diagram of a data communication system of the present invention 通信端末装置およびルータの概略構成を示すブロック図Block diagram showing schematic configuration of communication terminal device and router 停電検知処理のフローチャートFlow chart of power failure detection process 停電回復処理のフローチャートFlow chart of power failure recovery processing 従来のデータ通信システムの概略構成図Schematic configuration diagram of a conventional data communication system

符号の説明Explanation of symbols

2 通信端末装置
3 ネットワークケーブル
4 ルータ
5 通信回線
6 センタ装置
8 商用電源
9 無停電電源装置
10 電源ケーブル
11 通信ケーブル
2 Communication terminal device 3 Network cable 4 Router 5 Communication line 6 Center device 8 Commercial power supply 9 Uninterruptible power supply device 10 Power cable 11 Communication cable

Claims (11)

通信端末装置とセンタ装置とがネットワークを通じてデータの伝送を行うデータ通信システムであって、前記通信端末装置に電力を供給するとともに停電時のバックアップ電源を有する給電装置を備え、該給電装置は、停電時に通常時の規定電力とは異なる所定電力を前記通信端末装置に供給することにより、通信端末装置に停電の発生を通知することを特徴とするデータ通信システム。 A data communication system in which a communication terminal device and a center device transmit data through a network, the power supply device supplying power to the communication terminal device and having a backup power source at the time of a power failure. A data communication system characterized in that the communication terminal apparatus is notified of the occurrence of a power failure by supplying predetermined power different from normal power at times to the communication terminal apparatus. 通信端末装置は、停電時に所定電力で動作して、センタ装置に停電発生を通知することを特徴とする請求項1記載のデータ通信システム。 The data communication system according to claim 1, wherein the communication terminal device operates with a predetermined power during a power failure and notifies the center device of the occurrence of the power failure. 給電装置は、ネットワークと通信端末装置との間に介在して通信端末装置とセンタ装置との通信を中継し、前記通信端末装置は、前記給電装置にネットワークケーブルを介して接続され、前記給電装置から通信端末装置に前記ネットワークケーブルを通じて電力が供給されることを特徴とする請求項1または2記載のデータ通信システム。 The power supply device is interposed between the network and the communication terminal device to relay communication between the communication terminal device and the center device, and the communication terminal device is connected to the power supply device via a network cable, and the power supply device The data communication system according to claim 1, wherein power is supplied to the communication terminal device through the network cable. 給電装置は、バックアップ電源として無停電電源装置を備え、前記給電装置は、前記無停電電源装置からの停電検出信号に応じて規定電力から所定電力に切り替えて電力を供給することを特徴とする請求項3記載のデータ通信システム。 The power supply device includes an uninterruptible power supply device as a backup power supply, and the power supply device supplies electric power by switching from specified power to predetermined power according to a power failure detection signal from the uninterruptible power supply device. Item 4. The data communication system according to item 3. 通信端末装置は、供給された電力を検出する検出器を備え、供給される電力によって停電の有無を判断することを特徴とする請求項1〜4のいずれかに記載のデータ通信システム。 The data communication system according to any one of claims 1 to 4, wherein the communication terminal device includes a detector that detects the supplied power, and determines the presence or absence of a power failure based on the supplied power. 給電装置は、停電の回復時に規定電力を通信端末装置に供給し、通信端末装置は、停電の回復と判断したとき、センタ装置に停電回復を通知することを特徴とする請求項5記載のデータ通信システム。 6. The data according to claim 5, wherein the power supply device supplies the specified power to the communication terminal device when the power failure is recovered, and the communication terminal device notifies the center device of the power failure recovery when it is determined that the power failure is recovered. Communications system. 通信端末装置は、センタ装置と通信中に停電の発生あるいは回復を検知したとき、通信を終了してから前記センタ装置に通知することを特徴とする請求項1〜6のいずれかに記載のデータ通信システム。 The data according to any one of claims 1 to 6, wherein when the communication terminal device detects occurrence or recovery of a power failure during communication with the center device, the communication terminal device notifies the center device after ending the communication. Communications system. 通信端末装置は、センタ装置と通信中に停電の発生あるいは回復を検知したとき、通信を中止して前記センタ装置に通知することを特徴とする請求項1〜6のいずれかに記載のデータ通信システム。 7. The data communication according to claim 1, wherein the communication terminal device stops communication and notifies the center device when it detects occurrence or recovery of a power failure during communication with the center device. system. 通信端末装置は、初期起動中に停電の発生あるいは回復を検知したとき、初期起動が完了してから前記センタ装置に通知することを特徴とする請求項7または8記載のデータ通信システム。 9. The data communication system according to claim 7, wherein the communication terminal device notifies the center device after completion of the initial startup when detecting the occurrence or recovery of a power failure during the initial startup. センタ装置とネットワークを通じてデータの伝送を行うデータ通信システムの通信端末装置であって、停電時のバックアップ電源を有し通信中継機能付きの給電装置にネットワークケーブルを介して接続され、前記給電装置からネットワークケーブルを通じて通常時には規定電力が供給され、停電時には前記規定電力とは異なる所定電力が供給され、前記給電装置から供給された電力によって動作する制御部を備え、該制御部は、供給される電力によって停電の有無を判断することを特徴とする通信端末装置。 A communication terminal device of a data communication system for transmitting data through a network with a center device, which is connected to a power supply device having a backup power supply in the event of a power failure and having a communication relay function via a network cable, from the power supply device to the network A specified power is normally supplied through the cable, and a predetermined power different from the specified power is supplied in the event of a power failure, and includes a control unit that operates with the power supplied from the power supply device. A communication terminal device that determines whether or not a power failure has occurred. 制御部は、センタ装置に停電の発生あるいは停電の回復を通知することを特徴とする請求項10記載の通信端末装置。 The communication terminal device according to claim 10, wherein the control unit notifies the center device of the occurrence of a power failure or the recovery of the power failure.
JP2005196746A 2005-07-05 2005-07-05 Data communication system and communication terminal apparatus Pending JP2007020255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005196746A JP2007020255A (en) 2005-07-05 2005-07-05 Data communication system and communication terminal apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005196746A JP2007020255A (en) 2005-07-05 2005-07-05 Data communication system and communication terminal apparatus

Publications (1)

Publication Number Publication Date
JP2007020255A true JP2007020255A (en) 2007-01-25

Family

ID=37756894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005196746A Pending JP2007020255A (en) 2005-07-05 2005-07-05 Data communication system and communication terminal apparatus

Country Status (1)

Country Link
JP (1) JP2007020255A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008253480A (en) * 2007-04-04 2008-10-23 Tanita Corp Relay installation, relay method, health management system and data management system
JP2010079450A (en) * 2008-09-24 2010-04-08 Toyo Electric Corp Space optical transmission device
JP2013158158A (en) * 2012-01-31 2013-08-15 Saxa Inc Power information notification device and system
JP2014123790A (en) * 2012-12-20 2014-07-03 Sharp Corp Radio telemeter system
JP2017224332A (en) * 2017-08-09 2017-12-21 能美防災株式会社 Automatic abnormality alarm equipment
WO2023119432A1 (en) * 2021-12-21 2023-06-29 日本電信電話株式会社 Power outage checking device, power supply depletion checking device, power outage checking method, power supply depletion checking method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008253480A (en) * 2007-04-04 2008-10-23 Tanita Corp Relay installation, relay method, health management system and data management system
JP2010079450A (en) * 2008-09-24 2010-04-08 Toyo Electric Corp Space optical transmission device
JP2013158158A (en) * 2012-01-31 2013-08-15 Saxa Inc Power information notification device and system
JP2014123790A (en) * 2012-12-20 2014-07-03 Sharp Corp Radio telemeter system
JP2017224332A (en) * 2017-08-09 2017-12-21 能美防災株式会社 Automatic abnormality alarm equipment
WO2023119432A1 (en) * 2021-12-21 2023-06-29 日本電信電話株式会社 Power outage checking device, power supply depletion checking device, power outage checking method, power supply depletion checking method, and program

Similar Documents

Publication Publication Date Title
US7653772B2 (en) Control system, electronic device and image forming apparatus
JP2007020255A (en) Data communication system and communication terminal apparatus
US20090075594A1 (en) Communication apparatus, communication method, and computer program for controlling communication apparatus
US7334139B2 (en) Power supply control apparatus, power supply control system, and administration apparatus
US20190265981A1 (en) Function enhancement apparatus, control method, and program product
JP4728159B2 (en) Distributed power supply device and failure recovery method for distributed power supply
US20160337535A1 (en) Image forming apparatus, server board, and method for controlling the image forming apparatus
US8804750B2 (en) Field device
US9628653B2 (en) Image forming apparatus provided with a facsimile portion
JP2003228444A (en) Power supply circuit and communication system
JP2008167119A (en) Network equipment, and control device and method for network equipment
JP6692257B2 (en) Wireless communication system
JP3918833B2 (en) Remote monitoring system
JP2014104654A (en) Image forming apparatus and control method of the same
JP2010206675A (en) Network device equipped with power supply starting control function
JP5577016B2 (en) Remote power control device
JP6762032B2 (en) Power receiving device and control method
WO2011026270A1 (en) Power-down protection method and system, power controller for the communication device
JP2015192358A (en) Communication system having outage time power supply control function
JP2017149119A (en) Information processing apparatus and method for controlling information processing apparatus
JP5873966B2 (en) Air conditioner
JP5963604B2 (en) Terminal network controller
JP2010211368A (en) Alarm
JP2008252191A (en) Adapter device
JP2005057500A (en) Power supply and communication system