JP2015053611A - Relay device, communication system, information processing method, and program - Google Patents
Relay device, communication system, information processing method, and program Download PDFInfo
- Publication number
- JP2015053611A JP2015053611A JP2013185597A JP2013185597A JP2015053611A JP 2015053611 A JP2015053611 A JP 2015053611A JP 2013185597 A JP2013185597 A JP 2013185597A JP 2013185597 A JP2013185597 A JP 2013185597A JP 2015053611 A JP2015053611 A JP 2015053611A
- Authority
- JP
- Japan
- Prior art keywords
- message
- relay device
- resource
- communication device
- relay
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、中継装置の処理負荷を低減させることが可能な中継装置、通信システム、情報処理方法及びプログラムに関する。 The present invention relates to a relay device, a communication system, an information processing method, and a program capable of reducing the processing load of the relay device.
近年、ネットワークの普及によりパーソナルコンピュータだけでなく携帯電話や電子機器等、様々なものがネットワークに接続出来るようになってきた。それに伴い、電子機器等を相互連携して利用する環境は、オフィスユースはもちろんのこと、今まで単独で用いられてきた家電製品やその他の電器製品もネットワークに繋がり、ホームユースにも及ぶようになってきた。
ネットワークに接続する各種機器の接続容易性、設定容易性がとりわけ求められる。
このような要求に応えることができるネットワーク技術の一つに、ユニバーサルプラグアンドプレイ(UPnP:Universal Plug and Play。以下、UPnPという。)と呼ばれるものが存在する。UPnPは一つのホームネットワーク内で動作するプロトコルであるが、このような閉じたネットワーク内で動作するプロトコルを、インターネット越しの遠隔拠点間のような上位のネットワークでも動作可能にするための技術が存在する。
In recent years, with the widespread use of networks, various devices such as mobile phones and electronic devices as well as personal computers can be connected to the network. As a result, the environment where electronic devices are used in cooperation with each other is not only for office use, but also home appliances and other electrical appliances that have been used alone until now are connected to the network, so that they can also be used for home use. It has become.
In particular, easy connection and easy setting of various devices connected to the network are required.
One of the network technologies that can meet such demands is called Universal Plug and Play (UPnP: Universal Plug and Play, hereinafter referred to as UPnP). UPnP is a protocol that operates within a single home network, but there is a technology that enables such a protocol that operates within a closed network to operate in a higher-level network such as between remote sites over the Internet. To do.
特許文献1に記載のシステムは、直接、通信し合うことのできない二つのネットワーク間にリバースプロキシ装置を配置し、リバースプロキシ装置が二つのネットワーク間のデータを中継することで、ネットワーク間のデータのやりとりを可能にしている。
特許文献2に記載のシステムでは、直接通信し合うことのできない二つのネットワーク内に存在する装置の情報を、各ネットワーク内に存在する互いに通信可能な接続装置が中継する。この接続装置が他のネットワーク宛てのデータを中継することで、ネットワーク間のデータの送受信を可能にしている。
UPnPの使用方法を規定し、相互接続性を高めるガイドラインをDLNA(Digital Living Network Alliance)が規定している。その中でコンテンツの閲覧や印刷をコントローラ、コンテンツ提供装置、出力装置の三者間で行う3Boxモデルのユースケースが多数紹介されている。
The system described in
In the system described in Patent Document 2, information on devices existing in two networks that cannot directly communicate with each other is relayed by connection devices that can communicate with each other in each network. This connection device relays data addressed to other networks, thereby enabling data transmission / reception between networks.
DLNA (Digital Living Network Alliance) defines guidelines for defining how to use UPnP and improving interoperability. Among them, a number of 3Box model use cases have been introduced in which content browsing and printing are performed between a controller, a content providing device, and an output device.
同一ネットワーク内にコンテンツ提供装置と出力装置とが存在し、他のネットワーク内にコントローラが存在する場合に、出力装置はコンテンツ提供装置から直接、コンテンツを取得することも可能である(第一の経路)。一方、特許文献1記載のリバースプロキシや特許文献2記載の接続装置等の中継装置を経由してコンテンツを取得することもできる(第二の経路)。従来技術では、この二つの経路のうち、どちらを選択するかを制御する技術は存在していなかった。
そのため、直接、コンテンツを取得できるような場合でも、中継装置を経由してコンテンツを取得することにより、中継装置に処理負荷がかかる問題があった。
When the content providing device and the output device exist in the same network and the controller exists in another network, the output device can also acquire the content directly from the content providing device (first route). ). On the other hand, content can also be acquired via a relay device such as a reverse proxy described in
Therefore, even when the content can be directly acquired, there is a problem that processing load is imposed on the relay device by acquiring the content via the relay device.
本発明はこのような問題点に鑑みなされたもので、中継装置の処理負荷を低減させることを目的とする。 The present invention has been made in view of such problems, and an object thereof is to reduce the processing load of the relay apparatus.
そこで、本発明は、中継装置であって、第1の通信装置よりメッセージを受信する受信手段と、前記受信手段により受信された前記メッセージの送信先の第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに中継装置を経由せずに直接、アクセス可能か否か判定する判定手段と、前記判定手段により中継装置を経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が中継装置を経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換手段と、を有する。 Therefore, the present invention includes a relay device that includes a receiving unit that receives a message from the first communication device, and a second communication device that is a destination of the message received by the receiving unit. A determination unit that determines whether or not the resource identified by the resource identification information can be directly accessed without going through the relay device, and the determination unit determines that the resource can be directly accessed without going through the relay device A conversion unit that converts the resource identification information included in the message so that the second communication device can acquire the resource without going through a relay device.
本発明によれば、中継装置の処理負荷を低減させることができる。 According to the present invention, the processing load of the relay device can be reduced.
以下、本発明の実施形態について図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<<実施形態1>>
<システム全体の構成図>
図1は、通信システムのシステム構成の一例を示す図である。
通信システムは、中継装置10と、コントローラ11と、出力装置12と、コンテンツ提供装置13と、を含む。中継装置10と、コントローラ11と、はネットワーク14を介して通信可能に接続されている。また、中継装置10と、出力装置12と、コンテンツ提供装置13と、はネットワーク15を介して通信可能に接続されている。
中継装置10の有する機能については後述する図2を用いて説明する。中継装置10のより具体的な例としては、ALG(Application Level Gateway)サーバ装置、リバースプロキシ装置、アクセスポイント装置等が挙げられるが、後述のモジュール構成を満たすものであればこれに限定されない。
コントローラ11は、コンテンツ提供装置13内のコンテンツのメタ情報を取得し、そのコンテンツのメタ情報から抽出したコンテンツの所在情報(URL等)を記載した出力指示メッセージを出力装置12に送信する機能を有する。コントローラ11のより具体的な例としては、カメラ装置、ビデオカメラ装置、スマートフォン装置、PC装置、携帯電話等が挙げられるが、前記機能を満たすものであればこれに限定されない。
<<
<System configuration diagram>
FIG. 1 is a diagram illustrating an example of a system configuration of a communication system.
The communication system includes a
The functions of the
The
出力装置12は、コントローラ11から送信された出力指示メッセージに従って、コンテンツを取得し、出力を行う機能を有する。出力装置12のより具体的な例としては、テレビ装置、プリンタ装置、プロジェクター装置、スマートフォン装置、PC装置、携帯電話等が挙げられるが、前記機能を満たすものであればこれに限定されない。
コンテンツ提供装置13は、コントローラ11からの要求に応じてコンテンツのメタ情報を提供し、出力装置12の要求に応じてコンテンツを提供する機能を有する。コンテンツ提供装置13のより具体的な例としては、NAS装置、PC装置、カメラ装置、ビデオカメラ装置、スマートフォン装置、携帯電話等が挙げられるが、前記機能を満たすものであればこれに限定されない。
コントローラ11は、第1の通信装置の一例である。出力装置12は、第2の通信装置の一例である。
The
The
The
ネットワーク14、15は、本実施形態におけるホームネットワークとしての有線LAN(Local Area Network)、又は無線LAN(Wireless LAN)である。なお、本実施形態ではホームネットワークとして有線LAN、又は無線LANを利用しているが、これに限らず、WAN(Wide Area Network)、アドホックネットワーク、Bluetooth(登録商標)、Zigbee(登録商標)、UWB等でもよい。上述したようにネットワーク14を介して中継装置10と、コントローラ11と、が通信可能である。また、上述したようにネットワーク15を介して中継装置10と、出力装置12、コンテンツ提供装置13と、が通信可能である。
The
本実施形態では、より具体的な例を用いて説明する場合、中継装置10をインターネット上に存在するALGサーバと仮定する。またコントローラ11をDLNAの+PR2+機能を有する装置と仮定する。また出力装置12をDLNAのDMPr機能を有する装置と仮定する。またコンテンツ提供装置をDLNAのDMS機能を有する装置と仮定する。これらの装置のもと、より具体的な例を用いて説明を行う場合は、DLNAの3Boxプリントを遠隔拠点間で実行する場合を想定して説明を行う。
DLNAの3Boxプリントでは、コントローラ(+PR2+)11がDMS(コンテンツ提供装置)より印刷したいコンテンツのURLを取得し、そのURLを記載したXHTML文書を生成する。このXHTML文書のURLをコントローラ11がDMPr(出力装置12)に送信する。DMPrは、そのURLにアクセスすることで、XHTML文書をコントローラ11から取得する。更にDMPrは、XHTML文書に記載されているコンテンツのURLにアクセスすることで、DMSからコンテンツを取得し、印刷を行う。
In this embodiment, when it demonstrates using a more specific example, the
In the DLNA 3 Box print, the controller (+ PR2 +) 11 acquires the URL of the content to be printed from the DMS (content providing apparatus), and generates an XHTML document describing the URL. The
<中継装置のモジュール構成図>
図2は、中継装置のモジュール構成の一例を示す図である。
ネットワーク通信制御部201は、ネットワーク14、15に接続するための通信制御を行う。
メッセージ送信部202は、ネットワーク通信制御部201を利用して、ネットワーク14を通してコントローラ11に、ネットワーク15を通して出力装置12及びコンテンツ提供装置13に対して中継するメッセージを送信する。
メッセージ受信部203は、ネットワーク通信制御部201を利用して、ネットワーク14を通してコントローラ11から、ネットワーク15を通して出力装置12及びコンテンツ提供装置13から送信されてくるメッセージを受信する。
制御部204は、中継装置10の全体の制御を行う。制御部204は、メッセージ送信部202、メッセージ受信部203、変換情報管理部205、メッセージ変換部206の各モジュールを管理、制御する。
変換情報管理部205は、メッセージ受信部203で受信したメッセージを変換する際の変換規則の情報を保持する。
メッセージ変換部206は、変換情報管理部205の保持する変換規則の情報を基に、制御部204によって渡されたメッセージ中の変換対象の変換処理を行う。メッセージ変換部206のより具体的な処理については図3、図5、図6を用いて後述する。
メッセージ解析部207は、メッセージ受信部203で受信したメッセージを解析し、変換対象となる箇所を抽出する。抽出されたデータは、制御部204によってメッセージ変換部206に渡される。
<Relay device module configuration diagram>
FIG. 2 is a diagram illustrating an example of a module configuration of the relay apparatus.
The network
The
The
The
The conversion
The
The
図2のモジュール構成は、ハードウェアとして中継装置10に実装されてもいいし、ソフトウェアとして中継装置10に実装されてもいい。図2のモジュール構成がソフトウェアとして中継装置10に実装される場合、中継装置10は、CPUやメモリ、ネットワークI/F等をハードウェア構成として有する。そして、CPUがメモリに記憶されているプログラムに基づき処理を実行することによって、図2の中継装置10のソフトウェア構成(モジュール構成)や後述するフローチャート等に係る処理が実現される。
また、例えば、コントローラ11や、出力装置12、コンテンツ提供装置13も各々CPUやメモリを有する。そして、各装置のCPUが各装置のメモリに記憶されているプログラムに基づき処理を実行することによって各装置の機能や後述するシーケンス図に係る処理が実現される。
The module configuration of FIG. 2 may be implemented in the
For example, the
<メッセージ変換処理>
図3は、メッセージ変換部206で行われるメッセージ変換処理の一例を示すフローチャートである。
説明を簡素化するため、より具体的なメッセージとして、後述する図5のXHTML文書を取り上げて以降の説明を行う。
中継装置10内のメッセージ受信部203が受信したメッセージは、制御部204によってメッセージ解析部207に渡され、変換対象が抽出される。変換対象の抽出方法については後述する図5、図6を用いて説明を行う。この例では変換対象として出力するコンテンツのURLが抽出される。
抽出された変換対象は制御部204によってメッセージ変換部206に渡される。これにより、S300のメッセージ変換処理が起動される。
メッセージ変換処理が起動されると、S301において、メッセージ変換部206は、メッセージの送信先となる装置が、変換対象が示すリソースに直接アクセス可能であるかどうかの判定を行う(第1の判定)。判定方法の詳細については後述する図5、図6を用いて説明を行う。
S301で判定が否となった場合、メッセージ変換部206は、変換を行わずに図3に示す処理を終了する。
<Message conversion processing>
FIG. 3 is a flowchart illustrating an example of message conversion processing performed by the
In order to simplify the explanation, the XHTML document shown in FIG.
The message received by the
The extracted conversion target is passed to the
When the message conversion process is activated, in S301, the
If the determination is NO in S301, the
S301で判定が正となった場合、メッセージ変換部206は、処理をS302に進める。
S302において、メッセージ変換部206は、リソースの取得に際して中継装置10を経由させるか否かの判定を行う(第2の判定)。判定が否の場合、メッセージ変換部206は、処理をS303に進める。
S303において、メッセージ変換部206は、制御部204を介して変換情報管理部205の情報を取得し、取得した情報を基に、リソース識別子の変換を行い、図3に示す処理を終了する。変換のより具体的な方法については後述する図5、図6を用いて説明を行う。リソース識別子は、リソース識別情報の一例である。
判定が正の場合、メッセージ変換部206は、変換処理を行わずに、そのまま、図3に示す処理を終了する。
If the determination is positive in S301, the
In S302, the
In step S303, the
If the determination is positive, the
S302において、メッセージ変換部206が中継装置10を経由させるか否かの判定処理としては、複数の方法がある。
例えば、メッセージ変換部206は、S302の判定において必ず正とする処理を実行してもよい。これは、メッセージの送信先となる装置が、変換対象が示すリソースに直接アクセス可能である場合、すべて中継装置10を経由させないとする処理である。このような処理によれば、中継装置10の処理負荷の軽減が図れる。
また、メッセージ変換部206は、変換対象が示すリソースの種別や内容に応じて、中継装置10を経由させるものとさせないものとを切り替える処理としてもよい。例えば、S302において、メッセージ変換部206は、静止画のような小容量なリソース(設定された容量以下のリソース)は中継装置10を経由させる判定してもよい。一方、S302において、メッセージ変換部206は、動画のような大容量なリソース(設定された容量より大きいリソース)は経由させないと判定してもよい。更に、S302において、メッセージ変換部206は、中継装置10上でリソースの変換や、通信内容の監視等を行いたい場合は、敢えてそのリソースを中継装置10経由で取得させるように判定してもよい。つまり、メッセージ変換部206は、中継装置10にリソースの変換や、通信内容の監視を行う機能が実装されているか否かを判定する。そして、メッセージ変換部206は、中継装置10にリソースの変換や、通信内容の監視を行う機能が実装されている場合は、リソースを中継装置10経由で取得させるようにしてもよい。例えば、メッセージ変換部206は、中継装置10のメモリ等に設定されている設定ファイルに記載の機能(例えば、アプリケーション又はWebサービス)が中継装置10で動作しているか否かを判定する。メッセージ変換部206は、設定ファイルに記載の機能が中継装置10で動作している場合は、リソースを中継装置10経由で取得させるよう判断する。また、メッセージ変換部206は、リソースの種別や内容と、中継装置10に実装されている機能と、に基づいて、リソースを経由させるか否かを判定するようにしてもよい。
このように、メッセージ変換部206は、メッセージの送信先となる装置が、変換対象が示すリソースに直接アクセス可能であるか否かに応じて、そのリソース取得の際に、中継装置10を経由させるか否かを切り替えることができる。また、中継装置10の処理負荷軽減や、リソースの内容に応じた切り替え、通信内容の監視の是非に応じた切り替え等が可能になる。
In S <b> 302, there are a plurality of methods for determining whether or not the
For example, the
Further, the
As described above, the
<シーケンス図>
以下、システムにおけるメッセージの流れを示すシーケンス図を用いて本実施形態の詳細な説明を行う。
HomeGateway(以下、HGWという)1(後述する図5のHGW1 40)とHGW2(後述する図5のHGW2 41)とはグローバルアドレスを有する。HGW1 40は中継装置10とコントローラ11との間の通信をブリッジする。HGW2 41は中継装置10と出力装置12及びコンテンツ提供装置13との間の通信をブリッジする。
前提として、中継装置10の変換情報管理部205には、既に変換情報が登録されており、この変換情報に従って中継装置10はメッセージの変換を行う。変換情報の内容は、図4に示すような変換テーブル600である。左列が変換対象となるURL中の文字列を示し(以下、プリフィックスという)、右列が変換後の文字列を示す。図4右列のHGW1、HGW2はそれぞれHGW1とHGW2とを識別する識別子を示す(例えば、グローバルアドレスである)。また図4右列のController1、Printer1、Server1はそれぞれのコントローラ11、出力装置12、コンテンツ提供装置13へメッセージをブリッジさせるための識別子を示す(例えば、ポート番号である)。
変換テーブルは、変換データの一例である。
<Sequence diagram>
Hereinafter, this embodiment will be described in detail using a sequence diagram showing a message flow in the system.
HomeGateway (hereinafter referred to as HGW) 1 (
As a premise, conversion information is already registered in the conversion
The conversion table is an example of conversion data.
図5は、出力装置12が中継装置10を経由せずにコンテンツ提供装置13からコンテンツを取得する情報処理の一例を示すシーケンス図である。
コントローラ11は、M400にて印刷処理の開始を意味するUPnPのPrintEnhanced:1サービスにおけるCreateURIJobアクションを、中継装置10あてにP1のプリフィックスを付けて送信する。このとき、コントローラ11は、XHTML文書のURLを引数として入力する。
中継装置10は、受信したCreateURIJobアクションのメッセージをM401にて変換する。中継装置10は、ここでは変換テーブル600に従って、プリフィックスP1をキーにメッセージをHGW2経由で出力装置12に転送すべきことがわかる。そのため、中継装置10は、メッセージの転送先をHGW2のアドレスに、メッセージのリクエストラインURLを出力装置12のアドレスに変換する。このとき、中継装置10は、更にXHTML文書のURLも変換テーブル600に従って、Controller1からProxy/C1に変換する。変換されたメッセージはM402で出力装置12に送信される。
FIG. 5 is a sequence diagram illustrating an example of information processing in which the
The
The
出力装置12は、M402でメッセージを受信する。すると、出力装置12は、メッセージに記載されているURL宛にM403でXHTML文書の取得を行う。
中継装置10は、M403でメッセージを受信する。すると、中継装置10は、M404において、メッセージに含まれるプリフィックスC1をキーに、メッセージをHGW1経由でコントローラ11に転送すべきことがわかる。このため、中継装置10は、メッセージの転送先をHGW1のアドレスに、メッセージのリクエストラインURLをコントローラ11のアドレスに変換する。変換されたメッセージはM405で出力装置12に送信される。
中継装置10は、M406にて要求したXHTML文書を取得する。取得したXHTML文書中にはコンテンツ提供装置13のコンテンツである画像1を示すURLがプリフィックスS1で変換された状態で記載されているものとする。これはコントローラ11が予めコンテンツ提供装置13のコンテンツのメタ情報を中継装置10経由で取得することにより可能である。
The
The
The
中継装置10は、M407にて、M406で受信したXHTML文書の変換を行う。中継装置10は、プリフィックスS1をキーにXHTML文書中のURLをコンテンツ提供装置13のアドレスに変換する。変換したXHTML文書はM408にて出力装置12に送信される。
出力装置12は、M409にて、M408で受信したXHTML文書のURLにアクセスし、印刷するコンテンツの取得要求を行う。
コンテンツ提供装置13は、M410にて、要求されたコンテンツを出力装置12宛てに送信する。
In M407, the
In M409, the
The
図6は、出力装置12が中継装置10を経由させてコンテンツ提供装置13からコンテンツを取得する情報処理の一例を示すシーケンス図である。
M500〜M506の処理はM400〜M406の処理と同じであるため説明を省略する。
M507において、XHTML文書の変換を行う際に、図3のS302の判定が正となるため、変換が行われずに、M508で送信されるXHTML文書中の画像1のURLはProxy/S1のままとなる。これにより、M509で出力装置12は中継装置10宛てに画像1の要求を行う。
中継装置10は、M509で画像1の要求に係るメッセージを受信すると、M510において、プリフィックスS1をキーにメッセージをHGW2経由でコンテンツ提供装置13に転送すべきことがわかる。このため、中継装置10は、メッセージの転送先をHGW2のアドレスに、メッセージのリクエストラインURLをコンテンツ提供装置13のアドレスに変換する。変換されたメッセージはM511でコンテンツ提供装置13に送信される。
コンテンツ提供装置13は、M511でメッセージを受信すると、M512、M513において、画像1のデータを、中継装置10を経由して出力装置12へ送信する。
FIG. 6 is a sequence diagram illustrating an example of information processing in which the
Since the processing of M500 to M506 is the same as the processing of M400 to M406, description thereof is omitted.
In M507, when the XHTML document is converted, the determination in S302 of FIG. 3 is positive. Therefore, the conversion is not performed, and the URL of the
When the
When the
本実施形態で説明したように、中継装置10が、XHTML文書中のコンテンツのURLを変換するかしないかによって、出力装置12がコンテンツ提供装置13からコンテンツを取得する際の通信経路を切り替えることができる。
As described in the present embodiment, the communication path when the
<<実施形態2>>
実施形態1ではDLNAの3Boxプリントを例として説明したが、実施形態2として、DLNAの3Boxレンダリングを例に説明を行う。この場合、コントローラ11は、DLNAのDMC(Digital Media Controller)となる。そして、出力装置12は、DLNAのDMR(Digital Media Renderer)となる。
基本的な処理の流れは実施形態1と同じであるが、異なる点についてのみ記述する。
3Boxレンダリングでは、M400にて、コントローラ11は、閲覧の開始を意味するUPnPのAVTransport:1サービスにおけるSetAVTransportURIアクションを送信する。このとき、コントローラ11は、閲覧したいコンテンツ提供装置13内の画像1のURLを引数として入力する。コントローラ11は、このURLをプリフィックスS1で変換された状態で記載する。
その後、コントローラ11からのAVTransport:1サービスにおけるPlayアクションをきっかけに、出力装置12は、指定されたURLからメディアを取得し、表示する。ここで、M400にて中継装置10が受信した画像1のURLを、中継装置10が変換する場合、出力装置12は、画像1をコンテンツ提供装置13から直接取得するようになる。一方、M400にて中継装置10が受信した画像1のURLを、中継装置10が変換しない場合、出力装置12は、画像1を、中継装置10を経由してコンテンツ提供装置13から取得するようになる。
<< Embodiment 2 >>
In the first embodiment, the DLNA 3 Box print is described as an example. However, as the second embodiment, the DLNA 3 Box rendering is described as an example. In this case, the
The basic processing flow is the same as that of the first embodiment, but only different points will be described.
In 3Box rendering, at M400, the
Thereafter, triggered by a Play action in the AVTransport: 1 service from the
<<その他の実施形態>>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<< Other Embodiments >>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.
以上、上述した各実施形態によれば、中継が必要なデータのみを中継することで、中継装置の処理負荷を低減させることができる。 As mentioned above, according to each embodiment mentioned above, the processing load of a relay apparatus can be reduced by relaying only the data which needs a relay.
以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.
201 ネットワーク通信制御部、202 メッセージ送信部、203 メッセージ受信部、204 制御部、205 変換情報管理部、206 メッセージ変換部、207 メッセージ解析部 201 Network communication control unit, 202 Message transmission unit, 203 Message reception unit, 204 Control unit, 205 Conversion information management unit, 206 Message conversion unit, 207 Message analysis unit
Claims (8)
前記受信手段により受信された前記メッセージの送信先の第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに中継装置を経由せずに直接、アクセス可能か否か判定する判定手段と、
前記判定手段により中継装置を経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が中継装置を経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換手段と、
を有する中継装置。 Receiving means for receiving a message from the first communication device;
Determination of whether or not the second communication device that is the transmission destination of the message received by the receiving unit can directly access the resource identified by the resource identification information included in the message without going through the relay device Means,
If it is determined by the determination means that direct access is possible without going through the relay device, the message is sent to the message so that the second communication device can acquire the resource without going through the relay device. Conversion means for converting the resource identification information included;
A relay device.
前記第1の通信装置は、
前記第2の通信装置あてのメッセージを前記中継装置に送信する送信手段を有し、
前記中継装置は、
前記第1の通信装置より前記メッセージを受信する受信手段と、
前記受信手段により受信された前記メッセージの送信先の前記第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに前記中継装置を経由せずに直接、アクセス可能か否か判定する判定手段と、
前記判定手段により前記中継装置を経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が前記中継装置を経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換手段と、
を有し、
前記第2の通信装置は、
前記メッセージを、前記中継装置を介して受信する受信手段と、
前記受信手段により受信された前記メッセージに含まれる、前記変換手段で変換された前記リソース識別情報に基づいて、前記リソース識別情報で識別される前記リソースを、前記中継装置を経由せずに取得する取得手段と、
を有する通信システム。 A communication system including a first communication device, a second communication device, and a relay device,
The first communication device is:
Transmission means for transmitting a message addressed to the second communication device to the relay device;
The relay device is
Receiving means for receiving the message from the first communication device;
Determining whether or not the second communication device to which the message received by the receiving means can directly access the resource identified by the resource identification information included in the message without going through the relay device Determination means to perform,
When it is determined by the determination means that direct access is possible without going through the relay device, the second communication device can acquire the resource without going through the relay device. Conversion means for converting the resource identification information included in the message;
Have
The second communication device is:
Receiving means for receiving the message via the relay device;
Based on the resource identification information converted by the conversion means included in the message received by the reception means, the resource identified by the resource identification information is acquired without going through the relay device. Acquisition means;
A communication system.
第1の通信装置よりメッセージを受信する受信ステップと、
前記受信ステップにより受信された前記メッセージの送信先の第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに前記中継装置を経由せずに直接、アクセス可能か否か判定する第1の判定ステップと、
前記第1の判定ステップにより前記中継装置を経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が前記リソースを取得する際、前記中継装置を経由させるか否かを判定する第2の判定ステップと、
前記第2の判定ステップにより前記中継装置を経由させないと判定された場合、前記第2の通信装置が前記中継装置を経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換ステップと、
を含む情報処理方法。 An information processing method executed by a relay device,
A receiving step of receiving a message from the first communication device;
It is determined whether or not the second communication device that is the transmission destination of the message received in the reception step can directly access the resource identified by the resource identification information included in the message without passing through the relay device. A first determination step;
Whether or not the second communication device acquires the resource when the first determination step determines that it is directly accessible without going through the relay device. A second determination step for determining
If the second determination step determines not to pass through the relay device, the second communication device includes the message so that the resource can be acquired without passing through the relay device. A conversion step for converting the resource identification information;
An information processing method including:
前記第1の通信装置が、前記第2の通信装置あてのメッセージを前記中継装置に送信する送信ステップと、
前記中継装置が、前記第1の通信装置より前記メッセージを受信する受信ステップと、
前記中継装置が、前記受信ステップにより受信された前記メッセージの送信先の前記第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに前記中継装置を経由せずに直接、アクセス可能か否か判定する第1の判定ステップと、
前記中継装置が、前記第1の判定ステップにより前記中継装置を経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が前記リソースを取得する際、前記中継装置を経由させるか否かを判定する第2の判定ステップと、
前記中継装置が、前記第2の判定ステップにより前記中継装置を経由させないと判定された場合、前記第2の通信装置が前記中継装置を経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換ステップと、
前記第2の通信装置が、前記メッセージを、前記中継装置を介して受信する受信ステップと、
前記第2の通信装置が、前記受信ステップにより受信された前記メッセージに含まれる、前記変換ステップで変換された前記リソース識別情報に基づいて、前記リソース識別情報で識別される前記リソースを、前記中継装置を経由せずに取得する取得ステップと、
を含む情報処理方法。 An information processing method in a communication system including a first communication device, a second communication device, and a relay device,
A transmitting step in which the first communication device transmits a message addressed to the second communication device to the relay device;
A receiving step in which the relay device receives the message from the first communication device;
The relay device directly accesses the resource identified by the resource identification information included in the message, without passing through the relay device, the second communication device that is the transmission destination of the message received in the receiving step. A first determination step for determining whether it is possible;
When it is determined by the first determination step that the relay device is directly accessible without passing through the relay device, the relay device is configured to acquire the resource when the second communication device acquires the resource. A second determination step for determining whether or not to pass through;
When it is determined in the second determination step that the relay device does not pass through the relay device, the second communication device can acquire the resource without passing through the relay device. A conversion step of converting the resource identification information included in the message;
A receiving step in which the second communication device receives the message via the relay device;
The second communication device transmits the resource identified by the resource identification information based on the resource identification information converted by the conversion step, included in the message received by the reception step, to the relay An acquisition step of acquiring without going through the device;
An information processing method including:
第1の通信装置よりメッセージを受信する受信ステップと、
前記受信ステップにより受信された前記メッセージの送信先の第2の通信装置が前記メッセージに含まれるリソース識別情報で識別されるリソースに前記コンピュータを経由せずに直接、アクセス可能か否か判定する判定ステップと、
前記判定ステップにより前記コンピュータを経由せずに直接、アクセス可能であると判定された場合、前記第2の通信装置が前記コンピュータを経由せずとも前記リソースを取得することができるように前記メッセージに含まれる前記リソース識別情報を変換する変換ステップと、
を実行させるためのプログラム。 On the computer,
A receiving step of receiving a message from the first communication device;
Determining whether or not the second communication device to which the message received in the reception step can directly access the resource identified by the resource identification information included in the message without going through the computer Steps,
If it is determined by the determination step that direct access is possible without going through the computer, the message is sent to the message so that the second communication device can acquire the resource without going through the computer. A conversion step of converting the resource identification information included;
A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013185597A JP6304978B2 (en) | 2013-09-06 | 2013-09-06 | Relay device, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013185597A JP6304978B2 (en) | 2013-09-06 | 2013-09-06 | Relay device, information processing method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015053611A true JP2015053611A (en) | 2015-03-19 |
JP2015053611A5 JP2015053611A5 (en) | 2016-09-01 |
JP6304978B2 JP6304978B2 (en) | 2018-04-04 |
Family
ID=52702324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013185597A Active JP6304978B2 (en) | 2013-09-06 | 2013-09-06 | Relay device, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6304978B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550520B2 (en) | 2020-03-30 | 2023-01-10 | Brother Kogyo Kabushiki Kaisha | Relay server and non-transitory computer-readable recording medium storing computer-readable instructions for relay server for relaying communication between communication device and service providing server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009010912A (en) * | 2007-05-29 | 2009-01-15 | Ntt Docomo Inc | Communication system, server device, and mobile device |
JP2009231974A (en) * | 2008-03-19 | 2009-10-08 | Sony Corp | Information processing unit, information reproducing unit, information processing method, information reproduction method, information processing system, and program |
JP2010103622A (en) * | 2008-10-21 | 2010-05-06 | Ntt Communications Kk | Network system, and method and program for reproducing content |
JP2010239456A (en) * | 2009-03-31 | 2010-10-21 | Nec Access Technica Ltd | Content list transfer system and content list transfer method |
-
2013
- 2013-09-06 JP JP2013185597A patent/JP6304978B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009010912A (en) * | 2007-05-29 | 2009-01-15 | Ntt Docomo Inc | Communication system, server device, and mobile device |
JP2009231974A (en) * | 2008-03-19 | 2009-10-08 | Sony Corp | Information processing unit, information reproducing unit, information processing method, information reproduction method, information processing system, and program |
JP2010103622A (en) * | 2008-10-21 | 2010-05-06 | Ntt Communications Kk | Network system, and method and program for reproducing content |
JP2010239456A (en) * | 2009-03-31 | 2010-10-21 | Nec Access Technica Ltd | Content list transfer system and content list transfer method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550520B2 (en) | 2020-03-30 | 2023-01-10 | Brother Kogyo Kabushiki Kaisha | Relay server and non-transitory computer-readable recording medium storing computer-readable instructions for relay server for relaying communication between communication device and service providing server |
Also Published As
Publication number | Publication date |
---|---|
JP6304978B2 (en) | 2018-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080235358A1 (en) | Proxy Device, Network System, and Communication Method | |
EP3017579B1 (en) | System and device for enabling any network functionality client or server in a html5 application | |
EP2840741B1 (en) | Method and apparatus for using service of home network device based on remote access | |
WO2022262465A1 (en) | Opc ua-based centralized user configuration method and system for time sensitive network | |
KR20150013860A (en) | Clientless cloud computing | |
JP2006236354A (en) | Service framework of home network and control method thereof | |
US9323940B2 (en) | Rights control method and apparatus for digital living network alliance | |
KR20110039148A (en) | Apparatus and method for interfacing between remote user interface server and the third remote user interface client | |
JP2006024197A (en) | Service provision system, service provision method and its program | |
US20090287794A1 (en) | Assisting media servers in determining media profiles | |
CN106570045B (en) | Data operation control method and system and user terminal | |
JP6393475B2 (en) | Communication adapter device, communication system, tunnel communication method, and program | |
JP5142216B2 (en) | Content transmission method and system for transmitting content from terminal in home network to wide area network | |
JP6304978B2 (en) | Relay device, information processing method, and program | |
JP5637115B2 (en) | Network storage system, data operation method in network storage system, and storage device | |
EP3079328B1 (en) | Media resource sharing method, shared server and shared system | |
JP5586689B2 (en) | Home network, device information sharing method between home networks, and home network system | |
JP2008097297A (en) | Communication apparatus, communication method and communication program | |
JP2015201758A (en) | Repeater, communication system, information processing method, and program | |
JP5718454B2 (en) | How to control the functions of devices in your home network | |
KR100632399B1 (en) | UPnP-IEEE1394 device bridge and its method | |
EP2609713B1 (en) | Method and apparatus for sharing memo by using upnp telephony | |
KR101696795B1 (en) | Method and system for providing remote access service to upnp devices using port forwarding | |
JP2017527232A (en) | Method and apparatus for handling interactions between devices | |
JP6008664B2 (en) | Output instruction device, output device, and content output system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160713 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160713 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170613 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170804 |
|
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: 20180206 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180306 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6304978 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |