KR100411890B1 - Caching method using prefetched brand-new documents - Google Patents

Caching method using prefetched brand-new documents Download PDF

Info

Publication number
KR100411890B1
KR100411890B1 KR10-1999-0023974A KR19990023974A KR100411890B1 KR 100411890 B1 KR100411890 B1 KR 100411890B1 KR 19990023974 A KR19990023974 A KR 19990023974A KR 100411890 B1 KR100411890 B1 KR 100411890B1
Authority
KR
South Korea
Prior art keywords
document
user
server
requested
agent
Prior art date
Application number
KR10-1999-0023974A
Other languages
Korean (ko)
Other versions
KR20010003611A (en
Inventor
윤수영
송주원
진은숙
서정민
허문행
Original Assignee
주식회사 케이티
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 주식회사 케이티 filed Critical 주식회사 케이티
Priority to KR10-1999-0023974A priority Critical patent/KR100411890B1/en
Publication of KR20010003611A publication Critical patent/KR20010003611A/en
Application granted granted Critical
Publication of KR100411890B1 publication Critical patent/KR100411890B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 새문서 미리가져오기를 이용한 캐슁 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to a caching method using a new document prefetch and a computer readable recording medium storing a program for realizing the method.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 최근의 문서를 미리 읽어와 캐쉬에 저장해 놓음으로써 적중률을 높이는 새문서 미리가져오기를 이용한 캐슁 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.An object of the present invention is to provide a caching method using a prefetching of a new document to increase the hit rate by reading a recent document in advance and storing it in a cache, and a computer-readable recording medium recording a program for realizing the method.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 클라이언트로 문서를 제공하는 서버에서 최근에 생성되거나 수정된 최근 문서들을 새문서 에이전트에 의해 관리하는 제 1 단계; 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하여, 있으면 사용자에게 제공하고, 없으면 상기 서버로 요청하는 제 2 단계; 및 상기 클라이언트 에이전트가 상기 서버로부터 상기 요청된 문서와 함께 상기 새문서 에이전트에 의해 관리되고 있는 상기 최근에 생성되거나 수정된 최근 문서들을 전달받아 이를 저장하고 사용자에게 상기 요청된 문서를 전달하는 제 3 단계를 포함함.The present invention includes a first step of managing, by a new document agent, recent documents recently created or modified in a server providing a document to a client; A second step of checking whether the document requested from the user is in a storage means managed by the client agent, if the document is provided to the user, and if not, requesting the server; And a third step of the client agent receiving and storing the recently generated or modified recent documents managed by the new document agent together with the requested document from the server, and storing the received and forwarding the requested document to a user. Including.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 네트워크 시스템 등에 이용됨.The invention is used in network systems and the like.

Description

새문서 미리가져오기를 이용한 캐슁 방법{CACHING METHOD USING PREFETCHED BRAND-NEW DOCUMENTS}Caching method using new document prefetching {CACHING METHOD USING PREFETCHED BRAND-NEW DOCUMENTS}

본 발명은 네트워크에서의 캐슁 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히 웹 사용 환경에서 캐쉬 적중률을 높이기 위해 클라이언트의 서버 이용 경향을 활용하여 서버로부터 최근에 만들어지거나 수정된 문서를 미리가져옴으로써 네트워크 성능을 향상시키기 위한 캐슁 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a caching method in a network and a computer-readable recording medium recording a program for realizing the method. In particular, in order to increase the cache hit rate in a web-use environment, the present invention utilizes a server usage trend of a client to provide a caching method. The present invention relates to a caching method for improving network performance by importing a document created or modified in advance, and a computer-readable recording medium having recorded thereon a program for realizing the method.

웹(Web) 사용의 폭발적인 증가에 따른 인터넷 트래픽 증가에 따라 네트워크 성능 향상을 위한 많은 연구가 진행되고 있다. 웹 캐슁(Caching)의 기본 개념은 자주 사용되는 문서의 복사본을 웹 사용자와 가까이에 둠으로써 사용자에게 빠른 접근 시간을 제공하는데 있다. 웹 캐슁 기술은 자주 사용되는 문서에 대해서 효과적이고, 결과적으로 네트워크 트래픽을 감소시킬 뿐만 아니라 웹 서버의 부하도 줄일 수 있다.As the Internet traffic increases due to the explosive increase in the use of the Web, many researches for improving network performance have been conducted. The basic concept of web caching is to provide users with quick access time by keeping copies of frequently used documents close to the web user. Web caching technology is effective for frequently used documents and, consequently, not only reduces network traffic but also reduces the load on the web server.

그러나, 최근의 연구 결과에 따르면, 어떤 캐슁 방법을 사용하더라도 얻을 수 있는 캐쉬 적중률(Hit Ratio)은 30%에서 50%에 지나지 않는다고 알려져 있다. 즉, 캐슁 방법이나 캐쉬의 크기에 관계없이 사용자가 요청하는 문서의 둘 중 하나는 캐쉬에서 찾을 수 없다는 것이다.However, recent research has shown that the hit ratios that can be obtained using any caching method are only 30% to 50%. In other words, regardless of the caching method or cache size, one of the documents that the user requests is not found in the cache.

따라서, 캐쉬 적중률을 높이기 위한 많은 연구가 최근에 활발하게 진행되고있다. 그 중의 하나가 사용자가 어떤 문서를 요청할 것인가를 미리 예측하여 캐쉬에 저장해 놓는 미리가져오기(Prefetching)방법이다.Therefore, a lot of researches to increase the cache hit rate has been actively conducted in recent years. One of them is the prefetching method which predicts which document a user requests, and stores it in the cache.

종래의 미리가져오기 방법들은 사용자가 어떤 문서를 요청할 것인가를 예측하기 위하여 웹 서버의 로그 파일을 분석하는 방식을 택하고 있다. 이러한 방법들로는 "베스타프로스(Bestavros)"가 제안하는 방법, "마르카토스(Markatos)"의 탑 10(TOP 10) 방법 등이 있다.Conventional prefetching methods take a method of analyzing a log file of a web server to predict which document a user requests. These methods include the method proposed by "Bestavros" and the TOP 10 method of "Markatos".

우선, "베스타프로스(Bestavros)"는 사용자가 어떤 문서를 요청할 때, 그 문서와 관련이 있는 문서를 미리가져오는 방법을 제안하였다.First, "Bestavros" proposed a way to prefetch a document related to a document when a user requests a document.

이 방법에서는 어떤 문서를 미리가져올 것인가를 결정하기 위해 서버의 로그를 분석하여 문서의 관련성 그래프(Dependency Graph)를 구축한다. 관련성 그래프는 방향성 그래프로서, 각 노드는 문서에 해당하고 문서 D1이 참조되고 일정한 시간 안에 문서 D2가 참조되었을 경우 D1에서 D2로의 링크가 존재한다. 이때, D1이 참조된 수에 대비하여 일정한 시간 안에 D2가 참조된 수의 비율로서 각 링크에 가중치를 준다. 서버는 어떤 문서가 참조되었을 경우, 관련성 그래프를 이용하여 그 문서에 해당하는 노드에 연결된 링크의 가중치를 조사하여 기준 값 이상을 갖는 링크와 연결된 노드에 해당하는 문서를 미리 가져온다.This method analyzes the server's logs to build a document's dependency graph to determine which documents to fetch in advance. The relevance graph is a directional graph, where each node corresponds to a document and there is a link from D1 to D2 if document D1 is referenced and document D2 is referenced within a certain time. At this time, the weight is given to each link as a ratio of the number of the D2 referenced within a predetermined time compared to the number of the D1 referenced. When a document is referenced, the server examines the weight of the link connected to the node corresponding to the document by using the relevance graph to prefetch the document corresponding to the node connected to the link having a reference value or more.

"마르카토스(Markatos)"의 탑 10(TOP 10) 방법에서는, 서버에 있는 문서 중에서 사용자에게 많이 전송되었던 문서들을 미리 가져오는 문서에 포함되도록 하였다. 즉, 사용자가 어떤 문서를 요청하였을 경우, 요청된 문서 외에 최근에 서버에서 가장 많이 참조되고 있는 문서를 함께 사용자에게 보내준다.In the TOP 10 method of "Markatos", documents that have been sent to the user from among the documents on the server are included in the imported document. In other words, when a user requests a document, the document is sent to the user along with the most recently referenced document in addition to the requested document.

이러한 종래의 미리가져오기 방법들은 사용자가 어떤 문서를 요청할 것인가를 예측하기 위하여 웹 서버의 로그 파일을 분석하는 방식을 택하고 있었다.The conventional methods of prefetching have been to analyze a log file of a web server to predict which document a user requests.

그러나, 일반적으로 웹 서버의 로그 파일은 매우 많은 레코드를 가지고 있기 때문에 로그를 분석하는데 따른 시스템의 성능 저하를 가져오는 문제점이 있었다.However, in general, since the log file of the web server has a large number of records, there is a problem that the performance of the system is degraded due to analyzing the log.

상기한 바와 같은 문제점을 해결하기 위하여 제안된 본 발명은, 클라이언트로부터 요구된 문서를 관리하는 서버에서 요구된 문서와 함께 최근의 문서를 미리 읽어와 캐쉬에 저장해 놓음으로써 적중률을 높이는 새문서 미리가져오기를 이용한 캐슁 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention proposed to solve the problems as described above, the new document prefetching to increase the hit rate by reading the recent document in advance and stored in the cache with the required document in the server managing the required document from the client It is an object of the present invention to provide a caching method using a computer and a computer-readable recording medium recording a program for realizing the method.

도 1 은 본 발명이 적용되는 클라이언트/서버 환경의 구성예시도.1 is an exemplary configuration diagram of a client / server environment to which the present invention is applied.

도 2 는 본 발명에 따른 새문서 미리가져오기를 이용한 캐슁 방법에 대한 일실시예 흐름도.2 is a flow diagram of one embodiment of a caching method using a new document prefetch according to the present invention.

도 3 은 본 발명에 따른 클라이언트 에이전트에서의 동작 방법에 대한 일실시예 흐름도.3 is a flow diagram of an embodiment of a method of operation in a client agent in accordance with the present invention.

도 4 는 본 발명에 따른 새문서 에이전트에서의 동작 방법에 대한 일실시예 흐름도.4 is a flow diagram of an embodiment of a method of operation in a new document agent according to the present invention;

*도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

11 : 클라이언트 12 : 서버11: client 12: server

111 : 웹 브라우저 112 : 클라이언트 에이전트111: Web Browser 112: Client Agent

113 : 캐쉬 121 : 웹 서버113: cache 121: web server

122 : 새문서 에이전트 123 : 디렉토리122: New Document Agent 123: Directory

상기 목적을 달성하기 위한 본 발명은, 네트워크 시스템에 적용되는 캐슁 방법에 있어서, 클라이언트로 문서를 제공하는 서버에서 최근에 생성되거나 수정된 최근 문서들을 새문서 에이전트에 의해 관리하는 제 1 단계; 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하여, 있으면 사용자에게 제공하고, 없으면 상기 서버로 요청하는 제 2 단계; 및 상기 클라이언트 에이전트가 상기 서버로부터 상기 요청된 문서와 함께 상기 새문서 에이전트에 의해 관리되고 있는 상기 최근에 생성되거나 수정된 최근 문서들을 전달받아 이를 저장하고 사용자에게 상기 요청된 문서를 전달하는 제 3 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a caching method applied to a network system, comprising: a first step of managing, by a new document agent, recent documents recently created or modified in a server providing a document to a client; A second step of checking whether the document requested from the user is in a storage means managed by the client agent, if the document is provided to the user, and if not, requesting the server; And a third step of the client agent receiving and storing the recently generated or modified recent documents managed by the new document agent together with the requested document from the server, and storing the received and forwarding the requested document to a user. Characterized in that it comprises a.

또한, 본 발명은, 새문서 미리가져오기를 이용한 캐슁을 위하여, 대용량 프로세서를 구비한 네트워크 시스템에, 클라이언트로 문서를 제공하는 서버에서 최근에 생성되거나 수정된 최근 문서들을 새문서 에이전트에 의해 관리하는 제 1 기능; 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하여, 있으면 사용자에게 제공하고, 없으면 상기 서버로 요청하는 제 2 기능; 및 상기 클라이언트 에이전트가 상기 서버로부터 상기 요청된 문서와 함께 상기 새문서 에이전트에 의해 관리되고 있는 상기 최근에 생성되거나 수정된 최근 문서들을 전달받아 이를 저장하고 사용자에게 상기 요청된 문서를 전달하는 제 3 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention provides a network system with a large capacity processor for caching using a new document prefetch, which manages a recent document recently created or modified in a server providing a document to a client by a new document agent. First function; A second function of checking whether a document requested from the user is in a storage means managed by the client agent, providing the user with the user's document, if the document is requested; And a third function of receiving and storing the recently generated or modified recent documents managed by the new document agent together with the requested document from the server, and storing the received and forwarding the requested document to a user. A computer readable recording medium having recorded thereon a program for realizing the present invention is provided.

본 발명에서는 웹을 통하여 인터넷을 자주 사용하는 사용자들의 대부분이 서버로부터 새로운 정보를 얻고자 한다는 특성을 이용한다. 이러한 인터넷 사용자들의 웹 이용 특성을 활용하여 서버에서 최근에 새로 수정되었거나 생성된 문서를 클라이언트의 캐쉬에 미리 가져와 저장해 놓음으로써 캐쉬 적중률을 높일 수 있다.In the present invention, most of the users who frequently use the Internet through the web use the characteristic that they want to obtain new information from the server. By utilizing the web usage characteristics of these Internet users, the cache hit ratio can be increased by pre-fetching and storing recently newly modified or created documents in the client's cache.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 클라이언트/서버 환경의 구성예시도이다.1 is an exemplary configuration diagram of a client / server environment to which the present invention is applied.

도면에 도시된 바와 같이, 클라이언트/서버 환경은 웹 브라우저(111), 클라이언트 에이전트(112) 및 캐쉬(113)를 구비하는 클라이언트(11)와 웹 서버(121),새문서 에이전트(122) 및 디렉토리(123)를 구비하는 서버(12)로 이루어진다.As shown in the figure, the client / server environment includes a client 11 having a web browser 111, a client agent 112, and a cache 113, a web server 121, a new document agent 122, and a directory. It consists of a server 12 having 123.

도면에서는 두 개의 에이전트-클라이언트 에이전트와 새문서 에이전트-를 기존의 클라이언트/서버 웹 환경에 추가하였다. 클라이언트(11)에 추가되는 클라이언트 에이전트(112)는 프록시(Proxy) 기능 외에 웹 서버(121)로부터 최근에 생성되거나 수정된 문서들을 받아서 캐쉬(113)에 저장하는 일을 담당한다. 서버(12)에 추가되는 새문서 에이전트(122)는 최근에 생성되거나 수정된 문서들을 모으는 역할을 수행한다.In the figure, two agents, a client agent and a new document agent, are added to an existing client / server web environment. The client agent 112 added to the client 11 is responsible for receiving recently generated or modified documents from the web server 121 and storing them in the cache 113 in addition to the proxy function. The new document agent 122 added to the server 12 collects recently created or modified documents.

웹 브라우저(111)는 웹 사용자와의 인터페이스를 담당하고, 디렉토리(123)는 웹 서버(121)의 관리를 받으며 문서나 파일 등을 저장하고 있다.The web browser 111 is responsible for the interface with the web user, and the directory 123 is managed by the web server 121 and stores documents and files.

이때, 클라이언트 에이전트(112)는 웹 사용자가 이용하는 웹 브라우저(111)와 웹 서버(121) 사이에서는 어디에도 위치할 수 있다. 프록시, 게이트웨이 등처럼 웹 사용자의 웹 브라우저(111)에 가까울 수도 있고, 웹 서버(121)에 가까울 수도 있다.In this case, the client agent 112 may be located anywhere between the web browser 111 and the web server 121 used by the web user. It may be close to the web browser 111 of the web user, such as a proxy, a gateway, or the like, or may be close to the web server 121.

도 2 는 본 발명에 따른 새문서 미리가져오기를 이용한 캐슁 방법에 대한 일실시예 흐름도이다.2 is a flowchart illustrating a caching method using a new document prefetch according to the present invention.

웹 브라우저(111)는 웹 서버(121)에 있는 웹 문서(D1) 요청을 웹 사용자로부터 받아(201), 요청된 문서(D1)에 대한 정보를 클라이언트 에이전트(112)로 전달한다(202).The web browser 111 receives the web document D1 request from the web server 121 from the web user (201), and transmits the information about the requested document D1 to the client agent 112 (202).

클라이언트 에이전트(112)는 웹 브라우저(111)로부터 요청을 받아서 사용자가 요청하는 문서(D1)가 클라이언트 에이전트(112)가 관리하는 캐쉬(113)에 있는지를 검사한다(203). 검사 결과, 캐쉬(113)에 해당 문서가 존재하면 웹 브라우저(111)를 통하여 사용자에게 문서(D1)를 전달해 주고(204), 그렇지 않으면 웹 서버(121)로 문서(D1)를 요청한다(205).The client agent 112 receives the request from the web browser 111 and checks whether the document D1 requested by the user exists in the cache 113 managed by the client agent 112 (203). As a result of the check, if the document exists in the cache 113, the document D1 is delivered to the user through the web browser 111 (204), otherwise the document D1 is requested to the web server 121 (205). ).

웹 서버(121)가 클라이언트 에이전트(112)로부터 요청을 받으면 웹 사용자가 요청한 문서(D1)와 함께 새문서 에이전트(122)에 의해 미리 준비된 최근에 수정되거나 생성된 문서의 집합(D2)을 웹 서버(121)가 관리하는 디렉토리(123)로부터 받아 클라이언트 에이전트(112)로 보내준다(206).When the web server 121 receives the request from the client agent 112, the web server collects a set of recently modified or generated documents D2 prepared in advance by the new document agent 122 together with the document D1 requested by the web user. It receives from the directory 123 managed by 121 and sends it to the client agent 112 (206).

웹 서버(121)로부터 결과를 받은 클라이언트 에이전트(112)는 사용자에게 그 요청 문서(D1)를 전달해 주고, 자신의 캐쉬(113)에 최근에 수정되거나 생성된 문서의 집합(D2)을 저장한다(207).The client agent 112 receiving the result from the web server 121 delivers the request document D1 to the user, and stores the set D2 of recently modified or generated documents in its cache 113 ( 207).

도 3 은 본 발명에 따른 클라이언트 에이전트에서의 동작 방법에 대한 일실시예 흐름도이다.3 is a flowchart of an embodiment of a method of operation in a client agent according to the present invention.

클라이언트 에이전트(112)는 웹 브라우저(111)를 통해 웹 사용자로부터 웹 문서(D1)를 요청하는 정보를 수신하였는지를 판단한다(301). 판단 결과, 수신된 정보가 없으면, 일정시간이 지난 후 웹 문서(D1) 요청 정보를 수신하였는지를 판단하는 과정(301)부터 반복 수행한다.The client agent 112 determines whether the information for requesting the web document D1 is received from the web user through the web browser 111 (301). As a result of the determination, if there is no received information, the process is repeated from step 301 to determine whether the web document D1 request information has been received after a predetermined time.

클라이언트 에이전트(112)가 웹 사용자로부터의 문서(D1) 요청 정보를 수신하였으면, 캐쉬(113)에 웹 사용자로부터의 요청 문서(D1)가 저장되어 있는지를 확인한다(302). 확인 결과, 캐쉬(113)에 요청 문서(D1)가 저장되어 있으면 클라이언트 에이전트(112)가 요청 문서(D1)를 웹 브라우저(111)를 통하여 웹 사용자에게 전달하고(306), 정해진 주기에 따라 일정시간이 지난 후 웹 문서(D1) 요청 정보를 수신하였는지를 판단하는 과정(301)부터 반복 수행한다.When the client agent 112 receives the document D1 request information from the web user, it is checked whether the request document D1 from the web user is stored in the cache 113 (302). As a result of the check, if the request document D1 is stored in the cache 113, the client agent 112 delivers the request document D1 to the web user through the web browser 111 (306), and according to a predetermined cycle After the time elapses, the process repeats from step 301 to determine whether the web document D1 request information has been received.

캐쉬(113)에 웹 사용자로부터의 요청 문서(D1)가 저장되어 있는지를 확인한 결과, 저장되어 있지 않으면 웹 서버(121)로 웹 사용자로부터 요청된 문서(D1) 정보를 전송한다(303).As a result of checking whether the request document D1 from the web user is stored in the cache 113, if it is not stored, the requested document D1 information from the web user is transmitted to the web server 121 (303).

클라이언트 에이전트(112)는 웹 서버(121)로부터 요청되었던 웹 문서(D1)와 웹 서버(121)가 관리하는 디렉토리(123)에 있는 최근에 수정되거나 생성된 문서의 집합(D2)을 전달받아(304), 캐쉬(113)에 저장하고(305), 웹 사용자가 요청한 문서(D1)를 웹 브라우저(111)를 통하여 웹 사용자에게 전달한다(306). 이후, 클라이언트 에이전트(112)는 새로운 웹 문서 요청에 대비하여 정해진 주기에 따라 일정시간이 지난 후 웹 문서(D1) 요청 정보를 수신하였는지를 판단하는 과정(301)부터 반복 수행한다.The client agent 112 receives the web document D1 that has been requested from the web server 121 and a set D2 of recently modified or generated documents in the directory 123 managed by the web server 121 ( 304, the cache 113 is stored (305), and the document D1 requested by the web user is transmitted to the web user through the web browser 111 (306). Subsequently, the client agent 112 repeats the process 301 of determining whether the web document D1 request information has been received after a predetermined period of time according to a predetermined period in preparation for a new web document request.

도 4 는 본 발명에 따른 새문서 에이전트에서의 동작 방법에 대한 일실시예 흐름도이다.4 is a flowchart illustrating an operation method of a new document agent according to the present invention.

새문서 에이전트(122)는 웹 서버(121)가 관리하는 디렉토리(123)를 주기적으로 검색하여(401), 최근에 생성되거나 수정된 문서들이 있는지를 판단한다(402). 판단 결과, 최근에 생성되거나 수정된 문서들이 없으면 웹 서버(121)가 관리하는 디렉토리(123)를 주기적으로 검색하는 과정(401)부터 반복 수행한다.The new document agent 122 periodically searches (401) the directory 123 managed by the web server 121 to determine whether there are recently created or modified documents (402). As a result of the determination, if there are no recently created or modified documents, the process is repeatedly performed from step 401 of periodically searching the directory 123 managed by the web server 121.

새문서 에이전트(122)가 최근에 생성되거나 수정된 문서들이 있는지를 판단한 결과, 있으면 최근에 생성되거나 수정된 문서들을 웹 서버(121)가 관리하는 디렉토리(123) 중 특정 부분에 저장한다(403).As a result of determining whether there are recently created or modified documents, the new document agent 122 stores the recently created or modified documents in a specific part of the directory 123 managed by the web server 121 (403). .

새문서 에이전트(122)는 웹 서버(121)의 최근에 생성되거나 수정된 문서들을 관리하게 되는데, 이때 일정기간의 범위를 두어 최근 문서들을 관리하게 되며, 범위 밖에 문서들은 관리하는 최근 문서들에서 제외된다.상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The new document agent 122 manages recently created or modified documents of the web server 121, and manages recent documents for a certain period of time, and out of range recent documents that are managed are excluded. The method of the present invention as described above may be implemented in a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 사용자가 웹 서버의 문서를 요청하였을 때 요청된 문서를 가져오면서 최근에 생성되거나 수정된 문서를 미리 가져와 캐쉬에 저장시켜 놓음으로써 웹 서버에서는 로그 파일을 분석하지 않고 미리가져오기를 위해 단지 웹 서버가 관리하는 문서 중에서 최근에 생성되거나 수정된 문서만을 관리하면 되므로 웹 서버의 성능을 크게 저하시키지 않으면서 사용자에게 빠른 응답시간을 제공할 수 있는 효과가 있다.According to the present invention as described above, when a user requests a document of a web server, a recently generated or modified document is fetched in advance while the requested document is stored and stored in a cache so that the web server does not analyze the log file in advance. Since only the recently created or modified documents are managed among the documents managed by the web server for importing, it is possible to provide a quick response time to the user without significantly reducing the performance of the web server.

또한 본 발명은, 최근에 생성되거나 수정된 문서를 미리 가져와 캐쉬에 저장시켜 놓는 방법을 사용함으로써 뉴스 웹 사이트와 같이 정보의 갱신 주기가 빠른 웹 서버에 적당하며, 푸시(Push) 환경에서도 높은 성능을 낼 수 있는 효과가 있다.In addition, the present invention is suitable for a web server with a fast update cycle of information such as a news web site by using a method of prefetching recently created or modified documents and storing them in a cache, and provides high performance even in a push environment. There is an effect that can be made.

Claims (5)

네트워크 시스템에 적용되는 새문서 미리가져오기를 이용한 캐슁 방법에 있어서,In the caching method using the new document prefetch applied to the network system, 클라이언트로 문서를 제공하는 서버에서 최근에 생성되거나 수정된 최근 문서들을 새문서 에이전트에 의해 관리하는 제 1 단계;A first step of managing, by a new document agent, recently created or modified recent documents at a server providing a document to a client; 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하여, 있으면 사용자에게 제공하고, 없으면 상기 서버로 요청하는 제 2 단계; 및A second step of checking whether the document requested from the user is in a storage means managed by the client agent, if the document is provided to the user, and if not, requesting the server; And 상기 클라이언트 에이전트가 상기 서버로부터 상기 요청된 문서와 함께 상기 새문서 에이전트에 의해 관리되고 있는 상기 최근에 생성되거나 수정된 최근 문서들을 전달받아 이를 저장하고 사용자에게 상기 요청된 문서를 전달하는 제 3 단계A third step of the client agent receiving and storing the recently generated or modified recent documents managed by the new document agent together with the requested document from the server, and storing the received and forwarding the requested document to a user. 를 포함하는 새문서 미리가져오기를 이용한 캐슁 방법.Caching method using a new document prefetch including a. 제 1 항에 있어서,The method of claim 1, 상기 새문서 에이전트는,The new document agent, 상기 서버 내의 문서들을 주기적으로 검색하여 최근에 생성되거나 수정된 문서들을 따로 저장하여 관리하는 것을 특징으로 하는 새문서 미리가져오기를 이용한 캐슁 방법.And periodically searching for documents in the server to separately store and manage recently generated or modified documents. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하는 제 4 단계;A fourth step of confirming whether the document requested from the user is in a storage means managed by the client agent; 상기 제 4 단계의 확인 결과, 상기 저장수단에 상기 문서가 있으면 상기 사용자에게 이를 제공하는 제 5 단계;A fifth step of providing the user with the document in the storage means as a result of the checking in the fourth step; 상기 제 4 단계의 확인 결과, 상기 저장수단에 없으면 상기 사용자가 요청한 상기 문서가 있는 상기 서버로 상기 사용자의 문서 요청 정보를 전송하는 제 6 단계; 및A sixth step of transmitting the document request information of the user to the server that has the document requested by the user if the storage means does not exist in the fourth step; And 상기 서버가 상기 사용자로부터 요청된 상기 문서와 함께 새문서 에이전트에 의해 관리되고 있는 최근에 생성되거나 수정된 문서들을 전송받는 제 7 단계A seventh step in which the server receives the recently created or modified documents managed by the new document agent together with the documents requested from the user; 를 포함하는 새문서 미리가져오기를 이용한 캐슁 방법.Caching method using a new document prefetch including a. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 클라이언트 에이전트는,The client agent, 상기 사용자로부터 요청된 상기 문서를 저장수단에서 찾아 상기 사용자에게 제공하고, 없으면 상기 서버로 요청하여 상기 문서와 상기 서버에서 최근에 생성되거나 수정되어 상기 서버의 새문서 에이전트에 의해 관리되고 있는 상기 최근 문서들을 수신하여 상기 문서와 함께 상기 저장수단에 저장하고 상기 문서를 상기 사용자에게 제공하는 것을 특징으로 하는 새문서 미리가져오기를 이용한 캐슁 방법.The document requested from the user is found in the storage means and provided to the user, and if not, the server requests the server, and if the document is recently created or modified in the server and the server, the latest document managed by the new document agent of the server. Receiving and storing the document together with the document in the storage means and providing the document to the user. 새문서 미리가져오기를 이용한 캐슁을 위하여, 대용량 프로세서를 구비한 네트워크 시스템에,For caching with new document prefetching, network systems with high-capacity processors 클라이언트로 문서를 제공하는 서버에서 최근에 생성되거나 수정된 최근 문서들을 새문서 에이전트에 의해 관리하는 제 1 기능;A first function of managing, by a new document agent, recent documents recently created or modified at a server providing a document to a client; 사용자로부터 요청된 문서가 클라이언트 에이전트가 관리하는 저장수단에 있는지를 확인하여, 있으면 사용자에게 제공하고, 없으면 상기 서버로 요청하는 제 2 기능; 및A second function of checking whether a document requested from the user is in a storage means managed by the client agent, providing the user with the user's document, if the document is requested; And 상기 클라이언트 에이전트가 상기 서버로부터 상기 요청된 문서와 함께 상기 새문서 에이전트에 의해 관리되고 있는 상기 최근에 생성되거나 수정된 최근 문서들을 전달받아 이를 저장하고 사용자에게 상기 요청된 문서를 전달하는 제 3 기능A third function for the client agent to receive the recently created or modified recent documents managed by the new document agent together with the requested document from the server, to store it, and to deliver the requested document to a user 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-1999-0023974A 1999-06-24 1999-06-24 Caching method using prefetched brand-new documents KR100411890B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-1999-0023974A KR100411890B1 (en) 1999-06-24 1999-06-24 Caching method using prefetched brand-new documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-1999-0023974A KR100411890B1 (en) 1999-06-24 1999-06-24 Caching method using prefetched brand-new documents

Publications (2)

Publication Number Publication Date
KR20010003611A KR20010003611A (en) 2001-01-15
KR100411890B1 true KR100411890B1 (en) 2003-12-31

Family

ID=19594935

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-1999-0023974A KR100411890B1 (en) 1999-06-24 1999-06-24 Caching method using prefetched brand-new documents

Country Status (1)

Country Link
KR (1) KR100411890B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990010232A (en) * 1997-07-15 1999-02-05 윤종용 Internet service device and method using bookmark information
KR19990010225A (en) * 1997-07-15 1999-02-05 윤종용 How to operate cache
KR19990016750A (en) * 1997-08-19 1999-03-15 이계철 How to control proxy server in TDX-10 ISDN internet access exchange system
JPH11120060A (en) * 1997-10-17 1999-04-30 Nec Corp System for updating caching of www browser by means of update scheduled time
KR19990041790A (en) * 1997-11-24 1999-06-15 윤종용 How to hyperlink a document in a web browser

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990010232A (en) * 1997-07-15 1999-02-05 윤종용 Internet service device and method using bookmark information
KR19990010225A (en) * 1997-07-15 1999-02-05 윤종용 How to operate cache
JPH1139349A (en) * 1997-07-15 1999-02-12 Samsung Electron Co Ltd Cache operating method for user terminal equipment connected to network
KR19990016750A (en) * 1997-08-19 1999-03-15 이계철 How to control proxy server in TDX-10 ISDN internet access exchange system
JPH11120060A (en) * 1997-10-17 1999-04-30 Nec Corp System for updating caching of www browser by means of update scheduled time
KR19990041790A (en) * 1997-11-24 1999-06-15 윤종용 How to hyperlink a document in a web browser

Also Published As

Publication number Publication date
KR20010003611A (en) 2001-01-15

Similar Documents

Publication Publication Date Title
US9703885B2 (en) Systems and methods for managing content variations in content delivery cache
Nanopoulos et al. A data mining algorithm for generalized web prefetching
US6526479B2 (en) Method of caching web resources
Nanopoulos et al. Effective prediction of web-user accesses: A data mining approach
US7343396B2 (en) Precomputation of web documents
EP1546924B1 (en) Method, system, and program for maintaining data in distributed caches
US7024452B1 (en) Method and system for file-system based caching
US6631451B2 (en) System and method for caching
US6260061B1 (en) Technique for effectively managing proxy servers in intranets
JPH11149405A (en) Www cache system and www data lock-ahead method
Nanopoulos et al. Exploiting web log mining for web cache enhancement
Bahn et al. Replica-aware caching for web proxies
Ramu et al. A study on web prefetching techniques
KR100411890B1 (en) Caching method using prefetched brand-new documents
Foygel et al. Reducing Web latency with hierarchical cache-based prefetching
Wong et al. Site-based approach to Web cache design
KR100647419B1 (en) Predictive data cache method for data retrieval service
Katsaros et al. Cache management for Web-powered databases
Li et al. A hybrid cache and prefetch mechanism for scientific literature search engines
Zhang et al. Personalized web prefetching in mozilla
Hussain et al. Intelligent prefetching at a proxy server
JP2004070957A (en) Retrieval system
Sathiyamoorthi Web Usage Mining: Improving the Performance of Web-Based Application through Web Mining
Sofi et al. A proxy load reduction technique to improve web performance
Xiao et al. A similarity-aware multiagent-based web content management scheme

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B601 Maintenance of original decision after re-examination before a trial
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20020228

Effective date: 20030929

S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20091201

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee