CN110503174B - Product information marking and identifying method, device and storage medium - Google Patents

Product information marking and identifying method, device and storage medium Download PDF

Info

Publication number
CN110503174B
CN110503174B CN201910800226.2A CN201910800226A CN110503174B CN 110503174 B CN110503174 B CN 110503174B CN 201910800226 A CN201910800226 A CN 201910800226A CN 110503174 B CN110503174 B CN 110503174B
Authority
CN
China
Prior art keywords
product information
marking
line patterns
identifying
line pattern
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
CN201910800226.2A
Other languages
Chinese (zh)
Other versions
CN110503174A (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.)
Suzhou Rulamate Zhiyun Technology Co ltd
Original Assignee
Suzhou Rulamate Zhiyun 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 Suzhou Rulamate Zhiyun Technology Co ltd filed Critical Suzhou Rulamate Zhiyun Technology Co ltd
Priority to CN201910800226.2A priority Critical patent/CN110503174B/en
Publication of CN110503174A publication Critical patent/CN110503174A/en
Application granted granted Critical
Publication of CN110503174B publication Critical patent/CN110503174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/22Character recognition characterised by the type of writing
    • G06V30/224Character recognition characterised by the type of writing of printed characters having additional code marks or containing code marks
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3084Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction using adaptive string matching, e.g. the Lempel-Ziv method
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a marking and identifying method, a device and a storage medium of product information, which processes lines recorded with the product information on a product in the processing process of the product, decodes and reads the product information, and the identity information is not lost and has high concealment, and the method comprises the following steps: step 1: product information marking: in the processing process of the product, line patterns are processed on a part to be processed by controlling cutting parameters, and the line patterns are set according to coding rules; step 2: product information identification: and acquiring line patterns, processing the acquired line patterns, and decoding to obtain information corresponding to the line patterns.

Description

Product information marking and identifying method, device and storage medium
Technical Field
The application relates to the technical field of product identity coding, in particular to a method and a device for marking and identifying product information and a storage medium.
Background
The objective conditions of multiple varieties and small batches exist in the production of products, and one batch of parts are often used in order production of multiple product models and different batches. When the manufacturing process or the market quality is abnormal, when a certain batch of components are checked to have problems, in order to lock the specific orders, the batches and the bar code number details of the components, the information such as the existing large amount of paper product flow cards, material receiving sheets and the like needs to be manually developed, filtered and checked. Often waste a large amount of manpower and time, cause after the unusual emergence can not respond fast, inefficiency, even sometimes discover when there is the product of potential risk and have shipped when investigation is clear, all cause very big loss to company's brand construction and after-market cost.
As products put on the market continue to accumulate and increase, the problem of product traceability becomes increasingly pronounced, so that it is necessary to provide each part with a separate unique product ID, especially during CNC numerical control machining.
Currently, products are marked with codes such as bar codes to identify individual products. However, in CNC numerical control machining, it is difficult to mark a part product with a conventional identity representation such as a bar code or a two-dimensional code, because in many cases, the product surface is machined, resulting in loss of identity information.
Disclosure of Invention
In order to solve the problems, the application provides a marking and identifying method, a device and a storage medium of product information, which are used for processing lines recorded with the product information on a product in the processing process of the product, decoding and reading the product information, preventing identity information from being lost and simultaneously having high concealment.
The technical scheme is as follows: the marking and identifying method for the product information is characterized by comprising the following steps:
step 1: product information marking: in the processing process of the product, line patterns are processed on a part to be processed by controlling cutting parameters, and the line patterns are set according to coding rules;
step 2: product information identification: and acquiring line patterns, processing the acquired line patterns, and decoding to obtain information corresponding to the line patterns.
Further, in step 1, an instruction is added to the G code, and a line pattern is machined on the part to be machined by controlling a cutting parameter, which includes a cutting speed.
Further, the encoding rule in step 1 is specifically as follows, and binary digits are adopted for representing each code information, where the binary digits are respectively from the most significant bit to the least significant bit: a start bit, a character encoding bit, a check bit, and an end bit.
Further, the check bit adopts any one of odd check and even check, the character coding bit is provided with 8 bits, and ASCII coding is adopted.
Further, the step 2 specifically includes the following steps:
step 2-1: collecting line patterns;
step 2-2: cutting the acquired line pattern to obtain a line pattern to be identified;
step 2-3: dividing a line pattern to be identified into a plurality of identification units;
step 2-4: identifying line patterns in each identification unit, and decoding to obtain code information corresponding to the line patterns;
step 2-5: character codes are extracted from the code information and converted into corresponding characters.
Further, the step 2 specifically includes the following steps:
step 2.1: collecting line patterns;
step 2.2: cutting out a plurality of line patterns to be identified for the same line pattern;
step 2.3: dividing each line pattern to be identified into a plurality of identification units;
step 2.4: identifying line patterns in each identification unit, and decoding to obtain code information corresponding to the line patterns;
step 2.5: and comparing the code information obtained by decoding the same line pattern to obtain unique code information.
Step 2.6: character codes are extracted from the code information and converted into corresponding characters.
Further, in step 2, the line pattern is acquired by a visual inspection system.
Further, in step 2, the specific process of decoding the line pattern is as follows:
dividing the line pattern in each recognition unit into a plurality of character bits according to the set width, and judging the value of the corresponding code under the 2 scale to be 0 or 1 according to the number of lines in each character bit.
A marking and identifying device for product information, comprising: comprises a processor, a memory and a program;
the program is stored in the memory, and the processor calls the program stored in the memory to execute the marking and identifying method of the product information.
A computer-readable storage medium configured to store a program configured to perform the marking and identifying method of product information described above.
The marking and identifying method, the device and the storage medium of the product information are characterized in that in the processing process of the product, an instruction is added in a G code, a line pattern is processed on a part to be processed by controlling a cutting parameter such as a cutting speed, the line pattern is a binary code set according to a coding rule, code information with product identity is contained, the code information with the product identity is not lost in the processing process, no extra process step is needed, time and production cost are saved, meanwhile, the line pattern is not known to outsiders, the product identity information contained in the code information and other information contained in the stripe pattern can be decoded after being processed and decoded by a visual detection system, and the product information marking and identifying method has high concealment.
Drawings
FIG. 1 is a flow chart of a method for marking and identifying product information according to the present application;
FIG. 2 is a flow chart of step 2 in an embodiment of the present application;
FIG. 3 is a flow chart of step 2 in another embodiment of the present application;
fig. 4 is a schematic diagram of a recognition unit according to the present application.
Detailed Description
Referring to fig. 1, the marking and identifying method of product information of the present application includes the following steps:
step 1: product information marking: in the processing process of the product, adding an instruction into the G code, and processing a line pattern on a part to be processed by controlling the cutting speed, wherein the line pattern is set according to the coding rule;
in this embodiment, the encoding rule of step 1 is specifically as follows, each piece of code information is represented by an 11-bit binary number, and the 11-bit binary numbers are respectively from the most significant bit to the least significant bit: the method comprises the steps of 1-bit initial bit, 8-bit character coding bit, 1-bit check bit and 1-bit end bit, wherein the check bit adopts even check, and the character coding bit adopts ASCII coding.
Step 2: product information identification: and acquiring line patterns, processing the acquired line patterns, and decoding to obtain information corresponding to the line patterns.
Referring to fig. 2, in this embodiment, step 2 specifically includes the following steps:
step 2-1: collecting line patterns through a visual detection system;
step 2-2: cutting the acquired line pattern to obtain a line pattern to be identified;
step 2-3: dividing the line pattern to be identified into a plurality of identification units, dividing each line pattern to be identified into a plurality of identification units, marking the starting position and the ending position of the line pattern, wherein the identification units are equal in length, dividing the identification units conveniently after determining the starting position and the ending position, and dividing the whole area of the detection surface into smaller parts so as to be capable of being compared with each other, so that the pattern diagram 4 can be read as a schematic diagram of the identification unit even if the detection surface is damaged;
step 2-4: and identifying the line pattern in each identification unit, and decoding to obtain code information corresponding to the line pattern.
Step 2-5: character codes are extracted from the code information and converted into corresponding characters.
In another embodiment of the present application, see fig. 3, step 2 comprises the steps of:
step 2.1: collecting line patterns through a visual detection system;
step 2.2: cutting out a plurality of line patterns to be identified for the same line pattern;
step 2.3: dividing each line pattern to be identified into a plurality of identification units, wherein the starting position and the ending position of the line pattern can be marked, and the identification units are equal in length, so that the identification units can be conveniently divided after the starting position and the ending position are determined, and the whole area of the detection surface is divided into smaller parts so as to be compared with each other, so that the pattern can be read even if the detection surface is damaged, and the detection surface is shown as a schematic diagram of one identification unit in FIG. 4;
step 2.4: identifying line patterns in each identification unit, and decoding to obtain code information corresponding to the line patterns;
step 2.5: comparing the code information obtained by decoding the same line pattern to obtain unique code information;
step 2.6: character codes are extracted from the code information and converted into corresponding characters.
In this embodiment, repeated detection of different cuts is performed on the line patterns and compared with each other so that the code can be found even if the surface has a flaw such as a scratch.
In two embodiments of step 2 of the present application, the line pattern in each identification unit is identified, and the code information corresponding to the line pattern obtained by decoding is specifically implemented in the following manner:
dividing the line pattern in each recognition unit into a plurality of character bits according to the set width, and judging the value of the corresponding code under the 2 scale to be 0 or 1 according to the number of lines in each character bit.
In the processing process of the product, the processing lines always exist, but have no meaning, and a code is embedded between the processing lines through the marking and identifying method, the device and the storage medium of the product information, so that the lines can be read through a vision system, and the surface quality is not obviously affected.
In an embodiment of the present application, there is also provided a marking and identifying device for product information, including: comprises a processor, a memory and a program;
the program is stored in the memory, and the processor calls the program stored in the memory to execute the marking and identifying method of the product information.
In the implementation of the marking and identifying device for product information, the memory and the processor are directly or indirectly electrically connected to realize data transmission or interaction. For example, the elements may be electrically connected to each other via one or more communication buses or signal lines, such as through a bus connection. The memory stores computer-executable instructions for implementing the data access control method, including at least one software functional module that may be stored in the memory in the form of software or firmware, and the processor executes the software programs and modules stored in the memory to perform various functional applications and data processing.
The Memory may be, but is not limited to, random access Memory (Random Access Memory; RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory; PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory; EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory; EEPROM), etc. The memory is used for storing a program, and the processor executes the program after receiving the execution instruction.
The processor may be an integrated circuit chip with signal processing capabilities. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In an embodiment of the present application, there is also provided a computer-readable storage medium configured to store a program configured to perform the marking and identifying method of product information described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. The program, when executed by a processor, implements steps comprising the method embodiments described above; and the aforementioned computer-readable storage medium includes: various media, such as ROM, RAM, magnetic or optical disks, may store program code that includes instructions to cause a large data transmission device (which may be a personal computer, a server, or a network device, etc.) to perform the various embodiments or portions of the methods described herein.
The marking and identifying method, the device and the storage medium of the product information are characterized in that in the processing process of the product, an instruction is added in a G code, a line pattern is processed on a part to be processed by controlling a cutting parameter such as a cutting speed, the line pattern is a binary code set according to a coding rule, code information with product identity is contained, the code information with the product identity is not lost in the processing process, no extra process step is needed, time and production cost are saved, meanwhile, the line pattern is not known to outsiders, the product identity information contained in the code information and other information contained in the stripe pattern can be decoded after being processed and decoded by a visual detection system, and the product information marking and identifying method has high concealment.

Claims (8)

1. The marking and identifying method for the product information is characterized by comprising the following steps:
step 1: product information marking: in the processing process of the product, line patterns are processed on a part to be processed by controlling cutting parameters, and the line patterns are set according to coding rules;
step 2: product information identification: collecting line patterns, processing the collected line patterns, and decoding to obtain information corresponding to the line patterns;
the coding rule of step 1 is specifically as follows: corresponding to each piece of code information, binary digits are adopted for representation, and the binary digits are respectively from the most significant bit to the least significant bit: a start bit, a character encoding bit, a check bit, and an end bit;
the step 2 specifically comprises the following steps:
step 2-1: collecting line patterns;
step 2-2: cutting the acquired line pattern to obtain a line pattern to be identified;
step 2-3: dividing a line pattern to be identified into a plurality of identification units;
step 2-4: identifying line patterns in each identification unit, and decoding to obtain code information corresponding to the line patterns;
step 2-5: character codes are extracted from the code information and converted into corresponding characters.
2. The method for marking and identifying product information according to claim 1, wherein: in step 1, instructions are added to the G code to machine a line pattern on the part to be machined by controlling cutting parameters, including cutting speed.
3. The method for marking and identifying product information according to claim 2, wherein: the check bit adopts any one of odd check and even check, the character coding bit is provided with 8 bits, and ASCII coding is adopted.
4. A method of marking and identifying product information as claimed in claim 3, wherein: the step 2 specifically comprises the following steps:
step 2.1: collecting line patterns;
step 2.2: cutting out a plurality of line patterns to be identified for the same line pattern;
step 2.3: dividing each line pattern to be identified into a plurality of identification units;
step 2.4: identifying line patterns in each identification unit, and decoding to obtain code information corresponding to the line patterns;
step 2.5: comparing the code information obtained by decoding the same line pattern to obtain unique code information;
step 2.6: character codes are extracted from the code information and converted into corresponding characters.
5. The method for marking and identifying product information according to claim 1 or claim 4, wherein: in step 2, the line pattern is acquired by a visual detection system.
6. The method for marking and identifying product information according to claim 1 or claim 4, wherein: in step 2, the specific process of decoding the line pattern is as follows:
dividing the line pattern in each recognition unit into a plurality of character bits according to the set width, and judging the value of the corresponding code under the 2 scale to be 0 or 1 according to the number of lines in each character bit.
7. A marking and identifying device for product information, comprising: comprises a processor, a memory and a program;
the program is stored in the memory, and the processor calls the program stored in the memory to execute the marking and identifying method of the product information according to claim 1.
8. A computer-readable storage medium configured to store a program configured to perform the marking and identifying method of product information according to claim 1.
CN201910800226.2A 2019-08-28 2019-08-28 Product information marking and identifying method, device and storage medium Active CN110503174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910800226.2A CN110503174B (en) 2019-08-28 2019-08-28 Product information marking and identifying method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910800226.2A CN110503174B (en) 2019-08-28 2019-08-28 Product information marking and identifying method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110503174A CN110503174A (en) 2019-11-26
CN110503174B true CN110503174B (en) 2023-08-15

Family

ID=68588600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910800226.2A Active CN110503174B (en) 2019-08-28 2019-08-28 Product information marking and identifying method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110503174B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063998A (en) * 2006-04-30 2007-10-31 王文芳 Encoding and decoding method of two-dimension bar-code (Q code )
WO2013163588A1 (en) * 2012-04-26 2013-10-31 Alec Rothmyer Rivers Systems and methods for performing a task on a material, or locating the position of a device relative to the surface of the material
WO2016029801A1 (en) * 2014-08-28 2016-03-03 华为技术有限公司 Encoding and decoding method, encoding device and decoding device
CN107220689A (en) * 2017-05-27 2017-09-29 网易(杭州)网络有限公司 Position encoded method for generating pattern, device, equipment and readable storage medium storing program for executing
WO2018098394A1 (en) * 2016-11-25 2018-05-31 Glowforge Inc. Fabrication with image tracing
CN108268922A (en) * 2018-01-25 2018-07-10 梁代平 A kind of mold mark Stereoscopic Coding System for being compatible with man-machine identification
CN109754044A (en) * 2019-01-14 2019-05-14 上海证大喜马拉雅网络科技有限公司 Bar code, bar code generation method and recognition methods

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9917599B2 (en) * 2015-08-19 2018-03-13 International Business Machines Corporation Coding schemes including alternative codings for a single code construct

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063998A (en) * 2006-04-30 2007-10-31 王文芳 Encoding and decoding method of two-dimension bar-code (Q code )
WO2013163588A1 (en) * 2012-04-26 2013-10-31 Alec Rothmyer Rivers Systems and methods for performing a task on a material, or locating the position of a device relative to the surface of the material
WO2016029801A1 (en) * 2014-08-28 2016-03-03 华为技术有限公司 Encoding and decoding method, encoding device and decoding device
WO2018098394A1 (en) * 2016-11-25 2018-05-31 Glowforge Inc. Fabrication with image tracing
CN107220689A (en) * 2017-05-27 2017-09-29 网易(杭州)网络有限公司 Position encoded method for generating pattern, device, equipment and readable storage medium storing program for executing
CN108268922A (en) * 2018-01-25 2018-07-10 梁代平 A kind of mold mark Stereoscopic Coding System for being compatible with man-machine identification
CN109754044A (en) * 2019-01-14 2019-05-14 上海证大喜马拉雅网络科技有限公司 Bar code, bar code generation method and recognition methods

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种信息采集过程中唯一标识码的解决方法;姜唯等;《电子技术与软件工程》;20160622(第10期);全文 *

Also Published As

Publication number Publication date
CN110503174A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
US8326037B1 (en) Methods and apparatus for locating an object in an image
CN109214229B (en) Bar code scanning method and device and electronic equipment
CN109284806A (en) System and method for the control of automatic RFID mass
CN111292254B (en) Method, device, equipment and medium for determining data abnormality in remote sensing image
CN115302963B (en) Bar code printing control method, system and medium based on machine vision
EP3733332A1 (en) A cutting tool, system and method for increasing traceability of a cutting edge
CN110503174B (en) Product information marking and identifying method, device and storage medium
WO2016206446A1 (en) Character encoding method and character decoding method having error correction function and product thereof
CN111133396B (en) Production facility monitoring device, production facility monitoring method, and recording medium
JP4460903B2 (en) ID mark recognition method for semiconductor wafer
CN106709386B (en) Smart card data writing method and device
CN113642926B (en) Method and device for risk early warning, electronic equipment and storage medium
CN116739022B (en) Decoding method and device for bar code image and electronic equipment
CN110727691A (en) Data analysis and verification method and device
CN105573235A (en) PLC SYSTEM and operating method thereof
CN112287936A (en) Optical character recognition test method and device, readable storage medium and terminal equipment
CN109709902B (en) Data interaction method, system and memory
CN113590581B (en) Data transmission method, device, equipment and storage medium
CN113627549A (en) Method, device and equipment for detecting abnormal time sequence hopping
CN110276353B (en) Method and device for segmenting prefix number characters, readable storage medium and terminal equipment
CN113032457A (en) Method and device for maintaining database information of bill of material
CN111445401A (en) Visual identification method, device, equipment and medium for disordered sorting of cylindrical bars
CN112784903B (en) Method, device and equipment for training target recognition model
CN104408637A (en) Method and system for identifying one-dimension code information
CN112639716B (en) Reader-writer, control method of reader-writer, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant