CN110503174A - A kind of label and recognition methods, device, storage medium of product information - Google Patents

A kind of label and recognition methods, device, storage medium of product information Download PDF

Info

Publication number
CN110503174A
CN110503174A CN201910800226.2A CN201910800226A CN110503174A CN 110503174 A CN110503174 A CN 110503174A CN 201910800226 A CN201910800226 A CN 201910800226A CN 110503174 A CN110503174 A CN 110503174A
Authority
CN
China
Prior art keywords
line image
product information
label
code
recognition methods
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.)
Granted
Application number
CN201910800226.2A
Other languages
Chinese (zh)
Other versions
CN110503174B (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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Image Analysis (AREA)

Abstract

The present invention provides a kind of label of product information and recognition methods, device, storage mediums, it processes the lines that record has product information in the process of product on product, by interpreting product information, identity information will not be lost, there is very high concealment simultaneously, method is the following steps are included: step 1: product information mark: in the process of product, line pattern is processed on component to be processed by controlling cutting parameter, line image is set according to coding rule;Step 2: product information identification: acquisition line image handles collected line image, and decoding obtains the corresponding information of line image.

Description

A kind of label and recognition methods, device, storage medium of product information
Technical field
The present invention relates to product identification coding techniques fields, and in particular to a kind of label of product information and recognition methods, Device, storage medium.
Background technique
There are objective circumstances wide in variety, that batch is small when production, a batch components are frequently used in multiple products In model, the production of different batches order.When manufacturing process or market quality exception, asked when investigating out the presence of certain batch component When topic, it is used in particular in what order, which batch, product bar code number detail for lockout issue components, needs craft To the information such as existing a large amount of paper face products traveler, material requistion expansion filtering, check.A large amount of manpowers and time are often wasted, There are potential risks for discovery when being unable to quick response, inefficiency after causing abnormal occur, or even sometimes etc. finding out Product has been delivered, and the brand building and after cost to company all cause very big loss.
As the product to put goods on the market constantly accumulates, increases, the problem of product back-tracing, is increasingly prominent, and it is therefore necessary to be every A part provides an individual unique Product ID, especially in CNC NC Machining Process.
Currently, have equal codes are marked on product, to identify single product.However in CNC NC Machining Process, It is difficult to mark parts product with bar code, two dimensional code identification presentation traditional in this way, because in many cases, product surface It will be processed, cause identity information that can lose.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of label of product information and recognition methods, device, storage medium, It processes the lines that record has product information in the process of product on product, by interpreting product letter Breath, identity information will not be lost, while have very high concealment.
Its technical solution is such that label and the recognition methods of a kind of product information, which is characterized in that including following step It is rapid:
Step 1: product information mark: in the process of product, by control cutting parameter in component to be processed Upper processing line pattern, line image are set according to coding rule;
Step 2: product information identification: acquisition line image handles collected line image, and decoding obtains line The corresponding information of pattern.
Further, in step 1, instruction is added in G code, through control cutting parameter on component to be processed Line pattern is processed, cutting parameter includes cutting speed.
Further, the coding rule of step 1 is specific as follows, and corresponding each code information is indicated using binary digit, The binary digit is respectively as follows: start bit, character code position, check bit, stop bits from highest order to lowest order.
Further, for check bit using any one in odd or even parity check, character code position is provided with 8, adopts It is encoded with ASCII.
Further, step 2 specifically includes the following steps:
Step 2-1: acquisition line image;
Step 2-2: cutting collected line image, obtains line image to be identified;
Step 2-3: line image to be identified is divided into several recognition units;
Step 2-4: identifying the line image in each recognition unit, and decoding obtains the corresponding code information of line image;
Step 2-5: extracting character code from code information, and character code is converted into corresponding character.
Further, step 2 specifically includes the following steps:
Step 2.1: acquisition line image;
Step 2.2: multiple line images to be identified are cut out for same line image;
Step 2.3: each line image to be identified is divided into several recognition units;
Step 2.4: identifying the line image in each recognition unit, decoding obtains the corresponding code information of line image;
Step 2.5: the code information that same line image decodes mutually being compared, unique code is obtained Information.
Step 2.6: extracting character code from code information, character code is converted into corresponding character.
Further, in step 2, line image is acquired by vision detection system.
Further, in step 2, for the decoding of line image, detailed process is as follows:
By the line image in each recognition unit, several character bits are divided into according to setting width, respectively according to each The number of the quantity of lines judges value of the corresponding code under 2 systems for 0 or 1 in character bit.
A kind of label and identification device of product information, characterized in that it comprises: including processor, memory and Program;
Described program stores in the memory, and the processor calls the program of memory storage, above-mentioned to execute Product information label and recognition methods.
A kind of computer readable storage medium, which is characterized in that the computer readable storage medium is configured to store Program, described program are configured to execute label and the recognition methods of above-mentioned product information.
The label and recognition methods, device, storage medium of a kind of product information of the invention, in the process of product In, instruction is added in G code, processes outlet on component to be processed by controlling the cutting parameter as cutting speed Bar pattern, line image are the binary codings set according to coding rule, contain the code information of product identification, such To the code information with product identification will not lose in process, do not need additional process step yet, save Time and production cost, meanwhile, the line image being thusly-formed is not known to stranger, to be acquired by vision detection system, is carried out After processing decoding could the decoding code information product identification information that includes and other include the information in candy strip, have There is very high concealment.
Detailed description of the invention
Fig. 1 is the flow chart of the label and recognition methods of a kind of product information of the invention;
Fig. 2 is the flow chart of the step 2 in a specific embodiment of the invention;
Fig. 3 is the flow chart of the step 2 in another specific embodiment of the invention;
Fig. 4 is the schematic diagram of recognition unit of the invention.
Specific embodiment
See Fig. 1, a kind of label of product information of the invention and recognition methods, comprising the following steps:
Step 1: product information mark: in the process of product, instruction is added in G code, is cut by control Speed processes line pattern on component to be processed, and line image is set according to coding rule;
In the present embodiment, the coding rule of step 1 is specific as follows, and corresponding each code information uses the two of one 11 Binary digits indicate that 11 binary digits are respectively as follows: 1 start bit, 8 character codes from highest order to lowest order Position, 1 check bit, 1 stop bits, check bit use even parity check, and character code position is encoded using ASCII.
Step 2: product information identification: acquisition line image handles collected line image, and decoding obtains line The corresponding information of pattern.
See Fig. 2, in the present embodiment, step 2 specifically includes the following steps:
Step 2-1: line image is acquired by vision detection system;
Step 2-2: cutting collected line image, obtains line image to be identified;
Step 2-3: being divided into several recognition units for line image to be identified, and each line image to be identified is divided into Several recognition units can be made a mark here with the initial position and end position of line image, since recognition unit is all Long, after determining initial position and end position, the division of recognition unit very easily can be realized, will test the entire of surface Region is divided into smaller part, is that an identification is single to read pattern Fig. 4 having damage so as to be compared to each other The schematic diagram of position;
Step 2-4: identifying the line image in each recognition unit, and decoding obtains the corresponding code information of line image.
Step 2-5: extracting character code from code information, and character code is converted into corresponding character.
See Fig. 3, in another embodiment of the present invention, in step 2 the following steps are included:
Step 2.1: line image is acquired by vision detection system;
Step 2.2: multiple line images to be identified are cut out for same line image;
Step 2.3: each line image to be identified is divided into several recognition units, it here can be with the starting of line image Position and end position make a mark, due to recognition unit be all it is isometric, after determining initial position and end position, easily The division that recognition unit can be realized, the whole region that will test surface is divided into smaller part, so as to be compared to each other, So that pattern can be read having damage, in the schematic diagram that Fig. 4 is a recognition unit;
Step 2.4: identifying the line image in each recognition unit, decoding obtains the corresponding code information of line image;
Step 2.5: the code information that same line image decodes mutually being compared, unique code is obtained Information;
Step 2.6: extracting character code from code information, character code is converted into corresponding character.
In the present embodiment, the repetition for carrying out different cuttings to line image detects, and is compared to each other, even if so as to surface There is the defects of scratch that can also find code.
In two embodiments of step 2 of the invention, the line image in each recognition unit is identified, decoding obtains line The corresponding code information of pattern is realized especially by such as under type:
By the line image in each recognition unit, several character bits are divided into according to setting width, respectively according to each The number of the quantity of lines judges value of the corresponding code under 2 systems for 0 or 1 in character bit.
In the process of product, processing lines are constantly present, but that in all senses, product through the invention is not believed The label of breath and recognition methods, device, storage medium, one code of middle insertion between processing lines, can by vision system To read lines, surface quality will not be significantly affected.
In an embodiment of the present invention, the label and identification device of a kind of product information are additionally provided comprising: including place Manage device, memory and program;
Program stores in memory, and processor calls the program of memory storage, to execute above-mentioned product information Label and recognition methods.
In the realization of the label and identification device of above-mentioned product information, between memory and processor directly or indirectly Ground is electrically connected, to realize the transmission or interaction of data.For example, these elements between each other can be by one or more of logical Believe that bus or signal wire are realized to be electrically connected, can such as be connected by bus.It is stored in memory and realizes data access control The computer executed instructions of method, the software function that can be stored in memory in the form of software or firmware including at least one Module, processor by the operation software program and module that are stored in memory, thereby executing various function application and Data processing.
Memory may be, but not limited to, random access memory (Random Access Memory, referred to as: RAM), Read-only memory (Read Only Memory, referred to as: ROM), programmable read only memory (Programmable Read-Only Memory, referred to as: PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, letter Claim: EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, Referred to as: EEPROM) etc..Wherein, memory is for storing program, and processor executes program after receiving and executing instruction.
Processor can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor can be logical With processor, including central processing unit (Central Processing Unit, referred to as: CPU), network processing unit (Network Processor, referred to as: NP) etc..It may be implemented or execute disclosed each method, step and the logic in the embodiment of the present application Block diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..
In an embodiment of the present invention, a kind of computer readable storage medium, computer readable storage medium are additionally provided It is configured to store program, program is configured to execute label and the recognition methods of above-mentioned product information.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can store in computer readable storage medium.The program exists When being executed by processor, realization includes the steps that above-mentioned each method embodiment;And computer readable storage medium above-mentioned includes: The various media that can store program code such as ROM, RAM, magnetic or disk, including some instructions are used so that one big number Each embodiment or embodiment are executed according to transmission device (can be personal computer, server or the network equipment etc.) Method described in certain parts.
The label and recognition methods, device, storage medium of a kind of product information of the invention, in the process of product In, instruction is added in G code, processes outlet on component to be processed by controlling the cutting parameter as cutting speed Bar pattern, line image are the binary codings set according to coding rule, contain the code information of product identification, such To the code information with product identification will not lose in process, do not need additional process step yet, save Time and production cost, meanwhile, the line image being thusly-formed is not known to stranger, to be acquired by vision detection system, is carried out After processing decoding could the decoding code information product identification information that includes and other include the information in candy strip, have There is very high concealment.

Claims (10)

1. label and the recognition methods of a kind of product information, which comprises the following steps:
Step 1: product information mark: in the process of product, being added on component to be processed by control cutting parameter Work line pattern, line image are set according to coding rule;
Step 2: product information identification: acquisition line image handles collected line image, and decoding obtains lines figure The corresponding information of case.
2. label and the recognition methods of a kind of product information according to claim 1, it is characterised in that: in step 1, In Instruction is added in G code, line pattern is processed on component to be processed by controlling cutting parameter, cutting parameter includes cutting Cut speed.
3. label and the recognition methods of a kind of product information according to claim 2, it is characterised in that: the coding of step 1 Rule is specific as follows: corresponding each code information indicated using binary digit, and the binary digit is from highest order to minimum Position is respectively as follows: start bit, character code position, check bit, stop bits.
4. label and the recognition methods of a kind of product information according to claim 3, it is characterised in that: check bit is using odd Verification or even parity check in any one, character code position is provided with 8, is encoded using ASCII.
5. label and the recognition methods of a kind of product information according to claim 4, it is characterised in that: step 2 is specifically wrapped Include following steps:
Step 2-1: acquisition line image;
Step 2-2: cutting collected line image, obtains line image to be identified;
Step 2-3: line image to be identified is divided into several recognition units;
Step 2-4: identifying the line image in each recognition unit, and decoding obtains the corresponding code information of line image;
Step 2-5: extracting character code from code information, and character code is converted into corresponding character.
6. label and the recognition methods of a kind of product information according to claim 4, it is characterised in that: step 2 is specifically wrapped Include following steps:
Step 2.1: acquisition line image;
Step 2.2: multiple line images to be identified are cut out for same line image;
Step 2.3: each line image to be identified is divided into several recognition units;
Step 2.4: identifying the line image in each recognition unit, decoding obtains the corresponding code information of line image;
Step 2.5: the code information that same line image decodes mutually being compared, unique code letter is obtained Breath.
Step 2.6: extracting character code from code information, character code is converted into corresponding character.
7. according to the label and recognition methods of claim 5 or a kind of product information as claimed in claim 6, it is characterised in that: In step 2, line image is acquired by vision detection system.
8. according to the label and recognition methods of claim 5 or a kind of product information as claimed in claim 6, it is characterised in that: In step 2, for the decoding of line image, detailed process is as follows:
By the line image in each recognition unit, several character bits are divided into according to setting width, respectively according to each character The number of the quantity of lines judges value of the corresponding code under 2 systems for 0 or 1 in position.
9. the label and identification device of a kind of product information, characterized in that it comprises: including processor, memory and journey Sequence;
Described program stores in the memory, and the processor calls the program of memory storage, requires 1 with perform claim The label of the product information and recognition methods.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is configured to store journey Sequence, described program are configured to label and the recognition methods of product information described in perform claim requirement 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 true CN110503174A (en) 2019-11-26
CN110503174B 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 (8)

* 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
US20170054455A1 (en) * 2015-08-19 2017-02-23 International Business Machines Corporation Coding schemes including alternative codings for a single code construct
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

Patent Citations (8)

* 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
US20170054455A1 (en) * 2015-08-19 2017-02-23 International Business Machines Corporation Coding schemes including alternative codings for a single code construct
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 (2)

* Cited by examiner, † Cited by third party
Title
姜唯等: "一种信息采集过程中唯一标识码的解决方法", 《电子技术与软件工程》 *
虞昊等: "微信QR码印章的刀路设计", 《南昌大学学报(理科版)》 *

Also Published As

Publication number Publication date
CN110503174B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN106155596B (en) Data writing method and device
CN113766986B (en) Cutting tool, system and method for increasing traceability of cutting edges
CN109284806A (en) System and method for the control of automatic RFID mass
CN109299954B (en) Illegal commercial tenant identification method and device
CN111292254B (en) Method, device, equipment and medium for determining data abnormality in remote sensing image
CN104933532A (en) Method for managing product production based on RFID (Radio Frequency Identification Devices) technology
US9612260B2 (en) Method and system for counting socket insertions of electronic integrated circuits
CN112465082A (en) RFID technology-based reagent warehouse management method and device and storage medium
CN104376296A (en) Barcode reader setting method and barcode reader setting device
CN110503174A (en) A kind of label and recognition methods, device, storage medium of product information
CN107016317B (en) Bar code decoding method and device
CN116680599A (en) Operation and maintenance fault identification method, device, equipment and readable storage medium
CN106650839B (en) Smart card production data state control method
CN109709902A (en) Data interactive method, system and memory
CN113032457B (en) Method and device for maintaining database information of bill of material
CN104036210A (en) Test method of identifying multi-tag performance by UHF reader
CN111275693A (en) Counting method and counting device for objects in image and readable storage medium
CN112784903B (en) Method, device and equipment for training target recognition model
CN114756440B (en) Data writing method, device and equipment of smart card and storage medium
CN113900881A (en) Self-help borrowing and returning machine fault monitoring method and device based on Internet of things and server
CN111985586B (en) Method and device for writing description information and intelligent wine cabinet
CN113902505A (en) Self-service book borrowing and returning machine management method and device and computer equipment
CN113282968B (en) Method, device, equipment and storage medium for judging serial numbers of vehicle-mounted equipment
CN108681869A (en) The automatic checking method of inventory and Related product
CN113903465A (en) Personnel information database service management method and device and computer equipment

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