JP3979021B2 - Web application server, Web application server system, Web page data processing method, and program - Google Patents

Web application server, Web application server system, Web page data processing method, and program Download PDF

Info

Publication number
JP3979021B2
JP3979021B2 JP2001084840A JP2001084840A JP3979021B2 JP 3979021 B2 JP3979021 B2 JP 3979021B2 JP 2001084840 A JP2001084840 A JP 2001084840A JP 2001084840 A JP2001084840 A JP 2001084840A JP 3979021 B2 JP3979021 B2 JP 3979021B2
Authority
JP
Japan
Prior art keywords
web page
browser
data
database
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001084840A
Other languages
Japanese (ja)
Other versions
JP2002288033A (en
Inventor
泰子 山出
Original Assignee
株式会社日立情報システムズ
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立情報システムズ filed Critical 株式会社日立情報システムズ
Priority to JP2001084840A priority Critical patent/JP3979021B2/en
Publication of JP2002288033A publication Critical patent/JP2002288033A/en
Application granted granted Critical
Publication of JP3979021B2 publication Critical patent/JP3979021B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、インターネットやイントラネット等のネットワーク経由での、クライアントからのブラウザによる要求に対応して、WWW(World Wide Web)サーバにより、データベースに対するデータの新規登録、データの更新、削除等の操作処理を行うと共に、当該操作処理結果を反映したWebページを生成してブラウザに返すWebアプリケーションサーバ技術に係わり、特に、データベースのデータ操作結果を反映したWeb(ウェブ)ページのブラウザへの返送を効率良く行うのに好適なWebアプリケーションサーバとWebアプリケーションサーバシステムおよびWebページデータ処理方法ならびにプログラムに関するものである。
【0002】
【従来の技術】
近年のインターネットやイントラネットで実現されている業務アプリケーションとしては、WWWサーバ側で一括管理されているデータベースの内容を、WWWクライアントのブラウザから、参照または更新することを目的としたものが多い。
【0003】
このとき、例えば、データベース内の或るデータを更新する場合、ブラウザからWWWサーバに対して要求されるHTML(HyperText Markup Language)ファイルには、ページレイアウトの中に、対象となっているデータを埋め込んで表示することが望ましい。
【0004】
しかし、本来、HTMLファイルはWWWサーバ上に格納されている静的なファイルであり、場合に応じて動的なデータを埋め込んでWWWクライアントに送信することは難しい。
【0005】
このような背景において、例えば、WWWサーバを介して動作するジャバサーバ・ページズ(JSP;Java Server Pages)やマイクロソフト社のアクティブ・サーバ・ページズ(ASP;Active Server Pages)に代表されるHTML生成エンジンを用いたWebアプリケーションサーバ技術では、WWWクライアントからのHTMLページ要求時に、その都度、データベース内のデータを参照しながら動的にHTMLページデータを生成しWWWクライアントに送信することを実現している。
【0006】
この技術によれば、WWWクライアントからのページ要求に対応して、WWWサーバは、渡されたパラメータに従ってデータベースを検索し、さまざまなページレイアウトのHTMLページをデータを埋め込んだ形で動的に作成し、WWWクライアントに送信することが可能になる。
【0007】
しかし、この技術では、WWWクライアントからのHTMLページ要求の際は、常にWWWサーバを介したスクリプトによりサーバ内のデータベースを検索して、HTMLページおよび埋め込みデータをWWWクライアントに送信する処理を行うので、ほとんど変更のないHTMLページの場合にもサーバ処理時間を要することになり、WWWクライアントへの応答時間の増大を招くことになる。
【0008】
また、HTMLページ生成を毎回HTML生成エンジンによって行うシステムでは、WWWクライアントがWWWサーバと通信を維持し続けなければ入力したデータを処理できないので、複数HTMLページ分のデータを一括して入力してデータを処理することによる通信料金の削減等は望めない。
【0009】
【発明が解決しようとする課題】
解決しようとする問題点は、従来の技術では、WWWクライアントからのページ要求に対して、WWWサーバ側において、渡されたパラメータに従ってデータベースを検索し、さまざまなページレイアウトのHTMLページをデータを埋め込んだ形で動的に作成しWWWクライアントに送信することが可能であるが、ほとんど変更のないHTMLページの場合にも、データベースの検索やHTMLページの生成といったサーバ側での処理を要する点と、WWWクライアントがWWWサーバと通信を維持し続けなければ入力したデータを処理できない点である。
【0010】
本発明の目的は、これら従来技術の課題を解決し、ネットワーク経由でクライアントから要求されたデータの登録・更新・削除等の操作結果が反映されたHTMLページ等のWebページを、クライアントからの表示要求に対応して、Webサーバ側から効率的に送信することを可能とするWebアプリケーションサーバとWebアプリケーションサーバシステムおよびWebページデータ処理方法ならびにプログラムを提供することにある。
【0011】
【課題を解決するための手段】
上記目的を達成するため、本発明のWebアプリケーションサーバとWebアプリケーションサーバシステムおよびWebページデータ処理方法は、アプリケーションデータが格納されたデータベースを備え、ネットワークを介して接続された複数のクライアントのブラウザからのアクセスにより、データベースにデータを登録したりあるいはデータベースに格納されたデータを更新するWebアプリケーションサーバにおいて、データベースに対してクライアント(ブラウザ)からデータの登録要求があった場合、データをデータベースに登録すると共に、当該クライアント(ブラウザ)からその後要求される可能性のある画面、例えば、データ更新用画面やデータ表示用画面あるいはクライアント一括データ処理用画面等を表示するためのWebページファイルを、データ登録結果を反映して生成し、この生成したWebページファイルを格納しておく。そして、クライアント(ブラウザ)から表示要求されたWebページファイルが、格納済のものであれば、該当するWebページファイルを読み出してクライアント(ブラウザ)に送信する。尚、格納するWebページファイルには、要求元のクライアント(ブラウザ)もしくはユーザを識別する情報を対応付けておき、要求元のクライアント(ブラウザ)もしくはユーザの識別情報に基づき、格納済のWebページファイルを抽出する。
【0012】
【発明の実施の形態】
以下、本発明の実施の形態を、図面により詳細に説明する。
【0013】
図1は、本発明に係るWebアプリケーションサーバとWebアプリケーションサーバシステムの構成例を示すブロック図であり、図2は、図1におけるサーバコンピュータとクライアントコンピュータのハードウェア構成例を示すブロック図、図3は、図1におけるクライアントコンピュータとサーバコンピュータとからなるネットワーク構成例を示すブロック図である。
【0014】
図2において、2aはCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等からなる表示装置、22はキーボードやマウス等からなる入力装置、23はHDD(Hard Disk Drive)等からなる外部記憶装置、24はCPU(Central Processing Unit)24aや主メモリ24bおよび入出力インタフェース24c等を具備してコンピュータ処理を行なう情報処理装置、25は本発明に係わるプログラムやデータを記録したCD−ROM(Compact Disc-Read Only Memory)もしくはDVD(Digital Video Disc/Digital Versatile Disc)等からなる光ディスク、26は光ディスク25に記録されたプログラムおよびデータを読み出すための駆動装置、27はLAN(Local Area Network)カードやモデム等からなる通信装置である。
【0015】
光ディスク25に格納されたプログラムおよびデータを情報処理装置24により駆動装置26を介して外部記憶装置23内にインストールした後、外部記憶装置23から主メモリ24bに読み込みCPU24aで処理することにより、情報処理装置24内に図1に示すサーバコンピュータ1やクライアントコンピュータ2a〜2dの各機能が構成される。
【0016】
図3において、1はWebページデータ処理を行うためのプログラムを搭載し、データを蓄積するサーバコンピュータ、2a〜2dはブラウザを搭載し、ユーザがサーバコンピュータ1にアクセスしてHTMLページの要求操作等に用いるクライアントコンピュータ、2はクライアントコンピュータ2a〜2dにブラウザにより表示されるユーザ操作画面、3はサーバコンピュータ1とクライアントコンピュータ2a〜2dとを相互に接続するLANやWAN(Wide Area Network)等のネットワーク、10,11は本発明に係わるWebページデータ処理手順を記述したプログラムやデータをファイルとして格納した情報記録媒体であるCD−ROMとフレキシブル・ディスクである。
【0017】
これらのCD−ROM10あるいはフレキシブル・ディスク11に格納したファイルのうち、プログラムファイルの部分は、必要に応じてサーバコンピュータ1やクライアントコンピュータ2a〜2dにインストールされて実行される。
【0018】
図1に示すように、サーバコンピュータ1は、WWWサーバ4と、HTML処理部5、および、蓄積部6を有し、WWWサーバ4にはHTMLファイル格納部41が、HTML処理部5にはHTMLファイル処理部51と処理制御部52が、そして、蓄積部6にはページレイアウト定義情報データベース61とアプリケーションデータ情報データベース62が設けられている。
【0019】
また、クライアントコンピュータ2a〜2dは、WWWブラウザ7とクライアント一括処理用HTMLファイル8a〜8cと入力データ格納テキストファイル9を有している。クライアント一括処理用HTMLファイル8a〜8cは、サーバコンピュータ1がHTML処理部5によって生成したクライアント一括処理用HTMLファイル群であり、また、入力データ格納テキストファイル9は、クライアント一括処理時に生成されるテキストファイル群である。
【0020】
サーバコンピュータ1において、HTML処理部5は、次の図4に示す構成のHTMLファイル処理部51により、蓄積部6のページレイアウト定義情報データベース61やアプリケーションデータ情報データベース62を参照して、HTMLファイルを生成する。そして、WWWサーバ4は、HTML処理部5によって生成されたHTMLファイルをHTMLファイル格納部41に格納して管理する。
【0021】
図4は、図1におけるHTMLファイル処理部の詳細構成例を示すブロック図である。
【0022】
本図4では、HTMLファイル処理部51を構成する機能階層の一具体例を示しており、新規登録用HTMLファイル生成処理部511は、データの新規登録用画面(ページ)を表示するためのHTMLファイルを生成し、修正・削除登録用HTMLファイル生成処理部512は、データの修正登録または削除登録用画面(ページ)を表示するためのHTMLファイルを生成する
【0023】
また、表示用HTMLファイル生成処理部513は、データ表示用画面(ページ)を表示するためのHTMLファイルを生成し、そして、クライアント一括処理用HTMLページ作成処理部514は、図1におけるクライアントコンピュータ2a〜2dに格納されてWWWサーバ4へのクライアント一括処理操作用画面(ページ)を表示するためのHTMLファイルを生成する。
【0024】
以下、図5〜図8を用いて、これらの新規登録用HTMLファイル生成処理部511、修正・削除登録用HTMLファイル生成処理部512、表示用HTMLファイル生成処理部513、および、クライアント一括処理用HTMLページ作成処理部514のそれぞれの処理動作を説明する。
【0025】
図5は、図4における新規登録用HTMLファイル生成処理部の処理動作例を示すフローチャートであり、図6は、図4における修正・削除登録用HTMLファイル生成処理部の処理動作例を示すフローチャート、図7は、図4における表示用HTMLファイル生成処理部の処理動作例を示すフローチャート、図8は、図4におけるクライアント一括処理用HTMLページ作成処理部の処理動作例を示すフローチャートである。
【0026】
図5においては、図4における新規登録用HTMLファイル生成処理部511による新規登録用HTMLファイルの生成手順例を示しており、新規登録用HTML生成処理部511は、図1のページレイアウト定義情報データベース61から対象となるページレイアウト情報を読み込み(ステップ51101)、これをもとに新規登録用HTMLファイルを作成し(ステップ51102)、HTMLファイルとしてHTMLファイル格納部41に格納する(ステップ51103)。
【0027】
このとき、新規登録用HTML生成処理部511は、このHTMLファイルに「登録」ボタンおよび「キャンセル」ボタン等を表示し、これらのボタンが押下された時の処理について、共通の記述を追加する。そして、新規登録用HTML生成処理部511は、図1のページレイアウト定義情報データベース61にあるページレイアウト情報について、HTMLページ単位に当作業を繰り返し行う。
【0028】
図6においては、図4の修正・削除登録用HTMLファイル生成処理部512が修正・削除登録用HTMLファイルを生成する手順の一具体例を示しており、修正・削除登録用HTML生成処理部512は、図1のページレイアウト定義情報データベース61から、対象となるページレイアウト情報を読み込み(ステップ51201)、これをもとに修正・削除登録用HTMLファイルを作成し(ステップ51202)、HTMLファイルとしてHTMLファイル格納部41に格納する(ステップ51203)。
【0029】
このとき、修正・削除登録用HTML生成処理部512は、このHTMLファイルに「修正」ボタン、「削除」ボタンおよび「キャンセル」ボタン等を表示し、これらのボタンが押下された時の処理と、サーバ用共通データアクセスオブジェクトの埋め込みについて、共通の記述を追加する。
【0030】
そして、修正・削除登録用HTML生成処理部512は、ページレイアウト定義情報データベース61にあるページレイアウト情報について、HTMLページ単位に当作業を繰り返し行う。
【0031】
図7においては、図4の表示用HTMLファイル生成処理部513が表示用HTMLファイルを生成する手順の一具体例を示しており、表示用HTML生成処理部513は、図1のページレイアウト定義情報データベース61から対象となるページレイアウト情報を読み込み(ステップ51301)、これをもとに表示用HTMLファイルを作成し(ステップ51302)、HTMLファイルとしてHTMLファイル格納部41に格納する(ステップ51303)。
【0032】
このとき、表示用HTML生成処理部513は、このHTMLファイルに「キャンセル」ボタン等を表示し、このボタンが押下された時の処理と、サーバ用共通データアクセスオブジェクトの埋め込みについて、共通の記述を追加する。
【0033】
そして、表示用HTML生成処理部513は、ページレイアウト定義情報データベース61にあるページレイアウト情報について、HTMLページ単位に当作業を繰り返し行う。
【0034】
図8においては、図4のクライアント一括処理用HTMLページ作成処理部514がクライアント一括処理用HTMLファイルを生成する手順の一具体例を示しており、クライアント一括処理用HTML生成処理部514は、図1のページレイアウト定義情報データベース61から対象となるページレイアウト情報を読み込み(ステップ51401)、これをもとにクライアント一括処理用HTMLファイルを作成し(ステップ51402)、HTMLファイルとしてHTMLファイル格納部41に格納する(ステップ51403)。
【0035】
このとき、クライアント一括処理用HTML生成処理部514は、一連するクライアント一括処理HTMLファイル群の最後に表示されるHTMLファイル以外に「次へ」ボタン等を表示し、最後に表示されるHTMLファイルに「登録」ボタンおよび「キャンセル」ボタン等を表示し、これらのボタンが押下された時の処理と、クライアント用共通データアクセスオブジェクトの埋め込みについて、共通の記述を追加する。
【0036】
そして、クライアント一括処理用HTML生成処理部514は、ページレイアウト定義情報データベース61にあるページレイアウト情報について、一連するクライアント一括処理HTMLファイル群に対して当作業を繰り返し行う。
【0037】
図1におけるクライアントコンピュータ2a〜2dの利用者(ユーザ)は、サーバコンピュータ1のHTML処理部5に対して、HTML生成を指示することによって、HTML生成エンジンを起動し、上述の各HTMLファイル生成処理を実行する。
【0038】
以下、図9に基づき、このようなクライアントコンピュータ2a〜2dからの処理要求に対応してサーバコンピュータ1が行う処理を説明する。
【0039】
図9は、図1におけるサーバコンピュータによる処理手順例を示すフローチャートである。
【0040】
本図9では、図1のクライアントコンピュータ2a〜2dからの処理要求に対応しての、サーバコンピュータ1による一連の処理手順の一具体例を示しており、サーバコンピュータ1は、WWWサーバ4を介してクライアントコンピュータ2a〜2dのWWWブラウザ7からの要求を受理すると(ステップ4101)、HTML処理部5の処理制御部52により、要求の内容が、HTMLページ要求かデータ登録要求かを識別する(ステップ4102)。
【0041】
WWWブラウザ7からの要求がHTMLページ要求である場合、要求ページがHTMLファイル格納部41にHTMLファイルとして存在するかどうかを判断する(ステップ4103)。
【0042】
要求されたHTMLページがHTMLファイル格納部41にHTMLファイルとして存在する場合は、対象HTMLファイルをHTMLファイル格納部41から読み出しWWWサーバ4を介してWWWブラウザ7に送信する(ステップ4104)。
【0043】
このとき、新規登録用のHTMLファイルは、静的なファイルとして、常にHTMLファイル格納部41に存在するが、修正・削除登録用HTMLファイルおよび表示用HTMLファイルは、後述する登録処理の実行の有無によって存在するとは限らない。
【0044】
ステップ4103の対象ページ有無の判断について説明する。例えばユーザAが初めてアプリケーションデータ情報データベース62にデータを登録した場合、ユーザA用の修正・削除画面HTMLファイル、表示画面HTMLファイル、クライアント一括処理用HTMLファイルが生成されそれぞれファイル名が付される。
【0045】
このファイル名にはユーザAの画面情報であることを識別する識別子(コード)も付与される。そして、次にユーザAから修正・削除画面の要求があった場合には、WWWサーバ1では、処理制御部52により、WWWブラウザ7から送信されてくる修正・削除画面を要求するファイル名とユーザAを識別するコードとから、HTMLファイル格納部41を検索して対象ページの有無を判断する。
【0046】
要求されたHTMLファイルがHTMLファイル格納部41に存在しなかった場合は、処理制御部52は、修正・削除登録用HTMLファイル生成処理部512または表示用HTMLファイル生成処理部513によって予め生成されている対象となるHTMLファイルを使用して、アプリケーションデータ情報データベース62から読み込んだデータを組み込んだHTMLファイルを生成し(ステップ4105)、HTMLファイル格納部41にHTMLファイルとして格納した後(ステップ4106)、クライアントコンピュータ2a〜2dのWWWブラウザ7に送信する(ステップ4107)。
【0047】
一方、ステップ4102において、クライアントコンピュータ2a〜2dのWWWブラウザ7からの要求が登録要求である場合、対象となるアプリケーションデータによって作成されている修正・削除用HTMLファイルおよび表示用HTMLファイルを、HTMLファイル格納部41から削除し(ステップ4108)、アプリケーションデータ情報データベース62を更新し(ステップ4109)、処理結果を示すHTMLページをクライアントコンピュータ2a〜2dのWWWブラウザ7へ送信する(ステップ4110)。
【0048】
このような登録要求に対応しての図1のサーバコンピュータ1におけるHTMLファイル処理部51の処理動作を、図10に基づき説明する。
【0049】
図10は、図1におけるサーバコンピュータのHTMLファイル処理部による処理動作例を示す説明図である。
【0050】
例えば、ユーザAがデータXを新規に登録する場合、予め作成されている新規登録用画面100をページレイアウト定義情報データベース61から読み出してWWWブラウザ画面に表示し、この画面上で入力されたXをアプリケーション情報データベース62に登録すると共に、データXが入っている修正・削除用画面と表示用画面のHTMLファイルを生成する。
【0051】
このとき、ユーザAが以前にデータYを登録していて、上述のファイルが既に作成されている場合には、これらのファイルを削除した上で、データXとデータYとが入った修正・削除用画面101と表示用画面102のHTMLファイルを生成する。この処理が、図9におけるステップ4108とステップ4109の処理である。
【0052】
図10におけるデータアクセスオブジェクト104は、クライアントコンピュータ2a〜2dのユーザ毎に、ユーザが登録したデータをアプリケーション情報データベース62から検索して、修正・削除用画面101や表示用画面102を表示するHTMLファイルを生成するプログラムであり、このデータアクセスオブジェクト104に対してユーザがクリック操作を行うことによりプログラムが起動し、データ表示を行う。尚、画面には表示しておかず内部処理でデータの埋め込み処理を行い、各画面を表示したときには既に該ユーザが入力したデータが表示されているようにしても良い。
【0053】
次に、本図10におけるクライアント一括処理用画面103を用いた処理を図11を用いて説明する。
【0054】
図11は、図1におけるクライアントコンピュータによる処理動作例を示すフローチャートである。
【0055】
本図11では、図1のクライアントコンピュータ2a〜2dのWWWブラウザ7において実行するクライアント一括処理手順の一具体例として、連続した3ページ分のHTMLページに、或る入力データの登録を行う場合について示している。
【0056】
尚、クライアントコンピュータ2a〜2dでクライアント一括処理を行うためには、クライアント一括処理用HTML生成処理部514が生成したクライアント一括処理用HTMLファイル8a〜8cを、予めクライアントコンピュータ2a〜2dにインストールしておく必要がある。
【0057】
まず、クライアントコンピュータ2a〜2d内のWWWブラウザ7で、1ページ目のクライアント一括登録用HTMLファイル(8a〜8c)を読み込み、クライアント一括登録用ページを表示する(ステップ701)。利用者は当登録用ページにデータを入力し(ステップ702)、「次へ」ボタンを選択する(ステップ703)。
【0058】
このとき、クライアント一括処理用HTML生成処理部514が、クライアントコンピュータ2a〜2dに格納されるクライアント一括処理用HTMLファイル(8a〜8c)を生成する時点で埋め込まれていたクライアント用データアクセスオブジェクトは、入力されたデータを、データ入力日時等の属性と供に、入力データ格納テキストファイル9に格納する(ステップ704)。
【0059】
次に、2ページ目のHTMLファイルを表示し、利用者の操作に基づき1ページ目と同様の処理を行う(ステップ705〜ステップ708)。そして、3ページ目のHTMLファイルに対しても、その表示と、利用者からのデータの入力を行う(ステップ709,710)。
【0060】
当第3のページは、一連の登録ページの中で最後に表示されるページであり、「登録」ボタンが用意されており、利用者が、この「登録」ボタンを押下すると(ステップ711)、クライアント用データアクセスオブジェクト(プログラム)が起動し、1ページ目、2ページ目と同様に、入力データ格納テキストファイル9に、入力されたデータを格納した後、サーバコンピュータ1のWWWサーバ4と通信を開始し、データ登録処理を行う(ステップ712)。
【0061】
このデータ登録処理では、まず、図1におけるアプリケーションデータ情報データベース62内の該当データの更新日時を参照し、既にデータが存在し、かつ、今回データを登録しようとした日時よりも新しい日時で格納されている場合は、その旨を示すメッセージを、利用者に分るように表示し(ステップ713)、処理を中断する。
【0062】
また、データが存在しない、あるいは、存在しても今回データを登録しようした日時よりも古い日時で格納されている場合は、データ登録処理を行い、処理結果をメッセージとして利用者に表示する(ステップ713)。この場合は、図9のステップ4108での処理により、対象データに対して既に存在する修正・削除登録用HTMLファイルおよび表示用HTMLファイルは削除する。
【0063】
以上、図1〜図11を用いて説明したように、本例のWebアプリケーションサーバとWebアプリケーションサーバシステムおよびWebページデータ処理方法では、新規登録用HTMLファイルの事前一括生成処理により、クライアントからの新規登録用HTMLページ要求処理の度にWWWサーバでHTMLファイルを動的生成するための処理時間を削除できるので、WWWクライアントからの処理応答時間の短縮を図ることが可能となる。
【0064】
また、修正・削除登録用HTMLファイルおよび表示HTMLファイルについても、データベースの対象レコードが更新されない限り、既に作成済み・格納済のHTMLファイルを参照可能であるので、修正・削除登録用HTMLページおよび表示HTMLページ要求処理の度にWWWサーバでHTMLファイルを動的生成するための処理時間を削除できる。このことによっても、WWWクライアントからの処理応答時間の短縮を図ることが可能となる。
【0065】
さらに、ページレイアウト定義情報データベース61をもとに、クライアント一括処理用HTMLファイル8a〜8cを作成してクライアントコンピュータ2a〜2dにインストールしておくことにより、クライアントコンピュータ2a〜2d(WWWブラウザ7)からサーバコンピュータ1に、複数HTMLページ分のデータを一括して送信することが可能となる。このことにより、クライアント・サーバ間の通信接続時間を短縮することが可能となる。
【0066】
尚、本発明は、図1〜図11を用いて説明した例に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、本例では、HTMLページを例に説明しているが、XML(Extensible Markup Language)等、他のWebページにも適用することができる。
【0067】
また、本例では、サーバコンピュータ1やクライアントコンピュータ2a〜2dのハードウェア構成として図2のコンピュータ構成例を示したが、キーボードや光ディスクの駆動装置の無いコンピュータ構成としても良い。また、本例では、光ディスク(CD−ROM)やFD(フレキシブル・ディスク)を記録媒体として用いているが、MO(Magneto Optical disk、光磁気ディスク)を記録媒体として用いることでも良い。また、プログラムのインストールに関しても、通信装置を介してネットワーク経由でプログラムをダウンロードしてインストールすることでも良い。
【0068】
【発明の効果】
本発明によれば、WWWクライアント(ブラウザ)からのデータの新規登録用や修正・削除用のページ表示要求処理の度にWebサーバ側でWebページ用ファイルを動的に生成するための処理時間を削除できるので、WWWクライアント(ブラウザ)からのWebページ表示要求に対する応答時間の短縮を図ることが可能となる。また、データの新規登録や修正・削除などの複数の要求を、クライアント側からサーバ側に一括して送信することができ、クライアント・サーバ間の通信接続時間を短縮することが可能である。
【図面の簡単な説明】
【図1】本発明に係るWebアプリケーションサーバとWebアプリケーションサーバシステムの構成例を示すブロック図である。
【図2】図1におけるサーバコンピュータとクライアントコンピュータのハードウェア構成例を示すブロック図である。
【図3】図1におけるクライアントコンピュータとサーバコンピュータとからなるネットワーク構成例を示すブロック図である。
【図4】図1におけるHTMLファイル処理部の詳細構成例を示すブロック図である。
【図5】図4における新規登録用HTMLファイル生成処理部の処理動作例を示すフローチャートである。
【図6】図4における修正・削除登録用HTMLファイル生成処理部の処理動作例を示すフローチャートである。
【図7】図4における表示用HTMLファイル生成処理部の処理動作例を示すフローチャートである。
【図8】図4におけるクライアント一括処理用HTMLページ作成処理部の処理動作例を示すフローチャートである。
【図9】図1におけるサーバコンピュータによる処理手順例を示すフローチャートである。
【図10】図1におけるサーバコンピュータのHTMLファイル処理部による処理動作例を示す説明図である。
【図11】図1におけるクライアントコンピュータによる処理動作例を示すフローチャートである。
【符号の説明】
1:サーバコンピュータ、2a〜2d:クライアントコンピュータ、3:ネットワーク、4:WWWサーバ、5:HTML処理部、6:蓄積部、7:WWWブラウザ、8a〜8c:クライアント一括処理用HTMLファイル群、9:入力データ格納テキストファイル、10:CD−ROM、11:フレキシブル・ディスク、21:表示装置、22:入力装置、23:外部記憶装置、24:情報処理装置、24a:CPU、24b:主メモリ、24c:入出力インタフェース、25:光ディスク、26:駆動装置、27:通信装置、25:CR−ROM、25a:フレキシブルディスク、41:HTMLファイル格納部、51:HTMLファイル処理部、52:処理制御部、61:ページレイアウト定義情報データベース(DB)、62:アプリケーションデータ情報データベース(DB)、100:新規登録用画面、101:修正・削除用画面、102:表示用画面、103:クライアント一括処理用画面、104:データアクセスオブジェクト、511:新規登録用HTMLファイル生成処理部、512:修正・削除登録用HTMLファイル生成処理部、513:表示用HTMLファイル生成処理部、514:クライアント一括処理用HTMLページ作成処理部。
[0001]
BACKGROUND OF THE INVENTION
In accordance with a request from a client via a browser via a network such as the Internet or an intranet, the present invention uses a WWW (World Wide Web) server to perform operation processing such as new registration of data in a database, data update, and deletion. In particular, the present invention relates to a Web application server technology that generates a Web page reflecting the operation processing result and returns it to the browser, and in particular, efficiently returns the Web (Web) page reflecting the data operation result of the database to the browser. The present invention relates to a web application server, a web application server system, a web page data processing method, and a program suitable for execution.
[0002]
[Prior art]
Many business applications realized on the Internet and intranets in recent years are intended to refer to or update the contents of a database collectively managed on the WWW server side from a browser of a WWW client.
[0003]
At this time, for example, when updating certain data in the database, the target data is embedded in the page layout in an HTML (HyperText Markup Language) file requested from the browser to the WWW server. It is desirable to display with.
[0004]
However, an HTML file is originally a static file stored on a WWW server, and it is difficult to embed dynamic data according to circumstances and transmit it to a WWW client.
[0005]
In such a background, for example, an HTML generation engine represented by Java Server Pages (JSP) or Microsoft Active Server Pages (ASP) operating via a WWW server is used. The Web application server technology used realizes that HTML page data is dynamically generated and transmitted to the WWW client each time an HTML page is requested from the WWW client while referring to the data in the database.
[0006]
According to this technology, in response to a page request from a WWW client, a WWW server searches a database according to passed parameters, and dynamically creates HTML pages of various page layouts with data embedded. , Can be sent to the WWW client.
[0007]
However, in this technique, when an HTML page request is sent from a WWW client, a database in the server is always searched by a script via the WWW server, and processing for transmitting the HTML page and embedded data to the WWW client is performed. Even in the case of an HTML page with almost no change, server processing time is required, which leads to an increase in response time to the WWW client.
[0008]
In addition, in a system in which HTML page generation is performed by the HTML generation engine every time, the input data cannot be processed unless the WWW client keeps communicating with the WWW server. Therefore, data for a plurality of HTML pages is input in a lump. It is not possible to reduce the communication charge by processing.
[0009]
[Problems to be solved by the invention]
The problem to be solved is that, in the prior art, in response to a page request from a WWW client, the WWW server side searches the database according to the passed parameters, and embeds data in HTML pages of various page layouts. It can be dynamically created and sent to the WWW client, but even in the case of HTML pages with little change, processing on the server side such as database search and HTML page generation is required, and the WWW The input data cannot be processed unless the client keeps communicating with the WWW server.
[0010]
The object of the present invention is to solve these problems of the prior art and display from the client a Web page such as an HTML page that reflects the result of operation such as registration, update, or deletion of data requested from the client via the network. To provide a Web application server, a Web application server system, a Web page data processing method, and a program that enable efficient transmission from the Web server side in response to a request.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, a web application server, a web application server system, and a web page data processing method according to the present invention include a database in which application data is stored, and from a plurality of client browsers connected via a network. In a Web application server that registers data in the database by access or updates data stored in the database, when there is a data registration request from the client (browser) to the database, the data is registered in the database. To display a screen that may be subsequently requested from the client (browser), such as a data update screen, a data display screen, or a client batch data processing screen. The Web page file, generated by reflecting the data registration result, storing the generated Web page file. If the Web page file requested to be displayed from the client (browser) is already stored, the corresponding Web page file is read and transmitted to the client (browser). The Web page file to be stored is associated with information that identifies the requesting client (browser) or user, and the stored Web page file is based on the identification information of the requesting client (browser) or user. To extract.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0013]
FIG. 1 is a block diagram showing a configuration example of a Web application server and a Web application server system according to the present invention, and FIG. 2 is a block diagram showing a hardware configuration example of a server computer and a client computer in FIG. FIG. 2 is a block diagram illustrating an example of a network configuration including a client computer and a server computer in FIG. 1.
[0014]
In FIG. 2, 2a is a display device such as a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display), 22 is an input device such as a keyboard or mouse, and 23 is an external storage device such as an HDD (Hard Disk Drive). , 24 is an information processing apparatus that includes a CPU (Central Processing Unit) 24a, a main memory 24b, an input / output interface 24c, and the like, and performs computer processing. -An optical disc composed of a read only memory (DVD) or a DVD (Digital Video Disc / Digital Versatile Disc), 26 a drive device for reading a program and data recorded on the optical disc 25, 27 a LAN (Local Area Network) card or modem And the like.
[0015]
After the program and data stored in the optical disk 25 are installed in the external storage device 23 by the information processing device 24 via the drive device 26, they are read from the external storage device 23 into the main memory 24b and processed by the CPU 24a. The functions of the server computer 1 and the client computers 2a to 2d shown in FIG.
[0016]
In FIG. 3, 1 is loaded with a program for processing Web page data, a server computer for storing data, 2a-2d is loaded with a browser, and a user accesses the server computer 1 to request an HTML page. 2 is a user operation screen displayed by a browser on the client computers 2a to 2d, and 3 is a network such as a LAN or WAN (Wide Area Network) that connects the server computer 1 and the client computers 2a to 2d to each other. Reference numerals 10 and 11 denote a CD-ROM and a flexible disk, which are information recording media storing programs and data describing Web page data processing procedures according to the present invention as files.
[0017]
Of the files stored in the CD-ROM 10 or the flexible disk 11, the program file portion is installed and executed in the server computer 1 or the client computers 2a to 2d as necessary.
[0018]
As shown in FIG. 1, the server computer 1 includes a WWW server 4, an HTML processing unit 5, and a storage unit 6. The WWW server 4 has an HTML file storage unit 41, and the HTML processing unit 5 has an HTML. The file processing unit 51 and the processing control unit 52 are provided, and the storage unit 6 is provided with a page layout definition information database 61 and an application data information database 62.
[0019]
The client computers 2a to 2d have a WWW browser 7, client batch processing HTML files 8a to 8c, and an input data storage text file 9. The client batch processing HTML files 8a to 8c are client batch processing HTML files generated by the server computer 1 using the HTML processing unit 5, and the input data storage text file 9 is a text generated during the client batch processing. A group of files.
[0020]
In the server computer 1, the HTML processing unit 5 refers to the page layout definition information database 61 and the application data information database 62 of the storage unit 6 by the HTML file processing unit 51 having the configuration shown in FIG. Generate. The WWW server 4 stores and manages the HTML file generated by the HTML processing unit 5 in the HTML file storage unit 41.
[0021]
FIG. 4 is a block diagram showing a detailed configuration example of the HTML file processing unit in FIG.
[0022]
FIG. 4 shows a specific example of the functional hierarchy constituting the HTML file processing unit 51. The new registration HTML file generation processing unit 511 displays an HTML for displaying a new data registration screen (page). The file is generated, and the correction / deletion registration HTML file generation processing unit 512 generates an HTML file for displaying a data correction registration or deletion registration screen (page).
[0023]
Further, the display HTML file generation processing unit 513 generates an HTML file for displaying a data display screen (page), and the client batch processing HTML page creation processing unit 514 generates the client computer 2a in FIG. ˜2d to generate an HTML file for displaying a client batch processing operation screen (page) to the WWW server 4.
[0024]
Hereinafter, with reference to FIGS. 5 to 8, these new registration HTML file generation processing unit 511, correction / deletion registration HTML file generation processing unit 512, display HTML file generation processing unit 513, and client batch processing Each processing operation of the HTML page creation processing unit 514 will be described.
[0025]
5 is a flowchart showing an example of the processing operation of the new registration HTML file generation processing unit in FIG. 4, and FIG. 6 is a flowchart showing an example of the processing operation of the correction / deletion registration HTML file generation processing unit in FIG. 7 is a flowchart showing an example of the processing operation of the display HTML file generation processing unit in FIG. 4, and FIG. 8 is a flowchart showing an example of the processing operation of the client batch processing HTML page creation processing unit in FIG.
[0026]
FIG. 5 shows an example of a procedure for generating a new registration HTML file by the new registration HTML file generation processing unit 511 in FIG. 4, and the new registration HTML generation processing unit 511 includes the page layout definition information database of FIG. The target page layout information is read from 61 (step 51101), an HTML file for new registration is created based on the page layout information (step 51102), and is stored in the HTML file storage unit 41 as an HTML file (step 51103).
[0027]
At this time, the new registration HTML generation processing unit 511 displays a “registration” button, a “cancel” button, and the like in this HTML file, and adds a common description for the processing when these buttons are pressed. Then, the new registration HTML generation processing unit 511 repeatedly performs this operation for each HTML page for the page layout information in the page layout definition information database 61 of FIG.
[0028]
FIG. 6 shows a specific example of a procedure in which the correction / deletion registration HTML file generation processing unit 512 in FIG. 4 generates the correction / deletion registration HTML file. The correction / deletion registration HTML generation processing unit 512 is shown in FIG. Reads the target page layout information from the page layout definition information database 61 of FIG. 1 (step 51201), creates an HTML file for correction / deletion registration based on the page layout information (step 51202), and generates HTML as an HTML file. The file is stored in the file storage unit 41 (step 51203).
[0029]
At this time, the HTML generation processing unit 512 for correction / deletion registration displays a “correct” button, a “delete” button, a “cancel” button, and the like in the HTML file, and processing when these buttons are pressed, Add a common description for embedding the server common data access object.
[0030]
Then, the correction / deletion registration HTML generation processing unit 512 repeatedly performs this operation for each page of the page layout information in the page layout definition information database 61.
[0031]
FIG. 7 shows a specific example of a procedure in which the display HTML file generation processing unit 513 in FIG. 4 generates the display HTML file. The display HTML generation processing unit 513 displays the page layout definition information in FIG. The target page layout information is read from the database 61 (step 51301), an HTML file for display is created based on the page layout information (step 51302), and is stored in the HTML file storage unit 41 as an HTML file (step 51303).
[0032]
At this time, the display HTML generation processing unit 513 displays a “cancel” button or the like in the HTML file, and describes a common description of processing when the button is pressed and embedding of the server common data access object. to add.
[0033]
Then, the display HTML generation processing unit 513 repeatedly performs this operation for the page layout information in the page layout definition information database 61 in units of HTML pages.
[0034]
FIG. 8 shows a specific example of a procedure in which the client batch processing HTML page creation processing unit 514 of FIG. 4 generates an HTML file for client batch processing. The client batch processing HTML generation processing unit 514 The target page layout information is read from the first page layout definition information database 61 (step 51401), an HTML file for client batch processing is created based on this (step 51402), and the HTML file is stored in the HTML file storage unit 41 as an HTML file. Store (step 51403).
[0035]
At this time, the client batch processing HTML generation processing unit 514 displays a “next” button or the like in addition to the HTML file displayed at the end of the series of client batch processing HTML files, and displays the HTML file displayed at the end. A “Register” button, a “Cancel” button, and the like are displayed, and a common description is added regarding processing when these buttons are pressed and embedding of the common data access object for the client.
[0036]
Then, the client batch processing HTML generation processing unit 514 repeatedly performs this operation on a series of client batch processing HTML file groups with respect to the page layout information in the page layout definition information database 61.
[0037]
The users (users) of the client computers 2a to 2d in FIG. 1 start the HTML generation engine by instructing the HTML processing unit 5 of the server computer 1 to generate HTML, and each of the HTML file generation processes described above. Execute.
[0038]
Hereinafter, processing performed by the server computer 1 in response to processing requests from such client computers 2a to 2d will be described with reference to FIG.
[0039]
FIG. 9 is a flowchart showing an example of a processing procedure by the server computer in FIG.
[0040]
FIG. 9 shows a specific example of a series of processing procedures by the server computer 1 in response to processing requests from the client computers 2 a to 2 d in FIG. 1, and the server computer 1 passes through the WWW server 4. When the request from the WWW browser 7 of the client computers 2a to 2d is received (step 4101), the processing control unit 52 of the HTML processing unit 5 identifies whether the content of the request is an HTML page request or a data registration request (step 4101). 4102).
[0041]
If the request from the WWW browser 7 is an HTML page request, it is determined whether the requested page exists as an HTML file in the HTML file storage unit 41 (step 4103).
[0042]
If the requested HTML page exists in the HTML file storage unit 41 as an HTML file, the target HTML file is read from the HTML file storage unit 41 and transmitted to the WWW browser 7 via the WWW server 4 (step 4104).
[0043]
At this time, the HTML file for new registration always exists as a static file in the HTML file storage unit 41. However, the HTML file for correction / deletion registration and the HTML file for display are subjected to registration processing described later. Does not necessarily exist.
[0044]
The determination of the presence or absence of the target page in step 4103 will be described. For example, when user A registers data in the application data information database 62 for the first time, a correction / deletion screen HTML file, a display screen HTML file, and a client batch processing HTML file for user A are generated and given file names.
[0045]
An identifier (code) for identifying the screen information of the user A is also given to the file name. Next, when the user A requests a correction / deletion screen, the WWW server 1 causes the processing control unit 52 to send the file name and user requesting the correction / deletion screen transmitted from the WWW browser 7. From the code for identifying A, the HTML file storage unit 41 is searched to determine the presence or absence of the target page.
[0046]
If the requested HTML file does not exist in the HTML file storage unit 41, the processing control unit 52 is generated in advance by the correction / deletion registration HTML file generation processing unit 512 or the display HTML file generation processing unit 513. An HTML file incorporating the data read from the application data information database 62 is generated using the target HTML file (step 4105), and stored as an HTML file in the HTML file storage unit 41 (step 4106). It transmits to the WWW browser 7 of the client computers 2a to 2d (step 4107).
[0047]
On the other hand, when the request from the WWW browser 7 of the client computers 2a to 2d is a registration request in step 4102, the HTML file for correction / deletion and the HTML file for display created by the target application data are converted into the HTML file. It deletes from the storage unit 41 (step 4108), updates the application data information database 62 (step 4109), and transmits an HTML page indicating the processing result to the WWW browser 7 of the client computers 2a to 2d (step 4110).
[0048]
The processing operation of the HTML file processing unit 51 in the server computer 1 of FIG. 1 in response to such a registration request will be described with reference to FIG.
[0049]
FIG. 10 is an explanatory diagram showing an example of the processing operation by the HTML file processing unit of the server computer in FIG.
[0050]
For example, when the user A newly registers the data X, the new registration screen 100 created in advance is read from the page layout definition information database 61 and displayed on the WWW browser screen, and the X input on this screen is displayed. While registering in the application information database 62, the HTML file of the correction / deletion screen containing the data X and the display screen is generated.
[0051]
At this time, if user A has previously registered data Y and the above-mentioned files have already been created, these files are deleted, and then correction / deletion including data X and data Y is entered. HTML files for the display screen 101 and the display screen 102 are generated. This process is the process of steps 4108 and 4109 in FIG.
[0052]
The data access object 104 in FIG. 10 retrieves the data registered by the user from the application information database 62 for each user of the client computers 2a to 2d, and displays the correction / deletion screen 101 and the display screen 102. When the user performs a click operation on the data access object 104, the program is activated and data is displayed. Note that data embedding processing may be performed by internal processing without being displayed on the screen, and the data input by the user may be displayed when each screen is displayed.
[0053]
Next, processing using the client batch processing screen 103 in FIG. 10 will be described with reference to FIG.
[0054]
FIG. 11 is a flowchart showing an example of processing operation by the client computer in FIG.
[0055]
In FIG. 11, as a specific example of the client batch processing procedure executed in the WWW browser 7 of the client computers 2 a to 2 d in FIG. 1, a case where certain input data is registered in three consecutive HTML pages. Show.
[0056]
In order to perform client batch processing by the client computers 2a to 2d, the client batch processing HTML files 8a to 8c generated by the client batch processing HTML generation processing unit 514 are installed in the client computers 2a to 2d in advance. It is necessary to keep.
[0057]
First, the WWW browser 7 in the client computers 2a to 2d reads the client batch registration HTML file (8a to 8c) of the first page and displays the client batch registration page (step 701). The user inputs data on the registration page (step 702) and selects a “next” button (step 703).
[0058]
At this time, the client data access object embedded at the time when the client batch processing HTML generation processing unit 514 generates the client batch processing HTML file (8a to 8c) stored in the client computers 2a to 2d is: The input data is stored in the input data storage text file 9 together with attributes such as data input date and time (step 704).
[0059]
Next, the HTML file of the second page is displayed, and the same processing as that of the first page is performed based on the user's operation (steps 705 to 708). The HTML file on the third page is also displayed and data is input from the user (steps 709 and 710).
[0060]
The third page is the last page displayed in the series of registration pages, and a “registration” button is prepared. When the user presses this “registration” button (step 711), After the client data access object (program) is activated and the input data is stored in the input data storage text file 9 as in the first and second pages, communication with the WWW server 4 of the server computer 1 is performed. The data registration process is performed (step 712).
[0061]
In this data registration process, first, the update date and time of the corresponding data in the application data information database 62 in FIG. 1 is referred to, and the data already exists and is stored with a date and time that is newer than the date and time when the current data was to be registered. If so, a message to that effect is displayed so as to be known to the user (step 713), and the process is interrupted.
[0062]
Also, if the data does not exist or is stored with a date and time older than the date and time when the current data was registered, the data registration processing is performed and the processing result is displayed to the user as a message (step) 713). In this case, the modification / deletion registration HTML file and the display HTML file that already exist for the target data are deleted by the processing in step 4108 of FIG.
[0063]
As described above with reference to FIGS. 1 to 11, in the Web application server, the Web application server system, and the Web page data processing method of this example, a new registration from the client is performed by the pre-collection generation process of the new registration HTML file. Since the processing time for dynamically generating the HTML file in the WWW server can be deleted every time the registration HTML page request is processed, it is possible to shorten the processing response time from the WWW client.
[0064]
In addition, as for the HTML file for correction / deletion registration and the display HTML file, the HTML file for correction / deletion registration can be referred to since the HTML file already created / stored can be referred to unless the target record of the database is updated. The processing time for dynamically generating an HTML file on the WWW server can be deleted each time an HTML page request is processed. This also makes it possible to shorten the processing response time from the WWW client.
[0065]
Further, by creating client batch processing HTML files 8a to 8c based on the page layout definition information database 61 and installing them in the client computers 2a to 2d, the client computers 2a to 2d (WWW browser 7) Data for a plurality of HTML pages can be transmitted to the server computer 1 at a time. As a result, the communication connection time between the client and the server can be shortened.
[0066]
In addition, this invention is not limited to the example demonstrated using FIGS. 1-11, In the range which does not deviate from the summary, various changes are possible. For example, in this example, an HTML page is described as an example, but the present invention can also be applied to other Web pages such as XML (Extensible Markup Language).
[0067]
In this example, the computer configuration example of FIG. 2 is shown as the hardware configuration of the server computer 1 and the client computers 2a to 2d. However, a computer configuration without a keyboard or optical disk drive device may be used. In this example, an optical disk (CD-ROM) or FD (flexible disk) is used as a recording medium, but an MO (Magneto Optical disk) may be used as a recording medium. As for the program installation, the program may be downloaded and installed via a network via a communication device.
[0068]
【The invention's effect】
According to the present invention, the processing time for dynamically generating a Web page file on the Web server side every time a page display request process for new registration or correction / deletion of data from a WWW client (browser) is reduced. Since it can be deleted, it is possible to shorten the response time to the Web page display request from the WWW client (browser). In addition, a plurality of requests such as new registration, correction, and deletion of data can be collectively transmitted from the client side to the server side, and the communication connection time between the client and the server can be shortened.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a Web application server and a Web application server system according to the present invention.
2 is a block diagram illustrating a hardware configuration example of a server computer and a client computer in FIG. 1. FIG.
3 is a block diagram showing an example of a network configuration including a client computer and a server computer in FIG. 1. FIG.
4 is a block diagram illustrating a detailed configuration example of an HTML file processing unit in FIG. 1; FIG.
5 is a flowchart showing a processing operation example of a new registration HTML file generation processing unit in FIG. 4; FIG.
6 is a flowchart showing a processing operation example of a correction / deletion registration HTML file generation processing unit in FIG. 4;
7 is a flowchart showing a processing operation example of a display HTML file generation processing unit in FIG. 4; FIG.
8 is a flowchart showing a processing operation example of a client batch processing HTML page creation processing unit in FIG. 4; FIG.
9 is a flowchart showing an example of a processing procedure by the server computer in FIG. 1. FIG.
10 is an explanatory diagram showing an example of processing operation by an HTML file processing unit of the server computer in FIG. 1. FIG.
11 is a flowchart showing an example of processing operation by the client computer in FIG. 1;
[Explanation of symbols]
1: server computer, 2a-2d: client computer, 3: network, 4: WWW server, 5: HTML processing unit, 6: storage unit, 7: WWW browser, 8a-8c: HTML file group for client batch processing, 9 : Input data storage text file, 10: CD-ROM, 11: flexible disk, 21: display device, 22: input device, 23: external storage device, 24: information processing device, 24a: CPU, 24b: main memory, 24c: input / output interface, 25: optical disk, 26: drive device, 27: communication device, 25: CR-ROM, 25a: flexible disk, 41: HTML file storage unit, 51: HTML file processing unit, 52: processing control unit 61: Page layout definition information database (DB), 62: App Application data information database (DB), 100: New registration screen, 101: Correction / deletion screen, 102: Display screen, 103: Client batch processing screen, 104: Data access object, 511: New registration HTML file Generation processing unit, 512: HTML file generation processing unit for correction / deletion registration, 513: HTML file generation processing unit for display, 514: HTML page creation processing unit for client batch processing.

Claims (7)

アプリケーションデータを格納するデータベースを備え、ネットワークを介して接続されたWWWクライアントのブラウザからのアクセスに対応して、上記データベースに対するデータの登録および更新を行うWebアプリケーションサーバであって、
上記データベースに対する上記WWWクライアントのブラウザからのデータ登録要求に対応して、当該データをデータベースに登録すると共に、上記WWWクライアントのブラウザから要求されるものとして予め定められたWebページを表示するためのWebページファイルを上記データベースへのデータ登録結果を反映して生成する手段と、
該手段で生成したWebページファイルを、ファイル名と上記データ登録要求元を識別する識別情報とを付与して記憶装置に格納する手段と、
上記WWWクライアントのブラウザからのWebページ表示要求に対応して、当該Webページ表示用のWebページファイルが上記記憶装置に格納されているかをファイル名と上記識別情報を基に検索する手段と、
格納されていれば当該Webページファイルを読み出して上記WWWクライアントのブラウザに送信する手段と、
格納されていなければ当該Webページ表示用のWebページファイルを生成し記憶装置に格納した後に上記WWWクライアントのブラウザに送信する手段と
を有することを特徴とするWebアプリケーションサーバ。
A web application server that includes a database that stores application data, and that registers and updates data in the database in response to access from a browser of a WWW client connected via a network,
In response to a data registration request from the browser of the WWW client to the database, the data is registered in the database, and a Web for displaying a Web page predetermined as requested by the browser of the WWW client Means for generating a page file reflecting the result of data registration in the database;
Means for storing the web page file generated by the means in a storage device with a file name and identification information for identifying the data registration request source;
In response to a web page display request from the browser of the WWW client, a means for searching whether the web page file for displaying the web page is stored in the storage device based on the file name and the identification information;
Means for reading the web page file if it is stored and sending it to the browser of the WWW client;
A Web application server comprising means for generating a Web page file for displaying the Web page and storing it in a storage device if it is not stored, and then transmitting it to the browser of the WWW client.
請求項1に記載のWebアプリケーションサーバであって、
上記予め定められたWebページは、上記WWWクライアントのユーザが、
上記データベースのデータの更新要求に用いるデータ更新用ページと、
上記データベースに登録したデータの表示要求に用いるデータ表示用ページと、
複数の要求を一括して入力するのに用いるクライアント一括データ処理用ページとの少なくともいずれか一つを含む
ことを特徴とするWebアプリケーションサーバ。
The web application server according to claim 1,
The predetermined Web page is displayed by the WWW client user.
A data update page used to update the data in the database;
A data display page used for a display request for data registered in the database;
A Web application server comprising at least one of a client batch data processing page used for batch input of a plurality of requests.
ブラウザを具備したWWWクライアントと、該WWWクライアントのブラウザからのネットワークを介してのアクセスに基づき、具備したデータベースに対するアプリケーションデータの登録および更新を行うWebアプリケーションサーバとからなるWebアプリケーションサーバシステムであって、
上記Webアプリケーションサーバは、上記データベースに対する上記WWWクライアントのブラウザからのデータ登録要求に対応して、当該データをデータベースに登録すると共に、上記WWWクライアントのブラウザから要求されるものとして予め定められたWebページを表示するためのWebページファイルを上記データベースへのデータ登録結果を反映して生成する手段と、該手段で生成したWebページファイルを、ファイル名と上記データ登録要求元を識別する識別情報とを付与して記憶装置に格納する手段と、上記WWWクライアントのブラウザからのWebページ表示要求に対応して、当該Webページ表示用のWebページファイルが上記記憶装置に格納されているかをファイル名と上記識別情報を基に検索する手段と、格納されていれば当該Webページファイルを読み出して上記WWWクライアントのブラウザに送信する手段と、格納されていなければ当該Webページ表示用のWebページファイルを生成し記憶装置に格納した後に上記WWWクライアントのブラウザに送信する手段とを有し、
上記WWWクライアントは、上記Webサーバから送信され上記ブラウザで受信した上記Webページファイルを格納する手段を有し、
上記WWWクライアントのユーザは、上記格納したWebページファイルに基づき上記ブラウザで表示したWebページを用いて上記Webサーバに対する上記データベースのデータ操作要求を行う
ことを特徴とするWebアプリケーションサーバシステム。
A web application server system comprising a WWW client equipped with a browser, and a web application server that registers and updates application data in the equipped database based on access from the browser of the WWW client via a network,
In response to a data registration request from the WWW client browser to the database, the Web application server registers the data in the database and is a Web page predetermined as requested by the WWW client browser. Means for reflecting a data registration result in the database, and a web page file generated by the means with a file name and identification information for identifying the data registration request source. A file name indicating whether the Web page file for displaying the Web page is stored in the storage device in response to a Web page display request from the browser of the WWW client; Means for searching based on identification information; If stored, means for reading the Web page file and sending it to the browser of the WWW client; if not stored, the Web page file for displaying the Web page is generated and stored in the storage device, and then stored in the storage device. Means for sending to a browser,
The WWW client has means for storing the web page file transmitted from the web server and received by the browser,
The Web application server system, wherein a user of the WWW client makes a data operation request for the database to the Web server using a Web page displayed by the browser based on the stored Web page file.
アプリケーションデータを格納するデータベースを備え、ネットワークを介して接続されたWWWクライアントコンピュータのブラウザからのアクセスに対応して、上記データベースに対するデータの登録および更新を行うWebアプリケーションサーバコンピュータのWebページデータ処理方法であって、
上記Webアプリケーションサーバコンピュータは、
上記データベースに対する上記WWWクライアントコンピュータのブラウザからのデータ登録要求に対応して、当該データをデータベースに登録する手順と、
上記WWWクライアントコンピュータのブラウザから要求されるものとして予め定められたWebページを表示するためのWebページファイルを上記データベースへのデータ登録結果を反映して生成する手順と、
生成したWebページファイルを、ファイル名と上記データ登録要求元を識別する識別情報とを付与して記憶装置に格納する手順と、
上記WWWクライアントコンピュータのブラウザからのWebページ表示要求に対応して、当該Webページ表示用のWebページファイルが上記記憶装置に格納されているかをファイル名と上記識別情報を基に検索する手順と、
格納されていれば当該Webページファイルを読み出して上記WWWクライアントコンピュータのブラウザに送信する手順と、
格納されていなければ当該Webページ表示用のWebページファイルを生成し記憶装置に格納した後に上記WWWクライアントコンピュータのブラウザに送信する手順と
実行することを特徴とするWebページデータ処理方法。
A web page data processing method of a web application server computer that includes a database for storing application data and registers and updates data in the database in response to access from a browser of a WWW client computer connected via a network There,
The web application server computer
In response to a data registration request from the browser of the WWW client computer to the database, a procedure for registering the data in the database;
A procedure for generating a Web page file for displaying a Web page predetermined as requested from the browser of the WWW client computer, reflecting the result of data registration in the database;
A procedure for storing the generated web page file in a storage device with a file name and identification information for identifying the data registration request source;
In response to a Web page display request from the browser of the WWW client computer, a procedure for searching whether the Web page file for Web page display is stored in the storage device based on the file name and the identification information;
A procedure for reading the web page file if it is stored and sending it to the browser of the WWW client computer;
Web page data processing method characterized by executing after storing in not stored to generate a Web page file for the Web page display store a procedure of transmitting to the browser of the WWW client computer.
ブラウザを具備したWWWクライアントコンピュータと、該WWWクライアントコンピュータのブラウザからのネットワークを介してのアクセスに基づき、具備したデータベースに対するアプリケーションデータの登録および更新を行うWebアプリケーションサーバコンピュータとからなるWebアプリケーションサーバシステムによるWebページデータ処理方法であって、
上記Webアプリケーションサーバコンピュータは、
上記データベースに対する上記WWWクライアントコンピュータのブラウザからのデータ登録要求に対応して、当該データをデータベースに登録する手順と、上記WWWクライアントコンピュータのブラウザから要求されるものとして予め定められたWebページを表示するためのWebページファイルを上記データベースへのデータ登録結果を反映して生成する手順と、生成したWebページファイルを、ファイル名と上記データ登録要求元を識別する識別情報とを付与して記憶装置に格納する手順と、該記憶装置に格納したWebページファイルを上記WWWクライアントコンピュータのブラウザに送信する手順と、上記WWWクライアントコンピュータのブラウザからのWebページ表示要求に対応して、当該Webページ表示用のWebページファイルが上記記憶装置に格納されているかをファイル名と上記識別情報を基に検索する手順と、格納されていれば当該Webページファイルを読み出して上記WWWクライアントコンピュータのブラウザに送信する手順と、格納されていなければ当該Webページ表示用のWebページファイルを生成し記憶装置に格納した後に上記WWWクライアントコンピュータのブラウザに送信する手順と
を実行し、
上記WWWクライアントコンピュータは、上記Webサーバコンピュータから送信され上記ブラウザで受信した上記Webページファイルを格納する手順を実行し、
上記WWWクライアントコンピュータのユーザは、上記格納したWebページファイルに基づき上記ブラウザで表示したWebページを用いて上記Webサーバコンピュータに対する上記データベースのデータ操作要求を行うことを特徴とするWebページデータ処理方法。
By a Web application server system comprising a WWW client computer having a browser and a Web application server computer for registering and updating application data in the provided database based on access from the browser of the WWW client computer via a network A web page data processing method comprising:
The web application server computer
In response to a data registration request from the browser of the WWW client computer to the database, a procedure for registering the data in the database and a Web page predetermined as requested by the browser of the WWW client computer are displayed. For generating a Web page file for reflecting the data registration result in the database, and providing the generated Web page file with a file name and identification information for identifying the data registration request source in the storage device In response to the Web page display request from the browser of the WWW client computer, the procedure of storing, the procedure of transmitting the Web page file stored in the storage device to the browser of the WWW client computer, and the Web page display request W a procedure for searching whether a b-page file is stored in the storage device based on the file name and the identification information; a procedure for reading the Web page file and transmitting it to the browser of the WWW client computer if stored; If not stored, a Web page file for displaying the Web page is generated and stored in the storage device, and then transmitted to the browser of the WWW client computer.
The WWW client computer executes a procedure for storing the Web page file transmitted from the Web server computer and received by the browser,
A Web page data processing method, wherein a user of the WWW client computer makes a data operation request for the database to the Web server computer using a Web page displayed by the browser based on the stored Web page file.
アプリケーションデータを格納するデータベースを備え、ネットワークを介して接続されたWWWクライアントコンピュータのブラウザからのアクセスに対応して、上記データベースに対するデータの登録および更新を行うWebアプリケーションサーバコンピュータのWebページデータ処理方法であって、
上記Webアプリケーションサーバコンピュータは、
上記WWWクライアントコンピュータのユーザが上記データベースのデータの更新要求に用いるデータ更新用ページと上記データベースに登録したデータの表示要求に用いるデータ表示用ページおよび複数の要求を一括して入力するのに用いるクライアント一括データ処理用ページの少なくともいずれか一つを含むWebページを表示するためのWebページファイルを予め記憶装置に格納する手順と、
上記WWWクライアントコンピュータのブラウザからの要求に対応して上記記憶装置に格納したWebページファイルを抽出し要求元のブラウザに送信する手順と、
送信したWebページファイルに基づき上記WWWクライアントコンピュータのブラウザで表示されたWebページ上で入力され送られてきたデータに基づく上記データベースに対する処理結果が反映された上記Webページファイルを生成する手順と、
生成した上記Webページファイルを、ファイル名と上記データの送信元の識別情報とを対応付けて記憶装置に格納する手順と、
上記WWWクライアントコンピュータのブラウザからのWebページ表示要求に対応して、当該Webページ表示用のWebページファイルが上記記憶装置に格納されているかをファイル名と上記識別情報を基に検索する手順と、格納されていれば当該Webページファイルを読み出して上記WWWクライアントコンピュータのブラウザに送信する手順と、格納されていなければ当該Webページ表示用のWebページファイルを生成し記憶装置に格納した後に上記WWWクライアントコンピュータのブラウザに送信する手順と
実行することを特徴とするWebページデータ処理方法。
A web page data processing method of a web application server computer that includes a database for storing application data and registers and updates data in the database in response to access from a browser of a WWW client computer connected via a network There,
The web application server computer
A data update page used by a user of the WWW client computer for a data update request of the database, a data display page used for a display request of data registered in the database, and a client used to collectively input a plurality of requests A procedure for storing a Web page file for displaying a Web page including at least one of the batch data processing pages in a storage device in advance;
A procedure for extracting a Web page file stored in the storage device in response to a request from the browser of the WWW client computer and transmitting it to the requesting browser;
A procedure for generating the Web page file reflecting the processing result for the database based on the data input and transmitted on the Web page displayed on the browser of the WWW client computer based on the transmitted Web page file;
Storing the generated web page file in a storage device in association with the file name and identification information of the transmission source of the data;
In response to a Web page display request from the browser of the WWW client computer, a procedure for searching whether the Web page file for Web page display is stored in the storage device based on the file name and the identification information; If it is stored, the Web page file is read out and transmitted to the browser of the WWW client computer. If not stored, the Web page file for displaying the Web page is generated and stored in the storage device, and then the WWW client. A Web page data processing method comprising: executing a procedure for transmission to a browser of a computer.
コンピュータに、請求項4から請求項6のいずれかに記載のWebページデータ処理方法における各手順を実行させるためのプログラム。  The program for making a computer perform each procedure in the web page data processing method in any one of Claims 4-6.
JP2001084840A 2001-03-23 2001-03-23 Web application server, Web application server system, Web page data processing method, and program Expired - Fee Related JP3979021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001084840A JP3979021B2 (en) 2001-03-23 2001-03-23 Web application server, Web application server system, Web page data processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001084840A JP3979021B2 (en) 2001-03-23 2001-03-23 Web application server, Web application server system, Web page data processing method, and program

Publications (2)

Publication Number Publication Date
JP2002288033A JP2002288033A (en) 2002-10-04
JP3979021B2 true JP3979021B2 (en) 2007-09-19

Family

ID=18940453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001084840A Expired - Fee Related JP3979021B2 (en) 2001-03-23 2001-03-23 Web application server, Web application server system, Web page data processing method, and program

Country Status (1)

Country Link
JP (1) JP3979021B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009301442A (en) * 2008-06-16 2009-12-24 Chugoku Electric Power Co Inc:The Information sharing system, method, and program
JP2011243146A (en) * 2010-05-21 2011-12-01 Fujifilm Corp Relay server and its program, web site browsing system, web site browsing method, and application program
JP5986911B2 (en) * 2012-12-13 2016-09-06 株式会社日立製作所 Elevator operation monitoring system

Also Published As

Publication number Publication date
JP2002288033A (en) 2002-10-04

Similar Documents

Publication Publication Date Title
EP2122561B1 (en) Web data usage platform
TW413764B (en) Method for generating display control information and computer
US6222634B1 (en) Apparatus and method for printing related web pages
US8176120B2 (en) Web-page authoring tool for automatic enrollment in advertising program
US20080313206A1 (en) Method and system for providing sharable bookmarking of web pages consisting of dynamic content
US20030093400A1 (en) Method for updating a database from a browser
JP2002163167A (en) Recording medium recording image file and readable by computer, preparation device for the same, medium recording image file preparation program, image file transmission device, image file processor, and image
US20110191431A1 (en) Method and system for updating display screens
KR20040101055A (en) Post-cache substitution
JPH10187456A (en) Program download system
JP4846832B2 (en) Web page display method, computer system, and program
US9778919B2 (en) Dual context interaction with a content object for facilitating content creation and software development
JP3979021B2 (en) Web application server, Web application server system, Web page data processing method, and program
JP2007219619A (en) Information management program, device, and method
JP2002149478A (en) Method for automatically displaying update information and device for the same, and medium and program
JPH1115724A (en) Method and device for managing document
JP2005327297A (en) Knowledge information collecting system and knowledge information collecting method
JP2004110362A (en) Application development supporting system and application development supporting method and computer program
JP2003248737A (en) System and method for providing reliability to meta- information
JP4104878B2 (en) Web page guidance method and web page guidance program
JP2002149553A (en) Device and method for managing web contents public release and recording medium
JP4449381B2 (en) Search apparatus and method
JP2004295512A (en) Web application development support device and method
JPH1115818A (en) Document reference control method
JP2002024078A (en) Image file management server

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070508

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070618

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20140706

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees