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 method, device and ink-jet
Printing machine.
Background technology
With the development of ink-jet printing technology, market proposes higher requirement to the precision of ink-jet produced print, so as to want
Nozzle manufacturer is asked to improve constantly the printing precision of nozzle, printing precision can use DPI (Dots Per Inch, the spray of per inch
Mouth number) describe.Because the distance between the limitation, nozzle of nozzle processing technology can not be too small, therefore, many nozzle producers adopt
Spliced with multiple rows of nozzle, so projection just increases perpendicular to the DPI of page orientation, so as to improve printing precision.But
This joining method also brings no small problem, it is necessary to be torn open to image point matrix data according to nozzle rule to data processing
Divide delay disposal, so that image is correctly presented on medium.
Fractionation delay disposal is carried out according to nozzle rule to the dot array data of piece image according to software, by computer
Powerful computing and a large amount of memory sources, can low cost realize data split delay disposal.But because processing procedure is related to
Substantial amounts of bit manipulation, image processing speed can be substantially reduced, so as to reduce print speed, can not meet current flying print needs
Ask.
The dot array data of piece image is torn open according to nozzle rule according to hardware (such as PLD)
Divide delay disposal, can effectively utilize the advantage of PLD alignment operation, but the operation for splitting delay disposal needs
Substantial amounts of internal storage, its cost will greatly increase.
If using external memory storage completely, the demand to internal storage can be reduced, but work as nozzle arrangement rule
It is especially complex, can not be by a line number according to splitting into several substantial amounts of packets, but 1 many or data of several bytes
Bag, it will frequently operated to outside memory read/write, reduce data processing speed.
As can be seen here, there is the problem of print speed is slow, cost is high, memory read/write is frequent in above-mentioned processing method.
The content of the invention
The 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 of print speed is slow during brush, memory read/write is frequent.
According to one aspect of the present invention, there is provided a kind of data processing method, including:
One line image dot array data is split as n group image point matrix datas according to default injector configuration rule;Wherein, preset
All nozzles are divided into multiple virtual rows in injector configuration rule, and n is included multiple rows virtually arranged;
N groups image point matrix data is write in external memory storage according to the first preset address rule;
N groups image point matrix data is read and write according to the second preset address rule by the sequence of addresses according to external memory storage
Enter in internal storage;
N group image point matrix datas are read and sent to nozzle according to the sequence of addresses of internal storage.
According to another aspect of the invention, a kind of data processing equipment is additionally provided, including:
Module is split, for one line image dot array data to be split as into n group image lattices 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 n groups image point matrix data to be write into external memory storage according to the first preset address rule
In;
Second processing module, for the sequence of addresses according to external memory storage by n groups image point matrix data read and according to
In second preset address rule write-in internal storage;
Read module, n group image point matrix datas are read and sent to spray for the sequence of addresses according to internal storage
Mouth.
According to another aspect of the invention, a kind of ink-jet printer, including data processing as described above are additionally provided
Device.
The beneficial effect of embodiments of the invention is:
By with the use of external memory storage and internal storage, making full use of external memory storage storage data quantity big, interior
The characteristics of portion's memory data read operation processing speed is fast, on the premise of cost is not increased, improves image point matrix data
Delay disposal speed is split, and then improves print speed.
Brief description of the drawings
Fig. 1 represents the schematic flow sheet of the data processing method of the embodiment of the present invention one;
Fig. 2 represents that the nozzle of the embodiment of the present invention one virtually arranges division schematic diagram;
Fig. 3 represents the schematic flow sheet of step S101 in the embodiment of the present invention two;
Fig. 4 represents that the multi-thread image point matrix data of the embodiment of the present invention two splits schematic diagram;
Fig. 5 represents the memory space schematic diagram of the reading and writing data of the external memory of the embodiment of the present invention two;
Fig. 6 represents the memory space schematic diagram of the reading and writing data of internal storage in the embodiment of the present invention two;
Fig. 7 represents the modular structure schematic diagram of the data processing equipment of the present invention.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in accompanying 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
Limited.Conversely, there is provided these embodiments are to be able to be best understood from the present invention, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
Embodiment one
As shown in figure 1, the embodiment provides a kind of data processing method, following steps are specifically included:
Step S101:One line image dot array data is split as n group image point matrix datas 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 rows virtually arranged.That is, will be all
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 datas.
As shown in Fig. 2 the present embodiment illustrates 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 represent 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:N groups image point matrix data is write in external memory storage according to the first preset address rule.
Wherein, the first preset address rule and the data volume size of every group of image point matrix data in n group image point matrix datas
And n value is relevant.Initialization operation is carried out to external memory storage, after all memory spaces are entered as into zero, by the n of fractionation
Group image point matrix data is write corresponding to external memory storage in address space according to the first preset address rule.Due to external storage
The memory space of device is big, therefore writable a large amount of dot array datas.
Step S103:N groups image point matrix data is read and preset according to second by the sequence of addresses according to external memory storage
In the rule write-in internal storage of address.
Although the memory space of external memory storage 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 the implementation of the present invention
The characteristics of example makes full use of external memory storage and internal storage, deposited outside the n groups image point matrix data write-in after by fractionation
, it is necessary to be read according to the sequence of addresses of external memory storage and write internal storage after reservoir.Wherein, the second preset address
Rule is relevant with the number of nozzle included in the virtual row of often row.
Step S104:N group image point matrix datas are read and sent to nozzle according to the sequence of addresses of internal storage.
Using the fast characteristic of internal storage reading speed, read caching to the image point matrix data in internal storage
And send to nozzle, so that the line image dot array data print job to receiving is completed in nozzle ink jet printing.Circulating repetition
Above-mentioned steps S101 to S104 can realize the printing of the multi-thread image point matrix data to receiving, 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 storage and inside
Memory, the characteristics of external memory storage storage data quantity is big, internal memory data read operation processing speed is fast is made full use of,
Improve image point matrix data and split delay disposal speed.
Embodiment two
Above example one simply describes the data processing method of the present invention, will be based on embodiment one and specific below
Application scenarios are described further explanation to it.
Specifically, as shown in figure 3, step S101 comprises the following steps:
Step S301:According to all nozzles in the arrangement regulation of X-direction and Y-direction, it is virtual that all nozzles are divided into n
Row.
Wherein, X-direction is that Y-direction is page orientation, to all nozzles in X-direction and Y perpendicular to the direction of page orientation
The rule in direction is analyzed, and all nozzles are divided into n virtual rows, each virtually nozzle number and rule phase in row
Together.The Y-direction coordinate value of different spray nozzles in same virtual row is different, the Y-direction coordinate of corresponding nozzle in different virtual rows
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 Y side
To coordinate be respectively P1、P2…Pn.Wherein, the difference of the Y-direction coordinate value of corresponding nozzle is identical in different virtual rows, i.e.,
In first virtual row between first nozzle and second nozzle Y-direction coordinate value difference, equal in other virtual rows first
The difference of Y-direction coordinate value between individual nozzle and second nozzle.Distance phase of the corresponding nozzle along Y-direction in two virtual rows
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, equal to the first void
Intend the difference of second nozzle and the Y-direction coordinate value of second nozzle in the second virtual row in row, that is to say, that what adjacent virtual was arranged
Postpone identical.
By taking 4 virtual row's nozzles as an example, 4 rows virtually row respectively using solid circles A, filled square B, black triangle C,
Solid five-pointed star D represents that coordinate value of first nozzle that 4 rows respectively arrange in virtually arranging in Y-axis is followed successively by 1,3,7,9.4 rows are empty
The DPI for intending the nozzle of row is 4 times of single row of nozzles.So as to can be seen that the DPI of nozzle is increased.Wherein, the second spray virtually arranged
Mouth (expression of black triangle pattern) needs 2 lines of delay to beat relative to the first nozzle (solid circular pattern expression) virtually arranged
Print;3rd nozzle virtually arranged (expression of filled square pattern) is relative to the first nozzle (solid circular pattern table virtually arranged
Show) need to postpone the printing of 6 lines;4th nozzle virtually arranged (solid five-pointed star pattern represents) is relative to the first nozzle virtually arranged
(solid circular pattern expression) needs to postpone the printing of 8 lines.
Step S302:Multi-thread image point matrix data is received successively, after a line image dot array data is received, to a line chart
As dot array data according to virtual row is split as n group image point matrix datas.
Wherein, the step of step S302 is specially:According to the X-direction coordinate value virtually arranged, by a line image dot array data
Middle X-direction coordinate value identical point data is split as one group.
Wherein, the nozzle in same virtual row has identical X-direction coordinate range.That is, by a line image
Dot array data, the corresponding point data being according to X-direction coordinate in same scope are split as one group, and a line number is according to detachable altogether
For n groups, corresponding n rows nozzle.
Specifically as shown in a kind of multi-thread image point matrix data fractionation schematic diagrames of Fig. 4, processor receives what is transmitted successively
Multi-thread image point matrix data, i.e., the 1st line image dot array data T is received successively1To jth line image dot array data Tj, j > 1).
After a line image dot array data is received, by the line image dot array data according to its (paper feed side in the Y direction
To) on the row 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 Y side
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
Data corresponding to 3rd virtual row's nozzle, DjThe data in region are to jth line image dot array data TjIn it is empty with the 4th in the Y direction
Intend data corresponding to row's nozzle.
Further, the n groups image point matrix data that above-mentioned fractionation obtains is write according to the first preset address rule outside
In memory.Wherein, the first preset address rule is:(Pi-P1+ j-1) * nS+ (i-1) S, using page orientation as Y-direction, first
The virtual coordinate for draining into the Y-direction of first jet position correspondence during the i-th row virtually arranges of row is respectively P1To Pi, it is virtual that i represents that n is arranged
I-th of virtual row in row;J represents the jth line lattice data in multi-thread image point matrix data, and S represents corresponding per virtual row
Address space required for dot array data.
Wherein, by taking 4 rows virtually row as an example, wherein, coordinate value of first nozzle that 4 rows respectively arrange in virtually 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 virtually arranged is sprayed
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-1) S=9S;The 3rd first nozzle P virtually arranged3The address of write-in is (7-1+1-1) * 4S+
(3-1) S=26S;A 4th virtual nozzle P4 data writing address that ranked first is (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;
The 3rd first nozzle P virtually arranged3The address of write-in is (7-1+2-1) * 4S+ (3-1) S=30S;4th virtual 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;The 3rd first nozzle P 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 write-in in region
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 write-in in region
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 is specially:According to corresponding in the sequence of addresses reading external memory of external memory storage
Dot array data at address, obtain n group image point matrix datas;N group image point matrix datas are write according to the second preset address rule
Enter in internal storage.
Wherein, the sequence of addresses of external memory storage is:(j-1) * nS+ (i-1) S, wherein, i is represented i-th in the virtual row of n rows
Individual virtual row;J represents the jth line lattice data in multi-thread image point matrix data, and S is represented per the corresponding dot array data of virtual row
Required address space.When internal storage has spatial cache, data are read according to the sequence of addresses of external memory storage.
Wherein, by taking 4 rows virtually row 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 of the 3rd nozzle corresponding data 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 first address of nozzle corresponding data virtually arranged, 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;3rd virtually arranges
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 first address of nozzle corresponding data virtually arranged, reading
Data are A3;The address of the second nozzle corresponding data virtually arranged is 9S, and the data of reading are B1;3rd nozzle pair 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
The data gone out are initial value of zero.
When read jth line number according to when, it is (4j-4) S that processor, which reads the first address of nozzle corresponding data virtually arranged,
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;3rd is empty
The address for intending the nozzle corresponding data of 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, n groups image point matrix data is write into storage inside according to the second preset address rule in step S103
The second preset address rule in device is:(Qk-Q1+ j-1) * m+ (k-1), wherein, first nozzle location is to kth in virtual row
The coordinate of Y-direction is respectively Q corresponding to individual nozzle location1To Qk, k-th of nozzle during k one rows of expression virtually arrange, k span
M is arrived for 1, m represents the number of nozzle included in each virtual row.
Specifically, as shown in Fig. 2 all nozzles are divided into 4 virtual rows, i.e., virtual row amount n is 4, then including needing
Portion's memory built founds 4 pieces of spatial caches, therefore, such as following empty just for first because the rule in each virtual row is identical
Intend row's (solid circular pattern expression) to illustrate.
As shown in fig. 6, include m nozzle altogether 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 write the 1st line number according to when, the 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 individual);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 write the 2nd line number according to when, the 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 individual);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 write jth line number according to when, the 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 Aj4(read
AjThe 4th in data).
Further, step S104 is specially:Sequence of addresses according to internal storage reads corresponding in internal storage
Dot array data at address is simultaneously sent to corresponding nozzle.Wherein, the sequence of addresses of internal storage is:j*k-1.
As shown in fig. 6, by every row virtually row include 4 nozzles exemplified by, 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
The data gone 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 datas are read and sent to nozzle in the sequence of addresses according to internal storage
The step of after, in addition to:Control nozzle carries out ink jet printing after receiving the data.
To sum up, the present embodiment is by with the use of external memory storage and internal storage, making full use of external memory storage to deposit
The characteristics of data volume is big, internal memory data read operation processing speed is fast is stored up, on the premise of cost is not increased, is improved
Image point matrix data splits delay disposal speed, and then improves print speed.
Embodiment three
Above example one and embodiment two describe the data processing method of the present invention from different application scenarios respectively,
The present embodiment three will be described further with reference to accompanying drawing to its corresponding device below.
Specifically, as shown in fig. 7, the data processing equipment specifically includes:
Module 71 is split, for one line image dot array data to be split as into n group picture points 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
Row;
First processing module 72, for n groups image point matrix data to be write into external storage according to the first preset address rule
In device;
Second processing module 73, n group image point matrix datas are read and pressed for the sequence of addresses according to external memory storage
Write according to the second preset address rule in internal storage;
Read module 74, for the sequence of addresses according to internal storage by n group image point matrix datas read and send to
Nozzle.
Wherein, splitting module includes:
Division unit, in the arrangement regulation of X-direction and Y-direction, all nozzles to be divided into n according to all nozzles
Virtual row;Wherein, X-direction is that Y-direction is page orientation perpendicular to the direction of page orientation, the different sprays in same virtual row
The Y-direction coordinate value of mouth is different, and the difference of the Y-direction coordinate value of corresponding nozzle is identical in different virtual rows, each virtual row
Including m nozzle, m is positive integer;
Split cells, for receiving multi-thread image point matrix data successively, after a line image dot array data is received, to one
Line image dot array data is split as n group image point matrix datas 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
Middle X-direction coordinate value identical point data is split as one group.
Wherein, the first preset address rule is:(Pi-P1+j-1)*nS+(i-1)S;
First processing module includes:
First buffer unit, for n groups image point matrix data to be write into external memory storage according to the first preset address rule
In;
Wherein, using page orientation as Y-direction, first row virtually drains into the Y of first jet position correspondence during the i-th row virtually arranges
The coordinate in direction is respectively P1To Pi, i represents i-th of virtual row in the virtual row of n rows;J represents the in multi-thread image point matrix data
J line lattice data, S are represented per address space required for the corresponding dot array data of virtual row.
Wherein, the sequence of addresses of external memory storage is:(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 storage
Dot array data, obtain n group image point matrix datas;
Second buffer unit, for n groups image point matrix data to be write into internal storage according to the second preset address rule
In.
Wherein, the second preset address rule is:(Qk-Q1+j-1)*m+(k-1);
Second buffer unit is specifically used for:According to the second preset address rule, n groups image point matrix data write-in inside is deposited
In reservoir;
Wherein, first nozzle location to the coordinate of Y-direction corresponding to k-th of nozzle location is respectively Q in virtual row1Extremely
Qk, k represents that virtually k-th of nozzle in row, m represent the number of nozzle included in each virtual row to a row.
Wherein, the sequence of addresses of internal storage is:j*k-1;
Read module includes:
Second reading unit, for being read according to the sequence of addresses of internal storage in internal storage at corresponding address
Dot array data is simultaneously sent to corresponding nozzle.
Wherein, the data processing equipment also includes:
Control module, for controlling nozzle to carry out ink jet printing 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 technique effect.
Example IV
According to the embodiment of the present invention four, present invention also offers carried in a kind of ink-jet printer, including above-described embodiment three
And data processing equipment.
Specifically, the ink-jet printer is in addition to including above-mentioned data processing equipment, in addition to processor, external storage
Device, internal storage and nozzle, wherein, the data processing equipment can be integrated in the processor of ink-jet printer.
Wherein, processor is used to receive multi-thread image point matrix data successively, after a line image dot array data is received,
The one line image dot array data is split as n group image point matrix datas according to default injector configuration rule;And to a line image
It is after dot array data is split, the n groups 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 internally memory has space, read from external memory storage by its sequence of addresses, and it is pre- according to second
If in address rule write-in internal storage;Finally the sequence of addresses according still further to internal storage reads Data Concurrent and delivers to spray
Mouth.
External memory storage, for store processor transmission a line image dot array data is split after n group images
Dot array data.
Internal storage, the data read for storing processor from external memory storage.
Nozzle, for receiving the data read out from internal storage, and carry out ink-jet according to the data received and beat
Print.
The ink-jet printer by way of a line image dot array data is split as n group image point matrix datas by processor,
And external memory storage and internal storage are used cooperatively, make full use of that external memory storage storage data quantity is big, internal storage number
According to read operation processing speed it is fast the characteristics of, on the premise of cost is not increased, improve image point matrix data split delay at
Speed is managed, and then improves print speed.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, 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, either they are fabricated to respectively each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific
Hardware and software combines.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.