JP3849658B2 - Gateway device - Google Patents
Gateway device Download PDFInfo
- Publication number
- JP3849658B2 JP3849658B2 JP2003064870A JP2003064870A JP3849658B2 JP 3849658 B2 JP3849658 B2 JP 3849658B2 JP 2003064870 A JP2003064870 A JP 2003064870A JP 2003064870 A JP2003064870 A JP 2003064870A JP 3849658 B2 JP3849658 B2 JP 3849658B2
- Authority
- JP
- Japan
- Prior art keywords
- building
- network
- remote server
- outside
- gateway 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
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、建物外のリモートサーバと建物内機器を接続し建物内機器のリモート制御サービスを提供するホームネットワーク装置に関する。
【0002】
【従来の技術】
図4に従来のゲートウェイ装置の概略構成図を示す。ゲートウェイ装置101は建物外ネットワーク103を介してリモートサーバ102と接続され、さらに建物内ネットワーク104を介して建物内機器150、151と接続されている。演算処理部310は建物外通信インタフェース117を通じて建物外ネットワーク通信を制御し、リモートサーバ102との通信を実現し、同様に建物内通信インタフェース114を通じて建物内機器150、151との通信を実現している。
【0003】
【特許文献1】
特開2002−77274号公報
【0004】
【発明が解決しようとする課題】
このような従来のゲートウェイ装置では、例えばゲートウェイ装置が同一地域に設置されており、停電が発生した場合で、停電が復旧した場合に複数のゲートウェイ装置が一斉に起動して、一斉に時刻同期要求メッセージをリモートサーバに送信することにより、リモートサーバの処理負荷が増大する。
【0005】
本発明は、上記のような課題を解決するためになされたものであり、リモートサーバへの同時アクセス負荷を軽減するゲートウェイ装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記の課題を解決するため、本発明の第1のゲートウェイ装置は、リモートサーバに接続する建物外ネットワークと、各建物に設置された建物内機器に接続する建物内ネットワークとに接続されるものであって、建物外ネットワークを制御する建物外ネットワーク制御部と、建物内ネットワークを制御する建物内ネットワーク通信制御部と、演算処理部と、記憶部とを備え、演算処理部は、ゲートウェイ装置の起動時から記憶手段に記憶された情報に応じて決定された遅延時間後に、建物外ネットワーク制御部が建物外ネットワークを介してリモートサーバに接続を開始する。
【0007】
本発明第2のゲートウェイ装置は、リモートサーバに接続する建物外ネットワークと、各建物に設置された建物内機器に接続する建物内ネットワークとに接続されるゲートウェイ装置において、建物外ネットワークを制御する建物外ネットワーク制御部と、建物内ネットワークを制御する建物内ネットワーク通信制御部と、演算処理部と、記憶手段とを備
え、演算処理部は、ゲートウェイ装置の起動時から記憶手段に記憶された情報に応じて決定された遅延時間後に、建物外ネットワーク制御部が建物外ネットワークを介してリモートサーバに接続を開始するとともに、リモートサーバに接続して、時刻同期要求のメッセージを送信する。
【0008】
本発明第3のゲートウェイ装置は、リモートサーバに接続する建物外ネットワークと、各建物に設置された建物内機器に接続する建物内ネットワークと接続されるゲートウェイ装置において、建物外ネットワークを制御する建物外ネットワーク制御部と、建物内ネットワークを制御する建物内ネットワーク通信制御部と、演算処理部と、記憶手段とを備え、演算処理部は、ゲートウェイ装置の起動時から記憶手段に記憶された情報に応じて決定された遅延時間後に、建物外ネットワーク制御部が建物外ネットワークを介してリモートサーバに接続を開始するとともに、リモートサーバに時刻同期要求のメッセージを送信し、このリモートサーバの持つ現在時刻情報を含んだ時刻同期応答のメッセージを受信する。
【0009】
本発明第4のゲートウェイ装置は、第1の発明に加え、リモートサーバから受信するリモートサーバの現在時刻情報を含んだ時刻同期応答を受信した場合に、演算処理部はリモートサーバの現在時刻情報をタイマー部に設定する。
【0010】
本発明第5のゲートウェイ装置は、リモートサーバに接続する建物外ネットワークと、各建物に設置された建物内機器に接続する建物内ネットワークとに接続されるゲートウェイ装置において、建物外ネットワークを制御する建物外ネットワーク制御部と、建物内ネットワークを制御する建物内ネットワーク通信制御部と、演算処理部と、記憶手段とを備え、演算処理部は、ゲートウェイ装置の起動時に、記憶手段に記憶された情報に応じて建物外ネットワーク制御部が建物外ネットワークを介して接続対象となるリモートサーバを切り替える。
【0011】
また、記憶手段には、ゲートウェイ装置固有のシリアル番号情報を保存し、演算処理部は前記シリアル番号情報を読み込み、リモートサーバに接続する遅延時間を決定する判断手段を前記演算処理部に設ける。
【0012】
【発明の実施の形態】
以下、図面を参照しながら発明の実施の形態を説明する。
【0013】
図1に本発明のゲートウェイ装置を含むシステムの全体構成図を示す。ゲートウェイ装置1は、建物外通信インタフェース17と演算処理部10と建物内通信インタフェース14と記憶手段15とタイマー16から構成される。ゲートウェイ装置1は、建物外ネットワーク3を介して、建物外ネットワーク3に接続されたリモートサーバ2と通信を行い、さらに建物内ネットワーク4を介して、建物内ネットワーク4に接続された建物内機器50、51と通信を行う。
【0014】
演算処理部10は、建物外通信インタフェース17を介して建物外ネットワーク3の通信制御を行う建物外通信制御部11と、建物内通信インタフェース14を介して建物内ネットワーク4の通信制御を行う建物外通信制御部13と、建物外ネットワーク3と建物内ネットワーク4の通信データのプロトコル変換を行うプロトコル変換部12から構成されている。
【0015】
上記構成で、リモートサーバ2において、建物内機器50の制御要求、を行うと、この制御要求メッセージM10は建物外ネットワーク3を介してゲートウェイ装置1に送信され、この制御要求のメッセージは、ゲートウェイ装置1内部の建物内通信インタフェース
17を介して演算処理部10の建物外通信制御部11からプロトコル変換部13にて建物外通信用プロトコルから建物内通信用プロトコルの制御要求メッセージm10へプロトコル変換が行われる。建物内制御用プロトコルに変換された制御要求メッセージm10は、建物内通信制御部13から建物内通信インタフェース14を介して建物内ネットワーク4に送信され、建物内機器50の制御を行うことができる。
【0016】
例えば、建物が通常の住宅で建物内機器50が宅内にあるエアコンであった場合、リモートサーバ2は、ゲートウェイ装置1を介してエアコンに対し、電源のON/OFFの命令や設定温度の変更等の指令を制御要求として発信し、ゲートウェイ装置1の中ではプロトコルの変更が行なわれる
上記制御要求メッセージM10には、リモートサーバ2の現在時刻情報が含まれており、プロトコル変換部13は制御要求メッセージM10からリモートサーバ2の現在時刻情報を読み取り、演算処理部10はこの時刻情報をタイマー16に設定することにより、ゲートウェイ装置1の現在時刻を補正することができる。
【0017】
また、ゲートウェイ装置1の演算は電源を入れて起動する際に、演算処理部10は建物外ネットワーク3を介して、時刻同期要求メッセージM20をリモートサーバ2に送信する。これに対して、リモートサーバ2は、リモートサーバ2の現在時刻情報を含んだ時刻同期応答メッセージM21を建物外ネットワーク3を介して演算処理部10に返信する。プロトコル変換部12は時刻同期応答メッセージM21からリモートサーバ2の現在時刻情報を読み取り、演算処理部10はこの時刻情報をタイマー16に設定することにより、ゲートウェイ装置1の現在時刻を補正することができる。
【0018】
さらに、不揮発性メモリからなる記憶手段15には、ゲートウェイ装置に固有のシリアル番号情報が保存されており、演算処理部10は次に示す手順で前記時刻同期要求メッセージM20をリモートサーバ2に送信するまでの遅延時間を決定する。
【0019】
たとえば、シリアル番号を十進数変換した一の位数値をN1とし、N1に定数Sを乗じた値を遅延時間Tとして定義すると、ゲートウェイ装置は起動時にT秒の遅延を行った後にリモートサーバ2に時刻同期要求メッセージM20をリモートサーバに送信する。
【0020】
これにより、ゲートウェイ装置が同一地域に設置されており、停電が発生した場合であっても、停電が復旧した場合に複数のゲートウェイ装置が一斉に起動して、一斉に時刻同期要求メッセージM20をリモートサーバ2に送信することにより、リモートサーバ2の処理負荷が増大することを抑止する効果を発揮する。すなわち、ゲートウェイ装置のシリアル番号に基づいてT秒ごとの遅延があるために、リモートサーバ2へのゲートウェイからの同時アクセス負荷を十分の一に軽減することができる。
【0021】
上記はあくまで遅延時間Tを決定する規則の一例であるが、この遅延時間Tを別の規則に従って決定すれば、リモートサーバ2に対する負荷分散レベルを変更することができる。
【0022】
また、記憶手段15には上記シリアル番号情報に加えて、リモートサーバ2のIPアドレスや、リモートサーバ2にアクセスするための認証情報からなるリモートサーバ接続情報が記録されており、演算処理部10は記憶手段15からこれらの情報を読み込んで、接続対象のリモートサーバを切り替えることができる構成になっている。ゲートウェイ装置ごとに、記憶手段15に保存する接続情報を選択的に保存することにより、リモートサーバへのアクセス負荷を軽減することができる。さらに、このリモートサーバ接続情報は、リモートサーバ2から建物外ネットワーク3を経由して演算処理部10に送信され、プロトコル変換部12にてプロトコル変換され、記憶手段15に保存できる構成になっている
ので、リモートサーバ2に接続されているゲートウェイ装置の数が増加して、リモートサーバ2の処理負荷が増大した場合には、リモートサーバ2から上記のように任意のゲートウェイ装置に対して、リモートサーバ接続情報を更新することにより、結果的にリモートサーバ2の処理負荷の軽減を実現することができる。
【0023】
また、リモートサーバ2から、ゲートウェイ装置1の動作状態を有効または無効に設定する設定要求メッセージM30を送信し、ゲートウェイ装置1の演算処理部10は、この設定要求メッセージM30受信した場合に、記憶手段15に動作状態情報を記憶手段に保存する。演算処理部10には、記憶手段15に保存された動作状態情報を読み取って、ゲートウェイ装置が動作有効か動作無効かを判定する判定手段を設けている。この判定手段が記憶手段に保存された動作状態情報が動作有効であると判断した場合には、ゲートウェイの機能を有効に設定し、判定手段が記憶手段に保存された動作状態情報が動作無効であると判断した場合には、ゲートウェイの機能を無効に設定する。リモートサーバに対してゲートウェイ装置の状態を有効または無効に設定できる。
【0024】
【発明の効果】
以上説明したように本発明では、ゲートウェイからリモートサーバへの同時アクセス負荷を軽減することができる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態に係るゲートウェイ装置の概略構成図
【図2】 本発明の一実施の形態に係るゲートウェイ装置の制御要求処理のシーケンスを示す図
【図3】 本発明の一実施の形態に係るゲートウェイ装置の時刻同期処理のシーケンスを示す図
【図4】 従来のゲートウェイ装置の概略構成図
【符号の説明】
1,101 ゲートウェイ装置
2,102 リモートサーバ
3,303 建物外ネットワーク
4,104 建物内ネットワーク
10、110 演算処理部
11、111 建物外通信制御部
12、112 プロトコル変換部
13 建物内通信制御部
14、114 建物内通信インタフェース
15 記憶手段
16 タイマー部
17、117 建物外通信インタフェース[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a home network device that connects a remote server outside a building and equipment in the building to provide a remote control service for the equipment in the building.
[0002]
[Prior art]
FIG. 4 shows a schematic configuration diagram of a conventional gateway device. The gateway device 101 is connected to the
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 2002-77274
[Problems to be solved by the invention]
In such a conventional gateway device, for example, when the gateway device is installed in the same area, and a power failure occurs, when the power failure is restored, a plurality of gateway devices are activated all at once, and a time synchronization request is performed all at once. Sending a message to the remote server increases the processing load on the remote server.
[0005]
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a gateway device that reduces the simultaneous access load to a remote server .
[0006]
[Means for Solving the Problems]
In order to solve the above problems, a first gateway device of the present invention is connected to an external network connected to a remote server and an internal network connected to an in-building device installed in each building. A network control unit outside the building that controls the network outside the building, a network communication control unit inside the building that controls the network inside the building, an arithmetic processing unit, and a storage unit, and the arithmetic processing unit activates the gateway device After a delay time determined according to the information stored in the storage means from time, the network controller outside the building starts connection to the remote server via the network outside the building.
[0007]
The second gateway device of the present invention is a building that controls an external network in a gateway device connected to an external network connected to a remote server and an internal network connected to an in-building device installed in each building. An external network control unit, an intra-building network communication control unit that controls the intra-building network, an arithmetic processing unit, and storage means
The arithmetic processing unit starts the connection to the remote server via the network outside the building after the delay time determined according to the information stored in the storage means from the time when the gateway device is started. Connect to the remote server and send a time synchronization request message .
[0008]
The third gateway device of the present invention is a gateway device connected to a network outside a building connected to a remote server and a network inside the building connected to a device inside the building installed in each building. A network control unit, an in-building network communication control unit for controlling the intra-building network, an arithmetic processing unit, and a storage unit, the arithmetic processing unit according to information stored in the storage unit from the start of the gateway device After the determined delay time, the network control unit outside the building starts connection to the remote server via the network outside the building, and sends a time synchronization request message to the remote server, and the current time information possessed by this remote server is obtained. Receive the message of the time synchronization response that contains it.
[0009]
In addition to the first invention, when the fourth gateway device of the present invention receives a time synchronization response including the current time information of the remote server received from the remote server, the arithmetic processing unit displays the current time information of the remote server. Set in the timer section.
[0010]
The fifth gateway device of the present invention is a building that controls an external network in a gateway device connected to an external network connected to a remote server and an internal network connected to an in-building device installed in each building. An external network control unit, an in-building network communication control unit that controls the intra-building network, an arithmetic processing unit, and a storage unit. The arithmetic processing unit stores information stored in the storage unit when the gateway device is activated. Accordingly, the network controller outside the building switches the remote server to be connected via the network outside the building.
[0011]
The storage unit stores serial number information unique to the gateway device, and the arithmetic processing unit reads the serial number information and determines a determination unit for determining a delay time for connection to the remote server.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the invention will be described with reference to the drawings.
[0013]
FIG. 1 shows an overall configuration diagram of a system including a gateway device of the present invention. The gateway device 1 includes an outside
[0014]
The
[0015]
In the above configuration, when the
[0016]
For example, when the building is a normal house and the in-
[0017]
Further, when the computation of the gateway device 1 is started by turning on the power, the
[0018]
Further, the storage means 15 comprising a non-volatile memory stores serial number information unique to the gateway device, and the
[0019]
For example, if the one-digit value obtained by converting the serial number into a decimal number is defined as N1, and a value obtained by multiplying N1 by a constant S is defined as a delay time T, the gateway device performs a delay of T seconds at the start and then sends it to the remote server A time synchronization request message M20 is transmitted to the remote server.
[0020]
As a result, even when the gateway device is installed in the same area and a power failure occurs, when the power failure is restored, a plurality of gateway devices are activated all at once, and the time synchronization request message M20 is remotely transmitted all at once. By transmitting to the
[0021]
The above is only an example of a rule for determining the delay time T. However, if the delay time T is determined according to another rule, the load distribution level for the
[0022]
In addition to the serial number information, the
[0023]
Further, the
[0024]
【The invention's effect】
As described above, according to the present invention, the simultaneous access load from the gateway to the remote server can be reduced.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a gateway apparatus according to an embodiment of the present invention. FIG. 2 is a diagram illustrating a control request processing sequence of the gateway apparatus according to an embodiment of the present invention. The figure which shows the sequence of the time synchronous process of the gateway apparatus which concerns on one embodiment. [FIG. 4] The schematic block diagram of the conventional gateway apparatus
DESCRIPTION OF SYMBOLS 1,101 Gateway apparatus 2,102 Remote server 3,303 External network 4,104 In-building
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003064870A JP3849658B2 (en) | 2003-03-11 | 2003-03-11 | Gateway device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003064870A JP3849658B2 (en) | 2003-03-11 | 2003-03-11 | Gateway device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006125528A Division JP2006203956A (en) | 2006-04-28 | 2006-04-28 | Gateway apparatus and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004274558A JP2004274558A (en) | 2004-09-30 |
JP3849658B2 true JP3849658B2 (en) | 2006-11-22 |
Family
ID=33126052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003064870A Expired - Fee Related JP3849658B2 (en) | 2003-03-11 | 2003-03-11 | Gateway device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3849658B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016005214A (en) * | 2014-06-19 | 2016-01-12 | 日本電気通信システム株式会社 | Network system, on-vehicle system, time synchronization method, node and program |
US10862602B2 (en) | 2016-04-14 | 2020-12-08 | Nippon Telegraph And Telephone Corporation | Time synchronization method, sensor data acquisition terminal, and sensor network system |
-
2003
- 2003-03-11 JP JP2003064870A patent/JP3849658B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004274558A (en) | 2004-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7516187B2 (en) | Remote control system for home appliance network and method for operating the same | |
US8189545B2 (en) | Wireless communication system, wireless LAN access point and settings confirmation/change method used therefor | |
JP2009302798A (en) | Access point device, beacon signal transmission control method, and beacon signal transmission control program | |
TWI454075B (en) | Access point device, communication device and method for access to communication media | |
WO2013099339A1 (en) | Control device, device controllable thereby, control method therefor, remote control system and recording medium | |
JP3849658B2 (en) | Gateway device | |
JP3863574B2 (en) | Control system, control device, and controlled device | |
JP2015119389A (en) | Communication adapter | |
JP5155606B2 (en) | Remote control system | |
JP4950617B2 (en) | Air conditioning management apparatus, air conditioning management method, and air conditioning management program | |
JP2015029361A (en) | Communication device, communication system, communication method and program | |
JP2006203956A (en) | Gateway apparatus and communication system | |
JP3746434B2 (en) | Air conditioner | |
JP7336857B2 (en) | CONTROL SYSTEM, CONNECTION STATE DETERMINATION METHOD AND PROGRAM | |
JP3097460B2 (en) | Heterogeneous bus controller | |
JP2009225481A (en) | Communication apparatus, communication control method and communication control program | |
JP2005184551A (en) | Communication apparatus, communication control method and communication control program | |
JP4037628B2 (en) | Communication method from multiple nodes to the gateway | |
JP2004011973A (en) | Water heater for network and remote control system for water heater | |
JP2003199180A (en) | Device controller and method, device control system | |
JPH0730565A (en) | Remote power supply controller for communication network | |
KR100840939B1 (en) | Electronic apparatus and control mehthod thereof | |
JP5940566B2 (en) | Network system, constant connection method, server, electronic device, program | |
JP2002319949A (en) | Communication controller and communication controlling method | |
JP2005291772A (en) | Electronic equipment and its control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050708 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060307 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060428 |
|
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: 20060808 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060821 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090908 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100908 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110908 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120908 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130908 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |