The two-dimensional bar code reading device
Technical field
The utility model relates to two-dimensional bar code recognition technology, particularly a kind of two-dimensional bar code reading device.
Background technology
Bar code has obtained people's common concern since occurring, application development speed is very rapid, and its universal use has greatly improved the speed of data acquisition and information processing, has improved work efficiency, and is the arrival of information society, has made very big contribution.Bar code commonly used now comprises bar code and two-dimensional bar code, the time that bar code uses is longer, scope is wider, but there is the few open defect of information record amount in bar code, and two-dimensional bar code has overcome this defective of bar code, and two-dimensional bar code is born in the seventies the earliest, it is the code pattern of a kind of rectangle or square, on long and wide both direction, encoded content is arranged all, so for bar code, the information density height that it is contained; Owing to also adopted error correcting technique, thereby its reliability also obviously improved, in addition, also had other many advantages.But the degree of applying of two-dimensional bar code is but far away from bar code, and its reason has certain time-delay the acceptance of new technology except people, and the reading device costliness also is a major reason.The existing two-dimensional bar code reader, to in same equipment, realize functions such as image acquisition, image recognition and bar code, two-dimensional bar code decoding, wherein about 60% product development production cost has been used in the middle of the hardware realization of identification and decoding, so reading device complex structure, design and develop with production cost remaining high, become a main cause that hinders the two-dimensional bar code widespread use.Meanwhile, one side is along with the high speed development of computer industry, the terminal computing power takes place to change greatly, because image recognition and two-dimensional bar code decoding all are the functions of computation-intensive, limited computational power has limited the performance of two-dimensional bar code recognition device in the reading device on the other hand.So existing two-dimensional bar code reading device especially hand-held reading device is rationally little from designing for newer terminal, existing equipment all adopts the mode of hardware identification.As the patent No. disclosed a kind of " hand-held two-dimensional bar data terminal " in 00238846.4 the Chinese utility model patent, this data terminal will have assemblies such as the two-dimensional bar recognition head, embedded computer system, display of hardware identification decoding function and all concentrate and be arranged in the hand-held housing, its two-dimensional bar code identification is a hardware plan still, will cause it to cost an arm and a leg; And for example the patent No. is 01278011.1 Chinese utility model disclosed a kind of " hand-held scanner is discerned browser automatically ", this technology has adopted two-dimensional bar scanning code translator (the existing product module of U.S. Symbol company), promptly in this member, realize reading in and discerning of two-dimensional bar code with hardware mode, because two-dimensional bar scanning decoder architecture complexity, value ratio is expensive, so influenced applying of this device.
Summary of the invention
The two-dimensional bar code reading device that the purpose of this utility model is to provide a kind of simple in structure, low cost of manufacture, recognition capability is strong, treatment effeciency is high suitable big standard to apply.
The purpose of this utility model is achieved through the following technical solutions: this two-dimensional bar code reading device comprises image read head, terminal of computing device.Described image read head is connected with the terminal of computing device that the bar code reading engine software is installed by interface circuit.
Described image read head comprises image acquisition units, control panel.Image acquisition units is electrically connected with control panel, is finished the acquisition function of image by control panel control image acquisition units.
Described image acquisition units comprises camera module, and described camera module can adopt generally on the market has camera module and a custom-designed camera module that 300,000 pixels or above valid pixel are counted camera module, digital camera or mobile phone.
Described image acquisition units can comprise lighting module.Described lighting module is arranged at around the camera module; The purpose that lighting module is set is to adapt to the occasion use needs of insufficient light, and described lighting module can adopt the high brightness LED group, and carries out optically focused with Fresnel Lenses.Lighting module guarantees that enough flash illuminations just can allow the user carry out the shooting of two-dimensional bar code under abominable photoenvironment.
Described image acquisition units also can comprise the laser sighting gear, and described laser sighting gear is arranged at the camera module next door, comprises laser diode, inteferometer coating, and inteferometer coating is arranged at the laser diode front side; The laser radiation that laser diode sends in the laser sighting gear is on inteferometer coating, produce the interference figure that is consistent with the camera visual angle, it is the bounding box pattern, the bounding box pattern is projected on the two-dimensional bar code that will read, the user can aim at two-dimensional bar code by the guiding of bounding box pattern easily, and two-dimensional bar code included in the alignment box, so just can locate recognition fast, this laser sighting gear, greatly sharpening the operation of alignment procedures, even adopt general camera also can obtain the recognition effect of good two-dimensional bar code, can reduce greatly and use the camera device cost.
Described control panel is mainly finished the control to members such as camera modules, and view data to mutual work such as the transmission of terminal of computing device and promptings, is comprised interface controller, image acquisition trigger button, hummer; Described interface controller is connected with camera module, lighting module, laser sighting gear in the image acquisition units respectively, also can be connected with storage unit on interface controller; Described image acquisition trigger button is the switch that triggers camera module images acquired, interface communication module transmitted image data and terminal of computing device identification bar code; Automatically interface controller can secretly and under the situation of backlight carry out flash synchronization at light according to the needs of images acquired, to guarantee to take needed sufficient light; Hummer is used for when discerning successfully or when unsuccessful, the bar code reading engine software in the terminal of computing device will feed back the hummer of ringing with status information by interface, make right judgement with prompting operation person.
Described interface circuit can adopt various interface communication function module according to connected mode; Described interface communication functional module can be wired or wireless interface module, can select USB, Wireless USB, and IEEE1394, cable network IEEE802.3X or wireless IEEE802.11X, modules etc. realize that wired or wireless communication connects.
Described terminal of computing device can be general desk-top computer, server, palm PC, embedded system (refer to have microprocessor, computing power is arranged dedicated system) but mobile phone of mounting bar code reading engine software etc.The bar code reading engine software is installed on terminal of computing device, described bar code reading engine software adopts modular design, support multiple country and international bar code, two-dimensional bar code coding standard, support the identification (as UPC/EAN/JAN, Code 128, Code 39/93, QRCode, Data Matrix, PDF417 etc.) of bar code and two-dimensional bar code simultaneously; Modular design make the coding kind interpolation and delete very conveniently, the client will customize required function and also be easy to realize, the upgrading of software simultaneously and safeguard and also become very convenient.This bar code reading engine software has Windows series, Windows CE series, and the version of a plurality of operating system platforms such as Linux series and mobile phone operating system is to adapt to the needs of different operating environment.
Above-mentioned two-dimensional bar code reading method and device thereof can be realized the recognition of bar code fully, can be applicable in the recognition field of bar code.
The utility model has following advantage and effect with respect to prior art: (1) equipment cost is low; The frame laser that the utility model is brand-new is fixed structural design, make and adopt general camera module applications with great visual angle to become possibility in the field of two-dimensional bar code identification, initiative is only carried out the image read head of image acquisition, funtion parts such as identification are transferred to the terminal of computing device that is connected, because image read head itself does not need powerful computing ability, it is relatively simple for structure, easy to manufacture, with low cost, so can significantly reduce the production cost of complete machine, become possibility on a large scale thereby it is applied at a high speed; The existing two-dimensional bar code reader needs the cooperation of terminal equally and supports to finish the function of information processing and man-machine interaction under most of application scenarios, but does not make full use of the powerful arithmetic capability of terminal computer, so value ratio is expensive.(2) the device combination flexibly; The utility model can make full use of wired or wireless mode and be combined into utility system.Simultaneously, can adopt the tactic pattern of a plurality of image read heads of terminal of computing device traction, promote application flexibility.(3) be easy to the upgrading development of product; The utility model way of hardware and software combination makes the adjustment of recognizer function and the enhancing of performance all is very easy to.By constantly promoting the performance of application to the form of client's update software, protection customer equipment input.(4) field of Shi Yonging is wide; The bigger characteristics in general camera module visual angle such as mobile phone camera have been taken in the software engine exploitation into account, strengthened the recognition capability of using common camera module especially, proven technique guarantees to make this application scheme to use under several operation systems platform that contains camera and hardware platform.
Description of drawings
Fig. 1 is the structural representation of the utility model two-dimensional bar code reading device.
Fig. 2 is the structured flowchart of two-dimensional bar code reading device shown in Figure 1.
Fig. 3 is the structural representation of the image acquisition units of two-dimensional bar code reading device shown in Figure 2.
Fig. 4 is the action principle figure of the laser sighting gear in the image acquisition units shown in Figure 3.
Fig. 5 is the structural drawing of the bar code reading engine software in the terminal of computing device of two-dimensional bar code reading device shown in Figure 1.
Fig. 6 is the program flow diagram of bar code reading engine software shown in Figure 5.
Embodiment
Below in conjunction with embodiment and accompanying drawing the utility model is described in further detail, but embodiment of the present utility model is not limited thereto.
Embodiment 1
Fig. 1~Fig. 3 shows concrete structure of the present utility model, as seen from Figure 1, the structure of this two-dimensional bar code reading device comprises image read head, terminal of computing device, and described image read head is connected with the terminal of computing device that two-dimensional bar code recognition engine software is installed by interface circuit.Described image read head comprises image acquisition units, control panel, and image acquisition units is electrically connected with control panel, is finished the acquisition function of image by control panel control image acquisition units.
As seen from Figure 2, described image acquisition units comprises camera module, laser sighting gear, flash illumination unit module, described camera module, laser sighting gear, flash illumination unit module respectively with control panel on contain single-chip microcomputer interface controller be connected; The position relation of described camera module, laser sighting gear and flash illumination unit module as shown in Figure 3, flash illumination unit module 1 is arranged at around the camera module 2, laser sighting gear 3 is arranged at camera module 2 next doors, its action principle as shown in Figure 4, comprise laser diode 3-1, inteferometer coating 3-2, inteferometer coating 3-2 is arranged at laser diode 3-1 front side; The laser radiation that laser diode 3-1 sends in the laser sighting gear 3 produces the interference figure that is consistent with the camera visual angle, i.e. square boundary block diagram case on inteferometer coating 3-2; Described camera module can adopt 300,000 pixels or above CCD/CMOS imageing sensor, and described lighting module adopts the high brightness LED group, and carries out optically focused with Fresnel Lenses.
Described control panel comprises wireline interface controller, image acquisition trigger button, flash synchronization module, the hummer that is embedded with single-chip microcomputer; Be connected with storage unit, hummer and image acquisition trigger button on the described interface controller, described interface controller can adopt embedded 8051 CY7C68013 USB2.0 controller, and storage unit can adopt the flash memory of 64Mbit.
But described terminal of computing device can be the mobile phone of general desk-top computer, server, palm PC, embedded system mounting bar code reading engine software etc., the bar code reading engine software is installed on terminal of computing device, described bar code reading engine software adopts modular design, support multiple country and international bar code, two-dimensional bar code coding standard, support the identification of bar code (UPC/EAN/JAN, Code 128, Code 39/93) and two-dimensional bar code (QR Code, Data Matrix, PDF417 etc.) simultaneously, as shown in Figure 5; Modular design make the coding kind interpolation and delete very conveniently, the client will customize required function and also be easy to realize, the upgrading of software simultaneously and safeguard and also become very convenient that the idiographic flow of this bar code reading engine software is as shown in Figure 6.This bar code reading engine software can design Windows series, Windows CE series, and the version of a plurality of operating system platforms such as Linux series and mobile phone operating system is to adapt to the needs of different operating environment.
The mechanism of this two-dimensional bar code reading device is: the zone at the aligning two-dimensional bar code place of the pattern that the operator is shone out by the laser alignment device, press the image acquisition trigger button, interface controller drives camera and takes one or number pictures, when taking, the flash synchronization module can be finished the floor light function automatically according to the situation of exposure; Interface controller sends image information in the two-dimensional bar code recognition engine of terminal; Whether the analysis of two-dimensional bar code recognition engine has the two-dimensional bar code that correctly can discern, if success to the information of computing machine input decoding and simultaneously the hummer on the image read head send the instruction of success, if read under the search pattern of setting less than two-dimensional barcode information then feed back to hummer prompting operation person on the image read head, this time identification is unsuccessful.
Above-mentioned two-dimensional bar code reading method and device thereof can be applicable in the recognition field of bar code.
Embodiment 2
Present embodiment except that following characteristics with embodiment 1: simultaneously a plurality of image read heads are connected with a terminal of computing device that the bar code reading engine software is installed by control interface circuit; On a terminal of computing device, realize controlling simultaneously the function of a plurality of image read head recognition two-dimensional bar codes.
Embodiment 3
Present embodiment except that following characteristics with embodiment 1: described interface communication module is a radio interface module, can select wireless IEEE802.11X module, realizes that wireless telecommunications connect.