JP2009284456A5 - - Google Patents

Download PDF

Info

Publication number
JP2009284456A5
JP2009284456A5 JP2008203544A JP2008203544A JP2009284456A5 JP 2009284456 A5 JP2009284456 A5 JP 2009284456A5 JP 2008203544 A JP2008203544 A JP 2008203544A JP 2008203544 A JP2008203544 A JP 2008203544A JP 2009284456 A5 JP2009284456 A5 JP 2009284456A5
Authority
JP
Japan
Prior art keywords
packet
priority
address
domain name
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008203544A
Other languages
Japanese (ja)
Other versions
JP5122399B2 (en
JP2009284456A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2008203544A priority Critical patent/JP5122399B2/en
Priority claimed from JP2008203544A external-priority patent/JP5122399B2/en
Priority to PCT/JP2009/058083 priority patent/WO2009131181A1/en
Priority to CN2009801139837A priority patent/CN102017545A/en
Publication of JP2009284456A publication Critical patent/JP2009284456A/en
Publication of JP2009284456A5 publication Critical patent/JP2009284456A5/ja
Application granted granted Critical
Publication of JP5122399B2 publication Critical patent/JP5122399B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

中継装置、および通信制御装置Relay device and communication control device

本発明は、複数のデータフローを同時に伝送する通信ネットワークにおいて、上記データフローのQoS(Quality of Service)制御を行なう中継装置および通信制御装置に関するものである。 The present invention relates to a relay apparatus and a communication control apparatus that perform QoS (Quality of Service) control of the data flow in a communication network that simultaneously transmits a plurality of data flows.

近年、コンテンツサーバなどのコンテンツ提供装置にて提供される映像や音声などのコンテンツを、IP(Internet Protocol)網やNGN(Next Generation Network)などのアクセスネットワークを介して、ユーザ宅内のテレビやSTB(セットトップボックス)などの受信装置にて受信することができるサービスが提供されている。なお、各装置間のデータの送受信は、パケットの送受信によりデータを運ぶパケット通信にて行われるのが一般的である。ここで、パケットとは、データを所定形式のフレームに組み立て、該フレームに対し、送信先のアドレスなどの各種情報を付加したものである。   In recent years, content such as video and audio provided by a content providing device such as a content server is transmitted via an access network such as an IP (Internet Protocol) network or NGN (Next Generation Network) to a television or STB (STB) in a user's home. A service that can be received by a receiving device such as a set top box) is provided. Note that transmission / reception of data between devices is generally performed by packet communication that carries data by transmission / reception of packets. Here, a packet is data in which data is assembled into a frame of a predetermined format, and various information such as a destination address is added to the frame.

アクセスネットワークからのデータがユーザ宅内に伝送されるとき、該データは一旦、HGW(Home Gateway)などのルータで受信された後、ユーザ宅内にて構築されたLAN(Local Area Network)を介して、テレビやSTBなどの受信装置に送信される。近年、ユーザ宅内にて構築されるLANとして、従来のような、通信媒体となるケーブルを接続して構成するものに代えて、PLC(Power Line Communication:電力線搬送通信)を利用したネットワークの需要が高まっている。PLCは、電力線によってデータ伝送を行なう技術であり、通常のコンセント同士の間での通信が可能である。PLCとEthernet(登録商標)(以降では、単に、Ethernetと表記する)とのブリッジ装置(PLCアダプタ)を、ルータと受信装置とにそれぞれEthernetを介して接続することにより、ルータと受信装置とが離れた場所に配置されていても、PLCアダプタを介してルータと受信装置とが通信可能となり、新たなケーブルを敷設することなく、宅内ネットワークを構築することができる。そのため、通信媒体となるケーブルを接続して構成する従来のLANと比較すると、新たなケーブルを配線することなくネットワークを構築できるという利点がある。また、受信装置を移動させる場合、電源コンセントがある場所であればどこであってもネットワークに接続できるので、移動の自由度が増すという利点がある。   When data from the access network is transmitted to the user's home, the data is once received by a router such as HGW (Home Gateway), and then via a LAN (Local Area Network) built in the user's home, It is transmitted to a receiving device such as a television or STB. In recent years, there has been a demand for a network using PLC (Power Line Communication) instead of a conventional LAN constructed by connecting a cable serving as a communication medium. It is growing. PLC is a technology for data transmission through a power line, and communication between ordinary outlets is possible. By connecting a bridge device (PLC adapter) between a PLC and Ethernet (hereinafter simply referred to as Ethernet) to the router and the receiving device via Ethernet, the router and the receiving device are connected. Even if they are arranged at remote locations, the router and the receiving device can communicate with each other via the PLC adapter, and a home network can be constructed without laying a new cable. Therefore, compared with a conventional LAN configured by connecting a cable serving as a communication medium, there is an advantage that a network can be constructed without wiring a new cable. Further, when the receiving apparatus is moved, there is an advantage that the degree of freedom of movement is increased because it can be connected to the network wherever there is a power outlet.

(QoS技術)
ところで、Webコンテンツの閲覧、メールの送受信、およびFTP(File Transfer Protocol)によるデータ転送などにおける非リアルタイムデータの伝送では、ある程度の伝送遅延やジッタ(伝送遅延のゆらぎ)が発生しても、受信装置でのデータの再生に大きく影響しない。これに対して、映像や音声のようなリアルタイムデータの伝送においては、伝送遅延やジッタは、受信装置での映像や音声の再生の乱れにつながるため、所定の範囲に抑える必要がある。つまり、受信装置が、コンテンツ提供装置から、コンテンツ、特に映像や音声のようなリアルタイム性や連続性を要求されるストリームデータを、高速かつ高品質で受信するためには、各ネットワークにおいて、コンテンツに応じたパケットの伝送品質が適切に確保されていなければならない。
(QoS technology)
By the way, in non-real-time data transmission such as browsing web contents, sending / receiving mail, and data transfer using FTP (File Transfer Protocol), even if a certain amount of transmission delay or jitter (transmission delay fluctuation) occurs, the receiving device Does not significantly affect the playback of data on On the other hand, in the transmission of real-time data such as video and audio, transmission delay and jitter lead to disturbance of video and audio reproduction in the receiving apparatus, and thus must be limited to a predetermined range. In other words, in order for a receiving device to receive content, particularly stream data that requires real-time performance and continuity such as video and audio, from a content providing device at high speed and with high quality, the content is transmitted to each network. The transmission quality of the corresponding packet must be ensured appropriately.

このように、伝送されるデータの種類に従って、適切な品質を確保しながら、複数のデータ伝送を同時かつ効率的に実現する技術を、QoS(Quality of Service)技術と称する。QoS技術は、優先制御型QoS(Prioritized QoS)とパラメータ保証型QoS(Parameterized QoS)とに大きく分類される。   A technique for simultaneously and efficiently realizing a plurality of data transmissions while ensuring appropriate quality according to the type of data to be transmitted is referred to as a QoS (Quality of Service) technique. The QoS technology is roughly classified into priority control type QoS (Prioritized QoS) and parameter guaranteed type QoS (Parameterized QoS).

(優先制御型QoS)
優先制御型QoSでは、データを送信する通信装置が、データの種類およびデータを送受信する通信装置の特性などに応じた優先度を、送信データのパケットに付与する。そして、パケットに付与された優先度に基づいて、送信データを制御することにより、QoSを実現している。なお、優先度のパケットへの付与方法としては、パケットのヘッダ部分に、優先度を示す値を格納するためのフィールド(以下、優先度フィールド)を予め設けておき、パケット毎に優先度フィールドの値を設定する方法が一般的である。
(Priority control type QoS)
In priority control type QoS, a communication device that transmits data gives priority to the packet of transmission data according to the type of data and the characteristics of the communication device that transmits and receives data. And QoS is implement | achieved by controlling transmission data based on the priority provided to the packet. As a method of assigning priority to packets, a field for storing a value indicating priority (hereinafter referred to as a priority field) is provided in advance in the header portion of the packet. A method of setting a value is common.

例えば、リアルタイムデータは非リアルタイムデータに比べて、より高い伝送品質が求められるので、リアルタイムデータのパケットには、非リアルタイムデータのパケットよりも高い優先度の値を、優先度フィールドに設定しておくのが一般的である。そして、送信装置または通信ネットワーク上の中継装置が、各パケットの優先度フィールドの値に基づいて、パケットの送信タイミングを決定することにより、QoSを実現する。   For example, since real-time data requires higher transmission quality than non-real-time data, a higher priority value than a non-real-time data packet is set in the priority field for real-time data packets. It is common. The transmission apparatus or the relay apparatus on the communication network determines the packet transmission timing based on the value of the priority field of each packet, thereby realizing QoS.

(パラメータ保証型QoS)
パラメータ保証型QoSでは、通信ネットワーク全体の帯域を管理する親機を設ける。そして親機は、通信ネットワークに接続されている子機から要求されたQoSのパラメータに従って、通信ネットワーク全体の帯域の利用スケジュール(送信許可期間)を管理する。親機が、全ての子機のデータ送信回数およびデータ送信時間などを集中管理することにより、QoSを実現する。
(Parameter guaranteed QoS)
In the parameter-guaranteed QoS, a master unit that manages the bandwidth of the entire communication network is provided. Then, the master unit manages the bandwidth usage schedule (transmission permission period) of the entire communication network according to the QoS parameters requested from the slave unit connected to the communication network. The master unit realizes QoS by centrally managing the number of times of data transmission and the data transmission time of all the slave units.

子機は、QoSが保証されたデータ伝送(以下、QoS伝送)を行なう場合、予め親機に対し、QoS伝送を要求する信号を送信する。この信号にはQoSに関するパラメータが含まれている。そして親機は、このQoSに関するパラメータを抽出し、該パラメータと現在の通信ネットワークの利用状況とに基づいて、QoS伝送が可能か否かを判断する。そして、QoS伝送が可能であると判断すれば、親機は子機に対してQoS伝送を許可し、一方、QoS伝送が不可能であると判断すれば、親機は子機に対してQoS伝送を拒否する。例えば、ある子機AがQoS伝送を要求する信号を送信したとき、既に他の子機BがQoS伝送を行なっており、子機AがQoS伝送をするのに十分な帯域が確保できない場合、親機は子機AからのQoS伝送の要求を拒否する。   When performing data transmission with guaranteed QoS (hereinafter referred to as QoS transmission), the child device transmits a signal requesting QoS transmission to the parent device in advance. This signal includes parameters related to QoS. Then, the base unit extracts a parameter relating to the QoS, and determines whether or not the QoS transmission is possible based on the parameter and the current use status of the communication network. If it is determined that QoS transmission is possible, the parent device permits the QoS transmission to the child device. On the other hand, if it is determined that QoS transmission is not possible, the parent device transmits the QoS to the child device. Reject transmission. For example, when a slave unit A transmits a signal requesting QoS transmission, when another slave unit B is already performing QoS transmission, and a bandwidth sufficient for the slave unit A to perform QoS transmission cannot be secured, The master unit rejects the QoS transmission request from the slave unit A.

なお、親機は、各子機がQoS伝送をすることができるように、帯域設定のスケジュールを常に管理している。そして、親機は、該スケジュールに基づいて、QoS伝送を許可する期間を含む送信許可信号を子機に送信することにより、子機にQoS伝送の許可を与える。子機は、上記送信許可信号にて通知された期間内だけ、データ伝送を行なう。   Note that the base unit always manages the bandwidth setting schedule so that each slave unit can perform QoS transmission. Based on the schedule, the parent device transmits a transmission permission signal including a period during which QoS transmission is permitted to the child device, thereby giving the child device permission for QoS transmission. The slave unit performs data transmission only during the period notified by the transmission permission signal.

ところで、複数のコンテンツを同時に伝送する場合には、パケット毎ではなく、コンテンツ毎に、QoSの制御を行なう必要がある。例えば、ある通信装置が、映像コンテンツおよび音声コンテンツを同時に送信する場合、それぞれのコンテンツに必要とされるQoSの要求事項が異なるのが通常である。   By the way, when a plurality of contents are transmitted at the same time, it is necessary to control QoS for each content, not for each packet. For example, when a certain communication device transmits video content and audio content at the same time, the QoS requirements required for each content are usually different.

そのため、パラメータ保証型QoSでは、データフロー毎にQoSを管理する。データフローとは、連続して伝送する必要のある一連のデータを指す。連続して伝送する必要のある一連のデータとは、例えば、1つの映像コンテンツ、または、1つの音声コンテンツなど、意味のあるひとまとまりのデータである。したがって、1つのデータフローには複数のパケットが属する。以下では、映像コンテンツのデータフローを、映像データフローとも称する。   Therefore, in the parameter guarantee type QoS, the QoS is managed for each data flow. A data flow refers to a series of data that needs to be transmitted continuously. A series of data that needs to be transmitted continuously is, for example, a meaningful group of data such as one video content or one audio content. Therefore, a plurality of packets belong to one data flow. Hereinafter, the data flow of the video content is also referred to as a video data flow.

データフローごとに帯域の利用スケジュールを決定するために、親機は、パケットがどのデータフローに所属するかを知る必要がある。そのために、子機は、QoSに関するパラメータに、所属するデータフローを示すフロー識別情報を付加して、親機に送信する。そして、親機は、子機に対して送信許可信号を送信する際には、どのデータフローに対する送信許可であるかを示すために、送信許可信号にフロー識別情報を含めて通知する。そして、データ送信を行なう子機は、通知された送信許可信号に含まれるフロー識別情報で示されるデータフローに属するパケットのみを送信する。これにより、データフローごとのQoS制御を可能としている。   In order to determine the bandwidth usage schedule for each data flow, the parent device needs to know which data flow the packet belongs to. For this purpose, the slave unit adds the flow identification information indicating the data flow to which it belongs to the parameter relating to QoS, and transmits the parameter to the master unit. Then, when transmitting a transmission permission signal to the child device, the parent device notifies the transmission permission signal including the flow identification information in order to indicate which data flow is permitted to be transmitted. And the subunit | mobile_unit which performs data transmission transmits only the packet which belongs to the data flow shown by the flow identification information contained in the notified transmission permission signal. This enables QoS control for each data flow.

なお、フロー識別情報としては、MAC(Media Access Control)ヘッダ内の宛先MACアドレスおよび送信元MACアドレス、IPヘッダ内の宛先IPアドレスおよび送信元IPアドレス、TCPヘッダ(もしくはUDPヘッダ)内の宛先ポート番号および送信元ポート番号、IPv6ヘッダにおけるFlow Labelフィールド、EthernetのフレームヘッダにおけるVLANタグのVID(VLAN Identifier)フィールドなどのうち、いずれかまたは全ての組み合わせが挙げられる。   The flow identification information includes a destination MAC address and source MAC address in a MAC (Media Access Control) header, a destination IP address and source IP address in an IP header, and a destination port in a TCP header (or UDP header). Any or all combinations of a number and a transmission source port number, a Flow Label field in an IPv6 header, a VID (VLAN Identifier) field of a VLAN tag in an Ethernet frame header, and the like.

(QoSの設定方法)
一般的に、QoSは、OSI(Open Systems Interconnection)参照モデルにおけるレイヤ2やレイヤ3において実現されている。以下では、QoSを実現するレイヤを、QoS制御レイヤと称する。
(QoS setting method)
In general, QoS is realized in layers 2 and 3 in an OSI (Open Systems Interconnection) reference model. Below, the layer which implement | achieves QoS is called a QoS control layer.

優先制御型QoSおよびパラメータ保証型QoSのいずれにおいても、QoSを実現するためには、QoS制御レイヤが、伝送しようとするデータに必要な伝送品質を知る必要がある。しかしながら、そのような情報は、QoS制御レイヤよりも上位のレイヤで管理されるのが一般的である。   In both the priority control type QoS and the parameter guarantee type QoS, in order to realize the QoS, the QoS control layer needs to know the transmission quality required for the data to be transmitted. However, such information is generally managed in a layer higher than the QoS control layer.

例えば、PLCにおける帯域制御は、MAC層(OSI参照モデルにおけるレイヤ2の副層)にて実現されているが、実際にどのようなデータが伝送されるかは、アプリケーション層(OSI参照モデルにおけるレイヤ7)でしか知りえない。例えば、レイヤ7において、アプリケーションプログラムがコンテンツの選択や伝送の準備を行なった上で、下位レイヤにデータを渡す。ここで、下位レイヤにとって、上位レイヤから渡されたデータは、単なるデータであるため、その内容を知ることはできず、また、そのデータがどのようなアプリケーションプログラムから発せられたものであるかについても知ることができない。   For example, bandwidth control in the PLC is realized in the MAC layer (sublayer of layer 2 in the OSI reference model), but what kind of data is actually transmitted depends on the application layer (layer in the OSI reference model). It can only be found in 7). For example, in layer 7, the application program performs selection of contents and preparation for transmission, and then passes data to the lower layer. Here, for the lower layer, since the data passed from the upper layer is just data, its contents cannot be known, and what kind of application program the data originated from I can't even know.

したがって、上位レイヤからQoS制御レイヤに対してデータ伝送が開始される前に、上位レイヤからQoS制御レイヤに対して、伝送されるデータがどのようなプログラムから発せられたものであるかという情報、どのような用途に使用するものであるかという情報、MAC層での伝送時に保証してほしい帯域幅、遅延の許容限界値、パケットサイズなどの、伝送するデータに関する情報を含むQoSパラメータを添えて、QoSの設定を要求することが望ましい。   Therefore, before starting data transmission from the upper layer to the QoS control layer, information on what program the data transmitted from the upper layer to the QoS control layer originated from, Attached with QoS parameters including information on the purpose of use, bandwidth to be guaranteed during transmission at the MAC layer, allowable delay limit, packet size, etc. It is desirable to request QoS setting.

しかしながら、現在のところQoS技術は広く普及していないため、上位レイヤはQoS制御レイヤを想定せずに各装置が設計されることが多く、上述した仕組みは実装されていないのが現状である。つまり、サーバはパケットの優先度フィールドの値を設定した上で送信したり、フローの送信開始前にそのフローのためのQoS設定を要求したりしない。   However, since the QoS technology is not widely used at present, the upper layers are often designed without assuming the QoS control layer, and the above-described mechanism is not implemented at present. That is, the server does not transmit after setting the value of the priority field of the packet, or does not request the QoS setting for the flow before starting transmission of the flow.

(先行技術)
上記で説明した、優先制御型QoSおよびパラメータ保証型QoSなどの仕組みを基本的な技術として用いることにより、通信ネットワーク全体におけるアクセス競合を避けることができ、QoSを実現することができる。
(Prior art)
By using the mechanisms such as the priority control type QoS and the parameter guarantee type QoS described above as basic technologies, access competition in the entire communication network can be avoided and QoS can be realized.

QoSを実現する技術として、特許文献1に、パケット伝送を制御するパケット伝送装置が開示されている。このパケット伝送装置は、まず、ネゴシエーション時に特定ポートを使用するパケット(どのポート番号を監視するかは予め決めておく)の送信先IPアドレスと送信元IPアドレスとを抽出し、次に、上記抽出した送信先IPアドレスと送信元IPアドレスとを使用するパケットを解析することによって、データ通信時に使用するポート番号を取得する。そして、上記抽出した送信先IPアドレスおよび送信元IPアドレス、並びに、上記取得したポート番号を使用して伝送されるパケットを、優先的に伝送するようにしている。
特開2003−87300号公報(公開日:平成15年3月20日)
As a technique for realizing QoS, Patent Document 1 discloses a packet transmission apparatus that controls packet transmission. The packet transmission apparatus first extracts a transmission destination IP address and a transmission source IP address of a packet that uses a specific port at the time of negotiation (which port number is to be monitored in advance), and then extracts the above-mentioned extraction By analyzing the packet using the destination IP address and the source IP address, the port number used at the time of data communication is acquired. A packet transmitted using the extracted transmission destination IP address and transmission source IP address and the acquired port number is preferentially transmitted.
JP 2003-87300 A (publication date: March 20, 2003)

特許文献1に開示されている技術では、ネゴシエーション時に特定ポートを使用するパケットから最終的に優先的に伝送するべきパケットを決定している。すなわちネゴシエーション時に使用されるポート番号に応じて、パケットの伝送の優先度が決定される。例えば、映像配信サービスにてネゴシエーション時に使用されるポート番号と、電話サービスにてネゴシエーション時に使用されるポート番号とは異なる。したがって、特許文献1に開示されている技術では、ネゴシエーションプロトコルごとに優先度が決定されることとなる。   In the technique disclosed in Patent Document 1, a packet to be finally transmitted preferentially is determined from a packet using a specific port at the time of negotiation. That is, the priority of packet transmission is determined according to the port number used during negotiation. For example, the port number used at the time of negotiation in the video distribution service is different from the port number used at the time of negotiation in the telephone service. Therefore, in the technique disclosed in Patent Document 1, the priority is determined for each negotiation protocol.

よって、特許文献1に開示されている技術では、同じネゴシエーションプロトコルを使用するサービスの間で、さらなる優先度を設けることができない。例えば、あるネゴシエーションプロトコル(プロトコルPとする)を用いて映像コンテンツを配信するサービス(サービスAとする)、および、同じネゴシエーションプロトコルPを用いて他の映像コンテンツを配信サービス(サービスBとする)とが存在するとき、いずれのサービスにおいても共通のポート番号を用いてネゴシエーションパケットが伝送される。したがって、特許文献1に開示されている技術では、サービスBのパケットだけを優先するということができない。そして、サービスBのパケットを優先的に伝送するためには、プロトコルPを用いて映像コンテンツを配信する全てのサービスのパケットを優先的に伝送する必要がある。この結果、通信ネットワーク上で優先的に伝送されるパケットが増えるので、伝送帯域が不足し、データ受信装置においてデータの再生が乱れるという問題が発生する。   Therefore, the technology disclosed in Patent Document 1 cannot provide further priority among services that use the same negotiation protocol. For example, a service (referred to as service A) that distributes video content using a certain negotiation protocol (referred to as protocol P), and a distribution service (referred to as service B) that uses the same negotiation protocol P as another video content. In any service, a negotiation packet is transmitted using a common port number. Therefore, the technique disclosed in Patent Document 1 cannot prioritize only the service B packet. In order to preferentially transmit service B packets, it is necessary to preferentially transmit packets of all services that distribute video content using the protocol P. As a result, the number of packets that are preferentially transmitted on the communication network increases, resulting in a problem that the transmission band becomes insufficient and data reproduction is disturbed in the data receiving apparatus.

図14を参照しながら、PLCネットワーク上で映像データフローを優先的に伝送するときに、伝送帯域が不足する様子を説明する。図14は、PLCネットワーク上で2つの映像データフローを優先的に伝送するときの伝送帯域の様子を示す図である。まず、時刻T1において、FTPのデータフローを伝送し始めるとする。FTPのデータフローは優先的に伝送しないもの(非優先)とする。時刻T1では、FTPのデータフローのみが伝送されているので、PLCネットワーク上で使用可能な帯域(20Mbps)をFTPのデータフローが専有している。   With reference to FIG. 14, a description will be given of how a transmission band is insufficient when a video data flow is preferentially transmitted on a PLC network. FIG. 14 is a diagram illustrating a state of a transmission band when two video data flows are preferentially transmitted on the PLC network. First, it is assumed that the FTP data flow starts to be transmitted at time T1. The FTP data flow is not preferentially transmitted (non-priority). Since only the FTP data flow is transmitted at time T1, the FTP data flow occupies a bandwidth (20 Mbps) that can be used on the PLC network.

次に、時刻T2において、さらに、優先的に伝送すべき映像1のデータフローを伝送し始めるとする。映像1のデータフローは固定ビットレートで15Mbpsであるとする。この場合、図示のように、PLCネットワーク上で使用可能な帯域20Mbpsのうちの15Mpbsが、優先的に伝送される映像1のデータフローに占められ、非優先であるFTPのデータフローは残りの5Mbpsで伝送することとなる。   Next, it is assumed that the data flow of the video 1 to be transmitted with higher priority is started at time T2. The data flow of video 1 is assumed to be 15 Mbps at a fixed bit rate. In this case, as shown in the drawing, 15 Mbps of the bandwidth 20 Mbps usable on the PLC network is occupied by the preferentially transmitted video 1 data flow, and the non-priority FTP data flow is the remaining 5 Mbps. Will be transmitted.

次に、時刻T3において、さらに、優先的に伝送すべき映像2のデータフローを伝送し始めるとする。映像2のデータフローも固定ビットレートで15Mbpsであるとする。このとき、優先的に伝送すべきデータフローが併せて2つになり、必要な帯域の合計が20Mbpsを超過する。この例では、優先度として2段階(優先と非優先)の設定のみができるものとしており、映像1と映像2のデータフローの優先度が同一であるので、均等に帯域が使用され、図示のとおり、映像1のデータフローと映像2のデータフローとはそれぞれ10Mpbsで伝送されることとなる。つまり、映像1のデータフローおよび映像2のデータフローのいずれについても、5Mbps分だけ伝送帯域が不足する。したがって、時刻T3以降は、映像1のデータフローの受信装置および映像2のデータフローの受信装置では、いずれも受信データの欠損が発生し、データの再生が乱れることとなる。なお、時刻T3以降では、非優先であるFTPのデータフローが伝送に使用できる帯域はなくなるため、FTPのデータフローは伝送されていないものとしているが、実際には少量のデータは伝送される場合もある。   Next, it is assumed that the data flow of the video 2 to be transmitted with priority is started to be transmitted at time T3. The data flow of video 2 is also assumed to be 15 Mbps at a fixed bit rate. At this time, there are two data flows to be preferentially transmitted, and the total required bandwidth exceeds 20 Mbps. In this example, only two levels (priority and non-priority) can be set as priorities. Since the priorities of the data flows of the video 1 and the video 2 are the same, the bandwidth is used evenly. As described above, the data flow of video 1 and the data flow of video 2 are each transmitted at 10 Mpbs. That is, the transmission band is insufficient for 5 Mbps for both the data flow of video 1 and the data flow of video 2. Therefore, after time T3, in the receiving device for the data flow of video 1 and the receiving device for the data flow of video 2, the loss of the received data occurs, and the reproduction of the data is disturbed. After time T3, there is no bandwidth that can be used for the non-priority FTP data flow for transmission, and therefore it is assumed that the FTP data flow is not transmitted. However, a small amount of data is actually transmitted. There is also.

次に、図15を参照しながら、2つの映像データフローのうち片方だけを優先的に伝送するときの様子を説明する。図15は、PLCネットワーク上で2つの映像データフローのうち片方だけを優先的に伝送するときの伝送帯域の様子を示す図である。ここでは、映像1のデータフローは優先的に伝送しないもの(非優先)とする。そして、時刻T2以降、非優先であるFTPのデータフローおよび非優先である映像1のデータフローが伝送されているとき、時刻T3において、優先的に伝送すべき映像2のデータフローを伝送し始めるとする。このとき、図示のとおり、映像2のデータフローは優先的に伝送されるので伝送帯域として15Mpbsを使用できる。したがって、映像2のデータフローの受信装置では受信データの欠損は発生せず、データの再生が乱れることはない。なお、残りの5Mbpsの帯域は、非優先であるFTPのデータフローと非優先である映像1のデータフローとで均等に使用されることとなる。   Next, a state when only one of the two video data flows is preferentially transmitted will be described with reference to FIG. FIG. 15 is a diagram showing a state of a transmission band when only one of the two video data flows is preferentially transmitted on the PLC network. Here, it is assumed that the data flow of video 1 is not preferentially transmitted (non-priority). After the time T2, when the non-priority FTP data flow and the non-priority video 1 data flow are transmitted, the video 2 data flow to be preferentially transmitted starts at the time T3. And At this time, as shown in the figure, the data flow of video 2 is preferentially transmitted, so that 15 Mpbs can be used as the transmission band. Therefore, in the receiving apparatus of the data flow of video 2, there is no loss of received data, and data reproduction is not disturbed. The remaining 5 Mbps bandwidth is equally used for the non-priority FTP data flow and the non-priority video 1 data flow.

このように、同じネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)伝送されるデータフローが複数存在する場合には、その中の特定のデータフローのみを優先的に伝送可能に制御できることが好ましい。例えば、高画質の映像のデータフローと低画質な映像のデータフローとを同じ通信ネットワークで伝送する場合であって、双方とも優先的に伝送しようとすると通信ネットワークの伝送帯域が不足する場合に、高画質の映像のデータフローだけを優先的に伝送するといった制御が可能であることが好ましい。しかしながら、このような課題は、特許文献1に開示されている技術では解決されていない。   In this way, when there are multiple data flows that are transmitted using the same negotiation protocol (or when the negotiation protocol used is different but the same port number is used), only the specific data flow among them is sent. It is preferable that transmission can be controlled with priority. For example, when a high-quality video data flow and a low-quality video data flow are transmitted over the same communication network, and both are preferentially transmitted, the transmission bandwidth of the communication network is insufficient. It is preferable to be able to control such that only the data flow of high-quality video is preferentially transmitted. However, such a problem is not solved by the technique disclosed in Patent Document 1.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、データフローの送信装置等のドメイン名に応じて、該データフローに属するパケットを優先的に伝送することができる中継装置を提供することにある。また、本発明の他の目的は、データフローの送信装置のドメイン名に応じて、該データフローに属するパケットの優先度を設定することができる通信制御装置を提供することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to relay packets that can preferentially transmit packets belonging to the data flow in accordance with the domain name of the data flow transmitting device or the like. To provide an apparatus . Another object of the present invention is to provide a communication control device capable of setting the priority of packets belonging to a data flow according to the domain name of the data flow transmitting device .

上記課題を解決するために、本発明に係る中継装置は、データ送信装置とデータ受信装置とがやりとりするパケットを中継する中継装置であって、QoSの対象となるQoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名を少なくとも記憶するQoS対象記憶部と、上記データ送信装置のアドレスを解決するためのドメイン名/アドレス解決パケットであって、当該データ送信装置が属するドメインのドメイン名、並びに、当該データ送信装置、ドメイン名/アドレス解決パケットの送信元の装置、ドメイン名/アドレス解決パケットの送信先の装置、および、上記データ受信装置の少なくともいずれか1つのアドレスを含む、ドメイン名/アドレス解決パケットを取得する手段と、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスを抽出し、該抽出したアドレスより成るアドレス群を生成し、該生成したアドレス群をパケット優先度記憶部に格納する優先度データ生成処理手段と、上記中継するパケットに含まれる1または複数個のアドレスより成るアドレス群が上記パケット優先度記憶部に記憶されたアドレス群のいずれかと一致するとき、上記中継するパケットを優先的に伝送させる優先伝送処理を行なうパケット優先伝送処理手段とを備えることを特徴としている。In order to solve the above-described problem, a relay apparatus according to the present invention is a relay apparatus that relays a packet exchanged between a data transmission apparatus and a data reception apparatus, and transmits the QoS target packet that is a QoS target. A QoS target storage unit that stores at least a domain name of a domain to which the transmission device belongs, and a domain name / address resolution packet for resolving the address of the data transmission device, the domain name of the domain to which the data transmission device belongs, A domain name / address including at least one address of the data transmission apparatus, a domain name / address resolution packet transmission source apparatus, a domain name / address resolution packet transmission destination apparatus, and the data reception apparatus. Means for obtaining an address resolution packet and the domain name / address resolution Means for acquiring the domain name / address resolution packet when the domain name included in the domain name / address resolution packet acquired by the means for acquiring the packet matches the domain name stored in the QoS target storage unit; Priority data for extracting one or a plurality of addresses included in the acquired domain name / address resolution packet, generating an address group composed of the extracted addresses, and storing the generated address group in a packet priority storage unit When the generation processing means and an address group consisting of one or a plurality of addresses included in the relay packet coincide with any of the address groups stored in the packet priority storage unit, the relay packet is preferentially selected. Packet priority transmission processing means for performing priority transmission processing for transmission To have.

よって、データ送信装置が属するドメインのドメイン名に応じて、パケットを優先的に中継することができる。Therefore, packets can be relayed preferentially according to the domain name of the domain to which the data transmission apparatus belongs.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation.

また、本発明に係る中継装置は、上記ドメイン名/アドレス解決パケットを取得する手段が第1所定期間に取得した複数個の上記ドメイン名/アドレス解決パケットに含まれる複数個のドメイン名のそれぞれが、上記QoS対象記憶部に記憶されているドメイン名のいずれかに一致したとき、上記優先度データ生成処理手段は、上記第1所定期間に取得された上記ドメイン名/アドレス解決パケットのいずれかに含まれる1または複数個のアドレスを抽出し、該抽出したアドレスより成るアドレス群を生成する構成であってもよい。In the relay apparatus according to the present invention, each of the plurality of domain names included in the plurality of domain name / address resolution packets acquired in the first predetermined period by the means for acquiring the domain name / address resolution packet includes When the domain name stored in the QoS target storage unit matches any one of the domain names / address resolution packets acquired in the first predetermined period, the priority data generation processing means The configuration may be such that one or a plurality of included addresses are extracted and an address group including the extracted addresses is generated.

また、本発明に係る中継装置は、自装置が第2所定期間内に中継した1または複数個のパケットについて、いずれのパケットに含まれる1または複数個のアドレスより成るアドレス群とも一致しない、上記パケット優先度記憶部に記憶されている上記アドレス群を削除する手段をさらに備える構成であってもよい。In addition, the relay device according to the present invention does not match the address group composed of one or more addresses included in any of the one or more packets relayed by the device within the second predetermined period. The configuration may further include means for deleting the address group stored in the packet priority storage unit.

また、本発明に係る中継装置は、上記ドメイン名/アドレス解決パケットは、上記データ送信装置のアドレスの問合せに対する応答として、上記データ受信装置宛に送信されたパケットである構成であってもよい。In the relay apparatus according to the present invention, the domain name / address resolution packet may be a packet transmitted to the data receiving apparatus as a response to the address inquiry of the data transmitting apparatus.

また、本発明に係る中継装置は、上記ドメイン名/アドレス解決パケットは、上記データ送信装置のアドレスの問合せとして上記データ受信装置から送信されたパケットである構成であってもよい。The relay device according to the present invention may be configured such that the domain name / address resolution packet is a packet transmitted from the data receiving device as an address inquiry of the data transmitting device.

また、本発明に係る中継装置は、上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段によって取得されたドメイン名/アドレス解決パケットから、解決された上記データ送信装置のアドレス、および、当該ドメイン名/アドレス解決パケットの送信先の装置のアドレスの少なくともいずれかを抽出し、該抽出したアドレスより成るアドレス群を生成する構成であってもよい。Further, in the relay device according to the present invention, the priority data generation processing means is configured so that the data transmission apparatus resolved from the domain name / address resolution packet acquired by the means for acquiring the domain name / address resolution packet. A configuration may be employed in which at least one of an address and an address of a transmission destination device of the domain name / address resolution packet is extracted, and an address group including the extracted addresses is generated.

また、本発明に係る中継装置は、上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段によって取得されたドメイン名/アドレス解決パケットから、当該ドメイン名/アドレス解決パケットの送信元の装置のアドレス、および、当該ドメイン名/アドレス解決パケットの送信先の装置のアドレスの少なくともいずれかを抽出し、該抽出したアドレスより成るアドレス群を生成する構成であってもよい。Further, in the relay device according to the present invention, the priority data generation processing means uses the domain name / address resolution packet from the domain name / address resolution packet acquired by the means for acquiring the domain name / address resolution packet. A configuration may be employed in which at least one of an address of a transmission source device and an address of a transmission destination device of the domain name / address resolution packet is extracted, and an address group including the extracted addresses is generated.

また、本発明に係る中継装置は、上記ドメイン名/アドレス解決パケットを取得する手段は、自装置が中継している上記ドメイン名/アドレス解決パケットを取得する構成であってもよい。In the relay apparatus according to the present invention, the means for acquiring the domain name / address resolution packet may be configured to acquire the domain name / address resolution packet relayed by the own apparatus.

また、本発明に係る中継装置は、上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、上記QoS対象パケットに設定すべき伝送優先度とを対応づけて記憶するものであって、上記優先度データ生成処理手段は、さらに、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、当該ドメイン名に対応付けて上記QoS対象記憶部に記憶されている上記伝送優先度を、当該ドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスより成るアドレス群と対応付けて上記パケット優先度記憶部に格納し、上記パケット優先伝送処理手段は、上記優先伝送処理の対象となるパケットに、当該パケットに含まれるアドレスより成るアドレス群に対応付けて上記パケット優先度記憶部に記憶されている上記伝送優先度を設定する構成であってもよい。In the relay apparatus according to the present invention, the QoS target storage unit further includes a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs, and a transmission priority to be set in the QoS target packet. The priority data generation processing unit further stores the domain name and the QoS included in the domain name / address resolution packet acquired by the unit for acquiring the domain name / address resolution packet. When the domain name stored in the target storage unit matches, the transmission priority stored in the QoS target storage unit in association with the domain name is included in the domain name / address resolution packet 1 Alternatively, it is stored in the packet priority storage unit in association with an address group consisting of a plurality of addresses, and the packet is stored. A configuration in which the priority transmission processing unit sets the transmission priority stored in the packet priority storage unit in association with an address group including addresses included in the packet, for the packet subjected to the priority transmission processing. It may be.

また、本発明に係る中継装置は、自装置が中継するパケットを一時的に保持し、該保持したパケットのうち、上記優先伝送処理の対象となるパケットを、上記優先伝送処理の対象とならないパケットよりも優先的に外部に送出する手段をさらに備える構成であってもよい。In addition, the relay device according to the present invention temporarily holds a packet relayed by the device itself, and among the held packets, a packet that is a target of the priority transmission process is a packet that is not a target of the priority transmission process. It may be configured to further include means for preferentially sending out to the outside.

また、本発明に係る中継装置は、上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、上記QoS対象パケットに設定すべき伝送優先度とを対応づけて記憶するものであって、上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、当該ドメイン名に対応付けて上記QoS対象記憶部に記憶されている上記伝送優先度を、当該ドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスより成るアドレス群と対応付けて上記パケット優先度記憶部に格納し、上記パケット優先伝送処理手段は、上記優先伝送処理の対象となるパケットに、当該パケットに含まれるアドレスより成るアドレス群に対応付けて上記パケット優先度記憶部に記憶されている上記伝送優先度を設定し、自装置が中継するパケットを一時的に保持し、該保持したパケットのうち、上記優先伝送処理の対象となるパケットを、上記優先伝送処理の対象とならないパケットよりも優先的に外部に送出する手段をさらに備える構成であってもよい。In the relay apparatus according to the present invention, the QoS target storage unit further includes a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs, and a transmission priority to be set in the QoS target packet. The priority data generation processing means is means for acquiring the domain name / address resolution packet. The domain name included in the acquired domain name / address resolution packet and the QoS target storage section. When the domain name stored in the domain name matches with the domain name, the transmission priority stored in the QoS target storage unit is set to one or more included in the domain name / address resolution packet. Stored in the packet priority storage unit in association with the address group consisting of The processing unit sets the transmission priority stored in the packet priority storage unit in association with an address group composed of addresses included in the packet to the packet subject to the priority transmission process, Means for temporarily holding a packet to be relayed, and sending out, out of the held packets, a packet subject to the priority transmission process to a higher priority than a packet not subject to the priority transmission process. The structure provided may be sufficient.

また、本発明に係る中継装置は、上記QoS対象記憶部から読み出した情報をユーザに提示するとともに、ユーザからの入力を受け付け、該受け付けた入力に従って、上記QoS対象記憶部を更新する手段をさらに備える構成であってもよい。The relay apparatus according to the present invention further includes means for presenting information read from the QoS target storage unit to the user, accepting an input from the user, and updating the QoS target storage unit according to the received input. The structure provided may be sufficient.

また、本発明に係る中継装置は、上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、該データ送信装置が提供するサービスの名称とを対応付けて記憶する構成であってもよい。In the relay apparatus according to the present invention, the QoS target storage unit further includes a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs and a name of a service provided by the data transmitting apparatus. A configuration in which the information is stored in association with each other is also possible.

また、本発明に係る中継装置は、上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信するデータ送信装置が属するドメインのドメイン名と、該QoS対象パケットをQoSの対象とするか否かを示す情報とを対応付けて記憶する構成であってもよい。In the relay apparatus according to the present invention, the QoS target storage unit further includes a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs, and whether or not the QoS target packet is a QoS target. The information which shows may be stored in association with each other.

上記課題を解決するために、本発明に係る通信制御装置は、データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットの伝送を制御する通信制御装置であって、上記第1リクエストは、上記データ送信装置が属するドメインのドメイン名と、上記データ受信装置の通信アドレスを含んでおり、上記第1リクエストから上記データ送信装置のドメイン名および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた上記データ送信装置の通信アドレスを取得するアドレス取得手段と、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記ドメイン名/アドレス抽出手段が抽出した上記データ受信装置の通信アドレスと、上記アドレス取得手段が取得した上記データ送信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、該通信パケットの送信先となる上記データ受信装置の通信アドレス、該通信パケットの伝送優先度を含んでおり、上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記優先度を、上記通信パケットの優先度として該通信パケットに設定するパケット優先度設定手段とを備えることを特徴としている。   In order to solve the above-described problem, in the communication control device according to the present invention, the data reception device transmits a first request for requesting a communication address of a data transmission device belonging to a domain, and is acquired as a response to the first request. Based on the communication address of the data transmission device, a second request for requesting a data flow composed of a plurality of communication packets is transmitted to the data transmission device, and the data transmission device is transmitted as a response to the second request. Is a communication control device that controls transmission of the communication packet included in the data flow to be transmitted to the data receiving device, wherein the first request includes a domain name of a domain to which the data transmitting device belongs, and the data reception Including the communication address of the device, from the first request to the domain name and the data transmission device. The domain name / address extracting means for extracting the communication address of the data receiving apparatus, and the communication address of the data transmitting apparatus associated with the domain name of the data transmitting apparatus extracted by the domain name / address extracting means The address acquisition means, the domain name of the data transmission device, the first storage unit that stores the transmission priority to be set in the communication packet, and the domain name / address extraction means extracted, A domain priority acquisition means for acquiring a transmission priority associated with a domain name of the data transmission apparatus from the first storage unit; a communication address of the data reception apparatus extracted by the domain name / address extraction means; The domain priority acquisition unit is combined with the communication address of the data transmission device acquired by the address acquisition unit. Is associated with the transmission priority acquired in the second storage unit, and each communication packet constituting the data flow is the data transmission source of the communication packet. Including the communication address of the device, the communication address of the data receiving device that is the transmission destination of the communication packet, and the transmission priority of the communication packet, and the communication address of the transmission source from the communication packet constituting the data flow, and A source address / destination address extracting means for extracting the destination communication address, and a combination of the source communication address and the destination communication address extracted by the source address / destination address extracting means Packet priority acquisition means for acquiring the transmission priority associated with the second storage unit from the second storage unit, and the packet priority acquisition. Packet priority setting means for setting the priority acquired by the acquisition means to the communication packet as the priority of the communication packet is provided.

上記の構成によれば、上記第1リクエストから上記データ送信装置のドメイン名および上記データ受信装置の通信アドレスを抽出することができる。また、上記抽出した上記データ送信装置のドメイン名に対応付けられた上記データ送信装置の通信アドレスを取得することができる。また、上記抽出した上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部から取得することができる。また、上記抽出した上記データ受信装置の通信アドレスと、上記取得した上記データ送信装置の通信アドレスとの組に、上記取得した伝送優先度を対応付けて、第2記憶部に格納することができる。   According to the above configuration, the domain name of the data transmitting device and the communication address of the data receiving device can be extracted from the first request. In addition, the communication address of the data transmission device associated with the extracted domain name of the data transmission device can be acquired. Also, a transmission priority associated with the extracted domain name of the data transmission device is stored in association with the domain name of the data transmission device and the transmission priority to be set in the communication packet. It can be acquired from the storage unit. Further, the acquired transmission priority can be associated with a set of the extracted communication address of the data receiving device and the acquired communication address of the data transmitting device and stored in the second storage unit. .

そして、上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出することができる。また、上記抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得することができる。また、上記取得した伝送優先度を、上記通信パケットの伝送の優先度として該通信パケットに設定することができる。   Then, the communication address of the transmission source and the communication address of the transmission destination can be extracted from the communication packet. In addition, the transmission priority associated with the extracted pair of the transmission source communication address and the transmission destination communication address can be acquired from the second storage unit. The acquired transmission priority can be set in the communication packet as the transmission priority of the communication packet.

よって、上記データ送信装置のドメイン名毎に対応付けられる上記優先度を、上記通信パケットの伝送の優先度として設定することができ、該設定した優先度に応じて上記通信パケットの伝送を制御することができる。   Therefore, the priority associated with each domain name of the data transmission device can be set as the transmission priority of the communication packet, and the transmission of the communication packet is controlled according to the set priority. be able to.

つまり、上記データ送信装置のドメイン名に対応付けられる上記優先度を高くすることにより、該データ送信装置から送信される通信パケットの優先度を高くして、通信パケットを優先的に伝送するという制御が可能となるという効果を奏する。また、上記データ送信装置のドメイン名に対応付けられる上記優先度を低くすることにより、該データ送信装置から送信される通信パケットの優先度を低くして、他の通信パケットを優先的に伝送するという制御が可能となる。   That is, by increasing the priority associated with the domain name of the data transmitting device, the priority of the communication packet transmitted from the data transmitting device is increased, and the communication packet is preferentially transmitted. There is an effect that becomes possible. In addition, by lowering the priority associated with the domain name of the data transmitting apparatus, the priority of the communication packet transmitted from the data transmitting apparatus is decreased, and other communication packets are transmitted with priority. Control becomes possible.

さらに言えば、同一ネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)伝送される通信パケット同士についても、該通信パケットの送信元のデータ送信装置のドメイン名が異なる場合は、優先度に差を設けることができる。   Furthermore, even for communication packets transmitted using the same negotiation protocol (or when the negotiation protocol used is different but the same port number is used), the domain name of the data transmission device that is the transmission source of the communication packet is also used. If they are different, a difference in priority can be provided.

例えば、ある映像配信サーバから送信される高画質の映像コンテンツのデータフローに属する通信パケットAと、別の映像配信サーバから送信される低画質の映像コンテンツのデータフローに属する通信パケットBとが同一のネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)同時期に送信される場合であっても、上記高画質の映像コンテンツを提供する映像配信サーバのドメイン名に対応付けられる優先度を、上記低画質の映像コンテンツを提供する映像配信サーバのドメイン名に対応付けられる優先度よりも高くしておけば、通信パケットAを優先的に伝送することができるという効果を奏する。   For example, the communication packet A belonging to the data flow of high-quality video content transmitted from a certain video distribution server and the communication packet B belonging to the data flow of low-quality video content transmitted from another video distribution server are the same. Domain of the video distribution server that provides the high-quality video content even if it is transmitted at the same time using the negotiation protocol (or when the negotiation protocol used is different but the port number used is the same) If the priority associated with the name is set higher than the priority associated with the domain name of the video distribution server that provides the low-quality video content, the communication packet A can be preferentially transmitted. There is an effect.

したがって、従来技術のように、ネゴシエーションプロトコルの使用するポート番号に応じた優先度を用いて通信パケットAおよび通信パケットBの双方を優先的に伝送する場合に、通信ネットワークの伝送帯域が不足してデータ受信装置における映像の再生に乱れが生じる可能性があるのに対して、本発明に係る通信制御装置は、高い優先度が対応付けられたドメイン名を有する映像配信サーバから送信される通信パケットのみを優先的に伝送し、低い優先度が対応付けられたドメイン名を有する映像配信サーバから送信される通信パケットは優先的に伝送しないようにすることができるので、上記高い優先度を対応付けられたドメイン名を有する映像配信サーバから送信されるデータフローを受信するデータ受信装置における、映像の再生の乱れを抑制することができるという効果を奏する。   Therefore, when both the communication packet A and the communication packet B are preferentially transmitted using the priority according to the port number used by the negotiation protocol as in the prior art, the transmission bandwidth of the communication network is insufficient. Whereas there is a possibility that the reproduction of the video in the data receiving apparatus may be disturbed, the communication control apparatus according to the present invention is a communication packet transmitted from a video distribution server having a domain name associated with a high priority. Communication packets transmitted from a video distribution server having a domain name associated with a low priority are preferentially transmitted, so that the high priority is associated. In the data receiving device that receives the data flow transmitted from the video distribution server having the specified domain name. An effect that it is possible to suppress the disturbance.

つまり、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。   In other words, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers with different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation.

また、上記課題を解決するために、本発明に係る通信制御装置は、データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットについて、当該通信パケットの伝送を制御しつつ、当該通信パケットを中継する通信制御装置であって、上記第1リクエストの応答は、上記データ送信装置が属するドメインのドメイン名と、上記データ送信装置の通信アドレスと、上記データ受信装置の通信アドレスとを含んでおり、自装置が中継する上記第1リクエストの応答から上記データ送信装置のドメイン名、上記データ送信装置の通信アドレス、および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記ドメイン名/アドレス抽出手段が抽出した上記データ送信装置の通信アドレスと上記データ受信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、および該通信パケットの送信先となる上記データ受信装置の通信アドレスを含んでおり、上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記伝送優先度に応じて、上記データフローを構成する上記通信パケットの伝送を制御するパケット伝送制御手段とを備えることを特徴としている。   In order to solve the above problem, in the communication control device according to the present invention, the data reception device transmits a first request for requesting a communication address of a data transmission device belonging to a domain, and as a response to the first request. Based on the acquired communication address of the data transmitting apparatus, a second request for requesting a data flow composed of a plurality of communication packets is transmitted to the data transmitting apparatus, and the data is transmitted as a response to the second request. A communication control device that relays the communication packet while controlling transmission of the communication packet included in the data flow transmitted from the transmission device to the data reception device, the response of the first request Is the domain name of the domain to which the data transmission device belongs, the communication address of the data transmission device, A communication address of the data receiving apparatus, and from the response of the first request relayed by the own apparatus, the domain name of the data transmitting apparatus, the communication address of the data transmitting apparatus, and the communication address of the data receiving apparatus A domain name / address extracting means for extracting, a first storage for storing the domain name of the data transmitting device and the transmission priority to be set in the communication packet in association with each other; and the domain name / address extracting means Domain priority acquisition means for acquiring the extracted transmission priority associated with the domain name of the data transmission apparatus from the first storage unit, and the data transmission apparatus extracted by the domain name / address extraction means The transmission priority acquired by the domain priority acquisition means for the set of the communication address and the communication address of the data receiving device. And a priority data generation unit that stores the data in the second storage unit, and each communication packet constituting the data flow includes a communication address of the data transmission device that is a transmission source of the communication packet, and A communication address of the data receiving device which is a transmission destination of the communication packet, and a transmission source address / the transmission address of the transmission source and a transmission address of the transmission destination are extracted from the communication packet constituting the data flow The transmission priority associated with the pair of the transmission source address and the transmission destination communication address extracted by the transmission destination address extraction unit and the transmission source address / destination address extraction unit is set as the second transmission priority. According to the packet priority acquisition unit acquired from the storage unit and the transmission priority acquired by the packet priority acquisition unit, And a packet transmission control means for controlling transmission of the communication packet constituting the data flow.

上記の構成によれば、第1リクエストの応答から上記データ送信装置のドメイン名、上記データ送信装置の通信アドレス、および上記データ受信装置の通信アドレスを抽出することができる。また、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部から、上記抽出した上記データ送信装置のドメイン名に対応付けられた伝送優先度を取得することができる。また、上記抽出した上記データ送信装置の通信アドレスと上記データ受信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、上記第2記憶部に格納することができる。   According to said structure, the domain name of the said data transmitter, the communication address of the said data transmitter, and the communication address of the said data receiver can be extracted from the response of a 1st request. Further, the transmission associated with the extracted domain name of the data transmission device from the first storage unit that stores the domain name of the data transmission device and the transmission priority to be set in the communication packet in association with each other. The priority can be acquired. Further, the transmission priority acquired by the domain priority acquisition unit is associated with the set of the extracted communication address of the data transmission device and the communication address of the data reception device, and stored in the second storage unit. be able to.

そして、上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出することができる。また、上記抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得することができる。   The communication address of the transmission source and the communication address of the transmission destination can be extracted from the communication packet constituting the data flow. In addition, the transmission priority associated with the extracted pair of the transmission source communication address and the transmission destination communication address can be acquired from the second storage unit.

最後に、上記取得した上記伝送優先度に応じて、上記データフローを構成する上記通信パケットの伝送を制御することができる。   Finally, transmission of the communication packet constituting the data flow can be controlled according to the acquired transmission priority.

よって、上記データ送信装置のドメイン名毎に対応付けられる上記優先度に応じて、上記通信パケットの伝送を制御しつつ、中継することができる。   Therefore, it is possible to relay the communication packet while controlling the transmission of the communication packet according to the priority associated with each domain name of the data transmitting apparatus.

つまり、上記データ送信装置のドメイン名に対応付けられる上記優先度を高くすることにより、該データ送信装置から送信される通信パケットを、高い優先度で伝送するという制御が可能となる。また、上記データ送信装置のドメイン名に対応付けられる上記優先度を低くすることにより、該データ送信装置から送信される通信パケットを、低い優先度で伝送するという制御が可能となる。   That is, by increasing the priority associated with the domain name of the data transmission device, it is possible to control to transmit communication packets transmitted from the data transmission device with a high priority. In addition, by lowering the priority associated with the domain name of the data transmission device, it is possible to control communication packets transmitted from the data transmission device to be transmitted with a low priority.

さらに言えば、同一ネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)伝送される通信パケット同士についても、該通信パケットの送信元のデータ送信装置のドメイン名が異なる場合は、優先度に差を設けることができる。   Furthermore, even for communication packets transmitted using the same negotiation protocol (or when the negotiation protocol used is different but the same port number is used), the domain name of the data transmission device that is the transmission source of the communication packet is also used. If they are different, a difference in priority can be provided.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation .

た、上記課題を解決するために、本発明に係る中継装置は、パケットを中継する中継装置であって、QoS対象となる第1ドメイン名および第2ドメイン名を少なくとも記憶するQoS対象記憶部と、上記中継するパケットが、第1のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致するか否かを判定することに加え、上記中継するパケットが、第2のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致するか否かを判定するドメイン名/アドレス解決パケット検出手段と、上記判定の結果、上記第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致し、かつ、上記第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致する場合、上記第1のドメイン名/アドレス解決パケットおよび第2のドメイン名/アドレス解決パケットからアドレスを抽出し、該抽出したアドレスを含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納する優先度データ生成処理手段と、上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継するパケット優先伝送処理手段とを備えることを特徴としている。 Also, in order to solve the above problem, a relay apparatus according to the present invention is a relay apparatus for relaying a packet, QoS target storage unit that stores at least a first domain name and a second domain name becomes QoS target And detecting that the packet to be relayed is the first domain name / address resolution packet, and the domain name to be queried included in the detected first domain name / address resolution packet and the QoS target. In addition to determining whether or not the first domain name stored in the storage unit matches, it is detected that the packet to be relayed is a second domain name / address resolution packet, and the detection Domain name to be queried included in the second domain name / address resolution packet that has been sent and the second domain name stored in the QoS target storage unit. Domain name / address resolution packet detecting means for determining whether or not the in-name matches, and as a result of the determination, the domain name to be queried included in the first domain name / address resolution packet and the QoS target storage The first domain name stored in the second domain name and the domain name to be queried included in the second domain name / address resolution packet and the second domain name stored in the QoS target storage unit , The address is extracted from the first domain name / address resolution packet and the second domain name / address resolution packet, the priority data including the extracted address is generated, and the generated priority Priority data generation processing means for storing data in the packet priority storage unit, an address included in the packet to be relayed, and the above If the address included in the priority data stored in the packet priority storage unit match, it is characterized in that it comprises a packet priority transmission processing unit to be relayed by priority the packet.

上記の構成によれば、上記中継するパケットが、第1のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と、QoS対象となるドメインの第1ドメイン名および第2ドメイン名を少なくとも記憶するQoS対象記憶部に記憶されている第1ドメイン名とが一致するか否かを判定することができる。さらに、上記中継するパケットが、DNSの第2のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致するか否かを判定することができる。そして、上記判定の結果、上記第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致し、かつ、上記第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致する場合、上記第1のドメイン名/アドレス解決パケットおよび第2のドメイン名/アドレス解決パケットに含まれるアドレスを抽出し、該抽出したアドレス含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納することができる。そして、上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継することができる。   According to the above configuration, it is detected that the packet to be relayed is the first domain name / address resolution packet, and the domain to be queried included in the detected first domain name / address resolution packet It is possible to determine whether or not the name matches the first domain name stored in the QoS target storage unit that stores at least the first domain name and the second domain name of the domain that is the QoS target. Further, it is detected that the packet to be relayed is a DNS second domain name / address resolution packet, and the domain name to be queried included in the detected second domain name / address resolution packet is It can be determined whether or not the second domain name stored in the QoS target storage unit matches. As a result of the determination, the domain name to be queried included in the first domain name / address resolution packet matches the first domain name stored in the QoS target storage unit, and the second If the domain name to be queried included in the domain name / address resolution packet of the second domain name matches the second domain name stored in the QoS target storage unit, the first domain name / address resolution packet and the second It is possible to extract an address included in the domain name / address resolution packet, generate priority data including the extracted address, and store the generated priority data in the packet priority storage unit. When the address included in the packet to be relayed matches the address included in the priority data stored in the packet priority storage unit, the packet can be relayed preferentially.

よって、ドメイン名の組に応じて、上記パケットを中継することができる。   Therefore, the packet can be relayed according to the set of domain names.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名の組に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is ( For example, it is possible to preferentially transmit (only the data flow of high-quality video content), so that the QoS can be realized even in the above situation .

お、上記通信制御装置および中継装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各手段として動作させることにより上記通信制御装置および中継装置をコンピュータにて実現させる上記通信制御装置および中継装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 Na us, the communication control device and the relay device may be realized by a computer, in this case, the communication to realize the communication control device and a relay device on a computer by operating the computer as each means described above A control program for the control device and the relay device, and a computer-readable recording medium on which the control program is recorded also fall within the scope of the present invention.

以上のように、本発明に係る中継装置は、データ送信装置とデータ受信装置とがやりとりするパケットを中継する中継装置であって、QoSの対象となるQoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名を少なくとも記憶するQoS対象記憶部と、上記データ送信装置のアドレスを解決するためのドメイン名/アドレス解決パケットであって、当該データ送信装置が属するドメインのドメイン名、並びに、当該データ送信装置、ドメイン名/アドレス解決パケットの送信元の装置、ドメイン名/アドレス解決パケットの送信先の装置、および、上記データ受信装置の少なくともいずれか1つのアドレスを含む、ドメイン名/アドレス解決パケットを取得する手段と、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスを抽出し、該抽出したアドレスより成るアドレス群を生成し、該生成したアドレス群をパケット優先度記憶部に格納する優先度データ生成処理手段と、上記中継するパケットに含まれる1または複数個のアドレスより成るアドレス群が上記パケット優先度記憶部に記憶されたアドレス群のいずれかと一致するとき、上記中継するパケットを優先的に伝送させる優先伝送処理を行なうパケット優先伝送処理手段とを備えている。 As described above, the relay device according to the present invention is a relay device that relays a packet exchanged between a data transmission device and a data reception device, and the data transmission device that transmits a QoS target packet to be subjected to QoS is provided. A QoS target storage unit for storing at least a domain name of a domain to which the domain belongs; a domain name / address resolution packet for resolving an address of the data transmission device, the domain name of the domain to which the data transmission device belongs; A domain name / address resolution packet including an address of at least one of a data transmission device, a domain name / address resolution packet transmission source device, a domain name / address resolution packet transmission destination device, and the data reception device And the above domain name / address resolution packet The domain acquired by the means for acquiring the domain name / address resolution packet when the domain name included in the domain name / address resolution packet acquired by the acquiring means matches the domain name stored in the QoS target storage unit Priority data generation processing means for extracting one or a plurality of addresses contained in a name / address resolution packet, generating an address group composed of the extracted addresses, and storing the generated address group in a packet priority storage unit And a priority for transmitting the relayed packet preferentially when the address group consisting of one or more addresses included in the relayed packet matches one of the address groups stored in the packet priority storage unit. Packet preferential transmission processing means for performing transmission processing.

よって、データ送信装置が属するドメインのドメイン名に応じて、パケットを優先的に中継することができる。Therefore, packets can be relayed preferentially according to the domain name of the domain to which the data transmission apparatus belongs.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation.

また、本発明に係る通信制御装置は、データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットの伝送を制御する通信制御装置であって、上記第1リクエストは、上記データ送信装置が属するドメインのドメイン名と、上記データ受信装置の通信アドレスを含んでおり、上記第1リクエストから上記データ送信装置のドメイン名および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた上記データ送信装置の通信アドレスを取得するアドレス取得手段と、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記ドメイン名/アドレス抽出手段が抽出した上記データ受信装置の通信アドレスと、上記アドレス取得手段が取得した上記データ送信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、該通信パケットの送信先となる上記データ受信装置の通信アドレス、該通信パケットの伝送優先度を含んでおり、上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記優先度を、上記通信パケットの優先度として該通信パケットに設定するパケット優先度設定手段とを備えている。 In the communication control apparatus according to the present invention, the data receiving apparatus transmits a first request for requesting a communication address of a data transmitting apparatus belonging to a domain, and the communication of the data transmitting apparatus acquired as a response to the first request. Based on the address, a second request for requesting a data flow composed of a plurality of communication packets is transmitted to the data transmission device, and the data transmission device responds to the second request by the data transmission device to the data reception device. A communication control apparatus for controlling transmission of the communication packet included in the data flow to be transmitted, wherein the first request includes a domain name of a domain to which the data transmission apparatus belongs and a communication address of the data reception apparatus. The domain name of the data transmitting device and the data receiving device from the first request A domain name / address extracting means for extracting a communication address; an address acquiring means for acquiring a communication address of the data transmitting apparatus associated with a domain name of the data transmitting apparatus extracted by the domain name / address extracting means; A domain name of the data transmission device extracted by the domain name / address extraction means, a first storage unit that stores a domain name of the data transmission device and a transmission priority to be set in the communication packet in association with each other Domain priority acquisition means for acquiring the transmission priority associated with the name from the first storage unit, the communication address of the data receiving device extracted by the domain name / address extraction means, and the address acquisition means The transmission priority acquired by the domain priority acquisition means is combined with the acquired communication address of the data transmission device. And a priority data generation unit that stores the data in the second storage unit, and each communication packet constituting the data flow includes a communication address of the data transmission device that is a transmission source of the communication packet, The communication address of the data receiving device that is the transmission destination of the communication packet, the transmission priority of the communication packet, and the communication address of the transmission source and the communication address of the transmission destination from the communication packet constituting the data flow Source address / destination address extraction means for extracting the transmission, and transmission associated with the pair of the communication address of the transmission source and the communication address of the transmission destination extracted by the transmission source address / transmission destination address extraction means The packet priority acquisition unit that acquires the priority from the second storage unit, and the packet priority acquisition unit that acquires the priority. Packet priority setting means for setting the priority to the communication packet as the priority of the communication packet.

よって、上記データ送信装置のドメイン名毎に対応付けられる上記優先度を、上記通信パケットの伝送の優先度として設定することができ、該設定した優先度に応じて上記通信パケットの伝送を制御することができる。   Therefore, the priority associated with each domain name of the data transmission device can be set as the transmission priority of the communication packet, and the transmission of the communication packet is controlled according to the set priority. be able to.

つまり、上記データ送信装置のドメイン名に対応付けられる上記優先度を高くすることにより、該データ送信装置から送信される通信パケットの優先度を高くして、通信パケットを優先的に伝送するという制御が可能となるという効果を奏する。また、上記データ送信装置のドメイン名に対応付けられる上記優先度を低くすることにより、該データ送信装置から送信される通信パケットの優先度を低くして、他の通信パケットを優先的に伝送するという制御が可能となる。   That is, by increasing the priority associated with the domain name of the data transmitting device, the priority of the communication packet transmitted from the data transmitting device is increased, and the communication packet is preferentially transmitted. There is an effect that becomes possible. In addition, by lowering the priority associated with the domain name of the data transmitting apparatus, the priority of the communication packet transmitted from the data transmitting apparatus is decreased, and other communication packets are transmitted with priority. Control becomes possible.

さらに言えば、同一ネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)伝送される通信パケット同士についても、該通信パケットの送信元のデータ送信装置のドメイン名が異なる場合は、優先度に差を設けることができる。   Furthermore, even for communication packets transmitted using the same negotiation protocol (or when the negotiation protocol used is different but the same port number is used), the domain name of the data transmission device that is the transmission source of the communication packet is also used. If they are different, a difference in priority can be provided.

例えば、ある映像配信サーバから送信される高画質の映像コンテンツのデータフローに属する通信パケットAと、別の映像配信サーバから送信される低画質の映像コンテンツのデータフローに属する通信パケットBとが同一のネゴシエーションプロトコルを用いて(または用いられるネゴシエーションプロトコル自体は異なるが使用するポート番号が同じ場合)同時期に送信される場合であっても、上記高画質の映像コンテンツを提供する映像配信サーバのドメイン名に対応付けられる優先度を、上記低画質の映像コンテンツを提供する映像配信サーバのドメイン名に対応付けられる優先度よりも高くしておけば、通信パケットAを優先的に伝送することができるという効果を奏する。   For example, the communication packet A belonging to the data flow of high-quality video content transmitted from a certain video distribution server and the communication packet B belonging to the data flow of low-quality video content transmitted from another video distribution server are the same. Domain of the video distribution server that provides the high-quality video content even if it is transmitted at the same time using the negotiation protocol (or when the negotiation protocol used is different but the port number used is the same) If the priority associated with the name is set higher than the priority associated with the domain name of the video distribution server that provides the low-quality video content, the communication packet A can be preferentially transmitted. There is an effect.

したがって、従来技術のように、ネゴシエーションプロトコルの使用するポート番号に応じた優先度を用いて通信パケットAおよび通信パケットBの双方を優先的に伝送する場合に、通信ネットワークの伝送帯域が不足してデータ受信装置における映像の再生に乱れが生じる可能性があるのに対して、本発明に係る通信制御装置は、高い優先度が対応付けられたドメイン名を有する映像配信サーバから送信される通信パケットのみを優先的に伝送し、低い優先度が対応付けられたドメイン名を有する映像配信サーバから送信される通信パケットは優先的に伝送しないようにすることができるので、上記高い優先度を対応付けられたドメイン名を有する映像配信サーバから送信されるデータフローを受信するデータ受信装置における、映像の再生の乱れを抑制することができるという効果を奏する。   Therefore, when both the communication packet A and the communication packet B are preferentially transmitted using the priority according to the port number used by the negotiation protocol as in the prior art, the transmission bandwidth of the communication network is insufficient. Whereas there is a possibility that the reproduction of the video in the data receiving apparatus may be disturbed, the communication control apparatus according to the present invention is a communication packet transmitted from a video distribution server having a domain name associated with a high priority. Communication packets transmitted from a video distribution server having a domain name associated with a low priority are preferentially transmitted, so that the high priority is associated. In the data receiving device that receives the data flow transmitted from the video distribution server having the specified domain name. An effect that it is possible to suppress the disturbance.

つまり、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。   In other words, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers with different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation.

また、本発明に係る通信制御装置は、データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットについて、当該通信パケットの伝送を制御しつつ、当該通信パケットを中継する通信制御装置であって、上記第1リクエストの応答は、上記データ送信装置が属するドメインのドメイン名と、上記データ送信装置の通信アドレスと、上記データ受信装置の通信アドレスとを含んでおり、自装置が中継する上記第1リクエストの応答から上記データ送信装置のドメイン名、上記データ送信装置の通信アドレス、および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記ドメイン名/アドレス抽出手段が抽出した上記データ送信装置の通信アドレスと上記データ受信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、および該通信パケットの送信先となる上記データ受信装置の通信アドレスを含んでおり、上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記伝送優先度に応じて、上記データフローを構成する上記通信パケットの伝送を制御するパケット伝送制御手段とを備えている。   In the communication control apparatus according to the present invention, the data receiving apparatus transmits a first request for requesting a communication address of a data transmitting apparatus belonging to a domain, and the communication of the data transmitting apparatus acquired as a response to the first request. Based on the address, a second request for requesting a data flow composed of a plurality of communication packets is transmitted to the data transmission device, and the data transmission device responds to the second request by the data transmission device to the data reception device. The communication control device relays the communication packet while controlling the transmission of the communication packet included in the data flow to be transmitted, and the response to the first request belongs to the data transmission device The domain name of the domain, the communication address of the data transmission device, and the communication of the data reception device Domain name / address for extracting the domain name of the data transmission device, the communication address of the data transmission device, and the communication address of the data reception device from the response of the first request relayed by the device itself A first storage unit that associates and stores an extraction unit, a domain name of the data transmission device, and a transmission priority to be set in the communication packet; and the data transmission extracted by the domain name / address extraction unit Domain priority acquisition means for acquiring the transmission priority associated with the domain name of the apparatus from the first storage unit, the communication address of the data transmission apparatus extracted by the domain name / address extraction means, and the data reception A second storage unit that associates the transmission priority acquired by the domain priority acquisition unit with a set of the communication address of the device; Each of the communication packets constituting the data flow includes a communication address of the data transmission device serving as a transmission source of the communication packet, and the data serving as a transmission destination of the communication packet. A transmission source address / transmission destination address extracting means for extracting the transmission source communication address and the transmission destination communication address from the communication packet constituting the data flow; Packet priority acquisition means for acquiring, from the second storage unit, the transmission priority associated with the pair of the transmission source communication address and the transmission destination communication address extracted by the address / destination address extraction means And configuring the data flow according to the transmission priority acquired by the packet priority acquisition means. Packet transmission control means for controlling transmission of the communication packet.

よって、上記データ送信装置のドメイン名毎に対応付けられる上記優先度に応じて、上記通信パケットの伝送を制御しつつ、中継することができる。   Therefore, it is possible to relay the communication packet while controlling the transmission of the communication packet according to the priority associated with each domain name of the data transmitting apparatus.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation .

た、本発明に係る中継装置は、パケットを中継する中継装置であって、QoS対象となる第1ドメイン名および第2ドメイン名を少なくとも記憶するQoS対象記憶部と、上記中継するパケットが、第1のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致するか否かを判定することに加え、上記中継するパケットが、第2のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致するか否かを判定するドメイン名/アドレス解決パケット検出手段と、上記判定の結果、上記第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致し、かつ、上記第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致する場合、上記第1のドメイン名/アドレス解決パケットおよび第2のドメイン名/アドレス解決パケットからアドレスを抽出し、該抽出したアドレスを含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納する優先度データ生成処理手段と、上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継するパケット優先伝送処理手段とを備えている。 Also, a relay device according to the present invention is a relay apparatus for relaying a packet, and QoS target storage unit that stores at least a first domain name and a second domain name becomes QoS target packet to the relay, The first domain name / address resolution packet is detected, and the query target domain name included in the detected first domain name / address resolution packet is stored in the QoS target storage unit. In addition to determining whether or not the one domain name matches, it is detected that the packet to be relayed is the second domain name / address resolution packet, and the detected second domain name / Whether the domain name to be queried included in the address resolution packet matches the second domain name stored in the QoS target storage unit Domain name / address resolution packet detection means for determination, domain name to be queried included in the first domain name / address resolution packet as a result of the determination, and first domain name stored in the QoS target storage unit And the domain name to be queried included in the second domain name / address resolution packet matches the second domain name stored in the QoS target storage unit, the first domain name An address is extracted from the domain name / address resolution packet and the second domain name / address resolution packet, priority data including the extracted address is generated, and the generated priority data is stored in the packet priority storage unit. Priority data generation processing means, address included in the packet to be relayed, and stored in the packet priority storage unit If the address included in the priority data match, and a packet priority transmission processing unit to be relayed by priority the packet.

よって、ドメイン名の組に応じて、上記パケットを中継することができる。   Therefore, the packet can be relayed according to the set of domain names.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名の組に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。   Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is ( For example, it is possible to preferentially transmit (only the data flow of high-quality video content), so that the QoS can be realized even in the above situation.

〔実施の形態1〕
本発明の一実施形態について図1〜図13に基づいて説明すると以下の通りである。
[Embodiment 1]
One embodiment of the present invention is described below with reference to FIGS.

本実施の形態において、「パケット」とは、通信ネットワーク上を伝送する通信パケットを指す。   In the present embodiment, “packet” refers to a communication packet transmitted over a communication network.

また、本実施の形態において、「データフロー」とは、連続して伝送する必要のある一連のデータに属する連続したパケット群を指す。連続して伝送する必要のある一連のデータとは、例えば、1つの映像コンテンツ、または、1つの音声コンテンツなど、意味のあるひとまとまりのデータである。したがって、例を挙げると、サーバなどの装置に保持されている1つの映像コンテンツなどを一連の複数のパケットとして受信装置に送信する際の、上記一連の複数のパケットが、データフローである。   In this embodiment, “data flow” refers to a group of consecutive packets belonging to a series of data that needs to be transmitted continuously. A series of data that needs to be transmitted continuously is, for example, a meaningful group of data such as one video content or one audio content. Therefore, to give an example, a series of the plurality of packets when a single video content or the like held in a device such as a server is transmitted to the receiving apparatus as a series of a plurality of packets is a data flow.

さらに、映像コンテンツのデータフローおよびWebコンテンツのデータフローを、それぞれ「映像データフロー」および「Webデータフロー」とも称する。また、映像データフローに属するパケットを「映像パケット」と、Webデータフローに属するパケットを「Webデータパケット」とも称する。   Furthermore, the data flow of the video content and the data flow of the Web content are also referred to as “video data flow” and “Web data flow”, respectively. Packets belonging to the video data flow are also referred to as “video packets”, and packets belonging to the web data flow are also referred to as “Web data packets”.

また、本実施の形態では、映像パケットの優先度(伝送優先度)は、Webデータパケットの優先度よりも高く設定されるものとする。そのため、映像パケットは、Webデータパケットよりも優先的に通信ネットワークに送出される。   In the present embodiment, it is assumed that the priority of the video packet (transmission priority) is set higher than the priority of the Web data packet. Therefore, the video packet is sent to the communication network with priority over the Web data packet.

(パケットの優先度)
本実施の形態において、IPネットワーク上で伝送されるパケットの優先度は、IPv4(IP Version 4)ヘッダの先頭から2バイト目のDSCP(Differentiated Services Code)と称されるフィールドの上位3ビットで表わされる値、または、IPv6(IP Version 6)ヘッダのトラヒッククラスフィールドに含まれるDSCPと称されるフィールドの上位3ビットで表わされる値である。そのため、IPネットワーク上で伝送されるパケットの優先度は、0(最も優先度が低い)から7(最も優先度が高い)までの8段階の値をとり得る。
(Packet priority)
In this embodiment, the priority of a packet transmitted on the IP network is represented by the upper 3 bits of a field called DSCP (Differentiated Services Code) in the second byte from the head of the IPv4 (IP Version 4) header. Or a value represented by the upper 3 bits of a field called DSCP included in the traffic class field of the IPv6 (IP Version 6) header. Therefore, the priority of a packet transmitted on the IP network can take eight levels from 0 (lowest priority) to 7 (highest priority).

なお、DSCPフィールドは、以前は、TOS(Type Of Service)として定義されていたフィールドであり、IPv4ヘッダの2バイト目の上位6ビットを用いて、最大で64段階の優先度を表わすことができるものである。DSCPフィールドの上位3ビットはTOSフィールドと互換性がある。   The DSCP field is a field previously defined as TOS (Type Of Service), and can represent a maximum of 64 levels of priority using the upper 6 bits of the second byte of the IPv4 header. Is. The upper 3 bits of the DSCP field are compatible with the TOS field.

また、本実施の形態において、PLC(Power Line Communication:電力線搬送通信)ネットワークとは、HomePlugAV仕様(HomePlug AV Specification Version 1.0.10)に準拠したPLCを用いたLANを想定している。そして、PLCネットワーク上で伝送されるパケットは、CAP(Channel Access Priority)と称される4段階の値をとり得る優先度によって、優先制御が可能である。   In the present embodiment, a PLC (Power Line Communication) network is assumed to be a LAN using a PLC compliant with the HomePlug AV Specification (HomePlug AV Specification Version 1.0.10). The packets transmitted on the PLC network can be controlled with priority according to the priority that can take four levels called CAP (Channel Access Priority).

なお、DSCPとCAPとは相互に変換可能である。HomePlugAV規格では、DSCPとCAPについて、下記の表1に示すようにマッピングすることが推奨されている。表1は、DSCPとCAPとのマッピングの一例を示す表である。表1に示すように、DSCPの値が0または3である場合、対応するCAPの値は1とする。また、DSCPの値が1または2である場合、対応するCAPの値は0とする。また、DSCPの値が4または5である場合、対応するCAPの値は2とする。また、DSCPの値が6または7である場合、対応するCAPの値は3とする。また、パケットの種類に応じて推奨されるDSCP値も規定されている。例えば、映像パケットのDSCP値としては「5」、音声パケットのDSCP値としては「6」を使用することが推奨されている(厳密にはDSCP値ではなく、UserPriority値について記載されているが、UserPriority値とDSCP値は同じものと考えてよい。これらの関係はIEEE802.1D規格にて規定されているが、詳細は省略する)。   Note that DSCP and CAP can be converted to each other. In the HomePlugAV standard, it is recommended that DSCP and CAP are mapped as shown in Table 1 below. Table 1 is a table showing an example of mapping between DSCP and CAP. As shown in Table 1, when the DSCP value is 0 or 3, the corresponding CAP value is 1. When the DSCP value is 1 or 2, the corresponding CAP value is 0. When the DSCP value is 4 or 5, the corresponding CAP value is 2. When the DSCP value is 6 or 7, the corresponding CAP value is 3. Also, a recommended DSCP value is defined according to the type of packet. For example, it is recommended to use “5” as the DSCP value of the video packet and “6” as the DSCP value of the audio packet (strictly, it describes the UserPriority value, not the DSCP value, It can be considered that the UserPriority value and the DSCP value are the same (the relationship is defined in the IEEE 802.1D standard, but details are omitted).

なお、DSCPとCAPとのマッピングは、必ずしもHomePlugAV規格での規定に従う必要はなく、他のマッピングであってもよい。   Note that the mapping between DSCP and CAP does not necessarily conform to the provisions of the HomePlugAV standard, and may be another mapping.

Figure 2009284456
Figure 2009284456

IPパケットを受信したPLCアダプタは、該受信したIPパケットのIPヘッダのDSCPの値を抽出し、例えば表1で示したマッピングに基づいて、対応するCAPを決定する。そして、該決定したCAPに基づいて、PLCネットワーク上でのパケットの優先制御を行なう。なお、通常、PLCアダプタには、工場出荷時などに、表1で示したようなマッピング情報が記憶されている。また、CAPは、一般的に、PLCネットワーク上で伝送されるパケットのPLCヘッダ(MAC層のヘッダ)に含めて送信されるが、他の方法によって送信されてもよく、本実施の形態では特に限定しない。   The PLC adapter that has received the IP packet extracts the DSCP value of the IP header of the received IP packet, and determines the corresponding CAP based on the mapping shown in Table 1, for example. Based on the determined CAP, priority control of packets on the PLC network is performed. Normally, mapping information as shown in Table 1 is stored in the PLC adapter at the time of factory shipment. The CAP is generally transmitted by being included in a PLC header (MAC layer header) of a packet transmitted on the PLC network. However, the CAP may be transmitted by other methods, and particularly in the present embodiment. Not limited.

また、無線LAN上で伝送されるパケットについても、無線LANネットワークでの優先度に応じた優先制御が可能である。なお、該優先度はDSCPと相互に変換可能であり、そのマッピングは、DSCPとCAPとのマッピングとほぼ同様であるので、ここではその説明を省略する。なお、本実施の形態では、無線LANとして、特に、IEEE802.11eまたはIEEE802.11nを想定している。   Moreover, priority control according to the priority in a wireless LAN network is possible also about the packet transmitted on wireless LAN. Note that the priority can be converted mutually with DSCP, and the mapping thereof is almost the same as the mapping between DSCP and CAP, and therefore the description thereof is omitted here. Note that, in this embodiment, IEEE 802.11e or IEEE 802.11n is assumed as the wireless LAN.

(通信制御システムの基本構成)
図2を参照しながら、本実施の形態に係る通信制御装置を含む通信制御システムの基本構成について説明する。図2は、本実施の形態に係る通信制御装置を含む通信制御システムの基本構成例を模式的に示すブロック図である。図示のように、上記通信制御システムは、本実施の形態に係る通信制御装置100、サーバ600、中継装置300、およびデータ送受信装置400を含んで構成される。
(Basic configuration of communication control system)
A basic configuration of a communication control system including the communication control apparatus according to the present embodiment will be described with reference to FIG. FIG. 2 is a block diagram schematically showing a basic configuration example of a communication control system including the communication control apparatus according to the present embodiment. As illustrated, the communication control system includes a communication control apparatus 100, a server 600, a relay apparatus 300, and a data transmission / reception apparatus 400 according to the present embodiment.

この例では、本実施の形態に係る通信制御装置100は、第1通信ネットワーク500に接続されている中継装置300のうちの一つ、および、第2通信ネットワーク700に通信可能に接続されている。そして、通信制御装置100は、第1通信ネットワーク500と第2通信ネットワーク700との間でやりとりされるパケットの伝送を制御し、QoSを実現する。   In this example, the communication control apparatus 100 according to the present embodiment is communicably connected to one of the relay apparatuses 300 connected to the first communication network 500 and the second communication network 700. . Then, the communication control apparatus 100 controls transmission of packets exchanged between the first communication network 500 and the second communication network 700 to realize QoS.

第1通信ネットワーク500には、複数の中継装置300が、相互に通信可能に接続されている。さらに、通信制御装置100に接続されている中継装置300以外の中継装置300は、それぞれデータ送受信装置400と通信可能に接続されている。第1通信ネットワーク500としては、例えば、ユーザ宅内に構築されたLAN(PLCを利用したLANであるPLCネットワークや無線LANなど)などが挙げられる。   A plurality of relay apparatuses 300 are connected to the first communication network 500 so that they can communicate with each other. Further, the relay apparatuses 300 other than the relay apparatus 300 connected to the communication control apparatus 100 are connected to the data transmitting / receiving apparatus 400 so as to be able to communicate with each other. Examples of the first communication network 500 include a LAN (PLC network or wireless LAN that is a LAN using a PLC) constructed in a user's home.

中継装置300は、データ送受信装置400(データ受信装置)同士の通信、または、第2通信ネットワーク700に接続されているサーバ600(データ送信装置)とデータ送受信装置400との通信を中継する装置である。中継装置300としては、例えば、PLCネットワークとしての第1通信ネットワーク500で用いられるブリッジ装置であるPLCアダプタや、無線LANとしての第1通信ネットワーク500で用いられるブリッジ装置である無線LANアダプタなどが挙げられる。中継装置300は、データ送受信装置400または通信制御装置100から自装置に到着したパケットを、第1通信ネットワーク500に送出する。また逆に、第1通信ネットワーク500を介して自装置に到着したパケットを、データ送受信装置400または通信制御装置100に送出する。上記送出において、自装置に到着したパケットの優先度に基づいた伝送制御を行なうように構成されていてもよい。   The relay device 300 is a device that relays communication between the data transmission / reception devices 400 (data reception devices) or communication between the server 600 (data transmission device) connected to the second communication network 700 and the data transmission / reception device 400. is there. Examples of the relay device 300 include a PLC adapter that is a bridge device used in the first communication network 500 as a PLC network, and a wireless LAN adapter that is a bridge device used in the first communication network 500 as a wireless LAN. It is done. The relay device 300 sends a packet that arrives at the device from the data transmitting / receiving device 400 or the communication control device 100 to the first communication network 500. Conversely, a packet arriving at its own device via the first communication network 500 is sent to the data transmitting / receiving device 400 or the communication control device 100. In the above transmission, transmission control may be performed based on the priority of the packet arriving at the own device.

データ送受信装置400は、例えば、映像コンテンツ、Webコンテンツ、VoIP(Voice over Internet Protocol)データなどの各種データを送受信する端末であり、具体的には、TV(ネットワーク接続可能なもの)、ハードディスクレコーダ(ネットワーク接続可能なもの)、STB、IPパケットをアナログ電話信号に変換する装置であるVoIPアダプタなどである。なお、さらに、PC(Personal Computer)、VoIPアダプタの機能を内蔵した電話機であるIP電話機、映像データや音声データをIPパケットとして送信する装置であるIPカメラ、ネットワークアクセス可能なハードディスクであるNAS(Network Attached Storage)など、最終的にデータを受信(または送信)する端末を含めてデータ送受信装置400としてもよい。   The data transmission / reception device 400 is a terminal that transmits and receives various data such as video content, Web content, VoIP (Voice over Internet Protocol) data, and more specifically, a TV (a device that can be connected to a network), a hard disk recorder ( VoIP adapter, which is a device that converts an IP packet into an analog telephone signal. Furthermore, a PC (Personal Computer), an IP telephone that is a telephone with a built-in VoIP adapter function, an IP camera that is a device that transmits video data and audio data as IP packets, and a NAS (Network that is a network-accessible hard disk) A data transmission / reception device 400 may include a terminal that finally receives (or transmits) data, such as Attached Storage.

サーバ600は、各種コンテンツを提供するサーバであり、例えば、映像コンテンツを提供する映像配信サーバ、Webコンテンツを提供するWebサーバなどが挙げられる。サーバ600が接続する第2通信ネットワーク700は、例えば、IP網やNGN(Next Generation Network)網などのアクセスネットワークを含むインターネットが挙げられる。第2通信ネットワーク700は複数のネットワークが接続されたものであってもよい。   The server 600 is a server that provides various contents. Examples of the server 600 include a video distribution server that provides video contents and a Web server that provides Web contents. Examples of the second communication network 700 to which the server 600 is connected include the Internet including an access network such as an IP network and an NGN (Next Generation Network) network. The second communication network 700 may be a network in which a plurality of networks are connected.

上記構成において、サーバ600からデータ送受信装置400への通信における、通信制御装置100の動作について説明する。まず、サーバ600が、データ送受信装置400に対してデータフローを送信する。そして、その経路上に存在する通信制御装置100が、該データフローを、サーバ600から中継装置300に転送する。このとき、通信制御装置100が、転送するデータフローを、送信元であるサーバ600のドメイン名に応じて予め設定された伝送優先度をパケットに設定した上で、中継装置300に転送することが、本実施の形態に係る通信制御装置の主な特徴である。   The operation of the communication control apparatus 100 in communication from the server 600 to the data transmitting / receiving apparatus 400 in the above configuration will be described. First, the server 600 transmits a data flow to the data transmission / reception device 400. Then, the communication control device 100 existing on the route transfers the data flow from the server 600 to the relay device 300. At this time, the communication control apparatus 100 may transfer the data flow to be transferred to the relay apparatus 300 after setting a transmission priority set in advance in accordance with the domain name of the server 600 that is the transmission source. These are the main features of the communication control apparatus according to the present embodiment.

なお、通信制御装置100からデータフローを受信した中継装置300は、該受信したデータフローを第1通信ネットワーク500にて伝送可能な信号に変換し、該変換後の信号を、第1通信ネットワーク500に送出することによって、データ送受信装置400に接続されている中継装置300にデータフローを転送する。そして、該データ送受信装置400に接続されている中継装置300は、受信した信号を、データ送受信装置400が受信可能な信号に変換し、該変換後のデータフローをデータ送受信装置400に送信する。   The relay device 300 that has received the data flow from the communication control device 100 converts the received data flow into a signal that can be transmitted in the first communication network 500, and converts the converted signal into the first communication network 500. The data flow is transferred to the relay device 300 connected to the data transmission / reception device 400. Then, the relay device 300 connected to the data transmission / reception device 400 converts the received signal into a signal that can be received by the data transmission / reception device 400, and transmits the converted data flow to the data transmission / reception device 400.

なお、データ送受信装置400からサーバ600への通信における、通信制御装置100および中継装置300の動作については、通信の流れが逆方向になるが、同様である。   The operations of the communication control device 100 and the relay device 300 in the communication from the data transmitting / receiving device 400 to the server 600 are the same although the flow of communication is in the opposite direction.

以上のように、図2に示すシステムでは、サーバ600とデータ送受信装置400とが、通信制御装置100を介して、各種データフローを送受信する。   As described above, in the system illustrated in FIG. 2, the server 600 and the data transmission / reception device 400 transmit and receive various data flows via the communication control device 100.

(通信制御システムの具体的構成例)
図3を参照しながら、図2で示した通信制御システムの具体的構成例について説明する。図3は、図2で示した通信制御システムの具体的構成の一例を模式的に示すブロック図である。図3では、図2で示した各装置および通信ネットワークのそれぞれに対して、具体例を当てはめている。
(Specific configuration example of communication control system)
A specific configuration example of the communication control system shown in FIG. 2 will be described with reference to FIG. FIG. 3 is a block diagram schematically showing an example of a specific configuration of the communication control system shown in FIG. In FIG. 3, a specific example is applied to each device and communication network shown in FIG.

図3では、PLCを利用したLANであるPLCネットワーク501が、図2で示した第1通信ネットワーク500に相当する。また、PLCネットワークで用いられるブリッジ装置であるPLCアダプタ301、PLCアダプタ302、およびPLCアダプタ303が、それぞれ図2で示した3台の中継装置300に相当する。   In FIG. 3, a PLC network 501 that is a LAN using a PLC corresponds to the first communication network 500 shown in FIG. Further, the PLC adapter 301, the PLC adapter 302, and the PLC adapter 303, which are bridge devices used in the PLC network, correspond to the three relay devices 300 shown in FIG.

また、STB402、PC403、およびSTB404が、それぞれ図2で示した3台のデータ送受信装置400に相当する。図3では、さらに、STB402およびSTB404は、受信した映像を表示するために、それぞれテレビ405およびテレビ406に通信可能に接続されている。なお、図3では、PLCアダプタ302およびPLCアダプタ303は、それぞれ独立した装置として図示しているが、PLCアダプタ302は、STB402およびPC403に内蔵される構成であってもよいし、PLCアダプタ303はSTB404に内蔵される構成であってもよい。   Further, the STB 402, the PC 403, and the STB 404 correspond to the three data transmitting / receiving apparatuses 400 shown in FIG. In FIG. 3, STB 402 and STB 404 are further communicatively connected to television 405 and television 406, respectively, for displaying received video. In FIG. 3, the PLC adapter 302 and the PLC adapter 303 are illustrated as independent devices. However, the PLC adapter 302 may be built in the STB 402 and the PC 403, and the PLC adapter 303 may be The STB 404 may be built in.

なお、本実施の形態では、STB402のIPアドレスが「192.168.0.2」であり、PC403のIPアドレスが「192.168.0.3」であり、STB404のIPアドレスが「192.168.0.4」であるものとする。   In this embodiment, it is assumed that the IP address of the STB 402 is “192.168.0.2”, the IP address of the PC 403 is “192.168.0.3”, and the IP address of the STB 404 is “192.168.0.4”.

また、図3では、インターネット701が、図2で示した第2通信ネットワーク700に相当する。また、DNS(Domain Name System)サーバ601、アップデートサーバ602、映像配信サーバ603、映像配信サーバ604、およびWebサーバ605が、図2で示したサーバ600に相当する。   In FIG. 3, the Internet 701 corresponds to the second communication network 700 shown in FIG. A DNS (Domain Name System) server 601, an update server 602, a video distribution server 603, a video distribution server 604, and a Web server 605 correspond to the server 600 shown in FIG.

DNSサーバ601は、一般的なDNSサーバである。つまり、ドメイン名毎に、対応するIPアドレスを管理しており、外部装置から、問合せ対象となる装置のIPアドレスを問合せるメッセージであって、該問合せ対象となる装置のドメイン名を含むメッセージ(以下、DNS問合せメッセージ)を受信する。そして、該受信したDNS問合せメッセージに含まれる問合せ対象の装置のドメイン名に対応するIPアドレスを含む応答メッセージを、DNS問合せメッセージの送信元に返信する(すなわち、名前解決をすることができる)。以下では、上記応答メッセージをDNS応答メッセージと称する。   The DNS server 601 is a general DNS server. That is, for each domain name, a corresponding IP address is managed, and a message that inquires an IP address of a device to be queried from an external device, and that includes the domain name of the device to be queried (hereinafter referred to as “message”) , DNS inquiry message). Then, a response message including the IP address corresponding to the domain name of the device to be queried included in the received DNS inquiry message is returned to the DNS inquiry message transmission source (that is, name resolution can be performed). Hereinafter, the response message is referred to as a DNS response message.

アップデートサーバ602は、HGW(Home Gateway)101(通信制御装置)の販売元などが運営するデータサーバを想定しており、所定のプロトコルを用いて、更新データや更新プログラムをHGW101に提供するサーバである。本実施の形態では、特に、HGW101のQoS対象記憶部22(後述)にて記憶するデータを提供する。そのために、アップデートサーバ602は、QoS対象記憶部22のエントリを構成するデータ(サービス名、ドメイン名、優先度の組)を外部に提供可能な状態で記憶している。なお、アップデートサーバ602への、上記データの格納は、アップデートサーバ602の管理者が行なうものとする。また、アップデートサーバ602にて記憶されているドメイン名は、一般的な正規表現で記述されていてもよい。正規表現の用途については後述する。   The update server 602 is assumed to be a data server operated by a distributor of an HGW (Home Gateway) 101 (communication control device), and is a server that provides update data and an update program to the HGW 101 using a predetermined protocol. is there. In the present embodiment, in particular, data stored in the QoS target storage unit 22 (described later) of the HGW 101 is provided. For this purpose, the update server 602 stores data (a set of service name, domain name, and priority) constituting an entry of the QoS target storage unit 22 in a state where it can be provided to the outside. It is assumed that the administrator of the update server 602 stores the data in the update server 602. Further, the domain name stored in the update server 602 may be described by a general regular expression. The use of regular expressions will be described later.

映像配信サーバ603および映像配信サーバ604は、映像コンテンツを提供する、一般的な映像配信サーバである。なお、映像配信サーバ603および映像配信サーバ604にて提供されるサービス内容(例えば、配信する映像のフォーマットや映像を伝送するためのプロトコルなど)は異なるものとし、ここでは、映像配信サーバ603が提供しているサービスを「映像配信サービスA」と称し、映像配信サーバ604が提供しているサービスを「映像配信サービスC」と称する。   The video distribution server 603 and the video distribution server 604 are general video distribution servers that provide video content. Note that the service contents provided by the video distribution server 603 and the video distribution server 604 (for example, the format of the video to be distributed and the protocol for transmitting the video, etc.) are different, and here, the video distribution server 603 provides The service being provided is referred to as “video distribution service A”, and the service provided by the video distribution server 604 is referred to as “video distribution service C”.

Webサーバ605は、Webコンテンツのデータ(HTML(Hyper Text Markup Language)データなど)を提供する、一般的なWebサーバである。   The Web server 605 is a general Web server that provides Web content data (such as HTML (Hyper Text Markup Language) data).

なお、本実施の形態では、映像配信サーバ603のIPアドレスは「101.101.101.1」であり、映像配信サーバ604のIPアドレスは「103.103.103.1」であり、Webサーバ605のIPアドレスは「105.105.105.1」であるものとする。また、映像配信サーバ603のドメイン名は「sv1.vod.service-a.co.jp」であり、映像配信サーバ604のドメイン名は「vod1.service-c.ne.jp」であるものとする。   In the present embodiment, the IP address of the video distribution server 603 is “101.101.101.1”, the IP address of the video distribution server 604 is “103.103.103.1”, and the IP address of the Web server 605 is “105.105. 105.1 ”. The domain name of the video distribution server 603 is “sv1.vod.service-a.co.jp”, and the domain name of the video distribution server 604 is “vod1.service-c.ne.jp”. .

最後に、HGW101が、図2で示した通信制御装置100に相当する。また、HGW101は一般的なDNSサーバの機能をさらに備えるものとし、STB402、PC403、およびSTB404は、HGW101をデフォルトのDNSサーバとして認識しているものとする。   Finally, the HGW 101 corresponds to the communication control apparatus 100 shown in FIG. Further, it is assumed that the HGW 101 further includes a general DNS server function, and the STB 402, the PC 403, and the STB 404 recognize the HGW 101 as a default DNS server.

なお、本実施の形態では、HGW101のLAN側のIPアドレス(すなわち、PLCネットワーク501に接続されている側のIPアドレス)が「192.168.0.1」であり、WAN側のIPアドレス(すなわち、インターネット701に接続されている側のIPアドレス)が「100.100.100.1」であるものとする。   In this embodiment, the IP address on the LAN side of the HGW 101 (that is, the IP address connected to the PLC network 501) is “192.168.0.1”, and the IP address on the WAN side (that is, the Internet 701). IP address on the side connected to “100.100.100.1”.

上記構成において、例えば、ユーザがテレビ405にて映像コンテンツを視聴する場合は、STB402が、PLCアダプタ302、PLCアダプタ301、およびHGW101を介して、映像配信サーバ603または映像配信サーバ604から映像データフローを受信し、該受信した映像データフローをテレビ405に出力する。   In the above configuration, for example, when the user views video content on the television 405, the STB 402 performs video data flow from the video distribution server 603 or the video distribution server 604 via the PLC adapter 302, the PLC adapter 301, and the HGW 101. And the received video data flow is output to the television 405.

そして、HGW101は、インターネット701から受信する映像データフローに属するパケットの優先度を、送信元である映像配信サーバ603または映像配信サーバ604のドメイン名に応じて予め設定された優先度に従って設定した上で、上記パケットをPLCアダプタ301に送信することが、本実施の形態に係る通信制御装置の主な特徴である。   The HGW 101 sets the priority of the packet belonging to the video data flow received from the Internet 701 according to the priority set in advance according to the domain name of the video distribution server 603 or the video distribution server 604 that is the transmission source. Thus, transmitting the packet to the PLC adapter 301 is a main feature of the communication control apparatus according to the present embodiment.

なお、本実施の形態では、STB402が、映像配信サーバ603にアクセスするにあたり、HGW101を介して、DNSサーバ601に、映像配信サーバ603のIPアドレスの問合せを行なうものとする。同様に、STB404は映像配信サーバ604のIPアドレスの問合せを、PC404はWebサーバ605のIPアドレスの問合せを行なうものとする。   In this embodiment, the STB 402 makes an inquiry about the IP address of the video distribution server 603 to the DNS server 601 via the HGW 101 when accessing the video distribution server 603. Similarly, the STB 404 makes an inquiry about the IP address of the video distribution server 604, and the PC 404 makes an inquiry about the IP address of the Web server 605.

なお、以下では、中継装置300と表現する場合は、特に指定している場合を除き、PLCアダプタ301、PLCアダプタ302、およびPLCアダプタ303のいずれかを指すものとする。また、データ送受信装置400と表現する場合は、特に指定している場合を除き、STB402、PC403、およびSTB404のいずれかを指すものとする。また、サーバ600と表現するときは、特に指定している場合を除き、DNSサーバ601、アップデートサーバ602、映像配信サーバ603、映像配信サーバ604、およびWebサーバ605のいずれかを指すものとする。   In the following description, the expression “relay device 300” refers to any of the PLC adapter 301, the PLC adapter 302, and the PLC adapter 303, unless otherwise specified. In addition, when expressed as the data transmission / reception device 400, it indicates any of the STB 402, the PC 403, and the STB 404 unless otherwise specified. Further, when expressed as the server 600, it means any one of the DNS server 601, the update server 602, the video distribution server 603, the video distribution server 604, and the Web server 605 unless otherwise specified.

(データ送受信装置がデータを要求してから受信するまでの流れの概要)
図4を参照しながら、図3で示した通信制御システムにおいて、STB402およびPC403のそれぞれが、データを要求してから受信するまでの流れの概略について説明する。図4は、図3で示した通信制御システムにおいて、STB402およびPC403のそれぞれが、データを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。
(Overview of the flow from when a data transmission / reception device requests data until it is received)
With reference to FIG. 4, an outline of the flow from when each of the STB 402 and the PC 403 requests data until it is received in the communication control system shown in FIG. 3 will be described. FIG. 4 is a sequence diagram schematically showing an example of a flow from when each of the STB 402 and the PC 403 requests data until it is received in the communication control system shown in FIG.

まず、あるユーザが、テレビ405にて、映像配信サーバ603にて提供される映像コンテンツを視聴するまでの流れ(シーケンスP1)について、説明する。   First, a flow (sequence P1) until a certain user views video content provided by the video distribution server 603 on the television 405 will be described.

ユーザはSTB402に接続されたテレビ405の画面を見ながら、STB402を操作して、映像配信サーバ603にて提供される映像コンテンツを視聴するユーザ操作を行なう。STB402は、ユーザ操作を受け付けると、映像コンテンツの受信を開始する処理(受信開始処理)として、デフォルトのDNSサーバ(本実施の形態では、HGW101)に対して、映像配信サーバ603のIPアドレス(通信アドレス)を問合せるDNS問合せメッセージ(第1リクエスト)を送信する(ステップS201)。   The user operates the STB 402 while viewing the screen of the television 405 connected to the STB 402 to perform a user operation for viewing the video content provided by the video distribution server 603. When the STB 402 accepts a user operation, the IP address (communication) of the video distribution server 603 with respect to the default DNS server (HGW 101 in this embodiment) is started as a process of starting reception of video content (reception start process). A DNS inquiry message (first request) for inquiring about (address) is transmitted (step S201).

なお、受信開始処理は、一般的に知られている方法を用いて行なえばよい。例えば、STB402が複数の映像コンテンツのサムネイルが表示されているメニュー画面を生成してテレビ405に映像信号として出力しており、テレビ405の表示部にメニュー画面が表示されているものとする。この画面のデータは、例えばHTMLで記述されており、映像配信サーバ603とは別のポータルサーバ(不図示)から提供されており、STB402がインターネット701経由でポータルサーバにアクセスしてHTMLを取得するものとする(この通信シーケンスについては図示していない)。そして、各サムネイルには、映像コンテンツの保存場所を示すURI(Uniform Resource Identifiers)が対応付けられているものとする。   Note that the reception start process may be performed using a generally known method. For example, it is assumed that the STB 402 generates a menu screen on which thumbnails of a plurality of video contents are displayed and outputs the menu screen as a video signal to the television 405, and the menu screen is displayed on the display unit of the television 405. The data of this screen is described in, for example, HTML and is provided from a portal server (not shown) different from the video distribution server 603, and the STB 402 accesses the portal server via the Internet 701 and acquires HTML. (This communication sequence is not shown). Each thumbnail is associated with a URI (Uniform Resource Identifier) indicating the storage location of the video content.

そして、ユーザが、STB402のリモコン操作などにより、視聴したい映像コンテンツのサムネイルを選択すると、該選択したサムネイルに対応づけられているURIが特定される。ここでは、例えば「http://sv1.vod.service-a.co.jp/content001」というURIが特定されるものとする。そして、STB402は、上記特定されたURIからドメイン名を取得する。上記例では、「sv1.vod.service-a.co.jp」というドメイン名を取得する。そして、該取得したドメイン名に対応するIPアドレスを問い合わせるためのDNS問合せメッセージを送信する。このDNS問合せメッセージには、該取得したドメイン名が含まれている。   Then, when the user selects a thumbnail of the video content that the user wants to view by operating the remote control of the STB 402, the URI associated with the selected thumbnail is specified. Here, for example, a URI “http://sv1.vod.service-a.co.jp/content001” is specified. Then, the STB 402 acquires a domain name from the identified URI. In the above example, the domain name “sv1.vod.service-a.co.jp” is acquired. Then, a DNS inquiry message for inquiring about the IP address corresponding to the acquired domain name is transmitted. This DNS inquiry message includes the acquired domain name.

なお、DNS問合せメッセージを送信する相手先は、デフォルトのDNSサーバ(この場合はHGW101)であるが、デフォルトのDNSサーバのIPアドレスは、例えば、ユーザがSTB402に事前にリモコン操作等により設定したり、DHCP(Dynamic Host Configuration Protocol)などの一般的な技術を用いて予めSTB402が取得するが、本発明の本質的部分ではないので、ここではその説明を省略する。   Note that the destination to which the DNS inquiry message is sent is the default DNS server (in this case, the HGW 101), but the IP address of the default DNS server can be set by the user in advance on the STB 402 by remote control operation or the like, for example. The STB 402 acquires in advance using a general technique such as DHCP (Dynamic Host Configuration Protocol), but since it is not an essential part of the present invention, description thereof is omitted here.

続いて、HGW101が、STB402からDNS問合せメッセージを受信したときの処理について説明する。ここでは、HGW101は、該受信したDNS問合せメッセージに含まれるドメイン名に対応するIPアドレスを直接管理していないものとして説明する。この場合、HGW101は、さらに、DNSサーバ601に対して、上記ドメイン名を含んだDNS問合せメッセージを送信する(ステップS202)。なお、一般的には、複数のDNSサーバを経由して再帰的に名前解決が行われるが、ここでは説明を省略するために、HGW101はDNSサーバ601に問合せを行なえば映像配信サーバ603のIPアドレスを取得できるものとして説明する。また、一般的にはサービス提供者がDNSサーバを構築し、自己の提供するサーバのIPアドレスを管理しているが、ここではDNSサーバ601が全てのサーバのIPアドレスを管理しているものとする。   Next, a process when the HGW 101 receives a DNS inquiry message from the STB 402 will be described. Here, it is assumed that the HGW 101 does not directly manage the IP address corresponding to the domain name included in the received DNS inquiry message. In this case, the HGW 101 further transmits a DNS inquiry message including the domain name to the DNS server 601 (step S202). In general, name resolution is performed recursively via a plurality of DNS servers. However, in order to omit the description here, if the HGW 101 makes an inquiry to the DNS server 601, the IP of the video distribution server 603 is used. A description will be given assuming that an address can be acquired. In general, a service provider constructs a DNS server and manages the IP address of the server provided by the service provider. Here, the DNS server 601 manages the IP addresses of all servers. To do.

続いて、DNSサーバ601が、HGW101からDNS問合せメッセージを受信したときの処理について説明する。DNSサーバ601は、各ドメイン名に対応するIPアドレスを記憶しており、DNS問合せメッセージに対して適切なDNS応答メッセージを送信する。従って、DNSサーバ601は、「sv1.vod.service-a.co.jp」という映像配信サーバ603のドメイン名に対応するIPアドレスである「101.101.101.1」を含めたDNS応答メッセージを、HGW101に返信する(ステップS203)。   Next, a process when the DNS server 601 receives a DNS inquiry message from the HGW 101 will be described. The DNS server 601 stores an IP address corresponding to each domain name, and transmits an appropriate DNS response message in response to the DNS inquiry message. Accordingly, the DNS server 601 sends a DNS response message including “101.101.101.1”, which is an IP address corresponding to the domain name of the video distribution server 603 “sv1.vod.service-a.co.jp”, to the HGW 101. A reply is made (step S203).

そして、HGW101は、上記DNS応答メッセージを受信すると、問合せ元であるSTB402に、上記DNS応答メッセージを転送する。これを受信したSTB402は、ドメイン名「sv1.vod.service-a.co.jp」に対応するIPアドレスが、「101.101.101.1」であることを知ることができるので、映像配信サーバ603に対して映像データを要求することが可能となる。   When the HGW 101 receives the DNS response message, the HGW 101 transfers the DNS response message to the STB 402 that is an inquiry source. The STB 402 that has received this can know that the IP address corresponding to the domain name “sv1.vod.service-a.co.jp” is “101.101.101.1”. Video data can be requested.

なお、このとき、一般的に知られている技術として、HGW101はTTL(Time To Live)と称される値を上記DNS応答メッセージに含めてSTB402に通知することが可能である。TTLとは、上記DNS応答メッセージに含まれるIPアドレスの情報が有効である期限を示すものである。STB402では、DNS応答メッセージで得られたドメイン名とIPアドレスの情報をキャッシュ(以下DNSキャッシュと呼ぶ)しておき、既に問い合わせた事のあるドメイン名に対しては、再度DNS問合せメッセージを送信しないようにして、処理のオーバーヘッドを低減させることができる。換言すれば、TTLはSTB402におけるDNSキャッシュが有効な時間であるとも言える。TTLが示す期限より前の時刻であれば、DNSキャッシュが有効であるので、STB402は、DNSキャッシュに基づいて映像配信サーバ603に直接アクセスすることができる。一方、TTLが示す期限より後の時刻であれば、DNSキャッシュは無効となるので、STB402が映像配信サーバ603にアクセスする場合は、再度、DNS問合せメッセージを用いてIPアドレスを問合せる必要がある。   At this time, as a generally known technique, the HGW 101 can notify the STB 402 of a value called TTL (Time To Live) included in the DNS response message. The TTL indicates a time limit during which the IP address information included in the DNS response message is valid. The STB 402 caches the domain name and IP address information obtained by the DNS response message (hereinafter referred to as DNS cache), and does not send the DNS inquiry message again to the domain name that has already been inquired. In this way, processing overhead can be reduced. In other words, it can be said that the TTL is the time when the DNS cache in the STB 402 is valid. Since the DNS cache is valid if the time is before the time limit indicated by the TTL, the STB 402 can directly access the video distribution server 603 based on the DNS cache. On the other hand, since the DNS cache is invalidated at a time after the time limit indicated by the TTL, when the STB 402 accesses the video distribution server 603, it is necessary to inquire the IP address again using the DNS inquiry message.

ここで、後述するように、HGW101が、該DNS問合せメッセージに含まれるドメイン名に基づいて、パケットの優先度を設定することが、本実施の形態に係る通信制御装置の主な特徴の一つである。従って、STB402がDNS問合せメッセージを送信せずに、直接、映像配信サーバ603にアクセスすると、後述する優先度データ生成処理が実施できず、本発明が有効に作用しない場合がある。そこで、本実施の形態では、HGW101が送信するTTLの値は、小さい値(例えば数秒など)とする。TTLの値が小さければ、STB402におけるDNSキャッシュが有効である期間が短くなるので、STB402が、直接、映像配信サーバ603にアクセスする機会を極力減らすことができる。TTL値はなるべく小さい方がよく、端的には、問い合わせた情報は一度使用すれば無効となるように設定すれば、STB402が映像配信サーバ603にアクセスする場合には毎回DNS問合せメッセージを送信することになる。ただし、この場合、STB402が連続的に映像配信サーバ603にアクセスする必要がある場合に、そのたびにHGW101に対してDNS問合せメッセージを送信する必要があるため、STB402における処理としても、PLCネットワーク501におけるトラフィックとしてもオーバーヘッドが大きくなる。よって、TTL値はSTB402の通信方法などに応じて調整が必要である。   Here, as will be described later, one of the main characteristics of the communication control apparatus according to the present embodiment is that the HGW 101 sets the priority of the packet based on the domain name included in the DNS inquiry message. It is. Therefore, if the STB 402 directly accesses the video distribution server 603 without transmitting a DNS inquiry message, priority data generation processing described later cannot be performed, and the present invention may not work effectively. Therefore, in the present embodiment, the TTL value transmitted by the HGW 101 is set to a small value (for example, several seconds). If the value of TTL is small, the period during which the DNS cache in the STB 402 is valid is shortened, so that the opportunity for the STB 402 to directly access the video distribution server 603 can be reduced as much as possible. The TTL value should be as small as possible. In short, if the inquired information is set to be invalid once used, the DNS inquiry message is transmitted every time the STB 402 accesses the video distribution server 603. become. However, in this case, when the STB 402 needs to continuously access the video distribution server 603, it is necessary to transmit a DNS inquiry message to the HGW 101 each time. As the traffic in the network, the overhead increases. Therefore, the TTL value needs to be adjusted according to the communication method of the STB 402 and the like.

HGW101は、STB402にDNS応答メッセージを返信した後、HGW101にて転送するパケットの優先度を示すデータを生成する処理(以下、優先度データ生成処理)を行なう(ステップS204)。優先度データ生成処理では、DNS問合せメッセージに含まれるドメイン名のサーバから、DNS問合せメッセージを送信したデータ送受信装置400(STB402)に向けて送信されるパケットの優先度を示すデータを、ドメイン名と優先度とを予め対応付けたデータに基づいて生成し、記憶部に格納する。ここでは、「sv1.vod.service-a.co.jp」というドメイン名の映像配信サーバ603から、STB402へ送信されるパケットの優先度が「5」であることを示すデータを生成するものとする。   After returning the DNS response message to the STB 402, the HGW 101 performs processing for generating data indicating the priority of the packet to be transferred by the HGW 101 (hereinafter, priority data generation processing) (step S204). In the priority data generation processing, data indicating the priority of a packet transmitted from the server having the domain name included in the DNS inquiry message to the data transmitting / receiving apparatus 400 (STB 402) that has transmitted the DNS inquiry message, A priority is generated based on data associated in advance and stored in the storage unit. Here, from the video distribution server 603 having the domain name “sv1.vod.service-a.co.jp”, data indicating that the priority of the packet transmitted to the STB 402 is “5” is generated. To do.

なお、上記ドメイン名と優先度とを予め対応付けたデータ(以下、“QoS対象データ”とも称する)とは、優先的に伝送したいパケットの送出元のサーバ600のドメイン名と、優先度を示す値とを対応付けたデータである。したがって、例えば、映像配信サーバ603から送信される映像パケットを優先的に伝送したい場合は、映像配信サーバ603のドメイン名は、上記QoS対象データに含めておき、一方、Webサーバ605から送信されるWebデータパケットを優先的に伝送する必要が無い(以下、“QoS対象ではない”とも言う)場合は、Webサーバ605のドメイン名は、上記QoS対象データに含めないといった管理を行なう。本実施の形態では、映像配信サーバ603のドメイン名は上記QoS対象データに含まれ、Webサーバ605のドメイン名は上記QoS対象データに含まれないものとする。   Note that the data in which the domain name and the priority are associated in advance (hereinafter also referred to as “QoS target data”) indicates the domain name of the server 600 that is the transmission source of the packet to be preferentially transmitted and the priority. This is data in which values are associated with each other. Therefore, for example, when it is desired to preferentially transmit a video packet transmitted from the video distribution server 603, the domain name of the video distribution server 603 is included in the QoS target data and transmitted from the Web server 605. When it is not necessary to preferentially transmit a Web data packet (hereinafter also referred to as “not a QoS target”), management is performed such that the domain name of the Web server 605 is not included in the QoS target data. In the present embodiment, it is assumed that the domain name of the video distribution server 603 is included in the QoS target data, and the domain name of the Web server 605 is not included in the QoS target data.

よって、DNS問合せメッセージに含まれるドメイン名は、上記QoS対象データに含まれていない場合があり、その場合は、優先度データ生成処理を実行しても、上記パケットの優先度を示すデータは生成されない。優先度データ生成処理の詳細については、後述する。   Therefore, the domain name included in the DNS inquiry message may not be included in the QoS target data. In this case, even if the priority data generation process is executed, data indicating the priority of the packet is generated. Not. Details of the priority data generation processing will be described later.

なお、後述するパケット優先度変更処理にて、優先度データ生成処理にて生成された、パケットの優先度を示すデータを用いて、DNS問合せメッセージに含まれるドメイン名を有するサーバから、DNS問合せメッセージを送信したデータ送受信装置400に向けて送信されるパケットのIPヘッダに含まれる優先度フィールド(DSCP)の値を更新する。パケット優先度変更処理の詳細については、後述する。   A DNS inquiry message is sent from the server having the domain name included in the DNS inquiry message by using the data indicating the priority of the packet generated in the priority data generation process in the packet priority changing process described later. The value of the priority field (DSCP) included in the IP header of the packet transmitted to the data transmission / reception device 400 that transmitted the message is updated. Details of the packet priority change processing will be described later.

ところで、STB402は、DNS応答メッセージを受信した後、映像コンテンツの受信を開始するために、映像配信サーバ603に向けて、映像データの要求を行なう(第2リクエスト)(ステップS205)。なお、上記要求の手順は、サービスやプロトコルによって様々であり、例えば、複数回のパケットの送受信を伴う場合もあり得るが、発明の本質的部分ではないので、ここではその説明を省略する。   By the way, after receiving the DNS response message, the STB 402 makes a request for video data to the video distribution server 603 in order to start receiving video content (second request) (step S205). The procedure of the request varies depending on the service and protocol. For example, it may involve sending and receiving a plurality of times of packets, but it is not an essential part of the invention, so the description thereof is omitted here.

そして、STB402から上記要求を受信した映像配信サーバ603は、その応答として、STB402に向けて映像データフローを送信する(ステップS206)。経路上のHGW101はその映像データフローを受信する。   Then, the video distribution server 603 that has received the request from the STB 402 transmits a video data flow to the STB 402 as a response (step S206). The HGW 101 on the route receives the video data flow.

上記映像データフローを受信したHGW101は、後述するパケット優先度変更処理にて、該受信した映像データフローに属する映像パケットの優先度(DSCP)の値を更新した上で、該映像パケットをPLCアダプタ301に転送する(ステップS207)。上記更新にあたり、ステップS204にて生成した、「sv1.vod.service-a.co.jp」というドメイン名の映像配信サーバ603から、STB402へ送信されるパケットの優先度が「5」である旨のデータを用いる。すなわち、上記受信した映像データフローに属する映像パケットのDSCPの値を「5」に更新する。パケット優先度変更処理の詳細については、後述する。   The HGW 101 that has received the video data flow updates the priority (DSCP) value of the video packet belonging to the received video data flow in a packet priority change process, which will be described later, and then sends the video packet to the PLC adapter. It transfers to 301 (step S207). Upon the above update, the priority of the packet transmitted to the STB 402 from the video distribution server 603 having the domain name “sv1.vod.service-a.co.jp” generated in step S204 is “5”. The data is used. That is, the DSCP value of the video packet belonging to the received video data flow is updated to “5”. Details of the packet priority change processing will be described later.

したがって、HGW101は、上記映像パケットを、5よりも低い値がDSCPとして設定されているパケット(例えば、Webデータのパケットなど)よりも優先的にPLCアダプタ301に転送することとなる(優先伝送)。   Therefore, the HGW 101 transfers the video packet to the PLC adapter 301 with higher priority than a packet (for example, a Web data packet) in which a value lower than 5 is set as DSCP (priority transmission). .

そして、HGW101から転送された映像パケットを受信したPLCアダプタ301は、該受信した映像パケットをPLCネットワーク501に送出する。このとき、PLCアダプタ301は、該受信した映像パケットから抽出したDSCPの値を、PLCネットワーク501上でのパケットの優先度を表す値(CAP)に変換した上で、パケットの優先制御を行なう。なお、DSCPの値が5である場合、表1で示したマッピングによれば、対応するCAPの値は2である。したがって、PLCアダプタ301は、上記受信した映像パケットを、2よりも低い値をCAPとするパケット(例えば、Webデータのパケットなど)よりも優先的にPLCネットワーク501に送出する。   Then, the PLC adapter 301 that has received the video packet transferred from the HGW 101 sends the received video packet to the PLC network 501. At this time, the PLC adapter 301 converts the DSCP value extracted from the received video packet into a value (CAP) indicating the priority of the packet on the PLC network 501, and then performs packet priority control. When the DSCP value is 5, according to the mapping shown in Table 1, the corresponding CAP value is 2. Accordingly, the PLC adapter 301 sends the received video packet to the PLC network 501 with higher priority than a packet (for example, a Web data packet) having a value lower than 2 as a CAP.

そして、上記映像パケットの送信先はSTB402であるので、PLCアダプタ301からのパケットを受信したPLCアダプタ302が、該受信したパケットをSTB402に転送する。各PLCアダプタは別のPLCアダプタの先に接続されている機器のIPアドレスの情報を予め取得しており、パケットを転送する際にはパケットの最終的な宛先のIPアドレスを元に、パケットを送信するべきPLCアダプタを決定する。なお、PLCアダプタ302においても、上記と同様に、上記映像パケットが優先的にSTB402に転送される。   Since the transmission destination of the video packet is the STB 402, the PLC adapter 302 that has received the packet from the PLC adapter 301 transfers the received packet to the STB 402. Each PLC adapter acquires in advance information on the IP address of the device connected to the other PLC adapter, and when transferring the packet, the packet is sent based on the final IP address of the packet. Determine the PLC adapter to send. In the PLC adapter 302 as well, the video packet is preferentially transferred to the STB 402 as described above.

そして、最後に、PLCアダプタ302から送信された映像パケットをSTB402が受信し、映像信号に変換(デコード)してテレビ405に出力することによって、映像が再生される(ステップS208)。   Finally, the STB 402 receives the video packet transmitted from the PLC adapter 302, converts (decodes) it into a video signal, and outputs it to the television 405, thereby reproducing the video (step S208).

次に、テレビ405のユーザとは別のユーザが、PC403にて、Webサーバ605にて提供されるWebコンテンツを表示するまでの流れ(シーケンスP2)について、説明する。   Next, a flow (sequence P2) until a user other than the user of the television 405 displays Web content provided by the Web server 605 on the PC 403 will be described.

まず、PC403に対して、Webサーバ605にて提供されるWebコンテンツを取得するユーザ操作(例えば、Webブラウザソフトを実行して特定のページを表示しようとする)が行われると、PC403はWebコンテンツの受信を開始する処理(受信開始処理)として、デフォルトのDNSサーバ(本実施の形態では、HGW101)に対して、Webサーバ605のIPアドレスを問合せるDNS問合せメッセージを送信する(ステップS301)。なお、DNS問合せメッセージを送信する処理は、ステップS201にて説明した内容と同様であるので、ここではその説明を省略する。   First, when a user operation for acquiring Web content provided by the Web server 605 is performed on the PC 403 (for example, a Web browser software is executed to display a specific page), the PC 403 displays the Web content. As a process for starting reception (reception start process), a DNS inquiry message for inquiring about the IP address of the Web server 605 is transmitted to the default DNS server (in this embodiment, the HGW 101) (step S301). Note that the process of transmitting the DNS inquiry message is the same as that described in step S201, and therefore the description thereof is omitted here.

続いて、ステップS202で説明した流れと同様に、HGW101は、PC403からDNS問合せメッセージを受信したとき、DNSサーバ601に対して、上記ドメイン名を含んだDNS問合せメッセージを送信する(ステップS302)。   Subsequently, similarly to the flow described in step S202, when the HGW 101 receives a DNS inquiry message from the PC 403, the HGW 101 transmits a DNS inquiry message including the domain name to the DNS server 601 (step S302).

続いて、ステップS203で説明した流れと同様に、DNSサーバ601は、HGW101からDNS問合せメッセージを受信したとき、Webサーバ605のIPアドレスである「105.105.105.1」を含めたDNS応答メッセージを、HGW101に返信する(ステップS303)。デフォルトのDNSサーバのIPアドレスは、例えば、ユーザがPC403にキーボード操作等によって設定したり、DHCPなどを用いてPC403が自動的に取得する。   Subsequently, similar to the flow described in step S203, when the DNS server 601 receives a DNS inquiry message from the HGW 101, it sends a DNS response message including “105.105.105.1” that is the IP address of the Web server 605 to the HGW 101. (Step S303). For example, the IP address of the default DNS server is set by the user to the PC 403 by a keyboard operation or the like, or the PC 403 automatically obtains it using DHCP or the like.

そして、HGW101は、上記DNS応答メッセージを受信すると、問合せ元であるPC403に、上記DNS応答メッセージを転送する。これを受信したPC403は、Webサーバ605のIPアドレスが「105.105.105.1」であることを知ることができるので、Webサーバ605に対してWebデータを要求することが可能となる。   When the HGW 101 receives the DNS response message, the HGW 101 transfers the DNS response message to the PC 403 that is an inquiry source. The PC 403 that has received the request can know that the IP address of the Web server 605 is “105.105.105.1”, and can request Web data from the Web server 605.

HGW101は、PC403にDNS応答メッセージを返信した後、ステップS204と同様に、優先度データ生成処理を実行し、優先度データの生成を試みる(ステップS304)。しかしながら、上述したように、本実施の形態では、QoS対象データにWebサーバ605のドメイン名を含まれない(QoS対象ではない)ので、優先度データ生成処理を実行しても、Webサーバ605からPC403に送信されるパケットの優先度を示すデータは生成されない。   After returning the DNS response message to the PC 403, the HGW 101 executes priority data generation processing and attempts to generate priority data in the same manner as in step S204 (step S304). However, as described above, in the present embodiment, since the domain name of the Web server 605 is not included in the QoS target data (not the QoS target), even if the priority data generation process is executed, the Web server 605 Data indicating the priority of the packet transmitted to the PC 403 is not generated.

一方、PC403は、DNS応答メッセージを受信した後、Webコンテンツの受信を開始するために、Webサーバ605に向けて、Webデータの要求を行なう(ステップS305)。   On the other hand, after receiving the DNS response message, the PC 403 requests Web data to the Web server 605 in order to start receiving Web content (step S305).

そして、PC403から上記要求を受信したWebサーバ605は、その応答として、PC403に向けてWebデータフローを送信する(ステップS306)。経路上のHGW101はそのWebデータフローを受信する。   The Web server 605 that has received the request from the PC 403 transmits a Web data flow to the PC 403 as a response (Step S306). The HGW 101 on the route receives the Web data flow.

上記Webデータフローを受信したHGW101は、パケット優先度変更処理にて、該受信したWebデータフローに属するWebデータパケットに含まれるDSCPの値の更新を試みる(ステップS307)。しかしながら、ステップS304にて、Webサーバ605からPC403に送信されるパケットの優先度を示すデータは生成されていないため、パケット優先度変更処理を実行しても、上記受信したWebデータフローに属するWebデータパケットの優先度(DSCP)の値は更新されない。つまり、DSCPの値はWebサーバにおいて設定されたデフォルト値(例えば0)のままである。   The HGW 101 that has received the Web data flow attempts to update the DSCP value included in the Web data packet belonging to the received Web data flow in the packet priority change process (step S307). However, since the data indicating the priority of the packet transmitted from the Web server 605 to the PC 403 is not generated in step S304, even if the packet priority changing process is executed, the Web belonging to the received Web data flow is not generated. The data packet priority (DSCP) value is not updated. That is, the value of DSCP remains the default value (for example, 0) set in the Web server.

したがって、HGW101は、上記Webデータパケットを優先することなく、PLCアダプタ301に転送する(通常伝送)。   Accordingly, the HGW 101 transfers the Web data packet to the PLC adapter 301 without giving priority (normal transmission).

そして、HGW101から転送されたWebデータパケットを受信したPLCアダプタ301は、該受信したWebデータパケットをPLCネットワーク501に送出する。このとき、PLCアダプタ301は、該受信したWebデータパケットから抽出したDSCPの値を、PLCネットワーク501上でのパケットの優先度を表す値(CAP)に変換した上で、パケットの優先制御を行なう。なお、DSCPの値が0である場合、表1で示したマッピングによれば、対応するCAPの値は1である。   Then, the PLC adapter 301 that has received the Web data packet transferred from the HGW 101 sends the received Web data packet to the PLC network 501. At this time, the PLC adapter 301 converts the DSCP value extracted from the received Web data packet into a value (CAP) indicating the priority of the packet on the PLC network 501, and then performs packet priority control. . When the DSCP value is 0, the corresponding CAP value is 1 according to the mapping shown in Table 1.

そして、上記Webデータパケットの送信先はPC403であるので、PLCアダプタ301からのパケットを受信したPLCアダプタ302が、該受信したパケットをPC403に転送する。   Since the transmission destination of the Web data packet is the PC 403, the PLC adapter 302 that has received the packet from the PLC adapter 301 transfers the received packet to the PC 403.

そして、最後に、PLCアダプタ302から送信されたWebデータパケットをPC403が受信し、Webデータを表示する(ステップS308)。   Finally, the PC 403 receives the Web data packet transmitted from the PLC adapter 302 and displays the Web data (step S308).

以上で説明した流れで映像パケットおよびWebデータパケットが送信されることにより、テレビ405にて映像配信サーバ603にて提供される映像コンテンツを視聴することができ、また、PC403にてWebサーバ605にて提供されるWebコンテンツを表示することができる。   By transmitting the video packet and the Web data packet in the flow described above, the video content provided by the video distribution server 603 can be viewed on the television 405, and the Web server 605 can be viewed on the PC 403. Web content provided can be displayed.

なお、図4では、シーケンスP1とシーケンスP2とが時間的に重複して実行されていないが、シーケンスP1とシーケンスP2とが時間的に重複して実行されてもよい。この場合、HGW101には、STB402からのDNS問合せメッセージ、および、PC403からのDNS問合せメッセージが同時期に到着することがある。また、映像配信サーバ603から送信される映像パケット、および、Webサーバ605から送信されるWebデータパケットが同時期に到着することがある。このような場合であっても、上述したように各処理が実施され、映像配信サーバ603から送信される映像パケットのDSCPの値はHGW101において5に更新されるのに対して、Webサーバ605から送信されるWebデータパケットのDSCPの値はデフォルト値(0)のままとなる。HGW101やPLCアダプタ302では、パケットを送信する際には一旦バッファリングし、未送信のパケットの内、優先度の高いパケットから順に送信することで、優先度に応じた伝送を行なうことができる。これは優先制御伝送の一般的な方法である。   In FIG. 4, the sequence P1 and the sequence P2 are not executed with time overlap, but the sequence P1 and the sequence P2 may be executed with time overlap. In this case, the DNS inquiry message from the STB 402 and the DNS inquiry message from the PC 403 may arrive at the HGW 101 at the same time. In addition, a video packet transmitted from the video distribution server 603 and a Web data packet transmitted from the Web server 605 may arrive at the same time. Even in such a case, each process is performed as described above, and the DSCP value of the video packet transmitted from the video distribution server 603 is updated to 5 in the HGW 101, whereas the Web server 605 The DSCP value of the transmitted Web data packet remains the default value (0). In the HGW 101 or the PLC adapter 302, when a packet is transmitted, buffering is performed once, and transmission according to the priority can be performed by transmitting packets in order from the highest priority among the unsent packets. This is a general method of priority control transmission.

(HGWの構成)
次に、図1を参照しながら、通信制御装置100としてのHGW101の概略構成について説明する。図1は、HGW101の概略構成を示すブロック図である。
(Configuration of HGW)
Next, a schematic configuration of the HGW 101 as the communication control apparatus 100 will be described with reference to FIG. FIG. 1 is a block diagram illustrating a schematic configuration of the HGW 101.

図1に示すようにHGW101は、制御部10、記憶部20、WAN側通信部31、およびLAN側通信部32を含んで構成される。   As shown in FIG. 1, the HGW 101 includes a control unit 10, a storage unit 20, a WAN side communication unit 31, and a LAN side communication unit 32.

制御部10は、記憶部20、WAN側通信部31、およびLAN側通信部32の制御を行なうとともに、所定の演算処理を行なうものである。所定の演算処理としては、例えば、STB402からのDNSアドレス問合せの受信処理などがある。制御部10の詳細な構成については後述する。   The control unit 10 controls the storage unit 20, the WAN side communication unit 31, and the LAN side communication unit 32, and performs predetermined arithmetic processing. Examples of the predetermined calculation process include a DNS address inquiry reception process from the STB 402. The detailed configuration of the control unit 10 will be described later.

記憶部20は、制御部10で利用される各種データ、プログラムの実行によって得られたデータなどを記憶するものであり、RAM(Random Access Memory)などの揮発性メモリおよび、ROM(Read-Only Memory)やフラッシュメモリなどの不揮発性メモリで実現される。上記各種データは、記憶部20内部の各種記憶部に記憶される。記憶部20は、サーバアドレス記憶部21、QoS対象記憶部22(第1記憶部)、およびパケット優先度記憶部23(第2記憶部)を含んでいる。   The storage unit 20 stores various data used in the control unit 10 and data obtained by executing a program. The storage unit 20 includes a volatile memory such as a RAM (Random Access Memory) and a ROM (Read-Only Memory). ) And a non-volatile memory such as a flash memory. The various data are stored in various storage units inside the storage unit 20. The storage unit 20 includes a server address storage unit 21, a QoS target storage unit 22 (first storage unit), and a packet priority storage unit 23 (second storage unit).

サーバアドレス記憶部21は、サーバ600のドメイン名とIPアドレスとの組を、読み出し可能な状態で記憶するものである。サーバアドレス記憶部21は、例えば下記の表2に示すようなデータ構造とすることができる。表2は、サーバアドレス記憶部21のデータ構造の一例を示す表である。表2に示すように、サーバアドレス記憶部21は、「ドメイン名」および「サーバIPアドレス」の組から成るエントリを記憶する。「ドメイン名」は、サーバ600のドメイン名を表す文字列である。「サーバIPアドレス」は、サーバ600のIPアドレスである。   The server address storage unit 21 stores a set of the domain name and IP address of the server 600 in a readable state. The server address storage unit 21 can have a data structure as shown in Table 2 below, for example. Table 2 is a table showing an example of the data structure of the server address storage unit 21. As shown in Table 2, the server address storage unit 21 stores an entry including a set of “domain name” and “server IP address”. “Domain name” is a character string representing the domain name of the server 600. “Server IP address” is the IP address of the server 600.

なお、サーバアドレス記憶部21は、1つのドメイン名に対して、複数のIPアドレスが対応づけて記憶する場合もあり得る。これは、サーバ600の負荷を分散させたり、データのバックアップを行なうために、セカンダリサーバが構築されている場合があるからである。表2の例では、例えば、「sv1.vod.service-a.co.jp」というドメイン名のサーバ600のIPアドレスとして、「101.101.101.1」および「101.101.101.2」が記憶されている。   Note that the server address storage unit 21 may store a plurality of IP addresses in association with one domain name. This is because a secondary server may be constructed in order to distribute the load on the server 600 or to back up data. In the example of Table 2, for example, “101.101.101.1” and “101.101.101.2” are stored as the IP addresses of the server 600 having the domain name “sv1.vod.service-a.co.jp”.

Figure 2009284456
Figure 2009284456

次に、QoS対象記憶部22は、サーバ600で提供されているサービスの名称、サーバ600のドメイン名、およびサーバ600で提供されているサービスを享受する際の優先度の組を、読み出し可能な状態で記憶するものである。QoS対象記憶部22は、例えば下記の表3に示すようなデータ構造とすることができる。表3は、QoS対象記憶部22のデータ構造の一例を示す表である。表3に示すように、QoS対象記憶部22は、「サービス名」、「ドメイン名」、および「優先度」の組から成るエントリを記憶する。   Next, the QoS target storage unit 22 can read out the set of the service name provided by the server 600, the domain name of the server 600, and the priority when receiving the service provided by the server 600. It is memorized in the state. The QoS target storage unit 22 may have a data structure as shown in Table 3 below, for example. Table 3 is a table showing an example of the data structure of the QoS target storage unit 22. As shown in Table 3, the QoS target storage unit 22 stores an entry including a set of “service name”, “domain name”, and “priority”.

「サービス名」は、サーバ600にて提供されるサービスの名称である。「ドメイン名」は、サーバ600のドメイン名を表す文字列である。「優先度」は、サーバ600で提供されているサービスを優先的に享受する度合いを示す値である。数値が大きいほど優先度が高いことを示す。   “Service name” is a name of a service provided by the server 600. “Domain name” is a character string representing the domain name of the server 600. The “priority” is a value indicating a degree of preferentially enjoying the service provided by the server 600. The larger the value, the higher the priority.

表3の例では、例えば、「*.vod.service-a.co.jp」というドメイン名のサーバ600が提供している「映像配信サービスA」というサービスについては、優先度を「5」とする旨が記憶されている。   In the example of Table 3, for example, for the service “video distribution service A” provided by the server 600 having the domain name “* .vod.service-a.co.jp”, the priority is “5”. It is remembered to do.

ここで、「ドメイン名」において使用されている「*」という文字は、任意の文字列を表す文字である。従って、例えば「sv1.vod.service-a.co.jp」および「sv2.vod.service-a.co.jp」は、いずれも「*.vod.service-a.co.jp」という表現に含まれる。よって、上記で例示した「映像配信サービスA」というサービスを提供しているサーバ600のドメイン名は、「sv1.vod.service-a.co.jp」および「sv2.vod.service-a.co.jp」のいずれであってもよいこととなる。さらに言えば、ドメイン名として「*.vod.service-a.co.jp」という表現で記述しておけば、例えば「sv3.vod.service-a.co.jp」というドメイン名のサーバ600が今後新たに設置された場合であっても、QoS対象記憶部22のエントリを更新する必要がない。同様に、「vod*.service-d.com」という表現は、「vod001.service-d.com」や「vod002.service-d.com」等というドメイン名を含んでいる。ドメイン名の表記方法としては一般的に用いられる正規表現によって記述されてもよい。例えば、一般的な正規表現においては、特定の種類(アルファベットや数字や記号)の任意の文字を示したり、特定の文字数の任意の文字列を示したりすることが可能である。   Here, the character “*” used in the “domain name” is a character representing an arbitrary character string. Therefore, for example, “sv1.vod.service-a.co.jp” and “sv2.vod.service-a.co.jp” are both expressed as “* .vod.service-a.co.jp”. included. Therefore, the domain names of the server 600 that provides the service “video distribution service A” exemplified above are “sv1.vod.service-a.co.jp” and “sv2.vod.service-a.co”. .jp "can be used. Furthermore, if the domain name is described by the expression “* .vod.service-a.co.jp”, for example, the server 600 having the domain name “sv3.vod.service-a.co.jp” Even if it is newly installed in the future, it is not necessary to update the entry in the QoS target storage unit 22. Similarly, the expression “vod * .service-d.com” includes domain names such as “vod001.service-d.com” and “vod002.service-d.com”. The domain name may be described by a regular expression that is generally used. For example, in a general regular expression, an arbitrary character of a specific type (alphabet, number, symbol) can be indicated, or an arbitrary character string of a specific number of characters can be indicated.

なお、QoS対象記憶部22の各エントリは、例えば、HGW101の工場出荷時などの時点で、各サーバ600にて提供可能なサービス毎に、予め格納しておけばよい。また、後述するQoS対象設定画面161および162のいずれかを用いて、ユーザが、QoS対象記憶部22の各エントリを更新することも可能である。また、QoS対象記憶部22の各エントリの情報をHGW101に対して提供するためのサーバ(QoS対象情報サーバと呼ぶ)を、HGW101と通信可能な位置に設置し、HGW101が必要に応じて、上記QoS対象情報サーバにアクセスして、情報を取得するようにしてもよい。例えば、HGW101の起動時に毎回QoS対象情報サーバにアクセスして情報を取得したり、HGW101がQoS対象記憶部22の各エントリの情報を使用する前に毎回QoS対象情報サーバにアクセスして情報を取得したりする事が考えられる。   Each entry in the QoS target storage unit 22 may be stored in advance for each service that can be provided by each server 600 at the time of factory shipment of the HGW 101, for example. In addition, the user can update each entry in the QoS target storage unit 22 using any of the QoS target setting screens 161 and 162 described later. In addition, a server for providing information of each entry in the QoS target storage unit 22 to the HGW 101 (referred to as a QoS target information server) is installed at a position where it can communicate with the HGW 101. Information may be acquired by accessing the QoS target information server. For example, every time the HGW 101 starts up, the information is obtained by accessing the QoS target information server, or before the HGW 101 uses the information of each entry in the QoS target storage unit 22, the information is obtained by accessing the QoS target information server every time. It is possible to do.

Figure 2009284456
Figure 2009284456

次に、パケット優先度記憶部23は、サーバ600からデータ送受信装置400に送信される、HGW101が転送するパケットに付与すべき優先度を、読み出し可能な状態で記憶するものである。パケット優先度記憶部23は、例えば下記の表4に示すようなデータ構造とすることができる。表4は、パケット優先度記憶部23のデータ構造の一例を示す表である。表4に示すように、パケット優先度記憶部23は、「ドメイン名」、「サーバIPアドレス」、「クライアントIPアドレス」、「優先度」、および「最終受信日時」の組から成るエントリを記憶する。   Next, the packet priority storage unit 23 stores, in a readable state, the priority to be given to the packet transmitted from the server 600 to the data transmitting / receiving apparatus 400 and transferred by the HGW 101. The packet priority storage unit 23 can have a data structure as shown in Table 4 below, for example. Table 4 is a table showing an example of the data structure of the packet priority storage unit 23. As shown in Table 4, the packet priority storage unit 23 stores an entry including a set of “domain name”, “server IP address”, “client IP address”, “priority”, and “last received date / time”. To do.

「ドメイン名」は、HGW101が転送するパケットの送信元であるサーバ600のドメイン名を表す文字列である。QoS対象記憶部22のデータ構造と同様に「ドメイン名」は、‘*’を使用した表現や、一般的に用いられる正規表現によって記述されてもよい。「サーバIPアドレス」は、上記転送するパケットの送信元であるサーバ600のIPアドレスである。「クライアントIPアドレス」は、上記転送するパケットの送信先であるデータ送受信装置400のIPアドレスである。「優先度」は、パケットを優先的に伝送する度合いを示す値である。数値が大きいほど優先度が高いことを示す。「最終受信日時」は、上記転送するパケットをHGW101が最後に受信した日時である。   The “domain name” is a character string representing the domain name of the server 600 that is the transmission source of the packet transferred by the HGW 101. Similar to the data structure of the QoS target storage unit 22, the “domain name” may be described by an expression using “*” or a regular expression that is generally used. The “server IP address” is the IP address of the server 600 that is the transmission source of the packet to be transferred. The “client IP address” is an IP address of the data transmitting / receiving apparatus 400 that is a transmission destination of the packet to be transferred. The “priority” is a value indicating the degree of preferential transmission of packets. The larger the value, the higher the priority. “Last received date and time” is the date and time when the HGW 101 received the packet to be transferred last.

表4の例では、例えば、「*.vod.service-a.co.jp」の表現に合致するドメイン名のサーバ600(IPアドレスは、「101.101.101.1」、「101.101.101.2」、「101.101.101.3」、「101.101.101.4」のいずれであってもよい)から、IPアドレスが「192.168.0.2」であるデータ送受信装置400へ送信されるパケットの優先度には「5」を付与すること、および、該パケットをHGW101が最後に受信した日時が「2008年4月15日16時19分20秒」である旨が記憶されている。   In the example of Table 4, for example, a server 600 having a domain name that matches the expression “* .vod.service-a.co.jp” (IP addresses are “101.101.101.1”, “101.101.101.2”, “101.101”). "5.10" is given to the priority of packets transmitted to the data transmitting / receiving apparatus 400 having the IP address "192.168.0.2" from ".101.3" or "101.101.101.4" And that the date and time when the HGW 101 last received the packet is “April 15, 2008 16:19:20”.

なお、データ送受信装置400のIPアドレスが、DHCPを用いて付与されたものである場合には変更される可能性があるので、パケット優先度記憶部23には、さらに、データ送受信装置400のMACアドレスを含めて記憶してもよい。データ送受信装置400のMACアドレスは、例えば、HGW101とデータ送受信装置400とがARP(Address Resolution Protocol)などのプロトコルをやりとりすることによって取得することができるが、本発明の本質的部分ではないので、ここではその説明を省略する。   Since the IP address of the data transmission / reception device 400 may be changed when it is assigned using DHCP, the packet priority storage unit 23 further includes the MAC of the data transmission / reception device 400. You may memorize | store including an address. The MAC address of the data transmission / reception device 400 can be acquired, for example, by exchanging a protocol such as ARP (Address Resolution Protocol) between the HGW 101 and the data transmission / reception device 400, but is not an essential part of the present invention. The description is omitted here.

Figure 2009284456
Figure 2009284456

なお、記憶部20は、必ずしもHGW101に備えられる必要はなく、外部記憶装置として、読み取り可能な状態でHGW101に接続される構成であってもよい。   Note that the storage unit 20 is not necessarily provided in the HGW 101, and may be configured to be connected to the HGW 101 in a readable state as an external storage device.

WAN側通信部31は、インターネット701を介して、サーバ600との通信を行なうものである。   The WAN communication unit 31 communicates with the server 600 via the Internet 701.

LAN側通信部32は、内部にEthernet通信部33を含んでおり、Ethernet通信部33は、Ethernetを介して接続される装置との通信を行なうものである。本実施の形態では、Ethernet通信部33は、PLCアダプタ301との通信を行なう。   The LAN side communication unit 32 includes an Ethernet communication unit 33 therein, and the Ethernet communication unit 33 communicates with a device connected via Ethernet. In the present embodiment, the Ethernet communication unit 33 communicates with the PLC adapter 301.

また、LAN側通信部32は、図示のように、無線LAN通信部34をさらに含んでいてもよい。無線LAN通信部34は、無線LANを介して接続される装置との通信を行なうものである。   Further, the LAN side communication unit 32 may further include a wireless LAN communication unit 34 as illustrated. The wireless LAN communication unit 34 communicates with a device connected via the wireless LAN.

次に、制御部10について詳細に説明する。制御部10は、パケット転送処理部11(パケット送信制御手段)、DNS処理部12(ドメイン名/アドレス抽出手段)、優先度データ生成処理部13(ドメイン優先度取得手段、アドレス取得手段、優先度データ生成手段)、パケット優先度変更処理部14(送信元アドレス/送信先アドレス抽出手段、パケット優先度取得手段、パケット優先度設定手段)、優先度データ削除処理部15、QoS対象設定処理部16、およびQoS対象更新処理部17を含んでいる。   Next, the control unit 10 will be described in detail. The control unit 10 includes a packet transfer processing unit 11 (packet transmission control unit), a DNS processing unit 12 (domain name / address extraction unit), and a priority data generation processing unit 13 (domain priority acquisition unit, address acquisition unit, priority). Data generation unit), packet priority change processing unit 14 (source address / destination address extraction unit, packet priority acquisition unit, packet priority setting unit), priority data deletion processing unit 15, and QoS target setting processing unit 16 , And a QoS target update processing unit 17.

まず、パケット転送処理部11について説明する。パケット転送処理部11は、まず、WAN側通信部31がインターネット701を介してサーバ600から受信したパケット、および、LAN側通信部32がPLCアダプタ301を介してデータ送受信装置400から受信したパケットの宛先が、HGW101であるか否かを解析する。   First, the packet transfer processing unit 11 will be described. First, the packet transfer processing unit 11 includes a packet received by the WAN side communication unit 31 from the server 600 via the Internet 701 and a packet received by the LAN side communication unit 32 from the data transmission / reception device 400 via the PLC adapter 301. It is analyzed whether the destination is the HGW 101 or not.

そして、上記解析の結果、上記受信したパケットの宛先がHGW101でないことがわかれば、パケット転送処理部11は、パケット優先度変更処理部14に転送対象となるパケットの優先度の変更処理を行なわせる。その後、パケットの優先度に従って上記転送対象となるパケットの伝送を制御しつつ、上記転送対象となるパケットの転送処理を行なう(パケット送信制御手段)。パケット優先度変更処理部14については後述する。   If the result of the analysis shows that the destination of the received packet is not the HGW 101, the packet transfer processing unit 11 causes the packet priority change processing unit 14 to change the priority of the packet to be transferred. . Thereafter, the transfer processing of the packet to be transferred is performed while controlling the transmission of the packet to be transferred according to the priority of the packet (packet transmission control means). The packet priority change processing unit 14 will be described later.

なお、パケットの転送処理では、WAN側通信部31がインターネット701を介してサーバ600から受信した、データ送受信装置400宛のパケットを、PLCアダプタ301を介してデータ送受信装置400へ送信するために、LAN側通信部32に転送する。また、逆に、LAN側通信部32がPLCアダプタ301を介してデータ送受信装置400から受信した、サーバ600宛のパケットを、サーバ600へ送信するために、WAN側通信部31に転送する。なお、上記転送にあたり、一般的には、NAT(Network Address Translation)処理やNAPT(Network Address Port Translation)処理が行われるが、本発明の本質的部分ではないので、ここではその説明を省略する。   In the packet transfer process, in order for the WAN side communication unit 31 to transmit the packet addressed to the data transmission / reception device 400 received from the server 600 via the Internet 701 to the data transmission / reception device 400 via the PLC adapter 301, Transfer to the LAN side communication unit 32. Conversely, the LAN-side communication unit 32 transfers the packet addressed to the server 600 received from the data transmission / reception device 400 via the PLC adapter 301 to the WAN-side communication unit 31 in order to transmit the packet to the server 600. Note that NAT (Network Address Translation) processing and NAPT (Network Address Port Translation) processing are generally performed for the above transfer, but since they are not an essential part of the present invention, description thereof is omitted here.

また、パケット転送処理部11は、上記解析の結果、上記受信したパケットの宛先がHGW101であることがわかれば、さらに、該パケットがDNS問合せメッセージまたはDNS応答メッセージのパケットであるか否かを解析する。そして、該パケットがDNS問合せメッセージまたはDNS応答メッセージのパケットであることがわかれば、DNS処理部12に後続の処理を行なわせる。   Further, if the packet transfer processing unit 11 finds that the destination of the received packet is the HGW 101 as a result of the analysis, it further analyzes whether the packet is a DNS inquiry message or DNS response message packet. To do. If it is found that the packet is a DNS inquiry message or DNS response message packet, the DNS processing unit 12 is caused to perform subsequent processing.

さらに、パケット転送処理部11は、データ送受信装置400から、後述するQoS対象設定画面161および162のいずれかの提供を求める内容のパケットを受信すると、QoS対象設定処理部16に後続の処理を行なわせる。   Further, when the packet transfer processing unit 11 receives from the data transmission / reception apparatus 400 a packet with a content requesting provision of any of the QoS target setting screens 161 and 162 described later, the packet transfer processing unit 11 performs subsequent processing on the QoS target setting processing unit 16. Make it.

さらに、パケット転送処理部11は、データ送受信装置400から、アップデートサーバ602へのアクセスを求める内容のパケットを受信すると、QoS対象更新処理部17に後続の処理を行なわせる。   Further, when the packet transfer processing unit 11 receives from the data transmission / reception device 400 a packet with a content requesting access to the update server 602, the packet transfer processing unit 11 causes the QoS target update processing unit 17 to perform subsequent processing.

次に、DNS処理部12について説明する。DNS処理部12は、DNSに関する一般的な処理を行なうものである。DNS処理部12は、パケット転送処理部11が受信したパケットが、データ送受信装置400から送信されたDNS問合せメッセージのパケットである場合、まず、該DNS問合せメッセージに含まれる、問合せ対象の装置のドメイン名およびデータ送受信装置400のIPアドレスを抽出する(ドメイン名/アドレス抽出手段)。そして、該抽出したドメイン名を含むエントリがサーバアドレス記憶部21に格納されているか否かを検索する。   Next, the DNS processing unit 12 will be described. The DNS processing unit 12 performs general processing relating to DNS. When the packet received by the packet transfer processing unit 11 is a DNS inquiry message packet transmitted from the data transmission / reception device 400, the DNS processing unit 12 first includes the domain of the inquiry target device included in the DNS inquiry message. The name and the IP address of the data transmitting / receiving apparatus 400 are extracted (domain name / address extracting means). Then, it is searched whether or not an entry including the extracted domain name is stored in the server address storage unit 21.

そして、上記検索の結果、上記ドメイン名を含むエントリがサーバアドレス記憶部21に格納されている場合、DNS処理部12は、サーバアドレス記憶部21から、上記ドメイン名に対応するIPアドレスを取得し、該取得したIPアドレスを含むDNS応答メッセージを、パケット転送処理部11を介して、上記DNS問合せメッセージの送信元のデータ送受信装置400に返信する。   As a result of the search, when an entry including the domain name is stored in the server address storage unit 21, the DNS processing unit 12 acquires an IP address corresponding to the domain name from the server address storage unit 21. Then, a DNS response message including the acquired IP address is returned to the data transmitting / receiving apparatus 400 that is the transmission source of the DNS inquiry message via the packet transfer processing unit 11.

一方、上記検索の結果、上記ドメイン名を含むエントリがサーバアドレス記憶部21に格納されていない場合、DNS処理部12は、パケット転送処理部11を介して、上記ドメイン名を含む新たなDNS問合せメッセージを、DNSサーバ601に送信する。その後、DNSサーバ601からパケット転送処理部11を介して、上記新たなDNS問合せメッセージに対するDNS応答メッセージを受信すると、該DNS応答メッセージに含まれるドメイン名とIPアドレスとの組をサーバアドレス記憶部21に格納するとともに、該DNS応答メッセージを、パケット転送処理部11を介して、DNS問合せメッセージの送信元のデータ送受信装置400に返信する。   On the other hand, if the entry including the domain name is not stored in the server address storage unit 21 as a result of the search, the DNS processing unit 12 sends a new DNS query including the domain name via the packet transfer processing unit 11. The message is transmitted to the DNS server 601. Thereafter, when a DNS response message for the new DNS inquiry message is received from the DNS server 601 via the packet transfer processing unit 11, a set of the domain name and the IP address included in the DNS response message is stored in the server address storage unit 21. The DNS response message is returned to the data transmitting / receiving apparatus 400 that is the source of the DNS inquiry message via the packet transfer processing unit 11.

なお、DNS処理部12は、DNSサーバ601からDNS応答メッセージを受信したとき、併せて、該DNS応答メッセージに含まれるTTLを取得する。そして、DNS応答メッセージを受信してから上記取得したTTLで示される期間を経過した時点で、サーバアドレス記憶部21に格納した、該DNS応答メッセージに含まれるドメイン名とIPアドレスとの組を削除する。DNS問合せメッセージの送信元のデータ送受信装置400に返信するDNS応答メッセージにもTTL値を含めるが、DNSサーバ601から取得したTTL値とは独立して決定し、データ送受信装置400にてDNSキャッシュが早めに削除されるように短い値とする。   When receiving the DNS response message from the DNS server 601, the DNS processing unit 12 also acquires the TTL included in the DNS response message. When the period indicated by the acquired TTL has elapsed after receiving the DNS response message, the pair of the domain name and the IP address contained in the DNS response message stored in the server address storage unit 21 is deleted. To do. Although the TTL value is included in the DNS response message returned to the data transmission / reception device 400 that is the transmission source of the DNS inquiry message, it is determined independently of the TTL value acquired from the DNS server 601, and the DNS cache is Use a short value so that it can be deleted early.

次に、優先度データ生成処理部13について説明する。優先度データ生成処理部13は、優先度データ生成処理を行なうものである。優先度データ生成処理部13は、DNS処理部12が、DNS問合せメッセージの送信元のデータ送受信装置400に、DNS応答メッセージを送信した後、必要に応じて、パケット優先度記憶部23を更新する。   Next, the priority data generation processing unit 13 will be described. The priority data generation processing unit 13 performs priority data generation processing. The priority data generation processing unit 13 updates the packet priority storage unit 23 as necessary after the DNS processing unit 12 transmits the DNS response message to the data transmission / reception device 400 that is the transmission source of the DNS inquiry message. .

具体的には、優先度データ生成処理部13は、まず、QoS対象記憶部22の全てのエントリを検索し、「ドメイン名」カラムの値が、DNS問合せメッセージに含まれる問合せ対象の装置ドメイン名と一致するエントリを抽出する。このとき、エントリが抽出されない場合は、データ送受信装置400がアクセスしようとしているサーバ600(すなわち、DNS問合せメッセージに含まれるドメイン名を有するサーバ600)が提供するサービスは、QoS対象記憶部22にて管理されていない(すなわち、優先度が設定されていない)サービスであるため、上記サーバ600から送信されるパケットの優先度を更新する必要が無い。したがって、この場合、優先度データ生成処理部13は処理を終了する。   Specifically, the priority data generation processing unit 13 first searches all entries in the QoS target storage unit 22, and the value of the “domain name” column is the device domain name of the query target included in the DNS query message. The entry that matches is extracted. At this time, if the entry is not extracted, the service provided by the server 600 to which the data transmitting / receiving apparatus 400 tries to access (that is, the server 600 having the domain name included in the DNS inquiry message) is stored in the QoS target storage unit 22. Since the service is not managed (that is, the priority is not set), it is not necessary to update the priority of the packet transmitted from the server 600. Therefore, in this case, the priority data generation processing unit 13 ends the process.

一方、QoS対象記憶部22から、「ドメイン名」カラムの値が、DNS問合せメッセージに含まれる問合せ対象の装置ドメイン名と一致するエントリが抽出された場合、該抽出されたエントリの中から「優先度」カラムの値が最も大きいものを選択する。そして、「優先度」カラムを参照することによって、データ送受信装置400がアクセスしようとしているサーバ600(すなわち、DNS問合せメッセージに含まれるドメイン名を有するサーバ600)が提供するサービスの優先度を取得する(ドメイン優先度取得手段)。   On the other hand, when an entry whose value in the “domain name” column matches the device domain name to be queried included in the DNS inquiry message is extracted from the QoS target storage unit 22, the “priority” is selected from the extracted entries. Select the one with the largest value in the "degree" column. Then, by referring to the “priority” column, the priority of the service provided by the server 600 to which the data transmitting / receiving apparatus 400 tries to access (that is, the server 600 having the domain name included in the DNS inquiry message) is acquired. (Domain priority acquisition means).

続いて、優先度データ生成処理部13は、サーバアドレス記憶部21の全てのエントリを検索し、QoS対象記憶部22から上記抽出したエントリの「ドメイン名」カラムの値と一致する値を「ドメイン名」カラムに有するエントリを抽出する。そして、該抽出したエントリの「サーバIPアドレス」カラムを参照することによって、データ送受信装置400がアクセスしようとしているサーバ600(すなわち、DNS問合せメッセージに含まれるドメイン名を有するサーバ600)のIPアドレスを取得する(アドレス取得手段)。複数のIPアドレスが該当する場合は、全て取得する。   Subsequently, the priority data generation processing unit 13 searches all entries in the server address storage unit 21 and sets a value that matches the value in the “domain name” column of the entry extracted from the QoS target storage unit 22 to “domain”. The entry having in the “name” column is extracted. Then, by referring to the “server IP address” column of the extracted entry, the IP address of the server 600 (that is, the server 600 having the domain name included in the DNS inquiry message) that the data transmitting / receiving apparatus 400 is trying to access is determined. Obtain (address obtaining means). When multiple IP addresses are applicable, all are acquired.

続いて、優先度データ生成処理部13は、上記取得した優先度、および、上記取得したIPアドレスを用いて、パケット優先度記憶部23を更新する(優先度データ生成手段)。つまり、「ドメイン名」カラムが、QoS対象記憶部22から上記抽出したエントリのドメイン名であり、「サーバIPアドレス」カラムが、サーバアドレス記憶部21から上記取得したIPアドレスであり、「クライアントIPアドレス」カラムが、DNS問合せメッセージを送信してきたデータ送受信装置400のIPアドレスであってDNS処理部12が抽出したものであり、「優先度」カラムが、QoS対象記憶部22から上記取得した優先度であり、「最終受信日時」カラムがNULL値であるエントリを、パケット優先度記憶部23に生成する。なお、「最終受信日時」カラムの値は、現在のシステム時刻であってもよい。また、サーバアドレス記憶部21から取得したIPアドレスが複数ある場合は、それに応じて上記生成されるエントリの数も複数となる。   Subsequently, the priority data generation processing unit 13 updates the packet priority storage unit 23 using the acquired priority and the acquired IP address (priority data generation means). That is, the “domain name” column is the domain name of the entry extracted from the QoS target storage unit 22, the “server IP address” column is the IP address acquired from the server address storage unit 21, and the “client IP” The “address” column is the IP address of the data transmitting / receiving apparatus 400 that has transmitted the DNS inquiry message, and is extracted by the DNS processing unit 12. The “priority” column is the priority acquired from the QoS target storage unit 22. The entry having the NULL value in the “last received date” column is generated in the packet priority storage unit 23. Note that the value of the “last received date” column may be the current system time. Further, when there are a plurality of IP addresses acquired from the server address storage unit 21, the number of generated entries is also increased accordingly.

ところで、QoS伝送の対象となるフローが増えすぎると、QoSの効果が失われる場合がある。図14および図15にて説明したように、QoS伝送の対象となるフローがネットワーク全体の帯域を越えてしまうと、全てのフローについて、帯域が不足し映像の乱れ等につながる。これを防ぐためには、一方のフローだけをQoS対象とし、他方をQoS対象としないといった取捨選択が必要となる。本発明では、ドメイン名にてQoS対象を区別しているが、同一ドメイン名のサーバからフローを受信する端末が、ホームネットワーク内に複数存在した場合、それらのフローは同一の優先度となるので、この中で取捨選択が必要となる。   By the way, if the number of flows targeted for QoS transmission increases too much, the QoS effect may be lost. As described with reference to FIGS. 14 and 15, if the flow targeted for QoS transmission exceeds the bandwidth of the entire network, the bandwidth is insufficient for all the flows, leading to video disturbance and the like. In order to prevent this, it is necessary to make a selection such that only one flow is a QoS target and the other is not a QoS target. In the present invention, the QoS target is distinguished by the domain name, but when there are a plurality of terminals in the home network that receive flows from a server having the same domain name, those flows have the same priority. Among these, selection is necessary.

このために、QoS対象とするフローの数に制限をかける事が考えられる。例えば、QoS対象のドメインにアクセスするのが早い順にQoS対象にしてゆき(優先度データを生成する)、制限数に達した後はQoS対象にしない(優先度データを生成しない)という制御を行ってもよい。フローの制限数は工場出荷時にHGW101に記憶しておいてもよいし、ユーザがQoS対象設定画面161や162にて設定できるようにしておいてもよい。   For this reason, it is conceivable to limit the number of flows targeted for QoS. For example, control is performed such that the QoS target domain is changed to the QoS target in the order of access (priority data is generated), and the QoS target is not set (priority data is not generated) after the limit is reached. May be. The limited number of flows may be stored in the HGW 101 at the time of factory shipment, or may be set by the user on the QoS target setting screen 161 or 162.

また、HGW101がQoS対象フローの伝送レートと、ネットワークの帯域使用状況を把握して、それに応じて、QoS対象フローの制限数を決定してもよい。例えば、ネットワークの未使用帯域の大きさが25Mbpsの場合に、QoS対象フローの伝送レートが10Mbpsであれば、2本までのフローをQoS対象とすれば、帯域が不足せずにQoSの効果が失われないことがわかる。ネットワークの未使用帯域の大きさを知る方法については、そのネットワークを構成する装置に問い合わせることが考えられる。例えば、HGW101がPLCネットワーク501における帯域の使用状況をPLCアダプタ301等に問い合わせて取得することが考えられる。また、QoS対象フローの伝送レートを知る方法としては、映像配信サーバ603に問い合わせたり、STB402に問い合わせたり、映像配信サーバ603とSTB402の間でやり取りされるネゴシエーションパケットを解析したりして取得することが考えられる。   Further, the HGW 101 may grasp the transmission rate of the QoS target flow and the bandwidth usage status of the network, and determine the limit number of the QoS target flow accordingly. For example, if the unused bandwidth of the network is 25 Mbps and the transmission rate of the QoS target flow is 10 Mbps, the QoS effect can be obtained without running out of bandwidth if up to two flows are targeted for QoS. You can see that it is not lost. As for the method of knowing the size of the unused bandwidth of the network, it is conceivable to make an inquiry to the devices constituting the network. For example, it is conceivable that the HGW 101 obtains the bandwidth usage status in the PLC network 501 by inquiring the PLC adapter 301 or the like. As a method of knowing the transmission rate of the QoS target flow, it is obtained by making an inquiry to the video delivery server 603, making an inquiry to the STB 402, or analyzing a negotiation packet exchanged between the video delivery server 603 and the STB 402. Can be considered.

また、本発明ではQoS対象フローがどのようなサービスのフローであるかを予め知ることができるので、そのサービスの運用規定などにおいて決定されている最大の伝送レートを予めHGW101において記憶(例えば、QoS対象記憶部22に工場出荷時などにサービスごとに記憶させておく)させておいてもよい。   Further, in the present invention, since it is possible to know in advance what kind of service flow the QoS target flow is, the maximum transmission rate determined in the service operation regulations is stored in the HGW 101 in advance (for example, QoS) It may be stored in the target storage unit 22 for each service at the time of factory shipment).

なお、後述するQoS対象設定画面161にて、後述するQoS機能がオフに設定されている場合、優先度データ生成処理部13は、優先度データ生成処理を行なわずに、処理を終了する。   Note that when the QoS function described later is set to OFF on the QoS target setting screen 161 described later, the priority data generation processing unit 13 ends the process without performing the priority data generation process.

ここで、表2、表3、および表4を参照しながら、優先度データ生成処理部13が行なう優先度データ生成処理について、具体例を挙げて説明する。   Here, the priority data generation processing performed by the priority data generation processing unit 13 will be described with a specific example with reference to Table 2, Table 3, and Table 4.

例えば、サーバアドレス記憶部21は、表2に示すデータを記憶しており、QoS対象記憶部22は、表3に示すデータを記憶しているものとする。そして、IPアドレスが「192.168.0.2」であるデータ送受信装置400から送信された、「sv2.vod.service-a.co.jp」というドメイン名を問合せ対象とするDNS問合せメッセージに対する処理を、DNS処理部12が行なったとする。   For example, it is assumed that the server address storage unit 21 stores data shown in Table 2 and the QoS target storage unit 22 stores data shown in Table 3. Then, the processing for the DNS inquiry message for which the domain name “sv2.vod.service-a.co.jp”, which is transmitted from the data transmitting / receiving apparatus 400 having the IP address “192.168.0.2”, is inquired is processed. It is assumed that the processing unit 12 has performed.

この場合、上述のとおり、優先度データ生成処理部13は、まず、QoS対象記憶部22から「sv2.vod.service-a.co.jp」というドメイン名を含むエントリを抽出する。「sv2.vod.service-a.co.jp」という文字列は、「*.vod.service-a.co.jp」という表現に含まれる。したがって、「サービス名」カラムの値が「映像配信サービスA」であるエントリが抽出されることとなり、優先度が「5」であることがわかる。   In this case, as described above, the priority data generation processing unit 13 first extracts an entry including the domain name “sv2.vod.service-a.co.jp” from the QoS target storage unit 22. The character string “sv2.vod.service-a.co.jp” is included in the expression “* .vod.service-a.co.jp”. Therefore, the entry whose value in the “service name” column is “video distribution service A” is extracted, and it can be seen that the priority is “5”.

次に、優先度データ生成処理部13は、サーバアドレス記憶部21から「*.vod.service-a.co.jp」というドメイン名を含むエントリを抽出する。よって、サーバアドレス記憶部21の「ドメイン名」カラムの値が「sv1.vod.service-a.co.jp」であるエントリ、および、「sv2.vod.service-a.co.jp」であるエントリが抽出され、サーバIPアドレスが、「101.101.101.1」、「101.101.101.2」、「101.101.101.3」、および「101.101.101.4」であることがわかる。   Next, the priority data generation processing unit 13 extracts an entry including the domain name “* .vod.service-a.co.jp” from the server address storage unit 21. Therefore, the entry in the “domain name” column of the server address storage unit 21 is “sv1.vod.service-a.co.jp” and “sv2.vod.service-a.co.jp”. The entries are extracted, and it can be seen that the server IP addresses are “101.101.101.1”, “101.101.101.2”, “101.101.101.3”, and “101.101.101.4”.

そして、優先度データ生成処理部13は、QoS対象記憶部22から上記得られたドメイン名および優先度、並びに、サーバアドレス記憶部21から上記得られたサーバIPアドレスに基づいて、表4に示すパケット優先度記憶部を生成する。つまり、ドメイン名が「*.vod.service-a.co.jp」、サーバIPアドレスが「101.101.101.1」、クライアントIPアドレスが「192.168.0.2」、優先度が「5」であるエントリ、および、ドメイン名が「*.vod.service-a.co.jp」、サーバIPアドレスが「101.101.101.2」、クライアントIPアドレスが「192.168.0.2」、優先度が「5」であるエントリ、および、ドメイン名が「*.vod.service-a.co.jp」、サーバIPアドレスが「101.101.101.3」、クライアントIPアドレスが「192.168.0.2」、優先度が「5」であるエントリ、および、ドメイン名が「*.vod.service-a.co.jp」、サーバIPアドレスが「101.101.101.4」、クライアントIPアドレスが「192.168.0.2」、優先度が「5」であるエントリをそれぞれ生成する。   Based on the domain name and priority obtained from the QoS target storage unit 22 and the server IP address obtained from the server address storage unit 21, the priority data generation processing unit 13 is shown in Table 4. A packet priority storage unit is generated. That is, an entry whose domain name is “* .vod.service-a.co.jp”, server IP address is “101.101.101.1”, client IP address is “192.168.0.2”, and priority is “5”, and , The domain name is “* .vod.service-a.co.jp”, the server IP address is “101.101.101.2”, the client IP address is “192.168.0.2”, the priority is “5”, and An entry with a domain name “* .vod.service-a.co.jp”, a server IP address “101.101.101.3”, a client IP address “192.168.0.2”, and a priority “5”, and a domain Entries with a name “* .vod.service-a.co.jp”, a server IP address “101.101.101.4”, a client IP address “192.168.0.2”, and a priority “5” are generated.

次に、パケット優先度変更処理部14について説明する。パケット優先度変更処理部14は、パケット優先度変更処理を行なうものである。パケット優先度変更処理部14は、パケット転送処理部11が転送しようとしているパケットを解析し、該解析したパケットの優先度を、パケット優先度記憶部23に格納されているエントリに基づいて、必要に応じて変更する。   Next, the packet priority change processing unit 14 will be described. The packet priority change processing unit 14 performs packet priority change processing. The packet priority change processing unit 14 analyzes a packet to be transferred by the packet transfer processing unit 11, and determines the priority of the analyzed packet based on the entry stored in the packet priority storage unit 23. Change according to.

具体的には、パケット優先度変更処理部14は、まず、転送しようとしているパケットから、送信元IPアドレスおよび送信先IPアドレスを抽出する(送信元アドレス/送信先アドレス抽出手段)。   Specifically, the packet priority change processing unit 14 first extracts the source IP address and the destination IP address from the packet to be transferred (source address / destination address extracting means).

そして、パケット優先度記憶部23のエントリから、「サーバIPアドレス」カラムの値が、上記抽出した送信元IPアドレスと一致し、かつ、「クライアントIPアドレス」カラムの値が、上記抽出した送信先IPアドレスと一致するエントリを抽出する。   Then, from the entry in the packet priority storage unit 23, the value of the “server IP address” column matches the extracted source IP address, and the value of the “client IP address” column matches the extracted destination. An entry matching the IP address is extracted.

このとき、上記エントリが抽出されなかった場合は、上記転送しようとしているパケットは優先度を変更する対象のパケットではないこととなるので、パケット優先度変更処理部14は、処理を終了する。そして、パケット優先度変更処理部14は、上記転送しようとしているパケットの転送処理を、パケット転送処理部11に行なわせる。   At this time, if the entry is not extracted, the packet to be transferred is not a packet whose priority is to be changed, and the packet priority change processing unit 14 ends the process. Then, the packet priority change processing unit 14 causes the packet transfer processing unit 11 to perform transfer processing of the packet to be transferred.

一方、上記エントリが抽出された場合は、上記転送しようとしているパケットは優先度を変更する対象のパケットであることがわかる。従って、パケット優先度変更処理部14は、上記抽出されたエントリの「優先度」カラムの値を取得する(パケット優先度取得手段)。そして、該取得した値で、上記転送しようとしているパケットの優先度フィールド(すなわちDSCPフィールド)を上書きする(パケット優先度設定手段)。   On the other hand, when the entry is extracted, it is understood that the packet to be transferred is a packet whose priority is to be changed. Therefore, the packet priority change processing unit 14 acquires the value of the “priority” column of the extracted entry (packet priority acquisition unit). Then, the priority value field (ie, DSCP field) of the packet to be transferred is overwritten with the acquired value (packet priority setting means).

なお、上記抽出されたエントリが複数ある場合は、それらエントリの「優先度」カラムの値のうち最も大きな値を、上記転送しようとしているパケットの優先度フィールド(すなわちDSCPフィールド)に上書きする。   If there are a plurality of extracted entries, the largest value in the “priority” column of those entries is overwritten on the priority field (ie, DSCP field) of the packet to be transferred.

また、上記エントリが抽出された場合は、上記抽出されたエントリの「最終受信日時」カラムの値を、HGW101が上記転送するパケットを受信した日時で上書きする。なお、受信日時ではなく、HGW101からパケットが送信された日時を記憶してもよい。   When the entry is extracted, the value of the “last received date / time” column of the extracted entry is overwritten with the date / time when the HGW 101 received the packet to be transferred. Note that the date and time when the packet was transmitted from the HGW 101 may be stored instead of the reception date and time.

その後、パケット優先度変更処理部14は、上記優先度フィールドを更新したパケットの転送処理を、パケット転送処理部11に行なわせる。   Thereafter, the packet priority change processing unit 14 causes the packet transfer processing unit 11 to perform transfer processing of the packet with the updated priority field.

なお、後述するQoS対象設定画面161にて、後述するQoS機能がオフに設定されている場合、パケット優先度変更処理部14は、パケット優先度変更処理を行なわずに、処理を終了する。   Note that when the QoS function described later is set to OFF on the QoS target setting screen 161 described later, the packet priority change processing unit 14 ends the process without performing the packet priority changing process.

ここで、表4を参照しながら、パケット優先度変更処理部14が行なうパケット優先度変更処理について、具体例を挙げて説明する。   Here, referring to Table 4, the packet priority change processing performed by the packet priority change processing unit 14 will be described with a specific example.

例えば、パケット優先度記憶部23は、表4に示すデータを記憶しているものとする。そして、IPアドレスが「101.101.101.1」である映像配信サーバ603から、IPアドレスが「192.168.0.2」であるデータ送受信装置400に向けて、映像パケットが送信されたとする。   For example, it is assumed that the packet priority storage unit 23 stores data shown in Table 4. Then, it is assumed that a video packet is transmitted from the video distribution server 603 whose IP address is “101.101.101.1” to the data transmitting / receiving apparatus 400 whose IP address is “192.168.0.2”.

この場合、パケット転送処理部11は、上記映像パケットをLAN側通信部32に転送しようとする。そして、上記転送を行なう前に、パケット優先度変更処理部14は、パケット優先度記憶部23のエントリとの照合を行ない、「サーバIPアドレス」カラムの値が「101.101.101.1」であって、かつ、「クライアントIPアドレス」カラムの値が「192.168.0.2」であるエントリを発見し抽出する。そして、抽出されたエントリの「優先度」カラムを参照することにより、優先度が「5」であることを取得する。   In this case, the packet transfer processing unit 11 tries to transfer the video packet to the LAN side communication unit 32. Before performing the transfer, the packet priority change processing unit 14 collates with the entry in the packet priority storage unit 23, the value of the “server IP address” column is “101.101.101.1”, and In addition, an entry whose value of the “client IP address” column is “192.168.0.2” is found and extracted. Then, by referring to the “priority” column of the extracted entry, it is acquired that the priority is “5”.

そして、パケット優先度変更処理部14は、上記映像パケットのDSCPフィールドに「5」を上書きする。   Then, the packet priority change processing unit 14 overwrites “5” in the DSCP field of the video packet.

以上の結果、上記映像パケットは、優先度が「5」より小さい値のパケットよりも優先的に伝送されるようになる。   As a result, the video packet is preferentially transmitted over a packet having a priority lower than “5”.

次に、優先度データ削除処理部15について説明する。優先度データ削除処理部15は、所定周期(例えば1分)で、パケット優先度記憶部23を検索し、必要の度合いが低くなったエントリを削除する。   Next, the priority data deletion processing unit 15 will be described. The priority data deletion processing unit 15 searches the packet priority storage unit 23 at a predetermined cycle (for example, 1 minute), and deletes entries whose degree of necessity is low.

具体的には、所定周期(例えば1分毎)で、パケット優先度記憶部23を検索し、「最終受信日時」カラムの値が、現在のシステム時刻よりも所定時間(例えば5分)以上過去の時刻であるエントリを全て、パケット優先度記憶部23から削除する。   Specifically, the packet priority storage unit 23 is searched at a predetermined cycle (for example, every minute), and the value of the “last received date / time” column is more than a predetermined time (for example, 5 minutes) past the current system time. Are deleted from the packet priority storage unit 23.

ここで、上記のように、パケット優先度記憶部23のエントリを削除する理由を説明する。パケット優先度変更処理部14が処理を行なうとき、パケット優先度記憶部23の全てのエントリを検索対象としているため、パケット優先度記憶部23に格納されているエントリが少ないほど、パケット優先度変更処理部14の検索時の処理負荷が軽くなる。そのため、上記所定時間以上受信していないパケットについては、伝送が終了したものとみなし、該パケットに対応するエントリをパケット優先度記憶部23から削除することにより、パケット優先度変更処理部14が処理する対象のエントリを少なくしている。   Here, the reason for deleting the entry in the packet priority storage unit 23 as described above will be described. When the packet priority change processing unit 14 performs processing, all entries in the packet priority storage unit 23 are targeted for search. Therefore, the smaller the number of entries stored in the packet priority storage unit 23, the more the packet priority change unit 14 The processing load when the processing unit 14 searches is reduced. Therefore, the packet that has not been received for the predetermined time or longer is regarded as having been transmitted, and the packet priority change processing unit 14 performs processing by deleting the entry corresponding to the packet from the packet priority storage unit 23. The number of target entries is reduced.

なお、上記所定時間は、上述したデータ送受信装置400に送信するTTLで示される期限よりも長くしておくほうが望ましい。この理由について説明する。TTLが示す期限より前の時刻において、STB402にはDNSキャッシュが存在するため、映像配信サーバ603に直接アクセスする。このとき、HGW101にはDNS問合せメッセージが送信されないので、上述したように、パケット優先度記憶部23には、映像配信サーバ603からSTB402に送信されるパケットに付与すべき優先度を格納するエントリは生成されない。そして、上記所定時間がTTLで示される期限よりも短い場合、映像配信サーバ603からSTB402に送信されるパケットに付与すべき優先度を格納するエントリは、すでにパケット優先度記憶部23から削除されている。したがって、この場合、HGW101では、映像配信サーバ603からSTB402に送信されるパケットの優先度を変更することができない。そこで、上記所定時間をTTLで示される期限よりも長くしておくことにより、上記現象が生じないようにすることができる。換言すれば、DNSキャッシュが残っている間は、HGW101での優先度変更処理が終了しないように上記所定時間を調節する。   The predetermined time is preferably longer than the time limit indicated by the TTL transmitted to the data transmitting / receiving apparatus 400 described above. The reason for this will be described. Since a DNS cache exists in the STB 402 at a time before the time limit indicated by the TTL, the video distribution server 603 is directly accessed. At this time, since the DNS inquiry message is not transmitted to the HGW 101, as described above, the packet priority storage unit 23 has an entry for storing the priority to be assigned to the packet transmitted from the video distribution server 603 to the STB 402. Not generated. If the predetermined time is shorter than the time limit indicated by TTL, the entry for storing the priority to be given to the packet transmitted from the video distribution server 603 to the STB 402 is already deleted from the packet priority storage unit 23. Yes. Therefore, in this case, the HGW 101 cannot change the priority of the packet transmitted from the video distribution server 603 to the STB 402. Therefore, by setting the predetermined time longer than the time limit indicated by TTL, the above phenomenon can be prevented from occurring. In other words, while the DNS cache remains, the predetermined time is adjusted so that the priority change process in the HGW 101 does not end.

次に、QoS対象設定処理部16について説明する。QoS対象設定処理部16は、パケット転送処理部11を介してデータ送受信装置400から受信した要求に応じて、QoS対象記憶部22およびパケット優先度記憶部23に格納されているデータを更新するためのユーザインタフェースであるQoS対象設定画面161および162のいずれかを構成する所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信する。すなわち、QoS対象設定処理部16は、一般的なWebサーバの機能を含んでいる。なお、QoS対象設定画面161および162は、データ送受信装置400のユーザが、HGW101に、優先度データ生成処理およびパケット優先度変更処理に関する各種設定を行なうことができる画面である。QoS対象設定画面161および162については後述する。   Next, the QoS target setting processing unit 16 will be described. The QoS target setting processing unit 16 updates the data stored in the QoS target storage unit 22 and the packet priority storage unit 23 in response to a request received from the data transmitting / receiving apparatus 400 via the packet transfer processing unit 11. The predetermined data (for example, HTML data) which constitutes any of the QoS target setting screens 161 and 162 which are the user interfaces is transmitted to the data transmitting / receiving apparatus 400. That is, the QoS target setting processing unit 16 includes a general Web server function. Note that the QoS target setting screens 161 and 162 are screens on which the user of the data transmitting / receiving apparatus 400 can perform various settings regarding the priority data generation processing and the packet priority change processing in the HGW 101. The QoS target setting screens 161 and 162 will be described later.

そして、QoS対象設定処理部16は、データ送受信装置400のユーザがQoS対象設定画面161にて入力した内容に基づいて、QoS対象記憶部22に格納されているデータを更新する。また、データ送受信装置400のユーザがQoS対象設定画面162にて入力した内容に基づいて、QoS対象記憶部22およびパケット優先度記憶部23のいずれかに格納されているデータを更新する。この更新処理については、後述するQoS対象設定画面161および162の説明時に、併せて説明する。なお、上記更新処理があったとき、QoS対象設定画面161またはQoS対象設定画面162の表示を更新する必要がある場合は、それらを構成する所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信する。   Then, the QoS target setting processing unit 16 updates the data stored in the QoS target storage unit 22 based on the content input by the user of the data transmitting / receiving apparatus 400 on the QoS target setting screen 161. Further, the data stored in either the QoS target storage unit 22 or the packet priority storage unit 23 is updated based on the content input by the user of the data transmitting / receiving apparatus 400 on the QoS target setting screen 162. This update process will be described together with the description of the QoS target setting screens 161 and 162 described later. In addition, when it is necessary to update the display of the QoS target setting screen 161 or the QoS target setting screen 162 when the update process is performed, predetermined data (for example, HTML data) constituting them is transferred to the data transmitting / receiving device. 400.

また、QoS対象設定処理部16は、QoS対象更新処理部17がQoS対象記憶部22に新たなエントリを生成した旨の通知に応じて、QoS対象設定画面161および162のいずれかの表示を更新するために、QoS対象設定画面161および162を構成する所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信する。   Further, the QoS target setting processing unit 16 updates the display of any of the QoS target setting screens 161 and 162 in response to the notification that the QoS target update processing unit 17 has generated a new entry in the QoS target storage unit 22. In order to do this, predetermined data (for example, HTML data) constituting the QoS target setting screens 161 and 162 is transmitted to the data transmitting / receiving apparatus 400.

次に、QoS対象更新処理部17について説明する。QoS対象更新処理部17は、パケット転送処理部11を介してアップデートサーバ602と通信し、アップデートサーバ602から、QoS対象記憶部22の新たなエントリを追加するためのデータ(具体的には、サービス名、ドメイン名、および優先度の組)を取得する。該取得を行なうタイミングは特に限定されず、例えば、所定周期でアップデートサーバ602にアクセスし、上記データを取得してもよいし、また例えば、上記QoS対象設定画面161および162にて所定のユーザ操作があった旨をデータ送受信装置400から受信したことをトリガとしてアップデートサーバ602にアクセスし、上記データを取得してもよい。   Next, the QoS target update processing unit 17 will be described. The QoS target update processing unit 17 communicates with the update server 602 via the packet transfer processing unit 11, and data (specifically, a service for adding a new entry in the QoS target storage unit 22 from the update server 602. Name, domain name, and priority). The timing for performing the acquisition is not particularly limited. For example, the update server 602 may be accessed at a predetermined cycle to acquire the data. For example, a predetermined user operation may be performed on the QoS target setting screens 161 and 162. The update server 602 may be accessed by using the fact that there has been received from the data transmitting / receiving apparatus 400 as a trigger to acquire the data.

そして、上記取得したデータに基づいて、QoS対象更新処理部17は、QoS対象記憶部22に新たなエントリを生成する。さらに、このとき、上記新たにエントリを生成した旨をQoS対象設定処理部16に通知する。   Then, the QoS target update processing unit 17 generates a new entry in the QoS target storage unit 22 based on the acquired data. Further, at this time, the QoS target setting processing unit 16 is notified that the new entry has been generated.

なお、QoS対象更新処理部17の処理については、後述するQoS対象設定画面161および162の説明時にも説明する。   Note that the processing of the QoS target update processing unit 17 will be described when explaining the QoS target setting screens 161 and 162 described later.

(PLCアダプタの構成)
次に、図5を参照しながら、中継装置300としてのPLCアダプタ301(302、303)の概略構成について説明する。図5は、PLCアダプタ301(302、303)の概略構成を示すブロック図である。
(Configuration of PLC adapter)
Next, a schematic configuration of the PLC adapter 301 (302, 303) as the relay device 300 will be described with reference to FIG. FIG. 5 is a block diagram showing a schematic configuration of the PLC adapter 301 (302, 303).

図5に示すようにPLCアダプタ301(302、303)は、制御部110、Ethernet通信部131、およびPLC通信部132を含んで構成される。   As shown in FIG. 5, the PLC adapter 301 (302, 303) includes a control unit 110, an Ethernet communication unit 131, and a PLC communication unit 132.

Ethernet通信部131は、Ethernetを介して接続される外部装置との通信を行なうものである。本実施の形態では、PLCアダプタ301のEthernet通信部131は、HGW101との通信を行ない、PLCアダプタ302のEthernet通信部131は、STB402およびPC403との通信を行ない、PLCアダプタ303のEthernet通信部131は、STB404との通信を行なう。   The Ethernet communication unit 131 communicates with an external device connected via Ethernet. In the present embodiment, the Ethernet communication unit 131 of the PLC adapter 301 communicates with the HGW 101, the Ethernet communication unit 131 of the PLC adapter 302 communicates with the STB 402 and the PC 403, and the Ethernet communication unit 131 of the PLC adapter 303. Communicates with the STB 404.

PLC通信部132は、PLCネットワーク501上の他のPLCアダプタとの通信を行なうものである。   The PLC communication unit 132 communicates with other PLC adapters on the PLC network 501.

制御部110は、Ethernet通信部131、およびPLC通信部132の制御を行なうとともに、所定の演算処理を行なうものである。制御部110は、QoS処理部111を含んでいる。   The control unit 110 controls the Ethernet communication unit 131 and the PLC communication unit 132 and performs predetermined arithmetic processing. The control unit 110 includes a QoS processing unit 111.

QoS処理部111は、Ethernetを介して接続される外部装置からEthernet通信部131に到着したパケットを、PLCネットワーク501にて伝送可能なパケットに変換し、該変換後のパケットをPLC通信部132に送信する。また、PLCネットワーク501からPLC通信部132に到着したパケットを、Ethernetを介して接続される外部装置に伝送可能なパケットに変換し、該変換後のパケットをEthernet通信部131に送信する。   The QoS processing unit 111 converts a packet arriving at the Ethernet communication unit 131 from an external device connected via Ethernet into a packet that can be transmitted by the PLC network 501, and sends the converted packet to the PLC communication unit 132. Send. Further, the packet arriving at the PLC communication unit 132 from the PLC network 501 is converted into a packet that can be transmitted to an external device connected via Ethernet, and the converted packet is transmitted to the Ethernet communication unit 131.

このとき、QoS処理部111は、パケットの優先度に応じた優先制御を行なう。つまり、上述したように、表1で示したようにマッピングに基づいてDSCPとCAPとの変換処理を行ない、IPパケットはDSCPの値に応じて優先制御を行ない、また、PLCネットワーク上で伝送されるパケットはCAPの値に基づいて優先制御を行なう。なお、上記マッピング情報は、工場出荷時などの時点で、図示しない記憶部に記憶されているものとする。   At this time, the QoS processing unit 111 performs priority control according to the priority of the packet. That is, as described above, conversion processing between DSCP and CAP is performed based on the mapping as shown in Table 1, IP packets are subjected to priority control according to the value of DSCP, and transmitted on the PLC network. Packets are subject to priority control based on the value of CAP. It is assumed that the mapping information is stored in a storage unit (not shown) at the time of factory shipment.

なお、QoS処理部111は、サーバ600からデータ送受信装置400へ送信されるパケット(例えば、映像パケットなど)を優先制御するだけではなく、データ送受信装置400からサーバ600へ送信されるパケット(例えば、ACK(Acknowledge:肯定応答)など)についても優先制御するようにしてもよい。例えば、サーバ600が、データ送受信装置400に対してデータパケットを送信し、そのデータパケットに対するACKをデータ送受信装置400から受信することにより、その次のデータパケットの送信を開始する場合、ACKの伝送が遅延すると、データパケットの送信の開始が遅延することとなるので、結果としてQoSを実現することができなくなる場合がある(データ送受信装置400においてパケット受信の遅延が生じる)。これを解消するために、ACKパケットのように、データ送受信装置400からサーバ600へ送信されるパケットについても優先制御することが望ましい。   The QoS processing unit 111 not only preferentially controls a packet (for example, a video packet) transmitted from the server 600 to the data transmission / reception device 400, but also a packet (for example, a packet transmitted from the data transmission / reception device 400 to the server 600). ACK (Acknowledge) may also be prioritized. For example, when the server 600 transmits a data packet to the data transmission / reception device 400 and receives an ACK for the data packet from the data transmission / reception device 400, the server 600 starts transmission of the next data packet. Is delayed, the start of data packet transmission is delayed, and as a result, QoS may not be realized (the data transmission / reception apparatus 400 may delay packet reception). In order to solve this problem, it is desirable to preferentially control packets transmitted from the data transmitting / receiving apparatus 400 to the server 600, such as ACK packets.

なお、一般的にPLCアダプタでは、パケットの優先度に応じた優先制御を行なうか否かを設定可能であるが、本実施の形態では、パケットの優先度に応じた優先制御を行なうように予め設定されているものとする。
(HGWがパケットを受信した際の処理の流れ)
次に、図6を参照しながら、HGW101がパケットを受信した際の処理の流れの概要について説明する。図6は、HGW101がパケットを受信した際の処理の流れの概要を示すフローチャートである。
In general, in a PLC adapter, it is possible to set whether or not to perform priority control according to the priority of a packet. However, in the present embodiment, the priority control according to the priority of a packet is performed in advance. It is assumed that it is set.
(Processing flow when HGW receives a packet)
Next, an outline of a processing flow when the HGW 101 receives a packet will be described with reference to FIG. FIG. 6 is a flowchart showing an outline of a processing flow when the HGW 101 receives a packet.

まず、HGW101は起動直後、パケットの受信を待つ状態となる(ステップS501)。そして、パケット転送処理部11がパケットを受信すると(ステップS501にてYES)、該受信したパケットの宛先が、HGW101であるか否かを解析する(ステップS502)。   First, immediately after activation, the HGW 101 waits for reception of a packet (step S501). When the packet transfer processing unit 11 receives the packet (YES in step S501), it analyzes whether the destination of the received packet is the HGW 101 (step S502).

そして、上記解析の結果、上記受信したパケットの宛先がHGW101でないことがわかれば(ステップS502にてNO)、パケット優先度変更処理部14はパケット優先度変更処理を行なう(ステップS503)。パケット優先度変更処理の流れについては、別のフローチャートを用いて後述する。   If the result of the analysis reveals that the destination of the received packet is not HGW 101 (NO in step S502), packet priority change processing unit 14 performs a packet priority change process (step S503). The flow of packet priority change processing will be described later using another flowchart.

その後、パケット転送処理部11が、上記パケットの転送処理を行なう(ステップS504)。つまり、インターネット701を介してサーバ600から受信した、データ送受信装置400宛のパケットを、LAN側通信部32に転送する。また、逆に、PLCネットワーク501を介してデータ送受信装置400から受信した、サーバ600宛のパケットを、WAN側通信部31に転送する。   Thereafter, the packet transfer processing unit 11 performs the packet transfer process (step S504). That is, the packet addressed to the data transmitting / receiving apparatus 400 received from the server 600 via the Internet 701 is transferred to the LAN side communication unit 32. Conversely, the packet addressed to the server 600 received from the data transmitting / receiving apparatus 400 via the PLC network 501 is transferred to the WAN side communication unit 31.

一方、上記解析の結果、上記受信したパケットの宛先がHGW101であることがわかれば(ステップS502にてYES)、さらに、パケット転送処理部11は、該パケットがDNS問合せメッセージのパケットまたはDNS応答メッセージのパケット(以下、DNSパケット)であるか否かを解析する(ステップS505)。   On the other hand, if the result of the analysis reveals that the destination of the received packet is HGW 101 (YES in step S502), packet transfer processing unit 11 further determines that the packet is a DNS inquiry message packet or a DNS response message. Whether it is a packet (hereinafter referred to as a DNS packet) (step S505).

そして、該パケットがDNSパケットであることがわかれば(ステップS505にてYES)、DNS処理部12は、既に述べたように、DNSに関する一般的な処理を行なう(ステップS506)。つまり、必要に応じてDNSサーバ601とのやりとりを行ない、最終的に、DNS問合せメッセージの送信元に、DNS応答メッセージを送信する。   If it is found that the packet is a DNS packet (YES in step S505), DNS processing unit 12 performs general processing relating to DNS (step S506) as described above. That is, exchange with the DNS server 601 is performed as necessary, and finally a DNS response message is transmitted to the transmission source of the DNS inquiry message.

DNS問合せメッセージの送信元にDNS応答メッセージを送信した後、優先度データ生成処理部13は、優先度データ生成処理を行なう(ステップS507)。優先度データ生成処理の流れについては、別のフローチャートを用いて後述する。   After transmitting the DNS response message to the DNS inquiry message transmission source, the priority data generation processing unit 13 performs priority data generation processing (step S507). The flow of the priority data generation process will be described later using another flowchart.

なお、ステップS505にて、受信したパケットがDNSパケットでないことがわかれば(ステップS505にてNO)、当該受信したパケットに応じた処理を行なう(ステップS508)。   If it is determined in step S505 that the received packet is not a DNS packet (NO in step S505), processing corresponding to the received packet is performed (step S508).

なお、このフローチャートでは、パケット転送処理部11が、QoS対象設定画面161および162の提供を求める内容のパケット、および、アップデートサーバ602へのアクセスを求める内容のパケットを受信した際の処理の流れについては省略している。また、本発明に関係のないパケットの処理についても省略している。   In this flowchart, the flow of processing when the packet transfer processing unit 11 receives a packet that requests provision of the QoS target setting screens 161 and 162 and a packet that requests access to the update server 602. Is omitted. Also, processing of packets not related to the present invention is omitted.

(優先度データ生成処理の流れ)
次に、図7を参照しながら、優先度データ生成処理部13が行なう優先度データ生成処理の流れの概要について説明する。図7は、優先度データ生成処理部13が行なう優先度データ生成処理の流れの概要を示すフローチャートである。
(Flow of priority data generation processing)
Next, an overview of the flow of priority data generation processing performed by the priority data generation processing unit 13 will be described with reference to FIG. FIG. 7 is a flowchart showing an overview of the flow of priority data generation processing performed by the priority data generation processing unit 13.

まず、DNS処理部12が、パケット転送処理部11が受信したDNS問合せメッセージの送信元に対して、対応するDNS応答メッセージを、パケット転送処理部11を介して送信した場合(ステップS701にてYES)、優先度データ生成処理部13が、QoS対象記憶部22の全てのエントリを検索し、「ドメイン名」カラムの値が、上記DNS問合せメッセージに含まれる問合せ対象の装置ドメイン名と一致するエントリを抽出する(ステップS702)。   First, when the DNS processing unit 12 transmits a corresponding DNS response message via the packet transfer processing unit 11 to the transmission source of the DNS inquiry message received by the packet transfer processing unit 11 (YES in step S701). ), The priority data generation processing unit 13 searches all the entries in the QoS target storage unit 22, and the value in the “domain name” column matches the device domain name to be queried included in the DNS query message. Is extracted (step S702).

なお、DNS問合せメッセージに複数の問合せ対象の装置ドメイン名が含まれている場合(換言すれば、一つのDNS問合せメッセージで複数のドメイン名の問合せが行われている場合)、それぞれの問合せ対象の装置ドメイン名について、以下のS702〜S707を実行する。   When a DNS query message includes a plurality of device domain names to be queried (in other words, when a plurality of domain names are queried with a single DNS query message), The following S702 to S707 are executed for the device domain name.

そして、上記エントリが抽出された場合(ステップS703にてYES)、該抽出されたエントリの中から「優先度」カラムの値が最も大きいものを選択する(ステップS704)。あるドメイン名に対して異なる優先度が設定されていた場合には、より高い優先度を適用しておけば、全てのエントリの要求を満たすことができるので、最大の優先度のエントリを選択している。最小の優先度を選択するようにしてもよい。   If the entry is extracted (YES in step S703), the extracted entry having the largest value in the “priority” column is selected (step S704). If different priorities are set for a domain name, applying the higher priority can satisfy the request of all entries, so select the entry with the highest priority. ing. The lowest priority may be selected.

次に、優先度データ生成処理部13は、サーバアドレス記憶部21の全てのエントリを検索し、QoS対象記憶部22から上記選択されたエントリの「ドメイン名」カラムの値と一致する値を「ドメイン名」カラムに有するエントリを抽出する(ステップS705)。   Next, the priority data generation processing unit 13 searches all entries in the server address storage unit 21 and sets a value that matches the value in the “domain name” column of the selected entry from the QoS target storage unit 22 to “ Entries included in the “domain name” column are extracted (step S705).

そして、上記エントリが抽出された場合(ステップS706にてYES)、優先度データ生成処理部13は、以下のエントリをパケット優先度記憶部23に生成する(ステップS707)。すなわち、「ドメイン名」カラムの値が、ステップS704にて抽出したエントリのドメイン名であり、「サーバIPアドレス」カラムの値が、ステップS705にて抽出したエントリのIPアドレスであり、「クライアントIPアドレス」カラムの値が、DNS問合せメッセージを送信してきたデータ送受信装置400のIPアドレスであり、「優先度」カラムの値が、ステップS704にて抽出したエントリの優先度であり、「最終受信日時」カラムの値がNULLであるエントリを生成する。なお、「最終受信日時」カラムの値は、現在のシステム時刻であってもよい。また、ステップS705にて抽出したエントリが複数ある場合は、それに応じて上記生成されるエントリも複数生成される。   If the entry is extracted (YES in step S706), the priority data generation processing unit 13 generates the following entry in the packet priority storage unit 23 (step S707). That is, the value of the “domain name” column is the domain name of the entry extracted in step S704, the value of the “server IP address” column is the IP address of the entry extracted in step S705, and “client IP The value of the “address” column is the IP address of the data transmitting / receiving apparatus 400 that has transmitted the DNS inquiry message, the value of the “priority” column is the priority of the entry extracted in step S704, The entry whose column value is NULL is generated. Note that the value of the “last received date” column may be the current system time. If there are a plurality of entries extracted in step S705, a plurality of the entries generated are generated accordingly.

なお、ステップS703にてエントリが抽出されない場合(ステップS703にてNO)、または、ステップS706にてエントリが抽出されない場合(ステップS706にてNO)は、優先度データ生成処理部13は、処理を終了する。
(パケット優先度変更処理の流れ)
次に、図8を参照しながら、パケット優先度変更処理部14が行なうパケット優先度変更処理の流れの概要について説明する。図8は、パケット優先度変更処理部14が行なうパケット優先度変更処理の流れの概要を示すフローチャートである。
If no entry is extracted in step S703 (NO in step S703) or no entry is extracted in step S706 (NO in step S706), the priority data generation processing unit 13 performs processing. finish.
(Packet priority change processing flow)
Next, an outline of the flow of packet priority change processing performed by the packet priority change processing unit 14 will be described with reference to FIG. FIG. 8 is a flowchart showing an outline of the flow of packet priority change processing performed by the packet priority change processing unit 14.

まず、パケット優先度変更処理部14は、パケット転送処理部11が転送しようとしているパケットに含まれる、送信元のIPアドレスおよび送信先のIPアドレスを抽出する(ステップS901)。   First, the packet priority change processing unit 14 extracts a transmission source IP address and a transmission destination IP address included in a packet to be transferred by the packet transfer processing unit 11 (step S901).

そして、パケット優先度変更処理部14は、パケット優先度記憶部23のすべてのエントリを検索し、「サーバIPアドレス」カラムの値が、上記転送しようとしているパケットの送信元IPアドレスと一致し、かつ、「クライアントIPアドレス」カラムの値が、上記転送しようとしているパケットの送信先IPアドレスと一致するエントリを抽出する(ステップS902)。なお、上記エントリが複数ある場合は、そのすべてを抽出する。   Then, the packet priority change processing unit 14 searches all entries in the packet priority storage unit 23, and the value of the “server IP address” column matches the source IP address of the packet to be transferred, In addition, an entry whose value in the “client IP address” column matches the transmission destination IP address of the packet to be transferred is extracted (step S902). If there are a plurality of entries, all of them are extracted.

そして、上記エントリが抽出された場合(ステップS903にてYES)、パケット優先度変更処理部14は、上記抽出されたエントリのうち、「優先度」カラムの値が最大のエントリを選択する(ステップS904)。あるIPアドレスに対して異なる優先度が設定されていた場合には、より高い優先度を適用しておけば、全てのエントリの要求を満たすことができるので、最大の優先度のエントリを選択している。最小の優先度を選択するようにしてもよい。   If the entry is extracted (YES in step S903), the packet priority change processing unit 14 selects an entry having the maximum value in the “priority” column from the extracted entries (step S903). S904). If different priorities have been set for an IP address, applying the higher priority can satisfy the request of all entries, so select the entry with the highest priority. ing. The lowest priority may be selected.

そして、パケット優先度変更処理部14は、転送しようとしているパケットの優先度フィールド(すなわちDSCPフィールド)を、上記選択されたエントリの「優先度」カラムの値で更新する(ステップS905)。   Then, the packet priority change processing unit 14 updates the priority field (that is, the DSCP field) of the packet to be transferred with the value of the “priority” column of the selected entry (step S905).

なお、ステップS903にてエントリが抽出されない場合(ステップS903にてNO)、パケット優先度変更処理部14は処理を終了する。   If no entry is extracted in step S903 (NO in step S903), the packet priority change processing unit 14 ends the process.

(簡易版のQoS対象設定画面)
次に、図9および図10を参照しながら、QoS対象設定画面161および162について説明する。まず、図9は、設定可能な項目が少ない簡易版のQoS対象設定画面161の画面例を示す模式図である。
(Simplified version of QoS target setting screen)
Next, the QoS target setting screens 161 and 162 will be described with reference to FIGS. 9 and 10. First, FIG. 9 is a schematic diagram illustrating a screen example of a simple version QoS target setting screen 161 with a few items that can be set.

本画面は、一般的なWebサーバの機能を含むQoS対象設定処理部16がデータ送受信装置400からの要求に応じて提供するものであり、データ送受信装置400のユーザがWebブラウザなどを用いてアクセスする。なお、本画面にアクセスするための方法としては、HGW101のルーテイング機能等に関する設定を行なうための画面(一般的なルータの設定画面)上に、本画面へジャンプするリンクを設けておいてもよいし、ユーザが本画面のURLをWebブラウザに直接入力してもよい。   This screen is provided by the QoS target setting processing unit 16 including a general Web server function in response to a request from the data transmitting / receiving apparatus 400, and is accessed by a user of the data transmitting / receiving apparatus 400 using a Web browser or the like. To do. As a method for accessing this screen, a link for jumping to this screen may be provided on a screen for setting the routing function of the HGW 101 (general router setting screen). Then, the user may directly input the URL of this screen into the Web browser.

本画面では、図示のように、1)QoS機能をオンとするかオフとするかがユーザ入力可能な入力フィールドN1、および、2)サーバ600にて提供されている映像配信サービスを優先的に享受するか否かをユーザ入力可能な入力フィールドN2を設けている。ここでは、入力フィールドN1およびN2として、プルダウンメニューやリストボックスなどを想定しているが、特に限定されるものではない。   In this screen, as shown in the figure, 1) the input field N1 in which the user can input whether the QoS function is turned on or off, and 2) the video distribution service provided by the server 600 is given priority. An input field N2 is provided to allow the user to input whether or not to enjoy. Here, a pull-down menu, a list box, and the like are assumed as the input fields N1 and N2, but are not particularly limited.

ここで、上記「QoS機能」とは、HGW101が行なう優先度データ生成処理およびパケット優先度変更処理を指し、QoS機能がオンに設定されているときは、HGW101は優先度データ生成処理およびパケット優先度変更処理を行ない、QoS機能がオフに設定されているときは、HGW101は優先度データ生成処理およびパケット優先度変更処理を行なわないものとする。HGW101以外の装置にて何らかのQoS処理が行われ、それらの処理と本発明におけるQoS処理を同時利用した場合に不都合が発生する場合に、QoS機能をオフにすることが考えられる。例えば、サーバ600が予めDSCP値を付与した上でパケットを送信する場合に、HGW101でDSCP値が更新されると不都合が発生することが考えられる。   Here, the “QoS function” refers to a priority data generation process and a packet priority change process performed by the HGW 101. When the QoS function is set to ON, the HGW 101 performs a priority data generation process and a packet priority process. When the QoS change function is performed and the QoS function is set to OFF, the HGW 101 does not perform the priority data generation process and the packet priority change process. If any QoS processing is performed in a device other than the HGW 101 and inconvenience occurs when these processing and the QoS processing according to the present invention are simultaneously used, it is conceivable to turn off the QoS function. For example, when the server 600 transmits a packet after giving a DSCP value in advance, it may be inconvenient if the HSCP 101 updates the DSCP value.

なお、QoS機能をオンにするかオフにするかについては、記憶部20に記憶され、QoS対象設定処理部16が本画面を提供するときは、QoS機能をオンにするかオフにするかを記憶部20から読み出し、読み出した結果を入力フィールドN1に表示する。   Whether the QoS function is turned on or turned off is stored in the storage unit 20, and when the QoS target setting processing unit 16 provides this screen, whether the QoS function is turned on or turned off. The data is read from the storage unit 20, and the read result is displayed in the input field N1.

また、QoS機能をオンとするかオフとするかを記憶部20に記憶するタイミングは、入力フィールドN1に入力があったときでもよいし、本画面下部にある「決定」ボタンB3を押下したときであってもよい。   The timing for storing the QoS function on or off in the storage unit 20 may be when the input field N1 is input, or when the “OK” button B3 at the bottom of the screen is pressed. It may be.

また、QoS機能がオフに設定されたときは、入力フィールドN2などをユーザ入力不可に制御してもよい。   Further, when the QoS function is set to OFF, the input field N2 and the like may be controlled so that user input is not possible.

次に、入力フィールドN2について説明する。QoS対象設定処理部16はQoS対象記憶部22の内容を読み出して、入力フィールドN2に表示する。具体的には、QoS対象記憶部22の「優先度」カラムの値を読み出して、サービス名毎に表示する。ただし、上記読み出した「優先度」カラムの値は入力フィールドN2にそのまま表示するのではなく、2値化(優先するか否か)した上で表示する。例えば、「優先度」カラムの値が0であるときは、優先しない旨を表示し、「優先度」カラムの値が0以外であれば、優先する旨を表示するなどすればよい。   Next, the input field N2 will be described. The QoS target setting processing unit 16 reads the contents of the QoS target storage unit 22 and displays it in the input field N2. Specifically, the value in the “priority” column of the QoS target storage unit 22 is read and displayed for each service name. However, the value of the read “priority” column is not displayed as it is in the input field N2, but is displayed after being binarized (whether priority is given). For example, when the value of the “priority” column is 0, it is displayed that priority is not given, and when the value of the “priority” column is other than 0, it is displayed that priority is given.

そして、入力フィールドN2にユーザ入力があったとき、QoS対象設定処理部16はQoS対象記憶部22を更新する。具体的には、入力フィールドN2にて優先する旨がユーザ入力されたサービスを「サービス名」カラムの値として有するQoS対象記憶部22のエントリを抽出し、該エントリの「優先度」カラムの値を、例えば5に更新する。なお、HomePlugAV規格では、映像データフローを優先する場合の優先度は「5」とすることが推奨されているので優先度を5としているが、別の値でも良い。   Then, when there is a user input in the input field N2, the QoS target setting processing unit 16 updates the QoS target storage unit 22. Specifically, an entry in the QoS target storage unit 22 having the service input by the user as a priority in the input field N2 as the value of the “service name” column is extracted, and the value of the “priority” column of the entry is extracted. Is updated to 5, for example. In the HomePlugAV standard, it is recommended that the priority when the video data flow is given priority is “5”, so the priority is set to 5. However, another value may be used.

また、入力フィールドN2にて優先しない旨がユーザ入力されたサービスを「サービス名」カラムの値として有するエントリを抽出し、該エントリの「優先度」カラムの値を、例えばデフォルト値である「0」に更新する(なお、デフォルト値は0以外であってもよい)。   Further, an entry having a service input by the user indicating that priority is not given in the input field N2 as a value in the “service name” column is extracted, and the value in the “priority” column of the entry is set to, for example, “0” which is a default value. (The default value may be other than 0).

なお、上記更新のタイミングは、入力フィールドN2にユーザ入力があったときに限定されるものではなく、本画面下部の「決定」ボタンB3が押下されたときであってもよい。   The update timing is not limited to when a user input is made in the input field N2, but may be when the “OK” button B3 at the bottom of the screen is pressed.

上述のように、優先度の値そのものをユーザ入力させずに、単に、優先するか否かのみをユーザ入力させる理由は、QoSの設定に詳しくないユーザでも、比較的容易にQoSに関する設定を可能とするためである。詳細な設定を行ないたいユーザは、「詳細設定」ボタンB1を押下することにより、後述する、設定可能な項目が多い詳細版のQoS対象設定画面162にて各種設定が可能である。   As described above, the reason why the priority value itself is not input by the user, but is simply input by the user whether or not the priority is prioritized can be set relatively easily even for a user who is not familiar with QoS setting. This is because. A user who wants to make detailed settings can make various settings on a detailed version QoS target setting screen 162, which will be described later, by pressing the “detailed settings” button B1.

次に、「サービスを追加」ボタンB2について説明する。ユーザが「サービスを追加」ボタンB2を押下すると、QoS対象更新処理部17が、アップデートサーバ602と通信し、アップデートサーバ602から、QoS対象記憶部22の新たなエントリを追加するためのデータ(サービス名、ドメイン名、および優先度の組)を取得する。例えば、アップデートサーバ602に、QoS対象記憶部22に格納されていないデータとして、サービス名が「映像配信サーバE」、ドメイン名が「service-e.co.jp」、優先度が「5」というデータが存在するとき、該データを取得する。そして、該取得したデータに基づいて、QoS対象更新処理部17は、QoS対象記憶部22に新たなエントリを生成する。上記例では、サービス名が「映像配信サーバE」、ドメイン名が「service-e.co.jp」、優先度が「5」というエントリを生成する。   Next, the “add service” button B2 will be described. When the user presses the “add service” button B 2, the QoS target update processing unit 17 communicates with the update server 602, and data (service) for adding a new entry in the QoS target storage unit 22 from the update server 602. Name, domain name, and priority). For example, as data not stored in the QoS target storage unit 22 in the update server 602, the service name is “video distribution server E”, the domain name is “service-e.co.jp”, and the priority is “5”. When data exists, the data is acquired. Then, the QoS target update processing unit 17 generates a new entry in the QoS target storage unit 22 based on the acquired data. In the above example, an entry with the service name “video distribution server E”, the domain name “service-e.co.jp”, and the priority “5” is generated.

なお、上記取得を行なうタイミングは、「サービスを追加」ボタンB2をユーザが押下したときに限定されるものではなく、例えば、所定周期でアップデートサーバ602にアクセスして上記データを取得してもよい。その際、QoS対象記憶部22に新たなエントリを生成する場合は、ユーザに対して所定の確認メッセージを表示してもよい。   Note that the timing for performing the acquisition is not limited to when the user presses the “Add Service” button B2, and for example, the data may be acquired by accessing the update server 602 at a predetermined cycle. . At this time, when a new entry is generated in the QoS target storage unit 22, a predetermined confirmation message may be displayed to the user.

また、QoS対象更新処理部17が、QoS対象記憶部22に上記新たなエントリを生成したとき、その旨をQoS対象設定処理部16に通知する。該通知を受信したQoS対象設定処理部16は、簡易版のQoS対象設定画面161を更新するために、QoS対象設定画面161を構成する所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信する。例えば、上述の例では、「映像配信サーバE」を優先的に享受するか否かがユーザ入力可能な入力フィールドN2を画面上に表示するように構成された所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信する。
(詳細版のQoS対象設定画面)
次に、図10を参照しながら、詳細版のQoS対象設定画面162の画面例について説明する。図10は、詳細版のQoS対象設定画面162の画面例を示す模式図である。
In addition, when the QoS target update processing unit 17 generates the new entry in the QoS target storage unit 22, the QoS target setting processing unit 16 is notified of this. The QoS target setting processing unit 16 that has received the notification uses predetermined data (for example, HTML data) constituting the QoS target setting screen 161 as the data transmission / reception device 400 in order to update the simplified QoS target setting screen 161. Send to. For example, in the above-described example, predetermined data (for example, HTML data) configured to display an input field N2 on which a user can input whether or not to preferentially enjoy “video distribution server E”. Is transmitted to the data transmitting / receiving apparatus 400.
(Detailed version of QoS target setting screen)
Next, a screen example of the detailed version QoS target setting screen 162 will be described with reference to FIG. FIG. 10 is a schematic diagram illustrating a screen example of the detailed version QoS target setting screen 162.

本画面は、QoS対象設定処理部16がデータ送受信装置400からの要求に応じて提供するものであり、データ送受信装置400のユーザがWebブラウザなどを用いてアクセスする。本画面では、図9で示した簡易版のQoS対象設定画面161よりもさらに詳しい設定が可能である。   This screen is provided by the QoS target setting processing unit 16 in response to a request from the data transmission / reception device 400, and is accessed by a user of the data transmission / reception device 400 using a Web browser or the like. This screen allows more detailed settings than the simplified QoS target setting screen 161 shown in FIG.

なお、図9で示した簡易版のQoS対象設定画面161にて「詳細設定」ボタンB1を押下したときに本画面に遷移することを想定しているが、これに限定されるものではなく、HGW101のルーテイング機能等に関する設定を行なうための画面(一般的なルータの設定画面)に、本画面へジャンプするリンクを設けておいてもよいし、ユーザが本画面のURLをWebブラウザに直接入力してもよい。   Although it is assumed that when the “detailed setting” button B1 is pressed on the simplified version QoS target setting screen 161 shown in FIG. 9, the screen is transitioned to this screen, the present invention is not limited to this. A link for jumping to this screen may be provided on the screen (general router setting screen) for setting the routing function of the HGW 101, or the user directly inputs the URL of this screen into the Web browser. May be.

本画面では、図示のように、1)映像配信サービスの名称、2)映像配信サービスのドメイン名、3)映像配信サービスを享受する優先度、4)映像配信サービスのデータフローを受信しているデータ送受信装置400の装置名、5)該データ送受信装置400のIPアドレス、6)該データ送受信装置400毎の、映像配信サービスを享受する優先度を表示している。   In this screen, as shown in the figure, 1) the name of the video distribution service, 2) the domain name of the video distribution service, 3) the priority for receiving the video distribution service, and 4) the data flow of the video distribution service are received. The device name of the data transmitting / receiving device 400, 5) the IP address of the data transmitting / receiving device 400, and 6) the priority for receiving the video distribution service for each data transmitting / receiving device 400 are displayed.

なお、上記4)は必ずしも表示しなくてもよい。また、上記5)のIPアドレスに加えて、さらに、データ送受信装置400のMACアドレスを表示してもよい。   Note that the above 4) is not necessarily displayed. In addition to the IP address of 5) above, the MAC address of the data transmitting / receiving apparatus 400 may be displayed.

上記1)〜3)については、QoS対象記憶部22の内容を読み出して表示する。具体的には、QoS対象記憶部22の「サービス名」カラムの値、「ドメイン名」カラムの値、「優先度」カラムの値を、それぞれ上記1)〜3)として表示する。また、上記5)および6)については、パケット優先度記憶部23の内容を読み出して表示する。具体的には、パケット優先度記憶部23の「クライアントIPアドレス」カラムの値、「優先度」カラムの値を、それぞれ上記5)および6)として表示する。なお、上記4)は、HGW101が所定のプロトコルを用いてデータ送受信装置400から取得したり、ユーザ入力するなどして表示すればよい。   Regarding the above 1) to 3), the contents of the QoS target storage unit 22 are read and displayed. Specifically, the value of the “service name” column, the value of the “domain name” column, and the value of the “priority” column of the QoS target storage unit 22 are displayed as 1) to 3), respectively. For the above 5) and 6), the contents of the packet priority storage unit 23 are read and displayed. Specifically, the value of the “client IP address” column and the value of the “priority” column of the packet priority storage unit 23 are displayed as 5) and 6), respectively. Note that the above 4) may be displayed by the HGW 101 obtaining from the data transmission / reception device 400 using a predetermined protocol or by user input.

そして、上記3)については、入力フィールドN3により優先度を示す数値(0〜7)がユーザ入力可能であり、上記6)については、入力フィールドN4により優先度を示す数値(0〜7)がユーザ入力可能であり、上記2)については、入力フィールドN5により任意の文字列がユーザ入力可能である。入力フィールドN3およびN4は、プルダウンやリストボックスなどを想定しており、入力フィールドN5はテキストボックスを想定しているが、特に限定されるものではない。   For the above 3), the numerical value (0 to 7) indicating the priority can be input by the input field N3, and for the above 6), the numerical value (0 to 7) indicating the priority is input by the input field N4. User input is possible, and for the above 2), an arbitrary character string can be input by the input field N5. The input fields N3 and N4 are assumed to be pull-downs and list boxes, and the input field N5 is assumed to be a text box, but is not particularly limited.

入力フィールドN3にて、優先度がユーザ入力されたときは、QoS対象設定処理部16はQoS対象記憶部22を更新する。具体的には、入力フィールドN3にて優先度が入力されたサービスを「サービス名」カラムの値として有するQoS対象記憶部22のエントリを抽出し、該エントリの「優先度」カラムの値を上記ユーザ入力された優先度で更新する。   When the priority is input by the user in the input field N3, the QoS target setting processing unit 16 updates the QoS target storage unit 22. Specifically, an entry of the QoS target storage unit 22 having the service whose priority is input in the input field N3 as the value of the “service name” column is extracted, and the value of the “priority” column of the entry is set to the above value. Update with the priority entered by the user.

なお、上記更新のタイミングは、入力フィールドN3にユーザ入力があったときに限定されるものではなく、本画面下部の「決定」ボタンB3が押下されたときであってもよい。   Note that the update timing is not limited to when there is a user input in the input field N3, and may be when the “OK” button B3 at the bottom of the screen is pressed.

入力フィールドN4にて、優先度がユーザ入力されたときは、QoS対象設定処理部16はQoS対象記憶部22またはパケット優先度記憶部23を更新する。具体的には、入力フィールドN4にて優先度が入力されたサービスのドメイン名を「ドメイン名」カラムの値として有するQoS対象記憶部22またはパケット優先度記憶部23のエントリを抽出し、該エントリの「優先度」カラムの値を上記ユーザ入力された優先度で更新する。   When the priority is input by the user in the input field N4, the QoS target setting processing unit 16 updates the QoS target storage unit 22 or the packet priority storage unit 23. Specifically, an entry of the QoS target storage unit 22 or the packet priority storage unit 23 having the domain name of the service whose priority is input in the input field N4 as the value of the “domain name” column is extracted, and the entry The value in the “priority” column is updated with the priority input by the user.

なお、上記更新のタイミングは、入力フィールドN4にユーザ入力があったときに限定されるものではなく、本画面下部の「決定」ボタンB3が押下されたときであってもよい。   Note that the timing of the update is not limited to when there is a user input in the input field N4, and may be when the “OK” button B3 at the bottom of the screen is pressed.

また、このように、データ送受信装置400毎の、映像配信サービスを享受する優先度について、ユーザ入力可能としている理由は、例えば、映像配信サービスAのデータフローを受信しているデータ送受信装置400として、STB402およびPC403がある場合、STB402への映像配信サービスAのデータフローは優先的に伝送したいが、PC403への映像配信サービスAのデータフローは優先的に伝送しなくてよいような場合に、データ送受信装置400毎に優先度を設定可能であるのが望ましいためである。   In addition, the reason why the user can input the priority for receiving the video distribution service for each data transmission / reception device 400 is, for example, as the data transmission / reception device 400 receiving the data flow of the video distribution service A. When there is an STB 402 and a PC 403, the data flow of the video distribution service A to the STB 402 is to be preferentially transmitted, but the data flow of the video distribution service A to the PC 403 is not required to be preferentially transmitted. This is because it is desirable that priority can be set for each data transmitting / receiving device 400.

なお、入力フィールドN3に優先度がユーザ入力されたとき、対応する入力フィールドN4の優先度の値を、入力フィールドN3に入力された値と同じ値で更新するようにしてもよい。   When the priority is input to the input field N3 by the user, the priority value of the corresponding input field N4 may be updated with the same value as the value input to the input field N3.

また、入力フィールドN5にて、ドメイン名がユーザ入力されたときは、QoS対象設定処理部16はQoS対象記憶部22を更新する。具体的には、入力フィールドN5にてドメイン名がユーザ入力されたサービスを「サービス名」カラムの値として有するQoS対象記憶部22のエントリを抽出し、該エントリの「ドメイン名」カラムの値を上記ユーザ入力されたドメイン名で更新する。   When the domain name is input by the user in the input field N5, the QoS target setting processing unit 16 updates the QoS target storage unit 22. Specifically, an entry in the QoS target storage unit 22 having the service whose domain name is input by the user in the input field N5 as the value of the “service name” column is extracted, and the value of the “domain name” column of the entry is extracted. Update with the domain name entered above.

また、データフローを受信しているデータ送受信装置400がない映像配信サービスについては、上記4)は「無し」と表示し、上記5)は「-」と表示し、入力フィールドN4はユーザ入力ができないようにすればよい。図10に示す画面では、映像配信サービスBおよび映像配信サービスDがこれに該当する。   For a video distribution service that does not have a data transmission / reception device 400 that is receiving a data flow, the above 4) displays “None”, the above 5) displays “-”, and the input field N4 receives user input. You can make it impossible. In the screen shown in FIG. 10, the video distribution service B and the video distribution service D correspond to this.

また、本画面を表示しているときに、映像配信サービスのデータフローを受信するデータ送受信装置400が増減された場合には、その増減を本画面に反映するために、再度、QoS対象設定画面162を構成する所定のデータ(例えば、HTMLデータ)を、データ送受信装置400に送信してもよい。   In addition, when the data transmission / reception device 400 that receives the data flow of the video distribution service is increased or decreased while this screen is displayed, the QoS target setting screen is again displayed in order to reflect the increase / decrease on this screen. Predetermined data (for example, HTML data) that constitutes 162 may be transmitted to the data transmitting / receiving apparatus 400.

次に、「サービスを追加」ボタンB4について説明する。「サービスを追加」ボタンB4をユーザが押下したときの動作は、図9で示した画面において「サービスを追加」ボタンB2をユーザが押下したときと同様である。すなわち、QoS対象更新処理部17が、アップデートサーバ602と通信し、アップデートサーバ602から、QoS対象記憶部22の新たなエントリを追加するためのデータ(サービス名、ドメイン名、および優先度の組)を取得する。そして、該取得したデータに基づいて、QoS対象更新処理部17は、QoS対象記憶部22に新たなエントリを生成する。そして、QoS対象更新処理部17が、QoS対象記憶部22に上記新たなエントリを生成したとき、その旨をQoS対象設定処理部16に通知し、QoS対象設定処理部16は、上記新たなエントリの内容を表示するように、詳細版のQoS対象設定画面162を更新する。   Next, the “add service” button B4 will be described. The operation when the user presses the “Add Service” button B4 is the same as when the user presses the “Add Service” button B2 on the screen shown in FIG. That is, the QoS target update processing unit 17 communicates with the update server 602 and adds data for adding a new entry in the QoS target storage unit 22 from the update server 602 (a set of service name, domain name, and priority). To get. Then, the QoS target update processing unit 17 generates a new entry in the QoS target storage unit 22 based on the acquired data. When the QoS target update processing unit 17 generates the new entry in the QoS target storage unit 22, the QoS target setting processing unit 16 notifies the QoS target setting processing unit 16 to that effect, and the QoS target setting processing unit 16 The detailed version of the QoS target setting screen 162 is updated so as to display the contents of.

以上で述べたように、本実施の形態によれば、HGW101は、データ送受信装置400から受信したDNS問合せメッセージに含まれるサーバ600のドメイン名に対応付けられる優先度を、QoS対象記憶部22から取得する。そして、上記DNS問合せメッセージを送信したデータ送受信装置400のIPアドレスと、上記DNS問合せメッセージに応じて取得したサーバ600のIPアドレスとの組に、上記取得した優先度を対応付けて、パケット優先度記憶部23に格納することができる。   As described above, according to the present embodiment, the HGW 101 sets the priority associated with the domain name of the server 600 included in the DNS inquiry message received from the data transmitting / receiving apparatus 400 from the QoS target storage unit 22. get. A packet priority level is obtained by associating the acquired priority with a set of the IP address of the data transmitting / receiving apparatus 400 that has transmitted the DNS inquiry message and the IP address of the server 600 acquired in response to the DNS inquiry message. It can be stored in the storage unit 23.

そして、サーバ600からデータ送受信装置400に送信されるパケットから該パケットの送信元の通信アドレスと、該パケットの送信先の通信アドレスとの組に対応付けられた上記優先度を、パケット優先度記憶部23から取得する。そして、パケット優先度記憶部23から取得した上記優先度を、上記パケットの優先度として設定する。   Then, from the packet transmitted from the server 600 to the data transmitting / receiving apparatus 400, the priority associated with the pair of the communication address of the transmission source of the packet and the communication address of the transmission destination of the packet is stored as a packet priority Obtained from the unit 23. Then, the priority acquired from the packet priority storage unit 23 is set as the priority of the packet.

そして、上記設定した優先度に応じて、上記パケットの送信を制御する。   Then, the transmission of the packet is controlled according to the set priority.

よって、サーバ600のドメイン名毎に対応付けられた優先度を、サーバ600からデータ送受信装置400に送信されるパケットの優先度に設定することができ、該設定した優先度に応じて上記パケットの伝送を制御することができる。   Therefore, the priority associated with each domain name of the server 600 can be set to the priority of the packet transmitted from the server 600 to the data transmission / reception device 400, and the packet is sent according to the set priority. Transmission can be controlled.

したがって、ドメイン名が異なるサーバ600のそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本実施の形態に係るHGW101によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。   Therefore, data flows of contents (for example, high-quality video content and low-quality video content) transmitted from each of the servers 600 having different domain names and using the same negotiation protocol are transmitted on the same communication network. In the situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the HGW 101 according to the present embodiment, only one of the data flows depends on the domain name. (For example, only high-quality video content) can be preferentially transmitted, so that QoS can be realized even in the above situation.

(変形例1)
上述の実施の形態は、図3に示した構成例に基づいて説明したが、この構成例に限定されるものではないので、図11を参照しながら他のシステム構成例について説明する。図11は、図2で示した通信制御システムの具体的構成の他の一例を模式的に示すブロック図である。
(Modification 1)
Although the above embodiment has been described based on the configuration example shown in FIG. 3, the present invention is not limited to this configuration example, and another system configuration example will be described with reference to FIG. 11. FIG. 11 is a block diagram schematically showing another example of the specific configuration of the communication control system shown in FIG.

図11の構成例は、図3示した構成例とほぼ同様であるが、PLCアダプタ302と、STB402およびPC403との間に無線LANネットワーク901をさらに設けている。そして、PLCアダプタ302と、STB402、およびPC403とを無線LANネットワーク901に接続するために、それぞれに、無線LANアダプタ801、無線LANアダプタ802、および無線LANアダプタ803を接続している。なお、ここでは、無線LANとして、特に、IEEE802.11eやIEEE802.11nに準拠する方式を想定している。   The configuration example of FIG. 11 is substantially the same as the configuration example shown in FIG. 3, but a wireless LAN network 901 is further provided between the PLC adapter 302, the STB 402, and the PC 403. In order to connect the PLC adapter 302, the STB 402, and the PC 403 to the wireless LAN network 901, a wireless LAN adapter 801, a wireless LAN adapter 802, and a wireless LAN adapter 803 are connected to each. Note that, here, a wireless LAN is assumed to be a system compliant with IEEE802.11e or IEEE802.11n.

(無線LANアダプタの構成)
次に、図12を参照しながら、無線LANアダプタ801(802、803)の概略構成について説明する。図12は、無線LANアダプタ801(802、803)の概略構成を示すブロック図である。
(Configuration of wireless LAN adapter)
Next, a schematic configuration of the wireless LAN adapter 801 (802, 803) will be described with reference to FIG. FIG. 12 is a block diagram showing a schematic configuration of the wireless LAN adapter 801 (802, 803).

図12に示すように無線LANアダプタ801(802、803)は、制御部810、Ethernet通信部831、および無線LAN通信部832を含んで構成される。   As shown in FIG. 12, the wireless LAN adapter 801 (802, 803) includes a control unit 810, an Ethernet communication unit 831, and a wireless LAN communication unit 832.

Ethernet通信部831は、Ethernetを介して接続される装置との通信を行なうものである。図11に示した構成例では、無線LANアダプタ801のEthernet通信部831は、PLCアダプタ301との通信を行ない、また、無線LANアダプタ802のEthernet通信部831は、STB402との通信を行ない、また、無線LANアダプタ803のEthernet通信部831は、PC403との通信を行なう。   The Ethernet communication unit 831 performs communication with a device connected via Ethernet. In the configuration example shown in FIG. 11, the Ethernet communication unit 831 of the wireless LAN adapter 801 communicates with the PLC adapter 301, and the Ethernet communication unit 831 of the wireless LAN adapter 802 communicates with the STB 402. The Ethernet communication unit 831 of the wireless LAN adapter 803 communicates with the PC 403.

無線LAN通信部832は、無線LANネットワーク901上の他の無線LANアダプタとの通信を行なうものである。   The wireless LAN communication unit 832 performs communication with other wireless LAN adapters on the wireless LAN network 901.

制御部810は、Ethernet通信部831、および無線LAN通信部832の制御を行なうとともに、所定の演算処理を行なうものである。制御部810は、QoS処理部811を含んでいる。   The control unit 810 controls the Ethernet communication unit 831 and the wireless LAN communication unit 832 and performs predetermined calculation processing. The control unit 810 includes a QoS processing unit 811.

QoS処理部811は、Ethernetを介して接続される装置からEthernet通信部831に到着したパケットを、無線LANネットワーク901にて伝送可能なパケットに変換し、該変換後のパケットを無線LAN通信部832に送信する。また、無線LANネットワーク901から無線LAN通信部832に到着したパケットを、Ethernetを介して接続される装置に伝送可能なパケットに変換し、該変換後のパケットをEthernet通信部831に送信する。   The QoS processing unit 811 converts a packet arriving at the Ethernet communication unit 831 from a device connected via Ethernet into a packet that can be transmitted by the wireless LAN network 901, and converts the converted packet to the wireless LAN communication unit 832. Send to. Further, the packet arriving at the wireless LAN communication unit 832 from the wireless LAN network 901 is converted into a packet that can be transmitted to a device connected via Ethernet, and the converted packet is transmitted to the Ethernet communication unit 831.

このとき、QoS処理部811は、パケットの優先度に応じた優先制御を行なう。つまり、IPパケットはDSCPの値に応じて優先制御を行ない、無線LANネットワーク上で伝送されるパケットは、DSCPの値から変換した無線LANネットワーク上での優先度に基づいて優先制御を行なう。   At this time, the QoS processing unit 811 performs priority control according to the priority of the packet. That is, IP packets are subjected to priority control according to the DSCP value, and packets transmitted on the wireless LAN network are subjected to priority control based on the priority on the wireless LAN network converted from the DSCP value.

なお、QoS処理部811は、サーバ600からデータ送受信装置400へ送信されるパケット(例えば、映像パケットなど)を優先制御するだけではなく、データ送受信装置400からサーバ600へ送信されるパケット(例えば、ACKなど)についても優先制御するようにしてもよい。   The QoS processing unit 811 not only preferentially controls a packet (for example, a video packet) transmitted from the server 600 to the data transmitting / receiving apparatus 400, but also a packet (for example, transmitted from the data transmitting / receiving apparatus 400 to the server 600). ACK etc.) may be prioritized.

このように、無線LANアダプタ801(802、803)においても、HGW101が付与したDSCPの値を変換した、無線LANネットワーク上での優先度に基づいて、パケットの優先制御を行なうので、図11に示した構成例においても、本発明が有効に作用する。   As described above, since the wireless LAN adapter 801 (802, 803) also performs packet priority control based on the priority on the wireless LAN network obtained by converting the DSCP value assigned by the HGW 101, FIG. The present invention works effectively even in the configuration example shown.

例えば映像配信サーバ603からSTB402に伝送される映像データフローを優先的に伝送する場合、HGW101にて、映像データフローに属するパケットのDSCPフィールドが高優先度を示す値に更新され、PLCネットワーク上でPLCアダプタ301がPLCアダプタ302に伝送する際にDSCPフィールドに従って優先的に伝送され、さらに、無線LANアダプタ801が無線LANアダプタ802に伝送される際にもDSCPフィールドに従って優先的に伝送される。このように、映像配信サーバ603からSTB402への伝送経路上に複数のネットワークが存在している場合にも、経路上のネットワークにてDSCPによるQoSがサポートされていれば、本発明により、end-to-endでのQoS伝送が実現可能である。   For example, when the video data flow transmitted from the video distribution server 603 to the STB 402 is preferentially transmitted, the HSCP 101 updates the DSCP field of the packet belonging to the video data flow to a value indicating high priority on the PLC network. When the PLC adapter 301 transmits to the PLC adapter 302, it is preferentially transmitted according to the DSCP field, and when the wireless LAN adapter 801 is transmitted to the wireless LAN adapter 802, it is preferentially transmitted according to the DSCP field. In this way, even when there are a plurality of networks on the transmission path from the video distribution server 603 to the STB 402, if the network on the path supports QoS by DSCP, according to the present invention, end- To-end QoS transmission can be realized.

(変形例2)
さらに、図13を参照しながら、図2で示した通信制御システムの他の具体的構成例について説明する。図13は、図2で示した通信制御システムの具体的構成の他の一例を模式的に示すブロック図である。
(Modification 2)
Further, another specific configuration example of the communication control system shown in FIG. 2 will be described with reference to FIG. FIG. 13 is a block diagram schematically illustrating another example of the specific configuration of the communication control system illustrated in FIG. 2.

図13の構成例は、図3に示した構成例とは異なりPLCネットワーク501を設けていない。そして、この例では、データ送受信装置400としてのSTB404およびPC407が、HGW101のEthernet通信部33に直接接続されている。また、HGW101の無線LAN通信部34が無線LANネットワーク901に直接接続されている。   Unlike the configuration example shown in FIG. 3, the configuration example in FIG. 13 does not include the PLC network 501. In this example, the STB 404 and the PC 407 as the data transmission / reception apparatus 400 are directly connected to the Ethernet communication unit 33 of the HGW 101. Further, the wireless LAN communication unit 34 of the HGW 101 is directly connected to the wireless LAN network 901.

映像配信サーバ603からSTB404に伝送される映像データフローと、映像配信サーバ604からSTB402に伝送される映像データフローを優先的に伝送する場合について述べる。   A case where the video data flow transmitted from the video distribution server 603 to the STB 404 and the video data flow transmitted from the video distribution server 604 to the STB 402 are preferentially transmitted will be described.

映像配信サーバ603からSTB404に伝送される映像データフローに属するパケットについて、HGW101のパケット優先度変更処理部14においてDSCPフィールドが高優先度を示す値に更新され、パケット転送処理部11にてHGW101のEthernet通信部33に送信されるが、このときEthernet通信部33でパケットを一旦バッファリング(パケット転送処理部でバッファリングしてもよい)し、未送信のパケットがある場合は、優先度が高い順に送信される。よって、HGW101のEthernet通信部33にSTB404とPC407が接続されている場合、STB404に送信されるパケットが優先的にEthernetに送信されるので、STB404とPC407の受信するフローの間でも優先度に応じたQoSが働き、本発明が有効に作用する。   For packets belonging to the video data flow transmitted from the video distribution server 603 to the STB 404, the DSCP field is updated to a value indicating high priority in the packet priority change processing unit 14 of the HGW 101, and the packet transfer processing unit 11 The packet is transmitted to the Ethernet communication unit 33. At this time, the Ethernet communication unit 33 temporarily buffers the packet (may be buffered by the packet transfer processing unit), and if there is an untransmitted packet, the priority is high. Sent in order. Therefore, when the STB 404 and the PC 407 are connected to the Ethernet communication unit 33 of the HGW 101, the packet transmitted to the STB 404 is preferentially transmitted to the Ethernet, so that the priority is also applied between the flows received by the STB 404 and the PC 407. The QoS works and the present invention works effectively.

また、同様に、HGW101の無線LAN通信部34においてもパケットがバッファリングされ、優先度が高い順に送信されるので、STB402とPC403が接続されている場合、STB402に送信されるパケットが優先的に無線LANネットワーク901に送信されるので、STB402とPC403の受信するフローの間でも優先度に応じたQoSが働き、本発明が有効に作用する。   Similarly, the wireless LAN communication unit 34 of the HGW 101 also buffers packets and transmits them in the order of higher priority. Therefore, when the STB 402 and the PC 403 are connected, the packets transmitted to the STB 402 are given priority. Since it is transmitted to the wireless LAN network 901, QoS corresponding to the priority works between the flows received by the STB 402 and the PC 403, and the present invention works effectively.

(変形例3)
図4で示したシーケンス図では、ステップS204における優先度データ生成処理が完了した後、ステップS205にてSTB402から映像データの要求が行われるものとして説明したが、優先度データ生成処理が完了する前に、STB402から映像データの要求が行われる場合があり得る。その結果、優先度データ生成処理が完了する前に、HGW101は、映像配信サーバ603からの映像データフローを受信することがあり得る。この場合、優先度データ生成処理が完了する前に受信した映像データフローに属する映像パケットに対しては、パケット優先度変更処理を行なうことができず(つまり、映像パケットの優先度(DSCP)の値は更新されず)、結果として、当該映像パケットは優先的に伝送されることなくHGW101を通過することとなる。
(Modification 3)
In the sequence diagram shown in FIG. 4, it has been described that the video data request is made from the STB 402 in step S205 after the priority data generation process in step S204 is completed, but before the priority data generation process is completed. In addition, a request for video data may be made from the STB 402. As a result, the HGW 101 may receive a video data flow from the video distribution server 603 before the priority data generation process is completed. In this case, the packet priority changing process cannot be performed on the video packet belonging to the video data flow received before the priority data generation process is completed (that is, the priority of the video packet priority (DSCP)). As a result, the video packet passes through the HGW 101 without being preferentially transmitted.

図16を参照しながら、映像パケットが優先的に伝送されることなくHGW101を通過する場合について説明する。図16は、映像パケットが優先的に伝送されることなくHGW101を通過する場合の一例を模式的に示したシーケンス図である。   A case where a video packet passes through the HGW 101 without being preferentially transmitted will be described with reference to FIG. FIG. 16 is a sequence diagram schematically illustrating an example in which a video packet passes through the HGW 101 without being preferentially transmitted.

図示のとおり、HGW101は、STB402にDNS応答メッセージを返信した後、優先度データ生成処理を行なうが(ステップS204)、DNS応答メッセージを受信したSTB402は、優先度データ生成処理が完了する前に、映像配信サーバ603に向けて、映像データの要求を行なう場合がある(ステップS205)。その応答として映像配信サーバ603がSTB402に向けて映像データフローを送信し始めるが(ステップS206)、優先度データ生成処理が完了する前にHGW101に到着した映像パケットは、優先的に伝送されずにHGW101を通過する(通常伝送)。なお、優先度データ生成処理が完了した後にHGW101に到着した映像パケットは、優先的に伝送される。   As shown in the figure, the HGW 101 performs a priority data generation process after returning a DNS response message to the STB 402 (step S204), but the STB 402 that has received the DNS response message, before the priority data generation process is completed, In some cases, the video data is requested to the video distribution server 603 (step S205). As a response, the video distribution server 603 starts transmitting a video data flow toward the STB 402 (step S206), but video packets that arrive at the HGW 101 before the priority data generation processing is completed are not transmitted preferentially. It passes through the HGW 101 (normal transmission). Note that a video packet that arrives at the HGW 101 after completion of the priority data generation process is preferentially transmitted.

上記問題を解決するために、HGW101は、優先度データ生成処理が完了した後に、問合せ元であるSTB402に、DNS応答メッセージを転送するようにすればよい。これにより、優先度データ生成処理が完了した後に、STB402から映像データの要求が行われることとなる。この結果、HGW101は、優先度データ生成処理が完了した後に、映像配信サーバ603からの映像データフローを受信することとなる。したがって、映像配信サーバ603からの映像データフローに属する映像パケットのすべてに対して、パケット優先度変更処理を行なうことができ、当該映像パケットはすべて優先的に伝送されることとなる。   In order to solve the above problem, the HGW 101 may transfer a DNS response message to the STB 402 that is an inquiry source after the priority data generation processing is completed. As a result, after the priority data generation processing is completed, a request for video data is made from the STB 402. As a result, the HGW 101 receives the video data flow from the video distribution server 603 after the priority data generation processing is completed. Therefore, the packet priority changing process can be performed on all the video packets belonging to the video data flow from the video distribution server 603, and all the video packets are preferentially transmitted.

図17を参照しながら、全ての映像パケットが優先的に伝送される様子について説明する。図17は、全ての映像パケットが優先的に伝送される様子の一例を模式的に示したシーケンス図である。   A state in which all video packets are preferentially transmitted will be described with reference to FIG. FIG. 17 is a sequence diagram schematically showing an example of a state in which all video packets are preferentially transmitted.

図示のとおり、HGW101は、DNS処理が完了した後には、STB402にDNS応答メッセージを送信せず(ステップS202’)、優先度データ生成処理が完了した後、STB402にDNS応答メッセージを送信する(ステップS204’)。そして、DNS応答メッセージを受信したSTB402は、映像配信サーバ603に向けて、映像データの要求を行なう(ステップS205)。その応答として映像配信サーバ603がSTB402に向けて映像データフローを送信し始めるので(ステップS206)、HGW101に到着した映像パケットは、全て、優先的に伝送されることとなる。   As shown in the figure, the HGW 101 does not transmit a DNS response message to the STB 402 after the DNS processing is completed (step S202 ′), and transmits a DNS response message to the STB 402 after the priority data generation processing is completed (step S202 ′). S204 ′). Upon receiving the DNS response message, the STB 402 requests the video distribution server 603 for video data (step S205). As a response, the video distribution server 603 starts to transmit a video data flow toward the STB 402 (step S206), so that all video packets arriving at the HGW 101 are preferentially transmitted.

(補記)
パケット優先度記憶部23に記憶する優先度は、送信先のIPアドレスにのみ対応づけてもよい。つまり、表4に示したデータ構造から「サーバIPアドレス」カラムを除いてもよい。このようにした場合、パケット優先度変更処理では、パケットの送信先のIPアドレスのみに基づいて、パケットを優先度を変更するか否かを判断することとなる。したがって、映像配信サーバ603や映像配信サーバ604以外の装置からデータ送受信装置400へ送信されるパケットも優先的に伝送する対象となる。例えば、宅内に設置されたDLNA(Digital Living Network Alliance)サーバからHGW101を経由してテレビ405に送信される映像データフローについても、優先的に伝送する対象となる。
(Supplement)
The priority stored in the packet priority storage unit 23 may be associated only with the destination IP address. That is, the “server IP address” column may be removed from the data structure shown in Table 4. In this case, in the packet priority changing process, it is determined whether or not to change the priority of the packet based only on the IP address of the packet transmission destination. Therefore, a packet transmitted from a device other than the video distribution server 603 and the video distribution server 604 to the data transmitting / receiving device 400 is also a target to be preferentially transmitted. For example, a video data flow transmitted from a DLNA (Digital Living Network Alliance) server installed in a home to the television 405 via the HGW 101 is also a target to be preferentially transmitted.

〔実施の形態2〕
上述した実施の形態1の通信制御装置100について、再び概略を説明する。図18は、実施の形態1の通信制御装置100を含む通信制御システムの基本構成例を模式的に示す図である。図示のように、通信制御装置100は、あるデータフローに属するパケットを優先的に伝送する優先伝送制御機能(破線で図示)を備えている。通信制御装置100は、優先伝送すべき映像配信サーバのドメイン名とその優先度があらかじめ設定されており、当該ドメイン名に一致するサーバ600からデータ送受信装置400へ向けて送信されるデータフローを優先的に伝送するものである。
[Embodiment 2]
The outline of the communication control apparatus 100 according to the first embodiment will be described again. FIG. 18 is a diagram schematically illustrating a basic configuration example of a communication control system including the communication control apparatus 100 according to the first embodiment. As illustrated, the communication control apparatus 100 includes a priority transmission control function (illustrated by a broken line) that preferentially transmits packets belonging to a certain data flow. In the communication control apparatus 100, the domain name of the video distribution server to be preferentially transmitted and its priority are set in advance, and the data flow transmitted from the server 600 matching the domain name to the data transmitting / receiving apparatus 400 is prioritized. It is intended to transmit.

実施の形態1では、上記の優先伝送制御機能を、通信制御装置100上にて実現している。しかしながら、実施の形態1に係る通信制御装置100に代えて、中継装置300が、上記の優先伝送制御機能を備えていてもよい。そこで、本実施の形態では、優先伝送制御機能を備えた通信中継装置が、あるデータフローを優先的に伝送する形態について説明する。なお、本実施形態に係る、優先伝送制御機能を備えた通信中継装置を、以降では、単に「中継装置」と称する。   In the first embodiment, the above-described priority transmission control function is realized on the communication control apparatus 100. However, instead of the communication control apparatus 100 according to the first embodiment, the relay apparatus 300 may include the above-described priority transmission control function. Therefore, in the present embodiment, a mode in which a communication relay apparatus having a priority transmission control function transmits a certain data flow with priority will be described. Note that the communication relay apparatus having the priority transmission control function according to the present embodiment is hereinafter simply referred to as “relay apparatus”.

本発明の一実施形態について図19〜図22に基づいて説明すると以下の通りである。図19に示すように、本実施の形態に係る中継装置310のそれぞれは、あるデータフローに属するパケットを優先的に伝送する優先伝送制御機能(破線で図示)を備えている。   One embodiment of the present invention is described below with reference to FIGS. As shown in FIG. 19, each of relay apparatuses 310 according to the present embodiment has a priority transmission control function (illustrated by a broken line) for preferentially transmitting packets belonging to a certain data flow.

本実施の形態では、説明の便宜上、実施の形態1にて説明した装置と同一の装置については、その説明を省略する。また、実施の形態1にて示した各部材と同一の機能を有する部材には、同一の符号を付記し、その説明を省略する。また、実施の形態1にて説明した処理と同一に処理については、その説明を省略する。   In this embodiment, for convenience of explanation, the description of the same device as that described in Embodiment 1 is omitted. Further, members having the same functions as those shown in the first embodiment are denoted by the same reference numerals, and description thereof is omitted. Further, the description of the same processing as that described in Embodiment 1 is omitted.

また、本実施の形態にて説明する「優先度データ生成処理」と、実施の形態1にて説明した「優先度データ生成処理」とは、異なる処理である。本実施の形態にて「優先度データ生成処理」と表記する場合は、本実施の形態の「優先度データ生成処理」を示すものとする。   The “priority data generation process” described in the present embodiment is different from the “priority data generation process” described in the first embodiment. In the present embodiment, the expression “priority data generation process” indicates the “priority data generation process” in the present embodiment.

また、本実施形態にて用いる「パケット」、「データフロー」、および「映像データフロー」のそれぞれは、実施の形態1で定義したものと同じである。また、本実施の形態におけるPLCネットワークは、実施の形態1と同様に、HomePlugAV仕様に準拠したPLCを用いたLANを想定している。また、伝送優先度を、単に「優先度」とも称する。   In addition, each of “packet”, “data flow”, and “video data flow” used in the present embodiment is the same as that defined in the first embodiment. Also, the PLC network in the present embodiment is assumed to be a LAN using a PLC compliant with the HomePlugAV specification, as in the first embodiment. The transmission priority is also simply referred to as “priority”.

(通信制御システムの基本構成)
再び図19を参照しながら、本実施の形態に係る中継装置を含む通信制御システムの基本構成について説明する。図19は、本実施の形態に係る中継装置を含む通信制御システムの基本構成例を模式的に示すブロック図である。図示のように、上記通信制御システムは、本実施の形態に係る中継装置310(複数あり)、サーバ600、通信制御装置120、およびデータ送受信装置400(複数あり)を含んで構成される。
(Basic configuration of communication control system)
With reference to FIG. 19 again, the basic configuration of the communication control system including the relay device according to the present embodiment will be described. FIG. 19 is a block diagram schematically showing a basic configuration example of a communication control system including a relay device according to the present embodiment. As shown in the figure, the communication control system includes a relay device 310 (a plurality) according to the present embodiment, a server 600, a communication control device 120, and a data transmission / reception device 400 (a plurality).

図示のとおり、本実施の形態に係る中継装置310は、通信制御装置120とデータ送受信装置400との間に設けられ、第1通信ネットワーク500を伝送媒体としてパケットを中継する装置であり、特に、あるデータフローに属するパケットを優先的に伝送する優先伝送制御機能を有する。   As illustrated, the relay device 310 according to the present embodiment is a device that is provided between the communication control device 120 and the data transmission / reception device 400 and relays a packet using the first communication network 500 as a transmission medium. It has a priority transmission control function for preferentially transmitting packets belonging to a certain data flow.

第1通信ネットワーク500には、複数の中継装置310が、相互に通信可能に接続されている。さらに、通信制御装置120に接続されている中継装置310以外の中継装置310は、それぞれデータ送受信装置400と通信可能に接続されている。   A plurality of relay apparatuses 310 are connected to the first communication network 500 so that they can communicate with each other. Further, the relay apparatuses 310 other than the relay apparatus 310 connected to the communication control apparatus 120 are connected to the data transmitting / receiving apparatus 400 so as to communicate with each other.

サーバ600およびデータ送受信装置400については、実施の形態1にて説明したものと同じであるので、その説明を省略する。   The server 600 and the data transmission / reception device 400 are the same as those described in the first embodiment, and thus description thereof is omitted.

中継装置310は、概略的には、データ送受信装置400(データ受信装置)同士の通信、または、通信制御装置120とデータ送受信装置400との間の通信を中継する装置である。中継装置310としては、例えば、Ethernetのブリッジ装置であるPLCアダプタなどが挙げられる。PLCアダプタの場合、第1通信ネットワーク500はPLCである。中継装置310がPLCアダプタの場合、Ethernet側から自装置に到着したパケットを、第1通信ネットワーク500であるPLC側に送出する。また逆に、第1通信ネットワーク500であるPLC側から自装置に到着したパケットを、Ethernet側に送出する。自装置に到着したパケットが、自装置宛てである場合は当該パケットを中継しない。   The relay device 310 is generally a device that relays communication between data transmission / reception devices 400 (data reception devices) or communication between the communication control device 120 and the data transmission / reception device 400. Examples of the relay device 310 include a PLC adapter that is an Ethernet bridge device. In the case of a PLC adapter, the first communication network 500 is a PLC. When the relay device 310 is a PLC adapter, a packet that arrives at the device from the Ethernet side is sent to the PLC side that is the first communication network 500. Conversely, a packet arriving at the own apparatus from the PLC side which is the first communication network 500 is transmitted to the Ethernet side. When a packet that arrives at the own device is addressed to the own device, the packet is not relayed.

通信制御装置120は、LAN側のデータ送受信装置400とWAN側のサーバ600との間でやりとりされるパケットの転送を制御する装置である。通信制御装置120は、具体的には、HGW(Home Gateway)などのルータ装置のことである。データ送受信装置400は、具体的には、STBやPCなどのネットワーク機器である。   The communication control device 120 is a device that controls transfer of packets exchanged between the data transmission / reception device 400 on the LAN side and the server 600 on the WAN side. Specifically, the communication control device 120 is a router device such as an HGW (Home Gateway). Specifically, the data transmitting / receiving apparatus 400 is a network device such as an STB or a PC.

上記構成において、データ送受信装置400は、サーバ600に対して映像データを要求する旨のパケットを送信する。サーバ600は、データ送受信装置400に対して映像データフローを送信する。また、データ送受信装置400は、サーバ600に対して制御パケットなどのパケットを送信する。このとき、通信制御装置120に接続されている中継装置310は、上記映像データフローに属するパケットを優先して伝送すること。また、データ送受信装置400に接続されている中継装置310は、上記要求パケットや上記制御パケットを優先して伝送することが、本実施の形態に係る中継装置の特徴である。   In the above configuration, the data transmission / reception device 400 transmits a packet requesting video data to the server 600. The server 600 transmits a video data flow to the data transmission / reception device 400. Further, the data transmitting / receiving apparatus 400 transmits a packet such as a control packet to the server 600. At this time, the relay device 310 connected to the communication control device 120 preferentially transmits packets belonging to the video data flow. Also, the relay apparatus 310 connected to the data transmitting / receiving apparatus 400 is characterized by the relay apparatus according to the present embodiment that the request packet and the control packet are transmitted with priority.

(通信制御システムの具体的構成例)
図20を参照しながら、図19で示した通信制御システムの具体的構成例について説明する。図20は、図19で示した通信制御システムの具体的構成の一例を模式的に示すブロック図である。図20では、図19で示した各装置および通信ネットワークのそれぞれに対して、具体例を当てはめている。
(Specific configuration example of communication control system)
A specific configuration example of the communication control system shown in FIG. 19 will be described with reference to FIG. FIG. 20 is a block diagram schematically illustrating an example of a specific configuration of the communication control system illustrated in FIG. In FIG. 20, a specific example is applied to each device and communication network shown in FIG.

なお、図20において、STB402、PC403、STB404、テレビ405、テレビ406、PLCネットワーク501、DNSサーバ601、映像配信サーバ603、Webサーバ605、およびインターネット701のぞれぞれは、実施の形態1の図3を用いて説明したものと同じであるので、その説明を省略する。なお、各装置に付されているIPアドレスについても実施の形態1にて説明したものと同じである。   In FIG. 20, each of STB 402, PC 403, STB 404, television 405, television 406, PLC network 501, DNS server 601, video distribution server 603, Web server 605, and Internet 701 is the same as that in the first embodiment. Since it is the same as what was demonstrated using FIG. 3, the description is abbreviate | omitted. The IP address assigned to each device is the same as that described in the first embodiment.

図20において、PLCネットワークで用いられるブリッジ装置であるPLCアダプタ311、PLCアダプタ312、およびPLCアダプタ313のそれぞれが、図19で示した3台の中継装置310に相当する。   20, each of a PLC adapter 311, a PLC adapter 312, and a PLC adapter 313, which are bridge devices used in the PLC network, corresponds to the three relay devices 310 shown in FIG.

なお、図20では、PLCアダプタ311、PLCアダプタ312およびPLCアダプタ313は、それぞれ独立した装置として図示しているが、その構成に限定されることはない。例えば、PLCアダプタ311はHGW121に内蔵される構成であってもよいし、PLCアダプタ312はSTB402およびPC403に内蔵される構成であってもよいし、PLCアダプタ313はSTB404に内蔵される構成であってもよい。   In FIG. 20, the PLC adapter 311, the PLC adapter 312, and the PLC adapter 313 are illustrated as independent devices, but the configuration is not limited thereto. For example, the PLC adapter 311 may be configured in the HGW 121, the PLC adapter 312 may be configured in the STB 402 and the PC 403, or the PLC adapter 313 may be configured in the STB 404. May be.

HGW121(通信制御装置)は、図19で示した通信制御装置120に相当するものであり、WAN側であるインターネット701とLAN側であるEthernetのネットワークと間に設置されるルータ装置である。   The HGW 121 (communication control device) corresponds to the communication control device 120 shown in FIG. 19, and is a router device installed between the Internet 701 on the WAN side and the Ethernet network on the LAN side.

上記構成において、例えば、ユーザがテレビ405にて映像配信サーバ603から配信される映像コンテンツを視聴する場合を考える。STB402は、映像配信サーバ603に対して映像データを要求する旨のパケットを送信する。映像配信サーバ603は、STB402に対して映像データフローを送信する。また、STB402は、映像配信サーバ603に対して制御パケットなどのパケットを送信する。   In the above configuration, for example, consider a case where a user views video content distributed from the video distribution server 603 on the television 405. The STB 402 transmits a packet requesting video data to the video distribution server 603. The video distribution server 603 transmits a video data flow to the STB 402. Further, the STB 402 transmits a packet such as a control packet to the video distribution server 603.

このとき、HGW121に接続されているPLCアダプタ311は、映像配信サーバ603から送信される映像データフローに属するパケットを優先伝送制御すること。また、STB402に接続されているPLCアダプタ312は、上記要求パケットや上記制御パケットを優先伝送制御することが、本実施の形態に係る中継装置の特徴である。   At this time, the PLC adapter 311 connected to the HGW 121 performs priority transmission control on packets belonging to the video data flow transmitted from the video distribution server 603. Also, the PLC adapter 312 connected to the STB 402 is characterized by the priority transmission control of the request packet and the control packet, which is a feature of the relay apparatus according to the present embodiment.

なお、以下では、中継装置310と表現する場合は、特に指定している場合を除き、PLCアダプタ311、PLCアダプタ312、およびPLCアダプタ313のいずれかを指すものとする。また、データ送受信装置400と表現する場合は、特に指定している場合を除き、STB402、PC403、およびSTB404のいずれかを指すものとする。また、サーバ600と表現するときは、特に指定している場合を除き、DNSサーバ601、映像配信サーバ603、およびWebサーバ605のいずれかを指すものとする。   In the following description, the term “relay device 310” refers to any one of the PLC adapter 311, the PLC adapter 312, and the PLC adapter 313 unless otherwise specified. In addition, when expressed as the data transmission / reception device 400, it indicates any of the STB 402, the PC 403, and the STB 404 unless otherwise specified. In addition, when expressed as the server 600, it indicates any of the DNS server 601, the video distribution server 603, and the Web server 605 unless otherwise specified.

また、本実施の形態では、STB402は、映像配信サーバ603にアクセスするにあたり、HGW121に対して、映像配信サーバ603のIPアドレスの問合せを行なうものとする。HGW121は、STB402に対して直接その応答メッセージを返してもよいし、必要ならば、DNSサーバ601に問合せを行なってからその応答メッセージを返してもよい。   Further, in this embodiment, the STB 402 makes an inquiry about the IP address of the video distribution server 603 to the HGW 121 when accessing the video distribution server 603. The HGW 121 may return the response message directly to the STB 402, or may return the response message after making an inquiry to the DNS server 601 if necessary.

(データ送受信装置がデータを要求してから受信するまでの流れの概要)
図21を参照しながら、図20で示した通信制御システムにおいて、STB402が映像データを要求し、映像配信サーバ603から映像データを受信するまで流れの概略について説明する。図21は、図20で示した通信制御システムにおいて、STB402が、映像データを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。なお、ここでは、実施の形態1の図4に示したステップS201〜S208を適宜参照しながら説明を行なう。
(Overview of the flow from when a data transmission / reception device requests data until it is received)
With reference to FIG. 21, an outline of a flow until the STB 402 requests video data and receives video data from the video distribution server 603 in the communication control system shown in FIG. 20 will be described. FIG. 21 is a sequence diagram schematically illustrating an example of a flow from when the STB 402 requests video data to reception thereof in the communication control system illustrated in FIG. 20. Here, description will be made with reference to steps S201 to S208 shown in FIG. 4 of the first embodiment as appropriate.

まず、STB402は、映像コンテンツを視聴するユーザ操作を受け付けると、映像配信サーバ603への接続に先立ち、HGW121に対して、映像配信サーバ603のIPアドレスを問合せるDNS問合せメッセージを送信する(ステップS401)。具体的には、映像配信サーバ603のドメイン名である「sv1.vod.service-a.co.jp」に対応するIPアドレスを問合せする。   First, when the STB 402 receives a user operation for viewing video content, prior to connection to the video distribution server 603, the STB 402 transmits a DNS inquiry message for inquiring the IP address of the video distribution server 603 to the HGW 121 (step S401). . Specifically, the IP address corresponding to “sv1.vod.service-a.co.jp” that is the domain name of the video distribution server 603 is inquired.

続いて、経路上のPLCアダプタ312は、上記DNS問合せメッセージを中継する。ここで、PLCアダプタ312は、自装置が中継するすべてのパケットを監視し、DNS応答メッセージを検出する処理(以下、DNS検出処理)を常時行なっている。しかしながら、上記のDNS問合せメッセージは、DNS検出処理の検出対象ではないため、上記検出を行なわない(ステップS402)。なお、DNS検出処理の詳細については後述する。   Subsequently, the PLC adapter 312 on the route relays the DNS inquiry message. Here, the PLC adapter 312 monitors all packets relayed by its own device, and always performs a process of detecting a DNS response message (hereinafter referred to as DNS detection process). However, since the above DNS inquiry message is not a detection target of the DNS detection process, the above detection is not performed (step S402). Details of the DNS detection process will be described later.

続いて、PLCアダプタ311においても、同様に、DNS検出処理を行なっているが、上記DNS問合せメッセージはDNS検出処理の検出対象ではないため、上記検出を行なわない。PLCアダプタ311は、HGW121に向けて上記DNS問合せメッセージを転送する(ステップS403)。   Subsequently, the PLC adapter 311 similarly performs DNS detection processing. However, since the DNS inquiry message is not a detection target of the DNS detection processing, the detection is not performed. The PLC adapter 311 transfers the DNS inquiry message to the HGW 121 (step S403).

続いて、HGW121は、DNS問合せメッセージを受信すると、該受信したDNS問合せメッセージに対応してDNS処理を行なう。すなわち、HGW121は、問合せされたドメイン名に対応するIPアドレスをすでに管理していれば、適切なDNS応答メッセージをSTB402に向けて送信する。HGW121は、問合せされたドメイン名に対応するIPアドレスを管理していなければ、DNSサーバ601に対して、DNS問合せメッセージを送信する(ステップS404)。   Subsequently, when the HGW 121 receives a DNS inquiry message, the HGW 121 performs a DNS process corresponding to the received DNS inquiry message. That is, if the HGW 121 has already managed the IP address corresponding to the queried domain name, the HGW 121 transmits an appropriate DNS response message to the STB 402. If the HGW 121 does not manage the IP address corresponding to the inquired domain name, the HGW 121 transmits a DNS inquiry message to the DNS server 601 (step S404).

続いて、DNSサーバ601は、DNS問合せメッセージを受信すると、適切なDNS応答メッセージを送信する。具体的には、DNSサーバ601は、問合せされたドメイン名「sv1.vod.service-a.co.jp」に対応するIPアドレス「101.101.101.1」を含めたDNS応答メッセージを返信する(ステップS405)。そして、HGW121は、上記DNS応答メッセージを受信すると、問合せ元であるSTB402に向けて、上記DNS応答メッセージを送信する(ステップS404)。   Subsequently, when the DNS server 601 receives the DNS inquiry message, the DNS server 601 transmits an appropriate DNS response message. Specifically, the DNS server 601 returns a DNS response message including the IP address “101.101.101.1” corresponding to the inquired domain name “sv1.vod.service-a.co.jp” (step S405). ). When the HGW 121 receives the DNS response message, the HGW 121 transmits the DNS response message to the STB 402 that is the inquiry source (step S404).

続いて、経路上のPLCアダプタ311は、HGW121から上記DNS応答メッセージを中継する。上述のとおり、PLCアダプタ311では、DNS検出処理を行なっている。したがって、この場合、PLCアダプタ311は、DNS応答メッセージであることを検出する。さらに、問合せ対象のドメイン名が事前に設定されているドメイン名に一致することを検出する(ステップS406)。   Subsequently, the PLC adapter 311 on the route relays the DNS response message from the HGW 121. As described above, the PLC adapter 311 performs DNS detection processing. Therefore, in this case, the PLC adapter 311 detects that it is a DNS response message. Further, it is detected that the domain name to be queried matches the domain name set in advance (step S406).

そして、上記検出が行われため、PLCアダプタ311は、続いて、パケットの優先度を示すデータを生成する処理(以下、優先度データ生成処理)を行なう(ステップS407)。PLCアダプタ311は、HGW121(Ethernet側)からDNS応答メッセージを受け取っていることがわかる。よって、優先度データ生成処理では、映像配信サーバ603からSTB402へ向かうパケットを優先的に伝送するための優先度データを生成する。優先度データは、送信元IPアドレス、送信先IPアドレス、優先度が含まれる。   Since the detection is performed, the PLC adapter 311 subsequently performs a process of generating data indicating the priority of the packet (hereinafter, priority data generation process) (step S407). It can be seen that the PLC adapter 311 has received a DNS response message from the HGW 121 (Ethernet side). Therefore, in the priority data generation process, priority data for preferentially transmitting a packet from the video distribution server 603 to the STB 402 is generated. The priority data includes a transmission source IP address, a transmission destination IP address, and a priority.

映像配信サーバ603のIPアドレスは、DNS応答メッセージに含まれているIPアドレスから取得できる。また、STB402のIPアドレスは、DNS応答メッセージの送信先IPアドレスから取得できる。優先度については、事前に設定されている値を設定する。具体的には、ドメイン名「sv1.vod.service-a.co.jp」に対する優先度が「5」と設定されていれば、優先度を「5」と設定する。優先度データ生成処理の詳細については、後述する。   The IP address of the video distribution server 603 can be acquired from the IP address included in the DNS response message. Further, the IP address of the STB 402 can be obtained from the transmission destination IP address of the DNS response message. As the priority, a value set in advance is set. Specifically, if the priority for the domain name “sv1.vod.service-a.co.jp” is set to “5”, the priority is set to “5”. Details of the priority data generation processing will be described later.

なお、後述するパケット優先伝送処理において、PLCアダプタ311は、上記生成された優先度データに従って、パケットを伝送する。具体的には、映像配信サーバ603からSTB402へ送信されるパケットを優先的に伝送する。パケット優先伝送処理の詳細については、後述する。   In the packet priority transmission process described later, the PLC adapter 311 transmits a packet according to the generated priority data. Specifically, a packet transmitted from the video distribution server 603 to the STB 402 is preferentially transmitted. Details of the packet priority transmission processing will be described later.

続いて、経路上のPLCアダプタ312は、上記DNS応答メッセージを中継する。このとき、PLCアダプタ312は、DNS応答メッセージであることを検出する。さらに、問合せ対象のドメイン名が事前に設定されているドメイン名の一つに一致することを検出する(ステップS408)。   Subsequently, the PLC adapter 312 on the route relays the DNS response message. At this time, the PLC adapter 312 detects that it is a DNS response message. Further, it is detected that the domain name to be queried matches one of the domain names set in advance (step S408).

そして、上記検出が行われため、PLCアダプタ312は、続いて、優先度データ生成処理を行なう(ステップS409)。PLCアダプタ312は、STB402(PLC側)からDNS応答メッセージを受け取っていることがわかる。よって、優先度データ生成処理では、STB402から映像配信サーバ603へ向かうパケットを優先的に伝送するための優先度データを生成する。   Since the above detection is performed, the PLC adapter 312 subsequently performs priority data generation processing (step S409). It can be seen that the PLC adapter 312 has received a DNS response message from the STB 402 (PLC side). Therefore, in the priority data generation process, priority data for preferentially transmitting a packet from the STB 402 to the video distribution server 603 is generated.

なお、後述するパケット優先伝送処理において、PLCアダプタ312は、上記生成された優先度データに従って、パケットを優先的に伝送する。具体的には、STB402から映像配信サーバ603へ送信されるパケットを優先的に伝送する。   In the packet priority transmission process described later, the PLC adapter 312 preferentially transmits packets according to the generated priority data. Specifically, a packet transmitted from the STB 402 to the video distribution server 603 is preferentially transmitted.

そして、STB402は、DNS応答メッセージを受信した後、映像コンテンツの受信を開始するために、映像配信サーバ603に向けて、映像データの要求パケットを送信する(ステップS410)。そして、経路上のPLCアダプタ312は、当該要求パケットを中継する。   After receiving the DNS response message, the STB 402 transmits a video data request packet to the video distribution server 603 in order to start receiving video content (step S410). Then, the PLC adapter 312 on the route relays the request packet.

PLCアダプタ312は、パケットを中継するとき、当該パケットが上記生成された優先度データに合致しているかどうかを判断し、合致していれば当該パケットを優先的に伝送する(パケット優先伝送処理)。   When the packet is relayed, the PLC adapter 312 determines whether the packet matches the generated priority data. If the packet matches, the PLC adapter 312 preferentially transmits the packet (packet priority transmission processing). .

当該要求パケットは、優先度データに合致している(すなわち、送信元IPアドレスがSTB402であって、かつ、送信先IPアドレスが映像配信サーバ603である)ので、PLCアダプタ312は、当該要求パケットを優先的に伝送する(ステップS411)。   Since the request packet matches the priority data (that is, the transmission source IP address is the STB 402 and the transmission destination IP address is the video distribution server 603), the PLC adapter 312 receives the request packet. Is preferentially transmitted (step S411).

上記転送において、上記生成された優先度データの「優先度」が用いられる。例えば、優先度データの「優先度」が「5」であれば、当該要求パケットを優先度「5」で転送する。   In the transfer, the “priority” of the generated priority data is used. For example, if the “priority” of the priority data is “5”, the request packet is transferred with the priority “5”.

なお、パケット優先伝送処理では、実施の形態1とは異なり、パケットの優先度フィールド(DSCP)の値自体は更新しない。パケット優先伝送処理の詳細については、後述する。   In the packet priority transmission process, unlike the first embodiment, the packet priority field (DSCP) value itself is not updated. Details of the packet priority transmission processing will be described later.

そして、上記要求パケットを受信した映像配信サーバ603は、その応答として、STB402に向けて映像データフローを送信する(ステップS413)。そして、経路上のPLCアダプタ311はその映像データフローを中継する。PLCアダプタ311は、パケットを中継するとき、同様に、パケット優先伝送処理を行なう。   The video distribution server 603 that has received the request packet transmits a video data flow to the STB 402 as a response (step S413). Then, the PLC adapter 311 on the route relays the video data flow. The PLC adapter 311 similarly performs packet priority transmission processing when relaying a packet.

映像データフローに属する映像パケットは、優先度データに合致している(すなわち、送信元IPアドレスが映像配信サーバ603であって、かつ、送信先IPアドレスがSTB402である)ので、PLCアダプタ311は、当該映像パケットを優先的に伝送する(ステップS414)。   Since the video packet belonging to the video data flow matches the priority data (that is, the transmission source IP address is the video distribution server 603 and the transmission destination IP address is the STB 402), the PLC adapter 311 The video packet is preferentially transmitted (step S414).

そして、PLCアダプタ312から送信された映像パケットをSTB402が受信し、映像信号に変換(デコード)してテレビ405に出力することによって、映像が再生される(ステップS416)。   The STB 402 receives the video packet transmitted from the PLC adapter 312, converts (decodes) it into a video signal, and outputs it to the television 405, thereby reproducing the video (step S 416).

さらに、ユーザが、映像の早送りや巻き戻しなどのリモコン操作を行なうと、STB402は、映像配信サーバ603に向けて、制御パケットを送信することがある。経路上のPLCアダプタ312は、ステップS411と同様に、当該制御パケットを優先的に転送する。   Further, when the user performs a remote control operation such as fast-forwarding or rewinding the video, the STB 402 may transmit a control packet to the video distribution server 603. The PLC adapter 312 on the path preferentially transfers the control packet as in step S411.

以上で説明した流れにより、要求パケット、映像パケット、および制御パケットといった、映像配信サーバ603とSTB402との間でやりとりされるパケットを、特にPLCネットワーク501上において、優先的に伝送することができる。これにより、例えば、映像配信サーバ603にて提供される映像コンテンツをテレビ405にて視聴するにあたり、映像の再生の乱れを抑制したり、リモコン操作に対するサーバからの応答の遅れを抑制することができるという効果を奏する。   Through the flow described above, packets exchanged between the video distribution server 603 and the STB 402, such as a request packet, a video packet, and a control packet, can be preferentially transmitted on the PLC network 501 in particular. Thereby, for example, when viewing the video content provided by the video distribution server 603 on the television 405, it is possible to suppress disturbance of the reproduction of the video and to suppress a delay in response from the server to the remote control operation. There is an effect.

なお、PLCアダプタ311、PLCアダプタ312、およびPLCアダプタ313は、転送するパケットをバッファリングするための、優先度別の複数の送信キューを備えているものとする。そして、転送すべきパケットを、当該パケットの優先度に応じた送信キューにバッファリングするとともに、優先度の高い送信キューにバッファリングされているパケットから順に転送処理を行なう。   Note that the PLC adapter 311, the PLC adapter 312, and the PLC adapter 313 are provided with a plurality of priority-specific transmission queues for buffering packets to be transferred. Then, the packets to be transferred are buffered in a transmission queue corresponding to the priority of the packet, and the transfer process is performed in order from the packets buffered in the transmission queue having a higher priority.

(PLCアダプタの構成)
次に、図22を参照しながら、中継装置310としてのPLCアダプタ311(312、313)の概略構成について説明する。図22は、PLCアダプタ311(312、313)の概略構成を示すブロック図である。
(Configuration of PLC adapter)
Next, a schematic configuration of the PLC adapter 311 (312 and 313) as the relay device 310 will be described with reference to FIG. FIG. 22 is a block diagram showing a schematic configuration of the PLC adapter 311 (312, 313).

図22に示すようにPLCアダプタ311(312、313)は、制御部210、記憶部220、Ethernet通信部231、およびPLC通信部232を含んで構成される。   As shown in FIG. 22, the PLC adapter 311 (312 and 313) includes a control unit 210, a storage unit 220, an Ethernet communication unit 231 and a PLC communication unit 232.

制御部210は、記憶部220、Ethernet通信部231、およびPLC通信部232の制御を行なうとともに、所定の演算処理を行なうものである。所定の演算処理としては、例えば、DNS検出処理、優先度データ生成処理、パケット優先伝送処理などがある。制御部210の詳細な構成については後述する。   The control unit 210 controls the storage unit 220, the Ethernet communication unit 231, and the PLC communication unit 232, and performs predetermined arithmetic processing. Examples of the predetermined arithmetic processing include DNS detection processing, priority data generation processing, and packet priority transmission processing. A detailed configuration of the control unit 210 will be described later.

記憶部220は、制御部210で実施する処理のプログラムや、処理に必要なデータなどを記憶する。具体的には、RAMなどの揮発性メモリ、および、ROMやフラッシュメモリなどの不揮発性メモリで実現される。上記各種データは、記憶部220内部の各種記憶部に記憶される。記憶部220は、QoS対象記憶部222、およびパケット優先度記憶部223を含んでいる。   The storage unit 220 stores a program for processing executed by the control unit 210, data necessary for processing, and the like. Specifically, it is realized by a volatile memory such as a RAM and a non-volatile memory such as a ROM or a flash memory. The various data is stored in various storage units inside the storage unit 220. The storage unit 220 includes a QoS target storage unit 222 and a packet priority storage unit 223.

QoS対象記憶部222は、優先させたいサーバのドメイン名、およびそのサービスを享受する際の優先度が含まれる。QoS対象記憶部222は、例えば、表5に示したデータ構造とすることができる。すなわち、「ドメイン名」および「優先度」の組から成るエントリを記憶する。   The QoS target storage unit 222 includes the domain name of the server to be prioritized and the priority for enjoying the service. For example, the QoS target storage unit 222 may have the data structure shown in Table 5. That is, an entry including a set of “domain name” and “priority” is stored.

Figure 2009284456
Figure 2009284456

なお、QoS対象記憶部222のエントリ情報は、例えば、PLCアダプタの工場出荷時などの時点で、ベンダーがあらかじめ設定しておけばよい。   The entry information in the QoS target storage unit 222 may be set in advance by the vendor at the time of shipment of the PLC adapter, for example.

また、ユーザがQoS対象記憶部222のエントリ情報を更新してもよいし、あるいは、ファームウェアのバージョンアップとともに、QoS対象記憶部222のエントリ情報を更新してもよい。これらの内容は、本発明の本質的な部分ではないので、詳しい説明は省略する。通常、QoS対象記憶部222は、不揮発性メモリに記憶される。   In addition, the user may update the entry information in the QoS target storage unit 222, or may update the entry information in the QoS target storage unit 222 as the firmware is upgraded. Since these contents are not an essential part of the present invention, detailed description thereof is omitted. Normally, the QoS target storage unit 222 is stored in a nonvolatile memory.

パケット優先度記憶部223は、PLCアダプタ311(312、313)がパケットを転送する際の優先度情報を記憶する。パケット優先度記憶部223は、例えば、表6に示したデータ構造とすることができる。すなわち、「送信元IPアドレス」、「送信先IPアドレス」、および「優先度」の組から成る優先度データを記憶する。   The packet priority storage unit 223 stores priority information when the PLC adapter 311 (312, 313) transfers a packet. The packet priority storage unit 223 may have a data structure shown in Table 6, for example. That is, priority data composed of a set of “source IP address”, “destination IP address”, and “priority” is stored.

Figure 2009284456
Figure 2009284456

「送信元IPアドレス」は、優先すべきパケットの送信元IPアドレスである。「送信先IPアドレス」は、優先すべきパケットの送信先IPアドレスである。「優先度」は、転送するパケットの優先度を示す値である。数値が大きいほど優先度が高いことを示す。パケット優先度記憶部223の優先度データは、揮発性メモリまたは不揮発性メモリに記憶される。永続的な優先度データであれば、不揮発性メモリに記憶されるべきであるし、一時的な優先度データであれば、揮発性メモリに記憶されるべきである。揮発性メモリに記憶された優先度データは、PLCアダプタが電源オフになると消去される。   “Source IP address” is a source IP address of a packet to be prioritized. “Destination IP address” is a destination IP address of a packet to be prioritized. “Priority” is a value indicating the priority of a packet to be transferred. The larger the value, the higher the priority. The priority data in the packet priority storage unit 223 is stored in a volatile memory or a nonvolatile memory. Permanent priority data should be stored in non-volatile memory, and temporary priority data should be stored in volatile memory. The priority data stored in the volatile memory is erased when the PLC adapter is powered off.

Ethernet通信部231は、Ethernetを介して自装置に接続される外部装置との通信を行なうものである。   The Ethernet communication unit 231 communicates with an external device connected to the own device via Ethernet.

PLC通信部232は、PLCネットワーク501上の自装置以外のPLCアダプタとの通信を行なうものである。   The PLC communication unit 232 communicates with a PLC adapter other than its own device on the PLC network 501.

なお、PLC通信部232は、PLCネットワーク501へ送信するパケットをバッファリングするための、優先度別の複数の送信キューを備えている(図示しない)。そして、送信すべきパケットを、当該パケットの優先度に応じた送信キューにバッファリングするとともに、優先度の高い送信キューにバッファリングされているパケットから順に送信する。   The PLC communication unit 232 includes a plurality of priority-specific transmission queues (not shown) for buffering packets to be transmitted to the PLC network 501. Then, the packets to be transmitted are buffered in a transmission queue corresponding to the priority of the packet, and are transmitted in order from the packets buffered in the transmission queue having a higher priority.

次に、制御部210について詳細に説明する。制御部210は、パケット転送処理部211、DNS検出部212、優先度データ生成処理部213、パケット優先伝送処理部214、および優先度データ削除処理部215を含んでいる。   Next, the control unit 210 will be described in detail. The control unit 210 includes a packet transfer processing unit 211, a DNS detection unit 212, a priority data generation processing unit 213, a packet priority transmission processing unit 214, and a priority data deletion processing unit 215.

まず、パケット転送処理部211について説明する。パケット転送処理部211は、パケットの転送処理を行なう。パケットの転送処理では、Ethernet通信部231がEthernetを介して外部装置から受信したパケットを、PLCネットワーク501側へ送信し、PLC通信部232に転送する。また、逆に、PLC通信部232がPLCネットワーク501から受信したパケットを、Ethernet側へ送信し、Ethernet通信部231に転送する。   First, the packet transfer processing unit 211 will be described. The packet transfer processing unit 211 performs packet transfer processing. In the packet transfer process, the Ethernet communication unit 231 transmits a packet received from an external device via Ethernet to the PLC network 501 side and transfers the packet to the PLC communication unit 232. Conversely, the packet received by the PLC communication unit 232 from the PLC network 501 is transmitted to the Ethernet side and transferred to the Ethernet communication unit 231.

また、パケット転送処理部211は、パケットを転送する際、パケット優先伝送処理部214によって決定された優先度に応じて、当該パケットの伝送制御を行なう。具体的には、PLC通信部232がPLCネットワーク501から受信したパケットを、Ethernet側へ送信するEthernet通信部231に転送する際に、優先度別の複数の送信キューのうち、パケット優先伝送処理部214によって決定された優先度に応じた送信キューに入れる。なお、パケット優先伝送処理部214については後述する。   The packet transfer processing unit 211 controls transmission of the packet according to the priority determined by the packet priority transmission processing unit 214 when transferring the packet. Specifically, when transferring a packet received from the PLC network 501 by the PLC communication unit 232 to the Ethernet communication unit 231 that transmits to the Ethernet side, a packet priority transmission processing unit among a plurality of priority-specific transmission queues. The transmission queue corresponding to the priority determined by 214 is entered. The packet priority transmission processing unit 214 will be described later.

なお、パケット優先伝送処理部214が、転送するパケットの優先度を決定できなかった場合、デフォルトの優先度が使用される。デフォルトの優先度とは、通常ベスト・エフォートの意味である。   If the packet priority transmission processing unit 214 cannot determine the priority of the packet to be transferred, the default priority is used. The default priority usually means best effort.

なお、DNS検出部212は、パケット転送処理部211が転送するパケットを監視している。DNS検出部212は、Ethernet側から受信するパケットと、PLCネットワーク501から受信するパケットの両方を監視している。DNS検出部212は、パケットがどちらのネットワークから(Ethernet側から受信したものであるか、PLCネットワーク501から受信したものであるか)受信したものであるかを示す情報を取得できるものとする。   Note that the DNS detection unit 212 monitors packets transferred by the packet transfer processing unit 211. The DNS detection unit 212 monitors both packets received from the Ethernet side and packets received from the PLC network 501. It is assumed that the DNS detection unit 212 can acquire information indicating from which network (whether the packet is received from the Ethernet side or from the PLC network 501).

次に、DNS検出部212について説明する。まず、DNS検出部212は、パケット転送処理部211が受信したパケットがUDP(User Datagram Protocol)パケットであるか否かを調べる。当該パケットがUDPパケットならば、その送信元ポート番号が、DNSのwell-knownポート番号(53)であるか否かを調べる。上記送信元ポート番号が、DNSのwell-knownポート番号(53)である場合、当該パケットは、DNSパケットである。   Next, the DNS detection unit 212 will be described. First, the DNS detection unit 212 checks whether the packet received by the packet transfer processing unit 211 is a UDP (User Datagram Protocol) packet. If the packet is a UDP packet, it is checked whether or not the source port number is the DNS well-known port number (53). When the source port number is a DNS well-known port number (53), the packet is a DNS packet.

さらに、DNS検出部212は、DNSパケットの “Response” ビットの値が“1”(応答)であるか否かを調べる。“Response” ビットの値が“1”(応答)ならば当該パケットは、DNS応答パケットである。   Further, the DNS detection unit 212 checks whether the value of the “Response” bit of the DNS packet is “1” (response). If the value of the “Response” bit is “1” (response), the packet is a DNS response packet.

そして、さらに、DNS検出部212は、DNS応答パケットに含まれる“Reply Code”の値が、“No error”(エラーなし)であるか否かを調べる。DNS検出部212は、“Reply Code”の値が“No error”(エラーなし)である場合、当該DNS応答パケットを検出処理対象とする。そうでない場合、検出処理対象から外す。   Further, the DNS detection unit 212 checks whether the value of “Reply Code” included in the DNS response packet is “No error” (no error). When the value of “Reply Code” is “No error” (no error), the DNS detection unit 212 sets the DNS response packet as a detection processing target. Otherwise, it is removed from the detection processing target.

当該パケットがDNS応答メッセージのパケットならば、DNS検出部212は、さらに、当該パケットに含まれる問合せ対象のドメイン名が、QoS対象記憶部222で管理されているエントリ情報の「ドメイン名」に一致するかどうかを調べる。一致したエントリ情報が見つかれば、DNS検出部212は、当該DNS応答メッセージのパケットの内容と、一致したエントリ情報を、優先度データ生成処理部213に通知する。また、パケットがどちらのネットワークから受信したものであるかを示す情報を優先度データ生成処理部213に通知する。複数のエントリ情報の「ドメイン名」に一致する可能性もあるが、その場合、最初に一致したエントリ情報を用いることとする。一致したエントリ情報が見つからなければ、DNS検出部212は、その処理を終了する。   If the packet is a DNS response message packet, the DNS detection unit 212 further matches the query target domain name included in the packet with the “domain name” of the entry information managed in the QoS target storage unit 222. Find out if you want to. If the matched entry information is found, the DNS detection unit 212 notifies the priority data generation processing unit 213 of the content of the packet of the DNS response message and the matched entry information. Also, the priority data generation processing unit 213 is notified of information indicating from which network the packet is received. Although there is a possibility that it matches the “domain name” of a plurality of entry information, in that case, the first matching entry information is used. If no matching entry information is found, the DNS detection unit 212 ends the process.

次に、優先度データ生成処理部213について説明する。優先度データ生成処理部213は、表7または表8で示される優先度データを生成して、パケット優先度記憶部223に記憶する。   Next, the priority data generation processing unit 213 will be described. The priority data generation processing unit 213 generates priority data shown in Table 7 or Table 8 and stores it in the packet priority storage unit 223.

DNS応答パケットがEthernet側から受信したものであれば、表7で示される優先度データを生成する(映像配信サーバ603からSTB402への方向)。   If the DNS response packet is received from the Ethernet side, the priority data shown in Table 7 is generated (direction from the video distribution server 603 to the STB 402).

DNS応答パケットがPLCネットワーク501から受信したものであれば、表8で示される優先度データを生成する(STB402から映像配信サーバ603への方向)。   If the DNS response packet is received from the PLC network 501, the priority data shown in Table 8 is generated (direction from the STB 402 to the video distribution server 603).

Figure 2009284456
Figure 2009284456

Figure 2009284456
Figure 2009284456

DNS応答メッセージに含まれる問合せ対象のドメイン名に対応したIPアドレスとは、例えば、映像配信サーバ603のIPアドレスである。DNS応答メッセージの送信先IPアドレスとは、例えば、データ送受信装置400のIPアドレスである。また、問合せされたドメイン名に対応するIPアドレスが複数ある場合は、それに応じて上記生成される優先度データの数も複数となる。   The IP address corresponding to the domain name to be queried included in the DNS response message is, for example, the IP address of the video distribution server 603. The transmission destination IP address of the DNS response message is, for example, the IP address of the data transmitting / receiving apparatus 400. In addition, when there are a plurality of IP addresses corresponding to the inquired domain name, the number of the priority data generated corresponding thereto is also a plurality.

なお、優先度データ生成処理部213が生成する優先度データは、揮発性メモリまたは不揮発性メモリに記憶される。揮発性メモリに記憶された場合、PLCアダプタが電源オフになると消去される。   The priority data generated by the priority data generation processing unit 213 is stored in a volatile memory or a nonvolatile memory. When stored in volatile memory, it is erased when the PLC adapter is powered off.

次に、パケット優先伝送処理部214について説明する。パケット優先伝送処理部214は、パケット転送処理部211が転送しようとしているパケットを解析し、該解析したパケットが優先伝送の対象である場合、パケット転送処理部211に、当該パケットの優先度を通知する。   Next, the packet priority transmission processing unit 214 will be described. The packet priority transmission processing unit 214 analyzes the packet to be transferred by the packet transfer processing unit 211, and when the analyzed packet is a target of priority transmission, notifies the packet transfer processing unit 211 of the priority of the packet. To do.

具体的には、パケット優先伝送処理部214は、まず、パケット転送処理部211が転送しようとしているパケットから、送信元IPアドレス/送信先IPアドレスなどのヘッダ情報を抽出する。   Specifically, the packet priority transmission processing unit 214 first extracts header information such as a transmission source IP address / transmission destination IP address from the packet that the packet transfer processing unit 211 intends to transfer.

そして、パケット優先度記憶部223のエントリから、「送信元IPアドレス」カラムの値が、上記抽出した送信元IPアドレスと一致し、かつ、「送信先IPアドレス」カラムの値が、上記抽出した送信先IPアドレスと一致するエントリを抽出する。   Then, from the entry in the packet priority storage unit 223, the value of the “source IP address” column matches the extracted source IP address, and the value of the “destination IP address” column is extracted. An entry that matches the destination IP address is extracted.

このとき、上記エントリが抽出されなかった場合は、パケット転送処理部211は、デフォルトの優先度に従って当該パケットを転送する。デフォルトの優先度とは、通常ベスト・エフォートのことである。   At this time, if the entry is not extracted, the packet transfer processing unit 211 transfers the packet according to the default priority. The default priority is usually best effort.

上記エントリが抽出された場合は、パケット優先伝送処理部214は、抽出されたエントリから「優先度」を取得し、その取得した「優先度」に従って当該パケットを転送する。   When the entry is extracted, the packet priority transmission processing unit 214 acquires “priority” from the extracted entry, and transfers the packet according to the acquired “priority”.

次に、優先度データ削除処理部215について説明する。優先度データ削除処理部215は、所定周期(例えば1秒)で、パケット優先度記憶部223を検索し、タイムアウトした優先度データを削除するものとする。   Next, the priority data deletion processing unit 215 will be described. The priority data deletion processing unit 215 searches the packet priority storage unit 223 at a predetermined cycle (for example, 1 second) and deletes the time-out priority data.

タイムアウトを判定するための具体的な方法として以下の3つの方法が考えられる。   The following three methods are conceivable as specific methods for determining the timeout.

1つ目は、ある優先度データに合致するパケットを最後に受信してから所定時間(例えば300秒)経過したときにタイムアウトと判定する方法がある。この方法においては、パケット優先伝送処理部214が、優先度データに合致するパケットを受信したときはいつでも、当該パケットを受信した時点のシステム時刻を、優先度データと関連付けて記憶しておく。優先度データ削除処理部215は、パケットを最後に受信してから所定時間経過したときに、当該優先度データを削除する。   The first is a method of determining a time-out when a predetermined time (for example, 300 seconds) has elapsed since the last reception of a packet matching certain priority data. In this method, whenever the packet priority transmission processing unit 214 receives a packet that matches the priority data, the system time when the packet is received is stored in association with the priority data. The priority data deletion processing unit 215 deletes the priority data when a predetermined time has elapsed since the packet was last received.

2つ目は、優先度データが生成された時点から所定時間(例えば3600秒)経過したときにタイムアウトと判定する方法がある。この方法においては、優先度データ生成処理部213が、優先度データを生成するときに、生成した時点のシステム時刻を優先度データと関連付けて記憶しておく。優先度データ削除処理部215は、優先度データが生成された時点から所定時間経過したときに、当該優先度データを削除する。   The second is a method of determining a timeout when a predetermined time (for example, 3600 seconds) elapses from the time when the priority data is generated. In this method, when the priority data generation processing unit 213 generates priority data, the system time at the time of generation is stored in association with the priority data. The priority data deletion processing unit 215 deletes the priority data when a predetermined time elapses from the time when the priority data is generated.

このとき、タイムアウト時間は、固定値ではなく、DNS応答パケットに含まれるTTL(TimeToLive)と設定してもよい。一般論として、DNS応答によるIPアドレスが有効な時間はTTLまでとされるので、この時間を経過すると、再度DNS問合せパケットが送信される。   At this time, the time-out period may be set to TTL (Time To Live) included in the DNS response packet, instead of a fixed value. In general, since the time when the IP address by the DNS response is valid is TTL, when this time elapses, the DNS inquiry packet is transmitted again.

3つ目は、優先度データ生成処理部213が生成する優先度データの個数に制限を持たせる方法がある。例えば、優先度データの個数をN個に制限しておく。優先度データ生成処理部213は、優先度データを生成するときに、それが何番目に生成された優先度データであるかを調べる。N個目までの優先度データならばパケット優先度記憶部223に保持する。N+1個目の優先度データを生成しようとすると、最も古い優先度データを削除する。このようにして、最新のN個だけの優先度データを有効に維持してもよい。   The third method is to limit the number of priority data generated by the priority data generation processing unit 213. For example, the number of priority data is limited to N. When the priority data generation processing unit 213 generates priority data, the priority data generation processing unit 213 checks the number of generated priority data. If it is up to N-th priority data, it is stored in the packet priority storage unit 223. When the N + 1th priority data is generated, the oldest priority data is deleted. In this way, only the latest N priority data may be effectively maintained.

あるいは、優先度データ削除処理部215がないという実装方法もありうる。この場合、優先度データを揮発性メモリに記憶しておき、PLCアダプタが電源オフになると優先度データは削除される。   Alternatively, there may be an implementation method in which the priority data deletion processing unit 215 is not provided. In this case, the priority data is stored in the volatile memory, and the priority data is deleted when the PLC adapter is turned off.

(データ送受信装置からサーバへ送信するパケットを優先的に伝送する理由)
上述の説明では、データ送受信装置400からサーバ600に向けて送信されるパケットについても、PLCアダプタ311(312、313)にて優先的に伝送する対象にしているが、その理由についてさらに説明する。
(Reason for preferential transmission of packets sent from the data transceiver to the server)
In the above description, the packets transmitted from the data transmitting / receiving apparatus 400 to the server 600 are also preferentially transmitted by the PLC adapter 311 (312, 313). The reason will be further described.

例えば、STB402などのデータ送受信装置400が、映像配信サーバ603から映像パケットを受信しているとき、映像の早送りや巻き戻し等の操作をユーザが行なうと、その操作に対応する制御コマンドが、データ送受信装置400から映像配信サーバ603に送信される場合を考える。   For example, when the data transmission / reception device 400 such as the STB 402 receives a video packet from the video distribution server 603, when a user performs an operation such as fast-forwarding or rewinding the video, a control command corresponding to the operation is changed to data Consider a case where transmission / reception apparatus 400 transmits to video distribution server 603.

この場合、仮に、上記制御コマンドのパケットが伝送途中で消失してしまうと、ユーザにとっては、操作を行なったにもかかわらず、操作に対する応答が無いことになる。また、仮に、上記制御コマンドのパケットの伝送が遅延すると、ユーザが操作してから実際に早送りや巻き戻し等が行われるまでに遅延が生じることとなる。いずれの場合においても、ユーザの操作性が損なわれる。   In this case, if the packet of the control command is lost during transmission, the user does not respond to the operation despite the operation. Also, if the transmission of the control command packet is delayed, there will be a delay between the user's operation and actual fast-forwarding or rewinding. In either case, user operability is impaired.

したがって、上記制御コマンドなどのように、データ送受信装置400からサーバ600に向けて送信されるパケットについても優先的に伝送することにより、ユーザの操作性が向上する。   Therefore, the operability of the user is improved by preferentially transmitting a packet transmitted from the data transmitting / receiving apparatus 400 to the server 600, such as the control command.

(効果)
以上で述べたように、本実施の形態によれば、PLCアダプタ311(312、313)は、DNS応答メッセージに含まれる問合せ対象のドメイン名に対応付けられる優先度を、QoS対象記憶部222から取得する。そして、上記DNS応答メッセージに含まれる問合せ対象のIPアドレスと、上記DNS応答メッセージの送信先のIPアドレスとの組に、上記取得した優先度を対応付けて、パケット優先度記憶部223に格納することができる。
(effect)
As described above, according to the present embodiment, the PLC adapter 311 (312, 313) assigns the priority associated with the domain name to be queried included in the DNS response message from the QoS target storage unit 222. get. Then, the acquired priority is associated with the set of the inquiry target IP address included in the DNS response message and the destination IP address of the DNS response message, and stored in the packet priority storage unit 223. be able to.

そして、PLCアダプタ311(312、313)が中継するパケットから、該パケットの送信元IPアドレスと、該パケットの送信先IPアドレスとの組に対応付けられた上記優先度を、パケット優先度記憶部223から取得する。そして、パケット優先度記憶部223から取得した上記優先度に応じた送信キューに上記パケットを入れるとともに、優先度の高い送信キューにバッファリングされているパケットから順に転送処理を行なう。   Then, from the packet relayed by the PLC adapter 311 (312, 313), the packet priority storage unit displays the priority associated with the pair of the transmission source IP address of the packet and the transmission destination IP address of the packet. 223. Then, the packet is placed in a transmission queue corresponding to the priority acquired from the packet priority storage unit 223, and transfer processing is performed in order from the packet buffered in the transmission queue having a higher priority.

よって、本実施の形態に係るPLCアダプタ311(312、313)によれば、ドメイン名に対応付けられた優先度に従って、データフローを伝送することができるという効果を奏する。   Therefore, according to the PLC adapter 311 (312, 313) according to the present embodiment, there is an effect that the data flow can be transmitted according to the priority associated with the domain name.

〔実施の形態3〕
テレビやSTB向けに提供されている映像配信サービスには、PC向けには提供されないような映像配信サービスが存在する。そのような場合、テレビやSTBは、まずポータルサーバ(PCからもアクセス可能)にアクセスし、その後、テレビ向けのポータルサーバ(図示しない)にアクセスするものとする。
[Embodiment 3]
Among video distribution services provided for TVs and STBs, there are video distribution services that are not provided for PCs. In such a case, it is assumed that the TV or STB first accesses a portal server (which can also be accessed from a PC), and then accesses a TV portal server (not shown).

テレビ向けのポータルサーバとは、テレビ(STB)専用に提供されるポータルサーバのことである。テレビ(STB)からポータルサーバに接続すると、ポータルサーバはテレビ(STB)からのアクセスであることを認識し、テレビ向けのポータルサーバへ接続するように指示する。従って、テレビ(STB)はポータルサーバへ接続するとき、ポータルサーバへのDNS問合せメッセージと、テレビ向けのポータルサーバのDNS問合せメッセージとを送信する。   The portal server for television is a portal server provided exclusively for television (STB). When connecting to the portal server from the television (STB), the portal server recognizes that the access is from the television (STB) and instructs to connect to the portal server for television. Therefore, when connecting to the portal server, the television (STB) transmits a DNS inquiry message to the portal server and a DNS inquiry message of the portal server for the television.

PCからポータルサーバに接続すると、ポータルサーバはPCからのアクセスであることを認識し、テレビ向けのポータルサーバへ接続するように指示しない。従って、PCはポータルサーバへ接続するとき、ポータルサーバへのDNS問合せメッセージだけを送信する。   When the PC is connected to the portal server, the portal server recognizes that the access is from the PC and does not instruct to connect to the portal server for TV. Therefore, when the PC connects to the portal server, it transmits only a DNS inquiry message to the portal server.

本実施の形態では、テレビやSTBに対して送受信されるパケットを優先的に伝送することができる形態について説明する。より正確には、DNS問合せメッセージを所定時間内に複数回送信するデータ送受信装置400に対して送受信されるパケットを優先的に伝送することができる形態について説明する。   In this embodiment, a mode in which packets transmitted / received to / from a television or STB can be transmitted with priority. More precisely, a mode in which a packet transmitted / received to / from the data transmitting / receiving apparatus 400 that transmits a DNS inquiry message a plurality of times within a predetermined time can be preferentially transmitted.

以下では、ある映像配信サービスにおいて、テレビ405(STB402)がサーバ600からデータフローを受信するまでに複数のDNS問合せメッセージを送信するものと想定する。例えば、テレビ405(STB402)にて映像配信サービスを享受する場合、最初に、ポータルサーバ(第1外部装置)にアクセスし、続いて、テレビ向けのポータルサーバ(第2外部装置)にアクセスする仕組みになっていることを想定する。   In the following, it is assumed that in a certain video distribution service, the television 405 (STB 402) transmits a plurality of DNS inquiry messages before receiving a data flow from the server 600. For example, when a video distribution service is enjoyed on the television 405 (STB 402), the portal server (first external device) is first accessed, and then the portal server (second external device) for television is accessed. Assuming that

なお、上記ポータルサーバとは、例えば、STB402やテレビ406が起動して最初にアクセスするポータルWebサイトを提供するサーバを想定している。あるいは、上記ポータルサーバとは、例えば、ユーザが映像配信サービスを享受するために最初にアクセスするポータルWebサイトを提供するサーバを想定している。そして、該ポータルWebサイトでは、映像配信サービスのサービス名などを表示し、ユーザに映像配信サービスを選択できることを想定する。あるいは、該ポータルWebサイトでは、映像配信サービスで提供される映像コンテンツのサムネイルなどを表示し、ユーザが映像コンテンツを選択できることを想定している。   Note that the portal server is assumed to be, for example, a server that provides a portal website that is accessed first when the STB 402 or the TV 406 is activated. Alternatively, the portal server is assumed to be, for example, a server that provides a portal Web site that a user first accesses to enjoy the video distribution service. In the portal website, it is assumed that the service name of the video distribution service is displayed and the user can select the video distribution service. Alternatively, it is assumed that the portal website displays thumbnails of video content provided by the video distribution service and allows the user to select video content.

このような状況下において、本実施の形態では、映像配信サーバ603からテレビ405(STB402)へ送信されるパケットは優先的に伝送し、一方、映像配信サーバ603からPC403へ送信されるパケットは優先的に伝送しないようにすることができる優先伝送制御機能を備えた通信中継装置について説明する。本実施形態に係る、優先伝送制御機能を備えた通信中継装置を、以降では、単に「中継装置」と称する。   Under such circumstances, in this embodiment, packets transmitted from the video distribution server 603 to the television 405 (STB 402) are preferentially transmitted, while packets transmitted from the video distribution server 603 to the PC 403 are prioritized. A communication relay apparatus having a priority transmission control function that can prevent transmission of data will be described. The communication relay device having the priority transmission control function according to the present embodiment is hereinafter simply referred to as “relay device”.

本発明の一実施形態について図23に基づいて説明すると以下の通りである。なお、説明の便宜上、実施の形態1または2にて説明した装置と同一の装置については、その説明を省略する。また、実施の形態1または2にて示した各部材と同一の機能を有する部材には、同一の符号を付記し、その説明を省略する。また、実施の形態1または2にて説明した処理と同一の処理については、その説明を省略する。   One embodiment of the present invention will be described with reference to FIG. For convenience of explanation, the description of the same device as that described in Embodiment 1 or 2 is omitted. Also, members having the same functions as those shown in the first or second embodiment are denoted by the same reference numerals, and description thereof is omitted. The description of the same processing as that described in the first or second embodiment is omitted.

また、本実施の形態にて説明する「DNS検出処理」と、実施の形態2にて説明した「DNS検出処理」とは、異なる処理である。本実施の形態にて「DNS検出処理」と表記する場合は、本実施の形態の「DNS検出処理」を示すものとする。   The “DNS detection process” described in the present embodiment is different from the “DNS detection process” described in the second embodiment. In the present embodiment, the expression “DNS detection process” indicates the “DNS detection process” of the present embodiment.

また、本実施形態にて用いる「パケット」、「データフロー」、および「映像データフロー」のそれぞれは、実施の形態1で定義したものと同じである。また、本実施の形態におけるPLCネットワークは、実施の形態1と同様に、HomePlugAV仕様に準拠したPLCを用いたLANを想定している。   In addition, each of “packet”, “data flow”, and “video data flow” used in the present embodiment is the same as that defined in the first embodiment. Also, the PLC network in the present embodiment is assumed to be a LAN using a PLC compliant with the HomePlugAV specification, as in the first embodiment.

(データ送受信装置がデータを要求してから受信するまでの流れの概要)
図23を参照しながら、図20で示した通信制御システムにおいて、STB402が映像データを要求し、映像配信サーバ603から映像データを受信するまでの流れの概略について説明する。図23は、図20で示した通信制御システムにおいて、STB402が、映像データを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。
(Overview of the flow from when a data transmission / reception device requests data until it is received)
With reference to FIG. 23, an outline of a flow from when the STB 402 requests video data until the video data is received from the video distribution server 603 in the communication control system shown in FIG. 20 will be described. FIG. 23 is a sequence diagram schematically showing an example of a flow from when the STB 402 requests video data to receiving it in the communication control system shown in FIG.

実施の形態2との違いは、PLCアダプタ311およびPLCアダプタ312が、DNS応答メッセージを所定時間(twミリ秒)以内に2つ検出した場合のみ、優先度データ生成処理を行なう点である。   The difference from the second embodiment is that the priority data generation process is performed only when the PLC adapter 311 and the PLC adapter 312 detect two DNS response messages within a predetermined time (tw milliseconds).

まず、STB402は、映像コンテンツを視聴するユーザ操作を受け付けると、ポータルサーバへの接続に先立ち、HGW121に対して、ポータルサーバのIPアドレスを問合せる1つ目のDNS問合せメッセージ(以下、第1DNS問合せメッセージ)を送信する(ステップS421)。   First, when the STB 402 receives a user operation for viewing video content, prior to connecting to the portal server, the STB 402 makes a first DNS inquiry message (hereinafter referred to as a first DNS inquiry message) that inquires the HGW 121 about the IP address of the portal server. ) Is transmitted (step S421).

続いて、経路上のPLCアダプタ312は、上記の第1DNS問合せメッセージを中継する。ここで、PLCアダプタ312では、自装置が中継するすべてのパケットを監視し、DNS検出処理を常時行なっている。しかしながら、上記の第1DNS問合せメッセージは、DNS検出処理の検出対象ではないため、上記検出を行なわない(ステップS422)。なお、本実施形態におけるDNS検出処理の詳細については後述する。   Subsequently, the PLC adapter 312 on the route relays the first DNS inquiry message. Here, the PLC adapter 312 monitors all packets relayed by its own device, and always performs DNS detection processing. However, since the first DNS inquiry message is not a detection target of the DNS detection process, the detection is not performed (step S422). The details of the DNS detection process in this embodiment will be described later.

続いて、PLCアダプタ311においても、同様に、DNS検出処理を行なっているが、上記第1DNS問合せメッセージは検出対象ではないため、上記検出を行なわない。PLCアダプタ311は、HGW121に向けて上記第1DNS問合せメッセージを転送する(ステップS423)。   Subsequently, in the PLC adapter 311 as well, DNS detection processing is performed in the same manner. However, since the first DNS inquiry message is not a detection target, the detection is not performed. The PLC adapter 311 transfers the first DNS inquiry message to the HGW 121 (step S423).

続いて、HGW121は、DNS問合せメッセージを受信すると、該受信したDNS問合せメッセージに対応してDNS処理を行なう。すなわち、HGW121は、問合せされたドメイン名に対応するIPアドレスをすでに管理していれば、適切なDNS応答メッセージをSTB402に向けて送信する。HGW121は、問合せされたドメイン名に対応するIPアドレスを管理していなければ、DNSサーバ601に対して、DNS問合せメッセージを送信する(ステップS424)。   Subsequently, when the HGW 121 receives a DNS inquiry message, the HGW 121 performs a DNS process corresponding to the received DNS inquiry message. That is, if the HGW 121 has already managed the IP address corresponding to the queried domain name, the HGW 121 transmits an appropriate DNS response message to the STB 402. If the HGW 121 does not manage the IP address corresponding to the inquired domain name, the HGW 121 transmits a DNS inquiry message to the DNS server 601 (step S424).

DNSサーバ601は、第1DNS問合せメッセージに対応して、1つ目の適切なDNS応答メッセージ(以下、第1DNS応答メッセージ)を返信する(ステップS425)。そして、HGW121は、上記DNS応答メッセージを受信すると、問合せ元であるSTB402に向けて、上記DNS応答メッセージを送信する(ステップS424)。   The DNS server 601 returns a first appropriate DNS response message (hereinafter referred to as a first DNS response message) in response to the first DNS inquiry message (step S425). When the HGW 121 receives the DNS response message, the HGW 121 transmits the DNS response message to the STB 402 that is an inquiry source (step S424).

続いて、経路上のPLCアダプタ311は、HGW121から上記第1DNS応答メッセージを中継する。上述のとおり、PLCアダプタ311では、DNS検出処理を行なっている。この場合、PLCアダプタ311は、DNS応答メッセージであることを検出する。さらに、問合せ対象のドメイン名が事前に設定されているドメイン名1に一致することを検出する(ステップS426)。   Subsequently, the PLC adapter 311 on the route relays the first DNS response message from the HGW 121. As described above, the PLC adapter 311 performs DNS detection processing. In this case, the PLC adapter 311 detects that it is a DNS response message. Further, it is detected that the domain name to be queried matches with the domain name 1 set in advance (step S426).

続いて、PLCアダプタ312についても、同様に、DNS検出処理が行われる(ステップS427)。   Subsequently, the DNS detection process is similarly performed on the PLC adapter 312 (step S427).

その後、上記第1DNS応答メッセージを受信したSTB402は、所定処理を行なった後、テレビ向けのポータルサーバのIPアドレスを問合せるために、HGW121に対して、2つ目のDNS問合せメッセージ(以下、第2DNS問合せメッセージ)を送信する。   After that, the STB 402 that has received the first DNS response message performs a predetermined process and then asks the HGW 121 for a second DNS inquiry message (hereinafter referred to as a second DNS inquiry message) in order to inquire about the IP address of the portal server for television. Inquiry message).

続いて、第2DNS問合せメッセージを受信するPLCアダプタ322、PLCアダプタ、およびHGW121が行なう処理(ステップS428〜S430)は、ステップS422〜S424にて説明した処理と同様であるので、説明を省略する。   Subsequently, the processing (steps S428 to S430) performed by the PLC adapter 322, the PLC adapter, and the HGW 121 that receives the second DNS inquiry message is the same as the processing described in steps S422 to S424, and thus description thereof is omitted.

続いて、DNSサーバ601は、第2DNS問合せメッセージに対応して、2つ目の適切なDNS応答メッセージ(以下、第2DNS応答メッセージ)を返信する(ステップS431)。   Subsequently, the DNS server 601 returns a second appropriate DNS response message (hereinafter referred to as a second DNS response message) in response to the second DNS inquiry message (step S431).

続いて、経路上のPLCアダプタ311およびPLCアダプタ312は、HGW121から上記第2DNS応答メッセージを受信する。PLCアダプタ311およびPLCアダプタ312は、それぞれ、DNS検出処理にて、DNS応答メッセージであることを検出する。さらに、問合せ対象のドメイン名が事前に設定されているドメイン名2に一致することを検出する(ステップS432、S434)。   Subsequently, the PLC adapter 311 and the PLC adapter 312 on the path receive the second DNS response message from the HGW 121. The PLC adapter 311 and the PLC adapter 312 each detect that it is a DNS response message in the DNS detection process. Further, it is detected that the domain name to be queried matches with the domain name 2 set in advance (steps S432 and S434).

このとき、PLCアダプタ311およびPLCアダプタ312は、それぞれ、上記第1DNS応答メッセージを検出してから、所定時間(twミリ秒)以内に、上記第2DNS応答メッセージを検出した場合、優先度データ生成処理を行なう(ステップS433、S435)。   At this time, when the PLC adapter 311 and the PLC adapter 312 each detect the second DNS response message within a predetermined time (tw milliseconds) after detecting the first DNS response message, the priority data generation process (Steps S433 and S435).

ここで、上記所定時間(twミリ秒)は、QoS対象記憶部222に予め設定しておくエントリに含めて記憶されるものとする。あるいは、単に、固定時間であってもよい。   Here, it is assumed that the predetermined time (tw milliseconds) is included in an entry preset in the QoS target storage unit 222 and stored. Alternatively, it may simply be a fixed time.

優先度データ生成処理では、実施の形態2で説明したように、映像配信サーバ603からSTB402へ向かうパケット、また、その逆方向のSTB402から映像配信サーバ603へ向かうパケットを優先的に伝送するための優先度データを生成する。パケットの優先度についても、事前に設定されている値を用いる。   In the priority data generation process, as described in the second embodiment, a packet from the video distribution server 603 to the STB 402 and a packet from the STB 402 in the opposite direction to the video distribution server 603 are preferentially transmitted. Generate priority data. A value set in advance is also used for the priority of the packet.

そして、第2DNS応答メッセージを受信したSTB402が、映像データの要求パケットを送信してから、映像パケットを受信するまでの処理(ステップS436〜S442)については、実施の形態2で説明した処理と同様である。PLCアダプタ311およびPLCアダプタ312は、それぞれ、ステップS433およびS435にて生成された優先度データに従って、パケット優先伝送処理を行なう。   Then, the processing (steps S436 to S442) from when the STB 402 receiving the second DNS response message transmits the video data request packet until receiving the video packet (steps S436 to S442) is the same as the processing described in the second embodiment. It is. The PLC adapter 311 and the PLC adapter 312 perform packet priority transmission processing according to the priority data generated in steps S433 and S435, respectively.

以上で説明した流れにより、ユーザがテレビやSTB向けに提供されている映像配信サービスを享受するよう場合、要求パケットおよび映像パケット、制御パケットといった、映像配信サーバ603とSTB402との間でやりとりされるパケットを、特にPLCネットワーク501上において、優先的に伝送することができる。これにより、例えば、テレビやSTB向けに提供されている映像配信サービスの映像データフローを優先的に伝送することができるという効果を奏する。   According to the flow described above, when the user enjoys the video distribution service provided for the television or STB, the request packet, the video packet, and the control packet are exchanged between the video distribution server 603 and the STB 402. Packets can be transmitted preferentially, particularly on the PLC network 501. Thereby, for example, there is an effect that it is possible to preferentially transmit a video data flow of a video distribution service provided for a television or STB.

(PLCアダプタの構成)
本実施の形態におけるPLCアダプタは、DNS応答メッセージを所定時間内に2回検出したときに、優先度データを生成する点が、実施の形態2のPLCアダプタと異なる。そこで、以下では、本実施の形態におけるPLCアダプタの構成のうち、実施の形態2のPLCアダプタの構成と異なる点について説明する。
(Configuration of PLC adapter)
The PLC adapter according to the present embodiment differs from the PLC adapter according to the second embodiment in that priority data is generated when a DNS response message is detected twice within a predetermined time. Therefore, in the following description, differences from the configuration of the PLC adapter according to the second embodiment among the configurations of the PLC adapter according to the present embodiment will be described.

本実施の形態におけるQoS対象記憶部222は、実施の形態2のQoS対象記憶部222と異なり、優先させたいサーバのドメイン名を2つ含んでいる。さらに、第1DNS応答メッセージを検出してから、第2DNS応答メッセージを検出するまでの時間の上限値を含んでいる。本実施の形態におけるQoS対象記憶部222は、例えば、表9に示すデータ構造とすることができる。すなわち、「ドメイン名1」、「ドメイン名2」、「遅延時間」、および「優先度」の組から成るエントリを記憶する。「ドメイン名1」はポータルサーバのドメイン名であり、「ドメイン名2」はテレビ向けのポータルサーバのドメイン名である。また、「遅延時間」は、第1DNS応答メッセージを検出してから、第2DNS応答メッセージを検出するまでの時間(ミリ秒)の上限値である。   Unlike the QoS target storage unit 222 in the second embodiment, the QoS target storage unit 222 in the present embodiment includes two domain names of servers to be prioritized. Furthermore, an upper limit value of time from detection of the first DNS response message to detection of the second DNS response message is included. The QoS target storage unit 222 in the present embodiment can have a data structure shown in Table 9, for example. That is, an entry including a set of “domain name 1”, “domain name 2”, “delay time”, and “priority” is stored. “Domain name 1” is the domain name of the portal server, and “Domain name 2” is the domain name of the portal server for television. The “delay time” is an upper limit value of time (milliseconds) from detection of the first DNS response message to detection of the second DNS response message.

Figure 2009284456
Figure 2009284456

次に、本実施の形態のDNS検出部212は、実施の形態2のDNS検出部212と同様に、パケット転送処理部211が転送するパケットを監視する。そして、当該パケットがDNS応答メッセージ(第1DNS応答メッセージ)のパケットであることがわかれば、当該パケットに含まれる問合せ対象のドメイン名が、QoS対象記憶部222で管理されているエントリ情報の「ドメイン名1」に一致するかどうかを調べる。そして、一致したエントリ情報(以下、エントリEN1と称する)が見つかれば、引き続き、本実施の形態のDNS検出部212は、パケット転送処理部211が転送するパケットを監視する。   Next, the DNS detection unit 212 according to the present embodiment monitors the packets transferred by the packet transfer processing unit 211 as with the DNS detection unit 212 according to the second embodiment. Then, if it is found that the packet is a DNS response message (first DNS response message), the domain name to be queried included in the packet is the “domain” of the entry information managed in the QoS target storage unit 222. It is checked whether it matches “name 1”. If matching entry information (hereinafter referred to as entry EN1) is found, the DNS detection unit 212 of the present embodiment continues to monitor the packets transferred by the packet transfer processing unit 211.

その後、パケット転送処理部211が転送するパケットが、再び、DNS応答メッセージ(第2DNS応答メッセージ)のパケットであることがわかれば、本実施の形態のDNS検出部212は、当該パケットに含まれる問合せ対象のドメイン名が、エントリEN1の「ドメイン名2」に一致するかどうかを調べる。   Thereafter, if it is found that the packet transferred by the packet transfer processing unit 211 is a DNS response message (second DNS response message) again, the DNS detection unit 212 of the present embodiment performs the inquiry included in the packet. It is checked whether or not the target domain name matches “domain name 2” of entry EN1.

そして、一致する場合、第1DNS応答メッセージを検出してから、第2DNS応答メッセージを検出するまでの時間を調べる。第2DNS応答メッセージを検出した時刻から、第1DNS応答メッセージを検出した時刻を減算し、その値がエントリEN1の「遅延時間」カラムの値に示す時間よりも短い値であった場合、その旨を、優先度データ生成処理部213に通知する。そして、優先度データ生成処理部213は、エントリEN1の「優先度」カラムの値を用いて、優先度データを生成する。   If they match, the time from detection of the first DNS response message to detection of the second DNS response message is examined. If the time at which the first DNS response message is detected is subtracted from the time at which the second DNS response message is detected, and the value is shorter than the time indicated in the value of the “delay time” column of entry EN1, this is indicated. The priority data generation processing unit 213 is notified. The priority data generation processing unit 213 generates priority data using the value of the “priority” column of the entry EN1.

表9の1番目のエントリを例に挙げて説明すると、DNS検出部212が、「portal-x.jp」というドメイン名を含む、第1DNS問合せメッセージに対応する第1DNS応答メッセージを受信してから、「500」ミリ秒以内に、「tv.portal-x.jp」というドメイン名を含む、第2DNS問合せメッセージに対応する第2DNS応答メッセージを受信したことを検出すると、その旨を優先度データ生成処理部243に通知する。そして、優先度データ生成処理部243が、ドメイン名「tv.portal-x.jp」に対する優先度が「4」であることを示す優先度データを生成する。   The first entry in Table 9 will be described as an example. After the DNS detection unit 212 receives the first DNS response message corresponding to the first DNS inquiry message including the domain name “portal-x.jp”. , If it detects that the second DNS response message corresponding to the second DNS inquiry message including the domain name “tv.portal-x.jp” is received within “500” milliseconds, priority data generation is performed to that effect. The processing unit 243 is notified. Then, the priority data generation processing unit 243 generates priority data indicating that the priority for the domain name “tv.portal-x.jp” is “4”.

なお、第2DNS応答メッセージを検出した時刻から、第1DNS応答メッセージを検出した時刻を減算した値が「遅延時間」カラムの値に示す時間よりも長い値であった場合、第1DNS応答メッセージの検出から第2DNS応答メッセージの検出までに時間がかかり過ぎているため、優先度データ生成処理部243に通知を行わない。また、第1DNS応答メッセージが検出されることなく第2DNS応答メッセージが検出された場合も、優先度データ生成処理部243に通知を行わない。   When the value obtained by subtracting the time at which the first DNS response message is detected from the time at which the second DNS response message is detected is longer than the time indicated in the value of the “delay time” column, the detection of the first DNS response message is performed. Since it takes too much time until the second DNS response message is detected, the priority data generation processing unit 243 is not notified. Further, even when the second DNS response message is detected without detecting the first DNS response message, the priority data generation processing unit 243 is not notified.

また、本実施の形態におけるQoS対象記憶部222は、さらに、「DNS問合せ種別」を含めるようにしてもよい。例えば、QoS対象記憶部222は、表10に示すデータ構造としてもよい。表10に示すデータ構造では、DNS問合せ種別として、「タイプ1」(第1リクエスト種別)および「タイプ2」(第2リクエスト種別)を含んでいる。   In addition, the QoS target storage unit 222 in the present embodiment may further include “DNS inquiry type”. For example, the QoS target storage unit 222 may have a data structure shown in Table 10. The data structure shown in Table 10 includes “type 1” (first request type) and “type 2” (second request type) as DNS inquiry types.

「タイプ1」は、第1DNS問合せメッセージに含まれる、DNS問合せの種別である。また、「タイプ2」は、第2DNS問合せメッセージに含まれる、DNS問合せの種別である。表10において、「A」は、IPv4アドレスの返送を要求する場合に付与される値である(DNS問合せメッセージのパケット内での値は‘1’である)。また、「AAAA」は、IPv6アドレスの返送を要求する場合に付与される値である(DNS問合せメッセージのパケット内での値は‘28’である)。   “Type 1” is a type of DNS inquiry included in the first DNS inquiry message. “Type 2” is a type of DNS inquiry included in the second DNS inquiry message. In Table 10, “A” is a value given when requesting the return of an IPv4 address (the value in the packet of the DNS inquiry message is “1”). “AAAA” is a value given when a return of an IPv6 address is requested (the value in the DNS inquiry message packet is “28”).

Figure 2009284456
Figure 2009284456

この場合、DNS検出部212は、DNS検出処理にてDNS応答メッセージを検出するにあたり、問合せ対象のドメイン名が事前に設定されているドメイン名に一致することに加えて、DNS問合せ種別が、事前に設定されているタイプに一致することを検出する(ドメイン名/リクエスト種別抽出手段)。そして、所定時間(ミリ秒)以内にDNS応答メッセージを2つ検出すれば、その旨を、優先度データ生成処理部243に通知する。   In this case, when the DNS detection unit 212 detects the DNS response message in the DNS detection process, in addition to the domain name to be queried matches the preset domain name, the DNS inquiry type is It is detected that it matches the type set in (domain name / request type extracting means). If two DNS response messages are detected within a predetermined time (milliseconds), the priority data generation processing unit 243 is notified accordingly.

表10の1番目のエントリを例に挙げて説明すると、DNS検出部212が、「portal-x.jp」というドメイン名、および、「A」というDNS問合せ種別を含む、第1DNS問合せメッセージに対応する第1DNS応答メッセージを受信してから、「500」ミリ秒以内に、「tv.portal-x.jp」というドメイン名、および、「A」というDNS問合せ種別を含む、第2DNS問合せメッセージに対応する第2DNS応答メッセージを受信したことを検出すると、優先度データ生成処理部243に通知する。そして、優先度データ生成処理部243が、ドメイン名「tv.portal-x.jp」に対する優先度が「4」であることを示す優先度データを生成する。   Taking the first entry in Table 10 as an example, the DNS detection unit 212 corresponds to the first DNS inquiry message including the domain name “portal-x.jp” and the DNS inquiry type “A”. In response to the second DNS inquiry message including the domain name “tv.portal-x.jp” and the DNS inquiry type “A” within “500” milliseconds after receiving the first DNS response message When it is detected that the second DNS response message is received, the priority data generation processing unit 243 is notified. Then, the priority data generation processing unit 243 generates priority data indicating that the priority for the domain name “tv.portal-x.jp” is “4”.

なお、表10において、「portal-y.tv」というドメイン名は、ポータルサーバのドメイン名を想定しており、「auth.portal-y.tv」というドメイン名は、アクセス認証を行なう認証サーバのドメイン名を想定している。また、1番目の「www.portal-z.co.jp」というドメイン名(タイプA)は、IPv4用のポータルサーバのドメイン名を想定しており、2番目の「www.portal-z.co.jp」というドメイン名(タイプAAAA)は、IPv6用のポータルサーバのドメイン名を想定している。   In Table 10, the domain name “portal-y.tv” assumes the domain name of the portal server, and the domain name “auth.portal-y.tv” is the name of the authentication server that performs access authentication. Assume a domain name. The first domain name (type A) “www.portal-z.co.jp” assumes the domain name of the portal server for IPv4, and the second “www.portal-z.co.jp” The domain name (type AAAA) “.jp” is assumed to be the domain name of the portal server for IPv6.

上記の実施形態においては、第1のDNS応答メッセージを検出してから第2のDNS応答メッセージを検出した場合に、優先度データ生成処理を行なう形態について説明したが、検出するDNS応答メッセージの順序に関係なく、一定の間隔内に2つのDNS応答メッセージを検出した場合、優先度データ生成処理を行なうようにしてもよい。さらに、2つのDNS応答メッセージを検出した場合ではなく、3つ以上のDNS応答メッセージを検出した場合に、優先度データ生成処理を行なうようにしてもよい。   In the above embodiment, the mode in which the priority data generation process is performed when the second DNS response message is detected after the first DNS response message is detected has been described. However, the order of the DNS response messages to be detected is described. Regardless of whether or not two DNS response messages are detected within a certain interval, priority data generation processing may be performed. Furthermore, priority data generation processing may be performed not when two DNS response messages are detected but when three or more DNS response messages are detected.

なお、本実施の形態では、中継装置であるPLCアダプタにおいて、上述したDNS検出処理、および、優先度データ生成処理を行なう形態について説明したが、通信制御装置であるHGW121において実施してもよい。   In the present embodiment, the above-described DNS detection processing and priority data generation processing are performed in the PLC adapter that is a relay device. However, the present embodiment may be implemented in the HGW 121 that is a communication control device.

〔実施の形態4〕
上述の実施の形態では、優先度データ生成処理部213が優先度データを生成するとき、送信元IPアドレスおよび送信先IPアドレスを、優先度に対応付けて指定するように説明したが、この構成例に限定されるものではない。
[Embodiment 4]
In the above-described embodiment, when the priority data generation processing unit 213 generates priority data, the transmission source IP address and the transmission destination IP address are specified in association with the priority. It is not limited to examples.

優先度データ生成処理部213が優先度データを生成するときに、送信元MACアドレスおよび送信先MACアドレスを、優先度に対応付けて指定してもよい。例えば、表6に代わって表11または表12に示すような優先度データとしてもよい。   When the priority data generation processing unit 213 generates priority data, the transmission source MAC address and the transmission destination MAC address may be specified in association with the priority. For example, priority data as shown in Table 11 or Table 12 may be used instead of Table 6.

DNS応答パケットがEthernet側から受信したものであれば、表11で示される優先度データを生成する(映像配信サーバ603からSTB402への方向)。   If the DNS response packet is received from the Ethernet side, the priority data shown in Table 11 is generated (direction from the video distribution server 603 to the STB 402).

DNS応答パケットがPLCネットワーク501から受信したものであれば、表12で示される優先度データを生成する(STB402から映像配信サーバ603への方向)。   If the DNS response packet is received from the PLC network 501, the priority data shown in Table 12 is generated (direction from the STB 402 to the video distribution server 603).

Figure 2009284456
Figure 2009284456

Figure 2009284456
Figure 2009284456

例えば、図21に基づき説明すると、ステップS406およびステップS408において検出されたDNS応答メッセージは、その送信元MACアドレスはHGW121のMACアドレスであり、その送信先MACアドレスはSTB402のMACアドレスである。よって、ステップ407では、優先度データ生成処理部213は、送信元MACアドレスがHGW121のMACアドレスで、かつ、送信先MACアドレスがSTB402のMACアドレスとなるような優先度データを生成する。また、ステップ408では、優先度データ生成処理部213は、送信元MACアドレスがSTB402のMACアドレスで、かつ、送信先MACアドレスがHGW121のMACアドレスとなるような優先度データを生成する。   For example, referring to FIG. 21, in the DNS response message detected in steps S406 and S408, the source MAC address is the MAC address of the HGW 121, and the destination MAC address is the MAC address of the STB 402. Therefore, in step 407, the priority data generation processing unit 213 generates priority data such that the transmission source MAC address is the MAC address of the HGW 121 and the transmission destination MAC address is the MAC address of the STB 402. In step 408, the priority data generation processing unit 213 generates priority data such that the transmission source MAC address is the MAC address of the STB 402 and the transmission destination MAC address is the MAC address of the HGW 121.

従って、PLCアダプタ311のパケット優先度記憶部223は、表13に示すような優先度データを記憶する。また、PLCアダプタ312のパケット優先度記憶部223は、表14に示すような優先度データを記憶する。ただし、本実施の形態では、STB402のMACアドレスが「00-11-11-11-11-11」であり、HGW121のMACアドレスが「00-22-22-22-22-22」であるものとする。   Therefore, the packet priority storage unit 223 of the PLC adapter 311 stores priority data as shown in Table 13. The packet priority storage unit 223 of the PLC adapter 312 stores priority data as shown in Table 14. However, in this embodiment, the MAC address of the STB 402 is “00-11-11-11-11-11” and the MAC address of the HGW 121 is “00-22-22-22-22-22” And

Figure 2009284456
Figure 2009284456

Figure 2009284456
Figure 2009284456

本実施の形態のパケット優先伝送処理部214について説明する。パケット優先伝送処理部214は、まず、パケット転送処理部211が転送しようとしているパケットから、送信元MACアドレスおよび送信先MACアドレスなどのヘッダ情報を抽出する。   The packet priority transmission processing unit 214 of this embodiment will be described. The packet priority transmission processing unit 214 first extracts header information such as a transmission source MAC address and a transmission destination MAC address from the packet that the packet transfer processing unit 211 is to transfer.

そして、パケット優先度記憶部223のエントリから、「送信元MACアドレス」カラムの値が、上記抽出した送信元MACアドレスと一致し、かつ、「送信先MACアドレス」カラムの値が、上記抽出した送信先MACアドレスと一致するエントリを抽出する。上記エントリが抽出されなかった場合は、パケット転送処理部211は、デフォルトの優先度に従って当該パケットを転送する。上記エントリが抽出された場合は、パケット転送処理部211は、抽出されたエントリから「優先度」を取得し、その取得した「優先度」に従って当該パケットを転送する。   Then, from the entry of the packet priority storage unit 223, the value of the “source MAC address” column matches the extracted source MAC address, and the value of the “destination MAC address” column is extracted. An entry that matches the destination MAC address is extracted. If the entry is not extracted, the packet transfer processing unit 211 transfers the packet according to the default priority. When the entry is extracted, the packet transfer processing unit 211 acquires “priority” from the extracted entry, and transfers the packet according to the acquired “priority”.

表13に示すような優先度データがある場合、PLCアダプタ311のパケット転送処理部211は、HGW121からSTB402に向かうパケットを優先度「5」で伝送する。表14に示すような優先度データがある場合、PLCアダプタ312のパケット転送処理部211は、STB402からHGW121に向かうパケットを優先度「5」で伝送する。   When there is priority data as shown in Table 13, the packet transfer processing unit 211 of the PLC adapter 311 transmits a packet from the HGW 121 to the STB 402 with the priority “5”. When there is priority data as shown in Table 14, the packet transfer processing unit 211 of the PLC adapter 312 transmits a packet from the STB 402 to the HGW 121 with the priority “5”.

(MACアドレスを指定して優先度データを生成する理由)
MACアドレスを指定して「優先度データ」を設定する方法は、IPアドレスを指定して設定する方法と比べて、映像配信サーバ毎に優先度を設定することはできなくなるが、以下の点で有利である。
(Reason for generating priority data by specifying MAC address)
The method of setting “priority data” by specifying the MAC address cannot set the priority for each video distribution server, compared to the method of setting by specifying the IP address. It is advantageous.

すなわち、映像配信サーバのドメイン名は将来変更になったり、追加されたりする可能性が大いにある。将来の映像配信サービスの動向に合わせて、QoS対象記憶部222のエントリ情報を更新する必要がある。ユーザがエントリ情報を更新してもよいし、ファームウェアのバージョンアップによってエントリ情報を更新してもよいが、いずれの場合でも、エントリ情報の更新が必要になる。   That is, there is a great possibility that the domain name of the video distribution server will be changed or added in the future. It is necessary to update the entry information in the QoS target storage unit 222 according to the future trend of the video distribution service. The user may update the entry information, or the entry information may be updated by upgrading the firmware. In either case, the entry information needs to be updated.

そこで、QoS対象記憶部222のエントリ情報を、映像配信サーバのドメイン名ではなく、ポータルサーバのドメイン名に設定しておけば、エントリ情報の更新が必要でなくなる可能性がある。なぜなら、ポータルサーバは、STBやテレビが最初に接続しにいくサーバであり、ポータルサーバのドメイン名は将来にわたって変更される可能性が低いからである。   Therefore, if the entry information in the QoS target storage unit 222 is set not to the domain name of the video distribution server but to the domain name of the portal server, it may not be necessary to update the entry information. This is because the portal server is a server to which the STB and the television first connect, and the domain name of the portal server is unlikely to be changed in the future.

STBやテレビは、まずポータルサーバに接続し、その後、ポータルサーバからリンクをたどって、映像配信サーバに対して映像データを要求する。PLCアダプタは、映像配信サーバのドメイン名を事前に知っておく必要はない。よって、ポータルサーバのドメイン名さえ知っておけばよく、将来、映像配信サーバのドメイン名が変更になった場合でも、対応可能である。   The STB and the television first connect to the portal server, and then follow the link from the portal server to request video data from the video distribution server. The PLC adapter does not need to know the domain name of the video distribution server in advance. Therefore, it is only necessary to know the domain name of the portal server, and even if the domain name of the video distribution server is changed in the future, it is possible to cope.

映像配信サーバは、いずれのサーバであっても、映像配信サーバからSTB402に映像データが送られるとき、映像データはHGW121を経由することになる。   Regardless of the video distribution server, when video data is sent from the video distribution server to the STB 402, the video data passes through the HGW 121.

HGW121からSTB402に映像パケットを転送するとき、当該映像パケットの送信元MACアドレスはHGW121のMACアドレスに、送信先MACアドレスはSTB402に設定される。よって、MACアドレスを指定して「優先度データ」を設定しておくことにより、HGW121とSTB402との間を流れる映像データは優先されて伝送される。   When a video packet is transferred from the HGW 121 to the STB 402, the source MAC address of the video packet is set to the MAC address of the HGW 121, and the destination MAC address is set to the STB 402. Therefore, by specifying the MAC address and setting “priority data”, the video data flowing between the HGW 121 and the STB 402 is transmitted with priority.

なお、HGW121のMACアドレスは、HGW121の装置自体を変更しない限り常に同じである。そのため、HGW121のMACアドレスに基づいたパケット優先伝送処理は、バージョンアップ等を行なう必要がないという点で有利である。   Note that the MAC address of the HGW 121 is always the same unless the HGW 121 device itself is changed. Therefore, the packet priority transmission process based on the MAC address of the HGW 121 is advantageous in that it is not necessary to upgrade the version.

また、パケット優先度記憶部223に記憶する優先度は、送信先の装置のMACアドレスにのみ対応づけてもよい。つまり、表13および表14に示したデータ構造から「送信元の装置のMACアドレス」カラムを除いてもよい。このようにした場合、パケット優先伝送処理では、パケットの送信先の装置のMACアドレスのみに基づいて、パケットを優先的に伝送するか否かを判断することとなる。したがって、HGW121以外の装置からデータ送受信装置400へ送信されるパケットも優先的に伝送する対象となる。例えば、宅内に設置されたDLNAサーバから、PLCアダプタ311,312および313を経て、テレビ405に向けて送信される映像データフローについても、優先的に伝送する対象となる。   The priority stored in the packet priority storage unit 223 may be associated only with the MAC address of the transmission destination device. In other words, the “MAC address of transmission source device” column may be removed from the data structures shown in Table 13 and Table 14. In such a case, in the packet priority transmission process, it is determined whether or not to preferentially transmit the packet based only on the MAC address of the packet transmission destination device. Therefore, a packet transmitted from a device other than the HGW 121 to the data transmitting / receiving device 400 is also a target to be preferentially transmitted. For example, a video data flow transmitted from the DLNA server installed in the house to the television 405 via the PLC adapters 311, 312 and 313 is also a target to be preferentially transmitted.

(付記事項)
上述の実施の形態では、HGW101がDNS処理部12を備える形態について述べたが、これに限定されるものではない。DNS処理部12は必ずしもHGW101に備えられる必要はなく、外部装置としてHGW101と通信可能に(例えばEthernetを介して)接続される構成でもよい。
(Additional notes)
In the above-described embodiment, the HGW 101 includes the DNS processing unit 12. However, the present invention is not limited to this. The DNS processing unit 12 is not necessarily provided in the HGW 101 and may be configured to be communicable with the HGW 101 as an external device (for example, via Ethernet).

また、上述の実施の形態1および実施の形態2では、STB402などのデータ送受信装置400は、映像コンテンツの受信を開始する処理(受信開始処理)として、デフォルトのDNSサーバとしてのHGW101に対して、映像配信サーバ603のIPアドレスを問合せるDNS問合せメッセージを送信し、HGW101は、上記DNS問合せメッセージに含まれるドメイン名に基づいて優先度データ生成処理を行なう形態について述べたが、必ずしもこれに限定されず、映像コンテンツの受信を開始する前にアクセスする別のサーバに対するDNS問合せメッセージを元に優先度データ生成処理を行なっても良い。例えば、データ送受信装置400が、ポータルサーバのIPアドレスを問合せるDNS問合せメッセージを送信し、HGW101が、上記DNS問合せメッセージに含まれるドメイン名に基づいて優先度データ生成処理を行なってもよい。ここで、上記ポータルサーバとは、例えば、ユーザが映像配信サービスを享受するために最初にアクセスするポータルWebサイトを提供するサーバを想定している。そして、該ポータルWebサイトでは、映像配信サービスで提供される映像コンテンツのサムネイルなどを表示し、ユーザに映像コンテンツを選択させることができるものを想定している。   Further, in the first embodiment and the second embodiment described above, the data transmitting / receiving apparatus 400 such as the STB 402 performs a process (reception start process) for starting reception of video content with respect to the HGW 101 serving as a default DNS server. Although the DNS inquiry message for inquiring the IP address of the video distribution server 603 is transmitted and the HGW 101 performs the priority data generation process based on the domain name included in the DNS inquiry message, it is not necessarily limited to this. Priority data generation processing may be performed based on a DNS inquiry message for another server to be accessed before starting reception of video content. For example, the data transmitting / receiving apparatus 400 may transmit a DNS inquiry message inquiring about the IP address of the portal server, and the HGW 101 may perform priority data generation processing based on the domain name included in the DNS inquiry message. Here, the portal server is assumed to be, for example, a server that provides a portal Web site that a user first accesses to enjoy the video distribution service. The portal website is assumed to be capable of displaying thumbnails of video content provided by the video distribution service and allowing the user to select video content.

映像配信サーバのドメイン名は、サービス提供側の都合により、追加、削除、変更などの修正が施される場合があり得るが、ポータルサーバのドメイン名については修正されることはほとんど無い。データ送受信装置400においては、工場出荷時にポータルサーバのドメイン名が記憶されており、電源が投入されたときにはこのドメイン名にアクセスしてポータルWebサイトを最初にユーザに提示し、そこからコンテンツを選択させるように構成されるのが一般的である。ポータルサーバのドメイン名が変更された場合、データ送受信装置400の電源投入時には、ポータルWebサイトが表示されずエラーが表示されることになり、ユーザの利便性が著しく低下する。データ送受信装置400のアップデートなどによりデータ送受信装置400に登録されているポータルサーバのドメイン名を変更すれば対応は可能であるが、アップデート作業を全ユーザが行なうとは限らないので、サービス提供側としてもポータルサーバのドメイン名は変更しにくい。これに対して、映像配信サーバのドメイン名は、ポータルWebサイトでユーザがコンテンツを選択した時点で決定されるので、変更しても大きな問題にはならない。   The domain name of the video distribution server may be modified such as addition, deletion, or change for convenience of the service provider, but the domain name of the portal server is rarely modified. In the data transmission / reception apparatus 400, the domain name of the portal server is stored at the time of factory shipment. When the power is turned on, the domain name is accessed and the portal website is first presented to the user, and the content is selected therefrom. Generally, it is configured so that When the domain name of the portal server is changed, when the data transmission / reception apparatus 400 is turned on, an error is displayed without displaying the portal website, and the convenience for the user is significantly reduced. If the domain name of the portal server registered in the data transmission / reception device 400 is changed by updating the data transmission / reception device 400 or the like, it is possible to cope with it, but not all users will perform the update work. However, it is difficult to change the domain name of the portal server. On the other hand, since the domain name of the video distribution server is determined when the user selects content on the portal website, it does not cause a big problem even if it is changed.

映像配信サーバのドメイン名が変更された場合において、該変更後のドメイン名がQoS対象記憶部22に記憶されていないものとなった場合は、上記変更されたドメイン名を有する映像配信サーバから送信されるパケットに対して、パケット優先度変更処理が実行されないこととなる。従って、修正されることの少ないポータルサーバのドメイン名をQoS対象記憶部22、パケット優先度記憶部23、サーバアドレス記憶部21のそれぞれの「ドメイン名」カラムの値とし、優先度データ生成処理およびパケット優先度変更処理を行なうようにしてもよい。   When the domain name of the video distribution server is changed, if the changed domain name is not stored in the QoS target storage unit 22, transmission is performed from the video distribution server having the changed domain name. The packet priority changing process is not executed for the packet to be processed. Therefore, the domain name of the portal server that is rarely modified is set as the value of each “domain name” column of the QoS target storage unit 22, the packet priority storage unit 23, and the server address storage unit 21, and the priority data generation process and Packet priority change processing may be performed.

なお、ポータルサーバのIPアドレスと実際に映像パケットを送信する映像配信サーバのIPアドレスとは異なるため、ポータルサーバのIPアドレスとデータ送受信装置400のIPアドレスとに合致したパケットを優先的に伝送するように設定されていると、映像配信サーバからデータ送受信装置400に送信される映像パケットが優先伝送されないことになる。この場合は、データ送受信装置400のIPアドレスだけで優先的に伝送するかどうかの判定を行なうことが考えられる。ただし、この場合、データ送受信装置400が受信(または送信)するパケットは全て優先的に伝送されることになるので、本来、優先的に伝送する必要のないパケット(例えばデータ送受信装置400が受信するWebデータ等)まで優先的に伝送されることとなり、全体としてのQoS制御の効率は低下する。   Since the IP address of the portal server is different from the IP address of the video distribution server that actually transmits the video packet, a packet that matches the IP address of the portal server and the IP address of the data transmitting / receiving device 400 is preferentially transmitted. With this setting, the video packet transmitted from the video distribution server to the data transmitting / receiving apparatus 400 is not preferentially transmitted. In this case, it is conceivable to determine whether to preferentially transmit using only the IP address of the data transmitting / receiving apparatus 400. However, in this case, all the packets received (or transmitted) by the data transmitting / receiving apparatus 400 are preferentially transmitted. Therefore, packets that are not originally required to be transmitted preferentially (for example, the data transmitting / receiving apparatus 400 receives them). Web data etc.) is preferentially transmitted, and the efficiency of QoS control as a whole decreases.

また、データ送受信装置400は基本的には、映像の視聴が中断されたり、終了した場合には、ポータルサーバにアクセスして、コンテンツ選択画面に戻ることになる。このような場合に、データ送受信装置400がサーバにアクセスする前に、毎回そのサーバに対するDNS問合せメッセージを送信する実装となっていた場合、ポータルサーバのIPアドレスを問合せるDNS問合せメッセージは複数回送信されることになる。よって、HGWにおいて、ポータルサーバへのDNS問合せを一定時間以上行なっていないデータ送受信装置400については、QoS対象から除外する(つまり、表4や表6のエントリを削除する)ことも考えられる。これにより、映像を受信しなくなったデータ送受信装置400だけをQoS対象から除外することが可能となり、他のデータ送受信装置400が使用可能な帯域が増えるので、ネットワーク全体としてのQoSの効率が向上する。   In addition, the data transmitting / receiving apparatus 400 basically returns to the content selection screen by accessing the portal server when video viewing is interrupted or terminated. In such a case, the DNS inquiry message for inquiring the IP address of the portal server is transmitted a plurality of times when the DNS inquiry message for the server is transmitted every time before the data transmitting / receiving apparatus 400 accesses the server. Will be. Therefore, in the HGW, the data transmitting / receiving apparatus 400 that has not made a DNS inquiry to the portal server for a certain time or more may be excluded from the QoS target (that is, the entries in Tables 4 and 6 are deleted). As a result, it becomes possible to exclude only the data transmission / reception device 400 that no longer receives video from the QoS target, and the bandwidth that can be used by other data transmission / reception devices 400 increases, so that the QoS efficiency of the entire network improves. .

また、上述の実施の形態では、HGW101は、転送するパケットの優先度がすでに設定されているか否かに関わらず、パケット優先度変更処理にて、該転送するパケットの優先度を更新する形態について述べたが、これに限定されるものではない。つまり、例えばサーバ600などで既にパケットの優先度が付与されている場合には、パケット優先度変更処理を実施しないものとしてもよい。   In the above-described embodiment, the HGW 101 updates the priority of the packet to be transferred in the packet priority change process regardless of whether or not the priority of the packet to be transferred is already set. Although described, it is not limited to this. That is, for example, when the packet priority is already given by the server 600 or the like, the packet priority changing process may not be performed.

また、パケット優先度変更処理にてパケットの優先度を上書きするか否かについて、所定のインタフェースを用いてユーザが設定できるようにしてもよい。例えば、QoS対象設定画面161やQoS対象設定画面162でこの設定を変更できるようにすることが考えられる。   Further, it may be possible for the user to set whether or not to overwrite the packet priority in the packet priority changing process using a predetermined interface. For example, it may be possible to change this setting on the QoS target setting screen 161 or the QoS target setting screen 162.

また、QoSのポリシーを管理するポリシー管理機能を新たに追加し(例えば、HGW101に含める構成としてもよいし、外部装置としてHGW101に通信可能に接続する構成としてもよい)、上記ポリシー管理機能がパケットの優先度を上書きするか否かを判定してもよい。上記ポリシー管理機能は、例えば、パケットの優先度を上書きするか否かをサービス毎に設定した情報に基づいて、上記判定を行なえばよい。   Further, a policy management function for managing a QoS policy is newly added (for example, a configuration included in the HGW 101 or a configuration in which the external device can be connected to the HGW 101 so as to be communicable). It may be determined whether or not to overwrite the priority. The policy management function may perform the determination based on information set for each service as to whether or not to overwrite the packet priority.

サービスによっては、第2通信ネットワーク700において、DSCPによるQoS制御を行なうために、サーバ600において、データパケットのDSCPフィールドに所定の値を設定して送信する場合もある。このような場合、サービス提供側で設定しているDSCP値と、本発明によってHGW101で更新されたDSCP値に差異がある場合に、不具合が生じる可能性がある。例えば、サービス提供側が想定したよりも低い優先度に更新してしまうと、データ送受信装置400にて映像や音声の乱れが生じる事が考えられる。HGW101が転送しようとする時点でDSCP値に何らかの値が設定されている場合には、DSCP値を更新しないようにすればこのような問題を回避できる。   Depending on the service, in order to perform QoS control by DSCP in the second communication network 700, the server 600 may set and transmit a predetermined value in the DSCP field of the data packet. In such a case, when there is a difference between the DSCP value set on the service providing side and the DSCP value updated by the HGW 101 according to the present invention, a problem may occur. For example, if the priority is updated to a level lower than that assumed by the service provider, the data transmission / reception apparatus 400 may be disturbed in video and audio. If any value is set in the DSCP value at the time when the HGW 101 tries to transfer, such a problem can be avoided by not updating the DSCP value.

また、上述の実施の形態では、映像データフローに属する映像パケットの優先度を変更する形態について述べたが、どのようなデータフローに属するパケットの優先度を変更してもよい。例えば、音声通信サービスにおいて、VoIPで送信される音声のデータフローに属するパケットの優先度を変更するものであってもよい。音声のデータフローに属するパケットは、一般的に映像パケットよりも高い優先度で伝送される。なお、音声のデータフローに属するパケットのDSCPの値には6(つまり、PLCネットワークにて伝送されるパケットではCAPの値が3)を使用することがHomePlugAV規格では推奨されている。   In the above-described embodiment, the mode of changing the priority of the video packet belonging to the video data flow has been described. However, the priority of the packet belonging to any data flow may be changed. For example, in a voice communication service, the priority of a packet belonging to a voice data flow transmitted by VoIP may be changed. Packets belonging to the audio data flow are generally transmitted with higher priority than video packets. Note that the HomePlugAV standard recommends that the DSCP value of packets belonging to the voice data flow be 6 (that is, the CAP value is 3 for packets transmitted over a PLC network).

また、上述の実施の形態1では、HGW101において、パケットのDSCPフィールドを書き換えることにより、優先制御QoSを実施しているが、他のフィールドによりパケットの優先度を示すものとしてもよい。例えば、VLAN priority tagを使用してもよい。   In the first embodiment, the priority control QoS is implemented by rewriting the DSCP field of the packet in the HGW 101. However, the priority of the packet may be indicated by another field. For example, a VLAN priority tag may be used.

また、上述の実施の形態1では、HGW101において、パケットのDSCPフィールドを書き換えることにより、優先制御QoSを実施しているが、パケットのDSCPフィールドの書き換えは別の装置で行なっても良い。例えば、PLCアダプタや無線LANアダプタ等の中継装置300において書き換えることが考えられる。この場合、HGW101は、上述の実施例同様の方法により、QoS設定対象のフローを発見し、パケット優先度記憶部にその情報を保存する代わりに、PLCアダプタや無線LANアダプタにその情報を通知する。PLCアダプタや無線LANアダプタでは、その情報を保存しておき、後ほどパケットを転送する際に、上述の実施の形態におけるパケット優先度変更処理部と同様の処理により、DSCPフィールドを更新した上でPLCネットワークや無線LANネットワークに送信する。   In the first embodiment described above, the priority control QoS is performed by rewriting the DSCP field of the packet in the HGW 101, but the DSCP field of the packet may be rewritten by another device. For example, it is conceivable to rewrite in the relay device 300 such as a PLC adapter or a wireless LAN adapter. In this case, the HGW 101 discovers the QoS setting target flow in the same manner as in the above-described embodiment, and notifies the PLC adapter or the wireless LAN adapter of the information instead of storing the information in the packet priority storage unit. . In the PLC adapter and the wireless LAN adapter, the information is stored, and when the packet is transferred later, the DSCP field is updated by the same process as the packet priority change processing unit in the above-described embodiment, and then the PLC Send to network or wireless LAN network.

また、上述の実施の形態1では、HGW101において、パケットのDSCPフィールドを書き換えることにより、優先制御QoSを実施しているが、PLCアダプタや無線LANアダプタ等の中継装置300に対して事前に情報を送ってQoS対象を指示するようにしても良い。例えば、HGW101は、上述の実施例と同様の方法により、QoS設定対象のフローを発見し、パケット優先度記憶部にその情報を保存する代わりに、そのフローを識別するための送信元のIPアドレスと送信先のIPアドレスをPLCアダプタや無線LANアダプタ等に対して送信する。このときに、そのフローの優先度の情報を同時に通知しても良い。PLCアダプタや無線LANアダプタでは、その情報を保存しておき、後ほどパケットを転送する際にパケットのIPアドレスを解析して、予めHGW101より通知されたIPアドレスに合致する場合に、QoS対象として優先的にPLCネットワークや無線LANネットワークに送信する。このときに予め優先度が通知されている場合はその優先度に応じてQoS伝送してもよい。   In the above-described first embodiment, the HGW 101 performs the priority control QoS by rewriting the DSCP field of the packet. However, the information is transmitted in advance to the relay device 300 such as a PLC adapter or a wireless LAN adapter. It may be sent to indicate the QoS target. For example, the HGW 101 discovers a QoS setting target flow by the same method as in the above-described embodiment, and instead of storing the information in the packet priority storage unit, the IP address of the transmission source for identifying the flow The destination IP address is transmitted to the PLC adapter, the wireless LAN adapter, or the like. At this time, the priority information of the flow may be notified at the same time. The PLC adapter and the wireless LAN adapter store the information, analyze the IP address of the packet when transferring the packet later, and if it matches the IP address previously notified by the HGW 101, it is given priority as a QoS target. To a PLC network or a wireless LAN network. At this time, when the priority is notified in advance, QoS transmission may be performed according to the priority.

また、上述の実施の形態1では、HGW101において、パケットを送信する際に、優先制御伝送を行なうものとしているが、これを実施しなくてもよい。すなわち、DSCPフィールドの書き換えのみをHGW101にて実施するものとしてもよい。   In the first embodiment, the HGW 101 performs priority control transmission when transmitting a packet. However, this may not be performed. That is, only rewriting of the DSCP field may be performed by the HGW 101.

実施の形態は上述の他に、以下のようにも表現できる。すなわち、本発明に係る通信制御装置は、送信装置のドメイン名を含んだ、アドレス要求信号を受信装置から受け取り、前記アドレス要求信号に含まれるドメイン名から、優先度を決定し、前記アドレス要求信号に含まれるドメイン名から、前記送信装置のアドレスを取得し、前記アドレス要求信号の送信元アドレスから、前記受信装置のアドレスを取得し、前記送信装置から前記受信装置に送信されるパケットの優先度を、前記決定した優先度に設定するものであってもよい。   In addition to the above, the embodiment can be expressed as follows. That is, the communication control device according to the present invention receives an address request signal including the domain name of the transmitting device from the receiving device, determines a priority from the domain name included in the address request signal, and the address request signal The address of the transmitting device is acquired from the domain name included in the address, the address of the receiving device is acquired from the source address of the address request signal, and the priority of the packet transmitted from the transmitting device to the receiving device May be set to the determined priority.

なお、実施の形態2〜4は、上述の他に、次のようにも表現できる。   In addition to the above, Embodiments 2 to 4 can also be expressed as follows.

[1]本発明に係る中継装置は、パケットを中継する中継装置であって、前記中継装置は、QoS対象記憶部と、ドメイン名アドレス解決パケット検出部(DNS検出部)と、優先度データ生成処理部と、パケット優先度記憶部と、パケット優先伝送処理部を備え、前記QoS対象記憶部は、QoS設定対象となるドメイン名を記憶し、前記ドメイン名アドレス解決パケット検出部は、前記中継するパケットがドメイン名アドレス解決パケットであることを検出すると、前記ドメイン名アドレス解決パケットの問合せ対象ドメイン名が前記QoS対象記憶部に記憶されている前記ドメイン名に合致するかどうかを判定し、合致していれば、前記優先度データ生成処理部に通知し、前記優先度データ生成処理部は、前記ドメイン名に合致したドメイン名アドレス解決パケットの存在を確認して、前記ドメイン名アドレス解決パケットからアドレス情報を抽出し、前記抽出されたアドレス情報を含む優先度データを生成し、前記パケット優先度記憶部は、前記生成された優先度データを記憶し、前記パケット優先伝送処理部は、前記中継するパケットが、前記パケット優先度記憶部に記憶された優先度データに合致するかどうかを判定し、合致していれば、前記パケットを優先的に中継することを特徴とする中継装置。   [1] A relay device according to the present invention is a relay device that relays a packet, and the relay device includes a QoS target storage unit, a domain name address resolution packet detection unit (DNS detection unit), and priority data generation. A processing unit, a packet priority storage unit, and a packet priority transmission processing unit, wherein the QoS target storage unit stores a domain name that is a QoS setting target, and the domain name address resolution packet detection unit relays When it is detected that the packet is a domain name address resolution packet, it is determined whether the domain name to be queried in the domain name address resolution packet matches the domain name stored in the QoS target storage unit. If so, the priority data generation processing unit notifies the priority data generation processing unit, and the priority data generation processing unit matches the domain name. Confirming the presence of an in-name address resolution packet, extracting address information from the domain name address resolution packet, generating priority data including the extracted address information, and generating the packet priority storage unit The packet priority transmission processing unit determines whether the packet to be relayed matches the priority data stored in the packet priority storage unit, and if it matches, A relay apparatus that relays the packet preferentially.

[2]本発明に係る中継装置は、パケットを中継する中継装置であって、前記中継装置は、QoS対象記憶部と、ドメイン名アドレス解決パケット検出部(DNS検出部)と、優先度データ生成処理部と、パケット優先度記憶部と、パケット優先伝送処理部を備え、前記QoS対象記憶部は、QoS設定対象となる第1ドメイン名と第2ドメイン名を記憶し、前記ドメイン名アドレス解決パケット検出部は、前記中継するパケットがドメイン名アドレス解決パケットであることを検出すると、前記ドメイン名アドレス解決パケットの問合せ対象ドメイン名が前記QoS対象記憶部に記憶されている前記第1ドメイン名および前記第2ドメイン名に合致するかどうかを判定し、合致していれば、前記優先度データ生成処理部に通知し、前記優先度データ生成処理部は、前記第1ドメイン名に合致した第1ドメイン名アドレス解決パケットと、前記第2ドメイン名に合致した第2ドメイン名アドレス解決パケットの両方の存在を確認して、前記第1および第2のドメイン名アドレス解決パケットからアドレス情報を抽出し、前記抽出されたアドレス情報を含む優先度データを生成し、前記パケット優先度記憶部は、前記生成された優先度データを記憶し、前記パケット優先伝送処理部は、前記中継するパケットが、前記パケット優先度記憶部に記憶された優先度データに合致するかどうかを判定し、合致していれば、前記パケットを優先的に中継することを特徴とする中継装置。   [2] A relay device according to the present invention is a relay device that relays a packet, and the relay device includes a QoS target storage unit, a domain name address resolution packet detection unit (DNS detection unit), and priority data generation. A processing unit, a packet priority storage unit, and a packet priority transmission processing unit, wherein the QoS target storage unit stores a first domain name and a second domain name that are QoS setting targets, and the domain name address resolution packet When the detecting unit detects that the relay packet is a domain name address resolution packet, the query target domain name of the domain name address resolution packet is stored in the QoS target storage unit and the first domain name and the It is determined whether or not it matches the second domain name, and if it matches, the priority data generation processing unit is notified and the priority is given. The data generation processing unit confirms the presence of both the first domain name address resolution packet that matches the first domain name and the second domain name address resolution packet that matches the second domain name, and And extracting address information from the second domain name address resolution packet, generating priority data including the extracted address information, the packet priority storage unit storing the generated priority data, The packet priority transmission processing unit determines whether or not the packet to be relayed matches the priority data stored in the packet priority storage unit, and if it matches, the packet is preferentially relayed. A relay device characterized by that.

[3]さらに、本発明に係る中継装置は、前記優先度データ生成処理部が、前記ドメイン名アドレス解決パケットから抽出するアドレス情報は、前記ドメイン名アドレス解決パケットで解決されたドメイン名のアドレス、であってもよい。   [3] Further, in the relay device according to the present invention, the address information extracted from the domain name address resolution packet by the priority data generation processing unit is an address of a domain name resolved by the domain name address resolution packet, It may be.

[4]さらに、本発明に係る中継装置は、前記優先度データ生成処理部が、前記ドメイン名アドレス解決パケットから抽出するアドレス情報は、前記ドメイン名アドレス解決パケットを送信する、または、受信する装置のアドレス、であってもよい。   [4] Further, in the relay device according to the present invention, the address data extracted from the domain name address resolution packet by the priority data generation processing unit transmits or receives the domain name address resolution packet. Address.

[5]本発明に係る中継装置は、パケットを中継する中継装置であって、前記中継装置は、DNS検出部と、優先度データ生成処理部と、パケット優先伝送処理部と、QoS対象記憶部と、パケット優先度記憶部とを備え、前記DNS検出部は、前記中継するパケットがDNSパケットであることを検出すると、前記DNSパケットの問合せ対象ドメイン名が前記QoS対象記憶部に記憶されているエントリ情報のドメイン名に合致するかどうかを判定し、合致していれば、前記優先度データ生成処理部に通知し、前記優先度データ生成処理部は、前記DNSパケットと前記合致したQoS対象記憶部に記憶されているエントリ情報から優先度データを生成して、前記生成された優先度データを前記パケット優先度記憶部に記憶させ、前記パケット優先伝送処理部は、前記中継するパケットが前記パケット優先度記憶部に記憶されている優先度データに合致しているかどうかを判定し、合致していれば、前記合致した優先度データの優先度に従って、前記パケットを優先して中継してもよい。   [5] The relay device according to the present invention is a relay device that relays a packet, and the relay device includes a DNS detection unit, a priority data generation processing unit, a packet priority transmission processing unit, and a QoS target storage unit. And a packet priority storage unit, and when the DNS detection unit detects that the relay packet is a DNS packet, the query target domain name of the DNS packet is stored in the QoS target storage unit It is determined whether or not the domain name of the entry information matches, and if it matches, the priority data generation processing unit notifies the priority data generation processing unit, and the priority data generation processing unit matches the DNS packet and the matched QoS target storage. Priority data is generated from the entry information stored in the unit, the generated priority data is stored in the packet priority storage unit, and the packet data is stored in the packet priority storage unit. The packet priority transmission processing unit determines whether the relayed packet matches the priority data stored in the packet priority storage unit, and if the packet matches, the priority priority transmission processing unit The packet may be relayed with priority according to priority.

[6]本発明に係る中継装置は、データ受信装置が、第1ドメインに属する第1外部装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答を通信制御装置を介して受信した後、第2ドメインに属する第2外部装置の通信アドレスを要求する第2リクエストを送信し、データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第3リクエストを送信し、該第3リクエストの応答として上記データ送信装置が上記通信制御装置を介して上記データ受信装置へ送信する、上記データフローに含まれる上記通信パケットについて、当該通信パケットの伝送を制御しつつ、当該通信パケットを中継する中継装置であって、上記第1リクエストの応答は、上記外部装置が属する上記第1ドメインの名称である第1ドメイン名と、上記外部装置の通信アドレスと、上記第1リクエストの種別を示す第1リクエスト種別とを含んでおり、上記第2リクエストの応答は、上記データ送信装置が属する上記第2ドメインの名称である第2ドメイン名と、上記データ送信装置の通信アドレスと、上記第2リクエストの種別を示す第2リクエスト種別と、上記通信制御装置の物理アドレスと、上記データ受信装置の物理アドレスとを含んでおり、上記第1リクエストの応答から上記第1ドメイン名および上記第1リクエスト種別を抽出するとともに、上記第2リクエストの応答から上記第2ドメイン名および上記第2リクエスト種別を抽出するドメイン名/リクエスト種別抽出手段と、上記第1ドメイン名と、上記第1リクエスト種別と、上記第2ドメイン名と、上記第2リクエスト種別と、上記通信パケットの伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/リクエスト種別抽出手段が抽出した、上記第1ドメイン名、上記第1リクエスト種別、上記第2ドメイン名、および上記第2リクエスト種別の組に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記第2リクエストの応答に含まれる上記通信制御装置のMACアドレスと上記データ受信装置のMACアドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する各通信パケットは、該通信パケットの送信元のMACアドレス、および該通信パケットの送信先のMACアドレスを含んでおり、上記データフローを構成する上記通信パケットから上記送信元のMACアドレスおよび上記送信先のMACアドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元のMACアドレスと上記送信先のMACアドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記伝送優先度に従って、上記データフローを構成する上記通信パケットの伝送を制御するパケット伝送制御手段とを備えていてもよい。   [6] In the relay device according to the present invention, the data receiving device transmits a first request for requesting a communication address of a first external device belonging to the first domain, and a response to the first request is transmitted via the communication control device. The second request for requesting the communication address of the second external device belonging to the second domain, and requesting the data flow composed of a plurality of communication packets to the data transmitting device. For the communication packet included in the data flow, which is transmitted from the data transmitting apparatus to the data receiving apparatus via the communication control apparatus as a response to the third request. However, the relay device relays the communication packet, and the response to the first request is a response of the first domain to which the external device belongs. A first domain name, a communication address of the external device, and a first request type indicating the type of the first request, and the response of the second request is a response to which the data transmission device belongs. A second domain name which is a name of the second domain, a communication address of the data transmission device, a second request type indicating the type of the second request, a physical address of the communication control device, and a data reception device The first domain name and the first request type from the response of the first request, and the second domain name and the second request type from the response of the second request. Domain name / request type extracting means for extracting, the first domain name, the first request type, and the second domain name An in-name, the second request type, and a transmission priority of the communication packet in association with each other, and the first domain name extracted by the domain name / request type extracting unit. Domain priority acquisition means for acquiring a transmission priority associated with a set of the first request type, the second domain name, and the second request type from the first storage unit, and a response to the second request Priority data stored in the second storage unit by associating the transmission priority acquired by the domain priority acquisition means with the set of the MAC address of the communication control device and the MAC address of the data receiving device included in Each of the communication packets constituting the data flow includes a MAC address of a transmission source of the communication packet, and the communication packet A transmission source address / transmission destination address extracting means for extracting the transmission source MAC address and the transmission destination MAC address from the communication packet that includes the transmission destination MAC address, and the transmission source; Packet priority acquisition means for acquiring, from the second storage unit, the transmission priority associated with the pair of the MAC address of the transmission source and the MAC address of the transmission destination extracted by the address / destination address extraction means And packet transmission control means for controlling transmission of the communication packet constituting the data flow according to the transmission priority acquired by the packet priority acquisition means.

[7]本発明に係る中継装置は、複数の通信パケットから構成されるデータフローに含まれる上記通信パケットの伝送を制御しつつ、当該通信パケットを中継する中継装置であって、データ受信装置から送信される、ドメインに属する外部装置の通信アドレスを要求するリクエストを中継するとともに、上記データ受信装置へ送信される、上記リクエストに対するレスポンスであって、上記外部装置が属するドメインのドメイン名と、当該レスポンスの送信元を表す情報と、および当該レスポンスの送信先を表す情報とを含むレスポンスを中継し、自装置が中継する通信パケットが、上記レスポンスの通信パケットであることを検出するとともに、上記レスポンスから、上記外部装置のドメイン名と、当該レスポンスの送信元を表す情報と、当該レスポンスの送信先を表す情報とを抽出するドメイン名/送信情報抽出手段と、上記外部装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、上記ドメイン名/送信情報抽出手段が抽出した、上記外部装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、上記ドメイン名/送信情報抽出手段が抽出した、上記レスポンスの送信元を表す情報と当該レスポンスの送信先を表す情報との組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、上記データフローを構成する上記通信パケットは、該通信パケットの送信元を表す情報と、該通信パケットの送信先を表す情報とを含んでおり、自装置が中継する上記通信パケットから、上記送信元を表す情報および上記送信先を表す情報を抽出する送信元情報/送信先情報抽出手段と、上記送信元情報/送信先情報抽出手段が抽出した、上記送信元を表す情報と上記送信先を表す情報との組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、上記パケット優先度取得手段が取得した上記伝送優先度に応じて、上記データフローを構成する上記通信パケットの伝送を制御するパケット伝送制御手段とを備えていてもよい。   [7] A relay device according to the present invention is a relay device that relays a communication packet while controlling transmission of the communication packet included in a data flow composed of a plurality of communication packets. Relaying a request for a communication address of an external device belonging to a domain to be transmitted, and a response to the request transmitted to the data receiving device, the domain name of the domain to which the external device belongs; It relays a response including information indicating the response transmission source and information indicating the response transmission destination, and detects that the communication packet relayed by the device is the communication packet of the response. From the domain name of the external device, information indicating the source of the response, A first storage unit that stores a domain name / transmission information extraction unit that extracts information indicating a transmission destination of the response, a domain name of the external device, and a transmission priority to be set in the communication packet in association with each other Domain priority acquisition means for acquiring from the first storage unit the transmission priority associated with the domain name of the external device extracted by the domain name / transmission information extraction means; and the domain name / transmission The second storage unit associates the transmission priority acquired by the domain priority acquisition unit with the set of the information indicating the transmission source of the response and the information indicating the transmission destination of the response extracted by the information extraction unit. The communication packet constituting the data flow includes information indicating the transmission source of the communication packet, and Source information / destination information extraction means for extracting the information representing the transmission source and the information representing the transmission destination from the communication packet relayed by the own apparatus, and the transmission information Packet priority acquisition that acquires, from the second storage unit, a transmission priority associated with a set of information representing the transmission source and information representing the transmission destination extracted by the original information / destination information extraction means And packet transmission control means for controlling transmission of the communication packet constituting the data flow according to the transmission priority acquired by the packet priority acquisition means.

さらに、上述した実施の形態は、上述の他に、次のようにも表現できる。Furthermore, the embodiment described above can be expressed as follows in addition to the above.

上記課題を解決するために、本発明に係る中継装置は、パケットを中継する中継装置であって、QoS対象となるドメイン名を少なくとも記憶するQoS対象記憶部と、上記中継するパケットが、ドメイン名/アドレス解決パケットであることを検出するとともに、該検出されたドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するか否かを判定するドメイン名/アドレス解決パケット検出手段と、上記判定の結果、上記問合せ対象のドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致する場合、上記検出されたドメイン名/アドレス解決からアドレスを抽出し、該抽出したアドレスを含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納する優先度データ生成処理手段と、上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継するパケット優先伝送処理手段とを備えることを特徴としている。In order to solve the above-described problem, a relay device according to the present invention is a relay device that relays a packet, in which a QoS target storage unit that stores at least a domain name that is a QoS target, and the relay packet includes a domain name. Whether the domain name to be queried included in the detected domain name / address resolution packet matches the domain name stored in the QoS target storage unit. Domain name / address resolution packet detection means for determining the domain name stored in the QoS target storage unit and the domain name stored in the QoS target storage unit as a result of the determination, the detected domain name / An address is extracted from the address resolution, priority data including the extracted address is generated, and the generated priority data is generated. The priority data generation processing means for storing the data in the packet priority storage unit, the address included in the packet to be relayed matches the address included in the priority data stored in the packet priority storage unit A packet preferential transmission processing means for preferentially relaying the packet.

上記の構成によれば、上記中継するパケットが、ドメイン名/アドレス解決パケットであることを検出するとともに、該検出されたドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と、QoS対象となるドメインのドメイン名を少なくとも記憶するQoS対象記憶部に記憶されているドメイン名とが一致するか否かを判定する。そして、上記判定の結果、上記問合せ対象のドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致する場合、上記検出されたドメイン名/アドレス解決パケットに含まれるアドレスを抽出し、該抽出したアドレス含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納することができる。そして、上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継することができる。According to the above configuration, it is detected that the packet to be relayed is a domain name / address resolution packet, the domain name to be queried included in the detected domain name / address resolution packet, the QoS target, It is determined whether or not the domain name stored in the QoS target storage unit that stores at least the domain name of the domain matches. Then, as a result of the determination, if the domain name to be queried matches the domain name stored in the QoS target storage unit, the address included in the detected domain name / address resolution packet is extracted, Priority data including the extracted address can be generated, and the generated priority data can be stored in the packet priority storage unit. When the address included in the packet to be relayed matches the address included in the priority data stored in the packet priority storage unit, the packet can be relayed preferentially.

よって、ドメイン名に応じて、上記パケットを中継することができる。Therefore, the packet can be relayed according to the domain name.

したがって、ドメイン名が異なる映像配信サーバのそれぞれから送信される、同じネゴシエーションプロトコルを使用するコンテンツ(例えば、高画質の映像コンテンツおよび低画質の映像コンテンツ)のデータフローが同一の通信ネットワーク上で伝送される状況において、各データフローをいずれも優先的に伝送すると通信ネットワークの伝送帯域が不足する場合であっても、本発明によれば、ドメイン名に応じていずれかのデータフローのみを(例えば、高画質の映像コンテンツのデータフローのみを)優先的に伝送することができるので、上記状況においてもQoSを実現することができるという効果を奏する。Therefore, the data flow of content (for example, high-quality video content and low-quality video content) transmitted from each of the video distribution servers having different domain names and using the same negotiation protocol is transmitted on the same communication network. In this situation, even if each data flow is preferentially transmitted, even if the transmission bandwidth of the communication network is insufficient, according to the present invention, only one of the data flows is determined according to the domain name (for example, (Only the data flow of high-quality video content) can be preferentially transmitted, so that the QoS can be realized even in the above situation.

さらに、本発明に係る中継装置は、上記優先度データ生成処理手段が上記優先度データに含めるアドレスは、上記ドメイン名/アドレス解決パケットで解決されたドメイン名のアドレスであってもよい。Furthermore, in the relay device according to the present invention, the address included in the priority data by the priority data generation processing unit may be an address of a domain name resolved by the domain name / address resolution packet.

上記の構成によれば、優先度データに含めるアドレスは、上記ドメイン名/アドレス解決パケットで解決されたアドレスとすることができる。According to the above configuration, the address included in the priority data can be an address resolved by the domain name / address resolution packet.

よって、上記パケット優先伝送処理手段は、上記中継するパケットに含まれるアドレスと、上記問合せ対象のドメイン名を有する装置のアドレスとが一致する場合、上記中継するパケットを優先的に中継することができる。Therefore, the packet priority transmission processing means can preferentially relay the relayed packet when the address included in the relayed packet matches the address of the device having the domain name to be queried. .

したがって、上記問合せ対象のドメイン名を有する装置から送信されるパケットを、優先的に中継することができるという効果を奏する。Therefore, the packet transmitted from the device having the domain name to be queried can be relayed preferentially.

さらに、本発明に係る中継装置は、上記優先度データ生成処理手段が上記優先度データに含めるアドレスは、上記ドメイン名/アドレス解決パケットを送信または受信する装置のアドレスであってもよい。Further, in the relay device according to the present invention, the address included in the priority data by the priority data generation processing unit may be an address of a device that transmits or receives the domain name / address resolution packet.

上記の構成によれば、優先度データに含めるアドレスは、上記ドメイン名/アドレス解決パケットを送信または受信する装置のアドレスとすることができる。According to the above configuration, the address included in the priority data can be the address of the device that transmits or receives the domain name / address resolution packet.

よって、上記パケット優先伝送処理手段は、上記中継するパケットに含まれるアドレスと、上記ドメイン名/アドレス解決パケット検出手段が検出するパケットを送信または受信する装置のアドレスとが一致する場合、上記パケットを優先的に中継することができる。Therefore, the packet priority transmission processing means, if the address included in the relayed packet matches the address of the device that transmits or receives the packet detected by the domain name / address resolution packet detection means, It can be preferentially relayed.

したがって、上記ドメイン名/アドレス解決パケット検出手段が検出するパケットを送信または受信する装置から送信されるパケットを、優先的に中継することができるという効果を奏する。Therefore, it is possible to preferentially relay a packet transmitted from a device that transmits or receives a packet detected by the domain name / address resolution packet detection means.

最後に、制御部10・110・210・810は、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよいし、ハードウェアロジックによって構成してもよい。ソフトウェアによって実現する場合は、HGW101、HGW121、PLCアダプタ301(302、303)、PLCアダプタ311(312、313)、無線LANアダプタ801(802、803)は、各機能を実現する制御プログラムの命令を実行するCPU、上記プログラムを格納したROM、上記プログラムを展開するRAM、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアであるHGW101、HGW121、PLCアダプタ301(302、303)、PLCアダプタ311(312、313)、無線LANアダプタ801(802、803)の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、HGW101、HGW121、PLCアダプタ301(302、303)、PLCアダプタ311(312、313)、無線LANアダプタ801(802、803)に供給し、HGW101、HGW121、PLCアダプタ301(302、303)、PLCアダプタ311(312、313)、無線LANアダプタ801(802、803)内のコンピュータ(またはCPUやMPU(Micro Processing Unit))が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   Finally, the control units 10, 110, 210, and 810 may be realized by software using a CPU (Central Processing Unit) or may be configured by hardware logic. When implemented by software, the HGW 101, the HGW 121, the PLC adapter 301 (302, 303), the PLC adapter 311 (312, 313), and the wireless LAN adapter 801 (802, 803) execute the commands of the control program for realizing each function. A CPU for executing, a ROM storing the program, a RAM for expanding the program, a storage device (recording medium) such as a memory for storing the program and various data, and the like are provided. The object of the present invention is to control the HGW 101, HGW 121, PLC adapter 301 (302, 303), PLC adapter 311 (312, 313), and wireless LAN adapter 801 (802, 803), which are software for realizing the functions described above. A recording medium in which a program code (execution format program, intermediate code program, source program) of a program is recorded so as to be readable by a computer is recorded as an HGW 101, an HGW 121, a PLC adapter 301 (302, 303), a PLC adapter 311 (312, 313), Supplied to the wireless LAN adapter 801 (802, 803), HGW101, HGW121, PLC adapter 301 (302,303), PLC adapter 311 (312,313), wireless LAN adapter 801 (802,80) ) Computers in (or CPU or MPU (Micro Processing Unit)) also to retrieve and execute the program code recorded in the recording medium.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、HGW101、HGW121、PLCアダプタ301(302、303)、PLCアダプタ311(312、313)、無線LANアダプタ801(802、803)を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394ケーブル、USBケーブル、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAのような赤外線、Bluetooth(登録商標)、IEEE802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the HGW 101, the HGW 121, the PLC adapter 301 (302, 303), the PLC adapter 311 (312, 313), and the wireless LAN adapter 801 (802, 803) are configured to be connectable to a communication network, and the program code is connected to the communication network. You may supply via. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited, and for example, an infrared ray such as IrDA, Bluetooth (Bluetooth) (IEEE1394 cable, USB cable, power line carrier, cable TV line, telephone line, ADSL line, etc.) (Registered trademark), IEEE802.11 radio, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明は、通信ネットワークにおける通信パケットの伝送を、該通信パケットに付与された優先度に応じて制御する通信制御装置および通信中継装置に好適に利用することができる。特に、HGWやPLCアダプタに好適に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be suitably used for a communication control device and a communication relay device that control transmission of a communication packet in a communication network according to the priority assigned to the communication packet. In particular, it can be suitably used for an HGW or a PLC adapter.

本発明の一実施形態に係る通信制御装置(HGW)の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the communication control apparatus (HGW) which concerns on one Embodiment of this invention. 本発明に係る通信制御装置を含む通信制御システムの基本構成例を模式的に示すブロック図である。1 is a block diagram schematically showing a basic configuration example of a communication control system including a communication control device according to the present invention. 図2で示した通信制御システムの具体的構成の一例を模式的に示すブロック図である。It is a block diagram which shows typically an example of the specific structure of the communication control system shown in FIG. 図3で示した通信制御システムにおいて、データ送受信装置であるSTBおよびPCがデータを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。FIG. 4 is a sequence diagram schematically illustrating an example of a flow from when a data transmission / reception device STB and a PC request data until they are received in the communication control system illustrated in FIG. 3. 図2で示した通信制御システムに含まれる中継装置としてのPLCアダプタの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the PLC adapter as a relay apparatus contained in the communication control system shown in FIG. 図1に示した通信制御装置(HGW)がパケットを受信した際の処理の流れの概要を示すフローチャートである。It is a flowchart which shows the outline | summary of the flow of a process when the communication control apparatus (HGW) shown in FIG. 1 receives a packet. 図1に示した通信制御装置(HGW)における、優先度データ生成処理の流れの概要を示すフローチャートである。3 is a flowchart showing an overview of a flow of priority data generation processing in the communication control apparatus (HGW) shown in FIG. 1. 図1に示した通信制御装置(HGW)における、パケット優先度変更処理の流れの概要を示すフローチャートである。3 is a flowchart illustrating an outline of a flow of packet priority change processing in the communication control apparatus (HGW) illustrated in FIG. 1. 図1で示した通信制御装置(HGW)が提供する、簡易版のQoS対象設定画面の画面例を示す模式図である。It is a schematic diagram which shows the example of a screen of the simple version QoS object setting screen which the communication control apparatus (HGW) shown in FIG. 1 provides. 図1で示した通信制御装置(HGW)が提供する、詳細版のQoS対象設定画面の画面例を示す模式図である。It is a schematic diagram which shows the example of a screen of the detailed version QoS object setting screen which the communication control apparatus (HGW) shown in FIG. 1 provides. 図2で示した通信制御システムの具体的構成の他の一例を模式的に示すブロック図である。It is a block diagram which shows typically another example of the specific structure of the communication control system shown in FIG. 図2で示した通信制御システムに含まれる中継装置としての無線LANアダプタの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the wireless LAN adapter as a relay apparatus contained in the communication control system shown in FIG. 図2で示した通信制御システムの具体的構成の他の一例を模式的に示すブロック図である。It is a block diagram which shows typically another example of the specific structure of the communication control system shown in FIG. 従来技術における、PLCネットワーク上で2つの映像データフローを優先的に伝送するときの伝送帯域の様子を示す図である。It is a figure which shows the mode of the transmission band when transmitting two video data flows preferentially on a PLC network in a prior art. 従来技術における、PLCネットワーク上で2つの映像データフローのうち片方だけを優先的に伝送するときの伝送帯域の様子を示す図である。It is a figure which shows the mode of the transmission band when transmitting only one of two video data flows preferentially on a PLC network in a prior art. 図3で示した通信制御システムにおいて、映像パケットが優先的に伝送されることなく、図1に示した通信制御装置(HGW)を通過する場合の一例を模式的に示したシーケンス図である。FIG. 4 is a sequence diagram schematically illustrating an example of a case where the video packet passes through the communication control apparatus (HGW) illustrated in FIG. 1 without being preferentially transmitted in the communication control system illustrated in FIG. 3. 図3で示した通信制御システムにおいて、全ての映像パケットが優先的に伝送される様子の一例を模式的に示したシーケンス図である。FIG. 4 is a sequence diagram schematically illustrating an example of a state in which all video packets are preferentially transmitted in the communication control system illustrated in FIG. 3. 本発明の一実施形態に係る通信制御装置(HGW)を含む通信制御システムの基本構成例を模式的に示すブロック図である。It is a block diagram showing typically an example of basic composition of a communication control system containing a communication control device (HGW) concerning one embodiment of the present invention. 本発明の一実施形態に係る中継装置(PLCアダプタ)を含む通信制御システムの基本構成例を模式的に示すブロック図である。1 is a block diagram schematically illustrating a basic configuration example of a communication control system including a relay device (PLC adapter) according to an embodiment of the present invention. 図19で示した通信制御システムの具体的構成の一例を模式的に示すブロック図である。FIG. 20 is a block diagram schematically illustrating an example of a specific configuration of the communication control system illustrated in FIG. 19. 図19で示した通信制御システムにおいて、データ送受信装置であるSTBがデータを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。FIG. 20 is a sequence diagram schematically showing an example of a flow from when a data transmission / reception device STB requests data until it is received in the communication control system shown in FIG. 19. 本発明の他の一実施形態に係る中継装置(PLCアダプタ)の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the relay apparatus (PLC adapter) which concerns on other one Embodiment of this invention. 本発明の他の一実施形態に係る中継装置(PLCアダプタ)を含む通信制御システムにおいて、データ送受信装置であるSTBがデータを要求してから受信するまでの流れの一例を模式的に示したシーケンス図である。In a communication control system including a relay device (PLC adapter) according to another embodiment of the present invention, a sequence schematically showing an example of a flow from when a data transmission / reception device STB requests data until it is received FIG.

11 パケット転送処理部
12 DNS処理部(ドメイン名/アドレス抽出手段)
13 優先度データ生成処理部(ドメイン優先度取得手段、アドレス取得手段、優先度データ生成手段)
14 パケット優先度変更処理部(送信元アドレス/送信先アドレス抽出手段、パケット優先度取得手段、パケット優先度設定手段)
15 優先度データ削除処理部
16 QoS対象設定処理部
17 QoS対象更新処理部
21 サーバアドレス記憶部
22 QoS対象記憶部(第1記憶部)
23 パケット優先度記憶部(第2記憶部)
31 WAN側通信部
32 LAN側通信部
33 Ethernet通信部
34 無線LAN通信部
100 通信制御装置
101 HGW(通信制御装置)
111 QoS処理部
120 通信制御装置
121 HGW(通信制御装置)
131 Ethernet通信部
132 PLC通信部
161 QoS対象設定画面
162 QoS対象設定画面
211 パケット転送処理部
212 DNS検出部(DNS検出手段)
213 優先度データ生成処理部(優先度データ生成処理手段)
214 パケット優先伝送処理部(パケット優先伝送処理手段)
222 QoS対象記憶部
223 パケット優先度記憶部
231 Ethernet通信部
232 PLC通信部
300 中継装置
301 PLCアダプタ
302 PLCアダプタ
303 PLCアダプタ
310 中継装置
311 PLCアダプタ(中継装置)
312 PLCアダプタ(中継装置)
313 PLCアダプタ(中継装置)
400 データ送受信装置(データ受信装置)
402 STB(データ受信装置)
403 PC(データ受信装置)
404 STB(データ受信装置)
405 テレビ
406 テレビ
407 PC(データ受信装置)
500 第1通信ネットワーク
501 PLCネットワーク
600 サーバ(データ送信装置)
601 DNSサーバ
602 アップデートサーバ
603 映像配信サーバ(データ送信装置)
604 映像配信サーバ(データ送信装置)
605 Webサーバ
700 第2通信ネットワーク
701 インターネット
801 無線LANアダプタ
802 無線LANアダプタ
803 無線LANアダプタ
811 QoS処理部
831 Ethernet通信部
832 無線LAN通信部
901 無線LANネットワーク
11 Packet transfer processing unit 12 DNS processing unit (domain name / address extracting means)
13 Priority data generation processing unit (domain priority acquisition means, address acquisition means, priority data generation means)
14 Packet priority change processing unit (source address / destination address extraction means, packet priority acquisition means, packet priority setting means)
DESCRIPTION OF SYMBOLS 15 Priority data deletion process part 16 QoS object setting process part 17 QoS object update process part 21 Server address memory | storage part 22 QoS object memory | storage part (1st memory | storage part)
23 Packet priority storage unit (second storage unit)
31 WAN side communication unit 32 LAN side communication unit 33 Ethernet communication unit 34 Wireless LAN communication unit 100 Communication control device 101 HGW (communication control device)
111 QoS processing unit 120 communication control device 121 HGW (communication control device)
131 Ethernet communication unit 132 PLC communication unit 161 QoS target setting screen 162 QoS target setting screen 211 Packet transfer processing unit 212 DNS detection unit (DNS detection means)
213 priority data generation processing unit (priority data generation processing means)
214 packet priority transmission processing unit (packet priority transmission processing means)
222 QoS target storage unit 223 Packet priority storage unit 231 Ethernet communication unit 232 PLC communication unit 300 Relay device 301 PLC adapter 302 PLC adapter 303 PLC adapter 310 Relay device 311 PLC adapter (relay device)
312 PLC adapter (relay device)
313 PLC adapter (relay device)
400 Data transmitter / receiver (data receiver)
402 STB (data receiving device)
403 PC (data receiving device)
404 STB (data receiving device)
405 TV 406 TV 407 PC (data receiving device)
500 First communication network 501 PLC network 600 Server (data transmission device)
601 DNS server 602 Update server 603 Video distribution server (data transmission device)
604 Video distribution server (data transmission device)
605 Web server 700 Second communication network 701 Internet 801 Wireless LAN adapter 802 Wireless LAN adapter 803 Wireless LAN adapter 811 QoS processing unit 831 Ethernet communication unit 832 Wireless LAN communication unit 901 Wireless LAN network

Claims (17)

データ送信装置とデータ受信装置とがやりとりするパケットを中継する中継装置であって、A relay device that relays packets exchanged between a data transmission device and a data reception device,
QoSの対象となるQoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名を少なくとも記憶するQoS対象記憶部と、A QoS target storage unit that stores at least a domain name of a domain to which the data transmission device that transmits a QoS target packet that is a QoS target belongs;
上記データ送信装置のアドレスを解決するためのドメイン名/アドレス解決パケットであって、当該データ送信装置が属するドメインのドメイン名、並びに、当該データ送信装置、ドメイン名/アドレス解決パケットの送信元の装置、ドメイン名/アドレス解決パケットの送信先の装置、および、上記データ受信装置の少なくともいずれか1つのアドレスを含む、ドメイン名/アドレス解決パケットを取得する手段と、A domain name / address resolution packet for resolving the address of the data transmission device, the domain name of the domain to which the data transmission device belongs, and the data transmission device, the device of the transmission source of the domain name / address resolution packet A means for acquiring a domain name / address resolution packet including at least one address of a destination device of the domain name / address resolution packet and the data receiving device;
上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスを抽出し、該抽出したアドレスより成るアドレス群を生成し、該生成したアドレス群をパケット優先度記憶部に格納する優先度データ生成処理手段と、When the domain name included in the domain name / address resolution packet acquired by the means for acquiring the domain name / address resolution packet matches the domain name stored in the QoS target storage unit, the domain name / address resolution The means for acquiring a packet extracts one or a plurality of addresses contained in the acquired domain name / address resolution packet, generates an address group composed of the extracted addresses, and generates the generated address group as a packet priority storage unit Priority data generation processing means to be stored in
上記中継するパケットに含まれる1または複数個のアドレスより成るアドレス群が上記パケット優先度記憶部に記憶されたアドレス群のいずれかと一致するとき、上記中継するパケットを優先的に伝送させる優先伝送処理を行なうパケット優先伝送処理手段とを備えることを特徴とする中継装置。Priority transmission processing for preferentially transmitting the relayed packet when an address group composed of one or more addresses included in the relayed packet matches any of the address groups stored in the packet priority storage unit And a packet preferential transmission processing means.
上記ドメイン名/アドレス解決パケットを取得する手段が第1所定期間に取得した複数個の上記ドメイン名/アドレス解決パケットに含まれる複数個のドメイン名のそれぞれが、上記QoS対象記憶部に記憶されているドメイン名のいずれかに一致したとき、上記優先度データ生成処理手段は、上記第1所定期間に取得された上記ドメイン名/アドレス解決パケットのいずれかに含まれる1または複数個のアドレスを抽出し、該抽出したアドレスより成るアドレス群を生成することを特徴とする請求項1に記載の中継装置。Each of the plurality of domain names included in the plurality of domain name / address resolution packets acquired in the first predetermined period by the means for acquiring the domain name / address resolution packet is stored in the QoS target storage unit. The priority data generation processing means extracts one or a plurality of addresses included in one of the domain name / address resolution packets acquired in the first predetermined period when the domain name matches one of the domain names. The relay apparatus according to claim 1, wherein an address group including the extracted addresses is generated. 自装置が第2所定期間内に中継した1または複数個のパケットについて、いずれのパケットに含まれる1または複数個のアドレスより成るアドレス群とも一致しない、上記パケット優先度記憶部に記憶されている上記アドレス群を削除する手段をさらに備えることを特徴とする請求項1または2に記載の中継装置。One or more packets relayed by the own device within the second predetermined period are stored in the packet priority storage unit that does not match the address group composed of one or more addresses included in any packet. The relay apparatus according to claim 1, further comprising means for deleting the address group. 上記ドメイン名/アドレス解決パケットは、上記データ送信装置のアドレスの問合せに対する応答として、上記データ受信装置宛に送信されたパケットであることを特徴とする請求項1から3のいずれか1項に記載の中継装置。4. The domain name / address resolution packet is a packet transmitted to the data receiving apparatus as a response to an address inquiry of the data transmitting apparatus. Relay device. 上記ドメイン名/アドレス解決パケットは、上記データ送信装置のアドレスの問合せとして上記データ受信装置から送信されたパケットであることを特徴とする請求項1から3のいずれか1項に記載の中継装置。4. The relay apparatus according to claim 1, wherein the domain name / address resolution packet is a packet transmitted from the data receiving apparatus as an address inquiry of the data transmitting apparatus. 上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段によって取得されたドメイン名/アドレス解決パケットから、解決された上記データ送信装置のアドレス、および、当該ドメイン名/アドレス解決パケットの送信先の装置のアドレスの少なくともいずれかを抽出し、該抽出したアドレスより成るアドレス群を生成することを特徴とする請求項4に記載の中継装置。The priority data generation processing unit is configured to resolve the address of the data transmission device resolved from the domain name / address resolution packet acquired by the unit for acquiring the domain name / address resolution packet, and the domain name / address resolution 5. The relay apparatus according to claim 4, wherein at least one of addresses of a packet destination apparatus is extracted, and an address group including the extracted addresses is generated. 上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段によって取得されたドメイン名/アドレス解決パケットから、当該ドメイン名/アドレス解決パケットの送信元の装置のアドレス、および、当該ドメイン名/アドレス解決パケットの送信先の装置のアドレスの少なくともいずれかを抽出し、該抽出したアドレスより成るアドレス群を生成することを特徴とする請求項4または5に記載の中継装置。The priority data generation processing means includes, from the domain name / address resolution packet acquired by the means for acquiring the domain name / address resolution packet, the address of the transmission source device of the domain name / address resolution packet, and the 6. The relay apparatus according to claim 4, wherein at least one of addresses of a transmission destination apparatus of the domain name / address resolution packet is extracted, and an address group including the extracted addresses is generated. 上記ドメイン名/アドレス解決パケットを取得する手段は、自装置が中継している上記ドメイン名/アドレス解決パケットを取得することを特徴とする請求項1から7のいずれか1項に記載の中継装置。8. The relay apparatus according to claim 1, wherein the means for acquiring the domain name / address resolution packet acquires the domain name / address resolution packet relayed by the own apparatus. . 上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、上記QoS対象パケットに設定すべき伝送優先度とを対応づけて記憶するものであって、The QoS target storage unit further stores a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs and a transmission priority to be set in the QoS target packet in association with each other. ,
上記優先度データ生成処理手段は、さらに、上記ドメイン名/アドレス解決パケットを取得する手段が取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、当該ドメイン名に対応付けて上記QoS対象記憶部に記憶されている上記伝送優先度を、当該ドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスより成るアドレス群と対応付けて上記パケット優先度記憶部に格納し、The priority data generation processing means further includes a domain name included in the domain name / address resolution packet acquired by the means for acquiring the domain name / address resolution packet, and a domain name stored in the QoS target storage unit, Correspond to the domain name, the transmission priority stored in the QoS target storage unit corresponds to an address group composed of one or more addresses included in the domain name / address resolution packet. And store in the packet priority storage unit,
上記パケット優先伝送処理手段は、上記優先伝送処理の対象となるパケットに、当該パケットに含まれるアドレスより成るアドレス群に対応付けて上記パケット優先度記憶部に記憶されている上記伝送優先度を設定することを特徴とする請求項1から8のいずれか1項に記載の中継装置。The packet priority transmission processing unit sets the transmission priority stored in the packet priority storage unit in association with an address group composed of addresses included in the packet for the packet subjected to the priority transmission processing. The relay device according to any one of claims 1 to 8, wherein:
自装置が中継するパケットを一時的に保持し、該保持したパケットのうち、上記優先伝送処理の対象となるパケットを、上記優先伝送処理の対象とならないパケットよりも優先的に外部に送出する手段をさらに備えることを特徴とする請求項1から9のいずれか1項に記載の中継装置。Means for temporarily holding a packet relayed by its own device, and sending out, among the held packets, a packet subject to the priority transmission process to a higher priority than a packet not subject to the priority transmission process. The relay apparatus according to claim 1, further comprising: 上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、上記QoS対象パケットに設定すべき伝送優先度とを対応づけて記憶するものであって、The QoS target storage unit further stores a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs and a transmission priority to be set in the QoS target packet in association with each other. ,
上記優先度データ生成処理手段は、上記ドメイン名/アドレス解決パケットを取得する手段取得したドメイン名/アドレス解決パケットに含まれるドメイン名と上記QoS対象記憶部に記憶されているドメイン名とが一致するとき、当該ドメイン名に対応付けて上記QoS対象記憶部に記憶されている上記伝送優先度を、当該ドメイン名/アドレス解決パケットに含まれる1または複数個のアドレスより成るアドレス群と対応付けて上記パケット優先度記憶部に格納し、The priority data generation processing means obtains the domain name / address resolution packet. The domain name included in the acquired domain name / address resolution packet matches the domain name stored in the QoS target storage unit. The transmission priority stored in the QoS target storage unit in association with the domain name is associated with an address group composed of one or a plurality of addresses included in the domain name / address resolution packet. Stored in the packet priority storage,
上記パケット優先伝送処理手段は、上記優先伝送処理の対象となるパケットに、当該パケットに含まれるアドレスより成るアドレス群に対応付けて上記パケット優先度記憶部に記憶されている上記伝送優先度を設定し、The packet priority transmission processing unit sets the transmission priority stored in the packet priority storage unit in association with an address group composed of addresses included in the packet for the packet subjected to the priority transmission processing. And
自装置が中継するパケットを一時的に保持し、該保持したパケットのうち、上記優先伝送処理の対象となるパケットを、上記優先伝送処理の対象とならないパケットよりも優先的に外部に送出する手段をさらに備えることを特徴とする請求項1から8のいずれか1項に記載の中継装置。Means for temporarily holding a packet relayed by its own apparatus, and sending out the packet that is the target of the priority transmission process out of the held packets in preference to the packet that is not the target of the priority transmission process. The relay apparatus according to claim 1, further comprising:
上記QoS対象記憶部から読み出した情報をユーザに提示するとともに、ユーザからの入力を受け付け、該受け付けた入力に従って、上記QoS対象記憶部を更新する手段をさらに備えることを特徴とする請求項1から11のいずれか1項に記載の中継装置。The apparatus further comprises means for presenting information read from the QoS target storage unit to the user, receiving input from the user, and updating the QoS target storage unit according to the received input. The relay device according to any one of 11. 上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信する上記データ送信装置が属するドメインのドメイン名と、該データ送信装置が提供するサービスの名称とを対応付けて記憶するものであることを特徴とする請求項12に記載の中継装置。The QoS target storage unit further stores a domain name of a domain to which the data transmitting apparatus that transmits the QoS target packet belongs and a name of a service provided by the data transmitting apparatus in association with each other. The relay device according to claim 12, characterized in that: 上記QoS対象記憶部は、さらに、上記QoS対象パケットを送信するデータ送信装置が属するドメインのドメイン名と、該QoS対象パケットをQoSの対象とするか否かを示す情報とを対応付けて記憶するものであることを特徴とする請求項12または13に記載の中継装置。The QoS target storage unit further stores a domain name of a domain to which a data transmission apparatus that transmits the QoS target packet belongs, and information indicating whether the QoS target packet is a QoS target in association with each other. The relay device according to claim 12 or 13, wherein the relay device is one. データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットの伝送を制御する通信制御装置であって、A data receiving apparatus transmits a first request for requesting a communication address of a data transmitting apparatus belonging to a domain, and based on the communication address of the data transmitting apparatus acquired as a response to the first request, to the data transmitting apparatus The communication packet included in the data flow transmitted by the data transmitting apparatus to the data receiving apparatus as a response to the second request. A communication control device for controlling transmission of
上記第1リクエストは、上記データ送信装置が属するドメインのドメイン名と、上記データ受信装置の通信アドレスを含んでおり、The first request includes a domain name of a domain to which the data transmitting device belongs and a communication address of the data receiving device,
上記第1リクエストから上記データ送信装置のドメイン名および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、A domain name / address extracting means for extracting a domain name of the data transmitting device and a communication address of the data receiving device from the first request;
上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた上記データ送信装置の通信アドレスを取得するアドレス取得手段と、Address acquisition means for acquiring the communication address of the data transmission device associated with the domain name of the data transmission device extracted by the domain name / address extraction means;
上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、A first storage unit that stores a domain name of the data transmission device and a transmission priority to be set in the communication packet in association with each other;
上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、Domain priority acquisition means for acquiring, from the first storage unit, the transmission priority associated with the domain name of the data transmission device extracted by the domain name / address extraction means;
上記ドメイン名/アドレス抽出手段が抽出した上記データ受信装置の通信アドレスと、上記アドレス取得手段が取得した上記データ送信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、The transmission priority acquired by the domain priority acquisition unit in the set of the communication address of the data reception device extracted by the domain name / address extraction unit and the communication address of the data transmission device acquired by the address acquisition unit. And a priority data generation means for storing in the second storage unit in association with each other,
上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、該通信パケットの送信先となる上記データ受信装置の通信アドレス、該通信パケットの伝送優先度を含んでおり、Each communication packet constituting the data flow includes a communication address of the data transmission device that is a transmission source of the communication packet, a communication address of the data reception device that is a transmission destination of the communication packet, and a transmission priority of the communication packet. Contains
上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、A source address / destination address extracting means for extracting the source communication address and the destination communication address from the communication packet constituting the data flow;
上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、Packet priority obtained from the second storage unit, the transmission priority associated with the pair of the source communication address and the destination communication address extracted by the source address / destination address extracting means Degree acquisition means;
上記パケット優先度取得手段が取得した上記優先度を、上記通信パケットの優先度として該通信パケットに設定するパケット優先度設定手段とを備えることを特徴とする通信制御装置。A communication control apparatus comprising: packet priority setting means for setting the priority acquired by the packet priority acquisition means to the communication packet as the priority of the communication packet.
データ受信装置が、ドメインに属するデータ送信装置の通信アドレスを要求する第1リクエストを送信し、該第1リクエストの応答として取得した上記データ送信装置の通信アドレスに基づいて、上記データ送信装置に対して、複数の通信パケットから構成されるデータフローを要求する第2リクエストを送信し、該第2リクエストの応答として上記データ送信装置が上記データ受信装置へ送信する上記データフローに含まれる上記通信パケットについて、当該通信パケットの伝送を制御しつつ、当該通信パケットを中継する通信制御装置であって、A data receiving apparatus transmits a first request for requesting a communication address of a data transmitting apparatus belonging to a domain, and based on the communication address of the data transmitting apparatus acquired as a response to the first request, to the data transmitting apparatus The communication packet included in the data flow transmitted by the data transmitting apparatus to the data receiving apparatus as a response to the second request. A communication control device that relays the communication packet while controlling transmission of the communication packet,
上記第1リクエストの応答は、上記データ送信装置が属するドメインのドメイン名と、上記データ送信装置の通信アドレスと、上記データ受信装置の通信アドレスとを含んでおり、The response to the first request includes the domain name of the domain to which the data transmission device belongs, the communication address of the data transmission device, and the communication address of the data reception device,
自装置が中継する上記第1リクエストの応答から上記データ送信装置のドメイン名、上記データ送信装置の通信アドレス、および上記データ受信装置の通信アドレスを抽出するドメイン名/アドレス抽出手段と、A domain name / address extracting means for extracting the domain name of the data transmitting device, the communication address of the data transmitting device, and the communication address of the data receiving device from the response of the first request relayed by the own device;
上記データ送信装置のドメイン名と、上記通信パケットに設定すべき伝送優先度とを対応づけて記憶する第1記憶部と、A first storage unit that stores a domain name of the data transmission device and a transmission priority to be set in the communication packet in association with each other;
上記ドメイン名/アドレス抽出手段が抽出した、上記データ送信装置のドメイン名に対応付けられた伝送優先度を、上記第1記憶部から取得するドメイン優先度取得手段と、Domain priority acquisition means for acquiring, from the first storage unit, the transmission priority associated with the domain name of the data transmission device extracted by the domain name / address extraction means;
上記ドメイン名/アドレス抽出手段が抽出した上記データ送信装置の通信アドレスと上記データ受信装置の通信アドレスとの組に、上記ドメイン優先度取得手段が取得した伝送優先度を対応付けて、第2記憶部に格納する優先度データ生成手段とを備えるとともに、The second storage stores the transmission priority acquired by the domain priority acquisition unit in association with the set of the communication address of the data transmission device and the communication address of the data reception device extracted by the domain name / address extraction unit. And priority data generation means for storing in the section,
上記データフローを構成する各通信パケットは、該通信パケットの送信元となる上記データ送信装置の通信アドレス、および該通信パケットの送信先となる上記データ受信装置の通信アドレスを含んでおり、Each communication packet constituting the data flow includes a communication address of the data transmission device that is a transmission source of the communication packet, and a communication address of the data reception device that is a transmission destination of the communication packet,
上記データフローを構成する上記通信パケットから上記送信元の通信アドレスおよび上記送信先の通信アドレスを抽出する送信元アドレス/送信先アドレス抽出手段と、A source address / destination address extracting means for extracting the source communication address and the destination communication address from the communication packet constituting the data flow;
上記送信元アドレス/送信先アドレス抽出手段が抽出した、上記送信元の通信アドレスと上記送信先の通信アドレスとの組に対応付けられた伝送優先度を、上記第2記憶部から取得するパケット優先度取得手段と、Packet priority obtained from the second storage unit, the transmission priority associated with the pair of the source communication address and the destination communication address extracted by the source address / destination address extracting means Degree acquisition means;
上記パケット優先度取得手段が取得した上記伝送優先度に応じて、上記データフローを構成する上記通信パケットの伝送を制御するパケット伝送制御手段とを備えることを特徴とする通信制御装置。A communication control apparatus comprising: packet transmission control means for controlling transmission of the communication packet constituting the data flow according to the transmission priority acquired by the packet priority acquisition means.
パケットを中継する中継装置であって、A relay device for relaying packets,
QoS対象となる第1ドメイン名および第2ドメイン名を少なくとも記憶するQoS対象記憶部と、A QoS target storage unit for storing at least a first domain name and a second domain name to be QoS target;
上記中継するパケットが、第1のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致するか否かを判定することに加え、上記中継するパケットが、第2のドメイン名/アドレス解決パケットであることを検出するとともに、該検出された第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致するか否かを判定するドメイン名/アドレス解決パケット検出手段と、It is detected that the packet to be relayed is the first domain name / address resolution packet, and the domain name to be queried included in the detected first domain name / address resolution packet and the QoS target storage unit In addition to determining whether or not the first domain name stored in the packet matches, it is detected that the packet to be relayed is a second domain name / address resolution packet, and the detected Domain name / address resolution packet detection means for determining whether the domain name to be queried included in the second domain name / address resolution packet matches the second domain name stored in the QoS target storage unit When,
上記判定の結果、上記第1のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第1ドメイン名とが一致し、かつ、上記第2のドメイン名/アドレス解決パケットに含まれる問合せ対象のドメイン名と上記QoS対象記憶部に記憶されている第2ドメイン名とが一致する場合、上記第1のドメイン名/アドレス解決パケットおよび第2のドメイン名/アドレス解決パケットからアドレスを抽出し、該抽出したアドレスを含む優先度データを生成し、該生成した優先度データをパケット優先度記憶部に格納する優先度データ生成処理手段と、As a result of the determination, the domain name to be queried included in the first domain name / address resolution packet matches the first domain name stored in the QoS target storage unit, and the second domain If the domain name to be queried included in the name / address resolution packet matches the second domain name stored in the QoS target storage unit, the first domain name / address resolution packet and the second domain name / Priority data generation processing means for extracting an address from the address resolution packet, generating priority data including the extracted address, and storing the generated priority data in a packet priority storage unit;
上記中継するパケットに含まれるアドレスと、上記パケット優先度記憶部に記憶された上記優先度データに含まれるアドレスとが一致する場合、上記パケットを優先的に中継するパケット優先伝送処理手段とを備えることを特徴とする中継装置。Packet priority transmission processing means for preferentially relaying the packet when the address included in the packet to be relayed matches the address included in the priority data stored in the packet priority storage unit A relay device characterized by that.
JP2008203544A 2008-04-24 2008-08-06 Relay device and communication control device Expired - Fee Related JP5122399B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2008203544A JP5122399B2 (en) 2008-04-24 2008-08-06 Relay device and communication control device
PCT/JP2009/058083 WO2009131181A1 (en) 2008-04-24 2009-04-23 Relay device and communication control device
CN2009801139837A CN102017545A (en) 2008-04-24 2009-04-23 Relay device and communication control device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008114246 2008-04-24
JP2008114246 2008-04-24
JP2008203544A JP5122399B2 (en) 2008-04-24 2008-08-06 Relay device and communication control device

Publications (3)

Publication Number Publication Date
JP2009284456A JP2009284456A (en) 2009-12-03
JP2009284456A5 true JP2009284456A5 (en) 2011-01-06
JP5122399B2 JP5122399B2 (en) 2013-01-16

Family

ID=41216910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008203544A Expired - Fee Related JP5122399B2 (en) 2008-04-24 2008-08-06 Relay device and communication control device

Country Status (3)

Country Link
JP (1) JP5122399B2 (en)
CN (1) CN102017545A (en)
WO (1) WO2009131181A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014158078A (en) * 2013-02-14 2014-08-28 Nippon Telegr & Teleph Corp <Ntt> QoS CONTROL METHOD AND DEVICE
CN104378266A (en) * 2013-08-16 2015-02-25 中兴通讯股份有限公司 Communication method and system for home network and PLC device
CN106973123A (en) * 2017-02-03 2017-07-21 广东欧珀移动通信有限公司 A kind of equipment online processing method and processing device
CN112910792B (en) 2018-08-30 2023-06-20 华为技术有限公司 Message processing method, device and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3516432B2 (en) * 1997-11-18 2004-04-05 株式会社東芝 Node device and packet transfer method
JP4417222B2 (en) * 2004-10-19 2010-02-17 エヌ・ティ・ティ・コムウェア株式会社 Voice quality control system and method, bandwidth control apparatus, and computer program
EP1708424A1 (en) * 2005-03-31 2006-10-04 THOMSON Licensing Prioritising video streams in a wireless LAN (WLAN)
EP2216945A1 (en) * 2007-12-07 2010-08-11 Panasonic Corporation Communication device
EP2262181A1 (en) * 2008-03-31 2010-12-15 Panasonic Corporation Communication terminal device and communication control method

Similar Documents

Publication Publication Date Title
KR100733962B1 (en) System and its method for media contents sharing over inter-homenetwork
US8160081B2 (en) Apparatus and method for sharing content using digital living network alliance (DLNA) network and computer-readable medium thereof
JP4600992B2 (en) Home appliance remote control system and operation method thereof
JP4354294B2 (en) Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet
US20060136987A1 (en) Communication apparatus
US8914464B2 (en) Information processing device, information processing method, and information processing system
JP5329663B2 (en) Relay device and method thereof
US7797417B2 (en) Method for providing service in IP-based network system
US8583732B2 (en) Method and apparatus for providing multimedia messaging service
CN100518125C (en) Communication apparatus, system, method
JP2004080487A (en) Packet transfer system, packet transfer method solution server, dns server, network system, and program
EP2104317A1 (en) Information processing unit, information playback unit, information processing method, information playback method, information processing system and program
JPWO2004075479A1 (en) Control information transmission method, relay server, and controlled device
JP5201674B2 (en) Transmission priority setting device, transmission priority setting method, and transmission priority setting program
US9276772B2 (en) Method and apparatus for transmitting and receiving data based on secured path bandwidth in network established by using audio/video interface
JP5122399B2 (en) Relay device and communication control device
JP2009284456A5 (en)
JP2009230256A (en) Communication controller, communication control method and communication control program
JP4282686B2 (en) COMMUNICATION DEVICE, METHOD, AND PROGRAM
US20080247403A1 (en) Network bridge apparatus and communication method thereof
JP5142216B2 (en) Content transmission method and system for transmitting content from terminal in home network to wide area network
JP2008148243A (en) Communication apparatus, communication system, communication method and communication program
US8171144B2 (en) AV server apparatus and connection management method
JP4779328B2 (en) Image distribution system
JP2011071595A (en) Communication control device, control method and control program of communication control device, and computer readable recording medium having the control program recorded therein