Online shopping system(在线购物系统)
实验一
1. Problem Statement
With the development of smart phones and the popularization of the Internet, people’s lives are becoming more and more convenient. As a programmer, now you need to develop an online shopping system. The new system can be accessed through the network of mobile phones and computers, while the new system will allow customers to synchronize their shopping cart information with computers and mobile phones, and allow customers to reserve the latest products to be released.
Customers can find the products they need according to the key or item attribute categories. They can freely choose the quantity and color of the goods and add them to their shopping carts, and can view other customers' evaluation of the products.
Tencent will open the payment interface of WeChat because of the cooperation relationship between Tencent and its customers. This system supports the completion of online payment via WeChat.
After the customer completes the order, the system will automatically generate the order number and automatically notify the workers to pack and express the company.
After receiving the item, the customer can post his opinions and pictures of the product. At the same time, the system can perform machine learning according to the customer's buying habits and conduct product recommendation appropriately.
The system allows customers to register members and discounts on the products purchased by the members. Discounts can also be made on specific festivals.
随着智能手机的发展和互联网的普及,人民的生活越来越便利。作为一个程序员,现在你需要开发一个在线购物系统。新的系统可以通过手机和电脑的网络进行访问,同时新的系统将允许客户在电脑和手机同步自己购物车的信息,并且允许客户预约将要的发布的最新的产品。
顾客可以按关键或者物品属性类来查找自己需要的商品,可以自由得选择商品的数量和颜色并把他们加入到自己的购物车,并且可以查看其他客户对商品的评价。
由于客户与腾讯存在合作关系,腾讯将开放微信的支付接口,本系统支持通过微信实现在线支付完成下单。
在顾客完成下单后,系统将自动生成订单号,并自动通知工人进行打包和快递公司。
顾客收到物品后可以发表自己对商品的看法和图片。同时系统可以根据顾客的购买习惯进行机器学习,适当的进行商品推荐。
系统允许顾客注册会员,并对会员购买的商品进行打折,也可以在特定节日对商品进行打折。
2.Domain Activity(业务领域活动图)
3. Glossary
3.1 Introduction
This document is used to define terminology specific to the problem domain, explaining terms, which may be unfamiliar to the reader of the use-case descriptions or other project documents. Often, this document can be used as an informal data dictionary, capturing data definitions so that use-case descriptions and other project documents can focus on what the system must do with the information.
本文档用于定义特定于问题域的术语,解释术语,读者可能不熟悉用例描述或其他项目文档。通常,该文档可以用作非正式的数据字典,捕获数据定义,以便用例描述和其他项目文档可以关注系统必须对信息做什么。
3.2 Definitions(定义)
2.1 customer(顾客)
A person who wants to buy goods in this system。
一个想在本系统购买商品的人。
2.2 commodity (商品)
Items sold in this store
本商店销售的物品
2.3 shopping cat (购物车)
Where customer goods are stored。
存放顾客商品的地方
2.4 Orders (订单)
The statistical table of things purchased by the customer includes the number of products,the purchase price and date, and the order number.
顾客购买的东西的统计表,包括商品数量,购买价钱和日期,以及订单号。
2.5 Employee(内部员工)
Store staff responsible for packing and delivering merchandise。
商店聘请的负责打包和配送商品的工作人员
2.6 user(用户)
People registered in this system and using this system.
在本系统注册,并且使用本系统的人
2.7Express employee(快递员工)
A employee responsible for transporting goods and sending goods to customers' homes.
负责运送商品,把商品送到客户的家里的公司。
4.Domain Class Diagram(领域类图)
实验二
1.User Case Diagram
2. Table template description表模板描述
(1)用况名:搜索商品
简述:用户通过输入商品的名字进行对应的商品查找
参与者:用户
包含:类似商品查找
扩展:无
继承&#