CN109664620A - Print data processing method, device and equipment - Google Patents

Print data processing method, device and equipment Download PDF

Info

Publication number
CN109664620A
CN109664620A CN201811491143.1A CN201811491143A CN109664620A CN 109664620 A CN109664620 A CN 109664620A CN 201811491143 A CN201811491143 A CN 201811491143A CN 109664620 A CN109664620 A CN 109664620A
Authority
CN
China
Prior art keywords
image data
data
channel
logical process
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811491143.1A
Other languages
Chinese (zh)
Other versions
CN109664620B (en
Inventor
梅�明
刘迪顺
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sen Da (shenzhen) Technology Co Ltd
Senda Shenzhen Technology Co Ltd
Original Assignee
Sen Da (shenzhen) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sen Da (shenzhen) Technology Co Ltd filed Critical Sen Da (shenzhen) Technology Co Ltd
Priority to CN201811491143.1A priority Critical patent/CN109664620B/en
Publication of CN109664620A publication Critical patent/CN109664620A/en
Application granted granted Critical
Publication of CN109664620B publication Critical patent/CN109664620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/21Ink jet for multi-colour printing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/54Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed with two or more sets of type or printing elements
    • B41J3/543Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed with two or more sets of type or printing elements with multiple inkjet print heads
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • B41M5/0023Digital printing methods characterised by the inks used
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The invention discloses a kind of print data processing method, device and equipment.The present invention carries out image data to be printed according to software treatment channel to split into image data;By described image data, logically treatment channel Distribution dynamics split into several pieces sub-image data;In memory according to the corresponding storage of logical process channel Distribution dynamics by sub-image data described in several pieces.The speed of image data extraction when the present invention improves printing, saves the time, improves printing effect.

Description

Print data processing method, device and equipment
Technical field
The present invention relates to printing technique field more particularly to a kind of print data processing methods, device and equipment.
Background technique
Inkjet printing technology, which refers to, is ejected into ink droplet on print media to obtain image or text by the nozzle on spray head The technology of word, with the development of ink-jet technology, requirement of the people to inkjet printing is also higher and higher, does not require nothing more than printing precision height And require print speed fast, therefore the printing device of more spray heads occur, it is this large size printing device due to spray head is more can High-precision product is quickly printed, but with the increasing of spray head quantity, the promotion of print speed, to the print data amount of needs Increase, to the greatest extent the processing distributed tasks of print data is increased.If still only with software treat print image data according to Spray nozzle rule carry out in advance deconsolidation process at, can low cost by the powerful operation of computer and a large amount of memory sources Realization data split delay disposal, but since treatment process is related to a large amount of bit manipulation, will be greatly reduced image processing speed, To reduce print speed, it can not meet the demand of current flying print.If only with hardware treat print image data by Deconsolidation process is carried out according to spray nozzle rule, the advantage of programmable logic device alignment operation can be efficiently used, but split and prolong The operation handled late needs a large amount of internal storage, and cost will greatly increase.
Summary of the invention
The embodiment of the invention provides print data processing method, device and equipment, print in the prior art to solve When data volume is big, only software processing or only hardware handles print data speed slowly to the greatest extent and the problem that causes printing effect low.
In a first aspect, the embodiment of the invention provides a kind of print data processing methods, which comprises
Image to be printed is split into image data according to software treatment channel;
By described image data, logically treatment channel Distribution dynamics split into several pieces sub-image data;
In memory according to the corresponding storage of logical process channel Distribution dynamics by sub-image data described in several pieces.
Preferably, logical process channel Distribution dynamics include: when the corresponding spray head of software treatment channel, At least one logical process channel is distributed for the column nozzle on a spray head is corresponding;When a software treatment channel is corresponding a kind of When color, then a spray head is corresponding distributes at least one logical process channel;When one software treatment channel is one corresponding When data processor, then a spray head or a column nozzle on a spray head or a kind of color is corresponding distributes at least one logic Manage channel.
Preferably, described image to be printed split into image data according to software treatment channel and described by the figure As logically treatment channel Distribution dynamics are split between several pieces sub-image data data, the method also includes:
By described image data in the way of fifo queue described in normal print mode or insertion printing model deposit In memory;
Wherein, the normal print mode indicates described image data according to fifo queue Sequential output, and the insertion is beaten Other task datas are inserted into watermark patterns expression in the output stream of the normal print mode.
Preferably, described image data are printed in the way of fifo queue with normal print mode or insertion described Before mode is stored in the memory, the method also includes:
Described image data are sent in sequence in slave computer by host computer.
Preferably, which is characterized in that the method also includes:
Obtain the offset parameter and number Rc in the logical process channel for currently needing to read;
It is corresponding that the logical process channel for obtaining and currently needing to read is calculated according to the offset parameter and the number Rc The actual storage address of data in the memory;
According to the corresponding sub-image data of the actual storage address extraction.
Preferably, the acquisition currently needs the number Rc in the logical process channel read to include:
Lc-Lco=Rc
Wherein, Lc indicates that address obtains the value of counter, and Lco indicates the current logical process channel for needing to read Offset parameter.
Preferably, described to calculate the logical process for obtaining and currently needing to read according to the offset parameter and the number Rc Calculation formula in the actual storage address of the corresponding data in channel in the memory are as follows:
(Rc × Sc × Sp+Lcs) × Lcn+Fa=La
Wherein, Sc indicates the total quantity in logical process channel, and Sp indicates the total quantity of software treatment channel, and Lcs expression is worked as Before the logical process channel to be read number, Lcn indicates that the corresponding data length in single logical process channel, Fa indicate data The initial address of storage, La indicate the actual storage address of the current corresponding data in logical process channel for needing to read.
Preferably, the method also includes:
The each interface for obtaining driver transmits the number of the sub-image data;
Sub-image data described in several pieces is sent in sequence in the spatial cache of corresponding interface;
Data in the spatial cache are combined into the print data output printing of predetermined format.
Second aspect, the embodiment of the invention provides a kind of print data processing apparatus, device includes:
First data split module, for image to be printed to be split into image data according to software treatment channel;
Second data split module, for by described image data logically treatment channel Distribution dynamics split into it is several One's share of expenses for a joint undertaking image data;
Data memory module is used for sub-image data described in several pieces according to logical process channel Distribution dynamics pair It should be stored.
The third aspect, the embodiment of the invention provides a kind of print data processing equipments, comprising: at least one processor, At least one processor and computer program instructions stored in memory, when computer program instructions are executed by processor The method of first aspect in Shi Shixian such as above embodiment.
In conclusion print data processing method provided in an embodiment of the present invention, device and equipment, the present invention is by will be to Print image data carries out just splitting into image data according to software treatment channel, then distributes and advises according still further to logical process channel Rule carries out splitting into several pieces sub-image data, treats print image data by the combination of software and hardware and carries out at fractionation Reason, improves the speed of data processing, saves the time, improves printing effect.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the structural schematic diagram of the print control system of the embodiment of the present invention.
Fig. 2 is the flow chart of the print data processing method of first embodiment of the invention.
Fig. 3 is the flow chart of the print data processing method of second embodiment of the invention.
Fig. 4 is that the image data of the print data processing method of first embodiment of the invention splits schematic diagram.
Fig. 5 is the data structure schematic diagram of the print data processing method of first embodiment of the invention.
Fig. 6 is the data structure schematic diagram of the print data processing method of first embodiment of the invention.
Fig. 7 is the flow chart of the print data processing method of third embodiment of the invention.
Fig. 8 is the flow chart of the print data processing method of fourth embodiment of the invention.
Fig. 9 is the structural schematic diagram of the print data processing equipment of the embodiment of the present invention.
Figure 10 is the structural schematic diagram of the print data processing equipment of the embodiment of the present invention.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Print data processing method in the present invention can be in the all-in-one machine including image processor and print control system Middle realization can also be realized in the separated separation equipment of both image processor and print control system.Wherein, described image Processor is the mimeograph documents that can identify image procossing to be printed at printing machine, and the mimeograph documents include that control is beaten Printing apparatus movement various parameters and image data to be printed, described image processor by image procossing to be printed to be printed Image data can be split into when image data according to the software treatment channel, while can also logically treatment channel be incited somebody to action Described image data are processed into sub-image data, be then directly inputted to print control system carry out inkjet printing, but in this way when When spray head is more, the data processing amount of described image processor will be very big, then the speed of data processing at this time will decline, influence The printing of print control system.
Referring to Fig. 1, in the present embodiment, the print control system 100 includes at least one master board 110, extremely A few spray sweep 120, at least one spray head 140, the spray sweep 120 respectively with the master board 110 and the spray head 140 connections, the spray head driving plate 130 and the spray head 140 connect, and described image processor is pressed by image data to be printed It is split into after image data according to the software treatment channel and is sent to print control system 100, the spray in print control system 100 Sweep 120 again splits described image data according to the logical process channel, when the number of spray head 140 is more, can subtract The data processing amount of light described image processor, improves data processing speed.In another variant embodiment, the print control System 100 further includes at least one 140 driving plate 130 of spray head, the spray head driving plate 130 respectively with the spray sweep 120 and The spray head 140 connects, and the spray head driving plate 130 can separate the sub-image data further progress, then send Inkjet printing is carried out to spray head 140.
Fig. 2 is referred to, the embodiment of the invention provides a kind of print data processing method, this method is by by figure to be printed Image data is split into as at the beginning of data are carried out according to software treatment channel, is then carried out according still further to logical process channel Distribution dynamics Several pieces sub-image data is split into, print image data is treated by the combination of software and hardware and carries out deconsolidation process, is improved The speed of data processing, saves the time, improves printing effect.The print data processing method specifically includes following step It is rapid:
S1, image to be printed is split into image data according to software treatment channel;
S2, by described image data, logically treatment channel Distribution dynamics split into several pieces sub-image data;
S3, sub-image data described in several pieces is stored in memory according to logical process channel Distribution dynamics correspondence In.Then the sub-image data stored in memory is extracted to carry out deconsolidation process again to spray head driver or be directly inputted to spray Head carries out inkjet printing.
Wherein, the software treatment channel is to require to be defined according to printing device and printing, the software The corresponding spray head for the treatment of channel or one of a column nozzle or inkjet printing color or a data processor.When an institute When stating the corresponding spray head of software treatment channel, extracts to directly input spray head after the sub-image data and carry out ink-jet and beat Print;When the corresponding column nozzle of a software treatment channel, then sub-image data described in several pieces is being stored in storage Spray head is directly inputted after in device carries out inkjet printing;When one processor of software treatment channel correspondence, then inciting somebody to action After the storage in memory of sub-image data described in several pieces, extracts the sub-image data and torn open again to spray head driver Dividing processing, then input spray head carries out inkjet printing.
Specifically, image to be printed is split into image data according to software treatment channel in the image processor, one The corresponding a image data of software treatment channel.Then by described image data logically treatment channel Distribution dynamics carry out Deconsolidation process, in the present embodiment, the deconsolidation process of described image data are receiving while processing, and described image data are from institute State in image processor it is a be sent in print control system, print control system receives a described image number Deconsolidation process is carried out according to the logical process channel immediately after;In another variant embodiment, described image data are torn open Dividing processing is that every part of described image data have been carried out deconsolidation process after print control system has received all image datas.More Further, logical process channel Distribution dynamics include: when the corresponding spray head of a software treatment channel, are one Corresponding at least one logical process channel of distribution of a column nozzle on spray head, when a column nozzle only corresponding a print out task, Then distribute a logical channel for a column nozzle, such data processing is fast and is not easy confusion, but when a column nozzle it is corresponding two parts or When more print out task, then logical channel corresponding with print out task is distributed for a column nozzle, so that a print out task pair A logical process channel is answered, ensure that managing independently for each print out task;When a software treatment channel corresponds to a kind of face When color, then a spray head is corresponding distributes at least one logical process channel, when such as printing color image, needs to print a variety of face Color, in printing device include C (cyan), M (magenta), Y (yellow), K (black) four kinds of colors spray head, image processor It can be split according to color, then again be split each color according to spray head in advance;When the processing of one software When the corresponding data processor in channel, then a spray head or a column nozzle on a spray head or a kind of corresponding distribution of color be extremely A few logical process channel, if distributed printing once connects multiple printing devices, each printing device has a data Processor, image processor can be split according to data processor at this time, then each printing device carry out again spray head or The fractionation of color or nozzle rows.The sub-image data is also the Distribution dynamics of logically treatment channel in memory simultaneously It is stored.It is convenient for the storage and extract management of data in this way, improves the speed of data processing.Wherein, the memory It can be external memory, be also possible to memory storage, such as DDR, the concrete type of the memory does not do specific limit herein It is fixed.
Preferably, referring to Fig. 3, between the step S1 and the step S2, the method also includes:
S11, described image data are stored in the way of fifo queue with normal print mode or insertion printing model In the memory;
Wherein, the normal print mode indicates described image data according to fifo queue Sequential output, and the insertion is beaten Other task datas are inserted into watermark patterns expression in the output stream of the normal print mode.
Preferably, before the step S11, the method also includes:
Described image data are sent in sequence in slave computer by S10, host computer.
In the present embodiment, the host computer includes described image processor, and the slave computer includes the print control System, the image data to be printed carry out deconsolidation process at sending after image data according to software treatment channel in host computer Into slave computer, deconsolidation process is carried out again in slave computer.Specifically, referring to Fig. 4, being stored according to software treatment channel Before, described image data according to 8 pixels on corresponding dot matrix image are classified as a data after handling according to image processor Column split into P data column, and p is the integer more than or equal to 1, and the dot matrix image is 1bit gray scale at this time;Wherein, if it is described When dot matrix image is 2bit gray scale, then the data column include 4 pixel columns, and the data column include how many a pictures Element is listed in this and is not specifically limited.In the present embodiment, the corresponding spray head of one software treatment channel, at the software Reason channel is denoted as SP_CH, then carries out deconsolidation process into image data, a spray head corresponding one according to spray head number in host computer Part image data, referring to Fig. 5, spray head number is 16, total nozzle number on single spray head is 2656, and spray head is along main scanning side Described image data-printing could be completed by needing to light a fire 4p times to run-down, wherein p indicates the number of data column, this reality Data structure such as Fig. 5 of the described image data in example is applied, SP_CH0-0 indicates spray head when data are classified as the 1st column in data structure 1 corresponding data, SP_CH1-0 indicate that corresponding data ... the SP_CH15-0 of spray head 2 indicates data column when data are classified as the 1st column The corresponding data of spray head 16 when arranging for the 1st, SP_CH1-1 indicate corresponding data ... the SP_ of spray head 1 when data are classified as the 2nd column CH15-1 indicates the corresponding data of spray head 16 when data are classified as the 2nd column, and SP_CH1-p indicates that spray head 2 is right when data are classified as pth column The data answered, BYTE0 indicate the corresponding data of first nozzle of spray head 1, and BYTE1 indicates that 1 second nozzle of spray head is corresponding The 2656th corresponding data of nozzle of data ... BYTE2655 expression spray head 1;In the present embodiment, 1pass in slave computer 8 byte-aligned of call data storage, ensure that read 1PASS data when initial address do not limited by memory physical address Lead to segmentation problem.Wherein, the host computer can be implemented in a variety of manners.For example, the host computer may include such as Desktop computer, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA) etc. equipment.
Described image data can be by USB either PS (Processing System: processing system, with FPGA without The part of the SOC of the ARM of pass) it is transferred to slave computer, when passing through USB transmission, described image data then need in slave computer FIFO control module is cached by DDR to be written in DDR;When being transmitted by PS, then described image data are straight in slave computer It connects in write-in memory.
In the present embodiment, if spray head along main scanning direction run-down be 1pass, the image data described in slave computer It is to be read out as unit of PASS, reading data is controlled by memory, it is read always as long as memory is not stored completely, under Reading data in the machine of position will also be controlled by data read command other than being controlled by memory, can only have reading data to refer to Data are read in starting after order, and the length of reading is limited in 1PASS data, are stopped reading after running through and are read data life until next time starts It enables, it is to realize inserting piling function between PASS, if do not controlled, junior's data buffer storage that data control is read in insertion in the present embodiment Module is to cannot be distinguished data are which PASS belonged to, and the data of PASS below can not be inserted into front and go to handle, and Data concrete function being read in the present embodiment, FIFO control module being cached to realize by DDR, output data presses 32bit, meets data The timing standard for exporting AXIS interface, so that the input and output speed of data is fast, high-efficient.
Referring to Fig. 6, in the present embodiment, the column nozzle on the corresponding spray head of one logical channel is described Logical process channel is denoted as LP-CH, then has 32 nozzle rows on single spray head, every in each data example in described image data The corresponding data of a spray head are divided into 32 parts of sub-image datas, 4 byte-aligned of sub-image data, the subgraph number According to length be 84BYTE, if Fig. 5 is the 1st corresponding data format of spray head in described image data, wherein LP-CH0-0 Indicate the corresponding data of the 1st nozzle rows when data are classified as the 1st column in the 1st spray head, LP-CH1-0 indicates that data are classified as the 1st column When the 1st spray head in corresponding data ... the LP-CH31-0 of the 2nd nozzle rows indicate when data are classified as the 1st column in the 1st spray head The corresponding data of the 32nd nozzle rows, LP-CH0-1 indicates that the 1st nozzle rows when data are classified as the 2nd column in the 1st spray head are corresponding Data, LP-CH1-1 indicate data be classified as the 2nd column when the 1st spray head in corresponding data ... the LP- of the 2nd nozzle rows CH31-1 indicates the corresponding data of the 32nd nozzle rows when data are classified as the 2nd column in the 1st spray head, and LP-CH0-p indicates data column The corresponding data of the 1st nozzle rows when pth column in the 1st spray head.
Referring to Fig. 7, in the present embodiment, the method also includes:
The offset parameter and number Rc in the logical process channel that S71, acquisition currently need to read;
S72, the logical process channel pair for obtaining and currently needing to read is calculated according to the offset parameter and the number Rc The actual storage address of the data answered in the memory;
S73, according to the corresponding sub-image data of the actual storage address extraction.
Specifically, the sub-image data that each logical process channel is extracted of lighting a fire every time is not arranged in the same data In, it can be calculated according to formula according to the number of the offset parameter in each logical process channel and the logical process channel Whether the actual storage address of the corresponding sub-image data in logical process channel in memory out, the actual storage address have Effect, is judged by the following method: setting the maximum number of the logical channel as Mc, Mc is the integer more than or equal to zero;If 0 ≤ Rc≤Mc then obtains the current corresponding subgraph in the logical process channel for needing to read according to addressing rules The actual storage address of data is effective, and the extraction of data is carried out according to the actual storage address;If Rc≤0 or Mc≤Rc, The actual storage address for the corresponding sub-image data in the logical process channel for currently needing to read is invalid, will currently need The corresponding sub-image data in the logical process channel to be read can not replace with inking data.
Preferably, the acquisition currently needs the number Rc in the logical process channel read to include:
Lc-Lco=Rc
Wherein, Lc indicates that address obtains the value of counter, and Lco indicates the current logical process channel for needing to read Offset parameter.
Preferably, described to calculate the logical process for obtaining and currently needing to read according to the offset parameter and the number Rc Calculation formula in the actual storage address of the corresponding data in channel in the memory includes:
(Rc × Sc × Sp+Lcs) × Lcn+Fa=La
Wherein, Sc indicates the total quantity in logical process channel, and Sp indicates the total quantity of software treatment channel, and Lcs expression is worked as Before the logical process channel to be read number, Lcn indicates that the corresponding data length in single logical process channel, Fa indicate data The initial address of storage, La indicate the actual storage address of the current corresponding data in logical process channel for needing to read.
Referring to Fig. 8, in another embodiment, the method also includes:
The number for the sub-image data that S81, each interface for obtaining driver obtain;
S82, sub-image data described in several pieces is sent in sequence in the spatial cache of corresponding interface;
S83, the print data output printing that the data in the spatial cache are combined into predetermined format.
Specifically, in this example, the driver is spray head driving plate, when described image processor is located on described Position machine, when the print control system is located at slave computer, then the driver is located in slave computer;Described image processor and institute When stating print control system and being located at all-in-one machine, the driver also is located in all-in-one machine.Then the method for Fig. 8 specifically includes: to every In one spatial cache of a interface assignment, the spatial cache of each interface is RAM caching, reads logical process from input FIFO The corresponding sub-image data in channel is written in the RAM caching of interface, logically the corresponding data length for the treatment of channel To each sub-image data allocation space, and the allocation space will support ping-pong operation.Such as a logical channel corresponding one A column nozzle on a spray head, then each spray head has 32 nozzle rows, then All Drives totally 8 interfaces, each interface assignment 4 A sub-image data, then the corresponding sub-image data of the nozzle rows of 0-3 is just assigned to interface 0, then the nozzle of 4-7 It arranges the corresponding sub-image data and is just assigned to interface 1, and so on;If nozzle number of columns is not enough divided, such as only 31 A nozzle rows, then the corresponding sub-image data of a nozzle rows is just written in the last one interface less, by subsequent processing Polishing.If the quantity of nozzle rows exceeds the interface that can be distributed, the corresponding sub-image data of extra nozzle rows will lose Fall, it cannot be again from being write interface 0.Then by the print data of the data group composite software treatment channel in spatial cache, It is combined into the print data of 32BIT bit wide in the present embodiment, junior's mould is written in the way of each nozzle rows in turn 32BIT Block.Since data-interface is 32BIT, every each clock of byte can read 1 pixel, can read 4 pixels every time in total, that is, 4BIT 8BIT data guarantee the transmission speed of data so being able to satisfy the output speed of current interface completely.
Referring to Fig. 9, the embodiment of the invention provides a kind of print data processing apparatus, described device includes:
First data split module 10, and each interface for obtaining driver transmits the number of the sub-image data;
Second data split module 20, if for by described image data, logically treatment channel Distribution dynamics to be split into Dry one's share of expenses for a joint undertaking image data;
Data memory module 30 is used for sub-image data described in several pieces according to logical process channel Distribution dynamics Correspondence is stored.
Preferably, logical process channel Distribution dynamics include: when the corresponding spray head of software treatment channel, At least one logical process channel is distributed for the column nozzle on a spray head is corresponding;When a software treatment channel is corresponding a kind of When color, then a spray head is corresponding distributes at least one logical process channel;When one software treatment channel is one corresponding When data processor, then a spray head or a column nozzle on a spray head or a kind of color is corresponding distributes at least one logic Manage channel.
Preferably, described device further include:
Image data memory module, for by described image data in the way of fifo queue with normal print mode or Printing model is inserted into be stored in the memory;
Wherein, the normal print mode indicates described image data according to fifo queue Sequential output, and the insertion is beaten Other task datas are inserted into watermark patterns expression in the output stream of the normal print mode.
Preferably, described device further include:
Described image data are sent in sequence in slave computer by image data sending module for host computer.
Preferably, described device further include:
Parameter acquisition module, for obtaining the offset parameter and number Rc in the logical process channel for currently needing to read;
Storage address obtains module, currently needs to read for calculating to obtain according to the offset parameter and the number Rc The corresponding data in logical process channel actual storage address in the memory;
Sub-image data extraction module, for according to the corresponding sub-image data of the actual storage address extraction.
Preferably, the acquisition currently needs the number Rc in the logical process channel read to include:
Lc-Lco=Rc
Wherein, Lc indicates that address obtains the value of counter, and Lco indicates the current logical process channel for needing to read Offset parameter.
Preferably, described to calculate the logical process for obtaining and currently needing to read according to the offset parameter and the number Rc Calculation formula in the actual storage address of the corresponding data in channel in the memory are as follows:
(Rc × Sc × Sp+Lcs) × Lcn+Fa=La
Wherein, Sc indicates the total quantity in logical process channel, and Sp indicates the total quantity of software treatment channel, and Lcs expression is worked as Before the logical process channel to be read number, Lcn indicates that the corresponding data length in single logical process channel, Fa indicate data The initial address of storage, La indicate the actual storage address of the current corresponding data in logical process channel for needing to read.
Preferably, described device further include:
Interface message obtains module, the number for the sub-image data that each interface for obtaining driver obtains;
Sub-image data sending module, for sub-image data described in several pieces to be sent in sequence to the caching of corresponding interface In space;
Module is printed out, the print data for the data in the spatial cache to be combined into predetermined format, which exports, beats Print.
In addition, the print data processing method in conjunction with Fig. 1 embodiment of the present invention described can be set by print data processing It is standby to realize.Figure 10 shows the hardware structural diagram of print data processing equipment provided in an embodiment of the present invention.
Print data processing equipment may include processor 401 and the memory 402 for being stored with computer program instructions.
Specifically, above-mentioned processor 401 may include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement implementation of the present invention One or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory 402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming (EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and executing the computer program instructions stored in memory 402, to realize above-mentioned implementation Any one print data processing method in example.
In one example, print data processing equipment may also include communication interface 403 and bus 410.Wherein, such as Figure 10 Shown, processor 401, memory 402, communication interface 403 connect by bus 410 and complete mutual communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipment Communication.
Bus 410 includes hardware, software or both, and the component of print data processing equipment is coupled to each other together.It lifts It for example rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing Industry Standard Architecture (EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infinite bandwidth interconnect, are low Number of pins (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI- Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part (VLB) bus or The combination of other suitable buses or two or more the above.In a suitable case, bus 410 may include one Or multiple buses.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers any suitable bus Or interconnection.
In addition, the embodiment of the present invention can provide a kind of computer in conjunction with the print data processing method in above-described embodiment Readable storage medium storing program for executing is realized.Computer program instructions are stored on the computer readable storage medium;The computer program refers to Enable any one print data processing method realized in above-described embodiment when being executed by processor.
In conclusion print data processing method provided in an embodiment of the present invention, device and equipment, the present invention is by will be to Print image data carries out just splitting into image data according to software treatment channel, then distributes and advises according still further to logical process channel Rule carries out splitting into several pieces sub-image data, treats print image data by the combination of software and hardware and carries out at fractionation Reason, improves the speed of data processing, saves the time, improves printing effect.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of print data processing method, which is characterized in that the described method includes:
Image data to be printed is split into image data according to software treatment channel;
By described image data, logically treatment channel Distribution dynamics split into several pieces sub-image data;
In memory according to the corresponding storage of logical process channel Distribution dynamics by sub-image data described in several pieces.
2. print data processing method according to claim 1, which is characterized in that logical process channel Distribution dynamics It include: to distribute at least one when the corresponding spray head of a software treatment channel for the column nozzle on a spray head is corresponding Logical process channel;When a software treatment channel corresponds to a kind of color, then a spray head is corresponding distributes at least one logic Treatment channel;When the corresponding data processor of one software treatment channel, then on a spray head or a spray head One column nozzle or a kind of corresponding at least one the logical process channel of distribution of color.
3. print data processing method according to claim 2, which is characterized in that press image data to be printed described Image data is split into according to software treatment channel and described by the logically treatment channel Distribution dynamics fractionation of described image data At between several pieces sub-image data, the method also includes:
Described image data are stored in the storage in the way of fifo queue with normal print mode or insertion printing model In device;
Wherein, the normal print mode indicates described image data according to fifo queue Sequential output, the insertion impression block Other task datas are inserted into formula expression in the output stream of the normal print mode.
4. print data processing method according to claim 1, which is characterized in that it is described by described image data according to Before the mode of fifo queue is stored in the memory with normal print mode or insertion printing model, the method is also wrapped It includes:
Described image data are sent in sequence in slave computer by host computer.
5. print data processing method according to any one of claims 1 to 4, which is characterized in that the method also includes:
Obtain the offset parameter and number Rc in the logical process channel for currently needing to read;
The corresponding data in logical process channel for obtaining and currently needing to read are calculated according to the offset parameter and the number Rc Actual storage address in the memory;
According to the corresponding sub-image data of the actual storage address extraction.
6. print data processing method according to claim 5, which is characterized in that the acquisition is current to need that reads to patrol The number Rc of volume treatment channel includes:
Lc-Lco=Rc
Wherein, Lc indicates that address obtains the value of counter, and Lco indicates the offset in the current logical process channel for needing to read Parameter.
7. print data processing method according to claim 6, which is characterized in that described according to the offset parameter and institute It states number Rc and calculates the actual storage of the corresponding data in logical process channel for obtaining and currently needing to read in the memory Calculation formula in address are as follows:
(Rc × Sc × Sp+Lcs) × Lcn+Fa=La
Wherein, Sc indicates the total quantity in logical process channel, and Sp indicates the total quantity of software treatment channel, and Lcs expression is currently wanted The number in the logical process channel of reading, Lcn indicate that the corresponding data length in single logical process channel, Fa indicate data storage Initial address, La indicates the current actual storage address of the corresponding data in logical process channel for needing to read.
8. print data processing method according to claim 7, which is characterized in that the method also includes:
The each interface for obtaining driver transmits the number of the sub-image data;
Sub-image data described in several pieces is sent in sequence in the spatial cache of corresponding interface;
Data in the spatial cache are combined into the print data output printing of predetermined format.
9. a kind of print data processing apparatus, which is characterized in that described device includes:
First data split module, for image data to be printed to be split into image data according to software treatment channel;
Second data split module, for by described image data, logically treatment channel Distribution dynamics to split into several one's shares of expenses for a joint undertaking Image data;
Data memory module, for by sub-image data described in several pieces according to logical process channel Distribution dynamics it is corresponding into Row storage.
10. a kind of print data processing equipment characterized by comprising at least one processor, at least one processor and The computer program instructions of storage in the memory, are realized when the computer program instructions are executed by the processor Such as method of any of claims 1-8.
CN201811491143.1A 2018-12-07 2018-12-07 Print data processing method, device and equipment Active CN109664620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811491143.1A CN109664620B (en) 2018-12-07 2018-12-07 Print data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811491143.1A CN109664620B (en) 2018-12-07 2018-12-07 Print data processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN109664620A true CN109664620A (en) 2019-04-23
CN109664620B CN109664620B (en) 2020-03-13

Family

ID=66144651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811491143.1A Active CN109664620B (en) 2018-12-07 2018-12-07 Print data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN109664620B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187851A (en) * 2019-05-25 2019-08-30 森大(深圳)技术有限公司 Ink-jet printer data processing method, device, equipment and storage medium
CN110347356A (en) * 2019-07-13 2019-10-18 森大(深圳)技术有限公司 Image local area Method of printing, device and storage medium
CN110561929A (en) * 2019-08-23 2019-12-13 深圳市汉森软件有限公司 scanning type ink-jet printing control method, device, equipment and storage medium
CN112114759A (en) * 2020-08-03 2020-12-22 南通旭浩数码科技有限公司 Ink-jet printing data processing method
CN114516225A (en) * 2020-11-20 2022-05-20 深圳市汉森软件有限公司 Method, device, equipment and medium for printing by splitting image data to different directions

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693098A (en) * 2011-03-24 2012-09-26 富士施乐株式会社 Image data processing system
CN103029458A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Control system and method for digital printing
CN103448390A (en) * 2012-06-05 2013-12-18 北大方正集团有限公司 Digital printing control method and equipment
CN103909730A (en) * 2013-01-07 2014-07-09 北大方正集团有限公司 Data processing method and device and ink-jet printer
CN104077233A (en) * 2014-06-18 2014-10-01 百度在线网络技术(北京)有限公司 Single-channel convolution layer and multi-channel convolution layer handling method and device
CN104170364A (en) * 2012-01-10 2014-11-26 京瓷办公信息系统株式会社 Image processing apparatus and image forming apparatus
CN104972743A (en) * 2014-04-04 2015-10-14 北大方正集团有限公司 Ink jet printing method and ink jet printing device
CN106610799A (en) * 2015-10-27 2017-05-03 北大方正集团有限公司 Data division delay processing method, device and system of ink jet printing
CN107521226A (en) * 2016-06-21 2017-12-29 北大方正集团有限公司 A kind of data processing method, device and ink-jet printer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693098A (en) * 2011-03-24 2012-09-26 富士施乐株式会社 Image data processing system
CN103029458A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Control system and method for digital printing
CN104170364A (en) * 2012-01-10 2014-11-26 京瓷办公信息系统株式会社 Image processing apparatus and image forming apparatus
CN103448390A (en) * 2012-06-05 2013-12-18 北大方正集团有限公司 Digital printing control method and equipment
CN103909730A (en) * 2013-01-07 2014-07-09 北大方正集团有限公司 Data processing method and device and ink-jet printer
CN104972743A (en) * 2014-04-04 2015-10-14 北大方正集团有限公司 Ink jet printing method and ink jet printing device
CN104077233A (en) * 2014-06-18 2014-10-01 百度在线网络技术(北京)有限公司 Single-channel convolution layer and multi-channel convolution layer handling method and device
CN106610799A (en) * 2015-10-27 2017-05-03 北大方正集团有限公司 Data division delay processing method, device and system of ink jet printing
CN107521226A (en) * 2016-06-21 2017-12-29 北大方正集团有限公司 A kind of data processing method, device and ink-jet printer

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187851A (en) * 2019-05-25 2019-08-30 森大(深圳)技术有限公司 Ink-jet printer data processing method, device, equipment and storage medium
CN110187851B (en) * 2019-05-25 2021-06-15 森大(深圳)技术有限公司 Data processing method, device, equipment and storage medium for ink-jet printer
CN113176866A (en) * 2019-05-25 2021-07-27 森大(深圳)技术有限公司 Data processing method, device, equipment and storage medium for ink-jet printer
CN113176866B (en) * 2019-05-25 2024-03-22 森大(深圳)技术有限公司 Method, device, equipment and storage medium for processing data of ink-jet printer
CN110347356A (en) * 2019-07-13 2019-10-18 森大(深圳)技术有限公司 Image local area Method of printing, device and storage medium
CN110347356B (en) * 2019-07-13 2024-01-26 森大(深圳)技术有限公司 Image local area printing method, device and storage medium
CN110561929A (en) * 2019-08-23 2019-12-13 深圳市汉森软件有限公司 scanning type ink-jet printing control method, device, equipment and storage medium
CN110561929B (en) * 2019-08-23 2020-06-26 深圳市汉森软件有限公司 Scanning type ink-jet printing control method, device, equipment and storage medium
CN112114759A (en) * 2020-08-03 2020-12-22 南通旭浩数码科技有限公司 Ink-jet printing data processing method
CN112114759B (en) * 2020-08-03 2024-02-09 广州旭成电子科技有限公司 Ink-jet printing data processing method
CN114516225A (en) * 2020-11-20 2022-05-20 深圳市汉森软件有限公司 Method, device, equipment and medium for printing by splitting image data to different directions

Also Published As

Publication number Publication date
CN109664620B (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN109664620A (en) Print data processing method, device and equipment
CN109697040A (en) Print data processing method, equipment and printer
CN102152668B (en) Printing apparatus and processing method thereof
CN105656805A (en) Packet receiving method and device based on control block predistribution
US6429950B1 (en) Method and apparatus for applying object characterization pixel tags to image data in a digital imaging device
CN109739449B (en) Method, device, equipment and medium for synchronously processing printing parameters and printing data
CN109471602A (en) Print data method for dividing and processing, device and printing device
JP4732316B2 (en) Image processing apparatus, recording apparatus, image processing method, program, and storage medium
KR100512666B1 (en) A printer controller, printer control method, and data storage medium for recording the controller and control method
CN101393610B (en) Transmission method and apparatus for dot matrix data
CN110018792A (en) One kind is to rule data processing method, device, electronic equipment and storage medium
CN102461146A (en) High speed page processing and transmission
CN101306606A (en) Data transmission apparatus and method of controlling the same and method of processing data
CN107521109A (en) A kind of method of work of 3D printing device
JP6230258B2 (en) Image processing apparatus and image processing method
JP5895428B2 (en) Printing apparatus and control method thereof
US7522303B2 (en) Printer having multiple interface units that output status information
CN101354750B (en) Data processing method, printing equipment, apparatus and system for digital printing
JP2003241983A (en) Information processor and information processing method
JP4320905B2 (en) Printer control apparatus, printer control method, and information recording medium
JP7238457B2 (en) printer
CN104518800A (en) Method and device for data compression of electronic supervision code
JPH11179975A (en) Color printer control device
DE102014111304B4 (en) Homogeneous device access method which removes physical device drivers in a computer operating system
JP4259328B2 (en) Image processing apparatus, printer, and method for reading stored data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant