【正文】
本科畢業(yè)設(shè)計(論文) 基于 Android 平臺的聊天系統(tǒng)設(shè)計與實現(xiàn) 學(xué)院名稱 計算機(jī)科學(xué)與技術(shù) 專業(yè)名稱 信息安全 學(xué)生姓名 學(xué)號 指導(dǎo)教師 二〇一三年六月 基于 Android 平臺的聊天系統(tǒng)設(shè)計與實現(xiàn) 摘要 本課題主要研究基于 Android 的移動聊天系統(tǒng),以更好的用戶體驗性為目的開發(fā)出界面簡潔,用戶易操作的移動即時通信聊天工具。該聊天工具的主要功能:用戶注冊,登錄,好友一對一聊天,群組聊天。在該即時通信工具中的數(shù)據(jù)傳輸是通過 Socket 編程實現(xiàn)??蛻舳酥g通過服務(wù)器 對數(shù)據(jù)的轉(zhuǎn)發(fā)實現(xiàn)相互通信。 本文首先概述了 IM 聊天工具的背景,其次是課題的目的及意義,然后介紹了軟件開發(fā)的環(huán)境和開發(fā)工具及其技術(shù),給出了軟件的系統(tǒng)架構(gòu),各個模塊的流程圖及用例,然后詳細(xì)介紹了改即時通信的工具的設(shè)計與實現(xiàn),最后對系統(tǒng)進(jìn)行簡單的測試。 關(guān)鍵詞 : Android,即時通信,多線程,注冊,登錄,聊天 基于 Android 平臺的聊天系統(tǒng)設(shè)計與實現(xiàn) Abstract The main research topics of the graduation Androidbased mobile chat system, according to its architecture and design principles developed interface is simple and easy to operate mobile instant messaging chat tools. The main function of the chat tool: user registration, login, friends oneonone chat, group chat. Data transmission in the realtime munication tools Socket Programming. Communicate with each other on the data forwarding between the client through the server. The paper first outlines the background of the IM chat tool, followed by the purpose and significance of the issues, and then describes the software development environment and the development of tools and technology, the software system architecture, the flow chart of each module and use cases, and then detailed change instant messaging tool design and implementation, and finally a simple test system. Keywords: Android, instant messaging, multithreaded, socket, client / server 基于 Android 平臺的聊天系統(tǒng)設(shè)計與實現(xiàn) 目錄 第一章 緒論 ................................................................................................................ 1 聊天軟件背景 ................................................................................................ 1 課題目的及意義 ............................................................................................ 2 設(shè)計思想 ........................................................................................................ 4 工作方法 ........................................................................................................ 4 第二章 Android 聊天系統(tǒng)需求分析 ......................................................................... 5 任務(wù)概述 ......................................................................................................... 5 目標(biāo) .................................................................................................... 5 用戶特點 ............................................................................................ 5 定義 .................................................................................................... 5 假定與約束 ......................................................................................... 6 需求規(guī)定 ........................................................................................................ 6 系統(tǒng)功能需求 .............................................................................................. 6 用戶注冊 ............................................................................................. 9 用戶登錄 .......................................................................................... 11 用戶主面板 ...................................................................................... 12 用戶聊天 ........................................................................................... 13 好友上下線提示 .............................................................................. 15 增加好友 ........................................................................................... 15 對性能的規(guī)定 ................................................................................................ 15 精度 ................................................................................................... 15 時間特性要求 ................................................................................... 16 靈活性 ............................................................................................... 16 輸人輸出要求 :............................................................................................. 16 數(shù)據(jù) 管理能力要求 ....................................................................................... 16 其他專門要求 ............................................................................................... 16 運行環(huán)境規(guī)定 ............................................................................................... 16 支持軟件 ....................................................................................................... 17 第三章 基于 Android 平臺的聊天 系統(tǒng)設(shè)計 ............................................................ 18 定義 ............................................................................................................ 18 專業(yè)術(shù)語 ........................................................................................... 18 總體設(shè)計 ...................................................................................................... 18 運行環(huán)境 ........................................................................................... 18 基本設(shè)計概念和處理流程 ........................................................................... 19 系統(tǒng)邏輯構(gòu)架圖(圖 ) ........................................................... 19 系統(tǒng)物理架構(gòu)圖 (圖 ) .......................................................... 20 頂層系統(tǒng)包圖(圖 ) ................................................................ 20 基于 Android 平臺的聊天系統(tǒng)設(shè)計與實現(xiàn) 具體處理流程 .................................................................................. 21 子系統(tǒng)設(shè)計 ................................................................................................... 24 用戶信息: ....................................................................................... 24 功能概要: .................................................................