Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3671927B2 - Web service response time measurement system and measurement server - Google Patents
[go: Go Back, main page]

JP3671927B2 - Web service response time measurement system and measurement server - Google Patents

Web service response time measurement system and measurement server Download PDF

Info

Publication number
JP3671927B2
JP3671927B2 JP2002097411A JP2002097411A JP3671927B2 JP 3671927 B2 JP3671927 B2 JP 3671927B2 JP 2002097411 A JP2002097411 A JP 2002097411A JP 2002097411 A JP2002097411 A JP 2002097411A JP 3671927 B2 JP3671927 B2 JP 3671927B2
Authority
JP
Japan
Prior art keywords
measurement data
measurement
user terminal
data transmission
transmission
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.)
Expired - Fee Related
Application number
JP2002097411A
Other languages
Japanese (ja)
Other versions
JP2003298647A (en
Inventor
啓恭 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2002097411A priority Critical patent/JP3671927B2/en
Publication of JP2003298647A publication Critical patent/JP2003298647A/en
Application granted granted Critical
Publication of JP3671927B2 publication Critical patent/JP3671927B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インターネット等の通信ネットワークを介してWebサーバからユーザ端末にコンテンツが提供されるシステムにおいて、ユーザがコンテンツの提供を希望してからコンテンツの提供を受けるまでの時間を計測するWebサービスの応答時間計測システムおよび計測サーバに関する。
【0002】
【従来の技術】
インターネットを介してWebサーバからユーザ端末に、画像、映像、音声等のコンテンツ(以下、Webコンテンツともいう。)が提供されるシステムが広く用いられている。そのようなシステムにおいて、ユーザがユーザ端末においてWebブラウザを操作してコンテンツの提供を希望してから、ユーザ端末においてコンテンツが表示されたり再生開始されたりするまでの時間(応答時間)を計測することによって、インターネットを介してユーザにコンテンツを提供するWebサービスの品質を把握することは、Webサービスのビジネスを成功させる上で重要である。
【0003】
計測された応答時間は、計測結果として、例えば、インターネットに接続可能な計測サーバに蓄積される。そして、計測結果は、コンテンツ毎、または複数の関連するコンテンツからなるコンテンツグループ毎の応答時間の傾向を把握したり、ユーザ毎、または複数の関連するユーザからなるユーザグループ毎の応答時間の傾向を把握したりするために用いられる。なお、複数の関連するユーザからなるユーザグループは、例えば1つのLANに属するユーザ端末であってルータ等を介してインターネットに接続可能なユーザ端末を操作するユーザである。
【0004】
応答時間を計測する技術として、以下の2つの方式が知られている。
【0005】
(1)パケットモニタ型
パケットをモニタするためのプローブと呼ばれる装置をWebサーバとユーザ端末との間の通信ネットワークに接続し、リクエストパケットとリプライパケットとの通過時刻の差から応答時間を算出し、算出した応答時間を、計測結果として計測サーバに蓄積する方式である。
【0006】
(2)計測モジュール型
あらかじめユーザ端末に応答時間計測用の計測プログラムをインストールしておく。計測プログラムは、Webブラウザからのリクエストデータの送出時刻と、コンテンツの表示完了(画像の場合)の時刻とを監視し、送出時刻と表示完了時刻との差から応答時間を計測する。そして、計測した応答時間を計測データとして、ユーザ端末から通信ネットワークを介して計測サーバに送信し、計測データを計測サーバに蓄積する方式である。
【0007】
パケットモニタ型の方式を用いた場合には、1台または数台のプローブを通信ネットワーク内に設置する必要はあるが、応答時間計測のために新たな通信トラフィックを発生させないという利点がある。しかし、表示処理などのWebブラウザ側の処理に起因する応答性の低下まで把握することはできない。
【0008】
そこで、Webサービス提供システムにおける応答時間を正確に計測するには、計測モジュール型の方式を使用する必要がある。図10は、従来の計測モジュール型のWebサービスの応答時間計測システムの処理例を示すフローチャートである。ユーザが、ユーザ端末(以下、クライアントという。)において、Webブラウザを起動し、コンテンツの提供を要求するための操作を行うと(ステップS100)、Webブラウザは、そのコンテンツを提供するWebサーバに対してリクエストデータを送信する(ステップS101)。また、計測プログラムは、応答時間の計測を開始する(ステップS102)。
【0009】
Webサーバは、クライアントからのリクエストデータを受信すると(ステップS110)、ユーザに提供すべきコンテンツの作成処理を行って(ステップS111)、作成したコンテンツをクライアントに送信する(ステップS113)。クライアントは、コンテンツを受信するとコンテンツを表示する(コンテンツが画像の場合:ステップS103)。計測プログラムは、コンテンツの表示完了を検出すると、応答時間の計測を終了する(ステップS104)。そして、計測した応答時間を計測データとして計測サーバに送信する(ステップS107)。
【0010】
計測サーバは、クライアントから計測データを受信すると(ステップS115)、計測データをデータベースに保存する(ステップS116)。
【0011】
【発明が解決しようとする課題】
以上のように、従来のWebサービスの応答時間計測システムでは、各クライアントはWebアクセスの度に計測データを計測サーバに送信する。すると、多数のクライアントが独立して、かつ、不定期にWebサービスの要求を行う環境では、多数のクライアントから一斉に計測サーバに対して計測データが送信される場合がある。計測サーバの処理能力を越える多数の計測データが一斉に到着すると、計測データの送受信処理に輻輳が生じ、計測データによる通信トラフィックが、本来のデータ通信のためのトラフィックを阻害してしまうという課題がある。また、計測データの送信処理がクライアントの負荷を増大させてしまうという課題がある。
【0012】
なお、各クライアントがWebアクセスの度に計測データを計測サーバに送信するのは、クライアントと計測サーバとの間の通信ネットワークにダイヤルアップ回線等が存在した場合にWebアクセスとは異なるタイミングで計測データの送信を行うと、Webアクセスとは別に回線接続し直すための新たな通信費用が発生してしまうからである。
【0013】
本発明は、上記のような課題を解決するための発明であって、多数のユーザ端末が一斉にWebアクセスを行っても、応答時間を計測するための通信トラフィックを増大させず、また、計測サーバの負荷を増大させないWebサービスの応答時間計測システムおよび計測サーバを提供することを目的とする。
【0014】
【課題を解決するための手段】
本発明によるWebサービスの応答時間計測システムは、ユーザ端末が通信ネットワークを介してWebコンテンツの提供を希望してからWebコンテンツを得るまでの時間を計測し、計測データを計測サーバに送信するWebサービスの応答時間計測システムであって、計測サーバが、ユーザ端末に許容している計測データ送信許容数が登録される送信指示一覧テーブルと、ユーザ端末に許容しなかった計測データ送信機会の数が登録される保留指示一覧テーブルと、複数のユーザ端末からの計測データの同時期送信を規制する規制手段を備え、規制手段が、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときには、一のユーザ端末に対して計測データの送信を許容する制御を行う計測データ送信指示部を含み、計測データ送信指示部が、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達しているときには、保留指示一覧テーブルにおける一のユーザ端末に対応する計測データ送信機会の数を1増やすことを特徴とする。
【0017】
計測データ送信指示部が、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときに、保留指示一覧テーブルにおける前記一のユーザ端末に対応する計測データ送信機会が登録されていれば、登録されている計測データ送信機会の数に応じた回数も含めて一のユーザ端末に対して計測データの送信を許容するように構成されていてもよい。このような構成によれば、計測サーバは、ユーザ端末に送信を保留させた計測データを、保留解除後に送信させることができ、ユーザ端末が計測した応答時間の計測結果が無駄にならない。
【0018】
規制手段が、ユーザ端末に対して、コンテンツとともに計測データ送信許容数を特定しうる情報が供給されるように制御するように構成されていてもよい。このような構成によれば、ユーザ端末が、計測データを送信すべきか保留すべきかを逐次把握することができる。
【0019】
ユーザ端末は、例えば、コンテンツの提供を希望してからコンテンツを得るまでの時間を計測するレスポンス計測手段と、レスポンス制御部が計測した応答時間を計測データとして計測サーバに送信する処理を行う計測データ送信制御手段とを備え、計測データ送信制御手段が、計測データ送信許容数を特定しうる情報が計測データ送信許容数0を示している場合には、計測データの送信を保留し、計測データ送信許容数を特定しうる情報が2以上の計測データ送信許容数を示している場合には、保留していた計測データも送信するように構成される。このような構成によれば、ユーザ端末が、計測データの送信を保留することができるとともに、保留解除後に、保留していた計測データを送信することができる。
【0020】
また、本発明による計測サーバは、ユーザ端末が通信ネットワークを介してコンテンツの提供を希望してからコンテンツを得るまでの時間を計測データとしてユーザ端末から受信する計測サーバであって、ユーザ端末に許容している計測データ送信許容数が登録される送信指示一覧テーブルと、ユーザ端末に許容しなかった計測データ送信機会の数が登録される保留指示一覧テーブルと、複数のユーザ端末からの計測データの同時期送信を規制する規制手段を備え、規制手段が、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときには、一のユーザ端末に対して計測データの送信を許容する制御を行う計測データ送信指示部を含み、計測データ送信指示部が、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達しているときには、保留指示一覧テーブルにおける一のユーザ端末に対応する計測データ送信機会の数を1増やすことを特徴とする。
【0021】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。図1は、本発明によるWebサービスの応答時間計測システムの一構成例を示すブロック図である。図1に例示するシステムでは、パーソナルコンピュータ等のユーザ端末(クライアント)3a,3b,3cがLANに接続され、クライアント3d,3eが他のLANに接続されている。クライアント3a,3b,3cは、ルータ5aを介してインターネット6に接続可能であり、クライアント3d,3eは、ルータ5bを介してインターネット6に接続可能である。
【0022】
計測サーバ1とWebサーバ2とはLANに接続され、ルータ5cを介してインターネット6に接続可能である。
【0023】
図2は、クライアント3a〜3e、計測サーバ1およびWebサーバ2の構成例と接続関係とを示すブロック図である。図2では、クライアント3a〜3eを、クライアント3と表記する。また、以下、クライアント3a〜3eのうちの任意の1つを指す場合、または、クライアント3a〜3eの全てを指す場合にはクライアント3と表記する。なお、クライアント3a〜3eは同一構成でよい。
【0024】
図2に示す例では、クライアント3には、Webブラウザ31がインストールされ、クライアント3は計測モジュールを備えている。計測モジュールは、応答時間を計測するレスポンス計測部32と、レスポンス計測部32が計測した応答時間を計測データとして計測サーバ1に送信する処理を行う計測データ送信部33とを含む。なお、レスポンス計測部32は、クライアント3にあらかじめインストールされているプログラム等で実現される。また、計測データ送信部33は、例えば、計測データを送信するか否か判断するプログラム、通信制御プログラムおよびLANカードで実現される。
【0025】
Webサーバ2は、クライアント3から要求されたコンテンツを、種々のコンテンツを格納したコンテンツ用データベース22から選択してクライアント3に送信するWebサーバ処理部21を含む。
【0026】
計測サーバ1は、クライアント3が送信した計測データを受信する計測データ収集部11と、計測データ収集部11が受信した計測データを記憶する計測データ収集用データベース12と、Webサーバ2のWebサーバ処理部21に対して、計測データ送信指示情報を送信させることを指令する計測データ送信指示部13と、管理情報を記憶する計測データ送信指示管理テーブル14とを含む。計測データ送信指示管理テーブル14は、計測サーバ1内の記憶手段内に形成された記憶領域であり、送信指示一覧テーブル141と保留指示一覧テーブル142とを含む。なお、複数のクライアント3からの計測データの同時期送信を規制する規制手段が、計測データ送信指示部13と計測データ送信指示管理テーブル14で実現されている。
【0027】
次に、図3〜図5のフローチャートを参照してWebサービスの応答時間計測システムの動作を説明する。クライアント3に搭載されているWebブラウザ31は、例えばユーザがリンク情報を選択操作したことに応じて、リンク情報が示すURLに対応するコンテンツの送信をWebサーバ2に要求する。すなわち、リクエスト送信を行う(ステップS100,S101)。
【0028】
クライアント3におけるレスポンス計測部32は、Webブラウザ31がWebサーバ2にリクエスト送信を行ったことを検知すると、応答時間の計測を開始する(ステップS102)。例えば、応答時間計測用タイマをスタートさせる。また、Webサーバ2のWebサーバ処理部21は、リクエスト送信を受けると(ステップS110)、要求されたコンテンツをコンテンツ用データべース22から検索し(ステップS111)、検索されたコンテンツをコンテンツ用データべース22から入力する。
【0029】
さらに、Webサーバ処理部21は、LANを介して計測サーバ1をアクセスし、計測サーバ1の計測データ送信指示部13に対して、計測データ送信指示決定処理を実行することを依頼する。計測データ送信指示部13は、依頼に応じて、計測データ送信指示決定処理を実行し、実行結果をWebサーバ2に返送する(ステップS112,S114)。計測データ送信指示決定処理は、クライアント3における応答時間の計測結果(計測データ)の送信を許容するか否かを決定する処理であり、実行結果は、計測データの送信の許容数である。
【0030】
図4のフローチャートを参照して計測データ送信指示決定処理について説明する。計測データ送信指示決定処理は、クライアント3における計測データの送信を許容するか否かを決定する処理であるが、具体的には、多数のクライアント3から計測サーバ1に対して同時期に計測データが送信されることが予想されるような状況において、同時期に送信される計測データ数を規制する処理である。なお、「同時期に送信される」とは、計測サーバ1における計測データの受信処理期間が重複するような場合を意味する。
【0031】
計測データ送信指示決定処理において、計測サーバ1の計測データ送信指示部13は、図4に示すように、Webサーバ2をアクセスしてコンテンツを要求したクライアント3の識別子をWebサーバ2から取得する(ステップS201)。次いで、送信指示一覧テーブル141に登録されている送信データ個数の総和を算出する(ステップS202)。送信指示一覧テーブル141には、計測データの送信が許可されている各クライアント3の識別子と、それらのクライアント3がそれぞれ幾つの計測データを送信してよいかを示す計測データ送信許可数(送信データ個数)が登録されている。
【0032】
計測データ送信指示部13は、計測データ送信許容数の合計に相当する送信データ個数の総和があらかじめ決められている最大同時送信数よりも小さい場合には、送信指示一覧テーブル141に、Webサーバ2から取得したクライアント3の識別子を登録するとともに、そのクライアントに対応する送信データ個数として「1」を登録する(ステップS203,S208)。
【0033】
図6には、最大同時送信数が「3」であり、クライアント3bがWebサーバ2をアクセスした場合に、送信指示一覧テーブル141にクライアント3aの識別子および送信データ個数「1」が登録されていたときの様子を示す。その場合、計測データ送信指示部13は、送信指示一覧テーブル141に、Webサーバ2から取得したクライアント3bの識別子を登録するとともに、クライアント3bに対応する送信データ個数として「1」を登録する。
【0034】
なお、計測データ送信指示部13は、送信指示一覧テーブル141に新たなクライアント3の識別子を登録した場合には、保留指示一覧テーブル142の中に、そのクライアントの識別子が存在しているか否か確認する(ステップS209)。存在する場合には、そのクライアント3について、送信指示一覧テーブル141の送信データ個数に、保留指示一覧テーブル142に登録されている送信データ個数を加算し(ステップS210)、保留指示一覧テーブル142において、そのクライアント3の識別子および送信データ個数を削除する(ステップS211)。すなわち、保留指示一覧テーブル142から、そのクライアント3のエントリを削除する。
【0035】
既に他の複数のクライアント3に対して、合計で最大同時送信数までの計測データの送信が許可されている場合に、あるクライアント3がWebサーバ2をアクセスしたときには、そのクライアント3に対する計測データの送信許可は保留され、保留数が保留指示一覧テーブル142に登録される。すなわち、保留指示一覧テーブル142には、クライアント3がWebサーバ2をアクセスしたにも関わらず、そのクライアント3が計測データを送信できない状況の発生回数(保留数)が登録される。換言すれば、クライアント3に許容しなかった計測データ送信機会の数が登録される。
【0036】
後述するように、送信指示一覧テーブル141に登録した送信データ個数は、クライアント3に対する計測データの送信の許可数としてクライアント3に送信される。ステップS209〜S211の処理によって、あるクライアント3がWebサーバ2をアクセスした場合に、そのクライアント3について、計測データの送信を許可できる場合には、すなわち、その時点での送信指示一覧テーブル141における送信データ個数の総和が最大同時送信数まで達していない場合には、そのクライアント3に対して、保留指示一覧テーブル142に登録されていた送信データ個数(計測データの送信の許可数)も含めて、計測データの送信の許可数として送信される。
【0037】
図7は、送信指示一覧テーブル141における送信データ個数の総和が最大同時送信数まで達していなくて、新たにクライアント3cがWebサーバ2をアクセスし、クライアント3cの識別子が保留指示一覧テーブル142に存在していた場合の例を示す。その場合には、計測データ送信指示部13は、送信指示一覧テーブル141にクライアント3cの識別子を登録するとともに、保留指示一覧テーブル142に登録されていた送信データ個数を、送信指示一覧テーブル141における送信データ個数に加算する。また、保留指示一覧テーブル142において、クライアント3cの識別子および送信データ個数を削除する。
【0038】
そして、計測データ送信指示部13は、送信指示一覧テーブル141における送信データ個数を、計測データ送信指示決定処理の実行結果としてWebサーバ2に返送する(ステップS212)。
【0039】
ステップS203において、計測データ送信指示部13は、送信データ個数の総和があらかじめ決められている最大同時送信数以上であったことを確認したら、ステップS201で取得した識別子に対応したクライアント3の識別子が保留指示一覧テーブル142に存在しているか否か確認する(ステップS204)。存在していた場合には、そのクライアント3に対応した送信データ個数を1加算する(ステップS205)。存在していない場合には、保留指示一覧テーブル142に、そのクライアント3の識別子を登録した後(ステップS206)、そのクライアント3に対応した送信データ個数を1加算する(ステップS205)。その後、計測データ送信指示決定処理の実行結果として、送信データ個数「0」をWebサーバ2に返送する(ステップS207)。
【0040】
後述するように、Webサーバ2は、送信個数データを計測サーバ1から受信したら、送信個数データを、コンテンツとともにクライアント3に送信する。従って、計測データ送信指示部13は、一のクライアント3がコンテンツの提供を希望した場合に、既に他のクライアント3に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときには、一のクライアント3に対して計測データの送信を許容する制御を行っていることになる。
【0041】
図8には、クライアント3fががWebサーバ2をアクセスし、そのときに送信指示一覧テーブル141における送信データ個数の総和が最大同時送信数まで達していて、クライアント3fの識別子が保留指示一覧テーブル142に存在していた場合の例を示す。その場合には、計測データ送信指示部13は、送信指示一覧テーブル141にクライアント3fの識別子を登録するとともに、保留指示一覧テーブル142における送信データ個数を1加算する。
【0042】
Webサーバ2のWebサーバ処理部21は、計測データ送信指示決定処理の実行結果すなわち送信個数データを計測サーバ1から受信したら、送信個数データを、許容数を示す情報(計測データ送信指示情報)としてコンテンツ内の所定箇所に埋め込む(ステップS112)。なお、所定箇所は、クライアント3において、計測データ送信制御部33が、参照する箇所としてあらかじめ決められている箇所である。その後、Webサーバ処理部21は、コンテンツをクライアント3に送信する(ステップS113)。
【0043】
クライアント3は、Webサーバ2からコンテンツを受信すると、コンテンツに内容を表示する(コンテンツが画像の場合:ステップS103)。クライアント3におけるレスポンス計測部32は、Webブラウザ31がコンテンツの表示を完了したことを検知すると、応答時間の計測を終了する(ステップS104)。例えば、応答時間計測用タイマをストップさせる。そして、計測した応答時間を示す計測データをクライアント3内の記憶手段に記憶する。記憶手段には、計測データを記憶する領域として複数の領域が確保されている。そして、記憶手段に既に計測データが記憶されている場合には、次の領域に計測データを記憶する。
【0044】
そして、クライアント3における計測データ送信制御部33は、コンテンツ内の所定箇所に埋め込まれていた許容数を示す情報を確認する(ステップS105)。許容数を示す情報が0であった場合には、計測した応答時間を示す計測データの送信を保留する(ステップS106)。また、許容数を示す情報が0でなかった場合には、記憶手段に記憶されている全ての計測データを計測サーバ1に送信する。
【0045】
クライアント3がステップS104の処理で得た計測データの他に、送信を保留していた計測データがある場合には、Webサーバ2は、保留していた計測データ数+1に相当する許容数を送信してくるはずである(ステップS208,S210,S212参照)。従って、許容数(送信指示された計測データ個数)を1減算しつつ(ステップS108)、計測データ個数の値が0になるまで(ステップS109)、記憶手段に記憶されている計測データを順次計測サーバ1に送信すれば(ステップS107)、ステップS104の処理で得た計測データおよび保留していた計測データを計測サーバ1に送信することができる。ここで、計測データ送信制御部33は、例えば最新の計測データから順に送信する。なお、クライアント3と計測サーバ1との間の通信ネットワークにダイヤルアップ回線等が存在している場合には、ステップS100〜S109の処理が完了するまで、回線接続を維持しておくことができる。
【0046】
以上のように、クライアント3は、計測データ送信許容数を特定しうる情報が計測データ送信許容数0を示している場合には、計測データの送信を保留し、計測データ送信許容数を特定しうる情報が2以上の計測データ送信許容数を示している場合には、保留していた計測データも計測サーバ1に送信する。
【0047】
計測サーバ1において、計測データ収集部11が計測データを受信すると(ステップS115)、受信した計測データを計測データ収集用データベース12に保存する(ステップS116)。また、計測データを受信した旨と、計測データの送信元を示す情報とを計測データ送信指示部13に出力する。計測データ送信指示部13は、計測データ収集部11が出力した情報にもとづいて計測データ送信指示管理テーブル14を更新する(ステップS117)。
【0048】
具体的には、計測データ送信指示部13は、計測データの送信元を示す情報が計測データ収集部11から出力されると、図5に示すように、その情報にもとづいて、計測データを送信してきたクライアント3の識別子を取得し(ステップS301)、計測データ送信指示管理テーブル14における送信指示一覧テーブル141中の該当するクライアント3の送信データ個数を1減算する(ステップS302)。そして、送信データ個数が「0」になった場合には、そのクライアント3の識別子を送信指示一覧テーブル141から削除する(ステップS303,S304)。すなわち、そのクライアント3のエントリを削除する。
【0049】
以上に説明したように、この実施の形態では、計測サーバ1は、計測データを送信しうる各クライアント3に、最大同時送信数までの計測データの同時期送信を許容する。そして、計測データの送信の許容数が最大同時送信数まで達している状況において、新たに計測データを送信する可能性があるクライアント3(Webサーバ2にコンテンツを要求したクライアント3)が生ずると、そのクライアント3に送信データ個数0を通知するようにしてそのクライアント3について計測データの送信を保留させ、かつ、保留数を保留指示一覧テーブル142によって管理する(ステップS204,S205,S206参照)。また、計測データの送信の許容数が最大同時送信数まで達している状況において、既に計測データの送信の保留が通知されているクライアント3がWebサーバ2にコンテンツを要求した場合にも、そのクライアント3に送信データ個数0を通知するようにしてそのクライアント3について計測データの送信を保留させ、かつ、保留数を保留指示一覧テーブル142によって管理する(ステップS204,S206参照)。
【0050】
そして、計測データの送信の許容数が最大同時送信数に達しない状況になってから、計測データの送信の保留が通知されているクライアント3がWebサーバ2にコンテンツを要求した場合に、保留が解除され、そのときのWebサーバ2のアクセスにもとづく計測データと送信が保留されていた計測データの送信を許容する(ステップS203,S208,S209,S210参照)。よって、クライアント3は、その時点で、そのときのWebサーバ2のアクセスにもとづく計測データと送信が保留されていた計測データとを計測サーバ1に送信する。
【0051】
このような制御によって、図9(A)に示すように従来はWebサーバ2への同時期アクセス数が多くなった場合に、同様に計測データ1の同時期送信数も多くなってトラフィックが増大するのに対して、この実施の形態では、図9(B)に示すように、Webサーバ2への同時アクセス数が多くなった場合でも、計測データの同時期送信数は低く抑えられる。
【0052】
なお、この実施の形態では、あるクライアント3についての保留数が多くなった場合に保留が解除されたときに一時的に計測データの送信の許容数が最大同時送信数を越えることも考えられる(図7参照)。しかし、一般に、1つのクライアント3がWebサーバ2にコンテンツを要求する時間間隔よりも、計測サーバ1の計測データ受信処理に要する時間は短いので、あるクライアント3についての保留数はさほど大きくならない。その結果、計測データの送信の許容数が最大同時送信数を越えたととしても、越える程度はさほど高くない。従って、計測データの同時期送信数はさほど大きくならない。
【0053】
また、この実施の形態では、あるクライアント3がWebサーバ2をアクセスしたことを条件として保留が解除され、送信が保留されていた計測データの送信が可能になる。よって、計測データの送信の保留が通知されているクライアント3が以後Webサーバ2にコンテンツを要求しない場合には保留状態は解除されない。その場合には、保留が発生してから所定時間が経過すると、保留指示一覧テーブル142から、そのクライアント3のエントリを削除すればよい。
【0054】
なお、上記の実施の形態では、Webサービスの応答時間計測システムとして図1に示されたシステムを例示したが、本発明によるWebサービスの応答時間計測システムは、図1に示された構成に限られない。例えば、クライアント3がルータ5a,5bを介さずにインターネット6をアクセスする場合等でもよく、クライアント3がWebサーバ2にコンテンツを要求可能であり、かつ、計測サーバ1に計測データを送信可能な構成であれば、どのような構成であってもよい。また、計測サーバ1は、インターネット6を介してクライアント3が直接にアクセス可能でなくてもよく、例えば、Webサーバ2を介して計測サーバ1に計測データを送信する構成であってもよい。さらに、Webサーバ2と計測サーバ1とが1つのサーバで構築されていてもよい。
【0055】
また、図1に示されたシステムでは1つのWebサーバ2が示されていたが、Webサーバ2はシステム内に複数あってもよい。
【0056】
【発明の効果】
以上のように、本発明によれば、Webサービスの応答時間計測システムおよび計測サーバを、計測サーバにおいて、複数のユーザ端末からの計測データの同時期送信を規制する規制手段が設けられた構成にしたので、各ユーザ端末からの計測データの同時期送信数を所定値に規制することができ、多数のユーザ端末が一斉にWebアクセスを行っても、応答時間を計測するための通信トラフィックを増大させず、また、計測サーバの負荷を増大させないようにすることができる。さらに、計測サーバは、保留指示一覧テーブルに登録されている計測データ送信機会の数にもとづいて、ユーザ端末に送信を保留させた計測データを後で送信させる制御を行うことが可能になる。
【図面の簡単な説明】
【図1】 本発明によるWebサービスの応答時間計測システムの一構成例を示すブロック図である。
【図2】 クライアント、計測サーバおよびWebサーバの構成例と接続関係とを示すブロック図である。
【図3】 クライアント、計測サーバおよびWebサーバの動作例を示すフローチャートである。
【図4】 計測データ送信指示決定処理を示すフローチャートである。
【図5】 計測データ送信指示管理テーブル更新処理を示すフローチャートである。
【図6】 送信指示一覧テーブルおよび保留指示一覧テーブルのデータ登録例を示す説明図である。
【図7】 送信指示一覧テーブルおよび保留指示一覧テーブルのデータ登録例を示す説明図である。
【図8】 送信指示一覧テーブルおよび保留指示一覧テーブルのデータ登録例を示す説明図である。
【図9】 Webアクセスと計測データ送信との関係の一例を示す説明図である。
【図10】 従来の計測モジュール型のWebサービスの応答時間計測システムの処理例を示すフローチャートである。
【符号の説明】
1 計測サーバ
2 Webサーバ
3,3a〜3e クライアント(ユーザ端末)
5a,5b,5c ルータ
6 インターネット
11 計測データ収集部
12 計測データ収集用データベース
13 計測データ送信指示部
14 計測データ送信指示テーブル
141 送信指示一覧テーブル
142 保留指示一覧テーブル
21 Webサーバ処理部
22 コンテンツ用データベース
31 Webブラウザ
32 レスポンス計測部
33 計測データ送信処理部
[0001]
BACKGROUND OF THE INVENTION
The present invention provides a Web service that measures the time from when a user desires to provide content until the content is received in a system in which content is provided from a Web server to a user terminal via a communication network such as the Internet. The present invention relates to a response time measurement system and a measurement server.
[0002]
[Prior art]
2. Description of the Related Art Systems that provide content (hereinafter also referred to as Web content) such as images, video, and audio to a user terminal from a Web server via the Internet are widely used. In such a system, measuring the time (response time) from when a user desires to provide content by operating a Web browser on the user terminal until the content is displayed or started to be played on the user terminal. Thus, grasping the quality of a Web service that provides content to users via the Internet is important for the success of the Web service business.
[0003]
The measured response time is accumulated as a measurement result, for example, in a measurement server that can be connected to the Internet. And the measurement result grasps the tendency of the response time for every content group which consists of a plurality of related contents for every content, or shows the tendency of the response time for every user group which consists of every user or a plurality of related users. It is used for grasping. A user group composed of a plurality of related users is a user who operates a user terminal that belongs to one LAN and can be connected to the Internet via a router or the like.
[0004]
The following two methods are known as techniques for measuring the response time.
[0005]
(1) Packet monitor type
A device called a probe for monitoring a packet is connected to the communication network between the Web server and the user terminal, the response time is calculated from the difference in passage time between the request packet and the reply packet, and the calculated response time is This is a method of accumulating in the measurement server as a measurement result.
[0006]
(2) Measurement module type
A measurement program for measuring response time is installed in advance in the user terminal. The measurement program monitors the transmission time of the request data from the Web browser and the time of content display completion (in the case of an image), and measures the response time from the difference between the transmission time and the display completion time. The measured response time is transmitted as measurement data from the user terminal to the measurement server via the communication network, and the measurement data is stored in the measurement server.
[0007]
When the packet monitor type method is used, one or several probes need to be installed in the communication network, but there is an advantage that new communication traffic is not generated for response time measurement. However, it is impossible to grasp even a decrease in responsiveness caused by processing on the Web browser side such as display processing.
[0008]
Therefore, in order to accurately measure the response time in the Web service providing system, it is necessary to use a measurement module type method. FIG. 10 is a flowchart showing a processing example of a conventional measurement module type Web service response time measurement system. When a user starts a web browser and performs an operation for requesting provision of content in a user terminal (hereinafter referred to as a client) (step S100), the web browser makes a request to the web server that provides the content. Request data is transmitted (step S101). Further, the measurement program starts measuring the response time (step S102).
[0009]
When receiving the request data from the client (step S110), the Web server performs a process for creating content to be provided to the user (step S111), and transmits the created content to the client (step S113). When the client receives the content, the client displays the content (if the content is an image: step S103). When the measurement program detects the completion of content display, the measurement program ends the measurement of the response time (step S104). Then, the measured response time is transmitted as measurement data to the measurement server (step S107).
[0010]
When the measurement server receives the measurement data from the client (step S115), the measurement server stores the measurement data in the database (step S116).
[0011]
[Problems to be solved by the invention]
As described above, in the response time measurement system for a conventional web service, each client transmits measurement data to the measurement server each time a web access is made. Then, in an environment in which a large number of clients independently and irregularly request Web services, measurement data may be transmitted from a large number of clients to the measurement server all at once. When a large number of measurement data that exceeds the processing capacity of the measurement server arrives at the same time, congestion occurs in the transmission / reception processing of the measurement data, and the communication traffic due to the measurement data hinders traffic for the original data communication. is there. In addition, there is a problem that measurement data transmission processing increases the load on the client.
[0012]
Note that each client sends measurement data to the measurement server each time it accesses the Web. The measurement data is sent at a different timing from the Web access when there is a dial-up line in the communication network between the client and the measurement server. This is because a new communication cost for reconnecting the line is generated separately from the Web access.
[0013]
The present invention is an invention for solving the above-described problems, and does not increase communication traffic for measuring response time even when a large number of user terminals perform Web access all at once. An object of the present invention is to provide a Web service response time measurement system and a measurement server that do not increase the load on the server.
[0014]
[Means for Solving the Problems]
  The Web service response time measurement system according to the present invention measures a time from when a user terminal desires provision of Web content via a communication network until Web content is obtained, and transmits measurement data to a measurement server. Response time measurement system, the measurement serverA transmission instruction list table in which the allowable number of measurement data transmissions allowed in the user terminal is registered; a pending instruction list table in which the number of measurement data transmission opportunities not allowed in the user terminal is registered;Restriction means for restricting simultaneous transmission of measurement data from multiple user terminalsWhenWithWhen the restriction means has one user terminal wishing to provide content and the total allowable number of measurement data transmissions already permitted to other user terminals has not reached a predetermined value, A measurement data transmission instructing unit that performs control for allowing measurement data to be transmitted to the user terminal, and the measurement data transmission instructing unit has already received another user terminal when one user terminal wishes to provide content. When the total allowable number of measurement data transmissions allowed for the number reaches a predetermined value, the number of measurement data transmission opportunities corresponding to one user terminal in the hold instruction list table is increased by one.It is characterized by that.
[0017]
When the measurement data transmission instructing unit wishes to provide content by one user terminal, the total number of allowable measurement data transmissions already permitted to other user terminals has not reached a predetermined value. When a measurement data transmission opportunity corresponding to the one user terminal in the pending instruction list table is registered, for one user terminal including the number corresponding to the number of registered measurement data transmission opportunities The measurement data may be allowed to be transmitted. According to such a configuration, the measurement server can transmit the measurement data whose transmission is suspended to the user terminal after the cancellation of the suspension, and the measurement result of the response time measured by the user terminal is not wasted.
[0018]
The regulation unit may be configured to control the user terminal so that information that can specify the allowable number of measurement data transmissions is supplied together with the content. According to such a configuration, the user terminal can sequentially grasp whether the measurement data should be transmitted or suspended.
[0019]
The user terminal is, for example, a response measurement unit that measures the time from when content provision is desired until the content is obtained, and measurement data that performs a process of transmitting the response time measured by the response control unit to the measurement server as measurement data A transmission control unit, and when the measurement data transmission control unit indicates that the measurement data transmission allowable number indicates the measurement data transmission allowable number 0, transmission of the measurement data is suspended and the measurement data transmission is performed. When the information that can specify the allowable number indicates a measurement data transmission allowable number of 2 or more, the measurement data that has been suspended is also transmitted. According to such a configuration, the user terminal can suspend transmission of measurement data, and can transmit measurement data that has been suspended after the suspension is released.
[0020]
  The measurement server according to the present invention is a measurement server that receives from the user terminal as measurement data the time from when the user terminal desires to provide content via the communication network until the content is obtained.A transmission instruction list table in which the allowable number of measurement data transmissions allowed in the user terminal is registered; a pending instruction list table in which the number of measurement data transmission opportunities not allowed in the user terminal is registered;Restriction means for restricting simultaneous transmission of measurement data from multiple user terminalsWhenWithWhen the restriction means has one user terminal wishing to provide content and the total allowable number of measurement data transmissions already permitted to other user terminals has not reached a predetermined value, A measurement data transmission instructing unit that performs control for allowing measurement data to be transmitted to the user terminal, and the measurement data transmission instructing unit has already received another user terminal when one user terminal wishes to provide content. When the total allowable number of measurement data transmissions allowed for the number reaches a predetermined value, the number of measurement data transmission opportunities corresponding to one user terminal in the hold instruction list table is increased by one.It is characterized by that.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of a Web service response time measurement system according to the present invention. In the system illustrated in FIG. 1, user terminals (clients) 3a, 3b, 3c such as personal computers are connected to a LAN, and clients 3d, 3e are connected to another LAN. The clients 3a, 3b, 3c can be connected to the Internet 6 via the router 5a, and the clients 3d, 3e can be connected to the Internet 6 via the router 5b.
[0022]
The measurement server 1 and the Web server 2 are connected to the LAN and can be connected to the Internet 6 via the router 5c.
[0023]
FIG. 2 is a block diagram illustrating configuration examples and connection relationships of the clients 3a to 3e, the measurement server 1, and the Web server 2. In FIG. 2, the clients 3 a to 3 e are referred to as a client 3. Also, hereinafter, when any one of the clients 3a to 3e is indicated, or when all of the clients 3a to 3e are indicated, the client 3 is described. The clients 3a to 3e may have the same configuration.
[0024]
In the example illustrated in FIG. 2, a web browser 31 is installed in the client 3, and the client 3 includes a measurement module. The measurement module includes a response measurement unit 32 that measures the response time, and a measurement data transmission unit 33 that performs a process of transmitting the response time measured by the response measurement unit 32 to the measurement server 1 as measurement data. The response measurement unit 32 is realized by a program or the like installed in advance on the client 3. Moreover, the measurement data transmission part 33 is implement | achieved by the program which judges whether measurement data are transmitted, a communication control program, and a LAN card, for example.
[0025]
The Web server 2 includes a Web server processing unit 21 that selects the content requested from the client 3 from the content database 22 storing various contents and transmits the selected content to the client 3.
[0026]
The measurement server 1 includes a measurement data collection unit 11 that receives measurement data transmitted by the client 3, a measurement data collection database 12 that stores measurement data received by the measurement data collection unit 11, and a Web server process of the Web server 2. A measurement data transmission instruction unit 13 that instructs the unit 21 to transmit measurement data transmission instruction information, and a measurement data transmission instruction management table 14 that stores management information are included. The measurement data transmission instruction management table 14 is a storage area formed in the storage means in the measurement server 1 and includes a transmission instruction list table 141 and a hold instruction list table 142. Note that the restriction means for restricting simultaneous transmission of measurement data from a plurality of clients 3 is realized by the measurement data transmission instruction unit 13 and the measurement data transmission instruction management table 14.
[0027]
Next, the operation of the Web service response time measurement system will be described with reference to the flowcharts of FIGS. The Web browser 31 mounted on the client 3 requests the Web server 2 to transmit content corresponding to the URL indicated by the link information, for example, in response to the user selecting and operating the link information. That is, request transmission is performed (steps S100 and S101).
[0028]
When the response measurement unit 32 in the client 3 detects that the Web browser 31 has transmitted a request to the Web server 2, the response measurement unit 32 starts measuring the response time (step S102). For example, a response time measuring timer is started. Further, upon receiving the request transmission (step S110), the web server processing unit 21 of the web server 2 retrieves the requested content from the content database 22 (step S111), and retrieves the retrieved content for the content. Input from database 22.
[0029]
Furthermore, the Web server processing unit 21 accesses the measurement server 1 via the LAN, and requests the measurement data transmission instruction unit 13 of the measurement server 1 to execute measurement data transmission instruction determination processing. The measurement data transmission instruction unit 13 executes measurement data transmission instruction determination processing in response to the request, and returns the execution result to the Web server 2 (steps S112 and S114). The measurement data transmission instruction determination process is a process for determining whether or not transmission of a response time measurement result (measurement data) in the client 3 is allowed, and the execution result is an allowable number of measurement data transmission.
[0030]
The measurement data transmission instruction determination process will be described with reference to the flowchart of FIG. The measurement data transmission instruction determination process is a process for determining whether or not transmission of measurement data in the client 3 is permitted. Specifically, measurement data is transmitted from a large number of clients 3 to the measurement server 1 at the same time. Is a process that regulates the number of measurement data transmitted at the same time in a situation where it is expected to be transmitted. Note that “sent at the same time” means a case where the measurement data reception processing periods in the measurement server 1 overlap.
[0031]
In the measurement data transmission instruction determination process, the measurement data transmission instruction unit 13 of the measurement server 1 acquires the identifier of the client 3 that requested the content by accessing the Web server 2 from the Web server 2, as shown in FIG. Step S201). Next, the sum total of the numbers of transmission data registered in the transmission instruction list table 141 is calculated (step S202). The transmission instruction list table 141 includes an identifier of each client 3 that is permitted to transmit measurement data, and a measurement data transmission permission number (transmission data) indicating how many pieces of measurement data each client 3 may transmit. Number) is registered.
[0032]
When the total number of transmission data corresponding to the total allowable number of measurement data transmissions is smaller than the predetermined maximum number of simultaneous transmissions, the measurement data transmission instruction unit 13 displays the Web server 2 in the transmission instruction list table 141. The identifier of the client 3 acquired from the above is registered, and “1” is registered as the number of transmission data corresponding to the client (steps S203 and S208).
[0033]
In FIG. 6, when the maximum number of simultaneous transmissions is “3” and the client 3 b accesses the Web server 2, the identifier of the client 3 a and the number of transmission data “1” are registered in the transmission instruction list table 141. Shows the situation at times. In this case, the measurement data transmission instruction unit 13 registers the identifier of the client 3b acquired from the Web server 2 in the transmission instruction list table 141 and registers “1” as the number of transmission data corresponding to the client 3b.
[0034]
In addition, when the identifier of the new client 3 is registered in the transmission instruction list table 141, the measurement data transmission instruction unit 13 checks whether the identifier of the client exists in the hold instruction list table 142. (Step S209). If it exists, for the client 3, the number of transmission data registered in the hold instruction list table 142 is added to the number of transmission data in the send instruction list table 141 (step S210). The identifier of the client 3 and the number of transmission data are deleted (step S211). That is, the entry of the client 3 is deleted from the hold instruction list table 142.
[0035]
When transmission of measurement data up to the maximum number of simultaneous transmissions is already permitted to a plurality of other clients 3, when a certain client 3 accesses the Web server 2, the measurement data for that client 3 is transferred. The transmission permission is suspended, and the number of suspensions is registered in the suspension instruction list table 142. In other words, the number of occurrences (the number of holds) of a situation in which the client 3 cannot transmit the measurement data even though the client 3 accesses the Web server 2 is registered in the hold instruction list table 142. In other words, the number of measurement data transmission opportunities not allowed by the client 3 is registered.
[0036]
As will be described later, the number of transmission data registered in the transmission instruction list table 141 is transmitted to the client 3 as the permitted number of transmission of measurement data to the client 3. When a certain client 3 accesses the Web server 2 by the processing in steps S209 to S211, if transmission of measurement data can be permitted for the client 3, that is, transmission in the transmission instruction list table 141 at that time If the total number of data has not reached the maximum number of simultaneous transmissions, including the number of transmission data registered in the hold instruction list table 142 (number of permitted transmissions of measurement data) for the client 3, Sent as the permitted number of transmissions of measurement data.
[0037]
FIG. 7 shows that the total number of transmission data in the transmission instruction list table 141 does not reach the maximum simultaneous transmission number, the client 3c newly accesses the Web server 2, and the identifier of the client 3c exists in the hold instruction list table 142 An example of the case is shown. In this case, the measurement data transmission instruction unit 13 registers the identifier of the client 3c in the transmission instruction list table 141 and transmits the number of transmission data registered in the hold instruction list table 142 in the transmission instruction list table 141. Add to the number of data. Further, the identifier of the client 3c and the number of transmission data are deleted from the hold instruction list table 142.
[0038]
Then, the measurement data transmission instruction unit 13 returns the number of transmission data in the transmission instruction list table 141 to the Web server 2 as an execution result of the measurement data transmission instruction determination process (step S212).
[0039]
In step S203, when the measurement data transmission instruction unit 13 confirms that the total number of transmission data is equal to or greater than the predetermined maximum number of simultaneous transmissions, the identifier of the client 3 corresponding to the identifier acquired in step S201 is determined. It is confirmed whether or not it exists in the hold instruction list table 142 (step S204). If it exists, 1 is added to the number of transmission data corresponding to the client 3 (step S205). If not, after the identifier of the client 3 is registered in the hold instruction list table 142 (step S206), 1 is added to the number of transmission data corresponding to the client 3 (step S205). Thereafter, the transmission data number “0” is returned to the Web server 2 as an execution result of the measurement data transmission instruction determination process (step S207).
[0040]
As will be described later, when the transmission number data is received from the measurement server 1, the Web server 2 transmits the transmission number data to the client 3 together with the content. Therefore, the measurement data transmission instructing unit 13 sets a predetermined total value of the allowable number of measurement data transmissions already permitted to other clients 3 when one client 3 desires to provide content. When it has not reached, the control is performed to allow the transmission of measurement data to one client 3.
[0041]
In FIG. 8, when the client 3f accesses the Web server 2, the total number of transmission data in the transmission instruction list table 141 reaches the maximum simultaneous transmission number, and the identifier of the client 3f is the hold instruction list table 142. Shows an example when it exists. In this case, the measurement data transmission instruction unit 13 registers the identifier of the client 3f in the transmission instruction list table 141 and adds 1 to the number of transmission data in the hold instruction list table 142.
[0042]
When the Web server processing unit 21 of the Web server 2 receives the execution result of the measurement data transmission instruction determination process, that is, the transmission number data from the measurement server 1, the transmission number data is used as information indicating the allowable number (measurement data transmission instruction information). It is embedded at a predetermined location in the content (step S112). The predetermined location is a location that is determined in advance in the client 3 as a location to which the measurement data transmission control unit 33 refers. Thereafter, the Web server processing unit 21 transmits the content to the client 3 (Step S113).
[0043]
When the client 3 receives the content from the Web server 2, the content is displayed on the content (when the content is an image: step S103). When the response measurement unit 32 in the client 3 detects that the Web browser 31 has finished displaying the content, the response measurement unit 32 ends the response time measurement (step S104). For example, the response time measuring timer is stopped. Then, measurement data indicating the measured response time is stored in the storage means in the client 3. A plurality of areas are secured in the storage means as areas for storing measurement data. If the measurement data is already stored in the storage means, the measurement data is stored in the next area.
[0044]
Then, the measurement data transmission control unit 33 in the client 3 confirms information indicating the allowable number embedded at a predetermined location in the content (step S105). If the information indicating the allowable number is 0, transmission of measurement data indicating the measured response time is suspended (step S106). When the information indicating the allowable number is not 0, all measurement data stored in the storage unit is transmitted to the measurement server 1.
[0045]
In addition to the measurement data obtained by the processing of step S104 by the client 3, if there is measurement data that has been suspended, the Web server 2 transmits an allowable number corresponding to the number of suspended measurement data + 1. (See steps S208, S210, and S212). Accordingly, while subtracting 1 from the allowable number (the number of measurement data instructed to be transmitted) (step S108), the measurement data stored in the storage means are sequentially measured until the value of the measurement data number becomes 0 (step S109). If it transmits to the server 1 (step S107), the measurement data obtained by the process of step S104 and the measurement data that has been suspended can be transmitted to the measurement server 1. Here, the measurement data transmission control unit 33 sequentially transmits the latest measurement data, for example. When a dial-up line or the like exists in the communication network between the client 3 and the measurement server 1, the line connection can be maintained until the processes in steps S100 to S109 are completed.
[0046]
As described above, when the information that can specify the measurement data transmission allowable number indicates the measurement data transmission allowable number 0, the client 3 suspends measurement data transmission and specifies the measurement data transmission allowable number. If the available information indicates an allowable number of measurement data transmissions of 2 or more, the suspended measurement data is also transmitted to the measurement server 1.
[0047]
In the measurement server 1, when the measurement data collection unit 11 receives the measurement data (step S115), the received measurement data is stored in the measurement data collection database 12 (step S116). Further, the fact that the measurement data has been received and information indicating the transmission source of the measurement data are output to the measurement data transmission instruction unit 13. The measurement data transmission instruction unit 13 updates the measurement data transmission instruction management table 14 based on the information output from the measurement data collection unit 11 (step S117).
[0048]
Specifically, when information indicating the transmission source of measurement data is output from the measurement data collection unit 11, the measurement data transmission instruction unit 13 transmits measurement data based on the information as illustrated in FIG. The identifier of the received client 3 is acquired (step S301), and the number of transmission data of the corresponding client 3 in the transmission instruction list table 141 in the measurement data transmission instruction management table 14 is subtracted by 1 (step S302). When the number of transmission data becomes “0”, the identifier of the client 3 is deleted from the transmission instruction list table 141 (steps S303 and S304). That is, the entry of the client 3 is deleted.
[0049]
As described above, in this embodiment, the measurement server 1 allows each client 3 that can transmit measurement data to transmit measurement data up to the maximum number of simultaneous transmissions at the same time. Then, in a situation where the allowable number of measurement data transmissions reaches the maximum number of simultaneous transmissions, when a client 3 (a client 3 that has requested content from the Web server 2) is newly transmitted, the measurement data may be transmitted. The client 3 is notified of the number of transmission data 0, and the transmission of measurement data for the client 3 is suspended, and the suspension number is managed by the suspension instruction list table 142 (see steps S204, S205, and S206). Further, when the allowable number of measurement data transmissions reaches the maximum number of simultaneous transmissions and the client 3 that has already been notified of suspension of measurement data transmission requests content from the Web server 2, the client 3, the transmission of the measurement data is suspended for the client 3 so that the number of transmission data 0 is notified, and the suspension number is managed by the suspension instruction list table 142 (see steps S204 and S206).
[0050]
Then, after the allowable number of measurement data transmissions does not reach the maximum number of simultaneous transmissions, when the client 3 that has been notified of the suspension of transmission of measurement data requests content from the Web server 2, the suspension is not performed. The transmission of the measurement data based on the access of the Web server 2 at that time and the measurement data whose transmission has been suspended is permitted (see steps S203, S208, S209, and S210). Therefore, at that time, the client 3 transmits the measurement data based on the access of the Web server 2 at that time and the measurement data whose transmission has been suspended to the measurement server 1.
[0051]
As a result of such control, as shown in FIG. 9A, when the number of simultaneous accesses to the Web server 2 increases in the past, the number of simultaneous transmissions of the measurement data 1 also increases and the traffic increases. On the other hand, in this embodiment, as shown in FIG. 9B, even when the number of simultaneous accesses to the Web server 2 increases, the number of simultaneous transmissions of measurement data can be kept low.
[0052]
In this embodiment, when the number of holds for a certain client 3 increases, the allowable number of measurement data transmissions may temporarily exceed the maximum number of simultaneous transmissions when the hold is released ( (See FIG. 7). However, in general, since the time required for the measurement data reception process of the measurement server 1 is shorter than the time interval at which one client 3 requests content from the Web server 2, the number of holds for a certain client 3 does not become so large. As a result, even if the allowable number of transmissions of measurement data exceeds the maximum number of simultaneous transmissions, the degree of exceeding is not so high. Therefore, the number of measurement data transmitted at the same time does not increase so much.
[0053]
Further, in this embodiment, the hold is released on the condition that a certain client 3 accesses the Web server 2, and measurement data that has been suspended can be transmitted. Therefore, if the client 3 that has been notified of suspension of transmission of measurement data does not subsequently request content from the Web server 2, the suspension state is not released. In that case, the entry of the client 3 may be deleted from the hold instruction list table 142 when a predetermined time elapses after the hold occurs.
[0054]
In the above embodiment, the system shown in FIG. 1 is exemplified as the Web service response time measurement system. However, the Web service response time measurement system according to the present invention is limited to the configuration shown in FIG. I can't. For example, the client 3 may access the Internet 6 without going through the routers 5a and 5b. The client 3 can request content from the Web server 2 and can transmit measurement data to the measurement server 1. Any configuration can be used. Further, the measurement server 1 may not be directly accessible by the client 3 via the Internet 6. For example, the measurement server 1 may be configured to transmit measurement data to the measurement server 1 via the Web server 2. Furthermore, the web server 2 and the measurement server 1 may be constructed by a single server.
[0055]
Further, although one Web server 2 is shown in the system shown in FIG. 1, there may be a plurality of Web servers 2 in the system.
[0056]
【The invention's effect】
  As described above, according to the present invention, the Web service response time measurement system and the measurement server are configured such that the measurement server is provided with a restriction unit that restricts simultaneous transmission of measurement data from a plurality of user terminals. SoThe number of simultaneous transmissions of measurement data from each user terminal can be regulated to a predetermined value,Even when a large number of user terminals simultaneously access the Web, it is possible to prevent an increase in communication traffic for measuring the response time and an increase in the load on the measurement server.Furthermore, the measurement server can perform control to later transmit the measurement data whose transmission has been suspended by the user terminal based on the number of measurement data transmission opportunities registered in the suspension instruction list table.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of the configuration of a Web service response time measurement system according to the present invention.
FIG. 2 is a block diagram illustrating a configuration example and connection relationship of a client, a measurement server, and a Web server.
FIG. 3 is a flowchart showing an operation example of a client, a measurement server, and a Web server.
FIG. 4 is a flowchart showing measurement data transmission instruction determination processing;
FIG. 5 is a flowchart showing measurement data transmission instruction management table update processing;
FIG. 6 is an explanatory diagram showing a data registration example of a transmission instruction list table and a hold instruction list table.
FIG. 7 is an explanatory diagram illustrating a data registration example of a transmission instruction list table and a hold instruction list table.
FIG. 8 is an explanatory diagram illustrating a data registration example of a transmission instruction list table and a hold instruction list table.
FIG. 9 is an explanatory diagram illustrating an example of a relationship between Web access and measurement data transmission;
FIG. 10 is a flowchart showing a processing example of a conventional measurement module type Web service response time measurement system;
[Explanation of symbols]
1 Measurement server
2 Web server
3, 3a-3e Client (user terminal)
5a, 5b, 5c router
6 Internet
11 Measurement data collection unit
12 Measurement data collection database
13 Measurement data transmission instruction section
14 Measurement data transmission instruction table
141 Transmission instruction list table
142 Hold instruction list table
21 Web server processing section
22 Database for contents
31 Web browser
32 Response measurement unit
33 Measurement data transmission processor

Claims (7)

ユーザ端末が通信ネットワークを介してコンテンツの提供を希望してからコンテンツを得るまでの時間を計測し、計測データを計測サーバに送信するWebサービスの応答時間計測システムにおいて、
前記計測サーバは、
ユーザ端末に許容している計測データ送信許容数が登録される送信指示一覧テーブルと、
ユーザ端末に許容しなかった計測データ送信機会の数が登録される保留指示一覧テーブルと、
複数のユーザ端末からの計測データの同時期送信を規制する規制手段を備え、
前記規制手段は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときには、前記一のユーザ端末に対して計測データの送信を許容する制御を行う計測データ送信指示部を含み、
前記計測データ送信指示部は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達しているときには、前記保留指示一覧テーブルにおける前記一のユーザ端末に対応する計測データ送信機会の数を1増やす
ことを特徴とするWebサービスの応答時間計測システム。
In a response time measurement system for a web service that measures a time from when a user terminal desires to provide content via a communication network until it obtains content, and transmits measurement data to a measurement server,
The measurement server is
A transmission instruction list table in which the allowable number of measurement data transmissions allowed in the user terminal is registered;
A pending instruction list table in which the number of measurement data transmission opportunities not allowed in the user terminal is registered;
And a regulating means for regulating the same time transmission of measurement data from a plurality of user terminals,
In the case where one user terminal wishes to provide content, the restriction means, when the total number of measurement data transmission allowances already permitted to other user terminals has not reached a predetermined value, Including a measurement data transmission instruction unit that performs control to allow transmission of measurement data to the one user terminal,
The measurement data transmission instructing unit, when one user terminal desires to provide content, has reached a predetermined value in which the total allowable number of measurement data transmissions already permitted to other user terminals has reached a predetermined value. A Web service response time measurement system , wherein the number of measurement data transmission opportunities corresponding to the one user terminal in the hold instruction list table is increased by one .
計測データ送信指示部は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときに、保留指示一覧テーブルにおける前記一のユーザ端末に対応する計測データ送信機会が登録されていれば、登録されている計測データ送信機会の数に応じた回数も含めて前記一のユーザ端末に対して計測データの送信を許容する
請求項1記載のWebサービスの応答時間計測システム。
The measurement data transmission instruction unit, when one user terminal wishes to provide content, has already reached the predetermined value that the predetermined number of allowable measurement data transmissions allowed for other user terminals has not been reached. If a measurement data transmission opportunity corresponding to the one user terminal in the pending instruction list table is registered, the number of times corresponding to the number of registered measurement data transmission opportunities is included in the one user terminal. Allow measurement data to be sent
The Web service response time measurement system according to claim 1 .
規制手段は、ユーザ端末に対して、コンテンツとともに計測データ送信許容数を特定しうる情報が供給されるように制御する
請求項1または請求項に記載のWebサービスの応答時間計測システム。
The Web service response time measurement system according to claim 1 or 2 , wherein the restriction unit controls the user terminal so that information that can specify the allowable number of measurement data transmissions is supplied together with the content.
ユーザ端末は、コンテンツの提供を希望してからコンテンツを得るまでの時間を計測するレスポンス計測手段と、前記レスポンス制御部が計測した応答時間を計測データとして計測サーバに送信する処理を行う計測データ送信制御手段とを備え、
前記計測データ送信制御手段は、計測データ送信許容数を特定しうる情報が計測データ送信許容数0を示している場合には、計測データの送信を保留し、計測データ送信許容数を特定しうる情報が2以上の計測データ送信許容数を示している場合には、保留していた計測データも送信する
請求項記載のWebサービスの応答時間計測システム。
The user terminal measures the time from when the user wants to provide the content until the content is obtained, and the measurement data transmission that performs the process of transmitting the response time measured by the response control unit as measurement data to the measurement server Control means,
The measurement data transmission control means may suspend measurement data transmission and specify the measurement data transmission allowable number when the information that can specify the measurement data transmission allowable number indicates the measurement data transmission allowable number 0. 4. The Web service response time measurement system according to claim 3 , wherein when the information indicates a permissible number of measurement data transmissions of 2 or more, the suspended measurement data is also transmitted.
ユーザ端末が通信ネットワークを介してコンテンツの提供を希望してからコンテンツを得るまでの時間を計測データとして前記ユーザ端末から受信する計測サーバであって、
ユーザ端末に許容している計測データ送信許容数が登録される送信指示一覧テーブルと、ユーザ端末に許容しなかった計測データ送信機会の数が登録される保留指示一覧テーブルと、複数のユーザ端末からの計測データの同時期送信を規制する規制手段を備え、
前記規制手段は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときには、前記一のユーザ端末に対して計測データの送信を許容する制御を行う計測データ送信指示部を含み、
前記計測データ送信指示部は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達しているときには、前記保留指示一覧テーブルにおける前記一のユーザ端 末に対応する計測データ送信機会の数を1増やす
ことを特徴とする計測サーバ。
A measurement server that receives from the user terminal as measurement data a time from when the user terminal desires to provide content via a communication network,
From a plurality of user terminals, a transmission instruction list table in which the allowable number of measurement data transmissions allowed in the user terminal is registered, a hold instruction list table in which the number of measurement data transmission opportunities not allowed in the user terminal is registered, and and a restricting means for restricting the contemporaneous transmission of measurement data,
In the case where one user terminal wishes to provide content, the restriction means, when the total number of measurement data transmission allowances already permitted to other user terminals has not reached a predetermined value, Including a measurement data transmission instruction unit that performs control to allow transmission of measurement data to the one user terminal,
The measurement data transmission instructing unit, when one user terminal desires to provide content, has reached a predetermined value in which the total allowable number of measurement data transmissions already permitted to other user terminals has reached a predetermined value. when it's the measurement server, characterized in that to increase 1 the number of measurement data transmission opportunity corresponding to the user terminal the end of the one of the pending instruction list table.
計測データ送信指示部は、一のユーザ端末がコンテンツの提供を希望した場合に、既に他のユーザ端末に許容している計測データ送信許容数の合計があらかじめ決められている所定値に達していないときに、保留指示一覧テーブルにおける前記一のユーザ端末に対応する計測データ送信機会が登録されていれば、登録されている計測データ送信機会の数に応じた回数も含めて前記一のユーザ端末に対して計測データの送信を許容する
請求項記載の計測サーバ。
The measurement data transmission instruction unit, when one user terminal wishes to provide content, has already reached the predetermined value that the predetermined number of allowable measurement data transmissions allowed for other user terminals has not been reached. If a measurement data transmission opportunity corresponding to the one user terminal in the pending instruction list table is registered, the number of times corresponding to the number of registered measurement data transmission opportunities is included in the one user terminal. The measurement server according to claim 5 , wherein transmission of measurement data is allowed.
規制手段は、ユーザ端末に対して、コンテンツとともに計測データ送信許容数を特定しうる情報が供給されるように制御する
請求項5または請求項記載の計測サーバ。
The measurement server according to claim 5 or 6 , wherein the restriction unit controls the user terminal so that information that can specify the allowable number of measurement data transmissions is supplied together with the content.
JP2002097411A 2002-03-29 2002-03-29 Web service response time measurement system and measurement server Expired - Fee Related JP3671927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002097411A JP3671927B2 (en) 2002-03-29 2002-03-29 Web service response time measurement system and measurement server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002097411A JP3671927B2 (en) 2002-03-29 2002-03-29 Web service response time measurement system and measurement server

Publications (2)

Publication Number Publication Date
JP2003298647A JP2003298647A (en) 2003-10-17
JP3671927B2 true JP3671927B2 (en) 2005-07-13

Family

ID=29387679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002097411A Expired - Fee Related JP3671927B2 (en) 2002-03-29 2002-03-29 Web service response time measurement system and measurement server

Country Status (1)

Country Link
JP (1) JP3671927B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5217573B2 (en) * 2008-03-31 2013-06-19 Kddi株式会社 Server congestion control method and system
KR20160073893A (en) * 2014-12-17 2016-06-27 (주)에임투지 Apparatus for realtime management of entry allowance number based service quality of user and method therof

Also Published As

Publication number Publication date
JP2003298647A (en) 2003-10-17

Similar Documents

Publication Publication Date Title
US11418620B2 (en) Service request management
JP3828444B2 (en) Data communication relay device and system
JP4274710B2 (en) Communication relay device
EP1221795A2 (en) Service system
JP4753052B2 (en) Content delivery method and system
JP2002091936A (en) Load distribution device and load estimation method
JP2005513617A (en) System and method for downloading data using a proxy
EP1965566A2 (en) Relay system, relay program and relay method
US9130783B2 (en) Relay communication system and access management apparatus
US20030084140A1 (en) Data relay method
EP1545093A2 (en) Traffic control apparatus and service system using the same
CN109510878A (en) A kind of long connection session keeping method and device
US7634560B2 (en) Method for measuring server performance, system for measuring server performance and computer programs therefor
US8213432B2 (en) Network configuration investigating device, network configuration investigating program, network configuration management method, and network configuration management system
JP7406086B2 (en) Data access control program, data access control method, and authorization server
JP3671927B2 (en) Web service response time measurement system and measurement server
JP2001216282A (en) Server, client, client-server system, load distribution method, and recording medium
JP2005182702A (en) Access control method in IP network
US7519722B2 (en) Information providing method, information processing device, information collection system, communication method, communication system, relay device, and communication device
JP4687758B2 (en) Congestion control method
JP4392330B2 (en) Access control mechanism
JP4736407B2 (en) Relay device
JP3751815B2 (en) Service provision system
CN100454864C (en) Access information generating device, access information generating method and receiving device
JP2010238101A (en) Load distribution device, load distribution method, load distribution program, and load distribution system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050225

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: 20050329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080428

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees