CN-121989574-A - Self-service printing method, system and printer for boxing labels based on two-dimension code scanning
Abstract
The invention belongs to the technical field of printing and packaging, in particular to a self-service printing method, a self-service printing system and a self-service printing printer for boxing labels based on two-dimension code scanning, wherein the scheme is that an adaptive label template generating engine is introduced and a quantization workflow is constructed, an operator can bind two-dimension codes with work order identifications only through scanning based on a basic and extended double-layer template structure and a dynamic adaptation strategy, the automatic box filling work piece data of different structures accurately and efficiently generate printable labels, and solve the problems that the existing label printing mode depends on manual pre-configuration templates, has poor flexibility and is prone to error in industry pain points, so that full-flow automation and intellectualization of box filling label generation are realized, and the efficiency and accuracy of warehouse logistics operation are remarkably improved.
Inventors
- LI CHUNJIE
- JU HONGLI
Assignees
- 东港股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260310
Claims (9)
- 1. The self-service printing method for the boxing labels based on two-dimension code scanning is characterized by comprising the following steps of: acquiring work order identification information carried in a two-dimensional code based on two-dimensional code scanning of a boxing work order; Based on the work order identification information, corresponding work order data are automatically acquired from an enterprise ERP system, wherein the work order data comprise but are not limited to product information, specification parameters, quantity requirements and customer information; Generating a corresponding label template through a pre-built self-adaptive label template generating engine according to the acquired work order data, wherein the self-adaptive label template generating engine specifically executes the following processing procedures that the self-adaptive label template generating engine matches a reference template in a preset reference template library based on the work order data, if the matching is successful, the self-adaptive label template generating engine directly calls the reference template, otherwise, the self-adaptive label template is dynamically adapted through a preset elastic layout strategy based on the reference template with the highest matching degree to generate a new template; filling the work order data to the corresponding position of the label template to generate label content to be printed; And executing label printing and reminding a user to pick up the label based on the generated label content to be printed, wherein the label printing is finished, the printing event information is stored, and the label printing state in the ERP system is updated.
- 2. The self-service printing method of the boxing labels based on two-dimension code scanning according to claim 1, wherein the worksheet data are preferentially searched in a local cache, and if the worksheet data do not exist in the cache, the worksheet data are obtained from an ERP system server in real time.
- 3. The self-service printing method of the boxing label based on the two-dimensional code scanning according to claim 1, wherein the self-service printing method is characterized in that a corresponding label template is generated by a pre-built self-adaptive label template generating engine, and specifically comprises the following steps: Calculating the matching degree of the work order data and each reference template in the reference template library based on the work order data, wherein the matching degree is obtained by weighting calculation based on matching fields of the work order data and a basic field set in the reference template and the matching degree of additional fields except the matching fields in the work order data and corresponding fields in the reference template; Selecting a reference template with highest matching degree as a target template, judging whether additional fields in the work order data can be directly contained by an expansion area of the target template, if so, calling the target template as a final label template, and if not, dynamically adapting the target template by a preset elastic layout strategy to generate an adapted label template.
- 4. The self-service printing method of the boxing labels based on two-dimensional code scanning as claimed in claim 3, wherein the calculation of the matching degree is specifically shown as follows: Wherein, the And As the weight coefficient of the light-emitting diode, As a basis for the match score, Accommodate scores for expansion regions, and , In order to match the coefficients perfectly, As a factor of safety in terms of length, For the degree of accommodation of the number, Is the length accommodation.
- 5. The self-service printing method of the boxing labels based on two-dimension code scanning of claim 1, wherein the elastic layout strategy is specifically: when the character length of the extra field is larger than the maximum character length of the field in the expansion area of the reference template, triggering a font and line space compression strategy, reducing the font sizes of all the fields in the expansion area proportionally and fine-tuning the line height and the field space; When the number of the additional fields is larger than the upper limit of the number of the fields which can be accommodated by the expansion area of the reference template, triggering a stream layout strategy, regarding the expansion area as a stream container, and automatically starting a new column to continue arrangement when the expansion area is arranged to the bottom boundary in the vertical direction.
- 6. The self-service printing method for the boxing labels based on two-dimension code scanning according to claim 1, wherein the method for storing the printing event information and updating the label printing state in the ERP system after the label printing is completed comprises the following steps: Recording the printing event in a local log database, wherein the printing event comprises, but is not limited to, a work order identifier, printing time, printing personnel and a printing content abstract; A state update instruction is sent to an ERP system server of an enterprise, and the label printing state of the corresponding work order is marked as printed; And marking the corresponding work order data as printed in the local cache database, so as to prevent the same work order from being repeatedly printed.
- 7. The self-service printing method for the boxing labels based on the two-dimension code scanning of claim 1, wherein after the labels are printed, a user is reminded of the labels to be printed by means of voice prompt or short message pushing, and meanwhile, printing success information and label pickup guide are displayed on a user equipment interactive interface.
- 8. Self-service printing system of vanning label based on two-dimensional code scanning, its characterized in that includes: the work order identification acquisition module is configured to acquire work order identification information carried in the two-dimensional code based on two-dimensional code scanning of the boxing work order; The work order data acquisition module is configured to automatically acquire corresponding work order data from an enterprise ERP system based on the work order identification information, wherein the work order data comprises but is not limited to product information, specification parameters, quantity requirements and customer information; The self-adaptive label template generation engine module is configured to generate a corresponding label template through a pre-built self-adaptive label template generation engine according to the acquired work order data, wherein the self-adaptive label template generation engine specifically executes the following processing procedures that the self-adaptive label template generation engine matches a reference template in a preset reference template library based on the work order data, if the matching is successful, the self-adaptive label template generation engine is directly called, otherwise, the self-adaptive label template generation engine dynamically adapts through a preset elastic layout strategy based on the reference template with the highest matching degree to generate a new template; the label content generation module is configured to fill the work order data into the corresponding position of the label template to generate label content to be printed; And the label printing and state updating module is configured to execute label printing and remind a user to get the label based on the generated label content to be printed, wherein the label printing event information is stored after the label printing is finished, and the label printing state in the ERP system is updated.
- 9. The self-service printer for the boxing labels based on the two-dimension code scanning comprises a memory, a processor and a computer program running on the memory, and is characterized in that the self-service printing method for the boxing labels based on the two-dimension code scanning is realized when the processor executes the program.
Description
Self-service printing method, system and printer for boxing labels based on two-dimension code scanning Technical Field The invention belongs to the technical field of printing and packaging, and particularly relates to a self-service printing method, a self-service printing system and a self-service printing printer for boxing labels based on two-dimensional code scanning. Background In the printing and packaging industry, label printing in a product boxing link is an indispensable process, at present, the conventional label printing mode commonly adopted by printing enterprises has the problems that firstly, the whole printing process is extremely complicated, operators need to sequentially find paper work orders, read specific requirements, manually input data to generate label content, adjust template formats, import data to printing software, send printing instructions and register printing records, finally, labels are issued to boxing workers, the whole process involves coordination of a plurality of departments and needs special operators, the production efficiency of the boxing process is severely restricted, secondly, because of relying on manual operation, the problems of data input errors, template selection errors, printing number errors and the like are easy to generate, the labels are wasted and reprinted, and the production cost and the management difficulty are increased. In addition, the label printing system in the traditional mode lacks deep integration with an ERP (ENTERPRISE RESOURCE PLANNING: enterprise resource planning) system, automatic acquisition and intelligent matching of work order data cannot be realized, an operator is usually required to manually search work order information from the ERP system and manually input the work order information into the printing system, the process is low in efficiency and easy to make mistakes, and meanwhile, the traditional mode lacks effective anti-repetition printing control and a complete printing log tracing mechanism, so that label management is disordered, and label use conditions cannot be accurately mastered and cost control cannot be carried out. Disclosure of Invention Aiming at the prior art, the invention provides a self-service printing method, a self-service printing system and a self-service printing printer for boxing labels based on two-dimension code scanning, which effectively solve the problems existing in the prior art. In order to achieve the above purpose, the invention adopts the following technical scheme: A self-service printing method of a boxing label based on two-dimension code scanning comprises the following steps: acquiring work order identification information carried in a two-dimensional code based on two-dimensional code scanning of a boxing work order; Based on the work order identification information, corresponding work order data are automatically acquired from an enterprise ERP system, wherein the work order data comprise but are not limited to product information, specification parameters, quantity requirements and customer information; Generating a corresponding label template through a pre-built self-adaptive label template generating engine according to the acquired work order data, wherein the self-adaptive label template generating engine specifically executes the following processing procedures that the self-adaptive label template generating engine matches a reference template in a preset reference template library based on the work order data, if the matching is successful, the self-adaptive label template generating engine directly calls the reference template, otherwise, the self-adaptive label template is dynamically adapted through a preset elastic layout strategy based on the reference template with the highest matching degree to generate a new template; filling the work order data to the corresponding position of the label template to generate label content to be printed; And executing label printing and reminding a user to pick up the label based on the generated label content to be printed, wherein the label printing is finished, the printing event information is stored, and the label printing state in the ERP system is updated. Further, the worksheet data is preferentially searched in a local cache, and if the worksheet data does not exist in the cache, the worksheet data is obtained from an ERP system server in real time. Further, a corresponding label template is generated through a pre-built self-adaptive label template generation engine, specifically: Calculating the matching degree of the work order data and each reference template in the reference template library based on the work order data, wherein the matching degree is obtained by weighting calculation based on matching fields of the work order data and a basic field set in the reference template and the matching degree of additional fields except the matching fields in the work order data and corresponding fields in the refe