Information processing apparatus, information processing system, and non-transitory computer readable medium
11474765 · 2022-10-18
Assignee
Inventors
- Takemichi Ushiro (Kanagawa, JP)
- Takashi Kojima (Kanagawa, JP)
- Katsuhito Habaguchi (Kanagawa, JP)
- Masahiko Yajima (Kanagawa, JP)
Cpc classification
G06F3/1205
PHYSICS
G06F3/126
PHYSICS
G06F3/1285
PHYSICS
G06F3/1203
PHYSICS
International classification
Abstract
An information processing apparatus includes a processor configured to: acquire work instruction information stored in a specific folder and target information that is a target of image formation and that corresponds to the work instruction information; change an order of the acquired work instruction information such that the target information corresponding to the work instruction information are subjected to the image formation in a predetermined order; and perform a process of sequentially storing the work instruction information the order of which is changed in a target folder from which an image forming apparatus takes information that is the target of the image formation.
Claims
1. An information processing apparatus comprising: a processor configured to: acquire a plurality of pieces of work instruction information stored in a specific folder and a plurality of pieces of target information, each piece of target information being a target of image formation and that corresponds to a piece of work instruction information; change an order of the acquired pieces of work instruction information such that the acquired pieces of target information corresponding to the acquired pieces of work instruction information are subjected to the image formation in a predetermined order, the predetermined order being based on a file creation date and time of the acquired pieces of work instruction information; store the acquired pieces of work instruction information in the predetermined order in a queue; perform a first process of sequentially, in the predetermined order, moving the pieces of work instruction information from the queue to a target folder from which an image forming apparatus takes the pieces of target information corresponding to the moved pieces of work instruction information; and determine whether a print command based on one of the moved pieces of work instruction information has been taken into the image forming apparatus based on detecting whether at least one of (i) the one of the moved pieces of work instruction information and (ii) a stored piece of target information corresponding to the one of the moved pieces of work instruction information remains in the target folder after the first process of sequentially moving the one of the moved pieces of work instruction information wherein the processor has a first-in-first-out mode and a non-first-in-first-out mode, and in response to the processor being in the first-in-first-out mode and one of (i) the processor having failed a predetermined number of times to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder or (ii) a predetermined time having elapsed during which the processor has failed to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder, the processor performs a second process of notifying the image forming apparatus of an error.
2. The information processing apparatus according to claim 1, wherein the first process is a process comprising in response to each occurrence of deletion from the target folder of the moved pieces of work instruction, sequentially moving a subsequent piece of work instruction information that is subsequent to the deleted piece of work instruction information in the predetermined order from the queue to the target folder.
3. The information processing apparatus according to claim 2, wherein the processor is configured to perform the first process in response to the processor being in the first-in-first-out mode.
4. An information processing system comprising: the information processing apparatus according to claim 3; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
5. An information processing system comprising: the information processing apparatus according to claim 2; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
6. The information processing apparatus according to claim 1, wherein the first process is a process comprising in response to each occurrence of taking from the target folder of the moved pieces of work instruction, sequentially moving a subsequent piece of work instruction information that is subsequent to the taken piece of work instruction information in the predetermined order from the queue to the target folder.
7. An information processing system comprising: the information processing apparatus according to claim 6; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
8. The information processing apparatus according to claim 1, wherein the specific folder is a folder provided for each of the image forming apparatuses.
9. An information processing system comprising: the information processing apparatus according to claim 8; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
10. The information processing apparatus according to claim 1, wherein the pieces of work instruction information indicate the image forming apparatus which performs the image formation as an attribute of the pieces of work instruction information.
11. An information processing system comprising: the information processing apparatus according to claim 10; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
12. The information processing apparatus according to claim 1, wherein the moving of the pieces of work instruction information to the target folder includes changing a file name of each piece of work instruction information to a unique file name and storing each piece of work instruction information in the target folder with the unique file name.
13. The information processing apparatus according to claim 12, wherein the processor changes the file name of each piece of work instruction information using time information.
14. An information processing system comprising: the information processing apparatus according to claim 1; and an image forming apparatus configured to take each piece of work instruction information from the target folder to perform a process of forming an image, and then delete, from the target folder, each piece of work instruction information for which the process of forming the image is completed.
15. A non-transitory computer readable medium storing a program that causes a computer to execute information processing, the information processing comprising: acquiring a plurality of pieces of work instruction information stored in a specific folder and a plurality of pieces of target information, each piece of target information being a target of image formation and that corresponds to a piece of work instruction information; changing an order of the acquired pieces of work instruction information such that the acquired pieces of target information corresponding to the acquired pieces of work instruction information are subjected to the image formation in a predetermined order, the predetermined order being based on a file creation date and time of the acquired pieces of work instruction information; storing the acquired pieces of work instruction information in the predetermined order in a queue; performing a first process of sequentially, in the predetermined order, moving the pieces of work instruction information from the queue to a target folder from which an image forming apparatus takes the pieces of target information corresponding to the moved pieces of work instruction information; and determining whether a print command based on one of the moved pieces of work instruction information has been taken into the image forming apparatus based on detecting whether at least one of (i) the one of the moved pieces of work instruction information and (ii) a stored piece of target information corresponding to the one of the moved pieces of work instruction information remains in the target folder after the first process of sequentially moving the one of the moved pieces of work instruction information, wherein the computer has a first-in-first-out mode and a non-first-in-first-out mode, and the information processing further includes, in response to the computer being in the first-in-first-out mode and one of (i) the computer having failed a predetermined number of times to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder or (ii) a predetermined time having elapsed during which the computer has failed to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder, performing a second process of notifying the image forming apparatus of an error.
16. An information processing apparatus comprising: means for acquiring a plurality of pieces of work instruction information stored in a specific folder and a plurality of pieces of target information, each piece of target information being a target of image formation and that corresponds to a piece of work instruction information; means for changing an order of the acquired pieces of work instruction information such that the acquired pieces of target information corresponding to the acquired pieces of work instruction information are subjected to the image formation in a predetermined order, the predetermined order being based on a file creation date and time of the acquired pieces of work instruction information; means for storing the acquired pieces of work instruction information in the predetermined order in a queue; means for performing a first process of sequentially, in the predetermined order, moving the pieces of work instruction information from the queue to a target folder from which an image forming apparatus takes the pieces of target information corresponding to the moved pieces of work instruction information; and means for determining whether a print command based on a moved piece of work instruction information has been taken into the image forming apparatus based on detecting whether at least one of (i) the one of the moved pieces of work instruction information and (ii) a stored piece of target information corresponding to the one of the moved pieces of work instruction information remains in the target folder after the first process of sequentially moving the one of the moved pieces of work instruction information, wherein the means for performing has a first-in-first-out mode and a non-first-in-first-out mode, and in response to the means for performing being in the first-in-first-out mode and one of (i) the means for determining having failed a predetermined number of times to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder or (ii) a predetermined time having elapsed during which the means for determining has failed to confirm that the one of the pieces of moved work instruction information has been deleted from the target folder, the means for performing a second process of notifying the image forming apparatus of an error.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Exemplary embodiment (s) of the present disclosure will be described in detail based on the following figures, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) Hereinafter, an example of a present exemplary embodiment will be described in detail with reference to the drawings. In the present exemplary embodiment, description will be made on a print processing system that stores a job definition format (JDF) as work instruction information in a hot folder for printing, as an example of an information processing system.
(12) The term “JDF” refers to a specification of an industry-standard document format designed to share information between manufacturing processes of a printed matter or a specification of a data exchange format between the manufacturing process models. The JDF is issued by an international standardization group “CIP4” for integrating and managing processes of pre-press, press, and post-press. The JDF includes items of basic specifications, such as a customer name, the number of pages, a size, a delivery date, items of a specification and work performance in each manufacturing process, and items such as a delivery destination of a product. Thus, the JDF allows a description in which an entire production process of a printing work can be managed. For example, the JDF enables paperless processing by eliminating issuance of paper work instructions, giving a direct work instruction to JDF supporting equipment, managing work progress, automating work and setting, and the like.
(13) Further, the term “hot folder” refers to a folder for automatically printing various files such as a PDF file by storing a print target in the hot folder without performing troublesome print option setting by a printer driver. Specifically, the hot folder is a folder in which a print option with a high frequency of use and a queue used in imposition setting and printing can be set and stored.
(14) A print processing system 10 according to the present exemplary embodiment is described as one targeting a production market that targets two markets, that is, a commercial printing market and a data printing market. It is noted that the print processing system 10 is not limited thereto.
(15) As shown in
(16) A hot folder 18 (an example of a specific folder) provided corresponding to the print server 16 and a hot folder 20 (an example of a target folder) provided corresponding to each of the printers 14 are connected to the communication line 22. In
(17) The print data generation system 12 generates a JDF and a content file for printing a print target such as a core output form.
(18) The printer 14 acquires the content file to be printed from content of the JDF stored in the hot folder 20, and performs printing by forming an image on a sheet according to content set in the hot folder 20 and the content of the JDF.
(19) The print server 16 performs a process of taking the JDFs stored in the hot folder 18 and rearranging the JDFs to change an order of the JDFs such that printing is performed in a predetermined order, and performs a process of storing the rearranged JDFs in the hot folder 20.
(20) Next, configurations of the print data generation system 12, the printer 14, and the print server 16 in the print processing system 10 according to the present exemplary embodiment will be described.
(21) As shown in
(22) With the above-described configuration, the print server 16 according to the present exemplary embodiment executes the followings by the CPU 16A, that is, access to the ROM 16B, the RAM 16C, and the HDD 16D, input various data via the operation unit 16E, and display various information on the display 16F. The print server 16 also controls, by the CPU 16A, transmission and reception of communication data via the communication line I/F unit 16G.
(23) In the print processing system 10 according to the present exemplary embodiment configured in this way, when JDFs generated by the print data generation system 12 are stored in the hot folder 18, the print server 16 performs a process of rearranging the JDFs such that the JDFs are arranged in a predetermined order and storing the rearranged JDFs in the hot folder 20.
(24) Next, a functional configuration of the print server 16 according to the present exemplary embodiment will be described.
(25) As shown in
(26) The data receiver 24 acquires the JDF stored in the hot folder 18 and the content file specified by the JDF. That is, as shown in
(27) The spooling unit 26 rearranges the JDFs acquired by the data receiver 24 such that printing is performed in the predetermined order, and spools the JDFs and the content files corresponding to the JDFs in a queue 28 (“spool content & JDFs” in
(28) As shown in
(29) When taking a JDF and a content file from the queue 28 and stores the JDF and the content file in the hot folder 20, the data transmitter 30 performs a process of changing file names to unique file names, so that overwriting due to accidental storage of a file having the same file name from another system or the like is prohibited. Therefore, the data transmitter 30 changes the file names using a date and time of a timing at which the JDF is taken from the queue 28. For example, as shown in
(30) Next, a specific process performed by the print server 16 according to the present exemplary embodiment configured as described above will be described. First, a process at the time of receiving data when JDFs and corresponding content files are input from the hot folder 18 to the print server 16 will be described.
(31) In step 100, the CPU 16A monitors the hot folder 18 for the print server 16, and proceeds to step 102.
(32) In step 102, the CPU 16A determines whether JDFs to be taken are in the hot folder 18. When the determination result is negative, the CPU 16A returns to step 100 to repeat the above-described process. When the determination result is affirmative, the CPU 16A proceeds to step 104. That is, the data receiver 24 monitors whether the JDFs are stored in the hot folder 18.
(33) In step 104, the CPU 16A takes and lists the JDFs, rearranges the JDFs in the predetermined order, and proceeds to step 106. That is, the data receiver 24 takes the JDFs stored in the hot folder 18, and the spooling unit 26 rearranges the JDFs acquired by the data receiver 24 such that printing is performed in the predetermined order.
(34) In step 106, the CPU 16A determines whether it is completed to take the JDFs from the hot folder 18. When the determination result is negative, the CPU 16A proceeds to step 108. When the determination result is affirmative, a series of processes ends.
(35) In step 108, the CPU 16A takes a target content file, and proceeds to step 110. That is, the spooling unit 26 takes the content file corresponding to the JDF from a storage location specified by the JDF.
(36) In step 110, the CPU 16A spools the JDF and the corresponding content file in the queue 28, and then returns to step 106 and repeats the above-described process until it is completed to take the JDFs from the hot folder 18. That is, the spooling unit 26 spools the JDFs rearranged in the predetermined order and the content files corresponding to the JDFs in the queue 28.
(37) Next, a process at the time of transmitting data when the print server 16 stores a JDF and a corresponding content file in the hot folder 20 will be described.
(38) In step 200, the CPU 16A confirms the JDF which is a transfer target and which is spooled in the queue 28, and proceeds to step 202. That is, the data transmitter 30 searches for the JDF and the content file which are output targets and which are spooled in the queue 28 by the spooling unit 26.
(39) In step 202, the CPU 16A determines whether there is a transfer target. When the determination result is affirmative, the CPU 16A proceeds to step 204. When the determination result is negative, a series of processes ends.
(40) In step 204, the CPU 16A takes the JDF from the queue 28, and proceeds to step 206. That is, the data transmitter 30 takes the JDF which is the output target and which is spooled in the queue 28 by the spooling unit 26.
(41) In step 206, the CPU 16A takes the content file corresponding to the JDF from the queue 28, and proceeds to step 208. That is, the data transmitter 30 takes the content file which is the output target and which is spooled in the queue 28 by the spooling unit 26.
(42) In step 208, the CPU 16A acquires a time at the time of taking the JDF and sets a unique file name, and proceeds to step 210. In the present exemplary embodiment, the data transmitter 30 sets the file name of the content file using a date and time of a timing at which the JDF is taken from the queue 28. For example, the data transmitter 30 adds year, month, day, hour, minute, second, millisecond and “_” as the prefix of the file name of the JDF, and adds year, month, day, hour, minute, second, millisecond and “_” as the prefix of the file name of the content file which is referenced based on the JDF. In the present exemplary embodiment, the data transmitter 30 sets the file name of the content file using the date and time of the timing at which the JDF is taken from the queue 28. Alternatively, the data transmitter 30 may set the file name using information other than the date and time such that the file name is the unique file name.
(43) In step 210, the CPU 16A writes the content file to the hot folder 20, and proceeds to step 212. That is, the data transmitter 30 performs a process of writing the content file whose file name is changed to the hot folder 20.
(44) In step 212, the CPU 16A corrects an attribute of the JDF according to the file name of the content file, and proceeds to step 214. For example, the data transmitter 30 adds year, month, day, hour, minute, second, millisecond and “_” as the prefix of the file name of the content file specified in the JDF.
(45) In step 214, the CPU 16A writes the JDF to the hot folder 20, and proceeds to step 216. That is, the data transmitter 30 performs a process of writing the JDF whose file attribute is corrected to the hot folder 20.
(46) In step 216, the CPU 16A determines whether the mode is the FIFO mode. In this determination, the CPU 16A determines whether the FIFO mode is set in advance in the print server 16 by the user. When the determination result is negative, the CPU 16A returns to step 200 to repeat the above-described process. When the determination result is affirmative, the CPU 16A proceeds to step 218.
(47) In step 218, the CPU 16A monitors the hot folder 20, and proceeds to step 220.
(48) In step 220, the CPU 16A determines whether there is a file written in the hot folder 20. In this determination, the CPU 16A determines whether a file written in the hot folder 20 still remains without printed. When the determination result is negative, the CPU 16A returns to step 200 to repeat the above-described process. When the determination result is affirmative, the CPU 16A proceeds to step 222.
(49) Herein, in the above-described exemplary embodiment, the CPU 16A of the print server determines whether a print command based on the JDF is taken into the printer 14 by determining whether the written file remains in the hot folder 20. Alternatively another method may be used. For example, it is also possible to determine whether the JDF is taken into the printer 14 based on a processing state of the printer 14. That is, for example, the print server 16 may determine whether the JDF is taken into the printer 14 by determining whether the print command based on the JDF is already stored in the storage location of the print command of the printer 14, or by acquiring the processing status of the print command from the printer 14 and grasping a start, an end, and a state of processing of the print command based on the JDF. In order to grasp the state of the printer 14, the print server 16 may acquire a status using a standard protocol such as a simple network management protocol (SNMP) or a line printer daemon protocol (LPR). Alternatively, setting for a notification may be described in a file such as a JDF, and the printer 14 may be set such that when printing reaches a predetermined state, the printer make a notification to the print server 16. In this case, the printer server 16 determines that the JDF is taken into the printer 14, in response to the notification from the printer 14.
(50) In step 222, the CPU 16A determines whether a retry has expired. In this determination, for example, the CPU 16A determines whether the process of step 220 is performed the predetermined number of retries. Alternatively, the CPU 16A determines whether a predetermined retry time has elapsed. When the determination result is negative, the CPU 16A proceeds to step 224. When the determination result is affirmative, the CPU 16A proceeds to step 226.
(51) In step 224, the CPU 16A determines whether the predetermined time has elapsed. The CPU 16A waits until the determination is affirmative, and returns to step 218 to repeat the above-described processes. That is, the CPU 16A retries to determine whether the written file is deleted after waiting for a certain time.
(52) On the other hand, in step 226, the CPU 16A notifies the printer 14 of a FIFO error, and ends the series of processes. Accordingly, the FIFO error is displayed on the printer 14, and the user is notified of the FIFO error.
(53) By performing the process in this way, the JDFs are stored in the hot folder 18 for the print server 16, and the print server 16 rearranges the JDFs such that printing is performed in the predetermined order, and stores the JDFs in the hot folder 20 for the printer 14. Accordingly, the order of printing is guaranteed by the print server 16.
(54) For example, in the related art, even if the JDFs are stored in the hot folder in order, when sizes of the corresponding content files are different, the order in which the content files are ready to be printed in the printer 14 may change from the order of the JDFs. In the present exemplary embodiment, when the print server 16 operates in the FIFO mode, the order of the JDFs is guaranteed such that printing is performed in the predetermined order, and therefore printing is performed in an expected order.
(55) In the above-described exemplary embodiment, an example in which the print server 16 has the non-FIFO mode and the FIFO mode is described. It is noted that the present disclosure is not limited thereto. The print server 16 may only have the FIFO mode. Alternatively, the print server 16 may have at least one of the non-FIFO mode, the FIFO mode, or a last-in-first-out (LIFO) mode (or a first-in last out (FILO) mode). Further alternatively, the print server 16 may have at least two or more of the three modes and the user may be allowed to select a mode.
(56) Further, in the above-described exemplary embodiment, the CPU has been described as an example of a processor. It is noted that the term “processor” refers to hardware in a broad sense. Examples of the processor includes general processors (e.g., CPU), dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, and programmable logic device).
(57) In the exemplary embodiment, operation of the processor may be implemented by one processor or by plural processors cooperating with each other that are located physically apart from each other. The order of the operations of the processor is not limited to the one described in the exemplary embodiment, but may be changed appropriately.
(58) The process performed by the print server 16 in the print processing system 10 according to the above-described exemplary embodiment may be a process performed by software, a process performed by hardware, or a process performed by a combination of both. The process performed by the print server 16 and the like in the print processing system 10 may be stored as a program in a storage medium, and the program may be distributed.
(59) It goes without saying that the present disclosure is not limited to the above. Various modifications can be made without departing from the gist of the present disclosure.
(60) The foregoing description of the exemplary embodiments of the present disclosure has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the disclosure and its practical applications, thereby enabling others skilled in the art to understand the disclosure for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the disclosure be defined by the following claims and their equivalents.