Inkjet printing method, apparatus, device and storage medium based on multiple processors
By employing a multi-processor architecture for inkjet printing, utilizing FPGA or IC for real-time control and parallel processing, the problem of low printing efficiency for large-format images in existing technologies is solved, achieving a highly efficient and stable inkjet printing process.
Patent Information
- Application Number
- CN202310742831.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2043-06-21
AI Technical Summary
Existing inkjet printing technology suffers from low production efficiency due to computer lag when processing large-format images, and cannot achieve efficient rasterization processing and data transmission.
It adopts a multi-processor architecture, and through the communication connection between the controller and the processor group, it divides the image data to be printed into packages for parallel processing. Each processor is responsible for the rasterization processing of one sub-printed image data, and uses FPGA or IC for real-time control and data management.
It improves data processing efficiency and speed, enables efficient parallel computing and communication, ensures the stability and accuracy of the printing process, and avoids printing interruptions caused by computer lag.
Smart Images

Figure CN119217871B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of inkjet printing technology, and in particular to an inkjet printing method, device, equipment and storage medium based on a plurality of processors. BACKGROUND
[0002] In the existing inkjet printing technology, different colors of ink are generally sprayed onto a printing material by a nozzle to form patterns and characters. With the change of people's living needs, inkjet printing technology is used on various materials to obtain products with preset patterns and characters. Currently, the industrial printing scheme on the market generally uses a computer PC to perform rasterization processing on original data. When it is necessary to print some large-format images without stopping, the rasterization processing software needs to perform rasterization processing and transmission at the same time, and the communication rate of the computer issued to the mainboard needs to be high. At this time, if the computer is stuck, the data will be interrupted, causing the printing to stop, resulting in low production efficiency. SUMMARY
[0003] The present application provides an inkjet printing method, device, equipment and storage medium based on a plurality of processors to solve the technical problem of low production efficiency of the prior art inkjet printing.
[0004] In a first aspect, the present application provides an inkjet printing method based on a plurality of processors, characterized in that it is used for an inkjet printer, and the inkjet printer comprises at least one controller and a processor group, wherein the processor group comprises a plurality of first processors, and the controller is in communication connection with each processor in the processor group.
[0005] Obtain the to-be-printed image data and send it to the controller;
[0006] Perform packet processing on the to-be-printed image data to obtain a plurality of sub-printing image data;
[0007] Perform rasterization processing on the corresponding sub-printing image data by each first processor to obtain a plurality of rasterized images;
[0008] According to each rasterized image, perform inkjet printing to obtain a target image.
[0009] As an optional embodiment of the present application, the step of performing packet processing on the to-be-printed image data to obtain a plurality of sub-printing image data comprises:
[0010] Obtain the actual number of the first processors;
[0011] According to the actual number, perform packet processing on the to-be-printed image data to obtain a target number of sub-printing image data, wherein the target number is the same as the actual number.
[0012] The target number of sub-print data are distributed to each of the first processors.
[0013] As an optional embodiment of this application, the step of inkjet printing based on each rasterized image to obtain a target image includes:
[0014] After each of the first processors completes the rasterization processing of the sub-printed image data, the resulting rasterized image is sent to the controller.
[0015] Each of the rasterized images is stitched together to obtain the target printing data;
[0016] Inkjet printing is performed based on the target printing data to obtain the target image.
[0017] As an optional embodiment of this application, the inkjet printer further includes: multiple printhead driver boards and multiple printheads, and the step of performing inkjet printing based on the target printing data to obtain a target image includes:
[0018] Obtain the nozzle parameters for each nozzle, wherein the nozzle parameters include nozzle arrangement information, nozzle layout information, and printing accuracy;
[0019] Based on the printhead parameters of each printhead, the target printing data is allocated to each printhead driver board to drive the corresponding printhead to perform inkjet printing.
[0020] As an optional embodiment of this application, one nozzle drive board corresponds to one or more nozzles.
[0021] As an optional embodiment of this application, the processor group further includes a second processor, wherein the second processor is communicatively connected to the data source and the controller respectively, and the step of acquiring the image data to be printed and sending it to the controller includes:
[0022] The image data to be printed is obtained from the data source and sent to the second processor;
[0023] The image data to be printed is sent to the controller.
[0024] As an optional embodiment of this application, the controller is an FPGA.
[0025] In a second aspect, the present invention provides a multi-processor-based inkjet printing device, characterized in that it is used for an inkjet printer, the inkjet printer comprising: at least one controller and a processor group, wherein the processor group comprises a plurality of first processors, and the controller is communicatively connected to each processor in the processor group;
[0026] The data acquisition module is used to acquire the image data to be printed and send it to the controller;
[0027] The sub-packet processing module is used to sub-packetize the image data to be printed to obtain multiple sub-printed image data.
[0028] The rasterization processing module is used to perform rasterization processing on the corresponding sub-printed image data through each of the first processors to obtain multiple rasterized images;
[0029] The inkjet printing module is used to perform inkjet printing based on each of the rasterized images to obtain the target image.
[0030] Thirdly, the present invention provides a printing device for outputting arbitrary multiples of ink volume, including at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method described in the first aspect.
[0031] Fourthly, the present invention provides a storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the method described in the first aspect.
[0032] In summary, the beneficial effects of this application are as follows:
[0033] The multi-processor-based inkjet printing method of this application enables parallel processing of the image data to be printed by employing a processor group composed of multiple first processors. Each processor is responsible for processing one sub-printed image data, thereby greatly improving the efficiency and speed of data processing. After the image data to be printed is processed in packets, each sub-printed image data is rasterized by its corresponding first processor. This packetization and rasterization processing method can better utilize the parallel computing power of the multi-processor, allowing the rasterization process to be performed simultaneously, thus accelerating the image data processing speed. The controller communicates with each processor in the processor group to realize data transmission and collaborative work. This parallel communication mechanism allows the controller to send multiple sub-printed image data to different processors simultaneously, thereby managing and scheduling the entire printing process more efficiently. Attached Figure Description
[0034] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a flowchart of the multi-processor-based inkjet printing method of the present invention.
[0036] Figure 2 This is a schematic diagram of the structure of the inkjet printing method device based on a multiprocessor according to the present invention.
[0037] Figure 3 This is a schematic diagram of the printing device of the present invention. Detailed Implementation
[0038] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0039] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0040] Example 1
[0041] This invention provides a multi-processor-based inkjet printing method, apparatus, device, and storage medium to solve the technical problem of high complexity in existing inkjet printing and laser etching positioning methods.
[0042] like Figure 1 As shown, the present invention provides a multi-processor-based inkjet printing method for an inkjet printer, the inkjet printer comprising: at least one controller and a processor group, wherein the processor group comprises a plurality of first processors, and the controller is communicatively connected to each processor in the processor group;
[0043] S1. Obtain the image data to be printed and send it to the controller;
[0044] Specifically, the image data to be printed refers to the image data that needs to be printed on the substrate. It can be digital image data obtained from a computer, storage device, or other data source. The controller is a component in an inkjet printer that manages and coordinates the entire printing process. It communicates with each processor in the processor group, receiving the image data to be printed and sending it to the appropriate processor.
[0045] In this embodiment, the controller includes, but is not limited to, an FPGA, a central controller, and an IC. An FPGA is a programmable hardware device that can be adapted to different application requirements by reconfiguring its internal logic circuitry. This makes FPGAs highly flexible and allows for customization and optimization based on specific printing needs. The central controller is a dedicated control device used to manage and coordinate the work of multiple CPUs. It can allocate tasks, schedule computing resources, and handle communication and synchronization between multiple CPUs.
[0046] As an optional embodiment of this application, the controller is an FPGA or an IC. Since the FPGA performs tasks at the hardware level without the need for operating system or software intervention, it has lower processing latency. This is crucial for real-time control during the printing process, reducing response time and transmission latency, and improving printing accuracy and stability. The FPGA also has parallel processing capabilities, allowing it to execute multiple tasks or operations simultaneously. During printing, the FPGA can process multiple print data simultaneously, achieving efficient data processing and control. This is essential for real-time printing applications, improving printing speed and responsiveness.
[0047] Similarly, integrated circuits (ICs) can be used to replace FPGAs to control multiple processors. Using existing or specially designed ICs or other custom IC solutions may be more suitable. For the need to control multiple processors, a custom IC can be designed to implement specific control functions, which can achieve higher performance and a more compact solution without relying on the programmability of FPGAs.
[0048] In summary, the choice between FPGA and IC depends on specific application requirements and constraints. FPGAs offer flexibility and programmability, making them suitable for rapid prototyping, rapid iteration, and short-term production. ICs, on the other hand, are suitable for applications requiring high performance, low power consumption, high integration, and long-term production. Considering factors such as cost, performance, time, and resources, the most suitable solution can be chosen. Using an FPGA as a print controller offers advantages such as high customization, parallel processing, low latency, high reliability, and low power consumption. These characteristics make FPGAs widely used in industrial printing, high-speed printing, and complex printing applications, providing superior performance and reliability.
[0049] As an optional embodiment of this application, the processor group further includes a second processor, wherein the second processor is communicatively connected to the data source and the controller respectively, and the step of acquiring the image data to be printed and sending it to the controller includes:
[0050] S11. Obtain the image data to be printed from the data source and send it to the second processor;
[0051] S12. The image data to be printed is sent to the controller;
[0052] Specifically, in addition to the first processor, the processor group also includes a second processor. The second processor is responsible for communicating with the data source to acquire the image data to be printed and sending it to the controller. The data source is the place where the image data to be printed is stored; it can be a computer, storage device, or other data source. By introducing the second processor and communicating with the data source, the image data to be printed can be obtained directly from the data source, avoiding delays and interruptions during data transmission. This helps improve the real-time performance and reliability of the data. Furthermore, while the second processor is responsible for data acquisition and transmission, the controller is responsible for further processing and scheduling for subsequent rasterization and inkjet printing. This division of labor and collaboration can improve the overall efficiency and stability of the printing process.
[0053] S2. The image data to be printed is divided into multiple sub-printed image data;
[0054] In this step, the image data to be printed is divided into multiple sub-print image data. This is done to break down the printing task into smaller parts so that each processor can process one of the sub-print image data in parallel;
[0055] Specifically, the image data to be printed is first divided into multiple regions, each corresponding to a sub-printed image data. This division can be based on the image's pixel coordinates or other specific rules to ensure each region is of appropriate size and evenly distributed. Each region is then segmented and converted into appropriate data blocks. Segmentation can be performed according to the printer's processing capabilities and communication requirements, ensuring each data block is of suitable size and easy to process and transmit. Next, each data block is encapsulated, adding necessary identification and control information for subsequent processing and transmission. This can include the data block's identifier, sequence number, checksum, etc., to ensure data integrity and accuracy. Finally, the encapsulated sub-printed image data is transmitted to the corresponding processor for further processing. Transmission can be performed through a high-speed data communication interface or other appropriate transmission methods to ensure timely arrival and reliable transmission of data.
[0056] By dividing the image data to be printed into multiple sub-printed image data and processing them in parallel using multiple processors in the processor group, the speed of rasterization processing can be accelerated, and the printing efficiency can be improved. After the image data to be printed is processed in packets, the size of each sub-printed image data is moderate, which reduces the transmission latency and load of a single data packet and improves the efficiency and stability of data transmission.
[0057] As an optional embodiment of this application, the step of sub-packaging the image data to be printed to obtain multiple sub-printed image data includes:
[0058] S21. Obtain the actual number of the first processors;
[0059] In this step, the actual number of first-order processors available in the current system is obtained. This can be obtained through system configuration or dynamic detection at runtime.
[0060] S22. Based on the actual quantity, the image data to be printed is divided into packets to obtain a target number of sub-printed image data, wherein the target quantity is the same as the actual quantity;
[0061] In this step, the image data to be printed is divided into packets based on the actual number of the first processors to obtain a target number of sub-printed image data, which is the same as the actual number of processors. The packet division can be performed according to the principle of uniform division to ensure that each sub-printed image data is of similar size.
[0062] By processing multiple sub-print image data in parallel, rasterization and printing operations can be performed simultaneously. Compared to processing each sub-print image data sequentially, parallel processing can significantly accelerate printing speed and shorten printing time.
[0063] Distributing print data evenly across each processor achieves load balancing. This ensures each processor handles a relatively balanced amount of data, preventing overload of any single processor and improving system stability and efficiency.
[0064] S23. Distribute the target number of sub-print data to each of the first processors.
[0065] In this step, the target number of sub-printed image data is allocated to each first processor. Each processor will be responsible for processing its assigned sub-printed image data and performing rasterization.
[0066] Dividing the print data into sub-print image data packets, the same number as the first processor, fully utilizes the processing power of each processor. Each processor can process its assigned sub-print image data in parallel, maximizing the use of processor resources in the system.
[0067] S3. Each of the first processors performs rasterization processing on the corresponding sub-printed image data to obtain multiple rasterized images;
[0068] Specifically, rasterization refers to the process of converting continuous image data into discrete pixels or dot matrices. In inkjet printing, rasterization converts image data into an arrangement of ink dots that the printhead can recognize and eject. Each sub-printed image data needs to be rasterized to generate a corresponding rasterized image;
[0069] By rasterizing the sub-printed image data corresponding to each first processor, continuous image data can be converted into discrete pixel representations, generating a rasterized image. This processing scheme can adapt to the printhead's operating mode and provide the necessary inkjet commands and data to achieve accurate printing results.
[0070] S4. Based on each rasterized image, perform inkjet printing to obtain the target image.
[0071] Inkjet printing from each rasterized image is a crucial step, achieving accurate reproduction of patterns and text by controlling the inkjet position and intensity of the printhead. This step requires controlling the inkjet mechanism to complete the inkjet operation according to the instructions of the rasterized images, and repeating the process for each rasterized image until all images have been inkjet printed. This process ensures printing precision, accuracy, and efficiency.
[0072] As an optional embodiment of this application, the step of inkjet printing based on each rasterized image to obtain a target image includes:
[0073] S41. After each of the first processors completes the rasterization processing of the sub-printed image data, the resulting rasterized image is sent to the controller.
[0074] S42. Each of the rasterized images is stitched together to obtain the target printing data;
[0075] Specifically, stitching ensures that multiple rasterized images are correctly combined in a predetermined order and position to form a continuous and complete target print data. This avoids broken or discontinuous patterns during printing. Stitching also ensures smooth transitions between adjacent rasterized images, resulting in no obvious transition lines or defects between different parts of the printed pattern. This improves print quality and appearance consistency.
[0076] S43. Perform inkjet printing based on the target printing data to obtain the target image.
[0077] As an optional embodiment of this application, the inkjet printer further includes: multiple printhead driver boards and multiple printheads, and the step of performing inkjet printing based on the target printing data to obtain a target image includes:
[0078] S431. Obtain the nozzle parameters for each nozzle, wherein the nozzle parameters include nozzle arrangement information, nozzle layout information, and printing accuracy;
[0079] Specifically, nozzle arrangement information specifies the position and arrangement of the nozzles on the printhead, determining the accuracy and resolution of ink ejection; printhead layout information determines the position and arrangement of the printhead in the printer, used to precisely control the ink ejection position and coverage. Print accuracy indicates the accuracy and resolution of the printhead, i.e., the number of dots printed per inch (or per millimeter);
[0080] S432. Based on the printhead parameters of each printhead, the target printing data is allocated to each printhead driver board to drive the corresponding printhead to perform inkjet printing.
[0081] The purpose of allocating target print data to each printhead driver board based on the printhead parameters is to achieve precise inkjet control and optimize print quality. The layout of the printheads on the printer determines the effective range and coverage area of each printhead. By allocating target print data to the corresponding printhead driver board, each printhead can be responsible for its specific area, ensuring the consistency and balance of the entire pattern. This avoids uneven ink distribution or color differences during the printing process.
[0082] Different printheads have different printing precisions, that is, the number of dots printed per inch (or millimeter). By allocating the target print data to the corresponding printhead driver board according to the printing precision of each printhead, the detail and resolution of the print can be controlled as needed. This enables high-precision printing, ensuring clear details and accurate color output.
[0083] By acquiring printhead parameters and allocating target print data to the corresponding printhead driver board, inkjet printers can perform precise inkjet operations based on printhead characteristics and requirements. This ensures print quality and accuracy, achieving high-resolution, high-speed, and high-efficiency inkjet printing to meet the needs of various application scenarios.
[0084] As an optional embodiment of this application, one nozzle drive board corresponds to one or more nozzles;
[0085] Specifically, each printhead driver board independently controls one printhead, making the control system simpler and easier to manage. The position, angle, and parameters of each printhead can be adjusted as needed to adapt to different printing requirements.
[0086] When one printhead driver board corresponds to multiple printheads, these printheads can work simultaneously, increasing printing speed and production efficiency. Sharing a single driver board reduces the number of hardware and devices in the system, saving costs and space. Whether to select one printhead driver board for one printhead or one printhead driver board for multiple printheads depends on specific printing needs and system design. A single printhead driver board is suitable for situations requiring precise control and flexible configuration, while multiple printhead driver boards are suitable for situations requiring improved production efficiency and cost savings.
[0087] In one embodiment, the inkjet printer further includes a display device, which is communicatively connected to a second processor and is used to display a human-machine interface for selecting print data, controlling machine operation, etc. All operations are performed through a touch screen, and the display device can be a touch screen.
[0088] In summary, the beneficial effects of this application are as follows:
[0089] The multi-processor-based inkjet printing method of this application enables parallel processing of the image data to be printed by employing a processor group composed of multiple first processors. Each processor is responsible for processing one sub-printed image data, thereby greatly improving the efficiency and speed of data processing. After the image data to be printed is processed in packets, each sub-printed image data is rasterized by its corresponding first processor. This packetization and rasterization processing method can better utilize the parallel computing power of the multi-processor, allowing the rasterization process to be performed simultaneously, thus accelerating the image data processing speed. The controller communicates with each processor in the processor group to realize data transmission and collaborative work. This parallel communication mechanism allows the controller to send multiple sub-printed image data to different processors simultaneously, thereby managing and scheduling the entire printing process more efficiently.
[0090] Example 2
[0091] The present invention provides a multi-processor-based inkjet printing device, characterized in that it is used for an inkjet printer, the inkjet printer comprising: at least one controller and a processor group, wherein the processor group comprises a plurality of first processors, and the controller is communicatively connected to each processor in the processor group;
[0092] The data acquisition module is used to acquire the image data to be printed and send it to the controller;
[0093] The sub-packet processing module is used to sub-packetize the image data to be printed to obtain multiple sub-printed image data.
[0094] The rasterization processing module is used to perform rasterization processing on the corresponding sub-printed image data through each of the first processors to obtain multiple rasterized images;
[0095] The inkjet printing module is used to perform inkjet printing based on each of the rasterized images to obtain the target image.
[0096] As an optional embodiment of this application, the sub-packet processing module includes:
[0097] An actual quantity acquisition unit is used to acquire the actual quantity of the first processor;
[0098] The sub-packaging processing unit is used to sub-package the image data to be printed according to the actual quantity to obtain a target number of sub-printed image data, wherein the target quantity and the actual quantity are the same;
[0099] A sub-print data allocation unit is used to allocate a target number of sub-print data to each of the first processors.
[0100] As an optional embodiment of this application, the inkjet printing module includes:
[0101] The data transmission unit is used to send the resulting rasterized image to the controller after each of the first processors completes the rasterization processing of the sub-printed image data;
[0102] Each of the rasterized images is stitched together to obtain the target printing data;
[0103] The printing unit performs inkjet printing based on the target printing data to obtain the target image.
[0104] As an optional embodiment of this application, the inkjet printer further includes: multiple printhead driver boards and multiple printheads, and the printing unit includes:
[0105] The parameter acquisition unit acquires the nozzle parameters of each nozzle, wherein the nozzle parameters include nozzle arrangement information, nozzle layout information, and printing accuracy;
[0106] The data allocation unit allocates the target printing data to each printhead driver board according to the printhead parameters of each printhead, so as to drive the corresponding printhead to perform inkjet printing.
[0107] As an optional embodiment of this application, one nozzle drive board corresponds to one or more nozzles.
[0108] As an optional embodiment of this application, the processor group further includes a second processor, wherein the second processor is communicatively connected to the data source and the controller respectively, and the data acquisition module includes:
[0109] The data acquisition unit acquires the image data to be printed from the data source and sends it to the second processor;
[0110] A data sending unit is used to send the image data to be printed to the controller.
[0111] As an optional embodiment of this application, the controller is an FPGA.
[0112] It should be noted that each module and unit in the multi-processor-based inkjet printing device in this embodiment corresponds one-to-one with each step in the multi-processor-based inkjet printing method in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned multi-processor-based inkjet printing method, and will not be repeated here.
[0113] Example 3
[0114] In addition, combined Figure 3 The multiprocessor-based inkjet printing method described in this embodiment of the invention can be implemented by a printing device. Figure 3 A schematic diagram of the hardware structure of the printing device provided in an embodiment of the present invention is shown.
[0115] The printing device may include a processor 401 and a memory 402 storing computer program instructions.
[0116] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0117] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to a data processing device. In a particular embodiment, memory 402 is a non-volatile solid-state memory. In a particular embodiment, memory 402 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0118] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any of the multiprocessor-based inkjet printing methods in the above embodiments.
[0119] In one example, the printing device may also include a communication interface 403 and a bus 410. For example, Figure 3 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0120] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0121] Bus 410 includes hardware, software, or both, that couples components used for arbitrary volume output together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0122] Example 4
[0123] Furthermore, in conjunction with the multiprocessor-based inkjet printing method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the multiprocessor-based inkjet printing methods described in the above embodiments.
[0124] The above is a detailed description of the multi-processor-based inkjet printing method, apparatus, device, and storage device provided in the embodiments of the present invention.
[0125] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0126] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0127] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0128] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A multi-processor-based inkjet printing method, characterized in that, For an inkjet printer, the inkjet printer includes: at least one controller and a processor group, wherein the processor group includes a plurality of first processors, the controller is communicatively connected to each processor in the processor group, the processor group further includes a second processor, wherein the second processor is communicatively connected to a data source and the controller respectively, the inkjet printer further includes a plurality of printhead driver boards and a plurality of printheads, the controller is an FPGA, and the method includes: Acquire the image data to be printed and send it to the controller; The image data to be printed is divided into multiple sub-printed image data. Each of the first processors performs rasterization processing on the corresponding sub-printed image data to obtain multiple rasterized images; Each rasterized image is inkjet printed to obtain a target image; The step of splitting the image data to be printed into multiple sub-printed image data includes: Obtain the actual number of the first processors; Based on the actual quantity, the image data to be printed is divided into packets to obtain a target number of sub-printed image data, wherein the target number is the same as the actual quantity; The target number of sub-print data are respectively assigned to each of the first processors; The step of inkjet printing based on each rasterized image to obtain a target image includes: After each of the first processors completes the rasterization processing of the sub-printed image data, the resulting rasterized image is sent to the controller. Each of the rasterized images is stitched together to obtain the target printing data; Inkjet printing is performed based on the target printing data to obtain the target image; The step of performing inkjet printing based on the target printing data to obtain the target image includes: Obtain the nozzle parameters for each nozzle, wherein the nozzle parameters include nozzle arrangement information, nozzle layout information, and printing accuracy; Based on the nozzle parameters of each nozzle, the target printing data is allocated to each nozzle driver board to drive the corresponding nozzle to perform inkjet printing. The step of acquiring the image data to be printed and sending it to the controller includes: The image data to be printed is obtained from the data source and sent to the second processor; The image data to be printed is sent to the controller.
2. The multi-processor-based inkjet printing method according to claim 1, characterized in that, One of the nozzle drive boards corresponds to one or more of the nozzles.
3. A multi-processor-based inkjet printing device, characterized in that, For an inkjet printer, the inkjet printer includes: at least one controller and a processor group, wherein the processor group includes a plurality of first processors, the controller is communicatively connected to each processor in the processor group, the processor group further includes a second processor, wherein the second processor is communicatively connected to a data source and the controller respectively, the inkjet printer further includes a plurality of printhead driver boards and a plurality of printheads, the controller is an FPGA, and the inkjet printing device includes: The data acquisition module is used to acquire the image data to be printed and send it to the controller; The sub-packet processing module is used to sub-packetize the image data to be printed to obtain multiple sub-printed image data. The rasterization processing module is used to perform rasterization processing on the corresponding sub-printed image data through each of the first processors to obtain multiple rasterized images; An inkjet printing module is used to perform inkjet printing based on each of the rasterized images to obtain a target image; wherein, the data acquisition module includes: The data acquisition unit is used to acquire the image data to be printed from the data source and send it to the second processor; A data sending unit is used to send the image data to be printed to the controller; The sub-packet processing module includes: An actual quantity acquisition unit is used to acquire the actual quantity of the first processor; The sub-packaging processing unit is used to sub-package the image data to be printed according to the actual quantity to obtain a target number of sub-printed image data, wherein the target quantity and the actual quantity are the same; A sub-print data allocation unit is used to allocate a target number of sub-print data to each of the first processors; The inkjet printing module includes: The data transmission unit is used to send the resulting rasterized image to the controller after each of the first processors completes the rasterization processing of the sub-printed image data; Each of the rasterized images is stitched together to obtain the target printing data; A printing unit is used to perform inkjet printing based on the target printing data to obtain a target image; The printing unit includes: The parameter acquisition unit is used to acquire the nozzle parameters of each nozzle, wherein the nozzle parameters include nozzle arrangement information, nozzle layout information and printing accuracy; The data allocation unit is used to allocate the target printing data to each printhead driver board according to the printhead parameters of each printhead, so as to drive the corresponding printhead to perform inkjet printing.
4. A printing device, characterized in that, It includes at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-2.
5. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-2 is implemented when the computer program instructions are executed by the processor.
Citation Information
Patent Citations
Data transmission system and method for distributed optical grating picture processing
CN101131626A
Equipment and method for controlling printing
CN1506230A