基于OAuth认证的移动社交网络的实现与优化
Implementation and Optimization of Mobile Social Networking based on OAuth
随着移动互联网的发展,移动社交网络在人们的生活中扮演着非常重要的角色。本文实现了基于OAuth认证的微博客户端的设计、开发与优化。首先给出了客户端的MVC架构并依据该框架实现微博客户端,同时详细分析了微博客户端的具体实现过程。在客户端应用程序中启动子线程请求访问微博服务器并通过线程间的异步通信机制返回请求数据。最后分析列表加载数据的工作原理并利用系统缓存和实体类提升列表加载数据的速度,同时采用异步机制下载并缓存网络上的图片资源,从而减少了移动设备的内存消耗,提升了系统的整体性能,具有良好的用户体验和应用价值。
With the development of Mobile Internet, Mobile Social Network plays a very important role in people's lives. In this paper, the MicroBlog client based on OAuth has been designd, developed and optimized. Firstly, the client based on MVC has been implemented and the microblogging client's specific implementation process has been detailed. A thread started in the client application requests data from the microblogging server and returns the data from asynchronous communication mechanism between threads. Finally, operating principles of loading data in list has been analyzed and studied to enchance the loading speed with system cache and entity class. Asynchronous download and cache the images on the network reduce the memory consumption of mobile devices and improving the performance of the whole system. It has better using experiences and application values.
黄小军、张磊
通信无线通信电子技术应用
OAuth移动社交网络多线程异步通信
OAuthMobile Social NetworkMultithreadAsynchronous Communication
黄小军,张磊.基于OAuth认证的移动社交网络的实现与优化[EB/OL].(2013-01-02)[2025-08-10].http://www.paper.edu.cn/releasepaper/content/201301-44.点此复制
评论