JP5255006B2 - Web system, method and program - Google Patents

Web system, method and program Download PDF

Info

Publication number
JP5255006B2
JP5255006B2 JP2010034848A JP2010034848A JP5255006B2 JP 5255006 B2 JP5255006 B2 JP 5255006B2 JP 2010034848 A JP2010034848 A JP 2010034848A JP 2010034848 A JP2010034848 A JP 2010034848A JP 5255006 B2 JP5255006 B2 JP 5255006B2
Authority
JP
Japan
Prior art keywords
web page
web
page request
web server
url
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
JP2010034848A
Other languages
Japanese (ja)
Other versions
JP2011170683A (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.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan 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 Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2010034848A priority Critical patent/JP5255006B2/en
Publication of JP2011170683A publication Critical patent/JP2011170683A/en
Application granted granted Critical
Publication of JP5255006B2 publication Critical patent/JP5255006B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Description

本発明は、Webシステム、方法及びプログラム、より詳しくは、Webページを送信するWebサーバに障害が発生したときであっても、ユーザ端末からの要求に応じて最新のWebページを配信可能なWebシステム、方法及びプログラムに関する。   The present invention relates to a Web system, method, and program, and more specifically, a Web that can deliver the latest Web page in response to a request from a user terminal even when a failure occurs in a Web server that transmits the Web page. The present invention relates to a system, a method, and a program.

インターネットの爆発的な普及により、ポータルサイトや動画投稿サイトなどの様々なサービスが提供されるようになっている。このような大規模なサービスを提供するサイトは、多数のユーザが利用しており、ひとたびWebサーバに障害が生じるとサービスを提供することが出来なくなる。そこで、このような大規模なサービスを提供するサイトにおいては、負荷分散及び障害対応の目的で、複数のWebサーバを一のURLに対応させて冗長構成としている場合がある(図9参照)。
この場合、ユーザ端末から所定のURLのWebページ要求を受け付けたWebサーバが障害を起こした場合においても、当該ユーザ端末から当該所定のURLについて再度Webページ要求をすれば、冗長構成となっている他のWebサーバが当該Webページの要求に応答することが出来るようにしている。しかしながら、上述のようにユーザに再度同じWebページ要求を強いることになる(図9(1)参照)。
更に、停電や災害などで冗長構成としているサーバ群の全てが停止した場合には対応することが出来ない(図9(1)参照)。
Due to the explosive spread of the Internet, various services such as portal sites and video posting sites have been provided. A site that provides such a large-scale service is used by many users, and once a failure occurs in the Web server, the service cannot be provided. Therefore, in a site that provides such a large-scale service, there are cases where a plurality of Web servers are made to correspond to one URL and have a redundant configuration for the purpose of load distribution and failure handling (see FIG. 9).
In this case, even when the Web server that has received the Web page request for the predetermined URL from the user terminal has failed, if the Web page request is made again for the predetermined URL from the user terminal, the configuration is redundant. Another Web server can respond to the request for the Web page. However, as described above, the user is forced to request the same Web page again (see FIG. 9 (1)).
Furthermore, it is not possible to cope with the case where all of the redundant server groups are stopped due to a power failure or a disaster (see FIG. 9 (1)).

一方、Webサーバの障害発生時におけるサービス提供に関して特許文献1や特許文献2に開示された技術が知られている。
特許文献1には、インターネット上のコンテンツのうち所定の分量をユーザ端末に予めキャッシュしておき、オフライン状態であってもコンテンツを閲覧可能にすることで、Webサーバと通信不可能な状態であってもサービスを提供可能なシステムが開示されている。
また、特許文献2には、金融機関やコンビニエンスストアなどに設置された自動取引装置において、Webページ表示障害発生時に障害発生画面を一定時間表示した後、初期画面を表示することで障害を復旧する方法が開示されている。
On the other hand, techniques disclosed in Patent Literature 1 and Patent Literature 2 are known regarding service provision when a failure occurs in a Web server.
In Patent Document 1, a predetermined amount of content on the Internet is cached in advance in a user terminal so that the content can be browsed even in an offline state. However, a system capable of providing a service is disclosed.
Further, in Patent Document 2, in an automatic transaction apparatus installed in a financial institution or a convenience store, after a failure occurrence screen is displayed for a certain period of time when a Web page display failure occurs, the failure is restored by displaying an initial screen. A method is disclosed.

特開2007−213173号公報JP 2007-213173 A 特開2004−151861号公報JP 2004-151861 A

しかしながら、特許文献1に開示されたシステムでは、Webサーバと通信不可能な状態に提供されるサービスは、ユーザ端末に予めキャッシュされたものであるため、最新のサービスである保証がない。   However, in the system disclosed in Patent Document 1, the service provided in a state incapable of communicating with the Web server is cached in advance in the user terminal, so there is no guarantee that it is the latest service.

また、特許文献2に開示された方法では、障害復旧後に初期画面が表示されてしまうため、障害発生時に提供されるべきであったサービスを再度提供するためには、ユーザに同じ操作を再度強いることになってしまう。
ここで、インターネット上のサービスでは、Webページにおいてユーザが入力した情報(ログイン情報や検索キーワードなど)に基づいて、特定のユーザに特化したサービスを提供することが一般的に行われている。具体的には、ログインしたユーザに最適な情報を提供したり、検索キーワードからユーザの関心のある情報を推測し、当該情報に関連する広告を提供することなどが行われている。
Webサーバの障害時にこのような情報の入力を再度ユーザに強いることは煩わしく、また、インターネット上における連続的なサービスの提供という観点からも望ましくない。
In addition, in the method disclosed in Patent Document 2, an initial screen is displayed after the failure is recovered, so that the user is forced to perform the same operation again in order to provide the service that should have been provided when the failure occurred. It will be.
Here, in the service on the Internet, it is generally performed to provide a service specialized for a specific user based on information (login information, search keyword, etc.) input by the user on a Web page. Specifically, information that is most suitable for the logged-in user is provided, information that the user is interested in is estimated from a search keyword, and an advertisement related to the information is provided.
It is troublesome to force the user to input such information again at the time of failure of the Web server, and it is not desirable from the viewpoint of providing a continuous service on the Internet.

本発明はこのような問題に鑑みてなされたものであり、Webサーバの障害時に、障害発生前に提供されたサービスと連続する最新のサービスを、ユーザの付加的な操作を要求することなく提供可能なWebシステム、方法及びプログラムを提供することを目的とする。   The present invention has been made in view of such problems, and provides the latest service continuous with the service provided before the occurrence of a failure without requiring a user's additional operation in the event of a web server failure. An object is to provide a possible Web system, method and program.

本発明では、以下のような解決手段を提供する。
なお、以下では、「属性情報」という表現を使用するが、「属性情報」とは、ログイン情報や検索キーワードなどといったWebページにおいてユーザが入力した情報(URLパラメータ)及びリンク元のWebページなどを示すリファラ、を含むものである。より具体的には、URL(Uniform Resource Locator)の後に付加される疑問符「?」で始まる情報をいう。
The present invention provides the following solutions.
In the following, the expression “attribute information” is used, but “attribute information” refers to information (URL parameter) input by a user on a Web page such as login information or a search keyword, a link source Web page, and the like. The referrer shown. More specifically, it refers to information starting with a question mark “?” Added after a URL (Uniform Resource Locator).

(1) ユーザ端末と、前記ユーザ端末からの要求に応じてWebページを送信するW
ebサーバと、を備え、前記Webサーバの障害時であってもWebページを送信可能な
Webシステムであって、前記Webサーバと同一のデータを管理するリダイレクト先W
ebサーバを備え、前記ユーザ端末が、URL及び属性情報からなるWebページ要求を
前記URLに対応する前記Webサーバに送信するWebページ要求手段と、前記Web
サーバから前記Webページを受信する受信手段と、前記Webページ要求を送信する度
に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶するWeb
ページ要求記憶手段と、前記Webサーバから前記Webページ要求に対する応答が所定
期間以上得られない場合に前記Webページ要求記憶手段に記憶された前記Webページ
要求に含まれるURLを前記リダイレクト先Webサーバに対応するURLに変更するU
RL変更手段と、前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、前記URL変更手順により変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するリダイレクト要求手段と、を備えるWebシステム。
(1) A user terminal and a W that transmits a Web page in response to a request from the user terminal
a redirect destination W that manages the same data as the Web server, the Web system being capable of transmitting a Web page even when the Web server is faulty
a web page requesting unit that includes an eb server, and wherein the user terminal transmits a web page request including a URL and attribute information to the web server corresponding to the URL;
A receiving unit that receives the Web page from a server, and a Web that stores the Web page request in the local storage area of the user terminal each time the Web page request is transmitted
When a response to the Web page request is not obtained from the Web server for a predetermined period or longer, a URL included in the Web page request stored in the Web page request storage unit is sent to the redirect destination Web server. U to change to the corresponding URL
When the response to the Web page request from the Web server is not obtained for a predetermined period or longer , the display frame of the Web page that has transmitted the Web page request to the Web server is divided into a main frame and a divided frame. And a redirect request unit that transmits a web page request including the URL changed by the URL changing procedure and the attribute information to the redirect destination web server using the divided frame as a transmission source.

(1)のWebシステムによれば、ユーザ端末は、Webサーバからの応答が得られない場合には、ユーザ端末のローカルストレージ領域に記憶されたWebページ要求に含まれるURLをリダイレクト先Webサーバに対応するURLに変更した上でWebページ要求する。これにより、Webサーバに障害が発生した場合などであっても、同一のデータを管理するリダイレクト先Webサーバが最新のWebページを提供できる。
また、リダイレクト先Webサーバへは、変更されたURLに加え属性情報が付加された状態で、Webページ要求が送信される。そのため、例えば、ユーザに再度の入力を要求することなく、連続したサービスを提供することができる。
According to the Web system of (1), when the user terminal cannot obtain a response from the Web server, the URL included in the Web page request stored in the local storage area of the user terminal is sent to the redirect destination Web server. The web page is requested after changing to the corresponding URL. Thereby, even when a failure occurs in the Web server, the redirect Web server that manages the same data can provide the latest Web page.
Further, the Web page request is transmitted to the redirect destination Web server in a state where the attribute information is added in addition to the changed URL. Therefore, for example, a continuous service can be provided without requiring the user to input again.

(2) 前記受信手段は、前記Webページ要求記憶手段、前記URL変更手段及び前記リダイレクト要求手段を前記ユーザ端末に機能させる所定のプログラムを更に受信する(1)に記載のWebシステム。   (2) The Web system according to (1), wherein the reception unit further receives a predetermined program that causes the user terminal to function the Web page request storage unit, the URL change unit, and the redirect request unit.

(2)記載のWebシステムによれば、Webページと共に送信されるプログラムによって、(1)と同様の効果を奏することができる。   According to the Web system described in (2), the same effect as in (1) can be achieved by the program transmitted together with the Web page.

(3) 前記リダイレクト要求手段は、前記Webページ要求記憶手段に記憶されたWebページ要求に属性情報が含まれない場合には、前記リダイレクト先Webサーバに属性情報を含まないWebページ要求を送信する(1)又は(2)に記載のWebシステム。   (3) When the web page request stored in the web page request storage unit does not include attribute information, the redirect request unit transmits a web page request that does not include attribute information to the redirect destination web server. The Web system according to (1) or (2).

(3)のWebシステムによれば、属性情報が得られない場合には、リダイレクト先Webサーバに属性情報を含まないWebページ要求を送信することができる。   According to the Web system of (3), when attribute information cannot be obtained, a Web page request not including attribute information can be transmitted to the redirect destination Web server.

(4) ユーザ端末からの要求に応じてWebページを送信するWebサーバの障害時
にWebページを配信可能な方法であって、前記Webサーバと同一のデータを管理する
リダイレクト先Webサーバを備え、前記ユーザ端末は、URL及び属性情報からなるW
ebページ要求を前記URLに対応する前記Webサーバに送信するステップと、前記W
ebサーバから前記Webページを受信するステップと、前記Webページ要求を送信す
る度に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶するス
テップと、前記Webサーバから前記Webページ要求に対する応答が所定期間以上得ら
れない場合に前記ローカルストレージ領域に記憶された前記Webページ要求に含まれる
URLを前記リダイレクト先Webサーバに対応するURLに変更するステップと、前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するステップと、を含む方法。
(4) A method capable of delivering a web page in the event of a failure of a web server that sends a web page in response to a request from a user terminal, comprising a redirect destination web server that manages the same data as the web server, The user terminal is a W consisting of URL and attribute information.
sending an eb page request to the web server corresponding to the URL;
a step of receiving the web page from an eb server; a step of storing the web page request in a local storage area of the user terminal each time the web page request is transmitted; and a response to the web page request from the web server When the URL is not obtained for a predetermined period or longer, the URL included in the Web page request stored in the local storage area is changed to a URL corresponding to the redirect destination Web server, and the Web server responds to the Web page request. When a response is not obtained for a predetermined period or longer, the display frame of the Web page that has transmitted the Web page request to the Web server is divided into a main frame and a divided frame, and the changed URL is transmitted using the divided frame as a transmission source. Consisting of the attribute information Method comprising the steps of: transmitting a eb page request to the redirect destination Web server, the.

(5) ユーザ端末と、前記ユーザ端末からの要求に応じてWebページを送信するW
ebサーバと、を備えるWebシステムにおいて、前記ユーザ端末に、URL及び属性情
報からなるWebページ要求を前記URLに対応する前記Webサーバに送信するWeb
ページ要求手順と、URL及び属性情報からなるWebページ要求を前記Webサーバに
送信する度に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶
するWebページ要求記憶手順と、前記Webサーバから前記Webページ要求に対する
応答が所定期間以上得られない場合に前記ローカルストレージ領域に記憶された前記We
bページ要求に含まれるURLを、前記Webサーバと同一のデータを管理するリダイレ
クト先Webサーバに対応するURLに変更するURL変更手順と、前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、前記URL変更手順により変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するリダイレクト要求手順と、を実行させるためのプログラム。
(5) User terminal and W that transmits a web page in response to a request from the user terminal
a Web system including an eb server, wherein a Web page request including a URL and attribute information is transmitted to the user terminal to the Web server corresponding to the URL
A page request procedure, a web page request storage procedure for storing the web page request in the local storage area of the user terminal each time a web page request comprising URL and attribute information is transmitted to the web server, and The We stored in the local storage area when a response to the Web page request is not obtained for a predetermined period or longer.
The URL change procedure for changing the URL included in the b page request to a URL corresponding to the redirect destination Web server that manages the same data as the Web server, and a response to the Web page request from the Web server is obtained for a predetermined period or more. If not, the display frame of the Web page that transmitted the Web page request to the Web server is divided into a main frame and a divided frame, and the URL changed by the URL changing procedure using the divided frame as a transmission source and the URL A redirect request procedure for transmitting a web page request comprising attribute information to the redirect destination web server.

(4)の方法及び(5)のプログラムによれば、(1)のWebシステムと同様の効果を奏することができる。   According to the method (4) and the program (5), the same effects as the Web system (1) can be obtained.

本発明によれば、Webサーバの障害時に、障害発生前に提供されたサービスと連続する最新のサービスを、ユーザの付加的な操作を要求することなく提供することができる。   According to the present invention, when a Web server fails, it is possible to provide the latest service that is continuous with the service provided before the failure occurs without requiring an additional operation by the user.

本発明の第1実施形態の概要を示す図である。It is a figure which shows the outline | summary of 1st Embodiment of this invention. 本発明の第1実施形態のWebシステムの構成を示す図である。It is a figure which shows the structure of the Web system of 1st Embodiment of this invention. 本発明の第1実施形態のWebシステムに含まれるWebページ要求DBを示す図である。It is a figure which shows Web page request DB contained in the Web system of 1st Embodiment of this invention. 本発明の第1実施形態のスクリプトプログラムの規定内容を示す図である。It is a figure which shows the prescription | regulation content of the script program of 1st Embodiment of this invention. 本発明の第1実施形態のスクリプトプログラムに従い、ユーザ端末で行われる処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process performed by a user terminal according to the script program of 1st Embodiment of this invention. 本発明の第1実施形態のWebシステムの動作例を示す図である。It is a figure which shows the operation example of the Web system of 1st Embodiment of this invention. クロスドメイン制限を回避するための方法の一例を示す図である。It is a figure which shows an example of the method for avoiding a cross domain restriction | limiting. 別実施形態のプログラム提供方法を示す図である。It is a figure which shows the program provision method of another embodiment. 従来のWebシステムにおける障害発生時の動作例を示す図である。It is a figure which shows the operation example at the time of the failure occurrence in the conventional Web system.

以下、本発明の実施形態について図面を参照して説明する。なお、以下に説明する実施形態は、あくまでも一例であって、本発明の技術的範囲はこれに限られるものではない。   Embodiments of the present invention will be described below with reference to the drawings. The embodiment described below is merely an example, and the technical scope of the present invention is not limited to this.

[概要]
図1を参照して、本発明の第1実施形態の概要について説明する。
本第1実施形態は、ユーザ端末10と、ユーザ端末10からの要求に応じてWebページを送信するWebサーバ20(詳細には、Webサーバ群であるが、説明を容易にするためWebサーバとしている)と、を備えるWebシステム1において、Webサーバ20に障害が発生し、ユーザ端末10からのWebページ要求に対するレスポンスが所定時間以上ない場合に、Webサーバ20と同一のデータを管理しWebサーバ20のバックアップとして機能するリダイレクト先Webサーバ30にWebページ要求を行い、リダイレクト先Webサーバ30から当該Webページ要求に対するレスポンスを受けるものである。このとき、Webサーバ20へのWebページ要求に含まれる「属性情報(URLパラメータやリファラなど)」もリダイレクト先Webサーバ30へのWebページ要求に含まれる結果、障害発生前に提供されたサービスと連続する最新のサービスを提供すること可能としている。そして、本第1実施形態は、このような制御を、障害発生前にWebサーバ20から送信されたWebページと共にユーザ端末10に予め送信されていたスクリプトプログラムに従い行うことを特徴としている。
以下、図面を参照して、詳細に説明する。
[Overview]
The outline of the first embodiment of the present invention will be described with reference to FIG.
In the first embodiment, a user terminal 10 and a web server 20 that transmits a web page in response to a request from the user terminal 10 (specifically, a web server group, but for ease of explanation, as a web server) The web server 1 manages the same data as the web server 20 when a failure occurs in the web server 20 and there is no response to the web page request from the user terminal 10 for a predetermined time or more. A Web page request is made to the redirect destination Web server 30 that functions as a backup of the server 20, and a response to the Web page request is received from the redirect destination Web server 30. At this time, the “attribute information (URL parameter, referrer, etc.)” included in the Web page request to the Web server 20 is also included in the Web page request to the redirect destination Web server 30. It is possible to provide the latest continuous service. And this 1st Embodiment is characterized by performing such control according to the script program previously transmitted to the user terminal 10 with the Web page transmitted from the Web server 20 before failure occurrence.
Hereinafter, it will be described in detail with reference to the drawings.

[Webシステム1の構成]
図2を参照して、本発明の第1実施形態に係るWebシステム1について説明する。
Webシステム1は、ユーザ端末10と、Webサーバ20と、リダイレクト先Webサーバ30と、から構成される。ユーザ端末10は、ネットワークを介してWebサーバ20及びリダイレクト先Webサーバ30と通信可能であり、Webサーバ20及びリダイレクト先Webサーバ30にWebページ要求を送信する。Webサーバ20は、ユーザ端末10からの要求に応じてWebページ及びスクリプトプログラムを送信する。リダイレクト先Webサーバ30は、Webサーバ20と同一のデータを管理しWebサーバ20のバックアップとして機能し、ユーザ端末10からの要求に応じてWebページ及びスクリプトプログラムを送信する。
[Configuration of Web System 1]
A Web system 1 according to the first embodiment of the present invention will be described with reference to FIG.
The Web system 1 includes a user terminal 10, a Web server 20, and a redirect destination Web server 30. The user terminal 10 can communicate with the Web server 20 and the redirect destination Web server 30 via the network, and transmits a Web page request to the Web server 20 and the redirect destination Web server 30. The Web server 20 transmits a Web page and a script program in response to a request from the user terminal 10. The redirect destination Web server 30 manages the same data as the Web server 20, functions as a backup of the Web server 20, and transmits a Web page and a script program in response to a request from the user terminal 10.

また、ユーザ端末10は、Webページ要求手段11と、Webページ要求記憶手段12と、Webページ要求データベース(以下、データベースを「DB」と表記する)13と、レスポンス監視手段14と、Webページ受信手段15と、Webページ表示手段16と、URL変更手段17と、リダイレクト要求手段18と、を備える。   In addition, the user terminal 10 includes a Web page request unit 11, a Web page request storage unit 12, a Web page request database (hereinafter referred to as “DB”) 13, a response monitoring unit 14, and a Web page reception Means 15, Web page display means 16, URL changing means 17, and redirect request means 18 are provided.

Webページ要求手段11は、Webサーバ20へWebページ要求を行う。ここで、「Webページ要求」とは、URL及び属性情報からなり、ユーザの操作により又はユーザの操作によらず自動的に構成され、Webサーバ20へ送信される。   The web page request unit 11 makes a web page request to the web server 20. Here, the “Web page request” includes a URL and attribute information, is automatically configured by a user operation or not by a user operation, and is transmitted to the Web server 20.

Webページ要求記憶手段12は、Webサーバ20から受信したスクリプトプログラムに従い、Webページ要求手段11がWebページ要求を送信する度に、このWebページ要求をWebページ要求DB13に記憶する。なお、スクリプトプログラムの詳細については、後で図4を参照して説明する。
Webページ要求DB13は、ユーザ端末10のローカルストレージ領域に設けられ、図3に示すようにURL及び属性情報からなるWebページ要求を順次記憶する。
The web page request storage unit 12 stores the web page request in the web page request DB 13 every time the web page request unit 11 transmits a web page request according to the script program received from the web server 20. Details of the script program will be described later with reference to FIG.
The Web page request DB 13 is provided in the local storage area of the user terminal 10 and sequentially stores Web page requests including URL and attribute information as shown in FIG.

レスポンス監視手段14は、Webページ要求の後、所定時間以内にWebページ要求に対するレスポンス(Webページ)を受信したか監視する。そして、所定時間以内にレスポンスを受信しない場合にはタイムアウトと判定する。なお、所定時間に関しては、任意に設定可能である。   The response monitoring unit 14 monitors whether a response (Web page) to the Web page request is received within a predetermined time after the Web page request. If a response is not received within a predetermined time, it is determined that a timeout has occurred. The predetermined time can be arbitrarily set.

Webページ受信手段15は、Webサーバ20及びリダイレクト先Webサーバ30からWebページ及びスクリプトプログラムを受信する。なお、スクリプトプログラムの詳細については、図4を参照して説明するが、スクリプトプログラムには、タイムアウトした場合にWebページ要求に含まれるリダイレクト元URLをリダイレクト先URLに変更することが規定されている。例えば、スクリプトプログラムには、Webサーバ20に障害が発生し、Webページ要求(URL「http://abc.co.jp」)がタイムアウトした場合には、URL「http://abc2.co.jp」に変更することが規定されている。   The web page receiving unit 15 receives a web page and a script program from the web server 20 and the redirect destination web server 30. The details of the script program will be described with reference to FIG. 4, but the script program stipulates that the redirect source URL included in the Web page request is changed to the redirect destination URL when a timeout occurs. . For example, if a failure occurs in the Web server 20 in the script program and the Web page request (URL “http://abc.co.jp”) times out, the URL “http://abc2.co. jp "is specified.

Webページ表示手段16は、受信したWebページをユーザ端末10の表示画面に表示する。   The web page display unit 16 displays the received web page on the display screen of the user terminal 10.

URL変更手段17は、レスポンス監視手段14によりタイムアウトと判定された場合に、現在表示されているWebページと共に、或いはそれ以前に受信したスクリプトプログラムに従って、Webページ要求DB13に記憶されたWebページ要求に含まれるURLをリダイレクト先Webサーバ30に対応するURLに変更する。
具体的には、URL変更手段17は、最新の(タイムアウトと判定された)Webページ要求と、スクリプトプログラムに規定されたリダイレクト元URLと、を対比し、一致する部分まで(前方一致)をリダイレクト先URLに変更する。そして、最新のWebページ要求に属性情報がある場合には、リダイレクト先URLに当該属性情報を追加する。
The URL changing unit 17 responds to the Web page request stored in the Web page request DB 13 together with the currently displayed Web page or according to a script program received before that when the response monitoring unit 14 determines that the timeout has occurred. The included URL is changed to a URL corresponding to the redirect destination Web server 30.
Specifically, the URL changing unit 17 compares the latest Web page request (determined as time-out) with the redirect source URL specified in the script program, and redirects to a matching part (forward match). Change to the destination URL. If the latest Web page request has attribute information, the attribute information is added to the redirect URL.

リダイレクト要求手段18は、現在表示されているWebページと共に、或いはそれ以前に受信したスクリプトプログラムに従って、リダイレクト先URL及び属性情報に基づくWebページ要求をリダイレクト先Webサーバ30に対して送信する。   The redirect request means 18 transmits a web page request based on the redirect destination URL and attribute information to the redirect destination web server 30 in accordance with the script program received before or with the currently displayed web page.

このように、本第1実施形態では、最新のWebページ要求に属性情報が含まれている場合には、この属性情報を保持したままリダイレクト先Webサーバ30にWebページ要求を送信する。これにより、Webサーバ20の障害時に、障害発生前に提供されたサービスと連続する最新のサービスを、ユーザの付加的な操作を要求することなく提供できる。   As described above, in the first embodiment, when attribute information is included in the latest Web page request, the Web page request is transmitted to the redirect destination Web server 30 while retaining the attribute information. As a result, when the Web server 20 fails, it is possible to provide the latest service continuous with the service provided before the failure occurs without requiring an additional operation by the user.

具体的には、属性情報の一例である検索キーワードを例にすると、検索キーワードが入力されWebページ要求(検索ボタン操作に伴う要求)がされると、URLに加え検索キーワードを示す属性情報がWebサーバ20に送信される。このとき、Webサーバ20に障害が発生している場合には、リダイレクト先Webサーバ30にWebページ要求が送信される。この場合において、リダイレクト先Webサーバ30に検索キーワードが送信されないと、リダイレクト先Webサーバ30は検索結果を返信できず、ユーザ端末10には、再度検索画面が表示されることになる。これに対して、本第1実施形態では、リダイレクト先Webサーバ30に検索キーワードも送信するため、リダイレクト先Webサーバ30は、検索結果をユーザ端末10に返信することができる。
したがって、本第1実施形態では、障害発生前に提供されたサービスと連続する最新のサービスを、ユーザの付加的な操作を要求することなく提供できる。
Specifically, taking a search keyword as an example of attribute information as an example, when a search keyword is input and a Web page request (request associated with a search button operation) is made, attribute information indicating the search keyword is added to the URL in addition to the URL. It is transmitted to the server 20. At this time, if a failure has occurred in the Web server 20, a Web page request is transmitted to the redirect destination Web server 30. In this case, if the search keyword is not transmitted to the redirect destination Web server 30, the redirect destination Web server 30 cannot return the search result, and the search screen is displayed again on the user terminal 10. On the other hand, in the first embodiment, since the search keyword is also transmitted to the redirect destination Web server 30, the redirect destination Web server 30 can return the search result to the user terminal 10.
Therefore, in the first embodiment, the latest service that is continuous with the service provided before the occurrence of the failure can be provided without requiring an additional operation by the user.

[本第1実施形態のハードウェア及びソフトウェアの構成]
本第1実施形態は、コンピュータ及びその周辺装置に適用される。本第1実施形態における各手段は、コンピュータ及びその周辺装置が備えるハードウェア並びに当該ハードウェアを制御するソフトウェアによって構成される。
[Configuration of Hardware and Software of First Embodiment]
The first embodiment is applied to a computer and its peripheral devices. Each means in the first embodiment is configured by hardware included in a computer and its peripheral devices, and software for controlling the hardware.

上記ハードウェアには、制御装置(制御部)としてのCPUの他、記憶装置(記憶部)、通信装置(通信部)、表示装置(表示部)及び入力装置(入力部)が含まれる。記憶装置(記憶部)としては、例えば、メモリ(RAM、ROMなど)、ハードディスクドライブ(HDD)及び光ディスク(CD、DVDなど)ドライブが挙げられる。通信装置(通信部)としては、例えば、各種有線及び無線インターフェース装置が挙げられる。表示装置(表示部)としては、例えば、液晶ディスプレイ及びプラズマディスプレイなどの各種ディスプレイが挙げられる。入力装置(入力部)としては、例えば、キーボード及びポインティング・デバイス(マウスなど)が挙げられる。   The hardware includes a CPU as a control device (control unit), a storage device (storage unit), a communication device (communication unit), a display device (display unit), and an input device (input unit). Examples of the storage device (storage unit) include a memory (RAM, ROM, etc.), a hard disk drive (HDD), and an optical disk (CD, DVD, etc.) drive. Examples of the communication device (communication unit) include various wired and wireless interface devices. Examples of the display device (display unit) include various displays such as a liquid crystal display and a plasma display. Examples of the input device (input unit) include a keyboard and a pointing device (such as a mouse).

上記ソフトウェアには、上記ハードウェアを制御するコンピュータ・プログラムやデータが含まれる。コンピュータ・プログラムやデータは、記憶装置(記憶部)により記憶され、制御装置(制御部)により適宜実行、参照される。   The software includes a computer program and data for controlling the hardware. The computer program and data are stored in a storage device (storage unit), and are appropriately executed and referenced by a control device (control unit).

[スクリプトプログラムの規定]
次に、図4を参照して、本第1実施形態に係るスクリプトプログラムの規定する内容について説明する。
本第1実施形態に係るスクリプトプログラムは、例えば、JavaScript(登録商標)により規定され、Webページ(詳細にはHTML:HyperText Markup Language)と共に、Webサーバ20及びリダイレクト先Webサーバ30から送信される。このスクリプトプログラムは、ユーザ端末10に対し少なくとも以下の(1)〜(4)の手順を実行させる。
(1)Webページ要求をWebサーバ20に送信する度に、当該Webページ要求をユーザ端末10のローカルストレージ領域(Webページ要求DB13)に記憶する手順。
(2)Webサーバ20からタイムアウト時までにWebページを受信したか判定する手順。
(3)時までにWebページを受信しない場合に、ローカルストレージ領域に記憶された最新のWebページ要求のURL部分を、リダイレクト先Webサーバ30のURLに変更する(属性情報は、最新のWebページ要求と同じ)手順。
(4)リダイレクト先Webサーバ30に(3)の手順で変更されたWebページ要求を送信する手順。
[Script Program Rules]
Next, contents defined by the script program according to the first embodiment will be described with reference to FIG.
The script program according to the first embodiment is defined by, for example, JavaScript (registered trademark), and is transmitted from the Web server 20 and the redirect destination Web server 30 together with a Web page (specifically, HTML: HyperText Markup Language). This script program causes the user terminal 10 to execute at least the following procedures (1) to (4).
(1) A procedure for storing a web page request in the local storage area (web page request DB 13) of the user terminal 10 each time a web page request is transmitted to the web server 20.
(2) A procedure for determining whether a web page has been received from the web server 20 before the time-out.
(3) When the Web page is not received by the time, the URL part of the latest Web page request stored in the local storage area is changed to the URL of the redirect destination Web server 30 (the attribute information is the latest Web page) Same as request) procedure.
(4) A procedure of transmitting the web page request changed in the procedure of (3) to the redirect destination web server 30.

なお、詳しくは後述するが、スクリプトプログラムには、異なるドメインからデータをリクエストする際のセキュリティー上の制限(クロスドメイン制限)を回避するためのプログラムが規定されていると好ましい。   As will be described in detail later, it is preferable that the script program defines a program for avoiding security restrictions (cross-domain restrictions) when requesting data from different domains.

[ユーザ端末10における処理フロー]
次に、図5を参照して、上記スクリプトプログラムに従って、ユーザ端末10で行われる処理の流れについて説明する。
[Processing flow in user terminal 10]
Next, with reference to FIG. 5, the flow of processing performed in the user terminal 10 according to the script program will be described.

S1において、Webページ要求手段11が、Webサーバ20に対してWebページ要求を送信すると、Webページ要求記憶手段12は、スクリプトプログラムに従い、当該Webページ要求をユーザ端末10のローカルストレージ領域に記憶する(S2)。なお、スクリプトプログラムは、現在表示されているWebページと共に、或いはそれ以前に、Webサーバ20から受信したものである。   When the Web page request unit 11 transmits a Web page request to the Web server 20 in S1, the Web page request storage unit 12 stores the Web page request in the local storage area of the user terminal 10 according to the script program. (S2). The script program is received from the Web server 20 together with or before the currently displayed Web page.

続いて、レスポンス監視手段14は、タイムアウト時までにWebページ要求に対応するWebページを受信したか否かをスクリプトプログラムに従い判定する(S3)。このとき、タイムアウト時までにWebページを受信している場合には、ユーザ端末10の制御部はスクリプトプログラムに従いタイマーをキャンセルし(S4)、Webページ表示手段16がWebページを表示する(S5)。   Subsequently, the response monitoring unit 14 determines whether or not the Web page corresponding to the Web page request has been received by the time-out according to the script program (S3). At this time, if the web page has been received before the timeout, the control unit of the user terminal 10 cancels the timer according to the script program (S4), and the web page display means 16 displays the web page (S5). .

他方、タイムアウト時までにWebページを受信していない場合には、ユーザ端末10の制御部は、Webサーバ20に対するWebページ要求をスクリプトプログラムに従いキャンセルする(S11)。そして、URL変更手段17は、スクリプトプログラムに従いWebページ要求のURLをリダイレクト先URLに変更すると共に(S12)、最新のWebページ要求に属性情報がある場合には、変更したリダイレクト先URLに当該属性情報を追加する(S13)。   On the other hand, if the web page has not been received before the timeout, the control unit of the user terminal 10 cancels the web page request to the web server 20 according to the script program (S11). Then, the URL changing unit 17 changes the URL of the Web page request to the redirect destination URL according to the script program (S12), and if the latest Web page request has attribute information, the URL changing unit 17 sets the attribute to the changed redirect destination URL. Information is added (S13).

続いて、リダイレクト要求手段18は、スクリプトプログラムに従い、リダイレクト先Webサーバ30にWebページ要求を送信する(S14)。その後、Webページ受信手段15が、リダイレクト先Webサーバ30からWebページを受信すると(S15)、Webページ表示手段16はWebページを表示する(S5)。   Subsequently, the redirect request means 18 transmits a web page request to the redirect destination web server 30 in accordance with the script program (S14). Thereafter, when the Web page receiving unit 15 receives a Web page from the redirect destination Web server 30 (S15), the Web page display unit 16 displays the Web page (S5).

[Webシステム1における動作]
次に、図6を参照して、Webシステム1における動作の流れを説明する。
[Operation in Web System 1]
Next, an operation flow in the Web system 1 will be described with reference to FIG.

図6(1)において、ユーザ端末10にはWebサーバ20から送信された検索ページ100が表示されている。なお、ユーザ端末10には、検索ページ100と共に、或いはそれ以前にスクリプトプログラムも送信されている。検索ページ100は、キーワード入力欄101と検索ボタン102とを備えるWebページであり、キーワード入力欄101に検索キーワードが入力され、検索ボタン102が操作されることで、Webサーバ20から検索結果が返信される。   In FIG. 6 (1), the search page 100 transmitted from the Web server 20 is displayed on the user terminal 10. Note that a script program is also transmitted to the user terminal 10 together with or before the search page 100. The search page 100 is a Web page including a keyword input field 101 and a search button 102. When a search keyword is input to the keyword input field 101 and the search button 102 is operated, a search result is returned from the Web server 20. Is done.

図6(1)において、キーワード入力欄101に「patent」と入力され、検索ボタン102が操作されると、Webサーバ20には、「http://abc.co.jp?p=patent&search.x=1&fr=top_ga1・・・」というWebページ要求110が送信されると共に、ユーザ端末10のローカルストレージ領域に設けられたWebページ要求DB13にWebページ要求110が記憶される。なお、ローカルストレージ領域への記憶は、検索ページと共に、或いはそれ以前に送信されたスクリプトプログラムに従い行われる。
Webページ要求110のうち、疑問符「?」より前の部分がURLであり、後の部分が属性情報111である。Webページ要求110の属性情報111は、検索キーワードが「patent」であることなどを示している。
6 (1), when “patent” is entered in the keyword input field 101 and the search button 102 is operated, the web server 20 will receive “http://abc.co.jp?p=patent&search.x”. = 1 & fr = top_ga1... And the web page request 110 is stored in the web page request DB 13 provided in the local storage area of the user terminal 10. Note that the storage in the local storage area is performed in accordance with a script program transmitted together with the search page or before.
In the Web page request 110, the part before the question mark “?” Is the URL, and the part after the question mark “?” Is the attribute information 111. The attribute information 111 of the Web page request 110 indicates that the search keyword is “patent”.

その後、Webサーバ20からの検索結果の返信が所定時間以上ない場合には、ユーザ端末10では、スクリプトプログラムに従い、Webページ要求110のURL部分「http://abc.co.jp」をリダイレクト先URL「http://abc2.co.jp」に変更する。そして、このリダイレクト先URLに最新のWebページ要求110に含まれていた属性情報111を追加してWebページ要求120とし、リダイレクト先Webサーバ30へWebページ要求120を送信する(図6(2))。   Thereafter, when the search result is not returned from the Web server 20 for a predetermined time or longer, the user terminal 10 redirects the URL portion “http://abc.co.jp” of the Web page request 110 according to the script program. Change the URL to “http://abc2.co.jp”. Then, the attribute information 111 included in the latest Web page request 110 is added to the redirect destination URL to form a Web page request 120, and the Web page request 120 is transmitted to the redirect destination Web server 30 ((2) in FIG. 6). ).

リダイレクト先Webサーバ30では、Webページ要求120に対応するWebページをユーザ端末10に返信する。ここで、Webページ要求120には、検索キーワードを示す属性情報111が含まれるため、リダイレクト先Webサーバ30は、検索結果を返信することができ、ユーザ端末10には、検索結果ページ130が表示される(図6(3))。   The redirect destination Web server 30 returns a Web page corresponding to the Web page request 120 to the user terminal 10. Here, since the Web page request 120 includes the attribute information 111 indicating the search keyword, the redirect destination Web server 30 can return the search result, and the search result page 130 is displayed on the user terminal 10. (FIG. 6 (3)).

このように、本件発明に係るWebシステム1では、Webサーバ20に障害が発生した際に、最新のWebページ要求に含まれる属性情報を保持したまま、リダイレクト先Webサーバ30にWebページ要求を行う。そのため、Webサーバ20の障害時に、障害発生前に提供されたサービスと連続する最新のサービスを、ユーザの付加的な操作を要求することなく提供することができる。   Thus, in the Web system 1 according to the present invention, when a failure occurs in the Web server 20, a Web page request is made to the redirect destination Web server 30 while retaining the attribute information included in the latest Web page request. . Therefore, when the Web server 20 fails, it is possible to provide the latest service continuous with the service provided before the failure occurs without requiring an additional operation by the user.

[クロスドメイン制限の回避]
ここで、本件発明では、Webサーバ20の障害時にWebサーバ20とはURL(ドメイン)の異なるリダイレクト先Webサーバ30からWebページを受信することとしている。インターネット上のサービス提供では、セキュリティーの関係上異なるドメインからのデータのリクエスト(いわゆる、クロスドメイン)に制限がかけられることがある。本第1実施形態では、Webページと共にWebサーバ20から送信されるスクリプトプログラムに従い、このような制限を回避する。このような、クロスドメイン制限の回避方法について、図7を参照して説明する。
[Avoid cross-domain restrictions]
Here, in the present invention, when the Web server 20 fails, the Web page is received from the redirect destination Web server 30 having a URL (domain) different from that of the Web server 20. In providing services on the Internet, there are cases where restrictions are imposed on data requests (so-called cross domains) from different domains due to security reasons. In the first embodiment, such a restriction is avoided according to the script program transmitted from the Web server 20 together with the Web page. A method for avoiding such cross-domain restriction will be described with reference to FIG.

図7は、スクリプトプログラムに従ってユーザ端末10で実行される処理の流れを示したフローチャートである。図7は、クロスドメイン制限の回避した上で、リダイレクト先Webサーバ30からWebページを受信する方法を示し、図5のフローチャートに加え、S14A〜S16Aの処理を行う。以下、Webサーバ20へのWebページ要求がタイムアウトした場合の処理(S11〜S16A)を参照して、クロスドメイン制限を回避した上で、リダイレクト先Webサーバ30からWebページを受信する方法について説明する。   FIG. 7 is a flowchart showing a flow of processing executed on the user terminal 10 in accordance with the script program. FIG. 7 shows a method of receiving a Web page from the redirect destination Web server 30 while avoiding the cross domain restriction, and performs the processes of S14A to S16A in addition to the flowchart of FIG. Hereinafter, a method for receiving a web page from the redirect destination web server 30 while avoiding the cross-domain restriction will be described with reference to processing (S11 to S16A) when a web page request to the web server 20 times out. .

S11において、タイムアウト時までにWebページを受信していない場合には、ユーザ端末10の制御部は、Webサーバ20に対するWebページ要求をスクリプトプログラムに従いキャンセルする。そして、URL変更手段17は、スクリプトプログラムに従いWebページ要求のURLをリダイレクト先URLに変更すると共に(S12)、最新のWebページ要求に属性情報がある場合には、変更したリダイレクト先URLに当該属性情報を追加する(S13)。ここまでは、図5のフローチャートと同じである。   In S11, when the Web page has not been received before the time-out, the control unit of the user terminal 10 cancels the Web page request to the Web server 20 according to the script program. Then, the URL changing unit 17 changes the URL of the Web page request to the redirect destination URL according to the script program (S12), and if the latest Web page request has attribute information, the URL changing unit 17 sets the attribute to the changed redirect destination URL. Information is added (S13). The process up to this point is the same as the flowchart of FIG.

続く、リダイレクト要求手段18がリダイレクト先Webサーバ30にWebページ要求を送信する処理において、クロスドメイン制限を回避すべく、リダイレクト要求手段18は、フレームを利用してリダイレクト先Webサーバ30に対しWebページ要求を行う。具体的には、Webページをフレームで分割すると共に、メイン画面のフレームから分割されたフレームに、異なるドメイン(リダイレクト先Webサーバ30)のWebページを要求する。   In the subsequent process in which the redirect request unit 18 transmits a web page request to the redirect destination web server 30, the redirect request unit 18 uses the frame to send the web page to the redirect destination web server 30 in order to avoid cross domain restrictions. Make a request. Specifically, the Web page is divided into frames, and a Web page of a different domain (redirect destination Web server 30) is requested to the frame divided from the frame of the main screen.

その後、リダイレクト先Webサーバ30からのWebページを分割されたフレームで受信し(S15A)、当該分割されたフレームで受信したWebページをそのままメイン画面のフレームに(postMessageにより)送信し(S16)、メイン画面にそのWebページを表示する(S5)。   Thereafter, the Web page from the redirect destination Web server 30 is received in a divided frame (S15A), and the Web page received in the divided frame is transmitted as it is to the main screen frame (by postMessage) (S16). The Web page is displayed on the main screen (S5).

ここで、フレームは必要なときに動的に作成することができ、また、フレーム部分は非表示であってもよい。フレーム部分を非表示とすることにより、Webサーバ20からリダイレクト先Webサーバ30に切り換えた場合であっても、表示上の連続性を持たせることができ好適である。   Here, the frame can be dynamically created when necessary, and the frame portion may be hidden. By hiding the frame portion, even when the Web server 20 is switched to the redirect destination Web server 30, continuity in display can be obtained, which is preferable.

以上、クロスドメイン制限を回避する方法の一例について、図7を参照して説明したが、図7の方法は一例に過ぎず、他の方法によりクロスドメイン制限を回避することとしてもよい。例えば、HTML/XHTMLにおいて、scriptタグのsrc属性に呼び出したい相手先のURLを指定し、JSON(JavaScript(登録商標) Object Notation)形式で返された処理結果を関数評価することで、最終的な処理結果を得るJSONP(JSON with padding)を用いることとしてもよい。scriptタグのsrc属性には、呼び出し側とは異なるドメインのURLを指定することができるため、異なるドメインにJSONによるリクエストを投げ、他のドメインで提供されている機能を直接呼び出すことが可能となる。   The example of the method for avoiding the cross domain restriction has been described above with reference to FIG. 7. However, the method of FIG. 7 is only an example, and the cross domain restriction may be avoided by another method. For example, in HTML / XHTML, the URL of the other party to be called is specified in the src attribute of the script tag, and the processing result returned in the JSON (Java Script (registered trademark) Object Notification) format is function-evaluated. It is good also as using JSONP (JSON with padding) which obtains a processing result. Since the URL of a domain different from that of the caller can be specified in the src attribute of the script tag, it is possible to send a request by JSON to a different domain and directly call a function provided in another domain. .

なお、クロスドメイン制限の回避は、Webサーバ20からWebページと共に送信されるスクリプトプログラムに従い実行される。   The avoidance of the cross domain restriction is executed according to a script program transmitted from the Web server 20 together with the Web page.

[第2実施形態]
上記第1実施形態では、各種手順を実行させるためのプログラムの一例として、Webページ(HTML)と共に送信されるJavaScript(登録商標)を用いて説明したが、プログラムは、Webページと共に送信されるプログラムに限られるものではない。以下では、各種手順を実行させるためのプログラムの別実施形態について説明する。なお、Webシステム1の構成及び処理の流れについては基本的に第1実施形態と同様であるため、説明を省略する。
[Second Embodiment]
In the first embodiment, description has been made using JavaScript (registered trademark) transmitted with a Web page (HTML) as an example of a program for executing various procedures. However, the program is a program transmitted with a Web page. It is not limited to. Hereinafter, another embodiment of a program for executing various procedures will be described. Note that the configuration of the Web system 1 and the flow of processing are basically the same as those in the first embodiment, and a description thereof will be omitted.

図8(1)を参照して、第1実施形態のスクリプトプログラムでは、ユーザ端末10からのWebページ要求に伴いWebページと共に送信されることを特徴としていた。これに対し、第2実施形態のプログラムは、図8(2)に示すように、リダイレクトサービスを行うサービス提供者により配布され、ユーザ端末10に予めインストールされたプログラムであることを特徴とする。   With reference to FIG. 8 (1), the script program of the first embodiment is characterized in that it is transmitted together with a Web page in response to a Web page request from the user terminal 10. On the other hand, as shown in FIG. 8B, the program of the second embodiment is a program distributed by a service provider who performs a redirect service and installed in the user terminal 10 in advance.

第2実施形態のプログラムは、サービス提供者が提供するサービスのリダイレクト先を予め記憶すると共に、ユーザ端末10(Webブラウザ)に対して、上記第1実施形態の図4、図5、図7に記載した各種手順を実行するためのプログラムが規定され、例えば、ユーザ端末10のWebブラウザにインストールされたツールバーの一機能として提供されることが考えられる。   The program of the second embodiment stores in advance the redirect destination of the service provided by the service provider, and also stores the redirect destination in FIG. 4, FIG. 5, and FIG. 7 of the first embodiment for the user terminal 10 (Web browser). It is conceivable that a program for executing the various procedures described is defined and provided as one function of a toolbar installed in the Web browser of the user terminal 10, for example.

第2実施形態のプログラムは、予めユーザ端末10にインストールしなければならないものの、サービス提供者の管理するWebページに逐次規定する必要がなく、また、ツールバーの他機能と併せて用いることで、ユーザに対して更に細かなサービスの提供が可能になる点で好適である。   Although the program of the second embodiment has to be installed in the user terminal 10 in advance, it is not necessary to sequentially define the web page managed by the service provider, and the user can use the program in combination with other functions of the toolbar. However, it is preferable in that a finer service can be provided.

以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. In addition, the effects described in the embodiments of the present invention only list the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the embodiments.

例えば、本発明の実施形態では、「属性情報」の一例として検索キーワード用いているが、上述したように、「属性情報」は検索キーワードに限られるものではない。「属性情報」とは、ログイン情報や検索キーワードなどといったWebページにおいてユーザが入力した情報(URLパラメータ)及びリンク元のWebページなどを示すリファラ、を含むものであり、URLの後に付加される疑問符「?」で始まる情報をいう。   For example, in the embodiment of the present invention, a search keyword is used as an example of “attribute information”. However, as described above, “attribute information” is not limited to a search keyword. The “attribute information” includes information (URL parameter) input by the user on a Web page such as login information and a search keyword, and a referrer indicating a Web page that is a link source, and a question mark added after the URL. Information starting with “?”.

1 Webシステム
10 ユーザ端末
11 Webページ要求手段
12 Webページ要求記憶手段
13 Webページ要求DB
14 レスポンス監視手段
15 Webページ受信手段
16 Webページ表示手段
17 URL変更手段
18 リダイレクト要求手段
20 Webサーバ
30 リダイレクト先Webサーバ
DESCRIPTION OF SYMBOLS 1 Web system 10 User terminal 11 Web page request means 12 Web page request storage means 13 Web page request DB
14 Response monitoring means 15 Web page receiving means 16 Web page display means 17 URL changing means 18 Redirect request means 20 Web server 30 Redirect destination Web server

Claims (5)

ユーザ端末と、前記ユーザ端末からの要求に応じてWebページを送信するWebサーバと、を備え、前記Webサーバの障害時であってもWebページを送信可能なWebシステムであって、
前記Webサーバと同一のデータを管理するリダイレクト先Webサーバを備え、
前記ユーザ端末が、URL及び属性情報からなるWebページ要求を前記URLに対応する前記Webサーバに送信するWebページ要求手段と、
前記Webサーバから前記Webページを受信する受信手段と、
前記Webページ要求を送信する度に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶するWebページ要求記憶手段と、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に前記Webページ要求記憶手段に記憶された前記Webページ要求に含まれるURLを前記リダイレクト先Webサーバに対応するURLに変更するURL変更手段と、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、前記URL変更手段により変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するリダイレクト要求手段と、
を備えるWebシステム。
A web system that includes a user terminal and a web server that transmits a web page in response to a request from the user terminal, and is capable of transmitting a web page even when the web server is faulty.
A redirect destination web server that manages the same data as the web server;
Web page requesting means for transmitting a Web page request comprising the URL and attribute information to the Web server corresponding to the URL, by the user terminal;
Receiving means for receiving the web page from the web server;
Web page request storage means for storing the Web page request in a local storage area of the user terminal each time the Web page request is transmitted;
When a response to the Web page request cannot be obtained from the Web server for a predetermined period or longer, the URL included in the Web page request stored in the Web page request storage unit is changed to a URL corresponding to the redirect destination Web server. URL changing means;
When a response to the web page request is not obtained from the web server for a predetermined period or longer , the display frame of the web page that transmitted the web page request to the web server is divided into a main frame and a divided frame, A redirect request unit that transmits a web page request including the URL changed by the URL changing unit and the attribute information to the redirect destination web server as a transmission source;
A web system comprising:
前記受信手段は、前記Webページ要求記憶手段、前記URL変更手段及び前記リダイレクト要求手段を前記ユーザ端末に機能させる所定のプログラムを更に受信する請求項1に記載のWebシステム。   The Web system according to claim 1, wherein the receiving unit further receives a predetermined program that causes the user terminal to function the Web page request storage unit, the URL changing unit, and the redirect request unit. 前記リダイレクト要求手段は、前記Webページ要求記憶手段に記憶されたWebページ要求に属性情報が含まれない場合には、前記リダイレクト先Webサーバに属性情報を含まないWebページ要求を送信する請求項1又は請求項2に記載のWebシステム。   2. The redirect request unit, when attribute information is not included in a Web page request stored in the Web page request storage unit, transmits a Web page request that does not include attribute information to the redirect destination Web server. Alternatively, the Web system according to claim 2. ユーザ端末からの要求に応じてWebページを送信するWebサーバの障害時にWebページを配信可能な方法であって、
前記Webサーバと同一のデータを管理するリダイレクト先Webサーバを備え、
前記ユーザ端末は、
URL及び属性情報からなるWebページ要求を前記URLに対応する前記Webサーバに送信するステップと、
前記Webサーバから前記Webページを受信するステップと、
前記Webページ要求を送信する度に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶するステップと、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に前記ローカルストレージ領域に記憶された前記Webページ要求に含まれるURLを前記リダイレクト先Webサーバに対応するURLに変更するステップと、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するステップと、
を含む方法。
A method capable of delivering a web page in the event of a failure of a web server that sends a web page in response to a request from a user terminal,
A redirect destination web server that manages the same data as the web server;
The user terminal is
Transmitting a web page request comprising a URL and attribute information to the web server corresponding to the URL;
Receiving the web page from the web server;
Storing the web page request in a local storage area of the user terminal each time the web page request is transmitted;
Changing a URL included in the Web page request stored in the local storage area to a URL corresponding to the redirect destination Web server when a response to the Web page request is not obtained for a predetermined period or longer from the Web server; ,
When a response to the web page request is not obtained from the web server for a predetermined period or longer , the display frame of the web page that transmitted the web page request to the web server is divided into a main frame and a divided frame, Transmitting, as a transmission source, a Web page request including the changed URL and the attribute information to the redirect destination Web server;
Including methods.
ユーザ端末と、前記ユーザ端末からの要求に応じてWebページを送信するWebサーバと、を備えるWebシステムにおいて、前記ユーザ端末に、
URL及び属性情報からなるWebページ要求を前記URLに対応する前記Webサーバに送信するWebページ要求手順と、
URL及び属性情報からなるWebページ要求を前記Webサーバに送信する度に、前記Webページ要求を前記ユーザ端末のローカルストレージ領域に記憶するWebページ要求記憶手順と、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に前記ローカルストレージ領域に記憶された前記Webページ要求に含まれるURLを、前記Webサーバと同一のデータを管理するリダイレクト先Webサーバに対応するURLに変更するURL変更手順と、
前記Webサーバから前記Webページ要求に対する応答が所定期間以上得られない場合に当該Webサーバに前記Webページ要求を送信した前記Webページの表示フレームをメインフレームと分割フレームとに分割し、分割フレームを送信元として、前記URL変更手順により変更されたURLと前記属性情報とからなるWebページ要求を前記リダイレクト先Webサーバに送信するリダイレクト要求手順と、
を実行させるためのプログラム。
In a Web system comprising a user terminal and a Web server that transmits a Web page in response to a request from the user terminal, the user terminal
A Web page request procedure for transmitting a Web page request comprising a URL and attribute information to the Web server corresponding to the URL;
A web page request storage procedure for storing the web page request in the local storage area of the user terminal each time a web page request comprising a URL and attribute information is transmitted to the web server;
When a response to the web page request is not obtained from the web server for a predetermined period or longer, the URL included in the web page request stored in the local storage area is the redirect destination web that manages the same data as the web server URL change procedure for changing to a URL corresponding to the server;
When a response to the web page request is not obtained from the web server for a predetermined period or longer , the display frame of the web page that transmitted the web page request to the web server is divided into a main frame and a divided frame, A redirect request procedure for transmitting a web page request composed of the URL changed by the URL change procedure and the attribute information to the redirect destination web server as a transmission source;
A program for running
JP2010034848A 2010-02-19 2010-02-19 Web system, method and program Expired - Fee Related JP5255006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010034848A JP5255006B2 (en) 2010-02-19 2010-02-19 Web system, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010034848A JP5255006B2 (en) 2010-02-19 2010-02-19 Web system, method and program

Publications (2)

Publication Number Publication Date
JP2011170683A JP2011170683A (en) 2011-09-01
JP5255006B2 true JP5255006B2 (en) 2013-08-07

Family

ID=44684732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010034848A Expired - Fee Related JP5255006B2 (en) 2010-02-19 2010-02-19 Web system, method and program

Country Status (1)

Country Link
JP (1) JP5255006B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5536129B2 (en) * 2012-03-28 2014-07-02 Necアクセステクニカ株式会社 How to reconnect to router and website
KR101390348B1 (en) * 2012-04-06 2014-04-30 (주)네오위즈게임즈 Method, terminal, server, and recording medium for providing web page
JP6352140B2 (en) * 2013-10-22 2018-07-04 キヤノン電子株式会社 Web system, server switching device, server switching method and program
CN106330988B (en) 2015-06-16 2020-01-03 阿里巴巴集团控股有限公司 Method and device for reissuing hypertext transfer request and client

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320326A (en) * 1997-05-16 1998-12-04 Toshiba Corp Check point communication processing system, method therefor and storage medium for storing the same method
JP2000029813A (en) * 1998-07-14 2000-01-28 Hitachi Ltd Server selection system
JP2000099435A (en) * 1998-09-18 2000-04-07 Nippon Telegr & Teleph Corp <Ntt> Server switching device, its method and recording medium recording sever switching program
CN1115839C (en) * 2000-01-28 2003-07-23 国际商业机器公司 Method and device for balancing load of image server
JP2001249841A (en) * 2000-03-07 2001-09-14 Hitachi Ltd Automatic re-requesting method using proxy server
WO2002021794A2 (en) * 2000-09-08 2002-03-14 Findthedot,Inc. A method and system of connecting printed media to electronic information as a response to a request
US20020138624A1 (en) * 2001-03-21 2002-09-26 Mitsubishi Electric Information Technology Center America, Inc. (Ita) Collaborative web browsing
JP2003050765A (en) * 2001-05-31 2003-02-21 Recruit Co Ltd System and method for providing information, and program
JP2003076623A (en) * 2001-09-05 2003-03-14 Mitsubishi Electric Corp Network system, server device, communication terminal, and server changeover method
JP2003296211A (en) * 2002-04-05 2003-10-17 Nec Corp Automatic switching system and program for www server
JP2004032103A (en) * 2002-06-21 2004-01-29 Ntt Docomo Tokai Inc Network system and server switching method
JP3751277B2 (en) * 2002-10-29 2006-03-01 沖電気工業株式会社 Web page display failure detection method, recovery method thereof, and client terminal program for executing the same
JP4297811B2 (en) * 2003-03-14 2009-07-15 株式会社リコー Information providing apparatus, information providing method, and program
JP2006127220A (en) * 2004-10-29 2006-05-18 Toshiba Corp Home server system and method for distributing contents
JP4825533B2 (en) * 2006-02-07 2011-11-30 パナソニック株式会社 Mobile terminal device, content management system, and data cache method
JP4863055B2 (en) * 2006-02-07 2012-01-25 横河電機株式会社 Network terminal equipment
US7809785B2 (en) * 2007-05-28 2010-10-05 Google Inc. System using router in a web browser for inter-domain communication
JP4820780B2 (en) * 2007-06-22 2011-11-24 西日本電信電話株式会社 Connection destination migration method and connection destination migration system

Also Published As

Publication number Publication date
JP2011170683A (en) 2011-09-01

Similar Documents

Publication Publication Date Title
US8849914B2 (en) System and method for synchronized co-browsing by users in different web sessions
JP5872043B2 (en) Managing information associated with network resources
US10237325B2 (en) Multiple device co-browsing of a single website instance
US10091313B2 (en) Method and system for tracking web link usage
US20100306642A1 (en) Co-browsing (java) scripted html documents
JP3954030B2 (en) Method and system for protecting user privacy when using applications
US8312450B2 (en) Widgetizing a web-based application
US20110093790A1 (en) Preemptive caching for web-based systems
US20080228910A1 (en) Method for monitoring user interaction to maximize internet web page real estate
US10447742B2 (en) Information sharing method and device
US8886819B1 (en) Cross-domain communication in domain-restricted communication environments
JP2007149074A (en) Context based navigation
US20060168079A1 (en) System and method for automatically connecting a client computer to a server
US20140280699A1 (en) Method and apparatus for enabling discovery and communications between unrelated browser sessions
JP5255006B2 (en) Web system, method and program
US20150169509A1 (en) Web page rendering on wireless devices
US9059959B2 (en) Client side management of HTTP sessions
CN102004729A (en) Method and system for showing website webpage and website server
US20150193393A1 (en) Dynamic Display of Web Content
JP4866633B2 (en) Screen information generation method, screen information generation system, and screen information generation program
US20140237612A1 (en) Privacy setting implementation in a co-browsing environment
JP2007094780A (en) Screen information providing server, screen information providing method and program
JP2002041377A (en) Data communication system, data processor used for the communication system, session maintenance method using browser and recording medium
TWI692232B (en) Method and device for loading web page based on iframe
JP5251753B2 (en) Terminal, request transmission method, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120717

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120808

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120914

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130116

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130123

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130418

R150 Certificate of patent or registration of utility model

Ref document number: 5255006

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160426

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371