CN108122020A - Two-dimensional code generation method and device and two-dimensional code identification method and device - Google Patents
Two-dimensional code generation method and device and two-dimensional code identification method and device Download PDFInfo
- Publication number
- CN108122020A CN108122020A CN201711290948.5A CN201711290948A CN108122020A CN 108122020 A CN108122020 A CN 108122020A CN 201711290948 A CN201711290948 A CN 201711290948A CN 108122020 A CN108122020 A CN 108122020A
- Authority
- CN
- China
- Prior art keywords
- region
- identification
- information
- code
- fake
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 230000004044 response Effects 0.000 claims abstract description 64
- 238000012545 processing Methods 0.000 description 22
- 238000004891 communication Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 16
- 238000012937 correction Methods 0.000 description 12
- 238000012795 verification Methods 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 9
- 230000005236 sound signal Effects 0.000 description 8
- 230000000712 assembly Effects 0.000 description 6
- 238000000429 assembly Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 2
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000012092 media component Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
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 provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—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 provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- 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/06046—Constructional details
- G06K19/06093—Constructional details the marking being constructed out of a plurality of similar markings, e.g. a plurality of barcodes randomly oriented on an object
-
- 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)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The disclosure is directed to a kind of two-dimensional code generation method and device and two-dimensional code identification method and devices.The generation method includes:According to the identification region of Quick Response Code, anti-fake region is arranged, wherein, have and the corresponding identification information of two-dimentional digital content in identification region;Multiple block of pixels are randomly provided in anti-fake region;According to the identification information of identification region and multiple block of pixels in anti-fake region, generation includes the image in 2 D code in identification region and anti-fake region.According to the embodiment of the present disclosure, by arranging anti-fake region according to the identification region of Quick Response Code, the identification region has and the corresponding identification information of two-dimentional digital content, multiple block of pixels are randomly provided in anti-fake region, and according to the identification information of identification region and multiple block of pixels in anti-fake region, generation includes the image in 2 D code in identification region and anti-fake region, so as to generate the image in 2 D code with stronger anti-counterfeit capability.
Description
Technical field
This disclosure relates to field of computer technology more particularly to a kind of two-dimensional code generation method and device and Quick Response Code are known
Other method and device.
Background technology
With the development of science and technology the application of Quick Response Code is increasingly popularized, people can realize multiple functions by Quick Response Code,
For example, antiforge function, payment function etc..User can obtain corresponding two-dimentional digital content by scanning the two-dimensional code.However, two
Dimension code can be copied by simple copy, and anti-counterfeit capability is poor.
The content of the invention
To overcome the problems, such as present in correlation technique, the disclosure provides a kind of two-dimensional code generation method and device and two dimension
Code recognition methods and device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of two-dimensional code generation method, the described method includes:
According to the identification region of Quick Response Code, anti-fake region is arranged, wherein, have and two-dimentional digital content in the identification region
Corresponding identification information;
Multiple block of pixels are randomly provided in the anti-fake region;
According to the identification information of the identification region and multiple block of pixels in the anti-fake region, generation includes described
Identification region and the image in 2 D code in the anti-fake region.
For above method, in a kind of possible realization method, the method further includes:
According to the location information of the multiple block of pixels, determine and the anti-fake corresponding anti-counterfeiting information in region;
The anti-counterfeiting information is stored as reference information.
According to the second aspect of the embodiment of the present disclosure, a kind of two-dimensional code identification method is provided, the described method includes:
Obtain the image in 2 D code with identification region and anti-fake region;
According to the image in 2 D code, the identification information of the identification region and the anti-fake letter in the anti-fake region are determined
Breath;
The identification information and the anti-counterfeiting information are sent to server, wherein, the server storage is useful for pair
The reference information that the anti-counterfeiting information is verified.
According to the third aspect of the embodiment of the present disclosure, a kind of Quick Response Code generating means are provided, described device includes:
Module is arranged in region, for the identification region according to Quick Response Code, arranges anti-fake region, wherein, the identification region
In have and the corresponding identification information of two-dimentional digital content;
Block of pixels setup module, for being randomly provided multiple block of pixels in the anti-fake region;
Image in 2 D code generation module, for the more of the identification information according to the identification region and the anti-fake region
A block of pixels, generation include the image in 2 D code in the identification region and the anti-fake region.
For above device, in a kind of possible realization method, described device further includes:
Anti-counterfeiting information determining module for the location information according to the multiple block of pixels, determines and the anti-fake region
Corresponding anti-counterfeiting information;
Anti-counterfeiting information memory module, for the anti-counterfeiting information to be stored as reference information.
According to the fourth aspect of the embodiment of the present disclosure, a kind of two-dimension code recognition device is provided, described device includes:
Image in 2 D code acquisition module, for obtaining the image in 2 D code with identification region and anti-fake region;
Information determination module, for according to the image in 2 D code, determining identification information and the institute of the identification region
State the anti-counterfeiting information in anti-fake region;
Information sending module, for sending the identification information and the anti-counterfeiting information to server, wherein, the clothes
Business device is stored with the reference information for being verified to the anti-counterfeiting information.
According to a fifth aspect of the embodiments of the present disclosure, a kind of Quick Response Code generating means are provided, including:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, the first processor is configured as performing above-mentioned two-dimensional code generation method.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is performed by first processor so that first processor is able to carry out above-mentioned two-dimensional code generation method.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of two-dimension code recognition device is provided, including:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, the second processor is configured as performing above-mentioned two-dimensional code identification method.
According to the eighth aspect of the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is performed by second processor so that second processor is able to carry out above-mentioned two-dimensional code identification method.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through the identification according to Quick Response Code
Anti-fake region is arranged in region, the identification region have with the corresponding identification information of two-dimentional digital content, it is random in anti-fake region
Multiple block of pixels are set, and according to the identification information of identification region and multiple block of pixels in anti-fake region, generation is comprising insighted
Other region and the image in 2 D code in anti-fake region, so as to generate the image in 2 D code with stronger anti-counterfeit capability.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to a kind of two-dimensional code generation method shown in an exemplary embodiment.
Fig. 2 is the schematic diagram according to a kind of Quick Response Code of two-dimensional code generation method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to a kind of two-dimensional code generation method shown in an exemplary embodiment.
Fig. 4 is the flow chart according to a kind of two-dimensional code identification method shown in an exemplary embodiment.
Fig. 5 is the schematic diagram according to a kind of application scenarios of two-dimensional code identification method shown in an exemplary embodiment.
Fig. 6 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.
Fig. 7 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.
Fig. 8 is the block diagram according to a kind of two-dimension code recognition device shown in an exemplary embodiment.
Fig. 9 is the block diagram according to a kind of two-dimension code recognition device shown in an exemplary embodiment.
Figure 10 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.
Figure 11 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the flow chart according to a kind of two-dimensional code generation method shown in an exemplary embodiment.It as shown in Figure 1, should
Method is not in terminal device or server, for example, mobile phone, tablet computer, server etc., the disclosure to be restricted this.Root
Include according to the two-dimensional code generation method of the embodiment of the present disclosure:
In step s 11, according to the identification region of Quick Response Code, anti-fake region is arranged, wherein, have in the identification region
With the corresponding identification information of two-dimentional digital content;
In step s 12, multiple block of pixels are randomly provided in the anti-fake region;
In step s 13, it is raw according to the identification information of the identification region and multiple block of pixels in the anti-fake region
Into the image in 2 D code for including the identification region and the anti-fake region.
According to the embodiment of the present disclosure, by arranging anti-fake region according to the identification region of Quick Response Code, which has
With the corresponding identification information of two-dimentional digital content, multiple block of pixels are randomly provided in anti-fake region, and according to identification region
Identification information and multiple block of pixels in anti-fake region, generation include the image in 2 D code in identification region and anti-fake region, from
And generate the image in 2 D code with stronger anti-counterfeit capability.
For example, terminal device or server arrange anti-fake region according to the identification region of Quick Response Code, wherein, institute
Stating in identification region has and the corresponding identification information of two-dimentional digital content.It will be understood by those skilled in the art that phase may be employed
Well known mode arranges the identification region of Quick Response Code in the technology of pass, and setting is corresponding with two-dimentional digital content in identification region
Identification information, the disclosure is not restricted this.
Fig. 2 is the schematic diagram according to a kind of Quick Response Code of two-dimensional code generation method shown in an exemplary embodiment.One
In the possible realization method of kind, as shown in Fig. 2, terminal device or server can be arranged according to the identification region 31 of Quick Response Code
Anti-fake region 32, has in identification region 31 and the corresponding identification information of two-dimentional digital content.For example, the identification region of Quick Response Code
31 size is 41 pixel *, 41 pixels, then the identification region 31 that can surround Quick Response Code arranges anti-fake region 32, has cog region
The size of the Quick Response Code in domain 31 and anti-fake region 32 is 45 pixel *, 45 pixels.It will be understood by those skilled in the art that Quick Response Code is also
It can include other structures, as long as not being restricted to this including identification region and anti-fake region, the disclosure.
In a kind of possible realization method, terminal device or server are randomly provided multiple pixels in anti-fake region
Block.
For example, terminal device or server can be randomly provided multiple pixels in the two-dimension code anti-counterfeit region
Block.For example, terminal device or server can randomly place 32 sizes as 2 pixel *, 2 pixels in the two-dimension code anti-counterfeit region
Block of pixels, wherein, there is no overlapping region between this 32 block of pixels.Terminal device or server can be prevented according to Quick Response Code
Multiple block of pixels in pseudo- region, come determine with the corresponding anti-counterfeiting information in anti-fake region, for example, according to two-dimension code anti-counterfeit region
The location information of multiple block of pixels determines the corresponding anti-counterfeiting information in anti-fake region.
In a kind of possible realization method, terminal device or server according to the identification information of the identification region with
And multiple block of pixels in the anti-fake region, generation include the image in 2 D code in the identification region and the anti-fake region.
For example, terminal device or server can be according to the more of the identification information of identification region and anti-fake region
A block of pixels, generation include the image in 2 D code in identification region and anti-fake region.It will be understood by those skilled in the art that it can adopt
With well known mode in correlation technique according to the identification information of identification region and multiple block of pixels in anti-fake region, generation two dimension
Code image.For example, terminal device or server can be opposite with two-dimentional digital content in the identification region setting of Quick Response Code simultaneously
The identification information answered and the anti-fake region of Quick Response Code randomly place multiple block of pixels, and according to the identification information of identification region with
And multiple block of pixels in anti-fake region, generation include the image in 2 D code in identification region and anti-fake region.Wherein, the two of generation
The anti-fake region of dimension code image can be shown with identification region with visible ray, without other materials coating.In this way, can be
Ensure two-dimension code safe, it is convenient on the basis of, reduce two-dimension code anti-counterfeit cost, the method for the disclosure to generating image in 2 D code etc.
It is not restricted.
Fig. 3 is the flow chart according to a kind of two-dimensional code generation method shown in an exemplary embodiment.A kind of possible
In realization method, as shown in figure 3, this method further includes:
In step S14, according to the location information of the multiple block of pixels, determine corresponding anti-with the anti-fake region
Fake information.
It for example, can be according to the location information of multiple block of pixels, to determine the corresponding anti-counterfeiting information in anti-fake region.
For example, as shown in Fig. 2, the identification region 31 of Quick Response Code includes three blockages, which identifies for position correction
311.The central point of 32 block of pixels can be determined compared with the central point of the position correction mark 311 away from its nearest neighbours respectively
Coordinate (xi,yi), wherein, i is variable, 0≤i < 32, xiRepresent the transverse axis coordinate of the central point of ith pixel block, yiRepresent the
The ordinate of orthogonal axes of the central point of i block of pixels.64 data can be determined according to the coordinate of the central point of 32 block of pixels, respectively
For x0To x3132 corresponding numbers are according to this and y0To y3132 corresponding data.
It, can be according to multiple numbers associated with the location information of multiple block of pixels in a kind of possible realization method
According to determining anti-counterfeiting information.
For example, 64 can be determined according to the coordinate of the central point of formula (1), formula (2) and 32 block of pixels
A data, to determine 64 anti-counterfeiting information.Formula (1) and formula (2) can be as follows:
k2*i=xi%10 (1)
k2*i+1=yi/10 (2)
Wherein, k2*iIt is according to xiIdentified anti-counterfeiting information, % refers to take the remainder, for example, x0For 31 when, then according to formula
(1) anti-counterfeiting information k can be determined0For 1, x1For 24 when, anti-counterfeiting information k can be determined according to formula (1)2For 4.k2*i+1It is basis
yiIdentified anti-counterfeiting information ,/refer to and take business, for example, y0For 30 when, anti-counterfeiting information k can be determined according to formula (2)1For 3, y31For
When 20, anti-counterfeiting information k can be determined according to formula (2)63For 2.
In step S15, the anti-counterfeiting information is stored as reference information.
For example, after the location information according to multiple block of pixels, the definite and corresponding anti-counterfeiting information in anti-fake region,
The anti-counterfeiting information can be stored as reference information.For example, it is stored in server using definite anti-counterfeiting information as storage information
Database in, the reference information can be used for anti-counterfeiting information is verified.For example, when user is true by Quick Response Code progress product
During puppet verification, the anti-counterfeiting information that mobile phone can will identify that is sent to server, and server can pass through the reference of its storage
The anti-counterfeiting information that information sends user is verified.For example, it is deposited when in the anti-counterfeiting information and server database that user sends
Storage multiple reference informations in one it is consistent when, be verified, two-dimentional digital content can be returned to user's by server
Mobile phone.
In this way, can be determined and anti-fake region phase according to the location information of multiple block of pixels in anti-fake region
Corresponding anti-counterfeiting information, and anti-counterfeiting information is stored as reference information, the anti-counterfeiting information of Quick Response Code is verified with realizing.This
Field technology personnel should be understood that can also determine anti-counterfeiting information by other means, as long as can be according to the position of multiple block of pixels
Confidence breath determines the anti-fake corresponding anti-counterfeiting information in region, can make by definite anti-counterfeiting information storage in the server
To be used for the reference information verified to anti-counterfeiting information.For example, it will be determined according to the location information of multiple block of pixels anti-fake
Information is stored in the database of server together with the corresponding two-dimentional digital content of Quick Response Code identification information, and the disclosure does not make this
Limitation.
Fig. 4 is the flow chart according to a kind of two-dimensional code identification method shown in an exemplary embodiment.It as shown in figure 4, should
Method is used in terminal device, for example, mobile phone, tablet computer etc., the disclosure is not restricted this.According to the embodiment of the present disclosure
Two-dimensional code identification method includes:
In the step s 21, the image in 2 D code with identification region and anti-fake region is obtained.
In step S22, according to the image in 2 D code, the identification information of the identification region and described anti-fake is determined
The anti-counterfeiting information in region;
In step S23, the identification information and the anti-counterfeiting information are sent to server, wherein, the server
It is stored with the reference information for being verified to the anti-counterfeiting information.
According to the embodiment of the present disclosure, by obtaining the image in 2 D code with identification region and anti-fake region, and according to two
Dimension code image determines corresponding identification information and anti-counterfeiting information, and identification information and anti-counterfeiting information, service are sent to server
Device is stored with the reference information for being verified to anti-counterfeiting information, by using server according to anti-counterfeiting information and identification information
Quick Response Code identification is carried out, improves the anti-counterfeit capability of Quick Response Code.
For example, user can obtain the two-dimentional digital content of Quick Response Code by its terminal device.For example, user buys
Certain commodity, user can obtain the relevant information of the commodity by the Quick Response Code of the commodity, for example, can pass through identification two
Code is tieed up, the two dimension digital content is obtained, to judge whether the commodity are certified products etc..
In a kind of possible realization method, the terminal device of user can by the images to be recognized comprising Quick Response Code come
Determine the image in 2 D code with identification region and anti-fake region.
For example, user can obtain the images to be recognized for including Quick Response Code by its terminal device.For example, user
Can the Quick Response Code on the commodity of its purchase be scanned by its mobile phone, be directly acquired by the camera of its mobile phone and include two dimension
The images to be recognized of code, can also import the images to be recognized for including Quick Response Code captured by it from its mobile phone photo album.Eventually
End equipment can be according to the images to be recognized for including Quick Response Code, to determine the Quick Response Code figure with identification region and anti-fake region
Picture.
In a kind of possible realization method, terminal device determines the identification region according to the image in 2 D code
Identification information and the anti-counterfeiting information in the anti-fake region.
For example, the terminal device of user can carry out image identification to the image in 2 D code got, determine identification
The identification information in region and the anti-counterfeiting information in anti-fake region.For example, terminal device can be according to the image in 2 D code, determining should
Position correction mark in image in 2 D code.For example, as shown in Fig. 2, three small sides of the identification region 31 of the image in 2 D code
Block identifies 311 for position correction, and the terminal device of user can identify 311 according to these three position corrections, to image in 2 D code
It is corrected.Also, respectively determine correction after image in 2 D code in identification region identification information and image in 2 D code in
The anti-counterfeiting information in anti-fake region.For example, the image in 2 D code is randomly provided multiple pixels in generation in its anti-fake region
Block, and according to the location information of multiple block of pixels, there is provided the anti-counterfeiting information in the anti-fake region, are provided in its identification region
With the corresponding identification information of two-dimentional digital content.Then the terminal device of user can be by obtaining the anti-fake region of the Quick Response Code
The location information of multiple block of pixels, to parse the anti-counterfeiting information in anti-fake region in the image in 2 D code.For example, as it was noted above,
The anti-fake region of the image in 2 D code is randomly provided 32 block of pixels, and identification region is set and the corresponding identification of two-dimentional digital content
Information.Then the terminal device of the user can detect the central point of 32 block of pixels compared with the position correction away from its nearest neighbours
The coordinate of the central point of mark, and 64 data, formula (1) and the formula (2) that are determined according to 32 coordinates are calculated
64 anti-counterfeiting information.It will be understood by those skilled in the art that the terminal device of user can also use well known side in correlation technique
Formula determines the identification information of identification region in image in 2 D code according to image in 2 D code, and the disclosure is not restricted this.
In this way, the identification region of the image in 2 D code and anti-fake region can be accurately determined, and according to knowledge
Other region determines identification information, and anti-counterfeiting information is determined according to anti-fake region.It will be understood by those skilled in the art that correlation may be employed
Well known method is corrected images to be recognized to be identified according to position correction in technology.In addition, position correction mark can be with
Including diversified forms, for example, circle, blockage etc., the position of position correction mark can also include diversified forms, for example, can
To be located at the identification region of image in 2 D code, the anti-fake region of image in 2 D code can also be located at, the disclosure is not restricted this.
In a kind of possible realization method, the identification information and the anti-counterfeiting information are sent to server, wherein,
The server storage is useful for the reference information verified to the anti-counterfeiting information.
For example, terminal device can send identification information that it is identified according to image in 2 D code and anti-to server
Fake information, the server storage are useful for the reference information verified to anti-counterfeiting information.Server can be according to reference information
Verify the anti-counterfeiting information.
For example, when server is verified the anti-counterfeiting information (for example, multiple reference informations of server storage
It is middle to there is the consistent reference information of anti-counterfeiting information sent with user), server can will be with identification information corresponding two
Dimension digital content returns to terminal device, at this point, the terminal device of user can receive two-dimentional digital content (for example, the commodity are
Certified products, date of manufacture are XX XX months XX day etc.).When server to the anti-counterfeiting information verify not over when (for example, the service
The consistent reference information of anti-counterfeiting information not sent in multiple reference informations of device storage with user), server can will
The prompt message of recognition failures returns to terminal device.At this point, the terminal device of user can receive corresponding prompt message
(for example, authentication failed etc.).
In a kind of possible realization method, when reaching verification to the number that anti-counterfeiting information is verified according to reference information
During frequency threshold value, the reference information can be deleted.
For example, the reference information of server storage commodity can be including A, B, C etc..Terminal device is sent anti-fake
Information is A, and when consistent with the reference information A of server storage, then the anti-counterfeiting information is verified, and server can be by two dimension
Digital content returns to terminal device.When reaching verification frequency threshold value to the number that anti-counterfeiting information is verified according to reference information
(for example, verifying that frequency threshold value is 1 time), then server can delete the reference information from multiple reference informations of its storage
A.In this way, when the anti-counterfeiting information for having terminal device transmission is again A (for example, during Quick Response Code of certain scanning input imitation), it should
The reference information consistent with the anti-counterfeiting information that terminal device is sent, verification do not have in multiple reference informations of server storage
Have by the way that terminal device can not obtain the two dimension digital content.In this way, same reference information can only be used to lead to anti-counterfeiting information verification
The verification frequency threshold value of setting is crossed, for example, verification frequency threshold value is 1 time, then same reference information can only be used to anti-counterfeiting information
It is verified 1 time, when it is 5 times to verify frequency threshold value, then same reference information can only be used to be verified 5 to anti-counterfeiting information
It is secondary, so as to improve the anti-counterfeit capability of Quick Response Code.It will be understood by those skilled in the art that as long as anti-counterfeiting information is tested according to reference information
After the number that card passes through reaches verification frequency threshold value, which can not again verify anti-counterfeiting information, this public affairs
Realization method that can not again verify anti-counterfeiting information to verifying the value of frequency threshold value, reference information etc. is opened not limit
System.
In this way, Quick Response Code identification is carried out according to reference information and identification information by using server, so as to
The anti-counterfeit capability of Quick Response Code is improved, ensures the safe to use of Quick Response Code and facility.It will be understood by those skilled in the art that it may be employed
Well known mode obtains image in 2 D code in correlation technique, and determines identification information and anti-counterfeiting information according to image in 2 D code,
Identification information is sent to server and anti-counterfeiting information, the disclosure are not restricted this.
Using example
Below in conjunction with " user's checking commodity true and false " as an exemplary application scene, provide according to the embodiment of the present disclosure
Application example, in order to understand the flow of two-dimensional code identification method.It will be understood by those skilled in the art that below using example only
The purpose for readily appreciating the embodiment of the present disclosure is only in order at, is not construed as the limitation to the embodiment of the present disclosure.
Fig. 5 is the schematic diagram according to a kind of application scenarios of two-dimensional code identification method shown in an exemplary embodiment.
, using in example, the producer of the commodity generates to verify that commodity are true on the commodity when producing the commodity for this
Pseudo- image in 2 D code.The image in 2 D code of producer generation includes Quick Response Code identification region and two-dimension code anti-counterfeit
Region.Wherein, have in identification region and arranged with the corresponding identification information of two-dimentional digital content, the identification region around Quick Response Code
There is anti-fake region, multiple block of pixels have been randomly placed in the anti-fake region.For example, 32 sizes have been randomly placed as 2 pixel * 2
The block of pixels of pixel, this 32 block of pixels do not have overlapping region, and according to the location information of 32 block of pixels, it is determined that 64
Position anti-counterfeiting information.At this using in example, the producers of the commodity is by the anti-fake letter corresponding to the image in 2 D code of generation
Breath is stored in the database of its server, as with reference to information, while by Quick Response Code identification information and opposite with identification information
The two-dimentional digital content answered also is stored in the database of its server.
In this is using example, after user has purchased the commodity, it can be verified by the image in 2 D code on the commodity
The true and false of the commodity.In this is using example, as shown in figure 5, user includes the to be identified of Quick Response Code by the acquisition of its mobile phone
Image, for example, user passes through the Quick Response Code in its mobile phone items scanning.The mobile phone of user has according to images to be recognized, acquisition
Identification region and the image in 2 D code in anti-fake region.
At this using in example, the mobile phone of user determines the identification information of identification region according to the image in 2 D code of acquisition
And the anti-counterfeiting information in anti-fake region.For example, the mobile phone of user can according in image in 2 D code position correcting mark know to this two
Dimension code image is corrected, for example, mobile phone automatically identifies 3 position corrections mark in the identification region of image in 2 D code.
The mobile phone of user is corrected image in 2 D code according to 3 position correction marks, the image in 2 D code after being corrected.
In this is using example, the mobile phone of user can detect 32 block of pixels in anti-fake region, and obtain this 32
The location information of block of pixels.The mobile phone of user can determine anti-counterfeiting information according to the location information of this 32 block of pixels.Meanwhile
The mobile phone of user can also determine corresponding identification information according to identification region.The mobile phone of user is to the producer of commodity
Server send identification information and anti-counterfeiting information.
At this using in example, identification information that mobile phone that the server of producer receives user is sent and anti-fake
Information, the server can be verified anti-counterfeiting information according to the reference information of its storage.For example, it can be received
The anti-counterfeiting information of mobile phone from the user matched with the reference information that it is stored, when successful match, it may be determined that anti-
Fake information is verified, at this point, server can be sent to the mobile phone of user receives the corresponding two dimension of identification information with it
Digital content, for example, the commodity are certified products, the date of manufacture is XX XX months XX day etc..At this using in example, when server according to
Its reference information stored verifies anti-counterfeiting information, when determining anti-counterfeiting information not over verification, for example, server connects
When multiple reference informations that the anti-counterfeiting information received is stored with it all mismatch, anti-counterfeiting information can not over verification, server
Prompt message during sending from recognition failures to the mobile phone of user, for example, verification does not pass through.
In this is using example, the mobile phone of user can receive the recognition result of server return, for example, receiving identification
Success when two-dimentional digital content or recognition failures when prompt message.
According to the embodiment of the present disclosure, by arranging anti-fake region according to the identification region of Quick Response Code, which has
With the corresponding identification information of two-dimentional digital content, multiple block of pixels are randomly provided in anti-fake region, and according to identification region
Identification information and multiple block of pixels in anti-fake region, generation include the image in 2 D code in identification region and anti-fake region, from
And generate the image in 2 D code with stronger anti-counterfeit capability.
Fig. 6 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.With reference to Fig. 6, the device
Module 61, block of pixels setup module 62 and image in 2 D code generation module 63 are arranged including region.
Module 61 is arranged in the region, is configured as the identification region according to Quick Response Code, is arranged anti-fake region, wherein, it is described
Have and the corresponding identification information of two-dimentional digital content in identification region;
The block of pixels setup module 62 is configured as being randomly provided multiple block of pixels in the anti-fake region;
The image in 2 D code generation module 63 is configured as according to the identification information of the identification region and described anti-fake
Multiple block of pixels in region, generation include the image in 2 D code in the identification region and the anti-fake region.
Fig. 7 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.With reference to Fig. 7, in one kind
In possible realization method, described device further includes:
Anti-counterfeiting information determining module 64 is configured as the location information according to the multiple block of pixels, determines to prevent with described
The pseudo- corresponding anti-counterfeiting information in region;
Anti-counterfeiting information memory module 65 is configured as the anti-counterfeiting information being stored as reference information.
Fig. 8 is the block diagram according to a kind of two-dimension code recognition device shown in an exemplary embodiment.With reference to Fig. 8, the device
Including image in 2 D code acquisition module 71, information determination module 72 and information sending module 73.
The image in 2 D code acquisition module 71 is configured as obtaining the Quick Response Code figure with identification region and anti-fake region
Picture;
The information determination module 72 is configured as, according to the image in 2 D code, determining the identification letter of the identification region
Breath and the anti-counterfeiting information in the anti-fake region;
The information sending module 73 is configured as sending the identification information and the anti-counterfeiting information to server,
In, the server storage is useful for the reference information verified to the anti-counterfeiting information.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is the block diagram according to a kind of two-dimension code recognition device shown in an exemplary embodiment.For example, device 800 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
With reference to Fig. 9, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814 and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 802 can refer to including one or more processors 820 to perform
Order, to perform all or part of the steps of the methods described above.In addition, processing component 802 can include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example is included for the instruction of any application program or method that are operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Border, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect opening/closed state of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 can include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Figure 10 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.For example, device 900 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
With reference to Figure 10, device 900 can include following one or more assemblies:Processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914 and
Communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 902 can refer to including one or more processors 920 to perform
Order, to perform all or part of the steps of the methods described above.In addition, processing component 902 can include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown
Example is included for the instruction of any application program or method that are operated on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Border, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 908 includes a front camera and/or rear camera.When device 900 is in operation mode, such as screening-mode or
During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detect opening/closed state of device 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 can include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of device 900.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Figure 11 is the block diagram according to a kind of Quick Response Code generating means shown in an exemplary embodiment.For example, device 1900
It may be provided as a server.With reference to Figure 11, device 1900 includes processing component 1922, further comprises one or more
Processor and memory resource represented by a memory 1932, can be by the finger of the execution of processing component 1922 for storing
Order, such as application program.The application program stored in memory 1932 can include each one or more correspondence
In the module of one group of instruction.In addition, processing component 1922 is configured as executing instruction, to perform the above method.
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1932 of instruction, above-metioned instruction can be performed to complete the above method by the processing component 1922 of device 1900.
For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape,
Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (10)
1. a kind of two-dimensional code generation method, which is characterized in that the described method includes:
According to the identification region of Quick Response Code, anti-fake region is arranged, wherein, have in the identification region opposite with two-dimentional digital content
The identification information answered;
Multiple block of pixels are randomly provided in the anti-fake region;
According to the identification information of the identification region and multiple block of pixels in the anti-fake region, generation includes the identification
Region and the image in 2 D code in the anti-fake region.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
According to the location information of the multiple block of pixels, determine and the anti-fake corresponding anti-counterfeiting information in region;
The anti-counterfeiting information is stored as reference information.
3. a kind of two-dimensional code identification method, which is characterized in that the described method includes:
Obtain the image in 2 D code with identification region and anti-fake region;
According to the image in 2 D code, the identification information of the identification region and the anti-counterfeiting information in the anti-fake region are determined;
The identification information and the anti-counterfeiting information are sent to server, wherein, the server storage is useful for described
The reference information that anti-counterfeiting information is verified.
4. a kind of Quick Response Code generating means, which is characterized in that described device includes:
Module is arranged in region, for the identification region according to Quick Response Code, arranges anti-fake region, wherein, have in the identification region
Have and the corresponding identification information of two-dimentional digital content;
Block of pixels setup module, for being randomly provided multiple block of pixels in the anti-fake region;
Image in 2 D code generation module, for the identification information according to the identification region and multiple pictures in the anti-fake region
Plain block, generation include the image in 2 D code in the identification region and the anti-fake region.
5. device according to claim 4, which is characterized in that described device further includes:
Anti-counterfeiting information determining module for the location information according to the multiple block of pixels, determines opposite with the anti-fake region
The anti-counterfeiting information answered;
Anti-counterfeiting information memory module, for the anti-counterfeiting information to be stored as reference information.
6. a kind of two-dimension code recognition device, which is characterized in that described device includes:
Image in 2 D code acquisition module, for obtaining the image in 2 D code with identification region and anti-fake region;
Information determination module, for according to the image in 2 D code, determining the identification information of the identification region and described anti-
The anti-counterfeiting information in pseudo- region;
Information sending module, for sending the identification information and the anti-counterfeiting information to server, wherein, the server
It is stored with the reference information for being verified to the anti-counterfeiting information.
7. a kind of Quick Response Code generating means, which is characterized in that including:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, the first processor is configured as:Method described in perform claim requirement 1 or 2.
8. a kind of non-transitorycomputer readable storage medium, which is characterized in that when the instruction in the storage medium is by first
When processor performs so that first processor is able to carry out method according to claim 1 or 2.
9. a kind of two-dimension code recognition device, which is characterized in that including:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, the second processor is configured as:Method described in perform claim requirement 3.
10. a kind of non-transitorycomputer readable storage medium, which is characterized in that when the instruction in the storage medium is by second
When processor performs so that second processor is able to carry out according to the method for claim 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711290948.5A CN108122020A (en) | 2017-12-08 | 2017-12-08 | Two-dimensional code generation method and device and two-dimensional code identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711290948.5A CN108122020A (en) | 2017-12-08 | 2017-12-08 | Two-dimensional code generation method and device and two-dimensional code identification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108122020A true CN108122020A (en) | 2018-06-05 |
Family
ID=62228982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711290948.5A Pending CN108122020A (en) | 2017-12-08 | 2017-12-08 | Two-dimensional code generation method and device and two-dimensional code identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108122020A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493091A (en) * | 2018-11-07 | 2019-03-19 | 合肥友高物联网标识设备有限公司 | A kind of method and system of the physical security based on two dimensional code |
CN109978115A (en) * | 2019-04-04 | 2019-07-05 | 广州市宝绅科技应用有限公司 | A kind of security code and its construction method |
WO2020199393A1 (en) * | 2019-04-04 | 2020-10-08 | 广州市宝绅科技应用有限公司 | Anti-counterfeiting system and anti-counterfeiting method |
CN112163871A (en) * | 2020-10-12 | 2021-01-01 | 深圳劲嘉盒知科技有限公司 | Product verification method and device, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855514A (en) * | 2012-08-23 | 2013-01-02 | 晏华艳 | Bidimensional-barcode-based anti-counterfeiting identification method and system |
US20140103111A1 (en) * | 2012-09-19 | 2014-04-17 | Tencent Technology (Shenzhen) Company Limited | Information obtaining method and apparatus |
CN103745363A (en) * | 2014-01-02 | 2014-04-23 | 深圳市众和正通科技发展有限公司 | Two-dimensional code anti-counterfeiting system and method |
CN104392260A (en) * | 2014-12-17 | 2015-03-04 | 肖学静 | Two-dimensional code anti-counterfeiting method based on additional information |
CN104778489A (en) * | 2015-03-24 | 2015-07-15 | 立德高科(北京)数码科技有限责任公司 | Combined anti-counterfeit label, and generation method and generation device of combined anti-counterfeit label |
CN104794514A (en) * | 2015-03-24 | 2015-07-22 | 立德高科(北京)数码科技有限责任公司 | Combined anti-counterfeiting mark based on same ID (Identity) as well as generation method and device |
CN105740931A (en) * | 2016-02-05 | 2016-07-06 | 上海孔诚物联网科技股份有限公司 | Multidimensional anti-counterfeiting code as well as manufacture method and recognition method thereof |
CN105913103A (en) * | 2016-04-08 | 2016-08-31 | 浙江大学 | Dot matrix anti-counterfeiting code graph and identification method therefor |
CN106529637A (en) * | 2016-10-28 | 2017-03-22 | 深圳大学 | Anti-copy realization method and realization system of two-dimensional code |
-
2017
- 2017-12-08 CN CN201711290948.5A patent/CN108122020A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855514A (en) * | 2012-08-23 | 2013-01-02 | 晏华艳 | Bidimensional-barcode-based anti-counterfeiting identification method and system |
US20140103111A1 (en) * | 2012-09-19 | 2014-04-17 | Tencent Technology (Shenzhen) Company Limited | Information obtaining method and apparatus |
CN103745363A (en) * | 2014-01-02 | 2014-04-23 | 深圳市众和正通科技发展有限公司 | Two-dimensional code anti-counterfeiting system and method |
CN104392260A (en) * | 2014-12-17 | 2015-03-04 | 肖学静 | Two-dimensional code anti-counterfeiting method based on additional information |
CN104778489A (en) * | 2015-03-24 | 2015-07-15 | 立德高科(北京)数码科技有限责任公司 | Combined anti-counterfeit label, and generation method and generation device of combined anti-counterfeit label |
CN104794514A (en) * | 2015-03-24 | 2015-07-22 | 立德高科(北京)数码科技有限责任公司 | Combined anti-counterfeiting mark based on same ID (Identity) as well as generation method and device |
CN105740931A (en) * | 2016-02-05 | 2016-07-06 | 上海孔诚物联网科技股份有限公司 | Multidimensional anti-counterfeiting code as well as manufacture method and recognition method thereof |
CN105913103A (en) * | 2016-04-08 | 2016-08-31 | 浙江大学 | Dot matrix anti-counterfeiting code graph and identification method therefor |
CN106529637A (en) * | 2016-10-28 | 2017-03-22 | 深圳大学 | Anti-copy realization method and realization system of two-dimensional code |
Non-Patent Citations (1)
Title |
---|
付延松,胡更生,王群,王晓丹: "一种基于多重信息加密的二维码防伪方法", 《印刷质量与标准化》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493091A (en) * | 2018-11-07 | 2019-03-19 | 合肥友高物联网标识设备有限公司 | A kind of method and system of the physical security based on two dimensional code |
CN109978115A (en) * | 2019-04-04 | 2019-07-05 | 广州市宝绅科技应用有限公司 | A kind of security code and its construction method |
WO2020199394A1 (en) * | 2019-04-04 | 2020-10-08 | 广州市宝绅科技应用有限公司 | Anti-counterfeiting code and construction method therefor |
WO2020199393A1 (en) * | 2019-04-04 | 2020-10-08 | 广州市宝绅科技应用有限公司 | Anti-counterfeiting system and anti-counterfeiting method |
CN112163871A (en) * | 2020-10-12 | 2021-01-01 | 深圳劲嘉盒知科技有限公司 | Product verification method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103916233B (en) | A kind of information ciphering method and device | |
CN107025419B (en) | Fingerprint template inputting method and device | |
WO2016107030A1 (en) | Notification information display method and apparatus | |
CN105468767B (en) | Card information acquisition methods and device | |
CN108122020A (en) | Two-dimensional code generation method and device and two-dimensional code identification method and device | |
CN103942469A (en) | Picture processing method, device and terminal | |
CN106231419A (en) | Operation performs method and device | |
CN104950838B (en) | network account binding method and device | |
CN107688781A (en) | Face identification method and device | |
CN106331761A (en) | Live broadcast list display method and apparatuses | |
CN108108671A (en) | Description of product information acquisition method and device | |
CN106791092A (en) | The searching method and device of contact person | |
CN109039860A (en) | Send and show method and device, the identity authentication method and device of message | |
CN105100193B (en) | Cloud business card recommended method and device | |
CN107330391A (en) | Product information reminding method and device | |
CN107993192A (en) | Certificate image bearing calibration, device and equipment | |
CN109324863A (en) | The method, apparatus and computer readable storage medium of fingerprint recognition | |
CN107395982A (en) | Photographic method and device | |
CN109542285A (en) | Image processing method and device | |
KR20150045205A (en) | Electronic device and control method thereof | |
CN106533918A (en) | User addition prompting method and apparatus | |
CN106778194A (en) | Verification method, device and electronic equipment | |
CN105224644A (en) | Information classification approach and device | |
CN105430639B (en) | Information processing method and device | |
CN110852163A (en) | Binding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180605 |