JP2000222272A - Data base retrieval system - Google Patents

Data base retrieval system

Info

Publication number
JP2000222272A
JP2000222272A JP11026618A JP2661899A JP2000222272A JP 2000222272 A JP2000222272 A JP 2000222272A JP 11026618 A JP11026618 A JP 11026618A JP 2661899 A JP2661899 A JP 2661899A JP 2000222272 A JP2000222272 A JP 2000222272A
Authority
JP
Japan
Prior art keywords
data
database
server
cache
stored
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
Application number
JP11026618A
Other languages
Japanese (ja)
Other versions
JP4251699B2 (en
Inventor
Hideki Takasugi
秀樹 高杉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP02661899A priority Critical patent/JP4251699B2/en
Publication of JP2000222272A publication Critical patent/JP2000222272A/en
Application granted granted Critical
Publication of JP4251699B2 publication Critical patent/JP4251699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data base retrieval system capable of retrieving a data base on a network at high speed. SOLUTION: A request processing part 21 of a Web server 20, which receives a service request from a client 1, retrieves a data object 22 and when there are data, they are sent to the client 1 however when there is no data, while referring to a data base reference 23, the transfer of data is requested to a data base managing part 31. The data base managing part 31 acquires data from a data cache 33 while referring to an object reference 34 and when there is no data, data are acquired from a data base 32 and transferred to the Web server 20.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ネットワーク環
境において高速キャッシュを実現するデータベース検索
システムに関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a database search system for realizing a high-speed cache in a network environment.

【0002】[0002]

【従来の技術】図7は従来のデータベース検索システム
の構成を示す図であり、図において、1はサービス要求
を発信するクライアント、2はインターネット技術を利
用したネットワーク5を経由してクライアント1からの
サービス要求を受信するWebサーバである。3はデー
タベースサーバであり、Webサーバ2からのデータ転
送要求を受信し、データを保有しているディスク4から
該当するデータを検索し、ネットワーク5を経由してW
ebサーバ2に転送する。一般的には、Webサーバ2
はネットワーク5上のサービス提供業者により保有され
ている。図7において、クライアント1,Webサーバ
2,データベースサーバ3は、ネットワーク5上で複数
存在するものとする。
2. Description of the Related Art FIG. 7 is a diagram showing the configuration of a conventional database search system. In the figure, reference numeral 1 denotes a client that sends a service request, and 2 denotes a client from a client 1 via a network 5 using the Internet technology. A Web server that receives a service request. Reference numeral 3 denotes a database server which receives a data transfer request from the Web server 2, searches the disk 4 holding the data for relevant data,
Transfer to e-server 2. Generally, Web server 2
Is held by a service provider on the network 5. 7, a plurality of clients 1, a Web server 2, and a database server 3 exist on the network 5.

【0003】次に動作について説明する。クライアント
1は、ブラウザを用いて、ネットワーク5を経由しWe
bサーバ2に対してサービス要求を発信する。サービス
要求を受信したWebサーバ2は、そのサービスを実現
するために必要なデータを管理しているデータベースサ
ーバ3を特定し、ネットワーク5を経由しデータの転送
要求を発信する。
Next, the operation will be described. The client 1 uses the browser to connect to the Web 5 via the network 5.
A service request is sent to the server b. The Web server 2 that has received the service request specifies the database server 3 that manages data necessary to realize the service, and sends a data transfer request via the network 5.

【0004】データの転送要求を受信したデータベース
サーバ3は、データを保有しているディスク4から該当
するデータを抽出し、要求のあったWebサーバ2に、
ネットワーク5を経由し、抽出したデータを転送する。
Webサーバ2は、必要であれば取得したデータを加工
し、ネットワーク5を経由し、サービス要求のあったク
ライアント1にサービスを提供する。
[0004] Upon receiving the data transfer request, the database server 3 extracts the relevant data from the disk 4 holding the data, and sends the data to the requesting Web server 2.
The extracted data is transferred via the network 5.
The Web server 2 processes the acquired data if necessary, and provides a service to the client 1 that has requested the service via the network 5.

【0005】[0005]

【発明が解決しようとする課題】従来のデータベース検
索システムは以上のように構成されているので、ディス
ク4への低速度のインターフェースを介して検索しなけ
ればならず、ネットワーク5を経由し大量のデータをオ
ンラインで検索する場合には、高速に検索できないとい
う課題があった。
Since the conventional database search system is configured as described above, the search must be performed through a low-speed interface to the disk 4, and a large amount of data must be searched through the network 5. When searching data online, there was a problem that high-speed search was not possible.

【0006】上記のような課題を解決するものとして、
従来は、データベースサーバ3が内蔵するデータキャッ
シュに、ディスク4から検索されたデータを格納してお
き、Webサーバ2からデータの転送要求があった場合
には、データキャッシュから該当するデータをWebサ
ーバ2に転送するという方法が使用されている。しか
し、データベースサーバ3において、データキャッシュ
を構成しているメモリが、データベースサーバ3内のC
PUと別のLSI上に実装されており、高速化のために
は、CPUとメモリ間のデータ幅、すなわちバス幅を増
やす必要がある。すると、メモリとCPU間のバス長が
長くなることと相まってクロストークが増加し、その対
策のために、CPUのクロック周波数を下げる必要が生
じて、結果的には処理が遅くなり、高速化が困難という
課題があった。
[0006] In order to solve the above problems,
Conventionally, data retrieved from the disk 4 is stored in a data cache incorporated in the database server 3, and when a data transfer request is received from the Web server 2, the corresponding data is transferred from the data cache to the Web server. 2 is used. However, in the database server 3, the memory constituting the data cache is stored in the C in the database server 3.
Since it is mounted on a separate LSI from the PU, it is necessary to increase the data width between the CPU and the memory, that is, the bus width in order to increase the speed. Then, the crosstalk increases in conjunction with the increase in the bus length between the memory and the CPU, and it is necessary to lower the clock frequency of the CPU in order to take countermeasures. As a result, the processing becomes slower and the speed is increased. There was a problem of difficulty.

【0007】この発明は上記のような課題を解決するた
めになされたもので、ネットワーク環境において高速キ
ャッシュを実現し、ネットワーク5上で高速にデータベ
ースを検索できるデータベース検索システムを得ること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has as its object to realize a high-speed cache in a network environment and to obtain a database search system capable of searching a database on the network 5 at high speed. .

【0008】[0008]

【課題を解決するための手段】この発明に係るデータベ
ース検索システムは、ネットワークを経由し、クライア
ントからのサービス要求を受け、必要なデータを取得し
て上記クライアントからのサービスを提供するWebサ
ーバと、上記Webサーバからのデータ転送要求を受け
て、保有するデータベースからデータを検索し、上記W
ebサーバに転送するデータベースサーバとを備えたも
のにおいて、上記Webサーバが、上記データベースサ
ーバから転送されたデータを格納するデータオブジェク
トと、上記データオブジェクトに格納されたデータと上
記データベースサーバが保有するデータとの相関をとる
データベースリファレンスと、上記データオブジェクト
に上記サービス要求を実現するために必要なデータが格
納されている場合、上記データオブジェクトからデータ
を取得して、上記クライアントに要求されたサービスを
提供し、データオブジェクトに上記サービス要求を実現
するために必要なデータが格納されていない場合、上記
データベースリファレンスを参照して、上記データベー
スサーバに必要なデータの転送を要求し、上記必要なデ
ータを取得してから、上記クライアントに要求されたサ
ービスを提供する要求処理部とを備え、上記データベー
スサーバが、データベースから検索されたデータを格納
するデータキャッシュと、上記データベースに保有され
ているデータと上記データキャッシュに格納されている
データと上記データオブジェクトに格納されたデータと
の相関をとるオブジェクトリファレンスと、上記要求処
理部からの必要なデータ転送の要求を受け、上記オブジ
ェクトリファレンスを参照して、上記データキャッシュ
に必要なデータが格納されている場合、上記データキャ
ッシュからデータを取得して上記要求処理部に転送し、
上記データキャッシュに必要なデータが格納されていな
い場合、上記データベースからデータを取得して上記デ
ータキャッシュに格納すると共に、上記オブジェクトリ
ファレンスを更新するデータベース管理部とを備えたも
のである。
A database search system according to the present invention receives a service request from a client via a network, acquires necessary data, and provides a service from the client, In response to a data transfer request from the Web server, data is retrieved from a database held by the
a data object for storing data transferred from the database server, data stored in the data object, and data held by the database server. If the data required to realize the service request is stored in the data object, the data is obtained from the data object to provide the requested service to the client. If the data required to implement the service request is not stored in the data object, the database server refers to the database reference, requests the database server to transfer necessary data, and acquires the required data. Teka A request processing unit that provides a service requested by the client, wherein the database server stores data retrieved from a database, and data stored in the database and stored in the data cache. An object reference for correlating the data stored in the data object with the data stored in the data object and a request for necessary data transfer from the request processing unit are received. If such data is stored, the data is obtained from the data cache and transferred to the request processing unit,
When necessary data is not stored in the data cache, the data cache is provided with a database management unit that acquires data from the database, stores the data in the data cache, and updates the object reference.

【0009】この発明に係るデータベース検索システム
は、データベースリファレンスが、データベースに格納
されているデータのインデックスと、データベースサー
バのネットワーク上のIPアドレスと、データを格納し
ているデータオブジェクトのアドレスとにより、上記デ
ータベースサーバが保有するデータとの相関をとるもの
である。
[0009] In the database search system according to the present invention, the database reference is based on the index of the data stored in the database, the IP address of the database server on the network, and the address of the data object storing the data. The correlation with the data held by the database server is obtained.

【0010】この発明に係るデータベース検索システム
は、オブジェクトリファレンスが、データベースに格納
されているデータのインデックスと、データを格納して
いるデータキャッシュのアドレスと、Webサーバのネ
ットワーク上のIPアドレスとにより、上記Webサー
バが保有するデータとの相関をとるものである。
[0010] In the database search system according to the present invention, the object reference is based on the index of the data stored in the database, the address of the data cache storing the data, and the IP address of the Web server on the network. The correlation with the data held by the Web server is taken.

【0011】この発明に係るデータベース検索システム
は、データベースに格納されているデータを更新する場
合、データベース管理部が、データベースの更新対象の
データをロックし、オブジェクトリファレンスに更新対
象のデータのリファレンスが存在しない場合、上記デー
タベース管理部が、上記データベースの更新対象のデー
タを更新してからロックを解除し、オブジェクトリファ
レンスに更新対象のデータのリファレンスが存在する場
合、上記データベース管理部が、データキャッシュの更
新対象のデータをロックすると共に、上記要求処理部に
通知して、データオブジェクトの更新対象のデータをロ
ックさせ、上記データベースのデータを更新してからロ
ックを解除し、上記データキャッシュのデータを更新し
てからロックを解除し、上記要求処理部に通知して、デ
ータオブジェクトのデータを更新させてロックを解除さ
せるものである。
In the database search system according to the present invention, when updating data stored in the database, the database management unit locks the data to be updated in the database, and the object reference contains the reference to the data to be updated. If not, the database management unit updates the data to be updated in the database, and then releases the lock.If the reference to the data to be updated exists in the object reference, the database management unit updates the data cache. Lock the target data and notify the request processing unit to lock the data to be updated of the data object, update the data in the database, release the lock, and update the data in the data cache. Then unlock And notifies to the request processing unit, is intended to release the lock by updating the data of the data object.

【0012】この発明に係るデータベース検索システム
は、Webサーバにおける要求処理部、データオブジェ
クト、データリファレンスを、1チップのシステムLS
Iに集積したものである。
[0012] In the database search system according to the present invention, a request processing unit, a data object, and a data reference in a Web server are stored in a one-chip system
I.

【0013】この発明に係るデータベース検索システム
は、データベースサーバにおけるデータベース管理部、
データベース、データキャッシュ、オブジェクトリファ
レンスを、1チップのシステムLSIに集積したもので
ある。
[0013] A database search system according to the present invention includes a database management unit in a database server;
The database, data cache, and object reference are integrated on a one-chip system LSI.

【0014】[0014]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1は実施の形態1によるデータベース
検索システムの構成を示す図である。図において、クラ
イアント1,ネットワーク5は、従来の図7の構成と同
一のものである。20はWebサーバであり、ネットワ
ーク5を経由してクライアント1からのサービス要求を
受信し、クライアント1にサービスを提供する。30は
データベースサーバであり、Webサーバ20からのデ
ータ転送要求を受信し、保有しているデータを検索し、
ネットワーク5を経由してWebサーバ20に転送す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a diagram showing a configuration of the database search system according to the first embodiment. In the figure, a client 1 and a network 5 have the same configuration as the conventional configuration of FIG. A web server 20 receives a service request from the client 1 via the network 5 and provides a service to the client 1. Reference numeral 30 denotes a database server which receives a data transfer request from the Web server 20, searches for retained data,
The data is transferred to the Web server 20 via the network 5.

【0015】また、図1のWebサーバ20において、
21は要求処理部であり、クライアント1からのサービ
ス要求を受信し、必要であれば、データベースサーバ3
0からデータの転送を受けて、クライアント1にサービ
スを提供する。要求処理部21の機能は、図示されてい
ないCPUとアプリケーションソフトウェアにより実現
される。22はデータベースサーバ30から転送された
データオブジェクトであり、RAM等に格納されてい
る。
In the Web server 20 shown in FIG.
Reference numeral 21 denotes a request processing unit which receives a service request from the client 1 and, if necessary,
In response to the transfer of data from 0, a service is provided to the client 1. The function of the request processing unit 21 is realized by a CPU (not shown) and application software. Reference numeral 22 denotes a data object transferred from the database server 30, which is stored in a RAM or the like.

【0016】さらに、図1のWebサーバ20におい
て、23はデータオブジェクト22とデータベースサー
バ30が保有するデータとを関連づけたデータベースリ
ファレンスであり、RAM等に格納されている。
Further, in the Web server 20 shown in FIG. 1, reference numeral 23 denotes a database reference which associates the data object 22 with data held by the database server 30, and is stored in a RAM or the like.

【0017】さらに、図1のWebサーバ20におい
て、要求処理部21,データオブジェクト22,データ
ベースリファレンス23は、システムLSIとして、1
チップのWebサーバチップ200の中に集積されてい
る。
Further, in the Web server 20 shown in FIG. 1, the request processing unit 21, the data object 22, and the database reference 23 include one as a system LSI.
The chip is integrated in the Web server chip 200.

【0018】さらに、図1のデータベースサーバ30に
おいて、31はデータベース管理部であり、Webサー
バ20の要求処理部21からのデータ転送の要求を受
け、該当するデータを取得して転送する。データベース
管理部31の機能は、図示されていないCPUと、デー
タベース管理システム等のソフトウェアにより実現され
る。32はサービスを提供するためのデータが1ギガバ
イトを越える大容量のRAM等に格納されたデータベー
スである。従来の図7におけるディスク4に格納されて
いたデータが、このデータベース32に格納されてい
る。
Further, in the database server 30 of FIG. 1, reference numeral 31 denotes a database management unit which receives a data transfer request from the request processing unit 21 of the Web server 20, acquires and transfers the corresponding data. The function of the database management unit 31 is realized by a CPU (not shown) and software such as a database management system. Reference numeral 32 denotes a database in which data for providing a service is stored in a large-capacity RAM exceeding 1 gigabyte or the like. The data stored on the disk 4 in FIG. 7 of the related art is stored in the database 32.

【0019】さらに、図1のデータベースサーバ30に
おいて、33はデータキャッシュであり、Webサーバ
20からの転送要求を受け、データベース32から取得
されたデータが格納されている。34はRAM等に格納
されたオブジェクトリファレンスであり、データベース
32、データキャッシュ33と、Webサーバ20が保
有しているデータオブジェクト22の相関を取ってい
る。
Further, in the database server 30 of FIG. 1, reference numeral 33 denotes a data cache, which stores data acquired from the database 32 in response to a transfer request from the Web server 20. Reference numeral 34 denotes an object reference stored in a RAM or the like, which correlates the database 32, the data cache 33, and the data object 22 held by the Web server 20.

【0020】さらに、図1のデータベースサーバ30に
おいて、データベース管理部31,データベース32,
データキャッシュ33,オブジェクトリファレンス34
は、システムLSIとして、1チップのデータベースサ
ーバチップ300の中に集積されている。
Further, in the database server 30 of FIG. 1, a database management unit 31, a database 32,
Data cache 33, object reference 34
Are integrated in a one-chip database server chip 300 as a system LSI.

【0021】図2はデータベースリファレンス23が保
有する情報を示す図である。図において、231はデー
タベース32が保有するデータのインデックスであり、
232はそのデータを保有しているデータベースサーバ
のURL(Universal Resource L
ocator)情報であり、要求されたデータにアクセ
スするためのネットワーク5上におけるデータベースサ
ーバ30のIP(Internet Protoco
l)アドレスが示されている。ここで、URLは、ネッ
トワーク5上の各種情報リソース(データベース)にア
クセスする手段と、リソースの名前の指定方法を定めた
規格である。
FIG. 2 is a diagram showing information held by the database reference 23. In the figure, 231 is an index of data held by the database 32,
232 is the URL (Universal Resource L) of the database server holding the data.
octor) information, and the IP (Internet Protocol) of the database server 30 on the network 5 for accessing the requested data.
l) The address is shown. Here, the URL is a standard that defines a means for accessing various information resources (databases) on the network 5 and a method for specifying a resource name.

【0022】また、図2において、233はデータオブ
ジェクト22への参照情報であり、データ格納されてい
るデータオブジェクト22のアドレスが示されている。
データベースリファレンス23は、図2に示す各情報を
リスト形式で保有している。
In FIG. 2, reference numeral 233 denotes reference information to the data object 22, which indicates the address of the data object 22 in which data is stored.
The database reference 23 holds the information shown in FIG. 2 in a list format.

【0023】図3はオブジェクトリファレンス34が保
有する情報を示す図である。図において、341はデー
タベース32への参照情報であり、データベース32中
のデータのインデックスが示されている。342はデー
タキャッシュ33への参照情報であり、データキャッシ
ュ33中のデータが格納されているアドレスが示されて
いる。343はWebサーバ20のURL情報であり、
ネットワーク5上のWebサーバ20のIPアドレスが
示されている。オブジェクトリファレンス34は、図3
に示す各情報をリスト形式で保有している。
FIG. 3 is a diagram showing information held by the object reference 34. In the figure, reference numeral 341 denotes reference information to the database 32, and indicates an index of data in the database 32. Reference numeral 342 is reference information to the data cache 33, and indicates an address where data in the data cache 33 is stored. Reference numeral 343 denotes URL information of the Web server 20,
The IP address of the Web server 20 on the network 5 is shown. The object reference 34 is shown in FIG.
Each of the information shown in Table 1 is held in the form of a list.

【0024】次に動作について説明する。図4及び図5
はデータベースの検索処理を示すフローチャートであ
る。図4のステップST11において、Webサーバ2
0の要求処理部21は、クライアント1からのサービス
要求を受信する。ステップST12において、要求処理
部21はデータベースリファレンス23を参照し、ステ
ップST13において、要求処理部21は、データオブ
ジェクト22にクライアント1からのサービス要求を実
現するためのデータが存在するかを判断する。
Next, the operation will be described. 4 and 5
9 is a flowchart showing a database search process. In step ST11 of FIG. 4, the Web server 2
The 0 request processing unit 21 receives the service request from the client 1. In step ST12, the request processing unit 21 refers to the database reference 23, and in step ST13, the request processing unit 21 determines whether data for realizing a service request from the client 1 exists in the data object 22.

【0025】上記ステップST13において、データオ
ブジェクト22に、クライアント1からのサービス要求
を実現するためのデータが存在する場合、ステップST
14において、要求処理部21はデータオブジェクト2
2から該当するデータを取得する。ステップST15に
おいて、要求処理部21は、クライアント1からのサー
ビス要求を実現するために、更にデータが必要であるか
を確認し、必要であれば、ステップST12に戻って、
ステップST12以降の処理を行う。上記ステップST
15において、更にデータが必要でない場合には、ステ
ップST16において、要求処理部21は、取得したデ
ータにより、ネットワーク5を経由してクライアント1
に要求されたサービスを提供する。
In step ST13, if data for realizing a service request from the client 1 exists in the data object 22, the process proceeds to step ST13.
At 14, the request processing unit 21 sets the data object 2
2. Obtain the corresponding data from 2. In step ST15, the request processing unit 21 confirms whether or not further data is necessary to realize the service request from the client 1, and if necessary, returns to step ST12.
The processing after step ST12 is performed. Step ST above
In step ST16, if no further data is needed, the request processing unit 21 sends the client 1
To provide the requested service.

【0026】上記ステップST13において、データオ
ブジェクト22に、クライアント1からのサービス要求
を実現するためのデータが存在しない場合、ステップS
T17において、要求処理部21は、データベースリフ
ァレンス23を参照し、そのデータを保有しているデー
タベースサーバ30のIPアドレスを取得して、必要な
データの転送をデータベースサーバ30に要求する。
In step ST13, if there is no data in the data object 22 for realizing the service request from the client 1, the process proceeds to step S13.
At T17, the request processing unit 21 refers to the database reference 23, acquires the IP address of the database server 30 holding the data, and requests the database server 30 to transfer necessary data.

【0027】図5のステップST18において、データ
ベースサーバ30のデータベース管理部31は、要求処
理部21からのデータ転送要求を受信する。ステップS
T19において、データベース管理部31は、転送要求
を受けたデータのインデックスからオブジェクトリファ
レンス34を参照し、データキャッシュ33に必要なデ
ータが格納されているかを確認する。
In step ST 18 of FIG. 5, the database management section 31 of the database server 30 receives a data transfer request from the request processing section 21. Step S
At T19, the database management unit 31 refers to the object reference 34 from the index of the data requested to be transferred, and checks whether necessary data is stored in the data cache 33.

【0028】上記ステップST19において、データキ
ャッシュ33に必要なデータが格納されている場合、ス
テップST20において、データベース管理部31は、
データキャッシュ33から必要なデータを取得する。
If necessary data is stored in the data cache 33 in step ST19, in step ST20, the database management unit 31
The necessary data is acquired from the data cache 33.

【0029】ステップST21において、データベース
管理部31は、取得したデータをWebサーバ20の要
求処理部21に転送する。ステップST22において、
要求処理部21は、転送されたデータをデータオブジェ
クト22に格納し、図4のステップST14以降の処理
を行う。
In step ST21, the database management section 31 transfers the obtained data to the request processing section 21 of the Web server 20. In step ST22,
The request processing unit 21 stores the transferred data in the data object 22, and performs the processing after step ST14 in FIG.

【0030】上記ステップST19において、データキ
ャッシュ33に必要なデータが格納されていない場合、
ステップST23において、データベース管理部31
は、データベース32から必要なデータを取得する。ス
テップST24において、データベース管理部31は、
取得したデータをデータキャッシュ33に格納し、ステ
ップST25において、データベース管理部31は、オ
ブジェクトリファレンス34を更新する。すなわち、取
得したデータのインデックス341に対応して、そのデ
ータを格納したキャッシュアドレス342と要求のあっ
たWebサーバ20のIPアドレス343を追加する。
In step ST19, when the necessary data is not stored in the data cache 33,
In step ST23, the database management unit 31
Acquires necessary data from the database 32. In step ST24, the database management unit 31
The acquired data is stored in the data cache 33, and in step ST25, the database management unit 31 updates the object reference 34. That is, in correspondence with the index 341 of the acquired data, the cache address 342 storing the data and the IP address 343 of the requested Web server 20 are added.

【0031】ステップST25におけるオブジェクトリ
ファレンス34の更新処理後に、上記ステップ20以降
の処理を行う。
After the update processing of the object reference 34 in step ST25, the processing after step 20 is performed.

【0032】図6はデータベース32の更新処理を示す
フローチャートである。ステップST31において、デ
ータベースサーバ30のデータベース管理部31は、オ
ペレータからデータベース32の更新要求を受けると、
ステップST32において、データベース管理部31
は、データベース32における更新対象のデータをロッ
クする。
FIG. 6 is a flowchart showing the updating process of the database 32. In step ST31, when the database management unit 31 of the database server 30 receives a request for updating the database 32 from the operator,
In step ST32, the database management unit 31
Locks data to be updated in the database 32.

【0033】ステップST33において、データベース
管理部31は、オブジェクトリファレンス34に、更新
対象のデータのリファレンス(インデックス)が存在す
るかを確認し、更新対象のデータのリファレンス(イン
デックス)が存在しない場合、ステップST34におい
て、データベース管理部31は、データベース32のデ
ータを更新しロックを解除する。
In step ST33, the database management section 31 checks whether or not the reference (index) of the data to be updated exists in the object reference 34. If the reference (index) of the data to be updated does not exist, the process proceeds to step ST33. In ST34, the database management unit 31 updates the data in the database 32 and releases the lock.

【0034】上記ステップST33において、更新対象
のデータのリファレンス(インデックス)が存在する場
合、ステップST35において、データベース管理部3
1は、データキャッシュ33の更新対象のデータをロッ
クし、オペレータからのデータベース32の更新要求
を、Webサーバ20に通知する。ステップST36に
おいて、Webサーバ20の要求処理部21は、データ
オブジェクト22の更新対象のデータロックする。
If there is a reference (index) of the data to be updated in step ST33, the process proceeds to step ST35.
1 locks data to be updated in the data cache 33 and notifies the Web server 20 of an update request of the database 32 from the operator. In step ST36, the request processing unit 21 of the Web server 20 locks the data to be updated of the data object 22.

【0035】ステップST37において、データベース
サーバ30のデータベース管理部31は、データベース
32のデータを更新してロックを解除し、ステップST
38において、データベース管理部31は、データキャ
ッシュ33のデータを更新してロックを解除する。ステ
ップST39において、Webサーバ20の要求処理部
21は、データオブジェクト22のデータを更新してロ
ックを解除する。
In step ST37, the database management unit 31 of the database server 30 updates the data in the database 32 to release the lock, and then proceeds to step ST37.
At 38, the database management unit 31 updates the data in the data cache 33 and releases the lock. In step ST39, the request processing unit 21 of the Web server 20 updates the data of the data object 22 and releases the lock.

【0036】以上のように、この実施の形態1によれ
ば、Webサーバ20にキャッシュ機能を持つデータオ
ブジェクト22を備え、データベースリファレンス23
とオブジェクトリファレンス34により、Webサーバ
20とデータベースサーバ30が保有するデータの相関
を取ることにより、ネットワーク環境において高速キャ
ッシュを実現し、ネットワーク5上で高速にデータベー
スを検索できるという効果が得られる。
As described above, according to the first embodiment, the Web server 20 includes the data object 22 having the cache function, and the database reference 23
By correlating the data held by the Web server 20 and the database server 30 with the object reference 34, a high-speed cache can be realized in a network environment, and an effect that a database can be searched on the network 5 at a high speed can be obtained.

【0037】また、Webサーバ20において、要求処
理部21,データオブジェクト22,データベースリフ
ァレンス23が、システムLSIとして、1チップのW
ebサーバチップ200の中に集積されており、かつ、
データベースサーバ30において、データベース管理部
31,データベース32,データキャッシュ33,オブ
ジェクトリファレンス34が、システムLSIとして、
1チップのデータベースチップ300の中に集積されて
いることにより、従来のように、データキャッシュを構
成しているメモリが、データベースサーバ3内のCPU
と別のLSI上に実装されているのに比べ、メモリとC
PU間の配線を短くすることができて、すなわち、図1
における要求処理部21とデータオブジェクト22,デ
ータベースリファレンス23間、及びデータベース管理
部31とデータベース32,データキャッシュ33,オ
ブジェクトリファレンス34間の配線を短くすることが
できて、クロストークを減らすことができ、要求処理部
21,データベース管理部31を実現するCPUのクロ
ック周波数を下げる必要がなく、高速処理が行えるとい
う効果が得られる。
In the Web server 20, the request processing unit 21, the data object 22, and the database reference 23 correspond to one chip W
integrated in the eb server chip 200, and
In the database server 30, the database management unit 31, the database 32, the data cache 33, and the object reference 34 are used as system LSIs.
By being integrated in the one-chip database chip 300, the memory constituting the data cache is replaced with the CPU in the database server 3 as in the related art.
Memory and C compared to being implemented on another LSI
The wiring between PUs can be shortened, that is, FIG.
In this case, the wiring between the request processing unit 21 and the data object 22 and the database reference 23 and the wiring between the database management unit 31 and the database 32, the data cache 33 and the object reference 34 can be shortened, and crosstalk can be reduced. There is no need to lower the clock frequency of the CPU that implements the request processing unit 21 and the database management unit 31, and the effect that high-speed processing can be performed is obtained.

【0038】[0038]

【発明の効果】以上のように、この発明によれば、We
bサーバにデータベースサーバから転送されたデータを
格納するデータオブジェクトを備え、データベースリフ
ァレンスとオブジェクトリファレンスにより、Webサ
ーバとデータベースサーバが保有するデータの相関を取
ることにより、ネットワーク環境において高速キャッシ
ュを実現し、ネットワーク上で高速にデータベースを検
索できるという効果がある。
As described above, according to the present invention, the We
The b server includes a data object for storing data transferred from the database server, and realizes a high-speed cache in a network environment by correlating the data held by the Web server and the database server with the database reference and the object reference. There is an effect that a database can be searched at high speed on a network.

【0039】この発明によれば、Webサーバにおける
要求処理部、データオブジェクト、データリファレンス
を、1チップのシステムLSIに集積することにより、
配線を短くすることができて、クロストークを減らすこ
とができ、要求処理部21を実現するCPUのクロック
周波数を下げる必要がなく、高速処理が行えるという効
果がある。
According to the present invention, the request processing unit, data object, and data reference in the Web server are integrated in a one-chip system LSI,
The wiring can be shortened, the crosstalk can be reduced, and there is no need to lower the clock frequency of the CPU that implements the request processing unit 21, and there is an effect that high-speed processing can be performed.

【0040】この発明によれば、データベースサーバに
おけるデータベース管理部、データベース、データキャ
ッシュ、オブジェクトリファレンスを、1チップのシス
テムLSIに集積することにより、配線を短くすること
ができて、クロストークを減らすことができ、データベ
ース管理部31を実現するCPUのクロック周波数を下
げる必要がなく、高速処理が行えるという効果がある。
According to the present invention, by integrating the database management unit, the database, the data cache, and the object reference in the database server in a one-chip system LSI, the wiring can be shortened, and the crosstalk can be reduced. Therefore, there is no need to lower the clock frequency of the CPU that implements the database management unit 31, and there is an effect that high-speed processing can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1によるデータベース
検索システムの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a database search system according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1によるデータベース
リファレンスが保有する情報を示す図である。
FIG. 2 is a diagram showing information held by a database reference according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1によるオブジェクト
リファレンスが保有する情報を示す図である。
FIG. 3 is a diagram showing information held by an object reference according to the first embodiment of the present invention.

