JP2006011787A - Database use system and database use program - Google Patents
Database use system and database use program Download PDFInfo
- Publication number
- JP2006011787A JP2006011787A JP2004187597A JP2004187597A JP2006011787A JP 2006011787 A JP2006011787 A JP 2006011787A JP 2004187597 A JP2004187597 A JP 2004187597A JP 2004187597 A JP2004187597 A JP 2004187597A JP 2006011787 A JP2006011787 A JP 2006011787A
- Authority
- JP
- Japan
- Prior art keywords
- data
- cache
- client terminal
- screen
- function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
この発明はデータベース利用技術に係り、特に、クライアント端末とデータベースサーバとの間にフロントエンドサーバを設置し、このフロントエンドサーバを介してクライアント端末のWebブラウザプログラムからデータベースサーバ内の登録データを利用する仕組みを備えたデータベース利用システム及びデータベース利用プログラムに関する。 The present invention relates to a database utilization technique, and in particular, a front-end server is installed between a client terminal and a database server, and registered data in the database server is used from a Web browser program of the client terminal via the front-end server. The present invention relates to a database utilization system and a database utilization program having a mechanism.
データベースの利用形態として、単にデータの検索や表示を目的とした「参照系」と、データの修正や追加、削除を行う「登録系」とに大別することができる。
図12は従来の利用形態の一例を示すものであり、DB(Database)サーバ80の前段にWebサーバ機能及びAP(Application)サーバ機能を備えたフロントエンドサーバ82が設置され、インターネットやイントラネット等の通信ネットワーク84を介してこのサーバ82が多数のクライアント端末86と接続されている様子が描かれている。
各クライアント端末86にはWebブラウザプログラムがセットアップされており、このWebブラウザを通じてフロントエンドサーバ82に特定のデータベースに対する検索リクエストが送信されると、フロントエンドサーバ82は検索条件をDBサーバ80に渡し、検索処理を依頼する。
そして、DBサーバ80から検索結果が送信されると、これをフロントエンドサーバ82がWebファイルに加工した上で、クライアント端末86に送信する。
この結果ユーザは、クライアント端末86のディスプレイに表示された汎用のWebブラウザ上でデータの閲覧が可能となる(非特許文献1の「テーブルの一覧」参照)。
Database usage forms can be broadly divided into “reference systems” simply for the purpose of data search and display, and “registration systems” for correcting, adding, and deleting data.
FIG. 12 shows an example of a conventional usage form. A front-
Each
Then, when the search result is transmitted from the
As a result, the user can browse data on a general-purpose Web browser displayed on the display of the client terminal 86 (see “Table List” in Non-Patent Document 1).
これに対し、DBサーバ80内のデータに変更を加える業務については、登録系の処理に最適化された専用のアプリケーションプログラムを搭載したクライアント端末88が用いられる場合が多い(非特許文献2参照)。
このアプリケーションプログラムは、操作ボタンの配置や入力・表示欄の構成などの、いわゆるユーザインターフェイスの設計に適した第四世代言語、例えばVisual Basic(登録商標)等で一般にコーディングされる。
This application program is generally coded in a fourth generation language such as Visual Basic (registered trademark) suitable for designing a so-called user interface, such as the arrangement of operation buttons and the configuration of input / display fields.
元々、データベースの利用に関しては参照系及び登録系共に専用のアプリケーションプログラムをクライアント端末に搭載することによって実現されていたのであるが、インターネットを中心としたWebシステムの普及に伴い、設計の容易な参照系に関してはいち早くWebベースでの利用が進展してきたという経緯がある。
そして、Webシステムを通じたデータベースの参照利用が拡大するに従い、登録系と参照系のプログラムを別言語でコーディングすることや、個々のクライアント端末88に専用のアプリケーションプログラムを搭載することの非効率性が認識されるようになり、登録系の処理についてもWebベースで実現したいという要請が強まってきているのが現状である。
Originally, the use of the database was realized by installing a dedicated application program in the client terminal for both the reference system and the registration system. However, with the spread of the Web system centering on the Internet, the design can be referred to easily. As for the system, there is a history that the use of the web base has progressed quickly.
As database reference usage through the Web system expands, the inefficiencies of coding registration and reference programs in different languages and installing dedicated application programs on
しかしながら、汎用のWebブラウザプログラムには基本的に「頁(ページ)」という概念が存在しないため、登録処理用のWebフォームをディスプレイ上に表示させた場合に、レコードのリストを所定の行数で頁送りすることが困難であり、表示行数が固定された専用のアプリケーションプログラムの操作性に慣れたユーザに違和感を抱かせてしまうという問題がある。
実際、レコードの件数が多い場合には、非特許文献1の「フォームのフィールド指定」画面より明かなように、最終行の下に配置された「登録」や「削除」といった操作ボタンを表示させるために画面の縦スクロールを何度も行う必要が生じ、ユーザは大きなストレスを感じることとなる。
また、一行に複数のレコードに係るデータを横方向に配列させて、一頁に表示されるデータ量を増やすことがデータの一覧性を高める上で望ましい場合があるが、汎用のWebブラウザプログラムでこれを実現することは困難であり、縦方向に各レコードを並べてリスト表示するしかなかった。
もちろん、このようなWebシステムにおけるユーザインターフェイスの問題は参照系の利用形態でも同様に生じるが、登録業務を行う場合により顕著に認識されることとなる。
However, general-purpose web browser programs basically do not have the concept of “page”, so when a registration form web form is displayed on a display, a list of records is displayed with a predetermined number of lines. There is a problem that it is difficult to turn the page, and the user who is used to the operability of the dedicated application program with a fixed number of display lines is made uncomfortable.
Actually, when the number of records is large, operation buttons such as “registration” and “deletion” arranged below the last line are displayed as is clear from the “form field specification” screen of Non-Patent Document 1. Therefore, it is necessary to perform vertical scrolling of the screen many times, and the user feels great stress.
In addition, it may be desirable to increase the amount of data displayed on one page by arranging data related to multiple records in one row in order to improve the data listing. It was difficult to realize this, and there was no choice but to display the records side by side in the vertical direction.
Of course, such a user interface problem in the Web system occurs in the same manner in the reference system, but it will be recognized more prominently when performing registration work.
さらに、クライアント端末とサーバ間での情報のやり取りが増えるため、クライアント端末の数が増えるに従ってネットワークに大きな負荷を与えるようになる。
特に、DBサーバに格納されたレコードが多くのデータ項目を備えている場合に、その一部のみをクライアント端末上で表示させることは、ヒドゥン(hidden)という技術を使うことによって従来も可能であったが、これは非表示のデータであってもクライアント端末とサーバ間を往復することが前提となるため、データ通信量の増大を招いていた。
Furthermore, since the exchange of information between the client terminal and the server increases, the load on the network increases as the number of client terminals increases.
In particular, when a record stored in the DB server has many data items, it is possible to display only a part of the data on the client terminal by using a technique called hidden. However, even if it is non-displayed data, it is assumed that the data is reciprocated between the client terminal and the server, resulting in an increase in the amount of data communication.
この発明は、上記の問題点を解決するために案出されたものであり、Webベースで参照系及び登録系の処理を実現することを前提としながらも、クライアント端末側のユーザインターフェイスを専用アプリケーションプログラムと同様のレベルに高めることができると共に、サーバとクライアント端末間のデータ通信量の低減を実現できるデータベース利用技術を提供することを目的としている。 The present invention has been devised to solve the above-described problems, and it is assumed that a reference system and a registration system process are realized on a Web basis, but a user interface on the client terminal side is used as a dedicated application. An object of the present invention is to provide a database utilization technique that can be increased to the same level as that of a program and that can reduce the amount of data communication between a server and a client terminal.
上記の目的を達成するため、請求項1に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成する少なくとも一部のデータを、画面デザインが規定する配列ルールに従ってマトリクス状に振り分け、一行に複数のレコードに属するデータが配置されたデータリストに変換する機能と、このデータリストを第1のキャッシュに格納する機能と、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。 In order to achieve the above object, a database utilization system according to claim 1 is a database utilization system comprising a front-end server interposed between a database server and a client terminal, wherein the front-end server includes A function that stores a list of records transmitted from the database server in a buffer and at least a part of the data constituting the record is distributed in a matrix form according to an array rule defined by the screen design, and belongs to a plurality of records in one line A function for converting to a data list in which data is arranged, a function for storing this data list in the first cache, and a data list for one page having the number of lines defined by the screen design are extracted from the first cache. , The function of storing in the second cache, and the second cache The data list is taken out and filled in a template reflecting the screen design to generate a Web file for screen display, the function to send this Web file to the client terminal, and the line on the screen being displayed from the client terminal Alternatively, when a page scroll event is transmitted, a function of retrieving a data list corresponding to each line to be displayed on the screen after scrolling from the first cache and storing the data list in the second cache; It is characterized in that it has a function of retrieving a data list in the cache, filling the template, generating a Web file for screen display after scrolling, and a function of transmitting the Web file to a client terminal.
請求項2に記載したデータベース利用システムは、請求項1のシステムを前提とし、さらに上記フロントエンドサーバが、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを、レコード単位でデータを一列に配列させたデータリストに変換する機能と、このデータリストをバッファに格納する機能と、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能とを備えたことを特徴としている。 The database utilization system described in claim 2 is based on the system of claim 1, and further, when the front-end server transmits information indicating that the specific data in the screen has been corrected from the client terminal. When a function for correcting the corresponding data in the first cache and information indicating that the data has been added from the client terminal are transmitted to the data list in the first cache. A function of adding corresponding data, and a function of converting a data list in the first cache into a data list in which data is arranged in a row in units of records when a data update request is transmitted from a client terminal; The function to store this data list in the buffer and the data list in this buffer Sent to over database server is characterized by comprising a function to request the update of data.
請求項3に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータまたはデータの組合せを抽出する機能と、このデータまたはデータの組合せからなるデータリストを第1のキャッシュに格納する機能と、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。 The database utilization system according to claim 3 is a database utilization system including a front-end server interposed between a database server and a client terminal, wherein the front-end server transmits a record transmitted from the database server. A function for storing a list of data in a buffer, a function for extracting data or a combination of data related to a data item that is required to be displayed on the screen design from the data constituting the record, and a combination of the data or data A function for storing a data list consisting of: in the first cache; a function for taking out a data list for one page having the number of lines specified by the screen design from the first cache and storing it in the second cache; 2 The data list in the cache was taken out and the screen design was reflected. A function to generate a web file for screen display by filling a template, a function to send this web file to the client terminal, and a line or page scroll event on the screen being displayed from the client terminal A function of taking out a data list corresponding to each line to be displayed on the screen after scrolling from the first cache, storing the data list in the second cache, and taking out the data list in the second cache; And a function for generating a Web file for screen display after scrolling and a function for transmitting the Web file to a client terminal.
請求項4に記載したデータベース利用システムは、請求項3のシステムを前提とし、さらに上記フロントエンドサーバが、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストに対し、欠落しているデータ項目を補充する機能と、このデータリストをバッファに格納する機能と、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能とを備えたことを特徴としている。 The database utilization system described in claim 4 is based on the system of claim 3, and further, when the front-end server receives information indicating that the specific data in the screen has been corrected from the client terminal. When a function for correcting the corresponding data in the first cache and information indicating that the data has been added from the client terminal are transmitted to the data list in the first cache. A function for adding corresponding data, a function for supplementing a missing data item to the data list in the first cache when a data update request is transmitted from the client terminal, and The function to store in the buffer and the data list in this buffer are sent to the database server It is characterized by having a function to request the update of data.
請求項5に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する機能と、この変換済みのデータからなるデータリストを第1のキャッシュに格納する機能と、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。 The database utilization system according to claim 5 is a database utilization system including a front-end server interposed between a database server and a client terminal, wherein the front-end server transmits a record transmitted from the database server. A function for storing a list of data in a buffer, a function for converting at least a part of data constituting the record into a general-purpose data type, and a function for storing a data list composed of the converted data in a first cache And taking out the data list for one page having the number of lines specified by the screen design from the first cache, storing it in the second cache, and taking out the data list in the second cache, Function to generate a web file for screen display by filling the reflected template When the web file is transmitted to the client terminal and a scroll event of a line or page on the currently displayed screen is transmitted from the client terminal, it should be displayed on the screen after the scroll from the first cache. A function for retrieving the data list corresponding to each line and storing it in the second cache, and a function for retrieving the data list in the second cache, filling the template, and generating a Web file for screen display after scrolling And a function of transmitting the Web file to the client terminal.
請求項6に記載したデータベース利用システムは、請求項5のシステムを前提とし、さらに上記フロントエンドサーバが、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを構成している各データを、それぞれのデータ項目固有のデータ型に変換する機能と、この変換済みのデータからなるデータリストをバッファに格納する機能と、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能とを備えたことを特徴としている。 The database utilization system according to claim 6 is based on the system according to claim 5, and further, when the front-end server transmits information indicating that the specific data in the screen has been modified from the client terminal. When a function for correcting the corresponding data in the first cache and information indicating that the data has been added from the client terminal are transmitted to the data list in the first cache. A function to add corresponding data and when a data update request is sent from the client terminal, each data constituting the data list in the first cache is converted to a data type specific to each data item. A function to store the data list of the converted data in a buffer, Transmits the data list in the buffer to the database server, is characterized by comprising a function to request the update of data.
請求項7に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成する少なくとも一部のデータに対してチェックボックスを付加する機能と、このチェックボックスが付加されたデータのリストを第1のキャッシュに格納する機能と、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の画面において特定のデータに対しチェックが入力されたことを示す情報が送信された場合に、第1のキャッシュ内における対応のデータに対してチェック入力済みの情報を記録する機能と、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。
上記「チェックボックス」は、画面上でデータを選択するためのGUI部品を広く含む概念であり、狭義のチェックボックスの他、ラジオボタン等を含む概念である(以下同様)。
The database utilization system according to claim 7 is a database utilization system comprising a front-end server interposed between a database server and a client terminal, wherein the front-end server transmits a record transmitted from the database server. A function for storing a list of data in a buffer, a function for adding a check box to at least a part of data constituting the record, and a function for storing a list of data to which the check box is added in a first cache And taking out the data list for one page having the number of lines specified by the screen design from the first cache, storing it in the second cache, and taking out the data list in the second cache, Fill the reflected template into a web file for screen display The first cache when information indicating that a check has been input for specific data on the screen being displayed is transmitted from the client terminal. If the function for recording the check input information for the corresponding data in the screen and the scroll event of the line or page on the screen being displayed from the client terminal are transmitted from the first cache after the scroll A data list corresponding to each line to be displayed on the screen is taken out and stored in the second cache, and a data list in the second cache is taken out, filled in the template, and used for screen display after scrolling. A function to generate a Web file and a function to send this Web file to the client terminal It is characterized in that was example.
The “check box” is a concept that widely includes GUI parts for selecting data on the screen, and includes a radio button and the like in addition to a check box in a narrow sense (the same applies hereinafter).
請求項8に記載したデータベース利用システムは、請求項7のシステムを前提とし、さらに上記フロントエンドサーバが、クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中で、チェック入力済みのデータを抽出する機能と、当該データからチェックボックスを除去する機能と、当該データをデータベースサーバに送信し、その削除を依頼する機能とを備えたことを特徴としている。 The database utilization system described in claim 8 is based on the system of claim 7, and further, when the front-end server transmits a data deletion request from a client terminal, the data list in the first cache is stored. Among them, it is characterized by having a function of extracting data that has been checked in, a function of removing a check box from the data, and a function of sending the data to the database server and requesting the deletion.
請求項9に記載したデータベース利用システムは、請求項7のシステムを前提とし、さらに上記フロントエンドサーバが、クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中でチェックが入力されていないデータを抽出する機能と、当該データをデータベースサーバに送信し、その削除を依頼する機能とを備えたことを特徴としている。 The database utilization system according to claim 9 is based on the system according to claim 7, and further, when the front-end server transmits a data deletion request from the client terminal, the data list in the first cache is stored. It is characterized by having a function of extracting data for which no check is input, and a function of transmitting the data to the database server and requesting the deletion.
請求項10に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成する少なくとも一部のデータを、画面デザインが規定する配列ルールに従ってマトリクス状に振り分け、一行に複数のレコードに属するデータが配置されたデータリストに変換する手段、このデータリストを第1のキャッシュに格納する手段、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。
The database use program according to
請求項11に記載したデータベース利用プログラムは、請求項10のプログラムを前提とし、さらに上記フロントエンドサーバを、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを、レコード単位でデータを一列に配列させたデータリストに変換する手段、このデータリストをバッファに格納する手段、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段として機能させることを特徴としている。
The database utilization program according to
請求項12に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータまたはデータの組合せを抽出する手段、このデータまたはデータの組合せからなるデータリストを第1のキャッシュに格納する手段、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。
The database use program according to
請求項13に記載したデータベース利用プログラムは、請求項12のプログラムを前提とし、さらに上記フロントエンドサーバを、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストに対し、欠落しているデータ項目を補充する手段、このデータリストをバッファに格納する手段、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段として機能させることを特徴としている。
The database utilization program according to claim 13 is based on the program of
請求項14に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する手段、この変換済みのデータからなるデータリストを第1のキャッシュに格納する手段、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。
The database use program according to
請求項15に記載したデータベース利用プログラムは、請求項14のプログラムを前提とし、さらに上記フロントエンドサーバを、クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを構成している各データを、それぞれのデータ項目固有のデータ型に変換する手段、この変換済みのデータからなるデータリストをバッファに格納する手段、このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段として機能させることを特徴としている。
The database utilization program according to claim 15 is based on the program of
請求項16に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成する少なくとも一部のデータに対してチェックボックスを付加する手段、このチェックボックスが付加されたデータのリストを第1のキャッシュに格納する手段、第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の画面において特定のデータに対しチェックが入力されたことを示す情報が送信された場合に、第1のキャッシュ内における対応のデータに対してチェック入力済みの情報を記録する手段、クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。
The database utilization program according to
請求項17に記載したデータベース利用プログラムは、請求項16のプログラムを前提とし、さらに上記フロントエンドサーバを、クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中で、チェック入力済みのデータを抽出する手段、当該データからチェックボックスを除去する手段、当該データをデータベースサーバに送信し、その削除を依頼する手段として機能させることを特徴としている。
The database utilization program according to claim 17 is based on the program according to
請求項18に記載したデータベース利用プログラムは、請求項16のプログラムを前提とし、さらに上記フロントエンドサーバを、クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中でチェックが入力されていないデータを抽出する手段、当該データをデータベースサーバに送信し、その削除を依頼する手段として機能させることを特徴としている。
The database utilization program according to
請求項1のデータベース利用システム及び請求項10のデータベース利用プログラムにあっては、データベースサーバから渡され、所定の変換処理を経たデータリストがキャッシュ内に格納され、画面デザインで規定された行数毎に頁として管理されており、1頁分のデータリストがWebファイルとしてクライアント端末に送信されるため、クライアント端末のWebブラウザ上において決められた行数の頁単位でデータを一覧表示させることが可能となる。
また、このようにフロントエンドサーバからクライアント端末に対し1頁単位でデータが送信され、従来のように全データリストが一度に送信されることがないため、その分フロントエンドサーバとクライアント端末間のデータ通信量を低減することが可能となる。
さらに、データベースサーバから送信されたレコード中の必要なデータを、画面デザインに応じてマトリクス状に配置することができるため、Webファイルをクライアント端末のディスプレイに表示させた際の一覧性を高めることが可能となる。
In the database utilization system according to claim 1 and the database utilization program according to
Further, since data is transmitted in units of one page from the front end server to the client terminal in this way and the entire data list is not transmitted at a time as in the prior art, the corresponding amount between the front end server and the client terminal. The amount of data communication can be reduced.
In addition, since the necessary data in the records sent from the database server can be arranged in a matrix according to the screen design, it is possible to improve the listability when Web files are displayed on the client terminal display. It becomes possible.
請求項2のデータベース利用システム及び請求項11のデータベース利用プログラムによれば、修正あるいは追加がなされたデータリストに基づいてデータベースサーバにデータの更新を依頼する際には、マトリクス状に配置されたデータが元の配列に戻されるため、データベースサーバにおけるデータ構造との整合性を確保することができる。
According to the database utilization system of claim 2 and the database utilization program of
請求項3のデータベース利用システム及び請求項12のデータベース利用プログラムの場合も、クライアント端末のWebブラウザ上において決められた行数の頁単位でデータを一覧表示させることができると共に、データが1頁単位でフロントエンドサーバからクライアント端末に送信されることによる通信量の抑制効果を発揮できる。
しかも、データベースサーバから渡されたレコードの中で、画面デザイン上表示不要のデータは事前に排除され、表示が必要なデータのみがクライアント端末に送信されるため、通信量の低減効果をさらに高めることができる。
In the database utilization system according to claim 3 and the database utilization program according to
In addition, in the records passed from the database server, data that does not need to be displayed due to screen design is eliminated in advance, and only data that needs to be displayed is sent to the client terminal, further enhancing the effect of reducing the amount of communication. Can do.
請求項4のデータベース利用システム及び請求項13のデータベース利用プログラムによれば、修正あるいは追加がなされたデータリストに基づいてデータベースサーバにデータの更新を依頼する際には、欠落しているデータ項目が補われるため、データベースサーバにおけるデータ構造との整合性を確保することができる。 According to the database utilization system of claim 4 and the database utilization program of claim 13, when the database server is requested to update data based on the corrected or added data list, the missing data item is Therefore, consistency with the data structure in the database server can be ensured.
請求項5のデータベース利用システム及び請求項14のデータベース利用プログラムの場合も、クライアント端末のWebブラウザ上において決められた行数の頁単位でデータを一覧表示させることができると共に、データが1頁単位でフロントエンドサーバからクライアント端末に送信されることによる通信量の抑制効果を発揮できる。
しかも、データベースサーバから渡されたレコードが様々な型のデータを含んでいる場合であっても、事前に汎用的なデータ型に変換されるため、後続の処理を簡素化することが可能となる。
In the case of the database utilization system according to claim 5 and the database utilization program according to
Moreover, even if the record passed from the database server includes various types of data, it is converted into a general-purpose data type in advance, so that subsequent processing can be simplified. .
請求項6のデータベース利用システム及び請求項15のデータベース利用プログラムによれば、修正あるいは追加がなされたデータリストに基づいてデータベースサーバにデータの更新を依頼する際には、汎用のデータ型から各データ項目固有のデータ型に戻されるため、データベースサーバにおけるデータ構造との整合性を確保することができる。 According to the database utilization system of claim 6 and the database utilization program of claim 15, when requesting the database server to update data based on the data list that has been modified or added, each data from a general-purpose data type Since the data type is returned to the item-specific data type, consistency with the data structure in the database server can be ensured.
請求項7のデータベース利用システム及び請求項16のデータベース利用プログラムの場合も、クライアント端末のWebブラウザ上において決められた行数の頁単位でデータを一覧表示させることができると共に、データが1頁単位でフロントエンドサーバからクライアント端末に送信されることによる通信量の抑制効果を発揮できる。
しかも、画面デザイン上チェックボックスを付することが求められているデータあるいはデータの組合せに対してチェックボックス付のデータ型に変換することができるため、クライアント端末のWebブラウザ上で当該データに関してチェックボックスを表示することが可能となる。
In the case of the database utilization system according to claim 7 and the database utilization program according to
Moreover, since data or a combination of data that is required to have a check box on the screen design can be converted to a data type with a check box, a check box for the data on the Web browser of the client terminal Can be displayed.
請求項8のデータベース利用システム及び請求項17のデータベース利用プログラムによれば、チェックボックスにチェックを入れることによって削除対象を特定することが画面デザインで規定されている場合に、チェック入力済みのデータのみを抽出してデータベースサーバに送信し、その削除を依頼することができる。この際、チェックボックスが削除対象データから除去されるため、データベースサーバにおけるデータ構造との整合性を確保することができる。 According to the database utilization system of claim 8 and the database utilization program of claim 17, when the screen design defines that the deletion target is specified by checking the check box, only the data that has been checked and entered Can be extracted and sent to the database server to request deletion. At this time, since the check box is removed from the deletion target data, consistency with the data structure in the database server can be ensured.
請求項9のデータベース利用システム及び請求項18のデータベース利用プログラムによれば、チェックボックスにチェックを入れないことによって削除対象を特定することが画面デザインで規定されている場合に、チェックが入力されていないデータのみを抽出してデータベースサーバに送信し、その削除を依頼することができる。
According to the database utilization system of claim 9 and the database utilization program of
図1は、この発明に係るデータベース利用システム10の全体構成を示す概念図であり、多数のクライアント端末12とDBサーバ14との間に、Webサーバ機能及びAPサーバ機能を備えたフロントエンドサーバ16が配置されている。
各クライアント端末12とフロントエンドサーバ16とは、インターネットやイントラネット等の通信ネットワーク18を介して接続されている。
また、フロントエンドサーバ16とDBサーバ14との間も、LANを介してネットワーク接続されている。
各クライアント端末12には、汎用のWebブラウザプログラムがセットアップされている。
FIG. 1 is a conceptual diagram showing the overall configuration of a
Each
The front-
Each
図2は、クライアント端末12及びフロントエンドサーバ16の機能構成を示すブロック図である。
まずクライアント端末12は、マウスやキーボード等の入力装置20と、ディスプレイ22とが接続されたPC等のコンピュータよりなり、処理要求部24と、Webページ表示部26とを備えている。
ここで、処理要求部24及びWebページ表示部26は、クライアント端末12のCPUが、汎用のWebブラウザプログラム等に従って必要な処理を実行することによって実現される。
FIG. 2 is a block diagram showing functional configurations of the
First, the
Here, the
フロントエンドサーバ16は、制御部30と、画面生成部32と、データ変換部34と、業務処理部36と、第1のキャッシュ38と、第2のキャッシュ40と、バッファ42とを備えている。
詳細は後述するが、ユーザがクライアント端末12からフロントエンドサーバ16にアクセスし、Webブラウザ上に表示されるサービスメニューの中から一つのサービスを選択すると、サーバ16側で当該サービス専用のアプリケーションプログラムX1が起動され、サーバ16のCPUがこれに従って必要な処理を実行することによって上記の制御部30、画面生成部32、データ変換部34、業務処理部36が実現される。
また、ユーザが他のサービスを選択した場合には、他のアプリケーションプログラムX2,X3…が別個に起動し、当該サービス用に最適化された制御部30、画面生成部32、データ変換部34、及び業務処理部36が同時並行的に出現することとなる。
上記第1のキャッシュ38、第2のキャッシュ40、及びバッファ42は、上記のアプリケーションプログラムにより、フロントエンドサーバ16のメモリ空間上に設定される。
The front-
Although details will be described later, when the user accesses the front-
Further, when the user selects another service, other application programs X2, X3,... Are started separately, and the
The
以下、図3及び図4のフローチャートに従い、このシステム10を用いて登録データの更新を行う場合の処理手順について説明する。
まず、ユーザがクライアント端末12からフロントエンドサーバ16にアクセスし、ID及びパスワードの入力を伴う認証ステップをクリアすると、サーバ16からメニュー表示用のWebファイル(Htmlファイル等)が送信され(図3のS10)、Webブラウザ上に当該ユーザが利用可能なサービスのメニュー画面(図示省略)が表示される(S11)。
このメニューの中からユーザが一つのサービス、例えば「マスタメンテナンス・店舗更新」を選択すると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し当該サービスに係る利用画面の配信リクエストが送信される(S12)。
これを受けたフロントエンドサーバ16では、当該サービスに対応したアプリケーションプログラムX1が起動され(S13)、専用の制御部30、画面生成部32、データ変換部34、及び業務処理部36が形成されると共に、メモリ空間上に第1のキャッシュ38、第2のキャッシュ40、及びバッファ42が設定される。
In the following, a procedure for updating registered data using the
First, when the user accesses the front-
When the user selects one service, for example, “master maintenance / store update” from this menu, a delivery screen distribution request for the service is transmitted from the
In response to this, in the front-
つぎに、業務処理部36からDBサーバ14に対し、店舗情報の抽出リクエストが送信される(S14)。
そして、DBサーバ14から店舗データベース内に格納されているレコードのリストが送信されると、業務処理部36はこれをバッファ42に格納する(S15)。
Next, a store information extraction request is transmitted from the
When the list of records stored in the store database is transmitted from the
データ変換部34は、このバッファ42に格納された各レコードの構成データを、汎用のデータ型に変換した後(S16)、制御部30に出力する。
すなわち、一つのレコードには通常、ブール型、バイト型、文字型、日付型、整数型、文字列型等、異なるデータ型のデータが含まれているが、後段における処理を単純化するため、この段階でデータ変換部34はこれらを一律に文字列表示用の汎用的なデータ型に変換する。
この結果、制御部30及び画面生成部32はレコードに含まれる各データのデータ型を意識することなく処理することが可能となり、制御部30及び画面生成部32を実現するためのプログラムコードを簡素化することができる。
The
That is, one record usually contains data of different data types such as Boolean type, byte type, character type, date type, integer type, character string type, etc. At this stage, the
As a result, the
制御部30は、データ変換部34から受け取ったレコードリストを一旦第1のキャッシュ38に格納した後(S17)、画面デザインによって規定された1頁分のデータリスト(例えば10件分のデータ)を取り出し、第2のキャッシュ40に格納する(S18)。
The
画面生成部32は、第2のキャッシュ40からこの1頁分のデータリストを取り出し、これを当該サービス専用のテンプレートに充填することによって店舗情報更新画面用のWebファイルを生成し、クライアント端末12に送信する(S19)。
この結果、クライアント端末12のWebブラウザ上には、図5の(a)に示すように、店舗情報更新用画面50が表示される(S20)。
The
As a result, the store
この画面50の1頁目においては、全52件のレコードの中の10件分のみが表示されている。
また、各レコードは店舗コード、店舗名称、店舗よみ、電話番号、所在地、開店年月日のデータ項目を備えている。
On the first page of this
Each record includes data items of store code, store name, store read, telephone number, location, and date of opening.
各データの表示欄は入力可能フィールドとなされているため、ユーザが例えば店舗コード:006の「店舗よみ」のデータを修正する場合、該当の表示欄にカーソルを合わせ、正しい読みを上書き入力する(S21)。
つぎにユーザが次行スクロールボタン52をクリックすると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、1行分下にずらしたデータを表示する画面の配信リクエストが送信される(S22)。
Since the display column of each data is an inputable field, for example, when the user corrects the “store read” data of the store code: 006, the cursor is moved to the corresponding display column and the correct reading is overwritten ( S21).
Next, when the user clicks the next
このイベントを受け付けたフロントエンドサーバ16の制御部30は、まずクライアント端末12から送信された表示データによって第1のキャッシュ38内の該当データを上書きし、ユーザによる上記修正を反映させる(S23)。
つぎに制御部30は、1行分下にずらした頁を表示するためのデータリストを第1のキャッシュ38から抽出し、第2のキャッシュ40に格納する(S24)。
画面生成部32は、これらのデータを上記と同様のテンプレートに充填すると共に、件数表記を更新させたWebファイルを生成し、クライアント端末12に送信する(S25)。
この結果、図5(b)に示すように、頁を1行分下にスクロールさせた画面50がクライアント端末12のWebブラウザ上に表示される(図4のS26)。
Upon receiving this event, the
Next, the
The
As a result, as shown in FIG. 5B, a
新規レコードの追加を行う場合、ユーザは次頁スクロールボタン54を5回クリックし、最終頁(6頁)の表示を求める。
この結果、クライアント端末12の処理要求部24から最終頁の配信要求がフロントエンドサーバ16に送信され(S27)、これを受け付けた制御部30は、第1のキャッシュ38から最終頁に表示されるべきデータリストを取り出し、第2のキャッシュ40に格納する(S28)。
画面生成部32は、これらのデータを上記テンプレートに充填すると共に、件数表記及び頁数表記を更新させたWebファイルを生成し、クライアント端末12に送信する(S29)。
この結果、図6に示すように、最終頁画面50がクライアント端末12のWebブラウザ上に表示される(S30)。
When adding a new record, the user clicks the next
As a result, a delivery request for the final page is transmitted from the
The
As a result, as shown in FIG. 6, the
ユーザは、この最終頁における最終レコードの次行に設けられた空白の入力フィールド56に、新たなレコードの各データ(店舗コード、店舗名称、店舗よみ等)をタイプ入力する(S31)。
必要なレコードの追加を終えたユーザが、前頁スクロールボタン58をクリックすると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、1頁分上にずらしたデータリストを備えた画面の配信リクエストが送信される(S32)。
The user types in each data (store code, store name, store read, etc.) of the new record into the
When the user who has finished adding the necessary records clicks the previous
このイベントを受け付けた制御部30は、まずクライアント端末12から送信された追加データを第1のキャッシュ38のデータリストに挿入する(S33)。
同時に、制御部30は1頁分上にずらした頁を表示するためのデータリストを第1のキャッシュ38から取り出し、第2のキャッシュ40に格納する(S34)。
画面生成部32は、これらのデータを上記テンプレートに充填すると共に、頁数表記を更新させたWebファイルを生成し、クライアント端末12に送信する(S35)。
この結果、図示は省略したが、1頁上にスクロールさせた画面50がクライアント端末12のWebブラウザ上に表示される(S36)。
Upon receiving this event, the
At the same time, the
The
As a result, although not shown, the
必要なデータの修正及び追加を終えたユーザが更新ボタン60をクリックすると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対して店舗情報の更新リクエストが送信される(S37)。
このイベントを受け付けた制御部30は、第1のキャッシュ38のデータリストを取り出して、データ変換部34に渡す(S38)。
データ変換部34は、このデータリストに含まれる各データの型を、汎用的なデータ型からそれぞれのデータ項目固有のデータ型に変換し、バッファ42に格納する(S39)。
When the user who has finished correcting and adding necessary data clicks the
Upon receiving this event, the
The
業務処理部36は、このバッファ42のデータリストをDBサーバ14に送信し、データの更新を依頼する(S40)。
これを受けたDBサーバ14は、業務処理部36から受け取ったデータリストによって店舗データベースを更新する。
The
Receiving this, the
上記のように、制御部30は第1のキャッシュ38に格納したデータリストの中から、画面デザインで規定された1頁の行数分のデータリストを切り出して第2のキャッシュ40に格納し、これを画面生成部32が取り出して表示画面(Webファイル)を生成し、1頁単位で順次クライアント端末12に送信するように構成したため、Webブラウザ上では常に決められた行数分のデータリストが表示され、図5及び図6に示したように、終了ボタン62や更新ボタン60の位置も画面50上で固定されることとなる。
この結果、従来の専用アプリケーションプログラムで画面を生成した場合と同様の、見やすいユーザインタフェイスを実現できる。
As described above, the
As a result, an easy-to-view user interface similar to the case where a screen is generated by a conventional dedicated application program can be realized.
上記にあっては、ユーザが行あるいは頁のスクロールを行った際に、データの修正あるいは追加が第1のキャッシュ38に反映される例を示したが、修正あるいは追加直後に更新ボタン60をクリックした場合には、その改変が第1のキャッシュ38に反映されると同時に、DBサーバ14における更新処理が実行されることとなる。
In the above example, when the user scrolls the line or page, the correction or addition of data is reflected in the
つぎに、図7及び図8のフローチャートに従い、ユーザが店舗情報の削除を行う場合の処理手順について説明する。
すなわち、ユーザが上記のメニュー画面において「マスタメンテナンス・店舗削除」を選択すると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、当該サービスに係る利用画面の配信リクエストが送信される(図7のS50)。
これを受けたフロントエンドサーバ16では、当該サービスに対応したアプリケーションプログラムが起動され(S51)、専用の制御部30、画面生成部32、データ変換部34、及び業務処理部36が形成されると共に、メモリ空間上に第1のキャッシュ38、第2のキャッシュ40及びバッファ42が設定される。
Next, a processing procedure when the user deletes store information will be described with reference to the flowcharts of FIGS.
That is, when the user selects “master maintenance / store deletion” on the above menu screen, a processing screen distribution request for the service is transmitted from the
In response to this, the front-
つぎに、業務処理部36からDBサーバ14に対し、店舗情報の抽出リクエストが送信される(S52)。
そして、DBサーバ14から店舗データベース内に格納されているレコードのリストが送信されると、業務処理部36はこれをバッファ42に格納する(S53)。
Next, a store information extraction request is transmitted from the
When the list of records stored in the store database is transmitted from the
データ変換部34は、このバッファ42に格納された各レコードの構成データを、上記と同様、汎用のデータ型に変換する(S54)。
つぎにデータ変換部34は、各レコードを構成しているデータ項目の中から、店舗削除用画面に表示すべきデータ項目である「店舗コード」及び「店舗名称」に係るデータのみを抽出すると共に(S55)、このデータの組合せに対して選択用のチェックボックスを付加する(S56)。
さらにデータ変換部34は、店舗削除用画面のデザインが要求する振り分けルールに従って各データの組合せをマトリクス状に配列させ(S57)、1行に複数のレコードに係るデータが含まれるデータリストを生成する。
The
Next, the
Further, the
データ変換部34からこの変換済みのデータリストを受け取った制御部30は、これを第1のキャッシュ38に格納した後(S58)、第1のキャッシュ38内のデータリスト中から1頁分のデータリスト(例えば10行分のデータ)を取り出し、第2のキャッシュ40に格納する(S59)。
The
画面生成部32は、この第2のキャッシュ40のデータリストを取り出し、これを店舗削除画面専用のテンプレートに充填することによってWebファイルを生成し、クライアント端末12に送信する(S60)。
この結果、図9に示すように、クライアント端末12のWebブラウザ上には、店舗削除用の画面64が表示される(S61)。
The
As a result, as shown in FIG. 9, a
この画面64は、1頁当たり10行のデータリストを備えており、また1行当たり5件のレコードに係る店舗情報(店舗コード及び店舗名称の組合せ)が含まれている。
このため、この画面64の1頁目においては、店舗コード001〜050までの計50件の店舗情報が一覧表示されている。
また、各店舗情報には、選択用のチェックボックス66が付加されている。
This
Therefore, on the first page of this
In addition, a
これに対し、ユーザが削除を希望する店舗情報のチェックボックス66にチェックを入れ(S62)、次行スクロールボタン68をクリックすると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、1行分下にずらしたデータリストを備えた画面の配信リクエストが送信される(S63)。
On the other hand, when the user checks the store
このイベントを受け付けた制御部30は、第1のキャッシュ38内に格納された対応のデータについてチェック済みの情報を付加する(図8のS64)。
つぎに制御部30は、1行分下にずらした頁を表示するためのデータリスト(10行分)を第1のキャッシュ38から取り出し、第2のキャッシュ40に格納する(S65)。
画面生成部32は、これらのデータを上記と同様のテンプレートに充填すると共に、件数表記を更新させたWebファイルを生成し、クライアント端末12に送信する(S66)。
この結果、図示は省略したが、1行分下にスクロールさせた頁を備えた画面64が、クライアント端末12のWebブラウザ上に表示される(S67)。
Upon receiving this event, the
Next, the
The
As a result, although not shown, a
必要なチェックボックス66に対するチェック入れを完了したユーザが削除ボタン70をクリックすると、クライアント端末12の処理要求部24からフロントエンドサーバ16に対してデータの削除要求が送信される(S68)。
このイベントを受け付けた制御部30は、第1のキャッシュ38のデータリストをデータ変換部34に渡す(S69)。
When the user who has completed the check box for the
Upon receiving this event, the
これに対しデータ変換部34は、各データリストを元の配列、すなわち個々の店舗情報がレコード単位で一列に配列された状態のデータリストに変換する(S70)。
つぎにデータ変換部34は、このデータリストに含まれる各データの型を、汎用的なデータ型からそれぞれのデータ項目固有のデータ型に変換する(S71)。
つぎにデータ変換部34は、欠落している「店舗よみ」、「電話番号」等のデータ項目を各店舗情報に補充し、元のレコードを復元する(S72)。
つぎにデータ変換部34は、チェックボックスにチェックが入っている削除対象のレコードのみを残し、他のレコードを削除する(S73)。
最後にデータ変換部34は、上記の削除対象レコードからチェックボックスを取り除き、バッファ42に格納する(S74)。
On the other hand, the
Next, the
Next, the
Next, the
Finally, the
業務処理部36は、このバッファ42に格納された削除対象レコードをDBサーバ14に送信し、該当レコードの削除を依頼する(S75)。
これを受けたDBサーバ14は、該当レコードを店舗データベースから削除する。
The
Receiving this, the
上記のように、制御部30は第1のキャッシュ38に格納したデータリストの中から、画面デザインで規定された1頁の行数分のデータリストを切り出して第2のキャッシュ40に格納し、これを画面生成部32が取り出して表示画面(Webファイル)を生成し、1頁単位で順次クライアント端末12に送信するように構成したため、Webブラウザ上では常に決められた行数分のデータリストが表示され、図9に示したように、終了ボタン72や削除ボタン70の位置も画面64上で固定されることとなる。
この結果、従来の専用アプリケーションプログラムで画面を生成した場合と同様の、見やすいユーザインターフェイスを実現できる。
As described above, the
As a result, an easy-to-view user interface similar to the case where a screen is generated by a conventional dedicated application program can be realized.
また、上記のようにデータをマトリクス状に配列させることにより、データの一覧性を高めることが可能となる。
従来、Webブラウザ上で多数のデータを表示する場合には、レコード単位で縦方向に並べるしかなく、このため縦スクロールを頻繁に行う必要があった。
これに対し、このシステム10ではデータ変換部34によって予め複数のレコードに係るデータが一行に連結されて画面表示されるため、表示行数を抑制すると共にデータの一覧性を高めることが可能となる。
データをDBサーバ14に戻す際には、データ変換部34によって元の配列に戻されるため、DBサーバ14におけるデータ構造との整合性も確保される。
Further, by arranging the data in a matrix as described above, it is possible to improve the data listing.
Conventionally, when displaying a large amount of data on a Web browser, the data must be arranged in the vertical direction in units of records, and thus vertical scrolling has to be frequently performed.
On the other hand, in this
When returning the data to the
このデータの配列ルールは予め画面デザインによって規定されており、データ変換部34はこれに従って個々のデータあるいはデータの組合せをマトリクス状に配列させる。
図10は、図9に示した画面64における配列ルールを示すものであり、データの組合せαを10件単位で縦方向に並べて右方向に折返し、計5つの小リストを横方向に配置させることによって50件のデータを一覧表示させている。
この結果、表示頁の1行目は(01)、(11)、(21)、(31)、(41)の5件のレコードに係るデータを含み、10行目は(10)、(20)、(30)、(40)、(50)の5件のレコードに係るデータを含んでいる。
The data arrangement rule is defined in advance by the screen design, and the
FIG. 10 shows the arrangement rules on the
As a result, the first line of the display page contains data related to five records (01), (11), (21), (31), and (41), and the tenth line contains (10), (20 ), (30), (40), and (50).
これに対し、図11は他の配列ルールを示すものであり、データの組合せαを10件単位で横方向に並べて下方向に折返し、計5つの行を縦方向に配置させることによって50件のデータを1頁に表示させる例を示している。
この結果、表示頁の1行目は(01)〜(10)の10件のレコードに係るデータを含み、5行目は(41)〜(50)の10件のレコードに係るデータを含んでいる。
On the other hand, FIG. 11 shows another arrangement rule. By arranging the data combinations α in the horizontal direction in units of 10 and folding them downward, a total of 5 rows are arranged in the vertical direction. An example of displaying data on one page is shown.
As a result, the first line of the display page contains data related to 10 records (01) to (10), and the fifth line contains data related to 10 records (41) to (50). Yes.
また、このシステム10は上記のように、DBサーバ14から送信されたレコードの中で、画面デザイン上表示が要求されているデータ項目のみをデータ変換部34が事前に抽出し、これを制御部30及び画面生成部32を介してクライアント端末12に送信する方式を採用しており、非表示のデータがクライアント端末12に無駄に送信されることがないため、データ通信量を低減することができる。
クライアント端末12のWebブラウザ上で不要なデータ項目を非表示にすることは、これまでもヒドゥン(hidden)という技術を使うことで実現されていたが、この場合には非表示のデータであってもクライアント端末12とサーバ16間を往復することとなるため、その分データ通信量の増大を招いていた。
データをDBサーバ14に戻す際には、データ変換部34によって元のデータ項目が復元されるため、DBサーバ14におけるデータ構造との整合性も確保される。
Further, as described above, in the
Hiding unnecessary data items on the Web browser of the
When returning the data to the
さらに、DBサーバ14内のデータは元々チェックボックス付ではないため、画面デザインの関係でチェックボックスを付することが求められている場合には、上記のようにDBサーバ14から送信されたデータに対してデータ変換部34がチェックボックス付のデータに変換すると共に、DBサーバ14に戻す際には元の状態に戻すことが有効である。
Furthermore, since the data in the
なお、データ変換部34におけるS54〜S57の変換処理、及びS70〜S74の変換処理は、上記した順序に限定されるものではなく、必要に応じて順序を入れ替えることもできる。
Note that the conversion processing of S54 to S57 and the conversion processing of S70 to S74 in the
このシステム10の場合、各サービス毎に独自の画面デザイン(画面テンプレート)が設計され、それに合わせて制御部30や画面生成部32、データ変換部34の動作を変更する必要がある。
例えば、あるデータベースの削除画面について20行/頁の一覧表を設ける画面デザインを採用した場合、制御部30及び画面生成部32は、20件のデータを1頁として処理することが求められる。
また、削除対象を選択する方法として、上記のように削除したいレコードにチェックを入れるのではなく、残したいレコードにチェックを入れる方式の画面デザインを採用した場合、データ変換部34は制御部30から渡されたデータリストからチェックされていないデータを削除対象として抽出し、バッファ42に格納する必要がある。
In the case of this
For example, when a screen design that provides a list of 20 rows / pages for a deletion screen of a database is adopted, the
In addition, as a method of selecting a deletion target, when adopting a screen design in which a record to be deleted is not checked as described above but a record to be left is checked, the
これに対し、業務処理部36は画面デザインからは完全に切り離され、ただDBサーバ14に対してレコードの抽出を要求し、送信されたレコードをバッファ42に格納すると共に、データ変換部34によってバッファ42に格納されたレコードをDBサーバ14に渡して必要な更新や削除を依頼する処理に専念できる。
この結果、業務処理部36のプログラム構成を簡素化することができるため、そのコードの再利用性や安定性が向上する効果がある。
また、画面のデザインが変更になった場合も、画面生成部32が管理している画面テンプレートと、制御部30及びデータ変換部34のコードを修正すれば足り、業務処理部36のコードは修正する必要がない。
On the other hand, the
As a result, since the program configuration of the
Even if the screen design is changed, it is sufficient to correct the screen template managed by the
なお、制御部30や画面生成部32、データ変換部34を画面デザインに合わせてコーディングする際にも、各画面で共通する基本的な動作部分はアプリケーション基盤として事前に作り込んでおき、1頁当たりの行数やデータの選択方法、選択された場合の意味(チェックされたものを削除するのか、チェックされなかったものを削除するのか)といった部分についてのみ書き直せば済む。
特に、Java(登録商標)言語によって各部のコーディングを行う場合には、継承の仕組みを利用することによって簡単にアプリケーション基盤部分のコードを援用できるため、画面デザインの変更に伴うプログラムの修正が容易となる。
In addition, when coding the
In particular, when coding each part in the Java (registered trademark) language, the code of the application base part can be easily used by using the inheritance mechanism, which makes it easy to modify the program when the screen design changes. Become.
10 データベース利用システム
12 クライアント端末
14 DBサーバ
16 フロントエンドサーバ
18 通信ネットワーク
20 入力装置
22 ディスプレイ
24 処理要求部
26 Webページ表示部
30 制御部
32 画面生成部
34 データ変換部
36 業務処理部
38 第1のキャッシュ
40 第2のキャッシュ
42 バッファ
50 店舗情報更新用画面
52 次行スクロールボタン
54 次頁スクロールボタン
56 入力フィールド
58 前頁スクロールボタン
60 更新ボタン
62 終了ボタン
64 店舗情報削除用画面
66 チェックボックス
68 次行スクロールボタン
70 削除ボタン
72 終了ボタン
X1,X2,X3 アプリケーションプログラム
α データの組合せ
10 Database usage system
12 Client terminal
14 DB server
16 Front-end server
18 Communication network
20 Input device
22 display
24 Processing request section
26 Web page display area
30 Control unit
32 Screen generator
34 Data converter
36 Business Processing Department
38 First cache
40 Second cache
42 buffers
50 Store information update screen
52 Next line scroll button
54 Next page scroll button
56 Input fields
58 Previous page scroll button
60 Refresh button
62 Exit button
64 Screen for deleting store information
66 Check box
68 Next line scroll button
70 Delete button
72 Exit button
X1, X2, X3 Application program α Data combination
Claims (18)
上記フロントエンドサーバが、
データベースサーバから送信されたレコードのリストをバッファに格納する機能と、
上記レコードを構成する少なくとも一部のデータを、画面デザインが規定する配列ルールに従ってマトリクス状に振り分け、一行に複数のレコードに属するデータが配置されたデータリストに変換する機能と、
このデータリストを第1のキャッシュに格納する機能と、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
を備えたことを特徴とするデータベース利用システム。 A database utilization system comprising a front-end server interposed between a database server and a client terminal,
The front-end server
A function that stores a list of records sent from the database server in a buffer;
A function that sorts at least a part of data constituting the record into a matrix according to an array rule defined by the screen design, and converts the data into a data list in which data belonging to a plurality of records is arranged in one line;
A function of storing this data list in the first cache;
A function of taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
A function that takes out the data list in the second cache, fills it with a template reflecting the screen design, and generates a Web file for screen display;
A function to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. The function to store in
A function that takes out the data list in the second cache, fills the template, and generates a web file for screen display after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを、レコード単位でデータを一列に配列させたデータリストに変換する機能と、
このデータリストをバッファに格納する機能と、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能と、
を備えたことを特徴とする請求項1に記載のデータベース利用システム。 The front-end server
A function of performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
A function of adding data corresponding to the data list in the first cache when information indicating that data has been added is transmitted from the client terminal in the screen;
A function of converting a data list in the first cache into a data list in which data is arranged in a row in units of records when a data update request is transmitted from a client terminal;
The ability to store this data list in a buffer;
A function to send the data list in this buffer to the database server and request data update;
The database utilization system according to claim 1, further comprising:
上記フロントエンドサーバが、
データベースサーバから送信されたレコードのリストをバッファに格納する機能と、
上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータまたはデータの組合せを抽出する機能と、
このデータまたはデータの組合せからなるデータリストを第1のキャッシュに格納する機能と、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
を備えたことを特徴とするデータベース利用システム。 A database utilization system comprising a front-end server interposed between a database server and a client terminal,
The front-end server
A function that stores a list of records sent from the database server in a buffer;
A function of extracting data or a combination of data related to data items that are required to be displayed on the screen design from the data constituting the record,
A function of storing in the first cache a data list comprising this data or a combination of data;
A function of taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
A function that takes out the data list in the second cache, fills it with a template reflecting the screen design, and generates a Web file for screen display;
A function to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. The function to store in
A function that takes out the data list in the second cache, fills the template, and generates a web file for screen display after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストに対し、欠落しているデータ項目を補充する機能と、
このデータリストをバッファに格納する機能と、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能と、
を備えたことを特徴とする請求項3に記載のデータベース利用システム。 The front-end server
A function of performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
A function of adding data corresponding to the data list in the first cache when information indicating that data has been added is transmitted from the client terminal in the screen;
A function of supplementing a missing data item to the data list in the first cache when a data update request is transmitted from the client terminal;
The ability to store this data list in a buffer;
A function to send the data list in this buffer to the database server and request data update;
The database utilization system according to claim 3, further comprising:
上記フロントエンドサーバが、
データベースサーバから送信されたレコードのリストをバッファに格納する機能と、
上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する機能と、
この変換済みのデータからなるデータリストを第1のキャッシュに格納する機能と、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
を備えたことを特徴とするデータベース利用システム。 A database utilization system comprising a front-end server interposed between a database server and a client terminal,
The front-end server
A function that stores a list of records sent from the database server in a buffer;
A function for converting at least a part of data constituting the record into a general-purpose data type;
A function of storing the data list including the converted data in the first cache;
A function of taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
A function that takes out the data list in the second cache, fills it with a template reflecting the screen design, and generates a Web file for screen display;
A function to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. The function to store in
A function that takes out the data list in the second cache, fills the template, and generates a web file for screen display after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す機能と、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する機能と、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを構成している各データを、それぞれのデータ項目固有のデータ型に変換する機能と、
この変換済みのデータからなるデータリストをバッファに格納する機能と、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する機能と、
を備えたことを特徴とする請求項5に記載のデータベース利用システム。 The front-end server
A function of performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
A function of adding data corresponding to the data list in the first cache when information indicating that data has been added is transmitted from the client terminal in the screen;
A function of converting each data constituting the data list in the first cache into a data type specific to each data item when a data update request is transmitted from the client terminal;
A function for storing a data list of the converted data in a buffer;
A function to send the data list in this buffer to the database server and request data update;
The database utilization system according to claim 5, further comprising:
上記フロントエンドサーバが、
データベースサーバから送信されたレコードのリストをバッファに格納する機能と、
上記レコードを構成する少なくとも一部のデータに対してチェックボックスを付加する機能と、
このチェックボックスが付加されたデータのリストを第1のキャッシュに格納する機能と、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の画面において特定のデータに対しチェックが入力されたことを示す情報が送信された場合に、第1のキャッシュ内における対応のデータに対してチェック入力済みの情報を記録する機能と、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する機能と、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
を備えたことを特徴とするデータベース利用システム。 A database utilization system comprising a front-end server interposed between a database server and a client terminal,
The front-end server
A function that stores a list of records sent from the database server in a buffer;
A function of adding a check box to at least a part of data constituting the record;
A function of storing a list of data to which the check box is added in the first cache;
A function of taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
A function that takes out the data list in the second cache, fills it with a template reflecting the screen design, and generates a Web file for screen display;
A function to send this web file to the client terminal,
A function of recording check input information for corresponding data in the first cache when information indicating that a check is input for specific data is transmitted from the client terminal on the screen being displayed When,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. The function to store in
A function that takes out the data list in the second cache, fills the template, and generates a web file for screen display after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中で、チェック入力済みのデータを抽出する機能と、
当該データからチェックボックスを除去する機能と、
当該データをデータベースサーバに送信し、その削除を依頼する機能と、
を備えたことを特徴とする請求項7に記載のデータベース利用システム。 The front-end server
A function for extracting data that has already been checked in the data list in the first cache when a data deletion request is transmitted from the client terminal;
The ability to remove checkboxes from the data,
A function for sending the data to the database server and requesting the deletion;
The database utilization system according to claim 7, further comprising:
クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中でチェックが入力されていないデータを抽出する機能と、
当該データをデータベースサーバに送信し、その削除を依頼する機能と、
を備えたことを特徴とする請求項7に記載のデータベース利用システム。 The front-end server
A function for extracting data for which no check is entered in the data list in the first cache when a data deletion request is transmitted from the client terminal;
A function for sending the data to the database server and requesting the deletion;
The database utilization system according to claim 7, further comprising:
上記フロントエンドサーバを、
データベースサーバから送信されたレコードのリストをバッファに格納する手段、
上記レコードを構成する少なくとも一部のデータを、画面デザインが規定する配列ルールに従ってマトリクス状に振り分け、一行に複数のレコードに属するデータが配置されたデータリストに変換する手段、
このデータリストを第1のキャッシュに格納する手段、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
として機能させることを特徴とするデータベース利用プログラム。 A database utilization program applied to a front-end server interposed between a database server and a client terminal,
The above front-end server
Means for storing a list of records sent from the database server in a buffer;
Means for distributing at least a part of data constituting the record in a matrix form according to an array rule defined by the screen design, and converting the data into a data list in which data belonging to a plurality of records is arranged in one line;
Means for storing the data list in a first cache;
Means for taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
Means for retrieving a data list in the second cache, filling a template reflecting the screen design, and generating a Web file for screen display;
Means to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. Means for storing in,
Means for taking out the data list in the second cache, filling the template and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
Database utilization program characterized by functioning as
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを、レコード単位でデータを一列に配列させたデータリストに変換する手段、
このデータリストをバッファに格納する手段、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段、
として機能させることを特徴とする請求項10に記載のデータベース利用プログラム。 The above front-end server
Means for performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
Means for adding data corresponding to the data list in the first cache when information indicating that data has been added in the screen is transmitted from the client terminal;
Means for converting a data list in the first cache into a data list in which data is arranged in a row in units of records when a data update request is transmitted from a client terminal;
Means for storing this data list in a buffer;
Means for sending the data list in this buffer to the database server and requesting data update;
The database utilization program according to claim 10, wherein the database utilization program is made to function as:
上記フロントエンドサーバを、
データベースサーバから送信されたレコードのリストをバッファに格納する手段、
上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータまたはデータの組合せを抽出する手段、
このデータまたはデータの組合せからなるデータリストを第1のキャッシュに格納する手段、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
として機能させることを特徴とするデータベース利用プログラム。 A database utilization program applied to a front-end server interposed between a database server and a client terminal,
The above front-end server
Means for storing a list of records sent from the database server in a buffer;
Means for extracting data or a combination of data related to data items that are required to be displayed on the screen design from the data constituting the record;
Means for storing in the first cache a data list comprising this data or a combination of data;
Means for taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
Means for retrieving a data list in the second cache, filling a template reflecting the screen design, and generating a Web file for screen display;
Means to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. Means for storing in,
Means for taking out the data list in the second cache, filling the template and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
Database utilization program characterized by functioning as
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストに対し、欠落しているデータ項目を補充する手段、
このデータリストをバッファに格納する手段、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段、
として機能させることを特徴とする請求項12に記載のデータベース利用プログラム。 The above front-end server
Means for performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
Means for adding data corresponding to the data list in the first cache when information indicating that data has been added in the screen is transmitted from the client terminal;
Means for replenishing a missing data item to the data list in the first cache when a data update request is transmitted from the client terminal;
Means for storing this data list in a buffer;
Means for sending the data list in this buffer to the database server and requesting data update;
The database utilization program according to claim 12, wherein the database utilization program is functioned as:
上記フロントエンドサーバを、
データベースサーバから送信されたレコードのリストをバッファに格納する手段、
上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する手段、
この変換済みのデータからなるデータリストを第1のキャッシュに格納する手段、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
として機能させることを特徴とするデータベース利用プログラム。 A database utilization program applied to a front-end server interposed between a database server and a client terminal,
The above front-end server
Means for storing a list of records sent from the database server in a buffer;
Means for converting at least a part of data constituting the record into a general-purpose data type;
Means for storing in the first cache a data list comprising the converted data;
Means for taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
Means for retrieving a data list in the second cache, filling a template reflecting the screen design, and generating a Web file for screen display;
Means to send this web file to the client terminal,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. Means for storing in,
Means for taking out the data list in the second cache, filling the template and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
Database utilization program characterized by functioning as
クライアント端末から画面中の特定データについて修正がなされたことを示す情報が送信された場合に、第1のキャッシュ内における該当データに対応の修正を施す手段、
クライアント端末から画面中においてデータの追加がなされたことを示す情報が送信された場合に、第1のキャッシュ内におけるデータリストに対応のデータを追加する手段、
クライアント端末からデータの更新リクエストが送信された場合に、第1のキャッシュ内のデータリストを構成している各データを、それぞれのデータ項目固有のデータ型に変換する手段、
この変換済みのデータからなるデータリストをバッファに格納する手段、
このバッファ内のデータリストをデータベースサーバに送信し、データの更新を依頼する手段、
として機能させることを特徴とする請求項14に記載のデータベース利用プログラム。 The above front-end server
Means for performing correction corresponding to the corresponding data in the first cache when information indicating that the specific data in the screen has been corrected is transmitted from the client terminal;
Means for adding data corresponding to the data list in the first cache when information indicating that data has been added in the screen is transmitted from the client terminal;
Means for converting each data constituting the data list in the first cache into a data type specific to each data item when a data update request is transmitted from the client terminal;
Means for storing a data list comprising the converted data in a buffer;
Means for sending the data list in this buffer to the database server and requesting data update;
The database utilization program according to claim 14, wherein the database utilization program is made to function as:
上記フロントエンドサーバを、
データベースサーバから送信されたレコードのリストをバッファに格納する手段、
上記レコードを構成する少なくとも一部のデータに対してチェックボックスを付加する手段、
このチェックボックスが付加されたデータのリストを第1のキャッシュに格納する手段、
第1のキャッシュから画面デザインが規定する行数を備えた1頁分のデータリストを取り出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の画面において特定のデータに対しチェックが入力されたことを示す情報が送信された場合に、第1のキャッシュ内における対応のデータに対してチェック入力済みの情報を記録する手段、
クライアント端末から表示中の画面における行または頁のスクロールイベントが送信された場合に、上記第1のキャッシュから当該スクロール後の画面に表示されるべき各行に対応するデータリストを取り出し、第2のキャッシュに格納する手段、
この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
として機能させることを特徴とするデータベース利用プログラム。 A database utilization program applied to a front-end server interposed between a database server and a client terminal,
The above front-end server
Means for storing a list of records sent from the database server in a buffer;
Means for adding a check box to at least a part of data constituting the record;
Means for storing a list of data to which the check box is added in the first cache;
Means for taking out a data list for one page having the number of lines defined by the screen design from the first cache and storing it in the second cache;
Means for retrieving a data list in the second cache, filling a template reflecting the screen design, and generating a Web file for screen display;
Means to send this web file to the client terminal,
Means for recording information that has already been checked in to corresponding data in the first cache when information indicating that a check has been input for specific data is transmitted from the client terminal. ,
When a line or page scroll event on the screen being displayed is transmitted from the client terminal, a data list corresponding to each line to be displayed on the screen after scrolling is extracted from the first cache, and the second cache is retrieved. Means for storing in,
Means for taking out the data list in the second cache, filling the template and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
Database utilization program characterized by functioning as
クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中で、チェック入力済みのデータを抽出する手段、
当該データからチェックボックスを除去する手段、
当該データをデータベースサーバに送信し、その削除を依頼する手段、
として機能させることを特徴とする請求項16に記載のデータベース利用プログラム。 The above front-end server
Means for extracting checked data in the data list in the first cache when a data deletion request is transmitted from the client terminal;
Means for removing the checkbox from the data,
Means for sending the data to the database server and requesting its deletion;
The database utilization program according to claim 16, wherein the database utilization program is functioned as:
クライアント端末からデータの削除リクエストが送信された場合に、第1のキャッシュ内のデータリストの中でチェックが入力されていないデータを抽出する手段、
当該データをデータベースサーバに送信し、その削除を依頼する手段、
として機能させることを特徴とする請求項16に記載のデータベース利用プログラム。
The above front-end server
Means for extracting unchecked data from the data list in the first cache when a data deletion request is transmitted from the client terminal;
Means for sending the data to the database server and requesting its deletion;
The database utilization program according to claim 16, wherein the database utilization program is functioned as:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004187597A JP4495783B2 (en) | 2004-06-25 | 2004-06-25 | Database usage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004187597A JP4495783B2 (en) | 2004-06-25 | 2004-06-25 | Database usage system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006011787A true JP2006011787A (en) | 2006-01-12 |
JP4495783B2 JP4495783B2 (en) | 2010-07-07 |
Family
ID=35778992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004187597A Expired - Fee Related JP4495783B2 (en) | 2004-06-25 | 2004-06-25 | Database usage system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4495783B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016531367A (en) * | 2013-08-21 | 2016-10-06 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Generating a cache query request |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002108932A (en) * | 2000-09-29 | 2002-04-12 | Fujitsu Ltd | Recording medium for program for screen information save control |
JP2002297440A (en) * | 2001-03-30 | 2002-10-11 | Fujitsu Ltd | Information provision method, information provision device and storage medium with program for making computer execute processing in the device stored therein |
JP2003006036A (en) * | 2001-06-26 | 2003-01-10 | Hitachi Ltd | Clustered application server and web system having database structure |
JP2005292872A (en) * | 2004-03-31 | 2005-10-20 | Nomura Research Institute Ltd | Database use system and database use program |
-
2004
- 2004-06-25 JP JP2004187597A patent/JP4495783B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002108932A (en) * | 2000-09-29 | 2002-04-12 | Fujitsu Ltd | Recording medium for program for screen information save control |
JP2002297440A (en) * | 2001-03-30 | 2002-10-11 | Fujitsu Ltd | Information provision method, information provision device and storage medium with program for making computer execute processing in the device stored therein |
JP2003006036A (en) * | 2001-06-26 | 2003-01-10 | Hitachi Ltd | Clustered application server and web system having database structure |
JP2005292872A (en) * | 2004-03-31 | 2005-10-20 | Nomura Research Institute Ltd | Database use system and database use program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016531367A (en) * | 2013-08-21 | 2016-10-06 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Generating a cache query request |
Also Published As
Publication number | Publication date |
---|---|
JP4495783B2 (en) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8327257B2 (en) | Facilitating data manipulation in a browser-based user interface of an enterprise business application | |
JP4865983B2 (en) | Network server | |
US8276086B2 (en) | Method and system for visual landing page optimization configuration and implementation | |
US9197525B2 (en) | Systems and methods for displaying statistical information on a web page | |
US6931598B2 (en) | Dynamic web list display | |
US20040215719A1 (en) | Method and system for designing, editing and publishing web page content in a live internet session | |
US20020065846A1 (en) | Spreadsheet Web server system and spreadsheet Web system | |
US20030051022A1 (en) | Web page management support system | |
KR20090005097A (en) | Systems and methods of transforming data for web communities and web applications | |
US20070101278A1 (en) | Web site theme designer | |
US20180217820A1 (en) | Integrating application features into a platform interface based on application metadata | |
US20100229083A1 (en) | Screen display program generating apparatus, screen display system, computer readable storage medium having stored therein a computer program causing a computer to function as the screen display program generating apparatus, and screen display program generating method | |
JP4136271B2 (en) | Application server system | |
US20140215323A1 (en) | Element detection and inline modification | |
US20100094865A1 (en) | Systems and methods for distributing and maintaining product or service information | |
JP4806644B2 (en) | Jump destination site determination program, recording medium, jump destination site determination method, and jump destination site determination device | |
JP4495783B2 (en) | Database usage system | |
US7725105B2 (en) | Mobile site management system | |
JP4502752B2 (en) | Database usage system | |
JP2008203965A (en) | Method and program for creating web page | |
JP4464727B2 (en) | Database usage system | |
JP2006302032A (en) | Business process exception handling generation support device and program | |
JP4502763B2 (en) | Database usage system | |
JP2006018508A (en) | Document editing method, document editing program, and document editing input program | |
JP4460962B2 (en) | Database usage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100219 |
|
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: 20100406 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100410 |
|
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: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140416 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |