CN103914720A - Two-dimension code image encryption system and two-dimension code image generation method - Google Patents

Two-dimension code image encryption system and two-dimension code image generation method Download PDF

Info

Publication number
CN103914720A
CN103914720A CN 201310005871 CN201310005871A CN103914720A CN 103914720 A CN103914720 A CN 103914720A CN 201310005871 CN201310005871 CN 201310005871 CN 201310005871 A CN201310005871 A CN 201310005871A CN 103914720 A CN103914720 A CN 103914720A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
dimensional code
data
dimension code
image
database
Prior art date
Application number
CN 201310005871
Other languages
Chinese (zh)
Other versions
CN103914720B (en )
Inventor
吴秋蓉
陈建刚
Original Assignee
广州宽度信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention discloses a two-dimension code image encryption system and a two-dimension code image generation method. The two-dimension code image encryption system is composed of a management side and a client side. The management side comprises a database, an information management platform and a two-dimension code generation server. The client side comprises a two-dimension code client terminal. The two-dimension code image generation method comprises the steps that a use request is raised by a two-dimension code user, after the use request is audited through the information management platform, digital sequences are generated by the database according to the number required for use, after the digital sequences are encrypted through the two-dimension code generation server, data documents are generated in batches, and two-dimension code images are generated in batches by the two-dimension code client terminal through the data documents. The system and method are achieved on the basis of a two-dimension code of a covert coding scheme developed by an applicant and have the advantages that the confidentiality is strong and the data transmission amount is small in the two-dimension code generation process.

Description

—种二维码图像加密系统及二维码图像生成方法 - encryption system kind of two-dimensional code image generating method and a two-dimensional code image

技术领域 FIELD

[0001] 本发明涉及二维码应用技术,尤其是涉及一种二维码图像的加密系统及加密图像的生成方法。 [0001] The present invention relates to a two-dimensional code application technology, particularly to a method of generating an encryption system and the encrypted image is a two-dimensional code image.

背景技术 Background technique

[0002] 二维码如今已广泛应用在商品防伪、物流管理、防窜货、以及购物等众多领域中,在国内也有不少个人或团体在大力开发二维码技术。 [0002] two-dimensional code is now widely used in commercial security, logistics management, Cuanhuo, as well as numerous shopping areas in the country, there are many individuals or groups vigorously develop two-dimensional code technology. 但是,如今大多数的二维码的编码规则是公开的,二维码图像的生成也没有得到授权和有效的管理,导致很多二维码图像被破解得到产品的信息,并被用于仿制出大量的假冒伪劣产品,损害消费者和生成厂家的合法利益。 However, most of today's two-dimensional code encoding rules are public, generate two-dimensional code image has not been authorized and effective management, resulting in a lot of two-dimensional code image is compromised to get information about the product, and used an imitation a large number of fake and shoddy products, harm the legitimate interests of consumers and manufacturers generated. 同时,为保证二维码图像的有效性,二维码信息管理平台需要将完整的、无压缩的图像数据提供给应用单位,这些图像数据也会占用比较大的存储空间。 Meanwhile, to ensure the effectiveness of the two-dimensional code information management platform needs to be two-dimensional code image is complete, uncompressed image data to the application unit, the image data will occupy a large storage space. 鉴于此,申请人开发出一种编码方式不公开的二维码,本发明就是在申请人自己研发的这种二维码的基础上提出的。 In view of this, the applicant has developed a way of encoding a two-dimensional code is not disclosed, the present invention is proposed based on the Applicant's own research and development of such a two-dimensional code.

发明内容 SUMMARY

[0003] 本发明的任务是要针对上述技术问题,提供一种安全、高效的二维码图像加密系统,以及利用该系统生成二维码图像的方法,其特点是二维码信息更加安全,在分发和存储数据的过程中,数据量小。 [0003] The object of the invention is to for the above-mentioned technical problems, provide a safe, efficient two-dimensional code image encryption system, and a method of using the system to generate a two-dimensional code image, characterized by a two-dimensional code information more secure, distributing and storing data in the process, a small amount of data.

[0004] 技术手段:本发明公开了一种二维码图像加密系统,该系统由管理端和客户端两部分构成,管理端包括数据库、信息管理平台和二维码生成服务器,客户端包括二维码客户终端,其中: [0004] The technical means: The present invention discloses a two-dimensional code image encryption system which consists of two parts and client management, including the management terminal database, information management platform and the two-dimensional code generation server, the client comprising two dimensional code, the client terminal, in which:

数据库:用于应用户请求生成二维码码值、存储二维码码值以及存储与二维码码值相对应的信息,并对二维码码值进行编码形成数字序列; Database: a user's request to generate a two-dimensional code values, and storing the two-dimensional code values ​​stored in the two-dimensional information corresponding to the code values, and the two-dimensional code forming a digital code sequence values ​​are encoded;

信息管理平台:用于审核用户请求,并从数据库中调取数字序列,将其送入二维码生成服务器; Information management platform: a user request for review, and the sequence numbers retrieved from the database, which is sent to the server to generate two-dimensional code;

二维码生成服务器:用于对数字序列再次进行编码,并生成包含有二维码数据信息的数据文档; Dimensional code generation server: means for re-coding sequence of numbers, and generates a data file containing data of two-dimensional code information;

二维码客户终端:用于利用数据文档生成二维码图像。 Dimensional code client terminal: means for generating a two-dimensional code image by using data of the document.

[0005] 数据库、信息管理平台和二维码生成服务器集成在一起,共同构成二维码数据管理服务器;二维码数据文档为XML格式的文件。 [0005] database, information management platform and two-dimensional code generation server integrated together to constitute a two-dimensional code data management server; two-dimensional code data as an XML document format files.

[0006] 本发明还公开了一种二维码图像生成方法,该方法是利用上述二维码图像加密系统生成的二维码图像,包括以下步骤: [0006] The present invention also discloses a two-dimensional code image generation method, the two-dimensional code image is generated using the two-dimensional code image encryption system, comprising the steps of:

a、二维码用户向信息管理平台提出包含有申请批次和使用数量的使用请求; a, two-dimensional code presented to the user information management platform comprises an application using the batch number and use request;

b、信息管理平台审核使用申请,并将使用申请传送给数据库; b, information management platform using the application review, and will use the application sent to the database;

C、数据库按照使用数量请求批量生成二维码码值,并对各个码值进行编码生成一一对应的数字序列,同时数据库存储二维码码值以及与码值相对应的信息; d、信息管理平台调取数字序列,并将其送入二维码生成服务器; C information, the database requests in the batch number used to generate a two-dimensional code values, and each code sequence encoding the generated digital values ​​one to one, while a two-dimensional code values ​​stored in the database and the value corresponding to the code; D, information management platform retrieved sequence number, and sends it to the server generates a two-dimensional code;

e、二维码生成服务器对各数字序列分别进行编码并批量保存生成一份包含有二维码数据信息的数据文档,并将该数据文档提供给提出使用申请的二维码用户; E, two-dimensional code generation server for each of the digital encoding sequences and bulk saved document data generates the two-dimensional code includes a data information, and supplies the data to the document proposes the use of two-dimensional code the user application;

f、二维码用户将数据文档输入二维码客户终端,批量获取二维码图像。 f, two-dimensional code the user will enter two-dimensional code data document client terminals, bulk acquiring two-dimensional code image.

[0007] 其中步骤f包括: [0007] wherein step f comprises:

步骤π:解析数据文档,得到步骤C中生成的所有数字序列; Step π: parsing the document data, all obtained numerical sequence generated in step C;

步骤f2:分别利用各数字序列生成与之对应的二维码图像。 Step f2: the digital sequence generated by each respective two-dimensional code image corresponding thereto.

[0008] 其中二维码用户提出的使用申请中含有包括申请批次和使用数量的信息,含有二维码数据信息的数据文档为XML格式的文件。 [0008] The two-dimensional code containing the user application using the proposed amount as used herein include batch information, data files containing information for the two-dimensional code data in XML format file.

[0009] 有益效果:1、按照商品个数分配二维码数量,使每件产品都有唯一的二维码;2、采用二次编码的方式,即从数据库产生码值到输出含有二维码数据信息的数据文档经过两次加密编码,使其保密性提高,更加安全可靠;3、管理端将生成的含有大量二维码数据信息的XML格式的数据文档发送给二维码用户,由二维码用户利用自己的二维码客户终端生成二维码图像,相比于直接传输无损压缩的二维码图像而言,减少了传输分配及存储过程中的数据量,使其更加快速高效,而且更加保密;4、生成的二维码图像所包含的信息包括相关联产品的产品批次和使用数量等信息,做的从源头上进行监督,防伪效果更好。 [0009] The beneficial effects: 1, the number of two-dimensional code in accordance with the assigned number of the item, so that each product has a unique two-dimensional code; 2, using the second coding method, i.e. to generate an output value from a database containing the two-dimensional code the code data of the document data encrypted twice coded to improve confidentiality, safer and more reliable; 3, the end of the document management data in XML format generated two-dimensional code containing a large amount of data information to the users of two-dimensional code, the dimensional code users use their client terminal two-dimensional code image generated two-dimensional code, the two-dimensional code image compared with the lossless compression of a direct transmission, the transmission allocation and reducing the amount of data stored in the process, make it more quickly and efficiently , and more confidential; 4, information generated two-dimensional code included in the image and quantity of the product lot comprising using information associated with the product, made supervision, better security from the source.

附图说明 BRIEF DESCRIPTION

[0010] 图1为本发明的系统结构示意图; [0010] FIG. 1 is a schematic view of a system configuration of the present invention;

图2为二维码图像生成的流程图之一; FIG 2 is a flowchart of one two-dimensional code image generated;

图3为二维码图像生成的流程图之二。 3 is a flowchart of the two-dimensional code image generated.

[0011] [0011]

具体实施方式 detailed description

[0012] 实施例1 [0012] Example 1

如图1所述,本发明公开了一种二维码图像加密系统,该系统由管理端和客户端两部分构成,管理端包括信息管理平台1、数据库2和二维码生成服务器3,客户端包括二维码客户终端4,数据,2、信息管理平台I和二维码生成服务器3集成在一起,共同构成二维码数据管理服务器,其中: As shown in Figure 1, the present invention discloses a two-dimensional code image encryption system which consists of two parts and client management, including the management information management platform 1 end, 2 and database server 3 generates a two-dimensional code, the client end of the two-dimensional code including the client terminal 4, the data 2, the information management platform I, and two-dimensional code generating server 3 integrated together to constitute a two-dimensional code data management server, wherein:

信息管理平台1:用于接受、审核用户请求,并从数据库中调取数字序列,将其送入二维码生成服务器; Information management platform 1: for receiving, review a user request, and sequence numbers retrieved from the database, which is sent to the server to generate two-dimensional code;

数据库2:通过信息管理平台获取用户请求,应用户请求生成二维码码值、存储二维码码值以及存储与二维码码值相对应的用户请求信息,并对二维码码值进行编码形成数字序列; Database 2: obtaining the information requested by the user through the management platform, upon user request generates two-dimensional code values, storing the two-dimensional code values ​​and storing the two-dimensional code values ​​corresponding to the user request information, and the two-dimensional code values ​​for forming a digital coding sequence;

二维码生成服务器3:将数字序列再次进行编码,并生成包含有二维码数据信息的XML格式的数据文档; 3 two-dimensional code generating server: re-coding of a digital sequence, and generates a two-dimensional code data document comprising data in XML format;

二维码客户终端4:用于利用数据文档生成二维码图像。 The client terminal 4 dimensional code: code for generating a two-dimensional image data by using the document.

[0013] 实施例2 [0013] Example 2

本发明在利用实施例1公开的一种二维码图像加密系统的基础上,还公开了一种二维码图像生成方法,如图2和图3所示,该方法包括以下步骤: Example 1 discloses a basic two-dimensional code in the image encryption system utilizing the embodiment of the present invention, also discloses a two-dimensional code image generation method, as shown in FIGS. 2 and 3, the method comprising the steps of:

a、二维码用户根据自己的需求向信息管理平台提出使用申请,使用请求须包括申请使用的相关产品的批次和该批次产品的使用数量等信息; a, two-dimensional code made users according to their information management platform needs to use the application, a request to be used herein include batch related products and use of the product lot number and other information;

b、信息管理平台审核使用申请,并将使用申请传送给数据库; b, information management platform using the application review, and will use the application sent to the database;

C、数据库按照使用数量请求批量生成二维码码值,并对各个码值进行编码生成一一对应的数字序列,同时数据库存储二维码码值以及与码值相对应的信息; C, using a database according to the number requested volume generated by the two-dimensional code values, and encoding each code value generated sequence of numbers correspond, while the two-dimensional code values ​​stored in the database and the value corresponding to the code information;

d、信息管理平台调取数字序列,并将其送入二维码生成服务器; d, retrieval information management platform digital sequence, generating a two-dimensional code and sends it to the server;

e、二维码生成服务器对各数字序列分别进行编码并批量保存生成一份XML格式的数据文档,并将该数据文档提供给提出使用申请的二维码用户; E, two-dimensional code generation server for each of the digital sequences encoding generates and bulk data file stored in an XML format, and supplies the data to the document proposes the use of two-dimensional code the user application;

f、二维码用户将数据文档输入二维码客户终端,批量获取二维码图像。 f, two-dimensional code the user will enter two-dimensional code data document client terminals, bulk acquiring two-dimensional code image.

[0014] 其中步骤f包括: [0014] wherein step f comprises:

步骤π:解析数据文档,得到步骤C中生成的所有数字序列; Step π: parsing the document data, all obtained numerical sequence generated in step C;

步骤f2:分别利用各数字序列生成与之对应的二维码图像。 Step f2: the digital sequence generated by each respective two-dimensional code image corresponding thereto.

Claims (6)

  1. 1.一种二维码图像加密系统,其特征在于:所述二维码图像加密系统由管理端和客户端两部分构成,管理端包括数据库、信息管理平台和二维码生成服务器,客户端包括二维码客户终端,其中: 数据库:用于应用户请求生成二维码码值、存储二维码码值以及存储与二维码码值相对应的信息,并对二维码码值进行编码形成数字序列; 信息管理平台:用于审核用户请求,并从数据库中调取数字序列,将其送入二维码生成服务器; 二维码生成服务器:用于对数字序列再次进行编码,并生成包含有二维码数据信息的数据文档; 二维码客户终端:用于利用数据文档生成二维码图像。 1. A two-dimensional code image encryption system, characterized in that: said two-dimensional code image encryption by the management system and client two parts, comprising a terminal management database, information management platform and the two-dimensional code generation server, the client the client terminal comprises a two-dimensional code, wherein: the database: a user's request to generate a two-dimensional code values, and storing the two-dimensional code values ​​stored in the two-dimensional information corresponding to the code values, and code values ​​are two-dimensional code forming a digital coding sequence; information management platform: a user request for review, and the sequence numbers retrieved from the database, which was fed to the two-dimensional code generation server; two-dimensional code generation server: means for re-coding sequence of numbers, and generating a data file containing data of the two-dimensional code; two-dimensional code of the client terminal: means for generating a two-dimensional code using the image data of the document.
  2. 2.根据权利要求1所述的二维码图像加密系统,其特征在于:所述数据库、信息管理平台和二维码生成服务器集成在一起,共同构成二维码数据管理服务器。 2. The two-dimensional code image encryption system according to claim 1, wherein: the database information management server platform and the two-dimensional code generating integrated together to constitute a two-dimensional code data management server.
  3. 3.根据权利要求1或2所述的二维码图像加密系统,其特征在于:所述二维码数据文档为XML格式的文件。 The two-dimensional code image encryption system according to claim 1, wherein: said two-dimensional code data in XML format document file.
  4. 4.一种二维码图像生成方法,其特征在于:所述二维码图像生成方法是利用权利要求1或2或3所述的二维码图像加密系统生成的二维码图像,该方法包括以下步骤: a、二维码用户向信息管理平台提出包含有申请批次和使用数量的使用请求; b、信息管理平台审核使用申请,并将使用申请传送给数据库; C、数据库按照使用数量请求批量生成二维码码值,并对各个码值进行编码生成一一对应的数字序列,同时数据库存储二维码码值以及与码值相对应的信息; d、信息管理平台调取数字序列,并将其送入二维码生成服务器; e、二维码生成服务器对各数字序列分别进行编码并批量保存生成一份包含有二维码数据信息的数据文档,并将该数据文档提供给提出使用申请的二维码用户; f、二维码用户将数据文档输入二维码客户终端,批量获取二维码图像。 4. A two-dimensional code image generating method, characterized in that: said two-dimensional code image generation method or use as claimed in claim 1 or 2 or 3-dimensional image code encryption system generates a two-dimensional code image, the method comprising the steps of: a, the two-dimensional code is presented to the user information management platform comprises an application using the batch number and use request; B, using the audit request information management platform, and will use application transmits to the database; according to the number in C, database request bulk generate two-dimensional code values, and each code sequence encoding the generated digital values ​​one to one, while a two-dimensional code values ​​stored in a database, and information corresponding to the code values; D, retrieval of digital information management platform sequence and sends it to the two-dimensional code generation server; E, two-dimensional code generation server for each of the digital sequences respectively encoding and bulk data file stored generate a two-dimensional code containing information data, and supplies the data to the document proposed two-dimensional code user application; f, two-dimensional code the user will enter two-dimensional code data document client terminals, bulk acquiring two-dimensional code image.
  5. 5.根据权利要求4所述的二维码图像生成方法,其特征在于:所述步骤f包括: 步骤Π:解析数据文档,得到步骤c中生成的所有数字序列; 步骤f2:分别利用各数字序列生成与之对应的二维码图像。 The two-dimensional code image generating method according to claim 4, wherein: said step f comprises the steps of: [pi: parsing the document data, all obtained numerical sequence generated in step c; Step F2: separately by each digital generating a sequence of two-dimensional code image corresponding thereto.
  6. 6.根据权利要求4或5所述的二维码图像生成方法,其特征在于:所述含有二维码数据信息的数据文档为XML格式的文件。 6. The two-dimensional code image generating method according to claim 4 or claim 5, wherein: said document data contains information for the two-dimensional code data in XML format file.
CN 201310005871 2013-01-08 2013-01-08 A two-dimensional code image encryption system and method for generating two-dimensional code image CN103914720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310005871 CN103914720B (en) 2013-01-08 2013-01-08 A two-dimensional code image encryption system and method for generating two-dimensional code image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310005871 CN103914720B (en) 2013-01-08 2013-01-08 A two-dimensional code image encryption system and method for generating two-dimensional code image

Publications (2)

Publication Number Publication Date
CN103914720A true true CN103914720A (en) 2014-07-09
CN103914720B CN103914720B (en) 2017-06-27

Family

ID=51040385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310005871 CN103914720B (en) 2013-01-08 2013-01-08 A two-dimensional code image encryption system and method for generating two-dimensional code image

Country Status (1)

Country Link
CN (1) CN103914720B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320440A (en) * 2014-09-30 2015-01-28 珠海市君天电子科技有限公司 Picture remote storage method and picture remote storage processing device
CN104468533A (en) * 2014-11-20 2015-03-25 惠州学院 Information processing method and system based on encrypted two-dimensional code

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110229043A1 (en) * 2010-03-18 2011-09-22 Fujitsu Limited Image processing apparatus and image processing method
CN102243714A (en) * 2010-07-20 2011-11-16 真软件株式会社 Two-dimensional code, coding system and method of two-dimensional code
CN102789621A (en) * 2011-05-19 2012-11-21 中国银行股份有限公司 Preparation and check methods of online bank service application form of enterprise, and preparation and check devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110229043A1 (en) * 2010-03-18 2011-09-22 Fujitsu Limited Image processing apparatus and image processing method
CN102243714A (en) * 2010-07-20 2011-11-16 真软件株式会社 Two-dimensional code, coding system and method of two-dimensional code
CN102789621A (en) * 2011-05-19 2012-11-21 中国银行股份有限公司 Preparation and check methods of online bank service application form of enterprise, and preparation and check devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320440A (en) * 2014-09-30 2015-01-28 珠海市君天电子科技有限公司 Picture remote storage method and picture remote storage processing device
CN104468533A (en) * 2014-11-20 2015-03-25 惠州学院 Information processing method and system based on encrypted two-dimensional code
CN104468533B (en) * 2014-11-20 2017-11-17 惠州学院 An information processing method, and an encryption system based on two-dimensional code

Also Published As

Publication number Publication date Type
CN103914720B (en) 2017-06-27 grant

Similar Documents

Publication Publication Date Title
Chang et al. An image intellectual property protection scheme for gray-level images using visual secret sharing strategy
US6885748B1 (en) System and method for protection of digital works
Monga et al. A clustering based approach to perceptual image hashing
US7756892B2 (en) Using embedded data with file sharing
US6671407B1 (en) System and method for hashing digital images
Qian et al. Reversible data hiding in encrypted JPEG bitstream
Schnell et al. Privacy-preserving record linkage using Bloom filters
US8892865B1 (en) Multiple authority key derivation
US20050091261A1 (en) Method for incremental authentication of documents
Böhme Advanced statistical steganalysis
US20080092239A1 (en) Method and system for secure distribution of selected content to be protected
US20040141613A1 (en) Information processing method and apparatus, and computer program and computer-readable storage medium
US20080100874A1 (en) Notary document processing and storage system and methods
Al-Qershi et al. Authentication and data hiding using a hybrid ROI-based watermarking scheme for DICOM images
US20100185862A1 (en) Method and System for Encrypting JavaScript Object Notation (JSON) Messages
Castiglione et al. Cloud-based adaptive compression and secure management services for 3D healthcare data
US20050177726A1 (en) Method and system for controlling encoded image production using image signatures
Fridrich Minimizing the embedding impact in steganography
Wu et al. Data hiding in images via multiple-based number conversion and lossy compression
Saha et al. Steganographic techniques of data hiding using digital images
CN103093361A (en) Commodity double-layer anti-fake method based on technologies of internet of things
US20080154778A1 (en) Method and apparatus for decoding right object and method and apparatus for sharing contents using the same
CN101282326A (en) Method, system and hand-hold terminal fro management of digital copyright of binding terminal
Singh et al. Hybrid technique for robust and imperceptible multiple watermarking using medical images
US20080127351A1 (en) Method and apparatus for providing and processing contents using D.R.M

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01