登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 软件工程 > 正文

基于微信小程序的在线购书与推荐系统的设计与实现

 2023-01-18 08:01  

论文总字数:25828字

摘 要

互联网的时代下现在的应用都是通过网络流量方式变现,而APP是一个封闭的模式,想要获得新客户又还要要保持现有的客户都是比较困难的,传统的相关的线上业务及电商开展已无法满足很多用户及商户的需求。尤其是一些商户,运营成本越来越高,但是转化却日益低迷。而天生自带流量的小程序,用户和商户都无需下载安装,就可以实现用户可直达商户,小程序相对于APP的进入门槛更低,开发周期更短,费用更低[1]。现在有很多看书和小说的APP,这种APP也可以给用户推荐喜欢的小说或书,但是有些人喜欢看书本的书籍而不是电子书,所以我打算用微笑小程序的形式开发一个推荐购物小程序,这种小程序不需下载很方便。

在小程序的首页可以翻到任何的书籍供用户浏览,也可以直接搜索书籍名字找书,看到自己喜欢的书籍可以点进去看详情,如果喜欢的话可以加入自己的购物车里,或者直接购买,用户也可以在书籍界面里按照分类来找自己喜欢看的书籍,用户自行添加收货地址后就可以购买书籍,小程序还有商品后台管理,管理员可以登入进行书籍添加删除的管理。

关键字:微信小程序;云开发;云存储;协同过滤算法

Recommended book purchase applet based on wechat applet development

Abstract

In the era of mobile Internet, the cost of traffic acquisition and realization remains high. As a closed-loop ecosystem, it is difficult for app to obtain customers or maintain existing customers. Traditional online business and e-commerce cannot meet the needs of many users and merchants. Especially for some merchants, the operating cost is getting higher and higher, but the transformation is increasingly depressed. As for the app with its own traffic, users and merchants do not need to download and install it. Users can go directly to the merchants. At the same time, it also provides users with a variety of life services in an app ecosystem. Compared with app, the entry threshold of the app is lower, the development cycle is shorter, and the cost is lower [1]. Now there are many apps for reading books and novels, which can also recommend favorite novels or books to users, but some people like to read books instead of e-books, so I plan to develop a recommended shopping app in the form of a smile app, which is very convenient without downloading.

On the front page of the app, you can browse any book, or search the name of the book directly to find the book. When you see the book you like, you can click in to see the details. If you like, you can add it to your shopping cart or buy it directly. Users can also find the book they like according to the classification in the book interface, Users can buy books after adding the receiving address. There is commodity background management in the small program. The administrator can log in to manage the addition and deletion of books.

Keyword:Wechat applet; Cloud development; cloud storage; Collaborative filtering algorithm

目录

摘要 I

Abstract II

第一章 绪论 1

1.1 研究背景与意义 1

1.2 相关研究现状 1

1.3主要研究工作 2

1.3.1研究方法 2

1.4论文框架和进度安排 2

1.4.1进度安排 3

1.5本章小结 3

第二章系统相关技术基础 4

2.1微信小程序 4

2.2 微信小程序云开发 6

2.2.1小程序云开发与传统开发模式的区别 6

2.2.2 云开发提供的五大能力 7

2.3 协同过滤算法 7

2.3.1以用户为基础(User-based)的协同过滤 8

2.3.2以项目为基础(Item-based)的协同过滤 8

2.4 本章小结 9

第三章 系统需求分析 10

3.1 系统业务流程图 10

3.2 系统数据流分析 11

3.3 系统功能总体功能分析 12

3.4 系统功能详细需求分析 12

3.4.1 书籍信息展示 13

3.4.2 书籍分类 14

3.4.3 购物车 15

3.4.4 下单支付 15

3.4.5 个人信息管理 16

3.4.6 后台数据管理 17

3.5本章小结 18

第四章 系统功能设计 19

4.1 系统的总体设计 19

4.1.1系统分层结构设计 19

4.1.2系统功能模块结构设计 20

4.1.3系统总体工作流程设计 22

4.1.4 系统数据库设计 22

4.2 系统详细设计 25

4.3客户端和服务器的交互设计 25

4.4书籍展示模块 26

4.5书籍分类模块 26

4.6购物车模块 27

4.6.1 后台管理模块 28

4.7核心算法设计 29

4.7.1用户授权代码如下: 29

4.7.2 收货地址代码 30

4.7.3 价格结算代码-get_money_sum()函数 31

}, 31

4.8本章小结 31

第五章 系统实现与测试 32

5.1 系统实现工具与环境 32

5.1.1 小程序账号注册 32

5.1.2 开发环境配置 32

5.2核心代码分析 33

5.2.1 首页搜索框和书籍展示代码: 33

5.2.2 购物车商品展示代码及商品结算代码 34

5.2.3用户获取收货地址代码,调用微信开发API实现 35

5.2.4 微信用户授权小程序代码 35

5.2.5 推荐算法的皮尔森向量计算 36

5.3 系统主要运行界面 37

5.3.1 购书小程序首页 37

5.3.2书籍界面 37

5.3.3 书籍详细界面 37

5.3.4 购物车界面 38

5.3.5 个人中心界面 38

5.3.6 管理员界面 39

5.3.7 推荐书籍功能 40

5.4 系统测试 41

5.4.2 对系统的主要页面和功能的测试用例图 41

5.4.3 系统非功能测试 43

5.5本章小结 44

第六章 总结与展望 45

6.1总结 45

6.2展望 45

致谢 45

参考文献 46

第一章 绪论

1.1 研究背景与意义

随着近几年来信息技术,网络基础设备的不断完善,和第三方支付工具的广泛普遍,网上购书已经成为人们生活的一部分。基于PC端平台的购书系统方便了人们足不出户就能享受到购书的乐趣,而基于手机端的在线购书则更是发挥了智能手机终端的便携性,能使人民大众随时随地购买自己喜欢的书籍。移动智能设备在可携带性、随时性、便捷性等方面具有独特的优势,借助移动智能手机,摆脱了传统线下购书的束缚,让任意时间和任意地点购书成为了可能。在成熟的技术支撑和庞大的用户群体以及线上购书理念的转变,使得移动购书慢慢走进我们的生活中并迅猛发展。

2016年,微信之父张小龙在微信公开课上预告了微信小程序的诞生。2017年1月9日,微信正式推出了轻量级应用——微信小程序,张小龙对小程序进行了描述,说小程序是依赖于微信软件的,体现出“触手可及,用完即走”的特点[2]。随着小程序的不断发展,涉及的众多领域越来越多,比如社交、美食、办公和出行等各个方面。在基本上的的应用领域中,用户的使用频率都不高,停留时间都很短的应用就很适合用微信小程序开发,用户不必为了使用某一个功能特意去下载一个软件,除去了下载、安装和后续的一些工作。

剩余内容已隐藏,请支付后下载全文,论文总字数:25828字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图