CN102968609B - Bar code reading equipment setting device based on one-dimensional Code 128 bar codes - Google Patents

Bar code reading equipment setting device based on one-dimensional Code 128 bar codes Download PDF

Info

Publication number
CN102968609B
CN102968609B CN201210480412.0A CN201210480412A CN102968609B CN 102968609 B CN102968609 B CN 102968609B CN 201210480412 A CN201210480412 A CN 201210480412A CN 102968609 B CN102968609 B CN 102968609B
Authority
CN
China
Prior art keywords
bar code
bar
fnc3
decoder module
instruction
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.)
Active
Application number
CN201210480412.0A
Other languages
Chinese (zh)
Other versions
CN102968609A (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.)
FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
FUJIAN XINNUO COMMUNICATION 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 FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd filed Critical FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201210480412.0A priority Critical patent/CN102968609B/en
Publication of CN102968609A publication Critical patent/CN102968609A/en
Application granted granted Critical
Publication of CN102968609B publication Critical patent/CN102968609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention provides a bar code reading equipment setting device based on one-dimensional Code 128 bar codes. The method comprises the following steps of: defining a bar code instruction of the one-dimensional Code 128 bar codes beginning from an FNC3 functional character; defining a command protocol in a decoding module of bar code reading equipment, wherein the command protocol is used for analyzing the bar code instruction of the one-dimensional Code 128 bar codes; reading the bar codes through the bar code reading equipment, analyzing the bar codes through the decoding module, and judging that whether the instruction is the bar code instruction of the one-dimensional Code 128 bar codes beginning from the FNC3 functional character; extracting a bar code instruction behind the FNC3 functional character through the decoding module, and analyzing; transmitting parameters to corresponding functional modules for performing function setting according to the bar code instruction behind the FNC3 functional character; and feeding information back to the decoding module after the parameter setting of the functional module is finished, and ending the setting step. The function setting of the bar code reading equipment is not required to be realized through a PC (personnel computer) terminal, and the operation process is simple and intuitive and the efficiency is high.

Description

A kind of bar code reader method to set up based on Code 128 bar code
[technical field]
The present invention relates to a kind of bar code reader method to set up based on Code 128 bar code.
[background technology]
The application of bar code reader is more and more extensive, and function also from strength to strength.The important task of of just having become device fabrication to research and develop is arranged to the change of its function.Most existing method to set up is that making one arranges software, and sets up the communications protocol arranging software and equipment.Then on PC, with data line and bar code reader connecting communication, the mode that software sends instruction by editor is set, sends to equipment and instruction is set, after equipment receives instruction, resolve, change functions of the equipments are set, and change result feedback is held to PC.
Prior art, maximum shortcoming must depend on PC exactly, just can arrange, and the editor of order is usually more loaded down with trivial details, and user arranges very inconvenient.Object of the present invention is exactly make the function setting of barcode device can be more convenient, need by PC, and not arrange more directly perceived, without the need to editing loaded down with trivial details setting command when user uses.
[summary of the invention]
The technical problem to be solved in the present invention, is to provide a kind of bar code reader method to set up based on Code 128 bar code, and make the function setting of bar code reader without the need to realizing by PC end, operating process is simple, directly perceived, and efficiency is high.
The present invention is achieved in that
Based on a bar code reader method to set up for Code 128 bar code, it is characterized in that: described bar code reader method to set up comprises the steps:
Step 10, define with the bar code instruction of Code 128 bar code of FNC3 functor beginning, FNC3 functor bar code instruction is below made up of with alphabetical combination numeral or letter or number, and different bar code instructions represents the setting of different functional modules;
Define bidding protocol in step 20, decoder module in bar code reader, this bidding protocol is in order to resolve the bar code instruction of Code 128 bar code;
Step 30, bar code reader bar code reading, then resolved by decoder module, determine whether with the bar code instruction of Code 128 bar code of FNC3 functor beginning; If not, then decoder module transmits decoded information to terminal, and setting steps stops; If so, then step 40 is continued;
Step 40, decoder module extract FNC3 functor bar code instruction below, and resolve; According to the bar code instruction after FNC3 functor, send parameter to corresponding functional module and carry out function setting;
After the success of step 50, functional module optimum configurations, feedback successful information is to decoder module, and setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and setting steps stops; Described step 10 and step 20 in no particular order order are carried out.
Further, step 50 is specific as follows: after the success of functional module optimum configurations, and feedback successful information to decoder module, and is sent by decoder module toggle sound module and arranges successfully prompt tone, and setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and decoder module toggle sound module sends setup failed prompt tone, and setting steps stops.
Tool of the present invention has the following advantages:
The present invention utilizes Code 128 bar code to carry out the various functions of quick-setting bar code reader, operate without the need to relying on PC end, eliminate PC and hold the order that complexity during software operation is loaded down with trivial details, operating process is simple, directly perceived, reduce the difficulty that bar code reader is safeguarded, improve the simplicity of use, the efficiency of bar code reader function setting improves, and greatly reduces the maintenance difficulties of system equipment.
[accompanying drawing explanation]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the schematic flow sheet of the inventive method.
[embodiment]
Refer to shown in Fig. 1, embodiments of the invention are described in detail.
The present invention relates to a kind of bar code reader method to set up based on Code 128 bar code, described bar code reader method to set up comprises the steps:
Step 10, define with the bar code instruction of Code 128 bar code of FNC3 functor beginning, FNC3 functor bar code instruction is below made up of with alphabetical combination numeral or letter or number, and different bar code instructions represents the setting of different functional modules;
Define bidding protocol in step 20, decoder module in bar code reader, this bidding protocol is in order to resolve the bar code instruction of Code 128 bar code;
Step 30, bar code reader bar code reading, then resolved by decoder module, determine whether with the bar code instruction of Code 128 bar code of FNC3 functor beginning; If not, then decoder module transmits decoded information to terminal, and setting steps stops; If so, then step 40 is continued;
Step 40, decoder module extract FNC3 functor bar code instruction below, and resolve; According to the bar code instruction after FNC3 functor, send parameter to corresponding functional module and carry out function setting;
After the success of step 50, functional module optimum configurations, feedback successful information is to decoder module, and setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and setting steps stops.
Described step 10 and step 20 in no particular order order are carried out.
Step 50 is specific as follows: after the success of functional module optimum configurations, and feedback successful information to decoder module, and is sent by decoder module toggle sound module and arranges successfully prompt tone, and setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and decoder module toggle sound module sends setup failed prompt tone, and setting steps stops.
Below in conjunction with specific embodiment, the present invention is described further.
All bar code recognitions that certain equipment manufacturers arranges its a hand-portable code reading device with Code 128 bar code are enable, and all bar codes namely arranged within the scope of its decoding code system of this equipment are readable.Implementation step is as follows:
(1) define bar code instruction sequence, namely define FNC3 functor bar code instruction sequence below, suppose that definition bar code order format is 8 bit digital letters, X 1x 2x 3x 4x 5x 6x 7x 8, wherein:
" X 1x 2" represent equipment manufacturers' (for distinguishing the device directive of different manufacturer)
" X 1x 2" be " AB "--represent first equipment manufacturers ...
" X 3x 4" representative products classification (for distinguishing dissimilar equipment)
" X 3x 4" be " 00 "--hand-portable code reading device
" X 3x 4" be " 01 "--hand-held gun-type code reading device
" X 3x 4" be " 02 "--fixed code reading device ...
" X 5x 6" represent Function Classification; " X 7x 8" representative function is set in detail:
" X 5x 6" be " 00 "--hardware setting
" X 5x 6" be " 01 "--decoding schema is arranged
" X 5x 6" be " 02 "--data layout is arranged
" X 5x 6" be " 03 "--bar code is arranged
" X 5x 6" be " 04 "--two-dimensional bar code is arranged
" X 5x 6" be " 05 "--other is arranged ...
As " X 5x 6" when being " 03 ":
" X 7x 8" be that " 00 ” – forbids (not reading) all bar codes
" X 7x 8" be " 01 ” – enable (readable) all bar codes
" X 7x 8" be that " 02 ” – forbids EAN-13 bar code
" X 7x 8" be " the enable EAN-13 bar code of 03 ” – ...
As " X 5x 6" when being " 04 ":
" X 7x 8" be " 00 "-forbid (not reading) all two-dimensional bar codes
" X 7x 8" be all two-dimensional bar codes of " 01 "-enable (readable)
" X 7x 8" be " 02 "-forbid QR two-dimensional bar code
" X 7x 8" be " the enable QR two-dimensional bar code of 03 ” – ...
Each equipment manufacturers can define different command scheme.Example is above a kind of bar code instruction definition scheme, last 2 bit data " X in superincumbent scheme 7x 8" arrange according to " X 5x 6" classification is different and different.
According to this cover instruction, all bar codes such as using " AB000301 " just can arrange within the scope of its decoding code system of this equipment are readable.Wherein " AB " represents first equipment manufacturers, and " 00 " afterwards represents handheld portable code reading device, and " 03 " represents bar code and arranges, and it is readable that last " 01 " represents the bar code arranged within the scope of this device decodes code systems all;
(2), when making Code 128 bar code, coded message starts with FNC3 functor, and information is afterwards " AB000301 ";
(3) bar code reader is at this Code 128 bar code of reading, if running into first character is FNC3, then this bar code information is not sent to terminal, and is taken out by the decoded information after this bar code FNC3 functor, and analyzes.If find take out information the 1st and the 2nd character be " AB ", then representative be these equipment manufacturers definition code is set, if instead these two characters are not " AB ", then terminate setting.Then the 3rd and the 4th character is read, if " 00 ", then representing this, to arrange code be setting for hand-portable code reading device, at this moment equipment can check whether as hand-portable code reading device, not terminate to arrange, otherwise by continuation acquisition the 5th and the 6th bit data, this two bits is classified, if " 03 ", then representative arranges the bar code function of this equipment.Continue acquisition the 7th and the 8th bit data, if " 01 " then to represent the bar code arranged within the scope of this device decodes code systems all readable.Finally in amendment equipment about the parameter that bar code reading is enable, preserve amendment parameter.
The present invention utilizes Code 128 bar code to carry out the various functions of quick-setting bar code reader, operate without the need to relying on PC end, eliminate PC and hold the order that complexity during software operation is loaded down with trivial details, operating process is simple, directly perceived, reduce the difficulty that bar code reader is safeguarded, improve the simplicity of use, the efficiency of bar code reader function setting improves, and greatly reduces the maintenance difficulties of system equipment.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (2)

