摘要互联网发展至今,传统媒体已经日渐落寞,作为新生代媒体,网络已经在这一领域占据了越来越重要的地位,而且这种趋势还在上涨。
现今,越来越多的人通过互联网来表达自己对社会现状的态度和政治诉求等等,从互联网这一自由开放的媒体中了解民生,开展网络舆情信息采集和分析,已经各级政府部门目前面临的重要课题。
互联网作为新生代媒体,其发展势头迅猛,各大门户网站纷纷进军互联网领域抢占市场,竞争十分激烈,而其中新浪在这场竞争中表现得相当出色,新浪微博民众信息分享平台的首选。
本论文就设计了一个专门针对新浪微博的舆情数据采集系统,它包含如下几个功能:查询指定用户的微博信息、查询指定微博的评论信息和转发信息、查询指定用户的所有粉丝和搜索该用户的指定粉丝、查询指定用户的所有关注和搜索该用户的指定关注以及将上述信息保存到本地数据库中,供以后对数据进行分析。
该系统是基于新浪官方提供的API来开发的,采用Java和Mysql实现软件的开发,Java 实现软件的界面和数据展示,Mysql实现数据的存储。
工作时,它根据用户输入的信息,采用多线程方式去采集用户数据,主界面弹出等待提示框,给用户提供良好的用户体验。
在展示数据的时候,考虑到微博数据的庞大,该系统采用了分页技术来展示数据,而且对界面进行了美化,给用户提供一个美观的界面浏览。
【关键词】网络舆情新浪微博Java Mysql 微博APIABSTRACTSince the development of Internet, traditional media has already lonely, as a new generation of media, the network has become more and more important in this field, and the trend is still rising. Nowadays, more and more people through the Internet to express themselves on the social status of the attitude and political appeal and so on, to understand the people's livelihood from the Internet which is a free and open media, network public opinion information collection and analysis, an important issue has been at all levels of government departments are currently facing.Internet as a new generation of media, the momentum of rapid development, the major portals have to enter the field of Internet to seize the market, competition is very fierce, and Sina in this competition performed very well, Sina micro-blog public information sharing platform of choice. This thesis is to design a specific Sina micro-blog public opinion data acquisition system, which includes the following functions: query specifies the user's micro-blog, micro-blog information query specifies the comment information and forwarding information, query specifies the user all the fans and search the user specified fans, query specifies all of the user's attention and search the the specified user attention and the information is saved to a local database, for later data analysis.The system is based on API to Sina official development, developed using Java and Mysql software, Java software interface and data display, Mysql data storage. When working, it according to the input information of a user, using multiple threads to collect user data, the main interface pops up wait for a prompt box, to provide users with a good user experience. In the display of the data when the micro-blog, considering the huge data, the system uses the paging technique to display data, and the interface is beautiful, to provide users with a beautiful interface to browse.【Key words】Network public opinion Sina micro-blog Java Mysql Micro-blog API目录前言 (1)第一章系统相关技术概述 (3)第一节Java技术概述 (3)一、Java简要介绍 (3)二、GUI图形用户界面 (3)三、多线程 (4)四、JDBC数据库连接 (4)第二节新浪微博Java SDK (5)一、微博Java SDK概述 (5)二、授权认证 (5)第三节Mysql技术概述 (6)一、Mysql概述 (6)二、Mysql的特性 (6)第四节本章小结 (7)第二章需求分析 (8)第一节系统功能需求 (8)一、系统目标 (8)二、功能分析 (8)三、系统层次模块图 (9)第二节系统性能要求 (10)第三节运行环境 (10)第四节系统用例图 (11)第五节本章小结 (11)第三章系统设计 (12)第一节系统结构分析 (12)一、系统结构图 (12)第二节系统功能模块分析 (13)一、系统模块设计 (13)二、各子功能模块分析 (13)第三节系统数据库设计 (14)一、系统数据库对象 (14)二、系统数据表 (14)第四节系统各模块设计 (17)一、启动模块的设计 (17)二、查看微博的设计 (19)三、查看粉丝的设计 (21)四、查看关注的设计 (23)五、查看评论的设计 (24)六、查看转发的设计 (25)第五节本章小结 (27)第四章系统实现 (28)第一节开发环境的搭建 (28)一、Java开发环境的搭建 (28)二、数据库环境的搭建 (30)第二节各功能模块的具体实现 (30)一、授权认证的实现 (31)二、启动模块的实现 (32)三、查看微博的实现 (32)四、查看粉丝的实现 (39)五、查看关注的实现 (41)六、查看评论的实现 (42)七、查看转发的实现 (43)第五章系统效果展示 (45)一、主界面效果展示 (45)二、查看微博的效果展示 (46)三、查看粉丝的效果展示 (46)四、查看关注的效果展示 (47)五、查看评论的效果展示 (48)六、查看转发的效果展示 (49)结论................................................................................................................ 错误!未定义书签。
致谢................................................................................................................ 错误!未定义书签。
参考文献............................................................................................................ 错误!未定义书签。
附录 (50)一、英文原文: (50)二、英文翻译: (56)前言截至目前,国内关于网络舆情的概念还没有一个统一的定义,来自天津社科院的王来华认为:舆情在其狭义上是指民众受中介性社会事项,刺激而产生的社会政治态度;而网络舆情,则主要指使用网络者或俗称“网民”的社会政治态度[1]。
我个人也比较认同王来华教授的观点。
网络舆情形成迅速,对社会影响巨大。
随着因特网在全球范围内的飞速发展,网络媒体已被公认为是继报纸、广播、电视之后的“第四媒体”,网络成为反映社会舆情的主要载体之一。
网络环境下的舆情信息的主要来源有:新闻评论、BBS、博客、微博。
网络舆情表达快捷、信息多元,方式互动,具备传统媒体无法比拟的优势。
在我国,网民以往都是呈原子状态的个体分散在全国各区域,而如今,一个由“网络化用户”构成的“网众”群体已悄然崛起,并以数以亿计的庞大用户群体构成了一个“压力集团”,截至目前,这个集团的数量与力量还呈现出上升的态势[2]。
结合网络舆情的特性和我国的基本国情,网民通过互联网来表达自己的观点诉求已成为我国公民参与政治生活的重要部分。
当某一社会事件被迅速关注进而升温成为社会焦点或公共性事件时,国内网民便纷纷通过微博、BBS、新闻等形式发表自己的看法。
那么,站在政府的角度上,由数量庞大的“网众”聚集的舆论压力和行动力量是不容忽视的,这些舆论已经不再局限于言论范畴的“说”,而是转化为社会行动范畴内的“做”了。