Image printing data processing method and system

By optimizing frame cache management on the printing board, decomposing image data and allocating it to multiple columns of nozzles for printing, the problem of large memory usage and limited processing capacity of traditional printing boards is solved, and more efficient printing and lower cost.

CN119440431APending Publication Date: 2025-02-14JIELAN PRINTING TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411377072.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Traditional printing boards require large memory to store complete data of high-resolution images, resulting in increased costs and limited system processing capabilities.

Method used

By optimizing frame cache management, the image data is broken down into multiple groups, and each group of data is allocated to the corresponding column of nozzle holes. Each column of nozzle holes is responsible for printing a set of data. After each column of nozzle holes is printed, the corresponding data group will be discarded after the printing of each column of nozzle holes is completed. , reduce the need for frame cache.

Benefits of technology

Reduces the required frame cache size during printing, improves printing efficiency, reduces memory usage, and can handle more complex printing tasks while reducing costs and improving performance.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides an image printing data processing method and system, and a printing board card receives a column of image data, the column of image data is H pixel points, the image data is decomposed into a groups according to the configuration of a printing nozzle, a represents the column number of spraying holes, each column of spraying holes has b spraying holes, the distance between every two adjacent spraying holes is m pixel points, and m is a positive integer; each group of data is distributed to a corresponding column of spray holes, each column of spray holes is responsible for printing a group of data, and after printing of each column of spray holes is completed, the corresponding data group is discarded. According to the image printing data processing method and system, by optimizing the data caching and discarding strategy, the size of the frame cache needed in the printing process is reduced. The optimization not only improves the printing efficiency, but also reduces the use of a memory, so that the printing system can process more complex printing tasks, and meanwhile, the cost is reduced and the performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of printing technology, and in particular to an image printing data processing method and system. Background Art

[0002] The description in this section merely provides background information related to the present disclosure and does not constitute prior art.

[0003] In the field of digital printing technology, the print board is a key component that controls the print head to accurately eject ink or other printing media to form an image. Traditional print board designs often require a large frame buffer to store the image data to be printed to ensure that the print head can continuously print during movement. However, traditional print boards usually require a large memory to store the complete data of high-resolution images, which not only increases costs, but also limits the system's ability to process more or more complex images.

[0004] In order to overcome the drawback of large memory in traditional print data processing, the present application reduces the frame buffer requirement for each column of images by optimizing frame buffer management, thereby reducing the amount of data that needs to be stored in the buffer at the same time.

[0005] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present invention and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because these solutions are described in the background technology section of the present invention. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide an image printing data processing method and system.

[0007] In order to solve the above technical problems, the present invention provides an image printing data processing method, wherein a printing board receives a column of image data, wherein the column of image is H pixels, and the image data is decomposed into a groups according to the configuration of the print head, wherein a represents the number of columns of nozzles, each column of nozzles has b nozzles, and the distance between two adjacent nozzles is m pixels, and each group of data is respectively assigned to a corresponding column of nozzles, and each column of nozzles is responsible for printing a group of data. After each column of nozzles is printed, the corresponding data group is discarded.

[0008] Preferably, the print head moves linearly along a predetermined direction and passes through the printing position of the column of image data in sequence. When one column of nozzles moves to the printing position of the column of image data, a printing operation is performed to complete the printing of the column of images.

[0009] Preferably, the storage space of the first group of data: the first group of data is directly stored, and the storage space required is b pixels, where b is the number of pixels of each group of data, the storage space of the subsequent groups of data: for the second to a columns of nozzles, when each column of nozzles is printing, its corresponding data group needs to be spaced (m*(n-1)) pixels, where n is the sequence number of the current nozzle, the total frame buffer requirement: the storage space required for all columns of nozzles is added together to obtain the total frame buffer requirement. The calculation formula is: total frame buffer = b+b*m+b*2m+…b*(a-1)*m.

[0010] Preferably, the print head is bidirectional printing, and when the print head is printing in the forward direction and in the reverse direction, the frame buffer sizes of each column of the print head are opposite.

[0011] The present application also provides an image printing data processing system, including an image data receiving module for receiving a column of image data, the column of images containing H pixels; a data processing module for decomposing the image data into a groups according to the configuration of the print nozzle, where a represents the number of columns of nozzles; a nozzle configuration module for managing the configuration information that each column of nozzles has b nozzles and that the distance between two adjacent nozzles is m pixels; a data allocation module for allocating each group of data to a corresponding column of nozzles, each column of nozzles being responsible for printing a group of data; and a data discarding module for discarding the corresponding data group after each column of nozzles is printed.

[0012] The present application also provides a computer-readable storage medium storing a computer program for executing the method.

[0013] The present application also provides a computer program product, comprising an instruction set for implementing the method.

[0014] By means of the above technical solution, the beneficial effects of the present invention are as follows:

[0015] The image printing data processing method and system of the present invention reduces the frame buffer size required in the printing process by optimizing the data buffer and discarding strategy. This optimization not only improves the printing efficiency, but also reduces the memory usage, so that the printing system can handle more complex printing tasks, while reducing costs and improving performance. DETAILED DESCRIPTION

[0016] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0017] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and to distinguish similar objects. There is no order of precedence between the two, and they cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0018] The present invention provides an image printing data processing method, wherein a printing board receives a column of image data, the column of image is H pixels, and according to the configuration of the printing nozzle, the image data is decomposed into a groups, wherein a represents the number of columns of nozzle holes, each column of nozzle holes has b nozzle holes, and the distance between two adjacent nozzle holes is m pixels, and each group of data is respectively assigned to a corresponding column of nozzle holes, each column of nozzle holes is responsible for printing a group of data, and after each column of nozzle holes is printed, the corresponding data group is discarded. The printing nozzle moves linearly along a predetermined direction, passes through the printing position of the column of image data in turn, and when one column of nozzle holes moves to the printing position of the column of image data, a printing operation is performed to complete the printing of the column of images.

[0019] Storage space for the first set of data: The first set of data is directly stored, and the required storage space is b pixels, where b is the number of pixels in each set of data. Storage space for subsequent sets of data: For the second to a-th columns of nozzles, when each column of nozzles is printing, its corresponding data group needs to be spaced (m*(n-1)) pixels apart, where n is the sequence number of the current nozzle. Total frame buffer requirement: Add the storage space required for all columns of nozzles to get the total frame buffer requirement. The calculation formula is: Total frame buffer = b+b*m+b*2m+…b*(a-1)*m.

[0020] In another embodiment, the print head is bidirectional printing, and the frame buffer sizes of each column of the print head are opposite when the print head is printing in the forward direction and in the reverse direction. When the print head is printing in the forward direction, the frame buffer size of the first column is b pixels, and the frame buffer size of the ath column is b*(a-1)*m; when the print head is printing in the reverse direction, the frame buffer size of the ath column nozzles is b pixels, and the frame buffer size of the first column nozzles is b*(a-1)*m.

[0021] The present application also provides an image printing data processing system, including an image data receiving module for receiving a column of image data, the column of images containing H pixels; a data processing module for decomposing the image data into a groups according to the configuration of the print nozzle, where a represents the number of columns of nozzles; a nozzle configuration module for managing the configuration information that each column of nozzles has b nozzles and that the distance between two adjacent nozzles is m pixels; a data allocation module for allocating each group of data to a corresponding column of nozzles, each column of nozzles being responsible for printing a group of data; and a data discarding module for discarding the corresponding data group after each column of nozzles is printed.

[0022] The present application also provides a computer-readable storage medium storing a computer program for executing the method. The present application also provides a computer program product including an instruction set for implementing the method.

[0023] The following is a specific implementation example of the present application:

[0024] Receive a column of image data from the PC, which contains 400 pixels. Divide the column of image data into 4 groups, each containing 100 pixels. Assign each group of pixel data to the 4 columns of nozzles of the print head, each with 100 nozzles.

[0025] After the first column of nozzles completes printing, the first set of data is discarded; after the second column of nozzles completes printing, the second set of data is discarded; after the third column of nozzles completes printing, the third set of data is discarded; after the fourth column of nozzles completes printing, the fourth set of data is discarded.

[0026] In this embodiment, the frame buffer is calculated as follows:

[0027] The first set of data is directly stored, requiring 100 pixels of storage space. The second set of data needs to be moved forward 200 pixels during the printing of the first column of nozzles, so an additional 100*200 pixels of storage space is required. The third set of data needs to be moved forward 400 pixels during the printing of the second column of nozzles, so an additional 100*400 pixels of storage space is required. The fourth set of data needs to be moved forward 600 pixels during the printing of the third column of nozzles, so an additional 100*600 pixels of storage space is required. Adding these storage requirements together, the total frame buffer requirement is 100+100*200+100*400+100*600=120100 pixels of storage space.

