Směrovací protokoly pro ztrátové bezdrátové síte

| Kategorie: Diplomové, bakalářské práce  | Tento dokument chci!

Tato práce zkoumá vhodnost a požadavky návrhu simulací pro simulátor NS-3 pro případ bezdrátových sítí používaných v měřící infrastruktuře společnosti Kamstrup. V práci jepopsán simulátor NS-3 a je vytvořena základní implementace dvou protokolů. WirelessM-Bus jako příklad jednosměrného protokolu pro zařízení napájené z baterií. Simulace Wireless M-Bus je porovnána s daty naměřenými v reálném systému. NS-3 poskytuje flexibilní prostředí pro vývoj simulací různých síťových protokolů, včetně těch určených pro sítě inteligentních měřidel.

Vydal: FEKT VUT Brno Autor: Zenon Kuder

Strana 16 z 44

Vámi hledaný text obsahuje tato stránku dokumentu který není autorem určen k veřejnému šíření.

Jak získat tento dokument?






Poznámky redaktora
Also most the classes the NS-3 hierarchy inherit from it. The existing models are usually defined with a common parent class, therefore possible create new implementa- tion and plug into other models without changing them. When there feature that none the existing models support, protocol that does not have model yet, it becomes necessary create new model customize existing one.with each Node and chaining the models for each layer each Node, need be implemented. However, does offer interfaces adhere and classes to inherit order save effort and make the model more useful. • There are existing models for propagation, error generation, energy consump- tion and other phenomena. • Addresses can represented the Address class. example of an inheritance hierarchy, showing the propagation loss parent class, the Figure 2. case a new model general type, such new propagation model, can used a 16 . new type address is not created subclass the Address class, but new base class.3 Creating New Model NS-3 already offers wide range existing models. That being said, there are many choices NS-3 classes new model can inherit from, depending the character the future model. (The Packet class therefore does not have specialized, as all packets are built adding headers and trailers).2. This new base class then implements methods ConvertTo and ConvertFrom that convert between the specific address type and object the generic Address class. • The Object class and its derived classes can use the NS-3 attribute system, the object aggregation and the smart-pointer counting system.3. • define packet encapsulation structure, the classes can inherit from Header and Trailer able easily add and read header and trailer fields from the packets. The newly defined model has plugged into the simulation. • When creating new protocol model, useful inherit from the NetDevice, Channel and Application classes order use interface consistent with many existing models. 2. When creating a model, important consider functionality, reusability and dependencies, as stated the NS-3 Manual [1]. As mentioned, NS-3 does not actually impose much limitations how the mod- els should implemented. That makes it the basic choice for most new classes