KR102349039B1 - Control data packet processing system optimized for distributed gateway environment and method therefor - Google Patents

Control data packet processing system optimized for distributed gateway environment and method therefor Download PDF

Info

Publication number
KR102349039B1
KR102349039B1 KR1020210115696A KR20210115696A KR102349039B1 KR 102349039 B1 KR102349039 B1 KR 102349039B1 KR 1020210115696 A KR1020210115696 A KR 1020210115696A KR 20210115696 A KR20210115696 A KR 20210115696A KR 102349039 B1 KR102349039 B1 KR 102349039B1
Authority
KR
South Korea
Prior art keywords
gateway
node
request
control flow
network
Prior art date
Application number
KR1020210115696A
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 KR1020210115696A priority Critical patent/KR102349039B1/en
Application granted granted Critical
Publication of KR102349039B1 publication Critical patent/KR102349039B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/15Flow control; Congestion control in relation to multipoint traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/029Firewall traversal, e.g. tunnelling or, creating pinholes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/288Distributed intermediate devices, i.e. intermediate devices for interaction with other intermediate devices on the same level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A node according to an embodiment of the present invention includes: a communication circuit; a processor operatively coupled to the communication circuit; and a memory operatively coupled to the processor and storing a connection control application. The memory stores instructions causes, when executed by the processor, the node to: detect, through an access control application, a network access event to a destination network; check, through the access control application, whether a tunnel between the node and a gateway and a data flow corresponding to the destination network and authorized from an external server exist; perform, when the tunnel connected to the gateway exists and there is a set of information capable of performing control flow distribution processing in the gateway, a network access request to the gateway; and perform, when the set of information does not exist in the gateway, a network access request to the external server. According to the present invention, stable network access control can be possible.

Description

분산 게이트웨이 환경에 최적화된 제어 데이터 패킷 처리 시스템 및 그에 관한 방법{CONTROL DATA PACKET PROCESSING SYSTEM OPTIMIZED FOR DISTRIBUTED GATEWAY ENVIRONMENT AND METHOD THEREFOR}CONTROL DATA PACKET PROCESSING SYSTEM OPTIMIZED FOR DISTRIBUTED GATEWAY ENVIRONMENT AND METHOD THEREFOR

본 문서에 개시된 실시예들은 분산 게이트웨이 환경에 최적화된 제어 데이터 패킷 처리 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a control data packet processing system optimized for a distributed gateway environment and a method therefor.

터널링에 기반하는 접속성 제어 기술 등은 단말이 목적지 네트워크에 접속하기 위한 전용 데이터 패킷 흐름을 구성하기 위해 최소 하나 이상의 게이트웨이와 연결하여야 하는 구조를 가지고 있다.Tunneling-based connectivity control technology and the like have a structure in which a terminal must connect with at least one gateway to configure a dedicated data packet flow for accessing a destination network.

국가 및 지역적, 물리적으로 세분화된 네트워크 및 업무 환경에서 이와 같은 구조를 사용하여 원격지에 존재하는 클라우드 또는 네트워크에 접속하는 경우 최종 목적지 네트워크 경계에 존재하는 게이트웨이와 접속을 유지해야 할 수 있다.When accessing a remote cloud or network using this structure in a national, regional, and physically segmented network and work environment, it may be necessary to maintain a connection with a gateway existing at the boundary of the final destination network.

예를 들어 남아프리카에 존재하는 지사에서 한국에 존재하는 본사의 클라우드 또는 네트워크의 경계에 존재하는 게이트웨이에 접속을 하는 경우, 통신 경로상에 존재하는 수많은 국가간 경계 및 라우터 등을 거쳐서 통신을 수행함과 동시에 암호화된 데이터 패킷이 전송되므로 통신 성능이 매우 저하되는 현상이 발생된다.For example, when a branch in South Africa connects to a gateway located at the boundary of the network or the cloud of the head office in Korea, communication is performed through numerous borders and routers between countries on the communication path. Since encrypted data packets are transmitted, communication performance is greatly degraded.

이러한 문제를 해결하고자 통신사에서는 SD-WAN 및 MPLS 등의 기술을 활용하는 국가간 전용선 서비스를 제공하고 있지만 높은 도입 및 유지 비용으로 인해 효용 가치가 떨어지는 문제를 내재할 수 있다.To solve this problem, telecommunication companies are providing cross-border leased line services using technologies such as SD-WAN and MPLS, but their utility value may be reduced due to high introduction and maintenance costs.

또한 통신시 수신되는 일부 컨텐츠 또는 파일을 통신 경로 상에 존재하는 분산 캐쉬 서버를 통해서 캐쉬된 정보를 우선적으로 제공하는 웹 가속 기술도 사용되지만 캐쉬화할 수 없는 실시간 데이터를 주고 받는 경우 및 암호화된 데이터 패킷을 처리하는 경우 캐쉬 서버는 필요로 한 정보를 확인할 수 없기 때문에 이러한 기술을 활용할 수 없는 문제를 내재한다.In addition, web acceleration technology that preferentially provides cached information through a distributed cache server that exists on the communication path for some content or files received during communication is also used, but when sending and receiving real-time data that cannot be cached and encrypted data packets In the case of processing the cache server, there is a problem that these technologies cannot be utilized because the required information cannot be verified.

IPSec 터널링의 경우 운영체제 수준에서 암호화 및 캡슐화를 수행하기 때문에 애플리케이션 수준에이러한 문제를 해결하고자 접속 단말이 위치한 지역에서 가장 가까운 분산 네트워크에 배치된 게이트웨이와 단말을 연결하고, 단말과 연결된 해당 게이트웨이는 분산 네트워크에서 제공하는 전용 네트워크 및 라우터 또는 전용선을 활용하여 본사의 서비스 자원이 존재하는 클라우드 또는 서비스 자원과 가장 가까운 분산 네트워크에 배치된 게이트웨이까지 데이터 패킷을 전송하고, 해당 게이트웨이에서 서비스 자원 또는 본사의 네트워크 경계에 존재하는 게이트웨이와 연결된 서비스 자원과 연결을 하는 터널 라우팅 기술을 사용하여 통신사 및 클라우드 기업들이 제공하는 인프라를 활용하여 전세계 어디에서든 빠르게 목적지 네트워크에 접속할 수 있는 기술을 제공할 수 있다.In the case of IPSec tunneling, encryption and encapsulation are performed at the operating system level, so to solve this problem at the application level, the gateway and the terminal located in the distributed network closest to the region where the access terminal is located are connected, and the corresponding gateway connected to the terminal is a distributed network. Utilizing the dedicated network and router or dedicated line provided by By using the tunnel routing technology that connects with the service resources connected to the existing gateway, it is possible to provide a technology to quickly access the destination network from anywhere in the world by utilizing the infrastructure provided by telecommunication companies and cloud companies.

하지만, 단말과 게이트웨이 사이에 터널이 수립된 이후에 별다른 접속 제어를 수행하지 않는 기존 통신 방식과 다르게 컨트롤러를 사용하여 단말의 애플리케이션 수준에서 접속 제어를 수행하는 데이터 플로우 기반의 접속성 제어 기술을 사용하는 경우, 애플리케이션 접속 요청시마다 컨트롤러에 질의해야 하는 현상이 발생된다.However, unlike the existing communication method that does not perform special access control after the tunnel is established between the terminal and the gateway, it uses a data flow-based connectivity control technology that uses a controller to perform access control at the application level of the terminal. In this case, it is necessary to query the controller whenever an application connection request is made.

통상적으로 컨트롤러는 그 특성상 일원화된 정책 및 세션의 통합 관리, 자원 보호를 위해 본사 네트워크 또는 본사 인근에 위치한 분산 네트워크에 존재하며, 데이터 플로우 기반의 접속성 제어 기술의 특성상 하나의 단말에서 수백건의 접속 요청이 발생됨과 동시에 이러한 제어 데이터 패킷은 엣지 게이트웨이를 통해서 통신하는 것이 아닌 일반적 라우팅 경로를 통해서 컨트롤러에 도달하기 때문에 단말과 컨트롤러 사이에서의 처리는 지연될 수밖에 없는 구조를 가지고 있다.In general, the controller exists in the head office network or a distributed network located near the head office for integrated management of unified policies and sessions and resource protection due to its characteristics. At the same time as this occurs, these control data packets arrive at the controller through a general routing path rather than through an edge gateway, so that the processing between the terminal and the controller is inevitably delayed.

나아가 컨트롤러는 단말의 접속 요청에 따라 생성된 데이터 플로우 정보를 인근 게이트웨이에도 전달해야 하는 문제가 발생할 수 있다.Furthermore, there may be a problem in that the controller has to transmit the data flow information generated according to the access request of the terminal to the neighboring gateway as well.

사용자는 애플리케이션을 실행하고 어떠한 네트워크 접속을 시도하는 경우, 이러한 지연 문제때문에 데이터 플로우 접속 제어 요청을 위해 수초동안 기다려야 하는 문제가 발생하므로 사용자 경험에 좋지 않은 영향을 미칠 수 있다.When a user runs an application and tries to access any network, this delay problem causes a problem of waiting for several seconds for a data flow access control request, which may adversely affect the user experience.

특히, 컨트롤러를 모든 엣지 분산 네트워크에 배치하는 경우 컨트롤러 간의 동기화 문제가 있으며, 분산 네트워크 인프라의 특성상 각 지역별로 컨트롤러 배치 시 게이트웨이와 같이 배치되어야 하기 때문에 많은 비용이 발생되므로 최소한의 인프라 및 경로상에서의 문제점을 해결하기 위한 방안이 필요로 하게 된다.In particular, when the controller is deployed in all edge distributed networks, there is a synchronization problem between the controllers, and due to the nature of the distributed network infrastructure, when deploying the controller in each region, a lot of costs are incurred because it has to be placed like a gateway. A way to solve the problem is needed.

본 문서에 개시되는 다양한 실시예들은 분산 네트워크에 존재하는 엣지 게이트웨이에서 컨트롤러에서 처리해야 하는 데이터 플로우 접속 제어 기능을 수행함으로써 컨트롤러와의 접속을 최소화하고 엣지 게이트웨이와 단말이 연결된 경우 엣지 게이트웨이와 컨트롤러와 연결된 게이트웨이 사이에서의 최적화된 성능을 보장하기 위한 분산 네트워크 인프라 기반의 최소화된 라우팅 경로를 설정할 수 있는 방법을 제공함으로써 상기의 문제점을 해결할 수 있다.Various embodiments disclosed in this document minimize the connection with the controller by performing a data flow access control function that needs to be processed by the controller in the edge gateway existing in the distributed network, and when the edge gateway and the terminal are connected, the edge gateway and the controller are connected The above problem can be solved by providing a method for establishing a minimized routing path based on a distributed network infrastructure to ensure optimized performance between gateways.

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대한 네트워크 접속 이벤트를 감지하고, 상기 접속 제어 애플리케이션을 통해, 상기 목적지 네트워크에 대응하고 외부 서버로부터 인가된 데이터 플로우 및 상기 노드와 게이트웨이 사이의 터널이 존재하는지 확인하며, 상기 노드가 상기 게이트웨이와 연결된 터널이 존재하고 상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 일련의 정보가 존재하는 경우, 상기 게이트웨이에 네트워크 접속 요청을 수행하고, 상기 게이트웨이에서 상기 일련의 정보가 존재하지 않는 경우, 상기 노드는 상기 외부 서버에 네트워크 접속 요청을 수행하도록 하는, 명령어들을 저장할 수 있다.A node according to an embodiment disclosed in this document includes: a communication circuit; a processor operatively coupled to the communication circuitry; and a memory operatively coupled to the processor and storing a connection control application, wherein the memory, when executed by the processor, causes the node, via the connection control application, to detect a network connection event to a destination network. Detect, through the access control application, check whether a data flow corresponding to the destination network and authorized from an external server and a tunnel between the node and the gateway exist, wherein the node has a tunnel connected with the gateway and the gateway When there is a set of information for performing control flow distribution processing in You can store instructions that allow you to fulfill a request.

일 실시에 따르면, 상기 명령어들은 상기 노드가, 상기 접속 제어 애플리케이션을 통하여 제어 플로우 갱신 이벤트를 감지하고, 상기 게이트웨이에게 제어 플로우 갱신을 요청하고, 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 수신하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 할 수 있다.According to an embodiment, the instructions cause the node to detect a control flow update event through the access control application, request a control flow update from the gateway, receive a first response to the control flow update request, The first response may include updated control flow information.

일 실시에 따르면, 상기 명령어들은 상기 노드가, 상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 제어 플로우 갱신의 요청은 상기 외부 서버에 요청하도록 할 수 있다.According to an embodiment, the commands may cause the node to request the control flow update from the external server after a tunnel connected to the gateway is terminated until a new gateway is designated.

일 실시에 따르면, 상기 명령어들은 상기 노드가, 네트워크 접속의 해제를 요청하는 제2 사용자 입력을 수신하고, 상기 제2 사용자 입력에 응답하여, 상기 게이트웨이에게 네트워크 접속 해제를 요청하도록 할 수 있다.According to an embodiment, the instructions may cause the node to receive a second user input requesting release of the network connection, and in response to the second user input, request the gateway to release the network connection.

일 실시에 따르면, 상기 명령어들은 상기 노드가, 상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 네트워크 접속의 해제의 요청은 상기 외부 서버에 요청하도록 할 수 있다.According to one embodiment, the commands may cause the node to request the external server to release the network connection until a new gateway is designated after the tunnel connected to the gateway is terminated.

일 실시예에 따르면, 게이트웨이는, 통신 회로; 데이터 베이스를 저장하는 메모리; 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드의 접속 제어 애플리케이션으로부터, 제어 플로우 처리의 요청을 수신하고, 상기 접속 제어 애플리케이션으로부터 제어 플로우 처리를 요청받는 경우, 상기 노드가 요청한 제어 플로우 정보를 확인하여 유효한 제어 플로우 처리 요청인지 확인하며, 상기 게이트웨이에서 처리가능한 요청인 경우 상기 요청에 대한 처리 결과를 단말에 반환하고, 상기 게이트웨이에서 처리가 불가능한 요청인 경우, 상기 요청을 외부 서버로 요청하며, 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하도록 하는 명령어들을 저장할 수 있다.According to one embodiment, a gateway comprises: communication circuitry; a memory for storing the database; and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a request for control flow processing from a connection control application of a node, and receives a request for control flow processing from the connection control application , check the control flow information requested by the node to confirm whether it is a valid control flow processing request, return a processing result for the request to the terminal if it is a request that can be processed by the gateway, and if the request cannot be processed by the gateway, It is possible to store commands for requesting the request to an external server, receiving the requested result from the external server, and returning a result for the request to the node.

일 실시예에 따르면, 상기 명령어들은 상기 게이트웨이가, 상기 접속 제어 애플리케이션으로부터 제어 플로우 갱신 요청을 수신하고, 상기 게이트웨이가 제어 플로우 갱신을 처리할 수 있는 경우, 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 상기 단말로 발송하며, 상기 게이트웨이에서 제어 플로우 갱신을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하며, 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 할 수 있다.According to an embodiment, the instructions include, when the gateway receives a control flow update request from the access control application, and the gateway can process the control flow update, a first response to the control flow update request send to the terminal, and when the gateway cannot process the control flow update, request the request to an external server, receive the requested result from the external server, and return the result for the request to the node; The first response may include updated control flow information.

일 실시예에 따르면, 상기 명령어들은 상기 게이트웨이가, 상기 접속 제어 애플리케이션으로부터 네트워크 접속의 해제의 요청을 수신하고, 상기 네트워크 접속의 해제의 요청에 응답하여, 제어 플로우 및 터널을 제거하며, 상기 게이트웨이에서 상기 네트워크 접속의 해제의 요청을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하도록 할 수 있다.According to an embodiment, the instructions cause the gateway to receive a request for release of a network connection from the access control application, and in response to the request for release of the network connection, remove a control flow and a tunnel, and at the gateway When the request for release of the network connection cannot be processed, the request may be made to an external server.

본 문서에 개시된 일 실시예에 따른 게이트웨이는, 통신 회로; 데이터 베이스를 저장하는 메모리; 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드의 접속 제어 애플리케이션으로부터, 제어 플로우 처리의 요청을 수신하고, 상기 접속 제어 애플리케이션으로부터 제어 플로우 처리를 요청받는 경우, 상기 노드가 요청한 제어 플로우 정보를 확인하여 유효한 제어 플로우 처리 요청인지 확인하며, 상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가능한 요청인 경우 상기 요청에 대한 처리 결과를 단말에 반환하고, 상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가 불가능한 요청인 경우, 상기 요청을 외부 서버로 요청하며, 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하도록 하는 명령어들을 저장할 수 있다.A gateway according to an embodiment disclosed in this document includes: a communication circuit; a memory for storing the database; and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a request for control flow processing from a connection control application of a node, and receives a request for control flow processing from the connection control application , check the control flow information requested by the node to determine whether it is a valid control flow processing request, and if the control flow processing request is a request that can be processed by the gateway, returns a processing result for the request to the terminal, and processes the control flow When the request is a request that cannot be processed by the gateway, commands for requesting the request to an external server, receiving the requested result from the external server, and returning a result for the request to the node may be stored.

일 실시에 따르면, 상기 명령어들은 상기 게이트웨이가, 상기 접속 제어 애플리케이션으로부터 제어 플로우 갱신 요청을 수신하고, 상기 게이트웨이가 제어 플로우 갱신을 처리할 수 있는 경우, 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 상기 단말로 발송하며, 상기 게이트웨이에서 제어 플로우 갱신을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하며, 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 할 수 있다.According to an embodiment, the instructions include, when the gateway receives a control flow update request from the access control application, and the gateway can process the control flow update, a first response to the control flow update request is the send to the terminal, and when the gateway cannot process the control flow update, request the request to an external server, receive the requested result from the external server, and return the result for the request to the node, and The first response may include updated control flow information.

일 실시에 따르면, 상기 명령어들은 상기 게이트웨이가, 상기 접속 제어 애플리케이션으로부터 네트워크 접속의 해제의 요청을 수신하고, 상기 네트워크 접속의 해제의 요청에 응답하여, 제어 플로우 및 터널을 제거하며, 상기 게이트웨이에서 상기 네트워크 접속의 해제의 요청을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하도록 할 수 있다.According to one embodiment, the instructions cause the gateway to receive a request for release of a network connection from the access control application, and in response to the request for release of the network connection, remove a control flow and a tunnel, and at the gateway When the request for release of the network connection cannot be processed, the request may be made to an external server.

본 문서에 개시된 일 실시예에 따른 네트워크 접속 제어 시스템의 동작 방법은, 노드의 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대한 네트워크 접속 이벤트를 감지하는 단계; 상기 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대응하고 외부 서버로부터 인가된 데이터 플로우 및 노드와 게이트웨이 사이의 터널이 존재하는지 확인하는 단계; 상기 노드와 상기 게이트웨이 사이에 연결된 터널이 존재하고 상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 일련의 정보가 존재하는 경우, 상기 노드에서 상기 게이트웨이에 네트워크 접속 요청을 수행하는 단계 - 상기 일련의 정보는 제어 플로우 처리를 위한 게이트웨이의 IP 주소 및 포트 정보, 제어 플로우 분산 처리 여부, 게이트웨이에서 처리할 수 있는 명령어 목록을 포함함 -; 및 상기 게이트웨이에서 상기 일련의 정보가 존재하지 않는 경우, 상기 노드에서 상기 외부 서버에 네트워크 접속 요청을 수행하도록 하는 단계를 포함할 수 있다.A method of operating a network access control system according to an embodiment disclosed in this document includes the steps of: detecting a network access event to a destination network through an access control application of a node; checking, through the access control application, whether a data flow corresponding to the destination network and authorized from an external server and a tunnel between the node and the gateway exist; When there is a tunnel connected between the node and the gateway and there is a set of information for performing control flow distribution processing in the gateway, the node performing a network access request to the gateway - the set of information includes the IP address and port information of the gateway for control flow processing, whether the control flow is distributed processing, and a list of commands that can be processed by the gateway; and when the set of information does not exist in the gateway, allowing the node to perform a network access request to the external server.

일 실시에 따르면, 상기 접속 제어 애플리케이션을 통하여 제어 플로우 갱신 이벤트를 감지하는 단계; 및 상기 노드에서 상기 게이트웨이에게 제어 플로우 갱신을 요청하는 단계; 상기 게이트웨이에서 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 상기 노드에게 발송하는 단계를 더 포함하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 할 수 있다.According to an embodiment, detecting a control flow update event through the access control application; and requesting, in the node, a control flow update from the gateway. The method may further include sending, by the gateway, a first response to the control flow update request to the node, wherein the first response includes updated control flow information.

일 실시에 따르면, 상기 노드와 상기 게이트웨이와 연결된 터널이 종료된 이후, 상기 노드에 대한 새로운 게이트웨이가 지정될 때까지 상기 제어 플로우 갱신을 상기 외부 서버에 요청하는 단계를 더 포함할 수 있다.According to an embodiment, after the tunnel connected to the node and the gateway is terminated, the method may further include requesting the external server to update the control flow until a new gateway for the node is designated.

일 실시에 따르면, 상기 노드에서 네트워크 접속의 해제를 요청하는 제2 사용자 입력을 수신하는 단계; 및 상기 노드에서, 상기 제2 사용자 입력에 응답하여, 상기 게이트웨이에게 네트워크 접속 해제를 요청하는 단계를 더 포함하는 네트워크 접속 제어 시스템의 동작 방법. According to an embodiment, receiving a second user input requesting release of the network connection at the node; and requesting, at the node, to release the network connection from the gateway in response to the second user input.

일 실시에 따르면, 상기 노드와 상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 네트워크 접속의 해제의 요청은 상기 외부 서버에 요청하는 단계를 더 포함할 수 있다.According to one embodiment, after the tunnel connected between the node and the gateway is terminated, the request for release of the network connection until a new gateway is designated may further include the step of requesting the external server.

본 문서에 개시된 일 실시예에 따른 네트워크 접속 제어 시스템의 동작 방법은, 게이트웨이에서 노드의 접속 제어 애플리케이션으로부터, 제어 플로우 처리의 요청을 수신하는 단계; 상기 게이트웨이가 상기 접속 제어 애플리케이션으로부터 제어 플로우 처리를 요청받는 경우, 상기 노드가 요청한 제어 플로우 정보를 확인하여 유효한 제어 플로우 처리 요청인지 확인하는 단계; 상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가능한 요청인 경우 상기 요청에 대한 처리 결과를 단말에 반환하는 단계; 상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가 불가능한 요청인 경우, 상기 요청을 외부 서버로 요청하는 단계; 및 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하는 단계를 포함할 수 있다.A method of operating a network access control system according to an embodiment disclosed in this document, the method comprising: receiving, in a gateway, a request for control flow processing from an access control application of a node; when the gateway receives a request for control flow processing from the access control application, checking the control flow information requested by the node to determine whether it is a valid control flow processing request; returning a processing result for the request to the terminal when the control flow processing request is a request that can be processed by the gateway; when the control flow processing request is a request that cannot be processed by the gateway, requesting the request to an external server; and receiving a result requested from the external server and returning a result for the request to the node.

본 문서에 개시되는 실시예들에 따르면, 엣지 게이트웨이에서 처리 가능한 명령어를 분산 처리함으로써 컨트롤러는 상기의 테이블에 나열되지 않은 수많은 명령어 중 핵심 명령어만 처리하면 되므로 효율적인 부하 분산 처리가 가능하며 위와 같이 일시적으로 제어 요청이 폭증하는 경우에도 안정적인 네트워크 접속 통제가 가능할 수 있다According to the embodiments disclosed in this document, by distributing commands that can be processed by the edge gateway, the controller only needs to process core commands among numerous commands not listed in the table above, so efficient load balancing processing is possible, and as above, temporarily Stable network access control may be possible even in the case of an explosion in control requests

나아가, 본 문서에 개시되는 실시예들에 따르면, 엣지 게이트웨이는 데이터 패킷 처리량과 비례하게 증설되며, 상시 유휴 처리 용량을 확보하고 있으며 컨트롤러 대비 신속하게 자원을 증설할 수 있는 장점이 존재하기 때문에 비용 효율적인 인프라 구성 및 처리 용량 확보가 가능할 수 있다.Furthermore, according to the embodiments disclosed in this document, the edge gateway is expanded in proportion to the data packet throughput, and has the advantage of securing idle processing capacity at all times, and has the advantage of rapidly expanding resources compared to the controller, so it is cost-effective It may be possible to configure infrastructure and secure processing capacity.

특히, 본 문서에 개시되는 실시예들에 따르면, 다양한 지역에 분산되어 있는 단말의 모든 네트워크 접속 요청이 특정 클라우드 또는 네트워크에 집합되어 있는 컨트롤러에서 처리하는 것이 아니라 인근에 위치한 엣지 게이트웨이를 통해서 네트워크 접속 통제를 받기 때문에 상기 테이블에 나열되어 있지 않은 네트워크 지연 속도에 대한 성능이 대폭적으로 개선될 수 있다.In particular, according to the embodiments disclosed in this document, all network access requests of terminals distributed in various regions are not processed by a controller aggregated in a specific cloud or network, but network access is controlled through an edge gateway located nearby , which can significantly improve performance for network latency not listed in the table above.

본 문서에 개시되는 실시예들에 따르면, 대단위 글로벌 네트워크를 제공하는 경우, 비용 효율적으로 안정성 및 성능이 개선된 터널 및 데이터 플로우 기반 네트워크 접속 제어 서비스 및 인프라를 제공할 수 있다.According to the embodiments disclosed in this document, when a large-scale global network is provided, it is possible to provide a tunnel and data flow-based network access control service and infrastructure with improved stability and performance in a cost-effective manner.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따라 네트워크 접속이 차단되는 동작을 설명할 수 있다.
도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 컨트롤러 접속을 위한 사용자 인터페이스 화면을 나타낸다.
도 8은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 나타낸다.
도 9는 네트워크 접속을 처리하기 위한 신호 흐름도를 나타낸다.
도 10은 다양한 실시예들에 따른 데이터 패킷을 포워딩하기 위한 흐름도를 나타낸다.
도 11은 다양한 실시예들에 따른 제어 플로우 처리를 위한 흐름도를 나타낸다.
도 12는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 나타낸다.
도 13은 다양한 실시예들에 따른 네트워크 접속 해제를 위한 신호 흐름도를 나타낸다.
도 14는 다양한 실시예들에 따른 네트워크 접속 해제를 위한 사용자 인터페이스 화면을 나타낸다.
1 shows an environment including a plurality of networks.
FIG. 2 shows an environment including a plurality of networks in FIG. 1 .
2 illustrates an architecture within a network environment in accordance with various embodiments.
3 is a functional block diagram illustrating a database stored in a controller according to various embodiments of the present disclosure;
4 illustrates a functional block diagram of a node in accordance with various embodiments.
5 may explain an operation of blocking a network connection according to various embodiments of the present disclosure.
6 illustrates a signal flow diagram for controller connection according to various embodiments.
7 illustrates a user interface screen for accessing a controller according to various embodiments of the present disclosure.
8 illustrates a signal flow diagram for user authentication according to various embodiments of the present disclosure.
9 shows a signal flow diagram for processing a network connection.
10 shows a flowchart for forwarding a data packet in accordance with various embodiments.
11 is a flowchart for control flow processing according to various embodiments of the present disclosure;
12 is a flowchart illustrating a signal flow for updating a control flow according to various embodiments of the present disclosure;
13 is a diagram illustrating a signal flow for releasing a network connection according to various embodiments of the present disclosure;
14 illustrates a user interface screen for releasing a network connection according to various embodiments of the present disclosure.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 할 수 있다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.

본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미할 수 있다.In this document, the singular form of a noun corresponding to an item may include one or a plurality of items unless the context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "A; Each of the phrases such as "at least one of B, or C" may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". Where referenced, it may mean that one component can be connected to the other component directly (eg, by wire), wirelessly, or through a third component.

본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, a module or a program) of components described in this document may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine) 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 할 수 있다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document may be implemented as software (eg, a program or an application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine. For example, the processor of the device may call at least one of the one or more instructions stored from the storage medium and execute it. This may enable the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not include a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 애플리케이션 스토어를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 애플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. Methods according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store or between two user devices (eg smartphones). It can be distributed directly or online (eg, downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. 1 shows an environment including a plurality of networks.

도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. Referring to FIG. 1 , the first network 10 and the second network 20 may be different networks. For example, the first network 10 may be a public network such as the Internet, and the second network 20 may be a private network such as an intranet or VPN.

제1 네트워크(10)는 출발지 노드(101)를 포함할 수 있다. 도 1 및 이하 서술되는 실시예들에서, '출발지 노드'는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 출발지 노드(101)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 출발지 노드(101)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 출발지 노드(101)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 한편, 도착지 노드(102)는 상술한 출발지 노드(101)와 동일 유사한 장치를 포함할 수 있다.The first network 10 may include a source node 101 . 1 and the embodiments described below, the 'source node' may be various types of devices capable of performing data communication. For example, the source node 101 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, a virtual reality (VR) device. , or a home appliance, and is not limited to the above-described devices. For example, the source node 101 may include a server or gateway capable of sending data packets through an application. The source node 101 may also be referred to as an 'electronic device' or a 'terminal'. On the other hand, the destination node 102 may include the same and similar device as the above-described origin node 101 .

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103) 및 터널(105)을 통해 데이터를 도착지 노드(102)로 전송할 수 있다. The source node 101 may attempt to access the second network 20 and transmit data to the destination node 102 included in the second network 20 . The source node 101 may transmit data to the destination node 102 through the gateway 103 and the tunnel 105 .

출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. When the access of the source node 101 to the first network 10 is approved, the source node 101 can communicate with all servers included in the first network 10, so that the source node 101 is malicious. ) can be exposed from program attack. For example, the source node 101 is a trusted and/or secure application, such as an Internet web browser 110a, business application 110b, as well as malicious code 110c, infected (infected) ) may receive data from an untrusted or unsecured application, such as business application 110d.

악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기초하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 터널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The source node 101 infected with the malicious program may attempt to access and/or transmit data to the second network 20 . When the second network 20 is formed based on IP such as VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and the application in the OSI layer It may be vulnerable to security at the layer or transport layer. In addition, if the source node 101 includes a malicious application after the tunnel has already been created, the data of the malicious application is transmitted to another electronic device (eg, the destination node 102 ) in the second network 20 . can

도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.2 illustrates an architecture within a network environment in accordance with various embodiments.

도 2를 참조하면, 노드(201), 게이트웨이(203) 및 도착지 노드(204)의 개수는 도 2에 도시된 개수로 제한되는 것은 아니다. 예를 들어, 노드(201)는 복수의 게이트웨이를 통해 복수의 도착지 노드에게 데이터를 전송할 수 있고, 컨트롤러(202)는 복수의 출발지 노드, 게이트웨이 및 도착지 노드를 관리할 수 있다. 한편, 일부 단말(201-4)은 코어 게이트웨이(203-2)을 통하지 않고도 엣지 게이트웨이(202-4)를 통해 도착지 노드로 데이터를 송신할 수 있다. 단말(201-1, 201-2, 201-3, 201-4)은 도 1에 도시된 출발지 노드(101)와 동일 유사한 기능을 수행할 수 있고, 엣지 게이트웨이(202-1, 202-2, 202-3, 202-4)및 코어 게이트웨이(203)는 도 1에 도시된 게이트웨이(103)와 동일 유사한 기능을 수행할 수 있고, 도착지 노드(204)는 도 1에 도시된 도착지 노드(102)와 동일 유사한 기능을 수행할 수 있다.Referring to FIG. 2 , the number of the node 201 , the gateway 203 , and the destination node 204 is not limited to the number illustrated in FIG. 2 . For example, the node 201 may transmit data to a plurality of destination nodes through a plurality of gateways, and the controller 202 may manage a plurality of source nodes, gateways, and destination nodes. Meanwhile, some terminals 201-4 may transmit data to the destination node through the edge gateway 202-4 without going through the core gateway 203-2. The terminals 201-1, 201-2, 201-3, and 201-4 may perform the same and similar functions as the source node 101 shown in FIG. 1, and the edge gateways 202-1, 202-2, 202-3 and 202-4) and the core gateway 203 may perform the same and similar functions as the gateway 103 shown in FIG. 1, and the destination node 204 is the destination node 102 shown in FIG. can perform similar functions as

노드(201)는 지역 A에 있는 Windows 단말(201-1), 지역 A에 있는 Android 단말(201-2), 지역 B에 있는 Windows 단말(201-3), 및 지역 C에 있는 iOS 단말(201-4)을 포함할 수 있다. 노드(201)는 노드(201) 내의 애플리케이션에 대한 모든 네트워크 접속 제어를 위해 접속 제어 애플리케이션 및 네트워크 드라이버를 포함할 수 있다. 노드(201)는 네트워크 접속 발생시 컨트롤러로부터 접속 가능 여부를 확인하고, 접속 가능한 경우에만 컨트롤러(202)에 의해 생성된 데이터 플로우 정보를 통해 접속 대상 네트워크의 경계에 존재하는 게이트웨이(203)로 데이터 패킷을 전송할 수 있다. 터널 및 데이터 플로우 기반 접속성 제어 기술은 노드(201)가 대상 네트워크에 접속하기 위해 컨트롤러(202)에 의해서 인가된 터널(210) 및 데이터 플로우가 존재하는 경우에만 통신이 가능한 구조를 제공하며, 터널 및 데이터 플로우가 존재하지 않는 경우 노드(201)가 통신을 수행할 수 없는 구조를 제공할 수 있다.The node 201 includes a Windows terminal 201-1 in region A, an Android terminal 201-2 in region A, a Windows terminal 201-3 in region B, and an iOS terminal 201 in region C. -4) may be included. Node 201 may include a connection control application and a network driver for all network access control for applications within node 201 . The node 201 checks whether a connection is possible from the controller when a network connection occurs, and sends a data packet to the gateway 203 existing at the boundary of the connection target network through the data flow information generated by the controller 202 only when connection is possible. can be transmitted Tunnel and data flow-based connectivity control technology provides a structure in which communication is possible only when a tunnel 210 and a data flow authorized by the controller 202 exist for the node 201 to access the target network, and the tunnel and when the data flow does not exist, the node 201 may provide a structure in which communication cannot be performed.

다양한 실시예들에 따르면, 노드(201)는 노드(201) 내에 저장된 애플리케이션의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(미도시) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 접속 제어 애플리케이션은 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다.According to various embodiments, the node 201 may include a connection control application (not shown) and a network driver (not shown) for managing network connections of applications stored in the node 201 . For example, the access control application may control transmission of data packets through a network driver and a kernel including an operating system in the node 201 .

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201), 게이트웨이(203), 및 도착지 노드(204) 사이의 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 컨트롤러(202)는 노드(201)의 네트워크 접속 통제 및 게이트웨이(203)와 게이트웨이(203) 사이의 터널(210)의 생성 여부 확인, 각 노드(201) 및 게이트웨이(203)로부터 수신된 보안 이벤트에 따라 생성된 데이터 플로우 제거 및 블랙리스트를 통한 단말의 격리 등 상시 안전한 네트워크 상태를 유지할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 노드(201)의 도착지 노드(204)에 대한 접속을 관리하거나, 노드(201)와 게이트웨이(203) 사이의 인가된 터널(210)의 생성을 중개하거나, 노드(201) 또는 게이트웨이(203)로부터 수집된 보안 이벤트에 따라서 터널(210)을 제거할 수 있다. 노드(201)는 컨트롤러(202)에 의하여 인가된 터널(210)을 통해서만 도착지 노드(204)와 통신할 수 있으며, 인가된 터널(210)이 존재하지 않으면 단말(2014)은 도착지 노드(204)로의 접속이 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201)의 네트워크 접속과 연관된 다양한 동작(예컨대, 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 노드(201)과 제어 데이터 패킷을 송수신할 수 있다. 또한, 컨트롤러(202)는 도착지 노드(204)의 네트워크 접속 및 네트워크 수신과 연관된 다양한 동작(예컨대, 동록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 도착지 노드(204)와 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예컨대, 220, 240)은 제어 플로우(control flow)로 참조될 수 있다. 한편, 컨트롤러(202)는 서버 또는 외부 서버를 포함할 수 있다.The controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within the network environment by managing data transmission between the node 201 , the gateway 203 , and the destination node 204 . The controller 202 controls the network access of the node 201, checks whether the tunnel 210 is created between the gateway 203 and the gateway 203, and responds to the security event received from each node 201 and the gateway 203. It is possible to maintain a secure network state at all times, such as removing the generated data flow and isolating the terminal through a blacklist. For example, the controller 202 manages the connection of the node 201 to the destination node 204 through policy information or blacklist information, or an authorized tunnel 210 between the node 201 and the gateway 203 . ) may be created, or the tunnel 210 may be removed according to a security event collected from the node 201 or the gateway 203 . The node 201 can communicate with the destination node 204 only through the tunnel 210 authorized by the controller 202, and if the authorized tunnel 210 does not exist, the terminal 2014 returns to the destination node 204. access may be blocked. According to one embodiment, the controller 202 transmits and receives control data packets with the node 201 to perform various operations (eg, registration, authorization, authentication, update, termination) associated with the network connection of the node 201 . can In addition, the controller 202 transmits/receives control data packets to and from the destination node 204 to perform various operations (eg, registration, approval, authentication, update, termination) associated with network access and network reception of the destination node 204 . can do. Flows through which control data packets are transmitted (eg, 220 and 240 ) may be referred to as control flows. Meanwhile, the controller 202 may include a server or an external server.

게이트웨이(203)는 수신된 데이터 패킷 중 인가된 터널(210)로 수신된 데이터 패킷 중 5 Tuples 정보를 확인하여 출발지 IP 및 도착지 IP, 도착지 포트 정보에 해당하는 데이터 플로우 정보가 존재하는 경우, 도착지 노드(204)로 포워딩할 수 있다. 게이트웨이(203)는 엣지 게이트웨이(203-1) 및 코어 게이트웨이(203-2)를 포함할 수 있다. 게이트웨이(203)는 엣지 게이트웨이(203-1) 및 코어 게이트웨이(203-2)를 포함할 수 있다. 엣지 게이트웨이(203-1) 및 코어 게이트웨이(203-2)의 개수는 도 2에 도시된 개수로 제한되는 것은 아니다.The gateway 203 checks 5 tuples information among the data packets received through the authorized tunnel 210 among the received data packets. If there is data flow information corresponding to the source IP, destination IP, and destination port information, the destination node You can forward to (204). The gateway 203 may include an edge gateway 203 - 1 and a core gateway 203 - 2 . The gateway 203 may include an edge gateway 203 - 1 and a core gateway 203 - 2 . The number of edge gateways 203 - 1 and core gateways 203 - 2 is not limited to the number shown in FIG. 2 .

엣지 게이트웨이(203-1)는 각각의 지역 및 커버리지별 지원할 단말의 종류, 평균 거리 및 처리할 단말의 수 및 처리 용량, 네트워크 상황에 따른 터널링 종류 및 부하 분산, 네트워크 접속 종류(무선 네트워크, WIFI, 유선 네트워크 등), 고가용성을 위한 요소를 고려하여 분산 네트워크에 배치될 수 있다.The edge gateway 203-1 provides the type of terminal to be supported for each region and coverage, the average distance, the number and processing capacity of terminals to be processed, the tunneling type and load distribution according to the network situation, and the network connection type (wireless network, WIFI, Wired network, etc.), may be deployed in a distributed network in consideration of factors for high availability.

각각의 엣지 게이트웨이(203-1)는 분산 네트워크 환경에 따라 도착지 노드(204)와 직접적으로 연결되거나 도착지 노드(204) 경계에 존재하는 코어 게이트웨이(203-2)를 통해서 단말과 도착지 노드(204)가 연결되는 방식을 제공함으로써 엣지 게이트웨이(203-1)와 코어 게이트웨이(203-2) 또는 도착지 노드(204) 사이에 분산 네트워크 상의 효율적인 라우팅 경로 및 전용 네트워크를 통해 노드(201)가 네트워크 및 지역적 경계 등 다양한 상황에 따라 발생될 수 있는 네트워크 성능 저하 문제를 해결할 수 있다.Each edge gateway 203-1 is directly connected to the destination node 204 according to a distributed network environment, or through a core gateway 203-2 existing at the boundary of the destination node 204, the terminal and the destination node 204. By providing a way to connect the node 201 through an efficient routing path on a distributed network and a dedicated network between the edge gateway 203-1 and the core gateway 203-2 or the destination node 204, the network and regional boundaries It is possible to solve the problem of network performance degradation that may occur according to various situations such as

컨트롤러(202)에 의해서 통제 받는 노드(201)는, 컨트롤러(202)와 제어 플로우(일종의 세션 및 제어 데이터 패킷 흐름)를 생성하고 노드(201) 및 사용자 인증, 네트워크 접속 요청 등 중앙화된 방식으로 통제가 되며, 제어 플로우의 경로는 노드(201)과 컨트롤러(202)가 엣지 게이트웨이(203-1)를 거치지 않고 직접적으로 통신되거나(220-1), 엣지 게이트웨이(203-1)를 통해서 통신되는 방식(220-2, 220-3)이 될 수 있다.The node 201 controlled by the controller 202 creates a control flow (a kind of session and control data packet flow) with the controller 202 and controls it in a centralized manner such as node 201 and user authentication, network connection request, etc. In the control flow path, the node 201 and the controller 202 communicate directly without going through the edge gateway 203-1 (220-1) or communicate through the edge gateway 203-1. It can be (220-2, 220-3).

노드(201)는 지역 및 네트워크 등의 환경에 따라 최적화된 엣지 게이트웨이(203-1)와 하나 이상의 터널링(210)을 수행하며, 실질적 네트워크 접속 통제(데이터 패킷 제어)는 노드(201)과 엣지 게이트웨이(203-1) 사이에서 이루어지므로 컨트롤러(202)에 빈번히 질의 및 요청해야 하는 특정 요청 및 작업, 명령어에 대한 처리를 엣지 게이트웨이(203-1)가 대신 수행할 수 있다.The node 201 performs one or more tunneling 210 with the edge gateway 203 - 1 optimized according to the environment such as region and network, and actual network access control (data packet control) is performed between the node 201 and the edge gateway Since it is performed between 203-1, the edge gateway 203-1 may instead perform processing for specific requests, tasks, and commands that need to be frequently queried and requested from the controller 202.

즉, 엣지 게이트웨이(203-1)는 컨트롤러(202)와 노드(201) 사이에서 빈번하게 일어나는 일부 요청(예컨대, 제어 플로우 갱신, 네트워크 접속 제어, 터널 갱신 등)을 대신하기 위한 기능이 배치되며, 노드(201)는 최적화된 엣지 게이트웨이(203-1)와의 연결을 통해서 빈번하게 일어나는 일부 요청을, 통신 경로상에서 가장 먼 위치에 존재하는 컨트롤러(202)가 아닌 최단 거리에 있는 엣지 게이트웨이(203-1)를 통해서 신속하게 요청 및 처리가 가능하다.That is, the edge gateway 203-1 has a function to replace some requests (eg, control flow update, network access control, tunnel update, etc.) that occur frequently between the controller 202 and the node 201, The node 201 sends some requests that occur frequently through the connection with the optimized edge gateway 203-1 to the edge gateway 203-1 located at the shortest distance rather than the controller 202 located at the farthest position on the communication path. ) through which you can request and process quickly.

도 3은 다양한 실시예들에 따라 컨트롤러(예컨대, 도 2의 컨트롤러(202))에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치(예컨대, 도 2의 단말(201-1, 201-2, 201-3, 201-4), 게이트웨이(203) 또는 도착지 노드(204))와 통신을 수행하기 위한 통신 회로(예컨대, 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예컨대, 도 4의 프로세서(410))를 더 포함할 수 있다. 3 is a functional block diagram illustrating a database stored in a controller (eg, controller 202 of FIG. 2 ) in accordance with various embodiments. 3 shows only the memory 330 , the controller is an external electronic device (eg, terminals 201-1, 201-2, 201-3, 201-4 in FIG. 2 ), gateway 203 or destination node 204 . )) and a communication circuit for performing communication (eg, the communication circuit 430 of FIG. 4 ) and a processor (eg, the processor 410 of FIG. 4 ) for controlling the overall operation of the controller may be further included.

도 3을 참조하면, 컨트롤러는 네트워크 접속 및 데이터 전송의 제어를 위한 데이터 베이스(311 내지 317)를 메모리(330)에 저장할 수 있다. Referring to FIG. 3 , the controller may store databases 311 to 317 for controlling network access and data transmission in the memory 330 .

접속 정책 데이터 베이스(311)는 식별된 네트워크, 단말, 도착지 노드, 사용자, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 노드(201)로부터 도착지 노드(204)에 대한 접속이 요청되면, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기초하여 식별된 네트워크(예컨대, 단말이 속하는 네트워크), 노드(201), 사용자(예컨대, 노드(201)의 사용자), 및/또는 애플리케이션(예컨대, 노드(201)에 포함되는 애플리케이션)이 도착지 노드(204)에 접속이 가능한지 여부를 결정할 수 있다. 일 실시예에 있어서, 접속 정책 데이터 베이스(311)는 데이터 패킷 검사 정보를 포함할 수 있다.The access policy database 311 may include information on networks and/or services to which the identified network, terminal, destination node, user, or application can access. For example, when a connection to the destination node 204 is requested from the node 201, the controller 202 identifies a network (eg, a network to which the terminal belongs) based on the access policy database 311, the node ( 201 ), a user (eg, a user of node 201 ), and/or an application (eg, an application included in node 201 ) may determine whether the destination node 204 is reachable. In an embodiment, the access policy database 311 may include data packet inspection information.

터널 정책 데이터 베이스(312)는 연결(connection) 경로 상에서 단말과 네트워크의 경계에 존재하는 게이트웨이에 연결될 터널의 종류, 암호화 방법, 및 암호화 수준 정보, 단말의 위치, 네트워크 종류 정보, 게이트웨이의 상태 등을 포함하는 여러가지의 환경적 요소에 따라 우선적으로 접속할 수 있는 게이트웨이 정보를 포함할 수 있다. 예를 들어, 노드(201)로부터 도착지 노드(204)에 대한 접속이 요청되면, 컨트롤러(202)는 터널 정책 데이터 베이스(312)에 기초하여 도착지 노드(204)에 접속하기 위한 최적의 터널 및 그에 관한 정보를 단말에게 제공할 수 있다.The tunnel policy database 312 stores the type of tunnel to be connected to the gateway existing at the boundary between the terminal and the network on the connection path, encryption method, and encryption level information, the location of the terminal, network type information, the status of the gateway, etc. It may include gateway information that can be accessed preferentially according to various environmental factors. For example, when a connection to the destination node 204 is requested from the node 201 , the controller 202 determines an optimal tunnel for accessing the destination node 204 based on the tunnel policy database 312 and the related information may be provided to the terminal.

블랙리스트 정책 데이터 베이스(313)는 특정 노드(예컨대, 노드(201) 또는 도착지 노드(204))의 접속을 영구적 또는 일시적으로 차단하기 위한 정책을 포함할 수 있다. 블랙리스트 정책 데이터 베이스(313)의 정책은 노드(201), 도착지 노드(204) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 정보(예컨대, 단말 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)에 기초하여 생성될 수 있다.The blacklist policy database 313 may include a policy for permanently or temporarily blocking access of a specific node (eg, node 201 or destination node 204 ). The policy of the blacklist policy database 313 is identified through risk level, occurrence period, and/or behavior analysis of security events among security events periodically collected from node 201 , destination node 204 or gateway 203 . information (eg, at least one of a terminal identifier (ID), an IP address, a media access control (MAC) address, or a user ID) may be generated.

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해 차단된 단말, 도착지 노드, IP 주소, MAC 주소, 또는 사용자 중 적어도 하나에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 도착지 노드(204)로의 접속을 요청하는 노드(201)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되면 단말의 접속 요청을 거부함으로써 도착지 노드로부터 단말을 격리시킬 수 있다.The blacklist database 314 may include a list of at least one of a terminal, a destination node, an IP address, a MAC address, and a user blocked by the blacklist policy database 313 . For example, if the identification information of the node 201 requesting access to the destination node 204 is included in the blacklist database 314, the controller 202 isolates the terminal from the destination node by rejecting the access request of the terminal. can do it

제어 플로우 테이블(315)은 노드(예컨대, 노드(201) 또는 도착지 노드(204))와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예컨대, 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 노드(201)가 컨트롤러(202)에 성공적으로 접속하는 경우, 제어 플로우 정보 및 제어 플로우 식별을 위한 식별 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 각각 식별되는 IP 주소, 노드 ID(단말 ID), 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 단말로부터 도착지 노드에 대한 접속이 요청되면, 컨트롤러(202)는 노드(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색하고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 단말 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로써 단말이 접속이 가능한지 여부 및 데이터 플로우 생성 여부를 결정할 수 있다.The control flow table 315 is a session for managing the flow (eg, control flow) of control data packets generated between a node (eg, node 201 or destination node 204 ) and the controller 202 . This is an example of a table. When the node 201 successfully connects to the controller 202 , control flow information and identification information for control flow identification may be generated by the controller 202 . The control flow information may include at least one of identification information of the control flow, an IP address each identified when accessing and authenticating a controller, a node ID (terminal ID), and a user ID. For example, when access to the destination node is requested from the terminal, the controller 202 searches for control flow information through the control flow identification information received from the node 201, and an IP address included in the retrieved control flow information; By mapping at least one of the terminal ID and the user ID to the access policy database 311, it is possible to determine whether the terminal can access and whether to generate a data flow.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드(예컨대, 노드(201) 또는 도착지 노드(204))는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 단말 또는 게이트웨이로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우 또는 단말의 접속 종료 요청에 따라, 컨트롤러(201)는 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 모든 데이터 플로우가 회수되기 때문에 단말의 모든 접속은 차단될 수 있다.According to one embodiment, the control flow may have an expiration time. The node (eg, the node 201 or the destination node 204 ) must update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed. In addition, when it is determined that immediate access blocking is necessary according to a security event collected from the terminal or gateway, or in response to the terminal's request to terminate the access, the controller 201 may remove the control flow. When the control flow is removed, all of the previously generated data flows are recovered, so that all connections of the terminal may be blocked.

터널 테이블(316)은 단말과 게이트웨이 그리고 게이트웨이와 게이트웨이(예컨대, 엣지 게이트웨이(202-1, 202-2, 202-3, 202-4)와 코어 게이트웨이(203)) 사이에 연결된 터널을 관리하기 위한 테이블이다. 터널은 예를 들어, 장치 또는 IP 단위로 생성될 수 있다. 예를 들어, 터널 테이블(316)은 노드(201)과 게이트웨이(203), 게이트웨이(203-1)와 게이트웨이(203-2) 사이에 연결된 터널을 관리하기 위한 테이블로서, 유효한 터널이 존재하는 경우, 터널 테이블(316)은 터널을 관리 및 식별하기 위한 터널 식별 정보(터널 ID), 게이트웨이(203)와 컨트롤러(202) 사이의 제어를 위한 제어 플로우 식별 정보(제어 플로우 ID), 터널 엔드 포인트(tunnel end point, TEP), 터널 스타트 포인트(tunnel start point, TSP), 터널 알고리즘, 터널 종류, 및/또는 터널을 관리하기 위한 부가 정보를 포함할 수 있다.The tunnel table 316 is for managing the tunnel connected between the terminal and the gateway and the gateway and the gateway (eg, the edge gateways 202-1, 202-2, 202-3, 202-4 and the core gateway 203). It is a table. The tunnel may be created, for example, in units of devices or IPs. For example, the tunnel table 316 is a table for managing a tunnel connected between the node 201 and the gateway 203 and the gateway 203-1 and the gateway 203-2. When a valid tunnel exists , tunnel table 316 includes tunnel identification information (tunnel ID) for managing and identifying a tunnel, control flow identification information for control between the gateway 203 and the controller 202 (control flow ID), and a tunnel endpoint ( tunnel end point (TEP), tunnel start point (TSP), tunnel algorithm, tunnel type, and/or additional information for managing the tunnel may be included.

데이터 플로우 테이블(317)은 단말과 게이트웨이 사이에 세부적인 데이터 패킷이 전송되는 흐름(예컨대, 데이터 플로우)을 관리하기 위한 테이블로서, 단말 또는 IP 단위로 생성되는 터널 내에서 TCP 세션, 출발지 단말의 애플리케이션, 또는 보다 세부적인 단위로 데이터 흐름을 관리할 수 있다. 데이터 플로우 테이블(317)은 데이터 플로우 식별 정보, 데이터 플로우가 제어 플로우에 종속되는 경우에는 종속된 제어 플로우 식별 정보, 단말로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 출발지 IP 주소, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. 또한, 데이터 플로우 테이블(317)은 데이터 플로우가 이용될 터널의 식별 정보를 포함할 수 있다. 또한, 데이터 플로우 테이블(317)은 데이터 패킷이 유효한지 여부를 판단하기 위한 헤더(또는 헤더 정보)를 포함할 수 있다. 또한, 데이터 플로우 테이블(317)은 데이터 패킷에 인증 정보인 데이터 플로우 헤더가 삽입되었는지 여부, 헤더의 삽입 방식, 데이터 플로우의 인증 필요 여부, 인증 상태, 및/또는 인증 만료 시각을 더 포함할 수 있다. 또한, 데이터 플로우 테이블(317)은 도착지 노드의 단말 정보(예컨대, 출발지 IP), 서비스 포트 정보 및 수신 가능한 애플리케이션 정보를 포함할 수 있다. 일 실시예에서, 데이터 플로우 테이블(317)은 데이터 패킷 검사 정보를 포함할 수 있다. 예를 들어, 데이터 패킷 검사 정보는, 데이터 패킷 검사 필요 여부를 나타내고, 룰 데이터베이스를 포함할 수 있다. 여기서, 룰 데이터베이스는 데이터 패킷 검사 방법(예컨대, 단일 데이터 패킷 검사, 복수 데이터 패킷 검사), 데이터 패킷 검사시 적용할 패턴, 데이터 패킷 검사시 적용할 위치 및 검사 후 처리 방법(예컨대, 데이터 패킷 차단, 데이터 패킷 치환 및 데이터 패킷 복사) 중 적어도 하나를 포함할 수 있다.The data flow table 317 is a table for managing a flow (eg, data flow) in which detailed data packets are transmitted between a terminal and a gateway, and a TCP session within a tunnel created in units of terminals or IPs, application of a source terminal , or you can manage data flow in more granular units. The data flow table 317 includes data flow identification information, dependent control flow identification information when a data flow is dependent on a control flow, an application ID for identifying whether the data packet transmitted from the terminal is an authorized data packet, a source IP address, destination IP address, and/or service port. Also, the data flow table 317 may include identification information of a tunnel through which the data flow is to be used. Also, the data flow table 317 may include a header (or header information) for determining whether a data packet is valid. In addition, the data flow table 317 may further include whether a data flow header, which is authentication information, is inserted into the data packet, an insertion method of the header, whether or not authentication of the data flow is required, an authentication state, and/or an authentication expiration time. . Also, the data flow table 317 may include terminal information (eg, source IP) of the destination node, service port information, and receivable application information. In one embodiment, the data flow table 317 may include data packet inspection information. For example, the data packet inspection information may indicate whether data packet inspection is required and may include a rule database. Here, the rule database includes a data packet inspection method (eg, single data packet inspection, multiple data packet inspection), a pattern to be applied when inspecting a data packet, a location to be applied when inspecting a data packet, and a processing method after inspection (eg, blocking data packets, data packet replacement and data packet copying).

또한, 컨트롤러(202)에 포함된 데이터 플로우 테이블 구조는 노드(201) 및 게이트웨이(203)에 동일하게 적용될 수 있다.Also, the data flow table structure included in the controller 202 may be equally applied to the node 201 and the gateway 203 .

도 4는 다양한 실시예들에 따른 노드(예컨대, 도 2의 노드(201) 및 도착지 노드(204))의 기능적 블록도를 나타낸다. 4 illustrates a functional block diagram of a node (eg, node 201 and destination node 204 in FIG. 2 ) in accordance with various embodiments.

도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410 , a memory 420 , and a communication circuit 430 . According to an embodiment, the node may further include a display 440 to interface with the user.

프로세서(410)는 노드의 전반적인 동작을 제어할 수 있다. 다양한 실시예들에서, 프로세서(410)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(410)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시예들에 따라, 프로세서(410)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시예들에 따라, 프로세서(410)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(410)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 410 may control the overall operation of the node. In various embodiments, the processor 410 may include one processor core or a plurality of processor cores. For example, the processor 410 may include a multi-core such as a dual-core, a quad-core, or a hexa-core. According to embodiments, the processor 410 may further include a cache memory located internally or externally. According to embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, and a graphical processing unit (GPU).

프로세서(410)의 전부 또는 일부는 노드 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 노드의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기초하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다.All or part of the processor 410 is electrically or operatively coupled to other components within the node (eg, memory 420 , communication circuitry 430 , or display 440 ). It can be coupled with or connected to. The processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process a message, data, command, or signal received from the memory 420 , the communication circuit 430 , or the display 440 . The processor 410 may generate a new message, data, instruction, or signal based on the received message, data, instruction, or signal. The processor 410 may provide the processed or generated message, data, instruction, or signal to the memory 420 , the communication circuitry 430 , or the display 440 .

프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 may process data or signals generated or generated in a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may write (or store) or update instructions, data, or signals to the memory 420 to execute or control a program.

메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system)(예컨대, Microsoft Windows, Google Android, Apple iOS, MacOS 등), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다.The memory 420 may store a command for controlling a node, a control command code, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS) (eg, Microsoft Windows, Google Android, Apple iOS, MacOS, etc.), middleware, or a device driver. may contain one.

메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. 메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 may include one or more of volatile memory and non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). may include The nonvolatile memory may include a read only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, and the like. The memory 420 includes a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), and a universal flash storage (UFS). may include more.

일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예컨대, 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 터널 테이블(316) 및 데이터 플로우 테이블(317)을 저장할 수 있다.According to an embodiment, the memory 420 may store some of information included in the memory of the controller (eg, the memory 330 of FIG. 3 ). For example, the memory 420 may store the tunnel table 316 and the data flow table 317 described in FIG. 3 .

통신 회로(430)는 노드와 외부 전자 장치(예컨대, 도 2의 컨트롤러(202) 또는 게이트웨이(203)) 사이의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시예에 따르면, 통신 회로(430)는 무선 통신 회로(예컨대, 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예컨대, LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다.The communication circuit 430 may support establishment of a wired or wireless communication connection between a node and an external electronic device (eg, the controller 202 or the gateway 203 of FIG. 2 ) and performing communication through the established connection. According to one embodiment, communication circuitry 430 may include wireless communication circuitry (eg, cellular communication circuitry, near field communication circuitry, or global navigation satellite system (GNSS) communication circuitry) or wired communication circuitry (eg, local area network (LAN) circuitry). ) communication circuit, or power line communication circuit), and using the corresponding communication circuit among them, a short-distance communication network such as Bluetooth, WiFi direct or IrDA (infrared data association) or a cellular network, Internet, or long-distance communication such as a computer network It can communicate with an external electronic device through a network. The above-described various types of communication circuits 430 may be implemented as a single chip or as separate chips.

디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 시각적으로 출력할 수 있다. 다양한 실시예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 may visually output content, data, or a signal. In various embodiments, the display 440 may display image data processed by the processor 410 . According to embodiments, the display 440 may be configured as an integrated touch screen by being coupled with a plurality of touch sensors (not shown) capable of receiving a touch input or the like. When the display 440 is configured as a touch screen, a plurality of touch sensors may be disposed above the display 440 or below the display 440 .

한편, 일 실시예에 따른 서버(예컨대, 컨트롤러(202))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.Meanwhile, the server (eg, the controller 202 ) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 . The processor 410 , the memory 420 , and the communication circuit 430 included in the server may be substantially the same as the above-described processor 410 , the memory 420 , and the communication circuit 430 .

도 5는 다양한 실시예들에 따라 네트워크 접속이 차단되는 동작을 설명할 수 있다.5 may explain an operation of blocking a network connection according to various embodiments of the present disclosure.

일 실시예에 따르면, 네트워크 접속 애플리케이션의 데이터 패킷은 네트워크 드라이버 및 운영체제의 커널 단에서 차단되어, 접속 제어 애플리케이션(211)을 제외한 어떠한 데이터 패킷도 네트워크로 전송되지 않을 수 있다(접속 제어 애플리케이션에서 접속 차단). According to an embodiment, the data packet of the network access application is blocked at the kernel stage of the network driver and the operating system, so that no data packet except for the access control application 211 may be transmitted to the network (connection is blocked in the access control application) ).

일 실시예에 따르면, 네트워크에 존재하는 노드(201) 중 접속 제어 애플리케이션(211)이 설치되어 있지 않은 비관리 단말의 경우, 네트워크 접속 애플리케이션은 비인가된 데이터 패킷을 네트워크로 전송할 수 있지만, 네트워크 경계에 존재하는 게이트웨이(예컨대 엣지 게이트웨이(203-1)는 인가된 터널 및 데이터 플로우가 존재하지 않는 데이터 패킷을 모두 차단하기 때문에 실질적으로 노드(201)의 데이터 패킷, 특히 TCP Session 생성을 위한 데이터 패킷이 차단될 수 있다(터널 미존재에 따른 게이트웨이에서 접속 차단).According to an embodiment, in the case of an unmanaged terminal in which the access control application 211 is not installed among the nodes 201 existing in the network, the network access application may transmit an unauthorized data packet to the network, but at the network boundary. Since the existing gateway (eg, the edge gateway 203-1) blocks all data packets for which the authorized tunnel and data flow do not exist, the data packet of the node 201, in particular, the data packet for TCP Session creation is blocked. It can be (blocking access at the gateway due to non-existence of the tunnel).

이처럼 접속 제어 애플리케이션(211)에서의 접속이 차단되는 경우 또는 터널 미존재에 따른 게이트웨이에서 접속이 차단되는 경우, 노드(201)는 대상 네트워크(예컨대, 도착지 노드(204))에 도달할 수 없는 상태, 즉 격리된 상태가 될 수 있다.As such, when the connection in the access control application 211 is blocked or when the connection is blocked at the gateway due to the non-existence of the tunnel, the node 201 cannot reach the target network (eg, the destination node 204). , that is, it can be in an isolated state.

도 6 내지 도 7은 다양한 실시예들에 따른 컨트롤러 접속을 위한 동작을 설명할 수 있다. 도 6은 컨트롤러 접속을 위한 신호 흐름도를 나타내고, 도 7은 컨트롤러 접속을 위한 사용자 인터페이스 화면을 나타낸다.6 to 7 may explain an operation for connecting a controller according to various embodiments of the present disclosure. 6 shows a signal flow diagram for controller connection, and FIG. 7 shows a user interface screen for controller connection.

노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우(제어 데이터 패킷 흐름 및 일련의 세션)의 생성을 요청함으로서 노드(201)의 컨트롤러 접속을 시도할 수 있다. 또한, 접속 제어 애플리케이션(211)은 도 2에서의 접속 제어 애플리케이션(211)을 포함할 수 있다.Since the node 201 needs to be authorized by the controller 202 to access or receive the network, the access control application 211 of the node 201 sends the controller 202 a control flow (control data packet flow and serial Session of the node 201 can be attempted to access the controller by requesting creation of the Also, the access control application 211 may include the access control application 211 in FIG. 2 .

도 6을 참조하면, 동작 605에서, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201)는 노드(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되고, 접속 제어 애플리케이션(211)을 통해 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다.Referring to FIG. 6 , in operation 605 , the node 201 may detect a controller access event. For example, the node 201 may detect that the access control application 211 is installed and executed in the node 201 , and that access to the controller 202 is requested through the access control application 211 .

일 예로, 도 7을 참조하면, 접속 제어 애플리케이션(211)이 실행되면 노드(201)는 컨트롤러 접속을 위하여 필요한 정보를 수신하기 위한 사용자 인터페이스 화면(710)을 표시할 수 있다. 사용자 인터페이스 화면(710)은 컨트롤러(202)의 IP 또는 도메인을 입력하기 위한 입력 창(711), 사용자 ID를 입력하기 위한 입력 창(712), 비밀번호를 입력하기 위한 입력 창(713), 및/또는 접속 위치를 입력하기 위한 입력 창(714)을 포함할 수 있다. 입력 창들(711 내지 714)에 대한 정보가 입력된 후 인증된 사용자의 컨트롤러 접속을 위한 버튼(715)을 수신함으로써 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 다른 예를 들어, 노드(201)의 사용자 인증이 아직 완료되지 않은 상태라면, 노드(201)는 비인가된 사용자(즉, 게스트)의 컨트롤러 접속을 위한 버튼(716)을 수신함으로써 컨트롤러 접속 이벤트를 감지할 수 있다.For example, referring to FIG. 7 , when the access control application 211 is executed, the node 201 may display a user interface screen 710 for receiving information necessary for accessing the controller. The user interface screen 710 includes an input window 711 for inputting an IP or domain of the controller 202, an input window 712 for inputting a user ID, an input window 713 for inputting a password, and / Alternatively, it may include an input window 714 for inputting a connection location. After information on the input windows 711 to 714 is input, the node 201 may detect a controller access event by receiving a button 715 for an authenticated user's controller access. For another example, if user authentication of the node 201 is not yet completed, the node 201 detects a controller access event by receiving a button 716 for controller access of an unauthorized user (ie, a guest). can do.

동작 610에서, 노드(201)는 컨트롤러 접속 이벤트를 감지한 것에 응답하여 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 노드(201)는 접속 제어 애플리케이션(211)을 통해 컨트롤러 접속을 요청할 수 있다. 일 실시예에 따르면, 접속 제어 애플리케이션(211)은 노드(201)의 식별 정보(예컨대, 단말 ID, IP 주소, MAC 주소), 노드(201)의 종류, 위치 정보, 환경, 노드(201)가 포함되어 있는 네트워크의 식별 정보, 및/또는 접속 제어 애플리케이션(211)의 식별 정보, 사용자가 선택한 기본 지역 정보 등을 컨트롤러(202)에게 전송할 수 있다.In operation 610 , the node 201 may request a controller connection from the controller 202 in response to detecting the controller connection event. The node 201 may request a controller connection through the access control application 211 . According to one embodiment, the access control application 211 is the identification information (eg, terminal ID, IP address, MAC address) of the node 201, the type of the node 201, location information, environment, the node 201 Identification information of the included network, and/or identification information of the access control application 211 , and basic area information selected by the user may be transmitted to the controller 202 .

동작 615에서, 컨트롤러(202)는 수신된 요청에 응답하여 노드(201)의 접속 가능 여부를 확인(identify)할 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 컨트롤러(202)의 메모리(예컨대, 도 3의 메모리(330))에 포함된 데이터 베이스에 기반하여 노드(201)의 접속 가능 여부를 확인할 수 있다. 컨트롤러(202)는 접속 제어 애플리케이션(211)으로부터 수신된 정보가 접속 정책 데이터 베이스에 포함되는지 여부와, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되는지 여부에 기반하여 노드(201)의 접속 가능 여부를 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 접속 요청한 정보(해당 단말의 종류, 위치 정보, 환경 및 단말이 포함되어 있는 네트워크, 접속 제어 애플리케이션 정보, 사용자가 선택한 기본 지역 정보 등)가 정책에 의해 접속 가능한 상태인지 여부 및/또는 단말 및 네트워크 식별 정보 (단말 ID, IP, MAC 주소 등)가 블랙리스트 데이터 베이스에 포함되는지 여부에 기반하여 노드(201)의 접속 가능 여부를 확인할 수 있다.In operation 615 , the controller 202 may identify whether the node 201 is reachable in response to the received request. According to an embodiment, the controller 202 may check whether the node 201 is accessible based on a database included in the memory of the controller 202 (eg, the memory 330 of FIG. 3 ). The controller 202 determines whether the information received from the access control application 211 is included in the access policy database, and identification information of the node 201 and/or the network to which the node 201 belongs is included in the blacklist database. It can be checked whether the node 201 is accessible or not based on whether or not. For example, the controller 202 accesses information requested by the access control application 211 (type of the terminal, location information, environment and network including the terminal, access control application information, basic area information selected by the user, etc.) It is possible to check whether the access of the node 201 is possible based on whether the state is accessible by the policy and/or whether the terminal and network identification information (terminal ID, IP, MAC address, etc.) is included in the blacklist database. have.

노드(201)가 접속 가능하다면, 동작 620에서, 컨트롤러(202)는 노드(201)와 컨트롤러(202) 사이에 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보(예컨대, 단말 ID, IP 주소, MAC 주소 등)를 제어 플로우 테이블에 저장할 수 있다. 제어 플로우 테이블에 저장된 정보(예컨대, 제어 플로우 식별 정보 및/또는 제어 플로우 정보)는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다.If node 201 is reachable, in operation 620 , controller 202 may create a control flow between node 201 and controller 202 . In this case, the controller 202 generates control flow identification information in the form of a random number, and uses the node 201 and/or identification information of the network to which the node 201 belongs (eg, terminal ID, IP address, MAC address, etc.) It can be stored in the control flow table. Information stored in the control flow table (eg, control flow identification information and/or control flow information) may include: user authentication of the node 201 , updating information of the node 201 , checking a policy for network access of the node 201 , and / or can be used for validation.

노드(201)가 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 동작 615에서 제어 플로우를 생성하지 않고, 노드(201)의 컨트롤러 접속이 불가능함을 나타내는 응답을 노드(201)로 전송할 수 있다. 만약 단말이 접속 불가능한 상태인 경우, 접속 제어 애플리케이션은 화면에 접속 불가 메시지 및 사유를 표시할 수 있다.If the node 201 is unreachable or included in the blacklist, the controller 202 does not generate a control flow in operation 615 and transmits a response indicating that the node 201 is unable to connect to the controller to the node 201 . can If the terminal is in an unreachable state, the access control application may display an access unavailable message and reason on the screen.

동작 625에서, 컨트롤러(202)는 식별된 정보(단말, 출발지 네트워크 정보 등)와 매칭된 접속 정책 및 터널 정책에서, 현재 접속된 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크(도착지 노드) 정보가 존재하는지 확인할 수 있다.In operation 625, in the access policy and tunnel policy matched with the identified information (terminal, source network information, etc.), the controller 202 determines a destination network (destination node) information that the currently connected node 201 can basically connect to. can be checked to see if it exists.

동작 625에서, 접속이 가능한 경우, 해당 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 단말의 종류, 위치 정보, 환경 및 단말이 포함되어 있는 네트워크 등의 정보와 컨트롤러(202)를 통해서 식별된 단말의 IP 주소 및 단말에서 식별된 단말의 IP 주소 등을 통해서 단말이 연결할 수 있는 터널링 종류와 게이트웨이를 목록화하고, 목록화된 게이트웨이의 상태(처리량, 장애 여부)를 확인하여 목록화된 게이트웨이 중에서 해당 단말에 최적화된 터널 및 게이트웨이 1개를 식별할 수 있다. 게이트웨이(203)는 엣지 게이트웨이(203-1)일 수 있다.In operation 625, if access is possible, information such as the type of terminal included in the control flow, location information, environment, and the network including the terminal and the controller 202 in order for the node 201 to access the destination network List the tunneling types and gateways that the terminal can connect to through the IP address of the terminal identified through the terminal and the IP address of the terminal identified from the terminal, and check the status (throughput, failure) of the listed gateways. It is possible to identify one tunnel and one gateway optimized for the corresponding terminal from among the gateways. The gateway 203 may be an edge gateway 203 - 1 .

동작 630에서, 최적화된 게이트웨이 제공 및 식별하기 위해서, 노드(201)가 위치하고 있는 지역에 따라 가장 인근에 존재하는 게이트웨이들의 순서를 정렬하고, 노드(201)가 Windows인 경우 터널 정책에 의해서 가장 안정적으로 접속 가능한 IPSec 터널 생성이 가능한 게이트웨이(203) 순으로, 그리고 노드(201)가 Android 인 경우 Android에 최적화된 SSL/TLS 터널 생성이 가능한 게이트웨이(203) 순으로 단말에 최적화된 터널링을 제공하기 위한 순서를 정렬하고, 해당 게이트웨이(203)가 장애중인 경우 목록에서 제외하며, 해당 게이트웨이(203)가 처리할 수 있는 용량의 잔여량(예컨대, 터널 접속수 또는 프로세서 사용량, 네트워크 대역폭 등)에 따라 순서를 정렬할 수 있다. In operation 630, in order to provide and identify the optimized gateway, the order of the gateways that exist closest to the node 201 is arranged according to the region in which the node 201 is located, and when the node 201 is Windows, the most stable according to the tunnel policy The order of providing tunneling optimized for the terminal in the order of the gateway 203 capable of creating an accessible IPSec tunnel, and the gateway 203 capable of creating an SSL/TLS tunnel optimized for Android when the node 201 is Android sort, exclude from the list when the corresponding gateway 203 is in trouble, and sort the order according to the remaining amount of capacity that the corresponding gateway 203 can handle (eg, the number of tunnel connections or processor usage, network bandwidth, etc.) can do.

해당 노드(201)가 WIFI에 연결되어 있고 WIFI 네트워크 트래픽을 처리하기 위한 전용 게이트웨이(203)가 존재하는 경우, 모바일 네트워크(3G, LTE, 5G 등)를 통해서 통신사와 연결된 전용 게이트웨이(203)가 존재하는 경우, 및 노드(201)가 유선으로 연결되어 있고 해당 네트워크가 해당 단말을 위한 인트라넷 형태로 구성된 전용 네트워크이며, 전용 네트워크의 경계에서 데이터 패킷 제어를 위한 전용 게이트웨이가 존재하는 경우 등, 단말이 우선적으로 접속될 수 있는 게이트웨이에 따라 순서를 정렬할 수 있다. When the node 201 is connected to WIFI and there is a dedicated gateway 203 for processing WIFI network traffic, there is a dedicated gateway 203 connected to a carrier through a mobile network (3G, LTE, 5G, etc.) , and when the node 201 is connected by wire, the network is a dedicated network configured in the form of an intranet for the terminal, and there is a dedicated gateway for data packet control at the boundary of the dedicated network, etc., the terminal has priority You can sort the order according to the gateways that can be connected to.

그 외 정렬의 기준은 분산 네트워크 상에서의 데이터 트래픽을 처리하기 위한 구간별 비용 등, 과금 체계와 변수등이 고려되어 추가 및 변경될 수 있다.Other sorting criteria may be added or changed in consideration of billing systems and variables, such as cost per section for processing data traffic on a distributed network.

컨트롤러(202)는 해당 정렬 기준을 복합적으로 계산하여, 해당 노드(201)에 제공할 수 있는 게이트웨이를 순서대로 정렬하여 순위별로 게이트웨이가 선택될 수 있도록 처리할 수 있다.The controller 202 may complexly calculate the corresponding sorting criteria, sort the gateways that can be provided to the corresponding node 201 in order, and process so that the gateways can be selected by rank.

만약 노드(201)에 접속 가능한 터널 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 게이트웨이에 해당 단말이 터널을 생성할 수 있는 인증 및 일련의 정보를 단말에 전송하고, 해당 터널 생성 정보를 터널 테이블(316)에 등록하며, 해당 터널 생성 정보를 게이트웨이(203)에 전송할 수 있다.If a tunnel and gateway 203 connectable to the node 201 exist, the controller 202 transmits to the gateway authentication and a series of information enabling the terminal to create a tunnel to the terminal, and the corresponding tunnel creation information may be registered in the tunnel table 316 , and the corresponding tunnel creation information may be transmitted to the gateway 203 .

또한 해당 게이트웨이(203)가 노드(201)의 제어 플로우 관련 처리를 수행할 수 있는 경우, 해당 노드(201)가 해당 게이트웨이에 제어 플로우 관련 처리를 요청하기 위한 일련의 정보 (제어 플로우 처리를 위한 게이트웨이의 IP 및 포트 정보 및 제어 플로우 분산 처리 여부, 해당 게이트웨이에서 처리할 수 있는 명령어 목록 등)를 전송하며, 컨트롤러(202)는 해당 게이트웨이(203)에 제어 플로우 관련 처리를 위한 일련의 정보(해당 단말에 대한 제어 플로우 정보 등)를 전송할 수 있다.In addition, when the corresponding gateway 203 can perform the control flow related processing of the node 201, the corresponding node 201 requests a control flow related processing to the corresponding gateway (gateway for control flow processing) transmits IP and port information and control flow distributed processing, a list of commands that can be processed by the corresponding gateway, etc.), and the controller 202 sends a series of information (corresponding terminal) for control flow related processing control flow information, etc.) can be transmitted.

목록화된 게이트웨이 중 차 순위에 있는 게이트웨이가 존재하는 경우, 접속 실패시 차 순위 게이트웨이 접속 가능 여부 정보를 반환하여, 단말이 해당 게이트웨이에 접속이 불가능할 경우, 차 순위에 있는 게이트웨이에 접속 요청하기 위한 인증 정보를 컨트롤러에 요청할 수 있도록 할 수 있다.If there is a gateway with the next highest priority among the listed gateways, when the connection fails, information on whether the next priority gateway can be accessed is returned, and when the terminal cannot access the corresponding gateway, authentication to request access to the next highest priority gateway You can make a request for information to the controller.

만약 노드(201)에 접속 가능한 터널 및 게이트웨이가 존재하지만 처리량이 많거나 장애 중이여서 터널 접속이 불가능한 경우, 터널 접속 재시도를 위한 정보를 단말에 반환할 수 있다.If there are tunnels and gateways accessible to the node 201, but tunnel access is not possible due to a high throughput or a failure, information for retrying the tunnel connection may be returned to the terminal.

동작 635에서, 노드(201)가 접속 가능한 터널 및 게이트웨이가 존재하는 경우, 컨트롤러(202)는 게이트웨이(203)에 해당 단말이 터널을 생성할 수 있는 인증 및 일련의 정보를 노드(201)에 전송하고, 해당 터널 생성 정보를 터널 테이블(316)에 등록하며, 해당 터널 생성 정보를 게이트웨이(203)에 전송할 수 있다. 동작 640에서, 게이트웨이(203)(엣지 게이트웨이(203-1))는 컨트롤러(202)로부터 터널 생성 요청을 수신할 수 있다.In operation 635 , if a tunnel and a gateway accessible to the node 201 exist, the controller 202 transmits to the gateway 203 authentication and a series of information for the terminal to create a tunnel to the node 201 . and registers the corresponding tunnel creation information in the tunnel table 316 , and transmits the corresponding tunnel creation information to the gateway 203 . In operation 640 , the gateway 203 (edge gateway 203 - 1 ) may receive a tunnel creation request from the controller 202 .

또한, 해당 게이트웨이(203)가 노드(201)의 제어 플로우 관련 처리를 수행할 수 있는 경우, 해당 노드(201)가 해당 게이트웨이(203)에 제어 플로우 관련 처리를 요청하기 위한 일련의 정보(제어 플로우 처리를 위한 게이트웨이의 IP 주소 및 포트 정보 및 제어 플로우 분산 처리 여부, 해당 게이트웨이에서 처리할 수 있는 명령어 목록 등)를 전송하며, 컨트롤러(202)는 해당 게이트웨이(203)에 제어 플로우 관련 처리를 위한 일련의 정보(해당 단말에 대한 제어 플로우 정보 등)를 전송할 수 있다.In addition, when the corresponding gateway 203 can perform the control flow related processing of the node 201 , the corresponding node 201 requests a control flow related processing to the corresponding gateway 203 (control flow) IP address and port information of the gateway for processing, whether the control flow is distributed processing, a list of commands that can be processed by the gateway, etc.) of information (such as control flow information for the corresponding terminal) may be transmitted.

목록화된 게이트웨이 중 차 순위에 있는 게이트웨이가 존재하는 경우, 접속 실패시 차 순위 게이트웨이 접속 가능 여부 정보를 반환하여, 단말이 해당 게이트웨이에 접속이 불가능할 경우, 차 순위에 있는 게이트웨이에 접속 요청하기 위한 인증 정보를 컨트롤러에 요청할 수 있다.If there is a gateway with the next highest priority among the listed gateways, when the connection fails, information on whether the next priority gateway can be accessed is returned, and when the terminal cannot access the corresponding gateway, authentication to request access to the next highest priority gateway Information can be requested from the controller.

만약 노드(201)에 접속 가능한 터널 및 게이트웨이가 존재하지만 처리량이 많거나 장애 중이여서 터널 접속이 불가능한 경우, 터널 접속 재시도를 위한 정보를 단말에 반환할 수 있다.If there are tunnels and gateways accessible to the node 201, but tunnel access is not possible due to a high throughput or a failure, information for retrying the tunnel connection may be returned to the terminal.

동작 645에서, 노드(201)는 컨트롤러(202)로부터 수신된 접속 요청 결과값을 처리할 수 있다. 만약 접속이 불가능한 경우, 접속 제어 애플리케이션의 실행을 중지하고 종료하거나, 관련 오류 메시지를 표시할 수 있다. 일 실시예에 따르면, 노드(201)의 접속이 불가능함을 나타내는 응답을 수신하면, 노드(201)는 게이트웨이 접속이 불가능함을 나타내는 사용자 인터페이스 화면을 사용자에게 출력할 수 있다. 예를 들어, 도 7을 참조하면, 노드(201)는 접속 제어 애플리케이션(211)을 통해 사용자 인터페이스 화면(720)을 표시할 수 있다. 사용자 인터페이스 화면(720)은, 도 7b에서 노드(201)의 해당 위치에서 접속 가능한 게이트웨이가 존재하지 않음을 나타내고(717), 도 7c에서 30초 이후에 다시 접속 시도를 함을 나타내며(718), 게이트웨이의 접속이 종료되어 다른 게이트웨이로의 접속을 시도하고 있음을 나타내는(719) 사용자 인터페이스(725)를 포함할 수 있다. In operation 645 , the node 201 may process the connection request result value received from the controller 202 . If the connection is not possible, the execution of the access control application may be stopped and terminated, or a related error message may be displayed. According to an embodiment, upon receiving a response indicating that the connection to the node 201 is impossible, the node 201 may output a user interface screen indicating that the gateway connection is impossible to the user. For example, referring to FIG. 7 , the node 201 may display the user interface screen 720 through the access control application 211 . The user interface screen 720 indicates that there is no accessible gateway at the corresponding location of the node 201 in FIG. 7B (717), and indicates that an access attempt is made after 30 seconds in FIG. 7C (718), It may include a user interface 725 indicating (719) that the connection to the gateway has been terminated and an attempt is made to access another gateway.

동작 650에서, 노드(201)는 터널 생성이 필요한 경우, 게이트웨이(203)로 터널 생성 요청을 할 수 있다. 동작 635에서 노드(201)가 접속 가능한 터널(210) 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)로부터 수신된 게이트웨이(203)에 해당 노드(201)가 터널(210)을 생성할 수 있는 인증 및 일련의 정보를 이용하여, 터널 생성 요청을 할 수 있고, 동작 640에서 컨트롤러(202)로부터 수신된 해당 터널 생성를 이용하여 게이트웨이(203)(엣지 게이트웨이(203-1))는 노드(201)로부터 요청된 터널 생성을 진행할 수 있다.In operation 650 , when tunnel creation is required, the node 201 may make a tunnel creation request to the gateway 203 . In operation 635 , when the tunnel 210 and the gateway 203 accessible to the node 201 exist, the node 201 may create the tunnel 210 in the gateway 203 received from the controller 202 . Using the existing authentication and a set of information, a tunnel creation request can be made, and in operation 640 , the gateway 203 (edge gateway 203-1) uses the corresponding tunnel creation received from the controller 202 to transmit the node 201 ), the requested tunnel can be created.

노드(201)는 기본 게이트웨이(203)와 터널링(210)이 완료된 이후, 컨트롤러(202)와 통신하는 제어 플로우와 관련한 모든 명령어(예컨대, 네트워크 접속 제어 요청, 제어 플로우 갱신 등)를 기본 게이트웨이(203)에 질의하거나 일부 명령어(예컨대, 제어 플로우 종료 등)에 한해서만 기본 게이트웨이(203)에 질의하고 그 외의 명령어는 컨트롤러(202)에 질의하는 형태로 처리할 수 있다.After the tunneling 210 with the default gateway 203 is completed, the node 201 sends all commands related to the control flow communicating with the controller 202 (eg, network access control request, control flow update, etc.) to the default gateway 203 . ) or only some commands (eg, control flow termination, etc.) to the default gateway 203 and other commands to the controller 202 may be processed.

또한 노드(201)는 기본 게이트웨이(203)와 터널링이 종료된 이후에는 기본 게이트웨이(203)가 지정될 때까지 모든 명령어를 컨트롤러(202)에서 처리함으로써 단말이 항상 컨트롤러(202)에 의해 제어될 수 있는 환경을 제공할 수 있다.In addition, the node 201 processes all commands in the controller 202 until the default gateway 203 is designated after tunneling with the default gateway 203 is terminated, so that the terminal can always be controlled by the controller 202 environment can be provided.

도 8은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 나타낸다.8 illustrates a signal flow diagram for user authentication according to various embodiments of the present disclosure.

노드(201)가 목적지 네트워크에 대한 상세한 접속 권한을 부여 받기 위해서, 노드(201)의 접속 제어 애플리케이션(211)(예: 도 2의 접속 제어 애플리케이션(211))은 컨트롤러(202)로부터 노드(201)의 사용자에 대한 인증을 받을 수 있다. 접속 제어 애플리케이션(211)은 네트워크의 상세한 접속 권한을 부여 받기 위해 사용자 인증을 수행할 수 있으며, 사용자 ID 및 비밀번호 또는 강화된 인증 방법에 의한 인증 정보를 전송할 수 있다.In order for the node 201 to be granted detailed access to the destination network, the access control application 211 of the node 201 (eg, the access control application 211 in FIG. 2 ) is transmitted from the controller 202 to the node 201 ) of the user can be authenticated. The access control application 211 may perform user authentication in order to be granted detailed access rights to the network, and may transmit user ID and password or authentication information by a reinforced authentication method.

도 8을 참조하면, 동작 805에서, 출발지 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예컨대, 생체 정보, 지문, 홍채 등)일 수 있다.Referring to FIG. 8 , in operation 805 , the source node 201 may receive an input for user authentication. The input for user authentication may be, for example, a user input inputting a user ID and password. As another example, the input for user authentication may be a user input (eg, biometric information, fingerprint, iris, etc.) for more enhanced authentication.

동작 810에서, 출발지 노드(201)는 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 컨트롤러(202)에게 전송할 수 있다. 출발지 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.In operation 810 , the source node 201 may request user authentication from the controller 202 . For example, the access control application 211 may transmit input information for user authentication to the controller 202 . If the control flow between the source node 201 and the controller 202 has already been created, the access control application 211 may transmit input information for user authentication together with the control flow identification information.

동작 815에서, 컨트롤러(202)는 노드(201)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터 베이스(예컨대, 도 3의 접속 정책 데이터 베이스(311) 또는 블랙리스트 데이터 베이스(314))에 기반하여 사용자가 접속 가능한 사용자인지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 검사하여 해당 사용자가 차단되어 있는지 여부를 확인할 수 있다.In operation 815 , the controller 202 may authenticate the user based on the information received from the node 201 . For example, the controller 202 may include a user ID, password, and/or enhanced authentication information included in the received information, and a database (eg, the access policy database of FIG. 3 ) included in the memory of the controller 202 . Based on 311 or the blacklist database 314), it is possible to check whether the user is blocked by checking whether the user is an accessible user and whether the user is included in the blacklist.

접속 가능한 사용자인 경우, 동작 820에서, 전송한 제어 플로우 식별 정보(제어 플로우 ID)를 이용하여 제어 플로우 테이블에서 제어 플로우를 검색하고, 검색된 제어 플로우에의 식별 정보에 사용자 식별 정보(사용자 ID)를 추가할 수 있다. 예를 들어, 사용자가 인증되면, 컨트롤러(202)는 제어 플로우 식별 정보에 사용자의 식별 정보(예컨대, 사용자 ID)를 추가할 수 있으며, 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다. 컨트롤러(202)는 사용자 인증 결과로써 인증 완료 상태 및 인증된 사용자의 접속 정책 정보를 반환할 수 있다.In case of an accessible user, in operation 820, a control flow is searched for in the control flow table using the transmitted control flow identification information (control flow ID), and user identification information (user ID) is added to the searched control flow identification information. can be added For example, if the user is authenticated, the controller 202 may add the user's identification information (eg, user ID) to the control flow identification information, and the added user identification information may include the authenticated user's controller access or network connection. can be used for The controller 202 may return an authentication completion status and access policy information of the authenticated user as a result of user authentication.

동작 825에서, 컨트롤러(202)는 식별된 정보(예컨대, 단말, 출발지 네트워크 정보, 사용자 ID 등)와 매칭된 접속 및 터널 정책에서, 현재 접속된 단말이 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다.In operation 825, the controller 202 determines whether there is destination network information that the currently connected terminal can basically connect to in the access and tunnel policy matched with the identified information (eg, terminal, source network information, user ID, etc.) can be checked

동작 830에서, 접속이 가능한 경우, 해당 노드(201)가 목적지 네트워크(도착지 노드(204))에 접속하기 위해서 제어 플로우에 포함된 단말의 종류, 위치 정보, 환경 및 단말이 포함되어 있는 네트워크 등의 정보와 컨트롤러(202)를 통해서 식별된 단말의 IP 주소 및 단말에서 식별된 단말의 IP 주소 등을 통해서 노드(201)가 연결할 수 있는 터널링 종류와 게이트웨이(203)를 목록화하고, 목록화된 게이트웨이의 상태 (처리량, 장애 여부)를 확인하여 목록화된 게이트웨이 중에서 해당 단말에 최적화된 터널 및 게이트웨이 1개를 식별할 수 있다.In operation 830, if access is possible, the type of terminal included in the control flow, location information, environment, and the network including the terminal in order for the node 201 to access the destination network (destination node 204) List the tunneling types and gateways 203 that the node 201 can connect to through information and the IP address of the terminal identified through the controller 202 and the IP address of the terminal identified in the terminal, and the gateways listed It is possible to identify one tunnel and one gateway optimized for the terminal from among the listed gateways by checking the status (throughput, failure or not).

일 실시예에 따르면, 최적화된 게이트웨이 제공 및 식별하기 위해서 단말이 위치하고 있는 지역에 따라 가장 인근에 존재하는 게이트웨이 순서를 정렬하고, 단말이 Windows인 경우 터널 정책에 의해서 가장 안정적으로 접속 가능한 IPSec 터널 생성이 가능한 게이트웨이 및 단말이 Android 인 경우 Android에 최적화된 SSL/TLS 터널 생성이 가능한 게이트웨이 순으로 단말에 최적화된 터널링을 제공하기 위한 순서를 정렬하며, 해당 게이트웨이가 장애중인 경우 목록에서 제외하며, 해당 게이트웨이가 처리할 수 있는 용량의 잔여량(예컨대, 터널 접속수 또는 프로세서 사용량, 네트워크 대역폭 등)에 따라 게이트웨이 순서를 정렬할 수 있다. According to an embodiment, in order to provide and identify an optimized gateway, the order of the nearest gateways is arranged according to the region where the terminal is located, and when the terminal is Windows, the most stable IPSec tunnel creation is possible according to the tunnel policy. If available gateways and devices are Android, the order to provide tunneling optimized for devices is arranged in the order of gateways that can create SSL/TLS tunnels optimized for Android, and if the corresponding gateway is in trouble, it is excluded from the list, The order of gateways may be arranged according to the remaining amount of capacity that can be processed (eg, the number of tunnel connections or processor usage, network bandwidth, etc.).

해당 노드(201)가 WIFI에 연결되어 있고 WIFI 네트워크 트래픽을 처리하기 위한 전용 게이트웨이가 존재하는 경우, 모바일 네트워크(3G, LTE, 5G 등)를 통해서 통신사와 연결된 전용 게이트웨이가 존재하는 경우, 노드(201)가 유선으로 연결되어 있고 해당 네트워크가 해당 단말을 위한 인트라넷 형태로 구성된 전용 네트워크이며, 전용 네트워크의 경계에서 데이터 패킷 제어를 위한 전용 게이트웨이가 존재하는 경우 등, 노드(201)가 우선적으로 접속될 수 있는 게이트웨이에 따라 순서를 정렬할 수 있다. When the node 201 is connected to WIFI and there is a dedicated gateway for processing WIFI network traffic, if there is a dedicated gateway connected to the carrier through the mobile network (3G, LTE, 5G, etc.), the node 201 ) is connected by wire, the network is a dedicated network configured in the form of an intranet for the terminal, and there is a dedicated gateway for data packet control at the boundary of the dedicated network, etc. You can sort the order according to the gateway.

그 외 정렬의 기준은 분산 네트워크 상에서의 데이터 트래픽을 처리하기 위한 구간별 비용 등, 과금 체계와 변수등이 고려되어 추가 및 변경될 수 있다.Other sorting criteria may be added or changed in consideration of billing systems and variables, such as cost per section for processing data traffic on a distributed network.

일 실시예에 따르면, 컨트롤러(202)는 해당 정렬 기준을 복합적으로 계산하여, 해당 단말에 제공할 수 있는 게이트웨이(203)를 순서대로 정렬하여 순위별로 게이트웨이(203)가 선택될 수 있도록 처리할 수 있다.According to an embodiment, the controller 202 may complexly calculate the corresponding sorting criteria, sort the gateways 203 that can be provided to the corresponding terminal in order, and process so that the gateways 203 can be selected by rank. have.

일 실시예에 따르면, 단말(209)에 접속 가능한 터널(210) 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 게이트웨이(203)에 해당 노드(201)가 터널(210)을 생성할 수 있는 인증 및 일련의 정보를 노드(201)에 전송하고, 해당 터널 생성 정보를 터널 테이블(316)에 등록하며, 해당 터널 생성 정보를 게이트웨이(203)에 전송할 수 있다.According to an embodiment, when the tunnel 210 and the gateway 203 accessible to the terminal 209 exist, the controller 202 determines that the node 201 creates the tunnel 210 in the gateway 203 . Possible authentication and a series of information may be transmitted to the node 201 , the corresponding tunnel creation information may be registered in the tunnel table 316 , and the corresponding tunnel creation information may be transmitted to the gateway 203 .

또한 해당 게이트웨이(203)에 접속이 실패하였을 경우, 목록화된 게이트웨이 중 차 순위에 있는 게이트웨이가 존재하는 경우, 접속 실패시 차 순위 게이트웨이 접속 가능 여부 정보를 반환하여, 단말이 해당 게이트웨이에 접속이 불가능할 경우, 차 순위에 있는 게이트웨이에 접속 요청하기 위한 인증 정보를 컨트롤러에 요청할 수 있도록 할 수 있다.In addition, if access to the corresponding gateway 203 fails, if there is a gateway in the second order among the listed gateways, information on whether access to the next priority gateway is possible is returned in case of access failure, so that the terminal cannot access the gateway In this case, it is possible to request authentication information for requesting access to the gateway of the next priority from the controller.

만약 단말에 접속 가능한 터널 및 게이트웨이가 존재하지만 처리량이 많거나 장애 중이여서 터널 접속이 불가능한 경우, 터널 접속 재시도를 위한 정보를 단말에 반환할 수 있다.If there are tunnels and gateways accessible to the terminal, but tunnel access is not possible due to a high throughput or a failure, information for retrying the tunnel connection may be returned to the terminal.

다른 실시예에 따르면, 컨트롤러(202)는 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 사용자의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 동작 820에서 컨트롤러(202)는 사용자 인증이 불가능함을 나타내는 정보를 출발지 노드(201)에게 전송하고, 동작 825에서 출발지 노드(201)는 사용자 인증이 실패함을 나타내는 사용자 인터페이스 화면을 디스플레이를 통해 출력할 수 있다. According to another embodiment, the controller 202 may determine that user authentication is impossible. For example, when the user's identification information is included in the blacklist database, the controller 202 may determine that user authentication is impossible. In this case, in operation 820, the controller 202 transmits information indicating that user authentication is impossible to the source node 201, and in operation 825, the source node 201 displays a user interface screen indicating that user authentication has failed. It can be output through

도 9는 다양한 실시예들에 따라 네트워크 접속을 제어하는 동작을 설명할 수 있다. 도 9는 네트워크 접속을 처리하기 위한 신호 흐름도를 나타낸다.9 may explain an operation of controlling a network connection according to various embodiments of the present disclosure. 9 shows a signal flow diagram for processing a network connection.

노드(201)가 컨트롤러(202)로부터 인가된 이후에, 노드(201)는 접속 제어 애플리케이션(211)을 통해 출발지 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다.After the node 201 is authorized from the controller 202, the node 201 controls the network connection of other applications stored in the source node 201 via the access control application 211 to ensure reliable data transmission. can

도 9를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 웹 브라우저와 같은 타겟 애플리케이션이 인터넷과 같은 도착지 노드(204)를 포함하는 목적지 네트워크로의 접속을 시도함을 감지할 수 있다. 예를 들어, 사용자는 웹 브라우저를 실행하고 접속하고자 하는 웹 주소를 입력 및 호출할 수 있다.Referring to FIG. 9 , in operation 905 , the access control application 211 may detect a network access event. For example, the access control application 211 may detect that a target application, such as a web browser, is attempting to connect to a destination network including the destination node 204, such as the Internet. For example, the user may launch a web browser and input and call a web address to access.

동작 910에서, 접속 제어 애플리케이션은 서비스 서버와 통신을 수행해야 하는 경우, 해당 서비스 서버와 통신하기 위해 애플리케이션 식별 정보, 도착지 IP와 포트 정보를 기반하여 데이터 플로우 정보가 존재하는지 확인할 수 있다. 터널 및 데이터 플로우가 존재하는 경우 데이터 패킷을 전송할 수 있다. 만약 데이터 플로우가 존재하지만 유효하지 않은 경우(예컨대, 데이터 패킷 전송 불가 상태), 데이터 패킷은 드롭(DROP)될 수 있다.In operation 910, when the access control application needs to communicate with the service server, it may check whether data flow information exists based on application identification information, destination IP, and port information to communicate with the service server. Data packets can be transmitted when tunnels and data flows exist. If a data flow exists but is not valid (eg, a data packet transmission disabled state), the data packet may be dropped (DROP).

동작 915에서, 만약 데이터 패킷이 존재하지 않거나, 인증 시각이 만료되어 갱신이 필요로 한 경우 및 그 외의 사항(예컨대, 네트워크 접속 실패 시)에 의하여 데이터 플로우를 갱신해야 하는 경우, 유효성 검사 정책에 따라 유효성 검사 절차를 수행할 수 있다. 유효성 검사는 접속 애플리케이션의 무결성 및 안전성 여부에 관한 검사(예컨대, 애플리케이션 위·변조 여부, 코드 사이닝 검사, 핑거프린트 검사 등)를 포함할 수 있다.In operation 915, if the data packet does not exist, the authentication time expires, and the update is required, and if the data flow needs to be updated due to other matters (eg, when network access fails), according to the validation policy A validation procedure can be performed. The validation check may include a check on the integrity and safety of the access application (eg, whether the application is forged or tampered with, a code signing check, a fingerprint check, etc.).

동작 920에서, 접속 제어 애플리케이션(211)은 네트워크 접속 이벤트 이전에 컨트롤러(202)와 생성된 제어 플로우를 식별하기 위한 제어 플로우 식별 정보와 애플리케이션 식별 정보, 접속하고자 하는 서버의 도착지IP 및 포트 정보를 기반으로 네트워크 접속 요청을 수행할 대상을 확인할 수 있다.In operation 920, the access control application 211 is based on the control flow identification information and application identification information for identifying the control flow generated with the controller 202 before the network access event, and the destination IP and port information of the server to be accessed. You can check the target to perform the network connection request with.

해당 노드(201)가 엣지 게이트웨이(203)와 연결된 터널(210)이 존재하고 해당 게이트웨이(203)에서 본 절차를 수행할 수 있는 일련의 정보가 존재하는 경우(제어 플로우 처리를 위한 게이트웨이의 IP 및 포트 정보 및 제어 플로우 분산 처리 여부, 해당 게이트웨이에서 처리할 수 있는 명령어 목록에 본 처리 요소가 존재하는지 여부 등), 해당 게이트웨이(203)에 네트워크 접속 요청을 수행할 수 있다. 만약 해당 정보가 존재하지 않은 경우, 접속 제어 애플리케이션(211)은 컨트롤러(202)에 네트워크 접속 요청을 수행할 수 있다.When a tunnel 210 in which the node 201 is connected to the edge gateway 203 exists and a series of information for performing this procedure in the corresponding gateway 203 exists (the gateway IP and Whether port information and control flow distributed processing, whether this processing element is present in a list of commands that can be processed by the corresponding gateway, etc.), a network access request can be performed to the corresponding gateway 203 . If the corresponding information does not exist, the access control application 211 may perform a network access request to the controller 202 .

동작 925에서, 컨트롤러(202) 또는 게이트웨이(203)는 제어 플로우 상에 식별된 정보 (단말, 사용자, 출발지 네트워크 정보 등)와 매칭된 접속 정책에서, 접속 요청한 식별 정보(애플리케이션, 도착지 IP 및 서비스 포트 정보 등)의 포함 여부 및 해당 식별 정보로 매핑된 도착지 서버와 네트워크 경계 사이에 존재하는 게이트웨이(203)와의 접속 가능 여부를 확인할 수 있다. 접속이 불가능한 경우, 컨트롤러(202)는 노드(201)에 접속 불가 결과를 전송할 수 있다.In operation 925, the controller 202 or the gateway 203 performs access-requested identification information (application, destination IP, and service port) in the access policy matched with the information (terminal, user, source network information, etc.) identified on the control flow. information, etc.) and whether access to the gateway 203 existing between the destination server mapped with the corresponding identification information and the network boundary is possible can be checked. If the connection is not possible, the controller 202 may transmit a connection failure result to the node 201 .

접속이 가능한 경우, 해당 네트워크에 연결된 단말의 접속을 허용하기 위해 터널 정책에서 해당 단말이 위치한 게이트웨이를 확인하고, 해당 단말이 속한 네트워크 경계의 게이트웨이와 접속하고자 하는 목적지 네트워크 경계의 게이트웨이 사이에 터널이 생성되어있는지 여부를 확인하고, 데이터 플로우 테이블에서 해당 도착지 IP와 포트로 접속 가능한 데이터 플로우 정보가 존재하는지 확인할 수 있다. 만약 터널링 생성되어 있고, 데이터 플로우 테이블에서 유효한 데이터 플로우 정보가 없는 경우, 해당 애플리케이션의 접속을 허용할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보를 기반으로 데이터 플로우 정보를 생성하고, 해당 정보를 식별된 게이트웨이에 각각 전송할 수 있다.If access is possible, the gateway where the terminal is located is checked in the tunnel policy to allow access of the terminal connected to the network, and a tunnel is created between the gateway of the network boundary to which the terminal belongs and the gateway of the destination network to access. It can be checked whether or not the data flow is enabled, and it can be checked whether data flow information that can be accessed through the corresponding destination IP and port exists in the data flow table. If tunneling is created and there is no valid data flow information in the data flow table, data flow information is created based on the source IP, destination IP and port information to allow the access of the application, and the information is identified. Each can be transmitted to the gateway.

만약 데이터 플로우 테이블에서 접속 가능한 데이터 플로우 정보가 존재하는 경우, 해당 정보를 단말에 전송할 수 있다.If accessible data flow information exists in the data flow table, the corresponding information may be transmitted to the terminal.

동작 930에서, 접속 제어 애플리케이션(211)은 컨트롤러(202) 또는 게이트웨이(203)로부터 수신된 접속 요청 결과값을 처리할 수 있다. 네트워크 접속에 실패한 경우, 데이터 패킷은 드롭(DROP)될 수 있다. 만약 기존에 존재하는 데이터 플로우를 기반으로 접속이 가능한 경우, 데이터 패킷을 전송할 수 있다.In operation 930 , the access control application 211 may process a result of the access request received from the controller 202 or the gateway 203 . When the network connection fails, the data packet may be dropped (DROP). If access is possible based on an existing data flow, a data packet may be transmitted.

도 10은 다양한 실시예들에 따른 데이터 패킷을 포워딩하기 위한 흐름도를 나타낸다.10 shows a flowchart for forwarding a data packet in accordance with various embodiments.

일 실시예에 따르면, 게이트웨이(203)가 인가된 터널로 데이터 패킷을 수신하는 경우(동작 1005), IP(Internet Protocol)의 5 Tuples 정보에 포함된 출발지 IP, 도착지 IP, 도착지 포트 정보를 기반으로 데이터 플로우 테이블에서 포워딩 가능한 데이터 플로우가 존재하는지 확인할 수 있다(동작 1010). 데이터 플로우가 존재하는 경우, 해당 데이터 패킷을 포워딩할 수 있다(동작 1015). 데이터 플로우가 존재하지 않는 경우, 해당 데이터 패킷을 드롭(DROP)할 수 있다(동작 1020).According to an embodiment, when the gateway 203 receives a data packet through an authorized tunnel (operation 1005), based on the source IP, destination IP, and destination port information included in 5 Tuples information of IP (Internet Protocol) It may be checked whether a forwardable data flow exists in the data flow table (operation 1010). If there is a data flow, the corresponding data packet may be forwarded (operation 1015). If there is no data flow, the corresponding data packet may be dropped (operation 1020).

도 11은 다양한 실시예들에 따른 제어 플로우 처리를 위한 흐름도를 나타낸다.11 is a flowchart for control flow processing according to various embodiments of the present disclosure;

동작 1105에서, 단말은 제어 플로우 처리 요청 이벤트를 감지할 수 있다.In operation 1105, the terminal may detect a control flow processing request event.

동작 1110에서, 게이트웨이는 단말로부터 수신된 제어 플로우 요청 정보를 확인할 수 있다.In operation 1110, the gateway may check the control flow request information received from the terminal.

동작 해당 제어 플로우 정보에 포함된 제어 플로우 식별 정보를 게이트웨이에 존재하는 컨트롤러와 동기화된 제어 플로우 테이블에 존재하는지 여부를 확인할 수 있다.It can be checked whether the control flow identification information included in the operation corresponding control flow information exists in the control flow table synchronized with the controller existing in the gateway.

유효한 제어 플로우인 경우 해당 제어 플로우 정보에 포함된 요청 명령어 정보를 확인할 수 있다.In the case of a valid control flow, request command information included in the corresponding control flow information may be checked.

동작 1115에서, 해당 요청 명령어가 게이트웨이(203-1)에서 처리할 수 있는 명령어인 경우, 관련 처리를 수행하고, 그 결과를 반환할 수 있다(동작 1135).In operation 1115 , if the corresponding request command is a command that can be processed by the gateway 203 - 1 , a related processing may be performed and a result may be returned (operation 1135 ).

동작 1120에서, 해당 요청 명령어가 게이트웨이(203-1)에서 처리할 수 없는 명령어인 경우, 컨트롤러(202)로 해당 제어 플로우 정보를 전송하고, 동작 1125에서 그 결과를 게이트웨이(203-1)로 반환하고,동작 1130에서 게이트웨이는 제어 플로우 처리 요청 결과를 수신하며, 제어 플로우 처리 요청 결과를 반환할 수 있다(동작 1135).In operation 1120 , if the corresponding request command is a command that cannot be processed by the gateway 203 - 1 , the corresponding control flow information is transmitted to the controller 202 , and in operation 1125 , the result is returned to the gateway 203 - 1 and, in operation 1130, the gateway may receive the control flow processing request result and return the control flow processing request result (operation 1135).

해당 제어 플로우 테이블에 존재하지 않는 경우, 동작 1140에서 해당 요청에 대해서 처리 실패 정보를 반환할 수 있다.If it does not exist in the corresponding control flow table, processing failure information for the corresponding request may be returned in operation 1140 .

일 실시예 따르면, 정책을 동기화하기 위해, 게이트웨이(203)는 주기적으로 해당 게이트웨이(203)에서 처리해야 할 공통 정보(데이터 플로우 정책, 터널 정책, 접속 정책 등) 및 현재 접속된 정보 (터널 테이블, 데이터 플로우 테이블, 제어 플로우 테이블)를 컨트롤러(202)와 동기화하여 항상 최신의 정책 및 유관 정보를 유지할 수 있도록 할 수 있다.According to an embodiment, in order to synchronize policies, the gateway 203 periodically processes common information (data flow policy, tunnel policy, access policy, etc.) to be processed by the corresponding gateway 203 and currently accessed information (tunnel table, A data flow table and a control flow table) may be synchronized with the controller 202 to always maintain the latest policies and related information.

도 12는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 나타낸다.12 is a flowchart illustrating a signal flow for updating a control flow according to various embodiments of the present disclosure;

동작 1205에서, 노드(201)는 제어 플로우 갱신 이벤트를 감지할 수 있다. 애플리케이션은 제어 플로우 및 현재 접속된 데이터 플로우 정보를 유지하고, 갱신된 데이터 플로우를 컨트롤러(202) 또는 게이트웨이(203-1)로부터 수신하기 위해 주기적으로 부여받은 제어 플로우 식별 정보를 기반으로 제어 플로우를 갱신 요청할 수 있다. 컨트롤러(202) 또는 게이트웨이(203)는 노드(201)가 요청한 제어 플로우 식별 정보를 기반으로 제어 플로우 테이블에서 제어 플로우가 존재하는지 여부를 확인할 수 있다(동작 1210).In operation 1205 , the node 201 may detect a control flow update event. The application maintains the control flow and the currently connected data flow information, and updates the control flow based on the control flow identification information periodically granted to receive the updated data flow from the controller 202 or the gateway 203 - 1 you can request The controller 202 or the gateway 203 may check whether a control flow exists in the control flow table based on the control flow identification information requested by the node 201 (operation 1210 ).

만약 제어 플로우가 존재하지 않는 경우(예컨대, 타 보안 시스템에 의해서 접속 해제, 갱신 시각 초과, 자체적인 위험 탐지 등에 의한 접속 해제 등), 해당 단말의 접속이 유효하지 않으므로, 접속 불가 정보를 반환할 수 있다. If the control flow does not exist (e.g., disconnection by other security systems, over the update time, disconnection due to self-risk detection, etc.) have.

만약 제어 플로우가 존재하는 경우 갱신 시각을 업데이트하고, 해당 제어 플로우에 종속된 데이터 플로우 정보를 탐색할 수 있다(동작 1215). 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우 정보를 반환할 수 있다. 제어 플로우 갱신 결과가 접속 불가인 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 있는 경우, 애플리케이션내의 데이터 플로우 테이블 정보를 갱신하고, 그 결과값을 처리할 수 있다(동작 1220).If the control flow exists, the update time may be updated and data flow information dependent on the corresponding control flow may be searched (operation 1215). If re-authentication needs to be performed among data flows or there is a data flow that can no longer be accessed, the corresponding data flow information can be returned. When the result of the control flow update is that the connection is unavailable, the application may be terminated or all network connections of the application may be blocked. When the control flow update result is normal and there is updated data flow information, data flow table information in the application may be updated and the result value may be processed (operation 1220 ).

도 13은 다양한 실시예들에 따른 네트워크 접속 해제를 위한 신호 흐름도를 나타낸다. 도 14는 다양한 실시예들에 따른 네트워크 접속 해제를 위한 사용자 인터페이스 화면을 나타낸다.13 illustrates a signal flow diagram for releasing a network connection according to various embodiments of the present disclosure; 14 illustrates a user interface screen for releasing a network connection according to various embodiments of the present disclosure.

도 13를 참조하면, 동작 1305에서 노드(201)는 네트워크 접속 해제를 컨트롤러(202) 또는 엣지 게이트웨이(203-1)에게 요청할 수 있다.Referring to FIG. 13 , in operation 1305 , the node 201 may request a network connection release from the controller 202 or the edge gateway 203 - 1 .

일 실시예에 따르면, 노드(201)는 사용자의 요청, 노드(201)의 재시작, 또는 접속 제어 애플리케이션(211)의 요청과 같은 네트워크 접속 해제 이벤트에 응답하여 네트워크 접속 해제를 시도할 수 있다. 예를 들어, 도 14를 참조하면, 노드(201)는 디스플레이를 통해 출력된 사용자 인터페이스 화면(1610)에서 접속 종료 버튼(1615)을 선택하는 사용자 입력을 수신할 수 있다. 노드(201)는 팝업창(1625)을 포함하는 사용자 인터페이스 화면(1620)을 출력함으로써 사용자에게 접속 종료를 재차 확인할 수 있다. 다른 예를 들어, 노드(201)는 사용자 인터페이스 화면(1620)을 출력하지 않고 곧바로 동작 1305를 수행할 수 있다.According to an embodiment, the node 201 may attempt to disconnect the network in response to a network connection disconnection event, such as a user's request, a restart of the node 201, or a request of the access control application 211 . For example, referring to FIG. 14 , the node 201 may receive a user input for selecting the connection termination button 1615 on the user interface screen 1610 output through the display. The node 201 may reconfirm the termination of the connection to the user by outputting the user interface screen 1620 including the pop-up window 1625 . As another example, the node 201 may directly perform operation 1305 without outputting the user interface screen 1620 .

