A kind of data processing method, device and ink-jet printer
Technical field
The present invention relates to computer printing application technical field more particularly to a kind of data processing methods, device and ink-jet
Printing machine.
Background technique
With the development of ink-jet printing technology, more stringent requirements are proposed for precision of the market to ink-jet produced print, to want
Ask nozzle manufacturer that the printing precision of nozzle is continuously improved, printing precision can use DPI (Dots Per Inch, the spray of per inch
Mouth number) it describes.Due to the limitation of nozzle processing technology, the distance between nozzle cannot be too small, and therefore, many nozzle producers adopt
Spliced with multiple rows of nozzle, the DPI projected in this way perpendicular to page orientation is just increased, to improve printing precision.But
This joining method also brings no small problem to data processing, needs to tear image point matrix data open according to nozzle rule
Divide delay disposal, so that image is correctly presented on medium.
Fractionation delay disposal is carried out according to nozzle rule according to dot array data of the software to piece image, relies on computer
Powerful operation and a large amount of memory sources, realization data that can be inexpensive 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, can not meet current flying print is needed
It asks.
It is torn open according to dot array data of the hardware (such as programmable logic device) to piece image according to nozzle rule
Divide delay disposal, the advantage of programmable logic device alignment operation can be efficiently used, but the operation for splitting delay disposal needs
A large amount of internal storage, cost will greatly increase.
If using external memory completely, the demand to internal storage can be reduced, but when nozzle arrangement rule
It is especially complex, can not be by a line number according to splitting into several a large amount of data packets, but data of many 1 or several bytes
Packet, it will frequently external memory read/write is operated, reduces data processing speed.
It can be seen that above-mentioned processing method has that print speed is slow, at high cost, memory read/write is frequent.
Summary of the invention
The present invention provides a kind of data processing method, device and ink-jet printer, solves the print of ink-jet in the prior art
The problem that print speed is slow during brush, memory read/write is frequent.
According to one aspect of the present invention, a kind of data processing method is provided, comprising:
One line image dot array data is split as n group image point matrix data according to default injector configuration rule;Wherein, it presets
All nozzles are divided into multiple virtual rows in injector configuration rule, and n is included multiple numbers of rows virtually arranged;
By n group image point matrix data according in the first preset address rule write-in external memory;
N group image point matrix data is read according to the sequence of addresses of external memory and is write according to the second preset address rule
Enter in internal storage;
N group image point matrix data is read according to the sequence of addresses of internal storage and is sent to nozzle.
Another aspect according to the present invention additionally provides a kind of data processing equipment, comprising:
Module is split, for a line image dot array data to be split as n group image lattice according to default injector configuration rule
Data;Wherein, all nozzles in injector configuration rule are preset and are divided into multiple virtual rows, n is included multiple rows virtually arranged
Number;
First processing module, for external memory to be written according to the first preset address rule in n group image point matrix data
In;
Second processing module, for the sequence of addresses according to external memory by n group image point matrix data read and according to
Second preset address rule is written in internal storage;
N group image point matrix data is read for the sequence of addresses according to internal storage and is sent to spray by read module
Mouth.
Another aspect according to the present invention additionally provides a kind of ink-jet printer, including data processing as described above
Device.
The beneficial effect of the embodiment of the present invention is:
By being used cooperatively external memory and internal storage, make full use of external memory storage data quantity big, interior
Memory data read operation processing speed fast feature in portion's improves image point matrix data under the premise of not increasing cost
Delay disposal speed is split, and then improves print speed.
Detailed description of the invention
Fig. 1 shows the flow diagrams of the data processing method of the embodiment of the present invention one;
Fig. 2 indicates that the nozzle of the embodiment of the present invention one is virtually arranged and divides schematic diagram;
Fig. 3 indicates the flow diagram of step S101 in the embodiment of the present invention two;
Fig. 4 indicates that the multi-thread image point matrix data of the embodiment of the present invention two splits schematic diagram;
Fig. 5 indicates the memory space schematic diagram of the reading and writing data of two external memory of the embodiment of the present invention;
Fig. 6 indicates the memory space schematic diagram of the reading and writing data of internal storage in the embodiment of the present invention two;
Fig. 7 indicates the modular structure schematic diagram of data processing equipment of the invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
Embodiment one
As shown in Figure 1, the embodiment provides a kind of data processing methods, specifically includes the following steps:
Step S101: a line image dot array data is split as n group image point matrix data according to default injector configuration rule.
Wherein, above-mentioned line image dot array data is the line in the multi-thread image point matrix data received.Default nozzle
All nozzles are divided into multiple virtual rows in arrangement rule, and n is included multiple numbers of rows virtually arranged.That is, will own
Nozzle is divided into n virtual rows according to default injector configuration rule, and a line image dot array data is split as according to n virtual rows
N group image point matrix data.
As shown in Fig. 2, the present embodiment is illustrated so that nozzle is divided into 4 virtual rows as an example, 4 virtual rows are respectively using real
Heart circle, black triangle, filled square, solid five-pointed star indicate that the DPI of 4 virtual row's nozzles is 4 times of single row of nozzles,
So as to increase the DPI of nozzle.The line image dot array data T received is split as tetra- groups of image lattice numbers of A, B, C and D
According to, wherein corresponding one virtual row of one group of image point matrix data.
Step S102: by n group image point matrix data according in the first preset address rule write-in external memory.
Wherein, the data volume size of the first preset address rule and every group of image point matrix data in n group image point matrix data
And the value of n is related.External memory is initialized, after all memory spaces are assigned a value of zero, by the n of fractionation
Group image point matrix data is according in the corresponding address space of the first preset address rule write-in external memory.Due to external storage
The memory space of device is big, therefore writable a large amount of dot array datas.
Step S103: n group image point matrix data is read according to the sequence of addresses of external memory and is preset according to second
Address rule is written in internal storage.
Although the memory space of external memory is big, its read or write speed is slower, does not meet printing requirement of real-time, and interior
Although portion's memory memory space is smaller, its read or write speed quickly, meets printing requirement of real-time.Therefore implementation of the invention
The characteristics of example makes full use of external memory and internal storage is deposited outside the n group image point matrix data write-in after splitting
After reservoir, needs to be read according to the sequence of addresses of external memory and internal storage is written.Wherein, the second preset address
It is regular virtually arranged with every row in included number of nozzle it is related.
Step S104: n group image point matrix data is read according to the sequence of addresses of internal storage and is sent to nozzle.
Using the fast characteristic of internal storage reading speed, image point matrix data of the caching into internal storage is read
And it is sent to nozzle, so that nozzle ink jet printing is completed to the line image dot array data print job received.Circulating repetition
Above-mentioned steps S101 to S104 can realize the printing to the multi-thread image point matrix data received, by by multi-thread picture point
A line image dot array data in battle array data virtually discharges into capable fractionation according to fractionation, and is used cooperatively external memory and inside
Memory makes full use of the feature that external memory storage data quantity is big, internal memory data read operation processing speed is fast,
It improves image point matrix data and splits delay disposal speed.
Embodiment two
Above embodiments one simply describe data processing method of the invention, below will be based on embodiment one and specific
Application scenarios are described further explanation to it.
Specifically, as shown in figure 3, step S101 the following steps are included:
Step S301: according to the arrangement regulation of all nozzles in the x direction and the y direction, all nozzles are divided into n virtually
Row.
Wherein, X-direction is the direction perpendicular to page orientation, and Y-direction is page orientation, to all nozzles in X-direction and Y
The rule in direction is analyzed, and all nozzles is divided into n virtual rows, nozzle number and regular phase in each virtual row
Together.The Y-direction coordinate value of different spray nozzles in same virtual row is different, the different virtual Y-direction coordinates for arranging interior corresponding nozzle
The difference of value is identical, and each virtual row includes m nozzle, and m is positive integer.That is, the nozzle number in each virtual row is identical, all
It is m nozzle;The Y value of nozzle in virtual row is not all identical, but the difference phase in different virtual rows between corresponding nozzle Y value
Together, the corresponding nozzle in two virtual rows is identical along the distance of Y-direction.
Specifically, as shown in Fig. 2, all nozzles are divided into n virtual rows, the 1st nozzle each virtually arranged is in the side Y
To coordinate be respectively P1、P2…Pn.Wherein, the difference of the different virtual Y-direction coordinate values for arranging interior corresponding nozzle is identical, i.e.,
In first virtual row between first nozzle and second nozzle Y-direction coordinate value difference, be equal to first in other virtual rows
The difference of Y-direction coordinate value between a nozzle and second nozzle.The distance phase of corresponding nozzle in two virtual rows along Y-direction
Together, i.e., in the first virtual row first jet and the Y-direction coordinate value of first jet in the second virtual row difference, be equal to the first void
The difference of second nozzle and the Y-direction coordinate value of second nozzle in the second virtual row in quasi- row, that is to say, that adjacent virtual was arranged
Postpone identical.
By taking 4 virtual row's nozzles as an example, 4 rows virtually arrange respectively using solid circles A, filled square B, black triangle C,
Solid five-pointed star D indicates, 4 rows virtually arrange in the coordinate value of first nozzle respectively arranging in Y-axis be followed successively by 1,3,7,9.4 rows are empty
The DPI of the nozzle of quasi- row is 4 times of single row of nozzles.To can be seen that the DPI of nozzle is increased.Wherein, the second spray virtually arranged
The nozzle (solid circular pattern expression) that mouth (expression of black triangle pattern) is virtually arranged relative to first needs to postpone 2 lines and beats
Print;Nozzle (the solid circular pattern table that the nozzle (expression of filled square pattern) that third is virtually arranged virtually is arranged relative to first
Show) need to postpone the printing of 6 lines;The nozzle that 4th nozzle (solid five-pointed star pattern indicates) virtually arranged virtually is arranged relative to first
(solid circular pattern expression) needs to postpone the printing of 8 lines.
Step S302: successively receiving multi-thread image point matrix data, after receiving a line image dot array data, to a line chart
As dot array data is split as n group image point matrix data according to virtual row.
Wherein, the step of step S302 specifically: according to the X-direction coordinate value virtually arranged, by a line image dot array data
The identical point data of middle X-direction coordinate value is split as one group.
Wherein, the nozzle X-direction coordinate range having the same in same virtual row.That is, by a line image
Dot array data is split as one group according to the correspondence point data that X-direction coordinate is in same range, and a line number is according to detachable altogether
For n group, corresponding n arranges nozzle.
It is specific as shown in a kind of multi-thread image point matrix data fractionation schematic diagram of Fig. 4, processor, which successively receives, to be transmitted
Multi-thread image point matrix data successively receives the 1st line image dot array data T1To jth line image dot array data Tj, j > 1).
After receiving a line image dot array data, by the line image dot array data according to its (paper feed side in the Y direction
To) on the number of rows of corresponding nozzle be split as 4 groups of image point matrix datas;By jth line image dot array data TjIt is split as AjRegion
Data, BjThe data in region, CjThe data and D in regionjThe data in region;AjThe data in region refer to jth line image dot array data Tj
In data corresponding with first virtual row's nozzle in the Y direction, BjThe data in region refer to jth line image dot array data TjIn in the side Y
Data corresponding with second virtual row's nozzle upwards, CjThe data in region refer to jth line image dot array data TjIn in the Y direction with
Third virtually arranges the corresponding data of nozzle, DjThe data in region are to jth line image dot array data TjIn in the Y direction with the 4th void
It is quasi- to arrange the corresponding data of nozzle.
Further, the n group image point matrix data above-mentioned fractionation obtained is written external according to the first preset address rule
In memory.Wherein, the first preset address rule are as follows: (Pi-P1+ j-1) * nS+ (i-1) S, using page orientation as Y-direction, first
Row virtually drain into the i-th row virtually arrange in the coordinate of the corresponding Y-direction in first jet position be respectively P1To Pi, it is virtual that i indicates that n is arranged
I-th of virtual row in row;J indicates the jth line lattice data in multi-thread image point matrix data, and S indicates corresponding per virtual row
Address space required for dot array data.
Wherein, by taking 4 rows virtually arrange as an example, wherein 4 rows virtually arrange in the coordinate value of first nozzle respectively arranging in Y-axis
It is followed successively by P1=1, P2=3, P3=7, P4=9.As shown in figure 5, when receiving the 1st line number evidence, the first first spray virtually arranged
Mouth P1Data write-in address be 0;The second first nozzle P virtually arranged2The address write is (P2-P1+j-1)*nS+(i-1)
S, i.e. (3-1+1-1*4S+2-1S=9S;The address for first nozzle P3 write-in that third is virtually arranged is (7-1+1-1) * 4S+ (3-
1) S=26S;4th virtually ranked first a nozzle P4Data writing address be (9-1+1-1) * 4S+ (4-1) S=35S.
When receiving the 2nd line number evidence, the first first nozzle P virtually arranged1Data write-in address be (1-1+2-
1) * 4S+ (1-1) S=4S;The second first nozzle P virtually arranged2The address write is (3-1+2-1) * 4S+ (2-1) S=13S;
First nozzle P that third is virtually arranged3The address of write-in is (7-1+2-1) * 4S+ (3-1) S=30S;4th virtually ranked first
Nozzle P4Data writing address be (9-1+2-1) * 4S+ (4-1) S=39S.
When receiving jth line number evidence, the first first nozzle P virtually arranged1Data write-in address be (j-1) * 4S;
The second first nozzle P virtually arranged2The address write is (1+j) * 4S+S;First nozzle P that third is virtually arranged3The ground of write-in
Location is (5+j) * 4S+2S;4th virtually ranked first a nozzle P4Data writing address be (7+j) * 4S+3S.
That is, when receiving the 1st line image dot array data, A1The address of the data write-in in region is 0;B1The data in region are write
The address entered is 9S;C1The address of the data write-in in region is 26S;D1The address of the data write-in in region is 35S.
When receiving the 2nd line image dot array data, A2The address of the data write-in in region is 4S;B2The data in region are written
Address be 13S;C2The address of the data write-in in region is 30S;D2The address of the data write-in in region is 39S.
When receiving the 3rd line image dot array data, A3The address of the data write-in in region is 8S;B3The data in region are written
Address be 17S;C3The address of the data write-in in region is 34S;D3The address of the data write-in in region is 43S.
When receiving jth line image dot array data, AjThe address of the data write-in in region is (j-1) * 4S;BjThe number in region
Address according to write-in is (1+j) * 4S+S=(4j+5) S;CjThe address of the data write-in in region is (5+j) * 4S+2S=(22+
4j)S;DjThe address of the data write-in in region is (7+j) * 4S+3S=(31+4j) S.
Further, step S103 specifically: according to corresponding in the sequence of addresses reading external memory of external memory
Dot array data at address obtains n group image point matrix data;N group image point matrix data is write according to the second preset address rule
Enter in internal storage.
Wherein, the sequence of addresses of external memory are as follows: (j-1) * nS+ (i-1) S, wherein i is indicated i-th in the virtual row of n row
A virtual row;J indicates the jth line lattice data in multi-thread image point matrix data, and S indicates the dot array data corresponding per virtual row
Required address space.When internal storage has spatial cache, data are read according to the sequence of addresses of external memory.
Wherein, by taking 4 rows virtually arrange as an example, as shown in figure 5, when read the 1st line number according to when, read the first nozzle for virtually arranging
The address of corresponding data is 0, and the data of reading are A1;The address of the second nozzle corresponding data virtually arranged is S, the data of reading
For initial value of zero;The address for the nozzle corresponding data that third is virtually arranged is 2S, and the data of reading are initial value of zero;4th virtual row
The address of nozzle corresponding data be 3S, the data of reading are initial value of zero.
When read the 2nd line number according to when, it is 4S that processor, which reads the address of nozzle corresponding data that first virtually arranges, reading
Data are A2;The address of the second nozzle corresponding data virtually arranged is 5S, and the data of reading are initial value of zero;What third was virtually arranged
The address of nozzle corresponding data is 6S, and the data of reading are initial value of zero;The address of the 4th nozzle corresponding data virtually arranged is
7S, the data of reading are initial value of zero.
When read the 3rd line number according to when, it is 8S that processor, which reads the address of nozzle corresponding data that first virtually arranges, reading
Data are A3;The address of the second nozzle corresponding data virtually arranged is 9S, and the data of reading are B1;The nozzle pair that third is virtually arranged
The address for answering data is 10S, and the data of reading are initial value of zero;The address of the 4th nozzle corresponding data virtually arranged is 11S, is read
Data out are initial value of zero.
When read jth line number according to when, it is (4j-4) S that processor, which reads the address of nozzle corresponding data that first virtually arranges,
The data of reading are Aj;The address of the second nozzle corresponding data virtually arranged is (4j-3) S, and the data of reading are Bj-2;Third is empty
The address of the nozzle corresponding data of quasi- row is (4j-2) S, and the data of reading are Cj-6;The 4th nozzle corresponding data virtually arranged
Address is (4j-1) S, and the data of reading are Dj-8。
Further, storage inside is written into n group image point matrix data according to the second preset address rule in step S103
The second preset address rule in device are as follows: (Qk-Q1+ j-1) * m+ (k-1), wherein it is virtual to arrange interior first nozzle location to kth
The coordinate of the corresponding Y-direction of a nozzle location is respectively Q1To Qk, k indicate a row virtually arrange in k-th of nozzle, the value range of k
M is arrived for 1, m indicates the number of nozzle for being included in each virtual row.
Specifically, as shown in Fig. 2, all nozzles are divided into 4 virtual rows, i.e., virtual number of rows amount n is 4, then including needing
Portion's memory built founds 4 pieces of spatial caches, since the rule in each virtual row is identical, such as following just for the first void
Quasi- row's (solid circular pattern expression) is illustrated.
As shown in fig. 6, including altogether m nozzle in virtual row, by taking four nozzles as an example, wherein the Y of the 1st nozzle is sat
It is designated as Q1=1;The Y-coordinate of 2nd nozzle is Q2=2;The Y-coordinate of 3rd nozzle is Q3=3;The Y-coordinate of 4th nozzle is Q4
=4.
Specifically, as shown in figure 5, when be written the 1st line number according to when, address that the 1st nozzle data is write is (Q1-Q1+j-1)*
M+ (1-1)=(1-1+1-1) * m+ (1-1)=0, the data of write-in are A11(the A of reading1The 1st in data);2nd nozzle
The address that data are write is (2-1+1-1) * m+ (2-1)=m+1=5, and the data of write-in are A12(the A of reading1The 2nd in data
It is a);The address that 3rd nozzle data is write is (3-1+1-1) * m+ (3-1)=2m+2=10, and the data of write-in are A13(reading
A1The 3rd in data);The address that 4th nozzle data is write is (4-1+1-1) * m+ (4-1)=3m+3=15, the number of write-in
According to for A14(the A of reading1The 4th in data).
When be written the 2nd line number according to when, address that the 1st nozzle data is write is (Q1-Q1+ j-1) * m+ (1-1)=(1-1+2-
1) * m+ (1-1)=4, the data of write-in are A21(the A of reading2The 1st in data);The address that 2nd nozzle data is write is
(2-1+2-1) * m+ (2-1)=2m+1=9, the data of write-in are A22(the A of reading2The 2nd in data);3rd nozzle number
It is (3-1+2-1) * m+ (3-1)=3m+2=14 according to the address write, the data of write-in are A23(the A of reading2The 3rd in data
It is a);The address that 4th nozzle data is write is (4-1+2-1) * m+ (4-1)=4m+3=19, and the data of write-in are A24(reading
A2The 4th in data).
When be written jth line number according to when, address that the 1st nozzle data is write is (Q1-Q1+ j-1) * m+ (1-1)=(j-1) m=
4j-4, the data of write-in are Aj1(the A of readingjThe 1st in data);The address that 2nd nozzle data is write is (2-1+j-1) * m
+ (2-1)=jm+1=4j+1, the data of write-in are Aj2(the A of readingjThe 2nd in data);The ground that 3rd nozzle data is write
Location is (3-1+j-1) * m+ (3-1)=(1+j) m+2=4j+6, and the data of write-in are Aj3(the A of readingjThe 3rd in data);
The address that 4th nozzle data is write is (4-1+j-1) * m+ (4-1)=(2+j) m+3=4j+11, and the data of write-in are Aj4It (reads
AjThe 4th in data).
Further, step S104 specifically: read according to the sequence of addresses of internal storage corresponding in internal storage
Dot array data at address is simultaneously sent to corresponding nozzle.Wherein, the sequence of addresses of internal storage are as follows: (j-1) * m+ (k-1),
M indicates the number of nozzle for being included in each virtual row.
As shown in fig. 6, by every row virtually arranges include 4 nozzles for, when read the 1st line number according to when, read the 1st spray
The address of mouth corresponding data is 0, and the data of reading are A11;The address of 2nd nozzle corresponding data is 1, and the data of reading are first
Initial value zero;The address of 3rd nozzle corresponding data is 2, and the data of reading are initial value of zero;The ground of 4th nozzle corresponding data
Location is 3, and the data of reading are initial value of zero.
When reading the 2nd line number evidence, the address that processor reads the 1st nozzle corresponding data is 4, and the data of reading are
A21;The address of 2nd nozzle corresponding data is 5, and the data of reading are A12;The address of 3rd nozzle corresponding data is 6, is read
Data be initial value of zero;The address of 4th nozzle corresponding data is 7, and the data of reading are initial value of zero.
When reading the 3rd line number evidence, the address that processor reads the 1st nozzle corresponding data is 8, and the data of reading are
A31;The address of 2nd nozzle corresponding data is 9, and the data of reading are A22;The address of 3rd nozzle corresponding data is 10, is read
Data out are A31;The address of 4th nozzle corresponding data is 11, and the data of reading are initial value of zero.
When reading jth line number evidence, the address that processor reads the 1st nozzle corresponding data is (4j-4), the number of reading
According to for Aj1;The address of 2nd nozzle corresponding data is (4j-3), and the data of reading are A(j-1)2;3rd nozzle corresponding data
Address is (4j-2), and the data of reading are A(j-2)3;The address of 4th nozzle corresponding data is (4j-1), and the data of reading are
A(j-3)4。
Further, n group image point matrix data is read in the sequence of addresses according to internal storage and is sent to nozzle
The step of after, further includes: control nozzle carry out ink jet printing after receiving the data.
To sum up, the present embodiment makes full use of external memory to deposit by being used cooperatively external memory and internal storage
The feature that storage data volume is big, internal memory data read operation processing speed is fast improves under the premise of not increasing cost
Image point matrix data splits delay disposal speed, and then improves print speed.
Embodiment three
Above embodiments one and embodiment two describe data processing method of the invention from different application scenarios respectively,
The present embodiment three will be described further its corresponding device in conjunction with attached drawing below.
Specifically, as shown in fig. 7, the data processing equipment specifically includes:
Module 71 is split, for a line image dot array data to be split as n group picture point according to default injector configuration rule
Battle array data;Wherein, all nozzles in injector configuration rule are preset and are divided into multiple virtual rows, n is included multiple virtually to be arranged
Number of rows;
First processing module 72, for external storage to be written according to the first preset address rule in n group image point matrix data
In device;
N group image point matrix data is read and is pressed for the sequence of addresses according to external memory by Second processing module 73
According in the second preset address rule write-in internal storage;
N group image point matrix data is read and is sent to for the sequence of addresses according to internal storage by read module 74
Nozzle.
Wherein, splitting module includes:
All nozzles are divided into n for the arrangement regulation according to all nozzles in the x direction and the y direction by division unit
Virtual row;Wherein, X-direction is the direction perpendicular to page orientation, and Y-direction is page orientation, the different sprays in same virtual row
The Y-direction coordinate value of mouth is different, and the difference of the different virtual Y-direction coordinate values for arranging interior corresponding nozzle is identical, each virtual row
Including m nozzle, m is positive integer;
Split cells, for successively receiving multi-thread image point matrix data, after receiving a line image dot array data, to one
Line image dot array data is split as n group image point matrix data according to virtual row.
Further, split cells is specifically used for: according to the X-direction coordinate value virtually arranged, by a line image dot array data
The identical point data of middle X-direction coordinate value is split as one group.
Wherein, the first preset address rule are as follows: (Pi-P1+j-1)*nS+(i-1)S;
First processing module includes:
First cache unit, for external memory to be written in n group image point matrix data according to the first preset address rule
In;
Wherein, using page orientation as Y-direction, first row virtually drain into the i-th row virtually arrange in the corresponding Y in first jet position
The coordinate in direction is respectively P1To Pi, i expression n, which is arranged in virtual row, virtually to be arranged for i-th;J indicates in multi-thread image point matrix data
J line lattice data, S are indicated per address space required for the corresponding dot array data of virtual row.
Wherein, the sequence of addresses of external memory are as follows: (j-1) * nS+ (i-1) S;
Second processing module includes:
First reading unit, at corresponding address in the sequence of addresses reading external memory according to external memory
Dot array data obtains n group image point matrix data;
Second cache unit, for internal storage to be written in n group image point matrix data according to the second preset address rule
In.
Wherein, the second preset address rule are as follows: (Qk-Q1+j-1)*m+(k-1);
Second cache unit is specifically used for: according to the second preset address rule, n group image point matrix data write-in inside being deposited
In reservoir;
Wherein, the virtual coordinate for arranging interior first nozzle location to the corresponding Y-direction of k-th of nozzle location is respectively Q1Extremely
Qk, k indicate a row virtually arrange in k-th of nozzle, m indicates the interior number of nozzle for being included of each virtual row.
Wherein, the sequence of addresses of internal storage are as follows: (j-1) * m+ (k-1);
Read module includes:
Second reading unit is read in internal storage at corresponding address for the sequence of addresses according to internal storage
Dot array data is simultaneously sent to corresponding nozzle.
Wherein, the data processing equipment further include:
Control module carries out ink jet printing for controlling nozzle after receiving the data.
It should be noted that the device is device corresponding with above-mentioned data processing method, institute in above method embodiment
There is implementation suitable for the embodiment of the device, can also reach identical technical effect.
Example IV
According to an embodiment of the present invention four, the present invention also provides mention in a kind of ink-jet printer, including above-described embodiment three
And data processing equipment.
Specifically, which further includes processor, external storage other than including above-mentioned data processing equipment
Device, internal storage and nozzle, wherein the data processing equipment can be integrated in the processor of ink-jet printer.
Wherein, processor is for successively receiving multi-thread image point matrix data, after receiving a line image dot array data,
The one line image dot array data is split as n group image point matrix data according to default injector configuration rule;And to a line image
It is after dot array data is split, the n group image point matrix data after corresponding fractionation is outer according to the write-in of the first preset address rule
In portion's buffer;And when internal storage has space, read from external memory by its sequence of addresses, and pre- according to second
If address rule is written in internal storage;Finally Data Concurrent is read according still further to the sequence of addresses of internal storage to send to spray
Mouth.
External memory, for storage processor send a line image dot array data is split after n group image
Dot array data.
Internal storage, the data read for storage processor from external memory.
Nozzle for receiving the data read out from internal storage, and carries out ink-jet according to the data received and beats
Print.
The ink-jet printer in such a way that a line image dot array data is split as n group image point matrix data by processor,
And it is used cooperatively external memory and internal storage, make full use of that external memory storage data quantity is big, internal storage number
According to the fast feature of read operation processing speed, under the premise of not increasing cost, improves image point matrix data and split at delay
Speed is managed, and then improves print speed.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can with computing device can the program code of the row of holding realize, it is thus possible to they are stored
In the storage device by computing device come the row of holding, perhaps they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.