JP2007241692A - Server device - Google Patents
Server device Download PDFInfo
- Publication number
- JP2007241692A JP2007241692A JP2006063698A JP2006063698A JP2007241692A JP 2007241692 A JP2007241692 A JP 2007241692A JP 2006063698 A JP2006063698 A JP 2006063698A JP 2006063698 A JP2006063698 A JP 2006063698A JP 2007241692 A JP2007241692 A JP 2007241692A
- Authority
- JP
- Japan
- Prior art keywords
- data
- web page
- content
- partial data
- unit
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
この発明は、ウェブシステム技術に関し、特に、複数種類のコンテンツデータを含むウェブページを提供するための技術に関する。 The present invention relates to a web system technology, and more particularly to a technology for providing a web page including a plurality of types of content data.
近年、コンピュータの普及とネットワーク技術の進展にともない、ネットワークを介した電子情報の交換が盛んになっている。これにより、従来においては紙ベースで行われていた事務処理の多くが、ネットワークベースの処理に置き換えられつつある。 In recent years, with the spread of computers and the development of network technology, the exchange of electronic information via the network has become popular. As a result, many of the business processes that have been conventionally performed on a paper basis are being replaced by network-based processes.
商取引の多くも、ネットワークを介したいわゆる電子商取引に移行しつつあり、最近ではインターネット上にさまざまな電子商取引サイトが開設されている。ユーザは電子商取引サイトが提供するウェブページを介して商品の価格、機能、在庫状態のみならず、競合商品や関連商品、売れ筋ランキングなどのさまざまな情報をまとめて取得できる。ウェブページから取得できる商品情報の豊富さが、電子商取引普及の一因と考えられる。
電子商取引サイトのウェブページは、通常、多くのデータベースから取得されるデータをコンテンツとしている。たとえば、ある商品Aの情報を格納しているデータベースと、別の商品Bの情報を格納しているデータベースは別々のものであるかもしれない。また、商品Aの値段に関する情報と商品Aの在庫に関する情報は別々のデータベースに格納されているのかもしれない。電子商取引サイトは、更新頻度が異なる多数のデータベースからウェブページのコンテンツを集めている。
ウェブページの生成処理においては、データベースへのアクセスがボトルネックとなりやすい。そのため、アクセスすべきデータベースの数とそのアクセス回数の増加は、電子商取引システム全体のパフォーマンスを悪化させる要因となってきている。
The web page of an electronic commerce site usually contains data acquired from many databases. For example, a database that stores information on a product A and a database that stores information on another product B may be different. Further, the information regarding the price of the product A and the information regarding the stock of the product A may be stored in different databases. Electronic commerce sites collect web page content from a number of databases with different update frequencies.
In web page generation processing, access to a database tends to be a bottleneck. For this reason, the number of databases to be accessed and the increase in the number of accesses have become factors that deteriorate the performance of the entire electronic commerce system.
本発明はこうした状況に鑑みてなされたものであり、その主たる目的は、適宜更新されるデータベースのデータからウェブページを効率的に生成するための技術を提供することにある。 The present invention has been made in view of such circumstances, and a main object thereof is to provide a technique for efficiently generating a web page from data in a database that is updated as appropriate.
本発明のある態様は、データベースにおいて適宜更新されるコンテンツデータからウェブページを生成するサーバ装置である。
この装置は、ウェブページ上にレイアウトされる複数の領域ごとに領域処理モジュールを割り当て、各領域処理モジュールによって生成される部分的なウェブページから全体としてのウェブページを生成し、クライアント端末に送信する。
領域処理モジュールは、対応する領域において表示対象となるコンテンツデータをデータベースから取得して部分的なウェブページを生成し、これを保持する。この部分的なウェブページに対しては、たとえば、有効期限のようなデータの有効性を管理するための条件が設定され、ウェブページがクライアント端末に送信されるときにこの条件が成立していなければ、コンテンツデータを再取得して部分的なウェブページを再生成する。
One embodiment of the present invention is a server device that generates a web page from content data that is appropriately updated in a database.
This apparatus assigns an area processing module to each of a plurality of areas laid out on a web page, generates a web page as a whole from partial web pages generated by each area processing module, and transmits it to a client terminal .
The area processing module acquires content data to be displayed in the corresponding area from the database, generates a partial web page, and holds this. For this partial web page, for example, a condition for managing the validity of data such as an expiration date is set, and this condition must be satisfied when the web page is transmitted to the client terminal. For example, content data is reacquired and a partial web page is regenerated.
なお、以上の構成要素の任意の組合せ、本発明を方法、装置、システム、記録媒体、コンピュータプログラムにより表現したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above-described components and a representation of the present invention by a method, apparatus, system, recording medium, and computer program are also effective as an aspect of the present invention.
本発明によれば、適宜更新されるデータベースのデータからウェブページを効率的に生成するための技術を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the technique for producing | generating a web page efficiently from the data of the database updated suitably can be provided.
本実施例においては、外部のデータベース群からさまざまなデータを収集し、これらのデータをコンテンツとするウェブページを提供するサーバ装置100について説明する。
In the present embodiment, a description will be given of a
図1は、本実施例におけるクライアントサーバシステムのハードウェア構成図である。
サーバ装置100は、データベース30a、データベース30b、データベース30cなどの複数のデータベース(以下、単に「データベース30」という)と接続されている。また、サーバ装置100は、クライアント端末10aやクライアント端末10b、クライアント端末10cなどの複数のクライアント端末(以下、単に「クライアント端末10」という)とインターネット20を介して接続されている。
FIG. 1 is a hardware configuration diagram of a client server system according to the present embodiment.
The
サーバ装置100は、クライアント端末10からの要求に応じてHTML(HyperText Markup Language)やXML(eXtensible Markup Language)により記述される形式のウェブページファイル(以下、単に「ウェブページ」とよぶ)を送信する。このウェブページには、静的なコンテンツと動的なコンテンツが含まれる。本実施例にいう静的なコンテンツとは、サーバ装置100が保持する静的な情報である。これに対し動的なコンテンツとは、各データベース30において保持される動的に変化する情報である。サーバ装置100は、ウェブページのスタイルを規定する所定のフレームデータに基づいて、各種コンテンツデータを含めてウェブページを生成する。
次に、動的なコンテンツからウェブページを生成する処理における課題と、本実施例において提案する解決方法について述べる。
In response to a request from the
Next, a problem in the process of generating a web page from dynamic content and a solution proposed in this embodiment will be described.
図2は、動的コンテンツからウェブページを作成する一般的な処理方法を説明するための模式図である。
ここでは、クライアント端末10aがサーバ装置100に対してURL(Uniform Resource Locator)を指定してウェブページAを要求したとする。サーバ装置100のインタフェース70はこのウェブページ取得要求を受け付け、ウェブページ生成プログラム40にウェブページAの生成を指示する。ウェブページ生成プログラム40は、各データベース30にアクセスして動的コンテンツを集め、ウェブページAを生成する。また、ウェブページ生成プログラム40は、生成したウェブページAをキャッシュ50に保存する。インタフェース70は、こうして生成されたウェブページAを要求元のクライアント端末10aに送信する。ウェブページ生成プログラム40は、サーブレット(Servlet)やJSP(JavaServer Pages)などのJava(登録商標)コンポーネントによって実現されることが多い。
もちろん、このウェブページには、サーバ装置100自体が保持する静的コンテンツが含まれてもよい。
FIG. 2 is a schematic diagram for explaining a general processing method for creating a web page from dynamic content.
Here, it is assumed that the
Of course, this web page may include static content held by the
次に、別のクライアント端末10bがサーバ装置100に対して再びウェブページAを要求したとする。サーバ装置100のインタフェース70がウェブページ取得要求を受け付けると、ウェブページ生成プログラム40に対してウェブページAの生成を要求する。このとき、前回の処理によって生成されたウェブページAが既にキャッシュ50にあるため、ウェブページ生成プログラム40はキャッシュ50のウェブページAをインタフェース70に渡す。ウェブページAのキャッシュによって、結果的にウェブページ生成プログラム40によるデータベース30への2回目のアクセスが不要となっている。このようにキャッシュ50の存在によって、ウェブページ生成プログラム40からデータベース30へのアクセス回数が抑制されている。
Next, it is assumed that another
とはいえ、各データベース30のコンテンツデータは適宜更新されるので、キャッシュ50のウェブページAは、常に有効なデータであるわけではない。たとえば、「2005年1月10日」まで有効な商品情報を含むウェブページAがキャッシュされている状況において、2005年1月11日にウェブページAについてウェブページ取得要求が受信されると、ウェブページ生成プログラム40はデータベース30から最新の商品情報を取得してウェブページAを再生成する必要がある。
However, since the content data in each
すなわち、ウェブページのキャッシュシステムがうまく機能するためには、キャッシュ50に保持されるウェブページがなるべく長期間有効であることが望ましい。しかし、多数のデータベース30からコンテンツデータを取得する場合、キャッシュされるウェブページの有効期間も短くなってくる。たとえば、高い頻度で更新される在庫情報をコンテンツデータとして含むウェブページの場合、キャッシュシステムはほとんど有効に機能しなくなってしまう。
本実施例におけるサーバ装置100は、ウェブページを複数の領域に分けて、各領域ごとのデータ管理によってこのような課題に対処している。
In other words, in order for the web page cache system to function well, it is desirable that the web pages held in the
The
図3は、本実施例において動的コンテンツからウェブページを作成する処理方法を説明するための模式図である。
まず、ウェブページの表示スタイルは、フレームデータ60によって規定される。同図の場合、このウェブページは、A1〜A7の7つの領域に分けられている。そして、各領域ごとにP1〜P7として示す領域処理モジュールが割り当てられる。詳しくは後述するが、領域処理モジュールとは、領域に対応して部分的なウェブページ(以下、「部分データ」とよぶ)を生成する。たとえば、領域処理モジュールP1は、領域A1についての部分データを生成する。領域処理モジュールは、いわば、図2に関連して説明したウェブページ生成プログラム40の小型版であるともいえる。
FIG. 3 is a schematic diagram for explaining a processing method for creating a web page from dynamic content in the present embodiment.
First, the display style of the web page is defined by the
領域処理モジュールP1は、領域A1に表示させるべきコンテンツデータをデータベースAから取得する。そのため領域処理モジュールP1は、データベースAと対応づけられている。同様に、領域処理モジュールP4は、データベースA、Bからコンテンツデータを取得して、領域A4に対応する部分データを生成する。各領域処理モジュールは生成した部分データを独自にキャッシュする。 The area processing module P1 acquires content data to be displayed in the area A1 from the database A. Therefore, the area processing module P1 is associated with the database A. Similarly, the area processing module P4 acquires content data from the databases A and B, and generates partial data corresponding to the area A4. Each area processing module independently caches the generated partial data.
CDや書籍を販売する電子商取引サイトのウェブページを例として、より具体的に説明する。ここでは、データベースAは、CDの在庫情報を格納している。データベースBは、CDについての商品情報を格納している。データベースCは書籍についての商品情報を格納している。領域A1には、洋楽系CDの在庫状態を示す領域である。そのため、領域処理モジュールP1は、データベースAから洋楽CDの在庫状態に関する情報を取得して部分データを生成する。領域A2は、最近発売されたCDについての商品情報を示す。領域A2については領域処理モジュールP2が対応づけられている。領域処理モジュールP2は、データベースBから該当データを取得することになる。領域A4には、あるアーティストの新作CDの売れ行きを示す。領域A4については領域処理モジュールP4が対応づけられている。領域処理モジュールP4は、データベースAとデータベースBから該当データを取得する。
フレームデータ60に基づいて、各領域処理モジュールが生成する部分データによって、全体としてのウェブページが生成される。
This will be described more specifically by taking as an example a web page of an electronic commerce site that sells CDs and books. Here, the database A stores CD inventory information. Database B stores product information about CDs. Database C stores product information about books. The area A1 is an area indicating the stock status of the Western music CD. Therefore, the area processing module P1 acquires information on the inventory status of the Western music CD from the database A and generates partial data. A region A2 shows product information about a recently released CD. The area processing module P2 is associated with the area A2. The area processing module P2 acquires the corresponding data from the database B. Area A4 shows the sales of a new CD of an artist. The area processing module P4 is associated with the area A4. The area processing module P4 acquires corresponding data from the database A and the database B.
Based on the
ここで、データベースAにおいてCDの在庫情報が更新されたとする。このときには、データベースAに関連する領域A1と領域A4の部分データは更新される必要があるが、それ以外の領域の部分データは更新の必要がない。更に、データベースAの更新内容は、領域A1に影響しても領域A4には影響しないかもしれない。このように、ウェブページを部分データ単位でキャッシュすることにより、キャッシュシステムをより効率的に機能させることができる。図2に関連して説明した処理方法の場合、データベースAに関するコンテンツデータが更新されると、ウェブページ生成プログラム40はウェブページ全体を再生成する。このとき、このウェブページに関連するデータベースとしてデータベースAのみならずデータベースB〜Eへのアクセスも発生してしまうことになる。これに対し、図4に関連した処理方法によれば、ウェブページのうち更新対象となるデータ範囲を限定できるので、結果として、データベース30に対する不必要なアクセスを抑制しやすくなる。
以下、本実施例におけるサーバ装置100について、そのウェブページ生成方法の詳細を中心として説明する。
Here, it is assumed that the CD inventory information is updated in the database A. At this time, partial data in the areas A1 and A4 related to the database A needs to be updated, but partial data in other areas need not be updated. Furthermore, the update contents of the database A may affect the area A4 even if it affects the area A1. As described above, the cache system can be functioned more efficiently by caching the web page in units of partial data. In the case of the processing method described with reference to FIG. 2, when the content data related to the database A is updated, the web
Hereinafter, the
図4は、本実施例におけるサーバ装置の機能ブロック図である。
ここに示す各ブロックは、ハードウェア的には、コンピュータのCPUをはじめとする素子や機械装置で実現でき、ソフトウェア的にはコンピュータプログラム等によって実現されるが、ここでは、それらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックはハードウェア、ソフトウェアの組合せによっていろいろなかたちで実現できることは、当業者には理解されるところである。次の図5についても同様である。
ここでは、主として各機能ブロックの発揮すべき機能について述べ、その具体的な作用については、図7等に関連して説明する。
FIG. 4 is a functional block diagram of the server device in the present embodiment.
Each block shown here can be realized in hardware by an element such as a CPU of a computer or a mechanical device, and in software it is realized by a computer program or the like. Draw functional blocks. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by a combination of hardware and software. The same applies to the next FIG.
Here, functions to be exhibited by each functional block will be mainly described, and specific actions will be described with reference to FIG.
サーバ装置100は、クライアント通信部110、ウェブデータ処理部120および領域処理部130を含む。
クライアント通信部110は、クライアント端末10との通信処理を担当する。クライアント通信部110は、クライアント端末10からウェブページ取得要求を受信し、クライアント端末10に該当ウェブページを送信する。
ウェブデータ処理部120は、ウェブページを生成に関する各種データ処理を統括的に制御する。また、ウェブデータ処理部120は、クライアント通信部110と領域処理部130の間のインタフェースの役割も果たす。
領域処理部130は、領域処理モジュール140a、領域処理モジュール140b、領域処理モジュール140cなどの複数の領域処理モジュール(以下、単に「領域処理モジュール140」という)を含む。領域処理モジュール140の詳細な機能ブロックについては、次の図5に関連して後述する。
The
The
The web
The
ウェブデータ処理部120は、フレーム選択部122、モジュール制御部124およびウェブページ生成部126を含む。
フレーム選択部122は、クライアント端末10から要求されたウェブページについてのフレームデータ60を選択する。フレーム選択部122は、複数種類のフレームデータ60を保持しており、指定されたURLに基づいてフレームデータを選択する。モジュール制御部124は、選択されたフレームデータ60の各領域に領域処理モジュール140を割り当てる。また、各領域処理モジュール140を統括的に制御し、領域処理モジュール140に対するインタフェースとしても機能する。ウェブページ生成部126は、領域処理モジュール140によって生成される部分データを、フレーム選択部122によって選択されたフレームデータ60に基づいてレイアウトすることによりウェブページを生成する。
The web
The
データベース30において保持されているさまざまなコンテンツデータにはデータの有効性について条件(以下、「コンテンツ有効条件」とよぶ)が設定されている。たとえば、ある商品についての価格は、キャンペーン期間中とそうでない期間では異なる。データベース30に「2001年5月〜2003年7月」の期間においてのみ有効である価格情報が保持されているとする。この場合、「2001年5月〜2003年7月」の期間内であればこの価格情報についてのコンテンツ有効条件は成立判定され、そうでなければ不成立と判定されることになる。
Conditions (hereinafter referred to as “content validity conditions”) are set for the validity of the various content data held in the
領域処理モジュール140は、データベース30からコンテンツデータを取得するときにコンテンツ有効条件も取得する。ウェブページがクライアント端末10に送信されるときには、そのウェブページに含まれる全てのコンテンツデータについてコンテンツ有効条件が成立していなければならない。そのため、領域処理モジュール140にキャッシュされる部分データにもデータの有効性についての条件(以下、「部分データ有効条件」とよぶ)が設定される。たとえば、部分データにコンテンツデータα、β、γが含まれる場合、全てのコンテンツデータについてコンテンツ有効条件が成立していれば部分データ有効条件は成立判定され、そうでなければ不成立判定される。以下、「コンテンツ有効条件」と「部分データ有効条件」をまとめていうときには単に「有効条件」とよぶ。
有効条件については、領域処理モジュール140について詳述した後、図6に関連して詳述する。
The
The effective condition will be described in detail with reference to FIG. 6 after the
図5は、領域処理モジュールの機能ブロック図である。
領域処理モジュール140は、データベース通信部150、部分データ処理部160およびデータ格納部170を含む。
データベース通信部150は、主としてデータベース30との通信処理を担当する。データ格納部170は、各種データを格納する。部分データ処理部160は、部分データの生成を制御する。また、部分データ処理部160は、データベース通信部150とデータ格納部170の間のインタフェースおよびウェブデータ処理部120に対する領域処理モジュール140のインタフェースの役割も果たす。
FIG. 5 is a functional block diagram of the area processing module.
The
The
データベース通信部150は、コンテンツ取得部152、更新通知取得部154および有効条件設定命令取得部156を含む。
コンテンツ取得部152は、データベース30からコンテンツデータを取得する。データベース30によっては在庫情報のように不定期に更新される鮮度管理がシビアなコンテンツデータもある。データベース30は、在庫情報のような特定のコンテンツデータが更新されるとき、サーバ装置100に更新通知を送信する機能を備える。各領域処理モジュール140の更新通知取得部154は、このような更新通知を受信し、対応関係にあるデータベース30からの更新通知であるかを判定する。対応関係になければ、この更新通知は無視される。したがって、更新通知は、該当の領域処理モジュール140においてのみ処理の対象となる。有効条件設定命令取得部156は、保持している部分データに関して、コンテンツ有効条件や部分データ有効条件を変更するための有効条件設定命令を外部装置から受信する。ここでいう外部装置とは、インターネット20と接続され、遠隔からサーバ装置100を制御可能な装置である。
The
The
データ格納部170は、部分データ保持部172および有効条件保持部174を含む。
部分データ保持部172は、部分データを保持する。有効条件保持部174は、有効条件を保持する。有効条件保持部174のデータ構造については後述する。
The
The partial
部分データ処理部160は、有効条件設定部162、部分データ生成部164および更新制御部166を含む。
有効条件設定部162は、有効条件設定命令が受信されると、指定の有効条件に応じて有効条件保持部174に保持されている有効条件を設定変更する。部分データ生成部164は、コンテンツ取得部152から取得されたコンテンツデータに基づいて部分データを生成する。このときには、有効条件保持部174の各種有効条件も更新される。更新制御部166は、ウェブページ取得要求の受信時において部分データ有効条件が成立していないときや、更新通知が受信されたときには部分データ保持部172の部分データを更新する。
The partial
When the valid
図6は、有効条件保持部174のデータ構造図である。
コンテンツID欄180は、コンテンツデータを識別するためのコンテンツIDを示す。同図においては、コンテンツID「010」「021」および「004」の3種類のコンテンツデータが該当部分データに含まれている。データベースID欄182は、各コンテンツの取得元であるデータベース30を識別するためのデータベースIDを示す。同図によれば、コンテンツID「010」のコンテンツデータとコンテンツID「004」のコンテンツデータは、共に、データベースID「001」のデータベース30から取得されていることがわかる。
FIG. 6 is a data structure diagram of the valid
The
コンテンツ有効条件欄184は、各コンテンツデータについてのコンテンツ有効条件を示す。コンテンツID「010」のコンテンツデータは、2005年10月31日まで有効なコンテンツデータである。同様に、コンテンツID「004」のコンテンツデータは、2008年11月16日まで有効であり、コンテンツID「021」のコンテンツデータは、15:00〜18:00の期間において有効なデータである。部分データ有効条件欄186は、部分データ有効条件を示す。有効条件設定部162は、現在時刻と各コンテンツ有効条件を比較して、部分データ有効条件の成否を適宜判定する。その判定結果が部分データ有効条件欄186に保持される。ここに示す例の場合、2005年10月31日までの日であって15:00〜18:00の間の時間帯にあれば、部分データ有効条件は成立し、それ以外であれば不成立となる。有効条件は外部装置からの指示によって変更可能である。たとえば、コンテンツID「010」のコンテンツデータの有効条件が「2005年9月31日まで」とあとから変更することも可能である。
The content
部分データ有効条件が成立しているときにウェブページ取得要求が受信されると、部分データ保持部172の部分データはそのまま利用される。一方、不成立であれば、コンテンツ取得部152はコンテンツ有効条件が成立していないコンテンツデータを再取得する。部分データ生成部164は新たに取得されたコンテンツデータに基づいて部分データを再生成する。このとき、新たに取得されたコンテンツデータについてのコンテンツデータ有効条件は更新される。
If a web page acquisition request is received when the partial data valid condition is satisfied, the partial data in the partial
なお、ここでは、部分データに複数種類のコンテンツデータが含まれるとして説明したが、領域ごとに含まれる部分データが1種類であるとすれば、コンテンツ有効条件と部分データ有効条件は一致することになる。 In this example, the partial data includes a plurality of types of content data. However, if there is only one type of partial data included in each area, the content validity condition and the partial data validity condition match. Become.
有効条件は、データベース30に対してコンテンツデータの管理者により明示的に設定される。コンテンツ取得部152がデータベース30からコンテンツデータを取得するときに、あわせて、そのコンテンツデータに対する有効条件を取得する。有効条件設定命令取得部156は、このとき取得された有効条件をコンテンツ有効条件欄184に設定する。ただし、有効条件は、時間帯によってその成否が判定される場合に限る必要はない。たとえば、「翌日の天気予報が雨であるとき」や、「日経平均株価が1万5000円を超えたとき」、「VIPユーザからのアクセスであるとき」のように、さまざまなコンテンツ有効条件に応じて、部分データが更新されてもよい。このような有効条件判定のための情報はインターネット20を介して他のウェブサイトから取得すればよい。このように有効条件の設定方法、設定内容に関してはさまざまなバリエーションが考えられる。
The valid condition is explicitly set for the
有効条件とは別に更新通知が受信されたときにも、部分データは更新される。更新制御部166は、更新の対象となったコンテンツデータをコンテンツ取得部152に再取得させた上で、部分データ生成部164に部分データを再生成させる。
領域処理モジュール140は、有効条件に基づく能動的な管理と、更新通知に基づく受動的な管理によって部分データを管理する。
The partial data is also updated when an update notification is received separately from the valid condition. The
The
図7は、ウェブページ生成過程を示すフローチャートである。
ここでは、クライアント端末10からウェブページAが要求されたとして説明する。まず、フレーム選択部122は、ウェブページAのフレームデータ60を選択する(S10)。ウェブページAについて領域処理モジュール140が割り当てられていなければ(S12のNO)、モジュール制御部124は各領域に対して領域処理モジュール140を割り当てる(S14)。この場合、S14において領域処理モジュール140は初期化される。
FIG. 7 is a flowchart showing a web page generation process.
Here, a description will be given assuming that the web page A is requested from the
各領域処理モジュール140は、それぞれが担当する部分データを生成するために部分データ処理を実行する(S16)。各領域処理モジュール140は互いに独立して処理を実行可能である。そのため、部分データ処理は、各領域処理モジュール140によって時間的に並行して実行される。S16の部分データ処理については次の図8に関連して詳述する。ウェブページ生成部126は、各領域処理モジュール140から得られた部分データを合成してウェブページを生成する(S18)。クライアント通信部110は、ウェブページをクライアント端末10に送信する(S20)。
Each
図8は、図7のS16における部分データ処理を詳細に示すフローチャートである。
部分データ保持部172が既に部分データを保持していれば(S30のYES)、更新制御部166は部分データ有効条件が成立しているかを判定する(S32)。部分データ有効条件が成立していれば(S32のYES)、処理はS40にスキップする。部分データが保持されていないときや(S30のNO)、部分データ有効条件が成立していないときには(S32のNO)、更新制御部166はコンテンツ取得部152に指示して、データベース30からコンテンツデータを取得させる(S34)。部分データ生成部164は新たに取得されたコンテンツデータに基づいて部分データを生成する(S36)。有効条件設定部162は、新たに取得されたコンテンツデータのコンテンツ有効条件を有効条件保持部174に設定する(S38)。このとき部分データ有効条件も更新される。部分データ処理部160は生成された部分データをウェブデータ処理部120に渡す(S40)。
FIG. 8 is a flowchart showing in detail the partial data processing in S16 of FIG.
If the partial
このようにして、各領域処理モジュール140が適宜部分データを生成することにより、全体としてのウェブページが生成される。各領域処理モジュール140は、時間的に並行してそれぞれ部分データ処理を実行できるので、ウェブページの生成処理がより効率的となる。特に、データベース30の数が多いときも、複数のデータベース30に対して時間的に並行してアクセスできるため、システム全体としての処理効率をいっそう高めることができる。サーバ装置100は、フレームデータ60を選択して領域処理モジュール140を割り当てた後は、基本的な処理を領域処理モジュール140にほとんど委任できるため、システムの拡張性にもすぐれている。
In this manner, each
以上、実施の形態をもとに本発明を説明した。なお本発明はこの実施の形態に限定されることなく、そのさまざまな変形例もまた、本発明の態様として有効である。たとえば、本実施例においては、電子商取引サイトを想定して説明したが、本発明の応用範囲はポータルサイトのウェブページなど、複数のデータベースから得られるコンテンツを含むウェブページを生成する上で有効である。
また、そのほかにもXMLを介しての企業間取引、電文交換処理等についても応用可能である。
The present invention has been described above based on the embodiment. The present invention is not limited to this embodiment, and various modifications thereof are also effective as aspects of the present invention. For example, in the present embodiment, description has been made assuming an electronic commerce site. However, the application range of the present invention is effective in generating a web page including content obtained from a plurality of databases such as a web page of a portal site. is there.
In addition, the present invention can also be applied to business-to-business transactions and message exchange processing via XML.
請求項に記載のウェブページデータ送信部の機能は、本実施例においては主としてクライアント通信部110によって実現される。請求項に記載のフレームデータ保持部は、本実施例においては主としてフレーム選択部122によって実現される。
請求項に記載の各構成要件が果たすべき機能は、本実施例において示された各機能ブロックの単体もしくはそれらの連係によって実現されることも当業者には理解されるところである。
The function of the web page data transmission unit described in the claims is mainly realized by the
It should also be understood by those skilled in the art that the functions to be fulfilled by the constituent elements described in the claims are realized by the individual functional blocks shown in the present embodiment or their linkage.
最後に、変形例として、本実施例に示したサーバ装置100に部分表示管理機能を付加した態様について付言する。
図9は、本変形例における有効条件保持部174のデータ構造図である。
ここでは、図3に示したように、A1〜A7までの7つの領域がフレームデータ60に含まれているとする。部分データ有効条件欄186は、図6にて示したように、各領域についての部分データ有効条件を示す。本変形例では、更に、部分データ表示条件爛192が追加され、部分データ表示条件が設定されている。この部分データ表示条件爛192において、丸印がついている、すなわち、部分データ表示条件がオン設定されている領域A1や領域A7は表示対象となるが、バツ印のついているオフ設定の領域A2は表示対象とならない。部分データ表示条件は、サーバ装置100のユーザによって設定される。ユーザは部分データ表示条件の設定により、ウェブページに実際に表示すべきデータをサーバ装置100へのアクセスによりコントロールできる。たとえば、もともとデータベースに間違ったデータが格納されており、このようなデータが領域A2の表示対象としてロードされたときにも、サーバ装置100の運用者が領域A2の部分データ表示条件をオフすれば、そのような不適切なデータを即時的に表示対象から外すことができる。この場合、領域A2には、広告のようにあらかじめ用意されている静的コンテンツが差し替えて表示されるとしてもよい。
Finally, as a modified example, a mode in which a partial display management function is added to the
FIG. 9 is a data structure diagram of the valid
Here, it is assumed that the
同図によると、領域A1の部分データ表示条件はオンになっているため、領域A1は表示対象となっている。本変形例では領域A1の表示条件を更に細かく設定することもできる。図9の下側に示すデータ構造図は、領域A1に含まれるコンテンツIDや対応するデータベースIDを示している。ここで、コンテンツ表示条件爛198は、各コンテンツデータの表示可否を設定するためのコンテンツ表示条件を示している。同図においては、コンテンツID「010」および「021」は、コンテンツ表示条件がオンされているが、コンテンツID「004」についてはオフされている。そのため、領域A1のうち、コンテンツID「004」のコンテンツデータは表示対象外となる。このように、サーバ装置100のユーザは、各領域の各コンテンツごとに、表示可否を設定することもできる。サーバ装置100は各表示条件をユーザが設定するためのユーザインタフェース処理部を備えることになる。ユーザは、このようなユーザインタフェース処理部を介して、有効条件保持部174の表示条件を設定できる。ウェブページ生成部126は、部分データ表示条件やコンテンツ表示条件の設定状態に鑑みて、最終的にクライアント端末10に送信するウェブページの内容を決定することになる。
According to the figure, since the partial data display condition of the area A1 is on, the area A1 is a display target. In this modification, the display conditions of the area A1 can be set more finely. The data structure diagram shown in the lower part of FIG. 9 shows the content ID included in the area A1 and the corresponding database ID. Here, the
10 クライアント端末、 20 インターネット、 30 データベース、 40 ウェブページ生成プログラム、 60 フレームデータ、 100 サーバ装置、 110 クライアント通信部、 120 ウェブデータ処理部、 122 フレーム選択部、 124 モジュール制御部、 126 ウェブページ生成部、 130 領域処理部、 140 領域処理モジュール、 150 データベース通信部、 152 コンテンツ取得部、 154 更新通知取得部、 156 有効条件設定命令取得部、 160 部分データ処理部、 162 有効条件設定部、 164 部分データ生成部、 166 更新制御部、 170 データ格納部、 172 部分データ保持部、 174 有効条件保持部。 10 client terminal, 20 internet, 30 database, 40 web page generation program, 60 frame data, 100 server device, 110 client communication unit, 120 web data processing unit, 122 frame selection unit, 124 module control unit, 126 web page generation unit , 130 region processing unit, 140 region processing module, 150 database communication unit, 152 content acquisition unit, 154 update notification acquisition unit, 156 valid condition setting command acquisition unit, 160 partial data processing unit, 162 valid condition setting unit, 164 partial data A generation unit, 166 update control unit, 170 data storage unit, 172 partial data holding unit, 174 effective condition holding unit.
Claims (5)
ウェブページ上にレイアウトされる複数の領域のそれぞれに対応して設定され、対応する領域についての部分的なウェブページデータである部分データを生成する領域処理モジュールと、
各領域処理モジュールによって生成された部分データから、全体としてのウェブページデータを生成するウェブページデータ生成部と、
全体としてのウェブページデータをクライアント端末に送信するウェブページデータ送信部と、を備え、
前記領域処理モジュールは、
対応する領域において表示対象となるコンテンツデータを前記データベースから取得するコンテンツ取得部と、
取得されたコンテンツデータから部分データを生成する部分データ生成部と、
部分データを保持する部分データ保持部と、
部分データがクライアント端末への送信対象として有効なデータであるための有効条件を保持する有効条件保持部と、
ウェブページデータの送信に際して有効条件が成立しているときには保持されている部分データを送信対象とし、有効条件が成立していないときには前記コンテンツ取得部にコンテンツデータを再取得させた上で、前記部分データ生成部に部分データを再生成させる更新制御部と、
を含むことを特徴とするサーバ装置。 An apparatus for generating a web page from content data updated as appropriate in a database,
An area processing module that is set corresponding to each of a plurality of areas laid out on a web page and generates partial data that is partial web page data for the corresponding area;
A web page data generation unit that generates web page data as a whole from the partial data generated by each area processing module;
A web page data transmitting unit that transmits the web page data as a whole to the client terminal,
The region processing module includes:
A content acquisition unit that acquires content data to be displayed in a corresponding area from the database;
A partial data generation unit that generates partial data from the acquired content data;
A partial data holding unit for holding partial data;
An effective condition holding unit for holding an effective condition for the partial data to be valid data to be transmitted to the client terminal;
When the valid condition is satisfied when transmitting the web page data, the held partial data is set as a transmission target, and when the valid condition is not satisfied, the content acquisition unit is made to re-acquire the content data, An update controller that causes the data generator to regenerate partial data;
A server device comprising:
前記領域処理モジュールは、フレームデータによってレイアウトされる領域ごとに対応づけられることを特徴とする請求項1に記載のサーバ装置。 A frame data holding unit for holding frame data for laying out a plurality of areas on the web page;
The server apparatus according to claim 1, wherein the area processing module is associated with each area laid out by frame data.
外部装置からの指示により、有効条件を設定変更させる有効条件設定部を更に含むことを特徴とする請求項1または2に記載のサーバ装置。 The region processing module includes:
The server device according to claim 1, further comprising an effective condition setting unit configured to change the effective condition according to an instruction from an external device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006063698A JP4852326B2 (en) | 2006-03-09 | 2006-03-09 | Server device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006063698A JP4852326B2 (en) | 2006-03-09 | 2006-03-09 | Server device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007241692A true JP2007241692A (en) | 2007-09-20 |
| JP4852326B2 JP4852326B2 (en) | 2012-01-11 |
Family
ID=38587170
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006063698A Expired - Fee Related JP4852326B2 (en) | 2006-03-09 | 2006-03-09 | Server device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4852326B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013503568A (en) * | 2009-08-25 | 2013-01-31 | アマゾン テクノロジーズ インコーポレーテッド | System and method for customer contact |
| US9769315B2 (en) | 2007-11-13 | 2017-09-19 | Amazon Technologies, Inc. | System and method for automated call distribution |
| US10110744B2 (en) | 2010-12-28 | 2018-10-23 | Amazon Technologies, Inc. | Followup of customer service agents |
| US10445744B2 (en) | 2009-08-25 | 2019-10-15 | Amazon Technologies, Inc. | Systems and methods for customer contact |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1040148A (en) * | 1996-07-24 | 1998-02-13 | Hitachi Inf Syst Ltd | Homepage management system and its realization information recording medium |
| JPH10198596A (en) * | 1997-01-14 | 1998-07-31 | Oki Electric Ind Co Ltd | Information transmitting device/method |
| JP2001273228A (en) * | 2001-05-02 | 2001-10-05 | E Japan Kk | Document output device and method |
| JP2002032261A (en) * | 2000-07-14 | 2002-01-31 | Nec Corp | Intellectual cache of web content to be dynamically created and statistic, system and method for refresh |
| JP2002073544A (en) * | 2000-09-04 | 2002-03-12 | Yuasa Kensetsu Kikai Hanbai Kk | Server device |
| JP2003256326A (en) * | 2002-02-28 | 2003-09-12 | Seiko Epson Corp | Information bulletin system, information bulletin method, and information bulletin program |
-
2006
- 2006-03-09 JP JP2006063698A patent/JP4852326B2/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1040148A (en) * | 1996-07-24 | 1998-02-13 | Hitachi Inf Syst Ltd | Homepage management system and its realization information recording medium |
| JPH10198596A (en) * | 1997-01-14 | 1998-07-31 | Oki Electric Ind Co Ltd | Information transmitting device/method |
| JP2002032261A (en) * | 2000-07-14 | 2002-01-31 | Nec Corp | Intellectual cache of web content to be dynamically created and statistic, system and method for refresh |
| JP2002073544A (en) * | 2000-09-04 | 2002-03-12 | Yuasa Kensetsu Kikai Hanbai Kk | Server device |
| JP2001273228A (en) * | 2001-05-02 | 2001-10-05 | E Japan Kk | Document output device and method |
| JP2003256326A (en) * | 2002-02-28 | 2003-09-12 | Seiko Epson Corp | Information bulletin system, information bulletin method, and information bulletin program |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9769315B2 (en) | 2007-11-13 | 2017-09-19 | Amazon Technologies, Inc. | System and method for automated call distribution |
| US10348903B2 (en) | 2007-11-13 | 2019-07-09 | Amazon Technologies, Inc. | System and method for automated call distribution |
| JP2013503568A (en) * | 2009-08-25 | 2013-01-31 | アマゾン テクノロジーズ インコーポレーテッド | System and method for customer contact |
| JP2016201854A (en) * | 2009-08-25 | 2016-12-01 | アマゾン テクノロジーズ インコーポレイテッド | System and method for adjusting contact between user and service agent |
| US10445744B2 (en) | 2009-08-25 | 2019-10-15 | Amazon Technologies, Inc. | Systems and methods for customer contact |
| US10110744B2 (en) | 2010-12-28 | 2018-10-23 | Amazon Technologies, Inc. | Followup of customer service agents |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4852326B2 (en) | 2012-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4698756B2 (en) | Offline execution of web-based applications | |
| KR101013046B1 (en) | How to prefetch and cache client side portlets, system and computer program products | |
| CN100511220C (en) | method and system for maintaining data in distributed cache | |
| RU2589306C2 (en) | Remote viewing session control | |
| US6877025B2 (en) | Integrated JSP and command cache for web applications with dynamic content | |
| US10242100B2 (en) | Managing cached data in a network environment | |
| CN106990975B (en) | An application hot deployment method, device and system | |
| US20020116582A1 (en) | Batching of invalidations and new values in a web cache with dynamic content | |
| US20030037026A1 (en) | Method and apparatus for selective and quantitative rights management | |
| JP2015509229A5 (en) | ||
| CN112131504B (en) | Webpage editing and displaying method, device, equipment and storage medium | |
| JP2015509229A (en) | Application driven CDN pre-caching | |
| CN109634753B (en) | Data processing method, device, terminal and storage medium for switching browser kernels | |
| CN103152367A (en) | Cache dynamic maintenance updating method and system | |
| JP2014528607A (en) | Efficient cache management in a cluster | |
| US7099873B2 (en) | Content transcoding in a content distribution network | |
| JP5197351B2 (en) | Information processing apparatus, information processing method, and program | |
| CN101799821A (en) | Method and system for realizing webpage application by widget | |
| US20020112125A1 (en) | Command caching to improve network server performance | |
| CN109716731A (en) | For providing the system and method for functions reliably and efficiently data transmission | |
| JP4852326B2 (en) | Server device | |
| CN109428872B (en) | Data transmission method, equipment, server, starting method and system | |
| CN112765503A (en) | Static processing method and device for page loading data | |
| US20070055725A1 (en) | Method, system and computer program for providing web pages based on client state | |
| CN107451182B (en) | File caching method based on Appcache |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080908 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110204 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110208 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110411 |
|
| 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: 20111018 |
|
| 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: 20111024 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141028 Year of fee payment: 3 |
|
| 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 |
|
| LAPS | Cancellation because of no payment of annual fees |