CN109703217B - Oneepass printing control method, device, equipment and medium - Google Patents

Oneepass printing control method, device, equipment and medium Download PDF

Info

Publication number
CN109703217B
CN109703217B CN201811638358.1A CN201811638358A CN109703217B CN 109703217 B CN109703217 B CN 109703217B CN 201811638358 A CN201811638358 A CN 201811638358A CN 109703217 B CN109703217 B CN 109703217B
Authority
CN
China
Prior art keywords
printing
production line
data
task
channels
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.)
Active
Application number
CN201811638358.1A
Other languages
Chinese (zh)
Other versions
CN109703217A (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.)
Shenzhen Hansen Software Co.,Ltd.
Original Assignee
Shenzhen Hosonsoft 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 Shenzhen Hosonsoft Co Ltd filed Critical Shenzhen Hosonsoft Co Ltd
Priority to CN201811638358.1A priority Critical patent/CN109703217B/en
Publication of CN109703217A publication Critical patent/CN109703217A/en
Priority to PCT/CN2019/128946 priority patent/WO2020135649A1/en
Priority to US17/312,944 priority patent/US11481589B2/en
Application granted granted Critical
Publication of CN109703217B publication Critical patent/CN109703217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

The invention discloses an Oneepass printing control method, device, equipment and medium. According to the printing method, all physical channels are divided into a plurality of groups according to the printing requirement, each group corresponds to a production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer; n logic channels are configured for each production line, n is more than or equal to x, and n is an integer; receiving a printing command, and extracting corresponding printing data from a printing memory by taking the logic channel as a unit; and processing the printing data according to the printing parameters and inputting the processed printing data into a corresponding physical channel for printing. The invention ensures that each production line can independently control the printing task during printing.

Description

Oneepass printing control method, device, equipment and medium
Technical Field
The invention relates to the technical field of digital printing, in particular to an Oneepass printing control method, device, equipment and medium.
Background
With the wide application of computers in graphic or word processing, printers are becoming more and more popular, and people can conveniently output characters or graphics in computers to pictures through the printers. The current ink-jet printing methods mainly include: multi-pass printing and Onepass printing. The multi-pass printing is characterized in that the length direction of a nozzle of a sprayer is parallel to the Y direction of the moving direction of a printing medium, the sprayer reciprocates in the X direction, the movement of the printing medium is stepping movement, the sprayer moves for a stroke in the X direction and finishes the printing of one pass, the printing medium steps for a distance of one pass in the intermittent period of reversing and accelerating the sprayer, the next pass is printed after the sprayer reverses, all printing operations are finished repeatedly, and patterns at the same position of the printing medium need to be finished by dividing into a plurality of passes. The multi-pass printing has low printing efficiency and low yield, but the price is low, so that the method is suitable for small-batch and intermittent production. The Onepass printing is that the length direction (X direction) of the nozzle array of the nozzle is vertical to the moving direction (Y direction) of the printing medium, the nozzle is generally fixed, the printing medium passes through the lower part of the nozzle once to obtain the pattern to be printed, and the printing medium moves continuously without pause. Oneeglass printing has the advantages of high efficiency and large output, and is suitable for a large-batch and continuous production mode.
Referring to fig. 1, the existing Onepass printing apparatus is formed by splicing a row of nozzles end to end, and when the width of the product along the direction of the nozzles is equal to the sum of the widths of all the nozzles, the utilization rate of one-time printing nozzles can almost reach 100%; however, when the width of the product along the direction of the spray head is small, if the width of the product along the direction of the spray head is equal to the width of one spray head, only one spray head discharges ink at the moment, and other spray heads do not discharge ink, so that the utilization rate of the spray head is low during printing, and the resource waste is serious; if divide into many production lines with Onepass printing apparatus's a row of shower nozzle, as shown in FIG. 1, independent print task is all printed to every production line when printing at every turn, then nearly every shower nozzle can go out the china ink this moment, can improve the utilization ratio of shower nozzle greatly, the productivity ratio of product has also been improved simultaneously, wherein, every production line can go out the china ink simultaneously, also can not go out the china ink simultaneously, mutual independence between each production line, how guarantee that every production line supports independent control's print task is that Onepass multi-production line prints a problem of treating urgent need to be solved.
Disclosure of Invention
The embodiment of the invention provides an Oneepass printing control method, device, equipment and storage medium, and solves the problem of how to ensure that each production line supports independently controlled printing tasks when multiple production lines in an Oneepass printing system print.
In a first aspect, an embodiment of the present invention provides an Onepass printing control method, including:
dividing all physical channels into a plurality of groups according to printing requirements, wherein each group corresponds to a production line, each production line comprises x physical channels, x is not less than 1, and x is an integer;
n logic channels are configured for each production line, n is more than or equal to x, and n is an integer;
receiving a printing command, and extracting corresponding printing data from a printing memory by taking the logic channel as a unit;
and processing the printing data according to the printing parameters and inputting the processed printing data into a corresponding physical channel for printing.
Each physical channel corresponds to one spray head or y rows of spray nozzles on the corresponding spray head, y is larger than or equal to 1, and the printing parameters are generated according to the printing requirements and the characteristics of the printing equipment.
Preferably, the printing requirements include: the width information of the product to be printed along the arrangement direction of the spray heads is divided into a plurality of groups according to the printing requirement, and each group corresponds to one production line and comprises the following steps:
and dividing all physical channels in the equipment to be printed into a plurality of groups according to the width information of the products to be printed along the arrangement direction of the spray heads, wherein each group corresponds to one production line.
Preferably, the printing requirements further include: the information of the number of copies to be printed of a product to be printed;
the method comprises the following steps that n logic channels are configured for each production line, n is larger than or equal to x, and n is an integer, and the method further comprises the following steps:
generating a printing task queue according to the information of the number of copies to be printed of a product to be printed;
reading printing parameters according to the printing task queue and establishing a target printing task of each production line;
storing the target print job of each production line in a job processing buffer;
and establishing a mapping relation among a physical channel, a logic channel, a production line and a task processing buffer according to the printing requirement.
Preferably, the receiving a print command and extracting corresponding print data from a print memory by using the logical channel as a unit includes:
receiving a printing command, and extracting the target printing task of each production line from the task processing buffer according to the mapping relation;
and calculating the storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task, and extracting the corresponding printing data from the printing memory according to the storage address.
Preferably, the calculating, according to the printing parameter of the target printing task, a storage address of the printing data corresponding to the logic channel at this time of firing, and extracting, according to the storage address, the corresponding printing data from the printing memory further includes:
calculating the actual storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task;
determining a required reading address of the printing data corresponding to the logic channel according to the printing parameters and the memory addressing requirement of the target printing task;
determining invalid data in the print data to be read according to the actual storage address and the required reading address;
and reading the printing data, removing the invalid data and writing the invalid data into a data cache.
Preferably, the print data processing includes one or more of a masking process, a feathering process, and a merging process.
In a second aspect, an embodiment of the present invention provides an Onepass printing control apparatus, including:
the production line distribution module is used for dividing all the physical channels into a plurality of groups according to the printing requirements, each group corresponds to one production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer;
the logic channel configuration module is used for configuring n logic channels for each production line, wherein n is more than or equal to x, and n is an integer;
the printing data extraction module is used for receiving a printing command and extracting corresponding printing data from a printing memory by taking the logic channel as a unit;
the printing module is used for inputting the printing data into a corresponding physical channel for printing after processing the printing data according to the printing parameters;
each physical channel corresponds to one spray head or y rows of spray nozzles on the corresponding spray head, y is larger than or equal to 1, and the printing parameters are generated according to the printing requirements and the characteristics of the printing equipment. .
Preferably, the apparatus further comprises: and the triggering printing module is used for reading printing parameters according to the printing task queue, establishing a target printing task of each production line and storing the target printing task of each production line into a task processing buffer.
In a third aspect, an embodiment of the present invention provides an Onepass printing control apparatus, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect of the embodiments described above.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of the first aspect in the above embodiments.
In summary, according to the Onepass printing control method, apparatus, device and medium provided in the embodiments of the present invention, all physical channels are divided into a plurality of groups according to the printing requirements, each group corresponds to one production line, n logical channels are configured for each production line, and then data extraction and processing are performed by using the logical channels as a bridge, so that each production line can independently control a corresponding printing task and can accurately print on a predetermined position.
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 schematic view of the head structure of the Oneepass printing apparatus.
Fig. 2 is a flowchart of the Onepass printing control method according to the first embodiment of the present invention.
Fig. 3 is a schematic diagram of line allocation of the Onepass printing control method according to the first embodiment of the present invention.
Fig. 4 is a flowchart of the Onepass printing control method according to the second embodiment of the present invention.
FIG. 5 is a flow chart of job queue setup printing for the Oneepass printing system implementing the multi-line printing method according to the second embodiment of the present invention.
Fig. 6 is a flowchart of an Onepass printing control method according to a third embodiment of the present invention.
Fig. 7 is a flowchart of an Onepass printing control method according to a fourth embodiment of the present invention.
Fig. 8 is a schematic structural view of the Onepass printing control apparatus according to the fifth embodiment of the present invention.
Fig. 9 is a schematic diagram of production line triggered printing of the Onepass printing control device according to the fifth embodiment of the present invention.
Fig. 10 is a schematic structural view of an Onepass print control apparatus of a sixth embodiment of 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.
Referring to fig. 2, an embodiment of the present invention provides an Onepass printing control method, where all physical channels are divided into a plurality of groups according to a printing requirement, each group corresponds to a production line, n logical channels are configured for each production line, and then data is extracted and processed by using the logical channels as a bridge, so that each production line can independently control a corresponding printing task and can accurately print on a predetermined position. The method specifically comprises the following steps:
s1, dividing all physical channels into a plurality of groups according to printing requirements, wherein each group corresponds to a production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer;
s2, configuring n logic channels for each production line, wherein n is larger than or equal to x and is an integer;
s3, receiving a printing command, and extracting corresponding printing data from a printing memory by taking the logic channel as a unit;
and S4, processing the print data according to the print parameters and inputting the processed print data into a corresponding physical channel for printing.
Specifically, all physical channels are divided into a plurality of groups according to printing requirements input by customers, each group corresponds to a production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer, wherein when the production line only occupies half of a certain physical channel, the production line is treated as a physical channel in the invention, and if the production line actually occupies 3 half physical channels, the production line comprises 4 physical channels in the invention; and configuring n logical channels for each production line according to the number of the physical channels owned by each production line, wherein the number of the logical channels owned by each production line can be the same as the number of the physical channels owned by each production line, one physical channel corresponds to one logical channel at the moment, and the corresponding printing data extracted from the printing memory by taking the logical channels as units can be accurately input into the corresponding physical channels in the corresponding production lines after the corresponding relations among the production lines, the logical channels and the physical channels are established. When the number of the logical channels owned by each production line is larger than that of the physical channels owned by each production line, a plurality of logical channels corresponding to a certain physical channel or a plurality of logical channels not corresponding to a certain physical channel necessarily exist, when a certain physical channel corresponds to a plurality of logical channels, the corresponding printing data is extracted from a printing memory by taking the logical channel as a unit, then the printing data corresponding to all the logical channels in the physical channels are merged, and then the processing is carried out according to the printing parameters and the input is carried out on the physical channels; and when a certain logical channel does not have a corresponding physical channel, the logical channel does not perform any operation. The printing parameters are generated according to the printing requirements and the characteristics of the printing equipment, and specifically include: the number of nozzles corresponding to the physical channels, the maximum number of channels, the last channel serial number and channel control parameters in each production line, and other parameters related to printing, wherein the physical channels included in each production line can be located in one Onepass printing device or multiple Onepass printing devices, and the specific situation is not limited herein.
Referring to fig. 3, in the present embodiment, each production line is located in the same Onepass printing apparatus, one nozzle corresponds to one physical channel, the number of the physical channels is equal to the number of the logical channels, one physical channel corresponds to one logical channel, no two production lines share one physical channel, the printing apparatus has 12 nozzles, that is, 12 physical channels, and each physical channel is numbered from PCH0 to PCH11, PCH0 represents the first physical channel, PCH1 represents the second physical channel, and PCH3 represents the third physical channel … … PCH11 represents the twelfth physical channel, with a certain end point in the nozzle arrangement direction (X-axis direction) as a starting point and a direction perpendicular to the nozzle arrangement as a printing direction (Y-axis direction). The 12 logic channels are distributed according to the number of the physical channels, the 12 logic channels are numbered from LCH0 to LCH11, LCH0 represents a first logic channel, LCH1 represents a second logic channel … … LCH11 represents a twelfth logic channel, the first logic channel LCH0 corresponds to a first physical channel PCH0, the second logic channel LCH1 corresponds to a second physical channel PCH1, and the like. Determining a production line corresponding to the logical channel corresponding to each physical channel according to the production line corresponding to each physical channel, where in this embodiment, the physical channels PCH0 to PCH2 belong to production line 1, and the logical channels LCH0 to LCH2 belong to production line 1; physical channels PCH 3-PCH 6 belong to production line 2, and logical channels LCH 3-LCH 6 belong to production line 2; the physical channel PCH7 belongs to production line 3, and the logical channel LCH7 belongs to production line 3; physical channels PCH 8-PCH 11 belong to production line 4, and logical channels LCH 8-LCH 11 belong to production line 4; by numbering each physical channel and each logical channel, the relative position of the production line corresponding to each logical channel and each logical channel in the corresponding production line can be determined according to the number, the data length corresponding to each logical channel is equal to the length of the physical channel, the length of the physical channel represents the number of nozzles owned by the physical channel, and the data length of the logical channel can be larger than the length of the physical channel. According to the method, the corresponding relation among the physical channels, the logical channels and the production lines is established, the one-to-one corresponding relation among the physical channels, the logical channels and the production lines is ensured, and further, the independent control of each production line is ensured.
In another embodiment, each production line is located in the same Onepass printing device, one nozzle corresponds to one physical channel, the number of logical channels is greater than that of physical channels, and at least two production lines share one physical channel, the printing device has 12 nozzles in total, that is, 12 physical channels, each physical channel is numbered with a certain end point in the nozzle arrangement direction (X-axis direction) as a starting point, the direction perpendicular to the nozzle arrangement direction is the printing direction (Y-axis direction), in the present embodiment, the leftmost end in the nozzle arrangement direction is taken as a starting point, the number of each physical channel is from PCH0 to PCH11, PCH0 represents the first physical channel, PCH1 represents the second physical channel, and PCH2 represents the third physical channel … … PCH11 represents the twelfth physical channel. In this embodiment, if there are 4 production lines, if the number of logical channels is 4 times of the number of physical channels, 48 logical channels are allocated in total, and the 48 logical channels are numbered from LCH0 to LCH47, LCH0 represents the first logical channel, LCH1 represents the second logical channel … … LCH47 represents the forty-eighth logical channel, logical channels LCH0 to LCH11 belong to production line 1, logical channels LCH12 to LCH23 belong to production line 2, logical channels LCH24 to LCH35 belong to production line 3, and logical channels LCH36 to LCH47 belong to production line 4; by numbering each physical channel and each logical channel, the relative position of the production line corresponding to each logical channel and each logical channel in the corresponding production line can be determined according to the numbers, the data length corresponding to each logical channel is equal to the length of the physical channel, and the length of the physical channel represents the number of nozzles owned by the physical channel. In the embodiment, when the production lines share the physical channel, the plurality of logical channels are configured for each physical channel, and then the plurality of logical channels are distributed to different production lines according to the task parameters, so that the shared physical channel is split into different production lines, and the independent control of each production line is ensured.
Preferably, the printing requirements include: the width information of the product to be printed along the arrangement direction of the spray heads is divided into a plurality of groups according to the printing requirement, and each group corresponds to one production line and comprises the following steps:
and dividing all physical channels in the equipment to be printed into a plurality of groups according to the width information of the products to be printed along the arrangement direction of the spray heads, wherein each group corresponds to one production line, and the production lines are flexibly configured according to customer requirements and are convenient to apply.
Preferably, the printing requirements further include: the information of the number of copies to be printed of a product to be printed; referring to fig. 4, after the step S2, the method further includes:
s01, generating a printing task queue according to the information of the number of copies to be printed of the product to be printed;
s02, reading printing parameters according to the printing task queue, and establishing a target printing task of each production line;
s03, storing the target printing task of each production line into a task processing buffer;
s04, establishing the mapping relation among the physical channel, the logic channel, the production line and the task processing buffer according to the printing requirement.
Specifically, referring to fig. 5, in this embodiment, all the physical channels are divided into 4 groups, i.e., a production line 1, a production line 2, a production line 3, and a production line 4, according to the width of the product to be printed along the arrangement direction of the nozzles, and then, according to the number of copies of the product to be printed, a print job queue is generated for the production line 1, the production line 2, the production line 3, and the production line 4, respectively, in this embodiment, the print job queue of the production line 1 currently has only 1 job queue, i.e., the job queue of the background image in fig. 5, the print job queues of the production line 2 have a plurality of date job queues, i.e., date job queues in fig. 5, such as "10 month 1 day in 2018, 10 month 2 day in 2018, and 10 month 3 day … … in 2018, the print job queues of the production line 3 have a plurality of job queues in fig. 5, i.e., the" rainy day, cloudy day, sunny day … … ", the print job queues of the, 100001, 100002 … … "; the number of printing tasks contained in a printing task queue of four production lines is the same as the number of copies to be printed of products to be printed, then each production line sequentially reads printing parameters according to the printing task queue, a target printing task is established while the printing parameters are read, the target printing task is stored to a certain area in a task processing buffer after the target printing task is established, each production line in the task processing buffer is provided with a corresponding target printing task storage area, each production line is provided with a physical channel and a logical channel which correspond to each other, the mapping relation among the physical channels, the logical channels, the production lines and the task processing buffer can be determined according to the corresponding relation, each production line can be independently controlled according to the mapping relation, and after a printing command is received, corresponding printing data extracted from a printing memory by taking the logical channels as units can be conveniently, quickly and accurately processed according to the mapping relation And inputting a corresponding physical channel for printing.
Preferably, referring to fig. 6, in the present embodiment, the step S3: receiving a printing command, and extracting corresponding printing data from a printing memory by taking the logic channel as a unit specifically comprises the following steps:
s31, receiving a printing command, and extracting the target printing task of each production line from the task processing buffer according to the mapping relation;
and S32, calculating the storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task, and extracting the corresponding printing data from the printing memory according to the storage address.
Referring to fig. 7, in the present embodiment, the step S32: calculating a storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task, and extracting the corresponding printing data from the printing memory according to the storage address specifically comprises the following steps:
s321, calculating an actual storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task;
s322, determining a required reading address of the printing data corresponding to the logic channel according to the printing parameters and the memory addressing requirement of the target printing task;
s323, determining invalid data in the print data to be read according to the actual storage address and the required reading address;
and S324, reading the printing data, removing the invalid data and writing the invalid data into a data cache.
Specifically, in this embodiment, the extraction of the print data requires that the print data are aligned by an integer multiple of bytes, such as 64 bits and 56 bits, but the actually stored print data are misaligned, so that an alignment operation is required when the print data are read, an actual storage address of the print data corresponding to the logic channel at this time can be calculated according to a print parameter, and then a required read address of the print data corresponding to the logic channel is determined according to a memory addressing requirement, so that the data stored in a range from the required read address to the actual storage address is invalid data in the print data, and finally the print data is read, and the invalid data is written into a data cache after being removed, where the print data in the data cache are aligned by an integer multiple of bytes.
Preferably, the print data processing includes: one or more of a masking process, a feathering process, and a merging process. Specifically, the printing data in the data cache and the data determined according to the printing requirements are subjected to related calculation according to the printing parameters, certain physical channels need ink discharging and certain physical channels do not need ink discharging for one-time printing, and the physical channels which do not need ink discharging need shielding processing according to the data extracted by the corresponding logic channels so as not to discharge ink; when certain images need higher printing quality, feathering the images during printing to ensure that the printing effect of the images is better, and specifically performing the AND operation on the printing data corresponding to the images and feathering template data to ensure that the printed images have better effect; when the variable image is printed, each image in a class of variable images has a same background image, and the same position of each image has a variable image which changes according to a certain rule.
Referring to fig. 8, an embodiment of the present invention provides an Onepass printing control apparatus, including:
the production line distribution module 10 is used for dividing all the physical channels into a plurality of groups according to the printing requirements, each group corresponds to one production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer;
a logic channel configuration module 20, configured to configure n logic channels for each production line, where n is greater than or equal to x, and n is an integer;
a print data extracting module 30, configured to receive a print command, and extract corresponding print data from the print memory by using the logical channel as a unit;
and the printing module 40 is configured to input the print data into a corresponding physical channel for printing after processing the print data according to the print parameters.
Preferably, the apparatus further comprises: and the triggering printing module is used for reading printing parameters according to the printing task queue, establishing a target printing task of each production line and storing the target printing task of each production line into a task processing buffer. Referring to fig. 9, each production line has a trigger print module for triggering the corresponding production line to establish a target print task, for example, the production line 1 in fig. 9 has a production line 1 trigger print module and a production line 1 task queue, and after being processed by print control, the task is output through the production line 1 output interface and is finally input to the printing device 1; the production line 2 is provided with a production line 2 trigger printing module and a production line 2 task queue, and the tasks are processed by printing control, then are output through an output interface of the production line 2 and finally are input into the printing equipment 2; the production line n is provided with a production line n trigger printing module and a production line n task queue, and the tasks are processed by printing control, then are output through a production line n output interface and finally are input into the printing equipment n; and each production line is ensured to be triggered and controlled independently.
Preferably, the printing requirements include: the width information of the product to be printed along the arrangement direction of the spray heads is divided into a plurality of groups according to the printing requirement, and each group corresponds to one production line and comprises the following steps:
and dividing all physical channels in the equipment to be printed into a plurality of groups according to the width information of the products to be printed along the arrangement direction of the spray heads, wherein each group corresponds to one production line.
Preferably, the print data extraction module 30 further includes:
the target printing task extraction unit is used for receiving a printing command and extracting the target printing task of each production line from the task processing buffer according to the mapping relation;
and the printing data extraction unit is used for calculating the storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters and extracting the corresponding printing data from the printing memory according to the storage address.
Preferably, the calculating, according to the printing parameter, a storage address of the printing data corresponding to the logic channel at this time of firing, and extracting, according to the storage address, the corresponding printing data from the printing memory further includes:
calculating the actual storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters;
determining a required reading address of the printing data corresponding to the logic channel according to the printing parameters and the memory addressing requirement;
determining invalid data in the print data to be read according to the actual storage address and the required reading address;
and reading the printing data, removing the invalid data and writing the invalid data into a data cache.
In addition, the Onepass printing control method of the embodiment of the present invention described in conjunction with fig. 2 may be implemented by an Onepass printing control apparatus. Fig. 10 is a schematic diagram illustrating a hardware structure of the Onepass print control apparatus according to the embodiment of the present invention.
The Onepass print control device may include a processor 401 and memory 402 storing computer program instructions.
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 Onepass printing control methods in the above embodiments.
In one example, the Onepass print control device may also include a communication interface 403 and a bus 410. As shown in fig. 10, 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 that couple the components of the Onepass print control 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.
In addition, in combination with the Onepass printing control method in the above embodiments, embodiments of the present invention may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the Onepass printing control methods in the embodiments described above.
In summary, according to the Onepass printing control method, apparatus, device and medium provided in the embodiments of the present invention, all physical channels are divided into a plurality of groups according to the printing requirements, each group corresponds to one production line, n logical channels are configured for each production line, and then data extraction and processing are performed by using the logical channels as a bridge, so that each production line can independently control a corresponding printing task and can accurately print on a predetermined position.
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.
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.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
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. An Oneeglass printing control method, characterized by comprising:
dividing all physical channels into a plurality of groups according to printing requirements, wherein each group corresponds to a production line, each production line comprises x physical channels, x is not less than 1, and x is an integer;
n logic channels are configured for each production line, n is more than or equal to x, and n is an integer;
receiving a printing command, and extracting corresponding printing data from a printing memory by taking the logic channel as a unit;
processing the printing data according to the printing parameters and then inputting the processed printing data into a corresponding physical channel for printing;
each physical channel corresponds to one spray head or y rows of spray nozzles on the corresponding spray head, y is larger than or equal to 1, and the printing parameters are generated according to the printing requirements and the characteristics of the printing equipment.
2. The Oneepass printing control method of claim 1, wherein the printing requirements include: the width information of the product to be printed along the arrangement direction of the spray heads is divided into a plurality of groups according to the printing requirement, and each group corresponds to one production line and comprises the following steps:
and dividing all physical channels in the equipment to be printed into a plurality of groups according to the width information of the products to be printed along the arrangement direction of the spray heads, wherein each group corresponds to one production line.
3. The Oneepass printing control method of claim 1, wherein the printing requirements further comprise: the information of the number of copies to be printed of a product to be printed;
the method comprises the following steps that n logic channels are configured for each production line, n is larger than or equal to x, and n is an integer, and the method further comprises the following steps:
generating a printing task queue according to the information of the number of copies to be printed of a product to be printed;
reading printing parameters according to the printing task queue and establishing a target printing task of each production line;
storing the target print job of each production line in a job processing buffer;
and establishing a mapping relation among a physical channel, a logic channel, a production line and a task processing buffer according to the printing requirement.
4. The Oneepass printing control method according to claim 3, wherein the receiving a print command and extracting corresponding print data from a print memory in units of the logical channels comprises:
receiving a printing command, and extracting the target printing task of each production line from the task processing buffer according to the mapping relation;
and calculating the storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task, and extracting the corresponding printing data from the printing memory according to the storage address.
5. The Oneepass printing control method according to claim 4, wherein the calculating a storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task, and extracting the corresponding printing data from the printing memory according to the storage address further comprises:
calculating the actual storage address of the printing data corresponding to the logic channel ignited this time according to the printing parameters of the target printing task;
determining a required reading address of the printing data corresponding to the logic channel according to the printing parameters and the memory addressing requirement of the target printing task;
determining invalid data in the print data to be read according to the actual storage address and the required reading address;
and reading the printing data, removing the invalid data and writing the invalid data into a data cache.
6. The Oneeglass printing control method according to any one of claims 1 to 5, wherein the printing data processing includes one or more of a mask processing, a feathering processing, and a merge processing.
7. An Oneeglass printing control device, the device comprising:
the production line distribution module is used for dividing all the physical channels into a plurality of groups according to the printing requirements, each group corresponds to one production line, each production line comprises x physical channels, x is more than or equal to 1, and x is an integer;
the logic channel configuration module is used for configuring n logic channels for each production line, wherein n is more than or equal to x, and n is an integer;
the printing data extraction module is used for receiving a printing command and extracting corresponding printing data from a printing memory by taking the logic channel as a unit;
the printing module is used for inputting the printing data into a corresponding physical channel for printing after processing the printing data according to the printing parameters;
each physical channel corresponds to one spray head or y rows of spray nozzles on the corresponding spray head, y is larger than or equal to 1, and the printing parameters are generated according to the printing requirements and the characteristics of the printing equipment.
8. The Oneepass print control device of claim 7, further comprising: and the triggering printing module is used for reading printing parameters according to the printing task queue, establishing a target printing task of each production line and storing the target printing task of each production line into a task processing buffer.
9. An Oneepass print control 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-6.
10. A storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-6.
CN201811638358.1A 2018-12-29 2018-12-29 Oneepass printing control method, device, equipment and medium Active CN109703217B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811638358.1A CN109703217B (en) 2018-12-29 2018-12-29 Oneepass printing control method, device, equipment and medium
PCT/CN2019/128946 WO2020135649A1 (en) 2018-12-29 2019-12-27 Onepass system inkjet printing control method and device, and storage medium
US17/312,944 US11481589B2 (en) 2018-12-29 2019-12-27 Onepass system inkjet printing control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811638358.1A CN109703217B (en) 2018-12-29 2018-12-29 Oneepass printing control method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109703217A CN109703217A (en) 2019-05-03
CN109703217B true CN109703217B (en) 2020-05-01

Family

ID=66260159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811638358.1A Active CN109703217B (en) 2018-12-29 2018-12-29 Oneepass printing control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109703217B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110202932B (en) * 2019-07-02 2020-06-16 深圳市汉森软件有限公司 Oneepass printing data shielding method, device, equipment and storage medium
US11481589B2 (en) * 2018-12-29 2022-10-25 Shenzhen Hosonsoft Co., Ltd Onepass system inkjet printing control method, device and storage medium
CN110187851B (en) * 2019-05-25 2021-06-15 森大(深圳)技术有限公司 Data processing method, device, equipment and storage medium for ink-jet printer
CN110837350B (en) * 2019-11-27 2024-06-18 深圳市汉森软件股份有限公司 Continuous sun printing method, lower computer, upper computer and system
CN111469558B (en) * 2020-03-31 2021-03-05 厦门汉印电子技术有限公司 Multi-nozzle control system and control method thereof
CN113515242B (en) * 2020-04-11 2023-07-14 深圳市汉森软件有限公司 Distributed printing system, method, apparatus and storage medium
CN112319067B (en) * 2020-09-18 2022-07-22 季华实验室 Ink-jet printing data distribution method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002370363A (en) * 2001-06-15 2002-12-24 Canon Inc Substrate for ink jet recording head, ink jet recording head, and ink jet recorder
CN101259796B (en) * 2003-03-18 2011-02-16 精工爱普生株式会社 Liquid jetting device
CN100430228C (en) * 2005-05-18 2008-11-05 明基电通股份有限公司 Fluid jet device
KR100823257B1 (en) * 2005-07-28 2008-04-17 삼성전자주식회사 Inkjet image forming apparatus and Printing method for inkjet image forming apparatus
KR100654765B1 (en) * 2005-09-26 2006-12-08 삼성전자주식회사 Head driving device, inkjet printer comprising the same and data processing method thereof
WO2012102709A1 (en) * 2011-01-25 2012-08-02 Hewlett-Packard Development Company, L.P. Printhead apparatus, printer system and method of printhead built-in test
CN106799891A (en) * 2015-11-26 2017-06-06 深圳市富彩三维技术有限公司 A kind of array electrofluid spray printing shower nozzle and logic control method

Also Published As

Publication number Publication date
CN109703217A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN109703217B (en) Oneepass printing control method, device, equipment and medium
CN109605954B (en) Oneepass printing control method, device, equipment and medium
CN109263280B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN109760431B (en) Print data processing method, device, equipment and storage medium
CN109710198B (en) Printing method, device and equipment for local dynamic variable image
CN109263279B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN110421984B (en) Reciprocating scanning printing control method, device, equipment and storage medium
CN109697040B (en) Print data processing method, device and printer
CN111347793B (en) Digital nozzle splicing error processing method and device, printing equipment and storage medium
CN111267489B (en) Print data processing method, device, equipment and storage medium
CN110688074B (en) Method, device and equipment for distributing data for multi-nozzle printing and storage medium
CN110039901B (en) Oneepass inkjet printing control method, device, equipment and medium
CN109669647B (en) Print image data processing method, apparatus, device and storage medium
CN109739449B (en) Method, device, equipment and medium for synchronously processing printing parameters and printing data
CN110202936A (en) Based on state diagram detection nozzle whether Yi Chang method, apparatus, equipment and medium
CN114347650B (en) Image precision self-adaptive printing method, device, equipment and storage medium
CN110341311B (en) Oneepass printing data shielding processing method, device, equipment and storage medium
CN110163307A (en) Method of printing, device, equipment and the medium of label position can be adjusted in real time
US11481589B2 (en) Onepass system inkjet printing control method, device and storage medium
CN110901229B (en) Image data processing method, device, equipment and storage medium
CN110202932B (en) Oneepass printing data shielding method, device, equipment and storage medium
CN106033328A (en) Method and device for printing control suitable for printing overprinting
CN113442581A (en) Printing method, device, equipment and storage medium
CN112571999B (en) Multi-production-line printing task self-adaptive matching method, device, equipment and medium
CN113895151A (en) Printing data fault tolerance processing method, device, equipment 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200413

Address after: 518000 Guangdong Province Shenzhen Baoan District Hangcheng Street Hezhou Community Island Road 739 Hengfeng Industrial City C6 1701, 1703

Applicant after: SHENZHEN HOSONSOFT Co.,Ltd.

Address before: Room 1701, Building C6, Hengfeng Industrial City, Xixiang Street, Baoan District, Shenzhen City, Guangdong Province

Applicant before: SENDA (SHENZHEN) TECHNOLOGY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: OnePass printing control method, device, equipment and medium

Effective date of registration: 20200810

Granted publication date: 20200501

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: SHENZHEN HOSONSOFT Co.,Ltd.

Registration number: Y2020990000917

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20210913

Granted publication date: 20200501

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: SHENZHEN HOSONSOFT Co.,Ltd.

Registration number: Y2020990000917

PC01 Cancellation of the registration of the contract for pledge of patent right
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Patentee after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN HOSONSOFT Co.,Ltd.