이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세하게 설명한다. 본 발명의 구성 및 그에 따른 작용 효과는 이하의 상세한 설명을 통해 명확하게 이해될 것이다. 본 발명의 상세한 설명에 앞서, 동일한 구성요소에 대해서는 다른 도면 상에 표시되더라도 가능한 동일한 부호로 표시하며, 공지된 구성에 대해서는 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 구체적인 설명은 생략하기로 함에 유의한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The construction of the present invention and the effects thereof will be clearly understood through the following detailed description. Prior to the detailed description of the present invention, the same components will be denoted by the same reference numerals even if they are displayed on different drawings, and the detailed description will be omitted when it is determined that the well-known configuration may obscure the gist of the present invention. do.
도 1 은 본 발명에 따른 모니터링 및 필터링 정책을 이용한 네트워크 트래픽 관리 시스템의 일실시예 구성도이다.1 is a configuration diagram of an embodiment of a network traffic management system using a monitoring and filtering policy according to the present invention.
도 1에 도시된 바와 같이, 본 발명에 따른 모니터링 및 필터링 정책을 이용한 네트워크 트래픽 관리 시스템(10)은 사용자 단말(100)에 포함된 트래픽 제어 장치(110), 네트워크 트래픽 관리 장치(200) 및 서비스 제공 장치(300)를 포함한다.As shown in FIG. 1, the networktraffic management system 10 using the monitoring and filtering policy according to the present invention includes atraffic control device 110, a networktraffic management device 200, and a service included in theuser terminal 100. Providingapparatus 300 is included.
네트워크 트래픽 관리 장치(200)는 사용자 단말(100)과 서비스 제공 장치(300) 간의 네트워크 트래픽을 관리한다. 이를 위해, 네트워크 트래픽 관리 장치(200)는 모니터링 정책 및 필터링 정책을 생성하고 그 생성된 모니터링 정책 및 필터링 정책을 사용자 단말(100)에 포함된 트래픽 제어 장치(110)로 전송하여 트래픽을 관리한다. 여기서, 네트워크 트래픽 관리 장치(200)는 트래픽 제어 장치(110)로부터 트래픽 통계 정보를 수신하여 각 사용자 단말(100)의 트래픽 통계 정보를 확인할 수 있다. 또한, 네트워크 트래픽 관리 장치(200)는 각 사용자 단말(100)의 트래픽 통계 정보의 분석을 통해 필터링 정책을 생성하여 트래픽 제어 장치(110)로 전송한다. 네트워크 트래픽 관리 장치(200)는 관리하고자 하는 트래픽에 대한 트래픽 정보를 미리 수집하여 필터링 정책을 생성하고 그 생성된 필터링 정책을 트래픽 제어 장치(110)로 전송할 수 있다.The networktraffic management apparatus 200 manages network traffic between theuser terminal 100 and theservice providing apparatus 300. To this end, the networktraffic management apparatus 200 generates a monitoring policy and filtering policy and transmits the generated monitoring policy and filtering policy to thetraffic control apparatus 110 included in theuser terminal 100 to manage traffic. Here, the networktraffic management apparatus 200 may receive traffic statistics information from thetraffic control apparatus 110 and check the traffic statistics information of eachuser terminal 100. In addition, the networktraffic management apparatus 200 generates a filtering policy through analysis of the traffic statistics information of eachuser terminal 100 and transmits the filtering policy to thetraffic control apparatus 110. The networktraffic management apparatus 200 may collect traffic information on the traffic to be managed in advance, generate a filtering policy, and transmit the generated filtering policy to thetraffic control apparatus 110.
여기서, 통신망은 사용자 단말(100), 네트워크 트래픽 관리 장치(200) 및 서비스 제공 장치(300) 간 상호 유무선으로 통신할 수 있도록 통신 서비스를 제공하는 네트워크를 말한다. 즉, 통신망은 유선 인터넷 망일 수 있으며, 이동 통신망(CDMA, W-CDMA 등)을 통해 연결되는 무선 데이터망(인터넷 망, IMS 등), 또는 Wi-Fi 등의 근거리 통신을 통해 연결되는 인터넷 망 등을 포함할 수 있다.Here, the communication network refers to a network that provides a communication service so that theuser terminal 100, the networktraffic management apparatus 200, and theservice providing apparatus 300 communicate with each other by wire or wireless. That is, the communication network may be a wired Internet network, a wireless data network (Internet network, IMS, etc.) connected through a mobile communication network (CDMA, W-CDMA, etc.), or an Internet network connected through short-range communication such as Wi-Fi. It may include.
트래픽 제어 장치(110)는 사용자 단말(100)에 설치된 애플리케이션(101)을 통해 발생되는 트래픽을 제어한다. 여기서, 사용자 단말(100)은 노트북, 스마트 폰, PDA, 네비게이션, PMP, 전자사전, MP3 등 상기 트래픽 제어 기능을 수행할 수 있는 단말이라면 그 종류에 관계없이 적용 가능하다. 트래픽 제어 장치(110)는 네트워크 기반의 외부 시스템이나 외부 저장매체를 통해 제공받은 트래픽 제어 프로그램을 통해 트래픽 제어 기능을 수행할 수 있다.Thetraffic control apparatus 110 controls the traffic generated through theapplication 101 installed in theuser terminal 100. Here, theuser terminal 100 may be applied to any type of terminal capable of performing the traffic control function such as a notebook, a smart phone, a PDA, a navigation, a PMP, an electronic dictionary, and an MP3. Thetraffic control apparatus 110 may perform a traffic control function through a traffic control program provided through a network-based external system or an external storage medium.
트래픽 제어 과정을 살펴보면, 트래픽 제어 장치(110)는 사용자 단말(100)의 애플리케이션에서 발생된 패킷을 네트워크 트래픽 관리 장치(200)로부터 수신된 모니터링 정책에 따라 사용자 단말(100)의 커널 영역에서 애플리케이션별 또는 목적지 주소별로 분류하여 검출한다. 그리고 트래픽 제어 장치(110)는 검출된 패킷에 대한 트래픽 통계 정보를 네트워크 트래픽 관리 장치(200)로 전송한다. 이후, 트래픽 제어 장치(110)는 네트워크 트래픽 관리 장치(200)로부터 수신된 필터링 정책에 해당하는 애플리케이션의 패킷 또는 필터링 정책에 포함된 차단 목적지 주소(Blocking Destination)를 가지는 패킷을 사용자 단말(100)의 커널 영역에서 필터링한다.Referring to the traffic control process, thetraffic control device 110 for each application in the kernel region of theuser terminal 100 according to the monitoring policy received from the networktraffic management device 200, the packet generated in the application of theuser terminal 100 Or classify and detect by destination address. Thetraffic control apparatus 110 transmits traffic statistics information on the detected packet to the networktraffic management apparatus 200. Thereafter, thetraffic control apparatus 110 transmits a packet of an application corresponding to the filtering policy received from the networktraffic management apparatus 200 or a packet having a blocking destination included in the filtering policy of theuser terminal 100. Filter in the kernel area.
도 2 는 본 발명에 따른 모니터링 및 필터링 정책을 이용한 트래픽 제어 장치의 일실시예 구성도이다.2 is a block diagram of an embodiment of a traffic control apparatus using a monitoring and filtering policy according to the present invention.
이하, 본 발명에 따른 트래픽 제어 장치의 구성 요소 각각에 대하여 살펴보기로 한다.Hereinafter, each component of the traffic control apparatus according to the present invention will be described.
도 2에 도시된 바와 같이, 본 발명에 따른 트래픽 제어 장치(110)는 패킷 수집부(210), 패킷 모니터링부(220), 트래픽 관리부(230) 및 패킷 필터링부(240)를 포함한다. 여기서, 트래픽 제어 장치(110)는 사용자 단말(100)에 설치된 애플리케이션(101)에서 발생되는 패킷을 수신한다.As shown in FIG. 2, thetraffic control apparatus 110 according to the present invention includes apacket collector 210, apacket monitor 220, atraffic manager 230, and apacket filter 240. Here, thetraffic control device 110 receives a packet generated by theapplication 101 installed in theuser terminal 100.
패킷 수집부(210)는 사용자 단말(100)에 설치된 애플리케이션(101)에서 발생된 패킷을 사용자 단말(100)에서 포트 번호별로 구분하여 수집한다.Thepacket collection unit 210 collects packets generated by theapplication 101 installed in theuser terminal 100 by dividing the packets by the port number in theuser terminal 100.
그리고 패킷 모니터링부(220)는 패킷 수집부(210)에서 수집된 패킷 중에서 모니터링 정책에 부합하는 패킷을 애플리케이션별 또는 목적지 주소별로 분류하여 사용자 단말의 커널 영역에서 검출한다.Thepacket monitoring unit 220 classifies packets corresponding to the monitoring policy among the packets collected by thepacket collection unit 210 by application or destination address and detects the packets in the kernel region of the user terminal.
패킷 모니터링 과정을 구체적으로 살펴보면, 패킷 모니터링부(220)는 패킷 수집부(210)에서 수집된 패킷 중에서 기설정된 등록 포트 또는 미등록 포트를 이용하는 애플리케이션(101)의 패킷을 송수신 포트별로 구분하여 모니터링한다.Looking at the packet monitoring process in detail, thepacket monitoring unit 220 monitors the packets of theapplication 101 using a predetermined registration port or unregistered port among the packets collected by thepacket collection unit 210 for each transmission and reception port.
등록 포트 및 미등록 포트를 살펴보면, 애플리케이션(101)은 기설정된 등록 포트(Well-known Port) 또는 미등록 포트(Unknown Port)를 이용하는 애플리케이션으로 나눌 수 있다. 예컨대, 기설정된 등록 포트를 이용한 애플리케이션으로는 웹 브라우저 등의 애플리케이션이 있다. 기설정된 등록 포트를 이용하는 애플리케이션의 패킷 송수신은 기본적으로 정책 비교 없이 통과될 수 있다. 반면, 패킷 모니터링부(220)는 미등록 포트를 이용하는 애플리케이션의 패킷이 자체 규격에 따라 동작하는 것으로 가정하여 모니터링 정책에 따라 패킷을 검출한다. 여기서, 사용자 단말(100)의 애플리케이션(101)이 이용하는 포트 번호가 네트워크 트래픽 관리 장치(200)에 등록된 경우에는 애플리케이션(101)이 이용하는 포트 번호를 등록 포트라 지칭한다. 미등록 포트는 네트워크 트래픽 관리 장치(200)에 등록되지 않은 포트 번호를 지칭한다.Referring to the registered port and the unregistered port, theapplication 101 may be divided into an application using a predetermined well-known port or an unknown port. For example, an application using a preset registration port includes an application such as a web browser. Packet transmission and reception of an application using a preset registration port can be basically passed without policy comparison. On the other hand, thepacket monitoring unit 220 detects the packet according to the monitoring policy on the assumption that the packet of the application using the unregistered port operates according to its own standard. Here, when the port number used by theapplication 101 of theuser terminal 100 is registered in the networktraffic management apparatus 200, the port number used by theapplication 101 is referred to as a registration port. The unregistered port refers to a port number that is not registered in the networktraffic management apparatus 200.
패킷 모니터링부(220)는 기설정된 미등록 포트를 이용하는 애플리케이션(101)의 패킷을 모니터링하여 프로토콜 정보, 목적지 주소 및 포트 번호를 추출할 수 있다. 등록 포트를 이용하는 애플리케이션이 필터링 정책을 준수하는 경우, 패킷 모니터링부(220)는 미등록 포트를 이용하는 애플리케이션(101)의 패킷만을 모니터링하여 모니터링하는 패킷을 줄일 수 있다.Thepacket monitoring unit 220 may monitor the packet of theapplication 101 using the preset unregistered port to extract the protocol information, the destination address and the port number. When the application using the registration port conforms to the filtering policy, thepacket monitoring unit 220 may reduce the packet for monitoring and monitoring only packets of theapplication 101 using the unregistered port.
이때, 패킷 모니터링부(220)는 기설정된 미등록 포트를 이용하는 애플리케이션(101)의 패킷을 소켓 생성시에만 프로토콜 정보, 목적지 주소 및 포트 번호를 추출할 수 있다. 애플리케이션(101)은 서비스 제공 장치(300)와의 소켓 생성 이후에는 동일한 프로토콜 정보와 동일한 목적지 주소 및 동일한 포트 번호를 가지기 때문에, 소켓 생성시에만 프로토콜 정보, 목적지 주소 및 포트 번호를 추출하여 패킷 모니터링 부하량을 줄일 수 있다. 여기서, 패킷 모니터링부(220)는 목적지 주소로서, 목적지 맥(MAC) 주소, 목적지 아이피 주소, 목적지 포트 번호를 추출한다.In this case, thepacket monitoring unit 220 may extract the protocol information, the destination address and the port number only when the packet is generated in the packet of theapplication 101 using the preset unregistered port. Since theapplication 101 has the same protocol information, the same destination address and the same port number after the socket creation with theservice providing apparatus 300, the packet monitoring load is extracted by extracting the protocol information, the destination address and the port number only when the socket is created. Can be reduced. Here, thepacket monitoring unit 220 extracts a destination MAC address, a destination IP address, and a destination port number as a destination address.
또한, 패킷 모니터링부(220)는 기설정된 미등록 포트를 이용하는 애플리케이션(101)의 패킷을 모니터링하여 패킷 발생 주기를 산출할 수 있다. 예컨대, 모니터링 정책에서 패킷 발생 주기가 설정되어 있는 경우, 패킷 모니터링부(220)는 패킷 발생 주기를 초과하는 애플리케이션(101)의 패킷을 검출할 수 있다.In addition, thepacket monitoring unit 220 may calculate a packet generation period by monitoring a packet of theapplication 101 using a predetermined unregistered port. For example, when a packet generation period is set in the monitoring policy, thepacket monitoring unit 220 may detect a packet of theapplication 101 that exceeds the packet generation period.
한편, 패킷 모니터링부(220)는 애플리케이션(101)의 페이로드(Payload)를 검사하지 않고, 착/발신 패킷의 유무만을 확인한다. 이를 통해, 패킷 모니터링부(220)는 패킷 모니터링에 대한 부하량을 줄일 수 있다. 필요시에, 패킷 모니터링부(220)는 패킷 전체 데이터 즉, 패킷의 헤더(Header)와 패킷 페이로드를 캡쳐하여 별도로 분석하거나 네트워크 트래픽 관리 장치(200)로 전송할 수 있다.On the other hand, thepacket monitoring unit 220 does not check the payload (Payload) of theapplication 101, only confirms the presence or absence of incoming / outgoing packets. Through this, thepacket monitoring unit 220 may reduce the load on packet monitoring. If necessary, thepacket monitoring unit 220 may capture the entire packet data, that is, the header and the packet payload of the packet, and separately analyze or transmit the packet header to the networktraffic management apparatus 200.
이후, 패킷 필터링부(240)는 필터링 정책에 해당하는 애플리케이션의 패킷 또는 필터링 정책에 포함된 차단 목적지 주소를 가지는 패킷을 사용자 단말(100)의 커널 영역에서 필터링한다. 여기서, 필터링 정책은 네트워크 트래픽 관리 장치(200)로부터 수신된다. 패킷 필터링부(240)는 필터링 정책에 해당하는 애플리케이션(101)의 패킷 또는 필터링 정책의 블로킹 목적지 주소를 가지는 패킷을 사용자 단말(101)의 커널 영역에서 동작하는 넷필터(Netfilter)를 이용하여 필터링한다. 패킷 필터링부(240)는 사용자 단말(100)의 커널 영역에서 동작하는 필터링 정책을 사용자 영역에서 제어하기 위한 핸들러(예컨대, iptalbes handler, libipq*)를 생성하고 그 생성된 핸들러를 이용하여 필터링을 수행하는 넷필터를 제어할 수 있다.Thereafter, thepacket filtering unit 240 filters the packet of the application corresponding to the filtering policy or the packet having the blocking destination address included in the filtering policy in the kernel region of theuser terminal 100. Here, the filtering policy is received from the networktraffic management apparatus 200. Thepacket filtering unit 240 filters the packet of theapplication 101 corresponding to the filtering policy or the packet having the blocking destination address of the filtering policy by using a netfilter operating in the kernel region of theuser terminal 101. . Thepacket filtering unit 240 generates a handler (eg, iptalbes handler, libipq *) for controlling a filtering policy operating in the kernel region of theuser terminal 100 in the user region and performs filtering using the generated handler. You can control the net filter.
한편, 트래픽 관리부(230)는 패킷 모니터링부(220)에서 검출된 패킷을 분석하여 트래픽 통계 정보를 생성한다. 그리고 트래픽 관리부(230)는 그 생성된 트래픽 통계 정보를 네트워크 트래픽 관리 장치(200)로 전송한다.Meanwhile, thetraffic manager 230 analyzes the packet detected by thepacket monitor 220 and generates traffic statistics information. Thetraffic manager 230 transmits the generated traffic statistics information to the networktraffic management apparatus 200.
도 3 은 본 발명에 따른 도 2의 트래픽 관리부의 일실시예 상세구성도이다.3 is a detailed configuration diagram of an embodiment of the traffic management unit of FIG. 2 according to the present invention.
도 3에 도시된 바와 같이, 트래픽 관리부(230)는 트래픽 정보 생성부(310), 정책 설정부(320) 및 데이터 저장부(330)를 포함한다. 여기서, 데이터 저장부(330)는 정책 DB(331), 트래픽 DB(332) 및 필터링 DB(333)를 포함한다.As shown in FIG. 3, thetraffic manager 230 includes atraffic information generator 310, apolicy setting unit 320, and adata storage unit 330. Here, thedata storage unit 330 includes apolicy DB 331, atraffic DB 332, and afiltering DB 333.
트래픽 정보 생성부(310)는 패킷 모니터링부(220)에서 검출된 패킷을 애플리케이션별 또는 목적지 주소별로 분석하여 트래픽 통계 정보를 생성한다. 트래픽 통계 정보에는 일정 시간 동안의 애플리케이션별 패킷 개수 또는 크기, 일정 시간 동안의 목적지 주소별 패킷 개수 또는 크기 등이 포함된다.Thetraffic information generator 310 analyzes the packet detected by thepacket monitor 220 for each application or destination address and generates traffic statistics information. The traffic statistics information includes the number or size of packets for each application for a predetermined time, the number or size of packets for each destination address during a predetermined time, and the like.
정책 설정부(320)는 수신된 모니터링 정책 및 필터링 정책을 패킷 모니터링부(220) 및 패킷 필터링부(240)에 각각 설정한다. 모니터링 정책에는 모니터링할 애플리케이션 목록, 모니터링할 프로토콜 정보, 모니터링할 포트 번호, 모니터링할 패킷 발생 주기, 모니터링할 목적지 주소 등이 포함되어 있다. 필터링 정책에는 차단 애플리케이션 목록, 차단 목적지 주소 목록(Blocking Destination List)을 포함한다.Thepolicy setting unit 320 sets the received monitoring policy and the filtering policy to thepacket monitoring unit 220 and thepacket filtering unit 240, respectively. Monitoring policies include a list of applications to monitor, protocol information to monitor, port numbers to monitor, packet generation intervals to monitor, and destination addresses to monitor. The filtering policy includes a blocking application list and a blocking destination list.
데이터 저장부(330)는 트래픽 정보 생성부(310)에서 생성된 트래픽 통계 정보, 트래픽 정보, 필터링된 패킷에 대한 패킷 정보를 저장한다.Thedata storage unit 330 stores the traffic statistics information generated by thetraffic information generator 310, the traffic information, and the packet information about the filtered packet.
구체적으로 살펴보면, 데이터 저장부(330)는 수신된 모니터링 정책 및 필터링 정책을 정책(331)에 저장한다. 또한, 데이터 저장부(330)는 트래픽 정보 생성부(310)에서 생성된 애플리케이션별 또는 목적지 주소별 트래픽 통계 정보를 트래픽 DB(332)에 저장한다. 또한, 데이터 저장부(330)는 패킷 필터링부(240)에서 필터링된 패킷 정보를 필터링 DB(333)에 저장한다.In detail, thedata storage unit 330 stores the received monitoring policy and filtering policy in thepolicy 331. In addition, thedata storage unit 330 stores the traffic statistics information for each application or destination address generated by thetraffic information generator 310 in thetraffic DB 332. In addition, thedata storage unit 330 stores the packet information filtered by thepacket filtering unit 240 in thefiltering DB 333.
도 4 는 본 발명에 따른 모니터링 및 필터링 정책을 이용한 네트워크 트래픽 관리 방법에 대한 일실시예 흐름도이다.4 is a flowchart illustrating a network traffic management method using a monitoring and filtering policy according to the present invention.
사용자 단말(101)에 설치된 애플리케이션(101)은 서비스 제공 장치(300)와 세션 유지용 패킷을 전송하거나 악의적인 패킷을 전송한다(S402).Theapplication 101 installed in theuser terminal 101 transmits a session maintenance packet or a malicious packet to the service providing apparatus 300 (S402).
트래픽 제어 장치(110)는 사용자 단말(101)에 설치된 애플리케이션(101)으로부터 패킷을 수집한다(S404).Thetraffic control apparatus 110 collects a packet from theapplication 101 installed in the user terminal 101 (S404).
그리고 트래픽 제어 장치(110)는 수집된 패킷을 모니터링 정책에 따라 모니터링한다(S406).Thetraffic control apparatus 110 monitors the collected packets according to the monitoring policy (S406).
트래픽 제어 장치(110)는 "S406" 모니터링 과정에서의 모니터링 결과를 이용하여 트래픽 통계 정보를 생성하여 네트워크 트래픽 관리 장치(200)로 전송한다(S408).Thetraffic control apparatus 110 generates traffic statistics information using the monitoring result in the monitoring process "S406" and transmits the traffic statistics information to the network traffic management apparatus 200 (S408).
네트워크 트래픽 관리 장치(200)는 트래픽 제어 장치(110)로부터 수신된 트래픽 통계 정보를 분석하고, 그 분석된 결과를 이용하여 필터링 정책을 생성한다.The networktraffic management apparatus 200 analyzes the traffic statistics information received from thetraffic control apparatus 110 and generates a filtering policy using the analyzed result.
네트워크 트래픽 관리 장치(200)는 생성된 필터링 정책을 트래픽 제어 장치(110)로 전송한다.The networktraffic management apparatus 200 transmits the generated filtering policy to thetraffic control apparatus 110.
그리고 트래픽 제어 장치(110)는 네트워크 트래픽 관리 장치(200)로부터 수신된 필터링 정책에 따라 애플리케이션(101)의 패킷을 필터링한다.Thetraffic control device 110 filters the packet of theapplication 101 according to the filtering policy received from the networktraffic management device 200.
트래픽 제어 장치(110)는 그 수신된 필터링 정책에 따라 애플리케이션(101)의 패킷을 차단한다(S416). "S416" 과정에서는 패킷을 차단하는 과정이 설명되어 있다. "S416" 과정에서 트래픽 제어 장치(110)는 필터링 정책에 따라 패킷을 차단하거나 허용할 수 있다.Thetraffic control device 110 blocks the packet of theapplication 101 according to the received filtering policy (S416). In step "S416", the process of blocking the packet is described. In operation S416, thetraffic control apparatus 110 may block or allow the packet according to the filtering policy.
도 5 는 본 발명에 따른 트래픽 제어 장치에서의 트래픽 제어 방법에 대한 일실시예 흐름도이다.5 is a flowchart illustrating a traffic control method in the traffic control apparatus according to the present invention.
네트워크 트래픽 관리 장치(200)는 트래픽 제어 장치(110)로 모니터링 정책을 전송한다(S502). 그러면, 트래픽 관리부(230)는 모니터링 정책을 수신한다(S502).The networktraffic management apparatus 200 transmits a monitoring policy to the traffic control apparatus 110 (S502). Then, thetraffic manager 230 receives the monitoring policy (S502).
그리고 트래픽 관리부(230)는 수신된 모니터링 정책을 패킷 모니터링부(220)에 설정하게 된다(S504).Thetraffic manager 230 sets the received monitoring policy to the packet monitor 220 (S504).
이후, 패킷 수집부(210)는 사용자 단말(110)에 설치된 애플리케이션(101)에서 발생된 패킷을 포트 번호별로 구분하여 수집하고, 패킷 모니터링부(220)는 모니터링 정책에 따라 애플리케이션(101)으로부터 수집된 패킷을 모니터링한다(S506).Thereafter, thepacket collecting unit 210 classifies and collects packets generated by theapplication 101 installed in theuser terminal 110 by port number, and thepacket monitoring unit 220 collects from theapplication 101 according to a monitoring policy. The packet is monitored (S506).
패킷 모니터링부(220)는 패킷 모니터링을 통해 모니터링 정책에 부합하는 패킷이 있는지 여부를 사용자 단말(110)의 커널 영역에서 확인한다(S508). 패킷 모니터링부(220)는 애플리케이션별 또는 목적지 주소별로 패킷을 분류하여 검출할 수 있다.Thepacket monitoring unit 220 checks in the kernel region of theuser terminal 110 whether there is a packet corresponding to the monitoring policy through packet monitoring (S508). Thepacket monitoring unit 220 may classify and detect a packet by an application or a destination address.
상기 확인 결과(S508), 모니터링 정책에 부합하는 패킷이 있는 경우, 트래픽 관리부(230)는 패킷 모니터링부(220)에서 검출된 패킷을 분석하여 트래픽 통계 정보를 생성한다(S510).As a result of the check (S508), when there is a packet corresponding to the monitoring policy, thetraffic management unit 230 analyzes the packet detected by thepacket monitoring unit 220 to generate traffic statistics information (S510).
그리고 트래픽 관리부(230)는 생성된 트래픽 통계 정보를 네트워크 트래픽 관리 장치(200)로 전송한다(S512).Thetraffic manager 230 transmits the generated traffic statistics information to the network traffic management apparatus 200 (S512).
네트워크 트래픽 관리 장치(200)는 수신된 트래픽 통계 정보를 분석하고 그 분석된 결과를 이용하여 필터링 정책을 생성한다(S514).The networktraffic management apparatus 200 analyzes the received traffic statistics information and generates a filtering policy using the analyzed result (S514).
네트워크 트래픽 관리 장치(200)는 생성된 필터링 정책을 트래픽 제어 장치(110)로 전송한다(S516).The networktraffic management apparatus 200 transmits the generated filtering policy to the traffic control apparatus 110 (S516).
패킷 필터링부(240)는 트래픽 제어 장치(110)로부터 수신된 필터링 정책에 따라 애플리케이션(101)의 패킷을 필터링한다(S518). 즉, 패킷 필터링부(240)는 필터링 정책에 해당하는 애플리케이션의 패킷 또는 필터링 정책에 포함된 차단 목적지 주소를 가지는 패킷을 사용자 단말의 커널 영역에서 필터링한다.Thepacket filtering unit 240 filters the packet of theapplication 101 according to the filtering policy received from the traffic control device 110 (S518). That is, thepacket filtering unit 240 filters the packet of the application corresponding to the filtering policy or the packet having the blocking destination address included in the filtering policy in the kernel region of the user terminal.
한편, 본 발명은 이상에서 설명한 데이터 트래픽 제어 방법을 소프트웨어적인 프로그램으로 구현하여 컴퓨터로 읽을 수 있는 소정 기록 매체에 기록해 둠으로써 다양한 재생 장치에 적용할 수 있다.Meanwhile, the present invention can be applied to various reproduction apparatuses by implementing the data traffic control method described above as a software program and recording it on a computer-readable predetermined recording medium.
다양한 재생 장치는 PC, 노트북, 휴대용 단말, 스마트폰 등일 수 있다.Various playback devices may be PCs, laptops, portable terminals, smart phones, and the like.
예컨대, 기록 매체는 각 재생 장치의 내장형으로 하드 디스크, 플래시 메모리, RAM, ROM 등이거나, 외장형으로 CD-R, CD-RW와 같은 광디스크, 콤팩트 플래시 카드, 스마트 미디어, 메모리 스틱, 멀티미디어 카드일 수 있다.For example, the recording medium may be a hard disk, a flash memory, a RAM, a ROM, or the like as an internal type of each playback device, or an optical disc such as a CD-R or a CD-RW, a compact flash card, a smart media, a memory stick, or a multimedia card as an external type. have.
이 경우, 컴퓨터로 읽을 수 있는 기록 매체에 기록한 프로그램은, 네트워크 트래픽 관리 장치로부터 모니터링 정책을 수신하는 모니터링 정책 수신 과정; 사용자 단말의 애플리케이션에서 발생된 패킷을 포트 번호별로 구분하여 수집하는 패킷 수집 과정; 상기 수집된 패킷의 모니터링을 통해 상기 수신된 모니터링 정책에 부합하는 패킷을 애플리케이션별 또는 목적지 주소별로 분류하여 상기 사용자 단말의 커널 영역에서 검출하는 패킷 모니터링 과정; 상기 검출된 패킷을 분석하여 트래픽 통계 정보를 생성하는 트래픽 정보 생성 과정; 상기 생성된 트래픽 통계 정보를 네트워크 트래픽 관리 장치로 전송하고, 상기 네트워크 트래픽 관리 장치로부터 필터링 정책을 수신하는 필터링 정책 수신 과정; 및 상기 수신된 필터링 정책에 해당하는 애플리케이션의 패킷 또는 상기 필터링 정책에 포함된 차단 목적지 주소를 가지는 패킷을 상기 사용자 단말의 커널 영역에서 필터링하는 필터링 과정을 포함하여 실행될 수 있다.In this case, the program recorded on the computer-readable recording medium includes: a monitoring policy receiving step of receiving a monitoring policy from a network traffic management apparatus; A packet collection process of dividing packets generated by an application of the user terminal by port numbers; A packet monitoring process of classifying packets corresponding to the received monitoring policy by application or by destination address through monitoring of the collected packets and detecting them in a kernel region of the user terminal; A traffic information generation process of analyzing the detected packets to generate traffic statistics information; A filtering policy receiving step of transmitting the generated traffic statistics information to a network traffic management apparatus and receiving a filtering policy from the network traffic management apparatus; And a filtering process for filtering a packet of an application corresponding to the received filtering policy or a packet having a block destination address included in the filtering policy in a kernel region of the user terminal.
이상의 설명은 본 발명을 예시적으로 설명한 것에 불과하며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술적 사상에서 벗어나지 않는 범위에서 다양한 변형이 가능할 것이다. 따라서 본 발명의 명세서에 개시된 실시 예들은 본 발명을 한정하는 것이 아니다. 본 발명의 범위는 아래의 특허청구범위에 의해 해석되어야 하며, 그와 균등한 범위 내에 있는 모든 기술도 본 발명의 범위에 포함되는 것으로 해석해야 할 것이다.The above description is merely illustrative of the present invention, and various modifications may be made by those skilled in the art without departing from the technical spirit of the present invention. Therefore, the embodiments disclosed in the specification of the present invention are not intended to limit the present invention. The scope of the present invention should be construed by the claims below, and all techniques within the scope equivalent thereto will be construed as being included in the scope of the present invention.