《机电工程》杂志,月刊( 详细... )
中国标准连续出版物号: ISSN 1001-4551 CN 33-1088/TH
主办单位:浙江省机电集团有限公司
浙江大学
主编:陈 晓
副 主 编:唐任仲、罗向阳(执行主编)
总 经 理:罗向阳
出 版:浙江《机电工程》杂志社有限公司
地 址:杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel:+86-571-87041360、87239525
E-mail:meem_contribute@163.com
国外发行:中国国际图书贸易总公司
订阅:全国各地邮局 国外代号:M3135
国内发行:浙江省报刊发行局
邮发代号:32-68
广告发布登记证:杭上市管广发G-001号
在线杂志 |
当前位置: 机电工程 >>在线杂志 |
基于支付宝的自动售货机网上支付系统*
作者:汤金瓯,余世明* 日期:2010-06-28/span> 浏览:3452 查看PDF文档
基于支付宝的自动售货机网上支付系统*
汤金瓯,余世明*
(浙江工业大学 信息工程学院,浙江 杭州 310023)
摘要:针对自动售货机手机短信支付和IC卡支付存在的不足,提出了支付宝等第三方来实现自动售货机网上支付,不仅销售时间能够得以控制,而且也能得到大面积推广,实现跨地域使用。设计了基于通用分组无线业务(GPRS)的自动售货机中心服务器系统;自动售货机组通过Socket通信与该中心服务器进行实时交互,通过中心服务器这个桥梁来实现网上支付;详细介绍了整个系统总体框架,并着重介绍了GPRS、线程池、支付宝接口这3个关键技术。实践结果证明,利用支付宝实现自动售货机网上支付完全可行。
关键词:自动售货机;多线程;通用分组无线业务;支付宝
中图分类号:TP39文献标识码:A文章编号:1001-4551(2010)05-0124-03
Online payment system of vending machine based on alipay
TANG Jinou, YU Shiming
(College of Information Engineering, Zhejiang University of Technology, Hangzhou 310023, China)
Abstract: Aiming at the defects of SMS payment and IC card payment, automatic vending machine alipay online payment was used, not only sales of time under control, but also largescale promotion, crossboundary use. A central server system based on general packet radio service(GPRS) network was designed; realtime interaction was realized by Socket communications and the central server in vending machine. The overall framework of the whole system was described in detail, with an emphasis on the GPRS, the thread pool, alipay interface. The use of automatic vending machines shows that alipay online payment has been proved in practice.
Key words: vending machine; multithread; general packet radio service(GPRS); alipay
友情链接