Summary of the invention
First object of the present invention is to overcome the deficiencies in the prior art, proposes one and is suitable for imbedding in e-fileInformation there is metastable distributing position, and macroscopical code structure of overlapping with two-dimensional bar code of the trade mark of equivalent printing areaOne-tenth scheme, makes the brand-name two-dimensional bar code of being with that prints out, and has aesthstic intention. Do not affect the identification essence of mobile phone simultaneouslyDegree.
Second object of the present invention is, proposes a kind of microcosmic code that is suitable for imbedding information in e-file, withAnd the formation scheme of microcosmic code, the picture quality of printing images can not be reduced.
The 3rd object of the present invention be to propose by a kind of method that is suitable for imbedding information in e-file have byE-file and paper medium file are unified, and file and information integral are conducive to the electronic method of paper medium file.
The present invention solves its technical problem and takes following technical scheme to realize:
In e-file, imbedding a processing method for information, is by information inlet part and information identification part
Be grouped into, its feature is as follows:
Wherein information inlet part:
(1) importation: input comprises PDF view data, BMP view data, tiff image number by what be embedded in informationAccording to, PS view data, EPS view data, DXF view data, JPG view data is in interior at least one, and input is additionalInformation;
(2) information conversion part: additional information is transformed into the dot matrix image of Two dimensional Distribution, or comprise QR two-dimensional bar code orDM two-dimensional bar code is at interior all two-dimensional bar codes, or the code of the dot matrix image of two-dimension non linearity distribution;
(3) information inlet part: utilize the visual characteristic that human eye is lower to the recognition capability of gradation of image, adopt gray scaleDifference realize and will comprise PDF view data, BMP view data, tiff image data, PS view data, EPS picture numberAccording to, DXF view data, JPG view data is at least one interior image file, or in graphic file embedded code;
(4) output: output is embedded with the view data of information.
Wherein information identification division:
(1) read electronic image or the printing images of the information of being embedded in;
(2) information that identification is imbedded with microcosmic code reduction;
(3) output recognition result.
And described information is imbedded microcosmic code and is concentrated the distribution disperseing, different distribution of shapes, different by comprisingDirection distributes, different dot matrix size distribution and different position distribution distribute at the dot matrix of interior geometry form.
And described information is imbedded microcosmic code by comprising different grey value profile, different frequency distribution, differenceThe direction of propagation distribute, different modulation system distributes, different mechanical characteristics distributes and different phase-modulations is distributed inThe dot matrix of interior physics form distributes.
And the microcosmic code of described geometric or physical dot matrix distribution, is minimum according to comprising on codePrinting area carries out network point distribution at interior printing net screen characteristics.
And described geometric or physical dot matrix distributes, and is according to the size property that comprises site point, siteSize property, the gamma characteristic of site interval characteristics and site is carried out net in interior at least one at interior printing net screen characteristicsPoint distributes.
And the microcosmic code of described geometric or physical dot matrix distribution, can carry out two-dimensional linear distribution,Also can carry out the distribution of two-dimension non linearity.
And the microcosmic code of described geometric or physical dot matrix distribution, can be printed on and can with the naked eye enterAbove the antifalsification label of row genuine/counterfeit discriminating, form the dual-purpose novel anti-counterfeiting label of naked eyes and machine recognition.
And, in the countless colors that formed by CMYK, always can find more than one color, this color printing existsOn print media, if taken pictures or scanned by imageing sensor, the RGB image forming, carries out this RGB image againCMYK divides version, and each value of the CMYK obtaining is not equal to each value of initial CMYK.
And the view data being embedded in comprises: PDF view data, BMP view data, tiff image data, PS imageData, EPS view data, DXF view data, JPG view data is at interior data mode that can presentation graphs picture.
Detailed description of the invention
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described, but embodiment of the present invention is illustrative, instead of determinate.
Macroscopical code described in the present invention, refers to the letter that imageing sensor can be distinguished the in the situation that of on-fixed focal lengthBreath code. Described microcosmic code, refers to that imageing sensor, the in the situation that of fixed focal length, can read with enough multiplication factorsThe message code arriving.
So-called grand territory refers to the macroscopical code for on-fixed focal length, can represent the region of bit information more than. InstituteCalling that grand territory cuts apart is the least unit after grand territory is cut apart, grand territory cut apart also can presentation graphs image-position sensor at on-fixedIn the situation of focal length, the minimum area that can read. When each grand territory of ordinary two dimensional bar code only represents the information of a bitTime, this grand territory does not exist grand territory to cut apart or this grand territory equals a grand territory and cuts apart.
So-called pixel is the least unit of composing images, and so-called site is and the pixel of the least unit of composing imagesCorresponding printing screen least unit, the least unit point that site can be printed by printing equipment forms.
So-called micro-territory refers to the microcosmic code for fixed focal length, can represent the region of bit information more than. So-calledIt is the least unit after micro-territory is cut apart that micro-territory is cut apart, micro-territory cut apart also can presentation graphs image-position sensor in fixed focal lengthSituation under, the minimum area that can read. Micro-territory, in printing screen theory, is the size area of printing screen site,The size that is equivalent to a point that forms screen site is cut apart in a micro-territory.
So-called information recording efficiency refers to the maximum recordable letter of information content and this region of physical record on print mediaThe ratio of breath amount.
So-called printing area rate refers on print media to be actual area and this region maximum that will print of recorded informationThe ratio of area.
Fig. 1 (a) is a kind of process flow figure that imbeds information in e-file. As shown in Figure 1; At input stepS1In, input comprises PDF view data by what be embedded in information, BMP view data, and tiff image data, PS view data,EPS view data, DXF view data, JPG view data is in interior any view data form that can presentation graphs picture, simultaneously defeatedEnter to represent authority reading time of this file, read and amendment authority, file process management information is in interior any information securityManagement information, or the e-file information relevant with this file content is in interior additional information. At microcosmic code conversion step S2In, additional information is transformed to microcosmic code. Imbed step S in information3In, imbed method by attached according to the following information providingAdd information and be embedded to and comprise PDF view data, BMP view data, tiff image data, PS view data, EPS view data,DXF view data, JPG view data is in interior view data. Imbed the output step S of result in information4In, will imbed attachedThe view data that adds information deposits in internal memory, or is sent to other places by network, or printout etc. according to userRequirement carry out necessary processing.
Fig. 1 (b) is the flow chart of information identifying processing method. As shown in Fig. 1 (b): at input step S1In, read and buriedThe electronic image data that enter information comprise PDF view data, BMP view data, tiff image data, PS view data, EPS figurePicture data, DXF view data, JPG view data, also can be logical by printing images in interior any view data that can presentation graphs pictureOverscanning instrument or other imageing sensors read into electronic image. At identification microcosmic code steps S2In, will comprise PDF picture numberAccording to, tiff image data, PS view data, EPS view data, DXF view data, JPG view data can presentation graphs at interiorAny view data of picture converts the view data of BMP form to, microcosmic code extracted out, and according to the formation rule of microcosmic codeIdentify the code value of microcosmic code. At output step S3In, the above-mentioned information identifying is delivered in internal memory, or be recorded to numberIn storehouse, or be sent to the other side by network, or printout etc. the specified operation of user.
Fig. 2 is the schematic diagram of realizing printing multimedia system with mobile phone. As shown in Figure 2, take and comprise two-dimensional strip with mobile phoneCode is at the interior macroscopical code representing with image format, and the network address indicating according to macroscopical code data is surfed the Net, upper and lower from networkCarry multi-medium data, or verify data, or next step action command. Reading camera lens click with the microcosmic code of mobile phone is again embedded withWith the printing images of downloading contents relevant information, mobile phone can be play the content of multimedia of download, or prompting authentication result, or holdsThe command action that row is downloaded.
Fig. 3 is a kind of form of binary message macroscopic view code. Fig. 3 (a) expression information " 0 ", Fig. 3 (b) expression information" 1 ". Compare with traditional two-dimensional bar code, the printing area of this code in the time representing any information is consistent, any oneOn individual bit, all can print corresponding image. While avoiding on common two-dimensional bar code printing images, due to the information contentChange, printing area is inconsistent, and randomly changing causes the image printing out to there will be larger random distribution, and image has been seenCome very uncomfortable. The information recording efficiency of this code is 1/2 of ordinary two dimensional bar code, describes the printing area of a bit informationRate is also 1/2. These two parameters of information recording efficiency and printing area rate are to be the bigger the better. Information recording efficiency is larger, is printingThe information content recording in brush medium is just larger, and same printing area rate is larger, and the distortion of the image printing out on code just moreLittle. But, improve printing area and lost often information recording efficiency. The present invention provides an as far as possible little loss of informationRecord efficiency, and the method for large as far as possible expansion printing area rate.
Fig. 4 is a kind of form of quaternary information macroscopic view code. Fig. 4 (a) expression information " 0 ", Fig. 4 (b) expression information" 1 ", Fig. 4 (c) expression information " 2 ", Fig. 4 (d) expression information " 3 ". Binary message macroscopic view code with Fig. 3 is compared, information noteThe efficiency of record is 1/2 equally, but printing area rate can reach 3/4.
Fig. 5 is a kind of form of senary information macroscopic view code. Fig. 5 (a) expression information " 0 ", Fig. 5 (b) expression information" 1 ", Fig. 5 (c) expression information " 2 ", Fig. 5 (d) expression information " 3 ", Fig. 5 (e) expression information " 4 ", Fig. 5 (f) expression information " 5 ".The information recording rate of the senary information macroscopic view code shown in Fig. 5 is 0.4, and printing area rate is 5/6. Although printing area rate hasSignificant effect, but information recording rate obviously declines.
Fig. 6 is a kind of form of octal system information macroscopic view code. Fig. 6 (a) expression information " 0 ", Fig. 6 (b) expression information" 1 ", Fig. 6 (c) expression information " 2 ", Fig. 6 (d) expression information " 3 ", Fig. 6 (e) expression information " 4 ", Fig. 6 (f) expression information " 5 ",Fig. 6 (g) expression information " 6 ", Fig. 6 (h) expression information " 7 ", Fig. 6 (i) represents locating information. Octal system information shown in Fig. 6 is grandThe information recording rate of seeing code is 0.33, and printing area rate is 8/9. Printing area rate is very high, but equally believes with Fig. 5Breath recording ratio declines a lot. Therefore,, from the situation of information recording rate and the consideration of printing area rate, can adopt Fig. 4Code form, can consider the code form of Fig. 6 if emphasis is considered the quality of image.
The code of Fig. 4 is embedded to the example in trade mark by Fig. 7. As shown in Figure 7,701 is information dot matrix, and 702 is locationDot matrix, 703 is that main horizontal location dot matrix is capable, and 704 is main perpendicular positioning lattice array, and 705 is that secondary horizontal location dot matrix is capable, and 706 areSecondary perpendicular positioning lattice array. The white dot matrix of Fig. 4 code is retained to the pattern of black part and trade mark, image or figure etc.Overlap, can obtain can direct representation trade mark, macroscopical code of the pattern of image or figure etc. For table that more can be true to natureShow the pattern of trade mark, image or figure etc., white dot matrix part also can same trade mark, the pattern of image or figure etc. overlaps, justGray value is less than the minimum gradation value of general pattern.
The code of Fig. 6 is embedded to the example in trade mark by Fig. 8. As shown in Figure 8,801 is information dot matrix, and 802 is locationDot matrix, 803 is that main horizontal location dot matrix is capable, and 804 is main perpendicular positioning lattice array, and 805 is that secondary horizontal location dot matrix is capable, and 806 areSecondary perpendicular positioning lattice array. The white dot matrix of Fig. 6 code is retained to the pattern of black part and trade mark, image or figure etc.Overlap, can obtain can direct representation trade mark, macroscopical code of the pattern of image or figure etc. For table that more can be true to natureShow the pattern of trade mark, image or figure etc., white dot matrix part also can same trade mark, the pattern of image or figure etc. overlaps, justGray value is less than the minimum gradation value of general pattern.
The code of Fig. 4 is embedded to the example in image by Fig. 9. The white dot matrix of Fig. 4 code is extracted out, be transformed into HuangColor dot battle array. Again the yellow color component in the pattern of trade mark, image or figure etc. is removed, then is overlapped with yellow dot matrix,Obtaining can direct representation trade mark, macroscopical code of the pattern of image or figure etc.
The code of Fig. 6 is embedded to the example in image by Figure 10. The white dot matrix of Fig. 6 code is extracted out, be transformed intoYellow is the code of the Y color dot matrix in CMYK tetra-looks. Again the yellow color component in the pattern of trade mark, image or figure etc. is goneFall, then overlap with yellow dot matrix, can obtain can direct representation trade mark, the macroscopic view generation of the pattern of image or figure etc.Code. In like manner, the white dot matrix of Fig. 6 code is extracted out, being transformed into blueness is the code of the C color dot matrix in CMYK tetra-looks, alsoThe white dot matrix of Fig. 6 code can be extracted out, being transformed into pink is the code of the M color dot matrix in CMYK tetra-looks, also canSo that the white dot matrix of Fig. 6 code is extracted out, being transformed into black is the code of the K color dot matrix in CMYK tetra-looks, now, and mobile phoneCamera also can add infrared ray optical filtering camera lens, directly use infrared illumination, receive ultrared black and white by cameraImage, carries out code identification and can improve processing speed and can be used as the application in commodity counterfeit prevention field.
In the time of the colour switching of pattern of carrying out trade mark, image or figure etc., if this color component is greater than average colorComponent, can carry out overlapping processing as this color using the black part of code, if this color component is less than average color component,The white portion of code can be carried out to overlapping processing as this color.
Utilize the visual characteristic that human eye is lower to the recognition capability of gradation of image, the black part of macroscopical code and whiteThe difference of part as shown in figure 11, also can adopt the difference of gray scale to realize, and the black part of macroscopical code adopts gray scale ratioThe printing gray scale that white portion is higher, also can adopt the gray scale printing gray scale lower than black part by spoken parts in an opera color part, therebyReach the object of information recording. On the contrary, also the black part of macroscopical code can be adopted to the gray scale printing lower than white portionGray scale, also can adopt the gray scale printing gray scale higher than black part by spoken parts in an opera color part, thereby reach the object of information recording.
The colour switching of what as shown in figure 12, Fig. 9 and Figure 10 proposed pass through message code and trade mark, image or figureThe method of the object that the information of reaching is imbedded, is also suitable for all two-dimensional strip including QR two-dimensional bar code or MD two-dimensional bar codeCode, can reach the effect that information is imbedded by colour switching, can make two-dimensional bar code have certain aesthetic property.
Introduce principle and the structure of the microcosmic code of the present invention's proposition below. Be defined as microcosmic code, consider exactly its generationThe invisible numerical value of naked eyes that the size of the point of code generally calculates in Rayleigh criterion is below 0.1mm.
First, the two dimension macroscopic view code that Fig. 3 provides, is to be based upon the viewpoint that makes as far as possible printing area strengthen to realizeCode means. If from contrary viewpoint, the minimized angle of printing area is set out, and can draw the binary system shown in Figure 12Microcosmic code form.
(a) of Figure 13 is code " 1 ", is (b) code " 0 ". In recorded information, be to pass through: having information point is " 1 ", without letterBreath point is " 0 ". This phenomenon can think that the difference that occurs by printing realizes information recording. In physics, also can separateBe interpreted as the saltus step of a pulse on two dimensional surface. Utilize the distribution of different frequency to realize recording of information in other words conj.or perhaps.
Two-dimentional macroscopical code that Fig. 4 provides is to be also based upon the viewpoint that makes as far as possible printing area strengthen to realizeCode means. Also can be from contrary viewpoint, the minimized angle of printing area is set out, and can draw the binary system shown in Figure 13Microcosmic code form.
(a) of Figure 14 is code " 0 ", is (b) code " 1 ", is (c) code " 2 ", is (d) code " 3 ". In recorded informationOn be the different directly records in the position bit informations more than by dot matrix. This phenomenon not only can think to pass through printing pointsThe difference of battle array state realizes information recording, also can think to realize information note by different lattice positions or different shapesThe geometry phenomenon of record. In physics, also may be interpreted as is the phase-modulation knot that uses the dot matrix in the grid of two dimensional imageFruit recorded information.
In like manner, the two dimension macroscopic view code that Fig. 5 provides, is to be also based upon the viewpoint that makes as far as possible printing area strengthen to realizeCode means. Same from contrary viewpoint, the minimized angle of printing area is set out, and can show that two shown in Figure 14 entersMicrocosmic code form processed.
(a) of Figure 15 is code value " 0 ", is (b) code value " 1 ", is (c) code value " 2 ", is (d) code value " 3 ", (e)For code value " 4 ", (f) be code value " 5 ". It in recorded information, is the different directly records in the position bit more than by dot matrixInformation. This phenomenon not only can think that the difference occurring by printing realizes information recording, also can think by notSame lattice position or different shapes realize the geometry phenomenon of information recording. In physics, also may be interpreted as is to useThe phase-modulation outcome record information of the dot matrix in the grid of two dimensional image.
And the two dimension macroscopic view code that Fig. 6 provides, is to be also based upon the viewpoint that makes as far as possible printing area strengthen to realizeCode means. Same from contrary viewpoint, the minimized angle of printing area is set out, and can show that two shown in Figure 15 entersMicrocosmic code form processed.
(a) of Figure 16 is code value " 0 ", is (b) code value " 1 ", is (c) code value " 2 ", is (d) code value " 3 ", (e)For code value " 4 ", (f) be code value " 5 ", be (g) code value " 6 ", be (h) code value " 7 ", be (i) location dot matrix. With above-mentionedPrinciple is identical, is the different directly records in the position bit information more than by dot matrix in recorded information. This phenomenon not onlyCan think that the difference occurring by printing realizes information recording, also can think by different lattice positions or differenceShape realize the geometry phenomenon of information recording. In physics, also may be interpreted as is to use in the grid of two dimensional imageThe phase-modulation outcome record information of dot matrix.
The form according to matrix of the dot matrix that a plurality of above-mentioned Figure 13-16 are provided is arranged, and can form one group of informationModule.
First the dot matrix image that defines the Two dimensional Distribution of planographic is:
[formula 1]
ζ=ψ(x,y)
Due to the image that image ζ is binaryzation, therefore the value of ζ is " 0 " or " 1 ".
Suppose that x and y value are nonrandomnesses, a plurality of microcosmic dot matrix as Figure 12-15 are in given coordinate systemMust draw a code value. Figure 16 is the example that 4*4 the such microcosmic dot matrix of Figure 15 is formed to a code.
As shown in figure 17, for example establish S11=0,S12=0,S14=2,S15=2,S21=4,S22=4,S24=6,S25=6,S41=0,S42=0,S44=2,S45=2,S51=4,S52=4,S54=6,S55=6. Code value is:
[formula 2]
V=S1*815+S2*814+S3*813+S4*812+S5*811+S6*810+S7*89
+S8*88+S9*87+S10*86+S11*85+S12*84+S13*83+S14*82
+S15*81+S16*80
?
V=0*815+0*814+2*813+2*812+4*811+4*810+6*89
+6*88+0*87+0*86+2*85+2*84+4*83+4*82
+6*81+6*80
It is n*m that microcosmic dot matrix can be made up of with the matrix of a vertical m dot matrix a horizontal n dot matrix, and n and m can be numerals 1,Or 2, even can arrive infinite. Microcosmic dot matrix can print with CMYK random color, also can use infrared ray, ultraviolet ray,Or this journey ink printing. Also the image lattice of available electron form represents.
The distribution of miniature dot matrix can be the distribution of two-dimension non linearity, establishes;
[formula 3]
xi+1-xi=κ P (τ) κ is arbitrary integer
I=1,2 ..., n, P (τ)=0-1 is random function
yj+1-yj=ν P (ε) ν is arbitrary integer
J=1,2 ..., m, P (ε)=0-1 is random function
x1=0 and y1=0
The form that microcosmic dot matrix can be distributed by two-dimension non linearity dot matrix shows,
[formula 4]
ξ=ψ{κP(τ),νP(ε)}
Each and every one dot matrix of the microcosmic code of the form performance that above-mentioned two-dimension non linearity dot matrix distributes is owing to being random distribution, because ofThis does not have certain code value as information module. If there is appointing including Euclidean distance but provide oneThe benchmark dot matrix of meaning distance scale, just can draw a fixing code value.
The microcosmic code of the form performance being distributed by two-dimension non linearity dot matrix can have special answering under many circumstancesUse effect.
Figure 18 is the location mode of cross benchmark dot matrix. As shown in figure 18, benchmark dot matrix is cross, and information dot matrix dividesCloth is on 4 angles of benchmark dot matrix, and in one group of information module, cross benchmark dot matrix can form by one, also can be by multipleSeveral compositions. Benchmark dot matrix also can be made up of other any forms.
Benchmark dot matrix can print by any one the above color in CMYK tetra-looks, can use appointing in RGB tri-looksMore than one colors of anticipating represent, also can use infrared ray, ultraviolet color, or magnetic ink prints or represents.
Figure 19 is the anti-false trademark that adopts microcosmic code technique and holographic technique to make. As shown in figure 19; 1901 is printingHave the part of microcosmic code, 1902 is holographic false proof image section. The image that is printed with the part of microcosmic code uses microcosmic generationCode reading device carries out code and reads, and holographic false proof image section can directly with the naked eye distinguish the true from the false. Carry out very with reading deviceThe feature that puppet is distinguished is high to genuine/counterfeit discriminating precision, although it is more directly perceived with the naked eye to distinguish the true from the false, and the precision distinguishing the true from the falseLow. This two kinds of methods of discerning the false from the genuine are combined, merged the feature of two kinds of methods of discerning the false from the genuine.
Figure 20 represents the characteristic that RGB color and CMYK color have in mutually converting. As shown in figure 20; By CMYK groupIn the countless colors that become, always can find more than one color, this color printing is on print media, if pass through imageSensor is taken pictures or is scanned, and this RGB image is carried out CMYK point of version by the RGB image forming again, and the CMYK's obtaining is eachIndividual value, is not equal to each value of initial CMYK. Utilize this characteristic in addition the above-mentioned formation characteristic for microcosmic code can realizeDigitized anti-counterfeit printing.
Advantageous effect of the present invention is:
1. the invention provides a kind of method of imbedding information in e-file, can be to traditional paper medium commercial affairs subpoenaThe information of carrying out is imbedded, and also can imbed for the electronic commercial subpoena information of carrying out. Can accomplish paper medium file and e-fileUnification, and fileinfo is integrated.
2. the present invention also provides one not only can carry out to e-file the management of reader and reading time, andAnd also can carry out to paper medium file a new solution of the management of reader and reading time.
3. the invention allows for one and not only can automatically read to e-file the solution of automated data library typingCertainly scheme, but also proposed automatically to read to paper medium file the solution of automated data library typing.
4. the present invention proposes to provide one can the information of carrying out imbed the comprehensive solution of identifying with information for pdf documentScheme, can expand the range of application of pdf document.
5. macroscopical code play that the present invention proposes has maximum printing area, can make pictorial trademark directly be printed on codeOn. It is long-pending that microcosmic code has the ND smallest point front of naked eyes, is embedded in printing images, do not affect picture quality.