JP5013789B2 - Web page generation system, web page generation device, and web page generation method - Google Patents
Web page generation system, web page generation device, and web page generation method Download PDFInfo
- Publication number
- JP5013789B2 JP5013789B2 JP2006246739A JP2006246739A JP5013789B2 JP 5013789 B2 JP5013789 B2 JP 5013789B2 JP 2006246739 A JP2006246739 A JP 2006246739A JP 2006246739 A JP2006246739 A JP 2006246739A JP 5013789 B2 JP5013789 B2 JP 5013789B2
- Authority
- JP
- Japan
- Prior art keywords
- web page
- partial information
- server
- template
- search
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 65
- 238000003860 storage Methods 0.000 claims description 81
- 230000005540 biological transmission Effects 0.000 claims description 30
- 230000010076 replication Effects 0.000 claims description 11
- 230000003068 static effect Effects 0.000 claims description 6
- 230000010354 integration Effects 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 18
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 238000010348 incorporation Methods 0.000 description 2
- 241001522296 Erithacus rubecula Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Description
本発明は、ユーザから要求されるウェブページを生成する第1のサーバと複数の第1のサーバと通信可能な第2のサーバとを備えるウェブページ生成システムおよびウェブページ生成方法に関し、特に、アクセスの集中に対応可能な処理能力を確保しつつ無駄なコストを削減することができるウェブページ生成システムおよびウェブページ生成方法に関する。 The present invention relates to a web page generation system and a web page generation method including a first server that generates a web page requested by a user and a second server that can communicate with the plurality of first servers, and in particular, access. The present invention relates to a web page generation system and a web page generation method capable of reducing wasteful costs while ensuring processing capability capable of coping with concentration of the user.
一般に、インターネットに接続したクライアント端末などから閲覧されるウェブページは、ウェブサーバで生成されている。ウェブサーバは、クライアント端末からウェブページの閲覧要求を受け取ると、指定されたウェブページを生成し、ページデータをクライアント端末へ配信する。このときウェブサーバは、指定されたウェブページに表示する情報をデータベースなどから取得し、取得した情報をテンプレートに配置してウェブページを生成することになる。 In general, a web page viewed from a client terminal connected to the Internet is generated by a web server. When the web server receives a web page browsing request from the client terminal, the web server generates a designated web page and distributes the page data to the client terminal. At this time, the web server obtains information to be displayed on the designated web page from a database or the like, and arranges the obtained information in a template to generate a web page.
しかし、このようなウェブページ生成処理には比較的時間がかかるため、クライアント端末からの閲覧要求に対して毎回ウェブページ生成処理を行っていては、クライアント端末への応答が遅くなる傾向がある。そこで、ウェブサーバは一度生成したウェブページをキャッシュとして一時的に記憶しておき、同一ページに対する閲覧要求があった時には、キャッシュされたウェブページのページデータをクライアント端末へ送信することが行われている。これにより、一度生成されたウェブページについては、クライアント端末への応答が高速化される。 However, since such a web page generation process takes a relatively long time, if the web page generation process is performed every time in response to a browsing request from the client terminal, the response to the client terminal tends to be delayed. Therefore, the web server temporarily stores the generated web page as a cache, and when there is a browsing request for the same page, the page data of the cached web page is transmitted to the client terminal. Yes. Thereby, about the web page once produced | generated, the response to a client terminal is accelerated.
さらに、例えば特許文献1においては、ウェブページに表示される情報を部分的にキャッシュしておき、同一ページに対する閲覧要求があった時には、キャッシュされた情報と新たに取得された情報とを配置してウェブページを生成することが記載されている。特許文献1に開示された技術によれば、例えば用語検索など表示されるたびに変化する情報を含むウェブページの場合でも、変化のない部分についてはキャッシュされた情報を用いて高速にクライアント端末へウェブページを提供することができ、ウェブサーバのメモリ消費量を削減することができる。 Furthermore, for example, in Patent Document 1, information displayed on a web page is partially cached, and when there is a browsing request for the same page, the cached information and newly acquired information are arranged. And generating a web page. According to the technique disclosed in Patent Document 1, even in the case of a web page including information that changes each time it is displayed, such as a term search, a portion that does not change can be quickly transferred to a client terminal using cached information. A web page can be provided, and the memory consumption of the web server can be reduced.
しかしながら、キャッシュによってメモリ消費量を削減しても、ウェブページへのアクセスは時間的に偏向することがあるため、アクセスのピークにも耐え得るように大容量のメモリをウェブサーバに搭載したり、ウェブサーバを増設したりする必要が生じ、通常時にはオーバースペックとなって無駄なコストが発生するという問題がある。 However, even if the memory consumption is reduced by the cache, access to the web page may be biased in time, so a large amount of memory can be installed in the web server to withstand the peak of access, There is a need to increase the number of web servers, and there is a problem that wasteful costs occur due to over-specification at normal times.
すなわち、例えば台風の接近時には、天気予報のサイトや公共交通機関の運行情報のサイトなどのウェブページにアクセスが集中することがある。また、イベント関連の情報を提供するサイトのウェブページには、実際のイベント開催前後にアクセスが集中すると考えられる。また、1日の時間帯によっても、アクセスがピークとなる時間がサイトごとに異なっている。このようなサイトにおいては、アクセスが集中してもウェブページの提供が可能なように、アクセスのピークを基準としたメモリサイズやウェブサーバ数が決定されるが、アクセスのピーク以外では、メモリやウェブサーバの一部が無駄なリソースとなってしまう。 That is, for example, when a typhoon approaches, access may be concentrated on web pages such as a weather forecast site or a public transportation operation information site. In addition, it is considered that access to the web page of a site that provides event-related information is concentrated before and after the actual event. Also, depending on the time of the day, the time at which access reaches a peak varies from site to site. In such sites, the memory size and the number of web servers are determined based on the peak of access so that web pages can be provided even when access is concentrated. A part of the web server becomes a wasteful resource.
本発明はかかる点に鑑みてなされたものであり、アクセスの集中に対応可能な処理能力を確保しつつ無駄なコストを削減することができるウェブページ生成システム、ウェブページ生成装置、ウェブページ生成方法、およびウェブページ生成プログラムを提供することを目的とする。 The present invention has been made in view of the above points, and a web page generation system, a web page generation apparatus, and a web page generation method capable of reducing wasteful costs while ensuring processing capability capable of dealing with concentration of access. An object of the present invention is to provide a web page generation program.
上記課題を解決するために、本発明は、ユーザから要求されるウェブページを生成する第1のサーバと複数の第1のサーバと通信可能な第2のサーバとを備えるウェブページ生成システムであって、前記第1のサーバは、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶する記憶手段と、ウェブページの閲覧の要求をユーザから受け付ける受付手段と、ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を前記記憶手段から検索する検索手段と、前記検索手段による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを前記第2のサーバへ要求し、前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記第2のサーバへ要求する要求手段と、前記検索手段によって検索されたテンプレートもしくは部分情報、または、前記要求手段によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手段とを有し、前記第2のサーバは、複数のウェブページごとにテンプレートを保持し、前記第1のサーバからテンプレートを要求された場合に、複数のウェブページごとのテンプレートのうち前記第1のサーバから要求されたテンプレートを前記第1のサーバへ提供し、前記第1のサーバから部分情報の生成を要求された場合に、当該部分情報を生成し、生成された部分情報を前記第1のサーバへ提供することを特徴とする。 In order to solve the above-described problem, the present invention is a web page generation system including a first server that generates a web page requested by a user and a second server that can communicate with the plurality of first servers. Te, wherein the first server includes a template for a plurality of web pages generated in the past, a storage means for temporarily storing the partial information constituting the Webupe di, a request for browsing the web page A receiving unit that receives from a user; a web page template that the user requests to browse; a search unit that searches the storage unit for partial information that needs to be embedded in the web page; a search result by the search unit; a template if but not stored, requesting the template to the second server, the search by the searching means results, required When the partial information is not stored, a request means for requesting the generation of the partial information to the second server, the template or partial information searched by the searching means, or, request by the requesting means And generating means for generating a web page by incorporating the partial information into the template using the template or partial information generated, and the second server holds a template for each of a plurality of web pages, When a template is requested from the first server, a template requested from the first server among templates for each of a plurality of web pages is provided to the first server, and partial information is received from the first server. when requested generation of, it generates the partial information and provides the generated partial information to the first server And features.
また、本発明は、上記発明において、前記記憶手段は、前記第2のサーバから提供される部分情報を一時的に記憶することを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the storage means temporarily stores partial information provided from the second server.
また、本発明は、上記発明において、前記記憶手段は、所定期間以上不変の静的部分情報のみを記憶することを特徴とする。 Further, the present invention is characterized in that, in the above-mentioned invention, the storage means stores only static partial information that has not changed over a predetermined period.
また、本発明は、上記発明において、前記記憶手段は、過去に生成されたウェブページのテンプレートを一時的に記憶することを特徴とする。 Also, the present invention is characterized in that, in the above invention, the storage means temporarily stores a template of a web page generated in the past.
また、本発明は、上記発明において、前記生成手段は、ウェブページごとのテンプレートに部分情報を組み込んでウェブページを生成することを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the generating means generates a web page by incorporating partial information into a template for each web page.
また、本発明は、上記発明において、前記第2のサーバは、前記第1のサーバから要求された部分情報と置換可能な部分情報についても同時に生成することを特徴とする。 Further, the present invention is characterized in that, in the above invention, the second server also generates partial information replaceable with the partial information requested from the first server.
また、本発明は、ユーザから要求されるウェブページを生成する複数の第1のサーバと複数の第1のサーバと通信可能な第2のサーバとを備えるウェブページ生成システムであって、前記第1のサーバは、過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶する記憶手段と、ウェブページの閲覧の要求をユーザから受け付ける受付手段と、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を前記記憶手段から検索する検索手段と、前記検索手段によって検索された部分情報を用いてウェブページを生成する生成手段と、前記記憶手段における部分情報の記憶状況を前記第2のサーバへ報告する報告手段とを有し、前記第2のサーバは、前記第1のサーバから報告される部分情報の記憶状況を管理する管理テーブルと、前記管理テーブルを参照して1つの第1のサーバから他の第1のサーバへ部分情報を複製するか否かを判定する判定手段と、前記判定手段による判定の結果に応じて、部分情報の複製指示を少なくとも1つの第1のサーバへ送信する送信手段とを有することを特徴とする。 The present invention is also a web page generation system including a plurality of first servers that generate web pages requested by a user and a second server that can communicate with the plurality of first servers, The server 1 includes a storage unit that temporarily stores, in units of partial information constituting the web page, a reception unit that receives a request for browsing the web page from a user, and a user Search means for searching for partial information necessary for generating a web page that requires browsing from the storage means, generation means for generating a web page using the partial information searched by the search means, and a portion in the storage means Reporting means for reporting the storage status of information to the second server, wherein the second server is a part reported from the first server A management table for managing a storage state of information, a determination unit that refers to the management table and determines whether or not partial information is copied from one first server to another first server, and the determination unit And transmitting means for transmitting a partial information duplication instruction to at least one first server in accordance with the result of the determination by.
また、本発明は、上記発明において、前記報告手段は、前記生成手段による部分情報の使用回数を前記第2のサーバへ報告し、前記判定手段は、前記管理テーブルに記録された使用回数が所定回数に達する部分情報を複製すると判定し、前記送信手段は、前記判定手段による判定の結果、使用回数が所定回数に達した部分情報の複製指示を送信することを特徴とする。 Also, in the present invention according to the above invention, the reporting unit reports the number of times the partial information has been used by the generating unit to the second server, and the determining unit has a predetermined number of times of use recorded in the management table. It is determined that the partial information reaching the number of times is duplicated, and the transmission means transmits an instruction to copy the partial information whose number of use has reached a predetermined number of times as a result of the determination by the determination means.
また、本発明は、上記発明において、前記送信手段は、部分情報の複製指示をこの部分情報を記憶していないすべての第1のサーバへ送信することを特徴とする。 Further, the present invention is characterized in that, in the above-mentioned invention, the transmitting means transmits a partial information duplication instruction to all the first servers not storing the partial information.
また、本発明は、上記発明において、前記第1のサーバは、前記第2サーバから送信された複製指示が受信された場合に、この複製指示に係る部分情報を記憶する第1のサーバへ当該部分情報の複製を要求する要求手段をさらに有することを特徴とする。 Further, in the present invention, in the above invention, when the first server receives a copy instruction transmitted from the second server, the first server stores the partial information related to the copy instruction. It further has request means for requesting a copy of the partial information.
また、本発明は、上記発明において、前記送信手段は、前記第1のサーバの処理負荷に基づいて複製のスケジュールを調整する調整手段を含むことを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the transmitting means includes an adjusting means for adjusting a replication schedule based on a processing load of the first server.
また、本発明は、上記発明において、前記第1のサーバは、前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報を他の第1のサーバと共有することを前記第2のサーバへ依頼する依頼手段をさらに有し、前記判定手段は、前記依頼手段によって共有を依頼された部分情報が少なくとも1つの第1のサーバに記憶されている場合に、この部分情報を複製すると判定し、前記送信手段は、前記依頼手段によって共有を依頼された部分情報の複製指示をこの部分情報の共有を依頼した第1のサーバへ送信することを特徴とする。 In the present invention, the first server shares the partial information with other first servers when the necessary partial information is not stored as a result of the search by the search means. Requesting means for requesting to the second server, and the determining means, when the partial information requested to be shared by the requesting means is stored in at least one first server, It is determined that the partial information is to be copied, and the transmission unit transmits a copy instruction of the partial information requested to be shared by the requesting unit to the first server that requested the sharing of the partial information.
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成装置であって、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶する記憶手段と、ウェブページの閲覧の要求をユーザから受け付ける受付手段と、ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を前記記憶手段から検索する検索手段と、前記検索手段による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求手段と、前記検索手段によって検索されたテンプレートもしくは部分情報、または、前記要求手段によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手段とを有することを特徴とする。 Further, the present invention provides a web page generator that generates a web page requested by the user, the template for a plurality of web pages generated in the past, temporary and partial information constituting the Webupe di From the storage means, the receiving means for receiving a request for browsing the web page from the user , the template of the web page that the user requests to browse, and the partial information that needs to be incorporated into the web page from the storage means When a template is not stored as a result of search by the search means for searching and the search means, the template is requested to an external device, and necessary partial information is not stored as a result of the search by the search means. when the search and request means for requesting the generation of the partial information to said external device, by the search means Template or partial information, or by using the request template or partial information by said request means, and having a generating means for generating a web page incorporating the partial information to the template .
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成装置であって、過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶する記憶手段と、ウェブページの閲覧の要求をユーザから受け付ける受付手段と、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を前記記憶手段から検索する検索手段と、前記検索手段によって検索された部分情報を用いてウェブページを生成する生成手段と、前記記憶手段における部分情報の記憶状況を外部の装置へ報告する報告手段と、前記外部の装置から部分情報の複製指示を受信する受信手段とを有することを特徴とする。 In addition, the present invention is a web page generation device that generates a web page requested by a user, and temporarily stores a web page generated in the past as a unit of partial information constituting the web page. Means for receiving a request for browsing a web page from a user, search means for searching for partial information necessary for generating a web page that the user requests to browse from the storage means, and search by the search means Generating means for generating a web page using partial information; reporting means for reporting the storage status of the partial information in the storage means to an external device; and receiving means for receiving a copy instruction of partial information from the external device; It is characterized by having.
また、本発明は、ユーザから要求されるウェブページを生成する第1のサーバと複数の第1のサーバと通信可能な第2のサーバとを備えるウェブページ生成システムにおけるウェブページ生成方法であって、前記第1のサーバが、ウェブページの閲覧の要求をユーザから受け付ける受付工程と、ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索工程と、前記検索工程による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを前記第2のサーバへ要求し、前記検索工程における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記第2のサーバへ要求する要求工程と、前記第2のサーバが、複数のウェブページごとにテンプレートを保持し、前記第1のサーバからテンプレートを要求された場合に、複数のウェブページごとのテンプレートのうち前記第1のサーバから要求されたテンプレートを前記第1のサーバへ提供し、前記第1のサーバから部分情報の生成を要求された場合に、当該部分情報を生成し、生成された部分情報を前記第1のサーバへ提供する提供工程と、前記第1のサーバが、前記検索工程によって検索されたテンプレートもしくは部分情報、または、前記提供工程によって提供されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成工程とを有することを特徴とする。 Moreover, this invention is a web page generation method in a web page generation system provided with the 1st server which produces | generates the web page requested | required by the user, and the 2nd server which can communicate with several 1st servers. The first server generates a reception step for receiving a request for browsing a web page from a user, a web page template that the user requests to browse, and partial information that needs to be incorporated into the web page in the past. and templates for a plurality of web pages, the a search step of the Webupe partial information constituting the di retrieves from memory to temporarily store, the search process the search results with, if the template is not stored the requests the template to the second server, a search in the search process results, necessary part information If but not stored, a request step of requesting the generation of the partial information to the second server, the second server holds a template for each of the plurality of web pages, from the first server When a template is requested, a template requested from the first server among templates for each of a plurality of web pages is provided to the first server, and generation of partial information is requested from the first server. A provision step of generating the partial information and providing the generated partial information to the first server, and a template or partial information searched by the search step , or the first server , or using the template or partial information provided by said providing step, generating a web page incorporating the partial information to the template And having a generating step that.
また、本発明は、上記発明において、前記提供工程にて前記第2のサーバから提供される部分情報を前記第1のサーバのメモリに一時的に記憶する記憶工程をさらに有することを特徴とする。 In the above invention, the present invention further includes a storing step of temporarily storing the partial information provided from the second server in the providing step in the memory of the first server. .
また、本発明は、ユーザから要求されるウェブページを生成する複数の第1のサーバと複数の第1のサーバと通信可能な第2のサーバとを備えるウェブページ生成システムにおけるウェブページ生成方法であって、前記第1のサーバが、ウェブページの閲覧の要求をユーザから受け付ける受付工程と、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索工程と、前記検索工程にて検索された部分情報を用いてウェブページを生成する生成工程と、前記メモリにおける部分情報の記憶状況を前記第2のサーバへ報告する報告工程と、前記第2のサーバが、前記第1のサーバから報告される部分情報の記憶状況を管理する管理テーブルを参照して1つの第1のサーバから他の第1のサーバへ部分情報を複製するか否かを判定する判定工程と、前記判定工程における判定の結果に応じて、部分情報の複製指示を少なくとも1つの第1のサーバへ送信する送信工程とを有することを特徴とする。 Moreover, this invention is a web page production | generation method in a web page production | generation system provided with the several 1st server which produces | generates the web page requested | required by the user, and the 2nd server which can communicate with several 1st server. And the said 1st server comprises the reception process which receives the request | requirement of browsing of a web page from a user, and the partial information required for the production | generation of the web page which a user requests | requires browsing comprises the web page produced | generated in the past A search step of searching from a memory temporarily storing partial information to be stored, a generation step of generating a web page using the partial information searched in the search step, and a storage status of the partial information in the memory A reporting table for reporting to the second server, and a management table for managing the storage status of the partial information reported from the first server by the second server A determination step for determining whether or not partial information is replicated from one first server to another first server with reference to at least a partial information replication instruction in accordance with the determination result in the determination step; And a transmission step of transmitting to one first server.
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成方法であって、ウェブページの閲覧の要求をユーザから受け付ける受付工程と、ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索工程と、前記検索工程による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索工程における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求工程と、前記検索工程によって検索されたテンプレートもしくは部分情報、または、前記要求工程によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成工程とを有することを特徴とする。 The present invention is also a web page generation method for generating a web page requested by a user, a reception step for receiving a web page browsing request from a user, a web page template for which the user requests browsing, and the web page template partial information necessary incorporation to the web page, and a template for a plurality of web pages generated in the past, a search step of searching the partial information constituting the Webupe di from the memory for temporarily storing If the template is not stored as a result of the search in the search step, the template is requested to an external device. If the required partial information is not stored as a result of the search in the search step, this part a request step of requesting the generation of information to the external device, template retrieved by the search step Or partial information, or by using the request template or partial information by the request step, and having a generating step of generating a web page incorporating the partial information to the template.
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成方法であって、ウェブページの閲覧の要求をユーザから受け付ける受付手段と、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索工程と、前記検索工程にて検索された部分情報を用いてウェブページを生成する生成工程と、前記メモリにおける部分情報の記憶状況を外部の装置へ報告する報告工程と、前記外部の装置から部分情報の複製指示を受信する受信工程とを有することを特徴とする。 In addition, the present invention is a web page generation method for generating a web page requested by a user, and is necessary for receiving a web page browsing request from a user and generating a web page for which the user requests browsing. A search step for searching for partial information from a memory that temporarily stores partial information constituting a web page generated in the past, and generation for generating a web page using the partial information searched in the search step And a reporting step for reporting the storage status of the partial information in the memory to an external device, and a receiving step for receiving a partial information duplication instruction from the external device.
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成プログラムであって、ウェブページの閲覧の要求をユーザから受け付ける受付手順と、ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索手順と、前記検索手順による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索手順における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求手順と、前記検索手順によって検索されたテンプレートもしくは部分情報、または、前記要求手順によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手順とをコンピュータに実行させることを特徴とする。 Further, the present invention is a web page generation program for generating a web page requested by a user, a reception procedure for receiving a request for browsing a web page from a user, a template of a web page for which the user requests browsing, and partial information necessary incorporation to the web page, and a template for a plurality of web pages generated in the past, the search procedure for searching the partial information constituting the Webupe di from the memory for temporarily storing If the template is not stored as a result of the search by the search procedure, the template is requested to an external device, and if the required partial information is not stored as a result of the search in the search procedure, this part a request procedure for requesting generation of information to the external device, Teng retrieved by the search procedure Rate or partial information, or by using the request template or partial information by the request procedure, characterized in that to execute a generating step of generating a web page on a computer incorporating the partial information to the template And
また、本発明は、ユーザから要求されるウェブページを生成するウェブページ生成プログラムであって、ウェブページの閲覧の要求をユーザから受け付ける受付手順と、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索手順と、前記検索手順にて検索された部分情報を用いてウェブページを生成する生成手順と、前記メモリにおける部分情報の記憶状況を外部の装置へ報告する報告手順と、前記外部の装置から部分情報の複製指示を受信する受信手順とをコンピュータに実行させることを特徴とする。 Further, the present invention is a web page generation program for generating a web page requested by a user, and is necessary for a reception procedure for receiving a web page browsing request from the user and for generating a web page for which the user requests browsing. A search procedure for searching for partial information from a memory that temporarily stores partial information constituting a web page generated in the past, and generation for generating a web page using the partial information searched in the search procedure It is characterized by causing a computer to execute a procedure, a reporting procedure for reporting a storage status of partial information in the memory to an external device, and a receiving procedure for receiving a partial information duplication instruction from the external device.
また、本発明は、ウェブページを構成する部分情報からウェブページを生成するウェブページ生成装置が一時的に記憶する部分情報を管理する部分情報管理プログラムであって、前記ウェブページ生成装置から報告される部分情報の記憶状況を管理する管理テーブルを参照して1つのウェブページ生成装置から他のウェブページ生成装置へ部分情報を複製するか否かを判定する判定手順と、前記判定手順における判定の結果に応じて、部分情報の複製指示を少なくとも1つのウェブページ生成装置へ送信する送信手順とをコンピュータに実行させることを特徴とする。 Further, the present invention is a partial information management program for managing partial information temporarily stored in a web page generating device that generates a web page from partial information constituting a web page, and is reported from the web page generating device. A determination procedure for determining whether or not to copy partial information from one web page generation device to another web page generation device with reference to a management table for managing the storage status of partial information, According to the result, the computer is caused to execute a transmission procedure for transmitting a partial information duplication instruction to at least one web page generation apparatus.
本発明によれば、第1のサーバは、過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶し、ウェブページの閲覧の要求をユーザから受け付け、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を記憶された部分情報から検索し、検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を第2のサーバへ要求し、検索された部分情報および生成が要求された部分情報を用いてウェブページを生成し、第2のサーバは、第1のサーバから要求された部分情報を生成し、生成された部分情報を第1のサーバへ提供する。このため、過去に生成されたウェブページと共通する部分については、第1のサーバに記憶された部分情報を使用してウェブページを生成し、第2のサーバによる部分情報生成の処理負荷を軽減することができる。そして、アクセスのピークに対しては、汎用的な第1のサーバの数のみを調整すれば良く、あるサイトへのアクセスのピークが収束しても、余剰の第1のサーバを他のサイトのウェブページ生成に用いることができ、アクセスの集中に対応可能な処理能力を確保しつつ無駄なコストを削減することができる。 According to the present invention, the first server temporarily stores, as a unit, partial information constituting the web page for a web page generated in the past, receives a request for browsing the web page from the user, When the partial information necessary for generating the web page requesting browsing is searched from the stored partial information, and the necessary partial information is not stored as a result of the search, the partial server generates the partial information. To generate a web page using the searched partial information and the partial information requested to be generated, and the second server generates the partial information requested from the first server, and the generated part Information is provided to the first server. For this reason, for the parts common to web pages generated in the past, the partial information stored in the first server is used to generate web pages, reducing the processing load of partial information generation by the second server. can do. For the access peak, it is only necessary to adjust the number of general-purpose first servers. Even if the access peak to a certain site converges, the surplus first server is replaced by another site. It can be used to generate a web page, and wasteful costs can be reduced while ensuring a processing capability that can cope with concentration of access.
また、本発明によれば、第1のサーバは、第2のサーバから提供される部分情報を一時的に記憶するため、一度ウェブページの生成に使用された部分情報をキャッシュすることになり、繰り返し使用される部分情報を二度目以降は生成する必要がなくなり、第2のサーバの処理負荷を効率的に軽減することができる。 In addition, according to the present invention, the first server temporarily stores the partial information provided from the second server, so that the partial information once used for generating the web page is cached. It is not necessary to generate partial information that is used repeatedly for the second time and later, and the processing load on the second server can be efficiently reduced.
また、本発明によれば、第1のサーバは、所定期間以上不変の静的部分情報のみを記憶するため、頻繁に変化する動的部分情報やユーザ特有の情報を含むパーソナライズ部分情報は毎回生成され、常に最新かつユーザに応じたウェブページを生成することができる。 According to the present invention, since the first server stores only static part information that has not changed over a predetermined period, personalized part information including frequently changing dynamic part information and user-specific information is generated every time. Thus, a web page that is always up-to-date and according to the user can be generated.
また、本発明によれば、第1のサーバは、過去に生成されたウェブページのテンプレートを一時的に記憶するため、比較的最近生成されたウェブページのテンプレートを第2のサーバから取得する必要がなく、第2のサーバの処理負荷をさらに軽減することができる。 Further, according to the present invention, the first server temporarily stores web page templates generated in the past, so it is necessary to acquire a relatively recently generated web page template from the second server. The processing load on the second server can be further reduced.
また、本発明によれば、第1のサーバは、ウェブページごとのテンプレートに部分情報を組み込んでウェブページを生成するため、ウェブページの生成処理が容易となり、第1のサーバの処理負荷を軽減することができる。 According to the present invention, since the first server generates a web page by incorporating partial information into a template for each web page, web page generation processing is facilitated, and the processing load on the first server is reduced. can do.
また、本発明によれば、第2のサーバは、第1のサーバから要求された部分情報と置換可能な部分情報についても同時に生成するため、例えばサイトの提供者側が閲覧数の増加を促進するためのウェブページへのリンクや広告などを含む置換可能な部分情報については、複数の部分情報がまとめて第1のサーバにキャッシュされ、第1のサーバから第2のサーバへの部分情報生成の要求の回数を減らすことができる。 Further, according to the present invention, the second server simultaneously generates partial information that can be replaced with the partial information requested from the first server, so that, for example, the site provider promotes an increase in the number of browsing. For the replaceable partial information including a link to a web page or an advertisement, a plurality of pieces of partial information are cached together in the first server, and partial information generation from the first server to the second server is performed. The number of requests can be reduced.
また、本発明によれば、第1のサーバは、過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶し、ウェブページの閲覧の要求をユーザから受け付け、ユーザが閲覧を要求するウェブページの生成に必要な部分情報を記憶された部分情報から検索し、検索された部分情報を用いてウェブページを生成し、部分情報の記憶状況を第2のサーバへ報告し、第2のサーバは、第1のサーバから報告される部分情報の記憶状況を管理する管理テーブルを参照して1つの第1のサーバから他の第1のサーバへ部分情報を複製するか否かを判定し、判定の結果に応じて、部分情報の複製指示を少なくとも1つの第1のサーバへ送信する。このため、第1のサーバにおける部分情報の記憶状況に応じて、複数の第1のサーバ間で部分情報が複製されるため、部分情報を生成するマスタサーバによる部分情報生成をさらに少なくしてマスタサーバの処理負荷をより軽減することができる。 According to the present invention, the first server temporarily stores, in units of partial information constituting the web page, a web page generated in the past, and accepts a request for browsing the web page from the user. The partial information necessary for generating the web page that the user requests to browse is searched from the stored partial information, the web page is generated using the searched partial information, and the storage status of the partial information is stored in the second server. The second server copies the partial information from one first server to another first server with reference to the management table that manages the storage status of the partial information reported from the first server. It is determined whether or not to do so, and a partial information duplication instruction is transmitted to at least one first server according to the determination result. For this reason, since the partial information is replicated among the plurality of first servers according to the storage status of the partial information in the first server, the master server that generates the partial information further reduces the generation of partial information. The processing load on the server can be further reduced.
また、本発明によれば、第1のサーバは、部分情報の使用回数を前記第2のサーバへ報告し、第2のサーバは、管理テーブルに記録された使用回数が所定回数に達する部分情報を複製すると判定し、判定の結果、使用回数が所定回数に達した部分情報の複製指示を送信する。このため、第1のサーバにおけるウェブページの生成に一度も使用されていない部分情報であっても、他の第1のサーバにおける使用頻度が高い部分情報をキャッシュすることができる。 According to the present invention, the first server reports the number of times the partial information is used to the second server, and the second server is the partial information for which the number of times used recorded in the management table reaches a predetermined number. Is determined to be copied, and as a result of the determination, a copy instruction of partial information whose number of uses has reached a predetermined number is transmitted. Therefore, even partial information that has never been used to generate a web page in the first server can be cached with partial information that is frequently used in the other first servers.
また、本発明によれば、第2のサーバは、部分情報の複製指示をこの部分情報を記憶していないすべての第1のサーバへ送信するため、使用頻度が高い部分情報をすべての第1のサーバにキャッシュすることができる。 According to the present invention, the second server transmits a partial information duplication instruction to all the first servers that do not store the partial information. Can be cached on any server.
また、本発明によれば、第1のサーバは、第2サーバから送信された複製指示が受信された場合に、この複製指示に係る部分情報を記憶する第1のサーバへ当該部分情報の複製を要求する。このため、部分情報の生成をマスタサーバへ要求する場合と同様の処理で部分情報の複製を要求してキャッシュすることができる。 Further, according to the present invention, when the first server receives the copy instruction transmitted from the second server, the first server copies the partial information to the first server that stores the partial information related to the copy instruction. Request. For this reason, it is possible to request and cache the copy of the partial information by the same process as when the generation of the partial information is requested to the master server.
また、本発明によれば、第2のサーバは、第1のサーバの処理負荷に基づいて複製のスケジュールを調整するため、部分情報の複製元および複製先の第1のサーバの処理負荷が過剰になることがなく、確実に必要な部分情報を第1のサーバにキャッシュすることができる。 Further, according to the present invention, the second server adjusts the duplication schedule based on the processing load of the first server, so the processing load of the first server that is the duplication source and duplication destination of the partial information is excessive. Therefore, necessary partial information can be reliably cached in the first server.
また、本発明によれば、第1のサーバは、検索の結果、必要な部分情報が記憶されていない場合に、この部分情報を他の第1のサーバと共有することを第2のサーバへ依頼し、第2のサーバは、共有を依頼された部分情報が少なくとも1つの第1のサーバに記憶されている場合に、この部分情報を複製すると判定し、共有を依頼された部分情報の複製指示をこの部分情報の共有を依頼した第1のサーバへ送信する。このため、第1のサーバにおけるウェブページの生成に一度も使用されていない部分情報であっても、他の第1のサーバにおいてキャッシュされている部分情報をキャッシュすることができる。 Further, according to the present invention, when the necessary partial information is not stored as a result of the search, the first server shares the partial information with the other first server to the second server. When the requested partial information is stored in at least one first server, the second server determines that the partial information is to be duplicated, and duplicates the partial information requested to be shared. An instruction is transmitted to the first server that requested the sharing of the partial information. For this reason, even partial information that has never been used to generate a web page in the first server can be cached in partial information cached in another first server.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(実施の形態1)
図1は、本発明の実施の形態1に係るウェブページ生成システムの全体構成を示す図である。このウェブページ生成システムにおいては、クライアント端末1からウェブページの閲覧要求(以下「ページリクエスト」という)が送信されると、ページリクエストはインターネットなどのネットワーク2を介してロードバランサ3−1またはロードバランサ3−2に受信される。ロードバランサ3−1、3−2への振り分けは、例えばDNS(Domain Name System)ラウンドロビンなどの方法により実行される。
(Embodiment 1)
FIG. 1 is a diagram showing an overall configuration of a web page generation system according to Embodiment 1 of the present invention. In this web page generation system, when a web page browsing request (hereinafter referred to as “page request”) is transmitted from the client terminal 1, the page request is transmitted to the load balancer 3-1 or the load balancer via the network 2 such as the Internet. It is received at 3-2. The distribution to the load balancers 3-1, 3-2 is executed by a method such as DNS (Domain Name System) round robin.
そして、ページリクエストを受信したロードバランサ3−1、3−2は、自装置に接続されている汎用ウェブサーバ100の負荷状況や処理能力などを考慮して、要求されたウェブページを生成する汎用ウェブサーバ100を選定し、選定した汎用ウェブサーバ100へページリクエストを転送する。
The load balancers 3-1 and 3-2 that have received the page request generate a requested web page in consideration of the load status and processing capability of the general-
汎用ウェブサーバ100は、ページリクエストによって要求されたウェブページの枠組みであるテンプレートがキャッシュされているか否か確認し、キャッシュされていなければ自装置に接続されているマスタサーバ4−1またはマスタサーバ4−2へテンプレートを要求する。そして、汎用ウェブサーバ100は、キャッシュまたはマスタサーバ4−1、4−2から得られたテンプレートに組み込む情報のモジュールがキャッシュされているか否か確認し、キャッシュされていなければマスタサーバ4−1またはマスタサーバ4−2へモジュールを要求する。ここで、モジュールとは、ウェブページの一部分を構成するひとまとまりの情報のことである。具体的には、1つのウェブページは、例えばウェブページのタイトル部分やニュースの見出し部分などの複数のモジュールから構成されている。
The general-
汎用ウェブサーバ100は、要求されたウェブページのテンプレートとモジュールが揃うと、ウェブページを生成し、クライアント端末1へページデータを送信する。また、マスタサーバ4−1、4−2から取得したテンプレートおよびモジュールについては、キャッシュしておく。
When the requested web page template and module are prepared, the general-
マスタサーバ4−1、4−2は、汎用ウェブサーバ100からテンプレートを要求するテンプレートリクエストやモジュールを要求するモジュールリクエストを受信すると、要求されたテンプレートやモジュールを返信する。マスタサーバ4−1、4−2は、モジュールリクエストが受信されると、モジュールの生成に必要な情報をアプリケーションサーバ5−1〜5−4から取得した上でモジュールを生成し、汎用ウェブサーバ100へ返信する。
When receiving a template request for requesting a template or a module request for requesting a module from the general-
アプリケーションサーバ5−1〜5−4では、モジュール生成に必要な情報が生成される。各々のアプリケーションサーバ5−1〜5−4は、それぞれ異なるアプリケーションによって動作しており、生成されるモジュールに応じて様々な情報を生成する。具体的には、アプリケーションサーバ5−1〜5−4は、例えば比較的長期間変化することがないタイトルなどの静的な情報、頻繁に更新されるニュースなどの動的な情報、およびページリクエスト送信元のクライアント端末1ごとに異なるユーザ特有のパーソナライズされた情報などを生成する。これらのアプリケーションサーバ5−1〜5−4には、図示しないデータベースなどが接続されていても良い。 In the application servers 5-1 to 5-4, information necessary for module generation is generated. Each of the application servers 5-1 to 5-4 is operated by a different application, and generates various information according to the generated module. Specifically, the application servers 5-1 to 5-4, for example, static information such as titles that do not change for a relatively long period of time, dynamic information such as frequently updated news, and page requests User-specific personalized information and the like that differ for each client terminal 1 of the transmission source is generated. A database (not shown) or the like may be connected to these application servers 5-1 to 5-4.
なお、図1に示すウェブページ生成システムの構成は一例であり、装置の数や接続関係などは図1に示すものに限定されない。ただし、テンプレートやモジュールをキャッシュする汎用ウェブサーバ100は、実際にモジュールを生成するマスタサーバ4−1、4−2とは分離している。
Note that the configuration of the web page generation system illustrated in FIG. 1 is an example, and the number of devices, connection relationships, and the like are not limited to those illustrated in FIG. However, the general-
図2は、本実施の形態に係る汎用ウェブサーバ100の内部構成を示すブロック図である。図2に示す汎用ウェブサーバ100は、リクエスト受付部101、テンプレートキャッシュ検索部(以下「Tキャッシュ検索部」と略記する)102、記憶部103、モジュールキャッシュ検索部(以下「Mキャッシュ検索部」と略記する)104、リクエスト発行部105、情報取得部106、キャッシュ登録部107、ページ生成部108、およびページ送信部109を有している。
FIG. 2 is a block diagram showing an internal configuration of the general-
リクエスト受付部101は、クライアント端末1から送信されたページリクエスト(図2では「ページREQ」と表記)を受け付け、要求されたウェブページの情報をTキャッシュ検索部102へ通知する。
The
Tキャッシュ検索部102は、要求されたウェブページのテンプレートを記憶部103にキャッシュされたテンプレートから検索し、このテンプレートがキャッシュされていればテンプレートをMキャッシュ検索部104へ出力し、キャッシュされていなければその旨をリクエスト発行部105へ通知する。
The T
記憶部103は、ウェブページの生成に使用されるテンプレートやモジュールをキャッシュとして記憶する。そして、記憶部103は、一定時間使用されないテンプレートやモジュールを削除する。テンプレートやモジュールが削除されるまでの有効時間は、テンプレートやモジュールごとにあらかじめ規定されている。図2には、例として記憶部103がテンプレート01およびモジュール01をキャッシュしている様子を示す。
The
Mキャッシュ検索部104は、Tキャッシュ検索部104またはページ生成部108から出力されるテンプレートに対して組み込むモジュールを記憶部103にキャッシュされたモジュールから検索し、このモジュールがキャッシュされていればモジュールをページ生成部108へ出力し、キャッシュされていなければその旨をリクエスト発行部105へ通知する。なお、Mキャッシュ検索部104は、テンプレートに組み込むモジュールが複数である場合にも、すべてのモジュールを記憶部103から検索する。
The M
リクエスト発行部105は、Tキャッシュ検索部102からテンプレートがキャッシュされていない旨が通知されると、このテンプレートを要求するテンプレートリクエスト(図2では「テンプレートREQ」と表記)を接続されているマスタサーバ4−1またはマスタサーバ4−2(以下「マスタサーバ4」という)へ送信する。また、リクエスト発行部105は、Mキャッシュ検索部104からモジュールがキャッシュされていない旨が通知されると、このモジュールを要求するモジュールリクエスト(図2では「モジュールREQ」と表記)をマスタサーバ4へ送信する。
When the
情報取得部106は、テンプレートリクエストおよびモジュールリクエストに応じてマスタサーバ4から返信されるテンプレートおよびモジュールを受信し、キャッシュ登録部107およびページ生成部108へ出力する。
The
キャッシュ登録部107は、情報取得部106から出力されるテンプレートおよびモジュールを記憶部103にキャッシュする。ただし、キャッシュ登録部107は、情報取得部106から出力されたモジュールが頻繁に変化する動的モジュールである場合や、ユーザ特有の情報を含むパーソナライズモジュールである場合には、このモジュールを破棄し、記憶部103にキャッシュしない。換言すれば、キャッシュ登録部107は、所定期間以上変化することがない静的モジュールを記憶部103にキャッシュする。
The
なお、上述したTキャッシュ検索部102、Mキャッシュ検索部104、およびキャッシュ登録部107は、テンプレートおよびモジュールのキャッシュに関する制御を担うキャッシュ制御部を形成している。
The T
ページ生成部108は、記憶部103にキャッシュされていたか、または情報取得部106によって取得されたテンプレートおよびモジュールを使用して、クライアント端末1から要求されたウェブページを生成する。具体的には、ページ生成部108は、例えば図3に示すように、テンプレート01のそれぞれの枠内にモジュール01などを組み込んでウェブページを生成する。
The
ページ送信部109は、ページ生成部108によって生成されたウェブページのページデータをネットワーク2経由でクライアント端末1へ送信する。
The
次いで、上記のように構成された汎用ウェブサーバ100の動作について、図4に示すフロー図を参照しながら説明する。
Next, the operation of the general-
クライアント端末1から送信されたページリクエストは、ネットワーク2およびロードバランサ3−1、3−2を経由して、汎用ウェブサーバ100のリクエスト受付部101によって受け付けられる(ステップS101)。ページリクエストが受け付けられると、Tキャッシュ検索部102によって、要求されたウェブページのテンプレートが記憶部103にキャッシュされているか検索される(ステップS102)。そして、テンプレートが記憶部103にキャッシュされていれば、このテンプレートが読み出され、Mキャッシュ検索部104へ出力される。
The page request transmitted from the client terminal 1 is received by the
一方、テンプレートが記憶部103にキャッシュされていなければ、その旨がリクエスト発行部105へ通知され、マスタサーバ4からテンプレートが取得される(ステップS103)。すなわち、リクエスト発行部105からマスタサーバ4へテンプレートリクエストが送信され、マスタサーバ4から要求に応じたテンプレートが返信される。返信されたテンプレートは、情報取得部106によって受信され、キャッシュ登録部107およびページ生成部108へ出力される。そして、テンプレートは、キャッシュ登録部107によって記憶部103にキャッシュとして記憶される(ステップS104)。また、ページ生成部108によって、マスタサーバ4から返信されたテンプレートがMキャッシュ検索部104へ出力される。
On the other hand, if the template is not cached in the
以上の処理によって、クライアント端末1から要求されたウェブページのテンプレートが記憶部103またはマスタサーバ4から取得され、Mキャッシュ検索部104に入力されたことになる。テンプレートは、ウェブページの枠組みであり、ウェブページ内に配置するモジュールとモジュールを配置する位置との情報が含まれている。そこで、Mキャッシュ検索部104によって、ウェブページを生成するのに必要なモジュールの情報がテンプレートから取得され(ステップS105)、すべてのモジュールについて記憶部103にキャッシュされているか検索される(ステップS106)。そして、必要なモジュールがすべて記憶部103にキャッシュされていれば、これらのモジュールが読み出され、テンプレートともにページ生成部108へ出力される。
Through the above processing, the web page template requested from the client terminal 1 is acquired from the
一方、記憶部103にキャッシュされていない必要モジュールがあれば、その旨がリクエスト発行部105へ通知され、マスタサーバ4から必要モジュールが取得される(ステップS107)。すなわち、リクエスト発行部105からマスタサーバ4へ必要モジュールを要求するモジュールリクエストが送信され、マスタサーバ4およびアプリケーションサーバ5−1〜5−4によって要求に応じたモジュールが生成されて返信される。
On the other hand, if there is a necessary module that is not cached in the
ここで、本実施の形態においては、ウェブページを構成するモジュールを単位として記憶部103にキャッシュされているため、例えば初めて要求されるウェブページであっても、過去に生成されたウェブページと共通するモジュールについては、キャッシュされたモジュールを使用してウェブページを生成することができ、マスタサーバ4によるモジュール生成の処理負荷を軽減することができる。また、テンプレートおよびモジュールをキャッシュする汎用ウェブサーバ100と実際にモジュールを生成するマスタサーバ4とを分離したため、汎用ウェブサーバ100において、ウェブページの種類やサイトに関係なくウェブページを生成することができる。これらのため、汎用ウェブサーバ100の数のみをアクセスのピークに適合させれば、マスタサーバ4は最低限の数だけあれば良い。そして、汎用ウェブサーバ100は、いかなるサイトのウェブページも生成可能であることから、あるサイトのウェブページへのアクセスが減った場合にも、余剰の汎用ウェブサーバ100を他のサイトのウェブページ生成に用いることができ、無駄なコストを削減することができる。
Here, in the present embodiment, since the modules constituting the web page are cached in the
再び図4の説明に戻り、返信された必要モジュールは、情報取得部106によって受信され、キャッシュ登録部107およびページ生成部108へ出力される。そして、必要モジュールとして取得されたモジュールのうち、比較的長期間変化することがない静的モジュールがキャッシュ登録部107によって記憶部103にキャッシュとして記憶される(ステップS108)。このとき、頻繁に変化する動的モジュールやユーザ特有の情報を含むパーソナライズモジュールについては、記憶部103にキャッシュしても次回のウェブページ要求時に使用することができるとは限らないため、キャッシュ登録部107によって破棄される。
Returning to the description of FIG. 4 again, the returned necessary module is received by the
以上の処理によって、クライアント端末1から要求されたウェブページのテンプレートおよび必要モジュールが記憶部103またはマスタサーバ4から取得され、ページ生成部108に入力されたことになる。そこで、ページ生成部108によって、テンプレートにモジュールが組み込まれ、ウェブページが生成される(ステップS109)。生成されたウェブページのページデータは、ページ送信部109からページリクエストを発したクライアント端末1へ送信され(ステップS110)、クライアント端末1においてウェブページが表示される。
Through the above processing, the web page template and the required module requested from the client terminal 1 are acquired from the
以上のように、本実施の形態によれば、汎用ウェブサーバがウェブページのテンプレートやウェブページを構成する部分ごとのモジュールをキャッシュし、必要なテンプレートやモジュールがキャッシュされていない場合にのみ、マスタサーバからテンプレートやモジュールを取得する。このため、過去に生成されたウェブページと共通する部分については、汎用ウェブサーバにキャッシュされたモジュールを使用してウェブページを生成し、マスタサーバによるモジュール生成の処理負荷を軽減することができる。そして、アクセスのピークに対しては、汎用ウェブサーバの数のみを調整すれば良く、あるサイトへのアクセスのピークが収束しても、余剰の汎用ウェブサーバを他のサイトのウェブページ生成に用いることができ、アクセスの集中に対応可能な処理能力を確保しつつ無駄なコストを削減することができる。 As described above, according to the present embodiment, the general-purpose web server caches a web page template and a module for each part constituting the web page, and only when the necessary template or module is not cached, Get templates and modules from the server. For this reason, about the part which is common with the web page produced | generated in the past, a web page can be produced | generated using the module cached by the general-purpose web server, and the processing load of the module production | generation by a master server can be reduced. For the peak of access, only the number of general-purpose web servers needs to be adjusted. Even if the peak of access to a site converges, the surplus general-purpose web server is used to generate web pages for other sites. Therefore, it is possible to reduce wasteful costs while ensuring processing capability that can cope with concentration of access.
(実施の形態2)
本発明の実施の形態2の特徴は、複数の汎用ウェブサーバにキャッシュされているモジュールの情報をモジュール管理サーバにおいて管理しておき、ウェブページの生成に使用される回数が多いモジュールについては、すべての汎用ウェブサーバに複製しておく点である。
(Embodiment 2)
The feature of the second embodiment of the present invention is that the module management server manages module information cached in a plurality of general-purpose web servers, and all the modules that are frequently used for generating web pages are all It is a point to copy to the general-purpose web server.
図5は、本実施の形態に係るウェブページ生成システムの全体構成を示す図である。同図において、図1と同じ部分には同じ符号を付す。このウェブページ生成システムにおいては、汎用ウェブサーバ100にキャッシュされたモジュールの情報が逐一汎用ウェブサーバ100からモジュール管理サーバ200へ報告され、ウェブページの生成の際の使用頻度が高いモジュールの複製が、このモジュールをキャッシュしていない汎用ウェブサーバ100へ指示される。これにより、複数の汎用ウェブサーバ100が設置される場合に、使用頻度が高いモジュールをすべての汎用ウェブサーバ100がキャッシュすることになり、マスタサーバ4−1、4−2の処理負荷をさらに軽減することができる。
FIG. 5 is a diagram showing an overall configuration of the web page generation system according to the present embodiment. In the figure, the same parts as those in FIG. In this web page generation system, module information cached in the general-
図6は、本実施の形態に係る汎用ウェブサーバ100の内部構成を示すブロック図である。同図において、図2と同じ部分には同じ符号を付し、その説明を省略する。図6に示す汎用ウェブサーバ100は、リクエスト受付部101a、Tキャッシュ検索部102、記憶部103、Mキャッシュ検索部104、リクエスト発行部105a、情報取得部106、キャッシュ登録部107、ページ生成部108、ページ送信部109、キャッシュ内容報告部301、複製指示受信部302、およびキャッシュ複製部303を有している。
FIG. 6 is a block diagram showing an internal configuration of the general-
リクエスト受付部101aは、クライアント端末1から送信されたページリクエスト(図6では「ページREQ」と表記)を受け付け、要求されたウェブページの情報をTキャッシュ検索部102へ通知する。また、リクエスト受付部101aは、他の汎用ウェブサーバ100から送信されたモジュールリクエスト(図6では「モジュールREQ」と表記)を受け付け、要求されたモジュールの情報をキャッシュ複製部303へ通知する。
The
リクエスト発行部105aは、Tキャッシュ検索部102からテンプレートがキャッシュされていない旨が通知されると、このテンプレートを要求するテンプレートリクエスト(図6では「テンプレートREQ」と表記)をマスタサーバ4へ送信する。また、リクエスト発行部105aは、Mキャッシュ検索部104からモジュールがキャッシュされていない旨が通知されると、このモジュールを要求するモジュールリクエスト(図6では「モジュールREQ」と表記)をマスタサーバ4へ送信する。さらに、リクエスト発行部105aは、複製指示受信部302から他の汎用ウェブサーバ100にキャッシュされたモジュールを複製する旨が通知されると、このモジュールを要求するモジュールリクエストを他の汎用ウェブサーバ100へ送信する。
When notified from the T
キャッシュ内容報告部301は、キャッシュ登録部107によって記憶部103に新たなモジュールがキャッシュされると、キャッシュされたモジュールをモジュール管理サーバ200へ報告する。また、キャッシュ内容報告部301は、Mキャッシュ検索部によってキャッシュされたモジュールが検索され、ウェブページの生成に用いられると、使用されたモジュールをモジュール管理サーバ200へ報告する。
When a new module is cached in the
複製指示受信部302は、他の汎用ウェブサーバ100にキャッシュされたモジュールの複製を指示する複製指示をモジュール管理サーバ200から受信し、その旨をリクエスト発行部105aへ通知する。
The duplication
キャッシュ複製部303は、他の汎用ウェブサーバ100からのモジュールリクエストがリクエスト受付部101aによって受け付けられると、要求されたモジュールを記憶部103から読み出して複製し、複製したモジュールを要求元の他の汎用ウェブサーバ100へ送信する。
When a module request from another general-
図7は、本実施の形態に係るモジュール管理サーバ200の要部構成を示すブロック図である。図7に示すモジュール管理サーバ200は、キャッシュ内容受信部201、管理テーブル202、使用回数判定部203、スケジュール調整部204、および複製指示送信部205を有している。
FIG. 7 is a block diagram showing a main configuration of the
キャッシュ内容受信部201は、汎用ウェブサーバ100それぞれからモジュールのキャッシュ状況やキャッシュされたモジュールの使用状況などを受信し、管理テーブル202を更新する。
The cache
管理テーブル202は、モジュールごとにどの汎用ウェブサーバ100にキャッシュされているかを記憶するとともに、それぞれのモジュールがウェブページ生成に使用された使用回数を記憶する。具体的には、管理テーブル202は、例えば図8に示すような形式となっている。すなわち、各モジュールの識別記号などにそれぞれのモジュールが汎用ウェブサーバ100にキャッシュとして登録された登録時刻、ウェブページ生成に使用された最新使用時刻、キャッシュとして記憶される残り有効時間、および使用回数が対応付けて記憶されている。
The management table 202 stores which general-
図8に示す管理テーブル202においては、例えばモジュール01は、サーバ#1という汎用ウェブサーバ100に13時48分00秒にキャッシュとして登録され、14時23分40秒にサーバ#1におけるウェブページ生成に使用されている。そして、このモジュール01は、サーバ#1において残り有効時間である2分51秒の間に使用されなければ、削除されることになる。残り有効時間は、最新使用時刻が更新されるたびにあらかじめ定められたモジュールごとの有効時間に設定され、カウントダウンされる。また、このモジュール01の全汎用ウェブサーバ100におけるウェブページ生成への使用回数は1089回となっている。なお、管理テーブル202に情報が管理されるモジュールは、汎用ウェブサーバ100にキャッシュされるモジュールであるため、動的モジュールやパーソナライズモジュールは除外されている。したがって、例えば図8においては、モジュール04、05に関する情報が管理されていない。
In the management table 202 shown in FIG. 8, for example,
使用回数判定部203は、管理テーブル202に記憶されたモジュールごとの使用回数を所定の閾値と比較し、使用回数が所定の閾値以上であるモジュールをすべての汎用ウェブサーバ100に複製すると決定し、決定されたモジュールをスケジュール調整部204へ通知する。使用回数が大きいモジュールは、換言すれば多くのウェブページで使用されるモジュールであり、すべての汎用ウェブサーバ100にキャッシュとして登録しておくことにより、さらにマスタサーバ4によるモジュール生成の処理負荷を軽減することができると考えられる。
The usage
スケジュール調整部204は、管理テーブル202において、すべての汎用ウェブサーバ100に複製すると決定されたモジュールの登録状況を参照し、特定の汎用ウェブサーバ100からの複製のみが多くなったり、複数の汎用ウェブサーバ100が同時に1つの汎用ウェブサーバ100へ複製を要求したりしないよう、モジュール複製のスケジュールを調整する。このとき、スケジュール調整部204は、モジュールの残り有効時間なども考慮し、モジュールがキャッシュされている時間内に複製が行われるようにスケジュールを調整する。また、例えば現時点ではモジュールがキャッシュされていない汎用ウェブサーバ100でも、複製後にはモジュールがキャッシュされていることになるため、複製されたモジュールをさらに複製するなどして、処理負荷が特定の汎用ウェブサーバ100に集中しないようにする。
The
複製指示送信部205は、スケジュール調整部204によって調整された複製スケジュールに従って、複製されたモジュールが新たにキャッシュされる複製先の汎用ウェブサーバ100へ複製指示を送信する。
The duplication
次いで、上記のように構成されたモジュール管理サーバ200の動作について、図9に示すフロー図を参照しながら説明する。
Next, the operation of the
汎用ウェブサーバ100において、新たにモジュールがキャッシュされたり、キャッシュされたモジュールがウェブページ生成に使用されたりすると、汎用ウェブサーバ100のキャッシュ内容報告部301によって、これらのキャッシュ内容がモジュール管理サーバ200へ報告される。汎用ウェブサーバ100から報告されるキャッシュ内容は、モジュール管理サーバ200のキャッシュ内容受信部201によって受信される(ステップS201)。
When a new module is cached in the general-
そして、報告されたキャッシュ内容が管理テーブル202に反映されて更新される(ステップS202)。具体的には、新たにモジュールがキャッシュされた場合は、管理テーブル202において、該当するモジュールが汎用ウェブサーバ100にキャッシュとして登録された時刻とキャッシュされる有効時間とが登録される。また、キャッシュされたモジュールがウェブページ生成に使用された場合は、管理テーブル202において、該当するモジュールの最新使用時刻が更新され、使用回数が1インクリメントされる。
The reported cache contents are reflected and updated in the management table 202 (step S202). Specifically, when a module is newly cached, the time when the corresponding module is registered as a cache in the general-
こうして更新される管理テーブル202の項目のうち使用回数判定部203によって使用回数が監視されており、モジュールごとの使用回数が所定の閾値以上となったか否かが判定される(ステップS203)。使用回数が所定の閾値以上となったモジュールがない場合は(ステップS203No)、引き続き汎用ウェブサーバ100からのキャッシュ内容を受信し、管理テーブル202の更新が行われる。
Of the items in the management table 202 thus updated, the usage count is monitored by the usage
また、使用回数が所定の閾値以上となったモジュールがある場合は(ステップS203Yes)、使用回数判定部203によって、このモジュールがキャッシュされていない汎用ウェブサーバ100に複製されたモジュールをキャッシュさせることが決定され、その旨がスケジュール調整部204へ通知される。そして、スケジュール調整部204によって、使用頻度が高いモジュールをキャッシュしている汎用ウェブサーバ100からキャッシュしていない汎用ウェブサーバ100へ複製するスケジュールが調整される(ステップS204)。
If there is a module whose usage count is equal to or greater than a predetermined threshold (Yes at step S203), the usage
すなわち、モジュールをキャッシュしている特定の汎用ウェブサーバ100にのみモジュールを複製する要求が集中しないように、スケジュール調整部204によって、各汎用ウェブサーバ100の処理負荷を均等とするスケジュールが調整される。このとき、スケジュール調整部204によって、管理テーブル202の残り有効時間などが参照され、キャッシュされたモジュールが削除されないうちに複製されるようスケジュール調整が行われる。また、現時点ではモジュールがキャッシュされていない汎用ウェブサーバ100でも、複製されたモジュールがキャッシュされた後は、複製元の汎用ウェブサーバ100としてスケジュール調整しても良い。
In other words, the
スケジュール調整部204によってモジュールの複製スケジュールが調整されると、このスケジュールに従って、複製指示送信部205から複製先の汎用ウェブサーバ100へ複製指示が送信される(ステップS205)。ここで、既にモジュールがキャッシュされている複製元の汎用ウェブサーバ100へ複製指示が送信されるのではなく、まだモジュールがキャッシュされていない複製先の汎用ウェブサーバ100へ複製指示が送信されることにより、複製先の汎用ウェブサーバ100における制御を単純化することができる。すなわち、複製先の汎用ウェブサーバ100においては、複製指示受信部302によって複製指示が受信され、リクエスト発行部105aからモジュールリクエストが発行されれば良く、マスタサーバ4からモジュールを取得する場合と比較して、モジュールリクエストの送信先を変更するだけの制御が行われれば良い。
When the schedule for copying the module is adjusted by the
次に、使用頻度が高いモジュールがキャッシュされている汎用ウェブサーバ100からこのモジュールがキャッシュされていない他の汎用ウェブサーバ100へモジュールが複製される動作について、図10に示すシーケンス図を参照しながら説明する。
Next, an operation of copying a module from a general-
まず、汎用ウェブサーバ100においてウェブページが生成される際、マスタサーバ4から必要モジュールが取得され、取得されたモジュールが記憶部103にキャッシュとして登録される(ステップS301)。モジュールが記憶部103にキャッシュされると、キャッシュ内容報告部301によって、キャッシュ内容がモジュール管理サーバ200へ報告される(ステップS302)。
First, when a web page is generated in the general-
モジュール管理サーバ200では、キャッシュ内容受信部201によってキャッシュ内容が受信され、その内容に応じて管理テーブル202が更新される(ステップS303)。ここでは、汎用ウェブサーバ100にモジュールがキャッシュされた登録時刻とキャッシュされたモジュールの有効時間とが管理テーブル202に記憶される。そして、使用回数判定部203によって、モジュールの使用回数が判定されるが、ここではモジュールの使用回数が所定の閾値以上となっており、モジュールを他の汎用ウェブサーバ100へ複製すると決定されたものとする。モジュールの複製が決定されると、スケジュール調整部204によって複製のスケジュールが調整され(ステップS304)、スケジュールに従って、複製指示送信部205から他の汎用ウェブサーバ100へ複製指示が送信される(ステップS305)。
In the
他の汎用ウェブサーバ100では、複製指示受信部302によって複製指示が受信され、リクエスト発行部105aによって複製が指示されたモジュールを要求するモジュールリクエストが汎用ウェブサーバ100へ送信される(ステップS306)。汎用ウェブサーバ100では、リクエスト受付部101aによってモジュールリクエストが受信され、要求されたモジュールの情報がキャッシュ複製部303へ通知される。そして、キャッシュ複製部303によって、他の汎用ウェブサーバ100から要求されたモジュールが記憶部103から読み出されて複製され、他の汎用ウェブサーバ100へ送信される(ステップS307)。このモジュールは、他の汎用ウェブサーバ100の情報取得部106によって受信され、キャッシュ登録部107によって記憶部103にキャッシュとして登録される(ステップS308)。
In the other general-
このようなモジュールの複製が行われることにより、使用頻度が高いモジュールがすべての汎用ウェブサーバ100にキャッシュされ、汎用ウェブサーバ100におけるウェブページ生成時にキャッシュされたモジュールの使用割合が向上し、マスタサーバ4によるモジュール生成の処理負荷をさらに軽減することができる。
By duplicating such a module, a module that is frequently used is cached in all the general-
以上のように、本実施の形態によれば、モジュール管理サーバが汎用ウェブサーバからキャッシュ内容の報告を受け、各汎用ウェブサーバにキャッシュされているモジュールを把握し、使用頻度が高いモジュールについては、キャッシュされている汎用ウェブサーバからキャッシュされていない汎用ウェブサーバへ複製する。このため、すべての汎用ウェブサーバが使用頻度が高いモジュールをキャッシュしてウェブページを生成することができ、マスタサーバによるモジュール生成をさらに少なくしてマスタサーバの処理負荷をより軽減することができる。 As described above, according to the present embodiment, the module management server receives a report of the cache contents from the general-purpose web server, grasps the modules cached in each general-purpose web server, and for the modules that are frequently used, Replicate from a cached generic web server to an uncached generic web server. For this reason, it is possible to generate a web page by caching a module that is frequently used by all general-purpose web servers, and further reduce the processing load on the master server by further reducing the module generation by the master server.
(実施の形態3)
本発明の実施の形態3の特徴は、汎用ウェブサーバにおいて必要なモジュールがキャッシュされていない場合、このモジュールの生成をマスタサーバへ要求する前に他の汎用ウェブサーバにキャッシュされていないかモジュール管理サーバに確認し、キャッシュされていれば複製する点である。
(Embodiment 3)
A feature of the third embodiment of the present invention is that, when a necessary module is not cached in the general-purpose web server, it is not cached in another general-purpose web server before requesting the master server to generate this module. Check with the server and replicate if it is cached.
本実施の形態に係るウェブページ生成システムの全体構成は実施の形態2(図5)と同様であるため、その説明を省略する。本実施の形態においては、汎用ウェブサーバ100およびモジュール管理サーバ200の内部構成が実施の形態2と異なっている。
Since the entire configuration of the web page generation system according to the present embodiment is the same as that of the second embodiment (FIG. 5), description thereof is omitted. In the present embodiment, the internal configurations of the general-
図11は、本実施の形態に係る汎用ウェブサーバ100の内部構成を示すブロック図である。同図において、図2および図6と同じ部分には同じ符号を付し、その説明を省略する。図11に示す汎用ウェブサーバ100は、リクエスト受付部101a、Tキャッシュ検索部102、記憶部103、Mキャッシュ検索部104、リクエスト発行部105b、情報取得部106、キャッシュ登録部107、ページ生成部108、ページ送信部109、キャッシュ内容報告部301、共有依頼部401、およびキャッシュ複製部303を有している。
FIG. 11 is a block diagram illustrating an internal configuration of the general-
リクエスト発行部105bは、Tキャッシュ検索部102からテンプレートがキャッシュされていない旨が通知されると、このテンプレートを要求するテンプレートリクエスト(図11では「テンプレートREQ」と表記)をマスタサーバ4へ送信する。また、リクエスト発行部105bは、共有依頼部401から他の汎用ウェブサーバ100にキャッシュされたモジュールを複製する旨が通知されると、このモジュールを要求するモジュールリクエスト(図11では「モジュールREQ」と表記)を他の汎用ウェブサーバ100へ送信する。さらに、リクエスト発行部105bは、共有依頼部401からマスタサーバ4へモジュールを要求する旨が通知されると、このモジュールを要求するモジュールリクエストをマスタサーバ4へ送信する。
When the
共有依頼部401は、Mキャッシュ検索部104からモジュールがキャッシュされていない旨が通知されると、このモジュールをキャッシュしている他の汎用ウェブサーバ100とのモジュールの共有を希望する旨の共有依頼をモジュール管理サーバ200へ送信する。そして、他の汎用ウェブサーバ100に所望のモジュールがキャッシュされている場合は、共有依頼部401は、他の汎用ウェブサーバ100にキャッシュされたモジュールの複製を指示する複製指示をモジュール管理サーバ200から受信し、その旨をリクエスト発行部105bへ通知する。一方、他の汎用ウェブサーバ100にも所望のモジュールがキャッシュされていない場合は、共有依頼部401は、エラーメッセージをモジュール管理サーバ200から受信し、マスタサーバ4へモジュールを要求する旨をリクエスト発行部105bへ通知する。
When the
図12は、本実施の形態に係るモジュール管理サーバ200の要部構成を示すブロック図である。同図において、図7と同じ部分には同じ符号を付し、その説明を省略する。図12に示すモジュール管理サーバ200は、キャッシュ内容受信部201、管理テーブル202、共有依頼受信部501、キャッシュ有無判定部502、スケジュール調整部204、および複製指示送信部205aを有している。
FIG. 12 is a block diagram showing a main configuration of the
共有依頼受信部501は、汎用ウェブサーバ100からモジュールの共有を希望する旨の共有依頼を受信し、共有が希望されるモジュールをキャッシュ有無判定部502へ通知する。
The sharing
キャッシュ有無判定部502は、管理テーブル202を参照して、キャッシュ有無判定部502から通知されたモジュールがいずれかの汎用ウェブサーバ100にキャッシュされているか否かを判定する。そして、キャッシュ有無判定部502は、共有を依頼した汎用ウェブサーバ100以外の汎用ウェブサーバ100にモジュールがキャッシュされていると判定した場合、このモジュールを汎用ウェブサーバ100間で複製すると決定し、決定されたモジュールを複製するスケジュールを調整するようにスケジュール調整部204へ指示する。また、キャッシュ有無判定部502は、所望のモジュールがいずれの汎用ウェブサーバ100にもキャッシュされていないと判定した場合、共有を依頼した汎用ウェブサーバ100へエラーメッセージを送信するように複製指示送信部205aへ指示する。
The cache presence /
複製指示送信部205aは、スケジュール調整部204によって調整された複製スケジュールに従って、複製されたモジュールが新たにキャッシュされる複製先の汎用ウェブサーバ100へ複製指示を送信する。また、複製指示送信部205aは、所望のモジュールがいずれの汎用ウェブサーバ100にもキャッシュされていない場合は、共有依頼を送信した汎用ウェブサーバ100へエラーメッセージをする。
The duplication
次いで、上記のように構成されたモジュール管理サーバ200の動作について、図13に示すフロー図を参照しながら説明する。図13において、図9と同じ部分には同じ符号を付し、その詳しい説明を省略する。
Next, the operation of the
汎用ウェブサーバ100からキャッシュ内容が送信されると、キャッシュ内容は、モジュール管理サーバ200のキャッシュ内容受信部201によって受信される(ステップS201)。そして、報告されたキャッシュ内容が管理テーブル202に反映されて更新される(ステップS202)。
When the cache content is transmitted from the general-
また、いずれかの汎用ウェブサーバ100において、ウェブページの生成に必要なモジュールがMキャッシュ検索部104によって記憶部103から検索された結果、必要モジュールがキャッシュされていなかった場合、共有依頼部401によって、他の汎用ウェブサーバ100にキャッシュされた必要モジュールの共有を依頼する共有依頼がモジュール管理サーバ200へ送信される。この共有依頼は、モジュール管理サーバ200の共有依頼受信部501によって受信される(ステップS401)。
Also, in any general-
共有依頼が受信されると、キャッシュ有無判定部502によって、管理テーブル202が参照され、共有依頼されたモジュールがいずれかの汎用ウェブサーバ100にキャッシュされているか否かが判定される(ステップS402)。この結果、いずれかの汎用ウェブサーバ100にモジュールがキャッシュされていれば(ステップS402Yes)、キャッシュ有無判定部502によって、共有依頼を送信した複製先の汎用ウェブサーバ100とモジュールをキャッシュしている複製元の他の汎用ウェブサーバ100との間におけるモジュールの複製スケジュールを調整するようにスケジュール調整部204へ指示される。そして、スケジュール調整部204によって、2つの汎用ウェブサーバ100間におけるモジュールの複製スケジュールが調整される(ステップS403)。
When the sharing request is received, the cache presence /
すなわち、例えば他のモジュールの複製を実行中の汎用ウェブサーバ100を複製元とするなどとして特定の汎用ウェブサーバ100に処理が集中しないように、スケジュール調整部204によって、汎用ウェブサーバ100の処理負荷を均等とするスケジュールが調整される。このとき、スケジュール調整部204によって、管理テーブル202の残り有効時間などが参照され、キャッシュされたモジュールが削除されないうちに複製されるようスケジュール調整が行われる。
That is, for example, the processing load of the general-
スケジュール調整部204によってモジュールの複製スケジュールが調整されると、このスケジュールに従って、複製指示送信部205aから共有を依頼した汎用ウェブサーバ100へ複製指示が送信される(ステップS205)。送信された複製指示は、汎用ウェブサーバ100の共有依頼部401によって受信され、リクエスト発行部105bによって、モジュールをキャッシュしている汎用ウェブサーバ100へモジュールリクエストが送信され、以後、実施の形態2と同様に、モジュールをキャッシュしている汎用ウェブサーバ100からモジュールが取得される。
When the
一方、モジュール管理サーバ200におけるキャッシュ有無の判定の結果、共有依頼されたモジュールがいずれの汎用ウェブサーバ100にもキャッシュされていなければ(ステップS402No)、キャッシュ有無判定部502によって、その旨のエラーメッセージを送信するように複製指示送信部205aへ指示され、複製指示送信部205aから共有を依頼した汎用ウェブサーバ100へエラーメッセージが送信される(ステップS404)。送信されたエラーメッセージは、汎用ウェブサーバ100の共有依頼部401によって受信され、リクエスト発行部105bによって、マスタサーバ4へモジュールリクエストが送信され、以後、実施の形態1と同様に、マスタサーバ4からモジュールが取得される。
On the other hand, if the
次に、キャッシュされているモジュールが2つの汎用ウェブサーバ100間で共有される動作について、図14に示すシーケンス図を参照しながら説明する。なお、図14において、図10と同じ部分には同じ符号を付し、その詳しい説明を省略する。
Next, an operation in which a cached module is shared between the two general-
まず、汎用ウェブサーバ100においてウェブページが生成される際、マスタサーバ4から必要モジュールが取得され、取得されたモジュールが記憶部103にキャッシュとして登録される(ステップS301)。モジュールが記憶部103にキャッシュされると、キャッシュ内容報告部301によって、キャッシュ内容がモジュール管理サーバ200へ報告される(ステップS302)。
First, when a web page is generated in the general-
モジュール管理サーバ200では、キャッシュ内容受信部201によってキャッシュ内容が受信され、その内容に応じて管理テーブル202が更新される(ステップS303)。また、モジュールがキャッシュされた汎用ウェブサーバ100とは異なる他の汎用ウェブサーバ100においてウェブページが生成される際、必要モジュールがキャッシュされていないキャッシュミスが発生したものとする(ステップS501)。このとき、他の汎用ウェブサーバ100の共有依頼部401によって、必要モジュールの共有依頼がモジュール管理サーバ200へ送信される(ステップS502)。
In the
送信された共有依頼は、モジュール管理サーバ200の共有依頼受信部501によって受信され、キャッシュ有無判定部502によって、必要モジュールがキャッシュされた汎用ウェブサーバの有無が判定されるが、ここでは汎用ウェブサーバ100に登録されたモジュールが他の汎用ウェブサーバ100における必要モジュールであるものとする。このため、キャッシュ有無判定部502によって、汎用ウェブサーバ100から他の汎用ウェブサーバ100へモジュールを複製することが決定され、スケジュール調整部204によって複製のスケジュールが調整され(ステップS304)、スケジュールに従って、複製指示送信部205から他の汎用ウェブサーバ100へ複製指示が送信される(ステップS305)。なお、必要モジュールがいずれの汎用ウェブサーバ100にもキャッシュされていない場合は、複製指示送信部205から他の汎用ウェブサーバ100へその旨のエラーメッセージが送信される。
The transmitted sharing request is received by the sharing
他の汎用ウェブサーバ100では、共有依頼部401によって複製指示またはエラーメッセージが受信され、複製指示が受信されたか否かによってモジュールの共有の可不可が判断され(ステップS503)、複製指示が受信されていれば(ステップS503Yes)、リクエスト発行部105bによって複製が指示されたモジュールを要求するモジュールリクエストが汎用ウェブサーバ100へ送信される(ステップS306)。そして、実施の形態2と同様に、汎用ウェブサーバ100のキャッシュ複製部303によって複製されたモジュールが他の汎用ウェブサーバ100へ返信され(ステップS307)、他の汎用ウェブサーバ100の記憶部103にキャッシュとして登録される(ステップS308)。
In the other general-
このようなモジュールの複製が行われることにより、汎用ウェブサーバ100に必要モジュールがキャッシュされていなくても、すべての汎用ウェブサーバ100にキャッシュされたモジュールが共有され、マスタサーバ4によるモジュール生成への依存度が減少し、マスタサーバ4によるモジュール生成の処理負荷をさらに軽減することができる。
By duplicating such a module, even if a necessary module is not cached in the general-
一方、共有依頼部401にエラーメッセージが受信されていると(ステップS503No)、リクエスト発行部105bによって必要モジュールを要求するモジュールリクエストがマスタサーバ4へ送信される(ステップS504)。そして、実施の形態1と同様に、マスタサーバ4によって生成されたモジュールが他の汎用ウェブサーバ100へ返信され(ステップS505)、ウェブページの生成が行われるとともにモジュールがキャッシュとして登録される(ステップS308)。
On the other hand, if an error message is received by the sharing request unit 401 (No in step S503), a module request for requesting a necessary module is transmitted to the
以上のように、本実施の形態によれば、ウェブページの生成に必要なモジュールが汎用ウェブサーバにキャッシュされていない場合は、モジュール管理サーバへモジュールの共有を依頼し、このモジュールがキャッシュされている汎用ウェブサーバがあれば、キャッシュされている汎用ウェブサーバから共有を依頼した汎用ウェブサーバへモジュールを複製する。このため、すべての汎用ウェブサーバがキャッシュの内容を実質的に共有することができ、マスタサーバによるモジュール生成をさらに少なくしてマスタサーバの処理負荷をより軽減することができる。 As described above, according to the present embodiment, when a module necessary for generating a web page is not cached in the general-purpose web server, the module management server is requested to share the module, and the module is cached. If there is a general-purpose web server, the module is copied from the cached general-purpose web server to the general-purpose web server requested to be shared. For this reason, all general-purpose web servers can substantially share the contents of the cache, and the module generation by the master server can be further reduced to further reduce the processing load on the master server.
なお、上記各実施の形態においては、汎用ウェブサーバ100のリクエスト発行部105、105a、105bからマスタサーバ4へモジュールリクエストが送信された際、1つのモジュールが生成されて汎用ウェブサーバ100へ返信されるものとしたが、このとき、モジュールの種類によっては、マスタサーバ4が複数の置換可能なモジュールを生成し、同時に汎用ウェブサーバ100へ返信されるようにしても良い。すなわち、例えばサイトの提供者側が閲覧数の増加を促進するためのウェブページへのリンクや広告などを含むモジュールについては、何種類かの置換可能なモジュールが用意されることがあるが、これらのモジュールは、まとめてマスタサーバ4によって生成され汎用ウェブサーバ100にキャッシュされるようにしても良い。これにより、汎用ウェブサーバ100からマスタサーバ4へのモジュールリクエスト送信の回数を減らすことができる。
In each of the above embodiments, when a module request is transmitted from the
また、上記各実施の形態においては、ウェブページ生成処理をコンピュータ上(すなわち汎用ウェブサーバ100上)で実現する場合について説明してきたが、ウェブページ生成処理を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータに読み込ませ、実行することによりウェブページ生成処理を実現しても良い。 In each of the above-described embodiments, the case where the web page generation process is realized on a computer (that is, on the general-purpose web server 100) has been described. However, a program for realizing the web page generation process can be read by a computer. The web page generation process may be realized by recording the program on a recording medium, causing the computer to read and execute the program recorded on the recording medium.
図15は、ウェブページ生成処理を実現するコンピュータ600のハードウェア構成を示すブロック図である。図15に示すように、このコンピュータ600は、上記プログラムを実行するCPU601と、データを入力する入力装置602と、各種データを記憶するROM603と、演算パラメータ等を記憶するRAM604と、ウェブページ生成処理を実現するためのプログラムを記録した記録媒体610からプログラムを読み取る読取装置605と、ディスプレイ等の出力装置606と、ネットワーク2を介して他のコンピュータとの間でデータの授受をおこなうネットワークインターフェース607とが、バス608で接続された構成となっている。
FIG. 15 is a block diagram illustrating a hardware configuration of a
CPU601は、読取装置605を経由して記録媒体610に記録されているプログラムを読み込んだ後、プログラムを実行することにより、ウェブページ生成処理を実現する。なお、記録媒体610としては、光ディスク、フレキシブルディスク、CD−ROM、ハードディスク等が挙げられる。また、このプログラムは、ネットワーク2を介してコンピュータ600に導入することとしても良い。同様に、上記実施の形態2および実施の形態3におけるモジュール管理サーバ200上のモジュール管理処理についても、上述したハードウェア構成によって実現することができる。
The
本発明は、アクセスの集中に対応可能な処理能力を確保しつつ無駄なコストを削減する場合に適用することができる。 The present invention can be applied to a case where wasteful costs are reduced while ensuring processing capability that can cope with concentration of access.
101、101a リクエスト受付部
102 Tキャッシュ検索部
103 記憶部
104 Mキャッシュ検索部
105、105a、105b リクエスト発行部
106 情報取得部
107 キャッシュ登録部
108 ページ生成部
109 ページ送信部
201 キャッシュ内容受信部
202 管理テーブル
203 使用回数判定部
204 スケジュール調整部
205、205a 複製指示送信部
301 キャッシュ内容報告部
302 複製指示受信部
303 キャッシュ複製部
401 共有依頼部
501 共有依頼受信部
502 キャッシュ有無判定部
101, 101a Request reception unit 102 T
Claims (21)
前記第1のサーバは、
過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶する記憶手段と、
ウェブページの閲覧の要求をユーザから受け付ける受付手段と、
ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を前記記憶手段から検索する検索手段と、
前記検索手段による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを前記第2のサーバへ要求し、前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記第2のサーバへ要求する要求手段と、
前記検索手段によって検索されたテンプレートもしくは部分情報、または、前記要求手段によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手段とを有し、
前記第2のサーバは、
複数のウェブページごとにテンプレートを保持し、前記第1のサーバからテンプレートを要求された場合に、複数のウェブページごとのテンプレートのうち前記第1のサーバから要求されたテンプレートを前記第1のサーバへ提供し、前記第1のサーバから部分情報の生成を要求された場合に、当該部分情報を生成し、生成された部分情報を前記第1のサーバへ提供する
ことを特徴とするウェブページ生成システム。 A web page generation system comprising a first server that generates a web page requested by a user and a second server that can communicate with a plurality of first servers,
The first server is
And templates for a plurality of web pages generated in the past, a storage means for temporarily storing the partial information constituting the Webupe di,
Accepting means for accepting a request to browse a web page from a user;
A search unit that searches the storage unit for a template of a web page that the user requests to browse and partial information that needs to be embedded in the web page ;
If the template is not stored as a result of the search by the search means, the template is requested to the second server, and if the necessary partial information is not stored as a result of the search by the search means, Request means for requesting the second server to generate partial information;
Template or partial information searched by the searching means, or by using the request template or partial information by the requesting means, and generating means for generating a web page incorporating the partial information to the template Have
The second server is
A template is held for each of a plurality of web pages, and when a template is requested from the first server, a template requested from the first server among templates for each of a plurality of web pages is stored in the first server. When the generation of partial information is requested from the first server, the partial information is generated, and the generated partial information is provided to the first server. system.
前記第2のサーバから提供される部分情報を一時的に記憶することを特徴とする請求項1記載のウェブページ生成システム。 The storage means
The web page generation system according to claim 1, wherein partial information provided from the second server is temporarily stored.
所定期間以上不変の静的部分情報のみを記憶することを特徴とする請求項1記載のウェブページ生成システム。 The storage means
2. The web page generation system according to claim 1, wherein only static part information that has not changed over a predetermined period is stored.
前記第1のサーバから要求された部分情報と置換可能な部分情報についても同時に生成することを特徴とする請求項1記載のウェブページ生成システム。 The second server is
2. The web page generation system according to claim 1, wherein partial information replaceable with partial information requested from the first server is also generated at the same time.
ユーザが閲覧を要求するウェブページと同一および異なるウェブページを構成する部分情報のうち、当該ユーザが閲覧を要求するウェブページの生成に必要な部分情報と共通する部分情報を前記記憶手段から検索することを特徴とする請求項1記載のウェブページ生成システム。Among the pieces of partial information constituting the same and different web pages as the web page requested by the user, the partial information common to the partial information necessary for generating the web page requested by the user is retrieved from the storage means. The web page generation system according to claim 1.
前記第1のサーバは、
過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶する記憶手段と、
ウェブページの閲覧の要求をユーザから受け付ける受付手段と、
ユーザが閲覧を要求するウェブページの生成に必要な部分情報を前記記憶手段から検索する検索手段と、
前記検索手段によって検索された部分情報を用いてウェブページを生成する生成手段と、
前記記憶手段における部分情報の記憶状況を前記第2のサーバへ報告する報告手段とを有し、
前記第2のサーバは、
前記第1のサーバから報告される部分情報の記憶状況を管理する管理テーブルと、
前記管理テーブルを参照して1つの第1のサーバから他の第1のサーバへ部分情報を複製するか否かを判定する判定手段と、
前記判定手段による判定の結果に応じて、部分情報の複製指示を少なくとも1つの第1のサーバへ送信する送信手段とを有する
ことを特徴とするウェブページ生成システム。 A web page generation system comprising a plurality of first servers that generate a web page requested by a user and a second server that can communicate with the plurality of first servers,
The first server is
Storage means for temporarily storing, as a unit, partial information constituting the web page for a web page generated in the past;
Accepting means for accepting a request to browse a web page from a user;
A search unit that searches the storage unit for partial information necessary for generating a web page that the user requests to browse;
Generating means for generating a web page using the partial information searched by the searching means;
Reporting means for reporting the storage status of the partial information in the storage means to the second server,
The second server is
A management table for managing the storage status of the partial information reported from the first server;
Determining means for referring to the management table to determine whether or not to copy partial information from one first server to another first server;
A web page generation system comprising: a transmission unit that transmits a partial information duplication instruction to at least one first server in accordance with a result of determination by the determination unit.
前記生成手段による部分情報の使用回数を前記第2のサーバへ報告し、
前記判定手段は、
前記管理テーブルに記録された使用回数が所定回数に達する部分情報を複製すると判定し、
前記送信手段は、
前記判定手段による判定の結果、使用回数が所定回数に達した部分情報の複製指示を送信する
ことを特徴とする請求項6記載のウェブページ生成システム。 The reporting means includes
Reporting the number of times partial information is used by the generating means to the second server;
The determination means includes
It is determined that the partial information that reaches the predetermined number of times recorded in the management table is copied,
The transmission means includes
The web page generation system according to claim 6, wherein, as a result of the determination by the determination unit, an instruction to copy partial information whose number of uses reaches a predetermined number is transmitted.
部分情報の複製指示をこの部分情報を記憶していないすべての第1のサーバへ送信することを特徴とする請求項7記載のウェブページ生成システム。 The transmission means includes
8. The web page generation system according to claim 7 , wherein a partial information duplication instruction is transmitted to all the first servers not storing the partial information.
前記第2サーバから送信された複製指示が受信された場合に、この複製指示に係る部分情報を記憶する第1のサーバへ当該部分情報の複製を要求する要求手段をさらに有することを特徴とする請求項6記載のウェブページ生成システム。 The first server is
When the copy instruction transmitted from the second server is received, the copy server further comprises request means for requesting the copy of the partial information to the first server that stores the partial information related to the copy instruction. The web page generation system according to claim 6 .
前記第1のサーバの処理負荷に基づいて複製のスケジュールを調整する調整手段を含むことを特徴とする請求項6記載のウェブページ生成システム。 The transmission means includes
7. The web page generation system according to claim 6 , further comprising adjustment means for adjusting a replication schedule based on a processing load of the first server.
前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報を他の第1のサーバと共有することを前記第2のサーバへ依頼する依頼手段をさらに有し、
前記判定手段は、
前記依頼手段によって共有を依頼された部分情報が少なくとも1つの第1のサーバに記憶されている場合に、この部分情報を複製すると判定し、
前記送信手段は、
前記依頼手段によって共有を依頼された部分情報の複製指示をこの部分情報の共有を依頼した第1のサーバへ送信する
ことを特徴とする請求項6記載のウェブページ生成システム。 The first server is
As a result of the search by the search means, when the necessary partial information is not stored, it further comprises request means for requesting the second server to share this partial information with another first server,
The determination means includes
When the partial information requested to be shared by the requesting means is stored in at least one first server, it is determined that the partial information is copied,
The transmission means includes
The web page generation system according to claim 6, wherein a copy instruction of partial information requested to be shared by the requesting unit is transmitted to the first server that requested the sharing of the partial information.
過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶する記憶手段と、
ウェブページの閲覧の要求をユーザから受け付ける受付手段と、
ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を前記記憶手段から検索する検索手段と、
前記検索手段による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索手段による検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求手段と、
前記検索手段によって検索されたテンプレートもしくは部分情報、または、前記要求手段によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手段と
を有することを特徴とするウェブページ生成装置。 A web page generation device that generates a web page requested by a user,
And templates for a plurality of web pages generated in the past, a storage means for temporarily storing the partial information constituting the Webupe di,
Accepting means for accepting a request to browse a web page from a user;
A search unit that searches the storage unit for a template of a web page that the user requests to browse and partial information that needs to be embedded in the web page ;
If the template is not stored as a result of the search by the search means, the template is requested to an external device, and if the required partial information is not stored as a result of the search by the search means, this partial information and request means for requesting generation to said external device,
Template or partial information searched by the searching means, or by using the request template or partial information by the requesting means, and generating means for generating a web page incorporating the partial information to the template A web page generation apparatus comprising:
過去に生成されたウェブページについて、このウェブページを構成する部分情報を単位として一時的に記憶する記憶手段と、
ウェブページの閲覧の要求をユーザから受け付ける受付手段と、
ユーザが閲覧を要求するウェブページの生成に必要な部分情報を前記記憶手段から検索する検索手段と、
前記検索手段によって検索された部分情報を用いてウェブページを生成する生成手段と、
前記記憶手段における部分情報の記憶状況を外部の装置へ報告する報告手段と、
前記外部の装置から部分情報の複製指示を受信する受信手段と
を有することを特徴とするウェブページ生成装置。 A web page generation device that generates a web page requested by a user,
Storage means for temporarily storing, as a unit, partial information constituting the web page for a web page generated in the past;
Accepting means for accepting a request to browse a web page from a user;
A search unit that searches the storage unit for partial information necessary for generating a web page that the user requests to browse;
Generating means for generating a web page using the partial information searched by the searching means;
Reporting means for reporting the storage status of the partial information in the storage means to an external device;
Receiving means for receiving a copy instruction of partial information from the external device;
前記第1のサーバが、
ウェブページの閲覧の要求をユーザから受け付ける受付工程と、
ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索工程と、
前記検索工程による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを前記第2のサーバへ要求し、前記検索工程における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記第2のサーバへ要求する要求工程と、
前記第2のサーバが、
複数のウェブページごとにテンプレートを保持し、前記第1のサーバからテンプレートを要求された場合に、複数のウェブページごとのテンプレートのうち前記第1のサーバから要求されたテンプレートを前記第1のサーバへ提供し、前記第1のサーバから部分情報の生成を要求された場合に、当該部分情報を生成し、生成された部分情報を前記第1のサーバへ提供する提供工程と、
前記第1のサーバが、
前記検索工程によって検索されたテンプレートもしくは部分情報、または、前記提供工程によって提供されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成工程と
を有することを特徴とするウェブページ生成方法。 A web page generation method in a web page generation system comprising a first server that generates a web page requested by a user and a second server that can communicate with a plurality of first servers,
The first server is
A reception process for receiving a request for browsing a web page from a user;
Templates and integration partial information necessary for the web page of the web page the user requests viewing, and the template for a plurality of web pages generated in the past, and a partial information constituting the Webupe di one A search process for searching from a temporally stored memory;
When the template is not stored as a result of the search in the search step, the template is requested to the second server, and when the necessary partial information is not stored as a result of the search in the search step, this A requesting step for requesting the second server to generate partial information;
The second server is
A template is held for each of a plurality of web pages, and when a template is requested from the first server, a template requested from the first server among templates for each of a plurality of web pages is stored in the first server. A provision step of generating the partial information when the generation of the partial information is requested from the first server, and providing the generated partial information to the first server;
The first server is
Template or partial information found by said searching step, or, by using a template or partial information provided by said providing step, to have a generating step of generating a web page incorporating the partial information to the template A method for generating a web page.
前記第1のサーバが、
ウェブページの閲覧の要求をユーザから受け付ける受付工程と、
ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索工程と、
前記検索工程にて検索された部分情報を用いてウェブページを生成する生成工程と、
前記メモリにおける部分情報の記憶状況を前記第2のサーバへ報告する報告工程と、
前記第2のサーバが、
前記第1のサーバから報告される部分情報の記憶状況を管理する管理テーブルを参照して1つの第1のサーバから他の第1のサーバへ部分情報を複製するか否かを判定する判定工程と、
前記判定工程における判定の結果に応じて、部分情報の複製指示を少なくとも1つの第1のサーバへ送信する送信工程と
を有することを特徴とするウェブページ生成方法。 A web page generation method in a web page generation system comprising a plurality of first servers that generate web pages requested by a user and a second server that can communicate with the plurality of first servers,
The first server is
A reception process for receiving a request for browsing a web page from a user;
A search step for searching for partial information necessary for generating a web page that a user requests to browse from a memory that temporarily stores partial information constituting the previously generated web page;
A generation step of generating a web page using the partial information searched in the search step;
A reporting step of reporting the storage status of the partial information in the memory to the second server;
The second server is
A determination step of determining whether or not partial information is replicated from one first server to another first server with reference to a management table that manages the storage status of the partial information reported from the first server When,
And a transmission step of transmitting a partial information duplication instruction to at least one first server in accordance with a result of the determination in the determination step.
ウェブページの閲覧の要求をユーザから受け付ける受付工程と、
ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索工程と、
前記検索工程による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索工程における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求工程と、
前記検索工程によって検索されたテンプレートもしくは部分情報、または、前記要求工程によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成工程と
を有することを特徴とするウェブページ生成方法。 A web page generation method for generating a web page requested by a user,
A reception process for receiving a request for browsing a web page from a user;
Templates and integration partial information necessary for the web page of the web page the user requests viewing, and the template for a plurality of web pages generated in the past, and a partial information constituting the Webupe di one A search process for searching from a temporally stored memory;
If the template is not stored as a result of the search in the search step, the template is requested to an external device, and if the required partial information is not stored as a result of the search in the search step, this partial information a request step of requesting the generation of the said external device,
The search template or partial information retrieved by step, or by using the request template or partial information by the request step and a generation step of generating a web page incorporating the partial information to the template A web page generation method comprising:
ウェブページの閲覧の要求をユーザから受け付ける受付手段と、
ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索工程と、
前記検索工程にて検索された部分情報を用いてウェブページを生成する生成工程と、
前記メモリにおける部分情報の記憶状況を外部の装置へ報告する報告工程と、
前記外部の装置から部分情報の複製指示を受信する受信工程と
を有することを特徴とするウェブページ生成方法。 A web page generation method for generating a web page requested by a user,
Accepting means for accepting a request to browse a web page from a user;
A search step for searching for partial information necessary for generating a web page that a user requests to browse from a memory that temporarily stores partial information constituting the previously generated web page;
A generation step of generating a web page using the partial information searched in the search step;
A reporting step of reporting the storage status of the partial information in the memory to an external device;
And a receiving step of receiving an instruction to copy partial information from the external device.
ウェブページの閲覧の要求をユーザから受け付ける受付手順と、
ユーザが閲覧を要求するウェブページのテンプレートおよび当該ウェブページに対して組み込みが必要な部分情報を、過去に生成された複数のウェブページごとのテンプレートと、当該ウェブページを構成する部分情報とを一時的に記憶するメモリから検索する検索手順と、
前記検索手順による検索の結果、テンプレートが記憶されていない場合に、当該テンプレートを外部の装置へ要求し、前記検索手順における検索の結果、必要な部分情報が記憶されていない場合に、この部分情報の生成を前記外部の装置へ要求する要求手順と、
前記検索手順によって検索されたテンプレートもしくは部分情報、または、前記要求手順によって要求されたテンプレートもしくは部分情報を用いて、当該テンプレートに当該部分情報を組み込んでウェブページを生成する生成手順と
をコンピュータに実行させることを特徴とするウェブページ生成プログラム。 A web page generation program for generating a web page requested by a user,
A reception procedure for accepting a request for browsing a web page from a user;
Templates and integration partial information necessary for the web page of the web page the user requests viewing, and the template for a plurality of web pages generated in the past, and a partial information constituting the Webupe di one A search procedure for searching from memory that is temporarily stored;
If the template is not stored as a result of the search by the search procedure, the template is requested to an external device. If the required partial information is not stored as a result of the search in the search procedure, this partial information is stored. a request procedure for requesting generation to said external device,
Template or partial information searched by the search procedure, or by using the request template or partial information by the request procedure, and a generation step of generating a web page incorporating the partial information to the template A web page generation program that is executed by a computer.
ウェブページの閲覧の要求をユーザから受け付ける受付手順と、
ユーザが閲覧を要求するウェブページの生成に必要な部分情報を、過去に生成されたウェブページを構成する部分情報を一時的に記憶するメモリから検索する検索手順と、
前記検索手順にて検索された部分情報を用いてウェブページを生成する生成手順と、
前記メモリにおける部分情報の記憶状況を外部の装置へ報告する報告手順と、
前記外部の装置から部分情報の複製指示を受信する受信手順と
をコンピュータに実行させることを特徴とするウェブページ生成プログラム。 A web page generation program for generating a web page requested by a user,
A reception procedure for accepting a request for browsing a web page from a user;
A search procedure for searching for partial information necessary for generating a web page that the user requests to browse from a memory that temporarily stores partial information constituting a previously generated web page;
A generation procedure for generating a web page using the partial information searched in the search procedure;
A reporting procedure for reporting the storage status of the partial information in the memory to an external device;
A web page generation program that causes a computer to execute a reception procedure for receiving a copy instruction of partial information from the external device.
前記ウェブページ生成装置から報告される部分情報の記憶状況を管理する管理テーブルを参照して1つのウェブページ生成装置から他のウェブページ生成装置へ部分情報を複製するか否かを判定する判定手順と、
前記判定手順における判定の結果に応じて、部分情報の複製指示を少なくとも1つのウェブページ生成装置へ送信する送信手順と
をコンピュータに実行させることを特徴とする部分情報管理プログラム。 A partial information management program for managing partial information temporarily stored in a web page generation device that generates a web page from partial information constituting a web page,
Determination procedure for determining whether to copy partial information from one web page generation device to another web page generation device with reference to a management table for managing the storage status of the partial information reported from the web page generation device When,
A partial information management program that causes a computer to execute a transmission procedure for transmitting a partial information duplication instruction to at least one web page generation device in accordance with a result of the determination in the determination procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006246739A JP5013789B2 (en) | 2006-09-12 | 2006-09-12 | Web page generation system, web page generation device, and web page generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006246739A JP5013789B2 (en) | 2006-09-12 | 2006-09-12 | Web page generation system, web page generation device, and web page generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008070949A JP2008070949A (en) | 2008-03-27 |
JP5013789B2 true JP5013789B2 (en) | 2012-08-29 |
Family
ID=39292502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006246739A Active JP5013789B2 (en) | 2006-09-12 | 2006-09-12 | Web page generation system, web page generation device, and web page generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5013789B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5372786B2 (en) * | 2010-01-12 | 2013-12-18 | ヤフー株式会社 | Web page generation device and web page generation method |
JP4921570B2 (en) * | 2010-01-27 | 2012-04-25 | ヤフー株式会社 | Blog service providing system, method and program |
US8751925B1 (en) | 2010-04-05 | 2014-06-10 | Facebook, Inc. | Phased generation and delivery of structured documents |
KR101785595B1 (en) * | 2013-03-01 | 2017-10-16 | 페이스북, 인크. | Caching pagelets of structured documents |
CN104424199B (en) * | 2013-08-21 | 2018-07-24 | 阿里巴巴集团控股有限公司 | searching method and device |
US10498663B2 (en) * | 2014-03-12 | 2019-12-03 | Amazon Technologies, Inc. | Profile-based cache management |
CN111767495B (en) * | 2019-04-01 | 2024-10-18 | 北京沃东天骏信息技术有限公司 | Method and system for synthesizing web page |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11250054A (en) * | 1998-03-02 | 1999-09-17 | Mitsubishi Electric Corp | Merging web page generation device and method therefor |
JP3946934B2 (en) * | 1999-08-05 | 2007-07-18 | 株式会社東芝 | Web page component integration processing device, web page component integration processing method, and client device |
JP2002215519A (en) * | 2001-01-22 | 2002-08-02 | Sumisho Computer Systems Corp | Method and system for web page generation, web page generating program, and recording medium |
-
2006
- 2006-09-12 JP JP2006246739A patent/JP5013789B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008070949A (en) | 2008-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11647097B2 (en) | Providing access to managed content | |
US7509404B2 (en) | Methods and systems for partial page caching of dynamically generated content | |
US6324565B1 (en) | Dynamically generated document cache system | |
US7076608B2 (en) | Invalidating cached data using secondary keys | |
JP5013789B2 (en) | Web page generation system, web page generation device, and web page generation method | |
US6347316B1 (en) | National language proxy file save and incremental cache translation option for world wide web documents | |
US7334001B2 (en) | Method and system for data collection for alert delivery | |
US8117259B2 (en) | Method and system for content distribution network performance and quality measurement | |
US9448932B2 (en) | System for caching data | |
CN102985921B (en) | There is the client terminal device high speed caching electronic document resources of e-sourcing data base | |
US20030033283A1 (en) | Data access | |
US20140067990A1 (en) | Method for accessing a content item in a cloud storage system, and a corresponding cloud broker, cloud cache agent and client application | |
US6931428B2 (en) | Method and apparatus for handling requests for content in a network data processing system | |
JP2004348743A (en) | Post cache replacement | |
US8438469B1 (en) | Embedded review and rating information | |
US6938072B2 (en) | Method and apparatus for minimizing inconsistency between data sources in a web content distribution system | |
US20050071754A1 (en) | Pushing information to distributed display screens | |
JP7477251B2 (en) | Method, system, and program for improving cacheability of single-page applications | |
US7581227B1 (en) | Systems and methods of synchronizing indexes | |
JP2007219619A (en) | Information management program, device, and method | |
US7693840B1 (en) | Method and system for distribution of common elements | |
CN103095765A (en) | Peer-to-peer communication network and data content distributing method thereof and communication node thereof | |
JP6035803B2 (en) | Portal server, client device, portal system, information processing method, and computer program | |
JP2005100005A (en) | Content management system, content management method and program therefor | |
KR100532340B1 (en) | Method and system for providing message publishing on a dynamic page builder on the internet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090316 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110901 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110913 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111026 |
|
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: 20120529 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120605 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150615 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5013789 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
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 |