Summary of the invention
For weak point present in the problems referred to above, the present invention provides one to can further improve existing combination tag to preventThe combination tag with hiding mark of pseudo-effect and the method for generation and the system of generation.
For achieving the above object, the present invention provides a kind of combination tag with hiding mark, including the first mark and theTwo marks, described second mark is attached to the surface of described first mark, and described second mark uses the ink of carbon containing to make,Being implanted with at least one in the white portion on the first mark surface uses the colourless concealed true and false printed containing carbon printing ink to distinguish markKnow.
The above-mentioned combination tag with hiding mark, wherein, described first is designated Quick Response Code, and described second is designatedThe dot matrix image being made up of multiple somes horizontal and vertical parity check codes, the described concealed true and false distinguishes and is designated a some horizontal and vertical parity check code;
Described dot matrix image is arranged in described Quick Response Code in the region in addition to anchor point, and described some horizontal and vertical parity check code is arranged on instituteState in Quick Response Code on the white portion in addition to described dot matrix image.
The above-mentioned combination tag with hiding mark, wherein, is also attached with at least one on the surface of described dot matrix imagePlanting interference element, described interference element uses the coloured or colourless surface being attached to described dot matrix image without carbon printing ink.
The present invention also provides for a kind of generation method of combination tag with hiding mark, comprises the following steps:
Step 1, respectively generation Quick Response Code and some horizontal and vertical parity check code, and the dot matrix image formed by multiple somes horizontal and vertical parity check codes is attached to twoThe surface of dimension code, to form combination mark;
Step 2, use the colourless white portion being attached to by a horizontal and vertical parity check code in Quick Response Code in addition to dot matrix image containing carbon printing inkOn, form the combination tag with hiding mark.
Above-mentioned generation method, wherein, in step 1, including following sub-step:
Step 11, in ID number storehouse extract one No. ID, by a horizontal and vertical parity check code generating means and based on this No. ID with lifeBecome some horizontal and vertical parity check code, and carry out arranging to form dot matrix image by multiple somes horizontal and vertical parity check codes;
Step 12, by Quick Response Code generating means and based on this No. ID with generate with the two of dot matrix image adhering zoneDimension code;
Step 13, the binding relationship set up between Quick Response Code and some horizontal and vertical parity check code, and dot matrix image is attached to the table of Quick Response CodeFace, to form combination mark.
Above-mentioned generation method, wherein, in step 2, including following sub-step:
Step 21, the white portion in Quick Response Code is identified, to obtain the shape of each white portion;
Step 22, according to the shape of each white portion to calculate the area figures of this white portion;
Step 23, by the area figures of a horizontal and vertical parity check code, area figures with each white portion compares, to draw respectivelyWhite portion area figures not less than a horizontal and vertical parity check code area figures;
If step 24 can accommodate lower some horizontal and vertical parity check code not less than the white portion of some horizontal and vertical parity check code area figures, then by attached for a horizontal and vertical parity check codeOn this white portion.
Above-mentioned generation method, wherein, also includes step 3, according to step 1 ultimately generates combination mark formed timeBetween, to select the interference element of corresponding pattern, and it is attached to the surface of dot matrix image, to form the group with interference elementClose mark.
The present invention also provides for the generation system of a kind of combination tag with hiding mark, including combination tag generating portionWith Hidden Codes generating portion, described combination tag generating portion is for generating the combination mark being made up of Quick Response Code and dot matrix imageSigning, described Hidden Codes generating portion for being implanted in Quick Response Code the white portion in addition to dot matrix image by a horizontal and vertical parity check code.
Above-mentioned generation system, wherein, described combination tag generating portion includes that Quick Response Code generating means, some horizontal and vertical parity check code generateDevice, dot matrix image generating means, binding device and combination identification generation apparatus, described Hidden Codes generating portion includes white areaTerritory identifies device, white portion areal calculation device and comparison means;
Described Quick Response Code generating means is used for according to No. ID to generate Quick Response Code, on the surface of Quick Response Code with dot matrix imageAdhering zone;
Described some horizontal and vertical parity check code generating means is used for according to No. ID to generate a some horizontal and vertical parity check code;
Described dot matrix image generating means has in being arranged by multiple somes horizontal and vertical parity check codes, to form dot matrix image;
Described binding device sets up binding relationship for making the Quick Response Code generated with putting horizontal and vertical parity check code;
Described combination identification generation apparatus is for being combined as combination mark by the Quick Response Code with binding relationship with dot matrix imageKnow;
Described white portion selecting device is for being identified the white portion in Quick Response Code, to obtain each white areaThe shape in territory;
Described white portion areal calculation device is used for the shape according to each white portion to calculate this white portionArea figures;
Described comparison means for by the area figures of a horizontal and vertical parity check code respectively area figures with each white portion compareRelatively, to draw the white portion area figures not less than a horizontal and vertical parity check code area figures;
Described judgment means is used for judging whether white portion can accommodate lower some horizontal and vertical parity check code.
Above-mentioned generation system, wherein, also includes the interference element generating portion for generating interference element, described interferenceElement generation part includes time decision maker and interference element data base;
Described time decision maker is for according to forming the time of combination mark to select interference element corresponding theretoPattern;
Described interference element data base is used for storing polytype interference element pattern diagram, in described interference element dataStorehouse includes multiple different types of interference element styles store chained list, stores in described interference element styles store chained listHaving the multiple interference element pattern diagram different based on the type and pattern, multiple interference element pattern diagram are stored in chaff elementIn multiple storage positions in element styles store chained list.
Compared with prior art, the invention have the advantages that
The present invention distinguishes mark by being implanted with the concealed true and false in existing combination tag, it is therefore possible to prevent this groupClose mark to be replicated by fake producer, thus increase the antifalse effect of combination mark;
The present invention, by increasing the interference element of different pattern on dot matrix image, can make fake producer intuitively not find outThe real pattern of dot matrix image, thus increase the antifalse effect of dot matrix image;
It addition, after increasing the interference element of different pattern on dot matrix image, make the pattern of dot matrix image become the most multipleMiscellaneous, the difficulty of false proof safety and deciphering has been significantly greatly increased.
Detailed description of the invention
As in figure 2 it is shown, the present invention provides a kind of combination tag with hiding mark, including the first mark and the second markKnowing, the second mark is attached to the surface of the first mark, and the second mark uses the ink of carbon containing to make, identifies the white of surface firstTerritory, zone is implanted with at least one and uses the colourless hiding mark printed containing carbon printing ink.
In the present embodiment, first is designated Quick Response Code 1, and second is designated the dot chart being made up of multiple somes horizontal and vertical parity check codes 3As 2, hide the some horizontal and vertical parity check code 3 being designated in dot matrix image.
Dot matrix image 2 is arranged in Quick Response Code 1 in the region in addition to anchor point, and some horizontal and vertical parity check code 3 is arranged in Quick Response Code and removesOn white portion beyond dot matrix image.
Wherein, some horizontal and vertical parity check code 3 can use coloured or colourless being printed on white portion containing carbon printing ink.
In the present embodiment, existing by the combination mark constituted on the basis of Quick Response Code and dot matrix image in order to increaseAnti-counterfeiting performance, therefore, some horizontal and vertical parity check code be printed on white portion containing carbon printing ink preferably with colourless.
Owing to the minimum area of a horizontal and vertical parity check code is only 17x17 pixel, therefore, if multiple white portions on Quick Response Code surface wrapMore than the white portion of 17x17 pixel and ensure that a horizontal and vertical parity check code will not black with this white portion side containing an area valueTerritory, zone contacts, and just can be printed in this white portion by a horizontal and vertical parity check code.
As it is shown on figure 3, on the basis of the combination tag with hiding mark recorded in fig. 2, at the table of dot matrix imageFace is also attached with as interference element 4.
Interference element can adhere to Zone Full or the subregion on dot matrix image surface, and its pattern is color lump, pseudo-dot matrixThe combination of a kind of or at least two in code, lines, numeral, letter or image.
In the present embodiment, being attached with the white color lump as interference element 4 in dot matrix image 2, this color lump coversOn the Zone Full of dot matrix image 2.Furthermore it is also possible to color lump is covered on the subregion of dot matrix image.
Owing to dot matrix image is to use to make containing carbon printing ink, and color lump uses and coloured is attached to dot matrix image without carbon printing inkSurface, therefore, when being distinguished dot matrix image by dot matrix image recognizer, its Infrared sent can pass throughColor lump collection is by the dot matrix image made containing carbon printing ink.
Wherein, dot matrix image can use the colored ink of carbon containing or the colorless ink of carbon containing to be attached on Quick Response Code.
As shown in Figure 4, the present invention also provides for a kind of generation method of combination tag with hiding mark, including following stepRapid:
Step 1, respectively generation Quick Response Code and some horizontal and vertical parity check code, and the dot matrix image formed by multiple somes horizontal and vertical parity check codes is attached to twoThe surface of dimension code, to form combination mark.
Wherein, in step 1, including following sub-step:
Step 11, in ID number storehouse extract one No. ID, by a horizontal and vertical parity check code generating means and based on this No. ID with lifeBecome some horizontal and vertical parity check code, and carry out arranging to form dot matrix image by multiple somes horizontal and vertical parity check codes.
Wherein, the minimum area of the some horizontal and vertical parity check code of generation is only 17x17 pixel.
Step 12, by Quick Response Code generating means and based on this No. ID with generate with the two of dot matrix image adhering zoneDimension code.
Wherein, before Quick Response Code generates, according to the size of established dot matrix image, all to remove on the surface of Quick Response CodeMark off a size white space not less than dot matrix image on region beyond anchor point, and using this white space as withRegion in attachment dot matrix image.
Step 13, the binding relationship set up between Quick Response Code and some horizontal and vertical parity check code, and dot matrix image is attached to the table of Quick Response CodeFace, to form combination mark.
Wherein, any one Data Binding Method existing can be used so that Quick Response Code is set up with dot matrix image associates bindingRelation.
When dot matrix image being attached to the surface of Quick Response Code, after dot matrix image is chosen, it is moved to two dimensionCode table face is not less than in the white space of dot matrix image size, thus forms combination mark.
Step 2, use the colourless white portion being attached to by a horizontal and vertical parity check code in Quick Response Code in addition to dot matrix image containing carbon printing inkOn, form the combination tag with hiding mark.
Wherein, in step 2, including following sub-step:
Step 21, the white portion in Quick Response Code is identified, to obtain the shape of each white portion.
Wherein, use existing area recognizing method so that the white portion in Quick Response Code to be identified, thus obtain twoThe shape of each white portion in dimension code.
If it addition, in Quick Response Code, the color in addition to white portion is non-black, then firstly the need of the gray level to pictureIt is not adjusted, makes the grey level of image in 2 D code reach between 110~200.
After gray scale regulates, in image in 2 D code, the color in addition to white portion will become black, consequently facilitatingArea recognizing method is to be identified the white portion in Quick Response Code, to obtain the shape of each white portion in Quick Response Code.
Step 22, according to the shape of each white portion to calculate the area figures of this white portion.
Wherein it is possible to use existing area computation method to calculate the area figures of each white portion.
This step is not pointed out specifically used any area computation method, because, as long as can be derived that each is whiteThe area figures in territory, zone just can, and be not limited to the kind of area computation method.
Step 23, by the area figures of a horizontal and vertical parity check code, area figures with each white portion compares, to draw respectivelyWhite portion area figures not less than a horizontal and vertical parity check code area figures.
Owing to the minimum area of the some horizontal and vertical parity check code generated in step 11 is only 17x17 pixel.
By the area figures of each white portion, minimum area numerical value with a horizontal and vertical parity check code compares respectively, after comparing,To remove the white portion of the minimum area numerical value not meeting a horizontal and vertical parity check code, and the white of the minimum area numerical value to corresponding points horizontal and vertical parity check codeRegion is marked.
If step 24 can accommodate lower some horizontal and vertical parity check code not less than the white portion of some horizontal and vertical parity check code area figures, then by attached for a horizontal and vertical parity check codeOn this white portion.
Wherein, due to the square structure that minimum area is 17x17 pixel of a horizontal and vertical parity check code, accordingly, it would be desirable to each is enteredThe shape of the white portion that rower is recorded a demerit square structure with a horizontal and vertical parity check code respectively distinguishes, does not meets a horizontal and vertical parity check code to removeThe white portion of square structure.
When distinguishing, the shape of the white portion labeled to each is extracted, then by a horizontal and vertical parity check code justSquare structure is overlapped with this white portion, if the edge of the square structure of some horizontal and vertical parity check code is beyond the edge of this white portion,Then represent that the white portion currently extracted is incongruent some horizontal and vertical parity check code implanted region;Otherwise, if the square structure of some horizontal and vertical parity check codeEdge without departing from the edge of this white portion, then it represents that the white portion currently extracted is the some horizontal and vertical parity check code implantation region metTerritory, and again this some horizontal and vertical parity check code implanted region met is marked.
After discriminated operant is implemented to terminate, if obtaining multiple some horizontal and vertical parity check code implanted region met, the most according to actual needsA horizontal and vertical parity check code is attached in the selected some horizontal and vertical parity check code implanted region met, thus forms the combination tag with hiding mark.
After forming the combination tag with hiding mark, also will be uploaded to cloud service with the combination tag of hiding markTo store in device.
It addition, on the basis of the combination tag with hiding mark generated above by step 1 and step 2, forThe further anti-counterfeiting performance increasing combination mark, it is also possible to implant interference element on the surface of dot matrix image, its step is as follows:
Also including step 3, the time formed according to combination mark, to select the interference element of corresponding pattern, and by itIt is attached to the surface of dot matrix image, to form the combination mark with interference element.
In step 3, the current time of combination mark is ultimately formed according to step 1, to select the chaff element of corresponding patternElement, and it is attached to the surface of dot matrix image, to form the combination mark with interference element.
In step 3, including following sub-step:
Step 31, collection form the current time of combination mark, and extract the last two digits in current time;
Step 32, in interference element data base, last two digits is retrieved, to inquire and last double figuresTime interval and the interference element corresponding with this time interval that word is corresponding store chained list;
Step 33, interference element storage chained list in, last two digits is distinguished, thus inquires and double figuresThe interference element storage position that word is corresponding, to choose the interference element concrete pattern corresponding with two kinds of numerals;
Step 34, interference element is chosen after, be moved to the surface of dot matrix image, thus formed with interferenceThe combination mark of element.
Wherein, interference element is being moved to the surface of dot matrix image, if the size of interference element is more than dot matrix imageSize, then need the size of interference element is adjusted, so that the edge of interference element will not be with the surface phase of Quick Response CodeContact, thus avoid the pattern of Quick Response Code is impacted with identification.
Above-mentioned steps 1 to step 3 is all to realize in local client, is forming the combination mark of interference elementAfter, it is uploaded in Cloud Server store.
It addition, step 3 implement before, client can according to the number of types of interference element in its system by system timeIn within each minute or each second, be divided at least one time interval, and make the interference element of each type all can be withOne time interval is corresponding, thus according to time interval to choose corresponding interference element type.
After forming the combination mark with interference element, also the combination with interference element is identified and be uploaded to cloud serviceTo store in device.
As it is shown in figure 5, the present invention provides the generation system of a kind of combination tag with hiding mark, including combination tagGenerating portion and Hidden Codes generating portion, combination tag generating portion is for generating the group being made up of Quick Response Code and dot matrix imageClosing label, Hidden Codes generating portion for being implanted in Quick Response Code the white portion in addition to dot matrix image by a horizontal and vertical parity check code.
Combination tag generating portion includes Quick Response Code generating means, some horizontal and vertical parity check code generating means, dot matrix image generating means, ties upDetermining device and combination identification generation apparatus, Hidden Codes generating portion includes white portion identification device, white portion areal calculationDevice and comparison means.
Point horizontal and vertical parity check code generating means is used for according to No. ID to generate a some horizontal and vertical parity check code.Wherein, the minimum area of the some horizontal and vertical parity check code generatedIt is only 17x17 pixel.
Wherein, dot matrix image generating means has in being arranged by multiple somes horizontal and vertical parity check codes, to form dot matrix image.
Quick Response Code generating means for according to No. ID to generate Quick Response Code, attached with dot matrix image on the surface of Quick Response CodeRegion.
Wherein, Quick Response Code generating means is before Quick Response Code generates, according to the size of the dot matrix image generated, with in two dimensionThe surface of code marks off a size white space not less than dot matrix image on the region in addition to all anchor points, and shouldWhite space is as the region for adhering to dot matrix image.
Binding device sets up binding relationship for making the Quick Response Code generated with putting horizontal and vertical parity check code.
Wherein, binding device uses any one Data Binding Method existing so that Quick Response Code associates with the foundation of some horizontal and vertical parity check codeBinding relationship.
Combination identification generation apparatus is for being combined as combination mark by the Quick Response Code with binding relationship with dot matrix image.
Wherein, by combination identification generation apparatus when dot matrix image being attached to the surface of Quick Response Code, to dot matrix imageAfter choosing, it is moved in Quick Response Code surface in the white space not less than dot matrix image size, thus forms combinationMark.
White portion selecting device is for being identified the white portion in Quick Response Code, to obtain each white portionShape.
Wherein, use existing area recognizing method so that the white portion in Quick Response Code to be identified, thus obtain twoThe shape of each white portion in dimension code.
If it addition, in Quick Response Code, the color in addition to white portion is non-black, then firstly the need of the gray level to pictureIt is not adjusted, makes the grey level of image in 2 D code reach between 110~200.
After gray scale regulates, in image in 2 D code, the color in addition to white portion will become black, consequently facilitatingArea recognizing method is to be identified the white portion in Quick Response Code, to obtain the shape of each white portion in Quick Response Code.
White portion areal calculation device is used for the shape according to each white portion to calculate the face of this white portionProduct value.
Wherein it is possible to use existing area computation method to calculate the area figures of each white portion.
Comparison means for by the area figures of a horizontal and vertical parity check code respectively area figures with each white portion compare, withDraw the white portion area figures not less than a horizontal and vertical parity check code area figures.
By the area figures of each white portion, minimum area numerical value with a horizontal and vertical parity check code compares respectively, after comparing,To remove the white portion of the minimum area numerical value not meeting a horizontal and vertical parity check code, and the white of the minimum area numerical value to corresponding points horizontal and vertical parity check codeRegion is marked.
Judgment means is used for judging whether white portion can accommodate lower some horizontal and vertical parity check code.
Wherein, due to the square structure that minimum area is 17x17 pixel of a horizontal and vertical parity check code, accordingly, it would be desirable to each is enteredThe shape of the white portion that rower is recorded a demerit square structure with a horizontal and vertical parity check code respectively distinguishes, does not meets a horizontal and vertical parity check code to removeThe white portion of square structure.
When distinguishing, the shape of the white portion labeled to each is extracted, then by a horizontal and vertical parity check code justSquare structure is overlapped with this white portion, if the edge of the square structure of some horizontal and vertical parity check code is beyond the edge of this white portion,Then represent that the white portion currently extracted is incongruent some horizontal and vertical parity check code implanted region;Otherwise, if the square structure of some horizontal and vertical parity check codeEdge without departing from the edge of this white portion, then it represents that the white portion currently extracted is the some horizontal and vertical parity check code implantation region metTerritory, and again this some horizontal and vertical parity check code implanted region met is marked.
After discriminated operant is implemented to terminate, if obtaining multiple some horizontal and vertical parity check code implanted region met, the most according to actual needsA horizontal and vertical parity check code is attached in the selected some horizontal and vertical parity check code implanted region met by hiding identification generation apparatus, thus obtain withHide the combination tag of mark.
After forming the combination tag with hiding mark, also will be uploaded to cloud service with the combination tag of hiding markTo store in device.
It addition, for the anti-counterfeiting performance improving the above-mentioned combination tag with hiding mark further, it is also possible to by dryDisturb Element generation part on dot matrix image, implant interference element.
Interference element generating portion includes time decision maker and interference element data base.
Time decision maker is for according to forming the time of combination mark to select interference element pattern corresponding thereto.
Wherein, time decision maker can gather the current time of the combination mark that combination identification generation apparatus is formed, and carriesTake the last two digits in current time, and using the last two digits that extracts as the condition of inquiry.
Interference element data base is used for storing polytype interference element pattern diagram.Wherein, interference element data baseIn include multiple different types of interference element styles store chained list, in interference element styles store chained list storage have based onThe type and the different multiple interference element pattern diagram of pattern, multiple interference element pattern diagram are stored in interference element patternIn multiple storage positions in storage chained list.
In interference element data base, the last two digits as querying condition is retrieved, with inquire withTime interval and the interference element corresponding with this time interval that rear two digits is corresponding store chained list.At chaff elementIn element storage chained list, last two digits is distinguished, thus inquire the interference element storage corresponding with two digitsPosition, to choose the interference element concrete pattern corresponding with two kinds of numerals.
After choosing corresponding interference element in interference element data base, will interference by interference element implanting deviceElement moves the dot matrix image surface to the combination tag with hiding mark, combines mark accordingly forming band.
Wherein, interference element is being moved to the surface of dot matrix image, if the size of interference element is more than dot matrix imageSize, then need the size of interference element is adjusted, so that the edge of interference element will not be with the surface phase of Quick Response CodeContact, thus avoid the pattern of Quick Response Code is impacted with identification.
Wherein, combination tag generating portion, Hidden Codes generating portion are all integrated in this locality with interference element generating portionClient in.
After forming the combination mark with interference element, also the combination with interference element is identified and be uploaded to cloud serviceTo store in device.
The foregoing is only presently preferred embodiments of the present invention, be merely illustrative for invention, and nonrestrictive.Those skilled in the art understands, it can be carried out many changes, revise in the spirit and scope that invention claim is limited,Even equivalence, but fall within protection scope of the present invention.