KR20150115437A - Web service adapter and integrated sns gateway having therof - Google Patents

Web service adapter and integrated sns gateway having therof Download PDF

Info

Publication number
KR20150115437A
KR20150115437A KR1020140040489A KR20140040489A KR20150115437A KR 20150115437 A KR20150115437 A KR 20150115437A KR 1020140040489 A KR1020140040489 A KR 1020140040489A KR 20140040489 A KR20140040489 A KR 20140040489A KR 20150115437 A KR20150115437 A KR 20150115437A
Authority
KR
South Korea
Prior art keywords
sns
integrated
gateway
web service
content
Prior art date
Application number
KR1020140040489A
Other languages
Korean (ko)
Other versions
KR101579525B1 (en
Inventor
백상엽
한덕구
주홍택
정인식
권동우
김현우
Original Assignee
주식회사 퓨전소프트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 퓨전소프트 filed Critical 주식회사 퓨전소프트
Priority to KR1020140040489A priority Critical patent/KR101579525B1/en
Publication of KR20150115437A publication Critical patent/KR20150115437A/en
Application granted granted Critical
Publication of KR101579525B1 publication Critical patent/KR101579525B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The present invention relates to a web service adapter and an integrated SNS gateway including the same. The web service adapter according to the embodiment of the present invention includes a protocol conversion unit which converts an integrated SNS protocol to each exclusive protocol which a plurality of SNS servers use in a communication, a communication unit which independently communicates with the SNS servers by using the exclusive protocol which the SNS servers use in the communication, and a plurality of content providers which are implemented with an application programming interface corresponding to each SNS server with which the communication unit communicates.

Description

웹 서비스 어댑터 및 이를 포함하는 통합 SNS 게이트웨이{WEB SERVICE ADAPTER AND INTEGRATED SNS GATEWAY HAVING THEROF}[0001] WEB SERVICE ADAPTER AND INTEGRATED SNS GATEWAY HAVING THEROF [0002]

본 발명은 웹 서비스 어댑터에 관한 것으로서, 보다 구체적으로는 통합 SNS 게이트웨이와 SNS 서버 간의 데이터 통신을 담당하는 웹 서비스 어댑터와 이를 포함하는 통합 SNS 게이트웨이에 관한 것이다.The present invention relates to a web service adapter, and more particularly, to a web service adapter responsible for data communication between an integrated SNS gateway and an SNS server and an integrated SNS gateway including the same.

Social Network Service(SNS)는 손쉽게 다른 사람들과 관계를 유지하거나 만들 수 있고 개인적인 의견을 공유할 수 있는 서비스이다. 이 때문에 현재도 전 세계적으로 사용자의 수가 꾸준하게 증가하고 있다. 대부분의 SNS는 편리한 서비스 제공을 위해 스마트폰을 지원함으로써 모바일 SNS를 이용하는 사용자도 많아졌다. 실제 조사를 따르면 스마트폰의 사용자 60.3%가 SNS를 이용한 경험이 있는 것으로 나타났고, 또 SNS 경험자의 84.7%가 스마트폰을 통해 SNS를 이용한다고 나타났다. 하지만 스마트폰으로 SNS를 이용하는 사용자가 증가하면서 고려할 사항도 늘어났다. 실제로 SNS를 이용하면서 사용자들의 트래픽이 과도하게 몰리는 현상으로 인해 장애가 일어나기도 했다. 특정 모바일 SNS의 사례를 보면, SNS의 메시지의 전달방식으로 폴링방식을 사용하였는데 SNS 사용자들의 빈번한 메시지 전송으로 인해 많은 메시지를 전달하는 과정에서 해당 메신저의 서버뿐만 아니라 모바일 통신사의 인터넷속도까지 느려지게 만들었다. 또 다른 SNS는 사용자를 대상으로 한 이벤트로 인해 특정 페이지에 집중적으로 사용자들이 몰리게 됨으로써 해당 페이지가 한동안 동작하지 않았다. 이처럼 사용자들이 한 서버에 많은 요청을 하게 되면 분산 서비스 거부(Distributed Denial-of-Service, DDoS)공격과 유사한 형태로 해당 서버 또는 네트워크가 마비되는 현상을 일으킬 수도 있다. 이러한 현상은 일시적으로 서버의 동작이 정지시키며 사용자에게 불편함을 제공하고 운영기업의 서비스 신뢰성 하락을 가져올 수 있어 기업 이미지에 치명적일 수 있다.
Social Network Service (SNS) is a service that allows you to easily maintain relationships with others and share personal opinions. Because of this, the number of users worldwide is steadily increasing. Most SNSs support smart phones to provide convenient services, and many users use mobile SNS. According to actual research, 60.3% of smartphone users have experience using SNS, and 84.7% of experienced users of SNS have used SNS through smartphone. However, the number of users who use SNS as a smartphone has also increased. In fact, the use of SNS and the excessive traffic of users' traffic caused the failure. In the case of a specific mobile SNS, the polling method is used as a delivery method of the SNS message. However, due to the frequent message transmission by the SNS users, in the process of delivering a large number of messages, the speed of the Internet service of the mobile communication company as well as the server of the instant messenger . Another SNS is that users are focused on specific pages because of events that are targeted to users, so the page has not worked for a while. If a user makes a large number of requests to a server, the server or the network may be paralyzed in a manner similar to a Distributed Denial-of-Service (DDoS) attack. Such a phenomenon may temporarily cause the operation of the server to be stopped, inconvenience to the user, and deterioration of service reliability of the operating company, which can be fatal to the corporate image.

이와 같은 문제점을 해결하기 위하여, 웹 캐싱을 이용하여 네트워크 병목현상을 해결하는 방법이 제안되었다(J. Y. Kim, K. W. Cho, and K. Koh, “A proxy server structure and its cache consistency mechanism at the network bottleneck,” in Proc. Annu. Int‘l Comput. Software Appl. Conf. (COMPSAC 1999), pp. 278-283, Phoenix, USA, Oct. 1999. 참조). 그러나, 각 SNS 서버들은 표준에 의한 통신 프로토콜이 아닌 자가 전용 통신 프로토콜을 사용하고 있어서, 복수의 SNS 서버에 통합적으로 이 방법을 적용하기는 힘들다는 문제가 있다. 이에 본 발명자는 특허출원 제10-2013-0030335호에서 SNS의 통신성능 개선을 위해서 애플리케이션 게이트웨이방식을 제안하였다. 본 방법은, 하나 이상의 SNS 서버와 개별적인 프로토콜로 통신하고, 클라이언트와는 통합 SNS 프로토콜로 통신하며, 그 과정에서 동기화 기능이나 캐싱 기능을 수행하여 트래픽을 감소시키고 응답속도를 향상시키는 것이다. 그러나 종래의 방법에서는, SNS 서버와의 구체적인 통신 방식이 개발되지 않아 실질적 적용에 미흡하다는 문제가 있었다.In order to solve such a problem, a method of solving a network bottleneck phenomenon using web caching has been proposed (JY Kim, KW Cho, and K. Koh, "A proxy server structure and its cache consistency mechanism at the network bottleneck, &Quot; in Proc. Annu. Int'l Comput. Software Appl. Conf. (COMPSAC 1999), pp. 278-283, Phoenix, USA, Oct. 1999). However, since each SNS server uses a self-dedicated communication protocol, not a standard communication protocol, there is a problem that it is difficult to apply this method to a plurality of SNS servers in an integrated manner. Accordingly, the present inventor proposed an application gateway method for improving the communication performance of the SNS in Patent Application No. 10-2013-0030335. The method communicates with one or more SNS servers in a separate protocol, communicates with the client in an integrated SNS protocol, and performs synchronization and caching functions in the process to reduce traffic and improve response speed. However, in the conventional method, there is a problem that a practical communication method with the SNS server is not developed and thus the application is insufficient.

본 발명은 기존에 제안된 방법들의 상기와 같은 문제점들을 해결하기 위해 제안된 것으로서, 통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이에서 통합 SNS 게이트웨이와 상기 SNS 서버 간의 데이터 통신을 담당하는 웹 서비스 어댑터를, 통합 SNS 게이트웨이가 사용자 단말기와 통신하는 통합 SNS 프로토콜을 복수의 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜로 변환하는 프로토콜 변환부; 복수의 SNS 서버가 통신에 사용하는 전용 프로토콜을 사용하여 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및 통신부가 통신하는 복수의 SNS 서버 각각에 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하여 구성함으로써, 사용자 입장에서는 하나의 통합 SNS 애플리케이션에서 한 번의 동작으로 다양한 종류의 SNS 정보들을 빠르게 얻을 수 있고, SNS 서버 입장에서는 SNS 콘텐츠에 대한 요청 트래픽이 감소되는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터 및 이를 포함하는 통합 SNS 게이트웨이를 제공하는 것을 그 목적으로 한다.
SUMMARY OF THE INVENTION The present invention has been proposed in order to solve the above-mentioned problems of the existing methods, and it is an object of the present invention to provide an integrated SNS gateway which integrates data communication between a user terminal equipped with an integrated SNS application and a plurality of SNS servers, A protocol conversion unit for converting the integrated SNS protocol in which the integrated SNS gateway communicates with the user terminal into respective dedicated protocols used by the plurality of SNS servers for communication; A communication unit for independently communicating with each of the plurality of SNS servers using a dedicated protocol used by the plurality of SNS servers for communication; And a plurality of content providers implemented by an API (Application Programming Interface) corresponding to each of a plurality of SNS servers with which the communication unit communicates. By thus configuring the SNS application in a single operation in one integrated SNS application, The present invention aims to provide a web service adapter for an integrated SNS gateway in which information can be quickly obtained and request traffic for SNS contents is reduced in the SNS server, and an integrated SNS gateway including the same.

또한, 본 발명은, 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행하여, SNS 서버별 접근 토큰을 보유하는 인증 모듈을 더 포함함으로써, 사용자가 복잡한 인증을 복수 회 진행할 필요가 없고, SNS 인증의 통합 관리가 가능한, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터 및 이를 포함하는 통합 SNS 게이트웨이를 제공하는 것을 또 다른 목적으로 한다.The present invention further includes an authentication module for requesting an access token from each SNS server and for performing user login when the user authentication request is received from the corresponding SNS server to hold an access token for each SNS server It is another object of the present invention to provide a Web service adapter for an integrated SNS gateway and an integrated SNS gateway including the SNS gateway, wherein the user does not have to carry out complicated authentication a plurality of times and can perform integrated management of SNS authentication.

상기한 목적을 달성하기 위한 본 발명의 특징에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터는,According to an aspect of the present invention, there is provided a web service adapter for an integrated SNS gateway,

통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이에서 상기 통합 SNS 게이트웨이와 상기 SNS 서버 간의 데이터 통신을 담당하는 것으로서,An integrated SNS gateway for collectively providing data communication between a user terminal equipped with an integrated SNS application and a plurality of SNS servers, which is responsible for data communication between the integrated SNS gateway and the SNS server,

상기 통합 SNS 게이트웨이가 상기 사용자 단말기와 통신하는 통합 SNS 프로토콜을 상기 복수의 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜로 변환하는 프로토콜 변환부;A protocol converter for converting an integrated SNS protocol in which the integrated SNS gateway communicates with the user terminal into respective dedicated protocols used by the plurality of SNS servers for communication;

상기 복수의 SNS 서버가 통신에 사용하는 전용 프로토콜을 사용하여 상기 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및A communication unit for independently communicating with each of the plurality of SNS servers using a dedicated protocol used by the plurality of SNS servers for communication; And

상기 통신부가 통신하는 복수의 SNS 서버 각각에 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하는 것을 그 구성상의 특징으로 한다.
And a plurality of content providers implemented by an API (Application Programming Interface) corresponding to each of the plurality of SNS servers communicated by the communication unit.

바람직하게는, 상기 웹 서비스 어댑터는,Advantageously, the web service adapter comprises:

상기 SNS 서버에의 접근을 요청하고 허용받는 인증 모듈을 더 포함할 수 있다.
The authentication module may further include an authentication module for requesting access to the SNS server.

더욱 바람직하게는, 상기 인증 모듈은,More preferably, the authentication module includes:

상기 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 상기 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행함으로써, 상기 SNS 서버별 접근 토큰을 보유하는 것일 수 있다.
Requesting an access token to each of the SNS servers, and when receiving a user authentication request from the SNS server, performing a user login to hold the access token per the SNS server.

더더욱 바람직하게는, 상기 웹 서비스 어댑터의 통신부는,Even more preferably, the communication unit of the web service adapter further comprises:

상기 SNS 서버에, 상기 접근 토큰과 함께 콘텐츠 요청 신호를 전송하여, 추가의 사용자 인증 절차 없이 콘텐츠 전송을 받는 것일 수 있다.
The content request signal may be transmitted to the SNS server together with the access token to receive the content transmission without further user authentication procedures.

바람직하게는, 상기 웹 서비스 어댑터는,Advantageously, the web service adapter comprises:

상기 통합 SNS 게이트웨이에 구비된 동기화 모듈 또는 캐싱 모듈을 통하여 상기 통합 SNS 게이트웨이 내부에 구비되는 다른 구성 모듈과의 사이에서 데이터 동기화 또는 캐싱이 수행되는 것일 수 있다.
Data synchronization or caching may be performed between the integrated SNS gateway and another configuration module provided in the integrated SNS gateway through a synchronization module or a caching module provided in the integrated SNS gateway.

상기한 목적을 달성하기 위한 본 발명의 특징에 따른 통합 SNS 게이트웨이는,According to an aspect of the present invention, there is provided an integrated SNS gateway comprising:

통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 것으로서,A data communication between a user terminal having an integrated SNS application and a plurality of SNS servers is integrally provided,

상기 통합 SNS 게이트웨이와 상기 사용자 단말기와 통신하는 통합 SNS 프로토콜을 상기 복수의 SNS 서버가 통신에 사용하는 각각의 프로토콜로 변환하는 프로토콜 변환부; 상기 복수의 SNS 서버가 통신에 사용하는 프로토콜을 사용하여 상기 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및 상기 통신부가 통신하는 복수의 SNS 서버에 각각 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하는 웹 서비스 어댑터를 포함하는 것을 그 구성상의 특징으로 한다.
A protocol conversion unit for converting an integrated SNS protocol communicating with the integrated SNS gateway and the user terminal into respective protocols used by the plurality of SNS servers for communication; A communication unit for independently communicating with each of the plurality of SNS servers using a protocol used by the plurality of SNS servers for communication; And a Web service adapter including a plurality of content providers implemented with an API (Application Programming Interface) corresponding to a plurality of SNS servers communicated by the communication unit.

바람직하게는, 상기 웹 서비스 어댑터는,Advantageously, the web service adapter comprises:

상기 SNS 서버에의 접근을 요청하고 허용받는 인증 모듈을 더 포함할 수 있다.
The authentication module may further include an authentication module for requesting access to the SNS server.

더욱 바람직하게는, 상기 인증 모듈은,More preferably, the authentication module includes:

상기 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 상기 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행함으로써, 상기 SNS 서버별 접근 토큰을 보유하는 것일 수 있다.
Requesting an access token to each of the SNS servers, and when receiving a user authentication request from the SNS server, performing a user login to hold the access token per the SNS server.

더더욱 바람직하게는, 상기 웹 서비스 어댑터의 통신부는,Even more preferably, the communication unit of the web service adapter further comprises:

상기 SNS 서버에, 상기 접근 토큰과 함께 콘텐츠 요청 신호를 전송하여, 추가적인 사용자 인증 절차 없이 콘텐츠 전송을 받는 것일 수 있다.
The content request signal may be transmitted to the SNS server together with the access token to receive the content transmission without additional user authentication procedures.

바람직하게는, 상기 통합 SNS 게이트웨이는,Preferably, the integrated SNS gateway comprises:

상기 웹 서비스 어댑터가 상기 복수의 SNS 서버와 데이터 통신하여 전송받은 데이터를 상기 사용자 단말기에 실시간으로 푸시알림 전송하는 푸시알림 브로커; 및A push notification broker that transmits data received by the web service adapter in data communication with the plurality of SNS servers to the user terminal in real time; And

상기 사용자 단말기로부터 콘텐츠 로드 요청 신호를 전송받고, 상기 웹 서비스 어댑터에 해당 콘텐츠 송신을 요청하며, 상기 웹 서비스 어댑터로부터 상기 콘텐츠 로드 요청에 대응되는 콘텐츠를 전송받아 상기 사용자 단말기에 전송하는 콘텐츠 어댑터를 더 포함할 수 있다.A content adapter for receiving a content load request signal from the user terminal, requesting the web service adapter to transmit the content, receiving a content corresponding to the content load request from the web service adapter, and transmitting the content adapter to the user terminal .

본 발명에서 제안하고 있는 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터 및 이를 포함하는 통합 SNS 게이트웨이에 따르면, 통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이에서 통합 SNS 게이트웨이와 상기 SNS 서버 간의 데이터 통신을 담당하는 웹 서비스 어댑터를, 통합 SNS 게이트웨이가 사용자 단말기와 통신하는 통합 SNS 프로토콜을 복수의 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜로 변환하는 프로토콜 변환부; 복수의 SNS 서버가 통신에 사용하는 전용 프로토콜을 사용하여 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및 통신부가 통신하는 복수의 SNS 서버 각각에 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하여 구성함으로써, 사용자 입장에서는 하나의 통합 SNS 애플리케이션에서 한 번의 동작으로 다양한 종류의 SNS 정보들을 빠르게 얻을 수 있고, SNS 서버 입장에서는 SNS 콘텐츠에 대한 요청 트래픽이 감소된다.
According to the Web service adapter for the integrated SNS gateway proposed in the present invention and the integrated SNS gateway including the integrated SNS gateway, the integrated SNS gateway integrates data communication between the user terminal installed with the integrated SNS application and the plurality of SNS servers, A protocol conversion unit for converting the integrated SNS protocol in which the integrated SNS gateway communicates with the user terminal into respective dedicated protocols used by the plurality of SNS servers for communication, the web service adapter responsible for data communication between the gateway and the SNS server; A communication unit for independently communicating with each of the plurality of SNS servers using a dedicated protocol used by the plurality of SNS servers for communication; And a plurality of content providers implemented by an API (Application Programming Interface) corresponding to each of a plurality of SNS servers with which the communication unit communicates. By thus configuring the SNS application in a single operation in one integrated SNS application, Information can be obtained quickly, and in the case of the SNS server, the request traffic for the SNS contents is reduced.

또한, 본 발명에 따르면, 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행하여, SNS 서버별 접근 토큰을 보유하는 인증 모듈을 더 포함함으로써, 사용자가 복잡한 인증을 복수 회 진행할 필요가 없고, SNS 인증의 통합 관리가 가능하다.According to the present invention, when an access token is requested to each SNS server and the user authentication is requested from the corresponding SNS server, an authentication module for performing user login and holding an access token for each SNS server is further provided It is not necessary for the user to carry out complicated authentication a plurality of times, and integrated management of SNS authentication is possible.

도 1은 본 발명에서 제안하고 있는 통합 SNS 게이트웨이 시스템을 도시한 도면.
도 2는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터의 구성을 도시한 도면.
도 3은 본 발명의 다른 실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터의 구성을 도시한 도면.
도 4는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터를 통합 SNS 인증 과정을 도시한 도면.
도 5는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이 시스템을 도시한 도면.
도 6은 페이스북의 FQL 퀴리 응답 형식을 도시한 도면.
도 7은 본 발명의 일실시예에 따른 통합 SNS 게이트웨이와 통합 SNS 애플리케이션이 설치된 사용자 단말기 사이의 통신 규격인 통합 SNS 프로토콜을 도시한 도면.
도 8은 본 발명에서 제안하고 있는 통합 SNS 게이트웨이의 성능 측정을 하기 위한 세 가지 환경을 도시한 도면.
도 9는 페이스북 서버에 사진을 요청하였을 때부터 사진을 모두 응답받는 데까지 걸린 시간을 세션별로 나타낸 그래프.
FIG. 1 illustrates an integrated SNS gateway system proposed in the present invention. FIG.
FIG. 2 illustrates a configuration of a Web service adapter for an integrated SNS gateway according to an embodiment of the present invention; FIG.
3 is a diagram illustrating a configuration of a Web service adapter for an integrated SNS gateway according to another embodiment of the present invention;
FIG. 4 illustrates an integrated SNS authentication process for a Web service adapter for an integrated SNS gateway according to an embodiment of the present invention; FIG.
5 illustrates an integrated SNS gateway system in accordance with one embodiment of the present invention.
FIG. 6 illustrates a FQL Curie response format of Facebook; FIG.
FIG. 7 illustrates an integrated SNS protocol that is a communication standard between an integrated SNS gateway and a user terminal with an integrated SNS application according to an embodiment of the present invention; FIG.
FIG. 8 illustrates three environments for measuring the performance of the integrated SNS gateway proposed in the present invention; FIG.
FIG. 9 is a graph showing the time taken from requesting a picture to a Facebook server to receiving all the pictures.

이하에서는 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 바람직한 실시예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시예를 상세하게 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. 또한, 유사한 기능 및 작용을 하는 부분에 대해서는 도면 전체에 걸쳐 동일 또는 유사한 부호를 사용한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. In the following detailed description of the preferred embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The same or similar reference numerals are used throughout the drawings for portions having similar functions and functions.

덧붙여, 명세서 전체에서, 어떤 부분이 다른 부분과 ‘연결’되어 있다고 할 때, 이는 ‘직접적으로 연결’되어 있는 경우뿐만 아니라, 그 중간에 다른 소자를 사이에 두고 ‘간접적으로 연결’되어 있는 경우도 포함한다. 또한, 어떤 구성요소를 ‘포함’한다는 것은, 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다.
In addition, in the entire specification, when a part is referred to as being 'connected' to another part, it may be referred to as 'indirectly connected' not only with 'directly connected' . Also, to "include" an element means that it may include other elements, rather than excluding other elements, unless specifically stated otherwise.

종래에는 SNS 사용자가 Facebook, Twitter, Flickr 등의 각각의 SNS 서버로부터 콘텐츠를 제공받기 위해서는, 다수의 SNS 애플리케이션을 통하여 각 콘텐츠를 각기 다른 SNS로 요청하게 되고, 그만큼 트래픽이 증가하게 된다. 도 1은 본 발명에서 제안하고 있는 통합 SNS 게이트웨이 시스템을 도시한 도면이다. 도 1에 도시된 바와 같이, SNS 사용자가 SNS 콘텐츠를 요청할 때 통합 SNS 게이트웨이를 이용하게 되면, 사용자 입장에서는 하나의 통합 SNS 애플리케이션에서 한 번의 동작으로 다양한 종류의 SNS 정보들을 얻을 수 있고, 통합 SNS 게이트웨이 내의 캐싱 기능 등을 통하여 빠른 응답을 얻을 수도 있다. 또한, SNS 서버 입장에서는 통합 SNS 게이트웨이의 캐싱 기능 등으로 인하여 동일한 SNS 콘텐츠에 대한 요청 트래픽이 감소하게 된다. 본 발명에서는 이와 같은 통합 SNS 게이트웨이를 이용하여 SNS 서버로부터 콘텐츠를 제공받음에 있어서, 이들 간의 데이터 통신을 담당하는 웹 서비스 어댑터를 제안하고자 한다.
Conventionally, in order for an SNS user to receive content from each SNS server such as Facebook, Twitter, Flickr, etc., each content is requested to a different SNS through a plurality of SNS applications, and traffic is increased accordingly. 1 is a diagram illustrating an integrated SNS gateway system proposed in the present invention. As shown in FIG. 1, when the SNS user requests the SNS contents, if the integrated SNS gateway is used, various types of SNS information can be obtained in one integrated SNS application from the user, And a caching function within the network. Also, in the case of the SNS server, the request traffic for the same SNS content is reduced due to the caching function of the integrated SNS gateway. The present invention proposes a web service adapter for receiving data from an SNS server using the integrated SNS gateway and performing data communication therebetween.

본 발명에서 웹 서비스 어댑터란, 통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이에서 상기 통합 SNS 게이트웨이와 상기 SNS 서버 간의 데이터 통신을 담당하는 어댑터 역할을 할 수 있다.
In the present invention, a web service adapter is an adapter that performs data communication between the integrated SNS gateway and the SNS server in an integrated SNS gateway that integrally provides data communication between a user terminal equipped with an integrated SNS application and a plurality of SNS servers .

도 2는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터의 구성을 도시한 도면이다. 도 2에 도시된 바와 같이, 본 발명의 일실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터(100)는, 프로토콜 변환부(110), 통신부(120) 및 콘텐츠 프로바이더(130)를 포함하여 구성될 수 있다.
2 is a diagram illustrating a configuration of a Web service adapter for an integrated SNS gateway according to an exemplary embodiment of the present invention. 2, the web service adapter 100 for the integrated SNS gateway according to an embodiment of the present invention includes a protocol conversion unit 110, a communication unit 120, and a content provider 130 Lt; / RTI >

프로토콜 변환부(110)는, 통합 SNS 게이트웨이가 사용자 단말기와 통신하는 통합 SNS 프로토콜을 복수의 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜로 변환하는 역할을 수행할 수 있다. 통합 SNS 게이트웨이는 사용자 단말기와 데이터를 교환하기 위해서 통합 SNS 프로토콜을 사용할 수 있는데, 각각의 SNS 서버들은 해당 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜이 있으므로, 통합 SNS 게이트웨이가 SNS 서버와 통신하기 위해서는 통합 SNS 프로토콜을 해당 SNS 서버가 통신하는 전용 프로토콜로 바꾸는 기능이 필요하다. 프로토콜 변환부(110)는 이와 같은 통신을 위한 프로토콜 변환 기능을 수행할 수 있다.
The protocol conversion unit 110 may convert the integrated SNS protocol in which the integrated SNS gateway communicates with the user terminal into respective dedicated protocols used by the plurality of SNS servers for communication. The integrated SNS gateway can use the integrated SNS protocol to exchange data with the user terminal. Since each SNS server has its own dedicated protocol used by the corresponding SNS server, the integrated SNS gateway needs to communicate with the SNS server It is necessary to change the integrated SNS protocol to a dedicated protocol for communicating with the corresponding SNS server. The protocol conversion unit 110 may perform a protocol conversion function for such communication.

통신부(120)는, 복수의 SNS 서버가 통신에 사용하는 전용 프로토콜을 사용하여 복수의 SNS 서버 각각과 독립적으로 통신할 수 있다. 콘텐츠 프로바이더(130)는, 통신부가 통신하는 복수의 SNS 서버 각각에 대응되는 API(Application Programming Interface)로 구현될 수 있다. 통합 SNS 게이트웨이는 각 SNS 서버와 통신할 때 각 SNS의 공개된 API를 사용하여 통신한다. 따라서 웹 서비스 어댑터(100)는 각 SNS 서버 별로 해당 API로 구현된 콘텐츠 프로바이더(130)를 가지고, 독립적으로 각 SNS 서버와 통신한다. 일례로, 페이스북 콘텐츠 프로바이더는 페이스북의 PHP SDK를 사용하여 구현할 수 있다. 페이스북 이외의 콘텐츠 프로바이더들은 각각의 SNS 서버가 지원하는 API를 이용하여 구현할 수 있다.
The communication unit 120 can independently communicate with each of the plurality of SNS servers using a dedicated protocol used by the plurality of SNS servers for communication. The content provider 130 may be implemented with an API (Application Programming Interface) corresponding to each of a plurality of SNS servers with which the communication unit communicates. The integrated SNS gateway communicates with each SNS server using the public API of each SNS. Accordingly, the web service adapter 100 has a contents provider 130 implemented by the corresponding API for each SNS server, and independently communicates with each SNS server. For example, Facebook content providers can be implemented using the Facebook PHP SDK. Content providers other than Facebook can be implemented using APIs supported by each SNS server.

도 3은 본 발명의 다른 실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터의 구성을 도시한 도면이다. 도 3에 도시된 바와 같이, 본 발명의 다른 실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터(100)는, SNS 서버에의 접근을 요청하고 허용받는 인증 모듈(140)을 더 포함하여 구성될 수 있다. 인증 모듈(140)은, 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행함으로써, SNS 서버별 접근 토큰을 보유할 수 있다. 접근 토큰(access token)은, 사용자를 대신하여 서비스 프로바이더에 자원을 요청할 수 있게 한다. 본 발명의 일실시예에 따르면 웹 서비스 어댑터(100)의 통신부(120)는 SNS 서버(30)에, 접근 토큰과 함께 콘텐츠 요청 신호를 전송하여, 추가적인 사용자 인증 절차 없이 콘텐츠 전송을 받을 수 있다.
3 is a diagram illustrating a configuration of a Web service adapter for an integrated SNS gateway according to another embodiment of the present invention. 3, the web service adapter 100 for the integrated SNS gateway according to another embodiment of the present invention further includes an authentication module 140 that requests and is allowed to access the SNS server . The authentication module 140 requests an access token from each SNS server and when the user authentication is requested from the corresponding SNS server, the authentication module 140 can hold an access token per SNS server by performing a user login. An access token allows a service provider to request resources on behalf of the user. According to an embodiment of the present invention, the communication unit 120 of the web service adapter 100 may transmit a content request signal to the SNS server 30 together with an access token to receive content transmission without an additional user authentication procedure.

본 발명에 따르면, 통합 SNS 게이트웨이(10)는 사용자를 대신하여 사용자가 가입한 SNS 서버(30)에 인증과정을 거친다. 이와 같은 인증과정을 통하여 사용자의 SNS 정보에 접근하고, 사용 중인 SNS들의 인증을 통합할 수 있다. 현재 SNS 서버들은 자신들 만의 안전한 인증과정을 사용하고 있다. 페이스북, 트위터 등 여러 SNS 서버(30)들은 사용자 인증으로 OAuth를 사용한다. 통합 SNS 게이트웨이(10)에서도 페이스북 등의 SNS 서버에 접속하기 위해서는 OAuth 인증과정을 거쳐야 한다.
According to the present invention, the integrated SNS gateway 10 authenticates the SNS server 30 to which the user subscribes on behalf of the user. Through the authentication process, the user can access the SNS information and integrate authentication of the SNSs in use. Currently, SNS servers use their own secure authentication process. Many SNS servers 30, such as Facebook and Twitter, use OAuth for user authentication. In the integrated SNS gateway 10, an OAuth authentication process is required to access an SNS server such as Facebook.

도 4는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터를 통합 SNS 인증 과정을 도시한 도면이다. 도 4에 도시된 바와 같이, 본 발명의 일실시예에 따른 웹 서비스 어댑터를 통합 SNS 인증 과정은,
4 is a diagram illustrating an integrated SNS authentication process for a Web service adapter for an integrated SNS gateway according to an exemplary embodiment of the present invention. As shown in FIG. 4, the integrated SNS authentication process of the web service adapter according to an embodiment of the present invention includes:

인증 절차에서 먼저 사용자가 사용자 단말기(20)로 통합 SNS 애플리케이션을 시작하게 되면 통합 애플리케이션은 통합 SNS 게이트웨이(10)에 애플리케이션 실행을 알리고, 통합 SNS 게이트웨이(10)는 SNS 서버(30)에게 접근 토큰을 요청한다. 그 후 SNS 서버(30)는 현재 사용되는 사용자에 대한 인증을 요청하게 되고 로그인을 함으로써 통합 SNS 게이트웨이(10)는 사용자의 권한을 접근 토큰이란 이름으로 가지게 된다. 접근 토큰은 처음 접속할 때만 요청하게 되며 접근 토큰이 만료되기 전까지 추가적인 요청 없이 계속해서 사용할 수 있다. 한편, 사용자 단말기(20)와 통합 SNS 게이트웨이(10)는 통합 SNS 프로토콜을 사용하여 통신하고, 통합 SNS 게이트웨이(10)와 SNS 서버(30)는 SNS API를 사용하여 통신할 수 있다. SNS 서버(30)에 콘텐츠를 요청하게 될 때는 사용자 단말기(20)에서는 통합 SNS 프로토콜로 통합 SNS 게이트웨이(10)에 콘텐츠를 요청하고, 통합 SNS 게이트웨이(10)는 여기에 인정받은 접근 토큰을 더해 SNS API로 요청하게 되며, SNS 서버(30)는 접근 토큰을 확인한 후 해당 콘텐츠를 응답해줄 수 있다.
In the authentication procedure, when the user first starts the integrated SNS application to the user terminal 20, the integrated application notifies the integrated SNS gateway 10 of the application execution, and the integrated SNS gateway 10 notifies the SNS server 30 of the access token request. After that, the SNS server 30 requests authentication for the currently used user and by logging in, the integrated SNS gateway 10 has the authority of the user as an access token. An access token is only requested the first time it connects and can continue to be used without additional requests until the access token expires. Meanwhile, the user terminal 20 and the integrated SNS gateway 10 communicate using the integrated SNS protocol, and the integrated SNS gateway 10 and the SNS server 30 can communicate using the SNS API. When the content is requested to the SNS server 30, the user terminal 20 requests the content to the integrated SNS gateway 10 as an integrated SNS protocol. The integrated SNS gateway 10 adds the approved access token to the integrated SNS gateway 10, API, and the SNS server 30 can confirm the access token and then respond to the contents.

한편, 도 5는 본 발명의 일실시예에 따른 통합 SNS 게이트웨이 시스템을 도시한 도면이다. 도 5에 도시된 바와 같이, 본 발명의 일실시예에 따른 통합 SNS 게이트웨이 시스템에서 웹 서비스 어댑터(100)는, 통합 SNS 게이트웨이(10)에 구비된 동기화 모듈(200) 또는 캐싱 모듈(300)을 통하여 통합 SNS 게이트웨이 내부에 구비되는 다른 구성 모듈과의 사이에서 데이터 동기화 또는 캐싱이 수행될 수 있다.
Meanwhile, FIG. 5 is a diagram illustrating an integrated SNS gateway system according to an embodiment of the present invention. 5, the web service adapter 100 in the integrated SNS gateway system according to an embodiment of the present invention includes a synchronization module 200 or a caching module 300 provided in the integrated SNS gateway 10 Data synchronization or caching with other configuration modules provided in the integrated SNS gateway can be performed.

또한, 통합 SNS 애플리케이션이 설치된 사용자 단말기(20)와 복수 개의 SNS 서버(30) 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이(10)는, 프로토콜 변환부(110), 통신부(120), 콘텐츠 프로바이더(130) 및 인증모듈(140)을 포함하여 구성되는 웹 서비스 어댑터(100)를 포함하여 구성될 수 있다. 또한, 푸시알림 브로커(400) 및 콘텐츠 어댑터(500)를 더 포함하여 구성될 수 있다. 푸시알림 브로커(400)는 웹 서비스 어댑터(100)가 복수의 SNS 서버(30)와 데이터 통신하여 전송받은 데이터를 사용자 단말기(20)에 실시간으로 푸시알림 전송하는 역할을 수행할 수 있고, 콘텐츠 어댑터(500)는, 사용자 단말기(20)로부터 콘텐츠 로드 요청 신호를 전송받고, 웹 서비스 어댑터(100)에 해당 콘텐츠 송신을 요청하며, 웹 서비스 어댑터(100)로부터 콘텐츠 로드 요청에 대응되는 콘텐츠를 전송받아 사용자 단말기(20)에 전송하는 역할을 수행할 수 있다. 실시예에 따라서는, 통합 SNS 게이트웨이(10) 내부에서 전송되는 데이터의 전송, 변환, 판단 및 저장을 포함하는 군에서 선택된 적어도 하나 이상의 데이터 처리를 관리하는 데이터 매니저(600), 사용자의 복수 개의 SNS 계정 정보를 관리하는 계정 매니저(700), 및 푸시알림 브로커(400) 및 콘텐츠 어댑터(500)와 데이터 매니저(600) 사이에 위치하여 통합 SNS 게이트웨이(10) 내부에서 전송되는 데이터의 보안 기능을 수행하는 보안 매니저를 더 포함하여 구성될 수도 있다.
The integrated SNS gateway 10 integrally providing data communication between the user terminal 20 in which the integrated SNS application is installed and the plurality of SNS servers 30 includes a protocol conversion unit 110, a communication unit 120, A Web service adapter 100 including a Web server 130, a Web server 130, and an authentication module 140. Further, it may be configured to further include a push notification broker 400 and a content adapter 500. The push notification broker 400 can perform a function of pushing and notifying data transmitted and received by the web service adapter 100 in data communication with a plurality of the SNS servers 30 to the user terminal 20 in real time, (500) receives a content load request signal from the user terminal (20), requests the web service adapter (100) to transmit the content, receives the content corresponding to the content load request from the web service adapter To the user terminal (20). According to an embodiment, the data manager 600 manages at least one data processing selected from the group including transmission, conversion, determination and storage of data transmitted in the integrated SNS gateway 10, a plurality of SNSs An account manager 700 that manages account information and a security function of data transmitted between the push notification broker 400 and the content adapter 500 and the data manager 600 to be transmitted within the integrated SNS gateway 10 And a security manager that manages the security functions.

서로 다른 SNS 서버(30)에서 새로운 푸시알림이 발생하거나 콘텐츠 로드가 수행될 때, 통합 SNS 게이트웨이(10)는 각 SNS 서버(30)에서 데이터를 전달받은 후 통합하여 사용자 단말기(20)에 전송할 수 있다. 사용자가 푸시알림을 받고 콘텐츠 어댑터(500)에 콘텐츠 요청을 하게 되면 콘텐츠 어댑터(500)는 웹 서비스 어댑터(100)에 콘텐츠 요청을 단계적으로 수행하게 된다. 이때, 이 두 통신 모듈 사이에 동기화 모듈(200)과 캐싱 모듈(300)을 위치시키고, 그 사이에 데이터 관리 모듈(600)을 위치시킴으로써, 요청한 콘텐츠에 대하여 동기화 및 캐싱 유/무를 판단하고, 콘텐츠 관리 및 데이터 송/수신을 효율적으로 하는 것이 가능하다.
When a new push notification occurs in different SNS server 30 or a content load is performed, the integrated SNS gateway 10 can receive data from each SNS server 30 and then integrate and transmit it to the user terminal 20 have. When the user receives the push notification and makes a content request to the content adapter 500, the content adapter 500 performs the content request to the web service adapter 100 step by step. At this time, the synchronization module 200 and the caching module 300 are positioned between the two communication modules, and the data management module 600 is positioned therebetween to determine whether the requested content is synchronized and cached, Management and data transmission / reception can be efficiently performed.

이하에서는 일실시예로서 SNS 서버(30)로서 페이스북과의 데이터 통신 방법을 설명하기로 한다. 페이스북에서는 여러 종류의 API를 제공하는데 여러 방법 중에서도 콘텐츠를 요청/응답받는데 있어서 가장 많이 사용되는 Graph API방법과 Facebook Query Language(FQL) 방법이 있다. 페이스북은 사진, 글 등을 각각 하나의 개체로 취급하는데 Graph API 방법은 개체와 개체 사이의 연결을 일정한 방식으로 표현하여 요청하는 방식으로 간단하게 페이스북 데이터를 읽고 쓸 수 있다. 반면에 FQL은 SQL스타일의 인터페이스를 가지고 쿼리를 만들어 해당 테이블의 콘텐츠를 요청하는 방법이다. 이 방법은 Graph API보다 더 자세한 조건을 만들어서 콘텐츠를 요청할 수 있고 Graph API가 여러 번 요청하여 응답받는 콘텐츠를 FQL은 한 번의 쿼리를 호출함으로써 콘텐츠를 얻을 수 있기 때문에 보다 직관적이다. 그러므로 본 발명에서는 FQL방식을 이용하여 실험용 페이스북 SDK를 사용한 애플리케이션과 웹 서비스 어댑터의 페이스북 프로바이더를 구현하였다. 페이스북은 FQL으로 콘텐츠를 요청받게 되면 응답 데이터 형식으로 JSON을 사용한다. 페이스북의 콘텐츠는 각각 테이블형식으로 되어있다. 사진 콘텐츠는 PHOTO 테이블에서 동영상은 VIDEO테이블에서 질의할 수 있다. 따라서 SQL의 질의와 같이 클라이언트에서 FQL으로 페이스북 서버에 콘텐츠를 요청하게 되면 요청한 테이블(FROM절의 테이블)에서 원하는 컬럼들(SELECT 절의 컬럼)이 JSON 형식으로 응답이 오게 된다. 도 6은 페이스북의 FQL 퀴리 응답 형식을 도시한 도면이다. FQL 방식을 예로 들면 만약 자신의 STREAM 테이블에 message라는 컬럼을 요청하게 되면 message라는 하나의 컬럼만 요청하였기 때문에 도 6과 같은 포맷으로 응답을 받을 수 있고 해당 콘텐츠를 바로 사용할 수 있다. 반면에 사진과 동영상을 페이스북 서버로 요청하게 되면 응답되는 데이터는 사진과 동영상의 바이너리 데이터가 아니라 해당 사진, 동영상이 저장된 URL이다. 따라서 응답받은 URL을 통해 다시 한 번 콘텐츠를 요청해야 한다. 요청한 FQL의 message가 여러 개 있을 경우에도 결괏값이 도 6과 같이 ‘DATA’라는 JSON 배열로 정렬되어서 오기 때문에 한 번의 요청으로 모든 글을 불러올 수 있다.
Hereinafter, a method of communicating data with Facebook as the SNS server 30 will be described as an embodiment. On Facebook, there are various APIs, among which are the Graph API method and Facebook Query Language (FQL), which are the most popular methods for requesting and receiving content. Facebook treats photos, text, and so on as a single object. The Graph API method can read and write Facebook data simply by expressing the connection between object and object in a certain way. FQL, on the other hand, is a way of requesting the contents of a table by creating a query with an SQL-style interface. This method is more intuitive because it allows content to be created by creating more detailed conditions than the Graph API, and FQL is able to obtain content by calling a single query on the content that the Graph API requests and responds to multiple times. Therefore, in the present invention, the Facebook provider of the application and the web service adapter using the experimental Facebook SDK is implemented using the FQL method. Facebook uses JSON as the response data format when the content is requested in FQL. Facebook content is in tabular format. In the PHOTO table, the video content can be queried in the VIDEO table. Therefore, when the client requests content from Facebook server to FQL like SQL query, the desired columns (SELECT clause column) in the requested table (FROM clause table) will come back in JSON format. FIG. 6 is a diagram illustrating a FQL query response format of Facebook. For example, in the case of FQL method, if a message column is requested in the own STREAM table, only one column of 'message' is requested. Therefore, a response can be received in the format shown in FIG. On the other hand, if you request photos and videos from Facebook server, the data that is replied is not the binary data of photos and videos but the URL where the corresponding photos and videos are stored. Therefore, you have to request the content once again through the response URL. Even if there are several FQL messages that are requested, the result is sorted in a JSON array called 'DATA' as shown in FIG. 6, so that all the articles can be retrieved by one request.

도 7은 본 발명의 일실시예에 따른 통합 SNS 게이트웨이와 통합 SNS 애플리케이션이 설치된 사용자 단말기 사이의 통신 규격인 통합 SNS 프로토콜을 도시한 도면이다. 통합 SNS 프로토콜은 사용자 단말기(20)와 통합 SNS 게이트웨이(10) 간의 통신을 할 때 사용될 수 있다. 통합 SNS 프로토콜 포맷은 Java Scriot Object Notation(JSON) 포맷을 따를 수 있다. JSON 형식은 XML과 같은 객체 직렬화 방법과 비교할 때 빠른 속도를 보여주고, 서로 다른 시스템간의 객체를 교환하는데 편리하므로, 본 발명의 일실시예에서는 JSON 형식을 사용하여 통합 SNS 프로토콜을 설계할 수 있다.
7 is a diagram illustrating an integrated SNS protocol that is a communication standard between an integrated SNS gateway and a user terminal equipped with an integrated SNS application according to an exemplary embodiment of the present invention. The integrated SNS protocol can be used when communicating between the user terminal 20 and the integrated SNS gateway 10. The integrated SNS protocol format may conform to the Java Scriot Object Notation (JSON) format. The JSON format is faster than the object serialization method such as XML and is convenient for exchanging objects between different systems. Therefore, in one embodiment of the present invention, an integrated SNS protocol can be designed using JSON format.

본 발명은 이하의 실험예에 의하여 더욱 상세히 설명되나, 본 발명이 이하의 실험예에 의해 어떤 식으로든 제한되는 것은 아니다.
The present invention will be described in more detail with reference to the following experimental examples, but the present invention is not limited in any way by the following experimental examples.

실험예Experimental Example 1. 통합  1. Integration SNSSNS 게이트웨이의 성능 분석 Performance Analysis of Gateway

기존의 페이스북의 콘텐츠 요청방법과 비교하여 본 발명에서 제안하고 있는 웹 서비스 어댑터(100) 및 이를 포함하는 통합 SNS 게이트웨이(10)를 이용할 때의 트래픽량과 응답 속도를 실험하였다. 통합 SNS 게이트웨이의 유무/에 따른 차이와 캐시 엔진의 사용 유/무에 따른 비교를 하기 위해 각 콘텐츠 요청에 대해 페이스북 안드로이드 SDK를 사용하여 구현한 페이스북 클라이언트 애플리케이션과 페이스북 서버의 통신에서 트래픽을 수집하고 통합 SNS 애플리케이션과 통합 SNS 게이트웨이와 페이스북 서버 사이의 트래픽을 수집하여 비교하였다. 본 발명에서 제안하고 있는 통합 SNS 게이트웨이의 기능인 캐싱 모듈과 웹 서비스 어댑터를 이용할 때, 사용자 측면에서 얼마나 응답 속도가 향상되는지 측정하고 트래픽이 감소되는지 분석하였다.
The traffic volume and the response speed when using the Web service adapter 100 proposed in the present invention and the integrated SNS gateway 10 including the web service adapter 100 are experimentally compared with the conventional Facebook contents request method. In order to compare the difference between presence / absence of integrated SNS gateway and use / nonuse of cache engine, traffic for communication of Facebook client application and Facebook server implemented using Facebook Android SDK for each content request Collected and compared the traffic between the integrated SNS application and the integrated SNS gateway and Facebook server. In the present invention, when the caching module and the web service adapter, which are the functions of the integrated SNS gateway, are used, the response speed is improved and the traffic is reduced.

1. 실험 환경1. Experimental environment

본 발명에서 제안하고 있는 통합 SNS 게이트웨이의 성능 측정을 하기 위하여 하기와 같이 시스템을 구성하였다. 통합 SNS 게이트웨이의 CPU는 3.40㎓ 듀얼 코어이고, 메모리는 1GB이다. 운영체제는 CentOS release 5.10이고 캐시 엔진으로는 Squid 2.6. STABLE21을 사용하였으며 설정은 기본 값으로 설정하여 실험하였다. 모바일 단말은 CPU Quad Core 1.4㎓와 2GM의 메모리를 사용하였다. 페이스북 안드로이드 SDK는 3.5.2 버전을 사용하였고 PHP SDK는 3.2.3 버전을 사용하였다. 도 8은 본 발명에서 제안하고 있는 통합 SNS 게이트웨이의 성능 측정을 하기 위한 세 가지 환경을 도시한 도면이다. 도 8에 도시된 바와 같이, Non-GW 실험은 페이스북에서 지원하는 안드로이드 SDK를 사용하여 페이스북 서버에 콘텐츠를 요청하는 페이스북 클라이언트 애플리케이션을 만들고 콘텐츠를 요청할 때 발생하는 패킷을 수집하고 응답받는 속도를 측정하였다(Non-GW). GW(Non-cache) 실험은 통합 SNS 게이트웨이와 통신하는 통합 모바일 SNS 애플리케이션을 만들어 통합 SNS 게이트웨이를 거쳐 SNS 서버에 콘텐츠를 요청하였다. 이때 캐시를 사용하지 않았다(Non-cache). GW(Non-cache) 실험은 캐시가 적중되는 상황에서 통합 모바일 SNS 애플리케이션을 사용하여 콘텐츠를 요청하였다(Cache Hit). Non-Cache 실험과 Cache Hit 실험의 통합 SNS 애플리케이션은 통합 SNS 프로토콜을 사용하여 통합 SNS 게이트웨이에 콘텐츠를 요청하게 된다. 요청을 받게 되면 통합 SNS 게이트웨이에 구현된 페이스북 어댑터는 페이스북과 통신을 하기 위해서 통합 SNS 프로토콜을 페이스북 프로토콜로 변환하는 작업을 한다. 그 후 변환된 페이스북 프로토콜을 사용하여 페이스북에 콘텐츠를 요청하게 된다. 이 통신과정에서 캐시의 유/무가 콘텐츠 응답속도에 미치는 영향과 애플리케이션과 페이스북 서버 사이에 발생하는 트래픽 량을 비교하였다. Non-GW 실험의 페이스북 애플리케이션과 Non-Cache 실험, Cache Hit 실험의 통합 SNS 게이트웨이의 페이스북 어댑터들은 페이스북의 FQL을 이용하여 콘텐츠를 요청하는 방식으로 구현하였다. 패킷을 수집하는 방법으로는 모바일 단말기의 네트워크 환경을 제어할 수 있게 하도록 루트 권한을 얻은 후 안드로이드 애플리케이션을 설치하여 모바일 단말기에서 요청하고 응답받은 패킷들을 수집하였다.
In order to measure the performance of the integrated SNS gateway proposed in the present invention, the system is configured as follows. The CPU of the integrated SNS gateway is 3.40GHz dual core and the memory is 1GB. The operating system is CentOS release 5.10 and the cache engine is Squid 2.6. STABLE21 was used and the setting was set to the default value. Mobile terminals use CPU Quad Core 1.4GHz and 2GM memory. The Facebook Android SDK used version 3.5.2 and the PHP SDK version 3.2.3. 8 is a diagram illustrating three environments for measuring the performance of the integrated SNS gateway proposed in the present invention. As shown in FIG. 8, the non-GW experiment uses a Android SDK supported on Facebook to create a Facebook client application that requests content to a Facebook server, collects packets generated when a content is requested, (Non-GW). The non-cache (GW) experiment created an integrated mobile SNS application that communicates with the integrated SNS gateway and requested the contents to the SNS server through the integrated SNS gateway. At this time, the cache is not used (Non-cache). Non-cache (GW) experiments have requested content using an integrated mobile SNS application in the event of cache hit (Cache Hit). Integration of Non-Cache Experiment and Cache Hit Experiment The SNS application uses the integrated SNS protocol to request content from the integrated SNS gateway. When the request is received, the Facebook adapter implemented in the integrated SNS gateway converts the integrated SNS protocol to the Facebook protocol in order to communicate with Facebook. It then uses the converted Facebook protocol to request content on Facebook. In this communication process, we compared the effect of cache on / off content response rate and the amount of traffic between application and Facebook server. Non-GW Experiments Facebook and Non-Cache Experiments and Cache Hit Experiments Integration The SNS gateway's Facebook adapters were implemented by requesting content using Facebook's FQL. As a method of collecting packets, after obtaining the root authority to control the network environment of the mobile terminal, an Android application was installed to collect packets requested and received from the mobile terminal.

2. 실험 방법2. Experimental Method

페이스북에 저장된 글, 사진, 동영상을 요청하여 응답받을 때 통합 SNS 게이트웨이의 성능 측정은 다음과 같이 실험하였다. 먼저 페이스북의 담벼락에 15개의 글을 작성하고 사진첩에 15개의 서로 다른 크기의 사진, 1개의 동영상을 업로드 하였다. 도 8의 세 가지 방법을 이용하여 각 콘텐츠를 요청하였다. 글 요청의 경우에는 한 번의 요청으로 15개의 글을 가져오고 사진은 한 번의 요청으로 15개의 사진을 모두 가져오도록 FQL을 작성하였다. 사진과 동영상의 경우는 페이스북에서 직접적인 콘텐츠 데이터가 아니라 해당 콘텐츠의 URL로 응답해주기 때문에 응답받은 URL로 다시 한 번 HTTP 요청을 하였다. 통합 SNS 게이트웨이의 캐시 엔진은 통합 모바일 SNS 애플리케이션이 요청한 콘텐츠와 캐시된 콘텐츠를 비교하여 캐시가 적중한다면 직접 응답을 하고 캐시 실패한다면 통합 SNS 게이트웨이에서 페이스북 서버에 요청하게 된다. 요청한 콘텐츠의 응답이 오게 되면 캐시 엔진은 해당 콘텐츠를 캐싱하며 통합 모바일 SNS 애플리케이션에 응답하게 된다. 클라이언트 응답 속도를 측정하기 위해서 3가지 실험 모두 클라이언트에서 패킷을 수집하고, 페이스북 서버로 향하는 트래픽량을 측정하기 위해서 Non-GW 실험은 모바일 클라이언트에서, Non-Cache와 Cache-Hit 실험은 통합 SNS 게이트웨이에서 페이스북 서버로 요청하는 패킷들과 응답받는 패킷들을 수집하였다.
The performance of the integrated SNS gateway was tested as follows when requesting and responding to articles, photos, and videos stored on Facebook. First, I wrote 15 posts on Facebook's wall, uploaded 15 different-sized photos, and one video to my photo album. And each content was requested using the three methods shown in FIG. In the case of a request, FQL was created to fetch fifteen articles in one request and to fetch all fifteen photographs in one request. In the case of photos and videos, I made another HTTP request to the URL that responded because it responds to the URL of the content, not the content data directly on Facebook. The cache engine of the integrated SNS gateway compares the requested content with the contents requested by the integrated mobile SNS application, and if the cache hits, it responds directly. If the cache fails, the integrated SNS gateway requests the Facebook server. When the response of the requested content comes, the cache engine caches the content and responds to the integrated mobile SNS application. In order to measure the response time of the client, the non-GW experiment is performed in the mobile client, the Non-Cache and the Cache-Hit experiment are performed in the integrated SNS gateway to measure the amount of traffic to the server, We collect the packets that are requested by the Facebook server and the response packets.

3. 실험 결과3. Experimental Results

먼저 각 콘텐츠의 캐시 가능 여부를 확인하기 위해 각 콘텐츠들을 요청하고 캐시가 되는지 확인하였다. 확인결과, 글과 동영상 요청에 대해서 캐시가 되지 않았다. 페이스북의 프로토콜로 동작하는 데이터들은 캐시 엔진의 캐시로그가 남지 않았다. 하지만 사진과 같이 URL을 명시하여 요청하는 경우에서는 캐시로그가 기록되며 캐시가 되는 것을 확인할 수 있었다. 동영상을 요청할 때는, 동영상 콘텐츠의 주소를 요청하지만, 페이스북 서버에서 해당 동영상의 주소를 동적 URL로 응답이 오기 때문에 캐시 엔진에서 캐시로그를 확인할 때 전체 URL이 저장되어 남지 않고 동적 URL의 파라미터 전인 ‘?’ 기호까지만 로그가 남는 것을 확인할 수 있었다. 또한, 캐시를 하게 되었을 때 생기는 캐시파일도 생기지 않았다.
First, each content was requested and checked to see if it could be cached. As a result, I could not cache the article and video request. Data that runs on the Facebook protocol does not have a cache engine cache log. However, in the case of requesting a URL such as a photograph, the cache log is recorded and it is confirmed that the cache is made. When requesting a video, the video server requests the address of the video content. However, since the face server responds to the video address with a dynamic URL, when the cache engine checks the cache log, the entire URL is not stored, ? ' It was confirmed that only the sign remained. Also, there was no cache file that occurred when the cache was made.

반면에 사진에 대해서는 15개의 사진요청에 대한 응답이 누락되는 데이터 없이 모두 캐시되는 것을 확인할 수 있었다. 사진들에 대해 요청을 하여 응답받은 URL과 패킷들을 분석해 보면 각각 2, 1, 1, 3, 3, 1, 3, 1개로 각각 나뉘어 8개의 페이스북 서버에 저장된 것을 확인할 수 있었다. 사진을 요청하게 될 경우 8개의 세션이 만들어져서 사진을 응답받기 때문에 우리는 세션별로 트래픽과 응답속도를 측정하였다. 사진별로 트래픽을 측정하는 방안도 있지만 TCP 연결이 사진별로 일어나지 않고 세션마다 일어나기 때문에 트래픽량을 정확하게 측정하기 위해 세션별로 트래픽과 응답시간을 측정하였고 결과로 나타냈다.
On the other hand, for the photographs, we could see that the responses to 15 photo requests were all cached without missing data. When I analyzed the URLs and packets that were received by requesting the pictures, I could see that they were stored in 8 facebook servers divided into 2, 1, 1, 3, 3, 1, 3, and 1, respectively. When we ask for a picture, we have 8 sessions, so we measure the traffic and response speed by session. Although there are measures to measure traffic by photo, TCP connection is measured per session to measure the traffic volume accurately, since it occurs every session without taking photos.

실험의 사진 응답 속도 측정은 수집한 패킷들을 각 서버의 세션별로 분류하여 해당 세션의 크기의 오름차순으로 정렬하였다. 또한 반복된 사진 요청의 응답시간 평균을 계산하고 각 실험방법의 응답시간을 그래프로 나타내었다. 하기 표 1은 사진을 요청하게 될 때 나눠지는 세션별 사진의 개수와 트래픽의 크기이다.The photographic response speed measurement of the experiment classifies the collected packets into sessions of each server, and arranges them in ascending order of the size of the sessions. In addition, the response time average of repeated photo requests is calculated and the response time of each experimental method is shown in a graph. Table 1 below shows the number of pictures per session and the size of traffic when a photograph is requested.

SessionSession TheThe NumberNumber ofof PhotosPhotos SessionSession SizeSize ( ( ByteByte )) 1One 1One 6,3086,308 22 1One 6,4016,401 33 1One 6,4746,474 44 1One 6,6236,623 55 22 10,33410,334 66 33 15,21515,215 77 33 16,50816,508 88 33 18,14718,147

도 9는 페이스북 서버에 사진을 요청하였을 때부터 사진을 모두 응답받는 데까지 걸린 시간을 세션별로 나타낸 그래프이다. 도 9의 “Non-GW” 그래프는 페이스북 안드로이드 SDK를 사용하여 만든 페이스북 클라이언트 애플리케이션으로 통합 SNS 게이트웨이 없이 사진을 요청했을 때의 응답시간이고, Non-GW실험과 같다. 캐시가 적중되지 않았을 때의 “Non-Cache”의 그래프는 통합 SNS 게이트웨이를 거치지만 캐시가 되지 않을 때 페이스북 서버에 사진을 요청하는 것이고 실험 Non-Cache와 같다. “Cache Hit” 그래프는 통합 SNS 게이트웨이에서 사진을 요청받았을 때 캐시가 적중해서 캐시에 저장된 사진들을 응답했을 때의 결과이고 Cache Hit 실험이다.
FIG. 9 is a graph showing the time taken from requesting a photo to a Facebook server to receiving all the pictures from a session. The "Non-GW" graph in FIG. 9 is a Facebook client application created using the Facebook Android SDK, which is the response time when a picture is requested without an integrated SNS gateway, and is the same as the non-GW experiment. The "Non-Cache" graph when the cache is not hit is to request a picture from the Facebook server when the cache goes through the integrated SNS gateway but it is the same as the experiment Non-Cache. The "Cache Hit" graph is the result of the Cache hit when a photo was requested from the integrated SNS gateway and responded to the photos stored in the cache. This is the Cache Hit experiment.

도 9에 나타난 바와 같이, Non-GW 실험은 페이스북 클라이언트 애플리케이션에서 통합 SNS 게이트웨이를 거치지 않고 페이스북에 직접 통신하기 때문에 페이스북 서버와 통신하는 정상적인 속도를 보여주었다. “Non-cache” 그래프는 캐싱이 되지 않지만 통합 SNS 게이트웨이를 거치기 때문에 페이스북 클라이언트 애플리케이션의 그래프보다 느린 속도가 나타내었다. “Cache Hit” 그래프는 캐시가 적중하였기 때문에 캐시가 되지 않은 그래프보다 빠른 속도를 보여줄 뿐만 아니라 페이스북 클라이언트 애플리케이션보다 짧은 응답시간을 보여주었다. 이는 처음으로 해당 콘텐츠를 요청할 경우는 일반적인 페이스북 애플리케이션의 응답속도보다 느리지만 콘텐츠가 캐싱이 되고 다음 요청에서 캐시가 적중하게 되면 통합 SNS 게이트웨이에서 페이스북 서버를 거치지 않고 직접 사진을 응답하게 되므로 더 빠르다는 결과를 나타낸다. SNS의 특성상 같은 콘텐츠를 반복적으로 요청하는 경우가 많고 또 여러 명의 사용자가 통합 SNS 게이트웨이를 사용해서 콘텐츠를 요청할 경우 사용자가 증가하면 증가할수록 캐시 엔진에 의해서 응답속도가 빨라질 것이다.
As shown in Figure 9, the Non-GW experiment showed normal speed of communication with the Facebook server because the Facebook client application communicated directly to Facebook without going through the integrated SNS gateway. The "non-cache" graph is not cached, but it is slower than the Facebook client application graph because it goes through an integrated SNS gateway. The "Cache Hit" graph showed a faster response time than the Facebook client application, as well as faster than non-cached graphs because the cache hit. This is slower than the typical Facebook application response when requesting the content for the first time, but it is faster because the content is cached and the cache is hit in the next request, the integrated SNS gateway will respond directly to the picture without going through the Facebook server Indicates the result. When the content is requested repeatedly by several users using the integrated SNS gateway due to the nature of the SNS, the response speed will be accelerated by the cache engine as the number of users increases.

또한 사진을 요청할 때 SNS서버에 직접적으로 전송되는 트래픽량을 비교하기 위해 Non-GW 실험에서 사용한 페이스북 클라이언트 애플리케이션에서 페이스북 서버로 전송되는 트래픽량을 측정하였다. 그리고 실험한 Non-Cache 실험과 Cache Hit 실험에서 사용한 통합 SNS 게이트웨이에서 SNS 서버로 전달되는 트래픽을 측정하였다. 측정 결과, Non-GW, Non-Cache 방법으로 사진 요청 실험을 수행하였을 때는 사진의 용량과 TCP 연결에 따른 패킷들이 모두 발생함으로써 세션의 (사진용량요청/응답 + 세션 연결) 크기만큼의 트래픽이 모두 발생하였다. 하지만 Cache Hit 실험을 수행했을 때 발생한 패킷은 없었다. 사진의 경우 캐시 엔진의 캐시 용량이 충분하다면 100% 캐시가 되고 그에 따라 사진 요청의 캐시가 적중한 것을 확인하였고 통합 SNS 게이트웨이가 SNS 서버에 요청하는 패킷은 전혀 발생하지 않았다. 본 실험을 통하여 본 발명에서 제안하고 있는 통합 SNS 게이트웨이를 사용하게 될 시 SNS 서버에 사진을 요청할 때 서버에 요청되는 트래픽량을 줄일 수 있음을 확인할 수 있었다.
We also measured the amount of traffic sent from the Facebook client application used in the Non-GW experiment to the Facebook server to compare the amount of traffic directly sent to the SNS server when requesting the photo. We measured the traffic from the integrated SNS gateway to the SNS server in the experimental non-cache and cache hit experiments. As a result of the measurement, when the photo request experiment is performed by the non-GW and non-cache method, since the packets according to the capacity of the picture and the TCP connection are all generated, the traffic of the size of the session Respectively. However, there was no packet generated when Cache Hit experiment was performed. In the case of photographs, if the cache engine has sufficient cache capacity, it is 100% cached, so that the cache of the photo request is hit, and no packet is sent to the SNS server by the integrated SNS gateway. Through the experiment, it is confirmed that when the integrated SNS gateway proposed in the present invention is used, the amount of traffic requested to the server can be reduced when a photograph is requested to the SNS server.

이상 설명한 본 발명은 본 발명이 속한 기술분야에서 통상의 지식을 가진 자에 의하여 다양한 변형이나 응용이 가능하며, 본 발명에 따른 기술적 사상의 범위는 아래의 특허청구범위에 의하여 정해져야 할 것이다.The present invention may be embodied in many other specific forms without departing from the spirit or essential characteristics and scope of the invention.

10: 통합 SNS 게이트웨이
20: 통합 SNS 애플리케이션이 설치된 사용자 단말기
30: SNS 서버
100: 웹 서비스 어댑터 110: 프로토콜 변환부
120: 통신부 130: 콘텐츠 프로바이더
140: 인증 모듈 200: 동기화 모듈
300: 캐싱 모듈 400: 푸시알림 브로커
500: 콘텐츠 어댑터 600: 데이터 매니저
700: 계정 매니저 800: 보안 매니저
10: Integrated SNS gateway
20: User terminal with integrated SNS application installed
30: SNS server
100: Web service adapter 110: protocol conversion unit
120: communication unit 130: content provider
140: authentication module 200: synchronization module
300: Caching module 400: Push Notification Broker
500: Content adapter 600: Data manager
700: Account Manager 800: Security Manager

Claims (10)

통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이에서 상기 통합 SNS 게이트웨이와 상기 SNS 서버 간의 데이터 통신을 담당하는 어댑터로서,
상기 통합 SNS 게이트웨이가 상기 사용자 단말기와 통신하는 통합 SNS 프로토콜을 상기 복수의 SNS 서버가 통신에 사용하는 각각의 전용 프로토콜로 변환하는 프로토콜 변환부;
상기 복수의 SNS 서버가 통신에 사용하는 전용 프로토콜을 사용하여 상기 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및
상기 통신부가 통신하는 복수의 SNS 서버 각각에 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하는 것을 특징으로 하는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터.
An adapter for performing data communication between the integrated SNS gateway and the SNS server in an integrated SNS gateway that integrally provides data communication between a user terminal having an integrated SNS application and a plurality of SNS servers,
A protocol converter for converting an integrated SNS protocol in which the integrated SNS gateway communicates with the user terminal into respective dedicated protocols used by the plurality of SNS servers for communication;
A communication unit for independently communicating with each of the plurality of SNS servers using a dedicated protocol used by the plurality of SNS servers for communication; And
And a plurality of content providers implemented by an API (Application Programming Interface) corresponding to each of a plurality of SNS servers with which the communication unit communicates.
제1항에 있어서, 상기 웹 서비스 어댑터는,
상기 SNS 서버에의 접근을 요청하고 허용받는 인증 모듈을 더 포함하는 것을 특징으로 하는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터.
The web service adapter according to claim 1,
Further comprising an authentication module for requesting and accepting access to the SNS server.
제2항에 있어서, 상기 인증 모듈은,
상기 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 상기 해당 SNS 서버로부터 사용자 인증을 요청받으면, 사용자 로그인을 수행함으로써, 상기 SNS 서버별 접근 토큰을 보유하는 것을 특징으로 하는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터.
The authentication system according to claim 2,
And an access token for each SNS server is requested, and when receiving a request for user authentication from the corresponding SNS server, a user is logged in, thereby holding the access token for each SNS server. The web service adapter for.
제3항에 있어서, 상기 웹 서비스 어댑터의 통신부는,
상기 SNS 서버에, 상기 접근 토큰과 함께 콘텐츠 요청 신호를 전송하여, 추가적인 사용자 인증 절차 없이 콘텐츠 전송을 받는 것을 특징으로 하는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터.
The web service adapter according to claim 3,
And a content request signal with the access token to the SNS server to receive content transmission without additional user authentication procedures.
제1항에 있어서, 상기 웹 서비스 어댑터는,
상기 통합 SNS 게이트웨이에 구비된 동기화 모듈 또는 캐싱 모듈을 통하여 상기 통합 SNS 게이트웨이 내부에 구비되는 다른 구성 모듈과의 사이에서 데이터 동기화 또는 캐싱이 수행되는 것을 특징으로 하는, 통합 SNS 게이트웨이를 위한 웹 서비스 어댑터.
The web service adapter according to claim 1,
Wherein data synchronization or caching is performed between the integrated SNS gateway and another configuration module provided in the integrated SNS gateway through a synchronization module or a caching module provided in the integrated SNS gateway.
통합 SNS 애플리케이션이 설치된 사용자 단말기와 복수 개의 SNS 서버 간의 데이터 통신을 통합하여 제공하는 통합 SNS 게이트웨이로서,
상기 통합 SNS 게이트웨이와 상기 사용자 단말기와 통신하는 통합 SNS 프로토콜을 상기 복수의 SNS 서버가 통신에 사용하는 각각의 프로토콜로 변환하는 프로토콜 변환부; 상기 복수의 SNS 서버가 통신에 사용하는 프로토콜을 사용하여 상기 복수의 SNS 서버 각각과 독립적으로 통신하는 통신부; 및 상기 통신부가 통신하는 복수의 SNS 서버에 각각 대응되는 API(Application Programming Interface)로 구현된 복수의 콘텐츠 프로바이더를 포함하는 웹 서비스 어댑터를 포함하는 것을 특징으로 하는, 통합 SNS 게이트웨이.
An integrated SNS gateway for integrally providing data communication between a user terminal equipped with an integrated SNS application and a plurality of SNS servers,
A protocol conversion unit for converting an integrated SNS protocol communicating with the integrated SNS gateway and the user terminal into respective protocols used by the plurality of SNS servers for communication; A communication unit for independently communicating with each of the plurality of SNS servers using a protocol used by the plurality of SNS servers for communication; And a Web service adapter including a plurality of content providers implemented with an API (Application Programming Interface) corresponding to a plurality of SNS servers communicated by the communication unit.
제6항에 있어서, 상기 웹 서비스 어댑터는,
상기 SNS 서버에의 접근을 요청하고 허용받는 인증 모듈을 더 포함하는 것을 특징으로 하는, 통합 SNS 게이트웨이.
7. The web service adapter of claim 6,
Further comprising an authentication module for requesting and accepting access to the SNS server.
제7항에 있어서, 상기 인증 모듈은,
상기 각각의 SNS 서버에게 접근 토큰(access token)을 요청하고, 상기 해당 SNS 서버로 부터 사용자 인증을 요청받으면, 사용자 로그인을 수행함으로써, 상기 SNS 서버별 접근 토큰을 보유하는 것을 특징으로 하는, 통합 SNS 게이트웨이.
8. The authentication system according to claim 7,
And an access token for each SNS server is requested, and when the user authentication is requested from the corresponding SNS server, the access token is held by the SNS server by performing a user login. Gateway.
제8항에 있어서, 상기 웹 서비스 어댑터의 통신부는,
상기 SNS 서버에, 상기 접근 토큰과 함께 콘텐츠 요청 신호를 전송하여, 추가의 사용자 인증 절차 없이 콘텐츠 전송을 받는 것을 특징으로 하는, 통합 SNS 게이트웨이.
The web service adapter of claim 8,
And transmits a content request signal to the SNS server along with the access token to receive content transmission without further user authentication procedures.
제6항에 있어서, 상기 통합 SNS 게이트웨이는,
상기 웹 서비스 어댑터가 상기 복수의 SNS 서버와 데이터 통신하여 전송받은 데이터를 상기 사용자 단말기에 실시간으로 푸시알림 전송하는 푸시알림 브로커; 및
상기 사용자 단말기로부터 콘텐츠 로드 요청 신호를 전송받고, 상기 웹 서비스 어댑터에 해당 콘텐츠 송신을 요청하며, 상기 웹 서비스 어댑터로부터 상기 콘텐츠 로드 요청에 대응되는 콘텐츠를 전송받아 상기 사용자 단말기에 전송하는 콘텐츠 어댑터를 더 포함하는 것을 특징으로 하는, 통합 SNS 게이트웨이.
The method of claim 6, wherein the integrated SNS gateway comprises:
A push notification broker that transmits data received by the web service adapter in data communication with the plurality of SNS servers to the user terminal in real time; And
A content adapter for receiving a content load request signal from the user terminal, requesting the web service adapter to transmit the content, receiving a content corresponding to the content load request from the web service adapter, and transmitting the content adapter to the user terminal ≪ / RTI >
KR1020140040489A 2014-04-04 2014-04-04 Web service adapter and integrated sns gateway having therof KR101579525B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140040489A KR101579525B1 (en) 2014-04-04 2014-04-04 Web service adapter and integrated sns gateway having therof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140040489A KR101579525B1 (en) 2014-04-04 2014-04-04 Web service adapter and integrated sns gateway having therof

Publications (2)

Publication Number Publication Date
KR20150115437A true KR20150115437A (en) 2015-10-14
KR101579525B1 KR101579525B1 (en) 2016-01-04

Family

ID=54357585

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140040489A KR101579525B1 (en) 2014-04-04 2014-04-04 Web service adapter and integrated sns gateway having therof

Country Status (1)

Country Link
KR (1) KR101579525B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210140807A (en) * 2020-05-15 2021-11-23 주식회사 비다스테크 System for automatically generating business portfolio interworked with multiple sns platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120086771A (en) * 2011-01-27 2012-08-06 에스케이플래닛 주식회사 System and Method for Managing Address Information by Using Cloud Computing, Apparatus and Method for Managing Address Information, Terminal
KR101375133B1 (en) * 2013-03-21 2014-03-17 주식회사 퓨전소프트 Mobile sns intergrated gateway

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120086771A (en) * 2011-01-27 2012-08-06 에스케이플래닛 주식회사 System and Method for Managing Address Information by Using Cloud Computing, Apparatus and Method for Managing Address Information, Terminal
KR101375133B1 (en) * 2013-03-21 2014-03-17 주식회사 퓨전소프트 Mobile sns intergrated gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
정인식, 김현우, 주홍택, "모바일 통합 SNS 게이트웨이의 웹 서비스 어댑터 설계 및 구현", 한국통신학회 2013년도 하계종합학술발표회 (2013.06.)* *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210140807A (en) * 2020-05-15 2021-11-23 주식회사 비다스테크 System for automatically generating business portfolio interworked with multiple sns platform

Also Published As

Publication number Publication date
KR101579525B1 (en) 2016-01-04

Similar Documents

Publication Publication Date Title
US20220272170A1 (en) Methods and apparatus to share online media impressions data
US20180007144A1 (en) Event queuing and distribution system
WO2017190641A1 (en) Crawler interception method and device, server terminal and computer readable medium
EP3275162B1 (en) Systems and techniques for web communication
WO2017076327A1 (en) Method and apparatus for processing domain name resolution request, and server
US20110289126A1 (en) Content delivery network
EP2773080A1 (en) Sharing control system and method for network resources download information
US9172765B2 (en) Polling-based secure network message notification system and method with performance enhancing features
US11188443B2 (en) Method, apparatus and system for processing log data
WO2017174026A1 (en) Client connection method and system
US11416564B1 (en) Web scraper history management across multiple data centers
CN111756847B (en) Method and device for supporting https protocol by website
WO2021008034A1 (en) Method and apparatus for network request security verification, and computing device and storage medium
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN105556931B (en) System and method for sharing dedicated processing resources
US9400547B2 (en) Processing device and method thereof
KR101579525B1 (en) Web service adapter and integrated sns gateway having therof
US20230018983A1 (en) Traffic counting for proxy web scraping
CN108924773A (en) Message treatment method and device
US20170155711A1 (en) Processing Requests
WO2016201673A1 (en) Detection method and detection device for the number of shared access hosts
CN112152915A (en) Message forwarding network system and message forwarding method
CN112291209B (en) Method and device for acquiring front-end equipment catalog
CN109831701B (en) Digital television equipment browser and method for expanding cross-page system event
US20150295865A1 (en) Attachment transferring method, apparatus, and system

Legal Events

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

Payment date: 20181030

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20191127

Year of fee payment: 5