CN101540004B - Mechanical barcode nameplate - Google Patents
Mechanical barcode nameplate Download PDFInfo
- Publication number
- CN101540004B CN101540004B CN200910014091A CN200910014091A CN101540004B CN 101540004 B CN101540004 B CN 101540004B CN 200910014091 A CN200910014091 A CN 200910014091A CN 200910014091 A CN200910014091 A CN 200910014091A CN 101540004 B CN101540004 B CN 101540004B
- Authority
- CN
- China
- Prior art keywords
- mechanical
- character
- vertical
- bar
- bar code
- 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
Links
- 239000011159 matrix material Substances 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 19
- 238000003754 machining Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 37
- 238000000034 method Methods 0.000 description 30
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000007639 printing Methods 0.000 description 6
- 238000004049 embossing Methods 0.000 description 4
- 238000012015 optical character recognition Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 229910000831 Steel Inorganic materials 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000010959 steel Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
Images
Landscapes
- General Factory Administration (AREA)
Abstract
本发明公开了一种机械条码铭牌。它解决了目前解决制造业信息化的问题,结构简单,使用方便,使得机械条码铭牌能很好的应用于机械加工和制造行业等恶劣环境。其结构为:它包括铭牌体,在铭牌体的两侧为空白区,在空白区之间设有至少一个一维或二维条码的二进制数据区,数据区由凹或凸竖条以及竖条间的空组成,竖条之间的空的数量可调。
The invention discloses a mechanical barcode nameplate. It solves the current problem of informatization in the manufacturing industry. It has a simple structure and is easy to use, so that the mechanical barcode nameplate can be well used in harsh environments such as machining and manufacturing industries. Its structure is as follows: it includes a nameplate body, and there are blank areas on both sides of the nameplate body. There is at least one one-dimensional or two-dimensional barcode binary data area between the blank areas. The data area consists of concave or convex vertical bars and vertical bars. The number of spaces between vertical bars is adjustable.
Description
技术领域 technical field
本发明涉及机械加工领域和自动化识别领域中使用的条形码技术,尤其涉及一种机械条码铭牌。The invention relates to the bar code technology used in the fields of mechanical processing and automatic identification, in particular to a mechanical bar code nameplate.
技术背景technical background
产品铭牌广泛应用于生产的方方面面,是绝大多数机电产品、钢材等不可缺少的重要标志,包含着产品性能、规格、出厂代号、国家标准、生产日期等重要信息。实现产品从生产、入库、销售到用户的全过程信息化物流管理,是信息化发展的必然要求,完成这个过程不仅需要产品本身具有可识别性(铭牌信息制作),而且必须对产品进行自动识别(铭牌信息自动录入)。目前我国机电产品的生产、入库、出库到市场各环节的记录工作基本靠人工完成,工作量极大。因此,在采集到铭牌信息以后,实现铭牌信息的自动录入,对信息化物流管理具有重要意义。Product nameplates are widely used in all aspects of production, and are indispensable and important signs for most mechanical and electrical products, steel products, etc., and contain important information such as product performance, specifications, factory code, national standards, and production dates. It is an inevitable requirement for the development of informatization to realize the whole process of product information logistics management from production, warehousing, sales to users. To complete this process, not only the product itself must be identifiable (nameplate information production), but also the product must be automatically Identification (nameplate information is automatically entered). At present, the recording work of the production, warehousing, warehousing and market of mechanical and electrical products in my country is basically done manually, and the workload is huge. Therefore, after the nameplate information is collected, it is of great significance to realize the automatic entry of nameplate information for information logistics management.
自动识别技术是以信息技术和自动化技术为基础,以数据采集、识别、分析、传输为主要内容的综合技术,是实现信息数据识别、输入的重要方法和手段。目前条码技术是应用最广泛的自动识别技术,国内采用条码标识的产品已超过100万种。尽管条码技术已在许多领域得到了应用,但仍然存在不足,如容易划伤需要外层加工保护、印刷平面容易不均匀、易于灰尘污染、原纸或印标后卷曲以及扫瞄器规格不同等问题,限制其更大范围的应用。特别是在有强烈信息化要求的制造业,由于行业本身特殊情况和应用条件限制了条码技术的应用,例如钢铁行业的恶劣生产制造环境和仓储环境,传统的条码技术已经不再适用。利用光学字符识别(OCR)技术对铭牌图像直接进行字符识别,由于铭牌压印字符是字符模具在铭牌表面直接压印成形的,字符区域和背景区域之间没有色差,字符区域和背景区域有不同的高度,字符不是通过色差成像,而是通过字符区域同背景区域对光线的反射不同成像。造成识别率、正确率以及识别速度较低等问题,限制了此类技术的直接运用。Automatic identification technology is a comprehensive technology based on information technology and automation technology, with data collection, identification, analysis, and transmission as the main content. It is an important method and means to realize information data identification and input. At present, bar code technology is the most widely used automatic identification technology. There are more than 1 million products marked by bar code in China. Although barcode technology has been applied in many fields, there are still deficiencies, such as easy to scratch and need outer layer processing protection, easy to uneven printing plane, easy to dust pollution, base paper or curl after printing, and different scanner specifications, etc. , limiting its wider application. Especially in the manufacturing industry with strong information requirements, the application of barcode technology is limited due to the special circumstances and application conditions of the industry itself, such as the harsh manufacturing environment and storage environment of the steel industry, traditional barcode technology is no longer applicable. Use Optical Character Recognition (OCR) technology to directly perform character recognition on the nameplate image. Since the nameplate embossed characters are directly embossed on the surface of the nameplate by the character mold, there is no color difference between the character area and the background area, and the character area and the background area are different. The height of the character is not imaged by color difference, but by the different reflection of light between the character area and the background area. It causes problems such as low recognition rate, correct rate and recognition speed, which limits the direct application of such technologies.
发明内容 Contents of the invention
本发明的目的就是为了克服现有技术的缺点,解决制造业信息化的问题,提供一种具有结构简单,使用方便,使得机械条码铭牌能很好的应用于机械加工和制造行业等恶劣环境的机械条码铭牌。The purpose of the present invention is to overcome the shortcomings of the prior art, solve the problem of informatization in the manufacturing industry, and provide a simple structure, easy to use, so that the mechanical barcode nameplate can be well used in harsh environments such as machining and manufacturing industries. Mechanical barcode nameplate.
为实现上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种机械条码铭牌,它包括铭牌体,在铭牌体的两侧为空白区,在空白区之间设有至少一个一维或二维条码的二进制数据区,数据区由凹或凸的竖条以及竖条间的空组成,竖条之间的空的数量可调。A mechanical barcode nameplate, which includes a nameplate body, blank areas on both sides of the nameplate body, at least one one-dimensional or two-dimensional barcode binary data area between the blank areas, the data area consists of concave or convex vertical bars As well as the space composition between the vertical bars, the number of spaces between the vertical bars is adjustable.
所述一维数据区的机械条码呈一行排列,机械条码包括由若干个空隔开的依次排列的起始符竖条、数据字符竖条、校验符竖条和终止符竖条;其中,The mechanical barcodes of the one-dimensional data area are arranged in a row, and the mechanical barcodes include the vertical bars of the initial character, the vertical bars of the data characters, the vertical bars of the check character and the vertical bars of the terminator arranged in sequence separated by several spaces; wherein,
起始符竖条为机械条码中首一位或几位字符竖条,用于识别一条机械条码的开始;The vertical bar of the start character is the first one or several character vertical bars in the mechanical barcode, which is used to identify the beginning of a mechanical barcode;
数据符竖条位于起始符竖条的后面,是机械条码存储编码信息的区域,根据实际需求任意定义数据符区域中数据的位数;The data character vertical bar is located behind the start character vertical bar, which is the area where the mechanical barcode stores coding information, and the number of data bits in the data character area can be arbitrarily defined according to actual needs;
校验符竖条位于数据符竖条区域后面的几位字符竖条,在识别时对数据字符识别的正确性进行校验;The vertical bar of the check character is located at the vertical bar of several characters behind the vertical bar area of the data character, and verifies the correctness of the data character recognition during recognition;
终止符竖条为机械条码的最后一位或几位字符竖条,用于识别一条机械条码的结束。The terminator vertical bar is the last one or several character vertical bars of the mechanical barcode, which is used to identify the end of a mechanical barcode.
所述二维数据区包括两行或两行以上机械条码,每行机械条码包括由若干个空隔开的依次排列的起始符竖条、数据字符竖条、校验符竖条和终止符竖条;其中,The two-dimensional data area includes two or more rows of mechanical barcodes, and each row of mechanical barcodes includes vertical bars of start characters, vertical bars of data characters, vertical bars of check characters and terminators arranged in sequence separated by several spaces. vertical bars; of which,
起始符竖条为机械条码中首一位或几位字符竖条,用于识别一条机械条码的开始;The vertical bar of the start character is the first one or several character vertical bars in the mechanical barcode, which is used to identify the beginning of a mechanical barcode;
数据符竖条位于起始符竖条的后面,是机械条码存储编码信息的区域,根据实际需求任意定义数据符区域中数据的位数;The data character vertical bar is located behind the start character vertical bar, which is the area where the mechanical barcode stores coding information, and the number of data bits in the data character area can be arbitrarily defined according to actual needs;
校验符竖条位于数据符竖条区域后面的几位字符,在识别时对数据字符识别的正确性进行校验;The vertical bar of the check character is a few characters behind the vertical bar area of the data character, and the correctness of the data character recognition is verified during recognition;
终止符竖条为机械条码的最后一位或几位字符竖条,用于识别一条机械条码的结束。The terminator vertical bar is the last one or several character vertical bars of the mechanical barcode, which is used to identify the end of a mechanical barcode.
所述二维数据区包括由若干个竖条和若干个竖条间的空组成的矩阵式机械条码;其中,第一行和第一列为机械条码的起始行和起始列;The two-dimensional data area includes a matrix mechanical barcode composed of several vertical bars and spaces between the several vertical bars; wherein, the first row and the first column are the initial row and initial column of the mechanical barcode;
从第二行开始至倒数第二行中,每行均由若干个空隔开的依次排列的起始符竖条、数据字符竖条、校验符竖条和终止符竖条,其中,起始符竖条为机械条码中首一位或几位字符竖条,用于识别一条机械条码的开始;数据符竖条位于起始符竖条的后面,是机械条码存储编码信息的区域,根据实际需求任意定义数据符区域中数据的位数;校验符竖条位于数据符竖条区域后面的几位字符,在识别时对数据字符识别的正确性进行校验;终止符竖条为机械条码的最后一位或几位字符竖条,用于识别一条机械条码的结束;From the second line to the penultimate line, each line is separated by a number of blanks and arranged in sequence with vertical bars of the start character, data character, check character, and terminator. Among them, the starting character The vertical bar of the start character is the first character or several characters in the mechanical barcode, which is used to identify the beginning of a mechanical barcode; the vertical bar of the data character is located behind the vertical bar of the start character, which is the area for storing the coding information of the mechanical barcode. The actual demand defines the number of digits of the data in the data character area arbitrarily; the vertical bar of the check character is located at the several characters behind the vertical bar area of the data character, and the correctness of the data character recognition is verified during recognition; the vertical bar of the terminator is mechanical The last character or characters of the barcode are used to identify the end of a mechanical barcode;
最后一行从第二列到最后一列的按照第二行至倒数第二行中每一列的二进制字符进行奇偶校验计算出。The parity of the last row from the second column to the last column is calculated according to the binary characters of each column in the second row to the penultimate row.
所述空为机械条码中能够压印或识别的最小的竖条之间的距离。The space is the distance between the smallest vertical bars that can be embossed or identified in the mechanical barcode.
所述数据区下方设有供人识读/输入字符区,它由凹或凸的阿拉伯数字或字符中的至少一种组成,并是与二进制机械条码对应的十六进制读数。A character area for people to read/input is provided below the data area, which is composed of at least one of concave or convex Arabic numerals or characters, and is a hexadecimal reading corresponding to a binary mechanical barcode.
本发明与普通标牌和车牌的区别在于:用途不同:机械条码铭牌为了机器识别用途;而车牌直接为人阅读用。目的不同:机械条码铭牌为标识并提供高可靠性的识别率;车牌仅为标识。字符直接的关系不同:机械条码铭牌字符和字符之间有严格的数学算法导出的紧密关系;车牌字符之间关系松散。字符结构不同:机械条码铭牌有数据符、校验符等等的条码结构;车牌不具有。代表信息不同:二维机械条码直接代表产品详细信息;车牌仅代表有限的标识信息。字符的产生不同:机械条码铭牌的字符为凹凸字符形成的反光差字符;车牌为色差字符。The difference between the present invention and common signboards and license plates lies in: different purposes: mechanical barcode nameplates are for machine identification purposes; and license plates are directly used for human reading. The purpose is different: the mechanical barcode nameplate is for identification and provides high reliability recognition rate; the license plate is only for identification. The direct relationship between the characters is different: there is a close relationship between the characters on the mechanical barcode nameplate and the characters derived from a strict mathematical algorithm; the relationship between the license plate characters is loose. The character structure is different: the mechanical barcode nameplate has a barcode structure such as data character, check character, etc.; the license plate does not have it. The representative information is different: the two-dimensional mechanical barcode directly represents the detailed information of the product; the license plate only represents limited identification information. The generation of characters is different: the characters on the mechanical barcode nameplate are reflective difference characters formed by concave and convex characters; the license plate is color difference characters.
本发明的有益效果为:它参照发展成熟的条码技术,对现有的技术进行分析,结合实际应用背景,发明出一种全新的铭牌制作技术——机械条码铭牌。本发明技术可以在增加极少的成本下,广泛的应用在环境条件极为恶劣、可靠性要求高有信息化要求的行业和企业。与现有的条码技术相对比,机械条码铭牌的制作是采用机械加工的方法在铭牌上制作条空。此种方法目前是独一无二的。机械条码铭牌的编解码借助编码技术,有严格和可测的识别率、错误率和拒识率等。与现有的铭牌或标牌不同是在载体加工出的符号,是简单的条和空的形式,一维机械条码铭牌不直接代表产品的信息。The beneficial effect of the present invention is that it refers to the well-developed bar code technology, analyzes the existing technology, and combines the actual application background to invent a brand-new nameplate manufacturing technology—mechanical bar code nameplate. The technology of the invention can be widely used in industries and enterprises with extremely harsh environmental conditions, high reliability requirements and informatization requirements with very little added cost. Compared with the existing bar code technology, the production of mechanical bar code nameplate is to use the method of mechanical processing to make the bar on the nameplate. This approach is currently unique. The encoding and decoding of mechanical barcode nameplates has strict and measurable recognition rate, error rate and rejection rate with the help of encoding technology. Different from the existing nameplates or signs, the symbols processed on the carrier are in the form of simple bars and spaces. One-dimensional mechanical barcode nameplates do not directly represent product information.
分析了企业铭牌信息化技术的特征,吸取了条码技术中的优点,发明出采用机械加工技术实现的机械条码铭牌制作技术。采用对产品编码的方法,给每件产品一个独立的编码,并利用光学字符识别技术进行编码识别,从而达到对产品的识别和自动录入。本技术具有方式简单、实现简便、直观可阅读、可靠性高以及防伪等的特点。在基本不增加成本下实现快速准确识别,可靠性高,误码率可小于百万分之一。与其他条码自动识别技术相比,适应性更强,应用领域更广,特别是在仓储环境恶劣、盘点困难和可靠性要求高的行业有很好的推广使用价值。The characteristics of enterprise nameplate information technology are analyzed, and the advantages of barcode technology are absorbed, and the mechanical barcode nameplate production technology realized by mechanical processing technology is invented. Using the method of product coding, give each product an independent code, and use optical character recognition technology for code recognition, so as to achieve product recognition and automatic entry. The technology has the characteristics of simple method, easy implementation, intuitive readability, high reliability, anti-counterfeiting and the like. Fast and accurate identification can be achieved without increasing the cost, with high reliability and a bit error rate of less than one millionth. Compared with other barcode automatic identification technologies, it has stronger adaptability and wider application fields, especially in industries with harsh storage environment, difficult inventory and high reliability requirements.
虽然已经以当前认为是其最实际与较佳的实施展示与描述了本发明,对于熟悉本技术的人员显而易见可在本发明的范围内做出许多修改,这一范围是符合所附权利要求的最广泛的解释的,从而包括所有等效方法及产品。While the invention has been shown and described in what is presently considered to be its most practical and preferred implementation, it will be apparent to those skilled in the art that many modifications may be made within the scope of the invention, which scope is consistent with the appended claims broadest interpretation, thereby including all equivalent methods and products.
附图说明 Description of drawings
图1为本发明的结构示意图;Fig. 1 is a structural representation of the present invention;
图2为一维条码的二进制数据区;Fig. 2 is the binary data area of one-dimensional bar code;
图3为二维条码的二进制数据区;Fig. 3 is the binary data area of two-dimensional barcode;
图4为空的结构示意图;Fig. 4 is a schematic diagram of an empty structure;
图5a为竖条间空的数量不同的起始符和终止符的结构示意图;Fig. 5a is a structural schematic diagram of different start characters and terminators with different numbers of spaces between vertical bars;
图5b为竖条间空的数量不同的起始符和终止符的结构示意图;Fig. 5b is a structural schematic diagram of different starting characters and terminators with different numbers of spaces between vertical bars;
图5c为竖条间空的数量不同的起始符和终止符的结构示意图;Fig. 5c is a structural schematic diagram of different starting characters and terminators with different numbers of spaces between vertical bars;
图5d为竖条间空的数量不同的起始符和终止符的结构示意图。Fig. 5d is a structural schematic diagram of start symbols and stop symbols with different numbers of spaces between vertical bars.
具体实施方式 Detailed ways
下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
1.机械条码结构1. Mechanical barcode structure
由两侧的空白区、起始符竖条、数据字符竖条、校验符竖条(自校验)、终止符竖条和供人识读字符竖条组成。机械条码的基本结构如下图1、图2所示:It consists of blank areas on both sides, vertical bars of start characters, vertical bars of data characters, vertical bars of check characters (self-checking), vertical bars of terminators and vertical bars of human-readable characters. The basic structure of the mechanical barcode is shown in Figure 1 and Figure 2 below:
空白区又称为静区,是没有任何字符竖条或机械条码信息的区域,通常为机械条码载体的本底或与机械条码中的空字符相同,位于机械条码的两侧。对识别仪器起提示作用,即提示机械条码识别仪器准备扫描机械条码符号。The blank area, also known as the quiet area, is an area without any character vertical bars or mechanical barcode information. It is usually the background of the mechanical barcode carrier or the same as the blank character in the mechanical barcode, and is located on both sides of the mechanical barcode. It acts as a prompt for the recognition instrument, that is, it prompts the mechanical barcode recognition instrument to prepare to scan the mechanical barcode symbol.
起始符竖条:机械条码中首一位或几位字符竖条,它由特殊的字符竖条或条空机构用于识别一条机械条码的开始。识别仪器首先确认此字符竖条的存在,进而继续识别后续的信息。Start character vertical bar: the first one or several character vertical bars in the mechanical barcode, which are used to identify the beginning of a mechanical barcode by a special character vertical bar or bar space mechanism. The recognition instrument first confirms the existence of the vertical bar of this character, and then continues to recognize the subsequent information.
数据符竖条:位于起始符竖条的后面,是机械条码存储编码信息的区域,可以根据实际需求任意定义数据符区域中数据的位数。Data character vertical bar: located behind the start character vertical bar, it is the area where the mechanical barcode stores coding information, and the number of data bits in the data character area can be arbitrarily defined according to actual needs.
校验符竖条:位于数据符区域和终止符区域的几位字符竖条,通过对数据字符竖条进行一定的算术运算而确定,在识别时对数据字符竖条识别的正确性进行校验。Verification character vertical bar: several character vertical bars located in the data character area and terminator area, determined by performing certain arithmetic operations on the data character vertical bar, and verifying the correctness of the data character vertical bar recognition during recognition .
终止符竖条:机械条码的最后一位或几位字符竖条,它由特殊的字符竖条或条空构成,用于识别一条机械条码的结束。识别仪器识别确认此字符的存在,以便确认机械条码扫描完毕,避免不完整信息输入。Terminator vertical bar: the last one or several character vertical bars of the mechanical barcode, which are composed of special character vertical bars or bar spaces, and are used to identify the end of a mechanical barcode. The recognition instrument recognizes and confirms the existence of this character, so as to confirm that the mechanical barcode has been scanned and avoid incomplete information input.
数据符竖条、数据符竖条、校验符竖条和终止符竖条共同组成机械条码的数据区。The vertical bar of the data character, the vertical bar of the data character, the vertical bar of the check character and the vertical bar of the terminator together form the data area of the mechanical barcode.
供人识读/输入字符:位于机械条码的下方区域内,可用于机械条码无法识别时,人工输入的方法对机械条码加以识别。此项不是机械条码必须出现的内容,可以不出现在机械条码中。For human reading/input characters: located in the lower area of the mechanical barcode, it can be used to identify the mechanical barcode by manual input when the mechanical barcode cannot be recognized. This item is not required to appear in the mechanical barcode, and may not appear in the mechanical barcode.
在机械条码打印的区域上下也存在一定的空白区域,为了保证压印的机械定位等需要和识别区分,There is also a certain blank area above and below the area where the mechanical barcode is printed. In order to ensure the mechanical positioning of the imprint and the need for identification,
2.机械条码的符号结构2. Symbol structure of mechanical barcode
机械条码的符号组成可以根据实际情况设计两种或多种符号。机械条码符号是采用机械加工的方法压印在铭牌上的凹凸符号竖条,不同于普通条形码的印刷符号。符号的定义必须以便于识别装置识别为前提,例如采用竖杠或者阿拉伯数字1符号,制作简单、打印速度快,识别正确率高等特点。The symbol composition of the mechanical barcode can design two or more symbols according to the actual situation. The mechanical barcode symbol is a vertical bar of concave-convex symbols imprinted on the nameplate by mechanical processing, which is different from the printed symbols of ordinary barcodes. The definition of symbols must be based on the premise of being easy to identify by the identification device. For example, the vertical bar or the Arabic numeral 1 symbol is used, which has the characteristics of simple production, fast printing speed, and high recognition accuracy.
3.机械条码的编码3. Encoding of mechanical barcode
任何一种条码,都是按照预先规定的编码规则和有关标准,由条和空组合而成的。将为管理对象编制的由数字、字母、数字字母组成的代码序列称为编码。机械条码是一种按照一定的编码规则组合排列的信息代码。Any kind of barcode is composed of bars and spaces according to the pre-specified coding rules and relevant standards. The code sequence composed of numbers, letters, and numbers and letters compiled for the management object is called code. Mechanical bar code is a kind of information code arranged according to certain coding rules.
机械条码的编码方法是指机械条码中条、空的编码规则以及二进制的标识的逻辑设置。一维机械条码的编码方法主要有两种:模块组配编码法和宽度调节编码法。模块组配编码法是指条码符号中,条和空是由标准宽度的模块组合而成。机械条码的信息由不同的条和空模块组合方式不同来实现。宽度调节编码法是由宽窄设置不同的条空模块而组成条码的方法。The coding method of the mechanical barcode refers to the logical setting of bar and space coding rules and binary signs in the mechanical barcode. There are two main encoding methods for one-dimensional mechanical barcodes: module assembly encoding method and width adjustment encoding method. The module assembly coding method means that in the barcode symbol, bars and spaces are combined by modules of standard width. The information of the mechanical barcode is realized by different combinations of different bars and empty modules. The width adjustment coding method is a method in which barcodes are formed by setting different bar space modules with different widths.
可根据实际的需要改变机械条码的长度和编码方法。The length and encoding method of the mechanical barcode can be changed according to actual needs.
3.1机械条码压印符号区域大小3.1 Size of mechanical barcode embossed symbol area
图4中,所谓的空为机械条码最小距离:机械条码中能够压印或识别的最小的符号之间的距离,简称最小距离或最小分辨距离。机械条码安全距离:在机械条码中定义为2倍机械条码最小距离,简称安全距离。保证区域之间的相互独立性,防止由于机械定位误差、识别算法要求引起的错误。机械条码单个数据字符打印的区域的宽度定义为最小距离的4倍,安全距离的2倍。机械条码起始符/终止符打印区域定义为最小距离的8倍,安全距离的4倍。In Figure 4, the so-called empty is the minimum distance of the mechanical barcode: the distance between the smallest symbols that can be imprinted or recognized in the mechanical barcode, referred to as the minimum distance or the minimum resolution distance. Mechanical barcode safety distance: defined in mechanical barcode as twice the minimum distance of mechanical barcode, referred to as safety distance. Guarantee the mutual independence between areas, and prevent errors caused by mechanical positioning errors and recognition algorithm requirements. The width of the printed area of a single data character of a mechanical barcode is defined as 4 times the minimum distance and 2 times the safety distance. The printing area of the mechanical barcode start/stop character is defined as 8 times the minimum distance and 4 times the safety distance.
3.2机械条码起始符/终止符编码规则3.2 Encoding rules for mechanical barcode start/stop characters
机械条码起始符/终止符编码规则定义起始符和终止符的条空组合方式和符号的选择。例如The coding rule of start character/stop character of mechanical barcode defines the bar-space combination mode and symbol selection of start character and stop character. For example
起始符定义为单个数据字符区域长度的2倍(定义为8倍的最小分辨距离或4倍安全距离),此区域内压印三个条字符,固定前后二个条字符的位置为区域的左右二个极限位置,中间字符位置可以有四种压印位置选择:Z=a∶b=1∶4;2∶3;3∶2;4∶1。其中a为中间字符到极限左字符的距离,图5a中表示为中间黑色竖条到左边黑色竖条的距离,b为中间字符到极限右字符的距离,图中表示为中间黑色竖条到右边黑色竖条的距离。The start character is defined as twice the length of a single data character area (defined as 8 times the minimum resolution distance or 4 times the safety distance), three characters are embossed in this area, and the positions of the two characters before and after the fixed area are There are two limit positions on the left and right, and the middle character position can have four embossing position options: Z=a:b=1:4; 2:3; 3:2; 4:1. Where a is the distance from the middle character to the extreme left character, shown in Figure 5a as the distance from the middle black vertical bar to the left black vertical bar, and b is the distance from the middle character to the extreme right character, shown in the figure as the middle black vertical bar to the right The distance of the black vertical bars.
图5a-图5d为机械条码起始符/终止符不同压印距离比示意图,其中,图5a为机械条码起始符/终止符编码规则Z=0.25;图5b为机械条码起始符/终止符编码规则Z=0.67;图5c为机械条码起始符/终止符编码规则Z=1.5;图5d为机械条码起始符/终止符编码规则Z=4。Figure 5a-Figure 5d is a schematic diagram of different embossing distance ratios of mechanical barcode start/stop characters, wherein, Figure 5a shows the mechanical barcode start/stop coding rule Z=0.25; Figure 5b shows mechanical barcode start/stop Character coding rule Z=0.67; Figure 5c shows the coding rule Z=1.5 for the start/stop character of the mechanical barcode; Figure 5d shows the coding rule Z=4 for the start/stop character of the mechanical barcode.
机械条码的起始符/终止符的选择可以按照同比例组合和不同比例组合进行组合,这样起始符/终止符的可选择组合达10组。例如:可以选择Z=1.5的起始符和Z=1.5的终止符,也可以选择Z=0.5的起始符和Z=1.5的终止符The selection of the start character/stop character of the mechanical barcode can be combined according to the combination of the same ratio and the combination of different ratios, so that the selectable combination of the start character/stop character reaches 10 groups. For example: You can choose the start character of Z=1.5 and the end character of Z=1.5, or you can choose the start character of Z=0.5 and the end character of Z=1.5
3.3机械条码数据符编码规则3.3 Encoding rules for mechanical barcode data characters
机械条码数据符编码可根据实际的需求可选择位数。但受到实际条件制约,如最小分辨距离、压印载体长度、识别正确率等因素影响。编码规则可以按照顺序递增法和最大码距法进行编制。顺序递增法即为按照阿拉伯数字顺序从大到小进行编制,最大码距法为保证相邻二个机械条码最大的码间距离进行编制的方法。The number of digits of mechanical barcode data symbols can be selected according to actual needs. However, it is restricted by actual conditions, such as the minimum resolution distance, the length of the imprinted carrier, and the accuracy of recognition. The coding rules can be compiled according to the sequential increment method and the maximum code distance method. The sequential increasing method is to compile according to the order of Arabic numerals from large to small, and the maximum code distance method is to ensure the maximum code distance between two adjacent mechanical barcodes.
3.4机械条码校验符编码规则3.4 Coding rules for mechanical barcode verifiers
为保证条码识别正确性,而引入的对数据位表示数值进行鉴定的冗余位。校验位的区域宽度和字符形状选择与数据位相同的宽度和形状,保证压印速度和定位准确度,其特征是信息字段和校验字段的长度可以任意选定。In order to ensure the correctness of barcode recognition, the redundant bits introduced to identify the value represented by the data bit. The area width and character shape of the check digit are selected to be the same width and shape as the data digit to ensure the embossing speed and positioning accuracy. It is characterized in that the length of the information field and the check field can be selected arbitrarily.
校验符位数选择根据识别的要求达到99.99%,初步选择CRC-4,生产多项式为:x4+x+1,参照标准ITU G.704标准。The number of check digits is selected to reach 99.99% according to the recognition requirements, and CRC-4 is initially selected, and the production polynomial is: x 4 +x+1, referring to the standard ITU G.704.
校验符采用多项式编码,一个二进制位串可以用一个系数为0和1的单变量多项式来表示。设有一个K位的机械条码数据位,对应于多项式M(x),那么它的校验符的计算方法是:用一个事先约定的r次的生成多项式G(x)作除数,把在信息位串尾添上r个0所构成的新位串对应的多项式作为被除数,两者作模2除法,最后得到的r位余数是校验符,将这r位校验符加在原来的信息位串的尾部后便构成了一个k十r位的机械条码。The check digit is encoded by a polynomial, and a binary bit string can be represented by a univariate polynomial with coefficients 0 and 1. If there is a K-bit mechanical barcode data bit, which corresponds to the polynomial M(x), then the calculation method of its check digit is: use a previously agreed generator polynomial G(x) of degree r as the divisor, and divide the information in The polynomial corresponding to the new bit string formed by adding r 0s to the end of the bit string is used as the dividend, and the two are divided by modulo 2, and the r-bit remainder obtained at the end is the check digit, which is added to the original information bit After the end of the string, a mechanical barcode of k ten r digits is formed.
在校验时,用同样的生成多项式G(x)直接去除,若除尽,说明机械条码识别正确,把接收到的k+r位的二进制序列去掉尾部r位,即得所需的k位数据位信息;若不能除尽,则说明一定有识别错误需要进行相应的纠错处理。When verifying, use the same generator polynomial G(x) to remove directly. If it is completely removed, it means that the mechanical barcode is recognized correctly. Remove the tail r bits from the received binary sequence of k+r bits to obtain the required k bits. Data bit information; if it cannot be divisible, it means that there must be a recognition error that needs to be corrected accordingly.
3.5机械条码供人识读/输入字符编码规则3.5 Mechanical barcodes for human reading/input character encoding rules
机械条码供人识读/输入字符是防止机械条码损坏等因素导致无法识别时候,手工输入的字符,最大程度保证机械条码识读的正常完成。其编码规则与机械条码相关,根据机械条码位数的不同可选择采用十六进制与二进制对应方式。例如:机械条码为1011110010010011,那供人识读的字符就可表示为BC93。The mechanical barcode for human reading/input characters is to prevent the mechanical barcode from being unrecognizable due to factors such as damage, and manually input characters to ensure the normal completion of mechanical barcode reading to the greatest extent. Its encoding rules are related to mechanical barcodes, and the corresponding methods of hexadecimal and binary can be selected according to the number of digits of mechanical barcodes. For example: if the mechanical barcode is 1011110010010011, the characters for human reading can be expressed as BC93.
应用实例:Applications:
假设机械条码的信息位或者数据符为:1011001,生成多项式为:g(x)=x4+x3+1,那么此数据符对应的校验符为:1010。Assume that the information bit or data character of the mechanical barcode is: 1011001, and the generating polynomial is: g(x)=x 4 +x 3 +1, then the check character corresponding to this data character is: 1010.
供人识读/输入的字符则为:B34。如图2所示。The characters for human reading/input are: B34. as shown in
4.二维机械条码铭牌4. Two-dimensional mechanical barcode nameplate
二维机械条码铭牌根据机械条码实现原理分为层排式二维条码铭牌和矩阵式二维机械条码铭牌。层排式二维机械条码是在一维机械条码基础之上,通过层排高度截短后的一维机械条码,按照需要堆积成两行或多行来实现信息的表示。在编码设计、校验原理、识读方式等方面继承了一维机械条码的特点,是一种多层符号。Two-dimensional mechanical barcode nameplates are divided into layered two-dimensional barcode nameplates and matrix two-dimensional mechanical barcode nameplates according to the realization principle of mechanical barcodes. The layered two-dimensional mechanical barcode is based on the one-dimensional mechanical barcode, and the one-dimensional mechanical barcode whose height is truncated by layering is stacked into two or more lines according to the needs to realize the representation of information. Inheriting the characteristics of one-dimensional mechanical barcodes in terms of coding design, verification principles, and reading methods, it is a multi-layer symbol.
矩阵式二维机械条码,是在一个矩形空间内,用采用行列相互关联的编码方式,可包含与其他单元组成规则不同的识别字符,是建立在计算机图像处理技术、组合编码原理等基础上的一种机械条码。Matrix two-dimensional mechanical barcode is in a rectangular space, adopts the encoding method of interrelated rows and columns, and can contain identification characters different from other unit composition rules. It is based on computer image processing technology and combined encoding principles. A mechanical barcode.
矩阵式二维机械条码编码方法:第一行和第一列为二维机械条码的起始行和起始列,起始行和起始列选择不同的可调的距离进行区分。从第二行第二列一直到最后一行的最后一列为数据符区。数据符区除最后一行以外,每一行都按照一维机械条码的编码规则生成机械条码。最后一行第二列到最后一列的编码规则,按照数据符区每一列二进制字符进行奇偶校验计算出。例如图3中,第一行和第一列为二维机械条码的起始行和起始列,起始行和起始列选择等间距编码方法。生成的第二行机械条码为10110011010;第三行为01010011001;第四行10110101101;第五行11100011000。那么第六行的第二个字符的确定就为,第二行的二进制的1、第三行的二进制0、第四行的二进制1和第五行的二进制1进行奇偶校验得到的二进制0,同理得到最后一行的相应列。Matrix two-dimensional mechanical barcode encoding method: the first row and first column are the starting row and starting column of the two-dimensional mechanical barcode, and the starting row and starting column are distinguished by different adjustable distances. From the second column of the second row to the last column of the last row is the data symbol area. Except for the last line in the data symbol area, each line generates a mechanical barcode according to the encoding rules of the one-dimensional mechanical barcode. The encoding rules from the second column to the last column in the last row are calculated according to the parity check of each column of binary characters in the data symbol area. For example, in Fig. 3, the first row and the first column are the starting row and the starting column of the two-dimensional mechanical barcode, and the starting row and the starting column select the equidistant coding method. The second line of mechanical barcode generated is 10110011010; the third line is 01010011001; the fourth line is 10110101101; the fifth line is 11100011000. Then the determination of the second character of the sixth line is the binary 0 obtained by performing parity check on the binary 1 of the second line, the binary 0 of the third line, the binary 1 of the fourth line, and the binary 1 of the fifth line. In the same way, the corresponding column of the last row is obtained.
实现方式:Method to realize:
机械条码铭牌的制作Production of mechanical barcode nameplate
机械条码是目前唯一一种采用机械加工技术实现的条码技术,可以手工在需要标识的地方直接加工制作出,也可以采用机械加工的方法制作。推荐采用数控铭牌打印机(型号:YP或YQ系列),上述数控铭牌打印机结构简单可靠、自动化程度高、打印速度快、控制界面友好;字符在铭牌上打印位置控制确定、定位准确、字符排列整齐且利于后续识别。Mechanical barcode is currently the only barcode technology that is realized by mechanical processing technology. It can be directly processed at the place that needs to be marked by hand, or it can be produced by mechanical processing. It is recommended to use CNC nameplate printers (model: YP or YQ series). The above CNC nameplate printers have simple and reliable structure, high degree of automation, fast printing speed, and friendly control interface; the printing position of characters on the nameplate is controlled and determined, the positioning is accurate, and the characters are arranged neatly and for subsequent identification.
由机械条码编码系统生成的机械条码,将生成的机械条码与铭牌内容相关联并记录到相应的数据库中。将生成的机械条码采用机械加工的方法制作在铭牌的合适位置或者铭牌背面。例如采用数控铭牌打印机(型号:YP或YQ系列)可以直接在铭牌内容压印的过程中,同时将此组机械条码也压印在相应的位置。至此机械条码铭牌制作完成。The mechanical barcode generated by the mechanical barcode coding system associates the generated mechanical barcode with the nameplate content and records it in the corresponding database. Make the generated mechanical barcode on the proper position of the nameplate or the back of the nameplate by machining. For example, using a CNC nameplate printer (model: YP or YQ series) can directly imprint this group of mechanical barcodes on the corresponding position during the embossing process of the nameplate content. At this point, the mechanical barcode nameplate is completed.
一般来说由数控铭牌打印机压印的字符存在定位误差以及随机误差,字符之间的距离不一致等问题。同机械条码识读网络技术相结合,可以达到机械条码的防伪功能,有效的保护企业和用户的利益。Generally speaking, the characters embossed by the CNC nameplate printer have problems such as positioning errors, random errors, and inconsistent distances between characters. Combining with the mechanical barcode reading network technology, it can achieve the anti-counterfeiting function of the mechanical barcode and effectively protect the interests of enterprises and users.
与现有的条码技术相对比,机械条码铭牌的制作是采用机械加工的方法在铭牌上制作条空。此种方法目前是独一无二的。机械条码铭牌的编解码借助编码技术,有严格和可测的识别率、错误率和拒识率等。与现有的铭牌或标牌不同是在载体加工出的符号,是简单的条和空的形式,本身不直接代表产品的信息。Compared with the existing bar code technology, the production of mechanical bar code nameplate is to use the method of mechanical processing to make the bar on the nameplate. This approach is currently unique. The encoding and decoding of mechanical barcode nameplates has strict and measurable recognition rate, error rate and rejection rate with the help of encoding technology. Different from the existing nameplates or signs, the symbols processed on the carrier are in the form of simple bars and spaces, and do not directly represent the information of the product itself.
分析了企业铭牌信息化技术的特征,吸取了条码技术中的优点,发明出采用机械加工技术实现的机械条码铭牌制作技术。采用对产品编码的方法,给每件产品一个独立的编码,并利用光学字符识别技术进行编码识别,从而达到对产品的识别和自动录入。本技术具有方式简单、实现简便、直观可阅读、可靠性高以及防伪等的特点。在基本不增加成本下实现快速准确识别,可靠性高,误码率可小于百万分之一。与其他条码自动识别技术相比,适应性更强,应用领域更广,特别是在仓储环境恶劣、盘点困难和可靠性要求高的行业有很好的推广使用价值。The characteristics of enterprise nameplate information technology are analyzed, and the advantages of barcode technology are absorbed, and the mechanical barcode nameplate production technology realized by mechanical processing technology is invented. Using the method of product coding, give each product an independent code, and use optical character recognition technology for code recognition, so as to achieve product recognition and automatic entry. The technology has the characteristics of simple method, easy implementation, intuitive readability, high reliability, anti-counterfeiting and the like. Fast and accurate identification can be achieved without increasing the cost, with high reliability and a bit error rate of less than one millionth. Compared with other barcode automatic identification technologies, it has stronger adaptability and wider application fields, especially in industries with harsh storage environment, difficult inventory and high reliability requirements.
虽然已经以当前认为是其最实际与较佳的实施展示与描述了本发明,对于熟悉本技术的人员显而易见可在本发明的范围内做出许多修改,这一范围是符合所附权利要求的最广泛的解释的,从而包括所有等效方法及产品。While the invention has been shown and described in what is presently considered to be its most practical and preferred implementation, it will be apparent to those skilled in the art that many modifications may be made within the scope of the invention, which scope is consistent with the appended claims broadest interpretation, thereby including all equivalent methods and products.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910014091A CN101540004B (en) | 2009-02-11 | 2009-02-11 | Mechanical barcode nameplate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910014091A CN101540004B (en) | 2009-02-11 | 2009-02-11 | Mechanical barcode nameplate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101540004A CN101540004A (en) | 2009-09-23 |
CN101540004B true CN101540004B (en) | 2012-10-03 |
Family
ID=41123185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910014091A Expired - Fee Related CN101540004B (en) | 2009-02-11 | 2009-02-11 | Mechanical barcode nameplate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101540004B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310173A (en) * | 2013-05-30 | 2013-09-18 | 广州中国科学院沈阳自动化研究所分所 | Die recognition device and die recognition method based on contact-type mechanical two-dimensional code |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270323A (en) * | 2011-06-09 | 2011-12-07 | 湖南中烟工业有限责任公司 | Multi-security cigarette digital anti-counterfeiting method |
CN102888665A (en) * | 2012-09-28 | 2013-01-23 | 东华大学 | Spinneret plate with identification codes |
CN107220690A (en) * | 2017-06-06 | 2017-09-29 | 北京华大九天软件有限公司 | A kind of method that bar code is quickly generated in domain |
CN118917337A (en) * | 2024-10-08 | 2024-11-08 | 杭州海康威视数字技术股份有限公司 | Truncated bar code identification method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716307A (en) * | 2004-06-30 | 2006-01-04 | 水城钢铁(集团)有限责任公司 | Bar code information managing system for iron and steel products and bar code tag |
CN201084186Y (en) * | 2007-08-10 | 2008-07-09 | 王颖 | A bar code automobile number plate |
-
2009
- 2009-02-11 CN CN200910014091A patent/CN101540004B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716307A (en) * | 2004-06-30 | 2006-01-04 | 水城钢铁(集团)有限责任公司 | Bar code information managing system for iron and steel products and bar code tag |
CN201084186Y (en) * | 2007-08-10 | 2008-07-09 | 王颖 | A bar code automobile number plate |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310173A (en) * | 2013-05-30 | 2013-09-18 | 广州中国科学院沈阳自动化研究所分所 | Die recognition device and die recognition method based on contact-type mechanical two-dimensional code |
CN103310173B (en) * | 2013-05-30 | 2016-08-24 | 广州中国科学院沈阳自动化研究所分所 | A kind of mold identification device based on contact mechanical two-dimensional code and recognition methods |
Also Published As
Publication number | Publication date |
---|---|
CN101540004A (en) | 2009-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100369059C (en) | Matrix type two-dimensional bar code and its encoding and decoding method | |
CN101916387B (en) | Three-dimensional barcode label and manufacturing method thereof | |
CN101540004B (en) | Mechanical barcode nameplate | |
CN101334849B (en) | Symbol generation method and device of two-dimensional code label | |
CN101751591B (en) | High-capacity two-dimensional barcode and reader that can recording voice message | |
CN106295755A (en) | Two-dimensional code generation method, detection method, detection device and anti-counterfeit label | |
KR20090018811A (en) | Multidimensional Symbols and Related Methods | |
US20120024967A1 (en) | Qr code and manufacturing method thereof | |
CN201336039Y (en) | Mechanical bar code data plate | |
CN101849243B (en) | Code pattern | |
CN106204058A (en) | A kind of colorful digital matrix two-dimensional code and method for anti-counterfeit thereof | |
CN108875854B (en) | Two-dimensional code generation system and recognition system | |
CN107742089B (en) | Method for automatically identifying two-dimensional code by using spreadsheet | |
CN101503037B (en) | Processing method for embedding information on paper medium file | |
CN104217189A (en) | Self-learning identification method of barcode used for test strip | |
CN101546380A (en) | Product authenticity identification method and product anti-counterfeiting combined marker used in method | |
CN103279784A (en) | Two-dimensional anti-counterfeit label and producing method thereof | |
CN104766349A (en) | Geometrical form graph coding and decoding method applied to external packing of commodities | |
CN101571916B (en) | Method for identifying screen code with uniform dot matrix | |
Weng et al. | Design and implementation of barcode management information system | |
Evans | Barcodes, readers and printers for library applications | |
CN207097033U (en) | A kind of two-dimensional matrix point horizontal and vertical parity check code based on BCD codings | |
CN101369317A (en) | Method for generating simple recognition code based on serial number conversion in bill system | |
CN1086824C (en) | Eight-diagram bar code | |
CN2762235Y (en) | Anti-forge bar code |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121003 Termination date: 20140211 |