A kind of bar code generation and reading device and using method thereof
Technical field
The present invention relates to a kind of bar code generation and reading device and using method thereof.
Background technology
Commodity in the market are generally used bar code as the sign of commodity, and this one-dimensional bar code is restricted in the use because its information capacity is limited, is easily replicated.In prior art, there is multiple copy prevention method, as watermark, sunken cord, laser, magnetic stripe etc., but because its some weakness is separately produced effects not quite, as watermark, sunken cord, laser etc. is all because it is with eye recognition, with low content of technology, easily by counterfeit, and the costs such as magnetic stripe, IC-card are higher, coercive force, fouling resistance are also poor.
In prior art, there is a kind of part hidden bar code of being replicated of preventing, as disclosed in (US6354501B1), its use comprises the infrared pigment spraying of a part for bar code being used to infrared transition material, described infrared transition material is for being converted into visible ray by infrared light, when scanning, use infrared light and visible ray to irradiate respectively bar code, during radiation of visible light, read a visible ray barcode encoding, during Infrared irradiation, the infrared ray excited fluorescence line focus going out is to visible ray light sensor, read an infrared light barcode encoding, both merging are obtained to total barcode encoding.But, the following shortcoming of the person of existence in this technical scheme, on the one hand, the conversion efficiency of infrared transition material is generally lower, and while making to read infrared light bar coding, signal to noise ratio (S/N ratio) is very low, as described in as second from the bottom in US6354501B1 instructions section, affect accuracy and speed, in addition, in order to make infrared pigment invisible when visible ray scans, infrared pigment should be the least possible, the further like this signal to noise ratio (S/N ratio) that reduces infrared light bar coding; On the other hand, visible-light detector and infrared eye need to be set, use visible ray and infrared light to separate twi-read, flow process is complicated and affect efficiency; In addition, because infrared pigment bar code is invisible, and infrared light is also invisible, is difficult to infrared light to aim at infrared pigment bar code during infrared scan.
The invention provides a kind of bar code generation and reading device and using method thereof, can effectively avoid above-mentioned shortcoming, and can prevent that bar code is replicated.
Summary of the invention
The invention provides a kind of bar code and generate and reading device, described bar code generates and reading device comprises printing bar code device and bar code scanner.Described printing bar code device: comprise bar code input block, barcode encoding unit, control module, a plurality of print cartridges, a plurality of inkjet mouths; Wherein said bar code input block receives the barcode encoding of user's input, described in the barcode encoding that receives comprise white bars and black bar; Further encode to the described barcode encoding receiving in described barcode encoding unit, wherein for white bars, use the first coding to carry out mark, for a part for black bar, use the second coding to carry out mark, for the remainder use the 3rd of black bar, encode and carry out mark; Described a plurality of print cartridge comprises black print cartridge, the first white print cartridge and the second white print cartridge, pigment in described black print cartridge is black pigment, pigment in described the first white print cartridge is ordinary white pigment, described ordinary white pigment is not for comprising the Chinese white of infrared absorbing material, pigment in described the second white print cartridge is special Chinese white, and described special Chinese white comprises the Chinese white of infrared absorbing material; Described a plurality of inkjet mouth comprises black pigment inkjet mouth, ordinary white pigment inkjet mouth and special Chinese white inkjet mouth, wherein said black pigment inkjet mouth is for gushing out from the black pigment of black print cartridge, described ordinary white pigment inkjet mouth is for gushing out from the ordinary white pigment of the first white print cartridge, and described special Chinese white inkjet mouth is for gushing out from the special Chinese white of the second white print cartridge; Bar code after the further coding that described control module provides according to barcode encoding unit, for the white bars of the first coded markings, use ordinary white pigment inkjet mouth to carry out ink-jet, for the black bar of the second coded markings, use black pigment inkjet mouth to carry out ink-jet, for the black bar of the 3rd coded markings, use special Chinese white inkjet mouth to carry out ink-jet; The bar code that this printing equipment prints is only used infrared collecting unit to gather the infrared light of infrared light supply scanning; Described bar code scanner, it comprises: infrared light supply, ordinary light source, infrared collecting unit, code translator, visible light filter, controller; Described infrared light supply transmitting infrared light, for irradiating bar code; Described controller is controlled infrared light supply and ordinary light source is opened simultaneously and closes simultaneously; Described ordinary light source transmitting visible ray, described visible ray is identical with the range of exposures of described infrared light; Described visible light filter, before being positioned at infrared collecting unit; The visible ray that described ordinary light source sends after being reflected, was filtered by visible light filter by bar code before infrared collecting unit; The Infrared irradiation that described infrared light supply sends, on bar code, passes through white and black bar code successively, is reflected or absorbs, and the infrared light of reflection, after infrared collecting unit gathers, is converted into electric signal; Electric signal after shaping is admitted to code translator, by code translator, according to the decoding rule of bar code, carries out decoding, provides the represented information of bar code symbol.
Further, above-mentioned printing bar code device also comprises identifying unit, it is for judging by spraying color of object surface, if when this identifying unit is judged by spray surface as white, control module only carries out ink-jet to the black bar of the black bar of the second coded markings and the 3rd coded markings.
Further, in described ordinary white pigment, be added with infrared transition material.
Further, the diameter of described ordinary white pigment inkjet mouth is greater than described black pigment inkjet mouth and described special Chinese white inkjet mouth.
Alternatively, above-mentioned printing bar code device does not comprise the second white print cartridge, comprises black print cartridge and the first white print cartridge, titania powder box, and mixing arrangement; Described the first white print cartridge has two outlets, and one of them outlet connects inkjet mouth, and another one outlet connects mixing arrangement; Described titanium dioxide powder box outlet connects mixing arrangement; Described mixing arrangement is used for mixing ordinary white pigment and titanium dioxide powder; Special Chinese white inkjet mouth, is used the composite material from mixing arrangement to carry out ink-jet.
Accompanying drawing explanation
Fig. 1 is the structural representation of bar code printing equipment in the embodiment of the present invention.
Fig. 2 is the structural representation of bar code scanner of the present invention.
Fig. 3 is that barcode encoding unit is for the schematic diagram of the coding of bar code of the present invention.
Embodiment
Fig. 1 is the structural representation of bar code printing equipment in the embodiment of the present invention.Wherein, bar code printing device 100 comprises: bar code input block 101, barcode encoding unit 102, control module 103, a plurality of print cartridges 104~106, a plurality of inkjet mouths 107~109, wherein said bar code input block 101 receives the barcode encoding of user's input, the described barcode encoding receiving comprises white bars and black bar, as shown in Figure 3, the barcode encoding receiving described in 102 pairs of described barcode encoding unit is further encoded, wherein for white bars, use the first coding to carry out mark, for a part for black bar, use the second coding to carry out mark, for the remainder use the 3rd of black bar, encode and carry out mark, described a plurality of print cartridge comprises black print cartridge 104, the first white print cartridge 105 and the second white print cartridge 106, pigment in described black print cartridge 104 is black pigment, pigment in described the first white print cartridge 105 is ordinary white pigment, described ordinary white pigment is not for comprising the Chinese white of infrared absorbing material, pigment in described the second white print cartridge 106 is special Chinese white, described special Chinese white comprises the Chinese white of infrared absorbing material, wherein said infrared absorbing material can be infrared absorbing material well known in the prior art, such as titanium dioxide etc., described a plurality of inkjet mouth comprises black pigment inkjet mouth 107, ordinary white pigment inkjet mouth 108 and special Chinese white inkjet mouth 109, wherein said black pigment inkjet mouth 107 is for gushing out from the black pigment of black print cartridge 104, described ordinary white pigment inkjet mouth 108 is for gushing out from the ordinary white pigment of the first white print cartridge 105, and described special Chinese white inkjet mouth 109 is for gushing out from the special Chinese white of the second white print cartridge 106, bar code after the further coding that described control module 103 provides according to barcode encoding unit 102, for the white bars of the first coded markings, use ordinary white pigment inkjet mouth 108 to carry out ink-jet, for the black bar of the second coded markings, use black pigment inkjet mouth 107 to carry out ink-jet, for the black bar of the 3rd coded markings, use special Chinese white inkjet mouth 109 to carry out ink-jet.
Fig. 2 shows the structural representation of bar code scanner of the present invention, and bar code scanner comprises: infrared light supply 110, the first condenser lens 130, the second condenser lenses 140, infrared collecting unit 170, signal amplifier 180, controller 190 and code translator; Described infrared light supply 110 transmitting infrared lights, for irradiating bar code 10; Described ordinary light source 120 transmitting visible rays, described visible ray 120 is identical with the range of exposures of described infrared light 110; The Infrared irradiation that described infrared light supply 110 sends is on bar code, pass through successively white and black bar code, be reflected or absorb, the infrared light of reflection is after infrared collecting unit 170 gathers, collection signal, after signal amplifier 180 amplifies, is converted into electric signal; Electric signal is admitted to code translator, by code translator, according to the decoding rule of bar code, carries out decoding, provides the represented information of bar code symbol.But, because infrared light is sightless for human eye, when scanning, be not easy to aim at the mark like this; For the accurate location of scanning, preferably, bar code scanner of the present invention can also comprise ordinary light source 120, be used for launching visible ray, described visible ray 120 is identical with the range of exposures of described infrared light 110, and controller 190 controls infrared light supply 110 and opens simultaneously and cut out simultaneously with ordinary light source 120.But, introduce visible light source by reducing the signal to noise ratio (S/N ratio) of infrared collecting unit, for fear of the impact of visible ray, more preferably, visible light filter 160 is set before infrared collecting unit, for filtering visible ray.
Inventive principle of the present invention is as follows: by the coding of bar code being divided into after white bars, the first black bar and the second black bar, and the special Chinese white that white bars, the first black bar, the second black bar are sprayed respectively to ordinary white pigment, black pigment and comprise infrared absorbing material; Use infrared light supply to irradiate bar code, thereby the white bars of spraying ordinary white pigment is owing to existing reflection to infrared light, in infrared collecting unit, signal is larger, is identified as 1 in code translator; And the first black bar of spray black pigment absorbs due to infrared light is existed, in infrared collecting unit, signal is less, is identified as 0 in code translator; Meanwhile, sprayed the black bar of special Chinese white, although its color is white, because its special Chinese white has the effect that absorbs infrared light, its signal in infrared collecting unit is also less, and in code translator, identification is also 0.Thereby although the bar code appearance in the present invention is identical with other bar codes, the mode that cannot duplicate by optics copies.By the combination of printing bar code device of the present invention and bar code scanner, the present invention has realized above-mentioned functions, compare with US6354501B1, tool has the following advantages: on the one hand: the present invention has used infrared absorbing material as special pigment, avoided the conversion efficiency of infrared transition material low, the shortcoming that signal to noise ratio (S/N ratio) is low; On the other hand, owing to using, only use infrared light and infrared detector scanning, in scanning process, only need run-down, improved efficiency; Owing to only using infrared light, do not need to consider the impact of special pigment on visible ray scanning, special pigment is visible white simultaneously, thereby can in special pigment, add infrared absorbing material as much as possible to improve signal to noise ratio (S/N ratio).
Fig. 3 shows barcode encoding unit for the schematic diagram of the coding of bar code of the present invention.The figure of Fig. 3 top is the figure of the bar code printed of the needs of bar code input block input, it comprises that the barcode encoding receiving comprises white bars and black bar, the barcode encoding receiving described in 102 pairs of barcode encoding unit is further encoded, wherein for white bars, use the first coding to carry out mark, for a part (part except C) for black bar, use the second coding to carry out mark, for remainder (C) use second of black bar, encode and carry out mark.For these three parts, the special Chinese white that sprays respectively ordinary white pigment, black pigment and comprise infrared absorbing material.The figure of Fig. 3 below is the figure having printed after the coding of barcode encoding unit for bar code of the present invention, can find out that wherein the C part of black bar has become white, but it remains the expression of black after decoding in bar code scanner of the present invention.
In printing bar code, the surface of some material itself is exactly white, does not so just need to print white stripes again.Preferably, above-mentioned printing bar code device also comprises identifying unit, it is for judging by spraying color of object surface, if when this identifying unit is judged by spray surface as white, control module only carries out ink-jet to the black bar of the black bar of the second coded markings and the 3rd coded markings.
Because Chinese white may also exist the partially absorbing of infrared light, cause the infrared light of reflection to reduce, reduce signal to noise ratio (S/N ratio).As technique scheme preferably, in described ordinary white pigment, add and be useful on the material that visible ray is converted to infrared light.
Preferably, the diameter of described ordinary white pigment inkjet mouth is greater than described black pigment inkjet mouth and described special Chinese white inkjet mouth.
In such scheme, printing bar code device comprises three print cartridges.As above-mentioned alternative, above-mentioned printing bar code device does not comprise the second white print cartridge, comprises black print cartridge and the first white print cartridge, titania powder box, and mixing arrangement; Described the first white print cartridge has two outlets, and one of them outlet connects inkjet mouth, and another one outlet connects mixing arrangement; Described titanium dioxide powder box outlet connects mixing arrangement; Described mixing arrangement is used for mixing ordinary white pigment and titanium dioxide powder; Special Chinese white inkjet mouth, is used the composite material from mixing arrangement to carry out ink-jet.