JP6776572B2 - Communication equipment and methods - Google Patents
Communication equipment and methods Download PDFInfo
- Publication number
- JP6776572B2 JP6776572B2 JP2016059871A JP2016059871A JP6776572B2 JP 6776572 B2 JP6776572 B2 JP 6776572B2 JP 2016059871 A JP2016059871 A JP 2016059871A JP 2016059871 A JP2016059871 A JP 2016059871A JP 6776572 B2 JP6776572 B2 JP 6776572B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication interface
- address
- port number
- interfaces
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/14—Multichannel or multilink protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
- H04W88/10—Access point devices adapted for operation in multiple networks, e.g. multi-mode access points
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、通信装置及び方法に関するものであり、特に、複数の通信インタフェースから最適な通信インタフェースを選択して安定した通信を実現することが可能な通信装置及び方法に関する。 The present invention relates to a communication device and a method, and more particularly to a communication device and a method capable of selecting an optimum communication interface from a plurality of communication interfaces and realizing stable communication.
無線LAN(Local Area Network)、携帯電話、イーサネット(登録商標)などの複数の通信システムが混在する中で、通信環境や通信コスト等を考慮して、どの通信システムが安定した通信を行えるかを判断することは難しい。また、通信インタフェースには、それに関連付けられたIPアドレスが設定され、通信インタフェースの選択には、このIPアドレスが使用される。しかしながら、1つの装置がその配下に複数のセンサ等を有し、配下の複数のセンサが偶然にも同じ送信元ポート番号を使用してセッションの確立を試みた場合、装置は、IPアドレスを設定するだけでは、所望の通信インタフェースを選択することが難しく安定した通信を実現することが困難であるという問題があった。 In a mixture of multiple communication systems such as wireless LAN (Local Area Network), mobile phones, and Ethernet (registered trademark), which communication system can perform stable communication in consideration of communication environment and communication cost. It's difficult to judge. An IP address associated with the communication interface is set for the communication interface, and this IP address is used for selecting the communication interface. However, if one device has multiple sensors under it and multiple sensors under it accidentally attempt to establish a session using the same source port number, the device sets the IP address. There is a problem that it is difficult to select a desired communication interface and it is difficult to realize stable communication just by doing so.
特許文献1には、最適インターフェース探査手段が、いずれかの通信インターフェースからACKパケットを受信し、受信したACKパケットのうち、最初に受信したACKパケットの通信インターフェースを最適な通信インターフェースとすることが開示されている。
特許文献2には、伝送路に対して各々の伝送路状態(ボトルネック帯域幅やRTT遅延差等)を取得し、各々の伝送路情報テーブルに登録し、最も優先度の高い伝送路を選択することが開示されている。 In Patent Document 2, each transmission line state (bottleneck bandwidth, RTT delay difference, etc.) is acquired for each transmission line, registered in each transmission line information table, and the transmission line having the highest priority is selected. It is disclosed to do.
特許文献3には、インタフェース選択部が、無線LANインタフェース部からプロトコルを示すプロトコル情報が入力されると、予め移動速度情報及びプロトコル情報に対応付けられた通信インタフェース部を選択する優先順位に基づいて、WAN側通信部の通信インタフェース部を選択することが開示されている。 In Patent Document 3, when protocol information indicating a protocol is input from the wireless LAN interface unit, the interface selection unit selects the movement speed information and the communication interface unit associated with the protocol information in advance based on the priority. , It is disclosed that the communication interface unit of the WAN side communication unit is selected.
上述のように、通信インタフェースのIPアドレスを設定するだけでは、所望の通信インタフェースを選択することが難しく、安定した通信を実現することが困難であるという問題があった。 As described above, there is a problem that it is difficult to select a desired communication interface and it is difficult to realize stable communication only by setting the IP address of the communication interface.
本発明は、このような問題点を解決するためになされたものであり、安定した通信を実現することが可能な通信装置及び方法を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide a communication device and a method capable of realizing stable communication.
本発明に係る通信装置は、複数の通信インタフェースと、前記複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶する記憶部と、前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択する選択部と、前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するデータ設定部と、を備える。 The communication device according to the present invention is based on a plurality of communication interfaces, a storage unit that stores each of the plurality of communication interfaces, an IP address and a port number in association with each other, and a communication environment of the plurality of communication interfaces. The IP address of the desired communication interface is set in the selection unit that selects a desired communication interface from the plurality of communication interfaces and the source IP address of the transmission data transmitted from the desired communication interface, and the transmission data is transmitted. A data setting unit for setting the port number of the desired communication interface to the original port number is provided.
本発明に係る方法は、複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶するステップと、前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択するステップと、前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するステップと、を備える。 The method according to the present invention includes a step of correlating and storing each of a plurality of communication interfaces, an IP address and a port number, and a desired communication from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces. In the step of selecting an interface, the IP address of the desired communication interface is set to the source IP address of the transmission data transmitted from the desired communication interface, and the source port number of the transmission data is set to the source port number of the desired communication interface. It includes a step of setting a port number.
本発明によれば、安定した通信を実現することが可能な通信装置及び方法を提供することができる。 According to the present invention, it is possible to provide a communication device and a method capable of realizing stable communication.
[実施の形態1]
以下、図面を参照して本発明の実施の形態について説明する。
[Embodiment 1]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、実施の形態1に係るゲートウェイ装置を例示するブロック図である。 FIG. 1 is a block diagram illustrating a gateway device according to the first embodiment.
図1に示すように、ゲートウェイ装置10は、複数の通信インタフェース21〜25を有する通信インタフェース部20と、記憶部34と、複数の通信インタフェース21〜25から所望の通信インタフェースを選択する選択部31と、所望の通信インタフェースから送信する送信データTdの送信元IPアドレスと送信元ポート番号とを設定するデータ設定部33と、を備える。記憶部34は、複数の通信インタフェース21〜25のそれぞれとIPアドレスとポート番号とが相互に関連付けて記憶する。選択部31は、複数の通信インタフェース21〜25の通信環境に基づいて所望の通信インタフェースを選択する。データ設定部33は、送信データTdの送信元IPアドレスに所望の通信インタフェースのIPアドレスを設定し、送信データTdの送信元ポート番号に所望の通信インタフェースのポート番号を設定する。
As shown in FIG. 1, the
ゲートウェイ装置10の外部には、例えば、有線ネットワーク21n、Wi−Fi(Wireless Fidelity)ネットワーク23n、Cellularネットワーク24nなどの複数の通信ネットワークがある。そして、選択された所望のインタフェースがそれに対応する通信ネットワークに接続される。有線ネットワーク21nは、例えば、WAN(Wide Area Network)やLAN(Local Area Network)などのネットワークである。
Outside the
実施の形態1においては、IPアドレスとポート番号とを使用して所望の通信インタフェースを選択するので安定した通信を実現することができる。 In the first embodiment, a desired communication interface is selected by using the IP address and the port number, so that stable communication can be realized.
図2は、実施の形態1に係るゲートウェイ装置を例示するブロック図である。
図2に示すように、ゲートウェイ装置10は、無線又は有線ネットワークなどの複数の通信ネットワークを介してサーバ60に接続される。通信インタフェース部20の通信インタフェース21は、例えば、有線であるEthernet(登録商標)である。通信インタフェース22は、920MHz(メガヘルツ)帯のZigBee(登録商標)/Wi−SUN(登録商標)のインタフェースである。通信インタフェース23は、5GHz(ギガヘルツ)帯のWi−Fiインタフェースである。通信インタフェース24は、3G(3rd generation)やLTE(Long Term Evolution)などのCellularインタフェースである。通信インタフェース25は、2.4GHz帯のWi−Fiインタフェースである。ゲートウェイ装置10は、自身の配下に、例えばセンサ41を有する。ゲートウェイ装置10は、測定用送信データTmの応答時間tに基づいて所望の通信インタフェースを選択し、その指示を選択部31に対して行う制御部32を備える。
FIG. 2 is a block diagram illustrating the gateway device according to the first embodiment.
As shown in FIG. 2, the
ゲートウェイ装置10の外部には、例えば、ルータ70が設けられ通信インタフェース21と有線で接続される。また、ゲートウェイ装置10の外部には、アクセスポイント81と82が設けられ、それぞれ、通信インタフェース22と23と無線で接続される。また、ゲートウェイ装置10の外部には、基地局50が設けられ、通信インタフェース24と無線で接続される。そして、選択された所望の通信インタフェースとサーバ60とが複数の通信ネットワークの1つを介して接続される。
For example, a
ゲートウェイ装置10及び通信インタフェース21〜25のそれぞれは、相互に異なるIPアドレスと関連付けられる。ゲートウェイ装置10は、例えばIPアドレスが10.0.0.1に関連付けられる。また、通信インタフェース24は、IPアドレスが1.1.1.1に関連付けられる。また、通信インタフェース25は、IPアドレスが192.168.1.10に関連付けられる。また、サーバ60のIPアドレスは、100.100.100.1に関連付けられる。また、センサ41のIPアドレスは、192.168.1.11に関連付けられる。
Each of the
ここで、センサ41から受信したセンサ情報J1を、ゲートウェイ装置10を介してサーバ60に送信することについて説明する。
Here, it will be described that the sensor information J1 received from the sensor 41 is transmitted to the
図3は、IPアドレスとポート番号を例示する図である。
図3の上段は、センサ41がゲートウェイ装置10に送信するときのパケットヘッダを例示する図である。
図3の中段は、センサ42がゲートウェイ装置10に送信するときのパケットヘッダを例示する図である。
図3の下段は、センサから受信したパケットをゲートウェイ装置10がサーバ60に送信するときのパケットヘッダを例示する図である。
FIG. 3 is a diagram illustrating an IP address and a port number.
The upper part of FIG. 3 is a diagram illustrating a packet header when the sensor 41 transmits to the
The middle part of FIG. 3 is a diagram illustrating a packet header when the
The lower part of FIG. 3 is a diagram illustrating a packet header when the
図3の上段に示すように、センサ41はセンサ情報J1をIPパケットで送信する時に、送信元IPアドレスに192.168.1.11を設定し、送信元ポート番号は自身が使用してない番号の中からランダムに選択する。この例では30001を選択する。送信先IPアドレスにサーバ60のIPアドレス100.100.100.1を設定する。
As shown in the upper part of FIG. 3, when the sensor 41 transmits the sensor information J1 in an IP packet, the source IP address is set to 192.168.1.11, and the source port number is not used by itself. Randomly select from the numbers. In this example, 30001 is selected. The IP address 100.100.100.1. Of the
選択部31は、複数の通信インタフェース21〜25の通信環境に基づいて所望の通信インタフェースを選択する。この例では、所望の通信インタフェースは通信インタフェース24である。選択部31は、所望の通信インタフェースとは別の通信インタフェースを複数の通信インタフェース21〜25から選択する。この例では、別の通信インタフェースは通信インタフェース25である。
The
データ設定部33は、センサ情報J1のIPパケットを通信インタフェース25を介して受信する。図3の下段に示すように、データ設定部33は、センサ情報J1から受信したIPパケットのヘッダ情報のうち、送信元IPアドレス部分に通信インタフェース24のIPアドレス1.1.1.1に書きかえ、送信元ポート番号部分に自身が使用していないポート番号に書き換える。この例では、ポート番号30000を設定する。なお、ポート番号30001が使用されていなければ変更しなくてもよい。IPアドレスとポート番号とが設定されたセンサ情報J1は、送信データTdとして通信インタフェース24を介してサーバ60に送信される。
The
すなわち、センサ情報J1は、ゲートウェイ装置10において送信元IPアドレスと送信元ポート番号とが設定され(書き換えられ)、送信データTdとして所望の通信インタフェースを介してサーバ60に送信される。この場合、送信データTdは、別の通信インタフェースを介して取得したセンサ情報J1である。
That is, the sensor information J1 is set (rewritten) in the source IP address and the source port number in the
なお、センサ41とは別のセンサ42がゲートウェイ装置10の配下に存在した場合、センサ42は、センサ42自身が使用していない番号の中からランダムに、送信元ポート番号を選択する。そのため、センサ42は、図3の中段に示すように、センサ41が選択したポート番号と偶然にも同じ送信元ポート番号を使用する可能性がある。
When a
センサ41とセンサ42とが偶然にも同じ送信元ポート番号を使用してセッションの確立を試みた場合、ゲートウェイ装置10は、送信元IPアドレスだけを変更してサーバ60に送信すると、セッションの区別がつかなくなる。すなわち、ゲートウェイ装置10は、センサ情報J1が、センサ41とセンサ42のどちらから受信したセンサ情報なのか区別がつかなくなる。
If the sensor 41 and the
また、例えば、ゲートウェイ装置10は、センサ情報J1に対応するサーバ60からの応答メッセージを受信した時、センサ41とセンサ42のどちらのセンサに応答メッセージを転送してよいかわからなくなる。
Further, for example, when the
従って、実施の形態1においては、送信元IPアドレスだけでなく、セッションの重複が無くなるように送信元ポート番号を書き換える。 Therefore, in the first embodiment, not only the source IP address but also the source port number is rewritten so that the sessions are not duplicated.
そして、記憶部34は、センサ41からIPパケット(センサ情報J1)を受信した時の送信元IPアドレス及び送信元ポート番号と、ゲートウェイ装置10が書き換えた後のIPパケットの送信元IPアドレス及び送信元ポート番号との4つの情報を関連付けてまとめて記憶する。そして、この記憶された情報に基づいて、送信元ポート番号部分は使用されていないポート番号に書き換えられる。
Then, the
ゲートウェイ装置10は、サーバ60から返ってきた応答パケット(応答データRd)を通信インタフェース24経由で受信した場合は、記憶しておいた情報を参照して、送信元のセンサ41に送信できるようIPパケットのヘッダ部分を書き換える。
When the
なお、この例では、通信インタフェース24のみにパケットを送出したが、これを他の通信インタフェースである通信インタフェース21〜23等に同時に送出して、応答が早いものを所望の通信インタフェースに選択する。また、所望の通信インタフェースと別の通信インタフェースとは、IPアドレス及びポート番号の少なくとも一方が異なる。また、別の通信インタフェースである通信インタフェース25は、複数の通信インタフェース21〜25の通信環境に基づいて複数の通信インタフェース21〜25から選択されてもよい。
In this example, the packet is sent only to the
次に、センサ41から受信したセンサ情報J1を、ゲートウェイ装置10を介してサーバ60に送信することについて図3に示すシーケンス図を用いて説明する。実施の形態1においては、複数の全ての通信インタフェース21〜25に測定用送信データTmを送信して、応答が最も早い通信インタフェースを所望の通信インタフェースに選択する。この例では、簡単のため、複数の通信インタフェースの全てに測定用送信データTmを送信するのではなく、通信インタフェース23と24に測定用送信データTmを送信する場合を示す。
Next, the transmission of the sensor information J1 received from the sensor 41 to the
図4は、実施の形態1に係るシステムを例示するシーケンス図である。
図4に示すように、データ設定部33は、測定用送信データTmを生成して選択部31に送信する。測定用送信データTmを生成する際、データ設定部33は、測定用送信データTmの送信先IPアドレスにサーバ60のIPアドレス100.100.100.1を設定し、送信元IPアドレスにゲートウェイ装置10のIPアドレス10.0.0.1を設定する。このようにして、データ設定部33は、送信元IPアドレスと送信先IPアドレスとをヘッダ内に含む測定用送信データTmを生成して選択部31に送信する(ステップS101)。
FIG. 4 is a sequence diagram illustrating the system according to the first embodiment.
As shown in FIG. 4, the
選択部31は、測定用送信データTmがある旨を制御部32に送信する(ステップS102)。
The
制御部32は、測定用送信データTmを通信インタフェース23に適した送信データにし、測定用送信データTmのヘッダ内の送信元IPアドレスを通信インタフェース23のIPアドレスに設定し直す(書き換える)指示を選択部31に送信する。また、制御部32は、測定用送信データTmを通信インタフェース24に適した送信データにし、ヘッダ内の送信元IPアドレスを通信インタフェース24のIPアドレスに設定し直し、ヘッダ内の送信元ポート番号を通信インタフェース24のポート番号に設定し直す指示を選択部31に送信する(ステップS103)。
The
また、制御部32は、これらの測定用送信データTmのそれぞれの送信時刻を記憶する。
Further, the
なお、この例では、制御部32は、測定用送信データTmのヘッダ内の情報の設定し直しの指示を選択部31に対して行っているが、データ設定部33に対して行ってもよい。
In this example, the
選択部31は、制御部32の指示に従って測定用送信データTmを通信インタフェース23に適した送信データにし、ヘッダ内の送信元IPアドレスを通信インタフェース23のIPアドレスに設定し直す(書き換える)。選択部31は、測定用送信データTmを通信インタフェース24に適した送信データにし、ヘッダ内の送信元IPアドレスを通信インタフェース24のIPアドレスに設定し直し、送信元ポート番号を通信インタフェース24のポート番号に設定し直す。選択部31は、それらの測定用送信データTmを通信インタフェース23と24に送信する(ステップS104)。なお、それらの測定用送信データTmは、通信インタフェース23と24とに同時に送信される。また、複数の全ての通信インタフェース21〜24に測定用送信データTmを送信する場合、測定用送信データTmは通信インタフェース21〜24に同時に送信される。
The
通信インタフェース23は、選択部31から入力された測定用送信データTmをネットワーク23nに出力する(ステップS105)。ネットワーク23nの通信品質が良好で通信可能な状態である場合、測定用送信データTmはネットワーク23nを介してサーバ60に伝達される。ネットワーク23nの通信品質が悪い場合、サーバ60は測定用送信データTmを受信できない。
The
サーバ60は、測定用送信データTmに対応する応答データRdを、送信元である通信インタフェース23に対して送信する。ネットワーク23nの通信品質が悪い場合、サーバ60は測定用送信データTmを受信できないので、応答データRdを送信できない、若しくは応答データRdの送信までに長い時間を要する。
The
通信インタフェース23は、受信した応答データRdを選択部31に送信する(ステップS111)。
The
通信インタフェース24は、選択部31から入力された測定用送信データTmをネットワーク24nに出力する(ステップS106)。ネットワーク24nの通信品質が良好で通信可能な状態である場合、測定用送信データTmはネットワーク24nを介してサーバ60に伝達される。ネットワーク24nの通信品質が悪い場合、サーバ60は測定用送信データTmを受信できない。
The
サーバ60は、測定用送信データTmに対応する応答データRdを、送信元である通信インタフェース24に対して送信する。応答データRdは、ネットワーク24nを介して通信インタフェース24で受信される。
The
通信インタフェース24は、受信した応答データRdを選択部31に送信する(ステップS112)。
The
なお、この例では、サーバ60が応答データRdを送信するがこれには限定されない。ネットワーク23n上又はネットワーク24n上の別の装置が応答データRdを送信してもよい。
In this example, the
選択部31は、応答データRdを受信し、通信インタフェース23から受信した応答データRdの受信時刻に関する情報を制御部32に通知する。また、選択部31は、通信インタフェース24から受信した応答データRdの受信時刻に関する情報を制御部32に通知する(ステップS113)。
The
制御部32は、測定用送信データTmの送信時刻と応答データRdの受信時刻とを使用して測定用送信データTm毎の応答時間tを求める。例えば、測定用送信データTmの送信時刻と応答データRdの受信時刻との差分を応答時間tとしてもよい。制御部32は、応答時間tが最短の通信インタフェースである通信インタフェース24を所望の通信インタフェースとして選択する旨の指示を選択部31とデータ設定部33に送信する(ステップS114)。この例では、通信インタフェース24が応答時間tが最短であるので、所望の通信インタフェースとして通信インタフェース24が選択され、通信インタフェース23は選択されない。
The
また、制御部32は、所望の通信インタフェースとして選択されない通信インタフェース23の通信の相手方に対して、通信機能を制限する旨の通知を行う指示を選択部31とデータ設定部33に送信する(ステップS115)。
Further, the
データ設定部33は、制御部32からの指示に従い、通信機能を制限する旨の通知を行うための制限用送信データTrを生成し選択部31に送信する(ステップS116)。
The
選択部31は、制御部32からの指示に従い、通信インタフェース23を選択する(ステップS117)。
The
生成された通信機能を制限する旨の通知を行うための制限用送信データTrは、通信インタフェース23を介してアクセスポイント82に送信される。このようにして、所望の通信インタフェース以外の通信の相手方に対して、通信機能を制限する旨の通知を行う。
The restriction transmission data Tr for notifying that the generated communication function is restricted is transmitted to the
制限用送信データTrは、アクセスポイント82で受信され、通信の機能を制限するために使用される。例えば、通信の機能に関する部分の電源を制限して通信の機能を制限してもよい。制限用送信データTrを、電源の制限に使用することにより消費電力を低く抑えることができる。
The limiting transmission data Tr is received by the
なお、制限用送信データTrは、例えば、TCP(Transmission Control Protocol)/IP(Internet Protocol)を使用する場合、TCPリセットパケットを使用してもよい。 For the limiting transmission data Tr, for example, when TCP (Transmission Control Protocol) / IP (Internet Protocol) is used, a TCP reset packet may be used.
また、複数の通信インタフェース21〜24の全てに測定用送信データTmを送信して応答時間tを求める場合には、所望の通信インタフェースとして選択されなかった通信インタフェースの全てに制限用送信データTrを送信して通信の相手方の通信の機能を制限する。
Further, when the measurement transmission data Tm is transmitted to all of the plurality of
次に、選択部31は、ステップS114に示す指示に従い、通信インタフェース24を所望の通信インタフェースとして選択する(ステップS118)。
Next, the
また、選択部31は、所望の通信インタフェースとは別の通信インタフェースを複数の通信インタフェース21〜25から選択する(ステップS119)。別の通信インタフェースは、予め決められたIPアドレスとポート番号により選択されてもよい。この例では、通信インタフェース25が別の通信インタフェースとして選択されている。
Further, the
センサ41のセンサ情報J1は、通信インタフェース25を介して受信される。この際、センサ情報J1のヘッダ内の送信元IPアドレスにはセンサ41のIPアドレスである192.168.1.11が設定され、送信元ポート番号には30001が設定され、送信先IPアドレスにはサーバ60のIPアドレス100.100.100.1が設定され。
The sensor information J1 of the sensor 41 is received via the
選択部31は、制御部32の指示に従って、受信したセンサ情報J1を通信インタフェース24に適した送信データにし、ヘッダ内の送信元IPアドレスを通信インタフェース24のIPアドレスに設定し、送信元ポート番号を通信インタフェース24のポート番号に設定し、送信先IPアドレスをサーバ60のIPアドレスに設定する。選択部31は、IPアドレスとポート番号とが設定されたセンサ情報J1を通信インタフェース24に送信データTdとして送信する(ステップS120)
The
送信データTdは、通信インタフェース24からネットワーク24nを介してサーバ60に送信される。
The transmission data Td is transmitted from the
実施の形態1においては、通信インタフェースとIPアドレスとポート番号とを相互に関連付けることにより、送信元IPアドレスだけでなく、セッションの重複が無くなるように送信元ポート番号を設定し、IPアドレスとポート番号とにより所望のインタフェースを特定することができる。 In the first embodiment, by associating the communication interface, the IP address, and the port number with each other, not only the source IP address but also the source port number is set so as to eliminate duplication of sessions, and the IP address and port are set. The desired interface can be specified by the number.
また、実施の形態1においては、所望の通信インタフェースとして応答時間tが最短の通信インタフェースが選択されるので、ゲートウェイ装置10とサーバ60との間の通信時間の遅延を少なくすることができる。
Further, in the first embodiment, since the communication interface having the shortest response time t is selected as the desired communication interface, the delay in the communication time between the
その結果、安定した通信を実現することが可能な通信装置及び方法を提供することができる。 As a result, it is possible to provide a communication device and a method capable of realizing stable communication.
なお、所望の通信インタフェースを選択することについては以下のような方法もある。 There are also the following methods for selecting a desired communication interface.
複数の通信インタフェース21〜25のそれぞれの理論上又は通信規格上の最大通信速度を演算する。複数の通信インタフェース21〜25のそれぞれの現在の通信速度を測定する。そして、選択部31は、最大通信速度と測定された通信速度との差分が最も大きい通信インタフェースを所望の通信インタフェースに選択する。
The maximum communication speed in theory or communication standard of each of the plurality of
これにより、所望の通信インタフェースとして最も通信容量に余裕がある通信インタフェースが選択されるので、送信データTdのデータ量が変化した場合でも柔軟に対応できる。 As a result, the communication interface having the largest communication capacity is selected as the desired communication interface, so that even if the amount of transmission data Td changes, it can be flexibly dealt with.
また、複数の通信インタフェース21〜25のそれぞれの理論上又は通信規格上の最大通信速度を演算する。複数の通信インタフェース21〜25のそれぞれの現在の通信速度を測定する。最大通信速度と測定された通信速度との差分を演算する。差分が所定の閾値以下の通信インタフェースを複数の通信インタフェース21〜25から除外する。そして、選択部31は、除外した後の複数の通信インタフェースの通信環境に基づいて所望の通信インタフェースを選択する。
In addition, the maximum communication speed according to the theory or communication standard of each of the plurality of
これにより、通信容量に余裕の無い通信インタフェースが除外され、残りの通信インタフェースで通信接続を試みることができる。 As a result, the communication interface having no margin in the communication capacity is excluded, and the communication connection can be attempted with the remaining communication interface.
また、複数の通信インタフェース21〜25のそれぞれに異なる優先度を関連付けする。そして、選択部31は、測定用送信データTmに対する応答時間tが所定の時間以内であって優先度の最も高い通信インタフェースを所望の通信インタフェースに選択する。
Further, different priorities are associated with each of the plurality of
また、無線の周波数の特性として、周波数の低い無線信号は、通信速度は遅いが伝送距離は長いことが知られている。これにより、周波数の低い無線信号を利用した場合には、通信の輻輳が発生易くなる。従って、高い周波数を利用する通信インタフェースに低い周波数を利用する通信インタフェースよりも高い優先度を設定する。これにより、高い周波数を利用する通信インタフェースが選択されやすくなり、通信の輻輳が発生しにくくなる。 Further, as a characteristic of radio frequency, it is known that a radio signal having a low frequency has a slow communication speed but a long transmission distance. As a result, when a radio signal having a low frequency is used, communication congestion is likely to occur. Therefore, a communication interface that uses a high frequency is set to have a higher priority than a communication interface that uses a low frequency. This makes it easier to select a communication interface that uses a high frequency, and makes it less likely that communication congestion will occur.
また、有線通信である通信インタフェース21は、無線通信である通信インタフェース21〜24よりも選択されやすい。そこで、優先度を調整して通信インタフェース21を選択されにくいようにしてもよい。
Further, the
また、複数の通信インタフェース21〜25のそれぞれの受信電界強度を測定する。そして、選択部31は、受信電界強度が最大の受信電界強度に対応する通信インタフェースを所望の通信インタフェースに選択する。2.4GHz帯のWi−Fiインタフェースである通信インタフェース25の周波数は、電子レンジやブルートゥース(登録商標)で使用される周波数に近い。電子レンジやブルートゥース(登録商標)により干渉が起きた場合でも他の通信インタフェースを選択することができる。これにより、ゲートウェイ装置10とサーバ60との間の通信のスループットが向上する。
In addition, the received electric field strength of each of the plurality of
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 The present invention is not limited to the above embodiment, and can be appropriately modified without departing from the spirit.
10…ゲートウェイ装置 20…通信インタフェース部 21〜25…通信インタフェース 21n…通信ネットワーク(有線ネットワーク) 23n…通信ネットワーク(Wi−Fiネットワーク) 24n…通信ネットワーク(Cellularネットワーク) 31…選択部 32…制御部 33…データ設定部 34…記憶部 41、42…センサ 50…基地局 60…サーバ 70…ルータ 81、82…アクセスポイント
10 ...
Claims (6)
前記複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶する記憶部と、
前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択する選択部と、
前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するデータ設定部と、
を備え、
前記複数の通信インタフェースのそれぞれの最大通信速度を演算し、
前記複数の通信インタフェースのそれぞれの現在の通信速度を測定し、
前記選択部は、前記最大通信速度と前記通信速度との差分が最も大きい通信インタフェースを前記所望の通信インタフェースに選択する、
通信装置。 With multiple communication interfaces
A storage unit that stores each of the plurality of communication interfaces, an IP address, and a port number in association with each other.
A selection unit that selects a desired communication interface from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces.
Data setting that sets the IP address of the desired communication interface to the source IP address of the transmission data transmitted from the desired communication interface and sets the port number of the desired communication interface to the source port number of the transmission data. Department and
Bei to give a,
Calculate the maximum communication speed of each of the plurality of communication interfaces,
The current communication speed of each of the plurality of communication interfaces is measured, and
The selection unit selects the communication interface having the largest difference between the maximum communication speed and the communication speed as the desired communication interface.
Communication device.
前記複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶する記憶部と、 A storage unit that stores each of the plurality of communication interfaces and an IP address and a port number in association with each other.
前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択する選択部と、 A selection unit that selects a desired communication interface from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces.
前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するデータ設定部と、 Data setting that sets the IP address of the desired communication interface to the source IP address of the transmission data transmitted from the desired communication interface and sets the port number of the desired communication interface to the source port number of the transmission data. Department and
を備え、 With
前記複数の通信インタフェースのそれぞれの最大通信速度を演算し、 Calculate the maximum communication speed of each of the plurality of communication interfaces,
前記複数の通信インタフェースのそれぞれの現在の通信速度を測定し、 The current communication speed of each of the plurality of communication interfaces is measured, and
前記最大通信速度と前記通信速度との差分を演算し、 Calculate the difference between the maximum communication speed and the communication speed,
前記差分が所定の閾値以下の通信インタフェースを前記複数の通信インタフェースから除外し、 A communication interface whose difference is equal to or less than a predetermined threshold value is excluded from the plurality of communication interfaces.
前記選択部は、前記除外した後の前記複数の通信インタフェースの通信環境に基づいて前記所望の通信インタフェースを選択する、 The selection unit selects the desired communication interface based on the communication environment of the plurality of communication interfaces after the exclusion.
通信装置。 Communication device.
前記複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶する記憶部と、 A storage unit that stores each of the plurality of communication interfaces and an IP address and a port number in association with each other.
前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択する選択部と、 A selection unit that selects a desired communication interface from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces.
前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するデータ設定部と、 Data setting that sets the IP address of the desired communication interface to the source IP address of the transmission data transmitted from the desired communication interface and sets the port number of the desired communication interface to the source port number of the transmission data. Department and
を備え、 With
前記複数の通信インタフェースのそれぞれに異なる優先度を関連付けし、 Different priorities are associated with each of the plurality of communication interfaces.
前記選択部は、前記送信データに対する応答時間が所定の時間以内であって前記優先度の最も高い通信インタフェースを前記所望の通信インタフェースに選択する、 The selection unit selects the communication interface having the highest priority with the response time to the transmission data within a predetermined time as the desired communication interface.
通信装置。 Communication device.
前記複数の通信インタフェースのそれぞれとIPアドレスとポート番号とを相互に関連付けて記憶する記憶部と、 A storage unit that stores each of the plurality of communication interfaces and an IP address and a port number in association with each other.
前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択する選択部と、 A selection unit that selects a desired communication interface from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces.
前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するデータ設定部と、 Data setting that sets the IP address of the desired communication interface to the source IP address of the transmission data transmitted from the desired communication interface and sets the port number of the desired communication interface to the source port number of the transmission data. Department and
を備え、 With
前記複数の通信インタフェースのそれぞれの受信電界強度を測定し、 The received electric field strength of each of the plurality of communication interfaces is measured, and
前記選択部は、前記受信電界強度が最大の受信電界強度に対応する通信インタフェースを前記所望の通信インタフェースに選択する、 The selection unit selects the communication interface corresponding to the received electric field strength having the maximum received electric field strength as the desired communication interface.
通信装置。 Communication device.
前記送信データは、前記別の通信インタフェースを介して取得し、
前記所望の通信インタフェースと前記別の通信インタフェースとは、IPアドレス及びポート番号の少なくとも一方が異なる、
請求項1から4のいずれか1つに記載の通信装置。 The selection unit selects a communication interface different from the desired communication interface from the plurality of communication interfaces.
The transmitted data is acquired via the other communication interface and
At least one of the IP address and the port number is different between the desired communication interface and the other communication interface.
The communication device according to any one of claims 1 to 4 .
前記複数の通信インタフェースの通信環境に基づいて前記複数の通信インタフェースから所望の通信インタフェースを選択するステップと、
前記所望の通信インタフェースから送信する送信データの送信元IPアドレスに前記所望の通信インタフェースのIPアドレスを設定し、前記送信データの送信元ポート番号に前記所望の通信インタフェースのポート番号を設定するステップと、
を備え、
前記複数の通信インタフェースのそれぞれの最大通信速度を演算し、
前記複数の通信インタフェースのそれぞれの現在の通信速度を測定し、
前記選択するステップは、前記最大通信速度と前記通信速度との差分が最も大きい通信インタフェースを前記所望の通信インタフェースに選択する、
方法。 A step of associating each of multiple communication interfaces with an IP address and a port number and storing them.
A step of selecting a desired communication interface from the plurality of communication interfaces based on the communication environment of the plurality of communication interfaces, and
A step of setting the IP address of the desired communication interface to the source IP address of the transmission data transmitted from the desired communication interface and setting the port number of the desired communication interface to the source port number of the transmission data. ,
Bei to give a,
Calculate the maximum communication speed of each of the plurality of communication interfaces,
The current communication speed of each of the plurality of communication interfaces is measured, and
In the selection step, the communication interface having the largest difference between the maximum communication speed and the communication speed is selected as the desired communication interface.
Method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016059871A JP6776572B2 (en) | 2016-03-24 | 2016-03-24 | Communication equipment and methods |
PCT/JP2017/010255 WO2017164015A1 (en) | 2016-03-24 | 2017-03-14 | Communication device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016059871A JP6776572B2 (en) | 2016-03-24 | 2016-03-24 | Communication equipment and methods |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017175412A JP2017175412A (en) | 2017-09-28 |
JP6776572B2 true JP6776572B2 (en) | 2020-10-28 |
Family
ID=59899436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016059871A Active JP6776572B2 (en) | 2016-03-24 | 2016-03-24 | Communication equipment and methods |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6776572B2 (en) |
WO (1) | WO2017164015A1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001352337A (en) * | 2000-04-04 | 2001-12-21 | Fujitsu Ltd | Communication data repeater and method |
JP3898498B2 (en) * | 2001-12-06 | 2007-03-28 | 富士通株式会社 | Server load balancing system |
JP4600154B2 (en) * | 2005-05-26 | 2010-12-15 | 日本電気株式会社 | Portable communication terminal, communication route selection method and communication route selection program |
-
2016
- 2016-03-24 JP JP2016059871A patent/JP6776572B2/en active Active
-
2017
- 2017-03-14 WO PCT/JP2017/010255 patent/WO2017164015A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017164015A1 (en) | 2017-09-28 |
JP2017175412A (en) | 2017-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10454834B2 (en) | Network traffic control during limited power situations | |
US9565108B2 (en) | Distributed node migration between routing domains | |
US10129202B2 (en) | Optimizing global IPv6 address assignments | |
US8472348B2 (en) | Rapid network formation for low-power and lossy networks | |
US8503309B2 (en) | Dynamic expelling of child nodes in directed acyclic graphs in a computer network | |
US9549363B2 (en) | Obtaining data reception parameters on-demand in a multiple interface network | |
US9118539B2 (en) | Managing grey zones of unreachable nodes in computer networks | |
EP3170342B1 (en) | Distributed arbitration of time contention in tsch networks | |
CN112152921B (en) | Method for establishing routing table, electronic equipment and network | |
US20180124812A1 (en) | Per-packet, time slotted channel hopping (tsch), meta-timeslot | |
CA3006394C (en) | Status detection method and wireless network node | |
EP3172873B1 (en) | Order-sensitive communications in packet reordering networks | |
WO2016148940A1 (en) | Reliable multicast in low-power and lossy networks | |
WO2014022296A1 (en) | Routing using cached source routes from message headers | |
US9577915B2 (en) | Rate-limiting samples for ETX computation in computer networks | |
CN108476457A (en) | Distributed reaction resource in time slotted channel hopping network and management and running | |
US20150023369A1 (en) | Obtaining data reception parameters in a multiple interface network | |
CA2889989A1 (en) | Push-based short-cut requests within a directed acyclic graph | |
US20220239600A1 (en) | Avoiding jitter in a communication system | |
US9081567B1 (en) | Method and apparatus to control routing convergence during node reboot by entering a freeze state that inhibits routing convergence during the reboot process | |
CN107079354B (en) | Method and apparatus for setting an inactivity timer | |
Gardasevic et al. | On the performance of 6LoWPAN through experimentation | |
Guo et al. | Resource aware routing protocol in heterogeneous wireless machine-to-machine networks | |
Lutz et al. | ATLAS: Adaptive topology-and load-aware scheduling | |
JP6776572B2 (en) | Communication equipment and methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190206 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200218 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200413 |
|
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: 20200908 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200921 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6776572 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |