JP2007172048A - Polling communication system and server system - Google Patents

Polling communication system and server system Download PDF

Info

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
Application number
JP2005364905A
Other languages
Japanese (ja)
Other versions
JP4826250B2 (en
Inventor
Takeshi Ueno
武史 上野
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2005364905A priority Critical patent/JP4826250B2/en
Publication of JP2007172048A publication Critical patent/JP2007172048A/en
Application granted granted Critical
Publication of JP4826250B2 publication Critical patent/JP4826250B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a polling communication system and a server system for reducing a communication band necessary for polling communication even when the polling communication is performed by a plurality of devices. <P>SOLUTION: In this server system connected to a plurality of customer station equipment 1 for communicating with the plurality of customer station equipment 1, the customer station equipment 1 is usually distributed to a plurality of polling servers 5 and performs polling communication. When an event for transferring information with each customer station equipment 1 occurs, a center server 4 transmits the communication request of the customer station equipment 1 to the plurality of polling servers 5 (1), and when a question packet is transmitted to the polling server 5 by the customer station equipment 1 (2), the polling server 5 returns a reply packet showing that the center server communication request has been made (3). Thus, the customer station equipment 1 makes a packet request to the center server 4 (4), and the packet is transmitted from the center server 4 to the customer station equipment 1 (5). <P>COPYRIGHT: (C)2007,JPO&INPIT

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 Patent Document 1 below. This communication system is a system that controls and monitors a large number of control target devices with a center server. A gateway is provided between the large number of control target devices and the center server. In order to detect whether or not a monitoring request has occurred, the center server is polled via a gateway.

このような通信システムにおいて、センターサーバと多数の制御対象機器との間に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.

また、単一のセンターサーバによって複数のデバイスを制御するシステムでは、当該単一のセンターサーバによってポーリング通信及び各デバイスの制御・監視を行っていた。
特開平2004−280717号公報
Further, in a system in which a plurality of devices are controlled by a single center server, polling communication and control / monitoring of each device are performed by the single center server.
JP-A-2004-280717

しかしながら、上述した通信システムは、常に通信をする必要がない多数のデバイスであっても、定期的にポーリングサーバに対して通信を行う必要があり、単一のポーリングサーバに接続されるデバイス数が多くなるほど、当該ポーリングサーバに必要な通信帯域が増大し、運用コストが増大してしまう。また、ポーリングサーバに接続する一部の通信回線のみに通信が集中するために、通信障害に備えて高価な回線多重化機構を導入する必要があり、更に運用コストが高くなってしまう。   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-home device 1” when collectively referred to) are connected to a network via a NAT (Network Address Translation) router 2. 3 and a single center server 4 and a plurality of polling servers 5-1 to 5-N (hereinafter collectively referred to simply as “polling server 5”) via the network 3 -1 to 1-N are controlled and monitored. The center server 4 and the polling server 5 correspond to a server system according to the present invention. Although not shown in FIG. 1, the center server 4 can also control and monitor the home device 1 in response to a request from a user terminal such as a personal computer or a mobile phone.

このネットワーク通信システムは、機器埋め込み型のネットワーク技術(EMIT(Embedded Micro Internetworking Technology)、以下、EMIT技術と称する。)を利用して、センターサーバ4によって宅内機器1を制御・監視するものである。このEMIT技術は、ユーザ端末、宅内機器1やセンターサーバ4といったネットワーク機器にEMITミドルウェアを組み込み、当該EMITミドルウェア同士の通信によって通信接続を実現するものである。   This network communication system controls and monitors the home device 1 by the center server 4 using a device embedded network technology (EMIT (Embedded Micro Internetworking Technology), hereinafter referred to as EMIT technology). This EMIT technology incorporates EMIT middleware in a network device such as a user terminal, home device 1 or center server 4, and realizes communication connection by communication between the EMIT middleware.

なお、詳細は後述するが、センターサーバ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 center server 4 is provided with an OAS (Object Access Server) function unit 21 that performs routing processing between EMIT middleware, recognition processing of the home device 1, and the like. MOS (Micro Object Server) function units 11-1 to 11-N (hereinafter collectively referred to simply as “MOS function units”) that transmit and receive control signals of various home devices 1 and status signals of the home devices 1 between middlewares. 11 ”is implemented, and an OAL (Object Access Library) function unit (FIG. 11) outputs a control / monitoring request to the controlled home device 1 and displays the status of the home device 1 to the user terminal. (Not shown) is implemented.

ネットワーク通信システムは、図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 home device 1 and a plurality of polling servers 5-5 are normally connected without communication from the OAS function unit 21 of the center server 4 to the MOS function unit 11 of the home device 1. Polling communication is performed with 1 to 5-N. This polling communication is performed in order to inquire at the home device 1 whether or not the OAS function unit 21 of the center server 4 is generating a communication request to the MOS function unit 11 of the home device 1.

