基于Web服务的社会标注系统的设计与实现
发布时间:2019-07-03 14:09
【摘要】:随着互联网的普及,互联网逐渐从娱乐附属品,变为现在人们生活离不开的重要一部分,这主要得益于互联网提供的便捷的互联网产品,互联网服务。人们可以在互联网里自由浏览资源,甚至发布资源。而互联网中一种重要的网站模式叫做社会标注系统。在该系统中,人们可以收藏自己感兴趣的资源,并对资源进行标注。同时,系统会根据用户的喜好,推荐合适的资源。 本文主要工作包括:搭建社会标注系统,设计推荐算法,基于该社会标注系统开发Web服务,最后开发客户端进行服务测试。首先,社会标注系统的搭建使用SSH框架进行搭建。即使用Struts+Hibernate+Spring作为框架,搭建标注系统。其中Struts主要负责沟通前台视图层和后台核心业务逻辑层。Hibernate负责数据库的相关操作。Spring贯穿整个项目,负责核心业务逻辑组件,并管理Struts和Hibernate.社会标注系统中核心的模块就是推荐模块,我们将根据已有推荐算法,设计改进推荐算法。推荐部分主要包括两部分:一个是推荐资源,也就是对用户进行个性化推荐服务。根据用户收藏的资源,推荐类似资源给用户。而另一个是推荐标签。当用户标注资源时,系统会收集其他用户对该资源标注的标签,当前用户可以查看该资源的所有已经标注过的标签,并根据这些标注标签添加自己的标签,以减少标签的噪声。 当系统构建完成后,我们使用CXF框架开发Web服务。我们将该系统的核心功能,例如:添加收藏功能,推荐功能,标签功能等编写服务接口并实现。当Web服务发布成功后,将会生成WSDL文档。其他网站就可以利用该文档中提供的服务的函数名、参数,向服务器发送服务请求。 本系统对外开发Web Service成功后,开发了网页客户端进行服务测试。在测试的过程中,不断调整发布的服务的函数中的形参。保证客户端在调用服务时,服务器能够高效完成服务。
[Abstract]:With the popularity of the Internet, the Internet has gradually changed from entertainment accessories to an important part of people's lives now, which mainly benefits from the convenient Internet products provided by the Internet, Internet services. People are free to browse and even publish resources on the Internet. And an important website model in the Internet is called social tagging system. In this system, people can collect the resources they are interested in and mark them. At the same time, the system will recommend appropriate resources according to the preferences of users. The main work of this paper includes: building the social tagging system, designing the recommendation algorithm, developing the Web service based on the social tagging system, and finally developing the client to test the service. First of all, the construction of social tagging system uses SSH framework to build. Even if Struts Hibernate Spring is used as the framework, the marking system is built. Among them, Struts is mainly responsible for communicating the foreground view layer and the background core business logic layer. Hibernate is responsible for the operation of the database. Spring runs through the whole project, is responsible for the core business logic components, and manages Struts and Hibernate.. The core module of social tagging system is the recommendation module. We will design the improved recommendation algorithm according to the existing recommendation algorithm. The recommendation part mainly includes two parts: one is the recommendation resource, that is, to carry on the personalized recommendation service to the user. According to the resources collected by the user, similar resources are recommended to the user. The other is the recommendation label. When a user dimensions a resource, the system collects tags that other users label on the resource. The current user can view all the tagged tags of the resource and add their own tags according to these tags to reduce the noise of the label. When the system is built, we use the CXF framework to develop Web services. We write and implement the core functions of the system, such as adding collection function, recommendation function, label function and so on. When the Web service is published successfully, the WSDL document is generated. Other sites can use the function name and parameters of the service provided in the document to send a service request to the server. After the successful development of Web Service, the web client is developed to test the service. During testing, constantly adjust the parameters in the published service function. Ensure that the server can complete the service efficiently when the client invokes the service.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09
本文编号:2509455
[Abstract]:With the popularity of the Internet, the Internet has gradually changed from entertainment accessories to an important part of people's lives now, which mainly benefits from the convenient Internet products provided by the Internet, Internet services. People are free to browse and even publish resources on the Internet. And an important website model in the Internet is called social tagging system. In this system, people can collect the resources they are interested in and mark them. At the same time, the system will recommend appropriate resources according to the preferences of users. The main work of this paper includes: building the social tagging system, designing the recommendation algorithm, developing the Web service based on the social tagging system, and finally developing the client to test the service. First of all, the construction of social tagging system uses SSH framework to build. Even if Struts Hibernate Spring is used as the framework, the marking system is built. Among them, Struts is mainly responsible for communicating the foreground view layer and the background core business logic layer. Hibernate is responsible for the operation of the database. Spring runs through the whole project, is responsible for the core business logic components, and manages Struts and Hibernate.. The core module of social tagging system is the recommendation module. We will design the improved recommendation algorithm according to the existing recommendation algorithm. The recommendation part mainly includes two parts: one is the recommendation resource, that is, to carry on the personalized recommendation service to the user. According to the resources collected by the user, similar resources are recommended to the user. The other is the recommendation label. When a user dimensions a resource, the system collects tags that other users label on the resource. The current user can view all the tagged tags of the resource and add their own tags according to these tags to reduce the noise of the label. When the system is built, we use the CXF framework to develop Web services. We write and implement the core functions of the system, such as adding collection function, recommendation function, label function and so on. When the Web service is published successfully, the WSDL document is generated. Other sites can use the function name and parameters of the service provided in the document to send a service request to the server. After the successful development of Web Service, the web client is developed to test the service. During testing, constantly adjust the parameters in the published service function. Ensure that the server can complete the service efficiently when the client invokes the service.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09
【参考文献】
相关期刊论文 前8条
1 吴泓辰;王新军;成勇;彭朝晖;;基于协同过滤与划分聚类的改进推荐算法[J];计算机研究与发展;2011年S3期
2 胡建强,邹鹏,王怀民,周斌;Web服务描述语言QWSDL和服务匹配模型研究[J];计算机学报;2005年04期
3 张红卫;贾松涛;李晓;王磊;刘强;;基于SSH的多语种构件库管理系统的设计与实现[J];计算机应用与软件;2010年05期
4 曾春,邢春晓,周立柱;个性化服务技术综述[J];软件学报;2002年10期
5 岳昆,王晓玲,周傲英;Web服务核心支撑技术:研究综述[J];软件学报;2004年03期
6 魏登萍;王挺;王戟;;融合描述文档结构和参引特征的Web服务发现[J];软件学报;2011年09期
7 袁丹寿;戎蒙恬;;基于改进欧几里德算法的可重构性逆元结构[J];上海交通大学学报;2006年01期
8 梅立军;付小龙;刘启新;沈锡臣;;基于SOA的数据交换平台研究与实现[J];计算机工程与设计;2006年19期
,本文编号:2509455
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2509455.html