CN113419659A - Method, system, program product and storage medium for constructing label template - Google Patents

Method, system, program product and storage medium for constructing label template Download PDF

Info

Publication number
CN113419659A
CN113419659A CN202110964873.4A CN202110964873A CN113419659A CN 113419659 A CN113419659 A CN 113419659A CN 202110964873 A CN202110964873 A CN 202110964873A CN 113419659 A CN113419659 A CN 113419659A
Authority
CN
China
Prior art keywords
label
constructing
template
acquiring
attribute
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
CN202110964873.4A
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.)
Shenzhen Xinrun Fulian Digital Technology Co Ltd
Original Assignee
Shenzhen Xinrun Fulian Digital 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 Shenzhen Xinrun Fulian Digital Technology Co Ltd filed Critical Shenzhen Xinrun Fulian Digital Technology Co Ltd
Priority to CN202110964873.4A priority Critical patent/CN113419659A/en
Publication of CN113419659A publication Critical patent/CN113419659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The invention discloses a method, a system, a program product and a storage medium for constructing a label template, wherein the method comprises the following steps: acquiring the attribute of the label; constructing an initial label according to the label attribute; acquiring a plurality of controls and control attributes; generating a label template based on the initial label and combining a plurality of controls and control attributes; the invention realizes that various label templates can be dynamically configured on the webpage without installing label software.

Description

Method, system, program product and storage medium for constructing label template
Technical Field
The present invention relates to the field of label template design, and in particular, to a method, a system, a program product, and a storage medium for constructing a label template.
Background
Tags are tools used to mark product objects and categories or content, such as targeted key words, to facilitate human search and targeting. Most of label software on the market at present needs to install software products or buy hardware equipment on a computer to use the functions of the label to configure the label; however, there are some limitations to installing software, such as: the requirements of computer equipment hardware are needed, and some hardware can not be used when the hardware does not meet the conditions; the requirements of the computer operating environment require a specific computer operating environment to use.
At present, label printing software on the market needs to be installed or a label printer needs to be purchased, so that the requirements on computer hardware and equipment hardware are met, and for users with few product types, the product cost is increased by purchasing equipment.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, a system, a program product, and a storage medium for constructing a tag template, which enable dynamic configuration of multiple tag templates without installing tag software.
The embodiment of the application provides a method for constructing a label template, which is applied to a webpage and comprises the following steps:
acquiring the attribute of the label;
constructing an initial label according to the label attribute;
acquiring a plurality of controls and control attributes;
and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
In an embodiment, the obtaining the tag attribute includes:
acquiring a user tag adjusting instruction, and performing adaptive adjustment on the position and size of the tag according to the user tag adjusting instruction;
and acquiring the label attribute generated after the label is subjected to adaptive adjustment.
In an embodiment, the obtaining the plurality of controls and the control attributes includes:
acquiring a plurality of controls;
acquiring a user control adjusting instruction, and performing adaptive adjustment on the positions and sizes of a plurality of controls according to the user control adjusting instruction;
and acquiring the control attribute generated after the control is subjected to adaptive adjustment.
In one embodiment, the control comprises at least one of: graphical identifiers, text boxes, tables, and pictures.
In an embodiment, the obtaining the tag attribute includes:
acquiring product data;
inputting product data into a label design model which is constructed in advance;
and estimating the position and the size of the label based on the label design model, and outputting the label attribute.
In one embodiment, the step of entering product data into the pre-constructed label design model is preceded by the steps of:
constructing a label design model; the method specifically comprises the following steps:
acquiring a label training set;
and inputting the label training set into a prediction model based on machine learning for training to generate the label design model.
In an embodiment, the obtaining a training set of labels includes:
acquiring a plurality of product data and corresponding relations between positions and sizes of product labels; wherein the product data is a parameter of the product package.
In order to achieve the above object, the present application further provides a system for constructing a tag template, the system including:
the initial label building module is used for obtaining the label attribute; constructing an initial label according to the label attribute;
the label template building module is used for obtaining a plurality of controls and control attributes; and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
To achieve the above object, there is also provided a computer program product comprising a computer program, which when executed by a processor, implements the steps of the method for constructing a tag template as described in any one of the above.
In order to achieve the above object, there is also provided a computer storage medium having a tag template construction method program stored thereon, wherein the tag template construction method program realizes any one of the above steps of the tag template construction method when executed by a processor.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: acquiring the attribute of the label; constructing an initial label according to the label attribute; the method comprises the steps of obtaining the label attribute required by a user, and constructing an initial label based on the label attribute, so that the user requirement is guaranteed to be met.
Acquiring a plurality of controls and control attributes; and generating a label template based on the initial label and combining a plurality of controls and the control attributes. By acquiring the control and the control attribute required by the user and generating the label template after combining with the initial label, on the basis of meeting the design requirement of the user on the label template, the label software is not required to be installed, and various label templates can be dynamically configured on the webpage.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a construction method of a tag template of the present application;
FIG. 2 is a schematic flow chart of a second embodiment of a method for constructing a tag template according to the present application;
FIG. 3 is a schematic flow chart of a third embodiment of a method for constructing a tag template according to the present application;
fig. 4 is a schematic flowchart of a specific implementation step of step S110 in a first embodiment of a method for constructing a tag template according to the present application;
fig. 5 is a schematic flowchart of another specific implementation step of step S110 in the first embodiment of the method for constructing a tag template of the present application;
FIG. 6 is a block diagram of a construction system of a tag template according to the present application;
fig. 7 is a schematic diagram of a generation apparatus of a tag template according to the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring the attribute of the label; constructing an initial label according to the label attribute; acquiring a plurality of controls and control attributes; generating a label template based on the initial label and combining a plurality of controls and the control attributes; the invention realizes that various label templates can be dynamically configured on the webpage without installing label software.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 1, fig. 1 is a first embodiment of a method for constructing a tag template of the present application, the method including:
in particular, the present embodiment is designed based on WEB front end development, and uses the characteristics of the CSS stack style. In addition, the embodiment may be applied to various terminals capable of running web pages, which may be computer terminals or mobile terminals, and is not limited herein.
Step S110: and acquiring the label attribute.
Specifically, the tag attributes include at least: the label comprises a label width, a label height, a label template name, label template inner space, label background color, label style, label background pictures and the like.
Step S120: and constructing an initial label according to the label attribute.
Specifically, a blank label may be constructed as an initial label according to the obtained label attributes, specifically, the label width and the label height. For example, if the width of the obtained label is 300px, the height of the label is 180px, and the internal spacing is 10px, an initial label meeting the user requirements is constructed according to the attributes of the label.
Step S130: a plurality of controls and control attributes are obtained.
Specifically, the label template may contain various types of controls, which may specifically include, but are not limited to, graphical identifiers, text, tables, and the like.
Specifically, the control properties include at least: the control width, the control height, the control outer space, the control inner space and the control position information; wherein the control position information at least comprises: control position X coordinate data and control position Y coordinate data.
In this embodiment, the number of the controls included in the label is not limited, and may be adjusted according to the user requirement.
Step S140: and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
Specifically, an initial label is placed on a bottom layer, a plurality of controls are placed on the initial label according to control attributes, the initial label, the plurality of controls and the control attributes are stored in one label, and a label template of the product is generated.
The label templates can be designed simultaneously, and are displayed on the webpage simultaneously, so that a user can select more satisfactory label templates conveniently.
In the above embodiment, there are advantageous effects of: acquiring the attribute of the label; constructing an initial label according to the label attribute; the method comprises the steps of obtaining the label attribute required by a user, and constructing an initial label based on the label attribute, so that the user requirement is guaranteed to be met.
Acquiring a plurality of controls and control attributes; and generating a label template based on the initial label and combining a plurality of controls and the control attributes. By acquiring the control and the control attribute required by the user and generating the label template after combining with the initial label, on the basis of meeting the design requirement of the user on the label template, the label software is not required to be installed, and various label templates can be dynamically configured on the webpage.
According to the method and the device, various label templates can be dynamically configured on the webpage without installing label software.
Further, on the basis of the first embodiment of the present application, a second embodiment of the method for constructing a tag template of the present application is provided. This embodiment is a step of the first embodiment in which step S110 is refined.
Referring to fig. 2, fig. 2 is a second embodiment of the method for constructing a tag template of the present application, applied to a web page, and the method includes:
step S210: and acquiring a user tag adjusting instruction, and performing adaptive adjustment on the position and size of the tag according to the user tag adjusting instruction.
Specifically, the user tag adjustment instruction may be an operation instruction generated on the web page and related to a user requirement, that is, the tag is adjusted by a user operation. The position and size of the label can be adaptively adjusted by dragging the mouse; or the position and size of the label can be adaptively adjusted through touch screen operation; specifically, the setting is performed according to the application scenario of the embodiment.
Step S220: and acquiring the label attribute generated after the label is subjected to adaptive adjustment.
Specifically, after the adaptive adjustment of the tag is completed, an attribute value of the tag is generated according to the current position and size of the tag; for example, the position and size of the tag that is satisfied by the user is adaptively adjusted in a mouse dragging mode or a touch screen operation mode, and then the current position and size of the tag are acquired as the tag attribute.
Step S230: and constructing an initial label according to the label attribute.
Step S240: and acquiring a plurality of controls and the control attributes.
Step S250: and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
Compared with the first embodiment, the second embodiment includes step S210 and step S220, and other steps have already been described in the first embodiment and are not described herein again.
In the above embodiment, there are advantageous effects of: the label is dynamically adjusted at the front end of the webpage, and a user label adjusting instruction is obtained in real time, so that the requirements of a user are further met, and the user experience is improved; the process of generating the label template is simpler and more convenient, and the weight is lighter.
Further, on the basis of the first embodiment of the present application, a third embodiment of the method for constructing a tag template of the present application is provided. This embodiment is a step of the first embodiment in which step S130 is refined.
Referring to fig. 3, fig. 3 is a third embodiment of the method for constructing a tag template of the present application, the method including:
step S310: and acquiring the label attribute.
Step S320: and constructing an initial label according to the label attribute.
Step S330: a plurality of controls is obtained.
In one embodiment, the control comprises at least one of: graphical identifiers, text boxes, tables, and pictures.
In addition, the control can also be a control designed according to the needs of the user, such as a storage position, an equipment code, an asset code, an equipment name, a factory code, an equipment type, an equipment brand, a specification model, a supplier, a purchase date, a belonging department, a warranty period, a responsible person, an equipment state and customization.
Specifically, the graphic identifier may be a two-dimensional code or a bar code; the present invention is not limited thereto, and may be adjusted according to the user's needs.
The two-dimensional bar code/two-dimensional code is a pattern which is distributed on a plane (two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is alternate in black and white and records data symbol information; the concept of '0' and '1' bit stream forming the internal logic foundation of the computer is skillfully utilized in code establishment, a plurality of geometric shapes corresponding to binary systems are used for representing character numerical value information, and the information is automatically read through an image input device or an optoelectronic scanning device so as to realize automatic information processing: it has some commonality of barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points. A bar code (barcode) is a graphic identifier in which a plurality of black bars and spaces having different widths are arranged according to a certain coding rule to express a set of information. Common bar codes are a pattern of parallel lines of dark bars (simply bars) and white bars (simply spaces) of widely differing reflectivity. The textbox (textarea) tab defines a multi-line text entry control. The text area may hold an unlimited number of texts, wherein the default font of the texts is an equal-width font. The size of textarea can be specified by cols (column number) and rows (row number) attributes, but it is better to use the height (height) and width (width) attributes of CSS. In addition, each control has different control properties; for example, the properties of the text box space include font, bolding, tilting, underlining, font size, alignment method, and the like.
Step S340: and acquiring a user control adjusting instruction, and carrying out adaptive adjustment on the positions and sizes of the plurality of controls according to the user control adjusting instruction.
Specifically, the user control adjustment instruction may be an operation instruction generated on the web page and related to the user requirement, that is, the control is adjusted by the user operation. The position and size of the control can be adaptively adjusted by dragging the mouse; or the position and size of the control can be adaptively adjusted through touch screen operation; specifically, the setting is performed according to the application scenario of the embodiment.
Step S350: and acquiring the control attribute generated after the control is subjected to adaptive adjustment.
Specifically, after the adaptive adjustment of the control is completed, an attribute value of the control is generated according to the current position and size of the control; for example, the current position and size of the control are acquired as the control attributes by adaptively adjusting the control to the position and size satisfied by the user in a mouse dragging mode or a touch screen operation mode.
Step S360: and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
Compared with the first embodiment, the third embodiment includes step S330, step 340 and step S350, and other steps have already been described in the first embodiment and are not described herein again.
In the above embodiment, there are advantageous effects: the method has the advantages that the adaptability of the controls in the label is visually adjusted, the attributes of the adjusted controls are obtained, the controls are visually adjusted on the webpage, the state of the adjusted controls is displayed in real time, user requirements are further met, and the user is guaranteed to dynamically configure the design of the label template according to the requirements of the user.
Referring to fig. 4, fig. 4 is a specific implementation step of step S110 in the first embodiment of the method for constructing a tag template of the present application, where the obtaining of the tag attribute includes:
step S111: product data is acquired.
In particular, the product data may be data of a product package for which a label is to be designed, and may particularly be a size of a face of the product package containing the product label. In this embodiment, label templates of various products can be designed. The label template for each product may vary from product package to product package, so that the correct product data information is obtained before the appropriate label attributes are automatically obtained.
Step S112: and inputting the product data into a pre-constructed label design model.
Specifically, the label design model may be a predictive model having a predictive function; the prediction model is predicted by adopting a quantitative prediction method, and the most important work is to establish a prediction mathematical model. A predictive model refers to the quantitative relationship between things described in a mathematical language or formula for prediction. The method reveals the internal regularity among things to a certain extent, and the internal regularity is used as a direct basis for calculating a predicted value during prediction.
In this embodiment, the pre-constructed label design model is to learn a large amount of product data, and output the internal rules between the product data and the label attributes by a prediction method, wherein the larger the order of magnitude of the product data is, the higher the prediction accuracy of the label design model is.
Step S113: and estimating the position and the size of the label based on the label design model, and outputting the label attribute.
Specifically, the position and the size of the label of the product to be labeled are predicted by using the label design model, that is, the position and the size of the label are estimated by using the relationship between the product data learned by the label design model and the label attribute, and the label attribute is output.
In the above embodiment, there are advantageous effects of: by constructing a prediction model, the prediction of the label attribute is automatically completed, different label attributes can be output according to different products, the manual operation of a user is reduced, and the use experience of the user is improved.
Referring to fig. 5, fig. 5 is another specific implementation step of step S110 in the first embodiment of the method for constructing a label template of the present application, where before the step of inputting product data into a label design model constructed in advance, the method includes:
step S111': product data is acquired.
Step S112': and acquiring a label training set.
In an embodiment, the obtaining a training set of labels includes:
acquiring a plurality of product data and corresponding relations between positions and sizes of product labels; wherein the product data is a parameter of the product package.
Specifically, the label training set may include a large amount of product data and a corresponding relationship between the product data and the product labels; specifically, if the size of the face where the label is located in one product package is 150px × 100px, the size of the product label of the product is 100px × 100px, and the position coordinate of the label is (0, 0), a corresponding relationship is established between the three. The label training set comprises massive product data and a corresponding relation between the positions and the sizes of product labels.
Step S113': and inputting the label training set into a prediction model based on machine learning for training to generate the label design model.
Specifically, a label training set is input into a prediction model based on machine learning for training, so that the prediction model based on machine learning learns the corresponding relation between the positions and the sizes of a plurality of product data and product labels. If the product data of the current label to be designed is input into the trained label design model, the label attribute can be obtained, that is, the best predicted position and the best size of the product label can be obtained, so that the position and the size of the label and the control do not need to be adjusted manually by a user, and the user experience is further improved.
In particular, the machine learning based prediction model may specifically be a neural network based prediction model. The prediction model based on the neural network adopts a model for predicting unknown data by using the neural network model. The neural network prediction model includes, but is not limited to, a Convolutional Neural Network (CNN), a Recurrent Neural Network (RNN), a long-term memory network (LSTM), and the like.
In one embodiment, the machine learning-based prediction model may be a regression prediction model based on a bp (back propagation) neural network, i.e., an error back propagation neural network; the neural network is a multilayer neural network with three or more layers, and each layer is composed of a plurality of neurons. The BP neural network is trained according to a supervised learning mode, after an error is provided to the network, the activation value of the neuron of the BP neural network is propagated from an input layer to an output layer through all hidden layers, and each neuron of the output layer outputs a network response corresponding to an input mode. And modifying the connection rights layer by layer from the output layer through the hidden layers and finally back to the input layer. With the continuous progress of the error inverse propagation training, the accuracy of the model is continuously improved. Therefore, the regression prediction model based on the BP neural network can improve the accuracy of the acquisition of the label attribute.
Step S114': product data is input into a pre-constructed label design model.
Step S115': and estimating the position and the size of the label based on the label design model, and outputting the label attribute.
Compared with the above embodiment, including step S112 'and step S113', other steps have been described in the above embodiment, and are not described herein again.
In the above embodiment, there are advantageous effects of: by training the prediction model based on machine learning to generate the label design model and automatically generating the label attribute by using the label design model, the process of acquiring a label instruction of a user is saved in the middle, and the time cost of label template design is saved.
The present application also protects a tag template construction system 20, said system comprising:
an initial tag constructing module 21, configured to obtain a tag attribute; constructing an initial label according to the label attribute;
the label template building module 22 is configured to obtain a plurality of controls and the control attributes; and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
The system 20 shown in fig. 6 includes an initial tag construction module 21 and a tag template construction module 22, which can execute the method of the embodiment shown in fig. 1 to 5, and reference may be made to the related description of the embodiment shown in fig. 1 to 5 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution refer to the descriptions in the embodiments shown in fig. 1 to fig. 5, and are not described herein again.
The present application also protects a computer program product comprising a computer program which when executed by a processor implements the steps of the method of constructing a label template as described in any of the above.
The present application further provides a computer storage medium having a tag template construction method program stored thereon, where the tag template construction method program is executed by a processor to implement any of the above-mentioned steps of the tag template construction method.
The application relates to a label template generating device 10, which comprises the following components as shown in fig. 7: at least one processor 12, a memory 11.
The processor 12 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 12. The processor 12 described above may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 11, and the processor 12 reads the information in the memory 11 and completes the steps of the method in combination with the hardware thereof.
It will be appreciated that memory 11 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (ddr DRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 11 of the systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the invention without departing from the invention
With clear spirit and scope. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for constructing a label template is applied to a webpage, and is characterized by comprising the following steps:
acquiring the attribute of the label;
constructing an initial label according to the label attribute;
acquiring a plurality of controls and control attributes;
and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
2. The method for constructing a tag template according to claim 1, wherein the obtaining tag attributes comprises:
acquiring a user tag adjusting instruction, and performing adaptive adjustment on the position and size of the tag according to the user tag adjusting instruction;
and acquiring the label attribute generated after the label is subjected to adaptive adjustment.
3. The method for constructing a label template according to claim 1, wherein the obtaining of the plurality of controls and the control attributes comprises:
acquiring a plurality of controls;
acquiring a user control adjusting instruction, and performing adaptive adjustment on the positions and sizes of a plurality of controls according to the user control adjusting instruction;
and acquiring the control attribute generated after the control is subjected to adaptive adjustment.
4. The method of constructing a label template of claim 3, wherein the controls include at least one of: graphical identifiers, text boxes, tables, and pictures.
5. The method for constructing a tag template according to claim 1, wherein the obtaining of the tag attribute further comprises:
acquiring product data;
inputting the product data into a label design model which is constructed in advance;
and estimating the position and the size of the label based on the label design model, and outputting the label attribute.
6. The method of constructing a label template of claim 5, wherein said step of entering product data into a pre-constructed label design model is preceded by the steps of:
constructing a label design model; the method specifically comprises the following steps:
acquiring a label training set;
and inputting the label training set into a prediction model based on machine learning for training to generate the label design model.
7. The method for constructing a label template according to claim 6, wherein the obtaining a training set of labels comprises:
acquiring a plurality of product data and corresponding relations between positions and sizes of product labels; wherein the product data is a parameter of the product package.
8. A system for constructing a label template, the system comprising:
the initial label building module is used for obtaining the label attribute; constructing an initial label according to the label attribute;
the label template building module is used for obtaining a plurality of controls and control attributes; and generating a label template based on the initial label and combining a plurality of controls and the control attributes.
9. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, carries out the steps of the method of constructing a label template according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon a construction method program of a label template, which when executed by a processor implements the steps of the construction method of a label template according to any one of claims 1 to 7.
CN202110964873.4A 2021-08-23 2021-08-23 Method, system, program product and storage medium for constructing label template Pending CN113419659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110964873.4A CN113419659A (en) 2021-08-23 2021-08-23 Method, system, program product and storage medium for constructing label template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110964873.4A CN113419659A (en) 2021-08-23 2021-08-23 Method, system, program product and storage medium for constructing label template

Publications (1)

Publication Number Publication Date
CN113419659A true CN113419659A (en) 2021-09-21

Family

ID=77719061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110964873.4A Pending CN113419659A (en) 2021-08-23 2021-08-23 Method, system, program product and storage medium for constructing label template

Country Status (1)

Country Link
CN (1) CN113419659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116055A (en) * 2021-11-22 2022-03-01 北京自如信息科技有限公司 Prompt tag adding method and device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0032679A2 (en) * 1980-01-09 1981-07-29 Monarch Marking Systems, Inc. Label printing and applying apparatus
US5040461A (en) * 1989-11-17 1991-08-20 Avery International Corporation Label printing and dispensing apparatus
CN101788892A (en) * 2009-01-22 2010-07-28 英业达股份有限公司 Label printing system
CN102033861A (en) * 2009-09-30 2011-04-27 英业达股份有限公司 Method for editing tag template
CN103223792A (en) * 2012-01-25 2013-07-31 精工爱普生株式会社 Image processing device, printing device, and image processing method
US20140063556A1 (en) * 2012-08-29 2014-03-06 Minwoo Park System For Generating Tag Layouts
CN104097410A (en) * 2013-04-12 2014-10-15 精工爱普生株式会社 Label data generating method, label data generating apparatus, and label creating system
CN108197687A (en) * 2017-12-27 2018-06-22 江苏集萃智能制造技术研究所有限公司 A kind of webpage two-dimensional code generation method
CN108364005A (en) * 2018-03-07 2018-08-03 上海扩博智能技术有限公司 Automatic identifying method, system, equipment and the storage medium of price tag
CN108416403A (en) * 2018-03-08 2018-08-17 上海扩博智能技术有限公司 The automatic correlation method of commodity and label, system, equipment and storage medium
CN109725861A (en) * 2018-12-29 2019-05-07 森大(深圳)技术有限公司 Variable label generates display methods, device, equipment and label machine
CN110244921A (en) * 2019-06-24 2019-09-17 武汉精臣智慧标识科技有限公司 Label printing method, device, electronic equipment and system
CN110764721A (en) * 2019-09-19 2020-02-07 北京三快在线科技有限公司 Template generation method and device, electronic equipment and computer readable medium
CN110796210A (en) * 2018-08-03 2020-02-14 珠海格力电器股份有限公司 Method and device for identifying label information
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
CN112162712A (en) * 2020-09-10 2021-01-01 张平 Label printing method and system based on template editing

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0032679A2 (en) * 1980-01-09 1981-07-29 Monarch Marking Systems, Inc. Label printing and applying apparatus
US5040461A (en) * 1989-11-17 1991-08-20 Avery International Corporation Label printing and dispensing apparatus
CN101788892A (en) * 2009-01-22 2010-07-28 英业达股份有限公司 Label printing system
CN102033861A (en) * 2009-09-30 2011-04-27 英业达股份有限公司 Method for editing tag template
CN103223792A (en) * 2012-01-25 2013-07-31 精工爱普生株式会社 Image processing device, printing device, and image processing method
US20140063556A1 (en) * 2012-08-29 2014-03-06 Minwoo Park System For Generating Tag Layouts
CN104097410A (en) * 2013-04-12 2014-10-15 精工爱普生株式会社 Label data generating method, label data generating apparatus, and label creating system
CN108197687A (en) * 2017-12-27 2018-06-22 江苏集萃智能制造技术研究所有限公司 A kind of webpage two-dimensional code generation method
CN108364005A (en) * 2018-03-07 2018-08-03 上海扩博智能技术有限公司 Automatic identifying method, system, equipment and the storage medium of price tag
CN108416403A (en) * 2018-03-08 2018-08-17 上海扩博智能技术有限公司 The automatic correlation method of commodity and label, system, equipment and storage medium
US20190279144A1 (en) * 2018-03-08 2019-09-12 Shanghai Clobotics Technology Co., Ltd. Method, system and device for association of commodities and price tags
CN110796210A (en) * 2018-08-03 2020-02-14 珠海格力电器股份有限公司 Method and device for identifying label information
CN109725861A (en) * 2018-12-29 2019-05-07 森大(深圳)技术有限公司 Variable label generates display methods, device, equipment and label machine
CN110244921A (en) * 2019-06-24 2019-09-17 武汉精臣智慧标识科技有限公司 Label printing method, device, electronic equipment and system
CN110764721A (en) * 2019-09-19 2020-02-07 北京三快在线科技有限公司 Template generation method and device, electronic equipment and computer readable medium
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
CN112162712A (en) * 2020-09-10 2021-01-01 张平 Label printing method and system based on template editing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116055A (en) * 2021-11-22 2022-03-01 北京自如信息科技有限公司 Prompt tag adding method and device

Similar Documents

Publication Publication Date Title
AU2019369301B2 (en) Refinement of machine learning engines for automatically generating component-based user interfaces
US11210111B2 (en) Automatic user interface architecture
US11138022B2 (en) Dynamic user interface for predicted procedures
US10761818B2 (en) Automatic identification of types of user interface components
US10928982B2 (en) Automatic grouping of user interface elements into components
US10949174B2 (en) Automatic classification of user interface elements
US10963694B2 (en) Duplicate user interface design identification
Manovich Can we think without categories?
CN109815465B (en) Deep learning-based poster generation method and device and computer equipment
US11436436B2 (en) Data augmentation system, data augmentation method, and information storage medium
US20180365594A1 (en) Systems and methods for generative learning
Salehudin “Reverse Engineering” the Pitching Research Template: A Simple Tool to Help Understand the Academic Literature
JP2019028094A (en) Character generation device, program and character output device
CN113298572A (en) Page display method and device and computer equipment
CN113419659A (en) Method, system, program product and storage medium for constructing label template
Yin et al. What? how? where? a survey of crowdsourcing
Wang et al. Local Gaussian process extrapolation for BART models with applications to causal inference
Rai Advanced deep learning with R: Become an expert at designing, building, and improving advanced neural network models using R
CN111475628B (en) Session data processing method, apparatus, computer device and storage medium
CN116628332A (en) Personalized recommendation method based on prompt learning
KR102622382B1 (en) Method for creating banner image automatically
Bratić et al. Readability Evaluation of Variable Handwritten Fonts on Different Screen Sizes Using Fuzzy Logic.
KR20220039544A (en) Method and system for providing annotation information for target data through hint-based machine learning model
Friedlander The editor, the author function, and the social function: a methodological survey
CN111259339A (en) Method and system for automatically removing sample mark noise

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210921