[go: up one dir, main page]

CN108228116A - Label generating method, computer readable storage medium and system - Google Patents

Label generating method, computer readable storage medium and system Download PDF

Info

Publication number
CN108228116A
CN108228116A CN201711493781.2A CN201711493781A CN108228116A CN 108228116 A CN108228116 A CN 108228116A CN 201711493781 A CN201711493781 A CN 201711493781A CN 108228116 A CN108228116 A CN 108228116A
Authority
CN
China
Prior art keywords
parameter
tag
product
rule
template
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.)
Pending
Application number
CN201711493781.2A
Other languages
Chinese (zh)
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.)
Shanghai Intelligence Fuse Breath Science And Technology Ltd
Original Assignee
Shanghai Intelligence Fuse Breath Science And Technology 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 Shanghai Intelligence Fuse Breath Science And Technology Ltd filed Critical Shanghai Intelligence Fuse Breath Science And Technology Ltd
Priority to CN201711493781.2A priority Critical patent/CN108228116A/en
Publication of CN108228116A publication Critical patent/CN108228116A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The present invention relates to a kind of label generating method, computer readable storage medium and systems.The present invention is configured the parameter of filling, and the type of parameter can be set as to variable, and setting variable can reduce the quantity of fill rule, Second Rule, and can distinguish the label substance that a type of product is printed, facilitate management and maintenance.

Description

Label generating method, computer readable storage medium and system
Technical field
The present invention relates to a kind of label generating method, computer readable storage medium and system, more particularly to a kind of energy It is enough that efficiently printed product label is realized on factory lines and facilitates exploitation, the label generating method safeguarded, computer can Read storage medium and system.
Background technology
At present, it in manufacturing industry factory, needs to be printed with the product specific information for product stickup in production line Label, there is trackability with product, and conveniently product is managed.The content of these labels is needed according to the one of product A little peculiar information determine.
However, in practical operation, an enterprise would generally produce a plurality of types of products, the label tool of different product There is different contents or even also may require that different labels with a product, this allows for the workload of exploitation and the maintenance of label It is huge.
In order to solve above-mentioned the problems of the prior art, this field urgently provides one kind and can be realized on factory lines Efficiently printed product label and facilitate exploitation, safeguard label generating method, computer readable storage medium and system.
Invention content
The task of the present invention is providing a kind of label generating method, including:
Establish the correspondence of product and tag template;
The correspondence of fill rule and tag template is established, fill rule is set according to product for the tag parameter in tag template Parameter type is put, and is the parameter value under tag parameter configuration type of correspondence parameter according to product;
When the parameter type of a tag parameter is set as variable, the content of the parameter value of a tag parameter is from corresponding production It maps and obtains at the information of product.
According to a kind of label generating method, one or more products correspond to a tag template;It is one or more Fill rule corresponds to a tag template.
According to a kind of label generating method, with the fills tag template of the parameter value of a tag parameter In corresponding tag parameter;And/or parameter type further includes constant, when the parameter type of another tag parameter is set as constant When, the content of the parameter value of another tag parameter is the parameter value of another tag parameter, is joined with another label Corresponding tag parameter in several parameter value filling tag templates.
According to a kind of label generating method, in print label, corresponding tag template is called according to product, and The corresponding parameter value in fill rule is loaded, and the content of parameter value is filled into corresponding tag template according to fill rule In.
Another side according to the present invention, the present invention also provides another label generating methods, which is characterized in that including:
Establish the correspondence of product and tag template;
The first rule and the correspondence of tag template are established, the first rule is the tag parameter matching at least one in tag template Parameter of regularity;
Second Rule is established, Second Rule is the parameter of regularity arrange parameter type according to product, and is rule according to product Parameter value under parameter configuration type of correspondence parameter;
When the parameter type of a parameter of regularity is set as variable, the content of the parameter value of a parameter of regularity is from corresponding production It maps and obtains at the information of product.
Label generating method according to another kind, one or more products correspond to a tag template;One or more A corresponding tag template of first rule;The corresponding Second Rule of the first rule of one or more or, one first rule Corresponding multiple Second Rules.
Label generating method according to another kind is advised with the fills first of the parameter value of a parameter of regularity Corresponding tag parameter in then;And/or parameter type further includes constant, when the parameter type of another parameter of regularity is set as normal During amount, the content of the parameter value of another parameter of regularity is the parameter value of another parameter of regularity, with another rule The parameter value of parameter fills corresponding tag parameter in the first rule.
In print label, corresponding tag template is called according to product for label generating method according to another kind, The corresponding parameter of regularity in Second Rule is loaded, and parameter of regularity is filled into according to Second Rule, the first rule corresponding In tag template.
Another face according to the present invention, the present invention also provides a kind of computer readable storage mediums, are stored thereon with calculating Machine program, which is characterized in that the step of as above method described in any one is realized when described program is executed by processor.
One side again according to the present invention, the present invention also provides a kind of system, including:
One or more processors;With
The memory of executable program instructions is stored, the executable program instructions are worked as to be performed by one or more of processors When one or more of processors are performed according to the method as above described in any one.
The present invention is configured the parameter of filling, and the type of parameter can be set as to variable, and setting variable can subtract The quantity of few fill rule, Second Rule, and the label substance that a type of product is printed can be distinguished, side Just it manages and safeguards.
Description of the drawings
For the above and other advantages and features of each embodiment that the present invention is furture elucidated, refer to the attached drawing is presented The more specific description of various embodiments of the present invention.It is appreciated that these attached drawings only describe the exemplary embodiments of the present invention, therefore It is restriction on its scope to be not to be regarded as.In the accompanying drawings, in order to cheer and bright, identical or corresponding component will use identical or class As mark represent.
Fig. 1 shows the flow chart of the label generating method in an embodiment;
Fig. 2 shows a kind of schematic diagrames of tag template in an embodiment;
Fig. 3 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in an embodiment;
Fig. 4 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in an embodiment;
Fig. 5 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in an embodiment;
Fig. 6 shows the flow chart of the label generating method in another embodiment;
Fig. 7 shows a kind of schematic diagram of tag template in another embodiment;
Fig. 8 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in another embodiment;
Fig. 9 shows the schematic diagram of another tag template in another embodiment;
Figure 10 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in another embodiment;
Figure 11 shows the schematic diagram of the label of the printing of the label generating method according to the present invention in another embodiment.
Specific embodiment
In the following description, with reference to each embodiment, present invention is described.However, those skilled in the art will recognize Know can in the case of neither one or multiple specific details or with it is other replacement and/or addition method, material or component Implement each embodiment together.In other situations, it is not shown or well known structure, material or operation is not described in detail in order to avoid making this The aspects of each embodiment of invention is obscure.Similarly, for purposes of explanation, specific quantity, material and configuration are elaborated, with Comprehensive understanding to the embodiment of the present invention is just provided.However, the present invention can be implemented in the case of no specific detail.This Outside, it should be understood that each embodiment shown in attached drawing is illustrative expression and is not drawn necessarily to scale.
In the present specification, the reference of " one embodiment " or " embodiment " is meaned to combine embodiment description A particular feature, structure, or characteristic is included at least one embodiment of the invention.In the short of this specification middle appearance everywhere Language is not necessarily all referring to the same embodiment " in one embodiment ".
With reference to figure 1, start to introduce the label generating method in one embodiment of the invention below.
S110:Tag template is established, tag template can be in special tag template edit tool, which compiles Volume tool can use existing text composition tool, such as the Word of Microsoft's exploitation, Excel Office office applications are soft Part, but need to support label editing simultaneously, which can also need self-developing according to different business Similar slot man tool.
Tag template includes at least one tag parameter, and the content of the label constant is variable.In addition, tag template It can also include an at least label constant, the content of the label constant is constant, for example, the label constant can be said Word of the bright label constant meaning etc..
With reference to figure 2, Fig. 2 is a tag template.Tag template 1 in fig. 2 include two tag parameters V1, V2, V1, V2 is code name of the tag parameter in tag template 1, is not offered as the content printed, and V1, V2 can also use other generations It number represents, such as can also be represented with code names such as A, B, it is numerous to list herein.In fig. 2, " title:", " number:" it is described Label constant.The form that tag parameter V1, V2 prints all can be text formatting, barcode format or Quick Response Code form etc. Deng the form printed can be in tag template edit tool into edlin.
S120:The first rule is established, the first rule has correspondence with tag template, and the first rule is in tag template Tag parameter matching rule parameter.As shown in table 1, it is one first rule and the mapping table of tag template, in table 1, passes through The title of tag template and the title of the first rule establish correspondence, but the present invention is not limited to the corresponding method of table 1, examples Such as, can also correspondence be established by the number of the number and the first rule of tag template, as long as the first rule can be realized It is corresponding with tag template, within the thought range of the present invention.
For example, in first rule be respectively Fig. 2 in tag template in tag parameter V1, V2 matching rule ginseng Number, in the mapping table of one first rule(As shown in table 2-1)In, tag parameter V1 corresponds to a parameter of regularity@1, mark It signs parameter V2 and corresponds to two parameter of regularity@2 ,@3.
In the first different rules, the number of different tag parameter rule of correspondence parameters is adjustable, specifically, The number of each tag parameter institute matching rule parameter can be adjusted according to product.For example, in the correspondence of another the first rule Relation table(As shown in table 2-2)In, two parameter of regularity 1,2 can be corresponded to tag parameter V1, tag parameter V2 corresponds to one A parameter of regularity@3.In the first different rules, the number of different tag parameter rule of correspondence parameters is adjustable, table 2- Both first rules of 1 and table 2-2 can share same tag template, it is possible to reduce the number of tag template, and cause mark Modification, the maintenance of label are more convenient.
S130:The correspondence between tag template and product is established, each can correspond to one or more labels by product Template can correspond to a tag template with multiple products.Further, it is also possible to establish the correspondence between tag template and product type Relationship when multiple products can use same tag template, can be classified as a type of product, and a kind of type products correspond to One tag template can efficiently reduce the number of tag template.
In order to realize the correspondence between tag template and product, the mapping table of product and tag template can be established, As shown in table 3-1.In table 3-1, correspondence is established, but of the invention and unlimited by title and the product code of tag template In the corresponding method of table 3-1, for example, it is also possible to correspondence is established by the number of tag template and the number of product, as long as The correspondence between tag template and product can be realized, within the thought range of the present invention.
In addition, in order to realize the correspondence between tag template and product, reflecting for product and the first rule can be established Firing table, as shown in table 3-2.Since the first rule with tag template has correspondence, so, when product have with the first rule it is corresponding During relationship, the correspondence of product and tag template can be established.In table 3-2, pass through the title of the first rule and product generation Code establishes correspondence, but the present invention is not limited to the corresponding method of table 3-2, for example, it is also possible to the number by the first rule Correspondence is established with the number of product, as long as the correspondence between the first rule and product can be realized, in the present invention Thought range within.
S140:Establish Second Rule, Second Rule is the parameter of regularity arrange parameter value, and parameter value is filled into pair In the parameter of regularity answered, the parameter value can be determined by product or product type.The type of the parameter of regularity can be with Belonging to different parameter types, parameter type can be date, serial number, constant, variable etc., wherein, constant can include production Product number, bookmark name etc., the variable can include product identification, bookmark name etc..When parameter type is constant, parameter Value is constant;When parameter type is variable, parameter value can it is different with product and change or parameter value be can be with Product type is different and changes;When parameter type is the date, parameter value changes with the date;When parameter type is serial number When, parameter value changes with flowing water.
For example, parameter of regularity@1 ,@2,3 arrange parameter values of@in a Second Rule respectively shown in table 1, at one The mapping table of Second Rule(As shown in table 4)In, the parameter type that parameter of regularity@1 is filled is constant, and parameter value is in itself The content of " lower body " as parameter value,(Meaning is bookmark name)It is filled into parameter of regularity@1, " lower body " is at this time Constant, parameter value do not change with the difference of product or product type, when printing different products or different product types, " lower body " is filled into parameter of regularity@1.
The parameter type that parameter of regularity@2 is filled is variable, and parameter value is product material, and product material is according to not at this time With product variations, according to Second Rule and the correspondence of product, by the fills of product material into parameter of regularity@2 In.For example, when product material is " PVC "(Polyvinyl chloride)When, " PVC " is the content of product material, and " PVC " is filled into rule In parameter@2, when product material is " PP "(Polypropylene)When, " PP " is the content of product material, and " PP " is filled into regular ginseng In number@2.
The parameter type that parameter of regularity@3 is filled is the date, parameter value " YYYYMMDD "(Meaning is the date,)It is filled into In parameter of regularity@3, YYYY represents year, and MM represents the moon, and DD represents day.For example, when the time of printing is on October 10th, 2016 When, then by the content of parameter value --- 20161010 are filled into parameter of regularity 3, are November 10 in 2016 when the time of printing During day, then by the content of parameter value --- 20161110 are filled into parameter of regularity@3.Certainly, the form on date is not limited to YYYYMMDD can also be DDMMYYYY etc., numerous to list herein.
When multiple products can use same tag template, a type of product can be classified as.A type of In product, name of product is " lower body ", but in this kind of product, some materials are PVC, some materials are PP, are being beaten Print off needs to distinguish in the label come.It is therefore desirable at least part parameter value established in Second Rule has with product Correspondence, the partial parameters value refer to the parameter value that parameter type is constant.When once product determines, product it is various Information(Including name of product, product identification, product material etc.)It determines, the parameter value for being filled into variable is assured that.
According to product corresponding with Second Rule, the production work order of corresponding product can be established with partly joining in Second Rule Correspondence between numerical value has the various information such as product material in the production work order of product, can be adjusted in work order is produced The data of product material are taken, as the content of parameter value, and are filled into the parameter value of representative products material.In addition, product is given birth to The various information of production work order can be captured directly in ERP system, can also establish a special database, be produced for preserving Product produce the various information of work order.
Multiple products can use same tag template, it is possible to reduce the quantity of tag template, setting variable can be reduced The quantity of Second Rule, and the label substance that a type of product is printed can be distinguished, facilitate management and dimension Shield.
By above-mentioned steps, the label generating method of product is established, in print label, according to label generating method, Corresponding tag template is called, and load the corresponding parameter of regularity in Second Rule according to product, and by parameter of regularity according to Second Rule, the first rule are filled into corresponding tag template, you can to obtain the content that tag template is printed.
In one embodiment of this invention, computer program, described program quilt are stored on computer readable storage medium The step of processor realizes label generating method in an above-mentioned embodiment when performing.
In one embodiment of this invention, label generating method in an above-mentioned embodiment is realized by a kind of system, it is described System includes one or more processors and stores the memory of executable program instructions, and the executable program instructions are when by institute When stating one or more processors execution so that one or more of processors perform above-mentioned label generating method.Work as institute When stating system including multiple processors, the system can include client and server end.
When using an embodiment Computer readable storage medium storing program for executing or system print product 100(100 be the code of product) Label when, 100 corresponding tag template of product be tag template 1 shown in Fig. 2, tag template 1 correspond to table 1 in first rule Then 1, the correspondence of tag parameter and parameter of regularity is as shown in table 2-1 in the first rule 1,100 corresponding Second Rule of product As shown in table 4, work order is produced according to product 100, the content for determining product material in table 4 is PP, then the label printed is such as Shown in Fig. 3.
When using an embodiment Computer readable storage medium storing program for executing or system print product 100(100 be the code of product) Label when, if the labeling requirement of fruit product 100 is changed to form shown in Fig. 4, then need to only change first rule correspondence As shown in table 2-2, then 100 corresponding tag template of product is tag template 1 shown in Fig. 2, and tag template 1 is corresponded in table 1 First rule 1, the correspondence of tag parameter and parameter of regularity is as shown in table 2-2 in the first rule 1, product 100 corresponding Two rules produce work order as shown in table 4, according to product 100, and the content for determining product material in table 4 is PP, then prints Label is as shown in Figure 4.Both labels of Fig. 3 and Fig. 4 can use same tag template, safeguard, manage convenient, raising labour effect Rate.
When using an embodiment Computer readable storage medium storing program for executing or system print product 200(200 be the code of product) Label when, product 200 and product 100 are same type of product, and product 200 and product 100 correspond to same tag template 1, Tag template 1 corresponds to the first rule 1 in table 1, the correspondence of tag parameter and parameter of regularity such as table 2-1 in the first rule 1 Shown, 100 corresponding Second Rule of product is as shown in table 4, produces work order according to product 100, determines the interior of product material in table 4 Hold for PVC, then the label printed is as shown in Figure 5.Both labels of Fig. 3 and Fig. 5 can use same tag template, dimension Shield, management are convenient, improve labor efficiency.
With reference to figure 6, start to introduce the label generating method in yet another embodiment of the invention below.
S210:Tag template is established, tag template can be in special tag template edit tool, which compiles Volume tool can use existing text composition tool, such as the Word of Microsoft's exploitation, Excel Office office applications are soft Part, but need to support label editing simultaneously, which can also need self-developing according to different business Similar slot man tool.
Tag template includes at least one tag parameter, and the content of the label constant is variable.In addition, tag template It can also include an at least label constant, the content of the label constant is constant, for example, the label constant can be said Word of the bright label constant meaning etc..
With reference to figure 7, Fig. 7 is a tag template.Tag template 21 in the figure 7 include two tag parameter V3, V4, V5, V3, V4, V5 are code name of the tag parameter in tag template 21, are not offered as the content printed, V3, V4, V5 are also It can be represented, such as can also be represented with code names such as A, B, C with other code names, it is numerous to list herein.In the figure 7, " title:” For the label constant.The form that tag parameter V3, V4, V5 are printed all can be text formatting, barcode format or two dimension Code form etc., the form printed can be in tag template edit tool into edlin.
S220:The correspondence between tag template and product is established, each can correspond to one or more labels by product Template can correspond to a tag template with multiple products.Further, it is also possible to establish the correspondence between tag template and product type Relationship when multiple products can use same tag template, can be classified as a type of product, and a kind of type products correspond to One tag template can efficiently reduce the number of tag template.
In order to realize the correspondence between tag template and product, the mapping table of product and tag template can be established, As shown in table 5.In table 5, correspondence is established, but the present invention is not limited to tables by the title of tag template and product code 5 corresponding method, for example, it is also possible to correspondence be established by the number of tag template and the number of product, as long as can be real Existing correspondence between tag template and product, within the thought range of the present invention.
S230:The correspondence of fill rule and tag template is established, fill rule is according to product in tag template Tag parameter arrange parameter type, and be the parameter value under tag parameter configuration type of correspondence parameter according to product.Fill rule For the tag parameter arrange parameter value, parameter value is filled into the corresponding tag parameter, the parameter value can be with It is determined by product or product type.The type of the tag parameter may belong to different parameter types, and parameter type can be Date, serial number, constant, variable etc., wherein, constant can include product identification, bookmark name etc., and the variable can include Product identification, bookmark name etc..When parameter type is constant, parameter value is constant;When parameter type is variable, parameter Value can be different with product and variation or parameter value can change with product type difference;When parameter type is During the date, parameter value changes with the date;When parameter type is serial number, parameter value changes with flowing water.
For example, tag parameter V3, V4, V5 arrange parameter value in a fill rule respectively shown in table 1, at one The mapping table of fill rule(As shown in table 6)In, the parameter type of tag parameter V3 fillings is constant, and parameter value is in itself The content of " lower body " as parameter value,(Meaning is bookmark name)It is filled into tag parameter V3, " lower body " is at this time Constant, parameter value do not change with the difference of product or product type, when printing different products or different product types, " lower body " is filled into tag parameter V3.
The parameter type of tag parameter V4 fillings is variable, and parameter value is product material, and product material is according to not at this time With product variations, according to fill rule and the correspondence of product, by the fills of product material into tag parameter V4 In.For example, when product material is " PVC "(Polyvinyl chloride)When, " PVC " is the content of product material, and " PVC " is filled into label In parameter V4, when product material is " PP "(Polypropylene)When, " PP " is the content of product material, and " PP " is filled into tag parameter In V4.
The parameter type of tag parameter V5 fillings is the date, parameter value " YYYYMMDD "(Meaning is the date,)It is filled into In tag parameter V5, YYYY represents year, and MM represents the moon, and DD represents day.For example, when the time of printing is on October 10th, 2016 When, then by the content of parameter value --- 20161010 are filled into tag parameter V5, are November 10 in 2016 when the time of printing During day, then by the content of parameter value --- 20161110 are filled into tag parameter V5.Certainly, the form on date is not limited to YYYYMMDD can also be DDMMYYYY etc., numerous to list herein.
When multiple products can use same tag template, a type of product can be classified as.A type of In product, name of product is " lower body ", but in this kind of product, some materials are PVC, some materials are PP, are being beaten Print off needs to distinguish in the label come.It is therefore desirable at least part parameter value established in fill rule has with product Correspondence, the partial parameters value refer to the parameter value that parameter type is constant.When once product determines, product it is various Information(Including name of product, product identification, product material etc.)It determines, the parameter value for being filled into variable is assured that.
According to product corresponding with fill rule, the production work order of corresponding product can be established with partly joining in fill rule Correspondence between numerical value has the various information such as product material in the production work order of product, can be adjusted in work order is produced The data of product material are taken, as the content of parameter value, and are filled into the parameter value of representative products material.In addition, product is given birth to The various information of production work order can be captured directly in ERP system, can also establish a special database, be produced for preserving Product produce the various information of work order.
Multiple products can use same tag template, it is possible to reduce the quantity of tag template, setting variable can be reduced The quantity of fill rule, and the label substance that a type of product is printed can be distinguished, facilitate management and dimension Shield.
By above-mentioned steps, the label generating method of product is established, in print label, according to label generating method, Corresponding tag template is called, and load the corresponding tag parameter in fill rule according to product, and by tag parameter according to Fill rule is filled into corresponding tag template, you can to obtain the content that tag template is printed.
In another embodiment of the invention, computer program, described program are stored on computer readable storage medium The step of above-mentioned label generating method is realized when being executed by processor.
In another embodiment of the present invention, above-mentioned label generating method, the system packet are realized by a kind of system It includes one or more processors and stores the memory of executable program instructions, the executable program instructions are when by one Or multiple processors are when performing so that one or more of processors perform above-mentioned label generating method.When the system During including multiple processors, the system can include client and server end.
When using computer readable storage medium or system print product 2100(2100 be the code of product)Label when, 2100 corresponding tag template of product is tag template 21 shown in Fig. 7, and tag template 21 corresponds to the tag template 21 in table 5, 2100 corresponding fill rule of product is as shown in table 6, produces work order according to product 2100, determines the content of product material in table 6 For PP, then the label printed is as shown in Figure 8.
When using computer readable storage medium or system print product 2100(2100 be the code of product)Label when, Labeling requirement such as fruit product 2100 is changed to form shown in Fig. 10, then needs to select tag template 22 as shown in Figure 9, label mould Plate 22 corresponds to the fill rule in table 6, and work order is produced according to product 2100, and the content for determining product material in table 6 is PP, then beats It is as shown in Figure 10 to print off the label come.
When using computer readable storage medium or system print product 2200(2200 be the code of product)Label when, Product 2200 and product 2100 are same type of product, and product 2200 and product 2100 correspond to same tag template 21, label Template 21 corresponds to the tag template 21 in table 5, and 2100 corresponding fill rule of product is as shown in table 6, is produced according to product 2100 Work order, the content for determining product material in table 6 is PVC, then the label printed is as shown in figure 11.Fig. 8 and Figure 11 both Label can use same tag template, safeguard, manage conveniently, improve labor efficiency.
The present invention is configured the parameter of filling, and the type of parameter can be set as to variable, and setting variable can subtract The quantity of few fill rule, Second Rule, and the label substance that a type of product is printed can be distinguished, side Just it manages and safeguards.
Although some embodiments of the present invention are described in present specification, to art technology Personnel are it is readily apparent that these embodiments are merely possible to shown in example.It is it may occur to persons skilled in the art that numerous Variant scheme, alternative solution and improvement project without beyond the scope of this invention.The appended claims are intended to limit this hair Bright range, and thereby cover method and structure of these claims and its in the range of equivalents in itself.

Claims (10)

1. a kind of label generating method, which is characterized in that including:
Establish the correspondence of product and tag template;
The correspondence of fill rule and tag template is established, fill rule is set according to product for the tag parameter in tag template Parameter type is put, and is the parameter value under tag parameter configuration type of correspondence parameter according to product;
When the parameter type of a tag parameter is set as variable, the content of the parameter value of a tag parameter is from corresponding production It maps and obtains at the information of product.
2. a kind of label generating method as described in claim 1, which is characterized in that one or more products correspond to a label Template;One or more fill rules correspond to a tag template.
3. a kind of label generating method as described in claim 1, which is characterized in that with the parameter value of a tag parameter Corresponding tag parameter in fills tag template;And/or parameter type further includes constant, when the ginseng of another tag parameter When several classes of types are set as constant, the content of the parameter value of another tag parameter is the parameter value of another tag parameter, With corresponding tag parameter in the parameter value filling tag template of another tag parameter.
4. a kind of label generating method as described in any one in claims 1 to 3, which is characterized in that in print label, Corresponding tag template is called, and load the corresponding parameter value in fill rule, and the content of parameter value is pressed according to product It is filled into corresponding tag template according to fill rule.
5. a kind of label generating method, which is characterized in that including:
Establish the correspondence of product and tag template;
The first rule and the correspondence of tag template are established, the first rule is the tag parameter matching at least one in tag template Parameter of regularity;
Second Rule is established, Second Rule is the parameter of regularity arrange parameter type according to product, and is rule according to product Parameter value under parameter configuration type of correspondence parameter;
When the parameter type of a parameter of regularity is set as variable, the content of the parameter value of a parameter of regularity is from corresponding production It maps and obtains at the information of product.
6. a kind of label generating method as claimed in claim 5, which is characterized in that one or more products correspond to a label Template;The corresponding tag template of the first rule of one or more;The corresponding Second Rule of the first rule of one or more, Or, the corresponding multiple Second Rules of one first rule.
7. a kind of label generating method as claimed in claim 5, which is characterized in that with the parameter value of a parameter of regularity Corresponding tag parameter in the first rule of fills;And/or parameter type further includes constant, when the ginseng of another parameter of regularity When several classes of types are set as constant, the content of the parameter value of another parameter of regularity is the parameter value of another parameter of regularity, Corresponding tag parameter in the first rule is filled with the parameter value of another parameter of regularity.
8. a kind of label generating method as described in any one in claim 5 to 7, which is characterized in that in print label, Corresponding tag template is called according to product, loads the corresponding parameter of regularity in Second Rule, and by parameter of regularity according to the Two rules, the first rule are filled into corresponding tag template.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is by processor The step of method described in any one is realized in claim 1-8 during execution.
10. a kind of system, which is characterized in that including:
One or more processors;With
The memory of executable program instructions is stored, the executable program instructions are worked as to be performed by one or more of processors When one or more of processors is caused to perform method according to any one of claim 1 to 8.
CN201711493781.2A 2017-12-31 2017-12-31 Label generating method, computer readable storage medium and system Pending CN108228116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711493781.2A CN108228116A (en) 2017-12-31 2017-12-31 Label generating method, computer readable storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711493781.2A CN108228116A (en) 2017-12-31 2017-12-31 Label generating method, computer readable storage medium and system

Publications (1)

Publication Number Publication Date
CN108228116A true CN108228116A (en) 2018-06-29

Family

ID=62644983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711493781.2A Pending CN108228116A (en) 2017-12-31 2017-12-31 Label generating method, computer readable storage medium and system

Country Status (1)

Country Link
CN (1) CN108228116A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767316A (en) * 2018-12-14 2019-05-17 深圳壹账通智能科技有限公司 Rule configuration method, apparatus, computer equipment and storage medium
CN112631530A (en) * 2020-12-22 2021-04-09 贵阳高新众智软件发展有限公司 Method for printing certificate by applying ERP software

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678268A (en) * 2012-09-19 2014-03-26 北京大学 Automatic typesetting method and device for official documents
CN104571977A (en) * 2014-12-05 2015-04-29 北京赛德高科铁道电气科技有限责任公司 Report printing method and system based on HTML (Hyper Text Markup Language) template
CN104778021A (en) * 2015-04-23 2015-07-15 歌尔声学股份有限公司 Packaging label printing method and system
CN106814982A (en) * 2017-01-04 2017-06-09 北京京东尚科信息技术有限公司 Label print processing device, system and method
CN106933899A (en) * 2015-12-30 2017-07-07 远光软件股份有限公司 Form processing method and device
CN106940628A (en) * 2016-01-04 2017-07-11 平安科技(深圳)有限公司 Document Method of printing and device
US20170300254A1 (en) * 2014-12-23 2017-10-19 Commvault Systems, Inc. Secondary storage operation instruction tags in information management systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678268A (en) * 2012-09-19 2014-03-26 北京大学 Automatic typesetting method and device for official documents
CN104571977A (en) * 2014-12-05 2015-04-29 北京赛德高科铁道电气科技有限责任公司 Report printing method and system based on HTML (Hyper Text Markup Language) template
US20170300254A1 (en) * 2014-12-23 2017-10-19 Commvault Systems, Inc. Secondary storage operation instruction tags in information management systems
CN104778021A (en) * 2015-04-23 2015-07-15 歌尔声学股份有限公司 Packaging label printing method and system
CN106933899A (en) * 2015-12-30 2017-07-07 远光软件股份有限公司 Form processing method and device
CN106940628A (en) * 2016-01-04 2017-07-11 平安科技(深圳)有限公司 Document Method of printing and device
CN106814982A (en) * 2017-01-04 2017-06-09 北京京东尚科信息技术有限公司 Label print processing device, system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767316A (en) * 2018-12-14 2019-05-17 深圳壹账通智能科技有限公司 Rule configuration method, apparatus, computer equipment and storage medium
CN112631530A (en) * 2020-12-22 2021-04-09 贵阳高新众智软件发展有限公司 Method for printing certificate by applying ERP software

Similar Documents

Publication Publication Date Title
CN108229614A (en) Label generating method, computer readable storage medium and system
CN111723555B (en) Plane typesetting method and system
CN111221522A (en) Automatic code generation method of front-end and back-end separation architecture for government intensive application development
CN109634992B (en) A report structure decomposition method, report generation method, and device
CN110119401A (en) Processing method, device, server and the storage medium of user's portrait
CN108269295B (en) A method and device for intelligently citing slide theme colors
CN104573041A (en) Generating method and device of electronic license template and electronic license generation method
WO2019061997A1 (en) Method for enriching wechat customer tags, electronic device and storage medium
CN108681757A (en) A kind of machining steel management method based on Quick Response Code
CN114296660A (en) A Label Printing Method Based on Vue Framework
CN111401023B (en) Report generation method, report generation device, server and storage medium
CN110428310A (en) A kind of generation method and device of commodity details page
CN108228116A (en) Label generating method, computer readable storage medium and system
CN108255974B (en) Modularized Web page display system and method
CN108021629B (en) Method, device and system for generating advertisement material data
CN113901765A (en) Patrol report generation method, device, equipment and computer readable storage medium
CN110457010B (en) Method and device for batch changing task list based on collaboration platform
CN104636867A (en) Method and device for quickly generating material code from texture in ERP system
CN114037493A (en) Method and system for generating bidding document
CN105046467A (en) Device and method for distributed document printing
CN106569816B (en) Rendering method and device
CN104408550A (en) Commodity specification processing method
CN111858595B (en) Dynamic configuration method and system for electric power engineering examination record table
CN108563616A (en) A kind of ship electronic base map management method
Pinski et al. Designing through craft practice: A woven textile approach for footwear

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: Room B3, 8th floor, Kehai Building, 800 Naxian Road, Pudong New District, Shanghai 201210

Applicant after: Shanghai intelligence fuse breath Science and Technology Ltd.

Address before: Room 309, 9B Building, 100 Haike Road, Pudong New District, Shanghai 201210

Applicant before: Shanghai intelligence fuse breath Science and Technology Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629

RJ01 Rejection of invention patent application after publication