동작 1310에서, 컨트롤러(202) 또는 엣지 게이트웨이(203-1)는 노드(201)의 요청에 응답하여, 수신된 식별 정보에 대응하는 제어 플로우 및 터널을 제거(또는 해제)할 수 있다. In operation 1310 , the controller 202 or the edge gateway 203 - 1 may remove (or release) a control flow and a tunnel corresponding to the received identification information in response to a request from the node 201 .

상술한 동작을 통해, 도착지 노드(204)를 포함하는 시스템은, 노드(201)에서 전송되는 데이터 패킷을 더 이상 수신할 수 없는 완전한 차단 및 격리를 제공할 수 있다.Through the above-described operation, the system including the destination node 204 can provide complete blocking and isolation from which data packets transmitted from the node 201 can no longer be received.

이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely illustrative of the technical idea disclosed in this document, and those of ordinary skill in the art to which the embodiments disclosed in this document belong are not departing from the essential characteristics of the embodiments disclosed in this document. Various modifications and variations will be possible.

따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, the embodiments disclosed in this document are for explanation rather than limiting the technical ideas disclosed in this document, and the scope of the technical ideas disclosed in this document is not limited by these embodiments. The protection scope of the technical idea disclosed in this document should be interpreted by the following claims, and all technical ideas within the equivalent range should be interpreted as being included in the scope of the present document.

Claims (14)

노드에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결되는 프로세서; 및
상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리;를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대한 네트워크 접속 이벤트를 감지하고,
상기 접속 제어 애플리케이션을 통해, 상기 목적지 네트워크에 대응하고 외부 서버로부터 인가된 데이터 플로우 및 상기 노드와 게이트웨이 사이의 터널이 존재하는지 확인하며,
상기 노드가 상기 게이트웨이와 연결된 터널이 존재하고 상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 일련의 정보가 존재하는 경우, 상기 게이트웨이에 네트워크 접속 요청을 수행하고,
상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 상기 일련의 정보가 존재하지 않는 경우, 상기 노드는 상기 외부 서버에 네트워크 접속 요청을 수행하도록 하는, 명령어들을 저장하고,
상기 게이트웨이는 상기 노드의 네트워크 환경에 대응되는, 노드.
In the node,
communication circuit;
a processor operatively coupled to the communication circuitry; and
a memory operatively coupled to the processor and configured to store a connection control application, wherein the memory, when executed by the processor, causes the node to:
Through the access control application, to detect a network access event to the destination network,
Through the access control application, it is confirmed whether a data flow corresponding to the destination network and authorized from an external server and a tunnel between the node and the gateway exist,
When the node has a tunnel connected to the gateway and there is a series of information for performing control flow distribution processing in the gateway, a network access request is made to the gateway,
When the set of information that can perform control flow distribution processing in the gateway does not exist, the node stores instructions to make a network connection request to the external server;
wherein the gateway corresponds to a network environment of the node.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통하여 제어 플로우 갱신 이벤트를 감지하고,
상기 게이트웨이에게 제어 플로우 갱신을 요청하고, 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 수신하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 하는, 노드.
The method of claim 1, wherein the instructions cause the node to:
Detecting a control flow update event through the access control application,
and request a control flow update from the gateway, and receive a first response to the control flow update request, wherein the first response includes updated control flow information.
제 2 항에 있어서, 상기 명령어들은 상기 노드가,
상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 제어 플로우 갱신의 요청은 상기 외부 서버에 요청하도록 하는, 노드.
3. The method of claim 2, wherein the instructions cause the node to:
After the tunnel connected to the gateway is terminated, the request for updating the control flow is made to the external server until a new gateway is designated.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
네트워크 접속의 해제를 요청하는 제2 사용자 입력을 수신하고,
상기 제2 사용자 입력에 응답하여, 상기 게이트웨이에게 네트워크 접속 해제를 요청하도록 하는, 노드.
The method of claim 1, wherein the instructions cause the node to:
receiving a second user input requesting release of network connection;
and in response to the second user input, request the gateway to disconnect from the network.
제 4 항에 있어서, 상기 명령어들은 상기 노드가,
상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 네트워크 접속의 해제의 요청은 상기 외부 서버에 요청하도록 하는, 노드.
5. The method of claim 4, wherein the instructions cause the node to:
After the tunnel connected to the gateway is terminated, the request for release of the network connection is made to the external server until a new gateway is designated.
게이트웨이에 있어서,
통신 회로;
데이터 베이스를 저장하는 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드의 접속 제어 애플리케이션으로부터, 제어 플로우 처리의 요청을 수신하고,
상기 접속 제어 애플리케이션으로부터 제어 플로우 처리를 요청받는 경우, 상기 노드가 요청한 제어 플로우 정보를 확인하여 유효한 제어 플로우 처리 요청인지 확인하며,
상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가능한 요청인 경우 상기 요청에 대한 처리 결과를 단말에 반환하고,
상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가 불가능한 요청인 경우, 상기 요청을 외부 서버로 요청하며,
상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하도록 하는 명령어들을 저장하고,
상기 노드의 네트워크 환경에 대응되는, 게이트웨이.
In the gateway,
communication circuit;
a memory for storing the database; and
a processor operatively coupled with the communication circuitry and the memory, the processor comprising:
receiving a request for control flow processing from a connection control application of the node;
When a control flow processing request is received from the access control application, the node checks the requested control flow information to check whether it is a valid control flow processing request,
When the control flow processing request is a request that can be processed by the gateway, a processing result for the request is returned to the terminal,
When the control flow processing request is a request that cannot be processed by the gateway, the request is made to an external server,
storing commands for receiving a result requested from the external server and returning a result for the request to the node;
A gateway corresponding to the network environment of the node.
제 6 항에 있어서, 상기 명령어들은 상기 게이트웨이가,
상기 접속 제어 애플리케이션으로부터 제어 플로우 갱신 요청을 수신하고,
상기 게이트웨이가 제어 플로우 갱신을 처리할 수 있는 경우, 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 상기 단말로 발송하며,
상기 게이트웨이에서 제어 플로우 갱신을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하며, 상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 하는, 게이트웨이.
7. The method of claim 6, wherein the instructions are performed by the gateway,
receiving a control flow update request from the access control application;
When the gateway can process the control flow update, sending a first response to the control flow update request to the terminal;
When the gateway cannot process the control flow update, it requests the request to an external server, receives the requested result from the external server, and returns a result for the request to the node, and the first response is updated A gateway to include controlled flow information.
제 6 항에 있어서, 상기 명령어들은 상기 게이트웨이가,
상기 접속 제어 애플리케이션으로부터 네트워크 접속의 해제의 요청을 수신하고,
상기 네트워크 접속의 해제의 요청에 응답하여, 제어 플로우 및 터널을 제거하며,
상기 게이트웨이에서 상기 네트워크 접속의 해제의 요청을 처리할 수 없는 경우, 상기 요청을 외부 서버로 요청하도록 하는, 게이트웨이.
7. The method of claim 6, wherein the instructions are performed by the gateway,
receiving a request for release of a network connection from the access control application;
in response to the request for release of the network connection, removing a control flow and a tunnel;
when the gateway cannot process the request for release of the network connection, request the request to an external server.
네트워크 접속 제어 시스템의 동작 방법으로서,
노드의 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대한 네트워크 접속 이벤트를 감지하는 단계;
상기 접속 제어 애플리케이션을 통해, 목적지 네트워크에 대응하고 외부 서버로부터 인가된 데이터 플로우 및 노드와 게이트웨이 사이의 터널이 존재하는지 확인하는 단계;
상기 노드와 상기 게이트웨이 사이에 연결된 터널이 존재하고 상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 일련의 정보가 존재하는 경우, 상기 노드에서 상기 게이트웨이에 네트워크 접속 요청을 수행하는; 및
상기 게이트웨이에서 제어 플로우 분산 처리를 수행할 수 있는 상기 일련의 정보가 존재하지 않는 경우, 상기 노드에서 상기 외부 서버에 네트워크 접속 요청을 수행하도록 하는 단계;를 포함하고,
상기 게이트웨이는 상기 노드의 네트워크 환경에 대응되는 네트워크 접속 제어 시스템의 동작 방법.
A method of operating a network access control system, comprising:
detecting, through the node's access control application, a network connection event to the destination network;
checking, through the access control application, whether a data flow corresponding to the destination network and authorized from an external server and a tunnel between the node and the gateway exist;
when there is a tunnel connected between the node and the gateway and there is a set of information for performing control flow distribution processing in the gateway, the node performs a network access request to the gateway; and
When the set of information that can perform control flow distribution processing in the gateway does not exist, allowing the node to perform a network access request to the external server;
The gateway is an operating method of a network access control system corresponding to the network environment of the node.
제 9 항에 있어서,
상기 접속 제어 애플리케이션을 통하여 제어 플로우 갱신 이벤트를 감지하는 단계; 및
상기 노드에서 상기 게이트웨이에게 제어 플로우 갱신을 요청하는 단계;
상기 게이트웨이에서 상기 제어 플로우 갱신 요청에 대한 제 1 응답을 상기 노드에게 발송하는 단계
를 더 포함하고, 상기 제 1 응답은 갱신된 제어 플로우 정보를 포함하도록 하는, 네트워크 접속 제어 시스템의 동작 방법.
10. The method of claim 9,
detecting a control flow update event through the access control application; and
requesting, at the node, to update a control flow from the gateway;
sending, by the gateway, a first response to the control flow update request to the node
further comprising, wherein the first response includes updated control flow information.
제 10 항에 있어서,
상기 노드와 상기 게이트웨이와 연결된 터널이 종료된 이후, 상기 노드에 대한 새로운 게이트웨이가 지정될 때까지 상기 제어 플로우 갱신을 상기 외부 서버에 요청하는 단계
를 더 포함하는 네트워크 접속 제어 시스템의 동작 방법.
11. The method of claim 10,
After the tunnel connected with the node and the gateway is terminated, requesting the external server to update the control flow until a new gateway for the node is designated
A method of operating a network access control system further comprising a.
제 9 항에 있어서,
상기 노드에서 네트워크 접속의 해제를 요청하는 제2 사용자 입력을 수신하는 단계; 및
상기 노드에서, 상기 제2 사용자 입력에 응답하여, 상기 게이트웨이에게 네트워크 접속 해제를 요청하는 단계
를 더 포함하는 네트워크 접속 제어 시스템의 동작 방법.
10. The method of claim 9,
receiving a second user input requesting release of a network connection at the node; and
requesting, at the node, to release the network connection from the gateway in response to the second user input;
A method of operating a network access control system further comprising a.
제 10 항에 있어서,
상기 노드와 상기 게이트웨이와 연결된 터널이 종료된 이후, 새로운 게이트웨이가 지정될 때까지 상기 네트워크 접속의 해제의 요청은 상기 외부 서버에 요청하는 단계
를 더 포함하는 네트워크 접속 제어 시스템의 동작 방법.
11. The method of claim 10,
after the tunnel connected with the node and the gateway is terminated, requesting the external server to release the network connection until a new gateway is designated;
A method of operating a network access control system further comprising a.
네트워크 접속 제어 시스템의 동작 방법으로서,
게이트웨이에서 노드의 접속 제어 애플리케이션으로부터, 제어 플로우 처리의 요청을 수신하는 단계;
상기 게이트웨이가 상기 접속 제어 애플리케이션으로부터 제어 플로우 처리를 요청받는 경우, 상기 노드가 요청한 제어 플로우 정보를 확인하여 유효한 제어 플로우 처리 요청인지 확인하는 단계;
상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가능한 요청인 경우 상기 요청에 대한 처리 결과를 단말에 반환하는 단계;
상기 제어 플로우 처리 요청이 상기 게이트웨이에서 처리가 불가능한 요청인 경우, 상기 요청을 외부 서버로 요청하는 단계; 및
상기 외부 서버로부터 요청된 결과를 수신하여 상기 노드에 상기 요청에 대한 결과를 반환하는 단계; 를 포함하고,
상기 게이트웨이는 상기 노드의 네트워크 환경에 대응되는 네트워크 접속 제어 시스템의 동작 방법.
A method of operating a network access control system, comprising:
receiving a request for control flow processing from a connection control application of the node at the gateway;
when the gateway receives a control flow processing request from the access control application, checking the control flow information requested by the node to determine whether it is a valid control flow processing request;
returning a processing result for the request to the terminal when the control flow processing request is a request that can be processed by the gateway;
when the control flow processing request is a request that cannot be processed by the gateway, requesting the request to an external server; and
receiving a result requested from the external server and returning a result for the request to the node; including,
The gateway is an operating method of a network access control system corresponding to the network environment of the node.
KR1020210115696A 2021-08-31 2021-08-31 Control data packet processing system optimized for distributed gateway environment and method therefor KR102349039B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210115696A KR102349039B1 (en) 2021-08-31 2021-08-31 Control data packet processing system optimized for distributed gateway environment and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210115696A KR102349039B1 (en) 2021-08-31 2021-08-31 Control data packet processing system optimized for distributed gateway environment and method therefor

Publications (1)

Publication Number Publication Date
KR102349039B1 true KR102349039B1 (en) 2022-01-11

Family

ID=79355344

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210115696A KR102349039B1 (en) 2021-08-31 2021-08-31 Control data packet processing system optimized for distributed gateway environment and method therefor

Country Status (1)

Country Link
KR (1) KR102349039B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102446934B1 (en) * 2022-04-28 2022-09-26 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application based on proxy and method thereof
KR102449118B1 (en) * 2022-04-27 2022-09-30 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application based on proxy and method thereof
KR102460696B1 (en) * 2022-05-13 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102119257B1 (en) * 2019-09-24 2020-06-26 프라이빗테크놀로지 주식회사 System for controlling network access of terminal based on tunnel and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102119257B1 (en) * 2019-09-24 2020-06-26 프라이빗테크놀로지 주식회사 System for controlling network access of terminal based on tunnel and method thereof
KR102250505B1 (en) * 2019-09-24 2021-05-12 프라이빗테크놀로지 주식회사 System for controlling network access of node based on tunnel and data flow and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102449118B1 (en) * 2022-04-27 2022-09-30 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application based on proxy and method thereof
WO2023211120A1 (en) * 2022-04-27 2023-11-02 프라이빗테크놀로지 주식회사 System for controlling file transmission and reception of application on basis of proxy, and method related thereto
KR102446934B1 (en) * 2022-04-28 2022-09-26 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application based on proxy and method thereof
WO2023211122A1 (en) * 2022-04-28 2023-11-02 프라이빗테크놀로지 주식회사 System for controlling file transmission and reception of application on basis of proxy and method relating to same
KR102460696B1 (en) * 2022-05-13 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Similar Documents

Publication Publication Date Title
KR102204143B1 (en) Tunnel-based conectivity management method and apparatus and system therefor
KR102349038B1 (en) Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102349039B1 (en) Control data packet processing system optimized for distributed gateway environment and method therefor
KR102379721B1 (en) System for controlling network access of application based on tcp session control and method therefor
KR102309115B1 (en) System and method for controlling network access of data flow based application
KR102364445B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102407136B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (en) System for controlling network access based on controller and method of the same
KR102415567B1 (en) System for controlling network access of virtualization terminal and method of the same
KR102377247B1 (en) System for controlling network access based on controller and method of the same
KR102333555B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (en) System for controlling network access based on controller and method of the same
US11271777B2 (en) System for controlling network access of terminal based on tunnel and method thereof
KR102379720B1 (en) System for controlling data flow in virtualization terminal and method of the same
JP7489147B2 (en) System and method for authenticating and controlling network connections of terminals - Patents.com
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102333554B1 (en) System for controlling network access based on controller and method of the same
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102472554B1 (en) System for controlling network access based on controller and method of the same
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102460692B1 (en) System for controlling network access based on controller and method of the same
EP4037278A1 (en) System for controlling network access of node on basis of tunnel and data flow, and method therefor
KR102365775B1 (en) Billing-based routing processing system in distributed gateway environment and method therefor

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant