The specific embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.Flow chart referring to embodiment shown in Figure 1 may further comprise the steps:
S11: the related layout file of property file that will have a plurality of property values; Wherein, described property file records the described property value for each attribute of presswork;
S12: printing equipment reads described layout file, judges that each described property value of described property file is whether in corresponding threshold interval;
S13: if then set up the mapping relations between the printing work district of described layout file and described printing equipment.
By the step among the embodiment, because adopt the related layout file of property file, printing equipment is differentiated the property value in the property file, sets up the mapping relations in layout file and printing work district according to the differentiation result.Owing to exist the layout file of mapping relations all to meet certain attribute specification with the printing work district, these attribute specifications have consisted of the rule of sending to press, thereby layout file has also met the rule of sending to press accordingly.Printing equipment is according to the publication of the layout file printing in printing work district, effectively reduction in the numbers of seconds.
Preferably, it is one of following that attribute comprises at least: space of a whole page issuing date, and the color of layout pattern, the newspaper column, the newspaper layout release, affiliated newspaper code is sent to press the date.
Preferably, referring to Fig. 2, set up a plurality of places of safety at printing equipment, the rule of sending to press that each place of safety is corresponding is different, and namely corresponding attribute is incomplete same.For example, attribute corresponding to first place of safety is space of a whole page issuing date, color of layout pattern, and second attribute corresponding to place of safety is affiliated newspaper code, the date of sending to press, color of layout pattern.Attribute corresponding to each place of safety is different, has increased the diversity of the layout file of printing.Printing equipment in use can select wherein one or more places of safety as the printing work district.When being elected to a majority place of safety as the printing work district, sign sequentially need to be added in a plurality of places of safety as the printing work district, so that identification.At last, the layout file in the printing work district is sent to next printing treatment flow process, such as the publication process management system of seal factory or Dai Yindian.
The present invention also provides an embodiment, referring to Fig. 3, may further comprise the steps:
S21: the related layout file of property file that will have a plurality of property values; Wherein, described property file records the described property value for each attribute of presswork;
In the present embodiment, the property value that records in the associated property file of this layout file comprises: attribute is that send to press property value " 2011-08-02 ", the attribute on date is color of layout pattern " Gray ".
S22: printing equipment reads described layout file, judges that each described property value of described property file is whether in corresponding threshold interval;
In the present embodiment, printing equipment is set up a plurality of places of safety, and a plurality of attributes that corresponding needs are judged in the rule of sending to press of each place of safety are incomplete same.Printing equipment receives user's setting, first place of safety is set to the printing work district, the regular setup of attribute of sending to press that first place of safety need to be satisfied is date and the color of layout pattern of sending to press, and the property value on the date of sending to press is set to " 2011-08-02 ", " 2011-08-03 ", and the color of layout pattern is set to " Gray ".
Printing equipment adopts following formula to differentiate:
Check (R (2011-08-02, Gray), the filename of property file)
((PubDate of current layout file equals 2011-8-02 or 2011-8-03) ﹠amp to If; ﹠amp; (ColoeMode of current layout file equals Gray))
return?TRUE;
else
return?FALSE;
S23: through after judging, the property value of this property file in threshold value, with layout file with set up mapping relations as first place of safety in printing work district;
S24: be that the layout file that the first place of safety has mapping relations is set up information table;
In information table, for information such as the last modification time that records each layout file, check codes.Check code can be selected the check code of the forms such as MD5 code;
S25: printing equipment receives the operational order to file in the first place of safety, monitors the operational order that receives by file system driver, and is recorded in the watch-list;
S26: the backup area of setting up the described layout file of backup at described printing equipment;
S27: the layout file that described operational order is processed backups to described memory block, and upgrades the last modification time in the described information table;
S28: the layout file in the first place of safety or the backup area is sent to next printing treatment flow process.
Printing equipment can be according in advance to selecting the setting of layout file, and preferentially the selection layout file is sent to next printing treatment flow process or selects backup file to be sent to next printing treatment flow process from the printing work district from backup area.Can also receive the selection operation from the user, from printing work district or backup area, select layout file to be sent to next printing work flow.
By above-mentioned step, if the operational order of monitoring relates to the layout file in printing work district, printing equipment can be set up backup area, and the layout file that the backup operation order relates in backup area.Can back up so the front layout file of operation command; printing equipment can be according to user's setting in advance or the selection of reception; the layout file of printing work district or memory block is sent to next operating process; thereby strengthened the redundancy protecting of layout file; be convenient to the user according to the needs of presswork, select corresponding layout file to print.
Referring to Fig. 4, the present invention also provides a kind of device of controlling presswork, comprising:
Relating module 31 is for the related layout file of the property file that will have a plurality of property values; Wherein, described property file records the described property value for each attribute of presswork;
Judge module 32 is used for the control printing equipment and reads relating module 31 and carry out operation associated described layout file, judges that each described property value of described property file is whether in corresponding threshold interval;
Mapping block if be used for each described property value that judge module 32 judges described property file in corresponding threshold interval, is set up the mapping relations between the printing work district 38 of described layout file and described printing equipment.
Preferably, described device also comprises:
Information table module 34 is used to one or more described printing works district to set up for record and demonstration and has the last modification time of the layout file of mapping relations, the information table of check code with it;
Wherein, when the quantity in described printing work district was a plurality of, the attribute of the associated property file of layout file of each described printing work district mapping was incomplete same.
Preferably, described device also comprises:
Backup area is set up module 35, is used for setting up at described printing equipment the backup area 39 of the described layout file of backup;
Backup module 36, be used for after monitoring the operation of revising described layout file, store the described layout file before revising into backup area and set up in the described backup area 39 that module 35 sets up, and upgrade described information table module 34 and set up last modification time in the information table.
Preferably, described device also comprises:
Transport module 37 is used for controlling described printing equipment and receives user's selection or according in advance setting, the layout file before revising in the layout file in the described printing work district 38 or the described backup area 39 is sent to next printing treatment flow process.
Preferably, are connected with backup area and can be based upon in the memory in the printing equipment or by in data line interface and the memory that printing equipment is connected in printing work district 38.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.