进入二十一世纪之后,高新技术产业得到了极其迅速的发展。计算机、互联网、物联网、云计算等领域的发展,使得整个社会的信息化程度极大提高。随着技术的不断成熟,目前的一维条形码已逐渐向二维码过渡。本课题即是南京苏宁易购电子商务有限公司为方便进行固定资产管理和提高资产清点速度而进行的。
本文详细阐述了一种使用QR二维码协助进行资产管理的Python程序设计开发过程。通过本程序,用户可对需要编码或解码的资产信息执行编、解码操作,并生成相应的QR二维码图像或获得原始编码信息,所有生成的QR二维码图像以PNG文件格式进行储存。在用户界面方面,本课题通过Web.py框架实现了二维码的在线编解码功能,用户可通过网页进行相关操作。
本课题另外提供了单笔资料编码及批量资料编码功能,方便用户针对不同的使用情况进行编码操作,所生成的QR二维码可以应用于Android和IOS系统,使用手机软件扫描即可获得原始编码的资产信息。
关键词:QR二维码 Python 资产管理 网页
Abstract
When entering 21 Century, the high-tech industry has developed rapidly. With the development of computer sciences, internet, internet of things, cloud computing, etc., the informatization level of our society is greatly improved. Now, the trend of replacement of traditional 1D bar code with 2D code is becoming increasingly evident. This project is for asset management and speeding up asset inventory implemented by Suning Yigou Ecommerce Ltd.
This paper describes a development process which uses QR two-dimensional code to assist asset management by Python. Through this program, a user can perform coding, decoding operation on his needs to encode or decode the asset information, and generate the corresponding QR two-dimensional code image or obtain the original code information, all QR code image which is generated by the program is stored with PNG file format. In the user interface, this project uses the Web.py framework to complete the online two-dimensional code encoding and decoding feature, users can manipulate on the Webpage.
This task provides mass generation and one time generation. The generated QR code image is accussable on Android and IOS system. When scanned by mobile phone apps, then the asset information will show up.
Key Words: QR code; Python; Assets management; Web site
目 录