| The two-dimensional code technology developing on the basis of one-dimensional code is a comprehensive technology integrating information coding,data transmission,data encryption,and image processing.With the upgrading of mobile terminals and network communication technologies,two-dimensional code labeling technology has gradually grown.From e-commerce to e-ticketing,from industrial production management to food traceability,the presence of two-dimensional codes is engrained in all walks of life related to people's lives.With the advent of the era of sharing economy,the two-dimensional code is playing an important role in the field of shared bicycles.Two-dimensional codes are changing people's lifestyles and leading the trend.With the continuous expansion of the market size,the technical defects of the two-dimensional code have also been infinitely amplified;the lack of anti-counterfeiting and anti-theft performance caused by the openness of its own technical standards has made the application of the two-dimensional code difficult in many fields.Therefore,it is of great significance to explore safe and efficient two-dimensional code application technology.With the arrival of the era of cloud computing,the concept of service provision of IT resources has become increasingly popular.The "clouding" of software has become the main method of deployment.The specific content of the two-dimensional code has gradually shifted from the traditional offline mode to the cloud.This shift is not only the pursuit of rapid identification and flexible use of the two-dimensional code,but also provides new ideas for solving the problem of lack of anti-counterfeiting and anti-theft performance of the two-dimensional code.With the advantages of cloud computing and traditional encryption technology,the problems are solved in this work.Through the development of the platform,the control of two-dimensional codes from production to application is realized.The main research work and innovation are as follows:(1)A combination encryption and digital watermark QR code anti-counterfeiting method is designed.Firstly,the characteristics of QR code system are analyzed in depth.The capacity of QR code data,character encoding mode,content error correction and image processing are introduced.Secondly,the principle and working mode of block cipher encryption are analyzed.RSA algorithm parameter selection model is designed.The source code combination encryption algorithm is designed based on the QR code visual effect.Combining image scrambling and frequency domain transform,a QR code watermark embedding algorithm is designed.Finally,the watermarking algorithm and the combination encryption algorithm structure are combined to enhance the overall robustness of the method.(2)This work built a cloud platform application system based on anti-counterfeit QR codes.With the typical service model of cloud computing,we analyzed the cloud server's secure and reliable elastic computing services.Based on the SSM framework,we designed a layered architecture of the cloud platform and implemented view management,business object management and transaction management.Based on the cloud platform,we have built two-dimensional code dynamic identification and multi-identification model,and implemented the redirection technology,self-increase ID algorithm for multi-identification,dynamic resource identification and orientation technology.(3)This work implemented the construction of an anti-counterfeiting traceability system for OEM products.Based on the anti-counterfeit QR code cloud platform and the Android platform,we designed and analyzed the OEM(Original Equipment Manufacturer)product traceability process and realized the system development.In addition,the OEM product quality management and channel control were further performed.Finally,we performed a functional test and a performance test on the entire system.Tests showed that the system can perform all tasks normally.The function was relatively complete and the performance was strong enough to meet the on-line operating conditions. |