JP5246091B2 - Gateway device, server device, bandwidth control method and program in server-based computing system - Google Patents
Gateway device, server device, bandwidth control method and program in server-based computing system Download PDFInfo
- Publication number
- JP5246091B2 JP5246091B2 JP2009178244A JP2009178244A JP5246091B2 JP 5246091 B2 JP5246091 B2 JP 5246091B2 JP 2009178244 A JP2009178244 A JP 2009178244A JP 2009178244 A JP2009178244 A JP 2009178244A JP 5246091 B2 JP5246091 B2 JP 5246091B2
- Authority
- JP
- Japan
- Prior art keywords
- client device
- data transfer
- transfer rate
- class value
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、サーバベース・コンピューティング・システムにおけるゲートウェイ装置、サーバ装置、帯域制御方法、及び、前記ゲートウェイ装置又は前記サーバ装置のコンピュータのプログラムに関する。 The present invention relates to a gateway device, a server device, a bandwidth control method, and a computer program of the gateway device or the server device in a server-based computing system.
サーバベース・コンピューティング(SBC)システムにおいては、複数のクライアント装置がサーバ装置に接続される。そして、各クライアント装置でアプリケーション操作をすると、当該クライアント装置側で描画が必要となる毎に、サーバ装置側から符号化された画像符号化データが当該クライアント装置に向けてIPパケットとして伝送される。従って、描画実行の頻度が高いときには、伝送路が集中している部分でのIPパケットの輻輳の問題があった。 In a server-based computing (SBC) system, a plurality of client devices are connected to a server device. When an application operation is performed on each client device, the encoded image data encoded from the server device side is transmitted to the client device as an IP packet every time drawing is required on the client device side. Therefore, when the frequency of drawing execution is high, there is a problem of IP packet congestion in a portion where transmission paths are concentrated.
例えば、事業所内あるいはフロア内の管理対象ネットワーク内には、ゲートウェイ装置(デフォルトゲートウェイ)が設置されて、外部のネットワークとの境界となっている。この外部のネットワークがインターネットの場合、最大使用帯域はネットワークへの接続手段により様々である。例えば、接続手段がPHS用通信回線を利用するものであれば最大使用帯域は数百kbpsであり、携帯電話機用通信回線を利用すれば数Mbps、専用線やケーブルであれば数百Mbps、光ファイバーネットワークであれば1Gbpsとなる。そして、外部のネットワーク上に複数のクライアント装置が存在する。 For example, a gateway device (default gateway) is installed in a network to be managed in an office or a floor, and serves as a boundary with an external network. When this external network is the Internet, the maximum usable bandwidth varies depending on the connection means to the network. For example, if the connection means uses a PHS communication line, the maximum usable bandwidth is several hundred kbps, if the portable telephone communication line is used, several Mbps, if it is a dedicated line or cable, several hundred Mbps, an optical fiber If it is a network, it is 1 Gbps. A plurality of client devices exist on the external network.
管理対象ネットワーク内では、ゲートウェイ装置に接続したスイッチングハブにネットワーク機器が接続され、サーバ装置と他のネットワーク機器(例えば、PC(Personal Computer)、プリンタ、ストレージ機器)とが接続されている。 In the managed network, a network device is connected to a switching hub connected to the gateway device, and a server device and other network devices (for example, a PC (Personal Computer), a printer, and a storage device) are connected.
クライアント装置へのIPパケット処理が集中する場所としては、サーバ装置内部と、ゲートウェイ装置とスイッチングハブ間、ゲートウェイ装置と管理対象ネットワーク外の部分、等が考えられる。 As a place where IP packet processing to the client device is concentrated, there are conceivable places inside the server device, between the gateway device and the switching hub, a portion outside the gateway device and the management target network, and the like.
管理対象ネットワーク内では、サーバ装置内部以外では、ゲートウェイ装置とスイッチングハブ間がIPパケットの集中がある場所であり、他の経路上はこの部分の処理を上回ることはない。これらは、当事者の管理対象ネットワーク内なので、それに見合うようにスイッチングハブの配置やゲートウェイ装置の配置を行えば良い話である。また、サーバ装置内部の場合には、サーバ装置を複数用意して、ユーザ別や用途別など分散処理すれば良い。 In the managed network, except for the inside of the server device, the gateway device and the switching hub are places where IP packets are concentrated, and other routes do not exceed the processing of this portion. Since these are within the management target network of the parties, it is a good idea to arrange the switching hub and the gateway device accordingly. Further, in the case of the inside of the server device, a plurality of server devices may be prepared and distributed processing such as for each user or for each purpose may be performed.
これに対して、管理対象ネットワーク外のクライアント装置からのアクセスでは、ゲートウェイ装置の外側へ伝送されるときのトラフィックフローを予見することはできない。これらは、外部的要因で効率良く転送されるときもあれば、効率悪く転送されるときもあるからである。 On the other hand, in the access from the client device outside the management target network, the traffic flow when transmitted to the outside of the gateway device cannot be predicted. This is because they may be transferred efficiently due to external factors, and may be transferred inefficiently.
そこで、特許文献1では、このゲートウェイ装置と管理対象ネットワーク外の部分でのIPパケットの集中に対処するために、単位時間毎のIPパケットサイズの合計とIPパケット数を考慮して通信機器の処理負荷を一定にする帯域制御方法を提案している。これは、IPパケット処理による負荷を算出して、しきい値によりIPパケットの通過の可否を判断し制御している。
Therefore, in
しかしながら、前記特許文献1のような、しきい値を超えた場合にはIPパケットを通過させないといった制御では、IPパケットの破棄が生じてしまう。
However, in the control as described in
SBCシステムでは、サーバ装置より送出されるIPパケットに遅延や破棄が生じると、一連のアプリケーション操作により生じた画面遷移が歯抜け状になってしまって、出力操作や入力操作と整合性のない結果となってしまう。 In the SBC system, when a delay or discard occurs in the IP packet sent from the server device, the screen transition caused by a series of application operations becomes toothless, and the result is inconsistent with the output operation or input operation. End up.
例えば、文字や図形の入力・編集や、計算結果の文字表示やグラフ表示などに出力されるべきデータが欠けるとか、ブラウザアプリケーションでHTMLコンテンツを閲覧したが画像表示に異常があるようなことが起きてしまう。 For example, there are cases where data to be output for character / graphic input / editing, character display or graph display of calculation results is lacking, or HTML content is viewed with a browser application but the image display is abnormal. End up.
本発明は、前記の点に鑑みてなされたもので、サーバベース・コンピューティング・システムにおいて、サーバ装置よりクライアント装置に送出されるIPパケットに遅延や破棄が生じないようにすることが可能なゲートウェイ装置、サーバ装置、帯域制御方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above points, and in a server-based computing system, a gateway capable of preventing delay and discard of IP packets sent from a server device to a client device. An object is to provide a device, a server device, a bandwidth control method, and a program.
請求項1に記載のゲートウェイ装置は、クライアント装置からのサービス要求に基づいてプログラムを動作させ、前記サービス要求に対応する画面データを作成して、サービス要求元の前記クライアント装置へ送信するサーバ装置と、前記クライアント装置との間にネットワークを介して接続されたゲートウェイ装置であって、前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶するユーザ別判定基準記憶手段と、前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶する全体判定基準記憶手段と、前記クライアント装置毎のデータ転送速度を計測するユーザ別計測手段と、前記クライアント装置全体のデータ転送速度を計測する全体計測手段と、計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信するユーザ別判定手段と、計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信する全体判定手段と、を備えたことを特徴としている。
The gateway device according to
請求項2に記載のサーバ装置は、クライアント装置からのサービス要求に基づいてプログラムを動作させ、前記サービス要求に対応する画面データを作成して、サービス要求元の前記クライアント装置へ送信し、クライアント装置との間にネットワークを介してゲートウェイ装置と接続されたサーバ装置であって、前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶する符号化テーブル記憶手段と、前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信する受信手段と、受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別する判別手段と、判別した前記符号化方法に従って前記画面データを符号化する符号化手段と、を備えたことを特徴としている。
The server device according to
請求項3に記載の帯域制御方法は、クライアント装置と、クライアント装置からのサービス要求に基づいてプログラムを動作させ、前記サービス要求に対応する画面データを作成して、サービス要求元の前記クライアント装置へ送信するサーバ装置と、前記クライアント装置と前記サーバ装置との間にネットワークを介して接続されたゲートウェイ装置とが、前記ネットワークを介して相互に接続可能に構成されたサーバベース・コンピューティング・システムにおいて、前記ゲートウェイ装置は、前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶し、前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶し、前記クライアント装置毎のデータ転送速度を計測し、前記クライアント装置全体のデータ転送速度を計測し、計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信し、計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信し、前記サーバ装置は、前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶し、前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信し、受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別し、判別した前記符号化方法に従って前記画面データを符号化する、ことを特徴としている。 According to a third aspect of the present invention, there is provided a bandwidth control method that operates a client device and a program based on a service request from the client device, creates screen data corresponding to the service request, and sends the screen data to the client device that is a service request source. In a server-based computing system in which a server device for transmission and a gateway device connected via a network between the client device and the server device are configured to be mutually connectable via the network The gateway device stores a determination criterion that associates the data transfer rate of each client device with its class value, stores a determination criterion that associates the data transfer rate of the entire client device with its class value, and Measure the data transfer speed for each client device , Measure the data transfer rate of the entire client device, determine the class value of the data transfer rate for each client device in accordance with a determination criterion determined from the measured data transfer rate for each client device, and transmit to the server device And determining a class value of the data transfer rate of the entire client device according to a determination criterion determined from the measured data transfer rate of the entire client device, and transmitting the class value to the server device. An encoding table in which an encoding method is associated with the class value of the data transfer rate of the client device and the class value of the data transfer rate of the entire client device, and the class value of the data transfer rate for each client device from the gateway device And the class value of the data transfer rate of the entire client device. The encoding method is determined by referring to the encoding table from the class value of the data transfer rate for each client device received and the class value of the data transfer rate of the entire client device, and the determined encoding The screen data is encoded according to a method.
請求項4に記載のプログラムは、クライアント装置からのサービス要求に基づいてプログラムを動作させ、前記サービス要求に対応する画面データを作成して、サービス要求元の前記クライアント装置へ送信するサーバ装置と、前記クライアント装置との間にネットワークを介して接続されたゲートウェイ装置のコンピュータを、前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶するユーザ別判定基準記憶手段、前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶する全体判定基準記憶手段、前記クライアント装置毎のデータ転送速度を計測するユーザ別計測手段、前記クライアント装置全体のデータ転送速度を計測する全体計測手段、計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信するユーザ別判定手段、計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信する全体判定手段、として機能させることを特徴としている。
The program according to
請求項5に記載のプログラムは、クライアント装置からのサービス要求に基づいてプログラムを動作させ、前記サービス要求に対応する画面データを作成して、サービス要求元の前記クライアント装置へ送信し、クライアント装置との間にネットワークを介してゲートウェイ装置と接続されたサーバ装置のコンピュータを、前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶する符号化テーブル記憶手段、前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信する受信手段、受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別する判別手段、判別した前記符号化方法に従って前記画面データを符号化する符号化手段、として機能させることを特徴としている。
The program according to
本発明によれば、サーバベース・コンピューティング・システムにおいて、サーバ装置よりクライアント装置に送出されるIPパケットに遅延や破棄が生じないようにすることが可能なゲートウェイ装置、サーバ装置、帯域制御方法及びプログラムを提供することができる。 According to the present invention, in a server-based computing system, a gateway device, a server device, a bandwidth control method, and an IP packet sent from the server device to the client device can be prevented from being delayed or discarded. A program can be provided.
以下、本発明を実施するための形態を図面を参照して説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
図1は、本発明のゲートウェイ装置、サーバ装置、帯域制御方法及びプログラムの一実施形態の適用されたサーバベース・コンピューティング(SBC)システムの構成を示すブロック図である。 FIG. 1 is a block diagram showing a configuration of a server-based computing (SBC) system to which an embodiment of a gateway device, a server device, a bandwidth control method and a program according to the present invention is applied.
このSBCシステムは、本発明のサーバ装置の一実施形態に係るサーバ装置11がLAN(Local Area Network)によりスイッチングハブ(HUB)14に接続され、該スイッチングHUB14がLANにより本発明のゲートウェイ装置の一実施形態としてのデフォルトゲートウェイ15(またはルータ)に接続されて、一つの管理対象ネットワーク10を構成している。前述のスイッチングHUB14には、複数のサーバ装置11が接続されていても良い。
In this SBC system, a
管理対象ネットワーク10は、事業所単位とか建物のフロア単位に構成されて、デフォルトゲートウェイ15を経由して他のネットワークと接続される。管理対象ネットワーク10の外にある複数のクライアント装置12は、これらがLANやWAN(Wide Area Network)、インターネット等のネットワーク13、を介して互いに通信可能に接続されている。
The managed
前記サーバ装置11は、例えば、管理対象ネットワーク10内のLANに有線接続されたパーソナルコンピュータである。該サーバ装置11は、例えば、文書作成処理プログラム,表計算処理プログラム,住所録プログラム,メモ帳プログラム,プレゼン資料作成プログラム,メール処理プログラム,インターネット接続処理プログラム、Web表示プログラム,等を含む各種アプリケーションプログラムを有している。そして、前記ネットワーク13を介して接続されたクライアント装置12からの操作入力(サービス要求)に応じたアプリケーションプログラムを起動し、その処理を実行する。
The
このサーバ装置11において、前記サービス要求に対応する画面データ、つまりアプリケーションプログラムの実行に伴い生成された表示出力用の描画データは、所定の方式で符号化されて、その描画位置とサイズなど記述した転送ヘッダとともに、前記ネットワーク13を介してアクセス元のクライアント装置12に送られる。クライアント装置12では、サーバ装置11から送られた転送ヘッダと描画データとより描画データを復号して画面上に表示する。
In this
図2は、本発明の一実施形態に係るサーバ装置11の回路構成を示すブロック図である。
サーバ装置11は、コンピュータとしてのCPU21を備える。このCPU21には、システムバス20を介して、メモリ22、フレームバッファRAM23、記憶部24、入力部25、表示部26、通信制御部(ネットワークインターフェイス)27、媒体読取り部28が接続される。
FIG. 2 is a block diagram showing a circuit configuration of the
The
CPU21は、記憶部24に予め記憶されたプログラムに記述された手順に従って各種処理を実行する。このCPU21によって実行されるプログラムには、OS(Operating System)の他、クライアント装置12が利用する仮想画面のデータをクライアント装置12へ転送する画面転送アプリケーション、この仮想画面への描画を行う各種描画アプリケーションなどが含まれる。
The
メモリ22には、各クライアント装置12ごとに例えばユーザID等によって関連付けられた複数の仮想フレームバッファ22aが設けられている。
The
フレームバッファRAM23は、サーバ装置11に備えられた表示部26の画面に表示する描画データをフレーム単位で保持するためのバッファメモリである。
The
記憶部24には、画面転送アプリケーション24a、描画アプリケーション24bを含む各種プログラムを記憶するためのプログラム記憶領域が設けられる。
The
入力部25は、例えばキーボード、マウスなどの入力デバイスからなり、オペレータが各種データの入力や指示を行う場合に用いられる。 The input unit 25 includes input devices such as a keyboard and a mouse, for example, and is used when an operator inputs various data and gives instructions.
表示部26は、各種データを表示するものであり、例えばCRT(Cathode-ray tube)やLCD(Liquid Crystal Display)などからなる。
The
通信制御部27は、LANを介して外部の端末との間で通信処理を行うためのものであり、ここではサーバ装置11側で生成した描画データの送信処理や、クライアント装置12から送信されるデータの受信処理などを行う。
The
媒体読取り部28は、外部記録媒体28aに記録されたデータを読み取る。外部記録媒体28aとしては、例えば磁気ディスク、光ディスク、フレシキブルディスク、メモリカードなどがある。
The
図3は、前記クライアント装置12の回路構成を示すブロック図である。
クライアント装置12は、コンピュータとしてのCPU31を備える。このCPU31には、システムバス30を介して、メモリ32、フレームバッファRAM33、記憶部34、入力部35、表示部36、通信制御部37が接続される。
FIG. 3 is a block diagram showing a circuit configuration of the
The
CPU31は、記憶部34に予め記憶されたプログラム、あるいは、ネットワーク13を介して外部のサーバ装置から提供されたプログラムを読み込み、そのプログラムに記述された手順に従って各種処理を実行する。
The
このCPU31によって実行されるプログラムとしては、OSとサーバ装置11との画面転送を行う接続アプリケーションとが主であり、その他の各種アプリケーションプログラムについては、基本的にサーバ装置11が保有している。
The program executed by the
メモリ32は、CPU31の処理動作に必要な各種データを記憶し、サーバ装置11から受信した転送ヘッダと描画データとを受信バッファ32aに記録する。
The
フレームバッファRAM33は、クライアント装置12に備えられた表示部36の画面に表示する描画データをフレーム単位で保持するためのバッファメモリである。
The
記憶部34には、クライアント装置12の動作を制御するための接続アプリケーション34aを含む各種プログラムを記憶するためのプログラム記憶領域が設けられる。
The
入力部35は、例えばキーボード、マウス、タッチパネルなどの入力デバイスからなり、オペレータが各種データの入力や指示を行う場合に用いられる。
The
表示部36は、各種データを表示するものであり、例えばLCDやELディスプレイなどからなる。
The
通信制御部37は、ネットワーク13を介して外部の端末との間で通信処理を行うためのものであり、ここでは入力データを送信するための処理を行う。
The
図4は、本発明のゲートウェイ装置の一実施形態としてのデフォルトゲートウェイ15の構成を示すブロック図である。
デフォルトゲートウェイ15は、コンピュータとしてのCPU41を備える。このCPU41には、システムバス40を介して、管理対象ネットワーク10内用のIN側パケット送受信部42と管理対象ネットワーク10外用のOUT側パケット送受信部43とが接続される。IN側パケット送受信部42には、IN側ネットワークインターフェイス(NIF_IN)44が接続され、該NIF_IN44には、サーバ装置11とLANによりスイッチングHUB14を経由して接続されている。また、OUT側パケット送受信部43には、OUT側ネットワークインターフェイス(NIF_OUT)45が接続され、該NIF_OUT45はネットワーク13上に接続されて、管理対象ネットワーク10外にあるクライアント装置12と携帯電話機用通信回線やPHS用通信回線、LANなどの様々な通信経路で接続される。
FIG. 4 is a block diagram showing the configuration of the
The
前記CPU41には、さらに、前記システムバス40を介して、IN側受信メモリ46、IN側送信メモリ47、OUT側受信メモリ48、OUT側送信メモリ49、プロトコル変換手段50、帯域制御手段51、リアルタイムクロック(RTC)52が接続される。
The
CPU41は、内部に予め記憶されたプログラムに記述された手順に従ってIN側パケット送受信部42/OUT側パケット送受信部43と、プロトコル変換手段50、帯域制御手段51の実行を行う。
The
IN側パケット送受信部42は、NIF_IN44によりIPパケットの送受信を行う。IN側受信メモリ46には、IN側パケット送受信部42によりサーバ装置11から受信し処理待ちのIPパケットが格納され、IN側送信メモリ47には、サーバ装置11への送信待ちのIPパケットが格納される。
The IN-side packet transmission /
OUT側パケット送受信部43は、NIF_OUT45によりIPパケットの送受信を行う。OUT側受信メモリ48には、OUT側パケット送受信部43によりクライアント装置12から受信し処理待ちのIPパケットが格納され、OUT側送信メモリ49には、クライアント装置12への送信待ちのIPパケットが格納される。
The OUT side packet transmission /
プロトコル変換手段50は、受信しIN側受信メモリ46に格納されたIPパケットを管理対象ネットワーク10外用のプロトコルに変換したり、受信しOUT側受信メモリ48に格納されたIPパケットを管理対象ネットワーク10内用のプロトコルに変換したりする動作を行なう。
The protocol conversion means 50 converts the IP packet received and stored in the IN-
帯域制御手段51は、RTC52よりの信号をもとに一定時間毎に、OUT側パケット送受信部43より管理対象ネットワーク10外に送信されるIPパケットのトラフィックフローを制御する動作を行なう。
The
即ち、帯域制御手段51は、サーバ装置11からクライアント装置12に向けて伝送されるIPパケットについて、管理対象ネットワーク10外へのトラフィック量を接続ごとに監視して、トラフィック量を、いくつかの段階でクラス判定を行って、ユーザ帯域使用量をクラス値BUser化する。また併せて、全接続のトラフィック量についても、いくつかの段階でクラス判定を行って、全帯域使用量をクラス値BTotal化する。そして、ユーザ別帯域クラス値BUserと全体の帯域クラス値BTotalとをサーバ装置11側へ伝送するための帯域情報パケットを形成して、サーバ装置11へ伝送する。
That is, the
サーバ装置11は、そのデフォルトゲートウェイ15からの帯域情報パケットを受信後、ユーザ別帯域クラス値BUserと全体の帯域クラス値BTotalの値に応じて、画像の符号化方法を切り替える。例えば、帯域使用量つまり帯域負荷が大のときにはデータ量を削減するための符号化手法に切り替え、帯域負荷が小のときには画質を優先する符号化手法に切り替える。
After receiving the bandwidth information packet from the
図5は、サーバ装置11からクライアント装置12に向けて送信されるIPパケット60の構造を示す図である。
FIG. 5 is a diagram illustrating a structure of an
ここでは、IPv4書式で説明し、デフォルトゲートウェイ15内部での取り扱いを説明するので、ネットワーク経路上でIPパケットの前に付き、ネットワーク機器間で転送元・転送先のMACアドレスを記述する、MACフレームは省略する。
Here, since it will be described in the IPv4 format and the handling inside the
IPパケット60は、IPヘッダ61とデータ62とからなる。IPヘッダ61は、RFC791などに示される構造で、IPヘッダ61内にIPヘッダ長とデータ長を合わせたパケット長61aが記述され、送信元(サーバ装置11)IPアドレス61bと最終宛先(クライアント装置12)IPアドレス61cとが記述されている。データ62の部分には、クライアント装置12の表示部26に表示すべき描画データ等がSBCプロトコルデータとして記述される。
The
図6は、デフォルトゲートウェイ15で生成されてサーバ装置11を宛先に伝送される帯域情報パケット70の構造を示す図である。
FIG. 6 is a diagram illustrating a structure of a
この帯域情報パケット70も、IPパケット60と同様に、IPヘッダ71とデータ72とからなる。IPヘッダ71内には、IPヘッダ長とデータ長を合わせたパケット長71aが記述され、送信元IPアドレス71bはデフォルトゲートウェイ15のアドレスを記述し、宛先IPアドレス71cは、宛先の対象サーバ装置11のIPアドレスを記述する。また、データ72の部分には、サーバ装置11のIPアドレスであるサーバIPアドレス72a、クライアント装置12のIPアドレスであるクライアントIPアドレス72b、デフォルトゲートウェイ15のIPアドレスであるゲートウェイIPアドレス72c、ユーザ別帯域クラス値BUser72d、全体の帯域クラス値BTotal72eを記述する。ここで、サーバIPアドレス72a及びクライアントIPアドレス72bは、クライアント装置12から送られてきた対象IPパケットから読み取った情報を転記する。なお、クライアント装置12のIPアドレスはSBCプロトコル内に暗号化されており、デフォルトゲートウェイ15では読み出せないこともあるので、必須項目ではない。
Similar to the
図7は、図4に示したデフォルトゲートウェイ15の送信処理のフローチャートを示す図である。以下、この図7のフローチャートと、図4及び図5とを合わせて参照して、デフォルトゲートウェイ15の送信(サーバ装置11からクライアント装置12)動作を説明する。
FIG. 7 is a flowchart of the transmission process of the
まず、IN側パケット送受信部42は、サーバ装置11からのIPパケット60をNIF_IN44で受信し(ステップS11)、IN側受信メモリ46に一時記録する(ステップS12)。CPU41は、そのIN側受信メモリ46に一時記録されたIPパケット60を読み出し(ステップS13)、必要に応じてプロトコル変換手段50に与えて、該プロトコル変換手段50によって管理対象ネットワーク10内用のプロトコルから管理対象ネットワーク10外用のプロトコルへの変換を行う(ステップS14)。そして、読み出した又は必要に応じて変換したIPパケット60を、OUT側送信メモリ49に一時記録して待機する(ステップS15)。
First, the IN-side packet transmission /
その後、送信可能となった状態で、CPU41は、OUT側送信メモリ49よりIPパケット60を読み出して、帯域制御手段51に与える(ステップS16)。そして、該帯域制御手段51によって、そのIPパケット60からIPヘッダ61に記述されているパケット長61a、宛先IPアドレス61c、送信元IPアドレス61bを読み出す(ステップS17)。そして、当該帯域制御手段51が備える不図示メモリに記憶している該当する接続間転送パケット量にパケット長を加算し(ステップS18)、同じく不図示内部メモリに記憶している全体の送信パケット量にもパケット長を加算する(ステップS19)。その後、帯域制御手段51からOUT側パケット送受信部43へIPパケット60を送り、該OUT側パケット送受信部43がNIF_OUT45よりそのIPパケット60をクライアント装置12に向けて送信する(ステップS20)。
Thereafter, in a state where transmission is possible, the
また、帯域制御手段51は、RTC52よりの信号を元に一定時間ごとに、例えば10ミリ秒〜1秒ごとに割り込み処理が挿入されるようになっている。割り込みが発生すると(ステップS21)、帯域制御手段51は、前記ステップS18で求めた接続間転送パケット量より単位時間当たりの接続間転送パケット量つまりデータ転送レートを算出する(ステップS22)。即ち、該帯域制御手段51は、クライアント装置毎のデータ転送速度(データ転送レート)を計測するユーザ別計測手段として機能する。そして、帯域制御手段51は、その算出したデータ転送レートを予め用意してあるクラス分けの基準にしたがってクラス値BUser化する(ステップS23)。
Further, the bandwidth control means 51 is configured to insert an interrupt process at regular intervals, for example, every 10 milliseconds to 1 second based on a signal from the
図8は、このクラス分けの判定基準として、帯域制御手段51の図示しない内部メモリ(ユーザ別判定基準記憶手段)に記憶されている、クライアント装置毎のデータ転送レートとそのクラス値とを関連付けしたユーザ別帯域クラス値判定基準テーブル51aを示す図である。
FIG. 8 associates the data transfer rate for each client device and its class value stored in an internal memory (user-specific determination criterion storage unit) (not shown) of the
クラス値BUserは、0〜5までの6段階に設定されて、データ転送レートに応じて割り当てられている。図8では、クラス0が8Mbps以上とし、クラス5が512kbps未満となっている。
The class value BUser is set in six stages from 0 to 5, and is assigned according to the data transfer rate. In FIG. 8,
また、帯域制御手段51は、前記ステップS19で求めた全体の送信パケット量より単位時間当たりの送信パケット量つまりデータ転送レートを算出する(ステップS24)。即ち、該帯域制御手段51は、クライアント装置全体のデータ転送速度(データ転送レート)を計測する全体計測手段として機能する。そして、その算出したデータ転送レートを予め用意してあるクラス分けの基準にしたがってクラス値BTotal化する(ステップS25)。
Further, the
図9は、このクラス分けの判定基準として、帯域制御手段51の図示しない内部メモリ(全体判定基準記憶手段)に記憶されている、クライアント装置全体のデータ転送レートとそのクラス値とを関連付けした全体帯域クラス値判定基準テーブル51bを示す図である。 FIG. 9 shows an overall relationship in which the data transfer rate of the entire client device and its class value are associated with each other and stored in an internal memory (overall determination reference storage means) (not shown) of the bandwidth control means 51 as a determination criterion for this classification. It is a figure which shows the zone | band class value determination reference | standard table 51b.
クラス値BTotalは、0〜5までの6段階に設定されて、データ転送レートに応じて割り当てられている。図9では、クラス0が96Mbps以上とし、クラス5が6Mbps未満となっている。
The class value BTotal is set in six stages from 0 to 5, and is assigned according to the data transfer rate. In FIG. 9,
そして、帯域制御手段51は、前記ステップS23及びS25で求めたクラス値BUser及びBTotalと、不図示内部メモリに記憶している前回の各クラス値との比較する(ステップS26,S27)。その結果、クラス値の変更がなかった場合には、接続間転送パケット量と全体の送信パケット量をクリアして(ステップS28,S29)、このタイマ割り込み処理を完了する。 Then, the bandwidth control means 51 compares the class values BUser and BTotal obtained in steps S23 and S25 with the previous class values stored in the internal memory (not shown) (steps S26 and S27). As a result, when there is no change in the class value, the inter-connection transfer packet amount and the entire transmission packet amount are cleared (steps S28 and S29), and this timer interrupt processing is completed.
これに対して、前記ステップS26またはステップS27において、ユーザ別帯域クラス値BUserあるいは全体の帯域クラス値BTotalのいずれかに変更があった場合には、帯域制御手段51は、ユーザ別帯域クラス値BUserあるいは全体の帯域クラス値BTotalの前回値を更新し、図6で示したような帯域情報パケット70を形成する(ステップS30)。そして、それをサーバ装置11宛に送信した後(ステップS31)、接続間転送パケット量と全体の送信パケット量をクリアして(ステップS28,S29)、このタイマ割り込み処理を完了する。
On the other hand, when either the user-specific band class value BUuser or the entire band class value BTotal is changed in step S26 or step S27, the
以上のように、帯域制御手段51は、計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信するユーザ別判定手段、及び、計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信する全体判定手段、として機能する。
As described above, the
図10は、図4に示したデフォルトゲートウェイ15の受信処理のフローチャートを示す図である。以下、この図10のフローチャートと、図4及び図5とを合わせて参照して、デフォルトゲートウェイ15の受信(クライアント装置12からサーバ装置11)動作を説明する。
FIG. 10 is a diagram showing a flowchart of reception processing of the
まず、OUT側パケット送受信部43は、クライアント装置12からのIPパケット60をNIF_OUT45で受信し(ステップS41)、OUT側受信メモリ48に一時記録する(ステップS42)。CPU41は、そのOUT側受信メモリ48に一時記録されたIPパケット60を読み出し(ステップS43)、必要に応じてプロトコル変換手段50に与えて、該プロトコル変換手段50によって管理対象ネットワーク10外用のプロトコルから管理対象ネットワーク10内用のプロトコルへの変換を行う(ステップS44)。そして、読み出した又は必要に応じて変換したIPパケット60を、IN側送信メモリ47に一時記録して待機する(ステップS45)。
First, the OUT side packet transmission /
その後、送信可能となった状態で、CPU41は、IN側送信メモリ47よりIPパケット60を読み出して、IN側パケット送受信部42へ送る(ステップS46)。IN側パケット送受信部42は、NIF_OUT45よりそのIPパケット60をサーバ装置11に向けて送信する(ステップS47)。
Thereafter, in a state where transmission is possible, the
また、IN側送信メモリ47には、帯域制御手段51にて形成された帯域情報パケット70も記録される。この帯域情報パケット70は、送信可能となった状態で、CPU41がIN側送信メモリ47より読み出されて(ステップS46)、IN側パケット送受信部42によってNIF_OUT45よりサーバ装置11に向けて送信される(ステップS47)。
The IN
図11は、図2に示したサーバ装置11のCPU21で実行される受信処理のフローチャートを示す図である。
通常のクライアント装置12から受信したIPパケット60には、マウスやキーボード等の入力部35による操作情報(以下、操作コマンド)のほか、ユーザ設定情報などがデータ62として記述されている。送信元IPアドレス61bには、当該クライアント装置12のIPアドレスが記述されている。
FIG. 11 is a diagram illustrating a flowchart of the reception process executed by the
In the
また、デフォルトゲートウェイ15で発行された帯域情報パケット70のデータ72の部分には、図6で示したように、サーバIPアドレス72a、クライアントIPアドレス72b、ゲートウェイIPアドレス72c、ユーザ別帯域クラス値BUser72d、全体の帯域クラス値BTotal72eが記述されている。
As shown in FIG. 6, the
このような通常のクライアント装置12からのIPパケット60あるいは帯域情報パケット70は、サーバ装置11の通信制御部27で受信され(ステップS51)、それぞれ仕分けされてメモリ22に一時記録される。即ち、受信したIPパケットがクライアント装置12からのIPパケット60であれば(ステップS52)、メモリ22の当該クライアント装置12用の領域に記録される(ステップS53)。また、受信したIPパケットが帯域情報パケット70であれば(ステップS54)、メモリ22の帯域情報パケット70用の領域に記録される(ステップS55)。このように、CPU21は、前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信する受信手段として機能する。
Such an
ここで、帯域情報パケット70を受信した場合には、前記メモリ22に一時記録した帯域情報パケット70から、ユーザ別帯域クラス値BUser72dと全体の帯域クラス値BTotal72eとを読み出して(ステップS56,S57)、描画アプリケーション24bにこれらの値を引き渡す(ステップS58)。
When the
これに対して、通常のクライアント装置12からのIPパケット60を受信した場合には、前記メモリ22に一時記録したIPパケット60のデータ62の部分に記述されている操作コマンドを画面転送アプリケーション24aに受け渡す(ステップS59)。そして、その操作コマンドを実行して(ステップS60)、描画アプリケーション24bで該操作コマンド実行に応じた描画処理による再描画画面をメモリ22内のフレームバッファ22aに形成する(ステップS61)。
On the other hand, when the
その後、画面転送アプリケーション24aによりメモリ22内のフレームバッファ22aへの描画データの画像符号化手法を決定する(ステップS62)。これは、通常、ログオン時に設定されメモリ22に記録されているユーザ接続条件(ユーザID、クライアント装置種別、クライアント装置解像度、クライアント装置の最大処理帯域)80と、対象領域の幅や高さ、使用色数などの情報とに基づいて決定されるものである。本実施形態では更に、帯域情報パケット70から引き渡されたユーザ別帯域クラス値BUser72dと全体の帯域クラス値BTotal72eも用いて決定する。このように、CPU21は、受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別する判別手段として機能する。
After that, the screen transfer application 24a determines an image encoding method for drawing data to the
そして、画像符号化手法として高圧縮モードが決定されたならば(ステップS63)、前記ステップS61でメモリ22内のフレームバッファ22aに形成した再描画画面を低画質で符号量の少ない高圧縮条件で圧縮することで描画データを作成する(ステップS64)。
If the high compression mode is determined as the image encoding method (step S63), the redrawing screen formed in the
また、画像符号化手法として中圧縮モードが決定されたならば(ステップS65)、前記フレームバッファ22aに形成した再描画画面を中画質で符号量の中間な中圧縮条件で圧縮して描画データを作成する(ステップS66)。
If the medium compression mode is determined as the image coding method (step S65), the redrawing screen formed in the
画像符号化手法として中圧縮モードも決定されていないならば(ステップS65)、低圧縮モードが決定されたとして、前記フレームバッファ22aに形成した再描画画面を高画質で符号量の多い低圧縮条件で圧縮して描画データを作成する(ステップS67)。
If the medium compression mode is not determined as the image encoding method (step S65), it is determined that the low compression mode is determined, and the redrawing screen formed in the
このように、画像符号化処理を決定した符号化手法で行い、高圧縮率設定と中圧縮率設定と低圧縮率設定(画質優先)とに符号化処理が分かれて処理される。 In this way, the image encoding process is performed by the determined encoding method, and the encoding process is divided into high compression ratio setting, medium compression ratio setting, and low compression ratio setting (image quality priority).
本実施形態では、符号化手法としてはJPEG(Joint Photographic Experts Group)とGIF(Graphics Interchange Format)を用いる。 In the present embodiment, JPEG (Joint Photographic Experts Group) and GIF (Graphics Interchange Format) are used as encoding methods.
JPEGは、量子化テーブルの切り替えにより圧縮率設定を変更し、高画質で符号量の多い低圧縮条件と、中画質で符号量の中間な中圧縮条件と、低画質で符号量の少ない高圧縮条件とを帯域情報パケットからの情報により切り替えて用いる。 JPEG changes the compression rate setting by switching the quantization table, low compression conditions with high image quality and large code amount, medium compression conditions with medium image quality and intermediate code amount, and high compression with low image quality and low code amount The conditions are switched according to the information from the bandwidth information packet.
GIFは、256色以下の画像の符号化に利用するが、データ長や符号化処理時間の点で帯域情報パケット70からの情報によってJPEG処理に振り替えられる。
The GIF is used for encoding an image of 256 colors or less, but is transferred to JPEG processing according to information from the
以上のように、CPU21は、判別した前記符号化方法に従って前記画面データを符号化する符号化手段として機能する。
As described above, the
そして、前記ステップS64,S66,S67のいずれかで形成された描画データは、通信制御部27よりデフォルトゲートウェイ15経由で宛先クライアント装置12へと伝送される。
The drawing data formed in any of steps S64, S66, and S67 is transmitted from the
図12は、画面転送アプリケーション24aの一部として記憶部24(符号化テーブル記憶手段)に記憶されている、前記ステップS62での画像符号化手法の決定に際して用いられる、前記クライアント装置毎のデータ転送速度のクラス値(ユーザ別帯域クラス値BUser)と前記クライアント装置全体のデータ転送速度のクラス値(全体の帯域クラス値BTotal)とに符号化方法を対応付けた符号化テーブル24a1,24a2の例を示す図である。 FIG. 12 shows the data transfer for each client device, which is stored in the storage unit 24 (encoding table storage means) as a part of the screen transfer application 24a and is used when determining the image encoding method in the step S62. Examples of encoding tables 24a1 and 24a2 in which an encoding method is associated with a speed class value (user-specific band class value BUuser) and a data transfer speed class value of the entire client device (overall band class value BTotal). FIG.
符号化テーブル24a1は、携帯電話機画面の場合に用いられるもので、画面サイズ480×800ドットを想定し、1Mbps帯域での使用を想定した条件表である。符号化テーブル24a2は、PC画面の場合に用いられるもので、画面サイズ1024×768ドットを想定した条件表である。 The encoding table 24a1 is used in the case of a mobile phone screen, and is a condition table that assumes a screen size of 480 × 800 dots and is assumed to be used in a 1 Mbps band. The encoding table 24a2 is used in the case of a PC screen and is a condition table assuming a screen size of 1024 × 768 dots.
これらの符号化テーブル24a1,24a2は、ユーザのログオン時のユーザ接続条件80と、帯域情報パケット70から取得したユーザ別帯域クラス値BUser72dと全体の帯域クラス値BTotal72eとからユーザ環境ごとに形成されて、符号化手法の選択基準となる。
These encoding tables 24a1 and 24a2 are formed for each user environment from the
即ち、帯域のクラス値が大きくなるほどデータ長の圧縮は低くなり画質は高く設定され、クラス値が小さくなるとデータ長の圧縮は高く画質は低く設定される。高圧縮率設定JPEG処理から順に中圧縮率設定JPEG、中圧縮率設定JPEG/GIF、低圧縮率設定JPEG/GIFとデータ長が長くなることを想定している。 That is, as the bandwidth class value increases, the compression of the data length becomes lower and the image quality is set higher. When the class value becomes smaller, the compression of the data length becomes higher and the image quality is set lower. It is assumed that the data length increases in the order of high compression rate setting JPEG, medium compression rate setting JPEG, medium compression rate setting JPEG / GIF, and low compression rate setting JPEG / GIF.
ユーザ別帯域クラス値BUserとユーザ接続条件80にある最大使用帯域との兼ね合いで、ユーザ環境により符号化の仕分けが変わり、最大使用帯域を超えると高圧縮率設定が望まれる。
Depending on the balance between the user-specific bandwidth class value BUuser and the maximum usable bandwidth in the
例えば、携帯電話機画面ではBUser/BTotalが3/3のときにはJH(高圧縮率設定JPEG)となりデータ長優先の状態になるのに対して、PC画面ではBUser/BTotalが3/3のJM(中圧縮率設定JPEG)/GIFとなり画質を維持した状態となる。BUser=3は単位時間の転送速度が1Mbps以上の状態で、BTotal=3は単位時間の転送速度が12Mbps以上の状態であり、携帯電話機に対してBUser=3は単位時間の転送速度が1Mbps以上の状態を続けると送信データの遅延が生じ易い。そのため、データ量を削減する符号化方法が選択される。 For example, when BUser / BTotal is 3/3 on the mobile phone screen, JH (high compression rate setting JPEG) is set and the data length is prioritized, whereas on the PC screen, JM with 3/3 BUuser / BTotal is displayed. The compression rate is set to JPEG) / GIF, and the image quality is maintained. BUser = 3 is a state in which the unit time transfer rate is 1 Mbps or more, BTotal = 3 is a state in which the unit time transfer rate is 12 Mbps or more, and BUser = 3 is 1 Mbps or more for a mobile phone. If this state continues, transmission data is likely to be delayed. Therefore, an encoding method that reduces the amount of data is selected.
全体の帯域クラス値BTotal72eがクラス0(96Mbps以上)やクラス1(48Mbps以上)になると、広い帯域で利用できるPC画面でもデータ長を短くするために符号化方法の切り替えが生じる。 When the entire band class value BTotal 72e is class 0 (96 Mbps or higher) or class 1 (48 Mbps or higher), the encoding method is switched to shorten the data length even on a PC screen that can be used in a wide band.
図13は、本実施形態の効果を具体的に説明するためのSBCシステムの構成例を示す図である。 FIG. 13 is a diagram showing a configuration example of an SBC system for specifically explaining the effect of the present embodiment.
この構成例では、サーバ装置11−1に接続するクライアント装置グループ12G−1と、サーバ装置11−2に接続するクライアント装置グループ12G−2とが存在する。
In this configuration example, a
クライアント装置グループ12G−1,12G−2における各クライアント装置12は、いずれも携帯電話機であり、画面サイズ480×800ドット、最大使用帯域1Mbpsであるとする。また、クライアント装置グループ12G−1は10台のクライアント装置12を含み、クライアント装置グループ12G−2は30台のクライアント装置12を含むものとする。
Each
デフォルトゲートウェイ15には、クライアント装置グループ12G−1の10接続のためのIPパケットと、クライアント装置グループ12G−2の30接続のためのIPパケットとが送受信されている。1接続当たり1Mbpsを40台のクライアント装置12に配信するために計40Mbps相当のIPパケットを送出する必要がある。デフォルトゲートウェイ15は、管理対象ネットワーク10内よりも外側のほうが外的影響で輻輳や遅延を生じ易い。
An IP packet for 10 connections of the
本実施形態におけるデフォルトゲートウェイ15では、該デフォルトゲートウェイ15から管理対象ネットワーク10外に送信されるIPパケットのトラフィックを監視し、単位時間当たりの送信パケット量つまりデータ転送レートでネットワーク13の混雑具合を全体の帯域クラス値BTotalと接続別帯域クラス値BUserとして評価することができる。
In the
そして、それらの評価結果をそれぞれのサーバ装置11−1,11−2に帯域情報パケット70で送付することで、各サーバ装置11内で動作する画面転送アプリケーション24aに対して符号化方法の変更を指示できる。
Then, by sending the evaluation results to the respective server apparatuses 11-1 and 11-2 by the
このようにして、デフォルトゲートウェイ15から管理対象ネットワーク10外に送信される全データ量の変化に応じて、転送データの多いときには全体の帯域クラス値BTotalが小さくなり、高圧縮設定に切り替えてデータ長の削減をすることを各サーバ装置11に促し、逆に、転送データの少ないときには全体の帯域クラス値BTotalが大きくなるので、低圧縮率設定に切り替えて画質優先にすることを各サーバ装置11に促すことができる。
In this way, according to a change in the total amount of data transmitted from the
また、全体での負荷が高くないときには、それぞれのクライアント装置グループ12G−1,12G−2の描画動作の状況に応じて、各接続別帯域クラス値BUserの値が増減し、一方のグループの転送データの多いときにはデータ長の削減を該当サーバ装置11に促し、転送データの少ないときには画質優先を該当サーバ装置11に促すことができる。
When the overall load is not high, the band class value BUser for each connection increases or decreases according to the drawing operation status of each of the
サーバ装置側で帯域を評価した場合には、このように複数サーバ装置11−1,11−2と接続された経路での帯域を評価することは難しい点が多い。 When the bandwidth is evaluated on the server device side, it is often difficult to evaluate the bandwidth on the path connected to the plurality of server devices 11-1 and 11-2.
図14は、本実施形態の効果を具体的に説明するためのSBCシステムの別の構成例を示す図である。 FIG. 14 is a diagram illustrating another configuration example of the SBC system for specifically explaining the effects of the present embodiment.
この構成例では、サーバ装置11と接続する2台のクライアント装置12−1,12−2が存在する。クライアント装置12−1は、携帯電話機であり、画面サイズ480×800ドット、最大使用帯域1Mbpsであり、クライアント装置12−2は、PCであって、画面サイズ1024×768ドット、最大使用帯域10Mbpsで設定されているものとする。
In this configuration example, there are two client apparatuses 12-1 and 12-2 connected to the
デフォルトゲートウェイ15には、クライアント装置12−1の1接続のためのIPパケットと、クライアント装置12−2の1接続のためのIPパケットとが送受信されており、計11Mbps相当のIPパケットを送出しないとそれぞれに配信できない。しかし、これは、100Mbpsあるいは1Gbps仕様のネットワーク機器では、それほど大きな負荷とはならない。
The
しかし、サーバ装置11で同じ処理を行って、クライアント装置12−1とクライアント装置12−2に表示出力した場合に、例えば画像のスライド表示とかブラウザソフトを利用した画像の閲覧などの時に、同じ符号化条件でデータを送ると、クライアント装置12−1は接続帯域がクライアント装置12−2より狭いためデータの遅延が発生し易い。
However, when the same processing is performed by the
本実施形態におけるデフォルトゲートウェイ15では、該デフォルトゲートウェイ15から管理対象ネットワーク10外に送信されるIPパケットのトラフィックを接続単位で監視し、単位時間当たりの送信パケット量つまりデータ転送レートでネットワーク13の混雑具合を接続別帯域クラス値BUserとして評価することができる。
In the
この例では、2接続で11Mbpsであるので全体の帯域のクラス値BTotalはクラス4(6Mbps以上)であり、クライアント装置12−1の接続別帯域クラス値BUserはクラス3(1Mbps以上)、クライアント装置12−2の接続別帯域クラス値BUserはクラス0(8Mbps以上)である。 In this example, since it is 11 Mbps with two connections, the class value BTotal of the entire band is class 4 (6 Mbps or more), the band class value BUser by connection of the client apparatus 12-1 is class 3 (1 Mbps or more), and the client apparatus The connection-specific bandwidth class value BUser of 12-2 is class 0 (8 Mbps or more).
そして、これらの評価結果をサーバ装置11に帯域情報パケット70で送付することで、サーバ装置11内で動作する画面転送アプリケーション24aに対して符号化方法の変更を指示できる。
Then, by sending these evaluation results to the
狭い帯域のクライアント装置12−1に対してはクラス3(1Mbps以上)の状態で早期に高圧縮率設定に切り替えて、データ長の削減をサーバ装置11に促し、転送データの少ない時間帯のクラス4(512kbps以上)の状態では中圧縮率設定とし画質優先をサーバ装置11に促すことができる。
For the narrow bandwidth client device 12-1, in the state of class 3 (1 Mbps or more), switch to the high compression rate setting at an early stage, prompt the
また、帯域の広いクライアント装置12−2には、全体の帯域の負荷が少ないときには、接続別に管理しているので中圧縮率設定の符号化手法で画質を劣化させずに送付できる。 In addition, when the load on the entire band is small, the client apparatus 12-2 having a wide band can be sent without being deteriorated in image quality by the encoding method with the medium compression ratio setting because it is managed by connection.
以上のように、本実施形態によれば、デフォルトゲートウェイ15で管理対象ネットワーク10外へのトラフィック量を監視して、トラフィック量をいくつかの段階でクラス判定を行い、クラス判定の結果を帯域情報パケット70としてサーバ装置11へ伝送し、帯域情報パケット70を受信したサーバ装置11はクラス判定値を基に画像の符号化方法を切り替え、帯域使用量大のときにはデータ量を削減し、帯域使用量小のときには画質を優先する符号化手法を選択し、実行する。
As described above, according to the present embodiment, the
これにより、携帯電話機のような狭帯域のクライアント装置12でも通信環境の変化に対して円滑に符号化方法を切り替えることができ、送付されるデータ量を削減することで、当該クライアント装置12の利用を維持することができる。
As a result, even in a narrow
また、接続ユーザ数やクライアント装置12の種類に応じて、符号化方法を切り替えことにより、通信経路上のクライアント装置12に処理可能なデータ量に調整することができる。
Further, by switching the encoding method according to the number of connected users and the type of the
さらに、複数のサーバ装置11を利用する時の場合に、個別に管理された接続ユーザ数からサーバ装置11が帯域情報を得ることは難しいが、共通に接続されるデフォルトゲートウェイ15で管理対象ネットワーク10外へのトラフィック量を監視することで、複数のサーバ装置11を利用する場合でも、クライアント装置12へのデータ供給を維持できる。
Further, when a plurality of
なお、前記一実施形態において記載したサーバ装置11による各処理の手法、すなわち、図11のフローチャートに示す処理の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録媒体28aに格納して配布することができる。そして、サーバ装置11のコンピュータ(CPU21)は、この外部記録媒体28aに記憶されたプログラムを記憶装置(メモリ22や記憶部24)に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記一実施形態において説明した受信処理を実行することができる。
Note that each processing method performed by the
また、前記受信処理を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク13上を伝送させることができ、このネットワーク13に接続されたコンピュータ装置(プログラムサーバ)から前記のプログラムデータを取り込んで記憶装置(メモリ22や記憶部24)に記憶させ、前述した受信処理を実現することもできる。
The program data for realizing the reception processing can be transmitted on the
また、デフォルトゲートウェイ15の帯域制御手段51は、該デフォルトゲートウェイ15のコンピュータ(CPU41)によるソフトウェア処理に置き換えても良い。この場合、図7のフローチャートに示す帯域制御手段51の処理の各手法は、コンピュータに実行させることができるプログラムとして、システムバス40に接続した記憶装置に又はコンピュータ(CPU41)の内部メモリに記憶させておく。勿論、サーバ装置11の場合と同様に、何らかの外部記録媒体やネットワーク13を介して、プログラムデータを取り込んで記憶させるようにしても構わない。
Further, the bandwidth control means 51 of the
なお、本願発明は、前記一実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記一実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。 The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention when it is practiced. Furthermore, the one embodiment includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements.
10…管理対象ネットワーク
11,11−1,11−2…サーバ装置
12,12−1,12−2…クライアント装置
12G−1,12G−2…クライアント装置グループ
13…ネットワーク
14…スイッチングハブ(HUB)
15…デフォルトゲートウェイ
20,30,40…システムバス
21,31,41…CPU
22,32…メモリ
22a…フレームバッファ
23,33…フレームバッファRAM
24,34…記憶部
24a…画面転送アプリケーション
24b…描画アプリケーション
24a1,24a2…符号化テーブル
25,35…入力部
26,36…表示部
27,37…通信制御部
28…媒体読取り部
28a…外部記録媒体
32a…受信バッファ
34a…接続アプリケーション
42…IN側パケット送受信部
43…OUT側パケット送受信部
44…IN側ネットワークインターフェイス(NIF_IN)
45…OUT側ネットワークインターフェイス(NIF_OUT)
46…IN側受信メモリ
47…IN側送信メモリ
48…OUT側受信メモリ
49…OUT側送信メモリ
50…プロトコル変換手段
51…帯域制御手段
51a…ユーザ別帯域クラス値判定基準テーブル
51b…全体帯域クラス値判定基準テーブル
52…リアルタイムクロック(RTC)
60…IPパケット
61,71…IPヘッダ
61a,71a…パケット長
61b,71b…送信元IPアドレス
61c,71c…宛先IPアドレス
62,72…データ
70…帯域情報パケット
72a…サーバIPアドレス
72b…クライアントIPアドレス
72c…ゲートウェイIPアドレス
72d…ユーザ別帯域クラス値BUser
72e…全体の帯域クラス値BTotal
80…ユーザ接続条件
DESCRIPTION OF
15 ...
22, 32 ...
24, 34 ... Storage unit 24a ...
45 ... OUT side network interface (NIF_OUT)
46 ... IN
60 ...
72e: Overall bandwidth class value BTotal
80: User connection conditions
Claims (5)
前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶するユーザ別判定基準記憶手段と、
前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶する全体判定基準記憶手段と、
前記クライアント装置毎のデータ転送速度を計測するユーザ別計測手段と、
前記クライアント装置全体のデータ転送速度を計測する全体計測手段と、
計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信するユーザ別判定手段と、
計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信する全体判定手段と、
を備えたことを特徴とするゲートウェイ装置。 A program is operated based on a service request from a client device, screen data corresponding to the service request is created, and a network is established between the client device and a server device that transmits the service request to the client device. A gateway device connected via
A user-specific determination criterion storage means for storing a determination criterion that associates the data transfer rate for each client device with its class value;
An overall criterion storage means for storing a criterion that associates the data transfer rate of the entire client device with its class value;
User-specific measuring means for measuring the data transfer rate for each client device;
An overall measuring means for measuring the data transfer rate of the entire client device;
A determination unit for each user that determines a class value of the data transfer rate for each client device according to a determination criterion determined from the measured data transfer rate for each client device and transmits the class value to the server device;
An overall determination means for determining a class value of the data transfer rate of the entire client device according to a determination criterion determined from the measured data transfer rate of the entire client device and transmitting the class value to the server device;
A gateway device comprising:
前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶する符号化テーブル記憶手段と、
前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信する受信手段と、
受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別する判別手段と、
判別した前記符号化方法に従って前記画面データを符号化する符号化手段と、
を備えたことを特徴とするサーバ装置。 A gateway device that operates a program based on a service request from a client device, creates screen data corresponding to the service request, transmits the screen data to the client device that is a service request source, and the client device via a network A server device connected to
An encoding table storage unit for storing an encoding table in which an encoding method is associated with a class value of the data transfer rate for each client device and a class value of the data transfer rate of the entire client device;
Receiving means for receiving from the gateway device a class value of the data transfer rate for each client device and a class value of the data transfer rate of the entire client device;
A discriminator for discriminating an encoding method by referring to the encoding table from the received data transfer rate class value for each client device and the data transfer rate class value of the entire client device;
Encoding means for encoding the screen data according to the determined encoding method;
A server device comprising:
前記ゲートウェイ装置は、
前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶し、
前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶し、
前記クライアント装置毎のデータ転送速度を計測し、
前記クライアント装置全体のデータ転送速度を計測し、
計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信し、
計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信し、
前記サーバ装置は、
前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶し、
前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信し、
受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別し、
判別した前記符号化方法に従って前記画面データを符号化する、
ことを特徴とする帯域制御方法。 A client device, a server device that operates a program based on a service request from the client device, creates screen data corresponding to the service request, and transmits the screen data to the client device that is a service request source; the client device; In a server-based computing system in which a gateway device connected to a server device via a network is configured to be mutually connectable via the network,
The gateway device is
Storing a criterion that associates the data transfer rate for each client device with its class value;
Storing a criterion that associates the data transfer rate of the entire client device with its class value;
Measure the data transfer rate for each client device,
Measure the data transfer speed of the entire client device,
The class value of the data transfer rate for each client device is determined according to the determination criteria determined from the measured data transfer rate for each client device and transmitted to the server device,
The class value of the data transfer rate of the entire client device is determined according to a determination criterion determined from the measured data transfer rate of the entire client device, and transmitted to the server device,
The server device
Storing an encoding table in which an encoding method is associated with a class value of the data transfer rate for each client device and a class value of the data transfer rate of the entire client device;
Receiving from the gateway device the class value of the data transfer rate for each client device and the class value of the data transfer rate of the entire client device;
Determine the encoding method by referring to the encoding table from the received data transfer rate class value for each client device and the data transfer rate class value of the entire client device,
Encoding the screen data according to the determined encoding method;
A bandwidth control method characterized by the above.
前記クライアント装置毎のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶するユーザ別判定基準記憶手段、
前記クライアント装置全体のデータ転送速度とそのクラス値とを関連付けした判定基準を記憶する全体判定基準記憶手段、
前記クライアント装置毎のデータ転送速度を計測するユーザ別計測手段、
前記クライアント装置全体のデータ転送速度を計測する全体計測手段、
計測された前記クライアント装置毎のデータ転送速度から定められた判定基準に従って前記クライアント装置毎のデータ転送速度のクラス値を判定してサーバ装置へ送信するユーザ別判定手段、
計測された前記クライアント装置全体のデータ転送速度から定められた判定基準に従って前記クライアント装置全体のデータ転送速度のクラス値を判定してサーバ装置へ送信する全体判定手段、
として機能させるためのプログラム。 A program is operated based on a service request from a client device, screen data corresponding to the service request is created, and a network is established between the client device and a server device that transmits the service request to the client device. Computer of the gateway device connected via
A user-specific criteria storage means for storing criteria for associating the data transfer rate for each client device and its class value;
An overall criterion storage means for storing a criterion relating the data transfer rate of the entire client device and its class value;
User-specific measuring means for measuring the data transfer rate for each client device,
An overall measuring means for measuring the data transfer rate of the entire client device;
A determination unit for each user that determines a class value of the data transfer rate for each client device according to a determination criterion determined from the measured data transfer rate for each client device and transmits the class value to the server device;
An overall determination means for determining a class value of the data transfer rate of the entire client device according to a determination criterion determined from the measured data transfer rate of the entire client device and transmitting the class value to the server device;
Program to function as.
前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とに符号化方法を対応付けた符号化テーブルを記憶する符号化テーブル記憶手段、
前記ゲートウェイ装置から前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とを受信する受信手段、
受信した前記クライアント装置毎のデータ転送速度のクラス値と前記クライアント装置全体のデータ転送速度のクラス値とから前記符号化テーブルを参照して符号化方法を判別する判別手段、
判別した前記符号化方法に従って前記画面データを符号化する符号化手段、
として機能させるためのプログラム。 A gateway device that operates a program based on a service request from a client device, creates screen data corresponding to the service request, transmits the screen data to the client device that is a service request source, and the client device via a network The server computer connected to the
An encoding table storage unit for storing an encoding table in which an encoding method is associated with a class value of the data transfer rate for each client device and a class value of the data transfer rate of the entire client device;
Receiving means for receiving from the gateway device a data transfer rate class value for each client device and a data transfer rate class value for the entire client device;
A discriminating means for discriminating an encoding method by referring to the encoding table from the received data transfer rate class value for each client device and the data transfer rate class value of the entire client device;
Encoding means for encoding the screen data according to the determined encoding method;
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009178244A JP5246091B2 (en) | 2009-07-30 | 2009-07-30 | Gateway device, server device, bandwidth control method and program in server-based computing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009178244A JP5246091B2 (en) | 2009-07-30 | 2009-07-30 | Gateway device, server device, bandwidth control method and program in server-based computing system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013076519A Division JP5516789B2 (en) | 2013-04-02 | 2013-04-02 | Communication apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011035565A JP2011035565A (en) | 2011-02-17 |
JP5246091B2 true JP5246091B2 (en) | 2013-07-24 |
Family
ID=43764217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009178244A Active JP5246091B2 (en) | 2009-07-30 | 2009-07-30 | Gateway device, server device, bandwidth control method and program in server-based computing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5246091B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012213035A (en) * | 2011-03-31 | 2012-11-01 | Mitsubishi Electric Information Systems Corp | Data collection system and program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002077263A (en) * | 2000-09-04 | 2002-03-15 | Matsushita Electric Ind Co Ltd | Transmitting/receiving method |
JP2004288044A (en) * | 2003-03-24 | 2004-10-14 | Sanyo Electric Co Ltd | Communication terminal device and network node device |
JP2006180414A (en) * | 2004-12-24 | 2006-07-06 | Nippon Telegr & Teleph Corp <Ntt> | File distribution system |
-
2009
- 2009-07-30 JP JP2009178244A patent/JP5246091B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011035565A (en) | 2011-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2316127C2 (en) | Spectrally limited controlling packet transmission for controlling overload and setting up calls in packet-based networks | |
KR100757872B1 (en) | Apparatus and method of backward congestion notification on network | |
US7512705B2 (en) | Truncating data units | |
EP1887745B1 (en) | Relay apparatus, relay method, and relay program | |
KR101031182B1 (en) | Method and apparatus for policing bandwidth usage of a home network | |
Brosh et al. | The delay-friendliness of TCP for real-time traffic | |
US8160030B2 (en) | Data rate controller | |
US20040174853A1 (en) | Communication control program, content delivery program, terminal, and content server | |
EP1649643A1 (en) | Distributed quality-of-service management system | |
KR20020075246A (en) | Communication quality control scheme using real time packet transmission state and transmission path congestion state | |
Zhang et al. | Congestion control and packet scheduling for multipath real time video streaming | |
JP4174054B2 (en) | Method and apparatus for congestion notification in a packet network, informing various congestion factors | |
EP1395000B1 (en) | A method of transmitting data streams dependent on the monitored state of the client application buffer | |
JP5246091B2 (en) | Gateway device, server device, bandwidth control method and program in server-based computing system | |
KR20200099312A (en) | Apparatus and method for controlling multi communication | |
US10104001B2 (en) | Systems and methods to early detect link status of multiple paths through an explicit congestion notification based proxy | |
JP3622701B2 (en) | VOIP system and service quality control method used therefor | |
JP5516789B2 (en) | Communication apparatus and program | |
JP2005064970A (en) | Method and system for controlling distribution rate | |
JP2002077240A (en) | Probe control system and transmitting terminal for executing the same | |
Kadhum et al. | Congestion-aware TCP-friendly system for multimedia transmission based on UDP | |
JP4959512B2 (en) | Priority control system and priority control method | |
JP4249049B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, PROGRAM, AND COMMUNICATION METHOD | |
US20070025369A1 (en) | Method for transmitting data in a data network | |
JP4692406B2 (en) | RELAY COMMUNICATION SYSTEM, RELAY APPARATUS, SESSION BAND CONTROL METHOD USED FOR THEM AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120522 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130304 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130312 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130325 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5246091 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160419 Year of fee payment: 3 |