KR100768916B1 - Packet gathering/analysis apparatus and method using the emulating - Google Patents
Packet gathering/analysis apparatus and method using the emulating Download PDFInfo
- Publication number
- KR100768916B1 KR100768916B1 KR1020060061810A KR20060061810A KR100768916B1 KR 100768916 B1 KR100768916 B1 KR 100768916B1 KR 1020060061810 A KR1020060061810 A KR 1020060061810A KR 20060061810 A KR20060061810 A KR 20060061810A KR 100768916 B1 KR100768916 B1 KR 100768916B1
- Authority
- KR
- South Korea
- Prior art keywords
- external device
- packets
- packet
- emulator
- network
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
Abstract
Description
도 1은 본 발명의 일 실시예에 따른 패킷 수집/분석 장치의 설명에 제공되는 블럭도, 그리고,1 is a block diagram provided to explain a packet collection / analysis apparatus according to an embodiment of the present invention, and
도 2는 본 발명의 일 실시예에 따른 패킷 수집/분석 장치의 에뮬레이션 방법의 설명에 제공되는 흐름도이다.2 is a flowchart provided to explain an emulation method of a packet collection / analysis apparatus according to an embodiment of the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
100: 패킷 수집/분석 장치 110: 패킷수집모듈100: packet collection / analysis device 110: packet collection module
112: 패킷수집부 114: 필터112: packet collecting unit 114: filter
116: 제1 저장부 120: 패킷처리모듈116: first storage unit 120: packet processing module
122: 패킷분석부 124: 편집부122: packet analysis unit 124: editing unit
125: 사용자 뷰어 126: 제2 저장부125: user viewer 126: second storage unit
130: 에뮬레이터130: emulator
본 발명은 패킷 수집/분석 장치에 관한 것으로, 더욱 상세하게는 패킷 수집/ 분석 장치 및 이를 이용한 에뮬레이션 방법에 관한 것이다.The present invention relates to a packet collection / analysis apparatus, and more particularly, to a packet collection / analysis apparatus and an emulation method using the same.
"패킷 수집/분석 장치"는 네트워크를 통해 연결된 네트워크상의 기기들이 송수신한 패킷들을 수집하고 분석하는 장치를 말한다.The "packet collection / analysis apparatus" refers to a device for collecting and analyzing packets transmitted and received by devices on a network connected through a network.
또한, 패킷 수집/분석 장치는 각 기기의 통신 프로토콜 준수 여부나 호환성 등을 테스트하는 것이 가능하다. In addition, the packet collection / analysis apparatus can test whether each device complies with the communication protocol or compatibility.
이와 같이, 일반적인 패킷 수집/분석 장치는 각 기기의 통신 프로토콜 준수 여부나 호환성 등을 파악하는 목적으로만 사용되고, 그 결과를 재구성하여 사용하거나 기기를 에뮬레이션(emulation)하는 용도로는 사용되고 않고 있다.As described above, the general packet collecting / analyzing apparatus is used only for the purpose of checking the communication protocol compliance or compatibility of each device, and is not used for reconfiguring the result or emulating the device.
이로 인해, 새로운 네트워크 기기의 개발을 위해서는 개발자가 동일한 동작을 여러 번 되풀이하여야 하는 문제점이 있으며, 이때 수집/분석된 패킷들은 해당 기기의 오류를 발견해내는 용도로만 사용되고 있다.For this reason, in order to develop a new network device, there is a problem that a developer must repeat the same operation several times. In this case, collected / analyzed packets are used only for detecting an error of the corresponding device.
또한, 종래와 비슷한 기능을 검증하기 위해서도 그때마다 원하는 패킷을 발생시켜 기기를 조작하여야 하는 문제점이 있다.In addition, in order to verify a function similar to the conventional art, there is a problem in that a device is operated by generating a desired packet at each time.
이에, 특정기기가 발생시킨 네트워크 패킷을 그대로 재현하거나 패킷 중 일부 내용을 수정하여 재현할 수 있는 기술이 요청이 된다.Accordingly, there is a request for a technology capable of reproducing a network packet generated by a specific device as it is or by modifying some contents of the packet.
따라서, 본 발명의 목적은, 새로운 에뮬레이터의 개발없이도 필요한 상황에 맞는 동작을 발생시켜 기기의 개발이나 테스트에 활용할 수 있도록 하기 위해, 네트워크 패킷 수집/분석장치를 통해 얻은 결과를 재구성하여 특정기기가 발생시킨 네트워크 패킷을 그대로 재현하거나 패킷 중 일부 내용을 수정하여 재현하는데 목 적이 있다.Accordingly, an object of the present invention is to generate a specific device by reconstructing the result obtained through a network packet collection / analysis apparatus so as to generate an operation suitable for a necessary situation without developing a new emulator and to utilize the device for development or testing. It aims to reproduce the network packet as it is or to modify some of the packet.
상기 목적을 달성하기 위한 본 발명에 따른 패킷 수집/분석 장치 및 이를 이용한 에뮬레이션 방법은 네트워크상의 제1 외부기기와 제2 외부기기로부터 수집된 패킷들 중 일부 패킷들을 선택 처리하는 패킷처리모듈, 및 상기 선택 처리된 일부 패킷들을 이용하여 상기 제2 외부기기의 역할을 재현하는 에뮬레이터를 포함한다.An apparatus for collecting / analyzing a packet and an emulation method using the same according to the present invention for achieving the above object include: a packet processing module for selectively processing some packets among packets collected from a first external device and a second external device on a network; It includes an emulator for reproducing the role of the second external device by using the selected packets.
바람직하게는, 상기 제1 외부기기는 개발 대상 기기이고, 상기 제2 외부기기는 상기 제1 외부기기의 검증을 위한 상대기기인 것을 포함한다.Preferably, the first external device is a device to be developed, and the second external device includes a counterpart device for verification of the first external device.
더 바람직하게는, 상기 에뮬레이터는, 상기 선택 처리된 일부 패킷들을 그대로 재현하거나 일부 패킷의 내용을 수정하여 재현하는 것이 가능한 것을 포함한다.More preferably, the emulator includes that it is possible to reproduce the selected some packets as they are or to modify the contents of some packets.
그리고, 상기 패킷처리모듈은, 상기 수집된 패킷들을 사용자가 볼 수 있는 형태로 가공처리하여, 사용자가 선택가능한 형태로 디스플레이하는 것을 포함하는 것이 바람직하다.The packet processing module may include processing the collected packets into a form that a user can see, and displaying the collected packets in a form selectable by the user.
여기서, 네트워크상의 제1 외부기기와 제2 외부기기로부터 수집된 패킷들 중 일부 패킷들을 선택 처리하는 단계, 및 상기 선택 처리된 일부 패킷들을 이용하여 상기 제2 외부기기의 역할을 수행하는 단계를 포함하는 것이 바람직하다.The method may include selecting and processing some packets among packets collected from a first external device and a second external device on a network, and performing a role of the second external device using the selected processed packets. It is desirable to.
이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the drawings will be described the present invention in more detail.
도 1은 본 발명의 일 실시예에 따른 패킷 수집/분석 장치의 설명에 제공되는 블럭도이다. 1 is a block diagram provided to explain a packet collection / analysis apparatus according to an embodiment of the present invention.
도 1을 참조하면, 패킷 수집/분석 장치(100)는 패킷수집모듈(110), 패킷처리 모듈(120), 및 에뮬레이터(130)를 구비한다. 그리고, 패킷수집모듈(110)은 패킷수집부(112), 필터(114), 및 제1 저장부(116)를 구비하고, 패킷처리모듈(120)은 패킷분석부(122), 편집부(124), 사용자 뷰어(viewer)(125), 및 제2 저장부(126)를 구비한다.Referring to FIG. 1, the packet collection /
그리고, 패킷 수집/분석 장치(100)는 네트워크상에 위치하며, 네트워크를 통해 제1 외부기기(200), 및 제2 외부기기(300)와 상호 연결되어 있다.The packet collection /
다만, 패킷 수집/분석 장치(100) 내에 포함될 수 있는 기타의 구성요소는 도면에서 배제하고 본 발명을 설명함에 있어 필요한 구성요소만을 도시하는 것으로 한다.However, other components that may be included in the packet collection /
패킷수집모듈(110)은 제1 외부기기(200)와 제2 외부기기(300) 간에 송수신되는 패킷들을 수집하여, 필터링 한 후 저장한다.The packet collecting
구체적으로 설명하면, 패킷수집부(112)가 네트워크를 통해 제1 외부기기(200)와 제2 외부기기(300) 간에 송수신되는 패킷들을 수집한다. 수집된 네트워크 패킷들은 필터(114)를 거쳐 제1 저장부(116)에 저장이 된다.In detail, the
여기서, 제1 외부기기(200)는 개발 대상 기기를 말하고, 제2 외부기기(300)는 제1 외부기기(200)의 검증을 위한 상대기기를 말한다.Here, the first
패킷처리모듈(120)은 패킷수집모듈(110)이 네트워크상의 제1 외부기기와 제2 외부기기로부터 수집된 패킷들 중 일부 패킷들을 선택 처리한다.The
구체적으로, 패킷분석부(122)가 제1 저장부(116)로부터 저장된 네트워크 패킷들을 전달받아, 이를 분석한다. 여기서, 일반적인 네트워크 패킷들은 헤 더(header)와 사용자데이터 및 CRC데이터로 구성이 된다. In detail, the
이와 같은 네트워크 패킷의 헤더에는 출발지의 주소와 도착지의 주소가 기록되어 있어, 헤더를 이용하여 패킷수집부(112)가 특정 주소(여기서는, 제1 외부기기 또는 제2 외부기기 중 어느 하나를 말함)에서 보낸 네트워크 패킷들을 모을 수 있게 되고, 이를 패킷분석부(122)가 분석한다.In the header of such a network packet, an address of a source and an address of a destination are recorded, and the
사용자 뷰어(viewer)(125)는 수집된 네트워크 패킷들을 사용자가 볼 수 있는 형태로 가공처리하여, 사용자가 선택가능한 형태로 디스플레이한다.The
편집부(124)는 사용자의 명령에 따라 분석된 네트워크 패킷들 중 일부 패킷들을 선택하여 재편집한다.The
제2 저장부(126)에는 사용자의 선택에 따라 재편집된 일부 네트워크 패킷들이 저장된다.The
에뮬레이터(130)는 선택 처리된 일부 패킷들을 이용하여 제1 외부기기(200)의 검증을 위한 상대기기인 제2 외부기기(300)의 역할을 동일하게 재현한다. 또한, 에뮬레이터(130)는 선택 처리된 일부 패킷들을 그대로 재현하거나 일부 패킷의 내용을 수정하여 재현하는 것이 가능하다.The
다시 말하면, 에뮬레이터(130)는 제2 외부기기(300)를 대신하여 제1 외부기기(200)와의 패킷 송수신을 수행한다. 예를 들면, IEEE 1394 기기를 예로 들면, 에뮬레이터(130)는 제2 외부기기(300)의 GUID를 비롯한 정보가 들어 있는 Config ROM을 에뮬레이션하여 제1 외부기기(200)의 요청시 제2 외부기기(300)와 같은 Config ROM 정보를 제공하여, 네트워크 상에서 제2 외부기기(300)와 같이 동작하게 된다.In other words, the
또한, 에뮬레이터(130)는 제1 외부기기(200)의 요청에 의해 제2 외부기기(300)의 응답속도와 동일한 시간에 응답하는 기능을 수행한다. 이는 패킷의 타임 스탬프(Time Stamp) 정보를 활용하여 구현이 된다.In addition, the
이에, 제1 외부기기(200)의 검증을 위한 상대기기인 제2 외부기기(300)를 조작하지 않아도, 에뮬레이터(130)가 제2 외부기기(300)와 동일한 동작을 수행하므로, 개발 대상 기기인 제1 외부기기(200)의 개발시 반복적인 노력을 줄일 수 있게 된다.Accordingly, the
도 2는 본 발명의 일 실시예에 따른 패킷 수집/분석 장치의 에뮬레이션 방법의 설명에 제공되는 흐름도이다.2 is a flowchart provided to explain an emulation method of a packet collection / analysis apparatus according to an embodiment of the present invention.
도 1 및 도 2를 참조하면, 패킷수집모듈(110)이 제1 외부기기(200)와 제2 외부기기(300) 간에 송수신되는 패킷들을 수집한다(S210).1 and 2, the packet collecting
다시 말하면, 패킷수집모듈(110) 내의 패킷수집부(112)가 네트워크를 통해 제1 외부기기(200)와 제2 외부기기(300) 간에 송수신되는 패킷들을 수집하고, 수집된 네트워크 패킷들은 필터(114)를 거쳐 제1 저장부(116)에 저장이 된다.In other words, the
여기서, 제1 외부기기(200)는 개발 대상 기기를 말하고, 제2 외부기기(300)는 제1 외부기기(200)의 검증을 위한 상대기기를 말한다고 전술한 바 있다.Here, the first
패킷처리모듈(120)은 패킷수집모듈(110)이 네트워크상의 제1 외부기기와 제2 외부기기로부터 수집된 패킷들 중 일부 패킷들을 선택 처리한다(S220).The
다시 말하면, 패킷분석부(122)가 제1 저장부(116)로부터 저장된 네트워크 패킷들을 전달받아 이를 분석한다. 네트워크 패킷의 헤더에는 출발지의 주소와 도착 지의 주소가 기록되어 있어, 헤더를 이용하여 패킷수집부(112)가 특정 주소(여기서는, 제1 외부기기 또는 제2 외부기기 중 어느 하나를 말함)에서 보낸 네트워크 패킷들을 모을 수 있게 되고, 이를 패킷분석부(122)가 분석한다.In other words, the
그리고, 사용자 뷰어(viewer)(125)는 수집된 네트워크 패킷들을 사용자가 볼 수 있는 형태로 가공처리하여, 사용자가 선택가능한 형태로 디스플레이한다. 또한, 편집부(124)는 사용자의 명령에 따라 분석된 네트워크 패킷들 중 일부 패킷들을 선택하여 재편집하고, 사용자의 선택에 따라 재편집된 일부 네트워크 패킷들은 제2 저장부(126)에 저장된다.In addition, the
에뮬레이터(130)가 선택 처리된 일부 패킷들을 이용하여 제1 외부기기(200)의 검증을 위한 상대기기인 제2 외부기기(300)의 역할을 동일하게 재현한다(S230). 또한, 에뮬레이터(130)는 선택 처리된 일부 패킷들을 그대로 재현하거나 일부 패킷의 내용을 수정하여 재현하는 것이 가능하다.The
에뮬레이터(130)가 개발 대상 기기인 제1 외부기기(S240)를 검증한다(S240).The
다시 말하면, 에뮬레이터(130)는 제2 외부기기(300)를 대신하여 제1 외부기기(200)와의 패킷 송수신을 수행한다. 또한, 에뮬레이터(130)는 제1 외부기기(200)의 요청에 의해 제2 외부기기(300)의 응답속도와 동일한 시간에 응답하는 기능을 수행한다. 이는 패킷의 타임 스탬프(Time Stamp) 정보를 활용하여 구현이 된다.In other words, the
검증 결과 제1 외부기기(200)가 정상적으로 동작할 경우(S250), 설정된 사항을 저장 후 종료한다(S260).As a result of the verification, when the first
여기서, S250단계에서, 제1 외부기기(200)가 정상적으로 동작하지 않을 경우 에는, 제1 외부기기(200)에 대한 일부 패킷의 내용을 수정하여 다시 검증하는 절차를 수행한다(S255).Here, in operation S250, when the first
이에, 제1 외부기기(200)의 검증을 위한 상대기기인 제2 외부기기(300)를 조작하지 않아도, 에뮬레이터(130)가 제2 외부기기(300)와 동일한 동작을 수행하므로, 개발 대상 기기인 제1 외부기기(200)의 개발시 반복적인 노력을 줄일 수 있게 된다.Accordingly, the
이상에서 설명한 바와 같이, 본 발명에 따르면, 네트워크 패킷 수집/분석장치를 통해 얻은 결과를 재구성하여 특정기기가 발생시킨 네트워크 패킷을 그대로 재현하거나 패킷 중 일부 내용을 수정하여 재현하므로써, 새로운 에뮬레이터의 개발없이도 필요한 상황에 맞는 동작을 발생시켜 기기의 개발이나 테스트에 활용할 수 있는 효과가 있다.As described above, according to the present invention, by reconstructing the result obtained through the network packet collection / analysis device to reproduce the network packet generated by a specific device as it is, or by modifying the contents of some of the packets, without developing a new emulator It generates an action that fits the need and can be used for device development or testing.
또한, 이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어 져서는 안 될 것이다.In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the above-described specific embodiment, the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060061810A KR100768916B1 (en) | 2006-07-03 | 2006-07-03 | Packet gathering/analysis apparatus and method using the emulating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060061810A KR100768916B1 (en) | 2006-07-03 | 2006-07-03 | Packet gathering/analysis apparatus and method using the emulating |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100768916B1 true KR100768916B1 (en) | 2007-10-19 |
Family
ID=38815394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060061810A KR100768916B1 (en) | 2006-07-03 | 2006-07-03 | Packet gathering/analysis apparatus and method using the emulating |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100768916B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050113273A (en) * | 2003-03-31 | 2005-12-01 | 주식회사 아도반테스토 | Test emulation device, test module emulation device, and recording medium recorded with programs for the devices |
-
2006
- 2006-07-03 KR KR1020060061810A patent/KR100768916B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050113273A (en) * | 2003-03-31 | 2005-12-01 | 주식회사 아도반테스토 | Test emulation device, test module emulation device, and recording medium recorded with programs for the devices |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908541B (en) | Interface testing method and device, computer equipment and storage medium | |
US7904580B2 (en) | Digital media player exposing operational state data | |
EP1480379B1 (en) | Automated characterization of network traffic | |
CN101478449B (en) | Protocol automatic test method and system thereof | |
US20120284696A1 (en) | Method, Apparatuses and a System for Compilation | |
CN112714047B (en) | Industrial control protocol flow based test method, device, equipment and storage medium | |
US20060259542A1 (en) | Integrated testing approach for publish/subscribe network systems | |
CN111008135B (en) | APP test method, device, equipment and storage medium | |
CN102047717B (en) | Method and system for telecommunications using layer 3 packets obtained from a sequence of layer 2 radio link control layer data frames | |
JPH09326796A (en) | Method for generating test packet to simulate computer network communication and its device | |
Tüxen et al. | Interface connecting the INET simulation framework with the real world | |
US20160277357A1 (en) | Firewall testing | |
WO2007061241A1 (en) | Error test method for mobile communication terminals | |
Lin et al. | Low-storage capture and loss recovery selective replay of real flows | |
CN110198480A (en) | A kind of code stream test method and device | |
CN104063306B (en) | Automatic logging method, device and system in intelligent terminal software test | |
KR100768916B1 (en) | Packet gathering/analysis apparatus and method using the emulating | |
CN115221071A (en) | Chip verification method and device, electronic equipment and storage medium | |
Bergström | Automatic generation of network configuration in simulated time sensitive networking (TSN) applications | |
CN110266554A (en) | A kind of test method of privately owned communication protocol | |
CN109985387B (en) | Automatic testing method and device | |
CN110795338B (en) | Front-end and back-end interaction-based automatic testing method and device and electronic equipment | |
JP5433753B1 (en) | Test apparatus and test method | |
CN101800680A (en) | Test device and test method of telecommunication system | |
CN112799956B (en) | Asset identification capability test method, device and system device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |