CN201859459U - Bar code decoding device - Google Patents

Bar code decoding device Download PDF

Info

Publication number
CN201859459U
CN201859459U CN201020213206XU CN201020213206U CN201859459U CN 201859459 U CN201859459 U CN 201859459U CN 201020213206X U CN201020213206X U CN 201020213206XU CN 201020213206 U CN201020213206 U CN 201020213206U CN 201859459 U CN201859459 U CN 201859459U
Authority
CN
China
Prior art keywords
bar code
bar
decoding
interface unit
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201020213206XU
Other languages
Chinese (zh)
Inventor
吴军
蔡强
张义锦
吴志宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Newland Computer Co Ltd
Original Assignee
Fujian Newland Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Newland Computer Co Ltd filed Critical Fujian Newland Computer Co Ltd
Priority to CN201020213206XU priority Critical patent/CN201859459U/en
Application granted granted Critical
Publication of CN201859459U publication Critical patent/CN201859459U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model provides a bar code decoding device, comprising an interface unit and a decoding chip. The bar code decoding device is separated from peripheral devices. The bar decoding device is connected to the peripheral devices through the interface unit. The bar code decoding device receives the bar code from the peripheral devices through the interface unit and transmits the decoding result to the peripheral devices through the interface unit. The decoding chip is used for decoding the bar code received by the interface unit. The utility model has advantages of having wide application in the decoding of bar code images in the peripheral devices; possessing convenient use, small volume, easy carrying, fast speed of decoding and high safety.

Description

Bar-code decoder
[technical field]
The utility model relates to a kind of bar code decoding technology, particularly a kind of bar-code decoder that existing bar code image in the peripherals is decoded.
[background technology]
Barcode technology is an appearance coding, printing, identification, the data acquisition and processing (DAP) emerging technology that grows up on computer technology and infotech basis.Barcode technology is because its identification is quick, accurate, reliable and low cost and other advantages, be widely used in fields such as commerce, taking care of books, storage, post and telecommunications, traffic and Industry Control, and certainly will in " Internet of Things " that rise gradually used, bring into play great function.
The application of bar code is very extensive, in various applications, uses multiple bar code standard or standard.Corresponding every kind of bar code standard or standard have multiple decoding decoding rule.It generally is to utilize the mode of software decode to realize that existing bar code decoding is handled, and need write a series of software programs of realizing decoding algorithm in processor, and software program is reversed engineering easily and cracks; Because single processor can only be is simultaneously carried out decoding processing at a kind of barcode standard of particular type, so decoding speed is slower, can not handle the bar code of multiple Format Type; Moreover owing to realize that the software algorithm of bar code decoding is comparatively complicated, therefore generally speaking the processor that is adopted is high-end processor (as 32 bit processors), because high-end processor price is comparatively expensive, therefore causes cost to raise.
In addition, as shown in Figure 1, the normal and optical image sensor array of decoding device of the prior art is set together, and can't decode for the existing bar code image in the terminal device.Therefore be necessary to provide a kind of general bar code decoding method and device so that the existing bar code image in the terminal device is decoded.
[summary of the invention]
For solving the problems of the technologies described above, the utility model provides a kind of bar-code decoder.
The utility model provides a kind of bar-code decoder, comprises interface unit and decoding chip, and bar-code decoder and peripherals are separated; Interface unit is connected bar-code decoder with peripherals, bar-code decoder receives by interface unit and from the bar code of peripherals and by interface unit decoded result transferred to peripherals; Decoding chip is used for the bar code that the docking port unit receives and decodes.
According to a preferred embodiment of the present utility model, interface unit is radio interface unit or wired interface unit.
According to a preferred embodiment of the present utility model, interface unit adopts bus interface, serial line interface or virtual device interface.
According to a preferred embodiment of the present utility model, peripherals comprises desk-top computer, palm PC, server, embedded system or mobile phone.
According to a preferred embodiment of the present utility model, interface unit adopts bus interface, serial line interface or virtual device interface.
Bar-code decoder of the present utility model can be widely used in decodes to existing bar code image in the peripherals.In addition, bar-code decoder of the present utility model is easy to use, and volume is easy to carry about with one for a short time, also has fast, the safe advantage of decoding speed simultaneously.
[description of drawings]
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the synoptic diagram of prior art bar-code reader;
Fig. 2 is the structural representation of the utility model bar-code decoder one preferred embodiment;
Fig. 3 is that the bus type circuit of the utility model bar-code decoder one preferred embodiment connects block diagram;
Fig. 4 is that the serial ports formula circuit of the utility model bar-code decoder one preferred embodiment connects block diagram; And
Fig. 5 is that the circuit of the virtual device interface of the utility model bar-code decoder one preferred embodiment connects block diagram.
[embodiment]
Below in conjunction with drawings and embodiments the utility model is further described.
Fig. 2 is the bar-code decoder structural representation of the utility model one preferred embodiment, and as shown in Figure 2, the utility model bar-code decoder comprises interface unit 10, decoding chip 20.
Bar-code decoder and peripherals are separated, and are connected with peripherals by interface unit 10.Interface unit 10 is responsible for the two-way exchange of data message between bar-code decoder and the peripherals.Bar-code decoder receives by interface unit 10 and from the bar code of peripherals and by interface unit decoded result is transferred to peripherals.Decoding chip 20 is used for docking port unit 10 and decodes from the bar code that peripherals receives.
Peripherals described in the utility model comprises desk-top computer, palm PC, server, embedded system or mobile phone.
Interface unit 10 be can with the interface of external circuit communication, choose according to actual needs, can adopt any present obtainable interface shape, can be wireless connections form or wired connection form.Further, the interface unit 10 of the utility model bar-code decoder can be the multiple standards interface.For example, the interface unit 10 of the utility model bar-code decoder can be one or more of Serial ATA, RS232, I2C, USB, SD, SPI, IEEE1394, IEEE802.11a, IEEE802.11b, IEEE802.11g, blue tooth interface, common I/O or parallel interface bus, and interface unit 10 meets the defined codes and standards of above-mentioned one or more agreements.
When interface unit 10 adopted these interface standards, bar-code decoder was connected on the peripherals as equipment end and uses.Bar-code decoder can obtain power supply by interface unit 10 STD bus, and provides needed various power supply supply by power converting circuit for it; Or it is self-powered or provide the power supply supply in conjunction with bus-powered and battery powered hybrid power supply mode by battery etc.
For instance, interface unit 10 can be connected on the existing processor bus, on 8 bit processors, 16 little processing, 32 bit processors or 64 bit processors, thereby realize tool more high integration and multi-purpose system, also interface unit 10 can be connected on the bus of existing serial bus or other agreements, perhaps interface unit 10 be invented virtual device interface (will describe in detail hereinafter).
Fig. 3 is that the bus type circuit of the utility model bar-code decoder one preferred embodiment connects block diagram.This bus type bar code decoding device comprises bus interface 301 and decoding chip (not shown), and decoding chip comprises registers group 302, master control logic module 303, data-carrier store 304 and bar code decoding pipeline 305.Wherein, bar code decoding is handled the bar code processing streamline that streamline 305 comprises the different code systems of one dimension or two dimension, for example comprise PDF417 bar code decoding processing streamline, bar code decoding processing streamline and RSS (Reduced Space Symbology dwindles space code) bar code decoding processing streamline, the bar code decoding of each type is handled streamline and is used to handle the bar code image with different barcode standards, and it utilizes hardware logic to realize.
Data-carrier store 304 is used to store bar code image, and it specifically can utilize RAM (random accessmemory random access memory) to realize.
Master control logic module 303 can trigger particular event corresponding to specific corresponding order, can choose required state of a control by obtaining the bus interface order from bus interface 301, as obtaining bar code image, transmit it to bar code decoding and handle streamline 305 etc. from data-carrier store 304.The master control logic module 303 that the utility model disclosed does not possess calculation function, but can trigger corresponding event according to certain condition, specifically can utilize existing state machine to realize.
Be provided with registers group 302 between bus interface 301 and the master control logic module 303, registers group 302 comprises a series of self-defining registers, comprise status register, data register and command register etc., status register is used to show the duty of master control logic module 303, data register is used to store data, command register is used for memory command, master control logic module 303 can be from the data register reading of data, from the order register read command, and make specific action according to particular command, wherein also can be from bus interface 301 input commands (being the external interface order).Registers group 302 and master control logic module 303 are handled streamline 305 and external circuit isolation with bar code decoding, after can making things convenient for bar code decoding are handled streamline 305 and upgrade (as increasing the bar code decodings processing streamlines of handling the extended formatting type) more.
Bus interface 301 is compatible with the common status bus interface, can be connected with processor or controller and other functional modules.Particularly, bus interface 301 comprises following pin, I/O0-I/O7, CLE, ALE, CS, WE, RE, wherein each functions of pins such as following table 1.1 introduction:
Figure DEST_PATH_GDA0000040299830000041
Figure DEST_PATH_GDA0000040299830000051
Table 1.1
By above pin setting, the utility model can be disclosed the bus type bar code decoding device and be embedded in the existing processor bus.
Generally speaking, when pin ALE is effective, existing processor carries out the addressing action, the bus type bar code decoding device that finds the utility model to disclose, when pin CLE is effective, bus interface 301 receives bus line command from pin I/O0~I/O7, and it is this bus line command is temporary to the command register of registers group 302, when the WE pin is effective, bar code image can be from the data register of the pin I/O0-I/O7 input register group 302 of bus interface 301, master control logic module 303 reads above-mentioned bus line command from command register after, can attempt obtaining bus data to data-carrier store 304 from the data register of registers group 302, wherein this bus data can be the bar code image data.In addition, when master control logic module 303 when the command register of registers group 302 reads processing command, the bar code image in the data-carrier store 304 can be transferred to bar code decoding pipeline 305 and carry out decoding processing.
Bus type decoding device based on bar code decoding chip of the present utility model can be embedded in any processor with common status bus interface by bus interface 301.
Fig. 4 is that the serial ports formula circuit of the utility model bar-code decoder one preferred embodiment connects block diagram.The utility model discloses serial ports formula bar-code decoder and comprises serial bus interface 401, serial port command interpreter 406, config memory 407 and decoding chip (not shown), and decoding chip comprises registers group 402, master control logic module 403, data-carrier store 404 and bar code decoding pipeline 405.Wherein, registers group 402, master control logic module 403, data-carrier store 404 and bar code decoding pipeline 405 are identical with the functional structure of the described corresponding module of Fig. 3, its improvement is, has adopted serial bus interface 401 and serial port command interpreter 406.
Serial bus interface 401 receives the serial bus order from serial bus, receives the serial bus data from serial bus, and the serial bus data are temporary to data register;
Serial port command interpreter 406 utilizes serial bus interface 401 to receive or send the serial bus data, wherein, serial bus interface 401 links to each other with serial bus, but the serial bus command interpretation that can receive from serial bus is 403 read commands of master control logic module, and but 403 read commands of master control logic module are placed in the command register of registers group 402, but master control logic module 403 reads these master control logic module 403 read commands from command register after, can be with the serial bus data storage in the data register to data-carrier store 404.In addition, when master control logic module 403 receives processing command from command register, the serial bus data in the data-carrier store 404 can be sent to bar code decoding pipeline 405.
For instance, when serial bus interface 401 receives a bar code image from serial bus, serial port command interpreter 406 soluble serial orders, and but corresponding master control logic module 403 read commands are placed in the command register in the registers group 402, but master control logic module 403 is obtained this master control logic module 403 read commands, will attempt obtaining bar code image, so that the bar code image data storage is arrived data-carrier store 404 from the data register of registers group 302.
In addition, computing parameter when config memory 407 is used for 402 work of configuration barcodes decoding processing streamline and the data of tabling look-up (as the required code table of decoding computing), bar code decoding is handled streamline 402 can obtain above data from config memory 407 by master control logic module 403 and registers group 402, it must guarantee can obliterated data under the situation of outage, available existing EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)) realizes, in some cases, config memory 407 can be set directly in the bar code decoding processing streamline 402.Especially, config memory 407 can be arranged among arbitrary embodiment described in the utility model.
The serial ports formula bar-code decoder that the utility model disclosed is integrated serial bus interface 401 and serial port command interpreter 406, make 4 or other controller serial bus interface 401 based on the low-cost decoding device of bar code decoding chip that can be directly connected to that the utility model discloses by serial ports cheaply, thereby obtain the bar code decoding function, be widely used in controller cheaply.In addition, the serial ports formula bar-code decoder that the utility model disclosed also can be connected to the equipment of any support serial port protocol by serial bus interface 401, obtains bar code image from the equipment of supporting serial port protocol, and carries out decoding processing.
Fig. 5 is that the circuit of the virtual device interface of the utility model bar-code decoder one preferred embodiment connects block diagram.The bar-code decoder of this virtual device interface comprises decoding chip (not shown) and virtual device interface (not shown).Decoding chip comprises registers group 502, master control logic module 503, data-carrier store 504 and bar code decoding pipeline 505.Virtual device interface comprises virtual nand flash memory bus interface 501, flash data control module 506, microprocessor 507, USB (Universal SerialBUS, USB (universal serial bus)) controller 508 and USB interface 509.Wherein, registers group 502, master control logic module 503, bar code decoding pipeline 505 and data-carrier store 504 are identical with the described functional structure of Fig. 3-4.
The virtual nand flash memory bus interface 501 that the utility model adopted comprises existing nand flash memory interface, as CLE, CE, WE, ALE, WE, RE and I/O pin etc. (its with above the described interface of table 1.1 is consistent), virtual nand flash memory bus interface 501 is electrically connected by above interface with flash data control module 506, make flash data control module 506 with virtual nand flash memory bus interface 501 with and subsequent registers group 502, master control logic module 503, bar code decoding pipeline 505, data-carrier store 504 is identified as existing nand flash memory, therefore, virtual nand flash memory bus interface 501 with and subsequent registers group 502, master control logic module 503, bar code decoding pipeline 505, data-carrier store 504 is invented existing nand flash memory, by flash data control module 506 its read-write operations of control.
Wherein, microprocessor 507 is electrically connected with flash data control module 506 and USB controller respectively, be used to coordinate the duty of flash data control module 506 and USB controller 508, USB controller 508 is electrically connected with USB interface 509 on one side, the control USB interface inputs or outputs data, the data that meet the usb communication agreement of USB interface 509 inputs are converted to storage data input flash data control module 506, another side is electrically connected with flash data control module 506, to be converted to the data that meet the usb communication agreement from the data of flash data control module 506 inputs, and export it to USB interface 509, thereby realize the data transmission between flash data control module 506 and the USB interface 509.Flash data control module 506 is used for virtual nand flash memory bus interface 501 is conducted interviews and inputoutput data, it can be converted to the data from 508 inputs of USB controller the data of flash data form, and exports it to virtual nand flash memory bus interface 501.
By above setting, the virtual device interface based on bar code decoding chip that the utility model disclosed can be electrically connected by USB interface 509 with the equipment of any existing compatible usb communication agreement, after the bar code image data are imported from USB interface 509, carry out to deliver to virtual nand flash memory bus interface 501 after the data-switching via USB controller 508, virtual nand flash memory bus interface 501 is temporary to the data register of registers group 502 with the bar code image data, master control logic module 503 is obtained this bar code image from data register, and it is stored to data-carrier store 504, when master control logic module 503 receives processing command from command register after, bar code image in the data-carrier store 504 can be sent to bar code decoding pipeline 505, change the bar code decoding pipeline computing of decoding by 505 pairs of bar code decoding pipeline, and after computing is finished, operation result exported to virtual nand flash memory bus interface 501, flash data control module 506 reads operation result and is converted to the data that meet the usb communication agreement via USB controller 508 and exports USB interface 509 to, obtains operation result by the equipment of compatible usb communication agreement from USB interface 509.
The bar-code decoder of the utility model virtual device interface provides a kind of portable bar code decoding scheme, the user only need import bar code image in virtual device interface by the equipment of supporting usb protocol, just can obtain corresponding decoded result, improved the bar code decoding portability of equipment, and the equipment of existing support usb communication agreement need not to make any change and can be used with bar code decoding equipment, increase the range of application of bar code decoding equipment and used dirigibility, simultaneously owing to adopted similar parallel hardware decoding process, thereby decoding speed is faster than existing software decode speed.
By the above embodiment that discloses as can be known, bar-code decoder applied range of the present utility model, and has an advantage easy to use, that volume is easy to carry about with one for a short time, in addition, because bar code decoding method of the present utility model and device have adopted bar code decoding to handle special-purpose hardware decoded stream waterline, therefore its to compare decoding speed faster with existing software decode, can not be reversed engineering and crack, security performance is very high.
In the above-described embodiments, only the utility model has been carried out exemplary description, but those skilled in the art can carry out various modifications to the utility model after reading present patent application under the situation that does not break away from spirit and scope of the present utility model.

