CN103559474A - Bar code decoding device and method - Google Patents

Bar code decoding device and method Download PDF

Info

Publication number
CN103559474A
CN103559474A CN201310536412.2A CN201310536412A CN103559474A CN 103559474 A CN103559474 A CN 103559474A CN 201310536412 A CN201310536412 A CN 201310536412A CN 103559474 A CN103559474 A CN 103559474A
Authority
CN
China
Prior art keywords
decoding
unit
bar
decoding unit
image
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.)
Pending
Application number
CN201310536412.2A
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 New Continent Automatic Recognition Technology Coltd
Fujian Newland Auto ID Technology Co Ltd
Original Assignee
Fujian New Continent Automatic Recognition Technology Coltd
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 New Continent Automatic Recognition Technology Coltd filed Critical Fujian New Continent Automatic Recognition Technology Coltd
Priority to CN201310536412.2A priority Critical patent/CN103559474A/en
Publication of CN103559474A publication Critical patent/CN103559474A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a bar code decoding device and method. The bar code decoding device comprises an image sensor, an image decoding dispatching unit and at least two decoding units, the image sensor is used for capturing images and generating continuous image frames and frame effective signals, the at least two decoding units can independently conduct decoding at the same time, the image decoding dispatching unit controls the specified decoding units to decode the specified image frames according to the frame effective signals and a preset dispatching algorithm, and the decoding units conduct decoding to obtain decoding information and give out feedback signals. According to the bar code decoding device and method, the bar code decoding recognition speed on bar code symbols is greatly quickened.

Description

Bar-code decoder and method
Technical field
The present invention relates to bar-code identification field, relate in particular to a kind of bar-code decoder and method.
Background technology
In the prior art, bar-code decoder is mainly by single image sensor and single demoder, to be directly connected to realize obtain and decode.As shown in Figure 1, obtain with the process of decoding in a kind of be only in random access memory, to store a picture frame obtaining, generally, if the time of expending is greater than the output gap of imageing sensor two continuous frames image, the image that makes to export in decode procedure is abandoned need not, or control chart image-position sensor, reduce the output of picture frame, with the time of matching and decoding process.No matter above which kind of mode, all can, when decode time is greater than the shortest interFrameGap, make actual decoded image frames numbers lower than exportable maximum frame number in imageing sensor same time.
As shown in Figure 2, obtain with decode procedure in another kind be in random access memory, to store a plurality of picture frames that obtain, the decode logic sequentially multiple image in many random access memory is decoded, multiple image in random access memory continues to add the picture frame getting recently according to first-in first-out rule, and abandons the picture frame that decoded logic is used or get at first while surpassing predetermined number.This software computing framework that is mainly used in using CPU and random access memory, is subject to the impact of computing power and cost, is difficult to complete the decoding to a two field picture in the transmission time of a picture frame.Under this situation, will the image frames numbers of buffer memory be continued to increase, the time point that the picture frame then decoded is acquired with respect to it postpones to surpass the transmission time of a picture frame, and postpones will continue to increase.Because the image frames numbers of buffer memory is limited, after buffer memory is full, if continue, receive picture frame simultaneously, need to abandon a frame or the multiple image of buffer memory, reduced actual decoded picture frame.
Summary of the invention
The object of the present invention is to provide a kind of bar-code decoder, can overcome the deficiencies in the prior art, improve the recognition speed of bar-code decoder to bar code symbol.
Another object of the present invention is to provide a kind of bar code decoding method, can improve the speed of bar code decoding identification bar code symbol.
Corresponding a kind of bar-code decoder, comprising:
Imageing sensor, for catching image and producing successive image frame and frame useful signal;
Image decoding scheduling unit, at least two decoding units that can simultaneously independently decode, the decoding unit that described image decoding scheduling unit is controlled appointment according to described frame useful signal and default dispatching algorithm is decoded to the picture frame of appointment, and described decoding unit decodes obtains decoded information and sends feedback signal.
As a further improvement on the present invention, described bar-code decoder also comprises information process unit, communication unit, described image decoding scheduling unit is according to described feedback signal receipt decoding information and send to described information process unit to process, and described information process unit is exported by described communication unit.
As a further improvement on the present invention, between described decoding unit, adopt different decoding processes.
As a further improvement on the present invention, described imageing sensor also produces row useful signal, pixel clock, and described decoding unit is decoded according to described row useful signal, pixel clock.
As a further improvement on the present invention, described imageing sensor sends described frame useful signal to described image decoding scheduling unit, and described imageing sensor directly sends described row useful signal, pixel clock, picture frame to described decoding unit.
As a further improvement on the present invention, described imageing sensor is at least provided with two, and the quantity of described imageing sensor is less than the quantity of described decoding unit.
As a further improvement on the present invention, described default dispatching algorithm is for sequentially giving described picture frame alternate allocation described decoding unit or according to described feedback signal, described picture frame distributed to the described decoding unit in idle condition.
As a further improvement on the present invention, described feedback signal comprises processing end signal and/or is identified as function signal.
Corresponding a kind of bar code decoding method, comprising:
Obtain successive image frame;
According to default dispatching algorithm, the picture frame of appointment is distributed to the decoding unit of appointment;
Between decoding unit, independently decode simultaneously.
As a further improvement on the present invention, between decoding unit, independently decode and comprise simultaneously:
If decoding unit successfully decoded, processes and exports decoded decoded information;
If decoding unit is decoded unsuccessfully, receive new picture frame and decode.
Compared with prior art, the present invention dispatches by the picture frame input of the picture frame output at least one imageing sensor and at least two decoding units, make a plurality of decoding units and imageing sensor synthetic operation, significantly improve the recognition speed of bar code decoding to bar code symbol.
Accompanying drawing explanation
Fig. 1 is a kind of obtaining and decoding process figure in prior art.
Fig. 2 is a kind of obtaining and decoding process figure in prior art.
Fig. 3 is module diagram in an embodiment of the present invention.
Fig. 4 in an embodiment of the present invention distributes to picture frame the process flow diagram of the decoding unit in idle condition.
Fig. 5 is the sequential chart of frame useful signal and row useful signal in an embodiment of the present invention.
Fig. 6 is the sequential chart of row useful signal, pixel clock and picture frame in an embodiment of the present invention.
Fig. 7 sequentially gives picture frame alternate allocation the sequential chart of described decoding unit in an embodiment of the present invention.
Fig. 8 is module diagram in an embodiment of the present invention.
Fig. 9 is module diagram in an embodiment of the present invention.
Figure 10 is method flow diagram in an embodiment of the present invention.
Embodiment
Below with reference to embodiment shown in the drawings, describe the present invention.But these embodiments do not limit the present invention, the conversion in the structure that those of ordinary skill in the art makes according to these embodiments, method or function is all included in protection scope of the present invention.
Bar-code decoder comprises imageing sensor, image decoding scheduling unit, at least two the separate decoding units that can simultaneously decode.Imageing sensor is for catching image and producing continuous picture frame and frame useful signal.Image decoding scheduling unit connection layout image-position sensor and decoding unit, the decoding unit that image decoding scheduling unit is controlled appointment to the successive image frame of imageing sensor output according to default dispatching algorithm is decoded to the picture frame of appointment, and decoding unit is decoded and obtained decoded information and send feedback signal picture frame.Image decoding scheduling unit judges by the feedback signal of decoding unit whether decoding unit completes processing and/or whether identify successfully.
As shown in Figure 3, an embodiment of the present invention.Bar-code decoder comprises imageing sensor 101, image decoding scheduling unit 102, decoding unit 103, information process unit 104, communication unit 105.
Imageing sensor 101 can be the Exposure mode of tumbling-type electronic shutter, can be also the Exposure mode of global electronic shutter.101 pairs of bar code symbol targets to be identified of imageing sensor are caught by optics image thereon, form digital picture output.In when output by the numerical value of each pixel of output map picture frame (R, G, B, Y, U, V, RAW etc.) and clock signal (frame useful signal, row useful signal, pixel clock etc.).
Decoding unit 103 physically can be in same chip with image decoding scheduling unit 102.The default dispatching algorithm of 102 pairs of picture frame signals of image decoding scheduling unit can be fixed, and can be also by programming change again.Between decoding unit 103, can adopt different decoding processes.Mutually can be not in same chip.Between decoding unit 103, can be different frameworks, as used hardware decode logic or software decode, between image decoding scheduling unit 102 and decoding unit 103, use electrical connection.
Decoding unit 103 receives clock signal and picture frame, by the hardware decode logic in decoding unit 103 or software decode program, and the bar code symbol in search and recognition image, and information extraction.After identifying successfully also information extraction, feedback is completed and processes and identify successful feedback signal, only fed back processing signals when identification is unsuccessful, feedback signal is that the electrical connection that can represent level height and variation by least one is transmitted.Decoding unit 103, after the successful bar code symbol of identification, can initiatively be exported decoded information or be read passively, and communication modes can be the modes such as serial line interface, parallel bus, I2C, SPI, USB.
Image decoding scheduling unit 102 is according to feedback signal receipt decoding information and send to information process unit 104, and 104 pairs of decoded informations of information process unit carry out editing and processing, as increased prefix, increasing suffix, character string replacement etc.Communication unit 105, by external communication interface, is externally exported the output content of information process unit 104.
As shown in Figure 4, image decoding scheduling unit 102 continues to receive picture frame signal, can by dispatching algorithm, control and just at the decoding unit 103 of idle condition, decode according to feedback signal.In this process, image decoding scheduling unit 102 detects the feedback signal of each decoding unit 103 simultaneously always, after having decoding unit 103 to identify successfully, extracts decoded information, and decoded information is processed and exported, do not identify successfully, obtain new image frame.After completing output, whether bar-code decoder determines termination procedure according to setting.
Imageing sensor 101 includes the outputs such as frame useful signal, row useful signal, pixel clock, picture frame.A frame valid period, have a plurality of row useful signals as shown in Figure 5, as shown in Figure 6 a row valid period, can comprise several pixel clock cycles.According to frame useful signal, can read image frame data from parallel data-signal.The pixel data that decoding unit 103 can read each two field picture according to row useful signal and pixel clock also can read according to own clock signal the pixel data of each two field picture.This pixel data of different sensors may be the different situations such as 8,10,12,14.
Image decoding scheduling unit 102 distributes to according to default dispatching algorithm the picture frame that comes from imageing sensor 101 appointments the decoding unit 103 of appointment.As shown in Figure 7, the dispatching algorithm of using be sequentially by picture frame alternate allocation to two decoding units 103, on the first decoding unit and the second decoding unit, respectively had to the picture frame of imageing sensor 50%, decoding unit 103 is in the time of decoding, and another decoding unit 103 can receive new picture frame.Whole bar-code decoder is doubled when the identifying processing amount ratio of picture frame is used to a decoding unit separately.The distribution that is together scheduled of other clock signal and picture frame signal.
As shown in Figure 8, the signal of picture frame transmission without image decoding scheduling unit 102, and only retain the dispatching distribution to clock signals such as frame useful signal, row useful signal, pixel clocks.In more embodiment, the picture frame of image data transmission is without image decoding scheduling unit, and only retains frame useful signal dispatching distribution.Imageing sensor 101 sends frame useful signal to image decoding scheduling unit 102, and imageing sensor 101 directly sends row useful signal, pixel clock, picture frame to decoding unit 103.
As shown in Figure 9, image decoding scheduling unit can connect a plurality of imageing sensors 101 and a plurality of decoding unit 103 simultaneously, and effectively completes despatching work, and the quantity of imageing sensor 101 is less than the quantity of decoding unit 103.
As shown in figure 10, a kind of bar code decoding method, comprising:
S1, obtain successive image frame;
S2, according to default dispatching algorithm, the picture frame of appointment is distributed to the decoding unit of appointment; Default dispatching algorithm is for sequentially to distribute to the decoding unit in idle condition by picture frame alternate allocation to decoding unit or by picture frame.
Between S3, decoding unit, independently decode simultaneously.Can greatly increase decoding speed.If decoding unit successfully decoded, processes and exports decoded decoded information.If decoding unit is decoded unsuccessfully, receive new picture frame and decode.
In sum, the present invention dispatches by the picture frame input of the picture frame output at least one imageing sensor and at least two decoding units, make a plurality of decoding units and imageing sensor synthetic operation, significantly improve the recognition speed of bar-code decoder to bar code symbol.
Be to be understood that, although this instructions is described according to embodiment, but not each embodiment only comprises an independently technical scheme, this narrating mode of instructions is only for clarity sake, those skilled in the art should make instructions as a whole, technical scheme in each embodiment also can, through appropriately combined, form other embodiments that it will be appreciated by those skilled in the art that.
Listed a series of detailed description is above only illustrating for feasibility embodiment of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent embodiment that skill spirit of the present invention does or change all should be included in protection scope of the present invention.

Claims (10)

1. a bar-code decoder, is characterized in that, comprising:
Imageing sensor, for catching image and producing successive image frame and frame useful signal;
Image decoding scheduling unit, at least two decoding units that can simultaneously independently decode, the decoding unit that described image decoding scheduling unit is controlled appointment according to described frame useful signal and default dispatching algorithm is decoded to the picture frame of appointment, and described decoding unit decodes obtains decoded information and sends feedback signal.
2. bar-code decoder according to claim 1, it is characterized in that, described bar-code decoder also comprises information process unit, communication unit, described image decoding scheduling unit is according to described feedback signal receipt decoding information and send to described information process unit to process, and described information process unit is exported by described communication unit.
3. bar-code decoder according to claim 1, is characterized in that, adopts different decoding processes between described decoding unit.
4. bar-code decoder according to claim 1, is characterized in that, described imageing sensor also produces row useful signal, pixel clock, and described decoding unit is decoded according to described row useful signal, pixel clock.
5. bar-code decoder according to claim 4, it is characterized in that, described imageing sensor sends described frame useful signal to described image decoding scheduling unit, and described imageing sensor directly sends described row useful signal, pixel clock, picture frame to described decoding unit.
6. bar-code decoder according to claim 1, is characterized in that, described imageing sensor is at least provided with two, and the quantity of described imageing sensor is less than the quantity of described decoding unit.
7. bar-code decoder according to claim 1, it is characterized in that, described default dispatching algorithm is for sequentially giving described picture frame alternate allocation described decoding unit or according to described feedback signal, described picture frame distributed to the described decoding unit in idle condition.
8. bar-code decoder according to claim 7, is characterized in that, described feedback signal comprises to be processed end signal and/or is identified as function signal.
9. a bar code decoding method, is characterized in that, comprising:
Obtain successive image frame;
According to default dispatching algorithm, the picture frame of appointment is distributed to the decoding unit of appointment;
Between decoding unit, independently decode simultaneously.
10. bar code decoding method according to claim 9, is characterized in that, between decoding unit, independently decodes and comprises simultaneously:
If decoding unit successfully decoded, processes and exports decoded decoded information;
If decoding unit is decoded unsuccessfully, receive new picture frame and decode.
CN201310536412.2A 2013-11-04 2013-11-04 Bar code decoding device and method Pending CN103559474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310536412.2A CN103559474A (en) 2013-11-04 2013-11-04 Bar code decoding device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310536412.2A CN103559474A (en) 2013-11-04 2013-11-04 Bar code decoding device and method

Publications (1)

Publication Number Publication Date
CN103559474A true CN103559474A (en) 2014-02-05

Family

ID=50013716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310536412.2A Pending CN103559474A (en) 2013-11-04 2013-11-04 Bar code decoding device and method

Country Status (1)

Country Link
CN (1) CN103559474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988104A (en) * 2021-12-27 2022-01-28 北京紫光青藤微系统有限公司 Method and device for decoding bar code, scanning equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840491A (en) * 2010-05-25 2010-09-22 福建新大陆电脑股份有限公司 Barcode decoder supporting multi-image concurrent processing
CN201725346U (en) * 2010-06-01 2011-01-26 福建新大陆电脑股份有限公司 Serial bus type bar code decoding chip and bar code decoding device
US20110080414A1 (en) * 2009-10-01 2011-04-07 Wang Ynjiun P Low power multi-core decoder system and method
CN201859452U (en) * 2010-05-25 2011-06-08 福建新大陆电脑股份有限公司 Bar code decoder for supporting multi-code system parallel processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110080414A1 (en) * 2009-10-01 2011-04-07 Wang Ynjiun P Low power multi-core decoder system and method
CN101840491A (en) * 2010-05-25 2010-09-22 福建新大陆电脑股份有限公司 Barcode decoder supporting multi-image concurrent processing
CN201859452U (en) * 2010-05-25 2011-06-08 福建新大陆电脑股份有限公司 Bar code decoder for supporting multi-code system parallel processing
CN201725346U (en) * 2010-06-01 2011-01-26 福建新大陆电脑股份有限公司 Serial bus type bar code decoding chip and bar code decoding device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈柳华: "基于FPGA的图像采集和处理系统的设计", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 03, 15 March 2012 (2012-03-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988104A (en) * 2021-12-27 2022-01-28 北京紫光青藤微系统有限公司 Method and device for decoding bar code, scanning equipment and storage medium

Similar Documents

Publication Publication Date Title
US9462091B2 (en) Information processing apparatus, communication method and storage medium
US9378403B2 (en) Method of using camera sensor interface to transfer multiple channels of scan data using an image format
CN106900082B (en) Data processing method of sensor network node and sensor network node
CN103000008A (en) Method and apparatus for responding remote signals of remote receiving equipment
US10194389B2 (en) Data processing device, data processing method, and program for sampling rate control of sensors
CN102112973A (en) Mediation device, mediation system, mediation method, semiconductor integrated circuit, and image processing device
CN108334407B (en) Scheduling parallel block-based data processing tasks on a hardware thread scheduler
CN109525803B (en) Video structuring processing device and method based on FPGA and artificial intelligence
CN104284076A (en) Method and device for processing preview image and mobile terminal
US20130293779A1 (en) Method and apparatus for quickly responding to signal
KR20140102605A (en) Image processing device
CN103729319A (en) Equipment system based on serial bus and data transmission method
US20130120406A1 (en) Graphics processing
CN106533976B (en) data packet processing method and device
CN103559474A (en) Bar code decoding device and method
CN103475877A (en) Video transmission method and system
CN103024394A (en) Video file editing method and device
CN113286174A (en) Video frame extraction method and device, electronic equipment and computer readable storage medium
CN112836607A (en) Sheep birth period early warning method
US9542760B1 (en) Parallel decoding JPEG images
CN103260017A (en) Video processing method, video processing device and video processing system
CN102148962A (en) Dual-digital signal processing (DSP) visual tracking remote monitoring system
CN107479891B (en) MVC model-based data processing system and method
CN114363478B (en) Signal processing unit, method, acceleration unit, electronic device, and system-on-chip
CN113992261B (en) System, method, device and medium for judging satellite remote control instruction sending opportunity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205