Mobile Social Net work--Research and Implementation of Mobile Twitter System

来源 :计算机光盘软件与应用 | 被引量 : 0次 | 上传用户:LILLER1010
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
  Wang Haishuai,WANG Sen
  (Beijing jiaotong University,Beijing 100044)
  Abstract:This paper researched and analyzedweb2.0 technology and mobile social network.Then researched and implemented the mobile twitter system. This paper introduces the function and modules of mobile client and PC server respectively. We also had the user experience and system test which are wrote in this paper.
  Keywords:Web2.0;Mobile social network;Mobile twitter system
  中图分类号:TP393 文献标识码:A 文章编号:1007-9599 (2012) 13-0000-02
  一、INTRODUCTION
  In today's society, Web 2.0 is hot topic mentioned by more and more people currently, and Mobile device not only becomes a personal information-processing interface but also turns into the best medium of accessing social network[1]. Along with the advancement of mobile network technology, Online social network service provides more perfect platform of communication for human interaction, knowledge sharing and information transmission, involved in political, economic, military, entertainment, sports, health, science and technology, individual life, and other fields. Blog popular in the world has began to develop for mobile and concise, so generating twitter, more health platform for information release and share, found in the references [2] and [3].
  With the progress of science and rising of daily life quality, ordinary mobile phones can not meet the requirement of people, so generating smart phones. Because it is a real sense of open mobile equipment comprehensive platform with development and free characteristics, found in the references [4].
  This article is in view of the above trend, put forward a miniature social network design and realize the basic design function, including Web server and the server and the client of mobile platform. Miniature social network is simple to implement the miniature blog, This design scheme, not only do make users free to follow one's inclinations to select their required information, but also do play an active role for expanding each domain knowledge and spreading scope of personal communication.
  二、Structure of system
  Mobile twitter system mainly provide a platform of sharing and releasing information for users, users access servers by android mobile phone, Mainly including the following several points.
  User registration, registration service for users who use this system in first time.
  User log in, let registered users log in platform.
  Update the mood information, the user can update own mood, the information is visible to other friends.   Logs, users can post new log, and can edit or delete published log.
  Upload pictures, to provide upload pictures function for login users, upload pictures can be used to make a personal photo album, also can be used as head photo for all users.
  Photo album management, can create new albums, and to upload pictures to the existed album, also can set access permission for different albums.
  View a friends list and recent visitors, users can view his close friend list and recent visitors after logging on, users also can remove friend in a friend list.
  Take and upload pictures, the function is special function to android phone client, the user can call camera program in the application of the mobile phone and upload the pictures to the album user specified in the server.
  According to the above functions overview, we can get function structure of the system, function structure of Android phone is shown in figure 1.
  Figure 1
  三、Implement of system
  Following is detailed introduction of system modules and the general framework for android client, Reader will have a general interest to whole project structure of Android client.
  (一)After starting application, first showing is interface of login. User input account and password in the interface, if he hopes application could remember his account and password, he could click checkbox with “remember me” to set it. After it, click button with “login” to link the service for checking.
  (二)If user doesn’t have twitter account, click button with “Registration” to access interface of Registration, as is illustrated in picture 1. User fills the registration information in this interface, click button with “register” to link the service for registration.
  Picture 1
  (三)After the success of the login or register, users can enter the personal center, personal center contains function and service which could be used by users, the rapid release interface of personal center.
  (四)In personal center, The user can see their friends list. In addition to head of friends be shown in the friends list, it will also show the user's nickname and mood.
  (五)Users can click on the "recent visitors" option card to check recently visited twitter users, as is illustrated in picture 2. Guest list will list the head, nickname and access time of visitors.
  Picture 2
  (六)In personal center, The user can see their personal journal list. Title, thumbnail content of the log are listed in personal journal, Users can click "edit" or "delete" button at right side of each log to manage log.   (七)Click on "albums list" in personal center, Users can manage own album, Including view photos and modify permissions of album.
  (八)In friend list or visitor list or user list which is got by user searching, click one item of the list, then interface of this item will be shown.
  In Mobile twitter system, Android servers of mobile client needs to call for the business methods of DBUtil class to manipulate the Database, In our experiment, we used the mysql database of "HeYuanXiaoZhu" on PC which was developed by Tsinghua university, and used tomcat as background serve, the interactive between client and server used protocol head which was defined by myself to call for relevant method, therefore accomplished all the functions. Write the server code of starting mobile client to ServletContextListener of web container. When starting the web container, it will specify the start the server code of mobile client.
  After starting the mobile client server, it will create a port of ServerSocket specified ,at the same time, it will also start a ServerThread to be responsible for monitoring users' connection. Whenever user try to connect, it will set up and start a ServerAgent which is dedicated to communicate with the client.
  四、Test and user experience result
  In order to verify the reliability of the system, we deployed 1 server and 4 mobile phones. Due to different situation of network deployment actually, we choice outskirt, subway and school for testing. Testing data is illustrated in table 1.
  Table 1 Test Result
  In the testing data as below, one failure in subway and outskirt is due to problem of network signal, because mobile phone had no signal, it is failure to send the data to the server.
  The experimental results show that it’s stability for selecting Android system as twitter’s client. After many user's experiments, The system is able to update user own information or choose the information they need. For album management function, especially those users who love traveling vacation, they can upload and manage photos by this system in time, update personal status. Experiment proves that the system is welcome.
  五、CONCLUSION
  This paper mainly discusses the social network based on android system-- design and implementation of mobile-Mobile twitter system. In Android mobile phone, we can add, delete, update and query data. Encryption is MD5 algorithm. It is realized login and register, Releasing twitter, viewing the twitter, viewing friends in the database, viewing the recently visitor, showing user’s album. Because the system deployed in the smartphone, user can view and publish twitter at any time and place, and upload the pictures by smartphone. The system break through the API restrictions of sina twitter, realized the similar function. In the age of social network getting more and more attention, twitter as representative of social network has a great influence to people’s life. Mobile social networking is trend of social network development, so, People can enjoy more convenient and joy brought by social network.
  REFERENCES:
  [1]Jiamei Tang,Sangwook Kim.Theme-based Mobile Social Network System.Ninth IEEE International Conference on Dependable, Autonomic and Secure Computing,2011
  [2]Hongbing Zhang.Research on Knowledge Sharing Mechanism Based on Web2.0.International Seminar on Future Information Technology and Management Engineering,2008
  [3]Tapas Kumar Kundu,Kolin Paul.Android on Mobile Devices An Energy Perspective.10th IEEE International Conference on Computer and Information Technology,2010
  [4]Jintao Tang,Ting Wang,Ji Wang.Information Flow Detection and Tracking on Web2.0 BLOGS Based on Social Networks.The 9th International Conference for Young Computer Scientists,2008
其他文献
目的:分析应用手术室人性化护理对腹部手术患者术后切口愈合及并发症的影响.方法:样本时间:2018年12月至2020年1月,样本来源:选取我院救治的腹部手术患者作为研究对象,共100
期刊
目的:探讨个性化护理干预应用于心胸外科患者对其护理满意度及生活质量的影响.方法:将76例心胸外科患者随机分为两组,其中常规组38例行常规化护理,研究组38例行个性化护理干
目的:研究呼吸衰竭患者护理中整体护理模式的临床应用.方法:本次实验研究选用2017年1月至2019年11月在我院接受检查并且治疗的60例呼吸衰竭患者.本次实验研究按照随机数表法,
目的:分析探讨对于老年慢阻肺患者开展心理护理的临床价值.方法 选取我院2017年8月-2019年11月诊治的60例老年慢阻肺患者为对象,根据护理方法不同分为对照组和实验组,对照组3
目的:研究对原发性高血压患者实施社区护理干预对血压、遵医嘱性以及高血压知识知晓情况的观察.方法:选取60例在2017年5月6日~2019年11月2日期,将其随机划分成对照组和干预组,
琵琶作为我国古老的弹拨乐器,在时下的戏曲舞台上被广泛使用,其独特的音色和性能为剧目的舞台展示增色添彩,令人欣喜和叹喟。我作为一名琵琶演奏员,也曾应邀为当地晋剧团排演的新
目的:讨论在牙体牙髓病护理管理中应用精细化管理的作用及价值.方法:从我院在2019年治疗的牙体牙髓病患者病例中抽选出90例,将所选病例分成两组,其中一组实施常规护理管理(参
目的:研究老年冠心病患者发生心律失常的危险因素并提出相应护理干预措施.方法:选择本院2018年6月至2019年12月间我院收治的老年冠心病患者180例作为分析对象,通过自制调查问
目的:讨论心理护理对血液病患者输血恐惧及护理质量的影响研究.方法:选取我院治疗血液疾病的患者160例,根据随机数字法分为两组,在实验组中使用心理护理,在对照组中使用常规