CN102096567B - Method and device for submitting job - Google Patents

Method and device for submitting job Download PDF

Info

Publication number
CN102096567B
CN102096567B CN2009102426671A CN200910242667A CN102096567B CN 102096567 B CN102096567 B CN 102096567B CN 2009102426671 A CN2009102426671 A CN 2009102426671A CN 200910242667 A CN200910242667 A CN 200910242667A CN 102096567 B CN102096567 B CN 102096567B
Authority
CN
China
Prior art keywords
file
modification information
hot folder
module
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102426671A
Other languages
Chinese (zh)
Other versions
CN102096567A (en
Inventor
谢浩
侯存军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2009102426671A priority Critical patent/CN102096567B/en
Publication of CN102096567A publication Critical patent/CN102096567A/en
Application granted granted Critical
Publication of CN102096567B publication Critical patent/CN102096567B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for submitting a job, which is used for improving job submission efficiency and saving system resources. The method comprises the following steps that: a file system driving module changes files in a hot folder through a file system driver, generates change information and transmits the change information to a hot folder monitoring module; the hot folder monitoring module extracts a changed file from the hot folder according to the change information; and a process service job submission module generates a job voucher according to the extracted file and preset job parameters and submits the job voucher. The invention also discloses a device for implementing the method.

Description

A kind of method of submit job and device
Technical field
The present invention relates to computing machine and typographical printing field, particularly relate to the method and the device of submit job.
Background technology
At present, seal main task of last stage is that graph text information is handled, and graph text information is carried out color separation, screening processing, and final output meets the color separation film or the forme of printing down requirement or print request.In aspect the operation submission before seal, mainly adopt the hot folder way of submission to realize the submission of automatically working stream operation.
In the prior art, the hot folder watch-dog is usually as the part of workflow server, with the variation of predetermined Fixed Time Interval scanning calorimeter file, with identification make new advances submit to or existed but the print content file of the support type of content update.There is following drawback in this mode:
1 is less when predetermined trace interval, and the submission time of print content file is big at interval or when submitting to frequency low, the most of the time is all being done useless scanning, has wasted a large amount of system resource; When predetermined trace interval was big, the print content file in the hot folder can not get handling timely, made work flow before printing can't provide enough ageing.
2 when number of files quantitative change in the hot folder very big, and the scan efficiency of hot folder will descend greatly, and causes more system resource waste.
3 hot file operations submit to the part as workflow server to realize, make operation submission and the parameter of flow services that the design complicacy that becomes is set.
Summary of the invention
The embodiment of the invention provides a kind of method and device of submit job, is used to improve the efficient of submit job, and saves system resource.
A kind of method of submit job may further comprise the steps:
File system driving module drives the file in the change hot folder through file system, and generates modification information, and modification information is sent to the hot folder monitor module; Wherein, said modification information comprises the title and the path of change file;
The hot folder monitor module extracts the file of change from hot folder according to modification information;
The flow services operation submits to module to generate the operation subpoena according to file that extracts and preset job parameter, and submits to.
A kind of device that is used for submit job comprises:
File system driving module is used for driving through file system the file of change hot folder, and generates modification information; Wherein, said modification information comprises the title and the path of change file;
The hot folder monitor module is used for extracting the file that changes from hot folder according to modification information;
Module is submitted in the flow services operation to, is used for generating the operation subpoena according to file that extracts and preset job parameter, and submits to.
Pass through to generate when file system drives the file in the change hot folder modification information in the embodiment of the invention; Extract the file of change again according to modification information; Generate operation subpoena (a kind of file, or title worker list or accent list) and submission according to the file that changes then, thereby find the variation of hot folder immediately; Initiatively catch the file of variation, in time submit job.No longer need many times scanning calorimeter files, avoided the long or too short problem of trace interval, and saved resource.And, do not receive the influence of quantity of documents in the hot folder.
Description of drawings
Fig. 1 is the main method process flow diagram of submit job in the embodiment of the invention;
Fig. 2 is the method flow diagram of first kind of implementation of submit job in the embodiment of the invention;
Fig. 3 is the method flow diagram of second kind of implementation of submit job in the embodiment of the invention;
The primary structure figure of Fig. 4 for installing in the embodiment of the invention;
The detailed structure view of Fig. 5 for installing in the embodiment of the invention.
Embodiment
Pass through to generate when file system drives the file in the change hot folder modification information in the embodiment of the invention; Extract the file of change again according to modification information; Generate operation subpoena (a kind of file, or claim that the worker is single or transfer single) according to the file of change then and submit to, thereby no longer need many times scanning calorimeter files; Avoid the long or too short problem of trace interval, and saved resource.
Referring to Fig. 1, the main method flow process of submit job is following in the present embodiment:
Step 101: file system driving module drives the file in the change hot folder through file system, and generates modification information, and modification information is sent to the hot folder monitor module.Alter operation mainly refers to newly-built and revises.
Step 102: the hot folder monitor module extracts the file of change from hot folder according to modification information.Extraction document is specially read operation in the present embodiment, promptly duplicates the file of change.Certainly, also can be the file of shearing change.
Step 103: the flow services operation submits to module to generate the operation subpoena according to file that extracts and preset job parameter, and submits to.
Referring to Fig. 2, the detailed method flow process of submit job is following in the present embodiment:
Step 201: drive the file in the change hot folder through file system, and generate modification information.Modification information comprises file name and file path, and file path can be a fullpath, also can be the path (title that comprises the last layer hot folder) with respect to the last layer hot folder.Modification information can also comprise alter operation and change time etc.
Step 202: judge whether to generate the altering event that comprises modification information according to modification information, if then continue step 203, otherwise finish this flow process.Mainly be to judge in this step according to preset judgment rule and the alter operation in the modification information.Alter operation comprises: newly-built, deletion and revised file, revised file title, revised file attribute etc.Preset judgment rule has multiple, as need generate altering event when stipulating newly-built, deletion and revised file, need not generate altering event when revised file title and revised file attribute.
Step 203: generate the altering event HtEvent that comprises modification information.
Step 204:, from hot folder, extract the file HtChangeContent of change according to modification information through the triggering of altering event.
Step 205: generate the operation subpoena according to file that extracts and preset job parameter, and submit to.Job parameter comprises configuration parameter required in sign and the subsequent processes of operation subpoena etc., like media size, PDF parameter, image compression format, image resolution ratio, antiquarian, zooming parameter, rasterisation parameter, output device parameter, printing ink parameter, flag parameters etc.
The submit job subpoena is to start the work process flow instance.After starting the work process flow instance, can the file that extract be standardized, layout, extension net and output.
In the present embodiment, the judgement in also can carry out step 202 no matter be which kind of alter operation, all generates altering event, promptly continues step 203.Carrying out step 202 is for fear of repetitive operation, as only being to have revised file name, then typographical printing is not had the change of essence, possibly cause the repetition operation.
Also can be before step 203, carry out determining step 202, but after step 203, carry out determining step, referring to flow process shown in Figure 3:
Step 301: drive the file in the change hot folder through file system, and generate modification information.
Step 302: generate the altering event that comprises modification information.
Step 303:, judge whether that according to alter operation needs extract the file of change, if then continue step 304, otherwise finish this flow process through the triggering of altering event.Preset judgment rule MRule has multiple, as stipulates newly-builtly need generate altering event during with revised file, and other alter operation all need not generate altering event.
Step 304: the file that from hot folder, extracts change according to modification information.
Step 305: generate the operation subpoena according to file that extracts and preset job parameter, and submit to.
Can also Fig. 2 and flow process shown in Figure 3 be combined, promptly before generating altering event, do rough filtration, need generate altering event when, deletion newly-built like the judgment rule regulation and revised file, other alter operation all need not generate altering event.After generating altering event, do further filtration, need generate altering event when stipulating newly-built and revised file like judgment rule, other alter operation all need not generate altering event.After generating altering event, judge if desired, then need alter operation be carried in the altering event, otherwise can not carry alter operation.
More than be the description that the realization flow of submit job is done, this flow process can be realized by device, introduces in the face of the function and the inner structure of this device down.
Referring to Fig. 4, the device that is used for submit job in the present embodiment comprises: module 403 is submitted in file system driving module 401, hot folder monitor module 402 and flow services operation to.
File system driving module 401 is used for driving through file system the file of change hot folder, and generates modification information, sends to hot folder monitor module 402.Modification information comprises title, path, alter operation and the change time etc. of change file, and is as shown in table 1:
Table 1
The title of file Fullpath Alter operation The change time Other
File system driving module 401 can be sent complete modification information to hot folder monitor module 402.But in order to save transfer resource, file system driving module 401 is to hot folder monitor module 402 transmitting section modification informations, and is as shown in table 2:
Table 2
The title of file Relative path
File system driving module 401 can also be judged network condition; If the Network Transmission bandwidth usage surpasses preset bandwidth threshold, expression network this moment is busier, then transmits modification information as shown in table 2; Otherwise the expression network is relatively more idle, can transmit modification information as shown in table 1.
Hot folder monitor module 402 is used for extracting the file of change according to modification information from hot folder, and sends to flow services operation submission module 403.
The flow services operation submits to module 403 to be used for generating the operation subpoena according to file that extracts and preset job parameter, and submits to.The flow services operation submits to module 403 also to be used to provide operation to submit interface to, and hot folder monitor module 402 submits to interface that the file of change is sent to flow services operation submission module 403 through calling this operation.This operation is submitted to interface also to be used for direct-type and is submitted to, and direct-type way of submission and hot folder way of submission can be shared same interface and same flow services operation submission module 403 like this, have saved resource.Flow services operation submission module 403 can (Component Object Model, COM) assembly be formed by The Component Object Model in the present embodiment.
File system driving module 401 also is used to generate the altering event that comprises modification information.The hot folder monitor module extracts the file of change through the triggering of altering event from hot folder according to modification information.
File system driving module 401 also is used for judging whether to generate the altering event that comprises modification information according to modification information; When being, generate the altering event that comprises modification information in judged result.This moment, modification information can include only the title and the path of change file.
Hot folder monitor module 402 also is used for judging whether that according to alter operation needs extract the file of change; When being, from hot folder, extract the file of change in judged result according to modification information.If file system driving module 401 does not judge whether to generate altering event, but directly generate altering event, trigger in the altering event of hot folder monitor module 402 and need carry alter operation this moment.
Hot folder monitor module 402 also is used for submitting to module 403 to send the heartbeat detection signal to the flow services operation, and the testing process service operation is submitted the heartbeat detection signal of module 403 transmissions to.The flow services operation submits to module 403 also to be used for sending the heartbeat detection signal to hot folder monitor module 402, and detects the heartbeat detection signal that hot folder monitor module 402 sends.That is, whether hot folder monitor module 402 is submitted module 403 mutual heartbeat detection signals to the flow services operation, normal with the state that detects the other side, if normal, then continues the scheme in the present embodiment.
When the device initial launch, start the heartbeat detection process of hot folder monitor module 402 and flow services operation submission module 403; Judgment rule in profile system driver module 401 and/or the hot folder monitor module 402; Hot folder monitor module 402 gets into the altering event waiting status to file system driving module 401 registration altering events.
Said device also comprises the memory module 404 that is used to store hot folder and file, referring to shown in Figure 5.
File system driving module 401 in the present embodiment, hot folder monitor module 402, flow services operation submit to module 403 and memory module 404 can be arranged in same physical entity, also can lay respectively in the different physical entities.If be arranged in different physical entities, can realize distributed arrangement, more help operated from a distance.
Be used to realize that the software of the embodiment of the invention can be stored in storage mediums such as floppy disk, hard disk, CD and flash memory.
Pass through to generate when file system drives the file in the change hot folder modification information in the embodiment of the invention; Extract the file of change again according to modification information; Generate operation subpoena (a kind of file, or title worker list or accent list) and submission according to the file that changes then, thereby find the variation of hot folder immediately; Initiatively catch the file of variation, in time submit job.No longer need many times scanning calorimeter files, avoided the long or too short problem of trace interval, and saved resource.And, do not receive the influence of quantity of documents in the hot folder.Also alter operation is filtered in the embodiment of the invention, can filter repeatedly,, save system resource to reduce the repetition operation.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method for a submit job in typographical printing is characterized in that, may further comprise the steps:
File system driving module drives the file in the change hot folder through file system, and generates modification information, and modification information is sent to the hot folder monitor module; Wherein, said modification information comprises the title and the path of change file;
The hot folder monitor module extracts the file of change from hot folder according to modification information;
The flow services operation submits to module to generate the operation subpoena according to file that extracts and preset job parameter, and submits to.
2. the method for claim 1 is characterized in that, after generating modification information, file system driving module generates the altering event that comprises modification information;
The hot folder monitor module comprises according to modification information extracts the file of change from hot folder step: the hot folder monitor module extracts the file of change through the triggering of altering event from hot folder according to modification information.
3. method as claimed in claim 2 is characterized in that, after generating modification information, file system driving module judges whether to generate the altering event that comprises modification information according to modification information;
When being, file system driving module generates the altering event that comprises modification information in judged result.
4. the method for claim 1 is characterized in that, said modification information also comprises: alter operation.
5. method as claimed in claim 4 is characterized in that, before the file that from hot folder, extracts change according to modification information, the hot folder monitor module judges whether that according to alter operation needs extract the file of change;
When being, the hot folder monitor module extracts the file of change from hot folder according to modification information in judged result.
6. a device that is used for submit job is characterized in that, comprising:
File system driving module is used for driving through file system the file of change hot folder, and generates modification information; Wherein, said modification information comprises the title and the path of change file;
The hot folder monitor module is used for extracting the file that changes from hot folder according to modification information;
Module is submitted in the flow services operation to, is used for generating the operation subpoena according to file that extracts and preset job parameter, and submits to.
7. device as claimed in claim 6 is characterized in that, file system driving module also is used to generate the altering event that comprises modification information;
The hot folder monitor module extracts the file of change through the triggering of altering event from hot folder according to modification information.
8. device as claimed in claim 7 is characterized in that, file system driving module also is used for judging whether to generate the altering event that comprises modification information according to modification information; When being, generate the altering event that comprises modification information in judged result.
9. device as claimed in claim 6 is characterized in that said modification information also comprises: alter operation.
10. device as claimed in claim 9 is characterized in that, the hot folder monitor module also is used for judging whether that according to alter operation needs extract the file of change; When being, from hot folder, extract the file of change in judged result according to modification information.
11. device as claimed in claim 6 is characterized in that, the flow services operation submits to module also to be used to provide direct-type to submit interface to.
12. device as claimed in claim 6 is characterized in that, the hot folder monitor module also is used for submitting to module to send the heartbeat detection signal to the flow services operation, and the testing process service operation is submitted the heartbeat detection signal of module transmission to;
The flow services operation submits to module also to be used for sending the heartbeat detection signal to the hot folder monitor module, and detects the heartbeat detection signal that the hot folder monitor module sends.
CN2009102426671A 2009-12-14 2009-12-14 Method and device for submitting job Expired - Fee Related CN102096567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102426671A CN102096567B (en) 2009-12-14 2009-12-14 Method and device for submitting job

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102426671A CN102096567B (en) 2009-12-14 2009-12-14 Method and device for submitting job

Publications (2)

Publication Number Publication Date
CN102096567A CN102096567A (en) 2011-06-15
CN102096567B true CN102096567B (en) 2012-07-25

Family

ID=44129677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102426671A Expired - Fee Related CN102096567B (en) 2009-12-14 2009-12-14 Method and device for submitting job

Country Status (1)

Country Link
CN (1) CN102096567B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102975489B (en) * 2011-09-05 2014-12-10 北大方正集团有限公司 Method for controlling printing operation and device
CN103129125B (en) * 2011-11-30 2015-11-25 北大方正集团有限公司 Catalogue method for supervising and device
CN102495729A (en) * 2011-12-02 2012-06-13 曙光信息产业(北京)有限公司 Application-based web page job submission display method
CN104346108B (en) * 2013-08-05 2017-12-22 北大方正集团有限公司 A kind of job submission method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818849A (en) * 2005-02-09 2006-08-16 诺日士钢机株式会社 Order watching system and print watching program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818849A (en) * 2005-02-09 2006-08-16 诺日士钢机株式会社 Order watching system and print watching program

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JP特开2007-11576A 2007.01.18
JP特开2008-234548A 2008.10.02
JP特开2009-104303A 2009.05.14

Also Published As

Publication number Publication date
CN102096567A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
US7636174B2 (en) Job information managing system, job information managing method, program for implementing the method, and storage medium storing the program
CN101527768B (en) Print job control apparatus and print job control method
CN102096567B (en) Method and device for submitting job
EP1865409A3 (en) Information processing apparatus, print controlling method, and computer-readable storage medium
EP1548569A3 (en) Information processing apparatus, print job management method, information processing program, and recording medium
US11397548B2 (en) Inspection system, inspection apparatus, and method for controlling the inspection apparatus
CN1782981A (en) Data processing device and method
JP6084862B2 (en) Post-processing equipment
US8531706B2 (en) Requesting capabilities of a printer and receiving capabilities of a printer and a print server
US20080130035A1 (en) System and method for mitigating printer clutching
CN103744630B (en) A kind of distributed print control program and system
US7677820B2 (en) Printing supporting apparatus, printing apparatus selecting apparatus, printing supporting program, printing apparatus selecting program, storage medium, method of selecting printing apparatus, method of supporting printing, and method of creating printing apparatus determining tree
US20120188594A1 (en) Print Job Management Mechanism
US20090040558A1 (en) Method and arrangement for archiving document data and for outputting document data stored in an archive
US20120162689A1 (en) Print control device, print control method, and storage medium
CN1991737A (en) User terminal device having spooling control function and control method thereof
JP5288323B2 (en) Information processing apparatus and information processing program
JP2005236346A (en) Image processing apparatus
CN101149731B (en) Variable data typesetting pre-flighting method and device
DK2549375T3 (en) Process for producing at least one ink carrier and method for producing one or more printed products
US11861250B2 (en) Industrial printing system, server, and variable printing method that reduce delays due to proofreading delays in variable printing
CN104346108A (en) Homework submitting method and system
US9268515B2 (en) Information processing apparatus, information processing system, and information processing method, for transmitting print jobs to a printing control apparatus
EP1515262A2 (en) Image update management
EP3670194B1 (en) Method for printing a quality assurance print chart, computer program product, and printing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220624

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120725

CF01 Termination of patent right due to non-payment of annual fee