1. based on a bar code reader method to set up for Code 128 bar code, it is characterized in that: described bar code reader method to set up comprises the steps:
Step 10, define with the bar code instruction of Code 128 bar code of FNC3 functor beginning, FNC3 functor bar code instruction is below made up of with alphabetical combination numeral or letter or number, and different bar code instructions represents the setting of different functional modules;
Define bidding protocol in step 20, decoder module in bar code reader, this bidding protocol is in order to resolve the bar code instruction of Code 128 bar code;
Step 30, bar code reader bar code reading, then resolved by decoder module, determine whether with the bar code instruction of Code 128 bar code of FNC3 functor beginning; If not, then decoder module transmits decoded information to terminal, and setting steps stops; If so, then step 40 is continued;
Step 40, decoder module extract FNC3 functor bar code instruction below, and resolve; According to the bar code instruction after FNC3 functor, send parameter to corresponding functional module and carry out function setting;
After the success of step 50, functional module optimum configurations, feedback successful information is to decoder module, and setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and setting steps stops; Described step 10 and step 20 in no particular order order are carried out.
2. a kind of bar code reader method to set up based on Code 128 bar code according to claim 1, it is characterized in that: step 50 is specific as follows: after the success of functional module optimum configurations, feedback successful information is to decoder module, and sent by decoder module toggle sound module prompt tone is set successfully, setting steps stops; If the failure of functional module optimum configurations, then feeding back unsuccessful information is to decoder module, and decoder module toggle sound module sends setup failed prompt tone, and setting steps stops.
CN201210480412.0A 2012-11-22 2012-11-22 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes Active CN102968609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210480412.0A CN102968609B (en) 2012-11-22 2012-11-22 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480412.0A CN102968609B (en) 2012-11-22 2012-11-22 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes

Publications (2)

Publication Number Publication Date
CN102968609A CN102968609A (en) 2013-03-13
CN102968609B true CN102968609B (en) 2015-04-15

Family

ID=47798742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480412.0A Active CN102968609B (en) 2012-11-22 2012-11-22 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes

Country Status (1)

Country Link
CN (1) CN102968609B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794420A (en) * 2015-04-27 2015-07-22 江苏中科贯微自动化科技有限公司 Code128 automatic identification method for industrial automatic production
CN107578583B (en) * 2017-08-31 2020-07-28 百富计算机技术(深圳)有限公司 Setting method and system of payment terminal and terminal equipment
CN109376568A (en) * 2018-09-19 2019-02-22 上海商米科技有限公司 Identify the method, apparatus and system of bar code

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587529A (en) * 2008-05-20 2009-11-25 上海先达企业发展有限公司 Method for setting state of bar code equipment by using bar code as instruction information
CN102129612A (en) * 2011-01-28 2011-07-20 四川长虹电器股份有限公司 Method for implementing universal production bar-code system for digital set top boxes
CN102523399A (en) * 2011-12-14 2012-06-27 广东长虹电子有限公司 Realization method for carrying out rapid parameter configuration through bar code scanning and television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070119941A1 (en) * 2005-11-30 2007-05-31 Symbol Technologies, Inc. Bar code scanner programming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587529A (en) * 2008-05-20 2009-11-25 上海先达企业发展有限公司 Method for setting state of bar code equipment by using bar code as instruction information
CN102129612A (en) * 2011-01-28 2011-07-20 四川长虹电器股份有限公司 Method for implementing universal production bar-code system for digital set top boxes
CN102523399A (en) * 2011-12-14 2012-06-27 广东长虹电子有限公司 Realization method for carrying out rapid parameter configuration through bar code scanning and television

Also Published As

Publication number Publication date
CN102968609A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN202977922U (en) SIM card stand and mobile terminal
CN102968609B (en) Bar code reading equipment setting device based on one-dimensional Code 128 bar codes
CN102819876A (en) Mobile phone attendance checking system and its realizing method
CN101923504B (en) Card reader testing tool and card reader testing method
CN102890766A (en) Wireless communication subscriber system
CN106843808B (en) A kind of instruction analytic method of compatible different-format type
CN101980501A (en) Mobile communication terminal and network connection method thereof
CN111615099B (en) eSIM card interaction control method and related equipment
CN104102961A (en) Electric power tool and instrument management system and management method
PL1964042T3 (en) Method for the preparation of a chip card for electronic signature services
CN102236426A (en) Terminal integrated input equipment and terminal interaction system
CN102883227A (en) Character inputting method, devices and system
CN101702732A (en) Document synchronous method and document synchronous system
CN101304565A (en) Method and unit for recognizing mobile terminal as well as method and system for providing increment service
CN103716445A (en) Dynamic barcode-based data exchange method
CN113377362B (en) Automatic source code generation and adaptation method for private protocol analysis of electric control end
CN102254145A (en) Two-dimensional bar code reading device and method
CN102185612A (en) Run-length coding and decoding methods and devices
CN100440778C (en) Device and method for recognizing quick response codes run on mobile terminals
CN104361308A (en) STM32-based handheld two-dimension code recognizer
CN204515804U (en) Can connect and be convenient to the system of data transmission between a kind of equipment fast
CN102662716A (en) Method for realizing startup guiding control in computer system by using interface access
CN103237359A (en) Method and device for terminal connecting
CN105183406A (en) Intelligent wireless printing method and printing system using the intelligent wireless printing method
CN101710258B (en) Chinese character input method in embedded device based on remote controller

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