KR100309785B1 - Method of data transference between servers using cgi program - Google Patents

Method of data transference between servers using cgi program Download PDF

Info

Publication number
KR100309785B1
KR100309785B1 KR1019980013101A KR19980013101A KR100309785B1 KR 100309785 B1 KR100309785 B1 KR 100309785B1 KR 1019980013101 A KR1019980013101 A KR 1019980013101A KR 19980013101 A KR19980013101 A KR 19980013101A KR 100309785 B1 KR100309785 B1 KR 100309785B1
Authority
KR
South Korea
Prior art keywords
cgi
data
server
web
gateway interface
Prior art date
Application number
KR1019980013101A
Other languages
Korean (ko)
Other versions
KR19990080100A (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 KR1019980013101A priority Critical patent/KR100309785B1/en
Publication of KR19990080100A publication Critical patent/KR19990080100A/en
Application granted granted Critical
Publication of KR100309785B1 publication Critical patent/KR100309785B1/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Abstract

PURPOSE: A method for transmitting data among multi-servers using a CGI(Common Gateway Interface) program is provided to make the multi-step information access among multi-servers on a web and to reduce the frequency of authentication of a web server. CONSTITUTION: The method comprises the steps of a web server confirming an authentication of web client as the web client requests data to the web server(302), a CGI program of web server judging that the request is a simple request of data by parsing the parameter value of CGI in a HTML(HyperText Markup Language) statement(304), the CGI program transmitting the processed data to the web client in case of the simple request(308), and the CGI program transmitting the HTML statement converting the parameter value of CGI into a variable to another lower web server including the URL(Uniform Resource Locator) address in case of the CGI processed data request including the Internet URL assigning a lower server(310).

Description

공통 게이트웨이 인터페이스 프로그램을 이용한 멀티 서버간 자료 전송 방법{Method of data transference between servers using cgi program}Method of data transfer between multiple servers using common gateway interface program {Method of data transference between servers using cgi program}

본 발명은 웹 클라이언트 및 웹 서버 상에서 공통 게이트웨이 인터페이스(Common Gateway Interface)(이하, "CGI"라 함) 프로그램을 이용한 멀티서버간의 자료 전송 방법에 관한 것이다.The present invention relates to a data transmission method between multiple servers using a common gateway interface (hereinafter referred to as "CGI") program on a web client and a web server.

웹(World Wide Web)이 널리 보급됨에 따라서 웹 서버가 인터넷 홈페이지 구축을 위해서 이용되거나 사내용 인트라넷을 위해 이용되고 있다. 웹 서비스에서는 웹 클라이언트에 브라우저 프로그램만을 설치하며, 하이퍼텍스트 전송 프로토콜(HyperText Transfer Protocol)(이하, "HTTP"라 함)을 이용하여 웹 서버에 있는 하이퍼텍스트 마크업 언어(HyperText Markup Language)(이하, "HTML"이라 함) 또는 웹 클라이언트용 소프트웨어를 처리할 수 있도록 하였다.With the widespread use of the World Wide Web, web servers are being used to build Internet homepages or for intra-company intranets. The web service installs only a browser program on the web client and uses the HyperText Transfer Protocol (hereinafter referred to as "HTTP") to display the HyperText Markup Language on the web server. "HTML") or web client software.

한편, 기존의 클라이언트-서버 모델에서는 각각의 프로그램마다 통신 모듈을 별도로 구현하여 실행 프로그램을 만들었으나 웹 모델에서는 각각의 응용 프로그램이 통신 모듈을 갖지 않아도 웹 서버와 브라우저에서 갖고 있는 HTTP를 이용하여 원할한 통신이 가능하게 되었다.On the other hand, in the existing client-server model, an execution program was created by separately implementing a communication module for each program. However, in the web model, even if each application program does not have a communication module, it is possible to use HTTP that a web server and a browser have. Communication is possible.

웹에서 사용되는 HTTP의 기본 개념은 하이퍼텍스트에 의한 정보를 계속적으로 찾아 가는 것이고, 웹 서비스의 기본 개념은 웹 서버에서 정보를 가져온 후에 비연결 상태를 유지하여 서버의 부하를 줄이는 것이다. 따라서, 연결마다 유니폼 자원 판별자(Uniform Resoure Locator)(이하, "URL"이라 함) 주소를 연결하여야 하고, 멀티 서버에서 하나의 웹 서버를 통하여 연계된 정보를 가져올 수 없는 문제점이 있었다.The basic concept of HTTP used on the web is to continuously search for information by hypertext, and the basic concept of web service is to reduce the load on the server by maintaining connectionlessness after retrieving the information from the web server. Therefore, a uniform resource identifier (hereinafter referred to as a "URL") address must be connected to each connection, and there is a problem in that multiple servers cannot obtain associated information through one web server.

여기서, 이전에 방문했던 부분을 재인증하지 않는 것은 쿠키(Cookie)라는 기술을 이용하여 브라우저안에 정보를 남겨놓았기 때문에 한번 접속하면 계속 연결되어 있기 때문이다.In this case, the reason for not re-authenticating the previously visited part is that since the information is left in the browser using a technology called Cookie, it is connected once connected.

도 1 은 종래의 자료 전송 시스템의 구성도이다.1 is a block diagram of a conventional data transmission system.

도면에 도시된 바와 같이, 웹 클라이언트(101)는 웹 브라우저를 이용하여 웹 서버(103)의 프로그램과 HTTP로 통신 채널을 연결하여 자료를 요청하며, 요청 과정에서 HTML의 앵커(Anchor)로 연결 웹 서버(103)를 지정한다. 전술한 바와 같이, 웹 클라이언트(101)는 웹 서버(103)를 앵커로 필요에 따라 연결하고 있음을 나타내고 있다.As shown in the figure, the web client 101 requests data by connecting a communication channel with a program of the web server 103 by HTTP using a web browser, and connects to an anchor of HTML in the request process. Specify server 103. As described above, the web client 101 indicates that the web server 103 is connected to the anchor as needed.

또한, 종래에 웹으로 연결된 멀티 서버상에서 자료를 전송하는 방법에서는, 단순 HTML과 CGI만으로는 기능 원리상 불가능(왜냐하면, 결과를 받아보려는 화면이 첫 번째 서버의 화면내에서 두 번째 이하의 서버에 있는 내용물을 조합하여 보여주는 방식이 기존에 없었기 때문)하고, 데이터베이스 관리시스템(DBMS : Database Management System)을 바탕으로 한 계층적인 멀티 서버상에서 DB Link 기술을 이용하여 데이터 수준에서만 연동이 가능한 방법이 있는데, 이는 웹 서버에 웹 응용 프로그램을 개발하고, 하부 구조로 붙는 웹 서버에 데이터베이스 관리 시스템 연결(DBMS Connection) 소프트웨어를 별도로 설정함으로써 데이터베이스를 복합적으로 서비스할 수 있지만, 웹 서버에 데이터베이스 관리 시스템 연결 소프트웨어를 별도로 설정하여야 하는 문제점이 있었다.Also, in the conventional method of transmitting data on a web-connected multi-server, simple HTML and CGI alone are impossible in principle (because the screen to receive the result is the contents of the second server or less within the screen of the first server). ), And there is a method that can be linked only at the data level using DB Link technology on a hierarchical multi-server based on a database management system (DBMS). The database can be serviced by developing a web application on a server and separately setting up database management system connection software on a web server that is attached to an infrastructure. However, the database management system connection software must be separately set up on a web server. There was a problem.

따라서, 상기와 같은 문제점을 해결하기 위하여 제안된 본 발명은, CGI 프로그램을 이용하여 HTML 문장 구성 요소인 앵커(Anchor)의 값을 CGI 파라미터에서 변동시켜 클라이언트는 단일 서버에 접근하는 것처럼 보이지만 실제 수행되는 데이터 결과값은 계층적으로 구성된 멀티 서버상에서 수집하여 하나의 화면에 뿌려주는 역할과 반대로 멀티 서버에 데이터를 수정 가공하는 기능을 부여하여 웹상의 멀티 서버간의 다단계 정보 접근을 용이하게 할 수 있고, 인증 기능이 있는 웹 서버에 대해서 사용자 인증 횟수를 줄일 수 있는 멀티 서버간의 자료 전송 방법을 제공하는데 그 목적이 있다.Therefore, the present invention proposed to solve the above problems, by changing the value of the anchor (Anchor), which is an HTML sentence component using the CGI program in the CGI parameters, the client appears to access a single server, but is actually performed Data result values are collected on hierarchical multi-servers and sprayed on a single screen, while contributing the ability to modify and process data on multi-servers to facilitate multi-level information access between multi-servers on the web. Its purpose is to provide a data transfer method between multiple servers that can reduce the number of user authentications.

도 1 은 종래의 자료 전송 시스템의 구성도.1 is a block diagram of a conventional data transmission system.

도 2 는 본 발명이 적용되는 멀티 서버간 자료 전송 시스템의 구성 예시도.2 is an exemplary configuration diagram of a data transmission system between multiple servers to which the present invention is applied.

도 3 은 본 발명에 따른 멀티 서버간 자료 전송 방법에 대한 일실시예 흐름도.3 is a flowchart illustrating an embodiment of a method for transmitting data between multiple servers according to the present invention.

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

101, 201 : 웹 클라이언트 102, 202 : 응용 프로그램101, 201: web client 102, 202: application

103, 203 : 웹 서버 104, 204 : CGI 프로그램103, 203: web server 104, 204: CGI program

상기의 목적을 달성하기 위한 본 발명의 방법은, 계층적으로 구성된 멀티 서버간 자료 전송 시스템에 적용되는 자료 전송 방법에 있어서, 웹 클라이언트가 웹 서버로 자료를 요구하여, 상기 웹 서버가 상기 웹 클라이언트에 대해 사용자 인증을 확인하는 제 1 단계; 인증된 사용자에 대해, 상기 웹 서버의 공통 게이트웨이 인터페이스(CGI) 프로그램이 하이퍼텍스트 마크업 언어(HTML) 문장에서 공통 게이트웨이 인터페이스(CGI) 파라미터값을 파싱하여 단순 데이터 요구 사항인지를 판단하는 제 2 단계; 상기 제 2 단계의 판단 결과, 단순 데이터 요구 사항이면 상기 공통 게이트웨이 인터페이스(CGI) 프로그램이 데이터를 가공하여 상기 웹 클라이언트로 가공된 데이터를 전송하는 제 3 단계; 및 상기 제 2 단계의 판단 결과, 하위 서버를 지정하는 인터넷 주소(URL)를 포함하는 공통 게이트웨이 인터페이스(CGI) 처리 데이터 요구 사항(타 웹 서버로의 데이터 요구 사항)이면, 상기 공통 게이트웨이 인터페이스(CGI) 프로그램이 공통 게이트웨이 인터페이스(CGI) 파라미터값을 변수화하여 변수화된 하이퍼텍스트 마크업 언어(HTML) 문장을 인터넷 주소(URL)를 포함하는 하위 타 웹 서버로 전송하는 제 4 단계를 포함한다.In the method of the present invention for achieving the above object, in a data transmission method applied to a multi-server data transmission system hierarchically configured, a web client requests data from a web server, and the web server requests the web client. Verifying user authentication for the first step; A second step for the authenticated user, whether the common gateway interface (CGI) program of the web server parses the common gateway interface (CGI) parameter value in a hypertext markup language (HTML) sentence to determine whether it is a simple data requirement; ; A third step of processing the data by the common gateway interface (CGI) program and transmitting the processed data to the web client if it is a simple data requirement as a result of the determination of the second step; And a common gateway interface (CGI) processing data requirement (data requirement to another web server) including an internet address (URL) designating a lower server as a result of the determination in the second step. The fourth step of the program parameterizing the common gateway interface (CGI) parameter value to transmit the variable hypertext markup language (HTML) sentence to the other web server including the Internet address (URL).

본 발명은 CGI를 이용하여 웹상에서 다단계 정보접근 방법을 제시하는 것으로, CGI를 이용하여 HTML 문장 구성 요소인 앵커(Anchor)의 값을 변동시킨다. 즉, HTML 프로토콜을 정보 전달에 활용하기 위해 웹 서버를 사용하고, 원격 웹 서버로 자료 처리에 필요한 데이터를 보내서 원격 웹 서버에 있는 CGI 프로그램의 수행 결과를 받는 방법을 사용함으로써 웹 서버를 다단계 멀티 서버 전산 환경에 활용할 수 있다.The present invention proposes a multi-level information access method on the web using CGI, and changes the value of an anchor, which is an HTML sentence component, using CGI. In other words, the web server is multi-level multi-server by using the web server to utilize the HTML protocol for information transfer and sending the data necessary for data processing to the remote web server and receiving the result of the execution of the CGI program on the remote web server. It can be used for computing environment.

즉, 본 발명은 CGI 프로그램을 이용하여 HTML 문장 구성 요소인 앵커(Anchor)의 값을 CGI 파라미터에서 변동시켜 클라이언트는 단일 서버에 접근하는 것처럼 보이지만 실제 수행되는 데이터 결과값은 계층적으로 구성된 멀티 서버상에서 수집하여 하나의 화면에 뿌려주는 역할과 반대로 멀티 서버에 데이터를 수정 가공하는 기능을 부여하여 웹상의 멀티 서버간의 다단계 정보 접근을 용이하게 할 수 있고, 인증 기능이 있는 웹 서버에 대해서 사용자 인증 횟수를 줄일 수 있다.That is, the present invention changes the value of an anchor, which is an HTML sentence component, in a CGI parameter by using a CGI program, but the client appears to access a single server, but the actual result of the data is executed in a hierarchically configured multi-server. Contrary to the role of collecting and sprinkling on a single screen, multi-server data can be modified and processed to facilitate multi-level information access between multiple servers on the web. Can be reduced.

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

도 2 는 본 발명이 적용되는 멀티 서버간 자료 전송 시스템의 구성 예시도이다.2 is an exemplary configuration diagram of a data transmission system between multiple servers to which the present invention is applied.

도 2에 도시된 바와 같이, 웹 클라이언트(201)가 웹 서버(203)로 자료를 요구하면 웹 서버(203)가 웹 클라이언트(201)의 사용자가 정당한 사람인지 확인하기 위하여 사용자 인증 과정을 수행한다.As shown in FIG. 2, when the web client 201 requests data from the web server 203, the web server 203 performs a user authentication process to confirm whether the user of the web client 201 is a legitimate person. .

이후, 인증 과정을 통과한 사용자의 요구를 웹 서버(203)에게 전달하며, 웹 서버(203)는 사용자의 요구가 단순 HTML인지 또는 하위 서버를 지정하는 URL을 포함하는 CGI인지를 판별하여 단순 HTML이면 웹 클라이언트(201)에게 자료를 전송하고, CGI이면 CGI 프로그램(204)은 파라미터값을 확인한다.Thereafter, the request of the user who passed the authentication process is transmitted to the web server 203. The web server 203 determines whether the user's request is simple HTML or CGI including a URL specifying a subordinate server. If it is, the data is transmitted to the web client 201, and if it is CGI, the CGI program 204 checks the parameter value.

다음으로, 단순 데이터 요구 사항이면 CGI 프로그램(204)이 데이터를 가공하여 웹 클라이언트(201)로 전송하고, 단순 데이터 요구 사항이 아니면 CGI 프로그램(204)이 HTML 문장에서 CGI 파라미터값을 변수화시켜 변수화된 HTML 문장을 다른 웹 서버로 전송한다.Next, if it is a simple data requirement, the CGI program 204 processes the data and sends it to the web client 201, and if it is not a simple data requirement, the CGI program 204 variables the CGI parameter value in the HTML statement to be variable. Send HTML statements to another web server.

CGI 변수 처리 방법은 다음과 같다. 일반 CGI는 GET과 POST 방식으로 데이터를 주고 받는다.The following describes how to handle CGI variables. Normal CGI sends and receives data by GET and POST method.

가. GET 방식의 CGI 적용 포맷(예)end. GET CGI Format (Example)

<FORM target=mybody ACTION="http://www.kt.co.kr/~infop/wcgi.cgi?K=$K&U =$U&ADDR=$ADDR" METHOD=GET NAME="SearchForm" onSubmit="return checkValue(this);"><FORM target = mybody ACTION = "http://www.kt.co.kr/~infop/wcgi.cgi?K=$K&U = $ U & ADDR = $ ADDR" METHOD = GET NAME = "SearchForm" onSubmit = "return checkValue (this); ">

나. POST 방식의 CGI 적용 포맷(예)I. POST-based CGI format (example)

<FORM METHOD=POST ACTION="HTTP://147.6.1.5/work/guest.cgi"><FORM METHOD = POST ACTION = "HTTP://147.6.1.5/work/guest.cgi">

<INPUT TYPE=HIDDEN NAME="ID" VALUE="GUEST"><INPUT TYPE = HIDDEN NAME = "ID" VALUE = "GUEST">

성 명 : <INPUT TYPE=TEXT NAME="USERNAME" SIZE=15><BR>Name: <INPUT TYPE = TEXT NAME = "USERNAME" SIZE = 15> <BR>

웹의 특징인 HTTP는 지속적인 연결상태를 유지하지 못한다. 이전에 방문했던 부분을 재인증하지 않는 것은 쿠키(Cookie)라는 기술을 이용하여 브라우저 안에 정보를 남겨놓았기 때문에 한번 접속하면 계속 연결되어 있는 것으로 보인다.HTTP, a feature of the web, cannot maintain a persistent connection. Not re-authenticating previously visited portions of the browser using a technology called Cookie, which leaves the information in the browser, so it appears to be connected once connected.

상기 (가) 항의 wcgi.cgi나 상기 (나) 항의 guest.cgi 같은 경우 일반 CGI 기능을 수행하는 것으로서, 상기 (가) 항의 경우 변수 K, U, ADDR에 대하여 변수값 $K, $U, $ADDR 값을 받아 처리하고, 상기 (나) 항의 경우 변수 ID, USERNAME에 대하여 변수값 GUEST와 화면으로부터 입력받을 Text를 처리하는 기능을 갖는다.In the case of wcgi.cgi in paragraph (a) or guest.cgi in paragraph (b), it performs general CGI functions, and in case of (a), variable values $ K, $ U, $ for variables K, U, and ADDR. The ADDR value is received and processed, and in the case of (b), the variable value GUEST and the text to be input from the screen are processed for the variable ID and the user name.

상기의 예에서 변수에 대한 변수 K, U, ADDR, ID, USERNAME들을 타서버의 값으로 치환하는 것은 변수값에 URL 값을 대입하는 방법과 CGI 프로그램 내에서 일련의 과정을 거치면서 변수값을 생성하는 방법이 있다. 타서버의 변수값으로 아래와 같은 작업을 수행한다. CGI 프로그램 내에서 생성하는 방법은 스트링 처리 방식으로 변수 하나에 스트링 조작을 하여 아래의 예 값을 변경하여 변수에 대입하는 방식이다.In the above example, substituting the variables K, U, ADDR, ID, and USERNAMEs for the variable with the value of another server creates a variable value by assigning a URL value to the variable value and through a series of processes in the CGI program. There is a way. Perform the following as a variable value of another server. In the CGI program, the method of creating a string is a string manipulation method, in which a string is manipulated in one variable, and the following example value is changed and assigned to the variable.

하위 서버 CGI 값이 하기와 같을 때,When the lower server CGI value is

<FORM NAME="DT"ACTION="http://147.6.10.10/~hh/app.cgi?sys=rd&pid=kt_doci.html" METHOD=GET><FORM NAME = "DT" ACTION = "http://147.6.10.10/~hh/app.cgi?sys=rd&pid=kt_doci.html" METHOD = GET>

멀티서버 주소에서의 하위서버의 내용을 포함하는 전체 HTML 결과 요청 문장은 다음과 같다.The full HTML result request statement, including the contents of the subserver at the multiserver address, looks like this:

<FORM target=mybody ACTION="http://www.kt.co.kr/~infop/wcgi.cgi?K=$K&U=$U&ADDR=$ADDR(http://147.6.10.10/~hh/app.cgi?sys=rd&pid=kt_doci.html)" METHOD=GET NAME="SearchForm" onSubmit="return checkValue(this);"><FORM target = mybody ACTION = "http://www.kt.co.kr/~infop/wcgi.cgi?K=$K&U=$U&ADDR=$ADDR(http://147.6.10.10/~hh/app .cgi? sys = rd & pid = kt_doci.html) "METHOD = GET NAME =" SearchForm "onSubmit =" return checkValue (this); ">

ADDR=<FORM NAME="DT" ACTION="http://147.6.10.10/~hh/app.cgi?sys=rd&pid=kt_doci.html" METHOD=GET>ADDR = <FORM NAME = "DT" ACTION = "http://147.6.10.10/~hh/app.cgi?sys=rd&pid=kt_doci.html" METHOD = GET>

CGI 기능은 타서버 URL 값을 받은 첫 번째 서버의 CGI 프로그램은 두 번째 서버 이하의 URL에서 CGI 조작처리에 의한 HTML 값을 생성하여 첫 번째 서버의 CGI의 응답인 HTML내에 표시한다.In CGI function, CGI program of the first server that receives other server URL value generates HTML value by CGI manipulation process from URL below the second server and displays it in HTML that is response of CGI of first server.

첫 번째 서버와 두 번째 이하의 하위 서버간 데이터를 주고받기 위한 동작이 클라이언트와 상관없이 서버간에 첫 번째 CGI를 통해서 진행된다. 첫 번째 서버의 CGI는 두 번째 서버이하에서의 HTML 데이터 생성을 위한 홀딩시간을 체크하는 기능을 갖고 있다.The operation for exchanging data between the first server and the second subordinate server is performed through the first CGI between the servers regardless of the client. The CGI of the first server has a function to check the holding time for generating HTML data below the second server.

결과적으로, CGI 프로그램은 판단 기능을 갖는 파싱 기능을 가지면서 타서버의 링크 정보를 변수값으로 치환하는 것과 같이 ADDR을 파싱하여 주소 부분을 파싱하여 통신상태 설정 및 멀티서버간 자료 교환하는 기능을 갖고 있다.As a result, the CGI program has a function of parsing ADDR and parsing the address part such as replacing the link information of another server with a variable value while having a parsing function having a judging function to set communication status and exchange data between multiple servers. have.

따라서, 상기의 방식을 단계적으로 적용하면 또 다른 웹 서버에 대해 CGI 프로그램을 이용하여 접근할 수 있기 때문에 멀티 서버상에서 자료의 접근을 단계적으로 처리할 수 있다.Therefore, if the above method is applied step by step, another web server can be accessed using a CGI program, and thus data access can be processed step by step on a multi-server.

도 3 은 본 발명에 따른 멀티 서버간 자료 전송 방법에 대한 일실시예 흐름도이다.3 is a flowchart illustrating an embodiment of a method for transmitting data between multiple servers according to the present invention.

도 3에 도시된 바와 같이, 웹 클라이언트가 URL을 이용하여 웹 서버로 연결을 설정하여 지료를 요구한다(301).As shown in FIG. 3, the web client establishes a connection to the web server using a URL and requests for termination (301).

이후, 자료를 요구한 웹 클라이언트에 대해 사용자 인증 확인이 되었는지를 판단하여(302) 인증 확인이 되지 않았다면 연결 설정을 해제하며(303), 사용자 인증 확인이 되었다면 자료 요구의 HTML 문장이 단순 HTML인지 또는 CGI인지를 판단하여(304) 단순 HTML이면 웹 서버가 클라이언트에 해당 자료를 전송하고(305), 하위 계층의 URL을 포함하는 CGI이면 상위 서버의 CGI 프로그램은 CGI 파라미터값을 확인한다(306).After that, it is determined whether the user authentication is confirmed for the web client requesting the data (302), and if the authentication is not confirmed, the connection is released (303). If the user authentication is confirmed, the HTML sentence of the data request is simple HTML or If it is CGI (304), if it is simple HTML, the web server transmits the data to the client (305). If it is CGI including the URL of the lower layer, the CGI program of the upper server checks the CGI parameter value (306).

이어서, 단순 데이터 요구 사항인지를 판단하여(307), 단순 데이터 요구 사항이면 CGI 프로그램이 데이터를 가공하여 웹 클라이언트로 가공된 데이터를 전송하고(308), 하위 서버를 지정하는 URL을 포함하는 CGI 처리 데이터 요구 사항이면 CGI 프로그램이 CGI 파라미터값을 변수화한다(309).Subsequently, it is determined whether it is a simple data requirement (307), and if it is a simple data requirement, the CGI program processes the data and transmits the processed data to the web client (308), and the CGI processing including a URL specifying a subordinate server. If it is a data requirement, the CGI program variables the CGI parameter values (309).

다음으로, CGI 프로그램이 타 웹 서버와 연결을 설정하여 변수화된 HTML 문장을 타 웹 서버로 전송하고(310), 타 웹 서버는 전송된 자료 요구의 HTML 문장이 단순 HTML인지 또는 CGI인지를 판단하는 과정부터 반복 수행한다.Next, the CGI program establishes a connection with another web server to transmit the variable HTML sentence to another web server (310), and the other web server determines whether the HTML sentence of the transmitted data request is simple HTML or CGI. Repeat from the beginning.

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

그러므로, 전술한 바와 같은 본 발명은, 인트라넷과 같은 폐쇄 그룹의 대규모 사업장에서 분산화된 전산 환경을 집중화된 데이터 관리 시스템으로 활용할 수 있을 뿐만 아니라 웹 서버 인증을 별도로 설치하지 않고도 싱글-사인-온(Single-Sign-On) 방식을 구현할 수 있고, CGI 프로그램을 이용하여 계층적으로 분산화된 환경에서 여러 가지 서비스를 변경할 수 있으므로 데이터를 가공하여 가공된 데이터를 제공할 수 있는 효과가 있다.Therefore, the present invention as described above can not only utilize a distributed computing environment as a centralized data management system in a large-scale enterprise in a closed group such as an intranet, but also single-sign-on without installing web server authentication separately. -Sign-On) can be implemented, and various services can be changed in a hierarchically distributed environment using a CGI program, thereby processing the data and providing the processed data.

Claims (2)

계층적으로 구성된 멀티 서버간 자료 전송 시스템에 적용되는 자료 전송 방법에 있어서,In the data transmission method applied to hierarchically configured data transmission system between multiple servers, 웹 클라이언트가 웹 서버로 자료를 요구하여, 상기 웹 서버가 상기 웹 클라이언트에 대해 사용자 인증을 확인하는 제 1 단계;A first step wherein a web client requests data from a web server, the web server confirming user authentication with the web client; 인증된 사용자에 대해, 상기 웹 서버의 공통 게이트웨이 인터페이스(CGI) 프로그램이 하이퍼텍스트 마크업 언어(HTML) 문장에서 공통 게이트웨이 인터페이스(CGI) 파라미터값을 파싱하여 단순 데이터 요구 사항인지를 판단하는 제 2 단계;A second step for the authenticated user, whether the common gateway interface (CGI) program of the web server parses the common gateway interface (CGI) parameter value in a hypertext markup language (HTML) sentence to determine whether it is a simple data requirement; ; 상기 제 2 단계의 판단 결과, 단순 데이터 요구 사항이면 상기 공통 게이트웨이 인터페이스(CGI) 프로그램이 데이터를 가공하여 상기 웹 클라이언트로 가공된 데이터를 전송하는 제 3 단계; 및A third step of processing the data by the common gateway interface (CGI) program and transmitting the processed data to the web client if it is a simple data requirement as a result of the determination of the second step; And 상기 제 2 단계의 판단 결과, 하위 서버를 지정하는 인터넷 주소(URL)를 포함하는 공통 게이트웨이 인터페이스(CGI) 처리 데이터 요구 사항(타 웹 서버로의 데이터 요구 사항)이면, 상기 공통 게이트웨이 인터페이스(CGI) 프로그램이 공통 게이트웨이 인터페이스(CGI) 파라미터값을 변수화하여 변수화된 하이퍼텍스트 마크업 언어(HTML) 문장을 인터넷 주소(URL)를 포함하는 하위 타 웹 서버로 전송하는 제 4 단계If the determination result of the second step is a common gateway interface (CGI) processing data requirement (data requirement to another web server) including an Internet address (URL) for designating a lower server, the common gateway interface (CGI). The fourth step of the program parameterizing the common gateway interface (CGI) parameter value and transmitting the variable hypertext markup language (HTML) sentence to the other web server including the Internet address (URL). 를 포함하는 공통 게이트웨이 인터페이스 프로그램을 이용한 멀티 서버간 자료 전송 방법.Data transmission method between the multi-server using a common gateway interface program comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 자료 요구의 하이퍼텍스트 마크업 언어(HTML) 문장이 단순 하이퍼텍스트 마크업 언어(HTML)인지 혹은 공통 게이트웨이 인터페이스(CGI)인지 판단하는 제 5 단계;A fifth step of determining whether the hypertext markup language (HTML) sentence of the material request is a simple hypertext markup language (HTML) or a common gateway interface (CGI); 상기 제 5 단계의 판단 결과, 단순 하이퍼텍스트 마크업 언어(HTML)이면, 상기 웹 서버가 상기 웹 클라이언트에 해당 자료를 전송하는 제 6 단계; 및A sixth step of transmitting, by the web server, the material to the web client if it is a simple hypertext markup language (HTML); And 상기 제 5 단계의 판단 결과, 공통 게이트웨이 인터페이스(CGI)이면, 상기 공통 게이트웨이 인터페이스(CGI) 프로그램이 상기 공통 게이트웨이 인터페이스(CGI) 파라미터값을 확인한 후에 단순 데이터 요구 사항인지를 판단하는 제 7 단계A seventh step of determining whether the common gateway interface (CGI) is a simple data requirement after the common gateway interface (CGI) program checks the common gateway interface (CGI) parameter value if the determination result of the fifth step is a common gateway interface (CGI); 를 포함하는 공통 게이트웨이 인터페이스 프로그램을 이용한 멀티 서버간 자료 전송 방법.Data transmission method between the multi-server using a common gateway interface program comprising a.
KR1019980013101A 1998-04-13 1998-04-13 Method of data transference between servers using cgi program KR100309785B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980013101A KR100309785B1 (en) 1998-04-13 1998-04-13 Method of data transference between servers using cgi program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980013101A KR100309785B1 (en) 1998-04-13 1998-04-13 Method of data transference between servers using cgi program

Publications (2)

Publication Number Publication Date
KR19990080100A KR19990080100A (en) 1999-11-05
KR100309785B1 true KR100309785B1 (en) 2001-11-30

Family

ID=37530851

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980013101A KR100309785B1 (en) 1998-04-13 1998-04-13 Method of data transference between servers using cgi program

Country Status (1)

Country Link
KR (1) KR100309785B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100531169B1 (en) * 1999-12-31 2005-11-28 주식회사 케이티 Method for internetworking between icis and tims

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970072809A (en) * 1996-04-15 1997-11-07 양승택 A file transfer method using a common gateway interface (CGI) on a web browser

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970072809A (en) * 1996-04-15 1997-11-07 양승택 A file transfer method using a common gateway interface (CGI) on a web browser

Also Published As

Publication number Publication date
KR19990080100A (en) 1999-11-05

Similar Documents

Publication Publication Date Title
EP1483671B1 (en) Provisioning aggregated services in a distributed computing environment
US8127019B2 (en) System and program product for session sharing
EP1141828B1 (en) An apparatus and method for determining a program neighborhood for a client node in a client-server network
US8510754B1 (en) Shared persistent objects
US7496953B2 (en) Single sign-on method for web-based applications
KR100288490B1 (en) Preserving state in stateless network protocols
US8250462B2 (en) Method and system of fulfilling requests for information from a network client
US20020156905A1 (en) System for logging on to servers through a portal computer
JP2002334056A (en) System and method for executing log-in in behalf of user
US7421731B2 (en) Transparent authentication using an authentication server
KR19990067537A (en) Method and apparatus for creating interactive hypermedia
US7979900B2 (en) Method and system for logging into and providing access to a computer system via a communication network
Ju et al. An efficient and lightweight embedded Web server for Web‐based network element management
US20020161901A1 (en) System for communicating with servers using message definitions
US6785705B1 (en) Method and apparatus for proxy chaining
JP2003162449A (en) Integrated access management system, integrated access management device and its method and program
KR100309785B1 (en) Method of data transference between servers using cgi program
JP2000106552A (en) Authentication method
Domel Mobile Telescript agents and the Web
KR100278294B1 (en) How to link client / server environment system with web environment system
JPH11167535A (en) Program distribution method
KR100261861B1 (en) Method for unifying access to multi-servers using ya-http
KR20030054859A (en) User Connection Confirm Method of Web Server
IL143762A (en) Apparatus and method for determining a program neighborhood for a client node in a client-server network
JP2002099477A (en) Real time distribution method of http contents

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120904

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20130904

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee