JP2006004328A - Information retrieval system - Google Patents
Information retrieval system Download PDFInfo
- Publication number
- JP2006004328A JP2006004328A JP2004182335A JP2004182335A JP2006004328A JP 2006004328 A JP2006004328 A JP 2006004328A JP 2004182335 A JP2004182335 A JP 2004182335A JP 2004182335 A JP2004182335 A JP 2004182335A JP 2006004328 A JP2006004328 A JP 2006004328A
- Authority
- JP
- Japan
- Prior art keywords
- information
- client
- memory
- request
- search
- 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
Abstract
Description
本発明はWEBシステムに係り、特に、クライアントからの要求に応じて、WEBページを利用する利用者或いはWEBページに表示する情報を検索するサーバ、WEBシステムにおける情報検索方法に関するものである。 The present invention relates to a WEB system, and more particularly, to a server that searches a user who uses a WEB page or information displayed on the WEB page in response to a request from a client, and an information search method in the WEB system.
クライアントからインターネット等のネットワークを介してWEBサイトをアクセスしてWEBページの情報を取得することが日常的に行われている。
通常、WEBサイトであるリモートサイトは、クライアントからの要求に応えて情報を取得してそれを送信する機能を有するWEBサーバと、データベース(DB)を検索して目的の情報を得るDBサーバを備えており、クライアントから送信されるHTTP(Hyper Text Transfer Protocol)要求の内容に従ってDBサーバにより目的の情報を得て、WEBサーバでWEBページを作成しそれをクライアントへ応答する。
It is routinely performed that a client accesses a WEB site via a network such as the Internet and acquires information on a WEB page.
Usually, a remote site, which is a WEB site, includes a WEB server having a function of acquiring information in response to a request from a client and transmitting the information, and a DB server that obtains target information by searching a database (DB). In accordance with the content of an HTTP (Hyper Text Transfer Protocol) request transmitted from the client, the DB server obtains target information, creates a WEB page on the WEB server, and responds to the client.
クライアントからの要求に対して、早急に目的のWEBページを応答として送信するためには、WEBサイトにおける情報の取得、例えばDBサーバによるDBの検索が高速に行なわれることが好ましい。従来、このために種々の案が提案されている。
例えば、特許文献1(特開2001−236357公報)には、クライアントから指定された検索ワードに関する検索を行うWeb検索装置に関して、所望のキーワードが分からない場合であっても、Webページを有効に検索可能とするために、検索ワードに該当するキーワード及びこのキーワードの前方及び後方のいずれか又は両方に管理されたキーワードを取得している。
In order to promptly send a target WEB page as a response to a request from a client, it is preferable that acquisition of information on the WEB site, for example, DB search by a DB server is performed at high speed. Conventionally, various proposals have been proposed for this purpose.
For example, Patent Document 1 (Japanese Patent Laid-Open No. 2001-236357) discloses a Web search device that performs a search for a search word designated by a client, even when a desired keyword is not known, effectively searches a Web page. In order to make it possible, a keyword corresponding to the search word and a keyword managed in one or both of the front and rear of the keyword are acquired.
通常、Webサーバによる検索の対象となる情報には、顧客名、電話番号、住所、サービス内容、等の種々の情報が含まれるので、これらの情報の検索に要する時間もまちまちである。Webサーバは、最も時間がかかる情報の検索結果が得られるまで待たされることになり、引いては検索結果をクライアントへ送信することが遅れる。 Normally, the information to be searched by the Web server includes various information such as customer name, telephone number, address, service content, etc., and the time required for searching for these information varies. The Web server is kept waiting until the retrieval result of the information that takes the longest time is obtained, so that sending the retrieval result to the client is delayed.
また、Webシステムを通して利用者にサービスの提供を提供する場合、サービスの開始時に利用者の認証を行う必要がある。通常、認証の処理は、利用者から送信されるIDやパスワードと、予めDBに登録されているこれらの情報とを照合することにより行われる。しかし、利用者の数が増加すると、DBの情報量も膨大になるために、DBの検索に時間がかかり、引いては認証に要する処理時間も長くかかり、サービスの低下につながる。 Further, when providing a service to a user through a Web system, it is necessary to authenticate the user at the start of the service. Usually, the authentication process is performed by collating the ID and password transmitted from the user with these pieces of information registered in the DB in advance. However, if the number of users increases, the amount of information in the DB also becomes enormous, so it takes time to search the DB, which in turn increases the processing time required for authentication, leading to service degradation.
更に、多数の利用者の情報を管理する業務システムを利用するWebシステムでは、利用者のプロフィール、例えば氏名、住所、電話番号などの基本情報や権限が格納されたDBを検索して、利用者の情報を取得する必要があるが、利用者の数が増加すると、その情報の検索のために時間がかかると言う問題がある。
このようにWEBシステムを利用したサービスの提供或いは業務処理において、必要な情報を取得するために時間がかかることは、サービスや業務効率の低下につながる。
Further, in a Web system that uses a business system that manages information on a large number of users, a user profile, for example, a database in which basic information such as names, addresses, and telephone numbers and authorities are stored, is searched, and a user is searched. However, when the number of users increases, there is a problem that it takes time to search for the information.
Thus, in providing a service using a WEB system or in business processing, taking time to acquire necessary information leads to a decrease in service and business efficiency.
本発明の目的は、情報の検索のための時間を短縮化したWEBシステム、及び情報の検索処理方法を提供することにある。 An object of the present invention is to provide a WEB system and an information search processing method in which the time for searching information is shortened.
本発明は、クライアントからの要求に関連して検索サーバで情報の検索を行うWEBシステムにおける情報の検索処理方法であって、クライアントからのHTTP要求を解析するステップと、この解析の結果、インメモリDBに記憶されている情報を検索するステップと、この検索の結果、得られた情報に対してHTML形式のデータを生成するステップと、HTML形式のデータをHTTPに従って該クライアントへ送信するステップと、を有する検索処理方法である。
例えば、HTML形式のデータは圧縮処理された後、HTTPに従ってクライアントへ送信される。
また、一例では、クライアントからのHTTP要求を解析し、HTTP要求をWEBサーバへ送信して、応答を受信し、この応答の内容に応じてインメモリDBを検索する処理を行う。
また、好ましくは、インメモリDB検索サーバに接続されるDBサーバによって、あるDBから取得される情報をDBレプリカとしてインメモリDBに登録するステップを有し、インメモリDB内の情報は、あるDBの情報の更新に応じて、更新される。
また、好ましい例では、インメモリDBには、検索に時間がかかる種類の情報が格納される。例えば、インメモリDBには、WEBシステムの利用者に関するID,利用者名、電話番号等のいずれかを含む利用者の情報が登録されており、クライアントからのWEBサーバへのアクセスに際して、インメモリDBを検索してこれらの情報を取得する。
また、前記HTTP要求の解析により、インメモリDBに登録されていない情報に関しては、WEBサーバを介してDBサーバから情報を取得する。
本発明は、また、上記方法を実行するための処理を行う検索サーバ用のプログラムとして把握される。
The present invention relates to an information search processing method in a WEB system for searching for information in a search server in relation to a request from a client, the step of analyzing an HTTP request from the client, and the result of this analysis, in-memory A step of searching information stored in the DB, a step of generating HTML format data for the information obtained as a result of the search, a step of transmitting HTML format data to the client according to HTTP, Is a search processing method.
For example, HTML format data is compressed and then transmitted to the client according to HTTP.
In one example, the HTTP request from the client is analyzed, the HTTP request is transmitted to the WEB server, the response is received, and the in-memory DB is searched according to the content of the response.
Preferably, the method further comprises a step of registering information acquired from a certain DB as a DB replica in the in-memory DB by a DB server connected to the in-memory DB search server, and the information in the in-memory DB is a certain DB It is updated according to the update of the information.
In a preferred example, the in-memory DB stores information of a type that takes time to search. For example, in-memory DB stores user information including any of IDs, user names, telephone numbers, and the like related to users of the WEB system. When accessing a WEB server from a client, the in-memory DB DB is searched and these information is acquired.
Further, by analyzing the HTTP request, information that is not registered in the in-memory DB is acquired from the DB server via the WEB server.
The present invention is also grasped as a program for a search server that performs processing for executing the above method.
本発明に係るWEBシステムは、クライアントからの要求に関連して情報の検索を行う検索サーバを有するWEBシステムにおいて、クライアントからの要求に応じて、DBサーバによってDBを検索して得られる情報の内、ある特定の情報をレプリカとして記憶するインメモリDBと、クライアントから送信されたHTTP要求を解析し、必要に応じて該WEBサーバへHTTP要求を送信するHTTP要求解析部と、HTTP要求解析部からの要求に従って、インメモリDBに検索要求を発し、該インメリDBから得られる検索結果の情報を解析処理するインメモリDB検索要求処理部と、WEBサーバから取得した情報を解析処理するHTTP応答解析部と、インメモリDBから検索された情報、及び又はWEBサーバから取得された情報をクライアントへ送信するために、HTML形式に編集処理する応答HTML生成部と、応答HTML生成部からの情報を一定の規則に従って圧縮処理するコンテンツ圧縮部と、を有し、このインメモリDB及び又はWEBサーバから得られた情報をコンテンツ圧縮部で圧縮処理して該クライアントへ送信するWEBシステムである。 In the WEB system according to the present invention, in the WEB system having a search server that searches for information in relation to a request from the client, the information obtained by searching the DB by the DB server in response to the request from the client. From an in-memory DB that stores certain information as a replica, an HTTP request analysis unit that analyzes an HTTP request transmitted from a client, and transmits an HTTP request to the WEB server as necessary, and an HTTP request analysis unit The in-memory DB search request processing unit that issues a search request to the in-memory DB in accordance with the request and analyzes the search result information obtained from the in-memory DB, and the HTTP response analysis unit that analyzes the information acquired from the WEB server And information retrieved from the in-memory DB and / or obtained from the WEB server A response HTML generation unit that edits the information into an HTML format and a content compression unit that compresses the information from the response HTML generation unit according to a certain rule in order to transmit the information to the client. Alternatively, it is a WEB system in which information obtained from a WEB server is compressed by a content compression unit and transmitted to the client.
本発明は、また、クライアントからの要求に関連してWEBサーバから情報を取得して該クライアントへ応答として送信するWEBシステムにおける情報処理方法として把握され得る。すなわち、本発明に係る情報処理方法は、クライアントからの要求を解析するステップと、解析の結果インメモリDBに格納された情報を取得してクライアントへ応答を送信する第1のモードと、解析の結果、WEBサーバから情報を取得すると共にインメモリDBから情報を取得して、クライアントへ応答を送信する第2のモードと、解析の結果、インメモリDBから情報を取得せずに、WEBサーバから取得した情報のみを応答として、クライアントへ送信する第3のモードと、を有する。 The present invention can also be understood as an information processing method in a WEB system that acquires information from a WEB server in association with a request from a client and transmits the information as a response to the client. That is, an information processing method according to the present invention includes a step of analyzing a request from a client, a first mode of acquiring information stored in the in-memory DB as a result of analysis and transmitting a response to the client, As a result, the second mode in which information is acquired from the WEB server and information is acquired from the in-memory DB, and a response is transmitted to the client. As a result of the analysis, the information is not acquired from the in-memory DB, and the WEB server And a third mode in which only the acquired information is sent as a response to the client.
本発明によれば、WEBシステムにおいて検索サーバで高速に情報の検索を行うことができる。より具体的には、DBサーバを利用した情報の検索では時間がかかるであろう情報を予めインメモリDBに登録しておき、クライアントからの要求に応じてこのインメモリDBを検索することにより、リモートサイトにおける情報の取得のための時間を全体として短縮できる。 According to the present invention, information can be searched at high speed with a search server in a WEB system. More specifically, information that would take time to search for information using the DB server is registered in the in-memory DB in advance, and this in-memory DB is searched in response to a request from the client. The time for obtaining information at the remote site can be reduced as a whole.
以下、本発明の一実施例について図面を参照して具体的に説明する。
図1は本発明の一実施例が適用されるWEBシステムの例を示す図である。
リモートサイト1とローカルサイト2は、インターネットやWAN(Wide Area Network)等のネットワーク3を介して接続され、双方の間でHTTPによる通信が可能である。
ローカルサイト2はクライアントであり(以下ローカルサイト2をクライアント2と言う)、通常、複数のPC20を含み(図示は1台のPCを示すが)、PC20はブラウザ21を有する。ブラウザ21は、WEBページを閲覧するためのアプリケーションソフトであり、ネットワーク3を通してHTML形式のファイルや、画像ファイル、音楽ファイル等を取得して、レイアウトを解析して再生し、PCの表示器に表示する。なお、一般的にブラウザ21とネットワーク3との間には、ネットワーク3との接続や情報の通信を行うためのソフトウェア又はコンピュータとして、ローカルプロキシが介在するが、図示では省略されている。
Hereinafter, an embodiment of the present invention will be specifically described with reference to the drawings.
FIG. 1 is a diagram showing an example of a WEB system to which an embodiment of the present invention is applied.
The
The
一方、リモートサイト1は、DB検索サーバ10、WEBサーバ16及びDBサーバ18を有する。DB検索サーバ10はプロキシ処理機能12及びインメモリDB14を有している。インメモリDB14は、半導体メモリ内で形成されるDBであり、これは、DBサーバ18が検索対象としてアクセスするディスク装置などの外部記憶装置に比べて、高速に情報の読み出し書き込みができる。
このDB検索サーバ10の構成乃至処理動作、及びそれとDBサーバ18による検索の関連の処理が、本発明の実施例に特徴的であり、図2以降を参照して詳細に説明される。
On the other hand, the
The configuration or processing operation of the
図2は、WEBシステムのリモートサイトにおけるDB検索サーバ10のモジュール構成を示す。
FIG. 2 shows a module configuration of the
プロキシ処理機能12は、基本処理部121、HTTP要求解析部122、インメモリDB検索要求処理部123、応答HTML生成部124、コンテンツ圧縮部125、HTTP応答解析部126、を備える。これら各部の機能は、それら機能を備えたプログラムの実行により実現される。
基本処理部121は、初期設定の処理や子スレッドの作成等の基本的な処理を行う。
HTTP要求解析部122は、クライアント2から送信されたHTTP要求を解析する。解析の結果、HTTPの要求内容に応じて、インメモリDB12の検索が必要な場合には、インメモリDB検索要求処理部123に要求を出す。またWEBサーバ16に対する処理が必要な場合には、WEBサーバ16に対してHTTP要求を発する。WEBサーバ16に対する処理とは、例えばWEBサーバ16から必要なオブジェクトを取得するための処理である。
The
The
The HTTP
インメモリDB検索要求処理部123は、インメモリDB14に検索要求を発し、またインメモリDB14からの検索結果を解析処理する。
応答HTML生成部124は、インメモリDBから検索された情報、及びWEBサーバ16から取得された情報を、クライアント2へ送信するために、HTML形式に編集処理する。
コンテンツ圧縮部125は、クライアント2へ送信するためのWEBページ情報、即ち通常複数のコンテンツを含む情報を一定の規則に従って圧縮処理する。HTTP応答解析部126は、WEBサーバ16から取得した情報を解析処理する。
The in-memory DB search
The response HTML
The
インメモリDB14は、検索エンジンとなるインメモリDB検索処理を行う処理部141と、情報を格納するための記憶部であるDBレプリカ部142、及びDBレプリカを登録するための処理、及び登録されたDBレプリカの情報を更新するための処理を行うDBレプリカ処理部143を有して構成される。尚、DBレプリカ処理部143による処理動作については、図6を参照して後述する。
The in-
DBレプリカ部142は、元来DBサーバ18の実行によってあるDBから取得される情報を、レプリカ即ち複製として記憶する。またDBレプリカ部142に記憶された情報は、レプリカとされたあるDBの情報の更新に従って、更新される。
The DB
DBレプリカ部142に記憶される情報としては、情報量が増加して検索に時間がかかる種類の情報が格納されることは好ましい。何故なら、検索に時間の要しない情報はDBサーバ18によって該当するDBを検索して取得すればよい。WEBシステムの利用者がクライアント2から要求する情報には種々の情報があるが、検索に時間がかかる情報をDBレプリカ部142から得ることにより、実質的にクライアントへの応答時間を短縮することができる。
As the information stored in the DB
情報量が増加して検索に時間がかかる種類の情報としては、例えばWEBシステムを利用する利用者に関する情報、即ち利用者のID,利用者名、電話番号、更には利用サービス内容、残インシデント数、ステータス等に関する情報がある。WEBサーバ16の利用者に対しては、その利用者が正当な利用者であるかをチェックする必要がある場合がある。この場合、利用者のIDや利用者名等の情報をインメモリDB14から高速に取得できれば、チェックに要する時間も短縮される。
Information that increases the amount of information and takes time to search includes, for example, information related to users using the WEB system, that is, user ID, user name, telephone number, service content, number of remaining incidents There is information about status, etc. It may be necessary for the user of the
次に、図6及び図9を参照してDBレプリカの作成処理について説明する。
図6において、インメモリDB14ではDBレプリカ処理部143の実行により、その初期処理において、レプリカテーブルリストCをロードしてDBレプリカ部142に取り込んで登録すべき情報の設定を行う(S51)。レプリカテーブルリストCは、レプリカ条件リストDを含む。このレプリカテーブルリストCはインメモリDB14の所定のエリアに記憶されている。
Next, DB replica creation processing will be described with reference to FIGS.
In FIG. 6, in the in-
図9に示すように、このレプリカ条件リストDは、目的のDBからのデータの抽出間隔81、レプリカテーブルリスト82、及び抽出条件83、抽出元DB84の記述を含む。
データの抽出間隔81は、レプリカの対象となるDBからデータを取得する時間間隔を表し、図示の例では、毎日0時0分の時点で起動してデータを取得する。
レプリカテーブルリスト82は、抽出されたレプリカの登録先のレプリカテーブル名を表す。図示の例では、電話番号(TEL)、顧客名、サービス名を登録したテーブル名を、「顧客情報」の名称で表わしている。
As shown in FIG. 9, the replica condition list D includes descriptions of the data extraction interval 81 from the target DB, the
The data extraction interval 81 represents a time interval for acquiring data from the DB to be replicated. In the illustrated example, the data extraction interval 81 is started at 00:00 every day to acquire data.
The
抽出条件83は、図示のように一般的なSQL構文で表される。例えば、抽出元のDBである「電話番号マスタ」から「TEL」と、「顧客名」と、「サービス名」をSELECTするが如きである。抽出元DB84は抽出対象のDBサーバ名を表し、図示では「DBSV01」のように表されている。
The
このように初期設定されたレプリカテーブルリストCによって指定された条件に従って、指定の時刻になるとDBレプリカのデータ取得及び更新の処理が行われる(S52)。この処理はリストDにより指定されたDBからDBサーバ18の実行の下にデータが取得され、該当するDBレプリカ部142のデータが書き換わってその内容が更新される。
In accordance with the conditions specified by the replica table list C initialized as described above, data acquisition and update processing of the DB replica is performed at a specified time (S52). In this process, data is acquired from the DB specified by the list D under the execution of the
次に、本実施例に係るWEBシステムにおける情報検索の処理動作について説明する。
処理動作の詳細な説明の前に、図10を参照して、情報検索処理の全体的な概要について説明する。本実施例では、クライアント2からの要求に従って、3種類の動作(モード)により情報の検索が実施される。
Next, an information search processing operation in the WEB system according to the present embodiment will be described.
Prior to a detailed description of the processing operation, an overall overview of the information search process will be described with reference to FIG. In the present embodiment, information retrieval is performed by three types of operations (modes) in accordance with a request from the
第1のモードは、図10に実線で表示されるように、クライアント2からの要求の解析結果に応じて、インメモリDB14を検索して情報を取得してクライアントへ送信するモードである。これについては、図3を参照して詳述する。
第2のモードは、細破線で表示されるように、クライアント2からの要求の解析結果に応じて、WEBサーバ16をアクセスして情報を取得すると共に、インメモリDB14からも情報を取得して、クライアント2へ送信するモードである。これについては、図4を参照して詳述する。
第3のモードは、太破線で表示されるように、クライアント2からの要求の解析結果に応じて、インメモリDB14をアクセスせずに、WEBサーバからのみ情報を取得して、それをクライアント2へ送信するモードである。この第3のモードは、従来から一般的に実施されているWEBサイトにおける情報の検索動作である。これについては、図5を参照して詳述する。
なお、図10において、DBサーバ18と検索サーバ10間で行なうインメモリDB14に対するレプリカの処理モードは、図6を参照して説明した。
The first mode is a mode in which the in-
In the second mode, as indicated by a thin broken line, according to the analysis result of the request from the
In the third mode, as indicated by a thick broken line, information is acquired only from the WEB server without accessing the in-
In FIG. 10, the replica processing mode for the in-
まず、図3を参照して第1のモードによる情報検索の処理動作について説明する。尚、処理動作の説明の際に、関連する説明のために図7及び図8も随時参照することがある。 First, the information search processing operation in the first mode will be described with reference to FIG. In the description of the processing operation, FIG. 7 and FIG. 8 may be referred to as needed for related explanation.
DB検索サーバのプロキシ処理機能12は、起動時に図7に示すインメモリDB検索リストAをメモリ(図示せず)にロードして、要求代行URL,代行SQLの設定、及び検索結果用のテンプレートHTMLの設定を行う。インメモリDB検索リストAとは、インメモリDB14に登録されている情報の内容を規定する表である。通常は、WEBサーバ16がクライアント2からのHTTP要求を受取り、それを基にDBサーバ18に対して要求を出して目的の情報を取得するわけであるが、インメモリDB検索リストAに定義された特定の情報の検索については、WEBサーバ16をアクセスすることなく、DBサーバ18による情報検索に代わってDB検索サーバ10がその検索を実行する。
The
図7に示す例において、インメモリDB検索リストAは、HTTP要求に対して代行するWEBサイトのURLとして、「http://WWW.WEB-AP.co.jp/cgi-bin/list1.cgi」が記述される。代行SQLとして、TEL=[$TEL$]を条件として「顧客情報」テーブルから「顧客名」及び「サービス名」を検索することを示す。また、検索結果用のテンプレートHTMLとして、「List1_Result.html」と規定される。
以下、同様に複数の組から成るレプリカされたDBの情報が定義されている。
In the example shown in FIG. 7, the in-memory DB search list A is “http://WWW.WEB-AP.co.jp/cgi-bin/list1.cgi” as the URL of the WEB site acting on behalf of the HTTP request. Is described. The proxy SQL indicates that “customer name” and “service name” are searched from the “customer information” table under the condition of TEL = [$ TEL $]. Further, “List1_Result.html” is defined as a template HTML for search results.
Hereinafter, similarly, information of a replicated DB composed of a plurality of sets is defined.
さて、説明を図3に戻して、初期設定が完了した段階で、プロキシ処理機能12はクライアント2からのHTTP要求を待つ状態になっている。そしてクライアント2からHTTP要求を受信すると(S32)、HTTP要求解析部122は、HTTP要求の内容を解析する(S33)。この解析では、HTTP要求によるURIがインメモリDB検索リストAに含まれているか否かのチェックも行なわれる。その解析の結果、HTTP要求のURIが全てインメモリDB検索リストAに存在していれば、インメモリDB14をアクセスすることになる。
Returning to FIG. 3, the
インメモリDB14のアクセスに際しては、インメモリDB検索要求処理部123が起動され(S361)、インメモリDB14が検索される(S362)。
この検索の結果得られた情報は、応答HTML生成部124の実行により、インメモリDB検索リストAに定義されたHTML形式のデータに変換される(S37)。更に、HTML形式のデータは、コンテンツ圧縮部125で圧縮処理されて(S38)、HTTP応答としてクライアント2へ送信される(S39)。
When accessing the in-
The information obtained as a result of this search is converted into HTML format data defined in the in-memory DB search list A by the execution of the response HTML generation unit 124 (S37). Further, the HTML format data is compressed by the content compression unit 125 (S38) and transmitted to the
クライアント2では、HTTP要求に対する応答として、圧縮されたコンテンツを受信すると、それを伸張処理してブラウザ21に送り、PC20の表示器に表示する。
When the
この様に、第1のモードによれば、WEBサーバ16へHTTP要求を送信して情報を取得する必要がないので、短時間でクライアント1のブラウザへ応答を返すことができる。また、WEBサーバ16やDBサーバ18へアクセスしないので、それらの負荷が軽減される。
As described above, according to the first mode, it is not necessary to transmit an HTTP request to the
次に、図4を参照して、第2のモードによる情報の検索動作について説明する。図4において、図3と相違する点は、ステップS401〜S404の動作が追加されていることである。その他については同様であるので、重複する説明は省略する。 Next, the information search operation in the second mode will be described with reference to FIG. 4 is different from FIG. 3 in that operations in steps S401 to S404 are added. Since the others are the same, the duplicate description is omitted.
HTTP要求の解析の結果(S33)、要求される複数のURIの全てがインメモリDB検索リストAに存在しない場合には、HTTP要求をそのままWEBサーバ16へ送信する(S401)。WEBサーバ16では、予め備えられたアプリケーションプログラム(WEB−AP)の処理によって、DBサーバ18に要求して目的の情報、例えば画像や音楽等のコンテンツを取得する(S402)。
As a result of the analysis of the HTTP request (S33), if all of the requested plurality of URIs do not exist in the in-memory DB search list A, the HTTP request is transmitted as it is to the WEB server 16 (S401). The
WEBサーバ16から取得される情報は、図8に示すような応答(拡張タグ)の定義に従ってHTML形式による記述として表される。図8の例では、<XQUIX>から</XQUIX>で囲まれた範囲のデータ、即ち「顧客名」及び「サービス名」は、インメモリDB14のDBレプリカ部142から取得できることを示している。それ以外のデータはDBサーバ18の実行によって関連するDBから取得され、所定のHTML形式で記述されている。ここで、「拡張タグ」と呼ぶ理由は、WEBサーバ16からの応答に含まれる情報が、従来のHTML形式で記述されていることに加えて、インメモリDB14へのアクセスするための情報も含まれていることによる。
Information acquired from the
プロキシ処理機能12は、WEBサーバ16から拡張タグを含む応答を受信すると(S403)、その応答を解析する(S404)。解析の結果、応答に拡張タグとして記述された「顧客名」及び「サービス名」については、インメモリDB検索要求処理部123を起動させる(S361)。すると、インメモリDB14のインメモリDB検索部141が実行されて、DBレプリカ部142に登録されている「顧客名」DB及び「サービス名」DBを検索して、目的の情報を取得する(S362)。
When the
このようにして、インメモリDBから取得された目的の顧客名及びサービス名に関する情報について応答HTMLが作成される(S37)。なお、ここでクライアント2へ送信される応答には、WEBサーバ16から取得された情報が含まれるが、WEBサーバ16から取得された情報については、既にHTML形式で記述されているので、拡張タグを除いてそのままクライアント2へ送信されることになる。
図4の例では、インメモリDB14から得られてHTML形式化された情報と、WEBサーバ16から得られたHTML形式化された情報が、コンテンツ圧縮部125で圧縮処理され(S38)、HTTP応答としてクライアント2へ送信される(S39)。
In this way, a response HTML is created for information on the target customer name and service name acquired from the in-memory DB (S37). Here, the response transmitted to the
In the example of FIG. 4, the information obtained from the in-
以上のように、第2のモードによる情報検索処理によれば、インメモリDB14に存在する情報(例えば検索に時間がかかる情報)と、インメモリDB14に存在しない情報とが混在する場合のHTTP要求に対して、情報取得のための全体的な時間を短縮化することができる。
As described above, according to the information search processing in the second mode, an HTTP request in a case where information existing in the in-memory DB 14 (for example, information that takes time to search) and information not existing in the in-
次に、図5を参照して、第3のモードによる情報の検索動作について説明する。
第3のモードは、従来から一般的に実施されているWEBサーバ16からの情報取得動作である。この場合は、クライアントからのHTTP要求には、インメモリDB検索リストAに記述されていないURLへのアクセスである。
Next, the information search operation in the third mode will be described with reference to FIG.
The third mode is an information acquisition operation from the
即ち、クライアント2からのHTTP要求の解析の結果(S33)、要求されるURIの全てがインメモリDB検索リストAに存在しない場合には、HTTP要求をそのままWEBサーバ16へ送信する(S401)。WEBサーバ16では、予め備えられたアプリケーションプログラム(WEB−AP)の処理によって、DBサーバ18から目的とする情報を取得する(S402)。そして応答を、DB検索サーバ10のプロキシ処理機能12へ送信する。
That is, as a result of analyzing the HTTP request from the client 2 (S33), if not all of the requested URIs exist in the in-memory DB search list A, the HTTP request is transmitted as it is to the WEB server 16 (S401). The
プロキシ処理機能12は、WEBサーバ16からの応答を受信する(S403)。以後の動作は前述と同様であり、プロキシ処理機能12のHTTP応答解析部126は、受信した応答を解析するが、この場合には、インメモリDB14を検索するタグを含んでいないので、WEBサーバ16から受信した応答を、コンテンツ圧縮処理して(S38)、クライアント2へ送信する(S39)。
The
以上、本発明の実施例について説明したが、本発明は上記の実施例に限定されずに種々変形して実施し得る。
例えば、図7乃至図9に示したリストの形式は一例であって、これらに限定されない。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made.
For example, the format of the list shown in FIGS. 7 to 9 is an example, and is not limited to these.
1:リモートサイト 2:ローカルサイト(クライアント)
10:DB検索サーバ 12:プロキシ処理機能
14:インメモリ 16:WEBサーバ
18:DBサーバ 20:PC
21:ブラウザ
1: Remote site 2: Local site (client)
10: DB search server 12: Proxy processing function 14: In-memory 16: WEB server 18: DB server 20: PC
21: Browser
Claims (12)
クライアントからのHTTP要求を解析するステップと、
該解析の結果、インメモリDBに記憶されている情報を検索するステップと、
該検索の結果、得られた情報に対してHTML形式のデータを生成するステップと、
該HTML形式のデータをHTTPに従って該クライアントへ送信するステップと、を有する検索処理方法。 An information search processing method in a WEB system that searches information on a search server based on a request from a client,
Analyzing the HTTP request from the client;
A step of searching information stored in the in-memory DB as a result of the analysis;
Generating HTML-formatted data for the information obtained as a result of the search;
Transmitting the data in the HTML format to the client according to HTTP.
該クライアントからの要求に応じて、WEBサーバを介してDBを検索して得られる情報の内、ある特定の情報をレプリカとして記憶するインメモリDBと、
該クライアントから送信されたHTTP要求を解析し、必要に応じて該WEBサーバへ該HTTP要求を送信するHTTP要求解析部と、
該HTTP要求解析部からの要求に従って、該インメモリDBに検索要求を発し、該インメモリDBから得られる検索結果の情報を解析処理するインメモリDB検索要求処理部と、
該WEBサーバから取得した情報を解析処理するHTTP応答解析部と、
該インメモリDBから検索された情報、及び又はWEBサーバから取得された情報をクライアントへ送信するために、HTML形式に編集処理する応答HTML生成部と、
該応答HTML生成部からの情報を一定の規則に従って圧縮処理するコンテンツ圧縮部と、を有し、
該インメモリDB及び又はWEBサーバから得られた情報をコンテンツ圧縮部で圧縮処理して該クライアントへ送信することを特徴とするWEBシステム。 In a WEB system having a search server that searches for information based on a request from a client,
An in-memory DB that stores certain information as a replica among information obtained by searching the DB via a WEB server in response to a request from the client;
An HTTP request analysis unit that analyzes the HTTP request transmitted from the client and transmits the HTTP request to the WEB server as necessary;
An in-memory DB search request processing unit that issues a search request to the in-memory DB in accordance with a request from the HTTP request analysis unit and analyzes the search result information obtained from the in-memory DB;
An HTTP response analyzer for analyzing the information acquired from the WEB server;
A response HTML generation unit that performs editing processing in the HTML format in order to transmit information retrieved from the in-memory DB and / or information acquired from the WEB server to the client;
A content compression unit that compresses the information from the response HTML generation unit according to a certain rule,
A WEB system characterized in that information obtained from the in-memory DB and / or WEB server is compressed by a content compression unit and transmitted to the client.
該クライアントからの要求を解析するステップと、
該解析の結果、インメモリDBに格納された情報を取得して該クライアントへ応答を送信する第1のモードと、
該解析の結果、該WEBサーバから情報を取得すると共に該インメモリDBから情報を取得して、該クライアントへ応答を送信する第2のモードと、
該解析の結果、該インメモリDBから情報を取得せずに、該WEBサーバから取得した情報のみを応答として、該クライアントへ送信する第3のモードと、
を有することを特徴とするWEBシステムにおける情報処理方法。 An information processing method in a WEB system that acquires information from a WEB server based on a request from a client and transmits the information as a response to the client,
Analyzing the request from the client;
As a result of the analysis, a first mode for acquiring information stored in the in-memory DB and transmitting a response to the client;
As a result of the analysis, a second mode for acquiring information from the WEB server, acquiring information from the in-memory DB, and transmitting a response to the client;
As a result of the analysis, a third mode in which only information acquired from the WEB server is transmitted as a response to the client without acquiring information from the in-memory DB;
An information processing method in a WEB system characterized by comprising:
DBサーバ上の特定の情報を格納するインメモリDBと、
該クライアントからの要求を解析すると共に、該クライアントへの応答を送信するプロキシ処理手段であって、該プロキシ処理手段は、
該クライアントからの要求に従って、インメモリDBに格納された情報を取得して該クライアントへ応答を送信する第1の処理と、該クライアントからの要求に従って、該WEBサーバから情報を取得すると共に該インメモリDBから情報を取得して、該クライアントへ応答を送信する第2の処理と、該クライアントからの要求に従って、該インメモリDBから情報を取得せずに、該WEBサーバから取得した情報のみを応答として、該クライアントへ送信する第3の処理と、を実行すること、を特徴とする検索サーバ。
An information retrieval server in a WEB system that acquires information from a WEB server based on a request from a client and transmits the information as a response to the client,
An in-memory DB for storing specific information on the DB server;
Proxy processing means for analyzing a request from the client and transmitting a response to the client, the proxy processing means comprising:
In accordance with a request from the client, a first process of acquiring information stored in the in-memory DB and transmitting a response to the client; according to a request from the client, acquiring information from the WEB server and Only the information acquired from the WEB server without acquiring information from the in-memory DB in accordance with the second process of acquiring information from the memory DB and transmitting a response to the client and the request from the client And executing a third process to be transmitted to the client as a response.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004182335A JP4512184B2 (en) | 2004-06-21 | 2004-06-21 | Information retrieval system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004182335A JP4512184B2 (en) | 2004-06-21 | 2004-06-21 | Information retrieval system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010078055A Division JP5049367B2 (en) | 2010-03-30 | 2010-03-30 | Information retrieval method and WEB system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006004328A true JP2006004328A (en) | 2006-01-05 |
JP4512184B2 JP4512184B2 (en) | 2010-07-28 |
Family
ID=35772658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004182335A Active JP4512184B2 (en) | 2004-06-21 | 2004-06-21 | Information retrieval system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4512184B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000057041A (en) * | 1998-08-11 | 2000-02-25 | Hitachi Ltd | Proxy server and lan system |
JP2001109758A (en) * | 1999-10-06 | 2001-04-20 | Hitachi Ltd | Virtual table interface, and system and method for processing inquiry using this interface |
JP2001236357A (en) * | 2000-02-23 | 2001-08-31 | Web Intelligence Network Co Ltd | Device and method for web retrieval and recording medium with recorded retrieval program |
-
2004
- 2004-06-21 JP JP2004182335A patent/JP4512184B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000057041A (en) * | 1998-08-11 | 2000-02-25 | Hitachi Ltd | Proxy server and lan system |
JP2001109758A (en) * | 1999-10-06 | 2001-04-20 | Hitachi Ltd | Virtual table interface, and system and method for processing inquiry using this interface |
JP2001236357A (en) * | 2000-02-23 | 2001-08-31 | Web Intelligence Network Co Ltd | Device and method for web retrieval and recording medium with recorded retrieval program |
Also Published As
Publication number | Publication date |
---|---|
JP4512184B2 (en) | 2010-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4437918B2 (en) | Apparatus and method for selectively retrieving information and subsequently displaying the information | |
US7155425B2 (en) | Mobile web services | |
US7797350B2 (en) | System and method for processing downloaded data | |
US8595259B2 (en) | Web data usage platform | |
EP1117050A1 (en) | Individual data representation | |
US20060112081A1 (en) | Storing searches in an e-mail folder | |
US20050223027A1 (en) | Methods and systems for structuring event data in a database for location and retrieval | |
JP2002157271A (en) | Browser device, server device, recording medium, retrieving system and retrieving method | |
US20070162524A1 (en) | Network document management | |
US20090019364A1 (en) | Method and apparatus for generating electronic content guide | |
US20100077300A1 (en) | Computer Method and Apparatus Providing Social Preview in Tag Selection | |
US8533587B2 (en) | Web server, web server having function of Java servlet, and computer readable medium | |
JP2003006225A (en) | Information providing method, information providing device, and terminal therefor | |
US20040139200A1 (en) | Systems and methods of generating a content aware interface | |
US7853606B1 (en) | Alternate methods of displaying search results | |
US20080033918A1 (en) | Systems, methods and computer program products for supplemental data communication and utilization | |
US8001216B2 (en) | System and method for a web service portlet registry | |
US10255362B2 (en) | Method for performing a search, and computer program product and user interface for same | |
JP2000285052A (en) | Url conversion method and device | |
US8131752B2 (en) | Breaking documents | |
JP2007193591A (en) | Web search server and web search method | |
JP5049367B2 (en) | Information retrieval method and WEB system | |
US7516127B2 (en) | Reporting module definition language system and method | |
JP4512184B2 (en) | Information retrieval system | |
JP2009187401A (en) | Document management system, document management apparatus, and document managing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070614 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20070614 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070727 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100405 |
|
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: 20100427 |
|
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: 20100508 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4512184 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 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 |
|
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 |
|
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 |