CN106022423A - Multi-functional two-dimensional code manufacture method and reading deciphering method - Google Patents
Multi-functional two-dimensional code manufacture method and reading deciphering method Download PDFInfo
- Publication number
- CN106022423A CN106022423A CN201610296563.9A CN201610296563A CN106022423A CN 106022423 A CN106022423 A CN 106022423A CN 201610296563 A CN201610296563 A CN 201610296563A CN 106022423 A CN106022423 A CN 106022423A
- Authority
- CN
- China
- Prior art keywords
- parameter
- dimensional code
- code
- chained address
- signature
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a multi-functional two-dimensional code manufacture method. The method comprises the steps that groups of anti-counterfeit label parameters are defined, assigned and are stored in a system; the parameters are symmetrically encrypted; the anti-counterfeit label parameters are combined with the content of a basic information website, wherein the basic information website is separated from the assigned label parameters by , and the assigned label parameters are separated by & to generate a link address; and the link address is used as the content of a multi-functional two-dimensional code. According to the invention, a number of anti-counterfeit label parameters are defined, grouped and assigned; the defined anti-counterfeit label parameters are added to the original basic information website to generate a new link address; the multi-functional two-dimensional code which can be linked to the link website is manufactured; and a user scans the multi-functional two-dimensional code to read the content related to the anti-counterfeit label parameters and the content in the original basic information website.
Description
Technical field
The present invention relates to a kind of Quick Response Code, be specifically related to a kind of Multifunctional two-dimensional code manufacture method and recognition deciphering
Method.
Background technology
Commercially, the Quick Response Code as antifalsification label is usually simple function, can only realize a certain specific merit
Can, as shown company information, jumping to fake certification etc..And when antifalsification label to realize such as merits such as anti-channel conflicts
During energy, need for antifalsification label configuration batch number or logistics code, it is impossible to directly use same Quick Response Code to realize,
Therefore must separately add that one one-dimensional or Quick Response Code is to realize batch number or logistics code, the most i.e. can cause false proof
The increase of label area, affects the attractive in appearance of antifalsification label, scanning input also can cause puzzlement, user simultaneously
Selectively to scan different labels, easily make mistakes.
Summary of the invention
The present invention passes through first define several antifalsification label parameters and be grouped assignment, then by defined anti-counterfeiting label
Sign parameter and add in original base information network address, generate a new chained address, then make one can
Be linked to this link network address Multifunctional two-dimensional code, user scans this Multifunctional two-dimensional code, i.e. can read with
Content in content that antifalsification label parameter is relevant and original base information network address.
The present invention is achieved in that a kind of multi-functional two bit code manufacture methods, and described Multifunctional two-dimensional code is used
Making antifalsification label, described Multifunctional two-dimensional code manufacture method comprises the following steps:
Step one, defines antifalsification label parameter assignment described in some groups, stores to system;
Step 2, carries out symmetric cryptography by described antifalsification label parameter;
Step 3, merges described antifalsification label parameter with Back ground Information network address content, Back ground Information net
Use between location and the tag parameter of assignment "?" separate, use " & " to separate between the tag parameter of assignment, raw
Become chained address;
Step 4, described chained address is as described Multifunctional two-dimensional code content.
Preferably, described Multifunctional two-dimensional code manufacture method is additionally included between step 3 and step 4, to institute
State chained address use signature algorithm calculate signature value, take described signature value last as chained address
Signature parameter;After the signature parameter of assignment is positioned over chained address content and use " & " to separate, obtain final
Chained address, as described Multifunctional two-dimensional code content.
Preferably, described antifalsification label parameter includes producing O/No. parameter, logistics code parameter and security code.
Preferably, described signature algorithm is md5 encryption algorithm.
Further, described Multifunctional two-dimensional code recognition decryption method comprises the following steps;
Step one, scans described Multifunctional two-dimensional code and obtains final chained address;
Step 2, system obtains last position, final chained address, obtains the described signature parameter assignment of correspondence;
Step 3, uses md5 encryption algorithm to calculate the network address removing last four of final chained address
Two signature values, take described second last position of signature value and described signature parameter assignment comparison, the most then judge
Described Multifunctional two-dimensional code is correct;
Step 4, system identification goes out antifalsification label parameter corresponding in final chained address, and carries out symmetric solution
Close.
Compared with prior art, beneficial effects of the present invention: by first defining several antifalsification label parameters and dividing
Group assignment, more defined antifalsification label parameter is added in original base information network address, generate one newly
Chained address, then make one can be linked to this link network address Multifunctional two-dimensional code, user scan
This Multifunctional two-dimensional code, i.e. can read the content relevant to antifalsification label parameter and original base information network address
In content, owing to newly-generated link network address is access based on original base information network address, thus without
Having influence on the access of original base information network address, antifalsification label parameter is intended only as original base information network address
Variable, therefore makes and realizes simple, additionally, by different terminals and software scans this multi-functional two
Dimension code can read different parameters to realize different functions.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in embodiment
The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is some of the present invention
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used
To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the multi-functional two bit code manufacture method flow charts of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only
In order to explain the present invention, it is not intended to limit the present invention.
It should be noted that when element is referred to as " being fixed on " or " being arranged at " another element, and it can be straight
It is connected on another element or may be simultaneously present centering elements.When an element is known as " being connected to "
Another element, it can be directly to another element or may be simultaneously present centering elements.
Also, it should be noted the orientation term such as left and right, upper and lower in the embodiment of the present invention, it is only mutual
For relative concept or with the normal operating condition of product as reference, and should not be regarded as restrictive
's.
As it is shown in figure 1, be the multi-functional two bit code manufacture method flow charts of the present invention, comprise the following steps:
Step one S101, defines antifalsification label parameter assignment described in some groups, stores to system;
Step 2 S102, carries out symmetric cryptography by described antifalsification label parameter;
Step 3 S103, merges described antifalsification label parameter with Back ground Information network address content, basis
Use between information network address and the tag parameter of assignment "?" separate, use " & " point between the tag parameter of assignment
Every, generate chained address;
Step 4 S104, described chained address is as described Multifunctional two-dimensional code content.
The embodiment of the present invention one, Back ground Information network address is http://www.sz12365.net/fw, this network address bag
Include enterprise name, product information.
Make Multifunctional two-dimensional code antifalsification label to comprise the following steps:
(1) when enterprise receives a production order, the life of this batch antifalsification label parameter is first defined
Product O/No. is d, and the logistics code for each of which version antifalsification label parameter is w, for each anti-counterfeiting label
The security code signing parameter corresponding is f, and stores to system;
(2) above-mentioned production O/No. d, logistics code w and security code f are carried out symmetric cryptography, obtain one
Group data are for producing O/No. d=xdew1;Logistics code w=123xd123;Security code f=xwkjflsk,
In order to guarantee data security;
(3) by above-mentioned production O/No. d=xdew1, logistics code w=123xd123 and security code
F=123xd123 merges with Back ground Information network address content, generation chained address:
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk;
(4) using above-mentioned chained address as Multifunctional two-dimensional code content, i.e. available required multi-functional two dimension
Code.
Wherein, symmetric cryptography is existing mature technology, is not described at this.
The embodiment of the present invention two, unlike embodiment one, between step (3) and step (4),
To chained address http://www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk adopts
Calculate signature value=330 with md5 encryption algorithm, take described signature value last as the label of chained address
Name parameter s=0;After signature parameter s=0 is positioned over chained address content and use " & " to separate, obtain final
Chained address:
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk&s=0, will
This network address is as described Multifunctional two-dimensional code content.
This Multifunctional two-dimensional code antifalsification label recognition decryption method comprises the following steps:
1) scan this Multifunctional two-dimensional code antifalsification label and obtain final chained address
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk&s=0;
2) system obtains above-mentioned final chained address
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk&s=0 is last
One 0, i.e. obtain the signature parameter assignment 0 of correspondence;
3) system removes final chained address
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk&s=0 is
Rear four “ &s=0 ", obtain network address
Http:// www.sz12365.net/fw?D=xdew1&w=123xd 123&f=xwkjflsk, then use
When md5 encryption algorithm calculates the second signature value=330, take second last position of signature value and compose with signature parameter
Value comparison, now, second last position of signature value is 0, and signature parameter assignment is 0, and both are equal, then
Judge that network address is not tampered with, it is determined that described Multifunctional two-dimensional code is correct;
4) system identification goes out above-mentioned network address
Http:// www.sz12365.net/fw?Correspondence in d=xdew1&w=123xd123&f=xwkjflsk
Produce O/No. d=xdew1;Logistics code w=123xd123;Security code f=xwkjflsk, and carry out right
Claim deciphering, obtain producing O/No. d, logistics code w and the former assignment of security code f.
When final chained address
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflsk&s=0 is tampered,
As be tampered for
Http:// www.sz12365.net/fw?D=xdew1&w=123xd123&f=xwkjflst&s=0, i.e.
Security code f value is become " xwkjflst " from " xwkjflsk ", then use md5 encryption algorithm to calculate signature value and be not
330, and become other value, such as 335, then last position of signature value is 5, and signature parameter assignment is s=0,
Both are unequal, then judge that final link network address is tampered, it is determined that described Multifunctional two-dimensional code is incorrect.Enterprise
Industry is when using Multifunctional two-dimensional code antifalsification label, it is possible to use on special software or device scan label
Quick Response Code, system by reading out production O/No., logistics code and preventing to the identification of antifalsification label Quick Response Code
Pseudo-code.Can select respectively whole order, an antifalsification label or single security code are carried out product information and
The typing of distributor information, it is achieved multistage information registration.
Product Manufacturing Information can be tracked by producing O/No. d and logistics code w.
Product is verified by consumer input security code f, according to consumer IP address in product certification, and can
Obtain consumer area at place when product false proof certification, it is entered with distributor's coding or logistics code w
Row contrast, can quickly analyze the problem judging product falsifying, if inconsistent, judge product falsifying, for enterprise
Market supervisor department provides foundation, and will determine that result record is in data base.
After scanning input Multifunctional two-dimensional code, can obtain product information, company information, security code is the most just
Really (product whether certified products information) and distributor information.
The present invention, for the Multifunctional two-dimensional code of antifalsification label, can realize several functions simultaneously, as shown enterprise
Industry information, jump to fake certification, configuration batch number and logistics code etc., without multiple Quick Response Codes, make
Obtain user and need not obtain different information by the multiple Quick Response Code of barcode scanning, easy to use, the most error-prone, especially may be used
Trace to the source or enterprise is to production management for market surpervision is false proof.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Any amendment, equivalent or the improvement etc. made within bright spirit and principle, should be included in the present invention
Protection domain within.
Claims (5)
1. multi-functional two bit code manufacture methods, it is characterised in that described Multifunctional two-dimensional code is used as false proof
Label, described Multifunctional two-dimensional code manufacture method comprises the following steps:
Step one, defines antifalsification label parameter assignment described in some groups, stores to system;
Step 2, smoothes out with the fingers described antifalsification label parameter and carries out symmetric cryptography;
Step 3, smoothes out with the fingers described antifalsification label parameter and merges with Back ground Information network address content, Back ground Information net
Use between location and the tag parameter of assignment "?" separate, use " & " to separate between the tag parameter of assignment, raw
Become chained address;
Step 4, described chained address is as described Multifunctional two-dimensional code content.
Multi-functional two bit code manufacture methods the most according to claim 1, it is characterised in that described many merits
Quick Response Code manufacture method can be additionally included between step 3 and step 4, use signature to calculate described chained address
Method calculates signature value, take described signature value last as the signature parameter of chained address;Smooth out with the fingers the signature of assignment
After parameter is positioned over chained address content and use " & " to separate, obtain final chained address, as described many merits
Can Quick Response Code content.
Multi-functional two bit code manufacture methods the most according to claim 1 and 2, it is characterised in that described
Antifalsification label parameter includes producing O/No. parameter, logistics code parameter and security code.
Multi-functional two bit code manufacture methods the most according to claim 2, it is characterised in that described signature
Algorithm is md5 encryption algorithm.
5. a recognition decryption method for the described Multifunctional two-dimensional code made according to Claims 1-4, its
Being characterised by, described Multifunctional two-dimensional code recognition decryption method comprises the following steps:
Step one, scans described Multifunctional two-dimensional code and obtains final chained address;
Step 2, system obtains last position, final chained address, obtains the described signature parameter assignment of correspondence;
Step 3, uses md5 encryption algorithm to calculate the network address removing last four of final chained address
Two signature values, this is right to take described second last position of signature value and described signature parameter assignment, the most then judge
Described Multifunctional two-dimensional code is correct;
Step 4, system identification goes out antifalsification label parameter corresponding in final chained address, and carries out symmetric solution
Close.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610296563.9A CN106022423B (en) | 2016-05-05 | 2016-05-05 | Multifunctional two-dimensional code production method and recognition decryption method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610296563.9A CN106022423B (en) | 2016-05-05 | 2016-05-05 | Multifunctional two-dimensional code production method and recognition decryption method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106022423A true CN106022423A (en) | 2016-10-12 |
CN106022423B CN106022423B (en) | 2019-03-29 |
Family
ID=57081840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610296563.9A Active CN106022423B (en) | 2016-05-05 | 2016-05-05 | Multifunctional two-dimensional code production method and recognition decryption method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106022423B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657765A (en) * | 2018-12-04 | 2019-04-19 | 巨人移动科技有限公司 | The method and system that two dimensional code makes and uses |
CN112825205A (en) * | 2019-11-19 | 2021-05-21 | 阿里健康信息技术有限公司 | Vending machine, and packaging method and device for vending machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060149962A1 (en) * | 2003-07-11 | 2006-07-06 | Ingrian Networks, Inc. | Network attached encryption |
CN103295046A (en) * | 2013-06-13 | 2013-09-11 | 北京网秦天下科技有限公司 | Method and device for generating and using safe two-dimensional codes |
CN104392197A (en) * | 2014-11-24 | 2015-03-04 | 深圳市通用条码技术开发中心 | Method for increasing reading rate and encryption of website two-dimensional code tags |
CN104537539A (en) * | 2014-11-05 | 2015-04-22 | 深圳市通用条码技术开发中心 | Method for activating and forbidding anti-counterfeit label based on two-dimension code recognition technology |
-
2016
- 2016-05-05 CN CN201610296563.9A patent/CN106022423B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060149962A1 (en) * | 2003-07-11 | 2006-07-06 | Ingrian Networks, Inc. | Network attached encryption |
CN103295046A (en) * | 2013-06-13 | 2013-09-11 | 北京网秦天下科技有限公司 | Method and device for generating and using safe two-dimensional codes |
CN104537539A (en) * | 2014-11-05 | 2015-04-22 | 深圳市通用条码技术开发中心 | Method for activating and forbidding anti-counterfeit label based on two-dimension code recognition technology |
CN104392197A (en) * | 2014-11-24 | 2015-03-04 | 深圳市通用条码技术开发中心 | Method for increasing reading rate and encryption of website two-dimensional code tags |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657765A (en) * | 2018-12-04 | 2019-04-19 | 巨人移动科技有限公司 | The method and system that two dimensional code makes and uses |
CN109657765B (en) * | 2018-12-04 | 2022-06-28 | 巨人移动科技有限公司 | Method and system for manufacturing and using two-dimensional code |
CN112825205A (en) * | 2019-11-19 | 2021-05-21 | 阿里健康信息技术有限公司 | Vending machine, and packaging method and device for vending machine |
Also Published As
Publication number | Publication date |
---|---|
CN106022423B (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6661819B2 (en) | Tracking integration that occurs in the supply chain | |
US20160164884A1 (en) | Cryptographic verification of provenance in a supply chain | |
CN105303352A (en) | Hot selling query based quick sorting method and system | |
CN105976005A (en) | Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device | |
CN111371559B (en) | Material inventory data providing method, device and system based on block chain | |
CN104854597B (en) | Certificate server, Verification System and authentication method | |
CN104361378A (en) | Internet of things anti-counterfeiting label based on two-dimensional code encryption technology and verification method of Internet of things anti-counterfeiting label | |
CN104766113A (en) | Plain and secret code type anti-fake label and anti-fake method thereof | |
TW201636918A (en) | Digital transaction method and device | |
JP6230728B2 (en) | System architecture and method for ensuring network information security | |
KR101351435B1 (en) | Protection of series data | |
CN106022423A (en) | Multi-functional two-dimensional code manufacture method and reading deciphering method | |
CN116029745A (en) | Digital label anti-counterfeiting tracing method, device and system based on blockchain | |
US9027147B2 (en) | Verification of serialization codes | |
CN110069937A (en) | Data source tracing method, system and device based on block chain | |
CN104394166A (en) | Certificate anti-fake authentication system and method for mobile terminal under cloud environment | |
CN108460606A (en) | A kind of method for anti-counterfeit based on two-dimensional code scanning and revene lookup | |
Prokipchuk et al. | Intelligent System for Checking the Authenticity of Goods Based on Blockchain Technology. | |
CN109903055A (en) | Merchandise control method, apparatus, computer installation and storage medium | |
Yiu | An NFC-enabled anti-counterfeiting system for wine industry | |
CN113792317A (en) | Image encryption method and device | |
CN105593876B (en) | Validation in serialized streams | |
CN105184595A (en) | Mobile internet big data analysis technique based two-dimension code anti-counterfeiting cloud system and application method thereof | |
CN116974999A (en) | Electronic document signing method and device, electronic device and storage medium | |
CN115511030A (en) | Anti-counterfeiting verification method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |