The specific embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.The flow chart of embodiment shown in Figure 1, comprises the following steps:
S11: by the associated layout file of the property file with 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 described in each of described property file that property value is whether in corresponding threshold interval;
S13: if set up the mapping relations between the printing work district of described layout file and described printing equipment.
By the step in embodiment, because adopt the associated layout file of property file, printing equipment is differentiated the property value in property file, sets up the mapping relations in layout file and printing work district according to differentiation result.Owing to existing the layout file of mapping relations all to meet certain attribute specification with printing work district, these attribute specifications have formed 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 at least comprises: space of a whole page issuing date, and color of layout pattern, newspaper column, newspaper layout release, affiliated newspaper code, sends to press the date.
Preferably, referring to Fig. 2, set up a plurality of places of safety on printing equipment, the rule of sending to press that each place of safety is corresponding is different, and 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 printing work district.While being elected to a majority place of safety as printing work district, sign sequentially need to be added in a plurality of places of safety as printing work district, so that identification.Finally, the layout file in printing work district is sent to next printing treatment flow process, the publication process management system of Ru Yin factory or Dai Yindian.
The present invention also provides an embodiment, referring to Fig. 3, comprises the following steps:
S21: by the associated layout file of the property file with 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 recording 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 described in each of described property file that property value is whether in corresponding threshold interval;
In the present embodiment, printing equipment is set up a plurality of places of safety, and in the rule of sending to press of each place of safety, a plurality of attributes of corresponding needs judgement are incomplete same.Printing equipment receives user's setting, first place of safety is set to printing work district, the regular setup of attribute of sending to press that first place of safety need to be met is for 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 ", 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)
If ((PubDate of current layout file equals 2011-8-02 or 2011-8-03) & & (ColoeMode of current layout file equals Gray))
return?TRUE;
else
return?FALSE;
S23: through judgement after, the property value of this property file in threshold value, using layout file with as first place of safety in printing work district, set up mapping relations;
S24: be that the layout file that the first place of safety has mapping relations is set up information table;
In information table, for recording the information such as last modification time, check code of each layout file.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 receiving, and be recorded in watch-list by file system driver;
S26: the backup area of setting up the described layout file of backup on 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 described information table;
S28: the layout file in the first place of safety or backup area is sent to next printing treatment flow process.
Printing equipment can, according in advance to selecting the setting of layout file, preferentially be selected layout file to be sent in next printing treatment flow process Huo Cong printing work district and select backup file to be sent to next printing treatment flow process from backup area.Can also receive the selection operation from 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 backup operation order relates in backup area.Can back up the layout file before operation command like this; 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 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, for having the property file association layout file of a plurality of property values; Wherein, described property file records the described property value for each attribute of presswork;
Judge module 32, reads relating module 31 and carries out operation associated described layout file for controlling printing equipment, judges described in each of described property file that property value is whether in corresponding threshold interval;
Mapping block, if for property value described in each of the described property file of judge module 32 judgement in corresponding threshold interval, 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 recording and show the last modification time of the layout file that has mapping relations with it, the information table of check code;
Wherein, when the quantity in described printing work district is a plurality of, described in each, the attribute of the associated property file of layout file of printing work district mapping is incomplete same.
Preferably, described device also comprises:
Backup area is set up module 35, for set up the backup area 39 of the described layout file of backup on described printing equipment;
Backup module 36, 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 of module 35 foundation, and upgrade described information table module 34 and set up the last modification time in information table.
Preferably, described device also comprises:
Transport module 37, receives user's selection or according to setting in advance, the layout file before revising in the layout file in described printing work district 38 or described backup area 39 is sent to next printing treatment flow process for controlling described printing equipment.
Preferably, printing work district 38 can be based upon in the memory in printing equipment or in the memory being connected with printing equipment by data line interface with backup area 39.
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 single calculation element, or 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 storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, 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., within all should being included in protection scope of the present invention.