[go: up one dir, main page]

KR100430561B1 - Method for providing data consistency between web server and web cache server in active network environment - Google Patents

Method for providing data consistency between web server and web cache server in active network environment Download PDF

Info

Publication number
KR100430561B1
KR100430561B1 KR10-2000-0083378A KR20000083378A KR100430561B1 KR 100430561 B1 KR100430561 B1 KR 100430561B1 KR 20000083378 A KR20000083378 A KR 20000083378A KR 100430561 B1 KR100430561 B1 KR 100430561B1
Authority
KR
South Korea
Prior art keywords
web
server
cache
data
web cache
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.)
Expired - Fee Related
Application number
KR10-2000-0083378A
Other languages
Korean (ko)
Other versions
KR20020053668A (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-2000-0083378A priority Critical patent/KR100430561B1/en
Publication of KR20020053668A publication Critical patent/KR20020053668A/en
Application granted granted Critical
Publication of KR100430561B1 publication Critical patent/KR100430561B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

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

본 발명은 엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 관한 것임.The present invention relates to a method of maintaining data consistency between a web server and a web cache server in an active network environment.

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

본 발명은, 데이터 일치성을 제공하기 위한 여러 필드를 가지고 있는 웹 캐쉬 테이블을 제공하는 웹 캐쉬 서버를 두고 웹 캐쉬 서비스를 제공함으로써, 웹 서버와 웹 캐쉬 서버간의 데이터의 일치성을 유지시킬 수 있도록 하는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention provides a web cache service that provides a web cache server that provides a web cache table having multiple fields for providing data consistency, thereby maintaining consistency of data between the web server and the web cache server. To provide a method for maintaining data consistency between a web server and a web cache server and a computer-readable recording medium having recorded thereon a program for realizing the method.

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

본 발명은, 엑티브 네트워크 지원 시스템에 적용되는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 있어서, 상기 웹 서버로부터 데이터를 전달받아 유효한 패킷인지를 확인한 후에 캐쉬 테이블을 검색하여 동일 데이터가 있으면 업데이트를 수행하고, 동일 데이터가 없으면 상기 캐쉬 테이블에 등록하고 상기 라우팅 테이블에 기록하는 제 1 단계; 상기 웹 서버로부터 유효 기간이 담긴 메시지를 전달받아 자신의 유효 메시지인지를 확인한 후에 상기 캐쉬 테이블에 저장하고 해당 유효 기간동안 웹 캐쉬 서비스를 수행하는 제 2 단계; 상기 웹 캐쉬 서버에 의하여 서비스되고 있는 데이터에 대하여 상기 웹 서버로부터 업데이트 시간을 포함한 메시지를 전달받아 데이터를 1차 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 3 단계; 1차 업데이트 실패에 따라, 상기 웹 서버로부터 업데이트 요구 메시지를 재전송받아 데이터를 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 4 단계; 및 2차 업데이트 실패에 따라, 해당 웹 캐쉬 서버의 기능이 상실된 것으로 판단하여 관리 테이블에서 삭제하고 해당 웹 캐쉬 서버의 웹 캐쉬 서비스를 중지시키는 제 5 단계를 포함함.The present invention is a method for maintaining data consistency between a web server and a web cache server applied to an active network support system, and after receiving data from the web server and checking whether it is a valid packet, searching the cache table to update if there is the same data. Performing a first step of registering in the cache table and writing to the routing table if there is no identical data; A second step of receiving a message containing a validity period from the web server, checking whether the message is valid, and storing the message in the cache table and performing a web cache service during the validity period; A third step of receiving a message including an update time from the web server with respect to data being serviced by the web cache server, and first updating the data to maintain data consistency between the web server and the web cache server; In response to the primary update failure, resending the update request message from the web server to update data to maintain data consistency between the web server and the web cache server; And in response to the second update failure, determining that the function of the web cache server is lost, deleting from the management table and stopping the web cache service of the web cache server.

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

본 발명은 엑티브 네트워크 지원 시스템 등에 이용됨.The present invention is used in an active network support system and the like.

Description

엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법{Method for providing data consistency between web server and web cache server in active network environment}Method for providing data consistency between web server and web cache server in active network environment

본 발명은 엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히 엑티브 네트워크 환경하에서 상황에 따라 라우팅 경로상에 웹 캐쉬 테이블을 가진 웹 캐쉬 서버를 유동적으로 설치하여 웹 서비스를 제공함으로써, 웹 서버와 웹 캐쉬 서버간의 데이터의 일치성을 유지시킬 수 있도록 하는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a method of maintaining data consistency between a web server and a web cache server in an active network environment, and to a computer readable recording medium having recorded thereon a program for realizing the method. A method of maintaining data consistency between a web server and a web cache server that provides a web service by flexibly installing a web cache server having a web cache table on the web server. And a computer readable recording medium having recorded thereon a program for realizing the method.

인터넷이 발전하면서 웹 서비스가 활성화되고, 이에 따라 웹 서비스를 위한 송/수신 데이터량이 급격하게 증가하고 있다. 이러한 문제점을 해소할 수 있는 방법으로 제시되고 있는 방법 중에 하나가 웹 캐쉬 방법이다. 특히, 사용자의 요구가 다양하고 변화가 심하기 때문에 웹 캐쉬 서버의 위치를 사용자의 요구에 따라 변경 시킬 수 있고 현 네트워크 환경에서 추가적인 작업없이 엑티브 네트워크 패킷을 이용하여 자신만의 네트워크 환경을 구축할 수 있는 엑티브 네트워크 환경 하에서 웹 캐쉬 서버를 사용하는 방법이 주목을 받고 있다.With the development of the Internet, web services are being activated, and the amount of transmission / reception data for web services is rapidly increasing. One of the methods proposed to solve this problem is the web cache method. In particular, since the needs of users are diverse and changeable, the location of the web cache server can be changed according to the needs of the users, and in the current network environment, users can build their own network environment using active network packets without any additional work. Attention is drawn to the use of a web cache server in an active network environment.

유연한 망 구조를 가지고 있는 엑티브 네트워크 환경에서는 사용자의 요구에 따라 그 위치를 유연하게 변경할 수 있는 웹 캐쉬 서버 서비스가 가능한데, 엑티브 네트워크 환경에서의 웹 캐쉬 서버는 사용자의 요구에 따라 위치와 가지고 있는 데이터의 내용 변화가 심하므로, 웹 서버와 웹 캐쉬 서버간 데이터 일치성을 제공하지 못하면 캐쉬 서비스는 아무런 의미가 없게 된다.In an active network environment with a flexible network structure, a web cache server service that can flexibly change its location according to a user's needs is possible. Since the content changes are severe, the cache service is meaningless if the data coherency between the web server and the web cache server is not provided.

그런데, 현재 엑티브 네트워크 환경에서는 일반적인 클라이언트-서버 환경에서의 네트워크 캐쉬를 라우터에 연결하여 캐쉬 기능을 부여한 후에 웹 캐쉬 서버로사용할 수 있다. 이에 따라, 현재의 웹 캐쉬 서버에서는 캐쉬 데이터 일치 방법을 제시해야 한다.However, in the current active network environment, a network cache in a general client-server environment can be connected to a router to provide a cache function and then used as a web cache server. Accordingly, the current web cache server must present a cache data matching method.

따라서, 현재의 기술분야에서는 위치가 유동적으로 변하면서 캐쉬 서비스를 수행하는 웹 캐쉬 서버와 웹 서버간에 데이터 일치성을 유지시킬 수 있는 방안이 필수적으로 요구되고 있다.Therefore, in the current technical field, a method of maintaining data consistency between a web cache server and a web server that performs a cache service as a location changes flexibly is required.

본 발명은, 상기한 바와 같은 요구에 부응하기 위하여 제안된 것으로, 데이터 일치성을 제공하기 위한 여러 필드를 가지고 있는 웹 캐쉬 테이블을 제공하는 웹 캐쉬 서버를 두고 웹 캐쉬 서비스를 제공함으로써, 웹 서버와 웹 캐쉬 서버간의 데이터의 일치성을 유지시킬 수 있도록 하는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to meet the above-described needs, and provides a web cache service by providing a web cache server that provides a web cache table having several fields for providing data consistency. It is an object of the present invention to provide a method of maintaining data consistency between a web server and a web cache server that can maintain data consistency between web cache servers and a computer-readable recording medium that records a program for realizing the method. .

도 1 은 본 발명이 적용되는 엑티브 네트워크 지원 시스템의 구성예시도.1 is an exemplary configuration diagram of an active network support system to which the present invention is applied.

도 2 는 본 발명에 따른 웹 캐쉬 서버의 세부 구조에 대한 설명도.2 is an explanatory diagram of a detailed structure of a web cache server according to the present invention;

도 3 은 본 발명에 따른 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 대한 일실시예 흐름도.3 is a flowchart illustrating a method for maintaining data consistency between a web server and a web cache server according to the present invention.

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

11 : 웹 서버 12 : 웹 캐쉬 서버11: web server 12: web cache server

13 : 사용자 서브 네트워크13: user subnetwork

상기 목적을 달성하기 위하여 본 발명은, 엑티브 네트워크 지원 시스템에 적용되는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 있어서, 상기 웹 서버로부터 데이터를 전달받아 유효한 패킷인지를 확인한 후에 캐쉬 테이블을 검색하여 동일 데이터가 있으면 업데이트를 수행하고, 동일 데이터가 없으면 상기 캐쉬 테이블에 등록하고 상기 라우팅 테이블에 기록하는 제 1 단계; 상기 웹 서버로부터 유효 기간이 담긴 메시지를 전달받아 자신의 유효 메시지인지를 확인한 후에 상기 캐쉬 테이블에 저장하고 해당 유효 기간동안 웹 캐쉬 서비스를 수행하는 제 2 단계; 상기 웹 캐쉬 서버에 의하여 서비스되고 있는 데이터에 대하여 상기 웹 서버로부터 업데이트 시간을 포함한 메시지를 전달받아 데이터를 1차 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 3 단계; 1차 업데이트 실패에 따라, 상기 웹 서버로부터 업데이트 요구 메시지를 재전송받아 데이터를 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 4 단계; 및 2차 업데이트 실패에 따라, 해당 웹 캐쉬 서버의 기능이 상실된 것으로 판단하여 관리 테이블에서 삭제하고 해당 웹 캐쉬 서버의 웹 캐쉬 서비스를 중지시키는 제 5 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method of maintaining data consistency between a web server and a web cache server applied to an active network support system, wherein the cache table is searched after receiving data from the web server and checking whether the packet is valid. Performing the update if there is the same data, and registering the same in the cache table and writing the same to the routing table if there is no identical data; A second step of receiving a message containing a validity period from the web server, checking whether the message is valid, and storing the message in the cache table and performing a web cache service during the validity period; A third step of receiving a message including an update time from the web server with respect to data being serviced by the web cache server, and first updating the data to maintain data consistency between the web server and the web cache server; In response to the primary update failure, resending the update request message from the web server to update data to maintain data consistency between the web server and the web cache server; And a fifth step of determining that the function of the web cache server is lost in response to the second update failure, deleting it from the management table and stopping the web cache service of the web cache server.

한편, 본 발명은, 프로세서를 구비한 엑티브 네트워크 지원 시스템에, 상기 웹 서버로부터 데이터를 전달받아 유효한 패킷인지를 확인한 후에 캐쉬 테이블을 검색하여 동일 데이터가 있으면 업데이트를 수행하고, 동일 데이터가 없으면 상기 캐쉬 테이블에 등록하고 상기 라우팅 테이블에 기록하는 제 1 기능; 상기 웹 서버로부터 유효 기간이 담긴 메시지를 전달받아 자신의 유효 메시지인지를 확인한 후에 상기 캐쉬 테이블에 저장하고 해당 유효 기간동안 웹 캐쉬 서비스를 수행하는 제 2 기능; 상기 웹 캐쉬 서버에 의하여 서비스되고 있는 데이터에 대하여 상기 웹 서버로부터 업데이트 시간을 포함한 메시지를 전달받아 데이터를 1차 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 3 기능; 1차 업데이트 실패에 따라, 상기 웹 서버로부터 업데이트 요구 메시지를 재전송받아 데이터를 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 4 기능; 및 2차 업데이트 실패에 따라, 해당 웹 캐쉬 서버의 기능이 상실된 것으로 판단하여 관리 테이블에서 삭제하고 해당 웹 캐쉬 서버의 웹 캐쉬 서비스를 중지시키는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention, after receiving the data from the web server to the active network support system having a processor, and checks the cache table, and updates the cache table if there is the same data, if the same data does not have the cache A first function of registering in a table and writing to the routing table; A second function of receiving a message including a valid period from the web server, checking whether the message is a valid message, and storing the message in the cache table and performing a web cache service during the valid period; A third function of receiving a message including an update time from the web server with respect to data being serviced by the web cache server, and first updating the data to maintain data consistency between the web server and the web cache server; A fourth function of maintaining data consistency between the web server and the web cache server by updating the data by receiving the update request message from the web server again in response to the primary update failure; And according to the failure of the secondary update, determine that the function of the web cache server is lost, delete it from the management table, and read the program for realizing the fifth function for stopping the web cache service of the web cache server. Provide a record carrier.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.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 an active network support system to which the present invention is applied.

도 1에 도시된 바와 같이, 오른쪽에 위치한 웹 서버(11)는 엑티브 네트워크 환경에서 웹 캐쉬 서버(12)와 사용자 서브 네트워크(13)와 연결되어 있으며, 웹 서버(11)의 웹 데이터는 사용자 서브 네트워크(13)의 요구에 맞춰 각 웹 캐쉬 서버(12)에 분배되며, 웹 캐쉬 서버(12)는 자신이 가지고 있는 웹 데이터에 따라 웹 서비스를 제공한다.As shown in FIG. 1, the web server 11 located on the right side is connected to the web cache server 12 and the user subnetwork 13 in an active network environment, and the web data of the web server 11 is connected to the user sub network. It is distributed to each web cache server 12 according to the needs of the network 13, and the web cache server 12 provides a web service according to its own web data.

도 2 는 본 발명에 따른 웹 캐쉬 서버의 세부 구조에 대한 설명도이다.2 is a diagram illustrating a detailed structure of a web cache server according to the present invention.

도 2에 도시된 바와 같이, 웹 서버(21)로부터 웹 데이터를 전달받아 캐쉬 테이블(221)에 저장하고, 해당 데이터가 있음을 라우팅 테이블(222)에 기록한다.As shown in FIG. 2, the web data is received from the web server 21 and stored in the cache table 221, and the corresponding data is recorded in the routing table 222.

웹 서버(21)는 업데이트를 원하는 웹 데이터를 관련 웹 캐쉬 서버(22)에 보낼 때 업데이트 할 시간을 같이 보내며, 웹 캐쉬 서버(22)는 웹 데이터를 받은 후 이에 대한 응답 메시지를 웹 서버(21)에 보내게 된다. 만일, 웹 서버(21)가 모든 웹 캐쉬 서버(22)로부터 응답 메시지를 받지 못하면, 다시 한번 해당 웹 캐쉬 서버(22)에 응답 요구 메시지를 보내게 된다. 모든 웹 캐쉬 서버(22)로부터 응답이 오게 되면 업데이트 시간에 해당 웹 데이터를 업데이트하여 서비스를 수행하며, 만약 응답이 없는 웹 캐쉬 서버(22)가 있으면 해당 웹 캐쉬 서버(22)와의 데이터 일치성을 웹 서버(21)가 확신할 수 없기 때문에 해당 웹 캐쉬 서버(22)에 대한 이후 웹 캐쉬 서비스를 제공하지 않는다. 이때, 응답을 보내지 않아 웹 서버(21)와 데이터 일치성을 유지하지 못하는 웹 캐쉬 서버(22)가 지속적으로 웹 캐쉬 서비스를 하는 것을 방지하기 위해 웹 서버(21)는 정기적으로 자신이 관리하는 웹 캐쉬 서버(22)들에게 서비스 유효 기간을 명시하는 메시지를 보내게 되며, 웹 캐쉬 서버(22)들은 웹 서버(21)로부터 온 유효 기간 동안에만 사용자 서브 네트워크(23)에 웹 캐쉬 서비스를 하고 이후에는 일반 라우터로 동작한다.When the web server 21 sends the web data to be updated to the relevant web cache server 22, the web server 21 sends a time to update the web server 21. The web cache server 22 receives the web data and then sends a response message to the web server 21. Sent to). If the web server 21 does not receive a response message from all the web cache servers 22, it sends a response request message to the web cache server 22 again. When a response is received from all web cache servers 22, the web data is updated at the update time to perform a service. If there is no response web cache server 22, data consistency with the corresponding web cache server 22 is performed. Since the web server 21 is not sure, it does not provide a subsequent web cache service for the web cache server 22. At this time, the web server 21 periodically manages its own web to prevent the web cache server 22, which does not send a response and does not maintain data consistency with the web server 21, continuously serving the web cache service. A message specifying the service validity period is sent to the cache servers 22, and the web cache servers 22 serve the web cache service to the user sub-network 23 only during the validity period from the web server 21 and then. It works as a normal router.

도 3 은 본 발명에 따른 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 대한 일실시예 흐름도이다.3 is a flowchart illustrating a method of maintaining data consistency between a web server and a web cache server according to the present invention.

도 3에 도시된 바와 같이, 본 발명에 따른 웹 서버와 웹 캐쉬 서버간 데이터일치성을 유지하기 위해서는, 먼저 웹 서버를 구동하고(301) 웹 캐쉬 서버를 구동시킨 후(302), 웹 서버로부터 웹 캐쉬 서버로 웹 데이터를 전달한다(303).As shown in FIG. 3, in order to maintain data consistency between the web server and the web cache server according to the present invention, first, the web server is driven (301) and the web cache server is driven (302). The web data is delivered to the web cache server (303).

이후, 웹 캐쉬 서버는 전달받은 웹 데이터가 웹 캐쉬 테이블에 있는지를 검색한다(304).Thereafter, the web cache server searches whether the received web data exists in the web cache table (304).

검색결과, 웹 데이터가 웹 캐쉬 테이블에 있으면 웹 캐쉬 테이블을 검색하는 과정(304)을 반복 수행하고, 웹 데이터가 웹 캐쉬 테이블에 없으면 웹 캐쉬 서버에 등록하여(305) 라우팅 테이블에 해당 주소가 있는지를 조사한 후(306) 해당 주소가 있으면 웹 캐쉬 테이블을 검색하는 과정(304)을 반복 수행하고, 해당 주소가 없으면 해당 주소를 등록하고(307) 등록된 주소를 캐쉬 테이블과 포인터로 연결한 후(308), 웹 캐쉬 테이블을 검색하는 과정(304)을 반복 수행한다.As a result of the search, if the web data is in the web cache table, the process of searching the web cache table is repeated (304). If the web data is not in the web cache table, the web cache server is registered (305) to check if the address exists in the routing table. After checking (306), if the address exists, repeat the process of searching the web cache table (304), if the address does not exist, register the address (307), and connect the registered address to the cache table with a pointer ( 308) The process of searching the web cache table 304 is repeated.

한편, 웹 서버는 주기적으로 웹 캐쉬 서비스 유효 기간이 포함된 메시지를 관련 웹 캐쉬 서버로 전송하고(309) 웹 캐쉬 서버는 웹 서버로부터 온 메시지를 확인한 후(310)에 포함된 유효 기간을 웹 캐쉬 테이블에 저장하여(311) 이 유효 기간동안에만 웹 캐쉬 서비스를 수행한다.Meanwhile, the web server periodically transmits a message including the web cache service validity period to the relevant web cache server (309), and the web cache server checks the message from the web server (310) and then checks the validity period included in the web cache. Stored in a table (311) performs a web cache service only during this valid period.

웹 서버가 업데이트할 웹 문서가 생기면 해당 웹 문서와 업데이트할 시간을 포함한 메시지를 관련 웹 캐쉬 서버에 보내(312) 웹 캐쉬 서버가 이 메시지를 받으면(313) 업데이트 데이터를 캐쉬 테이블에 저장한 후(314), 응답 메시지를 웹 서버로 전송한다(315). 만약, 웹 캐쉬 서버로부터 응답 메시지 수신을 실패하면(316) 업데이트 메시지를 재전송하고(317) 두번째 메시지 전송 이후에도 응답을 받지 못하게 되면 해당 웹 캐쉬 서버가 기능을 상실한 것으로 간주하여 더 이상의 유효 기간이 담긴 메시지를 보내지 않고 서비스를 중단시킨다(318).When a web server has a web document to update, it sends a message to the relevant web cache server containing the web document and the time to update (312). When the web cache server receives this message (313), it stores the update data in the cache table ( 314), and sends a response message to the web server (315). If it fails to receive a response message from the web cache server (316) and resends the update message (317) and fails to receive a response after sending the second message, the web cache server is considered to have lost its function and contains a message with a validity period. The service is stopped without sending (318).

이에, 웹 캐쉬 서버는 캐쉬 테이블의 워런트 필드(warrant field)를 조사하여(319) 유효기간이 끝나면 해당 웹 서버가 더 이상의 웹 캐쉬 서비스를 원하지 않는 것으로 판단하여 해당 페이지를 삭제한다(320).Accordingly, the web cache server examines the warrant field of the cache table (319) and determines that the web server does not want the web cache service anymore when the valid period ends (320).

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.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.

상기한 바와 같은 본 발명은, 엑티브 네트워크 환경하에서 데이터 일치성을 제공하기 위한 여러 필드를 가지고 있는 웹 캐쉬 테이블을 제공하는 웹 캐쉬 서버를 두고 웹 캐쉬 서비스를 제공함으로써, 웹 서버와 웹 캐쉬 서버간의 데이터의 일치성을 유지시킬 수 있어, 자신의 라우팅 경로상의 제일 가까운 곳에 위치한 웹 캐쉬 서버에서 정확한 웹 서비스를 받을 수 있을 뿐만 아니라 웹 서비스를 이용하는 시간도 줄일 수 있으며, 전체적인 네트워크 데이터량을 줄일 수 있는 효과가 있다.As described above, the present invention provides a web cache service that provides a web cache server that provides a web cache table having various fields for providing data consistency in an active network environment, thereby providing data between the web server and the web cache server. Of the web cache server closest to the routing path, not only can you receive accurate web service but also reduce the time to use the web service and reduce the overall network data volume. There is.

Claims (7)

삭제delete 엑티브 네트워크 지원 시스템에 적용되는 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법에 있어서,In the method of maintaining data consistency between a web server and a web cache server applied to an active network support system, 상기 웹 서버로부터 데이터를 전달받아 유효한 패킷인지를 확인한 후에 캐쉬 테이블을 검색하여 동일 데이터가 있으면 업데이트를 수행하고, 동일 데이터가 없으면 상기 캐쉬 테이블에 등록하고 상기 라우팅 테이블에 기록하는 제 1 단계;A first step of receiving data from the web server and checking whether it is a valid packet and then searching a cache table to perform an update if there is identical data, and registering the same in the cache table and writing it to the routing table if there is no identical data; 상기 웹 서버로부터 유효 기간이 담긴 메시지를 전달받아 자신의 유효 메시지인지를 확인한 후에 상기 캐쉬 테이블에 저장하고 해당 유효 기간동안 웹 캐쉬 서비스를 수행하는 제 2 단계;A second step of receiving a message containing a validity period from the web server, checking whether the message is valid, and storing the message in the cache table and performing a web cache service during the validity period; 상기 웹 캐쉬 서버에 의하여 서비스되고 있는 데이터에 대하여 상기 웹 서버로부터 업데이트 시간을 포함한 메시지를 전달받아 데이터를 1차 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 3 단계;A third step of receiving a message including an update time from the web server with respect to data being serviced by the web cache server, and first updating the data to maintain data consistency between the web server and the web cache server; 1차 업데이트 실패에 따라, 상기 웹 서버로부터 업데이트 요구 메시지를 재전송받아 데이터를 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 4 단계; 및In response to the primary update failure, resending the update request message from the web server to update data to maintain data consistency between the web server and the web cache server; And 2차 업데이트 실패에 따라, 해당 웹 캐쉬 서버의 기능이 상실된 것으로 판단하여 관리 테이블에서 삭제하고 해당 웹 캐쉬 서버의 웹 캐쉬 서비스를 중지시키는 제 5 단계The fifth step of determining that the function of the web cache server is lost due to the second update failure, deleting it from the management table and stopping the web cache service of the web cache server. 를 포함하는 엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법.How to maintain data consistency between a web server and a web cache server in an active network environment including a. 제 2 항에 있어서,The method of claim 2, 상기 재전송 업데이트 요구 메시지는,The retransmission update request message is 업데이트 시간과 업데이트할 문서를 포함하는 것을 특징으로 하는 엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법.A method of maintaining data consistency between a web server and a web cache server in an active network environment, including update time and documents to be updated. 제 2 항에 있어서,The method of claim 2, 상기 웹 캐쉬 서버는,The web cache server, 2차례에 걸쳐 업데이트 실패시, 통신이 되지 않는 것으로 판단하여 해당 웹 서버의 기능 이상으로 판단하고, 해당 웹 캐쉬 서버에서 해당 페이지 정보를 삭제하여 데이터의 일치성을 유지하는 것을 특징으로 하는 엑티브 네트워크 환경에서 웹 서버와 웹 캐쉬 서버간 데이터 일치성 유지 방법.Active network environment, characterized in that if the update fails for two times, it is determined that the communication is not possible, and it is determined that the function of the web server is abnormal, and the page information is deleted from the web cache server to maintain the data consistency. To maintain data consistency between web servers and web cache servers in Linux 삭제delete 프로세서를 구비한 엑티브 네트워크 지원 시스템에,In an active network support system with a processor, 상기 웹 서버로부터 데이터를 전달받아 유효한 패킷인지를 확인한 후에 캐쉬 테이블을 검색하여 동일 데이터가 있으면 업데이트를 수행하고, 동일 데이터가 없으면 상기 캐쉬 테이블에 등록하고 상기 라우팅 테이블에 기록하는 제 1 기능;A first function of receiving data from the web server and checking whether the packet is valid and then searching the cache table to perform an update if there is the same data, and registering the cache table in the cache table and writing it to the routing table if there is no identical data; 상기 웹 서버로부터 유효 기간이 담긴 메시지를 전달받아 자신의 유효 메시지인지를 확인한 후에 상기 캐쉬 테이블에 저장하고 해당 유효 기간동안 웹 캐쉬 서비스를 수행하는 제 2 기능;A second function of receiving a message including a valid period from the web server, checking whether the message is a valid message, and storing the message in the cache table and performing a web cache service during the valid period; 상기 웹 캐쉬 서버에 의하여 서비스되고 있는 데이터에 대하여 상기 웹 서버로부터 업데이트 시간을 포함한 메시지를 전달받아 데이터를 1차 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 3 기능;A third function of receiving a message including an update time from the web server with respect to data being serviced by the web cache server, and first updating the data to maintain data consistency between the web server and the web cache server; 1차 업데이트 실패에 따라, 상기 웹 서버로부터 업데이트 요구 메시지를 재전송받아 데이터를 업데이트하여 상기 웹 서버와 상기 웹 캐쉬 서버간에 데이터 일치성을 유지하는 제 4 기능; 및A fourth function of maintaining data consistency between the web server and the web cache server by updating the data by receiving the update request message from the web server again in response to the primary update failure; And 2차 업데이트 실패에 따라, 해당 웹 캐쉬 서버의 기능이 상실된 것으로 판단하여 관리 테이블에서 삭제하고 해당 웹 캐쉬 서버의 웹 캐쉬 서비스를 중지시키는 제 5 기능A fifth function of deleting from the management table and stopping the web cache service of the web cache server in response to the failure of the secondary update, determining that the function of the web cache server is lost; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 삭제delete
KR10-2000-0083378A 2000-12-27 2000-12-27 Method for providing data consistency between web server and web cache server in active network environment Expired - Fee Related KR100430561B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0083378A KR100430561B1 (en) 2000-12-27 2000-12-27 Method for providing data consistency between web server and web cache server in active network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0083378A KR100430561B1 (en) 2000-12-27 2000-12-27 Method for providing data consistency between web server and web cache server in active network environment

Publications (2)

Publication Number Publication Date
KR20020053668A KR20020053668A (en) 2002-07-05
KR100430561B1 true KR100430561B1 (en) 2004-05-10

Family

ID=27687066

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0083378A Expired - Fee Related KR100430561B1 (en) 2000-12-27 2000-12-27 Method for providing data consistency between web server and web cache server in active network environment

Country Status (1)

Country Link
KR (1) KR100430561B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038121A (en) * 2017-11-03 2018-05-15 福建网龙计算机网络信息技术有限公司 A kind of caching method and terminal

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150034627A (en) 2013-09-26 2015-04-03 주식회사 케이티 Method for updating flow table
WO2015046859A1 (en) * 2013-09-26 2015-04-02 주식회사 케이티 Method for updating flow table
CN111221828A (en) * 2018-11-26 2020-06-02 福建省华渔教育科技有限公司 Method and terminal for improving consistency of database data and cache data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4747043A (en) * 1984-02-10 1988-05-24 Prime Computer, Inc. Multiprocessor cache coherence system
KR970049431A (en) * 1995-12-29 1997-07-29 구자홍 How to Handle Cache Cohesion Protocol in Multiprocessor Systems
JPH10198623A (en) * 1997-01-07 1998-07-31 Fuji Xerox Co Ltd Cache system for network and data transfer method
KR19990019226A (en) * 1997-08-29 1999-03-15 구자홍 How to Maintain Directory-Based Cache Identity in Distributed Shared Memory Structures
KR19990026501A (en) * 1997-09-25 1999-04-15 구자홍 Method and device for controlling cache coherency of distributed shared memory
KR19990032180A (en) * 1997-10-16 1999-05-06 정선종 How to match the contents of the database with the contents stored in cache memory
KR19990050875A (en) * 1997-12-17 1999-07-05 구본준 Cache equality maintainer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4747043A (en) * 1984-02-10 1988-05-24 Prime Computer, Inc. Multiprocessor cache coherence system
KR970049431A (en) * 1995-12-29 1997-07-29 구자홍 How to Handle Cache Cohesion Protocol in Multiprocessor Systems
JPH10198623A (en) * 1997-01-07 1998-07-31 Fuji Xerox Co Ltd Cache system for network and data transfer method
KR19990019226A (en) * 1997-08-29 1999-03-15 구자홍 How to Maintain Directory-Based Cache Identity in Distributed Shared Memory Structures
KR19990026501A (en) * 1997-09-25 1999-04-15 구자홍 Method and device for controlling cache coherency of distributed shared memory
KR19990032180A (en) * 1997-10-16 1999-05-06 정선종 How to match the contents of the database with the contents stored in cache memory
KR19990050875A (en) * 1997-12-17 1999-07-05 구본준 Cache equality maintainer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038121A (en) * 2017-11-03 2018-05-15 福建网龙计算机网络信息技术有限公司 A kind of caching method and terminal
CN108038121B (en) * 2017-11-03 2021-06-08 福建网龙计算机网络信息技术有限公司 Caching method and terminal

Also Published As

Publication number Publication date
KR20020053668A (en) 2002-07-05

Similar Documents

Publication Publication Date Title
CN1925462B (en) cache system
US7437479B2 (en) Position identifier management apparatus and method, mobile computer, and position identifier processing method
US7233978B2 (en) Method and apparatus for managing location information in a network separate from the data to which the location information pertains
US7096228B2 (en) Method and system for managing data records on a computer network
US8964761B2 (en) Domain name system, medium, and method updating server address information
US7197574B1 (en) Domain name system inquiry apparatus, domain name system inquiry method, and recording medium
EP1004193B1 (en) Method and apparatus for representing and applying network topological data
US20080005275A1 (en) Method and apparatus for managing location information in a network separate from the data to which the location information pertains
US20040210583A1 (en) File migration device
JP2007128371A (en) Content search system
JPH10254753A (en) Information transfer method between caches
JP3062104B2 (en) WWW update notification system
CN101883111B (en) Accounting server for processing online business log and method thereof
US20120191769A1 (en) Site-aware distributed file system access from outside enterprise network
Schwartz et al. Experience with a semantically cognizant internet white pages directory tool
JPH08242286A (en) Communication network management control method
KR100430561B1 (en) Method for providing data consistency between web server and web cache server in active network environment
US6917978B1 (en) Network system having function of retrieving information, network terminal device having function of retrieving information, and network relay device having function of retrieving information
US7483949B2 (en) E-mail caching system and method
US20060056433A1 (en) Message processing and content based searching for message locations in an asynchronous network
JP3265242B2 (en) Continuous data access method
JP2000089996A (en) Information processor and data base system
JP7131357B2 (en) Communication device, communication method, and communication program
JPH09325931A (en) Network connection system, connection proxy support client, and storage medium storing a control program for realizing the connection proxy support client
WO2001095137A2 (en) Method and apparatus for managing data location information in a network

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R11-asn-PN2301

St.27 status event code: A-3-3-R10-R13-asn-PN2301

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R11-asn-PN2301

St.27 status event code: A-3-3-R10-R13-asn-PN2301

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R11-asn-PN2301

St.27 status event code: A-3-3-R10-R13-asn-PN2301

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

D14-X000 Search report completed

St.27 status event code: A-1-2-D10-D14-srh-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

Fee payment year number: 1

St.27 status event code: A-2-2-U10-U11-oth-PR1002

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PR1001 Payment of annual fee

Fee payment year number: 4

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PR1001 Payment of annual fee

Fee payment year number: 5

St.27 status event code: A-4-4-U10-U11-oth-PR1001

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

Fee payment year number: 6

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PR1001 Payment of annual fee

Fee payment year number: 7

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

L13-X000 Limitation or reissue of ip right requested

St.27 status event code: A-2-3-L10-L13-lim-X000

U15-X000 Partial renewal or maintenance fee paid modifying the ip right scope

St.27 status event code: A-4-4-U10-U15-oth-X000

PR1001 Payment of annual fee

Fee payment year number: 8

St.27 status event code: A-4-4-U10-U11-oth-PR1001

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20120330

Year of fee payment: 9

PR1001 Payment of annual fee

Fee payment year number: 9

St.27 status event code: A-4-4-U10-U11-oth-PR1001

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20130325

Year of fee payment: 10

PR1001 Payment of annual fee

Fee payment year number: 10

St.27 status event code: A-4-4-U10-U11-oth-PR1001

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Not in force date: 20140427

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

St.27 status event code: A-4-4-U10-U13-oth-PC1903

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PC1903 Unpaid annual fee

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20140427

St.27 status event code: N-4-6-H10-H13-oth-PC1903

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000