JP2006031130A - Database-using system and database-using program - Google Patents
Database-using system and database-using program Download PDFInfo
- Publication number
- JP2006031130A JP2006031130A JP2004205380A JP2004205380A JP2006031130A JP 2006031130 A JP2006031130 A JP 2006031130A JP 2004205380 A JP2004205380 A JP 2004205380A JP 2004205380 A JP2004205380 A JP 2004205380A JP 2006031130 A JP2006031130 A JP 2006031130A
- Authority
- JP
- Japan
- Prior art keywords
- data
- list
- cache
- client terminal
- 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 Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (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.
元来、データベースサーバが管理しているデータベースをクライアント端末において利用(参照または更新)するために、専用のアプリケーションプログラムをクライアント端末にセットアップすることが行われていた。
この専用のアプリケーションプログラムは、操作ボタンの配置や入力・表示欄の構成などの、いわゆるユーザインターフェイスの設計に適した第四世代言語、例えばVisual Basic(登録商標)等で一般にコーディングされており、非特許文献1に示すように、データベースの参照及び更新に際し視認性や一覧性に優れた画面をディスプレイに表示することができる利点を備えている。
これに対し最近は、個々のクライアント端末に専用のアプリケーションプログラムを搭載することの非効率性が認識されるようになり、またインターネットを中心としたWebシステムの普及もあり、汎用的なWebブラウザプログラムを用いてデータベースの参照や更新を行いたいという要請が強まってきている。
Originally, in order to use (refer to or update) a database managed by a database server in a client terminal, a dedicated application program has been set up in the client terminal.
This dedicated application program is generally coded in a fourth generation language suitable for the design of so-called user interfaces, such as the arrangement of operation buttons and the configuration of input / display fields, such as Visual Basic (registered trademark). As shown in Patent Document 1, it has an advantage that a screen excellent in visibility and listability can be displayed on a display when referring to and updating a database.
In recent years, however, the inefficiency of installing dedicated application programs on individual client terminals has been recognized, and the use of Web systems centered on the Internet has led to widespread use of general-purpose Web browser programs. There is an increasing demand for using the database to refer to and update databases.
図1は、このようなWebシステムを用いたデータベースの利用形態の一例を示すものであり、DB(Database)サーバ14の前段にWebサーバ機能及びAP(Application)サーバ機能を備えたフロントエンドサーバ16が設置され、インターネットやイントラネット等の通信ネットワーク18を介してこのサーバ16が多数のクライアント端末12と接続されている様子が描かれている。
各クライアント端末12にはWebブラウザプログラムがセットアップされており、このWebブラウザを通じてフロントエンドサーバ16にデータベースの利用要求が送信されると、フロントエンドサーバ82はDBサーバ14に対して該当データの抽出を依頼する。
そして、DBサーバ14からデータが送信されると、これをフロントエンドサーバ16がWebファイルに加工した上で、クライアント端末12に送信する。
この結果ユーザは、クライアント端末12のディスプレイに表示された汎用のWebブラウザ上でデータの閲覧が可能となる(非特許文献2の「テーブルの一覧」参照)。
また、ユーザがWebブラウザ上でデータの追加や修正を行い、クライアント端末12から更新リクエストが送信されると、フロントエンドサーバ16はDBサーバ14に対してこれらの更新情報を送信し、データベースの更新処理を依頼する。
Each
Then, when data 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 12 (see “Table List” in Non-Patent Document 2).
When the user adds or corrects data on the Web browser and an update request is sent from the
このように、クライアント端末12に搭載した汎用的なWebブラウザプログラムを介してデータベースの利用が可能になると、クライアント端末12に専用のアプリケーションプログラムを搭載する場合に比べ、イニシャルコストやランニングコストの低減効果が生じ、メンテナンスもサーバ16側で完了できる利点が生じる。
As described above, when the database can be used via the general-purpose web browser program installed in the
しかしながら、汎用のWebブラウザプログラムには基本的に「頁(ページ)」という概念が存在しないため、データベースの利用画面をディスプレイ上に表示させた場合に、レコードのリストを所定の行数で頁送りすることが困難であり、表示行数が固定された専用のアプリケーションプログラムの操作性に慣れたユーザに違和感を抱かせてしまうという問題がある。
実際、レコードの件数が多い場合には、非特許文献2の「フォームのフィールド指定」画面より明かなように、最終行の下に配置された「登録」や「削除」といった操作ボタンを表示させるために画面自体の縦スクロールを何度も行う必要が生じ、ユーザは大きなストレスを感じることとなる。
However, general-purpose Web browser programs basically do not have the concept of “page”, so when a database usage screen is displayed on a display, a list of records is paged by a predetermined number of lines. There is a problem that it makes it difficult for a user who is used to the operability of a dedicated application program with a fixed number of display lines to feel 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 designation” screen of Non-Patent Document 2. Therefore, it becomes necessary to perform vertical scrolling of the screen itself many times, and the user feels great stress.
また、レコードに含まれるデータ項目数が多い場合、Webブラウザ上で右方向に横スクロールを繰り返すことによって隠れているデータ項目を表示させることは可能であるが、この横スクロールに伴いデータの一覧表以外の部分がディスプレイの左端に隠れてしまい、画面の全体像を見失ってしまうこととなる。
画面内部にスクロールエリアを定義することにより、そのエリア内でのみ横スクロールさせることは可能であるが、項目単位で表示内容を切り替えることまではできないため、各項目の長さに合わせて横スクロールバーを左右に微調整する煩わしさがあり、途中で切れた状態の項目が表示されることによるデザイン上の課題もあった。
上記した専用のアプリケーションプログラムの場合には、データ一覧表の外枠を固定したまま表示内容を項目単位で横スクロールさせる機能を実装できるため、画面の全体像を崩すことなく横方向へ長く延びるレコードを項目単位で切り替え表示させることも可能であるが、汎用的なWebブラウザプログラムにこれを望むことはできなかった。
In addition, if the number of data items included in the record is large, it is possible to display hidden data items by repeating horizontal scrolling in the right direction on the Web browser. The part other than is hidden at the left edge of the display, and the entire image of the screen is lost.
By defining a scroll area inside the screen, it is possible to scroll horizontally only within that area, but it is not possible to switch the display contents on an item-by-item basis. There is also a design problem due to the display of items that are cut off halfway.
In the case of the dedicated application program described above, it is possible to implement a function to horizontally scroll the display contents by item while fixing the outer frame of the data list, so that the record that extends in the horizontal direction without destroying the overall image of the screen It is also possible to switch and display items by item, but this could not be desired by a general-purpose Web browser program.
さらに、クライアント端末12とサーバ16間での情報のやり取りが増えるため、クライアント端末12の数が増えるに従ってネットワークに大きな負荷を与えるようになる。
特に、DBサーバ14に格納されたレコードが多くのデータ項目を備えている場合に、その一部のみをクライアント端末12上で表示させることは、ヒドゥン(hidden)という技術を使うことによって従来も可能であったが、これは非表示のデータであってもクライアント端末12とサーバ16間を往復することが前提となるため、データ通信量の増大を招いていた。
Furthermore, since the exchange of information between the
In particular, when a record stored in the
この発明は、上記の問題点を解決するために案出されたものであり、WebベースでDBサーバが管理するデータベースを利用することを前提としながらも、クライアント端末側のユーザインターフェイスを専用アプリケーションプログラムと同様のレベルに高めることができると共に、サーバとクライアント端末間のデータ通信量の低減を実現できるデータベース利用技術を提供することを目的としている。 The present invention has been devised to solve the above-described problems, and is based on the assumption that a database managed by a DB server on a Web basis is used, but the user interface on the client terminal side is a dedicated application program. It is an object of the present invention to provide a database utilization technique that can realize a reduction in the amount of data communication between a server and a client terminal.
上記の目的を達成するため、請求項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 determines the data items to be displayed in the list on the initial screen by referring to the maximum width information of the list specified by the screen design and the display width information of each data item, and the data list sent from the database server Extracts the data string related to the data item from the first cache stored, stores it in the second cache, extracts the data list in the second cache, and fills the template reflecting the screen design Function to generate a Web file for screen display and this Web file to the client Data to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a function to be transmitted to the terminal and a horizontal scroll event for the list being displayed are transmitted from the client terminal. A function that determines an item, a function that extracts a data string related to the data item from the first cache, stores it in the second cache, and a data list in the second cache that reflects the screen design 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.
The “maximum width information of the list” is set in consideration of the resolution in the display of the client terminal, the area ratio of the list in the screen, and the like.
The “horizontal scroll event” refers to moving the display content in the horizontal direction in page units in addition to the left column scroll event and the right column scroll event that require the display content in the list to be moved in the horizontal direction in item units. The concept includes a desired left page scroll event and right page scroll event (the same applies hereinafter).
請求項2に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、画面デザインが規定する一覧表の最大横幅情報、各データ項目の表示幅情報、及び固定表示項目情報を参照し、初期画面において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に係るデータ列を抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。 The database utilization system according to claim 2 is a database utilization system including a front-end server interposed between a database server and a client terminal, wherein the front-end server defines a list defined by a screen design. A function that determines the data items to be displayed in the list in addition to the fixed display item on the initial screen, by referring to the maximum width information of each item, the display width information of each data item, and the fixed display item information. A function for extracting the data string related to the data item and the data string related to the fixed display item from the first cache in which the data list is stored and storing the data string in the second cache, and the data in the second cache Take out the list, fill it with a template that reflects the screen design, and display the web file for screen display. When the horizontal scroll event for the list being displayed is transmitted from the client terminal, the maximum width information, the display width information of each data item, and A function for referring to the fixed display item information and determining a data item to be displayed in the list in addition to the fixed display item after the horizontal scroll, and a data string and a fixed display item related to the data item from the first cache Extracts the data string and stores it in the second cache, extracts the data list in the second cache, fills it with a template reflecting the screen design, and generates a Web file for screen display after scrolling It is characterized by having a function and a function of transmitting this Web file to the client terminal.
請求項3に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する機能と、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報及び各データ項目の表示幅情報を参照し、当該横スクロール後に表示すべきデータ項目を決定する機能と、第1のキャッシュから上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の一覧表に対する縦スクロールイベントが送信された場合に、第1のキャッシュから上記データ項目に係るデータ列の中で当該縦スクロール後に表示されるべき各行に対応する部分を抽出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。
上記「縦スクロールイベント」は、一覧表における表示内容を上下方向に行単位で移動させることを求める前行スクロールイベント及び次行スクロールイベントの他、表示内容を上下方向に頁単位で移動させることを求める前頁スクロールイベント及び次頁スクロールイベントを含む概念である(以下同様)。
The database utilization system according to claim 3 is a database utilization system comprising a front-end server interposed between a database server and a client terminal, wherein the front-end server is a list defined by a screen design. A first cache storing a data list transmitted from the database server and a function for determining data items to be displayed in the list on the initial screen by referring to the maximum horizontal width information and display width information of each data item From the data items related to the above data items, the number of records corresponding to the number of rows in the list specified by the screen design is extracted, the function of storing in the second cache, and the data list in the second cache are extracted, and the screen A function that generates a Web file for screen display by filling a template that reflects the design, and this When a function for transmitting a Web file to a client terminal and a horizontal scroll event for a list being displayed are transmitted from the client terminal, the maximum horizontal width information and the display width information of each data item are referred to, and after the horizontal scroll A function for determining a data item to be displayed, and a function for extracting the data string related to the data item from the first cache by the number corresponding to the number of rows in the list defined by the screen design 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, generates a Web file for screen display after scrolling, a function that transmits this Web file to the client terminal, When a vertical scroll event is sent from the client terminal to the displayed list, the first key A portion corresponding to each line to be displayed after the vertical scrolling is extracted from the data row related to the data item from the cache, and a function for storing in the second cache and a data list in the second cache are extracted. A feature is that it includes a function of 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.
The “vertical scroll event” refers to moving the display content in the vertical direction in units of pages in addition to the previous line scroll event and the next line scroll event that require the display content in the list to be moved in the vertical direction. This is a concept including the previous page scroll event and the next page scroll event to be obtained (the same applies hereinafter).
請求項4に記載したデータベース利用システムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバを備えたデータベース利用システムであって、上記フロントエンドサーバが、画面デザインが規定する一覧表の最大横幅情報、各データ項目の表示幅情報、及び固定表示項目情報を参照し、初期画面において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能と、クライアント端末から表示中の一覧表に対する縦スクロールイベントが送信された場合に、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に対応するデータ列の中で当該縦スクロール後に表示されるべき各行に対応する部分を抽出し、第2のキャッシュに格納する機能と、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する機能と、このWebファイルをクライアント端末に送信する機能とを備えたことを特徴としている。 The database utilization system according to claim 4 is a database utilization system including a front-end server interposed between a database server and a client terminal, wherein the front-end server defines a list defined by a screen design. A function that determines the data items to be displayed in the list in addition to the fixed display item on the initial screen, by referring to the maximum width information of each item, the display width information of each data item, and the fixed display item information. From the first cache in which the data list is stored, the data sequence related to the data item and the data sequence related to the fixed display item are extracted by the number corresponding to the number of rows in the list defined by the screen design, and the second The function to store in the cache and the data list in the second cache are taken out, the screen design When a function to generate a web file for screen display by filling in the projected template, a function to send this web file to the client terminal, and a horizontal scroll event for the displayed list from the client terminal are sent, A function for referring to the maximum width information, display width information of each data item, and fixed display item information, and determining a data item to be displayed on the list in addition to the fixed display item after the horizontal scroll; From the above data items and the data columns related to the fixed display items for the number of rows corresponding to the number of rows in the list specified by the screen design and stored in the second cache, and in the second cache The data list is taken out, filled in a template that reflects the screen design, and the web file for screen display after scrolling Function, a function for transmitting the Web file to the client terminal, and a data string and a fixed data related to the data item from the first cache when a vertical scroll event for the list being displayed is transmitted from the client terminal. In the data string corresponding to the display item, a part corresponding to each line to be displayed after the vertical scrolling is extracted and stored in the second cache, and a data list in the second cache is extracted, It is characterized by having a function of generating a Web file for screen display after filling a template and scrolling, and a function of transmitting this Web file to a client terminal.
請求項5に記載したデータベース利用システムは、請求項1〜4のシステムを前提とし、さらに上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータの組合せを抽出する機能と、このデータの組合せからなるデータリストを第1のキャッシュに格納する機能とを備えたことを特徴としている。 The database utilization system according to claim 5 is based on the system according to claims 1 to 4, and further comprises a function in which the front-end server stores a list of records transmitted from the database server in a buffer, and the record A function for extracting a combination of data related to data items that are required to be displayed on the screen design, and a function for storing a data list including the combination of the data in the first cache. It is characterized by.
請求項6に記載したデータベース利用システムは、請求項1〜5のシステムを前提とし、さらに上記フロントエンドサーバが、データベースサーバから送信されたレコードのリストをバッファに格納する機能と、上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する機能と、この変換済みのデータからなるデータリストを第1のキャッシュに格納する機能とを備えたことを特徴としている。 The database utilization system according to claim 6 is based on the system according to claims 1 to 5, and further comprises a function in which the front-end server stores a list of records transmitted from the database server in a buffer, and the record And a function of converting at least a part of the data into a general-purpose data type, and a function of storing a data list including the converted data in the first cache.
請求項7に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する手段、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列を抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報及び各データ項目の表示幅情報を参照し、当該横スクロール後に表示すべきデータ項目を決定する手段、第1のキャッシュから上記データ項目に係るデータ列を抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。 The database use program according to claim 7 is a database use program applied to a front-end server interposed between a database server and a client terminal, wherein the front-end server is defined by a screen design. Means for determining the data items to be displayed in the list on the initial screen, from the first cache storing the data list transmitted from the database server, with reference to the maximum horizontal width information and the display width information of each data item Extracting the data string related to the above data items, storing it in the second cache, taking out the data list in the second cache, filling in the template reflecting the screen design, and generating the Web file for screen display Means to send this Web file to the client terminal, Means for determining a data item to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a horizontal scroll event for the list being displayed is transmitted from the ant terminal; Means for extracting a data string related to the data item from one cache, storing it in the second cache, taking out the data list in the second cache, filling the template reflecting the screen design, and displaying the screen after scrolling It is characterized by functioning as means for generating a Web file for use, and means for transmitting the Web file to a client terminal.
請求項8に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、画面デザインが規定する一覧表の最大横幅情報、各データ項目の表示幅情報、及び固定表示項目情報を参照し、初期画面において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する手段、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する手段、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に係るデータ列を抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。 The database use program according to claim 8 is a database use program applied to a front-end server interposed between a database server and a client terminal, wherein the front-end server is defined by a screen design. Means for determining the data items to be displayed in the list in addition to the fixed display item on the initial screen, referring to the maximum width information of each item, the display width information of each data item, and the fixed display item information. Means for extracting a data string relating to the data item and a data string relating to the fixed display item from the first cache in which the data list is stored and storing the data string in the second cache; and a data list in the second cache. Take out and fill in a template that reflects the screen design, and display the web file for screen display. Means for generating a file, means for sending this Web file to the client terminal, and when the horizontal scroll event for the list being displayed is sent from the client terminal, the maximum width information, the display width information of each data item, and the fixed Means for determining data items to be displayed in the list other than the fixed display items after the horizontal scrolling, referring to the display item information, a data string related to the data items from the first cache, and data related to the fixed display items Means for extracting columns and storing them in the second cache; means for taking out a data list in the second cache and filling in a template reflecting the screen design to generate a web file for screen display after scrolling; It is characterized by functioning as a means for transmitting a Web file to a client terminal.
請求項9に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する手段、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報及び各データ項目の表示幅情報を参照し、当該横スクロール後に表示すべきデータ項目を決定する手段、第1のキャッシュから上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する縦スクロールイベントが送信された場合に、第1のキャッシュから上記データ項目に係るデータ列の中で当該縦スクロール後に表示されるべき各行に対応する部分を抽出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。 The database use program according to claim 9 is a database use program applied to a front-end server interposed between a database server and a client terminal, wherein the front-end server is defined by a screen table defined by a screen design. Means for determining the data items to be displayed in the list on the initial screen, from the first cache storing the data list transmitted from the database server, with reference to the maximum horizontal width information and the display width information of each data item , Means for extracting the number of data rows corresponding to the data items corresponding to the number of rows in the list specified by the screen design, storing in the second cache, taking out the data list in the second cache, A method for creating a Web file for screen display by filling the reflected template. Means for sending a Web file to the client terminal, when a horizontal scroll event is sent from the client terminal to the displayed list, the maximum width information and the display width information of each data item are referred to and displayed after the horizontal scroll. Means for determining a data item to be extracted, means for extracting a data string related to the data item from the first cache by the number corresponding to the number of rows in the list defined by the screen design, and storing the data string in the second cache; The data list in the cache of 2 is taken out, filled in a template reflecting the screen design, and a Web file for screen display after scrolling is generated, the Web file is transmitted to the client terminal, and displayed from the client terminal If a vertical scroll event is sent for a list of the first cache, Means for extracting a portion corresponding to each line to be displayed after the vertical scrolling in the data string relating to the data item, storing it in a second cache, taking out a data list in the second cache, and the template It is characterized by functioning as means for generating a Web file for screen display after filling and scrolling, and means for transmitting the Web file to the client terminal.
請求項10に記載したデータベース利用プログラムは、データベースサーバとクライアント端末との間に介装されたフロントエンドサーバに適用するデータベース利用プログラムであって、上記フロントエンドサーバを、画面デザインが規定する一覧表の最大横幅情報、各データ項目の表示幅情報、及び固定表示項目情報を参照し、初期画面において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する手段、データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する手段、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段、クライアント端末から表示中の一覧表に対する縦スクロールイベントが送信された場合に、第1のキャッシュから上記データ項目に係るデータ列及び固定表示項目に対応するデータ列の中で当該縦スクロール後に表示されるべき各行に対応する部分を抽出し、第2のキャッシュに格納する手段、この第2のキャッシュ内のデータリストを取り出し、上記テンプレートに充填してスクロール後の画面表示用のWebファイルを生成する手段、このWebファイルをクライアント端末に送信する手段として機能させることを特徴としている。
The database use program according to
請求項11に記載したデータベース利用プログラムは、請求項7〜10のプログラムを前提とし、さらに上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成しているデータの中、画面デザイン上表示が要求されるデータ項目に係るデータの組合せを抽出する手段、このデータの組合せからなるデータリストを第1のキャッシュに格納する手段として機能させることを特徴としている。 The database utilization program according to claim 11 is based on the program according to claims 7 to 10, further comprising means for storing the front end server in a buffer with a list of records transmitted from the database server. A means for extracting a combination of data relating to a data item that is required to be displayed on the screen design, and a function for storing a data list including the combination of the data in the first cache. Yes.
請求項12に記載したデータベース利用プログラムは、請求項7〜11のプログラムを前提とし、さらに上記フロントエンドサーバを、データベースサーバから送信されたレコードのリストをバッファに格納する手段、上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する手段、この変換済みのデータからなるデータリストを第1のキャッシュに格納する手段として機能させることを特徴としている。 A database utilization program according to a twelfth aspect of the invention is based on the program of the seventh to eleventh aspects, and further comprises the front end server, means for storing a list of records transmitted from the database server in a buffer, and the record. It is characterized by functioning as means for converting at least a part of data into a general-purpose data type and means for storing a data list composed of the converted data in the first cache.
請求項1のデータベース利用システム及び請求項7のデータベース利用プログラムにあっては、画面デザインに応じて予め設定された一覧表の最大横幅情報、各データ項目の表示幅情報に基づいて一覧表の横方向における表示範囲が決定され、フロントエンドサーバの第1のキャッシュからこの表示分データのみが取り出されてクライアント端末に送信される仕組みである。
すなわち、レコードのデータ項目数が多い場合であっても、最大横幅に収まるデータ項目のみが送信・表示され、これを越える部分については横スクロールイベントを待って送信及び表示が実行されるため、表示内容を項目単位で切り替えることが可能となる。このため、従来のように隠れたデータを表示させるために画面全体の横スクロールを行ったり、スクロールエリア内において表示内容の微調整を行う必要がなくなり、汎用のWebブラウザプログラムを用いながらも、データベース利用画面のデザイン性を飛躍的に高めることが可能となる。
また、従来のように全データをクライアント端末に一度に送信する場合に比べ、フロントエンドサーバとクライアント端末間のデータ通信量を低減することが可能となる。
According to the database utilization system of claim 1 and the database utilization program of claim 7, the horizontal width of the list based on the maximum width information of the list set in advance according to the screen design and the display width information of each data item. The display range in the direction is determined, and only this display data is extracted from the first cache of the front-end server and transmitted to the client terminal.
In other words, even if the number of data items in the record is large, only the data items that fit within the maximum width are sent and displayed. It is possible to switch the contents in item units. For this reason, there is no need to perform horizontal scrolling of the entire screen or fine adjustment of display contents in the scroll area to display hidden data as in the past, while using a general-purpose web browser program. It is possible to dramatically improve the design of the usage screen.
Further, it is possible to reduce the amount of data communication between the front-end server and the client terminal as compared to the case where all data is transmitted to the client terminal at once as in the past.
請求項2のデータベース利用システム及び請求項8のデータベース利用プログラムにあっては、請求項1及び7について記述した上記の効果に加え、一覧表の横スクロール時において常時表示される固定表示項目の設定が可能となる利点を備えている。 In the database utilization system according to claim 2 and the database utilization program according to claim 8, in addition to the effects described in claims 1 and 7, the setting of fixed display items that are always displayed when the list is scrolled horizontally Has the advantage of being possible.
請求項3のデータベース利用システム及び請求項9のデータベース利用プログラムにあっては、画面デザインに応じて予め設定された一覧表の最大横幅情報、各データ項目の表示幅情報、及び行数情報に基づいて一覧表における表示データの範囲が決定され、フロントエンドサーバの第1のキャッシュからこの表示分データのみが取り出されてクライアント端末に送信される仕組みである。
すなわち、レコードのデータ項目数及び件数が多い場合であっても、最大横幅及び設定行数に収まる範囲のデータのみが送信・表示され、これを越える部分については横スクロールイベントあるいは縦スクロールイベントを待ってデータの送信及び表示が実行されるため、従来のようにデータ項目数や件数に応じて画面レイアウトが崩れたり、隠れたデータを表示させるために画面全体の横スクロールや縦スクロールを行う必要がなくなると共に、フロントエンドサーバとクライアント端末間のデータ通信量をより低減することが可能となる。
The database utilization system according to claim 3 and the database utilization program according to claim 9 are based on the maximum width information of the list, the display width information of each data item, and the number of lines information set in advance according to the screen design. Thus, the range of display data in the list is determined, and only this display data is extracted from the first cache of the front-end server and transmitted to the client terminal.
In other words, even if the number of data items and the number of records is large, only the data within the range of the maximum width and the set number of lines is sent and displayed, and if it exceeds this, wait for the horizontal scroll event or vertical scroll event. Since data is transmitted and displayed, the screen layout may be corrupted according to the number of data items and the number of items, and the entire screen must be scrolled horizontally or vertically to display hidden data. In addition, the amount of data communication between the front-end server and the client terminal can be further reduced.
請求項4のデータベース利用システム及び請求項10のデータベース利用プログラムにあっては、請求項3及び9について記述した上記の効果に加え、一覧表の横スクロール時において常時表示される固定表示項目の設定が可能となる利点を備えている。
In the database utilization system according to claim 4 and the database utilization program according to
請求項5のデータベース利用システム及び請求項11のデータベース利用プログラムによれば、データベースサーバから渡されたレコードの中で、画面デザイン上表示不要のデータが事前に排除され、表示が必要なデータのみがクライアント端末に送信されるため、通信量の低減効果をさらに高めることができる。 According to the database utilization system of claim 5 and the database utilization program of claim 11, in the record delivered from the database server, data that does not need to be displayed on the screen design is excluded in advance, and only data that needs to be displayed is stored. Since it is transmitted to the client terminal, the effect of reducing the communication amount can be further enhanced.
請求項6のデータベース利用システム及び請求項12のデータベース利用プログラムによれば、データベースサーバから渡されたレコードが様々な型のデータを含んでいる場合であっても、事前に汎用的なデータ型に変換されるため、後続の処理を簡素化することが可能となる。
According to the database utilization system of claim 6 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のメモリ空間上に設定される。
上記のアプリケーションプログラムは、例えばオブジェクト指向言語の一つであるJava(登録商標)によって記述されている。
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
The above application program is described in, for example, Java (registered trademark) which is one of object-oriented languages.
以下、図3〜図5のフローチャートに従い、このシステム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が設定される。
A processing procedure when referring to registered data using the
First, when the user accesses the front-
When the user selects one service from this menu, for example, “Department Budget / Actual List”, the
In response to this, in the front-
つぎに、業務処理部36からDBサーバ14に対し、部門別予算・実績情報の抽出リクエストが送信される(S14)。
そして、DBサーバ14から部門別予算・実績データベース内に格納されているレコードのリストが送信されると、業務処理部36はこれをバッファ42に格納する(S15)。
Next, a request for extracting departmental budget / result information is transmitted from the
Then, when a list of records stored in the departmental budget / result database is transmitted from the
これに対しデータ変換部34は、バッファ42に格納された各レコードを構成しているデータ項目の中から、部門別予算・実績一覧画面の一覧表において表示すべきものとして予め画面デザインで設定されているデータ項目に係るデータのみを抽出する(S16)。
例えば、図6(a)に示すように、部門別予算・実績データベースには部門コード、部門名称の他に、各年度毎の予算データ及び実績データが格納されている場合であっても、上記の部門別予算・実績一覧画面においては表示項目を簡素化するために部門名称、本年度の予算及び実績、前年度以前の実績のみが表示され、部門コードや前年度以前の予算を非表示とすることが設定されているときには、データ変換部34は図中の点線で囲った部分のデータのみを抽出し、図6(b)に示すように、これらのデータを連結させたデータリストを生成する。
このように、データをクライアント端末12に送信する前に非表示のデータを間引いておくことにより、無用のデータがクライアント端末12に送信されることがなくなり、データ通信量を低減することができる。
クライアント端末12のWebブラウザ上で不要なデータ項目を非表示にすること自体は、これまでもヒドゥン(hidden)という技術を使うことで実現されていたが、この場合には非表示のデータであってもクライアント端末12とサーバ16間を往復することとなるため、その分データ通信量の増大を招いていた。
On the other hand, the
For example, as shown in FIG. 6 (a), even if the budget / result database for each department stores budget data and record data for each year in addition to the department code and department name, In order to simplify the display items, the department name, current year's budget and actual results, and results prior to the previous year are displayed, and department codes and budgets prior to the previous year are not displayed Is set, the
Thus, by thinning out the non-displayed data before transmitting the data to the
Hiding unnecessary data items on the Web browser of the
つぎにデータ変換部34は、このデータリストの構成データを、汎用のデータ型に変換した後(S17)、制御部30に出力する。
すなわち、一つのレコードには通常、ブール型、バイト型、文字型、日付型、整数型、文字列型等、異なるデータ型のデータが含まれているが、後段における処理を単純化するため、この段階でデータ変換部34はこれらを一律に文字列表示用の汎用的なデータ型に変換する。
この結果、制御部30及び画面生成部32はデータリストに含まれる各データのデータ型を意識することなく処理することが可能となり、制御部30及び画面生成部32を実現するためのプログラムコードを簡素化することができる。
Next, 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に格納する(S18)。
つぎに制御部30は、画面デザインに基づいて予めプログラムコード中に設定されたデータ一覧表の行数情報(例えば1頁=5行)を参照し、第1のキャッシュ38に格納された上位5件のデータリストを抽出すると共に、これを第2のキャッシュ40に格納する(S19)。
The
Next, the
これに対し画面生成部32は、第2のキャッシュ40に格納されたデータリストに対し、画面中に設けられるデータ一覧表の定義情報をセットする(S20)。
この定義情報には、少なくとも以下のものが含まれている。
(1) 一覧表の最大横幅情報
(2) 各データ項目の表示幅情報
(3) 固定表示項目を特定する情報
On the other hand, the
This definition information includes at least the following items.
(1) Maximum table width information
(2) Display width information for each data item
(3) Information that identifies fixed display items
これらの定義情報は、Java(登録商標)言語のポインタ機能を通じて第1のキャッシュ38内に格納されたデータリストに伝達される結果、制御部30がこれを認識することが可能となる。
つぎに制御部30は、上記(1)〜(3)の定義情報に基づいて初期画面の一覧表に表示されるべきデータ項目の範囲を決定する(S21)。
例えば、一覧表の最大横幅=750ドット、固定表示項目=部門名称であり、各データ項目の表示幅が下記の通りである場合、制御部30は部門名称(200ドット)、2004年予算(100ドット)、2004年実績(100ドット)、2003年実績(200ドット)を表示可能なデータ項目範囲と認定する。
[各表示項目の表示幅]
部門名称:200ドット
直近年予算:100ドット
直近年実績:100ドット
前年実績:200ドット
前年以前の各実績:250ドット
The definition information is transmitted to the data list stored in the
Next, the
For example, when the maximum width of the list = 750 dots, the fixed display item = department name, and the display width of each data item is as follows, the
[Display width of each display item]
Department name: 200 dots Recent budget: 100 dots Recent results: 100 dots Previous year results: 200 dots Each previous year result: 250 dots
つぎに制御部30は、画面デザイン上規定されている一覧表の行数情報(1頁=5行)に従い、第1のキャッシュ38に格納された上位5件のデータリストの中から上記の表示可能なデータ項目範囲(部門名称、2004年予算、2004年実績、2003年実績)に係るデータを抽出し、第2のキャッシュ40に格納する(S22)。
Next, the
画面生成部32は、第2のキャッシュ40からこの1頁分の表示データを取り出し、これを当該サービス専用のテンプレートに充填することによって部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S23)。
この結果、クライアント端末12のWebブラウザ上には、図7(a)に示すように、部門別予算・実績一覧の初期画面が表示される(S24)。
The
As a result, the initial screen of the departmental budget / result list is displayed on the Web browser of the
図示の通り、この部門別予算・実績一覧画面には、データの一覧表50が設けられている。
この一覧表50における直近年(2004年)の予算及び実績項目では年度表示が省略され、単に「予算」、「実績」の文字がカラム名として表示されているのに対し、前年(2003年)の実績項目については「昨年実績」がカラム名として表示されている。
これらのカラム名は、予め画面デザインにおいて規定されており、画面生成部32が管理するWebファイルのテンプレート(テキストファイル)上に記述されている。また、このカラム名の長さに応じて各データ項目の表示幅が設定されている。
As shown in the drawing, a
In the
These column names are defined in advance in the screen design, and are described on a Web file template (text file) managed by the
上記のように、制御部30は第1のキャッシュ38に格納したデータリストの中から、画面デザインで規定された1頁の行数分のデータリストを切り出して第2のキャッシュ40に格納し、これを画面生成部32が取り出して表示画面(Webファイル)を生成し、1頁単位で順次クライアント端末12に送信するように構成したため、Webブラウザ上では常に決められた行数(5行)のデータリストが表示され、図7(a)に示したように、終了ボタン52や印刷ボタン54の位置も画面上で固定されることとなる。
この結果、従来の専用アプリケーションプログラムで画面を生成した場合と同様の、見やすいユーザインタフェイスを実現できる。
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.
ここで、ユーザが昨年(2003年)より前の実績情報の閲覧を希望する場合、右列スクロールボタン56をクリックする。
この結果、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、右列スクロールのイベントが送信される(図4のS25)。
これを受けた制御部30は、第1のキャッシュ38から右列スクロール後において一覧表に表示されるべきデータを抽出し(S26)、第2のキャッシュ40に格納する(S27)。
この右列スクロール後の表示データの範囲は、制御部30によって以下の要領で決定される。
Here, when the user desires to view the past performance information before last year (2003), the right
As a result, a right column scroll event is transmitted from the
Receiving this, the
The range of the display data after the right column scroll is determined by the
まず、最大横幅が750ドットであり、固定表示項目である「部門名称」の表示幅が200ドットであるため、残りの表示項目に割当て可能な横幅は550ドット以内となる。
つぎに、2002年実績の表示幅が250ドットであるため、他の表示項目に割当て可能な表示幅は300ドット以内となる。
また、2003年実績の表示幅が200ドット、2004年実績の表示幅が100ドットであるため、両者を表示させても300ドット内に収まる。
以上の結果、右列スクロール後の表示項目は、部門名称、2004年実績、2003年実績、2002年実績の各項目となる。
つぎに制御部30は、上記項目に係るデータを上位5件分だけ第1のキャッシュ38に蓄積されたデータリストから抽出し、第2のキャッシュ40に格納する。
First, since the maximum width is 750 dots and the display width of the “department name” that is a fixed display item is 200 dots, the width that can be assigned to the remaining display items is within 550 dots.
Next, since the display width of the 2002 record is 250 dots, the display width that can be assigned to other display items is within 300 dots.
Further, since the display width of the 2003 actual result is 200 dots and the display width of the 2004 actual result is 100 dots, even if both are displayed, they are within 300 dots.
As a result of the above, the display items after scrolling to the right are the department name, the 2004 results, the 2003 results, and the 2002 results.
Next, the
画面生成部32は、第2のキャッシュ40からこの右列スクロール後の表示データを取り出し、これを上記テンプレートに充填することによって部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S28)。
この結果、クライアント端末12のWebブラウザ上には、図7(b)に示すように、右列スクロール後の部門別予算・実績一覧画面が表示される(S29)。
この画面の一覧表50においては、固定表示項目としての部門名称に対応した「部門」の他、「実績」、「昨年実績」、「2002年実績」の各項目が表示されている。
The
As a result, as shown in FIG. 7B, the departmental budget / result list screen after scrolling the right column is displayed on the Web browser of the client terminal 12 (S29).
In the
ここでユーザが、鉄鋼製品〜情報通信部門以外の予算・実績情報の閲覧を希望する場合、一覧表50の次行スクロールボタン58をクリックする。
この結果、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、次行スクロールのイベントが送信される(S30)。
これを受けた制御部30は、第1のキャッシュ38から次行スクロール後において表示されるべきデータを抽出し(S31)、第2のキャッシュ40に格納する(S32)。
Here, when the user wishes to view the budget / actual information other than the steel product to the information communication department, the user clicks the next
As a result, the next line scroll event is transmitted from the
Receiving this, the
この次行スクロール後の表示データは、具体的には以下の要領で決定される。
まず、表示項目については変更がないため、上記と同様、部門名称、2004年実績、2003年実績、2002年実績のデータが抽出対象として認定される。
つぎに、非鉄製品部門から情報通信部門の次の行に配置された食料部門までのデータが第1のキャッシュ38から抽出され、第2のキャッシュ40に格納される。
The display data after the next line scroll is specifically determined in the following manner.
First, since the display items are not changed, the data of the department name, the 2004 actual result, the 2003 actual result, and the 2002 actual result are recognized as extraction targets, as described above.
Next, data from the non-ferrous product department to the food department arranged in the next line of the information communication department is extracted from the
画面生成部32は、第2のキャッシュ40からこの表示データを取り出し、これを上記テンプレートに充填することによって次行スクロール後の部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S33)。
この結果、クライアント端末12のWebブラウザ上には、図7(c)に示すように、次行スクロール後の部門別予算・実績一覧画面が表示される(S34)。
図示の通り、この次行スクロール後の一覧表50においては、鉄鋼製品部門に係るデータが非表示となり、代わりに食料部門に係るデータが表示されている。
The
As a result, as shown in FIG. 7C, the departmental budget / result list screen after scrolling the next line is displayed on the Web browser of the client terminal 12 (S34).
As shown in the drawing, in the
ここでユーザが、食料部門に係る本年度予算の閲覧を希望する場合、一覧表50の左列スクロールボタン60をクリックする。
この結果、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、左列スクロールのイベントが送信される(S35)。
これを受けた制御部30は、第1のキャッシュ38から左列スクロール後において表示されるべきデータを抽出し(S36)、第2のキャッシュ40に格納する(S37)。
この左列スクロール後の表示項目範囲は、上記と同様のロジックに従い、部門名称、2004年予算、2004年実績、2003年実績と認定される。
Here, when the user wishes to view the budget for the current fiscal year related to the food department, the user clicks the left
As a result, a left column scroll event is transmitted from the
Receiving this, the
The display item range after scrolling the left column is recognized as a department name, a 2004 budget, a 2004 result, and a 2003 result according to the same logic as described above.
画面生成部32は、第2のキャッシュ40からこの表示データを取り出し、これを上記テンプレートに充填することによって左列スクロール後の部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S38)。
この結果、クライアント端末12のWebブラウザ上には、図7(d)に示すように、部門別予算・実績一覧画面が表示される(S39)。
図示の通り、この左列スクロール後の一覧表50においては、食料部門に係る本年度予算が表示されている。
ここでユーザが前行スクロールボタン62をクリックすることにより、図7(a)の初期画面が表示されることはいうまでもない。
The
As a result, as shown in FIG. 7D, a departmental budget / result list screen is displayed on the Web browser of the client terminal 12 (S39).
As shown in the figure, in this
It goes without saying that when the user clicks the previous
ユーザが図7(a)の初期画面において、一覧表50の右頁スクロールボタン64をクリックした場合には、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、右頁スクロールのイベントが送信される(図5のS40)。
ここで右頁スクロールイベントとは、一覧表50における全表示項目を右側に存在する非表示データと入れ替えることを要求するものであり、これを受けた制御部30は、第1のキャッシュ38から右頁スクロール後において一覧表に表示されるべきデータを抽出し(S41)、第2のキャッシュ40に格納する(S42)。
この右頁スクロール後の表示データの範囲は、制御部30によって以下の要領で決定される。
When the user clicks the right
Here, the right-page scroll event is a request to replace all display items in the
The range of display data after scrolling the right page is determined by the
まず、一覧表50の最大横幅が750ドットであり、固定表示項目である「部門名称」の表示幅が200ドットであるため、残りの表示項目に割当て可能な表示幅は550ドット以内となる。
つぎに、2002年実績及び2001年実績の表示幅がそれぞれ250ドットで合計500ドットに達し、2000年実績を表示範囲に含めることができない。
以上の結果、右頁スクロール後の表示項目は、部門名称、2002年実績、2001年実績の各項目となる。
つぎに制御部30は、上記項目に係るデータを上位5件分だけ第1のキャッシュ38に蓄積されたデータリストから抽出し、第2のキャッシュ40に格納する。
First, since the maximum width of the
Next, the display width of the 2002 results and the 2001 results reaches 250 dots in total, reaching a total of 500 dots, and the 2000 results cannot be included in the display range.
As a result, the display items after scrolling the right page are the department name, the 2002 results, and the 2001 results.
Next, the
画面生成部32は、第2のキャッシュ40からこの右頁スクロール後の表示データを取り出し、これを上記テンプレートに充填することによって部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S43)。
この結果、クライアント端末12のWebブラウザ上には、図8に示すように、右頁スクロール後の部門別予算・実績一覧画面が表示される(S44)。
この画面の一覧表50においては、「部門」、「2002年実績」、「2001年実績」の各項目が表示されている。
The
As a result, as shown in FIG. 8, the departmental budget / result list screen after scrolling the right page is displayed on the Web browser of the client terminal 12 (S44).
In the
ユーザが図7(a)の初期画面において、一覧表50の次頁スクロールボタン66をクリックした場合には、クライアント端末12の処理要求部24からフロントエンドサーバ16に対し、次頁スクロールのイベントが送信される(S45)。
ここで次頁スクロールイベントとは、一覧表50における全表示項目を下方向に存在するデータ項目と入れ替えることを要求するものであり、これを受けた制御部30は、第1のキャッシュ38から次頁スクロール後において一覧表に表示されるべきデータを抽出し(S46)、第2のキャッシュ40に格納する(S47)。
この次頁スクロール後の表示データの範囲は、制御部30によって以下の要領で決定される。
When the user clicks the next
Here, the next page scroll event is a request to replace all display items in the
The range of display data after scrolling the next page is determined by the
まず、表示項目については変更がないため、上記と同様、部門名称、2004年予算、2004年実績、2003年実績のデータが抽出対象として認定される。
つぎに、情報通信部門の次行に位置する食料部門以降の5件分が抽出対象となる筈であるが、部門別予算・実績データベースには元々9件分のレコードのみが格納されているため、制御部30は食料部門以降の4件分のデータを第1のキャッシュ38から抽出し、第2のキャッシュ40に格納する。
First, since there is no change in the display items, as in the above case, the data of the department name, the 2004 budget, the 2004 results, and the 2003 results are certified as extraction targets.
Next, 5 cases from the food department on the next line of the information and communication department should be extracted, but only 9 records are originally stored in the departmental budget / result database. The
画面生成部32は、第2のキャッシュ40からこの表示データを取り出し、これを上記テンプレートに充填することによって次頁スクロール後の部門別予算・実績一覧用のWebファイルを生成し、クライアント端末12に送信する(S48)。
この結果、クライアント端末12のWebブラウザ上には、図9に示すように、部門別予算・実績一覧画面が表示される(S49)。
図示の通り、この次頁スクロール後の一覧表50においては、鉄鋼製品〜情報通信部門に係るデータが非表示となり、代わりに食料〜機械部門に係るデータが表示されている。
The
As a result, the departmental budget / result list screen is displayed on the Web browser of the
As shown in the drawing, in the
画面のデータ一覧表50におけるカラム名は、画面デザインの見直しによってその表記が変更されることが予想され、これに従って表示幅もデータ項目毎にまちまちとなる。また、表示されるデータの長さに応じて表示幅を変える必要が生じる場合もある。
これに対し、上記のようにデータ一覧表50の最大横幅と各表示項目の表示幅を画面生成部32が管理する定義ファイルに設定しておき、これを制御部30が参照することによって表示すべきデータ項目を決定するように構成しておけば、画面デザインの変更が生じても定義ファイルの記述を修正するだけで対応可能となり、制御部30を実現するためのプログラムコードに修正を加える必要がない。
例えば、本年度予算を上記のように単に「予算」と表示する代わりに、「2004年予算」と長目に表示するよう画面デザインを変更した場合、「部門」に続く項目(直近年の予算項目)のカラム名をデータベースのフィールド名と一致させるようにテンプレート上の記述を改変すれば済むこととなり、制御部30のコードを手直しする必要がない。
The column names in the
On the other hand, as described above, the maximum width of the
For example, instead of simply displaying “Budget” for the current year's budget as shown above, if the screen design is changed to display “2004 Budget” for a long time, the item following “Department” (the most recent budget item) It is sufficient to modify the description on the template so that the column name of () matches the field name of the database, and there is no need to modify the code of the
ただし、この発明は上記のように画面生成部32が保持する定義情報を第2のキャッシュ40内に格納されたデータリストにセットし、これをJava(登録商標)のポインタ機能を利用して第1のキャッシュ38内に格納された元のデータリストに伝達し、この結果制御部30が定義情報を認識するという方式に限定されるものではない。
例えば、一覧表の最大横幅情報、各データ項目の表示幅情報、固定表示項目を特定する情報を、予め制御部30を実現するためのプログラム内に記述しておくことにより、画面生成部32から定義情報が提供されるのを待つことなく、一覧表50の表示データ範囲を制御部30が独自に判断できるように構成することも可能である。
However, according to the present invention, the definition information held by the
For example, the maximum width information of the list, the display width information of each data item, and the information for specifying the fixed display items are described in advance in the program for realizing the
このシステム10の場合、各サービス毎に独自の画面デザイン(画面テンプレート)が設計され、それに合わせて制御部30や画面生成部32、データ変換部34の動作を変更する必要がある。
例えば、あるデータベースの参照画面においては10行/頁の一覧表を設ける画面デザインを採用した場合、制御部30及び画面生成部32は、10件のデータを1頁として処理することが求められる。
これに対し、業務処理部36は画面デザインからは完全に切り離され、ただDBサーバ14に対してレコードの抽出を要求し、送信されたレコードをバッファ42に格納する処理に専念できる。
この結果、業務処理部36のプログラム構成を簡素化することができるため、そのコードの再利用性や安定性が向上する効果がある。
また、画面のデザインが変更になった場合も、画面生成部32が管理している画面テンプレートと定義ファイル、制御部30及びデータ変換部34のコードを修正すれば足り、業務処理部36のコードは修正する必要がない。
In the case of this
For example, when a screen design that provides a list of 10 lines / page is adopted in a reference screen of a certain database, the
On the other hand, the
As a result, since the program configuration of the
Even when the screen design is changed, it is sufficient to modify the screen templates and definition files 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.
上記にあっては、データの一覧表50において横スクロール及び縦スクロールが可能な例を示したが、この発明はこれに限定されるものではない。
例えば、表示対象となるレコードの件数が元々少ないため頻繁な縦スクロールを必要としない場合、制御部30は第1のキャッシュ38内のデータリストから必要なデータ項目を全件分抽出し、第2のキャッシュ40に出力する。
これに対し画面生成部32は、これらのデータをそのままテンプレートに充填してWebファイルを生成し、クライアント端末12に送信する。
この結果、クライアント端末12のブラウザ上には、縦スクロールボタンが省略され、横スクロールボタンのみを備えた一覧表50が表示されることとなる。
In the above, an example in which horizontal scrolling and vertical scrolling are possible is shown in the
For example, when the number of records to be displayed is originally small and frequent vertical scrolling is not required, the
On the other hand, the
As a result, the vertical scroll button is omitted on the browser of the
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 右頁スクロールボタン
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 List of data
52 Exit button
54 Print button
56 Right column scroll button
58 Next line scroll button
60 Left column scroll button
62 Previous scroll button
64 Right page scroll button
X1, X2, X3 application program
Claims (12)
上記フロントエンドサーバが、
画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する機能と、
データベースサーバから送信されたデータリストが格納されている第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 for determining the data items to be displayed in the list on the initial screen with reference to the maximum width information of the list specified by the screen design and the display width information of each data item,
A function of extracting a data string related to the data item from a first cache storing a data list transmitted from a database server and storing the data string in a 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 determining a data item to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a horizontal scroll event is transmitted from the client terminal to the displayed list;
A function of extracting a data string related to the data item 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 after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
上記フロントエンドサーバが、
画面デザインが規定する一覧表の最大横幅情報、各データ項目の表示幅情報、及び固定表示項目情報を参照し、初期画面において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、
データベースサーバから送信されたデータリストが格納されている第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 determines the data items to be displayed in the list in addition to the fixed display items on the initial screen by referring to the maximum width information of the list specified by the screen design, the display width information of each data item, and the fixed display item information. When,
A function of extracting a data string relating to the data item and a data string relating to the fixed display item from the first cache storing the data list transmitted from the database server, and storing the data string 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 horizontal scroll event is sent from the client terminal to the displayed list, the maximum horizontal width information, the display width information of each data item, and the fixed display item information are referred to, and after the horizontal scroll, other than the fixed display item A function to determine the data items to be displayed in the list,
A function of extracting the data string related to the data item and the data string related to the fixed display item from the first cache and storing them 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 after scrolling;
A function to send this web file to the client terminal,
A database utilization system characterized by comprising:
上記フロントエンドサーバが、
画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する機能と、
データベースサーバから送信されたデータリストが格納されている第1のキャッシュから、上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報及び各データ項目の表示幅情報を参照し、当該横スクロール後に表示すべきデータ項目を決定する機能と、
第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 for determining the data items to be displayed in the list on the initial screen with reference to the maximum width information of the list specified by the screen design and the display width information of each data item,
From the first cache in which the data list transmitted from the database server is stored, the data columns related to the data items are extracted by the number corresponding to the number of rows in the list defined by the screen design, and stored in the second cache. The function to store,
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 determining a data item to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a horizontal scroll event is transmitted from the client terminal to the displayed list;
A function of extracting a data string related to the data item from the first cache by the number corresponding to the number of rows in the list defined by the screen design, and storing the data 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 after scrolling;
A function to send this web file to the client terminal,
When a vertical scroll event is sent from the client terminal to the list being displayed, the portion corresponding to each row to be displayed after the vertical scroll is extracted from the first cache from the data row related to the data item. A function to store in the second cache;
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のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する機能と、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する機能と、
このWebファイルをクライアント端末に送信する機能と、
クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する機能と、
第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 determines the data items to be displayed in the list in addition to the fixed display items on the initial screen by referring to the maximum width information of the list specified by the screen design, display width information of each data item, and fixed display item information When,
From the first cache in which the data list transmitted from the database server is stored, the number of data columns corresponding to the number of rows of the list defined by the screen design for the data columns related to the data items and the data columns related to the fixed display items. The ability to extract and store in a 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 horizontal scroll event is sent from the client terminal to the displayed list, the maximum horizontal width information, the display width information of each data item, and the fixed display item information are referred to, and after the horizontal scroll, other than the fixed display item A function to determine the data items to be displayed in the list,
A function of extracting the data string related to the data item and the data string related to the fixed display item from the first cache by the number corresponding to the number of rows in the list specified by the screen design, and storing the data string 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 after scrolling;
A function to send this web file to the client terminal,
When a vertical scroll event is sent from the client terminal to the list being displayed, it is displayed after the vertical scroll in the data row corresponding to the data item and the data row corresponding to the fixed display item from the first cache. A function of extracting a portion corresponding to each power line and storing it in a second cache;
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〜4の何れかに記載のデータベース利用システム。 The front-end server
A function that stores a list of records sent from the database server in a buffer;
A function for extracting 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 a data list including a combination of the data in the first cache;
The database utilization system according to any one of claims 1 to 4, further comprising:
データベースサーバから送信されたレコードのリストをバッファに格納する機能と、
上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する機能と、
この変換済みのデータからなるデータリストを第1のキャッシュに格納する機能と、
を備えたことを特徴とする請求項1〜5の何れかに記載のデータベース利用システム。 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;
The database utilization system according to any one of claims 1 to 5, further comprising:
上記フロントエンドサーバを、
画面デザインが規定する一覧表の最大横幅情報及び各データ項目の表示幅情報を参照し、初期画面において一覧表に表示すべきデータ項目を決定する手段、
データベースサーバから送信されたデータリストが格納されている第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 determining the data items to be displayed in the list on the initial screen with reference to the maximum width information of the list defined by the screen design and the display width information of each data item;
Means for extracting a data string related to the data item from a first cache storing a data list transmitted from a database server and storing the data string in a 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 determining a data item to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a horizontal scroll event for the list being displayed is transmitted from the client terminal;
Means for extracting a data string related to the data item from the first cache and storing it in the second cache;
Means for taking out the data list in the second cache, filling the template reflecting the screen design, 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のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を抽出し、第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 determining the data items to be displayed in the list other than the fixed display items on the initial screen by referring to the maximum width information of the list specified by the screen design, the display width information of each data item, and the fixed display item information ,
Means for extracting a data string relating to the data item and a data string relating to the fixed display item from the first cache storing the data list transmitted from the database server, and storing the data string 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 horizontal scroll event is sent from the client terminal to the displayed list, the maximum horizontal width information, the display width information of each data item, and the fixed display item information are referred to, and after the horizontal scroll, other than the fixed display item Means for determining the data items to be displayed in the list,
Means for extracting a data string relating to the data item and a data string relating to the fixed display item from the first cache and storing them in a second cache;
Means for taking out the data list in the second cache, filling the template reflecting the screen design, 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のキャッシュから、上記データ項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報及び各データ項目の表示幅情報を参照し、当該横スクロール後に表示すべきデータ項目を決定する手段、
第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 determining the data items to be displayed in the list on the initial screen with reference to the maximum width information of the list defined by the screen design and the display width information of each data item;
From the first cache in which the data list transmitted from the database server is stored, the data columns related to the data items are extracted by the number corresponding to the number of rows in the list defined by the screen design, and stored in the second cache. Means for storing,
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 determining a data item to be displayed after the horizontal scrolling by referring to the maximum horizontal width information and the display width information of each data item when a horizontal scroll event for the list being displayed is transmitted from the client terminal;
Means for extracting a data string related to the data item from the first cache for the number of rows corresponding to the number of rows in the list defined by the screen design, and storing it in the second cache;
Means for taking out the data list in the second cache, filling the template reflecting the screen design, and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
When a vertical scroll event is sent from the client terminal to the list being displayed, the portion corresponding to each row to be displayed after the vertical scroll is extracted from the first cache from the data row related to the data item. Means for storing in a second cache;
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のキャッシュから、上記データ項目に係るデータ列及び固定表示項目に係るデータ列を画面デザインが規定する一覧表の行数に対応する件数分抽出し、第2のキャッシュに格納する手段、
第2のキャッシュ内のデータリストを取り出し、画面デザインを反映したテンプレートに充填して画面表示用のWebファイルを生成する手段、
このWebファイルをクライアント端末に送信する手段、
クライアント端末から表示中の一覧表に対する横スクロールイベントが送信された場合に、上記最大横幅情報、各データ項目の表示幅情報及び固定表示項目情報を参照し、当該横スクロール後において当該固定表示項目以外に一覧表に表示すべきデータ項目を決定する手段、
第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 determining the data items to be displayed in the list other than the fixed display items on the initial screen by referring to the maximum width information of the list specified by the screen design, the display width information of each data item, and the fixed display item information ,
From the first cache in which the data list transmitted from the database server is stored, the number of data columns corresponding to the number of rows of the list defined by the screen design for the data columns related to the data items and the data columns related to the fixed display items. Means for extracting and storing in a 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 horizontal scroll event is sent from the client terminal to the displayed list, the maximum horizontal width information, the display width information of each data item, and the fixed display item information are referred to, and after the horizontal scroll, other than the fixed display item Means for determining the data items to be displayed in the list,
Means for extracting from the first cache a data sequence related to the data item and a data sequence related to the fixed display item for the number of rows corresponding to the number of rows in the list defined by the screen design, and storing in the second cache;
Means for taking out the data list in the second cache, filling the template reflecting the screen design, and generating a web file for screen display after scrolling;
Means to send this web file to the client terminal,
When a vertical scroll event is sent from the client terminal to the list being displayed, it is displayed after the vertical scroll in the data row corresponding to the data item and the data row corresponding to the fixed display item from the first cache. Means for extracting a portion corresponding to each power line and storing it in a second cache;
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のキャッシュに格納する手段、
として機能させることを特徴とする請求項7〜10の何れかに記載のデータベース利用プログラム。 The above front-end server
Means for storing a list of records sent from the database server in a buffer;
Means for extracting a combination of data relating 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 a combination of the data;
The database utilization program according to any one of claims 7 to 10, wherein
データベースサーバから送信されたレコードのリストをバッファに格納する手段、
上記レコードを構成する少なくとも一部のデータを汎用的なデータ型に変換する手段、
この変換済みのデータからなるデータリストを第1のキャッシュに格納する手段、
として機能させることを特徴とする請求項7〜11の何れかに記載のデータベース利用プログラム。
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;
The database utilization program according to any one of claims 7 to 11, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004205380A JP4460962B2 (en) | 2004-07-13 | 2004-07-13 | Database usage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004205380A JP4460962B2 (en) | 2004-07-13 | 2004-07-13 | Database usage system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006031130A true JP2006031130A (en) | 2006-02-02 |
JP4460962B2 JP4460962B2 (en) | 2010-05-12 |
Family
ID=35897441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004205380A Expired - Fee Related JP4460962B2 (en) | 2004-07-13 | 2004-07-13 | Database usage system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4460962B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007213435A (en) * | 2006-02-10 | 2007-08-23 | Nomura Research Institute Ltd | Screen information generation method, screen information generation system, and screen information generation program |
JP2014531102A (en) * | 2012-10-12 | 2014-11-20 | エスケー プラネット カンパニー、リミテッド | Scroll execution system and method using scroll top attribute of web page |
-
2004
- 2004-07-13 JP JP2004205380A patent/JP4460962B2/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007213435A (en) * | 2006-02-10 | 2007-08-23 | Nomura Research Institute Ltd | Screen information generation method, screen information generation system, and screen information generation program |
JP4732916B2 (en) * | 2006-02-10 | 2011-07-27 | 株式会社野村総合研究所 | Screen information generation method, screen information generation system, and screen information generation program |
JP2014531102A (en) * | 2012-10-12 | 2014-11-20 | エスケー プラネット カンパニー、リミテッド | Scroll execution system and method using scroll top attribute of web page |
US9959029B2 (en) | 2012-10-12 | 2018-05-01 | Sk Planet Co., Ltd. | System and method for performing scroll using scrolltop attribute of web page |
Also Published As
Publication number | Publication date |
---|---|
JP4460962B2 (en) | 2010-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949491B2 (en) | Method and apparatus for using proxies to interact with webpage analytics | |
US7146369B2 (en) | Method and system for native-byte form handling | |
US6477549B1 (en) | Transmission document editing device, a server device in a communication document processing system, and a computer-readable record medium that stores the function thereof | |
TW535081B (en) | Method and system of fulfilling requests for information from a network client | |
JP2007156713A (en) | Image processor and control method therefor | |
JP2002108870A (en) | System and method for processing information | |
US20130007586A1 (en) | Method and system for creating and using web feed display templates | |
US20010047403A1 (en) | Information transfer apparatus and method transferring to another terminal information transmitted from server to client, and machine-readable recording medium recorded with program realizing information transfer method | |
US20040230889A1 (en) | Web page display system, and image server and method of controlling the same | |
US8997014B2 (en) | Aggregating RSS ticker for display devices | |
JP2000067038A (en) | Homepage preparing device | |
US20050198568A1 (en) | Table display switching method, text data conversion program, and tag program | |
US20040268233A1 (en) | Information processing apparatus and information processing method | |
JPH11110393A (en) | Information processing method and document retrieving device | |
JP2014085746A (en) | Font distribution system and font distribution method | |
JP4460962B2 (en) | Database usage system | |
US20030122870A1 (en) | Dynamically rendering a button in a hypermedia content browser | |
JPH1125114A (en) | Browser device in network information system, browsing method and recording medium | |
JP5739968B2 (en) | Multi-character set character code input method, multi-character set character code input system, and apparatus for executing multi-character set character code input program | |
JP4502752B2 (en) | Database usage system | |
JPH10162002A (en) | Internet browsing device | |
US20080126946A1 (en) | Menu bar providing method and information browsing screen configuration file creation program | |
JP4502763B2 (en) | Database usage system | |
JP4495783B2 (en) | Database usage system | |
KR20090049004A (en) | Method and apparatus for processing of character input and method and apparatus for controlling |
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: 20091117 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100113 |
|
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: 20100209 |
|
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: 20100215 |
|
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: 20130219 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140219 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 |