KR101040264B1 - Ethernet-based ad-hoc network verification system and verification method thereof - Google Patents

Ethernet-based ad-hoc network verification system and verification method thereof Download PDF

Info

Publication number
KR101040264B1
KR101040264B1 KR1020100093729A KR20100093729A KR101040264B1 KR 101040264 B1 KR101040264 B1 KR 101040264B1 KR 1020100093729 A KR1020100093729 A KR 1020100093729A KR 20100093729 A KR20100093729 A KR 20100093729A KR 101040264 B1 KR101040264 B1 KR 101040264B1
Authority
KR
South Korea
Prior art keywords
module
physical layer
ethernet
header
hoc network
Prior art date
Application number
KR1020100093729A
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 KR1020100093729A priority Critical patent/KR101040264B1/en
Application granted granted Critical
Publication of KR101040264B1 publication Critical patent/KR101040264B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/22Traffic simulation tools or models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A system and method for verifying an ad hoc network based on Ethernet is provided to previously verify software of an ad hoc network even in a point where development of hardware is not completed. CONSTITUTION: A network stack(10) includes an interface module(10e) and an IP processing module(10g). The network stack drives a communication unit(40) using an ad hoc network. The control unit(20) realizes physical layer influencing a network among a physical layer of the communication unit to a imitation physical layer module(10f) through an Ethernet. The control unit simulates driving of the communication unit.

Description

이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법 {ETHERNET-BASED AD-HOC NETWORK VERIFICATION SYSTEM AND VERIFICATION METHOD THEREOF}Ethernet-based ad hoc network verification system and verification method {ETHERNET-BASED AD-HOC NETWORK VERIFICATION SYSTEM AND VERIFICATION METHOD THEREOF}

본 발명은 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 관한 것이다. 보다 상세하게는, 네트워크 시스템의 하드웨어의 개발 완료 전에 실제 소프트웨어 코드의 성능을 검증하는 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 관한 것이다.The present invention relates to an Ethernet-based ad hoc network verification system and a verification method thereof. More specifically, the present invention relates to an Ethernet-based ad hoc network verification system for verifying the performance of actual software code before the development of hardware of a network system and a verification method thereof.

애드혹(Ad-hoc) 네트워크 시스템은 별도의 억세스 포인트(Access Point)와 같은 기반 구조(Infra-Structure) 없이도 노드 상호 간에 자율적인 무선통신을 수행하는 특징을 가진다. 이를 위해 애드혹 네트워크 시스템은 각각의 계층에서 동작하는 프로토콜을 가지며, 프로토콜이 동작하는 각각의 계층은 물리계층과, MAC계층과, 네트워크 계층과, 전송계층과, 응용계층 및 유선 라우팅 방식을 그대로 적용할 수 없는 애드혹 네트워크에서 애드혹 네트워크 특성을 반영한 라우팅 방식에 의해 네트워크 계층의 경로테이블을 업데이트하는 애드혹 라우팅 모듈로 나누어진다.Ad-hoc network system is characterized by autonomous wireless communication between nodes without an infrastructure (Infra-Structure), such as an access point (Access Point). To this end, the ad hoc network system has a protocol that operates in each layer, and each layer in which the protocol operates includes the physical layer, the MAC layer, the network layer, the transport layer, the application layer, and the wired routing method. In a number of ad hoc networks, it is divided into ad hoc routing modules that update the route table of the network layer by a routing method reflecting the ad hoc network characteristics.

응용계층은 가장 상위의 어플리케이션 계층이며, 응용계층의 하위계층으로서 전송제어프로토콜(Transmission Control Protocol; TCP)이나 사용자 데이터그램 프로토콜(User Datagram Protocol; UDP)이 동작하는 전송계층과, 애드혹 라우팅 모듈의 도움을 받아 전송 경로를 결정하고 전송계층이 요구하는 서비스 품질(QoS)을 제공하기 위한 기능적, 절차적 수단을 제공하는 네트워크계층과, 각각의 매체로의 접근을 제어하는 MAC(Medium Access Control) 부계층을 포함하는 데이터링크 계층과, MAC 계층으로부터 출력되는 패킷을 수신하거나 RF/안테나 등을 통해 수신된 패킷을 MAC 계층으로 출력하는 물리계층과, 주기적인 라우팅 제어메시지를 송수신하는 방식으로 최적 경로를 사전에 결정하는 방식(Preactive Routing) 또는 데이터 송신 시에 경로요청(RREQ; Route Request) 메시지 송신과 경로응답(RREP; Routing Reply) 메시지의 경로를 결정하는 방식(Reactive Routing)에 의해 네트워크계층의 경로테이블을 업데이트하는 애드혹 라우팅 모듈로 구분할 수 있다.The application layer is the highest application layer, and the lower layer of the application layer is a transport layer in which the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP) operates, and the ad hoc routing module is supported. A network layer that provides a functional and procedural means for determining a transmission path and providing a quality of service (QoS) required by the transport layer, and a medium access control (MAC) sublayer that controls access to each medium. A data link layer including a data layer, a physical layer that receives a packet output from the MAC layer or outputs a packet received through an RF / antenna, etc. to the MAC layer, and transmits and receives a periodic routing control message in advance to pre-optimize an optimal path. Route request (RREQ) message transmission and route at the time of pre-routing or data transmission Routing Reply (RREP) can be classified into an ad hoc routing module that updates the routing table of the network layer by a method of determining the routing of a message (Reactive Routing).

한편, 애드혹 네트워크 시스템의 개발을 위해서는 표준을 준수하는 전송계층과 네트워크 계층을 제외한 응용계층과, 애드혹 라우팅 모듈과, 데이터링크 계층(MAC 계층)과, 물리계층을 사전에 구현하고 검증하는 작업이 필요하다.Meanwhile, in order to develop an ad hoc network system, an application layer, an ad hoc routing module, a data link layer (MAC layer), and a physical layer except for a transport layer and a network layer compliant with standards are required to be implemented and verified in advance. Do.

일반적으로 이러한 검증작업은 네트워크 M&S (Modeling & Simulation) 도구를 이용하여 진행된다. 그런데, 네트워크 M&S에 기반한 검증작업은 네트워크 알고리즘 자체에 대한 검증은 가능하지만 하드웨어의 특성이 반영된 테스트가 용이하지 않다.Typically, this verification is done using network M & S (Modeling & Simulation) tools. By the way, verification work based on network M & S can verify the network algorithm itself, but it is not easy to test reflecting the characteristics of hardware.

따라서, 하드웨어의 개발이 완료되기 전에 구현된 소프트웨어에 대한 충실도(Fidelity) 높은 테스트를 실시하기 어려워 하드웨어와 소프트웨어의 통합기간이 길어지고, 결과적으로 애드혹 네트워크 소프트웨어 개발기간 및 개발에 따른 제비용이 증가하는 문제가 있다.Therefore, it is difficult to conduct high fidelity tests on the implemented software before the development of the hardware is completed, resulting in a long integration time between the hardware and the software, and consequently, the development time of ad hoc network software and the cost of developing it. There is.

따라서, 본 발명은 하드웨어의 개발이 완료되지 않은 시점에서도 애드혹 네트워크의 소프트웨어에 대한 사전검증이 가능하도록 하여 개발기간을 단축하고 개발비용을 절감시킬 수 있는 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법을 제공하는 것을 목적으로 한다.Accordingly, the present invention provides an Ethernet-based ad hoc network verification system and a method of verifying the ad hoc network which can be pre-verified even when hardware development is not completed, thereby reducing development time and reducing development costs. It aims to do it.

또한, 본 발명은 이더넷을 통해 모의물리계층을 구현함으로써 네트워크에 영향을 주는 하드웨어의 특성을 사전에 쉽게 파악할 수 있는 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법을 제공하는 것을 목적으로 한다.In addition, an object of the present invention is to provide an Ethernet-based ad hoc network verification system and a verification method thereof, which can easily grasp in advance the characteristics of hardware affecting the network by implementing a simulation physical layer through Ethernet.

그리고, 본 발명은 모의물리계층에서 다양한 기능들을 시뮬레이션함으로써 검증과정의 정확도를 높일 수 있는 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법을 제공하는 것을 목적으로 한다.In addition, an object of the present invention is to provide an Ethernet-based ad hoc network verification system and its verification method that can improve the accuracy of the verification process by simulating various functions in the simulation physical layer.

상기 목적은, 애드혹 네트워크를 이용한 통신부를 구동하는 네트워크 스택과; 상기 네트워크 스택의 하위모듈 중 상기 통신부의 종류와 무관하게 동작하는 하위모듈과, 상기 통신부의 물리계층 중 네트워크에 영향을 미치는 물리계층 요소들을 이더넷을 통해 모의 물리계층모듈로 구현하여 상기 통신부의 구동을 시뮬레이션하는 제어부를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템에 의해 달성된다.The object is a network stack for driving a communication unit using an ad hoc network; Among the lower modules of the network stack, the lower module operating regardless of the type of the communication unit and the physical layer elements affecting the network among the physical layers of the communication unit are implemented as simulated physical layer modules through Ethernet to drive the communication unit. It is achieved by an Ethernet-based ad hoc network verification system, characterized in that it comprises a control unit for simulating.

상기 모의 물리계층모듈은, 상기 제어부의 제어에 의해 실제 설계된 물리계층의 송신 처리시간 지연 및 수신 처리시간 지연 모의기능과, 채널 사용 여부의 보고 모의 기능과, BER 품질 모의 기능 중 적어도 하나를 시뮬레이션할 수 있다.The simulation physical layer module may simulate at least one of a transmission processing time delay and a reception processing time delay simulation function, a report simulation function of channel usage, and a BER quality simulation function of an actually designed physical layer under the control of the controller. Can be.

상기 하위모듈은, 상기 통신부에 공통적으로 사용되는 인터페이스를 포함하며, 데이터링크 프레임을 상기 모의 물리계층모듈 또는 구현이 완료되는 시점의 실제 물리계층으로 전달할지 여부를 결정하는 인터페이스 모듈과; 데이터의 송신 시에 상기 네트워크 스택에서 생성된 프레임에 IP 헤더를 추가하고, 상기 추가된 IP 헤더 내에 1홉 통달 거리 내의 모든 노드가 패킷을 수신하는 무선통신의 특성을 반영하기 위해 상기 송신될 데이터의 목적지 IP 어드레스를 설정하는 IP 가공모듈을 포함할 수 있다.The lower module may include an interface commonly used in the communication unit, and an interface module configured to determine whether to transfer a data link frame to the simulated physical layer module or the actual physical layer at the completion of the implementation; In the transmission of data, an IP header is added to a frame generated in the network stack, and in the added IP header, the data of the data to be transmitted is reflected to reflect a characteristic of wireless communication in which all nodes within one hop communication distance receive packets. IP processing module for setting the destination IP address may be included.

상기 제어부는, 상기 데이터를 송신하는 송신지 노드로부터 기설정된 통신 통달 거리 내에 위치하여 상기 데이터를 수신한 노드 중 상기 목적지 IP 어드레스와 자신의 어드레스가 일치하지 않는 노드는 상기 데이터를 삭제하도록 상기 각각의 노드를 제어할 수 있다.The control unit may be configured to delete the data so that a node located within a predetermined communication communication distance from a source node transmitting the data and whose node does not match the destination IP address among the nodes receiving the data is deleted. You can control the node.

상기 제어부는, 상기 데이터를 송신하는 송신지 노드로부터 기설정된 거리 밖에 위치한 목적지 노드로 상기 데이터를 송신하기 위해, 상기 송신지 노드로부터 기설정된 통신 통달 거리 내에 위치하며 라우팅 정보가 저장된 중간지 노드를 경유하여 상기 데이터를 송신하도록 상기 각각의 노드를 제어할 수 있다.The control unit, via the intermediate node is located within a predetermined communication communication distance from the source node and stored routing information to transmit the data to a destination node located outside the predetermined distance from the transmitting node for transmitting the data. Control each node to transmit the data.

한편, 데이터링크 프레임을 수신하는 단계; 모의 물리계층모듈로 상기 데이터링크 프레임을 송신하는 단계; IP 가공모듈에서 IP 헤더를 생성한 후, 상기 데이터링크 프레임에 추가하여 새로운 IP 데이터그램을 생성하는 단계; 상기 생성된 IP 데이터그램을 IP 스택을 통해 이더넷 디바이스로 전달하는 단계; 및 상기 모의 물리계층모듈은 설계된 통신부의 물리계층 송신 처리 지연 시간을 반영한 시간만큼의 지연 시간 경과 후 상기 IP 데이터그램을 IP 가공모듈로 전송하는 단계를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법에 의해서도 상기 목적은 달성된다.On the other hand, receiving a datalink frame; Transmitting the data link frame to a simulated physical layer module; Generating an IP header in an IP processing module and generating a new IP datagram by adding to the data link frame; Delivering the generated IP datagram to an Ethernet device via an IP stack; And the simulation physical layer module transmits the IP datagram to the IP processing module after a delay time as long as the time reflecting the physical layer transmission processing delay time of the designed communication unit is passed to the IP processing module. The above object is also achieved.

상기 IP 가공모듈이 상기 IP 스택으로부터 가공된 상기 IP 데이터그램을 수신하는 단계; 상기 IP 가공모듈이 상기 수신한 IP 데이터그램의 IP 헤더를 파싱하는 단계; 상기 IP 가공모듈이 상기 IP 데이터그램에 포함된 IP 주소가 브로드캐스트 주소인지 여부를 확인하는 단계; 상기 확인결과 상기 IP 주소가 상기 브로드캐스트 주소와 일치하는 경우 상기 IP 헤더를 제거하는 단계; 상기 IP 헤더가 제거된 데이터링크 프레임을 상기 모의 물리계층모듈로 전송하는 단계; 및 상기 모의 물리계층모듈은 수신처리시간을 반영한 만큼의 지연시간 경과 후 인터페이스 모듈로 상기 데이터링크 프레임을 전송하는 단계를 포함할 수 있다.The IP processing module receiving the processed IP datagram from the IP stack; Parsing, by the IP processing module, an IP header of the received IP datagram; Checking, by the IP processing module, whether the IP address included in the IP datagram is a broadcast address; Removing the IP header when the verification result matches the IP address; Transmitting the data link frame from which the IP header has been removed to the simulated physical layer module; And transmitting, by the simulation physical layer module, the data link frame to the interface module after a delay time as long as the reception processing time has elapsed.

또한, IP 가공모듈이 IP 스택으로부터 가공된 IP 데이터그램을 수신하는 단계; 상기 IP 가공모듈이 상기 수신한 IP 데이터그램의 IP 헤더를 파싱하는 단계; 상기 IP 가공모듈이 상기 IP 데이터그램에 포함된 IP 주소가 브로드캐스트 주소인지 여부를 확인하는 단계; 상기 확인결과 상기 IP 주소가 상기 브로드캐스트 주소와 일치하는 경우 상기 IP 헤더를 제거하는 단계; 상기 IP 헤더가 제거된 데이터링크 프레임을 상기 모의 물리계층모듈로 전송하는 단계; 및 상기 모의 물리계층모듈은 수신처리시간을 반영한 만큼의 지연시간 경과 후 인터페이스 모듈로 상기 데이터링크 프레임을 전송하는 단계를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법에 의해서도 상기 목적은 달성된다.In addition, the IP processing module receiving the processed IP datagram from the IP stack; Parsing, by the IP processing module, an IP header of the received IP datagram; Checking, by the IP processing module, whether the IP address included in the IP datagram is a broadcast address; Removing the IP header when the verification result matches the IP address; Transmitting the data link frame from which the IP header has been removed to the simulated physical layer module; And the above object is achieved by the Ethernet-based ad hoc network verification method, characterized in that the simulated physical layer module includes transmitting the data link frame to the interface module after a delay time as long as the reception processing time.

물리계층 프레임이 프리엠블과 데이터 슬롯으로 구성된다고 할 때, 상기 모의 물리계층모듈은 인터페이스 모듈로 상기 물리계층 프레임 내의 프리엠블 수신 처리 지연 시간만큼 지연시킨 후, 상위 계층에 채널이 사용 중임을 알리는 보고하는 단계; 및 상기 실제 물리계층의 물리계층 데이터 슬롯 수신처리 시간만큼 지연 후, 인터페이스 모듈로 데이터링크 프레임을 전달하고, 채널이 사용 중이지 않음을 보고하는 단계를 더 포함할 수 있다.When the physical layer frame is composed of a preamble and a data slot, the simulated physical layer module delays the preamble reception processing delay time in the physical layer frame to the interface module, and then reports to the upper layer that the channel is in use. Making; And transmitting a data link frame to an interface module after delaying the physical layer data slot reception processing time of the actual physical layer, and reporting that the channel is not in use.

본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 의하면 하드웨어의 개발이 완료되지 않은 시점에서도 애드혹 네트워크의 소프트웨어에 대한 사전검증이 가능하도록 하여 개발기간을 단축하고 개발비용을 절감시킬 수 있다.According to the Ethernet-based ad hoc network verification system and the verification method according to the present invention, it is possible to pre-verify the software of the ad hoc network even when the development of hardware is not completed, thereby shortening the development period and reducing the development cost.

또한, 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 의하면 이더넷을 통해 모의물리계층을 구현함으로써 네트워크에 영향을 주는 하드웨어의 특성을 사전에 쉽게 파악할 수 있다.In addition, according to the Ethernet-based ad hoc network verification system and the verification method according to the present invention, it is possible to easily determine the characteristics of the hardware affecting the network in advance by implementing a simulation physical layer through Ethernet.

그리고, 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 의하면 모의물리계층에서 다양한 기능들을 시뮬레이션함으로써 검증과정의 정확도를 높일 수 있다.In addition, according to the Ethernet-based ad hoc network verification system and the verification method according to the present invention, it is possible to increase the accuracy of the verification process by simulating various functions in the simulation physical layer.

도 1은 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템의 구성을 도시한 블록도이며,
도 2는 실제 무선환경에서 데이터가 전송되는 과정을 도시한 도면이며,
도 3은 본 발명에 따른 IP 가공모듈에 의해 가공된 패킷의 구조를 도시한 도면이며,
도 4는 실제 무선 네트워크 환경에서 2홉(hop) 거리 내에 있는, 송신지 노드가 중간지 노드를 거쳐 목적지 노드로 패킷을 전송하는 과정을 도시한 도면이며,
도 5는 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템에서 인터페이스 모듈과, 모의 물리계층모듈과, IP 가공모듈의 패킷 송신과정을 도시한 흐름도이며,
도 6는 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템에서 인터페이스 모듈과, 모의 물리계층모듈과, IP 가공모듈의 패킷 수신과정을 도시한 흐름도이다.
1 is a block diagram showing the configuration of an Ethernet-based ad hoc network verification system according to the present invention,
2 is a diagram illustrating a process of transmitting data in an actual wireless environment.
3 is a view showing the structure of a packet processed by the IP processing module according to the present invention,
FIG. 4 is a diagram illustrating a process of transmitting a packet to a destination node through a intermediate node, which is within two hop distances in an actual wireless network environment.
5 is a flowchart illustrating a packet transmission process of an interface module, a simulated physical layer module, and an IP processing module in an Ethernet-based ad hoc network verification system according to the present invention.
6 is a flowchart illustrating a packet reception process of an interface module, a simulated physical layer module, and an IP processing module in an Ethernet-based ad hoc network verification system according to the present invention.

이하, 첨부된 도면을 참조하여 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템 및 그 검증방법에 대해 상세히 설명한다.Hereinafter, an Ethernet-based ad hoc network verification system and a verification method thereof according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템의 구성을 도시한 블록도이다. 도 1에 도시된 바와 같이, 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템은 네트워크 스택(10)과, 제어부(20)와, 이더넷 디바이스(30)를 포함하며, Non-시뮬레이션 모드 및 시뮬레이션 모드 중 사용자의 선택에 따라 통신부(40)를 선택적으로 포함할 수 있다.1 is a block diagram showing the configuration of an Ethernet-based ad hoc network verification system according to the present invention. As shown in FIG. 1, the Ethernet-based ad hoc network verification system according to the present invention includes a network stack 10, a control unit 20, and an Ethernet device 30, and includes a user in a non-simulation mode and a simulation mode. According to the selection of the communication unit 40 may be selectively included.

네트워크 스택(10)은 IP 스택(10a)과, 애드혹 라우팅 모듈(10b)과, 라우팅 처리부를 포함하는 이더넷 드라이버(10c)와, 네트워크 드라이버(10d) 등과 같이 애드혹 네트워크를 이용한 통신부(40)를 구동하는 각각의 기능을 수행하는 공지의 하위모듈을 포함한다.The network stack 10 drives the IP stack 10a, the ad hoc routing module 10b, the Ethernet driver 10c including the routing processing unit, and the communication unit 40 using the ad hoc network, such as the network driver 10d. It includes a known submodule that performs each function.

여기서, 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템은 인터페이스 모듈(10e)과, 모의 물리계층모듈(10f)과, IP 가공모듈(10g)을 포함한다.Here, the Ethernet-based ad hoc network verification system according to the present invention includes an interface module 10e, a simulated physical layer module 10f, and an IP processing module 10g.

인터페이스 모듈(10e)은 통신부(40)에 공통적으로 사용되는 인터페이스를 포함한다.The interface module 10e includes an interface commonly used for the communication unit 40.

그리고, 모의 물리모듈계층(10f)은 통신부(40)의 물리계층 중 네트워크에 영향을 미치는 물리계층을 이더넷을 통해 모의로 구현한다.In addition, the simulated physical module layer 10f simulates the physical layer affecting the network among the physical layers of the communication unit 40 through the Ethernet.

그리고, IP 가공모듈(10g)은 데이터의 송신 시에 드라이버(10)에서 생성된 프레임에 IP 헤더를 추가하고, 추가된 IP 헤더 내에 송신될 데이터의 목적지 IP 어드레스를 설정한다.The IP processing module 10g adds an IP header to the frame generated by the driver 10 at the time of data transmission, and sets a destination IP address of the data to be transmitted in the added IP header.

제어부(20)는 모의 물리계층모듈(10f)을 통해 통신부(40)의 구동을 시뮬레이션하며, 패킷 전송 성공률과, 패킷 전송 지연과, 애드혹 라우팅 성능과, 오버헤드와, 패킷 전송 품질과, MAC 성능 중 적어도 하나를 측정할 수 있다. 본 발명에 따른 제어부(20)는 응용프로그램 뿐만 아니라 운영체제의 커널과 같이 하드웨어의 정보를 포함하는 펌웨어의 기능도 수행할 수 있어야 한다. 이로써, 하드웨어인 모뎀이나 RF/안테나 등과 같은 통신부의 개발이 완료되기 전 통신부(40)가 실제로 시스템에 통합되기 이전에도 네트워크 소프트웨어에 대한 사전 검증작업이 가능하다.The control unit 20 simulates the operation of the communication unit 40 through the simulated physical layer module 10f, packet transmission success rate, packet transmission delay, ad hoc routing performance, overhead, packet transmission quality, and MAC performance. At least one of can be measured. The control unit 20 according to the present invention should be able to perform not only an application but also a function of firmware including hardware information such as a kernel of an operating system. Thus, before the development of a communication unit such as a modem or an RF / antenna, which is hardware, the pre-verification of network software is possible even before the communication unit 40 is actually integrated into the system.

이하, 도 2를 참조하여 실제 무선환경에서 데이터가 전송되는 과정과, 본 발명에 따른 모의 물리계층모듈(10f)에 의해 데이터가 전송되는 과정을 비교하여 살펴보기로 한다.Hereinafter, a process of transmitting data in an actual wireless environment and a process of transmitting data by the simulated physical layer module 10f according to the present invention will be described with reference to FIG. 2.

도 2는 실제 무선환경에서 데이터가 전송되는 과정을 도시한 도면이다. 도 2에 도시된 바와 같이, 실제 무선환경에서는 송신지 노드(SN)로부터 1홉(hop) 거리 내에 있는 노드들은 우선 데이터를 수신하고, 목적지 노드(RN)는 전송된 패킷 내의 데이터링크 헤더와 IP 헤더 내의 목적지 어드레스가 자신의 어드레스와 일치하면 패킷을 최종적으로 수신하고, 패킷 내의 DL 헤더와 IP 헤더 내의 목적지 주소가 자신의 주소와 다른 경우 패킷을 삭제한다.2 is a diagram illustrating a process of transmitting data in an actual wireless environment. As shown in FIG. 2, in a real wireless environment, nodes within one hop from the source node SN receive data first, and the destination node RN receives the datalink header and IP in the transmitted packet. If the destination address in the header matches its own address, the packet is finally received. If the destination header in the DL header and the IP address in the packet is different from the address, the packet is deleted.

이러한 데이터 송신과정은 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템에서 아래와 같이 이루어진다.This data transmission process is performed as follows in the Ethernet-based ad hoc network verification system according to the present invention.

응용 계층으로부터 애드혹 네트워크 망에 속하는 노드가 목적지인 데이터가 생성되어 네트워크 스택(10)에 송신을 요청(통상적으로는 Socket에 의해)하게 되면, 전송 계층과 네트워크(IP) 계층을 거치면서 패킷화되며, IP 계층에서는 라우팅 테이블을 참조하여 애드혹 네트워크 드라이버로 패킷을 전달한다. 애드혹 네트워크 드라이버 내의 애드혹 네트워크 계층은 데이터링크 프레임을 생성하고, 부계층인 MAC은 먼저 채널이 사용 중인지 확인하고, 채널이 사용 중이 아니라면 랜덤하게 결정되는 Back-off 시간만큼 기다린 후 패킷을 하위 계층으로 전달하며, 일반적으로는 물리계층으로 전달된다.When data belonging to a node belonging to an ad hoc network network is generated from the application layer and requests transmission to the network stack 10 (typically by a socket), the packet is packetized through the transport layer and the network (IP) layer. At the IP layer, the packet is forwarded to the ad hoc network driver by referencing the routing table. The ad hoc network layer in the ad hoc network driver generates a datalink frame, the sublayer MAC first checks if the channel is in use, waits for a randomly determined back-off time if the channel is not in use, and then forwards the packet to the lower layer. It is usually delivered to the physical layer.

물리 계층이 구현되지 않은 시점에서 애드혹 네트워크 소프트웨어를 검증하는 것을 목적으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템에서는 애드혹 데이터링크 계층(애드혹 네트워크 드라이버)에서 생성된 데이터링크 프레임을 수신하기 위해 대기하고 있는 인터페이스 모듈(10e)로 전달된다. 인터페이스 모듈(10e)은 제어부(20)의 제어에 의해 모의 물리계층모듈(10f)으로 전달할지 구현이 완료된 때의 실제 물리계층으로 전달할지 여부를 결정하며, 애드혹 네트워크 드라이버 내에 구현하는 것도 가능하다.In an Ethernet-based ad hoc network verification system aimed at verifying ad hoc network software when the physical layer is not implemented, an interface module (waiting to receive a data link frame generated at an ad hoc data link layer (ad hoc network driver)) 10e). The interface module 10e determines whether to deliver to the simulated physical layer module 10f or to the actual physical layer when the implementation is completed under the control of the controller 20, and may be implemented in an ad hoc network driver.

인터페이스 모듈(10e)은 애드혹 데이터링크 계층으로부터 데이터링크 프레임이 수신되면, 제어부(20)에 의해 설정된 모의 물리계층모듈(10f)으로 패킷이 전달된다.When the interface module 10e receives the datalink frame from the ad hoc datalink layer, the packet is delivered to the simulated physical layer module 10f set by the controller 20.

다음으로, 모의 물리계층모듈(10f)에서는 이더넷의 송신 전달 시간과 모의 물리계층모듈(10f)의 송신 처리 시간과의 차이만큼의 시간을 지연시킨 후 IP 가공모듈(10g)로 패킷을 전달하며, 전달 후 상위 모듈로 패킷의 전달완료 메시지를 전송한다.Next, the simulation physical layer module 10f delays the time by the difference between the transmission transmission time of the Ethernet and the transmission processing time of the simulation physical layer module 10f, and then delivers the packet to the IP processing module 10g. After delivery, the packet complete message is transmitted to the upper module.

그리고, IP 가공모듈(10g)은 모의 물리계층모듈(10f)로부터 애드혹 데이터링크 패킷을 전달받아, 전달받은 패킷에 IP 헤더를 추가하여 패킷을 생성한 후에 생성된 IP 계층의 전송모듈로 전송한다. 이 때, IP 헤더의 발신지 IP 어드레스는 이더넷 망의 IP로 하고, 1홉 통달 거리 내의 모든 노드가 패킷을 수신하는 무선통신의 특성을 반영하기 위해 목적지의 IP 주소는 이더넷 망의 브로드캐스트 주소로 설정한다.The IP processing module 10g receives the ad hoc data link packet from the simulated physical layer module 10f, adds an IP header to the received packet, generates the packet, and transmits the packet to the transport module of the generated IP layer. At this time, the source IP address of the IP header is set to the IP of the Ethernet network, and the IP address of the destination is set to the broadcast address of the Ethernet network to reflect the characteristics of wireless communication in which all nodes within one hop distance are receiving packets. do.

다음으로, IP 스택(10a)은 IP 상위계층으로부터 전달된 패킷과 동일한 방법으로 IP 가공모듈(10g)에 의해 생성된 패킷을 전송한다. 그리고, 이더넷 헤더와 트레일러가 정상적으로 추가되어 이더넷 프레임이 생성되며, 이더넷 네트워크 디바이스로 전달되어 전송된다.Next, the IP stack 10a transmits the packet generated by the IP processing module 10g in the same manner as the packet transmitted from the IP upper layer. Then, the Ethernet header and the trailer are added normally to generate an Ethernet frame, which is transmitted to the Ethernet network device and transmitted.

이 때, 목적지의 IP 주소가 브로드캐스트 주소이므로 목적지 이더넷 MAC 주소도 브로드캐스트 주소로 설정된다.At this time, since the destination IP address is a broadcast address, the destination Ethernet MAC address is also set as the broadcast address.

한편, 목적지 노드(RN)에서의 네트워크 스택(10)은 다음과 같은 동작을 수행한다.Meanwhile, the network stack 10 at the destination node RN performs the following operation.

먼저, 목적지 노드(RN)는 목적지 이더넷 MAC 주소가 브로드캐스트 주소이므로 패킷을 수신하여, IP 스택(10a)로 전달한다.First, since the destination Ethernet MAC address is a broadcast address, the destination node RN receives the packet and delivers it to the IP stack 10a.

IP 스택(10a)은 수신된 IP 데이터그램의 IP 헤더 내에 있는 모의용 IP 헤더 여부 필드(IP 헤더의 reserved 필드를 이용)를 검사한다. 검사 결과 IP 가공헤더인 경우, IP 가공헤더를 제거하지 않고 IP 가공모듈(10g)로 IP 가공 데이터그램을 전달한다(만약 패킷이 모의용 IP헤더가 아닌 경우에는 IP 스택(10a)은 정상적으로 처리한다). IP 가공모듈(10g)은 IP 스택(10a)로부터 패킷(애드혹 네트워크 모의용 패킷)을 수신한 후, IP 가공헤더의 목적지 주소가 애드혹 네트워크의 브로드캐스트 주소인 경우, 수신된 IP 패킷을 원상태로 돌려놓은 후, 모의 물리계층모듈(10f)로 전달한다.The IP stack 10a checks the simulated IP header presence field (using the reserved field of the IP header) in the IP header of the received IP datagram. As a result of the inspection, in the case of the IP processing header, the IP processing datagram is transmitted to the IP processing module 10g without removing the IP processing header. (If the packet is not the simulated IP header, the IP stack 10a processes normally. ). After receiving the packet (the ad hoc network simulation packet) from the IP stack 10a, the IP processing module 10g returns the received IP packet to its original state when the destination address of the IP processing header is the broadcast address of the ad hoc network. After the release, transfer to the simulated physical layer module (10f).

그리고, 모의 물리계층모듈(10f)은 IP 가공모듈(10g)로부터 패킷을 수신하면 채널이 사용 중인지 여부(CCA; Clear Channel Assessment)의 보고와 패킷 수신 처리 시간 지연 및 Bit Error Rate(BER)에 기초한 품질을 모의 반영한다. 즉, 모의 물리계층모듈(10f)은 패킷을 수신하면, 먼저 실제 설계된 물리계층 프레임 내의 프리엠블 수신 처리 시간만큼 지연시킨 후, 상위 계층에 채널이 사용 중임을 알리는 보고를 한다. 인터페이스 모듈(10e)은 모의 물리계층모듈(10f)으로부터 전달받은 보고를 애드혹 네트워크 드라이버로 전달한다. 여기서, 애드혹 네트워크 드라이버로 전달된 보고는 애드혹 데이터링크 계층 내 MAC 부계층에서 데이터 전송 충돌을 피하기 위한 정보로 사용한다.When receiving the packet from the IP processing module 10g, the simulated physical layer module 10f reports whether the channel is in use (CCA; Clear Channel Assessment) and the packet reception processing time delay and the Bit Error Rate (BER). It reflects the quality simulation. That is, when receiving the packet, the simulated physical layer module 10f first delays the preamble reception processing time in the actually designed physical layer frame, and then reports to the upper layer that the channel is in use. The interface module 10e delivers the report received from the simulated physical layer module 10f to the ad hoc network driver. Here, the report transmitted to the ad hoc network driver is used as information for avoiding a data transmission collision in the MAC sublayer in the ad hoc data link layer.

그 후, 다시 물리계층 프레임 내의 데이터 슬롯의 수신 처리 시간만큼 지연시킨 후, 인터페이스 모듈(10e)로 패킷을 전달한다. 이 때, 좀 더 정확한 지연을 위해서는 실제 설계된 물리계층모듈의 데이터 수신 처리 지연 시간과 이더넷의 수신처리시간 차이만큼 지연시킨다. 그 후 데이터 슬롯의 수신 처리 시간만큼 지연시키는 동안, 설계된 통신부(40)의 BER에 기초하여 수신된 패킷 전체에 대하여 임의의 비트에 에러를 발생시킨 후 인터페이스 모듈(10e)로 패킷을 전달한다. 에러를 발생시키는 일예로서 BER이 10-5인 경우에는 100000bit 단위 내에서 1bit 에러를 랜덤한 비트 위치에 발생시킨다.Thereafter, the network is delayed by the reception processing time of the data slot in the physical layer frame, and then the packet is delivered to the interface module 10e. At this time, for more accurate delay, delay the data reception processing delay time of the actually designed physical layer module by the difference between the reception processing time of Ethernet. Thereafter, while delaying the reception time of the data slot, an error is generated in an arbitrary bit for the entire received packet based on the BER of the designed communication unit 40, and then the packet is delivered to the interface module 10e. As an example of generating an error, when BER is 10 −5 , a 1 bit error is generated at a random bit position within a 100000 bit unit.

다음으로, 인터페이스 모듈(10e)은 모의 물리계층모듈(10f)로부터 전달받은 패킷을 네트워크 드라이버(10d)로 전달한다.Next, the interface module 10e delivers the packet received from the simulated physical layer module 10f to the network driver 10d.

그리하여, 네트워크 드라이버(10d) 내의 애드혹 네트워크 데이터링크 헤더를 파싱하고, 헤더의 목적지 데이터링크 주소가 자신의 주소와 일치하기 때문에 상위 계층인 IP 계층으로 전달한다.Thus, the ad hoc network data link header in the network driver 10d is parsed and forwarded to the IP layer, which is a higher layer because the destination data link address of the header matches its own address.

한편, 목적지 노드가 아닌 노드(TN)에서의 네트워크 스택(10)은 다음과 같은 동작을 수행한다.Meanwhile, the network stack 10 at the node TN other than the destination node performs the following operation.

먼저, 목적지 노드가 아닌 노드(TN)는 목적지 이더넷 MAC 주소가 브로드캐스트 주소이므로 패킷을 수신하여, IP 스택(10a)로 전달한다.First, the node TN, not the destination node, receives a packet and transmits the packet to the IP stack 10a since the destination Ethernet MAC address is a broadcast address.

목적지 노드(RN)와 마찬가지로 IP 스택(10a)은 수신 패킷의 IP 헤더 내의 IP 가공헤더 여부 필드(IP 헤더의 reserved 필드를 이용)를 검사한다. 검사 결과 IP 가공헤더인 경우, IP 가공헤더를 제거하지 않고 IP 가공모듈(10g)로 패킷을 전달한다. 여기서, 패킷이 모의용 IP헤더가 아닌 경우에는 IP 스택(10a)은 정상적으로 처리한다. IP 가공모듈(10g)은 IP 스택(10a)으로부터 패킷(애드혹 네트워크 모의용 패킷)을 수신한 후, IP 가공헤더의 목적지 주소가 애드혹 네트워크의 브로드캐스트 주소인 경우, 수신된 IP 패킷을 원상태로 돌려놓은 후, 모의 물리계층모듈(10f)로 전달한다.Like the destination node RN, the IP stack 10a checks the IP header status field (using the reserved field of the IP header) in the IP header of the received packet. In the case of the inspection result of the IP processing header, the packet is transmitted to the IP processing module 10g without removing the IP processing header. Here, if the packet is not the simulated IP header, the IP stack 10a processes normally. After receiving the packet (the ad hoc network simulation packet) from the IP stack 10a, the IP processing module 10g returns the received IP packet to its original state when the destination address of the IP processing header is the broadcast address of the ad hoc network. After the release, transfer to the simulated physical layer module (10f).

그리고, 모의 물리계층모듈(10f)은 IP 가공모듈(10g)로부터 패킷을 수신하면 채널이 사용 중인지 여부(Clear Channel Assessment)에 대한 보고와 패킷 수신 처리 시간 지연 및 Bit Error Rate(BER)에 기초한 품질을 모의 반영한다. 즉, 모의 물리계층모듈(10f)은 패킷을 수신하면, 먼저 실제로 설계된 물리계층 프레임 내의 프리엠블 수신 처리 시간만큼 지연시킨 후, 상위 계층에 채널이 사용 중임을 알리는 보고를 한다. 인터페이스 모듈(10e)은 모의 물리계층모듈(10f)으로부터 전달받은 보고를 애드혹 네트워크 드라이버로 전달한다. 여기서, 애드혹 네트워크 드라이버로 전달된 보고는 애드혹 데이터링크 계층 내의 MAC 부계층에서 다른 노드와의 데이터 전송 충돌을 피하기 위한 정보로 사용한다.And, when receiving the packet from the IP processing module 10g, the simulated physical layer module 10f reports whether the channel is in use (Clear Channel Assessment), the packet reception processing time delay, and the quality based on the Bit Error Rate (BER). To reflect the simulation. That is, when receiving the packet, the simulation physical layer module 10f first delays the preamble reception processing time in the actually designed physical layer frame, and then reports to the upper layer that the channel is in use. The interface module 10e delivers the report received from the simulated physical layer module 10f to the ad hoc network driver. Here, the report transmitted to the ad hoc network driver is used as information for avoiding a data transmission collision with another node in the MAC sublayer in the ad hoc data link layer.

그 후, 다시 물리계층 프레임 내의 데이터 슬롯의 수신 처리 시간만큼 지연시킨 후, 인터페이스 모듈(10e)로 패킷을 전달한다. 이 때, 좀 더 정확한 지연을 위해서는 실제 설계된 물리계층모듈의 데이터 수신 처리 지연 시간과 이더넷의 수신처리시간 차이만큼 지연시킨다. 그리고, 데이터 슬롯의 수신 처리 시간만큼 지연시키는 동안, 물리계층의 BER에 기초하여 수신된 패킷 전체에 대하여 임의의 비트에 에러를 발생시킨 후 인터페이스 모듈(10e)로 패킷을 전달한다.Thereafter, the network is delayed by the reception processing time of the data slot in the physical layer frame, and then the packet is delivered to the interface module 10e. At this time, for more accurate delay, delay the data reception processing delay time of the actually designed physical layer module by the difference between the reception processing time of Ethernet. While delaying the data slot by the reception processing time, an error occurs in an arbitrary bit for the entire received packet based on the BER of the physical layer, and then the packet is delivered to the interface module 10e.

다음으로, 인터페이스 모듈(10e)은 모의 물리계층모듈(10f)으로부터 전달받은 패킷을 네트워크 드라이버(10d)로 전달한다.Next, the interface module 10e transfers the packet received from the simulated physical layer module 10f to the network driver 10d.

마지막으로, 네트워크 드라이버(10d)에서는 수신한 애드혹 네트워크 데이터링크 프레임에 대하여 헤더를 파싱하고, 헤더 목적지 데이터링크 주소가 자신의 주소와 일치하지 않으므로, 상위 계층인 IP 계층으로 전달하지 않고 패킷을 삭제한다.Finally, the network driver 10d parses the header for the received ad hoc network data link frame, and discards the packet without forwarding it to the IP layer, which is higher because the header destination data link address does not match its own address. .

도 3은 본 발명에 따른 IP 가공모듈(10g)에 의해 가공된 패킷의 구조를 도시한 도면이다. DL 헤더(DH) 내에는 목적지의 DL 주소가 포함되며, IP 헤더(IH) 내에는 목적지의 IP 주소가 포함되며, 이더넷 헤더(EH)에는 목적지의 이더넷 브로드캐스트 DL 주소가 포함된다.3 is a diagram illustrating a structure of a packet processed by the IP processing module 10g according to the present invention. The DL header (DH) contains the destination's DL address, the IP header (IH) contains the destination's IP address, and the Ethernet header (EH) contains the destination's Ethernet broadcast DL address.

도 4는 실제 무선 네트워크 환경에서 2홉(hop) 거리 내에 있는, 송신지 노드(SN)가 중간지 노드(MN)를 거쳐 목적지 노드(RN)로 패킷을 전송하는 과정을 도시한 도면이다. 여기서는 중간지 노드(MN)가 송신지 노드(SN)로부터 패킷을 전달받으면 라우팅 정보를 이용하여 패킷을 목적지 노드(RN)로 전송한다.FIG. 4 is a diagram illustrating a process of transmitting a packet to a destination node RN via a middle node MN, which is within two hop distances in an actual wireless network environment. Here, when the intermediate node MN receives the packet from the source node SN, the intermediate node MN transmits the packet to the destination node RN using routing information.

도 4에서의 데이터 송신과정이 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증시스템에서는 중간지 노드(MN)는 송신지 노드(SN)로부터 수신한 패킷이 앞서 설명한 바와 같이 이더넷 드라이버를 거쳐 IP 가공모듈(10g), IP 스택(10a)에서의 IP 헤더 내의 IP 가공헤더 여부 필드 검사, 물리계층모듈(10f), 인터페이스 모듈(10e), 네트워크 드라이버(10d)를 IP 스택 (10a)으로 전달된다. IP 스택 (10a)은 목적지 IP주소가 자신의 주소가 아니므로, 중계 전송을 위해 애드혹 라우팅 모듈(10b)에 의해 수집된 라우팅 정보를 검색하고, 라우팅 정보에 따라 목적지 노드(RN)로 송신한다. 여기서 송신지 노드(SN)에서의 송신 방법과 동일하다. 또한 송신지 노드(SN)로부터 목적지 노드(RN)로 패킷이 직접 전송되는 것은 불가능하다.In the Ethernet-based ad hoc network verification system according to the present invention, in the data transmission process of FIG. 4, the intermediate node MN receives the IP processing module 10g via the Ethernet driver as described above. ), The IP processing header field check in the IP header in the IP stack 10a, the physical layer module 10f, the interface module 10e, and the network driver 10d are delivered to the IP stack 10a. Since the destination IP address is not its own address, the IP stack 10a retrieves the routing information collected by the ad hoc routing module 10b for relay transmission, and transmits the routing information to the destination node RN according to the routing information. Here, the transmission method is the same as that of the transmission destination node SN. It is also impossible for a packet to be sent directly from a source node SN to a destination node RN.

도 5는 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템에서 인터페이스 모듈(10e)과, 모의 물리계층모듈(10f)과, IP 가공모듈(10g)의 패킷 송신과정을 도시한 흐름도이다.5 is a flowchart illustrating a packet transmission process of the interface module 10e, the simulated physical layer module 10f, and the IP processing module 10g in the Ethernet-based ad hoc network verification system according to the present invention.

먼저, 인터페이스 모듈(10e)은 네트워크 드라이버(10d)로부터 데이터링크 프레임의 수신을 위해 대기한다(S501).First, the interface module 10e waits for reception of a data link frame from the network driver 10d (S501).

단계 S501에서 데이터링크 프레임이 수신되면, 인터페이스 설정을 확인한다(S502).When the data link frame is received in step S501, the interface setting is checked (S502).

그리고, 단계 S502에서 인터페이스 설정을 확인하여 실제 하드웨어가 동작하는 Non-시뮬레이션 모드가 설정된 경우 단계 S504를 수행하며, 모의 물리계층모듈(10g)이 실행되는 시뮬레이션 모드가 설정된 경우 단계 S507을 수행한다(S503).When the non-simulation mode in which the actual hardware operates is set by checking the interface setting in step S502, the step S504 is performed. When the simulation mode in which the simulation physical layer module 10g is executed is set in step S507 (S503). ).

Non-시뮬레이션 모드인 경우 통신부(40) 내의 물리계층모듈로 데이터링크 프레임이 전송된다(S504).In the non-simulation mode, the data link frame is transmitted to the physical layer module in the communication unit 40 (S504).

단계 S504에서 물리계층모듈은 데이터링크 프레임을 수신하여 물리계층 프레임을 생성한 후 통신부(40)를 통해 무선으로 데이터를 전송한 후, 인터페이스 모듈(10e)로 데이터의 전송이 완료되었음을 알린다(S505).In step S504, the physical layer module receives the data link frame, generates the physical layer frame, transmits data wirelessly through the communication unit 40, and then informs that the data transmission is completed to the interface module 10e (S505). .

인터페이스 모듈(10e)은 단계 S505에서 송신한 메시지를 수신한다(S506).The interface module 10e receives the message sent in step S505 (S506).

실제 하드웨어인 통신부(40)의 개발이 완료되기 전인 모의 물리계층모듈(10e)이 실행되는 경우, 모의 물리계층모듈(10e)로 데이터가 전송된다(S507).When the simulation physical layer module 10e is executed before the development of the communication unit 40, which is actual hardware, is completed, the data is transmitted to the simulation physical layer module 10e (S507).

모의 물리계층모듈(10e)은 수신한 데이터링크 프레임을 IP 가공모듈(10f)로 전송한다(S508).The simulated physical layer module 10e transmits the received data link frame to the IP processing module 10f (S508).

다음으로, IP 가공모듈(10g)은 IP 가공헤더를 생성하고 IP 헤더 내의 송신지 IP 주소를 자신의 이더넷 IP 주소로 할당하고, 목적지 IP 주소를 자신의 이더넷 브로드캐스트 주소로 할당하고, IP 가공헤더 내의 reserved 필드를 이용하여 IP 가공 헤더임을 설정한다.(S509).Next, the IP processing module 10g generates an IP processing header, assigns a source IP address in the IP header to its Ethernet IP address, assigns a destination IP address to its Ethernet broadcast address, and IP processing header. The reserved field in the header is used to set an IP header. (S509).

IP 가공모듈(10g)은 단계 S509에서 생성된 IP 가공헤더를 수신한 데이터링크 프레임에 결합하여 새로운 IP 가공 데이터그램을 생성한다(S510).The IP processing module 10g generates a new IP processing datagram by combining the IP processing header generated in step S509 with the received data link frame (S510).

다음으로, 단계 S510에서 생성된 IP 가공 데이터그램이 IP 스택(10a)으로 전달된다(S511). 여기서, IP 스택(10a)의 포워딩 기능에 의해 다시 이더넷 디바이스(30)로 전달된다. 이 때, 직접 라우팅 테이블을 설정하거나, IP 헤더 내의 reserved 필드를 확인하여 포워딩에 이더넷 디바이스 드라이버(10c)로 전달한다.Next, the IP processing datagram generated in step S510 is transferred to the IP stack 10a (S511). Here, it is delivered back to the Ethernet device 30 by the forwarding function of the IP stack 10a. At this time, the routing table is set directly or the reserved field in the IP header is checked and forwarded to the Ethernet device driver 10c for forwarding.

IP 가공모듈(10g)은 모의 물리계층모듈(10f)로 IP 데이터그램의 전송이 완료되었음을 알린다(S512).The IP processing module 10g notifies that the transmission of the IP datagram is completed to the simulated physical layer module 10f (S512).

모의 물리계층모듈(10f)은 단계 S512에서 전송이 완료되었음을 수신한 후, 인터페이스 모듈에 전송 완료를 보고한다(S513).After receiving the completion of the transmission in step S512, the simulation physical layer module 10f reports the completion of transmission to the interface module (S513).

인터페이스 모듈(10e)은 모의 물리계층모듈(10f)로부터 전송이 완료되었음을 수신한다(S514).The interface module 10e receives that transmission is completed from the simulation physical layer module 10f (S514).

인터페이스 모듈(10e)은 단계 S506 또는 단계 S514로부터 전송이 완료되었음을 수신하여 그 상위모듈인 네트워크 드라이버(10d)로 전송이 완료되었음을 알린다(S515).The interface module 10e receives that the transmission is completed from step S506 or step S514, and notifies the network driver 10d of the upper module that the transmission is completed (S515).

여기서, 본 발명에 따른 제어부(20)는 실제 물리계층으로의 전달 성공률을 측정하는 기능을 추가로 수행할 수 있다.Here, the control unit 20 according to the present invention may further perform a function of measuring the success rate of transmission to the actual physical layer.

이하에서는 IP 스택(10a)에서의 데이터 송신과정을 설명한다. 여기서, 송신지 노드(SM)의 애드혹 네트워크 드라이버(10e)에 설정된 주소가 192.168.0.1로, 송신지 노드(SM)의 주소는 이더넷 네트워크 드라이버(10c)에 설정된 주소를 192.168.1.1을 일예로 하고, 목적지 노드(RM)의 애드혹 네트워크 드라이버(10d)에 설정된 주소를 192.168.0.2로, 목적지 노드(RM)의 이더넷 네트워크 드라이버(10c)에 설정된 주소는 192.168.1.2을 일예로 한다.Hereinafter, a data transmission process in the IP stack 10a will be described. Here, the address set in the ad hoc network driver 10e of the source node SM is 192.168.0.1, and the address of the source node SM is 192.168.1.1 as an example of the address set in the Ethernet network driver 10c. For example, the address set in the ad hoc network driver 10d of the destination node RM is 192.168.0.2, and the address set in the Ethernet network driver 10c of the destination node RM is 192.168.1.2.

송신지 노드(SM)에서 목적지 주소가 192.168.0.2인 트래픽이 발생한 경우, IP 스택에 포함된 라우팅 처리 모듈은 애드혹 라우팅 모듈(10b)에 의해 설정된 라우팅 테이블 또는 동일 네트워크 체크, 예를 들어 목적지 IP 주소가 192.168.0.2인 경우 네트워크 주소 192.168.0.0에 의해 애드혹 네트워크 드라이버(10d)로 IP 데이터그램을 전송한다.When traffic having a destination address of 192.168.0.2 is generated at the destination node SM, the routing processing module included in the IP stack may be configured in the routing table or the same network check set by the ad hoc routing module 10b, for example, the destination IP address. Is 192.168.0.2, the IP datagram is transmitted to the ad hoc network driver 10d by the network address 192.168.0.0.

그리고, 인터페이스 모듈(10e)은 애드혹 네트워크 드라이버(10d)로부터 데이터링크 프레임을 수신하고, 모의 물리계층모듈(10f)로 전달한다. 모의 물리계층모듈(10f)은 설계된 실제 모의 물리계층의 송신 처리 지연을 모의한 후, IP 가공모듈(10g)로 데이터링크 프레임을 전달한다. IP 가공모듈(10g)은 데이터링크 프레임에 IP 가공헤더를 덧붙여 가공된 IP 가공 데이터그램을 IP 스택(10a)으로 전달한다. 이 때, IP 가공 헤더의 송신지 주소를 송신지 노드(SM)의 이더넷 주소로 하고, 목적지 IP 주소를 목적지 노드(RM)의 이더넷 네트워크 브로드캐스트 주소로 설정한다. 여기서, 목적지 노드의 이더넷 네트워크 드라이버 주소가 192.168.1.1이면 브로드캐스트 주소는 192.168.1.255이 된다.The interface module 10e receives the data link frame from the ad hoc network driver 10d and transfers it to the simulated physical layer module 10f. The simulation physical layer module 10f simulates the transmission processing delay of the designed actual simulation physical layer, and then transfers the data link frame to the IP processing module 10g. The IP processing module 10g transfers the processed IP processing datagram to the IP stack 10a by adding the IP processing header to the data link frame. At this time, the sender address of the IP header is set to the Ethernet address of the sender node SM, and the destination IP address is set to the Ethernet network broadcast address of the destination node RM. Here, if the Ethernet network driver address of the destination node is 192.168.1.1, the broadcast address is 192.168.1.255.

마지막으로, IP 스택(10a)은 수신한 IP 가공 데이터그램에 대하여 다시 IP 스택(10a)에 포함된 라우팅 처리 모듈에서 애드혹 라우팅 모듈(10b)에 의해 설정된 라우팅 테이블 또는 동일 네트워크 체크를 하고, 송신지 노드(SM)의 이더넷 인터페이스인 이더넷 드라이버(10c)로 IP 가공 데이터그램을 전달한다. 이어서, 이더넷을 통해 목적지 노드(RM)의 이더넷 드라이버(10c)로 전달된다.Finally, the IP stack 10a performs a routing table or the same network check set by the ad hoc routing module 10b in the routing processing module included in the IP stack 10a again with respect to the received IP processing datagram. The IP processing datagram is transmitted to the Ethernet driver 10c, which is an Ethernet interface of the node SM. Then, it is transmitted to the Ethernet driver 10c of the destination node RM via Ethernet.

이하, 도 6을 참조하여 본 발명에 따른 이더넷 기반 애드혹 네트워크 검증 시스템에서 인터페이스 모듈(10e)과, 모의 물리계층모듈(10f)과, IP 가공모듈(10g)의 패킷 수신과정을 설명하기로 한다.Hereinafter, a packet receiving process of the interface module 10e, the simulated physical layer module 10f, and the IP processing module 10g in the Ethernet-based ad hoc network verification system according to the present invention will be described with reference to FIG.

먼저, IP 가공모듈(10g)은 IP 스택(10a)으로부터 가공된 IP 데이터그램의 수신을 대기한다.(S601).First, the IP processing module 10g waits to receive the processed IP datagram from the IP stack 10a (S601).

다음으로, IP 가공모듈(10g)이 IP 스택(10a)으로부터 가공된 IP 가공데이터그램을 수신하면(S602), IP 가공모듈(10g)은 단계 S602에서 수신한 IP 가공 데이터그램의 IP 가공헤더를 파싱한다(S603).Next, when the IP processing module 10g receives the processed IP processing datagram from the IP stack 10a (S602), the IP processing module 10g receives the IP processing header of the IP processing datagram received in step S602. Parse (S603).

IP 가공모듈(10g)은 IP 주소가 브로드캐스트 주소인지 확인하고, IP 가공 헤더를 제거한다(S604).The IP processing module 10g checks whether the IP address is a broadcast address, and removes the IP processing header (S604).

IP 가공모듈(10g)은 IP 가공헤더가 제거된 데이터링크 프레임을 모의 물리계층모듈(10f)로 전달한다(S605).The IP processing module 10g transmits the data link frame from which the IP processing header has been removed to the simulation physical layer module 10f (S605).

모의 물리계층모듈(10f)은 데이터링크 프레임을 수신한다(S606).The simulated physical layer module 10f receives a data link frame (S606).

모의 물리계층모듈(10f)은 실제 통신부(40) 물리계층의 프리엠블 수신처리 시간만큼 지연 후, 인터페이스 모듈로 채널이 사용 중임을 보고한다(S607). 여기서, 인터페이스 모듈(10e)은 수신한 보고를 애드혹 네트워크 드라이버(10d)로 전달한다.The simulation physical layer module 10f reports that the channel is in use to the interface module after a delay by the preamble reception processing time of the physical communication unit 40 physical layer (S607). Here, the interface module 10e transmits the received report to the ad hoc network driver 10d.

모의 물리계층모듈(10f)은 실제 통신부(40) 물리계층의 Bit Error Rate(BER)에 기초하여 수신된 프레임의 임의의 비트에 에러를 발생시킨다(S608).The simulation physical layer module 10f generates an error in an arbitrary bit of the received frame based on the Bit Error Rate (BER) of the actual communication unit 40 physical layer (S608).

모의 물리계층모듈(10f)은 실제 통신부(40) 물리계층의 데이터 슬롯 수신처리 시간만큼 지연 후, 인터페이스 모듈(10e)로 데이터링크 프레임을 전달하고, 채널이 사용 중이지 않음을 보고한다(S609).The simulated physical layer module 10f transmits a data link frame to the interface module 10e after delaying the data slot reception processing time of the physical communication unit 40 physical layer, and reports that the channel is not in use (S609). .

인터페이스 모듈(10e)은 데이터링크 프레임과 채널 미사용 보고를 네트워크 드라이버로(10d)로 전달한다(S610).The interface module 10e transmits the data link frame and channel unused report to the network driver 10d (S610).

상기 설명한 과정을 통해, 본 발명에 따른 제어부(20)는 데이터 송신 시와 마찬가지로 실제 물리계층 전송 품질에 따른 전달 성공률을 측정하는 기능을 수행할 수 있으며, 채널 사용 및 미사용 보고에 의한 CCA기능을 모의함으로써 MAC 성능에 대한 평가가 가능하다.Through the above-described process, the control unit 20 according to the present invention can perform the function of measuring the success rate of transmission according to the actual physical layer transmission quality, as in the case of data transmission, and simulates the CCA function by the channel usage and unused reporting By doing so, MAC performance can be evaluated.

이하에서는 IP 스택(10a)에서의 데이터 수신과정을 설명한다. 여기서, 송신지 노드(SM)의 애드혹 네트워크 드라이버(10d)에 설정된 주소가 192.168.0.1로, 송신지 노드(SM)의 주소는 이더넷 네트워크 드라이버에 설정된 주소를 192.168.1.1을 일예로 하고, 목적지 노드(RM)의 애드혹 네트워크 드라이버(10e)에 설정된 주소를 192.168.0.2로, 목적지 노드(RM)의 이더넷 네트워크 드라이버(10d)에 설정된 주소는 192.168.1.2를 일예로 한다.Hereinafter, a process of receiving data in the IP stack 10a will be described. Here, the address set in the ad hoc network driver 10d of the destination node SM is 192.168.0.1, and the address of the destination node SM is 192.168.1.1 as an example of the address set in the Ethernet network driver. The address set in the ad hoc network driver 10e of the RM is 192.168.0.2, and the address set in the Ethernet network driver 10d of the destination node RM is 192.168.1.2 as an example.

먼저, IP 스택(10a)은 이더넷 드라이버(10c)로부터 IP 데이터그램을 수신한다. 그리고, IP 스택(10a)은 IP 가공 데이터그램인지 일반 IP 데이터그램인지 여부를 구분하기 위해 IP 헤더 내의 IP 가공헤더 여부 필드(reserved 필드 이용)를 검사한다. 검사 결과 수신한 IP 데이터그램이 IP 가공 데이터그램이면, 수신한 IP 데이터그램을 IP 가공모듈(10g)로 전달되며, 앞서 설명한 바와 같이 물리계층모듈(10f)과 인터페이스 모듈(10e), 네트워크 드라이버(10d)의 각 기능을 수행한 후, 최종적으로 네트워크 드라이버(10d)에서 다시 IP 스택(10a)으로 IP 데이터그램이 전달된다.First, IP stack 10a receives an IP datagram from Ethernet driver 10c. In addition, the IP stack 10a examines an IP processed header field (using a reserved field) in the IP header to distinguish whether an IP processed datagram or a general IP datagram. If the received IP datagram is an IP processing datagram, the received IP datagram is transferred to the IP processing module 10g. As described above, the physical layer module 10f, the interface module 10e, and the network driver ( After performing each function of 10d), the IP datagram is finally transferred from the network driver 10d to the IP stack 10a.

IP 스택(10a)은 IP 헤더의 목적지 IP 주소가 자기 자신의 IP 주소인 192.168.0.2인 경우, IP 헤더를 파싱하고 제거하여 상위계층으로 TCP 또는 UDP 데이터그램을 전달한다.When the destination IP address of the IP header is 192.168.0.2, which is its own IP address, the IP stack 10a delivers a TCP or UDP datagram to a higher layer by parsing and removing the IP header.

이상, 바람직한 실시예를 통하여 본 발명에 관하여 상세히 설명하였으나, 본 발명은 이에 한정되는 것은 아니며 특허청구범위 내에서 다양하게 실시될 수 있다.As mentioned above, the present invention has been described in detail through preferred embodiments, but the present invention is not limited thereto and may be variously implemented within the scope of the claims.

본 발명은 애드혹 네트워크 소프트웨어 검증에 있어서 모뎀, RF, Antenna 등의 하드웨어의 개발이 완료되지 않은 시점에서 이더넷을 기반으로 물리 계층을 모의함으로써, 애드혹 네트워크 소프트웨어에 대한 성능 검증을 실시할 수 있는 방안을 제안한다. 본 발명은 군용으로 활용 가능한 USN 및 SDR 무전기 등에 적용되어 애드혹 네트워크 웨이브폼 개발시 소프트웨어와 하드웨어의 시스템 통합 전에 애드혹 네트워크 소프트웨어의 검증에 이용될 수 있다.The present invention proposes a method for performing performance verification of ad hoc network software by simulating a physical layer based on Ethernet when the development of hardware such as a modem, RF, and antenna is not completed in ad hoc network software verification. do. The present invention can be applied to USN and SDR radios available for military use, and can be used for verification of ad hoc network software before system integration of software and hardware in ad hoc network waveform development.

10a : IP 스택, 10b : 애드혹 라우팅 모듈
10c : 이더넷 드라이버, 10d : 네트워크 드라이버
10e : 인터페이스 모듈, 10f : 모의 물리계층모듈
10g : IP 가공모듈, 10 : 네트워크 스택
20 : 제어부, 30 : 이더넷 디바이스
40 : 통신부, SN : 송신지 노드
MN : 중간지 노드, RN : 목적지 노드
TN : 목적지 이외의 노드, DH : DL 헤더
IH : IP 헤더, EH : 이더넷 헤더
10a: IP stack, 10b: ad hoc routing module
10c: ethernet driver, 10d: network driver
10e: interface module, 10f: simulated physical layer module
10g: IP processing module, 10: network stack
20: control unit, 30: Ethernet device
40: communication unit, SN: source node
MN: intermediate node, RN: destination node
TN: node other than destination, DH: DL header
IH: IP header, EH: Ethernet header

Claims (10)

애드혹 네트워크를 이용한 통신부(40)를 구동하는 네트워크 스택(10); 및
상기 네트워크 스택(10) 내에 구비되는 모듈과, 상기 통신부(40)의 물리계층 중 네트워크에 영향을 미치는 물리계층을 이더넷을 통해 모의 물리계층모듈(10f)로 구현하여 상기 통신부(40)의 구동을 시뮬레이션하는 제어부(20)
를 포함하며,
상기 네트워크 스택(10)은 하위 모듈로,
상기 통신부(40)에 공통적으로 사용되는 인터페이스를 포함하며, 데이터링크 프레임을 상기 모의 물리계층모듈(10f) 또는 구현이 완료되는 시점의 실제 물리계층으로 전달할지 여부를 결정하는 인터페이스 모듈(10e); 및
데이터의 송신 시에 상기 네트워크 스택(10)에서 생성된 데이터링크 프레임에 IP 헤더(IH)를 추가하고, 1홉 통달 거리 내의 모든 노드가 패킷을 수신하는 무선 통신의 특성을 반영하기 위해 목적지의 IP 어드레스를 이더넷 망의 브로드캐스트 주소로 설정하는 IP 가공모듈(10g)
을 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템.
A network stack 10 for driving the communication unit 40 using the ad hoc network; And
The module provided in the network stack 10 and the physical layer affecting the network among the physical layers of the communication unit 40 are implemented as a simulated physical layer module 10f through Ethernet to drive the communication unit 40. Control unit 20 to simulate
Including;
The network stack 10 is a lower module,
An interface module (10e) including an interface commonly used in the communication unit (40), and determining whether to transfer a data link frame to the simulated physical layer module (10f) or the actual physical layer at the time of implementation completion; And
Add an IP header (IH) to the datalink frame generated by the network stack 10 at the time of data transmission, and reflect the characteristics of the wireless communication in which all nodes within one hop distance receive packets. IP processing module (10g) to set the address to the broadcast address of the Ethernet network
Ethernet-based ad hoc network verification system comprising a.
제 1 항에 있어서,
상기 모의 물리계층모듈(10f)은,
상기 제어부(20)의 제어에 의해 상기 통신부(40)의 물리계층 전송 처리시간 지연 및 수신 처리시간 지연 모의기능과, 채널 사용 여부의 보고 모의 기능과, BER 품질 모의 기능 중 적어도 하나를 시뮬레이션하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템.
The method of claim 1,
The simulated physical layer module (10f),
Simulating at least one of a physical layer transmission processing time delay and a receiving processing time delay simulation function of the communication unit 40, a report simulation function of channel usage, and a BER quality simulation function by the control of the control unit 20. An Ethernet-based ad hoc network verification system.
삭제delete 제 1 항에 있어서,
상기 제어부(20)는,
상기 데이터를 송신하는 송신지 노드(SN)로부터 기설정된 통신 통달 거리 내에 위치하여 상기 데이터를 수신한 노드 중 상기 목적지 IP 어드레스와 자신의 어드레스가 일치하지 않는 노드는 상기 데이터를 삭제하도록 상기 1홉 통달 거리 내의 모든 노드를 제어하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템.
The method of claim 1,
The control unit 20,
The one-hop communication is performed so that a node located within a predetermined communication communication distance from a transmitting node (SN) that transmits the data and whose node does not match the destination IP address among the nodes receiving the data deletes the data. Ethernet-based ad hoc network verification system characterized by controlling all nodes within distance.
제 1 항에 있어서,
상기 제어부(20)는,
상기 데이터를 송신하는 송신지 노드(SN)로부터 기설정된 거리 밖에 위치한 목적지 노드(RN)로 상기 데이터를 송신하기 위해, 상기 송신지 노드(SN)로부터 기설정된 거리 내에 위치하며 라우팅 정보가 저장된 중간지 노드(MN)를 경유하여 상기 데이터를 송신하도록 상기 1홉 통달 거리 내의 모든 노드를 제어하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 시스템.
The method of claim 1,
The control unit 20,
An intermediate location located within a predetermined distance from the source node SN and storing routing information for transmitting the data to a destination node RN located outside a predetermined distance from the source node SN transmitting the data. Ethernet-based ad hoc network verification system, characterized in that all nodes within the one-hop communication distance are controlled to transmit the data via a node (MN).
데이터링크 프레임을 수신하는 단계;
모의 물리계층모듈(10f)로 상기 데이터링크 프레임을 송신하는 단계;
IP 가공모듈(10g)에서 IP 헤더(IH)를 생성한 후, 상기 데이터링크 프레임에 추가하여 새로운 IP 가공 데이터그램을 생성하는 단계;
상기 생성된 IP 가공 데이터그램을 IP 스택(10a)을 통해 이더넷 디바이스(30)로 전달하는 단계; 및
상기 모의 물리계층모듈(10f)은 실제 물리계층의 송신 처리 시간을 반영한 시간만큼 지연하는 단계를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법.
Receiving a datalink frame;
Transmitting the data link frame to a simulated physical layer module (10f);
Generating an IP header IH in the IP processing module 10g and adding the data header to the data link frame to generate a new IP processing datagram;
Delivering the generated IP processed datagram to an Ethernet device (30) via an IP stack (10a); And
The simulation physical layer module (10f) is an Ethernet-based ad hoc network verification method comprising the step of delaying the time reflecting the transmission processing time of the actual physical layer.
제 6 항에 있어서,
상기 IP 가공모듈(10g)이 상기 IP 스택(10a)으로부터 가공된 상기 IP 데이터그램을 수신하는 단계;
상기 IP 가공모듈(10g)이 상기 수신한 IP 데이터그램의 IP 헤더를 파싱하는 단계;
상기 IP 가공모듈(10g)이 상기 IP 데이터그램에 포함된 IP 주소가 브로드캐스트 주소인지 여부를 확인하는 단계;
상기 확인결과 상기 IP 주소가 상기 브로드캐스트 주소와 일치하는 경우 상기 IP 헤더(IH)를 제거하는 단계;
상기 IP 헤더(IH)가 제거된 데이터링크 프레임을 상기 모의 물리계층모듈(10f)로 전송하는 단계; 및
상기 모의 물리계층모듈(10f)은 수신처리시간을 반영한 만큼의 지연시간 경과 후 인터페이스 모듈(10e)로 상기 데이터링크 프레임을 전송하는 단계를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법.
The method according to claim 6,
The IP processing module (10g) receiving the processed IP datagram from the IP stack (10a);
Parsing, by the IP processing module (10g), an IP header of the received IP datagram;
Confirming, by the IP processing module (10g), whether the IP address included in the IP datagram is a broadcast address;
Removing the IP header (IH) if the IP address matches the broadcast address as a result of the checking;
Transmitting the data link frame from which the IP header (IH) has been removed to the simulation physical layer module (10f); And
The simulation physical layer module (10f) is characterized in that the Ethernet-based ad hoc network verification method comprising the step of transmitting the data link frame to the interface module (10e) after the delay time as long as reflecting the reception processing time.
IP 가공모듈(10g)이 IP 스택(10a)으로부터 가공된 IP 데이터그램을 수신하는 단계;
상기 IP 가공모듈(10g)이 상기 수신한 IP 데이터그램의 IP 헤더(IH)를 파싱하는 단계;
상기 IP 가공모듈(10g)이 상기 IP 데이터그램에 포함된 IP 주소가 브로드캐스트 주소인지 여부를 확인하는 단계;
상기 확인결과 상기 IP 주소가 상기 브로드캐스트 주소와 일치하는 경우 상기 IP 헤더(IH)를 제거하는 단계;
상기 IP 헤더(IH)가 제거된 데이터링크 프레임을 상기 모의 물리계층모듈(10f)로 전송하는 단계; 및
상기 모의 물리계층모듈(10f)은 수신 처리 시간을 반영한 만큼의 지연시간 경과 후 인터페이스 모듈(10e)로 상기 데이터링크 프레임을 전송하는 단계를 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법.
Receiving, by the IP processing module 10g, the processed IP datagram from the IP stack 10a;
Parsing, by the IP processing module 10g, an IP header IH of the received IP datagram;
Confirming, by the IP processing module (10g), whether the IP address included in the IP datagram is a broadcast address;
Removing the IP header (IH) if the IP address matches the broadcast address as a result of the checking;
Transmitting the data link frame from which the IP header (IH) has been removed to the simulation physical layer module (10f); And
The simulation physical layer module (10f) is characterized in that the Ethernet-based ad hoc network verification method comprising the step of transmitting the data link frame to the interface module (10e) after the delay time as long as reflecting the processing time.
제 8 항에 있어서,
상기 모의 물리계층모듈(10f)은 인터페이스 모듈(10e)로 설계된 물리계층 프레임 내의 프리엠블 수신 처리 지연 시간만큼 지연시킨 후, 상기 IP 가공모듈로 채널이 사용 중임을 알리는 단계; 및
상기 물리계층의 데이터 슬롯 수신 처리 시간만큼 지연 후, 인터페이스 모듈로 데이터링크 프레임을 전달하고, 채널이 사용 중이지 않음을 보고하는 단계를 더욱 포함하는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증방법.
The method of claim 8,
The simulation physical layer module (10f) delaying the preamble reception processing delay time in the physical layer frame designed as the interface module (10e), and then notifying the IP processing module that the channel is in use; And
And delaying the data slot reception processing time of the physical layer, forwarding a data link frame to an interface module, and reporting that the channel is not in use.
제 8 항에 있어서,
상기 모의 물리계층모듈(10f)은 인터페이스 모듈(10e)로 설계된 통신부 물리계층(40)의 BER에 기초하여 수신된 패킷 전체에 대하여 임의의 비트에 에러를 발생시키는 것을 특징으로 하는 이더넷 기반 애드혹 네트워크 검증 방법.
The method of claim 8,
The simulation physical layer module 10f is an Ethernet-based ad hoc network verification, which generates an error in an arbitrary bit for the entire received packet based on the BER of the communication layer physical layer 40 designed as the interface module 10e. Way.
KR1020100093729A 2010-09-28 2010-09-28 Ethernet-based ad-hoc network verification system and verification method thereof KR101040264B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100093729A KR101040264B1 (en) 2010-09-28 2010-09-28 Ethernet-based ad-hoc network verification system and verification method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100093729A KR101040264B1 (en) 2010-09-28 2010-09-28 Ethernet-based ad-hoc network verification system and verification method thereof

Publications (1)

Publication Number Publication Date
KR101040264B1 true KR101040264B1 (en) 2011-06-09

Family

ID=44405325

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100093729A KR101040264B1 (en) 2010-09-28 2010-09-28 Ethernet-based ad-hoc network verification system and verification method thereof

Country Status (1)

Country Link
KR (1) KR101040264B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060064966A (en) * 2004-12-09 2006-06-14 한국전자통신연구원 Virtual communication module and method of verifying communication method using the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060064966A (en) * 2004-12-09 2006-06-14 한국전자통신연구원 Virtual communication module and method of verifying communication method using the same

Similar Documents

Publication Publication Date Title
Reynders et al. A LoRaWAN module for ns-3: Implementation and evaluation
US8036696B2 (en) Time-multiplexed, two tier wireless device and method therefor
Ferrari et al. Wireless sensor networks: Performance analysis in indoor scenarios
US9730140B2 (en) Transmission control method, node, and non-transitory computer-readable recording medium
JP2009538572A (en) Method and apparatus for accessing network and isolated devices
Moske et al. Performance measurements of a vehicular ad hoc network
JP4214960B2 (en) Wireless communication network system
CN106067854B (en) A kind of network quality detection method and equipment
KR101602458B1 (en) Packet routing apparatus and method
EP3766276B1 (en) Methods and nodes for obtaining information regarding a bluetooth mesh network
HUE026530T2 (en) Method, computer program, computer program product and system for monitoring a gtp communication path in an umts/gprs network
JP2004328749A (en) Apparatus and method for data packet retransmission in mobile ad hoc network environment
US8054755B2 (en) Measurement managing apparatus and communication system
US10680899B1 (en) Topology discovery through multicast transmission
Aijaz et al. Demystifying the performance of bluetooth mesh: Experimental evaluation and optimization
KR101040264B1 (en) Ethernet-based ad-hoc network verification system and verification method thereof
Thorup Implementing and evaluating the DYMO routing protocol
Gopal et al. Experimental evaluation of the TCP simultaneous-send problem in 802.11 wireless local area networks
CN107959985B (en) Hybrid mesh network construction method, data transmission method and device
CN111294864A (en) Wireless communication method and related wireless device
JP2008022388A (en) Apparatus for evaluating mobile communication system performance
Wahyuda et al. Performance evaluation of relay node and power transmission selection on V2V communication in named data networking
US20200383171A1 (en) Relay node, signal relay method, and communication system
KR20130084858A (en) Multi-hop wireless network using opportunistic routing scheme and communication method using the network
Zhou et al. Simulation-based analysis of a multi-hop integrated UMTS and WLAN network

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140414

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150424

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160511

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190527

Year of fee payment: 9