JP3709797B2 - System including proxy server and web server and program thereof - Google Patents

System including proxy server and web server and program thereof Download PDF

Info

Publication number
JP3709797B2
JP3709797B2 JP2001052192A JP2001052192A JP3709797B2 JP 3709797 B2 JP3709797 B2 JP 3709797B2 JP 2001052192 A JP2001052192 A JP 2001052192A JP 2001052192 A JP2001052192 A JP 2001052192A JP 3709797 B2 JP3709797 B2 JP 3709797B2
Authority
JP
Japan
Prior art keywords
information
stop
web server
transmission
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.)
Expired - Fee Related
Application number
JP2001052192A
Other languages
Japanese (ja)
Other versions
JP2002259338A (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 JP2001052192A priority Critical patent/JP3709797B2/en
Publication of JP2002259338A publication Critical patent/JP2002259338A/en
Application granted granted Critical
Publication of JP3709797B2 publication Critical patent/JP3709797B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プロキシサーバとウェブサーバを含みインターネットを通じアクセスされるシステムとサーバ及びこれらに搭載されるプログラムに関し、特にプロキシサーバに通信接続されたウェブサーバが運転やサービスの運用を一時停止している際に、その旨と運転やサービスの再開日時をアクセス元に通知するプロキシサーバやシステム及びこれらに搭載されるプログラムに関する。
【0002】
【従来の技術】
従来のプロキシ(代理)サーバとウェブサーバ(ウェブネットを通じアクセスされるサーバ)を含むシステムを図13を参照し説明する。図13においてウェブクライアント100は、クライアント要求手段101、通信手段103により、インターネットを通じプロキシサーバ200にウェブサーバ300上にある提供情報ファイル304の送信を要求し、返信情報受信・表示手段102が受け取った返信情報を解析し画面に表示する。
【0003】
プロキシサーバ200は、ウェブサーバ300やサーバ/端末400のインターネットアクセスや、インターネットからこれら装置へのアクセスを仲介しこれら装置のIPアドレスがインターネットからは見えない様にしファイヤウォールとなっている。
【0004】
INET(internet)通信手段201が、ウェブクライアント1からのファイル送信要求を受信すると受信情報をHTTP(hypertext transfer protocol)解析手段202に渡し、HTTP解析手段で受信情報を解析し、宛先URL(uniform resource locator)より要求ファイルが置かれているウェブサーバ300を判定し、ウェブサーバへの通信手段203がウェブサーバ300に指定されたファイルの送信を依頼する。
【0005】
更に、返信情報受信手段205によって、ウェブサーバ300からファイルを受信し、クライアント送信手段206でウェブクライアント100に送る。
【0006】
返信情報受信手段205は、ウェブサーバ300から返信情報を受信出来ないときはクライアント送信手段206にファイル取出しエラーを通知する様依頼し、クライアント送信手段206を介して、ウェブクライアント1にエラーが起きた旨を通知する。
【0007】
又、ファイル取出しエラーの発生率を下げる一般的な手法としては、公開公報特開2000−057041号「プロキシサーバ及びLANシステム」に示されている様に、プロキシサーバ200にウェブサーバ300のファイルのコピーをおきキャッシュを構成することによって、HTTP解析手段202において要求されたファイルがキャッシュ内に存在するときはウェブサーバへの送信手段203をコールせずにキャッシュ内のファイルをクライアント送信手段206に引き渡す方法が知られている。
【0008】
【発明が解決しようとする課題】
しかしながら、従来のプロキシサーバとウェブサーバを含むシステムは、次の様な課題がある。
【0009】
第1の課題は、ウェブサーバ300が一時的にダウンしているのかネットワーク経路のどこかが切断されているのかエラー通知だけでは把握出来ず、要求したファイル情報が必須情報であるときは何度となく取出しを試みるため取出し作業に無駄な工数が発生し、インターネットやローカルネット(プロキシサーバとウェブサーバ間ネット)の無駄な使用を招くことである。
【0010】
とりわけ、24時間無停止運転でないウェブサーバ300やメンテナンスで停止しているウェブサーバ300からのファイル取出しで無駄なファイル取出し工数が発生する。
【0011】
又、ウェブクライアント利用者は、エラーの原因がウェブサーバ300の一時的停止、ネットワークの故障や輻輳、サービスの廃止、宛先の指定誤りの何れかを把握出来ず、そのウェブサーバのサービスに対し不満を抱き徐々に利用しなくなることもある。
【0012】
第2の課題は、キャッシュ機構は物理的に上限があるため、アクセス頻度あるいは、経過時間などを考慮の上キャッシュから消されるため、結果的にキャッシュされない状態が発生し、ウェブサーバ300からの全てのファイル取出しを完全に保証していないということである。
【0013】
本発明の目的は、何らかの事情により配下のウェブサーバが応答を返さないときに、従来のエラーリターンの代わりに、ウェブサーバの稼動情報を伝えるページを生成し、ウェブサーバが停止していること及び再立ち上げ予定時間をウェブクライアントに通知することで、情報獲得の機会を増やし、無駄なファイル取出し工数や通信を削減するプロキシサーバとウェブサーバのシステム、サーバ、及びこれらに搭載されるプログラムを提供することにある。
【0014】
【課題を解決するための手段】
本発明の第1のプロキシサーバとウェブサーバを含むシステムは、インターネットに通信接続されたプロキシサーバとこれの配下に通信接続された1台以上のウェブサーバを含み、インターネットを通じウェブクライアントにアクセスされるシステムであり、前記プロキシサーバはウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手段と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手段と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手段と、返信情報を要求元に送信するクライアントへの送信手段と、返信情報が受信できなかったことを検出する手段と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出と要求元情報を受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手段に渡す停止情報取出送信手段を有し、前記クライアントへの送信手段が停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信することを特徴とする。
【0015】
本発明の第2のプロキシサーバとウェブサーバを含むシステムは、前記第1のシステムに於いて、前記ウェブサーバは、操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を前記プロキシサーバに送信する停止情報送信手段を有し、前記プロキシサーバは、通信接続された配下装置から停止情報の追加、更新、削除指示や内容を受け停止情報データを更新する手段も有することを特徴とする。
【0016】
本発明の第3のプロキシサーバとウェブサーバを含むシステムは、前記第2のシステムに於いて、前記ウェブサーバの停止情報送信手段が、操作者の指示や入力情報に従った前記処理を行うと共に、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成しプロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示も送信することを特徴とする。
【0017】
本発明の第1のプロキシサーバは、配下にウェブサーバを通信接続し、インターネットに通信接続するプロキシサーバであり、インターネット上のウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手段と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手段と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手段と、返信情報を要求元に送信するクライアントへの送信手段と、返信情報が受信できなかったことを検出する手段と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出を要求元情報と共に受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手段に渡す停止情報取出送信手段を有し、前記クライアントへの送信手段が停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信することを特徴とする。
【0018】
本発明の第2のプロキシサーバは、前記第1のプロキシサーバに於いて、前記ウェブサーバへの送信手段が送信先のウェブサーバに対応し送信バッファを有し、バッファの一つのエントリから読み出した要求情報の送信を通信手段に指示した際にその時刻をそのエントリに追記し、前記返信情報の受信手段が、前記送信バッファの受信情報対応のエントリをクリアし、前記検出手段は送信バッファに送信指示時刻が現在時刻より所定時間分前の要求情報があるかを周期的にチェックすることで返信情報が受信できなかった検出を行うことを特徴とする。
【0019】
本発明の第3のプロキシサーバは、前記第1のプロキシサーバに於いて、前記ウェブサーバへの送信手段が前記検出手段も含み、要求情報の送信を通信手段に指示した際に通信手段が送信先ウェブサーバとのコネクトに失敗したことを検出することで前記検出を行うことを特徴とする。
【0020】
本発明の第4のプロキシサーバは、前記第1のプロキシサーバに於いて、前記プロキシサーバが、返信情報が受信できなかったことを検出し、停止情報取出送信手段が停止情報データより、返信のなかったウェブサーバの停止情報を取り出し、その時刻が停止期間に入っていればオンにされるウェブサーバ毎の停止フラグも有し、前記解析手段がウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定した際に、停止フラグをチェックし、オンであれば要求情報のウェブサーバへの送信依頼を抑止し停止情報取出送信手段にウェブサーバ識別と、要求元情報を渡し、停止情報の確認と送信を指示することを特徴とする。
【0021】
本発明のウェブサーバは、操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を上位のプロキシサーバに送信すると共に、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成し前記プロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示を送信する停止情報送信手段を有することを特徴とする。
【0022】
本発明の第1のプログラムは、配下にウェブサーバを通信接続し、インターネットに通信接続されたプロキシサーバに搭載されるプログラムであり、インターネット上のウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手順と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手順と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手順と、返信情報を要求元に送信するクライアントへの送信手順と、返信情報が受信できなかったことを検出する手順と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出を要求元情報と共に受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手に渡す停止情報取出送信手順とをサーバコンピュータに実行させるためのプログラムであって、前記クライアントへの送信手順停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信する手順とすることを特徴とする。
【0023】
本発明の第2のプログラムは、プロキシサーバに搭載される前記第1のプログラムであって、前記ウェブサーバへの送信手順に、送信先のウェブサーバに対応し送信バッファを用い、バッファの一つのエントリから読み出した要求情報の送信を通信手順に指示した際にその時刻をそのエントリに追記する手順を含み、前記返信情報の受信手順、前記送信バッファの受信情報対応のエントリをクリアする手順を含み、前記検出する手を、送信バッファに送信指示時刻が現在時刻より所定時間分前の要求情報があるかを周期的にチェックすることで返信情報が受信できなかった検出を行う手順とすることを特徴とする。
【0024】
本発明の第3のプログラムは、前記第1のプログラムであって、前記ウェブサーバへの送信手順に、要求情報の送信を通信手順に指示した際に通信手順が送信先ウェブサーバとのコネクトに失敗したことを検出前記検出とする手順を含むことを特徴とする。
【0025】
本発明の第4のプログラムは、前記第1のプログラムであって、前記停止情報取出送信手順に停止情報データより、返信のなかったウェブサーバの停止情報を取り出し、そのときの時刻が停止期間に入っていればウェブサーバ毎の停止フラグをオンにする手順も含み、前記解析手順に、ウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定した際に、停止フラグをチェックし、オンであれば要求情報のウェブサーバへの送信依頼を抑止し停止情報取出送信手順に判定したウェブサーバ識別と、送信元情報を渡し、停止情報の確認と送信を指示する手順を含むことを特徴とする。
【0026】
本発明の第5のプログラムは、ウェブサーバに搭載されるプログラムであって、操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を上位のプロキシサーバに送信する手順と、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成し前記プロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示を送信する停止情報送信手順とをサーバコンピュータに実行させる。
【0027】
【発明の実施の形態】
次に、本発明の第1実施形態について図面を参照して詳細に説明する。図1は本発明のプロキシサーバとウェブサーバを含むシステムの例と、これを利用するウェブクライアント側も示した概略図である。
【0028】
本発明のシステムは、インターネット7に接続されたプロキシサーバ2と、この配下にウェブサーバ3、・・4と管理端末5がLAN6等のローカル通信手段で接続され構成される。
【0029】
又、本発明のシステムを利用するウェブクライアント1が、例えば公衆電話回線9とダイヤルアップサーバ8を介してインターネット7に接続されている。ウェブクライアント1はプロキシサーバ2にウェブサーバ3上にある提供情報ファイルの送信を要求し、受け取ったファイルを閲覧する。
【0030】
プロキシサーバ2は、LAN6に接続されたウェブサーバ3、・・4や管理端末5や他のサーバやクライアント端末(図示せず)のインターネット7の接続装置へのアクセスやインターネット7接続装置からLAN6接続装置へのアクセスを仲介し、LAN6接続装置のIPアドレスがインターネット7から見えない様にしていることは従来通りであるが、何らかの事情によって、配下のウェブサーバ3、・・4が応答を返さないときに、従来のエラーリターンの代わりに、ウェブサーバ3、・・4の稼動情報を記載したファイルを生成し、ウェブサーバが停止している旨と理由と再立ち上げ予定時間をウェブクライアントに通知する。
【0031】
図2はウェブクライアント1の具体的な構成例を示したブロック図である。ウェブクライアント1はパーソナルコンピュータ或いはウェブ端末装置等であり、クライアントが要求するURLにアクセスするクライアント要求手段11と要求したURLからの提供情報を受け取り解析し表示装置13に表示する返信情報受信・表示手段12と通信手段14を含む。
【0032】
尚、ウェブクライアント1は閲覧処理機能を有した携帯電話や携帯端末でもよく、この場合は公衆電話回線9でなく基地局を含む無線ネットワークによりインターネット7と接続される。
【0033】
図3はプロキシサーバ2とウェブサーバ3を含む本発明のシステムの詳細構成例を示したブロック図である。プロキシサーバ2は、INET(インターネット)通信手段20、HTTP解析手段21、アドレス変換情報212、ウェブサーバ送信手段22、LNET(ローカルネット)通信手段29、返信情報受信手段23、クライアント送信手段26、返信監視手段24、停止情報取出送信手段25、停止情報DB(データベース)28、停止情報DB更新手段27を含む。
【0034】
INET通信手段20はインターネット7に接続されインターネット通信機能を持つ。即ち、プロキシサーバ2のIPアドレスを保持し、宛先IPアドレスが一致する情報を受信し、クライアント送信手段26より受けた相手IPアドレスを宛先アドレスとし、自装置のIPアドレスを送信元としインターネット7に送信する。
【0035】
HTTP解析手段21は、複数エントリの受信バッファ211を有し、INET通信手段20から受けたクライアントからの情報を受信バッファ211に格納する。これを順次取り出し解析し、宛先URLのウェブサーバに相当する部分をアドレス変換情報212を用いウェブサーバのホスト名に変換する。そしてクライアントからの情報(データ、送信元情報)を宛先ホスト名を付随させウェブサーバ送信手段22に渡す。
【0036】
ウェブサーバ送信手段22は、ウェブサーバ毎の送信バッファ221を有し、受け取ったクライアントからの情報を対応する送信バッファに格納する。各バッファから順次情報を読み出し、これを対応のウェブサーバへ送信するようLNET通信手段29に指示する。指示時刻(例えば1秒ないし0.5秒単位)を送信バッファ221の対応エントリに追記する。
【0037】
LNET(ローカルネット)通信手段29は、ウェブサーバ送信手段22や停止情報DB更新手段27から受け取った情報を相手のLNET通信手段39等に送信する。情報と付随して受けた宛先ホスト名をDNS(Domain Name System)等でIPアドレスに変換し宛先IPアドレスとし、送信元IPアドレス(自装置IPアドレス)を付加し情報を送信する。
【0038】
又、ウェブサーバや管理端末からの情報の宛先IPアドレスが自装置IPアドレスであればこれを受信し、上位層の宛先に従って返信情報受信手段23や、停止情報DB更新手段27に渡す。渡す際には送信元IPアドレスを必要に応じホスト名に変換する。
【0039】
返信情報受信手段23は、LNET通信手段29を介しウェブサーバ3、・・4から提供情報ファイルを受けると、送信バッファ221の送信元ホスト名に対応するバッファより情報を取り出し、そのエントリをクリアする。取り出した情報のうち送信元情報を宛先情報とし、提供情報ファイルとともにクライアント送信手段26に渡す。
【0040】
クライアント送信手段26は返信情報受信手段23から提供情報ファイルと宛先情報(宛先IPアドレス等)を受け、或いは停止情報取出送信手段25から停止情報ページと宛先情報を受けINET通信手段20を介し宛先(ウェブクライアント1)に送信する。
【0041】
返信監視手段24は、送信バッファ221の各バッファの各エントリについて、送信指示時刻が現在時刻より所定時間(例えば8秒)前のものがないかを定期的(例えば4秒周期)でチェックする。LNET通信手段29に送信指示後所定時間経過しても返信情報が受信出来なかったクライアントからの要求情報を検出すると、そのエントリの情報を取り出し(同時にバッファより削除し)送信元情報(インターネット7上の宛先情報)、ホスト名、指示(停止情報取り出し送信指示)を停止情報取出送信手段25に渡す。
【0042】
停止情報DB28は各ウェブサーバ(ホスト名)の運転時間と停止データ識別(ID)からなる固定情報テーブルと、複数の停止データを含む可変情報テーブル2を有する。
【0043】
停止情報取出送信手段25は、ホスト名に対応する停止情報を停止情報DB28より取り出し、カレンダクロックより取得の現在時刻がそのウェブサーバの停止期間であることを確認し停止情報を基に停止情報ページを作成し宛先情報とともにクライアント送信手段26に渡す。
【0044】
停止情報DB更新手段27は、ウェブサーバ3の停止情報送信手段34や、管理端末5の停止情報更新手段53から、登録済み停止情報の読み出し要求や停止情報の追加更新要求を受け、対応情報の返信や、停止情報DB28を更新する。
【0045】
ウェブサーバ3は、HTTP解析手段31、返信情報送信手段32、提供情報ファイル群33、停止情報送信手段34、停止情報ファイル群36、入出力手段35、運転制御手段37、LNET通信手段39を含む。
【0046】
HTTP解析手段31は、ウェブクライアント1からの要求情報を解析し、返信情報が要求されていれば、返信情報送信手段32をコールする。返信情報送信手段32は指定された提供情報ファイルを提供情報ファイル群33より読み出しプロキシサーバ2の返信情報受信手段23に送信する。
【0047】
入出力手段35はキーボードとディスプレイ装置等の入出力装置である。停止情報ファイル群36は、サーバ管理者が作成した停止情報ファイルや、作成用のテンプレートファイルである。運転制御手段37は、ウェブサーバ3の状態(運転状態、障害状態、スタンバイ状態、動作電源オフ状態)を制御管理する。
【0048】
停止情報送信手段34は、入出力手段35からの指示を受け停止情報の更新指示や更新用ファイルを停止情報DB更新手段27に送信する。又、運転制御手段37からシステムダウン通知を受け、停止情報に時刻情報を追記し、停止情報DB更新手段27に登録を指示し、再起動で登録した停止情報の削除指示を自動的に行う。
【0049】
管理端末5はサーバ管理者が自席よりサーバの管理を行える端末であり、この装置の停止情報更新手段は、システムダウン時の停止情報の自動登録、削除機能を除き上記停止情報送信手段34と同様の機能を持つ。
【0050】
図4はアドレス変換情報212の例を示した図である。アドレス変換情報212はURL名とウェブサーバのホスト名の対応を示す情報で、例えばURLのma1.abc.co.jpはホスト名がMa1のウェブサーバであることを示す。
【0051】
図5にサーバ管理者が入出力手段35を用い作成した、或いはシステムダウン時に生成された停止情報の一例を示す。本例では、ホスト名「Ma2」は、24時間運転ではなく、午前8時から午後10時以外は停止するということと、2000年11月11日は、全日運転を停止するという情報が格納されている。このような停止情報を停止情報DB更新手段27に送信し、停止情報DB28に追加あるいは更新する。
【0052】
停止情報DB28の情報格納例を図6に示す。本例では、各ウェブサーバ装置に関する固定情報テーブル(1)と、複数の停止データを取り込む可変情報テーブル(2)とを有する。本例ではホストMa1は、24時間運用であり、10/10の午後0時から午後2時までと、10/11の午後0時から午後2時まで停止すること、ホストMa2は午前8時から午後10時までしか運転されていないことが記載されている。
【0053】
よって、ウェブクライアント1が10/10の午後1時にホスト名Ma1のウェブサーバのURL(ma1)にアクセスした場合、返信監視手段24からの指示を受け停止情報取出送信手段25は本DBの情報を元に、「ただ今、ma1は運転停止中です。午後2時に再開予定です。」という停止情報ページをウェブクライアント1に返す。
【0054】
また、10/10の午後11時にma2にアクセスした場合、同様にして本DBの情報を元に、「ただ今、ma2は運転停止中です。本URLは24時間運転ではありません。運転時間は午前8時から午後10時までとなっておりますので運転時間内に再度おいで頂きます様お願いします。」という停止情報ページをウェブクライアント1に返すことが出来る。
【0055】
また、可変情報テーブル(2)のID3は、停止情報送信手段34によって、Ma2がシステムダウンするときに自動的に停止時間を書き込み登録されたもので、再起動したときにID3は削除される。この様にし計画された停止ではなく緊急に停止したような場合でもウェブサーバの運転が止まっているということを通知出来る。
【0056】
尚、これらの固定情報テーブル、可変情報テーブルはプロキシサーバ2を立ち上げた際に主メモリにロードしておく。
【0057】
次に、本実施形態の動作について図面を参照して説明する。先ず図7のフローチャートを参照し、サーバ管理者がウェブサーバ3の入出力手段35から停止情報を新規登録あるいは更新する際のウェブサーバ3やプロキシサーバ2の動作を説明する。
【0058】
サーバ管理者は入出力手段35より停止情報の新規登録/更新要求をする(ステップA1)。新規登録要求であれば(ステップA2)停止情報送信手段34は停止情報DB更新手段27或いは停止情報ファイル群36から停止情報入力用テンプレートを取得し入出力手段35に表示する(ステップA3)。
【0059】
次に、サーバ管理者は画面上でホスト名(Ma1)、停止予定(停止月日 停止時刻−再開時刻)を入力し、送信指示する(ステップA4)。
【0060】
ステップA2で管理者が登録済み停止情報の変更や削除を指定した場合、停止情報送信手段34は管理者にホスト名(Ma1)を入力させ取得したホスト名と共に停止情報読出要求を停止情報DB更新手段27へ送信する(ステップA5)。
【0061】
停止情報DB更新手段27が停止情報DB28の固定情報テーブル、変動情報テーブルよりMa1の停止情報を読み出し返信する(ステップA6)。停止情報送信手段34は受信した停止情報を入出力手段35に表示し(ステップA7)、サーバ管理者は画面上で停止情報を変更或いは削除し停止情報DB28の更新を指示する(ステップA8)。
【0062】
上記ステップA4或いはステップA8での指示を受けると停止情報送信処理手段34が上記入力情報、或いは変更後情報或いは削除指示を停止情報DB更新手段27宛に送信する(ステップA9)。
【0063】
停止情報DB更新手段27が停止情報DB28を更新する。即ち、可変情報をID2に追加し、固定情報のMa1の停止予定欄に「2」を追記する。又は可変情報を変更後情報で上書きし、或いは可変情報を削除し、固定情報のMa1の停止予定欄から対応するIDを削除する(ステップA10)。
【0064】
次に図8のフローチャートを参照し、ウェブサーバ3がシステムダウンした際の停止情報の自動登録と、再起動後の自動削除動作を説明する。
【0065】
停止情報送信手段34は運転制御手段37よりシステムダウン通知を受信すると(ステップB1)、先ず停止情報ファイル群36から停止情報通知用テンプレートを取得し、次にカレンダクロックより日時を取得し停止日時、時刻をテンプレートに書き込み停止情報DB更新手段27宛に送信する。そして停止情報送信済みフラグを不揮発性記憶(例えばバッテリバックアップされたCMOSメモリ、或いはハードディスク)に書込む(ステップB2)。
【0066】
停止情報DB更新手段27が上記停止情報を受信し、停止情報DB28に登録する。即ち、可変情報を追加し対応する固定情報の停止予定欄に識別を追記する(ステップB3)。
【0067】
修復作業が実施され、ウェブサーバ3が再起動される(ステップB5)と、システムダウン通知が無いことを確認(ステップB6)し、不揮発性記憶の停止情報送信済みフラグをチェック(ステップB7)し、オンであれば停止情報DB更新手段27に停止情報削除指示を送信すると共に停止情報送信フラグをオフにする(ステップB8)。
【0068】
これを受けた停止情報DB更新手段27が停止情報DB28よりMa2の変動情報を削除する(ステップB9)。
【0069】
次に図9及び図10のフローチャートを参照し、本実施形態のシステムがウェブクライアント1から提供情報ファイル要求を受けた際の動作を説明する。先ずウェブサーバが稼働中の場合の動作を説明する。
【0070】
図9を参照し、ウェブクライアント1の利用者は宛先URLをウェブサーバ3の提供情報ファイル33−1とし閲覧要求するとクライアント要求手段11により宛先URLが通信手段14に渡され、ダイヤルアップサーバ8にこれらが送られ、URLのIPアドレスが取得され、インターネット7を通じプロキシサーバ2宛にこれらの要求情報が送信される(ステップC1)。
【0071】
INET通信手段20がクライアントからの情報(データ、宛先情報、送信元情報)を受信しHTTP解析手段21に渡す(ステップC2)。
【0072】
HTTP解析手段21は受けた情報を受信バッファ211に格納する(ステップC3)。HTTP解析手段21は受信バッファ211よりクライアント要求情報を取出し、アドレス変換情報212を用い、宛先のURLをウェブサーバ3のホスト名−ファイル指定に変換し、送信バッファ221のホスト名に対応するバッファに格納する(ステップC4)。
【0073】
ウェブサーバ送信手段22が送信バッファ221よりクライアント要求情報を読出しLNET通信手段29に送信要求し、送信指示時刻を送信バッファ221の対応バッファの対応エントリに追記する(ステップC5)。
【0074】
図10に移り、LNET通信手段29は宛先ホストのIPアドレスへの変換をし、LNET通信手段39へ通信接続要求し(ステップC6)通信接続される(ステップC7)。ウェブサーバ3のLNET通信手段39がクライアント要求を受信し、HTTP解析手段31にて解析され、返信情報送信手段32が要求された提供情報ファイルを読出し、プロキシサーバ2の返信情報受信手段23宛に送信する(ステップC8)。
【0075】
LNET通信手段29を通じ、返信情報受信手段23が提供情報ファイルを受信し、送信バッファ221のウェブサーバ3対応バッファより対応のクライアント要求情報を取り出し(バッファのエントリもクリア)、送信元情報(ウェブクライアント1のIPアドレス)を宛先情報としクライアント送信手段26に渡す(ステップC9)。
【0076】
図9に戻り、クライアント送信手段26は提供情報ファイルを宛先(ウェブクライアント1)に送信し(ステップC10)、ウェブクライアント1で返信情報受信・表示手段12が提供情報ファイルを解析し表示装置13に表示する(ステップC11)。
【0077】
尚、ステップC5で送信指示時刻を送信バッファ221の対応バッファの対応エントリに追記すると、返信監視手段24による監視(ステップC12)の対象となるが所定時間内にステップC9によるこのエントリのクリアが行われタイムアウトとはならない。
【0078】
次にウェブサーバ3の停止期間にウェブクライアント1からの要求を受けた場合の動作を説明する。
【0079】
ステップC1〜C5迄は前記同様で、ステップ5の次に返信監視手段24による監視が開始され送信バッファ221内に送信要求時刻が現在時刻より所定時間分前(例えば8秒前)の情報が有るか定周期でチェックし(ステップC12)、有れば返信監視手段24は該当情報を送信バッファ221より取出し宛先情報を停止情報取出送信手段25に渡す(ステップC13)。
【0080】
停止情報取出送信手段25が停止情報DB28より、ホスト名をキーとし停止情報を読み出し(ステップC14)、その情報と現在日時を比較し停止期間であれば停止情報を基に停止情報ページを作成し、宛先情報(要求元)と共にクライアント送信手段26に渡す。停止期間でなければ異常終了の旨と宛先情報をクライアント送信手段26に渡す(ステップC15)。
【0081】
クライアント送信手段26は停止情報ページを宛先(ウェブクライアント1)に送信し(ステップC10)、返信情報受信・表示手段12が停止情報ページを表示装置13に表示する(ステップC11)。
【0082】
これによりクライアントは要求したファイルが返信されなかった旨と理由と要求先URLの再開日時を把握する。
【0083】
次に本実施形態の他の実施例について説明する。図3を参照し、この実施例ではプロキシサーバ2は前記返信情報を所定時間に受信したかを監視する返信監視手段24を持たず、ウェブサーバ送信手段22Bが相手ウェブサーバに送信出来なかったことで停止情報取り出し送信を行う。
【0084】
図9を参照し、この実施例の動作について前記実施例と相違する部分を説明する。ウェブサーバ送信手段が送信バッファ221よりクライアント要求情報を取り出し、LNET通信手段29に送信指示した後、その結果を待ち合わせる(ステップC5)。
【0085】
図10に移り、LNET通信手段61は宛先ホストのIPアドレスへの変換をし、LNET通信手段62へ通信接続要求し(ステップC6)、通信接続失敗であれば(ステップC7)、ウェブサーバ送信手段22Bがクライアント要求情報内の送信元情報と宛先ホスト名と共に停止情報取出送信手段25に停止情報の取り出しと送信を指示する(ステップC16)。
【0086】
図9に戻り、停止情報取出送信手段25が前記ステップC14、C15の動作を行い、クライアント送信手段26が前記ステップ10の動作を行いウェブクライアント1の返信情報受信・表示手段12が停止情報ページを表示装置13に表示する。
【0087】
ウェブサーバ3の稼働を停止する際にはLNET通信手段39とLAN6との接続をディスエイブルにしておくと言う運用ができるのであればこの実施例の方式でも本発明の目的は達成出来る。
【0088】
尚、前記最初の実施例において、返信監視手段24による返信情報の監視とウェブサーバ送信手段による送信失敗の検出の両方を行い、それぞれが停止情報取出送信手段25に指示する方式にしてもよい。
【0089】
次に、本発明のシステムの第2実施形態について説明する。図11を参照し、本実施形態ではプロキシサーバ2Aのアドレス変換情報212Aに各ウェブサーバが停止状態に入ったことを示す停止フラグをウェブサーバ毎に設ける(アドレス変換情報212Aは図4の点線部分も含めた内容となる)。
【0090】
そして、HTTP解析手段21Aがウェブクライアント1からの要求情報を解析し、宛先URLを宛先ウェブサーバ(ホスト名)に変換する際に、停止フラグをチェックしオンであればその時点でウェブサーバ送信手段22のコールを抑止し、停止情報の取出しと確認と送信を指示する。
【0091】
又、停止情報取出送信手段25Aはウェブサーバ3が停止状態に入った後の初期のクライアントからのアクセスで、返信監視手段24から指示を受けると停止情報を確認し対応する停止フラグをオンにし、稼働状態に戻った後の最初のクライアントからのアクセスで、HTTP解析手段21Aから指示を受けると停止期間でなければ対応する停止フラグをオフにし、HTTP解析手段21Aにクライアント要求情報のウェブサーバ3への送信を指示する。これら以外は前記第1実施形態と同様である。
【0092】
次に本実施形態のプロキシサーバ2Aとウェブサーバ3の動作を図12及び図10のフローチャートを参照し説明する。
【0093】
先ず、ウェブサーバ3が稼働中の場合を説明する。INET通信手段20が要求を受信しクライアントからの情報をHTTP解析手段21Aに渡す(ステップD1)。HTTP解析手段21Aがクライアントからの情報を解析し、アドレス変換情報212Aを参照し宛先URLをウェブサーバのホスト名に変換し、対応する停止フラグもチェックする(ステップD2)。
【0094】
停止フラグがオフであり(ステップD3)、変換後クライアント要求情報が送信バッファ221の対応バッファに格納される(ステップD4)。
【0095】
ウェブサーバ送信手段22が送信バッファ221よりクライアント要求情報を読出しLNET通信手段29に送信指示し、送信指示時刻を送信バッファ221の対応バッファの対応エントリに追記する(ステップD5)。
【0096】
以降図10に示す前記ステップC6、ステップC7、ステップC8、ステップC9の動作が行われ、クライアント送信手段26が返信情報を宛先(ウェブクライアント1)に送信する(ステップD6)。
【0097】
次に、ウェブサーバ3が停止した場合を説明する。ウェブクライアント1からの提供情報ファイル要求を受けると前記同様ステップD1〜D5の処理動作が行われ、送信バッファ221のウェブサーバ3対応バッファの最新エントリのクライアント要求情報に送信指示時刻が追記されると、このエントリが返信監視手段24の監視対象となる。
【0098】
送信指示時刻が所定時間分前の情報有りと判定され(ステップD7)、返信監視手段24が該当情報を取出し停止情報取出送信手段25に渡す(ステップD8)。停止情報取出送信手段25が停止情報DB28より該当ホスト名の停止情報を読出し(ステップD9)、現在日時(カレンダクロックより取得)が停止期間に入っているため(ステップD10)、停止情報を基に停止情報ページを作成し、宛先情報と共にクライアント送信手段26に渡す。又、コール元が返信監視手段24であり(停止フラグがオフと見なす)該当するホスト名の停止フラグをオンセットする(ステップD11)。
【0099】
クライアント送信手段26が停止情報ページを宛先(ウェブクライアント1)に送信する(ステップD6)。
【0100】
停止フラグがオンセットされてからウェブサーバ3の提供情報ファイル要求を受けると、前記ステップD1、D2の処理動作が行われ停止フラグがオンであり(ステップD3)、HTTP解析手段21Aはウェブサーバ3への要求情報送信(ウェブサーバ送信手段22のコール)は抑止し、ホスト名、送信元情報(ウェブクライアント1のIPアドレス)、指示(停止情報の確認と送信)を停止情報取出送信手段25Aに渡す(ステップD12)。
【0101】
停止情報DB28より該当停止情報を読み出し(ステップD9)、停止期間である為(ステップD10)上記同様ステップD11、D6の処理動作を行う。
【0102】
ウェブサーバ3が稼働状態に復帰した後のウェブクライアント1からの最初のアクセス要求を受けると、ステップD1、D2、D3、D12、D9、D10の処理動作が行われ、停止情報取出送信手段25Aがコール元がHTTP解析手段21Aであり(停止フラグがオンであると見なし)停止フラグをオフにし、HTTP解析手段21Aに抑止中のクライアント要求情報のウェブサーバ3への送信を行う様指示する。要求元が返信監視手段24やウェブサーバ送信手段22であれば異常終了の旨と宛先情報をクライアント送信手段26に渡す(ステップD13)。
【0103】
上記第1及び第2実施形態の説明では宛先のウェブサーバ識別をホスト名としたが、ホスト名の代わりにウェブサーバのIPアドレス乃至この末尾番号を用いてもよい。この場合アドレス変換情報212、212Aや停止情報のホスト名の欄はIPアドレス乃至この末尾番号とする。
【0104】
尚、上記第1及び第2実施形態の説明では、プロキシサーバ2のキャッシュ機構については特に説明しなかったが、本発明は、プロキシサーバ2の従来の技術によるキャッシュ機構との共存も可能であり、本発明の制約するところではない。
【0105】
即ち、HTTP解析手段21がURL名をホスト名に変換する前の段階で、URLでキャッシュのディレクトリを索引しヒットすればキャッシュ上の提供情報ファイルが返信され以降の処理動作(停止情報取出送信手段25コール等)は行わないのでウェブサーバ3が停止状態でもキャッシュは有効利用される。
【0106】
又、停止期間中にキャッシュのディレクトリ索引がミスヒットすればクライアント送信手段26が停止情報を返信する際にこれをディレクトリ上で停止情報と分かる形でキャッシュ登録し、上記停止フラグリセットで停止情報表示のあるディレクトリエントリを無効化すればよい。
【0107】
【発明の効果】
以上説明した様に、本発明のシステムはプロキシサーバ2が要求された提供情報を取得出来なかった場合、代わりにその理由や再開予定時刻を含む停止情報を返信するので、ウェブクライアントはウェブサーバの障害なのかネットワークトラブルなのかが容易に把握でき、クライアントは要求情報への再アクセスの最短のタイミングを把握できると言う第1の効果を有す。
【0108】
従って、クライアントは情報検索をより効率的に行え、且つ、必要な情報の取りこぼしの可能性を減少させると言う第2の効果も有する。
【0109】
本発明の第2実施形態のシステムではプロキシサーバが要求されたURLを含むウェブサーバを判定した時点で、ウェブサーバへの要求情報送信を抑止し停止情報送信処理に切り替えるので、LNET通信手段29による停止ウェブサーバへの通信接続のリトライ等が防止されローカルネットや、他の稼働中ウェブサーバによるサービスへの影響を防止できると言う第3の効果も有する。
【図面の簡単な説明】
【図1】本発明のプロキシサーバとウェブサーバを含むシステムの例と、これを利用するウェブクライアント側も示す概略図。
【図2】図1のウェブクライアント1の具体的な構成を示すブロック図。
【図3】プロキシサーバ2とウェブサーバ3を含む本発明の第1実施形態のシステムの詳細構成を示すブロック図。
【図4】図3のアドレス変換情報212や図11のアドレス変換情報212Aの例を示す図。
【図5】サーバ管理者が図3の入出力手段35を用い作成した、或いは図3の停止情報送信手段34がシステムダウン時に生成する停止情報の例を示す図。
【図6】図3の停止情報DB28の情報格納例を示す図。
【図7】サーバ管理者が入出力手段35から停止情報を新規登録あるいは更新する際のウェブサーバ3やプロキシサーバ2の動作を示すフローチャート。
【図8】図3のウェブサーバ3がシステムダウンした際の停止情報の自動登録と、再起動後の自動削除動作を示すフローチャート。
【図9】本発明の第1実施形態のシステムがウェブクライアント1から提供情報ファイル要求を受けた際の動作を示すフローチャート。
【図10】本発明の第1実施形態のシステムがウェブクライアント1から提供情報ファイル要求を受けた際の動作を示すフローチャート。
【図11】本発明の第2実施形態のシステムのプロキシサーバ2Aの詳細構成を示すブロック図。
【図12】本発明の第2実施形態のシステムの動作を示すフローチャート。
【図13】従来のプロキシサーバとウェブサーバを含むシステムを説明する為の図。
【符号の説明】
1 ウェブクライアント
11 クライアント要求手段
13 表示装置
14 通信手段
2 プロキシサーバ
20 通信手段
20 INET通信手段
21、21A HTTP解析手段
211 受信バッファ
212 アドレス変換情報
212A アドレス変換情報(停止フラグ付き)
22、22B ウェブサーバ送信手段
221 送信バッファ
23 返信情報受信手段
24 返信監視手段
25、25A 停止情報取出送信手段
26 クライアント送信手段
27 停止情報DB更新手段
28 停止情報DB
29 LNET通信手段
3 ウェブサーバ
31 HTTP解析手段
32 返信情報送信手段
33 提供情報ファイル群
34 停止情報送信手段
35、52 入出力手段
36 停止情報ファイル群
37 運転制御手段
39、51 LNET通信手段
5 管理端末
53 停止情報更新手段
6 LAN
7 インターネット
8 ダイヤルアップサーバ
9 公衆電話回線
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a system and server including a proxy server and a web server that are accessed through the Internet, and a program mounted on the system, and in particular, the web server that is communicatively connected to the proxy server temporarily stops operation and service operation. In particular, the present invention relates to a proxy server and system for notifying the access source of the fact and the restart date of operation and service, and a program installed therein.
[0002]
[Prior art]
A system including a conventional proxy server and a web server (a server accessed through a webnet) will be described with reference to FIG. In FIG. 13, the web client 100 requests the proxy server 200 to transmit the provided information file 304 on the web server 300 through the Internet by the client request unit 101 and the communication unit 103, and the reply information reception / display unit 102 receives the request. The reply information is analyzed and displayed on the screen.
[0003]
The proxy server 200 is a firewall that mediates Internet access of the web server 300 and the server / terminal 400 and access to these devices from the Internet so that the IP addresses of these devices are not visible from the Internet.
[0004]
When the INET (internet) communication unit 201 receives the file transmission request from the web client 1, it passes the received information to the HTTP (hypertext transfer protocol) analysis unit 202, analyzes the received information by the HTTP analysis unit, and receives the destination URL (unform resource). locator) determines the web server 300 where the requested file is located, and the communication means 203 to the web server requests the web server 300 to transmit the designated file.
[0005]
Further, the reply information receiving means 205 receives the file from the web server 300 and the client sending means 206 sends it to the web client 100.
[0006]
When the reply information receiving unit 205 cannot receive the reply information from the web server 300, the reply information receiving unit 205 requests the client sending unit 206 to notify the file fetch error, and an error has occurred in the web client 1 via the client sending unit 206. Notify that.
[0007]
Further, as a general technique for reducing the occurrence rate of file fetch error, as disclosed in Japanese Patent Laid-Open Publication No. 2000-070441 “Proxy Server and LAN System”, the proxy server 200 and the file When the file requested by the HTTP analysis unit 202 exists in the cache by making a copy and configuring the cache, the file in the cache is delivered to the client transmission unit 206 without calling the transmission unit 203 to the web server. The method is known.
[0008]
[Problems to be solved by the invention]
However, a system including a conventional proxy server and web server has the following problems.
[0009]
The first problem is that it is impossible to grasp whether the web server 300 is temporarily down or somewhere in the network path is disconnected by error notification. When the requested file information is essential information, Since the retrieval is attempted at all times, a wasteful man-hour is required for the retrieval operation, which leads to a wasteful use of the Internet or a local net (a network between the proxy server and the web server).
[0010]
In particular, useless file extraction man-hours are generated when files are extracted from the web server 300 that is not in 24-hour non-stop operation or the web server 300 that is stopped for maintenance.
[0011]
In addition, the web client user cannot grasp any of the causes of the error, such as the temporary stop of the web server 300, the failure or congestion of the network, the abolition of the service, or the destination designation error, and is dissatisfied with the service of the web server. You may gradually stop using it.
[0012]
The second problem is that since the cache mechanism has a physical upper limit, it is deleted from the cache in consideration of the access frequency or the elapsed time. Is not completely guaranteed to retrieve the file.
[0013]
The object of the present invention is to generate a page that conveys the operation information of the web server instead of the conventional error return when the subordinate web server does not return a response for some reason, and the web server is stopped. Provide proxy server and web server systems, servers, and programs installed in them to increase the chances of acquiring information by reducing the scheduled restart time to the web client and reduce unnecessary file retrieval man-hours and communication There is to do.
[0014]
[Means for Solving the Problems]
A system including a first proxy server and a web server of the present invention includes a proxy server that is communicatively connected to the Internet and one or more web servers that are communicatively connected to the proxy server, and is accessed by a web client via the Internet. The proxy server analyzes the request information from the web client and determines the web server on which the requested information is placed, and transmits the request information to the web server Means for receiving information requested by the web client as reply information from a web server, means for sending to the client for sending reply information to the request source, means for detecting that reply information could not be received And store fixed and variable outages for each web server The stop information data and the detection and request source information are received, the corresponding stop information of the web server is extracted from the stop information data, and the operation of the web server is stopped based on the stop information after confirming that the stop time is in the stop period. A stop information page including a request information and a stop information extraction / transmission unit that includes the request source information and a stop information extraction / transmission unit that includes the stop information page. Upon receipt, a stop information page is transmitted to the requesting web client instead of reply information.
[0015]
A system including a second proxy server and a web server according to the present invention is the first system, wherein the web server adds, updates, and deletes stop information in accordance with an operator's instruction and input information. Means for stopping information transmitting means for transmitting instructions and contents to the proxy server, wherein the proxy server receives instructions for adding, updating, and deleting stop information and contents from the subordinate apparatus connected to the communication and updates the stop information data It is characterized by also having.
[0016]
In the system including the third proxy server and the web server according to the present invention, in the second system, the stop information transmission unit of the web server performs the process according to an instruction or input information of an operator. Receives system down notification of its own device, generates stop information with its time information embedded, automatically sends it to the proxy server, and checks whether or not the automatic transmission of the stop information has been executed upon successful restart of its own device If so, a stop information deletion instruction is also transmitted.
[0017]
The first proxy server of the present invention is a proxy server that communicates and connects a web server to the subordinate and connects to the Internet. The requested information is analyzed by analyzing request information from a web client on the Internet. Analyzing means for determining a web server; transmitting means for transmitting the request information to the web server; means for receiving information requested by the web client as return information from the web server; Means for transmitting to the client to send to the request source, means for detecting that the reply information could not be received, stop information data storing a fixed stop period and a variable stop period of each web server, The detection is received together with the requester information, and the corresponding stop information of the web server is extracted from the stop information data. Confirm that the suspension period is in progress, and create a stop information page including the fact that the web server is stopped, the reason for the stop, and the scheduled restart time based on the stop information, and pass it to the client sending means together with the request source information It has stop information extraction / transmission means, and when the transmission means to the client receives the stop information page, the stop information page is transmitted to the requesting web client instead of reply information.
[0018]
In the second proxy server of the present invention, in the first proxy server, the transmission means to the web server has a transmission buffer corresponding to the destination web server, and is read from one entry of the buffer. When the communication means is instructed to transmit the request information, the time is added to the entry, the reply information receiving means clears the entry corresponding to the received information in the transmission buffer, and the detecting means transmits to the transmission buffer. It is characterized in that it is detected that the reply information could not be received by periodically checking whether there is request information whose designated time is a predetermined time before the current time.
[0019]
In the third proxy server of the present invention, in the first proxy server, the transmission unit to the web server also includes the detection unit, and the communication unit transmits the request information when instructing the communication unit to transmit the request information. The detection is performed by detecting that the connection with the destination web server has failed.
[0020]
In the fourth proxy server of the present invention, in the first proxy server, the proxy server detects that the reply information has not been received, and the stop information extraction / transmission means returns the reply information from the stop information data. If there is a stop flag for each web server that is turned on if the time is within the stop period, the analysis means analyzes the request information from the web client and is requested. When determining the web server where the information is placed, the stop flag is checked, and if it is on, the request information transmission request to the web server is suppressed, and the stop information retrieval and transmission means is identified with the web server identification and the request source information. It is characterized in that confirmation of stop information and transmission are instructed.
[0021]
The web server of the present invention transmits instructions and contents for adding, updating, and deleting stop information to the upper proxy server according to the instructions and input information of the operator, and receives a system down notification of its own device. Generates stop information with embedded time information and automatically sends it to the proxy server. Upon successful restart of the device itself, checks whether execution of automatic transmission of the stop information is performed. It is characterized by having stop information transmission means.
[0022]
The first program of the present invention is a program that is installed in a proxy server that is connected to a web server under communication and is connected to the Internet, and is information requested by analyzing request information from a web client on the Internet. An analysis procedure for determining the web server on which the web server is placed, a transmission procedure to the web server for transmitting the request information to the web server, and a procedure for receiving information requested by the web client as return information from the web server And a procedure for sending the reply information to the requester to the client, a procedure for detecting that the reply information could not be received, and a suspension that stores a fixed suspension period and a variable suspension period for each web server. Information data, and the detection information of the web server that receives the detection together with the request source information And confirms that the suspension period is in progress, and creates a stop information page including the fact that the operation of the web server is stopped, the reason for the stop and the scheduled restart time based on the stop information, and sends it to the client together with the request source information. Sending handorderStop information retrieval and transmission hand to pass toA program for causing a server computer to execute the order, Sending procedure to the clientTheWhen the stop information page is received, the stop information page is sent to the requesting web client instead of the reply information.ProcedureAnd features.
[0023]
The second program of the present invention is the first program installed in the proxy server,, Said cSending procedure to web serverIn addition,Send buffer corresponding to destination web serverUseWhen the communication procedure is instructed to transmit the request information read from one entry in the buffer, the time is added to that entry.Including the procedure, Procedure for receiving the reply informationInClear the entry corresponding to the reception information in the transmission buffer.Including procedures, The inspectionHand outorderTheDetects that the reply information could not be received by periodically checking whether there is request information whose transmission instruction time is a predetermined time before the current time in the transmission buffer.ProcedureAnd features.
[0024]
A third program of the present invention is the first program, and a transmission procedure to the web serverIn addition,When the communication procedure is instructed to send request information, the communication procedure detects that the connection with the destination web server has failed.ShiDetectionIncluding proceduresIt is characterized by that.
[0025]
A fourth program according to the present invention is the first program, whereinRegistrationStop information retrieval and transmission procedure,The stop information of the web server that did not respond is extracted from the stop information data, andAt the time ofIf the time is in the suspension periodBaIncluding the procedure of turning on the stop flag for each web server,In addition,When analyzing the request information from the web client and determining the web server where the requested information is located, the stop flag is checked, and if it is on, the request information is not sent to the web server and the stop information is suppressed. The web server identification determined in the retrieval and transmission procedure, the sender information, and the confirmation and transmission of stop information are instructed.This includes proceduresAnd features.
[0026]
A fifth program of the present invention is a program installed in a web server, and transmits instructions and contents for adding, updating, and deleting stop information to an upper proxy server in accordance with instructions and input information from an operator. DoProcedure andUpon receipt of the system down notification of its own device, it generates stop information embedded with the time information, automatically transmits it to the proxy server, and checks whether or not automatic transmission of the stop information is executed when the own device is restarted successfully. Stop information transmission procedure to send stop information deletion instruction if completedAre executed on the server computer.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Next, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing an example of a system including a proxy server and a web server according to the present invention, and a web client side using the system.
[0028]
The system of the present invention comprises a proxy server 2 connected to the Internet 7, and web servers 3,... 4 and a management terminal 5 connected thereto via local communication means such as a LAN 6 and the like.
[0029]
Further, a web client 1 using the system of the present invention is connected to the Internet 7 via, for example, a public telephone line 9 and a dial-up server 8. The web client 1 requests the proxy server 2 to transmit the provided information file on the web server 3 and browses the received file.
[0030]
The proxy server 2 is connected to the LAN 6 from the web server 3,... 4, the management terminal 5, another server or client terminal (not shown) to the Internet 7 connection device, or connected from the Internet 7 connection device to the LAN 6. It is conventional that the access to the device is mediated so that the IP address of the LAN6 connection device is not visible from the Internet 7, but the subordinate web servers 3,... 4 do not return a response for some reason. Sometimes, instead of the conventional error return, a file containing the operation information of the web servers 3 and 4 is generated, and the web client is informed of the reason that the web server has stopped and the scheduled restart time. To do.
[0031]
FIG. 2 is a block diagram showing a specific configuration example of the web client 1. The web client 1 is a personal computer, a web terminal device, or the like, and client request means 11 for accessing the URL requested by the client and return information receiving / display means for receiving and analyzing the provided information from the requested URL and displaying it on the display device 13 12 and communication means 14.
[0032]
The web client 1 may be a mobile phone or a mobile terminal having a browsing processing function. In this case, the web client 1 is connected to the Internet 7 not by the public telephone line 9 but by a wireless network including a base station.
[0033]
FIG. 3 is a block diagram showing a detailed configuration example of the system of the present invention including the proxy server 2 and the web server 3. The proxy server 2 includes an INET (Internet) communication unit 20, an HTTP analysis unit 21, address conversion information 212, a web server transmission unit 22, an LNET (local net) communication unit 29, a reply information reception unit 23, a client transmission unit 26, a reply It includes a monitoring unit 24, a stop information extraction / transmission unit 25, a stop information DB (database) 28, and a stop information DB update unit 27.
[0034]
The INET communication means 20 is connected to the Internet 7 and has an Internet communication function. That is, the IP address of the proxy server 2 is held, information having the same destination IP address is received, the destination IP address received from the client transmission unit 26 is set as the destination address, and the IP address of the own apparatus is set as the source to the Internet 7. Send.
[0035]
The HTTP analysis unit 21 includes a reception buffer 211 having a plurality of entries, and stores information from the client received from the INET communication unit 20 in the reception buffer 211. These are sequentially extracted and analyzed, and the portion corresponding to the web server of the destination URL is converted into the host name of the web server using the address conversion information 212. Then, information (data, transmission source information) from the client is passed to the web server transmission means 22 with the destination host name attached.
[0036]
The web server transmission means 22 has a transmission buffer 221 for each web server, and stores the received information from the client in the corresponding transmission buffer. The LNET communication unit 29 is instructed to sequentially read information from each buffer and transmit it to the corresponding web server. The instruction time (for example, 1 second to 0.5 second unit) is added to the corresponding entry of the transmission buffer 221.
[0037]
The LNET (local net) communication unit 29 transmits the information received from the web server transmission unit 22 or the stop information DB update unit 27 to the other party's LNET communication unit 39 or the like. The destination host name received in association with the information is converted into an IP address by DNS (Domain Name System) or the like to obtain the destination IP address, and the source IP address (own device IP address) is added to transmit the information.
[0038]
If the destination IP address of the information from the web server or the management terminal is its own device IP address, it is received and passed to the reply information receiving means 23 and the stop information DB updating means 27 according to the higher layer destination. When passing, the source IP address is converted to a host name as necessary.
[0039]
When the reply information receiving means 23 receives the provided information file from the web server 3... 4 via the LNET communication means 29, the reply information receiving means 23 extracts the information from the buffer corresponding to the transmission source host name of the transmission buffer 221 and clears the entry. . Out of the extracted information, the transmission source information is used as destination information, and is delivered to the client transmission means 26 together with the provided information file.
[0040]
The client transmission means 26 receives the provided information file and the destination information (destination IP address, etc.) from the reply information receiving means 23 or receives the stop information page and the destination information from the stop information extraction / transmission means 25 via the INET communication means 20. To the web client 1).
[0041]
The reply monitoring unit 24 periodically checks (for example, every 4 seconds) whether each transmission entry in the transmission buffer 221 has a transmission instruction time that is a predetermined time (for example, 8 seconds) before the current time. When request information from a client for which reply information has not been received even after a predetermined time has passed after the transmission instruction to the LNET communication means 29 is detected, information on the entry is extracted (at the same time deleted from the buffer), and source information (on the Internet 7) Destination information), host name, and instruction (stop information extraction / transmission instruction) are passed to the stop information extraction / transmission means 25.
[0042]
The stop information DB 28 includes a fixed information table including the operation time and stop data identification (ID) of each web server (host name), and a variable information table 2 including a plurality of stop data.
[0043]
The stop information extraction / transmission means 25 extracts stop information corresponding to the host name from the stop information DB 28, confirms that the current time of acquisition from the calendar clock is the stop period of the web server, and stops information page based on the stop information. Is sent to the client transmission means 26 together with the destination information.
[0044]
The stop information DB update means 27 receives a read request for registered stop information and a request for additional update of stop information from the stop information transmission means 34 of the web server 3 and the stop information update means 53 of the management terminal 5, and Reply and stop information DB28 are updated.
[0045]
The web server 3 includes HTTP analysis means 31, reply information transmission means 32, provided information file group 33, stop information transmission means 34, stop information file group 36, input / output means 35, operation control means 37, and LNET communication means 39. .
[0046]
The HTTP analysis unit 31 analyzes the request information from the web client 1 and calls the return information transmission unit 32 if the return information is requested. The reply information transmission unit 32 reads the designated provision information file from the provision information file group 33 and transmits it to the reply information reception unit 23 of the proxy server 2.
[0047]
The input / output means 35 is an input / output device such as a keyboard and a display device. The stop information file group 36 is a stop information file created by the server administrator or a template file for creation. The operation control unit 37 controls and manages the state of the web server 3 (operation state, failure state, standby state, operation power off state).
[0048]
The stop information transmission unit 34 receives an instruction from the input / output unit 35 and transmits an instruction to update the stop information and an update file to the stop information DB update unit 27. In addition, the system down notification is received from the operation control means 37, the time information is added to the stop information, the stop information DB update means 27 is instructed to register, and the stop information registered by the restart is instructed to be deleted automatically.
[0049]
The management terminal 5 is a terminal that allows the server administrator to manage the server from his / her desk. The stop information update means of this apparatus is the same as the stop information transmission means 34 except for the automatic registration / deletion function of stop information when the system is down. With the function of.
[0050]
FIG. 4 is a diagram showing an example of the address conversion information 212. The address conversion information 212 is information indicating the correspondence between the URL name and the host name of the web server. For example, the ma1. abc. co. jp indicates that the host name is a web server with Ma1.
[0051]
FIG. 5 shows an example of stop information created by the server administrator using the input / output means 35 or generated when the system is down. In this example, information that the host name “Ma2” is not operated for 24 hours but is stopped from 8:00 am to 10:00 pm and that all day operation is stopped on November 11, 2000 is stored. ing. Such stop information is transmitted to the stop information DB updating means 27 and added or updated to the stop information DB 28.
[0052]
An example of information storage in the stop information DB 28 is shown in FIG. In this example, it has the fixed information table (1) regarding each web server apparatus, and the variable information table (2) which takes in some stop data. In this example, the host Ma1 is operated for 24 hours, and it is stopped from 00:00 to 2pm on 10/10 and from 00:00 to 2pm on 10/11, and the host Ma2 is started from 8:00 am It is described that the car is only operated until 10pm.
[0053]
Therefore, when the web client 1 accesses the URL (ma1) of the web server of the host name Ma1 at 1/10 pm on 10/10, the stop information extraction / transmission means 25 receives the instruction from the reply monitoring means 24, and the information of this DB is received. Originally, a stop information page “ma1 is currently out of service. Scheduled to resume at 2 pm” is returned to the web client 1.
[0054]
In addition, when accessing ma2 at 11:00 pm on 10/10, based on the information in this DB, “Ma2 is currently out of operation. This URL is not operated 24 hours. Operation time is 8 am It is from 10:00 to 10:00 pm, so please come again within the driving time. "You can return the stop information page to the web client 1.
[0055]
In addition, ID3 in the variable information table (2) is automatically registered with the stop time when the Ma2 system is down by the stop information transmission unit 34, and is deleted when restarted. In this way, it is possible to notify that the operation of the web server is stopped even in the case of an emergency stop instead of a planned stop.
[0056]
These fixed information table and variable information table are loaded into the main memory when the proxy server 2 is started up.
[0057]
Next, the operation of this embodiment will be described with reference to the drawings. First, the operations of the web server 3 and the proxy server 2 when the server administrator newly registers or updates stop information from the input / output means 35 of the web server 3 will be described with reference to the flowchart of FIG.
[0058]
The server administrator makes a new registration / update request for stop information from the input / output means 35 (step A1). If it is a new registration request (step A2), the stop information transmission means 34 acquires a stop information input template from the stop information DB update means 27 or the stop information file group 36 and displays it on the input / output means 35 (step A3).
[0059]
Next, the server administrator inputs the host name (Ma1) and the scheduled stop (stop date / time stop time-restart time) on the screen, and instructs transmission (step A4).
[0060]
When the administrator designates change or deletion of the registered stop information in step A2, the stop information transmission means 34 inputs the host name (Ma1) to the administrator and updates the stop information DB together with the acquired host name. It transmits to the means 27 (step A5).
[0061]
The stop information DB update means 27 reads out the stop information of Ma1 from the fixed information table and the fluctuation information table of the stop information DB 28 and returns it (step A6). The stop information transmitting unit 34 displays the received stop information on the input / output unit 35 (step A7), and the server administrator changes or deletes the stop information on the screen and instructs to update the stop information DB 28 (step A8).
[0062]
Upon receipt of the instruction in step A4 or step A8, the stop information transmission processing means 34 transmits the input information, post-change information or deletion instruction to the stop information DB update means 27 (step A9).
[0063]
The stop information DB update unit 27 updates the stop information DB 28. That is, the variable information is added to ID2, and “2” is added to the scheduled stop column of Ma1 of the fixed information. Alternatively, the variable information is overwritten with the changed information, or the variable information is deleted, and the corresponding ID is deleted from the scheduled stop column of Ma1 of the fixed information (step A10).
[0064]
Next, with reference to the flowchart of FIG. 8, automatic registration of stop information when the web server 3 goes down and automatic deletion operation after restart will be described.
[0065]
When the stop information transmission unit 34 receives the system down notification from the operation control unit 37 (step B1), the stop information transmission unit 34 first acquires a stop information notification template from the stop information file group 36, then acquires the date and time from the calendar clock, The time is written in the template and sent to the stop information DB update means 27. Then, the stop information transmission completion flag is written in a nonvolatile memory (for example, a battery-backed CMOS memory or a hard disk) (step B2).
[0066]
The stop information DB update unit 27 receives the stop information and registers it in the stop information DB 28. That is, the variable information is added and the identification is added to the stop schedule column of the corresponding fixed information (step B3).
[0067]
When the repair work is performed and the web server 3 is restarted (step B5), it is confirmed that there is no system down notification (step B6), and the non-volatile storage stop information transmission flag is checked (step B7). If it is on, a stop information deletion instruction is transmitted to the stop information DB updating means 27 and the stop information transmission flag is turned off (step B8).
[0068]
Receiving this, the stop information DB updating means 27 deletes the fluctuation information of Ma2 from the stop information DB 28 (step B9).
[0069]
Next, the operation when the system of this embodiment receives a provision information file request from the web client 1 will be described with reference to the flowcharts of FIGS. First, the operation when the web server is in operation will be described.
[0070]
Referring to FIG. 9, when the user of the web client 1 requests to browse the destination URL as the provision information file 33-1 of the web server 3, the destination URL is passed to the communication unit 14 by the client request unit 11, and is sent to the dial-up server 8. These are sent, the IP address of the URL is acquired, and the request information is sent to the proxy server 2 through the Internet 7 (step C1).
[0071]
The INET communication unit 20 receives information (data, destination information, transmission source information) from the client and passes it to the HTTP analysis unit 21 (step C2).
[0072]
The HTTP analysis means 21 stores the received information in the reception buffer 211 (step C3). The HTTP analysis means 21 extracts the client request information from the reception buffer 211, converts the destination URL into the host name-file designation of the web server 3 using the address conversion information 212, and stores it in the buffer corresponding to the host name of the transmission buffer 221. Store (step C4).
[0073]
The web server transmission means 22 reads the client request information from the transmission buffer 221 and makes a transmission request to the LNET communication means 29, and adds the transmission instruction time to the corresponding entry in the corresponding buffer of the transmission buffer 221 (step C5).
[0074]
Moving to FIG. 10, the LNET communication means 29 converts the IP address of the destination host, requests communication connection to the LNET communication means 39 (step C6), and is connected for communication (step C7). The LNET communication means 39 of the web server 3 receives the client request, is analyzed by the HTTP analysis means 31, and the reply information transmission means 32 reads the requested provision information file, and sends it to the reply information reception means 23 of the proxy server 2. Transmit (step C8).
[0075]
The reply information receiving means 23 receives the provided information file through the LNET communication means 29, extracts the corresponding client request information from the buffer corresponding to the web server 3 of the transmission buffer 221 (clears the buffer entry), and sends the source information (web client). 1) is sent to the client transmission means 26 as destination information (step C9).
[0076]
Returning to FIG. 9, the client transmission unit 26 transmits the provided information file to the destination (web client 1) (step C <b> 10), and the reply information receiving / display unit 12 analyzes the provided information file in the web client 1, Display (step C11).
[0077]
If the transmission instruction time is added to the corresponding entry in the corresponding buffer of the transmission buffer 221 in step C5, this entry is cleared by the step C9 within a predetermined time, although it is subject to monitoring by the reply monitoring means 24 (step C12). There is no timeout.
[0078]
Next, an operation when a request from the web client 1 is received during the stop period of the web server 3 will be described.
[0079]
Steps C1 to C5 are the same as described above, and monitoring by the reply monitoring unit 24 is started after step 5, and information in the transmission buffer 221 that the transmission request time is a predetermined time before the current time (for example, 8 seconds before) is present. The reply monitoring unit 24 extracts the corresponding information from the transmission buffer 221 and passes the destination information to the stop information extraction / transmission unit 25 (step C13).
[0080]
The stop information retrieval / transmission means 25 reads the stop information from the stop information DB 28 using the host name as a key (step C14), compares the information with the current date and time, and creates a stop information page based on the stop information if it is a stop period. , It is sent to the client transmission means 26 together with the destination information (request source). If it is not the stop period, the fact of abnormal termination and the destination information are passed to the client transmission means 26 (step C15).
[0081]
The client transmission unit 26 transmits the stop information page to the destination (web client 1) (step C10), and the reply information reception / display unit 12 displays the stop information page on the display device 13 (step C11).
[0082]
As a result, the client knows that the requested file has not been returned, the reason, and the restart date and time of the requested URL.
[0083]
Next, another example of this embodiment will be described. Referring to FIG. 3, in this embodiment, the proxy server 2 does not have the reply monitoring means 24 for monitoring whether the reply information is received at a predetermined time, and the web server sending means 22B has not been able to send to the partner web server. The stop information is extracted and transmitted.
[0084]
With reference to FIG. 9, the operation of this embodiment will be described with respect to the differences from the previous embodiment. The web server transmission means takes out the client request information from the transmission buffer 221 and instructs the LNET communication means 29 to transmit it, and then waits for the result (step C5).
[0085]
Moving to FIG. 10, the LNET communication means 61 converts the IP address of the destination host, makes a communication connection request to the LNET communication means 62 (step C6), and if the communication connection fails (step C7), the web server transmission means 22B instructs the stop information extraction / transmission means 25 together with the transmission source information and the destination host name in the client request information to extract and transmit the stop information (step C16).
[0086]
Returning to FIG. 9, the stop information extraction / transmission means 25 performs the operations of Steps C14 and C15, the client transmission means 26 performs the operation of Step 10, and the reply information reception / display means 12 of the web client 1 displays the stop information page. It is displayed on the display device 13.
[0087]
If the operation of disabling the connection between the LNET communication means 39 and the LAN 6 can be performed when the operation of the web server 3 is stopped, the object of the present invention can also be achieved by the system of this embodiment.
[0088]
In the first embodiment, both the monitoring of the reply information by the reply monitoring unit 24 and the detection of the transmission failure by the web server transmitting unit may be performed, and each may instruct the stop information extracting / transmitting unit 25.
[0089]
Next, a second embodiment of the system of the present invention will be described. Referring to FIG. 11, in this embodiment, a stop flag indicating that each web server has entered a stopped state is provided for each web server in address conversion information 212 </ b> A of proxy server 2 </ b> A (address conversion information 212 </ b> A is a dotted line portion in FIG. 4. Including the content).
[0090]
When the HTTP analysis unit 21A analyzes the request information from the web client 1 and converts the destination URL to the destination web server (host name), if the stop flag is checked and it is on, the web server transmission unit at that time 22 calls are stopped, and stop information retrieval, confirmation, and transmission are instructed.
[0091]
Also, the stop information retrieval / transmission means 25A is an access from the initial client after the web server 3 enters the stop state, and upon receiving an instruction from the reply monitoring means 24, confirms the stop information and turns on the corresponding stop flag, If an instruction is received from the HTTP analysis means 21A in the first access after returning to the operating state, the corresponding stop flag is turned off if it is not the stop period, and the HTTP analysis means 21A sends the client request information to the web server 3. Is instructed to send. Other than these, the second embodiment is the same as the first embodiment.
[0092]
Next, operations of the proxy server 2A and the web server 3 of the present embodiment will be described with reference to the flowcharts of FIGS.
[0093]
First, the case where the web server 3 is operating will be described. The INET communication means 20 receives the request and passes information from the client to the HTTP analysis means 21A (step D1). The HTTP analysis means 21A analyzes the information from the client, refers to the address conversion information 212A, converts the destination URL to the host name of the web server, and checks the corresponding stop flag (step D2).
[0094]
The stop flag is off (step D3), and the converted client request information is stored in the corresponding buffer of the transmission buffer 221 (step D4).
[0095]
The web server transmission unit 22 reads the client request information from the transmission buffer 221 and instructs the LNET communication unit 29 to transmit it, and adds the transmission instruction time to the corresponding entry in the corresponding buffer of the transmission buffer 221 (step D5).
[0096]
Thereafter, the operations of Step C6, Step C7, Step C8 and Step C9 shown in FIG. 10 are performed, and the client transmission means 26 transmits the return information to the destination (web client 1) (Step D6).
[0097]
Next, a case where the web server 3 is stopped will be described. When the provision information file request from the web client 1 is received, the processing operations of steps D1 to D5 are performed as described above, and the transmission instruction time is added to the client request information of the latest entry of the web server 3 corresponding buffer of the transmission buffer 221. This entry becomes the monitoring target of the reply monitoring means 24.
[0098]
It is determined that there is information for a predetermined time before the transmission instruction time (step D7), and the reply monitoring unit 24 extracts the relevant information and passes it to the stop information extraction / transmission unit 25 (step D8). The stop information extraction / transmission means 25 reads the stop information of the corresponding host name from the stop information DB 28 (step D9), and the current date and time (obtained from the calendar clock) is in the stop period (step D10). A stop information page is created and delivered to the client transmission means 26 together with the destination information. Further, the call source is the reply monitoring means 24 (assuming that the stop flag is off), and the stop flag of the corresponding host name is set on (step D11).
[0099]
The client transmission means 26 transmits the stop information page to the destination (web client 1) (step D6).
[0100]
When the provision information file request of the web server 3 is received after the stop flag is set, the processing operations of the steps D1 and D2 are performed and the stop flag is turned on (step D3), and the HTTP analysis means 21A executes the web server 3 Request information transmission (call of the web server transmission means 22) to the server is suppressed, and the host name, transmission source information (IP address of the web client 1), and instruction (confirmation and transmission of the stop information) are sent to the stop information extraction / transmission means 25A. (Step D12).
[0101]
The corresponding stop information is read from the stop information DB 28 (step D9), and since it is a stop period (step D10), the processing operations of steps D11 and D6 are performed as described above.
[0102]
When the first access request is received from the web client 1 after the web server 3 returns to the operating state, the processing operations of steps D1, D2, D3, D12, D9, and D10 are performed, and the stop information extraction / transmission means 25A The call source is the HTTP analysis means 21A (assuming that the stop flag is on), the stop flag is turned off, and the HTTP analysis means 21A is instructed to transmit the client request information being suppressed to the web server 3. If the request source is the reply monitoring unit 24 or the web server transmission unit 22, the fact of abnormal termination and the destination information are passed to the client transmission unit 26 (step D13).
[0103]
In the description of the first and second embodiments, the destination web server identification is the host name. However, the IP address of the web server or the end number may be used instead of the host name. In this case, the address translation information 212, 212A and the host name column of the stop information are the IP address or the end number.
[0104]
In the description of the first and second embodiments, the cache mechanism of the proxy server 2 has not been specifically described. However, the present invention can coexist with the cache mechanism according to the conventional technology of the proxy server 2. This is not a limitation of the present invention.
[0105]
That is, before the HTTP analysis means 21 converts the URL name to the host name, if the cache directory is indexed by the URL and hits, the provided information file on the cache is returned, and the subsequent processing operation (stop information extraction / transmission means) 25 calls or the like) is not performed, so the cache is effectively used even when the web server 3 is stopped.
[0106]
Also, if the directory index of the cache misses during the stop period, when the client transmission means 26 returns stop information, this is registered in the cache in a form that can be recognized as stop information on the directory, and the stop information is displayed by resetting the stop flag. You can invalidate directory entries with
[0107]
【The invention's effect】
As described above, when the proxy server 2 fails to obtain the requested provision information, the system of the present invention returns the stop information including the reason and the scheduled restart time instead. It is possible to easily grasp whether it is a failure or a network trouble, and the client has a first effect that it can grasp the shortest timing of re-access to the request information.
[0108]
Therefore, the client can perform information retrieval more efficiently and has a second effect of reducing the possibility of missing necessary information.
[0109]
In the system according to the second embodiment of the present invention, when the proxy server determines the web server including the requested URL, the request information transmission to the web server is suppressed and switched to the stop information transmission process. There is also a third effect that the retry of the communication connection to the stopped web server is prevented and the influence on the service by the local net or other operating web servers can be prevented.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing an example of a system including a proxy server and a web server of the present invention, and a web client side using the system.
FIG. 2 is a block diagram showing a specific configuration of the web client 1 of FIG.
FIG. 3 is a block diagram showing a detailed configuration of a system according to the first embodiment of the present invention including a proxy server 2 and a web server 3;
4 is a diagram showing an example of the address conversion information 212 of FIG. 3 and the address conversion information 212A of FIG.
5 is a diagram showing an example of stop information generated by the server administrator using the input / output means 35 of FIG. 3 or generated by the stop information transmitting means 34 of FIG. 3 when the system is down.
6 is a diagram showing an example of information storage in the stop information DB 28 of FIG. 3;
7 is a flowchart showing operations of the web server 3 and the proxy server 2 when a server administrator newly registers or updates stop information from the input / output means 35. FIG.
FIG. 8 is a flowchart showing automatic registration of stop information and automatic deletion operation after restart when the web server 3 of FIG. 3 goes down.
FIG. 9 is a flowchart showing an operation when the system according to the first embodiment of the present invention receives a provision information file request from the web client 1;
FIG. 10 is a flowchart showing an operation when the system according to the first embodiment of the present invention receives a provision information file request from the web client 1;
FIG. 11 is a block diagram showing a detailed configuration of a proxy server 2A in the system according to the second embodiment of this invention.
FIG. 12 is a flowchart showing the operation of the system according to the second embodiment of the present invention.
FIG. 13 is a diagram for explaining a system including a conventional proxy server and a web server.
[Explanation of symbols]
1 Web client
11 Client request means
13 Display device
14 Communication means
2 Proxy server
20 Communication means
20 INET communication means
21, 21A HTTP analysis means
211 Receive buffer
212 Address translation information
212A Address translation information (with stop flag)
22, 22B Web server transmission means
221 Transmission buffer
23 Reply information receiving means
24 Reply monitoring means
25, 25A Stop information retrieval / transmission means
26 Client transmission means
27 Stop information DB update means
28 Stop information DB
29 LNET communication means
3 Web server
31 HTTP analysis means
32 Reply information transmission means
33 Provided information file group
34 Stop information transmission means
35, 52 Input / output means
36 Stop information file group
37 Operation control means
39, 51 LNET communication means
5 management terminals
53 Stop information update means
6 LAN
7 Internet
8 Dial-up server
9 Public telephone line

Claims (13)

インターネットに通信接続されたプロキシサーバとこれの配下に通信接続された1台以上のウェブサーバを含み、インターネットを通じウェブクライアントにアクセスされるシステムであり、前記プロキシサーバはウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手段と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手段と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手段と、返信情報を要求元に送信するクライアントへの送信手段と、返信情報が受信できなかったことを検出する手段と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出と要求元情報を受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手段に渡す停止情報取出送信手段を有し、前記クライアントへの送信手段が停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信することを特徴とするプロキシサーバとウェブサーバを含むシステム。A system that includes a proxy server connected to the Internet and one or more web servers that are connected under the control of the proxy server, and that is accessed by a web client via the Internet. The proxy server analyzes request information from the web client. And analyzing means for determining the web server where the requested information is placed, transmitting means for transmitting the request information to the web server, and returning information requested by the web client from the web server. Means for receiving as information, means for sending to the client that sends reply information to the requester, means for detecting that reply information could not be received, and a fixed suspension period and variable suspension of each web server The stop information data storing the period and the detection and request source information are received. Take out the corresponding stop information of the web server from the data, confirm that the stop time is in progress, and stop the stop information page that includes the reason for the stop and the scheduled restart time based on the stop information. A stop information extraction / transmission means that creates and sends the request information to the transmission means to the client together with the request source information, and when the transmission means to the client receives the stop information page, the stop information page is used instead of the reply information. A system including a proxy server and a web server, 前記ウェブサーバは、操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を前記プロキシサーバに送信する停止情報送信手段を有し、前記プロキシサーバは、通信接続された配下装置から停止情報の追加、更新、削除指示や内容を受け停止情報データを更新する手段も有することを特徴とする請求項1記載のプロキシサーバとウェブサーバを含むシステム。The web server has stop information transmitting means for transmitting an instruction and content for adding, updating, and deleting stop information to the proxy server according to an instruction and input information of an operator, and the proxy server 2. The system including a proxy server and a web server according to claim 1, further comprising means for updating stop information data in response to a stop information addition, update, or deletion instruction or content from the subordinate apparatus. 前記ウェブサーバの停止情報送信手段が、操作者の指示や入力情報に従った前記処理を行うと共に、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成しプロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示も送信することを特徴とする請求項2記載のプロキシサーバとウェブサーバを含むシステム。The stop information transmission means of the web server performs the processing according to the operator's instruction and input information, receives the system down notification of its own device, generates the stop information embedded with the time information, and automatically generates it to the proxy server 3. The proxy server and the web according to claim 2, wherein when the restart of the own device is successful, the presence / absence of automatic transmission of the stop information is checked, and if it has been transmitted, an instruction to delete the stop information is also transmitted. A system that includes a server. 配下にウェブサーバを通信接続し、インターネットに通信接続するプロキシサーバであり、インターネット上のウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手段と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手段と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手段と、返信情報を要求元に送信するクライアントへの送信手段と、返信情報が受信できなかったことを検出する手段と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出を要求元情報と共に受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手段に渡す停止情報取出送信手段を有し、前記クライアントへの送信手段が停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信することを特徴とするプロキシサーバ。A proxy server that communicates and connects a web server to the subordinate, and communicates and connects to the Internet, analyzing the request information from a web client on the Internet, and analyzing means for determining the web server on which the requested information is placed; Means for transmitting the request information to the web server, means for receiving the information requested by the web client as return information from the web server, and means for transmitting to the client the reply information to the request source Means for detecting that the reply information could not be received, stop information data storing a fixed stop period and a variable stop period of each web server, and the stop information received with the request source information. Take out the corresponding web server outage information from the data, confirm that it is in the outage period and stop A stop information takeout transmission means that creates a stop information page that includes the fact that the operation of the web server is stopped based on the information, the reason for the stop, and the scheduled restart time, and passes to the transmission means to the client together with the request source information, A proxy server characterized in that, when a transmission means to a client receives a stop information page, the stop information page is transmitted to the requesting web client instead of reply information. 前記ウェブサーバへの送信手段が送信先のウェブサーバに対応し送信バッファを有し、バッファの一つのエントリから読み出した要求情報の送信を通信手段に指示した際にその時刻をそのエントリに追記し、前記返信情報の受信手段が、前記送信バッファの受信情報対応のエントリをクリアし、前記検出手段は送信バッファに送信指示時刻が現在時刻より所定時間分前の要求情報があるかを周期的にチェックすることで返信情報が受信できなかった検出を行うことを特徴とする請求項4記載のプロキシサーバ。The transmission means to the web server has a transmission buffer corresponding to the destination web server, and when the communication means is instructed to transmit the request information read from one entry of the buffer, the time is added to the entry. The reply information reception means clears the entry corresponding to the reception information in the transmission buffer, and the detection means periodically determines whether there is request information whose transmission instruction time is a predetermined time before the current time in the transmission buffer. 5. The proxy server according to claim 4, wherein the proxy server detects that the reply information cannot be received by checking. 前記ウェブサーバへの送信手段が前記検出手段も含み、要求情報の送信を通信手段に指示した際に通信手段が送信先ウェブサーバとのコネクトに失敗したことを検出することで前記検出を行うことを特徴とする請求項4記載のプロキシサーバ。The transmission means to the web server also includes the detection means, and when the communication means instructs the communication means to transmit request information, the communication means detects that the connection with the destination web server has failed, and performs the detection. The proxy server according to claim 4. 前記プロキシサーバが、返信情報が受信できなかったことを検出し、停止情報取出送信手段が停止情報データより、返信のなかったウェブサーバの停止情報を取り出し、その時刻が停止期間に入っていればオンにされるウェブサーバ毎の停止フラグも有し、前記解析手段がウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定した際に、停止フラグをチェックし、オンであれば要求情報のウェブサーバへの送信依頼を抑止し停止情報取出送信手段にウェブサーバ識別と、要求元情報を渡し、停止情報の確認と送信を指示することを特徴とする請求項4記載のプロキシサーバ。If the proxy server detects that the reply information has not been received, the stop information extraction / transmission means extracts the stop information of the web server that has not returned from the stop information data, and the time is within the stop period. It also has a stop flag for each web server that is turned on, and when the analyzing means analyzes the request information from the web client and determines the web server where the requested information is placed, the stop flag is checked, 5. If requested, transmission of request information to the web server is inhibited, web server identification and request source information are passed to the stop information extraction / transmission means, and confirmation and transmission of stop information is instructed. The listed proxy server. 操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を上位のプロキシサーバに送信すると共に、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成し前記プロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示を送信する停止情報送信手段を有することを特徴とするウェブサーバ。In accordance with the operator's instructions and input information, sends instructions and details for adding, updating, and deleting stop information to a higher-level proxy server. Is generated and automatically transmitted to the proxy server, and when the restart of the own apparatus is successful, the presence or absence of automatic transmission of the stop information is checked. A web server characterized by that. 配下にウェブサーバを通信接続し、インターネットに通信接続するプロキシサーバに搭載されるプログラムであり、インターネット上のウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定する解析手順と、そのウェブサーバに前記要求情報を送信するウェブサーバへの送信手順と、前記ウェブクライアントに要求された情報をウェブサーバから返信情報とし受信する手順と、返信情報を要求元に送信するクライアントへの送信手順と、返信情報が受信できなかったことを検出する手順と、各ウェブサーバの固定的な停止期間と変動的な停止期間を格納した停止情報データと、前記検出を要求元情報と共に受け前記停止情報データより対応するウェブサーバの停止情報を取り出し、その時が停止期間中であることを確認し停止情報に基づきウェブサーバの稼働を停止している旨と停止理由と再開予定時間を含む停止情報ページを作成し要求元情報と共に前記クライアントへの送信手に渡す停止情報取出送信手順とをサーバコンピュータに実行させるためのプログラムであって、前記クライアントへの送信手順停止情報ページを受けると返信情報の代わりに停止情報ページを要求元のウェブクライアントに送信する手順とすることを特徴とするプログラム。It is a program installed in a proxy server that communicates with a web server under its control and communicates with the Internet, analyzes request information from web clients on the Internet, and determines the web server where the requested information is located An analysis procedure, a transmission procedure to the web server for transmitting the request information to the web server, a procedure for receiving information requested by the web client as return information from the web server, and a transmission of the return information to the request source A transmission procedure to the client, a procedure for detecting that the reply information could not be received, stop information data storing a fixed stop period and a variable stop period for each web server, and the request source information. The corresponding stop information of the web server is extracted from the stop information data received, and the time is the stop period. Confirmation stop information to be passed to the transmission procedure to the client together to create a stop information page request based on information including the fact and the reason for stopping and resuming scheduled time that has stopped the operation of the web server based on the stop information that is and a take-out transmission procedures a program to be executed by the server computer, that sends to the requesting web client to stop information page instead of the receive and reply information stop information page of the transmission procedure to the client procedure program which is characterized that you and. 前記プロキシサーバに搭載されるプログラムであり、前記ウェブサーバへの送信手順に、送信先のウェブサーバに対応し送信バッファを用い、バッファの一つのエントリから読み出した要求情報の送信を通信手順に指示した際にその時刻をそのエントリに追記する手順を含み、前記返信情報の受信手順、前記送信バッファの受信情報対応のエントリをクリアする手順を含み、前記検出する手を、送信バッファに送信指示時刻が現在時刻より所定時間分前の要求情報があるかを周期的にチェックすることで返信情報が受信できなかった検出を行う手順とすることを特徴とする請求項9記載のプログラム。Wherein a program to be installed in the proxy server, the transmission procedure to the c Ebusaba corresponds to the destination web server using the transmission buffer, an instruction to transmit the request information read out from one of the entries in the buffer to the communication procedure includes a procedure for additionally serial its time to the entry upon the procedures of receiving reply information comprise a chestnut are restoring procedure to receive information corresponding entry of the transmission buffer, the steps to output said detection, transmission claim transmission instruction time in the buffer is characterized that you and cormorants line detection reply information can not be received by periodically checking whether there is a predetermined time period prior to the request information from the current time step 9 The listed program. 前記ウェブサーバへの送信手順に、要求情報の送信を通信手順に指示した際に通信手順が送信先ウェブサーバとのコネクトに失敗したことを検出前記検出とする手順を含むことを特徴とする請求項9記載のプログラム。 The transmission procedure to the web server, characterized in that detects that the communication procedure fails to connect with the destination web server when instructed to transmit the request information to the communication procedure including the steps of said detection The program according to claim 9. 記停止情報取出送信手順に停止情報データより、返信のなかったウェブサーバの停止情報を取り出し、そのときの時刻が停止期間に入っていればウェブサーバ毎の停止フラグをオンにする手順も含み、前記解析手順に、ウェブクライアントからの要求情報を解析し要求された情報が置かれているウェブサーバを判定した際に、停止フラグをチェックし、オンであれば要求情報のウェブサーバへの送信依頼を抑止し停止情報取出送信手順に判定したウェブサーバ識別と、送信元情報を渡し、停止情報の確認と送信を指示する手順を含むことを特徴とする請求項9記載のプログラム。Before Kitoma stop information extraction transmission procedure, than the stop information data, taken out of the web server of the stop information was not the reply, turns on the stop flag of each window Ebusaba if time is long as it entered the stop period when at the time of its In the analysis procedure , when the request information from the web client is analyzed and the web server on which the requested information is located is determined, the stop flag is checked. a web server identification it is determined to suppress the transmission request to the server stops information extraction transmission procedure, sending pass source information, according to claim 9, wherein it to contain instructions on instructing transmission and confirmation of stop information Program. ウェブサーバに搭載されるプログラムであって、操作者の指示や入力情報に従って、停止情報を追加、更新、削除するための指示や内容を上位のプロキシサーバに送信する手順と、自装置のシステムダウン通知を受け、その時間情報を埋め込んだ停止情報を生成し前記プロキシサーバへ自動送信し、自装置の再起動成功で、前記停止情報の自動送信の実行有無をチェックし送信済みであれば停止情報の削除指示を送信する停止情報送信手順とをサーバコンピュータに実行させるためのプログラム。A program installed in a web server, according to an instruction or input information of the operator, adding stop information, update, and transmitting the instruction or content for deleting the upstream proxy server, the system-down of the device itself Upon receipt of the notification, the stop information in which the time information is embedded is generated and automatically transmitted to the proxy server. Upon successful restart of the own device, the presence / absence of automatic transmission of the stop information is checked. A program for causing a server computer to execute a stop information transmission procedure for transmitting a deletion instruction.
JP2001052192A 2001-02-27 2001-02-27 System including proxy server and web server and program thereof Expired - Fee Related JP3709797B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001052192A JP3709797B2 (en) 2001-02-27 2001-02-27 System including proxy server and web server and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001052192A JP3709797B2 (en) 2001-02-27 2001-02-27 System including proxy server and web server and program thereof

Publications (2)

Publication Number Publication Date
JP2002259338A JP2002259338A (en) 2002-09-13
JP3709797B2 true JP3709797B2 (en) 2005-10-26

Family

ID=18912861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001052192A Expired - Fee Related JP3709797B2 (en) 2001-02-27 2001-02-27 System including proxy server and web server and program thereof

Country Status (1)

Country Link
JP (1) JP3709797B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004102396A1 (en) 2003-05-14 2004-11-25 Fujitsu Limited Delay storage device and delaying method
JP4698936B2 (en) * 2003-06-09 2011-06-08 富士フイルム株式会社 Client device, server device, and communication system
JP4144882B2 (en) 2004-05-14 2008-09-03 インターナショナル・ビジネス・マシーンズ・コーポレーション Information processing apparatus, information system, proxy processing method, program, and recording medium
JP4616035B2 (en) * 2005-02-25 2011-01-19 富士通株式会社 Server load balancing program, apparatus and method
US7565506B2 (en) * 2005-09-08 2009-07-21 Qualcomm Incorporated Method and apparatus for delivering content based on receivers characteristics
JP4670598B2 (en) 2005-11-04 2011-04-13 日本電気株式会社 Network system, proxy server, session management method, and program
CN102128622B (en) * 2010-01-13 2013-08-14 神达电脑股份有限公司 Personal navigation device and interested point item information query and display method thereof
JP2012221255A (en) * 2011-04-08 2012-11-12 Daiwa Institute Of Research Business Innovation Ltd Information processing system, information processor and information processing method
JP5536129B2 (en) * 2012-03-28 2014-07-02 Necアクセステクニカ株式会社 How to reconnect to router and website
JP2015197759A (en) * 2014-03-31 2015-11-09 富士通株式会社 Information processing device, information processing method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11259355A (en) * 1998-03-13 1999-09-24 Hitachi Ltd Hypertext type information providing device and information retrieving device
JP2000200245A (en) * 1999-01-08 2000-07-18 Mitsubishi Electric Corp System and method for information utilization
JP4224931B2 (en) * 2000-07-27 2009-02-18 沖電気工業株式会社 Homepage update management system
JP4165018B2 (en) * 2001-02-07 2008-10-15 セイコーエプソン株式会社 Proxy server, proxy server control method, and program for controlling proxy server

Also Published As

Publication number Publication date
JP2002259338A (en) 2002-09-13

Similar Documents

Publication Publication Date Title
JP4698756B2 (en) Offline execution of web-based applications
US8549101B2 (en) Portable embedded local server for write-through cache
JP4364947B2 (en) Method and apparatus for providing a user hit on a mirror protected web site to a remote site administrator
JP3642004B2 (en) Relay device, mobile radio communication system, failure notification method thereof, and recording medium recording failure notification program thereof
JP4590105B2 (en) Web server content replication
JP4224226B2 (en) Display control method, display control system, display control program, and computer-readable medium
US8683029B2 (en) Web service system, schedule execution apparatus and control method thereof
JP3709797B2 (en) System including proxy server and web server and program thereof
US20020129101A1 (en) Event-driven information display system and event-driven information display method
JP4829653B2 (en) Address information management system, management server, and address book update method
JP2010273045A (en) Server apparatus
CN109003350A (en) Generation dimension logging instrument and working method
WO2004003765A1 (en) Seamless system, recording medium, computer system processing continuation method
KR20030013265A (en) Machine resource management system, method and program
JPH104407A (en) Network management device and its method
JP5274134B2 (en) Equipment information management server, equipment information management terminal and equipment information management system
JP2000187512A (en) Equipment monitor device using electronic mail
JP4656865B2 (en) Distributed processing system and file update method
JP4159530B2 (en) Update history notification system, update history notification method and program
JP2006180369A (en) Maintenance system, maintenance method, and maintenance program
JP2001282671A (en) Fault information gathering device, recording medium, and program
JP2005109752A (en) Information acquisition apparatus, program and information acquisition system
KR100595089B1 (en) Financial terminal remote management apparatus and method
JP2001067288A (en) Device with failure restoring function, server device supporting the device, system with failure restoring function, and program recording medium
CN115589278A (en) Data display platform and method with real-time monitoring function based on UDP (user Datagram protocol)

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050222

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050519

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050801

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090819

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090819

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100819

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110819

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees