Jet printing management system and method
Through the automatic processing of printing data by the printing management system, the problem of low printing accuracy is solved, the accuracy and consistency of printing information in the cable industry is achieved, and manual operation errors are reduced.
Patent Information
- Application Number
- CN202510321111.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-07-11
AI Technical Summary
There are problems such as low printing accuracy and error-prone during the printing process, especially when the cable industry frequently changes specifications, workers are prone to missed, misaligned or repeated characters in operations, which are difficult to detect through self-tests.
The printing management system is adopted to generate the data to be printed based on the digital process card and the predefined printing template through the manufacturing execution system. The printing management terminal determines the length of the printing content and converts the data format to form a printing task and sends it to the printing equipment for printing, realizing automatic printing.
Improves the accuracy of printing, reduces errors in manual editing input, and ensures the accuracy and consistency of the printing process.
Smart Images

Figure CN120295586A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and particularly to a spray printing management system and method. Background Art
[0002] When producing cables, it is a conventional process requirement to spray-print or engrave product model, specification and other parameters on the surface through an inkjet printer or a laser machine. In the previous working mode, when changing the spray-printing information, workers need to perform editing operations in the inkjet printer / laser machine. When workers edit and input, the most likely problems are omission, misalignment, addition or duplication of characters, and it is very difficult to find these problems through self-check. Especially in the cable industry where the production specifications are changed frequently, multiple editing and input operations are performed every day, making it easier to make mistakes. Therefore, how to improve the accuracy of spray printing has become a problem to be solved. Summary of the Invention
[0003] The present invention provides a spray printing management system to solve problems such as low spray-printing accuracy and easy errors.
[0004] According to one aspect of the present invention, there is provided a spray printing management system, including: a manufacturing execution system, a spray printing management terminal, and a spray printing device;
[0005] The manufacturing execution system is configured to determine spray-printing information according to a digital process card, generate data to be spray-printed based on the spray-printing information and a pre-determined printing template, and send the data to be spray-printed to the spray printing management terminal;
[0006] The spray printing management terminal is configured to determine the occupied length of the spray-printing content according to the data to be spray-printed, perform data format conversion according to the occupied length of the spray-printing content and the data to be spray-printed, obtain task data and form a spray-printing task, and send the spray-printing task to the spray printing device;
[0007] The spray printing device is configured to perform spray printing according to the received spray-printing task.
[0008] According to one aspect of the present invention, there is provided a spray printing management method, which is executed by the spray printing management system provided in any embodiment of the present application, including:
[0009] The manufacturing execution system determines spray-printing information according to a digital process card, generates data to be spray-printed based on the spray-printing information and a pre-determined printing template, and sends the data to be spray-printed to the spray printing management terminal;
[0010] The spray printing management terminal determines the occupied length of the spray-printing content according to the data to be spray-printed, performs data format conversion according to the occupied length of the spray-printing content and the data to be spray-printed, obtains task data and forms a spray-printing task, and sends the spray-printing task to the spray printing device;
[0011] The printing device performs printing according to the received printing task.
[0012] An embodiment of the present invention provides a printing management system, including: a manufacturing execution system, a printing management terminal, and a printing device; the manufacturing execution system is configured to determine printing information according to a digital process card, generate data to be printed based on the printing information and a pre-determined printing template, and send the data to be printed to the printing management terminal; the printing management terminal is configured to determine the occupied length of the printing content according to the data to be printed, perform data format conversion according to the occupied length of the printing content and the data to be printed to obtain task data and form a printing task, and send the printing task to the printing device; the printing device is configured to perform printing according to the received printing task; the problem of low printing accuracy and easy error is solved. The manufacturing execution system determines printing information according to a digital process card, generates data to be printed according to a pre-determined printing template and the printing information, and sends the data to be printed to the printing management terminal, which further processes it to control the printing device to perform printing; the printing management terminal determines the occupied length of the printing content according to the data to be printed, performs data format conversion based on the occupied length of the printing content and the data to be printed, converts the data to be printed into task data recognizable by the printing device, forms a printing task and sends it to the printing device, and the printing device can perform printing according to the printing task. Through the cooperation of the manufacturing execution system, the printing management terminal and the printing device, automatic printing is achieved, without manual editing and input, not easy to make mistakes, and with higher accuracy.
[0013] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for description in the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0015] Figure 1 It is a schematic structural diagram of a printing management system provided in Embodiment 1 of the present invention;
[0016] Figure 2 It is a schematic structural diagram of another printing management system provided in Embodiment 2 of the present invention;
[0017] Figure 3 It is a mapping example diagram of an order document and a digital process card provided in Embodiment 2 of the present invention;
[0018] Figure 4 It is a display diagram of an operation interface provided according to Embodiment 2 of the present invention;
[0019] Figure 5 It is a flowchart of a spray printing management method provided according to Embodiment 3 of the present invention;
[0020] Figure 6 It is a schematic structural diagram of an electronic device for implementing the spray printing management method of the embodiments of the present invention. Detailed implementation manners
[0021] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0023] Embodiment 1
[0024] Figure 1 It is a schematic structural diagram of a spray printing management system provided for Embodiment 1 of the present invention, and this embodiment is applicable to the case of automated spray printing. As Figure 1 shown, the system includes: a manufacturing execution system 11, a spray printing management terminal 12, and a spray printing device 13.
[0025] The manufacturing execution system 11 is used to determine spray printing information according to a digital process card, generate data to be spray printed based on the spray printing information and a pre-determined printing template, and send the data to be spray printed to the spray printing management terminal;
[0026] The inkjet printing management terminal 12 is used to determine the occupied length of the inkjet printing content according to the data to be inkjet printed, perform data format conversion according to the occupied length of the inkjet printing content and the data to be inkjet printed, obtain task data and form an inkjet printing task, and send the inkjet printing task to the inkjet printing device;
[0027] The inkjet printing device 13 is used to perform inkjet printing according to the received inkjet printing task.
[0028] In this embodiment, the manufacturing execution system 11 can be a Manufacturing Execution System (MES) system. As the brain of this system architecture, the manufacturing execution system 11 is used to acquire and process the content and data that need to be inkjet printed; the inkjet printing management terminal 12 can be any type of terminal with data management capabilities. For example, smartphones, tablets, desktop computers, intelligent terminal devices, etc. The inkjet printing management terminal 12 plays a connecting role in the system and is a bridge connecting the manufacturing execution system 11 and the inkjet printing device 13. It is used to process and convert the inkjet printing-related data obtained from the manufacturing execution system 11 into a data format that the inkjet printing device 13 can recognize; the inkjet printing device 13 can be an inkjet printer, a laser machine, etc. The manufacturing execution system 11, the inkjet printing management terminal 12, and the inkjet printing device 13 can be connected through interfaces.
[0029] In this embodiment, the digital process card can be understood as information used to describe the inkjet printing requirements. One digital process card can generate one inkjet printing task; the inkjet printing information can be understood as the information that needs to be inkjet printed. For example, information such as model, specification, and manufacturer. The printing template can be understood as a pre-designed template used to assist inkjet printing. The printing template is set in advance, and through the printing template, the information that needs to be inkjet printed and the way the information is inkjet printed can be determined. The data to be inkjet printed can be understood as the data required for inkjet printing, which can include the actual content to be inkjet printed and the inkjet printing requirements. For example, the inkjet printing requirements can be information such as the position and size of the inkjet printing.
[0030] The manufacturing execution system 11 can obtain a digital process card, which can be generated by the manufacturing execution system 11 or obtained from other devices; the digital process card can be pre-generated or generated in real time. The digital process card can be generated according to the user's order and used to describe the order, including the data to be printed, and can also include other types of data. The printing information is determined by parsing the digital process card. For example, the specific fields of the digital process card are parsed to obtain the printing information. A printing template is preset, and the type of information stored in the preset fields in the printing template determines the corresponding position of the printing information in the printing template, and the printing information is filled into the corresponding position in the printing template to generate the data to be printed. The data to be printed is sent to the printing management terminal 12. Among them, the manufacturing execution system 11 and the printing management terminal 12 can be connected by wireless communication or by wired connection.
[0031] In this embodiment, the occupied length of the printing content can be understood as the length required for the content to be printed, which can be the length required for each content to be printed, or the total length required for all the content to be printed. The total length required for all the content to be printed can be determined according to the length required for each content to be printed. The task data can be understood as the data describing the printing task, and the task data can be recognized by the printing device 13 and corresponding printing can be performed; the printing task can be understood as a data printing task for controlling the printing device 13 to perform printing on an article, for example, printing on a cable, printing on a material, and so on.
[0032] The printing management terminal 12 analyzes the data to be printed to determine the occupied length of the printing content. The data to be printed includes the parameters required for printing, such as information affecting the length, such as the size of the printing and the specific content of the printing. The occupied length of the printing content is calculated through the above information; the position corresponding to the data to be printed is determined according to the occupied length of the printing content, and the data format of the data to be printed is converted according to the corresponding position of the data to be printed to generate task data that can be recognized by the printing device 13. This task data is saved by the printing management terminal 12 as a printing task; the printing management terminal 12 can send the printing task to the printing device 13. The printing management terminal 12 can send one or more printing tasks at regular intervals, or can send the printing task to the printing device 13 in real time each time a printing task is formed, and so on.
[0033] After receiving the printing task, the printing device 13 performs printing according to the printing task; in the case where the number of printing tasks is multiple, the printing can be sequentially performed according to the order of the printing tasks; the order of the printing tasks can be determined by the printing device 13 itself or determined by the printing management terminal 12 and sent to the printing device 13.
[0034] Optionally, the manufacturing execution system 11 is connected to the printing management terminal 12 through an interface, and the printing management system is connected to the printing device 13 through an interface. The interface between the manufacturing execution system 11 and the printing management terminal 12 is designed according to the format agreed upon by both parties, and forms such as folder monitoring, Web API, or a custom TCP / IP protocol can be used. The communication between the printing management terminal 12 and the inkjet printer / laser printer can use communication protocols supported by the inkjet printer / laser printer such as Modbus TCP and UART, as long as it can transmit data stably and reliably and can be correctly recognized by the inkjet printer / laser printer.
[0035] An embodiment of the present invention provides a printing management system, which solves the problems of low printing accuracy and easy error. The manufacturing execution system determines the printing information according to the digital process card, generates the data to be printed according to the pre-determined printing template and the printing information, and sends the data to be printed to the printing management terminal, which further processes it to control the printing device to perform printing; the printing management terminal determines the occupied length of the printing content according to the data to be printed, performs data format conversion based on the occupied length of the printing content and the data to be printed, converts the data to be printed into task data that can be recognized by the printing device, forms a printing task and sends it to the printing device, and the printing device can perform printing according to the printing task. Through the cooperation of the manufacturing execution system, the printing management terminal and the printing device, automatic printing is realized, without manual editing and input, not easy to make mistakes, and the accuracy is higher.
[0036] Embodiment 2
[0037] Figure 2 It is a schematic structural diagram of a printing management system provided by Embodiment 2 of the present invention. This embodiment is refined on the basis of the above embodiment, and further refines the manufacturing execution system 11 and the printing management terminal 12.
[0038] The manufacturing execution system 11 is further configured to: obtain the templates of the order document and the digital process card; parse the order document, and grab the corresponding information from the order document according to the template of the digital process card and fill it into the corresponding fields in the template of the digital process card to form a digital process card.
[0039] In this embodiment, the order document can be understood as a document used to describe the order information of the customer, which includes the customer's requirements for this printing. The template of the digital process card can be set in advance. For example, the template of the digital process card includes different data types, and corresponding type of data can be obtained from the order document and filled into the template.
[0040] The order document can be formed after signing an order with the customer and can be manually entered and stored by the staff. Obtain the order document from the corresponding storage space and obtain the template of the pre-generated digital process card; parse the order document to determine the information included in the order document, determine the types of information required according to the template of the digital process card, and capture the corresponding information from the order document and fill it into the corresponding fields in the template of the digital process card to form a digital process card.
[0041] Exemplarily, Figure 3 An example diagram of the mapping between the order document and the digital process card is provided, and the information in the order document is captured and filled into the digital process card. As shown in the figure, product information such as model and specification is automatically captured from the order document and filled into the corresponding fields in the digital process card. The manufacturing execution system 11 can automatically generate conventional process requirement fields according to the model and specification. In the product design stage, the special requirements of the customer can be divided into a process special requirement column and a printing special requirement column. If the customer has special printing requirements, they will be itemized and displayed in the printing special requirement column. If there are no special requirements, this column will be empty.
[0042] Optionally, the manufacturing execution system 11 is further configured to: if the printing special requirement column in the digital process card is empty, mark the digital process card as ordinary; if the printing special requirement column in the digital process card is not empty, mark the digital process card as special.
[0043] In this embodiment, the digital process card includes a printing special requirement column for storing the special requirements of the customer for inkjet printing. For example, the customer requests to print information such as the date and the manufacturer. If the printing special requirement column in the digital process card is empty, it means that there are no special inkjet printing requirements in this case, and the digital process card is marked as ordinary; if the printing special requirement column in the digital process card is not empty, it means that there are special inkjet printing requirements in this case, and the digital process card is marked as special. The printing template includes conventional fields, and for special fields, they are not set in the printing template; therefore, for ordinary digital process cards, the data to be printed can be directly generated according to the printing template; for special digital process cards, special processing of the special requirements in the printing special requirement column is required when generating the data to be printed.
[0044] If the printing special requirement column in the digital process card is empty, the order document corresponding to the digital process card can also be marked as ordinary; if the printing special requirement column in the digital process card is not empty, the order document corresponding to the digital process card is marked as special. For the digital process card and the order document, since they have a corresponding relationship, therefore, marking one of them can determine whether the other is ordinary or special.
[0045] Optionally, the manufacturing execution system 11 includes:
[0046] The first data addition module 111 is configured to, when the digital process card is marked as ordinary, add the printing information as the content of the first field to the corresponding field of a pre-determined printing template, determine the field type of the content of the first field, and add it to the corresponding field of the printing template;
[0047] The second data addition module 112 is configured to, when the digital process card is marked as special, screen the printing information according to the fields in the pre-determined printing template to determine the content of the second field, add the content of the second field to the corresponding field of the printing template, determine the field type of the content of the second field, and add it to the corresponding field of the printing template; screen the printing information according to the content of the second field to determine the content of the third field, add a new field to the printing template based on the content of the third field, add the content of the third field to the newly added field, and determine the field type of the content of the third field and add it to the newly added field in the printing template;
[0048] The data to be printed determination module 113 is configured to form the data to be printed based on the field content and field type added in the printing template and in combination with the parameters pre-set in the printing template; wherein, the field content added in the printing template includes the content of the first field, or the field content added in the printing template includes the content of the second field and the content of the third field.
[0049] In this embodiment, the first data addition module 111 can be understood as a module for adding data to the printing template; the content of the first field can be understood as the specific content of a field in the printing template. For example, a field in the printing template is "content", and its corresponding field content is "xcx001", which represents the model number xcx001, and xcx001 will eventually be printed on the product. The field type can be text, picture, two-dimensional code, etc., which is used to describe the specific type of this field content and facilitate subsequent printing.
[0050] When the digital process card is marked as ordinary, the first data addition module 111 adds the spraying information as the content of the first field to the corresponding field of the predetermined printing template; wherein, there can be multiple fields to be filled in the printing template, and the spraying information can include multiple pieces of information, and each piece of information is respectively added as the content of a first field to the corresponding field. For example, if the spraying information contains two pieces of information, namely model and specification, each piece of information is added as the content of a first field to the corresponding field of the printing template. Analyze the content of the first field to determine the field type of the content of the first field. For example, if the content of the first field is "xxx1", the field type is text, and if the content of the first field is picture data, the field type is picture. Add the field type to the corresponding field of the printing template and store it corresponding to the content of the first field to facilitate clarifying the corresponding relationship between the content of the first field and the field type. When the digital process card is marked as ordinary, the fields already set in the printing template can meet the filling requirements of the field content. Therefore, the printing template can be directly filled.
[0051] In this embodiment, the second data addition module 112 can be understood as a module for adding data to the printing template; both the content of the second field and the content of the third field can be understood as the specific content of a field in the printing template, and their essence is the same as that of the content of the first field.
[0052] When the digital process card is marked as special, the fields already set in the printing template cannot meet the filling requirements of the field content. Therefore, in addition to filling the printing template according to the existing fields in the printing template, it is also necessary to expand the printing template to add fields to the printing template. Determine the field content that can be filled according to the fields in the predetermined printing template, screen the spraying information based on this field content to determine the second field content to be filled, and add the second field content to the corresponding field of the printing template. Similarly, there can be multiple fields to be filled in the printing template, and the spraying information can include multiple pieces of information, and each piece of information is respectively added as the content of a second field to the corresponding field. Analyze the content of the second field to determine the field type of the content of the second field, and add it to the corresponding field of the printing template according to the field type of the content of the second field. Screen the spraying information according to the content of the second field to determine the third field content other than the content of the second field included in the spraying information; add new fields to the printing template, and the new fields can be determined according to the third field content. For example, new fields are added to the printing template according to information such as the quantity, type, and length of the third field content; add the third field content to the newly added fields, analyze the content of the third field to determine the field type of the content of the third field, and add the field type of the content of the third field to the newly added fields in the printing template.
[0053] In this embodiment, the data to be printed determination module 113 can be understood as a module for forming data to be printed; the parameters preset in the printing template are used to describe the specific printing method, for example, the font, font size, etc. of the printing. Parameters are preset in the printing template in advance. A corresponding set of parameters can be set for each field, or a set of parameters can be shared by different fields; when a new field is added to the printing template, corresponding parameters can be added, or parameters can be shared with other fields. After adding the field content and field type in the printing template, according to all the added field content and the field type corresponding to the field content, combined with the parameters in the printing template, data to be printed is formed. The formed data to be printed includes field content, field type, and parameters. The field content, field type, and parameters can be stored correspondingly to facilitate subsequent printing. Among them, the field content added in the printing template includes the first field content, or the field content added in the printing template includes the second field content and the third field content.
[0054] Optionally, the parameters preset in the printing template include at least one of the following: font, font size, field interval, field position information.
[0055] In this embodiment, the field position information can be understood as information for describing the printing position of the field, for example, the offset in the Y direction, rotation angle, etc. The field interval is the interval between two field contents, which can be considered as the offset in the X direction. The field interval can be preset with a default value and stored as a parameter of the printing template, or can be empty, that is, not preset in advance, and is automatically determined according to the field content.
[0056] Optionally, the manufacturing execution system 11 is further configured to:
[0057] Generate a traceability code and / or determine the repeat printing length, and add them to the printing template.
[0058] In this embodiment, the traceability code can be understood as information for tracing the product, for example, a clear code, a two-dimensional code, etc.; each task data can include a unique traceability code for tracing the current printing task. The repeat printing length can be understood as a length for determining how far apart to perform a printing operation. For example, if the repeat printing length is 10m, then a printing is performed within [0 - 10)m, a printing is performed within [10 - 20)m... The repeat printing length can also be used as a printing coefficient, and the printing coefficient can be one of the parameters in the printing template.
[0059] The manufacturing execution system 11 can also preset the generation method of the traceability code. When filling the printing template, a unique traceability code is generated according to the generation method of the traceability code and filled into the printing template, realizing the informatization generation, inkjet printing of the traceability code and automatic association with the product, meeting the infrastructure requirements for the complete production information traceability of the product, and managing the entire life cycle of the inkjet printing information from generation to inkjet printing to final traceability. The manufacturing execution system 11 can also determine the repeated inkjet printing length according to information such as product type and customer requirements. For example, the repeated inkjet printing length is included in the order document, and the repeated inkjet printing length is determined by parsing the order document. The repeated inkjet printing length can also be filled into the digital process card, and the repeated inkjet printing length is determined by parsing the digital process card.
[0060] Optionally, when the digital process card is marked as special, the generated data to be inkjet printed and / or the newly added fields in the printing template are rechecked.
[0061] When the digital process card is marked as special, new fields are added to the printing template during the generation of the data to be inkjet printed. Therefore, rechecking is required to ensure the correctness of the newly added data. The recheck of the generated data to be inkjet printed and / or the newly added fields in the printing template can be confirmed by the process personnel or automatically rechecked by other means such as algorithms and rules. Through rechecking, it is ensured that the inkjet printing content meets the expected requirements. If not, it can be adjusted by a user with permission through secondary editing.
[0062] The interface protocol between the manufacturing execution system 11 and the inkjet printing management terminal 12 can be folder text monitoring, WebAPI, etc. The file formats transmitted are txt and json respectively. The two interface protocols have the same function, only the implementation methods are different. Exemplarily, the Web API interface is described in detail by way of example. When the customer order starts production, the operator (for example, the worker) can click to issue the inkjet printing task in the MES, and the manufacturing execution system 11 actively submits a POST request to the inkjet printing management terminal 12. The request includes a data parameter. Exemplarily, the data parameter is shown exemplarily below:
[0063] Data:{
[0064] Rate:”,
[0065] Field1:{Type:’xxxx’,Content:’xxxxx’,FontName:’x’,FontSize:5,Position:[y,rot],Gap:100},
[0066] Field2: {Type: 'xxxx', Content: 'xxxxx', FontName: 'x', FontSize: 7, Position: [y, rot], Gap: 100},
[0067] …
[0068] Fieldn: {Type: 'xxxx', Content: 'xxxxx', FontName: 'x', FontSize: 5, Position: [y, rot], Gap: 100}}
[0069] It can be seen that the data parameter includes different fields, and each field stores different types of parameters correspondingly. Among them, rate is the printing coefficient, that is, the repeated printing length. The parameters of Field1 to Fieldn are all the fields and their parameters that make up the printing task. Field is a structure, which contains multiple member variables such as Type, Content, FontName, FontSize, Position, and Gap. Among them, Type represents the field type, which can be in different forms such as text, picture, QR code, etc. The printing management terminal 12 will perform different data conversion processes according to the different field types and convert the data into a data format recognizable by the printing device 13; Content represents the detailed content of the field. For example, "xxx1" is added to the Content field as the content of the first field, and xxx1 is the model; FontName and FontSize represent the font and font size respectively to meet the printing appearance requirements of different customers; Position is an array representing the field position information. For example, the offset y in the Y direction and the rotation angle rot of each field. The manufacturing execution system 11 cannot know the offset in the X direction of each field during the printing task generation stage. The printing management terminal 12 needs to calculate and determine it according to parameters such as the content, font, and gap of each field. Therefore, there is no x variable in Position; Gap is the gap between each field, that is, the field interval, which can specify a definite value or be empty to represent the default gap allocation method. According to these parameters, the printing management terminal 12 can calculate and generate a complete printing task and send it to the inkjet coding device.
[0070] Optionally, the printing management terminal 12 includes:
[0071] A data parsing module 121, which is used to parse the data to be printed to determine the content of each field to be printed and determine the field interval. Among them, the field interval is determined by parsing the data to be printed or according to the occupied length of the printing content;
[0072] The format conversion module 122 is configured to determine the starting position corresponding to each field content based on the printing content occupation length corresponding to each field content and the field interval, and perform data format conversion in combination with the parameters of the printing device 13 based on each field content to be printed and its corresponding starting position, so as to obtain task data in a specified format.
[0073] In this embodiment, the data parsing module 121 can be understood as a module for parsing the received data. The data parsing module 121 can receive a printing task, and the printing task is actually composed of data to be printed. The data parsing module 121 determines each field content to be printed by parsing the data to be printed. For example, the data in each Content in the above-mentioned each Field is the field content to be printed, and the field content to be printed is the first field content, or the second field content and the third field content. The data parsing module 121 obtains the field interval included in the data to be printed by parsing the data to be printed. In this case, the field interval is a preset fixed value, or the field interval is calculated according to the occupation length of the content to be printed. In this case, the field interval changes dynamically based on the occupation length of the content to be printed for each printing.
[0074] In this embodiment, the format conversion module 122 can be understood as a module for converting the format of data. During the printing process, first determine the starting position of the first print of the current printing task. The starting position of the first print can be set to the default value or controlled manually by the worker. For example, when printing a wire, the wire moves within the printable area of the printing device 13. The starting position of the print can be set to the leading end of the wire, or during the movement of the wire, a calibration point can be set in the area, and the worker can perform operations such as manual clicking. After detecting the operation of the worker, the position of the wire at the calibration point at this time is used as the starting position, and so on. The starting position of a single print can be determined according to the repeated printing length. For example, if the repeated printing length is 10m, it means that printing is performed every 10 meters. The first print starts at the 0-meter mark, and the 0-meter mark is the starting position of the first print. This starting position is used as the starting position of the content of the first field. The length occupied by the content of the first field can be determined according to the length occupied by the printing content corresponding to the field content. The content of the second field is printed at an interval corresponding to the field interval, that is, the starting position of the content of the second field is the position corresponding to the sum of the length occupied by the printing content of the first field and the field interval. By analogy, the starting positions corresponding to all field contents are determined. Thus, a single print can be determined, and the above operations can be repeated continuously until the end of a printing task. For example, the content to be printed is "Little Lotus", "2025.1.2", and "XX District". According to information such as font and font size, the lengths occupied by the printing contents are calculated to be 1cm, 2cm, and 1cm respectively, the field interval is 3cm, and the repeated printing length is 10m. Then, the printing task needs to repeat printing "Little Lotus", "2025.1.2", and "XX District" every 10m. The starting position of "Little Lotus" in the first print is 0, the starting position of "2025.1.2" is at 0 + 1 + 3 = 4cm, and the starting position of "XX District" is at 4 + 2 + 3 = 9cm. The starting position of "Little Lotus" in the second print is 10m, the starting position of "2025.1.2" is at 10 + 0.1 + 0.3 = 10.4cm, and the starting position of "XX District" is at 10.4 + 10.2 + 10.3 = 10.9cm. By analogy, until the execution of this printing task is completed. Based on the content of each field to be printed and its corresponding starting position, data format conversion is performed in combination with the parameters of the printing device 13, converting the content of each field to be printed and its corresponding starting position into a data format recognizable by the printing device 13 to obtain task data in a specified format. The data format conversion can be achieved by pre-defining conversion rules, algorithms, and other means.
[0075] Optionally, the data parsing module 121 is specifically configured to: determine the total printing length according to the occupied length of each printing content; determine the total printing interval according to the difference between the repeated printing length and the total printing length; and calculate the interval length according to the total printing interval and the number of field contents to be printed.
[0076] In this embodiment, the total printing length can be understood as the total length of the information to be printed in one printing; the total printing interval can be understood as the total length of the intervals between all fields in one printing process, or can also be understood as the length that does not need to be printed within the repeated printing length. Calculate the sum of the occupied lengths of each printing content to obtain the total printing length. Taking the printing content in the above example as "Little Lotus", "2025.1.2", and "XX District", and the occupied lengths of the printing contents are 1 cm, 2 cm, and 1 cm respectively, the total printing length = 1 + 2 + 3 = 6 cm. Subtract the total printing length from the repeated printing length, and the obtained difference is the total printing interval. Count the number N of the field contents to be printed, determine the number of fields to be printed in one printing, and based on the number of the field contents to be printed, divide the total printing interval among each field content to be printed to determine the interval length. Within the repeated printing length, there are N - 1 intervals between N field contents. Therefore, the number of intervals can be equal to the number of field contents to be printed - 1. In this case, the interval length can be equal to the total printing interval divided by (the number of field contents to be printed - 1); or, the number of intervals can be equal to the number of field contents to be printed, that is, there is an interval between each field content and the next field, and the interval length can be equal to the total printing interval divided by the number of field contents to be printed, etc. This method can ensure that there is an interval between each field, that is, there is an interval between the last field content of the first printing and the first field content of the second printing.
[0077] When it is necessary to print content of the picture type, picture data can be directly added to the field content, and the printing device 13 can directly print the picture according to the picture data; or, different pictures are pre-stored in the printing device 13 and the pictures are uniquely identified, and the identifier corresponding to the picture is stored in the field content. The printing management terminal 12 forms a printing task with the identifier of the picture as the data to be printed. The printing device 13 directly queries the pre-stored picture according to the identifier of the picture during printing and performs printing. Compared with storing picture data in the field content, storing the identifier can reduce the data conversion amount and reduce the printing difficulty.
[0078] When the manufacturing execution system 11 adds the printing information as field content to the corresponding field of a predetermined printing template, where the field content refers to the first field content, the second field content, or the third field content, when it is determined that the field type of the field content is a picture according to the field content, the identifier corresponding to the picture is determined, and the identifier of the picture is added as and added to the corresponding field of the printing template, and the field type of the field content is added to the corresponding field of the printing template.
[0079] Optionally, the printing management terminal 12 includes:
[0080] A task management module 123, configured to add a printing task to a task list and send the printing tasks in the task list to the printing device 13.
[0081] In this embodiment, the task management module 123 can be understood as a module for managing printing tasks. The management of printing tasks can include operations such as adding, deleting, viewing, and editing. The task list can be understood as a list for managing tasks. The number of printing tasks in the task list can be unrestricted, or the upper limit of the number of printing tasks in the task list can be preset. After the number of printing tasks in the task list reaches the set upper limit, a prompt is given that no more printing tasks can be added. Printing tasks can be added to the task list. When multiple printing tasks are added to the task list, the printing tasks can be sorted according to the added time, or sorted according to the priority or other rules. The task list can be sent to the printing device 13 immediately after being updated, can be sent to the printing device 13 after meeting certain conditions, or be manually selected by the user to be sent to the printing device 13, etc. The update of the printing task can be adding a new printing task, deleting unprinted printing tasks, changing the order of printing tasks, etc.
[0082] Optionally, the task management module 123 is specifically configured to:
[0083] Display the task list, where the task list includes printing tasks;
[0084] Receive a task selection operation, where the task selection operation is that the user selects a target printing task to be downloaded from the task list;
[0085] Display a task download preview sub-interface, where the task download preview sub-interface includes information about the target printing task;
[0086] Receive a confirmation download operation, where the confirmation download operation is that the user triggers the download button after confirming the information of the target printing task;
[0087] Send the target printing task to the printing device 13.
[0088] In this embodiment, the target printing task can be understood as a printing task selected from one or more printing tasks. The printing management terminal 12 can be provided with a display screen, and different interfaces are displayed on the display screen. A task list including printing tasks is displayed on the interface of the display screen. The user can select a printing task from the printing tasks in the task list as the target printing task to be downloaded by means of single-clicking, double-clicking, etc., and the printing management terminal 12 receives the task selection operation. The target printing task selected by the user is determined according to the task selection operation, and the information of the target printing task is displayed in the task download preview sub-interface. The information of the target printing task can be the number, serial number, task formation time, task details, etc. of the target printing task. The user checks and confirms the information of the target printing task, and triggers the download button after confirming that there is no error. The printing management terminal 12 receives the confirmation download operation and downloads the target printing task to be downloaded to the printing device 13.
[0089] Optionally, the task management module 123 is further configured to:
[0090] display a printing task display area and a to-be-printed task display area;
[0091] Among them, the printing task display area includes the information of the printing tasks being printed, and the to-be-printed task display area includes the information of the printing tasks to be printed.
[0092] In this embodiment, the printing task display area displays the information of the printing tasks being printed; the to-be-printed task display area displays the information of the printing tasks waiting to be printed. The printing task display area and the to-be-printed task display area are displayed on the interface of the display screen, and the positions of the printing task display area and the to-be-printed task display area can be adjacent to facilitate the user to view and compare the printing tasks.
[0093] Optionally, the task management module 123 is further configured to:
[0094] display status information;
[0095] Among them, the status information includes at least one of a connection status, a task execution status, and a device operation status.
[0096] In this embodiment, the status information can be understood as descriptive information such as the status of the device, the status of the task, etc. The connection status can be the connection status between the inkjet printing management terminal 12 and the manufacturing execution system 11, or the connection status between the inkjet printing management terminal 12 and the inkjet printing device 13, or the above two connection statuses; the connection status can be connected, unconnected, etc. The task execution status can be understood as the execution status of the inkjet printing task. For example, printing, waiting, etc. The device operation status can be the operation status of the inkjet printing device 13, the operation status of the inkjet printing management terminal 12, etc. Displaying the status information on the display screen facilitates the user to view and promptly discover fault problems, etc.
[0097] Optionally, the task management module 123 is further configured to:
[0098] Display a task operation interface, where the task operation interface includes at least one of a task deletion button, a task order adjustment button, a start button for the inkjet printing device 13, and a stop button for the inkjet printing device 13.
[0099] In this embodiment, the task deletion button is used to delete the inkjet printing task; the task order adjustment button is used to adjust the order of the inkjet printing tasks. For example, the task order adjustment button includes two buttons, up and down, for adjusting the order of the inkjet printing tasks upward and downward. The start button for the inkjet printing device 13 is used to start the inkjet printing device 13, and the stop button for the inkjet printing device 13 is used to control the inkjet printing device 13 to stop working. Displaying the task operation interface on the display screen, the task operation interface includes one or more of the following buttons: a task deletion button, a task order adjustment button, a start button for the inkjet printing device 13, and a stop button for the inkjet printing device 13; facilitating the user to perform corresponding quick operations.
[0100] Optionally, the task management module 123 is further configured to:
[0101] Display a setting interface, where the setting interface includes at least one of a network setting button, a setting button for the manufacturing execution system 11, a parameter setting button for the inkjet printing device 13, and a user permission setting button.
[0102] In this embodiment, the network setting button is used for network setting; the setting button of the manufacturing execution system 11 is used for setting the manufacturing execution system 11, for example, parameter setting, working time setting, etc.; the parameter setting button of the inkjet printing device 13 is used for setting the parameters of the inkjet printing device 13; the user permission setting button is used for setting the permissions of users. For example, it can be set that a certain user has the operation permission but does not have the editing permission, or it can be set that a certain user has both the operation right and the editing permission, and so on. The setting interface is displayed on the display screen, and the setting interface includes one or more of the following buttons: the network setting button, the setting button of the manufacturing execution system 11, the parameter setting button of the inkjet printing device 13, and the user permission setting button, which facilitates users to make settings.
[0103] Optionally, the task management module 123 is further configured to:
[0104] Display a record query button;
[0105] Receive a query confirmation operation, where the query confirmation operation is the user's trigger of the record query button;
[0106] Display a query window;
[0107] Receive a query operation, where the query operation is that after the user finishes editing the information to be queried in the query window, the user triggers the information submission button;
[0108] Display the query result.
[0109] In this embodiment, the record query button can be understood as an operation button for triggering data query. The query window can be understood as an operation window for inputting data query, for example, a rectangular display box. The user can input data in the query window or different information can be displayed in the query window, and the user can select the displayed information through operations such as clicking, etc. The information to be queried can be understood as the conditional information required for the query, which can be information related to the inkjet printing task. For example, the information to be queried is the identifier of the inkjet printing task, and the execution status, execution time, etc. of this inkjet printing task are queried through the number. The information to be queried is that the printing has been completed, and it is used to query the inkjet printing tasks that have been printed, and so on. The information submission button can be understood as an operation button, and the user can submit the edited information by clicking this operation button. The query result can be the number of the inkjet printing task, the inkjet completion time of the inkjet printing task, etc.
[0110] A record query button is displayed on the display screen. When the user triggers the record query button, the inkjet printing management terminal 12 receives the query confirmation operation triggered by the user and displays the corresponding query window. The user edits the information to be queried in the query window, and after the editing is completed, triggers the information submission button. The query is performed based on the information to be queried, and the information that matches the information to be queried is obtained as the query result and displayed on the screen.
[0111] Exemplarily, Figure 4 a display diagram of an operation interface is provided. The operation interface is as Figure 4 shown, and is composed of a menu bar 21, a task operation bar 22, a task list 23, a printing task display area 24, a to-be-printed task display area 25, a status bar 26, and a task download preview sub-interface 27. The functions of the inkjet printing management terminal 12 are introduced below in combination with Figure 4 the above: The inkjet printing management terminal 12 supports necessary network settings, parameter settings of the MES and the inkjet printing device 13, and user permission settings. It also supports the query of historical task data, as shown in the menu bar 21. The inkjet printing management terminal 12 receives the POST request submitted by the manufacturing execution system 11 and parses the json data in the request. According to the parsed data, such as the type, content, font, font size, Y-direction offset, rotation angle, etc. of each field, the occupied length of the inkjet printing content is calculated, and then the interval length between the contents is calculated according to the repeated inkjet printing length. Then, it is converted into the length unit supported by the inkjet printing device 13 according to the parameters of the inkjet printing device 13, and task data in a specified format is generated, and the task is inserted into the task list 23 of the inkjet printing management terminal 12. All the inkjet printing task data is displayed in the task list 23. Double-clicking will pop up the task download preview sub-interface 27, where the detailed information of the task will be displayed for the worker to confirm again. If confirmed correctly, the download button can be directly clicked to download the task data to the inkjet printing device 13, or the preview can be exited without downloading after previewing. The inkjet printing management terminal 12 also has functions such as task download and deletion, task order adjustment (for example, up and down buttons), and start and stop of the inkjet coding device, as shown in the task operation bar 22. The inkjet printing management terminal 12 also supports the display of detailed information of the tasks being printed and to be printed, as shown in the printing task display area 24 and the to-be-printed task display area 25. The inkjet printing management terminal 12 can also display the connection status between the manufacturing execution system 11 and the inkjet printing device 13 and the task execution status, etc., as shown in the status bar 26.
[0112] Optionally, the task management module 123 is further used for:
[0113] After the order of the inkjet printing tasks is adjusted, sending the new task order to the inkjet printing device 13.
[0114] During the inkjet printing process, the order of the inkjet printing tasks may be adjusted. For example, the user manages the inkjet printing tasks through a task deletion button, a task order adjustment button, etc., and the order of the inkjet printing tasks changes. After the order of the inkjet printing tasks is adjusted, the new task order is sent to the inkjet printing device 13 so that the inkjet printing device 13 can adjust the inkjet printing order.
[0115] The inkjet printing device 13 converts the task data in the specified format received from the inkjet printing management terminal 12 into an inkjet printing task that the final machine can execute, and can automatically switch to the next inkjet printing task when receiving a switching signal and synchronize the task queue with the inkjet printing management terminal 12.
[0116] Optionally, the inkjet printing device 13 is further configured to:
[0117] When it detects that the inkjet printing task is switched and the network is normal, it sends a first switching task to the inkjet printing management terminal 12 so that the inkjet printing management terminal 12 deletes the first switching task from the task list and marks it as printed and completed.
[0118] In this embodiment, the first switching task can be understood as a type of inkjet printing task; during the process of inkjet printing by the inkjet printing device 13, if an inkjet printing task has been completed, the inkjet printing task can be switched. The switching of the inkjet printing task can be manually switched by the staff. For example, the worker presses a switching button to achieve the switching of the inkjet printing task, or automatic switching conditions are set for automatic switching. For example, the number of inkjet prints, the duration, the number and length of the products to be inkjet printed, etc.; taking the inkjet printing of wires as an example, during the execution of the inkjet printing task, the inkjet printing is repeated all the time, and the wire will be automatically transmitted to the inkjet printing area of the inkjet printing device 13, and the wire is inkjet printed while being transmitted. For example, "Little Lotus", "2025.1.2", and "xx District" are repeated every 10m. After a total of 1km of inkjet printing, this inkjet printing task is automatically stopped, this inkjet printing task is switched, and the next inkjet printing task is continued to be executed. Or, the worker judges whether this inkjet printing task needs to be switched. If the worker judges that this inkjet printing task can be switched, then the worker presses the switching button to switch to the next inkjet printing task.
[0119] When it detects that the inkjet printing task is switched and the network is normal at this time, it records the switched inkjet printing task, that is, the inkjet printing task before switching, takes this inkjet printing task as the first switching task, and sends the first switching task to the inkjet printing management terminal 12. After receiving the first switching task, the inkjet printing management terminal 12 deletes the first switching task from the task list and marks it as printed and completed, realizing the synchronous management of the inkjet printing tasks.
[0120] Optionally, the inkjet printing device 13 is further configured to:
[0121] When a task switch is detected and the network is abnormal, record the switched task and denote it as the second switched task; after the network abnormality is restored, send the recorded second switched task to the inkjet printing management terminal 12 so that the inkjet printing management terminal 12 deletes each second switched task from the task list and marks it as printed completed.
[0122] In this embodiment, the second switched task can be understood as a kind of inkjet printing task. When an inkjet printing task switch is detected and the network is abnormal at this time, since the network abnormality causes the switched inkjet printing task to not be synchronized to the inkjet printing management terminal 12 in time, record the switched inkjet printing task, that is, the inkjet printing task before the switch, and use this inkjet printing task as the second switched task. After the network abnormality is restored, send the second switched task to the inkjet printing management terminal 12. After receiving the second switched task, the inkjet printing management terminal 12 deletes the second switched task from the task list and marks it as printed completed, realizing the synchronous management of the inkjet printing task.
[0123] Optionally, the inkjet printing device 13 is further configured to:
[0124] After restarting, clean up the historical inkjet printing tasks and notify the inkjet printing management terminal 12 to delete the historical inkjet printing tasks from the task list.
[0125] In this embodiment, the historical inkjet printing tasks can be understood as the inkjet printing tasks formed before; all the inkjet printing tasks formed before the inkjet printing device 13 is restarted in the embodiment of the present application can be used as the historical inkjet printing tasks.
[0126] The inkjet printing device 13 may be automatically restarted in case of a failure, power failure, etc., or a manual restart operation is performed, etc. After the inkjet printing device 13 is restarted, determine the historical inkjet printing tasks, delete all the historical inkjet printing tasks, avoid data leakage, ensure the safety and reliability of the inkjet printing, and notify the inkjet printing management terminal 12 to delete the historical inkjet printing tasks from the task list, realizing the synchronous management of the inkjet printing tasks.
[0127] Optionally, the inkjet printing management terminal 12 is further configured to:
[0128] After restarting, re - establish a network connection with the inkjet printing device 13, receive the third switched task sent by the inkjet printing device 13, delete the third switched task from the task list and mark it as printed completed.
[0129] In this embodiment, the third switched task can be understood as a kind of inkjet printing task. The inkjet printing management terminal 12 may be restarted due to reasons such as power failure, failure, etc. After the inkjet printing management terminal 12 is restarted, re - establish a network connection with the inkjet printing device 13, receive the third switched task sent by the inkjet printing device 13, delete the third switched task from the task list and mark it as printed completed, realizing the synchronous management of the inkjet printing tasks.
[0130] In the embodiment of the present application, the printing device 13 realizes the function of task switching, avoiding the situation where the printing task cannot be switched due to the failure of the printing management terminal 12. As long as the printing device 13 can perform printing normally, it can realize the task switching, and only needs to synchronize the switched task to the printing management terminal 12. If the printing management terminal 12 fails and cannot switch the printing task, although the printing device 13 can work normally at this time, it cannot switch the task, and will accordingly stop working or work abnormally and keep printing the same task, resulting in the printing device 13 being unable to perform the printing work normally. Implementing the task switching function by the printing device 13 will not have this problem.
[0131] Exemplarily, the embodiment of the present application provides a task synchronization method between the printing device 13 and the printing management terminal 12, as shown in Table 1. It can be seen from the table that the task synchronization method provided by the present application provides a reasonable processing method for the failure of the printing device 13 or the failure of the printing management terminal 12. This task synchronization method can also ensure that the printing device 13 can still work normally after losing the network connection with the printing management terminal 12 until all the issued tasks are printed.
[0132] Table 1 Task Synchronization Table between Printing Device and Printing Management Terminal
[0133]
[0134]
[0135] The embodiment of the present invention provides a printing management system, which solves the problems of low printing accuracy and easy errors. The manufacturing execution system automatically generates a digital process card according to the template of the order document and the digital process card, determines the printing information by parsing the digital process card, fills the printing template according to the printing information, or adds fields while filling, generates the data to be printed, sends the data to be printed to the printing management terminal for processing, determines the content of the fields to be printed and determines the field interval, determines the starting position corresponding to the content of each field based on the occupied length of the printing content and the field interval, and then performs data format conversion in combination with the parameters of the printing device to obtain the task data in the specified format. The task data in the specified format can be recognized and executed by the printing device, realizing automatic printing. The printing information no longer needs to be manually edited and input by workers, reducing the probability of printing errors and having higher accuracy. And the present application provides related functions for task management, which can perform task management on the printing management terminal, facilitating operation; and through the synchronization of the printing device and the printing management terminal, the printing task synchronization is realized, avoiding problems such as abnormal task execution caused by network anomalies or device anomalies.
[0136] Embodiment Three
[0137] Figure 5The flowchart of a spray printing management method provided in Embodiment 3 of the present invention is as follows. As Figure 5 shown, the method includes:
[0138] S301. The manufacturing execution system determines the spray printing information according to the digital process card, generates the data to be spray printed based on the spray printing information and a pre-determined printing template, and sends the data to be spray printed to the spray printing management terminal.
[0139] S302. The spray printing management terminal determines the occupied length of the spray printing content according to the data to be spray printed, performs data format conversion based on the occupied length of the spray printing content and the data to be spray printed, obtains the task data and forms a spray printing task, and sends the spray printing task to the spray printing device.
[0140] S303. The spray printing device performs spray printing according to the received spray printing task.
[0141] Embodiment of the present invention provides a spray printing management method, which solves the problems of low spray printing accuracy and easy errors. The manufacturing execution system determines the spray printing information according to the digital process card, generates the data to be spray printed according to the pre-determined printing template and the spray printing information, and sends the data to be spray printed to the spray printing management terminal, and the spray printing management terminal performs further processing to control the spray printing device to perform spray printing; the spray printing management terminal determines the occupied length of the spray printing content according to the data to be spray printed, performs data format conversion based on the occupied length of the spray printing content and the data to be spray printed, converts the data to be spray printed into task data recognizable by the spray printing device, forms a spray printing task and sends it to the spray printing device, and the spray printing device can perform spray printing according to the spray printing task. Automatic spray printing is realized through the cooperation of the manufacturing execution system, the spray printing management terminal and the spray printing device, without manual editing and input, not easy to make mistakes, and with higher accuracy.
[0142] Optionally, the method further includes:
[0143] The manufacturing execution system obtains the order document and the template of the digital process card, parses the order document, grabs the corresponding information from the order document according to the template of the digital process card and fills it into the corresponding fields in the template of the digital process card to form a digital process card.
[0144] Optionally, the method further includes:
[0145] The manufacturing execution system, if the printing special requirement column in the digital process card is empty, marks the digital process card as ordinary; if the printing special requirement column in the digital process card is not empty, marks the digital process card as special.
[0146] Optionally, generating the data to be spray printed based on the spray printing information and a pre-determined printing template includes:
[0147] When the digital process card is marked as ordinary, add the printing information as the content of the first field to the corresponding field of a pre-determined printing template, determine the field type of the content of the first field and add it to the corresponding field of the printing template;
[0148] When the digital process card is marked as special, screen the printing information according to the fields in the pre-determined printing template to determine the content of the second field, add the content of the second field to the corresponding field of the printing template, determine the field type of the content of the second field and add it to the corresponding field of the printing template; screen the printing information according to the content of the second field to determine the content of the third field, add a new field to the printing template based on the content of the third field, and add the content of the third field to the newly added field, determine the field type of the content of the third field and add it to the newly added field in the printing template;
[0149] Based on the field content and field type added in the printing template, form the data to be printed in combination with the parameters pre-set in the printing template; among them, the field content added in the printing template includes the content of the first field, or the field content added in the printing template includes the content of the second field and the content of the third field.
[0150] Optionally, the method further includes:
[0151] The manufacturing execution system generates a traceability code and / or a repeated printing length and adds them to the printing template.
[0152] Optionally, the parameters pre-set in the printing template include at least one of the following: font, font size, field interval, field position information.
[0153] Optionally, perform data format conversion according to the occupied length of the printing content and the data to be printed to obtain task data, including:
[0154] Analyze the data to be printed to determine the content of each field to be printed and determine the field interval, where the field interval is determined by analyzing the data to be printed or according to the occupied length of the printing content;
[0155] Based on the occupied length of the printing content corresponding to each field content and the field interval, determine the starting position corresponding to each field content, and based on the fields to be printed and their corresponding starting positions, perform data format conversion in combination with the parameters of the printing device to obtain task data in a specified format.
[0156] Optionally, determining the field interval according to the occupied length of the printing content includes:
[0157] Determine the total printing length according to the occupied length of each printing content; determine the total printing interval according to the difference between the repeated printing length and the total printing length; calculate the interval length according to the total printing interval and the number of field contents to be printed.
[0158] Optionally, sending the printing task to the printing device includes:
[0159] Add the printing task to the task list, and send the printing tasks in the task list to the printing device.
[0160] Optionally, the method further includes:
[0161] The printing management terminal displays the task list, and the task list includes printing tasks;
[0162] The printing management terminal receives a task selection operation, and the task selection operation is that the user selects a target printing task to be downloaded from the task list;
[0163] The printing management terminal displays a task download preview sub-interface, and the task download preview sub-interface includes information about the target printing task;
[0164] The printing management terminal receives a confirmation download operation, and the confirmation download operation is the trigger of the download button by the user after confirming the information of the target printing task;
[0165] The printing management terminal sends the target printing task to the printing device.
[0166] Optionally, the method further includes:
[0167] The printing management terminal displays a printing task display area and a to-be-printed task display area;
[0168] Among them, the printing task display area includes information about the printing tasks being printed, and the to-be-printed task display area includes information about the printing tasks to be printed.
[0169] Optionally, the method further includes:
[0170] The printing management terminal displays status information;
[0171] Among them, the status information includes at least one of a connection status, a task execution status, and a device operation status.
[0172] Optionally, the method further includes:
[0173] The printing management terminal displays a task operation interface, and the task operation interface includes at least one of a task deletion button, a task order adjustment button, a start button of the printing device, and a stop button of the printing device.
[0174] Optionally, the method further includes:
[0175] The printing management terminal displays a setting interface, and the setting interface includes at least one of a network setting button, a setting button for the manufacturing execution system, a parameter setting button for the printing device, and a user permission setting button.
[0176] Optionally, the method further includes:
[0177] The printing management terminal displays a record query button;
[0178] The printing management terminal receives a query confirmation operation, and the query confirmation operation is the triggering of the record query button by the user;
[0179] The printing management terminal displays a query window;
[0180] The printing management terminal receives a query operation, and the query operation is the triggering of the information submission button by the user after completing the editing of the information to be queried within the query window;
[0181] The printing management terminal displays the query result.
[0182] Optionally, the method further includes:
[0183] After the order of the printing tasks is adjusted, the printing management terminal sends the new task order to the printing device.
[0184] Optionally, the method further includes:
[0185] When the printing device detects a printing task switch and the network is normal, it sends a first switching task to the printing management terminal, so that the printing management terminal deletes the first switching task from the task list and marks it as printed.
[0186] Optionally, the method further includes:
[0187] When the printing device detects a printing task switch and the network is abnormal, it records the switched task and records it as a second switching task; after the network abnormality is restored, it sends the recorded second switching task to the printing management terminal, so that the printing management terminal deletes each of the second switching tasks from the task list and marks it as printed.
[0188] Optionally, the method further includes:
[0189] After the printing device restarts, it clears the historical printing tasks and notifies the printing management terminal to delete the historical printing tasks from the task list.
[0190] Optionally, the method further includes:
[0191] After the printing management terminal restarts, it re - establishes a network connection with the printing device, receives the third switching task sent by the printing device, deletes the third switching task from the task list, and marks it as printed.
[0192] The printing management method provided by the embodiments of the present invention can be executed by the printing management system provided by any embodiment of the present invention, and has corresponding beneficial effects.
[0193] Embodiment Four
[0194] Figure 6 FIG. shows a schematic structural diagram of an electronic device 40 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The electronic device can deploy a manufacturing execution system, or, the electronic device can be used as a printing management terminal or a printing device to implement corresponding functions. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0195] As Figure 6 shown, the electronic device 40 includes at least one processor 41, and a memory communicatively connected to at least one processor 41, such as a read - only memory (ROM) 42, a random access memory (RAM) 43, etc. Among them, the memory stores a computer program executable by at least one processor. The processor 41 can perform various appropriate actions and processes according to the computer program stored in the read - only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. The input / output (I / O) interface 45 is also connected to the bus 44.
[0196] Multiple components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disc, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0197] The processor 41 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the printing management method.
[0198] In some embodiments, the printing management method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the printing management method described above can be executed. Alternatively, in other embodiments, the processor 41 can be configured to execute the printing management method by any other suitable means (e.g., by means of firmware).
[0199] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0200] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as an independent software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0201] An embodiment of the present invention provides a computer program product, which includes a computer program that, when executed by a processor, implements the inkjet printing management method according to any embodiment of the present invention.
[0202] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0203] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0204] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0205] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The client-server relationship is generated by computer programs running on corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0206] It should be understood that various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.
[0207] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. An inkjet printing management system, characterized in that, Including: A manufacturing execution system, a printing management terminal, and a printing device; The manufacturing execution system is configured to determine printing information according to a digital process card, generate data to be printed based on the printing information and a pre-determined printing template, and send the data to be printed to the printing management terminal; The printing management terminal is configured to determine the occupied length of the printing content according to the data to be printed, perform data format conversion according to the occupied length of the printing content and the data to be printed to obtain task data and form a printing task, and send the printing task to the printing device; The printing device is configured to perform printing according to the received printing task.
2. The inkjet printing management system according to claim 1, wherein The manufacturing execution system is further configured to: Obtain the templates of the order document and the digital process card; Parse the order document, grab corresponding information from the order document according to the template of the digital process card, and fill in the corresponding fields in the template of the digital process card to form a digital process card.
3. The inkjet printing management system according to claim 2, wherein The manufacturing execution system is further configured to: If the special printing requirement column in the digital process card is empty, mark the digital process card as ordinary; If the special printing requirement column in the digital process card is not empty, mark the digital process card as special.
4. The inkjet printing management system according to claim 1, characterized in that, The manufacturing execution system includes: A first data addition module, configured to, when the digital process card is marked as ordinary, add the printing information as the first field content to the corresponding field of the pre-determined printing template, determine the field type of the first field content according to the first field content, and add it to the corresponding field of the printing template; A second data addition module, configured to, when the digital process card is marked as special, screen the printing information according to the fields in the pre-determined printing template to determine the second field content, add the second field content to the corresponding field of the printing template, determine the field type of the second field content according to the second field content, and add it to the corresponding field of the printing template; screen the printing information according to the second field content to determine the third field content, add a new field to the printing template based on the third field content, add the third field content to the new field, and determine the field type of the third field content according to the third field content and add it to the new field in the printing template; A data-to-be-printed determination module, configured to form data to be printed based on the field content and field type added in the printing template in combination with the parameters pre-set in the printing template; wherein, the field content added in the printing template includes the first field content, or the field content added in the printing template includes the second field content and the third field content.
5. The inkjet printing management system according to claim 4, wherein The manufacturing execution system further includes: Generate a traceability code and / or a repeated printing length, and add them to the printing template.
6. The inkjet printing management system according to claim 4, wherein The parameters pre-set in the printing template include at least one of the following: font, font size, field interval, field position information.
7. The inkjet printing management system according to claim 1, wherein The printing management terminal includes: A data parsing module, which is used to parse the data to be printed to determine the content of each field to be printed and determine the field interval. Wherein, the field interval is determined by parsing the data to be printed, or determined according to the occupied length of the printing content; A format conversion module, which is used to determine the starting position corresponding to each field content based on the occupied length of the printing content corresponding to each field content and the field interval, and perform data format conversion based on the fields to be printed and their corresponding starting positions, combined with the parameters of the printing device, to obtain task data in a specified format.
8. The inkjet printing management system according to claim 7, wherein The data parsing module is specifically used for: determining the total printing length according to the occupied length of each printing content; determining the total printing interval according to the difference between the repeated printing length and the total printing length; calculating the interval length according to the total printing interval and the number of fields to be printed.
9. The inkjet printing management system according to claim 1, wherein The printing management terminal includes: A task management module, which is used to add the printing task to the task list and send the printing tasks in the task list to the printing device.
10. The inkjet printing management system according to claim 9, wherein, The task management module is specifically used for: Displaying a task list, where the task list includes printing tasks; Receiving a task selection operation, where the task selection operation is that the user selects a target printing task to be downloaded from the task list; Displaying a task download preview sub-interface, where the task download preview sub-interface includes information about the target printing task; Receiving a confirmation download operation, where the confirmation download operation is the user's trigger of the download button after confirming the information of the target printing task; Sending the target printing task to the printing device.
11. The spray printing management system according to claim 9, wherein The task management module is further used for: Displaying a printing task display area and a to-be-printed task display area; Wherein, the printing task display area includes information about the printing tasks being printed, and the to-be-printed task display area includes information about the printing tasks to be printed.
12. The inkjet printing management system according to claim 9, wherein The task management module is further used for: Displaying status information; Wherein, the status information includes at least one of a connection status, a task execution status, and a device operation status.
13. The inkjet printing management system according to claim 9, wherein The task management module is further used for: Displaying a task operation interface, where the task operation interface includes at least one of a task deletion button, a task order adjustment button, a start button of the printing device, and a stop button of the printing device.
14. The inkjet printing management system according to claim 9, wherein The task management module is further used for: Displaying a setting interface, where the setting interface includes at least one of a network setting button, a setting button for the manufacturing execution system, a parameter setting button for the printing device, and a user permission setting button.
15. The inkjet printing management system according to claim 9, wherein The task management module is further used for: Displaying a record query button; Receiving a query confirmation operation, where the query confirmation operation is the user's trigger of the record query button; Displaying a query window; Receiving a query operation, where the query operation is that the user triggers the information submission button after completing the editing of the information to be queried in the query window; Displaying a query result.
16. The spray printing management system according to claim 9, characterized in that, The task management module is further used for: After the order of the printing tasks is adjusted, sending the new task order to the printing device.
17. The inkjet printing management system according to claim 9, characterized in that, The printing device is further used for: When a printing task switch is detected and the network is normal, send a first switching task to the printing management terminal, so that the printing management terminal deletes the first switching task from the task list and marks it as printed.
18. The inkjet printing management system according to claim 9, wherein The printing device is further configured to: When a printing task switch is detected and the network is abnormal, record the switched task and denote it as a second switching task; After the network abnormality is restored, send the recorded second switching task to the printing management terminal, so that the printing management terminal deletes each of the second switching tasks from the task list and marks it as printed.
19. The inkjet printing management system according to claim 9, wherein The printing device is further configured to: After restarting, clear the historical printing tasks and notify the printing management terminal to delete the historical printing tasks from the task list.
20. The inkjet printing management system according to claim 9, wherein The printing management terminal is further configured to: After restarting, re - establish a network connection with the printing device, receive a third switching task sent by the printing device, delete the third switching task from the task list and mark it as printed.
21. A printing management method, characterized in that, Executed by the printing management system according to any one of claims 1 - 20, including: The manufacturing execution system determines printing information according to the digital process card, generates data to be printed based on the printing information and a pre - determined printing template, and sends the data to be printed to the printing management terminal; The printing management terminal determines the occupied length of the printing content according to the data to be printed, performs data format conversion according to the occupied length of the printing content and the data to be printed, obtains task data and forms a printing task, and sends the printing task to the printing device; The printing device performs printing according to the received printing task.