CN106899609A - Code and its generation, verification method and device in a kind of code - Google Patents

Code and its generation, verification method and device in a kind of code Download PDF

Info

Publication number
CN106899609A
CN106899609A CN201710174472.2A CN201710174472A CN106899609A CN 106899609 A CN106899609 A CN 106899609A CN 201710174472 A CN201710174472 A CN 201710174472A CN 106899609 A CN106899609 A CN 106899609A
Authority
CN
China
Prior art keywords
code
information
check
image
check information
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
Application number
CN201710174472.2A
Other languages
Chinese (zh)
Inventor
俞森超
王军红
王玉红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHINA COMMERCE NETWORKS (SHANGHAI) Co
Original Assignee
CHINA COMMERCE NETWORKS (SHANGHAI) Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHINA COMMERCE NETWORKS (SHANGHAI) Co filed Critical CHINA COMMERCE NETWORKS (SHANGHAI) Co
Priority to CN201710174472.2A priority Critical patent/CN106899609A/en
Publication of CN106899609A publication Critical patent/CN106899609A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06037Record 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition

Abstract

The embodiment of the invention discloses code in a kind of code and its generation, verification method and device.Wherein, code in the code, including:Frame, for showing the image generated according to information;Check information image, the image for showing check information generation, the check information is used to check described information.Allow that consumer obtains corresponding check information according to check information image, and QR yards of antifalse effect can be improved by the true and false of check information checking information image.

Description

Code and its generation, verification method and device in a kind of code
Technical field
The present invention relates to code in technical field of image processing, more particularly to a kind of code and its generation, verification method and device.
Background technology
Fast reaction (Quick Response, QR) code is one kind of two-dimensional bar code, wishes that QR yards can allow from inventor Its content is quickly decoded.QR yards can store additional information than common bar code.QR yards square, only black-and-white two color.At 4 Wherein 3 of corner, be printed on it is smaller, as the square pattern of " returning " word.This 3 patterns for being to aid in decoding software positioning, make User need not be aligned, and no matter scan at any angle, and data still can correctly be read.
At present, continuing to develop with mobile terminal technology, mobile phone can not only be used for the carrier of 2 D code information, while being also The identification equipment of Quick Response Code, is scanned through obtaining the effective information implied in Quick Response Code.Quick Response Code has been increasingly becoming people and has obtained Take the LnkTools of daily information.Because the cost of manufacture of Quick Response Code is relatively low, the extra cost of Commercial print will not be increased, by QR Code traces to the source commonly used as mark and the false proof of entrance.
Realize it is of the invention during, inventor has found following technical problem:Some lawless persons are given birth to using Quick Response Code The anti-counterfeiting information that will be forged into instrument generates Quick Response Code, and consumer cannot determine whether scanned QR yards is imitated two dimension Code, and then the true and false of commodity cannot be determined.QR yards cannot play corresponding anti-fake effect.
The content of the invention
It is an object of the invention to propose code and its generation, verification method and device in a kind of code, to solve prior art Present in there is the technical problem of spurious information in QR yards.
In a first aspect, code in a kind of code is the embodiment of the invention provides, including:
Frame, for showing the image generated according to information;
Check information image, the image for showing check information generation, the check information is used to check described information.
Further, the check information image includes:
Check digit and/or the pattern checked character.
Further, the check digit and/or check character including:
The corresponding all or part of check information of described information.
Further, the pattern be arranged at the locating piece of described information image surrounding and not with frame occur Overlap.
Second aspect, the embodiment of the present invention additionally provides the generation method of code in the code that a kind of above-described embodiment is provided, bag Include:
Frame is generated according to information;
Check information is generated according to described information;
Check information image is generated according to the check information;
Described information image and the check information image are synthesized, to generate code in the code.
Further, it is described that check information is generated according to described information, including:
Check information is generated according to described information by MD5 algorithms.
Further, the check information image includes:Check digit and/or the pattern checked character;
Accordingly, described information image and the check information image are synthesized, including:
The pattern is arranged at the surrounding of the locating piece of described information image.
Further, before the pattern is arranged at into the surrounding of the locating piece of described information image, also include:
The pattern is carried out into micro treatment, micro pattern is generated;
Accordingly, the surrounding of the locating piece that the pattern is arranged at described information image, including:
The micro pattern is arranged at the surrounding of the locating piece of described information image.
The third aspect, the embodiment of the present invention additionally provides the verification method of code in the code that a kind of above-described embodiment is provided, bag Include:
Obtain code image in code;
The information and the check information of check information image of the frame in difference readout code in code image;
Described information is verified according to the check information, and exports the result.
Fourth aspect, the embodiment of the present invention additionally provides a kind of generating means of code in code, including:
Frame generation module, for generating frame according to information;
Check information generation module, for generating check information according to described information;
Check information image generation module, for generating check information image according to the check information;
Synthesis module, for described information image and the check information image to be synthesized, with generating the code Code.
Further, the check information generation module is used for:
Check information is generated according to described information by MD5 algorithms.
Further, the check information image includes:Check digit and/or the pattern checked character;
Accordingly, the synthesis module includes:
Setting unit, the surrounding of the locating piece for the pattern to be arranged at described information image.
Further, described device also includes:
Micro pattern gen-eration module, for the pattern to be carried out into micro treatment, generates micro pattern;
Accordingly, the setting unit is used for:
The micro pattern is arranged at the surrounding of the locating piece of described information image.
5th aspect, the embodiment of the present invention additionally provides a kind of checking device of code in code, including:
Acquisition module, for obtaining code image in code;
Read module, the verification of information and check information image for distinguishing the frame in readout code in code image Information;
Authentication module, for being verified to described information according to the check information, and exports the result.
Code and its generation, verification method and device in code provided in an embodiment of the present invention, by original QR yards base Increase corresponding check information image on plinth so that consumer can obtain corresponding check information according to check information image, And QR yards of antifalse effect can be improved by the true and false of check information checking information image.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, it is of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the structural representation of code in the code that the embodiment of the present invention one is provided;
Fig. 2 is the structural representation of code in the code that the embodiment of the present invention two is provided;
Fig. 3 is the schematic flow sheet of the generation method of code in the code that the embodiment of the present invention three is provided;
Fig. 4 is the schematic flow sheet of the generation method of code in the code that the embodiment of the present invention four is provided;
Fig. 5 is the schematic flow sheet of the verification method of code in the code that the embodiment of the present invention five is provided;
Fig. 6 is the structural representation of the generating means of code in the code that the embodiment of the present invention six is provided;
Fig. 7 is the structural representation of the checking device of code in the code that the embodiment of the present invention seven is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part rather than entire infrastructure related to the present invention is illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is the structural representation of code in the code that the embodiment of the present invention one is provided.During code refers to image information in the code Including at least two codings.Code includes in the code:Frame, for the corresponding image of display information;Check information image, The corresponding image of check information for showing verification described information.
Wherein, frame can generate corresponding frame according to the false distinguishing information of commodity.False distinguishing information can be The network address of commodity false distinguishing information, or the unique encodings of the commodity.Exemplary, frame can be QR yards.Can be with False distinguishing information is converted into frame using existing QR yards of generating means, frame is the picture material of code in code. Can according to information generate check information, the check information can be information which part information, or by information according to The information that default computation rule is calculated.Because image can be made up of black-and-white two color, wherein black can be expressed as 1, White can be expressed as 0.Accordingly, corresponding image can be generated according to check information and is displayed in code in code.
Referring to Fig. 1, code includes in code:QR yards of image, the QR yards of image includes three locating pieces and by multiple monochrome pixels The pattern of composition.Wherein, locating piece is view finding figure, respectively positioned at the upper left corner of image, the upper right corner, the lower left corner, for determining QR yards of position and direction.Generally QR yards of the module width ratio of locating piece is, 1:1:3:1:1, as shown in figure 1, can be with profit With locating piece location information image-region.
Additionally, code also includes in code:Check information image, the image for showing check information generation, the verification letter Cease for checking described information.In the present embodiment, check information image is bar code.Exemplary, bar code can be set Outside locating piece scope, to avoid producing interference to frame.
The present embodiment on the basis of original QR yards by increasing corresponding check information image so that consumer can be with Corresponding check information is obtained according to check information image, and can be improved by the true and false of check information checking information image QR yards of antifalse effect.
Embodiment two
Fig. 2 is the structural representation of code in the code that the embodiment of the present invention two is provided.The present embodiment is with above-described embodiment as base Plinth, verification frame is specifically optimized for:Check digit and/or the pattern checked character.Although using check information image Can realize the checking to information in frame, but this mode needs the user to carry out twice or repeatedly barcode scanning, can just obtain Check information is got, is operated relatively cumbersome.Therefore, verification frame is specifically optimized in the present embodiment:Check digit And/or the pattern checked character.Consumer can be made intuitively to obtain verification using check digit and/or the pattern checked character Information.User can obtain check information without barcode scanning.Wherein, check digit and/or to check character can be described information pair The all or part of check information answered.
Additionally, using check digit and/or checking character and can also avoid frame, such as QR yards is replicated or multiple Print.Because each duplication or the code for duplicating are by that can be considered as effective after inquiry, whole false proof north source etc. will be caused System loses the efficiency such as false proof of application.And using check digit and/or check character, consumer by check digit and/or Check character can intuitively see whether all such commodity check digit and/or whether identical check character, and then sentence Whether disconnected QR yards be replicated.
Referring to Fig. 2, the check digit and/or check character and be arranged at described information image, such as QR yards of locating piece Surrounding and do not overlap with frame.By check digit and/or check character and be arranged at the four of described QR yards locating piece Week can be easy to save printing cost without QR yards of change printing of area.Further, since the figure of locating piece and frame There is certain gap between case, the surrounding of check digit and/or the locating piece for being arranged at QR yards of checking character is arranged at institute State the surrounding of QR yards of locating piece and do not overlap with frame, it is possible to prevente effectively from check digit and/or checking character Interference to frame, it is ensured that the integrality and correctness of frame.
Optionally, the check digit and/or the pattern checked character can be micro symbol, by micro anti-counterfeit printing Be printed on anti-fake mark for check digit and/or check character by technology.Because current duplicator and resolution of scanner are limited, Thus it is difficult to reproduce miniature character.Relative to other printing technologies, imitated difficulty is increased, with more preferable antifalse effect. If additionally, check digit and/or the pattern checked character are micro symbol, because lawless person can not be answered QR yards System, such all commodity all can be capable of achieving false proof purpose using identical QR yards.
The present embodiment is specifically optimized for by by verification frame:Check digit and/or the pattern checked character.Can be with User is intuitively got check information, reduce the number of times of user's barcode scanning.Consumer can be also set to observe directly QR simultaneously Whether code is replicated, and further increases QR yards of anti-counterfeit capability.
Embodiment three
Fig. 3 is the schematic flow sheet of code generating method in the code that the embodiment of the present invention three is provided, and the method for the present embodiment is fitted For the situation of code in the code for generating above-described embodiment offer.Can be performed by code generating means in code, the device can pass through The mode of hardware and/or software realizes, and typically can apply in code in code server.
Referring to Fig. 3, code generating method in the code, including:
S310, frame is generated according to information.
Wherein, described information can be the fake certification information of the commodity.For example, unique identifying code of the commodity etc..Institute It can be QR yards to state frame.Exemplary, can in the following way generate frame.According to the information of required coding Data volume and the level of error correction of setting choose corresponding QR patterns and version.And the standard according to the pattern and version will Described information is encoded, and can generate corresponding error correcting code according to coding result.According to coding and error correcting code according to corresponding Graphics standard generates corresponding QR yards of frame.
S320, check information is generated according to described information.
The check information can be generated due to effectively being verified to above- mentioned information according to described information.For every letter Breath has unique corresponding check information.Exemplary, some data can be chosen in fixed position from described information As check information, some data are chosen with the fixed position chosen in described information by check information and is matched, such as The match is successful for fruit, then can determine that the above- mentioned information effectively, otherwise, it is determined that above- mentioned information is invalid.In order to further enhance school The complexity of information is tested, can be given birth to using Message Digest Algorithm 5 (Message Digest Algorithm, MD5) algorithm Into check information.MD5 algorithms are a kind of widely used hash function of computer safety field, are used to provide the integrality of message Protection.The uniformity of check information and described information can be ensured.The data of information can be turned into another fixation by computing Length value.It is high with compression ratio, anti-modification, the advantages of strong collision.Can be using the data of above-mentioned fixed-length value as verification Information, also can be using the data division of above-mentioned fixed-length value as check information.Checking information length can be 16, or 32 Position.To ensure check information uniformity corresponding with described information.
S330, check information image is generated according to the check information.
Check information can be obtained according to aforesaid operations, and corresponding check information image can be generated by various modes. It is exemplary, can be by the display pattern of above-mentioned check information directly as check information image, or by above-mentioned check information Display pattern rotated, bend as check information image.Or, the check information is converted to by various instruments The various images of information can be carried.Check information is for example converted to by bar code by bar code Core Generator.
S340, described information image and the check information image are synthesized, to generate code in the code.
The frame and check information image generated according to above-mentioned steps are synthesized.Exemplary, will can verify Frame is arranged above and below the QR yards of frame, and do not produced with QR yards of frame it is overlapping, with cause disappear Expense person can get corresponding complete information by scanning QR yards of frame.By synthesis, both package informatin figures can be generated Code in picture, and the code including check information image.
The present embodiment by generating QR yards of frame corresponding with information and the verification for verifying described information respectively Frame, and QR yards of frame and check information image are synthesized, generate corresponding QR yards.So that consumer can be with Corresponding check information is obtained according to check information image, and can be improved by the true and false of check information checking information image QR yards of antifalse effect.
Example IV
Fig. 4 is the schematic flow sheet of code generating method in the code that the embodiment of the present invention four is provided.The present embodiment is with above-mentioned reality Apply and optimize based on example, in the present embodiment, be by the check information image optimization:Check digit and/or check word The pattern of symbol;Accordingly, described information image and the check information image are synthesized, is specifically optimized for the pattern It is arranged at the surrounding of the locating piece including described information image.
Referring to Fig. 4, code generating method in the code, including:
S410, frame is generated according to information.
S420, check information is generated according to described information.
S430, check digit and/or the pattern checked character are generated according to the check information.
Check information can use check digit and/or check character, i.e. may be numeral, it is also possible to be character, or It is the combination of numeral and character.According to check digit and/or the figure that can be generated check digit and/or check character of checking character Case.Consumer can be made intuitively to obtain check information using check digit and/or the image checked character.User is without barcode scanning Check information can be obtained.Additionally, using check digit and/or check character and can also avoid frame, such as QR yards of quilt Replicate or duplicate.Because each duplication or the code for duplicating are by that can be considered as effective after inquiry, will cause whole The systems such as false proof north source lose the efficiency such as false proof of application.And using check digit and/or check character, consumer is by verification Numeral and/or check character can intuitively see whether all such commodity check digit and/or check character whether phase Together, and then judge whether QR yards be replicated.Wherein, the pattern can be included:Check digit and/or check character is printed The pattern, or check digit of generation and/or check character by the pattern obtained by certain deformation process, the change Shape treatment can include:Bending, rotation etc..To cause check digit and/or check character to generate a variety of patterns.
S440, the pattern is arranged at the surrounding of the locating piece including described information image..
If setting check information image beyond QR yards of locating piece, described QR yards area is necessarily increased, and then can increase Plus the cost of QR yards of printing.In the present embodiment, check digit and/or the pattern checked character are arranged at including described QR yards The QR yards of surrounding of locating piece of frame.Exemplary, check digit and/or the pattern checked character are according to QR yards of locating piece Arrange from left to right, and locating piece intersection point by 90 ° of bendings, to cause check digit and/or the pattern and QR checked character Code locating piece is brought into close contact.Check digit and/or the pattern checked character can be avoided to be overlapped with frame.
The present embodiment is by by the check information image optimization:Check digit and/or the pattern checked character;Accordingly , described information image and the check information image are synthesized, specifically it is optimized for being arranged at the pattern including institute State the surrounding of the locating piece of frame.User can be made intuitively to get check information, reduce the number of times of user's barcode scanning. Consumer is observed directly whether QR yards be replicated simultaneously, further increase QR yards of anti-counterfeit capability.
In a preferred embodiment of the present embodiment, it is arranged at including the QR yards of frame by the pattern The QR yards of surrounding of locating piece before, increase following steps:The pattern is carried out into micro treatment, micro pattern is generated;Accordingly , the pattern is arranged at the QR yards of surrounding of locating piece including the QR yards of frame, specifically it is optimized for:Will be described micro- Contract drawing case is arranged at the QR yards of surrounding of locating piece including the QR yards of frame.To be verified by micro anti-counterfeiting printing technology Numeral and/or check character and be printed on anti-fake mark.Because current duplicator and resolution of scanner are limited, thus it is difficult to again Existing miniature character.Relative to other printing technologies, imitated difficulty is increased, with more preferable antifalse effect.
Embodiment five
Fig. 5 is the schematic flow sheet of code verification method in the code that the embodiment of the present invention five is provided, and the method for the present embodiment is fitted For the situation of code in the code for generating above-described embodiment offer.Can be performed by code checking device in code, the device can pass through The mode of hardware and/or software realizes, and typically can apply to code checking clothes in checking terminal that consumer uses or code In business device.
Referring to Fig. 5, code verification method in the code, including:
S510, obtains code image in code.
For checking terminal, by being arranged at code in the camera arrangement scan code of the terminal, and code in code can be obtained Image;For code authentication server in code, code figure in the code acquired in terminal that can be used by network reception consumer Picture.
S520, the information and the check information of check information image of the frame in difference readout code in code image.
Read the information of frame, code image in the code that can be got according to above-mentioned steps.Depth in identification image The module of color and light colour, and in predeterminated position reads this yard code format information.And determine the corresponding QR of frame The version of code, and corresponding data and error correction code word are read according to QR yards of release criteria, and error detection is carried out with error correction code word, Error correction is carried out when there is mistake.Decoding is finally completed, final information is obtained.
The process for reading the check information of check information image can be similar with the information that frame is read in above-mentioned reading Seemingly, exemplary, the check information image is bar code, and corresponding image is obtained by scanning, and by the converted life of image As corresponding electronic signal, and electronic signal is decoded, be converted to corresponding numeral and/or text information.
S530, verifies, and export the result according to the check information to described information.
Unique corresponding relation according to check information and information is verified.Exemplary, if the check information is Some data of fixed position in described information, then choose some by check information with the fixed position of selection in described information Position data are matched, if the match is successful, can determine that the above- mentioned information effectively, and the result is correct.Conversely, the flying formation of geese Result is mistake.Or, the information that will be got according to carrying out hash conversion to corresponding MD5 algorithms, and by the knot after conversion Fruit is matched with check information, if the match is successful, can determine that the above- mentioned information effectively, and the result is correct.
For checking terminal, checking directly can be exported by modes such as screen display or voices according to above-mentioned the result As a result.For code authentication server in code, the result can be exported to the terminal of consumer by network, to cause to disappear The person of expense obtains the result by the terminal, differentiates the true and false of commodity.
The present embodiment is by the check information of the check information image to getting to the frame in code image in code Information verified.Can allow that consumer obtains corresponding check information according to check information image, and can pass through The true and false of check information checking information image, improves QR yards of antifalse effect.
Embodiment six
Fig. 6 is the structural representation of the generating means of code in the code that the embodiment of the present invention six is provided, as shown in fig. 6, described Device includes:
Frame generation module 610, for generating frame according to information;
Check information generation module 620, for generating check information according to described information;
Check information image generation module 630, for generating check information image according to the check information;
Synthesis module 640, for described information image and the check information image to be synthesized, to generate the code Middle code.
The generating means of code in the code that the present embodiment is provided, by generating frame corresponding with information respectively and being used for The check information image of described information is verified, and frame and check information image are synthesized, in the corresponding code of generation Code.Allow that consumer obtains corresponding check information according to check information image, and can be by check information checking information The true and false of image, improves QR yards of antifalse effect.
On the basis of the various embodiments described above, the check information generation module is used for:
Check information is generated according to described information by MD5 algorithms.
On the basis of the various embodiments described above, the check information image includes:Check digit and/or the figure checked character Case;
Accordingly, the synthesis module includes:
Setting unit, the surrounding of the locating piece for the pattern to be arranged at described information image.
On the basis of the various embodiments described above, described device also includes:
Micro pattern gen-eration module, for the pattern to be carried out into micro treatment, generates micro pattern;
Accordingly, the setting unit is used for:
The micro pattern is arranged at the surrounding of the locating piece of described information image.
The generating means of code can be used to perform what any embodiment of the present invention was provided in the code that the embodiment of the present invention is provided The generation method of code, possesses corresponding functional module in code, realizes identical beneficial effect.
Embodiment seven
Fig. 7 is the structural representation of the checking device of code in the code that the embodiment of the present invention seven is provided, as shown in fig. 7, described Device includes:
Acquisition module 710, for obtaining code image in code;
Read module 720, information and check information image for distinguishing frame in readout code in code image Check information;
Authentication module 730, for being verified to described information according to the check information, and exports the result.
The checking device of code in the code that the present embodiment is provided, by the check information pair of the check information image to getting The information of the frame in code in code image is verified.Can allow that consumer obtains phase according to check information image The check information answered, and QR yards of antifalse effect can be improved by the true and false of check information checking information image.
The checking device of code can be used to perform what any embodiment of the present invention was provided in the code that the embodiment of the present invention is provided The verification method of code, possesses corresponding functional module in code, realizes identical beneficial effect.
Obviously, it will be understood by those skilled in the art that each module or each step of the invention described above can be by as above institutes The equipment stated is implemented.Alternatively, the program that the embodiment of the present invention can be can perform with computer installation realize, such that it is able to will They store and are performed by processor in the storage device, and described program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc.;Or they are fabricated to each collection respectively Into circuit module, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So, this hair The bright combination for being not restricted to any specific hardware and software.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (15)

1. code in a kind of code, it is characterised in that including:
Frame, for showing the image generated according to information;
Check information image, the image for showing check information generation, the check information is used to check described information.
2. code in code according to claim 1, it is characterised in that the check information image includes:
Check digit and/or the pattern checked character.
3. code in code according to claim 2, it is characterised in that the check digit and/or check character including:
The corresponding all or part of check information of described information.
4. code in code according to claim 2, it is characterised in that the pattern is arranged at the locating piece of described information image Surrounding and do not overlap with frame.
5. code in code according to claim 4, it is characterised in that the pattern is micro symbol.
6. in a kind of any described codes of claim 1-5 code generation method, including:
Frame is generated according to information;
Check information is generated according to described information;
Check information image is generated according to the check information;
Described information image and the check information image are synthesized, to generate code in the code.
7. method according to claim 6, it is characterised in that described that check information is generated according to described information, including:
Check information is generated according to described information by MD5 algorithms.
8. method according to claim 6, it is characterised in that the check information image includes:Check digit and/or school Test the pattern of character;
Accordingly, described information image and the check information image are synthesized, including:
The pattern is arranged at the surrounding of the locating piece including described information image.
9. method according to claim 8, it is characterised in that be arranged at including described information image by the pattern Before the surrounding of locating piece, also include:
The pattern is carried out into micro treatment, micro pattern is generated;
Accordingly, the surrounding that the pattern is arranged at the locating piece including described information image, including:
The micro pattern is arranged at the surrounding of the locating piece including described information image.
10. in a kind of any described codes of claim 1-5 code verification method, it is characterised in that including:
Obtain code image in code;
The information and the check information of check information image of the frame in difference readout code in code image;
Described information is verified according to the check information, and exports the result.
The generating means of code in a kind of 11. codes, including:
Frame generation module, for generating frame according to information;
Check information generation module, for generating check information according to described information;
Check information image generation module, for generating check information image according to the check information;
Synthesis module, for institute's frame and the check information image to be synthesized, to generate code in the code.
12. devices according to claim 11, it is characterised in that the check information generation module is used for:
Check information is generated according to described information by MD5 algorithms.
13. devices according to claim 11, it is characterised in that the check information image includes:Check digit and/or The pattern checked character;
Accordingly, the synthesis module includes:
Setting unit, the surrounding for the pattern to be arranged at the locating piece including described information image.
14. devices according to claim 13, it is characterised in that described device also includes:
Micro pattern gen-eration module, for the pattern to be carried out into micro treatment, generates micro pattern;
Accordingly, the setting unit is used for:
The micro pattern is arranged at the surrounding of the locating piece including described information image.
The checking device of code in a kind of 15. codes, it is characterised in that including:
Acquisition module, for obtaining code image in code;
Read module, for distinguishing the information of the frame in readout code in code image and the verification letter of check information image Breath;
Authentication module, for being verified to described information according to the check information, and exports the result.
CN201710174472.2A 2017-03-22 2017-03-22 Code and its generation, verification method and device in a kind of code Pending CN106899609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710174472.2A CN106899609A (en) 2017-03-22 2017-03-22 Code and its generation, verification method and device in a kind of code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710174472.2A CN106899609A (en) 2017-03-22 2017-03-22 Code and its generation, verification method and device in a kind of code

Publications (1)

Publication Number Publication Date
CN106899609A true CN106899609A (en) 2017-06-27

Family

ID=59192327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710174472.2A Pending CN106899609A (en) 2017-03-22 2017-03-22 Code and its generation, verification method and device in a kind of code

Country Status (1)

Country Link
CN (1) CN106899609A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895275A (en) * 2017-11-28 2018-04-10 北京信用达互联网信息技术有限公司 The product preventing counterfeiting means of proof
CN109255415A (en) * 2018-08-16 2019-01-22 章健 Four-dimensional code and its recognition methods, identification device and server
CN109978115A (en) * 2019-04-04 2019-07-05 广州市宝绅科技应用有限公司 A kind of security code and its construction method
CN110610112A (en) * 2019-09-12 2019-12-24 珠海格力电器股份有限公司 Identification code display method and device
CN110619248A (en) * 2019-08-19 2019-12-27 珠海格力电器股份有限公司 Feature code identification method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197004A (en) * 2007-12-25 2008-06-11 深圳矽感科技有限公司 Two-dimension bar code and its coding and decoding method
CN101430768A (en) * 2007-11-07 2009-05-13 刘涛 Two-dimension bar code system and its positioning method
CN101950370A (en) * 2010-09-14 2011-01-19 厦门阳光无线网络科技有限公司 Method for coding combined two-dimensional code
US20120041814A1 (en) * 2010-08-10 2012-02-16 Peter Kraft Method of creating a community using sequential numbering
CN102663592A (en) * 2012-03-29 2012-09-12 吴林 Two-dimensional code-based object identity dual-code identification method
CN104156750A (en) * 2013-05-14 2014-11-19 上海诺标防伪技术开发有限公司 Method for generating anti-counterfeiting label and anti-counterfeiting label generated by the same
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104794987A (en) * 2014-01-21 2015-07-22 沈维 Two-dimension code anti-counterfeit label
CN104820854A (en) * 2015-03-24 2015-08-05 立德高科(北京)数码科技有限责任公司 Combined anti-counterfeiting mark, and generation method and generation device of combined anti-counterfeiting mark
CN104848858A (en) * 2015-06-01 2015-08-19 北京极智嘉科技有限公司 Two-dimensional code and vision-inert combined navigation system and method for robot
CN106295755A (en) * 2015-05-27 2017-01-04 东莞文胜鼎电子科技有限公司 Two-dimensional code generation method, detection method, detection device and antifalsification label

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430768A (en) * 2007-11-07 2009-05-13 刘涛 Two-dimension bar code system and its positioning method
CN101197004A (en) * 2007-12-25 2008-06-11 深圳矽感科技有限公司 Two-dimension bar code and its coding and decoding method
US20120041814A1 (en) * 2010-08-10 2012-02-16 Peter Kraft Method of creating a community using sequential numbering
CN101950370A (en) * 2010-09-14 2011-01-19 厦门阳光无线网络科技有限公司 Method for coding combined two-dimensional code
CN102663592A (en) * 2012-03-29 2012-09-12 吴林 Two-dimensional code-based object identity dual-code identification method
CN104156750A (en) * 2013-05-14 2014-11-19 上海诺标防伪技术开发有限公司 Method for generating anti-counterfeiting label and anti-counterfeiting label generated by the same
CN104794987A (en) * 2014-01-21 2015-07-22 沈维 Two-dimension code anti-counterfeit label
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104820854A (en) * 2015-03-24 2015-08-05 立德高科(北京)数码科技有限责任公司 Combined anti-counterfeiting mark, and generation method and generation device of combined anti-counterfeiting mark
CN106295755A (en) * 2015-05-27 2017-01-04 东莞文胜鼎电子科技有限公司 Two-dimensional code generation method, detection method, detection device and antifalsification label
CN104848858A (en) * 2015-06-01 2015-08-19 北京极智嘉科技有限公司 Two-dimensional code and vision-inert combined navigation system and method for robot

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895275A (en) * 2017-11-28 2018-04-10 北京信用达互联网信息技术有限公司 The product preventing counterfeiting means of proof
CN109255415A (en) * 2018-08-16 2019-01-22 章健 Four-dimensional code and its recognition methods, identification device and server
CN109978115A (en) * 2019-04-04 2019-07-05 广州市宝绅科技应用有限公司 A kind of security code and its construction method
CN110619248A (en) * 2019-08-19 2019-12-27 珠海格力电器股份有限公司 Feature code identification method and device
CN110610112A (en) * 2019-09-12 2019-12-24 珠海格力电器股份有限公司 Identification code display method and device
CN110610112B (en) * 2019-09-12 2021-05-07 珠海格力电器股份有限公司 Identification code display method and device

Similar Documents

Publication Publication Date Title
CN106899609A (en) Code and its generation, verification method and device in a kind of code
JP3953501B1 (en) Program, information storage medium, two-dimensional code generation system, image generation system, and two-dimensional code
US9406010B2 (en) Producing, capturing and using visual identification tags for moving objects
JP5321352B2 (en) Two-dimensional code generation apparatus, image forming system, two-dimensional code reading apparatus, computer program, and medium
JP4424422B2 (en) Information processing apparatus, information processing system, and program
CN108665041B (en) Two-dimensional code generation and identification method and device, computer equipment and storage medium
JP2004127297A (en) Bar code having extended visibility, system and method thereof
RU2016122271A (en) TWO-DIMENSIONAL BAR CODE AND METHOD OF AUTHENTICATION OF BAR CODE
US20200372628A1 (en) Methods and systems to ensure correct printing plate usage for encoded signals
CN106056183B (en) The printed medium of printing press readable image and the system and method for scanning the image
EP3862910B1 (en) System of forensic encryption
MXPA06001533A (en) Machine readable data.
US20170200247A1 (en) Systems and methods for authentication of physical features on identification documents
CN205665721U (en) Present label that machine readable vision is showed
US9064138B2 (en) Method for detecting reorgination of barcodes
CN108256608A (en) A kind of two dimensional image code and its recognition methods and equipment
CN109816077A (en) A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium
JP4296314B2 (en) Printed material production method, printed material production device, authenticity determination method, authenticity determination device, and printed material
CN116029777A (en) Anti-counterfeiting bill generation method, device, equipment and medium
Berchtold et al. JAB code-A versatile polychrome 2D barcode
CN112597810A (en) Identity document authentication method and system
CN109784454A (en) A kind of information concealing method based on two dimensional code, device and electronic equipment
JP4491288B2 (en) Two-dimensional code, information verification system using the two-dimensional code, and information verification method
CN109840574A (en) A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium
JP2004070532A (en) Personal identification medium, device for authenticating personal identification medium, and method for authenticating personal identification medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20170627