CN113176866A - Data processing method, device, equipment and storage medium for ink-jet printer - Google Patents

Data processing method, device, equipment and storage medium for ink-jet printer Download PDF

Info

Publication number
CN113176866A
CN113176866A CN202110600671.1A CN202110600671A CN113176866A CN 113176866 A CN113176866 A CN 113176866A CN 202110600671 A CN202110600671 A CN 202110600671A CN 113176866 A CN113176866 A CN 113176866A
Authority
CN
China
Prior art keywords
data
interface
channel
printing
reading
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
CN202110600671.1A
Other languages
Chinese (zh)
Other versions
CN113176866B (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.)
Senda Shenzhen Technology Co Ltd
Original Assignee
Senda 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 Senda Shenzhen Technology Co Ltd filed Critical Senda Shenzhen Technology Co Ltd
Priority to CN202110600671.1A priority Critical patent/CN113176866B/en
Publication of CN113176866A publication Critical patent/CN113176866A/en
Application granted granted Critical
Publication of CN113176866B publication Critical patent/CN113176866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1284Local printer device

Landscapes

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

Abstract

The invention discloses a data processing method, a device, equipment and a storage medium of an ink-jet printer, wherein the method generates logical channel parameters according to the mapping relation between a logical channel and a physical channel, a data interface to which the physical channel belongs and the relative storage position of the physical channel in an interface data cache, and the logical channel parameters comprise a data interface selection parameter, a channel offset parameter and a channel relative position parameter; calculating the storage address of the logic channel printing data according to the generated logic channel parameters, and writing the printing data of the logic channel into the corresponding interface data cache according to the calculated storage address; and reading the printing data stored in the interface data cache to a corresponding physical channel. The method can accurately send the printing data of the logical channel to the corresponding physical channel through the mapping of the logical channel and the physical channel for different application scenes.

Description

Data processing method, device, equipment and storage medium for ink-jet printer
The present application is a divisional application of an invention patent application with an application number of 201910442375.6, entitled "method, apparatus, device, and storage medium for processing data for an inkjet printer", filed on 25/5/2019.
Technical Field
The present invention relates to the field of inkjet printing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing data of an inkjet printer.
Background
When the number of the nozzles of the ink-jet printer in the prior art is less, only one nozzle driving plate is needed, at the moment, a software system of the printer only corresponds to one nozzle driving plate, and data processed by the printer software system are distributed to physical channels belonging to the same nozzle driving plate. However, in some ink jet printing applications, a large number of jets need to be used. When the number of the nozzles is large, a software system of the ink-jet printer needs to be in butt joint with a plurality of nozzle driving plates, and each nozzle driving plate is physically connected through one gigabit network port. In order to facilitate data processing, all data of the software system of the ink-jet printer is processed by taking a 'logical channel' as a basic unit; it is the "physical channel" that enables inkjet printing by the nozzles. In the case of multiple nozzles, each nozzle link belongs to a different gigabit network interface, and during printing, the processed data needs to be distributed to each corresponding physical channel by using the logical channel as a processing unit for printing. In the prior art, each logical channel and each physical channel have only one corresponding relationship, however, due to the difference of application scenes, the number of gigabit network interfaces and the number of physical channels sprayed by each interface are different, that is, multiple corresponding relationships exist between the logical channels and the physical channels, so that the prior art cannot rapidly and accurately send print data to the physical channels of each spray head when multiple application scenes exist.
Disclosure of Invention
In view of the above, the present invention provides a data processing method, apparatus, device, and storage medium for an inkjet printer, so as to solve the technical problem in the prior art that when the number of nozzles is large, print data cannot be quickly and accurately sent to physical channels of each nozzle.
In a first aspect, the present invention provides a method of inkjet printer data processing, the method comprising:
s1: generating logical channel parameters according to the mapping relation between the logical channel and the physical channel, the data interface to which the physical channel belongs and the relative storage position of the physical channel in the interface data cache, wherein one data interface corresponds to one interface data cache;
s2: calculating the storage address of the logic channel printing data according to the generated logic channel parameters;
s3: writing the printing data of the logic channel into a corresponding interface data cache according to the calculated storage address, and writing the printing data of two adjacent spray printing ignitions into the interface data cache according to the sequence of the spray printing ignitions;
s4: reading the printing data stored in the interface data cache to a corresponding physical channel, and updating a reading address after reading all data of one-time spray printing ignition of the interface, wherein the increment of the reading address is the data length of one-time spray printing ignition.
Preferably, the logical channel and the physical channel have equal length.
Preferably, the print data is read sequentially in the same jet firing.
Preferably, the write address is updated after all data written by one jet printing ignition is completed, the increment of the write address is the length of data written by one interface by one jet printing ignition, and in step S4, data of n physical channels are sequentially read from the interface data buffer before each jet printing ignition, where n is the number of physical channels equipped to the data interface corresponding to the interface data buffer.
Preferably, the logical channel parameters include a data interface selection parameter, a channel offset parameter, and a channel relative position parameter.
Preferably, the print data of the logical channel is stored in a relative positional relationship with the physical channel to which it is mapped.
Preferably, the method further comprises:
s401: before data is cached in a data interface read by one-time ignition jet printing, calculating a difference value between a current write address and a read address;
s402: judging whether the difference is larger than or equal to the data volume of one-time ignition jet printing, if so, executing a step S403, otherwise, executing a step S404;
s403: reading data from the interface data cache;
s404: no data is read from the interface data cache.
In a second aspect, the present invention provides an inkjet printer data processing apparatus comprising:
the parameter generating module is used for generating logical channel parameters according to the mapping relation between the logical channel and the physical channel, the data interface to which the physical channel belongs and the relative storage position of the physical channel in the interface data cache, wherein the logical channel parameters comprise data interface selection parameters, channel offset parameters and channel relative position parameters, and one data interface corresponds to one interface data cache;
the storage address calculation module is used for calculating the storage address of the logic channel printing data according to the logic channel parameters;
the data writing module is used for writing the printing data of the logic channel into the corresponding interface data cache according to the calculated storage address, and the printing data of two adjacent spray printing ignitions are written into the interface data cache according to the sequence of the spray printing ignitions;
and the data reading module is used for reading the printing data stored in the interface data cache to a corresponding physical channel, updating a reading address after reading all data of one-time spray printing ignition of the interface, wherein the increment of the reading address is the data length of one-time spray printing ignition.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer program instructions when the method of the first aspect of the computer program is described.
Has the advantages that: the invention relates to a data processing method, a device, equipment and a storage medium of an ink-jet printer, wherein for the condition that a plurality of data interfaces are provided, each data interface comprises a plurality of physical channels, logical channel parameters are generated through the mapping relation between the logical channels and the physical channels, corresponding storage addresses are calculated according to the logical channel parameters, and then printing data of the logical channels are accurately stored in interface data caches of reading data of the corresponding physical channels, so that the data can be read and printed by the corresponding physical channels. For different application scenes, the storage position of the logic channel data can be determined through the mapping relation between the logic channel and the physical channel of the specific application scene, and the printing data of the logic channel can be accurately sent to the corresponding physical channel no matter how the application scene changes. After reading all the data of one-time spray printing ignition, updating the read address, wherein the next-time spray printing ignition data reading only needs to take the updated read address as the initial address of the next-time data reading, so that the times of reading the address updating are reduced, and the accuracy of data reading between the same-time spray printing ignition and two adjacent spray printing ignitions is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an ink jet printer data processing method of example 1 of the present invention.
Fig. 2 is a schematic diagram of a storage location of a logical channel in the first storage manner in embodiment 1.
Fig. 3 is a schematic diagram of a storage location of a logical channel in the second storage manner in embodiment 1.
Fig. 4 is a schematic diagram of data processing of the ink jet printer of embodiment 1 of the present invention.
Fig. 5 is a flowchart of a data processing method of an ink jet printer according to embodiment 7 of the present invention.
FIG. 6 is a schematic diagram of the data processing device of the ink-jet printer according to the present invention.
FIG. 7 is a schematic diagram of the structure of the data processing apparatus of the ink jet printer according to the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example 1
Referring to fig. 1, an embodiment of the present invention provides a data processing method for an inkjet printer, which specifically includes the following steps:
s1: generating logical channel parameters according to the mapping relation between the logical channel and the physical channel, the data interface to which the physical channel belongs, and the relative storage position of the physical channel in the interface data cache, wherein the logical channel parameters comprise data interface selection parameters, channel offset parameters and channel relative position parameters, and one data interface corresponds to one interface data cache.
In the case of a large number of nozzles, the data of the logical channel may be sent to different data interfaces, and each data interface may be allocated to a plurality of physical channels. Each data interface is assigned an interface data buffer for storing print data. In a specific application scenario, the mapping relationship between the logical channels and the physical channels is determined according to the requirements of the application scenario, and the interface conditions to which each physical channel belongs belong to the characteristics of the device itself, so that the mapping relationship is also determined. The data interface selection parameters can be determined according to the interface of the physical channel mapped with the logical channel in the actual application. For example, if the physical channel 1 mapped by a certain logical channel belongs to the data interface 0, the data interface selection parameter of the logical channel is 0, and the data of the logical channel is stored in the data interface cache corresponding to the data interface 0. The logical channel relative position parameter refers to the relative position sequence of data to be read by the logical channel stored in the data interface cache. For example, the data interface No. 0 is allocated with four physical channels, and data of four logical channels with labels a, B, C, and D corresponding to the four physical channels are stored in the data interface cache. Four numbers of 0,1,2 and 3 are used as the serial numbers of the storage positions, wherein the storage positions with smaller serial numbers are arranged in front. The first storage mode is shown in fig. 2, the storage locations of the data of the four logical channels in the interface data cache are sequentially arranged according to the sequence numbers 0,1,2, and 3, and then the relative location parameters of a, B, C, and D in the interface data cache No. 0 are 0,1,2, and 3. The second storage mode is shown in fig. 3, where the storage locations of the data of the four physical channels in the interface data cache are arranged according to the sequence of sequence numbers 0, 3, 2, and 1, and the relative location parameters of the data of the four physical channels in the interface data cache No. 0 are 0, 3, 2, and 1. The channel offset parameter is a difference between data storage start addresses of two adjacent physical channels, as shown in fig. 2, for example, three channels a, B, and C are adjacent, a start address of data storage of the logical channel a is da, and a start address of data storage of the logical channel B is db, then the channel offset parameter from a to B is da-db, and the offset parameter of the channel is the data length of the channel a.
S2: after the parameters of the logic channel are generated, the storage address of the printing data of the logic channel can be calculated according to the parameters of the logic channel. As shown in fig. 2, for example, the physical channel corresponding to the logical channel C belongs to the data interface No. 0, and the data interface is allocated with four physical channels, the data of the four logical channels a, B, C, and D are stored in the corresponding interface data cache, and the relative position relationship of the data storage of the four logical channels is as shown in fig. 2, then the data interface selection parameter of the logical channel C is 0, and the print data of the logical channel will be stored in the interface data cache corresponding to the data interface No. 0. If the initial write address of the previously written data for logical channel A is da, the address offset from logical channel A to logical channel B is fa, the address offset from logical channel B to logical channel C is fb, and the initial address of the data write for logical channel C is da + fa + fb.
S3: writing the printing data of the logic channel into a corresponding interface data cache according to the calculated storage address;
s4: and reading the printing data stored in the interface data cache to a corresponding physical channel, and controlling printing according to the printing data by a nozzle drive board card. And after reading all data of the interface which is subjected to one-time spray printing ignition, updating the read address, wherein the increment of the read address is the data length of one-time spray printing ignition. Wherein the interface can be a gigabit port to enable real-time transmission of large amounts of data.
Because the printing data of the logical channel is stored according to the relative position relation of the physical channel mapped with the logical channel, the accurate reading of the printing data can be realized only by reading the data in sequence in the same jet printing ignition, so the reading efficiency is high, and the data reading is not easy to make mistakes. After reading all the data of one-time spray printing ignition, updating the read address, wherein the next-time spray printing ignition data reading only needs to take the updated read address as the initial address of the next-time data reading, so that the times of reading the address updating are reduced, and the accuracy of data reading between the same-time spray printing ignition and two adjacent spray printing ignitions is ensured.
The principle of the data processing method of the ink jet printer according to the present embodiment is shown in fig. 4, in which there are a total of two data interfaces, i.e., a data interface No. 0 and a data interface No. 1, each of which is assigned with 4 physical channels. In addition, the figure has 10 logic channels, which are respectively a, B, C, D, E, F, G, H, J, and K, and after the data processing of the 10 logic channels is completed, the data is stored in the corresponding interface data cache. The data of the four logical channels E, F, J, and H are stored in the interface data cache corresponding to the data interface No. 1, and sequentially stored in the storage locations with the position sequence numbers 0,1,2, and 3, respectively. And C + K in the figure represents that the data of the logic channel C and the logic channel K are changed into a piece of data after calculation and stored in the storage position with the position number of 3. The storage of the rest of the logical channel data can be analogized, and the description is omitted here. After the data of the logical channel is stored, the data is read to the physical channel for printing.
According to the technical scheme of the embodiment, for the condition that a plurality of data interfaces are provided, each data interface comprises a plurality of physical channels, logical channel parameters are generated through the mapping relation between the logical channels and the physical channels, corresponding storage addresses are calculated according to the logical channel parameters, and then the printing data of the logical channels are accurately stored in interface data caches of the reading data of the corresponding physical channels, so that the data can be read and printed by the corresponding physical channels. By adopting the technical scheme of the embodiment, even if the method is applied to different application scenes, the storage position of the data of the logical channel can be determined through the mapping relation between the logical channel and the physical channel of the specific application scene, so that the data of the logical channel can be accurately sent to the corresponding physical channel in each application scene.
In the case of the example 2, the following examples are given,
as a preferred embodiment of embodiment 1, this embodiment writes print data of two adjacent inkjet ignitions into an interface data cache according to the order of the inkjet ignitions. Because the print data of the logical channel is stored according to the relative position of the physical channel corresponding to the print data rather than the absolute position, the print data is only written according to the relative position of the physical channel in the same jet printing ignition, and the data of the adjacent two jet printing ignitions is directly written according to the sequence of the jet printing ignition, so that the writing process of the data is simpler, and only data reading needs to be carried out sequentially before the subsequent jet printing ignition, therefore, the program of writing and reading the data can be further simplified, and the efficiency of data processing is improved.
Example 3
This embodiment is a preferred embodiment of embodiment 1, and the present embodiment makes the data lengths of the logical channel and the physical channel equal. The data length of the physical channel is determined by the device characteristics, and after the data length of the logical channel is set to be consistent with the data length of the physical channel, the writing of the data of the logical channel and the reading of the data of the physical channel can be in one-to-one correspondence, so that the storage and reading processes of the data are simplified, and the data processing efficiency is improved.
Example 4
This example is a further improvement over example 2. In step S4, the data of n physical channels are sequentially read from the interface data buffer before each firing of the inkjet printing. Wherein n is the number of physical channels allocated to the data interface corresponding to the interface data cache. For example, the data interface No. 0 is assigned A, B, C, D four physical channels, that is, n is 4, and the relative position relationship of the four physical channels is 0,1,2, and 3. Reading the data of the physical channel A before each jet printing ignition, reading the data of the physical channel B, reading the data of the physical channel C, and reading the data of the physical channel D till the data reading of the jet printing ignition is finished. The data is read by adopting the mode of the embodiment 2, only the data needs to be read in sequence every time, and the data storage address of each physical channel does not need to be inquired, so that the data reading process can be simplified, and the data reading accuracy is improved.
Example 5
In this embodiment, after all data written by one-time jet printing ignition is completed, the write address is updated, and the increment of the write address is the length of data written by one interface by one-time jet printing ignition. The data in one-time jet printing ignition is written according to the write address calculated according to the logical channel parameters, so that the write address is updated only after the data is written in one-time jet printing ignition. The writing of the next spray printing ignition data only needs the updated writing address as the initial address of the new data writing, so that the address updating times can be reduced, and the accuracy of data writing between the same spray printing ignition and two adjacent spray printing ignitions is ensured.
Example 6
The logical channel parameters include a data interface selection parameter, a channel offset parameter, and a channel relative position parameter. In a specific application scenario, the mapping relationship between the logical channels and the physical channels is determined according to the requirements of the application scenario, and the interface conditions to which each physical channel belongs belong to the characteristics of the device itself, so that the mapping relationship is also determined. The data interface selection parameters can be determined according to the interface of the physical channel mapped with the logical channel in the actual application. The logical channel relative position parameter refers to the relative position sequence of data to be read by the logical channel stored in the data interface cache. The channel offset parameter refers to a difference between data storage start addresses of two adjacent physical channels.
Example 7
As shown in fig. 5, the data processing method of the inkjet printer of the present embodiment further includes:
s401, before data is cached in a data interface read by one-time ignition jet printing, calculating a difference value between a current write address and a read address;
s402, judging whether the difference value is larger than or equal to the data volume of one-time ignition jet printing, if so, executing a step S403, otherwise, executing a step S404;
s403, reading data from the interface data cache;
and S404, not reading data from the interface data buffer.
In the embodiment, before the data is read from the data interface cache by one-time firing and spray printing, the difference between the current writing address and the reading address is calculated, and if the difference is larger than or equal to the data amount of one-time firing and spray printing, the data amount of the one-time firing and spray printing for the read data in the current data interface cache is indicated, and the data is read from the interface data cache under the condition. If the difference between the current writing address and the reading address is calculated to be smaller than the data volume of one-time firing spray printing, the fact that the data volume read in the current data interface cache is not enough for one-time spray printing firing is indicated, and the printing data reading operation is not performed under the condition, so that the data volume read every time can meet the data volume of one-time spray printing firing, errors in the data reading process are avoided, and the stability of data processing is improved.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
In the invention, the logical channel is a virtual concept and does not correspond to specific affairs, but a certain mapping relation exists between the logical channel and the physical channel, the mapping relation is set according to the printing requirement, and the physical channel is the data volume corresponding to one spray head in one-time ignition printing, or the data volume of one color in the spray head, or the data volume of a row of spray holes. If the physical channels are data volumes corresponding to one nozzle, each physical channel only belongs to one production line according to printing requirements, and each logical channel is configured for each physical channel, so that the logical channels and the physical channels are in one-to-one mapping relation.
Example 8
As illustrated in fig. 6, the present embodiment provides an inkjet printer data processing apparatus including:
the parameter generating module 10 generates logical channel parameters according to a mapping relationship between a logical channel and a physical channel, a data interface to which the physical channel belongs, and a relative storage location of the physical channel in an interface data cache, where the logical channel parameters include a data interface selection parameter, a channel offset parameter, and a channel relative location parameter, and one of the data interfaces corresponds to one of the interface data caches. In the case of a large number of nozzles, the data of the logical channel may be sent to different data interfaces, and each data interface may be allocated to a plurality of physical channels. Each data interface is assigned an interface data buffer for storing print data. In a specific application scenario, the mapping relationship between the logical channels and the physical channels is determined according to the requirements of the application scenario, and the interface conditions to which each physical channel belongs belong to the characteristics of the device itself, so that the mapping relationship is also determined. The parameter generation module 10 may determine the data interface selection parameter according to the interface of the physical channel mapped with the logical channel in the actual application.
After the parameters of the logic channel are configured, the storage address calculation module 20 may calculate the storage address for calculating the printing data of the logic channel according to the parameters of the logic channel.
And the data writing module 30 is configured to write the print data of the logical channel into a corresponding interface data cache according to the calculated storage address, and update the read address after reading all data of the interface which is subjected to one-time spray printing and ignition, where an increment of the read address is a data length of one-time spray printing and ignition. As can be seen from fig. 6, the data writing module 30 stores the data of the four logical channels a, B, C, and D in the interface cache corresponding to the data interface No. 0, processes E, F, G, and H, and stores the data of the four logical channels in the interface cache corresponding to the data interface No. 1.
And the data reading module 50 reads the printing data stored in the interface data cache to the corresponding physical channel.
In this embodiment, through the mapping relationship between the logical channel and the physical channel, the parameter generating module 10 is used to generate the logical channel parameters, and calculate the corresponding storage address according to the logical channel parameters, and then accurately store the print data of the logical channel into the interface data cache of the read data of the corresponding physical channel, so that the data can be read and printed by the corresponding physical channel. By adopting the technical scheme of the embodiment, even if the method is applied to different application scenes, the storage position of the data of the logical channel can be determined through the mapping relation between the logical channel and the physical channel of the specific application scene, so that the data of the logical channel can be accurately sent to the corresponding physical channel in each application scene.
Example 9
The methods in embodiments 1 to 7 can also be implemented by the data processing apparatus for an inkjet printer provided in this embodiment. The data processing apparatus of the inkjet printer of the present embodiment includes: at least one processor 401, at least one memory 402, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of embodiments 1 to 7.
Specifically, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the ink curing methods in the above embodiments.
In one example, the ink curing device may also include a communication interface 403 and a bus 410. As shown in fig. 7, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 to complete communication therebetween.
The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
Bus 410 includes hardware, software, or both to couple the components of the ink curing device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
Example 10
In combination with the data processing method of the inkjet printer in the above embodiments, the embodiments of the present invention can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the inkjet printer data processing methods of the above embodiments.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method of inkjet printer data processing, the method comprising:
s1: generating logical channel parameters according to the mapping relation between the logical channel and the physical channel, the data interface to which the physical channel belongs and the relative storage position of the physical channel in the interface data cache, wherein one data interface corresponds to one interface data cache;
s2: calculating the storage address of the logic channel printing data according to the generated logic channel parameters;
s3: writing the printing data of the logic channel into a corresponding interface data cache according to the calculated storage address, and writing the printing data of two adjacent spray printing ignitions into the interface data cache according to the sequence of the spray printing ignitions;
s4: reading the printing data stored in the interface data cache to a corresponding physical channel, and updating a reading address after reading all data of one-time spray printing ignition of the interface, wherein the increment of the reading address is the data length of one-time spray printing ignition.
2. The method of inkjet printer data processing according to claim 1, wherein the logical channel and physical channel data are of equal length.
3. The method of processing data for an inkjet printer according to claim 1, wherein the print data is read sequentially in the same firing of the jet printing.
4. The data processing method of the inkjet printer according to claim 3, wherein the write address is updated after all data written by one time of firing of the inkjet printing is completed, the increment of the write address is the length of data written by one interface at one time of firing of the inkjet printing, and in step S4, data of n physical channels are sequentially read from the interface data buffer before each time of firing of the inkjet printing, where n is the number of physical channels allocated to the data interface corresponding to the interface data buffer.
5. The inkjet printer data processing method of claim 1, wherein the logical channel parameters include a data interface selection parameter, a channel offset parameter, and a channel relative position parameter.
6. The method for processing data of an inkjet printer according to claim 1, wherein the print data of the logical channel is stored in a relative positional relationship with the physical channel to which it is mapped.
7. The inkjet printer data processing method according to any one of claims 1 to 6, comprising:
s401: before data is cached in a data interface read by one-time ignition jet printing, calculating a difference value between a current write address and a read address;
s402: judging whether the difference is larger than or equal to the data volume of one-time ignition jet printing, if so, executing a step S403, otherwise, executing a step S404;
s403: reading data from the interface data cache;
s404: no data is read from the interface data cache.
8. An ink jet printer data processing apparatus, comprising:
the parameter generating module is used for generating logical channel parameters according to the mapping relation between the logical channel and the physical channel, the data interface to which the physical channel belongs and the relative storage position of the physical channel in the interface data cache, wherein the logical channel parameters comprise data interface selection parameters, channel offset parameters and channel relative position parameters, and one data interface corresponds to one interface data cache;
the storage address calculation module is used for calculating the storage address of the logic channel printing data according to the logic channel parameters;
the data writing module is used for writing the printing data of the logic channel into the corresponding interface data cache according to the calculated storage address, and the printing data of two adjacent spray printing ignitions are written into the interface data cache according to the sequence of the spray printing ignitions;
and the data reading module is used for reading the printing data stored in the interface data cache to a corresponding physical channel, updating a reading address after reading all data of one-time spray printing ignition of the interface, wherein the increment of the reading address is the data length of one-time spray printing ignition.
9. An ink jet printer data processing apparatus, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-7.
10. A computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-7.
CN202110600671.1A 2019-05-25 2019-05-25 Method, device, equipment and storage medium for processing data of ink-jet printer Active CN113176866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110600671.1A CN113176866B (en) 2019-05-25 2019-05-25 Method, device, equipment and storage medium for processing data of ink-jet printer

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110600671.1A CN113176866B (en) 2019-05-25 2019-05-25 Method, device, equipment and storage medium for processing data of ink-jet printer
CN201910442375.6A CN110187851B (en) 2019-05-25 2019-05-25 Data processing method, device, equipment and storage medium for ink-jet printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910442375.6A Division CN110187851B (en) 2018-12-29 2019-05-25 Data processing method, device, equipment and storage medium for ink-jet printer

Publications (2)

Publication Number Publication Date
CN113176866A true CN113176866A (en) 2021-07-27
CN113176866B CN113176866B (en) 2024-03-22

Family

ID=67717914

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910442375.6A Active CN110187851B (en) 2018-12-29 2019-05-25 Data processing method, device, equipment and storage medium for ink-jet printer
CN202110600671.1A Active CN113176866B (en) 2019-05-25 2019-05-25 Method, device, equipment and storage medium for processing data of ink-jet printer

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910442375.6A Active CN110187851B (en) 2018-12-29 2019-05-25 Data processing method, device, equipment and storage medium for ink-jet printer

Country Status (1)

Country Link
CN (2) CN110187851B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277630A (en) * 2022-08-12 2022-11-01 东软集团股份有限公司 Method, device and equipment for renaming network adapter interface

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187851B (en) * 2019-05-25 2021-06-15 森大(深圳)技术有限公司 Data processing method, device, equipment and storage medium for ink-jet printer
US11481589B2 (en) * 2018-12-29 2022-10-25 Shenzhen Hosonsoft Co., Ltd Onepass system inkjet printing control method, device and storage medium
CN111469558B (en) * 2020-03-31 2021-03-05 厦门汉印电子技术有限公司 Multi-nozzle control system and control method thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060082819A1 (en) * 2004-10-18 2006-04-20 Sunplus Technology Co., Ltd. Inkjet print control apparatus
US20130124794A1 (en) * 2010-07-27 2013-05-16 International Business Machines Corporation Logical to physical address mapping in storage systems comprising solid state memory devices
CN109263279A (en) * 2018-10-12 2019-01-25 森大(深圳)技术有限公司 Onepass inkjet printing methods, device, equipment and storage medium
CN109478140A (en) * 2016-07-31 2019-03-15 微软技术许可有限责任公司 Load-storage order in block-based processor
CN109471602A (en) * 2018-12-07 2019-03-15 森大(深圳)技术有限公司 Print data method for dividing and processing, device and printing device
CN109605954A (en) * 2018-12-29 2019-04-12 森大(深圳)技术有限公司 Onepass print control program, device, equipment and medium
CN109664620A (en) * 2018-12-07 2019-04-23 森大(深圳)技术有限公司 Print data processing method, device and equipment
CN109710198A (en) * 2018-12-29 2019-05-03 森大(深圳)技术有限公司 Method of printing, device and the equipment of local dynamic station variable image
CN109703217A (en) * 2018-12-29 2019-05-03 森大(深圳)技术有限公司 Onepass print control program, device, equipment and medium
CN109725858A (en) * 2018-11-30 2019-05-07 森大(深圳)技术有限公司 Label image print control program, device, equipment and storage medium
CN109760431A (en) * 2018-12-29 2019-05-17 森大(深圳)技术有限公司 Print 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013052524A (en) * 2011-09-01 2013-03-21 Seiko Epson Corp Media processing device, method of controlling media processing device, and program
CN106571833A (en) * 2015-10-08 2017-04-19 上海无线通信研究中心 Parallel coding and interleaving communication transmission method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060082819A1 (en) * 2004-10-18 2006-04-20 Sunplus Technology Co., Ltd. Inkjet print control apparatus
US20130124794A1 (en) * 2010-07-27 2013-05-16 International Business Machines Corporation Logical to physical address mapping in storage systems comprising solid state memory devices
CN109478140A (en) * 2016-07-31 2019-03-15 微软技术许可有限责任公司 Load-storage order in block-based processor
CN109263279A (en) * 2018-10-12 2019-01-25 森大(深圳)技术有限公司 Onepass inkjet printing methods, device, equipment and storage medium
CN109725858A (en) * 2018-11-30 2019-05-07 森大(深圳)技术有限公司 Label image print control program, device, equipment and storage medium
CN109471602A (en) * 2018-12-07 2019-03-15 森大(深圳)技术有限公司 Print data method for dividing and processing, device and printing device
CN109664620A (en) * 2018-12-07 2019-04-23 森大(深圳)技术有限公司 Print data processing method, device and equipment
CN109605954A (en) * 2018-12-29 2019-04-12 森大(深圳)技术有限公司 Onepass print control program, device, equipment and medium
CN109710198A (en) * 2018-12-29 2019-05-03 森大(深圳)技术有限公司 Method of printing, device and the equipment of local dynamic station variable image
CN109703217A (en) * 2018-12-29 2019-05-03 森大(深圳)技术有限公司 Onepass print control program, device, equipment and medium
CN109760431A (en) * 2018-12-29 2019-05-17 森大(深圳)技术有限公司 Print 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277630A (en) * 2022-08-12 2022-11-01 东软集团股份有限公司 Method, device and equipment for renaming network adapter interface
CN115277630B (en) * 2022-08-12 2024-05-17 东软集团股份有限公司 Method, device and equipment for renaming network adapter interface