このポーリング通信は、宅内機器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 home device 1 to the plurality of polling servers 5-1 to 5-N, a communication request is not transmitted from the center server 4 to the polling servers 5-1 to 5-N. The plurality of polling servers 5-1 to 5 -N returns a response packet including a notification that the communication request is not received from the network 3 to the home device 1.

また、宅内機器1のMOS機能部11によってイベントを発生させた場合、図2に示すように、宅内機器1のMOS機能部11は、宅内で発生したイベントの識別子等を含むイベントパケットをセンターサーバ4に送信させる。これにより、センターサーバ4のOAS機能部21は、イベントパケットによって宅内機器1のMOS機能部11で認識したイベント発生を認識して、当該イベントに従った処理を行う。   When an event is generated by the MOS function unit 11 of the home device 1, as shown in FIG. 2, the MOS function unit 11 of the home device 1 sends an event packet including an identifier of the event generated in the home to the center server. 4 to send. Thereby, the OAS function part 21 of the center server 4 recognizes the event occurrence recognized by the MOS function part 11 of the home appliance 1 by the event packet, and performs processing according to the event.

更に、センターサーバ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 OAS function unit 21 of the center server 4 to the MOS function unit 11 of the in-home device 1, the center server 4 first requests the in-home device 1 for the center server communication as shown in FIG. 3. Is transmitted to the polling servers 5-1 to 5-N (1). This center server communication request is transmitted to all or some of the polling servers 5-1 to 5 -N among the plurality of polling servers 5-1 to 5 -N performing polling communication with the home device 1.

次に、宅内機器1がポーリングサーバ5−1〜5−Nに質問パケットを送信すると(2)、センターサーバ通信要求を受信したポーリングサーバ5−1〜5−Nは、センターサーバからの通信要求が有ったことを含む応答パケットを宅内機器1に返信する(3)。   Next, when the home device 1 transmits a question packet to the polling servers 5-1 to 5-N (2), the polling servers 5-1 to 5-N that have received the center server communication request receive communication requests from the center server. A response packet including that there is is returned to the home device 1 (3).

この応答パケットを受信すると、宅内機器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 MOS function unit 11 of the home appliance 1 transmits a request packet for requesting transmission of a packet related to the communication request to the OAS function unit 21 of the center server 4 (4), and the OAS of the center server 4 In response to receiving the request packet from the MOS function unit 11 of the home device 1, the function unit 21 transmits a response packet to the request packet to the MOS function unit 11 of the home device 1 (5). When receiving the response packet, the MOS function unit 11 of the home device 1 processes the response packet and performs operations related to control and monitoring. Here, the packet request from the MOS function unit 11 to the OAS function unit 21 and the transmission of the packet from the OAS function unit 21 to the MOS function unit 11 in response to the packet request are performed in accordance with OAP (Object Access Protocol) in EMIT middleware. It is.

また、センターサーバ4は、宅内機器1に応答パケットを送信完了すると同時に、前回にセンターサーバ通信要求を送信したポーリングサーバ5−1〜5−Nにセンターサーバ通信完了を送信する。これによって、ポーリングサーバ5−1〜5−Nは、次に質問パケットが宅内機器1から送信された場合には、センターサーバの通信要求が無いことを含む応答パケットを宅内機器1に返信することになる。   Further, the center server 4 transmits the response of the center server communication to the polling servers 5-1 to 5 -N that have transmitted the center server communication request last time at the same time when the transmission of the response packet to the home device 1 is completed. As a result, the polling server 5-1 to 5 -N returns a response packet including that there is no communication request from the center server to the home device 1 when the inquiry packet is next transmitted from the home device 1. become.

このように宅内機器1とポーリングサーバ5−1〜5−Nとの間でポーリング通信を行うと共に、宅内機器1のMOS機能部11とセンターサーバ4のOAS機能部21との間で制御・監視のための通信を行うネットワーク通信システムにおいて、宅内機器1及びセンターサーバ4は、図4に示すように構成される。   In this manner, polling communication is performed between the home device 1 and the polling servers 5-1 to 5-N, and control and monitoring are performed between the MOS function unit 11 of the home device 1 and the OAS function unit 21 of the center server 4. In the network communication system that performs communication for the home appliance 1 and the center server 4 are configured as shown in FIG.

宅内機器1は、住宅内の温度センサ、煙センサ、湿度センサ、電気錠、ドアホン、照明、防犯センサなどが挙げられる。この宅内機器1は、図4に示すように、MOS機能部11に、アプリケーション処理部12、インターフェースモジュール13が接続されている。   Examples of the in-home device 1 include a temperature sensor in a house, a smoke sensor, a humidity sensor, an electric lock, a door phone, lighting, a security sensor, and the like. As shown in FIG. 4, in the home device 1, an application processing unit 12 and an interface module 13 are connected to a MOS function unit 11.

アプリケーション処理部12は、例えば温度センサとして機能する場合に、温度値を取得するアプリケーションコードが記憶されており、温度値を保持してMOS機能部11に受け渡す。   For example, when the application processing unit 12 functions as a temperature sensor, an application code for acquiring a temperature value is stored, and the temperature value is held and transferred to the MOS function unit 11.

インターフェースモジュール13は、OSI(Open Systems Interconnection)参照モデルにおけるデータリンク層、ネットワーク層、トランスポート層の処理を行う。例えばデータリンク層においてイーサネット(登録商標)に従った処理を行い、ネットワーク層においてIP(Internet Protocol)に従った処理を行い、トランスポート層においてTCP(Transmission Control Protocol)に従った処理を行う。このインターフェースモジュール13の通信プロトコルバージョン、通信速度といった能力は、能力テーブル14に格納されて、センターサーバ4のOAS機能部21によって取得可能となっている。   The interface module 13 performs data link layer, network layer, and transport layer processing in an OSI (Open Systems Interconnection) reference model. For example, processing according to Ethernet (registered trademark) is performed in the data link layer, processing according to IP (Internet Protocol) is performed in the network layer, and processing according to TCP (Transmission Control Protocol) is performed in the transport layer. Capabilities such as a communication protocol version and a communication speed of the interface module 13 are stored in the capability table 14 and can be acquired by the OAS function unit 21 of the center server 4.

MOS機能部11は、アプリケーション処理部12によるアプリケーション層とインターフェースモジュール13によるトランスポート層との間のEMITミドルウェアとして機能する。このMOS機能部11には、センターサーバ4のOAS機能部21によって、宅内機器1がEMITにおけるオブジェクトであることを識別するために、オブジェクトID11dが与えられている。このオブジェクトID11dは、OAS機能部21と通信するに際して、センターサーバ4に送信するパケットに格納される。   The MOS function unit 11 functions as EMIT middleware between the application layer by the application processing unit 12 and the transport layer by the interface module 13. The MOS function unit 11 is given an object ID 11d by the OAS function unit 21 of the center server 4 in order to identify that the home device 1 is an object in EMIT. This object ID 11 d is stored in a packet transmitted to the center server 4 when communicating with the OAS function unit 21.

MOS機能部11は、機能(function)11a、イベント(event)11b、変数(variable)11cで定義された動作を行う。このMOS機能部11の動作は、サービステーブル11eして定義されており、センターサーバ4のOAS機能部21によって取得可能となっている。   The MOS function unit 11 performs an operation defined by a function 11a, an event 11b, and a variable 11c. The operation of the MOS function unit 11 is defined in the service table 11 e and can be acquired by the OAS function unit 21 of the center server 4.

宅内機器1が温度センサである場合、機能11aは、温度値の出力機能となり、イベント11bは、例えば温度値が10度以下となったら温度値を出力するイベントとなり、変数11cは、温度値そのものとなる。このような宅内機器1は、温度値が10度以下となるとイベント11bでイベントを発生させ、機能11aによって変数11cの温度値を出力する。また、MOS機能部11は、宅内機器1がドアホンである場合、機能11aは、押しボタンのオンオフ状態出力機能となり、イベント11bは、例えば押しボタンがオン状態となったというイベントとなり、変数11cは、押しボタンのオン又はオフの値となる。   When the home device 1 is a temperature sensor, the function 11a is a temperature value output function, the event 11b is an event that outputs a temperature value when the temperature value is 10 degrees or less, for example, and the variable 11c is the temperature value itself. It becomes. Such a home device 1 generates an event at event 11b when the temperature value becomes 10 degrees or less, and outputs the temperature value of variable 11c by function 11a. In addition, when the home device 1 is a door phone, the MOS function unit 11 has a function 11a serving as an on / off state output function of a push button, an event 11b is, for example, an event that the push button is turned on, and a variable 11c is The push button is turned on or off.

また、宅内機器1は、MOS機能部11によって、複数のポーリングサーバ5に対するポーリング通信を行うイベントを発生させて、通信モジュール23から質問パケットを送信させ、応答パケットを受信させても良く、インターフェースモジュール13によって複数のポーリングサーバ5に対するポーリング通信を行うようにしても良い。   Further, the in-home device 1 may cause the MOS function unit 11 to generate an event for performing polling communication with the plurality of polling servers 5 to transmit a question packet from the communication module 23 and receive a response packet. 13 may perform polling communication with respect to a plurality of polling servers 5.

