JP2008140016A - Web system and display data processing method - Google Patents

Web system and display data processing method Download PDF

Info

Publication number
JP2008140016A
JP2008140016A JP2006324380A JP2006324380A JP2008140016A JP 2008140016 A JP2008140016 A JP 2008140016A JP 2006324380 A JP2006324380 A JP 2006324380A JP 2006324380 A JP2006324380 A JP 2006324380A JP 2008140016 A JP2008140016 A JP 2008140016A
Authority
JP
Japan
Prior art keywords
identifier
web browser
data
information
web
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.)
Pending
Application number
JP2006324380A
Other languages
Japanese (ja)
Inventor
Kenji Kondo
健志 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2006324380A priority Critical patent/JP2008140016A/en
Publication of JP2008140016A publication Critical patent/JP2008140016A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a Web system capable of displaying current data contents of a database by a Web browser without useless access to the database, and a display data processing method. <P>SOLUTION: In the Web system, when a request for data stored in a cache means of the Web browser together with an identifier is transmitted to a Web server 202 according to display instructing operation, whether the identifier contained in the request is matched with an identifier for data designated by the request, which is possessed by a management means of the Web server, is determined, and when the matching of identifiers is successful, a response for instructing use of cache information is transmitted to the Web browser without useless access to the database 203. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、WebブラウザがWebサーバから情報を取得してその情報を表示するWebシステム及びその表示データ処理方法に関する。   The present invention relates to a Web system in which a Web browser acquires information from a Web server and displays the information, and a display data processing method thereof.

図1はWebブラウザ101、Webブラウザ102、Webサーバ103及びデータベース104を備えたWebシステムにおいてWebブラウザ101に情報を表示させるための表示リクエスト操作が行われてから実際に表示されるまでの流れを示している。   FIG. 1 shows a flow from a display request operation for displaying information on the Web browser 101 to an actual display in the Web system including the Web browser 101, the Web browser 102, the Web server 103, and the database 104. Show.

Webサーバ103で実行されるアプリケーションは2つのページを持っている。この2つのページをページ1及びページ2と呼ぶ。ページ1にはデータベース104に格納されている情報(アイテムと呼ぶ)を表示する。そのため、Webブラウザ101でページ1を表示する場合は、Webサーバ103はデータベース104にデータ要求を行う。Webブラウザにページ2を表示するためにはデータベース103ヘのデータ要求は必要としない。   An application executed on the Web server 103 has two pages. These two pages are called page 1 and page 2. Page 1 displays information (called an item) stored in the database 104. Therefore, when displaying page 1 with the web browser 101, the web server 103 sends a data request to the database 104. In order to display page 2 on the Web browser, a data request to the database 103 is not required.

データベース103に4つのアイテムを有するデータ110が存在する場合に、データベース103に保存された情報についての表示リクエストの操作107をユーザが行うと、Webブラウザ101はWebサーバ102に対してリクエスト108を送信する。Webサーバ102はリクエスト108を受信すると、データ要求109をデータベース103に行い、その結果としてのデータ111がデータベース103からWebサーバ102に供給される。Webサーバ102はそのデータ111を含むレスポンス112をWebブラウザ1に送信する。その結果、Webブラウザ101はページ1を用いて4つのアイテムの表示113を行う。この一連の処理を処理Aと称す。   When data 110 having four items exists in the database 103 and the user performs a display request operation 107 for information stored in the database 103, the Web browser 101 transmits a request 108 to the Web server 102. To do. When the web server 102 receives the request 108, it makes a data request 109 to the database 103, and the resulting data 111 is supplied from the database 103 to the web server 102. The Web server 102 transmits a response 112 including the data 111 to the Web browser 1. As a result, the Web browser 101 uses page 1 to display four items 113. This series of processing is referred to as processing A.

処理Aの後に、他のユーザがWebブラウザ102から4つのアイテムのうち1つを削除するための操作114が行われると、削除リクエスト115がWebサーバ102に送信されて、Webサーバ102はデータ削除116をデータベース103に対して行い、その結果として削除後のデータ117を受け取り、データ117を含むレスポンス118をWebブラウザ102に送信する。データ削除によりデータは3つのアイテム119になったとする。この一連の処理を処理Bと称す。   After process A, when another user performs an operation 114 for deleting one of the four items from the Web browser 102, a delete request 115 is transmitted to the Web server 102, and the Web server 102 deletes the data. 116 is performed on the database 103, and as a result, the deleted data 117 is received and a response 118 including the data 117 is transmitted to the Web browser 102. It is assumed that the data becomes three items 119 due to the data deletion. This series of processing is referred to as processing B.

ここで、ページ2をWebブラウザ101に表示させるために、ユーザの操作120に応じてがリクエスト121がWebサーバ102に対して送信されると、それに応答してWebサーバ102からレスポンス122がWebブラウザ102に送信される。その結果、Webブラウザ101ではぺージ2の表示123が行われる。この一連の処理を処理Cと称す。   Here, in order to display the page 2 on the Web browser 101, when a request 121 is transmitted to the Web server 102 in response to a user operation 120, a response 122 is sent from the Web server 102 to the Web browser in response thereto. 102. As a result, the display 123 of page 2 is performed on the Web browser 101. This series of processing is referred to as processing C.

この処理Cの後に、Webブラウザ101においてユーザが再表示の操作124を行い、Webブラウザ101内のキャッシュに基づいてWebブラウザ101が1つ前の表示情報を再表示すると、データ110の4つのアイテムを示すページ125がWebブラウザ101には表示されてしまう。そのときのデータベース103のデータ119のアイテムと一致しない情報がWebブラウザ101には表示されることになる(特許文献1参照)。この一連の処理を処理Dと称す。
特開2005−157842号公報
After this process C, when the user performs a re-display operation 124 in the Web browser 101 and the Web browser 101 re-displays the previous display information based on the cache in the Web browser 101, four items of data 110 are displayed. Is displayed on the Web browser 101. Information that does not match the item of the data 119 of the database 103 at that time is displayed on the Web browser 101 (see Patent Document 1). This series of processing is referred to as processing D.
JP 2005-157842 A

従来のWebシステムにおいては、Webブラウザで以前に表示された情報を再度表示する場合には、データベースにアクセスして、常にデータベースの内容とWebブラウザの画面情報を一致させる方法もあるが、この場合、上記の処理Cのようにデータベースにアクセスの必要のない処理についても、処理Aのようにデータベースにアクセスを行うこととなり、却って処理に無駄が生ずるという問題があった。   In the conventional Web system, there is a method of accessing the database to always match the contents of the database with the screen information of the Web browser in order to display the information previously displayed on the Web browser again. Even for a process that does not require access to the database as in the process C, the database is accessed as in the process A, and there is a problem that the process is wasted.

そこで、本発明の目的は、無駄なデータベースへのアクセスをすることなくデータベースの現在のデータ内容をWebブラウザにて表示することができるWebシステム及び表示データ処理方法を提供することである。   Accordingly, an object of the present invention is to provide a Web system and a display data processing method capable of displaying the current data contents of a database on a Web browser without accessing a useless database.

本発明のWebシステムは、表示指令操作に応じて情報を表示するクライアント端末のWebブラウザと、前記Webブラウザとネットワークを介して接続され前記Webブラウザに表示されるべき情報のデータをデータベースから取得して前記Webブラウザに対して発信するWebサーバと、を備えたWebシステムであって、前記Webブラウザは、既に表示した情報についてのデータとそれに付加された識別子とを対応させて保存するキャッシュ手段と、その既表示情報についての表示指令操作が行われた場合に前記既表示情報についてのリクエストをそれに対応する識別子と共に前記Webサーバに送信する手段と、を有し、前記Webサーバは、前記リクエストを受信すると、その受信したリクエストに識別子が存在するか否かを判別する手段と、前記受信したリクエストに識別子が存在しない場合には識別子を作成しかつ前記受信したリクエストに対応したデータを前記データベースから取得し、その作成識別子を付加した取得データを有する第1レスポンスを前記Webブラウザに送信する手段と、前記作成された識別子と送信されたデータとの関係を保存管理する管理手段と、前記受信したリクエストに識別子が存在する場合にはその識別子と前記管理手段に保存管理された識別子とが一致するか否かを判別する判別手段と、前記判別手段の判別結果が識別子の一致であるときには前記データベースからのデータ取得を行うことなくキャッシュ情報の使用を指示する第2レスポンスを前記Webブラウザに送信し、前記判別手段の判別結果が識別子の不一致であるときには前記第1レスポンスを前記Webブラウザに送信する手段と、を有し、前記Webブラウザは、前記第1レスポンスを受信した場合には前記第1レスポンスに含まれるデータに応じて情報表示を行い、前記第2レスポンスを受信した場合には前記キャッシュ手段に保存されたデータを応じて情報表示を行うことを特徴としている。   The Web system of the present invention acquires, from a database, a Web browser of a client terminal that displays information in response to a display command operation, and data of information that is connected to the Web browser via a network and is to be displayed on the Web browser. A cache server that stores the data about the already displayed information in association with the identifier added thereto, and a Web server that transmits to the Web browser. And a means for transmitting a request for the already-displayed information together with an identifier corresponding thereto when a display command operation for the already-displayed information is performed, and the Web server sends the request When received, whether the identifier exists in the received request A first response having acquisition data to which an identifier is created when the received request does not have an identifier and data corresponding to the received request is acquired from the database and the generated identifier is added; To the Web browser, management means for storing and managing the relationship between the created identifier and the transmitted data, and if the received request has an identifier, the identifier and the management means A discriminating unit that discriminates whether or not the identifier that is stored and managed matches; and a discriminating result of the discriminating unit that instructs the use of cache information without acquiring data from the database when the discrimination result of the discriminating unit is a match 2 Response is sent to the Web browser, and the discrimination result of the discrimination means is an identifier mismatch. Means for transmitting the first response to the web browser, and the web browser displays information according to data included in the first response when the first response is received, When the second response is received, information is displayed according to the data stored in the cache means.

本発明の表示データ処理方法は、表示指令操作に応じて情報を表示するクライアント端末のWebブラウザと、前記Webブラウザとネットワークを介して接続され前記Webブラウザに表示されるべき情報のデータをデータベースから取得して前記Webブラウザに対して発信するWebサーバと、を備えたWebシステムの表示データ処理方法であって、前記Webブラウザでは、既に表示した情報についてのデータとそれに付加された識別子とを対応させて保存し、その既表示情報についての表示指令操作が行われた場合に前記既表示情報についてのリクエストをそれに対応する識別子と共に前記Webサーバに送信し、前記Webサーバでは、前記リクエストを受信すると、その受信したリクエストに識別子が存在するか否かを判別し、前記受信したリクエストに識別子が存在しない場合には識別子を作成しかつ前記受信したリクエストに対応したデータを前記データベースから取得し、その作成識別子を付加した取得データを有する第1レスポンスを前記Webブラウザに送信し、前記作成された識別子と送信されたデータとの関係を保存管理し、前記受信したリクエストに識別子が存在する場合にはその識別子と、保存管理されている識別子とが一致するか否かを判別し、その判別結果が識別子の一致であるときには前記データベースからのデータ取得を行うことなくキャッシュ情報の使用を指示する第2レスポンスを前記Webブラウザに送信し、前記判別結果が識別子の不一致であるときには前記第1レスポンスを前記Webブラウザに送信し、前記Webブラウザでは、前記第1レスポンスを受信した場合には前記第1レスポンスに含まれるデータに応じて情報表示を行い、前記第2レスポンスを受信した場合には前記キャッシュ手段に保存されたデータを応じて情報表示を行うことを特徴としている。   The display data processing method of the present invention includes a Web browser of a client terminal that displays information in response to a display command operation, and data of information to be displayed on the Web browser connected to the Web browser via a network. A display data processing method of a Web system comprising a Web server that acquires and transmits to a Web browser, wherein the Web browser associates data about already displayed information with an identifier added thereto When the display command operation for the displayed information is performed, the request for the displayed information is transmitted to the Web server together with the identifier corresponding thereto, and the Web server receives the request. Determine if an identifier exists in the received request If the identifier does not exist in the received request, an identifier is created, data corresponding to the received request is obtained from the database, and a first response having the obtained data to which the creation identifier is added is sent to the Web browser The relationship between the created identifier and the transmitted data is stored and managed, and if an identifier is present in the received request, the identifier and the identifier stored and managed match. When the determination result is a match of identifiers, a second response instructing the use of cache information is transmitted to the Web browser without acquiring data from the database, and the determination result does not match the identifiers If it is, the first response is transmitted to the web browser, and the web browser Then, when the first response is received, information is displayed according to the data included in the first response, and when the second response is received, the information stored in the cache unit is displayed as information. It is characterized by displaying.

かかる本発明によれば、表示指令操作に応じてWebブラウザのキャッシュ手段に識別子と共に保存されているデータについてのリクエストが送信された場合には、そのリクエストに含まれる識別子と、Webサーバの管理手段が保有するそのリクエストによって指定されるデータについての識別子とが一致するか否かが判別され、その識別子の一致の場合には無駄なデータベースへのアクセスがされることなくキャッシュ情報の使用を指示する第2レスポンスがWebブラウザに送信されるので、データベースの現在のデータ内容と等しい情報をWebブラウザにて表示することができる。   According to the present invention, when a request for data stored together with an identifier is transmitted to the cache means of the Web browser in response to the display command operation, the identifier included in the request and the management means of the Web server It is determined whether or not the identifier for the data specified by the request held by the server matches, and if the identifier matches, the use of cache information is instructed without accessing a useless database. Since the second response is transmitted to the web browser, information equivalent to the current data content of the database can be displayed on the web browser.

以下、本発明の実施例を図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図2は本発明によるWebシステムを示している。このWebシステムは、クライアント端末201、Webサーバ202及びデータベースサーバ203を備えている。それらはLAN(ローカルエリアネットワーク)線200に接続され、互いに通信可能にされている。   FIG. 2 shows a Web system according to the present invention. This Web system includes a client terminal 201, a Web server 202, and a database server 203. They are connected to a LAN (Local Area Network) line 200 so that they can communicate with each other.

クライアント端末201は、基本的にHTML言語を用いた文字や映像を含む情報を表示するためのWebブラウザ209と、その情報を記憶する記憶装置210とを備えている。Webブラウザ209は、操作部205と、ページ表示部208とを備えている。操作部205は表示すべき情報を指定するためにユーザの操作を受け入れる。操作部205には、1つ前に表示された画面情報の再表示を指定するボタン204が備えられており、このボタンをWebブラウザの戻りボタンと称する。   The client terminal 201 basically includes a Web browser 209 for displaying information including characters and videos using the HTML language, and a storage device 210 for storing the information. The web browser 209 includes an operation unit 205 and a page display unit 208. The operation unit 205 accepts a user operation to specify information to be displayed. The operation unit 205 is provided with a button 204 for designating redisplay of the screen information displayed immediately before, and this button is referred to as a return button of the Web browser.

ページ表示部208は、情報をページ207として表示し、そのページ207を表示するために表示内容確認処理部222を有する。ページ207にはユニークなID(識別子)が存在し、これをページID206と称す。表示内容確認処理部222は情報をページ207として表示する時に機能する。例えばユーザがキャッシュ211からWebブラウザ209に前の画面情報を表示した場合と、Webサーバ202からレスポンスを受け取ってWebブラウザ209にページを表示した場合である。   The page display unit 208 displays information as a page 207, and includes a display content confirmation processing unit 222 for displaying the page 207. The page 207 has a unique ID (identifier), which is referred to as a page ID 206. The display content confirmation processing unit 222 functions when information is displayed as the page 207. For example, there are a case where the user displays the previous screen information from the cache 211 on the Web browser 209 and a case where the user receives a response from the Web server 202 and displays the page on the Web browser 209.

記憶装置210はWebブラウザ209で表示したページをページID206及び表示内容確認処理部222と共にキャッシュ211として保存する。   The storage device 210 stores the page displayed by the Web browser 209 as a cache 211 together with the page ID 206 and the display content confirmation processing unit 222.

Webサーバ202はソフトウエアであるWebアプリケーション212を実行し、それによってリクエスト受信部213、レスポンス送信部214、データ受信部215、セッション管理部216、グローバルオブジェクト管理部218及びリクエスト確認部221を形成する。   The Web server 202 executes a Web application 212 that is software, thereby forming a request reception unit 213, a response transmission unit 214, a data reception unit 215, a session management unit 216, a global object management unit 218, and a request confirmation unit 221. .

データベースサーバ203はWebブラウザ209等のブラウザにて表示されるべき情報をページ単位のデータとして保存するデータベース220を形成する。   The database server 203 forms a database 220 that stores information to be displayed in a browser such as the Web browser 209 as data in page units.

Webサーバ202は、クライアント端末201からのリクエストを受けるとWebアプリケーション212による処理を開始する。Webアプリケーション212の処理においては、データベースサーバ203のデータベース220に格納されたデータヘアクセスを行い、その処理結果に基づいてクライアント端末201のWebブラウザ209に対して表示又はその更新を指令する。   When the Web server 202 receives a request from the client terminal 201, the Web server 202 starts processing by the Web application 212. In the processing of the Web application 212, data stored in the database 220 of the database server 203 is accessed, and display or update is instructed to the Web browser 209 of the client terminal 201 based on the processing result.

リクエスト受信部213は、クライアント端末201からのリクエストを受信する。レスポンス送信部214は、Webブラウザ209において表示されるべき情報を送信する。データ受信部215は、データベースサーバ203のデータベース220から情報を取得する。セッション管理部221は、一連の画面遷移を論理的に管理する。このセッション管理部221ではセッション単位で管理を行い、一連の画面遷移ついて管理する情報をセッション単位情報217として保存する。   The request receiving unit 213 receives a request from the client terminal 201. The response transmission unit 214 transmits information to be displayed on the web browser 209. The data receiving unit 215 acquires information from the database 220 of the database server 203. The session management unit 221 logically manages a series of screen transitions. The session management unit 221 performs management in session units, and stores information managed for a series of screen transitions as session unit information 217.

グローバルオブジェクト管理部218は、セッション単位情報とは関係なく、共通のデータ(オブジェクトと呼ぶ)を管理し、グローバルオブジェクト情報219として格納する。リクエスト確認部221はグローバルオブジェクト情報219に格納された値とページIDの値を比較する処理を行う。   The global object management unit 218 manages common data (called an object) regardless of the session unit information, and stores it as global object information 219. The request confirmation unit 221 performs processing for comparing the value stored in the global object information 219 with the value of the page ID.

かかる構成を有するWebシステムにおいては、ユーザの操作に応じてWebブラウザ209の操作部205から表示リクエストが発生されると、表示内容確認処理部222が動作を開始してWebサーバ202に対してリクエスト(データ要求)を送信する(ステップ301)。   In a Web system having such a configuration, when a display request is generated from the operation unit 205 of the Web browser 209 in response to a user operation, the display content confirmation processing unit 222 starts operating and requests the Web server 202 to make a request. (Data request) is transmitted (step 301).

表示内容確認処理部222はステップS301においては表示リクエストが上記した戻りボタン204の操作に応じて発生された場合には、記憶装置210のキャッシュ211からページID206を読み出してそれを送信されるリクエストに含ませる。読み出されるページID206はページ表示部208で現表示ページの1つ前の表示されたページに対するIDである。   When the display request is generated in response to the operation of the return button 204 described above in step S301, the display content confirmation processing unit 222 reads the page ID 206 from the cache 211 of the storage device 210 and sends it to the request. Include. The page ID 206 to be read is an ID for the page displayed immediately before the current display page in the page display unit 208.

そのリクエストはWebサーバ202のリクエスト受信部213によって受信され、グローバルオブジェクト管理部218はグローバルオブジェクト1を格納しているか否かを判別する(ステップ302)。ここで、グローバルオブジェクト1はこの表示リクエストで要求されたデータに対して割り当てられるグローバルオブジェクトである。ステップ302では受信されたリクエストにページIDが含まれているか否かが判別され、ページIDが含まれている場合にはそのページIDに対応したグローバルオブジェクトがグローバルオブジェクト1として判定される。   The request is received by the request reception unit 213 of the Web server 202, and the global object management unit 218 determines whether or not the global object 1 is stored (step 302). Here, the global object 1 is a global object assigned to the data requested by this display request. In step 302, it is determined whether or not the received request includes a page ID. If the page ID is included, the global object corresponding to the page ID is determined as the global object 1.

グローバルオブジェクト1が存在しない場合にはグローバルオブジェクト管理部218は、グローバルオブジェクト1を作成し(ステップ303)、ページIDを作成してそれをグローバルオブジェクト1内に格納する(ステップ304)。ページIDは重複しないユニークな値である。データ受信部215は、リクエスト受信部213によって受信されたリクエストに対応したデータ要求をデータベースサーバ203に送信してデータベース220から情報を取得する(ステップ305)。レスポンス送信部214は、その取得情報を含むレスポンス(第1レスポンス)をWebブラウザ209に送信する(ステップ306a)。受信されたリクエストにページIDが含まれていない場合にはステップ303〜306aが実行される。   If the global object 1 does not exist, the global object management unit 218 creates the global object 1 (step 303), creates a page ID, and stores it in the global object 1 (step 304). The page ID is a unique value that does not overlap. The data receiving unit 215 transmits a data request corresponding to the request received by the request receiving unit 213 to the database server 203 to acquire information from the database 220 (step 305). The response transmission unit 214 transmits a response (first response) including the acquired information to the web browser 209 (step 306a). When the page ID is not included in the received request, steps 303 to 306a are executed.

グローバルオブジェクト情報には有効期間があるので、グローバルオブジェクト管理部218は、ステップ303で作成したグローバルオブジェクト1についても有効期間を過ぎると削除する。よって、グローバルオブジェクト1が作成されてもその有効期間が過ぎている場合にはステップ302ではグローバルオブジェクト1は存在しないと判別されるので、上記のようにステップ303〜306aが実行される。グローバルオブジェクト1は対応するデータベース220の情報が更新された場合には削除される。   Since the global object information has a valid period, the global object management unit 218 also deletes the global object 1 created in step 303 when the valid period has passed. Therefore, even if the global object 1 is created, if its valid period has passed, it is determined in step 302 that the global object 1 does not exist, so steps 303 to 306a are executed as described above. The global object 1 is deleted when the information in the corresponding database 220 is updated.

グローバルオブジェクト管理部218がステップ302においてグローバルオブジェクト1が存在すると判定した場合には、リクエスト確認部221がグローバルオブジェクト1に格納されたページIDの値と、リクエスト受信部213にて受信されたリクエストに含まれたページIDの値を比較する処理を行う。双方のページIDの値が一致しない場合には、上記のステップ303〜305が実行される。一方、双方のページIDの値が一致した場合には、レスポンス送信部214は、キャッシュ211の情報の使用を指示するレスポンス(第2レスポンス)をWebブラウザ209に送信する(ステップ306b)。ステップ306bのレスポンスでは、データベース220から情報を取得することが行われず、Webブラウザ209の記憶装置210にキャッシュ211として保存された情報の使用が指示される。すなわち、記憶装置210にキャッシュ211として保存された情報は、要求されたデータベース220の情報と内容的に等しいことを意味する。   If the global object management unit 218 determines in step 302 that the global object 1 exists, the request confirmation unit 221 determines the page ID value stored in the global object 1 and the request received by the request reception unit 213. A process of comparing the values of the included page IDs is performed. If the values of both page IDs do not match, the above steps 303 to 305 are executed. On the other hand, when the values of both page IDs match, the response transmission unit 214 transmits a response (second response) instructing use of information in the cache 211 to the web browser 209 (step 306b). In the response of step 306b, information is not acquired from the database 220, and the use of the information stored as the cache 211 in the storage device 210 of the Web browser 209 is instructed. That is, the information stored in the storage device 210 as the cache 211 means that the information in the requested database 220 is equal in content.

Webブラウザ209においては、レスポンスを受信すると、そのレスポンスに対応した表示処理を行う(ステップ307)。表示処理では、レスポンスが取得情報を含む場合には、その取得情報を表示することが行われる。一方、レスポンスがキャッシュ211の情報の使用を指示するものであれば、記憶装置210にキャッシュ211として保存された情報を読み出し、その読み出し情報を表示することが行われる。   When the web browser 209 receives the response, the web browser 209 performs display processing corresponding to the response (step 307). In the display process, when the response includes acquisition information, the acquisition information is displayed. On the other hand, if the response indicates the use of the information in the cache 211, the information stored as the cache 211 in the storage device 210 is read and the read information is displayed.

このように、かかる本発明によるWebシステムにおいては、戻りボタン204が操作された場合には、Webブラウザ209のキャッシュ211にページID(識別子)と共に保存されているデータについてのリクエストが送信され、Webサーバ202ではそのリクエストに含まれるページIDと、そのリクエストによって指定されるデータについてのページIDとが一致するか否かが判別され、そのページIDの一致の場合には無駄なデータベースへのアクセスがされることなくキャッシュ情報の使用を指示する第2レスポンスがWebブラウザに送信されるので、データベース220の現在のデータ内容と等しい情報をWebブラウザ209にて表示することができる。   As described above, in the Web system according to the present invention, when the return button 204 is operated, a request for data stored together with the page ID (identifier) in the cache 211 of the Web browser 209 is transmitted, and the Web The server 202 determines whether or not the page ID included in the request matches the page ID for the data specified by the request, and if the page ID matches, access to a useless database is made. Since the second response instructing the use of the cache information is transmitted to the Web browser without being performed, information equivalent to the current data content of the database 220 can be displayed on the Web browser 209.

なお、上記した実施例においては、Webブラウザ209ではページIDはキャッシュとして保存されているが、クッキーにページIDを含ませるようにしても良い。   In the above-described embodiment, the page ID is stored as a cache in the Web browser 209, but the page ID may be included in a cookie.

また、上記した実施例においては、表示指令操作として戻りボタンの操作がされたときの動作について説明したが、これに限定されず、キャッシュ211に保存されたデータについての表示指令操作がユーザによって行われた場合にも本発明を適用することができる。   In the above-described embodiment, the operation when the return button is operated as the display command operation has been described. However, the present invention is not limited to this, and the display command operation for the data stored in the cache 211 is performed by the user. The present invention can also be applied in the case where it is broken.

従来の表示データ処理を示す図である。It is a figure which shows the conventional display data process. 本発明の実施例を示すブロック図である。It is a block diagram which shows the Example of this invention. 図2のシステムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the system of FIG.

符号の説明Explanation of symbols

101,104,209 Webブラウザ
102,202 Webサーバ
200 LAN線
201 クライアント端末
203 データベースサーバ
101, 104, 209 Web browser 102, 202 Web server 200 LAN line 201 Client terminal 203 Database server

Claims (8)

表示指令操作に応じて情報を表示するクライアント端末のWebブラウザと、前記Webブラウザとネットワークを介して接続され前記Webブラウザに表示されるべき情報のデータをデータベースから取得して前記Webブラウザに対して発信するWebサーバと、を備えたWebシステムであって、
前記Webブラウザは、既に表示した情報についてのデータとそれに付加された識別子とを対応させて保存するキャッシュ手段と、
その既表示情報についての表示指令操作が行われた場合に前記既表示情報についてのリクエストをそれに対応する識別子と共に前記Webサーバに送信する手段と、を有し、
前記Webサーバは、前記リクエストを受信すると、その受信したリクエストに識別子が存在するか否かを判別する手段と、
前記受信したリクエストに識別子が存在しない場合には識別子を作成しかつ前記受信したリクエストに対応したデータを前記データベースから取得し、その作成識別子を付加した取得データを有する第1レスポンスを前記Webブラウザに送信する手段と、
前記作成された識別子と送信されたデータとの関係を保存管理する管理手段と、
前記受信したリクエストに識別子が存在する場合にはその識別子と前記管理手段に保存管理された識別子とが一致するか否かを判別する判別手段と、
前記判別手段の判別結果が識別子の一致であるときには前記データベースからのデータ取得を行うことなくキャッシュ情報の使用を指示する第2レスポンスを前記Webブラウザに送信し、前記判別手段の判別結果が識別子の不一致であるときには前記第1レスポンスを前記Webブラウザに送信する手段と、を有し、
前記Webブラウザは、前記第1レスポンスを受信した場合には前記第1レスポンスに含まれるデータに応じて情報表示を行い、前記第2レスポンスを受信した場合には前記キャッシュ手段に保存されたデータを応じて情報表示を行うことを特徴とするWebシステム。
A Web browser of a client terminal that displays information in response to a display command operation, and data of information that is connected to the Web browser via a network and is to be displayed on the Web browser is acquired from a database and is sent to the Web browser A web system comprising a sending web server,
The web browser stores data about information that has already been displayed and an identifier added to the data in association with each other;
Means for transmitting a request for the displayed information together with an identifier corresponding to the request to the Web server when a display command operation is performed on the displayed information;
The Web server, upon receiving the request, means for determining whether an identifier exists in the received request;
If there is no identifier in the received request, an identifier is created, data corresponding to the received request is obtained from the database, and a first response having the obtained data with the created identifier added is sent to the Web browser. Means for transmitting;
Management means for storing and managing the relationship between the created identifier and transmitted data;
A discriminating means for discriminating whether or not the identifier and the identifier stored and managed by the managing means match if the identifier is present in the received request;
When the discrimination result of the discrimination means is coincident with the identifier, a second response instructing use of cache information is transmitted to the Web browser without obtaining data from the database, and the discrimination result of the discrimination means is the identifier Means for transmitting the first response to the web browser when they do not match,
When receiving the first response, the Web browser displays information according to the data included in the first response, and when receiving the second response, the Web browser displays the data stored in the cache unit. A Web system characterized by displaying information accordingly.
前記識別子は表示される情報のページ単位で付加されることを特徴とする請求項1記載のWebシステム。   The Web system according to claim 1, wherein the identifier is added in units of pages of information to be displayed. 前記既表示情報についての表示指令操作は前記Webブラウザの戻りボタンについての操作であることを特徴とする請求項1記載のWebシステム。   2. The Web system according to claim 1, wherein the display command operation for the already-displayed information is an operation for a return button of the Web browser. 前記キャッシュ手段は、前記識別子をキャッシュとして保存することを特徴とする請求項1記載のWebシステム。   The Web system according to claim 1, wherein the cache unit stores the identifier as a cache. 前記キャッシュ手段は、前記識別子をクッキーとして保存することを特徴とする請求項1記載のWebシステム。   The Web system according to claim 1, wherein the cache unit stores the identifier as a cookie. 前記管理手段は、前記識別子をグローバルオブジェクトとして管理することを特徴とする請求項1記載のWebシステム。   The Web system according to claim 1, wherein the management unit manages the identifier as a global object. 前記管理手段は、前記作成された識別子と送信されたデータとの関係をその識別子の作成後、予め定められた有効期間内において保存することを特徴とする請求項1記載のWebシステム。   The Web system according to claim 1, wherein the management unit stores a relationship between the created identifier and transmitted data within a predetermined validity period after the identifier is created. 表示指令操作に応じて情報を表示するクライアント端末のWebブラウザと、前記Webブラウザとネットワークを介して接続され前記Webブラウザに表示されるべき情報のデータをデータベースから取得して前記Webブラウザに対して発信するWebサーバと、を備えたWebシステムの表示データ処理方法であって、
前記Webブラウザでは、既に表示した情報についてのデータとそれに付加された識別子とを対応させて保存し、
その既表示情報についての表示指令操作が行われた場合に前記既表示情報についてのリクエストをそれに対応する識別子と共に前記Webサーバに送信し、
前記Webサーバでは、前記リクエストを受信すると、その受信したリクエストに識別子が存在するか否かを判別し、
前記受信したリクエストに識別子が存在しない場合には識別子を作成しかつ前記受信したリクエストに対応したデータを前記データベースから取得し、その作成識別子を付加した取得データを有する第1レスポンスを前記Webブラウザに送信し、
前記作成された識別子と送信されたデータとの関係を保存管理し、
前記受信したリクエストに識別子が存在する場合にはその識別子と、保存管理されている識別子とが一致するか否かを判別し、
その判別結果が識別子の一致であるときには前記データベースからのデータ取得を行うことなくキャッシュ情報の使用を指示する第2レスポンスを前記Webブラウザに送信し、前記判別結果が識別子の不一致であるときには前記第1レスポンスを前記Webブラウザに送信し、
前記Webブラウザでは、前記第1レスポンスを受信した場合には前記第1レスポンスに含まれるデータに応じて情報表示を行い、前記第2レスポンスを受信した場合には前記キャッシュ手段に保存されたデータを応じて情報表示を行うことを特徴とする表示データ処理方法。
A Web browser of a client terminal that displays information in response to a display command operation, and data of information that is connected to the Web browser via a network and is to be displayed on the Web browser is acquired from a database and is sent to the Web browser A display data processing method for a web system comprising a web server for sending,
In the Web browser, the data about the already displayed information and the identifier added thereto are stored in correspondence with each other,
When a display command operation for the displayed information is performed, a request for the displayed information is transmitted to the Web server together with an identifier corresponding thereto,
When receiving the request, the Web server determines whether an identifier exists in the received request,
If there is no identifier in the received request, an identifier is created, data corresponding to the received request is obtained from the database, and a first response having the obtained data with the created identifier added is sent to the Web browser. Send
Storing and managing the relationship between the created identifier and transmitted data;
If an identifier is present in the received request, it is determined whether the identifier matches the identifier managed and stored,
When the determination result is a match of identifiers, a second response instructing the use of cache information is transmitted to the Web browser without obtaining data from the database. When the determination result is a mismatch of identifiers, the second response is sent. 1 response is sent to the web browser,
In the web browser, when the first response is received, information is displayed according to the data included in the first response, and when the second response is received, the data stored in the cache unit is displayed. A display data processing method characterized by displaying information accordingly.
JP2006324380A 2006-11-30 2006-11-30 Web system and display data processing method Pending JP2008140016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006324380A JP2008140016A (en) 2006-11-30 2006-11-30 Web system and display data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006324380A JP2008140016A (en) 2006-11-30 2006-11-30 Web system and display data processing method

Publications (1)

Publication Number Publication Date
JP2008140016A true JP2008140016A (en) 2008-06-19

Family

ID=39601428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006324380A Pending JP2008140016A (en) 2006-11-30 2006-11-30 Web system and display data processing method

Country Status (1)

Country Link
JP (1) JP2008140016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8402049B2 (en) 2010-05-27 2013-03-19 International Business Machines Corporation Metadata cache management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8402049B2 (en) 2010-05-27 2013-03-19 International Business Machines Corporation Metadata cache management
US8914407B2 (en) 2010-05-27 2014-12-16 International Business Machines Corporation Metadata cache management
US9996464B2 (en) 2010-05-27 2018-06-12 International Business Machines Corporation Metadata cache management

Similar Documents

Publication Publication Date Title
KR101114796B1 (en) Method for managing image using thumnail in digital living network alliance system and the system
US9712470B2 (en) Server apparatus enabling posting of messages, method of controlling the same, information processing apparatus, information processing system, and storage medium
JP2003177880A (en) Printing job managing device and printing job operating method
US9251288B2 (en) Thumbnail distribution system, server, client and program
US20070050500A1 (en) Network device for sharing multimedia data with other network devices existing on network and method therefor
JP4185706B2 (en) Center server and control method thereof
JP2008129729A (en) Information processor and control program
JP2008158695A (en) Information processing system and program for providing online service
JP5911378B2 (en) Document management server, computer program, and document management method
US7952734B2 (en) Image processor updating a master file stored in a file server, method of controlling the same, and a program product for processing images
JP2000071576A (en) Printer managing system and method for managing printer
JP2008090562A (en) Image projection device, image projection method, and program used in image projection device
JP2003186727A (en) File storage system
JP2007115137A (en) Data processor
JP2007219619A (en) Information management program, device, and method
JP2008140016A (en) Web system and display data processing method
JP2002116934A (en) Document management system
JP2009140363A (en) Information processor, information processing method, control program, and recording medium
JP2002132693A (en) Data communication method, data communication server, and data sharing program
JP2003196134A (en) Client-side system, server-side system and client-side program for information exchange system based on image, and storage medium with exchanging information data stored therein
JP2008146676A (en) Center server and computer device
JP2002342286A (en) Electronic information management system and server and client
JP2011150423A (en) Web browser system and data update method
EP3296894B1 (en) Update managing device
JP2006340270A (en) Image forming apparatus