CN104424459B - A kind of method for quickly identifying of one-dimensional laser bar code and device - Google Patents

A kind of method for quickly identifying of one-dimensional laser bar code and device Download PDF

Info

Publication number
CN104424459B
CN104424459B CN201310375780.3A CN201310375780A CN104424459B CN 104424459 B CN104424459 B CN 104424459B CN 201310375780 A CN201310375780 A CN 201310375780A CN 104424459 B CN104424459 B CN 104424459B
Authority
CN
China
Prior art keywords
data
bar code
barcode
buffering area
unit
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
CN201310375780.3A
Other languages
Chinese (zh)
Other versions
CN104424459A (en
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.)
GUANGZHOU WINSON INFORMATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU WINSON INFORMATION TECHNOLOGY 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 GUANGZHOU WINSON INFORMATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU WINSON INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310375780.3A priority Critical patent/CN104424459B/en
Publication of CN104424459A publication Critical patent/CN104424459A/en
Application granted granted Critical
Publication of CN104424459B publication Critical patent/CN104424459B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present invention proposes a kind of method for quickly identifying of one-dimensional laser bar code, including:Whether SOS edge signals arrive, and in this way, start to receive DATA barcode datas and execute next step;Otherwise, continue to judge;Obtain top clear area data and bar code character data and deposit in the buffer;Start to obtain terminal clear area data and deposit in the buffer, whether setting time arrives, and in this way, whether next edge signal arrives;Otherwise, next step is executed;Following edge signal arrival then executes next step;Otherwise, wait until and arrive and execute next step;Start to distinguish;Buffer data is dumped to forward direction and reverse buffering area and executes next step, initially entered the reception to next barcode data and return;Decoding;Output bar code.The invention further relates to a kind of device for realizing said method.Implement the method for quickly identifying and device of the one-dimensional laser bar code of the present invention, have the advantages that:Time-consuming, recognition speed.

Description

A kind of method for quickly identifying of one-dimensional laser bar code and device
Technical field
The present invention relates to bar code field, more particularly to a kind of method for quickly identifying of one-dimensional laser bar code and device.
Background technology
All it is at present that (serial barcode data is swept by SOS to the reception of DATA (serial barcode data) barcode signal on the market Retouch the cycle) edge signal is used as beginning and end period, that is, when SOS edge signals arrive, start to receive DATA bar codes Data, when next SOS edge signals arrive, terminate the reception of DATA barcode datas, then start again to distinguish, so exist In the case that DATA barcode signal holding times are short, next SOS edge signals just finish to DATA bar codes when also not arriving The reception of data, and SOS edge signals will be waited to arrive just start to distinguish, so terminate to receive from DATA barcode datas next Anything is not done in time period between the arrival of SOS edge signals, cause this time period sufficiently can not be utilized, make Into waste of time, and it is slower to distinguish speed.
Content of the invention
The technical problem to be solved in the present invention is, for prior art above-mentioned lose time, distinguish slow Defect, there is provided a kind of method for quickly identifying of the one-dimensional laser bar code of time-consuming, recognition speed and device.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of quick identification of one-dimensional laser bar code Method, comprises the steps:
A) judge whether the edge signal of SOS periodic signals arrives, in this way, start to receive DATA barcode datas and execute step Rapid B);Otherwise, proceed the judgement of this step;The DATA barcode datas include the clear area data of both sides and are located at described DATA bar code character data between clear area;The DATA bar code characters data include bar and the sky being alternately arranged successively, one The individual bar is empty for a unit;
B top clear area data) are obtained and is deposited in the buffer;
C) obtain top clear area data after bar code character data and deposit in the buffer;
D) start to obtain terminal clear area data and deposit in the buffer, and judge whether setting time arrives, in this way, Execution step F);Otherwise, execution step E);Setting multiple of the setting time at least above the time width of the unit;
E) judge whether next edge signal of the SOS periodic signals arrives, in this way, execution step F);Otherwise, wait Until next edge signal of the SOS periodic signals arrives and execution step F);
F) data in the buffering area are started to distinguish;
G) by the data conversion storage in the buffering area in positive buffering area, and by the reverse of the data in the buffering area Data conversion storage in reverse buffering area and execution step H), start simultaneously at and enter to the reception of next DATA barcode datas and return Return step B);
H) to the data in the positive buffering area or the decoding data in reverse buffering area;
I) bar code of the data or type corresponding to the data in the reverse buffering area in the positive buffering area is exported.
In the method for quickly identifying of one-dimensional laser bar code of the present invention, the setting time is more than the DATA bars 3 times of the time width of last unit in code data.
In the method for quickly identifying of one-dimensional laser bar code of the present invention, step H) further include:
H1) judge whether the data in the positive buffering area meet the feature of the first barcode types, in this way, execution step H2);Otherwise, execution step H3);
H2) judge whether to distinguish first barcode types, in this way, execution step I);Otherwise, execution step H3);
H3) judge whether the data in the reverse buffering area meet the feature of the first barcode types, in this way, execution step H4);Otherwise, execution step H5);
H4) judge whether to distinguish first barcode types, in this way, execution step I);Otherwise, execution step H5);
H5) according to step H1), H2), H3) and mode H4) judge whether the spy that meets other barcode types again Levy, in this way, execution step I);Otherwise, next one DATA barcode datas return to step F are obtained).
In the method for quickly identifying of one-dimensional laser bar code of the present invention, the feature of first barcode types is institute The width feature of the code element of DATA barcode datas is stated, the DATA barcode datas are digital quantity or analog quantity.
In the method for quickly identifying of one-dimensional laser bar code of the present invention, step I) in bar code pass through USB Directly export.
The invention further relates to a kind of device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code, including:
First edge signal judging unit:For judging whether the edge signal of SOS periodic signals arrives, in this way, start Receive DATA barcode datas;Otherwise, proceed to judge;The DATA barcode datas include the clear area data of both sides and are located at DATA bar code character data between the clear area;The DATA bar code characters data include the bar that is alternately arranged successively and Sky, a bar is empty for a unit;
Top data acquisition unit:For obtaining top clear area data and depositing in the buffer;
Character data acquisition unit:For the bar code character data that obtain after the data of the top clear area and it is stored in In buffering area;
Terminal data acquisition unit:For starting to obtain terminal clear area data and deposit in the buffer, and judge to set Fix time and whether arrive;Setting multiple of the setting time at least above the time width of the unit;
Second edge signal judging unit:For judging whether next edge signal of the SOS periodic signals arrives, and Wait until that when not arriving next edge signal of the SOS periodic signals arrives;
Recognition unit:For starting to distinguish to the data in the buffering area;
Data conversion storage unit:For by the data conversion storage in the buffering area in positive buffering area, and by the buffering The reverse data conversion storage of the data in area in reverse buffering area starts simultaneously at entrance and next DATA barcode datas is connect Receive;
Decoding unit:For to the data in the positive buffering area or the decoding data in reverse buffering area;
Bar code output unit:For exporting the data in the positive buffering area or the data institute in the reverse buffering area The bar code of corresponding types.
In the device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code of the present invention, the setting time 3 times more than the time width of last unit in the DATA barcode datas.
In the device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code of the present invention, the decoding unit Further include:
Positive buffered data judge module:For judging whether the data in the positive buffering area meet the first bar code class The feature of type;
Recognition module:For judging whether to distinguish first barcode types;
Reverse buffered data judge module:For judging whether the data in the reverse buffering area meet the first bar code class The feature of type;
Other types bar code judge module:For according to the positive buffered data judge module, recognition module and reversely Mode in buffered data judge module judges whether the feature for meeting other barcode types again;Such as do not meet, obtain next DATA barcode datas are simultaneously returned.
In the device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code of the present invention, first bar code The feature of type is the width feature of the code element of the DATA barcode datas, and the DATA barcode datas are digital quantity or mould Analog quantity.
In the device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code of the present invention, the bar code output Bar code in unit is directly exported by USB.
Implement the method for quickly identifying and device of the one-dimensional laser bar code of the present invention, have the advantages that:Due to Start obtain terminal clear area data when and judge whether setting time arrives, when setting time arrives, begin to distinguish;When When setting time does not arrive, then judge whether next edge signal of SOS periodic signals arrives, if arrived, start to distinguish; Thus will receive DATA barcode datas to the next one SOS edge signals arrival between time fully utilize, in advance Start to distinguish, so its time-consuming, recognition speed.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the flow chart of method in the method for quickly identifying of one-dimensional laser bar code of the invention and device one embodiment;
Fig. 2 is DATA bar code waveform diagrams in the embodiment;
Fig. 3 is the particular flow sheet decoded in the embodiment;
Fig. 4 is the structural representation of device in the embodiment.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the method for quickly identifying of one-dimensional laser bar code of the invention and device embodiment, flow chart such as Fig. 1 of its method Shown.In Fig. 1, the method comprises the steps:
Step S01 judges whether the edge signal of SOS periodic signals arrives:In this step, the side of SOS periodic signals is judged Whether arrive along signal, if arrived, execution step S02;Otherwise, proceed the judgement of this step.It is noted that The edge signal of SOS periodic signals here can be rising edge signal, or trailing edge signal.
Step S02 starts to receive DATA barcode datas:If the judged result of above-mentioned steps S01 is yes, this step is executed Suddenly.In the present embodiment, DATA barcode datas are the data of bar code decoding, and DATA barcode datas include the clear area number of both sides According to and DATA bar code character data between clear area;Transmission process is needed after the recognition of DATA bar code characters data scanning, Use when the clear area of the left and right sides is only distinguished for bar code scan, it is not necessary to participate in message code transmission.DATA bar code character numbers According to the bar (secret note) for including being alternately arranged successively and empty (blank), bar code information is passed with empty different in width and position by bar Pass, comprising the customizing messages expressed by bar code.Said one bar is empty for a unit;The clear area of both sides is called respectively The top clear area and terminal clear area of DATA bar code characters.In this step, it is ready to start to receive DATA barcode datas.
Step S03 obtains top clear area data and deposits in the buffer:In this step, when SOS cycle edge signals During arrival, start to obtain top clear area data, and be deposited in buffering area.It is noted that in the present embodiment, will Clear area and sky are arranged to high level, and secret note is arranged to low level, refer to the DATA bar code waveforms in Fig. 2.Certainly, at which In his embodiment, it is also possible to clear area and sky are arranged to low level, secret note is arranged to high level.
Step S04 obtain top clear area data after bar code character data and deposit in the buffer:In this step, Start to obtain when the high level of top clear area occurs saltus step the bar code character data after the data of top clear area, and should Bar code character data are deposited in the buffer.
Step S05 starts to obtain terminal clear area data and deposit in the buffer, and judges whether setting time arrives: In this step, when the low level of last secret note of bar code character data occurs saltus step, start to obtain terminal clear area number According to, and terminal clear area data are deposited in the buffer, while there is the moment of saltus step from the low level of last secret note Start to judge whether setting time arrives, in this way, execution step S08;Otherwise, execution step S06.In the present embodiment, during setting Between at least above unit (secret note or blank) time width setting multiple, set multiple can be set according to actual conditions Fixed.Specifically, in the present embodiment, setting time is referred to more than 3 times of the width of last unit in DATA barcode datas Hn in Fig. 2, in Fig. 2, setting time is Hn > 3Ln.Certainly, as the case may be, it is also possible to adjust the size of Hn, such as:Can Being Hn > 2Ln.DATA barcode datas will be received thus fully sharp to the time between the arrival of next one SOS edge signals Use, start in advance to distinguish, so its time-consuming, recognition speed.
Step S06 judges whether next edge signal of SOS periodic signals arrives:If the judgement knot of above-mentioned steps S05 Fruit is no, then execute this step.In this step, judge whether next edge signal of SOS periodic signals arrives, namely judge with Whether the next one that a upper edge signal of SOS periodic signals is adjacent arrives along signal, in this way, execution step S08;Otherwise, hold Row step S07.
Step S07 waits until that next edge signal of SOS periodic signals arrives:If the judgement knot of above-mentioned steps S06 Fruit is no, then execute this step.In this step, wait always, the next edge signal to SOS periodic signals arrives.Execute This step, execution step S08.
Step S08 to buffering area in data start to distinguish:In this step, during computer equipment prepares to start to buffering area Data start to distinguish.This step is executed, execution step S09 starts simultaneously at entrance and next DATA barcode datas are connect Receive and return to step S02.
Step S09 by the data conversion storage in buffering area in positive buffering area, and the reverse number by the data in buffering area According to dumping in reverse buffering area:In this step, by the data conversion storage that deposits in buffering area in positive buffering area, will also delay Rush the data that deposits in area to dump in positive buffering area by the order of forward read, while by the data in buffering area by reversely The order of reading is dumped in reverse buffering area.Reversely the data in buffering area are the reverse numbers of the data in positive buffering area According to.
Step S10 is to the decoding data in the data in positive buffering area or reverse buffering area:In this step, align Decoding data in the data in buffering area or reverse buffering area, with regard to how specifically to decode, is had in detail after a while Description.
The bar code of data or type corresponding to the data in reverse buffering area in the positive buffering area of step S11 output:This In step, the bar code of data or type corresponding to the data in reverse buffering area in the positive buffering area of output, this is output Bar code is bar code, that is, decoded character data.Such as:Bar code can be EAN13, EAN8, UPC-A, UPC-E、CODABAR(NW-7)、CODE39、CODE93、INTERLEAVED_2OF5、STANDARD_2OF5、MATRIX_2OF5、 CODE128, EAN128 (GS1-128), CODE11, CHINESE_POST etc..It is noted that in the present embodiment, one-dimensional bar The RM of code recognizes that for laser certainly, in other embodiments, the RM of bar code can also be CCD identifications Or CMOS camera identification.USB of the prior art is not directly output, but turns USB using serial ports TTL, or PS2 turns USB, which increases peripheral interface conversion chip circuit, so as to increase manufacturing cost, increases after-sale service difficulty, reduces output Barcode data speed.It is noted that in the present embodiment, bar code is directly exported by USB, so there is no need to serial ports TTL turns USB or turns to export bar code again after USB by PS2, so reducing peripheral circuit, reduces manufacturing cost, while improving defeated Go out bar code character data speed.
For the present embodiment, above-mentioned steps S10 also further can be refined, its particular flow sheet such as Fig. 3 after refining Shown.In Fig. 3, step S10 is further included:
Step S101 judges whether the data in positive buffering area meet the feature of the first barcode types:In this step, sentence Whether the data in disconnected forward direction buffering area meet the feature of the first barcode types, in the present embodiment, above-mentioned first barcode types The width feature (time width feature) of the code element of DATA barcode datas is characterized as, if the judged result of this step is It is, then execution step S102;Otherwise, execution step S103.
Step S102 judges whether to distinguish the first barcode types:If the judged result of above-mentioned steps S101 is It is then to execute this step.In this step, judge whether to distinguish the first barcode types, in this way, execution step S11;No Then, execution step S103.
Step S103 judges whether the data in reverse buffering area meet the feature of the first barcode types:If above-mentioned steps The judged result of S102 is no, then execute this step.In this step, judge whether the data in reverse buffering area meet first The feature of code type, in this way, then execution step S104;Otherwise, execution step S105.
Step S104 judges whether to distinguish the first barcode types:If the judged result of above-mentioned steps S103 is It is then to execute this step.In this step, judge whether to distinguish the first barcode types, in this way, execution step S11;No Then, execution step S105.
Step S105 judges whether to meet other bar codes again according to the mode of step S101, S102, S103 and S104 The feature of type:If the judged result of above-mentioned steps S104 is no, this step is executed.In this step, according to the step The mode of S101, S102, S103 and S104 judges whether the feature for meeting other barcode types again, if it is determined that result be It is, then execution step S11;Otherwise, execution step S106.In other words, in the present embodiment decode when, to each barcode types according to Secondary judged, until finding out the barcode types met by the data in data in positive buffering area or positive buffering area.
Step S106 obtains next one DATA barcode datas:In this step, next one DATA barcode datas are obtained, and is returned Step S08.
In prior art, DATA barcode datas are digital quantity, cause bar code scan signal message amount to reduce and restrict reading code Energy.It is noted that in the present embodiment, DATA barcode datas are digital quantity or analog quantity, compared with prior art, the present invention Increased bar code scan signal message amount.
The present embodiment further relates to a kind of device of the method for quickly identifying for realizing above-mentioned one-dimensional laser bar code, its structural representation Figure is as shown in Figure 4.In Fig. 4, the device includes the first edge signal judging unit 1, top data acquisition unit 2, character data Acquisition unit 3, terminal data acquisition unit 4, the second edge signal judging unit 5, recognition unit 6, data conversion storage unit 7, solution Code unit 8 and bar code output unit 9
;Wherein, the first edge signal judging unit 1 is used for judging whether the edge signal of SOS periodic signals arrives, such as It is to start to receive DATA barcode datas;Otherwise, proceed to judge;DATA barcode datas include both sides clear area data and The DATA bar code character data being located between clear area;DATA bar code character data include bar and the sky being alternately arranged successively, one Individual bar is empty for a unit;Top data acquisition unit 2 is used for obtaining top clear area data and depositing in the buffer;Word Symbol data acquisition unit 3 is used for the bar code character data obtained after the data of top clear area and deposits in the buffer;Terminal Data acquisition unit 4 is used for starting to obtain terminal clear area data and deposit in the buffer, and judges whether setting time arrives Come;Setting multiple of the setting time at least above the time width of unit;Second edge signal judging unit 5 is used for judging SOS Whether next edge signal of periodic signal arrives, and waits until next edge signal of SOS periodic signals when not arriving Arrive;Data during recognition unit 6 is used for buffering area start to distinguish;Data conversion storage unit 7 is used for the data in buffering area Dump in positive buffering area, and by the reverse data conversion storage of the data in buffering area in reverse buffering area, start simultaneously at into Enter the reception to next DATA barcode datas;During decoding unit 8 is used for the data in positive buffering area or reverse buffering area Decoding data;Bar code output unit 9 is used for exporting the data in positive buffering area or the data institute in reverse buffering area The bar code of corresponding types.3 times more than the time width of last unit in DATA barcode datas of above-mentioned setting time.Due to The reception DATA barcode data end times are seized, is distinguished in advance, so shortening the recognition time, is improve recognition speed.Meanwhile, In the present embodiment, the bar code in bar code output unit 9 is directly exported by USB, so reducing peripheral circuit, reduces generation Cost, while improve output bar code character data speed.DATA barcode datas are digital quantity or analog quantity, so which increasing bar Code scanning signal information content.
In the present embodiment, decoding unit 8 further includes positive buffered data judge module 81, recognition module 82, reversely Buffered data judge module 83 and other types bar code judge module 84;Wherein, positive buffered data judge module 81 is used for sentencing Whether the data in disconnected forward direction buffering area meet the feature of the first barcode types;The feature of first barcode types is DATA bar codes The width feature (time width feature) of the code element of data, recognition module 82 are used for judging whether to enter the first barcode types Row recognition;Reversely buffered data judge module 83 is used for judging whether the data in reverse buffering area meet the first barcode types Feature;Other types bar code judge module 84 is used for according to positive buffered data judge module 81, recognition module 82 and reversely Mode in buffered data judge module 83 judges whether the feature for meeting other barcode types again;Such as do not meet, obtain next Individual DATA barcode datas are simultaneously returned.
In a word, in the present embodiment, due to seizing the end time for receiving DATA barcode signals, distinguish in advance, shorten The recognition time, so be integrally improved recognition speed;Simultaneously as the DATA barcode signals of collection, can be supported at integer simultaneously Digitlization barcode signal after reason (binaryzation), the simulation barcode signal before supporting integer to process (binaryzation), so which increases Bar code scan signal message amount;Further, since bar code is directly exported by USB, so which raises output bar code character number According to speed.
Presently preferred embodiments of the present invention is the foregoing is only, not in order to limit the present invention, all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements that is made etc. should be included within the scope of the present invention.