[0028] The following is a comparison of image data processing in conventional printing technology. The printing process generally involves the following steps:

[0029] The PC sends a column of image data to the printing board. The pixel value of this column of images is recorded as H, which represents the total number of pixels. The print head is configured with a columns of nozzles, each column contains b nozzles. The distance between two adjacent nozzles is m, which is the physical spacing between nozzles, measured in DPI (dots per inch). During the printing process, this column of image data is decomposed into a groups, each group corresponds to a column of nozzles, and this column of nozzles is responsible for printing. The entire image data is cached in the cache module of the printing board. The cache module is a memory area used to temporarily store image data so that the print head can retrieve data on demand. During the printing process, the print head retrieves data from the cache module group by group. After each column of nozzles completes the printing task, the corresponding data group is sent out so that the nozzle can move to the next printing position.

[0030] Under the same conditions, that is, a column of images has 400 pixels, the print head has 4 columns of nozzles, each column has 100 nozzles, and the distance between two adjacent columns of nozzles is 200 pixels. In this case, the image data is divided into 4 groups, each group contains 100 pixels, and each column of nozzles is responsible for printing a group of data. The specific printing steps are as follows:

[0031] The print head first retrieves the first set of data from the cache module, and then the first column of nozzles begins to print the first set of image data. When the first set of data is printed, the print head moves 200 pixels and retrieves the second set of data from the cache module, and the second column of nozzles then prints the second set of image data. Repeat the above steps, the print head continues to move 200 pixels, retrieves the third set of data, and the third column of nozzles prints the third set of image data. Finally, the print head moves 200 pixels again, retrieves the fourth set of data, and the fourth column of nozzles completes printing the fourth set of image data.

[0032] During the entire printing process, the data of the column image is always kept in the buffer state until the printing is completed. For this traditional printing method, the frame buffer required for the column image data is calculated as 400 times 200 times 3, which is equal to the storage space of 240,000 pixels.

[0033] The main improvement of the present invention over the conventional technology is that by optimizing the data cache and discard strategy, the frame buffer size required in the printing process is reduced. This optimization not only improves printing efficiency, but also reduces memory usage, allowing the printing system to handle more complex printing tasks, while reducing costs and improving performance.

[0034] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A method for processing image printing data, characterized in that: The printing board receives a column of image data, which is H pixels. According to the configuration of the print head, the image data is decomposed into a groups, where a represents the number of columns of nozzles, each column of nozzles has b nozzles, and the distance between two adjacent nozzles is m pixels. Each group of data is assigned to a corresponding column of nozzles, and each column of nozzles is responsible for printing a group of data. After each column of nozzles is printed, the corresponding data group is discarded.

2. The method according to claim 1, characterized in that The printing nozzle moves linearly along a predetermined direction and passes through the printing position of the column of image data in sequence. When one column of nozzles moves to the printing position of the column of image data, a printing operation is performed to complete the printing of the column of images.

3. The method according to claim 1, characterized in that: Storage space for the first set of data: The first set of data is directly stored, and the required storage space is b pixels, where b is the number of pixels in each set of data. Storage space for subsequent group data: For the second to ath columns of nozzles, when printing, the corresponding data group of each column of nozzles needs to be spaced by (m*(n-1)) pixels, where n is the serial number of the current nozzle. Total frame buffer requirement: Add the storage space required by all columns of nozzles to get the total frame buffer requirement. The calculation formula is: Total frame buffer = b + b*m + b*2m + ... b*(a-1)*m.

4. The method according to claim 1, characterized in that: The printing nozzle is bidirectional printing. When the printing nozzle is printing in the forward direction and in the reverse direction, the frame buffer sizes of each column of the printing nozzle are opposite.

5. An image printing data processing system, characterized in that: include, An image data receiving module, used for receiving a column of image data, where the column of image data includes H pixels; A data processing module, used for decomposing the image data into a groups according to the configuration of the print head, wherein a represents the number of columns of the nozzle holes; A nozzle configuration module is used to manage configuration information that each nozzle column has b nozzles and that the distance between two adjacent nozzles is m pixels; A data distribution module is used to distribute each set of data to a corresponding column of nozzles, and each column of nozzles is responsible for printing a set of data; The data discarding module is used to discard the corresponding data group after each column of nozzles is printed.

6. A computer-readable storage medium, characterized in that: A computer program for executing the method according to any one of claims 1 to 4 is stored.

7. A computer program product, characterized in that The invention comprises an instruction set for implementing the method according to any one of claims 1 to 4.