Label printing method and system and electronic equipment
By obtaining and standardizing production orders in the label printing system, determining and processing customized information in sales orders, the scalability of the label printing system and the printing efficiency are improved, and the existing system is difficult to adapt to customer customization needs. The problem.
Patent Information
- Application Number
- CN202411413944.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-02-11
AI Technical Summary
The existing label printing system has poor scalability and is difficult to quickly adapt to changes in customer demand for customized product labels, and has low printing efficiency.
By obtaining the production order of the target server, standardizing the order field, determining whether the sales order contains customized information. If included, the replacement standard field value is the customized field value, and printing is based on the customized field value and the customized label template; if not included, Print using standard field values and common label templates.
It realizes template-level and field-level label customization to meet users' flexible customization needs for server production labels, enhances the scalability of the label printing system and improves printing efficiency.
Smart Images

Figure CN119415051A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of label printing technology, and in particular to a label printing method, system and electronic device. Background Art
[0002] With the rapid development of technologies such as artificial intelligence, edge computing, and cloud computing, the demands for servers from different industries and enterprises are becoming more and more diverse. Traditional server products are difficult to meet the specific needs of all users. Therefore, server industry customization has emerged to meet the specific needs of users.
[0003] Customization in the server industry not only includes customization of server hardware and software, but also customization of product labels during the server production process. In the existing label printing system, it usually only supports printing product labels in a certain format. When the product label needs to be changed, the printing staff needs to manually redevelop and compile the printing program. The scalability is poor, and it is difficult to quickly adapt to changes in customer customization requirements for product labels, and the printing efficiency is low. Summary of the invention
[0004] The present invention application provides a label printing method, system and electronic device to enhance the scalability of the label printing system and improve the efficiency of label printing. The specific technical solution is as follows:
[0005] In a first aspect, the present application provides a label printing method, comprising:
[0006] Obtaining a production order of a label corresponding to a target server, and standardizing each field in the production order to obtain a standardized printout list;
[0007] Determining whether the sales order associated with the production order contains customized information;
[0008] If so, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template;
[0009] If not, the production labels are printed according to the standard field values and the universal label template in the printout list.
[0010] Based on the above method, it is possible to provide users with template-level label customization and field-level label customization to meet users' flexible customization needs for server production labels; by automatically obtaining user-customized custom label templates and custom field values for printing, there is no need for printing personnel to manually redevelop and compile printing programs, which can enhance the scalability of the label printing system and improve the efficiency of label printing.
[0011] In a possible implementation, the printing of the production label based on the customized field value and the customized label template includes:
[0012] Determining whether the customized information includes the customized label template;
[0013] If so, printing of a production label is performed based on the custom field value and the custom label template;
[0014] If not, the production label is printed based on the custom field value and the universal label template.
[0015] Based on the above method, when the customized information includes a customized label template, the production label can be printed according to the customized field value and the customized label template, and the customized field value and the customized label template can be adjusted in time according to the changes in the user's label printing requirements.
[0016] In a possible implementation, before obtaining the production order of the label corresponding to the target server, the method further includes:
[0017] Displaying the universal label template for producing labels to a user;
[0018] Determine whether the universal label template meets the user's usage requirements;
[0019] If yes, setting the universal label template as the printing template of the production label corresponding to the user;
[0020] If not, the customized label template is generated based on the production label printing requirement information of the user, and the customized label template is set as the printing template of the production label corresponding to the user.
[0021] Based on the above method, when the user has no customization requirements, a general label template can be provided to the user for printing production labels; when the user has customization requirements, template-level label customization and field-level label customization can be provided to the user, thereby meeting the user's flexible customization requirements for the server's production labels.
[0022] In a possible implementation, if the production label printing requirement information changes, the method further includes:
[0023] Obtain the changed production label printing requirement information;
[0024] Based on the changed production label printing requirement information, updating the customized label template to obtain an updated customized label template;
[0025] The updated customized label template is set as the printing template of the production label corresponding to the user.
[0026] Based on the above method, when the user's production label printing requirement information is changed, the user's corresponding customized label template can be adjusted in time to meet the user's current and latest product label customization requirements.
[0027] In a possible implementation, the production label printing requirement information includes a template style of a customized label template and a field value of the customized label template, and the production label printing requirement information is changed, including:
[0028] The template style of the customized label template remains unchanged, and the field value of the customized label template is changed; or,
[0029] The template style of the custom label template is changed, and the field value of the custom label template is changed.
[0030] Based on the above method, template-level label customization and field-level label customization can be provided to users, thereby meeting users' flexible customization needs for server production labels.
[0031] In a possible implementation, obtaining the production order of the label corresponding to the target server includes:
[0032] Acquire a sales order of a label corresponding to the target server, wherein the sales order includes the customized information customized by each user;
[0033] Based on the type of the production label in the customized information, the sales order is split into multiple production orders, and any one of the multiple production orders is used as the production order with the label corresponding to the target server.
[0034] Based on the above method, it is convenient for the label printing system to produce according to the customer's production label requirements, print one type of production labels on one production line, and improve the printing efficiency of the labels.
[0035] In a second aspect, the present application provides a label printing system, comprising:
[0036] A data acquisition module is used to acquire the production order of the label corresponding to the target server, and standardize each field in the production order to obtain a standardized print output list;
[0037] a label printing module, used to determine whether the sales order associated with the production order contains customized information;
[0038] If so, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template;
[0039] If not, the production labels are printed according to the standard field values and the universal label template in the printout list.
[0040] In a possible implementation, the label printing module is further used for:
[0041] Determining whether the sales order includes the customized label template;
[0042] If so, printing of a production label is performed based on the custom field value and the custom label template;
[0043] If not, the production label is printed based on the custom field value and the universal label template.
[0044] In a possible implementation, the data acquisition module is further used to:
[0045] Displaying the universal label template for producing labels to a user;
[0046] Determine whether the universal label template meets the user's usage requirements;
[0047] If yes, setting the universal label template as the printing template of the production label corresponding to the user;
[0048] If not, the customized label template is generated based on the production label printing requirement information of the user, and the customized label template is set as the printing template of the production label corresponding to the user.
[0049] In a possible implementation, the data acquisition module is further used to:
[0050] Obtain the changed production label printing requirement information;
[0051] Based on the changed production label printing requirement information, updating the customized label template to obtain an updated customized label template;
[0052] The updated customized label template is set as the printing template of the production label corresponding to the user.
[0053] In a possible implementation, the production label printing requirement information includes a template style of a customized label template and a field value of the customized label template, and the production label printing requirement information is changed, including:
[0054] The template style of the customized label template remains unchanged, and the field value of the customized label template is changed; or,
[0055] The template style of the custom label template is changed, and the field value of the custom label template is changed.
[0056] In a possible implementation, the data acquisition module is specifically used to:
[0057] Acquire a sales order of a label corresponding to the target server, wherein the sales order includes the customized information customized by each user;
[0058] Based on the type of the production label in the customized information, the sales order is split into multiple production orders, and any one of the multiple production orders is used as the production order with the label corresponding to the target server.
[0059] In a third aspect, the present application provides an electronic device, including:
[0060] Memory, used to store computer programs;
[0061] The processor is used to implement the steps of the above-mentioned label printing method when executing the computer program stored in the memory.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned label printing method are implemented.
[0063] For each aspect from the second to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by the first aspect or various possible schemes in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A flowchart of a label printing method provided in an embodiment of the present application;
[0065] Figure 2 A schematic diagram of the label printing system architecture provided in an embodiment of the present application;
[0066] Figure 3 A flowchart of customized printing of production labels provided in an embodiment of the present application;
[0067] Figure 4 A flowchart of production label printing of a target server provided in an embodiment of the present application;
[0068] Figure 5 A structural schematic diagram of a label printing system provided in an embodiment of the present application;
[0069] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The specific operating methods in the method embodiments can also be applied to device embodiments or system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent: A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0071] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0072] With the rapid development of technologies such as artificial intelligence, edge computing, and cloud computing, the demands for servers from different industries and enterprises are becoming more and more diverse. Traditional server products are difficult to meet the specific needs of all users. Therefore, server industry customization has emerged to meet the specific needs of users.
[0073] Customization of the server industry is an important trend and development direction of the current server market. Customization of the server industry not only includes the customization of server hardware and software, but also the customization of product labels (production labels) during the server production process.
[0074] Different users, different server products, and even server products of the same model with different configurations usually require different product label content and formats. In the existing label printing system, it usually only supports printing product labels in a certain format. When the product label needs to be changed (such as changing the certification icon, product trademark, and label format on the product label), the printing staff needs to manually redevelop and compile the printing program. The scalability is poor, it is difficult to quickly adapt to the changes in the user's customized requirements for product labels, and the printing efficiency is low.
[0075] In view of this, in order to more flexibly print out production labels that meet the current customization needs of users and improve the printing efficiency of labels. The present application provides a label printing method, which specifically includes: first obtaining the production order of the label corresponding to the target server, and standardizing each field in the production order to obtain a standardized printout list; then determining whether the sales order associated with the production order contains customized information; when it is determined that the sales order contains customized information, replacing the standard field value in the printout list with the customized field value in the customized information, and printing the production label based on the customized field value and the customized label template; when it is determined that the sales order does not contain customized information, printing the production label according to the standard field value in the printout list and the general label template.
[0076] Through the method provided in the present application, the label printing system can provide users with template-level label customization and field-level label customization to meet the user's flexible customization needs for the server's production labels; by automatically obtaining the user's customized label templates and customized field values for printing, there is no need for printing personnel to manually redevelop and compile the printing program, which can enhance the scalability of the label printing system and improve the efficiency of label printing.
[0077] Reference Figure 1 As shown, it is a flowchart of a label printing method provided in an embodiment of the present application, the method comprising:
[0078] S1, obtain the production order of the label corresponding to the target server, and standardize each field in the production order to obtain a standardized print output list.
[0079] First of all, the method provided in this application can be applied to Figure 2 In the system architecture shown, the system architecture includes: a label customization system, a label template production server and a label printing system. The label template production server can be deployed in the label customization system, and the method provided in the present application can be run in the label printing system or the label customization system.
[0080] The label customization system is used to maintain the customized information corresponding to the user, such as customized field values, customized template names, types of customized production labels, and other information.
[0081] The production label template server is used to store common label templates and newly added user's customized label templates, and the newly added user's customized label template can be generated according to the user's current usage requirements.
[0082] The label printing system is used to automatically obtain the customized information corresponding to the user and print the product label of the server according to the customized information.
[0083] In the embodiment of the present application, before the label printing system obtains the production order of the label corresponding to the target server, the label customization system may first obtain the sales order of the label corresponding to the target server, and the sales order is shown in Table 1 below:
[0084]
[0085]
[0086] Table 1
[0087] As can be seen from Table 1, the sales order contains customized information customized by each user (customer), and the customized information includes multiple customized fields (for example, customer ID, EAN code, sales order, label quantity, comprehensive label template name, manufacturer, outer box label template, and manufacturer customization range, etc.), and customized field values corresponding to the customized fields (for example, Z02, D04 in the customer ID; xx company in the manufacturer); among them, the manufacturer customization range in the customized field is used to indicate the type of production label customized by the user, for example, whether the user-customized production label type is Z comprehensive label or W outer box label.
[0088] The label customization system can then split the sales order into multiple production orders according to the type of production label in the customized information, where each of the multiple production orders corresponds to a type of production label. For example, production order 1 corresponds to Z comprehensive label, production order 2 corresponds to Z comprehensive label, and production order 3 corresponds to W outer box label. In addition to splitting the sales order based on the type of production label, the sales order can also be split based on other customized field values in multiple customized fields (such as customer ID + EAN code). This application does not specifically limit the way of splitting the sales order, and it can be adjusted according to actual production needs.
[0089] After the label customization system splits the sales order into multiple production orders, it can use any one of the multiple production orders as the production order of the label corresponding to the target server, and input the production order into the label printing system for subsequent label printing process.
[0090] By splitting the sales order into multiple production orders, the label printing system can produce according to the customer's production label needs, print one type of production label on one assembly line, and improve label printing efficiency.
[0091] In the embodiment of the present application, in order to facilitate the subsequent printing of production labels according to the user's customized needs, before the label printing system obtains the production order of the label corresponding to the target server, the product manager can first sort out the production labels of the target server currently available, and the production labels of the target server can be divided into: comprehensive labels, QR code labels, installation packing lists and outer box labels according to the production label type. Among them, the comprehensive label (i.e.: product nameplate) is used to convey the key elements of the product to the customer; the installation packing list is used to convey the list of key core components of the product and the list of items in the packaging box to the customer; the outer box label is used to identify the goods delivered by the product.
[0092] In addition, after sorting out the various production labels of the target server, the product manager can also sort out the printing fields of each production label, and the printing fields can include: company name, company LOGO, product name, product model, serial number, power parameters, product configuration, manufacturer, manufacturer address, production plant, production plant address, telephone, certification icon and other field information.
[0093] In an embodiment of the present application, after sorting out the various types of production labels and the respective print fields of the various types of production labels of the target server, the product manager can import the various types of production labels and the respective print fields of the various types of production labels into the label customization system, and the label customization system will display the universal label template of the production labels to the user, or the product manager will directly display the universal label template of the production labels to the user. The universal label template of the production label can be a universal label template for the comprehensive label and a universal label template for the outer box label. In the specific implementation, the printing personnel can set the universal label templates corresponding to different types of production labels according to the actual production needs. This application does not impose specific restrictions on the number of universal label templates.
[0094] In order to make the production labels more in line with the user's psychological expectations, after the product manager shows the user the universal label template of the production label, he can determine whether the universal label template meets the user's usage requirements. If the universal label template can meet the user's usage requirements, the label customization system can set the universal label template as the printing template of the production label corresponding to the user, and use the printing template to produce and paste the label; if the universal label template cannot meet the user's usage requirements, the label customization system can generate a customized label template for the user based on the user's production label printing requirement information, and set the customized label template as the printing template of the production label corresponding to the user.
[0095] In the embodiment of the present application, the label customization system can generate a user's printing template according to the user's production label printing requirement information, wherein the production label printing requirement information may include the template style of the customized label template and the field value of the customized label template. For example, the template style type1 of the customized label template (including field information such as the comprehensive label template name, outer box label template, and manufacturer customization range), and the field value corresponding to type1 (ZHBQ_BB_CN in the comprehensive label template name, W outer box label in the manufacturer customization range, etc.).
[0096] By displaying the universal label template of production labels to users, generating customized label templates based on users' production label printing requirements, and maintaining customized label templates and field values of customized label templates in the label customization system, it is possible to meet different customers' customized requirements for different types of generated labels, enrich the content of user-customizable production labels, and improve the printing efficiency of production labels.
[0097] In the embodiment of the present application, with the upgrade of the server product or the change of the label production standard, the production label printing requirement information will also change. Exemplarily, the change of the production label printing requirement information can be that the template style of the customized label template remains unchanged, and the field value of the customized label template changes. For example, the template style of the customized label template is the same as type1 (that is, the fields contained in the template remain unchanged), but the field value "xx company" in tpte1 is replaced with "xx Co., Ltd."; the change of the production label printing requirement information can also be that the template style of the customized label template changes, and the field value of the customized label template changes, for example, adding "product name", "product model", "manufacturer address", "telephone" and other fields and related field values in type1; for example, deleting the field of the authentication icon in the customized label template.
[0098] When the label customization system determines that the production label printing requirement information is changed, in order to enable the label printing system to print production labels that meet the changes in user usage requirements, it is necessary to timely maintain the customized label templates customized by different users.
[0099] Specifically, the label customization system can first obtain the changed production label printing requirement information; then update the user's customized label template according to the changed production label printing requirement information to obtain an updated customized label template, and finally set the updated customized label template as the printing template of the production label corresponding to the user.
[0100] By providing users with template-level customization and field-level customization, when the user's label customization needs change, the user can quickly adapt the customized label template and the field value of the customized label template to meet the current label customization needs. There is no need for printing personnel to redevelop and write printing programs, which enriches the content of user-customizable production labels and improves the printing efficiency of production labels without the need for human intervention.
[0101] In an embodiment of the present application, after obtaining the production order of the label corresponding to the target server, the label printing system can perform standard operations on each field in the production order according to preset rules (i.e., standardize each field in the production order) to obtain a standardized printout list. The printout list represents a list of template component elements automatically generated based on the production label template in the user's historical customized information. For example, the historical customized label template of user 1 is type2, and type2 contains fields (component elements) such as "product name", "manufacturer" and "producer". Then, when the label printing system determines that the current production order is related to user 1, it can automatically generate a printout list containing the above-mentioned fields "product name", "manufacturer" and "producer".
[0102] By performing standard operations on the production order of the label corresponding to the target server according to preset rules, a standardized print output list can be obtained, providing data preparation for the subsequent printing of the production label of the server.
[0103] S2, determining whether the sales order associated with the production order contains customized information.
[0104] In an embodiment of the present application, after obtaining the print output list, the label printing system can enter a customization inspection process to determine whether the sales order associated with the production order contains customized information. When it is determined that the sales order contains customized information, step S31 is executed; when it is determined that there is no customized information in the sales order, step S32 is executed.
[0105] Specifically, see Appendix Figure 3 As shown, the label printing system can determine whether the sales order contains customized information based on whether there are customized field values in the sales order. For example, when the label printing system determines that all customized field values in the sales order are empty, it means that the sales order does not contain customized information; when the label printing system determines that any customized field value in the sales order is not empty (for example, the custom field "Manufacturer" is filled with the field value of "xx Company"), it means that the sales order contains customized information.
[0106] S31, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template.
[0107] In the embodiment of the present application, when the label printing system determines that the sales order contains customized information (i.e., indicating that the user's current label customization requirements have changed relative to the historical label customization requirements), the label printing system will replace the standard field values in the printout list with the customized field values in the customized information. For example, if the name of the comprehensive label template of the user's history queried by the label printing system in the label customization system is ZHBQ_BB_CN, and the name of the comprehensive label template in the customized information is ZHBQ_BZ_AN_CN, the label printing system will replace the standard field value "ZHBQ_BB_CN" with the customized field value "ZHBQ_BZ_AN_CN".
[0108] In an embodiment of the present application, in order to enable the printed production labels to be adjusted according to changes in the user's label customization requirements, after the label printing system replaces the standard field values in the output list with the customized field values in the customized information, it can also determine whether the customized information contains a customized label template. If the customized information contains a customized label template, the label printing system can print the production labels according to the customized label template and the customized field value; if the customized information does not contain a customized label template, the label printing system can print the production labels according to the general label template and the customized field value.
[0109] Through the above method, it is possible to provide users with field-level production label customization and template-level production label customization. When the user's current label customization requirements change, the user's customized label template and customized field value can be adjusted in time, which can provide users with more delicate production labels and improve the printing efficiency of production labels.
[0110] S32, printing the production label according to the standard field values and the general label template in the printout list.
[0111] In an embodiment of the present application, when the label printing system determines that the sales list does not contain customized information (i.e., the user's current label customization requirements have not changed relative to the historical label customization requirements), it can print production labels according to the standard field values and universal label templates in the print output list.
[0112] To sum up, the method provided in the present application can meet the user's flexible customization needs for the production labels of the template server by providing users with template-level label customization and field-level label customization; by automatically replacing the standard field values in the print list with customized field values when the user's customization requirements change, and using customized label templates and customized field values that meet the user's current usage needs for printing, the scalability of the system can be enhanced, and there is no need for printing personnel to manually redevelop and compile printing programs, thereby improving the efficiency of label printing.
[0113] In order to facilitate the understanding of this application, the following Figure 4 The technical solution of this application is illustrated by examples:
[0114] S401, obtaining the sales order of the label corresponding to the target server: obtaining the sales order containing customized information such as "customer ID", "comprehensive label template name", and "manufacturer".
[0115] S402, split the sales order into multiple production orders, and print the production labels of the server based on the production orders: split the sales order into multiple production orders according to the type of production labels in the customized information, and each production order corresponds to one type of production label, and then input the production order into the label printing system to print the production labels of the template server.
[0116] S403, sort out the production labels of the target server and the print fields of each production label: sort out the production labels of the target server currently available (such as comprehensive labels, QR code labels, installation packing lists and outer box labels, etc.), and sort out the print fields of each production label (such as company name, company logo, product name, product model, serial number, power supply parameters, etc.).
[0117] S404, displaying the universal label template of the production label to the user, and determining whether the universal label template meets the user's usage requirements: the universal label template is a label template that is generated based on the production label of the target server currently available and the printing field of the production label, and can be used by different users; when it is determined that the universal label template can meet the user's usage requirements, the universal label template is set as the printing template of the production label corresponding to the user; when it is determined that the universal label template cannot meet the user's usage requirements, a customized label template is generated for the user based on the user's production label printing requirement information, and the customized label template is set as the printing template of the production label corresponding to the user.
[0118] S405, when the production label printing requirement information changes, update the customized label template: when the production label printing requirement information changes, for example, the template style of the customized label template and the field value of the customized label template change. The label customization system can automatically update the customized label template based on the changed production label printing requirement information, obtain an updated customized label template, and set the updated customized label template as the printing template of the production label corresponding to the user.
[0119] S406, standardize each field in the production order to obtain a printout list: perform standard operations on the production order according to preset rules to obtain a standardized printout list, wherein the printout list contains customized information of the user history.
[0120] S407, determine whether the sales order contains customized information, and print production labels based on the customized information: the label printing system can query the sales order associated with the production order according to the production order, and then determine whether the sales order contains customized information. If it contains customized information, the label printing system can determine whether the customized information contains a customized label template. When it is determined that the customized information contains a customized label template, the standard field value in the printout list is replaced with the customized field value in the customized information, and the production label is printed based on the customized field value and the customized label template; when it is determined that the customized information does not contain a customized label template, the production label is printed based on the customized field value and the general label template; if it does not contain customized information, the label printing system prints the production label according to the standard field value and the general label template in the printout list.
[0121] Based on the method provided in the above embodiment, the embodiment of the present application also provides a label printing system, such as Figure 5 The figure is a schematic diagram of the structure of a label printing system in an embodiment of the present application, the system comprising:
[0122] The data acquisition module 501 is used to acquire the production order of the label corresponding to the target server, and standardize each field in the production order to obtain a standardized print output list;
[0123] The label printing module 502 is used to determine whether the sales order associated with the production order contains customized information;
[0124] If so, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template;
[0125] If not, the production labels are printed according to the standard field values and the universal label template in the printout list.
[0126] In a possible implementation, the label printing module 502 is further used for:
[0127] Determining whether the sales order includes the customized label template;
[0128] If so, printing of a production label is performed based on the custom field value and the custom label template;
[0129] If not, the production label is printed based on the custom field value and the universal label template.
[0130] In a possible implementation, the data acquisition module 501 is further used for:
[0131] Displaying the universal label template for producing labels to a user;
[0132] Determine whether the universal label template meets the user's usage requirements;
[0133] If yes, setting the universal label template as the printing template of the production label corresponding to the user;
[0134] If not, the customized label template is generated based on the production label printing requirement information of the user, and the customized label template is set as the printing template of the production label corresponding to the user.
[0135] In a possible implementation, the data acquisition module 501 is further used for:
[0136] Obtain the changed production label printing requirement information;
[0137] Based on the changed production label printing requirement information, updating the customized label template to obtain an updated customized label template;
[0138] The updated customized label template is set as the printing template of the production label corresponding to the user.
[0139] In a possible implementation, the data acquisition module 501 is specifically used for:
[0140] Acquire a sales order of a label corresponding to the target server, wherein the sales order includes the customized information customized by each user;
[0141] Based on the type of the production label in the customized information, the sales order is split into multiple production orders, and any one of the multiple production orders is used as the production order with the label corresponding to the target server.
[0142] Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application, and the electronic device can realize the functions of the aforementioned label printing system, referring to Figure 6 , the electronic device comprises:
[0143] At least one processor 601, and a memory 602 connected to the at least one processor 601. The specific connection medium between the processor 601 and the memory 602 is not limited in the embodiment of the present application. Figure 6 In the example, the processor 601 and the memory 602 are connected via a bus 600. Figure 6 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 600 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 601 can also be called a controller, and there is no limitation on the name.
[0144] In the embodiment of the present application, the memory 602 stores instructions that can be executed by at least one processor 601. The at least one processor 601 can execute the label printing method discussed above by executing the instructions stored in the memory 602. The processor 601 can implement Figure 5 The functions of each module in the system are shown.
[0145] Among them, processor 601 is the control center of the system, which can use various interfaces and lines to connect various parts of the entire control device, and monitor the system as a whole by running or executing instructions stored in memory 602 and calling data stored in memory 602, various functions of the system and processing data.
[0146] In one possible design, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0147] The processor 601 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the label printing method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0148] The memory 602 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 602 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 602 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 602 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0149] By programming the processor 601, the code corresponding to the label printing method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 1 The steps of the label printing method of the embodiment shown are as follows: How to design and program the processor 601 is a technique well known to those skilled in the art and will not be described in detail here.
[0150] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the label printing method discussed above.
[0151] In some possible implementations, various aspects of the label printing method provided in the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of the label printing method according to various exemplary embodiments of the present application described above in this specification.
[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A label printing method, characterized in that: include: Obtaining a production order of a label corresponding to a target server, and standardizing each field in the production order to obtain a standardized printout list; Determining whether the sales order associated with the production order contains customized information; If so, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template; If not, the production labels are printed according to the standard field values and the universal label template in the printout list.
2. The method according to claim 1, characterized in that The printing of the production label based on the customized field value and the customized label template includes: Determining whether the customized information includes the customized label template; If so, printing of a production label is performed based on the custom field value and the custom label template; If not, the production label is printed based on the custom field value and the universal label template.
3. The method according to claim 1, characterized in that Before obtaining the production order of the label corresponding to the target server, the method further includes: Displaying the universal label template for producing labels to a user; Determine whether the universal label template meets the user's usage requirements; If yes, setting the universal label template as the printing template of the production label corresponding to the user; If not, the customized label template is generated based on the production label printing requirement information of the user, and the customized label template is set as the printing template of the production label corresponding to the user.
4. The method according to claim 3, characterized in that If the production label printing requirement information changes, the method further includes: Obtain the changed production label printing requirement information; Based on the changed production label printing requirement information, updating the customized label template to obtain an updated customized label template; The updated customized label template is set as the printing template of the production label corresponding to the user.
5. The method according to claim 4, characterized in that The production label printing requirement information includes a template style of a customized label template and a field value of the customized label template. The production label printing requirement information changes, including: The template style of the customized label template remains unchanged, and the field value of the customized label template is changed; or, The template style of the custom label template is changed, and the field value of the custom label template is changed.
6. The method according to claim 1, characterized in that The step of obtaining a production order of a label corresponding to a target server includes: Acquire a sales order of a label corresponding to the target server, wherein the sales order includes the customized information customized by each user; Based on the type of the production label in the customized information, the sales order is split into multiple production orders, and any one of the multiple production orders is used as the production order with the label corresponding to the target server.
7. A label printing system, characterized in that: include: A data acquisition module is used to acquire the production order of the label corresponding to the target server, and standardize each field in the production order to obtain a standardized print output list; a label printing module, used to determine whether the sales order associated with the production order contains customized information; If so, replacing the standard field values in the printout list with the customized field values in the customized information, and printing the production label based on the customized field values and the customized label template; If not, the production labels are printed according to the standard field values and the universal label template in the printout list.
8. The system according to claim 7, characterized in that The label printing module is also used for: Determining whether the sales order includes the customized label template; If so, printing of a production label is performed based on the custom field value and the custom label template; If not, the production label is printed based on the custom field value and the universal label template.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the method steps of any one of claims 1 to 6 when executing the computer program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 6 are implemented.