JP6927606B2 - Communication systems, communication control devices, communication equipment, communication methods and programs - Google Patents

Communication systems, communication control devices, communication equipment, communication methods and programs Download PDF

Info

Publication number
JP6927606B2
JP6927606B2 JP2019518789A JP2019518789A JP6927606B2 JP 6927606 B2 JP6927606 B2 JP 6927606B2 JP 2019518789 A JP2019518789 A JP 2019518789A JP 2019518789 A JP2019518789 A JP 2019518789A JP 6927606 B2 JP6927606 B2 JP 6927606B2
Authority
JP
Japan
Prior art keywords
communication
internal
packet
information
control information
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.)
Active
Application number
JP2019518789A
Other languages
Japanese (ja)
Other versions
JPWO2018212157A1 (en
Inventor
浩一 星野
浩一 星野
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.)
NEC Fielding Ltd
Original Assignee
NEC Fielding 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 NEC Fielding Ltd filed Critical NEC Fielding Ltd
Publication of JPWO2018212157A1 publication Critical patent/JPWO2018212157A1/en
Application granted granted Critical
Publication of JP6927606B2 publication Critical patent/JP6927606B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

(関連出願についての記載)
本発明は、日本国特許出願:特願2017−097338号(2017年5月16日出願)の優先権主張に基づくものであり、同出願の全記載内容は引用をもって本書に組み込み記載されているものとする。
本発明は、通信システム、通信制御装置、通信機器、通信方法及びプログラムに関する。
(Description of related application)
The present invention is based on the priority claim of Japanese patent application: Japanese Patent Application No. 2017-09733 (filed on May 16, 2017), and all the contents of the application are incorporated in this document by citation. Shall be.
The present invention relates to communication systems, communication control devices, communication devices, communication methods and programs.

近年、通信技術や情報処理技術の発展に伴い、モノのインターネットと呼ばれるIoT(Internet of Things)が注目され、センサ、監視カメラなど、膨大な数のモノ(IoT端末)がネットワークに接続することが予想されている。また、データの収集に留まらず、ネットワークを介して取得したデータを自装置の調整や制御に利用するIoT端末(例えば、センサや制御装置)が増加してきている。具体的には、IoT端末は、インターネット上のサーバ等から取得した入力データを、自装置の校正(センサの校正)やデータ収集制御の変更(例えば、データ収集間隔を初めとした設定変更)に活用することもある。 In recent years, with the development of communication technology and information processing technology, the IoT (Internet of Things) called the Internet of Things has attracted attention, and a huge number of things (IoT terminals) such as sensors and surveillance cameras can be connected to the network. It is expected. In addition to collecting data, the number of IoT terminals (for example, sensors and control devices) that use data acquired via a network for adjustment and control of their own device is increasing. Specifically, the IoT terminal uses the input data acquired from a server or the like on the Internet to calibrate its own device (calibrate the sensor) or change the data collection control (for example, change the settings such as the data collection interval). It may be used.

また、イントラネット等のネットワークに接続された機器を外部からの攻撃から防御するため、ファイアウォール装置が用いられることが多い(特許文献1参照)。 In addition, a firewall device is often used to protect a device connected to a network such as an intranet from an attack from the outside (see Patent Document 1).

特開2015−41958号公報Japanese Unexamined Patent Publication No. 2015-41958

なお、上記先行技術文献の開示を、本書に引用をもって繰り込むものとする。以下の分析は、本発明者らによってなされたものである。 The disclosure of the above prior art documents shall be incorporated into this document by citation. The following analysis was made by the present inventors.

上述のように、ネットワークに接続されたIoT端末は増加してきている。IoT端末は、ファイアウォール装置により防御された内部ネットワークに配置されることも多く、これらの内部機器は、外部ネットワークに接続された外部機器に対しパケットを送信し、当該送信パケットに対する応答パケットは内部機器(IoT端末)の制御に利用されている。具体的には、内部機器から送信されたパケットを受信した外部機器は、内部機器に送信する応答パケットに内部機器に対する指示情報を含め、内部機器は当該応答パケットに含まれる指示情報を実行する。 As mentioned above, the number of IoT terminals connected to the network is increasing. IoT terminals are often placed in an internal network protected by a firewall device, and these internal devices transmit packets to external devices connected to the external network, and response packets to the transmitted packets are internal devices. It is used to control (IoT terminal). Specifically, the external device that receives the packet transmitted from the internal device includes the instruction information for the internal device in the response packet transmitted to the internal device, and the internal device executes the instruction information included in the response packet.

内部機器からの送信パケットに対する応答パケットに指示情報を含めることで、内部ネットワーク(ファイアウォールにより防御されたネットワーク)に接続された内部機器の制御が可能となる。このように、ファイアウォール装置から先のネットワークに接続された外部機器からファイアウォール装置で守られた閉域ネットワークに接続されたセンサや制御装置に対して制御を行う場合、閉域ネットワークに接続されたセンサ等から外部機器に向けてパケットを送信し、外部機器からの応答パケットを利用して制御情報を取得することが行われている。外部機器からの応答を利用するのは、外部機器からファイアウォールを隔てた内部ネットワークに接続された内部機器への通信は基本的に不可能であることに起因する。 By including the instruction information in the response packet to the transmission packet from the internal device, it is possible to control the internal device connected to the internal network (network protected by the firewall). In this way, when controlling from an external device connected to the network ahead of the firewall device to a sensor or control device connected to the closed network protected by the firewall device, from the sensor connected to the closed network, etc. Packets are transmitted to an external device, and control information is acquired using a response packet from the external device. The reason for using the response from the external device is that it is basically impossible to communicate from the external device to the internal device connected to the internal network separated by the firewall.

このように、内部機器から外部機器に向けたパケットの送信が行われ、当該送信パケットに応答して外部機器から、内部ネットワークに接続された内部機器に送信される応答パケットに指示情報を含め、内部機器へ指示情報を伝達している。ファイアウォールが適用されたネットワークシステムでは、初めに内部機器から外部機器向けの通信が行われる事が前提であり、外部ネットワークに接続された外部機器を起点とした通信(外部機器から内部機器への直接の通信)は、通常、不可能だからである。 In this way, a packet is transmitted from the internal device to the external device, and the response packet transmitted from the external device to the internal device connected to the internal network in response to the transmitted packet includes instruction information. Instruction information is transmitted to internal devices. In a network system to which a firewall is applied, it is premised that communication from the internal device to the external device is performed first, and communication starting from the external device connected to the external network (direct from the external device to the internal device). Communication) is usually impossible.

ここで、IoT端末等の内部機器は、予め定めた送信間隔にて測定データ等を含むパケットを外部機器に送信するように設計されていることが多い。また、内部機器が内部ネットワークに複数存在する場合には、内部機器のそれぞれが上記通信(パケットの送信、指示情報を含む応答パケットの受信)を行うことになる。 Here, an internal device such as an IoT terminal is often designed to transmit a packet containing measurement data or the like to an external device at a predetermined transmission interval. Further, when a plurality of internal devices exist in the internal network, each of the internal devices performs the above-mentioned communication (transmission of a packet, reception of a response packet including instruction information).

外部機器から内部機器への情報伝達は、外部機器からの応答により行われるため、外部機器から適切なタイミングにて内部機器に情報伝達をするためには、内部機器から外部機器への通信間隔(パケットを送受信する頻度)を短くする必要がある。しかし、このような対応では、本来意味のない通信が多く発生してしまう。つまり、IoT端末等の内部機器から外部機器に対して、意味のないデータ(例えば、更新されていないデータ)が頻繁に送信され、且つ、外部機器から内部機器への通常の応答パケット(制御指示が含まれない応答パケット)が頻繁に送信されることになる。 Since information transmission from the external device to the internal device is performed by the response from the external device, in order to transmit information from the external device to the internal device at an appropriate timing, the communication interval from the internal device to the external device ( Frequency of sending and receiving packets) needs to be shortened. However, with such a response, many communications that are originally meaningless occur. That is, meaningless data (for example, unupdated data) is frequently transmitted from an internal device such as an IoT terminal to an external device, and a normal response packet (control instruction) from the external device to the internal device. Response packets that do not contain) will be sent frequently.

一方、上記のような意味のない通信の発生を回避するため、内部機器から外部機器への通信間隔を長くすると、外部機器から内部機器への情報伝達の機会が作れず、内部機器への制御が適切なタイミングにより実行できない。 On the other hand, if the communication interval from the internal device to the external device is lengthened in order to avoid the occurrence of meaningless communication as described above, an opportunity for information transmission from the external device to the internal device cannot be created, and control to the internal device is not created. Cannot be executed at the right time.

本発明は、内部ネットワークに接続された機器に対する情報伝達を適切なタイミングにて実現する、通信システム、通信制御装置、通信機器、通信方法及びプログラムを提供することを目的とする。 An object of the present invention is to provide a communication system, a communication control device, a communication device, a communication method, and a program that realize information transmission to a device connected to an internal network at an appropriate timing.

本発明の第1の視点によれば、第1のネットワークに接続された、複数の第1の機器と、第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器と、前記第1の機器と第2の機器の間の通信を中継する、通信制御装置と、を含み、前記第2の機器は、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する応答パケットに、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含め、前記通信制御装置は、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示する、通信システムが提供される。 According to the first aspect of the present invention, a plurality of first devices connected to the first network and a second device connected to the second network and communicating with the plurality of first devices. And a communication control device that relays communication between the first device and the second device, the second device is the first of the plurality of first devices. The communication control device includes the control information for at least one or more of the first devices among the plurality of first devices in the response packet to the packet received from the devices, and the communication control device is the control of the plurality of first devices. A communication system is provided that instructs a first device whose information is a target to perform an operation obtained from the control information.

本発明の第2の視点によれば、第1のネットワークに接続された、複数の第1の機器と、第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器との間の通信を中継する、通信制御装置であって、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する前記第2の機器からの応答パケットであって、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含む応答パケットを受信し、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示する、通信制御装置が提供される。 According to the second aspect of the present invention, a plurality of first devices connected to the first network and a second device connected to the second network and communicating with the plurality of first devices. A communication control device that relays communication with and is a response packet from the second device to a packet received from the first device of any one of the plurality of first devices. A response packet containing control information for at least one or more of the first devices among the plurality of first devices is received, and for the first device among the plurality of first devices to which the control information is targeted. , A communication control device for instructing an operation obtained from the control information is provided.

本発明の第3の視点によれば、第1のネットワークに接続された、複数の第1の機器と通信する通信機器であって、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する応答パケットに、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含めて送信する、通信機器が提供される。 According to a third aspect of the present invention, it is a communication device that communicates with a plurality of first devices connected to the first network, and is the first of the plurality of first devices. A communication device is provided which transmits a response packet to a packet received from a device including control information for at least one or more of the first devices among the plurality of first devices.

本発明の第4の視点によれば、第1のネットワークに接続された、複数の第1の機器と、第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器と、前記第1の機器と第2の機器の間の通信を中継する、通信制御装置と、を含む通信システムにおいて、前記第2の機器が、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する応答パケットに、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含め、前記応答パケットを前記通信制御装置に送信するステップと、前記通信制御装置が、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示するステップと、を含む、通信方法が提供される。 According to a fourth aspect of the present invention, a plurality of first devices connected to the first network and a second device connected to the second network and communicating with the plurality of first devices. In a communication system including a communication control device that relays communication between the first device and the second device, the second device is any one of the plurality of first devices. A step of transmitting the response packet to the communication control device, including control information for at least one or more of the first devices among the plurality of first devices, in the response packet for the packet received from the first device. A communication method is provided in which the communication control device includes, among the plurality of first devices, a step of instructing a first device targeted by the control information to perform an operation obtained from the control information. NS.

本発明の第5の視点によれば、第1のネットワークに接続された、複数の第1の機器と、第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器との間の通信を中継する、通信制御装置に搭載されたコンピュータに、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する前記第2の機器からの応答パケットであって、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含む応答パケットを受信する処理と、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示する処理と、を実行させるプログラムが提供される。
なお、このプログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。記憶媒体は、半導体メモリ、ハードディスク、磁気記録媒体、光記録媒体等の非トランジェント(non-transient)なものとすることができる。本発明は、コンピュータプログラム製品として具現することも可能である。
According to the fifth viewpoint of the present invention, a plurality of first devices connected to the first network and a second device connected to the second network and communicating with the plurality of first devices. A response packet from the second device to a packet received from the first device of the plurality of first devices to a computer mounted on the communication control device that relays communication with the first device. The process of receiving a response packet containing control information for at least one or more of the first devices among the plurality of first devices, and the control information of the plurality of first devices are targeted. A program for instructing one device to perform an operation obtained from the control information is provided.
Note that this program can be recorded on a computer-readable storage medium. The storage medium may be a non-transient such as a semiconductor memory, a hard disk, a magnetic recording medium, or an optical recording medium. The present invention can also be embodied as a computer program product.

本発明の各視点によれば、内部ネットワークに接続された機器に対する情報伝達を適切なタイミングにて実現することに寄与する、通信システム、通信制御装置、通信機器、通信方法及びプログラムが、提供される。 According to each viewpoint of the present invention, a communication system, a communication control device, a communication device, a communication method, and a program that contribute to realizing information transmission to a device connected to an internal network at an appropriate timing are provided. NS.

一実施形態の概要を説明するための図である。It is a figure for demonstrating the outline of one Embodiment. 第1の実施形態に係る通信システムの概略構成の一例を示す図である。It is a figure which shows an example of the schematic structure of the communication system which concerns on 1st Embodiment. 送信履歴記憶部のデータ構成の一例を示す図である。It is a figure which shows an example of the data structure of the transmission history storage part. 制御情報記憶部に登録された制御情報の一例を示す図である。It is a figure which shows an example of the control information registered in the control information storage part. 制御情報記憶部に登録された制御情報の一例を示す図である。It is a figure which shows an example of the control information registered in the control information storage part. 制御情報記憶部に登録された制御情報の一例を示す図である。It is a figure which shows an example of the control information registered in the control information storage part. 制御情報記憶部に登録された制御情報の一例を示す図である。It is a figure which shows an example of the control information registered in the control information storage part. 制御情報を含む応答パケットを概念的に示す図である。It is a figure which conceptually shows the response packet containing control information. 通信制御装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of a communication control device. 第1の実施形態に係る通信システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the operation of the communication system which concerns on 1st Embodiment. 第1の実施形態に係る通信制御装置が出力する制御情報設定履歴の一例を示す図である。It is a figure which shows an example of the control information setting history output by the communication control device which concerns on 1st Embodiment.

初めに、一実施形態の概要について説明する。なお、この概要に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、この概要の記載はなんらの限定を意図するものではない。また、各図におけるブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。さらに、本願開示に示す回路図、ブロック図、内部構成図、接続図などにおいて、明示は省略するが、入力ポート及び出力ポートが各接続線の入力端及び出力端のそれぞれに存在する。入出力インターフェイスも同様である。 First, an outline of one embodiment will be described. It should be noted that the drawing reference reference numerals added to this outline are added to each element for convenience as an example to aid understanding, and the description of this outline is not intended to limit anything. Further, the connecting line between the blocks in each figure includes both bidirectional and unidirectional. The one-way arrow schematically shows the flow of the main signal (data), and does not exclude interactivity. Further, in the circuit diagram, block diagram, internal configuration diagram, connection diagram, and the like shown in the disclosure of the present application, although not explicitly stated, an input port and an output port exist at the input end and the output end of each connection line, respectively. The same applies to the input / output interface.

一実施形態に係る通信システムは、複数の第1の機器50と、第2の機器51と、通信制御装置52と、を含む(図1参照)。第1の機器50は、第1のネットワーク(例えば、ファイアウォールにより防御されたイントラネット)に接続された機器である。第2の機器51は、第2のネットワーク(例えば、ファイアウォールから先のインターネット)に接続され、複数の第1の機器50と通信する機器である。通信制御装置52は、第1の機器50と第2の機器51の間の通信を中継する装置である。第2の機器51は、複数の第1の機器50のうちいずれかの第1の機器50から受信したパケットに対する応答パケットに、複数の第1の機器50のうち少なくとも1以上の第1の機器50に対する制御情報を含める。通信制御装置52は、複数の第1の機器50のうち制御情報が対象とする第1の機器50に対し、制御情報から得られる動作を指示する。 The communication system according to one embodiment includes a plurality of first devices 50, a second device 51, and a communication control device 52 (see FIG. 1). The first device 50 is a device connected to a first network (for example, an intranet protected by a firewall). The second device 51 is a device that is connected to a second network (for example, the Internet beyond the firewall) and communicates with a plurality of first devices 50. The communication control device 52 is a device that relays communication between the first device 50 and the second device 51. The second device 51 is a first device at least one of the plurality of first devices 50 in response to a packet received from the first device 50 of the plurality of first devices 50. Include control information for 50. The communication control device 52 instructs the first device 50, which is the target of the control information, among the plurality of first devices 50, to perform an operation obtained from the control information.

上記通信システムでは、ファイアウォールにより第1の機器50と隔てられた第2の機器51から第1の機器50に対する制御情報の伝達が行われる。つまり、ファイアウォールにより外部からの通信が制限された内部ネットワーク(第1のネットワーク)に属する第1の機器50に対する制御情報が、第2の機器51から送信される。その際、第2の機器51は、複数の第1の機器50のいずれかが送信したパケットの応答パケットに、当該パケットを送信した第1の機器50以外の第1の機器50を対象とした制御情報を含ませる。例えば、第1の機器Aが送信したパケットに対する応答パケットに、第1の機器Bに対する制御情報が含まれる。通信制御装置52は、第2の機器51から受信した応答パケットを第1の機器50に転送すると共に、当該応答パケットに含まれる制御情報を抽出する。その後、通信制御装置52は、当該抽出した制御情報から得られる情報に基づき、第1の機器50に対して動作指示を行う。 In the above communication system, control information is transmitted from the second device 51, which is separated from the first device 50 by a firewall, to the first device 50. That is, the control information for the first device 50 belonging to the internal network (first network) whose communication from the outside is restricted by the firewall is transmitted from the second device 51. At that time, the second device 51 targets the first device 50 other than the first device 50 that transmitted the packet to the response packet of the packet transmitted by any of the plurality of first devices 50. Include control information. For example, the response packet to the packet transmitted by the first device A includes the control information for the first device B. The communication control device 52 transfers the response packet received from the second device 51 to the first device 50, and extracts the control information included in the response packet. After that, the communication control device 52 gives an operation instruction to the first device 50 based on the information obtained from the extracted control information.

通信システムには複数の第1の機器50が含まれ、これらの機器の数が十分多ければ、第1の機器50と第2の機器51の間の通信は高い頻度で行われる。即ち、複数の第1の機器50のそれぞれを個別に観察すれば、第1の機器50と第2の機器51の間の通信はさほど頻繁ではないかもしれないが、複数の第1の機器50全体と第2の機器51との間の通信は、十分頻繁に行われていると捉えることができる。換言すれば、第2の機器51から第1のネットワークに向けた応答パケット(第1の機器50と第2の機器51との間の通信を中継する通信制御装置52に向けた応答パケット)は頻繁に送信されていると捉えることができる。そこで、第2の機器51は、当該頻繁に送信される応答パケットに、応答パケットの宛先とは異なる第1の機器50に対する制御情報を含ませ、制御情報を送信する。さらに、通信制御装置52は、応答パケットを受信し、当該応答パケットから抽出した制御情報に基づき、第1の機器50に動作指示を行う。その結果、無駄な通信を発生させることがなく、目的とする第1の機器50に向けた情報伝達が適切なタイミングにて実現される。 The communication system includes a plurality of first devices 50, and if the number of these devices is sufficiently large, communication between the first device 50 and the second device 51 is performed with high frequency. That is, if each of the plurality of first devices 50 is observed individually, the communication between the first device 50 and the second device 51 may not be so frequent, but the plurality of first devices 50 It can be considered that the communication between the whole and the second device 51 is performed sufficiently frequently. In other words, the response packet from the second device 51 to the first network (the response packet to the communication control device 52 that relays the communication between the first device 50 and the second device 51) is It can be regarded as being transmitted frequently. Therefore, the second device 51 includes the frequently transmitted response packet with control information for the first device 50 different from the destination of the response packet, and transmits the control information. Further, the communication control device 52 receives the response packet and gives an operation instruction to the first device 50 based on the control information extracted from the response packet. As a result, information transmission to the target first device 50 is realized at an appropriate timing without generating unnecessary communication.

以下に具体的な実施の形態について、図面を参照してさらに詳しく説明する。なお、各実施形態において同一構成要素には同一の符号を付し、その説明を省略する。 Specific embodiments will be described in more detail below with reference to the drawings. In each embodiment, the same components are designated by the same reference numerals, and the description thereof will be omitted.

[第1の実施形態]
第1の実施形態について、図面を用いてより詳細に説明する。
[First Embodiment]
The first embodiment will be described in more detail with reference to the drawings.

図2は、第1の実施形態に係る通信システムの概略構成の一例を示す図である。図2を参照すると、通信システムは、内部ネットワーク1と、外部ネットワーク2と、複数の内部機器10−1〜10−3と、通信制御装置20と、ファイアウォール装置30と、外部機器40と、を含んで構成される。 FIG. 2 is a diagram showing an example of a schematic configuration of a communication system according to the first embodiment. Referring to FIG. 2, the communication system includes an internal network 1, an external network 2, a plurality of internal devices 10-1 to 10-3, a communication control device 20, a firewall device 30, and an external device 40. Consists of including.

なお、以降の説明において、内部機器10−1〜10−3を区別する特段の理由が無い場合には、単に「内部機器10」と表記する。また、図2には、3台の内部機器10を図示しているが、通信システムに含まれる内部機器10の台数を制限する趣旨ではないことは勿論である。通信システムには1台以上の内部機器10が含まれていればよい。 In the following description, if there is no particular reason for distinguishing the internal devices 10-1 to 10-3, it is simply referred to as "internal device 10". Further, although FIG. 2 shows three internal devices 10, it goes without saying that the purpose is not to limit the number of internal devices 10 included in the communication system. The communication system may include one or more internal devices 10.

図2に示す通信システムは、ファイアウォール装置30により外部からの通信が制限された閉鎖ネットワーク(内部ネットワーク1)内の内部機器10への制御情報等の伝達を可能とするシステムである。内部ネットワーク1は、ファイアウォール装置30により防御される閉域ネットワークであり、例えば、イントラネットである。内部ネットワーク1は、ファイアウォール装置30に接続された1つのネットワークであっても良いし、複数のネットワークでも良い。 The communication system shown in FIG. 2 is a system that enables transmission of control information and the like to an internal device 10 in a closed network (internal network 1) in which communication from the outside is restricted by a firewall device 30. The internal network 1 is a closed network protected by the firewall device 30, for example, an intranet. The internal network 1 may be one network connected to the firewall device 30, or may be a plurality of networks.

外部ネットワーク2は、ファイアウォール装置30により内部ネットワーク1と隔てられたネットワークである。内部ネットワーク1がファイアウォール装置30により防御された閉域ネットワークであるのに対し、外部ネットワーク2は、ファイアウォール装置30による防御の外にあるネットワーク(防御されないネットワーク)であり、例えば、インターネットである。外部ネットワーク2は、ファイアウォール装置30に接続された1つのネットワークであっても良いし、複数のネットワークでも良い。 The external network 2 is a network separated from the internal network 1 by the firewall device 30. The internal network 1 is a closed network protected by the firewall device 30, while the external network 2 is a network (unprotected network) outside the protection of the firewall device 30, for example, the Internet. The external network 2 may be one network connected to the firewall device 30, or may be a plurality of networks.

初めに、図2を参照しつつ、第1の実施形態に係る通信システムの動作概略を説明する。 First, the operation outline of the communication system according to the first embodiment will be described with reference to FIG.

第1の実施形態では、内部機器10は計測機器等のIoT端末であり、温度等の物理量に関するデータを収集する。内部機器10は、収集したデータを、通信制御装置20を介して外部機器40に送信する(測定データを含むパケットを送信する)。 In the first embodiment, the internal device 10 is an IoT terminal such as a measuring device, and collects data on physical quantities such as temperature. The internal device 10 transmits the collected data to the external device 40 via the communication control device 20 (transmits a packet including the measurement data).

通信制御装置20は、内部機器10から送信されたパケットを受信する。通信制御装置20は、パケットの送信元、送信時刻等を記憶すると共に、受信したパケットを、ファイアウォール装置30を介して外部機器40に送信する(転送する)。その際、通信制御装置20は、所定の規則に従いパケット送信制御を行う。例えば、通信制御装置20は、各内部機器10に関し、先に外部機器40に向けて送信したパケットから所定の期間が経過するまでは、次のパケットを送信しない。通信制御装置20は、当該パケット送信制御に、上記記憶したパケットの送信先及び送信時刻を利用する。 The communication control device 20 receives the packet transmitted from the internal device 10. The communication control device 20 stores the source of the packet, the transmission time, and the like, and transmits (transfers) the received packet to the external device 40 via the firewall device 30. At that time, the communication control device 20 performs packet transmission control according to a predetermined rule. For example, the communication control device 20 does not transmit the next packet for each internal device 10 until a predetermined period has elapsed from the packet previously transmitted to the external device 40. The communication control device 20 uses the transmission destination and transmission time of the stored packet for the packet transmission control.

外部機器40は、内部機器10から送信されたパケットを受信し、温度等の測定データを収集する。また、外部機器40は、内部機器10から送信パケットを受信したことに応じて、応答パケットを内部機器10に向けて送信する。 The external device 40 receives the packet transmitted from the internal device 10 and collects measurement data such as temperature. Further, the external device 40 transmits a response packet toward the internal device 10 in response to receiving the transmission packet from the internal device 10.

なお、応答パケットとして、通常、肯定応答(ACK;ACKnowledgement)に係るパケットが想定されるが、否定応答(NACK;Negative ACKnowledgement)に係るパケットの場合もあり得る。 As the response packet, a packet related to an acknowledgment (ACK; ACKnowledgement) is usually assumed, but a packet related to a negative response (NACK; Negative ACKnowledgement) may also be used.

ここで、外部機器40には、内部機器10を制御するための情報(制御情報)が、通信システムの管理者等により登録されることがある。つまり、管理者等が、内部機器10に校正動作を行わせたい場合や、内部機器10の動作変更、設定変更等を行いたい場合に、内部機器10に動作変更を指示するための制御情報が外部機器40に登録される。当該制御情報は、制御対象となる内部機器10を特定するための内部機器識別情報(例えば、IP(Internet Protocol)アドレス)と動作指示情報(例えば、動作させたいコマンド)の組み合わせからなる。 Here, in the external device 40, information (control information) for controlling the internal device 10 may be registered by the administrator of the communication system or the like. That is, when the administrator or the like wants the internal device 10 to perform the calibration operation, or when the internal device 10 wants to change the operation, the setting, etc., the control information for instructing the internal device 10 to change the operation is provided. It is registered in the external device 40. The control information includes a combination of internal device identification information (for example, IP (Internet Protocol) address) for identifying the internal device 10 to be controlled and operation instruction information (for example, a command to be operated).

外部機器40は、管理者等により制御情報が自装置に登録されていれば、当該制御情報を、内部機器10に送信する応答パケットに含ませる。 If the control information is registered in the own device by the administrator or the like, the external device 40 includes the control information in the response packet transmitted to the internal device 10.

通信制御装置20は、外部機器40から送信されたパケット(応答パケット)を、ファイアウォール装置30を介して受信する。通信制御装置20は、応答パケットを、外部機器40に向けて測定データ(パケット)を送信した内部機器10に対して転送する。また、通信制御装置20は、応答パケットに制御情報が含まれている場合には、当該制御情報を、応答パケットから分離して抽出する。 The communication control device 20 receives the packet (response packet) transmitted from the external device 40 via the firewall device 30. The communication control device 20 transfers the response packet to the internal device 10 that has transmitted the measurement data (packet) to the external device 40. When the response packet contains control information, the communication control device 20 separates the control information from the response packet and extracts the control information.

その後、通信制御装置20は、内部機器識別情報により特定される内部機器10に向けて、動作指示情報を含む制御指示パケットを送信する。内部機器10は、取得した制御指示パケットに含まれる動作指示情報に従った動作を行う。 After that, the communication control device 20 transmits a control instruction packet including the operation instruction information to the internal device 10 specified by the internal device identification information. The internal device 10 performs an operation according to the operation instruction information included in the acquired control instruction packet.

このように、第1の実施形態の通信システムでは、内部機器10から送信されたデータ(パケット)は通信制御装置20に集約され、通信制御装置20を経由して外部機器40に送信される。その際、通信制御装置20は、外部機器40に対して過度にデータが送信されることがないように、先にパケットを送信してから所定の期間が経過するまではパケットを転送しない。その結果、外部機器40を初めとした通信装置の負荷が上昇することもない。 As described above, in the communication system of the first embodiment, the data (packets) transmitted from the internal device 10 are aggregated in the communication control device 20 and transmitted to the external device 40 via the communication control device 20. At that time, the communication control device 20 does not transfer the packet until a predetermined period elapses after the packet is first transmitted so that the data is not excessively transmitted to the external device 40. As a result, the load on the communication device including the external device 40 does not increase.

また、外部機器40から内部機器10への制御情報の伝達は、内部機器10に対する応答パケットにより行われ、当該応答パケットにはいずれの内部機器10に向けた制御情報であるかを明示する内部機器識別情報と、その具体的内容である動作指示情報と、を含ませる。このことは、複数の内部機器10のうち、いずれか1つが外部機器40に向けてデータを送信すれば、外部機器40は、内部ネットワーク1に含まれる任意の内部機器10に制御情報の伝達が可能であることを意味する。その結果、内部機器10に対する制御情報を適切なタイミングで送信することができる。 Further, the control information is transmitted from the external device 40 to the internal device 10 by a response packet to the internal device 10, and the response packet is an internal device that clearly indicates which internal device 10 the control information is directed to. The identification information and the operation instruction information which is the specific content thereof are included. This means that if any one of the plurality of internal devices 10 transmits data to the external device 40, the external device 40 can transmit control information to any internal device 10 included in the internal network 1. It means that it is possible. As a result, control information for the internal device 10 can be transmitted at an appropriate timing.

例えば、図2の例では、内部機器10−1が、通信制御装置20及びファイアウォール装置30を介して外部機器40にパケットを送信した際、内部機器10−2に対する指示情報を、内部機器10−1に対する応答パケットに含めることができる。この場合、例えば、内部機器10−2が長期間データの送信を行わないような装置であったとしても、他の内部機器10−1からのデータ送信を契機として内部機器10−2に制御情報を伝達することができる。 For example, in the example of FIG. 2, when the internal device 10-1 transmits a packet to the external device 40 via the communication control device 20 and the firewall device 30, the instruction information for the internal device 10-2 is transmitted to the internal device 10-. It can be included in the response packet to 1. In this case, for example, even if the internal device 10-2 is a device that does not transmit data for a long period of time, the control information is controlled to the internal device 10-2 triggered by the data transmission from the other internal device 10-1. Can be transmitted.

続いて、第1の実施形態に含まれる各装置の詳細について説明する。 Subsequently, the details of each device included in the first embodiment will be described.

[内部機器]
内部機器10は、内部ネットワーク1に有線又は無線により接続された機器である。内部機器10は、サーバ装置、パーソナルコンピュータ等の情報処理装置、又は、計測機器である。
[Internal equipment]
The internal device 10 is a device connected to the internal network 1 by wire or wirelessly. The internal device 10 is a server device, an information processing device such as a personal computer, or a measuring device.

計測機器は、例えば、温度や湿度等の物理量を検出して信号(デジタルデータ)に変換し、当該変換したデータを、ネットワークを介して他の装置(図2の例では外部機器40)に送信する機能を有する。また、計測機器は、ネットワークに接続された他の装置等から情報(上述の動作指示情報)を取得する。計測機器は、当該動作指示情報により、自装置の校正や自装置の設定(例えば、自装置が動作する時間間隔)等の各種設定を変更したり、動作を変更したりする。 The measuring device detects physical quantities such as temperature and humidity, converts them into signals (digital data), and transmits the converted data to another device (external device 40 in the example of FIG. 2) via a network. Has the function of In addition, the measuring device acquires information (the above-mentioned operation instruction information) from another device or the like connected to the network. The measuring device changes various settings such as calibration of the own device and settings of the own device (for example, the time interval in which the own device operates) or changes the operation based on the operation instruction information.

このように、内部機器10は、システムに内蔵されたセンサ等が得た情報より所定のプログラムに従って、自身の動作を制御する装置、例えば、PLC(Programmable Logic Controller)等であってもよく、その動作や判断等の設定を外部から送信された情報により変更可能に構成されている。 As described above, the internal device 10 may be a device that controls its own operation according to a predetermined program from the information obtained by the sensor or the like built in the system, for example, a PLC (Programmable Logic Controller) or the like. Settings such as operation and judgment can be changed by information sent from the outside.

内部ネットワーク1に接続された内部機器10には、サーバ装置、情報処理装置(コンピュータ)等に加え、上記機能を有する計測機器が含まれる。第1の実施形態では、内部機器10は、上記のような計測機器であることを前提として説明する。但し、上述のように、内部機器10は計測機器ではなくコンピュータ等の端末でもよい。 The internal device 10 connected to the internal network 1 includes a measuring device having the above functions in addition to a server device, an information processing device (computer), and the like. In the first embodiment, the internal device 10 will be described on the premise that it is a measuring device as described above. However, as described above, the internal device 10 may be a terminal such as a computer instead of the measuring device.

図2に示すように、内部機器10は、センサ情報取得部101と、受信部102と、送信部103と、制御部104と、を含んで構成される。 As shown in FIG. 2, the internal device 10 includes a sensor information acquisition unit 101, a reception unit 102, a transmission unit 103, and a control unit 104.

センサ情報取得部101は、自装置に内蔵されたセンサ(図示せず)から物理量を取得し、当該物理量をデジタルデータに変換する手段である。 The sensor information acquisition unit 101 is a means for acquiring a physical quantity from a sensor (not shown) built in the own device and converting the physical quantity into digital data.

受信部102は、パケットを受信する手段である。例えば、受信部102は、通信制御装置20を介して外部機器40から応答パケットを受信する、又は、通信制御装置20から制御指示パケットを受信する。 The receiving unit 102 is a means for receiving a packet. For example, the receiving unit 102 receives a response packet from the external device 40 via the communication control device 20, or receives a control instruction packet from the communication control device 20.

送信部103は、パケットを送信する手段である。例えば、送信部103は、センサ情報取得部101が取得した物理量に関するデータを含むパケットを、通信制御装置20及びファイアウォール装置30を介して外部機器40に送信する。 The transmission unit 103 is a means for transmitting a packet. For example, the transmission unit 103 transmits a packet containing data related to the physical quantity acquired by the sensor information acquisition unit 101 to the external device 40 via the communication control device 20 and the firewall device 30.

制御部104は、内部機器10の全体を制御する手段である。また、制御部104は、通信制御装置20から制御指示パケットを取得した場合には、当該パケットに含まれる動作指示情報に応じた動作を行う。具体的には、動作指示情報が自装置の校正動作に関する内容であれば、制御部104は、指示された校正動作を行う。あるいは、動作指示情報がコマンドを含むものであれば、制御部104は、取得したコマンドを実行する。 The control unit 104 is a means for controlling the entire internal device 10. Further, when the control unit 104 acquires the control instruction packet from the communication control device 20, the control unit 104 performs an operation according to the operation instruction information included in the packet. Specifically, if the operation instruction information is related to the calibration operation of the own device, the control unit 104 performs the instructed calibration operation. Alternatively, if the operation instruction information includes a command, the control unit 104 executes the acquired command.

なお、内部機器10−1〜10−3はそれぞれ、同一の構成とすることができる。 The internal devices 10-1 to 10-3 can each have the same configuration.

[通信制御装置]
通信制御装置20は、内部ネットワーク1に接続された装置であって、所謂、ゲートウェイとしての機能を有する。通信制御装置20は、内部ネットワーク1に接続された内部機器10と外部ネットワーク2に接続された外部機器40の間の通信を中継する。より具体的には、通信制御装置20は、内部ネットワーク1に接続されるファイアウォール装置30を介して外部機器40との間でパケットの送受信を行う。
[Communication control device]
The communication control device 20 is a device connected to the internal network 1 and has a function as a so-called gateway. The communication control device 20 relays communication between the internal device 10 connected to the internal network 1 and the external device 40 connected to the external network 2. More specifically, the communication control device 20 transmits and receives packets to and from the external device 40 via the firewall device 30 connected to the internal network 1.

通信制御装置20は、内部機器10が外部機器40に向けて送信するパケット(宛先IPアドレスが外部機器40であるパケット)を受信し、当該パケットをファイアウォール装置30及び外部ネットワーク2を介して外部機器40に送信する。また、通信制御装置20は、外部機器40からの応答パケットを外部ネットワーク2及びファイアウォール装置30を介して受信し、当該パケットを内部機器10に転送する。このように、通信制御装置20は、内部ネットワーク1に接続された1又は複数の内部機器10から出力されるパケットを受信する。通信制御装置20は、受信したパケットを外部ネットワーク2に接続された外部機器40に向けて送信する。 The communication control device 20 receives a packet (a packet whose destination IP address is the external device 40) transmitted by the internal device 10 to the external device 40, and sends the packet to the external device via the firewall device 30 and the external network 2. Send to 40. Further, the communication control device 20 receives the response packet from the external device 40 via the external network 2 and the firewall device 30, and transfers the packet to the internal device 10. In this way, the communication control device 20 receives the packets output from one or a plurality of internal devices 10 connected to the internal network 1. The communication control device 20 transmits the received packet to the external device 40 connected to the external network 2.

ここで、上述のように、外部機器40から送信される(返信される)応答パケットには、制御情報(内部機器識別情報と動作指示情報)が含まれることがある。応答パケットに制御情報が含まれる場合には、通信制御装置20は、受信した応答パケットから制御情報を分離して抽出する。通信制御装置20は、取得した動作指示情報に基づき制御指示パケットを生成し、内部機器識別情報から特定した内部機器10に対して当該パケットを送信する。即ち、通信制御装置20は、複数の内部機器10のうち、外部機器40により送信された制御情報が対象とする内部機器10に対し、制御情報から得られる動作を指示する。 Here, as described above, the response packet transmitted (replied) from the external device 40 may include control information (internal device identification information and operation instruction information). When the response packet contains control information, the communication control device 20 separates and extracts the control information from the received response packet. The communication control device 20 generates a control instruction packet based on the acquired operation instruction information, and transmits the packet to the internal device 10 specified from the internal device identification information. That is, the communication control device 20 instructs the internal device 10 targeted by the control information transmitted by the external device 40 among the plurality of internal devices 10 to perform an operation obtained from the control information.

図2に示すように、通信制御装置20は、受信部201と、送信部202と、制御部203と、応答パケット処理部204と、制御情報処理部205と、送信履歴記憶部206と、を含んで構成される。 As shown in FIG. 2, the communication control device 20 includes a receiving unit 201, a transmitting unit 202, a control unit 203, a response packet processing unit 204, a control information processing unit 205, and a transmission history storage unit 206. Consists of including.

受信部201は、内部機器10が送信するパケットを、内部ネットワーク1を介して受信する。また、受信部201は、外部機器40が送信する応答パケットを、ファイアウォール装置30を介して受信する。 The receiving unit 201 receives the packet transmitted by the internal device 10 via the internal network 1. Further, the receiving unit 201 receives the response packet transmitted by the external device 40 via the firewall device 30.

送信部202は、ファイアウォール装置30及び外部ネットワーク2を介して、内部機器10から受信したパケットを外部機器40に送信する。 The transmission unit 202 transmits the packet received from the internal device 10 to the external device 40 via the firewall device 30 and the external network 2.

制御部203は、自装置(通信制御装置20)から外部機器40にパケットを送信する間隔の制御を行う機能を有する。制御部203は、所定の規則に従って、内部機器10から外部機器40へのパケット送信を制御する。例えば、制御部203は、内部機器10が外部機器40に対してパケットを送信してから所定の期間が経過するまでは次のパケットを送信しない。 The control unit 203 has a function of controlling the interval at which packets are transmitted from the own device (communication control device 20) to the external device 40. The control unit 203 controls packet transmission from the internal device 10 to the external device 40 according to a predetermined rule. For example, the control unit 203 does not transmit the next packet until a predetermined period elapses after the internal device 10 transmits the packet to the external device 40.

制御部203によるパケット送信制御は、内部機器10それぞれに関して行われる。より具体的には、制御部203は、内部機器10ごとに上記パケット送信制御を行う。例えば、図2を参照すると、制御部203は、内部機器10−1がパケットを送信してから所定の期間が経過するまでは、内部機器10−1から送信された次のパケットを外部機器40に送信しない。しかし、上記内部機器10−1に関する所定期間の経過前に、他の内部機器10−2がパケットを送信した場合には、制御部203は、当該内部機器10−2が先にパケットを送信してから所定の期間が経過していれば当該内部機器10−2からのパケットを外部機器40に送信する。 Packet transmission control by the control unit 203 is performed for each of the internal devices 10. More specifically, the control unit 203 performs the packet transmission control for each internal device 10. For example, referring to FIG. 2, the control unit 203 transmits the next packet transmitted from the internal device 10-1 to the external device 40 until a predetermined period elapses after the internal device 10-1 transmits the packet. Do not send to. However, if another internal device 10-2 transmits a packet before the elapse of the predetermined period for the internal device 10-1, the control unit 203 transmits the packet first by the internal device 10-2. If a predetermined period has elapsed since then, the packet from the internal device 10-2 is transmitted to the external device 40.

このように、制御部203は、内部機器10ごとに上記パケット送信制御を行う。つまり、制御部203は、同一の内部機器10が外部機器40に送信するパケット間の送信間隔が、所定の期間よりも長くなるように、内部機器10から外部機器40へのパケット送信を制御する。 In this way, the control unit 203 performs the packet transmission control for each internal device 10. That is, the control unit 203 controls packet transmission from the internal device 10 to the external device 40 so that the transmission interval between packets transmitted by the same internal device 10 to the external device 40 is longer than a predetermined period. ..

なお、上記パケット送信制御に用いる閾値(直前のパケット送信時刻と現在時刻の差分とを比較する値;上記所定の期間)は、全ての内部機器10に共通であっても良いし、内部機器10のそれぞれについて個別に設定してもよい。 The threshold value used for the packet transmission control (value for comparing the difference between the immediately preceding packet transmission time and the current time; the predetermined period) may be common to all the internal devices 10 or may be common to the internal devices 10. It may be set individually for each of.

応答パケット処理部204は、ファイアウォール装置30を介して取得した外部機器40からの応答パケットを処理する手段である。取得した応答パケットに制御情報が含まれていない場合には、応答パケット処理部204は、取得した応答パケットを当該パケットの宛先である内部機器10に転送する(送信部202から応答パケットを出力する)。 The response packet processing unit 204 is a means for processing the response packet from the external device 40 acquired via the firewall device 30. If the acquired response packet does not contain control information, the response packet processing unit 204 forwards the acquired response packet to the internal device 10 which is the destination of the packet (outputs the response packet from the transmission unit 202). ).

取得した応答パケットに制御情報が含まれている場合には、応答パケット処理部204は、当該制御情報を応答パケットから分離し、抽出する。その後、応答パケット処理部204は、制御情報が抽出された(当該情報を含まない)応答パケットを、当該パケットの宛先である内部機器10に転送する。その際、応答パケット処理部204は、必要に応じて応答パケットにおけるパケットサイズ等のフィールドを修正する。なお、内部機器10において、他の装置に対する制御情報が応答パケットに含まれていても誤動作を生じない検証が行われていれば、応答パケット処理部204は、外部機器40から取得した応答パケットをその宛先にそのまま送信してもよい。 When the acquired response packet contains control information, the response packet processing unit 204 separates the control information from the response packet and extracts it. After that, the response packet processing unit 204 forwards the response packet from which the control information is extracted (not including the information) to the internal device 10 which is the destination of the packet. At that time, the response packet processing unit 204 corrects fields such as the packet size in the response packet as necessary. If the internal device 10 has been verified so as not to cause a malfunction even if the response packet contains control information for another device, the response packet processing unit 204 receives the response packet acquired from the external device 40. It may be sent to that destination as it is.

応答パケット処理部204は、応答パケットから分離して抽出した制御情報を制御情報処理部205に引き渡す。なお、内部機器識別情報は、内部機器10を特定するための情報であり、例えば、IPアドレス、ホスト名及びセンサ情報等が該当する。また、動作指示情報は、内部機器10を制御するための情報であり、例えば、内部機器10が実行するコマンド、プログラム等が該当する。 The response packet processing unit 204 delivers the control information extracted separately from the response packet to the control information processing unit 205. The internal device identification information is information for identifying the internal device 10, and corresponds to, for example, an IP address, a host name, sensor information, and the like. Further, the operation instruction information is information for controlling the internal device 10, and corresponds to, for example, a command, a program, or the like executed by the internal device 10.

制御情報処理部205は、応答パケット処理部204から取得した内部機器識別情報により特定される内部機器10に対し、同じく応答パケット処理部204から取得した動作指示情報を含む制御指示パケットを送信する(送信部202を介して送信する)。つまり、制御情報処理部205は、内部機器識別情報により特定される内部機器10に対し、外部機器40が通知する動作指示情報により指定される動作を行うように指示する。 The control information processing unit 205 transmits a control instruction packet including the operation instruction information also acquired from the response packet processing unit 204 to the internal device 10 specified by the internal device identification information acquired from the response packet processing unit 204 (. It is transmitted via the transmission unit 202). That is, the control information processing unit 205 instructs the internal device 10 specified by the internal device identification information to perform the operation specified by the operation instruction information notified by the external device 40.

このように、通信制御装置20は、内部機器識別情報により制御対象となる内部機器10を特定し、当該特定した内部機器10に対し動作指示情報に応じた動作を行うように命じる機能を有する。 As described above, the communication control device 20 has a function of specifying the internal device 10 to be controlled by the internal device identification information and instructing the specified internal device 10 to perform an operation according to the operation instruction information.

送信履歴記憶部206は、自装置(通信制御装置20)にて受信したデータの送信元である内部機器10を特定する為の識別情報(例えば、IPアドレス、ホスト名、センサ情報)と、当該データを送信部202が外部機器40に向けて送信した時刻と、を対応付けて記憶する(図3参照)。送信履歴記憶部206が記憶する情報は、制御部203によるデータ送信制御に用いられる。 The transmission history storage unit 206 includes identification information (for example, IP address, host name, sensor information) for identifying the internal device 10 that is the source of the data received by the own device (communication control device 20), and the corresponding information. The time when the data is transmitted by the transmission unit 202 to the external device 40 is stored in association with each other (see FIG. 3). The information stored in the transmission history storage unit 206 is used for data transmission control by the control unit 203.

[ファイアウォール装置]
ファイアウォール装置30は、内部ネットワーク1と外部ネットワーク2を分離し、パケットのフィルタリングを実行する装置である。ファイアウォール装置30は、1つ以上の内部ネットワーク1と1つ以上の外部ネットワーク2の間に接続される。
[Firewall device]
The firewall device 30 is a device that separates the internal network 1 and the external network 2 and executes packet filtering. The firewall device 30 is connected between one or more internal networks 1 and one or more external networks 2.

ファイアウォール装置30は、予め設定された条件に応じてパケットの送受信を制御する装置である。具体的には、ファイアウォール装置30は、IPアドレス、通信ポート(ポート番号)、プロトコル、通信制御情報(例えば、ヘッダに含まれる通信属性情報)及びこれらの2以上の組み合わせを規定する予め定めた条件と、受信したパケットに含まれる情報と、一致するか否かを判断する。 The firewall device 30 is a device that controls the transmission and reception of packets according to preset conditions. Specifically, the firewall device 30 defines a predetermined condition that defines an IP address, a communication port (port number), a protocol, communication control information (for example, communication attribute information included in a header), and a combination of two or more of these. And, it is determined whether or not it matches the information contained in the received packet.

ファイアウォール装置30は、予め定めた条件に一致しないパケットを通過させず破棄する。一方、上記設定された条件に受信パケットに含まれる情報が一致する場合には、ファイアウォール装置30は、予め設定された条件に応じて、ネットワーク(例えば、外部ネットワーク2)からの通信を許可するか遮断するか判断する。 The firewall device 30 discards packets that do not match the predetermined conditions without passing them through. On the other hand, if the information contained in the received packet matches the above-set conditions, does the firewall device 30 allow communication from the network (for example, the external network 2) according to the preset conditions? Decide whether to shut off.

ファイアウォール装置30は、判断した結果に応じて、外部ネットワーク2からのパケットを通過させる(通信を許可する)又は破棄する(通信を遮断する)。 The firewall device 30 passes the packet from the external network 2 (allows communication) or discards (blocks communication) depending on the result of the determination.

なお、ファイアウォール装置30は、コンピュータ等にインストールされたソフトウェアにより実現され、パケットの通過又は遮断を行う。あるいは、ファイアウォール装置30は、上記機能を有する、専用ハードウェアで構成された装置であっても良い。なお、上記ファイアウォール装置30のフィルタリング動作は、所謂、ホワイトリスト方式によるものであるが、ブラックリスト方式によるフィルタリング方式であっても良いことは勿論である。 The firewall device 30 is realized by software installed in a computer or the like, and passes or blocks packets. Alternatively, the firewall device 30 may be a device having the above functions and configured with dedicated hardware. The filtering operation of the firewall device 30 is based on the so-called white list method, but it goes without saying that the filtering method may be based on the blacklist method.

第1の実施形態では、ファイアウォール装置30は、外部ネットワーク2に接続された外部機器40から内部ネットワーク1に接続された内部機器10及び通信制御装置20への通信は遮断し得るが、通信制御装置20等から外部機器40への通信は遮断されないものとする。 In the first embodiment, the firewall device 30 can block communication from the external device 40 connected to the external network 2 to the internal device 10 and the communication control device 20 connected to the internal network 1, but the communication control device Communication from 20 mag to the external device 40 shall not be blocked.

また、ファイアウォール装置30は、通信制御装置20等から外部機器40に送信されたパケットから得られる情報(例えば、IPアドレス、ポート番号、通信制御情報、接続先がパケットを受け付けたことを示すACK番号等)を記憶する。その後、ファイアウォール装置30は、通信制御装置20等が、外部機器40にパケットを送信した後に外部機器40からの応答パケットから得られる情報(上記記憶した情報に対応する、IPアドレス、ポート番号、通信制御情報、ACK番号)と、先に記憶した情報と、比較し一致しているか否かを判断する。 Further, the firewall device 30 has information (for example, IP address, port number, communication control information, ACK number indicating that the connection destination has received the packet) obtained from the packet transmitted from the communication control device 20 or the like to the external device 40. Etc.) are memorized. After that, the firewall device 30 uses the information obtained from the response packet from the external device 40 after the communication control device 20 or the like transmits the packet to the external device 40 (IP address, port number, communication corresponding to the stored information). The control information (ACK number) and the previously stored information are compared to determine whether or not they match.

両者が一致している場合には、ファイアウォール装置30は、外部機器40から取得したパケットは、通信制御装置20等が外部機器40に送信したパケットに対する応答パケットであると判断し、当該パケット(外部機器40から通信制御装置20等に送信された応答パケット)を遮断せず通過させる。 If they match, the firewall device 30 determines that the packet acquired from the external device 40 is a response packet to the packet transmitted by the communication control device 20 or the like to the external device 40, and the packet (external). The response packet transmitted from the device 40 to the communication control device 20 or the like) is passed through without being blocked.

このように、ファイアウォール装置30は、所謂、動的フィルタリングに対応し、内部機器10から送信されたパケットに対する外部機器40からの応答パケットを通過させる。つまり、ファイアウォール装置30は、所定の期間、通信開始からセッションが確立されている間、又は、外部機器40からの通信が終了するまでの期間、通信制御装置20等から外部機器40に送信されたパケットから得られる上記情報を記憶し、外部機器40から送信されるパケットのフィルタリングに利用する。なお、外部機器40からの通信が終了するまでの期間とは、通信を開始し、FIN・ACK(FINish・ACKnowledgment:肯定する応答の内の最終の確認応答)が送出され、通信が終了した事をファイアウォール装置30が認識するまでの期間である。 In this way, the firewall device 30 corresponds to so-called dynamic filtering, and passes the response packet from the external device 40 to the packet transmitted from the internal device 10. That is, the firewall device 30 is transmitted from the communication control device 20 or the like to the external device 40 for a predetermined period, during the period from the start of communication to the end of the session, or until the end of communication from the external device 40. The above information obtained from the packet is stored and used for filtering the packet transmitted from the external device 40. The period until the communication from the external device 40 is completed means that the communication is started, FIN · ACK (FINISH · ACKnowledgement: the final acknowledgment among the affirmative responses) is sent, and the communication is terminated. Is the period until the firewall device 30 recognizes.

なお、上記のように、ファイアウォール装置30が動的フィルタリングにより、外部機器40からの応答パケットを通過させているが、所謂、静的フィルタリングを用いて、外部機器から内部機器への通信(パケットの通過)を許可してもよい。つまり、送信元を外部機器40のIPアドレス、宛先を内部機器10のIPアドレス、とするようなフィルタリング規則をファイアウォール装置30に登録し、応答パケットの通過を実現してもよい。 As described above, the firewall device 30 passes the response packet from the external device 40 by dynamic filtering, but communication from the external device to the internal device (packet packet) using so-called static filtering. Passage) may be allowed. That is, a filtering rule such that the source is the IP address of the external device 40 and the destination is the IP address of the internal device 10 may be registered in the firewall device 30 to realize the passage of the response packet.

[外部機器]
外部機器40は、内部機器10からの送信パケットを受信する装置である。また、外部機器40は、必要に応じて、制御情報を含む応答パケットを送信する装置である。より具体的には、外部機器40は、制御対象となる内部機器10に対応する内部機器識別情報と具体的な制御内容を示す動作指示情報を予め内部に登録する。
[External device]
The external device 40 is a device that receives a transmission packet from the internal device 10. Further, the external device 40 is a device that transmits a response packet including control information as needed. More specifically, the external device 40 internally registers the internal device identification information corresponding to the internal device 10 to be controlled and the operation instruction information indicating the specific control content in advance.

外部機器40は、通信制御装置20から送信されたパケットを受信した際、制御情報が登録されていれば、登録された制御情報を上記受信したパケットに対する応答パケットに含ませ、ファイアウォール装置30を介して通信制御装置20に送信する。即ち、外部機器40は、複数の内部機器10のうちいずれかの内部機器10から受信したパケットに対する応答パケットに、複数の内部機器10のうち少なくとも1以上の内部機器10に対する制御情報を含める。 When the external device 40 receives the packet transmitted from the communication control device 20, if the control information is registered, the external device 40 includes the registered control information in the response packet to the received packet and passes through the firewall device 30. Is transmitted to the communication control device 20. That is, the external device 40 includes control information for at least one or more of the internal devices 10 among the plurality of internal devices 10 in the response packet to the packet received from the internal device 10 of the plurality of internal devices 10.

図2に示すように、外部機器40は、制御情報入力部401と、受信部402と、制御部403と、送信部404と、制御情報記憶部405と、を含んで構成される。 As shown in FIG. 2, the external device 40 includes a control information input unit 401, a reception unit 402, a control unit 403, a transmission unit 404, and a control information storage unit 405.

制御情報入力部401は、ネットワーク管理者等のユーザから制御情報(内部機器識別情報と動作指示情報)の入力を受け付ける手段である。制御情報入力部401は、ユーザから入力される、複数の内部機器10のうち制御対象となる内部機器10を特定するための内部機器識別情報と、当該制御対象となる内部機器10に実行させる動作に関する動作指示情報(内部機器10を制御する際の具体的な内容)と、を関連付けて制御情報記憶部405に登録する。 The control information input unit 401 is a means for receiving input of control information (internal device identification information and operation instruction information) from a user such as a network administrator. The control information input unit 401 includes internal device identification information for identifying the internal device 10 to be controlled among a plurality of internal devices 10 input by the user, and an operation of causing the internal device 10 to be controlled to execute the control information input unit 401. The operation instruction information (specific content when controlling the internal device 10) is associated with and registered in the control information storage unit 405.

なお、動作指示情報は、内部機器10に要求する具体的な動作を明示する情報であり、例えば、コマンドや、コマンドを実行するプログラム、プログラム実行時にプログラムに与える引数等が例示される。例えば、内部機器10に校正動作を行わせるコマンド、プログラム等が動作指示情報に含まれる。あるいは、内部機器10に校正動作を要求する指示や、内部機器10が動作する際の設定パラメータ(例えば、間欠動作における起動周期、起動時間等)等のテキスト情報が動作指示情報として使用されてもよい。 The operation instruction information is information that clearly indicates a specific operation required for the internal device 10, and examples thereof include a command, a program that executes the command, and an argument given to the program when the program is executed. For example, a command, a program, or the like that causes the internal device 10 to perform a calibration operation is included in the operation instruction information. Alternatively, even if text information such as an instruction requesting the internal device 10 to perform a calibration operation or setting parameters when the internal device 10 operates (for example, start cycle in intermittent operation, start time, etc.) is used as the operation instruction information. good.

図4は、制御情報記憶部405に登録された制御情報の一例を示す図である。図4に示すように、制御情報記憶部405には、1つの内部機器識別情報と1つの動作指示情報を1対1で登録することができる。 FIG. 4 is a diagram showing an example of control information registered in the control information storage unit 405. As shown in FIG. 4, one internal device identification information and one operation instruction information can be registered in the control information storage unit 405 on a one-to-one basis.

なお、制御情報入力部401は、内部機器識別情報と動作指示情報を1対1で制御情報記憶部405に登録してもよいが、1対多で登録してもよい。つまり、1つの内部機器識別情報に複数の動作指示情報が対応付けられていても良い。例えば、ある動作指示情報が使用されてから所定の期間経過後に別の動作指示情報が使用されるような場合が、1つの内部機器10に設定する情報が複数有る場合として例示される。 The control information input unit 401 may register the internal device identification information and the operation instruction information in the control information storage unit 405 on a one-to-one basis, or may register the internal device identification information and the operation instruction information on a one-to-many basis. That is, a plurality of operation instruction information may be associated with one internal device identification information. For example, a case where another operation instruction information is used after a lapse of a predetermined period after a certain operation instruction information is used is exemplified as a case where there is a plurality of information to be set in one internal device 10.

この場合、制御情報入力部401により登録される制御情報は、1つの内部機器識別情報に対して、複数の動作指示情報が分離可能に構成され、且つ、当該複数の動作指示情報の使用方法が明示されていればよい。 In this case, the control information registered by the control information input unit 401 is configured so that a plurality of operation instruction information can be separated from one internal device identification information, and the method of using the plurality of operation instruction information can be used. It suffices if it is specified.

1つの内部機器識別情報に複数の動作指示情報を対応付ける場合には、例えば、図5の1行目に示すように、データ構成(内部機器識別情報と動作指示情報の並び)を予め定め、使用方法を明記しておけばよい。図5の例であれば、2つの動作指示情報をカンマで区切って並べておくことで、外部機器40は、指示1(Instruction_1)を内部機器10(IPアドレス=192.168.0.X1)に送信してからY1秒経過後に、別の指示2(Instruction_2)を同じ内部機器10に送信できる。 When associating a plurality of operation instruction information with one internal device identification information, for example, as shown in the first line of FIG. 5, the data structure (arrangement of the internal device identification information and the operation instruction information) is predetermined and used. You just have to specify the method. In the example of FIG. 5, by arranging the two operation instruction information separated by a comma, the external device 40 sets the instruction 1 (Instruction_1) to the internal device 10 (IP address = 192.168.0.0.X1). Another instruction 2 (Instruction_2) can be transmitted to the same internal device 10 after Y1 second has elapsed from the transmission.

あるいは、図5の1行目に示すようなデータ構成を応答パケットの中に分離可能に含める対応であってもよい。1つの内部機器識別情報、複数の動作指示情報及びその使用方法を分離可能に含む応答パケットを通信制御装置20に送信することで、通信制御装置20は、同じ内部機器10に対する異なる制御を順次実行することができる。 Alternatively, the data configuration as shown in the first line of FIG. 5 may be separably included in the response packet. By transmitting a response packet containing one internal device identification information, a plurality of operation instruction information, and its usage method separably to the communication control device 20, the communication control device 20 sequentially executes different controls for the same internal device 10. can do.

あるいは、複数の内部機器識別情報と1つの動作指示情報が対応付けられていても良い(図6の1行目参照)。例えば、複数の内部機器10に対し同一の動作指示情報が与えられる場合が上記ケースに該当する。この場合であっても、データ構成(内部機器識別情報と動作指示情報の並び)を予め定めておく、又は、当該データ構成を示す情報を、応答パケットのなかに分離可能に含めておくことが必要となる。 Alternatively, a plurality of internal device identification information and one operation instruction information may be associated with each other (see the first line of FIG. 6). For example, the case where the same operation instruction information is given to a plurality of internal devices 10 corresponds to the above case. Even in this case, the data configuration (arrangement of internal device identification information and operation instruction information) may be predetermined, or the information indicating the data configuration may be separably included in the response packet. You will need it.

図6の例であれば、3つの内部機器識別情報に1つの動作指示情報を割り当てることで、実質的に3つの制御情報(内部機器識別情報と動作指示情報の組み合わせ)を表現している。つまり、内部機器識別情報(192.168.0.X1)と指示(Instruction_1)からなる制御情報と、内部機器識別情報(192.168.0.X2)と指示(Instruction_1)からなる制御情報と、内部機器識別情報(192.168.0.X3)と指示(Instruction_1)からなる制御情報と、の3つの制御情報が図6の1行目には記載されていることになる。 In the example of FIG. 6, by assigning one operation instruction information to the three internal device identification information, three control information (combination of the internal device identification information and the operation instruction information) is substantially expressed. That is, the control information consisting of the internal device identification information (192.168.0.X1) and the instruction (Instruction_1), the control information consisting of the internal device identification information (192.168.0.X2) and the instruction (Instruction_1), and the control information. Three control information, that is, the control information including the internal device identification information (192.168.0.X3) and the instruction (Instruction_1), is described in the first line of FIG.

また、図6に示すデータ構成を応答パケットに含ませれば、当該応答パケットを受信した通信制御装置20は、上記3つの制御情報が含まれていると解釈することもできる。 Further, if the data configuration shown in FIG. 6 is included in the response packet, it can be interpreted that the communication control device 20 that has received the response packet includes the above three control information.

あるいは、複数の内部機器識別情報と複数の動作指示情報が対応付けられていても良い(多対多の関係;図7参照)。つまり、図5の1行目に示す制御情報と図6の1行目に示す制御情報を組み合わせたような制御情報を用いても良い。 Alternatively, a plurality of internal device identification information and a plurality of operation instruction information may be associated with each other (many-to-many relationship; see FIG. 7). That is, control information such as a combination of the control information shown in the first line of FIG. 5 and the control information shown in the first line of FIG. 6 may be used.

このように、外部機器40に入力する、制御情報及びその内容に関するデータの組み合わせ等の構成は、自由に設定可能である。 As described above, the configuration such as the combination of the control information and the data related to the contents to be input to the external device 40 can be freely set.

受信部402は、通信制御装置20から送信されるパケットを、外部ネットワーク2等を介して受信する。 The receiving unit 402 receives the packet transmitted from the communication control device 20 via the external network 2 or the like.

制御部403は、制御情報記憶部405を参照し、制御情報が登録されているか否かを確認する。制御情報が登録されていれば、制御部403は、登録された制御情報(内部機器識別情報と動作指示情報の組み合わせ)を取得し、通信制御装置20に返信するためのパケットであって、当該取得した制御情報を含む応答パケットを生成する。なお、制御情報を含む応答パケットを生成すると、制御部403は、対応する制御情報を制御情報記憶部405から削除する。 The control unit 403 refers to the control information storage unit 405 and confirms whether or not the control information is registered. If the control information is registered, the control unit 403 is a packet for acquiring the registered control information (combination of internal device identification information and operation instruction information) and returning the packet to the communication control device 20. Generate a response packet containing the acquired control information. When the response packet including the control information is generated, the control unit 403 deletes the corresponding control information from the control information storage unit 405.

ここで、1つの応答パケットに含ませる制御情報(内部機器識別情報と動作指示情報の組み合わせ)は1つであっても良いし、複数の制御情報が含まれていても良い。 Here, the control information (combination of the internal device identification information and the operation instruction information) included in one response packet may be one, or a plurality of control information may be included.

例えば、図4を参照すると、制御部403は、1行目の制御情報(内部機器識別情報192.168.0.X1と動作指示情報Instraction_1)を1つの応答パケットに含ませ、2行目の制御情報(内部機器識別情報192.168.0.X2と動作指示情報Instraction_2)は他の応答パケットに含ませても良い。 For example, referring to FIG. 4, the control unit 403 includes the control information (internal device identification information 192.168.0.0.X1 and operation instruction information Instruction_1) in the first line in one response packet, and includes the control information in the second line. The control information (internal device identification information 192.168.0.X2 and operation instruction information Instruction_2) may be included in other response packets.

あるいは、制御部403は、複数の制御情報(図4の例では、1行目と2行目の制御情報)を1つの応答パケットに含ませても良い。1つの応答パケットに複数の制御情報を含ませる場合には、制御部403は、区切り文字等の情報(セパレータ)を各制御情報の間に挿入することで、複数の制御情報を1つの情報としてまとめ応答パケットに含ませても良い。 Alternatively, the control unit 403 may include a plurality of control information (control information in the first line and the second line in the example of FIG. 4) in one response packet. When a plurality of control information is included in one response packet, the control unit 403 inserts information (separator) such as a delimiter between each control information, so that the plurality of control information is regarded as one information. Summary It may be included in the response packet.

なお、区切り文字等には、例えば、カンマ、空白、コロン、セミコロン等が例示される。但し、情報を区切る情報はこれらに限定されない。上記以外にもデータの区切りと認識出来る文字コードや文字コード列であるならば、どの様なもので良い。 Examples of the delimiter include commas, spaces, colons, semicolons, and the like. However, the information that separates the information is not limited to these. In addition to the above, any character code or character code string that can be recognized as a data delimiter may be used.

図8は、制御部403が生成する、制御情報を含む応答パケットを概念的に示す図である。図8に示すように、複数の制御情報が1つの応答パケットに含まれていてもよい。図8の例では、制御情報Aと制御情報Bが含まれる。 FIG. 8 is a diagram conceptually showing a response packet including control information generated by the control unit 403. As shown in FIG. 8, a plurality of control information may be included in one response packet. In the example of FIG. 8, control information A and control information B are included.

また、図8に示すように、各制御情報は、区切り文字を内部機器識別情報又は動作指示情報の間に挿入することにより、1対多の組み合わせを表現している。なお、内部機器識別情報等を区切る区切り文字には、カンマ、空白、コロン、セミコロン等を用いることができる。なお、図8では、内部機器識別情報等の後に改行コードが挿入されているように図示しているが、実際には、データ列は1つの繋がった列とすることができる。つまり、図6のような表示形式とした場合に、各行の後尾に、改行コードが挿入されていることになるが、このような表示形式にとらわれず、区切り文字、区切りコード、改行コードが必ずしも必要ではない。また、区切り文字やコードは、予め、各データの並びに関するフォーマットを定めておけば、同一でも良く、区切り文字やコードは、対象によって、異なるものにしても良い。 Further, as shown in FIG. 8, each control information expresses a one-to-many combination by inserting a delimiter between the internal device identification information or the operation instruction information. A comma, a space, a colon, a semicolon, or the like can be used as the delimiter for separating the internal device identification information and the like. Although it is shown in FIG. 8 that a line feed code is inserted after the internal device identification information or the like, the data string can actually be one connected column. That is, in the case of the display format as shown in FIG. 6, a line feed code is inserted at the end of each line, but the delimiter, the line feed code, and the line feed code are not necessarily limited to such a display format. Not necessary. Further, the delimiter and the code may be the same as long as the format related to the arrangement of each data is determined in advance, and the delimiter and the code may be different depending on the target.

図8の例では、内部機器を特定する内部機器識別情報間の区切りを、カンマを表す文字コードとし、制御情報間の区切りを空白行としている。しかし、区切り文字やコードは、これらに限ったものでは無く、情報を表現する文字列に含まれない文字やコードで有れば、どの様な文字やコードを、区切りに使用にしても良いし、それぞれ異なっていても良い。 In the example of FIG. 8, the delimiter between the internal device identification information that identifies the internal device is a character code representing a comma, and the delimiter between the control information is a blank line. However, the delimiter or code is not limited to these, and any character or code may be used as the delimiter as long as it is a character or code that is not included in the character string expressing the information. , Each may be different.

送信部404は、制御部403が生成した応答パケットを、外部ネットワーク2等を介して通信制御装置20に送信する。 The transmission unit 404 transmits the response packet generated by the control unit 403 to the communication control device 20 via the external network 2 or the like.

制御情報記憶部405は、制御情報入力部401からの制御情報(内部機器識別情報と動作指示情報のペア;図4〜図7参照)を記憶する。なお、上述のように、内部機器識別情報は、制御対象となる内部機器10を識別する(特定する)ための情報(例えば、IPアドレス)である。また、動作指示情報は、内部機器10を制御するための情報であり、例えば、コマンド、プログラム、引数等である。上述のように、内部機器識別情報と動作指示情報の対応は1対1である必要はなく、1対多又は多対多であってもよい。 The control information storage unit 405 stores control information (a pair of internal device identification information and operation instruction information; see FIGS. 4 to 7) from the control information input unit 401. As described above, the internal device identification information is information (for example, an IP address) for identifying (identifying) the internal device 10 to be controlled. Further, the operation instruction information is information for controlling the internal device 10, and is, for example, a command, a program, an argument, or the like. As described above, the correspondence between the internal device identification information and the operation instruction information does not have to be one-to-one, and may be one-to-many or many-to-many.

[ハードウェア構成]
続いて、第1の実施形態に係る通信システムをなす装置のハードウェアについて説明する。図9は、通信制御装置20のハードウェア構成の一例を示す図である。
[Hardware configuration]
Subsequently, the hardware of the device forming the communication system according to the first embodiment will be described. FIG. 9 is a diagram showing an example of the hardware configuration of the communication control device 20.

通信制御装置20は、例えば、内部バスにより相互に接続される、CPU(Central Processing Unit)21、メモリ22、入出力インターフェイス23、通信手段であるNIC(Network Interface Card)24等を備える。 The communication control device 20 includes, for example, a CPU (Central Processing Unit) 21, a memory 22, an input / output interface 23, and a NIC (Network Interface Card) 24 as a communication means, which are connected to each other by an internal bus.

但し、図9に示す構成は、通信制御装置20のハードウェア構成を限定する趣旨ではない。通信制御装置20は、図示しないハードウェアを含んでもよい。また、通信制御装置20に含まれるCPU等の数も図9の例示に限定する趣旨ではなく、例えば、複数のCPUが通信制御装置20に含まれていてもよい。 However, the configuration shown in FIG. 9 is not intended to limit the hardware configuration of the communication control device 20. The communication control device 20 may include hardware (not shown). Further, the number of CPUs and the like included in the communication control device 20 is not limited to the example of FIG. 9, and for example, a plurality of CPUs may be included in the communication control device 20.

メモリ22は、RAM(Random Access Memory)、ROM(Read Only Memory)、補助記憶装置(ハードディスク等)である。 The memory 22 is a RAM (Random Access Memory), a ROM (Read Only Memory), and an auxiliary storage device (hard disk or the like).

入出力インターフェイス23は、表示装置や入力装置といった情報を入出力するためのデバイスのインターフェイスである。表示装置は、例えば、液晶ディスプレイ等である。入力装置は、例えば、キーボードやマウス等のユーザ操作を受け付ける装置や、USB(Universal Serial Bus)メモリ等の外部記憶装置から情報を入力する装置である。ユーザは、キーボードやマウス等を用いて、必要な情報を通信制御装置20に入力する。 The input / output interface 23 is an interface of a device for inputting / outputting information such as a display device and an input device. The display device is, for example, a liquid crystal display or the like. The input device is, for example, a device that accepts user operations such as a keyboard and a mouse, and a device that inputs information from an external storage device such as a USB (Universal Serial Bus) memory. The user inputs necessary information into the communication control device 20 using a keyboard, a mouse, or the like.

通信制御装置20の機能は、上述の処理モジュールにより実現される。当該処理モジュールは、例えば、メモリ22に格納されたプログラムをCPU21が実行することで実現される。また、そのプログラムは、ネットワークを介してダウンロードするか、あるいは、プログラムを記憶した記憶媒体を用いて、更新することができる。さらに、上記処理モジュールは、半導体チップにより実現されてもよい。即ち、上記処理モジュールが行う機能は、何らかのハードウェアにおいてソフトウェアが実行されることによって実現できればよい。 The function of the communication control device 20 is realized by the above-mentioned processing module. The processing module is realized, for example, by the CPU 21 executing a program stored in the memory 22. In addition, the program can be downloaded via a network or updated using a storage medium in which the program is stored. Further, the processing module may be realized by a semiconductor chip. That is, the function performed by the processing module may be realized by executing software on some hardware.

なお、内部機器10、ファイアウォール装置30及び外部機器40のハードウェアの基本的な構成は通信制御装置20と同一とすることができ、且つ、当業者において明らかであるためその説明を省略する。但し、第1の実施形態では、内部機器10は計測機器としているので、内部機器10が各計測に応じたセンサを含むことは勿論である。 The basic configuration of the hardware of the internal device 10, the firewall device 30, and the external device 40 can be the same as that of the communication control device 20, and the description thereof will be omitted because it is obvious to those skilled in the art. However, in the first embodiment, since the internal device 10 is a measuring device, it goes without saying that the internal device 10 includes a sensor corresponding to each measurement.

[通信システムの動作]
続いて、第1の実施形態に係る通信システムの動作について説明する。図10は、第1の実施形態に係る通信システムの動作の一例を示すシーケンス図である。
[Communication system operation]
Subsequently, the operation of the communication system according to the first embodiment will be described. FIG. 10 is a sequence diagram showing an example of the operation of the communication system according to the first embodiment.

通信システムを運用する際には、予め、システム管理者等が、外部機器40に制御情報(内部機器識別情報と動作指示情報の組み合わせ)を登録する。即ち、外部機器40は制御情報を入力する(ステップS101)。 When operating the communication system, the system administrator or the like registers control information (combination of internal device identification information and operation instruction information) in the external device 40 in advance. That is, the external device 40 inputs the control information (step S101).

次に、内部機器10は、自装置に内蔵されたセンサから情報を取得する(ステップS201)。 Next, the internal device 10 acquires information from a sensor built in the own device (step S201).

その後、内部機器10は、取得したデータ(測定データ)を含むパケットを通信制御装置20に送信する(ステップS202)。 After that, the internal device 10 transmits a packet including the acquired data (measurement data) to the communication control device 20 (step S202).

通信制御装置20は、内部機器10が送信したパケットを、内部ネットワーク1を介して受信する(ステップS301)。 The communication control device 20 receives the packet transmitted by the internal device 10 via the internal network 1 (step S301).

通信制御装置20の制御部203は、内部機器10から受信したパケットを、外部機器40に送信するタイミングについて、以下の方法で制御する。 The control unit 203 of the communication control device 20 controls the timing of transmitting the packet received from the internal device 10 to the external device 40 by the following method.

制御部203は、送信履歴記憶部206から、パケットを受信した内部機器10に関する、外部機器40にパケットを送信した直近の時刻(前回のパケット送信時刻)を取得する(ステップS302)。その後、制御部203は、先にパケットを送信した時刻と外部機器40にパケットを送信しようとする現在時刻の差分を算出する。即ち、制御部203は、パケットを送信した内部機器10に関し、当該内部機器10からパケットを受信してからの経過期間を算出する。 The control unit 203 acquires the latest time (previous packet transmission time) of transmitting the packet to the external device 40 regarding the internal device 10 that received the packet from the transmission history storage unit 206 (step S302). After that, the control unit 203 calculates the difference between the time when the packet was first transmitted and the current time when the packet is to be transmitted to the external device 40. That is, the control unit 203 calculates the elapsed period from receiving the packet from the internal device 10 with respect to the internal device 10 that has transmitted the packet.

例えば、図3において、内部機器識別情報が192.168.0.X1の内部機器10がパケットを送信してきた場合には、現在時刻と直近の送信時刻(2017年1月1日、23時10分2秒)の差が上記算出する経過期間となる。その後、制御部203は、上記算出された経過期間と、内部機器10ごとに予め定められた所定期間(閾値)と、を比較し、上記経過期間が所定の期間より長いか否かを判定する。 For example, in FIG. 3, the internal device identification information is 192.168.0.0. When the internal device 10 of X1 transmits a packet, the difference between the current time and the latest transmission time (January 1, 2017, 23:10:02) is the elapsed period calculated above. After that, the control unit 203 compares the calculated elapsed period with a predetermined period (threshold value) predetermined for each internal device 10 and determines whether or not the elapsed period is longer than the predetermined period. ..

判定の結果、経過期間が所定の期間(内部機器10ごとの閾値)よりも短く、所定期間を経過していない場合(ステップS303、No分岐)、制御部203は、内部機器10ごとに定めた所定時間経過後に、当該受信パケットを外部機器40に送信するように制御する。具体的には、制御部203は、内部機器10から受信したパケットを直ちに送信せず、内部機器10ごとに定めた所定期間が経過するまで待機する(ステップS304)。 As a result of the determination, when the elapsed period is shorter than the predetermined period (threshold value for each internal device 10) and the predetermined period has not elapsed (step S303, No branch), the control unit 203 is determined for each internal device 10. After a lapse of a predetermined time, the received packet is controlled to be transmitted to the external device 40. Specifically, the control unit 203 does not immediately transmit the packet received from the internal device 10, but waits until a predetermined period determined for each internal device 10 elapses (step S304).

判定の結果、経過期間が所定の期間よりも長く、所定期間を経過している場合(ステップS303、Yes分岐)、制御部203は、即座に受信したパケットを外部機器40に送信する(ステップS305)。 As a result of the determination, when the elapsed period is longer than the predetermined period and the predetermined period has elapsed (step S303, Yes branch), the control unit 203 immediately transmits the received packet to the external device 40 (step S305). ).

このような制御部203による制御により、外部ネットワーク2に接続された外部機器40に対するパケットの送信要求が特定期間に集中したとしても、外部機器40に対する実際の通信(パケットの送信)が分散される。なお、上述の所定の期間(内部機器10ごとの送信間隔)は、予め定めた値であっても良いし、外部機器40の仕様により計算される値であっても良い。具体的には、外部機器40が、所定期間内に制御情報を内部機器10に送信する回数(即ち、制御回数)により所定期間を除算した値でもよい。例えば、外部機器40が、60分の間に制御情報を含むパケットを10回送信する必要がある場合に、所定期間(60分)を制御回数(10回)で除算した値(6分)を上記内部機器10の送信間隔としてもよい。つまり、上記状況は、外部機器40は、60分の間に10回の制御情報の伝達機会を必要とすることを意味するが、当該10回の制御情報の伝達の前提となる内部機器10から外部機器40へのパケット送信が、特定の時間に集中するのではなく、60分の間で時間的に平準化されるように送信間隔が決定されてもよい。 By such control by the control unit 203, even if the packet transmission requests to the external device 40 connected to the external network 2 are concentrated in a specific period, the actual communication (packet transmission) to the external device 40 is distributed. .. The above-mentioned predetermined period (transmission interval for each internal device 10) may be a predetermined value or a value calculated according to the specifications of the external device 40. Specifically, it may be a value obtained by dividing a predetermined period by the number of times the external device 40 transmits control information to the internal device 10 (that is, the number of times of control) within a predetermined period. For example, when the external device 40 needs to transmit a packet containing control information 10 times in 60 minutes, the value (6 minutes) obtained by dividing a predetermined period (60 minutes) by the number of controls (10 times) is calculated. It may be the transmission interval of the internal device 10. That is, the above situation means that the external device 40 needs 10 times of transmission of control information in 60 minutes, but from the internal device 10 which is a premise of the 10 times of transmission of control information. The transmission interval may be determined so that the packet transmission to the external device 40 is not concentrated at a specific time but is time-leveled within 60 minutes.

パケットを外部機器40に向けて送信した後、制御部203は、パケットを送信した時刻を、内部機器10の識別情報と共に送信履歴記憶部206に保存する(ステップS306)。 After transmitting the packet to the external device 40, the control unit 203 stores the time when the packet is transmitted in the transmission history storage unit 206 together with the identification information of the internal device 10 (step S306).

ステップS305にて送信されたパケットは内部ネットワーク1から外部ネットワーク2に向けたパケットであるから、ファイアウォール装置30は、当該パケットを通過させる(ステップS401)。その際、ファイアウォール装置30は、通過させたパケットのIPアドレス等を所定の期間(例えば、外部機器40との間の通信が終了するまでの期間)、記憶する。 Since the packet transmitted in step S305 is a packet directed from the internal network 1 to the external network 2, the firewall device 30 passes the packet (step S401). At that time, the firewall device 30 stores the IP address and the like of the passed packet for a predetermined period (for example, a period until the communication with the external device 40 is completed).

外部機器40の受信部402は、通信制御装置20から送信されたパケットを受信する(ステップS102)。 The receiving unit 402 of the external device 40 receives the packet transmitted from the communication control device 20 (step S102).

パケットの受信が完了すると(ステップS103、Yes分岐)、制御部403は、制御情報入力部401が制御情報記憶部405に登録した制御情報(内部機器識別情報と動作指示情報の組み合わせ)が存在するか否かを確認する(ステップS104)。 When the packet reception is completed (step S103, Yes branch), the control unit 403 has the control information (combination of the internal device identification information and the operation instruction information) registered in the control information storage unit 405 by the control information input unit 401. It is confirmed whether or not (step S104).

制御情報が登録されていなければ(ステップS105、No分岐)、ステップS107以降の処理が実行される。 If the control information is not registered (step S105, No branch), the processes after step S107 are executed.

制御情報が登録されていれば(ステップS105、Yes分岐)、制御部403は、制御情報を制御情報記憶部405から取得し、当該制御情報を含む応答パケットを生成する(ステップS106)。その際、上述のとおり、区切り文字(例えば、カンマ等)を用いて複数の制御情報を1つの応答パケットに含めてもよい。また、上述のとおり、各制御情報を構成する、内部機器識別情報と動作指示情報は、1対1である必要はなく、多対多の関係であっても良い。 If the control information is registered (step S105, Yes branch), the control unit 403 acquires the control information from the control information storage unit 405 and generates a response packet including the control information (step S106). At that time, as described above, a plurality of control information may be included in one response packet by using a delimiter (for example, a comma). Further, as described above, the internal device identification information and the operation instruction information constituting each control information do not have to be one-to-one, and may have a many-to-many relationship.

応答パケットが生成されると、送信部404は、通信制御装置20に対し、応答パケットを送信する(ステップS107)。なお、外部機器40が送信する応答パケットには、複数の内部機器10のうち外部機器40に向けてパケットを送信した内部機器10とは異なる内部機器10に対する制御情報を含ませることができる。勿論、応答パケットの宛先となる内部機器10と制御情報が対象とする内部機器10が一致する場合もある。 When the response packet is generated, the transmission unit 404 transmits the response packet to the communication control device 20 (step S107). The response packet transmitted by the external device 40 can include control information for the internal device 10 different from the internal device 10 that has transmitted the packet to the external device 40 among the plurality of internal devices 10. Of course, the internal device 10 that is the destination of the response packet and the internal device 10 that is the target of the control information may match.

ファイアウォール装置30は、上記外部機器40から送信された応答パケットを通過させる(ステップS402)。つまり、当該応答パケットは、ステップS401にて通信を許可したパケットに対応するパケットであり、ファイアウォール装置30による動的フィルタリングにより通過が許可される。 The firewall device 30 passes the response packet transmitted from the external device 40 (step S402). That is, the response packet is a packet corresponding to the packet for which communication is permitted in step S401, and passage is permitted by dynamic filtering by the firewall device 30.

通信制御装置20の受信部201は、外部機器40から送信された応答パケットを受信する(ステップS307)。 The receiving unit 201 of the communication control device 20 receives the response packet transmitted from the external device 40 (step S307).

応答パケット処理部204は、受信した応答パケットに制御情報が含まれるか否かを確認する(ステップS308)。 The response packet processing unit 204 confirms whether or not the received response packet contains control information (step S308).

制御情報が含まれなければ(ステップS309、No分岐)、応答パケット処理部204は、受信した応答パケットを必要な内部機器10に転送し、処理を終了する。 If the control information is not included (step S309, No branch), the response packet processing unit 204 transfers the received response packet to the necessary internal device 10 and ends the processing.

制御情報が含まれれば(ステップS309、Yes分岐)、応答パケット処理部204は、制御情報を応答パケットから分離、抽出する(ステップS310)。 If the control information is included (step S309, Yes branch), the response packet processing unit 204 separates and extracts the control information from the response packet (step S310).

なお、上述のように、応答パケットに含まれる制御情報のデータ構造には種々の形態が考えられる。例えば、1つの応答パケットにおいて、制御情報が複数繋がって収容されていても良いし、複数の内部機器識別情報が連続した後に複数の動作指示情報が連続して収容されていても良い。このように、1つの応答パケットに含まれる制御情報及びその内容に関するデータの組合せ等の構成は、自由に設定可能である。 As described above, various forms can be considered for the data structure of the control information included in the response packet. For example, in one response packet, a plurality of control information may be connected and accommodated, or a plurality of operation instruction information may be continuously accommodated after a plurality of internal device identification information are consecutively accommodated. As described above, the configuration such as the combination of the control information included in one response packet and the data related to the content thereof can be freely set.

応答パケットから抽出された制御情報は、制御情報処理部205に引き渡される。 The control information extracted from the response packet is passed to the control information processing unit 205.

制御情報処理部205は、取得した制御情報に基づき、内部機器10に動作指示を与える(ステップS311)。 The control information processing unit 205 gives an operation instruction to the internal device 10 based on the acquired control information (step S311).

具体的には、制御情報処理部205は、内部機器識別情報により特定される内部機器10に対し、動作指示情報を含む制御指示パケットを送信する。その際、1つの応答パケットから複数の制御情報が抽出された場合には、制御情報処理部205は、各制御情報に対応する制御指示パケットを送信する。つまり、制御情報処理部205は、区切り文字等で仕切られた複数の制御情報を取得し、各制御情報に応じた処理を行う。例えば、図8の例では、制御情報処理部205は、制御情報Aと制御情報Bを制御情報として取得する。 Specifically, the control information processing unit 205 transmits a control instruction packet including the operation instruction information to the internal device 10 specified by the internal device identification information. At that time, when a plurality of control information is extracted from one response packet, the control information processing unit 205 transmits a control instruction packet corresponding to each control information. That is, the control information processing unit 205 acquires a plurality of control information partitioned by a delimiter or the like, and performs processing according to each control information. For example, in the example of FIG. 8, the control information processing unit 205 acquires the control information A and the control information B as control information.

制御情報Aに関し、制御情報処理部205は、IPアドレスが192.168.0.X1である内部機器10に対し、Instruction_1を含む制御指示パケットを送信し、その後、Y1秒経過後に、同じ内部機器10に対してInstruction_2を含む制御指示パケットを送信する。 Regarding the control information A, the control information processing unit 205 has an IP address of 192.168.0.0. A control instruction packet including Instruction_1 is transmitted to the internal device 10 which is X1, and then, after Y1 seconds have elapsed, a control instruction packet including Instruction_1 is transmitted to the same internal device 10.

また、制御情報Bに関し、制御情報処理部205は、IPアドレスが192.168.0.X2と192.168.0.X3それぞれの内部機器10に対し、Instruction_3を含む制御指示パケットを送信する。 Further, regarding the control information B, the control information processing unit 205 has an IP address of 192.168.0.0. X2 and 192.168.0. A control instruction packet including Instruction_3 is transmitted to each internal device 10 of X3.

上記対応により、外部ネットワーク2に接続された外部機器40が返信する一つの応答パケット(ACK情報)により、複数の内部機器10に対し、複数の処理を実行させることが可能となる。即ち、外部機器40による、内部ネットワーク1に接続された、あらゆる内部機器10に対する制御(制御情報の伝達、設定)が可能となる。 With the above measures, it is possible to cause a plurality of internal devices 10 to execute a plurality of processes by one response packet (ACK information) returned by the external device 40 connected to the external network 2. That is, the external device 40 can control (transmit and set control information) to any internal device 10 connected to the internal network 1.

内部機器10は、制御指示パケットを受信し、当該パケットに含まれる動作指示情報に応じた動作を実行する(ステップS203)。例えば、内部機器は、自身の校正動作、温度や湿度などの物理量などを検知する動作間隔等の各種設定等の変更、又は、動作や判断の変更を行う。 The internal device 10 receives the control instruction packet and executes an operation according to the operation instruction information included in the packet (step S203). For example, the internal device changes its own calibration operation, various settings such as an operation interval for detecting physical quantities such as temperature and humidity, or changes in operation and judgment.

[変形例]
上記実施形態にて説明した通信システムの構成(図2)は例示であって、システムの構成を限定する趣旨ではない。例えば、通信制御装置20の機能がファイアウォール装置30にて実現されていてもよい。あるいは、通信制御装置20の機能がプロキシサーバ等により実現されてもよい。
[Modification example]
The configuration of the communication system (FIG. 2) described in the above embodiment is an example, and is not intended to limit the configuration of the system. For example, the function of the communication control device 20 may be realized by the firewall device 30. Alternatively, the function of the communication control device 20 may be realized by a proxy server or the like.

上記実施形態では、通信制御装置20が、各内部機器10から送信されるパケットの送信制御を実行しているが、当該制御が複数の内部機器10のそれぞれにおいて実行されてもよい。具体的には、各内部機器10は、先にパケットを送信してから所定の期間が経過するまでは、新たなパケットを送信しないようにしてもよい。但し、各内部機器10が予め定めた時刻(タイミング)にて、パケットを送信するような場合には、同じ時刻にて内部機器10から外部機器40に送信されるパケットが集中し、外部機器40の負荷が上昇する可能性がある。このような不都合を解決するため、各内部機器10は、ランダムにパケットを外部機器40に送信してもよい。例えば、各内部機器10が、日付が替わる際(即ち、0時00分)に測定データを送信する必要がある場合を考える。この場合、0時00分において、各内部機器10から外部機器40に送信されるパケットが集中する。そこで、各内部機器10は、日付が変わる前後10分の間(23時50分〜0時10分の間)でランダムにパケットを送信するようにしてもよい。このような対応により、特定のタイミングにおける外部機器40の負荷上昇を緩和できる。即ち、システムに通信制御装置20が含まれていなくとも、個々の内部機器10が自主的に通信タイミングをずらすような内部機器10によるパケット送信制御により、内部機器10から外部機器40への通信における時間的平準化が実現できる。 In the above embodiment, the communication control device 20 executes the transmission control of the packet transmitted from each internal device 10, but the control may be executed by each of the plurality of internal devices 10. Specifically, each internal device 10 may not transmit a new packet until a predetermined period has elapsed since the packet was first transmitted. However, when each internal device 10 transmits packets at a predetermined time (timing), the packets transmitted from the internal device 10 to the external device 40 are concentrated at the same time, and the external device 40 Load may increase. In order to solve such an inconvenience, each internal device 10 may randomly transmit a packet to the external device 40. For example, consider a case where each internal device 10 needs to transmit measurement data when the date changes (that is, 0:00). In this case, at 0:00, the packets transmitted from each internal device 10 to the external device 40 are concentrated. Therefore, each internal device 10 may randomly transmit a packet between 10 minutes before and after the date changes (between 23:50 and 0:10). By such measures, it is possible to alleviate the load increase of the external device 40 at a specific timing. That is, even if the system does not include the communication control device 20, packet transmission control by the internal device 10 such that each internal device 10 voluntarily shifts the communication timing is used to perform communication from the internal device 10 to the external device 40. Time leveling can be achieved.

上記実施形態では、外部機器40の内部に制御情報を格納する場合を説明したが、外部機器40が内部機器10に送信する制御情報は、外部ネットワーク2等に接続された他の情報処理装置(例えば、データベースサーバ等)に格納されていてもよい。 In the above embodiment, the case where the control information is stored inside the external device 40 has been described, but the control information transmitted by the external device 40 to the internal device 10 is another information processing device connected to the external network 2 or the like ( For example, it may be stored in a database server or the like).

上記実施形態では、内部機器10が内部ネットワーク1の外部に送信する全てのパケットは通信制御装置20を通過することを前提としたが、一部のパケット(例えば、外部機器40宛てのパケット)に限り通信制御装置20を通過するようにしてもよい。例えば、図2に示す内部ネットワーク1には、外部ネットワーク2とは異なる第3の外部ネットワーク(図2にて図示せず)が接続され、当該第3のネットワークにサーバ装置(図示せず)が接続されている場合を考える。この場合、内部機器10は、外部機器40とは通信制御装置20を介して通信し、第3のネットワークに接続されたサーバ装置とは通信制御装置20を介さずに通信してもよい。なお、内部機器10が通信制御装置20を介さずに上記サーバ装置と通信する場合であっても、内部機器10は、ファイアウォール装置30を介して当該サーバ装置と通信することが望ましい。 In the above embodiment, it is assumed that all the packets transmitted by the internal device 10 to the outside of the internal network 1 pass through the communication control device 20, but some packets (for example, packets addressed to the external device 40) may be included. It may pass through the communication control device 20 as long as possible. For example, a third external network (not shown) different from the external network 2 is connected to the internal network 1 shown in FIG. 2, and a server device (not shown) is connected to the third network. Consider the case of being connected. In this case, the internal device 10 may communicate with the external device 40 via the communication control device 20 and may communicate with the server device connected to the third network without going through the communication control device 20. Even when the internal device 10 communicates with the server device without going through the communication control device 20, it is desirable that the internal device 10 communicates with the server device via the firewall device 30.

内部ネットワーク1に接続された内部機器10の数が少数の場合や、内部ネットワーク1に接続された内部機器10の数は多いがそれぞれの内部機器10が外部機器40に対してほとんどパケットを送信しない場合等、外部機器40から内部機器10への情報伝達の機会が少ない場合も考えられる。このような場合には、通信制御装置20が、予め定めた規則(例えば、所定のタイミング又は所定の期間等)にて、内部機器10に替わりダミーのパケットを外部機器40に送信してもよい。通信制御装置20がダミーパケットを送信することにより、外部機器40による情報伝達の機会を確実に確保できる。 When the number of internal devices 10 connected to the internal network 1 is small, or when the number of internal devices 10 connected to the internal network 1 is large, each internal device 10 hardly transmits a packet to the external device 40. In some cases, there may be few opportunities for information transmission from the external device 40 to the internal device 10. In such a case, the communication control device 20 may transmit a dummy packet to the external device 40 instead of the internal device 10 according to a predetermined rule (for example, a predetermined timing or a predetermined period). .. By transmitting the dummy packet by the communication control device 20, it is possible to surely secure an opportunity for information transmission by the external device 40.

上記実施形態では、内部機器10ごとに、通信制御装置20がパケット送信制御を実施している。しかし、通信制御装置20は、内部機器10ごとではなく、全ての内部機器10を対象としてパケット送信制御を実行してもよい。具体的には、先にパケットを送信した内部機器10と、その後パケットを送信しようとする内部機器10と、が異なる場合であっても、通信制御装置20は、先のパケット送信から所定の期間が経過するまではパケットを送信しないようにしてもよい。このような対応により、外部機器40に送信されるパケットは確実に制限され、当該装置の負荷上昇を抑えることができる。 In the above embodiment, the communication control device 20 implements packet transmission control for each internal device 10. However, the communication control device 20 may execute packet transmission control not for each internal device 10 but for all internal devices 10. Specifically, even if the internal device 10 that has transmitted the packet first and the internal device 10 that intends to transmit the packet after that are different, the communication control device 20 has a predetermined period from the previous packet transmission. The packet may not be transmitted until after the elapse of. By such measures, the packets transmitted to the external device 40 are surely limited, and the load increase of the device can be suppressed.

上記実施形態では、通信制御装置20は、内部機器10から送信されてくるパケットに含まれるデータに関しては関与していないが、当該パケットのデータを考慮してデータ送信制御を実行してもよい。例えば、通信制御装置20は、同一の内部機器10から送信されてくるデータが同じであれば、2回目以降に取得したパケットを廃棄してもよい。 In the above embodiment, the communication control device 20 is not involved in the data included in the packet transmitted from the internal device 10, but the data transmission control may be executed in consideration of the data of the packet. For example, the communication control device 20 may discard the packets acquired from the second time onward as long as the data transmitted from the same internal device 10 is the same.

外部機器40から内部機器10に応答パケットが送信される際に、外部機器40は応答パケットに含める制御情報を暗号化して送信し、通信制御装置20にて当該暗号を複合してもよい。なお、その際の暗号方式は、共通鍵暗号方式、公開鍵暗号方式等の任意の方式を用いることができる。 When the response packet is transmitted from the external device 40 to the internal device 10, the external device 40 may encrypt and transmit the control information included in the response packet, and the communication control device 20 may combine the encryption. As the encryption method at that time, any method such as a common key cryptosystem and a public key cryptosystem can be used.

通信制御装置20は、どの内部機器10にどのような動作指示が行われたかユーザ(通信システムの管理者)が確認できるように、内部機器10に対する指示に関する履歴情報を外部装置に出力してもよい。例えば、通信制御装置20は、図11に示すような制御情報設定履歴を印刷しても良いし、液晶モニタ等に表示しても良いし、USBメモリ等に記憶しても良い。 Even if the communication control device 20 outputs the history information regarding the instruction to the internal device 10 to the external device so that the user (administrator of the communication system) can confirm what kind of operation instruction is given to which internal device 10. good. For example, the communication control device 20 may print the control information setting history as shown in FIG. 11, display it on a liquid crystal monitor or the like, or store it in a USB memory or the like.

また、上述の説明で用いた複数のフローチャートでは、複数の工程(処理)が順番に記載されているが、各実施形態で実行される工程の実行順序は、その記載の順番に制限されない。各実施形態では、例えば各処理を並行して実行する等、図示される工程の順番を内容的に支障のない範囲で変更することができる。また、上述の各実施形態は、内容が相反しない範囲で組み合わせることができる。 Further, in the plurality of flowcharts used in the above description, a plurality of steps (processes) are described in order, but the execution order of the steps executed in each embodiment is not limited to the order of description. In each embodiment, the order of the illustrated steps can be changed within a range that does not hinder the contents, for example, each process is executed in parallel. In addition, the above-described embodiments can be combined as long as the contents do not conflict with each other.

上記説明したように、通信技術や情報処理技術の発展に伴い計測機器のようなIoT端末がネットワークに接続されることが多くなってきた。また、内部ネットワークに接続された機器を外部からの攻撃から防御するため、ファイアウォール装置を設置することが通常行われている。このような環境において、上記内部機器10のようなIoT端末に制御情報等の情報伝達を行うためには、内部機器から外部機器へのパケットの送信が行われ、その応答パケットを用いることが前提となっている。このような通信がなければ、ファイアウォール装置により隔離された内部機器への通信が基本的に不可能なためである。 As described above, with the development of communication technology and information processing technology, IoT terminals such as measuring instruments are often connected to networks. In addition, a firewall device is usually installed to protect devices connected to the internal network from attacks from the outside. In such an environment, in order to transmit information such as control information to an IoT terminal such as the internal device 10, it is premised that a packet is transmitted from the internal device to the external device and the response packet is used. It has become. This is because without such communication, it is basically impossible to communicate with the internal device isolated by the firewall device.

このように外部機器から内部機器への情報伝達は、外部機器からの応答により行われるため、外部機器からの情報伝達の頻度を高くして情報伝達の機会を確保するためには、内部機器から外部機器への通信を多くする必要がある。しかし、このような通信間隔を狭くするような対応では、本来意味のない通信が多く発生し、通信機器(例えば、ファイアウォール装置や外部機器)の負荷に影響を与える。 In this way, information transmission from the external device to the internal device is performed by the response from the external device. Therefore, in order to increase the frequency of information transmission from the external device and secure an opportunity for information transmission, the internal device should be used. It is necessary to increase communication to external devices. However, in such a measure to narrow the communication interval, many originally meaningless communications occur, which affects the load of the communication device (for example, a firewall device or an external device).

一方、通信機器への負荷低減を目的として、内部機器から外部機器への通信間隔を長くすると、外部機器から内部機器への情報伝達の機会が作れず、内部機器への制御が適切なタイミングにより実行できない。このように、外部機器から内部機器への情報伝達の機会を増やすためには内部機器から外部機器への通信間隔を短くする必要あるが、上記通信間隔を短くすれば、内部機器向けの通信に利用されないパケット送信もまた多く発生し、外部機器を初めとした通信装置の負荷に影響を与える。一方、上記通信間隔を長くすれば、内部機器に情報伝達できる機会が減少し、適切なタイミングにて内部機器を制御できないという問題が生じる。 On the other hand, if the communication interval from the internal device to the external device is lengthened for the purpose of reducing the load on the communication device, an opportunity for information transmission from the external device to the internal device cannot be created, and control to the internal device is performed at an appropriate timing. Cannot be executed. In this way, in order to increase the opportunities for information transmission from the external device to the internal device, it is necessary to shorten the communication interval from the internal device to the external device, but if the above communication interval is shortened, communication for the internal device can be achieved. Unused packet transmissions also occur frequently, which affects the load on communication devices such as external devices. On the other hand, if the communication interval is lengthened, the chances of transmitting information to the internal device are reduced, and there arises a problem that the internal device cannot be controlled at an appropriate timing.

さらに、内部ネットワークに複数の内部機器が存在するような場合には、外部機器は、制御対象となる内部機器ごとに個別に制御情報を伝達する必要があり、外部機器の負荷を増加させる要因となり得る。さらに、現時点で、外部機器から内部機器に送信される情報に統一された規格等が有るわけではなく(即ち、応答パケットに含まれる情報がどのような意味を持つかは考慮されておらず)、内部機器は、外部機器から送信される情報に対応できない場合がある。つまり、内部機器は、動作指示情報を含む応答パケットを受信しても、その指示内容を正しく把握(応答パケットの内容を正しい解釈)できないと、取得した応答パケットに動作指示情報が含まれていても指示に正しく対応することができない。 Furthermore, when there are multiple internal devices in the internal network, the external devices need to transmit control information individually for each internal device to be controlled, which is a factor that increases the load on the external devices. obtain. Furthermore, at this time, there is no unified standard for the information transmitted from the external device to the internal device (that is, the meaning of the information contained in the response packet is not considered). , The internal device may not be able to handle the information transmitted from the external device. That is, even if the internal device receives the response packet containing the operation instruction information, if the instruction content cannot be correctly grasped (the content of the response packet is correctly interpreted), the acquired response packet contains the operation instruction information. Can't respond to the instructions correctly.

あるいは、内部機器から外部機器に対し、制御情報を確認する為の機能を有していない内部機器も存在する可能性があり、このような内部機器は外部機器から制御不能であるという問題もある。 Alternatively, there may be an internal device that does not have a function for confirming control information from the internal device to the external device, and there is also a problem that such an internal device cannot be controlled by the external device. ..

上記のような種々の問題に対し、第1の実施形態に係る通信システムでは、以下のような対応を行う。 In the communication system according to the first embodiment, the following measures are taken to deal with the various problems as described above.

内部機器10から外部機器40に送信されるパケットは通信制御装置20に送信され、通信制御装置20を介してパケットが外部機器40に送信される。その際、通信制御装置20は、内部機器10ごとに、パケット送信制御を実行し、特定の期間に外部機器40に対する通信が集中しないように制御する。その結果、内部機器10から外部機器40に対するパケット送信に関する時間間隔(送信間隔)を均等化することができる。 The packet transmitted from the internal device 10 to the external device 40 is transmitted to the communication control device 20, and the packet is transmitted to the external device 40 via the communication control device 20. At that time, the communication control device 20 executes packet transmission control for each internal device 10, and controls so that communication with the external device 40 is not concentrated during a specific period. As a result, the time interval (transmission interval) related to packet transmission from the internal device 10 to the external device 40 can be equalized.

また、外部機器40は、パケットを送信した内部機器10とは異なる内部機器10に対する制御情報を応答パケットに含めることができるので、制御が必要な(制御情報の伝達が必要な)内部機器10がパケットを長期間送信しない場合であっても、必要なタイミングで(即ち、大きな時間間隔を開けず)内部機器10を制御することができる。 Further, since the external device 40 can include the control information for the internal device 10 different from the internal device 10 that transmitted the packet in the response packet, the internal device 10 that needs to be controlled (transmission of the control information is necessary) Even when the packet is not transmitted for a long period of time, the internal device 10 can be controlled at a required timing (that is, without a large time interval).

このように、第1の実施形態では、内部機器10からファイアウォール装置30を隔てた外部ネットワーク2に接続された外部機器40に対し送信される全てもしくは一部の通信に対し、外部機器40からの応答パケットに制御情報(内部機器を制御するための少なくとも2以上の情報;内部機器識別情報、動作指示情報)を含め、通信制御装置20に送信する。通信制御装置20は、応答パケットから制御情報を分離して抽出し、当該制御情報から制御対象となる内部機器10を特定し、当該特定した内部機器10に向けて動作指示情報を送信する。内部機器10が当該動作指示を実行することで、外部機器40は、内部ネットワーク1に接続されたあらゆる内部機器10を制御することができる。 As described above, in the first embodiment, all or part of the communication transmitted from the internal device 10 to the external device 40 connected to the external network 2 separated by the firewall device 30 is from the external device 40. The response packet includes control information (at least two or more pieces of information for controlling the internal device; internal device identification information, operation instruction information) and transmits the control information to the communication control device 20. The communication control device 20 separates and extracts the control information from the response packet, identifies the internal device 10 to be controlled from the control information, and transmits the operation instruction information to the specified internal device 10. When the internal device 10 executes the operation instruction, the external device 40 can control any internal device 10 connected to the internal network 1.

また、外部機器40に登録する制御情報や外部機器40から内部機器10に送信される制御情報は、1つの制御情報だけでなく、カンマ等の区切り文字により複数の情報を含めることができる。また、各制御情報をなす内部機器識別情報や動作指示情報に関しても、1つの制御情報に複数の内部機器識別情報、複数の動作指示情報を含めることができる。即ち、1つの応答パケットに複数の制御情報や複数の内部機器識別情報を含めることが可能であり、当該応答パケットを受信した通信制御装置20は、1つの応答パケットの受信に応じて、複数の内部機器10に同じ動作指示を行ったり、同じ内部機器10に異なる動作指示を指定された順序(時間)で行ったりすることもできる。その結果、内部ネットワーク1と外部ネットワーク2の間の通信量を抑制できるだけでなく、内部ネットワーク1の内部に存在する内部機器10に対してきめ細かい制御を一度に実行することができる。 Further, the control information registered in the external device 40 and the control information transmitted from the external device 40 to the internal device 10 can include not only one control information but also a plurality of information by delimiters such as commas. Further, with respect to the internal device identification information and the operation instruction information forming each control information, a plurality of internal device identification information and a plurality of operation instruction information can be included in one control information. That is, it is possible to include a plurality of control information and a plurality of internal device identification information in one response packet, and the communication control device 20 that has received the response packet may include a plurality of control information and a plurality of internal device identification information according to the reception of the response packet. The same operation instruction can be given to the internal device 10, or different operation instructions can be given to the same internal device 10 in a specified order (time). As a result, not only can the amount of communication between the internal network 1 and the external network 2 be suppressed, but also fine control of the internal device 10 existing inside the internal network 1 can be executed at once.

以上のように、第1の実施形態では、通信制御装置20は、ファイアウォール装置30から先の外部ネットワーク2に接続された外部機器40から、ファイアウォール装置30で守られた閉域ネットワーク(内部ネットワーク1)に接続された内部機器10に対する制御情報(内部機器識別情報と動作指示情報の組み合わせ)を入手する。その後、通信制御装置20は、制御情報を応答パケットから分離し、内部機器識別情報により示された内部機器10に対し、動作指示情報に示された処理を実行させることができる。 As described above, in the first embodiment, the communication control device 20 is a closed network (internal network 1) protected by the firewall device 30 from the external device 40 connected to the external network 2 ahead of the firewall device 30. Obtain control information (combination of internal device identification information and operation instruction information) for the internal device 10 connected to the network. After that, the communication control device 20 can separate the control information from the response packet and cause the internal device 10 indicated by the internal device identification information to execute the process indicated by the operation instruction information.

また、通信制御装置20は、外部機器40から、複数の内部機器10に対する、それぞれ種類の異なる制御情報を入手し、当該制御情報を応答パケットから分離し、当該制御情報より指定される内部機器10に対し、それぞれ指定された処理を実行させることができる。 Further, the communication control device 20 obtains different types of control information for the plurality of internal devices 10 from the external device 40, separates the control information from the response packet, and specifies the internal device 10 from the control information. It is possible to execute the specified processing for each.

さらに、通信制御装置20は、ファイアウォール装置30で守られた内部ネットワーク1に接続された内部機器10から、ファイアウォール装置30の先の外部ネットワーク2に接続された外部機器40に対する全ての通信の送信間隔を制御することで、外部機器40からの制御情報を、間隔をあけることなく入手でき内部機器10に対する制御を適切な間隔で処理できる。 Further, the communication control device 20 is a transmission interval of all communications from the internal device 10 connected to the internal network 1 protected by the firewall device 30 to the external device 40 connected to the external network 2 ahead of the firewall device 30. By controlling the above, the control information from the external device 40 can be obtained without an interval, and the control for the internal device 10 can be processed at an appropriate interval.

上記の実施形態の一部又は全部は、以下の形態のようにも記載され得るが、以下には限られない。
[形態1]
上述の第1の視点に係る通信システムのとおりである。
[形態2]
前記通信制御装置は、
同一の前記第1の機器が前記第2の機器に送信するパケット間の送信間隔が、所定の期間よりも長くなるように、前記同一の第1の機器から前記第2の機器へのパケット送信を制御する、好ましくは形態1の通信システム。
[形態3]
前記第1のネットワークに接続される、ファイアウォール装置をさらに含み、
前記通信制御装置は、前記ファイアウォール装置を介して前記第2の機器との間でパケットの送受信を行う、好ましくは形態1又は2の通信システム。
[形態4]
前記第2の機器が送信する応答パケットには、前記複数の第1の機器のうち前記第2の機器に向けてパケットを送信した第1の機器とは異なる第1の機器に対する前記制御情報が含まれる、好ましくは形態1乃至3のいずれか一に記載の通信システム。
[形態5]
前記第2の機器は、1つの応答パケットに複数の前記制御情報を含める、好ましくは形態1乃至4のいずれか一に記載の通信システム。
[形態6]
前記制御情報には、前記複数の第1の機器のうち制御対象となる第1の機器を特定するための機器識別情報と、前記制御対象となる第1の機器に実行させる動作に関する動作指示情報と、が少なくとも含まれる、好ましくは形態1乃至5のいずれか一に記載の通信システム。
[形態7]
前記通信制御装置は、
前記機器識別情報により特定される第1の機器に対し、前記動作指示情報による動作を実行するように指示する、好ましくは形態6の通信システム。
[形態8]
前記制御情報は、複数の前記機器識別情報又は複数の前記動作指示情報を含む、好ましくは形態6又は7の通信システム。
[形態9]
前記通信制御装置は、
前記制御情報から得られる動作を指示した第1の機器と、前記指示した制御情報と、を対応付けた履歴情報を外部装置に出力する、好ましくは形態1乃至8のいずれか一に記載の通信システム。
[形態10]
上述の第2の視点に係る通信制御装置のとおりである。
[形態11]
上述の第3の視点に係る通信機器のとおりである。
[形態12]
上述の第4の視点に係る通信方法のとおりである。
[形態13]
上述の第5の視点に係るプログラムのとおりである。
なお、形態10〜13は、形態1と同様に、形態2〜形態9のように展開することが可能である。
Some or all of the above embodiments may also be described as, but not limited to, the following embodiments.
[Form 1]
This is the communication system according to the first viewpoint described above.
[Form 2]
The communication control device is
Packet transmission from the same first device to the second device so that the transmission interval between packets transmitted by the same first device to the second device is longer than a predetermined period. The communication system of the first embodiment, which controls the above.
[Form 3]
Further including a firewall device connected to the first network,
The communication control device is preferably the communication system of the first or second form, which transmits / receives packets to / from the second device via the firewall device.
[Form 4]
In the response packet transmitted by the second device, the control information for the first device different from the first device that transmitted the packet to the second device among the plurality of first devices is included in the response packet. The communication system according to any one of embodiments 1 to 3, preferably included.
[Form 5]
The communication system according to any one of embodiments 1 to 4, wherein the second device includes a plurality of the control information in one response packet.
[Form 6]
The control information includes device identification information for identifying the first device to be controlled among the plurality of first devices, and operation instruction information regarding an operation to be executed by the first device to be controlled. And, preferably the communication system according to any one of embodiments 1 to 5.
[Form 7]
The communication control device is
The communication system of the sixth embodiment instructing the first device specified by the device identification information to perform an operation based on the operation instruction information.
[Form 8]
The control information includes a plurality of the device identification information or the plurality of operation instruction information, preferably the communication system of the sixth or seventh form.
[Form 9]
The communication control device is
The communication according to any one of embodiments 1 to 8, preferably outputting historical information in which the first device instructing the operation obtained from the control information and the instructed control information are associated with each other to an external device. system.
[Form 10]
This is as described in the communication control device according to the second viewpoint described above.
[Form 11]
This is the communication device according to the third viewpoint described above.
[Form 12]
This is the communication method according to the fourth viewpoint described above.
[Form 13]
This is the program related to the fifth viewpoint described above.
It should be noted that the forms 10 to 13 can be developed like the forms 2 to 9 as in the form 1.

なお、引用した上記の特許文献の開示は、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし、選択(部分的削除を含む)が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。 The disclosure of the above-mentioned patent documents cited shall be incorporated into this document by citation. Within the framework of the entire disclosure (including the scope of claims) of the present invention, it is possible to change or adjust the embodiments or examples based on the basic technical idea thereof. Further, various combinations or selections of various disclosure elements (including each element of each claim, each element of each embodiment or embodiment, each element of each drawing, etc.) within the framework of all disclosure of the present invention. (Including partial deletion) is possible. That is, it goes without saying that the present invention includes all disclosure including claims, and various modifications and modifications that can be made by those skilled in the art in accordance with the technical idea. In particular, with respect to the numerical range described in this document, it should be interpreted that any numerical value or small range included in the range is specifically described even if there is no other description.

1 内部ネットワーク
2 外部ネットワーク
10、10−1〜10−3 内部機器
20、52 通信制御装置
21 CPU(Central Processing Unit)
22 メモリ
23 入出力インターフェイス
24 NIC(Network Interface Card)
30 ファイアウォール装置
40 外部機器
50 第1の機器
51 第2の機器
101 センサ情報取得部
102、201、402 受信部
103、202、404 送信部
104、203、403 制御部
204 応答パケット処理部
205 制御情報処理部
206 送信履歴記憶部
401 制御情報入力部
405 制御情報記憶部
1 Internal network 2 External network 10, 10-1 to 10-3 Internal devices 20, 52 Communication control device 21 CPU (Central Processing Unit)
22 Memory 23 Input / output interface 24 NIC (Network Interface Card)
30 Firewall device 40 External device 50 First device 51 Second device 101 Sensor information acquisition unit 102, 201, 402 Reception unit 103, 202, 404 Transmission unit 104, 203, 403 Control unit 204 Response packet processing unit 205 Control information Processing unit 206 Transmission history storage unit 401 Control information input unit 405 Control information storage unit

Claims (11)

第1のネットワークに接続された、複数の第1の機器と、
第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器と、
前記第1の機器と第2の機器の間の通信を中継する、通信制御装置と、
を含み、
前記第2の機器は、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する応答パケットに、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含め、
前記通信制御装置は、同一の前記第1の機器が前記第2の機器に送信するパケットの送信間隔が、所定期間を制御回数で除算した値となるように、前記同一の第1の機器から前記第2の機器へのパケット送信を制御し、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示する、通信システム
With a plurality of first devices connected to the first network,
A second device connected to the second network and communicating with the plurality of first devices,
A communication control device that relays communication between the first device and the second device,
Including
The second device responds to a packet received from the first device of any one of the plurality of first devices with respect to at least one or more first devices of the plurality of first devices. Including control information
The communication control device is used from the same first device so that the transmission interval of packets transmitted by the same first device to the second device is a value obtained by dividing a predetermined period by the number of controls. A communication system that controls packet transmission to the second device and instructs the first device, which is the target of the control information, among the plurality of first devices, to perform an operation obtained from the control information .
前記通信制御装置は、所定のタイミングにて、前記複数の第の機器に替わりダミーのパケットを前記第2の機器に送信する、請求項1に記載の通信システム。 The communication system according to claim 1, wherein the communication control device transmits a dummy packet to the second device in place of the plurality of first devices at a predetermined timing. 前記第1のネットワークに接続される、ファイアウォール装置をさらに含み、
前記通信制御装置は、前記ファイアウォール装置を介して前記第2の機器との間でパケットの送受信を行う、請求項1又は2の通信システム。
Further including a firewall device connected to the first network,
The communication system according to claim 1 or 2, wherein the communication control device transmits / receives packets to / from the second device via the firewall device.
前記第2の機器が送信する応答パケットには、前記複数の第1の機器のうち前記第2の機器に向けてパケットを送信した第1の機器とは異なる第1の機器に対する前記制御情報が含まれる、請求項1乃至3のいずれか一項に記載の通信システム。 The response packet transmitted by the second device includes the control information for the first device different from the first device that transmitted the packet to the second device among the plurality of first devices. The communication system according to any one of claims 1 to 3, which is included. 前記第2の機器は、1つの応答パケットに複数の前記制御情報を含める、請求項1乃至4のいずれか一項に記載の通信システム。 The communication system according to any one of claims 1 to 4, wherein the second device includes a plurality of the control information in one response packet. 前記制御情報には、前記複数の第1の機器のうち制御対象となる第1の機器を特定するための機器識別情報と、前記制御対象となる第1の機器に実行させる動作に関する動作指示情報と、が少なくとも含まれる、請求項1乃至5のいずれか一項に記載の通信システム。 The control information includes device identification information for identifying the first device to be controlled among the plurality of first devices, and operation instruction information regarding an operation to be executed by the first device to be controlled. The communication system according to any one of claims 1 to 5, further comprising. 前記通信制御装置は、
前記機器識別情報により特定される第1の機器に対し、前記動作指示情報による動作を実行するように指示する、請求項6の通信システム。
The communication control device is
The communication system according to claim 6, wherein the first device specified by the device identification information is instructed to perform an operation based on the operation instruction information.
前記制御情報は、複数の前記機器識別情報又は複数の前記動作指示情報を含む、請求項6又は7の通信システム。 The communication system according to claim 6 or 7, wherein the control information includes a plurality of the device identification information or the plurality of operation instruction information. 前記通信制御装置は、
前記制御情報から得られる動作を指示した第1の機器と、前記指示した制御情報と、を対応付けた履歴情報を外部装置に出力する、請求項1乃至8のいずれか一項に記載の通信システム。
The communication control device is
The communication according to any one of claims 1 to 8, wherein the history information in which the first device instructing the operation obtained from the control information and the instructed control information are associated with each other is output to the external device. system.
第1のネットワークに接続された、複数の第1の機器と、 With a plurality of first devices connected to the first network,
第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器と、 A second device connected to the second network and communicating with the plurality of first devices,
前記第1の機器と第2の機器の間の通信を中継する、通信制御装置と、 A communication control device that relays communication between the first device and the second device,
を含む通信システムにおいて、 In communication systems including
前記第2の機器が、前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する応答パケットに、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含め、前記応答パケットを前記通信制御装置に送信するステップと、 The second device responds to a packet received from the first device of any one of the plurality of first devices, and the second device responds to at least one or more first devices of the plurality of first devices. A step of transmitting the response packet including the control information to the communication control device, and
前記通信制御装置が、同一の前記第1の機器が前記第2の機器に送信するパケットの送信間隔が、所定期間を制御回数で除算した値となるように、前記同一の第1の機器から前記第2の機器へのパケット送信を制御するステップと、 From the same first device so that the transmission interval of packets transmitted by the same first device to the second device is a value obtained by dividing a predetermined period by the number of controls. A step of controlling packet transmission to the second device, and
前記通信制御装置が、前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示するステップと、 A step in which the communication control device instructs the first device among the plurality of first devices to be targeted by the control information to perform an operation obtained from the control information.
を含む、通信方法。 Communication methods, including.
第1のネットワークに接続された、複数の第1の機器と、第2のネットワークに接続され、前記複数の第1の機器と通信する第2の機器との間の通信を中継する、通信制御装置に搭載されたコンピュータに、 Communication control that relays communication between a plurality of first devices connected to the first network and a second device connected to the second network and communicating with the plurality of first devices. On the computer installed in the device,
前記複数の第1の機器のうちいずれかの第1の機器から受信したパケットに対する前記第2の機器からの応答パケットであって、前記複数の第1の機器のうち少なくとも1以上の第1の機器に対する制御情報を含む応答パケットを受信する処理と、 A response packet from the second device to a packet received from the first device of any one of the plurality of first devices, and the first one or more of the plurality of first devices. The process of receiving a response packet containing control information for the device,
同一の前記第1の機器が前記第2の機器に送信するパケットの送信間隔が、所定期間を制御回数で除算した値となるように、前記同一の第1の機器から前記第2の機器へのパケット送信を制御する処理と、 From the same first device to the second device so that the transmission interval of packets transmitted by the same first device to the second device is a value obtained by dividing a predetermined period by the number of controls. And the process of controlling packet transmission
前記複数の第1の機器のうち前記制御情報が対象とする第1の機器に対し、前記制御情報から得られる動作を指示する処理と、 A process of instructing the first device targeted by the control information among the plurality of first devices to perform an operation obtained from the control information.
を実行させるプログラム。 A program that executes.
JP2019518789A 2017-05-16 2018-05-15 Communication systems, communication control devices, communication equipment, communication methods and programs Active JP6927606B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2017097338 2017-05-16
JP2017097338 2017-05-16
PCT/JP2018/018693 WO2018212157A1 (en) 2017-05-16 2018-05-15 Communication system, communication control device, communication device, communication method, and program

Publications (2)

Publication Number Publication Date
JPWO2018212157A1 JPWO2018212157A1 (en) 2020-03-19
JP6927606B2 true JP6927606B2 (en) 2021-09-01

Family

ID=64274149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019518789A Active JP6927606B2 (en) 2017-05-16 2018-05-15 Communication systems, communication control devices, communication equipment, communication methods and programs

Country Status (2)

Country Link
JP (1) JP6927606B2 (en)
WO (1) WO2018212157A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7269113B2 (en) * 2019-06-28 2023-05-08 ファナック株式会社 PLC device and control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5290834B2 (en) * 2009-03-30 2013-09-18 住友精密工業株式会社 Host device
JP5223754B2 (en) * 2009-03-31 2013-06-26 パナソニック株式会社 Polling communication system
JP2013162219A (en) * 2012-02-02 2013-08-19 Sumitomo Electric Networks Inc Communication device, communication system, communication method, and communication program
JP5865221B2 (en) * 2012-09-27 2016-02-17 株式会社日立ソリューションズ Sensor data collection system and gateway control method

Also Published As

Publication number Publication date
JPWO2018212157A1 (en) 2020-03-19
WO2018212157A1 (en) 2018-11-22

Similar Documents

Publication Publication Date Title
EP2704019B1 (en) Communication relay apparatus and method of communicating with an image processing apparatus
EP2728459B1 (en) Image Processing System
JP4984903B2 (en) Management device and program
KR101925184B1 (en) Virtual router cluster, data forwarding method and device
JP5233770B2 (en) GATEWAY DEVICE, ITS CONTROL METHOD, SYSTEM, PROGRAM FOR EXECUTING CONTROL METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP6471441B2 (en) Information processing apparatus, system, and program
JP6355863B1 (en) Network system and communication method
JP6927606B2 (en) Communication systems, communication control devices, communication equipment, communication methods and programs
US11079983B2 (en) Information processing apparatus that saves, in a shared memory, information for accessing a device using a URL via a USB, and method of controlling same
KR102078090B1 (en) Stack timing adjustment for serial communications
US9552317B2 (en) Apparatus and method for operating and switching a single conductor interface
US10368237B2 (en) Terminal, processing apparatus, processing system, and non-transitory computer readable medium
WO2014156020A1 (en) Initiator terminal, target terminal, method of interrupting access of initiator terminal, and method of interrupting access of target terminal
KR102136184B1 (en) Communication controlling apparatus
KR20130101569A (en) Peripheral apparatus of programmable controller, and communication method therefor
JP2016206713A5 (en)
JP6880896B2 (en) Image forming equipment, information processing system, and programs
JP2012239034A5 (en)
WO2021255889A1 (en) Communication management device, communication system, communication management method, and computer-readable medium
US20160139860A1 (en) Communication system, image forming apparatus and communication method
JP2008199092A (en) Data transmission device
US20140115172A1 (en) Communication terminal device
JP6298804B2 (en) Data communication system, method and program
JP4355983B2 (en) Data transfer method, data transmitting apparatus and data receiving apparatus
JPWO2021255889A5 (en) Communication management device, communication system, communication management method and communication management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210430

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: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210729

R150 Certificate of patent or registration of utility model

Ref document number: 6927606

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150