Jet printing control method and device, equipment and storage medium

By splitting image data into standardized frames in the inkjet printing control system and integrating printhead driver board management, combined with a continuous memory allocator, the problems of data format conversion and transmission delay in the inkjet printing control system are solved, realizing the real-time printing requirements of high-speed production lines and improving the overall efficiency of the inkjet printing control system.

CN121590158APending Publication Date: 2026-03-03JIHUA LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610028489.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-09
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing inkjet printing control systems, image data processing and transmission suffer from problems such as time-consuming data format conversion and transmission delays, resulting in delayed inkjet printing response and making it difficult to meet the real-time inkjet printing needs of high-speed production lines.

Method used

The inkjet printing control method splits the original image data into three types of standardized frame data according to the preset protocol format and memory size, and transmits them to the inkjet controller through the terminal. It integrates printhead driver board control and data receiving functions, and combines continuous memory allocator to allocate memory on demand, so as to realize the connection between data processing and printing execution.

Benefits of technology

It reduces data conversion time and transmission delay, improves printing response speed, control accuracy and system stability, meets the real-time printing needs of high-speed production lines, and enhances the overall efficiency of the printing control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121590158A_ABST
    Figure CN121590158A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of jet printing control, in particular to a jet printing control method, system and equipment and a storage medium. After the jet printing controller receives the adjustment first frame data, the adjustment sending frame data and the adjustment ending frame data, length analysis is carried out on the adjustment first frame data, the adjustment sending frame data and the adjustment ending frame data to obtain the total byte number; controlling a continuous memory allocator to perform memory allocation according to the total byte number so as to obtain an updated memory space; reading the jet printing control data from the updated memory space; jet printing parameters are generated according to the jet printing control data, and a nozzle driving plate is controlled to conduct ink-jet printing according to the jet printing parameters; original image data are split according to a protocol and a memory to generate standardized frame data, the standardized frame data are directionally transmitted to a jet printing controller with integrated control and receiving functions through a terminal, jet printing parameters are efficiently generated through data length analysis and continuous memory distribution according to needs, the response speed and precision are improved, and the high-speed real-time jet printing requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of inkjet printing control technology, specifically to an inkjet printing control method, system, device, and storage medium. Background Technology

[0002] In the industrial inkjet printing field, inkjet printing equipment is widely used in packaging labeling, electronic component marking, and other scenarios. Its printing efficiency and accuracy directly affect production efficiency. Currently, mainstream inkjet printing control systems suffer from significant bottlenecks in image data processing and transmission: data format conversion and the process of sending data to the inkjet controller are disconnected, easily leading to problems such as long conversion times and data transmission delays. This results in sluggish printing response, making it difficult to meet the real-time printing demands of high-speed production lines and hindering the overall performance improvement of the inkjet printing control system. Summary of the Invention

[0003] In order to overcome the shortcomings of the prior art, the present invention aims to provide a printing control method, apparatus, equipment and storage medium to solve the image transmission problem in the scenario of large stroke, multiple printhead parallel and high-speed printing faced by OLED inkjet printing.

[0004] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: This invention provides a printing control method applied to a printing control system. The printing control system includes a terminal, multiple printing controllers, and a continuous memory allocator. Each of the multiple printing controllers is electrically connected to the terminal, and each of the multiple printing controllers is electrically connected to the continuous memory allocator. Each printing controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads. The printing control method includes: acquiring original image data, and splitting the original image data according to preset protocol format requirements and preset memory size to obtain adjusted first frame data and adjusted transmission data. The control terminal sends the first adjustment frame data, the adjustment sending frame data, and the adjustment ending frame data to the inkjet controller. After receiving the first adjustment frame data, the adjustment sending frame data, and the adjustment ending frame data, the inkjet controller performs length analysis on the first adjustment frame data, the adjustment sending frame data, and the adjustment ending frame data to obtain the total number of bytes. Based on the total number of bytes, it controls the continuous memory allocator to allocate memory to obtain an updated memory space. It reads the inkjet control data from the updated memory space. Based on the inkjet control data, it generates inkjet parameters and controls the printhead driver board to perform inkjet printing based on the inkjet parameters.

[0005] Furthermore, the step of splitting the original image data according to preset protocol format requirements and preset memory size to obtain adjusted first frame data, adjusted sending frame data, and adjusted end frame data includes: converting the original image data to obtain image data to be printed; splitting the image data to be printed according to protocol format requirements to obtain first frame data, sending frame data, and end frame data; and adjusting the length of the first frame data, sending frame data, and end frame data according to memory size to obtain adjusted first frame data, adjusted sending frame data, and adjusted end frame data.

[0006] Furthermore, the step of splitting the image data to be printed according to the protocol format requirements to obtain first frame data, transmission frame data, and end frame data includes: obtaining the first frame format requirements, transmission frame format requirements, and end frame format requirements from the protocol format requirements; splitting the image data to be printed according to the preset first frame structure and first frame format requirements to obtain first frame data; splitting the image data to be printed according to the preset batch rules, preset transmission frame sequence number, and transmission frame format requirements to obtain split sequence data; encapsulating the split sequence data according to the preset single frame payload threshold to obtain transmission frame data; and splitting the image data to be printed according to the preset end frame structure, end frame format requirements, and preset end frame identifier to obtain end frame data.

[0007] Furthermore, the control terminal sends the adjustment first frame data, adjustment sending frame data, and adjustment ending frame data to the inkjet controller, including: the control terminal sending the adjustment first frame data to the inkjet controller according to a preset TCP network transmission method; after receiving the adjustment first frame data, the inkjet controller sends the adjustment sending frame data and adjustment ending frame data to the inkjet controller through the terminal according to the TCP network transmission method.

[0008] Furthermore, the step of performing length analysis on the adjusted first frame data, adjusted sent frame data, and adjusted end frame data to obtain the total number of bytes includes: verifying the adjusted sent frame data and the adjusted end frame data based on the adjusted first frame data to obtain a verification result; if the verification result is successful, parsing the adjusted first frame data, adjusted sent frame data, and adjusted end frame data through the printing controller to obtain parsed image data; and performing length analysis on the parsed image data to obtain the total number of bytes.

[0009] Furthermore, the step of controlling the contiguous memory allocator to allocate memory based on the total number of bytes to obtain an updated memory space includes: controlling the contiguous memory allocator to allocate memory based on the total number of bytes to obtain a specified memory space; and writing the parsed image data into the specified memory space to obtain an updated memory space.

[0010] Furthermore, after the step of writing the parsed image data into a designated memory space to obtain an updated memory space, the method further includes: obtaining the data writing status and analyzing the data writing status; when the data writing status is successful, generating a response command word based on the data writing status; sending the response command word to the terminal through the inkjet controller; and after receiving the response command word, generating display information based on the response command word.

[0011] Furthermore, a printing control system includes a terminal, multiple printing controllers, and a continuous memory distributor. The multiple printing controllers are electrically connected to the terminal, and the multiple printing controllers are electrically connected to the continuous memory distributor. Each printing controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads.

[0012] Furthermore, the printing control device includes: a memory and at least one processor, the memory storing instructions; at least one processor invokes the instructions in the memory to cause the printing control device to perform the various steps of the printing control method as described above.

[0013] Furthermore, a computer-readable storage medium stores instructions that, when executed by a processor, implement the various steps of the inkjet printing control method as described above.

[0014] In the technical solution of this invention, the original image data is first split according to a preset protocol format and memory size to generate three types of standardized adjustment frame data, thus solving the data format adaptation problem. The standardized adjustment frame data is then transmitted to the printing controller via a terminal, which integrates printhead driver board control and data receiving functions, reducing component interaction redundancy, improving system integration and operational consistency. At the same time, length analysis is used to quickly obtain the total number of bytes of transmitted data, providing accurate data support for subsequent steps. Finally, memory is allocated on demand using a continuous memory allocator, and data is efficiently read from the updated memory space to generate adapted printing parameters, achieving seamless integration between data processing and printing execution. The overall solution reduces data conversion time and transmission latency, improves printing response speed, control accuracy, and system stability, effectively meets the real-time printing needs of high-speed production lines, and enhances the overall efficiency of the printing control system. Attached Figure Description

[0015] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a first flowchart of a printing control method provided in an embodiment of the present invention; Figure 2This is a second flowchart of a printing control method provided in an embodiment of the present invention; Figure 3 This is a third flowchart of a printing control method provided in an embodiment of the present invention; Figure 4 This is a fourth flowchart of a printing control method provided in an embodiment of the present invention; Figure 5 A fifth flowchart of a printing control method provided in an embodiment of the present invention; Figure 6 A sixth flowchart of a printing control method provided in an embodiment of the present invention; Figure 7 A seventh flowchart of a printing control method provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of a printing control device provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of the structure of a printing control device provided in an embodiment of the present invention. Detailed Implementation

[0016] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0017] In the G8.6 scenario, to achieve high-efficiency printing of glass substrates by inkjet printing in a single pass (meaning that multiple printheads are arranged in a row along the X-axis and move simultaneously along the Y-axis), this means that OLED inkjet printing faces the problems of large stroke and multiple printhead parallelism, as well as the arrangement and deployment of printheads. A printing control method is applied to a printing control system, which includes a terminal, multiple printing controllers, and a continuous memory allocator. Each printing controller is electrically connected to the terminal, and each printing controller is electrically connected to the continuous memory allocator. Each printing controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads. For ease of understanding, the specific process of an embodiment of the invention is described below; please refer to [link to relevant documentation]. Figure 1One embodiment of the inkjet printing control method of the present invention includes: 101. Obtain the original image data, and split the original image data according to the preset protocol format requirements and preset memory size to obtain the adjusted first frame data, adjusted sent frame data, and adjusted end frame data; In this embodiment, after acquiring the original image data, it is split into three types of adjustment frame data according to the preset protocol format and memory size. The standardized splitting ensures the orderly transmission of data and adapts to the receiving logic of the inkjet controller. At the same time, it accurately matches the memory carrying capacity to avoid overflow and resource idleness, improves device adaptability, and ensures accurate and efficient data transmission, laying a solid foundation for the stable operation of subsequent inkjet control. 102. The control terminal will send the adjusted first frame data, adjusted transmitted frame data, and adjusted end frame data to the inkjet controller; 103. After receiving the adjustment first frame data, adjustment sending frame data, and adjustment end frame data, the inkjet controller performs length analysis on the adjustment first frame data, adjustment sending frame data, and adjustment end frame data to obtain the total number of bytes. In this embodiment, the printing controller provides functions such as status query and management for multiple printhead driver boards. It also receives adjustment first frame data, adjustment sending frame data, and adjustment ending frame data sent by the terminal. The terminal transmits these three types of adjustment frame data to the printing controller in a targeted manner, adapting to the controller's data receiving logic to ensure accurate and orderly data transmission. After receiving the data, the printing controller analyzes the length to obtain the total number of bytes, providing crucial data support for subsequent memory allocation and printing control. Simultaneously, it integrates printhead driver board status query and management functions, enabling linkage between data reception and equipment control, reducing component interaction redundancy, improving system integration and operational consistency, and ensuring efficient progress throughout the entire printing process. 104. Based on the total number of bytes, control the contiguous memory allocator to allocate memory to obtain updated memory space; 105. Read the printing control data from the updated memory space; 106. Generate printing parameters based on printing control data, and control the printhead driver board to perform inkjet printing based on the printing parameters; In this embodiment, the printhead driver board controls the printhead to perform inkjet printing; it directly reads printing control data from the optimized updated memory space, ensuring the efficiency and accuracy of data reading; based on this data, it generates suitable printing parameters, and the printhead driver board precisely controls the printhead to perform inkjet printing, realizing the connection between data processing and printing execution, improving printing response speed and control precision, ensuring the printing process is stable and reliable, and ensuring that the final printing effect meets expectations; In this embodiment, the original image data is first split according to a preset protocol format and memory size to generate three types of standardized adjustment frame data, thus solving the data format adaptation problem. The standardized adjustment frame data is then transmitted to the printing controller via a terminal, which integrates printhead driver board control and data receiving functions, reducing component interaction redundancy, improving system integration and operational consistency. At the same time, length analysis is used to quickly obtain the total number of bytes of transmitted data, providing accurate data support for subsequent steps. Finally, memory is allocated on demand using a continuous memory allocator, and data is efficiently read from the updated memory space to generate adapted printing parameters, achieving seamless integration between data processing and printing execution. The overall solution reduces data conversion time and transmission latency, improves printing response speed, control accuracy, and system stability, effectively meeting the real-time printing needs of high-speed production lines and enhancing the overall efficiency of the printing control system.

[0018] Please see Figure 2 In a second embodiment of the inkjet printing control method of the present invention, step 101 includes: 201. Convert the format of the original image data to obtain the image data to be printed; In this embodiment, the user sends the original image data to be printed through the terminal. First, the terminal converts the original image data format into the image data format to be printed. 202. According to the protocol format requirements, the image data to be printed is split to obtain the first frame data, the sent frame data, and the end frame data; In this embodiment, the image data to be printed is split into a first frame data 0xC0, a sending frame data 0xC1, and an ending frame data 0xC2. The first frame data 0xC0, the sending frame data 0xC1, and the ending frame data 0xC2 are all in instruction format and are then sent to the printing controller. The sending frame data 0xC1 may contain multiple instructions during the image splitting process. The standardized instruction format of splitting the image data to be printed into the first frame data 0xC0, the sending frame data (supporting multiple instructions) 0xC1, and the ending frame data 0xC2 not only clarifies the division of data transmission stages and adapts to the receiving logic of the printing controller, but also flexibly carries large-capacity image data, avoids transmission congestion, and ensures orderly and accurate data transmission, laying the foundation for the stable and efficient operation of subsequent printing control. 203. Adjust the lengths of the first frame data, the sent frame data, and the end frame data according to the memory size to obtain the adjusted first frame data, the adjusted sent frame data, and the adjusted end frame data; In this embodiment, the maximum lengths of the first frame data (0xC0), the transmitted frame data (0xC1), and the end frame data (0xC2) can be adjusted according to the memory size of the inkjet controller. By flexibly adjusting the maximum lengths of the first frame data (0xC0), the transmitted frame data (0xC1), and the end frame data (0xC2) based on the memory size of the inkjet controller, it can accurately adapt to devices with different memory configurations, effectively avoid overflow problems caused by the frame data length exceeding the memory carrying capacity, reduce idle memory resources, ensure the stability of data transmission and subsequent processing, and improve system adaptability and operational reliability. In this embodiment, a full-process data preprocessing design involving "format conversion, protocol splitting, and length adjustment" is implemented to achieve efficient adaptation of inkjet data transmission and processing. First, the raw image data sent by the user terminal is converted to a format compatible with the inkjet system, resolving compatibility issues with raw data from different sources and laying a unified foundation for subsequent processing. Then, according to protocol requirements, the data is split into a standardized instruction format: 0xC0 first frame, 0xC1 sending frame (supporting multiple instruction extensions), and 0xC2 ending frame. This clearly defines the data transmission stage division, adapting to the inkjet controller's receiving logic while flexibly handling large amounts of image data, avoiding transmission congestion, and ensuring orderly and accurate data transmission. Finally, the maximum length of each frame is adjusted based on the inkjet controller's memory size, precisely adapting to devices with different memory configurations. This effectively avoids the risk of overflow caused by frame data lengths exceeding memory capacity, while reducing idle memory resources. This comprehensively improves system adaptability, data transmission stability, and operational reliability, providing a solid guarantee for the efficient operation of subsequent inkjet control.

[0019] Please see Figure 3 In a third embodiment of the inkjet printing control method of the present invention, step 202 includes: 301. Obtain the first frame format requirements, the transmitted frame format requirements, and the end frame format requirements from the protocol format requirements; 302. The image data to be printed is split according to the preset first frame structure and format requirements to obtain the first frame data; In this embodiment, the first frame structure includes a frame header, a command word, a frame data length, the total number of bytes of the image to be printed, a checksum, and a frame trailer. The first frame format requires that the frame header be 4 bytes long, the command word (0xCO) be 1 byte long, the total number of bytes of the image to be printed be 4 bytes long, the checksum be 1 byte long, and the frame trailer be 1 byte long. By clearly defining the first frame structure and format requirements, the image data to be printed is split, enabling the inkjet controller to quickly extract the total number of bytes for memory planning and verify data integrity through the checksum after receiving the first frame data, thus providing precise guidance for subsequent data transmission and processing. 303. According to the preset batch rules, preset sending frame sequence number and sending frame format requirements, the image data to be printed is split to obtain split sequence data; In this embodiment, the batching rules are based on the actual capacity of the printing system. The batching rules need to be determined by combining the printing controller's single-frame processing limit, TCP transmission bandwidth, and printhead driver board response speed, specifying a threshold for the amount of data to be split in a single batch (e.g., setting batch standards based on a fixed number of bytes, pixel rows, or printhead channels). When using these rules, large-capacity image data to be printed is divided into several independent data blocks according to this threshold. This avoids excessively large batches of data causing transmission delays or memory overflows, while ensuring that each batch of data can be efficiently processed by the printing controller. The splitting logic includes: First, the image data to be printed is initially divided according to the batching rules, splitting the complete image data into blocks that conform to the device's processing requirements. The process involves three steps: First, a series of data blocks are processed to achieve lightweight decomposition of large-capacity data. Second, each decomposed data block is assigned a unique preset transmission frame sequence number, arranged according to a continuously increasing rule, to ensure that the data blocks retain the original image sequence after decomposition, providing a basis for subsequent reassembly. Third, strictly adhering to the transmission frame format requirements (such as a 4-byte frame header, a 0xC1 command word, an upper limit for data segment length, and a 1-byte checksum), each numbered data block is encapsulated with fields, supplementing necessary interaction identifiers and verification information. This ultimately forms a decomposed sequence of data with a unified structure, clear sequence, and direct transmission capability, ensuring that the subsequent inkjet controller can quickly parse and reassemble it after receiving it. 304. Encapsulate the split sequence data according to the preset single-frame payload threshold to obtain the transmission frame data; In this embodiment, the encapsulation logic for the single-frame payload threshold is based on adapting to the device's carrying capacity and ensuring transmission stability. Essentially, it limits the amount of data in a single frame through a threshold, thereby achieving standardized encapsulation of the split sequence data. First, the threshold is defined as the preset maximum amount of valid data that a single frame can carry (e.g., setting a byte threshold based on the printing controller's processing capacity and transmission bandwidth). During encapsulation, the valid data amount of each data block in the split sequence is first checked. If it does not exceed the threshold, it is directly encapsulated according to the sending frame format requirements (including frame header, command word 0xC1, data segment, checksum, etc.), retaining the original sequence number association. If it exceeds the threshold, the data block is further split into sub-blocks that meet the threshold requirements, and then encapsulated into independent frames. The entire logic avoids transmission delays and memory overflows caused by single-frame data overload through threshold control, while ensuring that the data structure of each frame is compliant, facilitating efficient reception and parsing by the printing controller. 305. Based on the preset end frame structure, end frame format requirements, and preset end frame identifier, the image data to be printed is split to obtain the end frame data; In this embodiment, the end frame structure includes a frame header, a command word, a frame data length, an identifier word, a checksum word, and a frame trailer. The first frame format requires a 4-byte frame header, a 1-byte command word (0xC2), a 1-byte identifier word, and a 1-byte checksum word. The end frame identifier includes a 0 identifier (no error) and a 1 identifier (error in the length of the image data to be printed). The splitting logic is as follows: first, fill in each fixed field according to the format requirements (4-byte frame header, 1-byte command word 0xC2, frame data length according to actual configuration, 1-byte checksum word, and fixed format for the frame trailer); then, select the end frame identifier according to the data transmission status. If there is no error, set the identifier word to 0; if there is a data length error, set it to 1. Embed the identifier word into the corresponding field to finally form a complete, clearly defined, and directly transmittable end frame data. In this embodiment, the solution improves the reliability, compatibility, and efficiency of inkjet data processing through standardized frame splitting and structured encapsulation design. The first frame data is split according to a fixed structure and format, clarifying core metadata and verification mechanisms, providing precise guidance for inkjet controller memory planning and data verification. The sent frame data is combined with the system's carrying capacity to set batch rules and sequence numbering, and with the single frame effective payload threshold control, lightweight and orderly splitting of large data volumes is achieved, avoiding transmission delays and memory overflows. The end frame uses an identifier to feedback the transmission status. The entire process frame structure and format are standardized, reducing equipment adaptation costs. Orderly splitting and threshold control adapt to the inkjet printing needs of multiple scenarios, improving data processing and transmission efficiency.

[0020] Please see Figure 4 In a fourth embodiment of a printing control method of the present invention, step 102 includes: 401. According to the preset TCP network transmission method, the control terminal will adjust the first frame data and send it to the inkjet controller; In this embodiment, the connection-oriented and reliable transmission characteristics of the TCP protocol are highly compatible with the business requirements of inkjet printing data. By selecting the TCP protocol as the data transmission carrier, it can establish a stable connection through a three-way handshake, ensuring that data is transmitted without loss or out of order. 402. After receiving the first frame of adjustment data, the inkjet controller sends the adjustment sending frame data and the adjustment ending frame data to the inkjet controller via the terminal according to the TCP network transmission method. In this embodiment, the command word (0xCO) represents the adjustment first frame data of the transmitted image. This instruction format informs the inkjet controller that the image transmission has started and also informs the inkjet controller of the total number of bytes of the image to be printed in this transmission. After receiving the first frame, the inkjet controller can immediately start receiving preparation work, such as initializing the data receiving buffer, activating the verification module, reserving temporary memory, etc. In the second stage, after the inkjet controller is ready, it sends adjustment transmission frame data and adjustment end frame data to ensure that the inkjet controller can efficiently receive and process subsequent large batch data transmissions. In this embodiment, the connection-oriented nature and three-way handshake mechanism of the TCP protocol build a stable transmission link, ensuring that data is transmitted without loss or out of order. The first frame command word 0xC0 indicates the start of image transmission, enabling the inkjet controller to initialize the receive buffer, activate the verification module, and reserve temporary memory in advance to complete the reception preparation. Subsequent data is transmitted only after the inkjet controller is ready, ensuring efficient reception and processing of large amounts of data. At the same time, the universality of the TCP protocol and the standardized design of the command word enhance the compatibility between devices, reduce system adaptation and maintenance costs, and meet the core requirements of industrial inkjet printing for transmission stability and processing efficiency.

[0021] Please see Figure 5 In the fifth embodiment of the inkjet printing control method of the present invention, step 103 includes: 501. Verify the adjusted sent frame data and the number of frames at the end of the adjustment based on the adjusted first frame data to obtain the verification result; In this embodiment, the first frame data (command word 0xC0) is adjusted to include key metadata such as the total number of bytes of the image to be printed and the frame data length. During the verification process, the inkjet controller will compare the data length and content characteristics of the sent frame and the end frame with the total number of bytes and format requirements in the first frame to determine whether there is any missing data, content tampering or format deviation. If there is no abnormality, the verification result of successful verification can be output. 502. When the verification result is successful, the printing controller will parse the first frame data, the sent frame data, and the end frame data to obtain the parsed image data. In this embodiment, the image data to be printed is fully transmitted and verified before data parsing is performed; if the image data to be printed fails to be sent, the user is prompted with the reason for the failure and waits for the user's next operation. During the transmission of the image data to be printed between the terminal and the inkjet controller, only one confirmation response is used to indicate whether the image data has been successfully sent, which simplifies the cumbersome interaction steps and improves the transmission speed of the image data to be printed. 503. Perform length analysis on the parsed image data to obtain the total number of bytes; In this embodiment, the first frame data (0xC0) containing key information such as the total number of bytes is adjusted as the benchmark for verification, which can accurately identify data loss, tampering, and format deviation issues in the sent and ended frames. The mechanism of parsing only after successful verification avoids invalid calculations and ensures parsing quality. The reason for failure is clearly indicated to help with rapid troubleshooting. Only one confirmation response is required between the terminal and the printing controller, simplifying the interaction steps and improving data transmission speed. The total number of bytes output after parsing is connected to subsequent memory allocation, improving the efficiency of the entire process and adapting to the high precision and high speed requirements of industrial printing.

[0022] Please see Figure 6 In the sixth embodiment of a printing control method of the present invention, step 104 includes: 601. Control the contiguous memory allocator to allocate memory based on the total number of bytes to obtain the specified memory space; In this embodiment, the memory allocation logic is based on the total number of bytes of parsed image data. This value is obtained by the inkjet controller by analyzing the length of the received data, accurately quantifying the amount of data to be stored. The allocation relies on a continuous memory allocator, combined with the designated address space reserved by the inkjet controller at startup, to determine the allocation scale according to the total number of bytes. This avoids memory fragmentation caused by discrete allocation and prevents resource idleness or memory overflow by allocating on demand to match the amount of data. Ultimately, a continuous and suitable designated memory space is obtained, laying the foundation for fast data writing. The memory management mechanism of the continuous memory allocator allows the reserved memory space to be reused, improving memory utilization. 602. Write the parsed image data to the specified memory space to obtain the updated memory space; In this embodiment, when the inkjet controller is powered on, it reserves a memory space at a specified address and quickly writes the parsed image data into the specified memory space so that the printhead driver board can obtain the image information to be printed from this area. The status information of the writing (including whether the printed image data is complete, whether the verification is correct, and whether the parsed image data is successfully written into the specified memory space) is fed back to the terminal. In this embodiment, based on the total number of bytes of parsed image data, on-demand allocation is achieved by combining a continuous memory allocator with a specified address space reserved at startup. This avoids memory fragmentation caused by discrete allocation, prevents resource idleness or overflow, and the reserved space can be reused, improving memory utilization. The dedicated storage area with fixed address supports fast writing of parsed image data, making it easy for the nozzle driver board to directly obtain information and shorten response latency.

[0023] Please see Figure 7 In the seventh embodiment of a printing control method of the present invention, after step 602, the method further includes: 701. Obtain the data write status and analyze the data write status; In this embodiment, the data writing status includes the integrity of the image data to be printed (whether there is any missing data), the correctness of the data verification (whether it matches the verification information of the first frame), and the validity of the data writing (whether it was successfully written to the reserved memory space). By analyzing the data writing status, a comprehensive verification of the memory writing process is achieved. 702. When the data write status is "write successful", generate a reply command word based on the data write status; In this embodiment, the significance of the reply command word 0xC2 lies in information compression and precise transmission. It encapsulates multi-dimensional status information such as data integrity, correct verification, and successful writing into standardized instructions. The terminal only needs to identify the reply command word 0xC2 to quickly decode the full status of the memory writing process, ensuring the real-time and reliable feedback. 703. Send the reply command to the terminal via the inkjet controller; 704. After receiving the reply command, the terminal generates display information based on the reply command. In this embodiment, the terminal deploys user software to realize human-computer interaction functions and displays information to the user. When the terminal receives the reply command word 0xC2 from the inkjet controller, it displays the information to the user and waits for the user's next operation. In this embodiment, the response command word 0xC2 compresses the multi-dimensional state into a standardized instruction, which reduces transmission redundancy and ensures that the terminal can quickly decode the full amount of information. Relying on the inkjet controller, it achieves real-time and reliable feedback, enhances the compatibility between devices, reduces system maintenance costs, and the terminal software converts the instructions into intuitive display information, realizes status traceability, provides support for production optimization and quality inspection, and comprehensively improves inkjet printing reliability, production efficiency and management convenience.

[0024] The above describes a printing control method according to an embodiment of the present invention. The following describes a printing control system according to an embodiment of the present invention. Please refer to [link / reference]. Figure 8 One embodiment of the inkjet printing control system of the present invention includes: The printing control system includes a terminal, multiple printing controllers, and a continuous memory distributor. The multiple printing controllers are electrically connected to the terminal, and the multiple printing controllers are electrically connected to the continuous memory distributor. Each printing controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads.

[0025] Figure 9This is a schematic diagram of the structure of a printing control device 900 provided in an embodiment of the present invention. The printing control device 900 can vary significantly due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 910 (e.g., one or more processors) and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing application programs 933 or data 932. The memory 920 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the printing control device 900. Furthermore, the processor 910 may be configured to communicate with the storage media 930 and execute the series of instruction operations in the storage media 930 on the printing control device 900 to implement the steps of the printing control methods provided in the above-described method embodiments.

[0026] A printing control device 900 may further include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input / output interfaces 960, and / or one or more operating devices 931, such as Windows Server, MacOSX, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 9 The structure of the inkjet control device 900 shown does not constitute a limitation on the inkjet control device 900. It may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0027] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of the inkjet printing control method.

[0028] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the device or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0029] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a printing control device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0030] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A printing control method, characterized in that, An inkjet printing control system is applied, the inkjet printing control system including a terminal, multiple inkjet controllers, and a continuous memory allocator, wherein each of the multiple inkjet controllers is electrically connected to the terminal, and each of the multiple inkjet controllers is electrically connected to the continuous memory allocator; each inkjet controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads; the inkjet printing control method includes: The original image data is acquired and split according to the preset protocol format requirements and preset memory size to obtain the adjusted first frame data, adjusted sent frame data, and adjusted end frame data. The control terminal will send the adjusted first frame data, adjusted transmitted frame data, and adjusted end frame data to the inkjet controller; After receiving the adjustment first frame data, adjustment sending frame data, and adjustment end frame data, the inkjet controller performs length analysis on the adjustment first frame data, adjustment sending frame data, and adjustment end frame data to obtain the total number of bytes. The contiguous memory allocator is controlled to allocate memory based on the total number of bytes to obtain updated memory space; The printing control data is read from the updated memory space; Printing parameters are generated based on the printing control data, and the printhead driver board is controlled to perform inkjet printing based on the printing parameters.

2. The inkjet printing control method as described in claim 1, characterized in that, The step of splitting the original image data according to preset protocol format requirements and preset memory size to obtain adjusted first frame data, adjusted transmitted frame data, and adjusted end frame data includes: The original image data is converted to the desired format to obtain the image data to be printed. According to the protocol format requirements, the image data to be printed is split into the first frame data, the sent frame data, and the end frame data; The lengths of the first frame data, the sent frame data, and the end frame data are adjusted according to the memory size to obtain the adjusted first frame data, the adjusted sent frame data, and the adjusted end frame data.

3. The inkjet printing control method as described in claim 2, characterized in that, The step of splitting the image data to be printed according to the protocol format requirements to obtain the first frame data, the transmission frame data, and the end frame data includes: The first frame format requirements, the transmitted frame format requirements, and the end frame format requirements are obtained from the protocol format requirements. The image data to be printed is split according to the preset first frame structure and format requirements to obtain the first frame data; The image data to be printed is split according to the preset batch rules, preset sending frame sequence number and sending frame format requirements to obtain split sequence data; The split sequence data is encapsulated according to the preset single-frame payload threshold to obtain the transmission frame data; The image data to be printed is split according to the preset end frame structure, end frame format requirements and preset end frame identifier to obtain end frame data.

4. The inkjet printing control method as described in claim 1, characterized in that, The control terminal sends adjusted first frame data, adjusted transmitted frame data, and adjusted end frame data to the printing controller, including: According to the preset TCP network transmission method, the control terminal will adjust the first frame data and send it to the printing controller; After receiving the first frame of adjustment data, the inkjet controller sends the adjustment sending frame data and the adjustment ending frame data to the inkjet controller via the terminal according to the TCP network transmission method.

5. The inkjet printing control method as described in claim 1, characterized in that, The length analysis of the adjusted first frame data, adjusted transmitted frame data, and adjusted end frame data to obtain the total number of bytes includes: The adjusted sent frame data and the number of frames at the end of the adjustment are verified based on the adjusted first frame data to obtain the verification result; If the verification result is successful, the printing controller will parse the first frame data, the sent frame data, and the end frame data to obtain the parsed image data. Perform length analysis on the parsed image data to obtain the total number of bytes.

6. The inkjet printing control method as described in claim 5, characterized in that, The step of controlling the contiguous memory allocator to allocate memory based on the total number of bytes to obtain updated memory space includes: The contiguous memory allocator is controlled to allocate memory based on the total number of bytes to obtain the specified memory space; The parsed image data is written to the specified memory space to obtain the updated memory space.

7. The inkjet printing control method as described in claim 6, characterized in that, After the step of writing the parsed image data into a designated memory space to obtain an updated memory space, the method further includes: Obtain the data write status and analyze the data write status; When the data write status is "write successful", a reply command word is generated based on the data write status; The reply command is sent to the terminal via the inkjet controller; After receiving the reply command, the terminal generates display information based on the reply command.

8. A printing control system, characterized in that, The printing control system includes a terminal, multiple printing controllers, and a continuous memory distributor. The multiple printing controllers are electrically connected to the terminal, and the multiple printing controllers are electrically connected to the continuous memory distributor. Each printing controller is electrically connected to multiple printhead driver boards, and each printhead driver board is electrically connected to multiple printheads.

9. A printing control device, characterized in that, include: A memory and at least one processor, wherein the memory stores instructions; At least one of the processors invokes the instructions in the memory to cause the printing control device to perform the steps of the printing control method as described in any one of claims 1-7.

10. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement the various steps of the printing control method as described in any one of claims 1-7.