CN109409452B - Method and device for analyzing universal label and automatically generating printing label - Google Patents

Method and device for analyzing universal label and automatically generating printing label Download PDF

Info

Publication number
CN109409452B
CN109409452B CN201811098075.2A CN201811098075A CN109409452B CN 109409452 B CN109409452 B CN 109409452B CN 201811098075 A CN201811098075 A CN 201811098075A CN 109409452 B CN109409452 B CN 109409452B
Authority
CN
China
Prior art keywords
label
original factory
bar code
character string
mapping relation
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
CN201811098075.2A
Other languages
Chinese (zh)
Other versions
CN109409452A (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.)
Moore Element Fujian Technology Co ltd
Original Assignee
Moore Element Fujian 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 Moore Element Fujian Technology Co ltd filed Critical Moore Element Fujian Technology Co ltd
Priority to CN201811098075.2A priority Critical patent/CN109409452B/en
Publication of CN109409452A publication Critical patent/CN109409452A/en
Application granted granted Critical
Publication of CN109409452B publication Critical patent/CN109409452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • 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)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Manufacturing & Machinery (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

The invention provides a method for analyzing a general label and automatically generating a printing label, which comprises the following steps: step S1, setting an analysis rule of the bar code of the material of the original factory; s2, setting a mapping relation between the original factory material and the current material; s3, setting the corresponding relation between the label template data item and the original factory material bar code; and step S4, after selecting the original factory material bar code, automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation, and printing. According to the invention, a set of analysis rules is configured in the system, and the mapping relation between the material of the original factory and the current material is configured, so that when a material tray of the original factory is scanned, the system can automatically identify the required key information and print the material label required by the corresponding enterprise in real time.

Description

Method and device for analyzing universal label and automatically generating printing label
Technical Field
The invention relates to a method for analyzing a general label and automatically generating a printing label.
Background
The MES system is a production informatization management system facing to a workshop execution layer of a manufacturing enterprise. The MES can provide management modules for enterprises, such as manufacturing data management, planning scheduling management, production scheduling management, inventory management, quality management, human resource management, work center/equipment management, tool and tool management, purchasing management, cost management, project bulletin board management, production process control, bottom layer data integration analysis, upper layer data integration decomposition and the like, and create a solid, reliable, comprehensive and feasible manufacturing cooperative management platform for the enterprises.
The enterprises using the MES system often have hundreds of original manufacturers, and each original material has its own label when leaving the factory. The information quantity obtained after scanning of the two-dimensional code attached to the upper portion of the material tray of the original factory is large, the content is long, and the two-dimensional code generally has a certain arrangement rule. Enterprises need some of the key information, such as: material code, name, specification, batch, quantity, etc.
Conventionally, when an enterprise or a supplier receives a material from a factory, the material label of the received product is printed according to the recorded corresponding relationship between the material number of the factory and the independent material number (for example, in an excel recording manner), and then the material label is pasted on a material tray. The manual comparison operation can easily paste the bar code in a wrong way due to the fact that the material trays in the warehouse are numerous and the appearance of the material trays is very similar.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for analyzing a universal label and automatically generating a printing label.
The method of the invention is realized as follows: a method for analyzing a universal label and automatically generating a printing label comprises the following steps:
step S1, setting an analysis rule of the bar code of the material of the original factory;
s2, setting a mapping relation between the original factory material and the current material;
s3, setting the corresponding relation between the label template data item and the original factory material bar code;
and step S4, after selecting the original factory material bar code, automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation, and printing.
Further, the step S1 is specifically:
step S11, establishing basic information of the original factory label bar code;
step S12, configuring separators of original factory label bar codes;
s13, configuring data items of each code segment of the original factory label bar code;
step S14, configuring an atomic algorithm;
and step S15, performing single operation or mixed operation according to the configured atomic algorithm, completing character processing on the data item, and ending the analysis.
Further, the atomic algorithm includes:
(1) removing '0' at the beginning of the numeric character string;
(2) removing left and right spaces;
(3) deleting the left N bits;
(4) deleting the right N bits;
(5) acquiring the Nth to Mth characters from left to right;
(6) acquiring the Nth to Mth characters from right to left;
(7) inserting characters on the right side;
(8) inserting characters on the left;
(9) all are converted into lower case;
(10) all are converted into capitals;
(11) deleting characters;
(12) intercepting the Mth section according to a separator X;
(13) intercepting character Y from the Nth bit;
wherein, N and M are natural numbers, N < M, X is separator variable, and Y is character variable.
Furthermore, the mapping relationship between the raw plant material and the current material mainly comprises the mapping relationship between the material number and the raw plant material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers.
Further, the step S4 is specifically:
s41, selecting any original factory tray through scanning to obtain a material bar code, and automatically filling the bar code in the column of the original factory bar code value of the system;
s42, the system automatically obtains a character string of the material number of the original factory according to the set bar code analysis rule of the material of the original factory;
s43, the system obtains a current material number character string corresponding to the character string of the original factory material number according to the set mapping relation between the original factory material and the current material;
step S44, the system obtains the character string of the label template data item according to the corresponding relation between the set label template data item and the original factory material bar code, and correspondingly backfills the character string to the field column of the material number;
and step S45, the system forms the character strings in each field column into a new bar code according to the bar code rule set by the label template and then prints the new bar code to obtain a new material label.
The device of the invention is realized as follows: a device for analyzing a universal label and automatically generating a printing label is characterized in that: the method comprises the following steps:
the analysis rule configuration module is used for setting an analysis rule of the bar code of the material of the original factory;
the mapping relation configuration module is used for setting the mapping relation between the original factory material and the current material;
the corresponding relation configuration module is used for setting the corresponding relation between the label template data item and the material bar code of the original factory;
the new label generating module is used for automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation after the original factory material bar code is selected;
and the printing module is used for printing the new material label.
Further, the setting of the parsing rule configuration module specifically includes:
the basic information establishing module is used for establishing basic information of the original factory label bar code;
the separator configuration module is used for configuring separators of original factory label bar codes;
the data item configuration module is used for configuring data items to which each code segment of the original factory label bar code belongs;
the atomic algorithm configuration module is used for configuring an atomic algorithm;
and the character processing module performs single operation or mixed operation according to the configured atomic algorithm to complete character processing on the data item and finish analysis.
Further, the atomic algorithm includes:
(1) removing '0' at the beginning of the numeric character string;
(2) removing left and right spaces;
(3) deleting the left N bits;
(4) deleting the right N bits;
(5) acquiring the Nth to Mth characters from left to right;
(6) acquiring the Nth to Mth characters from right to left;
(7) inserting characters on the right side;
(8) inserting characters on the left;
(9) all are converted into lower case;
(10) all are converted into capitals;
(11) deleting characters;
(12) intercepting the Mth section according to a separator X;
(13) intercepting character Y from the Nth bit;
wherein, N and M are natural numbers, N < M, X is separator variable, and Y is character variable.
Furthermore, the mapping relationship between the raw plant material and the current material mainly comprises the mapping relationship between the material number and the raw plant material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers.
Further, the new tag generation module specifically executes the following process:
(1) after a user scans and collects a material bar code on any stock disc, the material bar code is automatically filled in a 'stock bar code value' column of the system;
(2) automatically obtaining a character string of the material number of the original factory according to a set bar code analysis rule of the material of the original factory;
(3) obtaining a current material number character string corresponding to the character string of the material number of the original factory according to the set mapping relation between the material of the original factory and the current material;
(4) according to the corresponding relation between the set label template data item and the original factory material bar code, obtaining a character string of the label template data item, and correspondingly backfilling the character string to a field column of 'material number';
(5) and combining the character strings in each field column according to the bar code rule set by the label template to obtain a new material label.
The invention has the following advantages: the invention configures a set of analysis rules in the system in advance, and configures the mapping relation between the original factory material and the current material and the corresponding relation of the data items, when a user scans the original factory material bar code on the original factory material tray, the system can automatically identify the required key information, and generate a corresponding new material label according to the configured rules, mapping and corresponding relation, and print the new material label in real time.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2A to 2D are schematic diagrams of states of the method and apparatus of the present invention in an example of setting an analysis rule of the barcode of the source material.
FIG. 3 is a diagram illustrating an example state of the method and apparatus of the present invention in setting a mapping relationship between a material of a source plant and a current material.
FIG. 4 is a diagram illustrating an example of the status of the method and apparatus of the present invention in setting the correspondence between the tag template data item and the factory material barcode.
FIG. 5 is a schematic diagram of an example of a printing state of the method and apparatus of the present invention.
Fig. 6 is a schematic diagram of an example of a new material label printed in real time by the method and apparatus of the present invention.
Detailed Description
Referring to fig. 1, the method for parsing a universal label and automatically generating a print label according to the present invention includes:
step S1, setting an analysis rule of the bar code of the material of the original factory (the analysis rule needs to be set according to the meaning of the bar code of the label of the original factory provided by the original manufacturer);
s2, setting a mapping relation between the original factory material and the current material; the mapping relation between the original factory material and the current material mainly comprises the mapping relation between a material number and the original factory material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers.
S3, setting the corresponding relation between the label template data item and the original factory material bar code;
and step S4, after selecting the original factory material bar code, automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation, and printing.
The step S1 is specifically:
step S11, establishing basic information of the factory label bar code, as shown in fig. 2A;
step S12, configuring a separator of the genuine factory label barcode, which can be referred to as fig. 2B;
step S13, configuring data items to which each code segment of the genuine factory label barcode belongs, as shown in fig. 2C;
step S14, configuring an atomic algorithm, which can be referred to as shown in fig. 2D;
and step S15, performing single operation or mixed operation according to the configured atomic algorithm, completing character processing on the data item, and ending the analysis.
The step S4 is specifically:
and step S41, selecting any original factory tray through scanning to obtain a material bar code, and automatically filling the original factory material bar code in the column of the original factory bar code value of the system by the system.
S42, the system automatically obtains a character string of the material number of the original factory according to the set bar code analysis rule of the material of the original factory;
and step S43, the system obtains the current material number character string corresponding to the character string of the material number of the original factory according to the set mapping relation between the material of the original factory and the current material.
Step S44, the system obtains the character string of the label template data item according to the corresponding relation between the set label template data item and the original factory material bar code, and correspondingly backfills the character string to the field column of the material number;
and step S45, the system forms the character strings in each field column into a new bar code according to the bar code rule set by the label template and then prints the new bar code to obtain a new material label. And then, the original factory material bar codes can be directly printed or printed after previewing, and when the original factory material bar codes are scanned, a new material label can be automatically printed, and the new material label can be directly pasted on the original factory material disc which is just scanned.
With reference to fig. 2A to fig. 6, based on the above method, the apparatus for analyzing a universal label and automatically generating a print label according to the present invention includes:
the analysis rule configuration module is used for setting an analysis rule of the bar code of the material of the original factory;
the mapping relation configuration module is used for setting the mapping relation between the original factory material and the current material; the mapping relation between the original factory material and the current material mainly comprises the mapping relation between a material number and the original factory material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers. As shown in fig. 3, taking enterprise B as an example, if enterprise B purchases materials of original plant a, a mapping relationship between the materials of original plant a and the materials of enterprise B needs to be set first, and if the material number of original plant a is "RC 0603FR-071R 6L", and the material number of enterprise B is "31310000428", then the material number of original plant a is "RC 0603FR-071R 6L" and is mapped to the material number of enterprise B "31310000428".
The corresponding relation configuration module is used for setting the corresponding relation between the label template data item and the material bar code of the original factory; as shown in fig. 4, the "material number" corresponds to the "material number of the original factory", and the general item of the label of the data item of the "material number" of the label template is set as the "material number of the original factory", and in addition, the name, the specification, the number, and the printing date are also set according to this method if necessary.
The new label generating module is used for automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation after the original factory material bar code is selected;
the printing module is used for printing a new material label; as shown in fig. 5, a new material label generated according to the configured items is printed, and in fig. 5, the left side is original factory information maintained in all the systems, and the right side is data item information of the material label. If the 'automatic printing' item is selected, the original factory material bar code scanned by the scanning gun can automatically generate a new material label and directly print out, and if the original factory material bar code is not selected, the original factory material bar code can be printed or directly printed after being manually previewed.
The analysis rule configuration module specifically comprises a basic information establishing module, a separator configuration module, a data item configuration module, an atomic algorithm configuration module and a character processing module:
the basic information establishing module is used for establishing basic information of the original factory label bar code; as shown in fig. 2A, basic information of the original factory tag barcode, such as the full name and abbreviation of the original factory tag barcode, the number of materials, and the like, is established for each raw material supplier of the user enterprise.
The separator configuration module is used for configuring separators of original factory label bar codes; as shown in fig. 2B, any genuine product label barcode of the material supplier is selected as a test code and is input into the corresponding test code frame, and the separator of the genuine product label barcode in the test code frame shown in fig. 3 is "," so that "," can be input into the separator configuration frame.
The data item configuration module is used for configuring the data items of the code segments of the original factory label bar codes; as shown in fig. 2C, after the separator is entered, the system automatically fills the data items of each code segment obtained by the separator, such as the original plant material number, quantity, Lot No, date of manufacture, etc., into the table, and the user then fills the meaning configuration represented by the table in the corresponding column.
The atomic algorithm configuration module is used for configuring an atomic algorithm; after clicking the character at the end of a certain data item column, entering the job step page of character processing, as shown in fig. 2D, the configuration of the atomic algorithm may be performed, and if it is necessary to remove the "number" code segment from 0 before the number, the job step selects < remove 0 at the beginning of the number character string >. Wherein the atomic algorithm comprises:
(1) removing '0' at the beginning of the numeric character string;
(2) removing left and right spaces;
(3) deleting the left N bits;
(4) deleting the right N bits;
(5) acquiring the Nth to Mth characters from left to right;
(6) acquiring the Nth to Mth characters from right to left;
(7) inserting characters on the right side;
(8) inserting characters on the left;
(9) all are converted into lower case;
(10) all are converted into capitals;
(11) deleting characters;
(12) intercepting the Mth section according to a separator X;
(13) intercepting character Y from the Nth bit;
wherein, N and M are natural numbers, N < M, X is separator variable, and Y is character variable.
The atomic algorithms (2) to (13) are explained one by taking a test value 'LYRYCLH 99LKHD6D7 JJK' as an example, and the details are shown in the following table;
Figure GDA0001868148700000081
Figure GDA0001868148700000091
and the character processing module performs single operation or mixed operation according to the configured atomic algorithm to complete character processing on the data item and finish analysis.
When the configuration of the data items cannot be met by single atomic calculation, mixed operation can be performed, and the system supports hierarchical and top-bottom ordering operation. If the L BM673-P1 character strings need to be acquired from the original factory information [) > @06@12S0001@ X11081040@1PLBM673@6P1008717219@1TTC7120H699@9D1713@ Q3000@1LP1, after the original factory information is acquired, the configuration acquisition rule is as follows:
1. intercepting the 5 th section of the original factory information according to the separator @;
2. deleting the left 2 bits of the value obtained in the step 1;
3. inserting a character "-" at the right side of the result in the step 3;
4. intercepting the 10 th segment of the original factory information according to the separator @;
5. deleting the left 2 bits of the value obtained in the step 4;
6. and splicing the values of the step 2 and the step 4.
Then the following is configured in the system:
Figure GDA0001868148700000101
in the above table, ">", "> > > >", and "> > > >" in the above work steps are operations at the second level to the fourth level. When the analysis is finished, the analysis result can be used for generating a new label bar code, and when an original factory bar code of a raw material supplier of a user enterprise is analyzed according to the method, the original factory bar code similar to the raw material supplier can be automatically analyzed by scanning subsequently.
The new tag generation module specifically executes the following processes:
(1) after a user scans and collects a material bar code on any stock disc, the material bar code is automatically filled in a 'stock bar code value' column of the system; for example, the original factory material barcodes ' PRC0603FR-071R6L, Q5000,9D1822,1PRC0603F-071R6L and 50H2132251 ' are obtained by scanning, and as shown in FIG. 5, the system automatically fills the original factory material barcodes ' PRC0603FR-071R6L, Q5000,9D1822,1PRC0603F-071R6L and 50H2132251 ' in the column of the original factory code value ' of the system.
(2) Automatically obtaining a character string of the material number of the original factory according to a set bar code analysis rule of the material of the original factory; if the separator in the original factory material barcode parsing rule is configured as ",", the first string "PRC 0603FR-071R 6L" is obtained as the original factory material number.
(3) Obtaining a current material number character string corresponding to a character string 'PRC 0603FR-071R 6L' of the character string of the original plant material number as '31310000428' according to the set mapping relation between the original plant material and the current material;
(4) according to the corresponding relation between the set label template data item and the original factory material bar code, obtaining a character string of the label template data item, and correspondingly backfilling the character string to a 'material code' field column;
(5) and combining the character strings in each field column according to the bar code rule set by the label template to obtain a new material label. And then, the original factory material bar codes can be directly printed or printed after previewing, and when the original factory material bar codes are scanned, a new material label can be automatically printed, and the new material label can be directly pasted on the original factory material disc which is just scanned.
Finally, as shown in fig. 6, the left side is the original factory material bar code, and the right side is the new material label.
As mentioned above, the system of the invention configures a set of analysis rules in the system and configures the mapping relationship between the material of the original factory and the current material, so that when a material tray of the original factory is scanned, the system can automatically identify the required key information and print the material label required by the corresponding enterprise in real time.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (6)

1. A method for analyzing a general label and automatically generating a printing label is characterized in that: the method comprises the following steps:
step S1, setting an analysis rule of the bar code of the material of the original factory; the method comprises the following steps:
step S11, establishing basic information of the original factory label bar code;
step S12, configuring separators of original factory label bar codes;
s13, configuring data items of each code segment of the original factory label bar code;
step S14, configuring an atomic algorithm; the atomic algorithm includes:
(1) removing '0' at the beginning of the numeric character string;
(2) removing left and right spaces;
(3) deleting the left N bits;
(4) deleting the right N bits;
(5) acquiring the Nth to Mth characters from left to right;
(6) acquiring the Nth to Mth characters from right to left;
(7) inserting characters on the right side;
(8) inserting characters on the left;
(9) all are converted into lower case;
(10) all are converted into capitals;
(11) deleting characters;
(12) intercepting the Mth section according to a separator X;
(13) intercepting character Y from the Nth bit;
wherein, N and M are both natural numbers, N < M, X is a separator variable, and Y is a character variable;
step S15, performing single operation or mixed operation according to the configured atomic algorithm, completing character processing on the data items, and ending the analysis;
the single operation is to select one from (1) to (13) for operation, and the mixing operation is to select at least two from (1) to (13) for operation in sequence;
s2, setting a mapping relation between the original factory material and the current material;
s3, setting the corresponding relation between the label template data item and the original factory material bar code;
and step S4, after selecting the original factory material bar code, automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation, and printing.
2. The method for universal label resolution and automatic print label generation according to claim 1, wherein: the mapping relation between the original factory material and the current material mainly comprises the mapping relation between a material number and the original factory material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers.
3. The method for universal label resolution and automatic print label generation according to claim 1, wherein: the step S4 is specifically:
s41, selecting any original factory tray through scanning to obtain a material bar code, and automatically filling the bar code in the column of the original factory bar code value of the system;
s42, the system automatically obtains a character string of the material number of the original factory according to the set bar code analysis rule of the material of the original factory;
s43, the system obtains a current material number character string corresponding to the character string of the original factory material number according to the set mapping relation between the original factory material and the current material;
step S44, the system obtains the character string of the label template data item according to the corresponding relation between the set label template data item and the original factory material bar code, and correspondingly backfills the character string to the field column of the material number;
and step S45, the system forms the character strings in each field column into a new bar code according to the bar code rule set by the label template and then prints the new bar code to obtain a new material label.
4. A device for analyzing a universal label and automatically generating a printing label is characterized in that: the method comprises the following steps:
the analysis rule configuration module is used for setting an analysis rule of the bar code of the material of the original factory; the method specifically comprises the following steps:
the basic information establishing module is used for establishing basic information of the original factory label bar code;
the separator configuration module is used for configuring separators of original factory label bar codes;
the data item configuration module is used for configuring data items to which each code segment of the original factory label bar code belongs;
the atomic algorithm configuration module is used for configuring an atomic algorithm; the atomic algorithm includes:
(1) removing '0' at the beginning of the numeric character string;
(2) removing left and right spaces;
(3) deleting the left N bits;
(4) deleting the right N bits;
(5) acquiring the Nth to Mth characters from left to right;
(6) acquiring the Nth to Mth characters from right to left;
(7) inserting characters on the right side;
(8) inserting characters on the left;
(9) all are converted into lower case;
(10) all are converted into capitals;
(11) deleting characters;
(12) intercepting the Mth section according to a separator X;
(13) intercepting character Y from the Nth bit;
wherein, N and M are both natural numbers, N < M, X is a separator variable, and Y is a character variable;
the character processing module performs single operation or mixed operation according to the configured atomic algorithm, completes character processing on the data item, and finishes analysis;
the single operation is to select one from (1) to (13) for operation, and the mixing operation is to select at least two from (1) to (13) for operation in sequence;
the mapping relation configuration module is used for setting the mapping relation between the original factory material and the current material;
the corresponding relation configuration module is used for setting the corresponding relation between the label template data item and the material bar code of the original factory;
the new label generating module is used for automatically generating a new material label according to the set analysis rule, the mapping relation and the corresponding relation after the original factory material bar code is selected;
and the printing module is used for printing the new material label.
5. The apparatus for universal label resolution and automatic print label generation according to claim 4, wherein: the mapping relation between the original factory material and the current material mainly comprises the mapping relation between a material number and the original factory material number; the label template data items comprise material numbers, unique material codes, names, specifications, printing dates and numbers.
6. The apparatus for universal label resolution and automatic print label generation according to claim 4, wherein: the new tag generation module specifically executes the following process:
(1) after a user scans and collects a material bar code on any stock disc, the material bar code is automatically filled in a 'stock bar code value' column of the system;
(2) automatically obtaining a character string of the material number of the original factory according to a set bar code analysis rule of the material of the original factory;
(3) obtaining a current material number character string corresponding to the character string of the material number of the original factory according to the set mapping relation between the material of the original factory and the current material;
(4) according to the corresponding relation between the set label template data item and the original factory material bar code, obtaining a character string of the label template data item, and correspondingly backfilling the character string to a field column of 'material number';
(5) and combining the character strings in each field column according to the bar code rule set by the label template to obtain a new material label.
CN201811098075.2A 2018-09-20 2018-09-20 Method and device for analyzing universal label and automatically generating printing label Active CN109409452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811098075.2A CN109409452B (en) 2018-09-20 2018-09-20 Method and device for analyzing universal label and automatically generating printing label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811098075.2A CN109409452B (en) 2018-09-20 2018-09-20 Method and device for analyzing universal label and automatically generating printing label

Publications (2)

Publication Number Publication Date
CN109409452A CN109409452A (en) 2019-03-01
CN109409452B true CN109409452B (en) 2021-12-31

Family

ID=65464966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811098075.2A Active CN109409452B (en) 2018-09-20 2018-09-20 Method and device for analyzing universal label and automatically generating printing label

Country Status (1)

Country Link
CN (1) CN109409452B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070162B (en) * 2019-03-11 2022-07-26 上海因致信息科技有限公司 Method and system for encoding data to be filled in bar code
CN110378441B (en) * 2019-07-08 2023-01-13 广州赛意信息科技股份有限公司 Label printing method and system
CN112508152A (en) * 2020-12-10 2021-03-16 四川长虹电器股份有限公司 Method, system, computer device and storage medium for generating product SN
CN117032602B (en) * 2023-10-10 2024-01-26 海通安恒科技股份有限公司 Printing method and system for rapidly realizing label field mapping and label rule configuration

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788892A (en) * 2009-01-22 2010-07-28 英业达股份有限公司 Label printing system
CN102609816A (en) * 2012-02-13 2012-07-25 浪潮集团山东通用软件有限公司 General material coding method capable of coding according to user-defined rule
CN102750615A (en) * 2012-06-21 2012-10-24 三角轮胎股份有限公司 Online tire informatization production method
CN103218589A (en) * 2013-04-23 2013-07-24 浪潮集团山东通用软件有限公司 Enterprise resource planning (ERP) data identification method supporting various identification techniques
CN103345216A (en) * 2013-06-18 2013-10-09 甘肃烟草工业有限责任公司 Feed liquid automatic identification system
CN104598865A (en) * 2015-02-27 2015-05-06 王明 Full-automatic barcode recognition transition system and method thereof
CN106275644A (en) * 2016-07-26 2017-01-04 歌尔股份有限公司 Based on assembling, packing and integrated product processes and the system of weighing
CN106355219A (en) * 2016-08-22 2017-01-25 金蝶软件(中国)有限公司 Material label barcode updating method, device, PDA and warehouse management system
CN107368765A (en) * 2017-07-26 2017-11-21 武汉虹之彩包装印刷有限公司 A kind of packaging material batch can tracing management method and system
CN107563460A (en) * 2017-08-25 2018-01-09 宁波灵云科技信息服务有限公司 Finished product in-out-storehouse management method and system based on bar codes technique
CN107563689A (en) * 2017-08-25 2018-01-09 宁波纷享软件科技有限公司 Use bar code management system and method
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code
CN108197686A (en) * 2017-12-25 2018-06-22 康美药业股份有限公司 Item barcode analytic method, device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050067727A1 (en) * 2003-09-25 2005-03-31 Weder Donald E. Encoded sheet of material and method for controlling an article forming system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788892A (en) * 2009-01-22 2010-07-28 英业达股份有限公司 Label printing system
CN102609816A (en) * 2012-02-13 2012-07-25 浪潮集团山东通用软件有限公司 General material coding method capable of coding according to user-defined rule
CN102750615A (en) * 2012-06-21 2012-10-24 三角轮胎股份有限公司 Online tire informatization production method
CN103218589A (en) * 2013-04-23 2013-07-24 浪潮集团山东通用软件有限公司 Enterprise resource planning (ERP) data identification method supporting various identification techniques
CN103345216A (en) * 2013-06-18 2013-10-09 甘肃烟草工业有限责任公司 Feed liquid automatic identification system
CN104598865A (en) * 2015-02-27 2015-05-06 王明 Full-automatic barcode recognition transition system and method thereof
CN106275644A (en) * 2016-07-26 2017-01-04 歌尔股份有限公司 Based on assembling, packing and integrated product processes and the system of weighing
CN106355219A (en) * 2016-08-22 2017-01-25 金蝶软件(中国)有限公司 Material label barcode updating method, device, PDA and warehouse management system
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code
CN107368765A (en) * 2017-07-26 2017-11-21 武汉虹之彩包装印刷有限公司 A kind of packaging material batch can tracing management method and system
CN107563460A (en) * 2017-08-25 2018-01-09 宁波灵云科技信息服务有限公司 Finished product in-out-storehouse management method and system based on bar codes technique
CN107563689A (en) * 2017-08-25 2018-01-09 宁波纷享软件科技有限公司 Use bar code management system and method
CN108197686A (en) * 2017-12-25 2018-06-22 康美药业股份有限公司 Item barcode analytic method, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于MES的质量信息管理与质量追溯系统研究;刘伟;《中国优秀硕士学位论文全文数据库 经济与管理科学辑》;20130215(第2013年第2期);J152-467 *

Also Published As

Publication number Publication date
CN109409452A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109409452B (en) Method and device for analyzing universal label and automatically generating printing label
CN1577324B (en) Document management method and document management apparatus
US7142326B2 (en) Method and apparatus for variable data document printing
CN101027637A (en) Engineering data interface and electrical specification tracking and ordering system
CA2573796A1 (en) Improved unique identification labeling method and system
JP2003505854A (en) How to convert a primitive parts list for a printed circuit board to a standard parts list
CN112669110A (en) Server label management method and related equipment
US20030076538A1 (en) Ratioing algorithm for a label printing system using plates
US20120209846A1 (en) Document processing system and computer readable medium
CN110223152A (en) A kind of plate production data acquisition method and system in Furniture manufacture execution system
CN111126030B (en) Label typesetting processing method, device and system
CN109325380B (en) Method and system for realizing automatic analysis of label bar code through configuration
CN115271360A (en) System and method for generating batches in universal production process
CN114065794B (en) Production and work reporting method, system and equipment based on multi-dimensional two-dimensional code
CN114004587A (en) Design system and method for automatic management and control of whole machine model
CN112966794B (en) RFID-based production traceability and dynamic process management system
JP2024000374A (en) Program, production base system, packing processing method, and information processing system
JP2005107986A (en) Electronic filing progress management method, electronic filing work processing apparatus and program
CN113626030A (en) Method and system for quickly building data visualization large screen
JP6102567B2 (en) Product information management system and product information registration method
CN111160876A (en) Internet of things identification analysis information input method based on input equipment identity
CN112396290A (en) MPS/MRP integrated planning method supporting bilateral fuzzy constraint
JP5033569B2 (en) Method for associating RF tag and individual identification number
KR100937526B1 (en) Computer-Executable Method for type setting of print
US20230325754A1 (en) Systems and methods for quality control management

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
CB02 Change of applicant information

Address after: 350000 room 710, 7 / F, building a, jiuce building, Haixi high tech Industrial Park, Fuzhou high tech Zone, Fuzhou, Fujian

Applicant after: Moore element (Fujian) Technology Co.,Ltd.

Address before: 361000 1218-20, No. 99, Songyu South Second Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen, Fujian

Applicant before: MOREWIS (XIAMEN) TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant