Design and Development of An Android-based File Transfer Tool
随着智能手机的普及和移动通信技术的成熟,人们通过智能手机就能随时随地享受移动互联网所带来的服务,人们可以通过智能手机这个工具来使得生活更加便利和智能,智能手机也越来越受到人们的关注,目前,Android平台已称为绝大多数用户所选择和喜爱的手机平台。本项目要求设计和开发一款应用于Android系统平台的文件传输工具,能够支持多协议的文件上传和下载等功能,方便用户通过验证登录相应的服务器,实现文件传输,同时也支持即时通讯,包括文字消息和语音消息。24548
关键词 Android 文件传输 协议 即时通讯
毕业设计说明书(毕业论文)外文摘要
Title Design and Development of An Android-based File Transfer Tool
Abstract
With the popularity of smart phones and mobile communication technology matures, people will be able to enjoy mobile Internet services brought anywhere via smart phones, people can make life a smartphone this tool more convenient and smart, smart phones are increasingly the more people pay attention, currently, Android platform has been referred to the vast majority of users choose and favorite mobile platform. The project requires the design and development of a system used in Android platform file transfer tool that can support multi-protocol file upload and download functions, user authentication login through the appropriate server, file transfer, and also supports instant messaging, including text messages and voice messages.
Keywords Android File Transfer Agreement Instant Messaging
1 Introduction 1
1.1 Basis and Significance 1
1.2 Status quo and development trends of domestic and international research 2
1.3 Android software platform 4
2 Theory Basis 5
2.1 Key Technology 5
2.2 Research Scheme and the Extensible Functions 6
2.3 Research Method 6
2.4 Based on Socket network communication 7
2.5 Communication protocol designed 7
2.6 File Operations and Management 9
3 Analysis of Project Demand 10
3.1 Analysis of User Demand 10
3.2 System Design 11
3.3 Summary 11
4 System Realizations 11
4.1 Core Algorithm 12
4.2 Core Code Analysis 12
4.2.1 Protocol analysis and communication module 12
4.2.2 TCP file transfer module 29
4.2.3 TCP voice transmission module 34
4.2.4 Process analysis 37
4.2.5 Key functions 37
4.3 Operation Effect Demonstration 37
5 System Performance Test 43
5.1 Identification of Users in the Same LAN 43
5.2 Message Sending and Receiving Accuracy 43
5.3 Voice Communication 43
5.4 File Sending 43
5.5 Further improvement 43
Conclusion 45
Acknowledgement 46
References 47
1 Introduction
1.1 Basis and Significance
Smart phone call in addition to the basic functions, but also have major functional PDA , including office, Internet , learning , games. Communication between the smart phone mobile operators in addition to the GPRS or 3G mode , and usually infrared, Bluetooth and WiFi mode , but these three are currently the most commonly used means of communication directly transfer files between your phone is still Bluetooth . Bluetooth technology (Bluetooth, 802.15 standard ) is a short- range wireless communications technology, its maximum transmission rate of 1Mb / s, the maximum transmission distance of 10m. However , to enhance the smart phone hardware to improve performance and storage capacity with each passing day , the Bluetooth transmission efficiency would be difficult to meet the user 's growing needs. WiFi wireless LAN technology [1] (Wireless Fidelity, 802.11b standard ) is also a standard for short-range wireless transmission network , as opposed to Bluetooth , WiFi has a more powerful advantages , mainly in the transmission faster and over longer distances. WiFi technology has been used not only for today 's computer networking , it also is integrated in a variety of terminal devices for Internet access. If we can achieve with WiFi Bluetooth short-range alternative file transfer capabilities , will bring new experience to the user, while promoting WiFi in the terminal equipment is more widely used.