Also Published As

Publication number Publication date
CN113176866B (en) 2024-03-22
CN110187851A (en) 2019-08-30
CN110187851B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN110187851B (en) Data processing method, device, equipment and storage medium for ink-jet printer
CN109697040B (en) Print data processing method, device and printer
US10953665B2 (en) Modifying image data to compensate for defective printer nozzles
CN109298841B (en) Multi-nozzle ink-jet printing method, device, equipment and storage medium
CN109664620B (en) Print data processing method, device and equipment
CN109471602B (en) Printing data splitting processing method and device and printing equipment
CN110039901B (en) Oneepass inkjet printing control method, device, equipment and medium
CN109760431B (en) Print data processing method, device, equipment and storage medium
CN109703217B (en) Oneepass printing control method, device, equipment and medium
CN109263280B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN109263279B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN110202938A (en) Processing method, device, equipment and the storage medium of spray nozzle exception
CN109605954B (en) Oneepass printing control method, device, equipment and medium
CN109739449B (en) Method, device, equipment and medium for synchronously processing printing parameters and printing data
CN103909730B (en) A kind of data processing method, device and ink-jet printer
CN110223643B (en) Data transmission method, assembly and system and display device
CN110816087A (en) Method, device and equipment for acquiring printing alignment calibration value and storage medium
CN108357208A (en) Adjust method, apparatus, equipment and the medium of pre-press data compensation abnormal nozzle
CN110163307B (en) Printing method, device, equipment and medium capable of adjusting label position in real time
CN110532654B (en) Method and device for determining parameters on PCB of printed circuit board
CN109445724B (en) Printing memory management method, device and equipment
CN110202932B (en) Oneepass printing data shielding method, device, equipment and storage medium
CN110901229B (en) Image data processing method, device, equipment and storage medium
CN110837350A (en) Continuous-printing method, lower computer, upper computer and system
CN115447279B (en) Abnormal nozzle compensation printing method, device and equipment for image and storage medium

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