JP2019176354A - Control device, arp response equipment, communication system, and synchronization method - Google Patents

Control device, arp response equipment, communication system, and synchronization method Download PDF

Info

Publication number
JP2019176354A
JP2019176354A JP2018063382A JP2018063382A JP2019176354A JP 2019176354 A JP2019176354 A JP 2019176354A JP 2018063382 A JP2018063382 A JP 2018063382A JP 2018063382 A JP2018063382 A JP 2018063382A JP 2019176354 A JP2019176354 A JP 2019176354A
Authority
JP
Japan
Prior art keywords
address resolution
controller
resolution information
time
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.)
Granted
Application number
JP2018063382A
Other languages
Japanese (ja)
Other versions
JP7000955B2 (en
Inventor
賢太郎 笹川
Kentaro Sasagawa
賢太郎 笹川
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2018063382A priority Critical patent/JP7000955B2/en
Publication of JP2019176354A publication Critical patent/JP2019176354A/en
Application granted granted Critical
Publication of JP7000955B2 publication Critical patent/JP7000955B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To reduce a communication load at synchronization of ARP information in proportion to an information amount of ARP information to be synchronized.SOLUTION: A communication system includes: response equipment 10 which holds a plurality of address solution information sets to respond to an address solution request using the plurality of address solution information sets; and a controller 20 which is communicable with the response equipment and controls switches 30, 31 on the network. The response equipment, when holding new address solution information, transmits the new address solution information to the controller. When receiving the new address solution information, the controller determines whether or not to synchronize address solution information with the response equipment, on the basis of a first time when the new address solution information is generated and a second time when address solution information received immediately before the above reception. When determining to perform synchronization, the controller synchronizes the address solution information held by the response equipment during a time interval from the second time to the first time with the controller.SELECTED DRAWING: Figure 1

Description

本発明は、ARP(Address Resolution Protocol)情報の同期を実行する、コントローラ、ARP応答機器、コントローラとARP応答機器を備えたシステム、およびそのシステムにおけるARP情報の同期方法に関する。
The present invention relates to a controller, an ARP response device, a system including a controller and an ARP response device, and a method of synchronizing ARP information in the system, for executing synchronization of ARP (Address Resolution Protocol) information.

近年、ネットワークの大規模化および複雑化に伴い、SDN(Software Defined Network)が注目されている。   In recent years, SDN (Software Defined Network) has been attracting attention as the network becomes larger and more complicated.

SDNを実現する技術の一つとして、非特許文献1に記載のOpenFlowがある。OpenFlowのようなSDN技術を適用したネットワークでは、制御装置(以下、コントローラと呼称する。)が、パケット転送を行う複数の通信装置(以下、スイッチと呼称する。)を集中制御する。これにより、ネットワークの制御や管理を容易に行うことができる。   One technique for realizing SDN is OpenFlow described in Non-Patent Document 1. In a network to which an SDN technology such as OpenFlow is applied, a control device (hereinafter referred to as a controller) centrally controls a plurality of communication devices (hereinafter referred to as switches) that perform packet transfer. Thereby, control and management of a network can be performed easily.

SDN技術を適用したネットワークにおける、宛先解決処理であるARP(Address Resolution Protocol)処理の一例として、コントローラにARP応答を実行させる手法がある。   As an example of an ARP (Address Resolution Protocol) process that is a destination resolution process in a network to which the SDN technology is applied, there is a technique for causing a controller to execute an ARP response.

この場合、通信元の端末からARP要求を受信したスイッチは、受信したARP要求をブロードキャストせずにコントローラへ送信する。   In this case, the switch that has received the ARP request from the communication source terminal transmits the received ARP request to the controller without broadcasting.

コントローラは、スイッチからARP要求を受信すると、予め記憶されているIP(Internet Protocol)アドレスとMAC(Media Access Control)アドレスを対応付けた情報(以下、ARP情報と記載する)が格納されたテーブルを参照し、要求されているIPアドレスに対応するMACアドレスを特定する。   When the controller receives an ARP request from the switch, the controller stores a table storing information (hereinafter referred to as ARP information) in which IP (Internet Protocol) addresses and MAC (Media Access Control) addresses stored in advance are associated with each other. The MAC address corresponding to the requested IP address is identified.

さらにコントローラは、MACアドレスを特定したら、当該MACアドレスを含むARP応答を生成し、通信元の端末に送信する。このような処理を行うことで、通信元の端末は通信相手のMACアドレスを特定できる。   Further, after specifying the MAC address, the controller generates an ARP response including the MAC address and transmits it to the communication source terminal. By performing such processing, the communication source terminal can specify the MAC address of the communication partner.

上述のようにコントローラがARP応答することで、従来のようにARP要求をブロードキャスト通信することなくARP処理を行うことができるため通信帯域の圧迫を軽減することができる。   As described above, when the controller makes an ARP response, the ARP processing can be performed without broadcast communication of the ARP request as in the conventional case, so that the compression of the communication band can be reduced.

一方で、コントローラにARP要求が集中するため、コントローラの故障、またはコントローラとスイッチ間の通信に障害が発生した場合などにARP処理が行えなくなるという問題がある。   On the other hand, since ARP requests are concentrated on the controller, there is a problem that the ARP processing cannot be performed when a failure of the controller or a failure occurs in communication between the controller and the switch.

上記問題を解決する手法として、特許文献1がある。特許文献1では、コントローラの代わりにARP応答を行うことができるマルチアクティブゲートウェイを備えた通信システムが開示されている。特許文献1の通信システムによると、マルチアクティブゲートウェイは、コントローラと同じARP情報を保持し、当該ARP情報を用いて、コントローラの代わりにARP応答することができる。さらに、マルチアクティブゲートウェイが故障した場合、コントローラは、自身が持つ全てのARP情報をマルチアクティブゲートウェイへ送信することにより、コントローラとマルチアクティブゲートウェイとが持つARP情報を同期することが開示されている。
There exists patent document 1 as a method of solving the said problem. Patent Document 1 discloses a communication system including a multi-active gateway that can perform an ARP response instead of a controller. According to the communication system of Patent Document 1, the multi-active gateway holds the same ARP information as the controller, and can use the ARP information to make an ARP response instead of the controller. Furthermore, it is disclosed that when the multi-active gateway fails, the controller synchronizes the ARP information held by the controller and the multi-active gateway by transmitting all the ARP information held by the controller to the multi-active gateway.

特開2017−028698JP 2017-028698

ONF(Open Networking Foundation), “OpenFlow Switch Specification, Version 1.5.1(Protocol version 0x06),”March 26, 2015. [平成30(2018)年1月26日検索]、インターネット<URL: https://www.opennetworking.org/images/stories/downloads/sdn−resources/onf−specifications/openflow/openflow−switch−v1.5.1.pdf>ONF (Open Networking Foundation), “OpenFlow Switch Specification, Version 1.5.1 (Protocol version 0x06),” March 26, 2015. [URL search on January 26, 2018] t //www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-switch-v1.5.1. pdf>

以下の分析は、本発明によりなされたものである。特許文献1では、ARP情報の同期を実行する際に、コントローラが持つ全てのARP情報をマルチアクティブゲートウェイへ送信している。そのため、同期するARP情報の情報量に比例して、ARP情報の同期をする際の通信負荷が増大する。   The following analysis has been made according to the present invention. In Patent Literature 1, when ARP information synchronization is executed, all ARP information held by the controller is transmitted to the multi-active gateway. Therefore, the communication load when synchronizing ARP information increases in proportion to the information amount of ARP information to be synchronized.

本発明は、上記課題を鑑みてなされたものであり、その目的は、ARP情報の同期を実行する際の通信負荷を軽減することである。
The present invention has been made in view of the above problems, and an object thereof is to reduce a communication load when executing synchronization of ARP information.

本発明の第1の視点によれば、複数のアドレス解決情報を保持し、該複数のアドレス解決情報を使用してアドレス解決要求に対する応答を行う応答機器と、応答機器と通信可能であり、ネットワーク上のスイッチを制御するコントローラを備え、応答機器は、新たなアドレス解決情報を保持したときに、該新たなアドレス解決情報をコントローラに送信し、コントローラは、該新たなアドレス解決情報を受信したときに、該新たなアドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、応答機器とアドレス解決情報の同期を行うか否かを判断し、同期を行うと判断した場合に、応答機器が第2の時刻から第1の時刻の間に保持したアドレス解決情報をコントローラと同期することを特徴とする通信システムが提供される。   According to the first aspect of the present invention, a response device that holds a plurality of address resolution information and responds to an address resolution request using the plurality of address resolution information, and can communicate with the response device. A controller that controls the upper switch, and the responding device transmits the new address resolution information to the controller when the new address resolution information is held, and the controller receives the new address resolution information In addition, the response device and the address resolution information are synchronized based on the first time when the new address resolution information is generated and the second time when the address resolution information received immediately before the reception is generated. If the response device determines that synchronization is to be performed, the address resolution information held by the responding device between the second time and the first time is the same as that of the controller. Communication system, characterized in that it is provided.

本発明の第2の視点によれば、アドレス解決情報を保持する記憶部と、受信したアドレス解決情報を記憶部に格納する蓄積部と、蓄積部がアドレス解決情報を受信したとき、該アドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、応答機器とアドレス解決情報の同期を行うか否かを判断する判定部と、判定部が同期を行うと判断した場合に、第2の時刻から第1の時刻の間に生成されたアドレス解決情報の同期を要求する同期要求部と、を備えることを特徴とするコントローラが提供される。   According to a second aspect of the present invention, a storage unit that holds address resolution information, a storage unit that stores the received address resolution information in the storage unit, and the address resolution when the storage unit receives the address resolution information. Whether to synchronize the response device with the address resolution information based on the first time when the information is generated and the second time when the address resolution information received immediately before the reception is generated And a synchronization request unit that requests synchronization of address resolution information generated between the second time and the first time when the determination unit determines to perform synchronization. A controller is provided.

本発明の第3の視点によれば、複数のアドレス解決情報を保持し、該複数のアドレス解決情報を使用してアドレス解決要求に対する応答を行う応答機器と、応答機器と通信可能であり、ネットワーク上のスイッチを制御するコントローラと、を含む通信システムによって行われるアドレス解決情報の同期方法であって、応答機器が、新たなアドレス解決情報を保持したときに、該アドレス解決情報をコントローラに送信するステップと、コントローラが、アドレス解決情報を受信したときに、該アドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、応答機器とアドレス解決情報の同期を行うか否かを判断するステップと、コントローラが同期を行うと判断した場合に、応答機器が第2の時刻から第1の時刻の間に保持したアドレス解決情報をコントローラと同期するステップと、を含むことを特徴とするアドレス解決情報の同期方法が提供される。   According to the third aspect of the present invention, a response device that holds a plurality of address resolution information and responds to an address resolution request using the plurality of address resolution information can communicate with the response device. A method of synchronizing address resolution information performed by a communication system including a controller that controls the upper switch, and when the responding device holds new address resolution information, transmits the address resolution information to the controller A first time when the address resolution information is generated when the controller receives the address resolution information, and a second time when the address resolution information received immediately before the reception is generated And determining whether to synchronize the address resolution information with the responding device, and if the controller determines to synchronize Response equipment synchronization method address resolution information, which comprises the steps of: synchronizing with the controller the held address resolution information between the first time from the second time, is provided.

本発明の第4の視点によれば、ネットワーク上のスイッチを制御し、アドレス解決情報を保持するコンピュータに、新たなアドレス解決情報を受信したとき、該新たなアドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、アドレス解決要求に対する応答を行う応答機器とアドレス解決情報の同期を行うか否かを判断する処理と、同期を行うと判断した場合に、前記第2の時刻から前記第1の時刻の間に生成されたアドレス解決情報の同期を要求する処理と、を実行させることを特徴とするプログラムが提供される。
According to the fourth aspect of the present invention, when new address resolution information is received by a computer that controls a switch on the network and holds the address resolution information, the first address resolution information is generated. And whether or not to synchronize the address resolution information with the responding device that responds to the address resolution request based on the time of the first time and the second time when the address resolution information received immediately before the reception is generated And a process for requesting synchronization of address resolution information generated between the second time and the first time when it is determined that synchronization is performed. Is provided.

本発明によれば、コントローラは同期対象の時間帯を特定し、ARP応答機器は当該特定した時間帯に生成されたアドレス解決情報のみをコントローラと同期する。   According to the present invention, the controller specifies a time zone to be synchronized, and the ARP response device synchronizes only the address resolution information generated in the specified time zone with the controller.

これにより、ARP応答機器がコントローラへ送信するアドレス解決情報の情報量を軽減することができる。   Thereby, the information amount of the address resolution information which an ARP response apparatus transmits to a controller can be reduced.

従って、アドレス解決情報を同期する際の通信負荷を軽減することができる。
Therefore, it is possible to reduce the communication load when synchronizing the address resolution information.

本発明にかかる通信システムの構成を示す図である。It is a figure which shows the structure of the communication system concerning this invention. 第1の実施形態におけるARP応答機器の構成を示す図である。It is a figure which shows the structure of the ARP response apparatus in 1st Embodiment. 第1の実施形態におけるARP応答機器が保持するマッピング情報の一例を示す図である。It is a figure which shows an example of the mapping information which the ARP response apparatus in 1st Embodiment hold | maintains. 第1の実施形態におけるコントローラの構成を示す図である。It is a figure which shows the structure of the controller in 1st Embodiment. 第1の実施形態におけるコントローラが保持するマッピング情報の一例を示す図である。It is a figure which shows an example of the mapping information which the controller in 1st Embodiment hold | maintains. 第1の実施形態におけるARP応答機器がARP要求を受信した際のARP応答の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation | movement of the ARP response when the ARP response apparatus in 1st Embodiment receives an ARP request. 第1の実施形態におけるコントローラがARP応答機器からマッピング情報を受信した際に行うマッピング情報の同期要否判定処理動作を示すフローチャートである。It is a flowchart which shows the synchronization necessity determination processing operation | movement of the mapping information performed when the controller in 1st Embodiment receives mapping information from an ARP response apparatus. 第1の実施形態におけるコントローラが同期要否判定処理動作を行う際に保持するマッピング情報の一例を示す図である。It is a figure which shows an example of the mapping information hold | maintained when the controller in 1st Embodiment performs a synchronization necessity determination processing operation. 第1の実施形態におけるARP応答機器が、コントローラから同期要求を受信した際の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation when the ARP response apparatus in 1st Embodiment receives the synchronous request | requirement from a controller. 第1の実施形態におけるARP応答機器が抽出したマッピング情報の一例を示す図である。It is a figure which shows an example of the mapping information which the ARP response apparatus in 1st Embodiment extracted. 第1の実施形態における、コントローラが保持するマッピング情報と、ARP応答機器が保持するマッピング情報とが同期していることを示す図である。It is a figure which shows that the mapping information which a controller hold | maintains in 1st Embodiment, and the mapping information which an ARP response apparatus hold | maintains are synchronizing. 第2の実施形態におけるARP応答機器の構成を示す図である。It is a figure which shows the structure of the ARP response apparatus in 2nd Embodiment. 第2の実施形態におけるARP応答機器がコントローラから同期要求を受信した際のマッピング情報の同期処理動作を示すフローチャートである。It is a flowchart which shows the synchronous processing operation | movement of the mapping information when the ARP response apparatus in 2nd Embodiment receives the synchronous request | requirement from a controller. 第2の実施形態におけるARP応答機器がマッピング情報を分割する一例を示す図である。It is a figure which shows an example in which the ARP response apparatus in 2nd Embodiment divides | segments mapping information.

[第1の実施形態]
本発明の第1の実施形態について、図1を用いて詳細に説明する。

[構成の説明]
図1は、本発明にかかる通信システムの構成を示す図である。
[First Embodiment]
A first embodiment of the present invention will be described in detail with reference to FIG.

[Description of configuration]
FIG. 1 is a diagram showing a configuration of a communication system according to the present invention.

図1の通信システムは、ARP応答機器10と、コントローラ20と、スイッチ30と、スイッチ31と、端末40と、端末41と、を備える。   The communication system in FIG. 1 includes an ARP response device 10, a controller 20, a switch 30, a switch 31, a terminal 40, and a terminal 41.

コントローラ20は、ARP応答機器10、スイッチ30、およびスイッチ31とそれぞれ接続している。   The controller 20 is connected to the ARP response device 10, the switch 30, and the switch 31.

スイッチ30は、ARP応答機器10、スイッチ31、および端末40とそれぞれ接続している。   The switch 30 is connected to the ARP response device 10, the switch 31, and the terminal 40, respectively.

スイッチ31は、端末41と接続している。   The switch 31 is connected to the terminal 41.

コントローラ20と応答機器10、コントローラ20とスイッチ30、およびコントローラ20とスイッチ31は、それぞれ制御用の専用回線で接続されており、図1において接続関係を破線で示す。制御用の専用回線は、例えば、OpenFlowチャネルである。   The controller 20 and the response device 10, the controller 20 and the switch 30, and the controller 20 and the switch 31 are respectively connected by a dedicated line for control, and the connection relationship is indicated by a broken line in FIG. The dedicated line for control is, for example, an OpenFlow channel.

応答機器10とスイッチ30、およびスイッチ30とスイッチ31は、通常のデータ回線で接続されており、図1において接続関係を実線で示す。   The response device 10 and the switch 30, and the switch 30 and the switch 31 are connected by a normal data line, and the connection relationship is shown by a solid line in FIG.

スイッチ30、およびスイッチ31は、受信パケットを処理する通信装置である。例えば、スイッチ30、およびスイッチ31は、OpenFlowスイッチである。   The switch 30 and the switch 31 are communication devices that process received packets. For example, the switch 30 and the switch 31 are OpenFlow switches.

端末40、および端末41は、例えば、携帯電話端末やスマートフォン、タブレット、PC(Personal Computer)などの通信端末である。   The terminal 40 and the terminal 41 are communication terminals such as a mobile phone terminal, a smartphone, a tablet, and a PC (Personal Computer).

図2は、ARP応答機器10の構成を示す図である。   FIG. 2 is a diagram illustrating a configuration of the ARP response device 10.

ARP応答機器10は、通信部11と、記憶部12と、応答処理部13と、同期処理部14と、を備える。   The ARP response device 10 includes a communication unit 11, a storage unit 12, a response processing unit 13, and a synchronization processing unit 14.

通信部11は、コントローラ20、およびスイッチ30との通信を行うための通信インターフェースである。   The communication unit 11 is a communication interface for performing communication with the controller 20 and the switch 30.

記憶部12は、ARP要求に応答するためのARP情報と当該ARP情報が生成された時刻を示す時刻情報を対応づけた情報(以下、この情報をマッピング情報と記載する。)を保持する。   The storage unit 12 holds information in which ARP information for responding to an ARP request is associated with time information indicating the time when the ARP information is generated (hereinafter, this information is referred to as mapping information).

図3に、記憶部12が保持するマッピング情報の一例を示す。マッピング情報は、図3に示すようにテーブル管理されている。   FIG. 3 shows an example of mapping information held by the storage unit 12. The mapping information is managed in a table as shown in FIG.

例えば、IPアドレス「192.196.0.0」が割り当てられた端末のMACアドレスは「FF:FF:FF:FF:FF:00」であることを示し、これらを対応づけたARP情報が生成された時刻が「10:00」であることを示している。   For example, the MAC address of the terminal to which the IP address “192.168.196.0” is assigned is “FF: FF: FF: FF: FF: 0”, and ARP information in association with these is generated. It is shown that the set time is “10:00”.

応答処理部13は、記憶部12を参照して、ARP要求によって要求されているIPアドレスに対応するMACアドレスの特定を行う。   The response processing unit 13 refers to the storage unit 12 and specifies the MAC address corresponding to the IP address requested by the ARP request.

同期処理部14は、マッピング情報の同期要求をコントローラ20から受信すると、記憶部12を参照してコントローラ20と同期を行うべきマッピング情報を特定する。   When receiving the mapping information synchronization request from the controller 20, the synchronization processing unit 14 refers to the storage unit 12 and specifies mapping information to be synchronized with the controller 20.

図4は、コントローラ20の構成を示す図である。   FIG. 4 is a diagram illustrating a configuration of the controller 20.

コントローラ20は、通信部21と、スイッチ制御部22と、蓄積部23、記憶部24と、判定部25と、同期要求部26と、を備える。   The controller 20 includes a communication unit 21, a switch control unit 22, a storage unit 23, a storage unit 24, a determination unit 25, and a synchronization request unit 26.

通信部21は、ARP応答機器10、スイッチ30、およびスイッチ31との通信を行うための通信インターフェースである。   The communication unit 21 is a communication interface for performing communication with the ARP response device 10, the switch 30, and the switch 31.

スイッチ制御部22は、スイッチ30とスイッチ31を制御する。具体的には、スイッチ制御部22は、スイッチ30とスイッチ31が受信パケットを処理するための制御情報をそれぞれ生成する。さらに、スイッチ制御部22は、生成した制御情報それぞれをスイッチ30とスイッチ31へ送信する。   The switch control unit 22 controls the switch 30 and the switch 31. Specifically, the switch control unit 22 generates control information for the switch 30 and the switch 31 to process the received packet. Further, the switch control unit 22 transmits the generated control information to the switch 30 and the switch 31.

蓄積部23は、受信したマッピング情報を記憶部24に格納する。   The accumulation unit 23 stores the received mapping information in the storage unit 24.

記憶部24は、マッピング情報を保持する。マッピング情報は、記憶部12が保持するマッピング情報と同質のものであるため、詳細な説明は省略する。   The storage unit 24 holds mapping information. Since the mapping information is the same quality as the mapping information held by the storage unit 12, detailed description thereof is omitted.

図5に記憶部24が保持するマッピング情報の例を示す。記憶部24が保持するマッピング情報は、記憶部12が保持するマッピング情報と同様に、テーブル管理されている。   FIG. 5 shows an example of mapping information held by the storage unit 24. The mapping information held by the storage unit 24 is managed in the same manner as the mapping information held by the storage unit 12.

判定部25は、記憶部24を参照し、マッピング情報に含まれる時刻情報から、マッピング情報を同期要求するか否かを判定する。   The determination unit 25 refers to the storage unit 24 and determines whether or not to request the synchronization of the mapping information from the time information included in the mapping information.

同期要求部26は、マッピング情報の同期を要求する。

[動作の説明]
本実施形態の通信システムの動作について説明する。
The synchronization request unit 26 requests the synchronization of mapping information.

[Description of operation]
The operation of the communication system of this embodiment will be described.

尚、以下では、端末40が端末41のアドレス解決を図るARP要求を行う場合について説明する。   In the following, a case where the terminal 40 makes an ARP request for address resolution of the terminal 41 will be described.

端末40は、スイッチ30に対して、端末41のIPアドレスを含む端末41のMACアドレスを要求するためのARP要求を送信する。   The terminal 40 transmits an ARP request for requesting the MAC address of the terminal 41 including the IP address of the terminal 41 to the switch 30.

スイッチ30は、受信したARP要求を、ARP応答機器10およびコントローラ20へ送信する。   The switch 30 transmits the received ARP request to the ARP response device 10 and the controller 20.

ARP応答機器10は、受信したARP要求に対してARP応答する。   The ARP response device 10 makes an ARP response to the received ARP request.

ARP応答の結果、記憶部12に保持しているマッピング情報が更新された場合、ARP応答機器10は、更新されたマッピング情報をコントローラ20に送信する。   As a result of the ARP response, when the mapping information held in the storage unit 12 is updated, the ARP response device 10 transmits the updated mapping information to the controller 20.

コントローラ20は、ARP応答機器10からマッピング情報を受信すると、当該マッピング情報に含まれる時刻情報と1つ前に受信したマッピング情報に含まれる時刻情報からマッピング情報の同期が必要であるか否かを判断する。   When receiving the mapping information from the ARP responding device 10, the controller 20 determines whether or not the mapping information needs to be synchronized from the time information included in the mapping information and the time information included in the mapping information received immediately before. to decide.

コントローラ20は、マッピング情報の同期が必要であると判断した場合、同期が必要とされる時間帯を示す情報(以下、この情報を時間帯情報と記載する。)を含む同期要求を生成し、ARP応答機器10に送信する。   When the controller 20 determines that the synchronization of the mapping information is necessary, the controller 20 generates a synchronization request including information indicating a time zone in which synchronization is required (hereinafter, this information is described as time zone information). Transmit to the ARP response device 10.

ARP応答機器10は、コントローラ20から同期要求を受信すると、時間帯情報に対応する時間帯に生成されたマッピング情報を抽出し、コントローラ20に送信する。   When receiving the synchronization request from the controller 20, the ARP response device 10 extracts the mapping information generated in the time zone corresponding to the time zone information and transmits it to the controller 20.

コントローラ20は、ARP応答機器10が抽出したマッピング情報を受信すると、記憶部24に保持しているマッピング情報との差分を記憶する。   When receiving the mapping information extracted by the ARP response device 10, the controller 20 stores the difference from the mapping information held in the storage unit 24.

このようにして、ARP応答機器10とコントローラ20の間におけるマッピング情報の同期が実行される。   In this way, the mapping information is synchronized between the ARP responding device 10 and the controller 20.

図6は、ARP応答機器10がARP要求を受信した際のARP応答の処理動作を示すフローチャートである。   FIG. 6 is a flowchart showing an ARP response processing operation when the ARP response device 10 receives an ARP request.

応答処理部13は、ARP要求を受信すると、当該ARP要求に含まれる端末41のIPアドレスをキーとして、当該IPアドレスを含むマッピング情報を記憶部12から検索する(S61)。   When receiving the ARP request, the response processing unit 13 searches the storage unit 12 for mapping information including the IP address using the IP address of the terminal 41 included in the ARP request as a key (S61).

記憶部12を検索した結果、キーとしたIPアドレスを含むマッピング情報が見つかった場合(S62でYes)、応答処理部13は、当該マッピング情報に含まれるMACアドレスを含む応答パケットを作成し(S68)、当該応答パケットを端末40へ送信する(S69)。   If mapping information including the IP address as a key is found as a result of searching the storage unit 12 (Yes in S62), the response processing unit 13 creates a response packet including the MAC address included in the mapping information (S68). ), The response packet is transmitted to the terminal 40 (S69).

一方、記憶部12を検索した結果、キーとしたIPアドレスに対応するMACアドレスが見つからなかった場合(S62でNo)、応答処理部13は、キーとしたIPアドレスに対応するMACアドレスを取得するために、当該IPアドレスを含むARP要求をブロードキャストで送信する(S63)。   On the other hand, as a result of searching the storage unit 12, if the MAC address corresponding to the key IP address is not found (No in S62), the response processing unit 13 acquires the MAC address corresponding to the key IP address. Therefore, an ARP request including the IP address is transmitted by broadcast (S63).

応答処理部13は、キーとしたIPアドレスをもつ端末41から当該IPアドレスに対応するMACアドレスを含む応答パケットを受信し、当該MACアドレスを取得する(S64)。   The response processing unit 13 receives a response packet including a MAC address corresponding to the IP address from the terminal 41 having the key IP address, and acquires the MAC address (S64).

応答処理部13は、取得したMACアドレスと、端末40からのARP要求が含むIPアドレスと、を対応付けてARP情報を作成する(S65)。   The response processing unit 13 creates ARP information by associating the acquired MAC address with the IP address included in the ARP request from the terminal 40 (S65).

応答処理部13は、作成したARP情報を記憶部12へ格納する。   The response processing unit 13 stores the created ARP information in the storage unit 12.

ARP情報を記憶部12へ格納する際、応答処理部13は、ARP情報に当該ARP情報を生成した時刻を示す時刻情報を対応付け、マッピング情報として記憶部12に格納する(S66)。   When storing the ARP information in the storage unit 12, the response processing unit 13 associates the ARP information with time information indicating the time at which the ARP information was generated, and stores it in the storage unit 12 as mapping information (S66).

応答処理部13は、取得したMACアドレスを含むマッピング情報をコントローラ20へ送信する(S67)とともに、当該MACアドレスを含む応答パケットを作成し(S68)、端末40へ送信する(S69)。   The response processing unit 13 transmits the mapping information including the acquired MAC address to the controller 20 (S67), creates a response packet including the MAC address (S68), and transmits the response packet to the terminal 40 (S69).

なお、上記の説明では、応答処理部13は、コントローラ20へマッピング情報を送信した後に、応答パケットを作成し、端末40へ送信するとしたが、応答処理部13は、応答パケットを作成し、端末40へ送信してから、コントローラ20へマッピング情報を送信してもよいし、これらの処理動作を並行して行うようにしてもよい。   In the above description, the response processing unit 13 generates the response packet after transmitting the mapping information to the controller 20, and transmits the response packet to the terminal 40. However, the response processing unit 13 generates the response packet, and the terminal After transmitting to 40, the mapping information may be transmitted to the controller 20, or these processing operations may be performed in parallel.

以上の一連の処理により、ARP応答機器10は、受信したARP要求に対してARP応答を行う。   Through the series of processes described above, the ARP response device 10 makes an ARP response to the received ARP request.

図7は、ARP応答機器10からマッピング情報を受信した際にコントローラ20が行うマッピング情報の同期要否判定処理動作を示すフローチャートである。尚、ここでは、記憶部24が保持しているマッピング情報は図8に示すものである場合を例として説明する。   FIG. 7 is a flowchart showing the mapping information synchronization necessity determination processing operation performed by the controller 20 when mapping information is received from the ARP response device 10. Here, a case where the mapping information held by the storage unit 24 is as shown in FIG. 8 will be described as an example.

即ち、受信したマッピング情報は時刻情報「10:06」を含むマッピング情報8Aであり、その一つ前に受信したマッピング情報は時刻情報「10:01」を含むマッピング情報8Bである。   That is, the received mapping information is mapping information 8A including time information “10:06”, and the mapping information received immediately before is mapping information 8B including time information “10:01”.

蓄積部23は、マッピング情報を受信すると、当該マッピング情報を記憶部24へ格納する(S71)。   When receiving the mapping information, the storage unit 23 stores the mapping information in the storage unit 24 (S71).

記憶部24にマッピング情報が格納されると、判定部25は、記憶部24を参照し、マッピング情報8Aに含まれる時刻情報が示す時刻と、マッピング情報8Aの一つ前に受信したマッピング情報8Bに含まれる時刻情報が示す時刻との時間間隔が、しきい値以上であるか否かを判定し、その結果に基づき、マッピング情報の同期が必要であるか否かを判断する。   When the mapping information is stored in the storage unit 24, the determination unit 25 refers to the storage unit 24, the time indicated by the time information included in the mapping information 8A, and the mapping information 8B received immediately before the mapping information 8A. It is determined whether or not the time interval with the time indicated by the time information included in is greater than or equal to a threshold value, and based on the result, it is determined whether or not the mapping information needs to be synchronized.

しきい値は、例えば、通信システムの管理者によって予め設定されている。   The threshold value is preset by, for example, the administrator of the communication system.

ここでは、マッピング情報8Aおよび8Bに含まれる時刻情報はそれぞれ「10:06」と「10:01」であり、時間間隔は5分である。   Here, the time information included in the mapping information 8A and 8B is “10:06” and “10:01”, respectively, and the time interval is 5 minutes.

即ち、判定部25は、5分という時間間隔がしきい値以上であるか否かに基づき同期が必要であるか否かを判断する。   That is, the determination unit 25 determines whether synchronization is necessary based on whether the time interval of 5 minutes is equal to or greater than a threshold value.

例えば、しきい値が3分である場合、判定部25は、時間間隔がしきい値以上であるため、記憶部12が保持するマッピング情報と記憶部24が保持するマッピング情報との同期が必要であると判断する(S72でYes)。   For example, when the threshold value is 3 minutes, the determination unit 25 needs to synchronize the mapping information held by the storage unit 12 and the mapping information held by the storage unit 24 because the time interval is equal to or greater than the threshold value. (Yes in S72).

判定部25は、マッピング情報の同期が必要である場合、受信したマッピング情報に含まれる時刻情報が示す時刻と、当該マッピング情報の一つ前に受信したマッピング情報に含まれる時刻情報が示す時刻との間の時間帯を、同期対象の時間帯として設定する(S73)。   When the mapping information needs to be synchronized, the determination unit 25 indicates the time indicated by the time information included in the received mapping information and the time indicated by the time information included in the mapping information received immediately before the mapping information. Is set as a synchronization target time zone (S73).

従って、この場合、時間間隔はしきい値以上であるので、判定部25は、同期対象の時間帯として、「10:01から10:06」の時間帯を設定する。   Therefore, in this case, since the time interval is equal to or greater than the threshold value, the determination unit 25 sets the time zone “10:01 to 10:06” as the time zone to be synchronized.

同期要求部26は、設定した時間帯を示す時間帯情報を含む同期要求を生成し(S74)、ARP応答機器10へ送信する(S75)。   The synchronization request unit 26 generates a synchronization request including time zone information indicating the set time zone (S74) and transmits it to the ARP response device 10 (S75).

例えば、この場合、マッピング情報8Aおよび8Bに含まれる時刻情報はそれぞれ「10:06」、および「10:01」であるので、同期要求部26は、「10:01から10:06」の時間帯を示す時間帯情報を含む同期要求を生成し、応答機器10へ送信する。   For example, in this case, since the time information included in the mapping information 8A and 8B is “10:06” and “10:01”, respectively, the synchronization request unit 26 sets the time from “10:01 to 10:06”. A synchronization request including time zone information indicating a zone is generated and transmitted to the response device 10.

一方、しきい値が10分である場合、判定部25は、時間間隔がしきい値未満であるため、記憶部12が保持するマッピング情報と記憶部24が保持するマッピング情報との同期が不要であると判断する(S72でNo)。   On the other hand, when the threshold value is 10 minutes, the determination unit 25 does not need to synchronize the mapping information held by the storage unit 12 and the mapping information held by the storage unit 24 because the time interval is less than the threshold value. (No in S72).

判定部25は、マッピング情報の同期が不要である場合、処理を終了する。   The determination part 25 complete | finishes a process, when the synchronization of mapping information is unnecessary.

コントローラ20は、マッピング情報を新たに受信するまで待機する。   The controller 20 waits until new mapping information is received.

コントローラ20は、マッピング情報を新たに受信したら、以上の処理を繰り返す。   When the controller 20 newly receives the mapping information, the above processing is repeated.

以上の一連の処理動作により、コントローラ20は、マッピング情報の同期要否判定処理を行う。   Through the series of processing operations described above, the controller 20 performs mapping information synchronization necessity determination processing.

図9は、ARP応答機器10が、コントローラ20から同期要求を受信した際のマッピング情報の同期処理動作を示すフローチャートである。   FIG. 9 is a flowchart showing the mapping information synchronization processing operation when the ARP response device 10 receives a synchronization request from the controller 20.

同期処理部14は、同期要求に含まれる時間帯情報をキーとして、当該時間帯情報が示す時間帯に含まれる時刻を示す時刻情報を含むマッピング情報を、記憶部12から検索する(S91)。   The synchronization processing unit 14 searches the storage unit 12 for mapping information including time information indicating the time included in the time zone indicated by the time zone information, using the time zone information included in the synchronization request as a key (S91).

例えば、同期処理部14は、記憶部12が保持するマッピング情報(図3参照)のうち、当該マッピング情報に含まれる時刻情報が示す時刻が、同期要求に含まれる時間帯情報が示す時間帯「10:01から10:06」に含まれる場合、当該マッピング情報を当該時間帯に該当するマッピング情報であると判断する。   For example, in the mapping information (see FIG. 3) held by the storage unit 12, the synchronization processing unit 14 indicates that the time indicated by the time information included in the mapping information is the time zone indicated by the time zone information included in the synchronization request. 10:01 to 10:06 ", it is determined that the mapping information is mapping information corresponding to the time zone.

図10は、記憶部12が保持するマッピング情報のうち、同期対象のマッピング情報の一例を示す図である。例えば、この場合、記憶部12が保持するマッピング情報のうち、図10に示す時間帯「10:01から10:06」に該当するマッピング情報が同期対象のマッピング情報である。   FIG. 10 is a diagram illustrating an example of the mapping information to be synchronized among the mapping information held by the storage unit 12. For example, in this case, the mapping information corresponding to the time zone “10:01 to 10:06” shown in FIG. 10 among the mapping information held by the storage unit 12 is the mapping information to be synchronized.

記憶部12を検索した結果、該当するマッピング情報がある場合(S92でYes)、同期処理部14は、当該マッピング情報を、コントローラ20に送信する(S93)。   If there is corresponding mapping information as a result of searching the storage unit 12 (Yes in S92), the synchronization processing unit 14 transmits the mapping information to the controller 20 (S93).

例えば、この場合、同期処理部14は、図10に示すマッピング情報をコントローラ20へ送信する。   For example, in this case, the synchronization processing unit 14 transmits the mapping information illustrated in FIG. 10 to the controller 20.

コントローラ20は、ARP応答機器10からマッピング情報を受信すると、当該マッピング情報と、自装置が保持するマッピング情報と、を照合し、受信したマッピング情報と、自装置が保持するマッピング情報と重複するか否かを判定する。   When the controller 20 receives the mapping information from the ARP response device 10, the controller 20 compares the mapping information with the mapping information held by the own device, and whether the received mapping information and the mapping information held by the own device overlap. Determine whether or not.

コントローラ20は、受信したマッピング情報のうち、自装置が保持するマッピング情報と重複しないマッピング情報を記憶部24へ格納する。   The controller 20 stores, in the storage unit 24, mapping information that does not overlap with mapping information held by the own device among the received mapping information.

一方、コントローラ20は、受信したマッピング情報のうち、自装置が保持するマッピング情報と重複するマッピング情報を破棄する。   On the other hand, the controller 20 discards the mapping information that overlaps the mapping information held by the own device among the received mapping information.

例えば、コントローラ20は、時刻情報が「10:01」のマッピング情報と、時刻情報が「10:06」のマッピング情報をすでに保持している(図8を参照)ので、これらのマッピング情報を破棄し、時刻情報が「10:01」および「10:06」以外のマッピング情報を記憶部24へ格納する。   For example, the controller 20 already holds mapping information whose time information is “10:01” and mapping information whose time information is “10:06” (see FIG. 8). Then, the mapping information other than the time information “10:01” and “10:06” is stored in the storage unit 24.

図11は、コントローラ20が保持するマッピング情報と、ARP応答機器10が保持するマッピング情報とが同期していることを示す図である。図11(A)は、コントローラ20が同期処理前に保持するマッピング情報である。図11(B)は、同期処理において、コントローラ20がARP応答機器10から受信したマッピング情報である。図11(C)は、コントローラ20が同期処理後に保持するマッピング情報である。同期処理後にコントローラ20が保持するマッピング情報(図11(C)を参照)は、ARP応答機器10が保持するマッピング情報(図3を参照)と同期している。   FIG. 11 is a diagram illustrating that the mapping information held by the controller 20 and the mapping information held by the ARP response device 10 are synchronized. FIG. 11A shows mapping information that the controller 20 holds before synchronization processing. FIG. 11B shows mapping information received from the ARP response device 10 by the controller 20 in the synchronization process. FIG. 11C shows mapping information that the controller 20 holds after the synchronization processing. The mapping information held by the controller 20 after the synchronization process (see FIG. 11C) is synchronized with the mapping information held by the ARP response device 10 (see FIG. 3).

これにより、コントローラ20が保持するマッピング情報を、ARP応答機器10が保持するマッピング情報と同期することができる。   Thereby, the mapping information held by the controller 20 can be synchronized with the mapping information held by the ARP response device 10.

一方、記憶部12を検索した結果、該当するマッピング情報がない場合(S92でNo)、同期処理部14は、コントローラ20に対して、同期が不要である旨を通知する(S94)。   On the other hand, if there is no corresponding mapping information as a result of searching the storage unit 12 (No in S92), the synchronization processing unit 14 notifies the controller 20 that synchronization is not required (S94).

以上の一連の処理により、ARP応答機器10とコントローラ20のマッピング情報の同期処理が実行される。

[効果]
本発明の第1の実施形態における通信システムでは、コントローラは、ARP応答機器からマッピング情報を受信すると、当該マッピング情報に含まれる時刻情報が示す時刻と、1つ前に受信したマッピング情報に含まれる時刻情報が示す時刻との時間間隔がしきい値以上であるか否かを判定し、その結果に基づき、マッピング情報の同期が必要であるか否かを判断する。同期が必要であると判断した場合、コントローラは、ARP応答機器に対して、受信したマッピング情報に含まれる時刻情報が示す時刻と、1つ前に受信したマッピング情報に含まれる時刻情報が示す時刻と、の間の時間帯に該当するマッピング情報の同期を要求する。
By the series of processes described above, the synchronization process of the mapping information between the ARP response device 10 and the controller 20 is executed.

[effect]
In the communication system according to the first embodiment of the present invention, when the controller receives the mapping information from the ARP response device, the controller includes the time indicated by the time information included in the mapping information and the mapping information received immediately before. It is determined whether or not the time interval with the time indicated by the time information is equal to or greater than a threshold value, and based on the result, it is determined whether or not the mapping information needs to be synchronized. When it is determined that synchronization is necessary, the controller sends the time indicated by the time information included in the received mapping information to the ARP response device and the time indicated by the time information included in the mapping information received immediately before. And request synchronization of mapping information corresponding to the time zone between.

これにより、ARP応答機器は、コントローラが設定した時間帯に生成されたマッピング情報のみをコントローラに送信するので、コントローラに送信するマッピング情報の情報量を軽減することができる。   Thereby, since the ARP response device transmits only the mapping information generated in the time zone set by the controller to the controller, the information amount of the mapping information transmitted to the controller can be reduced.

従って、ARP情報を同期する際の通信負荷を軽減することができる。


[第2の実施形態]
本発明の第2の実施形態における通信システムについて、図面を用いて詳細に説明する。

[構成の説明]
第2の実施形態における通信システムと第1の実施形態における通信システムとは、ARP応答機器の構成が相違する。具体的な相違点は、第2の実施形態におけるARP応答機器100の同期処理部140が、抽出部141と、分割部142を備えている点である。
Therefore, it is possible to reduce the communication load when synchronizing the ARP information.


[Second Embodiment]
A communication system according to the second embodiment of the present invention will be described in detail with reference to the drawings.

[Description of configuration]
The communication system in the second embodiment and the communication system in the first embodiment are different in the configuration of the ARP response device. A specific difference is that the synchronization processing unit 140 of the ARP response device 100 according to the second embodiment includes an extraction unit 141 and a division unit 142.

図12は、第2の実施形態における通信システムのARP応答機器100の構成を示す図である。なお、ARP応答機器100の構成のうち、第1の実施形態のARP応答機器10の構成と同じ処理動作を行う構成については、図2と同じ符号を付し、詳細な説明を省略する。   FIG. 12 is a diagram illustrating a configuration of the ARP response device 100 of the communication system according to the second embodiment. In addition, about the structure which performs the same processing operation as the structure of the ARP response apparatus 10 of 1st Embodiment among the structures of the ARP response apparatus 100, the same code | symbol as FIG. 2 is attached | subjected and detailed description is abbreviate | omitted.

同期処理部140は、抽出部141と分割部142とを備える。   The synchronization processing unit 140 includes an extraction unit 141 and a division unit 142.

抽出部141は、コントローラ20が設定した時間帯に該当するマッピング情報を記憶部12から抽出する。   The extraction unit 141 extracts mapping information corresponding to the time zone set by the controller 20 from the storage unit 12.

分割部142は、抽出されたマッピング情報を分割するか否かを判断する。

[動作の説明]
第2の実施形態にかかる通信システムの処理動作について説明する。
The dividing unit 142 determines whether to divide the extracted mapping information.

[Description of operation]
A processing operation of the communication system according to the second embodiment will be described.

以下では、第1の実施形態と同様に、端末40が端末41のアドレス解決を図るARP要求を行う場合の第2の実施形態の通信システムの処理動作について説明する。 尚、第2の実施形態における、ARP応答機器100のARP応答の処理動作、およびコントローラ20のマッピング情報の同期要否判定処理動作は、第1の実施形態と同じであるため、説明を省略する。   Hereinafter, as in the first embodiment, the processing operation of the communication system of the second embodiment when the terminal 40 makes an ARP request for address resolution of the terminal 41 will be described. Note that the ARP response processing operation of the ARP response device 100 and the mapping information synchronization necessity determination processing operation of the controller 20 in the second embodiment are the same as those in the first embodiment, and thus description thereof is omitted. .

図13は、ARP応答機器100がコントローラ20から同期要求を受信した際のマッピング情報の同期処理動作を示すフローチャートである。   FIG. 13 is a flowchart illustrating a mapping information synchronization processing operation when the ARP response device 100 receives a synchronization request from the controller 20.

抽出部141は、コントローラ20から同期要求を受信すると、同期要求に含まれる時間帯情報をキーとして、当該時間帯情報が示す時間帯に該当するマッピング情報を記憶部12から検索する(S131)。   When receiving the synchronization request from the controller 20, the extraction unit 141 searches the storage unit 12 for mapping information corresponding to the time zone indicated by the time zone information using the time zone information included in the synchronization request as a key (S131).

例えば、抽出部141は、記憶部12が保持するマッピング情報(図3参照)のうち、当該マッピング情報に含まれる時刻情報が示す時刻が、コントローラ20から受信した同期要求に含まれる時間帯情報が示す時間帯「10:01から10:06」に含まれる場合、当該マッピング情報を当該時間帯に該当するマッピング情報であると判断する。   For example, the extraction unit 141 uses the time zone information included in the synchronization request received from the controller 20 as the time indicated by the time information included in the mapping information among the mapping information held by the storage unit 12 (see FIG. 3). If it is included in the indicated time zone “10:01 to 10:06”, it is determined that the mapping information is mapping information corresponding to the time zone.

記憶部12を検索した結果、該当するマッピング情報がある場合(S132でYes)、抽出部141は、記憶部12から当該マッピング情報を抽出する。   If there is corresponding mapping information as a result of searching the storage unit 12 (Yes in S132), the extraction unit 141 extracts the mapping information from the storage unit 12.

分割部142は、抽出されたマッピング情報の情報量が、所定の情報量以上であるか否かを判定し、その結果に基づき、当該マッピング情報を分割するか否かを判断する。   The dividing unit 142 determines whether or not the information amount of the extracted mapping information is equal to or greater than a predetermined information amount, and determines whether or not to divide the mapping information based on the result.

所定の情報量は、例えば、通信システムの管理者よって予め設定されている。   The predetermined amount of information is set in advance by the administrator of the communication system, for example.

ここでは、抽出されたマッピング情報の情報量が2000byteであるとする。   Here, it is assumed that the information amount of the extracted mapping information is 2000 bytes.

即ち、分割部142は、抽出されたマッピング情報の情報量2000byteが所定の情報量以上であるか否かに基づき、当該マッピング情報を分割するか否かを判断する。   That is, the dividing unit 142 determines whether or not to divide the mapping information based on whether or not the information amount 2000 bytes of the extracted mapping information is greater than or equal to a predetermined information amount.

例えば、所定の情報量が1000byteである場合、分割部142は、抽出されたマッピング情報の情報量が1000byte以上であるため、当該マッピング情報を分割すると判断する。   For example, if the predetermined information amount is 1000 bytes, the dividing unit 142 determines that the mapping information is to be divided because the information amount of the extracted mapping information is 1000 bytes or more.

分割部142は、抽出したマッピング情報を分割する場合(S133でYes)、当該マッピング情報を分割し(S134)、当該分割したデータ(以下、分割データと記載する。)を、所定時間を空けて、順次コントローラ20へ送信する(S135)。   When the dividing unit 142 divides the extracted mapping information (Yes in S133), the dividing unit 142 divides the mapping information (S134), and divides the divided data (hereinafter referred to as divided data) with a predetermined time interval. The data is sequentially transmitted to the controller 20 (S135).

この場合、図14に示すように、分割部142は、抽出されたマッピング情報を、情報量が1000byte以下になるように、分割データ1と分割データ2とに分割し、分割データ1および分割データ2それぞれを、所定時間を空けて、順次コントローラ20へ送信する。   In this case, as illustrated in FIG. 14, the dividing unit 142 divides the extracted mapping information into divided data 1 and divided data 2 so that the information amount is 1000 bytes or less, and the divided data 1 and the divided data are divided. 2 are sequentially transmitted to the controller 20 with a predetermined time interval.

一方、所定の情報量が4000byteである場合、分割部142は、抽出されたマッピング情報の情報量が所定の情報量未満であるため、当該マッピング情報を分割しないと判断する。   On the other hand, when the predetermined information amount is 4000 bytes, the dividing unit 142 determines that the mapping information is not divided because the information amount of the extracted mapping information is less than the predetermined information amount.

分割部142は、抽出したマッピング情報を分割しない場合(S133でNo)、当該マッピング情報を分割せずにコントローラ20へ送信する(S136)。   When not dividing the extracted mapping information (No in S133), the dividing unit 142 transmits the mapping information to the controller 20 without dividing (S136).

記憶部12を検索した結果、該当するマッピング情報がない場合(S132でNo)、分割部142は、コントローラ20に対して、同期が不要である旨を通知する(S137)。   If there is no corresponding mapping information as a result of searching the storage unit 12 (No in S132), the dividing unit 142 notifies the controller 20 that synchronization is unnecessary (S137).

以上の一連の処理により、ARP応答機器100とコントローラ20のマッピング情報の同期処理が実行される。

[効果]
本発明の第2の実施形態における通信システムでは、ARP応答機器は、抽出したマッピング情報を、情報量が所定の情報量以下になるように分割した分割データを、所定の時間を空けて、順次コントローラへ送信する。これにより、抽出したマッピング情報の情報量が多い場合でも、通信帯域を圧迫せずにマッピング情報をコントローラへ送信することができる。
Through the above series of processing, the mapping processing of the mapping information between the ARP response device 100 and the controller 20 is executed.

[effect]
In the communication system according to the second embodiment of the present invention, the ARP responding device sequentially separates the divided data obtained by dividing the extracted mapping information so that the information amount is equal to or less than the predetermined information amount with a predetermined time interval. Send to controller. Thereby, even when the amount of information of the extracted mapping information is large, the mapping information can be transmitted to the controller without compressing the communication band.

従って、マッピング情報の同期に際してネットワークにかかる通信負荷を軽減することができる。

Therefore, it is possible to reduce the communication load on the network when mapping information is synchronized.

10 ARP応答機器
11 通信部
12 記憶部
13 応答処理部
14 同期処理部
15 分割部
20 コントローラ
21 通信部
22 スイッチ制御部
23 蓄積部
24 記憶部
25 判定部
26 同期要求部
30 スイッチ
31 スイッチ
40 端末
41 端末
100 応答機器
140 同期処理部
141 抽出部
142 分割部
10 ARP response device 11 communication unit 12 storage unit 13 response processing unit 14 synchronization processing unit 15 division unit 20 controller 21 communication unit 22 switch control unit 23 storage unit 24 storage unit 25 determination unit 26 synchronization request unit 30 switch 31 switch 40 terminal 41 Terminal 100 Response device 140 Synchronization processing unit 141 Extraction unit 142 Division unit

Claims (8)

複数のアドレス解決情報を保持し、該複数のアドレス解決情報を使用してアドレス解決要求に対する応答を行う応答機器と、
前記応答機器と通信可能であり、ネットワーク上のスイッチを制御するコントローラを備え、
前記応答機器は、新たなアドレス解決情報を保持したときに、該新たなアドレス解決情報を前記コントローラに送信し、
前記コントローラは、前記新たなアドレス解決情報を受信したときに、該新たなアドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、前記応答機器とアドレス解決情報の同期を行うか否かを判断し、
前記同期を行うと判断した場合に、前記応答機器が前記第2の時刻から前記第1の時刻の間に保持したアドレス解決情報を前記コントローラと同期する
ことを特徴とする通信システム。
A response device that holds a plurality of address resolution information and responds to an address resolution request using the plurality of address resolution information;
A controller capable of communicating with the response device and controlling a switch on the network;
When the responding device holds the new address resolution information, it sends the new address resolution information to the controller,
When the controller receives the new address resolution information, the controller generates a first time when the new address resolution information is generated, and a second time when the address resolution information received immediately before the reception is generated. And whether to synchronize the addressing information with the responding device based on the time of
When it is determined that the synchronization is to be performed, the address resolution information held by the responding device between the second time and the first time is synchronized with the controller.
前記コントローラは、前記第1の時刻と前記第2の時刻との時間間隔が、所定のしきい値以上である場合に、前記同期を行うと判断する
ことを特徴とする請求項1に記載の通信システム。
2. The controller according to claim 1, wherein the controller determines that the synchronization is performed when a time interval between the first time and the second time is equal to or greater than a predetermined threshold value. Communications system.
前記応答機器は、
前記コントローラと同期するアドレス解決情報を分割し、
前記分割したアドレス解決情報を、前記コントローラへ送信する
ことを特徴とする請求項1又は2に記載の通信システム。
The response device is:
Dividing address resolution information synchronized with the controller,
The communication system according to claim 1 or 2, wherein the divided address resolution information is transmitted to the controller.
前記応答機器は、前記コントローラと同期するアドレス解決情報を所定の情報量に分割する
ことを特徴とする請求項3に記載の通信システム。
The communication system according to claim 3, wherein the response device divides address resolution information synchronized with the controller into a predetermined amount of information.
前記コントローラは、OpenFlowコントローラであって、
前記同期は、OpenFlowチャネルを介して行われる
ことを特徴とする請求項1乃至4のいずれか一項に記載の通信システム。
The controller is an OpenFlow controller,
The communication system according to any one of claims 1 to 4, wherein the synchronization is performed via an OpenFlow channel.
ネットワーク上のスイッチを制御するコントローラであって、
アドレス解決情報を保持する記憶部と、
受信したアドレス解決情報を前記記憶部に格納する蓄積部と、
前記蓄積部が前記アドレス解決情報を受信したとき、該アドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、アドレス解決要求に対する応答を行う応答機器とアドレス解決情報の同期を行うか否かを判断する判定部と、
前記判定部が前記同期を行うと判断した場合に、前記第2の時刻から前記第1の時刻の間に生成されたアドレス解決情報の同期を要求する同期要求部と、
を備えることを特徴とするコントローラ。
A controller that controls a switch on the network,
A storage unit for holding address resolution information;
A storage unit for storing the received address resolution information in the storage unit;
When the storage unit receives the address resolution information, based on a first time when the address resolution information is generated and a second time when the address resolution information received immediately before the reception is generated A determination unit that determines whether or not to synchronize the address resolution information with a response device that performs a response to the address resolution request;
A synchronization request unit that requests synchronization of address resolution information generated between the second time and the first time when the determination unit determines to perform the synchronization;
A controller comprising:
複数のアドレス解決情報を保持し、該複数のアドレス解決情報を使用してアドレス解決要求に対する応答を行う応答機器と、
前記応答機器と通信可能であり、ネットワーク上のスイッチを制御するコントローラと、
を含む通信システムによって行われるアドレス解決情報の同期方法であって、
前記応答機器が、新たなアドレス解決情報を保持したときに、該新たなアドレス解決情報を前記コントローラに送信するステップと、
前記コントローラが、前記新たなアドレス解決情報を受信したときに、該新たなアドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、前記応答機器とアドレス解決情報の同期を行うか否かを判断するステップと、
前記コントローラが前記同期を行うと判断した場合に、前記応答機器が前記第2の時刻から前記第1の時刻の間に保持したアドレス解決情報を前記コントローラと同期するステップと、
を含むことを特徴とするアドレス解決情報の同期方法。
A response device that holds a plurality of address resolution information and responds to an address resolution request using the plurality of address resolution information;
A controller capable of communicating with the response device and controlling a switch on the network;
A method for synchronizing address resolution information performed by a communication system including:
Sending the new address resolution information to the controller when the responding device holds the new address resolution information;
When the controller receives the new address resolution information, a first time when the new address resolution information is generated and a second time when the address resolution information received immediately before the reception is generated Determining whether or not to synchronize the response device and address resolution information based on the time of
Synchronizing the address resolution information held by the responding device between the second time and the first time with the controller when the controller determines to perform the synchronization;
A method of synchronizing address resolution information.
ネットワーク上のスイッチを制御し、アドレス解決情報を保持するコンピュータに、
新たなアドレス解決情報を受信したとき、該新たなアドレス解決情報が生成された第1の時刻と、該受信の一つ前に受信したアドレス解決情報が生成された第2の時刻とに基づき、アドレス解決要求に対する応答を行う応答機器とアドレス解決情報の同期を行うか否かを判断する処理と、
前記同期を行うと判断した場合に、前記第2の時刻から前記第1の時刻の間に生成されたアドレス解決情報の同期を要求する処理と、
を実行させることを特徴とするプログラム。
To the computer that controls the switch on the network and holds the address resolution information,
When the new address resolution information is received, based on the first time when the new address resolution information is generated and the second time when the address resolution information received immediately before the reception is generated, A process for determining whether or not to synchronize address resolution information with a response device that responds to an address resolution request;
A process for requesting synchronization of address resolution information generated between the second time and the first time when it is determined that the synchronization is performed;
A program characterized by having executed.
JP2018063382A 2018-03-29 2018-03-29 Controls, ARP response devices, communication systems, and synchronization methods Active JP7000955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018063382A JP7000955B2 (en) 2018-03-29 2018-03-29 Controls, ARP response devices, communication systems, and synchronization methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018063382A JP7000955B2 (en) 2018-03-29 2018-03-29 Controls, ARP response devices, communication systems, and synchronization methods

Publications (2)

Publication Number Publication Date
JP2019176354A true JP2019176354A (en) 2019-10-10
JP7000955B2 JP7000955B2 (en) 2022-01-19

Family

ID=68169035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018063382A Active JP7000955B2 (en) 2018-03-29 2018-03-29 Controls, ARP response devices, communication systems, and synchronization methods

Country Status (1)

Country Link
JP (1) JP7000955B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006165849A (en) * 2004-12-06 2006-06-22 Murata Mach Ltd Communication terminal and program thereof
JP2006164067A (en) * 2004-12-09 2006-06-22 Canon Inc E-mail synchronous device, method and program
JP2013532927A (en) * 2010-12-21 2013-08-19 ▲ホア▼▲ウェイ▼技術有限公司 Method, apparatus and system for obtaining a medium access control address
JP5858141B2 (en) * 2012-03-23 2016-02-10 日本電気株式会社 Control device, communication device, communication system, communication method, and program
US20160072705A1 (en) * 2014-09-05 2016-03-10 Kt Corporation Method and device for processing address resolution protocol in software-defined networking environment
JP2017028698A (en) * 2015-07-22 2017-02-02 華為技術有限公司Huawei Technologies Co.,Ltd. Traffic switching method, device, and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006165849A (en) * 2004-12-06 2006-06-22 Murata Mach Ltd Communication terminal and program thereof
JP2006164067A (en) * 2004-12-09 2006-06-22 Canon Inc E-mail synchronous device, method and program
JP2013532927A (en) * 2010-12-21 2013-08-19 ▲ホア▼▲ウェイ▼技術有限公司 Method, apparatus and system for obtaining a medium access control address
JP5858141B2 (en) * 2012-03-23 2016-02-10 日本電気株式会社 Control device, communication device, communication system, communication method, and program
US20160072705A1 (en) * 2014-09-05 2016-03-10 Kt Corporation Method and device for processing address resolution protocol in software-defined networking environment
JP2017028698A (en) * 2015-07-22 2017-02-02 華為技術有限公司Huawei Technologies Co.,Ltd. Traffic switching method, device, and system

Also Published As

Publication number Publication date
JP7000955B2 (en) 2022-01-19

Similar Documents

Publication Publication Date Title
EP2080272B1 (en) Unification of multimedia devices
EP2930899B1 (en) Tcp link configuration method and apparatus
CN107979534B (en) Method implemented in a device connected to a user premises equipment and corresponding device
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN111405042B (en) Electronic device discovery method and device, storage medium and electronic device
US11343225B2 (en) Sharing media among remote access clients in a universal plug and play environment
EP3570491B1 (en) Association management method and network node
JP5913258B2 (en) Relay device and data transfer method
US20230164234A1 (en) Service continuity event notification method, and apparatus
WO2018053894A1 (en) Internet-of-things access point handover method and device based on transmission rate
CN116668511A (en) Data processing method, network element equipment and readable storage medium
CN113891358B (en) Load balancing method, equipment and storage medium of cloud network
EP3632081B1 (en) Session layer communications using an id-oriented network
WO2020177020A1 (en) Internet of things device discovery method, apparatus, and terminal device
EP2916569B1 (en) User terminal apparatus and driving method
JP7185054B2 (en) Resource cycle configuration method and device, link processing and establishment method and device
RU2693903C1 (en) Method, apparatus and processing system for expanded port
JP7149328B2 (en) Coupling redirect method and apparatus
JP7000955B2 (en) Controls, ARP response devices, communication systems, and synchronization methods
WO2018161827A1 (en) Address self-learning method and device, and switch
JP2007505588A (en) UPNP terminal for ad hoc wireless network
CN106686694B (en) Equipment networking method and device
CN107005473B (en) Communication path switching apparatus, method of controlling communication path switching apparatus
KR102145579B1 (en) Data transfer system between server and clients
JP2015095789A (en) Communication terminal, communication method and communication program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210215

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20211020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211207

R150 Certificate of patent or registration of utility model

Ref document number: 7000955

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150