- 1、本文档共34页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
在线产品即时比价系统要点
编号:
毕业设计说明书
题 目:
学 院: 学院专 业:
学生姓名:
学 号:1001110730
指导教师单位:
姓 名:
职 称:
题目类型:(理论研究 (实验研究 (工程设计 (工程技术研究 (软件开发
20年月日
摘 要
近些年来电子商务行业获得了飞速的发展,电子商务改变了人们的购物习惯,越来越多的人倾向于在网上购买商品。然而,用户如何在众多的电子商务网站中找到性价比最高的商品?
为了解决以上问题,即时比价系统就诞生了,即时比价系统通过收录各大电商网站的商品信息,实现了即时比价的功能。用户可以通过比价系统实时获得各大电商网站中的产品价格信息,而不用在多个电商的门户网站上来回切换,同时比价网站也提供给了用户平时不会关注的冷门电商网站的商品信息。
本系统的功能是为用户爬取各大电商网站的商品信息,并将这些数据同步呈现给用户。本系统分为3个层次:业务逻辑层、数据爬取层、视图层。数据爬取层是整个个系统的核心,使用Jsoup文本解析库来对HTML文本进行解析,以获取其中的商品信息,再将获得的商品信息以对象的形式保存到一个列表中。业务逻辑层是系统中的难点,其中使用了字符串相似度计算算法来取得两个名称相似或相同的商品,才能更好地实现对商品价格的对比功能。
本系统非常具有实用性,也有高度的可拓展性,可以很便捷地增加数据源。
关键词:电子商务;比价系统;数据爬取
Abstract
Recent years, with the rapid development, people’s shopping habits have a big change, and online shopping are being practiced by more and more web users. However, how can the users find the high performance-price ratio goods from so many e-commerce sites?
In order to solve this problem, price-comparisons was born. Price-comparisons in order to compare prices form different e-commerce sites immediately, it records the product form different e-commerce sites. Users can find the price of goods from more than one site in the price-comparisons, rather than in a number of websites switch back and forth. At the same time price-comparisons also provide the users information of goods from websites that are unpopular.
The function of the system is to crawl the information of goods from websites for users, and synchronize the data presented to the user. The system is divided into three layers: the business logic layer, data layer crawling and view layer. Data crawling layer is the core of the system, and using Jsoup text parsing library for parsing HTML text in order to obtain the information of commodities, and saving the information as a Object into a List. The business logic layer is the difficulty of the system. To get the similarity or same product
文档评论(0)