A production scheduling method and system for non-standard carton printing
By analyzing the trial printing current data and color sequence diagram of the non-standard cardboard box printing master, the printing sequence was optimized, solving the problem of wear of mechanical positioning parts in non-standard cardboard box printing, and reducing equipment maintenance costs and order change losses.
Patent Information
- Application Number
- CN202611267393.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-20
AI Technical Summary
Improper production scheduling in non-standard cardboard box printing leads to accelerated wear of mechanical positioning components, increasing equipment maintenance costs and the risk of failure.
By acquiring the trial printing current data and color sequence diagram of the master plate to be printed, the perturbation feature vector and color sequence difference matrix are extracted, and after weighted fusion, spectral decomposition is performed to determine the printing sequence in order to optimize the production scheduling plan.
It reduces the wear and tear on the positioning components of the printing press, thereby reducing equipment maintenance costs and order change losses caused by color sequence transitions.
Smart Images

Figure CN123140489A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of paper printing, specifically to a scheduling method and system for printing non-standard cartons. Background Technology
[0002] In the corrugated box printing and packaging industry, production scheduling is a key link connecting order receipt and production execution, which directly affects the company's on-time delivery rate and equipment utilization rate. For non-standard corrugated boxes, due to the large differences in size and specifications between orders and the inconsistent printing color sequence, the production scheduling difficulty is significantly higher than that of standardized corrugated box products.
[0003] Currently, the industry generally adopts a production scheduling method of first assembling designs and then scheduling production. Specifically,
[0004] The production department first designs multiple orders to be printed on a single sheet of paper of a given size. During the design process, they maximize the use of the paper size to save paper materials, and arrange orders with similar colors on the same sheet to reduce the frequency of order changes during subsequent production scheduling. After completing the layout design and obtaining multiple layout masters, since ink needs to be changed when printing different batches of layout masters, batches with similar color sequences are arranged adjacently according to the color sequence differences of the multiple layout masters to reduce color jumps between batches and thus reduce order change time.
[0005] However, in practice, due to the varying shapes and sizes of different orders to be printed, the printed and blank areas on each master plate may exhibit significant non-uniform distribution. During continuous high-speed printing of multiple master plates, the ink exerts a local viscous tension on the paper surface at the moment of printing, thereby applying an impact torque to the mechanical positioning components of the printing press with a fixed direction but a step change with each master plate switch. When multiple master plates are printed continuously, the impact direction borne by the mechanical positioning components changes abruptly with each master plate switch, causing frequent reconstruction of the contact stress distribution inside the components, exacerbating the fretting wear of the mating surfaces, accelerating the loss of accuracy of the positioning components, and thus increasing equipment maintenance costs and the risk of downtime. Summary of the Invention
[0006] To address the problem of increased equipment maintenance costs caused by unreasonable production scheduling in non-standard carton printing, which leads to increased mechanical positioning component wear, this application provides a production scheduling method and system for non-standard carton printing.
[0007] Firstly, this application provides a scheduling method for printing non-standard cartons, applied in a printing scheduling platform, the method comprising:
[0008] Obtain trial printing current data and color sequence diagrams for multiple master printing plates;
[0009] Feature extraction is performed on the trial printing current data of multiple master printing plates to obtain the perturbation feature vector of each master printing plate.
[0010] Based on the perturbation feature vectors of each of the master plates to be printed, the perturbation difference matrix is calculated.
[0011] Based on the color sequence diagrams of each of the master printing plates, the color sequence difference matrix is calculated.
[0012] The perturbation difference matrix and the color sequence difference matrix are weighted and fused to obtain a composite difference matrix.
[0013] Perform spectral decomposition on the composite difference matrix to obtain the sorting feature vector;
[0014] The component values in the sorted feature vector are sorted in ascending order to obtain the difference sequence;
[0015] Based on the difference sequence, the printing order of each master plate to be printed is determined, and a production scheduling plan is generated.
[0016] Optionally, the step of extracting features from the trial printing current data of the multiple master printing plates to obtain the perturbation feature vector of each master printing plate is specifically as follows:
[0017] Based on a preset positioning cycle, the trial printing current data of the first master plate to be printed is waveform segmented to obtain multiple waveform segments, wherein the first master plate to be printed is any one of the multiple master plates to be printed.
[0018] Extract the peak value of each waveform segment and calculate the mean peak value;
[0019] The deviation of the peak value of each waveform segment from the mean peak value is calculated to obtain the instantaneous disturbance intensity of each waveform segment;
[0020] The instantaneous disturbance intensity of multiple waveform segments is statistically analyzed by interval binning according to the numerical value to obtain the disturbance feature vector of the first master plate to be printed.
[0021] Optionally, the step of calculating the perturbation difference matrix based on the perturbation feature vectors of each of the master printing plates specifically includes:
[0022] Obtain the total number of waveform segments of the trial printing current data of the first master plate to be printed;
[0023] Based on the total number of waveform segments, the statistical probability values of each box in the interval boxing statistical process of the first master to be printed are corrected using the Wilson confidence interval lower bound formula to obtain the corrected disturbance feature vector.
[0024] Calculate the Euclidean distance between each pair of the modified perturbation feature vectors of the multiple master prints to obtain the perturbation difference degree between each pair of the multiple master prints to be printed, and construct the perturbation difference degree matrix.
[0025] Optionally, the step of calculating the color sequence difference matrix based on the color sequence diagrams of each of the master printing plates specifically involves:
[0026] Chromaticity components are extracted from the color sequence diagrams of each of the master prints to be printed. The chromaticity components represent multiple color types and the component values corresponding to the multiple color types.
[0027] The difference between each pair of the chromaticity components of the multiple master prints is calculated to obtain the color sequence difference between each pair of the multiple master prints, and the color sequence difference matrix is constructed.
[0028] Optionally, the step of weightedly fusing the perturbation difference matrix and the color sequence difference matrix to obtain a composite difference matrix is as follows:
[0029] The perturbation difference matrix is subjected to eigenvalue decomposition to obtain the first eigenvalue sequence;
[0030] The color sequence difference matrix is subjected to eigenvalue decomposition to obtain the second eigenvalue sequence;
[0031] Identify the maximum difference between first adjacent feature values in the first feature value sequence, and identify the maximum difference between second adjacent feature values in the second feature value sequence;
[0032] The fusion weight is calculated based on the maximum difference between the first and second adjacent feature values.
[0033] Based on the fusion weights, the perturbation difference matrix and the color order difference matrix are weighted and fused to obtain the composite difference matrix.
[0034] Optionally, the step of performing spectral decomposition on the composite difference matrix to obtain the sorting feature vector specifically involves:
[0035] Based on the composite difference matrix, calculate the average difference of the composite difference between the second master to be printed and the other master to be printed, where the second master to be printed is any one of the multiple master to be printed.
[0036] If the average difference is greater than a preset threshold, the composite difference between the second master to be printed and the other master to be printed is extracted from the composite difference matrix to obtain a composite difference submatrix.
[0037] Perform spectral decomposition on the composite dissimilarity submatrix to obtain the sorting feature subvectors;
[0038] The master plate to be printed with the smallest composite difference from the second master plate to be printed is determined as the anchor point template;
[0039] Based on the position of the anchor point master in the sorting feature sub-vector, determine the previous master and the next master in the sorting feature sub-vector;
[0040] The first composite difference degree between the second master plate to be printed and the previous master plate, and the second composite difference degree between the second master plate to be printed and the subsequent master plate are obtained respectively.
[0041] If the first composite difference is less than the second composite difference, then the second master to be printed is inserted between the previous master and the anchor master.
[0042] Otherwise, insert the second master plate to be printed between the anchor point master plate and the subsequent master plate;
[0043] The inserted sorting feature sub-vector is used as the sorting feature vector.
[0044] Secondly, this application provides a scheduling system for printing non-standard cartons, used to execute a scheduling method for printing non-standard cartons as described in any one of the first aspects. The system is a printing scheduling platform, comprising an acquisition module, a processing module, and an output module, wherein:
[0045] The acquisition module is used to acquire trial printing current data and color sequence diagrams of multiple master printing plates to be printed;
[0046] The processing module is used to extract features from the trial printing current data of multiple master printing plates to obtain the perturbation feature vector of each master printing plate.
[0047] Based on the perturbation feature vectors of each of the master plates to be printed, the perturbation difference matrix is calculated.
[0048] Based on the color sequence diagrams of each of the master printing plates, the color sequence difference matrix is calculated.
[0049] The perturbation difference matrix and the color sequence difference matrix are weighted and fused to obtain a composite difference matrix.
[0050] Perform spectral decomposition on the composite difference matrix to obtain the sorting feature vector;
[0051] The output module is used to sort the component values in the sorted feature vector from smallest to largest to obtain a difference sequence;
[0052] Based on the difference sequence, the printing order of each master plate to be printed is determined, and a production scheduling plan is generated.
[0053] Thirdly, this application provides an electronic device including a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any one of the first aspects.
[0054] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed, perform the method described in any one of the first aspects.
[0055] In summary, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0056] This application acquires trial printing current data and color sequence diagrams of each master plate to be printed, extracts disturbance feature vectors from the trial printing current data to quantify the intensity distribution pattern of the impact disturbance of different master plates on the positioning components of the printing press, and constructs a disturbance difference matrix based on the disturbance feature vectors. At the same time, it extracts color sequence information from the color sequence diagram to construct a color sequence difference matrix, and then weights and fuses the two into a composite difference matrix. This composite difference matrix integrates the degree of difference in disturbance mode and the degree of difference in color sequence between master plates. Then, by performing spectral decomposition on the composite difference matrix to obtain the sorting feature vector, each master plate to be printed is mapped to embedded coordinates on a one-dimensional continuous spectrum. This makes master plates with similar component values close to each other in the comprehensive sense of disturbance mode difference and color sequence difference. Thus, when determining the printing order according to the size of the component values, master plates with small disturbance mode differences and small color sequence spans can be arranged adjacently. This reduces the accumulation of micro-motion wear caused by the step jump of the disturbance mode in the positioning components of the printing press, and also reduces the changeover losses caused by color sequence transitions. Attached Figure Description
[0057] Figure 1 This is a schematic flowchart of a production scheduling method for non-standard cardboard box printing provided in an embodiment of this application.
[0058] Figure 2 This is a schematic diagram of a production scheduling system for non-standard carton printing provided in an embodiment of this application.
[0059] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0060] Explanation of reference numerals in the attached drawings: 1. Acquisition module; 2. Processing module; 3. Output module; 300. Electronic device; 301. Processor; 302. Communication bus; 303. User interface; 304. Network interface; 305. Memory. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0062] This application provides a scheduling method for printing non-standard cartons. This method is applied to a printing scheduling platform, such as... Figure 1 As shown, the method includes steps S101 to S108, which are as follows:
[0063] S101. Obtain the test printing current data and color sequence diagram of multiple master plates to be printed.
[0064] In the above steps, the printing scheduling platform obtains the real-time current signal of the servo motor of each master plate to be printed during the trial printing and proofing stage from the servo drive system of the printing press, as the trial printing current data; at the same time, it obtains the color sequence diagram of each master plate to be printed from the prepress design system. The color sequence diagram records the chromaticity coordinate information of the ink required for printing each master plate in a uniform color space. The trial printing and proofing refers to the short-term trial printing process carried out before the formal mass printing to calibrate the registration accuracy of each master plate. During this process, the mechanical positioning components of the printing press, such as the gripper bar and the front guide, are driven by servo motors to perform positioning actions. When the non-uniform distribution of the printing area and the blank area on the master plate causes the paper to be subjected to asymmetrical viscous tension at the moment of printing, the resistance fluctuation encountered by the positioning components is mapped into the transient fluctuation of the servo current through the transmission chain. Therefore, the trial printing current data contains complete information on the impact disturbance characteristics of the master plate on the positioning components.
[0065] S102. Extract features from the trial printing current data of multiple master plates to be printed to obtain the perturbation feature vector of each master plate to be printed.
[0066] In the above steps, for each master plate to be printed, the printing scheduling platform first performs waveform segmentation on the trial printing current data of the master plate based on a preset positioning cycle, obtaining multiple waveform segments. The preset positioning cycle refers to the time interval required for the printing press positioning component to complete a single positioning action, which can be determined by the encoder signal of the servo motor or the timing parameters of the controller. Each waveform segment corresponds to the change curve of the servo current during a complete positioning action.
[0067] Then, the peak value of each waveform segment is extracted, and the mean of the peak values of all waveform segments is calculated to obtain the peak mean. The peak mean reflects the average load on the positioning components of the master plate during the trial printing process. Then, the deviation of the peak value of each waveform segment from the peak mean is calculated, and the deviation is taken as the instantaneous disturbance intensity of the waveform segment. The deviation is calculated as follows:
[0068]
[0069] in, Let be the deviation of the peak value of the i-th waveform segment from the mean peak value. The peak mean Let be the peak value of the i-th waveform segment.
[0070] It should be noted that the instantaneous disturbance intensity reflects the severity of the additional impact disturbance caused by the non-uniform distribution of the master printing area during a single positioning action.
[0071] Therefore, the instantaneous disturbance intensity of multiple waveform segments is statistically analyzed by dividing the data into intervals based on their numerical values to obtain the disturbance feature vector of the master plate. Specifically, the range of instantaneous disturbance intensity values is divided into several intervals, and the proportion of waveform segments falling into each interval is counted relative to the total number of segments. The statistical probability value of each interval is used as the component value of the disturbance feature vector, thereby determining the intensity distribution pattern of the impact disturbance exerted on the positioning components by each master plate to be printed during the printing process.
[0072] S103. Calculate the perturbation difference matrix based on the perturbation feature vectors of each master plate to be printed.
[0073] In the above steps, the printing scheduling platform calculates the Euclidean distance between the perturbation feature vectors of any two master plates to be printed, and uses the Euclidean distance as the perturbation difference degree between the two master plates. Then, it iterates through the perturbation difference degrees between all pairs of master plates to be printed, arranging them in matrix form according to the master plate index, thus obtaining the perturbation difference degree matrix. In the perturbation difference degree matrix, the element in the i-th row and j-th column represents the degree of difference in perturbation mode between master plate i and master plate j. The smaller the difference degree, the more similar the impact perturbation modes applied by the two master plates to the positioning components are, and the smaller the step jump in the perturbation mode caused to the positioning components when they are arranged adjacently, which is more conducive to reducing the accumulation of fretting wear.
[0074] In one possible implementation, since the trial printing and proofing stage of non-standard cartons is only used to calibrate registration accuracy, the trial printing time varies among different master boards due to differences in the complexity of their layout, resulting in different numbers of waveform segments collected from each master board. For master boards with simple layouts, the trial printing process ends quickly, resulting in fewer waveform segments; for master boards with complex layouts that require repeated confirmation of registration accuracy, the trial printing process is prolonged, resulting in more waveform segments. When the total number of waveform segments for a certain master board is small, the statistical probability value of each box in the interval boxing statistics process is estimated based on a small number of samples, resulting in low statistical confidence. If this low-confidence disturbance feature vector is directly compared with the disturbance feature vector of another master board that has collected a large number of waveform segments using Euclidean distance calculation, the two boxing probability values with similar values actually have drastically different estimation reliability. The calculated disturbance difference is mixed with estimation errors introduced by insufficient sample size, and cannot truly reflect the degree of difference in disturbance patterns between the two master boards.
[0075] Therefore, to address this issue, before calculating the perturbation difference matrix, this application first obtains the total number of waveform segments actually involved in the statistical analysis of each master plate to be printed during the interval binning statistical process in step S102. Then, based on the total number of waveform segments for each master plate to be printed, the original statistical probability values of each bin are shrunk and corrected using the Wilson confidence interval lower bound formula, resulting in the corrected perturbation feature vector for each master plate. In this process, the smaller the total number of waveform segments, the greater the magnitude of shrinkage of the corrected statistical probability value corresponding to the original statistical probability value, thereby pulling the binning probability value that was accidentally inflated due to insufficient samples back to a more conservative estimate. When the total number of waveform segments is large enough, the corrected statistical probability value approaches the original statistical probability value. Thus, the probability values of each bin of the perturbation feature vector corrected by the Wilson confidence interval lower bound have a consistent confidence level in a statistical sense, eliminating the problem of inconsistent estimation reliability caused by differences in sample size.
[0076] After obtaining the corrected perturbation eigenvectors of each master plate, the printing scheduling platform calculates the Euclidean distance between the corrected perturbation eigenvectors of any two master plates to be printed. This Euclidean distance is used as the perturbation difference degree between the two master plates. This process is repeated for all master plate pairs to be printed, and the calculated perturbation difference degrees are arranged in matrix form by master plate index, thus obtaining the perturbation difference degree matrix. Since the corrected perturbation eigenvectors eliminate the impact of sample size differences on the reliability of binning probability estimation, the perturbation difference degree matrix calculated based on the corrected perturbation eigenvectors can accurately reflect the differences in perturbation pattern morphology between master plates, providing a more accurate data foundation for the subsequent construction of the composite difference degree matrix and spectral decomposition and sorting.
[0077] S104. Calculate the color sequence difference matrix based on the color sequence diagram of each master plate to be printed.
[0078] In the above steps, since multiple non-standard carton orders are assembled on one master plate, the printing pattern of each order may use different colors of ink. In the actual printing process, switching master plates requires stopping the machine to replace the printing rollers for cleaning and filling ink. If the two master plates being switched have many different types of ink, it will increase the switching time cost. Therefore, this application also extracts the chromaticity component corresponding to each master plate from the color sequence diagram of each master plate to be printed. The chromaticity component includes all the color types involved in all printing areas on the master plate, as well as the chromaticity coordinate component values of each color type in the uniform color space. The uniform color space refers to a color space in which the Euclidean distance of the chromaticity coordinates in the space is proportional to the degree of color difference perceived by the human eye. For example, in the CIELAB color space, each color is defined by the component values of three channels: lightness component L, green-red hue component a, and blue-yellow hue component b. That is, the chromaticity component value of each color type is (L, a, b).
[0079] Then, for any two master plates to be printed, the printing scheduling platform calculates the difference between their chromaticity components. This difference is used as the color sequence difference between the two master plates. Specifically, it can be achieved by calculating the minimum chromaticity distance, average chromaticity distance, or Hausdorff distance between the chromaticity components of the two master plates, reflecting the overall difference between the two master plates in the color space. This application does not limit this to any specific method. A smaller color sequence difference indicates that the ink colors used by the two master plates are generally similar, resulting in less cleaning and ink changing work required for printing switchovers when they are arranged adjacently in scheduling. A larger color sequence difference indicates a significant color difference between the two master plates. If they are arranged adjacently, deep ink path cleaning is required to eliminate cross-contamination of the colors of the next master plate print by the various inks remaining on the previous master plate. Finally, all pairs of master plates to be printed are traversed, and the calculated color sequence difference is arranged in matrix form according to the master plate index, resulting in the color sequence difference matrix. In the color sequence difference matrix, the element in the i-th row and j-th column represents the color sequence difference between master plate i and master plate j.
[0080] S105. The perturbation difference matrix and the color order difference matrix are weighted and fused to obtain the composite difference matrix.
[0081] In the above steps, since the disturbance difference matrix and the color sequence difference matrix respectively characterize the differences between master sheets in terms of the impact of equipment micro-motion wear and the cost of changeover cleaning, a single matrix cannot comprehensively guide production scheduling decisions. Therefore, it is necessary to merge the two into a composite difference matrix so that both differences can be considered simultaneously under a unified measurement framework. Specifically:
[0082] The printing scheduling platform first normalizes the perturbation difference matrix and the color sequence difference matrix, mapping the element values of the two matrices to the same numerical range to eliminate dimensional differences. Then, in actual non-standard carton printing scheduling scenarios, the sets of master plates to be printed involved in different production batches exhibit significant differences in perturbation pattern distribution and color sequence distribution. When the master plates of a certain batch naturally form several clearly defined color system groups in color sequence, a significant clustering structure exists within the color sequence difference matrix. In this case, only a small weight needs to be assigned to the color sequence dimension to effectively avoid large color sequence jumps during scheduling. Conversely, when the color sequence distribution of each master plate is uniform and there are no natural groups, a larger weight needs to be assigned to the color sequence dimension to effectively constrain color sequence transitions. Similarly, the clustering structure of the perturbation difference matrix also dynamically changes with the diversity of master plate layout. Therefore, to comprehensively consider the balance between the two, this application performs eigenvalue decomposition on the perturbation difference matrix and the color sequence difference matrix separately before performing weighted fusion on the printing scheduling platform, obtaining their respective eigenvalue sequences. The eigenvalue sequence reflects the structural characteristics of a matrix in the spectral space. The magnitude of the difference between adjacent eigenvalues reveals the natural clustering tendency of the template set described by the matrix under this dissimilarity measure. Specifically, the larger the difference between adjacent eigenvalues, the more clearly the template set can be divided into several clusters at the boundary corresponding to that difference. The template dissimilarity within a cluster is small, while the template dissimilarity between clusters is large, meaning that the dissimilarity matrix has a significant clustering structure. Conversely, the smaller the difference between adjacent eigenvalues, the more uniformly the template set is distributed under this dissimilarity measure, with no obvious clustering structure.
[0083] Then, the printing scheduling platform identifies the maximum difference between the first adjacent eigenvalues from the eigenvalue sequence of the perturbation difference matrix as an indicator of the significance of the perturbation structure. The larger the indicator, the more significant the clustering structure of the perturbation difference matrix, and the higher the benefit of reducing micro-motion wear that can be obtained by utilizing this structure in scheduling. At the same time, it identifies the maximum difference between the second adjacent eigenvalues from the eigenvalue sequence of the color sequence difference matrix as an indicator of the significance of the color sequence structure. The larger the indicator, the more significant the clustering structure of the color sequence difference matrix, and the higher the benefit of reducing changeover losses that can be obtained by utilizing this structure in scheduling.
[0084] Then, based on the maximum difference between the first and second adjacent feature values, the fusion weight is calculated, wherein the calculation method is as follows:
[0085]
[0086] in, To integrate weights, The maximum difference between the first adjacent eigenvalues. is the maximum difference between the second adjacent feature values, and k is the amplitude adjustment coefficient.
[0087] In this formula, when the clustering structure of the color order difference matrix is more significant, i.e. Significantly smaller than When the fusion weights decrease, they automatically tend to prioritize ensuring similar color orders; when the clustering structure of the perturbation difference matrix is more significant, i.e. Significantly greater than When the fusion weight increases, it automatically tends to prioritize reducing differences in perturbation modes. If and If both are similar, meaning there is no significant clustering structure between them, then the fusion weight is set to 0.5.
[0088] Finally, based on the fusion weights, the normalized perturbation difference matrix and the normalized color order difference matrix are weighted and summed to obtain the composite difference matrix, as follows:
[0089]
[0090] in, Let be the value of the element in the i-th row and j-th column of the composite dissimilarity matrix. Let be the value of the element in the i-th row and j-th column of the normalized perturbation difference matrix. Let be the value of the element in the i-th row and j-th column of the normalized color order difference matrix. For weight fusion.
[0091] At this point, each element in the composite difference matrix simultaneously integrates the degree of difference in perturbation mode and the degree of difference in color sequence of the corresponding multiple master prints to be printed, thereby adapting to production scenarios of different order combinations.
[0092] S106. Perform spectral decomposition on the composite difference matrix to obtain the sorted eigenvectors.
[0093] In the above steps, the printing scheduling platform performs spectral decomposition on the composite difference matrix, specifically:
[0094] First, a negative exponent transformation is applied to each element of the composite difference matrix to convert difference into similarity; the smaller the difference, the greater the similarity, resulting in a similarity matrix. Then, the normalized Laplacian matrix corresponding to the similarity matrix is calculated. Finally, eigenvalue decomposition is performed on the normalized Laplacian matrix to extract the eigenvector corresponding to its smallest non-zero eigenvalue; this eigenvector is the ranking eigenvector. In spectral theory, the eigenvector corresponding to the smallest non-zero eigenvalue of the Laplacian matrix naturally has the property of mapping graph nodes to a one-dimensional continuous spectrum, making the coordinates of nodes with high similarity close and the coordinates of nodes with low similarity far apart. Therefore, each component of the ranking eigenvector corresponds to a master plate to be printed, and its value is the one-dimensional embedding coordinate of the master plate considering the combined meaning of perturbation mode difference and color order difference. Master plates with similar component values indicate that their combined difference in both perturbation mode and color order dimensions is small.
[0095] In one possible implementation, in a real-world non-standard carton printing production scenario, the set of master plates to be printed may contain a few master plates that are extremely isolated from other master plates in terms of perturbation patterns and color order. Such isolated master plates are represented in the composite difference matrix by having very high composite difference values with all other master plates, forming a low-connectivity isolated node in the graph structure corresponding to the matrix. When such isolated nodes exist in the Laplacian matrix, the eigenvector corresponding to the smallest non-zero eigenvalue will map the isolated node to extreme coordinate values, while the coordinate values of all other master plates are compressed into an extremely narrow range. This causes the sorting eigenvector to lose its ability to distinguish subtle differences between non-isolated master plates, resulting in a nearly random relative order of non-isolated master plates in the subsequent sorting results, rendering the production scheduling scheme meaningless.
[0096] Therefore, to address this issue, before performing spectral decomposition on the composite difference matrix, the printing scheduling platform first calculates the mean difference of the composite difference between the second master to be printed and the other master to be printed, where the second master to be printed is any one of the multiple master to be printed. If this mean difference is greater than a preset threshold, it indicates that the second master to be printed lacks a similar master in the entire master set in terms of perturbation mode and color order, and is considered an isolated master. In this case, if this isolated master is included in the spectral decomposition, its corresponding Laplace matrix's smallest non-zero eigenvector will experience coordinate compression due to the presence of isolated nodes, causing the sorting eigenvector components of the other non-isolated master to be squeezed into a very small interval, losing their distinguishability.
[0097] Therefore, the printing scheduling platform extracts the composite difference degree between the second master plate to be printed and the other master plates to be printed from the composite difference degree matrix, obtaining a composite difference degree sub-matrix containing only the remaining master plates. Then, spectral decomposition is performed on the composite difference degree sub-matrix to obtain the sorting feature vectors. Since the isolated master plates have been extracted, the graph structure corresponding to the composite difference degree sub-matrix no longer contains isolated nodes with low connectivity. The smallest non-zero eigenvector of its Laplacian matrix can fully expand the remaining master plates on the one-dimensional continuous spectrum, so that the spacing between component values can accurately characterize the subtle differences in perturbation patterns and color order among the remaining master plates.
[0098] After obtaining the sorting feature sub-vector, the printing scheduling platform needs to re-insert the isolated master plates into appropriate positions to ensure the integrity of the scheduling plan. Specifically, firstly, the composite difference degree between the second master plate to be printed and each remaining master plate is obtained, and the remaining master plate with the smallest composite difference degree is determined as the anchor master plate. The anchor master plate is the one with the smallest comprehensive difference from the isolated master plate in terms of perturbation mode and color sequence among all remaining master plates; therefore, the isolated master plate should be placed near the anchor master plate in the scheduling sequence. Then, based on the position of the anchor master plate in the sorting feature sub-vector, the preceding and following master plates of the anchor master plate in the scheduling sequence are determined. The first composite difference degree between the second master plate to be printed and the preceding master plate, and the second composite difference degree between the second master plate to be printed and the following master plate are obtained respectively. If the first composite difference is less than the second composite difference, it indicates that the isolated master is closer to the previous master in terms of perturbation mode and color sequence characteristics. The second master to be printed is then inserted between the previous master and the anchor master. Otherwise, it indicates that the isolated master is closer to the next master. The second master to be printed is then inserted between the anchor master and the next master. If the anchor master is located at the beginning or end of the sorting feature sub-vector, i.e., there is no previous or next master, the second master to be printed is directly inserted between the anchor master and its only adjacent master.
[0099] Finally, the inserted sorting feature vector is used as the sorting feature vector. Thus, the sorting feature vector not only ensures the accurate characterization of subtle differences between non-isolated master copies, but also ensures that isolated master copies are reasonably placed in positions with the least comprehensive differences, avoiding interference from isolated nodes on the overall sorting structure.
[0100] S107. Sort the component values in the sorted feature vector from smallest to largest to obtain the difference sequence.
[0101] S108. Based on the difference sequence, determine the printing order of each master plate to be printed and generate a production schedule.
[0102] In steps S107 and S108 above, the printing scheduling platform arranges each master plate to be printed in ascending order according to its sorting feature vector component values, from smallest to largest. The resulting sequence is the printing order of each master plate. Since the sorting feature vector maps master plates with similar perturbation modes and color sequences to adjacent coordinate positions, after sorting by component values, adjacent master plates are most similar to each other in terms of both perturbation mode and color sequence differences. The resulting scheduling scheme can arrange master plates with small perturbation mode differences adjacently while satisfying the reasonableness of color sequence transition. This reduces the accumulation of micro-motion wear on positioning components caused by the step change of perturbation mode during master plate switching, while also reducing the changeover and cleaning losses caused by excessive color sequence jumps.
[0103] Reference Figure 2 This application also provides a production scheduling system for non-standard cardboard box printing. The system is a printing production scheduling platform, and includes an acquisition module 1, a processing module 2, and an output module 3, wherein:
[0104] Module 1 is used to acquire trial printing current data and color sequence diagrams for multiple master printing plates.
[0105] Processing module 2 is used to extract features from the trial printing current data of multiple master plates to be printed, and obtain the perturbation feature vector of each master plate to be printed.
[0106] Based on the perturbation feature vectors of each master plate to be printed, the perturbation difference matrix is calculated.
[0107] Based on the color sequence diagram of each master plate to be printed, the color sequence difference matrix is calculated.
[0108] The perturbation difference matrix and the color order difference matrix are weighted and fused to obtain the composite difference matrix.
[0109] Perform spectral decomposition on the composite dissimilarity matrix to obtain the sorted eigenvectors;
[0110] Output module 3 is used to sort the component values in the sorted feature vector from smallest to largest to obtain the difference sequence; based on the difference sequence, the printing order of each master plate to be printed is determined, and a production scheduling plan is generated.
[0111] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0112] This application also discloses an electronic device. (See reference...) Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 300 may include: at least one processor 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.
[0113] The communication bus 302 is used to enable communication between these components.
[0114] The user interface 303 may include a display screen and a camera. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0115] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0116] The processor 301 may include one or more processing cores. The processor 301 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 305, and by calling data stored in memory 305. Optionally, the processor 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 301 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 301 and may be implemented as a separate chip.
[0117] The memory 305 may include random access memory (RAM) or read-only memory. Optionally, the memory 305 may include a non-transitory computer-readable storage medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned processor 301. (Refer to...) Figure 3 The memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a scheduling method for non-standard carton printing.
[0118] exist Figure 3 In the illustrated electronic device 300, the user interface 303 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 301 can be used to call an application program stored in the memory 305 for a scheduling method for non-standard carton printing. When executed by one or more processors 301, the electronic device 300 performs one or more of the methods described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0119] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0120] In the various embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0121] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0122] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0123] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0124] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will be readily apparent to those skilled in the art upon consideration of the specification and the disclosure of practical truths.
[0125] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A production scheduling method for printing non-standard cardboard boxes, characterized in that, When applied to a printing scheduling platform, the method includes: Obtain trial printing current data and color sequence diagrams for multiple master printing plates; Feature extraction is performed on the trial printing current data of multiple master printing plates to obtain the perturbation feature vector of each master printing plate. Based on the perturbation feature vectors of each of the master plates to be printed, the perturbation difference matrix is calculated. Based on the color sequence diagrams of each of the master printing plates, the color sequence difference matrix is calculated. The perturbation difference matrix and the color sequence difference matrix are weighted and fused to obtain a composite difference matrix. Perform spectral decomposition on the composite difference matrix to obtain the sorting feature vector; The component values in the sorted feature vector are sorted in ascending order to obtain the difference sequence; Based on the difference sequence, the printing order of each master plate to be printed is determined, and a production scheduling plan is generated.
2. The method according to claim 1, characterized in that, The step of extracting features from the trial printing current data of multiple master printing plates to obtain the perturbation feature vector of each master printing plate is as follows: Based on a preset positioning cycle, the trial printing current data of the first master plate to be printed is waveform segmented to obtain multiple waveform segments, wherein the first master plate to be printed is any one of the multiple master plates to be printed. Extract the peak value of each waveform segment and calculate the mean peak value; The deviation of the peak value of each waveform segment from the mean peak value is calculated to obtain the instantaneous disturbance intensity of each waveform segment; The instantaneous disturbance intensity of multiple waveform segments is statistically analyzed by interval binning according to the numerical value to obtain the disturbance feature vector of the first master plate to be printed.
3. The method according to claim 2, characterized in that, The step of calculating the perturbation difference matrix based on the perturbation feature vectors of each of the master printing plates specifically includes: Obtain the total number of waveform segments of the trial printing current data of the first master plate to be printed; Based on the total number of waveform segments, the statistical probability values of each box in the interval boxing statistical process of the first master to be printed are corrected using the Wilson confidence interval lower bound formula to obtain the corrected disturbance feature vector. Calculate the Euclidean distance between each pair of the modified perturbation feature vectors of the multiple master prints to obtain the perturbation difference degree between each pair of the multiple master prints to be printed, and construct the perturbation difference degree matrix.
4. The method according to claim 1, characterized in that, The step of calculating the color sequence difference matrix based on the color sequence diagrams of each of the master printing plates is as follows: Chromaticity components are extracted from the color sequence diagrams of each of the master prints to be printed. The chromaticity components represent multiple color types and the component values corresponding to the multiple color types. The difference between each pair of the chromaticity components of the multiple master prints is calculated to obtain the color sequence difference between each pair of the multiple master prints, and the color sequence difference matrix is constructed.
5. The method according to claim 1, characterized in that, The step of weightedly fusing the perturbation difference matrix and the color sequence difference matrix to obtain a composite difference matrix is as follows: The perturbation difference matrix is subjected to eigenvalue decomposition to obtain the first eigenvalue sequence; The color sequence difference matrix is subjected to eigenvalue decomposition to obtain the second eigenvalue sequence; Identify the maximum difference between first adjacent feature values in the first feature value sequence, and identify the maximum difference between second adjacent feature values in the second feature value sequence; The fusion weight is calculated based on the maximum difference between the first and second adjacent feature values. Based on the fusion weights, the perturbation difference matrix and the color order difference matrix are weighted and fused to obtain the composite difference matrix.
6. The method according to claim 1, characterized in that, The spectral decomposition of the composite difference matrix to obtain the sorting feature vector is specifically as follows: Based on the composite difference matrix, calculate the average difference of the composite difference between the second master to be printed and the other master to be printed, where the second master to be printed is any one of the multiple master to be printed. If the average difference is greater than a preset threshold, the composite difference between the second master to be printed and the other master to be printed is extracted from the composite difference matrix to obtain a composite difference submatrix. Perform spectral decomposition on the composite dissimilarity submatrix to obtain the sorting feature subvectors; The master plate to be printed with the smallest composite difference from the second master plate to be printed is determined as the anchor point template; Based on the position of the anchor point master in the sorting feature sub-vector, determine the previous master and the next master in the sorting feature sub-vector; The first composite difference degree between the second master plate to be printed and the previous master plate, and the second composite difference degree between the second master plate to be printed and the subsequent master plate are obtained respectively. If the first composite difference is less than the second composite difference, then the second master to be printed is inserted between the previous master and the anchor master. Otherwise, insert the second master plate to be printed between the anchor point master plate and the subsequent master plate; The inserted sorting feature sub-vector is used as the sorting feature vector.
7. A scheduling system for printing non-standard cardboard boxes, characterized in that, The system is a printing scheduling platform for executing a scheduling method for non-standard carton printing as described in any one of claims 1-6. The system includes an acquisition module, a processing module, and an output module, wherein: The acquisition module is used to acquire trial printing current data and color sequence diagrams of multiple master printing plates to be printed; The processing module is used to extract features from the trial printing current data of multiple master printing plates to obtain the perturbation feature vector of each master printing plate. Based on the perturbation feature vectors of each of the master plates to be printed, the perturbation difference matrix is calculated. Based on the color sequence diagrams of each of the master printing plates, the color sequence difference matrix is calculated. The perturbation difference matrix and the color sequence difference matrix are weighted and fused to obtain a composite difference matrix. Perform spectral decomposition on the composite difference matrix to obtain the sorting feature vector; The output module is used to sort the component values in the sorted feature vector from smallest to largest to obtain a difference sequence; Based on the difference sequence, the printing order of each master plate to be printed is determined, and a production scheduling plan is generated.
8. An electronic device, characterized in that, The device includes a processor (301), a memory (305), a user interface (303), and a network interface (304). The memory (305) is used to store instructions. The user interface (303) and the network interface (304) are used to communicate with other devices. The processor (301) is used to execute the instructions stored in the memory (305) to cause the electronic device (300) to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1 to 6.