Claims (10)

1. a kind of method for quickly identifying of one-dimensional laser bar code, it is characterised in that comprise the steps:
A) judge whether the edge signal of SOS periodic signals arrives, in this way, start to receive DATA barcode datas execution step B);Otherwise, proceed the judgement of this step;The DATA barcode datas include the clear area data of both sides and are located at the sky DATA bar code character data between white area;The DATA bar code characters data include bar and the sky being alternately arranged successively, one The bar is empty for a unit;
B top clear area data) are obtained and is deposited in the buffer;
C) obtain top clear area data after bar code character data and deposit in the buffer;
D) start to obtain terminal clear area data and deposit in the buffer, and judge whether setting time arrives, in this way, execute Step F);Otherwise, execution step E);Setting multiple of the setting time at least above the time width of the unit;
E) judge whether next edge signal of the SOS periodic signals arrives, in this way, execution step F);Otherwise, wait until Next edge signal of the SOS periodic signals arrives and execution step F);
F) data in the buffering area are started to distinguish;
G) by the data conversion storage in the buffering area in positive buffering area, and the reverse data by the data in the buffering area Dump in reverse buffering area and execution step H), start simultaneously at and enter the reception to next DATA barcode datas and return step Rapid B);
H) to the data in the positive buffering area or the decoding data in reverse buffering area;
I) bar code of the data or type corresponding to the data in the reverse buffering area in the positive buffering area is exported.
2. the method for quickly identifying of one-dimensional laser bar code according to claim 1, it is characterised in that the setting time is big 3 times of the time width of last unit in the DATA barcode datas.
3. the method for quickly identifying of one-dimensional laser bar code according to claim 1 and 2, it is characterised in that step H) Further include:
H1) judge whether the data in the positive buffering area meet the feature of the first barcode types, in this way, execution step H2); Otherwise, execution step H3);
H2) judge whether to distinguish first barcode types, in this way, execution step I);Otherwise, execution step H3);
H3) judge whether the data in the reverse buffering area meet the feature of the first barcode types, in this way, execution step H4); Otherwise, execution step H5);
H4) judge whether to distinguish first barcode types, in this way, execution step I);Otherwise, execution step H5);
H5) according to step H1), H2), H3) and mode H4) judge whether the feature that meets other barcode types again, such as It is, execution step I);Otherwise, next one DATA barcode datas return to step F are obtained).
4. the method for quickly identifying of one-dimensional laser bar code according to claim 3, it is characterised in that the first bar code class The feature of type is the width feature of the code element of the DATA barcode datas, and the DATA barcode datas are digital quantity or simulation Amount.
5. the method for quickly identifying of one-dimensional laser bar code according to claim 4, it is characterised in that step I) in Bar code is directly exported by USB.
6. a kind of device for realizing the method for quickly identifying of one-dimensional laser bar code as claimed in claim 1, it is characterised in that bag Include:
First edge signal judging unit:For judging whether the edge signal of SOS periodic signals arrives, in this way, start to receive DATA barcode datas;Otherwise, proceed to judge;The DATA barcode datas include the clear area data of both sides and are located at described DATA bar code character data between clear area;The DATA bar code characters data include bar and the sky being alternately arranged successively, one The individual bar is empty for a unit;
Top data acquisition unit:For obtaining top clear area data and depositing in the buffer;
Character data acquisition unit:For the bar code character data that obtain after the data of the top clear area and it is stored in buffering Qu Zhong;
Terminal data acquisition unit:For starting to obtain terminal clear area data and deposit in the buffer, and when judging to set Between whether arrive;Setting multiple of the setting time at least above the time width of the unit;
Second edge signal judging unit:For judging whether next edge signal of the SOS periodic signals arrives, and not Wait until during arrival that next edge signal of the SOS periodic signals arrives;
Recognition unit:For starting to distinguish to the data in the buffering area;
Data conversion storage unit:For by the data conversion storage in the buffering area in positive buffering area, and by the buffering area Data reverse data conversion storage in reverse buffering area, start simultaneously at and enter reception to next DATA barcode datas;
Decoding unit:For to the data in the positive buffering area or the decoding data in reverse buffering area;
Bar code output unit:For exporting corresponding to the data in the positive buffering area or the data in the reverse buffering area The bar code of type.
7. the dress for realizing the method for quickly identifying of one-dimensional laser bar code as claimed in claim 1 according to claim 6 Put, it is characterised in that 3 times more than the time width of last unit in the DATA barcode datas of the setting time.
8. the method for quickly identifying of one-dimensional laser bar code as claimed in claim 1 is realized according to claim 6 or 7 Device, it is characterised in that the decoding unit is further included:
Positive buffered data judge module:For judging whether the data in the positive buffering area meet the first barcode types Feature;
Recognition module:For judging whether to distinguish first barcode types;
Reverse buffered data judge module:For judging whether the data in the reverse buffering area meet the first barcode types Feature;
Other types bar code judge module:For according to the positive buffered data judge module, recognition module and reverse buffering Mode in data judge module judges whether the feature for meeting other barcode types again;Such as do not meet, obtain next one DATA Barcode data is simultaneously returned.
9. the dress for realizing the method for quickly identifying of one-dimensional laser bar code as claimed in claim 1 according to claim 8 Put, it is characterised in that the feature of first barcode types is the width feature of the code element of the DATA barcode datas, institute DATA barcode datas are stated for digital quantity or analog quantity.
10. the dress for realizing the method for quickly identifying of one-dimensional laser bar code as claimed in claim 1 according to claim 9 Put, it is characterised in that the bar code in the bar code output unit is directly exported by USB.
CN201310375780.3A 2013-08-23 2013-08-23 A kind of method for quickly identifying of one-dimensional laser bar code and device Expired - Fee Related CN104424459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310375780.3A CN104424459B (en) 2013-08-23 2013-08-23 A kind of method for quickly identifying of one-dimensional laser bar code and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310375780.3A CN104424459B (en) 2013-08-23 2013-08-23 A kind of method for quickly identifying of one-dimensional laser bar code and device

Publications (2)

Publication Number Publication Date
CN104424459A CN104424459A (en) 2015-03-18
CN104424459B true CN104424459B (en) 2017-03-15

Family

ID=52973380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310375780.3A Expired - Fee Related CN104424459B (en) 2013-08-23 2013-08-23 A kind of method for quickly identifying of one-dimensional laser bar code and device

Country Status (1)

Country Link
CN (1) CN104424459B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797646B (en) * 2020-07-08 2021-06-29 北京京东振世信息技术有限公司 Bar code identification method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263382A (en) * 1991-02-18 1992-09-18 Tokyo Electric Co Ltd Bar code reader
CN1934483A (en) * 2003-11-13 2007-03-21 计量仪器股份有限公司 Hand-held imaging-based bar code symbol reader for supporting narrow scope and wide scope mode illumination and image catch
CN101154261A (en) * 2006-09-27 2008-04-02 深圳迈瑞生物医疗电子股份有限公司 Bar code scanner and method thereof
CN101770598A (en) * 2008-12-30 2010-07-07 刘俊勇 Active frequency identification label, system and identification method
CN102411702A (en) * 2011-06-10 2012-04-11 广州捷宝电子科技发展有限公司 Peak filter laser barcode recognizing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6607133B2 (en) * 1990-09-10 2003-08-19 Metrologic Instruments, Inc. Automatically-activated hand-supportable laser scanning bar code symbol reading system with data transmission activation switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263382A (en) * 1991-02-18 1992-09-18 Tokyo Electric Co Ltd Bar code reader
CN1934483A (en) * 2003-11-13 2007-03-21 计量仪器股份有限公司 Hand-held imaging-based bar code symbol reader for supporting narrow scope and wide scope mode illumination and image catch
CN101154261A (en) * 2006-09-27 2008-04-02 深圳迈瑞生物医疗电子股份有限公司 Bar code scanner and method thereof
CN101770598A (en) * 2008-12-30 2010-07-07 刘俊勇 Active frequency identification label, system and identification method
CN102411702A (en) * 2011-06-10 2012-04-11 广州捷宝电子科技发展有限公司 Peak filter laser barcode recognizing method

Also Published As

Publication number Publication date
CN104424459A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN1073316C (en) A cell switch and a method for routing cells therethrough
CN101882205B (en) Bar code image scanning method
CN102982302A (en) Method for mobile phone to automatically recognize two-dimensional code
CN104424459B (en) A kind of method for quickly identifying of one-dimensional laser bar code and device
CN101840492B (en) Barcode decoder for supporting multi-code system parallel processing
WO2017113782A1 (en) Intelligent gating barcode decoding method and system
CN102411701A (en) Method and system for scanning and identifying two-dimensional code array image for invoice special for value-added tax
US20190182403A1 (en) Scanning device, image-forming apparatus, and scanning method
CN102968325B (en) A kind of USB device and the method and apparatus of auto-initiation thereof
CN1122939C (en) Improved method for collision management in non-contact data exchange system
CN108074085A (en) A kind of bill withholds method and apparatus
CN201859452U (en) Bar code decoder for supporting multi-code system parallel processing
CN115834739B (en) Method for receiving variable-length data frames in SPI (serial peripheral interface) communication of intelligent fusion terminal of transformer area
CN1040694A (en) Hand-written charactor recognition apparatus
CN101833639B (en) Bar-code decoder supporting multiprogram concurrent processing
CN101853047A (en) Timer realization method and device
CN101521760B (en) Frame synchronizing method of digital television signal and parallel processing method thereof
CN201725346U (en) Serial bus type bar code decoding chip and bar code decoding device
CN101685489B (en) Label anti-collision method and reader
CN101882200A (en) System on chip for integrating bar code decoding chip and optical image sensor array
CN101859365A (en) Bar code decoding chip
CN106156676A (en) A kind of image-type CCD bar code method for quickly identifying and device
CN201820241U (en) Bar code decoding device supporting multi-step parallel processing
CN101840494B (en) Device for judging bar code boundary
CN102446157A (en) Communication method and device of processor cores based on array structure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20170315

Termination date: 20180823