CN-122018827-A - High-speed digital printing processing system and method based on heterogeneous processor
Abstract
The invention discloses a high-speed digital printing processing system and method based on a heterogeneous processor, wherein the heterogeneous processor comprises a CPU core and an FPGA core, the system comprises a data receiving module, a data processing module and an image output module, the data receiving module operates on the CPU core and is used for receiving standard digital printing image data, commands and state reporting functions transmitted by an upper computer through a plurality of ports, the data processing module operates on the FPGA core and is used for realizing the alignment from the standard digital printing image data to the physical arrangement data of a spray head through two rotations, the image output module operates on the FPGA core and is used for transmitting the data processed by the data processing module to a spray head cache, and the spray head is driven through time sequence control to realize high-speed digital printing output. The invention can greatly improve the processing speed and the system stability of the digital printing machine and has good expansibility and application prospect.
Inventors
- LAI LI
- Lv Tianchi
- ZHANG XUYANG
Assignees
- 杭州优视泰信息技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251229
Claims (9)
- 1. The high-speed digital printing processing system based on the heterogeneous processor is characterized in that the heterogeneous processor comprises a CPU core and an FPGA core, and the system comprises a data receiving module, a data processing module and an image output module; The data receiving module runs on the CPU core and realizes the functions of receiving standard digital printing image data, commands and status reporting transmitted by the upper computer through a plurality of ports; The data processing module is operated on the FPGA core, and alignment from standard digital printing image data to nozzle physical arrangement data is realized through two rotations; The image output module operates on the FPGA core, data processed by the data processing module is sent to the nozzle cache, and the nozzle is driven to realize high-speed digital printing output through time sequence control.
- 2. The high-speed digital printing processing system based on the heterogeneous processor according to claim 1, wherein the data receiving module is connected with the upper computer through a TCP/IP protocol.
- 3. The heterogeneous processor-based high-speed digital printing processing system according to claim 1, wherein the functions of receiving data, commands and reporting status are implemented through a plurality of ports, comprising: the data interface receives quasi-digital printing image data sent by the upper computer through the gigabit Ethernet interface, stores the quasi-digital printing image data in the annular cache area and recycles the memory, wherein the data is sent in units of pages, each page of data has head information, and the information is the length, the width and the direction of the data; the command port can receive commands of the upper computer and the synchronous plate, and start, cancel and self-checking operations are realized; The state reporting port can report the abnormal state of the current printing, so that the upper computer can make proper adjustment in time.
- 4. The heterogeneous processor-based high-speed digital printing processing system of claim 1, wherein the alignment of the standard digital printing image data to the physical arrangement data of the heads is achieved by two rotations, comprising: the method comprises the steps of firstly, corresponding each row of data in standard digital printing image data to one spray hole through first rotation, compensating the data of each row of spray holes according to the arrangement positions of the spray holes in the spray head, realizing the alignment of the spray hole positions, and rotating the compensated data for the second time to obtain spray printing data of the spray head, wherein each row of data corresponds to one dotting pulse spray printing data of the spray head.
- 5. The high-speed digital printing processing system based on heterogeneous processors according to claim 4, wherein in the first rotation, original standard digital printing image data is divided into block data according to the image width according to 64 bytes, each block of data is divided into small blocks of data to be processed in a unit of 64 bits, continuous 8-line data on each small block is processed with a mask and is shifted to obtain 8-line data which is jumped after rotation, the mask shift is changed to obtain 8-line data which is continuously rotated, and the jumped 8-line data and the 8-line data which are continuously rotated are continuously processed and spliced according to the height of the original standard digital printing image data to obtain whole-block rotated data.
- 6. The high-speed digital printing processing system based on heterogeneous processor as claimed in claim 4, wherein when the data of each row of spray holes is compensated according to the arrangement position of spray holes in the spray head, the blank data of the previous section of each spray hole is compensated, so that the image data can be aligned in physical position.
- 7. The digital printing process system of claim 5, wherein the second rotation is performed in the same manner as the first rotation.
- 8. The high-speed digital printing processing system based on the heterogeneous processor as claimed in claim 1, wherein the image output module arranges the data processed by the data processing module into a time sequence format of the spray head under the drive of dotting pulse line by line through a data flat cable connected with the spray head and sends the data into a cache of the spray head.
- 9. The high-speed digital printing processing method based on the heterogeneous processor is characterized by comprising the following steps of: The upper computer transmits the digital printing image data to be printed to the processing system of any one of claims 1-8 in batches; the data receiving module receives data and stores the received data into the shared memory section after splicing; the data processing module extracts data from the shared memory section and then rotates for two times to realize the alignment from the standard digital printing image data to the physical arrangement data of the spray heads; the image output module sends the data processed by the data processing module to the nozzle cache, and the nozzle is driven by time sequence control to realize high-speed digital printing output.
Description
High-speed digital printing processing system and method based on heterogeneous processor Technical Field The invention belongs to the technical field of digital printing, and particularly relates to a high-speed digital printing processing system and method based on a heterogeneous processor. Background The digital printing technology gradually replaces the traditional screen printing due to the advantages of low cost, low pollution, short delivery period and the like. However, because of the process limitation, spray holes of the spray heads of the existing digital printing machine are staggered, the standard format rip data lattice data of the data printing can be sent to the spray heads for printing after the spray holes are aligned, the existing scheme mostly adopts a general CPU core for image data decoding, transposition and transmission control, generally, the image data is lattice data and needs to be processed according to the bit, the processing on the CPU core is limited by the performance influence of the alignment operation, and the requirements of high resolution and high speed spray printing are difficult to meet. Disclosure of Invention The invention aims to overcome the defects of the prior art, and provides a high-speed digital printing processing system and method based on a heterogeneous processor, which realize high-speed analysis, transposition, reorganization and output of massive image data through heterogeneous parallel architecture, high-efficiency data flow management and hardware collaborative acceleration and remarkably improve the jet printing speed and stability of a digital printing machine. In order to achieve the above object, an embodiment of the present invention provides a high-speed digital printing processing system based on a heterogeneous processor, including a CPU core and an FPGA core, where the system includes a data receiving module, a data processing module, and an image output module; The data receiving module runs on the CPU core and realizes the functions of receiving standard digital printing image data, commands and status reporting transmitted by the upper computer through a plurality of ports; The data processing module is operated on the FPGA core, and alignment from standard digital printing image data to nozzle physical arrangement data is realized through two rotations; The image output module operates on the FPGA core, data processed by the data processing module is sent to the nozzle cache, and the nozzle is driven to realize high-speed digital printing output through time sequence control. Preferably, the data receiving module is connected with the upper computer through a TCP/IP protocol. Preferably, the functions of receiving data, commands and reporting states are realized through a plurality of ports, including: the data interface receives quasi-digital printing image data sent by the upper computer through the gigabit Ethernet interface, stores the quasi-digital printing image data in the annular cache area and recycles the memory, wherein the data is sent in units of pages, each page of data has head information, and the information is the length, the width and the direction of the data; the command port can receive commands of the upper computer and the synchronous plate, and start, cancel and self-checking operations are realized; The state reporting port can report the abnormal state of the current printing, so that the upper computer can make proper adjustment in time. Preferably, the alignment from the standard digital print image data to the physical arrangement data of the heads is achieved by two rotations, including: the method comprises the steps of firstly, corresponding each row of data in standard digital printing image data to one spray hole through first rotation, compensating the data of each row of spray holes according to the arrangement positions of the spray holes in the spray head, realizing the alignment of the spray hole positions, and rotating the compensated data for the second time to obtain spray printing data of the spray head, wherein each row of data corresponds to one dotting pulse spray printing data of the spray head. Preferably, when rotating for the first time, dividing the original standard digital printing image data into block data according to the image width according to 64 bytes, dividing each block of data into small blocks of data processing by taking 64 bits as a unit, performing AND operation on continuous 8 lines of data and masks on each small block and shifting to obtain jump 8 lines of data after rotation, changing mask shifting to obtain jump 8 lines of data after continuous rotation, continuously processing and splicing the jump 8 lines of data and the jump 8 lines of data after continuous rotation according to the height of the original standard digital printing image data, and obtaining the whole piece of data after rotation. Preferably, when compensating the data of each row of spray hole