金陵一卡通支付模块在南京地铁蔬菜贩卖系统中的应用研究

 2022-01-22 11:01

论文总字数:26798字

摘 要

自动售货机作为绝大多数发达国家的商品零售的主流零售模式,已成为人们生活中不可或缺的一部分。南京地铁人流量巨大,绝大多数人持有乘坐地铁首选支付方式之一的金陵通,将其应用于南京地铁蔬菜贩卖机上,具有广阔的发展空间和应用前景。根据将金陵通卡支付方式应用于地铁蔬菜贩卖机上的课题要求,以自动售货机和金陵通卡支付模块为基础,本文介绍了相关的软件接口模块设计和实现。

本文介绍了IC卡和自动售货机的发展历史和研究现状,并比较三种主流支付方式的优劣;在硬件方面介绍了IC卡、读卡器、ARM三种硬件的工作原理及选型;软件上介绍了编写接口程序的开发语言C#以及开发平台Visual Studio 2010;本文设计了一个测试软件,用于模拟金陵通在实际情况中的刷卡付费流程;在论文主体部分简述了PC机与ARM的通讯接口协议、PC机与读卡器的接口函数以及程序的设计思想及流程图;本文在蔬菜贩卖机上验证了该接口程序的可行性,成功实现使用金陵通在蔬菜贩卖机上购物支付;论文的最后对本文进行了总结,并分析了IC卡支付模式未来巨大的发展前景。

关键词:蔬菜贩卖机;金陵一卡通卡支付;网络通讯;C#

Abstract

As the mainstream retail mode of commodity retail in most developed countries, vending machine has become an indispensable part of people's life. Nanjing subway has a huge flow of people, the vast majority of people hold ride subway preferred payment method of Jining pass. It has a broad development space and application foreground, which its application in Nanjing Metro vegetable vending machines. According to Jinling pass card payment application in subway vegetable selling machine on the requirements of the subject, vending machines and Jinling pass card payment module based. This paper introduces the relevant software module design and Implementation.

This paper introduces the development history and research status of IC card and vending machine, and compares the advantages and disadvantages of three mainstream payment methods. In the hardware, the paper introduces the working principle and the selection of the IC card, the reader and the ARM . Introduces the development language and the development platform of the interface program on the software. This paper designs a test software, which can simulate the application of Jinling in reality. In the communication interface protocol for the main part of the paper introduces the PC and arm, PC and read card device interface functions and procedures of the design idea and flow chart; the last part of the thesis summarizes the some deficiencies in the design, and analysis of the IC card payment mode in the future great prospects for development. The experiment verified the feasibility of the design, and it used the IC card in the vending machine to have the wide application prospect in the vending machine industry.

Keywords: Vending machine; IC card payment; Serial communication; C#

目录

摘要 I

Abstract II

第一章 绪论 1

1.1课题研究的背景和意义 1

1.2目前国内外研究现状 2

第二章 整体设计 3

2.1需求分析 3

2.2软件运行平台介绍 4

2.3金陵通在线消费测试软件整体设计 6

2.4正式接口程序整体设计 7

第三章 金陵通在线消费测试软件设计及实现 8

3.1开发环境和开发语言介绍 8

3.2测试软件设计实现 9

第四章 金陵通与蔬菜贩卖机接口程序设计及实现 15

4.1 PC机与ARM间的通讯接口协议 15

4.2通讯指令详细说明 17

4.3用户卡扣款 19

4.4窗体界面设计 21

4.5主要调用函数 22

第五章 软件调试 24

5.1测试环境 24

5.2软件测试 26

第六章 总结与展望 29

6.1总结 29

6.2展望 30

致谢 31

参考文献 32

第一章 绪论

1.1课题研究的背景和意义

自动售货机被称为24小时营业的微型自助超市,又称自动贩卖机,其具有非常广泛的售货领域,是大部分发达国家商品零售的主流方式之一

1980年以来,自动售货机以其创新性的销售方式在美、日等发达国家得到了迅速的普及和发展。其特点是科技含量高,集光、机、电、防伪识别、数字加密、智能软件等技术于一体;24小时服务,售货便利;不用派人监守,低成本,高回报;可以卖各种各样的商品,如饮料,蔬菜,书本,U盘,甚至黄金等等。目前,自动售货机已经在65个国家和地区使用。根据美国《自动时代》统计,日本每23人拥有一台自动售货机、美国每40人一台、欧洲每60人一台。在邻国日本,全国市场70%的罐装饮料是通过自动售货机售出的,每个人一年投入自动售货机用于购物的货币高达400多美元[1];根据日本麒麟啤酒公司调查,一台自动售货机每年可售出上万罐清凉饮料,比一般不太繁忙的小商店销量还要大;美国可口可乐公司则拥有分布于世界各地的几十万台饮料售货机;在西班牙,全国通过自动售货机售出的商品销售额占全国零售业的六成以上,并以每年10%的速度递增。全世界约有1800万台自动售货机处于运营中,包括自动售货机制造与运营在内的整个行业年销售额超过2500亿美元,自动售货业已成为零售业态增长最快的行业之一[2]

1999年,自动售货机(自动贩卖机)逐步进入中国,它开始进入中国市场。如今,在机场、地铁、商场、公园等客流较大的场所,经常看到自动售货机(自动贩卖机)的身影。目前,中国的自动售货机拥有量约为2万台,相对于13亿多的人口大国,这个数字微不足道。中国自动售货机专业委员会对中国内地自动售货机(自动贩卖机)应用市场做出的预测是,启动期至少应布机10万台,年生产总值在10亿元人民币,到发展期至少应布机50万台,年产值应达到100亿元人民币,而到成熟期将达到300万台,年生产总值将达到600亿元之巨,届时中国的自动售货机将发展成为一个巨大的产业[3]

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

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;