CN201364583Y - Barcode scanning device - Google Patents

Barcode scanning device Download PDF

Info

Publication number
CN201364583Y
CN201364583Y CNU2009200037693U CN200920003769U CN201364583Y CN 201364583 Y CN201364583 Y CN 201364583Y CN U2009200037693 U CNU2009200037693 U CN U2009200037693U CN 200920003769 U CN200920003769 U CN 200920003769U CN 201364583 Y CN201364583 Y CN 201364583Y
Authority
CN
China
Prior art keywords
bar code
unit
communication control
control unit
data
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 - Lifetime
Application number
CNU2009200037693U
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNU2009200037693U priority Critical patent/CN201364583Y/en
Application granted granted Critical
Publication of CN201364583Y publication Critical patent/CN201364583Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The utility model discloses a barcode scanning device, which comprises a barcode reading unit, a micro-processing unit, a storage unit, a communication control unit and an output unit, wherein the micro-processing unit receives barcode data read by the barcode reading unit, the barcode data is stored into the storage unit, the communication control unit is connected between the storage unit and a host machine and used for receiving successful information that the host sends processed data back, and when the communication control unit receives the successful information, and the micro-processing unit controls the communication control unit to output the barcode data to the host machine via the output unit. Because the output unit has no need to output the barcode data immediately, the barcode scanning device can scan multiple barcode data continuously and store the data into the storage unit.

Description

Bar code scanner
Technical field
The utility model relates to a kind of scanister, relates in particular to a kind of bar code scanner (barcodescanner).
Background technology
At present, what produce that online part system adopts is browser/server (Browser/Server) structure, is a kind of network structure pattern after webpage (Web) rises, and browser (Browser) is the topmost application software of client.This pattern has been unified client, and the core that systemic-function is realized focuses on the server, has simplified exploitation, maintenance and the use of system.Need only on the client computer browser is installed, as Netscape Navigator's (Netscape Navigator) browser of Netscape communication or network explorer (InternetExplorer) browser of Microsoft.The server installation database (Database, DB), as databases such as Oracle, Sybase, Informix or SQL Server.Browser can carry out data interaction by server (Server) and database.The browser/server structure biggest advantage is exactly can operate anywhere and any special software need not be installed, as long as there is the computing machine that to surf the Net just can use, and the very easy system of the expansion of system, such system has partial function need adopt bar code scanner (BarCode Scanner) to carry out the data input.
The data entry device of prior art adopts the key entry incident (onkeydown) of bar code scanner to receive bar code data, and obtains bar code data and server carries out exchanges data from webpage.When speeding up of scanning, and the speed of server process response the problem that data are lost then may occur when being slower than the speed of scanning.So for fear of above problem occurring, the user must waiting for server with a last bar code data processing response after, sweep new data by bar code scanner again, must increase user's stand-by period like this, thereby make the decrease in efficiency of data entry device.
The utility model content
Technical problem to be solved in the utility model provides a kind of bar code scanner, so as to bar code data is stored in the storage element, can makes many bar code datas of bar code scanner continuous sweep, and be stored in the storage element.
For achieving the above object, this novel disclosed bar code scanner comprises: bar code reading unit, microprocessing unit, storage element, communication control unit and output unit; Wherein, microprocessing unit receives the bar code data that bar code reading unit read, and bar code data is stored in the storage element; Communication control unit is linked between storage element and the main frame, communication control unit is in order to receive the successful information of main frame passback deal with data, when communication control unit received successful information, microprocessing unit was then controlled communication control unit and is exported bar code data to main frame by output unit.
Wherein, bar code reading unit is Charged Coupled Device sensor (Charge Coupled Devicesensor, CCD sensor).
In addition, storage element is flash memory (Flash memory), random access memory (Random AccessMemory, RAM), static random access memory (Static RAM, SRAM), SDRAM (Synchronous dynamic random access memory) (Synchronous Dynamic RAM, SHAM), bus DRAM (Dynamic Random Access Memory) (Rambus DRAM, RDRAM), Double Date Rate random access memory (Double Date Rate RAM, DDR-RAM) or pseudo channel internal memory (Virtual Channel Memory SDRAM, VCM-RAM) arbitrary.
In this, but output unit is universal serial bus (Universal Serial Bus, USB) (Institute of Electrical and Electronics Engineers, IEEE) connectivity port, PS2 (Personal System 2) connectivity port or RS-232 (RecommendedStandard-232) connectivity port is arbitrary for connectivity port, IEEE1394.
According to bar code scanner provided by the utility model, many bar code datas can be stored in the storage element, when treating that output unit is connected with external electronic, in regular turn bar code data is exported by communication control unit again.The input efficiency that can increase bar code scanner is with portable.
Relevant characteristics and implementation of the present utility model, conjunction with figs. is described in detail as follows as most preferred embodiment now.
Description of drawings
Fig. 1 is the synoptic diagram according to the bar code scanner of an embodiment of the present utility model.
Fig. 2 is the bar code scanner operational flowchart according to an embodiment of the present utility model.
Fig. 3 a is the original state figure according to the data structure of the one-dimension array of an embodiment of the present utility model.
Fig. 3 b is the constitutional diagram of data structure after storing a plurality of bar code datas according to the one-dimension array of an embodiment of the present utility model.
Fig. 3 c is the constitutional diagram of data structure when reading a bar code data of the one-dimension array of a foundation embodiment of the present utility model.
Wherein, Reference numeral:
100: bar code scanner
110: bar code reading unit
120: microprocessing unit
130: storage element
140: communication control unit
150: output unit
200: main frame
300: one-dimension array
310: write pointer
320: read pointer
Embodiment
Please refer to shown in Figure 1ly, it is the synoptic diagram according to the bar code scanner of this novel embodiment.Bar code scanner 100 comprises: bar code reading unit 110, microprocessing unit 120, storage element 130, communication control unit 140 and output unit 150.
Wherein, bar code reading unit 110 reads the bar code data of product or file, and bar code data is sent in the microprocessing unit 120.Microprocessing unit 120 links bar code reading unit 110 and storage element 130, and microprocessing unit 120 receives the bar code data that bar code reading unit 110 is read, and bar code data is stored in the storage element 130.Communication control unit 140 is linked between storage element 130 and the main frame 200 (also can be described as external device (ED)), and communication control unit 140 also links with output unit 150, and communication control unit 140 is in order to receive the successful information of main frame 200 passback deal with data.When this communication control unit 140 receives successful information, then export bar code data to main frame 200 by output unit 150.
In this, when having bar code data in the communication control unit 140 detection storage elements 130, then communication control unit 140 can be carried out first in first out (First In First Out, FIFO) control, according to the order that deposits in of bar code data, with bar code data output unit 150 outputs in regular turn.Wherein first in first out control is meant the bar code data that deposits in is earlier preferentially exported, after the bar code data that deposits in export more slowly.
Wherein, bar code reading unit 110 can be but be not limited to Charged Coupled Device sensor (ChargeCoupled Device sensor, CCD sensor).Microprocessing unit 120 can be but be not limited to microcontroller (Micro Controller Unit, MCU).Storage element 130 can be but be not limited to the arbitrary of flash memory, random access memory, static random access memory, SDRAM (Synchronous dynamic random access memory), bus DRAM (Dynamic Random Access Memory), Double Date Rate random access memory or pseudo channel internal memory.Communication control unit 140 can be but be not limited to microcontroller (Micro Controller Unit, MCU).Output unit 150 can be but be not limited to universal serial bus (Universal Serial Bus, USB) (Institute of Electrical and Electronics Engineers, IEEE) connectivity port, PS2 (Personal System 2) connectivity port or RS-232 (RecommendedStandard-232) connectivity port is arbitrary for connectivity port, IEEE1394.
Please refer to shown in Figure 2ly, it is the bar code scanner operational flowchart according to this novel embodiment.May further comprise the steps:
S200, bar code scanner scanning bar code (barcode);
S202, bar code reading unit receive bar code data, and are sent in the microprocessing unit;
S204, microprocessing unit are stored to bar code data in the storage element;
S206, microprocessing unit are with write pointer (write point) next position pointed;
S208, receive the main frame passback by communication control unit and handle the previous successful information that transmits data;
S210, when communication control unit receives successful information, communication control unit judges whether there is bar code data in the storage element;
S212, if in the storage element when having bar code data, then communication control unit exports bar code data to main frame by output unit; And
S214, communication control unit are with read pointer (read point) next position pointed.
Wherein, abovementioned steps S200 is the start key (promptly pressing start key) that is started bar code scanner by the user, and the bar code (barcode) of product or file is scanned.
Abovementioned steps S202 presses via the user for bar code reading unit and to cause key entry incident (onkeydown) behind the start key, and receives the bar code data of product or file, and bar code data is sent in the microprocessing unit.
Abovementioned steps S204 behind microprocessing unit reception bar code data, is stored to write pointer position pointed in the storage element with bar code data.
Abovementioned steps S206 is after storage unit stores is finished, and microprocessing unit sends steering order, and the position that write pointer is pointed is moved one backward, points to next storable position.
Abovementioned steps S208 is to carry out trace routine by communication control unit, detects main frame and whether returns successful information.
Abovementioned steps S210 is when communication control unit receives successful information, and then communication control unit judges whether there is bar code data in the storage element, judges that promptly whether the write pointer position is greater than the read pointer position.Otherwise, when output unit links main frame, then do not carry out any action.
Abovementioned steps S212 is when having bar code data in the storage element, then takes out the bar code data of read pointer position pointed, and exports main frame to by output unit.Otherwise, when not having bar code data in the storage element, repeated execution of steps S210 then.
Abovementioned steps S214 is to send steering order by communication control unit, and position next to be read is pointed in one backward of the position that read pointer is pointed.
Wherein, the user can be by step S200 to step S206, and the bar code to product or file scans continuously, and need not wait for that communication control unit exports the bar code data in the storage element to main frame.Therefore, the bar code scanner of an embodiment of the present utility model can not link under the situation of main frame, still can carry out the scanning of bar code.
In addition, bar code scanner can be by step S208 to step S214, carry out trace routine via communication control unit, when communication control unit and main frame binding, by communication control unit the bar code data in the storage element is controlled by first in first out again, exported bar code data to main frame in regular turn.
Wherein, for above-mentioned bar code can be but be not limited to: one-dimensional bar code (1D Barcode), two-dimensional bar (2D Barcode) and three-dimensional barcode (3D Barcode).In this, the kind of bar code can be global codeword value (Universal Product Code, UPC), European codeword value (European ArticleNumber, EAN), 39 yards (Code 39), the coding that can take data file 417 (PDF417), quick response codes (QRCode) or make by oneself by manufacturer, but be not limited to the bar code of mentioned kind.
Please refer to shown in Fig. 3 a to Fig. 3 c, it is the schematic diagram according to the data structure of the storage element of this novel embodiment.As shown in the figure, data structure is used an one-dimension array 300, and uses read pointer (read point) 320 and write pointer (write point) 310 to point to present array indexing value (index) position.
Please refer to shown in Fig. 3 a, it is the original state figure according to the data structure of the one-dimension array of this novel embodiment.At this moment, do not store bar code data in the one-dimension array 300, read pointer 320 points to position next to be read, promptly points to the array indexing value and be 0 position.Write pointer 310 points to next storable position, promptly points to the array indexing value and be 0 position.
Please refer to shown in Fig. 3 b, it is the constitutional diagram of data structure after storing a plurality of bar code datas according to the one-dimension array of this novel embodiment.After one-dimension array 300 stored three bar code datas, read pointer 320 pointed to position next to be read, promptly pointed to the array indexing value and be 0 position.Write pointer 310 points to next storable position, promptly points to the array indexing value and be 3 position.Wherein, behind bar code data of every storage, write pointer 310 positions that can backward move to next array indexing value pointed.
Please refer to shown in Fig. 3 c, it is the constitutional diagram of data structure when reading a bar code data of the one-dimension array of this novel embodiment of foundation.When reading the bar code data of one-dimension array 300, after reading the bar code data that present read pointer 320 points to positions (promptly read the array indexing value be 0 bar code data), read pointer 320 can move to the position of next array indexing value backward, promptly points to the array indexing value and be 1 position.
Wherein, before reading of data, communication control unit can earlier judge whether the bar code data of existence is arranged in the one-dimension array 300, if do not have bar code data then do not do the action of reading.
Certainly; the utility model also can have other various embodiments; under the situation that does not deviate from the utility model spirit and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the utility model, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the utility model.

Claims (4)

1. a bar code scanner is suitable for and a main-machine communication, it is characterized in that, comprises a bar code reading unit, a microprocessing unit, a storage element, a communication control unit and an output unit; Wherein, this microprocessing unit receives the bar code data that this bar code reading unit reads, and this bar code data is stored in this storage element; This communication control unit is linked between this storage element and this main frame, and this communication control unit is in order to receive a successful information of this main frame passback deal with data; When this communication control unit received this successful information, this microprocessing unit was controlled this communication control unit and is exported this bar code data to this main frame by this output unit.
2. bar code scanner according to claim 1 is characterized in that, this bar code reading unit is the Charged Coupled Device sensor.
3. bar code scanner according to claim 1, it is characterized in that this storage element is the arbitrary of flash memory, random access memory, static random access memory, SDRAM (Synchronous dynamic random access memory), bus DRAM (Dynamic Random Access Memory), Double Date Rate random access memory or pseudo channel internal memory.
4. bar code scanner according to claim 1 is characterized in that, but this output unit is the arbitrary of general serial bus connection port, IEEE1394 connectivity port, PS2 connectivity port or RS-232 connectivity port.
CNU2009200037693U 2009-01-23 2009-01-23 Barcode scanning device Expired - Lifetime CN201364583Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2009200037693U CN201364583Y (en) 2009-01-23 2009-01-23 Barcode scanning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2009200037693U CN201364583Y (en) 2009-01-23 2009-01-23 Barcode scanning device

Publications (1)

Publication Number Publication Date
CN201364583Y true CN201364583Y (en) 2009-12-16

Family

ID=41475253

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2009200037693U Expired - Lifetime CN201364583Y (en) 2009-01-23 2009-01-23 Barcode scanning device

Country Status (1)

Country Link
CN (1) CN201364583Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235837A (en) * 2013-05-07 2013-08-07 北京京东尚科信息技术有限公司 Method and device for processing scanned data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235837A (en) * 2013-05-07 2013-08-07 北京京东尚科信息技术有限公司 Method and device for processing scanned data
CN103235837B (en) * 2013-05-07 2016-03-09 北京京东尚科信息技术有限公司 A kind of method and apparatus of processing scan data

Similar Documents

Publication Publication Date Title
CN104464105A (en) Bicycle renting and returning system and method based on mobile phone application (APP) and Bluetooth communication
CN101937467A (en) High-efficiency caching method and system of server
CN100566177C (en) Conversion method and system
CN101196935B (en) System and method for creating index database
CN102999480B (en) The method and system of Edit Document
WO2017113782A1 (en) Intelligent gating barcode decoding method and system
CN201364583Y (en) Barcode scanning device
CN100471151C (en) Method and devices for browsing WML or RSS web page on computer
CN110866166A (en) Distributed web crawler performance optimization system for mass data acquisition
CN101739412A (en) Web page safety evaluating device and web page safety evaluating method for intelligent card
WO2017113783A1 (en) Intelligent gating barcode decoding method and chip
CN105320691A (en) Account information recognition method and device
CN202523084U (en) Wireless transmission card capable of inserting memory card
CN101097597A (en) Fingerprint identification module based on SoC
CN103903366A (en) Book management method based on mobile intelligent terminal
CN201084164Y (en) A novel desktop two-dimensional bar code reader
CN102419840A (en) Online book borrowing system for libraries
CN101853266A (en) Method and device for quickly searching mobile terminal and webpage thereof
CN104063506A (en) Method and device for identifying repeated web pages
CN101458611A (en) Object selecting system and method
CN114066488A (en) Product anti-counterfeiting tracing identification equipment and method based on industrial Internet
CN201725346U (en) Serial bus type bar code decoding chip and bar code decoding device
CN101782907A (en) Data scanning and inputting method
CN101334833A (en) Intelligent type two-dimension bar-code reading device
CN113010184B (en) Method for realizing conversion from Axure engineering to Qt engineering

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20091216

CX01 Expiry of patent term