JP2007172048A - Polling communication system and server system - Google Patents
Polling communication system and server system Download PDFInfo
- Publication number
- JP2007172048A JP2007172048A JP2005364905A JP2005364905A JP2007172048A JP 2007172048 A JP2007172048 A JP 2007172048A JP 2005364905 A JP2005364905 A JP 2005364905A JP 2005364905 A JP2005364905 A JP 2005364905A JP 2007172048 A JP2007172048 A JP 2007172048A
- Authority
- JP
- Japan
- Prior art keywords
- polling
- server
- communication
- center server
- servers
- 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.)
- Granted
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、デバイスがセンターサーバと接続されてなり、デバイスがセンターサーバからの通信要求を確認するためにポーリングを行うポーリング通信システム及びサーバシステムに関する。 The present invention relates to a polling communication system and a server system in which a device is connected to a center server, and the device performs polling to confirm a communication request from the center server.
従来より、複数のデバイスの状態を把握するための手段として、ポーリングサーバを備えた通信システムが下記の特許文献1等で知られている。この通信システムは、多数の制御対象機器をセンターサーバで制御・監視するシステムであって、多数の制御対象機器とセンターサーバとの間にゲートウェイを設け、センターサーバから制御対象機器への制御要求や監視要求が発生したか否かを検知するために、ゲートウェイを介してセンターサーバにポーリングを行っている。
Conventionally, as a means for grasping the states of a plurality of devices, a communication system including a polling server is known from
このような通信システムにおいて、センターサーバと多数の制御対象機器との間にNATルータを備えているシステム環境が考えられるが、当該システム環境では、センターサーバからはNATルータしか認識できず、センターサーバと制御対象機器とが直接的に通信ができない。したがって、NATルータが設けられている制御対象機器側からセンターサーバに対して、自己に対する制御・監視要求が存在するか否かを問い合わせるポーリング通信が必要がある。 In such a communication system, a system environment including a NAT router between a center server and a large number of devices to be controlled can be considered. In the system environment, only the NAT router can be recognized from the center server. And the control target device cannot communicate directly. Therefore, there is a need for polling communication in which the control target device provided with the NAT router inquires of the center server whether there is a control / monitoring request for itself.
また、単一のセンターサーバによって複数のデバイスを制御するシステムでは、当該単一のセンターサーバによってポーリング通信及び各デバイスの制御・監視を行っていた。
しかしながら、上述した通信システムは、常に通信をする必要がない多数のデバイスであっても、定期的にポーリングサーバに対して通信を行う必要があり、単一のポーリングサーバに接続されるデバイス数が多くなるほど、当該ポーリングサーバに必要な通信帯域が増大し、運用コストが増大してしまう。また、ポーリングサーバに接続する一部の通信回線のみに通信が集中するために、通信障害に備えて高価な回線多重化機構を導入する必要があり、更に運用コストが高くなってしまう。 However, the above-described communication system needs to regularly communicate with a polling server even if it is a large number of devices that do not always need to communicate, and the number of devices connected to a single polling server is limited. As the number increases, the communication bandwidth required for the polling server increases, and the operation cost increases. Further, since communication is concentrated only on a part of communication lines connected to the polling server, it is necessary to introduce an expensive line multiplexing mechanism in preparation for a communication failure, which further increases the operation cost.
そこで、本発明は、上述した実情に鑑みて提案されたものであり、多数のデバイスがポーリング通信を行っても、当該ポーリング通信に必要な通信帯域を軽減できるポーリング通信システム及びサーバシステムを提供することを目的とする。 Therefore, the present invention has been proposed in view of the above-described circumstances, and provides a polling communication system and a server system that can reduce the communication bandwidth necessary for the polling communication even when many devices perform the polling communication. For the purpose.
本発明に係るポーリング通信システムは、ポーリング通信のための質問信号を送信し、当該質問信号に対する応答信号を受信する複数のデバイスと、前記複数のデバイスと接続され、前記各デバイスと情報の授受を行うイベントが発生した場合に、当該デバイスの通信要求を送信するセンターサーバと、前記複数のデバイス及び前記センターサーバと接続され、前記センターサーバから通信要求を受信していない場合には、前記センターサーバの通信要求の有無を問い合わせる質問信号を前記各デバイスから受信し、当該デバイスに対する前記センターサーバの通信要求が無いことを表す応答信号を当該デバイスに返信し、前記センターサーバから通信要求を受信した場合には、当該デバイスの質問信号に対して通信要求が有ることを表す応答信号を返信する複数のポーリングサーバとを備え、上述の課題を解決するために、前記複数のデバイスから送信される質問信号を複数のポーリングサーバで分散して受信し、当該複数のポーリングサーバによって質問信号に対する応答信号を当該デバイスに返信する。 A polling communication system according to the present invention transmits a question signal for polling communication, receives a response signal to the question signal, is connected to the plurality of devices, and exchanges information with each device. A center server that transmits a communication request for the device when an event to be performed occurs, and the center server that is connected to the plurality of devices and the center server and has not received a communication request from the center server. When a query signal inquiring whether there is a communication request is received from each device, a response signal indicating that there is no communication request of the center server for the device is returned to the device, and a communication request is received from the center server Is a response indicating that there is a communication request for the interrogation signal of the device. A plurality of polling servers that send back signals, and in order to solve the above-described problem, a plurality of polling servers receive the question signals transmitted from the plurality of devices, and the plurality of polling servers A response signal to the signal is returned to the device.
本発明は、複数のデバイスと接続されて、当該複数のデバイスと通信するサーバシステムであって、各デバイスと情報の授受を行うイベントが発生した場合に、当該デバイスの通信要求を送信するセンターサーバと、センターサーバから通信要求を受信していない場合には、センターサーバの通信要求の有無を問い合わせる質問信号を各デバイスから受信し、当該デバイスに対するセンターサーバの通信要求が無いことを表す応答信号を当該デバイスに返信し、センターサーバから通信要求を受信した場合には、当該デバイスの質問信号に対して通信要求が有ることを表す応答信号を返信する複数のポーリングサーバとを備え、上述の課題を解決するために、各デバイスから送信される質問信号を複数のポーリングサーバで分散して受信し、当該複数のポーリングサーバによって質問信号に対する応答信号を当該デバイスに返信する。 The present invention is a server system that is connected to a plurality of devices and communicates with the plurality of devices, and transmits a communication request for the devices when an event for exchanging information with each device occurs. If a communication request is not received from the center server, a question signal for inquiring whether there is a communication request from the center server is received from each device, and a response signal indicating that there is no communication request from the center server for the device is received. A plurality of polling servers that return a response signal indicating that there is a communication request for the inquiry signal of the device when a communication request is received from the center server in response to the device. In order to solve the problem, the interrogation signal sent from each device is distributed and received by multiple polling servers. A response signal for the question signal by said plurality of polling server to reply to the device.
本発明によれば、複数のポーリングサーバを備え、各宅内機器が複数のポーリングサーバに対してポーリング通信を行うので、多数のデバイスがポーリング通信を行っても、当該ポーリング通信に必要な通信帯域を軽減できる。 According to the present invention, a plurality of polling servers are provided, and each in-home device performs polling communication with respect to the plurality of polling servers. Therefore, even if a large number of devices perform polling communication, the communication bandwidth necessary for the polling communication is increased. Can be reduced.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1に示すネットワーク通信システムは、複数の宅内機器1−1〜1−N(以下、総称する場合には単に「宅内機器1」と呼ぶ)がNAT(Network Address Translation)ルータ2を介してネットワーク3に接続され、単一のセンターサーバ4及び複数のポーリングサーバ5−1〜5−N(以下、総称する場合には単に「ポーリングサーバ5」と呼ぶ。)によってネットワーク3を介して宅内機器1−1〜1−Nを制御・監視等するものである。このセンターサーバ4及びポーリングサーバ5は、本発明に係るサーバシステムに相当する。なお、図1には図示していないが、センターサーバ4は、パーソナルコンピュータや携帯電話等のユーザ端末からのリクエストを受けて、宅内機器1の制御、監視を行うこともできる。
In the network communication system shown in FIG. 1, a plurality of in-home devices 1-1 to 1-N (hereinafter simply referred to as “in-
このネットワーク通信システムは、機器埋め込み型のネットワーク技術(EMIT(Embedded Micro Internetworking Technology)、以下、EMIT技術と称する。)を利用して、センターサーバ4によって宅内機器1を制御・監視するものである。このEMIT技術は、ユーザ端末、宅内機器1やセンターサーバ4といったネットワーク機器にEMITミドルウェアを組み込み、当該EMITミドルウェア同士の通信によって通信接続を実現するものである。
This network communication system controls and monitors the
なお、詳細は後述するが、センターサーバ4には、EMITミドルウェア間におけるルーティング処理、宅内機器1の認識処理等を行うOAS(Object Access Server)機能部21が実装され、宅内機器1には、EMITミドルウェア間で各種宅内機器1の制御信号や宅内機器1の状態信号等を送受するMOS(Micro Object Server)機能部11−1〜11−N(以下、総称する場合には、単に「MOS機能部11」と呼ぶ。)が実装され、ユーザ端末には、制御対象の宅内機器1への制御・監視リクエストを出力すると共に宅内機器1の状態表示等を行うOAL(Object Access Library)機能部(図示せず)が実装されている。
Although details will be described later, the
ネットワーク通信システムは、図1に示すように、センターサーバ4のOAS機能部21から宅内機器1のMOS機能部11への通信の必要がない通常時には、各宅内機器1と複数のポーリングサーバ5−1〜5−Nとの間でポーリング通信を行っている。このポーリング通信は、センターサーバ4のOAS機能部21が宅内機器1のMOS機能部11に対する通信要求を発生させているか否かを、宅内機器1で問い合わせるために行う。
As shown in FIG. 1, in the network communication system, each
このポーリング通信は、宅内機器1から複数のポーリングサーバ5−1〜5−Nに質問パケットを送信すると、センターサーバ4からポーリングサーバ5−1〜5−Nに通信要求を送信していない場合、複数のポーリングサーバ5−1〜5−Nは、ネットワーク3から通信要求を受けていない旨を含む応答パケットを宅内機器1に返信する。
In this polling communication, when a question packet is transmitted from the
また、宅内機器1のMOS機能部11によってイベントを発生させた場合、図2に示すように、宅内機器1のMOS機能部11は、宅内で発生したイベントの識別子等を含むイベントパケットをセンターサーバ4に送信させる。これにより、センターサーバ4のOAS機能部21は、イベントパケットによって宅内機器1のMOS機能部11で認識したイベント発生を認識して、当該イベントに従った処理を行う。
When an event is generated by the
更に、センターサーバ4のOAS機能部21から宅内機器1のMOS機能部11に通信をする必要が発生した場合、図3に示すように、先ずセンターサーバ4は、宅内機器1に対するセンターサーバ通信要求をポーリングサーバ5−1〜5−Nに送信する(1)。このセンターサーバ通信要求は、宅内機器1とポーリング通信を行っている複数のポーリングサーバ5−1〜5−Nのうち、全部又は一部のポーリングサーバ5−1〜5−Nに送信される。
Further, when it is necessary to communicate from the
次に、宅内機器1がポーリングサーバ5−1〜5−Nに質問パケットを送信すると(2)、センターサーバ通信要求を受信したポーリングサーバ5−1〜5−Nは、センターサーバからの通信要求が有ったことを含む応答パケットを宅内機器1に返信する(3)。
Next, when the
この応答パケットを受信すると、宅内機器1のMOS機能部11は、当該通信要求に関するパケットの送信を要求する要求パケットをセンターサーバ4のOAS機能部21に送信し(4)、センターサーバ4のOAS機能部21は、宅内機器1のMOS機能部11から要求パケットを受信したことに応じて、当該要求パケットに対する応答パケットを宅内機器1のMOS機能部11に送信する(5)。そして宅内機器1のMOS機能部11は、応答パケットを受信すると、当該応答パケットを処理して、制御・監視に係わる動作を行う。ここで、MOS機能部11からOAS機能部21へのパケット要求、当該パケット要求に対するOAS機能部21からMOS機能部11へのパケットの送信は、EMITミドルウェアにおけるOAP(Object Access Protocol)に準拠した処理である。
Upon receiving this response packet, the
また、センターサーバ4は、宅内機器1に応答パケットを送信完了すると同時に、前回にセンターサーバ通信要求を送信したポーリングサーバ5−1〜5−Nにセンターサーバ通信完了を送信する。これによって、ポーリングサーバ5−1〜5−Nは、次に質問パケットが宅内機器1から送信された場合には、センターサーバの通信要求が無いことを含む応答パケットを宅内機器1に返信することになる。
Further, the
このように宅内機器1とポーリングサーバ5−1〜5−Nとの間でポーリング通信を行うと共に、宅内機器1のMOS機能部11とセンターサーバ4のOAS機能部21との間で制御・監視のための通信を行うネットワーク通信システムにおいて、宅内機器1及びセンターサーバ4は、図4に示すように構成される。
In this manner, polling communication is performed between the
宅内機器1は、住宅内の温度センサ、煙センサ、湿度センサ、電気錠、ドアホン、照明、防犯センサなどが挙げられる。この宅内機器1は、図4に示すように、MOS機能部11に、アプリケーション処理部12、インターフェースモジュール13が接続されている。
Examples of the in-
アプリケーション処理部12は、例えば温度センサとして機能する場合に、温度値を取得するアプリケーションコードが記憶されており、温度値を保持してMOS機能部11に受け渡す。
For example, when the
インターフェースモジュール13は、OSI(Open Systems Interconnection)参照モデルにおけるデータリンク層、ネットワーク層、トランスポート層の処理を行う。例えばデータリンク層においてイーサネット(登録商標)に従った処理を行い、ネットワーク層においてIP(Internet Protocol)に従った処理を行い、トランスポート層においてTCP(Transmission Control Protocol)に従った処理を行う。このインターフェースモジュール13の通信プロトコルバージョン、通信速度といった能力は、能力テーブル14に格納されて、センターサーバ4のOAS機能部21によって取得可能となっている。
The
MOS機能部11は、アプリケーション処理部12によるアプリケーション層とインターフェースモジュール13によるトランスポート層との間のEMITミドルウェアとして機能する。このMOS機能部11には、センターサーバ4のOAS機能部21によって、宅内機器1がEMITにおけるオブジェクトであることを識別するために、オブジェクトID11dが与えられている。このオブジェクトID11dは、OAS機能部21と通信するに際して、センターサーバ4に送信するパケットに格納される。
The
MOS機能部11は、機能(function)11a、イベント(event)11b、変数(variable)11cで定義された動作を行う。このMOS機能部11の動作は、サービステーブル11eして定義されており、センターサーバ4のOAS機能部21によって取得可能となっている。
The
宅内機器1が温度センサである場合、機能11aは、温度値の出力機能となり、イベント11bは、例えば温度値が10度以下となったら温度値を出力するイベントとなり、変数11cは、温度値そのものとなる。このような宅内機器1は、温度値が10度以下となるとイベント11bでイベントを発生させ、機能11aによって変数11cの温度値を出力する。また、MOS機能部11は、宅内機器1がドアホンである場合、機能11aは、押しボタンのオンオフ状態出力機能となり、イベント11bは、例えば押しボタンがオン状態となったというイベントとなり、変数11cは、押しボタンのオン又はオフの値となる。
When the
また、宅内機器1は、MOS機能部11によって、複数のポーリングサーバ5に対するポーリング通信を行うイベントを発生させて、通信モジュール23から質問パケットを送信させ、応答パケットを受信させても良く、インターフェースモジュール13によって複数のポーリングサーバ5に対するポーリング通信を行うようにしても良い。
Further, the in-
センターサーバ4は、住宅内の温度センサ、湿度センサ、電気錠、ドアホン、照明、防犯センサ等の宅内機器1を制御・監視するものである。このセンターサーバ4は、OAS機能部21に、サーバ機能部22、通信モジュール23が接続されている。
The
サーバ機能部22は、OAS機能部21及び通信モジュール23を統括制御する。このサーバ機能部22は、ある宅内機器1と通信したい場合には、センターサーバ通信要求を作成してポーリングサーバ5−1〜5−Nに送信させる。
The
通信モジュール23は、宅内機器1のインターフェースモジュール13との間で通信を行うと共に、ポーリングサーバ5−1〜5−Nの間で通信を行う。この通信モジュール23は、OSI(Open Systems Interconnection)参照モデルにおけるデータリンク層、ネットワーク層、トランスポート層の処理を行う。例えばデータリンク層においてイーサネット(登録商標)に従った処理を行い、ネットワーク層においてIP(Internet Protocol)に従った処理を行い、トランスポート層においてTCP(Transmission Control Protocol)に従った処理を行う。個々の宅内機器1−1〜1−Nが様々なインターフェースモジュール13で構成されている場合、通信モジュール23は、デバイスアクセスコントローラ21cの制御に従って、宅内機器1ごとの通信プロトコルバージョン、通信速度といった宅内機器1の能力に応じた通信処理を行う。
The communication module 23 communicates with the
OAS機能部21は、サーバ機能部22の処理と通信モジュール23によるトランスポート層処理との間のEMITミドルウェアとして機能する。このOAS機能部21は、デバイスアクセスサーバ21a、所定のメモリに格納されたサービス情報21b、デバイスアクセスコントローラ21cを備えて構成されている。
The
デバイスアクセスサーバ21aは、クライアント(OAL)との間で通信を行うために、クライアントからのリクエストを通信モジュール23及びサーバ機能部22を介して受信する。そしてデバイスアクセスサーバ21aは、当該リクエストをデバイスアクセスコントローラ21c及び通信モジュール23を介して宅内機器1に送信する動作を制御する。これによって、デバイスアクセスコントローラ21cは、クライアントからの要求を宅内機器1に伝達して、宅内機器1を制御する。
The
デバイスアクセスコントローラ21cは、宅内機器1−1〜1−Nのインターフェース定義及びサービス情報を取得するために、通信モジュール23を介して宅内機器1−1〜1−Nのサービステーブル11e及び能力テーブル14を検索する。これによって、デバイスアクセスコントローラ21cは、各宅内機器1がどのようなサービス(機能11a、イベント11b、変数11c)を有するかを判断して、各宅内機器1のオブジェクトID11dとサービスリストとの対応関係を示すサービス情報21bを作成する。また、デバイスアクセスコントローラ21cは、各宅内機器1がどのような能力(通信プロトコルバーション、通信速度)を有するかを認識する。
The
デバイスアクセスコントローラ21cは、MOS機能部11でイベントが発生して、イベントパケットを通信モジュール23で受信すると、デバイスアクセスコントローラ21cによって当該イベントパケットを解析して、デバイスアクセスサーバ21aに通知する。また、クライアントからのリクエストを宅内機器1に送信する場合には、当該リクエストに応答できるMOS機能部11を、サービス情報21bを参照して認識する。そして、当該リクエストに送信先のオブジェクトID11dを付加し、宅内機器1の能力に合わせて通信モジュール23から宅内機器1にパケットを送信させる。
When an event occurs in the
また、OAS機能部21には、他のEMITミドルウェア対応機器が当該OAS機能部21を識別するために、オブジェクトID21dが与えられている。このオブジェクトID21dは、宅内機器1のMOS機能部11や、他のOALが実装されたクライアント(パーソナルコンピュータ)等のEMITミドルウェア対応機器と通信するに際して、送信するパケットに格納される。
The
このようなMOS機能部11を備えた宅内機器1及びOAS機能部21を備えたセンターサーバ4を備えたネットワーク通信システムにおいて、図1に示したように、センターサーバ4からポーリングサーバ5−1〜5−Nに通信要求が送信されていない場合、宅内機器1は、複数のポーリングサーバ5−1〜5−Nに質問パケットを送信する。このとき、宅内機器1は、図5に示すようなポーリング順位と、接続先となる複数のポーリングサーバ5−1〜5−Nの接続先情報との対応関係を示すテーブルを参照する。この図5のテーブルをそれぞれの宅内機器1−1〜1−Nで異なるようにすることにより、各宅内機器1−1〜1−Nが異なる複数のポーリングサーバ5の組み合わせでポーリング通信を行うことになる。
In the network communication system including the in-
宅内機器1は、例えば、通常はポーリング順位が「1」のポーリングサーバ5のみとポーリング通信を行い、当該ポーリングサーバ5との間のポーリング通信が失敗した場合にポーリング順位が「2」のポーリングサーバ5とポーリング通信を行っても良く、ポーリング順位が「1」のポーリングサーバ5とポーリング順位が「2」のポーリングサーバ5とを交互に分散してポーリング通信を行っても良い。更に、宅内機器1−1〜1−Nは、自身がポーリング通信を行う複数のポーリングサーバ5−1〜5−Nと所定のルールに従って時系列に異なるポーリングサーバ5に質問パケットを送信するようにしても良い。
For example, the
これに対し、センターサーバ4には、図6(a)に示すような宅内機器1と当該宅内機器1がポーリング通信を行うポーリングサーバとの対応表と、図6(b)に示すようなポーリングサーバと当該ポーリングサーバと接続するための接続先情報との対応表とが記憶されている。そして、ある宅内機器1と通信したい場合には、当該宅内機器1がポーリング通信を行う何れかのポーリングサーバ5にセンターサーバ通信要求を送信することになる。また、センターサーバ4は、宅内機器1が所定のルールに従って複数のポーリングサーバ5−1〜5−Nとポーリング通信を行う場合には、当該複数のポーリングサーバ5−1〜5−Nのうち何れかのポーリングサーバ5にセンターサーバ通信要求を送信する。
In contrast, the
また、センターサーバ4は、多数のポーリングサーバ5−1〜5−Nが配設されている場合であっても、図6(a)に示す対応表を参照して、通信したい宅内機器1がポーリング通信を行うポーリングサーバ5−1〜5−Nのみにセンターサーバ通信要求を送信することになる。
Further, even if the
以上のように、本発明を適用したネットワーク通信システムによれば、センターサーバ4から宅内機器1−1〜1−Nに対する通信要求がない場合には、宅内機器1−1〜1−Nと複数のポーリングサーバ5−1〜5−Nとの間でポーリング通信を行わせることにより、ネットワーク3の一部の回線のみにポーリング通信が集中することを回避できる。したがって、ネットワーク3の一部のみに通信が集中して通信帯域が増大することなく、運用コストを抑制でき、通信が集中することにより発生する障害に備えて高価な回線多重化機構を導入する必要を無くすことができる。また、センターサーバ4に対してポーリング通信を行う必要がないので、ポーリング通信に係る質問パケット及び応答パケットの通信に必要な帯域の増加によって宅内機器1の制御・監視に係わるパケットの伝送に遅延が発生することも防止できる。
As described above, according to the network communication system to which the present invention is applied, when there is no communication request from the
なお、上述した一例では、複数のポーリングサーバ5を設けた場合について説明したが、宅内機器1のポーリング通信の相手が複数になる構成であれば、ポーリングサーバ5の機能をセンターサーバ4に実装し、且つ単一のポーリングサーバ5を設けた構成であっても、宅内機器1のポーリング通信に使用する通信帯域をセンターサーバ4とポーリングサーバ5とに分散できる。
In the example described above, the case where a plurality of
また、各ポーリングサーバ5は、自己が使用している通信帯域を認識して、当該通信帯域が所定の帯域よりも高くなった場合には、宅内機器1からの質問信号に対する応答信号の返信を制限しても良い。このように応答信号の返信が制限された場合、宅内機器1は、当該ポーリングサーバ5に対するポーリング通信が失敗したことを判定して、他のポーリングサーバ5に質問信号を送信することになる。
Each
つぎに、本発明を適用したセンターサーバ4及びポーリングサーバ5を含む他のネットワーク通信システムについて説明する。なお、下記のネットワーク通信システムに係る記載のうち、上述のネットワーク通信システムで記載されていないことも、上述のEMIT技術を利用したセンターサーバ4及び宅内機器1によって実現可能であることは勿論である。
Next, another network communication system including the
このネットワーク通信システムは、図7に示すように、センターサーバ4に、ユーザ端末である携帯電話30と接続されると共に複数のポーリングサーバ5−1,5−2が接続される。このポーリングサーバ5−1,5−2は、センターサーバ4からのセンターサーバ通信要求を受信するイベントが発生した時に静的コンテンツを生成するCGI(Common Gateway Interface)を起動し、当該起動させたCGIを削除する機能を持つ。
In this network communication system, as shown in FIG. 7, a
センターサーバ4は、携帯電話30とインターネット等の汎用ネットワークN1を介して通信を行うフロントエンドサーバ41と、データベース42と、ポーリングサーバ5−1〜5−N及び宅内機器1と通信を行うバックエンドサーバ43とを備えている。これらフロントエンドサーバ41,データベース42,バックエンドサーバ43は、上述のサーバ機能部22と同様の機能を有している。
The
センターサーバ4は、携帯電話30からある宅内機器1を制御・監視するリクエストを汎用ネットワークN1を介してフロントエンドサーバ41で受信した場合、当該制御・監視対象となる宅内機器1を識別し、データベース42に格納されている宅内機器1とポーリングサーバ5との対応表から、宅内機器1がポーリング通信を行うポーリングサーバ5を識別する。そして、データベース42から識別したポーリングサーバ5に対して、センターサーバ通信要求を送信することによって、ポーリングサーバ5に静的コンテンツを生成させる。
When the
図7に示す例では、宅内機器1−2を制御・監視するリクエストが携帯電話30からフロントエンドサーバ41に供給されて、宅内機器1−2がポーリング通信を行うポーリングサーバ5−1に静的コンテンツを生成した様子を示している。一方、宅内機器1−3がポーリング通信を行うポーリングサーバ5−2には、静的コンテンツが生成されていない。
In the example shown in FIG. 7, a request for controlling / monitoring the in-home device 1-2 is supplied from the
ポーリングサーバ5−1は、静的コンテンツを生成する場合、静的コンテンツを有しないポーリングURL(Uniform Resource Locator)51と、静的コンテンツを有するURL52とを含む。そして、次に宅内機器1−2から質問パケットがポーリングサーバ5−1に供給されると、静的コンテンツを含むポーリングURL52から宅内機器1−2に、静的コンテンツが有ることを示す応答パケットを送信する。 When generating static content, the polling server 5-1 includes a polling URL (Uniform Resource Locator) 51 that does not have static content and a URL 52 that has static content. Next, when the inquiry packet is supplied from the home device 1-2 to the polling server 5-1, a response packet indicating that there is static content is sent from the polling URL 52 including the static content to the home device 1-2. Send.
これによって、宅内機器1−2は、バックエンドサーバ43と通信(Eバス通信)を行って、携帯電話30のリクエストに応じた制御・監視が行われる。
As a result, the in-home device 1-2 communicates with the back-end server 43 (E-bus communication), and is controlled and monitored according to the request from the
このようなネットワーク通信システムは、図8に示すように、携帯電話30からフロントエンドサーバ41にリクエストが要求されていない通常時には、質問パケットとして、宅内機器1−2からポーリングサーバ5−1にhttp head(S1)を送信し、ポーリングサーバ5−1は、静的コンテンツが生成されていないので、応答パケットとして、ポート番号「404」のHTTPのnot found(S2)を返信する。そして、宅内機器1−2及びポーリングサーバ5−1は、所定のポーリング通信の間隔(5秒)となると繰り返して質問パケット(S3)、応答パケット(S4)を送受信する。
In such a network communication system, as shown in FIG. 8, at a normal time when a request is not requested from the
そして、ステップST1において、携帯電話30のWWW(World Wide Web)ブラウザに対して、宅内機器1−2を制御する操作がなされると、携帯電話30は、制御対象の宅内機器1−2及び制御内容を含むHTTPリクエスト(S5)をフロントエンドサーバ41に送信する。フロントエンドサーバ41は、HTTPリクエスト(S5)に含まれる制御対象の宅内機器1−2及び制御内容を含むリクエスト(S6,Method Request)をバックエンドサーバ43に送信し、バックエンドサーバ43は、データベース42を参照して、宅内機器1−2がポーリング通信を行っているポーリングサーバ5−1を識別する。そして、バックエンドサーバ43は、制御対象がポーリング通信を行っているポーリングサーバ5−1に静的コンテンツを生成する命令(Contents Create)となるセンターサーバ通信要求をポーリングサーバ5−1に送信する。
In step ST1, when an operation for controlling the home device 1-2 is performed on the WWW (World Wide Web) browser of the
センターサーバ通信要求を受信したポーリングサーバ5−1は、ステップST2において、新規のCGIを起動させて、静的コンテンツを生成してポーリングURL52を構築する。次に宅内機器1−2からポーリングサーバ5−1に質問パケット(S8)が供給されると、ポーリングURL52は、ポート番号「200」のHTTPの応答パケット(S9)を宅内機器1−2に返信する。 In step ST2, the polling server 5-1 that has received the center server communication request activates a new CGI, generates static content, and constructs a polling URL 52. Next, when the inquiry packet (S8) is supplied from the home device 1-2 to the polling server 5-1, the polling URL 52 returns an HTTP response packet (S9) with the port number "200" to the home device 1-2. To do.
次に宅内機器1−2は、ポーリングサーバ5−1のバックエンドサーバ43に要求パケット(S10,Ebus polling)を送信し、バックエンドサーバ43は、宅内機器1−2に、先にフロントエンドサーバ41から受信したリクエスト(S6)と同じ制御内容のリクエスト(S11,Method Request)を送信する。このリクエスト(S11)を宅内機器1−2に送信すると、バックエンドサーバ43は、ポーリングサーバ5−1のポーリングURL52を削除すべく、コンテンツ削除要求(S12,Contents Delete)をポーリングサーバ5−1に送信する。
Next, the in-home device 1-2 transmits a request packet (S10, Ebus polling) to the back-
ポーリングサーバ5−1は、コンテンツ削除要求(S12)を受信すると、ステップST3において、ステップST2で起動したCGIを終了させて、静的コンテンツを削除することによって、ポーリングURL52を削除する。 When the polling server 5-1 receives the content deletion request (S12), in step ST3, the polling URL 52 is deleted by ending the CGI activated in step ST2 and deleting the static content.
また、宅内機器1−2は、リクエスト(S11)を受信すると、携帯電話30で指定された制御内容に従った動作を行い、当該動作が完了したことに応じて、動作結果を含む応答パケット(S13,Method reply)をバックエンドサーバ43に送信し、更に、バックエンドサーバ43は、応答パケット(S14)をフロントエンドサーバ41に送信し、フロントエンドサーバ41は、応答パケット(S15)を携帯電話30に送信する。これによって、携帯電話30は、ステップST4において、宅内機器1−2の制御内容に対する動作結果を示す制御操作結果表示を行って、宅内機器1−2の状態をユーザに提示できる。
Upon receipt of the request (S11), the in-home device 1-2 performs an operation according to the control content specified by the
その後、宅内機器1−2とポーリングサーバ5−1とは、通常時の処理に戻り、宅内機器1−2からポーリングサーバ5−1にhttp head(S16,S17)を送信し、ポーリングサーバ5−1は、ポート番号「404」のnot found(S18,S19)を返信する処理を繰り返す。 Thereafter, the in-home device 1-2 and the polling server 5-1 return to the normal processing, send the http head (S16, S17) from the in-home device 1-2 to the polling server 5-1, and the polling server 5- 1 repeats the process of returning “not found” (S18, S19) of the port number “404”.
このようなネットワーク通信システムによれば、上述したEMIT技術を利用したネットワーク通信システムと同様に、ポーリング通信と宅内機器1の制御・監視通信とを分離し、ポーリング通信に必要な通信帯域を増大させることを回避できる。
According to such a network communication system, similarly to the network communication system using the EMIT technology described above, the polling communication and the control / monitoring communication of the
更に、このネットワーク通信システムにおいて、宅内機器1でイベントが発生して、宅内機器1から携帯電話30に当該イベントの内容を通知する場合には、図9に示すような処理を行う。
Furthermore, in this network communication system, when an event occurs in the
先ず、イベントが発生していない通常時において、宅内機器1−2とポーリングサーバ5−1とは、宅内機器1−2からポーリングサーバ5にhttp head(S21,S23,S25)を送信し、ポーリングサーバ5−1は、ポート番号「404」のnot found(S22,S24,S26)を返信する処理を繰り返しているときに、宅内機器1−2でイベントを検知した場合(ステップST11)、宅内機器1−2は、ポーリングサーバ5−1に対する回線とは異なる回線を利用して、イベント(火災)の内容を含むイベントパケット(S27)をフロントエンドサーバ41に送信する。
First, at a normal time when no event occurs, the home device 1-2 and the polling server 5-1 transmit http head (S21, S23, S25) from the home device 1-2 to the
これに応じて、バックエンドサーバ43は、イベントパケット(S27,Event)を受信したことの応答パケット(S30,Event reply)を宅内機器1−2に返信し、フロントエンドサーバ41にイベント転送パケット(S28,Event forward)を送信する。フロントエンドサーバ41は、イベント転送パケット(S28)を受信したことに応じて、携帯電話30にイベントの内容を通知できるメール形式の通知パケット(S29,Event Mail)を携帯電話30に送信して、携帯電話30に、例えば「火災が発生しました」との表示をさせる。
In response to this, the back-
なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。 The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.
1 宅内機器
2 NATルータ
3 ネットワーク
4 センターサーバ
5 ポーリングサーバ
11 MOS機能部
11a 機能
11b イベント
11c 変数
11d オブジェクトID
11e サービステーブル
12 アプリケーション処理部
13 インターフェースモジュール
14 能力テーブル
21 OAS機能部
21a デバイスアクセスサーバ
21b サービス情報
21c デバイスアクセスコントローラ
21d オブジェクトID
22 サーバ機能部
23 通信モジュール
30 携帯電話
41 フロントエンドサーバ
42 データベース
43 バックエンドサーバ
51,52 ポーリングURL
DESCRIPTION OF
11e service table 12
22 Server Function Unit 23
Claims (6)
前記複数のデバイスと接続され、前記各デバイスと情報の授受を行うイベントが発生した場合に、当該デバイスの通信要求を送信するセンターサーバと、
前記複数のデバイス及び前記センターサーバと接続され、前記センターサーバから通信要求を受信していない場合には、前記センターサーバの通信要求の有無を問い合わせる質問信号を前記各デバイスから受信し、当該デバイスに対する前記センターサーバの通信要求が無いことを表す応答信号を当該デバイスに返信し、前記センターサーバから通信要求を受信した場合には、当該デバイスの質問信号に対して通信要求が有ることを表す応答信号を返信する複数のポーリングサーバとを備え、
前記複数のデバイスから送信される質問信号を複数のポーリングサーバで分散して受信し、当該複数のポーリングサーバによって質問信号に対する応答信号を当該デバイスに返信すること
を特徴とするポーリング通信システム。 A plurality of devices that transmit an interrogation signal for polling communication and receive a response signal to the interrogation signal;
A center server that is connected to the plurality of devices and that transmits a communication request for the device when an event occurs to exchange information with the devices;
When connected to the plurality of devices and the center server and not receiving a communication request from the center server, a question signal inquiring whether there is a communication request of the center server is received from each device, When a response signal indicating that there is no communication request of the center server is returned to the device and a communication request is received from the center server, a response signal indicating that there is a communication request for the inquiry signal of the device With multiple polling servers
A polling communication system, wherein the interrogation signals transmitted from the plurality of devices are distributed and received by a plurality of polling servers, and response signals to the interrogation signals are returned to the devices by the plurality of polling servers.
前記センターサーバは、前記デバイスごとに、前記所定のルールに従って当該デバイスが質問信号を送信する複数のポーリングサーバを割り当てたデータベースを有し、当該データベースを参照して、各デバイスに割り当てられた何れかのポーリングサーバに前記通信要求を送信することを特徴とする請求項1に記載のポーリング通信システム。 The device transmits a question signal to different polling servers in time series according to a predetermined rule set in advance,
The center server has, for each of the devices, a database in which a plurality of polling servers to which the device transmits an inquiry signal according to the predetermined rule is assigned, and any of the devices assigned to each device with reference to the database The polling communication system according to claim 1, wherein the communication request is transmitted to a polling server.
前記各デバイスと情報の授受を行うイベントが発生した場合に、当該デバイスの通信要求を送信するセンターサーバと、
前記センターサーバから通信要求を受信していない場合には、前記センターサーバの通信要求の有無を問い合わせる質問信号を前記各デバイスから受信し、当該デバイスに対する前記センターサーバの通信要求が無いことを表す応答信号を当該デバイスに返信し、前記センターサーバから通信要求を受信した場合には、当該デバイスの質問信号に対して通信要求が有ることを表す応答信号を返信する複数のポーリングサーバとを備え、
前記複数のデバイスから送信される質問信号を複数のポーリングサーバで分散して受信し、当該複数のポーリングサーバによって質問信号に対する応答信号を当該デバイスに返信すること
を特徴とするサーバシステム。 A server system connected to a plurality of devices and communicating with the plurality of devices,
When an event for exchanging information with each device occurs, a center server that transmits a communication request for the device,
If no communication request has been received from the center server, a response signal indicating that there is no communication request from the center server for the device is received from each device asking for the presence or absence of the communication request from the center server. When a signal is returned to the device and a communication request is received from the center server, the device includes a plurality of polling servers that return a response signal indicating that there is a communication request for the question signal of the device,
A server system characterized in that interrogation signals transmitted from the plurality of devices are distributed and received by a plurality of polling servers, and response signals to the interrogation signals are returned to the devices by the plurality of polling servers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005364905A JP4826250B2 (en) | 2005-12-19 | 2005-12-19 | Polling communication system and server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005364905A JP4826250B2 (en) | 2005-12-19 | 2005-12-19 | Polling communication system and server system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007172048A true JP2007172048A (en) | 2007-07-05 |
JP4826250B2 JP4826250B2 (en) | 2011-11-30 |
Family
ID=38298575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005364905A Active JP4826250B2 (en) | 2005-12-19 | 2005-12-19 | Polling communication system and server system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4826250B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013008214A (en) * | 2011-06-24 | 2013-01-10 | Panasonic Corp | Communication system |
JP2014504389A (en) * | 2010-11-15 | 2014-02-20 | ジェムアルト エスアー | How to load data into a portable secure token |
JP2019515595A (en) * | 2016-05-12 | 2019-06-06 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Data transmission method, apparatus and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10150493A (en) * | 1996-11-20 | 1998-06-02 | Fujitsu Ltd | Network monitoring system |
JP2005309893A (en) * | 2004-04-23 | 2005-11-04 | Fuji Xerox Co Ltd | Management system, its management center, and communication server |
-
2005
- 2005-12-19 JP JP2005364905A patent/JP4826250B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10150493A (en) * | 1996-11-20 | 1998-06-02 | Fujitsu Ltd | Network monitoring system |
JP2005309893A (en) * | 2004-04-23 | 2005-11-04 | Fuji Xerox Co Ltd | Management system, its management center, and communication server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014504389A (en) * | 2010-11-15 | 2014-02-20 | ジェムアルト エスアー | How to load data into a portable secure token |
KR101524387B1 (en) * | 2010-11-15 | 2015-05-29 | 제말토 에스에이 | Method of loading data into a portable secure token |
JP2013008214A (en) * | 2011-06-24 | 2013-01-10 | Panasonic Corp | Communication system |
JP2019515595A (en) * | 2016-05-12 | 2019-06-06 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Data transmission method, apparatus and system |
US10945143B2 (en) | 2016-05-12 | 2021-03-09 | Huawei Technologies Co., Ltd. | Data transmission method, apparatus, and system |
Also Published As
Publication number | Publication date |
---|---|
JP4826250B2 (en) | 2011-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101410927B1 (en) | Method and system for remote access to universal plug and play devices | |
US6928576B2 (en) | Backup gateway apparatus and home network system | |
US8499083B2 (en) | Relay device and communication system | |
KR100413684B1 (en) | Gateway enabling data communication between devices each having different middleware, home network system thereby, and gateway relaying method | |
JP4624701B2 (en) | Device information management apparatus and method via network | |
KR101271261B1 (en) | Method for detection of the activity of a device in a network of distributed stations, as well as a network station for carrying out the method | |
JPH09321821A (en) | Protocol conversion system and its method | |
US20070150104A1 (en) | Apparatus and method for controlling network-based robot | |
US20040071148A1 (en) | Information device, gateway device and control method | |
US20020147791A1 (en) | System for providing a service to a device in a home network and method thereof | |
KR20070117505A (en) | A method and system for remotely accessing devices in a network | |
CN1592283B (en) | Method of control between devices connected to a heterogeneous network and device implementing the method | |
KR100429902B1 (en) | Apparatus and method for controlling devices in private network from public network | |
JP2007249472A (en) | Programmable controller and communication unit | |
JP3996922B2 (en) | Centralized management system and method for network connection means in a network where different communication protocols coexist | |
JP4826250B2 (en) | Polling communication system and server system | |
US20030196118A1 (en) | Service control network and its control method | |
EP1993268A2 (en) | Method, system and relay device for transmitting packet | |
JP2022074352A (en) | Communication control device | |
JP5638063B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
US20060112192A1 (en) | Method and apparatus to facilitate universal plug and play interaction between different local networks | |
JP4797620B2 (en) | Network linkage device | |
US20030018703A1 (en) | Smart appliance network system and communication protocol | |
EP1309154B1 (en) | System and method for the selection of electronic services using infrared communication | |
JP3864824B2 (en) | Notification method of access destination to home server system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080911 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101130 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110128 |
|
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: 20110816 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110829 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140922 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4826250 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |