KR20090128742A - Method and system for supporting data communication in terminal-based application - Google Patents

Method and system for supporting data communication in terminal-based application Download PDF

Info

Publication number
KR20090128742A
KR20090128742A KR1020080054650A KR20080054650A KR20090128742A KR 20090128742 A KR20090128742 A KR 20090128742A KR 1020080054650 A KR1020080054650 A KR 1020080054650A KR 20080054650 A KR20080054650 A KR 20080054650A KR 20090128742 A KR20090128742 A KR 20090128742A
Authority
KR
South Korea
Prior art keywords
socket
application
communication
data communication
communication event
Prior art date
Application number
KR1020080054650A
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 KR1020080054650A priority Critical patent/KR20090128742A/en
Publication of KR20090128742A publication Critical patent/KR20090128742A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Abstract

PURPOSE: A method and a system for supporting data communication in a terminal-based application are provided to perform communication in each application of a terminal through a signal socket or multiple sockets according to the setting information for the each application that can be driven in the terminal. CONSTITUTION: When a first communication event occurs, a data communication support system opens a first socket. The data communication support system performs the data communication between a first server and the application(S405-S415). When a second communication event occurs, the data communication support system judges the opening state of the additionally prepared second socket(S420,S425). The data communication support system performs the data communication between the second server, which is identified by the second communication event, and the application(S425-S435).

Description

단말 기반의 어플리케이션에서의 데이터 통신 지원 방법 및 시스템{METHOD AND SYSTEM FOR SUPPORTING DATA COMMUNICATION IN TERMINAL-BASED APPLICATION}TECHNICAL AND SYSTEM FOR SUPPORTING DATA COMMUNICATION IN TERMINAL-BASED APPLICATION

본 발명은 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말의 각각의 어플리케이션에서의 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있도록 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법 및 시스템에 관한 것이다.The present invention provides a method for supporting data communication in a terminal-based application that can efficiently perform data communication in each application of the terminal through a single socket / multi-socket according to configuration information of each application that can be driven in the terminal; It is about the system.

대부분 네트워크 프로그램은 서버와 클라이언트로 구분할 수 있다. 서버는 클라이언트로부터 어떤 작업의 요청이 들어오면 그 요청을 처리하고 그 결과를 클라이언트에게 알려 주는 역할을 하며, 클라이언트는 서버에게 작업을 요청하고 그 작업의 결과를 받아서 보여주는 역할을 한다.Most network programs can be divided into server and client. When the server receives a request from a client, the server handles the request and informs the client of the result. The client requests the server and accepts the result of the task.

소켓(Socket)은 서버(예컨대, 웹서버)와 클라이언트(예컨대, 단말)과 같이, 네트워크를 통하여 서로 다른 컴퓨터에서 수행되고 있는 프로세스간의 통신을 제공하는 수단으로, 단말은 구동하는 어플리케이션(예컨대, 웹브라우저)을 통해 어드레스와 포트로 구성된 소켓을 지정하여 회선을 오픈하면 통신 절차에 구애받지 않고 데이터의 송/수신을 할 수 있게 된다.A socket is a means for providing communication between processes running on different computers over a network, such as a server (e.g., a web server) and a client (e.g., a terminal). Opening the line by designating a socket consisting of an address and a port through a browser) enables data transmission / reception regardless of the communication procedure.

종래의 이동 단말에서는 대부분 하나의 소켓(Socket)을 개방하여 데이터를 다운로드 받는 식의 단일 소켓 구조가 대부분이었다. 즉, 종래에는 모뎀을 이용하여 무선 인터넷 망에 접속한 후, 웹서버측에 소켓 오픈을 요청하고 상기 웹서버측이 소켓 오픈을 수락하면 상기 소켓을 연결하여 데이터를 다운로드하고 다운로드가 완료되면, 무선 인터넷 망 접속을 해제 함으로써 데이터 통신을 수행하였다.In the conventional mobile terminal, a single socket structure of downloading a data by opening one socket is mostly. That is, in the related art, after accessing a wireless Internet network using a modem, a request is made to open a socket on a web server side, and when the web server side accepts a socket open, the data is connected by downloading the socket and when the download is completed, Data communication was performed by releasing the internet connection.

이와 같이 단일 소켓을 통해 데이터 통신을 수행하는 '블록(block)'이라는 설정 정보 외에도, 최근 단말 기반의 어플리케이션(Application)이 개발되면서, 풀브라우저(Full Browser) 서비스와 같이 동시에 여러 개의 소켓(Socket)을 개방하여 데이터를 수신할 수 있는 '논블록(nonblock)'이라는 설정 정보를 갖는 어플리케이션이 점차 늘어나고 있다.In addition to the configuration information called 'block' that performs data communication through a single socket as described above, as terminal-based applications are recently developed, several sockets can be simultaneously used as a full browser service. Increasingly, applications have configuration information called 'nonblocks' that can receive data by opening them.

이에 따라, 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말에서의 데이터 통신을 단일 소켓으로 할 것인지 멀티 소켓으로 할 것인지를 융통성있게 판단하여 효율적으로 통신을 수행할 수 있게 하는 네트워크 통신 지원 기술이 요구되고 있다.Accordingly, according to the configuration information of each application that can be driven in the terminal, the network communication support technology that can efficiently communicate by determining whether the data communication in the terminal to a single socket or multi-socket flexible It is required.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말의 각각의 어플리케이션에서의 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있도록 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법 및 시스템을 제공하는 것을 목적으로 한다.The present invention has been made to solve the above problems, according to the setting information of each application that can be driven in the terminal, so that data communication in each application of the terminal can be efficiently performed through a single socket / multi-socket An object of the present invention is to provide a method and system for supporting data communication in a terminal-based application.

또한, 본 발명은 단말 기반의 어플리케이션에서 발생되는 각각의 통신 이벤트에 포함되는 설정 정보에 따라, 각각의 통신 이벤트를 처리하기 위한 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있도록 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법 및 시스템을 제공하는 것을 목적으로 한다.In addition, the present invention, according to the configuration information included in each communication event generated in the terminal-based application, the terminal to efficiently perform data communication for processing each communication event through a single socket / multi-socket It is an object of the present invention to provide a method and system for supporting data communication in a base application.

상기와 같은 본 발명의 목적을 달성하기 위하여 본 발명의 일실시예에 따른 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법은 단말에서 구동하는 어플리케이션에 의해 발생한 제1 통신 이벤트에 연동하여 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 위한 제1 소켓을 개방하는 단계와, 상기 제1 소켓의 개방이 유지되는 동안 상기 어플리케이션에 의해 제2 통신 이벤트가 발생 함에 따라 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단하는 단계, 및 개방 허용으로 판단하는 경우, 상기 제2 소켓을 개 방하여 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the object of the present invention as described above, a data communication supporting method in a terminal-based application according to an embodiment of the present invention is linked to a first communication event generated by an application running in a terminal. Opening a first socket for data communication between the first server and the application identified by the second server; and wherein the second communication event is generated by the application while the first socket is maintained open. Determining whether to open the second socket provided separately from the socket; and if it is determined that the opening is permitted, the data between the second server and the application identified by the second communication event by opening the second socket. And performing a communication.

또한, 본 발명의 일실시예에 따른 단말 기반의 어플리케이션에서의 데이터 통신 지원 시스템은 단말에서 구동하는 어플리케이션에 의해 발생한 제1 통신 이벤트에 연동하여 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 위한 제1 소켓을 개방하는 소켓 제어 수단과, 상기 제1 소켓의 개방이 유지되는 동안 상기 어플리케이션에 의해 제2 통신 이벤트가 발생 함에 따라 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단하는 개방 여부 판단 수단, 및 개방 허용으로 판단하는 경우, 상기 제2 소켓을 개방하여 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 통신 제어 수단을 포함하는 것을 특징으로 한다.In addition, the data communication support system in a terminal-based application according to an embodiment of the present invention and the first server identified by the first communication event in conjunction with the first communication event generated by the application running in the terminal and the Socket control means for opening a first socket for data communication with an application, and a second socket provided separately from the first socket as a second communication event is generated by the application while the first socket is opened; Means for determining whether or not to open, and if it is determined to allow opening, communication to open the second socket to perform data communication between the second server identified by the second communication event and the application. And control means.

본 발명에 따르면, 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말의 각각의 어플리케이션에서의 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있게 된다.According to the present invention, according to the setting information of each application that can be driven in the terminal, it is possible to efficiently perform data communication in each application of the terminal through a single socket / multi-socket.

또한, 본 발명은 단말 기반의 어플리케이션에서 발생되는 각각의 통신 이벤트에 포함되는 설정 정보에 따라, 각각의 통신 이벤트를 처리하기 위한 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있게 된다.In addition, according to the configuration information included in each communication event generated in the terminal-based application, it is possible to efficiently perform data communication for processing each communication event through a single socket / multi-socket.

이하, 첨부된 도면을 참조하여, 본 발명에 따른 단말 기반의 어플리케이션에 서의 데이터 통신 지원 방법 및 시스템에 대하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings, a method and system for supporting data communication in a terminal-based application according to the present invention will be described in detail.

도 1은 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of a network communication support system according to an embodiment of the present invention.

네트워크 통신 지원 시스템(100)은 소켓 제어 수단(110), 개방 여부 판단 수단(120), 통신 제어 수단(130) 및 데이터베이스(140)를 포함하여 구성될 수 있다.The network communication support system 100 may include a socket control means 110, an open / close determination means 120, a communication control means 130, and a database 140.

소켓 제어 수단(110)은 단말에서 구동하는 어플리케이션에 의해 발생한 제1 통신 이벤트에 연동하여, 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 위한 제1 소켓을 개방하는 기능을 한다.The socket control means 110 opens the first socket for data communication between the first server identified by the first communication event and the application in association with a first communication event generated by an application running in the terminal. Function

예컨대, 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.naver.com'인 웹사이트의 접속 요청에 관한 제1 통신 이벤트가 발생할 경우, 소켓 제어 수단(110)은 상기 제1 통신 이벤트에 의해 식별되는 제1 서버 'NAVER'로부터 상기 웹사이트의 접속 요청에 상응하는 웹데이터를 수신하여 상기 어플리케이션 '웹브라우저'에 제공하기 위한 제1 소켓을 개방(open)할 수 있다.For example, when a first communication event regarding a connection request of a website whose URL is 'http://www.naver.com' is generated by an application 'web browser' running on a terminal, the socket control means 110 may be configured as described above. The first socket for receiving the web data corresponding to the access request of the website from the first server 'NAVER' identified by the first communication event and opening the first socket for providing to the application 'web browser' may be opened. .

즉 소켓 제어 수단(110)은 상기 제1 통신 이벤트에 연동하여 제1 서버 'NAVER'로 제1 소켓의 개방을 요청할 수 있으며, 제1 서버 'NAVER'로부터 상기 요청에 대한 허용 응답이 수신되면, 제1 소켓을 개방할 수 있다.That is, the socket control unit 110 may request the opening of the first socket to the first server 'NAVER' in association with the first communication event. When the permission response to the request is received from the first server 'NAVER', The first socket can be opened.

이에 따라 네트워크 통신 지원 시스템(100)은 상기 제1 소켓을 통해 제1 서버 'NAVER'와 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트의 접속 요청에 관한 제1 통신 이벤트를 처리할 수 있게 된다.Accordingly, the network communication support system 100 may perform data communication between the first server 'NAVER' and the application 'web browser' through the first socket so that the network communication support system 100 may process a first communication event regarding a request for accessing a website. do.

개방 여부 판단 수단(120)은 상기 제1 소켓의 개방이 유지되는 동안, 상기 어플리케이션에 의해 제2 통신 이벤트가 발생 함에 따라, 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단하는 기능을 한다.The opening determination unit 120 determines whether the second socket is opened separately from the first socket as the second communication event occurs by the application while the first socket is maintained open. Do it.

일례로, 개방 여부 판단 수단(120)은 제1 통신 이벤트를 발생시킨 상기 어플리케이션에 관한 설정 정보를 데이터베이스(140)에서 검색하고, 검색된 설정 정보가 블록(block) 설정과 관련되는 경우 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하거나, 또는 상기 검색된 설정 정보가 논블록(nonblock) 설정과 관련되는 경우 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단할 수 있다.For example, the open / close determination unit 120 searches the database 140 for setting information about the application that generated the first communication event, and the second socket when the searched setting information relates to block setting. It may be determined whether or not to open or not, or if the retrieved configuration information is related to nonblock configuration, it may be determined whether to open the second socket.

데이터베이스(140)는 단말 기반의 어플리케이션에 대한 설정 정보를, '블록(block) 설정' 또는 '논블록(nonblock) 설정'으로 사전에 유지할 수 있다. 여기서 데이터베이스(140)는 웹브라우저, 이메일 프로그램, 동영상파일 플레이어, 음악파일 플레이어, 메시지 송수신 프로그램, 게임프로그램 등 단말에서 구동 가능한 다양한 어플리케이션에 대한 설정 정보를 기록할 수 있다.The database 140 may previously maintain configuration information regarding the terminal-based application as 'block setting' or 'nonblock setting'. The database 140 may record setting information for various applications that can be driven in the terminal, such as a web browser, an e-mail program, a video file player, a music file player, a message transceiving program, a game program, and the like.

예컨대 네트워크 통신 지원 시스템(100)은 '웹브라우저'와 같이 데이터 수신 시 빠른 처리 속도가 요구되는 어플리케이션에 대해 상기 설정 정보를 '논블록(nonblock) 설정'으로 지정하여 상기 제1 소켓의 개방이 유지되는 동안 제2 소켓의 개방을 허용할 수 있으며, 또한 네트워크 통신 지원 시스템(100)은 '이메일 프로그램'와 같이 보안 유지 또는 데이터 수신의 안정성이 요구되는 어플리케이션에 대해 상기 설정 정보를 '블록(block) 설정'으로 지정하여 상기 제1 소켓의 개방이 유지되는 동안 제2 소켓의 개방을 허용 불가할 수 있다.For example, the network communication support system 100 designates the configuration information as 'nonblock setting' for an application requiring a high processing speed when receiving data such as a 'web browser' so that the opening of the first socket is maintained. The second socket may be allowed to open while the network communication support system 100 blocks the configuration information for an application that requires security such as an 'e-mail program' or stability of data reception. Set to 'set' to allow the opening of the second socket while the opening of the first socket is maintained.

다른 일례로, 개방 여부 판단 수단(120)은 상기 제1 통신 이벤트에 포함되는 설정 정보가 블록(block) 설정과 관련되는 경우 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하거나, 또는 상기 제1 통신 이벤트에 포함되는 설정 정보가 논블록(nonblock) 설정과 관련되는 경우 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단할 수 있다.As another example, the opening determination unit 120 determines whether or not opening of the second socket is impossible to open when the setting information included in the first communication event is related to block setting, or the first opening. When the configuration information included in the 1 communication event is related to the nonblock configuration, whether to open the second socket may be determined to be open permission.

즉 개방 여부 판단 수단(120)은 상술한 단말 기반의 어플리케이션 별로 지정되는 설정 정보에 따라 제2 소켓의 개방 여부를 판단하는 경우 외에, 어플리케이션에서 발생하는 제1 통신 이벤트에 포함되는 설정 정보를 고려하여, 제2 소켓의 개방 여부를 판단할 수도 있다.That is, the opening determination unit 120 determines whether to open the second socket according to the configuration information specified for each terminal-based application, and considers the configuration information included in the first communication event occurring in the application. In addition, it may be determined whether the second socket is open.

예컨대, 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 발생되는 웹사이트로의 접속 요청에 관한 제1 통신 이벤트는, 접속 요청한 웹사이트의 보안 등급이 '높음'일 경우 '블록(block) 설정'에 관한 설정 정보를 포함하도록 생성되고 '낮음'일 경우 '논블록(nonblock) 설정'에 관한 설정 정보를 포함하도록 생성될 수 있다.For example, the first communication event related to a request for access to a website generated by an application 'web browser' running on a terminal may be set to 'block setting' when the security level of the requesting website is 'high'. It may be generated to include the configuration information regarding the 'low', it may be generated to include the configuration information about the 'nonblock setting'.

즉 URL 'http://www.naver.com'인 웹사이트 'NAVER'로의 접속 요청에 관한 제1 통신 이벤트의 경우 '논블록 설정'과 관련된 설정 정보가 포함될 수 있으며, 개방 여부 판단 수단(120)은 제2 통신 이벤트의 발생에 연동하여 제2 소켓의 개방을 허용할 수 있다.That is, in the case of the first communication event regarding a request for access to the website 'NAVER' having the URL 'http://www.naver.com', the setting information related to the 'non-block setting' may be included, and the opening determining means 120 ) May allow the opening of the second socket in association with the occurrence of the second communication event.

또한 URL 'http://www.kbstar.com'인 웹사이트 '국민은행'으로의 접속 요청에 관한 제1 통신 이벤트의 경우 '블록(block) 설정'과 관련된 설정 정보가 포함될 수 있으며, 개방 여부 판단 수단(120)은 제2 통신 이벤트의 발생에 연동하여 제2 소켓의 개방을 허용 불가할 수 있다.In addition, in the case of the first communication event regarding a request for access to the website 'Kookmin Bank' at the URL 'http://www.kbstar.com', the setting information related to 'block setting' may be included, The determining means 120 may not allow opening of the second socket in association with the occurrence of the second communication event.

통신 제어 수단(130)은 개방 허용으로 판단하는 경우, 상기 제2 소켓을 개방하여 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 기능을 한다.When it is determined that the opening is permitted, the communication control unit 130 opens the second socket to perform data communication between the second server identified by the second communication event and the application.

예컨대 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.daum.net'인 웹사이트 'Daum'으로의 접속 요청에 관한 제2 통신 이벤트가 발생 함에 따라 제2 소켓에 대한 개방 여부가 개방 허용으로 판단될 경우, 통신 제어 수단(130)은 소켓 제어 수단(110)을 제어하여 제2 소켓을 개방하고, 상기 제2 소켓을 통해 제2 통신 이벤트에 의해 식별되는 제2 서버 'Daum'과 상기 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트 'Daum'의 접속 요청에 관한 제2 통신 이벤트를 처리할 수 있게 된다.For example, a second communication event regarding a connection request to a website 'Daum' whose URL is 'http://www.daum.net' is generated by an application 'web browser' running on the terminal. If it is determined that the opening is permitted to open, the communication control means 130 controls the socket control means 110 to open the second socket, and the second server identified by the second communication event through the second socket. By performing data communication between 'Daum' and the application 'web browser', it is possible to process a second communication event regarding a connection request of the website 'Daum'.

즉 통신 제어 수단(130)은 제2 소켓을 통해 상기 제2 통신 이벤트에 의해 식별되는 제2 서버 'Daum'으로부터 상기 웹사이트 'Daum'의 접속 요청에 상응하는 웹데이터를 수신하여 상기 어플리케이션 '웹브라우저'에 제공할 수 있다.That is, the communication control unit 130 receives the web data corresponding to the connection request of the website 'Daum' from the second server 'Daum' identified by the second communication event through a second socket, and thus, the application 'web'. Browser '.

따라서 본 발명에 따르면 단말 기반의 어플리케이션 '웹브라우저'는 제1 소켓과 제2 소켓을 통해(즉, 멀티 소켓을 통해) 각각 제1 서버 및 제2 서버와 데이터 통신을 수행하여 제1 통신 이벤트 및 제2 통신 이벤트를 효율적으로 처리 함으로써, 웹사이트 'NAVER'와 웹사이트 'Daum'에 최대한 빠른 속도로 접속할 수 있게 된다.Accordingly, according to the present invention, the terminal-based application 'web browser' performs data communication with the first server and the second server through the first socket and the second socket (that is, through the multi-socket), respectively. By efficiently handling the second communication event, it is possible to access the website 'NAVER' and the website 'Daum' as fast as possible.

여기서 상기 제2 서버는 상기 제1 서버와 동일한 서버일 수도 있고, 별개의 다른 서버가 될 수도 있다.In this case, the second server may be the same server as the first server, or may be another separate server.

또한 개방 여부 판단 수단(120)이 제2 소켓에 대한 개방 여부를 개방 불가로 판단하는 경우, 소켓 제어 수단(110)은 상기 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록 할 수 있다.In addition, when the open-determination means 120 determines that it is impossible to open the second socket, the socket control means 110 maintains the closure of the second socket, and the second communication event to the buffer Can record

상기 제1 소켓을 통한 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료됨에 따라, 소켓 제어 수단(110)은 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하고, 통신 제어 수단(130)은 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을, 상기 제1 소켓(즉, 단일 소켓)을 통해 수행할 수 있다.As the data communication between the first server and the application through the first socket ends, the socket control means 110 extracts the second communication event from the buffer, and the communication control means 130 extracts the data. Data communication between the second server identified by the second communication event and the application may be performed through the first socket (ie, a single socket).

또는 통신 제어 수단(130)은 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을, 상기 데이터 통신의 종료에 연동하여 폐쇄된 후, 재개방된 상기 제1 소켓(즉, 단일 소켓)을 통해 수행할 수도 있다.Alternatively, the communication control unit 130 closes the data communication between the second server identified by the extracted second communication event and the application in association with the termination of the data communication, and then reopens the first socket. (I.e. via a single socket).

즉 본 발명에 따르면, 제1 소켓을 통한 제1 서버와 어플리케이션과의 데이터 통신을 통해 제1 통신 이벤트의 처리가 완료된 후, 제2 통신 이벤트를 통해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신이 상기 제1 소켓을 통해 수행되도록 함으로써 단말 기반의 어플리케이션에서의 데이터 통신의 안정성을 향상시킬 수 있게 된다.That is, according to the present invention, after the processing of the first communication event is completed through the data communication between the first server and the application through the first socket, the data communication between the second server and the application identified through the second communication event By performing this through the first socket it is possible to improve the stability of data communication in the terminal-based application.

따라서 본 발명에 따르면 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말의 각각의 어플리케이션에서의 데이터 통신을 단일 소켓/멀티 소 켓을 통해 효율적으로 수행할 수 있게 된다. 또한, 본 발명은 단말 기반의 어플리케이션에서 발생되는 각각의 통신 이벤트에 포함되는 설정 정보에 따라, 각각의 통신 이벤트를 처리하기 위한 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있게 된다.Therefore, according to the present invention, according to the setting information of each application that can be driven in the terminal, it is possible to efficiently perform data communication in each application of the terminal through a single socket / multi-socket. In addition, according to the configuration information included in each communication event generated in the terminal-based application, it is possible to efficiently perform data communication for processing each communication event through a single socket / multi-socket.

도 2는 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템에서 개방 허용으로 판단하는 경우 제2 소켓을 개방하여 데이터 통신을 수행하는 일례를 도시한 도면이다.2 is a diagram illustrating an example of performing data communication by opening a second socket when it is determined that the opening is allowed in the network communication support system according to an exemplary embodiment of the present invention.

본 발명의 일실시예에 따른 네트워크 통신 지원 시스템은 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.naver.com'인 웹사이트의 접속 요청에 관한 제1 통신 이벤트가 발생할 경우, 제1 소켓(201)을 개방하여 제1 서버 'NAVER'(211)와 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트의 접속 요청에 관한 제1 통신 이벤트를 처리할 수 있다.In a network communication support system according to an embodiment of the present invention, a first communication event regarding a connection request of a website having a URL of 'http://www.naver.com' is generated by an application 'web browser' running on a terminal. When this occurs, the first socket 201 may be opened to perform data communication between the first server 'NAVER' 211 and the application 'web browser' to process a first communication event regarding a connection request of a website.

또한, 상기 네트워크 통신 지원 시스템은 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.daum.net'인 웹사이트 'Daum'으로의 접속 요청에 관한 제2 통신 이벤트가 발생 함에 따라 제2 소켓(202)에 대한 개방 여부가 개방 허용으로 판단될 경우, 제2 소켓(202)을 개방하고, 상기 제2 소켓(202)을 통해 제2 통신 이벤트에 의해 식별되는 제2 서버 'Daum'(212)과 상기 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트 'Daum'의 접속 요청에 관한 제2 통신 이벤트를 처리할 수 있게 된다.In addition, the network communication support system generates a second communication event related to a request for access to a website 'Daum' whose URL is 'http://www.daum.net' by an application 'web browser' running on a terminal. Therefore, when it is determined that the opening of the second socket 202 is allowed to open, the second server 202 is opened and the second server identified by the second communication event through the second socket 202. By performing data communication between the 'Daum' 212 and the application 'web browser', it is possible to process a second communication event related to a connection request of the website 'Daum'.

도 3은 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템에서 개방 불 가로 판단하는 경우의 데이터 통신을 수행하는 일례를 도시한 도면이다.FIG. 3 is a diagram illustrating an example of performing data communication when the network communication support system determines open open in accordance with an embodiment of the present invention.

본 발명의 일실시예에 따른 네트워크 통신 지원 시스템은 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.naver.com'인 웹사이트의 접속 요청에 관한 제1 통신 이벤트가 발생할 경우, 제1 소켓(301)을 개방하여 제1 서버 'NAVER'(311)와 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트의 접속 요청에 관한 제1 통신 이벤트를 처리할 수 있다.In a network communication support system according to an embodiment of the present invention, a first communication event regarding a connection request of a website having a URL of 'http://www.naver.com' is generated by an application 'web browser' running on a terminal. When it occurs, the first socket 301 may be opened to perform data communication between the first server 'NAVER' 311 and the application 'web browser' to process a first communication event regarding a request for access to a website.

또한, 상기 네트워크 통신 지원 시스템은 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.daum.net'인 웹사이트 'Daum'으로의 접속 요청에 관한 제2 통신 이벤트가 발생 함에 따라 제2 소켓에 대한 개방 여부가 개방 불가로 판단될 경우, 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록 할 수 있다.In addition, the network communication support system generates a second communication event related to a request for access to a website 'Daum' whose URL is 'http://www.daum.net' by an application 'web browser' running on a terminal. Accordingly, when it is determined that the opening of the second socket is impossible, the closure of the second socket may be maintained and the second communication event may be recorded in the buffer.

이때, 제1 소켓(301)을 통한 제1 서버(311)와 상기 어플리케이션과의 데이터 통신이 종료되면, 상기 네트워크 통신 지원 시스템은 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하여 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버(312)와 상기 어플리케이션과의 데이터 통신을, 상기 제1 소켓(즉, 단일 소켓)을 통해 수행할 수 있게 된다.In this case, when data communication between the first server 311 and the application through the first socket 301 is terminated, the network communication support system extracts the second communication event from the buffer and the extracted second communication. Data communication between the second server 312 and the application identified by the event may be performed through the first socket (ie, a single socket).

도 4는 본 발명의 일실시예에 따른 네트워크 통신 지원 방법의 순서를 도시한 흐름도이다.4 is a flowchart illustrating a procedure of a network communication supporting method according to an embodiment of the present invention.

상기 데이터 통신 지원 방법은 본 발명의 데이터 통신 지원 시스템에 의해 구현될 수 있다. 또한, 이하 도 4의 설명에서는 상술한 도 1을 함께 참조하여 도 4를 설명하여 발명의 이해를 도모한다.The data communication support method may be implemented by the data communication support system of the present invention. In addition, in the following description of FIG. 4, FIG. 4 will be described with reference to FIG. 1.

단계 S405에서 데이터 통신 지원 시스템은 단말에서 구동하는 어플리케이션에 의해 제1 통신 이벤트가 발생하는지를 판단한다.In operation S405, the data communication support system determines whether the first communication event occurs by an application running in the terminal.

상기 단계 S405에서의 판단 결과, 제1 통신 이벤트가 발생할 경우, 단계 S410, S415에서 데이터 통신 지원 시스템은 제1 통신 이벤트에 연동하여 제1 소켓을 개방하여 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 수행한다.As a result of the determination in step S405, when a first communication event occurs, in step S410 and S415, the data communication support system opens the first socket in association with the first communication event to identify the first communication event. Perform data communication between a server and the application.

예컨대, 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 URL이 'http://www.naver.com'인 웹사이트의 접속 요청에 관한 제1 통신 이벤트가 발생할 경우, 소켓 제어 수단(110)은 상기 제1 통신 이벤트에 의해 식별되는 제1 서버 'NAVER'로부터 상기 웹사이트의 접속 요청에 상응하는 웹데이터를 수신하여 상기 어플리케이션 '웹브라우저'에 제공하기 위한 제1 소켓을 개방(open)할 수 있다.For example, when a first communication event regarding a connection request of a website whose URL is 'http://www.naver.com' is generated by an application 'web browser' running on a terminal, the socket control means 110 may be configured as described above. The first socket for receiving the web data corresponding to the access request of the website from the first server 'NAVER' identified by the first communication event and opening the first socket for providing to the application 'web browser' may be opened. .

이에 따라 네트워크 통신 지원 시스템(100)은 상기 제1 소켓을 통해 제1 서버 'NAVER'와 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트의 접속 요청에 관한 제1 통신 이벤트를 처리할 수 있게 된다.Accordingly, the network communication support system 100 may perform data communication between the first server 'NAVER' and the application 'web browser' through the first socket so that the network communication support system 100 may process a first communication event regarding a request for accessing a website. do.

단계 S420에서 데이터 통신 지원 시스템은 상기 제1 소켓의 개방이 유지되는 동안, 단말에서 구동하는 상기 어플리케이션에 의해 제2 통신 이벤트가 발생하는지를 판단한다.In operation S420, the data communication support system determines whether a second communication event occurs by the application running on the terminal while the first socket is maintained open.

상기 단계 S420에서의 판단 결과, 상기 제1 소켓의 개방이 유지되는 동안 제2 통신 이벤트가 발생할 경우, 단계 S425에서 데이터 통신 지원 시스템은 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단한다.As a result of the determination in step S420, when a second communication event occurs while the opening of the first socket is maintained, the data communication support system determines whether to open the second socket provided separately from the first socket in step S425. do.

예컨대 네트워크 통신 지원 시스템(100)은 '웹브라우저'와 같이 데이터 수신 시 빠른 처리 속도가 요구되는 어플리케이션에 대해 상기 설정 정보를 '논블록(nonblock) 설정'으로 지정하여 상기 제1 소켓의 개방이 유지되는 동안 제2 소켓의 개방을 허용할 수 있으며, 또한 네트워크 통신 지원 시스템(100)은 '이메일 프로그램'와 같이 보안 유지 또는 데이터 수신의 안정성이 요구되는 어플리케이션에 대해 상기 설정 정보를 '블록(block) 설정'으로 지정하여 상기 제1 소켓의 개방이 유지되는 동안 제2 소켓의 개방을 허용 불가할 수 있다.For example, the network communication support system 100 designates the configuration information as 'nonblock setting' for an application requiring a high processing speed when receiving data such as a 'web browser' so that the opening of the first socket is maintained. The second socket may be allowed to open while the network communication support system 100 blocks the configuration information for an application that requires security such as an 'e-mail program' or stability of data reception. Set to 'set' to allow the opening of the second socket while the opening of the first socket is maintained.

또한, 단말에서 구동하는 어플리케이션 '웹브라우저'에 의해 발생되는 웹사이트로의 접속 요청에 관한 제1 통신 이벤트는, 접속 요청한 웹사이트의 보안 등급이 '높음'일 경우 '블록(block) 설정'에 관한 설정 정보를 포함하도록 생성되고 '낮음'일 경우 '논블록(nonblock) 설정'에 관한 설정 정보를 포함하도록 생성될 수 있다. 따라서 URL 'http://www.naver.com'인 웹사이트 'NAVER'로의 접속 요청에 관한 제1 통신 이벤트의 경우 '논블록 설정'과 관련된 설정 정보가 포함될 수 있으며 개방 여부 판단 수단(120)은 제2 통신 이벤트의 발생에 연동하여 제2 소켓의 개방을 허용할 수 있다. 또한 URL'http://www.kbstar.com'인 웹사이트 '국민은행'으로의 접속 요청에 관한 제1 통신 이벤트의 경우 '블록(block) 설정'과 관련된 설정 정보가 포함될 수 있으며 개방 여부 판단 수단(120)은 제2 통신 이벤트의 발생에 연동하여 제2 소켓의 개방을 허용 불가할 수 있다.In addition, the first communication event related to the request for access to the website generated by the application 'web browser' running on the terminal is set to 'block setting' when the security level of the requesting website is 'high'. It may be generated to include the configuration information regarding the 'low', it may be generated to include the configuration information about the 'nonblock setting'. Therefore, in the case of the first communication event related to the request for access to the website 'NAVER' at the URL 'http://www.naver.com', the setting information related to the 'non-block setting' may be included and the opening determination means 120 May allow opening of the second socket in association with the occurrence of the second communication event. In addition, in the case of the first communication event related to the request for access to the website 'Kookmin Bank' at the URL 'http://www.kbstar.com', the setting information related to 'block setting' may be included and is determined to be open. The means 120 may not allow opening of the second socket in conjunction with the occurrence of the second communication event.

상기 단계 S425에서의 판단 결과, 제2 소켓에 대한 개방 여부가 개방 허용으 로 판단될 경우, 단계 S430, S435에서 데이터 통신 지원 시스템은 제2 소켓을 개방하여 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행한다.As a result of the determination in step S425, if it is determined that the opening is permitted to the second socket, in step S430 and S435, the data communication support system opens the second socket to identify the second communication event. 2 Performs data communication between the server and the application.

예컨대, 통신 제어 수단(130)은 소켓 제어 수단(110)을 제어하여 제2 소켓을 개방하고, 상기 제2 소켓을 통해 제2 통신 이벤트에 의해 식별되는 제2 서버 'Daum'과 상기 어플리케이션 '웹브라우저'의 데이터 통신을 수행 함으로써 웹사이트 'Daum'의 접속 요청에 관한 제2 통신 이벤트를 처리할 수 있게 된다.For example, the communication control means 130 controls the socket control means 110 to open a second socket, and the second server 'Daum' and the application 'web identified by the second communication event through the second socket. By performing the data communication of the browser, the second communication event regarding the access request of the website 'Daum' may be processed.

즉 통신 제어 수단(130)은 제2 소켓을 통해 상기 제2 통신 이벤트에 의해 식별되는 제2 서버 'Daum'으로부터 상기 웹사이트 'Daum'의 접속 요청에 상응하는 웹데이터를 수신하여 상기 어플리케이션 '웹브라우저'에 제공할 수 있다.That is, the communication control unit 130 receives the web data corresponding to the connection request of the website 'Daum' from the second server 'Daum' identified by the second communication event through a second socket, and thus, the application 'web'. Browser '.

따라서 본 발명에 따르면 단말 기반의 어플리케이션 '웹브라우저'는 제1 소켓과 제2 소켓을 통해(즉, 멀티 소켓을 통해) 각각 제1 서버 및 제2 서버와 데이터 통신을 수행하여 제1 통신 이벤트 및 제2 통신 이벤트를 효율적으로 처리 함으로써, 웹사이트 'NAVER'와 웹사이트 'Daum'에 최대한 빠른 속도로 접속할 수 있게 된다.Accordingly, according to the present invention, the terminal-based application 'web browser' performs data communication with the first server and the second server through the first socket and the second socket (that is, through the multi-socket), respectively. By efficiently handling the second communication event, it is possible to access the website 'NAVER' and the website 'Daum' as fast as possible.

여기서 상기 제2 서버는 상기 제1 서버와 동일한 서버일 수도 있고, 별개의 다른 서버가 될 수도 있다.In this case, the second server may be the same server as the first server, or may be another separate server.

상기 단계 S425에서의 판단 결과, 제2 소켓에 대한 개방 여부가 개방 불가로 판단될 경우, 단계 S440에서 데이터 통신 지원 시스템은 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록한다.As a result of the determination in step S425, if it is determined that the opening of the second socket is impossible, in step S440, the data communication support system maintains the closing of the second socket, and records the second communication event in the buffer. do.

단계 S445에서 데이터 통신 지원 시스템은 상기 제1 소켓을 통한 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료되는지를 판단하고, 상기 판단 결과, 상기 어플리케이션과의 데이터 통신이 종료될 경우, 단계 S450, S455에서 데이터 통신 지원 시스템은 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하고 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을, 상기 제1 소켓(즉, 단일 소켓)을 통해 수행한다.In step S445, the data communication support system determines whether data communication between the first server and the application through the first socket is terminated. When the data communication with the application is terminated as a result of the determination, step S450, In S455, the data communication support system extracts the second communication event from the buffer and performs data communication between the second server and the application identified by the extracted second communication event, the first socket (ie, a single socket). Do it through.

또는 통신 제어 수단(130)은 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을, 상기 데이터 통신의 종료에 연동하여 폐쇄된 후, 재개방된 상기 제1 소켓을 통해 수행할 수도 있다.Alternatively, the communication control unit 130 closes the data communication between the second server identified by the extracted second communication event and the application in association with the termination of the data communication, and then reopens the first socket. It can also be done through:

즉 본 발명에 따르면, 제1 소켓을 통한 제1 서버와 어플리케이션과의 데이터 통신을 통해 제1 통신 이벤트의 처리가 완료된 후, 제2 통신 이벤트를 통해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신이 상기 제1 소켓을 통해 수행되도록 함으로써 단말 기반의 어플리케이션에서의 데이터 통신의 안정성을 향상시킬 수 있게 된다.That is, according to the present invention, after the processing of the first communication event is completed through the data communication between the first server and the application through the first socket, the data communication between the second server and the application identified through the second communication event By performing this through the first socket it is possible to improve the stability of data communication in the terminal-based application.

따라서 본 발명에 따르면 단말에서 구동 가능한 어플리케이션 각각의 설정 정보에 따라, 단말의 각각의 어플리케이션에서의 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있게 된다. 또한, 본 발명은 단말 기반의 어플리케이션에서 발생되는 각각의 통신 이벤트에 포함되는 설정 정보에 따라, 각각의 통신 이벤트를 처리하기 위한 데이터 통신을 단일 소켓/멀티 소켓을 통해 효율적으로 수행할 수 있게 된다.Therefore, according to the present invention, according to the configuration information of each application that can be driven in the terminal, it is possible to efficiently perform data communication in each application of the terminal through a single socket / multi-socket. In addition, according to the configuration information included in each communication event generated in the terminal-based application, it is possible to efficiently perform data communication for processing each communication event through a single socket / multi-socket.

또한, 본 발명의 실시예들은 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터 판독 가능 매체를 포함한다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.In addition, embodiments of the present invention include computer-readable media containing program instructions for performing various computer-implemented operations. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The medium or program instructions may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.

지금까지 본 발명에 따른 구체적인 실시예에 관하여 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서는 여러 가지 변형이 가능함은 물론이다. 그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.While specific embodiments of the present invention have been described so far, various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the claims below, but also by those equivalent to the claims.

도 1은 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of a network communication support system according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템에서 개방 허용으로 판단하는 경우 제2 소켓을 개방하여 데이터 통신을 수행하는 일례를 도시한 도면이다.2 is a diagram illustrating an example of performing data communication by opening a second socket when it is determined that the opening is allowed in the network communication support system according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 네트워크 통신 지원 시스템에서 개방 불가로 판단하는 경우의 데이터 통신을 수행하는 일례를 도시한 도면이다.3 is a diagram illustrating an example of performing data communication when it is determined that opening is impossible in a network communication support system according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 네트워크 통신 지원 방법의 순서를 도시한 흐름도이다.4 is a flowchart illustrating a procedure of a network communication supporting method according to an embodiment of the present invention.

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

100: 네트워크 통신 지원 시스템100: network communication support system

110: 소켓 제어 수단110: socket control means

120: 개방 여부 판단 수단120: means for determining open

130: 통신 제어 수단130: communication control means

140: 데이터베이스140: database

Claims (11)

단말에서 구동하는 어플리케이션에 의해 발생한 제1 통신 이벤트에 연동하여, 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 위한 제1 소켓을 개방하는 단계;Opening a first socket for data communication between a first server identified by the first communication event and the application in association with a first communication event generated by an application running in a terminal; 상기 제1 소켓의 개방이 유지되는 동안, 상기 어플리케이션에 의해 제2 통신 이벤트가 발생 함에 따라, 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단하는 단계; 및Determining whether to open a second socket provided separately from the first socket as a second communication event occurs by the application while the first socket is maintained open; And 개방 허용으로 판단하는 경우, 상기 제2 소켓을 개방하여, 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 단계Opening the second socket to perform data communication between the second server identified by the second communication event and the application when determining that the opening is allowed. 를 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법.Data communication support method in a terminal-based application comprising a. 제1항에 있어서,The method of claim 1, 개방 불가로 판단하는 경우, 상기 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록하는 단계;If not determined to be open, maintaining a closure to the second socket and writing the second communication event to a buffer; 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료됨에 따라, 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하는 단계; 및Extracting the second communication event from the buffer when data communication between the first server and the application is terminated; And 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이 션과의 데이터 통신을, 상기 제1 소켓을 통해 수행하는 단계Performing data communication between the application and the second server identified by the extracted second communication event, through the first socket; 를 더 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법.Data communication support method in a terminal based application, characterized in that it further comprises. 제1항에 있어서,The method of claim 1, 개방 불가로 판단하는 경우, 상기 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록하는 단계;If not determined to be open, maintaining a closure to the second socket and writing the second communication event to a buffer; 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료됨에 따라, 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하는 단계; 및Extracting the second communication event from the buffer when data communication between the first server and the application is terminated; And 상기 데이터 통신의 종료에 연동하여 폐쇄된 상기 제1 소켓을 재개방하여, 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 단계Reopening the closed first socket in association with the termination of the data communication to perform data communication with the application and the second server identified by the extracted second communication event; 를 더 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 방법.Data communication support method in a terminal based application, characterized in that it further comprises. 제1항에 있어서,The method of claim 1, 판단하는 상기 단계는,The step of determining, 상기 제1 통신 이벤트에 포함되는 설정 정보가 블록(block) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하는 단계; 또는When setting information included in the first communication event is related to block setting, determining whether the second socket is open or not; or 상기 제1 통신 이벤트에 포함되는 설정 정보가 논블록(nonblock) 설정과 관 련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단하는 단계If setting information included in the first communication event is related to nonblock configuration, determining whether to open the second socket as allow to open. 를 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 네트워크 통신 지원 방법.Network communication support method in a terminal-based application comprising a. 제1항에 있어서,The method of claim 1, 판단하는 상기 단계는,The determining step, 어플리케이션에 대한 설정 정보를 기록하는 데이터베이스를 유지하는 단계;Maintaining a database for recording setting information for an application; 제1 통신 이벤트를 발생시킨 상기 어플리케이션에 관한 설정 정보를, 상기 데이터베이스에서 검색하는 단계; 및Retrieving, from the database, setting information about the application that generated the first communication event; And 상기 검색된 설정 정보가 블록(block) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하는 단계; 또는If the retrieved configuration information is related to block configuration, determining whether the second socket is open or not; or 상기 검색된 설정 정보가 논블록(nonblock) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단하는 단계If the retrieved configuration information relates to a nonblock configuration, determining whether to open the second socket as an allow permission. 를 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 네트워크 통신 지원 방법.Network communication support method in a terminal-based application comprising a. 제1항 내지 제5항 중 어느 한 항의 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능 기록매체.A computer-readable recording medium having recorded thereon a program for performing the method of any one of claims 1 to 5. 단말에서 구동하는 어플리케이션에 의해 발생한 제1 통신 이벤트에 연동하 여, 상기 제1 통신 이벤트에 의해 식별되는 제1 서버와 상기 어플리케이션과의 데이터 통신을 위한 제1 소켓을 개방하는 소켓 제어 수단;Socket control means for opening a first socket for data communication between the first server identified by the first communication event and the application in association with a first communication event generated by an application running on a terminal; 상기 제1 소켓의 개방이 유지되는 동안, 상기 어플리케이션에 의해 제2 통신 이벤트가 발생 함에 따라, 상기 제1 소켓과 별도로 마련된 제2 소켓에 대한 개방 여부를 판단하는 개방 여부 판단 수단; 및Opening determination means for determining whether to open the second socket provided separately from the first socket as a second communication event is generated by the application while the opening of the first socket is maintained; And 개방 허용으로 판단하는 경우, 상기 제2 소켓을 개방하여, 상기 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 통신 제어 수단A communication control means for opening the second socket to perform data communication between the second server identified by the second communication event and the application, if it is determined that the opening is allowed. 을 포함하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 시스템.Data communication support system in a terminal-based application comprising a. 제7항에 있어서,The method of claim 7, wherein 개방 불가로 판단하는 경우,If it is determined that it cannot be opened, 상기 소켓 제어 수단은,The socket control means, 상기 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록하고, 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료됨에 따라, 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하고,Maintain a closure to the second socket, write the second communication event to a buffer, extract data from the buffer as the data communication between the first server and the application terminates, 상기 통신 제어 수단은,The communication control means, 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을, 상기 제1 소켓을 통해 수행하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 시스템.And a data communication between the second server identified by the extracted second communication event and the application through the first socket. 제7항에 있어서,The method of claim 7, wherein 개방 불가로 판단하는 경우,If it is determined that it cannot be opened, 상기 소켓 제어 수단은,The socket control means, 상기 제2 소켓에 대한 폐쇄를 유지하고, 상기 제2 통신 이벤트를 버퍼에 기록하고, 상기 제1 서버와 상기 어플리케이션과의 데이터 통신이 종료됨에 따라, 상기 버퍼로부터 상기 제2 통신 이벤트를 추출하고, 상기 데이터 통신의 종료에 연동하여 폐쇄된 상기 제1 소켓을 재개방하고,Maintain a closure to the second socket, write the second communication event to a buffer, extract data from the buffer as the data communication between the first server and the application terminates, Reopening the closed first socket in association with the termination of the data communication; 상기 통신 제어 수단은,The communication control means, 상기 추출된 제2 통신 이벤트에 의해 식별되는 제2 서버와 상기 어플리케이션과의 데이터 통신을 수행하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 데이터 통신 지원 시스템.And a data communication between the second server identified by the extracted second communication event and the application. 제7항에 있어서,The method of claim 7, wherein 상기 개방 여부 판단 수단은,The opening determination means, 상기 제1 통신 이벤트에 포함되는 설정 정보가 블록(block) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하거나, 또는 상기 제1 통신 이벤트에 포함되는 설정 정보가 논블록(nonblock) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 네트워크 통신 지원 시스템.If the configuration information included in the first communication event is related to block configuration, it is determined whether the second socket is open or non-openable, or the configuration information included in the first communication event is non-block. and (nonblock), the network communication support system in a terminal-based application, characterized in that it is determined whether to open or not to open the second socket. 제7항에 있어서,The method of claim 7, wherein 어플리케이션에 대한 설정 정보를 기록하는 데이터베이스를 더 포함하고,Further comprising a database for recording the setting information for the application, 상기 개방 여부 판단 수단은,The opening determination means, 제1 통신 이벤트를 발생시킨 상기 어플리케이션에 관한 설정 정보를 상기 데이터베이스에서 검색하고, 상기 검색된 설정 정보가 블록(block) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 불가로 판단하거나, 또는 상기 검색된 설정 정보가 논블록(nonblock) 설정과 관련되는 경우, 상기 제2 소켓에 대한 개방 여부를 개방 허용으로 판단하는 것을 특징으로 하는 단말 기반의 어플리케이션에서의 네트워크 통신 지원 시스템.Search the database for configuration information about the application that generated the first communication event, and if the searched configuration information relates to block configuration, it is determined whether the second socket is open or not; Or if the retrieved configuration information relates to a nonblock configuration, determining whether to open the second socket as an allow permission to open the network.
KR1020080054650A 2008-06-11 2008-06-11 Method and system for supporting data communication in terminal-based application KR20090128742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080054650A KR20090128742A (en) 2008-06-11 2008-06-11 Method and system for supporting data communication in terminal-based application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080054650A KR20090128742A (en) 2008-06-11 2008-06-11 Method and system for supporting data communication in terminal-based application

Publications (1)

Publication Number Publication Date
KR20090128742A true KR20090128742A (en) 2009-12-16

Family

ID=41688923

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080054650A KR20090128742A (en) 2008-06-11 2008-06-11 Method and system for supporting data communication in terminal-based application

Country Status (1)

Country Link
KR (1) KR20090128742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110101603A (en) * 2010-03-09 2011-09-16 주식회사 엘지유플러스 Mobile communication terminal for supporting application updating and method for operating thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110101603A (en) * 2010-03-09 2011-09-16 주식회사 엘지유플러스 Mobile communication terminal for supporting application updating and method for operating thereof

Similar Documents

Publication Publication Date Title
US10270779B2 (en) Method and apparatus for determining phishing website
US10482134B2 (en) Document management techniques to account for user-specific patterns in document metadata
US10225363B2 (en) Methods and systems for providing a consistent profile to overlapping user sessions
CN106961420B (en) Cookie information processing method and device
US7831578B2 (en) Apparatus for file system management with virtual file name
US6473756B1 (en) Method for selecting among equivalent files on a global computer network
WO2010096211A1 (en) Method and system of processing cookies across domains
CN101952823B (en) Method for media discovery
CN114143261B (en) Method and system for dynamically routing back-end address by API gateway
CN112954043B (en) Method for identifying user based on website access log and computer equipment
JP5181691B2 (en) Information processing apparatus, information processing method, computer program, and recording medium
US20130318211A1 (en) Asset streaming and delivery
US9356845B1 (en) System and method for audience segment profiling and targeting
CN110352410A (en) Track the access module and preextraction index node of index node
CN107886008B (en) File management method, system, device and computer readable storage medium
CN101231655A (en) Method and system for processing search engine results
US11580152B1 (en) Using path-based indexing to access media recordings stored in a media storage service
US10839066B1 (en) Distinguishing human from machine input using an animation
CN102333123B (en) File storage method and device, searching method and device and network device
US20090234851A1 (en) Browser Use of Directory Listing for Predictive Type-Ahead
KR20090128742A (en) Method and system for supporting data communication in terminal-based application
JP2009199385A (en) Information management unit
KR102311355B1 (en) Phishing malware detection method for public and financial institutions using words in image and voice files and whitelists
KR100921712B1 (en) Method and system for protecting harmful web site
US8082334B1 (en) Providing direct access to managed content

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination