an efficient implementation of file sharing systems on the basis of wimax and wi-fi jingyuan li,...

29
An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-F i Jingyuan Li, Liusheng Huang, Weiji a Jia, Mingjun Xiao and Peng Du Joint Advanced Research Institute of City University of Hong Kong an d University of Sci. Tech. China S uzhou, China 報報 : 報報報

Upload: emery-allen

Post on 18-Jan-2018

218 views

Category:

Documents


0 download

DESCRIPTION

Introduction (1/1)  Both P2P file sharing systems and the WMAN standard WiMAX have a brilliant future. Therefore, combining the two techniques surely will bring the benefits to the users of both sides.  The problem is: “do the facilities of WiMAX efficiently support the structures of file sharing systems?”.  The conflict of inefficiency in pure P2P file sharing systems, lack of air interfaces and energy resources are the most severe problems that fundamentally retard the growth of P2P file sharing systems on wireless networks.  In this paper, we propose a layered P2P file sharing structure on WiMAX and Wi-Fi network infrastructures.

TRANSCRIPT

Page 1: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-FiJingyuan Li, Liusheng Huang, Weijia Jia, Mingjun

Xiao and Peng DuJoint Advanced Research Institute of City University of Hong Kong and University of Sci. Tech. Chi

na Suzhou, China報告 :羅世豪

Page 2: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Outline

.壹 Introduction

.貳 WiMAX Overview and Mesh Mode

.參 Overview of Our File Sharing System

.肆 File Publication

.伍 File Lookup

.陸 File Transportation

.柒 Analysis

.捌 Simulations

.玖 Conclusion

Page 3: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Introduction (1/1)

Both P2P file sharing systems and the WMAN standard WiMAX have a brilliant future. Therefore, combining the two techniques surely will bring the benefits to the users of both sides.

The problem is: “do the facilities of WiMAX efficiently support the structures of file sharing systems?”.

The conflict of inefficiency in pure P2P file sharing systems, lack of air interfaces and energy resources are the most severe problems that fundamentally retard the growth of P2P file sharing systems on wireless networks.

In this paper, we propose a layered P2P file sharing structure on WiMAX and Wi-Fi network infrastructures.

Page 4: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

WiMAX Overview and Mesh Mode (1/4)

Page 5: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

WiMAX Overview and Mesh Mode (2/4)

In WiMAX MAC layer standard, there are two different network architectures:

The point-to-multipoint (PMP) mode The mesh mode.

The main difference between the PMP and optional mesh mode is that,

In the PMP mode, traffic only occurs between the base stations (BS) and subscriber stations (SS)

In the mesh mode, traffic can be routed through other SSs and can occur directly between SSs.

Page 6: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

WiMAX Overview and Mesh Mode (3/4)

SS

SS

Page 7: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

WiMAX Overview and Mesh Mode (4/4)

The architecture is an ad-hoc like structure in which SSs act as the routers.

Traffic is routed through other SSs or occurs directly among the SSs. It should be noted that, there is no need for the SSs to connect directly to the BS.

We suppose that Wi-Fi technology is used to connect end hosts to the corresponding SS and the backhaul of the network is wired.

Page 8: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Overview of Our File Sharing System (1/2)

Page 9: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Overview of Our File Sharing System (2/2)

End devices under the same SS are connected with Wi-Fi technology.

Every two end hosts are one-hop connected and each end host in the same local area network is connected directly to the SS.

We propose a changed dynamic source routing (CDSR) lookup protocol on SSs mesh networks where the number of SSs under a BS is not large enough to efficiently construct a DHT based file sharing architecture.

By implementing CDSR on SSs mesh networks, our layered file sharing system can support keyword lookup within a SSs mesh network.

We also design DHT based file lookup architecture on BSs networks, because BSs networks are cable connected and able to tolerate the extra traffic loads.

Page 10: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Publication (1/2)

When an end host s releases a file f to the file sharing system, it registers its information in two places:

The SS the end host is directed connected to. A BS in the BS network.

Page 11: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Publication (2/2)

Firstly, s releases the file name and a bunch of keywords to the SS to which it is registered.

Guarantee that our system support content lookup within the same range of a BS.

Secondly, s computes the hash value of the file name h(f) and registers the file to the corresponding BS in the BS network, where h(f)=h(BSi).

BSi is the ID of the corresponding BS. If such BSi does not exist, then the information is stored in

the nearest next BS as that is implemented in the Chord system.

Registering f to the DHT based BS overlay network enables the end hosts from other BSs to share their resources together in a robust and efficient way.

Page 12: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (1/6)

Page 13: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (2/6)

When an end host d requests a file f, it may require three performance steps to finally find the requested resource.

Firstly, d searches f on end hosts within the SS it is registered.

Because all of the end devices are one-hop connected, d instantly knows whether f exits or not.

If f does not exist within the local area network under the registering SS, then d searches the publication information within the range of the corresponding BS, i.e., the nearest SSs mesh network.

Here a changed dynamic source routing protocol (CDSR) is used to efficiently manipulate the routing problems in the SSs network

Page 14: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (3/6)

If there is no f found in the local SSs mesh network, then the resource lookup procedure sends a request message to the DHT ring of the BSs network as Chord does, seeking fortune from hosts under other BSs.

By importing the above three layer lookup procedure, our layered P2P file sharing system guarantees the following two advantages.

The requesting end host gets the requested file as ‘near’ as possible. This saves a great amount of bandwidth for the underground wireless infrastructures.

Our system supports keywords lookup within the SSs mesh networks. On the basis of our simulations, this may be the major position that the requested file f is found.

Page 15: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (4/6)

Page 16: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (5/6)

CDSR is very similar to DSR algorithm in mobile ad-hoc networks except that most of the SSs are immobile as compared to the end devices in the ad-hoc networks.

The requesting end host d launches a request procedure in the SS to which it is registered in order to find f

The SS sends a request message containing the name of the file f and/or some keywords to all its neighbors in the SSs mesh network.

The neighbor SSs perform the same action until a SS finds the file f in its resource register table, or all the SSs under the range of the same BS receive the message and no match is found.

If f is found, then the source SS unicasts backwards to the requesting end host where the requesting end host saves the routing information in its routing table.

Page 17: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Lookup (6/6)

Page 18: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

File Transportation(1/1)

Resource transportation is almost the same as that of other cabled networks.

Page 19: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Analysis (1/4)

α end devices under each SS. β SSs under each BS. γ BSs of the whole system. Let η be the probability of file f on each end host. The probability PEH that a requesting end device

obtains the requested file f under the same SS is shown in expression.

PEH = 1− (1−η )α

Page 20: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Analysis (2/4)

Defining PSS as the probability of the requesting end host obtaining the requested file f under the same BS or in the nearest SSs mesh network (but not in its own Wi-Fi based local area network). PSS is shown in expression.

PSS = (1−η )α ×[1− (1−η )α (β −1) ]

Page 21: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Analysis (3/4)

PBS is the probability indicating that the nearest SSs mesh network does not have the file transmission request is shown in expression .

PBS = 1− (1−η )αβ

Page 22: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Analysis(4/4)

As the popularity of resource goes higher, there is more opportunity that the requesting end host obtains the requested file within the range of the SS to which it is registered and the nearest SSs mesh network.

Enhances the performance of our layered P2P file sharing system,

Reducing both the number of lookup messages in file lookup procedure and the bandwidth requirement in WiMAX and Wi-Fi based wireless network architectures in file transportation procedure.

Page 23: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(1/6)

We simulated under an independent WiMAX wireless metropolitan area network with 100 BSs connected by cables.

Each BS controlled 25 SSs, all of which were interconnected to form a wireless SSs mesh network.

The network under each SS was set to be Wi-Fi based local area network.

End hosts under the same SS were one-hop connected and were directly connected to the SS they were registered to.

Four end hosts were registered to each SS. The popularity of a file f was from 0.5% to 6%.

Page 24: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(2/6)

Page 25: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(3/6)

Fig. 9 describes the percentage of three types of positions of the requested file f:

Source end host which was under the same SS (Wi-Fi based local area network) with the destination end host.

Source end host which was under the same BS (SSs mesh network).

Source end host which was under other BS (BSs Chord ring).

Page 26: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(4/6)

When a file f is popular, a great number of end hosts cached it to their own memory.

Therefore the requesting end host is more likely to obtain f around its neighbors in our hierarchical system which saves a great amount of precious wireless bandwidth.

We also notice that even though a file is very unpopular (for example, only 0.5% end hosts have the file), there is still a great probability that the requesting end host gains the file within the SSs mesh network where it is located (45% in the above simulation result), as long as there are enough end hosts under the corresponding BS.

Page 27: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(5/6)

Fig. 10 presents the relationship between the number of lookup messages in the physical networks and the popularity of the requested file in our hierarchical system.

Page 28: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Simulations(6/6)

The number of lookup messages are greatly reduced as the file becomes more and more popular.

In original Chord system, the popularity of the requested file does not affect the complexity of the lookup procedure.

Our system successfully improves this inefficiency.

Page 29: An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint

Conclusion(1/1)

We have proposed a layered P2P file sharing system on the important WiMAX and Wi-Fi wireless techniques.

By statistical analysis and practical simulations, we have shown that our layered P2P file sharing system can

Greatly reduces the number of lookup messages in physical networks.

Prevents over expenses of precious bandwidth in wireless metropolitan area networks.