KR20020003695A - Method of keeping persistent connection in hypertext transfer protocol HTTP - Google Patents

Method of keeping persistent connection in hypertext transfer protocol HTTP Download PDF

Info

Publication number
KR20020003695A
KR20020003695A KR1020000035586A KR20000035586A KR20020003695A KR 20020003695 A KR20020003695 A KR 20020003695A KR 1020000035586 A KR1020000035586 A KR 1020000035586A KR 20000035586 A KR20000035586 A KR 20000035586A KR 20020003695 A KR20020003695 A KR 20020003695A
Authority
KR
South Korea
Prior art keywords
server
client
connection
request
user
Prior art date
Application number
KR1020000035586A
Other languages
Korean (ko)
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 KR1020000035586A priority Critical patent/KR20020003695A/en
Publication of KR20020003695A publication Critical patent/KR20020003695A/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE: A method for maintaining a continuous connection on a hyper text transfer protocol is provided to reduce a creating/closing time of a connection by maintaining the first created HTTP connection continuously and not creating new HTTP connection in each time for a communication with a web server. CONSTITUTION: In an HTTP connecting method comprised by transmitting a requesting signal from a client to a server and by transmitting a responding signal from the server to the client, the requesting signal includes a requesting header having a client's inherent ID and the responding signal includes a responding header having a waiting timer designated by the server. Stages of the HTTP connecting method are described as follows. The client transmits the requesting signal to the server(101). The server receives the request and stores the corresponding URL to a user DB(10)(201,203). The server transmits the responding signal to the client(205). The client receives the response from the server(103). The client and the server maintain a connection during a waiting time included in the responding header(207).

Description

하이퍼텍스트 트랜스퍼 프로토콜 상에서 지속적 접속을 유지하는 방법 {Method of keeping persistent connection in hypertext transfer protocol HTTP}Method of keeping persistent connection in hypertext transfer protocol HTTP

본 발명은 맨처음 생성한 HTTP 연결을 계속 유지하여 통신함으로써 연결의 생성/종료시간을 단축하는, HTTP 상에서 지속적 접속을 유지하는 방법에 관한 것이다.The present invention relates to a method for maintaining a persistent connection over HTTP, which shortens the connection creation / end time by continuously maintaining and communicating the first created HTTP connection.

웹브라우저를 이용하여 인터넷 홈페이지에 접속하려면 HTTP(hypertext transfer protocol) 접속이 필요하다. HTTP는 하이퍼텍스트를 송수신하기 위한 WWW서버에서 사용되는 프로토콜로서, 클라이언트는 HTTP를 통해 하이퍼텍스트 상에서 링크되어 있는 다른 호스트 서버로 점프하여 정보를 가져올 수 있다. WWW 브라우저를 써서 인터넷 사이트의 홈페이지로 접근할 때에는 "http://"로 시작되는 URL을 입력하여야 한다.A hypertext transfer protocol (HTTP) connection is required to access the Internet homepage using a web browser. HTTP is a protocol used by WWW servers to send and receive hypertext, and clients can get information by jumping to another host server that is linked over hypertext over HTTP. When using the WWW browser to access the homepage of an Internet site, you must enter a URL beginning with "http: //".

이러한 HTTP는 "요청/응답(request & response)"의 단순한 구조로 이루어져 있다. 즉, 다른 페이지로 이동하기 위해서 클라이언트에서 해당 URL을 요청(request)하면 웹서버로부터 응답(response)이 오게 되며, 이러한 동작이 완료되면 연결이 끊어진다. 좀더 구체적으로는, 도1과 같은 행위가 순차적으로 일어나게 된다. -소켓접속(open): HTTP 연결을 생성한다, -요청(request): HTTP 요청을 전송한다, -응답(response): 서버에서 HTTP 응답을 클라이언트로 전송한다, -소켓해제(close): HTTP 연결을 끊는다.This HTTP consists of a simple structure of "request & response." That is, when a client requests a corresponding URL to move to another page, a response comes from the web server, and when such an operation is completed, the connection is disconnected. More specifically, the actions as shown in FIG. 1 occur sequentially. -Open: create an HTTP connection,-request: send an HTTP request,-response: send an HTTP response from the server to the client,-close: HTTP connection Hang up.

종래에는 이렇게 클라이언트에서 매번 HTTP 연결을 생성했다가 다시 연결하는 행위에 의해 웹서버에의 접속 및 페이지 이동 속도가 늦어지게 되고, 웹서버에서 접속자에게 정보를 푸시하기가 곤란한 문제가 있다. 특히 이러한 문제는 이동통신 단말기에서 웹서버로 접속을 할 때에 크게 문제시될 수 있다.Conventionally, the client makes an HTTP connection every time and then reconnects to the web server, thereby slowing down the page movement speed and pushing the information to the visitor. In particular, such a problem may be a serious problem when accessing a web server from a mobile communication terminal.

본 발명에서는 속도 향상을 위해 일정 대기시간동안 HTTP 연결을 유지한다. 즉, 본 발명의 목적은 매번 새로운 HTTP 연결을 생성하여 웹서버와 통신하는 것이 아니라, 맨처음 생성한 HTTP 연결을 계속 유지하여 통신함으로써 연결의 생성/종료시간을 단축하는, HTTP상에서 지속적 접속을 유지하는 방법을 제공하는 것이다.In the present invention, HTTP connection is maintained for a certain waiting time for speed improvement. That is, the object of the present invention is not to create a new HTTP connection each time to communicate with the web server, but to maintain a continuous connection on HTTP, which shortens the connection creation / end time by continuously maintaining and communicating the first created HTTP connection. To provide a way.

도1은 종래의 HTTP 접속방법을 설명하는 개념도1 is a conceptual diagram illustrating a conventional HTTP connection method

도2는 본 발명에 따른 HTTP 접속방법을 설명하는 개념도2 is a conceptual diagram illustrating an HTTP access method according to the present invention;

도3a는 본 발명의 개요를 나타내는 프로세스 순서도3A is a process flow diagram illustrating an overview of the present invention.

도3b는 도3a의 구체적 프로세스 순서도FIG. 3B is a detailed process flowchart of FIG. 3A

도4는 사용자DB의 구성도4 is a configuration diagram of a user DB

도5는 최초 페이지의 화면구성 예시도5 is an example of the screen configuration of the first page

도6은 요청중계의 경우에 본 발명이 사용되는 예를 나타내는 시스템도Fig. 6 is a system diagram showing an example in which the present invention is used in case of request relay.

용어의 정의Definition of Terms

(1) 요청 헤더: 본 발명에 따른 클라이언트가 접속요청을 서버로 보낼 때 추가적으로 전송하는 헤더. 사용자를 구별할 수 있는 ID를 값(value)으로 갖는다. (예컨대, "Connection:Persistent(ID=value)"와 같은 형식으로 구성될 수 있는데, 여기서의 value는 클라이언트의 ID로서, 예를 들어 클라이언트가 이동전화 단말기기일 때에는 전화번호 또는 고유 일련번호 등이 된다.)(1) Request header: A header additionally transmitted when a client according to the present invention sends a connection request to a server. It has an ID that can identify a user as a value. (Eg, "Connection: Persistent (ID = value)"), where value is the ID of the client, for example, a telephone number or a unique serial number when the client is a mobile terminal device. .)

(2) 응답 헤더: 본 발명에 따른 서버가 접속응답을 클라이언트에게 보낼 때 추가적으로 전송하는 헤더로서, 클라이언트가 요청 헤더를 보내온 경우에만 전송한다. 대기시간을 값으로 갖는다. (예컨대, "Connection:Persistent(timeout=value)"와 같은 형식으로 구성될 수 있는데, 여기서의 value는 접속(connection)을 유지하는 최대시간(time out)이며 단위는 초로 설정할 수 있다.)(2) Response header: A header additionally transmitted when the server according to the present invention sends a connection response to the client, and is transmitted only when the client sends the request header. The wait time is the value. (E.g., "Connection: Persistent (timeout = value)", where value is the maximum time to maintain a connection and the unit can be set in seconds.)

(3) 대기시간: 본 발명에 따른 지속적 접속을 지원하는 서버가 응답 헤더의 값으로서 지정한 시간. 본 발명에 따른 클라이언트와 서버는 이 시간동안 연결된 접속(connection)을 유지해야 한다.(3) Latency: The time designated as the value of the response header by the server supporting the persistent connection according to the present invention. The client and server according to the invention must maintain a connection during this time.

(4) 사용자DB(10): 본 발명에 따른 지속적 접속에 있어서, 사용자를 위한 북마크(bookmark)를 저장하는 데이터베이스. 이 DB로부터 사용자가 마지막 브라우징한 위치를 검색하여 최초 페이지(first page)를 구성한다.(4) User DB (10): A database for storing bookmarks for a user in a persistent connection according to the present invention. From this DB, the user browses to the last browsed location and constructs the first page.

(5) 최초 페이지(first page): 클라이언트로부터의 접속 요청이 최초로 접수된 경우, 사용자가 이전에 브라우징하던 위치로부터 계속 브라우징할 수 있도록 지원하기 위해 제공되는 첫번째 페이지.(5) first page: The first page provided to assist a user to continue browsing from a location previously browsed when an access request from a client is first received.

(6) 1차 서버: 클라이언트의 요청을 직접 받는 서버.(6) primary server: A server that directly receives requests from clients.

(7) 2차 서버: 클라이언트의 요청을 바로 받지 않고, 1차 서버로부터 중계(redirection)된 요청을 받는 서버.(7) Secondary server: A server that receives a request redirected from a primary server instead of immediately receiving a client's request.

(8) 리얼서버(real server): 클라이언트의 요구를 실제로 처리하는 요청 라인의 마지막에 위치한 서버.(8) real server: The server located at the end of the request line that actually handles the client's request.

본 발명의 개요Summary of the invention

본 발명에서는 연결된 소켓 접속(socket connection)을 재사용하여, 소켓 연결 요구, 연결 요구 접수, 연결 등의 오버헤드를 줄임으로써 통신 속도를 높이자는 것이 기본 아이디어이다. 이를 위해서는 HTTP 트랜잭션(transaction)이 완료된 후에도 연결을 유지하여 다음 트랜잭션(transaction)에 재사용하여야 한다. 본 발명에 따르면, 도1에서 예시한 종래의 방법과 같이 클라이언트가 매번 새로운 HTTP 연결을 생성하여 웹서버와 통신하는 것이 아니라, 맨처음 생성한 HTTP 연결을 계속 유지한 채 통신을 한다.In the present invention, it is a basic idea to reuse a connected socket connection to increase communication speed by reducing overhead of socket connection request, connection request reception, and connection. To do this, the connection must be maintained after the HTTP transaction is completed and reused for the next transaction. According to the present invention, as in the conventional method illustrated in FIG. 1, the client does not create a new HTTP connection each time and communicates with the web server, but maintains the first HTTP connection that is created.

도2에 이러한 개념을 나타내었다. 클라이언트와 서버 사이에 소켓이 오픈된 다음에 요청과 응답이 이루어지고 소켓의 해제(close)는 일정한 대기시간이 지나서야 이루어짐을 알 수 있다. 소켓의 오픈과 해제 사이에서 요청과 응답의 트랜잭션이 여러번 이루어질 수 있다. 즉, 본 발명에 따르면 매번 소켓을 오픈하고 해제하는 동작이 제거되므로, 통신상의 오버헤드를 크게 줄일 수 있고 통신속도를 높힐수 있는 것이다. 하지만 모든 서버와 모든 클라이언트가 본 발명에 따른 접속방법을 인식하고 있는 것은 아니므로, 본 발명을 적용하는 클라이언트 또는 서버는 그 사실을 상대(peer)에게 알릴 필요가 있다. 이 정보는 HTTP 헤더를 통해 상대방에게 전달 된다.This concept is shown in FIG. After the socket is opened between the client and the server, the request and response are made and the socket is closed only after a certain waiting time. The request and response transactions can occur multiple times between opening and releasing the socket. That is, according to the present invention, since the operation of opening and releasing the socket every time is eliminated, the communication overhead can be greatly reduced and the communication speed can be increased. However, not all servers and all clients are aware of the connection method according to the present invention, so the client or server to which the present invention is applied needs to inform the peer. This information is communicated to the other party via HTTP headers.

본 발명은 기본적으로, 클라이언트가 서버에 요청신호를 전송하고 이에 대해 서버가 클라이언트에게 응답신호를 전송함으로써 이루어지는 HTTP 접속 방법에 관한 것이다. 상기 요청신호에는 클라이언트의 고유ID를 갖는 요청 헤더가 포함되고, 상기 응답신호에는 서버에서 지정하는 대기시간을 갖는 응답 헤더가 포함된다. 본 발명에서 클라이언트는 이동전화 단말기일 수 있으며 요청 헤더의 고유ID는 단말기의 전화번호 또는 시리얼넘버(일련번호)일 수 있다. 또한, 서버의 응답 헤더의 대기시간은 2분의 범위 내에서 초 단위로 설정될 수 있다.The present invention basically relates to an HTTP connection method in which a client sends a request signal to a server and a server sends a response signal to the client. The request signal includes a request header having a unique ID of the client, and the response signal includes a response header having a waiting time specified by the server. In the present invention, the client may be a mobile phone terminal and the unique ID of the request header may be a phone number or a serial number (serial number) of the terminal. In addition, the waiting time of the response header of the server may be set in seconds within a range of 2 minutes.

도3a를 참조할 때, 본 발명에 따른 HTTP상에서 지속적 접속을 유지하는 방법은Referring to Figure 3a, a method for maintaining a persistent connection over HTTP in accordance with the present invention

클라이언트가 요청 헤더를 포함하는 요청신호를 서버에 전송하는 단계[101],Transmitting, by the client, a request signal including the request header to the server [101],

서버가 요청을 접수하여[201] 해당 URL을 사용자DB(10)에 저장하는 단계[203],The server receives the request [201] and stores the URL in the user DB 10 [203],

서버가 응답 헤더를 포함하는 응답신호를 클라이언트에 전송하는 단계[205],Transmitting, by the server, a response signal including the response header to the client [205],

클라이언트가 서버로부터의 응답을 수신하는 단계[103],The client receiving a response from the server [103],

클라이언트와 서버가 응답 헤더에 포함된 대기시간 동안 연결을 유지하는 단계[207]로 구성된다.The client and server are configured to maintain the connection for the waiting time included in the response header [207].

위의 구성에서, 클라이언트가 요청신호를 서버에 전송하는 단계[101] 이전에, 소켓버퍼에 데이터가 있는지 체크하여[105] 데이터가 있다면 소켓버퍼를 클리어하는 단계[107]가 추가로 포함될 수 있고, 클라이언트가 서버에서 전송한 응답신호를 수신하는 단계에는, 서버로부터 콘텐트(content)데이터를 수신하는 단계[103], 멈춤버튼이 선택되거나 콘텐트가 종료되었는지 체크하는 단계[109], 멈춤버튼이 선택되지 않고 콘텐트가 종료되지 않았을 때에는 계속해서 콘텐트 데이터를 수신하고[110], 멈춤버튼이 선택되거나 콘텐트가 종료되면 수신데이터를 처리하는 단계[111]가 포함될 수 있다(도3b 참조).In the above configuration, before the client transmits the request signal to the server [101], it may further include checking whether there is data in the socket buffer [105] and if there is data, clearing the socket buffer [107]. In the step of receiving a response signal transmitted from the server, the client receives the content data from the server [103], a step of checking whether the stop button is selected or the content is terminated [109], and the stop button is selected. If the content is not finished and the content is not finished, the method may continuously receive the content data [110], and if the stop button is selected or the content is finished, processing the received data [111] may be included (see FIG. 3B).

본 발명에 따르면, 대기시간 이전에 새로운 요청이 발생한 경우에는 클라이언트에서 서버로 재요청신호를 전송하며, 사용자가 클라이언트에서 브라우저를 종료하는 경우에는, 서버가 대기시간 동안 기다리지 않고 연결을 즉시 끊는 것을 특징으로 한다.According to the present invention, when a new request occurs before the waiting time, the client sends a re-request signal to the server, and when the user exits the browser from the client, the server disconnects immediately without waiting for the waiting time. It is done.

본 발명에 따르면 또한, 클라이언트와 서버의 연결이 종료될 때 마지막으로 성공적으로 브라우징한 URL을 사용자DB(10)에 저장하는 것을 특징으로 하는데, 사용자DB(10)에는 적어도 사용자의 ID(connection_name)와 북마크(connection_bookmark) 필드가 포함된다(도4 참조).According to the present invention, when the connection between the client and the server is terminated, the last successfully browsed URL is stored in the user DB 10. The user DB 10 includes at least a user ID (connection_name) and A bookmark (connection_bookmark) field is included (see FIG. 4).

본 발명에 따르면 또한, 클라이언트가 최초로 연결을 시도한 경우에는 사용자DB(10)에 저장되어 있는 해당 사용자의 마지막 브라우징 위치를 검색하여 검색결과를 클라이언트로 전송하는 단계가 추가로 포함되는데, 이 검색결과는 적어도 사용자가 최근에 요청했던 사이트의 URL과 사용자가 북마크한 사이트의 URL을 포함하는 최초 페이지(20)인 것을 특징으로 한다(도5 참조). 그러나, 사용자가 최초로 연결하려고 시도한 위치가 사용자DB(10)에 저장된 북마크의 위치와 동일할 경우에는 최초 페이지를 전송하지 않고 바로 해당 URL로 연결된다.According to the present invention, when the client first attempts to connect, the method may further include searching for the last browsing position of the user stored in the user DB 10 and transmitting a search result to the client. At least the URL of the site that the user recently requested and the URL of the site that the user bookmarked. However, if the location that the user first attempts to connect to is the same as the location of the bookmark stored in the user DB 10, the user directly connects to the corresponding URL without transmitting the first page.

본 발명의 구체적 설명Detailed Description of the Invention

위에서 설명한 개요에 대한 구체적 설명으로서, 본 발명에 따른 HTTP상의 지속적 접속방법의 프로세스에 대해서 설명한다.As a detailed description of the above-described outline, a process of the persistent connection method over HTTP according to the present invention will be described.

1. 클라이언트의 요청1. Client's Request

클라이언트는 서버에 요청을 보낼 때 도3a와 같이 요청 헤더를 추가해, 자신이 본 발명에 따른 지속적 접속을 지원하는 클라이언트임을 서버에 알려야 한다[101]. 클라이언트가 이동통신 단말기의 경우(이하, "단말기"), 이 요청 헤더의 값은 자신을 다른 단말기와 구별할 수 있는 값으로 설정하는 것이 바람직하다.When the client sends a request to the server, it should add a request header as shown in FIG. 3A to inform the server that the client supports the persistent connection according to the present invention [101]. When the client is a mobile communication terminal (hereinafter referred to as "terminal"), it is preferable to set the value of this request header to a value that can distinguish itself from other terminals.

도3a에서는 단말기의 전화번호를 요청 헤더의 값으로 사용하여 고유한 ID를 얻을 수 있다. 즉, 클라이언트에서 서버에 보내는 요청이 "Connection:Persistent(ID=820162011234)"와 같이 단말기 전화번호를 값(value)으로 하고 있다. 이 ID는 서버측에서 단말기의 북마크를 관리할 때 사용할 수 있다.In FIG. 3A, a unique ID can be obtained by using the telephone number of the terminal as a value of the request header. That is, the request sent from the client to the server has the terminal telephone number as a value, such as "Connection: Persistent (ID = 820162011234)". This ID can be used when managing the bookmark of the terminal on the server side.

단말기가 클라이언트가 되는 경우, 단말기의 구현시에 고려되어야 할 사항에는 다음과 같은 것들이 있다.When the terminal becomes a client, there are the following items to be considered when implementing the terminal.

-단말기는 항상 요청 헤더를 전송해야 한다. 이는 본 발명을 지원하지 않는서버와 통신할 때도 적용되며, 서버와 연결된 이후에도 단말기의 모든 요청에는 요청 헤더가 포함되어야 한다.The terminal must always send a request header. This also applies when communicating with a server that does not support the present invention, and all requests from the terminal must include a request header even after connecting to the server.

-요청 헤더의 값(ID value)은 각 단말기별로 유일한 값이어야 한다. 전화번호로써 헤더를 구성하는 경우라도, 요청 헤더의 값은 항상 설정하여야 한다. 만약 전화번호를 전송하지 않도록 결정된 경우에는 단말기의 고유ID(제조번호, 시리얼넘버 등)를 사용하여 요청 헤더의 값을 결정하도록 한다.-The ID value of the request header must be unique for each terminal. Even if the header is composed of a telephone number, the value of the request header should always be set. If it is decided not to transmit a phone number, the value of the request header is determined using the unique ID (manufacture number, serial number, etc.) of the terminal.

-1) 서버가 응답 헤더를 보내오면, 응답 헤더에 지정된 대기시간 동안은(엄밀히 말하면, 단말기가 응답 헤더를 처리한 순간부터 대기시간 동안) 연결을 끊지 않고 유지해야 한다. 2) 접속이 이루어진 후에 새로운 요청이 대기시간 이후에 발생했다면, 단말기는 일단 연결을 끊고 다시 연결을 시도해야 한다. 3) 대기시간 이전에 새로운 요청이 발생했으나, 비의도적으로 연결이 끊어진 경우에는 오류로 처리하지 않고 최초로 연결을 시도할 때와 마찬가지로 재연결을 시도해야 한다.-1) When the server sends a response header, it must maintain the connection for the duration specified in the response header (strictly, from the moment the terminal processes the response header to the latency). 2) After the connection is made, if a new request occurs after the waiting time, the terminal must disconnect and try to connect again. 3) If a new request occurs before the waiting time, but the connection is inadvertently disconnected, the connection must be reconnected as if the first connection was attempted without being treated as an error.

-단말기의 경우에는 위의 세가지 룰의 구현이 복잡해질 수 있으므로, 단말기의 특성상 위 세 개의 룰을 구현할 수 없는 경우에는 대기시간에 관계없이 연결을 무한정 유지하도록 하며, 연결이 끊어진 경우에는 (그것이 대기시간이 만료되었기 때문이든지 비의도적인 연결의 종료이든지 간에) 오류로 처리하지 않고 최초로 연결을 시도할 때와 같이 연결을 재시도 하는 방안도 바람직하다.In the case of the terminal, the implementation of the above three rules can be complicated.If the above three rules cannot be implemented due to the characteristics of the terminal, the connection is maintained indefinitely regardless of the waiting time. Whether the time expires or unintentionally terminates the connection, it is also desirable to retry the connection, such as when attempting to connect for the first time without treating it as an error.

-사용자가 단말기에서 브라우저를 종료하는 경우에는, 서버가 대기시간 동안 기다리지 않도록 연결을 "즉시" 끊도록 한다.-When the user exits the browser on the terminal, the server is disconnected "on the fly" so that the server does not wait for the waiting time.

2. 서버의 응답2. Response from the server

클라이언트로부터의 요청을 받은 서버는 요청을 처리하여[201] 요청 헤더가 포함된 요청을 받은 서버가 응답을 전송하는데 있어서[205], 서버도 역시 본 발명에 따른 지속적 접속을 지원하는 서버임을 알리는 헤더를 응답에 포함시켜야 한다. 이때 이 응답 헤더의 값은 클라이언트로부터 다음 요청이 도착할 때까지 대기할 시간을 초 단위로 설정한다. 따라서 도3a에서와 같이 "Connection:Persistent(timeout=120)"과 같은 헤더를 포함시킬 수 있다(이 경우에는 120초(=2분)간 클라이언트와 연결을 유지하여야 한다는 의미가 된다).The server receiving the request from the client processes the request [201] so that the server receiving the request including the request header sends a response [205], indicating that the server is also a server supporting the persistent connection according to the present invention. Should be included in the response. In this case, the response header value sets the time in seconds to wait for the next request from the client. Therefore, as shown in FIG. 3A, a header such as "Connection: Persistent (timeout = 120)" may be included (in this case, it is necessary to maintain a connection with the client for 120 seconds (= 2 minutes)).

대기시간은 서버와 클라이언트의 설정에 따라 달라질 수 있겠지만, 일반적으로 단말기는 2분간 통신이 없으면 연결을 끊으므로, 2분을 넘지 않아야 한다.The wait time may vary depending on the server and client settings, but in general, the terminal disconnects if there is no communication for 2 minutes, so it should not exceed 2 minutes.

만약 본 발명에 따른 서버가 본 발명을 수행하지 않도록 설정하려면 응답 헤더의 값에 0을 입력하면 된다. 즉 "Connection:Persistent(timeout=0)" 이라는 헤더는 이 서버가 본 발명에 따른 지속적 접속을 지원하기는 하지만 현재는 디스에이블(disable)되어 있다는 의미로 사용될 수 있다.If the server according to the present invention does not execute the present invention, 0 may be input in the response header value. That is, the header "Connection: Persistent (timeout = 0)" may be used to mean that the server supports the persistent connection according to the present invention, but is currently disabled.

본 발명에 따른 지속적 접속을 지원하는 서버의 구현시에는 다음과 같은 사항들을 고려하여야 한다.When implementing a server supporting continuous access according to the present invention, the following matters should be considered.

-클라이언트의 요청 헤더가 접수된 경우에 서버는 항상 응답 헤더를 전송한다. 오류가 발생하여 오류번호를 클라이언트에 리턴하는 경우에도 응답 헤더를 전송해야 한다.The server always sends a response header when the client's request header is received. In case of error and return error number to client, response header should be sent.

-응답 헤더의 값(value)에 있어서는 대기시간을 초단위로 설정한다. 이 값은120을 넘을 수 없다.Set the wait time in seconds for the value of the response header. This value cannot exceed 120.

-응답 헤더에 설정하여 전송한 대기시간 동안 연결을 유지하여야 하며, 동시에 클라이언트로부터의 새로운 요청을 받을 준비를 해야 한다.You must maintain the connection for the waiting time set in the response header, and at the same time prepare to receive new requests from clients.

-서버는 클라이언트가 연결을 끊은 것을 감지한 순간 "즉시" 연결을 끊고 본 발명에 따른 지속적 접속을 중지하도록 한다.-The server immediately disconnects the moment it detects that the client has disconnected and stops the persistent connection according to the invention.

-결과적으로 서버는 대기시간 동안 다음과 같은 상황을 점검해야 한다. 1) 클라이언트가 새로운 요청을 보내오는가, 2) 클라이언트가 연결을 끊었는가, 3) 대기시간이 만료되었는가.As a result, the server should check for the following conditions during latency: 1) Does the client send a new request, 2) Does the client disconnect, 3) Does the wait expire?

-클라이언트의 요청이 다른 서버(2차 서버)로 중계(redirect)될 때, 요청 헤더도 함께 중계되어야 한다. 이 경우에는 1차 서버가 2차 서버에 대해 클라이언트가 될 수 있다.When a client's request is redirected to another server (secondary server), the request header must also be relayed. In this case, the primary server can be a client to the secondary server.

-응답 헤더는 캐시메모리에 저장될 수 없다.The response headers cannot be stored in cache memory.

3. 연결유지(keep connection)3. keep connection

헤더를 통해 요청과 응답을 주고 받은 클라이언트와 서버는 응답에 포함된 응답 헤더의 값에 지정된 시간(대기시간)만큼 연결을 유지할 의무가 있다. 만약 대기시간 이내에 다시 요청이 발생한다면, 클라이언트는 연결을 유지하고 있는 서버로 재요청을 보낼 수 있다.Clients and servers that send and receive requests and responses via the header are obliged to maintain the connection for the amount of time (wait time) specified in the value of the response header included in the response. If the request comes back within the waiting time, the client can resend the request to the maintaining server.

4. 사용자DB(10)와 최초 페이지4. User DB (10) and First Page

본 발명에 따른 지속적 접속을 지원하는 서버는 클라이언트가 마지막으로 브라우징한 위치를 저장하기 위해 도4와 같은 필드명을 포함하는 사용자DB(10)를 구비하여야 한다. 도4의 필드명중 Connection_name과 Connection_bookmark는 반드시 포함해야 하며, 추가적인 기능을 위해 더 많은 필드들을 포함할 수 있다.The server supporting the persistent connection according to the present invention should be provided with the user DB 10 including the field name as shown in FIG. 4 in order to store the last browsed location of the client. Connection_name and Connection_bookmark in the field names of FIG. 4 must be included and may include more fields for additional functions.

서버는 클라이언트의 요청을 처리할 때마다, 해당 URL을 사용자DB(10)에 저장해 두어야 하며, 연결이 종료될 때 마지막으로 성공적으로 브라우징한 URL을 위의 사용자DB(10)에 저장해야 한다.Whenever the server processes the client's request, the server should store the URL in the user DB 10, and when the connection is terminated, the URL that has been successfully browsed must be stored in the user DB 10 above.

또 클라이언트가 최초로 연결을 시도한 경우는 사용자DB(10)로부터 해당 사용자의 마지막 브라우징 위치를 검색하여 도5와 같은 최초 페이지(20)를 전송한다. 최초 페이지(20)로부터 사용자는 예전에 브라우징하던 위치에서부터 인터넷 항해를 계속할 수 있다. 도5에는 "본 발명에 따른 지속적 접속시스템이 가동중임(Persistent Connection Enabled)", "당신이 최근에 요청한 사이트 페이지는 http://www.kipo.go.kr임", "당신은 http://www.x.com에 북마크하였음"이라는 메시지가 예시적으로 표시되어 있다.When the client attempts to connect for the first time, the user browses the last browsing position of the user from the user DB 10 and transmits the first page 20 as shown in FIG. From the first page 20, the user can continue to navigate the Internet from a previously browsed location. 5, "Persistent Connection Enabled" according to the present invention (Persistent Connection Enabled), "The site page you recently requested is http://www.kipo.go.kr", "You are http: / /www.x.com bookmarked "is shown as an example.

만약 사용자가 최초로 연결하려고 시도한 위치가 사용자DB(10)에 저장된 북마크의 위치와 동일할 경우에는 도5의 최초 페이지(20)를 전송할 필요가 없으며, 바로 해당 URL로 연결처리하면 된다.If the first attempted connection by the user is the same as the location of the bookmark stored in the user DB 10, there is no need to transmit the first page 20 of FIG.

5. 요청의 중계(request redirection)5. request redirection

HTTP 요청은 도6과 같은 방식으로 중계될 수 있다. 도6에서 프록시서버(proxy server) A-1에서 A-4로 중계되는 형태를 내부중계(local redirection)라 하고, 다른 프록시 서버인 프록시 서버열(proxy server array) B로 중계되는 형태를 외부중계(extern redirection)라 한다. 이런 경우 프록시 서버 A-4나 프록시 서버열 B는 2차 서버가 된다. 만약 도6과 같이 중계가 일어나는 경우 프록시 서버 A-1은 다른 프록시 서버에 대해 클라이언트처럼 행동해야 한다. 이를 위해 프록시 서버 A-1은 요청 중계(내부중계)시에 요청 헤더를 함께 전송해야 한다. 1차 서버와 2차 서버 사이에서 이루어지는 지속적 접속은, 클라이언트와 1차 서버 사이에서 이루어지는 지속적 접속과 동일한 방식으로 처리하면 된다.The HTTP request may be relayed in the same manner as shown in FIG. In FIG. 6, the form relayed from proxy server A-1 to A-4 is called local redirection, and the form relayed to another proxy server, proxy server array B, is externally relayed. It is called (extern redirection). In this case, proxy server A-4 or proxy server string B becomes the secondary server. If relaying occurs as shown in Fig. 6, proxy server A-1 should act as a client to another proxy server. To this end, proxy server A-1 must send the request headers together during request relay (internal relay). The persistent connection between the primary server and the secondary server may be processed in the same manner as the persistent connection between the client and the primary server.

다만, 사용자DB(10)를 억세스하거나 최초 페이지(20)를 작성하는 등의 업무(task)는 반드시 1차 서버(도6에서 프록시 서버 A-1, 즉, 요청을 직접 받는 서버)가 수행해야 한다. 기본적으로 본 발명은 클라이언트와 그 클라이언트의 요청을 직접 받는 서버 사이에서 이루어진다.However, tasks such as accessing the user DB 10 or creating the first page 20 must be performed by the primary server (proxy server A-1 in FIG. 6, that is, a server directly receiving a request). do. Basically, the present invention is made between a client and a server that receives the client's request directly.

연결이 해제되는 순서는 상황에 따라 다르다. 만약 클라이언트와 1차 서버 사이에 지속적 접속이 구성되었고, 1차 서버와 2차 서버 사이에 다시 지속적 접속이 구성되었다면, 연결이 끊어지는 순서는 아래와 같다.The order in which the connections are released depends on the situation. If the persistent connection is established between the client and the primary server, and the persistent connection is established again between the primary and secondary servers, the order of disconnection is as follows.

(1) 대기 시간이 만료된 경우 (여기에서는 1차 서버의 대기시간이 2차 서버의 대기시간과 일치한다고 가정한다. 1차 서버와 2차 서버의 대기시간이 서로 다르더라도 클라이언트와 관련된 지속적 접속은 1차 서버에 의해서만 관리되므로 문제가 발생하지 않는다.)(1) When the waiting time has expired (Here, it is assumed that the waiting time of the primary server matches the waiting time of the secondary server. Even if the waiting time of the primary server and the secondary server is different, the persistent connection related to the client is Is managed by the primary server only, so no problem occurs.)

가) 2차 서버가 연결을 종료한다. 2차 서버가 응답을 돌려준 후 먼저 기다리게 되므로 먼저 만료된다.A) The secondary server terminates the connection. The secondary server waits first after returning a response, so it expires first.

나) 1차 서버가 클라이언트와의 연결을 해제한다. 그리고 2차 서버와의 접속을 종료한다.B) The primary server disconnects from the client. The connection with the secondary server is terminated.

다) 나중에 클라이언트가 요청을 보내려는 시점에 연결이 끊어졌음을 감지하게 된다. 그러면 클라이언트는 다시 연결을 맺으려고 시도할 것이다.C) Later, when the client tries to send a request, it detects that the connection has been lost. The client will then try to establish a connection again.

(2) 클라이언트가 브라우징을 종료하고 연결을 끊은 경우(2) Client terminates browsing and disconnects

가) 클라이언트가 연결을 끊는다.A) The client disconnects.

나) 1차 서버가 클라이언트가 연결을 끊었음을 감지하고 접속을 해제한다. 그리고 2차 서버와의 접속도 끊는다.B) The primary server detects that the client has disconnected and disconnects. It also disconnects from the secondary server.

다) 2차 서버가 1차 서버의 접속해제를 감지하고 연결을 끊는다.C) The secondary server detects the disconnection of the primary server and disconnects.

6. 본 발명 적용시의 캐시사용(cache policy)6. Cache Policy in Application of the Invention

본 발명과 관련하여 캐시관리 모듈(cache manage module)을 작성할 때에는 아래의 사항에 주의하여야 한다.In the case of writing a cache manage module in connection with the present invention, the following matters should be noted.

-기본적으로 요청/응답 헤더는 HTTP/1.1에 규정된 "hop-by-hop" 헤더에 속한다. 따라서 캐시에 저장될 수 없다. (또한 요청 중계의 경우에도 재전송 될 수 없다. 하지만 위에서 언급한 것과 같이 1차 서버가 2차 서버와 지속적 접속을 이루기 위해 전송할 수는 있다. 이 경우에는 클라이언트에서 전송된 요청 헤더를 그대로 사용할 수도 있고, 필요하면 요청 헤더를 재작성하여 전송할 수도 있다. 예를들어 프록시 서버열 A와 프록시 서버열 B 사이에서 어떠한 약정에 의해 지속적 접속을위한 규칙을 새로 준비하였다면, 프록시 서버 A-1은 이 규칙에 맞는 요청 헤더를 재작성하여 보내야 할 것이다.)By default, the request / response header belongs to the "hop-by-hop" header specified in HTTP / 1.1. Therefore it cannot be stored in the cache. (Also, it can't be retransmitted in the case of request relay. However, as mentioned above, the primary server can transmit to establish a persistent connection with the secondary server. In this case, the request header sent from the client can be used as it is. If necessary, proxy server A-1 could be added to this rule, for example, if a new rule for persistent connections is established by some agreement between proxy server string A and proxy server string B. You will have to rewrite and send the correct request header.)

-요청 헤더에 포함된 ID는 단말기 또는 사용자를 구별하는 유일한 값이므로, 개별캐시(private cache)에 저장하기 위한 해시(hash) 값으로 사용할 수 있다.-The ID included in the request header is a unique value that distinguishes the terminal or the user, so it can be used as a hash value for storing in a private cache.

-본 발명에 따른 지속적 접속 방법을 지원하는 서버는 클라이언트가 요구한 페이지를 캐시에서 읽은 경우에도, 응답 헤더를 추가하여 전송하여야 한다.-The server supporting the persistent connection method according to the present invention should add a response header even when the page requested by the client is read from the cache.

-클라이언트도 응답신호에 포함된 응답 헤더를 캐시에 저장할 수 없다.The client may not store the response header included in the response signal in the cache.

(1) HTTP 연결의 생성/종료 시간이 없어지므로 클라이언트와 서버간의 소켓접속에 따른 오버헤드를 줄일 수 있기 때문에 속도와 안정성의 측면에서 이득을 볼 수 있다. 특히 전송속도가 느린 통신망에 연결된 CPU 처리속도가 늦은 단말기기의 경우에 효과적이다.(1) Since the creation / end time of HTTP connection is eliminated, the overhead of socket connection between client and server can be reduced, which can benefit from speed and stability. It is especially effective in the case of terminal equipment with slow CPU processing speed connected to slow transmission network.

(2) PC통신에서와 같이 현재 접속된 방문자를 파악할 수 있다. 즉, 어떤 사용자가 언제 방문하여 언제 나갔는지, 그동안 어떤 페이지를 보았는지를 알 수 있다.(2) As in PC communication, visitors who are currently connected can be identified. In other words, you can see when a user visited and when they left and what page they viewed.

(3) 또한 방문자의 행태를 분석하여 방문자가 원하는 정보를 푸시할 수 있게 된다. 즉, 영화관련 페이지만을 주로 방문하고 있다면 그 즉시 영화관련 이벤트 정보를 웹서버에서 푸시할 수 있다.(3) It is also possible to analyze the behavior of the visitor to push the information desired by the visitor. In other words, if you are mainly visiting only movie-related pages, you can immediately push movie-related event information from the web server.

Claims (18)

클라이언트가 서버에 요청신호를 전송하고 이에 대해 서버가 클라이언트에게 응답신호를 전송함으로써 이루어지는 HTTP 접속 방법에 있어서,In the HTTP connection method in which the client sends a request signal to the server and the server sends a response signal to the client, 상기 요청신호에는 클라이언트의 고유ID를 갖는 요청 헤더가 포함되고, 상기 응답신호에는 서버에서 지정하는 대기시간을 갖는 응답 헤더가 포함되며, 상기 HTTP 접속 방법은The request signal includes a request header having a unique ID of the client, the response signal includes a response header having a waiting time specified by the server, and the HTTP access method includes 클라이언트가 상기 요청 헤더를 포함하는 요청신호를 서버에 전송하는 단계,Transmitting, by a client, a request signal including the request header to a server; 서버가 요청을 접수하여 해당 URL을 사용자DB(10)에 저장하는 단계,The server receives the request and stores the URL in the user DB (10), 서버가 상기 응답 헤더를 포함하는 응답신호를 클라이언트에 전송하는 단계,Transmitting, by a server, a response signal including the response header to a client; 클라이언트가 서버로부터의 응답을 수신하는 단계,The client receiving a response from the server, 클라이언트와 서버가 응답 헤더에 포함된 대기시간 동안 연결을 유지하는 단계를 포함하는 HTTP상에서 지속적 접속을 유지하는 방법.A method for maintaining a persistent connection over HTTP, comprising the step of maintaining a connection between the client and server for the latency included in the response header. 청구항 1에서, 클라이언트가 요청신호를 서버에 전송하는 단계 이전에, 소켓버퍼에 데이터가 있는지 체크하여 데이터가 있다면 소켓버퍼를 클리어하는 단계가 추가로 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 1, further comprising checking whether there is data in the socket buffer and clearing the socket buffer if there is data, before the client sends the request signal to the server. 청구항 1에서, 클라이언트가 서버에서 전송한 응답신호를 수신하는 단계에는The method of claim 1, wherein the client receives the response signal sent from the server 서버로부터 콘텐트(content)데이터를 수신하는 단계,Receiving content data from a server, 멈춤버튼이 선택되거나 콘텐트가 종료되었는지 체크하는 단계,Checking whether the stop button is selected or the content has ended, 멈춤버튼이 선택되지 않고 콘텐트가 종료되지 않았을 때에는 계속해서 콘텐트 데이터를 수신하고, 멈춤버튼이 선택되거나 콘텐트가 종료되면 수신데이터를 처리하는 단계가 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.Continuously receiving content data when the stop button is not selected and the content is not terminated, and processing the received data when the stop button is selected or the content is terminated. 청구항 1에서, 대기시간 이전에 새로운 요청이 발생한 경우에는 클라이언트에서 서버로 재요청신호를 전송하는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 1, wherein if a new request occurs before the waiting time, a re-request signal is transmitted from the client to the server. 청구항 1에서, 사용자가 클라이언트에서 브라우저를 종료하는 경우에는, 서버가 대기시간 동안 기다리지 않고 연결을 즉시 끊는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 1, wherein if the user exits the browser on the client, the server immediately disconnects without waiting for a wait time. 청구항 1에서, 클라이언트와 서버의 연결이 종료될 때 마지막으로 성공적으로 브라우징한 URL을 상기 사용자DB(10)에 저장하는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 1, wherein the last successfully browsed URL is stored in the user DB when the connection between the client and the server is terminated. 청구항 1 또는 6에서, 사용자DB(10)에는 적어도 사용자의 ID(Connection_name)와 북마크(Connection_bookmark) 필드가 포함되는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 1 or 6, wherein the user DB (10) includes at least an ID (Connection_name) and a bookmark (Connection_bookmark) field of the user. 청구항 6에서, 클라이언트가 최초로 연결을 시도한 경우는 사용자DB(10)에 저장되어 있는 해당 사용자의 마지막 브라우징 위치를 검색하여 검색결과를 클라이언트로 전송하는 단계가 추가로 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 6, wherein when the client attempts to connect for the first time, the server maintains a persistent connection on HTTP, which further includes searching for the last browsing position of the user stored in the user DB 10 and transmitting a search result to the client. Way. 청구항 8에서, 검색결과는 적어도 사용자가 최근에 요청했던 사이트의 URL과 사용자가 북마크한 사이트의 URL을 포함하고 있는 최초 페이지인 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method of claim 8, wherein the search result is an initial page that includes at least the URL of a site that the user recently requested and the URL of the site that the user bookmarked. 청구항 8에서, 사용자가 최초로 연결하려고 시도한 위치가 사용자DB(10)에 저장된 북마크의 위치와 동일할 경우에는 검색결과를 전송하지 않고 바로 해당 URL로 연결되는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method according to claim 8, wherein if the first attempted connection by the user is the same as the location of the bookmark stored in the user DB 10, the user is connected to the corresponding URL without transmitting a search result. Way. 청구항 1~6, 8~10중 어느 한 항에서, 클라이언트는 이동전화 단말기이고 요청 헤더의 고유ID는 단말기의 전화번호인 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.The method according to any one of claims 1 to 6 and 8 to 10, wherein the client is a mobile telephone terminal and the unique ID of the request header is a telephone number of the terminal. 청구항 7에서, 클라이언트는 이동전화 단말기이고 요청 헤더의 고유ID는 단말기의 전화번호인 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.8. The method of claim 7, wherein the client is a mobile telephone terminal and the unique ID of the request header is the telephone number of the terminal. 청구항 1~6, 10중 어느 한 항에서, 서버가 다수 존재하여 클라이언트와 1차 서버 사이에 지속적 접속이 구성되고, 1차 서버와 2차 서버 사이에 다시 지속적 접속이 구성되는 시스템에 있어서,The system according to any one of claims 1 to 6 and 10, wherein a plurality of servers exist so that a persistent connection is established between the client and the primary server, and a persistent connection is configured again between the primary server and the secondary server. 1차 서버와 2차 서버 사이에서 이루어지는 지속적 접속은 청구항 1~6, 8~10의 어느 한 항에서 이루어지는 클라이언트와 1차 서버 사이에서 이루어지는 단계와 동일하게 진행되고,The continuous connection between the primary server and the secondary server proceeds in the same manner as the steps between the client and the primary server according to any one of claims 1 to 6 and 8 to 10, 사용자DB를 억세스하는 업무는 1차 서버가 수행하는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.A method for maintaining a persistent connection over HTTP, characterized in that the primary server performs the task of accessing the user DB. 청구항 7에서, 서버가 다수 존재하여 클라이언트와 1차 서버 사이에 지속적 접속이 구성되고, 1차 서버와 2차 서버 사이에 다시 지속적 접속이 구성되는 시스템에 있어서,The system of claim 7, wherein a plurality of servers exist such that a persistent connection is configured between the client and the primary server, and a persistent connection is configured again between the primary server and the secondary server. 1차 서버와 2차 서버 사이에서 이루어지는 지속적 접속은 청구항 7에서 이루어지는 클라이언트와 1차 서버 사이에서 이루어지는 단계와 동일하게 진행되고,The persistent connection between the primary server and the secondary server proceeds in the same way as the step between the client and the primary server in claim 7 사용자DB를 억세스하는 업무는 1차 서버가 수행하는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.A method for maintaining a persistent connection over HTTP, characterized in that the primary server performs the task of accessing the user DB. 청구항 8 또는 9에서, 최초 페이지를 작성하는 업무는 1차 서버가 수행하는 것을 특징으로 하는 HTTP상에서 지속적 접속을 유지하는 방법.10. The method of claim 8 or 9, wherein the task of creating the first page is performed by a primary server. 청구항 13에서,In claim 13, 대기시간이 종료된 후에 2차 서버가 연결을 종료하는 단계, 1차 서버가 클라이언트와의 연결을 해제하고 나서 2차 서버와의 접속을 종료하는 단계, 클라이언트가 요청을 보내려는 시점에 연결이 끊어졌음을 감지하는 단계로 이루어지는 연결해제 단계와,After the wait time expires, the secondary server terminates the connection, the primary server disconnects from the client, then terminates the connection with the secondary server, and the client is disconnected when it tries to send a request. Disconnection step of detecting a loss; 클라이언트가 브라우징을 종료하고 연결을 끊은 경우 클라이언트가 연결을 끊는 단계, 1차 서버가 클라이언트가 연결을 끊었음을 감지하고 접속을 해제하고 2차 서버와의 접속도 끊는 단계, 2차 서버가 1차 서버의 접속해제를 감지하고 연결을 끊는 단계로 이루어지는 연결해제 단계가 추가로 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.If the client terminates browsing and disconnects, the client disconnects, the primary server detects that the client has disconnected, disconnects, and disconnects from the secondary server. A method of maintaining a persistent connection over HTTP that includes an additional disconnection step that includes detecting and disconnecting a server. 청구항 14에서,In claim 14, 대기시간이 종료된 후에 2차 서버가 연결을 종료하는 단계, 1차 서버가 클라이언트와의 연결을 해제하고 나서 2차 서버와의 접속을 종료하는 단계, 클라이언트가 요청을 보내려는 시점에 연결이 끊어졌음을 감지하는 단계로 이루어지는 연결해제 단계와,After the wait time expires, the secondary server terminates the connection, the primary server disconnects from the client, then terminates the connection with the secondary server, and the client is disconnected when it tries to send a request. Disconnection step of detecting a loss; 클라이언트가 브라우징을 종료하고 연결을 끊은 경우 클라이언트가 연결을 끊는 단계, 1차 서버가 클라이언트가 연결을 끊었음을 감지하고 접속을 해제하고 2차 서버와의 접속도 끊는 단계, 2차 서버가 1차 서버의 접속해제를 감지하고 연결을 끊는 단계로 이루어지는 연결해제 단계가 추가로 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.If the client terminates browsing and disconnects, the client disconnects, the primary server detects that the client has disconnected, disconnects, and disconnects from the secondary server. A method of maintaining a persistent connection over HTTP that includes an additional disconnection step that includes detecting and disconnecting a server. 청구항 15에서,In claim 15, 대기시간이 종료된 후에 2차 서버가 연결을 종료하는 단계, 1차 서버가 클라이언트와의 연결을 해제하고 나서 2차 서버와의 접속을 종료하는 단계, 클라이언트가 요청을 보내려는 시점에 연결이 끊어졌음을 감지하는 단계로 이루어지는 연결해제 단계와,After the wait time expires, the secondary server terminates the connection, the primary server disconnects from the client, then terminates the connection with the secondary server, and the client is disconnected when it tries to send a request. Disconnection step of detecting a loss; 클라이언트가 브라우징을 종료하고 연결을 끊은 경우 클라이언트가 연결을 끊는 단계, 1차 서버가 클라이언트가 연결을 끊었음을 감지하고 접속을 해제하고 2차 서버와의 접속도 끊는 단계, 2차 서버가 1차 서버의 접속해제를 감지하고 연결을 끊는 단계로 이루어지는 연결해제 단계가 추가로 포함되는 HTTP상에서 지속적 접속을 유지하는 방법.If the client terminates browsing and disconnects, the client disconnects, the primary server detects that the client has disconnected, disconnects, and disconnects from the secondary server. A method of maintaining a persistent connection over HTTP that includes an additional disconnection step that includes detecting and disconnecting a server.
KR1020000035586A 2000-06-27 2000-06-27 Method of keeping persistent connection in hypertext transfer protocol HTTP KR20020003695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000035586A KR20020003695A (en) 2000-06-27 2000-06-27 Method of keeping persistent connection in hypertext transfer protocol HTTP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000035586A KR20020003695A (en) 2000-06-27 2000-06-27 Method of keeping persistent connection in hypertext transfer protocol HTTP

Publications (1)

Publication Number Publication Date
KR20020003695A true KR20020003695A (en) 2002-01-15

Family

ID=19674127

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000035586A KR20020003695A (en) 2000-06-27 2000-06-27 Method of keeping persistent connection in hypertext transfer protocol HTTP

Country Status (1)

Country Link
KR (1) KR20020003695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902449B (en) * 2009-05-31 2013-08-07 友益(Ux)有限公司 Computer implementation method and system for persistent HTTP connection between network devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902449B (en) * 2009-05-31 2013-08-07 友益(Ux)有限公司 Computer implementation method and system for persistent HTTP connection between network devices

Similar Documents

Publication Publication Date Title
US6996622B2 (en) Session managing method, session managing system, and program
JP4041217B2 (en) Server-side asynchronous form management method and apparatus
JP3774807B2 (en) Distributed systems and how to prefetch objects
US8380855B2 (en) HTTP header intermediary for enabling session-based dynamic site searches
CN1135489C (en) Method and system for transmitting cookie information
US6606645B1 (en) Method for preconnecting to a server on a network
US10356153B2 (en) Transferring session data between network applications accessible via different DNS domains
US20080034036A1 (en) Proxy server apparatus and method for providing service using the same
US20020026460A1 (en) Reduction of meta data in a network
US8984164B2 (en) Methods for reducing latency in network connections and systems thereof
WO1999066385A2 (en) Scalable proxy servers with plug in filters
US8868638B2 (en) Methods for reducing latency in network connections using automatic redirects and systems thereof
CN102783119A (en) Access control method and system, and access terminal
US7054618B1 (en) Method of registering a communication device with a proxy server based service
EP2677723B1 (en) Cookie-based browser identification and tracking
CN1631018B (en) Method and apparatus to retrieve information in a network
KR20020003695A (en) Method of keeping persistent connection in hypertext transfer protocol HTTP
WO2001089170A2 (en) Method for state preservation in http-based communications
CN106919600A (en) One kind failure network address access method and terminal
WO2018028345A1 (en) Method and apparatus for detecting access path
US20040015484A1 (en) Client context-aware proxy server system
KR100346788B1 (en) Proxy Server for interworking between native ATM WWW Browser and Internet WWW Server and Method for interworking WWW Service using the same
KR100421122B1 (en) The method of providing the data synchronization for personal information terminal
KR100313847B1 (en) Internet service apparatus and method using bookmark
CN109600452A (en) Server cluster, information push method and associated server

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application