CN108596291B - Label data generation method and device - Google Patents

Label data generation method and device Download PDF

Info

Publication number
CN108596291B
CN108596291B CN201810183201.8A CN201810183201A CN108596291B CN 108596291 B CN108596291 B CN 108596291B CN 201810183201 A CN201810183201 A CN 201810183201A CN 108596291 B CN108596291 B CN 108596291B
Authority
CN
China
Prior art keywords
label
product
template
data
preset
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
CN201810183201.8A
Other languages
Chinese (zh)
Other versions
CN108596291A (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.)
Hangzhou Yougongpin Technology Co ltd
Original Assignee
Hangzhou Yougongpin 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 Hangzhou Yougongpin Technology Co ltd filed Critical Hangzhou Yougongpin Technology Co ltd
Priority to CN201810183201.8A priority Critical patent/CN108596291B/en
Publication of CN108596291A publication Critical patent/CN108596291A/en
Application granted granted Critical
Publication of CN108596291B publication Critical patent/CN108596291B/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
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Labeling Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a tag data generation method and device. The method comprises the following steps: receiving a first tag data generation instruction; judging a first label type of the label data according to the first label data generation instruction; loading a preset label template through the first label type; and outputting the product label data in the preset label template according to the first output instruction. The technical problems that the label data manufacturing efficiency is low and the manufacturing cost is high are solved. Meanwhile, the label data generation process also meets the standardized industrial standard, the label data manufacturing efficiency is improved, and the label data manufacturing cost is reduced. Furthermore, it is also more convenient to manage and update the tag data.

Description

Label data generation method and device
Technical Field
The application relates to the field of software, in particular to a tag data generation method and device.
Background
Industrial parts are the very important supporting industry in national economy, the production value is over trillion, the application of fasteners (commonly called screws) and the related industry are the basic supporting industry of industry, the most extensive small mobile phones and large airplanes need fasteners for connection, and the fasteners are also called industrial meters. The fastener products have own standards (standard contents comprise technical, performance, application, drawing and other information) in all countries, regions and industries, China is a large industrial manufacturing country and gathers global fastener product data, the global fastener standards reach 8000 varieties, and the specifications and models of common products are more than ten million.
The inventor finds that due to the lack of product label marks with uniform formats, label format mark typesetting methods are different among different factories, background systems used among factories, merchants and clients are not communicated with one another, uniform identification and reading cannot be achieved, and manual processing is needed. The communication and circulation efficiency from the production, circulation and trade to the whole industrial chain link of the use terminal is low, and the error probability is high. In addition, there are also many problems that one object has multiple codes, one code has multiple objects, the same product has multiple application aliases and calling, and similarly, the words in local dialects are difficult to communicate and understand.
At present, the label data generation mode of products mainly adopts third-party label manufacturing software to manually manufacture, print and output, and a printing template needs to be manufactured for products with each specification, and the whole process needs manual operation, so that the labor is wasted. The standard number, the name, the specification, the color, the quantity, the packaging and other attributes of the product need to be checked and modified each time when the product is printed. Meanwhile, the user only stores the printed label template on a local computer, finds out the label template when the label template is needed to be used, and then prints the label template after manually calculating the number of the labels after the attributes are modified. The disadvantages are that: once a data template is lost and needs to be completely remade, there is a risk of gear-breaking when personnel flow occurs. In addition, the mode of batch customized printing is also adopted in the mode of generating the product label data, and the method is suitable for single-specification mass production of large-scale production enterprises. The disadvantages are that: the manufacturing cost is high, the label printing department and the warehouse are required to manage and store, the capital is occupied, the labels are completely changed into waste products if the product is not produced, and meanwhile, the printing mode cannot be changed at all, and the whole batch of labels can be scrapped as long as errors occur.
Aiming at the problems of low tag data manufacturing efficiency and high manufacturing cost in the related technology, no effective solution is provided at present.
Disclosure of Invention
The present application mainly aims to provide a tag data generation method and apparatus, so as to solve the problems of low tag data production efficiency and high production cost.
In order to achieve the above object, according to one aspect of the present application, there is provided a tag data generating method for generating product tag data.
The tag data generation method according to the application comprises the following steps: receiving a first tag data generation instruction; judging a first label type of the label data according to the first label data generation instruction; loading a preset label template through the first label type; and outputting the product label data in the preset label template according to the first output instruction.
Further, the method further comprises: determining a second tag data adding instruction; generating a first template format of the tag data according to the second tag data adding instruction; loading a newly added label template through the first template format; and outputting the product label data in the newly added label template according to a second output instruction.
Further, loading a preset tag template by the first tag type includes: loading the preset label template at least with the label type and the size according to the first label type; judging whether the preset label template is set as a label default template or not; and if the preset label template is set as a label default template, taking the label default template as an output format of the same label type.
Further, outputting the product label data in the preset label template according to the first output instruction includes: determining a first packaging mode and a first product specification of a product according to the first output instruction; filtering according to the first product specification to obtain product label data meeting preset conditions; adding a first packaging mode to the product label data in the preset label template; determining the first packaging mode correspondingly selected by the first product specification; determining the type of the printing label according to the first output instruction; and printing out product label data of the preset label template corresponding to the first packaging mode and the first product specification according to the label type selection instruction.
Further, after the outputting the product tag data in the preset tag template according to the first output instruction, the method further includes: receiving a first preview instruction of product label data; displaying a first preview result page of the product label data according to the first preview instruction; generating a unique identifier with the product description content information access address on the first preview result page; determining a first label output quantity of the product label data, and determining the first label output quantity on the first preview result page; detecting whether the first preview result page meets the condition that product label data in the preset label template is output according to a first output instruction; and if the first preview result page is detected to meet the condition that the product label data in the preset label template is output according to a first output instruction, printing the product label data.
Further, the first tag type of the tag data is judged according to the first tag data generation instruction, and includes but is not limited to any one of the following tag types: the outer box label of product, the interior package label of product, the goods shelves label of product, the bagged label of product.
In order to achieve the above object, according to another aspect of the present application, there is provided a tag data generating apparatus for generating product tag data.
The tag data generation device according to the present application includes: the receiving module is used for receiving a first tag data generation instruction; the generating module is used for judging the first label type of the label data according to the first label data generating instruction; the preset template loading module is used for loading a preset label template through the first label type; and the first output module is used for outputting the product label data in the preset label template according to a first output instruction.
Further, the apparatus further comprises: the determining module is used for determining a second tag data adding instruction; the adding module is used for judging the first template format of the label data according to the second label data adding instruction; the new template loading module is used for loading a new label template through the first template format; and the second output module is used for outputting the product label data in the newly added label template according to a second output instruction.
Further, the preset template loading module includes: the loading unit is used for loading the preset label template at least with the label type and the size according to the first label type; the judging unit is used for judging whether the preset label template is set as a label default template or not; and the default template output unit is used for judging that the preset label template is set as a label default template, and then taking the label default template as an output format of the same label type.
Further, the first output module includes: the first determining unit is used for determining a first packaging mode and a first product specification of a product according to the first output instruction; the filtering unit is used for filtering according to the first product specification to obtain product label data meeting preset conditions; the adding unit is used for adding a first packaging mode to the product label data in the preset label template; the second determining unit is used for determining the first packaging mode correspondingly selected by the first product specification; a print determination unit configured to determine a print label type according to the first output instruction; and the printing unit is used for printing out product label data of the preset label template corresponding to the first packaging mode and the first product specification according to the label type selection instruction.
In the embodiment of the application, a mode of judging the first label type of the label data according to the first label data generation instruction is adopted, and the preset label template is loaded according to the first label type, so that the purpose of outputting the product label data in the preset label template according to the first output instruction is achieved, the technical effect of quickly generating the label data by the preset template is achieved, and the technical problems of low label data manufacturing efficiency and high manufacturing cost are solved. In addition, all elements such as attributes, schematic diagrams and the like required by integrated product label data are applied to a large industrial database based on standardization, the batch output of formats can be unified through presetting a label template, the label data generation is standardized, the cost is low, and the efficiency is obviously improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a schematic diagram of a tag data generation method according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of a tag data generation method according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a tag data generation method according to a third embodiment of the present application
FIG. 4 is a schematic diagram of a tag data generation method according to a fourth embodiment of the present application;
FIG. 5 is a schematic diagram of a tag data generation method according to a fifth embodiment of the present application;
FIG. 6 is a schematic diagram of a tag data generation apparatus according to a first embodiment of the present application;
FIG. 7 is a schematic diagram of a tag data generation apparatus according to a second embodiment of the present application;
FIG. 8 is a schematic diagram of a tag data generation apparatus according to a third embodiment of the present application; and
fig. 9 is a schematic diagram of a tag data generation apparatus according to a fourth embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
The tag data generation method receives a first tag data generation instruction; judging a first label type of the label data according to the first label data generation instruction; loading a preset label template through the first label type; and outputting the product label data in the preset label template according to the first output instruction. The label data generation process is standardized, and after the preset label template is determined, only the corresponding product is selected to be directly printed without any manual intervention. The label data generation process is low in cost, the general white label paper is used, the product labels with any content are output, printing customization is omitted, label stock is reduced, and management difficulty is reduced.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1, the method includes steps S102 to S108 as follows:
step S102, receiving a first tag data generation instruction;
the received first tag data generation instruction may be a tag data generation instruction from a user via a computer or a wireless terminal. The computer and the wireless terminal can not only establish label data for products in the existing product database, but also establish label data for products meeting the unique coding requirement.
The tag data generation instruction may include: product label attribute information such as company name, product name, standard number, strength, specification, packaging number and the like.
Step S104, judging a first label type of the label data according to the first label data generation instruction;
and judging that the first label type of the label data can be an outer case label data type according to the label data generation instruction.
For example, the outer box label data a is used as a label attached to the outer box of the outer package of the product.
And judging that the first label type of the label data can be an internal package label data type according to the label data generation instruction.
For example, the inner package label data B is used as a label attached to the inner package of the product.
And judging that the first label type of the label data can be a shelf label data type according to the label data generation instruction.
For example, the shelf label data C is used as a label attached to a shelf on which a product is placed.
And judging that the first label type of the label data can be a bagged label data type according to the label data generation instruction.
For example, the bag label data D is used as a label on a bag for packaging a product.
Preferably, label data types such as frequently-used outer boxes, inner packages, goods shelves, bags and the like can be used, the user-defined process of customers is reduced, and product labels which do not have special requirements and can be directly output and printed by using the label data types can be used.
Step S106, loading a preset label template through the first label type;
after the tag type is determined, a preset tag template may be loaded. The loading can be any display mode such as an association table, a window display and the like. When the preset label template is loaded, the method further comprises the following steps: template sample, label type, and size.
For example, the template sample includes a pre-typeset or pre-set form, tag attributes, and the like. The type of the tag is determined by the received tag data generation instruction.
And S108, outputting the product label data in the preset label template according to the first output instruction.
After the attribute and the type of the label data of the product are determined, the label data of the product can be output according to a preset label template. In addition, at least the specification of the product and the type of label data need to be determined.
Preferably, the output of the product label data according to the output instruction can select the type of the label to be printed by setting parameters such as the input packaging mode, specification and the like.
Through loading the preset label template, the efficiency of outputting the label data can be improved, and meanwhile, the cost for manufacturing the label data is saved. By selecting the type and the packaging mode of the label, the label data can be output quickly by means of the preset label template.
The method can reduce the cost, and particularly, the single-sheet cost is not improved when the printing quantity is small. The label types of different products of different customers do not need to be prepared in advance, and the problem that the label types are not increased when the product types are increased is solved. Therefore, special storehouses and personnel are not needed for management, the management is more difficult,
normalization is also needed first when generating the tag data. Taking industrial parts as an example, preferably, the product codes of the industrial parts and the attribute fields of the industrial parts can be unified and standardized, so that one-object-one-code and precise management can be realized.
The method for realizing standardization specifically comprises the following steps: step S1, determining the industrial parts to be coded;
the industrial parts to be coded can be industrial parts in the industries of hand tools, hardware, bearings, springs, measuring tool cutters, transmission parts, automobile and motorcycle fittings, low-voltage electrical appliances and the like.
The industrial parts to be coded can be determined to be standard data of integrated global fastener products of an industrial large database, and cover each national region, 13 industry categories, 15 product series, nearly 10 hundred million product specification data and nearly 20 hundred million drawing data.
The industrial part determined to be encoded may be an industrial part stored by a table.
The industrial part determined to be encoded may be an industrial part that reads from or writes to a database.
Step S2, encoding the industrial parts according to preset rules and writing the encoded industrial parts into a database;
the preset rules include, but are not limited to, standard category rules such AS national standard GB, German standard DIN, International ISO, Japanese JIS, American Standard ASME, American Standard IFI, English Standard BS, European Standard EN, Italy UNI, French Standard NF, Australian Standard AS, Korean Standard KS, Russian Standard GOST, nonstandard W, and the like.
The preset rules include, but are not limited to, standard category rules such as automobile QC, mechanical JB, chemical HG, petrochemical SH, standard PEM, electrical DL, electronic SJ, building JG, railroad TB, aviation HB, aerospace QJ, military GJB, and the like.
The predetermined rules include, but are not limited to, bolts, studs, screws, nuts, washers, brads, assemblies, keys, pins, rivet welds, expansion pieces, rigging, and other product classification rules.
The preset rules include, but are not limited to, product standard rules. Such as the product standard of GB + serial number.
The preset rules include, but are not limited to, product attribute rules. Such as diameter, material, strength, material, surface treatment
The preset rules include, but are not limited to, product specification rules. For example, M10x100, M10x60, M10x 45.
The preset rules include, but are not limited to, surrogate standard rules. The interchange between different sizes and lengths is substituted.
In some embodiments, when the industrial parts are coded according to preset rules and written into the database, the MySql is used for data persistence in the data storage layer, and database read-write separation is adopted, so that the performance of multi-user access can be improved.
In some embodiments, when the industrial part is encoded and written to the database according to the preset rules, at the data access layer: NET EF or Sqlclient can be selected for data access, and the requirements on data access under different scenes are met.
In some embodiments, when the industrial parts are encoded according to the preset rules and written into the database, at the business service layer: all business logics are encapsulated in a business service layer, and provide business services externally in a Windows communication development platform mode, so that the method has the characteristics of high cohesion and low coupling.
In some embodiments, when the industrial part is encoded and written to the database according to the preset rules, at the presentation layer: front-end display technologies such as HTML5, JQuery, CSS3 and Bootstrap can be selected, response layout is achieved, and the browser is compatible with various browsers.
In some embodiments, when the industrial part is encoded and written to the database according to the preset rules, at the client: various mainstream browsers are supported, and IE, Google and Firefox browsers, tablets, smart phones and other devices can be selected and used, so that the mobile office requirements are met.
And step S3, adding a preset association relation when the industrial parts are coded.
When the industrial parts are coded, the preset association relationship is added, and the standard type: national standard GB, German standard DIN, international ISO, Japanese standard JIS, American standard ASME, American standard IFI, English standard BS, European standard EN, Italian UNI, French standard NF, Australian standard AS, Korean standard KS, Russian standard GOST, nonstandard W, automobile QC, mechanical JB, chemical HG, petrochemical SH, standard PEM, electric DL, electronic SJ, building JG, railway TB, aviation HB, aerospace QJ, military standard GJB and the like and product categories: bolts, studs, screws, nuts, washers, collars, self-tapping screws, wood screws, assemblies, keys, pins, rivet welds, expansion members, rigging, and the like.
For example, the standard categories: national standard GB/product category: and (4) bolts.
The preset association relationship is added when the industrial parts are coded, wherein the preset association relationship comprises a product type and a product standard: and the association relationship of the product attributes and the product specifications.
For example, the product category: bolt, nut/product standard: GB 5782/product attributes: strength, diameter, length/product specification: m10x 100.
The preset association relationship may be a substitute association relationship when the industrial parts are encoded.
For example, the GB5782-2000 half-thread hexagon bolt is partially threaded, attributes such as diameter, pitch, material, strength, material and surface treatment are all expanded, association based on a background and ordered combined display are achieved, and a user can quickly filter and switch by clicking. For example, the following are selected: diameter: m8, length: 50. 80 and 100, material: carbon steel, alloy steel, strength: 8.8, material: 35. surface treatment: blackening (quenching); product weight, product drawing, alternative interchange standards and data are correlated.
From the above description, it can be seen that the present invention achieves the following technical effects:
the label data generation method can standardize label production, and after the preset label template is determined, only the corresponding product is selected to be directly output without manual intervention. The method is different from the low-efficiency processing mode of manually manufacturing the label by adopting third-party label manufacturing software in the prior art. Meanwhile, the error rate is reduced, and the method is different from the problem that in the prior art, errors are easy to occur when attribute contents on the label need to be modified every time.
In addition, the cost in the generation process is low, the general white label paper is used, the product labels with any content are output, printing customization is omitted, label stock is reduced, and management difficulty can be reduced. The method is different from the problems of low safety and poor normative in the prior art. In the prior art, the labels are large in randomness and difficult to unify and standardize during manufacturing.
According to the embodiment of the present invention, as shown in fig. 2, it is preferable in the embodiment that the method further includes:
step S202, determining a second tag data adding instruction;
the tag addition instruction may be determined when the user wants to add a tag format that is not included in the current preset template.
When determining the new instruction, the new instruction may be executed by displaying a window, setting a button, or setting a pull-down menu.
Step S204, generating a first template format of the label data according to the second label data adding instruction;
the first template format for generating the tag data according to the second tag data addition instruction may be a selected tag type.
The first template format for generating the tag data according to the second tag data addition instruction may be to determine a selected input tag size.
The first template format for generating the tag data according to the second tag data addition instruction may be a template specification for determining a selection.
Step S206, loading a newly added label template through the first template format;
after the template format is determined, the newly added tag template may be loaded. The newly added label template has the authority of modifying the newly added label template besides the preset template sample, label type, label size and template description. The modified authority can be to modify the label style, the content typesetting and the like in the template sample.
And step S208, outputting the product label data in the newly added label template according to a second output instruction.
After the attribute and the type of the label data of the product are determined, the label data of the product can be output according to the newly added label template. In addition, at least the specification of the product and the type of label data need to be determined.
Preferably, the output of the product label data according to the output instruction can select the type of the label to be printed by setting parameters such as the input packaging mode, specification and the like.
Through loading the preset label template, the efficiency of outputting the label data can be improved, and meanwhile, the cost for manufacturing the label data is saved. By selecting the type and the packaging mode of the label, the label data can be output quickly by means of the preset label template.
According to the embodiment of the present invention, as shown in fig. 3, as a preferred option in the embodiment, the loading the preset tag template by the first tag type includes:
step S302, loading the preset label template at least with the label type and the size according to the first label type;
the preset label template at least comprises the following steps: the label type and size. The label type includes, but is not limited to, any one of an outer case label of the product, an inner case label of the product, a shelf label of the product, and a pouch label of the product. Those skilled in the art can add different tag types according to actual business requirements. The size belongs to the label attribute of the product, and can be selected according to different label standards.
For example, the label type is shelf label, with a size of 35 × 25; for another example, the label type is outer box label with a label size of 70 × 50, and for another example, the label type is outer box label with a label size of 80 × 50.
Step S304, judging whether the preset label template is set as a label default template or not;
and judging whether the preset label template is set as a label default template or not after the preset label template is generated. The default template is generated according to a default template sample, and only the type and the size of the label are selected.
Step S306, if the preset label template is set as a label default template, the label default template is used as an output format of the same label type.
The label default template is used as the template for the same label type.
Preferably, when there are more label templates of the same type, it is necessary to set one of the templates as a default template to output the required format.
According to the embodiment of the present invention, as a preferred option in the embodiment, as shown in fig. 4, outputting the product tag data in the preset tag template according to the first output instruction includes:
step S402, determining a first packaging mode and a first product specification of a product according to a first output instruction;
the packaging mode and the product specification of the product are determined through the output instruction, and the product packaging mode can be large package or small package. The product packaging method can comprise the following steps: units of large/small packages, number of each large/small package, number of large/small package labels, and large/small package bulk quantity. The product specification is a specification determined by a product according to a preset rule.
For example, the product name hexagon head bolt, the specification is M6 × 65(P1.0), and the unit of the big package is: the number of each large package is 1200, the small packages are boxes, and the number of each small package is 150.
For another example, the specification of the product name hexagon bolt is M8 × 55(P1.25), and the unit of the large package is: and boxes, wherein the number of each large package is 800, the unit of each small package is a box, and the number of each small package is 100.
Step S404, filtering according to the first product specification to obtain product label data meeting preset conditions;
and filtering the product specification to obtain the product label data meeting the preset product specification.
Preferably, the product specification to be printed is filtered in a quick searching mode, and corresponding attributes such as package, batch number, material number and custom name can be recorded.
Step S406, adding a first packaging mode to the product label data in the preset label template;
and obtaining the product with the specification determined according to the preset rule, which meets the conditions, on the premise that the product specification is the screening item. The first packaging means can be added to the product in a big or small package. The product packaging method can comprise the following steps: units of large/small packages, number of each large/small package, number of large/small package labels, and large/small package bulk quantity.
Step S408, determining the first packaging mode correspondingly selected by the first product specification;
after the product specification is determined, different modes are selected. The same type of product has a number of different product specifications. The packaging mode can be selected after the product specification is determined.
Multiple specifications may correspond to multiple product attributes, and a single rule may also correspond to multiple product attributes.
Preferably, after selecting the corresponding packaging mode, the method further comprises: the product label data attributes comprise batch number of the product, material number of the product, custom name of the product and the like.
Step S410, determining the type of the printing label according to the first output instruction;
the output command can be physical printing after being connected with the printer, and different printing label types can be determined through different output commands, including but not limited to outer box labels of products, inner bag labels of products, shelf labels of products and bagged labels of products.
Step S412, printing out product label data of the preset label template corresponding to the first packaging manner and the first product specification according to the label type selection instruction.
And selecting the type of the product label to be printed and output according to the type of the label, and printing out product label data corresponding to the packaging mode and the product specification in the output instruction.
For example, the corresponding attributes such as package, lot number, material number, custom name, etc. are entered, and the specification "M8 × 55 (P1.25)" and the label type "master carton label" to be printed are selected.
According to the embodiment of the present invention, as shown in fig. 5, after outputting the product tag data in the preset tag template according to the first output instruction, the method further includes:
step S502, receiving a first preview instruction of product label data;
the preview instructions may be to preview the product for the selected label size and label type while the label style may be previewed.
Previewing the label style may include: company name, brand name, standard, strength, specification, quantity, color, lot number.
Step S504, displaying a first preview result page of the product tag data according to the first preview instruction;
the first preview result page can be configured with the number of prints, the format and the content of the preview label; and confirms the number of printed sheets.
Step S506, generating a unique identifier with the product description content information access address on the first preview result page;
the unique identifier may be an access address containing product description content information. The unique identifier may be a two-dimensional code or a one-dimensional code. The instruction contents of the product can be accessed by scanning the two-dimensional code.
Step S508, determining a first label output quantity of the product label data, and determining the first label output quantity on the first preview result page;
the number of tag outputs by the product tag data and confirmation is made on the preview result page. And printing output can be carried out only after the preview result page is confirmed to be correct.
Step S510, detecting whether the first preview result page meets the requirement of outputting product label data in the preset label template according to a first output instruction;
specifically, whether the preview result page meets the condition of outputting the product label data paper configuration and/or the paper margin in the preset label template according to a first output instruction is detected.
Step S512, if the first preview result page is detected to meet the condition that the product label data in the preset label template is output according to a first output instruction, the product label data is printed.
Specifically, if the preview result page can satisfy the configuration of the product label data paper and the margin of the paper in the preset label template according to the first output instruction, the print output instruction can be executed to print the product label data on the blank label paper.
By adopting the method, the error rate in the process of manufacturing the label data can be reduced, and the method is different from the problem that the attribute content on the label needs to be modified every time in the prior art, and the problem of being easy to read and correct by mistake is solved. In addition, the problem of product label blocking can be solved, and the problem that the label in the prior art does not have any two-dimensional code or bar code, and cannot be communicated with a purchase, sales and inventory system to realize code scanning and warehousing and automatic inventory checking can be solved. And the scanning storage and the counting can be realized through the unique identification carried in the label data. The instruction book information of the product can be acquired through the automatically generated two-dimensional code or bar code.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present invention, there is also provided an apparatus for implementing the above tag data generation method, as shown in fig. 6, the apparatus includes: a receiving module 10, configured to receive a first tag data generation instruction; the generating module 20 is configured to determine a first tag type of the tag data according to the first tag data generating instruction; a preset template loading module 30, configured to load a preset tag template according to the first tag type; and the first output module 40 is configured to output the product label data in the preset label template according to a first output instruction.
The first tag data generation instruction received by the receiving module 10 according to the embodiment of the present application may be a tag data generation instruction from a user through a computer or a wireless terminal. The computer and the wireless terminal can not only establish label data for products in the existing product database, but also establish label data for products meeting the unique coding requirement.
The tag data generation instruction may include: product label attribute information such as company name, product name, standard number, strength, specification, packaging number and the like.
In the generation module 20 of the embodiment of the present application, it is determined according to the tag data generation instruction that the first tag type of the tag data may be an outer carton tag data type.
For example, the outer box label data a is used as a label attached to the outer box of the outer package of the product.
And judging that the first label type of the label data can be an internal package label data type according to the label data generation instruction.
For example, the inner package label data B is used as a label attached to the inner package of the product.
And judging that the first label type of the label data can be a shelf label data type according to the label data generation instruction.
For example, the shelf label data C is used as a label attached to a shelf on which a product is placed.
And judging that the first label type of the label data can be a bagged label data type according to the label data generation instruction.
For example, the bag label data D is used as a label on a bag for packaging a product.
Preferably, label data types such as frequently-used outer boxes, inner packages, goods shelves, bags and the like can be used, the user-defined process of customers is reduced, and product labels which do not have special requirements and can be directly output and printed by using the label data types can be used.
After the type of the tag is determined in the preset template loading module 30 of the embodiment of the application, a preset tag template may be loaded. The loading can be any display mode such as an association table, a window display and the like. When the preset label template is loaded, the method further comprises the following steps: template sample, label type, and label size.
For example, the template sample includes a pre-typeset or pre-set form, tag attributes, and the like. The type of the tag is determined by the received tag data generation instruction.
In the first output module 40 of the embodiment of the present application, after determining the attribute and the type of the label data of the product, the label data of the product may be output according to a preset label template. In addition, at least the specification of the product and the type of label data need to be determined.
Preferably, the output of the product label data according to the output instruction can select the type of the label to be printed by setting parameters such as the input packaging mode, specification and the like.
The preset label template is loaded through the preset template loading module 30, so that the efficiency of label data output can be improved, and meanwhile, the cost for manufacturing label data is saved. By selecting the type and the packaging mode of the label, the label data can be output quickly by means of the preset label template.
According to the embodiment of the present invention, as a preference in the embodiment, as shown in fig. 7, the apparatus further includes: a determining module 50, configured to determine a second tag data adding instruction; the adding module 60 is configured to determine a first template format of the tag data according to the second tag data adding instruction; a newly added template loading module 70, configured to load a newly added tag template according to the first template format; and a second output module 80, configured to output the product label data in the newly added label template according to a second output instruction.
The tag addition instruction in the determination module 50 according to the embodiment of the present application may be determined when the user wants to add a tag format that is not included in the current preset template.
When determining the new instruction, the new instruction may be executed by displaying a window, setting a button, or setting a pull-down menu.
The first template format for generating the tag data according to the second tag data adding instruction in the adding module 60 of the embodiment of the application may be a selected tag type.
The first template format for generating the tag data according to the second tag data addition instruction may be to determine a selected input tag size.
The first template format for generating the tag data according to the second tag data addition instruction may be a template specification for determining a selection.
After the template format is determined, the newly added template loading module 70 of the embodiment of the application may load the newly added tag template. The newly added label template has the authority of modifying the newly added label template besides the preset template sample, label type, label size and template description. The modified authority can be to modify the label style, the content typesetting and the like in the template sample.
In the second output module 80 of the embodiment of the present application, after determining the attribute and the type of the label data of the product, the label data of the product may be output according to the newly added label template. In addition, at least the specification of the product and the type of label data need to be determined.
Preferably, the output of the product label data according to the output instruction can select the type of the label to be printed by setting parameters such as the input packaging mode, specification and the like.
By loading the newly added tag template in the preset template loading module 30, the efficiency of tag data output can be improved, and the cost for tag data manufacturing can be saved. By selecting the type and the packaging mode of the label, the label data can be output quickly by means of the preset label template.
According to the embodiment of the present invention, as shown in fig. 8, as a preferred option in the embodiment, the preset template loading module 30 includes: a loading unit 301, configured to load the preset tag template having at least a tag type and a size according to the first tag type; a judging unit 302, configured to judge whether the preset tag template is set as a default tag template; and a default template output unit 303, configured to determine that the preset tag template is set as a tag default template, and use the tag default template as an output format of the same tag type.
The preset tag template in the loading unit 301 of the embodiment of the present application needs to at least include: the label type and the label size. The label type can be any one of an outer box label of the product, an inner bag label of the product, a shelf label of the product and a bagged label of the product. The label size belongs to the label attribute of the product, and the label size can be selected according to different label standards.
For example, the label type is shelf label, and the label size is 35 × 25; for another example, the label type is outer box label with a label size of 70 × 50, and for another example, the label type is outer box label with a label size of 80 × 50.
In the determining unit 302 of the embodiment of the present application, after a preset tag template is generated, it is determined whether the preset tag template is already set as a default tag template. The default template is generated according to a default template sample, and only the type and the size of the label are selected.
The default template output unit 303 of the embodiment of the present application takes the default template of the tag as a template of the same tag type.
Preferably, when there are more label templates of the same type, it is necessary to set one of the templates as a default template to output the required format.
According to the embodiment of the present invention, as shown in fig. 9, it is preferable that the first output module 40 includes: a first determining unit 401, configured to determine a first packaging manner and a first product specification of a product according to a first output instruction; a filtering unit 402, configured to filter according to the first product specification to obtain product label data meeting a preset condition; an adding unit 403, configured to add a first packaging manner to the product tag data in the preset tag template; a second determining unit 404, configured to determine the first packaging method correspondingly selected by the first product specification; a print determination unit 405 configured to determine a print label type according to the first output instruction; and a printing unit 406, configured to print out product label data of the preset label template corresponding to the first packaging manner and the first product specification according to the label type selection instruction.
In the first determining unit 401 of the embodiment of the present application, the packaging manner and the product specification of the product are determined by outputting the instruction, and the product packaging manner may be that the product is a large package or a small package. The product packaging method can comprise the following steps: units of large/small packages, number of each large/small package, number of large/small package labels, and large/small package bulk quantity. The product specification is a specification determined by a product according to a preset rule.
For example, the product name hexagon head bolt, the specification is M6 × 65(P1.0), and the unit of the big package is: the number of each large package is 1200, the small packages are boxes, and the number of each small package is 150.
For another example, the specification of the product name hexagon bolt is M8 × 55(P1.25), and the unit of the large package is: and boxes, wherein the number of each large package is 800, the unit of each small package is a box, and the number of each small package is 100.
In the filtering unit 402 of the embodiment of the application, the product label data meeting the preset product specification can be obtained by filtering through the product specification.
Preferably, the product specification to be printed is filtered in a quick searching mode, and corresponding attributes such as package, batch number, material number and custom name can be recorded.
In the adding unit 403 in the embodiment of the application, on the premise that the product specification is the screening item, the specification product which meets the condition and is determined according to the preset rule is obtained. The first packaging means can be added to the product in a big or small package. The product packaging method can comprise the following steps: units of large/small packages, number of each large/small package, number of large/small package labels, and large/small package bulk quantity.
After the product specification is determined in the second determining unit 404 in the embodiment of the application, a different mode is selected. The same type of product has a number of different product specifications. The packaging mode can be selected after the product specification is determined.
Multiple specifications may correspond to multiple product attributes, and a single rule may also correspond to multiple product attributes.
Preferably, after selecting the corresponding packaging mode, the method further comprises: the product label data attributes comprise batch number of the product, material number of the product, custom name of the product and the like.
The output instruction in the print determination unit 405 in the embodiment of the application may be physical printing after connecting with a printer, and different print label types may be determined through different output instructions, including but not limited to, outer box labels of products, inner bag labels of products, shelf labels of products, and pouch labels of products.
In the printing unit 406 according to the embodiment of the application, the type of the product label to be printed out is selected according to the type of the label, and the product label data corresponding to the packaging mode and the product specification in the output instruction is printed out.
For example, the corresponding attributes such as package, lot number, material number, custom name, etc. are entered, and the specification "M8 × 55 (P1.25)" and the label type "master carton label" to be printed are selected.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (4)

1. A tag data generation method for generating product tag data, the method comprising:
receiving a first tag data generation instruction;
judging a first label type of the label data according to the first label data generation instruction;
loading a preset label template through the first label type; and
outputting product label data in the preset label template according to a first output instruction;
further comprising: determining a second tag data adding instruction; generating a first template format of the tag data according to the second tag data adding instruction; loading a newly added label template through the first template format; outputting product label data in the newly added label template according to a second output instruction;
loading a preset tag template by the first tag type comprises: loading the preset label template at least with the label type and the size according to the first label type; judging whether the preset label template is set as a label default template or not; if the preset label template is set as a label default template, taking the label default template as an output format of the same label type;
outputting the product label data in the preset label template according to the first output instruction comprises:
determining a first packaging mode and a first product specification of a product according to the first output instruction;
filtering according to the first product specification to obtain product label data meeting preset conditions;
adding a first packaging mode to the product label data in the preset label template;
determining the first packaging mode correspondingly selected by the first product specification;
determining the type of the printing label according to the first output instruction; and
and printing product label data of the preset label template corresponding to the first packaging mode and the first product specification according to a label type selection instruction.
2. The method for generating label data according to claim 1, further comprising, after outputting the product label data in the preset label template according to the first output instruction:
receiving a first preview instruction of product label data;
displaying a first preview result page of the product label data according to the first preview instruction;
generating a unique identifier with a product description content information access address on the first preview result page;
determining a first label output quantity of the product label data, and determining the first label output quantity on the first preview result page;
detecting whether the first preview result page meets the condition that product label data in the preset label template is output according to a first output instruction; and
and if the first preview result page is detected to meet the condition that the product label data in the preset label template is output according to a first output instruction, printing the product label data.
3. The tag data generation method according to claim 1, wherein determining the first tag type of the tag data according to the first tag data generation instruction includes any one of:
the outer box label of product, the interior package label of product, the goods shelves label of product, the bagged label of product.
4. A tag data generating apparatus for generating product tag data, the apparatus comprising:
the receiving module is used for receiving a first tag data generation instruction;
the generating module is used for judging the first label type of the label data according to the first label data generating instruction;
the preset template loading module is used for loading a preset label template through the first label type; and
the first output module is used for outputting the product label data in the preset label template according to a first output instruction;
further comprising: the determining module is used for determining a second tag data adding instruction; the adding module is used for judging the first template format of the label data according to the second label data adding instruction; the new template loading module is used for loading a new label template through the first template format; the second output module is used for outputting the product label data in the newly added label template according to a second output instruction;
the preset template loading module comprises: the loading unit is used for loading the preset label template at least with the label type and the size according to the first label type; the judging unit is used for judging whether the preset label template is set as a label default template or not; the default template output unit is used for judging that the preset label template is set as a label default template, and taking the label default template as an output format of the same label type;
the first output module includes:
the first determining unit is used for determining a first packaging mode and a first product specification of a product according to the first output instruction;
the filtering unit is used for filtering according to the first product specification to obtain product label data meeting preset conditions;
the adding unit is used for adding a first packaging mode to the product label data in the preset label template;
the second determining unit is used for determining the first packaging mode correspondingly selected by the first product specification;
a print determination unit configured to determine a print label type according to the first output instruction; and
and the printing unit is used for printing the product label data of the preset label template corresponding to the first packaging mode and the first product specification according to a label type selection instruction.
CN201810183201.8A 2018-03-06 2018-03-06 Label data generation method and device Active CN108596291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810183201.8A CN108596291B (en) 2018-03-06 2018-03-06 Label data generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810183201.8A CN108596291B (en) 2018-03-06 2018-03-06 Label data generation method and device

Publications (2)

Publication Number Publication Date
CN108596291A CN108596291A (en) 2018-09-28
CN108596291B true CN108596291B (en) 2022-01-25

Family

ID=63625682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810183201.8A Active CN108596291B (en) 2018-03-06 2018-03-06 Label data generation method and device

Country Status (1)

Country Link
CN (1) CN108596291B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725861B (en) * 2018-12-29 2022-08-23 森大(深圳)技术有限公司 Variable label generation display method, device and equipment and label printer
CN110197520A (en) * 2019-04-25 2019-09-03 珠海格力电器股份有限公司 Label generation method and device, terminal equipment and computer readable storage medium
CN110119644B (en) * 2019-05-10 2022-10-04 上海瀚示物联网技术有限公司 Communication protocol method and device for controlling label device
CN112434488B (en) * 2020-10-23 2022-02-01 合肥联宝信息技术有限公司 Automatic marking method, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778021A (en) * 2015-04-23 2015-07-15 歌尔声学股份有限公司 Packaging label printing method and system
CN107340981A (en) * 2017-07-20 2017-11-10 深圳市瑞联智造科技有限公司 Material label print system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7117211B2 (en) * 2001-09-27 2006-10-03 Paxar Corporation Internet label production system
JP4375085B2 (en) * 2004-03-30 2009-12-02 ブラザー工業株式会社 Display printing system, program, and recording medium
CN101788892B (en) * 2009-01-22 2011-08-24 英业达股份有限公司 Label printing system
US9158944B2 (en) * 2011-10-07 2015-10-13 Dynotag, Inc. Systems, methods, and apparatuses for associating flexible internet based information with physical objects
JP2013200698A (en) * 2012-03-23 2013-10-03 Brother Ind Ltd Template processing program, template processing method, and print label creation device
CN106940628B (en) * 2016-01-04 2020-09-18 平安科技(深圳)有限公司 Document printing method and device
CN106814982B (en) * 2017-01-04 2020-06-05 北京京东尚科信息技术有限公司 Label printing processing device, system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778021A (en) * 2015-04-23 2015-07-15 歌尔声学股份有限公司 Packaging label printing method and system
CN107340981A (en) * 2017-07-20 2017-11-10 深圳市瑞联智造科技有限公司 Material label print system

Also Published As

Publication number Publication date
CN108596291A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108596291B (en) Label data generation method and device
CN108536658B (en) Method and device for generating custom tag data
CN103678648B (en) A kind of BOM table sort aggregation system and method thereof
JP5642490B2 (en) History information management system, history information management server, and history information management program
US11657361B2 (en) Food traceability system and method
CN105631637A (en) System and method of managing corrugated paper warehouse
CN105205038A (en) Complete material list table generation method and device
CN110688381B (en) Software product and software method for product process record tracing
CN110414635A (en) A kind of product false proof and traceability system based on RFID
CN103955815A (en) Portable transformer substation inventory material management system and method
CN106981001A (en) One kind have furniture made to order assembling parts delivery monitoring system method of work
Brüel Grönberg et al. E-commerce packaging as an embedded resource in three network settings
CN114004587A (en) Design system and method for automatic management and control of whole machine model
CN113505245A (en) Knowledge graph generation method, computer readable storage medium and computer device
CN109784950A (en) It a kind of storehouse FBA returns goods and changes calibration method
CN113919848A (en) Furniture traceability system based on two-dimensional code
CN104408550A (en) Commodity specification processing method
CN115034347B (en) Industrial Internet of things for tracing two-dimensional code data and control method thereof
CN109886623A (en) The group packet processing method and device of product data
JP5049800B2 (en) Chemical substance management method
RU2008130051A (en) DISTRIBUTION OF INFORMATION IN TELECOMMUNICATION SYSTEMS
CN103164468A (en) Patent sort management method and management system
US20060242034A1 (en) Electronic account book generating system and method
US10482416B2 (en) Terminal apparatus, management apparatus, management system, and non-transitory computer readable medium
US20050225078A1 (en) Method for identification and registration of received items before storage in a factory stock

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