Variable information printing method and system
By refining the printing information into grid micro-blocks and performing phase offset sensitivity weighting and order reconstruction, the problem of local printing defects in the printing control system is solved, and high-quality printing is achieved when the speed of the printing object changes.
Patent Information
- Application Number
- CN202611323185.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing inkjet control systems struggle to reflect the waiting differences between different grid lines and the timing deviations of content areas when the speed of the printed object changes, leading to localized printing defects. For example, the positional deviations between the machine-readable code edge area and the high-density continuous inkjet area cannot be matched, affecting the printing quality.
The information to be printed is parsed into multiple grid micro-blocks, generating a content load description of continuous spray length, number of spray points per unit area, edge direction distribution, and blank interval. The phase offset is calculated through a motion phase prediction window, and the spray phase is adjusted, the blank interval is redistributed, and the sending order is reconstructed based on sensitivity weighting.
It effectively maintains the relative position and geometric relationship of the machine-readable code edge, fine text strokes and high-density continuous inkjet area, avoids local misalignment caused by uniform compensation, and improves the stability and quality of variable information printing.
Smart Images

Figure CN123180194A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the interdisciplinary field of inkjet printing control and data processing, specifically a variable information inkjet printing method and system. Background Technology
[0002] Variable information printing is typically used to print serial numbers, batch information, date information, text content, machine-readable codes, and graphic content onto a continuously moving substrate after each item is changed. Existing systems generally use a data reading program to retrieve variable fields from a database or higher-level control program, write these fields into a preset layout template, and then convert the template content into binary or multi-value raster data arranged line by line. The printing control program determines the moment when a single substrate enters the printing area based on a trigger signal, and calculates the data output cycle based on the set resolution, printing width, and movement speed, sequentially writing the raster rows into the buffer. The printing data in the buffer is sent to the printing execution end in a fixed first-in-first-out order, and the printing execution end controls the corresponding spray position to complete the printing based on the received dot matrix data. This type of solution treats the complete bitmap as a unified control object; data generation, buffer queuing, and spray output are all processed in whole lines or whole images as the basic unit. Although text, machine-readable codes, and graphic areas differ in content, they typically use the same output cycle and the same phase compensation amount during timing control.
[0003] To reduce the impact of changes in the speed of the substrate on the printing position, existing technologies typically collect the time interval between adjacent trigger signals or read the current speed value provided by the transport control program, and then adjust the printing frequency, data line interval, or the start time of the entire image output according to the speed changes. Some solutions also measure the data transmission delay and jet response delay before the printing task begins, convert the measured fixed delay into a displacement compensation amount, and uniformly shift all printing data forward or backward. When the speed change is slow and the jetting points of the image to be printed are relatively uniformly distributed, uniform compensation can keep the overall image within a predetermined area. However, the trigger signal, speed data, buffer waiting time, and jet response time originate from different processing stages, each with its own sampling period and transmission delay. After short-term acceleration, deceleration, or trigger jitter, a phase difference can easily occur between the speed state obtained by the control program and the actual output time of the raster data. Existing solutions mostly calculate the compensation amount for the entire image using a single speed value or average trigger interval, which is difficult to reflect the waiting differences of different raster lines in the buffer, and also cannot distinguish the actual output timing of different content areas within the same printing line.
[0004] To address local printing defects in variable information, existing technologies employ techniques such as font bolding, edge smoothing, dot matrix expansion, blank column insertion, or machine-readable code size adjustment during the bitmap generation stage, and manually revise printing parameters based on trial printing results. These processes typically rely on static image quality, focusing on adjusting stroke width, code element size, or graphic outline, without establishing a correspondence between the continuous printing length of local content, the number of printing points per unit area, edge direction distribution, and transferable blank intervals, and the instantaneous motion state of the printed object. Fine-stroke areas of text, edge areas of machine-readable codes, and high-density continuously printed areas react differently to the same temporal deviation. The former is prone to altering stroke connectivity due to misalignment of adjacent printing columns, the middle area is prone to altering the readability structure due to code element boundary compression, and the latter is prone to forming local dot matrix clusters due to overlapping continuous output periods. Static raster modification can only change the data form before printing, and unified phase compensation can only change the average landing point of the entire image. Both types of processing lack common micro-block identifiers and temporal mappings, making it impossible to implement differentiated output reconstruction for local content.
[0005] The inkjet printing control process uses the entire line or image as a unified timing control object, failing to determine the sensitivity of different content areas to motion phase deviations based on their inkjet load characteristics. When the speed fluctuations of the printed object, trigger transmission delays, buffer queuing, and inkjet response delays all work together, the expected landing point offsets of different areas within the same printing line are not consistent. However, the existing control method still uses a unified output cycle, unified compensation amount, and fixed sending order, resulting in the actual landing point deviation of local grids not matching their content characteristics. Because machine-readable code edges, small character strokes, and high-density continuous inkjet areas have different timing tolerances, unified compensation can only correct the overall average position and cannot maintain the original geometric relationships and inkjet intervals between local areas. Therefore, it is difficult to maintain the stable formation of variable information local dot matrices during changes in motion. Essentially, there is a lack of calculable correlation between content load differences and motion timing deviations, and local inkjet data cannot be rearranged according to their respective deviation directions and amplitudes. Summary of the Invention
[0006] The purpose of this invention is to provide a variable information inkjet printing method and system that can solve the problems in the background art.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A variable information printing method includes: acquiring variable information to be printed that includes text fields, machine-readable codes and graphic fields; parsing the variable information to be printed into multiple grid micro-blocks corresponding to the printing grid positions; and generating a content load description for each grid micro-block that represents the continuous spray length, the number of spray points per unit area, the edge direction distribution and the blank interval. Based on the printing trigger time sequence, the motion speed sequence of the printed object, the printing data buffer queuing status, and the jet response delay, a motion phase prediction window is established to calculate the phase offset of each grid micro-block from the data output time to the expected landing time. The phase offset is sensitively weighted based on the content load description, and injection phase adjustment, blanking interval reallocation, and transmission order reconstruction are performed on each grid micro-block according to the weighting result; Variable information printing is driven by the reconstructed printing data sequence.
[0008] Preferably, the variable information to be printed is parsed into multiple grid micro-blocks, including: establishing semantic boundaries between text areas, machine-readable code areas, graphic areas and fixed background areas according to field types, and breaking continuous inkjet lines that cross the semantic boundaries at the boundary positions; Each region is divided into initial micro-blocks according to the direction of connection of the injection points, the local injection density gradient, and the edge curvature; A load coupling relationship is established between adjacent initial micro-blocks. When the continuous spraying intervals of adjacent initial micro-blocks overlap and the edge direction difference is less than the preset direction difference, they are merged. When a single initial micro-block contains both a high-density core area and a low-density edge area, it is split along the density gradient abrupt change position. Configure a unique micro-block identifier for each split or merged raster micro-block, and store the micro-block identifier in association with the corresponding field identifier, raster coordinate range, and allowed geometric deformation range.
[0009] Preferably, establishing the motion phase prediction window includes: converting the printing trigger time series into a trigger interval change series, resampling the motion speed series of the printed object according to the data output cycle, and converting the printing data buffer queuing state into the queue waiting time of each grid row to be output; A time-delay correlation analysis was performed on the trigger interval change sequence and the resampled motion velocity sequence to determine the phase lag of the trigger change relative to the actual motion change; The phase lag, queue waiting time, and jet response delay are mapped to a unified time axis. The corresponding time intervals are extracted according to the expected output order of the grid micro-blocks. The phase offset sequence of each grid micro-block is generated based on the velocity change slope and trigger interval change slope within the time interval.
[0010] Preferably, the sequence reconstruction includes: for multiple grid microblocks located in the same printing row, establishing a phase conflict graph based on the weighted phase offset direction, phase offset amplitude and content load description, wherein the graph nodes correspond to the grid microblocks, and the graph edges correspond to the conflict relationship that two grid microblocks cannot share the same jet phase in the same output cycle. Constraint priorities are configured in the following order: machine-readable code edges, fine text strokes, high-density continuous spraying areas, and ordinary graphic areas. Based on the phase conflict diagram, the same print line is divided into multiple phase segments, the spray phase and intra-segment transmission order are determined for each phase segment, and a transition interval formed by the redistribution of the blank grid of the original print line is inserted between adjacent phase segments.
[0011] Preferably, the generation of the content load description includes: using the unique micro-block identifier as an index, calculating the maximum continuous spray length of the grid micro-block in the main printing direction, the spray point aggregation width perpendicular to the main printing direction, the edge pixel direction histogram, the blank grid migration amount, and the number of spray point connected branches for the grid micro-block. The semantic preservation constraints of the grid micro-blocks are determined according to the corresponding field identifiers, wherein the machine-readable code region maintains the code element boundary and quiet zone width, the text region maintains the stroke connectivity relationship, and the graphic region maintains the outline inflection point order. The semantic preservation constraints are encoded into a set of prohibited adjustment positions and a set of allowed adjustment positions, and a content load vector is generated by combining the allowed geometric deformation range; When a grid micro-block changes due to splitting or merging, only the associated content load vector and the load coupling relationship between adjacent micro-blocks are incrementally updated.
[0012] Preferably, the generation of the phase offset sequence further includes: dividing the unified time axis into a trigger sampling layer, a data queuing layer and an ejection execution layer; recording the trigger interval change in the trigger sampling layer; recording the time when each grid row enters the buffer, obtains output permission and completes transmission in the data queuing layer; and recording the response interval from the ejection command to the expected ink droplet landing point in the ejection execution layer. A delay chain is constructed based on the association identifier of the same grid micro-block in the three-layer time axis, and the phase lag is decomposed into trigger propagation delay, queue migration delay and jet response delay; For the confirmed landing point deviation in the continuous printing cycle, a residual sequence is formed, and only the prediction parameters corresponding to the speed change interval, content load interval and time delay chain node to which the residual belongs are updated, while the prediction parameters of other intervals remain unchanged.
[0013] Preferably, the construction of the phase conflict map includes: whether the expected injection periods of the two grid micro-blocks overlap, whether the migration amount of the blank grid is sufficient to form a transition interval, and whether the semantic preservation constraint allows local displacement as the conditions for generating the graph edges; Extract the minimum conflict subgraph from multiple graph nodes that form a ring conflict, and select the reference node that maintains the original phase according to the constraint priority. Move the remaining nodes forward or backward according to the available blank grid positions, and recalculate the expected spraying time of adjacent nodes after the migration; When the minimum conflict subgraph cannot be resolved by blank grid migration, the corresponding print row is divided into two phase segments along the unsprayed dot column, and the grid mapping relationship before and after the division is maintained by field identifier and micro-block identifier.
[0014] Preferably, the sensitivity weighting includes: generating an edge deformation sensitive component, a continuous spray accumulation sensitive component, a blank migration margin component, and a semantic preservation rigidity component based on the content load vector; The set of prohibited adjustment positions restricts the injection points that can participate in phase correction, and the set of allowed adjustment positions determines the blank interval redistribution path; For the same grid micro-block, the phase offset is projected along the main printing direction, and the projection result is segmented and quantized according to each sensitive component to obtain multiple local correction amounts corresponding to the core spraying area, edge spraying area and transition blank area. The spray columns inside the grid microblocks are rearranged according to the local correction amount, while keeping the code element boundaries, character stroke connectivity, and graphic outline inflection point order unchanged.
[0015] Preferably, the determination of the injection phase of the phase segment includes: performing topological sorting on the phase conflict graph after conflict resolution, and allocating candidate output time slots to each graph node according to the topological order; The candidate output time slots are mapped to writable locations in the inkjet data buffer, and a reversible address mapping is established between the writable locations and the original raster coordinates. When the candidate output time slots of adjacent graph nodes cross the same field boundary, the relevant graph nodes are combined into an indivisible node group according to the field identifier, and the output time slots of the node group are uniformly corrected by the maximum phase offset amplitude in the node group. After all output time slots are allocated, phase segment data packets are generated according to the reversible address mapping. In each phase segment data packet, the inkjet line identifier, segment order identifier, starting phase, and grid micro-block identifier set are written.
[0016] A variable information inkjet printing system includes a processor, a memory, and an inkjet data interface for outputting inkjet data. The memory stores program instructions executed by the processor. The program instructions cause the processor to: acquire variable information to be printed, including text fields, machine-readable codes, and graphic fields; parse the variable information to be printed into multiple grid micro-blocks corresponding to the inkjet grid positions; and generate a content load description for each grid micro-block, representing the continuous inkjet length, the number of inkjet points per unit area, the edge direction distribution, and the blank interval. A motion phase prediction window is established based on the printing trigger time sequence, the motion speed sequence of the printed object, the printing data buffer queuing status, and the jet response delay, and the phase offset of each grid micro-block is calculated. The phase offset is sensitively weighted according to the content load description, and the jet phase adjustment, blank interval redistribution and transmission order reconstruction are performed on each grid micro-block. The reconstructed jet data sequence is then output through the jet data interface.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. By parsing the variable information to be printed into multiple grid micro-blocks corresponding to the printing grid positions, and generating content load descriptions such as continuous spray length, number of spray points per unit area, edge direction distribution, and blank interval for each grid micro-block, the printing control object is refined from a whole bitmap into local data units with independent content characteristics. After the printing trigger time sequence, the motion speed sequence of the printed object, the buffer queuing state, and the spray response delay are mapped to the motion phase prediction window, the phase offset of each grid micro-block from the data output time to the expected landing time can be obtained. The content load description is sensitively weighted to the phase offset, so that the machine can read the code edges, small character strokes, and high-density continuous spray areas and obtain corresponding correction amounts according to their respective time tolerances. The spray phase adjustment, blank interval reallocation, and transmission order reconstruction work together to enable the processing of local offsets with differences within the same printing line, avoiding the transfer of the average position error to local grid misalignment by uniform compensation, and maintaining the relative position, stroke connectivity, code element boundaries, and continuous spray interval of each region of the variable information.
[0018] 2. Grid micro-blocks are split or merged according to semantic boundaries, jet point connectivity directions, local jet density gradients, and edge curvature. Each micro-block is uniquely identified by its associated field identifier, grid coordinate range, and allowable geometric deformation range, ensuring that subsequent phase prediction, load calculation, and data reconstruction are performed continuously around the same data object. A unified timeline records trigger transmission delay, queue migration delay, and jet response delay in layers. This allows for the formation of a residual sequence based on confirmed landing point deviations within continuous printing cycles, updating only prediction parameters related to the corresponding speed change interval, content load interval, and delay chain node, reducing the interference of local anomalies on parameters of other printing intervals. The phase conflict graph establishes constraints on grid micro-blocks that cannot share jet phases within the same output cycle. The transmission order is determined through minimum conflict subgraph processing, blank grid migration, and phase segment division. Reversible address mapping preserves the correspondence between reconstructed data and the original grid coordinates, allowing printed data to be traced by micro-block and field identifiers after segmented output, facilitating continuous data updates in subsequent printing cycles. Attached Figure Description
[0019] Figure 1This is a flowchart illustrating the overall processing flow of the variable information inkjet printing method. Figure 2 Flowchart for generating raster micro-block partitioning and content load descriptors; Figure 3 Flowchart for motion phase prediction and prediction parameter update; Figure 4 Flowchart for phase conflict resolution and printing data transmission sequence reconstruction; Figure 5 This is a diagram showing the load distribution of the grid micro-particle jetting. Figure 6 This is a local phase shift curve; Figure 7 Weighted correction chart for content sensitivity; Figure 8 For triggering the velocity delay correlation graph; Figure 9 The plot shows the convergence of the landing point residuals. Figure 10 This is a phase conflict edge determination graph; Figure 11 A diagram showing the local correction amount allocation for the core injection zone, edge injection zone, and transition blank zone. Detailed Implementation
[0020] In one embodiment, please refer to Figure 1 A variable information printing method includes: acquiring variable information to be printed, which includes text fields, machine-readable codes, and graphic fields; parsing the variable information to be printed into multiple grid micro-blocks corresponding to the printing grid positions; generating a content load description for each grid micro-block, representing the continuous spray length, the number of spray points per unit area, the edge direction distribution, and the blank interval; establishing a motion phase prediction window based on the printing trigger time sequence, the motion speed sequence of the printed object, the printing data buffer queuing state, and the spray response delay; calculating the phase offset of each grid micro-block from the data output time to the expected landing time; performing sensitivity weighting on the phase offset based on the content load description, and performing spray phase adjustment, blank interval reallocation, and transmission order reconstruction on each grid micro-block according to the weighting result; and driving variable information printing according to the reconstructed printing data sequence.
[0021] In this embodiment, the variable information to be printed is jointly defined by printing task data, layout description data, and printing control data. The printing task data is used to record the text content, machine-readable code payload, and graphic index corresponding to the current printing object. The layout description data is used to record the coordinate range, hierarchical relationship, and allowable adjustment boundary of each field in the logical layout. The printing control data is used to record the trigger time, the motion state of the printing object, the time when the data enters the buffer, and the expected execution time of the spraying command. The processing does not directly convert the complete layout into an indivisible continuous bitmap. Instead, after completing the field content replacement and rasterization, it retains the mapping relationship between the field identifier, raster coordinates, and spraying point, so that each spraying point can be traced back to the corresponding field and local content area.
[0022] Specifically, text fields are parsed according to characters, connected regions of strokes, and grid row intersections; machine-readable codes are parsed according to static areas, positioning graphics, functional graphics, and data element regions; and graphic fields are parsed according to closed contours, continuous filled regions, and edge transition regions. The parsing results form an initial region set, and then subdivision is performed based on the spraying continuity of each initial region in the main printing direction, so that the spraying points within the same grid microblock have similar spraying densities and similar edge directions. The main printing direction is the relative movement direction of the printing object corresponding to the output of printing data column by column or line by line. The subdivision process does not change the text content, machine-readable code load, and graphic contour topology of the original fields.
[0023] For any given grid microblock, a unique microblock identifier is generated by combining its top-left grid coordinates, bottom-right grid coordinates, field identifier, and current printing task identifier. This unique microblock identifier serves as the association key for subsequent content load calculation, motion phase prediction, transmission order reconstruction, and feedback residual update. The data record for a grid microblock includes at least the following: spray point matrix, continuous spray interval set, edge direction sequence, blank grid position set, prohibited movement position set, allowed movement position set, and adjacent microblock identifier set. The prohibited movement position set is used to record the grid positions corresponding to the machine-readable code positioning graphic boundary, key text connecting strokes, and graphic outline inflection points.
[0024] In this embodiment, the unit area injection point density of the grid micro-blocks is calculated according to the following formula: ; in, This represents the unit area spray point density of the i-th grid micro-block. This indicates the number of grid points within the grid micro-block that are in a spraying state. and These represent the number of points occupied by the grid micro-block along the horizontal and vertical directions of the grid, respectively. When a grid micro-block contains 48 injection points and occupies 8 × 10 grid points... When the value is set to 0.6, the grid micro-blocks are recorded as medium-high density regions, and together with the maximum continuous spray length, the amount of migration of blank grids, and the degree of concentration in the edge direction, they form the content load description.
[0025] Please refer to Figure 5 , Figure 5 The horizontal axis represents the output sequence number of the micro-blocks formed according to the order of printing data transmission, ranging from 1 to 56; the vertical axis represents the normalized value of the spray point density and the maximum continuous spray length per unit area, mainly ranging from 0 to 1. Solid lines correspond to spray density, dashed lines correspond to the normalized value of continuous length, and horizontal dashed lines are the thresholds for distinguishing between low, medium, and high densities. Figure 5 The density is calculated based on the density of spray points in a unit area, where the density value is obtained by dividing the number of spray points by the product of the horizontal and vertical points of the micro-block. Figure 5 As can be seen, the micro-block density and continuity length near serial numbers 1 to 10 and 49 to 55 are at relatively high levels, with a peak density of 0.9375, indicating that these areas are mostly key strokes of characters, machine-readable code boundaries, or local areas with heavy continuous spray load. The density near serial number 19 drops to 0.055556, and the normalized continuity length is only 0.125, indicating that this position has obvious blank or low-load transition characteristics. The overall trend shows that the micro-blocks are not uniformly output objects; high-density areas need higher protection in subsequent phase prediction and sensitivity weighting, while low-density areas with large blank margins can bear the burden of local interval redistribution.
[0026] The continuous spray length is obtained by scanning the continuous spray point intervals in each grid row or grid column. After sorting all continuous spray point intervals within the same grid micro-block, the maximum value, average value, and interval distribution are recorded. The edge direction distribution is determined by the boundary changes between adjacent spray points and blank points. The blank interval is determined by the number of blank points between adjacent continuous spray intervals. The allowable geometric deformation range is jointly determined by the field type and local topological relationship. The data symbol boundaries of machine-readable codes are not allowed to migrate across symbols. Non-connected blanks inside the text can migrate while maintaining stroke connectivity. The blank transition area inside ordinary filled graphics can be redistributed according to the contour boundary constraints.
[0027] The printing trigger time sequence consists of trigger events generated when the continuous printing objects pass through the printing reference position. Each trigger event records at least the trigger sequence number and timestamp. The motion speed sequence of the printing objects can be calculated by the printing control program based on continuous position change data, or it can be provided by existing transport control data. After the data enters the processing process, it is uniformly converted into a time sampling sequence corresponding to the printing data output cycle. The printing data buffer queuing status records the time when each grid row enters the buffer, obtains the qualification to send, and completes the sending. The jetting response delay records the time interval between the sending of the jetting control data and the expected landing point of the corresponding jetting action.
[0028] The phase offset of the i-th grid micro-block is calculated according to the following formula: ; in, This represents the phase offset of the i-th grid micro-block relative to the reference landing point, and P represents the grid displacement length corresponding to one printing data cycle. This indicates the number of motion sampling intervals included between the data output and the expected landing point. This represents the velocity of the printed object within the k-th motion sampling interval. This represents the duration of the k-th motion sampling interval. This represents the standard displacement calculated based on the reference motion state. When the cumulative actual displacement exceeds the standard displacement... A positive value indicates that the expected landing point has moved forward along the direction of motion. When the cumulative actual displacement is less than the standard displacement... A negative value indicates that the expected landing point will shift backward along the direction of motion.
[0029] Please refer to Figure 6 , Figure 6 The horizontal axis represents the output sequence number of the grid micro-block, ranging from 1 to 56; the vertical axis represents the phase offset converted displacement, and the curves respectively show the phase offset and its result after conversion to grid displacement. Figure 6 The actual displacement is obtained by comparing it with the reference displacement, based on the cumulative motion velocity and sampling duration within the local prediction window. Figure 6 As can be seen, the overall shift is positive around numbers 1 to 15, reaching a positive peak at number 12, with a phase shift of approximately 0.010889, corresponding to a displacement of approximately 0.020797. This indicates that the expected landing point in this interval has shifted forward relative to the reference position along the direction of motion. The curves around numbers 24 to 36 transition into a negative range, reaching a negative extreme at number 28, with a phase shift of approximately -0.011212, corresponding to a displacement of approximately -0.021413. This indicates that the cumulative displacement corresponding to the output time of this segment is lower than the reference state. Of the 56 micro-blocks, 35 show positive shifts and 21 show negative shifts, indicating that the entire image cannot be processed using a single average compensation amount; motion phase prediction windows must be extracted separately for each micro-block's expected output time.
[0030] The motion phase prediction window does not set a single time interval for the entire variable information, but establishes interconnected local windows based on the expected output order of each grid microblock. Grid microblocks located at the beginning of the print data use earlier buffer states and speed sampling data, while grid microblocks located at the end of the print data use later buffer states and speed sampling data. When the buffer queuing time changes, the starting point of the window for the corresponding grid microblock moves with the actual time of obtaining the transmission qualification. This allows the phase shift of different grid microblocks within the same print line to reflect the differences in the local data output time.
[0031] The sensitivity weighting of the content load description to phase offset is calculated using the following formula: ; in, This represents the weighted phase correction amount for the i-th grid micro-block. Indicates the maximum continuous spray length. This indicates the maximum continuous spray length of all grid micro-blocks within the current printing task. Indicates the degree of concentration in the edge direction. This indicates that semantics remain rigid. Indicates the migration margin of blank raster cells. , , , and They are respectively represented as , , , and The corresponding non-negative weights sum to 1, when the machine reads the edge micro-blocks of the code. , and higher and At lower levels, The absolute value is close to the high-weight correction value of the original phase shift, when the ordinary graphic blank transition micro-block At higher values, the weighted result allows for the absorption of some phase shift through blank migration.
[0032] Please refer to Figure 7 , Figure 7 The horizontal axis represents the output sequence number of the micro-block, and the vertical axis represents the correction amount after content-sensitive weighting and the key components participating in the weighting. The solid line represents the weighted correction amount, and the other two curves represent the density component and the semantically preserving rigid component, respectively. Figure 7 It is calculated based on phase offset, injection density, maximum continuous injection length, edge direction concentration, semantic preservation rigidity, and blank migration margin. Figure 7The weighted correction value reaches a positive peak of approximately 0.007278 near index 13 and a negative extreme value of approximately -0.007229 near index 30, indicating that the phase shift retains directional differences after content-sensitive constraints, but the amplitude is redistributed by the content load. The density component near index 1 is approximately 0.216346, and the semantic rigidity component near index 7 is approximately 0.326923, showing that key symbol boundaries, text connectivity areas, and high-density spray areas have high protection weights during the correction process; the whitespace component near index 36 is high, indicating that this region can absorb some of the shift through whitespace migration. Figure 7 This means that weighted correction does not involve uniformly shifting the entire line, but rather assigns different correction intensities to different micro-blocks while preserving the semantic structure.
[0033] The jet phase adjustment is achieved by changing the starting output position of the data corresponding to the grid micro-block in the printing data sequence. When the weighted phase correction amount corresponds to an integer number of grid output cycles, the grid micro-block is moved forward or backward by the corresponding number of data positions. When the weighted phase correction amount contains less than one grid output cycle of remaining data, the remaining data is recorded as a local phase marker and written into the starting phase field of the corresponding phase sub-segment when the printing data packet is generated. The blank interval reallocation preferentially selects blank grids that are consistent with the offset direction from the set of allowed movement positions, and does not move the jet points corresponding to the set of prohibited movement positions.
[0034] The transmission order reconstruction uses grid micro-blocks as the basic objects, but does not change the order of data with sequential dependencies within the same semantic field. When multiple grid micro-blocks can be transmitted in the same output cycle and there is no conflict in the phase adjustment results, they are combined into the same data segment according to the original grid coordinate order. When multiple grid micro-blocks have different phase correction directions or phase correction amplitudes and cannot share the same output cycle, the original print line is split into multiple phase sub-segments. Each phase sub-segment contains the corresponding grid micro-block identifier, print line identifier, starting phase, data length, and grid data within the segment.
[0035] Before writing the reconstructed print data sequence into the output buffer, an integrity check is performed. The integrity check uses a unique micro-block identifier set to determine whether all grid micro-blocks in the original print task have been mapped to the reconstructed data. It also checks the number of spray points to determine whether the total number of valid spray points before and after reconstruction is consistent. Finally, it checks the set of prohibited movement positions to determine whether the boundaries of key code elements, the connection positions of key strokes, and the inflection points of graphic contours maintain their corresponding relationships. If the check passes, the print data is sent in the order of phase sub-segments. If the check fails, the current reconstruction result is revoked and the system is restored to the most recent complete grid micro-block mapping state.
[0036] In a preferred embodiment, please refer to Figure 2The process of parsing variable information to be printed into multiple raster micro-blocks includes: establishing semantic boundaries between text regions, machine-readable code regions, graphic regions, and fixed background regions based on field types; breaking continuous spray lines that cross the semantic boundaries at the boundary positions; dividing each region into initial micro-blocks according to the spray point connection direction, local spray density gradient, and edge curvature; establishing load coupling relationships between adjacent initial micro-blocks; merging adjacent initial micro-blocks when their continuous spray intervals overlap and the edge direction difference is less than a preset direction difference; splitting a single initial micro-block along the density gradient abrupt change position when it simultaneously contains a high-density core area and a low-density edge area; configuring a unique micro-block identifier for each split or merged raster micro-block, and associating and storing the micro-block identifier with the corresponding field identifier, raster coordinate range, and allowed geometric deformation range.
[0037] The semantic boundary is determined by the field identifier of the layout object. When the text field and the machine-readable code are adjacent or partially continuous in the raster image, the continuous spraying line is still broken at the boundary position according to the field identifier to avoid merging different semantic objects into the same micro-block due to the connection of spraying points. If the spraying point in the fixed background area is connected to the variable field area, the continuous spraying interval corresponding to the fixed background is recorded independently, and the positional constraint relationship between the fixed background micro-block and the variable field micro-block is established so that the fixed background will not be brought into the local phase migration process due to the change of the variable field length.
[0038] The connection direction of the spray points is obtained by encoding the horizontal, vertical and diagonal connection relationships of adjacent spray points. The local spray density gradient is obtained by the change in the density of spray points within the sliding grid window. The edge curvature is obtained by the cumulative change in the direction of continuous boundary points. When the continuous spray intervals of adjacent initial micro-blocks overlap in the main printing direction and the edge direction difference is in the same direction category, the two are merged into a common output grid micro-block. When the density gradient has a continuous abrupt change inside the micro-block and the semantics on both sides of the abrupt change remain rigidly different, it is split into core micro-blocks and edge micro-blocks along the abrupt change position.
[0039] The load coupling relationship is used to record situations where adjacent micro-blocks share blank intervals, share edges, or have overlapping spray periods. The relationship record includes adjacent micro-block identifiers, coupling type, shared grid range, and allowed relative movement direction. After a grid micro-block is split, the original micro-block identifier is retained as the parent identifier, and the split sub-micro-blocks are appended with a local sequence number after the parent identifier. After a grid micro-block is merged, a new merge identifier is generated and the set of merged micro-block identifiers is retained, so that subsequent feedback data can be traced back to the original content area before reconstruction.
[0040] Furthermore, the generation of the content load descriptor includes: using the unique micro-block identifier as an index, calculating the maximum continuous spray length of the grid micro-block in the main printing direction, the spray point aggregation width perpendicular to the main printing direction, the edge pixel direction histogram, the transferable amount of blank grid, and the number of spray point connected branches; determining the semantic preservation constraints of the grid micro-block according to the corresponding field identifier, wherein the machine-readable code area maintains the code element boundary and quiet zone width, the text area maintains the stroke connectivity relationship, and the graphic area maintains the outline inflection point order; encoding the semantic preservation constraints into a set of prohibited adjustment positions and a set of allowed adjustment positions, and generating a content load vector in combination with the allowed geometric deformation range; when the grid micro-block changes due to splitting or merging, only the associated content load vector and the load coupling relationship between adjacent micro-blocks are incrementally updated.
[0041] The edge pixel orientation histogram establishes orientation intervals in the horizontal, vertical, and two diagonal directions. The orientations of adjacent boundary points on the edge of the grid micro-block are accumulated. When the orientation distribution is concentrated in a single orientation interval, it indicates that the corresponding edge is more sensitive to misalignment along that direction. The number of connected branches of the spray point is obtained by traversing the connected graph of the spray point within the grid micro-block. The intersection position of text strokes and the machine-readable code positioning pattern usually have multiple connected branches. These positions are added to the set of positions that cannot be adjusted. Non-critical blank intervals and transition points that do not change the contour topology are added to the set of positions that can be adjusted.
[0042] The movable amount of a blank raster is not a simple count of all blank points inside the raster micro-block, but rather a search along the phase offset direction for a continuous blank interval that can be migrated forward or backward without changing the field boundaries, reducing the machine-readable code quiet zone, cutting off text strokes, or changing the order of graphic inflection points. The number of points that can be migrated forward or backward in the continuous blank interval is recorded separately. The allowable geometric deformation range is expressed by a directed offset interval relative to the original raster coordinates. When the allowable offset interval in a certain direction is empty, the corresponding direction does not participate in the redistribution of blank intervals.
[0043] The content load vector is written to the micro-block attribute table with a unique micro-block identifier as an index. The attribute table also stores the version identifier of the calculation input. When a micro-block is split, merged, or the content of a local grid changes, the maximum continuous spray length, spray point aggregation width, edge direction histogram, and number of connected branches affected are determined by the version identifier. Only the changed attribute items are recalculated, while the unchanged attribute items use the data from the previous version. The load coupling relationship between adjacent micro-blocks is re-established only when the shared grid range or relative position changes.
[0044] In a preferred embodiment, please refer to Figure 3The process of establishing a motion phase prediction window includes: converting the printing trigger time sequence into a trigger interval change sequence; resampling the motion speed sequence of the printed object according to the data output cycle; and converting the printing data buffer queuing state into the queue waiting time of each grid row to be output; performing time lag correlation analysis on the trigger interval change sequence and the resampled motion speed sequence to determine the phase lag of the trigger change relative to the actual motion change; mapping the phase lag, the queue waiting time, and the jet response delay to a unified time axis; extracting the corresponding time interval according to the expected output order of the grid micro-blocks; and generating a phase offset sequence for each grid micro-block based on the speed change slope and trigger interval change slope within the time interval.
[0045] The trigger interval change sequence is obtained by subtracting the previous trigger interval from the current trigger interval. The resampled motion speed sequence uses the printing data output cycle as the sampling interval. When the timestamp of the original motion speed data does not coincide with the output cycle, the speed value of the corresponding cycle is calculated by using the speed change trend of adjacent time points. The queue waiting time is obtained by subtracting the time of entering the buffer from the time when the grid row obtains the sending qualification. When the same grid row is split into multiple phase sub-segments, each phase sub-segment shares the time when the original grid row enters the buffer and records the time when it obtains the sending qualification.
[0046] The phase lag of the trigger change relative to the motion change is determined by the following formula: ; in, This represents the number of lag samples with the highest correlation. This represents the set of allowed lag samples. This represents the change value of the nth trigger interval. Indicates moving backward The change in motion velocity after each sampling position, where a and b represent the mean of the data involved in the calculation, and Q represents the length of the sequence involved in the calculation. When the value is 2, it means that the change in the trigger interval lags behind the change in motion speed by 2 data output cycles. When establishing the prediction window, the trigger data is shifted forward by 2 cycles to align with the motion data.
[0047] Please refer to Figure 8 , Figure 8 The horizontal axis represents the number of lag samples, ranging from 0 to 47; the vertical axis represents the correlation coefficient between the trigger interval variation sequence and the motion velocity variation sequence. The curve represents the matching strength of the two time series at different lag sampling positions. Figure 8 It is calculated based on normalized relevance retrieval relationships. Figure 8The correlation coefficient reaches its maximum value of approximately 0.082882 at a lag sampling number of 22, indicating that in the current batch of data, the change in trigger interval has an optimal alignment lag of approximately 22 output cycles relative to the change in motion speed. The correlation coefficient at lag sampling number 2 is approximately -0.073934, a clearly negative correlation point, indicating that this alignment position causes the trigger change to be in the opposite direction to the speed change. The overall curve fluctuates slightly within the positive and negative ranges, indicating a subtle but identifiable phase misalignment between the trigger signal, transmission speed, and buffer state. Figure 8 It provides a hysteresis input for the establishment of a unified time axis, so that the subsequent phase offset is no longer calculated based solely on the instantaneous value of the current velocity, but is corrected according to the time difference between the trigger recognition link and the actual motion link.
[0048] The unified timeline uses the printing task triggering time as the reference origin, converting the time records of the triggering sampling layer, data queuing layer, and inkjet execution layer into relative time. The expected output order of the grid micro-block is determined by its original grid coordinates, phase correction amount, and the order of its phase sub-segments. For each grid micro-block, a time interval is extracted from the expected moment of obtaining sending qualification and extended to the end of the inkjet response delay. The slope of the velocity change within the time interval is used to estimate the cumulative displacement change, and the slope of the trigger interval change is used to determine whether the motion change is still in the continuous stage.
[0049] The phase offset sequence is arranged according to the expected output time of the injection column inside the grid microblock. When the same grid microblock contains multiple continuous injection intervals, each continuous injection interval corresponds to a local phase offset value. When the directions of each local phase offset value are consistent and the difference does not cross the grid output cycle, they are merged into a microblock-level phase offset. When the directions of the local phase offsets are different or the difference crosses the grid output cycle, the grid microblock is split again along the boundary of the continuous injection interval and enters the sensitivity weighting process respectively.
[0050] Furthermore, the generation of the phase offset sequence also includes: dividing the unified time axis into a trigger sampling layer, a data queuing layer, and an ejection execution layer; recording the trigger interval change in the trigger sampling layer; recording the time when each grid row enters the buffer, obtains output permission, and completes transmission in the data queuing layer; and recording the response interval from the ejection command to the expected ink droplet landing point in the ejection execution layer; constructing a delay chain based on the association identifier of the same grid micro-block in the three time axes; decomposing the phase lag into trigger transmission delay, queue migration delay, and ejection response delay; forming a residual sequence for the confirmed landing point deviation in the continuous printing cycle; and only updating the prediction parameters corresponding to the speed change interval, content load interval, and delay chain node to which the residual belongs, while keeping the prediction parameters of other intervals unchanged.
[0051] The data nodes of the delay chain are connected in the order of triggering event, grid row entering the buffer, grid micro-block obtaining output permission, data completion of transmission, and expected landing point formation. Each data node stores the source timestamp and relative timestamp. The trigger transmission delay is determined by the difference between the time when the motion change occurs and the time when the corresponding trigger change is identified. The queuing migration delay is determined by the time from when the data enters the buffer to when it obtains output permission. The jet response delay is determined by the time from when the data is completed of transmission to when the expected landing point is formed. When the same grid micro-block spans multiple buffer data blocks, the queuing migration delay is segmented and recorded according to the number of jet points contained in each data block.
[0052] The confirmed landing point deviation can be obtained from the edge positions, symbol boundaries, or text baselines in the printing result that have a definite correspondence with the original raster coordinates. The feedback data is associated with the predicted phase offset according to the unique micro-block identifier, and the prediction residual is calculated according to the following formula: ; in, This represents the prediction residual of the landing point of the i-th grid micro-block. This indicates the actual offset of the printing point obtained based on the confirmed printing results. This indicates the predicted landing point offset given by the motion phase prediction window, when A positive value indicates that the predicted value is lower than the actual forward shift. A negative value indicates that the predicted value is higher than the actual forward shift. For example, when the actual shift is 1.4 grid displacements and the predicted shift is 1.1 grid displacements... We set it to 0.3 and use it to correct the time delay parameter for the corresponding interval.
[0053] Please refer to Figure 9 , Figure 9 The horizontal axis represents the feedback sequence number, ranging from 1 to 83; the vertical axis represents the landing point residual, measured offset, and predicted offset. The curves correspond to the actual landing point offset obtained from the detection results, the predicted offset given by the motion phase prediction window, and the residual between the two, respectively. Figure 9 It is generated based on the relationship between the actual offset and the predicted offset, and is used to evaluate whether the prediction parameters need to be updated in isolation according to the velocity change range, content load range, and latency chain node. Figure 9 The maximum residual value appears near feedback number 7, at approximately 0.374592, exceeding the positive calibration line. This indicates that the predicted value at this stage is lower than the actual forward shift, requiring an increase in the time delay or displacement compensation parameters for the corresponding interval. The residual near feedback number 29 is approximately -0.051566, a negative low point, indicating that the predicted value at this position is slightly higher than the measured offset. Of the 83 feedback entries, 77 have positive residuals and 6 have negative residuals, with an average residual of approximately 0.153004, showing an overall forward shift error trend in the current batch. Figure 9This reflects the constraint effect of the residual sequence on subsequent parameter updates, and avoids the deviation of a single low-density graphic region directly affecting high-rigidity regions such as the edges of machine-readable codes.
[0054] The prediction parameters are indexed in a multidimensional way according to the velocity change range, content load range, and time delay chain nodes. The velocity change range is divided according to the velocity change direction and slope. The content load range is rigidly divided according to the unit area spray point density, maximum continuous spray length, and semantics. After the residual arrives, only the parameter records with the same or adjacent indexes are updated. The update process retains the original parameter value, residual value, update time, and applicable range, so that the local deviation of the low-density ordinary graphic area will not directly change the prediction parameters of the machine-readable code edge area.
[0055] In a preferred embodiment, please refer to Figure 4 The transmission order reconstruction includes: for multiple grid micro-blocks located in the same printing line, establishing a phase conflict graph based on the weighted phase offset direction, phase offset amplitude, and content load description, where graph nodes correspond to grid micro-blocks, and graph edges correspond to the conflict relationship that two grid micro-blocks cannot share the same spray phase in the same output cycle; configuring constraint priorities according to the order of machine-readable code edges, small text strokes, high-density continuous spray areas, and ordinary graphic areas; dividing the same printing line into multiple phase sub-segments based on the phase conflict graph, determining the spray phase and intra-segment transmission order for each phase sub-segment, and inserting a transition interval formed by the redistribution of blank grids in the original printing line between adjacent phase sub-segments.
[0056] The phase conflict graph uses the set of grid micro-blocks in the current printing row as the node set. Each graph node records the micro-block identifier, the original grid interval, the weighted phase correction amount, the transferable blank range, and the constraint priority. When the expected output intervals of any two grid micro-blocks overlap after phase adjustment, it is determined whether the two can be separated by sharing the blank interval. If they cannot be separated, a conflict edge is established between the corresponding graph nodes. The conflict edge records the length of the overlapping interval, the conflict direction, and the optional release direction.
[0057] Whether a conflict edge is established between two grid microblocks is determined by the following formula: ; in, This represents the conflict edge state between the i-th and j-th grid micro-blocks. This indicates the number of overlapping graticules in the expected output range after adjustments. This indicates the number of blank raster cells that can be migrated between the two. This indicates whether semantic preservation constraints prohibit relative movement when the number of overlapping rasters is 3 and the number of transferable blank rasters is 1. The value is 1, which is chosen when the number of overlapping grids is 1, the number of movable blank grids is 2, and there are no constraints prohibiting relative movement. Take 0.
[0058] Please refer to Figure 10 , Figure 10 The horizontal axis represents the conflict edge number in the phase conflict diagram, ranging from 1 to 86; the vertical axis represents the expected number of overlapping graticles, the available blank space capacity, and the conflict state between two microblocks. The curves correspond to overlapping graticles, blank space capacity, and conflict state, respectively. Figure 10 The determination is based on the overlap amount, the blank space capacity, and the semantic prohibition of relative movement flags. Figure 10 As can be seen, the expected overlap in the current set of conflicting edges is 0, but the conflict state is 1 for all of them. This indicates that the edge constraints in this batch are mainly not caused by the overlap of physical output intervals, but by semantic preservation constraints. For example, machine-readable code quiet zones, key connecting strokes of text, or inflection points of graphics do not allow relative migration. The blank capacity curve is greater than 0 on most edges, averaging about 17.430, and reaching 56 near sequence number 62. However, as long as the semantic constraints prohibit relative movement, sufficient blank capacity cannot directly resolve the conflict. Figure 10 This demonstrates that the phase conflict graph not only describes temporal overlap relationships but also serves to protect the semantics of fields, providing a basis for edge-level determination for subsequent extraction of the minimum conflict subgraph, preservation of the baseline node, and segmentation of phase segments.
[0059] Constraint priority is used to determine the grid micro-blocks that maintain the original positional relationship when phase conflicts cannot simultaneously satisfy all correction amounts. Machine-readable code edges have higher priority due to their involvement in symbol boundaries and quiet zone integrity, while small text strokes have lower priority due to their involvement in stroke connectivity. High-density continuous spraying areas have priority based on whether overlap occurs during the continuous spraying period. Migrable blank spaces and non-critical fill edges in ordinary graphic areas serve as the main adjustment positions for conflict resolution. Priority is only used to determine the adjustment order and does not change the content of the original semantic field.
[0060] When the same print line is split into multiple phase segments, a candidate segment is formed by nodes that do not have conflict edges or can share the same phase in the conflict graph. The transmission order within the segment is then determined according to the original grid coordinates. The segment boundary is preferentially selected from the continuous blank intervals in the original print line. When there are no continuous blank intervals of sufficient length, a transition interval is constructed using discrete blank grids in the set of allowed adjustment positions. The coordinate relationship before and after the migration of the discrete blank grids is recorded through reversible address mapping.
[0061] Furthermore, the construction of the phase conflict map includes: using the overlap of the expected spraying periods after the adjustment of two grid micro-blocks, whether the amount of migration of blank grids is sufficient to form a transition interval, and whether the semantic preservation constraints allow local displacement as conditions for graph edge generation; extracting the minimum conflict subgraph from multiple graph nodes that form a ring conflict, and selecting the reference node that maintains the original phase according to the constraint priority; migrating the remaining nodes forward or backward according to the available blank grid positions, and recalculating the expected spraying periods of adjacent nodes after migration; when the minimum conflict subgraph cannot be resolved by migration of blank grids, dividing the corresponding printing row into two phase segments related to each other along the column of no spraying points, and maintaining the grid mapping relationship before and after the division with field identifiers and micro-block identifiers.
[0062] The minimum conflict subgraph is obtained by traversing along the conflict edge starting from any node in the graph with a circular conflict. When the traversal path returns to a visited node, the set of nodes that constitute the closed loop is extracted, and the peripheral nodes that do not affect the existence of the closed loop are deleted from the node set. The reference node is determined from the minimum conflict subgraph by comparing the constraint priority, the number of positions that are prohibited from being adjusted, and the migration margin in sequence. After maintaining the original phase of the reference node, the remaining nodes use the minimum migration amount required to resolve the conflict with the reference node as the initial migration amount.
[0063] Blank grid migration is performed according to the shared blank interval between micro-blocks. When migrating forward, an equal amount of blank space is released from the back of the grid micro-block and occupied in the front. When migrating backward, blank space is released from the front and occupied in the back. After the migration is completed, the expected spraying time of the current node and all adjacent nodes is recalculated. If the new migration causes a new conflict edge, the migration is canceled and another allowed direction is selected. If the conflict cannot be resolved in either direction, the corresponding node is added to the set of nodes to be split.
[0064] The printing line segmentation position is limited to the non-spraying point column or the equivalent non-spraying point column formed by the set of allowed adjustment positions. After segmentation, the front phase sub-segment and the back phase sub-segment respectively store the original printing line identifier, the segmentation position and the micro-block identifier contained therein. Fields that cross the segmentation position establish associated records through field identifiers. Indivisible strokes, code elements or outline areas within a field must not be segmented across phase sub-segments. The two phase sub-segments after segmentation determine the starting phase according to their respective weighted phase correction amounts.
[0065] In a preferred embodiment, determining the spray phase of a phase segment includes: performing topological sorting on the phase conflict map after conflict resolution, and allocating candidate output time slots to each map node according to the topological order; mapping the candidate output time slots to writable locations in the print data buffer, and establishing a reversible address mapping between the writable locations and the original raster coordinates; when the candidate output time slots of adjacent map nodes cross the same field boundary, combining the relevant map nodes into an indivisible node group according to the field identifier, and uniformly correcting the output time slots of the node group with the maximum phase offset amplitude in the node group; after completing the allocation of all output time slots, generating a phase segment data packet according to the reversible address mapping, and writing a set of print row identifiers, segment order identifiers, starting phase, and raster micro-block identifiers into each phase segment data packet.
[0066] Before topology sorting, the resolved conflict edges are converted into directional sequential constraint edges. The edge direction is determined by the original grid coordinate order, constraint priority, and migration direction. Nodes without sequential constraints are sorted according to the original grid coordinates. The candidate output time slot is determined by the output end position of the previous node, the transition interval, and the data length of the current node. When the candidate output time slot exceeds the available buffer range of the current print line, the corresponding node and its subsequent associated nodes are moved to the next phase segment for processing.
[0067] The reversible address mapping uses a mapping table that associates the original grid address, the reconstructed cache address, and the micro-block identifier. Each migrated spray point or blank point saves the original address and the new address. Unmigrated data is recorded through continuous address intervals. The mapping table remains read-only until the printing data output is complete. After printing is completed, the original grid position can be looked up based on the reconstructed cache address, and the landing point feedback can be associated with the original micro-block identifier to avoid losing the correspondence between the feedback data and the original fields after segmented transmission.
[0068] Indivisible node groups are used to handle situations where the same character stroke, the same machine-readable code function graphic, or the same closed contour is split into multiple raster micro-blocks. Graph nodes within a node group share field identifiers and local object identifiers. When the output time slot is uniformly corrected using the maximum phase offset amplitude in the node group, other nodes maintain their relative positions through the redistribution of blanks within the group. When the entire node group cannot be accommodated in the current phase sub-segment, the entire node group is migrated to the subsequent phase sub-segment. It is not allowed to put nodes within a group into different data packets.
[0069] Phase segment data packets are written to the output buffer according to the segment order identifier. Each data packet contains the start phase, effective data length, micro-block identifier set, address mapping index, and integrity check value. The print line identifier is used to reassociate multiple phase segments to the same original print line. The start phase is used to determine the output position of the data packet relative to the print trigger reference. The micro-block identifier set is used to locate the corresponding content load descriptor and prediction parameters after the print is completed.
[0070] In a preferred embodiment, sensitivity weighting includes: generating edge deformation sensitive components, continuous spraying cumulative sensitive components, blank migration margin components, and semantic preservation rigidity components based on the content load vector; restricting spraying points that can participate in phase correction using the prohibited adjustment position set, and determining blank interval redistribution paths using the allowed adjustment position set; for the same grid microblock, projecting the phase offset along the main printing direction, and segmenting and quantizing the projection results according to each sensitive component to obtain multiple local correction amounts corresponding to the core spraying area, edge spraying area, and transition blanking area; rearranging the spraying columns inside the grid microblock according to the local correction amounts, while keeping the code element boundaries of the machine-readable code, the connectivity of character strokes, and the order of graphic contour inflection points unchanged.
[0071] The edge deformation sensitive component is determined by the concentration of the edge direction histogram and the edge curvature change; the continuous spray accumulation sensitive component is determined by the maximum continuous spray length and the number of continuous spray intervals; the blank migration margin component is determined by the ratio of the number of migrateable blanks in the phase offset direction to the number of required correction grids; and the semantic preservation rigidity component is determined by the number of prohibited adjustment positions, field type, and local object type. All of these components are converted to a uniform value range and then written into the content load vector.
[0072] The local correction amount for the r-th local region of the grid microblock is calculated according to the following formula: ; in, This represents the number of r-th local regions within the i-th r ... This indicates the number of local regions contained within a grid cell. The distribution coefficient for the r-th local region is obtained by combining the edge deformation sensitive component, the continuous spray accumulation sensitive component, the blank migration margin component, and the semantic preservation rigidity component. When the grid micro-block contains the core spray area, the edge spray area, and the transition blank area, and the distribution coefficients are 1, 2, and 3 respectively, the correction amount is distributed according to 1:2:3 and the actual number of migrated grids is determined by the rounding result.
[0073] Please refer to Figure 11 , Figure 11 The horizontal axis represents the microblock output sequence number, ranging from 1 to 56; the vertical axis represents the continuous migration allocation amount. The three curves correspond to the local correction amount allocated to the core region, edge region, and transition blank region within the same microblock, respectively. Figure 11 The sub-grid level distribution trend is calculated based on the weighted phase correction, the grid displacement length corresponding to the printing data cycle, and the distribution coefficient of each local area. The continuous values before rounding are retained when the data is displayed so as to observe the sub-grid level distribution trend. Figure 11The curve amplitude is largest in the core region, reaching a positive peak of approximately 0.007178 near index 13 and a negative extreme value of approximately -0.007544 near index 30. The amplitudes in the edge region and transition blank region change in the same direction, but decrease sequentially, reflecting the differences in edge constraint and blank absorption capabilities, respectively. The final rounded migration amount of all micro-blocks is 0 in the current batch, indicating that the actual rearrangement stage does not force the movement of the entire grid column, but the continuous allocation amount will still serve as a fine basis for the initial phase of the phase sub-segment, local phase marking, and subsequent feedback updates. Figure 11 This reflects the allocation logic between the core injection zone, the edge injection zone, and the transition blank zone.
[0074] The prohibited adjustment position in the core spraying area maintains the original grid address. The local correction amount is completed through the allowable blanks before and after the core spraying area. The edge spraying area selects the migration path according to the edge direction. When the edge direction is consistent with the main printing direction, the blanks on the outer edge are adjusted first. When the edge direction is perpendicular to the main printing direction, the migration amount along the main printing direction is limited. The transition blank area undertakes the remaining correction amount and redistributes the blank column without reducing the machine-readable code quiet area.
[0075] After the jetting column inside the grid microblock is rearranged, the boundary spacing and quiet zone range are checked bit by bit for the machine-readable code. The jetting point connectivity traversal is re-executed for the text region and it is determined whether the original connectivity branch is preserved. The rearranged boundary point sequence is compared with the original contour inflection point order for the graphic region. If any check does not meet the corresponding semantic preservation constraint, the local migration that caused the constraint change is canceled, and the unfinished correction amount is transferred to other allowable adjustment positions in the same microblock or adjacent low-rigidity microblocks.
[0076] In another embodiment, a variable information inkjet printing system includes a processor, a memory, and an inkjet data interface for outputting inkjet data. The memory stores program instructions executed by the processor, which instruct the processor to: acquire variable information to be printed, including text fields, machine-readable codes, and graphic fields; parse the variable information to be printed into multiple grid micro-blocks corresponding to the inkjet grid positions; and generate a content load description for each grid micro-block representing continuous spray length, number of spray points per unit area, edge direction distribution, and blank interval; establish a motion phase prediction window based on the inkjet trigger time sequence, the motion speed sequence of the printed object, the inkjet data buffer queuing state, and the spray response delay; calculate the phase offset of each grid micro-block; perform sensitivity weighting on the phase offset based on the content load description; perform spray phase adjustment, blank interval reallocation, and transmission order reconstruction for each grid micro-block; and output the reconstructed inkjet data sequence through the inkjet data interface.
[0077] In this embodiment, the program instructions in the memory are organized according to data dependencies into a variable information parsing program, a grid micro-block processing program, a phase prediction program, a sensitivity weighting program, a conflict resolution program, a data packet generation program, and a printing output program. The programs exchange data through printing task identifiers, printing line identifiers, and unique micro-block identifiers. The variable information parsing program completes the mapping between field content and grid points. The grid micro-block processing program forms the content load description. The phase prediction program reads trigger, speed, buffer, and response latency data. The conflict resolution program generates phase segments. The data packet generation program writes data to the output buffer according to reversible address mapping.
[0078] When the processor executes program instructions, it allocates logical storage areas for the original raster data, micro-block attribute table, unified timeline data, phase conflict graph, and reconstructed inkjet data respectively. The original raster data remains unchanged until the current inkjet task is completed. The micro-block attribute table allows incremental updates based on version identifiers. The unified timeline data is written cyclically according to the inkjet task and trigger sequence number. The phase conflict graph only saves the graph nodes and edges of the currently processed inkjet line and the adjacent unprocessed inkjet lines. The reconstructed inkjet data is transferred to the sending queue corresponding to the inkjet data interface after integrity verification is completed.
[0079] The printing data interface receives phase segment data packets and maintains the output order according to the printing row identifier and segment order identifier. When the starting phase of the current data packet has not yet arrived, the data packet is kept in the waiting state. After the starting phase arrives, the valid raster data is written into the printing output stream. After the data packet is sent, the time of completion of transmission is recorded and written back to the unified time axis. When the data packet fails to obtain the qualification for transmission at the predetermined time due to the change of buffer state, the queuing migration delay and phase offset of the corresponding raster micro-block are recalculated, and the starting phase is updated within the range that has not entered the printing output stream.
[0080] For continuously changing serial numbers, date text, and machine-readable code combinations, each printing object corresponds to an independent printing task identifier. The text field and machine-readable code payload are read from the same task data record. After the page is rasterized, text micro-blocks, code element micro-blocks, and static area micro-blocks are formed respectively. When the movement is stable, multiple micro-blocks can be combined into the same phase segment. When the movement speed changes within the printing cycle, the machine-readable code edge micro-blocks maintain rigidity according to higher semantics to determine the reference phase. Migrationable blanks inside the text and graphic transition blanks are used to absorb local phase differences. The reconstructed data still retains the original field content and the original machine-readable code payload.
[0081] In the case of short text strokes and large-area continuous inkjet graphics in the same printing task, the large-area continuous inkjet graphics form a higher continuous inkjet cumulative sensitivity component based on the maximum continuous inkjet length, while the short text strokes form a higher semantic preservation rigidity component based on connected components and prohibited position adjustment. When the two conflict in the phase conflict map, instead of uniformly shifting the entire line, the relative position of the micro-blocks corresponding to the key text strokes is maintained, and the transition interval between phase sub-segments is formed by using the graphic edge transition area and shared blank interval.
[0082] When the input data lacks motion velocity sampling points, the motion phase prediction window uses the trigger interval change sequence and the recorded adjacent motion sampling data to fill in the velocity change trend of the corresponding output cycle. When the cache timestamp is missing, the corresponding raster row does not participate in the residual parameter update and adopts the queuing migration delay in the most recent complete delay chain. When the unique micro-block identifier, field identifier, or raster coordinate mapping is incomplete, the sending order reconstruction of the relevant print row is stopped and the original raster data is restored to avoid incomplete associated data from entering the print output stream.
[0083] When a new landing point deviation feedback is obtained during continuous printing, the processor converts the feedback position into the original grid coordinates based on the reversible address mapping. Then, based on the micro-block identifier, it locates the content load vector, speed change range, and time delay chain node, forms the prediction residual, and updates the corresponding parameter record. In subsequent printing tasks, only grid micro-blocks in the same speed change range and the same content load range read the updated parameters, while other grid micro-blocks continue to use the original parameter record, maintaining parameter isolation between different content types and different motion states.
[0084] In a preferred embodiment, the fixed background area does not participate in the generation of variable field content, but participates in phase conflict judgment. When there is a predetermined alignment relationship between the fixed background and the variable field, the fixed background microblock is set as the position reference microblock. The allowable geometric deformation range of the variable field microblock is determined with reference to the position reference microblock. When the fixed background does not share the printing line with the variable field, only the field boundary constraint is retained and the phase conflict map of the current printing line is not added.
[0085] In another preferred embodiment, the machine-readable code area is decomposed into positioning graphic micro-blocks, functional graphic micro-blocks, data symbol micro-blocks, and quiet zone micro-blocks. The prohibited adjustment positions of the positioning graphic micro-blocks and functional graphic micro-blocks cover their outer boundaries and internal fixed patterns. The data symbol micro-blocks are based on complete symbols as the minimum migration objects. The quiet zone micro-blocks are only allowed to expand in the direction away from the main body of the machine-readable code and are not allowed to shrink. When multiple symbol micro-blocks need to be migrated in a unified manner, they are combined into an indivisible node group and use the same starting phase.
[0086] In another preferred embodiment, the text area is divided into micro-blocks according to the character boundaries and stroke connectivity. The blank areas between characters can be used as blank intervals for reassignment. The closed blanks formed by the characters do not participate in the migration. The intersection positions and thin neck positions of multiple strokes are added to the set of positions that cannot be adjusted. After rearrangement, the number of connected branches of the character spray points is compared with the original number through connectivity traversal. When the number changes, the corresponding local correction amount is canceled and transferred to the blank area between characters.
[0087] In another preferred embodiment, the graphic region is divided into micro-blocks according to the contour edge, internal fill and transition blank. The contour inflection point is determined according to the change position of the boundary direction and added to the set of positions that cannot be adjusted. The continuous straight edge is allowed to migrate as a whole within the range without changing the order of the inflection point. The internal fill micro-blocks participate in the sensitivity weighting according to the continuous spray length. The transition blank micro-blocks bear the local correction amount according to the blank migration margin. After reconstruction, the raster mapping of the graphic region is restored according to the contour boundary point order.
[0088] In this embodiment, each processing step is based on the original variable information to be printed, the original raster data, and the unique micro-block identifier mapping as a traceable basis. Motion phase prediction changes the output time and transmission order of the raster data but does not change the field semantics. Blank interval redistribution changes the blank positions in the allowed area but does not change the total number of effective spray points. Local spray column rearrangement is restricted by the set of prohibited adjustment positions and semantic preservation constraints. The phase sub-segment data packet maintains its correspondence with the original raster coordinates through reversible address mapping. This forms a continuous processing step from variable information generation, local load calculation, motion phase prediction, conflict resolution to print data output.
Claims
1. A variable information inkjet printing method, characterized in that, include: The variable information to be printed, which includes text fields, machine-readable codes and graphic fields, is obtained. The variable information to be printed is parsed into multiple grid micro-blocks corresponding to the printing grid position. For each grid micro-block, a content load description is generated that represents the continuous spray length, the number of spray points per unit area, the edge direction distribution and the blank interval. Based on the printing trigger time sequence, the motion speed sequence of the printed object, the printing data buffer queuing status, and the jet response delay, a motion phase prediction window is established to calculate the phase offset of each grid micro-block from the data output time to the expected landing time. The phase offset is sensitively weighted based on the content load description, and jet phase adjustment, blanking interval reallocation, and transmission order reconstruction are performed on each grid micro-block according to the weighting result; Variable information printing is driven by the reconstructed printing data sequence.
2. The variable information inkjet printing method according to claim 1, characterized in that, The variable information to be printed is parsed into multiple grid micro-blocks, including: establishing semantic boundaries between text areas, machine-readable code areas, graphic areas and fixed background areas according to field types, and breaking continuous ink lines that cross the semantic boundaries at the boundary positions. Each region is divided into initial micro-blocks according to the direction of connection of the injection points, the local injection density gradient, and the edge curvature; A load coupling relationship is established between adjacent initial micro-blocks. When the continuous spraying intervals of adjacent initial micro-blocks overlap and the edge direction difference is less than the preset direction difference, they are merged. When a single initial micro-block contains both a high-density core area and a low-density edge area, it is split along the density gradient abrupt change position. Configure a unique micro-block identifier for each split or merged raster micro-block, and store the micro-block identifier in association with the corresponding field identifier, raster coordinate range, and allowed geometric deformation range.
3. The variable information inkjet printing method according to claim 1, characterized in that, Establishing the motion phase prediction window includes: converting the printing trigger time series into a trigger interval change series, resampling the motion speed series of the printed object according to the data output cycle, and converting the printing data buffer queuing state into the queue waiting time of each grid row to be output. A time-delay correlation analysis was performed on the trigger interval change sequence and the resampled motion velocity sequence to determine the phase lag of the trigger change relative to the actual motion change; The phase lag, queue waiting time, and jet response delay are mapped to a unified time axis. The corresponding time intervals are extracted according to the expected output order of the grid micro-blocks. The phase offset sequence of each grid micro-block is generated based on the velocity change slope and trigger interval change slope within the time interval.
4. The variable information inkjet printing method according to claim 1, characterized in that, Sending the order reconstruction includes: for multiple grid micro-blocks located in the same printing row, establishing a phase conflict graph based on the weighted phase offset direction, phase offset magnitude and content load description, wherein the graph nodes correspond to the grid micro-blocks, and the graph edges correspond to the conflict relationship that two grid micro-blocks cannot share the same jet phase in the same output cycle. Constraint priorities are configured in the following order: machine-readable code edges, fine text strokes, high-density continuous spraying areas, and ordinary graphic areas. Based on the phase conflict diagram, the same print line is divided into multiple phase segments, the spray phase and intra-segment transmission order are determined for each phase segment, and a transition interval formed by the redistribution of the blank grid of the original print line is inserted between adjacent phase segments.
5. A variable information inkjet printing method according to claim 2, characterized in that, The generation of the content load description includes: using the unique micro-block identifier as an index, calculating the maximum continuous spray length of the grid micro-block in the main printing direction, the spray point aggregation width perpendicular to the main printing direction, the edge pixel direction histogram, the blank grid migration amount, and the number of spray point connected branches for the grid micro-block. The semantic preservation constraints of the grid micro-blocks are determined according to the corresponding field identifiers, wherein the machine-readable code region maintains the code element boundary and quiet zone width, the text region maintains the stroke connectivity relationship, and the graphic region maintains the outline inflection point order. The semantic preservation constraints are encoded into a set of prohibited adjustment positions and a set of allowed adjustment positions, and a content load vector is generated by combining the allowed geometric deformation range; When a grid micro-block changes due to splitting or merging, only the associated content load vector and the load coupling relationship between adjacent micro-blocks are incrementally updated.
6. A variable information inkjet printing method according to claim 3, characterized in that, The generation of the phase offset sequence also includes: dividing the unified time axis into a trigger sampling layer, a data queuing layer and an ejection execution layer; recording the trigger interval change in the trigger sampling layer; recording the time when each grid row enters the buffer, obtains output permission and completes transmission in the data queuing layer; and recording the response interval from the ejection command to the expected ink droplet landing point in the ejection execution layer. A delay chain is constructed based on the association identifier of the same grid micro-block in the three-layer time axis, and the phase lag is decomposed into trigger propagation delay, queue migration delay and jet response delay; For the confirmed landing point deviation in the continuous printing cycle, a residual sequence is formed, and only the prediction parameters corresponding to the speed change interval, content load interval and time delay chain node to which the residual belongs are updated, while the prediction parameters of other intervals remain unchanged.
7. A variable information inkjet printing method according to claim 4, characterized in that, The construction of the phase conflict map includes: whether the expected injection periods of the two grid micro-blocks overlap, whether the migration amount of the blank grid is sufficient to form a transition interval, and whether the semantic preservation constraint allows local displacement as the conditions for generating the graph edges. Extract the minimum conflict subgraph from multiple graph nodes that form a ring conflict, and select the reference node that maintains the original phase according to the constraint priority. Move the remaining nodes forward or backward according to the available blank grid positions, and recalculate the expected spraying time of adjacent nodes after the migration; When the minimum conflict subgraph cannot be resolved by blank grid migration, the corresponding print row is divided into two phase segments along the unsprayed dot column, and the grid mapping relationship before and after the division is maintained by field identifier and micro-block identifier.
8. A variable information inkjet printing method according to claim 5, characterized in that, The sensitivity weighting includes generating an edge deformation sensitive component, a continuous spray accumulation sensitive component, a blank migration margin component, and a semantic preservation rigidity component based on the content load vector. The set of prohibited adjustment positions restricts the injection points that can participate in phase correction, and the set of allowed adjustment positions determines the blank interval redistribution path; For the same grid micro-block, the phase offset is projected along the main printing direction, and the projection result is segmented and quantized according to each sensitive component to obtain multiple local correction amounts corresponding to the core spraying area, edge spraying area and transition blank area. The spray columns inside the grid microblocks are rearranged according to the local correction amount, while keeping the code element boundaries, character stroke connectivity, and graphic outline inflection point order unchanged.
9. A variable information inkjet printing method according to claim 7, characterized in that, The determination of the injection phase of the phase sub-segment includes: performing topological sorting on the phase conflict graph after conflict resolution, and assigning candidate output time slots to each graph node according to the topological order; The candidate output time slots are mapped to writable locations in the inkjet data buffer, and a reversible address mapping is established between the writable locations and the original raster coordinates. When the candidate output time slots of adjacent graph nodes cross the same field boundary, the relevant graph nodes are combined into an indivisible node group according to the field identifier, and the output time slots of the node group are uniformly corrected by the maximum phase offset amplitude in the node group. After all output time slots are allocated, phase segment data packets are generated according to the reversible address mapping. In each phase segment data packet, the inkjet line identifier, segment order identifier, starting phase, and grid micro-block identifier set are written.
10. A variable information inkjet printing system, characterized in that, The system includes a processor, a memory, and a printing data interface for outputting printing data. The memory stores program instructions executed by the processor. The program instructions cause the processor to: acquire variable information to be printed, including text fields, machine-readable codes, and graphic fields; parse the variable information to be printed into multiple grid micro-blocks corresponding to the printing grid positions; and generate a content load description for each grid micro-block, representing the continuous spray length, the number of spray points per unit area, the edge direction distribution, and the blank interval. A motion phase prediction window is established based on the printing trigger time sequence, the motion speed sequence of the printed object, the printing data buffer queuing status, and the jet response delay, and the phase offset of each grid micro-block is calculated. The phase offset is sensitively weighted according to the content load description, and the jet phase adjustment, blank interval redistribution and transmission order reconstruction are performed on each grid micro-block. The reconstructed jet data sequence is then output through the jet data interface.
