Background
When printing enterprises face intense market competition, the problem of saving resources becomes an important factor for restricting the rapid development of the printing enterprises. Printing consumables such as ink, paper, car wash water, alcohol consumption all have the waste phenomenon, especially the waste of paper is the most serious.
For the problem of paper waste, the literature indicates that the paper waste caused by printing process, paper self-defect, stock management method, post-press processing means, plate making process and the like accounts for about 54%, 2%, 18%, 7% and 9% respectively. It follows that, in addition to the inevitable printing problems, the plate making process and stock management are the most important causes of waste of paper, increase in production cost and decrease in efficiency. The plate making process may cause waste of paper due to subjective factors of operators, and may also cause waste of paper due to improper arrangement and combination of orders on the printing plate. The imposition process in plate making, especially the order combination and arrangement mode in the imposition process, are the most critical factors causing serious waste of paper, and meanwhile, the improper order combination is also the most important factor influencing the paper stock management.
Reducing the paper consumption and improving the paper utilization rate are important points considered by the managers of the domestic printing enterprises. Paper saving methods have been proposed by a number of researchers and technicians for a long time. However, according to the literature, although attention is paid to paper saving and theoretical guidance is made on paper waste of a printing factory, practice inspection is not performed in the specific printing process, for example, a model is established in the typesetting and makeup processes, and reasonably optimized typesetting is performed on an order, so that the minimization of paper leftover materials is achieved.
The imposition printing is an effective method for improving the utilization rate of the layout of paper, the imposition method which is currently carried out is not applied aiming at an optimization method and forms related practices of special technology, most printing factories still adopt original experience, imposition is carried out by depending on personal feeling, the automation degree is low, splicing is usually carried out only by considering the size of printing contents, orders of the same customer are scattered at different positions, and a large amount of time is spent for sorting after printing is finished.
Disclosure of Invention
This application is anticipated is providing a system that provides printing data intelligence arrangement service, can accomplish printing typesetting automatically to optimize the typesetting, reduce the degree of difficulty of letter sorting.
In order to solve the technical problem, the present application provides the following technical solutions:
a system for providing intelligent arrangement services for print data, comprising:
the data acquisition module is used for acquiring paper parameters of printing paper, printer parameters and parameter data of printing content to be printed, wherein the parameter data of the printing content comprises size and classification information;
the printing area calculation module is used for calculating a printable area according to the paper parameters and the printer parameters;
the layout module is used for typesetting according to the parameter data of the printing content and the printable area to form a printing format;
the arrangement optimization module comprises:
and the classification optimization module is used for exchanging the positions of the printing contents with the same size in the printing format according to the classification information so as to arrange the printing contents with the same classification information together.
According to the technical scheme, the data acquisition module is used for acquiring the information of the printer, the paper and the content to be printed, typesetting is carried out according to the size of the printed content, and after the typesetting is finished, the position of the printed content is changed according to the classification information, so that the printed contents with the same classification information are gathered together, and the subsequent sorting difficulty is reduced.
Further, the arrangement optimization module further comprises a color arrangement optimization module, the color arrangement optimization module comprises a printing area ratio calculation module, a printing priority calculation module and a priority exchange module, the printing area ratio calculation module is used for calculating the printing area ratio of each printing content, the printing priority calculation module is used for generating the printing priority according to the printing area ratio, and the priority exchange module is used for exchanging the positions of the printing formats from high to low and the printing directions of the printing formats on the printing contents with the same size according to the priority, so that the printing contents with higher priority are printed first.
During makeup printing, if the printing content with dark large area is arranged in front of other printing content, the printing chromatic aberration of the printing content at the back is more serious generally, the printing area ratio is calculated, the priority is calculated, the printing content with smaller printing area ratio is placed at the position where the corresponding paper starts to print, namely, the printing content with smaller printing area ratio is printed firstly, the influence of chromatic aberration is reduced, and the printing quality is improved.
And the color preview module comprises a historical database and a BP neural network module, and the BP neural network module is used for generating a predicted printing color result according to the distribution of each printing content of the printing format, the specific printing area ratio and the color brightness of the printing content, so that a user can preview the printing result of the printing format.
The BP neural network module is used for machine learning by utilizing information in the historical database, a BP neural network model is established, a printing plate type is used as input, the color effect of the printing plate type after actual printing is automatically output, a user can visually see color difference, and adjustment is convenient.
Further, the classification information includes customer information and/or corpus information. The printing contents of the same customer or the printing contents of the same corpus theme are collected together through the customer information or the corpus information, and the sorting is convenient.
The color correction module is used for the user to correct the color of the printed content according to the printing format and the printing color result. The user can conveniently adjust the color of each printing content in real time according to the color preview module, so that the chromatic aberration is reduced, and the printing quality is improved.
Further, the color arrangement optimization module further comprises a color brightness calculation module, the color brightness calculation module is used for calculating the color brightness of each print content, and the print priority calculation module is also used for calculating the print priority according to the color brightness of the print content.
When the makeup printing is carried out, the size of the printing color difference of the following printing content has a direct relation with the color brightness of the preceding printing content, and the lower the color brightness of the preceding printing content is, namely the deeper the color is, the larger the color difference of the following printing content is, so that the color brightness is also used as an index of the printing priority, and the printing priority can be calculated more accurately.
Further, the printing priority calculating module comprises a summing module and a grading module, wherein the summing module is used for carrying out weighted summing on the color brightness and the printing area ratio, and the grading module is used for generating the printing priority of the printing content according to a numerical value interval where a summing result of the summing module is located.
The preliminary calculation is achieved by weighted summation, and then the summation results are divided into different print priorities by ranking.
Further, the arrangement module includes:
the size standardization module is used for expanding the printing content to a standard size with the closest size in a mode of increasing blank areas;
and the splicing module is used for splicing the printing contents with the standardized sizes step by step according to the sequence of the sizes from small to large, and finally forming a printing format.
Firstly, the size is standardized, then splicing is carried out from small to large step by step, namely, the 64-split splicing mode is 32-split splicing, the 32-split splicing mode is 16-split splicing, the 16-split splicing mode is 8-split splicing, and the 8-split splicing mode is 4-split 8230splicing, and finally splicing to the size of a printing area to form a printing plate type.
Further, the printing area ratio calculation module comprises a printing area calculation module and a ratio calculation module, the printing area calculation module is used for calculating the area corresponding to the printing area of the printing content, and the ratio calculation module is used for calculating the ratio of the area of the printing area to the area of the printing content after the size is standardized. By using the area after the size normalization as the denominator of the proportion, the calculation of the print area proportion can be made more accurate.
Further, the color brightness calculation module comprises a brightness summation module and an average value calculation module, wherein the brightness summation module is used for calculating the sum of the brightness of each pixel of the printing content, and the average value calculation module is used for calculating the average value of the brightness of the pixels and taking the average value as the corresponding color brightness of the printing content.
By using the average value as the color brightness of the print area, the color brightness information of the print area can be reflected more accurately.
Detailed Description
The following is further detailed by way of specific embodiments:
as shown in fig. 1, the embodiment discloses a system for providing an intelligent arrangement service of print data, which includes a data acquisition module, a print area calculation module, an arrangement optimization module, an arrangement module, a color preview module, and a color correction module.
Wherein: the data acquisition module is used for acquiring paper parameters of printing paper, printer parameters and parameter data of printing content to be printed, the parameter data of the printing content comprises size, quantity and classification information, and the classification information comprises client information and corpus information.
The printing area calculation module is used for calculating a printable area according to the paper parameters and the printer parameters. The paper parameters comprise paper size and thickness information, the printer parameters comprise the size of a printer nip, and the printing area calculating module calculates the size of a printable area according to the paper size and the nip size.
The arrangement module is used for typesetting according to the parameter data of the printing content and the printable area to form a printing format.
The arrangement module includes:
the size standardization module is used for expanding the printing content to a standard size with the closest size in a mode of increasing blank areas;
and the splicing module is used for splicing the printing contents with the standardized sizes step by step according to the sequence of the sizes from small to large to finally form a printing format.
The arrangement optimization module is used for optimizing the printing format and comprises a classification optimization module and a color arrangement optimization module.
The classification optimization module is used for exchanging the positions of the printing contents with the same size in the printing format according to the classification information, so that the printing contents with the same classification information are arranged together.
The color arrangement optimization module comprises a printing area ratio calculation module, a printing priority calculation module, a priority exchange module and a color brightness calculation module, wherein the color brightness calculation module is used for calculating color brightness of each printing content, the printing area ratio calculation module is used for calculating the printing area ratio of each printing content, the printing priority calculation module is used for generating printing priority according to the printing area ratio and the color brightness, and the priority exchange module is used for exchanging the positions of the printing formats with the same size from high to low according to the printing directions of the printing formats from the priority, so that the printing contents with higher priority are printed first.
The printing area proportion calculation module comprises a printing area calculation module and a proportion calculation module, the printing area calculation module is used for calculating the area corresponding to the printing area of the printing content, and the proportion calculation module is used for calculating the ratio of the area of the printing area to the area of the printing content with standardized size.
The color brightness calculation module comprises a brightness summing module and an average value calculation module, the brightness summing module is used for calculating the sum of the brightness of each pixel of the printing content, the average value calculation module is used for calculating the average value of the brightness of the pixels and taking the average value as the color brightness corresponding to the printing content, and the brightness range is 0-255.
The printing priority calculating module comprises a summing module and a grading module, the summing module is used for weighting and summing the color brightness and the printing area ratio, the weight of the color brightness and the printing area ratio in the application is 1:
table 1:
print priority
|
Range of summation results
|
4
|
0-55
|
3
|
56-155
|
2
|
156-255
|
1
|
256-355 |
The color preview module comprises a historical database and a BP neural network module, wherein the BP neural network module is used for generating a predicted printing color result according to the distribution of each printing content of the printing format and the specific printing area ratio and color brightness of the printing content, and the user can preview the printing result of the printing format. The BP neural network module comprises a BP neural network model, the BP neural network module predicts the color state after printing by using a BP neural network technology and displays the color state, and specifically, a three-layer BP neural network model is firstly constructed, wherein the BP neural network model comprises an input layer, a hidden layer and an output layer; for hidden layers, the present embodiment uses the following formula to determine the number of hidden layer nodes:
where l is the number of nodes of the hidden layer, n is the number of nodes of the input layer, m is the number of nodes of the output layer, and a is a number between 1 and 10, which is taken as 3 in this embodiment, so that the hidden layer has 6 nodes in total. BP neural networks typically employ Sigmoid differentiable functions and linear functions as the excitation functions of the network. The S-type tangent function tansig is chosen here as the excitation function for the hidden neurons. The prediction model selects an S-shaped logarithmic function tansig as an excitation function of neurons of an output layer. After the BP network model is constructed, the model is trained by using the historical parameter information of the historical database as a sample, and because the historical database stores the previous printing data, the model obtained after the training can be usedSo as to obtain more accurate prediction results.
The color correction module is used for enabling a user to correct colors of the printed contents according to the printing format and the printing color results, the color correction module comprises a display module and an editing module, the display module is used for displaying the printing color results predicted by the printing plate type and the BP neural network, and the editing module is used for enabling the user to adjust the colors of the printed contents.
The foregoing are merely exemplary embodiments of the present application and are not intended to limit the scope of the invention to the particular forms or details disclosed, which are obvious to those skilled in the art from the foregoing description, since they may know all the techniques available in the art at the time of filing or the priority date of the application and have the capacity to use routine experimentation before that date. It should be noted that, for those skilled in the art, without departing from the structure of the present application, several changes and modifications can be made, which should also be considered as the protection scope of the present application, and these will not affect the effect of the implementation of the present application and the applicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.