吉林大学学报(信息科学版) ›› 2026, Vol. 44 ›› Issue (4): 991-997.

• • 上一篇    下一篇

基于爬虫技术的电商网页关联数据自适应挖掘算法

王 琪   

  1. 黑龙江财经学院 财经信息工程学院, 哈尔滨 150025
  • 收稿日期:2025-02-07 出版日期:2026-08-06 发布日期:2026-08-06
  • 作者简介:王琪(1977— ), 女, 哈尔滨人, 黑龙江财经学院副教授, 主要从事计算机科学与技术研究, (Tel)86-18646355970 (E-mail)wqgjl321@ 163. com
  • 基金资助:
    黑龙江省教育科学规划重点课题基金资助项目(GJB1424318)

Adaptive Mining Algorithm for Association Data of E-commerce Web Page Based on Crawler Technology

WANG Qi   

  1. School of Finance and Information Engineering, Heilongjiang University of Finance and Economics, Harbin 150025, China
  • Received:2025-02-07 Online:2026-08-06 Published:2026-08-06

摘要:

为有效挖掘和利用网页数据, 以爬虫技术为支持, 提出一种关联数据自适应挖掘算法。利用爬虫技术爬取电商网页, 突破数据获取限制, 将所需数据以结构化格式存储至数据库, 为后续处理提供有序数据基础。基于存储在数据库中的稀疏数据, 依据最小支持度并运用Apriori 算法, 并通过剪枝策略, 在减少数据处理量的同时, 能在稀疏数据中精准找出频繁项集, 成功解决传统方法因数据稀疏难以获取频繁项集的问题。以树形结构为框架, 将Apriori 算法得到的频繁项集作为结点, 通过自适应结合旧结点与新结点构建挖掘树, 直至无结点可结合, 使其生成的挖掘树全面呈现数据关联关系, 进而得到充分且精准的电商网页关联数据挖掘结果。经在大型电商网站的网页上验证后表明, 所提算法能确保网页爬取的完整性, 准确获得以购买行为为目标的频繁项集, 精准挖掘电商网页中的关联数据, 在为电商平台运营提供有益参考的同时, 给予商家和消费者更好的决策支持。

关键词:

Abstract:

To effectively mine and utilize web data, a correlation data adaptive mining algorithm is proposed with the support of web crawling technology. Web crawling technology is used to crawl e-commerce web pages, breaking through data acquisition limitations, storing the required data in a structured format in a database, and providing an orderly data foundation for subsequent processing. Based on sparse data stored in the database, the Apriori algorithm is applied according to the minimum support degree. Through pruning strategy, this algorithm can accurately find frequent itemsets in sparse data while reducing data processing, successfully solving the problem of traditional methods being difficult to obtain frequent itemsets due to data sparsity. Using a tree structure as a framework, the frequent itemsets obtained by the Apriori algorithm are used as nodes. By adaptively combining old and new nodes, a mining tree is constructed until there are no nodes to combine.The generated mining tree comprehensively presents data association relationships, thereby obtaining sufficient and accurate e-commerce webpage association data mining results. After verification on the web pages of large e-commerce websites, it is found that the proposed algorithm can ensure the integrity of web crawling, accurately obtain frequent itemsets targeting purchasing behavior, and precisely mine associated data in e-commerce web pages. While providing useful references for e-commerce platform operation, it also provides better decision support for merchants and consumers.

Key words:

中图分类号: 

  • TP391