dve over ad hoc network

34
DVE over Ad Hoc Network 黃黃黃 黃黃黃黃黃黃黃 / 黃黃黃

Upload: ivy

Post on 16-Jan-2016

89 views

Category:

Documents


0 download

DESCRIPTION

DVE over Ad Hoc Network. 黃仁竑 中正大學資工系 / 通訊系. Outline. Introduction problems Addressing method Routing unicast, multicast DVE architecture Conclusion. Main challenges. Characteristics of traditional DVE Client/Server Model Network bandwidth Distributed interaction Message type - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DVE over Ad Hoc Network

DVE over Ad Hoc Network

黃仁竑中正大學資工系 /通訊系

Page 2: DVE over Ad Hoc Network

Outline

Introductionproblems

Addressing method Routing

unicast, multicast DVE architecture Conclusion

Page 3: DVE over Ad Hoc Network

Main challenges

Characteristics of traditional DVEClient/Server ModelNetwork bandwidthDistributed interactionMessage typeScalabilityResource managementNetwork topology

Page 4: DVE over Ad Hoc Network

Main Challenges (cont.)

Characteristics of Ad Hoc NetworkLack of infrastructureLow bandwidthSignals are easy to be obstructedMobilityLow reliabilityClient/Server architecture is not suitable

Page 5: DVE over Ad Hoc Network

Project Statements

Study network virtual environment in Ad Hoc P2P networks

Approaches Layered design

Similar to OSI/ISO 7 layer (or DVE over TCP over IP) Separate DVE, P2P, Ad Hoc

Simulated scenario Consider physical formation of Ad Hoc network DVE is designed with physical Ad Hoc network in mind

Page 6: DVE over Ad Hoc Network

Our Solutions and Goals

Constructing a P2P infrastructure on the Ad Hoc NetworkRouting, mobility (dynamic re-addressing)

Building a networked virtual environment over P2P

Page 7: DVE over Ad Hoc Network

Issues P2P over MANET

Overlay topologySelf-organizing, self-addressing

RoutingUnicast, multicast

MobilityFault tolerant

Page 8: DVE over Ad Hoc Network

Overlay Topology

1.0

1.11.2

1.3

1.2.11.2.2

1.1.1

無線通訊範圍

行動裝置

Logical IP1.0

1.11.2

1.3

1.2.11.2.2

1.1.1

1.0

1.11.2

1.3

1.2.11.2.2

1.1.1

無線通訊範圍

行動裝置

Logical IP

Self-organizing

Self-addressing

Page 9: DVE over Ad Hoc Network

Overlay construction:Join process

一節點一開機

等一段random的時間

廣播發出訊息檢查是有logical IP的節點(Nn)存在

無 自己成為root,logical IP為1.0,並將自己的MAC address當作該樹的ID。

廣播發出訊息檢查Nn所在的樹是否root存在

針對那些Nn發出要加入(requestto join)的訊息。

針對所有收到的回覆選擇selective IP長度最短的當作logical IP

收到那些Nn的回覆(response to join with selective logical IP)

沒收到那些Nn的回覆

向父節點發出回覆(response to join的ack)的訊息

確認取得logical IP,同時定期與父節點作聯繫的動作。

一節點一開機

等一段random的時間

廣播發出訊息檢查是有logical IP的節點(Nn)存在

無 自己成為root,logical IP為1.0,並將自己的MAC address當作該樹的ID。

廣播發出訊息檢查Nn所在的樹是否root存在

針對那些Nn發出要加入(requestto join)的訊息。

針對所有收到的回覆選擇selective IP長度最短的當作logical IP

收到那些Nn的回覆(response to join with selective logical IP)

沒收到那些Nn的回覆

向父節點發出回覆(response to join的ack)的訊息

確認取得logical IP,同時定期與父節點作聯繫的動作。

Page 10: DVE over Ad Hoc Network

Addressing Issue(2)

Example1:

1.0

Request to join

Reply to join with IP

Reply ack

1.01.0

1.01.0

1.1

(1) (2) (3) (4) (5)

Page 11: DVE over Ad Hoc Network

Addressing Issue(3)

Example2:

1.0

1.1

1.0

1.1Request to join

1.0

1.1

Reply with IP

Reply with IP

1.0

1.1

Reply ack

1.0

1.1 1.2

(1) (2) (3) (4) (5)

Page 12: DVE over Ad Hoc Network

Policy to choose a parent node

For low mobility environmentDefine a threshold of signal strengthChoose parent that has shortest logical IP

and stronger signal strength than the threshold

Logical IP changes slowlyLess maintenance overhead

Page 13: DVE over Ad Hoc Network

Other Possible Policies

Most power capacity Strongest signal Lowest mobility

Page 14: DVE over Ad Hoc Network

Routing

Default routingTraverse the tree up to the nearest common

ancestor and then down to the destination Enhancement: Cache

Take advantage of broadcast Cache two-hop away neighborsLongest Prefix Match

Page 15: DVE over Ad Hoc Network

Take advantage of broadcast

Node 1.1.1.2 is closer to 1.1.2.1 Node 1.1.1.2 can detect that 1.1.1.1 is

sending packets to 1.1.2.1 because of broadcasting

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.11.1.1.2 1.1.2.1

主動告知

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.11.1.1.2 1.1.2.1

主動告知

Page 16: DVE over Ad Hoc Network

Longest Prefix Match

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.21.1.1.1

1.1.2.1

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.21.1.1.1

1.1.2.1

Page 17: DVE over Ad Hoc Network

Routing Combine with Routing Cache

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.1.1

1.1.2.1.1

1.1.2.11.1.1.21.1.1.1

1.0

1.11.2

1.3

1.1.2 1.2.21.1.1

1.3.1

1.1.1.1.1

1.1.2.1.1

1.1.2.11.1.1.21.1.1.1

Page 18: DVE over Ad Hoc Network

Mobility

Nodes may select a new node as its parent:Signal strength is weaker than some thresholdSignal range can’t reach its original parent

Page 19: DVE over Ad Hoc Network

Re-Addressing (cont.)

AB

Release IP of node PP

Request to joinA

B

Release IP of node PP

Request to join

Page 20: DVE over Ad Hoc Network

發出加入的訊息(request to join)給父節點。

重新執行找logical address的程序,如先前所提到addressing的程序。

沒收到父節點的回覆(response to join)

檢查該父節點的logical IP長度是否有比原來的父節點短。

向該父節點發出要求新logicalIP的訊息(request to join)。

取得新的logical IP

沒收到該父節點的回覆(response to join)

收到該父節點回覆的logical IP(response to join)

發出父節點回覆(response tojoin)的ack給新的父節點

向原來的父節點作IP release的動作

向底下的子節點通知父節點IPaddress已經改變

開始與新父節點作定期註冊的動作

聽到其他父節點所發出的回應response to join

有收到父節點的回覆(response to join)

發出加入的訊息(request to join)給父節點。

重新執行找logical address的程序,如先前所提到addressing的程序。

沒收到父節點的回覆(response to join)

檢查該父節點的logical IP長度是否有比原來的父節點短。

向該父節點發出要求新logicalIP的訊息(request to join)。

取得新的logical IP

沒收到該父節點的回覆(response to join)

收到該父節點回覆的logical IP(response to join)

發出父節點回覆(response tojoin)的ack給新的父節點

向原來的父節點作IP release的動作

向底下的子節點通知父節點IPaddress已經改變

開始與新父節點作定期註冊的動作

聽到其他父節點所發出的回應response to join

有收到父節點的回覆(response to join)

Page 21: DVE over Ad Hoc Network

Multicast

Members join Members leave Packet forwarding

Page 22: DVE over Ad Hoc Network

Membership management

JoinTake advantage of the tree architecture

LeaveSimilar to join

Page 23: DVE over Ad Hoc Network

P

Join

1

1.1 1.2

1.1.11.1.2

1.1.1.11.1.2.1

1.2.1

1.2.1.2

M

Page 24: DVE over Ad Hoc Network

Rules of join

Requesting node P sends join message to its parent M

If M is already in the group, discard the message

Otherwise, the message will be forwarded to the parent of M up to the root

Page 25: DVE over Ad Hoc Network

Forwarding

Packet format<M,S,I>M: multicast addressS: source address I: intermediate address

Page 26: DVE over Ad Hoc Network

Forward (cont.)

For some node A Up

I is a child of A I exactly matches the prefix of S

Down I is the parent of A S is not any descendant of A Some descendants of A are members of M

If A is the root of the tree If other branches have members of M, forward the packet

Page 27: DVE over Ad Hoc Network

Issues of DVE in Ad Hoc Network Unworkable solutions

Static serverDirect P2P message exchange (flood of mess

ages) Proposed solution

AOI+Multicast

Page 28: DVE over Ad Hoc Network

AOI + Multicast

Entities (or avatar) only interested in receiving information from entities within AOI

Entities send messages to or receive them from their AOIs, corresponding to the region in which they are acting

Map each region (cell) into a multicast group

Page 29: DVE over Ad Hoc Network

DVE software architecture

MulticastingFully distributed (no server)Scalable

AOIM (area of interest manager)Divide the virtual world into several cellsAssign distinct multicast channels to each cell

Page 30: DVE over Ad Hoc Network

AOIM

Entities send messages to AOI (its cell and neighbor cells) via multicast channels

Entities listen to the multicast channel of its cell only

No centralized servers are needed

Page 31: DVE over Ad Hoc Network

DVE software architecture

IO

render AOIM

Net

Control message from user

Message queue

Message queue

Message queue

Page 32: DVE over Ad Hoc Network

Leader of the cell

Leader maintains status of entities in the cell

When a new entity enters the cell, it requests information of other entities from the leader

The state of the new joined cell can be initialized

Page 33: DVE over Ad Hoc Network

Election of cell leader

An entity enter a new cell It sends a message to find the leader If there is no response, it becomes the leader

When an entity leave a cell It sends a message to tell other entitiesOther entities then send their MAC address to

the cell, and the entity with largest MAC address will be the new leader

Page 34: DVE over Ad Hoc Network

Conclusion

P2P over MANET Tree structured overlay topology Self-addressing, self-organizing Unicast and multicast routing

DVE Multicast + AOI

What can be discussed in the future? Connectivity, fast mobility Commercial products?