A kind of Quick Response Code based on image, Quick Response Code generation system and generation method
Technical field
The present invention relates to planar bar code technology field, particularly relate to a kind of Quick Response Code based on image, Quick Response Code generation system and generation method.
Background technology
Quick Response Code records data symbol information according to certain rule at the figure between the bar, Kongxiang of the upper distribution of plane (two-dimensional directional) with certain specific geometric figure.Quick Response Code (also claiming two-dimensional bar) has: the advantages such as reliability high (reading accuracy rate considerably beyond manual record), efficiency high (reading speed is very fast, is equivalent to 40 characters per second).
Wherein, QRCode bar code is a kind of matrix two-dimensional barcode (Quick Response Code of indication of the present invention and QRCode bar code) developed by Japanese Eenso company, as shown in Figure 1, it except having that the information capacity that two-dimensional bar code has is large, reliability is high, can represent that Chinese character and image much information, security and antiforge purpose are strong, can also effectively represent Chinese character, kanji, therefore, apply speed very fast, be widely used in the fields such as automatic industrial manufacturing line management.
During Quick Response Code identification, by dark in scanning pattern in 2 D code and light color (generally adopt black and white, represent binary one and binary zero respectively) region, obtain corresponding character code information.The soil resistance of Quick Response Code is good especially, if ensure three identification points and 70% figure readablely just can ensure that data are not lost.Therefore, according to the demand of user, some colored LOGO can be set at the mid portion of Quick Response Code, and part point is arranged to colour, meet and pursue individual character, follow the fashion, pursue the demand of color.
Conventional is black Quick Response Code at present., be made up of rambling information point at the pattern of user's black Quick Response Code, as shown in Figure 1, such a mess code black printing pattern, is printed on product external packaging, and the overall appearance design for product causes very large destruction.。Have influence on the overall appearance effect of packaging.
Although have partial colour Quick Response Code at present, meet the pursuit of user for color to a certain extent, but this Quick Response Code is only that information point is simply replaced with colored ink (as redness) printing by black ink printing, consumer is visual to seem, its effect remains some mixed and disorderly information points, do not combine with the design of packaging, equally, the pattern itself that its information point is formed is still rambling (for user), is unfavorable for that user pursues for the vision of the packing of product.
In view of this, prior art haves much room for improvement and improves.
Summary of the invention
In view of the deficiencies in the prior art, the object of the invention is to provide a kind of Quick Response Code based on image, Quick Response Code generation system and generation method.Be intended to solve existing Quick Response Code coding on product, affect product problem attractive in appearance.
Technical scheme of the present invention is as follows:
Based on a Quick Response Code generation system for image, for spraying out the Quick Response Code corresponding with described product on product; Wherein, comprising:
Two-dimension code generator, generates pattern in 2 D code for needing according to user, and is sent in following processor by described pattern in 2 D code;
Processor, for described pattern in 2 D code and the image be stored in advance in image data base are compared, filter out the image that can comprise and be presented in pattern in 2 D code, then described image is embedded in two-dimensional pattern and form Quick Response Code display image, and described Quick Response Code display image is sent in following color 2 D code spray code spraying apparatus;
Color 2 D code spray code spraying apparatus, it comprises 4 colored code spraying heads, is yellow, red, blue, black four colors respectively; For spraying out Quick Response Code display image.
The described Quick Response Code generation system based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the instruction of user's input, select mutually wherein piece image.
The described Quick Response Code generation system based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the attribute of the product preset, select the wherein piece image the most adaptive with product attribute.
The described Quick Response Code generation system based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the image masterplate preset, select the wherein piece image corresponding with image masterplate.
A kind of Quick Response Code, wherein, generated by the described Quick Response Code generation system based on image.
Described Quick Response Code, wherein, the color of described Quick Response Code display image is red, yellow or orange.
Based on a two-dimensional code generation method for image, for spraying out the Quick Response Code corresponding with described product on product; Wherein, said method comprising the steps of:
S1, two-dimension code generator need to generate pattern in 2 D code according to user, and are sent in processor by described pattern in 2 D code;
Described pattern in 2 D code and the image be stored in advance in image data base compare by S2, processor, filter out the image that can comprise and be presented in pattern in 2 D code, then described image is embedded in two-dimensional pattern and form Quick Response Code display image, and described Quick Response Code display image is sent in following color 2 D code spray code spraying apparatus;
S3, color 2 D code spray code spraying apparatus spray out Quick Response Code display image.
The described two-dimensional code generation method based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the instruction of user's input, select wherein piece image.
The described two-dimensional code generation method based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the attribute of the product preset, select the wherein piece image the most adaptive with product attribute to show image as Quick Response Code.
The described two-dimensional code generation method based on image, wherein, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the image masterplate preset, select the wherein piece image corresponding with image masterplate.
Beneficial effect:
The Quick Response Code based on image of the application, Quick Response Code generation system and generation method, by embedding Quick Response Code display image in pattern in 2 D code, make original rambling Quick Response Code demonstrate and embed Quick Response Code display image, for consumers, it is visual seems, what Quick Response Code printing zone presented is a secondary cromogram, and is not affecting expression 2 D code information, make Quick Response Code well can combine with the packing of product like this, improve the packaging effect of Total Product; Thus substantially improve existing Quick Response Code visual effect not good, affect the defects such as product appearance effect, there is good popularizing application prospect.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the Quick Response Code of prior art.
Fig. 2 is the structured flowchart of the Quick Response Code generation system based on image of the present invention.
Fig. 3 is the flow chart of the two-dimensional code generation method based on image of the present invention.
Detailed description of the invention
The invention provides a kind of Quick Response Code based on image, Quick Response Code generation system and generation method, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 2, it is the structured flowchart of the Quick Response Code generation system based on image of the present invention.As shown in the figure, the described Quick Response Code generation system based on image for spraying out the Quick Response Code corresponding with described product on product; The described Quick Response Code generation system based on image comprises: two-dimension code generator 100, processor 200 and color 2 D code spray code spraying apparatus 300, described two-dimension code generator 100, processor 200 are connected successively with color 2 D code spray code spraying apparatus 300.
Specifically, described two-dimension code generator 100 generates pattern in 2 D code for needing according to user, and is sent in processor 200 by described pattern in 2 D code; The application principle of described two-dimension code generator is exactly utilize Quick Response Code to generate software in fact, relevant information is input in two-dimension code generator, generates corresponding Quick Response Code.Because it is prior art, do not go into here.
Processor 200 is for comparing described pattern in 2 D code and the image be stored in advance in image data base, filter out the image that can comprise and be presented in pattern in 2 D code, then described image is embedded in two-dimensional pattern and form Quick Response Code display image, and described Quick Response Code display image is sent in following color 2 D code spray code spraying apparatus 300.Wherein, image data base is the database storing image information set up in advance, and the size of the image information stored in it should be corresponding with the size of pattern in 2 D code, and be coloured image.In this enforcement, the lines of the image in described image data base are simple, in bright gay color, such as: image of sunflower graph picture, toy etc.The pattern in 2 D code that the Quick Response Code that two-dimension code generator generates comprises is a chequered with black and white figure distributed in plane (two-dimensional directional) according to certain rules with specific geometric figure, it comprises and seems rambling information point, and in this programme, utilize these information points to form corresponding image just.Namely travel through all images in image data base, filter out the image (namely can form corresponding image by above-mentioned information point) that can comprise and be presented in pattern in 2 D code.After finding out, described image is embedded in two-dimensional pattern and form Quick Response Code display image, and described Quick Response Code display image is sent in following color 2 D code spray code spraying apparatus 300.
Color 2 D code spray code spraying apparatus 300 comprises 4 colored code spraying heads (i.e. the shower nozzle of red, green, blue, black four kinds of colors); For spraying out Quick Response Code display image.It should be noted that because to be realized by the contrast value of the color of darker regions and light areas when 2 D code information reads.So we can utilize this principle, as long as ensure that the color of Quick Response Code darker regions and light areas reaches certain contrast value, thus can Quick Response Code and the packing of product be combined better.For example, the packing of product itself is red, then we using the darker regions of redness as Quick Response Code, and using blue or the light blue light areas as Quick Response Code, can meet corresponding contrast value.Meanwhile, the coloured image in Quick Response Code display image can also be highlighted, make Quick Response Code and the packing of product combine.
Wherein, in color 2 D code spray code spraying apparatus 300 pairs of Quick Response Code display images, non-image areas black carries out coding, utilize color nozzle to carry out coding to image area (the image region in image data base), make image and pattern in 2 D code distinguish and come, user can find out intuitively.
Illustrate how the above-mentioned Quick Response Code generation system based on image realizes below by a specific embodiment.
When user needs to spray corresponding Quick Response Code on product, first in two-dimension code generator, input corresponding information, as production code member, date of manufacture etc., generate corresponding pattern in 2 D code by two-dimension code generator.Then, described pattern in 2 D code is sent in processor, described pattern in 2 D code and the image be stored in advance in image data base compare by processor, filter out to comprise and be presented at image in pattern in 2 D code (such as, the image of this pattern in 2 D code and Little Bear head portrait is suitable, then select the image of Little Bear head portrait), then described image is embedded in two-dimensional pattern and form Quick Response Code display image, the pattern in 2 D code information of color image information and standard is included in described Quick Response Code display image, and color image information is be made up of each information point in pattern in 2 D code.Then, described Quick Response Code display image is sent in color 2 D code spray code spraying apparatus, printed by color 2 D code spray code spraying apparatus, the Quick Response Code be then presented on product looks, it is no longer a rambling pattern, but include an image in 2 D code (this is exemplified as Little Bear head portrait) of coloured image, greatly improve the visual effect of product.
Further, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the instruction of user's input, select mutually wherein piece image.Such as, when the image determined according to described pattern in 2 D code has A, B, C tri-, according to the instruction of user's input, a corresponding width (such as A) can be selected, and form Quick Response Code display image by described image embedding two-dimensional pattern.
In addition, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the attribute of the product preset, select the wherein piece image the most adaptive with product attribute.Such as, when described product is animal crackers, then can select the image of animal head, come to be combined with described pattern in 2 D code to show, more outstanding products characteristics.
Certainly, we also can preset one group or piece image as image masterplate, when to a certain series of products spray Quick Response Code, all make image masterplate combine as image in 2 D code with 2 D code information.Namely when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the image masterplate preset, select the wherein piece image corresponding with image masterplate.Should be understood that, although the information comprised with a series of different Quick Response Code is different, the arrangement of its information point also can there are differences, the image in 2 D code then generated according to image masterplate also can there is some difference, but, we can set a threshold value, as long as the image in 2 D code within this threshold value all can accept.Such as, utilize landscape painting as image masterplate, the shape on the mountain perhaps in the last image in 2 D code formed is different, but the impression of giving user is all one group of landscape painting.
The invention provides a kind of Quick Response Code, it generated by the described Quick Response Code generation system based on image.It not only comprises pattern in 2 D code, also includes the image utilizing the information point of pattern in 2 D code to be formed, thus substantially improve existing Quick Response Code visual effect not good, affect the defects such as product appearance effect.
Wherein, the color of described Quick Response Code display image can be red, yellow or the warm colour such as orange, more can attract user; Can certainly cool tone be adopted, allow reading device more easily read.
Present invention also offers a kind of two-dimensional code generation method based on image, as shown in Figure 3, said method comprising the steps of:
S1, two-dimension code generator need to generate pattern in 2 D code according to user, and are sent in processor by described pattern in 2 D code;
Described pattern in 2 D code and the image be stored in advance in image data base compare by S2, processor, filter out the image that can comprise and be presented in pattern in 2 D code, then described image is embedded in two-dimensional pattern and form Quick Response Code display image, and described Quick Response Code display image is sent in following color 2 D code spray code spraying apparatus;
S3, color 2 D code spray code spraying apparatus spray out Quick Response Code display image.
Further, described based in the two-dimensional code generation method of image, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, according to the instruction of user's input, select wherein piece image.In addition, when filter out in described processor to comprise the image be presented in pattern in 2 D code be multiple time, also according to the attribute of the product preset, select the wherein piece image the most adaptive with product attribute to show image as Quick Response Code.
Because the implementation detail of above-mentioned steps has all been described in detail in based on the Quick Response Code generation system of image, just repeat no more here.
In sum, the Quick Response Code based on image of the present invention, Quick Response Code generation system and generation method, the described Quick Response Code generation system based on image for spraying out the Quick Response Code corresponding with described product on product; The described Quick Response Code generation system based on image comprises: two-dimension code generator, processor and color 2 D code spray code spraying apparatus, described two-dimension code generator, processor are connected successively with color 2 D code spray code spraying apparatus.By embedding Quick Response Code display image in pattern in 2 D code, make original rambling Quick Response Code demonstrate and embed Quick Response Code display image, express the prerequisite of 2 D code information Quick Response Code of ordering and well can combine with the packing of product not affecting, improve the packaging effect of Total Product; Thus substantially improve existing Quick Response Code visual effect not good, affect the defects such as product appearance effect, there is good popularizing application prospect.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.