【図4】 この発明の実施の形態1によるデータベース
の検索処理を示すフローチャートである。
FIG. 4 is a flowchart showing a database search process according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1によるデータベース
の検索処理を示すフローチャートである。
FIG. 5 is a flowchart showing a database search process according to the first embodiment of the present invention.

【図6】 この発明の実施の形態1によるデータベース
の更新処理を示すフローチャートである。
FIG. 6 is a flowchart showing a database update process according to the first embodiment of the present invention.

【図7】 従来のデータベース検索システムの構成を示
す図である。
FIG. 7 is a diagram showing a configuration of a conventional database search system.

【符号の説明】[Explanation of symbols]

1 クライアント、5 ネットワーク、20 Webサ
ーバ、21 要求処理部、22 データオブジェクト、
23 データベースリファレンス、30 データベース
サーバ、31 データベース管理部、32 データベー
ス、33 データキャッシュ、34 オブジェクトリフ
ァレンス。
1 client, 5 networks, 20 Web servers, 21 request processing unit, 22 data objects,
23 database reference, 30 database server, 31 database management unit, 32 database, 33 data cache, 34 object reference.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを経由し、クライアントか
らのサービス要求を受け、必要なデータを取得して上記
クライアントからのサービスを提供するWebサーバ
と、 上記Webサーバからのデータ転送要求を受けて、保有
するデータベースからデータを検索し、上記Webサー
バに転送するデータベースサーバとを備えたデータベー
ス検索システムにおいて、 上記Webサーバが、 上記データベースサーバから転送されたデータを格納す
るデータオブジェクトと、 上記データオブジェクトに格納されたデータと上記デー
タベースサーバが保有するデータとの相関をとるデータ
ベースリファレンスと、 上記データオブジェクトに上記サービス要求を実現する
ために必要なデータが格納されている場合、上記データ
オブジェクトからデータを取得して、上記クライアント
に要求されたサービスを提供し、データオブジェクトに
上記サービス要求を実現するために必要なデータが格納
されていない場合、上記データベースリファレンスを参
照して、上記データベースサーバに必要なデータの転送
を要求し、上記必要なデータを取得してから、上記クラ
イアントに要求されたサービスを提供する要求処理部と
を備え、 上記データベースサーバが、 データベースから検索されたデータを格納するデータキ
ャッシュと、 上記データベースに保有されているデータと上記データ
キャッシュに格納されているデータと上記データオブジ
ェクトに格納されたデータとの相関をとるオブジェクト
リファレンスと、 上記要求処理部からの必要なデータ転送の要求を受け、
上記オブジェクトリファレンスを参照して、上記データ
キャッシュに必要なデータが格納されている場合、上記
データキャッシュからデータを取得して上記要求処理部
に転送し、上記データキャッシュに必要なデータが格納
されていない場合、上記データベースからデータを取得
して上記データキャッシュに格納すると共に、上記オブ
ジェクトリファレンスを更新するデータベース管理部と
を備えたことを特徴とするデータベース検索システム。
1. A web server that receives a service request from a client via a network, acquires necessary data and provides a service from the client, and receives a data transfer request from the web server and holds the data. A database object for retrieving data from a database to be transferred and transferring the data to the web server, wherein the web server stores data transferred from the database server and stores the data in the data object A database reference for correlating the obtained data with the data held by the database server, and, if the data necessary for realizing the service request is stored in the data object, the data from the data object. Obtain and provide the requested service to the client, and if the data object does not store the data required to fulfill the service request, refer to the database reference and A request processing unit for requesting data transfer, obtaining the required data, and then providing the requested service to the client, wherein the database server stores data retrieved from a database. And an object reference for correlating the data held in the database, the data stored in the data cache, and the data stored in the data object, and a request for a necessary data transfer from the request processing unit. Receiving
If necessary data is stored in the data cache with reference to the object reference, data is obtained from the data cache and transferred to the request processing unit, and the required data is stored in the data cache. If not, a database management unit that acquires a data from the database, stores the data in the data cache, and updates the object reference.
【請求項2】 データベースリファレンスが、データベ
ースに格納されているデータのインデックスと、データ
ベースサーバのネットワーク上のIPアドレスと、デー
タを格納しているデータオブジェクトのアドレスとによ
り、上記データベースサーバが保有するデータとの相関
をとることを特徴とする請求項1記載のデータベース検
索システム。
2. A method according to claim 1, wherein the database reference is based on an index of data stored in the database, an IP address of the database server on the network, and an address of a data object storing the data. 2. The database retrieval system according to claim 1, wherein the database retrieval system is correlated with.
【請求項3】 オブジェクトリファレンスが、データベ
ースに格納されているデータのインデックスと、データ
を格納しているデータキャッシュのアドレスと、Web
サーバのネットワーク上のIPアドレスとにより、上記
Webサーバが保有するデータとの相関をとることを特
徴とする請求項1記載のデータベース検索システム。
3. An object reference includes an index of data stored in a database, an address of a data cache storing data, and a Web reference.
2. The database search system according to claim 1, wherein a correlation with data held by the Web server is made based on an IP address on a network of the server.
【請求項4】 データベースに格納されているデータを
更新する場合、データベース管理部が、データベースの
更新対象のデータをロックし、 オブジェクトリファレンスに更新対象のデータのリファ
レンスが存在しない場合、上記データベース管理部が、
上記データベースの更新対象のデータを更新してからロ
ックを解除し、 オブジェクトリファレンスに更新対象のデータのリファ
レンスが存在する場合、上記データベース管理部が、デ
ータキャッシュの更新対象のデータをロックすると共
に、上記要求処理部に通知して、データオブジェクトの
更新対象のデータをロックさせ、上記データベースのデ
ータを更新してからロックを解除し、上記データキャッ
シュのデータを更新してからロックを解除し、上記要求
処理部に通知して、データオブジェクトのデータを更新
させてロックを解除させることを特徴とする請求項1記
載のデータベース検索システム。
4. When updating data stored in a database, the database management unit locks data to be updated in the database, and when there is no reference to the data to be updated in the object reference, the database management unit But,
Update the data to be updated in the database and then release the lock.If there is a reference to the data to be updated in the object reference, the database management unit locks the data to be updated in the data cache, and Notify the request processing unit to lock the data to be updated of the data object, update the data in the database and release the lock, update the data in the data cache and release the lock, 2. The database search system according to claim 1, wherein the processing unit is notified to update the data of the data object and release the lock.
【請求項5】 Webサーバにおける要求処理部、デー
タオブジェクト、データリファレンスを、1チップのシ
ステムLSIに集積したことを特徴とする請求項1記載
のデータベース検索システム。
5. The database search system according to claim 1, wherein a request processing unit, a data object, and a data reference in the Web server are integrated in a one-chip system LSI.
【請求項6】 データベースサーバにおけるデータベー
ス管理部、データベース、データキャッシュ、オブジェ
クトリファレンスを、1チップのシステムLSIに集積
したことを特徴とする請求項1記載のデータベース検索
システム。
6. The database search system according to claim 1, wherein a database management unit, a database, a data cache, and an object reference in the database server are integrated in a one-chip system LSI.
JP02661899A 1999-02-03 1999-02-03 Database search system Expired - Fee Related JP4251699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02661899A JP4251699B2 (en) 1999-02-03 1999-02-03 Database search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02661899A JP4251699B2 (en) 1999-02-03 1999-02-03 Database search system

Publications (2)

Publication Number Publication Date
JP2000222272A true JP2000222272A (en) 2000-08-11
JP4251699B2 JP4251699B2 (en) 2009-04-08

Family

ID=12198479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02661899A Expired - Fee Related JP4251699B2 (en) 1999-02-03 1999-02-03 Database search system

Country Status (1)

Country Link
JP (1) JP4251699B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300306A (en) * 2001-03-30 2002-10-11 Tsubasa System Co Ltd Telephone number information distribution method, telephone number information distribution program, and telephone number information distribution system
KR20030016085A (en) * 2001-08-20 2003-02-26 주식회사 엔버전스 The operating method of data server
JP2015505387A (en) * 2011-11-17 2015-02-19 ベネフィットフォーカス ドット コム インコーポレーテッドBenefitfocus.Com, Inc. Dynamic service integration system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300306A (en) * 2001-03-30 2002-10-11 Tsubasa System Co Ltd Telephone number information distribution method, telephone number information distribution program, and telephone number information distribution system
KR20030016085A (en) * 2001-08-20 2003-02-26 주식회사 엔버전스 The operating method of data server
JP2015505387A (en) * 2011-11-17 2015-02-19 ベネフィットフォーカス ドット コム インコーポレーテッドBenefitfocus.Com, Inc. Dynamic service integration system and method

Also Published As

Publication number Publication date
JP4251699B2 (en) 2009-04-08

Similar Documents

Publication Publication Date Title
US11388251B2 (en) Providing access to managed content
EP1736899B1 (en) Methods and systems for providing a highly scalable synchronous data cache
US6675214B2 (en) Method and apparatus for efficient storage and retrieval of objects in and from an object storage device
US6324581B1 (en) File server system using file system storage, data movers, and an exchange of meta data among data movers for file locking and direct access to shared file systems
US7421541B2 (en) Version management of cached permissions metadata
US7797275B2 (en) System and method of time-based cache coherency maintenance in user file manager of object-based storage system
US7120631B1 (en) File server system providing direct data sharing between clients with a server acting as an arbiter and coordinator
JPH10240589A (en) Database processing method taking out actual data delay
US20070005604A1 (en) Supporting replication among a plurality of file operation servers
US9959286B1 (en) Method, System and apparatus for synchronizing changes in a directory service
JPH07262074A (en) Cache management method, computer file system and cache device
US20030195866A1 (en) Transaction-aware caching for access control metadata
JPH1021134A (en) Gate way device, client computer and distributed file system connecting them
US8224837B2 (en) Method and mechanism for supporting virtual content in performing file operations at a RDBMS
US7243091B2 (en) Search network for searching services on the internet
JP2000222272A (en) Data base retrieval system
KR100475668B1 (en) Apparatus and method of providing information for grid resources in grid network and computer readable recording medium of recording process thereof
US20030115172A1 (en) Electronic file management
JPH05143435A (en) Data base system
CN109309711A (en) A kind of virtual cache sharing method and system
CN116866429A (en) Data access method and related device
JP2003515197A (en) Distributed virtual web cache implemented entirely in software
Flater et al. Alibi: A novel approach to resource discovery
JP2006065636A (en) Method for retrieving metadata, user terminal and metadata retrieving program
JPH01207845A (en) Remote file access system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071113

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071113

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071113

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081202

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees