JP2021093626A - Communication device, communication control program, and communication control method - Google Patents

Communication device, communication control program, and communication control method Download PDF

Info

Publication number
JP2021093626A
JP2021093626A JP2019223020A JP2019223020A JP2021093626A JP 2021093626 A JP2021093626 A JP 2021093626A JP 2019223020 A JP2019223020 A JP 2019223020A JP 2019223020 A JP2019223020 A JP 2019223020A JP 2021093626 A JP2021093626 A JP 2021093626A
Authority
JP
Japan
Prior art keywords
packet
communication device
destination information
destination
communication
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
JP2019223020A
Other languages
Japanese (ja)
Inventor
秋人 伊藤
Akito Ito
秋人 伊藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2019223020A priority Critical patent/JP2021093626A/en
Publication of JP2021093626A publication Critical patent/JP2021093626A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

To provide a communication device that can establish a state of being able to communicate with an opposite device even if no information on a destination is held at all in an initial state.SOLUTION: The present invention is a communication device that transmits and receives packets, and includes: reception means for receiving a packet from an opposite device; packet identification means for identifying whether the received packet is a packet addressed to the communication device; transmission source information acquisition means for acquiring transmission source information from the received packet when it is identified that the received packet is a packet addressed to the communication device; and destination information storage means for storing the acquired transmission source information as destination information.SELECTED DRAWING: Figure 1

Description

本発明は、通信装置、通信制御プログラム、及び通信制御方法に関し、例えば、Ethernet(登録商標)にて制御される通信装置に適用し得る。 The present invention relates to communication devices, communication control programs, and communication control methods, and can be applied to, for example, communication devices controlled by Ethernet (registered trademark).

従来、Ethernetにおいて、自装置と宛先装置(対向措置)との間でデータ通信を行うために、例えば、宛先装置のIPアドレスを基にARPリクエストパケットを送信し、受信したARPリプライパケットから、宛先装置のMACアドレス、VLAN値等を記憶し、記憶した当該情報を用いて通信を行うことが知られている(特許文献1参照)。 Conventionally, in Ethernet, in order to perform data communication between the own device and the destination device (opposite measure), for example, an ARP request packet is transmitted based on the IP address of the destination device, and the received ARP reply packet is used as the destination. It is known that the MAC address, VLAN value, etc. of the device are stored, and communication is performed using the stored information (see Patent Document 1).

即ち、自装置のMACアドレス、IPアドレス等の情報はあらかじめ装置に付与されているが、対向装置の宛先MACアドレス等は固定値ではないため、宛先に関する情報の一部(例えば、宛先装置のIPアドレス)を不揮発メモリ等に記憶し、起動時にその一部の情報から対向装置の情報を取得して動作する構成であった。 That is, although information such as the MAC address and IP address of the own device is given to the device in advance, since the destination MAC address and the like of the opposite device are not fixed values, a part of the information about the destination (for example, the IP of the destination device) The address) is stored in a non-volatile memory or the like, and the information of the opposite device is acquired from a part of the information at the time of startup to operate.

特開2013-009049号公報Japanese Unexamined Patent Publication No. 2013-009049

しかしながら、上記従来の構成では、以下に示す問題があった。 However, the above-mentioned conventional configuration has the following problems.

まず、自装置の不揮発メモリ等に対向装置の情報が全く設定されていない場合には、宛先情報が無くパケットの送信ができなかった。 First, when the information of the opposite device is not set at all in the non-volatile memory of the own device, the packet cannot be transmitted because there is no destination information.

また、自装置に不揮発メモリ等を備えない場合には、宛先情報が無くパケットの送信ができなかった。 Further, when the own device is not equipped with a non-volatile memory or the like, the packet cannot be transmitted because there is no destination information.

そして、宛先に関する情報が不明の場合、宛先情報を付与できずパケットの送信ができなかった。 Then, when the information about the destination is unknown, the destination information cannot be given and the packet cannot be transmitted.

そのため、初期状態では宛先に関する情報は一切保持しなくても対向装置と通信可能な状態を確立できる通信装置、通信制御プログラム、及び通信制御方法が望まれている。 Therefore, a communication device, a communication control program, and a communication control method that can establish a state in which communication with the opposite device can be established without holding any information about the destination in the initial state are desired.

第1の本発明は、パケットを送受信する通信装置であって、(1)対向装置からパケットを受信する受信手段と、(2)受信パケットが当該通信装置宛てのパケットであるか否かを識別するパケット識別手段と、(3)前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得する送信元情報取得手段と、(4)取得した前記送信元情報を宛先情報として格納する宛先情報格納手段とを有することを特徴とする。 The first invention is a communication device that transmits and receives packets, and identifies (1) a receiving means for receiving a packet from an opposite device and (2) whether or not the received packet is a packet addressed to the communication device. (3) Source information acquisition means for acquiring source information from the received packet when the received packet is identified as a packet addressed to the communication device, and (4) the acquired packet identification means. It is characterized by having a destination information storage means for storing source information as destination information.

第2の本発明の通信制御プログラムは、パケットを送受信する通信装置に搭載されるコンピュータを、(1)対向装置からパケットを受信する受信手段と、(2)受信パケットが当該通信装置宛てのパケットであるか否かを識別するパケット識別手段と、(3)前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得する送信元情報取得手段と、(4)取得した前記送信元情報を宛先情報として格納する宛先情報格納手段として機能させることを特徴とする。 The second communication control program of the present invention uses a computer mounted on a communication device for transmitting and receiving packets to (1) a receiving means for receiving a packet from an opposite device and (2) a packet to which the received packet is addressed to the communication device. A packet identification means for identifying whether or not the packet is, and (3) a source information acquisition means for acquiring source information from the received packet when the received packet is identified as a packet addressed to the communication device. , (4) It is characterized in that it functions as a destination information storage means for storing the acquired source information as destination information.

第3の本発明は、パケットを送受信する通信装置に使用する通信制御方法であって、受信手段、パケット識別手段、送信元情報取得手段、及び宛先情報格納手段を備え、(1)前記受信手段は、対向装置からパケットを受信し、(2)前記パケット識別手段は、受信パケットが当該通信装置宛てのパケットであるか否かを識別し、(3)前記送信元情報取得手段は、前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得し、(4)前記宛先情報格納手段は、取得した前記送信元情報を宛先情報として格納することを特徴とする。 A third aspect of the present invention is a communication control method used for a communication device for transmitting and receiving packets, which includes a receiving means, a packet identifying means, a source information acquiring means, and a destination information storing means, and (1) the receiving means. Receives a packet from the opposite device, (2) the packet identification means identifies whether or not the received packet is a packet addressed to the communication device, and (3) the source information acquisition means receives the reception. When the packet is identified as a packet addressed to the communication device, source information is acquired from the received packet, and (4) the destination information storage means stores the acquired source information as destination information. It is characterized by.

本発明によれば、初期状態では宛先に関する情報は一切保持しなくても対向装置と通信可能な状態を確立できる。 According to the present invention, it is possible to establish a state in which communication with the opposite device is possible without holding any information about the destination in the initial state.

実施形態に係る通信装置の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the communication apparatus which concerns on embodiment. 実施形態に係る通信システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the communication system which concerns on embodiment. 実施形態に係る通信装置の特徴動作(IPパケット受信時の動作)を示すフローチャートである。It is a flowchart which shows the characteristic operation (the operation at the time of receiving an IP packet) of the communication apparatus which concerns on embodiment. 実施形態に係る通信装置の特徴動作(IPパケット送信時の動作)を示すフローチャートである。It is a flowchart which shows the characteristic operation (operation at the time of IP packet transmission) of the communication apparatus which concerns on embodiment.

(A)主たる実施形態
以下、本発明による通信装置、通信制御プログラム、及び通信制御方法の実施形態を、図面を参照しながら詳述する。
(A) Main Embodiments Hereinafter, embodiments of a communication device, a communication control program, and a communication control method according to the present invention will be described in detail with reference to the drawings.

(A−1)実施形態の構成
(A−1−1)全体構成
図2は、実施形態に係る通信システムの全体構成を示すブロック図である。
(A-1) Configuration of Embodiment (A-1-1) Overall Configuration FIG. 2 is a block diagram showing an overall configuration of a communication system according to an embodiment.

図2に示すように、通信システム1は、複数台の通信装置10(10−1、10−n)と、1台の上位装置20とを備えている。図2では、説明を簡易なものにするため、上位装置20を1台のみ例示しているが、複数台でも良い。 As shown in FIG. 2, the communication system 1 includes a plurality of communication devices 10 (10-1, 10-n) and one host device 20. In FIG. 2, for the sake of simplicity, only one higher-level device 20 is illustrated, but a plurality of higher-level devices 20 may be used.

また、ネットワークの構成もこれに限らず、例えば、通信装置10はネットワーク上において末端に配置されていなくても良い。即ち、通信装置10は他の通信装置10の中継装置となっても良い。 Further, the network configuration is not limited to this, and for example, the communication device 10 may not be arranged at the end on the network. That is, the communication device 10 may serve as a relay device for another communication device 10.

各装置間の通信方式は、有線・無線を問わず特に限定されるものではないが、例えば、各装置をケーブルで繋いで通信する有線LAN(構内ネットワーク)の標準の1つであるEthernetを適用することができる。 The communication method between each device is not particularly limited regardless of whether it is wired or wireless, but for example, Ethernet, which is one of the standards of a wired LAN (local area network) for communicating by connecting each device with a cable, is applied. can do.

また、通信システム1では、VLAN技術により、ネットワークを構成しても良いし、しなくても良い。 Further, in the communication system 1, the network may or may not be configured by the VLAN technology.

通信装置10は、初期状態では宛先である対向装置(上位装置20)に関する情報を一切保持せず、上位装置20から送信されたパケットから宛先情報を取得し、取得した宛先情報を基に対向装置との間で通信のやりとりを行う。 In the initial state, the communication device 10 does not hold any information about the opposite device (upper device 20) which is the destination, acquires the destination information from the packet transmitted from the higher device 20, and uses the acquired destination information as the opposite device. Communicate with.

上位装置20は、各通信装置10の上位に位置する装置であり、所定のタイミングで、各通信装置10にパケットを送信する。所定のタイミングは、例えば、周期的にパケットを送信するタイミングでも良いし、ネットワークにおいて新たな通信装置10の存在を検知したタイミングでも良いが、いずれにしても限定されるものでは無い。 The host device 20 is a device located above each communication device 10, and transmits a packet to each communication device 10 at a predetermined timing. The predetermined timing may be, for example, a timing of periodically transmitting a packet or a timing of detecting the existence of a new communication device 10 in the network, but is not limited in any case.

(A−1−2)通信装置10の詳細な構成
図1は、実施形態に係る通信装置の詳細構成を示すブロック図である。実施形態に係る通信装置は、図1に示す各構成部を搭載した専用のICチップ等のハードウェアとして構成しても良いし、又は、CPUと、CPUが実行するプログラムを中心としてソフトウェア的に構成しても良いが、機能的には、図1で表すことができる。
(A-1-2) Detailed Configuration of Communication Device 10 FIG. 1 is a block diagram showing a detailed configuration of the communication device according to the embodiment. The communication device according to the embodiment may be configured as hardware such as a dedicated IC chip on which each component shown in FIG. 1 is mounted, or may be software-based mainly on a CPU and a program executed by the CPU. Although it may be configured, it can be functionally represented in FIG.

図1において、通信装置10は、パケット受信フィルタ部11、パケット情報抽出部12、宛先情報格納部13、パケット処理部14、自装置MAC/IP情報格納部15、及びパケット送信部16を備える。 In FIG. 1, the communication device 10 includes a packet reception filter unit 11, a packet information extraction unit 12, a destination information storage unit 13, a packet processing unit 14, a own device MAC / IP information storage unit 15, and a packet transmission unit 16.

パケット受信フィルタ部11は、パケットを受信する処理を行い、受信したパケットが自装置宛てに送信されたパケットか否かを識別するものである。具体的に、パケット受信フィルタ部11は、後述する自装置MAC/IP情報格納部15に格納された自装置のMACアドレス及びIPアドレスと、受信パケットの宛先のMACアドレス及びIPアドレスを照合することにより識別する。 The packet reception filter unit 11 performs a process of receiving a packet, and identifies whether or not the received packet is a packet sent to its own device. Specifically, the packet reception filter unit 11 collates the MAC address and IP address of the own device stored in the own device MAC / IP information storage unit 15, which will be described later, with the MAC address and IP address of the destination of the received packet. Identify by.

パケット情報抽出部12は、受信パケットより対向装置情報(MACアドレス、IPアドレス、VLAN値)を取得するものである。 The packet information extraction unit 12 acquires the opposite device information (MAC address, IP address, VLAN value) from the received packet.

宛先情報格納部13は、パケット情報抽出部12で取得した対向装置情報を格納(記憶)するものである。宛先情報格納部13は、例えば、揮発性メモリで構成され、即ち、宛先情報格納部13に格納された情報は、通信装置10の電源がOFFされると全て消去される。 The destination information storage unit 13 stores (stores) the opposite device information acquired by the packet information extraction unit 12. The destination information storage unit 13 is composed of, for example, a volatile memory, that is, all the information stored in the destination information storage unit 13 is erased when the power of the communication device 10 is turned off.

パケット処理部14は、パケットの処理を実施するものであって、例えば、何らかのアプリケーションの操作により対向装置にパケットを送信する事由が発生したときに、送信するパケットを処理するものである。 The packet processing unit 14 processes the packet, and processes the packet to be transmitted when, for example, an operation of some application causes a reason for transmitting the packet to the opposite device.

自装置MAC/IP情報格納部15は、自装置のMACアドレス及びIPアドレスの情報を格納するものでる。自装置MAC/IP情報格納部15は、例えば、不揮発性メモリ又は磁気ディスク等で構成され、即ち、自装置MAC/IP情報格納部15に格納された情報は、通信装置10の電源がOFFされても消去されない。 The own device MAC / IP information storage unit 15 stores the MAC address and IP address information of the own device. The own device MAC / IP information storage unit 15 is composed of, for example, a non-volatile memory or a magnetic disk, that is, the information stored in the own device MAC / IP information storage unit 15 is turned off from the communication device 10. But it is not erased.

パケット送信部16は、パケット処理部14から送信指示がされると、送信パケットに宛先情報等を付加して対向装置に送信するものである。 When the packet processing unit 14 gives a transmission instruction, the packet transmission unit 16 adds destination information or the like to the transmission packet and transmits the transmission to the opposite device.

(A−2)実施形態の動作
次に、以上のような構成を有するこの実施形態の通信システム1(通信装置10)の動作を説明する。
(A-2) Operation of the Embodiment Next, the operation of the communication system 1 (communication device 10) of the embodiment having the above configuration will be described.

(A−2−1)通信装置10のパケット受信時の動作
図3は、実施形態に係る通信装置の特徴動作(IPパケット受信時の動作)を示すフローチャートである。図3の一連の処理は上位装置20からカプセル化IPパケット(Ethernetフレーム)を受信すると、動作を開始する。
(A-2-1) Operation of Communication Device 10 at the Time of Packet Reception FIG. 3 is a flowchart showing a characteristic operation (operation at the time of receiving an IP packet) of the communication device according to the embodiment. The series of processes in FIG. 3 starts operation when an encapsulated IP packet (Ethernet frame) is received from the host device 20.

パケット受信フィルタ部11は、受信パケットの宛先MACアドレスが自装置のMACアドレスか否かを識別する(S101)。通信装置10は、宛先MACアドレスが自装置宛だった場合には、次の処理を行い、一方、自装置宛以外の場合には、一連の処理を終了する。 The packet reception filter unit 11 identifies whether or not the destination MAC address of the received packet is the MAC address of its own device (S101). When the destination MAC address is addressed to its own device, the communication device 10 performs the following processing, while when it is not addressed to its own device, the communication device 10 ends a series of processing.

次に、パケット受信フィルタ部11は、受信パケットにVLANタグが付与されているか否かを識別する(S102)。具体的に、パケット受信フィルタ部11は、受信パケット(Ethernetフレーム)の「タイプ番号」がVLANを示す”0x8100”の場合に、VLANタグが付与されているとみなす。 Next, the packet reception filter unit 11 identifies whether or not a VLAN tag is attached to the received packet (S102). Specifically, the packet reception filter unit 11 considers that the VLAN tag is attached when the "type number" of the received packet (Ethernet frame) is "0x8100" indicating VLAN.

次に、パケット受信フィルタ部11は、受信パケットの宛先IPアドレスが自装置のIPアドレスか否かを識別する(S103)。通信装置10は、宛先IPアドレスが自装置宛だった場合には、次の処理を行い、一方、自装置宛以外の場合には、一連の処理を終了する。 Next, the packet reception filter unit 11 identifies whether or not the destination IP address of the received packet is the IP address of its own device (S103). When the destination IP address is addressed to its own device, the communication device 10 performs the following processing, while when it is not addressed to its own device, the communication device 10 ends a series of processing.

通信装置10は、先述のステップS102の処理で、受信パケットにVLANタグが付与されていると識別された場合には、次の処理を行い、一方、VLANタグが付与されていないと識別された場合には、後述するステップS106の処理に移行する(S104)。 When the communication device 10 is identified in the process of step S102 described above as having a VLAN tag attached to the received packet, the communication device 10 performs the following process, and on the other hand, it is identified that the VLAN tag is not attached. In that case, the process proceeds to step S106, which will be described later (S104).

パケット情報抽出部12は、受信パケットにVLANタグが付与されていると識別された場合、パケットに付与されている送信元IPアドレスを宛先IPアドレスとして、及び送信元MACアドレスを宛先MACアドレスとして、VLAN値と共に宛先情報格納部13に格納する(S105)。 When the packet information extraction unit 12 identifies that the received packet has a VLAN tag attached, the packet information extraction unit 12 uses the source IP address assigned to the packet as the destination IP address and the source MAC address as the destination MAC address. It is stored in the destination information storage unit 13 together with the VLAN value (S105).

一方、パケット情報抽出部12は、受信パケットにVLANタグが付与されていないと識別された場合、パケットに付与されている送信元IPアドレスを宛先IPアドレスとして、及び送信元MACアドレスを宛先MACアドレスとして宛先情報格納部13に格納する(S106)。 On the other hand, when the packet information extraction unit 12 identifies that the received packet does not have a VLAN tag attached, the packet information extraction unit 12 uses the source IP address assigned to the packet as the destination IP address and the source MAC address as the destination MAC address. Is stored in the destination information storage unit 13 (S106).

(A−2−2)通信装置10のパケット送信時の動作
図4は、実施形態に係る通信装置の特徴動作(IPパケット送信時の動作)を示すフローチャートである。図4の一連の処理は、対向措置(上位装置20)にパケットを送信する何らかの事由が発生すると、動作を開始する。
(A-2-2) Operation of Communication Device 10 at the Time of Packet Transmission FIG. 4 is a flowchart showing a characteristic operation (operation at the time of IP packet transmission) of the communication device according to the embodiment. The series of processes shown in FIG. 4 starts operation when some reason for transmitting a packet to the opposite measure (upper device 20) occurs.

パケット送信部16は、パケット処理部14からパケットの送信指示がされると、送信パケット(ヘッダ部)に、自装置のMACアドレス及びIPアドレスを、送信元MACアドレス及びIPアドレスとして付与する(S201)。 When the packet processing unit 14 gives an instruction to transmit a packet, the packet transmission unit 16 assigns the MAC address and IP address of its own device to the transmission packet (header unit) as the source MAC address and IP address (S201). ).

次に、パケット送信部16は、送信パケットに、宛先情報格納部13に格納したMACアドレス及びIPアドレスを、宛先MACアドレス及びIPアドレスとして付与する(S202)。 Next, the packet transmission unit 16 assigns the MAC address and IP address stored in the destination information storage unit 13 to the transmission packet as the destination MAC address and IP address (S202).

また、パケット送信部16は、宛先情報格納部13のデータ(対向装置である上位装置20のデータ)にVLAN値が格納されているか否か(VLANタグを付与するか否か)を判定する(S203)。パケット送信部16は、VLANタグ有りの場合には、次の処理を行い、一方、VLANタグ無しの場合には、一連の処理を終了する。 Further, the packet transmission unit 16 determines whether or not the VLAN value is stored in the data of the destination information storage unit 13 (data of the host device 20 which is the opposite device) (whether or not a VLAN tag is attached) (whether or not the VLAN tag is attached). S203). The packet transmission unit 16 performs the following processing when there is a VLAN tag, and ends a series of processing when there is no VLAN tag.

パケット送信部16は、VLANタグ有りの場合には、送信パケットにVLANタグ(VLAN値)を付与する(S204)。 When the packet transmission unit 16 has a VLAN tag, the packet transmission unit 16 adds a VLAN tag (VLAN value) to the transmission packet (S204).

そして、パケット送信部16は、以上の処理により設定されたパケットを送信する(S205)。 Then, the packet transmission unit 16 transmits the packet set by the above processing (S205).

(A−3)実施形態の効果
本発明によれば、初期状態で対向装置の情報(宛先MAC/IP、VLAN値)が一切無い場合でも、受信パケットより宛先情報を抽出することで、宛先情報を付与して対向装置にパケットを送信する事が可能となる。
(A-3) Effect of Embodiment According to the present invention, even if there is no information (destination MAC / IP, VLAN value) of the opposite device in the initial state, the destination information can be extracted from the received packet to obtain the destination information. Can be added to send a packet to the opposite device.

また、本実施形態の通信装置10では、予め宛先情報を不揮発性メモリ等に記憶する必要が無いため、従来より、リソースを効率的に活用することができる。 Further, in the communication device 10 of the present embodiment, since it is not necessary to store the destination information in the non-volatile memory or the like in advance, the resources can be utilized more efficiently than before.

さらに、本実施形態の通信装置10では、電源をONした後は、何らかの手を加えること無く、対向装置と通信する手段が確立されるため、ユーザが専門的な知識を有さなくても、ネットワーク環境を正常に構築することができる。 Further, in the communication device 10 of the present embodiment, after the power is turned on, a means for communicating with the opposite device is established without any modification, so that the user does not have to have specialized knowledge. The network environment can be built normally.

1…通信システム、10(10−1〜10−n)…通信装置、11…パケット受信フィルタ部、12…パケット情報抽出部、13…宛先情報格納部、14…パケット処理部、15…IP情報格納部、16…パケット送信部、20…上位装置。
1 ... Communication system, 10 (10-1 to 10-n) ... Communication device, 11 ... Packet reception filter unit, 12 ... Packet information extraction unit, 13 ... Destination information storage unit, 14 ... Packet processing unit, 15 ... IP information Storage unit, 16 ... Packet transmission unit, 20 ... Higher-level device.

Claims (7)

パケットを送受信する通信装置であって、
対向装置からパケットを受信する受信手段と、
受信パケットが当該通信装置宛てのパケットであるか否かを識別するパケット識別手段と、
前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得する送信元情報取得手段と、
取得した前記送信元情報を宛先情報として格納する宛先情報格納手段と
を有することを特徴とする通信装置。
A communication device that sends and receives packets
A receiving means for receiving a packet from the opposite device, and
A packet identification means for identifying whether or not a received packet is a packet addressed to the communication device,
When the received packet is identified as a packet addressed to the communication device, the source information acquisition means for acquiring the source information from the received packet and the source information acquisition means.
A communication device including a destination information storage means for storing the acquired source information as destination information.
前記宛先情報は、送信元のMACアドレス、IPアドレス、及びVLAN値のいずれか又は全てを含むことを特徴とする請求項1に記載の通信装置。 The communication device according to claim 1, wherein the destination information includes any or all of the source MAC address, IP address, and VLAN value. 前記宛先情報格納手段は、揮発性メモリに前記宛先情報を書き込むことを特徴とする請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2, wherein the destination information storage means writes the destination information in a volatile memory. 前記宛先情報格納手段に格納された前記宛先情報を用いてパケットを送信する送信手段をさらに有することを特徴とする請求項1〜3のいずれかに記載の通信装置。 The communication device according to any one of claims 1 to 3, further comprising a transmission means for transmitting a packet using the destination information stored in the destination information storage means. 当該通信装置は、ネットワークの末端に位置することを特徴とする請求項1〜4のいずれかに記載の通信装置。 The communication device according to any one of claims 1 to 4, wherein the communication device is located at the end of a network. パケットを送受信する通信装置に搭載されるコンピュータを、
対向装置からパケットを受信する受信手段と、
受信パケットが当該通信装置宛てのパケットであるか否かを識別するパケット識別手段と、
前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得する送信元情報取得手段と、
取得した前記送信元情報を宛先情報として格納する宛先情報格納手段と
して機能させることを特徴とする通信制御プログラム。
A computer installed in a communication device that sends and receives packets
A receiving means for receiving a packet from the opposite device, and
A packet identification means for identifying whether or not a received packet is a packet addressed to the communication device,
When the received packet is identified as a packet addressed to the communication device, the source information acquisition means for acquiring the source information from the received packet and the source information acquisition means.
A communication control program characterized in that it functions as a destination information storage means for storing the acquired source information as destination information.
パケットを送受信する通信装置に使用する通信制御方法であって、
受信手段、パケット識別手段、送信元情報取得手段、及び宛先情報格納手段を備え、
前記受信手段は、対向装置からパケットを受信し、
前記パケット識別手段は、受信パケットが当該通信装置宛てのパケットであるか否かを識別し、
前記送信元情報取得手段は、前記受信パケットが当該通信装置宛てのパケットであると識別されると、当該受信パケットから送信元情報を取得し、
前記宛先情報格納手段は、取得した前記送信元情報を宛先情報として格納する
ことを特徴とする通信制御方法。
A communication control method used for communication devices that send and receive packets.
It is provided with a receiving means, a packet identification means, a source information acquisition means, and a destination information storage means.
The receiving means receives a packet from the opposite device and receives the packet.
The packet identification means identifies whether or not the received packet is a packet addressed to the communication device, and determines whether or not the received packet is a packet addressed to the communication device.
When the received packet is identified as a packet addressed to the communication device, the source information acquisition means acquires the source information from the received packet.
The destination information storage means is a communication control method characterized in that the acquired source information is stored as destination information.
JP2019223020A 2019-12-10 2019-12-10 Communication device, communication control program, and communication control method Pending JP2021093626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019223020A JP2021093626A (en) 2019-12-10 2019-12-10 Communication device, communication control program, and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019223020A JP2021093626A (en) 2019-12-10 2019-12-10 Communication device, communication control program, and communication control method

Publications (1)

Publication Number Publication Date
JP2021093626A true JP2021093626A (en) 2021-06-17

Family

ID=76312795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019223020A Pending JP2021093626A (en) 2019-12-10 2019-12-10 Communication device, communication control program, and communication control method

Country Status (1)

Country Link
JP (1) JP2021093626A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003289310A (en) * 2002-03-27 2003-10-10 N Ii C Tele Netsutowaakusu Kk Loop-back testing apparatus, loop-back testing method, and program therefor
JP2006295259A (en) * 2005-04-05 2006-10-26 Canon Inc Communication apparatus, and method of controlling the communication
JP2006311066A (en) * 2005-04-27 2006-11-09 Toshiba Corp Electronic equipment
JP2013009049A (en) * 2011-06-22 2013-01-10 Alaxala Networks Corp Virtual network connection method, network system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003289310A (en) * 2002-03-27 2003-10-10 N Ii C Tele Netsutowaakusu Kk Loop-back testing apparatus, loop-back testing method, and program therefor
JP2006295259A (en) * 2005-04-05 2006-10-26 Canon Inc Communication apparatus, and method of controlling the communication
JP2006311066A (en) * 2005-04-27 2006-11-09 Toshiba Corp Electronic equipment
JP2013009049A (en) * 2011-06-22 2013-01-10 Alaxala Networks Corp Virtual network connection method, network system and device

Similar Documents

Publication Publication Date Title
US10581884B2 (en) Channel data encapsulation system and method for use with client-server data channels
JP6492707B2 (en) Packet detection program, packet detection apparatus, and packet detection method
CN108777640B (en) Server detection method, device, system and storage medium
CN101542979A (en) MAC address overlap eliminating method, network device managing system, server, and information device
CN108259632B (en) CGN implementation method and device
CN107645433B (en) Message forwarding method and device
EP4057576A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
US9948598B2 (en) Delivery control device, data delivery system, delivery control method, and non-transitory computer readable medium storing delivery control program
CN109076022B (en) Network address conversion device, setting request device, communication system, communication method, and storage medium storing program
CN107547505B (en) Message processing method and device
CN109246016B (en) Cross-VXLAN message processing method and device
JP2011015095A (en) Communication apparatus, address setting method, and address setting program
CN106209680B (en) Information processing apparatus and information processing method
US9913304B2 (en) Method and system for facilitating the establishment of a virtual private network in a cellular communication network
JP2021093626A (en) Communication device, communication control program, and communication control method
CN104243626B (en) Information processing apparatus
CN108259350B (en) Message transmission method and device and machine-readable storage medium
CN111651282B (en) Message processing method, message processing device and electronic equipment
CN111224855B (en) Linux-based virtual network card implementation method, device, equipment and medium
KR20060012263A (en) Packet communicate terminal
US20150334016A1 (en) Relay device
CN112565092B (en) Determining apparatus and determining method
US10404652B2 (en) Communication device, communication method, and program
US11050860B2 (en) Method and apparatus for network address analysis
US11044226B2 (en) Conversion device, communication system, method for controlling conversion device, and method for controlling communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230613

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20231205