Claims (4)

1. a bar-code decoder comprises interface unit and decoding chip, it is characterized in that,
Described bar-code decoder and peripherals are separated; Described interface unit is connected described bar-code decoder with described peripherals, described bar-code decoder receives by described interface unit and from the bar code of described peripherals and by described interface unit decoded result transferred to described peripherals; Described decoding chip is used for the described bar code that described interface unit receives is decoded.
2. bar-code decoder according to claim 1 is characterized in that, described interface unit is radio interface unit or wired interface unit.
3. bar-code decoder according to claim 1 is characterized in that, described interface unit adopts bus interface, serial line interface or virtual device interface.
4. bar-code decoder according to claim 1 is characterized in that described peripherals comprises desk-top computer, palm PC, server, embedded system or mobile phone.
CN201020213206XU 2010-06-01 2010-06-01 Bar code decoding device Expired - Fee Related CN201859459U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201020213206XU CN201859459U (en) 2010-06-01 2010-06-01 Bar code decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201020213206XU CN201859459U (en) 2010-06-01 2010-06-01 Bar code decoding device

Publications (1)

Publication Number Publication Date
CN201859459U true CN201859459U (en) 2011-06-08

Family

ID=44105262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201020213206XU Expired - Fee Related CN201859459U (en) 2010-06-01 2010-06-01 Bar code decoding device

Country Status (1)

Country Link
CN (1) CN201859459U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767753A (en) * 2020-06-30 2020-10-13 深圳牛图科技有限公司 Distributed decoding method for encrypted two-dimensional code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767753A (en) * 2020-06-30 2020-10-13 深圳牛图科技有限公司 Distributed decoding method for encrypted two-dimensional code

Similar Documents

Publication Publication Date Title
CN100468440C (en) Method and device for information interaction between host and smart card
CN201859459U (en) Bar code decoding device
CN101908132B (en) Bar code decoding method and device
CN101706878A (en) Passive RFID system
CN101908130B (en) Portable electronic device based on bar code decoding chip
CN101908134B (en) Serial bus type bar-code decoding chip and bar-code decoding device
CN101882200B (en) System on chip for integrating bar code decoding chip and optical image sensor array
US20120260010A1 (en) Storage control system and storage control method
CN101882208B (en) Bar code decoding chip and bar code decoding device based on virtual interface
CN101882231B (en) RFID (Radio Frequency Identification Devices) reader-writer and data transmission method thereof
CN201725348U (en) Bar code decoding device based on USB interfaces
CN201725346U (en) Serial bus type bar code decoding chip and bar code decoding device
CN101882199B (en) Bus type bar code decoding chip
CN101882209B (en) System on chip for integrating bar code decoding chip
CN101916385B (en) Memory card type bar code decoding device
CN201725349U (en) Virtual interface based bar code decoding chip and bar code decoding device
CN104361308A (en) STM32-based handheld two-dimension code recognizer
CN204288237U (en) A kind of Network Smart Card Reader-Writer
CN203376672U (en) Portable integrated data processor
CN201859458U (en) Portable electronic device based on bar code decoding chip
CN203178858U (en) Intelligent hand-held terminal
CN201725344U (en) Bar code decoding chip and optical image sensor array integrated SoC
CN201725350U (en) Storage card type bar code decoding device
CN203054881U (en) Radio-frequency card reader writer based on single-chip microcomputer
CN101908131B (en) Bar-code decoder based on USB interface

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110608

Termination date: 20180601