摘要
随着移动通信技术和互联网的发展,以二维码为入口的信息防伪技术得到越来越多的移动用户和商家的青睐;为了实现对衣物信息的防伪溯源,设计了一种二维码防伪溯源平台;在分析各种常用的花样文件格式的基础上,使用田岛7.0绣花软件将二维码图片转化成花样文件DSB格式;通过文件格式解析,将花样文件DSB格式转化成电子花样机能够识别的花样文件NTP格式;使用电子花样机将二维码花型缝制在衣物上,通过手机浏览器扫描二维码得到相关信息;二维码防伪溯源平台是在Linux系统下,以Nginx作为反向代理和轻量级Web应用服务器,CGI作为中间包裹,数据存储采用Redis缓存数据库,用来存储二维码对应的数据信息;浏览器与服务器通过HTTP协议建立连接并进行交互,服务器把数据库中的二维码信息返回给浏览器;经验证,该设计方案能够有效改进传统服装标签信息易被窃取的缺点,还能够通过扫描缝制在衣服上的二维码达到防伪溯源的目的。
With the development of mobile communication technology and the Internet.More and more mobile users and businesses are interested in the QR code for the entrance of information security technology.In order to realize the anti-counterfeiting tracing of clothing information,a platform of QR code anti-counterfeiting traceability is designed.On the base of analyzing all kinds of common sewing pattern formats,converting QR code images into DSB pattern by Tajima 7.0 embroidery software.Through the file format analysis,converting DSB pattern into NTP pattern which can be recognized by electronic pattern machines.And then through the electronic pattern machine to sew it on the clothes.Using the phone browser to scan the QR code to get the relevant information.The platform of QR code anti-counterfeiting and traceability is under the Linux system,Using Nginx as a reverse proxy and lightweight Web application server,CGI as an intermediate package,the data storage use Redis cache database which can store the QR code information.Through the HTTP protocol,browsers and servers establish connections and interact with each other and return the QR code information to the browser.It is proved that the scheme can effectively improve the disadvantages of traditional clothing labels that is easily stolen information.And achieve the purpose of anti-counterfeiting by scanning QR code.
作者
邢毓华
张瑶
Xing Yuhua;Zhang Yao(College of Automation and Information Engineering,Xi an University of Technology,Xi’an 710048,China)
出处
《计算机测量与控制》
2018年第7期132-136,共5页
Computer Measurement &Control
关键词
二维码
花样文件
防伪溯源
QR code
pattern format
anti-counterfeiting
作者简介
邢毓华(1966),男,陕西西安人,副教授,硕士研究生导师,主要从事物联网通信技术方向的研究。