||Along with the rise of smart phones, Google announced a mobile platform named Android, having the advantages of open source, free, etc, had become one of the popular mobile development platforms. But there are following restrictions on the file sharing of the smart phones:|
1. The File Sharing between mobiles is used frequently, but the APP of the File Sharing in Google play contains user sharing their files on the same LAN, can’t share on the WAN.
2. The cloud storage space has the file sharing strategy on WAN, but doesn’t on LAN.
3. File sharing of mobile devices always hope to be able to share file through one-to-many Push, delivery to the nearby users but the app of the smart phone file sharing don’t have this function.
Therefore, this thesis architects a File Sharing platform, which is based on social networks, passing through pub/sub pattern to sharing files.In the File Sharing System, if users are on the same LAN can share files directly. We implement one-to-many file sharing system, so that users can obtain files automatically. If on the WAN, files are delivered by the intermediary server. This System also supports Multimedia streaming, users can play media from Server; need not download files in the local device.
This paper use protocol buffer to the communication between devices, compared with the current common XML, JSON and other common file formats, there is a better package rates and privacy, and provides a convenient user interface to share files.