KR20150017427A - Distributed processing system using of packet sniffing and the method - Google Patents

Distributed processing system using of packet sniffing and the method Download PDF

Info

Publication number
KR20150017427A
KR20150017427A KR1020130091143A KR20130091143A KR20150017427A KR 20150017427 A KR20150017427 A KR 20150017427A KR 1020130091143 A KR1020130091143 A KR 1020130091143A KR 20130091143 A KR20130091143 A KR 20130091143A KR 20150017427 A KR20150017427 A KR 20150017427A
Authority
KR
South Korea
Prior art keywords
packet
order
processed
processing
unit
Prior art date
Application number
KR1020130091143A
Other languages
Korean (ko)
Other versions
KR101504191B1 (en
Inventor
이종찬
정재웅
Original Assignee
아토리서치(주)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 아토리서치(주) filed Critical 아토리서치(주)
Priority to KR1020130091143A priority Critical patent/KR101504191B1/en
Publication of KR20150017427A publication Critical patent/KR20150017427A/en
Application granted granted Critical
Publication of KR101504191B1 publication Critical patent/KR101504191B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Abstract

A distributed processing system using packet sniffing according to the present invention includes: a packet duplication unit which performs sniffing on an order packet corresponding to an order request of a customer, divides and transmits the order packet according to a predefined rule; a plurality of intermediate servers which process and transmit each of the corresponding order packets which are divided and transmitted from the packet duplication unit; and a main server which receives the each order packet processed in the intermediate servers, compares the order packet with the original order packet, and transmits the processed result to the customer. According to the present invention, the large amount of network packets can be stably distributed and processed by performing packet sniffing on the network order packet, which is requested by a user, using a duplication unit and providing the corresponding packet to the user.

Description

패킷 스니핑을 이용한 분산 처리 시스템 및 그 방법{Distributed processing system using of packet sniffing and the method} [0001] The present invention relates to a distributed processing system using packet sniffing,

본 발명은 패킷 스니핑을 이용한 분산 처리 시스템 및 그 방법에 관한 것으로, 특히 사용자에 의해 요청된 네트워크 주문 패킷을 복사 수단을 이용하여 해당 패킷을 스니핑(Packet Sniffing) 처리하여 결과를 제공함으로써 대량의 네트워크 패킷을 안정적으로 분산 처리할 수 있는 패킷 스니핑을 이용한 분산 처리 시스템 및 그 방법에 관한 것이다.
The present invention relates to a distributed processing system using packet sniffing and a method thereof, and more particularly to a system and method for packet sniffing packet sniffing of a network order packet requested by a user, To a distributed processing system using packet sniffing and a method thereof.

종래의 분산 시스템의 구성은 주 서버가 고객의 요청을 모두 받은 후, 일정한 알고리즘을 이용하여 일을 전담 처리하는 서버로 로드 발란스(Load balance)하는 모델을 선택하는 것이 일반적이다. 하지만 빠른 처리 시간이 요구되는 시스템에서는 이러한 분산 모델로는 충분히 빠른 속도의 처리를 보장할 수 없다. 왜냐하면 주 서버가 모든 패킷을 수신하고 분산 처리를 담당하기 때문에 해당 부분에 병목 현상이 일어날 수 있고, 분산하기 위한 알고리즘을 매번 실행하여야 하기 때문에 이 부분에서 다시 추가로 부하가 발생할 수 있다. In the conventional distributed system, after the main server receives all the requests from the customer, it is common to select a load balance model as a server that performs a dedicated task using a certain algorithm. However, in a system requiring fast processing time, such a distributed model can not guarantee a sufficiently fast processing speed. Because the main server receives all the packets and is responsible for the distributed processing, it can cause bottlenecks in that part, and the algorithm to be distributed must be executed every time, so additional load may be generated in this part.

또한 주 서버가 전체 시스템을 관리하고 유지하는 역할을 동시에 해야 하기 때문에 해당 서버에 문제가 생길 경우 시스템 전체에 영향을 주게 된다. 장애 대책에 대응하기 위해 백업 서버를 두는 고 가용성(High Availability) 시스템 설계가 가능하지만 주 서버의 장애 시 발생할 수 있는 전체 서버의 비효율적인 리소스 분배 문제를 해결하지는 못한다.Also, because the main server has to manage and maintain the entire system at the same time, if there is a problem with the server, it will affect the entire system. It is possible to design a high-availability system that has a backup server to respond to failure measures, but it does not address the inefficient resource allocation problem of the entire server that might occur in the event of a failure of the primary server.

대량의 네트워크 패킷을 신속하고 안정적으로 처리하여야 하는 분산 시스템 설계에서, 주 서버가 모든 패킷을 받아 분배 및 관리하여야 하는 부하를 줄이는 것이 그 무엇보다 중요하다. 또한 주 서버의 장애에 대한 고 가용성 시스템 설계는 물론이며, 일을 전담하는 서버(리소스)의 효율적인 분배도 간과해서는 안 될 요소 중 하나이다. 이렇게 분산 시스템에서 고려하여야 할 여러 부하를 줄여야 하는 문제점에 발생된다.
In designing a distributed system that needs to handle a large number of network packets quickly and reliably, it is more important than ever to reduce the load on the main server to receive, distribute and manage all packets. In addition to designing high-availability systems for failure of the primary server, efficient allocation of dedicated servers (resources) is one of the factors that should not be overlooked. This is caused by the problem of reducing various loads to be considered in a distributed system.

본 발명이 해결하고자 하는 기술적 과제는 사용자에 의해 요청된 네트워크 주문 패킷을 복사 수단을 이용하여 해당 패킷을 스니핑(Packet Sniffing) 처리하여 제공함으로써 대량의 네트워크 패킷을 안정적으로 분산 처리할 수 있는 패킷 스니핑을 이용한 분산 처리 시스템 및 그 방법을 제공하는 것이다.Disclosure of Invention Technical Problem [8] The present invention provides a packet sniffing method capable of stably distributing a large number of network packets by providing a network order packet requested by a user through a packet sniffing process using a copying unit, And to provide a distributed processing system and method therefor.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, unless further departing from the spirit and scope of the invention as defined by the appended claims. It will be possible.

상기 기술적 과제를 해결하기 위한 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 시스템은, 고객의 주문 요청에 대응하는 주문 패킷을 스니핑하여 미리 정의된 규칙에 의해 주문 패킷을 전송하는 패킷 복사수단과; 상기 패킷 복사수단에서 전송된 주문 패킷에서 각 해당 주문 패킷을 처리하여 전송하는 복수의 중간 서버들; 및 상기 중간 서버에서 처리된 각 해당 주문 패킷을 입력받고 원본 주문 패킷과 비교한 후 처리 결과를 고객에게 전송하는 메인 서버를 포함하는 점에 그 특징이 있다. According to an aspect of the present invention, there is provided a distributed processing system using packet sniffing, comprising: packet copying means for sending an order packet according to a predefined rule by sniffing an order packet corresponding to an order request of a customer; A plurality of intermediate servers for processing and transmitting each order packet from the order packet transmitted from the packet copying means; And a main server for inputting each corresponding order packet processed by the intermediate server, comparing the received order packet with the original order packet, and transmitting the processing result to the customer.

여기서, 상기 패킷 복사수단은 상기 주문 패킷을 복사하는 패킷 스니핑부와;Here, the packet copying unit may include: a packet sniffing unit for copying the order packet;

상기 스니핑부에서 복사된 주문 패킷에서 상기 중간 서버들에서 처리하는 역할에 대응하도록 주문 패킷을 해당 필드의 해쉬값을 처리하는 패킷 분할부; 및 상기 패킷 분할부에서 전송된 주문 패킷을 상기 각 해당 중간 서버에 전송하는 전송부를 포함하는 점에 그 특징이 있다.A packet dividing unit for processing a hash value of the corresponding order packet so as to correspond to a role to be processed in the intermediate servers in the order packet copied in the sniffing unit; And a transmission unit for transmitting the order packet transmitted from the packet division unit to each of the corresponding intermediate servers.

여기서, 특히 상기 메인 서버는 상기 패킷 복사수단으로부터 원본 주문 패킷을 전송받고, 상기 중간 서버들로부터 처리된 각 분할 패킷을 전송받는 송수신부와; 상기 원본 주문 패킷과 상기 중간 서버들에 의해 처리된 각 분할 패킷을 비교하여 패킷 처리 여부를 확인하는 비교부; 및 상기 비교부에서 원본 주문 패킷과 비교하여 미처리된 분할 패킷을 처리하는 패킷 처리부를 포함하는 점에 그 특징이 있다. In particular, the main server includes: a transmission / reception unit that receives an original order packet from the packet copying unit and receives each divided packet processed from the intermediate servers; A comparing unit comparing the original order packet with each divided packet processed by the intermediate servers to confirm whether or not to process the packet; And a packet processing unit for processing the unprocessed divided packet by comparing with the original order packet in the comparison unit.

여기서, 특히 상기 메인 서버에서 상기 원본 패킷과 상기 중간 서버에서 처리된 각 해당 주문 패킷을 비교하여 누락된 패킷이 있는 경우 이를 처리는 응답 서버를 더 포함하는 점에 그 특징이 있다. In particular, the main server further includes a response server for comparing the original packet with each corresponding order packet processed by the intermediate server to process the missing packet if there is a missing packet.

여기서, 특히 상기 중간 서버는 분할된 주문 패킷을 처리할 때 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리하는 점에 그 특징이 있다. In particular, the intermediate server is characterized in that, when processing an ordered packet, the intermediate server skips the process of reading the Ethernet header or the TCP header of each corresponding packet and reads and processes the body portion of the packet immediately.

또한, 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 방법은, 고객으로부터 요청된 주문 패킷을 패킷 복사수단을 이용하여 스니핑하는 단계와; 상기 스니핑된 주문 패킷을 미리 정의된 규칙에 의해 각 전담 중간 서버에 전송하는 단계와; 상기 각 중간 서버에서 상기 주문 패킷에서 각 해당 필드의 해쉬값에 대응하는 분할 패킷을 처리하여 메인 서버로 전송하는 단계와; 상기 메인 서버에서 상기 처리된 각 분할 패킷을 원본 패킷과 비교하는 단계; 및 상기 처리된 분할 패킷과 원본 패킷을 비교하여 미처리된 분할 패킷이 있으면, 메인 서버에서 미처리된 패킷을 처리하여 고객에게 결과를 전송하는 단계를 포함하는 점에 그 특징이 있다.According to another aspect of the present invention, there is provided a distributed processing method using packet sniffing, comprising the steps of: sniffing an order packet requested by a customer using packet copying means; Sending the sniffed order packet to each dedicated intermediate server by a predefined rule; Processing the split packet corresponding to the hash value of each corresponding field in the order packet in each of the intermediate servers and transmitting the split packet to the main server; Comparing each processed divided packet with an original packet in the main server; And comparing the processed divided packet with the original packet to process the unprocessed packet in the main server if there is an unprocessed divided packet, and transmitting the result to the client.

여기서, 특히 상기 처리된 분할 패킷과 원본 패킷을 비교하여 처리가 완료된 것으로 일치하면 그 결과를 고객에게 전송하는 단계를 더 포함하는 점에 그 특징이 있다. In particular, the method further comprises a step of comparing the processed divided packet with the original packet and transmitting the result to the customer if the processed packet is found to be complete.

여기서, 특히 상기 중간 서버에서 주문 패킷을 처리하는 과정은 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리하는 점에 그 특징이 있다.
In particular, in the process of processing an order packet in the intermediate server, the process of reading the Ethernet header or the TCP header of each corresponding packet is skipped and the body part of the packet is immediately read and processed.

이상의 본 발명에 따르면, 사용자에 의해 요청된 네트워크 주문 패킷을 복사 수단을 이용하여 해당 패킷을 스니핑(Packet Sniffing) 처리하여 제공함으로써 대량의 네트워크 패킷을 안정적으로 분산 처리할 수 있다.
According to the present invention, the network order packet requested by the user is processed by packet sniffing the packet using the copying means, thereby stably distributing a large number of network packets.

도 1은 본 발명의 일 실시 예에 따른 패킷 스니핑을 이용한 분산 처리 시스템의 구성을 개략적으로 도시한 도면.
도 2는 본 발명의 또 다른 실시 예에 따른 패킷 스니핑을 이용한 분산 처리 시스템의 구성을 개략적으로 도시한 도면.
도 3은 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 방법에 대한 순서도를 개략적으로 도시한 도면.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a view schematically showing a configuration of a distributed processing system using packet sniffing according to an embodiment of the present invention; FIG.
BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a distributed processing system using packet sniffing.
3 is a flowchart schematically illustrating a distributed processing method using packet sniffing according to the present invention.

이하 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있는 바람직한 실시 예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시 예에 대한 동작 원리를 상세하게 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the detailed description of known functions and configurations incorporated herein will be omitted when it may unnecessarily obscure the subject matter of the present invention.

또한, 도면 전체에 걸쳐 유사한 기능 및 작용을 하는 부분에 대해서는 동일한 도면 부호를 사용한다.The same reference numerals are used for portions having similar functions and functions throughout the drawings.

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

이하 본 발명의 일 실시 예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시 예에 따른 패킷 스니핑을 이용한 분산 처리 시스템의 구성을 개략적으로 도시한 도면이다. 도 1에 도시된 바와 같이, 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 시스템(100)은, 고객의 주문 요청에 대응하는 주문 패킷을 스니핑하여 미리 정의된 규칙에 의해 주문 패킷을 전송하는 패킷 복사수단(110)과; 상기 패킷 복사수단(110)에서 전송된 각 해당 주문 패킷을 처리하여 전송하는 복수의 중간 서버들(120); 및 상기 중간 서버(120)에서 처리된 각 해당 주문 패킷을 입력받고 원본 주문 패킷과 비교한 후 처리 결과를 고객에게 전송하는 메인 서버(130)를 포함하여 구성된다. FIG. 1 is a view schematically showing a configuration of a distributed processing system using packet sniffing according to an embodiment of the present invention. As shown in FIG. 1, the distributed processing system 100 using packet sniffing according to the present invention includes a packet copying unit 100 for sending an order packet according to a predefined rule by sniffing an order packet corresponding to an order request of a customer, (110); A plurality of intermediate servers 120 for processing and transmitting each corresponding order packet transmitted from the packet copying means 110; And a main server 130 for receiving the corresponding order packet processed by the intermediate server 120, comparing the received order packet with the original order packet, and transmitting the processing result to the customer.

상기 패킷 복사수단(110)은 대량의 네트워크 패킷을 빠르게 처리하기 위한 스니핑(sniffing) 하드웨어 장치로써 고객에 의해 요청된 주문 패킷을 스니핑하게 된다. The packet copying unit 110 sniffs an order packet requested by a customer as a sniffing hardware device for quickly processing a large amount of network packets.

보다 구체적으로, 상기 패킷 복사수단(110)은 패킷 스니핑부(111), 패킷 분할부(112) 및 전송부(113)로 구성된다.More specifically, the packet copying unit 110 includes a packet sniffing unit 111, a packet dividing unit 112, and a transfer unit 113.

상기 패킷 스니핑부(111)에서는 상기 주문 패킷을 복사하고, 패킷 분할부(112)에서 상기 패킷 스니핑부(111)에서 복사된 주문 패킷을 상기 중간 서버들(120)에서 처리하는 역할에 대응하도록 주문 패킷에 해당 필드의 해쉬값을 처리하여 전송한다. 즉, 상기 패킷 스니핑부(111)는 고객 요청에 의한 주문 패킷을 복사하여 미리 정의된 규칙에 의해 패킷 처리의 역할을 할당하도록 한다. The packet sniffing unit 111 copies the order packet and transmits the order packet copied from the packet sniffing unit 111 in the packet dividing unit 112 to the intermediate servers 120 Process the hash value of the corresponding field in the packet and transmit it. That is, the packet sniffing unit 111 copies an order packet by a customer request and allocates a packet processing role according to a predefined rule.

그리고, 상기 전송부(113)는 상기 패킷 분할부(112)에서 해쉬값이 처리된 주문 패킷을 상기 각 해당 중간 서버에 전송하게 된다. The transmitting unit 113 transmits the hash value processed order packet to the corresponding intermediate server in the packet dividing unit 112.

상기 중간 서버(120)들은 상기 패킷 복사수단(110)에서 전송된 해당 주문 패킷을 각 담당 서버에서 맡은 패킷에 대해 일을 처리하여 이에 대한 결과를 상기 메인 서버로 전송하게 된다. 여기서, 상기 중간 서버(120)들은 상기 분할된 주문 패킷을 처리할 때 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리함으로써 빠르게 처리하게 된다.The intermediate servers 120 process the corresponding order packet transmitted from the packet copying means 110 and transmit the result of the processing to the main server. Here, when processing the divided order packets, the intermediate servers 120 may skip the process of reading the Ethernet header or the TCP header of each corresponding packet, and quickly process the packet by reading and processing the body part of the packet.

상기 메인 서버(130)는 송수신부(131), 비교부(132) 및 패킷 처리부(133)를 포함하여 구성된다.The main server 130 includes a transmitting / receiving unit 131, a comparing unit 132, and a packet processing unit 133.

상기 송수신부(131)는 상기 패킷 복사수단(110)으로부터 원본 주문 패킷을 전송받고, 상기 중간 서버(120)들로부터 처리된 각 분할 패킷을 전송받게 된다. 그리고, 비교된 결과를 고객에게 전송하게 된다.The transceiver unit 131 receives the original order packet from the packet copying unit 110 and receives each divided packet processed from the intermediate servers 120. [ Then, the comparison result is transmitted to the customer.

상기 비교부(132)는 상기 원본 주문 패킷과 상기 중간 서버(120)들에 의해 처리된 각 분할 패킷을 비교하여 패킷 처리 여부를 확인하게 된다. The comparison unit 132 compares the original order packet with each divided packet processed by the intermediate servers 120 to confirm whether or not to process the packet.

상기 패킷 처리부(133)는 상기 비교부(132)에서 원본 주문 패킷과 비교하여 미처리된 분할 패킷에 대해 처리하게 된다. 한편, 원본 주문 패킷과 상기 중간 서버들에서 처리된 분할 패킷이 동일하면 그 결과를 바로 고객에게 전송하게 된다.
The packet processing unit 133 compares the original order packet with the original order packet and the unprocessed divided packet is processed by the comparison unit 132. On the other hand, if the original order packet and the divided packet processed by the intermediate servers are the same, the result is directly transmitted to the customer.

또한, 도 2는 본 발명의 또 다른 실시 예에 따른 패킷 스니핑을 이용한 분산 처리 시스템의 구성을 개략적으로 도시한 도면이다. 도 2에 도시된 바와 같이, 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 시스템(200)은, 고객의 주문 요청에 대응하는 주문 패킷을 스니핑하여 미리 정의된 규칙에 의해 주문 패킷을 전송하는 패킷 복사수단(210)과; 상기 패킷 복사수단(210)에서 전송된 해당 주문 패킷을 처리하여 전송하는 복수의 중간 서버들(220); 및 상기 중간 서버(220)에서 처리된 각 해당 주문 패킷을 입력받고 원본 주문 패킷과 비교한 후 처리 결과를 고객에게 전송하는 메인 서버(230) 및 상기 메인 서버에서 상기 원본 패킷과 상기 중간 서버에서 처리된 각 해당 주문 패킷을 비교하여 누락된 패킷이 있는 경우 이를 처리는 응답 서버(240)를 포함한다. 2 is a block diagram schematically illustrating a configuration of a distributed processing system using packet sniffing according to another embodiment of the present invention. As shown in FIG. 2, the distributed processing system 200 using packet sniffing according to the present invention includes a packet copying unit 200 for sniffing an order packet corresponding to a customer's order request and transmitting an order packet according to a predefined rule (210); A plurality of intermediate servers 220 for processing and transmitting the order packet transmitted from the packet copying means 210; A main server 230 for receiving each corresponding order packet processed by the intermediate server 220, comparing the received order packet with an original order packet, and transmitting the processing result to a customer, and a server 230 for processing the original packet and the intermediate server If there is a missing packet by comparing each corresponding order packet, the processing includes the response server 240.

상기 패킷 복사수단(210)은 대량의 네트워크 패킷을 빠르게 처리하기 위한 스니핑(sniffing) 하드웨어 장치로써 고객에 의해 요청된 주문 패킷을 스니핑하게 된다. The packet copying unit 210 sniffs an order packet requested by a customer as a sniffing hardware device for quickly processing a large amount of network packets.

보다 구체적으로, 상기 패킷 복사수단(210)은 패킷 스니핑부(211), 패킷 분할부(212) 및 전송부(213)로 구성된다.More specifically, the packet copying unit 210 includes a packet sniffing unit 211, a packet dividing unit 212, and a transmitting unit 213.

상기 패킷 스니핑부(211)에서는 상기 주문 패킷을 복사하고, 패킷 분할부(212)에서 상기 패킷 스니핑부(211)에서 복사된 주문 패킷을 상기 중간 서버들(220)에서 처리하는 역할에 대응하도록 주문 패킷에 해당 필드의 해쉬값을 처리하게 된다. 즉, 상기 패킷 스니핑부(211)는 고객 요청에 의한 주문 패킷을 복사하여 미리 정의된 규칙에 의해 패킷 처리의 역할을 할당하도록 한다. The packet sniffing unit 211 copies the order packet and the order of packets received from the packet sniffing unit 211 in the packet dividing unit 212 is processed by the intermediate servers 220 The hash value of the corresponding field is processed in the packet. That is, the packet sniffing unit 211 copies an order packet by a customer request and allocates a packet processing role according to a predefined rule.

그리고, 상기 전송부(213)는 상기 패킷 분할부(212)에서 상기 주문 패킷을 상기 각 해당 중간 서버에 전송하게 된다. The transmission unit 213 transmits the order packet to the respective intermediate servers in the packet division unit 212.

상기 중간 서버(220)들은 상기 패킷 복사수단(210)에서 전송된 각 해당 주문 패킷을 각 담당 서버에서 맡은 패킷에 대해 일을 처리하여 이에 대한 결과를 상기 메인 서버로 전송하게 된다. 여기서, 상기 중간 서버(220)들은 상기 주문 패킷을 처리할 때 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리함으로써 빠르게 처리하게 된다.The intermediate servers 220 process each corresponding order packet transmitted from the packet copying means 210, and transmit the result of the processing to the main server. Here, when processing the order packet, the intermediate server 220 skips the process of reading the Ethernet header or the TCP header of each corresponding packet, and quickly processes the packet by reading and processing the body part of the packet.

보다 구체적으로, 상기 중간 서버는 각각 패킷의 특정 필드의 값을 읽어들여 자신이 처리해야 할 패킷인지 아닌지를 구분하게 된다. 예를 들어, 일을 전담하는 서버가 N개이고 특정 필드의 값을 1 ~ N 사이에 오는 값으로 헤슁(hashing)한다고 하면 1번 서버는 해당 필드의 해쉬값이 1인 패킷만 처리하고 나머지는 버리는 식으로 각 서버는 자신이 맡아야 할 패킷만 처리하게 된다. More specifically, each of the intermediate servers reads the value of a specific field of a packet and discriminates whether or not the packet is a packet to be processed by the intermediate server. For example, if there are N dedicated servers and the value of a specific field is hashing from 1 to N, server 1 processes only the packet whose hash value is 1 in the field and discards the rest In this way, each server will process only packets that it needs to take care of.

상기 메인 서버(230)는 송수신부(231)와 비교부(232)로 구성된다. The main server 230 includes a transmitting / receiving unit 231 and a comparing unit 232.

상기 송수신부(231)는 상기 패킷 복사수단(210)으로부터 원본 주문 패킷을 전송받고, 상기 중간 서버(220)들로부터 처리된 각 해당 분할 패킷을 전송받게 된다. 그리고, 비교된 결과를 고객에게 전송하게 된다.The transceiving unit 231 receives the original order packet from the packet copying unit 210 and receives the corresponding divided packet processed from the intermediate servers 220. Then, the comparison result is transmitted to the customer.

상기 비교부(232)는 상기 원본 주문 패킷과 상기 중간 서버(220)들에 의해 처리된 각 분할 패킷을 비교하여 패킷 처리 여부를 확인하게 된다. The comparing unit 232 compares the original order packet with each divided packet processed by the intermediate servers 220 to check whether the packet is processed.

상기 응답 서버(240)는 상기 비교부(232)에서 원본 주문 패킷과 비교하여 미처리된 분할 패킷에 대해 요청을 하면 그에 대해 패킷을 처리하게 된다. The response server 240 compares the original order packet with the original order packet and requests the unprocessed packet to be processed.

도 2의 응답 서버를 구성한 패킷 스니핑을 이용한 분산 처리 시스템은 빠른 응답 시간이 요구되는 시스템이 아닌 빠른 대기 시간이 중요한 도메인에서 최적의 성능을 구현하여 최종 응답 서버에 최대한 빠른 시간 내에 고객의 요청을 접수하게 된다. The distributed processing system using the packet sniffing in the response server of FIG. 2 is not a system requiring a fast response time but a system that receives optimal requests from the final response server as soon as possible .

여기서, 빠른 응답 시간은 고객이 서버에 일을 처리하도록 요청한 시간부터 서버에서 이에 대한 요청 처리 결과를 고객에게 알려주기까지의 시간이고, 빠른 대기 시간은 고객의 요청이 서버에 도달하는데까지 걸리는 시간을 의미한다. Here, the quick response time is the time from when the client requests the server to process the job to when the server notifies the client of the result of the request processing, and the fast waiting time is the time taken until the client's request reaches the server it means.

또한, 도 3은 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 방법에 대한 순서도를 개략적으로 도시한 도면이다. 도 3에 도시된 바와 같이, 본 발명에 따른 패킷 스니핑을 이용한 분산 처리 방법은, 먼저 고객으로부터 요청된 주문 패킷을 패킷 복사수단을 이용하여 스니핑하는 단계가 수행된다(S301). 여기서, 스니핑은 암호화된 패킷 자체를 복사하는 것을 의미한다. 3 is a diagram schematically showing a flowchart of a distributed processing method using packet sniffing according to the present invention. As shown in FIG. 3, in the distributed processing method using packet sniffing according to the present invention, a step of sniffing an order packet requested by a customer using a packet copying means is performed (S301). Here, sniffing means copying the encrypted packet itself.

그리고, 상기 스니핑된 주문 패킷을 미리 정의된 규칙에 의해 각 전담 중간 서버에 전송하는 단계가 수행된다(S302). 여기서, 상기 스니핑된 주문 패킷을 각 중간 서버들의 역할에 대응하도록 주문 패킷을 해당 필드의 해쉬값을 처리하게 된다. The step of transmitting the sniffed order packet to each dedicated intermediate server according to a predefined rule is performed (S302). Here, the hash value of the corresponding field is processed in the order packet so that the sniffed order packet corresponds to the role of each intermediate server.

보다 구체적으로, 상기 미리 정의된 규칙은 예를 들어 패킷 처리를 담당하는 서버가 n개 있을 경우, 패킷의 특정 필드의 값을 n으로 나머지 연산(modular) 해슁(hashing)하여 n개의 서버로 분산하여 보내는 등의 임의의 규칙을 의미하는 것으로, 시스템 설계에 의해 임의로 변경될 수 있다. More specifically, the predefined rule may be, for example, when there are n servers that are responsible for packet processing, modular hashing of the value of a specific field of the packet to n, And the like, and may be arbitrarily changed by the system design.

그 다음, 상기 각 중간 서버에서 주문 패킷을 처리하여 메인 서버로 전송하는 단계가 수행된다(S303). 여기서, 각 중간 서버에서 각 주문 패킷을 처리하는 과정은 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리하여 패킷들을 전송하게 된다. 즉, 각 중간 서버는 자기가 해야될 해쉬값을 찾아 그 값에 해당하는 패킷만 처리하고 나머지 부분에 대해서 버리게 된다. 따라서, 각 중간 서버는 해쉬값에 해당하는 분할된 패킷 형태로 전송하게 된다. Next, in each intermediate server, an order packet is processed and transmitted to the main server (S303). Here, in the process of processing each order packet in each intermediate server, the process of reading the Ethernet header or the TCP header of each packet is skipped and the body part of the packet is immediately read and processed to transmit the packets. That is, each intermediate server finds a hash value to be processed, processes only the packet corresponding to the value, and discards the remaining part. Therefore, each intermediate server transmits in the form of a divided packet corresponding to the hash value.

이어서, 상기 메인 서버에서 상기 처리된 각 해당 패킷을 원본 패킷과 비교하는 단계가 수행된다(S304). 여기서, 원본 패킷과 처리된 각 해당 패킷들이 일치하는지 비교하게 된다. Then, the main server compares the processed packet with the original packet (S304). Here, it is checked whether or not the original packet and each of the processed packets match.

이어서, 상기 처리된 분할 패킷과 원본 패킷을 비교하여 미처리된 분할 패킷이 있으면(S305), 메인 서버에서 미처리된 패킷을 처리하여 고객에게 결과를 전송하는 단계가 수행된다(S307). 즉, 메인 서버에서 상기 중간 서버들에서 처리된 분할 패킷에 대해 미처리된 패킷이 있다면 이를 다시 처리하여 고객이 요청한 결과를 전송하게 된다. Then, if the processed packet is compared with the original packet and there is an unprocessed fragmented packet (S305), the main server processes the unprocessed packet and transmits the result to the client (S307). That is, if there is an unprocessed packet in the divided packets processed by the intermediate servers in the main server, the packet is processed again and the result of the request is transmitted by the client.

또한, 상기 처리된 분할 패킷과 원본 패킷을 비교하여 처리가 완료된 것으로 일치하면 그 결과를 고객에게 전송하는 단계를 수행한다(S307).
In addition, if the processed packet is compared with the original packet and the processing is completed, a step of transmitting the result to the customer is performed (S307).

본 발명은 네트워크 패킷을 패킷 복사 하드웨어 장비를 이용하여 패킷 스니핑(Packet Sniffing)하여 처리하는 안정적이고 확장 가능한 분산 시스템을 구축하는 소프트웨어 방법론의 하나이다. 스니핑한 패킷들은 분산되어 있는 다수의 서버로 전달되고 각 서버는 미리 정의되어 있는 규칙에 따라 자신이 처리해야 하는 패킷에 대해 일을 처리한 후, 처리 결과를 메인 서버로 알려주게 된다. 메인 서버는 전체 시스템을 모니터링 하고 유지, 관리하는 역할을 수행하며 안정적인 분산 처리를 보장한다. The present invention is a software methodology for constructing a stable and scalable distributed system that performs packet sniffing processing of network packets using packet copy hardware equipment. The sniffed packets are delivered to a number of distributed servers, and each server processes the packets it has to process according to predefined rules, and then notifies the main server of the processing results. The main server monitors, maintains and manages the entire system and ensures stable distributed processing.

이상에서 설명한 바와 같이, 본 발명의 상세한 설명에서는 본 발명의 바람직한 실시 예에 관하여 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 본 발명의 범주에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 따라서 본 발명의 권리 범위는 설명된 실시 예에 국한되어 정해져서는 안되며, 후술하는 청구범위뿐만 아니라, 이와 균등한 것들에 의해 정해져야 한다.While the present invention has been particularly shown and described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, Of course, this is possible. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the equivalents as well as the claims that follow.

<도면의 주요부분에 대한 부호의 설명>
110, 210 --- 패킷복사 수단 111, 211 --- 패킷 스니핑부
112, 212 --- 패킷 분할부 113, 213 --- 전송부
120, 220 --- 중간 서버 121, 221 --- 송수신부
122, 222 --- 비교부 123 --- 패킷 처리부
130, 230 --- 메인 서버 240 --- 응답 서버
Description of the Related Art
110, 210 --- Packet copying means 111, 211 --- Packet sniffing unit
112, 212 --- packet division unit 113, 213 --- transmission unit
120, 220 --- intermediate server 121, 221 --- transmission /
122, 222 --- Comparison unit 123 --- Packet processing unit
130, 230 --- main server 240 --- response server

Claims (8)

고객의 주문 요청에 대응하는 주문 패킷을 스니핑하여 미리 정의된 규칙에 의해 주문 패킷을 전송하는 패킷 복사수단과;
상기 패킷 복사수단에서 전송된 주문 패킷에서 각 해당 주문 패킷을 처리하여 전송하는 복수의 중간 서버들; 및
상기 중간 서버에서 처리된 각 해당 주문 패킷을 입력받고 원본 주문 패킷과 비교한 후 처리 결과를 고객에게 전송하는 메인 서버를 포함하는 패킷 스니핑을 이용한 분산 처리 시스템.
Packet copying means for sending an order packet according to a predefined rule by sniffing an order packet corresponding to a customer order request;
A plurality of intermediate servers for processing and transmitting respective order packets in order packets transmitted from the packet copying means; And
And a main server for receiving each corresponding order packet processed by the intermediate server, comparing the received order packet with an original order packet, and transmitting the processing result to a customer.
제 1항에 있어서,
상기 패킷 복사수단은
상기 주문 패킷을 복사하는 패킷 스니핑부와;
상기 스니핑부에서 복사된 주문 패킷에서 상기 중간 서버들에서 처리하는 역할에 대응하도록 주문 패킷을 해당 필드의 해쉬값을 처리하는 패킷 분할부; 및
상기 패킷 분할부에서 전송된 주문 패킷을 상기 각 해당 중간 서버에 전송하는 전송부를 포함하는 패킷 스니핑을 이용한 분산 처리 시스템.
The method according to claim 1,
The packet copying means
A packet sniffing unit for copying the order packet;
A packet dividing unit for processing a hash value of the corresponding order packet so as to correspond to a role to be processed in the intermediate servers in the order packet copied in the sniffing unit; And
And a transmitting unit for transmitting the order packet transmitted from the packet dividing unit to each of the corresponding intermediate servers.
제 1항에 있어서,
상기 메인 서버는
상기 패킷 복사수단으로부터 원본 주문 패킷을 전송받고, 상기 중간 서버들로부터 처리된 각 분할 패킷을 전송받는 송수신부와;
상기 원본 주문 패킷과 상기 중간 서버들에 의해 처리된 각 분할 패킷을 비교하여 패킷 처리 여부를 확인하는 비교부; 및
상기 비교부에서 원본 주문 패킷과 비교하여 미처리된 분할 패킷을 처리하는 패킷 처리부를 포함하는 것을 특징으로 하는 패킷 스니핑을 이용한 분산 처리 시스템.
The method according to claim 1,
The main server
A transmission / reception unit which receives an original order packet from the packet copying means and receives each divided packet processed from the intermediate servers;
A comparing unit comparing the original order packet with each divided packet processed by the intermediate servers to confirm whether or not to process the packet; And
And a packet processing unit for processing an unprocessed divided packet by comparing the original order packet with the comparison unit.
제 1항에 있어서,
상기 메인 서버에서 상기 원본 패킷과 상기 중간 서버에서 처리된 각 해당 주문 패킷을 비교하여 누락된 패킷이 있는 경우 이를 처리는 응답 서버를 더 포함하는 것을 특징으로 하는 패킷 스니핑을 이용한 분산 처리 시스템.
The method according to claim 1,
Wherein the main server further comprises a response server for comparing the original packet with each corresponding order packet processed by the intermediate server and processing a missing packet if there is a missing packet.
제 1항에 있어서,
상기 중간 서버는 분할된 주문 패킷을 처리할 때 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리하는 것을 특징으로 하는 패킷 스니핑을 이용한 분산 처리 시스템.
The method according to claim 1,
Wherein the intermediate server skips the process of reading the Ethernet header or the TCP header of each packet when processing the divided order packet and reads the body part of the packet immediately and processes the packet.
고객으로부터 요청된 주문 패킷을 패킷 복사수단을 이용하여 스니핑하는 단계와;
상기 스니핑된 주문 패킷을 미리 정의된 규칙에 의해 각 전담 중간 서버에 전송하는 단계와;
상기 각 중간 서버에서 상기 주문 패킷에서 각 해당 필드의 해쉬값에 대응하는 분할 패킷을 처리하여 메인 서버로 전송하는 단계와;
상기 메인 서버에서 상기 처리된 각 분할 패킷을 원본 패킷과 비교하는 단계; 및
상기 처리된 분할 패킷과 원본 패킷을 비교하여 미처리된 분할 패킷이 있으면, 메인 서버에서 미처리된 패킷을 처리하여 고객에게 결과를 전송하는 단계를 포함하는 패킷 스니핑을 이용한 분산 처리 방법.
Sniffing the order packet requested by the customer using packet copying means;
Sending the sniffed order packet to each dedicated intermediate server by a predefined rule;
Processing the split packet corresponding to the hash value of each corresponding field in the order packet in each of the intermediate servers and transmitting the split packet to the main server;
Comparing each processed divided packet with an original packet in the main server; And
Comparing the processed divided packet with the original packet, and if there is an unprocessed divided packet, processing the unprocessed packet in the main server and transmitting the result to the customer.
제 6항에 있어서,
상기 처리된 분할 패킷과 원본 패킷을 비교하여 처리가 완료된 것으로 일치하면 그 결과를 고객에게 전송하는 단계를 더 포함하는 것을 특징으로 하는 패킷 스니핑을 이용한 분산 처리 방법.
The method according to claim 6,
Comparing the processed divided packet with the original packet, and transmitting the result to the customer if the processed packet is found to be complete.
제 6항에 있어서,
상기 중간 서버에서 주문 패킷을 처리하는 과정은 각 해당 패킷의 이더넷 헤더 또는 TCP 헤더를 읽는 과정을 생략하고 패킷의 몸체 부분을 바로 읽어 처리하는 것을 특징으로 하는 패킷 스니핑을 이용한 분산 처리 방법.

The method according to claim 6,
Wherein the process of processing an order packet in the intermediate server is performed by reading out the body part of the packet by omitting the process of reading the Ethernet header or the TCP header of each corresponding packet.

KR1020130091143A 2013-07-31 2013-07-31 Distributed processing system using of packet sniffing and the method KR101504191B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130091143A KR101504191B1 (en) 2013-07-31 2013-07-31 Distributed processing system using of packet sniffing and the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130091143A KR101504191B1 (en) 2013-07-31 2013-07-31 Distributed processing system using of packet sniffing and the method

Publications (2)

Publication Number Publication Date
KR20150017427A true KR20150017427A (en) 2015-02-17
KR101504191B1 KR101504191B1 (en) 2015-03-24

Family

ID=53045973

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130091143A KR101504191B1 (en) 2013-07-31 2013-07-31 Distributed processing system using of packet sniffing and the method

Country Status (1)

Country Link
KR (1) KR101504191B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170043259A (en) * 2015-10-13 2017-04-21 (주)비즈스프링 System of target marketing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272812A (en) * 1995-03-31 1996-10-18 Kao Corp Distributed data base system and data processing method therefor
KR101073659B1 (en) * 2009-12-30 2011-10-14 동의대학교 산학협력단 Transparent Method for File Download to Reduce the Network Congestion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170043259A (en) * 2015-10-13 2017-04-21 (주)비즈스프링 System of target marketing

Also Published As

Publication number Publication date
KR101504191B1 (en) 2015-03-24

Similar Documents

Publication Publication Date Title
US11165879B2 (en) Proxy server failover protection in a content delivery network
US10447775B2 (en) System and method to balance servers based on server load status
EP3682617B1 (en) Distributed multi-datacenter video packaging system
US10129152B2 (en) Setting method, server device and service chain system
US20160078116A1 (en) Providing high availability in an active/active appliance cluster
US10241876B1 (en) Cooperative fault tolerance and load balancing
FI20176152A1 (en) A method, a system and a computer program product for managing OPC UA server capacity
CN106331184B (en) Internet-based big data distribution method and distribution platform
KR20010088742A (en) Parallel Information Delievery Method Based on Peer-to-Peer Enabled Distributed Computing Technology
US10097616B2 (en) Methods for optimizing service of content requests and devices thereof
WO2015014295A1 (en) Multi-source download scheduling
US20180285169A1 (en) Information processing system and computer-implemented method
US10476746B2 (en) Network management method, device, and system
US20120124221A1 (en) Element terminal and communication system
EP3737039A1 (en) Method for transmitting request message and apparatus
CN107888700A (en) A kind of shared cloud rendering system and its handling process
JP6540063B2 (en) Communication information control apparatus, relay system, communication information control method, and communication information control program
KR101504191B1 (en) Distributed processing system using of packet sniffing and the method
CN106685854B (en) Data sending method and system
US10951732B2 (en) Service processing method and device
JP2014157459A (en) Cache device, content distribution system, and content distribution method
WO2018000617A1 (en) Method for updating database, and scheduling server
US20240098037A1 (en) Multimedia Data Stream Processing Method, Electronic Device, and Storage Medium
JP6802771B2 (en) Load distribution equipment, load distribution system, and load distribution program
JP6371230B2 (en) Transfer device and program for content distribution network

Legal Events

Date Code Title Description
AMND Amendment
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181231

Year of fee payment: 5