이하에서는 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 광고 제공 시스템 및 방법에 대해서 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail with respect to the advertisement providing system and method according to an embodiment of the present invention.
도 1은 본 발명의 일 실시예에 따른 광고 제공 시스템의 구성을 개략적으로 보인 도면이다.1 is a view schematically showing the configuration of an advertisement providing system according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 광고 제공 시스템은 단말기(10), 패킷 게이트웨이(20), 미러링 서버(30), 광고 서버(50), 인증·과금 서버(40), 과금 정산 서버(60), 웹 서버(70) 등을 포함하여 이루어진다.1, the advertisement providing system according to an embodiment of the present invention, the terminal 10, the packet gateway 20, the mirroring server 30, the advertising server 50, the authentication / billing server 40, billing It includes a settlement server 60, a web server 70 and the like.
이와 같은 구성에 있어서, 단말기(10)는 무선 인터넷 서비스를 제공받기 위해 사용자가 웹 브라우저를 통해 특정 웹 사이트 접속을 요청하면, 패킷 게이트웨이(20)로 TCP(Transmission Control Protocol) 연결 요청 메시지를 전송한다.In such a configuration, the terminal 10 transmits a Transmission Control Protocol (TCP) connection request message to the packet gateway 20 when the user requests a specific web site connection through a web browser in order to receive a wireless Internet service. .
이와 같이, 패킷 게이트웨이(20)로 TCP 연결 요청 메시지를 전송한 후, 그에 대한 응답으로 패킷 게이트웨이(20)로부터 TCP 연결 응답 메시지를 수신하여 웹 서버(70)와 TCP 세션 연결을 설정한 단말기(10)는 패킷 게이트웨이(20)로 사용자가 요청한 웹 페이지를 요청하는 HTTP(HyperText Transfer Protocol) 요청 메시지를 전송하고, 그에 대한 응답으로 패킷 게이트웨이(20)를 통해 광고 서버(50)로부터 광고 페이지를 제공하는 광고 페이지 URL(Uniform Resource Locator)과 단말기(10)가 원래 접속하려던 웹 페이지 URL을 포함하는 HTTP 응답 메시지를 수신한다.As such, after transmitting the TCP connection request message to the packet gateway 20, the terminal 10 receiving the TCP connection response message from the packet gateway 20 in response thereto and establishing a TCP session connection with the web server 70. ) Transmits a HyperText Transfer Protocol (HTTP) request message requesting a web page requested by a user to the packet gateway 20, and provides an advertisement page from the advertisement server 50 through the packet gateway 20 in response thereto. Receives an HTTP response message including an advertisement page URL (Uniform Resource Locator) and the URL of the web page to which the terminal 10 originally connected.
광고 서버(50)로부터 HTTP 응답 메시지를 수신한 단말기(10)는 수신한 HTTP 응답 메시지의 헤더에 세팅되어 있는 종료(FIN) 플래그에 의거하여 웹 서버(70)와 연결되어 있는 TCP 세션 연결을 해제한 후, 광고 서버(50) 및 웹 서버(70)와 각각 TCP 세션 연결을 다시 설정한다. 그리고, HTTP 응답 메시지에 포함되어 있는 광고 페이지 URL과 웹 페이지 URL을 이용하여 광고 서버(50)로 광고 페이지를 요청하는 HTTP 요청 메시지를 전송함과 동시에 웹 서버(70)로 웹 페이지를 요청하는 HTTP 요청 메시지를 전송하고, 그에 대한 응답으로 광고 서버(50)로부터 광고 페이지와 웹 서버(70)로부터 웹 페이지를 각각 수신하여 이를 사용자에게 제공한다.Upon receiving the HTTP response message from the advertisement server 50, the terminal 10 releases the TCP session connected to the web server 70 based on the FIN flag set in the header of the received HTTP response message. After that, the TCP session connection is reestablished with the advertisement server 50 and the web server 70, respectively. In addition, an HTTP request message for requesting an advertisement page is sent to the ad server 50 by using the advertisement page URL and the web page URL included in the HTTP response message, and the HTTP requesting the web page to the web server 70. The request message is transmitted, and in response thereto, an advertisement page from the advertisement server 50 and a web page from the web server 70 are received and provided to the user.
이때, 단말기(10)는 광고 서버(50)로부터 수신한 광고 페이지와 웹 서버(70)로부터 수신한 웹 페이지를 서로 다른 화면 프레임을 통해 동시에 표시한다.In this case, the terminal 10 simultaneously displays the advertisement page received from the advertisement server 50 and the web page received from the web server 70 through different screen frames.
전술한, 단말기(10)는 스마트폰, 태블릿 PC 등과 같이 무선 인터넷 서비스를 제공할 수 있는 단말기로 구현될 수 있다.As described above, the terminal 10 may be implemented as a terminal capable of providing a wireless Internet service such as a smartphone, a tablet PC, and the like.
패킷 게이트웨이(20)는 무선 인터넷 서비스를 제공받기 위해 단말기(10)가 TCP 연결 요청 메시지를 전송하면, 인증·과금 서버(40)로 해당 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 단말기인 지를 물어보는 인증 요청 메시지를 전송하고, 그에 대한 응답으로 인증 응답 메시지를 수신한다. 인증·과금 서버(40)로부터 수신한 인증 응답 메시지를 분석한 결과 해당 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 단말기로 확인되면, 패킷 게이트웨이(20)는 단말기(10)로부터 수신한 TCP 연결 요청 메시지를 단말기(10)가 접속을 원하는 웹 페이지를 제공하는 웹 서버(70)로 전송하고, 그에 대한 응답으로 웹 서버(70)로부터 TCP 연결 응답 메시지를 수신하여 이를 단말기(10)로 전송한다.When the terminal 10 transmits a TCP connection request message to receive the wireless Internet service, the packet gateway 20 is a terminal that the terminal 10 may allow the wireless Internet service to the authentication / billing server 40. It sends an authentication request message asking for a message and receives an authentication response message in response. After analyzing the authentication response message received from the authentication / billing server 40, if the terminal 10 is identified as a terminal that may allow the wireless Internet service, the packet gateway 20 receives the TCP received from the terminal 10. The terminal 10 transmits a connection request message to the web server 70 which provides a web page to which the terminal 10 wants to connect. In response, the terminal 10 receives a TCP connection response message from the web server 70 and transmits it to the terminal 10. do.
미러링 서버(30)는 패킷 게이트웨이(20)의 바로 뒷 단에 연결되어, 단말기(10)를 인증하기 위해 패킷 게이트웨이(20)와 인증·과금 서버(40) 간에 주고받는 인증 메시지(인증 요청/응답 메시지)를 미러링하고, 미러링된 인증 메시지(인증 요청/응답 메시지)를 광고 서버(50)로 전송한다. 또한, 미러링 서버(30)는 웹 서버(70)와 TCP 세션이 연결된 단말기(10)가 패킷 게이트웨이(20)를 통해 웹 서버(70)로 전송하는 HTTP 요청 메시지를 미러링하고, 미러링된 HTTP 요청 메시지를 광고 서버(50)로 전송한다.The mirroring server 30 is connected directly to the rear end of the packet gateway 20 to transmit and receive an authentication message (authentication request / response) between the packet gateway 20 and the authentication / billing server 40 to authenticate the terminal 10. Message) and transmits the mirrored authentication message (authentication request / response message) to the ad server 50. In addition, the mirroring server 30 mirrors the HTTP request message transmitted by the terminal 10 connected to the web server 70 and the TCP session to the web server 70 through the packet gateway 20, and the mirrored HTTP request message. Is transmitted to the advertisement server 50.
인증·과금 서버(40)는 패킷 게이트웨이(20)로부터 수신한 인증 요청 메시지에 포함되어 있는 사용자 식별 정보(예를 들어, 전화번호)를 이용하여 해당 단말기(10)가 무선 데이터 서비스를 허용해 줘도 되는 단말기인 지를 확인한 후, 그 확인결과를 인증 응답 메시지에 포함시켜 패킷 게이트웨이(20)로 전송한다.Even if the terminal 10 permits the wireless data service using the user identification information (for example, a telephone number) included in the authentication request message received from the packet gateway 20 After confirming that the terminal is to be included, the verification result is included in the authentication response message and transmitted to the packet gateway 20.
광고 서버(50)는 미러링 서버(30)로부터 전달받은 미러링된 인증 메시지를 분석하여 사용자 식별 정보(예를 들어, 전화번호, 단말 IP 정보 등)를 추출하고, 추출한 사용자 식별 정보를 이용하여 해당 단말기(10)의 사용자가 광고 서비스에 가입되어 있는 지를 확인한다.The advertisement server 50 analyzes the mirrored authentication message received from the mirroring server 30 to extract user identification information (for example, phone number, terminal IP information, etc.), and uses the extracted user identification information. It is checked whether the user of (10) is subscribed to the advertising service.
확인결과 사용자가 광고 서비스 가입자인 경우에는 해당 단말기(10)의 사용자 식별 정보를 임시 저장하여 관리하고 있다가, 미러링 서버(30)로부터 수신한 HTTP 요청 메시지가 임시 저장되어 관리되는 사용자 식별 정보에 대응하는 단말기(10)의 HTTP 요청 메시지이고, 웹 페이지를 요청한 에이전트가 웹 브라우저인 경우에만, HTTP 요청 메시지에 대한 응답으로 HTTP 응답 메시지를 생성하여 단말기(10)로 전송한다. 단말기(10)로 HTTP 응답 메시지를 전송하기 위해, 광고 서버(50)는 광고 서버(50)는 미러링 서버(30)로부터 수신한 HTTP 요청 메시지를 분석하여 단말기(10)가 접속을 요청한 웹 페이지의 주소를 추출하고, 단말기(10)와 웹 서버(70) 간에 연결되어 있는 TCP 세션을 해제시키기 위해 웹 서버(70)로 리셋(RST) 플래그가 세팅된 TCP 메시지를 전송하는 한편, 단말기(10)로는 HTTP 요청 메시지에 대한 응답으로 광고 페이지를 제공하는 광고 페이지 URL과 단말기(10)가 원래 접속하려던 웹 페이지 URL을 포함하는 HTTP 응답 메시지를 전송한다. 이때, 광고 서버(50)는 웹 서버(70)로 전송하는 TCP 메시지의 헤더 내 소스 IP(Source IP)를 단말기(10)의 단말 IP로 설정하고, 목적지 IP(Destination IP)를 웹 서버(70)의 IP로 설정하여 해당 TCP 메시지를 마치 단말기(10)가 웹 서버(70)로 전송하는 것처럼 하는 한편, 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더 내 소스 IP를 웹 서버(70)의 IP로 설정하고, 목적지 IP를 단말기(10)의 단말 IP로 설정하여 해당 HTTP 응답 메시지를 마치 웹 서버(70)가 단말기(10)로 전송하는 것처럼 하는 것이 바람직하다.As a result of the check, when the user is an advertisement service subscriber, the user identification information of the corresponding terminal 10 is temporarily stored and managed, and the HTTP request message received from the mirroring server 30 is temporarily stored to correspond to the user identification information managed. Only when the HTTP request message of the terminal 10 and the agent requesting the web page is a web browser, an HTTP response message is generated in response to the HTTP request message and transmitted to the terminal 10. In order to transmit the HTTP response message to the terminal 10, the advertisement server 50 analyzes the HTTP request message received from the mirroring server 30 to determine the web page of the terminal 10 requesting access. While extracting the address and sending a TCP message with the reset (RST) flag set to the web server 70 to release the TCP session connected between the terminal 10 and the web server 70, the terminal 10 In response to the HTTP request message, and transmits an HTTP response message including an advertisement page URL for providing the advertisement page and the web page URL that the terminal 10 originally intended to access. At this time, the advertisement server 50 sets the source IP in the header of the TCP message transmitted to the web server 70 as the terminal IP of the terminal 10, and sets the destination IP as the destination IP. IP address in the header of the HTTP response message transmitted to the terminal 10 while the terminal 10 transmits the TCP message to the web server 70. It is preferable to set the IP and the destination IP to the terminal IP of the terminal 10 so that the HTTP response message is transmitted as if the web server 70 transmits the terminal 10 to the terminal 10.
또한, 광고 서버(50)가 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더에는 단말기(10)와 웹 서버(70) 간에 연결되어 있는 TCP 세션을 해제시키기 위해 종료(FIN) 플래그가 세팅되어 있다.In addition, a header (FIN) flag is set in the header of the HTTP response message transmitted from the advertisement server 50 to the terminal 10 to release a TCP session connected between the terminal 10 and the web server 70. .
또한, 광고 서버(50)는 단말기(10)로 광고 페이지 URL과 웹 페이지 URL을 포함하는 HTTP 응답 메시지를 전송한 후, 패킷 게이트웨이(20)를 통해 단말기(10)로부터 광고 페이지를 요청하는 HTTP 요청 메시지를 수신하면, 그에 대한 응답으로 광고 페이지를 포함하는 HTTP 응답 메시지를 단말기(10)로 전송한다. 그리고, 광고 페이지를 수신한 단말기(10)에 대한 정보를 보상 정보로 하여 과금 정산 서버(60)로 전송한다.In addition, the advertisement server 50 transmits an HTTP response message including the advertisement page URL and the web page URL to the terminal 10, and then the HTTP request for requesting the advertisement page from the terminal 10 through the packet gateway 20. Upon receiving the message, an HTTP response message including an advertisement page is transmitted to the terminal 10 in response thereto. Then, the information about the terminal 10 receiving the advertisement page is used as the reward information and transmitted to the billing settlement server 60.
과금 정산 서버(60)는 무선 데이터 서비스 사용에 따라 발생된 사용 금액을 정산하여 청구하되, 광고 서버(50)로부터 수신한 보상 정보를 이용하여 사용자에게 보상할 보상액을 계산하고, 사용 금액에서 보상액을 감산하여 청구한다.The billing settlement server 60 calculates and bills a usage amount generated according to the use of the wireless data service, calculates a compensation amount to be compensated to the user using the compensation information received from the advertisement server 50, and calculates a compensation amount from the use amount. Claim by subtraction.
도 2는 본 발명에 적용되는 단말기의 구성을 개략적으로 보인 도면이다.2 is a view schematically showing the configuration of a terminal applied to the present invention.
도 2를 참조하면, 본 발명에 적용되는 단말기(10)는 입력 인터페이스부(11), 통신부(13), 웹 브라우저 구동부(15) 등을 포함하여 이루어진다. 이 밖에도 단말기(10)는 무선 주파수부, 근거리 통신부, 저장부, 표시부, 오디오 처리부, 디지털 방송 처리부, 카메라부 등의 통상적인 구성을 더 포함할 수 있으나, 그에 대한 설명과 도시는 생략한다.Referring to FIG. 2, the terminal 10 applied to the present invention includes an input interface unit 11, a communication unit 13, a web browser driving unit 15, and the like. In addition, the terminal 10 may further include a typical configuration such as a radio frequency unit, a short range communication unit, a storage unit, a display unit, an audio processor, a digital broadcast processor, a camera unit, etc., and a description thereof will be omitted.
전술한, 입력 인터페이스부(11)는 사용자로부터 각종 명령을 입력받는 것으로, 터치 패드, 터치 스크린, 키보드 등으로 구현될 수 있다.The input interface unit 11 receives various commands from a user, and may be implemented as a touch pad, a touch screen, a keyboard, or the like.
통신부(13)는 인터넷망을 통해 웹 서버(70)와 상호 통신을 수행한다.The communication unit 13 performs mutual communication with the web server 70 through the Internet network.
웹 브라우저 구동부(15)는 인터넷망을 통해 웹 서버(70)와 통신을 수행하기 위한 웹 브라우저를 구동시키는 것으로, 입력 인터페이스부(11)를 통해 입력받은 사용자 요청에 따라 웹 브라우저를 구동시켜 통신부(13)를 통해 웹 서버(70)와 TCP 세션 연결을 수행하고, TCP 세션이 연결된 웹 서버(70)로 HTTP 요청 메시지를 송신한다.The web browser driving unit 15 drives a web browser for communicating with the web server 70 through an internet network. The web browser driving unit 15 drives a web browser in response to a user request received through the input interface unit 11. 13) a TCP session connection with the web server 70 is performed, and an HTTP request message is transmitted to the web server 70 to which the TCP session is connected.
그리고, HTTP 요청 메시지에 대한 응답으로 광고 서버(50)로부터 광고 페이지 URL과 웹 페이지 URL이 포함되어 있는 HTTP 응답 메시지를 수신하면, HTTP 응답 메시지의 헤더에 세팅되어 있는 종료(FIN) 플래그에 따라 웹 서버(70)와 연결되어 있는 TCP 세션을 해제한 후, HTTP 응답 메시지에 포함되어 있는 광고 페이지 URL에 의거하여 광고 서버(50)와 TCP 세션을 설정함과 동시에, HTTP 응답 메시지에 포함되어 있는 웹 페이지 URL에 의거하여 웹 서버(70)와 TCP 세션을 설정한다.In response to the HTTP request message, when the HTTP response message including the advertisement page URL and the web page URL is received from the ad server 50, the web message is set according to the FIN flag set in the header of the HTTP response message. After the TCP session connected to the server 70 is released, the TCP session is established with the advertisement server 50 based on the advertisement page URL included in the HTTP response message, and the web included in the HTTP response message is displayed. The TCP session is established with the web server 70 based on the page URL.
이와 같이, 광고 서버(50)와 웹 서버(70)에 각각 접속한 웹 브라우저 구동부(15)는 광고 서버(50)에서 전송하는 광고 페이지와 웹 서버(70)에서 전송하는 웹 페이지를 수신하여 이를 서로 다른 화면 프레임을 통해 동시에 표시한다.As such, the web browser driving unit 15 connected to the advertisement server 50 and the web server 70 respectively receives the advertisement page transmitted from the advertisement server 50 and the web page transmitted from the web server 70. Display simultaneously through different screen frames.
도 3은 본 발명에 따라 사용자에게 제공되는 광고 화면을 예시적으로 보인 도면으로, 단말기(10)는 광고 서버(50)로부터 수신한 광고 페이지와 웹 서버(70)로부터 수신한 웹 페이지를 두 개의 서로 다른 화면 프레임(a, b)을 통해 동시에 표시한다.3 is a view showing an advertisement screen provided to a user according to the present invention by way of example, the terminal 10 has two advertisement pages received from the advertising server 50 and the web page received from the web server 70 Displayed simultaneously through different screen frames a and b.
즉, 단말기(10)는 광고 서버(50)로부터 수신한 광고 페이지는 제1화면 프레임(a)을 통해 표시하고, 웹 서버(70)로부터 수신한 웹 페이지는 제2화면 프레임(b)을 통해 표시한다. 이때, 제1화면 프레임(a)을 통해 표시되는 광고는 웹 브라우저가 지원하는 모든 컨텐츠 형태(예를 들어, 이미지, 동영상, 플래시 등)로 제공될 수 있다.That is, the terminal 10 displays the advertisement page received from the advertisement server 50 through the first screen frame a, and the web page received from the web server 70 through the second screen frame b. Display. In this case, the advertisement displayed through the first screen frame a may be provided in all content forms (for example, images, videos, flashes, etc.) supported by the web browser.
본 발명의 실시예에서는 제1화면 프레임(a)이 제2화면 프레임(b)의 상단에 구비되는 것을 예를 들어 도시하였으나, 제1화면 프레임(a)을 제2화면 프레임(b)의 하단 또는 좌측 또는 우측에 구현하는 등 다양하게 구현할 수 있다.In the embodiment of the present invention, for example, the first screen frame (a) is provided on the top of the second screen frame (b), for example, the first screen frame (a) is the bottom of the second screen frame (b) Or it can be implemented in various ways, such as to implement on the left or right.
도 4는 본 발명에 적용되는 미러링 서버의 구성을 개략적으로 보인 도면이다.4 is a diagram schematically illustrating a configuration of a mirroring server applied to the present invention.
도 4를 참조하면, 본 발명에 적용되는 미러링 서버(30)는 미러링부(31), 메시지 전송부(33)를 포함하여 이루어진다.Referring to FIG. 4, the mirroring server 30 applied to the present invention includes a mirroring unit 31 and a message transmitting unit 33.
이와 같은 구성에 있어서, 미러링부(31)는 인터넷 접속을 요청한 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 지를 인증하기 위해 패킷 게이트웨이(20)와 인증·과금 서버(40) 간에 주고받는 인증 메시지(인증 요청/응답 메시지)를 미러링하고, 웹 서버(70)와 TCP 세션이 연결된 단말기(10)가 패킷 게이트웨이(20)를 통해 웹 서버(70)로 전송하는 HTTP 요청 메시지를 미러링한다.In this configuration, the mirroring unit 31 authenticates the exchange between the packet gateway 20 and the authentication / billing server 40 to authenticate whether the terminal 10 requesting the Internet connection may allow the wireless Internet service. The message (authentication request / response message) is mirrored, and the terminal 10 connected to the web server 70 and the TCP session mirrors the HTTP request message transmitted to the web server 70 through the packet gateway 20.
메시지 전송부(33)는 미러링부(31)에서 미러링된 인증 메시지, HTTP 요청 메시지 등을 광고 서버(50)로 전송한다.The message transmitter 33 transmits the authentication message, HTTP request message, etc. mirrored by the mirror 31 to the advertisement server 50.
도 5는 본 발명에 적용되는 광고 서버의 구성을 개략적으로 보인 도면이다.5 is a view schematically showing the configuration of an advertisement server applied to the present invention.
도 5를 참조하면, 본 발명에 적용되는 광고 서버(50)는 메시지 수신부(51), 사용자 식별 정보 추출부(52), 광고 서비스 가입자 확인부(53), 광고 서비스 제공 여부 판단부(54), 웹 페이지 정보 추출부(55), HTTP 응답 메시지 전송부(56), 세션 해제부(57), 광고 제공부(58), 보상 정보 전송부(59)를 포함하여 이루어진다.Referring to FIG. 5, the advertisement server 50 according to the present invention includes a message receiver 51, a user identification information extractor 52, an advertisement service subscriber confirmation unit 53, and an advertisement service determination unit 54. , The web page information extraction unit 55, the HTTP response message transmission unit 56, the session release unit 57, the advertisement providing unit 58, and the compensation information transmission unit 59.
이와 같은 구성에 있어서, 메시지 수신부(51)는 미러링 서버(30)로부터 인증 메시지(인증 요청/응답 메시지), HTTP 요청 메시지 등을 수신한다.In such a configuration, the message receiving unit 51 receives an authentication message (authentication request / response message), an HTTP request message, and the like from the mirroring server 30.
사용자 식별 정보 추출부(52)는 메시지 수신부(51)를 통해 미러링 서버(30)로부터 수신한 인증 메시지를 분석하여 사용자 식별 정보(예를 들어, 전화번호, 단말 IP 정보 등)를 추출한다.The user identification information extracting unit 52 analyzes the authentication message received from the mirroring server 30 through the message receiving unit 51 and extracts user identification information (for example, phone number, terminal IP information, etc.).
광고 서비스 가입자 확인부(53)는 사용자 식별 정보 추출부(52)에서 추출된 사용자 식별 정보를 이용하여 해당 단말기(10)의 사용자가 광고 서비스 가입자인 지를 확인한다. 확인결과 해당 단말기(10)의 사용자가 광고 서비스 가입자인 경우에는 해당 단말기(10)의 사용자 식별 정보를 임시 저장하여 관리한다.The advertisement service subscriber identification unit 53 confirms whether the user of the terminal 10 is an advertisement service subscriber using the user identification information extracted by the user identification information extraction unit 52. As a result of the check, when the user of the terminal 10 is an advertisement service subscriber, the user identification information of the terminal 10 is temporarily stored and managed.
광고 서비스 제공 여부 판단부(54)는 메시지 수신부(51)를 통해 수신한 HTTP 요청 메시지의 헤더를 분석하여 소스 IP 정보가 광고 서비스 가입자 확인부(53)에 의해 확인된 광고 서비스 가입자의 단말 IP와 일치하고, 웹 페이지를 요청한 에이전트가 웹 브라우저인 지를 확인하여 광고 서비스 제공 여부를 판단하되, 소스 IP 정보가 광고 서비스 가입자의 단말 IP와 일치하고 웹 페이지를 요청한 에이전트가 웹 브라우저인 경우에만 광고 서비스를 제공하도록 허용한다.The advertisement service determining unit 54 analyzes the header of the HTTP request message received through the message receiving unit 51 and the terminal IP of the subscriber of the advertisement service subscriber whose source IP information is confirmed by the advertisement service subscriber checking unit 53. And whether the requesting web page is a web browser to determine whether to provide the advertising service, but only if the source IP information matches the terminal IP of the subscriber of the advertising service and the requesting web page is the web browser. Allow to provide
웹 페이지 정보 추출부(55)는 메시지 수신부(51)를 통해 미러링 서버(30)로부터 수신한 HTTP 요청 메시지를 분석하여 단말기(10)가 접속을 요청한 웹 페이지의 URL을 추출한다.The web page information extractor 55 analyzes the HTTP request message received from the mirroring server 30 through the message receiver 51 and extracts the URL of the web page requested by the terminal 10 to access.
HTTP 응답 메시지 전송부(56)는 광고 서비스 제공 여부 판단부(54)에서 미러링 서버(30)로부터 수신한 HTTP 요청 메시지를 분석한 결과 광고 서비스를 제공하도록 허용된 경우, 해당 HTTP 요청 메시지에 대한 응답으로 단말기(10)로 전송하고자 하는 광고 페이지의 URL과 단말기(10)가 원래 접속하려던 웹 페이지 URL(웹 페이지 정보 추출부에서 추출한 웹 페이지 URL)을 포함하는 HTTP 응답 메시지를 단말기(10)로 전송한다. 이때, HTTP 응답 메시지 전송부(56)는 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더의 소스 IP를 웹 서버(70)의 IP로 설정하고, 목적지 IP를 단말기(10)의 단말 IP로 설정하여 해당 HTTP 응답 메시지를 마치 웹 서버(70)가 단말기(10)로 전송하는 것처럼 한다.When the HTTP response message transmission unit 56 is allowed to provide the advertisement service as a result of analyzing the HTTP request message received from the mirroring server 30 at the advertisement service determination unit 54, the response to the corresponding HTTP request message is provided. A HTTP response message including the URL of the advertisement page to be transmitted to the terminal 10 and the web page URL (the web page URL extracted from the web page information extraction unit) originally intended to be accessed by the terminal 10 to the terminal 10. do. At this time, the HTTP response message transmitter 56 sets the source IP of the header of the HTTP response message transmitted to the terminal 10 to the IP of the web server 70, and sets the destination IP to the terminal IP of the terminal 10. It is as if the web server 70 transmits the corresponding HTTP response message to the terminal 10.
세션 해제부(57)는 단말기(10)와 웹 서버(70) 간에 연결되어 있는 TCP 세션을 해제시키기 위해 웹 서버(70)로 리셋(RST) 플래그가 세팅된 TCP 메시지를 전송하고, HTTP 응답 메시지 전송부(56)에서 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더에 종료(FIN) 플래그를 세팅한다. 이때, 웹 서버(70)로 전송하는 TCP 메시지의 헤더의 소스 IP는 단말기(10)의 단말 IP로 설정되고, 목적지 IP는 웹 서버(70)의 IP로 설정되어, 해당 TCP 메시지를 마치 단말기(10)가 웹 서버(70)로 전송하는 것처럼 한다.The session release unit 57 transmits a TCP message in which a reset (RST) flag is set to the web server 70 to release the TCP session connected between the terminal 10 and the web server 70. A FIN flag is set in the header of the HTTP response message transmitted from the transmitter 56 to the terminal 10. At this time, the source IP of the header of the TCP message transmitted to the web server 70 is set to the terminal IP of the terminal 10, the destination IP is set to the IP of the web server 70, the terminal message is as if the terminal ( 10 transmits to the web server 70.
광고 제공부(58)는 패킷 게이트웨이(20)를 통해 단말기(10)로부터 광고 페이지를 요청하는 HTTP 요청 메시지를 수신하면, 그에 대한 응답으로 HTTP 요청 메시지에 포함되어 있는 URL에 대응하는 광고 페이지를 단말기(10)로 전송한다.When the advertisement providing unit 58 receives an HTTP request message for requesting an advertisement page from the terminal 10 through the packet gateway 20, the advertisement providing unit 58 responds to the advertisement page corresponding to the URL included in the HTTP request message. Transfer to (10).
보상 정보 전송부(59)는 광고 시청에 대한 보상을 해주기 위해 광고 페이지를 수신한 단말기(10)에 대한 정보를 보상 정보로 하여 과금 정산 서버(60)로 전송한다.The reward information transmitting unit 59 transmits the information on the terminal 10 that has received the advertisement page as the reward information to the billing settlement server 60 to compensate for the viewing of the advertisement.
도 6은 본 발명의 일 실시예에 따른 광고 제공 방법을 설명하기 위한 처리도이다.6 is a process for explaining an advertisement providing method according to an embodiment of the present invention.
우선, 단말기(10)는 무선 인터넷 서비스를 제공받기 위해 사용자가 웹 브라우저를 통해 특정 웹 사이트 접속을 요청하면, 웹 서버(70)와 TCP 세션을 설정하기 위해 3 Way Handshake(SYN, SYN-ACK, ACK)에 따라 패킷 게이트웨이(20)로 TCP 연결 요청 메시지(TCP SYN 메시지)를 전송한다(S10).First, when the user requests to access a specific website through a web browser in order to receive a wireless Internet service, the terminal 10 sets up a three-way handshake (SYN, SYN-ACK, According to the ACK, a TCP connection request message (TCP SYN message) is transmitted to the packet gateway 20 (S10).
상기한 과정 S10을 통해 단말기(10)로부터 TCP 연결 요청 메시지를 수신한 패킷 게이트웨이(20)는 해당 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 단말기인 지를 물어보기 위해 인증·과금 서버(40)로 인증 요청 메시지를 전송한다(S12).The packet gateway 20 that has received the TCP connection request message from the terminal 10 through the above-described process S10 checks whether the terminal 10 is a terminal that may allow the wireless Internet service. In step S12, an authentication request message is transmitted.
상기한 과정 S12를 통해 패킷 게이트웨이(20)로부터 인증 요청 메시지를 수신한 인증·과금 서버(40)는 인증 요청 메시지에 포함되어 있는 사용자 식별 정보(예를 들어, 전화번호)를 이용하여 해당 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 단말기인 지를 확인한 후, 그 확인결과를 인증 응답 메시지에 포함시켜 패킷 게이트웨이(20)로 전송한다(S14).The authentication / billing server 40 that receives the authentication request message from the packet gateway 20 through the above-described process S12 uses the corresponding terminal (eg, a telephone number) by using user identification information (for example, a phone number) included in the authentication request message. After checking whether 10) is a terminal that may allow the wireless Internet service, the authentication result is included in the authentication response message and transmitted to the packet gateway 20 (S14).
상기한 과정 S14를 통해 인증·과금 서버(40)로부터 인증 응답 메시지를 수신한 패킷 게이트웨이(20)는 인증·과금 서버(40)로부터 수신한 인증 응답 메시지를 분석한 결과 해당 단말기(10)가 무선 인터넷 서비스를 허용해 줘도 되는 단말기로 확인되면, 상기한 과정 S10을 통해 단말기(10)로부터 수신한 TCP 연결 요청 메시지(TCP SYN 메시지)를 웹 서버(70)로 전송한다(S30).Upon receiving the authentication response message from the authentication / charging server 40 through the process S14, the packet gateway 20 analyzes the authentication response message received from the authentication / charging server 40, and the corresponding terminal 10 wirelessly. If it is confirmed that the terminal may allow the Internet service, the terminal transmits the TCP connection request message (TCP SYN message) received from the terminal 10 to the web server 70 through step S10 (S30).
상기한 과정 S30을 통해 TCP 연결 요청 메시지를 수신한 웹 서버(70)는 패킷 게이트웨이(20)를 통해 단말기(10) 측으로 TCP 연결 응답 메시지(TCP SYN-ACK 메시지)를 전송하고(S32), 단말기(10)는 웹 서버(70)로 TCP 연결 응답 메시지(TCP ACK 메시지)를 전송하여 단말기(10)와 웹 서버(70) 간의 TCP 세션 연결을 설정한다(S34).The web server 70 receiving the TCP connection request message through the process S30 transmits a TCP connection response message (TCP SYN-ACK message) to the terminal 10 through the packet gateway 20 (S32). 10 transmits a TCP connection response message (TCP ACK message) to the web server 70 to establish a TCP session connection between the terminal 10 and the web server 70 (S34).
한편, 상기한 과정 S12 ~ 과정 S14를 통해 단말기(10)를 인증하기 위해 패킷 게이트웨이(20)와 인증·과금 서버(40)가 서로 인증 요청/응답 메시지를 주고받을 때, 패킷 게이트웨이(20)의 뒷 단에 연결되어 있는 미러링 서버(30)는 패킷 게이트웨이(20)와 인증·과금 서버(40)가 서로 주고받는 인증 요청/응답 메시지를 미러링하여 이를 광고 서버(50)로 전송한다(S16~S20).Meanwhile, when the packet gateway 20 and the authentication / billing server 40 exchange authentication requests / response messages with each other to authenticate the terminal 10 through the above steps S12 to S14, the packet gateway 20 The mirroring server 30 connected to the rear stage mirrors the authentication request / response message exchanged between the packet gateway 20 and the authentication / billing server 40 and transmits the mirrored authentication request / response message to the advertisement server 50 (S16 to S20). ).
상기한 과정 S18 ~ 과정 S20을 통해 미러링 서버(30)로부터 인증 요청/응답 메시지를 수신한 광고 서버(50)는 미러링 서버(30)로부터 수신한 인증 요청/응답 메시지를 분석하여 사용자 식별 정보(예를 들어, 전화번호, 단말 IP 정보 등)를 추출한다(S22).The advertisement server 50 that receives the authentication request / response message from the mirroring server 30 through the process S18 to S20 analyzes the authentication request / response message received from the mirroring server 30 to identify user identification information (eg, For example, a phone number, terminal IP information, etc.) is extracted (S22).
이후, 광고 서버(50)는 상기한 과정 S22를 통해 추출한 사용자 식별 정보를 이용하여 해당 단말기(10)의 사용자가 광고 서비스에 가입되어 있는 지를 확인한다(S24).Thereafter, the advertisement server 50 checks whether the user of the terminal 10 is subscribed to the advertisement service using the user identification information extracted through the process S22 (S24).
상기한 과정 S24의 확인결과 해당 단말기(10)의 사용자가 광고 서비스에 가입되어 있는 경우에는 상기한 과정 S22를 통해 추출한 사용자 식별 정보를 별도의 리스트에 등록하여 관리한다(S28).As a result of checking the process S24, when the user of the terminal 10 is subscribed to the advertising service, the user identification information extracted through the process S22 is registered and managed in a separate list (S28).
한편, 웹 서버(70)와 TCP 세션 연결을 설정한 단말기(10)는 패킷 게이트웨이(20)를 통해 웹 서버(70) 측으로 사용자가 원하는 웹 페이지를 요청하는 HTTP 요청 메시지(HTTP GET Request 메시지)를 전송한다(S36).Meanwhile, the terminal 10, which has established a TCP session connection with the web server 70, transmits an HTTP request message (HTTP GET Request message) requesting a web page desired by the user to the web server 70 through the packet gateway 20. It transmits (S36).
상기한 과정 S36을 통해 단말기(10)가 웹 서버(70) 측으로 전송한 HTTP 요청 메시지를 패킷 게이트웨이(20)의 뒷 단에 연결되어 있는 미러링 서버(30)에서 미러링하여 이를 광고 서버(50)로 전송한다(S38~S40). 이때, 단말기(10)가 웹 서버(70)로 전송한 HTTP 요청 메시지는 변경없이 미러링 서버(30)를 통과하여 목적지인 웹 서버(70)로 전송된다.Through the process S36, the terminal 10 transmits the HTTP request message transmitted to the web server 70 to the mirroring server 30 connected to the rear end of the packet gateway 20 to the advertisement server 50. Transmit (S38 to S40). At this time, the HTTP request message transmitted from the terminal 10 to the web server 70 passes through the mirroring server 30 without modification and is transmitted to the destination web server 70.
상기한 과정 S40을 통해 미러링 서버(30)로부터 HTTP 요청 메시지를 수신한 광고 서버(50)는 해당 HTTP 요청 메시지를 분석하여 해당 HTTP 요청 메시지가 상기한 과정 S28을 통해 별도의 리스트에 등록되어 있는 사용자 식별 정보에 대응하는 단말기(10)의 HTTP 요청 메시지이고, 웹 페이지를 요청한 에이전트가 웹 브라우저로 확인되면, 해당 HTTP 요청 메시지를 분석하여 단말기(10)가 접속을 요청한 웹 페이지의 URL을 추출하고(S42), 단말기(10)로 전송하고자 하는 광고 페이지의 URL과 상기한 과정 S42에서 추출한 웹 페이지의 URL을 포함하는 HTTP 응답 메시지(HTTP 302 Response)를 생성하여 이를 미러링 서버(30)로부터 수신한 HTTP 요청 메시지에 대한 응답으로 단말기(10)로 전송함과 동시에, 웹 서버(70)로는 단말기(10)와 웹 서버(70) 간에 연결되어 있는 세션을 해제시키기 위해 리셋(RST) 플래그가 세팅된 TCP 메시지(TCP RST 메시지)를 전송한다(S44, S46).The advertisement server 50 that receives the HTTP request message from the mirroring server 30 through the process S40 analyzes the HTTP request message, and the user whose corresponding HTTP request message is registered in a separate list through the process S28. When the HTTP request message of the terminal 10 corresponding to the identification information and the agent requesting the web page are confirmed by the web browser, the HTTP request message is analyzed to extract the URL of the web page requested by the terminal 10 ( S42), an HTTP response message (HTTP 302 Response) including the URL of the advertisement page to be transmitted to the terminal 10 and the URL of the web page extracted in the above process S42 is generated and received from the mirroring server 30 HTTP. In order to transmit to the terminal 10 in response to the request message, the web server 70 releases a session connected between the terminal 10 and the web server 70. A TCP message (TCP RST message) having a reset (RST) flag set is transmitted (S44 and S46).
상기한 과정 S44를 통해 웹 서버(70)로 TCP 메시지를 전송할 때, 웹 서버(70)로 전송하는 TCP 메시지의 헤더 내 소스 IP는 단말기(10)의 단말 IP로 설정하고, 목적지 IP는 웹 서버(70)의 IP로 설정하여 해당 TCP 메시지를 마치 단말기(10)가 웹 서버(70)로 전송하는 것처럼 하고, 상기한 과정 S46을 통해 단말기()로 HTTP 응답 메시지를 전송할 때, 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더 내 소스 IP를 웹 서버(70)의 IP로 설정하고, 목적지 IP를 단말기(10)의 단말 IP로 설정하여 해당 HTTP 응답 메시지를 마치 웹 서버(70)가 단말기(10)로 전송하는 것처럼 한다.When transmitting the TCP message to the web server 70 through the process S44, the source IP in the header of the TCP message transmitted to the web server 70 is set to the terminal IP of the terminal 10, the destination IP is a web server Set the IP of the terminal 70 as if the terminal 10 transmits the corresponding TCP message to the web server 70, and transmits an HTTP response message to the terminal A through the process S46. Set the source IP in the header of the HTTP response message transmitted to the IP of the web server 70, and set the destination IP to the terminal IP of the terminal 10 to complete the corresponding HTTP response message. 10) as if transmitting.
상기한 과정 S46에서 광고 서버(50)가 단말기(10)로 전송하는 HTTP 응답 메시지의 헤더에는 단말기(10)와 웹 서버(70) 간에 연결되어 있는 세션을 해제시키기 위해 종료(FIN) 플래그가 세팅되어 있다.An end (FIN) flag is set in the header of the HTTP response message transmitted from the advertisement server 50 to the terminal 10 in step S46 to release the session connected between the terminal 10 and the web server 70. It is.
한편, 상기한 과정 S46을 통해 광고 서버(50)로부터 광고 페이지 URL과 웹 페이지 URL을 포함하는 HTTP 응답 메시지를 수신한 단말기(10)는 HTTP 응답 메시지에 세팅되어 있는 종료(FIN) 플래그에 따라 웹 서버(70)와 설정되어 있는 세션을 해제한 후, HTTP 응답 메시지에 포함되어 있는 광고 페이지 URL에 의거하여 해당 광고 페이지를 제공하는 광고 서버(50)와 3 Way Handshake(SYN, SYN-ACK, ACK)를 수행하여 TCP 세션 연결을 설정한 후, 광고 서버(50)로 광고 페이지를 요청하는 HTTP 요청 메시지를 전송한다(S48, S50).Meanwhile, the terminal 10 receiving the HTTP response message including the advertisement page URL and the web page URL from the advertisement server 50 through the process S46 may be configured according to the FIN flag set in the HTTP response message. After releasing the session set up with the server 70, the advertisement server 50 and 3 Way Handshake (SYN, SYN-ACK, ACK) providing the corresponding advertisement page based on the advertisement page URL included in the HTTP response message. After establishing a TCP session connection by performing a), the HTTP server transmits an HTTP request message for requesting an advertisement page to the advertisement server 50 (S48 and S50).
이와 동시에 단말기(10)는 HTTP 응답 메시지에 포함되어 있는 웹 페이지 URL에 의거하여 해당 웹 페이지를 제공하는 웹 서버(70)와 3 Way Handshake(SYN, SYN-ACK, ACK)를 수행하여 TCP 세션 연결을 설정한 후, 웹 서버(70)로 웹 페이지를 요청하는 HTTP 요청 메시지를 전송한다(S52, S54).At the same time, the terminal 10 performs a 3 way handshake (SYN, SYN-ACK, ACK) with the web server 70 that provides the web page based on the web page URL included in the HTTP response message to connect the TCP session. After setting, and transmits an HTTP request message for requesting a web page to the web server 70 (S52, S54).
상기한 과정 S50을 통해 단말기(10)로부터 광고 페이지를 요청하는 HTTP 요청 메시지를 수신한 광고 서버(50)는 HTTP 요청 메시지에 포함되어 있는 광고 페이지 URL을 이용하여 HTTP 요청 메시지에 대한 응답으로 단말기(10)로 광고 페이지를 포함하는 HTTP 응답 메시지(HTTP 200 Response)를 전송한다(S56).The advertisement server 50 receiving the HTTP request message for requesting the advertisement page from the terminal 10 through the process S50 described above uses the advertisement page URL included in the HTTP request message in response to the HTTP request message. 10) transmits an HTTP response message (HTTP 200 Response) including the advertisement page (S56).
그리고, 상기한 과정 S54를 통해 단말기(10)로부터 웹 페이지를 요청하는 HTTP 요청 메시지를 수신한 웹 서버(70)는 HTTP 요청 메시지에 포함되어 있는 웹 페이지 URL을 이용하여 HTTP 요청 메시지에 대한 응답으로 단말기(10)로 웹 페이지를 포함하는 HTTP 응답 메시지(HTTP 200 Response)를 전송한다(S58).In addition, the web server 70 that receives the HTTP request message for requesting the web page from the terminal 10 through step S54 may use the web page URL included in the HTTP request message in response to the HTTP request message. The terminal 10 transmits an HTTP response message (HTTP 200 Response) including a web page (S58).
상기한 과정 S56을 통해 광고 서버(50)로부터 광고 페이지를 포함하는 HTTP 응답 메시지를 수신하고, 상기한 과정 S58을 통해 웹 서버(70)로부터 웹 페이지를 수신한 단말기(10)는 광고 서버(50)로부터 수신한 HTTP 응답 메시지에 포함되어 있는 광고 페이지와 웹 서버(70)로부터 수신한 HTTP 응답 메시지에 포함되어 있는 웹 페이지를 도 3에 도시하는 바와 같이 두 개의 서로 다른 화면 프레임을 통해 동시에 표시한다(S60).In step S56, the terminal 10 receives an HTTP response message including an advertisement page from the advertisement server 50, and receives the web page from the web server 70 in step S58. The advertisement page included in the HTTP response message received from the web page and the web page included in the HTTP response message received from the web server 70 are simultaneously displayed through two different screen frames as shown in FIG. (S60).
한편, 상기한 과정 S60을 통해 단말기(10)로 광고 페이지를 포함하는 HTTP 응답 메시지를 전송한 광고 서버(50)는 광고 시청에 대한 보상을 해주기 위해 과금 정산 서버(60)로 광고 페이지를 수신한 단말기(10)에 대한 보상 정보를 전송한다(S62). 상기한 과정 S62를 통해 과금 정산 서버(60)로 광고 페이지를 수신한 단말기(10)에 대한 보상 정보를 전송한 광고 서버(50)는 리스트에서 광고 페이지를 수신한 단말기(10)에 대응하는 사용자 식별 정보를 삭제하는 것이 바람직하다.Meanwhile, the advertisement server 50 which transmits the HTTP response message including the advertisement page to the terminal 10 through the process S60 receives the advertisement page to the billing settlement server 60 to compensate for the advertisement viewing. Compensation information for the terminal 10 is transmitted (S62). The advertisement server 50, which has received the reward information for the terminal 10 that has received the advertisement page to the billing settlement server 60 through the process S62, may correspond to the user who has received the advertisement page from the list. It is preferable to delete the identification information.
본 발명의 광고 제공 시스템 및 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수 있다.Advertisement providing system and method of the present invention is not limited to the above-described embodiment can be carried out in various modifications within the scope allowed by the technical idea of the present invention.