Customization method and device of modularized intelligent label and server
Through graphical user interface interaction and intelligent identification of model data mapping, automatic generation and printing of labels is solved, and the problems of limited label design and low printing efficiency in the prior art are achieved, and flexible label customization and efficient printing effects are achieved.
Patent Information
- Application Number
- CN202510196079.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-05-27
AI Technical Summary
The existing label printing method uses fixed label templates, which cannot flexibly adapt to the needs of different label content and placement positions, resulting in limited label design, manual adjustment is time-consuming and has high error rate, and poor printing efficiency and effect.
The target label custom template is determined through interactive graphical user interface, and the preset intelligent identification model is used to perform data mapping processing, automatically process data sources, generate target label information, and send it to the printing terminal through the label management platform for printing.
It realizes the rapid generation and printing of label files, reduces manual operations and intervention, improves printing efficiency and accuracy, reduces the possibility of human errors, and significantly improves the flexibility of label customization.
Smart Images

Figure CN120045146A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of label printing, and in particular, to a method, device, and server for customizing componentized intelligent labels. Background Art
[0002] Currently, related technologies propose that existing label printing methods mainly use fixed label templates in the label setting interface, and configure labels by manually adjusting label content and positions. After that, the configured labels are sent to the printing terminal for label printing. However, if fixed label templates are used, it is impossible to flexibly adapt to the requirements of different label contents and display positions, resulting in limited label design. Manually adjusting label content and positions is time-consuming and laborious, and has a high error rate, thus reducing production efficiency. In addition, the printing strategies of existing systems are fixed and cannot be personalized according to the characteristics and requirements of different label components, which will affect printing effects and efficiency. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a method, device, and server for customizing componentized intelligent labels, which can significantly improve the flexibility and customization efficiency of label customization.
[0004] In a first aspect, an embodiment of the present invention provides a method for customizing componentized intelligent labels. The method includes: determining a target label customization template according to the interaction information of the user terminal on the graphical user interface, and obtaining the data source of the label to be generated; performing data mapping processing on the potential mapping relationship between each field in the data source and the template elements through a preset intelligent recognition model to determine target data, and combining the target data with the target label customization template to determine target label information; sending the target label information to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information.
[0005] In an implementation manner, the step of determining a target label customization template according to the interaction information of the user terminal on the graphical user interface includes: determining a label basic template according to the interaction information of the user terminal on the graphical user interface, and the label element attribute information of each label element in the label basic template; adjusting the template data structure in the label basic template according to the label element attribute information to determine the target label customization template, and storing the target label customization template in a preset template library.
[0006] In one embodiment, the interaction information includes: template selection information and template creation information. The steps for determining the label base template for the interaction information of the user terminal in the graphical user interface are as follows: If the template selection information is received, the template corresponding to the template selection information is called from the preset template library, and this template is determined as the label base template; if the template creation information is received, a new template is created according to the template definition content in the template creation information, and this template is determined as the label base template.
[0007] In one embodiment, the steps for performing data mapping processing on the potential mapping relationship between each field in the data source and the template elements through a preset intelligent recognition model are as follows: If the data mapping fails, a mapping error warning prompt is enabled, and the data mapping is performed again; if the data mapping is successful, data verification and error handling are performed on the mapped data.
[0008] In one embodiment, the steps for performing data verification and error handling on the mapped data are as follows: The data format and data type corresponding to the mapped data are verified through a preset data verification model; when the verification fails, a verification error warning prompt is enabled, and the data verification is performed again; when the verification is successful, the mapped data is determined as the target data.
[0009] In one embodiment, after the step of sending the target label information to the label printing terminal through the label management platform, it includes: monitoring the label printing process; if it is detected that the label printing fails, a printing error warning prompt is enabled, and the target label information is resent for label printing processing; if it is detected that the label printing is successful, the successfully printed label is determined as the label template for collaborative sharing processing.
[0010] In one embodiment, before the step of determining the successfully printed label as the label template for collaborative sharing processing, it includes: performing a verification test on the label template; if the test passes, version control and historical tracking are performed on the label template, so that in the next round of label customization, according to the requirements of the user terminal, the target label template of the target version is determined from the modification history data of the label template.
[0011] Second aspect, an embodiment of the present invention further provides a customization device for a componentized intelligent label. The device includes: an information acquisition module, which determines a target label customization template according to the interaction information of the user end on the graphical user interface, and acquires the data source of the label to be generated; a data mapping module, which performs data mapping processing on the potential mapping relationship between each field in the data source and the template element through a preset intelligent recognition model, determines the target data, combines the target data with the target label customization template, and determines the target label information; a label printing module, which sends the target label information to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information.
[0012] Third aspect, an embodiment of the present invention further provides a server, including a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method according to any one of the first aspect.
[0013] Fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions cause the processor to implement the method according to any one of the first aspect.
[0014] The embodiments of the present invention bring the following beneficial effects:
[0015] A customization method, device and server for a componentized intelligent label provided by an embodiment of the present invention. After determining the target label customization template according to the interaction information of the user end on the graphical user interface and acquiring the data source of the label to be generated, the method performs data mapping processing on the potential mapping relationship between each field in the data source and the template element through a preset intelligent recognition model, determines the target data, combines the target data with the target label customization template, and determines the target label information. Finally, the target label information is sent to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information. The embodiments of the present invention can automatically process the data source through data mapping, realize the rapid generation and printing of label files, reduce manual operations and interventions, thereby improving the printing efficiency and accuracy, reducing the possibility of human errors, and constructing multiple custom printing templates according to different business scenarios and requirements, significantly improving the flexibility of label customization.
[0016] Other features and advantages of the present invention will be described in the subsequent description, and, in part, will be obvious from the description, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the description, the claims and the drawings.
[0017] To make the above objects, features, and advantages of the present invention more apparent and understandable, the following provides preferred embodiments in conjunction with the accompanying drawings and describes them in detail as follows. Description of the Drawings
[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0019] Figure 1 Flow diagram of a method for customizing a componentized intelligent tag provided by an embodiment of the present invention;
[0020] Figure 2 Specific flow diagram of a method for customizing a componentized intelligent tag provided by an embodiment of the present invention;
[0021] Figure 3 Structural diagram of a device for customizing a componentized intelligent tag provided by an embodiment of the present invention;
[0022] Figure 4 Structural diagram of a server provided by an embodiment of the present invention. Detailed Embodiments
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention in conjunction with the embodiments. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0024] Currently, related technologies propose that existing label printing methods mainly use fixed label templates in the label setting interface, and configure labels by manually adjusting label content and positions. After that, the configured labels are sent to the printing terminal for label printing. However, if fixed label templates are used, it is impossible to flexibly adapt to the requirements of different label contents and display positions, resulting in limited label design. Manually adjusting label content and positions is time-consuming and laborious, and has a high error rate, thus reducing production efficiency. In addition, the printing strategies of existing systems are fixed and cannot be customized according to the characteristics and requirements of different label components, which will affect printing effects and efficiency. Based on this, the customization method, device, and server of componentized intelligent labels provided by the embodiments of the present invention can automatically process data sources through data mapping, realize the rapid generation and printing of label files, reduce manual operations and interventions, thereby improving printing efficiency and accuracy, reducing the possibility of human errors, and constructing multiple custom printing templates according to different business scenarios and requirements, significantly enhancing the flexibility of label customization.
[0025] See Figure 1 The flowchart of a customization method for a componentized intelligent label shown in the figure. This method mainly includes the following steps S102 to S106:
[0026] Step S102, for the interaction information of the user end in the graphical user interface, determine the target label customization template and obtain the data source of the label to be generated. Among them, the interaction information includes: template selection information and template creation information. In one implementation, the graphical user interface uses an intuitive and easy-to-use graphical user interface (GUI), which supports the user end to easily define the content, layout, and style of the label by means of dragging, selecting, inputting, etc. In addition, the interface should support multi-tab pages or grouped management to enable the user to edit multiple label templates simultaneously.
[0027] In addition, by setting an intuitive and easy-to-use interface layout in the graphical user interface, it is convenient for users to edit labels and manage templates. The provided label element library supports drag-and-drop operations, enabling users to easily add elements to the template. Further, it also includes a developed property editor, which can support users to finely adjust the properties of elements, such as font, color, size, etc.
[0028] In another implementation, the target label customization template can perform conditional rendering, loop rendering, and variable substitution. That is, according to the conditional expression in the template, dynamically determine whether to render a certain element or a part of the element; for content that needs to be repeatedly generated (such as lists, tables, etc.), achieve automatic generation through loop rendering technology; define variables in the template and replace them with actual data values during data filling to realize the dynamic generation of label content.
[0029] Step S104: Through a preset intelligent recognition model, perform data mapping processing on the potential mapping relationships between each field in the data source and the template elements to determine the target data, and combine the target data with the target label customization template to determine the target label information. In one implementation, the data mapping processing can support multiple data source connections, such as databases, Excel files, CSV files, etc., and can flexibly obtain the data required by users. By providing a data mapping function, the fields in the data source are associated with the elements in the template, supporting complex data conversion and formatting operations. In addition, before data filling, the data can be preprocessed, such as deduplication, sorting, filtering, etc., to ensure the accuracy and effectiveness of the data.
[0030] Step S106: Send the target label information to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information. In one implementation, the label management platform can be compatible with multiple printing devices and printing drivers, supporting various types of printing devices such as thermal printers, inkjet printers, and laser printers; before printing, a print preview function can be provided, enabling users to view the printing effect of the label and make necessary adjustments; during data processing, file generation, and printing, a comprehensive error handling and exception capture mechanism can be implemented. Once an error or exception occurs, the system will promptly give a prompt message and allow users to perform error handling or re-operation. Therefore, by being compatible with multiple printing devices and printing drivers, the accuracy and stability of the print output can be ensured; providing a print preview function enables users to view the printing effect of the label and make necessary adjustments before printing; supporting the output of multiple file formats, such as PDF, pictures, etc., can meet the printing needs of different users.
[0031] The above method for customizing a componentized intelligent label provided by the embodiments of the present invention realizes flexible label design and meets different requirements by providing users with custom label templates and content configuration data of target label components. In addition, based on an automated printing strategy, the label management platform server synchronizes data to the label printing terminal to automatically generate printing strategy data for the target label components, reducing the trouble of manual adjustment. Finally, converting the printing strategy data into printing instructions for the local printing device can achieve personalized printing operations, improving the printing effect and efficiency.
[0032] See Figure 2 For the specific process schematic diagram of a method for customizing a componentized intelligent label shown, the embodiments of the present invention also provide an implementation manner for customizing an intelligent label. Specifically, refer to the following (A) to (C):
[0033] (A) For the interaction information of the user terminal in the graphical user interface, determine the label basic template and the label element attribute information of each label element in the label basic template. Then, according to the label element attribute information, adjust the template data structure in the label basic template to determine the target label customization template, and store the target label customization template in the preset template library. In one implementation, if a template selection information is received, call the template corresponding to the template selection information from the preset template library and determine this template as the label basic template; if a template creation information is received, create a new template according to the template definition content in the template creation information and determine this template as the label basic template. Among them, selecting a template before editing element attributes is equivalent to determining the basic shape of the label, such as a circular label or a square label. The definition of the template data structure is equivalent to the data format within the template, such as font size, position, whether it is in digital form or two-dimensional code form. Template library management is equivalent to saving the currently defined template so that it can be directly called when customizing labels next time. Selecting a data source is equivalent to the content corresponding to a specific label, and filling the content into the above-defined template can complete the label.
[0034] In practical applications, the graphical user interface also provides an element library and an element attribute editing function. Among them, the element library is used to provide a rich label element library, including but not limited to text boxes, picture boxes, barcode generators, two-dimensional code generators, date and time fields, etc., to support the user terminal to drag the required elements from the element library into the label template and adjust their positions and sizes. In addition, each element has a series of editable attributes, such as font, color, size, alignment, border, etc., and these attributes are finely adjusted through interaction with the user terminal by the attribute editor to meet specific printing requirements.
[0035] Furthermore, when defining the basic template, structured data formats such as XML and JSON can be used to define the label template, clarify the positions, sizes, attributes of the elements and their logical relationships, and through an efficient template parsing engine, read and parse the template file and convert it into an internal representation form for subsequent data filling and printing operations.
[0036] (B) Determine the target data through data mapping. If the data mapping fails, turn on the mapping error warning prompt and perform data mapping again. If the data mapping is successful, perform data verification and error handling on the mapped data. In one implementation, verify the data format and data type corresponding to the mapped data through a preset data verification model: when the verification fails, turn on the verification error warning prompt and perform data verification again; when the verification is successful, determine the mapped data as the target data. In practical applications, data mapping includes: intelligent recognition and recommendation, complex data conversion and formatting, data verification and error handling, and real-time preview and adjustment. Specifically, refer to the following (1) to (4):
[0037] (1) Intelligent recognition and recommendation: The system can provide an intelligent recognition function to automatically detect the potential mapping relationship between the data source fields and the template elements and give recommendations, thereby reducing the workload of users in the data mapping process and reducing the error rate.
[0038] (2) Complex data conversion and formatting: The data mapping function should not only support simple field correspondence but also support complex data conversion and formatting operations. For example, the date format can be converted from one format to another, or the numeric field can be formatted as a currency format, etc.
[0039] (3) Data verification and error handling: During the data mapping process, the system provides a data verification function to ensure that the mapped data conforms to the expected format and type. For data that cannot be mapped, the system should provide an error handling mechanism, such as skipping, reminding the user, or using default values.
[0040] (4) Real-time preview and adjustment: When performing data mapping, provide a real-time preview function to allow the user side to see the immediate effect of the mapping result, so that the user can quickly adjust the mapping relationship until a satisfactory effect is achieved.
[0041] (C) Send the target label information to the label printing terminal for label printing processing and monitor the label printing process: If it is detected that the label printing fails, turn on the printing error warning prompt and resend the target label information for label printing processing; if it is detected that the label printing is successful, determine the successfully printed label as the label template for collaborative sharing processing. Among them, the label template allows users to inherit the elements and layout of the existing template when creating a template, and only need to modify or add specific parts, which can improve the efficiency and consistency of template creation. Conditional rendering and loop rendering can be supported in the template definition, enabling users to dynamically generate complex label content according to the data. For example, whether to display a certain element can be determined according to a certain field value in the data, or a certain element can be repeated multiple times.
[0042] In addition, the functions of the label template also include: template parameterization, template version control, template sharing and collaboration, template testing and verification, and file generation. Specifically, template parameterization: users can define template parameters, where the parameters can be replaced by different values when the template is used, thus realizing multiple variants of the same template; template version control: the system can provide template version control functions to enable users to track the modification history of the template, compare the differences between different versions, and roll back to the old version when needed; template sharing and collaboration: allows users to share templates, and other users can edit and improve based on the shared templates, promoting team collaboration and knowledge sharing; template testing and verification: provides template testing functions to enable users to test the printing effect of the template before actual use, ensuring the correctness of the template and the satisfaction of the printing effect; file generation: generates the final label file according to the information of the template and the data source. The file can be in formats such as PDF, pictures, or other formats supported by the printing device. During the generation process, the system will optimize the typesetting and layout of the label content to ensure the beauty and accuracy of the printing effect. In one implementation, verification testing is performed on the label template. If the test passes, version control and historical tracking are performed on the label template, so that in the next round of label customization, according to the user-side requirements, the target label template of the target version can be determined from the modification history data of the label template.
[0043] In summary, the present invention can enhance the diversity of label printing content. The custom label template printing technology can support the editing and printing of various different types of elements, including but not limited to text, barcodes, QR codes, pictures, etc. Through flexible template definition, users can adjust the content and layout of the label according to actual needs to meet the label printing requirements in different business scenarios.
[0044] In addition, it can improve printing efficiency and accuracy. By automatically processing the label editing information input by the user and the predefined data structure template, the rapid generation and printing of the label file are realized, reducing manual operations and interventions, thereby improving printing efficiency and accuracy and reducing the possibility of human errors.
[0045] Finally, it enhances the generality and flexibility of the custom template. By introducing template parameters and preset template default parameters, the custom label template printing technology can construct multiple custom printing templates according to different business scenarios and requirements. This flexible template design method not only improves the generality of the template but also makes label printing more in line with the personalized needs of users.
[0046] For the componentized intelligent label customization method provided in the foregoing embodiments, the present invention embodiment provides a componentized intelligent label customization device. Refer to Figure 3 the structural schematic diagram of a componentized intelligent label customization device shown. The device includes the following parts:
[0047] An information acquisition module 302 determines a target label customization template for the interaction information of the user terminal on the graphical user interface and acquires the data source of the label to be generated.
[0048] A data mapping module 304 performs data mapping processing on the potential mapping relationships between the fields in the data source and the template elements through a preset intelligent recognition model, determines the target data, and combines the target data with the target label customization template to determine the target label information.
[0049] A label printing module 306 sends the target label information to a label printing terminal through a label management platform, so that the label printing terminal performs label printing processing according to the target label information.
[0050] The above-mentioned componentized intelligent label customization device provided by the embodiment of the present application can significantly improve the flexibility and customization efficiency of label customization.
[0051] In one implementation manner, when performing the step of determining the target label customization template for the interaction information of the user terminal on the graphical user interface, the above-mentioned information acquisition module 302 is further configured to: determine a label basic template for the interaction information of the user terminal on the graphical user interface, and the label element attribute information of each label element in the label basic template; according to the label element attribute information, adjust the template data structure in the label basic template to determine the target label customization template, and store the target label customization template in a preset template library.
[0052] In one implementation manner, the interaction information includes: template selection information and template creation information. When performing the step of determining the label basic template for the interaction information of the user terminal on the graphical user interface, the above-mentioned information acquisition module 302 is further configured to: if the template selection information is received, call the template corresponding to the template selection information from the preset template library and determine the template as the label basic template; if the template creation information is received, create a new template according to the template definition content in the template creation information and determine the template as the label basic template.
[0053] In one implementation manner, when performing the step of performing data mapping processing on the potential mapping relationships between the fields in the data source and the template elements through a preset intelligent recognition model, the above-mentioned data mapping module 304 is further configured to: if the data mapping fails, turn on the mapping error warning prompt and perform data mapping again; if the data mapping is successful, perform data verification and error handling on the mapped data.
[0054] In one implementation, when performing the steps of data verification and error handling on the mapped data, the above data mapping module 304 is further configured to: verify the data format and data type corresponding to the mapped data through a preset data verification model; when the verification fails, enable a verification error warning prompt and re-perform data verification; when the verification is successful, determine the mapped data as the target data.
[0055] In one implementation, after performing the step of sending the target label information to the label printing terminal through the label management platform, the above label printing module 306 is further configured to: monitor the label printing process; if it is detected that the label printing fails, enable a printing error warning prompt and re-send the target label information for label printing processing; if it is detected that the label printing is successful, determine the successfully printed label as the label template for collaborative sharing processing.
[0056] In one implementation, before performing the step of determining the successfully printed label as the label template for collaborative sharing processing, the above label printing module 306 is further configured to: perform a verification test on the label template; if the test passes, perform version control and historical tracking on the label template, so as to determine the target label template of the target version from the modification history data of the label template according to the requirements of the user side in the next round of label customization.
[0057] The device provided by the embodiments of the present invention has the same implementation principle and the same technical effects as those of the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding contents in the foregoing method embodiments.
[0058] The embodiments of the present invention provide a server. Specifically, the server includes a processor and a storage device; a computer program is stored on the storage device, and the computer program executes the method according to any one of the above-mentioned implementations when being run by the processor.
[0059] Figure 4 FIG. is a schematic structural diagram of a server provided by an embodiment of the present invention. The server 100 includes: a processor 40, a memory 41, a bus 42, and a communication interface 43. The processor 40, the communication interface 43, and the memory 41 are connected through the bus 42. The processor 40 is configured to execute an executable module stored in the memory 41, such as a computer program.
[0060] Among them, the memory 41 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between this system network element and at least one other network element is realized through at least one communication interface 43 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.
[0061] The bus 42 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 4 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0062] Among them, the memory 41 is used to store a program. After receiving an execution instruction, the processor 40 executes the program. The method executed by the device defined by the flow process disclosed in any embodiment of the foregoing embodiments of the present invention can be applied to the processor 40 or implemented by the processor 40.
[0063] The processor 40 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 40 or the instructions in the form of software. The above-mentioned processor 40 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 41, and the processor 40 reads the information in the memory 41 and combines its hardware to complete the steps of the above method.
[0064] The computer program product of the readable storage medium provided by the embodiments of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For the specific implementation, reference can be made to the foregoing method embodiments and will not be elaborated here.
[0065] When the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0066] Finally, it should be noted that the above-mentioned embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A method for customizing componentized smart labels, characterized in that: The method comprises: According to the interactive information of the user end in the graphical user interface, determine the target tag customization template and obtain the data source of the tag to be generated; By presetting an intelligent recognition model, data mapping processing is performed on the potential mapping relationship between each field in the data source and the template element to determine the target data, and the target data is combined with the target label customized template to determine the target label information; The target label information is sent to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information.
2. The customization method of componentized smart labels according to claim 1, characterized in that: The step of determining a target tag customization template for interactive information of the user terminal in the graphical user interface includes: Determine a basic label template and label element attribute information of each label element in the basic label template according to the interactive information of the user terminal in the graphical user interface; According to the tag element attribute information, the template data structure in the tag basic template is adjusted to determine the target tag customized template, and the target tag customized template is stored in a preset template library.
3. The customization method of componentized smart labels according to claim 2, characterized in that: The interactive information includes: template selection information and template creation information. The step of determining the label basic template for the interactive information of the user terminal in the graphical user interface includes: If the template selection information is received, a template corresponding to the template selection information is called from a preset template library, and the template is determined as a label basic template; If the template creation information is received, a new template is created according to the template definition content in the template creation information, and the template is determined as the label basic template.
4. The customization method of componentized smart labels according to claim 1, characterized in that: The step of performing data mapping processing on the potential mapping relationship between each field in the data source and the template element by using a preset intelligent recognition model includes: If data mapping fails, a mapping error alarm will be displayed and data mapping will be performed again; If the data mapping is successful, data verification and error handling are performed on the mapped data.
5. The customization method of componentized smart labels according to claim 4, characterized in that: The step of performing data verification and error handling on the mapped data includes: Verify the data format and data type corresponding to the mapped data through the preset data verification model; When verification fails, enable verification error warning prompt and re-verify the data; When the verification succeeds, the mapped data is determined to be the target data.
6. The customization method of componentized smart labels according to claim 1, characterized in that: After the step of sending the target label information to the label printing terminal through the label management platform, the method further includes: Monitor the label printing process; If label printing failure is detected, a printing error alarm is activated, and the target label information is resent for label printing; If it is detected that the label is printed successfully, the successfully printed label will be determined as a label template for collaborative sharing.
7. The customization method of componentized smart labels according to claim 6, characterized in that: Before the step of determining the successfully printed label as a label template for collaborative sharing, the method includes: Performing a verification test on the label template; If the test passes, version control and history tracking are performed on the label template, so that in the next round of label customization, according to the user's needs, the target label template of the target version is determined from the modification history data of the label template.
8. A custom device for componentized smart labels, characterized in that: The device comprises: The information acquisition module determines the target tag customization template based on the interactive information of the user end in the graphical user interface, and obtains the data source of the tag to be generated; The data mapping module performs data mapping processing on the potential mapping relationship between each field in the data source and the template element through a preset intelligent recognition model, determines the target data, and combines the target data with the target label customized template to determine the target label information; The label printing module sends the target label information to the label printing terminal through the label management platform, so that the label printing terminal performs label printing processing according to the target label information.
9. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 7.