JP6052876B2 - Relay device, control method thereof, and control program thereof - Google Patents
Relay device, control method thereof, and control program thereof Download PDFInfo
- Publication number
- JP6052876B2 JP6052876B2 JP2013008197A JP2013008197A JP6052876B2 JP 6052876 B2 JP6052876 B2 JP 6052876B2 JP 2013008197 A JP2013008197 A JP 2013008197A JP 2013008197 A JP2013008197 A JP 2013008197A JP 6052876 B2 JP6052876 B2 JP 6052876B2
- Authority
- JP
- Japan
- Prior art keywords
- network
- physical
- physical port
- port
- recognized
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、複数のイーサネット(登録商標、以下同じ)ポートを具備する中継装置に関し、特に、どのイーサネットポートに回線終端端末を接続した場合でもWANポートとなる中継装置、その制御方法、及びその制御プログラムに関する。 The present invention relates to a relay device having a plurality of Ethernet (registered trademark, hereinafter the same) ports, and more particularly, a relay device that becomes a WAN port when a line termination terminal is connected to any Ethernet port, its control method, and its control Regarding the program.
近年、SNS(Social Network Service)やストリーミング配信、ネットゲーム、クラウドサービスなどインターネットを使ったサービスが主流となっている。年齢、性別を問わず、誰でも、より簡単にインターネット環境がセットアップできるインターネット設置に対するニーズが存在する。 In recent years, services using the Internet such as SNS (Social Network Service), streaming distribution, net games, and cloud services have become mainstream. There is a need for an Internet installation that allows anyone to set up the Internet environment more easily, regardless of age or gender.
図14は、インターネット環境のセットアップに必要となる中継装置の背面に設けられた物理ポートを説明するための要部拡大図を示す。図14で示す一般的なルータなどの中継装置には、LAN(Local Area Network)用やWAN(Wide Area Network)用などの複数のイーサネットポートが別々に設けられている。ユーザにとって、複数のイーサネットポートがあった場合は、モデムやCTU(Customer network Terminating Unit)などの回線終端端末は決められたWANポートに接続しなければならず、誤ってLANポートに接続した場合には通信できないため問題となる。 FIG. 14 is an enlarged view of a main part for explaining the physical ports provided on the back surface of the relay apparatus necessary for setting up the Internet environment. A general relay device such as a router shown in FIG. 14 is provided with a plurality of Ethernet ports for LAN (Local Area Network) and WAN (Wide Area Network). For users, if there are multiple Ethernet ports, line termination terminals such as modems and CTUs (Customer Network Terminating Units) must be connected to the designated WAN port, and if they are accidentally connected to the LAN port Is a problem because it cannot communicate.
上記問題に対処するための様々な技術が提案されている。例えば、特許文献1は、ルータにおいて、ネットワークに接続するための物理ポートを選択的に構成する方法および装置を開示する。当該方法では、メッセージを受信し、希望するネットワークに使用する物理ポートを構成し、メッセージの受信に応答して、一組のマッピング・アサインメントを関連付け、物理ポートを使用してネットワークにアクセスし、そして、マッピング・アサインメントの関連付けに応答し、マッピング・アサインメントを実行して、選択されたネットワークに接続するための物理ポートを構成する。すなわち、特許文献1に記載のルータ・ポートを構成する方法および装置は、特定データを受信することで、受動的に、WANあるいはLANかを判定する発明である。
Various techniques for addressing the above problems have been proposed. For example,
また、特許文献2は、ブロードバンドルータのWAN/LANインタフェースのコネクタの物理的共有化を可能とすると共に、ブロードバンドルータに接続するデバイスの属性を自動判別することを可能にする技術を開示する。特許文献2の接続デバイス属性自動判別方法は、WAN判別をPPP認証に限定して行う発明である。
ルータにおいてWAN側インタフェースをユーザが容易に切り換えることができる技術が特許文献3に記載されている。特許文献3の情報中継装置及び情報通信システムは、端末装置からの送信データを変換して公衆通信網に送出するとともに、公衆通信網受信データを変換して端末装置に送出する公衆通信網データ送受信手段と、端末装置から出力された送信データを変換してイーサネットへ送出するとともに、イーサネット受信データを変換して端末装置に送出するイーサネットデータ送受信手段と、公衆通信網データ送受信手段とイーサネットデータ送受信手段のいずれか一方を送受信手段として選択する送受信手段選択手段とを備えている。この技術では、ユーザが、ルータに内蔵しているWAN側インタフェースを選択できる仕組みを有している。
しかしながら、特許文献1の技術では、自ら特定データを送出して物理ポートを判定するような能動的な判定方法をすることができない。特許文献2では、PPP認証によりWAN側端末は接続されている物理ポートを認識している点において、物理ポートを判定するに際して煩雑な処理及び構成となってしまう。また、特許文献3では、WAN側端末が接続されている物理ポートを自動で認識することができないという課題があった。
However, the technique disclosed in
本発明は、複数のイーサネットポートを具備する中継装置において、どのイーサネットポートに回線終端端末を接続した場合でもWANポートとなる中継装置を提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a relay apparatus having a plurality of Ethernet ports, which becomes a WAN port when a line termination terminal is connected to any Ethernet port.
上述の課題に鑑み、本発明の一態様は、第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置の制御方法において、複数の物理ポートのうちの未使用の物理ポートを第1のネットワークと動作可能な状態としておき、複数の物理ポートのいずれかに端末が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定すると共に、複数の物理ポートのいずれかに端末が接続されて複数の物理ポートに対してリクエストパケットを送出する前に、IPアドレスを割り当てて相手とのネゴシエーションを実施し、ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする制御方法に関する。 In view of the above problems, one aspect of the present invention is a control method for a relay device having a first network and a second plurality of physical ports of a network serves the unused physical ports of the plurality of physical ports When the terminal is connected to one of the plurality of physical ports, the request is sent to the plurality of physical ports by automatically detecting the connection when the terminal is connected to the first network. When there is a response to the packet, the physical port that received the response among the plurality of physical ports is recognized as a physical port for the first network, and is recognized as a signal interface dedicated to the first network. and it sets to connect the physical port for the first network, end to one of the plurality of physical ports Before sending request packets to multiple physical ports, assign an IP address and negotiate with the other party. When the negotiation is complete, the physical port is assigned to the second network. The present invention relates to a control method characterized in that a setting is made such that a signal interface that is recognized as a physical port and dedicated to a second network is connected to a recognized physical port for the second network .
また、本発明の別の態様は、第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置において、複数の物理ポートのうちの未使用の物理ポートを第1及び第2のネットワークと動作可能な状態としておき、複数の物理ポートのいずれかに端末が接続されると、前記接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する動作の前に、前記接続を検出した相手端末にIPアドレスの割り当てを試みるネゴシエーションを実施し、ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ネットワークプロセッサを備えることを特徴とする中継装置に関する。 Further, according to another aspect of the present invention, in a relay device having a plurality of physical ports that are also used for the first network and the second network, unused physical ports of the plurality of physical ports are assigned to the first and second physical ports. When a terminal is connected to one of a plurality of physical ports while being operable with the network, the connection is automatically detected, a request packet is transmitted to the plurality of physical ports, and a response to the transmitted request packet is received. When there is, the physical port that has received the response among the plurality of physical ports is recognized as the physical port for the first network, the signal interface dedicated to the first network, and the recognized first interface before operation of setting so as to connect the physical ports for networks, IP address to the remote terminal having detected the connection When the negotiation is completed and the negotiation is completed, the physical port is recognized as a physical port for the second network, the signal interface dedicated to the second network, and the recognized second interface The present invention relates to a relay device including a network processor configured to connect to a physical port for a network .
さらに、本発明の異なる態様は、第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置の制御プログラムにおいて、複数の物理ポートのうちの未使用の物理ポートを第1及び第2のネットワークと動作可能な状態としておく処理と、複数の物理ポートのいずれかに端末が接続されると、前記接続を自動検出して複数の物理ポートに対してリクエストパケットを送出する処理と、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理の前に、前記接続を検出した相手端末にIPアドレスの割り当てを試みるネゴシエーションを実施し、ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする制御プログラムに関する。 Furthermore, different aspects of the present invention is a control program of the relay device having a first network and a second plurality of physical ports of a network serves the unused physical ports of the plurality of physical ports first and a process to keep the operable state and the second network, the terminal to one of a plurality of physical ports are connected, a process of sending a request packet to a plurality of physical ports to said connection is automatically detected, When there is a response to the transmitted request packet, a process for recognizing a physical port that has received a response among a plurality of physical ports as a physical port for the first network, and a signal interface dedicated to the first network If, prior to the process of setting to connect the physical port for the first network that were recognized When a negotiation is attempted to assign an IP address to the partner terminal that has detected the connection, and when the negotiation is completed, the physical port is recognized as a physical port for the second network, and is dedicated to the second network. The present invention relates to a control program that causes a relay apparatus to execute processing for setting a certain signal interface to connect a recognized physical port for a second network .
本発明の中継装置では、特定のパケットやデータを送出して、そのレスポンスによりWAN側であることを認識できる。本発明によると、中継装置に複数の物理ポートがあった場合においても、すべての物理ポートがWANポートとして動作可能となる。 In the relay apparatus of the present invention, a specific packet or data is transmitted, and it can be recognized that it is on the WAN side by the response. According to the present invention, even when a relay device has a plurality of physical ports, all the physical ports can operate as WAN ports.
本発明の更なる利点及び実施形態を、記述と図面を用いて下記に詳細に説明する。 Further advantages and embodiments of the present invention are described in detail below using the description and the drawings.
以下、本発明の好ましい実施形態に従う中継装置10について、添付図面を参照しながら詳しく説明する。但し、以下に説明する実施例によって本発明の技術的範囲は何ら限定解釈されることはない。
Hereinafter, a
図1及び図2は本発明の各実施形態による構成例を示す概略図である。図1に示すネットワークシステムは、ゲートウェイとして機能するルータなどの中継装置10と、ケーブル等の伝送路からの信号を所定の信号に変調・復調して送受信するモデムなどの回線終端端末20と、ユーザが使用して中継装置10等を介してコンテンツを取得するパソコンなどの端末30と、ホームページ等のコンテンツを格納し、中継装置10等を介して送信されてくる端末30からのコンテンツ要求に応じるサーバ40と、インターネット等のネットワーク100とで構成されている。
1 and 2 are schematic views showing a configuration example according to each embodiment of the present invention. The network system shown in FIG. 1 includes a
図2は、本発明の各実施形態における中継装置10の背面に設けられた複数の物理ポートを説明するための要部拡大図である。図2から明らかなように、各実施形態による中継装置10の各物理ポートはWAN(第1のネットワーク)及びLAN(第2のネットワーク)ともに共有化して用いることができる。すなわち、ユーザが中継装置10のいずれかの物理ポートにWANケーブルを挿入した場合には、WANケーブルが繋がれた物理ポートはWANポートとして動作可能となる。また、LANケーブルをいずれかの物理ポートに接続した場合にも、LANケーブルが繋がれた物理ポートはLANポートとして動作可能となる。従って、ユーザは中継装置10に設けられた物理ポートの属性を区別することなくインターネット環境を容易にセットアップすることが可能となる。
FIG. 2 is an enlarged view of a main part for explaining a plurality of physical ports provided on the back surface of the
次に、本発明の各実施形態について図面を参照しつつ以下に詳細に説明する。 Next, embodiments of the present invention will be described in detail below with reference to the drawings.
(第1の実施形態)
図3は、本発明の第1の実施形態による中継装置10の概略構成を示すためのブロック図である。本実施形態の中継装置10は、イーサネット通信手段を持つ通信装置であって、ネットワークプロセッサ11、イーサネットスイッチ12、信号インタフェースA13、信号インタフェースB14、マネジメントインタフェース15、コネクタ16、及び記憶部17を有する。
(First embodiment)
FIG. 3 is a block diagram for illustrating a schematic configuration of the
ネットワークプロセッサ11は、データの転送・制御・管理を行うことができ、イーサネットスイッチ12との通信インタフェースを持つCPUである。イーサネットスイッチ12は、ネットワークプロセッサ11と外部インタフェースとの間のイーサネットのデータを変換する役割を持ち、ポート間の転送や内部のポートあるいは信号インタフェースA13、B14との転送ルートの設定が可能な回路である。信号インタフェースA13、B14は、イーサネット標準規格であるRGMII、GMII、MIIなどネットワークプロセッサ11とイーサネットスイッチ12の間のデータを転送するインタフェースである。ここでは信号インタフェースA13をWAN側専用、信号インタフェースB14をLAN側専用と定義する。
The
マネジメントインタフェース15は、ネットワークプロセッサ11がイーサネットスイッチ12を設定する、状態を検出するためのインタフェースである。コネクタ16は、イーサネットの外部インタフェースとしてイーサネット標準規格であるIEEE802.3で定義されているコネクタ16であり、例えばRJ45コネクタが挙げられる。このコネクタ16を連結してLANケーブルで端末30と接続することにより通信が可能となる。端末30は、一般的なパーソナルコンピュータであって、各種情報処理を行う制御部、情報を一時記憶するRAM、基本制御プログラムが格納されているROM、ユーザによって情報を入力する入力部、データ等を出力する出力部、ネットワークを介しインターネット等との通信を行うためのネットワークインタフェースがバスによって接続されている。
The
説明の都合上、図3ではイーサネットスイッチ12などをハードウェアとして図示しているが、これらの構成はコンピュータによって実行可能なプログラムによって構成され得る。記憶部17には、様々なプログラムやデータ、コンテンツが記憶又は一時記憶されている。また、OS(Operating System)も格納されている。記憶部17はこのOSの指示に基づいて動作する。この場合、記憶部17は、複数の物理ポートのうちの全ての物理ポートを第1のネットワークと動作可能な状態としておく処理と、複数の物理ポートのいずれかに端末30が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出する処理と、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートが接続されるように設定する処理とを実行するためのプログラムを格納することができる。これらのプログラムはコンピュータ(中継装置)によって実現され得る。
For convenience of explanation, the
本発明においては、物理ポート番号をPort[1]、Port[2]、・・・Port[n]のように示す。また、端末30は、イーサネットポートに接続の端末30であり、Port[1]に接続の端末30を端末[1]、Port[2]に接続の端末30を端末[2]、Port[n]に接続の端末30を端末[n]と定義する。図3に示す構成は一例であり、端末30の他にモデムなどの回線終端端末20を接続させることもできる。
In the present invention, physical port numbers are indicated as Port [1], Port [2],... Port [n]. The terminal 30 is a terminal 30 connected to the Ethernet port, the terminal 30 connected to Port [1] is the terminal [1], the terminal 30 connected to Port [2] is the terminal [2], and Port [n]. The terminal 30 connected to is defined as a terminal [n]. The configuration shown in FIG. 3 is an example, and a
次に、本発明の第1の実施形態による中継装置10の動作について詳細に説明する。本実施形態において、特定のパケットやデータは種々のものが挙げられるが、説明の便宜上、http(Hypertext Transfer Protocol)パケットを例にして説明する。
Next, the operation of the
図4は、本実施形態の中継装置10におけるポート自動検出動作を説明するためのフローチャートである。初期状態は、全ての物理ポートをWANとして動作可能な状態としておく。従って、WANに回線終端端末20が接続されるまでは、任意の物理ポートにLAN側端末30(例えばPC、TV、プリンタなど)が接続されても、通信プロトコルが確立せず通信が出来ないこととなる。
FIG. 4 is a flowchart for explaining the port automatic detection operation in the
初期状態から任意の物理ポート(Port[x])に端末30が接続された場合を説明する(S101)。Port[x]に端末30が接続されるとイーサネットスイッチ12が接続検出してマネジメントインタフェース15を介して接続検出をネットワークプロセッサ11に伝える(S102)。次にネットワークプロセッサ11は信号インタフェースA13を介して、全ての物理ポートに対しhttpリクエストパケットを送信する。このとき、信号インタフェースA13と全物理ポートはイーサネットスイッチ12内部で接続された初期状態である(S103)。
A case where the terminal 30 is connected to an arbitrary physical port (Port [x]) from the initial state will be described (S101). When the terminal 30 is connected to Port [x], the
図5にイーサネットスイッチ12内部の接続イメージを示す。送信されたhttpリクエストは、例えばルータのサポートサイトなどのあらかじめ決められたhttpサーバ宛てに送られる。また、ネットワークプロセッサ11はhttpサーバからのhttpレスポンスを待受けする(S104)。httpサーバからhttpレスポンスがあった場合には、その物理ポートをWANポートとして認識する(S105)。一般的にネットワークプロセッサ11は、イーサネットスイッチ12で付与されたVIDを見て、どの物理ポートから転送されてきたパケットなのかを認識することができるため、ここでは詳細な説明は割愛する。また、httpレスポンスが無かった場合には、接続待受け(初期状態)(S101)に戻る。
FIG. 5 shows a connection image inside the
ネットワークプロセッサ11は、WAN専用である信号インタフェースA13とポート[2]が接続されるようマネジメントインタフェース15を介してイーサネットスイッチ12を設定する。図6にポート[2]がWANポートの場合のイーサネットスイッチ12内部の接続イメージを示す。他の物理ポートについてはLAN側インタフェースとして見なす。同様に、ネットワークプロセッサ11はマネジメントインタフェース15を介してイーサネットスイッチ12を設定して、LAN専用であるMAC2と他の物理ポートを接続する。この時、LANポート機能として必要となるDHCP(Dynamic Host Configuration Protocol)機能なども合わせて設定する(S106)。イーサネットスイッチ12の設定変更が完了して(S106)、通常のルータ動作に移行する(S107)。
The
本実施形態によると、全ての物理ポートがWANポートまたはLANポートとなり得るため、ユーザの操作性が良くなり、オペレーションミスがなくなる。また、既存の中継装置10の構成がそのまま活用できる利点がある。その理由は、中継装置10は特定のパケットやデータを送出して、そのレスポンスにより対応するネットワークがWAN側であることを認識できるからである。また、本実施形態によると、物理ポートの制限がなくなり、装置が具備しているどの物理ポートに対して接続した場合でもWANポートとなり得る。
According to the present embodiment, since all physical ports can be WAN ports or LAN ports, user operability is improved and operation errors are eliminated. Further, there is an advantage that the configuration of the existing
(第2の実施形態)
続いて、本発明の第2の実施形態について説明する。本発明の第2の実施形態は、上述した第1の実施形態の変形例である。以下、本実施の形態において、第1の実施形態においてすでに説明した部分と同様な機能を有する部分には同一符号を付し、説明は省略する。
(Second Embodiment)
Subsequently, a second embodiment of the present invention will be described. The second embodiment of the present invention is a modification of the above-described first embodiment. Hereinafter, in the present embodiment, parts having the same functions as those already described in the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
図7は、第2の実施形態による中継装置10のポート自動検出動作を説明するための図である。本実施形態による中継装置10は第1の実施形態と同様に、図3に示した構成を有している。第1の実施形態では、WANが接続されるまではLANポートが動作可能とならなかったため、LANポート間あるいは他のインタフェースとのパケット転送ができなかったが、本実施形態では、WANが接続されていない状況でもLANポートが使用可能となる点において特徴を有する。
FIG. 7 is a diagram for explaining the port automatic detection operation of the
以下に図7から図9を参照しながら第2の実施形態によるポート自動検出動作の説明をする。初期状態から任意の物理ポート(Port[x])に端末30が接続された場合を説明する(S201)。Port[x]に端末30が接続されると、イーサネットスイッチ12が接続検出してマネジメントインタフェース15を介して接続検出をネットワークプロセッサ11に伝える(S202)。次に、ネットワークプロセッサ11は信号インタフェースA13を介して、DHCP機能によりIPアドレスを割り当てし、相手とのネゴシエーションを実施する(S203)。ネゴシエーションを完了することにより、LANポートとして認識する(S208)。ネットワークプロセッサ11は、LAN専用である信号インタフェースB14と該当物理ポートが接続されるようマネジメントインタフェース15を介してイーサネットスイッチ3を設定する。
The automatic port detection operation according to the second embodiment will be described below with reference to FIGS. A case where the terminal 30 is connected to an arbitrary physical port (Port [x]) from the initial state will be described (S201). When the terminal 30 is connected to Port [x], the
図8にPort[3]がLANポートの場合のイーサネットスイッチ12内部の接続イメージを示す。特定の物理ポートをLANポートとして設定した後(S208)、再び接続待受けを行う(S201)。一方、ネゴシエーションが完了しなかった場合には、全ての物理ポートに対し、httpリクエストパケットを送信する(S204)。ネットワークプロセッサ11は、httpサーバからのhttpレスポンスを待受けする(S205)。httpレスポンスがあった場合には、その物理ポートをWANポートとして認識する(S206)。httpレスポンスが無かった場合には、接続待受け(S201)に戻る。ネットワークプロセッサ11は、WAN専用である信号インタフェースA13と該当WANポートが接続されるようマネジメントインタフェース15を介してイーサネットスイッチ3を設定する。
FIG. 8 shows a connection image inside the
図9にPort[2]がWANポートの場合のイーサネットスイッチ12内部の接続イメージを示す。他の物理ポートについてはLAN側インタフェースとしてみなす。同様に、ネットワークプロセッサ11はマネジメントインタフェース15を介してイーサネットスイッチ12を設定して、LAN専用であるMAC2と他の物理ポートを接続する。この時、LANポート機能として必要となるDHCP機能なども合わせて設定する(S206)。イーサネットスイッチ12の設定変更が完了した後、通常のルータ動作に移行する(S207)。本実施形態により回線が開通する前には回線終端端末20との接続ポートが検出できる。
FIG. 9 shows a connection image inside the
本実施形態によると、中継装置10から送信する特定パケットにより、WANポートとLANポートの識別を能動的に行うことが可能となるため、ネットワーク環境のセットアップを容易に実行可能となる。
According to the present embodiment, it is possible to actively identify the WAN port and the LAN port by the specific packet transmitted from the
(第3の実施形態)
続いて、本発明の第3の実施形態について説明する。本発明の第3の実施形態は、上述した第1及び第2の実施形態の変形例である。以下、本実施の形態において、第1及び第2の実施形態においてすでに説明した部分と同様な機能を有する部分には同一符号を付し、説明は省略する。本実施形態では、外部からの実行要求によりWANポートの認識を実現できる。
(Third embodiment)
Subsequently, a third embodiment of the present invention will be described. The third embodiment of the present invention is a modification of the first and second embodiments described above. Hereinafter, in the present embodiment, parts having the same functions as those already described in the first and second embodiments are denoted by the same reference numerals, and description thereof is omitted. In the present embodiment, WAN port recognition can be realized by an external execution request.
図10は、本発明の第3の実施形態による中継装置10を含むネットワークシステムを説明するためのブロック図である。本実施形態による中継装置10は、上述した構成に加えて読取コード18を有している。読取コード18としては、例えばルータに貼付のQRコード(登録商標)やバーコードなどがあり、読取コード18にはMACアドレスとサーバアドレスが入力されている。また、本実施形態では、中継装置10の読取コード18はユーザの携帯電話やスマートフォンなどの通信手段を持ち合わせた通信端末50などで読み取られる。通信端末50により読み取られた情報は、通信手段にて所定の方式でサーバ40に送信される。サーバ40は、受信した情報に含まれるMACアドレスを基に、特定の物理ポートに接続された回線終端端末20を介して指定MACに対してパケットを送信する。
FIG. 10 is a block diagram for explaining a network system including the
続いて、第3の実施形態の中継装置10による動作処理の説明をする。図11は、図10に示す中継装置10におけるポート自動検出動作を説明するための図である。本実施形態では、外部からの実行要求でWANポートの認識を実現する。まず、通信端末50はコードリーダー機能を用いて、中継装置10に貼付の読取コード18を読み取る(S301)。通信端末50は、読み取ったMACアドレスをサーバアドレス宛に送信する(S302)。送信伝達手段は、サーバ40のホームページコンテンツやメールなどが考えられるがここでは指定しない。サーバ40は通信端末50からの情報に基づき、MACアドレス宛に指定パケットを送信する(S303)。サーバ40は、中継装置10の事業者によって管理されるものであり、あらかじめパケットの形式などは取り決めされている(S304)。中継装置10は、パケットを受信したPort[x]をWANポートとして認識する(S305)。ネットワークプロセッサ11は、WAN専用である信号インタフェースA13と該当WANポートが接続されるようにマネジメントインタフェース15を介してイーサネットスイッチ12を設定する。他の物理ポートについてはLAN側インタフェースとしてみなし、同様にネットワークプロセッサ11はマネジメントインタフェース15を介してイーサネットスイッチ12を設定する(S306)。
Subsequently, an operation process performed by the
本実施形態に係る構成によると、中継装置10が有する読取コード18と外部の通信端末50の補助により、ネットワーク側からのアクセスすることでWANポートが判別可能となる。
According to the configuration of the present embodiment, the WAN port can be identified by accessing from the network side with the help of the reading code 18 of the
(第4の実施形態)
続いて、本発明の第4の実施形態について説明する。本発明の第4の実施形態は、上述した第1から第3の実施形態の変形例である。以下、本実施の形態において、第1から第3の実施形態においてすでに説明した部分と同様な機能を有する部分には同一符号を付し、説明は省略する。上述した実施形態は回線が開通していることを前提条件としていたが、本実施形態では、回線が開通する前にWANポートを検出できる点で特徴を有している。
(Fourth embodiment)
Subsequently, a fourth embodiment of the present invention will be described. The fourth embodiment of the present invention is a modification of the first to third embodiments described above. Hereinafter, in the present embodiment, parts having the same functions as those already described in the first to third embodiments are denoted by the same reference numerals, and description thereof is omitted. The above-described embodiment is based on the precondition that the line is open. However, the present embodiment is characterized in that the WAN port can be detected before the line is opened.
図12は、本発明の第4の実施形態による中継装置10の概略構成を示すためのブロック図である。本実施形態による中継装置10の物理ポートに接続される回線終端端末20はWoL(Wake on LAN)機能を搭載している必要がある。このWoL機能は、マジックパケットと呼ばれる特殊パケットを送出することにより、接続端末あるいはネットワーク上にいる装置の電源を起動またはシャットダウンすることが出来る機能である。本実施形態ではWoL機能を中継装置10のイーサネット機能のEnableに使用する。
FIG. 12 is a block diagram for illustrating a schematic configuration of the
続いて、本実施形態の中継装置10による動作処理の説明をする。図13は、図12に示す中継装置10におけるポート自動検出動作を説明するための図である。中継装置10の初期状態は、全イーサネットポート(Port[1]〜Port[n])動作はデータ転送ができないDisableとなっている。また、イーサネットスイッチ12の内部接続イメージは図5に示す通りである(S401)。次に、物理ポートに回線終端端末20が接続されると当該接続を検出する(S402)。マジックパケットの受信があった場合には、中継装置10はPort[x]に回線終端端末20が接続されている。つまり、Port[x]がWANポートであると認識する(S404)。マジックパケットの受信なしの場合には、接続待受け(初期状態)に戻る(S401)。
Subsequently, an operation process performed by the
ネットワークプロセッサ11はWAN専用である信号インタフェースA13とPort[x]が接続されるようマネジメントインタフェース15を介してイーサネットスイッチ12を設定する。Port[2]がWANポートの場合のイーサネットスイッチ12内部の接続イメージは図6に示した通りである。他の物理ポートについてはLAN側インタフェースとして見なす。同様に、ネットワークプロセッサ11はマネジメントインタフェース15を介してイーサネットスイッチ12を設定して、LAN専用であるMAC2と他の物理ポートを接続する。この時、LANポート機能として必要となるDHCP機能なども合わせて設定する(S405)。また、全イーサネットボートがこの時点でEnableとなり使用可能な状態となる。イーサネットスイッチ12の設定変更が完了した後、通常のルータ動作に移行する(S406)。
The
本実施形態では、二次効果として、省電力に寄与することができる。なぜなら、WoL機能により、中継装置10のイーサネット機能の動作トリガとして使うことが出来るため、例えば回線終端端末20の電源がOFFされた場合には、WANポートが削除されたと認識して、中継装置10のイーサネットポートは初期状態(S401)に戻りDisable状態になるからである。
In this embodiment, it can contribute to power saving as a secondary effect. This is because the WoL function can be used as an operation trigger for the Ethernet function of the
なお、上述した実施形態に含まれる特徴を用いた制御プログラムも本発明の範疇に含まれる。 In addition, the control program using the characteristics included in the above-described embodiment is also included in the category of the present invention.
なお、上述の各実施の形態において、実施形態の動作(処理)は、プログラム、ソフトウェア、又はコンピュータによって実行されることが可能な命令でコード化された、コンピュータ読み取り可能な記憶媒体によって実行されてもよい。記憶媒体には、光ディスク、フロッピー(登録商標)ディスク、ハードディスク等の可搬型の記録媒体が含まれることはもとより、ネットワークのようにデータを一時的に記録保持するような伝送媒体も含まれる。 In each of the above-described embodiments, the operation (processing) of the embodiment is executed by a computer-readable storage medium encoded with a program, software, or an instruction that can be executed by a computer. Also good. The storage medium includes not only a portable recording medium such as an optical disk, a floppy (registered trademark) disk, and a hard disk, but also a transmission medium that temporarily records and holds data such as a network.
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.
(付記1)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置の制御方法において、
複数の物理ポートのうちの全ての物理ポートを第1のネットワークと動作可能な状態としておき、
複数の物理ポートのいずれかに端末が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、
送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする制御方法。
(Supplementary Note 1) In the control method of the relay device having a plurality of physical ports that are also used for the first network and the second network,
All physical ports of the plurality of physical ports are set to be operable with the first network,
When a terminal is connected to one of multiple physical ports, the connection is automatically detected and a request packet is sent to the multiple physical ports.
When there is a response to the transmitted request packet, the physical port that received the response among the plurality of physical ports is recognized as the physical port for the first network,
A control method, comprising: setting so as to connect a signal interface dedicated to the first network and a recognized physical port for the first network.
(付記2)複数の物理ポートのうちの他の物理ポートについては第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記1に記載の制御方法。
(Appendix 2) Other physical ports of the plurality of physical ports are recognized as physical ports for the second network, the signal interface dedicated to the second network, and the recognized physical for the second network The control method according to
(付記3)複数の物理ポートのいずれかに端末が接続されて複数の物理ポートに対してリクエストパケットを送出する前に、IPアドレスを割り当てて相手とのネゴシエーションを実施し、
ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記1又は2に記載の制御方法。
(Appendix 3) Before a terminal is connected to one of a plurality of physical ports and a request packet is sent to the plurality of physical ports, an IP address is assigned and negotiation with the other party is performed.
When the negotiation is completed, the physical port is recognized as a physical port for the second network, and the signal interface dedicated to the second network is connected to the recognized physical port for the second network. The control method according to
(付記4)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートと、読取コードとを有する中継装置の制御方法において、
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信し、
外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定することを特徴とする制御方法。
(Additional remark 4) In the control method of the relay apparatus which has a some physical port for 1st network and 2nd network, and a reading code,
When the external server receives the MAC address acquired from the reading code, the designated packet is transmitted to the MAC address acquired from the external server,
Recognizing one of a plurality of physical ports that have received a designated packet transmitted from an external server as a physical port for the first network;
A control method comprising: setting so as to connect a signal interface dedicated to the first network and a recognized physical port for the first network.
(付記5)複数の物理ポートが機能無効化されている状態において、
WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記1乃至4の何れか一項に記載の制御方法。
(Appendix 5) In the state where the functions of multiple physical ports are disabled,
When a magic packet is received from an external line termination terminal equipped with a WoL function, the physical port connected to the external line termination terminal is recognized as a physical port for the first network,
The control method according to any one of
(付記6)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置において、
複数の物理ポートのうちの全ての物理ポートを第1のネットワークと動作可能な状態としておき、複数の物理ポートのいずれかに端末が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定するネットワークプロセッサを備えることを特徴とする中継装置。
(Supplementary Note 6) In a relay device having a plurality of physical ports that also serve as the first network and the second network,
All physical ports among a plurality of physical ports are set in an operable state with the first network, and when a terminal is connected to one of the plurality of physical ports, the connection is automatically detected and the plurality of physical ports are detected. When a response to the transmitted request packet is received, the physical port that received the response among the plurality of physical ports is recognized as the physical port for the first network, and the first A network processor configured to connect the signal interface dedicated to the network and the recognized physical port for the first network.
(付記7)前記ネットワークプロセッサは、複数の物理ポートのうちの他の物理ポートについては第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記6に記載の中継装置。 (Supplementary Note 7) The network processor recognizes other physical ports of the plurality of physical ports as physical ports for the second network, and recognizes the signal interface dedicated to the second network as the second interface recognized as the second network. The relay device according to appendix 6, wherein the relay device is set to be connected to a physical port for the network.
(付記8)前記ネットワークプロセッサは、複数の物理ポートのいずれかに端末が接続されて複数の物理ポートに対してリクエストパケットを送出する前に、IPアドレスを割り当てて相手とのネゴシエーションを実施し、ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記6又は7に記載の中継装置。 (Appendix 8) Before the network processor sends a request packet to a plurality of physical ports when a terminal is connected to any of the plurality of physical ports, the network processor assigns an IP address and negotiates with the other party. When the negotiation is completed, the physical port is recognized as a physical port for the second network, and the signal interface dedicated to the second network is connected to the recognized physical port for the second network. The relay device according to appendix 6 or 7, wherein the relay device is set as follows.
(付記9)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートと、読取コードとを有する中継装置において、
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信し、外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定するネットワークプロセッサを備えることを特徴とする中継装置。
(Supplementary Note 9) In a relay device having a plurality of physical ports that are also used for the first network and the second network, and a read code,
When the external server receives the MAC address acquired from the reading code, the specified packet is transmitted to the MAC address acquired from the external server, and the specified packet transmitted from the external server is received. Is configured to connect the signal interface dedicated to the first network and the recognized physical port for the first network to one of the physical ports as a physical port for the first network. A relay device comprising a processor.
(付記10)前記ネットワークプロセッサは、複数の物理ポートが機能無効化されている状態において、WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする付記6乃至9の何れか一項に記載の中継装置。 (Supplementary note 10) When a magic packet is received from an external line termination terminal equipped with a WoL function in a state where a plurality of physical ports are disabled, the network processor connects to the external line termination terminal. The physical port is recognized as a physical port for the first network, and the signal interface dedicated to the first network is set to be connected to the recognized physical port for the first network. 10. The relay device according to any one of appendices 6 to 9, which is characterized.
(付記11)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートを有する中継装置の制御プログラムにおいて、
複数の物理ポートのうちの全ての物理ポートを第1のネットワークと動作可能な状態としておく処理と、
複数の物理ポートのいずれかに端末が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出する処理と、
送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする制御プログラム。
(Supplementary Note 11) In a control program for a relay device having a plurality of physical ports also serving as a first network and a second network,
A process of setting all physical ports of the plurality of physical ports to be operable with the first network;
When a terminal is connected to one of a plurality of physical ports, processing for automatically detecting the connection and sending a request packet to the plurality of physical ports;
When there is a response to the transmitted request packet, a process of recognizing a physical port that has received a response among a plurality of physical ports as a physical port for the first network;
A control program for causing a relay device to execute a process of setting a signal interface dedicated to a first network and a recognized physical port for the first network to be connected.
(付記12)複数の物理ポートのうちの他の物理ポートについては第2のネットワーク用の物理ポートとして認識する処理と、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする付記11に記載の制御プログラム。
(Supplementary note 12) Processing for recognizing other physical ports of the plurality of physical ports as physical ports for the second network, a signal interface dedicated to the second network, and for the recognized second network The control program according to
(付記13)複数の物理ポートのいずれかに端末が接続されて複数の物理ポートに対してリクエストパケットを送出する前に、IPアドレスを割り当てて相手とのネゴシエーションを実施する処理と、
ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする付記11又は12に記載の制御プログラム。
(Supplementary Note 13) Before a terminal is connected to one of a plurality of physical ports and a request packet is transmitted to the plurality of physical ports, an IP address is assigned and negotiation with the other party is performed.
When the negotiation is completed, the physical port is recognized as a physical port for the second network, and the signal interface dedicated to the second network is connected to the recognized physical port for the second network. The control program according to
(付記14)第1のネットワーク及び第2のネットワーク兼用の複数の物理ポートと、読取コードとを有する中継装置の制御プログラムにおいて、
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信する処理と、
外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする制御プログラム。
(Supplementary Note 14) In a control program for a relay device having a plurality of physical ports also serving as a first network and a second network, and a read code,
When an external server receives the MAC address acquired from the reading code, a process of transmitting a designated packet to the MAC address acquired from the external server;
Processing for recognizing one of the plurality of physical ports that have received the designated packet transmitted from the external server as a physical port for the first network;
A control program for causing a relay device to execute a process of setting a signal interface dedicated to a first network and a recognized physical port for the first network to be connected.
(付記15)複数の物理ポートが機能無効化されている状態において、
WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする付記11乃至14の何れか一項に記載の制御プログラム。
(Supplementary Note 15) In a state where a plurality of physical ports are disabled,
A process of recognizing a physical port connected to an external line termination terminal as a physical port for the first network when a magic packet is received from an external line termination terminal equipped with a WoL function;
Any one of
本発明の中継装置、制御方法、及び制御プログラムは、例えばホームネットワークサービスに適用することができ、インターネットを経由してホームネットワーク上にある様々な機器に簡単にアクセスし、操作することのできるネットワーク環境での技術として有用である。 The relay apparatus, control method, and control program of the present invention can be applied to, for example, a home network service, and can easily access and operate various devices on the home network via the Internet. Useful as environmental technology.
10 中継装置(ルータ)
11 ネットワークプロセッサ
12 イーサネットスイッチ
13 信号インタフェースA
14 信号インタフェースB
15 マネジメントインタフェース
16 コネクタ
17 記憶部
18 読取コード
20 回線終端端末
30 端末(クライアント)
40 サーバ
50 携帯型情報端末
100 ネットワーク
10 Relay device (router)
11
14 Signal interface B
15
40
Claims (9)
複数の物理ポートのうちの未使用の物理ポートを第1のネットワークと動作可能な状態としておき、
複数の物理ポートのいずれかに端末が接続されると、当該接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、
送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定すると共に、
複数の物理ポートのいずれかに端末が接続されて複数の物理ポートに対してリクエストパケットを送出する前に、IPアドレスを割り当てて相手とのネゴシエーションを実施し、
ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、
ことを特徴とする制御方法。 In the control method of the relay device having a plurality of physical ports that are also used for the first network and the second network,
An unused physical port among a plurality of physical ports is made operable with the first network,
When a terminal is connected to one of multiple physical ports, the connection is automatically detected and a request packet is sent to the multiple physical ports.
When there is a response to the transmitted request packet, the physical port that received the response among the plurality of physical ports is recognized as the physical port for the first network,
Configuring to connect a signal interface dedicated to the first network and a recognized physical port for the first network ;
Before a terminal is connected to one of a plurality of physical ports and a request packet is sent to the plurality of physical ports, an IP address is assigned and negotiation with the other party is performed.
When the negotiation is completed, the physical port is recognized as a physical port for the second network, and the signal interface dedicated to the second network is connected to the recognized physical port for the second network. Set as
A control method characterized by that.
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信し、
外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定することを特徴とする制御方法。 In a control method of a relay device having a plurality of physical ports also serving as a first network and a second network, and a read code,
When the external server receives the MAC address acquired from the reading code, the designated packet is transmitted to the MAC address acquired from the external server,
Recognizing one of a plurality of physical ports that have received a designated packet transmitted from an external server as a physical port for the first network;
A control method comprising: setting so as to connect a signal interface dedicated to the first network and a recognized physical port for the first network.
WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識し、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする請求項1又は2に記載の制御方法。 When multiple physical ports are disabled,
When a magic packet is received from an external line termination terminal equipped with a WoL function, the physical port connected to the external line termination terminal is recognized as a physical port for the first network,
The control method according to claim 1 or 2 , wherein a setting is made so as to connect a signal interface dedicated to the first network and a recognized physical port for the first network.
複数の物理ポートのうちの未使用の物理ポートを第1及び第2のネットワークと動作可能な状態としておき、
複数の物理ポートのいずれかに端末が接続されると、
前記接続を自動検出して複数の物理ポートに対してリクエストパケットを送出し、送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する動作の前に、
前記接続を検出した相手端末にIPアドレスの割り当てを試みるネゴシエーションを実施し、
ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する、
ネットワークプロセッサを備える
ことを特徴とする中継装置。 In a relay device having a plurality of physical ports that are also used for the first network and the second network,
An unused physical port among a plurality of physical ports is made operable with the first and second networks,
When a terminal is connected to one of multiple physical ports,
When the connection is automatically detected and a request packet is transmitted to a plurality of physical ports, and when there is a response to the transmitted request packet, the physical port that has received the response among the plurality of physical ports is designated as the first physical port. Before the operation to recognize the physical port for the network and connect the signal interface dedicated to the first network and the recognized physical port for the first network ,
Perform negotiation to try to assign an IP address to the partner terminal that detected the connection,
When the negotiation is completed, the physical port is recognized as a physical port for the second network, and the signal interface dedicated to the second network is connected to the recognized physical port for the second network. Set as
A relay device comprising a network processor.
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信し、外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識し、第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定するネットワークプロセッサを備えることを特徴とする中継装置。 In a relay device having a plurality of physical ports also serving as a first network and a second network, and a read code,
When the external server receives the MAC address acquired from the reading code, the specified packet is transmitted to the MAC address acquired from the external server, and the specified packet transmitted from the external server is received. Is configured to connect the signal interface dedicated to the first network and the recognized physical port for the first network to one of the physical ports as a physical port for the first network. A relay device comprising a processor.
WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識し、 When a magic packet is received from an external line termination terminal equipped with a WoL function, the physical port connected to the external line termination terminal is recognized as a physical port for the first network,
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、ことを特徴とする請求項4又は5に記載の中継装置。6. The relay apparatus according to claim 4, wherein the relay apparatus is configured to connect a signal interface dedicated to the first network and a recognized physical port for the first network.
複数の物理ポートのうちの未使用の物理ポートを第1及び第2のネットワークと動作可能な状態としておく処理と、
複数の物理ポートのいずれかに端末が接続されると、
前記接続を自動検出して複数の物理ポートに対してリクエストパケットを送出する処理と、
送出したリクエストパケットに対するレスポンスがあった際には、複数の物理ポートのうちのレスポンスを受け付けた物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理の前に、前記接続を検出した相手端末にIPアドレスの割り当てを試みるネゴシエーションを実施し、ネゴシエーションが完了した際には、当該物理ポートを第2のネットワーク用の物理ポートとして認識し、第2のネットワーク専用である信号インタフェースと、認識された第2のネットワーク用の物理ポートとを接続するように設定する処理と、
を中継装置に実行させることを特徴とする制御プログラム。 In a control program for a relay device having a plurality of physical ports also used for the first network and the second network,
A process of setting an unused physical port among a plurality of physical ports to be operable with the first and second networks;
When a terminal is connected to one of multiple physical ports,
A process of sending a request packet to a plurality of physical ports the connection automatically detected,
When there is a response to the transmitted request packet, a process of recognizing a physical port that has received a response among a plurality of physical ports as a physical port for the first network;
Negotiation that attempts to assign an IP address to the partner terminal that detected the connection before the process of setting to connect the signal interface dedicated to the first network and the recognized physical port for the first network. When the negotiation is completed, the physical port is recognized as a physical port for the second network, the signal interface dedicated to the second network, and the recognized physical port for the second network Processing to set to connect with,
A control program for causing a relay device to execute.
読取コードから取得したMACアドレスを外部のサーバが受信すると、当該外部のサーバから取得したMACアドレス宛に指定パケットを送信する処理と、
外部のサーバから送信された指定パケットを受信した複数の物理ポートのうちのいずれかの物理ポートを第1のネットワーク用の物理ポートとして認識する処理と、
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する処理と、を中継装置に実行させることを特徴とする制御プログラム。 In a control program for a relay device having a plurality of physical ports also serving as a first network and a second network, and a read code,
When an external server receives the MAC address acquired from the reading code, a process of transmitting a designated packet to the MAC address acquired from the external server;
Processing for recognizing one of the plurality of physical ports that have received the designated packet transmitted from the external server as a physical port for the first network;
A control program for causing a relay device to execute a process of setting a signal interface dedicated to a first network and a recognized physical port for the first network to be connected.
WoL機能を搭載する外部の回線終端端末からマジックパケットの受信があると、外部の回線終端端末と接続している物理ポートを第1のネットワーク用の物理ポートとして認識し、 When a magic packet is received from an external line termination terminal equipped with a WoL function, the physical port connected to the external line termination terminal is recognized as a physical port for the first network,
第1のネットワーク専用である信号インタフェースと、認識された第1のネットワーク用の物理ポートとを接続するように設定する、Set to connect the signal interface dedicated to the first network and the recognized physical port for the first network;
ことを中継装置に実行させることを特徴とする請求項7又は8に記載の制御プログラム。The control program according to claim 7 or 8, wherein the relay apparatus is caused to execute this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013008197A JP6052876B2 (en) | 2013-01-21 | 2013-01-21 | Relay device, control method thereof, and control program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013008197A JP6052876B2 (en) | 2013-01-21 | 2013-01-21 | Relay device, control method thereof, and control program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014140106A JP2014140106A (en) | 2014-07-31 |
JP6052876B2 true JP6052876B2 (en) | 2016-12-27 |
Family
ID=51416613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013008197A Active JP6052876B2 (en) | 2013-01-21 | 2013-01-21 | Relay device, control method thereof, and control program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6052876B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6851708B2 (en) * | 2014-08-28 | 2021-03-31 | 株式会社アイ・オー・データ機器 | Network system and network method |
CN107423974A (en) * | 2017-08-15 | 2017-12-01 | 阿里巴巴集团控股有限公司 | Intellectual broadcast method and apparatus |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003023666A (en) * | 2001-07-06 | 2003-01-24 | Ntt Docomo Inc | Information distribution system, call-over processing system, physical distribution management system, information distributor, mobile terminal, information reader, information distribution method, information access method and information distribution program |
US7280547B2 (en) * | 2002-12-16 | 2007-10-09 | Microsoft Corporation | Dynamic WAN port detection |
JP3821783B2 (en) * | 2003-01-28 | 2006-09-13 | Necアクセステクニカ株式会社 | Connection device attribute automatic discrimination method and PPP authentication-compatible broadband router implementing this method |
KR101073735B1 (en) * | 2003-04-15 | 2011-10-13 | 톰슨 라이센싱 | Method and apparatus for router port configuration |
JP2006093751A (en) * | 2004-09-21 | 2006-04-06 | Hitachi Ltd | Wan/lan connection automatic control apparatus, wan/lan connection method, and echo server |
EP1892883A1 (en) * | 2006-08-23 | 2008-02-27 | Thomson Telecom Belgium | Method and device for identifying and selecting an interface to access a network |
WO2014056135A1 (en) * | 2012-10-08 | 2014-04-17 | 华为终端有限公司 | Port setting method, routing device, and computer program product |
-
2013
- 2013-01-21 JP JP2013008197A patent/JP6052876B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014140106A (en) | 2014-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8856290B2 (en) | Method and apparatus for exchanging configuration information in a wireless local area network | |
US9503957B2 (en) | Low cost mesh network capability | |
CN104753697B (en) | A kind of method, equipment and system controlling the automatic beginning of the network equipment | |
JP4354294B2 (en) | Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet | |
CN101060493B (en) | A method of private network user access the server in a private network through domain name | |
EP2339792B1 (en) | Method for accessing USB device attached to home gateway, home gateway and terminal | |
EP2104317B1 (en) | Information processing unit, information playback unit, information processing method, information playback method, information processing system and program | |
CN102025792B (en) | Router and IP address setting method thereof | |
CN104243210A (en) | Method and system for remotely having access to administrative web pages of routers | |
EP2530900A2 (en) | Network security parameter generation and distribution | |
WO2014161478A1 (en) | Switching method for network interfaces, access device and computer storage medium | |
JP2003337772A (en) | Device for providing remote control service through communication network, system using the same, and method therefor | |
CN107809386B (en) | IP address translation method, routing device and communication system | |
EP2592782B1 (en) | Portable terminal receiving remote support, remote support method, program, operator system, operator server, and operator terminal for remote support | |
JP6665190B2 (en) | Network sharing implementation method and apparatus | |
JP4793739B2 (en) | Wireless LAN device, wireless LAN master / slave switching method, program for wireless LAN device | |
JP6052876B2 (en) | Relay device, control method thereof, and control program thereof | |
CN103607333A (en) | Local area network port proxy method for port proxy server | |
JP2006013643A (en) | Communication protocol conversion cradle, address conversion method used for same, and program thereof | |
CN113132218A (en) | Home gateway access method, device, system processor and storage medium | |
JP2003283536A (en) | Portable router unit | |
CN103856509A (en) | Method for utilizing cloud storage card to transmit image information and device thereof | |
US9787805B2 (en) | Communication control system and communication control method | |
JP5721184B2 (en) | Electronic device control system and electronic device control method | |
KR101002142B1 (en) | Method for providing information service between private IP network and authorization IP network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20140731 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20151204 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20151217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160809 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160817 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161014 |
|
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: 20161101 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161124 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6052876 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |