Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Simulation Method of Mobile Ad Hoc Network Address Automatic Allocation Protocol in ns2

A mobile ad hoc network and automatic allocation technology, applied in wireless communication, transmission systems, electrical components, etc., can solve the problems of lack of support for protocol simulation, inability to use large-scale nodes, network scale, and limitation of result records

Active Publication Date: 2020-10-16
CENTRAL SOUTH UNIVERSITY OF FORESTRY AND TECHNOLOGY
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In order to analyze and verify the above indicators, it is usually necessary to build an actual network or based on a simulation platform. However, due to factors such as cost and physics, it is often impossible to use large-scale nodes, and there are many restrictions on the scale of the network and the recording of results; On the other hand, the network simulation platform is usually oriented to the traditional Internet and lacks support for this type of protocol simulation. To solve this problem, this paper proposes a general solution for automatic allocation of protocol simulation by extending NS2

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Simulation Method of Mobile Ad Hoc Network Address Automatic Allocation Protocol in ns2
  • A Simulation Method of Mobile Ad Hoc Network Address Automatic Allocation Protocol in ns2
  • A Simulation Method of Mobile Ad Hoc Network Address Automatic Allocation Protocol in ns2

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] The following introduces the concrete realization of the simulation experiment on the PACMAN protocol on the expanded NS2 platform.

[0033] The PACMAN protocol is a novel and efficient distributed automatic address allocation scheme. Through cross-layer analysis, the data link layer and network layer information can be fully utilized in the dynamic address allocation, and it has the characteristics of both a stateful method and a stateless method.

[0034] experiment procedure;

[0035] In the experiment, the routing protocol adopts the AODV protocol. The migration of the specific PACMAN protocol to the extended platform requires the following four steps:

[0036] 1) Create protocol proxy class PACMANAddrConfig

[0037] The proxy class PACMANAddrConfig that defines the PACMAN protocol is inherited from the AddrConfig class. The focus is to implement the function PACMANAddrConfig::recv(Packet*,Handler*). The function is called when the routing protocol message is received from t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A simulation method for the automatic address assignment protocol of a mobile ad hoc network in NS2, which expands the NS2 network simulation platform. When a message arrives in the NS2 platform network, the address configuration agent obtains the message before the routing protocol agent; if the If the message belongs to the address configuration protocol message, the address configuration agent will discard the message after processing; if the message type is a routing agent message, the address configuration agent first detects whether there is an address conflict in the network according to the automatic address configuration protocol. If there is a conflict, the IP address will be changed; other types of packets will be directly forwarded to the routing agent for processing. In the present invention, the NS2 platform is extended, mainly including embedding the address configuration agent before the routing agent and adding the node number and IP address mapping maintenance in the simulated network to the original GOD class, so that it can support the network address automatic allocation protocol. simulation.

Description

Technical field [0001] The invention relates to a method for simulating and realizing automatic allocation of mobile ad hoc network addresses in NS2 (Network Simulator 2). Background technique [0002] The independent, non-centralized, and dynamic multi-hop characteristics of the mobile ad hoc network make it widely used in military applications, personal communications, disaster scene rescue and wireless sensor networks. At present, one of the research hotspots of mobile ad hoc networks is how to effectively discover routes and build system routing tables. The proposed protocols are mainly divided into active (or table-driven) and on-demand (or responsive). In the table-driven routing protocol, the nodes maintain a routing table containing routing information to the destination node, and update the routing table in real time according to changes in the network topology, so as to accurately reflect the correct routing of the network topology. In the on-demand-driven routing prot...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12H04W24/06
CPCH04W24/06H04L61/5046
Inventor 蒋湘涛彭小芳辛动军周欣高文斌
Owner CENTRAL SOUTH UNIVERSITY OF FORESTRY AND TECHNOLOGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products