JP2016220105A - Communication device, communication system and communication control method - Google Patents

Communication device, communication system and communication control method Download PDF

Info

Publication number
JP2016220105A
JP2016220105A JP2015104726A JP2015104726A JP2016220105A JP 2016220105 A JP2016220105 A JP 2016220105A JP 2015104726 A JP2015104726 A JP 2015104726A JP 2015104726 A JP2015104726 A JP 2015104726A JP 2016220105 A JP2016220105 A JP 2016220105A
Authority
JP
Japan
Prior art keywords
information
communication
arp
address
arp table
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.)
Pending
Application number
JP2015104726A
Other languages
Japanese (ja)
Inventor
健一郎 坂田
Kenichiro Sakata
健一郎 坂田
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2015104726A priority Critical patent/JP2016220105A/en
Publication of JP2016220105A publication Critical patent/JP2016220105A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve information transfer reliability between communication devices connected through UDP communication.SOLUTION: A communication device 1 is communicable with a communication opposite device 2 through UDP communication. The communication opposite device 2 holds an ARP table, which represents the correspondence of a MAC address with an IP address, to update the ARP table on receiving an ARP request, on the basis of information included in the ARP request. Further, the communication opposite device 2 deletes (clears) information in the ARP table, when the ARP table is not updated if a preset reset time Ts elapses after the ARP table is updated. A receiver unit 4 in the communication device 1 receives information from the communication opposite device 2 through the UDP communication. A connection holding unit 5 periodically originates ARP requests destined to the communication opposite device 2 at time intervals shorter than the reset time Ts.SELECTED DRAWING: Figure 1

Description

本発明は、UDP(User Datagram Protocol)に基づいた通信に係る技術に関する。   The present invention relates to a technology related to communication based on UDP (User Datagram Protocol).

通信装置間を接続して情報を通信するプロトコルの一つとして、UDP(User Datagram Protocol)がある。このUDPを利用するUDP通信では、情報を発信する発信元である通信装置は、その情報の宛先である通信装置との通信接続が確立していることを確認することなく、情報を宛先の通信装置に向けて発信する。また、発信元の通信装置は、情報が宛先の通信装置に届いたか否かを確認しない。このため、発信元の通信装置は、情報が宛先の通信装置に届かなかった場合にその未到達の情報を宛先の通信装置に向けて再度発信するという再送処理を行わない。   UDP (User Datagram Protocol) is one of protocols for communicating information by connecting communication devices. In UDP communication using this UDP, a communication device that is a transmission source of information transmits information to a destination without confirming that a communication connection with the communication device that is the destination of the information is established. Make a call to the device. Further, the transmission source communication device does not confirm whether the information has reached the destination communication device. For this reason, when the information does not reach the destination communication device, the source communication device does not perform a retransmission process of transmitting the unreachable information again to the destination communication device.

このように、UDP通信では、情報伝達の信頼性を高める処理が省略されているが、処理が少ないことにより、UDP通信は、通信装置での処理負荷を軽減でき、かつ、通信速度を高めることができるという利点がある。   As described above, in UDP communication, processing for increasing the reliability of information transmission is omitted. However, UDP processing can reduce the processing load on the communication device and increase the communication speed by reducing the processing. There is an advantage that can be.

ところで、特許文献1や特許文献2には、無線基地局等の通信装置に発生した障害を分析する装置(メンテナンスツール)が示されている。例えば、その装置(以下、メンテナンス装置と記す)は、分析対象の装置から、当該装置の動作の履歴を表す動作ログの情報を取得し、当該取得した動作ログを解析することによって、障害の発生個所やその原因等を検知する。   By the way, Patent Document 1 and Patent Document 2 show apparatuses (maintenance tools) for analyzing a failure that has occurred in a communication apparatus such as a radio base station. For example, the device (hereinafter referred to as a maintenance device) acquires information on an operation log representing the operation history of the device from the analysis target device, and analyzes the acquired operation log to generate a failure. Detect the location and its cause.

特開2007−60092号公報JP 2007-60092 A 特開2005−184248号公報JP 2005-184248 A

上記のようなメンテナンス装置がメンテナンス対象の装置から動作ログを取得する際に、負荷が少ないUDP通信を利用することが考えられる。しかしながら、メンテナンス装置が、UDP通信を利用して動作ログを取得する場合に、次のような問題が懸念される。   When the maintenance device as described above acquires an operation log from a maintenance target device, it is conceivable to use UDP communication with a small load. However, when the maintenance device acquires an operation log using UDP communication, the following problems are concerned.

例えば、ここで、メンテナンス対象の装置(例えば、無線基地局)は、常時、メンテナンス装置と通信可能な状態で接続されているとする。また、メンテナンス対象の装置(無線基地局)は、予め定められた通知対象の動作を実行した場合に、その旨を通知する動作ログの情報をメンテナンス装置にUDP通信によって送信するとする。その通知対象の動作は、例えば、複数種の動作が有り、当該通知対象の動作には、不定期的に行われる動作をも含まれているとする。   For example, it is assumed here that a maintenance target device (for example, a radio base station) is always connected in a state in which communication with the maintenance device is possible. In addition, when a device to be maintained (wireless base station) performs a predetermined operation to be notified, it is assumed that information on an operation log notifying that is transmitted to the maintenance device by UDP communication. For example, the notification target operation includes a plurality of types of operations, and the notification target operation includes an operation performed irregularly.

また、メンテナンス対象の装置は、UDP通信だけでなく、UDP以外のプロトコルに基づいた通信(例えばTCP(Transmission Control Protocol)に基づいたTCP通信)によって他の通信装置と通信する機能をも備えている。さらに、メンテナンス対象の装置は、IP(Internet Protocol address)アドレスとMAC(Media Access Control)アドレスとの対応関係を表すARP(Address Resolution Protocol)テーブルを保持している。さらに、メンテナンス対象の装置は、ARP要求(つまり、IPアドレスを利用して当該IPアドレスを持つ通信装置のMACアドレスの情報を要求する指令)を受け取った場合に、そのARP要求に含まれている情報に基づきARPテーブルを更新する機能を持つ。さらにまた、メンテナンス対象の装置は、ARPテーブルを更新してからの経過時間が予め設定されたリセット時間(例えば20分)を経過した場合に、ARPテーブルの情報をクリア(消去)する機能を持つ。この機能は、ARPテーブルに保持されている情報が古いことに起因して情報伝達に支障を来すという問題を防止することができる。   In addition, the maintenance target device has a function of communicating with other communication devices not only by UDP communication but also by communication based on a protocol other than UDP (for example, TCP communication based on TCP (Transmission Control Protocol)). . Furthermore, the maintenance target device holds an ARP (Address Resolution Protocol) table that represents a correspondence relationship between an IP (Internet Protocol address) address and a MAC (Media Access Control) address. Further, when a maintenance target apparatus receives an ARP request (that is, a command for requesting information on the MAC address of a communication apparatus having the IP address using the IP address), the apparatus is included in the ARP request. It has a function of updating the ARP table based on the information. Furthermore, the maintenance target device has a function of clearing (erasing) information in the ARP table when an elapsed time since the ARP table is updated exceeds a preset reset time (for example, 20 minutes). . This function can prevent a problem that information transmission is hindered due to old information held in the ARP table.

メンテナンス対象の装置は、上記のようにARPテーブルの情報をクリアする機能を備えている。これにより、メンテナンス対象の装置がメンテナンス装置に向けて動作ログの情報を発信するときにARPテーブルの情報がクリアされている状態である場合がある。このような場合には、ARPテーブルにアドレス情報が登録されていないことに起因して、動作ログの情報がメンテナンス装置に到達しないことがある。UDP通信では、前述したように、発信元の通信装置は、宛先であるメンテナンス装置に情報(動作ログ)が到達したことを確認せず、これにより、再送処理を実行しない。このため、その到達しなかった動作ログの情報は、再送されずに、メンテナンス装置において欠落した情報となってしまう。   The maintenance target apparatus has a function of clearing the information in the ARP table as described above. As a result, there is a case where the information in the ARP table is cleared when the maintenance target device transmits the operation log information to the maintenance device. In such a case, the operation log information may not reach the maintenance device due to the address information not being registered in the ARP table. In UDP communication, as described above, the source communication device does not confirm that the information (operation log) has reached the destination maintenance device, and thus does not execute the retransmission process. For this reason, the information of the operation log that has not arrived is not retransmitted but is lost in the maintenance device.

この動作ログ情報の欠落は、例えばメンテナンス対象の装置の障害について分析する場合に、分析時間が多く掛かるという問題や、分析結果の精度を下げるという問題を招く。   This lack of operation log information causes a problem that, for example, when analyzing a failure of a maintenance target device, it takes a long time to analyze and a problem that the accuracy of the analysis result is lowered.

本発明は上記課題を解決するために成されたものである。すなわち、本発明の主な目的は、UDP通信でもって接続している通信装置間の情報伝達の信頼性を高める通信技術を提供することにある。   The present invention has been made to solve the above problems. That is, a main object of the present invention is to provide a communication technique that improves the reliability of information transmission between communication devices connected by UDP communication.

上記目的を達成するために、本発明の通信装置は、
MAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する機能と、前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する機能とを持つ通信相手の装置から、UDP(User Datagram Protocol)通信によって情報を受信する受信部と、
前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を前記通信相手の装置に向けて発信する接続維持部と
を備える。
In order to achieve the above object, a communication device of the present invention
When an ARP (Address Resolution Protocol) request for requesting MAC (Media Access Control) address information is received, the correspondence between the IP (Internet Protocol address) address and the MAC address is determined based on the information included in the ARP request. A function of updating the information in the ARP (Address Resolution Protocol) table, and deleting the information in the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated. A receiving unit that receives information by UDP (User Datagram Protocol) communication from a communication partner device having a function to perform,
A connection maintaining unit that periodically transmits the ARP request to the communication partner apparatus at a time interval shorter than the reset time.

本発明の通信システムは、
情報を提供する提供側の装置と、
前記提供側の装置がUDP(User Datagram Protocol)通信によって発信した情報の宛先である情報処理側の装置と
を有し、
前記提供側の装置は、
付与されているMAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する更新部と、
前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する初期化部と、
前記情報処理側の装置に向けて提供対象の前記情報を、前記ARPテーブルを参照しつつ前記UDP通信によって発信する通信部と
を持ち、
前記情報処理側の装置は、
前記提供側の装置から前記UDP通信によって情報を受信する受信部と、
前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を前記提供側の装置に向けて発信する接続維持部と
を備える。
The communication system of the present invention includes:
A providing device that provides information;
The providing apparatus has an information processing apparatus that is a destination of information transmitted by UDP (User Datagram Protocol) communication;
The providing apparatus includes:
When an ARP (Address Resolution Protocol) request for requesting information on a given MAC (Media Access Control) address is received, an IP (Internet Protocol address) address and a MAC address are based on the information included in the ARP request. An update unit that updates information in an ARP (Address Resolution Protocol) table that represents the correspondence relationship between
An initialization unit for erasing the information of the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated;
A communication unit that transmits the information to be provided to the information processing apparatus by the UDP communication while referring to the ARP table;
The information processing apparatus is:
A receiving unit for receiving information from the provider device by the UDP communication;
A connection maintaining unit that periodically transmits the ARP request to the providing apparatus at a time interval shorter than the reset time.

本発明の通信制御方法は、
MAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する機能と、前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する機能とを持つ通信相手の装置から、UDP(User Datagram Protocol)通信によって情報を受信し、
その一方で、前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を発信する。
The communication control method of the present invention includes:
When an ARP (Address Resolution Protocol) request for requesting MAC (Media Access Control) address information is received, the correspondence between the IP (Internet Protocol address) address and the MAC address is determined based on the information included in the ARP request. A function of updating the information in the ARP (Address Resolution Protocol) table, and deleting the information in the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated. Receives information from the device of the communication partner that has the function to perform by UDP (User Datagram Protocol) communication,
On the other hand, the ARP request is periodically transmitted at a time interval shorter than the reset time.

本発明によれば、UDP通信でもって接続している通信装置間の情報伝達の信頼性を高めることができる。   ADVANTAGE OF THE INVENTION According to this invention, the reliability of the information transmission between the communication apparatuses connected by UDP communication can be improved.

本発明に係る第1実施形態の通信装置の構成を簡略化して表すブロック図である。It is a block diagram which simplifies and represents the structure of the communication apparatus of 1st Embodiment which concerns on this invention. 本発明に係る第2実施形態の通信システムの構成を簡略化して表すブロック図である。It is a block diagram which simplifies and represents the structure of the communication system of 2nd Embodiment which concerns on this invention. 第2実施形態の通信システムの動作の一例を表すシーケンス図である。It is a sequence diagram showing an example of operation | movement of the communication system of 2nd Embodiment.

以下に、本発明に係る実施形態を図面に基づいて説明する。   Embodiments according to the present invention will be described below with reference to the drawings.

<第1実施形態>
図1は、本発明に係る第1実施形態の通信装置の構成を簡略化して表すブロック図である。この第1実施形態の通信装置1は、UDP(User Datagram Protocol)通信によって通信相手の装置2と通信可能となっている。この通信相手の装置2は、ARP(Address Resolution Protocol)テーブルを保持し、当該ARPテーブルの情報を更新する機能を備えている。ARPテーブルとは、MAC(Media Access Control)アドレスと、IP(Internet Protocol address)アドレスとの対応関係を表すテーブルデータである。装置2は、MACアドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、ARPテーブルを更新する。また、通信相手の装置2は、ARPテーブルが更新されてから予め設定されたリセット時間Tsを経過してもARPテーブルが更新されない場合にARPテーブルの情報を消去(クリア)する機能を持つ。
<First Embodiment>
FIG. 1 is a block diagram showing a simplified configuration of the communication apparatus according to the first embodiment of the present invention. The communication device 1 according to the first embodiment can communicate with a communication partner device 2 by UDP (User Datagram Protocol) communication. The communication partner apparatus 2 has a function of holding an ARP (Address Resolution Protocol) table and updating information of the ARP table. The ARP table is table data representing a correspondence relationship between a MAC (Media Access Control) address and an IP (Internet Protocol address) address. When receiving an ARP (Address Resolution Protocol) request for requesting MAC address information, the device 2 updates the ARP table based on information included in the ARP request. The communication partner apparatus 2 has a function of deleting (clearing) information in the ARP table when the ARP table is not updated even after a preset reset time Ts has elapsed since the ARP table was updated.

このような装置2と接続している第1実施形態の通信装置1は、機能部として、受信部4と、接続維持部5とを有している。受信部4は、通信相手の装置2から、UDP通信によって情報を受信する機能を備えている。接続維持部5は、リセット時間Tsよりも短い時間間隔でもって定期的にARP要求を通信相手の装置2に向けて発信する機能を備えている。これら受信部4と接続維持部5は、例えば、CPU(Central Processing Unit)を含む制御装置により実現される。   The communication device 1 according to the first embodiment connected to such a device 2 includes a receiving unit 4 and a connection maintaining unit 5 as functional units. The receiving unit 4 has a function of receiving information from the communication partner device 2 by UDP communication. The connection maintaining unit 5 has a function of periodically sending an ARP request to the communication partner apparatus 2 at a time interval shorter than the reset time Ts. The receiving unit 4 and the connection maintaining unit 5 are realized by a control device including a CPU (Central Processing Unit), for example.

この第1実施形態の通信装置1は、接続維持部5の機能によって、リセット時間Tsよりも短い時間間隔でもって定期的にARP要求を通信相手の装置2に向けて発信する。このため、通信相手の装置2は、ARPテーブルを更新してからリセット時間Tsを経過する前に、つまり、ARPテーブルの情報を消去(クリア)する時間に達する前に、ARP要求を受け取ってARPテーブルを更新することとなる。これにより、ARPテーブルの情報が消去されることが防止される。これにより、ARPテーブルにアドレス情報が登録されていないことに起因した問題、つまり、UDP通信により発信された情報(例えばパケット)が、ARPテーブルにアドレス情報が無いことに起因して宛先に到達しない問題(パケットロス)が回避される。換言すれば、通信装置1は、通信相手の装置2から通信装置1に向けて発信された情報を抜けなく受信することができる。   The communication device 1 according to the first embodiment periodically sends an ARP request to the communication partner device 2 at a time interval shorter than the reset time Ts by the function of the connection maintaining unit 5. For this reason, the communication partner apparatus 2 receives the ARP request and updates the ARP before the reset time Ts elapses after the ARP table is updated, that is, before the time for deleting (clearing) the information in the ARP table is reached. The table will be updated. This prevents the information in the ARP table from being erased. As a result, a problem caused by the address information not being registered in the ARP table, that is, information (for example, a packet) transmitted by UDP communication does not reach the destination due to the absence of the address information in the ARP table. Problems (packet loss) are avoided. In other words, the communication device 1 can receive the information transmitted from the communication partner device 2 toward the communication device 1 without omission.

<第2実施形態>
以下に、本発明に係る第2実施形態を説明する。この第2実施形態では、本発明に係る通信システムを説明する。
Second Embodiment
The second embodiment according to the present invention will be described below. In this second embodiment, a communication system according to the present invention will be described.

図2は、第2実施形態の通信システムの構成を簡略化して表すブロック図である。第2実施形態の通信システム10は、情報処理側の装置12と、提供側の装置13とを有している。これら情報処理側の装置12と提供側の装置13は、情報通信網(図示せず)を介して接続されている。例えば、提供側の装置13は、メンテナンス対象の装置(例えば、無線基地局)である。情報処理側の装置12は、そのメンテナンス対象の装置に対するメンテナンス関連の処理を実行する機能を備えている装置(例えば、メンテナンスツールとも呼ばれる装置)である。このような情報処理側の装置12と提供側の装置13は、メンテナンスシステムを構成する。   FIG. 2 is a block diagram illustrating a simplified configuration of the communication system according to the second embodiment. The communication system 10 according to the second embodiment includes an information processing device 12 and a providing device 13. The information processing side device 12 and the providing side device 13 are connected via an information communication network (not shown). For example, the device 13 on the providing side is a maintenance target device (for example, a radio base station). The device 12 on the information processing side is a device (for example, a device called a maintenance tool) having a function of executing maintenance-related processing for the device to be maintained. The information processing apparatus 12 and the providing apparatus 13 constitute a maintenance system.

提供側の装置13は、例えば、CPUを含む制御装置22を備えている。制御装置22は、CPUがコンピュータプログラム(プログラム)を実行することによって、当該プログラムに従った様々な機能を有することができる。この第2実施形態では、制御装置22は、機能部として、提供部23と、通信部24と、更新部25と、初期化部26とを備えている。また、制御装置22は、記憶部27として機能する部位を有している。記憶部27は、情報を記憶(保持)する機能を備え、この第2実施形態では、ARPテーブル28が保持されている。ARPテーブル28とは、MACアドレスと、IPアドレスとの対応関係を表すテーブルデータである。また、記憶部27は、提供側の装置13に付与されているIPアドレスおよびMACアドレスを保持している。   The providing device 13 includes a control device 22 including a CPU, for example. The control device 22 can have various functions according to the program when the CPU executes the computer program (program). In the second embodiment, the control device 22 includes a providing unit 23, a communication unit 24, an updating unit 25, and an initialization unit 26 as functional units. Further, the control device 22 has a part that functions as the storage unit 27. The storage unit 27 has a function of storing (holding) information. In the second embodiment, the ARP table 28 is held. The ARP table 28 is table data representing a correspondence relationship between a MAC address and an IP address. The storage unit 27 holds an IP address and a MAC address assigned to the providing device 13.

提供部23は、情報処理側の装置12に情報を提供する処理を実行する機能を備えている。例えば、提供部23は、提供側の装置13が予め定められた動作(処理)を実行した場合に、その動作を実行したことを知らせる動作ログの情報を情報処理側の装置12に提供すべく通信部24に出力する。より具体的には、制御装置22は、予め与えられているアプリケーションプログラムに従ったアプリケーション処理を実行する機能、および、ミドルウェアのプログラムに基づいた処理を実行する機能をも備えている。この制御装置22において、指定されたアプリケーション処理とミドルウェアの処理との間でメッセージがやり取りされる場合が有り、そのメッセージのやり取りのタイミングでもって、提供部23は、その動作に関する動作ログの情報を通信部24に出力する。このように提供部23が動作ログを出力するタイミングは、アプリケーション処理によるものであり、不定期である。   The providing unit 23 has a function of executing processing for providing information to the apparatus 12 on the information processing side. For example, when the providing device 13 executes a predetermined operation (process), the providing unit 23 should provide operation log information notifying that the operation has been executed to the information processing device 12. Output to the communication unit 24. More specifically, the control device 22 also has a function of executing application processing according to an application program given in advance and a function of executing processing based on a middleware program. In this control device 22, a message may be exchanged between the designated application process and middleware process, and the providing unit 23 obtains operation log information regarding the operation at the timing of the exchange of the message. Output to the communication unit 24. In this way, the timing at which the providing unit 23 outputs the operation log is due to application processing, and is irregular.

通信部24は、情報通信網(図示せず)を介した通信処理を制御する機能を備えている。例えば、通信部24は、提供部23から受け取った情報(動作ログの情報)をUDP通信によって情報処理側の装置12に発信する機能を備えている。また、この第2実施形態では、通信部24は、TCP(Transmission Control Protocol)に基づいたTCP通信により情報処理側の装置12を含む他の通信装置と情報通信網(図示せず)を介して通信する機能をも備えている。   The communication unit 24 has a function of controlling communication processing via an information communication network (not shown). For example, the communication unit 24 has a function of transmitting information (operation log information) received from the providing unit 23 to the information processing apparatus 12 by UDP communication. In the second embodiment, the communication unit 24 communicates with other communication devices including the information processing device 12 through an information communication network (not shown) by TCP communication based on TCP (Transmission Control Protocol). It also has a function to communicate.

更新部25は、通信部24を介してARP要求を受け取った場合に、当該ARP要求に含まれている情報を利用してARPテーブル28を更新する機能を備えている。なお、ARP要求とは、第1実施形態でも述べたように、MACアドレスとIPアドレスの対応関係を表すテーブルデータである。この第2実施形態では、ARPテーブル28の更新処理には、新規情報を追加する処理と、情報を書き換える処理とがある。   When receiving an ARP request via the communication unit 24, the update unit 25 has a function of updating the ARP table 28 using information included in the ARP request. The ARP request is table data representing the correspondence between the MAC address and the IP address as described in the first embodiment. In the second embodiment, the update process of the ARP table 28 includes a process for adding new information and a process for rewriting information.

すなわち、更新部25は、ARPテーブル28に含まれていないMACアドレスとIPアドレスの対応関係の情報が、受信したARP要求に含まれている場合には、そのARP要求の情報に基づいて、その新規の情報をARPテーブル28に追加する。また、更新部25は、例えば、ARPテーブル28に登録されているIPアドレスがARP要求にも含まれている場合には、そのARP要求に含まれているアドレス情報を利用してARPテーブル28の情報を書き換える。   That is, when the information on the correspondence relationship between the MAC address and the IP address not included in the ARP table 28 is included in the received ARP request, the updating unit 25 determines that based on the information of the ARP request. New information is added to the ARP table 28. For example, when the IP address registered in the ARP table 28 is also included in the ARP request, the update unit 25 uses the address information included in the ARP request to update the ARP table 28. Rewrite information.

初期化部26は、例えば、タイマ(図示せず)あるいは時間計測手段(図示せず)を利用することにより、ARPテーブル28が更新部25により更新されてから予め設定されたリセット時間Ts(例えば20分)が経過したことを検知可能な機能を備えている。さらに、初期化部26は、ARPテーブル28が更新されてからリセット時間Tsを経過してもARPテーブル28が更新されない場合には、ARPテーブル28の全ての情報を消去(クリア)する機能を備えている。   The initialization unit 26 uses, for example, a timer (not shown) or a time measurement unit (not shown) to reset the reset time Ts (for example, preset) after the ARP table 28 is updated by the update unit 25. It has a function capable of detecting that 20 minutes have passed. Further, the initialization unit 26 has a function of erasing (clearing) all information in the ARP table 28 when the ARP table 28 is not updated even after the reset time Ts has elapsed since the ARP table 28 was updated. ing.

情報処理側の装置12は、制御装置15と、記憶装置16とを備えている。記憶装置16は、各種データやコンピュータプログラム等の情報を記憶(保持)する機能を備えた装置(例えばハードディスク装置)である。制御装置15は、CPUを有し、当該CPUが予め与えられているコンピュータプログラムを実行することによって、装置12の動作に関わる各種機能を持つことができる。この第2実施形態では、制御装置15は、機能部として、受信部18と、メンテナンス部19と、接続維持部20とを備えている。   The information processing apparatus 12 includes a control device 15 and a storage device 16. The storage device 16 is a device (for example, a hard disk device) having a function of storing (holding) information such as various data and computer programs. The control device 15 has a CPU and can have various functions related to the operation of the device 12 by executing a computer program given in advance. In the second embodiment, the control device 15 includes a receiving unit 18, a maintenance unit 19, and a connection maintaining unit 20 as functional units.

受信部18は、情報通信網(図示せず)を介して送信されてきた情報を受信する機能を備えている。例えば、受信部18は、提供側の装置13からUDP通信によって送信されてきた動作ログの情報を受信する機能を有する。さらに、受信部18は、UDP通信以外の通信(例えばTCP通信)によって送信されてきた情報を受信する機能をも備えている。   The receiving unit 18 has a function of receiving information transmitted via an information communication network (not shown). For example, the receiving unit 18 has a function of receiving information on an operation log transmitted from the providing apparatus 13 by UDP communication. Furthermore, the receiving unit 18 also has a function of receiving information transmitted by communication other than UDP communication (for example, TCP communication).

メンテナンス部19は、提供側の装置13からUDP通信によって送信されてきた動作ログの情報を受信部18を介して受け取った場合には、例えば、その動作ログの情報に提供側の装置13の識別情報を関連付け、当該動作ログの情報を記憶装置16に格納する。なお、情報処理側の装置12は、メンテナンス対象である複数の提供側の装置13に接続されていてもよく、この場合には、それら複数の装置13からそれぞれ動作ログの情報が情報処理側の装置12に送信されてくる。そして、メンテナンス部19は、受信した動作ログの情報に当該情報の発信元の装置13における識別情報を関連付け当該動作ログの情報を記憶装置16に書き込む。   When the maintenance unit 19 receives the operation log information transmitted from the providing device 13 by the UDP communication via the receiving unit 18, for example, the maintenance unit 19 identifies the providing device 13 in the operation log information. The information is associated, and the information of the operation log is stored in the storage device 16. The information processing side device 12 may be connected to a plurality of providing side devices 13 to be maintained. In this case, the operation log information from each of the plurality of devices 13 is the information processing side. Sent to the device 12. Then, the maintenance unit 19 associates the identification information in the device 13 that has transmitted the information with the received operation log information, and writes the information in the operation log in the storage device 16.

メンテナンス部19は、例えば、提供側の装置13に不具合が発生した場合に、当該不具合が発生した装置13における動作ログの情報を記憶装置16から読み出して当該動作ログの情報を解析する機能をさらに備えている。メンテナンス部19は、その解析により、例えば、不具合の要因を特定し、情報処理側の装置12に備えられているディスプレイ装置(図示せず)等の報知手段を利用して、その特定した不具合の要因を報知する。   The maintenance unit 19 further has, for example, a function of reading operation log information of the device 13 in which the problem has occurred from the storage device 16 and analyzing the information of the operation log when a problem occurs in the providing device 13. I have. The maintenance unit 19 identifies, for example, the cause of the failure by the analysis, and uses the notification means such as a display device (not shown) provided in the information processing side device 12 to solve the identified failure. Inform the factor.

接続維持部20は、予め設定された時間間隔Tt毎に定期的にARP要求を提供側の装置13に向けて発信する機能を備えている。そのARP要求を発信する時間間隔Ttは、ARP要求を受信する装置13に設定されているARPテーブル28のリセット時間Ts(例えば20分)よりも短い時間(例えば15分)である。当該ARP要求の発信間隔の時間Ttは、装置12の処理能力や装置12,13間の通信量等を考慮して適宜に設定される。なお、情報処理側の装置12に、メンテナンス対象である複数の提供側の装置13が接続されている場合には、各提供側の装置13に個別にARP要求の発信時間間隔Ttが設定されていてもよいし、全ての提供側の装置13に共通の発信時間間隔Ttが設定されていてもよい。さらに、情報処理側の装置12から提供側の装置13にARP要求を発信する場合に、そのARP要求は、UDP通信によって通信してもよいし、TCP通信によって通信してもよい。   The connection maintaining unit 20 has a function of transmitting an ARP request to the providing apparatus 13 periodically at a preset time interval Tt. The time interval Tt for transmitting the ARP request is a time (for example, 15 minutes) shorter than the reset time Ts (for example, 20 minutes) of the ARP table 28 set in the device 13 that receives the ARP request. The transmission interval time Tt of the ARP request is appropriately set in consideration of the processing capability of the device 12, the communication amount between the devices 12 and 13, and the like. In addition, when a plurality of providing devices 13 to be maintained are connected to the information processing device 12, the transmission time interval Tt of the ARP request is individually set for each providing device 13. Alternatively, a common transmission time interval Tt may be set for all the devices 13 on the providing side. Further, when an ARP request is transmitted from the information processing side device 12 to the providing side device 13, the ARP request may be communicated by UDP communication or TCP communication.

このように接続維持部20は、リセット時間Tsよりも短い時間間隔Ttでもって定期的にARP要求を提供側の装置13に向けて発信する。これにより、提供側の装置13における初期化部26がARPテーブル28の情報をクリアする前に、更新部25がARPテーブル28を更新する。このため、提供側の装置13において、ARPテーブル28の情報がクリアされて情報が登録されていない状態となることが防止される。   In this way, the connection maintaining unit 20 periodically sends an ARP request to the providing apparatus 13 at a time interval Tt shorter than the reset time Ts. As a result, the updating unit 25 updates the ARP table 28 before the initialization unit 26 in the providing apparatus 13 clears the information in the ARP table 28. For this reason, in the providing apparatus 13, the information in the ARP table 28 is cleared and no information is registered.

これにより、ARPテーブル28にアドレス情報が登録されていない状態に起因して、提供側の装置13がUDP通信によって発信した情報が宛先である情報処理側の装置12に到達しない問題(パケットロス)を情報処理側の装置12は回避することができる。このため、情報処理側の装置12は、提供側の装置13の動作ログを抜けなく保持できるために、提供側の装置13に不具合が発生した場合に、動作ログの抜けの悪影響を受けることなく動作ログを解析することができる。これにより、情報処理側の装置12は、動作ログの解析に要する時間が長くなるという問題や、処理に要する負荷が増加するという問題を防止することができる。   As a result, due to the state in which the address information is not registered in the ARP table 28, the information transmitted by the providing apparatus 13 through UDP communication does not reach the information processing apparatus 12 that is the destination (packet loss). The information processing apparatus 12 can avoid this. For this reason, since the information processing side device 12 can keep the operation log of the providing side device 13 without omission, it is not adversely affected by the omission of the operation log when a problem occurs in the providing side device 13. The action log can be analyzed. Thereby, the information processing apparatus 12 can prevent the problem that the time required for the analysis of the operation log becomes long and the problem that the load required for the processing increases.

図3は、第2実施形態における通信システムの処理の一例を説明するシーケンス図である。例えば、メンテナンス装置(メンテナンスツール)である情報処理側の装置12(制御装置15)は、電源が投入されることにより、予め設定されている起動処理を実行する(ステップS101)。引き続き、情報処理側の装置12(制御装置15)は、メンテナンス対象である提供側の装置13と通信接続するために接続処理を実行する(ステップS102)。この接続処理は、例えば、TCPに基づいた接続処理であり、当該情報処理側の装置12の接続処理に応じて提供側の装置13も接続処理を実行し、装置12,13間において信号(情報)のやり取りが複数回行われる。そのやり取りされる信号(情報)の一つとして、ARP要求がある。   FIG. 3 is a sequence diagram illustrating an example of processing of the communication system according to the second embodiment. For example, the information processing device 12 (control device 15), which is a maintenance device (maintenance tool), executes a startup process set in advance when the power is turned on (step S101). Subsequently, the information processing apparatus 12 (control apparatus 15) executes a connection process to establish communication connection with the providing apparatus 13 that is a maintenance target (step S102). This connection process is, for example, a connection process based on TCP, and the providing apparatus 13 also executes the connection process in response to the connection process of the information processing apparatus 12, and a signal (information ) Is exchanged multiple times. One of the exchanged signals (information) is an ARP request.

このような接続処理により、提供側の装置13と情報処理側の装置12との接続が確立した以降に、提供側の装置13は、メンテナンス用のアプリケーションを起動する。これにより、提供側の装置13は、予め設定された動作を実行した場合にその旨を報知する動作ログの情報を送信する。   After the connection between the providing apparatus 13 and the information processing apparatus 12 is established by such connection processing, the providing apparatus 13 activates a maintenance application. Thereby, the providing apparatus 13 transmits information of an operation log for notifying that when a preset operation is executed.

一方、情報処理側の装置12(制御装置15の接続維持部20)は、ARP要求を発信するタイミングを決定するタイマを駆動する(ステップS104)。そして、接続維持部20は、そのタイマがタイムアウトしたときに(ステップS105)、ARP要求を発信する(ステップS106)。その後、接続維持部20は、再度、タイマを駆動するステップS104からステップS106までの動作Sを繰り返す。   On the other hand, the information processing device 12 (the connection maintaining unit 20 of the control device 15) drives a timer that determines the timing of transmitting the ARP request (step S104). Then, when the timer has timed out (step S105), the connection maintaining unit 20 transmits an ARP request (step S106). Thereafter, the connection maintaining unit 20 repeats the operation S from Step S104 to Step S106 for driving the timer again.

提供側の装置13は、ARP要求を受信する度に、制御装置22の更新部25が記憶部27のARPテーブル28を更新する(ステップS107)。   In the providing apparatus 13, the update unit 25 of the control apparatus 22 updates the ARP table 28 of the storage unit 27 every time an ARP request is received (step S107).

通信システム10では、情報処理側の装置12および提供側の装置13は、ARPテーブル28の更新に関し、上記のように動作することにより、ARPテーブル28が定期的に更新される。この結果、通信システム10においては、提供側の装置13に保持されているARPテーブル28の情報がクリアされてアドレス情報が登録されていない状態となることが回避される。これにより、通信システム10は、ARPテーブル28にアドレス情報が登録されていないことに因り、UDP通信によって発信した情報が宛先に到達しない問題(パケットロス)を防止できる。   In the communication system 10, the information processing side device 12 and the providing side device 13 operate as described above with respect to the update of the ARP table 28, whereby the ARP table 28 is periodically updated. As a result, in the communication system 10, it is avoided that the information in the ARP table 28 held in the providing device 13 is cleared and the address information is not registered. As a result, the communication system 10 can prevent a problem (packet loss) in which the information transmitted by the UDP communication does not reach the destination because the address information is not registered in the ARP table 28.

<その他の実施形態>
なお、この発明は第1と第2の実施形態に限定されず、様々な実施の形態を採り得る。例えば、第2実施形態では、情報処理側の装置12は、メンテナンスツールである例を挙げている。これに対し、情報処理側の装置12は、メンテナンスツールに限定されない。例えば、情報処理側の装置12は、メンテナンス関連処理以外の処理を実行するアプリケーション処理によって、提供側の装置13と通信する機能を備えた装置であってもよい。
<Other embodiments>
In addition, this invention is not limited to 1st and 2nd embodiment, Various embodiment can be taken. For example, in the second embodiment, the information processing apparatus 12 is an example of a maintenance tool. On the other hand, the information processing apparatus 12 is not limited to a maintenance tool. For example, the information processing side device 12 may be a device having a function of communicating with the providing side device 13 by application processing for executing processing other than maintenance related processing.

また、第2実施形態では、ARPテーブル28は、制御装置22に内蔵されている記憶部27に保持されている。これに対し、ARPテーブル28は、制御装置22とは別個の記憶装置に保持されていてもよい。   In the second embodiment, the ARP table 28 is held in the storage unit 27 built in the control device 22. On the other hand, the ARP table 28 may be held in a storage device separate from the control device 22.

1 通信装置
2 通信相手の装置
4,18 受信部
5,20 接続維持部
24 通信部
25 更新部
26 初期化部
28 ARPテーブル
DESCRIPTION OF SYMBOLS 1 Communication apparatus 2 Communication partner apparatus 4,18 Reception part 5,20 Connection maintenance part 24 Communication part 25 Update part 26 Initialization part 28 ARP table

Claims (4)

MAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する機能と、前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する機能とを持つ通信相手の装置から、UDP(User Datagram Protocol)通信によって情報を受信する受信部と、
前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を前記通信相手の装置に向けて発信する接続維持部と
を備える通信装置。
When an ARP (Address Resolution Protocol) request for requesting MAC (Media Access Control) address information is received, the correspondence between the IP (Internet Protocol address) address and the MAC address is determined based on the information included in the ARP request. A function of updating the information in the ARP (Address Resolution Protocol) table, and deleting the information in the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated. A receiving unit that receives information by UDP (User Datagram Protocol) communication from a communication partner device having a function to perform,
A communication apparatus comprising: a connection maintaining unit that periodically transmits the ARP request to the communication partner apparatus at a time interval shorter than the reset time.
情報を提供する提供側の装置と、
前記提供側の装置がUDP(User Datagram Protocol)通信によって発信した情報の宛先である情報処理側の装置と
を有し、
前記提供側の装置は、
付与されているMAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する更新部と、
前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する初期化部と、
前記情報処理側の装置に向けて提供対象の前記情報を、前記ARPテーブルを参照しつつ前記UDP通信によって発信する通信部と
を持ち、
前記情報処理側の装置は、
前記提供側の装置から前記UDP通信によって情報を受信する受信部と、
前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を前記提供側の装置に向けて発信する接続維持部と
を備える通信システム。
A providing device that provides information;
The providing apparatus has an information processing apparatus that is a destination of information transmitted by UDP (User Datagram Protocol) communication;
The providing apparatus includes:
When an ARP (Address Resolution Protocol) request for requesting information on a given MAC (Media Access Control) address is received, an IP (Internet Protocol address) address and a MAC address are based on the information included in the ARP request. An update unit that updates information in an ARP (Address Resolution Protocol) table that represents the correspondence relationship between
An initialization unit for erasing the information of the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated;
A communication unit that transmits the information to be provided to the information processing apparatus by the UDP communication while referring to the ARP table;
The information processing apparatus is:
A receiving unit for receiving information from the provider device by the UDP communication;
A communication system comprising: a connection maintaining unit that periodically transmits the ARP request to the providing apparatus at a time interval shorter than the reset time.
前記提供側の装置は、前記提供対象の情報として、当該装置の動作ログの情報をUDP通信によって前記情報処理側の装置に発信し、
前記情報処理側の装置は、前記提供側の装置から受信した前記動作ログの情報を利用したメンテナンス関連の処理を実行する機能を備えている請求項2記載の通信システム。
The providing device transmits information on the operation log of the device to the information processing device by UDP communication as the information to be provided,
The communication system according to claim 2, wherein the information processing apparatus has a function of executing a maintenance-related process using information on the operation log received from the providing apparatus.
MAC(Media Access Control)アドレスの情報を要求するARP(Address Resolution Protocol)要求を受け取った場合に当該ARP要求に含まれている情報に基づき、IP(Internet Protocol address)アドレスとMACアドレスの対応関係を表すARP(Address Resolution Protocol)テーブルの情報を更新する機能と、前記ARPテーブルが更新されてから予め設定されたリセット時間を経過しても前記ARPテーブルが更新されない場合に前記ARPテーブルの情報を消去する機能とを持つ通信相手の装置から、UDP(User Datagram Protocol)通信によって情報を受信し、
その一方で、前記リセット時間よりも短い時間間隔でもって定期的に前記ARP要求を発信する情報制御方法。
When an ARP (Address Resolution Protocol) request for requesting MAC (Media Access Control) address information is received, the correspondence between the IP (Internet Protocol address) address and the MAC address is determined based on the information included in the ARP request. A function of updating the information in the ARP (Address Resolution Protocol) table, and deleting the information in the ARP table when the ARP table is not updated even after a preset reset time has elapsed since the ARP table was updated. Receives information from the device of the communication partner that has the function to perform by UDP (User Datagram Protocol) communication,
On the other hand, an information control method for periodically sending the ARP request at a time interval shorter than the reset time.
JP2015104726A 2015-05-22 2015-05-22 Communication device, communication system and communication control method Pending JP2016220105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015104726A JP2016220105A (en) 2015-05-22 2015-05-22 Communication device, communication system and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015104726A JP2016220105A (en) 2015-05-22 2015-05-22 Communication device, communication system and communication control method

Publications (1)

Publication Number Publication Date
JP2016220105A true JP2016220105A (en) 2016-12-22

Family

ID=57578717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015104726A Pending JP2016220105A (en) 2015-05-22 2015-05-22 Communication device, communication system and communication control method

Country Status (1)

Country Link
JP (1) JP2016220105A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285349A (en) * 2000-03-29 2001-10-12 Nec Corp System for fixing of arp table and method for the same
WO2007102209A1 (en) * 2006-03-08 2007-09-13 Yamatake Corporation Communication relaying device and communication relaying method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285349A (en) * 2000-03-29 2001-10-12 Nec Corp System for fixing of arp table and method for the same
WO2007102209A1 (en) * 2006-03-08 2007-09-13 Yamatake Corporation Communication relaying device and communication relaying method

Similar Documents

Publication Publication Date Title
JP4411222B2 (en) Network, network terminal device, IP address management method used therefor, and program thereof
RU2008134897A (en) METHODS AND DEVICE FOR INTERMACHINE COMMUNICATIONS
WO2017035763A1 (en) Data packet transmission method utilized in ipv6 network and device utilizing same
JP6279938B2 (en) Connection management apparatus, communication system, connection management method and program
JP2008098813A (en) Information communication device, information communication method, and program
CN109076022B (en) Network address conversion device, setting request device, communication system, communication method, and storage medium storing program
US9661083B1 (en) Efficient notification protocol through firewalls
US20170171092A1 (en) Network analysis and monitoring tool
JP2011199732A (en) Wireless lan system, mobile terminal, and mobile terminal ip address switching method
EP3223493B1 (en) Point-to-point protocol (ppp)-based dial-on-demand method and device, and computer storage medium
US10044590B2 (en) Method of effective retaining of NAT channel service
JP2009088934A (en) Wireless lan access point, and wireless lan access point program
JP2016220105A (en) Communication device, communication system and communication control method
JP4752722B2 (en) Packet transfer apparatus and packet transfer method
US20150365443A1 (en) Method, server and apparatus for establishing point-to-point connection
JP2013005419A (en) Communication system, packet transmission device, and program
US8064335B2 (en) Communication monitoring method, communication monitoring system, management system, and external device
JP6394606B2 (en) Terminal device, terminal device control method, and terminal device control program
AU2014231331B2 (en) System and method for reliable messaging between application sessions across volatile networking conditions
CN114143729B (en) Apparatus, method and computer readable storage medium for data transceiving with IoT devices
AU2021230848A1 (en) Communication apparatus, program, communication method, information processing method, information processing apparatus, and communication system
JP5743880B2 (en) Authentication server, authentication method, and computer program
JP4796883B2 (en) NAT management system
JP2015162876A (en) Radio communication device and radio communication system
JP7262550B2 (en) Apparatus, method and program for transmitting/receiving data to/from IoT device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170705

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190903

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200317