センターサーバ4は、住宅内の温度センサ、湿度センサ、電気錠、ドアホン、照明、防犯センサ等の宅内機器1を制御・監視するものである。このセンターサーバ4は、OAS機能部21に、サーバ機能部22、通信モジュール23が接続されている。   The center server 4 controls and monitors the home equipment 1 such as a temperature sensor, a humidity sensor, an electric lock, a door phone, lighting, and a security sensor in the house. In the center server 4, a server function unit 22 and a communication module 23 are connected to the OAS function unit 21.

サーバ機能部22は、OAS機能部21及び通信モジュール23を統括制御する。このサーバ機能部22は、ある宅内機器1と通信したい場合には、センターサーバ通信要求を作成してポーリングサーバ5−1〜5−Nに送信させる。   The server function unit 22 performs overall control of the OAS function unit 21 and the communication module 23. The server function unit 22 creates a center server communication request and transmits it to the polling servers 5-1 to 5 -N when communicating with a certain home device 1.

通信モジュール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 interface module 13 of the home appliance 1 and communicates with the polling servers 5-1 to 5-N. The communication module 23 performs processing of a data link layer, a network layer, and a transport layer in an OSI (Open Systems Interconnection) reference model. For example, processing according to Ethernet (registered trademark) is performed in the data link layer, processing according to IP (Internet Protocol) is performed in the network layer, and processing according to TCP (Transmission Control Protocol) is performed in the transport layer. When each of the in-home devices 1-1 to 1-N is configured with various interface modules 13, the communication module 23 is connected to the in-home information such as the communication protocol version and the communication speed for each in-home device 1 according to the control of the device access controller 21c. Communication processing corresponding to the capability of the device 1 is performed.

OAS機能部21は、サーバ機能部22の処理と通信モジュール23によるトランスポート層処理との間のEMITミドルウェアとして機能する。このOAS機能部21は、デバイスアクセスサーバ21a、所定のメモリに格納されたサービス情報21b、デバイスアクセスコントローラ21cを備えて構成されている。   The OAS function unit 21 functions as EMIT middleware between the processing of the server function unit 22 and the transport layer processing by the communication module 23. The OAS function unit 21 includes a device access server 21a, service information 21b stored in a predetermined memory, and a device access controller 21c.

デバイスアクセスサーバ21aは、クライアント(OAL)との間で通信を行うために、クライアントからのリクエストを通信モジュール23及びサーバ機能部22を介して受信する。そしてデバイスアクセスサーバ21aは、当該リクエストをデバイスアクセスコントローラ21c及び通信モジュール23を介して宅内機器1に送信する動作を制御する。これによって、デバイスアクセスコントローラ21cは、クライアントからの要求を宅内機器1に伝達して、宅内機器1を制御する。   The device access server 21 a receives a request from the client via the communication module 23 and the server function unit 22 in order to perform communication with the client (OAL). The device access server 21a controls the operation of transmitting the request to the home device 1 via the device access controller 21c and the communication module 23. As a result, the device access controller 21c transmits a request from the client to the home device 1 to control the home device 1.

デバイスアクセスコントローラ21cは、宅内機器1−1〜1−Nのインターフェース定義及びサービス情報を取得するために、通信モジュール23を介して宅内機器1−1〜1−Nのサービステーブル11e及び能力テーブル14を検索する。これによって、デバイスアクセスコントローラ21cは、各宅内機器1がどのようなサービス(機能11a、イベント11b、変数11c)を有するかを判断して、各宅内機器1のオブジェクトID11dとサービスリストとの対応関係を示すサービス情報21bを作成する。また、デバイスアクセスコントローラ21cは、各宅内機器1がどのような能力(通信プロトコルバーション、通信速度)を有するかを認識する。   The device access controller 21c acquires the interface definition and service information of the home devices 1-1 to 1-N via the communication module 23 and the service table 11e and the capability table 14 of the home devices 1-1 to 1-N. Search for. Thus, the device access controller 21c determines what service (function 11a, event 11b, variable 11c) each home device 1 has, and the correspondence between the object ID 11d of each home device 1 and the service list Is created. The device access controller 21c recognizes what capabilities (communication protocol version, communication speed) each home device 1 has.

デバイスアクセスコントローラ21cは、MOS機能部11でイベントが発生して、イベントパケットを通信モジュール23で受信すると、デバイスアクセスコントローラ21cによって当該イベントパケットを解析して、デバイスアクセスサーバ21aに通知する。また、クライアントからのリクエストを宅内機器1に送信する場合には、当該リクエストに応答できるMOS機能部11を、サービス情報21bを参照して認識する。そして、当該リクエストに送信先のオブジェクトID11dを付加し、宅内機器1の能力に合わせて通信モジュール23から宅内機器1にパケットを送信させる。   When an event occurs in the MOS function unit 11 and the event packet is received by the communication module 23, the device access controller 21c analyzes the event packet by the device access controller 21c and notifies the device access server 21a. Further, when a request from a client is transmitted to the in-home device 1, the MOS function unit 11 that can respond to the request is recognized with reference to the service information 21b. Then, the destination object ID 11 d is added to the request, and the packet is transmitted from the communication module 23 to the home device 1 in accordance with the capability of the home device 1.

また、OAS機能部21には、他のEMITミドルウェア対応機器が当該OAS機能部21を識別するために、オブジェクトID21dが与えられている。このオブジェクトID21dは、宅内機器1のMOS機能部11や、他のOALが実装されたクライアント(パーソナルコンピュータ)等のEMITミドルウェア対応機器と通信するに際して、送信するパケットに格納される。   The OAS function unit 21 is given an object ID 21 d so that other EMIT middleware-compatible devices can identify the OAS function unit 21. This object ID 21d is stored in a packet to be transmitted when communicating with the MOS function unit 11 of the in-home device 1 or an EMIT middleware compatible device such as a client (personal computer) in which another OAL is mounted.

このような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-home device 1 having the MOS function unit 11 and the center server 4 having the OAS function unit 21, as shown in FIG. When the communication request is not transmitted to 5-N, the household device 1 transmits a question packet to the plurality of polling servers 5-1 to 5-N. At this time, the in-home device 1 refers to a table showing the correspondence between the polling order as shown in FIG. 5 and the connection destination information of the plurality of polling servers 5-1 to 5-N as connection destinations. By making the table of FIG. 5 different for each of the in-home devices 1-1 to 1-N, the in-home devices 1-1 to 1-N perform polling communication with a combination of a plurality of polling servers 5 different from each other. become.

宅内機器1は、例えば、通常はポーリング順位が「1」のポーリングサーバ5のみとポーリング通信を行い、当該ポーリングサーバ5との間のポーリング通信が失敗した場合にポーリング順位が「2」のポーリングサーバ5とポーリング通信を行っても良く、ポーリング順位が「1」のポーリングサーバ5とポーリング順位が「2」のポーリングサーバ5とを交互に分散してポーリング通信を行っても良い。更に、宅内機器1−1〜1−Nは、自身がポーリング通信を行う複数のポーリングサーバ5−1〜5−Nと所定のルールに従って時系列に異なるポーリングサーバ5に質問パケットを送信するようにしても良い。   For example, the home device 1 normally performs polling communication only with the polling server 5 with the polling order “1”, and when the polling communication with the polling server 5 fails, the polling server with the polling order “2” is used. The polling communication may be performed with the polling server 5 having the polling order “1” and the polling server 5 having the polling order “2” alternately distributed. Further, the in-home devices 1-1 to 1-N transmit the inquiry packets to the polling servers 5 that are different in time series according to predetermined rules with the plurality of polling servers 5-1 to 5-N that perform polling communication. May be.

これに対し、センターサーバ4には、図6(a)に示すような宅内機器1と当該宅内機器1がポーリング通信を行うポーリングサーバとの対応表と、図6(b)に示すようなポーリングサーバと当該ポーリングサーバと接続するための接続先情報との対応表とが記憶されている。そして、ある宅内機器1と通信したい場合には、当該宅内機器1がポーリング通信を行う何れかのポーリングサーバ5にセンターサーバ通信要求を送信することになる。また、センターサーバ4は、宅内機器1が所定のルールに従って複数のポーリングサーバ5−1〜5−Nとポーリング通信を行う場合には、当該複数のポーリングサーバ5−1〜5−Nのうち何れかのポーリングサーバ5にセンターサーバ通信要求を送信する。   In contrast, the center server 4 includes a correspondence table between the home device 1 as shown in FIG. 6A and a polling server with which the home device 1 performs polling communication, and a polling as shown in FIG. A correspondence table between the server and connection destination information for connecting to the polling server is stored. When it is desired to communicate with a certain home device 1, the home device 1 transmits a center server communication request to any polling server 5 that performs polling communication. In addition, when the home device 1 performs polling communication with a plurality of polling servers 5-1 to 5-N according to a predetermined rule, the center server 4 can select any of the plurality of polling servers 5-1 to 5-N. A center server communication request is transmitted to the polling server 5.

また、センターサーバ4は、多数のポーリングサーバ5−1〜5−Nが配設されている場合であっても、図6(a)に示す対応表を参照して、通信したい宅内機器1がポーリング通信を行うポーリングサーバ5−1〜5−Nのみにセンターサーバ通信要求を送信することになる。   Further, even if the center server 4 is provided with a large number of polling servers 5-1 to 5-N, referring to the correspondence table shown in FIG. The center server communication request is transmitted only to the polling servers 5-1 to 5-N that perform the polling communication.

以上のように、本発明を適用したネットワーク通信システムによれば、センターサーバ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 center server 4 to the in-home devices 1-1 to 1-N, a plurality of in-home devices 1-1 to 1-N and By performing polling communication with the polling servers 5-1 to 5 -N, it is possible to avoid the polling communication from being concentrated on only a part of the network 3. Therefore, it is possible to suppress the operation cost without concentrating communication only on a part of the network 3 and increasing the communication band, and to introduce an expensive line multiplexing mechanism in preparation for a failure caused by the concentration of communication. Can be eliminated. Further, since there is no need to perform polling communication with respect to the center server 4, transmission of packets related to control / monitoring of the home device 1 is delayed due to an increase in bandwidth necessary for communication of the inquiry packet and response packet related to polling communication. Occurrence can also be prevented.

なお、上述した一例では、複数のポーリングサーバ5を設けた場合について説明したが、宅内機器1のポーリング通信の相手が複数になる構成であれば、ポーリングサーバ5の機能をセンターサーバ4に実装し、且つ単一のポーリングサーバ5を設けた構成であっても、宅内機器1のポーリング通信に使用する通信帯域をセンターサーバ4とポーリングサーバ5とに分散できる。   In the example described above, the case where a plurality of polling servers 5 are provided has been described. However, if the configuration is such that there are a plurality of polling communication partners of the in-home device 1, the function of the polling server 5 is implemented in the center server 4. In addition, even if the single polling server 5 is provided, the communication band used for the polling communication of the home device 1 can be distributed to the center server 4 and the polling server 5.

また、各ポーリングサーバ5は、自己が使用している通信帯域を認識して、当該通信帯域が所定の帯域よりも高くなった場合には、宅内機器1からの質問信号に対する応答信号の返信を制限しても良い。このように応答信号の返信が制限された場合、宅内機器1は、当該ポーリングサーバ5に対するポーリング通信が失敗したことを判定して、他のポーリングサーバ5に質問信号を送信することになる。   Each polling server 5 recognizes the communication band used by itself and, when the communication band becomes higher than a predetermined band, returns a response signal to the inquiry signal from the home device 1. You may restrict. When the reply of the response signal is limited in this way, the home device 1 determines that the polling communication with the polling server 5 has failed, and transmits a question signal to the other polling server 5.

つぎに、本発明を適用したセンターサーバ4及びポーリングサーバ5を含む他のネットワーク通信システムについて説明する。なお、下記のネットワーク通信システムに係る記載のうち、上述のネットワーク通信システムで記載されていないことも、上述のEMIT技術を利用したセンターサーバ4及び宅内機器1によって実現可能であることは勿論である。   Next, another network communication system including the center server 4 and the polling server 5 to which the present invention is applied will be described. Of course, the description of the network communication system described below that is not described in the network communication system described above can be realized by the center server 4 and the home device 1 using the EMIT technology described above. .

このネットワーク通信システムは、図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 center server 4 is connected to a mobile phone 30 as a user terminal and a plurality of polling servers 5-1 and 5-2. The polling servers 5-1 and 5-2 activate a CGI (Common Gateway Interface) that generates static content when an event for receiving a center server communication request from the center server 4 occurs, and the activated CGI With the ability to delete.

センターサーバ4は、携帯電話30とインターネット等の汎用ネットワークN1を介して通信を行うフロントエンドサーバ41と、データベース42と、ポーリングサーバ5−1〜5−N及び宅内機器1と通信を行うバックエンドサーバ43とを備えている。これらフロントエンドサーバ41,データベース42,バックエンドサーバ43は、上述のサーバ機能部22と同様の機能を有している。   The center server 4 includes a front-end server 41 that communicates with the mobile phone 30 via a general-purpose network N1 such as the Internet, a database 42, a back-end that communicates with the polling servers 5-1 to 5-N and the home device 1. And a server 43. The front end server 41, the database 42, and the back end server 43 have the same functions as the server function unit 22 described above.

センターサーバ4は、携帯電話30からある宅内機器1を制御・監視するリクエストを汎用ネットワークN1を介してフロントエンドサーバ41で受信した場合、当該制御・監視対象となる宅内機器1を識別し、データベース42に格納されている宅内機器1とポーリングサーバ5との対応表から、宅内機器1がポーリング通信を行うポーリングサーバ5を識別する。そして、データベース42から識別したポーリングサーバ5に対して、センターサーバ通信要求を送信することによって、ポーリングサーバ5に静的コンテンツを生成させる。   When the center server 4 receives a request to control / monitor a certain home device 1 from the mobile phone 30 via the general-purpose network N1, the center server 4 identifies the home device 1 to be controlled / monitored, and the database The polling server 5 with which the home device 1 performs polling communication is identified from the correspondence table between the home device 1 and the polling server 5 stored in 42. Then, the polling server 5 is caused to generate static content by transmitting a center server communication request to the polling server 5 identified from the database 42.

図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 mobile phone 30 to the front-end server 41, and the in-home device 1-2 statically sends a polling communication to the polling server 5-1. It shows how the content is generated. On the other hand, no static content is generated in the polling server 5-2 where the home device 1-3 performs polling communication.

ポーリングサーバ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 mobile phone 30.

このようなネットワーク通信システムは、図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 mobile phone 30 to the front-end server 41, an http packet is sent from the home device 1-2 to the polling server 5-1 as a question packet. The head (S1) is transmitted and the polling server 5-1 returns HTTP not found (S2) of the port number “404” as a response packet because no static content is generated. Then, the in-home device 1-2 and the polling server 5-1 repeatedly transmit / receive the inquiry packet (S3) and the response packet (S4) at a predetermined polling communication interval (5 seconds).

そして、ステップ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 mobile phone 30, the mobile phone 30 controls the home device 1-2 to be controlled and the control. An HTTP request (S5) including the contents is transmitted to the front end server 41. The front-end server 41 transmits to the back-end server 43 a request (S6, Method Request) including the control target in-home device 1-2 and control content included in the HTTP request (S5). Referring to 42, the in-home device 1-2 identifies the polling server 5-1 performing the polling communication. Then, the back-end server 43 transmits a center server communication request, which is a command (Contents Create) for generating static content, to the polling server 5-1 whose control target is performing polling communication, to the polling server 5-1.

センターサーバ通信要求を受信したポーリングサーバ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-end server 43 of the polling server 5-1, and the back-end server 43 sends the front-end server to the in-home device 1-2 first. A request (S11, Method Request) having the same control content as the request (S6) received from 41 is transmitted. When this request (S11) is transmitted to the home device 1-2, the back-end server 43 sends a content deletion request (S12, Contents Delete) to the polling server 5-1 in order to delete the polling URL 52 of the polling server 5-1. Send.

ポーリングサーバ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 mobile phone 30, and in response to the completion of the operation, a response packet (including an operation result) S13, Method reply) is transmitted to the back-end server 43, and the back-end server 43 transmits a response packet (S14) to the front-end server 41. The front-end server 41 transmits the response packet (S15) to the mobile phone. 30. Thereby, in step ST4, the mobile phone 30 can perform a control operation result display indicating an operation result for the control content of the home device 1-2 and present the state of the home device 1-2 to the user.

その後、宅内機器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 home device 1 are separated to increase the communication band necessary for the polling communication. You can avoid that.

更に、このネットワーク通信システムにおいて、宅内機器1でイベントが発生して、宅内機器1から携帯電話30に当該イベントの内容を通知する場合には、図9に示すような処理を行う。   Furthermore, in this network communication system, when an event occurs in the home device 1 and the content of the event is notified from the home device 1 to the mobile phone 30, processing as shown in FIG. 9 is performed.

先ず、イベントが発生していない通常時において、宅内機器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 polling server 5 to perform polling. When the server 5-1 repeats the process of returning “not found” (S 22, S 24, S 26) of the port number “404”, when the home device 1-2 detects an event (step ST 11), the home device 1-2 transmits an event packet (S27) including the contents of the event (fire) to the front-end server 41 using a line different from the line for the polling server 5-1.

これに応じて、バックエンドサーバ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-end server 43 returns a response packet (S30, Event reply) indicating that the event packet (S27, Event) has been received to the in-home device 1-2, and sends an event transfer packet ( S28, Event forward) is transmitted. In response to receiving the event transfer packet (S28), the front-end server 41 transmits a notification packet (S29, Event Mail) in a mail format that can notify the contents of the event to the mobile phone 30 to the mobile phone 30. The mobile phone 30 is displayed, for example, “Fire has occurred”.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。   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.

本発明を適用したセンターサーバ及び複数のポーリングサーバを含むネットワーク通信システムにおいて、センターサーバから宅内機器への通信要求が発生していない通信時の処理を説明するシステム図である。In the network communication system including a center server to which the present invention is applied and a plurality of polling servers, it is a system diagram for explaining processing at the time of communication when a communication request from the center server to a home device is not generated. 本発明を適用したセンターサーバ及び複数のポーリングサーバを含むネットワーク通信システムにおいて、宅内機器でイベントが発生した時の処理を説明するシステム図である。It is a system figure explaining a process when an event generate | occur | produces in a household device in the network communication system containing the center server and the some polling server to which this invention is applied. 本発明を適用したセンターサーバ及び複数のポーリングサーバを含むネットワーク通信システムにおいて、センターサーバから宅内機器への通信要求が発生した時の処理を説明するシステム図である。In the network communication system including a center server to which the present invention is applied and a plurality of polling servers, it is a system diagram illustrating a process when a communication request from the center server to a home device occurs. 宅内機器、センターサーバの内部構成図である。It is an internal block diagram of a household device and a center server. 宅内機器が保持するポーリング通信を行う複数のポーリングサーバを記述したテーブルを示す図である。It is a figure which shows the table which described the some polling server which performs the polling communication which a household device hold | maintains. センターサーバが保持するテーブルであって、(a)は宅内機器とポーリングサーバとの対応関係、(b)はポーリングサーバと当該ポーリングサーバの接続先情報との対応関係を示す。It is a table held by the center server, where (a) shows the correspondence between the home device and the polling server, and (b) shows the correspondence between the polling server and the connection destination information of the polling server. 本発明を適用したセンターサーバ及びポーリングサーバを含む他のネットワーク通信システムのシステム図である。It is a system diagram of another network communication system including a center server and a polling server to which the present invention is applied. 本発明を適用したセンターサーバ及びポーリングサーバを含む他のネットワーク通信システムにおいて、携帯電話によって宅内機器を制御・監視するときのシーケンス図である。FIG. 10 is a sequence diagram when controlling / monitoring a home device by a mobile phone in another network communication system including a center server and a polling server to which the present invention is applied. 本発明を適用したセンターサーバ及びポーリングサーバを含む他のネットワーク通信システムにおいて、宅内機器でイベントが発生した時のシーケンス図である。It is a sequence diagram when an event occurs in a home device in another network communication system including a center server and a polling server to which the present invention is applied.

符号の説明Explanation of symbols

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 SYMBOLS 1 Home appliance 2 NAT router 3 Network 4 Center server 5 Polling server 11 MOS function part 11a Function 11b Event 11c Variable 11d Object ID
11e service table 12 application processing unit 13 interface module 14 capability table 21 OAS function unit 21a device access server 21b service information 21c device access controller 21d object ID
22 Server Function Unit 23 Communication Module 30 Mobile Phone 41 Front End Server 42 Database 43 Back End Server 51, 52 Polling URL

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 polling communication system according to claim 1, wherein the device transmits an inquiry signal to some of the polling servers among all the polling servers. 前記センターサーバは、前記各デバイスに対して複数のポーリングサーバを割り当てたデータベースを有し、当該データベースを参照して、各デバイスに割り当てられた何れかのポーリングサーバに前記通信要求を送信することを特徴とする請求項1に記載のポーリング通信システム。   The center server has a database in which a plurality of polling servers are assigned to each device, and refers to the database to transmit the communication request to any of the polling servers assigned to each device. The polling communication system according to claim 1. 前記デバイスは、予め設定された所定のルールに従って時系列に異なるポーリングサーバに質問信号を送信し、
前記センターサーバは、前記デバイスごとに、前記所定のルールに従って当該デバイスが質問信号を送信する複数のポーリングサーバを割り当てたデータベースを有し、当該データベースを参照して、各デバイスに割り当てられた何れかのポーリングサーバに前記通信要求を送信することを特徴とする請求項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.
前記デバイスには、前記質問信号の送信先のポーリングサーバとして、複数のポーリングサーバが登録されていることを特徴とする請求項1に記載のポーリング通信システム。   The polling communication system according to claim 1, wherein a plurality of polling servers are registered in the device as polling servers to which the inquiry signal is transmitted. 複数のデバイスと接続されて、当該複数のデバイスと通信するサーバシステムであって、
前記各デバイスと情報の授受を行うイベントが発生した場合に、当該デバイスの通信要求を送信するセンターサーバと、
前記センターサーバから通信要求を受信していない場合には、前記センターサーバの通信要求の有無を問い合わせる質問信号を前記各デバイスから受信し、当該デバイスに対する前記センターサーバの通信要求が無いことを表す応答信号を当該デバイスに返信し、前記センターサーバから通信要求を受信した場合には、当該デバイスの質問信号に対して通信要求が有ることを表す応答信号を返信する複数のポーリングサーバとを備え、
前記複数のデバイスから送信される質問信号を複数のポーリングサーバで分散して受信し、当該複数のポーリングサーバによって質問信号に対する応答信号を当該デバイスに返信すること
を特徴とするサーバシステム。
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.
JP2005364905A 2005-12-19 2005-12-19 Polling communication system and server system Active JP4826250B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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