KR102588355B1 - System for controlling network access and method of the same - Google Patents

System for controlling network access and method of the same Download PDF

Info

Publication number
KR102588355B1
KR102588355B1 KR1020230010945A KR20230010945A KR102588355B1 KR 102588355 B1 KR102588355 B1 KR 102588355B1 KR 1020230010945 A KR1020230010945 A KR 1020230010945A KR 20230010945 A KR20230010945 A KR 20230010945A KR 102588355 B1 KR102588355 B1 KR 102588355B1
Authority
KR
South Korea
Prior art keywords
node
information
router
authentication
data packet
Prior art date
Application number
KR1020230010945A
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 KR1020230010945A priority Critical patent/KR102588355B1/en
Application granted granted Critical
Publication of KR102588355B1 publication Critical patent/KR102588355B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • 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/0227Filtering policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

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

Abstract

본 문서에 개시된 일 실시예에 따른 라우터는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가, 상기 접속 제어 애플리케이션을 통해 노드의 네트워크 접속 이벤트를 감지하고, 상기 네트워크 접속 이벤트는 상기 노드의 식별 정보 및 노드 인증 정보를 포함하고, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행하고, 상기 외부 서버로부터 상기 노드의 식별 정보에 대응되는 데이터 플로우를 수신하고, 상기 노드 인증 정보의 인증을 자체적으로 수행하거나 또는 상기 외부 서버로부터 인증 수행된 결과를 수신하고, 상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 플로우에 기반하여 상기 노드가 전송하고자 하는 데이터 패킷을 처리하도록 구성된, 명령어들을 저장할 수 있다. A router according to an embodiment disclosed in this document includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a connection control application, the memory comprising: When executed by the processor, the router detects a network connection event of a node through the access control application, and the network connection event includes identification information of the node and node authentication information, the identification information of the node, Perform a network connection request to an external server based on the identification information of the destination network of the node, receive a data flow corresponding to the identification information of the node from the external server, and independently perform authentication of the node authentication information, or When the authentication result is received from the external server and authentication of the node authentication information is completed, commands configured to process a data packet to be transmitted by the node based on the data flow may be stored.

Description

네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법{SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}System for controlling network access and method related thereto {SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}

본 문서에 개시된 실시예들은 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다. Embodiments disclosed in this document relate to a system and method for controlling network access.

다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices can communicate data over a network. For example, a terminal can transmit or receive data to and from a server via the Internet. Networks may include public networks such as the Internet as well as private networks such as intranets.

사용자가 일반적으로 사용하는 단말이 아닌 산업용 단말 및 IoT(Internet of Things) 등의 단말 및 노드는 유무선 네트워크에 연결 및 통신하기 위한 라우터에 연결된다. Terminals and nodes other than those commonly used by users, such as industrial terminals and IoT (Internet of Things), are connected to a router for connection and communication with wired and wireless networks.

라우터는 LTE/5G와 같은 무선 통신 기술을 사용하여 통신사의 무선 네트워크에 연결되거나 유선 네트워크를 통해서 ISP(Internet Service Provider)를 통해 각각 서비스에 접속할 수 있으며, 실질적 통신을 수행하는 단말은 유선 또는 WIFI, LoRa (Long Range), Serial 등 다양한 연결 방식을 통해서 라우터와 연결될 수 있다.The router can be connected to a telecommunication company's wireless network using wireless communication technology such as LTE/5G, or access the service through an ISP (Internet Service Provider) through a wired network. The terminal that actually performs communication is wired or WIFI, It can be connected to the router through various connection methods such as LoRa (Long Range) and Serial.

산업용 단말과 IoT 단말 등은 저전력 또는 저사양의 단말이거나 자체적인 운영체제를 사용하기 때문에 네트워크 접속 제어 애플리케이션을 설치할 수 없는 문제가 발생할 수 있다. Because industrial terminals and IoT terminals are low-power or low-spec terminals or use their own operating systems, problems may occur in which network access control applications cannot be installed.

이러한 문제점을 해결하기 위해 통신사 및 ISP사는 라우터와 연결된 게이트웨이를 통해서 인터넷 또는 서비스 사이에 네트워크 접속 제어를 수행하고 있으며, 전통적인 방화벽 및 IPS (Intrusion Prevention System) 및 DPI (Deep Packet Inspection) 기술이 사용되며, 라우터를 식별하기 위한 고유의 정보(예 : USIM 기반의 Subscriber ID)를 기반으로 할당된 IP를 기준으로 접속 가능한 서비스 IP 정책을 수동으로 등록하는 방법을 사용하고 있지만, 실질적으로 통신의 주체인 단말의 네트워크 접속을 직접적으로 제어하는 것에는 한계가 존재할 수 있다. To solve these problems, telecommunication companies and ISPs perform network access control between the Internet or services through gateways connected to routers, and traditional firewalls, IPS (Intrusion Prevention System), and DPI (Deep Packet Inspection) technologies are used. A method is used to manually register the service IP policy that can be accessed based on the assigned IP based on unique information to identify the router (e.g. USIM-based Subscriber ID), but in reality, the terminal that is the subject of communication There may be limitations to directly controlling network access.

특히, 인터넷 또는 서비스 경계 사이에 존재하는 게이트웨이를 통해서 네트워크 접속 제어를 수행하는 현재의 통신 기술은 라우터로부터 전송되는 모든 데이터 패킷을 수신후 필터링 정책을 통해서 데이터 패킷을 포워딩 할 것인지 여부를 결정하기 때문에 종량제 형태의 데이터 패킷 사용 요금을 지불해야 하는 무선 네트워크 또는 클라우드 네트워크를 사용하면, 통제할 수 없는 단말에 포함된 다양한 애플리케이션으로부터 대용량의 데이터 패킷 전송이 발생됨에 따라서 지나친 요금이 청구되는 문제가 발생할 수 있다. In particular, the current communication technology that performs network access control through a gateway that exists between the Internet or service boundaries receives all data packets transmitted from the router and then determines whether to forward the data packets through a filtering policy, so pay as you go. When using a wireless network or cloud network that requires paying a fee for using data packets, a problem may arise where excessive fees are charged due to the transmission of large amounts of data packets from various applications included in uncontrollable terminals.

본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above-described problems in a network environment.

본 문서에 개시된 일 실시예에 따른 라우터는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가, 상기 접속 제어 애플리케이션을 통해 노드의 네트워크 접속 이벤트를 감지하고, 상기 네트워크 접속 이벤트는 상기 노드의 식별 정보 및 노드 인증 정보를 포함하고, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행하고, 상기 외부 서버로부터 상기 노드의 식별 정보에 대응되는 데이터 플로우를 수신하고, 상기 노드 인증 정보의 인증을 자체적으로 수행하거나 또는 상기 외부 서버로부터 인증 수행된 결과를 수신하고, 상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 플로우에 기반하여 상기 노드가 전송하고자 하는 데이터 패킷을 처리하도록 구성된, 명령어들을 저장할 수 있다. A router according to an embodiment disclosed in this document includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a connection control application, the memory comprising: When executed by the processor, the router detects a network connection event of a node through the access control application, and the network connection event includes identification information of the node and node authentication information, the identification information of the node, Perform a network connection request to an external server based on the identification information of the destination network of the node, receive a data flow corresponding to the identification information of the node from the external server, and independently perform authentication of the node authentication information, or When the authentication result is received from the external server and authentication of the node authentication information is completed, commands configured to process a data packet to be transmitted by the node based on the data flow may be stored.

본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드와 연결된 라우터로부터 상기 노드의 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보 및 노드 인증 정보를 포함하고, 상기 데이터 베이스, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 상기 노드가 상기 목적지 네트워크에 접속 가능한지 확인하고, 접속이 가능하면, 상기 데이터 베이스에 기반하여 상기 노드 인증 정보를 복호화하여 인증을 수행하고, 상기 노드 인증 정보의 인증이 완료되면, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우를 생성하여 상기 라우터 및 게이트웨이에게 전송하고, 상기 데이터 플로우는 데이터 패킷 필터링 정보 및 데이터 패킷 QoS 정보를 포함하고, 상기 노드 인증 정보의 인증 결과를 상기 라우터에게 전송하도록 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor operates from a router connected to the node to the node. Receiving a network connection request, the network connection request includes identification information of the node, identification information of the destination network of the node, and node authentication information, and the database, identification information of the node, and destination network of the node. Based on the identification information, it is checked whether the node can connect to the destination network. If access is possible, the node authentication information is decrypted based on the database and authentication is performed. When authentication of the node authentication information is completed, , a data flow corresponding to the identification information of the node and the identification information of the destination network of the node is generated and transmitted to the router and the gateway, the data flow includes data packet filtering information and data packet QoS information, and the node It may be configured to transmit an authentication result of authentication information to the router.

본 문서에 개시된 일 실시예에 따른 라우터에 설치된 접속 제어 애플리케이션의 동작 방법은, 노드의 네트워크 접속 이벤트를 감지하는 단계, 상기 네트워크 접속 이벤트는 상기 노드의 식별 정보 및 노드 인증 정보를 포함하고, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행하는 단계, 상기 외부 서버로부터 상기 노드의 식별 정보에 대응되는 데이터 플로우를 수신하는 단계, 상기 노드 인증 정보의 인증을 자체적으로 수행하거나 또는 상기 외부 서버로부터 인증 수행된 결과를 수신하는 단계 및 상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 플로우에 기반하여 상기 노드가 전송하고자 하는 데이터 패킷을 처리하는 단계를 포함하는, 방법. A method of operating an access control application installed on a router according to an embodiment disclosed in this document includes detecting a network connection event of a node, the network connection event including identification information and node authentication information of the node, and the node Identification information, performing a network connection request to an external server based on identification information of the destination network of the node, receiving a data flow corresponding to the identification information of the node from the external server, the node authentication information A step of performing authentication itself or receiving an authentication result from the external server, and when authentication of the node authentication information is completed, processing a data packet to be transmitted by the node based on the data flow. How to.

본 문서에 개시되는 실시예들에 따르면, 라우터에 연결된 노드를 식별할 수 있는 최소한의 인증 단계를 포함하며, 실질적 통신을 중계하는 라우터에서 컨트롤러를 통해서 부여받은 데이터 플로우 정보에 기반하여 네트워크 접속 제어를 수행하기 위한 방법을 제공할 수 있다. According to the embodiments disclosed in this document, it includes a minimum authentication step to identify a node connected to the router, and performs network access control based on data flow information provided through a controller in the router relaying actual communication. Methods for performing it can be provided.

또한, 본 문서에 개시되는 실시예들에 따르면 임의로 변경 가능한 MAC 주소에 기반하여 인가된 MAC 주소를 식별하고 위변조 행위를 통해 네트워크 접속을 시도하는 비인증 노드의 접속을 차단할 수 있다. In addition, according to the embodiments disclosed in this document, it is possible to identify authorized MAC addresses based on arbitrarily changeable MAC addresses and block the access of unauthorized nodes attempting to access the network through forgery and forgery.

또한, 본 문서에 개시되는 실시예들에 따르면 라우터에 연결된 노드는 인증 정보 생성 알고리즘 및 부여된 인증 정보 생성 키 등의 정보를 기초로 인증 정보를 포함하는 네트워크 접속 요청을 수행할 수 있고, 라우터는 해당 인증 정보의 인증이 완료된 경우에만 네트워크 접속을 허용함으로서 임의로 변경한 MAC 주소 대신 안전하게 통신 대상을 식별하고 인증할 수 있다. In addition, according to embodiments disclosed in this document, a node connected to the router may perform a network access request including authentication information based on information such as an authentication information generation algorithm and an assigned authentication information generation key, and the router By allowing network access only when authentication of the relevant authentication information is completed, communication targets can be safely identified and authenticated instead of arbitrarily changed MAC addresses.

또한, 본 문서에 개시되는 실시예들에 따르면 인증 정보에 기반하여 네트워크 접속 이벤트가 발생하는 경우, 라우터는 컨트롤러에 접속 가능한 여부를 확인하고 그 결과에 따라 채널을 생성하거나 생성된 채널을 기반으로 네트워크 접속을 허용할 수 있다. In addition, according to embodiments disclosed in this document, when a network connection event occurs based on authentication information, the router checks whether the controller can be accessed and creates a channel based on the result or a network connection event based on the created channel. Access may be permitted.

또한, 본 문서에 개시되는 실시예들에 따르면 라우터에 설치된 접속 제어 애플리케이션을 통해 라우터에 연결된 노드의 네트워크 접속을 일원화하여 제어할 수 있어 보다 효율적으로 노드의 네트워크 접속을 안전하게 제어할 수 있다. In addition, according to the embodiments disclosed in this document, the network access of nodes connected to the router can be unified and controlled through an access control application installed on the router, so that the node's network access can be controlled more efficiently and safely.

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

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 라우터의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따라 데이터 패킷의 전송 및 응답을 제어하는 동작을 설명한다.
도 6은 다양한 실시예들에 따른 라우터의 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 라우터의 인증서 인증을 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예들에 따른 라우터의 채널 상태 정보 변경을 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예들에 따른 라우터의 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 10은 다양한 실시예들에 따른 데이터 패킷의 예시를 도시한다.
도 11은 다양한 실시예들에 따른 라우터의 데이터 패킷의 전송을 제어하기 위한 동작 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 라우터의 데이터 패킷의 수신을 제어하기 위한 동작 흐름도를 도시한다.
도 13은 다양한 실시예들에 따른 라우터의 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 라우터의 접속 해제를 위한 신호 흐름도를 도시한다.
도 15는 다양한 실시예들에 따른 라우터에 설치된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다.
도 16은 다양한 실시예들에 따른 서버의 동작 방법을 나타내는 동작 흐름도이다.
Figure 1 shows an environment including multiple networks.
Figure 2 shows an architecture within a network environment according to various embodiments.
3 is a functional block diagram showing a database stored in a controller according to various embodiments.
Figure 4 shows a functional block diagram of a router according to various embodiments.
Figure 5 explains operations for controlling transmission and response of data packets according to various embodiments.
Figure 6 shows a signal flow diagram for connecting a router controller according to various embodiments.
Figure 7 shows a signal flow diagram for certificate authentication of a router according to various embodiments.
Figure 8 shows a signal flow diagram for changing channel state information of a router according to various embodiments.
Figure 9 shows a signal flow diagram for network connection of a router according to various embodiments.
Figure 10 shows an example data packet according to various embodiments.
FIG. 11 illustrates an operation flowchart for controlling transmission of data packets by a router according to various embodiments.
FIG. 12 illustrates an operation flowchart for controlling reception of data packets by a router according to various embodiments.
Figure 13 shows a signal flow diagram for updating a control flow of a router according to various embodiments.
Figure 14 shows a signal flow diagram for disconnection of a router according to various embodiments.
Figure 15 is an operation flowchart showing a method of operating an access control application installed on a router according to various embodiments.
Figure 16 is an operation flowchart showing a server operation method according to various embodiments.

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

본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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 plural items, unless the relevant context clearly indicates otherwise. In this document, “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 phrases such as “at least one of B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

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

본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one 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 this document may be implemented as software (e.g., a program or application) including one or more instructions stored in a storage medium (e.g., memory) that can be read by a machine. For example, the processor of the device may call at least one instruction among one or more instructions stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device 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 contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction 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 and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. A computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store or between two user devices (e.g. smartphones). It may be distributed in person or online (e.g., downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. Figure 1 shows an environment including multiple 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)와 동일 유사한 장치를 포함할 수 있다. 다른 예를 들어, 도착지 노드(102)는 목적지 네트워크와 실질적으로 동일할 수 있다. The first network 10 may include a source node 101. In FIG. 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, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices. For example, the source node 101 may include a server or gateway that can transmit data packets through an application. The source node 101 may also be referred to as an ‘electronic device’ or a ‘terminal’. Meanwhile, the destination node 102 may include the same or similar device as the above-described source node 101. As another example, the destination node 102 may be substantially the same as the destination network.

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 라우터 또는 게이트웨이(103)를 통해 데이터를 도착지 노드(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 a router or gateway 103.

출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. If the connection 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, and therefore the source node 101 is malicious. ) may be exposed to program attacks. For example, the source node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browsers 110a and business applications 110b. ) It is possible to receive data from untrusted or unsecured applications, such as the business application 110d.

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

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

도 2를 참조하면, 노드(231, 232)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 노드(231, 232)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(231, 232)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(231, 232)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 실시예에 따르면, 노드(231, 232) 복수개의 노드(예: 제1 노드(231) 및 제2 노드(232))를 포함할 수 있다. Referring to FIG. 2, nodes 231 and 232 may be various types of devices capable of performing data communication. For another example, the nodes 231 and 232 may be connected to portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and virtual reality (VR) devices. ) may include devices, or home appliances, and is not limited to the above-mentioned devices. For example, nodes 231 and 232 may include servers or gateways capable of transmitting data packets through an application. Nodes 231 and 232 may also be referred to as ‘electronic devices’ or ‘terminals.’ According to the embodiment, the nodes 231 and 232 may include a plurality of nodes (eg, the first node 231 and the second node 232).

라우터(201)는 노드(231, 232)와 연결될 수 있다. 예를 들어, 라우터(201)는 연결된 노드(231, 232)가 서비스(233, 234)에 접속하기 위해서는 컨트롤러(202)에 의해서 인가된 데이터 플로우가 존재하여야 통신이 가능한 구조를 제공할 수 있고, 데이터 플로우가 존재하지 않는 경우 노드(231, 232)가 통신을 수행할 수 없는 구조를 제공할 수 있다. 또한, 라우터(201)는 라우터(201)에 연결된 노드(231, 232)의 네트워크 접속 제어를 위하여 접속 제어 애플리케이션(211) 및 네트워크 드라이버를 포함할 수 있다. Router 201 may be connected to nodes 231 and 232. For example, the router 201 can provide a structure in which communication is possible only when a data flow authorized by the controller 202 exists in order for the connected nodes 231 and 232 to access the services 233 and 234, If a data flow does not exist, a structure in which the nodes 231 and 232 cannot communicate may be provided. Additionally, the router 201 may include an access control application 211 and a network driver to control network access of nodes 231 and 232 connected to the router 201.

실시예에 따르면, 라우터(201)는 노드(231, 232)로부터 네트워크 접속 요청이 발생하면, 컨트롤러(202)에게 접속 가능 여부를 확인할 수 있고, 접속 가능한 경우에만 컨트롤러(202)에 의해 생성된 데이터 플로우 정보를 통해 서비스(233, 234)를 제공하는 네트워크의 경계에 존재하는 게이트웨이(203)로 데이터 패킷을 전송할 수 있다. According to the embodiment, when a network connection request occurs from the nodes 231 and 232, the router 201 can check whether connection is possible with the controller 202, and only if connection is possible, data generated by the controller 202 Data packets can be transmitted to the gateway 203 located at the border of the network providing services 233 and 234 through flow information.

또한, 서비스(233, 234)를 제공하는 장치는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 서비스(233, 234)를 제공하는 장치는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 서비스(233, 234)를 제공하는 장치는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 서비스(233, 234)를 제공하는 장치는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Additionally, devices providing services 233 and 234 may be various types of devices capable of performing data communication. As another example, devices providing services 233, 234 include portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, It may include a virtual reality (VR) device, or a home appliance device, and is not limited to the aforementioned devices. For example, a device providing services 233, 234 may include a server or gateway that can transmit data packets through an application. Devices that provide services 233 and 234 may also be referred to as 'electronic devices' or 'terminals'.

노드(231, 231)는 라우터(201)에 포함된 접속 제어 애플리케이션(211)의 제어를 받고, 서비스(233, 234)를 제공하는 장치로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 노드(231, 231)에 포함된 애플리케이션 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 접속 제어 애플리케이션(211)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 서비스(233, 234)를 제공하는 장치에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. The nodes 231 and 231 are controlled by the access control application 211 included in the router 201 and can transmit data packets to devices providing services 233 and 234 or, conversely, receive data packets. Some of the applications contained in nodes 231, 231 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, so in embodiments The network access system according to the present invention can block access to devices providing services 233 and 234 of unauthorized programs (applications) through network access control of the access control application 211 and isolate the programs.

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 라우터(201) 및 서비스(233, 234)를 제공하는 장치 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 라우터(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 라우터(201)와 노드(231, 232) 간 인증을 수행할 수 있는 인증 정보를 제공할 수 있다. 따라서, 라우터(201)의 접속 제어 애플리케이션(211)은 허용되지 않은 노드(231, 232)가 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있다. Controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within a network environment by managing data transmission between the router 201 and devices providing services 233 and 234. For example, the controller 202 may allow the authorized router 201 (or the access control application 211) to access the network through policy information or blacklist information. The controller 202 may provide authentication information to perform authentication between the router 201 and the nodes 231 and 232. Accordingly, the access control application 211 of the router 201 can prevent unauthorized nodes 231 and 232 from transmitting data packets for unauthorized purposes.

실시예에 따르면, 노드(231, 232)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 라우터(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 라우터(201), 게이트웨이(203))으로부터 수신된 보안 이벤트에 따라 채널을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. 또한 상기와 같은 구조는 게이트웨이(203)와 컨트롤러(202) 사이의 관계에서도 실질적으로 동일하게 적용될 수 있다. According to the embodiment, the network connection of the nodes 231 and 232 may be blocked from the access control application 211, the controller 202, or the gateway 203. According to one embodiment, the controller 202 is a connection control application (e.g., registration, authorization, authentication, renewal, termination) to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network connection of the router 201 or the access control application 211. 211) and control data packets can be transmitted and received. The flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'. According to an embodiment, the controller 202 can maintain a secure network state at all times by immediately reclaiming a channel according to a security event received from a linked system (e.g., router 201, gateway 203). Additionally, the above structure can be applied substantially in the same way to the relationship between the gateway 203 and the controller 202.

실시예에 따르면, 컨트롤러(202)는 통신 서비스(206)와 통신할 수 있고, 라우터(201)가 무선 통신 사업자 또는 ISP(Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위하여 통신 서비스(206)에 라우터 접속 허용 여부 검사를 요청하고 그 결과를 수신할 수 있다. According to the embodiment, the controller 202 may communicate with the communication service 206, and when the router 201 operates while connected to a wireless communication provider or an Internet Service Provider (ISP) provider's own network, the router 201 ) can be requested to check whether router access is allowed to the communication service 206 and the result can be received to check whether it is a valid target that can be connected.

다양한 실시예들에 따르면, 라우터(201)는 노드(231, 232)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 노드(231, 232)로부터 서비스(233, 234)를 제공하는 장치에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 노드(231, 232)의 접속 가능 여부를 결정할 수 있다. 노드(231, 232)가 접속 가능하면, 접속 제어 애플리케이션(211)은 데이터 패킷을 서비스(233, 234)를 제공하는 장치로 보낼 수 있고, 서비스(233, 234)를 제공하는 장치로부터 데이터 패킷을 수신할 수 있다. 접속 제어 애플리케이션(211)은 라우터(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the router 201 may include a connection control application 211 and a network driver (not shown) to manage the network connection of the nodes 231 and 232. For example, when a connection event occurs from the nodes 231 and 232 to a device providing services 233 and 234, the connection control application 211 may determine whether the nodes 231 and 232 can be connected. . If the nodes 231 and 232 are connectable, the connection control application 211 can send data packets to the devices providing services 233 and 234, and receive data packets from the devices providing services 233 and 234. You can receive it. The access control application 211 can control the transmission of data packets within the router 201 through a kernel including an operating system and a network driver.

도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다. 3 is a functional block diagram showing a database stored in a controller according to various embodiments. Although FIG. 3 shows only the memory 330, the controller includes a communication circuit for performing communication with an external electronic device (e.g., the communication circuit 430 in FIG. 4) and a processor for controlling the overall operation of the controller (e.g., FIG. It may further include 4 processors 410).

관리자는 컨트롤러(202)에 접속하여 접속 제어 애플리케이션(211)과 게이트웨이(203) 및 서비스(233, 234)를 제공하는 장치 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can access the controller 202 and set a connection-oriented policy to control access between the access control application 211 and the gateway 203 and devices providing services 233 and 234, so that the session can be established at the service end. You can control network access more precisely and safely than managing .

접속 정책 데이터 베이스(311)는 라우터(201)의 식별(라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등) 및 인증(인증서 등을 위한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 라우터(201)가 속하는 네트워크, 서비스(233, 234)를 제공하는 장치가 속하는 네트워크), 노드 및/또는 애플리케이션(예: 라우터(201)에 연결된 노드에 포함된 애플리케이션)이 목적지(예: 서비스(233, 234)를 제공하는 장치 또는 라우터(201))에 접속이 가능한지 여부를 결정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 라우터(201)에 연결된 노드의 네트워크 접속 요청 또는 별도의 네트워크 접속 요청 없이 즉시 사용할 수 있도록 접속 정책에 포함된 일련의 정보(MAC 주소와 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP)에 기반하여 접속 가능 여부를 확인하고 데이터 플로우를 생성할 수 있다. The access policy database 311 may include information for identification of the router 201 (router unique identification information, USIM identification information connected to the router, MAC address, etc.) and authentication (certificate, etc.). For example, a controller (202) provides the identified network (e.g., the network to which the router 201 belongs, services 233, 234) based on the policy of the access policy database 311 when the access control application 211 requests network access. network to which the device belongs), a node and/or application (e.g., an application contained in a node connected to the router 201) connects to a destination (e.g., a device or router 201 that provides services 233, 234) It is possible to determine whether this is possible. According to the embodiment, the controller 202 sets a series of information (MAC You can check whether connection is possible and create a data flow based on the destination IP, port information, and protocol information (e.g. TCP, UDP) included in the address and IP header.

채널 정책 데이터베이스(312)는 접속 정책에 따라 접속 (Connection) 경로 상에서 라우터(201)가 게이트웨이(203)에 연결할 채널이 필요로 한 경우, 채널의 종류 (터널링 또는 보안 세션 등) 및 암호화 방법 및 수준 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드의 네트워크 접속 요청시 채널 정책을 기반으로 라우터(201)가 게이트웨이(203)와 통신하기 위한 최적의 채널을 제공할 수 있다. If the router 201 needs a channel to connect to the gateway 203 on the connection path according to the connection policy, the channel policy database 312 stores the type of channel (tunneling or secure session, etc.) and encryption method and level. May contain information. For example, the controller 202 may provide an optimal channel for the router 201 to communicate with the gateway 203 based on a channel policy when a node connected to the router 201 requests network access.

블랙리스트 정책 데이터 베이스(313)는 라우터(201)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 라우터의 식별 정보 중 적어도 어느 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. The blacklist policy database 313 is a target (e.g., node ID (identifier), IP address) identified through analysis of security event risk, occurrence cycle, and/or behavior among security events periodically collected from the router 201. , a media access control (MAC) address, or at least one of the router's identification information) may indicate a blacklist registration policy for blocking access.

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등)가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 라우터(201)를 격리시킬 수 있다. The blacklist database 314 may include a list of targets blocked by the blacklist policy database 313. For example, the controller 202 includes the identification information (e.g., router unique identification information, USIM identification information connected to the router, MAC address, etc.) of the router 201 requesting network access in the blacklist database 314. If so, the router 201 can be isolated by rejecting the network access request.

제어 플로우 테이블(315)은 라우터(201)와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러(202)에 접속하는 경우, 제어 플로우 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 라우터(201)의 정보를 포함할 수 있다. 예를 들어, 라우터(201)로부터 서비스(233, 234)를 제공하는 장치에 대한 접속이 요청되면 컨트롤러(202)는 라우터(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 식별 정보를 접속 정책 데이터 베이스(311)에 매핑함으로서 라우터(201) 또는 라우터(201)에 연결된 노드가 서비스(233, 234)를 제공하는 장치에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing the flow (eg, control flow) of control data packets generated between the router 201 and the controller 202. When successfully connecting to the controller 202, control flow information may be generated by the controller 202. The control flow information may include identification information of the control flow, and information on the router 201 identified when connecting to and authenticating the controller. For example, when access to a device providing services 233 and 234 is requested from the router 201, the controller 202 can retrieve control flow information through the control flow identification information received from the router 201. and whether the router 201 or a node connected to the router 201 can access the device providing the services 233 and 234 by mapping the identification information included in the searched control flow information to the connection policy database 311. , it is possible to determine (determine) whether to create a data flow for data packet transmission.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 라우터(201)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 라우터(201)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 라우터(201)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 라우터(201)의 접속이 차단될 수 있다. 즉, 제어 플로우가 제거되면 라우터(201)의 논리적 연결은 해제되어 실질적으로 데이터 패킷을 전송 및 수신할 수 없는 상태가 될 수 있다. According to one embodiment, a control flow may have an expiration time. The router 201 must update the expiration time of the control flow, and if the expiration time is not updated within a certain period of time, the control flow (or control flow information) may be removed. Additionally, if it is determined that immediate connection blocking is necessary according to security events collected from the router 201, the controller 202 may remove the control flow according to the connection termination request from the router 201. When the control flow is removed, the previously created data flow is also removed, so the connection to the router 201 may be blocked. That is, if the control flow is removed, the logical connection of the router 201 may be disconnected, making it virtually impossible to transmit and receive data packets.

데이터 플로우 테이블(316)은 라우터(201)에 연결된 노드와 게이트웨이(203) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 라우터(201)에 연결된 노드의 네트워크 접속 단위로 흐름을 관리할 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between the node connected to the router 201 and the gateway 203. Data flow can be managed in units of network connections of nodes connected to the router 201.

데이터 플로우를 식별하기 위한 데이터 플로우 식별 정보(예: ID), 라우터(201)의 식별 정보 및 라우터(201)에 연결된 노드의 식별 정보는 하나 이상의 논리적 연결을 생성할 수 있기 때문에, 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. Since data flow identification information (e.g., ID) for identifying a data flow, identification information of the router 201, and identification information of a node connected to the router 201 can create one or more logical connections, a data flow table ( 316) can be managed based on the control flow ID.

실시예에 따르면, 데이터 플로우 테이블(316)은 인가된 대상의 데이터 플로우를 식별하기 위한 라우터(201)에 연결된 노드의 식별 정보, 접속하고자 하는 서비스 IP 및 포트 정보, 프로토콜 정보(예: TCP, UDP 등), 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 등의 세부 관리 단위 정보를 포함할 수 있다. According to the embodiment, the data flow table 316 includes identification information of a node connected to the router 201 to identify the data flow of the authorized target, service IP and port information to be connected, and protocol information (e.g., TCP, UDP). etc.), may include detailed management unit information such as the IP assigned to the node and the received network interface identification information.

실시예에 따르면, 데이터 플로우 테이블(316)은 필터링 정보를 포함할 수 있다. 예를 들어, 필터링 정보는 데이터 플로우의 데이터 패킷 필터링 필요 여부 및 데이터 패킷 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 데이터 패킷 정보 등)를 포함하며, 라우터에서 사전에 불필요로 한 또는 위험한 데이터 패킷의 전송을 차단하기 위한 정보일 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)에 포함되는 필터링 정보는 필터링 정책(317)에 기반하여 컨트롤러(202)에서 결정될 수 있다. According to an embodiment, the data flow table 316 may include filtering information. For example, filtering information includes whether data packet filtering of the data flow is necessary and how data packet filtering is processed, filtering information (e.g. personal information, harmful data packet information, etc.), and prevents unnecessary or dangerous data from the router in advance. This may be information for blocking packet transmission. According to an embodiment, filtering information included in the data flow table 316 may be determined by the controller 202 based on the filtering policy 317.

실시예에 따르면, 데이터 플로우 테이블(316)은 QoS 정보를 포함할 수 있다. 예를 들어, QoS 정보는 데이터 플로우의 데이터 패킷 전송에 대한 QoS (Quality of Service)가 필요로 한 경우 분당 전송 가능한 데이터 패킷의 양을 설정하고 그에 따라 라우터에서 분당 전송 데이터 패킷의 양을 조절하기 위한 일련의 정보일 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)에 포함되는 QoS 정보는 데이터 패킷 QoS 정책(318)에 기반하여 컨트롤러(202)에서 결정될 수 있다. According to an embodiment, the data flow table 316 may include QoS information. For example, QoS information is used to set the amount of data packets that can be transmitted per minute when QoS (Quality of Service) for data packet transmission of a data flow is required and to adjust the amount of data packets transmitted per minute at the router accordingly. It can be a series of information. According to an embodiment, QoS information included in the data flow table 316 may be determined by the controller 202 based on the data packet QoS policy 318.

실시예에 따르면, 데이터 플로우 테이블(316)은 허용된 노드가 데이터 패킷을 전송하였는지 여부를 확인하기 위한 인증 정보를 더 포함할 수 있다. 예를 들어, 인증 정보는 프로토콜별로 인증 정보를 검사하는 방식(예: TCP의 경우, TCP SYN 패킷 검사, UDP의 경우 데이터 패킷별 인증 정보 검사 또는 일정 간격(또는 주기)으로 인증 정보 검사, 검사 방식 등), 인증 정보 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등)를 정보 중 적어도 어느 하나를 포함할 수 있다. 실시예에 따르면, 인증 정보는 인증 정책 데이터베이스(321)에 기반하여 결정될 수 있다. According to an embodiment, the data flow table 316 may further include authentication information to check whether an allowed node transmitted the data packet. For example, authentication information is inspected by checking authentication information by protocol (e.g., for TCP, TCP SYN packet inspection, for UDP, authentication information inspection by data packet, or authentication information inspection at regular intervals (or cycles), inspection method. etc.), information for decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP, etc.). You can. According to an embodiment, authentication information may be determined based on the authentication policy database 321.

실시예에 따르면, 데이터 플로우 테이블(316)은 라우터(201) 또는 게이트웨이(203)에 동일하게 저장될 수 있다. According to the embodiment, the data flow table 316 may be equally stored in the router 201 or the gateway 203.

필터링 정책 데이터베이스(317)는 접속 정책에 따라 데이터 패킷 필터링 필요 여부 및 데이터 패킷 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 데이터 패킷 정보 등)를 포함할 수 있다. 예를 들어, 라우터(201)는 컨트롤러(202)에서 결정된 필터링 정보에 기반하여 사전에 불필요로 한 또는 위험한 데이터 패킷의 전송을 차단할 수 있다. The filtering policy database 317 may include whether data packet filtering is necessary, a data packet filtering processing method, and filtering information (e.g., personal information, harmful data packet information, etc.) according to the access policy. For example, the router 201 may block transmission of unnecessary or dangerous data packets in advance based on filtering information determined by the controller 202.

데이터 패킷 QoS 정책 데이터베이스(318)는 접속 정책에 따라 데이터 패킷 전송에 대한 QoS (Quality of Service)가 필요로 한 경우 분당 전송 가능한 데이터 패킷의 양을 설정하고 그에 따라 라우터(201)에서 분당 전송 데이터 패킷의 양을 조절하기 위한 일련의 정보를 포함할 수 있다. If QoS (Quality of Service) for data packet transmission is required according to the connection policy, the data packet QoS policy database 318 sets the amount of data packets that can be transmitted per minute, and the router 201 transmits data packets per minute accordingly. It may contain a series of information for controlling the amount of.

채널 테이블(319)은 라우터(201)와 게이트웨이(203) 간 생성된 채널의 식별 정보 및 채널의 IP 등을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 채널 테이블(319)에 기반하여 라우터(201)와 게이트웨이(203) 간 채널이 생성되었는지 여부 등을 판단할 수 있다. 또한, 채널 테이블(319)은 라우터(201)와 게이트웨이(203) 사이에 연결된 채널을 관리하기 위한 테이블로써, 유효한 채널이 존재하는 경우 채널을 관리 및 식별하기 위한 채널 ID와 게이트웨이와 컨트롤러 사이의 제어를 위한 제어 플로우 ID 그리고 TEP (터널 엔드 포인트), TSP (터널 스타트 포인트), 채널 알고리즘 및 종류, 암호화 수준 등을 관리하기 위한 부가 정보로 구성될 수 있다. The channel table 319 may include identification information of a channel created between the router 201 and the gateway 203 and the IP of the channel. For example, the controller 202 may determine whether a channel has been created between the router 201 and the gateway 203 based on the channel table 319. In addition, the channel table 319 is a table for managing channels connected between the router 201 and the gateway 203, and includes a channel ID for managing and identifying the channel when a valid channel exists, and control between the gateway and the controller. It can be composed of a control flow ID for and additional information to manage TEP (tunnel end point), TSP (tunnel start point), channel algorithm and type, encryption level, etc.

보안 검사 정책 데이터베이스(320)는 라우터(201)의 유효성 검사를 위한 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영제체가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 등) 및 보안 검사 주기, 보안 검사 실패 시 제어 플로우 해제 여부 등의 정보를 포함할 수 있다. The security check policy database 320 contains security check information for validating the router 201 (e.g., the execution or installation location of the operating system and major applications, signatures, fingerprints, hashes, registry, etc., unique information of the operating system and applications, operating system and a series of information for binary analysis of major applications, such as executable files, libraries and a series of files or processes referenced by the executable, memory information, and a malware detection tool or pattern DB to check whether the application and operating system are safe. Information, the router's hardware and operating system configuration information and version information, information on physically connectable devices, etc.) and security check cycle, and whether or not the control flow is released when the security check fails.

인증 정책 데이터베이스(321)는 접속 정책(311)에 따라서 라우터(201)에 연결된 노드의 네트워크 접속 시 노드의 식별 정보를 기반으로 네트워크 접속을 인증할 것인지 여부 및 인증을 수행할 경우 인증 방식과 관련된 일련의 정보를 포함할 수 있다. The authentication policy database 321 determines whether to authenticate network access based on the identification information of the node when connecting to the network of a node connected to the router 201 according to the access policy 311, and a series of information related to the authentication method when performing authentication. may include information.

도 4는 다양한 실시예들에 따른 라우터의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a router according to various embodiments.

도 4를 참조하면, 라우터(201)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 라우터(201)는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. 실시예에 따르면, 라우터(201)에 연결되는 노드는 라우터(201)와 동일 유사한 구성을 포함할 수 있다. Referring to FIG. 4 , the router 201 may include a processor 410, a memory 420, and a communication circuit 430. According to one embodiment, the router 201 may further include a display 440 to interface with the user. According to the embodiment, a node connected to the router 201 may include the same or similar configuration as the router 201.

프로세서(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 router. In various embodiments, the processor 410 may include one processor core (single core) or may include a plurality of processor cores. For example, the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core. Depending on embodiments, the processor 410 may further include a cache memory located internally or externally. Depending on 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, or 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 a portion of processor 410 is electrically or operatively coupled to other components within the router (e.g., 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 router, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420, the communication circuit 430, or the display 440. Processor 410 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420, communication circuit 430, or display 440.

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

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

메모리(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) 등을 포함할 수 있다. Memory 420 may include one or more of volatile memory or 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). It can be included. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.

메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.

일 실시예에 따르면, 메모리(420)는 도 2의 접속 제어 애플리케이션(211)을 저장할 수 있다. 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(211)은 하나 이상의 보안 모듈을 포함할 수 있다. According to one embodiment, the memory 420 may store the access control application 211 of FIG. 2. The connection control application 211 may perform control flow creation and update functions with the controller 202. To this end, the access control application 211 may include one or more security modules.

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

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

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

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

도 5는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.Figure 5 explains an operation for controlling transmission of data packets according to various embodiments.

도 5를 참조하면, 접속 제어 애플리케이션(211)은 라우터(201)에 연결된 노드(231, 232)로부터 서비스(233, 234)를 제공하는 장치에 대한 네트워크 접속 요청을 감지하고, 라우터(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 라우터(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션(211)은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 접속 제어 애플리케이션(211)을 통해, 라우터(201)는 OSI 계층 중 응용 계층에서 악의적인 노드의 접속을 사전에 차단할 수 있다. Referring to FIG. 5, the access control application 211 detects a network connection request for a device providing services 233 and 234 from nodes 231 and 232 connected to the router 201, and connects the router 201 or The connection control application 211 may determine whether it is connected to the controller 202. If the router 201 or the access control application 211 is not connected to the controller 202, the access control application 211 may block the transmission of data packets in the kernel or network driver that includes the operating system. there is. Through the access control application 211, the router 201 can block access of malicious nodes in advance at the application layer of the OSI layer.

라우터(201)와 연결된 노드(231, 232)는 반드시 컨트롤러(202)에 접속하여 인증을 수행하여야 하며, 인증 수행 이후 서비스(233, 234)를 제공하는 장치 접속 시, 접속 네트워크 정보를 컨트롤러(202)에 질의하여 접속 가능 여부를 확인하고, 접속이 가능한 경우 데이터 패킷을 서비스(233, 234)를 제공하는 장치로 전송할 수 있다. Nodes 231 and 232 connected to the router 201 must connect to the controller 202 to perform authentication, and when connecting devices providing services 233 and 234 after performing authentication, the connection network information is sent to the controller 202. ) to check whether connection is possible, and if connection is possible, data packets can be transmitted to the device providing the service (233, 234).

게이트웨이(203)는 라우터(201)로부터 수신된 데이터 패킷을 컨트롤러(202)를 통해서 확인하고, 인가된 라우터(201)가 전송한 데이터 패킷인 경우 응답 데이터 패킷을 라우터(201)로 전송하는 것을 허용할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 패킷이 수신된 라우터(201)와 채널이 생성되어 있는지 여부를 확인하여, 채널이 생성된 경우에만 데이터 패킷을 목적지로 포워딩할 수 있다. The gateway 203 checks the data packet received from the router 201 through the controller 202, and allows sending a response data packet to the router 201 if it is a data packet transmitted by the authorized router 201. can do. For example, the gateway 203 can check whether a channel is created with the router 201 from which the data packet was received, and forward the data packet to the destination only when the channel is created.

결과적으로, 비인가 노드는 기본적으로 상호간에 통신을 할 수 없는 상태이고, 인가된 노드이어도 컨트롤러(202)에서 결정된 채널이 생성되지 않으면 데이터 패킷을 전송 및 수신할 수 없어 본 문서에 개시된 실시예에 따른 네트워크 접속 제어 시스템은 라우터(201)에 연결된 노드가 컨트롤러(202)에게 상호간 연결을 인증하기 이전에는 상호간에 격리된 상태를 제공할 수 있다. As a result, unauthorized nodes are basically unable to communicate with each other, and even authorized nodes cannot transmit and receive data packets unless a channel determined by the controller 202 is created, according to the embodiment disclosed in this document. The network access control system may provide a state in which nodes connected to the router 201 are isolated from each other before authenticating their connection to the controller 202.

도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 6 shows a signal flow diagram for controller connection according to various embodiments.

라우터(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 라우터(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 라우터(201)의 컨트롤러 접속을 시도할 수 있다. In order for the router 201 to connect to or receive a network, it needs to be authorized by the controller 202, so the access control application 211 of the router 201 requests the controller 202 to create a control flow, thereby enabling the router ( 201), you can try to connect to the controller.

도 6을 참조하면, 라우터(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 라우터(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되면, 라우터(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 6, the router 201 can detect a controller connection event. For example, when the access control application 211 is installed and executed within the router 201, the router 201 may detect that a connection to the controller 202 is requested.

동작 605에서, 라우터(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 제어 애플리케이션(211)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(211)은 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나) 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. In operation 605, the router 201 may request controller connection to the controller 202. For example, the access control application 211 may transmit identification information of the access control application 211 to the controller 202. Additionally, the access control application 211 may use identification information of the router 201 (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address) and/or random information generated by the network system itself. Additional identification information may be transmitted.

동작 610에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(211) 또는 라우터(201))의 접속 가능 여부를 확인(identify)할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 접속 요청한 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 접속 정책 데이터 베이스(311)에 의해 접속 가능한 상태인지 여부, 라우터(201)의 식별 정보(라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 블랙리스트 데이터 베이스(314)에 포함되어 있는지 여부를 검사하여 라우터(201)가 접속 가능한 상태인지 확인할 수 있다. In operation 610, the controller 202 may identify whether the object requesting controller connection (e.g., the access control application 211 or the router 201) can be connected. For example, the controller 202 stores the information requested by the access control application 211 for access (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address) in the access policy database 311. By checking whether the router 201 is in a connectable state and whether the identification information of the router 201 (at least one of the router unique identification information, USIM identification information connected to the router, and MAC address) is included in the blacklist database 314, It can be confirmed whether the router 201 is accessible.

실시예에 따르면, 컨트롤러(202)는 라우터(201)가 무선 통신 사업자 또는 ISP(Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위하여 연결된 통신 서비스에 라우터(201)의 접속 허용 여부 검사를 요청하고 결과를 수신할 수 있다. According to the embodiment, when the router 201 operates while connected to the unique network of a wireless communication service provider or an Internet Service Provider (ISP) service provider, the controller 202 checks whether the router 201 is a valid target that can be accessed. In order to do so, the connected communication service can be requested to check whether the router 201 is allowed to access the router 201 and the result can be received.

접속 가능하다면, 동작 615에서, 컨트롤러(202)는 라우터(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 라우터(201)의 인증서 인증, 라우터(201)의 정보 업데이트, 라우터(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If a connection is available, at operation 615, the controller 202 may create a control flow between the router 201 (or the connection control application 211) and the controller 202. In this case, the controller 202 generates control flow identification information in the form of a random number and controls the identification information of the router 201 (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address). It can be stored in the flow table 315. The information stored in the control flow table 315 may be used to authenticate the certificate of the router 201, update information of the router 201, check a policy for network access of the router 201, and/or check validity.

동작 620에서, 컨트롤러(202)는 식별된 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)와 대응되는 접속 정책 데이터 베이스(311)에 기반하여 접속 가능한 데이터 플로우를 생성할 수 있다. 또한, 컨트롤러(202)는 접속 결과로서 접속 완료 상태 및 라우터(201)가 추가 인증서 인증 요청 및 지속적인 라우터(201) 정보 업데이트시 제어 플로우를 식별하기 위한 제어 플로우 식별 정보를 접속 제어 애플리케이션(211)에게 반환할 수 있다(동작 625). In operation 620, the controller 202 collects accessible data based on the access policy database 311 corresponding to the identified information (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address). You can create flows. In addition, the controller 202 provides the connection completion status as a result of the connection and the control flow identification information for identifying the control flow when the router 201 requests additional certificate authentication and continuously updates the router 201 information to the access control application 211. May return (action 625).

실시예에 따르면, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 라우터(201)의 유효성을 검사하기 위한 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)를 확인하여 보안 검사 정보를 라우터(201)에게 전송할 수 있다. According to an embodiment, the controller 202 collects information for validating the router 201 based on the security check policy 320 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. Security inspection information can be transmitted to the router 201 by checking at least one of malware detection tool or pattern DB information for inspection, hardware and operating system configuration information and version information of the router, and information on physically connectable devices.

동작 625에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 625에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 620의 수행을 통하여 확인된 보안 검사 정보를 접속 제어 애플리케이션(211)에게 추가적으로 전송할 수 있다. In operation 625, the controller 202 may transmit control flow identification information to the router 201 in response to the controller connection request. Depending on the embodiment, if the object requesting controller connection is unconnectable or included in the blacklist, the controller 202 may transmit unconnection information in operation 625 without generating a control flow. In one embodiment, the controller 202 may additionally transmit the confirmed security check information to the access control application 211 by performing operation 620.

동작 630 에서, 접속 제어 애플리케이션(211)은 보안 검사를 수행할 수 있다. 예를 들어, 라우터(201)는 컨트롤러(202)로부터 보안 검사 정보를 수신하면 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행할 수 있다. In operation 630, the access control application 211 may perform a security check. For example, when the router 201 receives security check information from the controller 202, the received security check information (e.g., operation or installation location of the operating system and major applications, signature, fingerprint, hash, registry, etc.) Unique information, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable, memory information, and malware detection to check whether the application and operating system are safe. A security check may be performed based on at least one of tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information).

동작 635에서, 접속 제어 애플리케이션(211)은 보안 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 보안 검사 정보에 기반하여 보안 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 635, the access control application 211 may transmit the security check result to the controller 202. For example, the access control application 211 may transmit the result of performing a security check based on the security check information to the controller 202.

동작 640에서, 컨트롤러(202)는 보안 검사 결과를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 보안 검사 결과 정보에 기반하여 보안 검사 정책에 따라 보안 검사 정책에서 라우터(201)에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사할 수 있다. 실시예에 따르면, 컨트롤러(202)에 포함된 또는 컨트롤러(202)와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 라우터(201)의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. At operation 640, controller 202 may check the security check results. For example, the controller 202 may check whether the operating system and application information included in the router 201 are valid according to the security check policy based on the received security check result information. According to the embodiment, the inspection results of the operating system and application of the router 201 are obtained through a harmful application inspection module (static inspection or AI-based inspection) included in the controller 202 or existing in another system connected to the controller 202. You can judge whether it is normal or not.

실시예에 따르면, 라우터(201)의 운영체제 및 애플리케이션의 검사가 정상적이지 않은 경우, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 보안 검사 결과의 위험 수준을 평가할 수 있고, 위험 수준에 따라 제어 플로우를 해제하여 라우터(201)의 접속을 차단하거나 블랙리스트에 추가하여 라우터(201)의 접속을 격리할 수 있다. 또한, 이 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 결과를 반환할 수 있다. According to the embodiment, if the check of the operating system and application of the router 201 is not normal, the controller 202 may evaluate the risk level of the security check result based on the security check policy 320 and according to the risk level. You can block the connection to the router 201 by disabling the control flow, or isolate the connection to the router 201 by adding it to the blacklist. Additionally, in this case, the controller 202 may return a connection unavailable result to the router 201.

동작 645에서, 컨트롤러(202)는 라우터(201)의 운영체제 및 애플리케이션 검사가 정상적 경우 채널 및 데이터 플로우를 처리할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드의 접속을 사전에 허용하기 위하여 접속 정책 데이터베이스(311)에 기반하여 허용된 MAC 주소, MAC 주소가 접속 가능한 출발지 IP, 도착지 IP, 서비스 포트 정보, 프로토콜 정보 및 데이터 패킷 전송 및 수신량 기록 여부, 데이터 패킷 QoS 여부 및 QoS 수준, 채널 필요 여부, 전송되는 데이터 패킷에서 제거하거나 치환해야 할 유해 정보가 존재하는 경우 이를 필터링하기 위한 정보를 포함하는 데이터 플로우 정보를 생성할 수 있다. In operation 645, the controller 202 may process the channel and data flow if the operating system and application checks of the router 201 are normal. For example, the controller 202 may use the MAC address allowed based on the access policy database 311, the source IP to which the MAC address can be accessed, the destination IP, and the service in order to allow the node connected to the router 201 to access the router 201 in advance. Includes port information, protocol information and data packet transmission and reception volume recording, data packet QoS and QoS level, whether a channel is required, and information for filtering out harmful information that needs to be removed or replaced in transmitted data packets. Data flow information can be created.

또한, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312)에서 라우터(201)가 기본 접속 가능한 게이트웨이(203)를 확인할 수 있다. 예를 들어, 기본 접속 가능한 게이트웨이(203)가 존재하면, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간 연결할 수 있는 채널 종류(예: 터널, 보안 세션) 및 채널 생성을 위한 일련의 정보(인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성할 수 있다. Additionally, the controller 202 may check the gateway 203 to which the router 201 can access the network in the channel policy database 312 in order to allow the router 201 to access the network. For example, if a basic accessible gateway 203 exists, the controller 202 sets the type of channel that can be connected between the router 201 and the gateway 203 (e.g., tunnel, security session) and a series of channels for creating the channel. Channel information including information (authentication information, encryption algorithm, Tunnel End Point IP, etc.) can be created.

실시예에 따르면, 라우터(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 라우터(201)가 속한 네트워크에 존재하는 통신사의 무선 네트워크 또는 ISP의 네트워크에 존재하는 게이트웨이(203) 사이에 사전에 연결된 채널을 통해서 접속하는 경우, 또는 라우터(201)와 게이트웨이(203) 사이에 타 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 별도의 채널 생성 정보를 라우터에 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the router 201 and the gateway 203, but between the gateway 203 existing in the wireless network of a telecommunication company or ISP network that exists in the network to which the router 201 belongs. When connecting through a pre-connected channel or when connecting through another channel technology between the router 201 and the gateway 203, the controller 202 may not transmit separate channel creation information to the router.

동작 650에서, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따르면, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 게이트웨이(203)에게도 전송할 수 있다. 실시예예 따르면, 데이터 플로우가 생성되지 않은 경우에는 컨트롤러(202)는 접속 실패 결과를 라우터(201)에 전송하며 데이터 플로우를 전송하지 않을 수 있다. In operation 650, the controller 202 may transmit the generated channel and data flow information to the router 201. According to the embodiment, the controller 202 may also transmit the generated channel and data flow information to the gateway 203. According to the embodiment, if a data flow is not created, the controller 202 may transmit a connection failure result to the router 201 and not transmit the data flow.

동작 655에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202) 접속이 완료되면, 라우터(201)에 연결된 노드의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 655, the access control application 211 may process a result value according to the received response. For example, when connection to the controller 202 is completed, a network connection request for a destination network of a node connected to the router 201 may be controlled by the controller 202.

다른 실시예에 따라, 컨트롤러(202)는 라우터(201)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 라우터(201) 및/또는 라우터(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 라우터(201)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 615에서 제어 플로우를 생성하지 않고, 동작 625에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 630 내지 동작 650은 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 605를 수행할 수 있다. According to another embodiment, controller 202 may determine that router 201 is unreachable. For example, if the router 201 and/or identification information of the network to which the router 201 belongs is included in the blacklist database, the controller 202 may determine that the router 201 is inaccessible. In this case, the controller 202 may not generate a control flow in operation 615 and may transmit a response indicating that controller connection is not possible in operation 625. Additionally, in this case, operations 630 to 650 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 605 again.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 라우터(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. 이후 데이터 패킷 전송 요청이 감지되는 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 기반하여 전송하고자하는 데이터 패킷을 처리할 수 있다. In addition, the access control application 211 can update the data flow of the router 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that Afterwards, when a data packet transmission request is detected, the access control application 211 may process the data packet to be transmitted based on the received data flow.

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to the embodiment, when the connection control application 211 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 채널 정보가 존재하고 생성해야 할 채널이 존재하는 경우, 채널 정보에 기반하여 게이트웨이(203)에게 채널 생성 요청을 수행하여 채널을 생성할 수 있다. According to the embodiment, when there is channel information received from the controller 202 and a channel to be created, the access control application 211 requests the gateway 203 to create a channel based on the channel information to create a channel. can be created.

도 7은 다양한 실시예들에 따른 인증서 인증을 위한 신호 흐름도를 도시한다. Figure 7 shows a signal flow diagram for certificate authentication according to various embodiments.

라우터(201)는 UI(User Interface)를 통해서 사용자 인증을 수행할 수도 있지만, 서버 형태로 동작하는 라우터(201)의 경우 UI가 없이 사용자 인증이 아닌 사전에 발급받은 인증서를 기반으로 인증을 수행할 수도 있다. 이 경우, 라우터(201)는 UI가 없는 상황에서 인증서를 기반으로 인증을 수행할 수 있어야 한다. The router 201 may perform user authentication through a UI (User Interface), but in the case of the router 201 operating in the form of a server, authentication may be performed based on a previously issued certificate rather than user authentication without a UI. It may be possible. In this case, the router 201 must be able to perform authentication based on a certificate in a situation where there is no UI.

동작 705에서, 라우터(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 이후 네트워크의 상세한 접속 권한을 부여받기 위해 라우터 인증서 인증을 수행할 수 있다. 예를 들어, 라우터(201)의 접속 제어 애플리케이션(211)은 라우터(201)에 설정된 인증서를 통해서 생서된 인증 정보를 컨트롤러(202)에게 전송하며 인증서 인증을 요청할 수 있다. In operation 705, the access control application 211 of the router 201 may perform router certificate authentication to receive detailed network access rights after creating a control flow with the controller 202. For example, the access control application 211 of the router 201 may transmit authentication information generated through a certificate set in the router 201 to the controller 202 and request certificate authentication.

동작 710에서, 컨트롤러(202)는 인증서 인증을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 인증 요청한 정보(예: 인증 식별 정보, 전자서명 정보 등)를 기반으로 접속 가능한 인증서 여부와 인증서에 대응되는 라우터 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 정책에 의해 접속 가능한 상태인지 여부를 확인할 수 있다. 또한, 컨트롤러(202)는 인증서 식별 정보가 블랙리스트(314)에 포함되어 있는지 여부를 검사하여, 인증 요청한 인증서가 차단되어 있는지 여부를 확인할 수 있다. 실시예에 따르면, 접속이 불가능하거나 인증서가 블랙리스트에 포함된 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 정보를 전송할 수 있다(동작 725). At operation 710, controller 202 may verify certificate authentication. For example, the controller 202 determines whether a certificate is available for access based on information requested for authentication by the access control application 211 (e.g., authentication identification information, electronic signature information, etc.) and router information corresponding to the certificate (e.g., router-specific information). It is possible to check whether at least one of identification information, USIM identification information connected to the router, and MAC address) is accessible according to the policy. Additionally, the controller 202 can check whether the certificate identification information is included in the blacklist 314 and check whether the certificate requesting authentication is blocked. According to the embodiment, when connection is impossible or the certificate is included in the blacklist, the controller 202 may transmit connection inaccessibility information to the router 201 (operation 725).

실시예에 따르면, 컨트롤러(202)는 라우터(201)가 무선 통신 사업자 또는 ISP (Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위해서 연결된 통신 서비스에 라우터 접속 허용 여부 검사를 요청하고 그 결과를 수신할 수 있다. According to the embodiment, when the router 201 operates while connected to a wireless communication service provider or an Internet Service Provider (ISP) service provider's own network, the controller 202 checks whether the router 201 is a valid connectionable target. To do this, you can request a connection to the router to be checked for connection to the connected communication service and receive the result.

동작 715에서, 접속 가능한 인증서인 경우, 컨트롤러(202)는 전송한 제어 플로우 식별 정보에 대응되는 제어 플로우를 검색하고, 검색된 제어 플로우에 인증서 식별 정보를 추가할 수 있다. 실시예에 따르면, 컨트롤러(202)는 인증서 인증의 결과로 인증서 인증 완료 상태 및 인증된 인증서의 접속 정책 정보를 라우터(201)로 반환할 수 있다(동작 725). In operation 715, if the certificate is accessible, the controller 202 may search for a control flow corresponding to the transmitted control flow identification information and add the certificate identification information to the searched control flow. According to the embodiment, the controller 202 may return the certificate authentication completion status and the access policy information of the authenticated certificate to the router 201 as a result of certificate authentication (operation 725).

동작 720에서, 컨트롤러(202)는 식별된 정보(인증서 식별 정보, 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등)와 대응되는 접속 정책 데이터 베이스(311)에 기반하여 접속 가능한 데이터 플로우 정보를 생성할 수 있다. In operation 720, the controller 202 selects an accessible data flow based on the access policy database 311 corresponding to the identified information (certificate identification information, router unique identification information, USIM identification information connected to the router, MAC address, etc.). Information can be generated.

실시예에 따르면, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 라우터(201)의 유효성을 검사하기 위한 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)를 확인하여 보안 검사 정보를 라우터(201)에게 전송할 수 있다. According to an embodiment, the controller 202 collects information for validating the router 201 based on the security check policy 320 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. Security inspection information can be transmitted to the router 201 by checking at least one of malware detection tool or pattern DB information for inspection, hardware and operating system configuration information and version information of the router, and information on physically connectable devices.

동작 725에서, 컨트롤러(202)는 인증서 인증 요청에 대한 응답으로써 인증서가 인증됨을 나타내는 정보를 라우터(201)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 720의 수행을 통하여 생성된 보안 검사 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 725, the controller 202 may transmit information indicating that the certificate is authenticated to the router 201 in response to the certificate authentication request. In one embodiment, the controller 202 may transmit the security check information generated by performing operation 720 to the access control application 211.

동작 730에서, 접속 제어 애플리케이션(211)은 보안 검사를 수행할 수 있다. 예를 들어, 라우터(201)는 컨트롤러(202)로부터 보안 검사 정보를 수신하면 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행할 수 있다. In operation 730, the access control application 211 may perform a security check. For example, when the router 201 receives security check information from the controller 202, the received security check information (e.g., operation or installation location of the operating system and major applications, signature, fingerprint, hash, registry, etc.) Unique information, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable, memory information, and malware detection to check whether the application and operating system are safe. A security check may be performed based on at least one of tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information).

동작 735에서, 접속 제어 애플리케이션(211)은 보안 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 보안 검사 정보에 기반하여 보안 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 735, the access control application 211 may transmit the security check result to the controller 202. For example, the access control application 211 may transmit the result of performing a security check based on the security check information to the controller 202.

동작 740에서, 컨트롤러(202)는 보안 검사 결과를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 보안 검사 결과 정보에 기반하여 보안 검사 정책에 따라 보안 검사 정책에서 라우터(201)에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사할 수 있다. 실시예에 따르면, 컨트롤러(202)에 포함된 또는 컨트롤러(202)와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 라우터(201)의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. At operation 740, controller 202 may check the security check results. For example, the controller 202 may check whether the operating system and application information included in the router 201 are valid according to the security check policy based on the received security check result information. According to the embodiment, the inspection results of the operating system and application of the router 201 are obtained through a harmful application inspection module (static inspection or AI-based inspection) included in the controller 202 or existing in another system connected to the controller 202. You can judge whether it is normal or not.

실시예에 따르면, 라우터(201)의 운영체제 및 애플리케이션의 검사가 정상적이지 않은 경우, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 보안 검사 결과의 위험 수준을 평가할 수 있고, 위험 수준에 따라 제어 플로우를 해제하여 라우터(201)의 접속을 차단하거나 블랙리스트에 추가하여 라우터(201)의 접속을 격리할 수 있다. 또한, 이 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 결과를 반환할 수 있다. According to the embodiment, if the check of the operating system and application of the router 201 is not normal, the controller 202 may evaluate the risk level of the security check result based on the security check policy 320 and according to the risk level. You can block the connection to the router 201 by disabling the control flow, or isolate the connection to the router 201 by adding it to the blacklist. Additionally, in this case, the controller 202 may return a connection unavailable result to the router 201.

동작 745에서, 컨트롤러(202)는 라우터(201)의 운영체제 및 애플리케이션 검사가 정상적 경우 채널 및 데이터 플로우를 처리할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드의 접속을 사전에 허용하기 위하여 접속 정책 데이터베이스(311)에 기반하여 허용된 MAC 주소, MAC 주소가 접속 가능한 출발지 IP, 도착지 IP, 서비스 포트 정보, 프로토콜 정보 및 데이터 패킷 전송 및 수신량 기록 여부, 데이터 패킷 QoS 여부 및 QoS 수준, 채널 필요 여부, 전송되는 데이터 패킷에서 제거하거나 치환해야 할 유해 정보가 존재하는 경우 이를 필터링하기 위한 정보를 포함하는 데이터 플로우 정보를 생성할 수 있다. In operation 745, the controller 202 may process the channel and data flow if the operating system and application checks of the router 201 are normal. For example, the controller 202 may use the MAC address allowed based on the access policy database 311, the source IP to which the MAC address can be accessed, the destination IP, and the service in order to allow the node connected to the router 201 to access the router 201 in advance. Includes port information, protocol information and data packet transmission and reception volume recording, data packet QoS and QoS level, whether a channel is required, and information for filtering out harmful information that needs to be removed or replaced in transmitted data packets. Data flow information can be created.

또한, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312)에서 라우터(201)가 기본 접속 가능한 게이트웨이(203)를 확인할 수 있다. 예를 들어, 기본 접속 가능한 게이트웨이(203)가 존재하면, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간 연결할 수 있는 채널 종류(예: 터널, 보안 세션) 및 채널 생성을 위한 일련의 정보(인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성할 수 있다. Additionally, the controller 202 may check the gateway 203 to which the router 201 can access the network in the channel policy database 312 in order to allow the router 201 to access the network. For example, if a basic accessible gateway 203 exists, the controller 202 sets the type of channel that can be connected between the router 201 and the gateway 203 (e.g., tunnel, security session) and a series of channels for creating the channel. Channel information including information (authentication information, encryption algorithm, Tunnel End Point IP, etc.) can be created.

실시예에 따르면, 라우터(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 라우터(201)가 속한 네트워크에 존재하는 통신사의 무선 네트워크 또는 ISP의 네트워크에 존재하는 게이트웨이(203) 사이에 사전에 연결된 채널을 통해서 접속하는 경우, 또는 라우터(201)와 게이트웨이(203) 사이에 타 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 별도의 채널 생성 정보를 라우터에 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the router 201 and the gateway 203, but between the gateway 203 existing in the wireless network of a telecommunication company or ISP network that exists in the network to which the router 201 belongs. When connecting through a pre-connected channel or when connecting through another channel technology between the router 201 and the gateway 203, the controller 202 may not transmit separate channel creation information to the router.

동작 750에서, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따르면, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 게이트웨이(203)에게도 전송할 수 있다. 실시예예 따르면, 데이터 플로우가 생성되지 않은 경우에는 컨트롤러(202)는 접속 실패 결과를 라우터(201)에 전송하며 데이터 플로우를 전송하지 않을 수 있다. In operation 750, the controller 202 may transmit the generated channel and data flow information to the router 201. According to the embodiment, the controller 202 may also transmit the generated channel and data flow information to the gateway 203. According to the embodiment, if a data flow is not created, the controller 202 may transmit a connection failure result to the router 201 and not transmit the data flow.

동작 755에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 인증서 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 인증서 인증이 완료되면, 라우터(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 755, the access control application 211 may process a result value according to the received response. For example, the access control application 211 may store the received control flow identification information and display a user interface screen to the user indicating that certificate authentication is complete. Once certificate authentication is completed, the network connection request of the router 201 to the destination network can be controlled by the controller 202.

다른 실시예에 따르면, 컨트롤러(202)는 라우터(201)의 인증서 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 라우터(201) 및/또는 라우터(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 라우터(201)가 접속 불가능 및 인증서 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 715에서 인증서 식별 정보를 반영하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다. According to another embodiment, the controller 202 may determine that certificate authentication of the router 201 is not possible. For example, if the router 201 and/or the identification information of the network to which the router 201 belongs is included in the blacklist database, the controller 202 may determine that the router 201 is inaccessible and certificate authentication is not possible. . In this case, the controller 202 may not reflect the certificate identification information in operation 715 and may transmit a response indicating that controller connection is impossible in operation 725. Additionally, in this case, operations 730 to 750 may not be performed.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 라우터(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 211 can update the data flow of the router 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to the embodiment, when the connection control application 211 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 8은 다양한 실시예들에 따른 채널 상태 정보 변경을 위한 신호 흐름도를 도시한다. Figure 8 shows a signal flow diagram for changing channel state information according to various embodiments.

라우터(201)의 접속 제어 애플리케이션(211)은 채널 생성이 완료되거나, 채널 생성에 실패한 경우, 생성된 채널의 접속이 해제되는 경우, 등 채널의 상태가 변경되면 컨트롤러(202)에게 채널 상태 정보 변경을 요청할 수 있다. The access control application 211 of the router 201 changes the channel status information to the controller 202 when the channel status changes, such as when channel creation is completed, channel creation fails, or the connection to the created channel is released. You can request.

동작 805에서, 접속 제어 애플리케이션(211)은 채널 생성이 완료되거나, 채널 생성에 실패한 경우, 생성된 채널의 접속이 해제되는 경우 채널 상태 정보 변경 이벤트를 감지할 수 있다. In operation 805, the access control application 211 may detect a channel state information change event when channel creation is completed, channel creation fails, or the connection to the created channel is released.

동작 810에서, 접속 제어 애플리케이션(211)은 채널 상태 정보를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성이 완료된 경우 채널 식별 정보 및 채널 생성시 부여받은 고유의 IP가 존재하는 경우 IP 정보를 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성에 실패하였거나 채널이 해제된 경우, 채널 식별 정보를 컨트롤러(202)에게 전송할 수 있다. In operation 810, the access control application 211 may transmit channel state information to the controller 202. For example, the access control application 211 may transmit channel identification information when channel creation is completed and IP information if a unique IP assigned at the time of channel creation exists. For another example, the access control application 211 may transmit channel identification information to the controller 202 when channel creation fails or the channel is released.

동작 815에서, 컨트롤러(202)는 채널 상태 및 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)로부터 수신된 채널 상태 정보 및 라우터(201)에 할당된 IP 정보에 기반하여 채널 상태를 갱신할 수 있다. At operation 815, controller 202 may update channel status and data flow. For example, the controller 202 may update the channel state based on channel state information received from the router 201 and IP information assigned to the router 201.

실시예에 따르면, 채널 생성이 완료된 경우, 컨트롤러(202)는 라우터(201)에 연결된 노드의 접속을 사전에 허용하기 위하여 접속 정책 데이터베이스(311)에 기반하여 허용된 MAC 주소, MAC 주소가 접속 가능한 출발지 IP, 도착지 IP, 서비스 포트 정보, 프로토콜 정보 및 데이터 패킷 전송 및 수신량 기록 여부, 데이터 패킷 QoS 여부 및 QoS 수준, 채널 필요 여부, 전송되는 데이터 패킷에서 제거하거나 치환해야 할 유해 정보가 존재하는 경우 이를 필터링하기 위한 정보를 포함하는 데이터 플로우 정보를 생성할 수 있다. According to the embodiment, when channel creation is completed, the controller 202 determines the MAC addresses allowed based on the access policy database 311 in order to allow access to nodes connected to the router 201 in advance, and the MAC addresses that can be accessed. Source IP, destination IP, service port information, protocol information, and whether data packet transmission and reception amount are recorded, whether data packet QoS and QoS level, whether a channel is required, and if there is harmful information that needs to be removed or replaced in the transmitted data packet. Data flow information including information for filtering this can be created.

실시예에 따르면, 채널이 해제되거나 채널 생성에 실패한 경우, 컨트롤러(202)는 기존에 생성된 채널 정보 및 데이터 플로우를 제거할 수 있다. According to an embodiment, when a channel is released or channel creation fails, the controller 202 may remove previously created channel information and data flows.

동작 820 및 동작 825에서 컨트롤러(202)는 갱신된 데이터 플로우를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다. 또한, 컨트롤러(202)는 갱신된 채널 정보도 전송할 수 있다. In operations 820 and 825, the controller 202 may transmit the updated data flow to the router 201 and the gateway 203. Additionally, the controller 202 may also transmit updated channel information.

도 9는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. Figure 9 shows a signal flow diagram for network access according to various embodiments.

라우터(201)가 컨트롤러(202)로부터 인가된 이후에, 라우터(201)는 라우터(201)의 접속 제어 애플리케이션(211)을 통해 라우터(201)에 연결된 노드들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. After the router 201 is authorized by the controller 202, the router 201 transmits trusted data by controlling the network access of nodes connected to the router 201 through the access control application 211 of the router 201. can be guaranteed.

도 9를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 라우터(201)에 연결된 노드의 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 라우터(201)에 내장된 네트워크 인터페이스로부터 수신된 네트워크 접속 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있다. Referring to FIG. 9 , in operation 905, the access control application 211 may detect a network connection event of a node connected to the router 201. For example, the access control application 211 may receive a network connection event received from a network interface built into the router 201 from the network kernel of the operating system.

동작 910에서, 접속 제어 애플리케이션(211)은 수신된 노드와 서비스 간의 네트워크 접속을 위한 데이터 패킷(예: TCP Session 생성, 첫번째 UDP 패킷 또는 연속된 UDP 패킷의 흐름 등)에 포함된 노드의 식별 정보, MAC 주소와 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보에 기반하여 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 중 적어도 어느 하나), 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 라우터(201)의 접속 제어 애플리케이션(211)은 동작 910을 수행하지 않고 동작 915에서 네트워크 접속 요청을 수행할 수도 있다. In operation 910, the connection control application 211 receives identification information of the node included in the data packet for network connection between the node and the service (e.g., TCP Session creation, first UDP packet or flow of consecutive UDP packets, etc.), You can check whether a data flow exists based on the destination IP, port information, and protocol information included in the MAC address and IP header. According to an embodiment, when a data flow exists but is invalid (e.g., data packet transmission is not possible, data packets are not received from a network interface authorized on the data flow, or a channel for data packet transmission does not exist) at least one of), the access control application 211 may drop a data packet. According to another embodiment, when a data flow exists, the access control application 211 may transmit data packets based on the data flow. According to an embodiment, the access control application 211 of the router 201 may perform a network connection request in operation 915 without performing operation 910.

실시예에 따르면, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 인증 정보에 기반하여 인증이 필요한지 여부를 확인할 수 있고, 인증이 필요하지만 데이터 패킷에 노드 인증 정보가 포함되어 있지 않거나, 노드 인증 정보가 유효하지 않은 경우 데이터 패킷을 드랍할 수 있다. According to the embodiment, the access control application 211 may check whether authentication is required based on the authentication information included in the data flow, and if authentication is required but the data packet does not include node authentication information, or if node authentication information is not included If is not valid, data packets may be dropped.

데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 915에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, MAC 주소 정보, 목적지 네트워크의 식별 정보, 포트 정보, 노드의 식별 정보를 포함할 수 있다. 실시예에 따르면 네트워크 접속 요청은 프로토콜 정보(예: TCP. UDP 등) 및 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나를 더 포함할 수 있다. 다른 실시예에 따르면, 노드 인증 정보를 컨트롤러(202)에서 인증해야 하는 경우, 네트워크 접속 요청은 데이터 패킷에 포함된 노드 인증 정보를 포함할 수 있다. When the data flow needs to be updated, such as when the data flow does not exist or when the authentication time has expired and needs to be updated, in operation 915, the access control application 211 may request network access from the controller 202. For example, a network connection request may include control flow identification information, MAC address information, destination network identification information, port information, and node identification information. According to the embodiment, the network connection request may further include at least one of protocol information (eg, TCP, UDP, etc.), an IP assigned to the node, and received network interface identification information. According to another embodiment, when node authentication information must be authenticated by the controller 202, the network connection request may include node authentication information included in the data packet.

동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 라우터, 채널 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 노드 식별 정보, MAC 주소, 도착지 IP 및 서비스 포트 정보, 프로토콜 정보, 수신된 네트워크 인터페이스 식별 정보 등)에 기반하여 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 라우터(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 940).In operation 920, the controller 202 collects the connection request identification information (e.g., node identification information, MAC address, destination IP) from the connection policy corresponding to the identified information (e.g., router, channel information) based on the control flow identification information. and service port information, protocol information, received network interface identification information, etc.). Depending on the embodiment, when network connection is not possible, the controller 202 may transmit a connection failure result to the connection control application 211 of the router 201 (operation 940).

접속이 가능한 경우, 동작 925에서, 컨트롤러(202)는 인증 정책(321)을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 인증 정책(321)에 기반하여 네트워크에 접속하고자 하는 노드가 인증을 수행해야 하는 경우, 인증 정책에 포함된 노드의 인증 방식(예 : TCP의 경우, TCP SYN 패킷 인증, UDP의 경우 데이터 패킷별 인증 또는 일정 간격(또는 주기)으로 인증, 인증 방식 및 시점 등), 인증 정보 복호화를 위한 정보, 인증 정보 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보 등)에 따라 수신된 노드 인증 정보에 대하여 인증을 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 노드 인증 정보가 존재하면 인증 정책(321)에 기반하여 생성된 인증 정보에 기초하여 노드 인증 정보를 복호화하고 인증을 수행할 수 있다. 실시예에 따르면, 인증이 실패한 경우 컨트롤러(202)는 네트워크 접속 불가 결과를 라우터(201)에게 반환할 수 있다(동작 940). If the connection is available, at operation 925, the controller 202 may check the authentication policy 321. For example, when a node that wants to access the network must perform authentication based on the authentication policy 321, the controller 202 uses the authentication method of the node included in the authentication policy (e.g., in the case of TCP, TCP SYN packet Authentication, in the case of UDP, authentication by data packet or authentication at regular intervals (or cycles), authentication method and timing, etc.), information for decoding authentication information, algorithm information for verifying authentication information, and a series of information included in the algorithm (e.g. : When generating HMAC OTP, authentication can be performed on the received node authentication information according to information such as Secret Key, etc.). For example, if the received node authentication information exists, the controller 202 may decrypt the node authentication information and perform authentication based on the authentication information generated based on the authentication policy 321. According to the embodiment, if authentication fails, the controller 202 may return a network connection unavailable result to the router 201 (operation 940).

실시예에 따르면, 데이터 패킷의 인증이 필요하지만 수신된 노드 인증 정보가 존재하지 않는 경우 네트워크 접속 불가 결과를 라우터(201)에게 반환할 수 있다(동작 940). 실시예에 따르면, 인증을 라우터(201)에서 수행해야 하는 경우, 컨트롤러(202)는 노드를 인증하기 위한 인증 정보를 인증 정책(321)에 기반하여 생성하여 데이터 플로우에 포함할 수 있다. According to the embodiment, when authentication of a data packet is required but the received node authentication information does not exist, a network connection unavailable result may be returned to the router 201 (operation 940). According to the embodiment, when authentication must be performed in the router 201, the controller 202 may generate authentication information for authenticating the node based on the authentication policy 321 and include it in the data flow.

접속이 가능하며 인증이 완료된(또는 인증이 필요없는) 경우, 동작 930에서, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312)를 확인할 수 있다. 예를 들어, 컨트롤러(202)는 채널 정책 데이터베이스(312)에 기반하여 목적지 서비스와의 경로 상에 게이트웨이(203)의 존재 여부 및 게이트웨이(203)와 라우터(201) 간에 채널이 필요한지 여부를 확인할 수 있고, 채널이 필요한 경우 채널이 생성되었는지 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 채널 테이블(319)에 기반하여 채널이 생성되어 있는지 여부를 확인할 수 있다. If access is possible and authentication has been completed (or authentication is not required), in operation 930, the controller 202 may check the channel policy database 312 to allow the router 201 to access the network. For example, the controller 202 can determine whether a gateway 203 exists on the path to the destination service and whether a channel is needed between the gateway 203 and the router 201 based on the channel policy database 312. And, if a channel is needed, you can check whether the channel has been created. According to the embodiment, the controller 202 may check whether a channel has been created based on the channel table 319.

실시예에 따르면, 채널이 생성되어 있거나, 채널 생성이 필요하지 않은 경우 컨트롤러(202)는 라우터(201)에 연결된 노드의 접속을 허용할 수 있도록 접속 요청 정보(노드 식별 정보, MAC 주소, 출발지 IP, 도착지 IP 및 포트, 프로토콜 정보, 네트워크 인터페이스 식별 정보)를 기반으로 데이터 플로우 정보를 생성하고, 생성된 데이터 플로우를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다. 다만, 데이터 플로우가 기 생성된 경우에 컨트롤러(202)는 데이터 플로우를 다시 생성하지 않을 수 있다. 실시예에 따르면, 컨트롤러(202)는 데이터 플로우를 생성하는 경우 인증 정책(321)에 기반하여 결정된 인증 정보를 더 포함시킬 수 있다. According to the embodiment, when a channel has been created or when channel creation is not necessary, the controller 202 provides connection request information (node identification information, MAC address, source IP) to allow a node connected to the router 201 to access. , destination IP and port, protocol information, and network interface identification information), and transmit the generated data flow to the router 201 and the gateway 203. However, if the data flow has already been created, the controller 202 may not create the data flow again. According to an embodiment, the controller 202 may further include authentication information determined based on the authentication policy 321 when creating a data flow.

실시예에 따르면, 채널이 생성되어 있지 않아 채널 생성이 필요한 경우, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간에 연결할 수 있는 채널 종류(터널 및 보안 세션 등) 및 채널 생성을 위한 일련의 정보(예: 인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성하고, 생성된 채널 정보를 라우터(201) 및 게이트웨이(203)에 전송할 수 있다(동작 935, 940). According to the embodiment, when a channel has not been created and channel creation is necessary, the controller 202 determines the type of channel (tunnel, security session, etc.) that can be connected between the router 201 and the gateway 203 and a series of channels for creating the channel. Channel information including information (e.g., authentication information, encryption algorithm, Tunnel End Point IP, etc.) may be created, and the generated channel information may be transmitted to the router 201 and the gateway 203 (operations 935 and 940). .

동작 945에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 라우터(201)에 연결된 노드가 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신되고 접속 제어 애플리케이션(211) 자체적으로 또는 컨트롤러(202)에서 노드 인증 정보에 대한 인증이 완료된 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 이 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우로 기존 데이터 플로우를 갱신할 수 있다. 실시예에 따르면, 네트워크 접속이 가능하지만 인증이 완료되지 않은 경우 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 포함된 인증 정보에 기반하여 노드 인증 정보를 복호화하여 인증을 수행할 수 있다. 이 경우, 인증이 실패하면 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있고, 인증이 성공하면 접속 제어 애플리케이션(211)은 데이터 패킷에 포함된 노드의 식별 정보를 포함하는 헤더를 제거하고 데이터 패킷을 전송할 수 있다. In operation 945, the access control application 211 may process a result value for the response received from the controller 202. For example, when the access control application 211 receives a network connection unavailable result from the controller 202, the node connected to the router 201 may drop the data packet that the node connected to the router 201 wants to transmit. For another example, the access control application 211 receives the data flow from the controller 202, and when authentication for the node authentication information is completed by the access control application 211 itself or the controller 202, the received data flow Data packets can be transmitted based on . In this case, the access control application 211 may update the existing data flow with the received data flow. According to an embodiment, when network access is possible but authentication is not completed, the access control application 211 may perform authentication by decrypting node authentication information based on authentication information included in the received data flow. In this case, if authentication fails, the access control application 211 may drop the data packet, and if authentication succeeds, the access control application 211 may remove the header containing the identification information of the node included in the data packet and Packets can be transmitted.

실시예에 따르면, 컨트롤러(202)로부터 채널 정보가 수신되는 경우 접속 제어 애플리케이션(211)은 수신된 채널 정보에 기반하여 게이트웨이(203)에게 채널 생성 요청을 수행할 수 있다. 이 경우, 접속 제어 애플리케이션(211)은 게이트웨이(203)와 채널 생성이 완료되면 컨트롤러(202)에게 채널 생성이 완료됨을 나타내는 정보를 전송할 수 있다(예: 도 8에 도시된 동작). According to an embodiment, when channel information is received from the controller 202, the access control application 211 may request channel creation to the gateway 203 based on the received channel information. In this case, when channel creation with the gateway 203 is completed, the access control application 211 may transmit information indicating that channel creation is complete to the controller 202 (e.g., operation shown in FIG. 8).

도 10은 다양한 실시예들에 따른 데이터 패킷의 예시를 도시한다. Figure 10 shows an example data packet according to various embodiments.

노드 헤더가 포함된 UDP 데이터 패킷(1005)은 IP 헤더와 노드 헤더(Device Header), 페이로드(Payload)를 포함할 수 있다. 예를 들어, 노드 헤더(1015)는 노드 식별 정보와 노드 인증 정보를 포함할 수 있다. A UDP data packet 1005 including a node header may include an IP header, a node header (Device Header), and a payload. For example, the node header 1015 may include node identification information and node authentication information.

노드 헤더가 포함된 TCP 데이터 패킷(1010)은 IP 헤더, TCP 헤더, 노드 헤더 및 페이로드를 포함할 수 있다. 예를 들어, 노드 헤더(1015)는 노드 식별 정보와 노드 인증 정보를 포함할 수 있다.The TCP data packet 1010 including the node header may include an IP header, a TCP header, a node header, and a payload. For example, the node header 1015 may include node identification information and node authentication information.

실시예에 따르면, 노드 인증 정보는 노드에서 전송되는 모든 네트워크 접속을 공통적으로 인증하거나, 네트워크 접속 단위(도착지 IP 및 포트)로 인증하기 위한 정보일 수 있다. According to the embodiment, the node authentication information may be information for commonly authenticating all network connections transmitted from the node, or for authenticating by network connection unit (destination IP and port).

노드는 사전에 컨트롤러(202)로부터 부여받은 노드 식별 정보 및 인증 정보를 삽입하는 방식(예 : TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입, 삽입 방식 및 시점 등), 인증 정보 암호화를 위한 정보, 인증 정보 생성을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보) 중 적어도 어느 하나)에 기반하여 노드 헤더를 생성하여 데이터 패킷에 포함시켜 전송할 수 있다. 데이터 패킷에 포함된 노드 헤더는 라우터(201) 또는 컨트롤러(202)로부터 인증이 수행되어 정상적으로 전송된 데이터 패킷인지 여부가 검사될 수 있다. The node inserts the node identification information and authentication information given in advance by the controller 202 (e.g., for TCP, inserts TCP SYN packets, for UDP, inserts authentication information for each data packet, or at regular intervals (or cycles). Authentication information insertion, insertion method and timing, etc.), information for encryption of authentication information, algorithm information for generating authentication information, and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP). ), a node header can be created and transmitted by including it in a data packet. The node header included in the data packet may be authenticated by the router 201 or the controller 202 to check whether it is a normally transmitted data packet.

도 11은 다양한 실시예들에 따른 라우터의 데이터 패킷의 전송을 제어하기 위한 동작 흐름도를 도시한다. 실시예에 따르면, 도 11에 도시된 동작들은 도 2의 라우터(201)의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. FIG. 11 illustrates an operation flowchart for controlling transmission of data packets by a router according to various embodiments. According to the embodiment, the operations shown in FIG. 11 may be performed through the access control application 211 of the router 201 of FIG. 2.

라우터(201)는 라우터(201)에 연결된 노드의 네트워크 접속이 컨트롤러(202)로부터 인가된 경우, 노드가 전송하고자 하는 데이터 패킷을 데이터 플로우에 기반하여 제어함으로서 안전한 네트워크 접속 환경을 노드에게 제공할 수 있다. When the network connection of a node connected to the router 201 is authorized by the controller 202, the router 201 controls the data packets that the node wants to transmit based on the data flow, thereby providing the node with a safe network connection environment. there is.

동작 1105에서, 라우터(201)의 접속 제어 애플리케이션(211)은 라우터(201)에 내장된 네트워크 인터페이스로부터 수신된 데이터 패킷 전송 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있다. In operation 1105, the access control application 211 of the router 201 may receive a data packet transmission event received from a network interface built into the router 201 from the network kernel of the operating system.

동작 1110에서, 접속 제어 애플리케이션(211)은 수신된 데이터 패킷의 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP. UDP)에 기반하여 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. In operation 1110, the access control application 211 may check whether a corresponding data flow exists based on the destination IP, port information, and protocol information (e.g., TCP. UDP) included in the IP header of the received data packet.

실시예에 따르면, 접속 제어 애플리케이션(211)은 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 중 적어도 어느 하나) 또는 데이터 플로우가 존재하지 않는 경우 데이터 패킷을 드랍할 수 있다. According to an embodiment, the access control application 211 transmits a data packet when a data flow exists but is invalid (e.g., data packet transmission is not possible, and the data packet is not received from a network interface authorized on the data flow). A data packet may be dropped if at least one of the following cases does not exist a channel for it) or if a data flow does not exist.

데이터 플로우가 존재하면, 동작 1115에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 데이터 패킷 필터링 정보에 기반하여 데이터 패킷을 검사할 수 있다. 예를 들어, 데이터 패킷이 데이터 패킷 필터링 정보에 기반하여 검사가 필요한 경우에 접속 제어 애플리케이션(211)은 데이터 패킷을 검사할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 단일 데이터 패킷 또는 복수의 데이터 패킷을 검사 대상으로 설정할 수 있다. If a data flow exists, in operation 1115, the access control application 211 may inspect the data packet based on data packet filtering information included in the data flow. For example, when a data packet needs to be inspected based on data packet filtering information, the access control application 211 can inspect the data packet. According to the embodiment, the access control application 211 may set a single data packet or multiple data packets as an inspection target.

동작 1120에서, 접속 제어 애플리케이션(211)은 데이터 패킷이 필터링 대상에 포함되는 경우 데이터 패킷을 필터링할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷이 치환이 필요한 경우 데이터 플로우의 필터링 정보에 포함된 치환 정보 또는 규칙에 기반하여 데이터 패킷을 치환할 수 있다. 다른 예를 들어, 데이터 패킷 치환이 필요하지 않거나 필터링이 필요하지 않은 경우 접속 제어 애플리케이션(211)은 동작 1120 수행 없이 동작 1125를 수행할 수 있다. 또 다른 예를 들어, 데이터 패킷의 차단이 필요한 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. In operation 1120, the access control application 211 may filter the data packet if the data packet is included in the filtering target. For example, when a data packet requires replacement, the access control application 211 may replace the data packet based on replacement information or rules included in the filtering information of the data flow. For another example, when data packet replacement is not required or filtering is not required, the access control application 211 may perform operation 1125 without performing operation 1120. For another example, when blocking of data packets is necessary, the access control application 211 may drop the data packets.

동작 1125에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 데이터 패킷 QoS 정보에 기반하여 데이터 패킷의 QoS가 필요한지 여부를 확인할 수 있다. In operation 1125, the access control application 211 may check whether QoS of the data packet is required based on data packet QoS information included in the data flow.

데이터 패킷 QoS가 필요하면, 접속 제어 애플리케이션(211)은 데이터 패킷 QoS 정보에 포함된 분단 전송 가능한 데이터 패킷량을 확인하고, 전송된 분당 데이터 패킷 QoS 정보에 기반하여 QoS가 필요한지 여부를 확인할 수 있다. If data packet QoS is required, the access control application 211 can check the amount of data packets that can be transmitted separately included in the data packet QoS information and check whether QoS is necessary based on the transmitted data packet QoS information per minute.

전송된 분당 데이터 패킷량이 분당 전송 가능한 데이터 패킷 량을 초과한 경우, 동작 1130에서, 접속 제어 애플리케이션(211)은 데이터 패킷 QoS 방식에 따라 데이터 패킷의 전송을 일정 시간 지연시킨 후 전송 처리하거나, 데이터 패킷의 재전송을 유도할 수 있도록 데이터 패킷을 드랍(동작 1145)할 수 있다. If the amount of data packets transmitted per minute exceeds the amount of data packets that can be transmitted per minute, in operation 1130, the access control application 211 delays transmission of the data packet for a certain time according to the data packet QoS method and then transmits the data packet. A data packet may be dropped (operation 1145) to induce retransmission.

실시예에 따르면, 데이터 패킷 QoS가 필요하지 않은 경우에 접속 제어 애플리케이션(211)은 데이터 패킷을 전송 처리할 수 있다. 또한, 접속 제어 애플리케이션(211)은 데이터 패킷 필터링 정보 및 데이터 패킷 QoS 정보에 기반하여 데이터 패킷의 검사가 완료되면, 데이터 패킷을 전송 처리할 수 있다(동작 1135). According to the embodiment, when data packet QoS is not required, the access control application 211 may transmit and process data packets. Additionally, the access control application 211 may transmit and process the data packet when the inspection of the data packet is completed based on the data packet filtering information and data packet QoS information (operation 1135).

동작 1140에서, 접속 제어 애플리케이션(211)은 데이터 패킷 전송 및 데이터 패킷 드랍을 처리한 이후에 전송 또는 드랍된 데이터 패킷 량을 데이터 플로우에 포함된 데이터 패킷 QoS 정보에 갱신할 수 있다. In operation 1140, after processing data packet transmission and data packet drop, the access control application 211 may update the amount of transmitted or dropped data packets in the data packet QoS information included in the data flow.

도 12는 다양한 실시예들에 따른 라우터의 데이터 패킷의 수신을 제어하기 위한 동작 흐름도를 도시한다. 도 12에 도시된 동작들은 도 2의 라우터(201)의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. FIG. 12 illustrates an operation flowchart for controlling reception of data packets by a router according to various embodiments. The operations shown in FIG. 12 may be performed through the access control application 211 of the router 201 of FIG. 2.

라우터(201)는 데이터 패킷을 수신하는 경우에도 컨트롤러(202)로부터 인가된 데이터 플로우에 기반하여 수신함으로서 안전한 네트워크 제어를 제공할 수 있다. Even when receiving data packets, the router 201 can provide safe network control by receiving data packets based on the data flow authorized by the controller 202.

동작 1205에서, 접속 제어 애플리케이션(211)은 라우터(201)에 내장된 네트워크 인터페이스로부터 수신된 데이터 패킷 수신 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있다. In operation 1205, the access control application 211 may receive a data packet reception event received from a network interface built into the router 201 from the network kernel of the operating system.

동작 1210에서, 접속 제어 애플리케이션(211)은 수신된 데이터 패킷의 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등)를 기반으로 역방향에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. In operation 1210, the access control application 211 determines whether a data flow corresponding to the reverse direction exists based on the destination IP, port information, and protocol information (e.g., TCP, UDP, etc.) included in the IP header of the received data packet. You can.

동작 1215에서, 접속 제어 애플리케이션(211)은 데이터 플로우가 존재하면 수신된 데이터 패킷량을 데이터 플로우에 포함된 데이터 패킷 QoS 정보에 갱신할 수 있다. In operation 1215, if a data flow exists, the access control application 211 may update the amount of received data packets in the data packet QoS information included in the data flow.

도 13은 다양한 실시예들에 따른 라우터의 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 13 shows a signal flow diagram for updating a control flow of a router according to various embodiments.

도 13을 참조하면, 동작 1305에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 13, in operation 1305, the access control application 211 may detect a control flow update event.

실시예에 따르면, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트가 감지되면, 컨트롤러(202)로부터 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영제체가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행하여 결과를 컨트롤러(202)에게 전송할 수 있다. According to an embodiment, when a control flow update event is detected, the access control application 211 collects the security check information received from the controller 202 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. A security check is performed based on at least one of malware detection tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information) and transmits the results to the controller 202. You can.

동작 1310에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 보안 검사 결과를 컨트롤러(202)에게 함께 전송할 수 있다. In operation 1310, the access control application 211 may request a control flow update from the controller 202 based on control flow identification information. According to the embodiment, the access control application 211 may transmit the security check results to the controller 202.

동작 1315에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 라우터(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1320). In operation 1315, the controller 202 may check whether a control flow exists in a control flow table (e.g., control flow table 315 of FIG. 3) based on the received control flow identification information. Depending on the embodiment, when the control flow does not exist (e.g., when the connection is disconnected by another security system, when the connection is disconnected due to its own risk detection, etc.), the controller 202 determines that the connection of the router 201 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 211 (operation 1320).

실시예에 따르면, 컨트롤러(202)는 제어 플로우가 존재하는 경우 수신된 보안 검사 결과 정보를 기반으로 보안 검사 정책에 따라 보안 검사 정책에서 라우터에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사하거나 컨트롤러에 포함된 또는 컨트롤러와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 해당 라우터의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. 이 경우, 검사 결과가 정상적이지 않으면, 컨트롤러(202)는 제어 플로우 및 종속된 채널 정보, 데이터 플로우를 제거하고 제거된 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1320). According to the embodiment, if a control flow exists, the controller 202 checks whether the operating system and application information included in the router is valid according to the security check policy based on the received security check result information, or checks whether the operating system and application information included in the router is valid. Through the harmful application inspection module (static inspection or AI-based inspection) included in or existing in other systems connected to the controller, it is possible to determine whether the inspection results of the router's operating system and application are normal. In this case, if the test result is abnormal, the controller 202 may remove the control flow, dependent channel information, and data flow, and transmit the removed information to the router 201 and the gateway 203 (operation 1320).

실시예에 따르면, 컨트롤러(202)는 검사 결과가 정상인 경우 갱신 시각을 업데이트하고, 제어 플로우에 종속된 데이터 플로우를 확인하여 데이터 플로우의 재인증을 수행하거나 데이터 플로우를 라우터(201)에게 반환할 수 있다. According to the embodiment, if the inspection result is normal, the controller 202 may update the update time, check the data flow dependent on the control flow, perform re-authentication of the data flow, or return the data flow to the router 201. there is.

동작 1325에서, 라우터(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 라우터(201)에 연결된 노드의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1325, the access control application 211 of the router 201 may process the result of the response received from the controller 202. For example, the access control application 211 may block all network connections of nodes connected to the router 201 when the control flow update result is impossible. For another example, the connection control application 211 may update the data flow if the control flow update result is normal and an updated data flow exists.

도 14는 다양한 실시예들에 따른 라우터의 접속 해제를 위한 신호 흐름도를 도시한다. Figure 14 shows a signal flow diagram for disconnection of a router according to various embodiments.

도 14를 참조하면, 동작 1405에서 라우터(201)는 라우터(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1410에서, 라우터(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 14, in operation 1405, the router 201 terminates the router 201, terminates the connection control application 211, no longer uses the network connection, and terminates the connection based on information identified from the interworking system. At least one of the requests can be detected. In this case, in operation 1410, the router 201 or the access control application 211 may request the controller 202 to remove the control flow.

동작 1415에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. At operation 1415, the controller 202 may remove the identified control flow based on the received control flow identification information.

동작 1420에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 라우터(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다. 또한, 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 중계하는 게이트웨이(203)에 채널 및 데이터 플로우에 대한 제거 요청을 수행함으로서, 더 이상 목적지 네트워크로 데이터 패킷을 전송할 수 없는 상태를 제공할 수 있다. In operation 1420, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, the router 201 can no longer connect to the destination network based on the removed data flow. Additionally, the controller 202 performs a request to remove the channel and data flow to the gateway 203, which relays all data flows dependent on the removed control flow, thereby establishing a state in which data packets can no longer be transmitted to the destination network. can be provided.

도 15는 다양한 실시예들에 따른 라우터에 설치된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다. 도 14에 도시된 동작들은 도 2의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 15 is an operation flowchart showing a method of operating an access control application installed on a router according to various embodiments. The operations shown in FIG. 14 can be performed through the access control application 211 of FIG. 2.

동작 1505에서, 접속 제어 애플리케이션(211)은 노드의 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 네트워크 접속 요청은 노드의 식별 정보 및 노드 인증 정보를 포함할 수 있다. At operation 1505, the connection control application 211 may detect a network connection event of the node. For example, a network connection request may include node identification information and node authentication information.

동작 1510에서, 접속 제어 애플리케이션(211)은 노드의 식별 정보, 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행할 수 있다. In operation 1510, the access control application 211 may request a network connection to an external server based on the identification information of the node and the identification information of the node's destination network.

동작 1515에서, 접속 제어 애플리케이션(211)은 외부 서버로부터 노드의 식별 정보에 대응되는 데이터 플로우를 수신할 수 있다. In operation 1515, the access control application 211 may receive a data flow corresponding to the identification information of the node from an external server.

동작 1520에서, 접속 제어 애플리케이션(211)은 노드 인증 정보의 인증을 자체적으로 수행하거나 또는 외부 서버로부터 인증 수행된 결과를 수신할 수 있다. 예를 들어, 인증이 완료되지 않은 상태로 컨트롤러(202)로부터 응답이 수신된 경우 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 인증 정보에 기반하여 노드 인증 정보에 대한 인증을 수행할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 인증이 완료된 결과를 컨트롤러(202)로부터 수신할 수도 있다. In operation 1520, the access control application 211 may perform authentication of node authentication information itself or may receive the authentication result from an external server. For example, if a response is received from the controller 202 without authentication being completed, the access control application 211 may perform authentication for the node authentication information based on authentication information included in the data flow. For another example, the access control application 211 may receive a result of completed authentication from the controller 202.

동작 1525에서, 접속 제어 애플리케이션(211)은 노드 인증 정보의 인증이 완료되면, 데이터 플로우에 기반하여 노드가 전송하고자 하는 데이터 패킷을 처리할 수 있다. In operation 1525, when authentication of the node authentication information is completed, the access control application 211 may process the data packet that the node wants to transmit based on the data flow.

도 16은 다양한 실시예들에 따른 서버의 동작 방법을 나타내는 동작 흐름도이다. 도 16에 도시된 동작들은 도 2의 컨트롤러(202)를 통해 수행될 수 있다. Figure 16 is an operation flowchart showing a server operation method according to various embodiments. The operations shown in FIG. 16 may be performed through the controller 202 of FIG. 2.

동작 1605에서, 서버는 노드와 연결된 라우터로부터 노드의 네트워크 접속 요청을 수신할 수 있다. 예를 들어, 네트워크 접속 요청은 노드의 식별 정보, 노드의 목적지 네트워크의 식별 정보를 포함할 수 있다. In operation 1605, the server may receive the node's network connection request from the router connected to the node. For example, a network connection request may include identification information of the node and identification information of the node's destination network.

동작 1610에서, 서버는 데이터 베이스, 노드의 식별 정보, 노드의 목적지 네트워크의 식별 정보에 기반하여 노드가 목적지 네트워크에 접속 가능한지 확인할 수 있다. In operation 1610, the server may check whether the node can connect to the destination network based on the database, the node's identification information, and the node's destination network identification information.

동작 1615에서, 서버는 접속이 가능하면, 데이터 베이스에 기반하여 노드 인증 정보를 복호화하여 인증을 수행할 수 있다. In operation 1615, if connection is possible, the server may perform authentication by decrypting node authentication information based on the database.

동작 1620에서, 노드 인증 정보의 인증이 완료되면, 노드의 식별 정보, 노드의 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우를 생성하여 라우터 및 게이트웨이에게 전송할 수 있다. 예를 들어, 데이터 플로우는 데이터 패킷 필터링 정보 및 데이터 패킷 QoS 정보를 포함할 수 있다. In operation 1620, when authentication of the node authentication information is completed, a data flow corresponding to the node identification information and the identification information of the node's destination network may be created and transmitted to the router and the gateway. For example, a data flow may include data packet filtering information and data packet QoS information.

동작 1625에서, 서버는 노드 인증 정보의 인증 결과를 라우터에게 전송할 수 있다. In operation 1625, the server may transmit the authentication result of the node authentication information to the router.

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

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

Claims (13)

라우터에 있어서,
통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 노드의 네트워크 접속을 위한 데이터 패킷을 수신하고,
상기 네트워크 접속을 위한 데이터 패킷에 상기 노드의 식별 정보 및 노드 인증 정보가 포함되어있는지 여부를 확인하고,
상기 노드 인증 정보가 포함되지 않거나 상기 노드 인증 정보가 유효하지 않은 경우 상기 네트워크 접속을 위한 데이터 패킷을 드랍하고,
상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행하고,
상기 노드 인증 정보의 인증을 자체적으로 수행할지 또는 상기 외부 서버로부터 인증 수행된 결과를 수신할지 여부를 결정하여, 상기 외부 서버로부터 인증 수행된 결과를 수신해야하는 경우에 상기 네트워크 접속 요청에 상기 노드 인증 정보를 더 포함하여 전송하고,
상기 외부 서버로부터 상기 노드의 식별 정보에 대응되는 데이터 플로우를 수신하고,
상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 플로우에 기반하여 상기 노드가 전송하고자 하는 데이터 패킷을 처리하도록 구성된, 명령어들을 저장하는, 라우터.
In the router,
communication circuit; a processor operatively connected to the communication circuit; and a memory operatively coupled to the processor, storing a connection control application, wherein the memory, when executed by the processor, causes the router to:
Receiving a data packet for network connection of the node through the access control application,
Check whether the data packet for the network connection includes identification information and node authentication information of the node,
If the node authentication information is not included or the node authentication information is invalid, dropping a data packet for connecting to the network,
Performing a network connection request to an external server based on the identification information of the node and the identification information of the destination network of the node,
It is determined whether to perform authentication of the node authentication information itself or to receive the authentication result from the external server, and when the authentication result from the external server must be received, the node authentication information is sent to the network connection request. Transmit further including,
Receiving a data flow corresponding to the identification information of the node from the external server,
A router that stores commands, configured to process a data packet to be transmitted by the node based on the data flow when authentication of the node authentication information is completed.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 채널 정보를 수신하면,
상기 채널 정보에 기반하여 게이트웨이와 채널을 생성하고,
상기 외부 서버에게 생성된 채널 식별 정보 및 채널 생성시 부여된 IP 정보를 전송하고,
상기 외부 서버로부터 갱신된 채널 정보 및 채널 정보가 갱신된 데이터 플로우를 수신하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
When channel information is received from the external server through the access control application,
Create a gateway and channel based on the channel information,
Transmitting the channel identification information generated and the IP information assigned when creating the channel to the external server,
A router, configured to receive updated channel information and a data flow with updated channel information from the external server.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 노드의 네트워크 접속을 위한 데이터 패킷에서 상기 노드의 식별 정보와 상기 목적지 네트워크의 식별 정보, 통신 프로토콜 정보 및 네트워크 인터페이스 식별 정보를 확인하고,
상기 노드의 네트워크 접속을 위한 데이터 패킷에 대응되는 데이터 플로우의 존재 여부를 확인하고,
상기 노드의 네트워크 접속을 위한 데이터 패킷에 대응되는 데이터 플로우가 존재하면 상기 데이터 플로우에 포함된 인증 정보에 기반하여 상기 노드 인증 정보를 복호화하여 인증을 수행하고,
상기 노드 인증 정보의 인증이 완료되면 상기 노드의 데이터 패킷을 전송하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Verifying the node's identification information, the destination network's identification information, communication protocol information, and network interface identification information in a data packet for network connection of the node through the access control application,
Check whether a data flow corresponding to a data packet for network connection of the node exists,
If a data flow corresponding to a data packet for network connection of the node exists, authentication is performed by decrypting the node authentication information based on authentication information included in the data flow,
A router configured to transmit a data packet of the node when authentication of the node authentication information is completed.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 데이터 패킷 필터링 정보에 기반하여 상기 노드의 데이터 패킷이 필터링 대상인지 확인하고,
상기 노드의 데이터 패킷이 필터링 대상이면서 데이터 패킷 치환이 필요하면 상기 필터링 정보에 포함된 치환 정보 또는 치환 규칙에 기반하여 데이터 패킷을 치환하고,
상기 노드의 데이터 패킷이 필터링 대상이면서 데이터 패킷 차단이 필요하면 상기 노드의 데이터 패킷을 드롭하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Confirm whether the data packet of the node is subject to filtering based on data packet filtering information included in the data flow through the access control application,
If the data packet of the node is subject to filtering and data packet replacement is required, the data packet is replaced based on replacement information or replacement rules included in the filtering information,
A router, configured to drop the data packet of the node if the data packet of the node is subject to filtering and data packet blocking is necessary.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 QoS(Quality of Service) 정보에 기반하여 상기 노드의 데이터 패킷이 QoS가 필요한지 여부를 확인하고,
상기 노드의 데이터 패킷이 QoS가 필요하면 상기 QoS 정보에 기반하여 전송 가능한 데이터 패킷량을 확인하고,
상기 전송 가능한 데이터 패킷량을 초과한 경우, 상기 QoS 정보에 기반하여 상기 데이터 패킷의 전송을 일정 시간 지연시켜 전송 처리하거나, 데이터 패킷의 재전송을 유도하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Check whether the data packet of the node requires QoS based on QoS (Quality of Service) information included in the data flow through the access control application,
If the data packet of the node requires QoS, check the amount of data packets that can be transmitted based on the QoS information,
When the amount of data packets that can be transmitted is exceeded, the router is configured to delay transmission of the data packets for a certain time based on the QoS information to transmit the data packets or induce retransmission of the data packets.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 전송한 데이터 패킷에 대한 응답 데이터 패킷을 수신하고,
상기 응답 데이터 패킷에 대응되는 데이터 플로우의 존재 여부를 확인하고,
상기 응답 데이터 패킷에 대응되는 데이터 플로우가 존재하면 수신된 데이터 패킷의 양을 상기 데이터 플로우의 QoS 정보에 갱신하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Receive a response data packet for the data packet transmitted through the access control application,
Check whether a data flow corresponding to the response data packet exists,
The router, configured to update the amount of the received data packet to the QoS information of the data flow if there is a data flow corresponding to the response data packet.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버에게 상기 네트워크 접속 요청을 수행하는 경우 상기 노드 인증 정보를 더 전송하고,
상기 외부 서버로부터 상기 노드 인증 정보의 인증 수행 결과를 기초로 상기 노드 인증 정보의 유효 여부를 수신하고,
상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 패킷을 상기 데이터 플로우에 기반하여 전송하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Further transmitting the node authentication information when performing the network connection request to the external server through the access control application,
Receive from the external server whether the node authentication information is valid based on an authentication result of the node authentication information,
A router, configured to transmit the data packet based on the data flow when authentication of the node authentication information is completed.
서버에 있어서,
통신 회로;
데이터 베이스를 저장하는 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드와 연결된 라우터로부터 상기 노드의 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보 및 노드 인증 정보를 포함하고,
상기 데이터 베이스, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 상기 노드가 상기 목적지 네트워크에 접속 가능한지 확인하고,
접속이 가능하면, 상기 데이터 베이스에 기반하여 상기 노드 인증 정보를 복호화하여 인증을 수행하고,
상기 노드 인증 정보의 인증이 완료되면, 상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우를 생성하여 상기 라우터 및 게이트웨이에게 전송하고, 상기 데이터 플로우는 데이터 패킷 필터링 정보 및 데이터 패킷 QoS 정보를 포함하고,
상기 노드 인증 정보의 인증 결과를 상기 라우터에게 전송하도록 구성되고,
상기 노드 인증 정보는 상기 노드에서 상기 라우터에게 전송한 네트워크 접속을 위한 데이터 패킷에 포함된, 서버.
On the server,
communication circuit;
memory to store the database; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receiving a network connection request of the node from a router connected to the node, the network connection request includes identification information of the node, identification information of the destination network of the node, and node authentication information,
Confirm whether the node can connect to the destination network based on the database, the identification information of the node, and the identification information of the destination network of the node,
If connection is possible, authentication is performed by decrypting the node authentication information based on the database,
When authentication of the node authentication information is completed, a data flow corresponding to the node's identification information and the identification information of the node's destination network is generated and transmitted to the router and the gateway, and the data flow includes data packet filtering information and data. Contains packet QoS information,
configured to transmit an authentication result of the node authentication information to the router,
The node authentication information is included in a data packet for network connection transmitted from the node to the router.
제 8 항에 있어서, 상기 프로세서는,
상기 데이터 베이스에 기반하여 상기 라우터와 게이트웨이 간 채널 생성이 필요한지 여부를 확인하고, 채널 생성에 필요한 정보를 생성하여 상기 라우터 및 상기 게이트웨이에게 전송하도록 구성된, 서버.
The method of claim 8, wherein the processor:
A server configured to determine whether it is necessary to create a channel between the router and the gateway based on the database, generate information necessary for channel creation, and transmit it to the router and the gateway.
제 8 항에 있어서, 상기 프로세서는,
상기 라우터로부터 채널 생성을 나타내는 채널 식별 정보 및 채널 생성시 부여된 IP 정보를 수신하고,
상기 채널 식별 정보 및 상기 채널 생성시 부여된 IP 정보를 상기 데이터 베이스 및 상기 데이터 플로우에 갱신하고,
갱신된 데이터 플로우를 상기 라우터 및 상기 게이트웨이로 전송하도록 구성된, 서버.
The method of claim 8, wherein the processor:
Receive channel identification information indicating channel creation and IP information assigned upon channel creation from the router,
Update the channel identification information and the IP information assigned when creating the channel to the database and the data flow,
A server configured to transmit updated data flows to the router and the gateway.
제 8 항에 있어서, 상기 프로세서는,
상기 라우터로부터 상기 라우터의 식별 정보를 포함하는 접속 요청을 수신하고,
상기 데이터 베이스에 기반하여 상기 라우터의 접속이 가능한지 확인하고,
접속 가능하면, 상기 라우터에 대응되는 제어 플로우를 생성하고, 상기 제어 플로우의 식별 정보 및 상기 라우터의 유효성을 검사하기 위한 정보를 포함하는 보안 검사 정보를 상기 라우터에게 전송하고,
상기 라우터로부터 상기 보안 검사 정보에 기반한 보안 검사 결과를 수신하고,
상기 보안 검사 결과가 정상적인지 여부를 판단하여 결과를 상기 라우터에게 전송하도록 구성된, 서버.
The method of claim 8, wherein the processor:
Receiving a connection request including identification information of the router from the router,
Check whether the router can be connected based on the database,
If connection is possible, generate a control flow corresponding to the router, and transmit security check information including identification information of the control flow and information for checking the validity of the router to the router,
Receive a security check result based on the security check information from the router,
A server configured to determine whether the security check result is normal and transmit the result to the router.
제 8 항에 있어서, 상기 프로세서는,
상기 라우터로부터 인증서 인증과 관련된 인증 정보를 포함하는 인증서 인증 요청을 수신하고,
상기 데이터 베이스에 기반하여 상기 인증서 인증이 정상적인지 여부를 확인하고,
인증서 인증이 정상적이면 상기 인증 정보에 기반하여 제어 플로우를 갱신하고,
인증서 인증 결과 및 보안 검사 정보를 상기 라우터에게 전송하고,
상기 라우터로부터 상기 보안 검사 정보에 기반한 보안 검사 결과를 수신하고,
상기 보안 검사 결과가 정상적인지 여부를 판단하여 결과를 상기 라우터에게 전송하도록 구성된, 서버.
The method of claim 8, wherein the processor:
Receive a certificate authentication request containing authentication information related to certificate authentication from the router,
Check whether the certificate authentication is normal based on the database,
If the certificate authentication is normal, the control flow is updated based on the authentication information,
Transmitting certificate authentication results and security check information to the router,
Receive a security check result based on the security check information from the router,
A server configured to determine whether the security check result is normal and transmit the result to the router.
라우터에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서,
노드의 네트워크 접속을 위한 데이터 패킷을 수신하는 단계;
상기 네트워크 접속을 위한 데이터 패킷에 노드의 식별 정보 및 노드 인증 정보가 포함되어있는지 여부를 확인하는 단계;
상기 노드 인증 정보가 포함되지 않거나 상기 노드 인증 정보가 유효하지 않은 경우 상기 네트워크 접속을 위한 데이터 패킷을 드랍하는 단계;
상기 노드의 식별 정보, 상기 노드의 목적지 네트워크의 식별 정보에 기반하여 외부 서버에게 네트워크 접속 요청을 수행하는 단계, 상기 노드 인증 정보의 인증을 자체적으로 수행할지 또는 상기 외부 서버로부터 인증 수행된 결과를 수신할지 여부를 결정하여, 상기 외부 서버로부터 인증 수행된 결과를 수신해야하는 경우에 상기 네트워크 접속 요청에 상기 노드 인증 정보를 더 포함하여 전송하고;
상기 외부 서버로부터 상기 노드의 식별 정보에 대응되는 데이터 플로우를 수신하는 단계; 및
상기 노드 인증 정보의 인증이 완료되면, 상기 데이터 플로우에 기반하여 상기 노드가 전송하고자 하는 데이터 패킷을 처리하는 단계; 를 포함하는, 방법.
In the method of operating the access control application installed on the router,
Receiving a data packet for network connection of the node;
Checking whether the data packet for the network connection includes node identification information and node authentication information;
dropping a data packet for the network connection when the node authentication information is not included or the node authentication information is invalid;
Performing a network connection request to an external server based on the identification information of the node and the identification information of the destination network of the node, whether to perform authentication of the node authentication information itself or receive the authentication result from the external server determines whether to do so, and further includes the node authentication information in the network connection request and transmits it when it is necessary to receive an authentication result from the external server;
Receiving a data flow corresponding to the identification information of the node from the external server; and
When authentication of the node authentication information is completed, processing a data packet to be transmitted by the node based on the data flow; Method, including.
KR1020230010945A 2023-01-27 2023-01-27 System for controlling network access and method of the same KR102588355B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230010945A KR102588355B1 (en) 2023-01-27 2023-01-27 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230010945A KR102588355B1 (en) 2023-01-27 2023-01-27 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102588355B1 true KR102588355B1 (en) 2023-10-13

Family

ID=88289755

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230010945A KR102588355B1 (en) 2023-01-27 2023-01-27 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102588355B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100608904B1 (en) * 2003-12-18 2006-08-04 한국전자통신연구원 System and method for providing quality of service in ip network
KR102432111B1 (en) * 2020-09-29 2022-08-12 주식회사 멕서스 METHOD OF CONNECTING NETWORK FOR IoT DEVICE AND IoT ROUTER USING THE SAME
KR102460696B1 (en) * 2022-05-13 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100608904B1 (en) * 2003-12-18 2006-08-04 한국전자통신연구원 System and method for providing quality of service in ip network
KR102432111B1 (en) * 2020-09-29 2022-08-12 주식회사 멕서스 METHOD OF CONNECTING NETWORK FOR IoT DEVICE AND IoT ROUTER USING THE SAME
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the 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
KR102274617B1 (en) System for protecting control data packet and method thereof
KR102364445B1 (en) System for controlling network access based on controller and method of the same
KR102460694B1 (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
KR102439881B1 (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
KR102377247B1 (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
US20240080299A1 (en) Controller-based network access control system, and method thereof
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102460695B1 (en) System for controlling network access based on controller and method of the same
KR102446934B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102427663B1 (en) System for controlling network access based on controller and method of the same
JP2023162313A (en) System for authenticating and controlling network connection of terminal and method related thereto
KR102377248B1 (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
KR102333554B1 (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
KR102495370B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102446933B1 (en) System for controlling transmission and reception of file of application and method thereof
KR102407135B1 (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
KR102588355B1 (en) System for controlling network access and method of the same
KR102578799B1 (en) System for controlling network access and method of the same

Legal Events

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